gf-components 0.1.36 → 0.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -439,7 +439,7 @@ html body {
439
439
  font: var(--gf-label-lg-default);
440
440
  color: var(--gf-color-text-secondary);
441
441
  margin-bottom: 1em;
442
- `,xj=({text:e,columns:t,textalign:n="left",style:r,className:i,editable:a})=>L.jsxs(L.Fragment,{children:[L.jsx(On,{}),L.jsx(bj,{columns:t,textalign:n,style:r||{},className:i||"",contentEditable:a,suppressContentEditableWarning:a,children:e==null?void 0:e.map(o=>L.jsx(yj,{dangerouslySetInnerHTML:{__html:o}}))})]}),Sj=({metricsData:e})=>L.jsx(jo,{gap:10,wrap:!0,children:e==null?void 0:e.map(t=>L.jsx(b$,{percent:t.percent,description:t.description,cost:t.cost,editable:t.editable}))});var Cj=typeof ql=="object"&&ql&&ql.Object===Object&&ql,C$=Cj,wj=C$,$j=typeof self=="object"&&self&&self.Object===Object&&self,_j=wj||$j||Function("return this")(),ei=_j,Ej=ei,Oj=Ej.Symbol,Do=Oj,jy=Do,w$=Object.prototype,Mj=w$.hasOwnProperty,Tj=w$.toString,ss=jy?jy.toStringTag:void 0;function Rj(e){var t=Mj.call(e,ss),n=e[ss];try{e[ss]=void 0;var r=!0}catch{}var i=Tj.call(e);return r&&(t?e[ss]=n:delete e[ss]),i}var Pj=Rj,Ij=Object.prototype,Aj=Ij.toString;function Nj(e){return Aj.call(e)}var kj=Nj,Ly=Do,jj=Pj,Lj=kj,Dj="[object Null]",Fj="[object Undefined]",Dy=Ly?Ly.toStringTag:void 0;function zj(e){return e==null?e===void 0?Fj:Dj:Dy&&Dy in Object(e)?jj(e):Lj(e)}var bi=zj;function Bj(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ti=Bj,Vj=bi,Wj=ti,Hj="[object AsyncFunction]",Uj="[object Function]",Gj="[object GeneratorFunction]",qj="[object Proxy]";function Kj(e){if(!Wj(e))return!1;var t=Vj(e);return t==Uj||t==Gj||t==Hj||t==qj}var id=Kj;const Hm=rn(id);var Yj=ei,Xj=Yj["__core-js_shared__"],Zj=Xj,nh=Zj,Fy=function(){var e=/[^.]+$/.exec(nh&&nh.keys&&nh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Qj(e){return!!Fy&&Fy in e}var Jj=Qj,eL=Function.prototype,tL=eL.toString;function nL(e){if(e!=null){try{return tL.call(e)}catch{}try{return e+""}catch{}}return""}var $$=nL,rL=id,iL=Jj,aL=ti,oL=$$,sL=/[\\^$.*+?()[\]{}|]/g,lL=/^\[object .+?Constructor\]$/,cL=Function.prototype,uL=Object.prototype,dL=cL.toString,fL=uL.hasOwnProperty,hL=RegExp("^"+dL.call(fL).replace(sL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vL(e){if(!aL(e)||iL(e))return!1;var t=rL(e)?hL:lL;return t.test(oL(e))}var gL=vL;function mL(e,t){return e==null?void 0:e[t]}var pL=mL,bL=gL,yL=pL;function xL(e,t){var n=yL(e,t);return bL(n)?n:void 0}var wa=xL,SL=wa,CL=SL(Object,"create"),ad=CL,zy=ad;function wL(){this.__data__=zy?zy(null):{},this.size=0}var $L=wL;function _L(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var EL=_L,OL=ad,ML="__lodash_hash_undefined__",TL=Object.prototype,RL=TL.hasOwnProperty;function PL(e){var t=this.__data__;if(OL){var n=t[e];return n===ML?void 0:n}return RL.call(t,e)?t[e]:void 0}var IL=PL,AL=ad,NL=Object.prototype,kL=NL.hasOwnProperty;function jL(e){var t=this.__data__;return AL?t[e]!==void 0:kL.call(t,e)}var LL=jL,DL=ad,FL="__lodash_hash_undefined__";function zL(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=DL&&t===void 0?FL:t,this}var BL=zL,VL=$L,WL=EL,HL=IL,UL=LL,GL=BL;function Fo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Fo.prototype.clear=VL;Fo.prototype.delete=WL;Fo.prototype.get=HL;Fo.prototype.has=UL;Fo.prototype.set=GL;var qL=Fo;function KL(){this.__data__=[],this.size=0}var YL=KL;function XL(e,t){return e===t||e!==e&&t!==t}var Pl=XL,ZL=Pl;function QL(e,t){for(var n=e.length;n--;)if(ZL(e[n][0],t))return n;return-1}var od=QL,JL=od,eD=Array.prototype,tD=eD.splice;function nD(e){var t=this.__data__,n=JL(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():tD.call(t,n,1),--this.size,!0}var rD=nD,iD=od;function aD(e){var t=this.__data__,n=iD(t,e);return n<0?void 0:t[n][1]}var oD=aD,sD=od;function lD(e){return sD(this.__data__,e)>-1}var cD=lD,uD=od;function dD(e,t){var n=this.__data__,r=uD(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var fD=dD,hD=YL,vD=rD,gD=oD,mD=cD,pD=fD;function zo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zo.prototype.clear=hD;zo.prototype.delete=vD;zo.prototype.get=gD;zo.prototype.has=mD;zo.prototype.set=pD;var sd=zo,bD=wa,yD=ei,xD=bD(yD,"Map"),Um=xD,By=qL,SD=sd,CD=Um;function wD(){this.size=0,this.__data__={hash:new By,map:new(CD||SD),string:new By}}var $D=wD;function _D(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ED=_D,OD=ED;function MD(e,t){var n=e.__data__;return OD(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ld=MD,TD=ld;function RD(e){var t=TD(this,e).delete(e);return this.size-=t?1:0,t}var PD=RD,ID=ld;function AD(e){return ID(this,e).get(e)}var ND=AD,kD=ld;function jD(e){return kD(this,e).has(e)}var LD=jD,DD=ld;function FD(e,t){var n=DD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var zD=FD,BD=$D,VD=PD,WD=ND,HD=LD,UD=zD;function Bo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bo.prototype.clear=BD;Bo.prototype.delete=VD;Bo.prototype.get=WD;Bo.prototype.has=HD;Bo.prototype.set=UD;var Gm=Bo,GD="__lodash_hash_undefined__";function qD(e){return this.__data__.set(e,GD),this}var KD=qD;function YD(e){return this.__data__.has(e)}var XD=YD,ZD=Gm,QD=KD,JD=XD;function ou(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ZD;++t<n;)this.add(e[t])}ou.prototype.add=ou.prototype.push=QD;ou.prototype.has=JD;var qm=ou;function eF(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var tF=eF;function nF(e){return e!==e}var rF=nF;function iF(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var aF=iF,oF=tF,sF=rF,lF=aF;function cF(e,t,n){return t===t?lF(e,t,n):oF(e,sF,n)}var uF=cF,dF=uF;function fF(e,t){var n=e==null?0:e.length;return!!n&&dF(e,t,0)>-1}var _$=fF;function hF(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var E$=hF;function vF(e,t){return e.has(t)}var Km=vF,gF=wa,mF=ei,pF=gF(mF,"Set"),O$=pF;function bF(){}var yF=bF;function xF(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ym=xF,rh=O$,SF=yF,CF=Ym,wF=1/0,$F=rh&&1/CF(new rh([,-0]))[1]==wF?function(e){return new rh(e)}:SF,_F=$F,EF=qm,OF=_$,MF=E$,TF=Km,RF=_F,PF=Ym,IF=200;function AF(e,t,n){var r=-1,i=OF,a=e.length,o=!0,s=[],l=s;if(n)o=!1,i=MF;else if(a>=IF){var c=t?null:RF(e);if(c)return PF(c);o=!1,i=TF,l=new EF}else l=t?[]:s;e:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}var M$=AF,NF=M$;function kF(e){return e&&e.length?NF(e):[]}var jF=kF;const eg=rn(jF);var tg={exports:{}},dc={exports:{}},Bt={};/** @license React v16.13.1
442
+ `,xj=({id:e,text:t,columns:n,textalign:r="left",style:i,className:a,editable:o})=>L.jsxs(L.Fragment,{children:[L.jsx(On,{}),L.jsx(bj,{id:e,columns:n,textalign:r,style:i||{},className:a||"",contentEditable:o,suppressContentEditableWarning:o,children:t==null?void 0:t.map(s=>L.jsx(yj,{dangerouslySetInnerHTML:{__html:s}}))})]}),Sj=({metricsData:e})=>L.jsx(jo,{gap:10,wrap:!0,children:e==null?void 0:e.map(t=>L.jsx(b$,{percent:t.percent,description:t.description,cost:t.cost,editable:t.editable}))});var Cj=typeof ql=="object"&&ql&&ql.Object===Object&&ql,C$=Cj,wj=C$,$j=typeof self=="object"&&self&&self.Object===Object&&self,_j=wj||$j||Function("return this")(),ei=_j,Ej=ei,Oj=Ej.Symbol,Do=Oj,jy=Do,w$=Object.prototype,Mj=w$.hasOwnProperty,Tj=w$.toString,ss=jy?jy.toStringTag:void 0;function Rj(e){var t=Mj.call(e,ss),n=e[ss];try{e[ss]=void 0;var r=!0}catch{}var i=Tj.call(e);return r&&(t?e[ss]=n:delete e[ss]),i}var Pj=Rj,Ij=Object.prototype,Aj=Ij.toString;function Nj(e){return Aj.call(e)}var kj=Nj,Ly=Do,jj=Pj,Lj=kj,Dj="[object Null]",Fj="[object Undefined]",Dy=Ly?Ly.toStringTag:void 0;function zj(e){return e==null?e===void 0?Fj:Dj:Dy&&Dy in Object(e)?jj(e):Lj(e)}var bi=zj;function Bj(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ti=Bj,Vj=bi,Wj=ti,Hj="[object AsyncFunction]",Uj="[object Function]",Gj="[object GeneratorFunction]",qj="[object Proxy]";function Kj(e){if(!Wj(e))return!1;var t=Vj(e);return t==Uj||t==Gj||t==Hj||t==qj}var id=Kj;const Hm=rn(id);var Yj=ei,Xj=Yj["__core-js_shared__"],Zj=Xj,nh=Zj,Fy=function(){var e=/[^.]+$/.exec(nh&&nh.keys&&nh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Qj(e){return!!Fy&&Fy in e}var Jj=Qj,eL=Function.prototype,tL=eL.toString;function nL(e){if(e!=null){try{return tL.call(e)}catch{}try{return e+""}catch{}}return""}var $$=nL,rL=id,iL=Jj,aL=ti,oL=$$,sL=/[\\^$.*+?()[\]{}|]/g,lL=/^\[object .+?Constructor\]$/,cL=Function.prototype,uL=Object.prototype,dL=cL.toString,fL=uL.hasOwnProperty,hL=RegExp("^"+dL.call(fL).replace(sL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vL(e){if(!aL(e)||iL(e))return!1;var t=rL(e)?hL:lL;return t.test(oL(e))}var gL=vL;function mL(e,t){return e==null?void 0:e[t]}var pL=mL,bL=gL,yL=pL;function xL(e,t){var n=yL(e,t);return bL(n)?n:void 0}var wa=xL,SL=wa,CL=SL(Object,"create"),ad=CL,zy=ad;function wL(){this.__data__=zy?zy(null):{},this.size=0}var $L=wL;function _L(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var EL=_L,OL=ad,ML="__lodash_hash_undefined__",TL=Object.prototype,RL=TL.hasOwnProperty;function PL(e){var t=this.__data__;if(OL){var n=t[e];return n===ML?void 0:n}return RL.call(t,e)?t[e]:void 0}var IL=PL,AL=ad,NL=Object.prototype,kL=NL.hasOwnProperty;function jL(e){var t=this.__data__;return AL?t[e]!==void 0:kL.call(t,e)}var LL=jL,DL=ad,FL="__lodash_hash_undefined__";function zL(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=DL&&t===void 0?FL:t,this}var BL=zL,VL=$L,WL=EL,HL=IL,UL=LL,GL=BL;function Fo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Fo.prototype.clear=VL;Fo.prototype.delete=WL;Fo.prototype.get=HL;Fo.prototype.has=UL;Fo.prototype.set=GL;var qL=Fo;function KL(){this.__data__=[],this.size=0}var YL=KL;function XL(e,t){return e===t||e!==e&&t!==t}var Pl=XL,ZL=Pl;function QL(e,t){for(var n=e.length;n--;)if(ZL(e[n][0],t))return n;return-1}var od=QL,JL=od,eD=Array.prototype,tD=eD.splice;function nD(e){var t=this.__data__,n=JL(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():tD.call(t,n,1),--this.size,!0}var rD=nD,iD=od;function aD(e){var t=this.__data__,n=iD(t,e);return n<0?void 0:t[n][1]}var oD=aD,sD=od;function lD(e){return sD(this.__data__,e)>-1}var cD=lD,uD=od;function dD(e,t){var n=this.__data__,r=uD(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var fD=dD,hD=YL,vD=rD,gD=oD,mD=cD,pD=fD;function zo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zo.prototype.clear=hD;zo.prototype.delete=vD;zo.prototype.get=gD;zo.prototype.has=mD;zo.prototype.set=pD;var sd=zo,bD=wa,yD=ei,xD=bD(yD,"Map"),Um=xD,By=qL,SD=sd,CD=Um;function wD(){this.size=0,this.__data__={hash:new By,map:new(CD||SD),string:new By}}var $D=wD;function _D(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ED=_D,OD=ED;function MD(e,t){var n=e.__data__;return OD(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ld=MD,TD=ld;function RD(e){var t=TD(this,e).delete(e);return this.size-=t?1:0,t}var PD=RD,ID=ld;function AD(e){return ID(this,e).get(e)}var ND=AD,kD=ld;function jD(e){return kD(this,e).has(e)}var LD=jD,DD=ld;function FD(e,t){var n=DD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var zD=FD,BD=$D,VD=PD,WD=ND,HD=LD,UD=zD;function Bo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bo.prototype.clear=BD;Bo.prototype.delete=VD;Bo.prototype.get=WD;Bo.prototype.has=HD;Bo.prototype.set=UD;var Gm=Bo,GD="__lodash_hash_undefined__";function qD(e){return this.__data__.set(e,GD),this}var KD=qD;function YD(e){return this.__data__.has(e)}var XD=YD,ZD=Gm,QD=KD,JD=XD;function ou(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ZD;++t<n;)this.add(e[t])}ou.prototype.add=ou.prototype.push=QD;ou.prototype.has=JD;var qm=ou;function eF(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var tF=eF;function nF(e){return e!==e}var rF=nF;function iF(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var aF=iF,oF=tF,sF=rF,lF=aF;function cF(e,t,n){return t===t?lF(e,t,n):oF(e,sF,n)}var uF=cF,dF=uF;function fF(e,t){var n=e==null?0:e.length;return!!n&&dF(e,t,0)>-1}var _$=fF;function hF(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var E$=hF;function vF(e,t){return e.has(t)}var Km=vF,gF=wa,mF=ei,pF=gF(mF,"Set"),O$=pF;function bF(){}var yF=bF;function xF(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ym=xF,rh=O$,SF=yF,CF=Ym,wF=1/0,$F=rh&&1/CF(new rh([,-0]))[1]==wF?function(e){return new rh(e)}:SF,_F=$F,EF=qm,OF=_$,MF=E$,TF=Km,RF=_F,PF=Ym,IF=200;function AF(e,t,n){var r=-1,i=OF,a=e.length,o=!0,s=[],l=s;if(n)o=!1,i=MF;else if(a>=IF){var c=t?null:RF(e);if(c)return PF(c);o=!1,i=TF,l=new EF}else l=t?[]:s;e:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}var M$=AF,NF=M$;function kF(e){return e&&e.length?NF(e):[]}var jF=kF;const eg=rn(jF);var tg={exports:{}},dc={exports:{}},Bt={};/** @license React v16.13.1
443
443
  * react-is.production.min.js
444
444
  *
445
445
  * Copyright (c) Facebook, Inc. and its affiliates.