Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ekidpro/ui.portlet

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ekidpro/ui.portlet - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

2

lib/index.es.js

@@ -31,3 +31,3 @@ import e,{forwardRef as r}from"react";import t from"clsx";

* LICENSE file in the root directory of this source tree.
*/g=h,"production"!==process.env.NODE_ENV&&function(){var r=e,t=u,n=60103,o=60106;g.Fragment=60107;var a=60108,i=60114,c=60109,s=60110,l=60112,f=60113,p=60120,y=60115,d=60116,v=60121,m=60122,b=60117,h=60129,O=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;n=j("react.element"),o=j("react.portal"),g.Fragment=j("react.fragment"),a=j("react.strict_mode"),i=j("react.profiler"),c=j("react.provider"),s=j("react.context"),l=j("react.forward_ref"),f=j("react.suspense"),p=j("react.suspense_list"),y=j("react.memo"),d=j("react.lazy"),v=j("react.block"),m=j("react.server.block"),b=j("react.fundamental"),j("react.scope"),j("react.opaque.id"),h=j("react.debug_trace_mode"),j("react.offscreen"),O=j("react.legacy_hidden")}var _="function"==typeof Symbol&&Symbol.iterator,w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];x("error",e,t)}function x(e,r,t){var n=w.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(r+="%s",t=t.concat([n]));var o=t.map((function(e){return""+e}));o.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,o)}function E(e){return e.displayName||"Context"}function R(e){if(null==e)return null;if("number"==typeof e.tag&&k("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case g.Fragment:return"Fragment";case o:return"Portal";case i:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return E(e)+".Consumer";case c:return E(e._context)+".Provider";case l:return u=e,m=e.render,b="ForwardRef",h=m.displayName||m.name||"",u.displayName||(""!==h?b+"("+h+")":b);case y:return R(e.type);case v:return R(e._render);case d:var r=e,t=r._payload,n=r._init;try{return R(n(t))}catch(e){return null}}var u,m,b,h;return null}var P,S,N,$,T,C,F,D=0;function I(){}I.__reactDisabledLog=!0;var A,L=w.ReactCurrentDispatcher;function W(e,r,t){if(void 0===A)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);A=n&&n[1]||""}return"\n"+A+e}var U,z=!1,Y="function"==typeof WeakMap?WeakMap:Map;function q(e,r){if(!e||z)return"";var n,o=U.get(e);if(void 0!==o)return o;z=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=L.current,L.current=null,function(){if(0===D){P=console.log,S=console.info,N=console.warn,$=console.error,T=console.group,C=console.groupCollapsed,F=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(r){if(r&&n&&"string"==typeof r.stack){for(var s=r.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var p="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&U.set(e,p),p}}while(u>=1&&f>=0);break}}}finally{z=!1,L.current=a,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:P}),info:t({},e,{value:S}),warn:t({},e,{value:N}),error:t({},e,{value:$}),group:t({},e,{value:T}),groupCollapsed:t({},e,{value:C}),groupEnd:t({},e,{value:F})})}D<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var y=e?e.displayName||e.name:"",d=y?W(y):"";return"function"==typeof e&&U.set(e,d),d}function B(e,r,t){return q(e,!1)}function M(e,r,t){if(null==e)return"";if("function"==typeof e)return q(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return W(e);switch(e){case f:return W("Suspense");case p:return W("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return B(e.render);case y:return M(e.type,r,t);case v:return B(e._render);case d:var o=e,a=o._payload,i=o._init;try{return M(i(a),r,t)}catch(e){}}return""}U=new Y;var V={},H=w.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);H.setExtraStackFrame(t)}else H.setExtraStackFrame(null)}var X,G,K,Q=w.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};function re(e,r,t,o,a){var i,c={},s=null,l=null;for(i in void 0!==t&&(s=""+t),function(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(s=""+r.key),function(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(l=r.ref,function(e,r){if("string"==typeof e.ref&&Q.current&&r&&Q.current.stateNode!==r){var t=R(Q.current.type);K[t]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Q.current.type),e.ref),K[t]=!0)}}(r,a)),r)Z.call(r,i)&&!ee.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){X||(X=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),l&&function(e,r){var t=function(){G||(G=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,t,o,a,i,c){var s={$$typeof:n,type:e,key:r,ref:t,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,o,Q.current,c)}K={};var te,ne=w.ReactCurrentOwner,oe=w.ReactDebugCurrentFrame;function ae(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);oe.setExtraStackFrame(t)}else oe.setExtraStackFrame(null)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ce(){if(ne.current){var e=R(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var se={};function le(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=ce();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!se[t]){se[t]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),ae(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ae(null)}}}function ue(e,r){if("object"==typeof e)if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ie(n)&&le(n,r)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=_&&e[_]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ie(a.value)&&le(a.value,r)}}function fe(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==l&&t.$$typeof!==y)return;r=t.propTypes}if(r){var n=R(t);!function(e,r,t,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(J(o),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof c),J(null)),c instanceof Error&&!(c.message in V)&&(V[c.message]=!0,J(o),k("Failed %s type: %s",t,c.message),J(null))}}(r,e.props,"prop",n,e)}else void 0===t.PropTypes||te||(te=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R(t)||"Unknown"));"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(e,r,t,o,u,j){var _=function(e){return"string"==typeof e||"function"==typeof e||e===g.Fragment||e===i||e===h||e===a||e===f||e===p||e===O||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===y||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===b||e.$$typeof===v||e[0]===m)}(e);if(!_){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(u);w+=E||ce(),null===e?x="null":Array.isArray(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(R(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var P=re(e,r,t,u,j);if(null==P)return P;if(_){var S=r.children;if(void 0!==S)if(o)if(Array.isArray(S)){for(var N=0;N<S.length;N++)ue(S[N],e);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(S,e)}return e===g.Fragment?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if("children"!==n&&"key"!==n){ae(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ae(null);break}}null!==e.ref&&(ae(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),ae(null))}(P):fe(P),P}var ye=function(e,r,t){return pe(e,r,t,!1)},de=function(e,r,t){return pe(e,r,t,!0)};g.jsx=ye,g.jsxs=de}(),"production"===process.env.NODE_ENV?o.exports=a:o.exports=h;const O=r(((e,r)=>{const{children:t,className:a}=e,i=n(e,["children","className"]);return o.exports.jsx("div",Object.assign({className:`bg-white rounded-lg shadow-lg ${a}`},i,{ref:r},{children:t}),void 0)})),j=r(((e,r)=>{const{children:a,className:i}=e,c=n(e,["children","className"]);return o.exports.jsx("div",Object.assign({className:t(i,"bg-white rounded")},c,{ref:r},{children:a}),void 0)})),_=()=>o.exports.jsx("div",{},void 0),w=r(((e,r)=>{const{title:t,toolbar:a,subTitle:i,className:c,children:s}=e,l=n(e,["title","toolbar","subTitle","className","children"]);return o.exports.jsxs("div",Object.assign({className:`flex items-center justify-between rounded bg-white px-7 py-4 border-b ${c}`,ref:r},l,{children:[o.exports.jsxs("div",{children:[o.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:t}),void 0),o.exports.jsx("span",Object.assign({className:"uppercase"},{children:i}),void 0)]},void 0),o.exports.jsx("div",{children:a},void 0)]}),void 0)}));export{O as Portlet,j as PortletBody,_ as PortletFooter,w as PortletHeader};
*/g=h,"production"!==process.env.NODE_ENV&&function(){var r=e,t=u,n=60103,o=60106;g.Fragment=60107;var a=60108,i=60114,c=60109,s=60110,l=60112,f=60113,p=60120,y=60115,d=60116,v=60121,m=60122,b=60117,h=60129,j=60131;if("function"==typeof Symbol&&Symbol.for){var O=Symbol.for;n=O("react.element"),o=O("react.portal"),g.Fragment=O("react.fragment"),a=O("react.strict_mode"),i=O("react.profiler"),c=O("react.provider"),s=O("react.context"),l=O("react.forward_ref"),f=O("react.suspense"),p=O("react.suspense_list"),y=O("react.memo"),d=O("react.lazy"),v=O("react.block"),m=O("react.server.block"),b=O("react.fundamental"),O("react.scope"),O("react.opaque.id"),h=O("react.debug_trace_mode"),O("react.offscreen"),j=O("react.legacy_hidden")}var _="function"==typeof Symbol&&Symbol.iterator,w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];x("error",e,t)}function x(e,r,t){var n=w.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(r+="%s",t=t.concat([n]));var o=t.map((function(e){return""+e}));o.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,o)}function E(e){return e.displayName||"Context"}function R(e){if(null==e)return null;if("number"==typeof e.tag&&k("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case g.Fragment:return"Fragment";case o:return"Portal";case i:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return E(e)+".Consumer";case c:return E(e._context)+".Provider";case l:return u=e,m=e.render,b="ForwardRef",h=m.displayName||m.name||"",u.displayName||(""!==h?b+"("+h+")":b);case y:return R(e.type);case v:return R(e._render);case d:var r=e,t=r._payload,n=r._init;try{return R(n(t))}catch(e){return null}}var u,m,b,h;return null}var P,S,N,$,T,C,F,D=0;function I(){}I.__reactDisabledLog=!0;var A,L=w.ReactCurrentDispatcher;function W(e,r,t){if(void 0===A)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);A=n&&n[1]||""}return"\n"+A+e}var U,z=!1,Y="function"==typeof WeakMap?WeakMap:Map;function q(e,r){if(!e||z)return"";var n,o=U.get(e);if(void 0!==o)return o;z=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=L.current,L.current=null,function(){if(0===D){P=console.log,S=console.info,N=console.warn,$=console.error,T=console.group,C=console.groupCollapsed,F=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(r){if(r&&n&&"string"==typeof r.stack){for(var s=r.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var p="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&U.set(e,p),p}}while(u>=1&&f>=0);break}}}finally{z=!1,L.current=a,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:P}),info:t({},e,{value:S}),warn:t({},e,{value:N}),error:t({},e,{value:$}),group:t({},e,{value:T}),groupCollapsed:t({},e,{value:C}),groupEnd:t({},e,{value:F})})}D<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var y=e?e.displayName||e.name:"",d=y?W(y):"";return"function"==typeof e&&U.set(e,d),d}function B(e,r,t){return q(e,!1)}function M(e,r,t){if(null==e)return"";if("function"==typeof e)return q(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return W(e);switch(e){case f:return W("Suspense");case p:return W("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return B(e.render);case y:return M(e.type,r,t);case v:return B(e._render);case d:var o=e,a=o._payload,i=o._init;try{return M(i(a),r,t)}catch(e){}}return""}U=new Y;var V={},H=w.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);H.setExtraStackFrame(t)}else H.setExtraStackFrame(null)}var X,G,K,Q=w.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};function re(e,r,t,o,a){var i,c={},s=null,l=null;for(i in void 0!==t&&(s=""+t),function(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(s=""+r.key),function(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(l=r.ref,function(e,r){if("string"==typeof e.ref&&Q.current&&r&&Q.current.stateNode!==r){var t=R(Q.current.type);K[t]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Q.current.type),e.ref),K[t]=!0)}}(r,a)),r)Z.call(r,i)&&!ee.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){X||(X=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),l&&function(e,r){var t=function(){G||(G=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,t,o,a,i,c){var s={$$typeof:n,type:e,key:r,ref:t,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,o,Q.current,c)}K={};var te,ne=w.ReactCurrentOwner,oe=w.ReactDebugCurrentFrame;function ae(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);oe.setExtraStackFrame(t)}else oe.setExtraStackFrame(null)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ce(){if(ne.current){var e=R(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var se={};function le(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=ce();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!se[t]){se[t]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),ae(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ae(null)}}}function ue(e,r){if("object"==typeof e)if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ie(n)&&le(n,r)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=_&&e[_]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ie(a.value)&&le(a.value,r)}}function fe(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==l&&t.$$typeof!==y)return;r=t.propTypes}if(r){var n=R(t);!function(e,r,t,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(J(o),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof c),J(null)),c instanceof Error&&!(c.message in V)&&(V[c.message]=!0,J(o),k("Failed %s type: %s",t,c.message),J(null))}}(r,e.props,"prop",n,e)}else void 0===t.PropTypes||te||(te=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R(t)||"Unknown"));"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(e,r,t,o,u,O){var _=function(e){return"string"==typeof e||"function"==typeof e||e===g.Fragment||e===i||e===h||e===a||e===f||e===p||e===j||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===y||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===b||e.$$typeof===v||e[0]===m)}(e);if(!_){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(u);w+=E||ce(),null===e?x="null":Array.isArray(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(R(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var P=re(e,r,t,u,O);if(null==P)return P;if(_){var S=r.children;if(void 0!==S)if(o)if(Array.isArray(S)){for(var N=0;N<S.length;N++)ue(S[N],e);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(S,e)}return e===g.Fragment?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if("children"!==n&&"key"!==n){ae(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ae(null);break}}null!==e.ref&&(ae(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),ae(null))}(P):fe(P),P}var ye=function(e,r,t){return pe(e,r,t,!1)},de=function(e,r,t){return pe(e,r,t,!0)};g.jsx=ye,g.jsxs=de}(),"production"===process.env.NODE_ENV?o.exports=a:o.exports=h;const j=r(((e,r)=>{const{children:t,className:a}=e,i=n(e,["children","className"]);return o.exports.jsx("div",Object.assign({className:`bg-white rounded-lg shadow-lg ${a}`},i,{ref:r},{children:t}),void 0)})),O=r(((e,r)=>{const{children:a,className:i}=e,c=n(e,["children","className"]);return o.exports.jsx("div",Object.assign({className:t(i,"bg-white rounded")},c,{ref:r},{children:a}),void 0)})),_=()=>o.exports.jsx("div",{},void 0),w=r(((e,r)=>{const{title:t,toolbar:a,subTitle:i,className:c,children:s}=e,l=n(e,["title","toolbar","subTitle","className","children"]);return o.exports.jsx("div",Object.assign({className:`flex items-center justify-between rounded bg-white px-7 py-4 border-b ${c}`,ref:r},l,{children:null!=s?s:o.exports.jsxs(o.exports.Fragment,{children:[o.exports.jsxs("div",{children:[o.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:t}),void 0),o.exports.jsx("span",Object.assign({className:"uppercase"},{children:i}),void 0)]},void 0),o.exports.jsx("div",{children:a},void 0)]},void 0)}),void 0)}));export{j as Portlet,O as PortletBody,_ as PortletFooter,w as PortletHeader};
//# sourceMappingURL=index.es.js.map

@@ -32,3 +32,3 @@ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("clsx");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),o=t(r);

* LICENSE file in the root directory of this source tree.
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var r=n.default,t=p,o=60103,a=60106;e.Fragment=60107;var i=60108,c=60114,s=60109,l=60110,u=60112,f=60113,y=60120,d=60115,v=60116,b=60121,g=60122,m=60117,h=60129,j=60131;if("function"==typeof Symbol&&Symbol.for){var O=Symbol.for;o=O("react.element"),a=O("react.portal"),e.Fragment=O("react.fragment"),i=O("react.strict_mode"),c=O("react.profiler"),s=O("react.provider"),l=O("react.context"),u=O("react.forward_ref"),f=O("react.suspense"),y=O("react.suspense_list"),d=O("react.memo"),v=O("react.lazy"),b=O("react.block"),g=O("react.server.block"),m=O("react.fundamental"),O("react.scope"),O("react.opaque.id"),h=O("react.debug_trace_mode"),O("react.offscreen"),j=O("react.legacy_hidden")}var _="function"==typeof Symbol&&Symbol.iterator;var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];x("error",e,t)}function x(e,r,t){var n=w.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(r+="%s",t=t.concat([n]));var o=t.map((function(e){return""+e}));o.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,o)}function R(e){return e.displayName||"Context"}function P(r){if(null==r)return null;if("number"==typeof r.tag&&k("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case e.Fragment:return"Fragment";case a:return"Portal";case c:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case y:return"SuspenseList"}if("object"==typeof r)switch(r.$$typeof){case l:return R(r)+".Consumer";case s:return R(r._context)+".Provider";case u:return p=r,g=r.render,m="ForwardRef",h=g.displayName||g.name||"",p.displayName||(""!==h?m+"("+h+")":m);case d:return P(r.type);case b:return P(r._render);case v:var t=r,n=t._payload,o=t._init;try{return P(o(n))}catch(e){return null}}var p,g,m,h;return null}var E,S,N,$,T,C,F,D=0;function I(){}I.__reactDisabledLog=!0;var A,L=w.ReactCurrentDispatcher;function W(e,r,t){if(void 0===A)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);A=n&&n[1]||""}return"\n"+A+e}var U,q=!1,z="function"==typeof WeakMap?WeakMap:Map;function Y(e,r){if(!e||q)return"";var n,o=U.get(e);if(void 0!==o)return o;q=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=L.current,L.current=null,function(){if(0===D){E=console.log,S=console.info,N=console.warn,$=console.error,T=console.group,C=console.groupCollapsed,F=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(r){if(r&&n&&"string"==typeof r.stack){for(var s=r.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var p="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&U.set(e,p),p}}while(u>=1&&f>=0);break}}}finally{q=!1,L.current=a,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:E}),info:t({},e,{value:S}),warn:t({},e,{value:N}),error:t({},e,{value:$}),group:t({},e,{value:T}),groupCollapsed:t({},e,{value:C}),groupEnd:t({},e,{value:F})})}D<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var y=e?e.displayName||e.name:"",d=y?W(y):"";return"function"==typeof e&&U.set(e,d),d}function B(e,r,t){return Y(e,!1)}function M(e,r,t){if(null==e)return"";if("function"==typeof e)return Y(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return W(e);switch(e){case f:return W("Suspense");case y:return W("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return B(e.render);case d:return M(e.type,r,t);case b:return B(e._render);case v:var o=e,a=o._payload,i=o._init;try{return M(i(a),r,t)}catch(e){}}return""}U=new z;var V={},H=w.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);H.setExtraStackFrame(t)}else H.setExtraStackFrame(null)}var X,G,K,Q=w.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};K={};function re(e,r,t,n,a){var i,c={},s=null,l=null;for(i in void 0!==t&&(s=""+t),function(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(s=""+r.key),function(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(l=r.ref,function(e,r){if("string"==typeof e.ref&&Q.current&&r&&Q.current.stateNode!==r){var t=P(Q.current.type);K[t]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(Q.current.type),e.ref),K[t]=!0)}}(r,a)),r)Z.call(r,i)&&!ee.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){X||(X=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),l&&function(e,r){var t=function(){G||(G=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,t,n,a,i,c){var s={$$typeof:o,type:e,key:r,ref:t,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,n,Q.current,c)}var te,ne=w.ReactCurrentOwner,oe=w.ReactDebugCurrentFrame;function ae(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);oe.setExtraStackFrame(t)}else oe.setExtraStackFrame(null)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ce(){if(ne.current){var e=P(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var se={};function le(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=ce();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!se[t]){se[t]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+P(e._owner.type)+"."),ae(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ae(null)}}}function ue(e,r){if("object"==typeof e)if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ie(n)&&le(n,r)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=_&&e[_]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ie(a.value)&&le(a.value,r)}}function fe(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==u&&t.$$typeof!==d)return;r=t.propTypes}if(r){var n=P(t);!function(e,r,t,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(J(o),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof c),J(null)),c instanceof Error&&!(c.message in V)&&(V[c.message]=!0,J(o),k("Failed %s type: %s",t,c.message),J(null))}}(r,e.props,"prop",n,e)}else if(void 0!==t.PropTypes&&!te){te=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P(t)||"Unknown")}"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(r,t,n,a,p,O){var _=function(r){return"string"==typeof r||"function"==typeof r||r===e.Fragment||r===c||r===h||r===i||r===f||r===y||r===j||"object"==typeof r&&null!==r&&(r.$$typeof===v||r.$$typeof===d||r.$$typeof===s||r.$$typeof===l||r.$$typeof===u||r.$$typeof===m||r.$$typeof===b||r[0]===g)}(r);if(!_){var w="";(void 0===r||"object"==typeof r&&null!==r&&0===Object.keys(r).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x,R=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(p);w+=R||ce(),null===r?x="null":Array.isArray(r)?x="array":void 0!==r&&r.$$typeof===o?(x="<"+(P(r.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof r,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var E=re(r,t,n,p,O);if(null==E)return E;if(_){var S=t.children;if(void 0!==S)if(a)if(Array.isArray(S)){for(var N=0;N<S.length;N++)ue(S[N],r);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(S,r)}return r===e.Fragment?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if("children"!==n&&"key"!==n){ae(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ae(null);break}}null!==e.ref&&(ae(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),ae(null))}(E):fe(E),E}var ye=function(e,r,t){return pe(e,r,t,!1)},de=function(e,r,t){return pe(e,r,t,!0)};e.jsx=ye,e.jsxs=de}()}(j),"production"===process.env.NODE_ENV?i.exports=c:i.exports=j;const O=e.forwardRef(((e,r)=>{const{children:t,className:n}=e,o=a(e,["children","className"]);return i.exports.jsx("div",Object.assign({className:`bg-white rounded-lg shadow-lg ${n}`},o,{ref:r},{children:t}),void 0)})),_=e.forwardRef(((e,r)=>{const{children:t,className:n}=e,c=a(e,["children","className"]);return i.exports.jsx("div",Object.assign({className:o.default(n,"bg-white rounded")},c,{ref:r},{children:t}),void 0)})),w=e.forwardRef(((e,r)=>{const{title:t,toolbar:n,subTitle:o,className:c,children:s}=e,l=a(e,["title","toolbar","subTitle","className","children"]);return i.exports.jsxs("div",Object.assign({className:`flex items-center justify-between rounded bg-white px-7 py-4 border-b ${c}`,ref:r},l,{children:[i.exports.jsxs("div",{children:[i.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:t}),void 0),i.exports.jsx("span",Object.assign({className:"uppercase"},{children:o}),void 0)]},void 0),i.exports.jsx("div",{children:n},void 0)]}),void 0)}));exports.Portlet=O,exports.PortletBody=_,exports.PortletFooter=()=>i.exports.jsx("div",{},void 0),exports.PortletHeader=w;
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var r=n.default,t=p,o=60103,a=60106;e.Fragment=60107;var i=60108,c=60114,s=60109,l=60110,u=60112,f=60113,y=60120,d=60115,v=60116,b=60121,g=60122,m=60117,h=60129,j=60131;if("function"==typeof Symbol&&Symbol.for){var O=Symbol.for;o=O("react.element"),a=O("react.portal"),e.Fragment=O("react.fragment"),i=O("react.strict_mode"),c=O("react.profiler"),s=O("react.provider"),l=O("react.context"),u=O("react.forward_ref"),f=O("react.suspense"),y=O("react.suspense_list"),d=O("react.memo"),v=O("react.lazy"),b=O("react.block"),g=O("react.server.block"),m=O("react.fundamental"),O("react.scope"),O("react.opaque.id"),h=O("react.debug_trace_mode"),O("react.offscreen"),j=O("react.legacy_hidden")}var _="function"==typeof Symbol&&Symbol.iterator;var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];x("error",e,t)}function x(e,r,t){var n=w.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(r+="%s",t=t.concat([n]));var o=t.map((function(e){return""+e}));o.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,o)}function R(e){return e.displayName||"Context"}function P(r){if(null==r)return null;if("number"==typeof r.tag&&k("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case e.Fragment:return"Fragment";case a:return"Portal";case c:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case y:return"SuspenseList"}if("object"==typeof r)switch(r.$$typeof){case l:return R(r)+".Consumer";case s:return R(r._context)+".Provider";case u:return p=r,g=r.render,m="ForwardRef",h=g.displayName||g.name||"",p.displayName||(""!==h?m+"("+h+")":m);case d:return P(r.type);case b:return P(r._render);case v:var t=r,n=t._payload,o=t._init;try{return P(o(n))}catch(e){return null}}var p,g,m,h;return null}var E,S,N,$,T,F,C,D=0;function I(){}I.__reactDisabledLog=!0;var A,L=w.ReactCurrentDispatcher;function W(e,r,t){if(void 0===A)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);A=n&&n[1]||""}return"\n"+A+e}var U,q=!1,z="function"==typeof WeakMap?WeakMap:Map;function Y(e,r){if(!e||q)return"";var n,o=U.get(e);if(void 0!==o)return o;q=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=L.current,L.current=null,function(){if(0===D){E=console.log,S=console.info,N=console.warn,$=console.error,T=console.group,F=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(r){if(r&&n&&"string"==typeof r.stack){for(var s=r.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,f=l.length-1;u>=1&&f>=0&&s[u]!==l[f];)f--;for(;u>=1&&f>=0;u--,f--)if(s[u]!==l[f]){if(1!==u||1!==f)do{if(u--,--f<0||s[u]!==l[f]){var p="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&U.set(e,p),p}}while(u>=1&&f>=0);break}}}finally{q=!1,L.current=a,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:E}),info:t({},e,{value:S}),warn:t({},e,{value:N}),error:t({},e,{value:$}),group:t({},e,{value:T}),groupCollapsed:t({},e,{value:F}),groupEnd:t({},e,{value:C})})}D<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var y=e?e.displayName||e.name:"",d=y?W(y):"";return"function"==typeof e&&U.set(e,d),d}function B(e,r,t){return Y(e,!1)}function M(e,r,t){if(null==e)return"";if("function"==typeof e)return Y(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return W(e);switch(e){case f:return W("Suspense");case y:return W("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return B(e.render);case d:return M(e.type,r,t);case b:return B(e._render);case v:var o=e,a=o._payload,i=o._init;try{return M(i(a),r,t)}catch(e){}}return""}U=new z;var V={},H=w.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);H.setExtraStackFrame(t)}else H.setExtraStackFrame(null)}var X,G,K,Q=w.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,ee={key:!0,ref:!0,__self:!0,__source:!0};K={};function re(e,r,t,n,a){var i,c={},s=null,l=null;for(i in void 0!==t&&(s=""+t),function(e){if(Z.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(s=""+r.key),function(e){if(Z.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(l=r.ref,function(e,r){if("string"==typeof e.ref&&Q.current&&r&&Q.current.stateNode!==r){var t=P(Q.current.type);K[t]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(Q.current.type),e.ref),K[t]=!0)}}(r,a)),r)Z.call(r,i)&&!ee.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){X||(X=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),l&&function(e,r){var t=function(){G||(G=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,t,n,a,i,c){var s={$$typeof:o,type:e,key:r,ref:t,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,n,Q.current,c)}var te,ne=w.ReactCurrentOwner,oe=w.ReactDebugCurrentFrame;function ae(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);oe.setExtraStackFrame(t)}else oe.setExtraStackFrame(null)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ce(){if(ne.current){var e=P(ne.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var se={};function le(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=ce();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!se[t]){se[t]=!0;var n="";e&&e._owner&&e._owner!==ne.current&&(n=" It was passed a child from "+P(e._owner.type)+"."),ae(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ae(null)}}}function ue(e,r){if("object"==typeof e)if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ie(n)&&le(n,r)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=_&&e[_]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ie(a.value)&&le(a.value,r)}}function fe(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==u&&t.$$typeof!==d)return;r=t.propTypes}if(r){var n=P(t);!function(e,r,t,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(J(o),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof c),J(null)),c instanceof Error&&!(c.message in V)&&(V[c.message]=!0,J(o),k("Failed %s type: %s",t,c.message),J(null))}}(r,e.props,"prop",n,e)}else if(void 0!==t.PropTypes&&!te){te=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P(t)||"Unknown")}"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(r,t,n,a,p,O){var _=function(r){return"string"==typeof r||"function"==typeof r||r===e.Fragment||r===c||r===h||r===i||r===f||r===y||r===j||"object"==typeof r&&null!==r&&(r.$$typeof===v||r.$$typeof===d||r.$$typeof===s||r.$$typeof===l||r.$$typeof===u||r.$$typeof===m||r.$$typeof===b||r[0]===g)}(r);if(!_){var w="";(void 0===r||"object"==typeof r&&null!==r&&0===Object.keys(r).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x,R=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(p);w+=R||ce(),null===r?x="null":Array.isArray(r)?x="array":void 0!==r&&r.$$typeof===o?(x="<"+(P(r.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof r,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var E=re(r,t,n,p,O);if(null==E)return E;if(_){var S=t.children;if(void 0!==S)if(a)if(Array.isArray(S)){for(var N=0;N<S.length;N++)ue(S[N],r);Object.freeze&&Object.freeze(S)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(S,r)}return r===e.Fragment?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if("children"!==n&&"key"!==n){ae(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ae(null);break}}null!==e.ref&&(ae(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),ae(null))}(E):fe(E),E}var ye=function(e,r,t){return pe(e,r,t,!1)},de=function(e,r,t){return pe(e,r,t,!0)};e.jsx=ye,e.jsxs=de}()}(j),"production"===process.env.NODE_ENV?i.exports=c:i.exports=j;const O=e.forwardRef(((e,r)=>{const{children:t,className:n}=e,o=a(e,["children","className"]);return i.exports.jsx("div",Object.assign({className:`bg-white rounded-lg shadow-lg ${n}`},o,{ref:r},{children:t}),void 0)})),_=e.forwardRef(((e,r)=>{const{children:t,className:n}=e,c=a(e,["children","className"]);return i.exports.jsx("div",Object.assign({className:o.default(n,"bg-white rounded")},c,{ref:r},{children:t}),void 0)})),w=e.forwardRef(((e,r)=>{const{title:t,toolbar:n,subTitle:o,className:c,children:s}=e,l=a(e,["title","toolbar","subTitle","className","children"]);return i.exports.jsx("div",Object.assign({className:`flex items-center justify-between rounded bg-white px-7 py-4 border-b ${c}`,ref:r},l,{children:null!=s?s:i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsxs("div",{children:[i.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:t}),void 0),i.exports.jsx("span",Object.assign({className:"uppercase"},{children:o}),void 0)]},void 0),i.exports.jsx("div",{children:n},void 0)]},void 0)}),void 0)}));exports.Portlet=O,exports.PortletBody=_,exports.PortletFooter=()=>i.exports.jsx("div",{},void 0),exports.PortletHeader=w;
//# sourceMappingURL=index.js.map
/// <reference types="react" />
export interface PortletHeaderProps {
title?: string | React.ReactElement;
toolbar?: React.ReactElement;
subTitle?: string | React.ReactElement;
title?: string | JSX.Element;
toolbar?: JSX.Element;
subTitle?: string | JSX.Element;
}
//# sourceMappingURL=portlet.type.d.ts.map
{
"name": "@ekidpro/ui.portlet",
"version": "0.0.23",
"version": "0.0.24",
"description": "> TODO: description",

@@ -33,3 +33,3 @@ "author": "lamlv <lam.luongvan2305@gmail.com>",

},
"gitHead": "adf2483cf878cac88653c7398a2f09ce5db4f667"
"gitHead": "d9b31b1f42f53a5c8519df92e3acf0947b225fc1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc