@secondstaxorg/sscomp 2.0.12 → 2.0.13

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.es.js CHANGED
@@ -5851,9 +5851,6 @@ function Qt(e){return e+.5|0}const Ut=(e,t,i)=>Math.max(Math.min(e,i),t);functio
5851
5851
  .chart-circle canvas{
5852
5852
  height:300px;
5853
5853
  }
5854
- .chart-view-area{
5855
- background:red;
5856
- }
5857
5854
  .labels-area{
5858
5855
  margin-top: 32px;
5859
5856
  display: flex;
@@ -5876,7 +5873,7 @@ function Qt(e){return e+.5|0}const Ut=(e,t,i)=>Math.max(Math.min(e,i),t);functio
5876
5873
  border-radius: 100%;
5877
5874
  background: green;
5878
5875
  }
5879
- `,BA="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DoughnutChart\\DoughnutChart.tsx";ea.register(...jl);const LA=e=>{const{height:i,labels:n,datasets:o,showLabels:r,labelArrangement:a}=e,l={labels:n,datasets:o};let c={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:r&&"horizontal"==a,position:"bottom",labels:{padding:40,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},cutout:"85%"},d=0;return t.createElement(t.Fragment,null,t.createElement(IA,{style:{height:i||"auto"},__self:void 0,__source:{fileName:BA,lineNumber:52}},t.createElement("div",{className:"chart-view-area",__self:void 0,__source:{fileName:BA,lineNumber:53}},t.createElement("div",{className:""+(r&&"side"==a?"chart-circle":""),__self:void 0,__source:{fileName:BA,lineNumber:54}},t.createElement($l,{data:l,options:c,__self:void 0,__source:{fileName:BA,lineNumber:55}})),r&&"side"==a&&t.createElement("div",{className:"chart-side-labels",__self:void 0,__source:{fileName:BA,lineNumber:58}},"this is on the side")),r&&"vertical"==a&&t.createElement("div",{className:"labels-area",__self:void 0,__source:{fileName:BA,lineNumber:64}},n.map(((e,i)=>(o[0].backgroundColor&&o[0].backgroundColor[d]?d++:d=1,t.createElement("div",{key:i,className:"label-item",__self:void 0,__source:{fileName:BA,lineNumber:72}},t.createElement("div",{className:"item-name paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:73}},t.createElement("span",{className:"dot",style:{background:o[0].backgroundColor&&o[0].backgroundColor[d-1]?o[0].backgroundColor[d-1]:s["primary-500"]},__self:void 0,__source:{fileName:BA,lineNumber:74}}),t.createElement("span",{className:"label paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:76}},e)),t.createElement("span",{className:"paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:78}},o[0].data[i]))))))))},FA=a.div`
5876
+ `,BA="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DoughnutChart\\DoughnutChart.tsx";ea.register(...jl);const LA=e=>{const{height:i,labels:n,datasets:o,showLabels:r,labelArrangement:a}=e,l={labels:n,datasets:o};let c={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:r&&"horizontal"==a,position:"bottom",labels:{padding:40,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},cutout:"85%"},d=0;return t.createElement(t.Fragment,null,t.createElement(IA,{style:{height:i||"auto"},__self:void 0,__source:{fileName:BA,lineNumber:52}},t.createElement("div",{className:""+(r&&"side"==a?"chart-circle":""),__self:void 0,__source:{fileName:BA,lineNumber:53}},t.createElement($l,{data:l,options:c,__self:void 0,__source:{fileName:BA,lineNumber:54}})),r&&"vertical"==a&&t.createElement("div",{className:"labels-area",__self:void 0,__source:{fileName:BA,lineNumber:62}},n.map(((e,i)=>(o[0].backgroundColor&&o[0].backgroundColor[d]?d++:d=1,t.createElement("div",{key:i,className:"label-item",__self:void 0,__source:{fileName:BA,lineNumber:70}},t.createElement("div",{className:"item-name paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:71}},t.createElement("span",{className:"dot",style:{background:o[0].backgroundColor&&o[0].backgroundColor[d-1]?o[0].backgroundColor[d-1]:s["primary-500"]},__self:void 0,__source:{fileName:BA,lineNumber:72}}),t.createElement("span",{className:"label paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:74}},e)),t.createElement("span",{className:"paragraph1Medium",__self:void 0,__source:{fileName:BA,lineNumber:76}},o[0].data[i]))))))))},FA=a.div`
5880
5877
  display: flex;
5881
5878
  flex-direction: column;
5882
5879
  gap: 8px;