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.13 to 0.0.14

6

lib/index.es.js

@@ -1,2 +0,2 @@

import e from"react";var r={exports:{}},t={},n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var c=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,c,s=i(e),l=1;l<arguments.length;l++){for(var u in t=Object(arguments[l]))o.call(t,u)&&(s[u]=t[u]);if(n){c=n(t);for(var f=0;f<c.length;f++)a.call(t,c[f])&&(s[c[f]]=t[c[f]])}}return s},s=e,l=60103;
import e from"react";import r from"clsx";var t={exports:{}},n={},o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var s=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,n,s=c(e),l=1;l<arguments.length;l++){for(var u in t=Object(arguments[l]))a.call(t,u)&&(s[u]=t[u]);if(o){n=o(t);for(var f=0;f<n.length;f++)i.call(t,n[f])&&(s[n[f]]=t[n[f]])}}return s},l=e,u=60103;
/** @license React v17.0.2

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var u=Symbol.for;l=u("react.element"),t.Fragment=u("react.fragment")}var f=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p=Object.prototype.hasOwnProperty,y={key:!0,ref:!0,__self:!0,__source:!0};function d(e,r,t){var n,o={},a=null,i=null;for(n in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(i=r.ref),r)p.call(r,n)&&!y.hasOwnProperty(n)&&(o[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===o[n]&&(o[n]=r[n]);return{$$typeof:l,type:e,key:a,ref:i,props:o,_owner:f.current}}t.jsx=d,t.jsxs=d;var v,g={};
*/if(n.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var f=Symbol.for;u=f("react.element"),n.Fragment=f("react.fragment")}var p=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};function v(e,r,t){var n,o={},a=null,i=null;for(n in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(i=r.ref),r)y.call(r,n)&&!d.hasOwnProperty(n)&&(o[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===o[n]&&(o[n]=r[n]);return{$$typeof:u,type:e,key:a,ref:i,props:o,_owner:p.current}}n.jsx=v,n.jsxs=v;var g,m={};
/** @license React v17.0.2

@@ -18,3 +18,3 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/v=g,"production"!==process.env.NODE_ENV&&function(){var r=e,t=c,n=60103,o=60106;v.Fragment=60107;var a=60108,i=60114,s=60109,l=60110,u=60112,f=60113,p=60120,y=60115,d=60116,g=60121,m=60122,b=60117,h=60129,_=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;n=j("react.element"),o=j("react.portal"),v.Fragment=j("react.fragment"),a=j("react.strict_mode"),i=j("react.profiler"),s=j("react.provider"),l=j("react.context"),u=j("react.forward_ref"),f=j("react.suspense"),p=j("react.suspense_list"),y=j("react.memo"),d=j("react.lazy"),g=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"),_=j("react.legacy_hidden")}var O="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];R("error",e,t)}function R(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 x(e){return e.displayName||"Context"}function E(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 v.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 l:return x(e)+".Consumer";case s:return x(e._context)+".Provider";case u:return c=e,m=e.render,b="ForwardRef",h=m.displayName||m.name||"",c.displayName||(""!==h?b+"("+h+")":b);case y:return E(e.type);case g:return E(e._render);case d:var r=e,t=r._payload,n=r._init;try{return E(n(t))}catch(e){return null}}var c,m,b,h;return null}var S,P,$,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){S=console.log,P=console.info,$=console.warn,N=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:S}),info:t({},e,{value:P}),warn:t({},e,{value:$}),error:t({},e,{value:N}),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 u:return B(e.render);case y:return M(e.type,r,t);case g: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=E(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',E(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=E(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 "+E(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=O&&e[O]||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!==y)return;r=t.propTypes}if(r){var n=E(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?",E(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,c,j){var O=function(e){return"string"==typeof e||"function"==typeof e||e===v.Fragment||e===i||e===h||e===a||e===f||e===p||e===_||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===y||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===b||e.$$typeof===g||e[0]===m)}(e);if(!O){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 R,x=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(c);w+=x||ce(),null===e?R="null":Array.isArray(e)?R="array":void 0!==e&&e.$$typeof===n?(R="<"+(E(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):R=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",R,w)}var S=re(e,r,t,c,j);if(null==S)return S;if(O){var P=r.children;if(void 0!==P)if(o)if(Array.isArray(P)){for(var $=0;$<P.length;$++)ue(P[$],e);Object.freeze&&Object.freeze(P)}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(P,e)}return e===v.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))}(S):fe(S),S}var ye=function(e,r,t){return pe(e,r,t,!1)},de=function(e,r,t){return pe(e,r,t,!0)};v.jsx=ye,v.jsxs=de}(),"production"===process.env.NODE_ENV?r.exports=t:r.exports=g;const m=e=>{const{children:t}=e;return r.exports.jsx("div",Object.assign({className:"bg-white rounded-lg shadow-lg"},{children:t}),void 0)},b=e=>{const{children:t}=e;return r.exports.jsx("div",Object.assign({className:"bg-white rounded p-7"},{children:t}),void 0)},h=()=>r.exports.jsx("div",{},void 0),_=e=>{const{title:t,toolbar:n}=e;return r.exports.jsxs("div",Object.assign({className:"flex items-center justify-between rounded bg-white px-7 py-4",style:{borderBottomWidth:1}},{children:[r.exports.jsx("div",{children:r.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:t}),void 0)},void 0),r.exports.jsx("div",{children:n},void 0)]}),void 0)};export{m as Portlet,b as PortletBody,h as PortletFooter,_ as PortletHeader};
*/g=m,"production"!==process.env.NODE_ENV&&function(){var r=e,t=s,n=60103,o=60106;g.Fragment=60107;var a=60108,i=60114,c=60109,l=60110,u=60112,f=60113,p=60120,y=60115,d=60116,v=60121,m=60122,b=60117,h=60129,_=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"),l=j("react.context"),u=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"),_=j("react.legacy_hidden")}var O="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 R(e){return e.displayName||"Context"}function E(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 l:return R(e)+".Consumer";case c:return R(e._context)+".Provider";case u:return s=e,m=e.render,b="ForwardRef",h=m.displayName||m.name||"",s.displayName||(""!==h?b+"("+h+")":b);case y:return E(e.type);case v:return E(e._render);case d:var r=e,t=r._payload,n=r._init;try{return E(n(t))}catch(e){return null}}var s,m,b,h;return null}var S,P,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){S=console.log,P=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:S}),info:t({},e,{value:P}),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 u: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=E(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',E(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=E(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 "+E(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=O&&e[O]||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!==y)return;r=t.propTypes}if(r){var n=E(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?",E(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,s,j){var O=function(e){return"string"==typeof e||"function"==typeof e||e===g.Fragment||e===i||e===h||e===a||e===f||e===p||e===_||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===b||e.$$typeof===v||e[0]===m)}(e);if(!O){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,R=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(s);w+=R||ce(),null===e?x="null":Array.isArray(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(E(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 S=re(e,r,t,s,j);if(null==S)return S;if(O){var P=r.children;if(void 0!==P)if(o)if(Array.isArray(P)){for(var N=0;N<P.length;N++)ue(P[N],e);Object.freeze&&Object.freeze(P)}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(P,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))}(S):fe(S),S}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?t.exports=n:t.exports=m;const b=e=>{const{children:r}=e;return t.exports.jsx("div",Object.assign({className:"bg-white rounded-lg shadow-lg"},{children:r}),void 0)},h=e=>{const{children:n,className:o}=e;return t.exports.jsx("div",Object.assign({className:r(o,"bg-white rounded")},{children:n}),void 0)},_=()=>t.exports.jsx("div",{},void 0),j=e=>{const{title:r,toolbar:n,subTitle:o}=e;return t.exports.jsxs("div",Object.assign({className:"flex items-center justify-between rounded bg-white px-7 py-4 border-b\t"},{children:[t.exports.jsxs("div",{children:[t.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:r}),void 0),t.exports.jsx("span",Object.assign({className:"uppercase"},{children:o}),void 0)]},void 0),t.exports.jsx("div",{children:n},void 0)]}),void 0)};export{b as Portlet,h as PortletBody,_ as PortletFooter,j as PortletHeader};
//# sourceMappingURL=index.es.js.map

@@ -1,2 +0,2 @@

"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react")),t={exports:{}},n={},o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var s=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,n,s=c(e),l=1;l<arguments.length;l++){for(var u in t=Object(arguments[l]))a.call(t,u)&&(s[u]=t[u]);if(o){n=o(t);for(var f=0;f<n.length;f++)i.call(t,n[f])&&(s[n[f]]=t[n[f]])}}return s},l=r.default,u=60103;
"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),a={exports:{}},i={},c=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function u(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var f=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,n,o=u(e),a=1;a<arguments.length;a++){for(var i in t=Object(arguments[a]))s.call(t,i)&&(o[i]=t[i]);if(c){n=c(t);for(var f=0;f<n.length;f++)l.call(t,n[f])&&(o[n[f]]=t[n[f]])}}return o},p=n.default,y=60103;
/** @license React v17.0.2

@@ -9,3 +9,3 @@ * react-jsx-runtime.production.min.js

* LICENSE file in the root directory of this source tree.
*/if(n.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var f=Symbol.for;u=f("react.element"),n.Fragment=f("react.fragment")}var p=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};function v(e,r,t){var n,o={},a=null,i=null;for(n in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(i=r.ref),r)y.call(r,n)&&!d.hasOwnProperty(n)&&(o[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===o[n]&&(o[n]=r[n]);return{$$typeof:u,type:e,key:a,ref:i,props:o,_owner:p.current}}n.jsx=v,n.jsxs=v;var g={};
*/if(i.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var d=Symbol.for;y=d("react.element"),i.Fragment=d("react.fragment")}var v=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,g=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function m(e,r,t){var n,o={},a=null,i=null;for(n in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(i=r.ref),r)g.call(r,n)&&!b.hasOwnProperty(n)&&(o[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===o[n]&&(o[n]=r[n]);return{$$typeof:y,type:e,key:a,ref:i,props:o,_owner:v.current}}i.jsx=m,i.jsxs=m;var h={};
/** @license React v17.0.2

@@ -18,3 +18,3 @@ * react-jsx-runtime.development.js

* LICENSE file in the root directory of this source tree.
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var t=r.default,n=s,o=60103,a=60106;e.Fragment=60107;var i=60108,c=60114,l=60109,u=60110,f=60112,p=60113,y=60120,d=60115,v=60116,g=60121,b=60122,m=60117,h=60129,_=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;o=j("react.element"),a=j("react.portal"),e.Fragment=j("react.fragment"),i=j("react.strict_mode"),c=j("react.profiler"),l=j("react.provider"),u=j("react.context"),f=j("react.forward_ref"),p=j("react.suspense"),y=j("react.suspense_list"),d=j("react.memo"),v=j("react.lazy"),g=j("react.block"),b=j("react.server.block"),m=j("react.fundamental"),j("react.scope"),j("react.opaque.id"),h=j("react.debug_trace_mode"),j("react.offscreen"),_=j("react.legacy_hidden")}var O="function"==typeof Symbol&&Symbol.iterator;var w=t.__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 E(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 p:return"Suspense";case y:return"SuspenseList"}if("object"==typeof r)switch(r.$$typeof){case u:return R(r)+".Consumer";case l:return R(r._context)+".Provider";case f:return s=r,b=r.render,m="ForwardRef",h=b.displayName||b.name||"",s.displayName||(""!==h?m+"("+h+")":m);case d:return E(r.type);case g:return E(r._render);case v:var t=r,n=t._payload,o=t._init;try{return E(o(n))}catch(e){return null}}var s,b,m,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,q="function"==typeof WeakMap?WeakMap:Map;function B(e,r){if(!e||z)return"";var t,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,$=console.warn,N=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){t=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){t=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){t=e}e()}}catch(r){if(r&&t&&"string"==typeof r.stack){for(var s=r.stack.split("\n"),l=t.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:n({},e,{value:P}),info:n({},e,{value:S}),warn:n({},e,{value:$}),error:n({},e,{value:N}),group:n({},e,{value:T}),groupCollapsed:n({},e,{value:C}),groupEnd:n({},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 Y(e,r,t){return B(e,!1)}function M(e,r,t){if(null==e)return"";if("function"==typeof e)return B(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return W(e);switch(e){case p:return W("Suspense");case y:return W("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case f:return Y(e.render);case d:return M(e.type,r,t);case g:return Y(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 q;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=E(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',E(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=E(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 "+E(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=O&&e[O]||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!==f&&t.$$typeof!==d)return;r=t.propTypes}if(r){var n=E(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?",E(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,s,j){var O=function(r){return"string"==typeof r||"function"==typeof r||r===e.Fragment||r===c||r===h||r===i||r===p||r===y||r===_||"object"==typeof r&&null!==r&&(r.$$typeof===v||r.$$typeof===d||r.$$typeof===l||r.$$typeof===u||r.$$typeof===f||r.$$typeof===m||r.$$typeof===g||r[0]===b)}(r);if(!O){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+".":""}(s);w+=R||ce(),null===r?x="null":Array.isArray(r)?x="array":void 0!==r&&r.$$typeof===o?(x="<"+(E(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 P=re(r,t,n,s,j);if(null==P)return P;if(O){var S=t.children;if(void 0!==S)if(a)if(Array.isArray(S)){for(var $=0;$<S.length;$++)ue(S[$],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))}(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)};e.jsx=ye,e.jsxs=de}()}(g),"production"===process.env.NODE_ENV?t.exports=n:t.exports=g;exports.Portlet=e=>{const{children:r}=e;return t.exports.jsx("div",Object.assign({className:"bg-white rounded-lg shadow-lg"},{children:r}),void 0)},exports.PortletBody=e=>{const{children:r}=e;return t.exports.jsx("div",Object.assign({className:"bg-white rounded p-7"},{children:r}),void 0)},exports.PortletFooter=()=>t.exports.jsx("div",{},void 0),exports.PortletHeader=e=>{const{title:r,toolbar:n}=e;return t.exports.jsxs("div",Object.assign({className:"flex items-center justify-between rounded bg-white px-7 py-4",style:{borderBottomWidth:1}},{children:[t.exports.jsx("div",{children:t.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:r}),void 0)},void 0),t.exports.jsx("div",{children:n},void 0)]}),void 0)};
*/!function(e){"production"!==process.env.NODE_ENV&&function(){var r=n.default,t=f,o=60103,a=60106;e.Fragment=60107;var i=60108,c=60114,s=60109,l=60110,u=60112,p=60113,y=60120,d=60115,v=60116,g=60121,b=60122,m=60117,h=60129,_=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;o=j("react.element"),a=j("react.portal"),e.Fragment=j("react.fragment"),i=j("react.strict_mode"),c=j("react.profiler"),s=j("react.provider"),l=j("react.context"),u=j("react.forward_ref"),p=j("react.suspense"),y=j("react.suspense_list"),d=j("react.memo"),v=j("react.lazy"),g=j("react.block"),b=j("react.server.block"),m=j("react.fundamental"),j("react.scope"),j("react.opaque.id"),h=j("react.debug_trace_mode"),j("react.offscreen"),_=j("react.legacy_hidden")}var O="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 E(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 p: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 f=r,b=r.render,m="ForwardRef",h=b.displayName||b.name||"",f.displayName||(""!==h?m+"("+h+")":m);case d:return E(r.type);case g:return E(r._render);case v:var t=r,n=t._payload,o=t._init;try{return E(o(n))}catch(e){return null}}var f,b,m,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,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){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{q=!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 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 p: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 g: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=E(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',E(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=E(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 "+E(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=O&&e[O]||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=E(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?",E(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,f,j){var O=function(r){return"string"==typeof r||"function"==typeof r||r===e.Fragment||r===c||r===h||r===i||r===p||r===y||r===_||"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===g||r[0]===b)}(r);if(!O){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+".":""}(f);w+=R||ce(),null===r?x="null":Array.isArray(r)?x="array":void 0!==r&&r.$$typeof===o?(x="<"+(E(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 P=re(r,t,n,f,j);if(null==P)return P;if(O){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))}(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)};e.jsx=ye,e.jsxs=de}()}(h),"production"===process.env.NODE_ENV?a.exports=i:a.exports=h;exports.Portlet=e=>{const{children:r}=e;return a.exports.jsx("div",Object.assign({className:"bg-white rounded-lg shadow-lg"},{children:r}),void 0)},exports.PortletBody=e=>{const{children:r,className:t}=e;return a.exports.jsx("div",Object.assign({className:o.default(t,"bg-white rounded")},{children:r}),void 0)},exports.PortletFooter=()=>a.exports.jsx("div",{},void 0),exports.PortletHeader=e=>{const{title:r,toolbar:t,subTitle:n}=e;return a.exports.jsxs("div",Object.assign({className:"flex items-center justify-between rounded bg-white px-7 py-4 border-b\t"},{children:[a.exports.jsxs("div",{children:[a.exports.jsx("span",Object.assign({className:"uppercase font-bold"},{children:r}),void 0),a.exports.jsx("span",Object.assign({className:"uppercase"},{children:n}),void 0)]},void 0),a.exports.jsx("div",{children:t},void 0)]}),void 0)};
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

import React from 'react';
export declare const PortletBody: React.FC;
/// <reference types="react" />
export declare const PortletBody: React.FC<HTMLDivElement>;
//# sourceMappingURL=portlet-body.d.ts.map

@@ -1,3 +0,3 @@

import React from 'react';
/// <reference types="react" />
export declare const PortletFooter: React.FC;
//# sourceMappingURL=portlet-footer.d.ts.map

@@ -1,4 +0,4 @@

import React from 'react';
/// <reference types="react" />
import { PortletHeaderProps } from './portlet.type';
export declare const PortletHeader: React.FC<PortletHeaderProps>;
//# sourceMappingURL=portlet-header.d.ts.map

@@ -1,3 +0,3 @@

import React from 'react';
/// <reference types="react" />
export declare const Portlet: React.FC;
//# sourceMappingURL=portlet.d.ts.map

@@ -5,3 +5,4 @@ /// <reference types="react" />

toolbar?: React.ReactElement;
subTitle?: string | React.ReactElement;
}
//# sourceMappingURL=portlet.type.d.ts.map
{
"name": "@ekidpro/ui.portlet",
"version": "0.0.13",
"version": "0.0.14",
"description": "> TODO: description",

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

},
"gitHead": "cdd0a36b30553bf2fe97eecde5a6e646b632a850"
"gitHead": "48b1c8e71b1772dede3389083cde1feaf54e2b34"
}

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

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