@secondstaxorg/sscomp 1.8.71 → 1.8.72

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
@@ -4738,7 +4738,7 @@ PERFORMANCE OF THIS SOFTWARE.
4738
4738
  gap: 4px;
4739
4739
  align-items: center;
4740
4740
  }
4741
- `,tm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TablePrimary\\index.tsx",im=e=>{const{thead:n,children:o,tbody:l,clickedRow:a,showPagination:s,itemsPerPage:c,paginatedItems:d}=e,[u,f]=i([]),[b,m]=i(void 0),[h,p]=i("");return r((()=>{m(l)}),[l]),r((()=>{s||f(l)}),[s,b]),t.createElement(t.Fragment,null,t.createElement($b,{__self:void 0,__source:{fileName:tm,lineNumber:51}},t.createElement(em,{__self:void 0,__source:{fileName:tm,lineNumber:52}},t.createElement("thead",{__self:void 0,__source:{fileName:tm,lineNumber:53}},t.createElement("tr",{className:"rounded-row paragraph2Medium",__self:void 0,__source:{fileName:tm,lineNumber:54}},n.map(((e,i)=>t.createElement("th",{key:i,onClick:()=>{!function(e){if(!l||"string"==typeof l[0][e])if(e!==h){if(e===h);else if(p(e),l&&l.length>0){const t=[...l];t.sort(((t,i)=>t[e].localeCompare(i[e]))),f(t)}}else if(l&&l.length>0){const t=[...l];t.sort(((t,i)=>t[e].localeCompare(i[e])));let i=t.reverse();f(i),p("")}}(e.dataKey)},__self:void 0,__source:{fileName:tm,lineNumber:56}},e.label))))),t.createElement("tbody",{className:"rounded-row paragraph2Regular",__self:void 0,__source:{fileName:tm,lineNumber:62}},o,!o&&u&&u.map(((e,i)=>t.createElement("tr",{key:i,className:a&&"clickable",onClick:()=>{a&&a(e)},__self:void 0,__source:{fileName:tm,lineNumber:65}},n.map(((i,r)=>t.createElement("td",{key:r,className:r==n.length-1&&a?"with-arrow":"",__self:void 0,__source:{fileName:tm,lineNumber:70}},t.createElement("span",{__self:void 0,__source:{fileName:tm,lineNumber:71}},e[i.dataKey]),r==n.length-1&&a&&t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:tm,lineNumber:75}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:tm,lineNumber:76}}))))))))))),s&&c&&c>0&&b&&t.createElement(_,{itemsPerPage:c,items:b,paginatedItems:e=>{f(e),d(e)},__self:void 0,__source:{fileName:tm,lineNumber:87}}))},rm=l.table`
4741
+ `,tm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TablePrimary\\index.tsx",im=e=>{const{thead:n,children:o,tbody:l,clickedRow:a,showPagination:s,itemsPerPage:c,paginatedItems:d}=e,[u,f]=i([]),[b,m]=i(void 0),[h,p]=i("");return r((()=>{m(l)}),[l]),r((()=>{s||f(l)}),[s,b]),t.createElement(t.Fragment,null,t.createElement($b,{__self:void 0,__source:{fileName:tm,lineNumber:51}},t.createElement(em,{__self:void 0,__source:{fileName:tm,lineNumber:52}},t.createElement("thead",{__self:void 0,__source:{fileName:tm,lineNumber:53}},t.createElement("tr",{className:"rounded-row paragraph2Medium",__self:void 0,__source:{fileName:tm,lineNumber:54}},n.map(((e,i)=>t.createElement("th",{key:i,onClick:()=>{!function(e){if(!l||"string"==typeof l[0][e])if(e!==h){if(e===h);else if(p(e),l&&l.length>0){const t=[...l];t.sort(((t,i)=>t[e].localeCompare(i[e]))),m(t)}}else if(l&&l.length>0){const t=[...l];t.sort(((t,i)=>t[e].localeCompare(i[e])));let i=t.reverse();m(i),p("")}}(e.dataKey)},__self:void 0,__source:{fileName:tm,lineNumber:56}},e.label))))),t.createElement("tbody",{className:"rounded-row paragraph2Regular",__self:void 0,__source:{fileName:tm,lineNumber:62}},o,!o&&u&&u.map(((e,i)=>t.createElement("tr",{key:i,className:a&&"clickable",onClick:()=>{a&&a(e)},__self:void 0,__source:{fileName:tm,lineNumber:65}},n.map(((i,r)=>t.createElement("td",{key:r,className:r==n.length-1&&a?"with-arrow":"",__self:void 0,__source:{fileName:tm,lineNumber:70}},t.createElement("span",{__self:void 0,__source:{fileName:tm,lineNumber:71}},e[i.dataKey]),r==n.length-1&&a&&t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:tm,lineNumber:75}},t.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:tm,lineNumber:76}}))))))))))),s&&c&&c>0&&b&&t.createElement(_,{itemsPerPage:c,items:b,paginatedItems:e=>{f(e),d(e)},__self:void 0,__source:{fileName:tm,lineNumber:87}}))},rm=l.table`
4742
4742
  width: 100%;
4743
4743
  background: white;
4744
4744
  border-collapse: collapse;