dash_mantine_components 1.1.1 → 1.2.0

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.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[247],{37980:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var i=r(31635),o=r(74848),a=r(40295),s=r.n(a),n=r(84124),l=r(57158),c=r(44653),d=r(50300),h=r(97018),p=r(69107),u=r(77984),f=r(91706),y=r(23495),x=r(78687),m=r(59396),v=r(86344),k=r(2412),A=r(46100),g=r(1101),C=r(99274),j=r(52837),P=r(14791),D=r(6585),N=r(45849),b=r(88498),L=r(11072);function O({offset:e,id:t,colors:r,fillOpacity:i}){const a=(0,g.xd)();return(0,o.jsxs)("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[0],a),stopOpacity:i??.2}),(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[1],a),stopOpacity:i??.2})]})}function S({data:e,series:t}){return 1===t.length?function({data:e,dataKey:t}){const r=Math.max(...e.map((e=>e[t]))),i=Math.min(...e.map((e=>e[t])));return r<=0?0:i>=0?1:r/(r-i)}({data:e,dataKey:t[0].name}):.5}O.displayName="@mantine/charts/AreaSplit";var w=r(89133);function $(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withDots:!0,withTooltip:!0,connectNulls:!0,strokeWidth:2,tooltipAnimationDuration:0,fillOpacity:.2,tickLine:"y",strokeDasharray:"5 5",curveType:"monotone",gridAxis:"x",type:"default",splitColors:["green.7","red.7"],orientation:"horizontal"},z=(0,m.V)(((e,{textColor:t,gridColor:r})=>({root:{"--chart-text-color":t?(0,v.r)(t,e):void 0,"--chart-grid-color":r?(0,v.r)(r,e):void 0}}))),K=(0,k.P9)(((e,t)=>{const r=(0,A.Y)("AreaChart",I,e),{classNames:i,className:s,style:m,styles:k,unstyled:K,vars:M,data:W,series:_,withGradient:F,dataKey:Q,withXAxis:Y,withYAxis:G,curveType:T,gridProps:R,withDots:X,tickLine:E,strokeDasharray:H,gridAxis:J,unit:B,yAxisProps:V,xAxisProps:Z,dotProps:q,activeDotProps:U,strokeWidth:ee,tooltipAnimationDuration:te,type:re,legendProps:ie,tooltipProps:oe,withLegend:ae,withTooltip:se,areaChartProps:ne,fillOpacity:le,splitColors:ce,splitOffset:de,connectNulls:he,onMouseLeave:pe,orientation:ue,referenceLines:fe,dir:ye,valueFormatter:xe,children:me,areaProps:ve,xAxisLabel:ke,yAxisLabel:Ae,withRightYAxis:ge,rightYAxisLabel:Ce,rightYAxisProps:je,withPointLabels:Pe,gridColor:De,textColor:Ne,...be}=r,Le=(0,g.xd)(),Oe=(0,a.useId)(),Se=`${Oe}-split`,we="none"!==J&&("x"===E||"xy"===E),$e="none"!==J&&("y"===E||"xy"===E),Ie=(te||0)>0,ze="boolean"==typeof F?F:"default"===re,Ke="stacked"===re||"percent"===re,[Me,We]=(0,a.useState)(null),_e=null!==Me,{resolvedClassNames:Fe,resolvedStyles:Qe}=(0,C.Y)({classNames:i,styles:k,props:r}),Ye=(0,j.I)({name:"AreaChart",classes:w.A,props:r,className:s,style:m,classNames:i,styles:k,unstyled:K,vars:M,varsResolver:z}),Ge=_.map((e=>{const t=(0,v.r)(e.color,Le),r=_e&&Me!==e.name;return(0,a.createElement)(n.G,{...Ye("area"),activeDot:{fill:Le.white,stroke:t,strokeWidth:2,r:4,...U},dot:{fill:t,fillOpacity:r?0:1,strokeWidth:2,r:4,...q},key:e.name,name:e.name,type:T,dataKey:e.name,fill:"none",strokeWidth:ee,stroke:"none",isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack-dots":void 0,yAxisId:e.yAxisId||"left",..."function"==typeof ve?ve(e):ve})})),Te=_.map((e=>{const t=`${Oe}-${e.color.replace(/[^a-zA-Z0-9]/g,"")}`,r=(0,v.r)(e.color,Le),i=_e&&Me!==e.name;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("defs",{children:(0,o.jsx)(L.s,{color:r,withGradient:ze,id:t,fillOpacity:le})}),(0,o.jsx)(n.G,{...Ye("area"),activeDot:!1,dot:!1,name:e.name,type:T,dataKey:e.name,fill:"split"===re?`url(#${Se})`:`url(#${t})`,strokeWidth:ee,stroke:r,isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack":void 0,fillOpacity:i?0:1,strokeOpacity:i?.5:1,strokeDasharray:e.strokeDasharray,yAxisId:e.yAxisId||"left",label:Pe?(0,o.jsx)(b.x,{valueFormatter:xe}):void 0,..."function"==typeof ve?ve(e):ve})]},e.name)})),Re=fe?.map(((e,t)=>{const r=(0,v.r)(e.color,Le);return(0,o.jsx)(l.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ye("referenceLine")},t)})),Xe="percent"===re?$:xe,Ee={axisLine:!1,..."vertical"===ue?{dataKey:Q,type:"category"}:{type:"number"},tickLine:!!$e&&{stroke:"currentColor"},allowDecimals:!0,unit:B,tickFormatter:"vertical"===ue?void 0:Xe,...Ye("axis")};return(0,o.jsx)(P.a,{ref:t,...Ye("root"),onMouseLeave:e=>{We(null),pe?.(e)},dir:ye||"ltr",...be,children:(0,o.jsx)(c.u,{...Ye("container"),children:(0,o.jsxs)(d.Q,{data:W,stackOffset:"percent"===re?"expand":void 0,layout:ue,margin:{bottom:ke?30:void 0,left:Ae?10:void 0,right:Ae?5:void 0},...ne,children:[Re,ae&&(0,o.jsx)(h.s,{verticalAlign:"top",content:e=>(0,o.jsx)(D._,{payload:e.payload,onHighlight:We,legendPosition:ie?.verticalAlign||"top",classNames:Fe,styles:Qe,series:_}),...ie}),(0,o.jsx)(p.d,{strokeDasharray:H,vertical:"y"===J||"xy"===J,horizontal:"x"===J||"xy"===J,...Ye("grid"),...R}),(0,o.jsxs)(u.W,{hide:!Y,..."vertical"===ue?{type:"number"}:{dataKey:Q},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!we&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ue?Xe:void 0,...Ye("axis"),...Z,children:[ke&&(0,o.jsx)(f.J,{position:"insideBottom",offset:-20,fontSize:12,...Ye("axisLabel"),children:ke}),Z?.children]}),(0,o.jsxs)(y.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!G,...Ee,...V,children:[Ae&&(0,o.jsx)(f.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ae}),V?.children]}),(0,o.jsxs)(y.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!ge,...Ee,...je,children:[Ce&&(0,o.jsx)(f.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ce}),V?.children]}),se&&(0,o.jsx)(x.m,{animationDuration:te,isAnimationActive:Ie,position:"vertical"===ue?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:H},content:({label:e,payload:t})=>(0,o.jsx)(N.I,{label:e,payload:t,unit:B,classNames:Fe,styles:Qe,series:_,valueFormatter:xe}),...oe}),"split"===re&&(0,o.jsx)("defs",{children:(0,o.jsx)(O,{colors:ce,id:Se,offset:de??S({data:W,series:_}),fillOpacity:le})}),Te,X&&Ge,me]})})})}));K.classes=w.A,K.displayName="@mantine/charts/AreaChart";var M=r(83837),W=r(57479);const _=function(e){var t=e.setProps,r=e.loading_state,o=(e.clickData,e.hoverData,e.clickSeriesName,e.hoverSeriesName,e.series),n=e.highlightHover,l=void 0!==n&&n,c=e.areaChartProps,d=e.activeDotProps,h=e.areaProps,p=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","clickSeriesName","hoverSeriesName","series","highlightHover","areaChartProps","activeDotProps","areaProps"]),u=(0,a.useState)(null),f=u[0],y=u[1],x=l&&null!==f,m=(0,a.useRef)(null),v=function(e){(0,M.$Q)(e)&&(m.current=e.name)},k=function(e){if((0,M.$Q)(e)){var t=e.name;m.current=t,y(t)}},A=function(){y(null)},g=(0,i.Cl)((0,i.Cl)({},c),{onClick:function(e){(0,M.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,M.X$)(e)}),m.current=null},onMouseOver:function(e){(0,M.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,M.X$)(e)}),m.current=null}});return s().createElement(K,(0,i.Cl)({"data-dash-is-loading":(0,W.A_)(r)||void 0,areaChartProps:g,series:o,activeDotProps:(0,i.Cl)((0,i.Cl)({},d),{onClick:function(e,t){(0,M.$Q)(e)&&(m.current=t.dataKey)},onMouseOver:function(e,t){if((0,M.$Q)(e)){var r=t.dataKey;m.current=r,y(r)}},onMouseOut:A}),areaProps:function(e){var t=x&&f!==e.name,r=(0,i.Cl)((0,i.Cl)({},h),{onClick:v,onMouseOver:k,onMouseOut:A});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},p))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[247],{37980:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var i=r(31635),o=r(74848),a=r(40295),s=r.n(a),n=r(84124),l=r(57158),c=r(44653),d=r(50300),h=r(97018),p=r(69107),u=r(77984),f=r(91706),y=r(23495),x=r(78687),m=r(59396),v=r(86344),k=r(2412),A=r(46100),g=r(1101),C=r(99274),j=r(52837),P=r(14791),D=r(6585),N=r(45849),b=r(88498),L=r(11072);function O({offset:e,id:t,colors:r,fillOpacity:i}){const a=(0,g.xd)();return(0,o.jsxs)("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[0],a),stopOpacity:i??.2}),(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[1],a),stopOpacity:i??.2})]})}function S({data:e,series:t}){return 1===t.length?function({data:e,dataKey:t}){const r=Math.max(...e.map((e=>e[t]))),i=Math.min(...e.map((e=>e[t])));return r<=0?0:i>=0?1:r/(r-i)}({data:e,dataKey:t[0].name}):.5}O.displayName="@mantine/charts/AreaSplit";var w=r(89133);function $(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withDots:!0,withTooltip:!0,connectNulls:!0,strokeWidth:2,tooltipAnimationDuration:0,fillOpacity:.2,tickLine:"y",strokeDasharray:"5 5",curveType:"monotone",gridAxis:"x",type:"default",splitColors:["green.7","red.7"],orientation:"horizontal"},z=(0,m.V)(((e,{textColor:t,gridColor:r})=>({root:{"--chart-text-color":t?(0,v.r)(t,e):void 0,"--chart-grid-color":r?(0,v.r)(r,e):void 0}}))),K=(0,k.P9)(((e,t)=>{const r=(0,A.Y)("AreaChart",I,e),{classNames:i,className:s,style:m,styles:k,unstyled:K,vars:M,data:W,series:_,withGradient:F,dataKey:Q,withXAxis:Y,withYAxis:G,curveType:T,gridProps:R,withDots:X,tickLine:E,strokeDasharray:H,gridAxis:J,unit:B,yAxisProps:V,xAxisProps:Z,dotProps:q,activeDotProps:U,strokeWidth:ee,tooltipAnimationDuration:te,type:re,legendProps:ie,tooltipProps:oe,withLegend:ae,withTooltip:se,areaChartProps:ne,fillOpacity:le,splitColors:ce,splitOffset:de,connectNulls:he,onMouseLeave:pe,orientation:ue,referenceLines:fe,dir:ye,valueFormatter:xe,children:me,areaProps:ve,xAxisLabel:ke,yAxisLabel:Ae,withRightYAxis:ge,rightYAxisLabel:Ce,rightYAxisProps:je,withPointLabels:Pe,gridColor:De,textColor:Ne,...be}=r,Le=(0,g.xd)(),Oe=(0,a.useId)(),Se=`${Oe}-split`,we="none"!==J&&("x"===E||"xy"===E),$e="none"!==J&&("y"===E||"xy"===E),Ie=(te||0)>0,ze="boolean"==typeof F?F:"default"===re,Ke="stacked"===re||"percent"===re,[Me,We]=(0,a.useState)(null),_e=null!==Me,{resolvedClassNames:Fe,resolvedStyles:Qe}=(0,C.Y)({classNames:i,styles:k,props:r}),Ye=(0,j.I)({name:"AreaChart",classes:w.A,props:r,className:s,style:m,classNames:i,styles:k,unstyled:K,vars:M,varsResolver:z}),Ge=_.map((e=>{const t=(0,v.r)(e.color,Le),r=_e&&Me!==e.name;return(0,a.createElement)(n.G,{...Ye("area"),activeDot:{fill:Le.white,stroke:t,strokeWidth:2,r:4,...U},dot:{fill:t,fillOpacity:r?0:1,strokeWidth:2,r:4,...q},key:e.name,name:e.name,type:T,dataKey:e.name,fill:"none",strokeWidth:ee,stroke:"none",isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack-dots":void 0,yAxisId:e.yAxisId||"left",..."function"==typeof ve?ve(e):ve})})),Te=_.map((e=>{const t=`${Oe}-${e.color.replace(/[^a-zA-Z0-9]/g,"")}`,r=(0,v.r)(e.color,Le),i=_e&&Me!==e.name;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("defs",{children:(0,o.jsx)(L.s,{color:r,withGradient:ze,id:t,fillOpacity:le})}),(0,o.jsx)(n.G,{...Ye("area"),activeDot:!1,dot:!1,name:e.name,type:T,dataKey:e.name,fill:"split"===re?`url(#${Se})`:`url(#${t})`,strokeWidth:ee,stroke:r,isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack":void 0,fillOpacity:i?0:1,strokeOpacity:i?.5:1,strokeDasharray:e.strokeDasharray,yAxisId:e.yAxisId||"left",label:Pe?(0,o.jsx)(b.x,{valueFormatter:xe}):void 0,..."function"==typeof ve?ve(e):ve})]},e.name)})),Re=fe?.map(((e,t)=>{const r=(0,v.r)(e.color,Le);return(0,o.jsx)(l.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ye("referenceLine")},t)})),Xe="percent"===re?$:xe,Ee={axisLine:!1,..."vertical"===ue?{dataKey:Q,type:"category"}:{type:"number"},tickLine:!!$e&&{stroke:"currentColor"},allowDecimals:!0,unit:B,tickFormatter:"vertical"===ue?void 0:Xe,...Ye("axis")};return(0,o.jsx)(P.a,{ref:t,...Ye("root"),onMouseLeave:e=>{We(null),pe?.(e)},dir:ye||"ltr",...be,children:(0,o.jsx)(c.u,{...Ye("container"),children:(0,o.jsxs)(d.Q,{data:W,stackOffset:"percent"===re?"expand":void 0,layout:ue,margin:{bottom:ke?30:void 0,left:Ae?10:void 0,right:Ae?5:void 0},...ne,children:[Re,ae&&(0,o.jsx)(h.s,{verticalAlign:"top",content:e=>(0,o.jsx)(D._,{payload:e.payload,onHighlight:We,legendPosition:ie?.verticalAlign||"top",classNames:Fe,styles:Qe,series:_}),...ie}),(0,o.jsx)(p.d,{strokeDasharray:H,vertical:"y"===J||"xy"===J,horizontal:"x"===J||"xy"===J,...Ye("grid"),...R}),(0,o.jsxs)(u.W,{hide:!Y,..."vertical"===ue?{type:"number"}:{dataKey:Q},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!we&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ue?Xe:void 0,...Ye("axis"),...Z,children:[ke&&(0,o.jsx)(f.J,{position:"insideBottom",offset:-20,fontSize:12,...Ye("axisLabel"),children:ke}),Z?.children]}),(0,o.jsxs)(y.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!G,...Ee,...V,children:[Ae&&(0,o.jsx)(f.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ae}),V?.children]}),(0,o.jsxs)(y.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!ge,...Ee,...je,children:[Ce&&(0,o.jsx)(f.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ce}),V?.children]}),se&&(0,o.jsx)(x.m,{animationDuration:te,isAnimationActive:Ie,position:"vertical"===ue?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:H},content:({label:e,payload:t})=>(0,o.jsx)(N.I,{label:e,payload:t,unit:B,classNames:Fe,styles:Qe,series:_,valueFormatter:xe}),...oe}),"split"===re&&(0,o.jsx)("defs",{children:(0,o.jsx)(O,{colors:ce,id:Se,offset:de??S({data:W,series:_}),fillOpacity:le})}),Te,X&&Ge,me]})})})}));K.classes=w.A,K.displayName="@mantine/charts/AreaChart",r(19319);var M=r(83837),W=r(57479);const _=function(e){var t=e.setProps,r=e.loading_state,o=(e.clickData,e.hoverData,e.clickSeriesName,e.hoverSeriesName,e.series),n=e.highlightHover,l=void 0!==n&&n,c=e.areaChartProps,d=e.activeDotProps,h=e.areaProps,p=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","clickSeriesName","hoverSeriesName","series","highlightHover","areaChartProps","activeDotProps","areaProps"]),u=(0,a.useState)(null),f=u[0],y=u[1],x=l&&null!==f,m=(0,a.useRef)(null),v=function(e){(0,M.$Q)(e)&&(m.current=e.name)},k=function(e){if((0,M.$Q)(e)){var t=e.name;m.current=t,y(t)}},A=function(){y(null)},g=(0,i.Cl)((0,i.Cl)({},c),{onClick:function(e){(0,M.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,M.X$)(e)}),m.current=null},onMouseOver:function(e){(0,M.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,M.X$)(e)}),m.current=null}});return s().createElement(K,(0,i.Cl)({"data-dash-is-loading":(0,W.A_)(r)||void 0,areaChartProps:g,series:o,activeDotProps:(0,i.Cl)((0,i.Cl)({},d),{onClick:function(e,t){(0,M.$Q)(e)&&(m.current=t.dataKey)},onMouseOver:function(e,t){if((0,M.$Q)(e)){var r=t.dataKey;m.current=r,y(r)}},onMouseOut:A}),areaProps:function(e){var t=x&&f!==e.name,r=(0,i.Cl)((0,i.Cl)({},h),{onClick:v,onMouseOver:k,onMouseOut:A});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},p))}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[811],{87758:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Y});var i=r(31635),a=r(74848),o=r(40295),l=r.n(o),s=r(91222),n=r(72050),c=r(5614),d=r(57158),h=r(44653),p=r(28327),u=r(77984),f=r(23495),m=r(15894),x=(0,p.gu)({chartName:"BarChart",GraphicalChild:s.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:u.W},{axisType:"yAxis",AxisComp:f.h}],formatAxisMap:m.pr}),y=r(97018),v=r(91706),k=r(69107),g=r(78687),A=r(59396),b=r(86344),C=r(2412),P=r(46100),L=r(1101),S=r(99274),j=r(52837),w=r(14791),N=r(6585),D=r(45849),z=r(89133);function B(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withTooltip:!0,tooltipAnimationDuration:0,fillOpacity:1,tickLine:"y",strokeDasharray:"5 5",gridAxis:"x",type:"default"},O=(0,A.V)(((e,{textColor:t,gridColor:r,cursorFill:i,barLabelColor:a})=>({root:{"--chart-text-color":t?(0,b.r)(t,e):void 0,"--chart-grid-color":r?(0,b.r)(r,e):void 0,"--chart-cursor-fill":i?(0,b.r)(i,e):void 0,"--chart-bar-label-color":a?(0,b.r)(a,e):void 0}}))),T=(0,C.P9)(((e,t)=>{const r=(0,P.Y)("BarChart",I,e),{classNames:i,className:l,style:p,styles:m,unstyled:A,vars:C,data:T,withLegend:$,legendProps:_,series:Y,onMouseLeave:F,dataKey:M,withTooltip:E,withXAxis:W,withYAxis:K,gridAxis:Q,tickLine:R,xAxisProps:X,yAxisProps:H,unit:J,tooltipAnimationDuration:G,strokeDasharray:V,gridProps:Z,tooltipProps:q,referenceLines:U,fillOpacity:ee,barChartProps:te,type:re,orientation:ie,dir:ae,valueFormatter:oe,children:le,barProps:se,xAxisLabel:ne,yAxisLabel:ce,withBarValueLabel:de,valueLabelProps:he,withRightYAxis:pe,rightYAxisLabel:ue,rightYAxisProps:fe,minBarSize:me,maxBarWidth:xe,mod:ye,getBarColor:ve,gridColor:ke,textColor:ge,...Ae}=r,be=(0,L.xd)(),Ce="none"!==Q&&("x"===R||"xy"===R),Pe="none"!==Q&&("y"===R||"xy"===R),[Le,Se]=(0,o.useState)(null),je=null!==Le,we="stacked"===re||"percent"===re,Ne="percent"===re?B:oe,{resolvedClassNames:De,resolvedStyles:ze}=(0,S.Y)({classNames:i,styles:m,props:r}),Be="waterfall"===re?function(e,t){let r=0,i=0;return e.map((e=>{if(e.standalone)for(const r in e)"number"==typeof e[r]&&r!==t&&(e[r]=[0,e[r]]);else for(const a in e)"number"==typeof e[a]&&a!==t&&(i+=e[a],e[a]=[r,i],r=i);return e}))}(T,M):T,Ie=(0,j.I)({name:"BarChart",classes:z.A,props:r,className:l,style:p,classNames:i,styles:m,unstyled:A,vars:C,varsResolver:O}),Oe=Y.map((e=>{const t=(0,b.r)(e.color,be),r=je&&Le!==e.name;return(0,o.createElement)(s.y,{...Ie("bar"),key:e.name,name:e.name,dataKey:e.name,fill:t,stroke:t,isAnimationActive:!1,fillOpacity:r?.1:ee,strokeOpacity:r?.2:0,stackId:we?"stack":e.stackId||void 0,yAxisId:e.yAxisId||"left",minPointSize:me,..."function"==typeof se?se(e):se},Be.map(((r,i)=>{const o=r.color?(0,b.r)(r.color,be):"function"==typeof ve?(0,b.r)(ve(r[e.name],e),be):function(e,t){return"function"==typeof e?e(t).fill:e?.fill}(se,e)||t;return(0,a.jsx)(n.f,{fill:o},`cell-${i}`)})),de&&(0,a.jsx)(c.Z,{position:"vertical"===ie?"right":"top",fontSize:12,fill:"var(--chart-bar-label-color, var(--mantine-color-dimmed))",formatter:Ne,..."function"==typeof he?he(e):he}))})),Te=U?.map(((e,t)=>{const r=(0,b.r)(e.color,be);return(0,a.jsx)(d.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ie("referenceLine")},t)})),$e={axisLine:!1,..."vertical"===ie?{dataKey:M,type:"category"}:{type:"number"},tickLine:!!Pe&&{stroke:"currentColor"},allowDecimals:!0,unit:J,tickFormatter:"vertical"===ie?void 0:Ne,...Ie("axis")};return(0,a.jsx)(w.a,{ref:t,...Ie("root"),onMouseLeave:e=>{Se(null),F?.(e)},dir:ae||"ltr",mod:[{orientation:ie},ye],...Ae,children:(0,a.jsx)(h.u,{...Ie("container"),children:(0,a.jsxs)(x,{data:Be,stackOffset:"percent"===re?"expand":void 0,layout:ie,maxBarSize:xe,margin:{bottom:ne?30:void 0,left:ce?10:void 0,right:ce?5:void 0},...te,children:[$&&(0,a.jsx)(y.s,{verticalAlign:"top",content:e=>(0,a.jsx)(N._,{payload:e.payload,onHighlight:Se,legendPosition:_?.verticalAlign||"top",classNames:De,styles:ze,series:Y,showColor:"waterfall"!==re}),..._}),(0,a.jsxs)(u.W,{hide:!W,..."vertical"===ie?{type:"number"}:{dataKey:M},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!Ce&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ie?Ne:void 0,...Ie("axis"),...X,children:[ne&&(0,a.jsx)(v.J,{position:"insideBottom",offset:-20,fontSize:12,...Ie("axisLabel"),children:ne}),X?.children]}),(0,a.jsxs)(f.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!K,...$e,...H,children:[ce&&(0,a.jsx)(v.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ce}),H?.children]}),(0,a.jsxs)(f.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!pe,...$e,...fe,children:[ue&&(0,a.jsx)(v.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ue}),H?.children]}),(0,a.jsx)(k.d,{strokeDasharray:V,vertical:"y"===Q||"xy"===Q,horizontal:"x"===Q||"xy"===Q,...Ie("grid"),...Z}),E&&(0,a.jsx)(g.m,{animationDuration:G,isAnimationActive:0!==G,position:"vertical"===ie?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:V,fill:"var(--chart-cursor-fill)"},content:({label:e,payload:t})=>(0,a.jsx)(D.I,{label:e,payload:t,type:"waterfall"===re?"scatter":void 0,unit:J,classNames:De,styles:ze,series:Y,valueFormatter:oe}),...q}),Oe,Te,le]})})})}));T.displayName="@mantine/charts/BarChart",T.classes=z.A;var $=r(83837),_=r(57479);const Y=function(e){var t=e.setProps,r=e.loading_state,a=(e.clickData,e.hoverData,e.barChartProps),s=(e.clickSeriesName,e.hoverSeriesName,e.barProps),n=e.highlightHover,c=void 0!==n&&n,d=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","barChartProps","clickSeriesName","hoverSeriesName","barProps","highlightHover"]),h=(0,o.useState)(null),p=h[0],u=h[1],f=c&&null!==p,m=(0,o.useRef)(null),x=function(e){(0,$.$Q)(e)&&(m.current=e.tooltipPayload[0].name)},y=function(e){if((0,$.$Q)(e)){var t=e.tooltipPayload[0].name;m.current=t,u(t)}},v=function(){u(null)},k=(0,i.Cl)((0,i.Cl)({},a),{onClick:function(e){(0,$.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,$.X$)(e)}),m.current=null},onMouseOver:function(e){(0,$.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,$.X$)(e)}),m.current=null}});return l().createElement(T,(0,i.Cl)({"data-dash-is-loading":(0,_.A_)(r)||void 0,barChartProps:k,barProps:function(e){var t=f&&p!==e.name,r=(0,i.Cl)((0,i.Cl)({},s),{onClick:x,onMouseOver:y,onMouseOut:v});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},d))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[811],{87758:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Y});var i=r(31635),a=r(74848),o=r(40295),l=r.n(o),s=r(91222),n=r(49669),c=r(5614),d=r(57158),h=r(44653),p=r(28327),u=r(77984),f=r(23495),m=r(15894),x=(0,p.gu)({chartName:"BarChart",GraphicalChild:s.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:u.W},{axisType:"yAxis",AxisComp:f.h}],formatAxisMap:m.pr}),y=r(97018),v=r(91706),k=r(69107),g=r(78687),A=r(59396),b=r(86344),C=r(2412),P=r(46100),L=r(1101),S=r(99274),j=r(52837),w=r(14791),N=r(6585),D=r(45849),z=r(89133);function B(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withTooltip:!0,tooltipAnimationDuration:0,fillOpacity:1,tickLine:"y",strokeDasharray:"5 5",gridAxis:"x",type:"default"},O=(0,A.V)(((e,{textColor:t,gridColor:r,cursorFill:i,barLabelColor:a})=>({root:{"--chart-text-color":t?(0,b.r)(t,e):void 0,"--chart-grid-color":r?(0,b.r)(r,e):void 0,"--chart-cursor-fill":i?(0,b.r)(i,e):void 0,"--chart-bar-label-color":a?(0,b.r)(a,e):void 0}}))),T=(0,C.P9)(((e,t)=>{const r=(0,P.Y)("BarChart",I,e),{classNames:i,className:l,style:p,styles:m,unstyled:A,vars:C,data:T,withLegend:$,legendProps:_,series:Y,onMouseLeave:F,dataKey:M,withTooltip:E,withXAxis:W,withYAxis:K,gridAxis:Q,tickLine:R,xAxisProps:X,yAxisProps:H,unit:J,tooltipAnimationDuration:G,strokeDasharray:V,gridProps:Z,tooltipProps:q,referenceLines:U,fillOpacity:ee,barChartProps:te,type:re,orientation:ie,dir:ae,valueFormatter:oe,children:le,barProps:se,xAxisLabel:ne,yAxisLabel:ce,withBarValueLabel:de,valueLabelProps:he,withRightYAxis:pe,rightYAxisLabel:ue,rightYAxisProps:fe,minBarSize:me,maxBarWidth:xe,mod:ye,getBarColor:ve,gridColor:ke,textColor:ge,...Ae}=r,be=(0,L.xd)(),Ce="none"!==Q&&("x"===R||"xy"===R),Pe="none"!==Q&&("y"===R||"xy"===R),[Le,Se]=(0,o.useState)(null),je=null!==Le,we="stacked"===re||"percent"===re,Ne="percent"===re?B:oe,{resolvedClassNames:De,resolvedStyles:ze}=(0,S.Y)({classNames:i,styles:m,props:r}),Be="waterfall"===re?function(e,t){let r=0,i=0;return e.map((e=>{if(e.standalone)for(const r in e)"number"==typeof e[r]&&r!==t&&(e[r]=[0,e[r]]);else for(const a in e)"number"==typeof e[a]&&a!==t&&(i+=e[a],e[a]=[r,i],r=i);return e}))}(T,M):T,Ie=(0,j.I)({name:"BarChart",classes:z.A,props:r,className:l,style:p,classNames:i,styles:m,unstyled:A,vars:C,varsResolver:O}),Oe=Y.map((e=>{const t=(0,b.r)(e.color,be),r=je&&Le!==e.name;return(0,o.createElement)(s.y,{...Ie("bar"),key:e.name,name:e.name,dataKey:e.name,fill:t,stroke:t,isAnimationActive:!1,fillOpacity:r?.1:ee,strokeOpacity:r?.2:0,stackId:we?"stack":e.stackId||void 0,yAxisId:e.yAxisId||"left",minPointSize:me,..."function"==typeof se?se(e):se},Be.map(((r,i)=>{const o=r.color?(0,b.r)(r.color,be):"function"==typeof ve?(0,b.r)(ve(r[e.name],e),be):function(e,t){return"function"==typeof e?e(t).fill:e?.fill}(se,e)||t;return(0,a.jsx)(n.f,{fill:o},`cell-${i}`)})),de&&(0,a.jsx)(c.Z,{position:"vertical"===ie?"right":"top",fontSize:12,fill:"var(--chart-bar-label-color, var(--mantine-color-dimmed))",formatter:Ne,..."function"==typeof he?he(e):he}))})),Te=U?.map(((e,t)=>{const r=(0,b.r)(e.color,be);return(0,a.jsx)(d.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ie("referenceLine")},t)})),$e={axisLine:!1,..."vertical"===ie?{dataKey:M,type:"category"}:{type:"number"},tickLine:!!Pe&&{stroke:"currentColor"},allowDecimals:!0,unit:J,tickFormatter:"vertical"===ie?void 0:Ne,...Ie("axis")};return(0,a.jsx)(w.a,{ref:t,...Ie("root"),onMouseLeave:e=>{Se(null),F?.(e)},dir:ae||"ltr",mod:[{orientation:ie},ye],...Ae,children:(0,a.jsx)(h.u,{...Ie("container"),children:(0,a.jsxs)(x,{data:Be,stackOffset:"percent"===re?"expand":void 0,layout:ie,maxBarSize:xe,margin:{bottom:ne?30:void 0,left:ce?10:void 0,right:ce?5:void 0},...te,children:[$&&(0,a.jsx)(y.s,{verticalAlign:"top",content:e=>(0,a.jsx)(N._,{payload:e.payload,onHighlight:Se,legendPosition:_?.verticalAlign||"top",classNames:De,styles:ze,series:Y,showColor:"waterfall"!==re}),..._}),(0,a.jsxs)(u.W,{hide:!W,..."vertical"===ie?{type:"number"}:{dataKey:M},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!Ce&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ie?Ne:void 0,...Ie("axis"),...X,children:[ne&&(0,a.jsx)(v.J,{position:"insideBottom",offset:-20,fontSize:12,...Ie("axisLabel"),children:ne}),X?.children]}),(0,a.jsxs)(f.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!K,...$e,...H,children:[ce&&(0,a.jsx)(v.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ce}),H?.children]}),(0,a.jsxs)(f.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!pe,...$e,...fe,children:[ue&&(0,a.jsx)(v.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ue}),H?.children]}),(0,a.jsx)(k.d,{strokeDasharray:V,vertical:"y"===Q||"xy"===Q,horizontal:"x"===Q||"xy"===Q,...Ie("grid"),...Z}),E&&(0,a.jsx)(g.m,{animationDuration:G,isAnimationActive:0!==G,position:"vertical"===ie?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:V,fill:"var(--chart-cursor-fill)"},content:({label:e,payload:t})=>(0,a.jsx)(D.I,{label:e,payload:t,type:"waterfall"===re?"scatter":void 0,unit:J,classNames:De,styles:ze,series:Y,valueFormatter:oe}),...q}),Oe,Te,le]})})})}));T.displayName="@mantine/charts/BarChart",T.classes=z.A,r(19319);var $=r(83837),_=r(57479);const Y=function(e){var t=e.setProps,r=e.loading_state,a=(e.clickData,e.hoverData,e.barChartProps),s=(e.clickSeriesName,e.hoverSeriesName,e.barProps),n=e.highlightHover,c=void 0!==n&&n,d=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","barChartProps","clickSeriesName","hoverSeriesName","barProps","highlightHover"]),h=(0,o.useState)(null),p=h[0],u=h[1],f=c&&null!==p,m=(0,o.useRef)(null),x=function(e){(0,$.$Q)(e)&&(m.current=e.tooltipPayload[0].name)},y=function(e){if((0,$.$Q)(e)){var t=e.tooltipPayload[0].name;m.current=t,u(t)}},v=function(){u(null)},k=(0,i.Cl)((0,i.Cl)({},a),{onClick:function(e){(0,$.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,$.X$)(e)}),m.current=null},onMouseOver:function(e){(0,$.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,$.X$)(e)}),m.current=null}});return l().createElement(T,(0,i.Cl)({"data-dash-is-loading":(0,_.A_)(r)||void 0,barChartProps:k,barProps:function(e){var t=f&&p!==e.name,r=(0,i.Cl)((0,i.Cl)({},s),{onClick:x,onMouseOver:y,onMouseOut:v});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},d))}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[0],{7626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>N});var r=e(31635),s=e(74848),o=e(44653),i=e(59853),n=e(77984),l=e(23495),c=e(51658),d=e(78687),u=e(34296),h=e(64999),p=e(17826),m=e(59396),v=e(86344),y=e(2412),x=e(46100),f=e(1101),k=e(52837),C=e(14791),b=e(89133);function g(t,a){const e=t.map((t=>t[a]));return[Math.min(...e),Math.max(...e)]}function j({active:t,payload:a,getStyles:e,dataKey:r,valueFormatter:o}){if(t&&a&&a.length){const t=a[0]&&a[0].payload;return(0,s.jsx)("div",{...e("tooltip"),children:(0,s.jsxs)(h.Y,{justify:"space-between",children:[(0,s.jsx)(p.E,{fz:"sm",children:t[r.x]}),(0,s.jsx)(p.E,{fz:"sm",children:o?o(t[r.z]):t[r.z]})]})})}return null}const z={color:"blue.6",withTooltip:!0},P=(0,m.V)(((t,{textColor:a,gridColor:e})=>({root:{"--chart-text-color":a?(0,v.r)(a,t):void 0,"--chart-grid-color":e?(0,v.r)(e,t):void 0}}))),A=(0,y.P9)(((t,a)=>{const e=(0,x.Y)("BubbleChart",z,t),{classNames:r,className:h,style:p,styles:m,unstyled:y,vars:A,data:D,xAxisProps:K,yAxisProps:_,zAxisProps:w,tooltipProps:N,scatterProps:S,color:B,label:E,withTooltip:F,dataKey:L,range:M,valueFormatter:T,...Q}=e,R=(0,f.xd)(),W=(0,k.I)({name:"BubbleChart",classes:b.A,props:e,className:h,style:p,classNames:r,styles:m,unstyled:y,vars:A,varsResolver:P}),Y=E?void 0:{width:0};return(0,s.jsx)(C.a,{ref:a,...W("root"),...Q,children:(0,s.jsx)(o.u,{children:(0,s.jsxs)(i.t,{children:[(0,s.jsx)(n.W,{type:"category",dataKey:L.x,interval:0,tick:{fontSize:12,fill:"currentColor"},tickLine:{transform:"translate(0, -6)",stroke:"currentColor"},stroke:"currentColor",...W("axis"),...K}),(0,s.jsx)(l.h,{type:"number",dataKey:L.y,height:10,...Y,tick:!1,tickLine:!1,axisLine:!1,label:{value:E,position:"insideRight",fontSize:12,fill:"currentColor"},...W("axis"),..._}),(0,s.jsx)(c.K,{type:"number",dataKey:L.z,domain:g(D,L.z),range:M,...w}),F&&(0,s.jsx)(d.m,{animationDuration:100,isAnimationActive:!1,cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:"3 3"},content:t=>(0,s.jsx)(j,{dataKey:L,active:t.active,payload:t.payload,getStyles:W,valueFormatter:T}),...N}),(0,s.jsx)(u.X,{data:D,fill:(0,v.r)(B,R),isAnimationActive:!1,...S})]})})})}));A.displayName="@mantine/charts/BubbleChart",A.classes=b.A;var D=e(40295),K=e.n(D),_=e(83837),w=e(57479);const N=function(t){var a=t.setProps,e=t.loading_state,s=(t.clickData,t.hoverData,t.scatterProps),o=(0,r.Tt)(t,["setProps","loading_state","clickData","hoverData","scatterProps"]),i=(0,r.Cl)((0,r.Cl)({},s),{onClick:function(t){(0,_.$Q)(t)&&a({clickData:(0,_.zD)(t)})},onMouseOver:function(t){(0,_.$Q)(t)&&a({hoverData:(0,_.zD)(t)})}});return K().createElement(A,(0,r.Cl)({"data-dash-is-loading":(0,w.A_)(e)||void 0,scatterProps:i},o))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[0],{7626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>N});var r=e(31635),s=e(74848),o=e(44653),i=e(59853),n=e(77984),l=e(23495),c=e(51658),d=e(78687),u=e(34296),h=e(64999),p=e(17826),m=e(59396),v=e(86344),y=e(2412),x=e(46100),f=e(1101),k=e(52837),C=e(14791),b=e(89133);function g(t,a){const e=t.map((t=>t[a]));return[Math.min(...e),Math.max(...e)]}function j({active:t,payload:a,getStyles:e,dataKey:r,valueFormatter:o}){if(t&&a&&a.length){const t=a[0]&&a[0].payload;return(0,s.jsx)("div",{...e("tooltip"),children:(0,s.jsxs)(h.Y,{justify:"space-between",children:[(0,s.jsx)(p.E,{fz:"sm",children:t[r.x]}),(0,s.jsx)(p.E,{fz:"sm",children:o?o(t[r.z]):t[r.z]})]})})}return null}const z={color:"blue.6",withTooltip:!0},P=(0,m.V)(((t,{textColor:a,gridColor:e})=>({root:{"--chart-text-color":a?(0,v.r)(a,t):void 0,"--chart-grid-color":e?(0,v.r)(e,t):void 0}}))),A=(0,y.P9)(((t,a)=>{const e=(0,x.Y)("BubbleChart",z,t),{classNames:r,className:h,style:p,styles:m,unstyled:y,vars:A,data:D,xAxisProps:K,yAxisProps:_,zAxisProps:w,tooltipProps:N,scatterProps:S,color:B,label:E,withTooltip:F,dataKey:L,range:M,valueFormatter:T,...Q}=e,R=(0,f.xd)(),W=(0,k.I)({name:"BubbleChart",classes:b.A,props:e,className:h,style:p,classNames:r,styles:m,unstyled:y,vars:A,varsResolver:P}),Y=E?void 0:{width:0};return(0,s.jsx)(C.a,{ref:a,...W("root"),...Q,children:(0,s.jsx)(o.u,{children:(0,s.jsxs)(i.t,{children:[(0,s.jsx)(n.W,{type:"category",dataKey:L.x,interval:0,tick:{fontSize:12,fill:"currentColor"},tickLine:{transform:"translate(0, -6)",stroke:"currentColor"},stroke:"currentColor",...W("axis"),...K}),(0,s.jsx)(l.h,{type:"number",dataKey:L.y,height:10,...Y,tick:!1,tickLine:!1,axisLine:!1,label:{value:E,position:"insideRight",fontSize:12,fill:"currentColor"},...W("axis"),..._}),(0,s.jsx)(c.K,{type:"number",dataKey:L.z,domain:g(D,L.z),range:M,...w}),F&&(0,s.jsx)(d.m,{animationDuration:100,isAnimationActive:!1,cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:"3 3"},content:t=>(0,s.jsx)(j,{dataKey:L,active:t.active,payload:t.payload,getStyles:W,valueFormatter:T}),...N}),(0,s.jsx)(u.X,{data:D,fill:(0,v.r)(B,R),isAnimationActive:!1,...S})]})})})}));A.displayName="@mantine/charts/BubbleChart",A.classes=b.A,e(19319);var D=e(40295),K=e.n(D),_=e(83837),w=e(57479);const N=function(t){var a=t.setProps,e=t.loading_state,s=(t.clickData,t.hoverData,t.scatterProps),o=(0,r.Tt)(t,["setProps","loading_state","clickData","hoverData","scatterProps"]),i=(0,r.Cl)((0,r.Cl)({},s),{onClick:function(t){(0,_.$Q)(t)&&a({clickData:(0,_.zD)(t)})},onMouseOver:function(t){(0,_.$Q)(t)&&a({hoverData:(0,_.zD)(t)})}});return K().createElement(A,(0,r.Cl)({"data-dash-is-loading":(0,w.A_)(e)||void 0,scatterProps:i},o))}}}]);