rbro-tat-uds 1.6.23 → 1.6.25
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +113 -113
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -1706,14 +1706,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[g2]+=1);const U5=t=>e.createE
|
|
1706
1706
|
|
1707
1707
|
&:after {
|
1708
1708
|
content: "";
|
1709
|
-
width: ${t=>
|
1709
|
+
width: ${t=>typeof t.$value=="number"?t.$value*100+"%":"50%"};
|
1710
1710
|
height: 100%;
|
1711
1711
|
position: absolute;
|
1712
1712
|
top: 0;
|
1713
1713
|
left: 0;
|
1714
1714
|
background-color: ${t=>t.$leftColor&&Object.keys(l).includes(t.$leftColor)?l[t.$leftColor]:l.gray_950};
|
1715
1715
|
}
|
1716
|
-
`,se=({value:t
|
1716
|
+
`,se=({value:t=0,leftColor:i="gray_950",rightColor:a="gray_60",height:n=24,radius:r=4,...c})=>L.jsx(de,{$value:t,$leftColor:i,$rightColor:a,$height:n,$radius:r,...c}),B2={default:l.info_800,danger:l.danger_600,accent:l.gray_950},pe=B.button`
|
1717
1717
|
outline: none;
|
1718
1718
|
border: none;
|
1719
1719
|
background-color: transparent;
|
@@ -5957,5 +5957,5 @@ See https://s-c.sh/2BAXzed for more info.`),window[g2]+=1);const U5=t=>e.createE
|
|
5957
5957
|
circle {
|
5958
5958
|
transition: cy 0.2s ease-in-out;
|
5959
5959
|
}
|
5960
|
-
`,Tl=({min:t=0,max:i=100,value:a=50,width:n="40px"})=>{const[C,s]=u.useState(0),[h,m]=u.useState(0),[p,g]=u.useState(0),v=u.useRef(null),E=u.useRef(null),M=u.useMemo(()=>h/2,[h]),V=u.useMemo(()=>{const k=p-10.5+2
|
5960
|
+
`,Tl=({min:t=0,max:i=100,value:a=50,width:n="40px"})=>{const[C,s]=u.useState(0),[h,m]=u.useState(0),[p,g]=u.useState(0),v=u.useRef(null),E=u.useRef(null),M=u.useMemo(()=>h/2,[h]),V=u.useMemo(()=>{const k=p-10.5+2,_=Math.max(t,Math.min(i,a)),w=i-t,Z=12.5+(w===0?.5:1-(_-t)/w)*(k-12.5);return isNaN(Z)?12.5:Z},[18,3,p,t,i,a]),$=u.useMemo(()=>{let R="0%",k="51.44%",_="100%";return t<=0&&i<=0&&(R="0%",k="0%",_="50%"),t>0&&i>0&&(R="30%",k="100%",_="0%"),{positive:R,neutral:k,negative:_}},[t,i]);return u.useEffect(()=>{v.current&&m(v.current.width.baseVal.value??v.current.getBoundingClientRect().width??28)},[v]),u.useEffect(()=>{if(E.current){const{height:R}=E.current.getBoundingClientRect();s(R),g(R-4)}},[E]),L.jsxs(Nl,{width:n,height:"100%",ref:E,children:[L.jsx("rect",{x:0,y:0,fill:l.gray_950,height:2,width:"100%"}),L.jsx("defs",{children:L.jsxs("linearGradient",{id:"heatGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[L.jsx("stop",{offset:$.positive,stopColor:"#1BB18C"}),L.jsx("stop",{offset:$.neutral,stopColor:"#FFE106"}),L.jsx("stop",{offset:$.negative,stopColor:"#EF2A38"})]})}),L.jsx("rect",{ref:v,x:0,y:2,fill:"url(#heatGradient)",height:Math.max(C-4,0)+"px",width:"70%"}),L.jsx("rect",{x:0,y:`${C-2}`,fill:l.gray_950,height:2,width:"100%"}),L.jsx("circle",{cx:M,cy:V,r:9,fill:l.black,strokeWidth:3,stroke:l.white})]})};exports.Alert=He;exports.AppBranding=yl;exports.AutosaveStatus=Vl;exports.Bar=se;exports.BreadcrumbItem=$4;exports.Breadcrumbs=B4;exports.Button=E1;exports.ButtonLink=Ut;exports.Card=Sl;exports.Checkbox=F0;exports.CityPicker=It;exports.ConfigurationSaveInfo=V0;exports.Container=e0;exports.Content=L0;exports.ContentDropdown=jt;exports.CreditCard=qt;exports.DashboardCard=Kt;exports.DashboardCategory=Qt;exports.DashboardSmallShortcut=dt;exports.Datepicker=Xe;exports.Divider=ce;exports.DonutGraph=Ol;exports.Dropdown=C9;exports.Flex=h1;exports.FormField=p2;exports.GraficConfiguratiePensii=Rt;exports.GraficFondInvestitii=Et;exports.GraficFondInvestitiiInflatie=St;exports.GraficPensii=tt;exports.GraficPlanInvestitii=Ft;exports.GraficPropunerePensii=bt;exports.Icon=N;exports.IconButton=x1;exports.IconCard=Be;exports.Illustration=hl;exports.ImageCard=$e;exports.InPageTab=Ot;exports.InvestmentFundItem=ut;exports.LabeledText=R2;exports.LabeledTextInLine=Ll;exports.Layout=K4;exports.Logo=U6;exports.Modal=f2;exports.Numpad=h3;exports.ObjectiveCard=A0;exports.ObjectiveCardSmall=ne;exports.OfferCard=tl;exports.OperationsDashboardCard=Zl;exports.OperationsDashboardCategory=$l;exports.PageMessage=O0;exports.PageTitle=le;exports.Pill=p9;exports.PlanFinanciarAUMBar=ml;exports.PlanFinanciarAUMGraph=El;exports.PlanulFinanciarTeaser=D0;exports.ProductTeaser=M3;exports.ProductTeaserButton=e9;exports.ProductTeaserParameters=_e;exports.ProductTeaserStep=xe;exports.ProposalPensii=d9;exports.PropunereAsigurariCalatorie=E9;exports.PropunereFlexicredit=J6;exports.PropunereFondInvestitii=m9;exports.PropunerePlanInvestitii=f9;exports.Radio=at;exports.RatesCalculator=Gt;exports.Section=X6;exports.SegmentedTabs=h0;exports.SelectionButton=Ml;exports.SelectionPill=ft;exports.ShortcutCard=M0;exports.Sidebar=P2;exports.SidebarItem=U4;exports.Slider=Q0;exports.Spinner=W1;exports.StepTab=me;exports.StepsBar=u9;exports.Switch=zl;exports.Tab=p0;exports.TextInput=d2;exports.TimedButton=fe;exports.TimelineSteps=Bl;exports.TimelineStepsItem=Hl;exports.Timer=Pl;exports.VerticalHeat=Tl;exports.colors=l;
|
5961
5961
|
//# sourceMappingURL=index.cjs.js.map
|