@secondstaxorg/sscomp 1.8.86 → 1.8.87

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
@@ -4753,7 +4753,7 @@ PERFORMANCE OF THIS SOFTWARE.
4753
4753
  gap: 4px;
4754
4754
  align-items: center;
4755
4755
  }
4756
- `,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`
4756
+ `,tm="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TablePrimary\\index.tsx";const 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)=>{return 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}},(o=function(e){let t,i=e[0],r=1;for(;r<e.length;){const n=e[r],o=e[r+1];if(r+=2,("optionalAccess"===n||"optionalCall"===n)&&null==i)return;"access"===n||"optionalAccess"===n?(t=i,i=o(i)):"call"!==n&&"optionalCall"!==n||(i=o(((...e)=>i.call(t,...e))),t=void 0)}return i}([i,"access",e=>e.component,"optionalCall",t=>t(e)]),l=()=>e[i.dataKey],null!=o?o:l())),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:76}},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:77}})));var o,l})))))))),s&&c&&c>0&&b&&t.createElement(_,{itemsPerPage:c,items:b,paginatedItems:e=>{f(e),d(e)},__self:void 0,__source:{fileName:tm,lineNumber:88}}))},rm=l.table`
4757
4757
  width: 100%;
4758
4758
  background: white;
4759
4759
  border-collapse: collapse;