slick-table 1.1.89 → 1.1.90

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 CHANGED
@@ -305,7 +305,7 @@ xe.version="2.30.1";KD(It);xe.fn=ve;xe.min=LM;xe.max=$M;xe.now=VM;xe.utc=jo;xe.u
305
305
  50% {
306
306
  background-color: #ffb1b1;
307
307
  }
308
- `,ki="0.75rem",Y2="24px",U2=ie(Hn)({backgroundColor:"transparent",fontFamily:"inherit",height:"100%",maxHeight:"100%",maxWidth:"100%",userSelect:"none","& .slick-header":{borderTopColor:"transparent","& .slick-header-column":{"&[data-id=isEdited] span":{textAlign:"center",width:"100%"},"&:last-child":{borderRightColor:"transparent"},"&.filter-active .slick-header-button::after":{width:"7px",height:"7px",content:"''",backgroundColor:"#2196f3",position:"absolute",borderRadius:"50%",border:"2px solid #f8f8f8",top:"3px",right:"3px"},"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])":{"& .slick-column-name":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"calc(100% - 16px)"}},"& .slick-column-name":{fontSize:ki},"& .slick-header-button":{width:"19px",height:"12px","&::before":{position:"absolute",content:"''",width:"19px",height:"12px",top:"6px",right:"5px",backgroundImage:"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",clipPath:"polygon(0% 0%, 100% 0%, 50% 110%)",backgroundColor:"transparent"}},"& .slick-resizable-handle":{boxShadow:"none"}}},"& .slick-viewport":{overflowX:"hidden !important",scrollbarWidth:"thin","& .slick-cell":{borderTop:"none",borderRightStyle:"solid",borderLeft:"none",borderWidth:"1px",display:"flex",fontSize:ki,padding:"4px","&:last-child":{borderRight:"none"},"&.text-center":{justifyContent:"center",textAlign:"center"},"&.text-right":{justifyContent:"end",textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Xm} infinite 0.5s linear`,"& input":{animation:`${Xm} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& #autocomplete":{boxShadow:"0 0 5px 1px gray",fontSize:ki,margin:0,maxHeight:"300px",minWidth:"100%",overflow:"auto",padding:0,position:"absolute",top:Y2,"& div":{fontSize:ki,"&:hover":{cursor:"pointer"},"& strong":{color:"#007bff"}}}}},"& .slick-footerrow":{borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",fontSize:ki,paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}),q2={Container:U2},G2=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u,onBeforeEditCell:f,onCellChange:p,onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S})=>(z2({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u||B2(S),onBeforeEditCell:f,onCellChange:p||ID(S),onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S}),CW(S),RW(S),xW(S),E.jsx(q2.Container,{id:S.id,className:"slick-container"})),K2=ie(Hn)({height:"100%",width:"100%"}),X2=ie(nh)({borderRadius:"10px",height:"100%",width:"100%"}),Zm={Skeleton:X2,Wrapper:K2},Z2=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,isLoading:d,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C})=>d?E.jsx(Zm.Skeleton,{animation:"wave",variant:"rectangular"}):E.jsxs(Zm.Wrapper,{className:"slick-table",children:[E.jsx(G2,{SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C}),E.jsx(Uj,{tableId:C.id}),E.jsx(yj,{tableId:C.id}),E.jsx(Nj,{tableId:C.id}),E.jsx(bA,{tableId:C.id})]}),Q2={id:cu,field:cu};function J2(e,t,n){return n?Nb:""}const Nb=`
308
+ `,ki="0.75rem",Y2="24px",U2=ie(Hn)({backgroundColor:"transparent",fontFamily:"inherit",height:"100%",maxHeight:"100%",maxWidth:"100%",userSelect:"none","& .slick-header":{borderTopColor:"transparent","& .slick-header-column":{"&[data-id=isEdited] span":{textAlign:"center",width:"100%"},"&:last-child":{borderRightColor:"transparent"},"&.filter-active .slick-header-button::after":{width:"7px",height:"7px",content:"''",backgroundColor:"#2196f3",position:"absolute",borderRadius:"50%",border:"2px solid #f8f8f8",top:"3px",right:"3px"},"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])":{"& .slick-column-name":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"calc(100% - 16px)"}},"& .slick-column-name":{fontSize:ki},"& .slick-header-button":{width:"19px",height:"12px","&::before":{position:"absolute",content:"''",width:"19px",height:"12px",top:"6px",right:"5px",backgroundImage:"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",clipPath:"polygon(0% 0%, 100% 0%, 50% 110%)",backgroundColor:"transparent"}},"& .slick-resizable-handle":{boxShadow:"none"}}},"& .slick-viewport":{overflowX:"hidden !important",scrollbarWidth:"thin","& .slick-row.slick-group .slick-cell":{justifyContent:"start"},"& .slick-cell":{borderTop:"none",borderRightStyle:"solid",borderLeft:"none",borderWidth:"1px",display:"flex",fontSize:ki,padding:"4px","&:last-child":{borderRight:"none"},"&.text-center":{justifyContent:"center",textAlign:"center"},"&.text-right":{justifyContent:"end",textAlign:"right"},"&.bold":{fontWeight:"bold"},"&.wink":{animation:`${Xm} infinite 0.5s linear`,"& input":{animation:`${Xm} infinite 0.5s linear`}},"& input.editor-text":{textAlign:"inherit"},"& #autocomplete":{boxShadow:"0 0 5px 1px gray",fontSize:ki,margin:0,maxHeight:"300px",minWidth:"100%",overflow:"auto",padding:0,position:"absolute",top:Y2,"& div":{fontSize:ki,"&:hover":{cursor:"pointer"},"& strong":{color:"#007bff"}}}}},"& .slick-footerrow":{borderTop:"1px solid silver","& .slick-footerrow-column":{height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",fontSize:ki,paddingRight:"5px",borderBottom:"none",fontWeight:"bold","&:last-child":{borderRight:"none"}}}}),q2={Container:U2},G2=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u,onBeforeEditCell:f,onCellChange:p,onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S})=>(z2({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:d,onAddNewRow:u||B2(S),onBeforeEditCell:f,onCellChange:p||ID(S),onClick:y,onDblClick:w,onHeaderMenuCommand:b,onMouseEnter:m,onMouseLeave:v,onRowCountChanged:P,onSelectedRowsChanged:D,options:x,table:S}),CW(S),RW(S),xW(S),E.jsx(q2.Container,{id:S.id,className:"slick-container"})),K2=ie(Hn)({height:"100%",width:"100%"}),X2=ie(nh)({borderRadius:"10px",height:"100%",width:"100%"}),Zm={Skeleton:X2,Wrapper:K2},Z2=({SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,isLoading:d,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C})=>d?E.jsx(Zm.Skeleton,{animation:"wave",variant:"rectangular"}):E.jsxs(Zm.Wrapper,{className:"slick-table",children:[E.jsx(G2,{SlickDataView:e,applyCellCssStyles:t,assignIds:n,columnSorter:o,columns:r,getItemMetadata:i,groups:a,idPropertyName:l,items:u,onAddNewRow:f,onBeforeEditCell:p,onCellChange:y,onClick:w,onDblClick:b,onHeaderMenuCommand:m,onMouseEnter:v,onMouseLeave:P,onRowCountChanged:D,onSelectedRowsChanged:x,options:S,table:C}),E.jsx(Uj,{tableId:C.id}),E.jsx(yj,{tableId:C.id}),E.jsx(Nj,{tableId:C.id}),E.jsx(bA,{tableId:C.id})]}),Q2={id:cu,field:cu};function J2(e,t,n){return n?Nb:""}const Nb=`
309
309
  <svg id="icon-is-edited" width="14" height="14" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
310
310
  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 16.7496C17.9142 16.7496 18.25 17.0854 18.25 17.4996C18.25 17.9139 17.9142 18.2496 17.5 18.2496H2.5C2.08579 18.2496 1.75 17.9139 1.75 17.4996C1.75 17.0854 2.08579 16.7496 2.5 16.7496H17.5ZM12.3193 2.53383C13.3645 1.48874 15.0583 1.48871 16.1035 2.53383L17.4658 3.89613C18.5109 4.94131 18.5109 6.63512 17.4658 7.68031L10.5801 14.5661C10.1706 14.9755 9.63968 15.242 9.06641 15.3239L6.20605 15.7321C5.07539 15.8936 4.10606 14.9243 4.26758 13.7936L4.67578 10.9332C4.75768 10.36 5.02411 9.82905 5.43359 9.41957L12.3193 2.53383ZM6.49414 10.4801C6.31422 10.66 6.19718 10.8933 6.16113 11.1452L5.75195 14.0065C5.73224 14.1468 5.85284 14.2674 5.99316 14.2477L8.85449 13.8385C9.10637 13.8025 9.33961 13.6854 9.51953 13.5055L14.1133 8.91078C13.5735 8.68097 12.9422 8.30313 12.3193 7.68031C11.6961 7.05704 11.3177 6.42546 11.0879 5.88539L6.49414 10.4801ZM15.043 3.59438C14.5836 3.13504 13.8393 3.13507 13.3799 3.59438L12.2773 4.69594C12.2969 4.79128 12.325 4.90833 12.3691 5.04066C12.507 5.45417 12.7906 6.03051 13.3799 6.61977C13.9691 7.20902 14.5455 7.49261 14.959 7.63051C15.0908 7.67445 15.2076 7.70173 15.3027 7.72133L16.4053 6.61977C16.8646 6.16036 16.8646 5.41607 16.4053 4.95668L15.043 3.59438Z" fill="#292D32"/>
311
311
  </svg>
package/dist/index.es.js CHANGED
@@ -41247,6 +41247,9 @@ const Zm = Ks`
41247
41247
  // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
41248
41248
  overflowX: "hidden !important",
41249
41249
  scrollbarWidth: "thin",
41250
+ "& .slick-row.slick-group .slick-cell": {
41251
+ justifyContent: "start"
41252
+ },
41250
41253
  "& .slick-cell": {
41251
41254
  borderTop: "none",
41252
41255
  borderRightStyle: "solid",
@@ -1 +1 @@
1
- {"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAiJA,wBAA6B"}
1
+ {"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAoJA,wBAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.1.89",
3
+ "version": "1.1.90",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -71,6 +71,9 @@ const Container = styled(Box)({
71
71
  // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
72
72
  overflowX: "hidden !important",
73
73
  scrollbarWidth: "thin",
74
+ "& .slick-row.slick-group .slick-cell": {
75
+ justifyContent: "start",
76
+ },
74
77
  "& .slick-cell": {
75
78
  borderTop: "none",
76
79
  borderRightStyle: "solid",