qbs-react-grid 1.1.16 → 1.1.17

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.
@@ -901,5 +901,27 @@
901
901
  vertical-align: center !important;
902
902
  display: table-cell;
903
903
  }
904
+ .row-status:hover .row-status-tooltip {
905
+ display: block;
906
+ }
907
+ .row-status-tooltip {
908
+ display: none;
909
+ position: fixed;
910
+ width: auto;
911
+ height: auto;
912
+ max-width: 300px;
913
+ max-height: 200px;
914
+ padding: 10px;
915
+ border-radius: 8px;
916
+ border: 1px solid #d6d8dc;
917
+ background: #fff;
918
+ box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);
919
+ }
920
+ .row-status-tooltip.bottom-position {
921
+ top: 100%;
922
+ }
923
+ .row-status-tooltip.top-position {
924
+ bottom: 100%;
925
+ }
904
926
 
905
927
  /*# sourceMappingURL=index.css.map */
@@ -1,2 +1,2 @@
1
- @-webkit-keyframes loaderSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loaderSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.rs-table{position:relative;overflow:hidden;border-radius:0;background-color:#fff}.rs-table-column-resizing{cursor:ew-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rs-table-bordered{border:1px solid #eee}.rs-table-row{overflow:hidden;position:absolute;width:100%;top:0;transition:none;border-bottom:1px solid #eee}.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover,.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell,.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell-group{background:#fff}.rs-table-row-header,.rs-table-row-header .rs-table-cell{background:#f4f4f4}.rs-table-row-header .rs-table-cell-group-shadow{box-shadow:0 2px 3px rgba(0,0,0,.28);z-index:5}.rs-table-header-row-wrapper{z-index:2;position:relative}.rs-table-affix-header{z-index:3;visibility:hidden}.rs-table-affix-header.fixed{visibility:visible}.rs-table-body-row-wrapper{position:relative;overflow:hidden;z-index:0}.rs-table-body-info{width:100%;text-align:center;top:50%;position:absolute;margin-top:-20px;line-height:40px}.rs-table-body-info .icon{margin:0 10px}.rs-table-body-info-wheel-area{width:100%}.rs-table-cell{height:36px;border-bottom:1px solid #eee;display:block;overflow:hidden;position:absolute;white-space:normal;background:#fff;transition:none;box-sizing:border-box}.rs-table-cell.first{border-left-width:0}.rs-table-cell-wrap1{display:table}.rs-table-cell-wrap2{display:table-row}.rs-table-cell-wrap3{display:table-cell;vertical-align:middle}.rs-table-cell-content{padding:8px;box-sizing:border-box;background-color:#fff;color:#222;font-size:14px;font-style:normal;font-weight:500;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;width:100%}.rs-table-cell-header-sortable{cursor:pointer}.rs-table-cell-header-sort-wrapper{display:inline-block}.rs-table-cell-full-text:hover{overflow:visible;z-index:2!important;width:auto!important;box-shadow:inset 0 0 2px #3871dc!important}.rs-table-cell-full-text:hover .rs-table-cell-content{width:auto!important}.rs-table-column-resize-spanner{height:36px;width:2px;z-index:3;position:absolute;cursor:ew-resize!important;outline:none}.rs-table-column-resize-spanner:hover{background-color:#e76458}.rs-table-cell-group-fixed-left,.rs-table-cell-group-fixed-right{position:absolute;z-index:4;background:#fff}.rs-table-cell-group-left-shadow{box-shadow:3px 0 5px rgba(9,9,9,.08)}.rs-table-cell-group-right-shadow,.rs-table-cell-group-shadow{box-shadow:-3px 0 5px rgba(9,9,9,.08)}.rs-table-mouse-area{display:none;background:#e76458;left:-1px;top:0;position:absolute;width:2px;z-index:6}.rs-table-mouse-area input{display:none}.rs-table-mouse-area span{background:#e76458}.rs-table-cell-bordered .rs-table-cell{border-right:1px solid #eee}.rs-table-word-wrap .rs-table-cell-content{white-space:normal}.rs-table-row-expanded{position:absolute;height:46px;bottom:0;width:100%;z-index:4;border-top:1px solid #eee;padding:10px;background:#f5f5f5}.rs-table-loader-wrapper{visibility:hidden;position:absolute;height:100%;width:100%;background-color:hsla(0,0%,100%,.9)}.rs-table-loader{width:100%;text-align:center;top:50%;position:absolute;margin-top:-20px;line-height:40px}.rs-table-loader-icon{display:inline-block;position:relative;margin-right:12px;padding-top:3px}.rs-table-loader-icon,.rs-table-loader-icon:after,.rs-table-loader-icon:before{width:18px;height:18px}.rs-table-loader-icon:after,.rs-table-loader-icon:before{content:"";position:absolute;left:0;right:0;display:block;border-radius:50%}.rs-table-loader-icon:before{border:3px solid rgba(247,247,250,.8)}.rs-table-loader-icon:after{border:3px solid transparent;border-top-color:#a6a6a6;-webkit-animation:loaderSpin .6s linear infinite;animation:loaderSpin .6s linear infinite}.rs-table-loading .rs-table-loader-wrapper{visibility:visible}.rs-table-cell-expand-icon{cursor:pointer;outline:none}.rs-table-cell-expand-wrapper{margin-right:10px;display:inline-block;cursor:pointer}.rs-table-scrollbar{background:rgba(45,45,45,.05);position:absolute}.rs-table-scrollbar-active{background:rgba(45,45,45,.1)}.rs-table-scrollbar-hide{display:none}.rs-table-scrollbar-handle{position:absolute;background:rgba(45,45,45,.5);border-radius:4px}.rs-table-scrollbar-horizontal{width:100%;height:5px;bottom:2px}.rs-table-scrollbar-horizontal.fixed{position:fixed}.rs-table-scrollbar-horizontal .rs-table-scrollbar-handle{height:8px;left:0;top:1px}.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed,.rs-table-scrollbar-horizontal:hover{height:5px;box-shadow:inset 1px 1px 2px #ddd}.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,.rs-table-scrollbar-horizontal:hover .rs-table-scrollbar-handle{top:2px;height:5px}.rs-table-scrollbar-vertical{top:0;right:0;width:5px;bottom:2px}.rs-table-scrollbar-vertical .rs-table-scrollbar-handle{min-height:20px;width:5px;top:0;left:1px}.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed,.rs-table-scrollbar-vertical:hover{width:5px;box-shadow:inset 1px 1px 2px #ddd}.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,.rs-table-scrollbar-vertical:hover .rs-table-scrollbar-handle{left:2px;width:5px}.rs-table-column-group{position:absolute;left:0;right:0;top:0;width:100%}.rs-table-column-group-header{border-bottom:1px solid #eee;position:absolute;width:100%}.rs-table-column-group-header-content{display:table-cell;padding:8px}.rs-table-column-group-cell{position:absolute;border-right:1px solid #eee}.qbs-table-custom-pagination{display:flex;justify-content:space-between;padding:8px 12px;min-height:40px;align-items:center;border-radius:4px;border-top:1px solid #d6d8dc;background:#fff}.qbs-table-custom-pagination-header{border-bottom:1px solid #eee;position:absolute;width:100%}.qbs-table-custom-pagination-header-content{display:table-cell;padding:8px}.qbs-table-custom-pagination .qbs-table-pagination-dropdown{width:auto;height:24px;display:flex;align-items:center;justify-content:center;font-size:14px;font-style:normal;font-weight:500;line-height:20px;border-radius:6px;border:1px solid #d6d8dc;background:#fff}.qbs-table-custom-pagination .qbs-table-icon-container{padding:0;cursor:pointer;display:flex;justify-items:center;align-items:center;color:#000;background-color:transparent;width:24px;height:24px;border-radius:4px;border:1px solid #999696}.qbs-table-custom-pagination .qbs-table-icon-container:hover{color:#00f}.qbs-table-custom-pagination .qbs-table-icon-container:disabled{color:grey;cursor:not-allowed}.qbs-table-custom-pagination .qbs-table-icon-container svg{width:16px;height:16px;margin:0 auto}.qbs-table-custom-pagination .qbs-table-pagination-right-block,.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container{display:flex;align-items:center;gap:12px}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item{margin:0;display:flex;cursor:pointer;align-items:center;justify-content:center;height:24px;width:24px;padding:0;border-radius:6px;font-size:13px;font-style:normal;font-weight:500;line-height:16px;border:1px solid transparent;transition:all .2s ease}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:active,.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:hover{border-color:#e76458;color:#e76458;transition:all .2s ease}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .selected{color:#e76458;border:1px solid #e76458;transition:all .2s ease}.qbs-table-pagination-flexBox{display:flex;align-items:center;justify-content:flex-end;gap:12px}.qbs-table-pagination-flexBox .qbs-table-pagination-text{font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#313131}.qbs-table-custom-pagination .qbs-table-pagination-dropdown:focus{outline:none}.qbs-table .qbs-table-toolbar-container{display:flex;flex-direction:column;gap:12px}.qbs-table .qbs-table-border-wrap{border-radius:0 0 4px 4px;border:1px solid #d6d8dc;background:#fff}.qbs-table .qbs-table-toolbar{display:flex;align-items:center;justify-content:space-between}.qbs-table .qbs-table-toolbar .end-container{display:flex;gap:10px;align-items:center}.qbs-table .qbs-table-toolbar .end-container .rows-count{padding:0 10px}.qbs-table .qbs-table-toolbar .start-container{display:flex;gap:10px}.qbs-table .qbs-table-toolbar .qbs-table-primary-filter{display:flex}.qbs-table .sub-qbs-table-toolbar{display:flex;gap:10px}.qbs-table .qbs-table-search-container{position:relative;align-items:center}.qbs-table .qbs-table-search-container .input{height:36px;border-radius:4px;min-width:280px;padding:0 8px;padding-left:36px!important;line-height:36px;font-size:14px;font-style:normal;font-weight:500;border-radius:6px;border:1px solid #d6d8dc;background:#fff;transition:all .2s ease}.qbs-table .qbs-table-search-container .input:hover{outline:none;border:1px solid #d6d8dc;background:#fff}.qbs-table .qbs-table-search-container .input:focus{outline:none;border:1px solid #222;background:#fff;transition:all .2s ease}.qbs-table .qbs-table-search-container .search-button{position:absolute;left:1px;top:7px;display:flex;color:#222;background-color:transparent}.qbs-table .qbs-table-search-container .search-button .icon{width:20px;height:20px}.qbs-table .qbs-table-search-container .close-button{position:absolute;display:flex;right:31px;bottom:5px;color:grey;background-color:#fff}.qbs-table .qbs-table-search-container .close-button .icon{width:20px;height:20px}.qbs-table .popup-content{display:none;position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);padding:12px 16px;z-index:1}.qbs-table .show{display:block!important}.qbs-table[data-theme=dark],.rs-table-cell-content[data-theme=dark]{background-color:#333;color:#fff}.qbs-table-menu-dropdown{position:relative;display:flex;width:100%;height:36px;align-items:center;justify-content:center}.qbs-table-dropbtn{background-color:transparent;color:#000;font-size:16px;border:none;cursor:pointer}.qbs-table-qbs-table-menu-dropdown-content{position:absolute;min-width:75px;z-index:999;right:4px;margin-bottom:0;margin-top:0;top:3px;display:flex;box-sizing:border-box;height:28px;border-radius:8px;border:1px solid #d6d8dc;background:#fff;box-shadow:0 2px 4px 0 rgba(58,58,58,.15);align-items:center;justify-content:flex-end;gap:12px;padding:4px}.qbs-table-qbs-table-menu-dropdown-content a{padding:0!important;text-decoration:none;display:block;font-size:14px;font-style:normal;font-weight:500;color:#212121;width:auto;cursor:pointer;transition:all .2s ease;height:18px}.qbs-table-qbs-table-menu-dropdown-content a svg{width:18px;height:18px}.qbs-table-qbs-table-menu-dropdown-content button.qbs-table-dropbtn{margin-right:8px;margin-top:2px}.qbs-table-qbs-table-menu-dropdown-content a:hover{color:#e76458;background:#f4f4f4;transition:all .2s ease}.qbs-table-tooltip{position:relative;display:contents;cursor:pointer}.qbs-table-tooltip .tooltiptext{visibility:hidden;background-color:#000;color:#fff;text-align:center;padding:6px;border-radius:4px;position:absolute;z-index:9999;opacity:0;transition:opacity .3s;font-size:12px;font-style:normal;font-weight:400;line-height:16px;width:100px}.qbs-table-tooltip.up .tooltiptext{bottom:125%;left:0}.qbs-table-tooltip.down .tooltiptext{top:125%;right:0;left:auto}.qbs-table-tooltip:hover .tooltiptext{visibility:visible;opacity:1}.qbs-table-tooltip .tooltiptext:after{content:"";position:absolute;border-width:5px;border-style:solid}.qbs-table-tooltip.up .tooltiptext:after{top:100%;left:50%;margin-left:-5px;border-color:#000 transparent transparent}.qbs-table-tooltip.down .tooltiptext:after{bottom:100%;left:50%;margin-left:-5px;border-color:transparent transparent #000}.rs-table-row{overflow:visible!important}.qbs-table-toolbar-sub-container{display:flex;gap:12px;padding:10px 12px;border-radius:4px;border:1px solid #d6d8dc;background:#fff;border-bottom:unset}.qbs-table-toolbar-sub-container .rows-count{font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table-toolbar-sub-container.selected-row{background:rgba(231,100,88,.08)}.qbs-table-toolbar-sub-container-start{display:flex;gap:10px;align-items:center}.qbs-table-column-popup{position:fixed;padding:8px;z-index:999;right:10px;border-radius:8px;background:#fff;box-shadow:0 8px 20px 0 rgba(0,0,0,.15);min-width:272px;gap:4px;display:flex;flex-direction:column;max-height:500px}.qbs-table-popup-container{max-width:400px;overflow-y:auto}.qbs-table-container{padding:8px 4px;white-space:nowrap;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.qbs-table-columns-container{display:flex;flex-direction:row-reverse}.qbs-table-columns-label{display:flex;gap:10px}.qbs-table-columns-drag-icon{cursor:grab;margin-right:0}.qbs-table-column{flex:1}.rs-table-cell-header .rs-table-cell-content{padding:8px;border-radius:0;border-right:0;background:#f4f4f4;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover{background-color:#e76458}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner:before,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover:before{border-color:transparent #e76458 transparent transparent}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner:after,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover:after{border-color:transparent transparent transparent #e76458}.qbs-table-checkbox{position:relative;display:flex;align-items:center;justify-content:center}.qbs-table-checkbox .qbs-table-checkbox-input{opacity:0}.qbs-table-checkbox .qbs-table-checkbox-input~label{position:absolute;border-radius:3px;border:1px solid #999696;width:20px;height:20px;top:7px;transition:all .2s ease;cursor:pointer}.qbs-table-checkbox .qbs-table-checkbox-input~label svg{opacity:0;transition:all .2s ease;position:absolute;left:5px;top:5px;width:9px;height:9px}.qbs-table-checkbox .qbs-table-checkbox-input:checked~label{transition:all .2s ease;border-radius:3px;background:#e76458;border-color:#e76458}.qbs-table-checkbox .qbs-table-checkbox-input:checked~label svg{opacity:1;transition:all .2s ease}.qbs-checkbox-border-none .rs-table-cell-content{border-right:unset}.qbs-table-popup-item{display:flex;flex-direction:column;gap:4px}.qbs-table-popup-item .qbs-table-popup-label{padding:4px;font-size:12px;font-style:normal;font-weight:600;line-height:16px;color:#585858}.qbs-table-popup-item .qbs-table-popup-value{padding:8px;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table-divider{width:100%;background:#d6d8dc;display:flex;min-height:1px}.qbs-table-checkbox.qbs-table-custom-checkbox .qbs-table-checkbox-input~label{top:-2px}.qbs-table-container .qbs-table-popup-value{padding:0;flex:1;margin-left:8px;transition:all .2s ease}.qbs-table-container:hover .qbs-table-popup-label,.qbs-table-container:hover .qbs-table-popup-value{transition:all .2s ease;color:#e76458}.qbs-table-container .qbs-table-popup-label{padding:0;flex:1;margin-left:8px;transition:all .2s ease}.qbs-table-reset-link{padding:8px;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#c63a3a}.qbs-table-reset-link:hover{color:#c63a3a;text-decoration:none}.selected-row-action{display:flex;gap:10px}.selected-row-action .btn{background-color:transparent;font-weight:600;padding:4px}.qbs-table-row-link{cursor:pointer}.qbs-table-row-link,.qbs-table-row-link:hover{text-decoration:none}.rs-table-column-group-header-content{text-align:center}.rs-table-cell-content{vertical-align:center!important;display:table-cell}
1
+ @-webkit-keyframes loaderSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loaderSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.rs-table{position:relative;overflow:hidden;border-radius:0;background-color:#fff}.rs-table-column-resizing{cursor:ew-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.rs-table-bordered{border:1px solid #eee}.rs-table-row{overflow:hidden;position:absolute;width:100%;top:0;transition:none;border-bottom:1px solid #eee}.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover,.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell,.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell-group{background:#fff}.rs-table-row-header,.rs-table-row-header .rs-table-cell{background:#f4f4f4}.rs-table-row-header .rs-table-cell-group-shadow{box-shadow:0 2px 3px rgba(0,0,0,.28);z-index:5}.rs-table-header-row-wrapper{z-index:2;position:relative}.rs-table-affix-header{z-index:3;visibility:hidden}.rs-table-affix-header.fixed{visibility:visible}.rs-table-body-row-wrapper{position:relative;overflow:hidden;z-index:0}.rs-table-body-info{width:100%;text-align:center;top:50%;position:absolute;margin-top:-20px;line-height:40px}.rs-table-body-info .icon{margin:0 10px}.rs-table-body-info-wheel-area{width:100%}.rs-table-cell{height:36px;border-bottom:1px solid #eee;display:block;overflow:hidden;position:absolute;white-space:normal;background:#fff;transition:none;box-sizing:border-box}.rs-table-cell.first{border-left-width:0}.rs-table-cell-wrap1{display:table}.rs-table-cell-wrap2{display:table-row}.rs-table-cell-wrap3{display:table-cell;vertical-align:middle}.rs-table-cell-content{padding:8px;box-sizing:border-box;background-color:#fff;color:#222;font-size:14px;font-style:normal;font-weight:500;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;width:100%}.rs-table-cell-header-sortable{cursor:pointer}.rs-table-cell-header-sort-wrapper{display:inline-block}.rs-table-cell-full-text:hover{overflow:visible;z-index:2!important;width:auto!important;box-shadow:inset 0 0 2px #3871dc!important}.rs-table-cell-full-text:hover .rs-table-cell-content{width:auto!important}.rs-table-column-resize-spanner{height:36px;width:2px;z-index:3;position:absolute;cursor:ew-resize!important;outline:none}.rs-table-column-resize-spanner:hover{background-color:#e76458}.rs-table-cell-group-fixed-left,.rs-table-cell-group-fixed-right{position:absolute;z-index:4;background:#fff}.rs-table-cell-group-left-shadow{box-shadow:3px 0 5px rgba(9,9,9,.08)}.rs-table-cell-group-right-shadow,.rs-table-cell-group-shadow{box-shadow:-3px 0 5px rgba(9,9,9,.08)}.rs-table-mouse-area{display:none;background:#e76458;left:-1px;top:0;position:absolute;width:2px;z-index:6}.rs-table-mouse-area input{display:none}.rs-table-mouse-area span{background:#e76458}.rs-table-cell-bordered .rs-table-cell{border-right:1px solid #eee}.rs-table-word-wrap .rs-table-cell-content{white-space:normal}.rs-table-row-expanded{position:absolute;height:46px;bottom:0;width:100%;z-index:4;border-top:1px solid #eee;padding:10px;background:#f5f5f5}.rs-table-loader-wrapper{visibility:hidden;position:absolute;height:100%;width:100%;background-color:hsla(0,0%,100%,.9)}.rs-table-loader{width:100%;text-align:center;top:50%;position:absolute;margin-top:-20px;line-height:40px}.rs-table-loader-icon{display:inline-block;position:relative;margin-right:12px;padding-top:3px}.rs-table-loader-icon,.rs-table-loader-icon:after,.rs-table-loader-icon:before{width:18px;height:18px}.rs-table-loader-icon:after,.rs-table-loader-icon:before{content:"";position:absolute;left:0;right:0;display:block;border-radius:50%}.rs-table-loader-icon:before{border:3px solid rgba(247,247,250,.8)}.rs-table-loader-icon:after{border:3px solid transparent;border-top-color:#a6a6a6;-webkit-animation:loaderSpin .6s linear infinite;animation:loaderSpin .6s linear infinite}.rs-table-loading .rs-table-loader-wrapper{visibility:visible}.rs-table-cell-expand-icon{cursor:pointer;outline:none}.rs-table-cell-expand-wrapper{margin-right:10px;display:inline-block;cursor:pointer}.rs-table-scrollbar{background:rgba(45,45,45,.05);position:absolute}.rs-table-scrollbar-active{background:rgba(45,45,45,.1)}.rs-table-scrollbar-hide{display:none}.rs-table-scrollbar-handle{position:absolute;background:rgba(45,45,45,.5);border-radius:4px}.rs-table-scrollbar-horizontal{width:100%;height:5px;bottom:2px}.rs-table-scrollbar-horizontal.fixed{position:fixed}.rs-table-scrollbar-horizontal .rs-table-scrollbar-handle{height:8px;left:0;top:1px}.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed,.rs-table-scrollbar-horizontal:hover{height:5px;box-shadow:inset 1px 1px 2px #ddd}.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,.rs-table-scrollbar-horizontal:hover .rs-table-scrollbar-handle{top:2px;height:5px}.rs-table-scrollbar-vertical{top:0;right:0;width:5px;bottom:2px}.rs-table-scrollbar-vertical .rs-table-scrollbar-handle{min-height:20px;width:5px;top:0;left:1px}.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed,.rs-table-scrollbar-vertical:hover{width:5px;box-shadow:inset 1px 1px 2px #ddd}.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,.rs-table-scrollbar-vertical:hover .rs-table-scrollbar-handle{left:2px;width:5px}.rs-table-column-group{position:absolute;left:0;right:0;top:0;width:100%}.rs-table-column-group-header{border-bottom:1px solid #eee;position:absolute;width:100%}.rs-table-column-group-header-content{display:table-cell;padding:8px}.rs-table-column-group-cell{position:absolute;border-right:1px solid #eee}.qbs-table-custom-pagination{display:flex;justify-content:space-between;padding:8px 12px;min-height:40px;align-items:center;border-radius:4px;border-top:1px solid #d6d8dc;background:#fff}.qbs-table-custom-pagination-header{border-bottom:1px solid #eee;position:absolute;width:100%}.qbs-table-custom-pagination-header-content{display:table-cell;padding:8px}.qbs-table-custom-pagination .qbs-table-pagination-dropdown{width:auto;height:24px;display:flex;align-items:center;justify-content:center;font-size:14px;font-style:normal;font-weight:500;line-height:20px;border-radius:6px;border:1px solid #d6d8dc;background:#fff}.qbs-table-custom-pagination .qbs-table-icon-container{padding:0;cursor:pointer;display:flex;justify-items:center;align-items:center;color:#000;background-color:transparent;width:24px;height:24px;border-radius:4px;border:1px solid #999696}.qbs-table-custom-pagination .qbs-table-icon-container:hover{color:#00f}.qbs-table-custom-pagination .qbs-table-icon-container:disabled{color:grey;cursor:not-allowed}.qbs-table-custom-pagination .qbs-table-icon-container svg{width:16px;height:16px;margin:0 auto}.qbs-table-custom-pagination .qbs-table-pagination-right-block,.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container{display:flex;align-items:center;gap:12px}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item{margin:0;display:flex;cursor:pointer;align-items:center;justify-content:center;height:24px;width:24px;padding:0;border-radius:6px;font-size:13px;font-style:normal;font-weight:500;line-height:16px;border:1px solid transparent;transition:all .2s ease}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:active,.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:hover{border-color:#e76458;color:#e76458;transition:all .2s ease}.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .selected{color:#e76458;border:1px solid #e76458;transition:all .2s ease}.qbs-table-pagination-flexBox{display:flex;align-items:center;justify-content:flex-end;gap:12px}.qbs-table-pagination-flexBox .qbs-table-pagination-text{font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#313131}.qbs-table-custom-pagination .qbs-table-pagination-dropdown:focus{outline:none}.qbs-table .qbs-table-toolbar-container{display:flex;flex-direction:column;gap:12px}.qbs-table .qbs-table-border-wrap{border-radius:0 0 4px 4px;border:1px solid #d6d8dc;background:#fff}.qbs-table .qbs-table-toolbar{display:flex;align-items:center;justify-content:space-between}.qbs-table .qbs-table-toolbar .end-container{display:flex;gap:10px;align-items:center}.qbs-table .qbs-table-toolbar .end-container .rows-count{padding:0 10px}.qbs-table .qbs-table-toolbar .start-container{display:flex;gap:10px}.qbs-table .qbs-table-toolbar .qbs-table-primary-filter{display:flex}.qbs-table .sub-qbs-table-toolbar{display:flex;gap:10px}.qbs-table .qbs-table-search-container{position:relative;align-items:center}.qbs-table .qbs-table-search-container .input{height:36px;border-radius:4px;min-width:280px;padding:0 8px;padding-left:36px!important;line-height:36px;font-size:14px;font-style:normal;font-weight:500;border-radius:6px;border:1px solid #d6d8dc;background:#fff;transition:all .2s ease}.qbs-table .qbs-table-search-container .input:hover{outline:none;border:1px solid #d6d8dc;background:#fff}.qbs-table .qbs-table-search-container .input:focus{outline:none;border:1px solid #222;background:#fff;transition:all .2s ease}.qbs-table .qbs-table-search-container .search-button{position:absolute;left:1px;top:7px;display:flex;color:#222;background-color:transparent}.qbs-table .qbs-table-search-container .search-button .icon{width:20px;height:20px}.qbs-table .qbs-table-search-container .close-button{position:absolute;display:flex;right:31px;bottom:5px;color:grey;background-color:#fff}.qbs-table .qbs-table-search-container .close-button .icon{width:20px;height:20px}.qbs-table .popup-content{display:none;position:absolute;background-color:#f9f9f9;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);padding:12px 16px;z-index:1}.qbs-table .show{display:block!important}.qbs-table[data-theme=dark],.rs-table-cell-content[data-theme=dark]{background-color:#333;color:#fff}.qbs-table-menu-dropdown{position:relative;display:flex;width:100%;height:36px;align-items:center;justify-content:center}.qbs-table-dropbtn{background-color:transparent;color:#000;font-size:16px;border:none;cursor:pointer}.qbs-table-qbs-table-menu-dropdown-content{position:absolute;min-width:75px;z-index:999;right:4px;margin-bottom:0;margin-top:0;top:3px;display:flex;box-sizing:border-box;height:28px;border-radius:8px;border:1px solid #d6d8dc;background:#fff;box-shadow:0 2px 4px 0 rgba(58,58,58,.15);align-items:center;justify-content:flex-end;gap:12px;padding:4px}.qbs-table-qbs-table-menu-dropdown-content a{padding:0!important;text-decoration:none;display:block;font-size:14px;font-style:normal;font-weight:500;color:#212121;width:auto;cursor:pointer;transition:all .2s ease;height:18px}.qbs-table-qbs-table-menu-dropdown-content a svg{width:18px;height:18px}.qbs-table-qbs-table-menu-dropdown-content button.qbs-table-dropbtn{margin-right:8px;margin-top:2px}.qbs-table-qbs-table-menu-dropdown-content a:hover{color:#e76458;background:#f4f4f4;transition:all .2s ease}.qbs-table-tooltip{position:relative;display:contents;cursor:pointer}.qbs-table-tooltip .tooltiptext{visibility:hidden;background-color:#000;color:#fff;text-align:center;padding:6px;border-radius:4px;position:absolute;z-index:9999;opacity:0;transition:opacity .3s;font-size:12px;font-style:normal;font-weight:400;line-height:16px;width:100px}.qbs-table-tooltip.up .tooltiptext{bottom:125%;left:0}.qbs-table-tooltip.down .tooltiptext{top:125%;right:0;left:auto}.qbs-table-tooltip:hover .tooltiptext{visibility:visible;opacity:1}.qbs-table-tooltip .tooltiptext:after{content:"";position:absolute;border-width:5px;border-style:solid}.qbs-table-tooltip.up .tooltiptext:after{top:100%;left:50%;margin-left:-5px;border-color:#000 transparent transparent}.qbs-table-tooltip.down .tooltiptext:after{bottom:100%;left:50%;margin-left:-5px;border-color:transparent transparent #000}.rs-table-row{overflow:visible!important}.qbs-table-toolbar-sub-container{display:flex;gap:12px;padding:10px 12px;border-radius:4px;border:1px solid #d6d8dc;background:#fff;border-bottom:unset}.qbs-table-toolbar-sub-container .rows-count{font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table-toolbar-sub-container.selected-row{background:rgba(231,100,88,.08)}.qbs-table-toolbar-sub-container-start{display:flex;gap:10px;align-items:center}.qbs-table-column-popup{position:fixed;padding:8px;z-index:999;right:10px;border-radius:8px;background:#fff;box-shadow:0 8px 20px 0 rgba(0,0,0,.15);min-width:272px;gap:4px;display:flex;flex-direction:column;max-height:500px}.qbs-table-popup-container{max-width:400px;overflow-y:auto}.qbs-table-container{padding:8px 4px;white-space:nowrap;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.qbs-table-columns-container{display:flex;flex-direction:row-reverse}.qbs-table-columns-label{display:flex;gap:10px}.qbs-table-columns-drag-icon{cursor:grab;margin-right:0}.qbs-table-column{flex:1}.rs-table-cell-header .rs-table-cell-content{padding:8px;border-radius:0;border-right:0;background:#f4f4f4;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover{background-color:#e76458}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner:before,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover:before{border-color:transparent #e76458 transparent transparent}.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover~.rs-table-column-resize-spanner:after,.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell~.rs-table-column-resize-spanner:hover:after{border-color:transparent transparent transparent #e76458}.qbs-table-checkbox{position:relative;display:flex;align-items:center;justify-content:center}.qbs-table-checkbox .qbs-table-checkbox-input{opacity:0}.qbs-table-checkbox .qbs-table-checkbox-input~label{position:absolute;border-radius:3px;border:1px solid #999696;width:20px;height:20px;top:7px;transition:all .2s ease;cursor:pointer}.qbs-table-checkbox .qbs-table-checkbox-input~label svg{opacity:0;transition:all .2s ease;position:absolute;left:5px;top:5px;width:9px;height:9px}.qbs-table-checkbox .qbs-table-checkbox-input:checked~label{transition:all .2s ease;border-radius:3px;background:#e76458;border-color:#e76458}.qbs-table-checkbox .qbs-table-checkbox-input:checked~label svg{opacity:1;transition:all .2s ease}.qbs-checkbox-border-none .rs-table-cell-content{border-right:unset}.qbs-table-popup-item{display:flex;flex-direction:column;gap:4px}.qbs-table-popup-item .qbs-table-popup-label{padding:4px;font-size:12px;font-style:normal;font-weight:600;line-height:16px;color:#585858}.qbs-table-popup-item .qbs-table-popup-value{padding:8px;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#222}.qbs-table-divider{width:100%;background:#d6d8dc;display:flex;min-height:1px}.qbs-table-checkbox.qbs-table-custom-checkbox .qbs-table-checkbox-input~label{top:-2px}.qbs-table-container .qbs-table-popup-value{padding:0;flex:1;margin-left:8px;transition:all .2s ease}.qbs-table-container:hover .qbs-table-popup-label,.qbs-table-container:hover .qbs-table-popup-value{transition:all .2s ease;color:#e76458}.qbs-table-container .qbs-table-popup-label{padding:0;flex:1;margin-left:8px;transition:all .2s ease}.qbs-table-reset-link{padding:8px;font-size:14px;font-style:normal;font-weight:500;line-height:20px;color:#c63a3a}.qbs-table-reset-link:hover{color:#c63a3a;text-decoration:none}.selected-row-action{display:flex;gap:10px}.selected-row-action .btn{background-color:transparent;font-weight:600;padding:4px}.qbs-table-row-link{cursor:pointer}.qbs-table-row-link,.qbs-table-row-link:hover{text-decoration:none}.rs-table-column-group-header-content{text-align:center}.rs-table-cell-content{vertical-align:center!important;display:table-cell}.row-status:hover .row-status-tooltip{display:block}.row-status-tooltip{display:none;position:fixed;width:auto;height:auto;max-width:300px;max-height:200px;padding:10px;border-radius:8px;border:1px solid #d6d8dc;background:#fff;box-shadow:0 2px 4px 0 rgba(58,58,58,.15)}.row-status-tooltip.bottom-position{top:100%}.row-status-tooltip.top-position{bottom:100%}
2
2
  /*# sourceMappingURL=qbs-react-grid.min.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["qbs-react-grid.css"],"names":[],"mappings":"AAAA,8BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,sBACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,UACE,kBAAmB,AACnB,gBAAiB,AACjB,gBAAmB,AACnB,qBAA0B,CAC3B,AACD,0BACE,iBAAkB,AAClB,yBAA0B,AAC1B,sBAAuB,AACvB,qBAAsB,AACtB,gBAAkB,CACnB,AACD,mBACE,qBAAuB,CACxB,AACD,cACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,MAAO,AACP,gBAAiB,AACjB,4BAA8B,CAC/B,AAOD,iOACE,eAAiB,CAClB,AAID,yDACE,kBAAoB,CACrB,AACD,iDACE,qCAA0C,AAC1C,SAAW,CACZ,AACD,6BACE,UAAW,AACX,iBAAmB,CACpB,AACD,uBACE,UAAW,AACX,iBAAmB,CACpB,AACD,6BACE,kBAAoB,CACrB,AACD,2BACE,kBAAmB,AACnB,gBAAiB,AACjB,SAAW,CACZ,AACD,oBACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,kBAAmB,AACnB,iBAAkB,AAClB,gBAAkB,CACnB,AACD,0BACE,aAAe,CAChB,AACD,+BACE,UAAY,CACb,AACD,eACE,YAAa,AACb,6BAA8B,AAC9B,cAAe,AACf,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,gBAAiB,AACjB,gBAAiB,AACjB,qBAAuB,CACxB,AACD,qBACE,mBAAqB,CACtB,AACD,qBACE,aAAe,CAChB,AACD,qBACE,iBAAmB,CACpB,AACD,qBACE,mBAAoB,AACpB,qBAAuB,CACxB,AACD,uBACE,YAAa,AACb,sBAAuB,AACvB,sBAA0B,AAC1B,WAAY,AACZ,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAwB,AACxB,2BAA4B,AAC5B,0BAA2B,AAC3B,UAAY,CACb,AACD,+BACE,cAAgB,CACjB,AACD,mCACE,oBAAsB,CACvB,AACD,+BACE,iBAAkB,AAClB,oBAAsB,AACtB,qBAAuB,AACvB,0CAAiD,CAClD,AACD,sDACE,oBAAuB,CACxB,AACD,gCACE,YAAa,AACb,UAAW,AACX,UAAW,AACX,kBAAmB,AACnB,2BAA6B,AAC7B,YAAc,CACf,AACD,sCACE,wBAA0B,CAC3B,AAMD,iEACE,kBAAmB,AACnB,UAAW,AACX,eAAiB,CAClB,AACD,iCACE,oCAA4C,CAC7C,AACD,8DAEE,qCAA6C,CAC9C,AACD,qBACE,aAAc,AACd,mBAAoB,AACpB,UAAW,AACX,MAAO,AACP,kBAAmB,AACnB,UAAW,AACX,SAAW,CACZ,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nB,SAAU,AACV,QAAS,AACT,UAAW,AACX,UAAY,CACb,AACD,4DACE,wBAA0B,AAC1B,kBAAmB,AACnB,mBAAoB,AACpB,oBAAsB,CACvB,AACD,gEACE,UAAW,AACX,uBAA0B,CAC3B,AACD,iDACE,kBAAoB,CACrB,AACD,sBACE,aAAc,AACd,sBAAuB,AACvB,OAAS,CACV,AACD,6CACE,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,aAAe,CAChB,AACD,6CACE,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,UAAY,CACb,AACD,mBACE,WAAY,AACZ,mBAAoB,AACpB,aAAc,AACd,cAAgB,CACjB,AACD,8EACE,QAAU,CACX,AACD,4CACE,UAAW,AACX,OAAQ,AACR,gBAAiB,AACjB,uBAA0B,CAC3B,AACD,oGAEE,wBAA0B,AAC1B,aAAe,CAChB,AACD,4CACE,UAAW,AACX,OAAQ,AACR,gBAAiB,AACjB,uBAA0B,CAC3B,AACD,sBACE,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,aAAe,CAChB,AACD,4BACE,cAAe,AACf,oBAAsB,CACvB,AACD,qBACE,aAAc,AACd,QAAU,CACX,AACD,0BACE,6BAA8B,AAC9B,gBAAiB,AACjB,WAAa,CACd,AACD,oBAEE,cAAgB,CACjB,AACD,8CAHE,oBAAsB,CAKvB,AACD,sCACE,iBAAmB,CACpB,AACD,uBACE,gCAAkC,AAClC,kBAAoB,CACrB","file":"qbs-react-grid.min.css","sourcesContent":["@-webkit-keyframes loaderSpin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes loaderSpin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.rs-table {\n position: relative;\n overflow: hidden;\n border-radius: 0px;\n background-color: #ffffff;\n}\n.rs-table-column-resizing {\n cursor: ew-resize;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rs-table-bordered {\n border: 1px solid #eee;\n}\n.rs-table-row {\n overflow: hidden;\n position: absolute;\n width: 100%;\n top: 0;\n transition: none;\n border-bottom: 1px solid #eee;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover {\n background: #fff;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell-group {\n background: #fff;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell {\n background: #fff;\n}\n.rs-table-row-header {\n background: #f4f4f4;\n}\n.rs-table-row-header .rs-table-cell {\n background: #f4f4f4;\n}\n.rs-table-row-header .rs-table-cell-group-shadow {\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.28);\n z-index: 5;\n}\n.rs-table-header-row-wrapper {\n z-index: 2;\n position: relative;\n}\n.rs-table-affix-header {\n z-index: 3;\n visibility: hidden;\n}\n.rs-table-affix-header.fixed {\n visibility: visible;\n}\n.rs-table-body-row-wrapper {\n position: relative;\n overflow: hidden;\n z-index: 0;\n}\n.rs-table-body-info {\n width: 100%;\n text-align: center;\n top: 50%;\n position: absolute;\n margin-top: -20px;\n line-height: 40px;\n}\n.rs-table-body-info .icon {\n margin: 0 10px;\n}\n.rs-table-body-info-wheel-area {\n width: 100%;\n}\n.rs-table-cell {\n height: 36px;\n border-bottom: 1px solid #eee;\n display: block;\n overflow: hidden;\n position: absolute;\n white-space: normal;\n background: #fff;\n transition: none;\n box-sizing: border-box;\n}\n.rs-table-cell.first {\n border-left-width: 0;\n}\n.rs-table-cell-wrap1 {\n display: table;\n}\n.rs-table-cell-wrap2 {\n display: table-row;\n}\n.rs-table-cell-wrap3 {\n display: table-cell;\n vertical-align: middle;\n}\n.rs-table-cell-content {\n padding: 8px;\n box-sizing: border-box;\n background-color: #ffffff;\n color: #222;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n -o-text-overflow: ellipsis;\n width: 100%;\n}\n.rs-table-cell-header-sortable {\n cursor: pointer;\n}\n.rs-table-cell-header-sort-wrapper {\n display: inline-block;\n}\n.rs-table-cell-full-text:hover {\n overflow: visible;\n z-index: 2 !important;\n width: auto !important;\n box-shadow: inset #3871dc 0px 0px 2px !important;\n}\n.rs-table-cell-full-text:hover .rs-table-cell-content {\n width: auto !important;\n}\n.rs-table-column-resize-spanner {\n height: 36px;\n width: 2px;\n z-index: 3;\n position: absolute;\n cursor: ew-resize !important;\n outline: none;\n}\n.rs-table-column-resize-spanner:hover {\n background-color: #E76458;\n}\n.rs-table-cell-group-fixed-left {\n position: absolute;\n z-index: 4;\n background: #fff;\n}\n.rs-table-cell-group-fixed-right {\n position: absolute;\n z-index: 4;\n background: #fff;\n}\n.rs-table-cell-group-left-shadow {\n box-shadow: 3px 0px 5px rgba(9, 9, 9, 0.08);\n}\n.rs-table-cell-group-shadow,\n.rs-table-cell-group-right-shadow {\n box-shadow: -3px 0px 5px rgba(9, 9, 9, 0.08);\n}\n.rs-table-mouse-area {\n display: none;\n background: #E76458;\n left: -1px;\n top: 0;\n position: absolute;\n width: 2px;\n z-index: 6;\n}\n.rs-table-mouse-area input {\n display: none;\n}\n.rs-table-mouse-area span {\n background: #E76458;\n}\n.rs-table-cell-bordered .rs-table-cell {\n border-right: 1px solid #eee;\n}\n.rs-table-word-wrap .rs-table-cell-content {\n white-space: normal;\n}\n.rs-table-row-expanded {\n position: absolute;\n height: 46px;\n bottom: 0;\n width: 100%;\n z-index: 4;\n border-top: 1px solid #eee;\n padding: 10px;\n background: #f5f5f5;\n}\n.rs-table-loader-wrapper {\n visibility: hidden;\n position: absolute;\n height: 100%;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n}\n.rs-table-loader {\n width: 100%;\n text-align: center;\n top: 50%;\n position: absolute;\n margin-top: -20px;\n line-height: 40px;\n}\n.rs-table-loader-icon {\n width: 18px;\n height: 18px;\n display: inline-block;\n position: relative;\n margin-right: 12px;\n padding-top: 3px;\n}\n.rs-table-loader-icon::before,\n.rs-table-loader-icon::after {\n width: 18px;\n height: 18px;\n}\n.rs-table-loader-icon::before,\n.rs-table-loader-icon::after {\n content: \"\";\n position: absolute;\n left: 0;\n right: 0;\n display: block;\n border-radius: 50%;\n}\n.rs-table-loader-icon::before {\n border: 3px solid rgba(247, 247, 250, 0.8);\n}\n.rs-table-loader-icon::after {\n border-width: 3px;\n border-style: solid;\n border-color: #a6a6a6 transparent transparent;\n -webkit-animation: loaderSpin 0.6s infinite linear;\n animation: loaderSpin 0.6s infinite linear;\n}\n.rs-table-loading .rs-table-loader-wrapper {\n visibility: visible;\n}\n.rs-table-cell-expand-icon {\n cursor: pointer;\n outline: none;\n}\n.rs-table-cell-expand-wrapper {\n margin-right: 10px;\n display: inline-block;\n cursor: pointer;\n}\n.rs-table-scrollbar {\n background: rgba(45, 45, 45, 0.05);\n position: absolute;\n}\n.rs-table-scrollbar-active {\n background: rgba(45, 45, 45, 0.1);\n}\n.rs-table-scrollbar-hide {\n display: none;\n}\n.rs-table-scrollbar-handle {\n position: absolute;\n background: rgba(45, 45, 45, 0.5);\n border-radius: 4px;\n}\n.rs-table-scrollbar-horizontal {\n width: 100%;\n height: 5px;\n bottom: 2px;\n}\n.rs-table-scrollbar-horizontal.fixed {\n position: fixed;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-handle {\n height: 8px;\n left: 0px;\n top: 1px;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed,\n.rs-table-scrollbar-horizontal:hover {\n height: 5px;\n box-shadow: 1px 1px 2px #ddd inset;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,\n.rs-table-scrollbar-horizontal:hover .rs-table-scrollbar-handle {\n top: 2px;\n height: 5px;\n}\n.rs-table-scrollbar-vertical {\n top: 0;\n right: 0px;\n width: 5px;\n bottom: 2px;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-handle {\n min-height: 20px;\n width: 5px;\n top: 0px;\n left: 1px;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed,\n.rs-table-scrollbar-vertical:hover {\n width: 5px;\n box-shadow: 1px 1px 2px #ddd inset;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,\n.rs-table-scrollbar-vertical:hover .rs-table-scrollbar-handle {\n left: 2px;\n width: 5px;\n}\n.rs-table-column-group {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n width: 100%;\n}\n.rs-table-column-group-header {\n border-bottom: 1px solid #eee;\n position: absolute;\n width: 100%;\n}\n.rs-table-column-group-header-content {\n display: table-cell;\n padding: 8px;\n}\n.rs-table-column-group-cell {\n position: absolute;\n border-right: 1px solid #eee;\n}\n.qbs-table-custom-pagination {\n display: flex;\n justify-content: space-between;\n padding: 8px 12px;\n min-height: 40px;\n align-items: center;\n border-radius: 4px;\n border-top: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table-custom-pagination-header {\n border-bottom: 1px solid #eee;\n position: absolute;\n width: 100%;\n}\n.qbs-table-custom-pagination-header-content {\n display: table-cell;\n padding: 8px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-dropdown {\n width: auto;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n border-radius: 6px;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container {\n padding: 0;\n cursor: pointer;\n display: flex;\n justify-items: center;\n align-items: center;\n color: black;\n background-color: transparent;\n width: 24px;\n height: 24px;\n border-radius: 4px;\n border: 1px solid #999696;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container:hover {\n color: blue;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container:disabled {\n color: grey;\n cursor: not-allowed;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container svg {\n width: 16px;\n height: 16px;\n margin: 0 auto;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item {\n margin: 0;\n display: flex;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n padding: 0;\n border-radius: 6px;\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px;\n border: 1px solid transparent;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:hover {\n border-color: #e76458;\n color: #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:active {\n border-color: #e76458;\n color: #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .selected {\n color: #e76458;\n border: 1px solid #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-pagination-flexBox {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n}\n.qbs-table-pagination-flexBox .qbs-table-pagination-text {\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #313131;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-dropdown:focus {\n outline: none;\n}\n.qbs-table .qbs-table-toolbar-container {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.qbs-table .qbs-table-border-wrap {\n border-radius: 0 0 4px 4px;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table .qbs-table-toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.qbs-table .qbs-table-toolbar .end-container {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n.qbs-table .qbs-table-toolbar .end-container .rows-count {\n padding: 0px 10px;\n}\n.qbs-table .qbs-table-toolbar .start-container {\n display: flex;\n gap: 10px;\n}\n.qbs-table .qbs-table-toolbar .qbs-table-primary-filter {\n display: flex;\n}\n.qbs-table .sub-qbs-table-toolbar {\n display: flex;\n gap: 10px;\n}\n.qbs-table .qbs-table-search-container {\n position: relative;\n align-items: center;\n}\n.qbs-table .qbs-table-search-container .input {\n height: 36px;\n border-radius: 4px;\n min-width: 280px;\n padding: 0 8px;\n padding-left: 36px !important;\n line-height: 36px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n border-radius: 6px;\n border: 1px solid #d6d8dc;\n background: #fff;\n transition: all 0.2s ease;\n}\n.qbs-table .qbs-table-search-container .input:hover {\n outline: none;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table .qbs-table-search-container .input:focus {\n outline: none;\n border: 1px solid #222;\n background: #fff;\n transition: all 0.2s ease;\n}\n.qbs-table .qbs-table-search-container .search-button {\n position: absolute;\n left: 1px;\n top: 7px;\n display: flex;\n color: #222;\n background-color: transparent;\n}\n.qbs-table .qbs-table-search-container .search-button .icon {\n width: 20px;\n height: 20px;\n}\n.qbs-table .qbs-table-search-container .close-button {\n position: absolute;\n display: flex;\n right: 31px;\n bottom: 5px;\n color: grey;\n background-color: white;\n}\n.qbs-table .qbs-table-search-container .close-button .icon {\n width: 20px;\n height: 20px;\n}\n.qbs-table .popup-content {\n display: none;\n position: absolute;\n background-color: #f9f9f9;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n padding: 12px 16px;\n z-index: 1;\n}\n.qbs-table .show {\n display: block !important;\n}\n.qbs-table[data-theme='dark'] {\n background-color: #333333;\n color: #ffffff;\n}\n.rs-table-cell-content[data-theme='dark'] {\n background-color: #333333;\n color: #ffffff;\n}\n/* Dropdown container */\n.qbs-table-menu-dropdown {\n position: relative;\n display: flex;\n width: 100%;\n height: 36px;\n align-items: center;\n justify-content: center;\n}\n/* Button to trigger the qbs-table-menu-dropdown */\n.qbs-table-dropbtn {\n background-color: transparent;\n color: black;\n font-size: 16px;\n border: none;\n cursor: pointer;\n}\n/* Dropdown content (hidden by default) */\n.qbs-table-qbs-table-menu-dropdown-content {\n position: absolute;\n min-width: 75px;\n z-index: 999;\n right: 4px;\n margin-bottom: 0;\n margin-top: 0;\n top: 3px;\n display: flex;\n box-sizing: border-box;\n height: 28px;\n border-radius: 8px;\n border: 1px solid #d6d8dc;\n background: #fff;\n box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n padding: 4px;\n}\n/* Dropdown content items */\n.qbs-table-qbs-table-menu-dropdown-content a {\n padding: 0 !important;\n text-decoration: none;\n display: block;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n color: #212121;\n width: auto;\n cursor: pointer;\n transition: all 0.2s ease;\n height: 18px;\n}\n.qbs-table-qbs-table-menu-dropdown-content a svg {\n width: 18px;\n height: 18px;\n}\n.qbs-table-qbs-table-menu-dropdown-content button.qbs-table-dropbtn {\n margin-right: 8px;\n margin-top: 2px;\n}\n.qbs-table-qbs-table-menu-dropdown-content a:hover {\n color: #e76458;\n background: #f4f4f4;\n transition: all 0.2s ease;\n}\n/* Tooltip container */\n.qbs-table-tooltip {\n position: relative;\n display: contents;\n cursor: pointer;\n}\n.qbs-table-tooltip .tooltiptext {\n visibility: hidden;\n background-color: #000;\n color: #fff;\n text-align: center;\n padding: 6px;\n border-radius: 4px;\n position: absolute;\n z-index: 9999;\n opacity: 0;\n transition: opacity 0.3s;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n width: 100px;\n}\n.qbs-table-tooltip.up .tooltiptext {\n bottom: 125%;\n left: 0%;\n}\n.qbs-table-tooltip.down .tooltiptext {\n top: 125%;\n right: 0px;\n left: auto;\n}\n.qbs-table-tooltip:hover .tooltiptext {\n visibility: visible;\n opacity: 1;\n}\n.qbs-table-tooltip .tooltiptext::after {\n content: '';\n position: absolute;\n border-width: 5px;\n border-style: solid;\n}\n.qbs-table-tooltip.up .tooltiptext::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-color: #000 transparent transparent transparent;\n}\n.qbs-table-tooltip.down .tooltiptext::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-color: transparent transparent #000 transparent;\n}\n.rs-table-row {\n overflow: visible !important;\n}\n.qbs-table-toolbar-sub-container {\n display: flex;\n gap: 12px;\n padding: 10px 12px;\n border-radius: 4px;\n border: 1px solid #d6d8dc;\n background: #fff;\n border-bottom: unset;\n}\n.qbs-table-toolbar-sub-container .rows-count {\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table-toolbar-sub-container.selected-row {\n background: rgba(231, 100, 88, 0.08);\n}\n.qbs-table-toolbar-sub-container-start {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n.qbs-table-column-popup {\n position: fixed;\n padding: 8px;\n z-index: 999;\n right: 10px;\n border-radius: 8px;\n background: #fff;\n box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);\n min-width: 272px;\n gap: 4px;\n display: flex;\n flex-direction: column;\n max-height: 500px;\n}\n.qbs-table-popup-container {\n max-width: 400px;\n overflow-y: auto;\n}\n.qbs-table-container {\n padding: 8px 4px;\n white-space: nowrap;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n.qbs-table-columns-container {\n display: flex;\n flex-direction: row-reverse;\n}\n.qbs-table-columns-label {\n display: flex;\n gap: 10px;\n}\n.qbs-table-columns-drag-icon {\n cursor: grab;\n margin-right: 0;\n}\n.qbs-table-column {\n flex: 1;\n}\n.rs-table-cell-header .rs-table-cell-content {\n padding: 8px;\n border-radius: 0px;\n border-right: 0px;\n background: #f4f4f4;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover {\n background-color: #e76458;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner:before,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover:before {\n border-color: transparent #e76458 transparent transparent;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner:after,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover:after {\n border-color: transparent transparent transparent #e76458;\n}\n.qbs-table-checkbox {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input {\n opacity: 0;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input ~ label {\n position: absolute;\n border-radius: 3px;\n border: 1px solid #999696;\n width: 20px;\n height: 20px;\n top: 7px;\n transition: all 0.2s ease;\n cursor: pointer;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input ~ label svg {\n opacity: 0;\n transition: all 0.2s ease;\n position: absolute;\n left: 5px;\n top: 5px;\n width: 9px;\n height: 9px;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input:checked ~ label {\n transition: all 0.2s ease;\n border-radius: 3px;\n background: #e76458;\n border-color: #e76458;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input:checked ~ label svg {\n opacity: 1;\n transition: all 0.2s ease;\n}\n.qbs-checkbox-border-none .rs-table-cell-content {\n border-right: unset;\n}\n.qbs-table-popup-item {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n.qbs-table-popup-item .qbs-table-popup-label {\n padding: 4px;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px;\n color: #585858;\n}\n.qbs-table-popup-item .qbs-table-popup-value {\n padding: 8px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table-divider {\n width: 100%;\n background: #d6d8dc;\n display: flex;\n min-height: 1px;\n}\n.qbs-table-checkbox.qbs-table-custom-checkbox .qbs-table-checkbox-input ~ label {\n top: -2px;\n}\n.qbs-table-container .qbs-table-popup-value {\n padding: 0;\n flex: 1;\n margin-left: 8px;\n transition: all 0.2s ease;\n}\n.qbs-table-container:hover .qbs-table-popup-value,\n.qbs-table-container:hover .qbs-table-popup-label {\n transition: all 0.2s ease;\n color: #e76458;\n}\n.qbs-table-container .qbs-table-popup-label {\n padding: 0;\n flex: 1;\n margin-left: 8px;\n transition: all 0.2s ease;\n}\n.qbs-table-reset-link {\n padding: 8px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #c63a3a;\n}\n.qbs-table-reset-link:hover {\n color: #c63a3a;\n text-decoration: none;\n}\n.selected-row-action {\n display: flex;\n gap: 10px;\n}\n.selected-row-action .btn {\n background-color: transparent;\n font-weight: 600;\n padding: 4px;\n}\n.qbs-table-row-link {\n text-decoration: none;\n cursor: pointer;\n}\n.qbs-table-row-link:hover {\n text-decoration: none;\n}\n.rs-table-column-group-header-content {\n text-align: center;\n}\n.rs-table-cell-content {\n vertical-align: center !important;\n display: table-cell;\n}\n\n/*# sourceMappingURL=index.css.map */\n"]}
1
+ {"version":3,"sources":["qbs-react-grid.css"],"names":[],"mappings":"AAAA,8BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,sBACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,UACE,kBAAmB,AACnB,gBAAiB,AACjB,gBAAmB,AACnB,qBAA0B,CAC3B,AACD,0BACE,iBAAkB,AAClB,yBAA0B,AAC1B,sBAAuB,AACvB,qBAAsB,AACtB,gBAAkB,CACnB,AACD,mBACE,qBAAuB,CACxB,AACD,cACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,MAAO,AACP,gBAAiB,AACjB,4BAA8B,CAC/B,AAOD,iOACE,eAAiB,CAClB,AAID,yDACE,kBAAoB,CACrB,AACD,iDACE,qCAA0C,AAC1C,SAAW,CACZ,AACD,6BACE,UAAW,AACX,iBAAmB,CACpB,AACD,uBACE,UAAW,AACX,iBAAmB,CACpB,AACD,6BACE,kBAAoB,CACrB,AACD,2BACE,kBAAmB,AACnB,gBAAiB,AACjB,SAAW,CACZ,AACD,oBACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,kBAAmB,AACnB,iBAAkB,AAClB,gBAAkB,CACnB,AACD,0BACE,aAAe,CAChB,AACD,+BACE,UAAY,CACb,AACD,eACE,YAAa,AACb,6BAA8B,AAC9B,cAAe,AACf,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,gBAAiB,AACjB,gBAAiB,AACjB,qBAAuB,CACxB,AACD,qBACE,mBAAqB,CACtB,AACD,qBACE,aAAe,CAChB,AACD,qBACE,iBAAmB,CACpB,AACD,qBACE,mBAAoB,AACpB,qBAAuB,CACxB,AACD,uBACE,YAAa,AACb,sBAAuB,AACvB,sBAA0B,AAC1B,WAAY,AACZ,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAwB,AACxB,2BAA4B,AAC5B,0BAA2B,AAC3B,UAAY,CACb,AACD,+BACE,cAAgB,CACjB,AACD,mCACE,oBAAsB,CACvB,AACD,+BACE,iBAAkB,AAClB,oBAAsB,AACtB,qBAAuB,AACvB,0CAAiD,CAClD,AACD,sDACE,oBAAuB,CACxB,AACD,gCACE,YAAa,AACb,UAAW,AACX,UAAW,AACX,kBAAmB,AACnB,2BAA6B,AAC7B,YAAc,C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,CACV,AACD,qCACE,SAAU,AACV,QAAW,AACX,SAAW,CACZ,AACD,sCACE,mBAAoB,AACpB,SAAW,CACZ,AACD,sCACE,WAAY,AACZ,kBAAmB,AACnB,iBAAkB,AAClB,kBAAoB,CACrB,AACD,yCACE,SAAU,AACV,SAAU,AACV,iBAAkB,AAClB,yCAAuD,CACxD,AACD,2CACE,YAAa,AACb,SAAU,AACV,iBAAkB,AAClB,yCAAuD,CACxD,AACD,cACE,0BAA6B,CAC9B,AACD,iCACE,aAAc,AACd,SAAU,AACV,kBAAmB,AACnB,kBAAmB,AACnB,yBAA0B,AAC1B,gBAAiB,AACjB,mBAAqB,CACtB,AACD,6CACE,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,UAAY,CACb,AACD,8CACE,+BAAqC,CACtC,AACD,uCACE,aAAc,AACd,SAAU,AACV,kBAAoB,CACrB,AACD,wBACE,eAAgB,AAChB,YAAa,AACb,YAAa,AACb,WAAY,AACZ,kBAAmB,AACnB,gBAAiB,AACjB,wCAAiD,AACjD,gBAAiB,AACjB,QAAS,AACT,aAAc,AACd,sBAAuB,AACvB,gBAAkB,CACnB,AACD,2BACE,gBAAiB,AACjB,eAAiB,CAClB,AACD,qBACE,gBAAiB,AACjB,mBAAoB,AACpB,WAAY,AACZ,aAAc,AACd,mBAAoB,AACpB,8BAA+B,AAC/B,OAAS,CACV,AACD,6BACE,aAAc,AACd,0BAA4B,CAC7B,AACD,yBACE,aAAc,AACd,QAAU,CACX,AACD,6BACE,YAAa,AACb,cAAgB,CACjB,AACD,kBACE,MAAQ,CACT,AACD,6CACE,YAAa,AACb,gBAAmB,AACnB,eAAkB,AAClB,mBAAoB,AACpB,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,iBAAkB,AAClB,UAAY,CACb,AACD,kMAEE,wBAA0B,CAC3B,AACD,gNAEE,wDAA0D,CAC3D,AACD,8MAEE,wDAA0D,CAC3D,AACD,oBACE,kBAAmB,AACnB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AChB,AACD,oBACE,aAAc,AACd,eAAgB,AAChB,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,iBAAkB,AAClB,aAAc,AACd,kBAAmB,AACnB,yBAA0B,AAC1B,gBAAiB,AACjB,yCAAmD,CACpD,AACD,oCACE,QAAU,CACX,AACD,iCACE,WAAa,CACd","file":"qbs-react-grid.min.css","sourcesContent":["@-webkit-keyframes loaderSpin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes loaderSpin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.rs-table {\n position: relative;\n overflow: hidden;\n border-radius: 0px;\n background-color: #ffffff;\n}\n.rs-table-column-resizing {\n cursor: ew-resize;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.rs-table-bordered {\n border: 1px solid #eee;\n}\n.rs-table-row {\n overflow: hidden;\n position: absolute;\n width: 100%;\n top: 0;\n transition: none;\n border-bottom: 1px solid #eee;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover {\n background: #fff;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell-group {\n background: #fff;\n}\n.rs-table-hover .rs-table-body-row-wrapper .rs-table-row:hover .rs-table-cell {\n background: #fff;\n}\n.rs-table-row-header {\n background: #f4f4f4;\n}\n.rs-table-row-header .rs-table-cell {\n background: #f4f4f4;\n}\n.rs-table-row-header .rs-table-cell-group-shadow {\n box-shadow: 0 2px 3px rgba(0, 0, 0, 0.28);\n z-index: 5;\n}\n.rs-table-header-row-wrapper {\n z-index: 2;\n position: relative;\n}\n.rs-table-affix-header {\n z-index: 3;\n visibility: hidden;\n}\n.rs-table-affix-header.fixed {\n visibility: visible;\n}\n.rs-table-body-row-wrapper {\n position: relative;\n overflow: hidden;\n z-index: 0;\n}\n.rs-table-body-info {\n width: 100%;\n text-align: center;\n top: 50%;\n position: absolute;\n margin-top: -20px;\n line-height: 40px;\n}\n.rs-table-body-info .icon {\n margin: 0 10px;\n}\n.rs-table-body-info-wheel-area {\n width: 100%;\n}\n.rs-table-cell {\n height: 36px;\n border-bottom: 1px solid #eee;\n display: block;\n overflow: hidden;\n position: absolute;\n white-space: normal;\n background: #fff;\n transition: none;\n box-sizing: border-box;\n}\n.rs-table-cell.first {\n border-left-width: 0;\n}\n.rs-table-cell-wrap1 {\n display: table;\n}\n.rs-table-cell-wrap2 {\n display: table-row;\n}\n.rs-table-cell-wrap3 {\n display: table-cell;\n vertical-align: middle;\n}\n.rs-table-cell-content {\n padding: 8px;\n box-sizing: border-box;\n background-color: #ffffff;\n color: #222;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n -o-text-overflow: ellipsis;\n width: 100%;\n}\n.rs-table-cell-header-sortable {\n cursor: pointer;\n}\n.rs-table-cell-header-sort-wrapper {\n display: inline-block;\n}\n.rs-table-cell-full-text:hover {\n overflow: visible;\n z-index: 2 !important;\n width: auto !important;\n box-shadow: inset #3871dc 0px 0px 2px !important;\n}\n.rs-table-cell-full-text:hover .rs-table-cell-content {\n width: auto !important;\n}\n.rs-table-column-resize-spanner {\n height: 36px;\n width: 2px;\n z-index: 3;\n position: absolute;\n cursor: ew-resize !important;\n outline: none;\n}\n.rs-table-column-resize-spanner:hover {\n background-color: #E76458;\n}\n.rs-table-cell-group-fixed-left {\n position: absolute;\n z-index: 4;\n background: #fff;\n}\n.rs-table-cell-group-fixed-right {\n position: absolute;\n z-index: 4;\n background: #fff;\n}\n.rs-table-cell-group-left-shadow {\n box-shadow: 3px 0px 5px rgba(9, 9, 9, 0.08);\n}\n.rs-table-cell-group-shadow,\n.rs-table-cell-group-right-shadow {\n box-shadow: -3px 0px 5px rgba(9, 9, 9, 0.08);\n}\n.rs-table-mouse-area {\n display: none;\n background: #E76458;\n left: -1px;\n top: 0;\n position: absolute;\n width: 2px;\n z-index: 6;\n}\n.rs-table-mouse-area input {\n display: none;\n}\n.rs-table-mouse-area span {\n background: #E76458;\n}\n.rs-table-cell-bordered .rs-table-cell {\n border-right: 1px solid #eee;\n}\n.rs-table-word-wrap .rs-table-cell-content {\n white-space: normal;\n}\n.rs-table-row-expanded {\n position: absolute;\n height: 46px;\n bottom: 0;\n width: 100%;\n z-index: 4;\n border-top: 1px solid #eee;\n padding: 10px;\n background: #f5f5f5;\n}\n.rs-table-loader-wrapper {\n visibility: hidden;\n position: absolute;\n height: 100%;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n}\n.rs-table-loader {\n width: 100%;\n text-align: center;\n top: 50%;\n position: absolute;\n margin-top: -20px;\n line-height: 40px;\n}\n.rs-table-loader-icon {\n width: 18px;\n height: 18px;\n display: inline-block;\n position: relative;\n margin-right: 12px;\n padding-top: 3px;\n}\n.rs-table-loader-icon::before,\n.rs-table-loader-icon::after {\n width: 18px;\n height: 18px;\n}\n.rs-table-loader-icon::before,\n.rs-table-loader-icon::after {\n content: \"\";\n position: absolute;\n left: 0;\n right: 0;\n display: block;\n border-radius: 50%;\n}\n.rs-table-loader-icon::before {\n border: 3px solid rgba(247, 247, 250, 0.8);\n}\n.rs-table-loader-icon::after {\n border-width: 3px;\n border-style: solid;\n border-color: #a6a6a6 transparent transparent;\n -webkit-animation: loaderSpin 0.6s infinite linear;\n animation: loaderSpin 0.6s infinite linear;\n}\n.rs-table-loading .rs-table-loader-wrapper {\n visibility: visible;\n}\n.rs-table-cell-expand-icon {\n cursor: pointer;\n outline: none;\n}\n.rs-table-cell-expand-wrapper {\n margin-right: 10px;\n display: inline-block;\n cursor: pointer;\n}\n.rs-table-scrollbar {\n background: rgba(45, 45, 45, 0.05);\n position: absolute;\n}\n.rs-table-scrollbar-active {\n background: rgba(45, 45, 45, 0.1);\n}\n.rs-table-scrollbar-hide {\n display: none;\n}\n.rs-table-scrollbar-handle {\n position: absolute;\n background: rgba(45, 45, 45, 0.5);\n border-radius: 4px;\n}\n.rs-table-scrollbar-horizontal {\n width: 100%;\n height: 5px;\n bottom: 2px;\n}\n.rs-table-scrollbar-horizontal.fixed {\n position: fixed;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-handle {\n height: 8px;\n left: 0px;\n top: 1px;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed,\n.rs-table-scrollbar-horizontal:hover {\n height: 5px;\n box-shadow: 1px 1px 2px #ddd inset;\n}\n.rs-table-scrollbar-horizontal .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,\n.rs-table-scrollbar-horizontal:hover .rs-table-scrollbar-handle {\n top: 2px;\n height: 5px;\n}\n.rs-table-scrollbar-vertical {\n top: 0;\n right: 0px;\n width: 5px;\n bottom: 2px;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-handle {\n min-height: 20px;\n width: 5px;\n top: 0px;\n left: 1px;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed,\n.rs-table-scrollbar-vertical:hover {\n width: 5px;\n box-shadow: 1px 1px 2px #ddd inset;\n}\n.rs-table-scrollbar-vertical .rs-table-scrollbar-pressed .rs-table-scrollbar-handle,\n.rs-table-scrollbar-vertical:hover .rs-table-scrollbar-handle {\n left: 2px;\n width: 5px;\n}\n.rs-table-column-group {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n width: 100%;\n}\n.rs-table-column-group-header {\n border-bottom: 1px solid #eee;\n position: absolute;\n width: 100%;\n}\n.rs-table-column-group-header-content {\n display: table-cell;\n padding: 8px;\n}\n.rs-table-column-group-cell {\n position: absolute;\n border-right: 1px solid #eee;\n}\n.qbs-table-custom-pagination {\n display: flex;\n justify-content: space-between;\n padding: 8px 12px;\n min-height: 40px;\n align-items: center;\n border-radius: 4px;\n border-top: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table-custom-pagination-header {\n border-bottom: 1px solid #eee;\n position: absolute;\n width: 100%;\n}\n.qbs-table-custom-pagination-header-content {\n display: table-cell;\n padding: 8px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-dropdown {\n width: auto;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n border-radius: 6px;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container {\n padding: 0;\n cursor: pointer;\n display: flex;\n justify-items: center;\n align-items: center;\n color: black;\n background-color: transparent;\n width: 24px;\n height: 24px;\n border-radius: 4px;\n border: 1px solid #999696;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container:hover {\n color: blue;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container:disabled {\n color: grey;\n cursor: not-allowed;\n}\n.qbs-table-custom-pagination .qbs-table-icon-container svg {\n width: 16px;\n height: 16px;\n margin: 0 auto;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item {\n margin: 0;\n display: flex;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n padding: 0;\n border-radius: 6px;\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px;\n border: 1px solid transparent;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:hover {\n border-color: #e76458;\n color: #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .block-item:active {\n border-color: #e76458;\n color: #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-right-block .block-container .selected {\n color: #e76458;\n border: 1px solid #e76458;\n transition: all 0.2s ease;\n}\n.qbs-table-pagination-flexBox {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n}\n.qbs-table-pagination-flexBox .qbs-table-pagination-text {\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #313131;\n}\n.qbs-table-custom-pagination .qbs-table-pagination-dropdown:focus {\n outline: none;\n}\n.qbs-table .qbs-table-toolbar-container {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.qbs-table .qbs-table-border-wrap {\n border-radius: 0 0 4px 4px;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table .qbs-table-toolbar {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.qbs-table .qbs-table-toolbar .end-container {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n.qbs-table .qbs-table-toolbar .end-container .rows-count {\n padding: 0px 10px;\n}\n.qbs-table .qbs-table-toolbar .start-container {\n display: flex;\n gap: 10px;\n}\n.qbs-table .qbs-table-toolbar .qbs-table-primary-filter {\n display: flex;\n}\n.qbs-table .sub-qbs-table-toolbar {\n display: flex;\n gap: 10px;\n}\n.qbs-table .qbs-table-search-container {\n position: relative;\n align-items: center;\n}\n.qbs-table .qbs-table-search-container .input {\n height: 36px;\n border-radius: 4px;\n min-width: 280px;\n padding: 0 8px;\n padding-left: 36px !important;\n line-height: 36px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n border-radius: 6px;\n border: 1px solid #d6d8dc;\n background: #fff;\n transition: all 0.2s ease;\n}\n.qbs-table .qbs-table-search-container .input:hover {\n outline: none;\n border: 1px solid #d6d8dc;\n background: #fff;\n}\n.qbs-table .qbs-table-search-container .input:focus {\n outline: none;\n border: 1px solid #222;\n background: #fff;\n transition: all 0.2s ease;\n}\n.qbs-table .qbs-table-search-container .search-button {\n position: absolute;\n left: 1px;\n top: 7px;\n display: flex;\n color: #222;\n background-color: transparent;\n}\n.qbs-table .qbs-table-search-container .search-button .icon {\n width: 20px;\n height: 20px;\n}\n.qbs-table .qbs-table-search-container .close-button {\n position: absolute;\n display: flex;\n right: 31px;\n bottom: 5px;\n color: grey;\n background-color: white;\n}\n.qbs-table .qbs-table-search-container .close-button .icon {\n width: 20px;\n height: 20px;\n}\n.qbs-table .popup-content {\n display: none;\n position: absolute;\n background-color: #f9f9f9;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n padding: 12px 16px;\n z-index: 1;\n}\n.qbs-table .show {\n display: block !important;\n}\n.qbs-table[data-theme='dark'] {\n background-color: #333333;\n color: #ffffff;\n}\n.rs-table-cell-content[data-theme='dark'] {\n background-color: #333333;\n color: #ffffff;\n}\n/* Dropdown container */\n.qbs-table-menu-dropdown {\n position: relative;\n display: flex;\n width: 100%;\n height: 36px;\n align-items: center;\n justify-content: center;\n}\n/* Button to trigger the qbs-table-menu-dropdown */\n.qbs-table-dropbtn {\n background-color: transparent;\n color: black;\n font-size: 16px;\n border: none;\n cursor: pointer;\n}\n/* Dropdown content (hidden by default) */\n.qbs-table-qbs-table-menu-dropdown-content {\n position: absolute;\n min-width: 75px;\n z-index: 999;\n right: 4px;\n margin-bottom: 0;\n margin-top: 0;\n top: 3px;\n display: flex;\n box-sizing: border-box;\n height: 28px;\n border-radius: 8px;\n border: 1px solid #d6d8dc;\n background: #fff;\n box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);\n align-items: center;\n justify-content: flex-end;\n gap: 12px;\n padding: 4px;\n}\n/* Dropdown content items */\n.qbs-table-qbs-table-menu-dropdown-content a {\n padding: 0 !important;\n text-decoration: none;\n display: block;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n color: #212121;\n width: auto;\n cursor: pointer;\n transition: all 0.2s ease;\n height: 18px;\n}\n.qbs-table-qbs-table-menu-dropdown-content a svg {\n width: 18px;\n height: 18px;\n}\n.qbs-table-qbs-table-menu-dropdown-content button.qbs-table-dropbtn {\n margin-right: 8px;\n margin-top: 2px;\n}\n.qbs-table-qbs-table-menu-dropdown-content a:hover {\n color: #e76458;\n background: #f4f4f4;\n transition: all 0.2s ease;\n}\n/* Tooltip container */\n.qbs-table-tooltip {\n position: relative;\n display: contents;\n cursor: pointer;\n}\n.qbs-table-tooltip .tooltiptext {\n visibility: hidden;\n background-color: #000;\n color: #fff;\n text-align: center;\n padding: 6px;\n border-radius: 4px;\n position: absolute;\n z-index: 9999;\n opacity: 0;\n transition: opacity 0.3s;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n width: 100px;\n}\n.qbs-table-tooltip.up .tooltiptext {\n bottom: 125%;\n left: 0%;\n}\n.qbs-table-tooltip.down .tooltiptext {\n top: 125%;\n right: 0px;\n left: auto;\n}\n.qbs-table-tooltip:hover .tooltiptext {\n visibility: visible;\n opacity: 1;\n}\n.qbs-table-tooltip .tooltiptext::after {\n content: '';\n position: absolute;\n border-width: 5px;\n border-style: solid;\n}\n.qbs-table-tooltip.up .tooltiptext::after {\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-color: #000 transparent transparent transparent;\n}\n.qbs-table-tooltip.down .tooltiptext::after {\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border-color: transparent transparent #000 transparent;\n}\n.rs-table-row {\n overflow: visible !important;\n}\n.qbs-table-toolbar-sub-container {\n display: flex;\n gap: 12px;\n padding: 10px 12px;\n border-radius: 4px;\n border: 1px solid #d6d8dc;\n background: #fff;\n border-bottom: unset;\n}\n.qbs-table-toolbar-sub-container .rows-count {\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table-toolbar-sub-container.selected-row {\n background: rgba(231, 100, 88, 0.08);\n}\n.qbs-table-toolbar-sub-container-start {\n display: flex;\n gap: 10px;\n align-items: center;\n}\n.qbs-table-column-popup {\n position: fixed;\n padding: 8px;\n z-index: 999;\n right: 10px;\n border-radius: 8px;\n background: #fff;\n box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);\n min-width: 272px;\n gap: 4px;\n display: flex;\n flex-direction: column;\n max-height: 500px;\n}\n.qbs-table-popup-container {\n max-width: 400px;\n overflow-y: auto;\n}\n.qbs-table-container {\n padding: 8px 4px;\n white-space: nowrap;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n.qbs-table-columns-container {\n display: flex;\n flex-direction: row-reverse;\n}\n.qbs-table-columns-label {\n display: flex;\n gap: 10px;\n}\n.qbs-table-columns-drag-icon {\n cursor: grab;\n margin-right: 0;\n}\n.qbs-table-column {\n flex: 1;\n}\n.rs-table-cell-header .rs-table-cell-content {\n padding: 8px;\n border-radius: 0px;\n border-right: 0px;\n background: #f4f4f4;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover {\n background-color: #e76458;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner:before,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover:before {\n border-color: transparent #e76458 transparent transparent;\n}\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell:hover ~ .rs-table-column-resize-spanner:after,\n.qbs-table .qbs-table-border-wrap .rs-table .rs-table-cell ~ .rs-table-column-resize-spanner:hover:after {\n border-color: transparent transparent transparent #e76458;\n}\n.qbs-table-checkbox {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input {\n opacity: 0;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input ~ label {\n position: absolute;\n border-radius: 3px;\n border: 1px solid #999696;\n width: 20px;\n height: 20px;\n top: 7px;\n transition: all 0.2s ease;\n cursor: pointer;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input ~ label svg {\n opacity: 0;\n transition: all 0.2s ease;\n position: absolute;\n left: 5px;\n top: 5px;\n width: 9px;\n height: 9px;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input:checked ~ label {\n transition: all 0.2s ease;\n border-radius: 3px;\n background: #e76458;\n border-color: #e76458;\n}\n.qbs-table-checkbox .qbs-table-checkbox-input:checked ~ label svg {\n opacity: 1;\n transition: all 0.2s ease;\n}\n.qbs-checkbox-border-none .rs-table-cell-content {\n border-right: unset;\n}\n.qbs-table-popup-item {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n.qbs-table-popup-item .qbs-table-popup-label {\n padding: 4px;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px;\n color: #585858;\n}\n.qbs-table-popup-item .qbs-table-popup-value {\n padding: 8px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #222;\n}\n.qbs-table-divider {\n width: 100%;\n background: #d6d8dc;\n display: flex;\n min-height: 1px;\n}\n.qbs-table-checkbox.qbs-table-custom-checkbox .qbs-table-checkbox-input ~ label {\n top: -2px;\n}\n.qbs-table-container .qbs-table-popup-value {\n padding: 0;\n flex: 1;\n margin-left: 8px;\n transition: all 0.2s ease;\n}\n.qbs-table-container:hover .qbs-table-popup-value,\n.qbs-table-container:hover .qbs-table-popup-label {\n transition: all 0.2s ease;\n color: #e76458;\n}\n.qbs-table-container .qbs-table-popup-label {\n padding: 0;\n flex: 1;\n margin-left: 8px;\n transition: all 0.2s ease;\n}\n.qbs-table-reset-link {\n padding: 8px;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n color: #c63a3a;\n}\n.qbs-table-reset-link:hover {\n color: #c63a3a;\n text-decoration: none;\n}\n.selected-row-action {\n display: flex;\n gap: 10px;\n}\n.selected-row-action .btn {\n background-color: transparent;\n font-weight: 600;\n padding: 4px;\n}\n.qbs-table-row-link {\n text-decoration: none;\n cursor: pointer;\n}\n.qbs-table-row-link:hover {\n text-decoration: none;\n}\n.rs-table-column-group-header-content {\n text-align: center;\n}\n.rs-table-cell-content {\n vertical-align: center !important;\n display: table-cell;\n}\n.row-status:hover .row-status-tooltip {\n display: block;\n}\n.row-status-tooltip {\n display: none;\n position: fixed;\n width: auto;\n height: auto;\n max-width: 300px;\n max-height: 200px;\n padding: 10px;\n border-radius: 8px;\n border: 1px solid #d6d8dc;\n background: #fff;\n box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);\n}\n.row-status-tooltip.bottom-position {\n top: 100%;\n}\n.row-status-tooltip.top-position {\n bottom: 100%;\n}\n\n/*# sourceMappingURL=index.css.map */\n"]}
package/es/Row.d.ts CHANGED
@@ -9,6 +9,9 @@ export interface RowProps extends StandardProps {
9
9
  rowRef?: any;
10
10
  rowSpan?: number;
11
11
  index?: number;
12
+ dataLength?: number;
13
+ handleParentCallBack?: (index: number) => void;
14
+ zIndexValue?: number;
12
15
  }
13
16
  declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
14
17
  export default Row;
package/es/Row.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- var _excluded = ["classPrefix", "height", "headerHeight", "className", "width", "top", "style", "isHeaderRow", "rowRef", "children", "rowSpan", "index"];
3
+ var _excluded = ["classPrefix", "height", "headerHeight", "className", "width", "top", "style", "isHeaderRow", "rowRef", "children", "rowSpan", "index", "dataLength", "handleParentCallBack", "zIndexValue"];
4
4
  import React, { useContext } from 'react';
5
5
  import { mergeRefs, useClassNames } from './utils';
6
6
  import TableContext from './TableContext';
@@ -21,6 +21,9 @@ var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
21
  children = props.children,
22
22
  rowSpan = props.rowSpan,
23
23
  index = props.index,
24
+ dataLength = props.dataLength,
25
+ handleParentCallBack = props.handleParentCallBack,
26
+ zIndexValue = props.zIndexValue,
24
27
  rest = _objectWithoutPropertiesLoose(props, _excluded);
25
28
  var _useContext = useContext(TableContext),
26
29
  translateDOMPositionXY = _useContext.translateDOMPositionXY;
@@ -36,15 +39,17 @@ var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
36
39
  height: isHeaderRow ? headerHeight : height
37
40
  }, style);
38
41
  var INDEX = index;
39
- var styleIndex = 200 - INDEX;
40
42
  translateDOMPositionXY === null || translateDOMPositionXY === void 0 ? void 0 : translateDOMPositionXY(styles, 0, top);
41
43
  return /*#__PURE__*/React.createElement("div", _extends({
42
44
  role: "row"
43
45
  }, rest, {
44
46
  ref: mergeRefs(rowRef, ref),
47
+ onMouseEnter: function onMouseEnter() {
48
+ return handleParentCallBack === null || handleParentCallBack === void 0 ? void 0 : handleParentCallBack(INDEX);
49
+ },
45
50
  className: classes,
46
51
  style: _extends({}, styles, {
47
- zIndex: styleIndex
52
+ zIndex: zIndexValue
48
53
  })
49
54
  }), children);
50
55
  });
package/es/Table.js CHANGED
@@ -614,11 +614,20 @@ var Table = /*#__PURE__*/React.forwardRef(function (props, ref) {
614
614
  }
615
615
  return scrollbars;
616
616
  };
617
+ var _useState2 = useState(Array(data === null || data === void 0 ? void 0 : data.length).fill(1)),
618
+ rowZIndices = _useState2[0],
619
+ setRowZIndices = _useState2[1];
620
+ var handleParentCallBack = function handleParentCallBack(index) {
621
+ setRowZIndices(function (currentZIndices) {
622
+ return currentZIndices.map(function (_, idx) {
623
+ return idx === index ? 10 : 1;
624
+ });
625
+ });
626
+ };
617
627
  var renderTableBody = function renderTableBody(bodyCells, rowWidth) {
618
628
  var _visibleRows$current;
619
629
  var height = getTableHeight();
620
630
  var bodyHeight = height - headerHeight;
621
- console.log(bodyHeight, height);
622
631
  var bodyStyles = {
623
632
  top: headerHeight,
624
633
  height: bodyHeight,
@@ -673,7 +682,10 @@ var Table = /*#__PURE__*/React.forwardRef(function (props, ref) {
673
682
  depth: _rowData[TREE_DEPTH],
674
683
  height: nextRowHeight,
675
684
  cellHeight: cellHeight,
676
- index: index
685
+ index: index,
686
+ dataLength: data === null || data === void 0 ? void 0 : data.length,
687
+ handleParentCallBack: handleParentCallBack,
688
+ zIndexValue: rowZIndices[index]
677
689
  };
678
690
  _top += nextRowHeight;
679
691
  if (virtualized && !wordWrap) {
@@ -504,3 +504,27 @@
504
504
  vertical-align: center !important;
505
505
  display: table-cell;
506
506
  }
507
+ .row-status:hover .row-status-tooltip {
508
+ display: block;
509
+ }
510
+ .row-status-tooltip {
511
+ display: none;
512
+ // bottom: 40px;
513
+ position: fixed;
514
+ width: auto;
515
+ height: auto;
516
+ max-width: 300px;
517
+ max-height: 200px;
518
+ padding: 10px;
519
+ border-radius: 8px;
520
+ border: 1px solid #d6d8dc;
521
+ background: #fff;
522
+ box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);
523
+ }
524
+ .row-status-tooltip.bottom-position {
525
+ top: 100%;
526
+ }
527
+
528
+ .row-status-tooltip.top-position {
529
+ bottom: 100%;
530
+ }
@@ -3,3 +3,4 @@ export declare const CheckCell: React.FC<any>;
3
3
  export declare const ActionCell: React.FC<any>;
4
4
  export declare const ExpandCell: React.FC<any>;
5
5
  export declare const CustomTableCell: React.FC<any>;
6
+ export declare const CustomRowStatus: React.FC<any>;
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  var _excluded = ["rowData", "onChange", "checkedKeys", "dataKey", "dataTheme"],
4
4
  _excluded2 = ["rowData", "dataKey", "expandedRowKeys", "onChange"],
5
- _excluded3 = ["rowData", "renderCell", "toolTip", "dataKey", "onChange", "rowClick", "type", "path", "link"];
6
- import React from 'react';
5
+ _excluded3 = ["rowData", "renderCell", "toolTip", "dataKey", "onChange", "rowClick", "type", "path", "link"],
6
+ _excluded4 = ["rowData", "toolTip", "dataKey", "onChange", "rowClick", "getIcon", "path", "link"];
7
+ import React, { useState, useRef } from 'react';
7
8
  import Cell from '../Cell';
8
9
  import { handleCellFormat } from './utilities/handleFormatCell';
9
10
  import MenuDropDown from './utilities/menuDropDown';
@@ -95,4 +96,72 @@ export var CustomTableCell = /*#__PURE__*/React.memo(function (_ref4) {
95
96
  to: (_path = path === null || path === void 0 ? void 0 : path(rowData)) != null ? _path : '',
96
97
  className: "qbs-table-row-link"
97
98
  }, renderCell ? (_renderCell2 = renderCell(rowData)) === null || _renderCell2 === void 0 ? void 0 : _renderCell2.cell : handleCellFormat(rowData[dataKey], type)) : /*#__PURE__*/React.createElement(React.Fragment, null, renderCell ? (_renderCell3 = renderCell(rowData)) === null || _renderCell3 === void 0 ? void 0 : _renderCell3.cell : handleCellFormat(rowData[dataKey], type))));
99
+ });
100
+ export var CustomRowStatus = /*#__PURE__*/React.memo(function (_ref5) {
101
+ var _path2;
102
+ var rowData = _ref5.rowData,
103
+ toolTip = _ref5.toolTip,
104
+ dataKey = _ref5.dataKey,
105
+ onChange = _ref5.onChange,
106
+ rowClick = _ref5.rowClick,
107
+ getIcon = _ref5.getIcon,
108
+ path = _ref5.path,
109
+ link = _ref5.link,
110
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded4);
111
+ var _useState = useState('bottom-position'),
112
+ dropdownPosition = _useState[0],
113
+ setDropdownPosition = _useState[1];
114
+ var dropRef = useRef(null);
115
+ var menuButtonRef = useRef(null);
116
+ var adjustDropdownPosition = function adjustDropdownPosition() {
117
+ if (menuButtonRef.current && dropRef.current) {
118
+ var _menuButtonRef$curren;
119
+ var inputBoxRect = (_menuButtonRef$curren = menuButtonRef.current) === null || _menuButtonRef$curren === void 0 ? void 0 : _menuButtonRef$curren.getBoundingClientRect();
120
+ var viewportHeight = window.innerHeight;
121
+ var spaceAbove = inputBoxRect.top;
122
+ var spaceBelow = viewportHeight - inputBoxRect.bottom;
123
+ if (spaceAbove > spaceBelow) {
124
+ setDropdownPosition('top-position');
125
+ } else {
126
+ setDropdownPosition('bottom-position');
127
+ }
128
+ }
129
+ };
130
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cell, _extends({}, props, {
131
+ dataKey: dataKey,
132
+ style: {
133
+ padding: 0,
134
+ display: 'flex',
135
+ justifyContent: 'center',
136
+ alignItems: 'center'
137
+ },
138
+ onMouseEnter: function onMouseEnter() {
139
+ return adjustDropdownPosition();
140
+ }
141
+ }), /*#__PURE__*/React.createElement("div", {
142
+ className: "row-status"
143
+ }, !path ? /*#__PURE__*/React.createElement("span", {
144
+ ref: menuButtonRef,
145
+ style: {
146
+ height: 24,
147
+ width: 24,
148
+ display: 'flex'
149
+ },
150
+ onClick: function onClick() {
151
+ return rowClick === null || rowClick === void 0 ? void 0 : rowClick(rowData);
152
+ }
153
+ }, getIcon === null || getIcon === void 0 ? void 0 : getIcon(rowData)) : /*#__PURE__*/React.createElement(Link, {
154
+ style: {
155
+ height: 24,
156
+ width: 24
157
+ },
158
+ to: (_path2 = path === null || path === void 0 ? void 0 : path(rowData)) != null ? _path2 : '',
159
+ className: "qbs-table-row-link"
160
+ }, getIcon === null || getIcon === void 0 ? void 0 : getIcon(rowData)), /*#__PURE__*/React.createElement("div", {
161
+ ref: dropRef,
162
+ className: "row-status-tooltip " + dropdownPosition,
163
+ style: {
164
+ position: 'fixed'
165
+ }
166
+ }, toolTip))));
98
167
  });
@@ -6,7 +6,7 @@ import ColumnGroup from '../ColumnGroup';
6
6
  import HeaderCell from '../HeaderCell';
7
7
  import Pagination from '../Pagination';
8
8
  import Table from '../Table';
9
- import { ActionCell, CheckCell, CustomTableCell, ExpandCell } from './CustomTableCell';
9
+ import { ActionCell, CheckCell, CustomTableCell, ExpandCell, CustomRowStatus } from './CustomTableCell';
10
10
  import ToolBar from './Toolbar';
11
11
  import ColumToggle from './utilities/ColumShowHide';
12
12
  import debounce from './utilities/debounce';
@@ -16,6 +16,7 @@ import '../../dist/css/qbs-react-grid.css';
16
16
  var CHECKBOX_LINE_HEIGHT = '36px';
17
17
  var COLUMN_WIDTH = 250;
18
18
  var QbsTable = function QbsTable(_ref) {
19
+ var _Object$keys;
19
20
  var handleColumnSort = _ref.handleColumnSort,
20
21
  data = _ref.data,
21
22
  propColumn = _ref.columns,
@@ -75,7 +76,8 @@ var QbsTable = function QbsTable(_ref) {
75
76
  selectedRows = _ref.selectedRows,
76
77
  _ref$headerHeight = _ref.headerHeight,
77
78
  headerHeight = _ref$headerHeight === void 0 ? 40 : _ref$headerHeight,
78
- tableBodyHeight = _ref.tableBodyHeight;
79
+ tableBodyHeight = _ref.tableBodyHeight,
80
+ customRowStatus = _ref.customRowStatus;
79
81
  var _useState = useState(false),
80
82
  loading = _useState[0],
81
83
  setLoading = _useState[1];
@@ -462,6 +464,20 @@ var QbsTable = function QbsTable(_ref) {
462
464
  className: "" + classes.tableCheckBoxClass,
463
465
  onChange: handleCheck,
464
466
  dataTheme: dataTheme
467
+ })), customRowStatus && ((_Object$keys = Object.keys(customRowStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0 && /*#__PURE__*/React.createElement(Column, {
468
+ width: 50,
469
+ align: "center",
470
+ fixed: "left"
471
+ }, /*#__PURE__*/React.createElement(HeaderCell, {
472
+ verticalAlign: findGrouped() ? 'middle' : undefined,
473
+ className: " " + classes.headerlClass
474
+ }, ' '), /*#__PURE__*/React.createElement(CustomRowStatus, {
475
+ getIcon: customRowStatus.getIcon,
476
+ dataKey: customRowStatus.field,
477
+ rowClick: customRowStatus.onClick,
478
+ path: customRowStatus.getPath,
479
+ link: customRowStatus.link,
480
+ toolTip: customRowStatus.toolTip
465
481
  })), columnsRendered, !actionProps || (actionProps === null || actionProps === void 0 ? void 0 : actionProps.length) === 0 && columnToggle && /*#__PURE__*/React.createElement(Column, {
466
482
  width: 40,
467
483
  fixed: "right"
@@ -98,6 +98,15 @@ export interface QbsTableProps {
98
98
  handleResetColumns?: () => void;
99
99
  headerHeight?: number;
100
100
  tableBodyHeight?: string;
101
+ customRowStatus?: {
102
+ getIcon?: (data: any) => ReactElement;
103
+ onClick?: (rowData: any) => void;
104
+ hidden?: boolean;
105
+ toolTip?: string | ReactElement;
106
+ link?: boolean;
107
+ field?: boolean;
108
+ getPath?: (data: any) => string;
109
+ };
101
110
  }
102
111
  export interface QbsTableToolbarProps {
103
112
  title?: string;
@@ -1,26 +1,38 @@
1
- import React, { useEffect, useState } from 'react';
1
+ import React, { useState, useRef } from 'react';
2
2
  var TooltipComponent = function TooltipComponent(_ref) {
3
3
  var title = _ref.title,
4
4
  children = _ref.children;
5
- var _useState = useState(0),
6
- scrollY = _useState[0],
7
- setScrollY = _useState[1];
8
- var _useState2 = useState(true),
9
- isScrollingUp = _useState2[0],
10
- setIsScrollingUp = _useState2[1];
11
- var handleScroll = function handleScroll() {
12
- setIsScrollingUp(window.scrollY < scrollY);
13
- setScrollY(window.scrollY);
5
+ var _useState = useState('bottom-position'),
6
+ dropdownPosition = _useState[0],
7
+ setDropdownPosition = _useState[1];
8
+ var dropRef = useRef(null);
9
+ var menuButtonRef = useRef(null);
10
+ var adjustDropdownPosition = function adjustDropdownPosition() {
11
+ if (menuButtonRef.current && dropRef.current) {
12
+ var _menuButtonRef$curren;
13
+ var inputBoxRect = (_menuButtonRef$curren = menuButtonRef.current) === null || _menuButtonRef$curren === void 0 ? void 0 : _menuButtonRef$curren.getBoundingClientRect();
14
+ var viewportHeight = window.innerHeight;
15
+ var spaceAbove = inputBoxRect.top;
16
+ var spaceBelow = viewportHeight - inputBoxRect.bottom;
17
+ if (spaceAbove > spaceBelow) {
18
+ setDropdownPosition('top-position');
19
+ } else {
20
+ setDropdownPosition('bottom-position');
21
+ }
22
+ }
14
23
  };
15
- useEffect(function () {
16
- window.addEventListener('scroll', handleScroll);
17
- return function () {
18
- window.removeEventListener('scroll', handleScroll);
19
- };
20
- }, [scrollY]);
21
24
  return /*#__PURE__*/React.createElement("div", {
22
- className: "qbs-table-tooltip " + (!isScrollingUp ? 'up' : 'down')
23
- }, /*#__PURE__*/React.createElement("span", null, children), /*#__PURE__*/React.createElement("span", {
25
+ className: "qbs-table-tooltip " + (dropdownPosition == 'bottom-position' ? 'down' : 'up') + " "
26
+ }, /*#__PURE__*/React.createElement("span", {
27
+ ref: menuButtonRef,
28
+ style: {
29
+ display: 'flex'
30
+ },
31
+ onMouseEnter: function onMouseEnter() {
32
+ return adjustDropdownPosition();
33
+ }
34
+ }, children), /*#__PURE__*/React.createElement("span", {
35
+ ref: dropRef,
24
36
  className: "tooltiptext"
25
37
  }, title));
26
38
  };
package/lib/Row.d.ts CHANGED
@@ -9,6 +9,9 @@ export interface RowProps extends StandardProps {
9
9
  rowRef?: any;
10
10
  rowSpan?: number;
11
11
  index?: number;
12
+ dataLength?: number;
13
+ handleParentCallBack?: (index: number) => void;
14
+ zIndexValue?: number;
12
15
  }
13
16
  declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
14
17
  export default Row;
package/lib/Row.js CHANGED
@@ -9,7 +9,7 @@ var _react = _interopRequireWildcard(require("react"));
9
9
  var _utils = require("./utils");
10
10
  var _TableContext = _interopRequireDefault(require("./TableContext"));
11
11
  var _constants = require("./constants");
12
- var _excluded = ["classPrefix", "height", "headerHeight", "className", "width", "top", "style", "isHeaderRow", "rowRef", "children", "rowSpan", "index"];
12
+ var _excluded = ["classPrefix", "height", "headerHeight", "className", "width", "top", "style", "isHeaderRow", "rowRef", "children", "rowSpan", "index", "dataLength", "handleParentCallBack", "zIndexValue"];
13
13
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
14
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
15
  var Row = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
@@ -28,6 +28,9 @@ var Row = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
28
28
  children = props.children,
29
29
  rowSpan = props.rowSpan,
30
30
  index = props.index,
31
+ dataLength = props.dataLength,
32
+ handleParentCallBack = props.handleParentCallBack,
33
+ zIndexValue = props.zIndexValue,
31
34
  rest = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded);
32
35
  var _useContext = (0, _react.useContext)(_TableContext["default"]),
33
36
  translateDOMPositionXY = _useContext.translateDOMPositionXY;
@@ -43,15 +46,17 @@ var Row = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
43
46
  height: isHeaderRow ? headerHeight : height
44
47
  }, style);
45
48
  var INDEX = index;
46
- var styleIndex = 200 - INDEX;
47
49
  translateDOMPositionXY === null || translateDOMPositionXY === void 0 ? void 0 : translateDOMPositionXY(styles, 0, top);
48
50
  return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({
49
51
  role: "row"
50
52
  }, rest, {
51
53
  ref: (0, _utils.mergeRefs)(rowRef, ref),
54
+ onMouseEnter: function onMouseEnter() {
55
+ return handleParentCallBack === null || handleParentCallBack === void 0 ? void 0 : handleParentCallBack(INDEX);
56
+ },
52
57
  className: classes,
53
58
  style: (0, _extends2["default"])({}, styles, {
54
- zIndex: styleIndex
59
+ zIndex: zIndexValue
55
60
  })
56
61
  }), children);
57
62
  });
package/lib/Table.js CHANGED
@@ -621,11 +621,20 @@ var Table = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
621
621
  }
622
622
  return scrollbars;
623
623
  };
624
+ var _useState2 = (0, _react.useState)(Array(data === null || data === void 0 ? void 0 : data.length).fill(1)),
625
+ rowZIndices = _useState2[0],
626
+ setRowZIndices = _useState2[1];
627
+ var handleParentCallBack = function handleParentCallBack(index) {
628
+ setRowZIndices(function (currentZIndices) {
629
+ return currentZIndices.map(function (_, idx) {
630
+ return idx === index ? 10 : 1;
631
+ });
632
+ });
633
+ };
624
634
  var renderTableBody = function renderTableBody(bodyCells, rowWidth) {
625
635
  var _visibleRows$current;
626
636
  var height = getTableHeight();
627
637
  var bodyHeight = height - headerHeight;
628
- console.log(bodyHeight, height);
629
638
  var bodyStyles = {
630
639
  top: headerHeight,
631
640
  height: bodyHeight,
@@ -680,7 +689,10 @@ var Table = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
680
689
  depth: _rowData[_constants.TREE_DEPTH],
681
690
  height: nextRowHeight,
682
691
  cellHeight: cellHeight,
683
- index: index
692
+ index: index,
693
+ dataLength: data === null || data === void 0 ? void 0 : data.length,
694
+ handleParentCallBack: handleParentCallBack,
695
+ zIndexValue: rowZIndices[index]
684
696
  };
685
697
  _top += nextRowHeight;
686
698
  if (virtualized && !wordWrap) {
@@ -504,3 +504,27 @@
504
504
  vertical-align: center !important;
505
505
  display: table-cell;
506
506
  }
507
+ .row-status:hover .row-status-tooltip {
508
+ display: block;
509
+ }
510
+ .row-status-tooltip {
511
+ display: none;
512
+ // bottom: 40px;
513
+ position: fixed;
514
+ width: auto;
515
+ height: auto;
516
+ max-width: 300px;
517
+ max-height: 200px;
518
+ padding: 10px;
519
+ border-radius: 8px;
520
+ border: 1px solid #d6d8dc;
521
+ background: #fff;
522
+ box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);
523
+ }
524
+ .row-status-tooltip.bottom-position {
525
+ top: 100%;
526
+ }
527
+
528
+ .row-status-tooltip.top-position {
529
+ bottom: 100%;
530
+ }
@@ -3,3 +3,4 @@ export declare const CheckCell: React.FC<any>;
3
3
  export declare const ActionCell: React.FC<any>;
4
4
  export declare const ExpandCell: React.FC<any>;
5
5
  export declare const CustomTableCell: React.FC<any>;
6
+ export declare const CustomRowStatus: React.FC<any>;
@@ -2,17 +2,20 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  exports.__esModule = true;
5
- exports.ExpandCell = exports.CustomTableCell = exports.CheckCell = exports.ActionCell = void 0;
5
+ exports.ExpandCell = exports.CustomTableCell = exports.CustomRowStatus = exports.CheckCell = exports.ActionCell = void 0;
6
6
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
7
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
8
- var _react = _interopRequireDefault(require("react"));
8
+ var _react = _interopRequireWildcard(require("react"));
9
9
  var _Cell = _interopRequireDefault(require("../Cell"));
10
10
  var _handleFormatCell = require("./utilities/handleFormatCell");
11
11
  var _menuDropDown = _interopRequireDefault(require("./utilities/menuDropDown"));
12
12
  var _reactRouterDom = require("react-router-dom");
13
13
  var _excluded = ["rowData", "onChange", "checkedKeys", "dataKey", "dataTheme"],
14
14
  _excluded2 = ["rowData", "dataKey", "expandedRowKeys", "onChange"],
15
- _excluded3 = ["rowData", "renderCell", "toolTip", "dataKey", "onChange", "rowClick", "type", "path", "link"];
15
+ _excluded3 = ["rowData", "renderCell", "toolTip", "dataKey", "onChange", "rowClick", "type", "path", "link"],
16
+ _excluded4 = ["rowData", "toolTip", "dataKey", "onChange", "rowClick", "getIcon", "path", "link"];
17
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
19
  var CHECKBOX_LINE_HEIGHT = '36px';
17
20
  var CheckCell = /*#__PURE__*/_react["default"].memo(function (_ref) {
18
21
  var rowData = _ref.rowData,
@@ -104,4 +107,73 @@ var CustomTableCell = /*#__PURE__*/_react["default"].memo(function (_ref4) {
104
107
  className: "qbs-table-row-link"
105
108
  }, renderCell ? (_renderCell2 = renderCell(rowData)) === null || _renderCell2 === void 0 ? void 0 : _renderCell2.cell : (0, _handleFormatCell.handleCellFormat)(rowData[dataKey], type)) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, renderCell ? (_renderCell3 = renderCell(rowData)) === null || _renderCell3 === void 0 ? void 0 : _renderCell3.cell : (0, _handleFormatCell.handleCellFormat)(rowData[dataKey], type))));
106
109
  });
107
- exports.CustomTableCell = CustomTableCell;
110
+ exports.CustomTableCell = CustomTableCell;
111
+ var CustomRowStatus = /*#__PURE__*/_react["default"].memo(function (_ref5) {
112
+ var _path2;
113
+ var rowData = _ref5.rowData,
114
+ toolTip = _ref5.toolTip,
115
+ dataKey = _ref5.dataKey,
116
+ onChange = _ref5.onChange,
117
+ rowClick = _ref5.rowClick,
118
+ getIcon = _ref5.getIcon,
119
+ path = _ref5.path,
120
+ link = _ref5.link,
121
+ props = (0, _objectWithoutPropertiesLoose2["default"])(_ref5, _excluded4);
122
+ var _useState = (0, _react.useState)('bottom-position'),
123
+ dropdownPosition = _useState[0],
124
+ setDropdownPosition = _useState[1];
125
+ var dropRef = (0, _react.useRef)(null);
126
+ var menuButtonRef = (0, _react.useRef)(null);
127
+ var adjustDropdownPosition = function adjustDropdownPosition() {
128
+ if (menuButtonRef.current && dropRef.current) {
129
+ var _menuButtonRef$curren;
130
+ var inputBoxRect = (_menuButtonRef$curren = menuButtonRef.current) === null || _menuButtonRef$curren === void 0 ? void 0 : _menuButtonRef$curren.getBoundingClientRect();
131
+ var viewportHeight = window.innerHeight;
132
+ var spaceAbove = inputBoxRect.top;
133
+ var spaceBelow = viewportHeight - inputBoxRect.bottom;
134
+ if (spaceAbove > spaceBelow) {
135
+ setDropdownPosition('top-position');
136
+ } else {
137
+ setDropdownPosition('bottom-position');
138
+ }
139
+ }
140
+ };
141
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Cell["default"], (0, _extends2["default"])({}, props, {
142
+ dataKey: dataKey,
143
+ style: {
144
+ padding: 0,
145
+ display: 'flex',
146
+ justifyContent: 'center',
147
+ alignItems: 'center'
148
+ },
149
+ onMouseEnter: function onMouseEnter() {
150
+ return adjustDropdownPosition();
151
+ }
152
+ }), /*#__PURE__*/_react["default"].createElement("div", {
153
+ className: "row-status"
154
+ }, !path ? /*#__PURE__*/_react["default"].createElement("span", {
155
+ ref: menuButtonRef,
156
+ style: {
157
+ height: 24,
158
+ width: 24,
159
+ display: 'flex'
160
+ },
161
+ onClick: function onClick() {
162
+ return rowClick === null || rowClick === void 0 ? void 0 : rowClick(rowData);
163
+ }
164
+ }, getIcon === null || getIcon === void 0 ? void 0 : getIcon(rowData)) : /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Link, {
165
+ style: {
166
+ height: 24,
167
+ width: 24
168
+ },
169
+ to: (_path2 = path === null || path === void 0 ? void 0 : path(rowData)) != null ? _path2 : '',
170
+ className: "qbs-table-row-link"
171
+ }, getIcon === null || getIcon === void 0 ? void 0 : getIcon(rowData)), /*#__PURE__*/_react["default"].createElement("div", {
172
+ ref: dropRef,
173
+ className: "row-status-tooltip " + dropdownPosition,
174
+ style: {
175
+ position: 'fixed'
176
+ }
177
+ }, toolTip))));
178
+ });
179
+ exports.CustomRowStatus = CustomRowStatus;
@@ -23,6 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
  var CHECKBOX_LINE_HEIGHT = '36px';
24
24
  var COLUMN_WIDTH = 250;
25
25
  var QbsTable = function QbsTable(_ref) {
26
+ var _Object$keys;
26
27
  var handleColumnSort = _ref.handleColumnSort,
27
28
  data = _ref.data,
28
29
  propColumn = _ref.columns,
@@ -82,7 +83,8 @@ var QbsTable = function QbsTable(_ref) {
82
83
  selectedRows = _ref.selectedRows,
83
84
  _ref$headerHeight = _ref.headerHeight,
84
85
  headerHeight = _ref$headerHeight === void 0 ? 40 : _ref$headerHeight,
85
- tableBodyHeight = _ref.tableBodyHeight;
86
+ tableBodyHeight = _ref.tableBodyHeight,
87
+ customRowStatus = _ref.customRowStatus;
86
88
  var _useState = (0, _react.useState)(false),
87
89
  loading = _useState[0],
88
90
  setLoading = _useState[1];
@@ -469,6 +471,20 @@ var QbsTable = function QbsTable(_ref) {
469
471
  className: "" + classes.tableCheckBoxClass,
470
472
  onChange: handleCheck,
471
473
  dataTheme: dataTheme
474
+ })), customRowStatus && ((_Object$keys = Object.keys(customRowStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0 && /*#__PURE__*/_react["default"].createElement(_Column["default"], {
475
+ width: 50,
476
+ align: "center",
477
+ fixed: "left"
478
+ }, /*#__PURE__*/_react["default"].createElement(_HeaderCell["default"], {
479
+ verticalAlign: findGrouped() ? 'middle' : undefined,
480
+ className: " " + classes.headerlClass
481
+ }, ' '), /*#__PURE__*/_react["default"].createElement(_CustomTableCell.CustomRowStatus, {
482
+ getIcon: customRowStatus.getIcon,
483
+ dataKey: customRowStatus.field,
484
+ rowClick: customRowStatus.onClick,
485
+ path: customRowStatus.getPath,
486
+ link: customRowStatus.link,
487
+ toolTip: customRowStatus.toolTip
472
488
  })), columnsRendered, !actionProps || (actionProps === null || actionProps === void 0 ? void 0 : actionProps.length) === 0 && columnToggle && /*#__PURE__*/_react["default"].createElement(_Column["default"], {
473
489
  width: 40,
474
490
  fixed: "right"
@@ -98,6 +98,15 @@ export interface QbsTableProps {
98
98
  handleResetColumns?: () => void;
99
99
  headerHeight?: number;
100
100
  tableBodyHeight?: string;
101
+ customRowStatus?: {
102
+ getIcon?: (data: any) => ReactElement;
103
+ onClick?: (rowData: any) => void;
104
+ hidden?: boolean;
105
+ toolTip?: string | ReactElement;
106
+ link?: boolean;
107
+ field?: boolean;
108
+ getPath?: (data: any) => string;
109
+ };
101
110
  }
102
111
  export interface QbsTableToolbarProps {
103
112
  title?: string;
@@ -8,25 +8,37 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
8
8
  var TooltipComponent = function TooltipComponent(_ref) {
9
9
  var title = _ref.title,
10
10
  children = _ref.children;
11
- var _useState = (0, _react.useState)(0),
12
- scrollY = _useState[0],
13
- setScrollY = _useState[1];
14
- var _useState2 = (0, _react.useState)(true),
15
- isScrollingUp = _useState2[0],
16
- setIsScrollingUp = _useState2[1];
17
- var handleScroll = function handleScroll() {
18
- setIsScrollingUp(window.scrollY < scrollY);
19
- setScrollY(window.scrollY);
11
+ var _useState = (0, _react.useState)('bottom-position'),
12
+ dropdownPosition = _useState[0],
13
+ setDropdownPosition = _useState[1];
14
+ var dropRef = (0, _react.useRef)(null);
15
+ var menuButtonRef = (0, _react.useRef)(null);
16
+ var adjustDropdownPosition = function adjustDropdownPosition() {
17
+ if (menuButtonRef.current && dropRef.current) {
18
+ var _menuButtonRef$curren;
19
+ var inputBoxRect = (_menuButtonRef$curren = menuButtonRef.current) === null || _menuButtonRef$curren === void 0 ? void 0 : _menuButtonRef$curren.getBoundingClientRect();
20
+ var viewportHeight = window.innerHeight;
21
+ var spaceAbove = inputBoxRect.top;
22
+ var spaceBelow = viewportHeight - inputBoxRect.bottom;
23
+ if (spaceAbove > spaceBelow) {
24
+ setDropdownPosition('top-position');
25
+ } else {
26
+ setDropdownPosition('bottom-position');
27
+ }
28
+ }
20
29
  };
21
- (0, _react.useEffect)(function () {
22
- window.addEventListener('scroll', handleScroll);
23
- return function () {
24
- window.removeEventListener('scroll', handleScroll);
25
- };
26
- }, [scrollY]);
27
30
  return /*#__PURE__*/_react["default"].createElement("div", {
28
- className: "qbs-table-tooltip " + (!isScrollingUp ? 'up' : 'down')
29
- }, /*#__PURE__*/_react["default"].createElement("span", null, children), /*#__PURE__*/_react["default"].createElement("span", {
31
+ className: "qbs-table-tooltip " + (dropdownPosition == 'bottom-position' ? 'down' : 'up') + " "
32
+ }, /*#__PURE__*/_react["default"].createElement("span", {
33
+ ref: menuButtonRef,
34
+ style: {
35
+ display: 'flex'
36
+ },
37
+ onMouseEnter: function onMouseEnter() {
38
+ return adjustDropdownPosition();
39
+ }
40
+ }, children), /*#__PURE__*/_react["default"].createElement("span", {
41
+ ref: dropRef,
30
42
  className: "tooltiptext"
31
43
  }, title));
32
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qbs-react-grid",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "A React table component",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
package/src/Row.tsx CHANGED
@@ -13,6 +13,9 @@ export interface RowProps extends StandardProps {
13
13
  rowRef?: any;
14
14
  rowSpan?: number;
15
15
  index?: number;
16
+ dataLength?: number;
17
+ handleParentCallBack?: (index: number) => void;
18
+ zIndexValue?: number;
16
19
  }
17
20
 
18
21
  const Row = React.forwardRef((props: RowProps, ref: React.Ref<HTMLDivElement>) => {
@@ -29,6 +32,9 @@ const Row = React.forwardRef((props: RowProps, ref: React.Ref<HTMLDivElement>) =
29
32
  children,
30
33
  rowSpan,
31
34
  index,
35
+ dataLength,
36
+ handleParentCallBack,
37
+ zIndexValue,
32
38
  ...rest
33
39
  } = props;
34
40
 
@@ -42,7 +48,6 @@ const Row = React.forwardRef((props: RowProps, ref: React.Ref<HTMLDivElement>) =
42
48
  ...style
43
49
  };
44
50
  const INDEX = index as number;
45
- const styleIndex = 200 - INDEX;
46
51
  translateDOMPositionXY?.(styles as CSSStyleDeclaration, 0, top);
47
52
 
48
53
  return (
@@ -50,8 +55,9 @@ const Row = React.forwardRef((props: RowProps, ref: React.Ref<HTMLDivElement>) =
50
55
  role="row"
51
56
  {...rest}
52
57
  ref={mergeRefs(rowRef, ref)}
58
+ onMouseEnter={() => handleParentCallBack?.(INDEX)}
53
59
  className={classes}
54
- style={{ ...styles, zIndex: styleIndex }}
60
+ style={{ ...styles, zIndex: zIndexValue }}
55
61
  >
56
62
  {children}
57
63
  </div>
package/src/Table.tsx CHANGED
@@ -724,7 +724,6 @@ const Table = React.forwardRef(<Row extends RowDataType, Key>(props: TableProps<
724
724
  </>
725
725
  );
726
726
  }
727
-
728
727
  return (
729
728
  <Row {...restRowProps} data-depth={depth} style={rowStyles}>
730
729
  {renderRowProp ? renderRowProp(rowNode, rowData) : rowNode}
@@ -945,11 +944,14 @@ const Table = React.forwardRef(<Row extends RowDataType, Key>(props: TableProps<
945
944
 
946
945
  return scrollbars;
947
946
  };
947
+ const [rowZIndices, setRowZIndices] = useState(Array(data?.length).fill(1));
948
948
 
949
+ const handleParentCallBack = (index: number) => {
950
+ setRowZIndices(currentZIndices => currentZIndices.map((_, idx) => (idx === index ? 10 : 1)));
951
+ };
949
952
  const renderTableBody = (bodyCells: any[], rowWidth: number) => {
950
953
  const height = getTableHeight();
951
954
  const bodyHeight = height - headerHeight;
952
- console.log(bodyHeight, height);
953
955
  const bodyStyles = {
954
956
  top: headerHeight,
955
957
  height: bodyHeight,
@@ -1016,7 +1018,10 @@ const Table = React.forwardRef(<Row extends RowDataType, Key>(props: TableProps<
1016
1018
  depth: rowData[TREE_DEPTH],
1017
1019
  height: nextRowHeight,
1018
1020
  cellHeight,
1019
- index: index
1021
+ index: index,
1022
+ dataLength: data?.length,
1023
+ handleParentCallBack: handleParentCallBack,
1024
+ zIndexValue: rowZIndices[index]
1020
1025
  };
1021
1026
 
1022
1027
  top += nextRowHeight;
@@ -504,3 +504,27 @@
504
504
  vertical-align: center !important;
505
505
  display: table-cell;
506
506
  }
507
+ .row-status:hover .row-status-tooltip {
508
+ display: block;
509
+ }
510
+ .row-status-tooltip {
511
+ display: none;
512
+ // bottom: 40px;
513
+ position: fixed;
514
+ width: auto;
515
+ height: auto;
516
+ max-width: 300px;
517
+ max-height: 200px;
518
+ padding: 10px;
519
+ border-radius: 8px;
520
+ border: 1px solid #d6d8dc;
521
+ background: #fff;
522
+ box-shadow: 0px 2px 4px 0px rgba(58, 58, 58, 0.15);
523
+ }
524
+ .row-status-tooltip.bottom-position {
525
+ top: 100%;
526
+ }
527
+
528
+ .row-status-tooltip.top-position {
529
+ bottom: 100%;
530
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useState, useRef } from 'react';
2
2
 
3
3
  import Cell from '../Cell';
4
4
  import { handleCellFormat } from './utilities/handleFormatCell';
@@ -81,3 +81,62 @@ export const CustomTableCell: React.FC<any> = React.memo(
81
81
  );
82
82
  }
83
83
  );
84
+ export const CustomRowStatus: React.FC<any> = React.memo(
85
+ ({ rowData, toolTip, dataKey, onChange, rowClick, getIcon, path, link, ...props }) => {
86
+ const [dropdownPosition, setDropdownPosition] = useState('bottom-position');
87
+ const dropRef = useRef(null);
88
+ const menuButtonRef = useRef<HTMLElement>(null);
89
+ const adjustDropdownPosition = () => {
90
+ if (menuButtonRef.current && dropRef.current) {
91
+ const inputBoxRect = menuButtonRef.current?.getBoundingClientRect();
92
+ const viewportHeight = window.innerHeight;
93
+
94
+ const spaceAbove = inputBoxRect.top;
95
+ const spaceBelow = viewportHeight - inputBoxRect.bottom;
96
+ if (spaceAbove > spaceBelow) {
97
+ setDropdownPosition('top-position');
98
+ } else {
99
+ setDropdownPosition('bottom-position');
100
+ }
101
+ }
102
+ };
103
+
104
+ return (
105
+ <>
106
+ <Cell
107
+ {...props}
108
+ dataKey={dataKey}
109
+ style={{ padding: 0, display: 'flex', justifyContent: 'center', alignItems: 'center' }}
110
+ onMouseEnter={() => adjustDropdownPosition()}
111
+ >
112
+ <div className="row-status">
113
+ {!path ? (
114
+ <span
115
+ ref={menuButtonRef}
116
+ style={{ height: 24, width: 24, display: 'flex' }}
117
+ onClick={() => rowClick?.(rowData)}
118
+ >
119
+ {getIcon?.(rowData)}
120
+ </span>
121
+ ) : (
122
+ <Link
123
+ style={{ height: 24, width: 24 }}
124
+ to={path?.(rowData) ?? ''}
125
+ className="qbs-table-row-link"
126
+ >
127
+ {getIcon?.(rowData)}
128
+ </Link>
129
+ )}
130
+ <div
131
+ ref={dropRef}
132
+ className={`row-status-tooltip ${dropdownPosition}`}
133
+ style={{ position: 'fixed' }}
134
+ >
135
+ {toolTip}
136
+ </div>
137
+ </div>
138
+ </Cell>
139
+ </>
140
+ );
141
+ }
142
+ );
@@ -7,7 +7,13 @@ import HeaderCell from '../HeaderCell';
7
7
  import Pagination from '../Pagination';
8
8
  import Table from '../Table';
9
9
  import { QbsColumnProps, QbsTableProps } from './commontypes';
10
- import { ActionCell, CheckCell, CustomTableCell, ExpandCell } from './CustomTableCell';
10
+ import {
11
+ ActionCell,
12
+ CheckCell,
13
+ CustomTableCell,
14
+ ExpandCell,
15
+ CustomRowStatus
16
+ } from './CustomTableCell';
11
17
  import ToolBar from './Toolbar';
12
18
  import ColumToggle from './utilities/ColumShowHide';
13
19
  import debounce from './utilities/debounce';
@@ -63,7 +69,8 @@ const QbsTable: React.FC<QbsTableProps> = ({
63
69
  handleResetColumns,
64
70
  selectedRows,
65
71
  headerHeight = 40,
66
- tableBodyHeight
72
+ tableBodyHeight,
73
+ customRowStatus
67
74
  }) => {
68
75
  const [loading, setLoading] = useState(false);
69
76
  const [columns, setColumns] = useState(propColumn);
@@ -499,6 +506,24 @@ const QbsTable: React.FC<QbsTableProps> = ({
499
506
  />
500
507
  </Column>
501
508
  )}
509
+ {customRowStatus && Object.keys(customRowStatus)?.length > 0 && (
510
+ <Column width={50} align="center" fixed="left">
511
+ <HeaderCell
512
+ verticalAlign={findGrouped() ? 'middle' : undefined}
513
+ className={` ${classes.headerlClass}`}
514
+ >
515
+ {' '}
516
+ </HeaderCell>
517
+ <CustomRowStatus
518
+ getIcon={customRowStatus.getIcon}
519
+ dataKey={customRowStatus.field}
520
+ rowClick={customRowStatus.onClick}
521
+ path={customRowStatus.getPath}
522
+ link={customRowStatus.link}
523
+ toolTip={customRowStatus.toolTip}
524
+ />
525
+ </Column>
526
+ )}
502
527
  {columnsRendered}
503
528
  {!actionProps ||
504
529
  (actionProps?.length === 0 && columnToggle && (
@@ -101,6 +101,15 @@ export interface QbsTableProps {
101
101
  handleResetColumns?: () => void;
102
102
  headerHeight?: number;
103
103
  tableBodyHeight?: string;
104
+ customRowStatus?: {
105
+ getIcon?: (data: any) => ReactElement;
106
+ onClick?: (rowData: any) => void;
107
+ hidden?: boolean;
108
+ toolTip?: string | ReactElement;
109
+ link?: boolean;
110
+ field?: boolean;
111
+ getPath?: (data: any) => string;
112
+ };
104
113
  }
105
114
 
106
115
  export interface QbsTableToolbarProps {
@@ -1,24 +1,36 @@
1
- import React, { useEffect, useState } from 'react';
1
+ import React, { useState, useRef } from 'react';
2
2
 
3
3
  const TooltipComponent: React.FC<any> = ({ title, children }) => {
4
- const [scrollY, setScrollY] = useState(0);
5
- const [isScrollingUp, setIsScrollingUp] = useState(true);
4
+ const [dropdownPosition, setDropdownPosition] = useState('bottom-position');
5
+ const dropRef = useRef(null);
6
+ const menuButtonRef = useRef<HTMLElement>(null);
7
+ const adjustDropdownPosition = () => {
8
+ if (menuButtonRef.current && dropRef.current) {
9
+ const inputBoxRect = menuButtonRef.current?.getBoundingClientRect();
10
+ const viewportHeight = window.innerHeight;
6
11
 
7
- const handleScroll = () => {
8
- setIsScrollingUp(window.scrollY < scrollY);
9
- setScrollY(window.scrollY);
12
+ const spaceAbove = inputBoxRect.top;
13
+ const spaceBelow = viewportHeight - inputBoxRect.bottom;
14
+ if (spaceAbove > spaceBelow) {
15
+ setDropdownPosition('top-position');
16
+ } else {
17
+ setDropdownPosition('bottom-position');
18
+ }
19
+ }
10
20
  };
11
21
 
12
- useEffect(() => {
13
- window.addEventListener('scroll', handleScroll);
14
- return () => {
15
- window.removeEventListener('scroll', handleScroll);
16
- };
17
- }, [scrollY]);
18
22
  return (
19
- <div className={`qbs-table-tooltip ${!isScrollingUp ? 'up' : 'down'}`}>
20
- <span>{children}</span>
21
- <span className="tooltiptext">{title}</span>
23
+ <div className={`qbs-table-tooltip ${dropdownPosition == 'bottom-position' ? 'down' : 'up'} `}>
24
+ <span
25
+ ref={menuButtonRef}
26
+ style={{ display: 'flex' }}
27
+ onMouseEnter={() => adjustDropdownPosition()}
28
+ >
29
+ {children}
30
+ </span>
31
+ <span ref={dropRef} className={`tooltiptext`}>
32
+ {title}
33
+ </span>
22
34
  </div>
23
35
  );
24
36
  };
@@ -41,6 +41,7 @@ const MenuDropDown: React.FC<Props> = ({ actionDropDown, handleMenuActions, rowD
41
41
  setOpenMenu(false);
42
42
  };
43
43
 
44
+
44
45
  return (
45
46
  <div className="qbs-table-menu-dropdown" ref={menuRef}>
46
47
  <button className="qbs-table-dropbtn" onClick={toggleMenu} ref={menuButtonRef}>