~ K A L I ~
UNAME : Linux web65.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.65 -________-
CLIENT IP : 216.73.216.109 MINI SHELL D ZAB '
Current File : //usr/share/maxscale/gui/js/app~a35be4f5.a1133574.js |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app~a35be4f5"],{"00c5":function(e,t,i){},"0eab":function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-tooltip",e._b({attrs:{top:"",transition:"slide-y-transition",contentClass:"shadow-drop mxs-color-helper white text-navigation py-1 px-4"},scopedSlots:e._u([{key:"activator",fn:function(t){var s=t.on;return[i("v-btn",e._g(e._b({class:e.btnClass},"v-btn",Object.assign({},e.$attrs),!1),Object.assign({},e.$listeners,s)),[e._t("btn-content")],2)]}}],null,!0)},"v-tooltip",e.tooltipProps,!1),[i("span",{staticClass:"d-inline-block text-center text-capitalize"},[e._t("default")],2)])},r=[],l={name:"mxs-tooltip-btn",inheritAttrs:!1,props:{btnClass:{type:[Array,Object,String],default:()=>[]},tooltipProps:{type:Object,default:()=>({})}}},o=l,a=i("2877"),n=i("6544"),d=i.n(n),h=i("8336"),c=i("3a2f"),u=Object(a["a"])(o,s,r,!1,null,null,null);t["a"]=u.exports;d()(u,{VBtn:h["a"],VTooltip:c["a"]})},"3d6b":function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.truncate_tooltip_item?i("v-menu",{key:e.truncate_tooltip_item.activatorID,attrs:{value:Boolean(e.truncate_tooltip_item),"open-on-hover":"","close-on-content-click":!1,activator:"#"+e.truncate_tooltip_item.activatorID,"nudge-left":e.$typy(e.truncate_tooltip_item,"nudgeLeft").safeNumber,"nudge-top":e.$typy(e.truncate_tooltip_item,"nudgeTop").safeNumber,"offset-y":"",top:"",transition:"slide-y-transition","content-class":"shadow-drop","max-width":600,"max-height":600,"allow-overflow":""}},[i("v-sheet",{staticClass:"py-2 px-4 text-body-2 mxs-color-helper text-navigation",class:[e.$typy(e.truncate_tooltip_item,"contentClass").safeString]},[i("pre",[e._v(e._s(e.truncate_tooltip_item.txt))])])],1):e._e()},r=[],l=i("2f62"),o={name:"mxs-truncate-tooltip",computed:{...Object(l["e"])({truncate_tooltip_item:e=>e.mxsApp.truncate_tooltip_item})}},a=o,n=i("2877"),d=i("6544"),h=i.n(d),c=i("e449"),u=i("8dd9"),p=Object(n["a"])(a,s,r,!1,null,null,null),g=p.exports;h()(p,{VMenu:c["a"],VSheet:u["a"]});var m=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",e._g({ref:"string",staticClass:"d-inline-block text-truncate",style:e.style,attrs:{id:e.tooltipItem.activatorID?"":e.componentActivatorID}},e.disabled?null:{mouseenter:e.mouseenter}),[e._t("default",(function(){return[e._v(" "+e._s(e.$typy(e.tooltipItem,"txt").safeString))]}))],2)},x=[],f={name:"mxs-truncate-str",props:{tooltipItem:{type:Object,required:!0},maxWidth:{type:Number,default:0},disabled:{type:Boolean,default:!1}},data(){return{componentActivatorID:"mxs-truncate-str__"+this.$helpers.uuidv1(),scrollWidth:0,clientWidth:0}},computed:{style(){return this.maxWidth?{maxWidth:this.maxWidth+"px"}:{maxWidth:"100%"}},activatorID(){return this.tooltipItem.activatorID?this.tooltipItem.activatorID:this.componentActivatorID},truncateTooltipItem(){return{...this.tooltipItem,activatorID:this.activatorID}}},methods:{...Object(l["d"])({SET_TRUNCATE_TOOLTIP_ITEM:"mxsApp/SET_TRUNCATE_TOOLTIP_ITEM"}),mouseenter(){const e=this.$refs.string.scrollWidth>this.$refs.string.clientWidth;this.scrollWidth=this.$refs.string.scrollWidth,this.clientWidth=this.$refs.string.clientWidth,this.SET_TRUNCATE_TOOLTIP_ITEM(e?this.truncateTooltipItem:null)}}},v=f,b=Object(n["a"])(v,m,x,!1,null,null,null),w=b.exports;t["a"]={"mxs-truncate-str":w,"mxs-truncate-tooltip":g}},"5d22":function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-menu",{attrs:{value:e.activator?e.isOpened:e.menuOpen,activator:e.activator,transition:e.transition,left:e.left,"nudge-right":e.nudgeRight,"nudge-bottom":e.nudgeBottom,"offset-x":e.isOffsetX,"offset-y":e.isOffsetY,"content-class":"mariadb-select-v-menu mariadb-select-v-menu--full-border","close-on-content-click":!1,"open-on-hover":e.openOnHover,"open-delay":e.openDelay,"min-width":"auto"},on:{input:function(t){return e.$emit("input",t)}},scopedSlots:e._u([e.activator?null:{key:"activator",fn:function(t){var s=t.on;return[e.isSubMenu?i("v-list-item",e._g({staticClass:"d-flex justify-space-between mxs-color-helper text-text"},s),[i("v-list-item-title",{staticClass:"mxs-color-helper text-text",domProps:{textContent:e._s(e.text)}}),i("v-icon",{attrs:{size:"24"}},[e._v(" mdi-menu-right ")])],1):i("div",e._g({on:{click:function(t){e.activator?e.isOpened=!0:e.menuOpen=!0}}},s),[e._t("activator",(function(){return[i("v-list-item",{attrs:{link:"",dense:""}},[i("v-list-item-title",{staticClass:"mxs-color-helper text-text",domProps:{textContent:e._s(e.text)}})],1)]}))],2)]}}],null,!0)},[i("v-list",[e._l(e.items,(function(t,s){return[t.divider?i("v-divider",{key:s}):t.children?i("mxs-sub-menu",{key:"mxs-sub-menu-"+s,attrs:{isOffsetX:!0,isOffsetY:!1,isSubMenu:!0,items:t.children,text:t.text,transition:e.nestedMenuTransition,"open-delay":e.nestedMenuOpenDelay,"open-on-hover":!0},on:{"item-click":e.emitClickEvent}}):i("v-list-item",{key:"v-list-item-"+s,attrs:{dense:"",link:""},on:{click:function(i){return e.emitClickEvent(t)}}},[i("v-list-item-title",{staticClass:"mxs-color-helper text-text",domProps:{textContent:e._s(t.text)}})],1)]}))],2)],1)},r=[],l={props:{value:{type:Boolean,default:!1},activator:{type:String,default:""},text:{type:String,default:""},items:{type:Array,required:!0},left:{type:Boolean,default:!1},nudgeRight:{type:Number,default:0},nudgeBottom:{type:Number,default:0},isOffsetX:{type:Boolean,default:!1},isOffsetY:{type:Boolean,default:!0},isSubMenu:{type:Boolean,default:!1},openOnHover:{type:Boolean,default:!1},transition:{type:String,default:"slide-y-transition"},nestedMenuTransition:{type:String,default:"scale-transition"},openDelay:{type:Number,default:0},nestedMenuOpenDelay:{type:Number,default:150}},data(){return{menuOpen:!1}},computed:{isOpened:{get(){return this.value},set(e){this.$emit("input",e)}}},methods:{emitClickEvent(e){this.$emit("item-click",e),this.activator?this.isOpened=!1:this.menuOpen=!1}}},o=l,a=i("2877"),n=i("6544"),d=i.n(n),h=i("ce7e"),c=i("132d"),u=i("8860"),p=i("da13"),g=i("5d23"),m=i("e449"),x=Object(a["a"])(o,s,r,!1,null,null,null);t["a"]=x.exports;d()(x,{VDivider:h["a"],VIcon:c["a"],VList:u["a"],VListItem:p["a"],VListItemTitle:g["c"],VMenu:m["a"]})},"6b8e":function(e,t,i){},"6da8d":function(e,t,i){"use strict";i("6b8e")},"7bf6":function(e,t,i){"use strict";i("ddb0");var s=i("ce90"),r=i("eb2a");s["b"].mixin({data:()=>({isHover:!1}),computed:{scopedProps(){return{item:this.item,leaf:!this.children,selected:this.isSelected,indeterminate:this.isIndeterminate,active:this.isActive,open:this.isOpen,isHover:this.isHover}}},methods:{onMouseEnter(e){this.isHover=!0,this.treeview.emitItemHovered(e)},onMouseLeave(){this.isHover=!1,this.treeview.emitItemHovered(null)},genNode(){const e=[this.genContent()];this.selectable&&e.unshift(this.genCheckbox()),this.hasChildren?e.unshift(this.genToggle()):e.unshift(...this.genLevel(1)),e.unshift(...this.genLevel(this.level));const t=this.$createElement("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-treeview-node__root",class:{[this.activeClass]:this.isActive},on:{click:e=>{clearTimeout(this.clickTimeout),this.clickTimeout=setTimeout(()=>{this.isDblclick||(e.preventDefault(),e.stopPropagation(),this.openOnClick&&this.hasChildren?this.checkChildren().then(this.open):this.activatable&&!this.disabled&&(this.isActive=!this.isActive,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive()),this.item.canBeHighlighted&&(this.isActive=!0,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive()),this.treeview.emitClick(this.item))},200)},dblclick:()=>{this.isDblclick=!0,clearTimeout(this.dblclickTimeout),this.dblclickTimeout=setTimeout(()=>this.isDblclick=!1,200),this.treeview.emitDblclick(this.item)},contextmenu:e=>{e.preventDefault(),e.stopPropagation(),this.treeview.emitCtxClick({e:e,item:this.item})}}}),e);return t.data=t.data||{},this._g(t.data,{mouseenter:()=>this.onMouseEnter(this.item),mouseleave:()=>this.onMouseLeave(this.item)}),t}}}),t["a"]=r["a"].mixin({methods:{emitClick(e){this.$emit("item:click",e)},emitDblclick(e){this.$emit("item:dblclick",e)},emitCtxClick({e:e,item:t}){this.$emit("item:contextmenu",{e:e,item:t})},emitItemHovered(e){this.$emit("item:hovered",e)}}})},"8fd0":function(e,t,i){},9600:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"virtual-table",class:{"no-userSelect":e.isResizing},style:{cursor:e.isResizing?"col-resize":""}},[i("table-header",{ref:"tableHeader",attrs:{isVertTable:e.isVertTable,headers:e.tableHeaders,boundingWidth:e.maxBoundingWidth,headerStyle:e.headerStyle,curr2dRowsLength:e.curr2dRowsLength,showSelect:e.showSelect,checkboxColWidth:e.checkboxColWidth,isAllselected:e.isAllselected,indeterminate:e.indeterminate,areHeadersHidden:e.areHeadersHidden,scrollBarThicknessOffset:e.scrollBarThicknessOffset},on:{"get-header-width-map":function(t){e.headerWidthMap=t},"is-resizing":function(t){e.isResizing=t},"on-sorting":e.onSorting,"on-group":e.onGrouping,"toggle-select-all":e.handleSelectAll},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)}),e.initialRowsLength&&!e.areHeadersHidden?i("v-virtual-scroll",{ref:"vVirtualScroll",staticClass:"tbody",attrs:{bench:e.isVertTable?1:e.bench,items:e.currRows,height:e.maxTbodyHeight,"item-height":e.rowHeight},nativeOn:{scroll:function(t){return e.scrolling.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.item,r=t.index;return[e.isVertTable?i("vertical-row",e._g({attrs:{row:s,rowIdx:r,tableHeaders:e.tableHeaders,lineHeight:e.lineHeight,headerWidthMap:e.headerWidthMap,cellContentWidthMap:e.cellContentWidthMap,genActivatorID:e.genActivatorID,isDragging:e.isDragging,search:e.search},on:{mousedown:e.onCellDragStart},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)},e.$listeners)):e.isRowGroup(s)&&!e.areHeadersHidden?i("row-group",{attrs:{collapsedRowGroups:e.collapsedRowGroups,selectedGroupRows:e.selectedGroupRows,selectedTblRows:e.selectedTblRows,row:s,tableRows:e.tableRows,isCollapsed:e.isRowGroupCollapsed(s),boundingWidth:e.maxBoundingWidth,lineHeight:e.lineHeight,showSelect:e.showSelect,maxWidth:e.maxRowGroupWidth},on:{"update:collapsedRowGroups":function(t){e.collapsedRowGroups=t},"update:collapsed-row-groups":function(t){e.collapsedRowGroups=t},"update:selectedGroupRows":function(t){e.selectedGroupRows=t},"update:selected-group-rows":function(t){e.selectedGroupRows=t},"update:selectedTblRows":function(t){e.selectedTblRows=t},"update:selected-tbl-rows":function(t){e.selectedTblRows=t},"on-ungroup":function(t){return e.$refs.tableHeader.handleToggleGroup(e.activeGroupBy)}}}):i("horiz-row",e._g({attrs:{row:s,rowIdx:r,selectedTblRows:e.selectedTblRows,areHeadersHidden:e.areHeadersHidden,tableHeaders:e.tableHeaders,lineHeight:e.lineHeight,showSelect:e.showSelect,checkboxColWidth:e.checkboxColWidth,activeRow:e.activeRow,genActivatorID:e.genActivatorID,headerWidthMap:e.headerWidthMap,cellContentWidthMap:e.cellContentWidthMap,isDragging:e.isDragging,search:e.search},on:{"update:selectedTblRows":function(t){e.selectedTblRows=t},"update:selected-tbl-rows":function(t){e.selectedTblRows=t},mousedown:e.onCellDragStart},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)},e.$listeners))]}}],null,!1,3256221485)}):i("div",{staticClass:"tr",style:{lineHeight:e.lineHeight,height:e.maxTbodyHeight+"px"}},[i("div",{staticClass:"td px-3 d-flex justify-center flex-grow-1"},[e._v(" "+e._s(e.$mxs_t("$vuetify.noDataText"))+" ")])]),e.isResizing?i("div",{staticClass:"resizing-mask"}):e._e()],1)},r=[],l=(i("13d5"),i("ddb0"),i("caad"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"virtual-table__header d-flex relative"},[i("div",{staticClass:"thead d-flex",style:{width:e.boundingWidth+"px"}},[e.areHeadersHidden||!e.showSelect||e.isVertTable?e._e():i("div",{staticClass:"th d-flex justify-center align-center",style:Object.assign({},e.headerStyle,{maxWidth:e.checkboxColWidth+"px",minWidth:e.checkboxColWidth+"px"})},[i("v-checkbox",{staticClass:"v-checkbox--scale-reduce ma-0",attrs:{"input-value":e.isAllselected,indeterminate:e.indeterminate,dense:"",primary:"","hide-details":""},on:{change:function(t){return e.$emit("toggle-select-all",t)}}}),i("div",{staticClass:"header__resizer no-pointerEvent d-inline-block fill-height"})],1),e._l(e.tableHeaders,(function(t,s){var r;return[t.hidden?e._e():i("div",{key:t.text+"_"+s,ref:"header__"+s,refInFor:!0,staticClass:"th d-flex align-center px-3",class:(r={pointer:e.enableSorting&&!1!==t.sortable},r["sort--active "+e.sortOrder]=e.activeSort===t.text,r["text-capitalize"]=t.capitalize,r["th--resizable"]=!e.isResizerDisabled(t),r),style:Object.assign({},e.headerStyle,{maxWidth:e.$helpers.handleAddPxUnit(e.headerWidthMap[s]),minWidth:e.$helpers.handleAddPxUnit(e.headerWidthMap[s])}),attrs:{id:e.genHeaderColID(s)},on:{click:function(){return e.enableSorting&&!1!==t.sortable?e.handleSort(t.text):null}}},["#"===t.text?[i("span",[e._v(" "+e._s(t.text))]),i("span",{staticClass:"ml-1 mxs-color-helper text-grayed-out"},[e._v(" ("+e._s(e.curr2dRowsLength)+") ")])]:e._t("header-"+t.text,(function(){return[e._v(" "+e._s(t.text)+" ")]}),{data:{header:t,maxWidth:e.headerTxtMaxWidth({header:t,colIdx:s}),colIdx:s,activatorID:e.genHeaderColID(s)}}),e.enableSorting&&!1!==t.sortable?i("v-icon",{staticClass:"sort-icon ml-2",attrs:{size:"14"}},[e._v(" $vuetify.icons.mxs_arrowDown ")]):e._e(),e.enableGrouping&&e.$typy(t,"groupable").safeBoolean?i("span",{staticClass:"ml-2 text-none",class:[e.activeGroupBy!==t.text||e.isVertTable?"group--inactive":"group--active"],on:{click:function(i){return i.stopPropagation(),function(){return e.handleToggleGroup(t.text)}.apply(null,arguments)}}},[e._v(" "+e._s(e.$mxs_t("group"))+" ")]):e._e(),t.text!==e.$typy(e.lastVisHeader,"text").safeString?i("div",e._g({staticClass:"header__resizer d-inline-block fill-height"},e.isResizerDisabled(t)?null:{mousedown:function(t){return e.resizerMouseDown(t,s)}})):e._e()],2)]}))],2),i("div",{staticClass:"d-inline-block dummy-header",style:{minWidth:e.scrollBarThicknessOffset+"px"}})])}),o=[],a=(i("33d1"),i("ea98"),{name:"table-header",props:{headers:{type:Array,required:!0},boundingWidth:{type:Number,required:!0},headerStyle:{type:Object,required:!0},isVertTable:{type:Boolean,default:!1},curr2dRowsLength:{type:Number,required:!0},showSelect:{type:Boolean,required:!0},checkboxColWidth:{type:Number,required:!0},isAllselected:{type:Boolean,required:!0},indeterminate:{type:Boolean,required:!0},areHeadersHidden:{type:Boolean,required:!0},scrollBarThicknessOffset:{type:Number,required:!0}},data(){return{headerWidthMap:{},isResizing:!1,resizingData:{currCol:null,nxtCol:null,currPageX:0,nxtColWidth:0,currColWidth:0,currColIndex:0,nxtColIndex:0},sortOrder:"asc",activeSort:"",activeGroupBy:""}},computed:{tableHeaders(){return this.isVertTable?[{text:"COLUMN",width:"20%"},{text:"VALUE",width:"80%"}]:this.headers},visHeaders(){return this.tableHeaders.filter(e=>!e.hidden)},lastVisHeader(){return this.visHeaders.length?this.visHeaders.at(-1):{}},enableSorting(){return this.curr2dRowsLength<=1e4&&!this.isVertTable},enableGrouping(){return this.tableHeaders.filter(e=>!e.hidden).length>1},headerMinWidthMap(){return this.tableHeaders.reduce((e,t)=>(e[t.text]=t.minWidth?t.minWidth:this.$typy(t,"groupable").safeBoolean?117:67,e),{})}},watch:{tableHeaders:{deep:!0,handler(e,t){this.$helpers.lodash.isEqual(e,t)||this.recalculateWidth()}},boundingWidth(){this.recalculateWidth()},headerWidthMap:{deep:!0,handler(e){this.$emit("get-header-width-map",e)}},isResizing(e){this.$emit("is-resizing",e)}},created(){window.addEventListener("mousemove",this.resizerMouseMove),window.addEventListener("mouseup",this.resizerMouseUp)},destroyed(){window.removeEventListener("mousemove",this.resizerMouseMove),window.removeEventListener("mouseup",this.resizerMouseUp)},methods:{genHeaderColID(e){return"table-header__header-text_"+e},headerTxtMaxWidth({header:e,colIdx:t}){const i=this.$typy(this.headerWidthMap[t]).safeNumber-(this.enableSorting&&!1!==e.sortable?22:0)-(this.enableGrouping&&this.$typy(e,"groupable").safeBoolean?38:0)-24;return i>0?i:1},isResizerDisabled(e){return"#"===e.text||!1===e.resizable},resetHeaderWidth(){let e={};for(const[t,i]of this.tableHeaders.entries())e={...e,[t]:i.maxWidth?i.maxWidth:i.width?i.width:"unset"};this.headerWidthMap=e},getHeaderWidth(e){const t=this.$typy(this.$refs,`header__${e}[0]`).safeObject;if(t){const{width:e}=t.getBoundingClientRect();return e}return 0},assignHeaderWidthMap(){let e={};for(const[t,i]of this.tableHeaders.entries()){const s=this.headerMinWidthMap[i.text],r=this.getHeaderWidth(t),l=r<s?s:r;e={...e,[t]:l}}this.headerWidthMap=e},recalculateWidth(){this.resetHeaderWidth(),this.$nextTick(()=>this.assignHeaderWidthMap())},hasClass({ele:e,className:t}){let i=` ${e.className} `,s=` ${t} `;return-1!==i.indexOf(s)},getNxtColByClass({node:e,className:t,nxtColIndex:i}){while(e=e.nextSibling)if(i++,this.hasClass({ele:e,className:t}))return{node:e,nxtColIndex:i};return{node:null,nxtColIndex:i}},resizerMouseDown(e,t){let i={currColIndex:t,currCol:e.target.parentElement,currPageX:e.pageX,currColWidth:e.target.parentElement.offsetWidth};const{node:s,nxtColIndex:r}=this.getNxtColByClass({node:i.currCol,className:"th--resizable",nxtColIndex:t});i={...i,nxtCol:s,nxtColIndex:r},i.nxtCol&&(i.nxtColWidth=i.nxtCol.offsetWidth),this.isResizing=!0,this.resizingData={...this.resizingData,...i}},resizerMouseMove(e){if(this.isResizing){const{currPageX:t,currCol:i,currColWidth:s,currColIndex:r,nxtCol:l,nxtColWidth:o,nxtColIndex:a}=this.resizingData,n=e.pageX-t;if(s+n>=this.headerMinWidthMap[this.tableHeaders[r].text]){const e=s+n+"px";if(i.style.maxWidth=e,i.style.minWidth=e,l&&o-n>=this.headerMinWidthMap[this.tableHeaders[a].text]){const e=o-n+"px";l.style.maxWidth,l.style.minWidth=e}this.$nextTick(()=>this.assignHeaderWidthMap())}}},resizerMouseUp(){this.isResizing&&(this.isResizing=!1,this.resizingData={})},handleSort(e){if(this.activeSort===e)switch(this.sortOrder){case"asc":this.sortOrder="desc";break;case"desc":this.sortOrder="asc";break}else this.activeSort=e,this.sortOrder="asc";this.$emit("on-sorting",{sortBy:this.activeSort,isDesc:"asc"!==this.sortOrder})},handleToggleGroup(e){this.activeGroupBy===e?this.activeGroupBy="":this.activeGroupBy=e,this.$emit("on-group",this.activeGroupBy)}}}),n=a,d=(i("6da8d"),i("2877")),h=i("6544"),c=i.n(h),u=i("ac7c"),p=i("132d"),g=Object(d["a"])(n,l,o,!1,null,"5239e274",null),m=g.exports;c()(g,{VCheckbox:u["a"],VIcon:p["a"]});var x=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tr-vertical-group d-flex flex-column"},[e._l(e.tableHeaders,(function(t,s){return[t.hidden?e._e():i("div",{key:t.text+"_"+s,staticClass:"tr align-center",style:{height:e.lineHeight}},[i("table-cell",e._g({staticClass:"border-bottom-none",style:e.headerColStyle,attrs:{slotName:"header-"+t.text,slotData:{rowData:e.row,rowIdx:e.rowIdx,cell:t.text,colIdx:s,header:t,maxWidth:e.headerContentWidth,activatorID:e.genHeaderColID(s),isDragging:e.isDragging}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)},e.$listeners)),i("table-cell",e._g({staticClass:"no-border",style:e.valueColStyle,attrs:{slotName:t.text,slotData:{rowData:e.row,rowIdx:e.rowIdx,cell:e.row[s],colIdx:s,header:t,maxWidth:e.valueContentWidth,activatorID:e.genValueColID(s),isDragging:e.isDragging,search:e.search}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)},e.$listeners))],1)]}))],2)},f=[],v=function(){var e,t=this,i=t.$createElement,s=t._self._c||i;return s("div",t._g({staticClass:"td px-3",class:(e={},e[t.draggableClass]=t.isCellDraggable,e),attrs:{id:t.slotData.activatorID},on:{contextmenu:function(e){return e.preventDefault(),t.$emit("on-cell-right-click",{e:e,row:t.slotData.rowData,cell:t.slotData.cell,activatorID:t.slotData.activatorID})}}},t.isCellDraggable?{mousedown:function(e){return t.$emit("mousedown",e)}}:null),[t._t(t.slotName,(function(){return[s("mxs-truncate-str",{directives:[{name:"mxs-highlighter",rawName:"v-mxs-highlighter",value:{keyword:t.$typy(t.slotData,"search").safeString,txt:t.slotData.cell},expression:"{\n keyword: $typy(slotData, 'search').safeString,\n txt: slotData.cell,\n }"}],attrs:{disabled:t.slotData.isDragging,tooltipItem:{txt:""+t.slotData.cell,activatorID:t.slotData.activatorID},maxWidth:t.slotData.maxWidth}})]}),{data:t.slotData})],2)},b=[],w={name:"table-cell",props:{slotName:{type:String,required:!0},slotData:{type:Object,required:!0}},computed:{draggableClass(){return"cursor--grab no-userSelect"},isCellDraggable(){return this.$typy(this.slotData,"header.draggable").safeBoolean}}},y=w,C=Object(d["a"])(y,v,b,!1,null,null,null),_=C.exports,W={name:"vertical-row",components:{TableCell:_},props:{row:{type:Array,required:!0},rowIdx:{type:Number,required:!0},tableHeaders:{type:Array,validator:e=>!e.length||e.filter(e=>"text"in e).length===e.length,required:!0},lineHeight:{type:String,required:!0},headerWidthMap:{type:Object,required:!0},genActivatorID:{type:Function,required:!0},cellContentWidthMap:{type:Object,required:!0},isDragging:{type:Boolean,default:!0},search:{type:String,required:!0}},computed:{baseColStyle(){return{lineHeight:this.lineHeight,height:this.lineHeight}},headerColStyle(){return{...this.baseColStyle,minWidth:this.$helpers.handleAddPxUnit(this.headerWidthMap[0])}},valueColStyle(){return{...this.baseColStyle,minWidth:this.$helpers.handleAddPxUnit(this.headerWidthMap[1])}},headerContentWidth(){return this.$typy(this.cellContentWidthMap[0]).safeNumber},valueContentWidth(){return this.$typy(this.cellContentWidthMap[1]).safeNumber}},methods:{genHeaderColID(e){return this.genActivatorID(`${this.rowIdx}-${e}-0`)},genValueColID(e){return this.genActivatorID(`${this.rowIdx}-${e}-1`)},ctxMenuHandler({e:e,cell:t,activatorID:i}){this.$emit("on-cell-right-click",{e:e,row:this.row,cell:t,activatorID:i})}}},R=W,S=(i("f379"),Object(d["a"])(R,x,f,!1,null,"01ad3925",null)),H=S.exports,I=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tr",class:{"tr--selected":e.isRowSelected(e.row),"tr--active":e.$helpers.lodash.isEqual(e.activeRow,e.row)},style:{lineHeight:e.lineHeight}},[!e.areHeadersHidden&&e.showSelect?i("div",{staticClass:"td d-flex align-center justify-center",style:{height:e.lineHeight,maxWidth:e.checkboxColWidth+"px",minWidth:e.checkboxColWidth+"px"}},[i("v-checkbox",{staticClass:"v-checkbox--scale-reduce ma-0 pa-0",attrs:{"input-value":e.isRowSelected(e.row),dense:"",primary:"","hide-details":""},on:{change:function(t){return t?e.selectedRows.push(e.row):e.selectedRows.splice(e.getSelectedRowIdx(e.row),1)}}})],1):e._e(),e._l(e.tableHeaders,(function(t,s){return[t.hidden?e._e():i("table-cell",e._g({key:t.text+"_"+e.headerWidthMap[s]+"_"+s,style:{height:e.lineHeight,minWidth:e.$helpers.handleAddPxUnit(e.headerWidthMap[s])},attrs:{slotName:t.text,slotData:{rowData:e.row,rowIdx:e.rowIdx,cell:e.row[s],colIdx:s,header:t,maxWidth:e.$typy(e.cellContentWidthMap[s]).safeNumber,activatorID:e.genActivatorID(e.rowIdx+"-"+s),isDragging:e.isDragging,search:e.search}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,i){return{key:i,fn:function(t){return[e._t(i,null,null,t)]}}}))],null,!0)},e.$listeners))]}))],2)},$=[],D={name:"horiz-row",components:{TableCell:_},props:{row:{type:[Array,Object],required:!0},rowIdx:{type:Number,required:!0},selectedTblRows:{type:Array,required:!0},areHeadersHidden:{type:Boolean,required:!0},tableHeaders:{type:Array,required:!0},lineHeight:{type:String,required:!0},showSelect:{type:Boolean,required:!0},checkboxColWidth:{type:Number,required:!0},activeRow:{type:[Array,Object],required:!0},genActivatorID:{type:Function,required:!0},headerWidthMap:{type:Object,required:!0},cellContentWidthMap:{type:Object,required:!0},isDragging:{type:Boolean,default:!0},search:{type:String,required:!0}},computed:{selectedRows:{get(){return this.selectedTblRows},set(e){this.$emit("update:selectedTblRows",e)}}},methods:{getSelectedRowIdx(e){return this.selectedRows.findIndex(t=>this.$helpers.lodash.isEqual(t,e))},isRowSelected(e){return-1!==this.getSelectedRowIdx(e)}}},T=D,k=Object(d["a"])(T,I,$,!1,null,null,null),G=k.exports;c()(k,{VCheckbox:u["a"]});var O=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tr tr--group",style:{lineHeight:e.lineHeight}},[i("div",{staticClass:"d-flex align-center td pl-1 pr-3 mxs-color-helper border-right-table-border",style:{height:e.lineHeight,minWidth:e.maxWidth+"px",maxWidth:e.maxWidth+"px"}},[i("v-btn",{staticClass:"arrow-toggle",attrs:{width:"24",height:"24",icon:""},on:{click:e.toggleRowGroup}},[i("v-icon",{class:[e.isCollapsed?"rotate-right":"rotate-down"],attrs:{size:"24",color:"deep-ocean"}},[e._v(" mdi-chevron-down ")])],1),e.showSelect?i("v-checkbox",{staticClass:"v-checkbox--scale-reduce ma-0 pa-0",attrs:{"input-value":e.isRowGroupSelected,dense:"",primary:"","hide-details":""},on:{change:e.handleSelectGroup}}):e._e(),i("div",{staticClass:"tr--group__content d-inline-flex align-center",style:{maxWidth:e.maxVisWidth+"px"}},[i("mxs-truncate-str",{staticClass:"font-weight-bold",attrs:{tooltipItem:{txt:""+e.row.groupBy},maxWidth:.15*e.maxVisWidth}}),i("span",{staticClass:"d-inline-block val-separator mr-4"},[e._v(":")]),i("mxs-truncate-str",{attrs:{tooltipItem:{txt:""+e.row.value},maxWidth:.85*e.maxVisWidth}})],1),i("mxs-tooltip-btn",{attrs:{btnClass:"ml-2",width:"24",height:"24",icon:""},on:{click:e.handleUngroup},scopedSlots:e._u([{key:"btn-content",fn:function(){return[i("v-icon",{attrs:{size:"10",color:"deep-ocean"}},[e._v(" $vuetify.icons.mxs_close")])]},proxy:!0}])},[e._v(" "+e._s(e.$mxs_t("ungroup"))+" ")])],1)])},M=[],A={name:"row-group",props:{collapsedRowGroups:{type:Array,required:!0},selectedTblRows:{type:Array,required:!0},selectedGroupRows:{type:Array,required:!0},row:{type:Object,required:!0},tableRows:{type:Array,required:!0},isCollapsed:{type:Boolean,required:!0},boundingWidth:{type:Number,required:!0},lineHeight:{type:String,required:!0},showSelect:{type:Boolean,required:!0},maxWidth:{type:Number,required:!0}},computed:{maxVisWidth(){return this.boundingWidth-18-24-32},collapsedGroups:{get(){return this.collapsedRowGroups},set(e){this.$emit("update:collapsedRowGroups",e)}},selectedGroups:{get(){return this.selectedGroupRows},set(e){this.$emit("update:selectedGroupRows",e)}},selectedGroupItems:{get(){return this.selectedTblRows},set(e){this.$emit("update:selectedTblRows",e)}},selectedGroupIdx(){return this.selectedGroups.findIndex(e=>this.$helpers.lodash.isEqual(e,this.row))},areGroupItemsSelected(){return this.getGroupItems().every(e=>this.selectedGroupItems.includes(e))},isRowGroupSelected(){return!!(this.areGroupItemsSelected||-1!==this.selectedGroupIdx&&this.areGroupItemsSelected)}},methods:{toggleRowGroup(){const e=this.collapsedGroups.findIndex(e=>this.$helpers.lodash.isEqual(this.row,e));this.collapsedGroups=e>=0?[...this.collapsedGroups.slice(0,e),...this.collapsedGroups.slice(e+1)]:[...this.collapsedGroups,this.row]},handleUngroup(){this.collapsedGroups=[],this.$emit("on-ungroup")},getGroupItems(){const{isEqual:e}=this.$helpers.lodash,t=this.tableRows.findIndex(t=>e(t,this.row));let i=[],s=t+1;while(-1!==s)Array.isArray(this.tableRows[s])?(i.push(this.tableRows[s]),s++):s=-1;return i},handleSelectGroupItems(e){const{isEqual:t,xorWith:i,differenceWith:s}=this.$helpers.lodash;let r=this.getGroupItems(),l=[];l=e?i(this.selectedGroupItems,r,t):s(this.selectedGroupItems,r,t),this.selectedGroupItems=l},handleSelectGroup(e){e?this.selectedGroups.push(this.row):this.selectedGroups.splice(this.selectedGroupIdx,1),this.handleSelectGroupItems(e)}}},B=A,q=i("8336"),V=Object(d["a"])(B,O,M,!1,null,null,null),z=V.exports;c()(V,{VBtn:q["a"],VCheckbox:u["a"],VIcon:p["a"]});var E=i("556c"),N={name:"mxs-virtual-scroll-tbl",components:{TableHeader:m,VerticalRow:H,HorizRow:G,RowGroup:z},mixins:[E["a"]],props:{headers:{type:Array,validator:e=>!e.length||e.filter(e=>"text"in e).length===e.length,required:!0},rows:{type:Array,required:!0},maxHeight:{type:Number,required:!0},itemHeight:{type:Number,required:!0},boundingWidth:{type:Number,required:!0},bench:{type:Number,default:10},isVertTable:{type:Boolean,default:!1},showSelect:{type:Boolean,default:!1},groupBy:{type:String,default:""},activeRow:{type:Array,default:()=>[]},search:{type:String,default:""}},data(){return{headerWidthMap:{},headerStyle:{},isResizing:!1,lastScrollTop:0,idxOfSortingCol:-1,isDesc:!1,activeGroupBy:"",idxOfGroupCol:-1,collapsedRowGroups:[],selectedTblRows:[],selectedGroupRows:[]}},computed:{scrollBarThicknessOffset(){return this.$helpers.getScrollbarWidth()},maxBoundingWidth(){return this.boundingWidth-(this.isYOverflowed?this.scrollBarThicknessOffset:0)},lineHeight(){return this.itemHeight+"px"},maxRowGroupWidth(){let e=Object.values(this.headerWidthMap).reduce((e,t,i)=>(i!==this.idxOfGroupCol&&(e+=this.$typy(t).safeNumber),e),0);return this.showSelect&&(e+=this.checkboxColWidth),e},checkboxColWidth(){return this.activeGroupBy?82:50},visHeaders(){return this.tableHeaders.filter(e=>!e.hidden)},rowHeight(){return this.isVertTable?this.itemHeight*this.visHeaders.length:this.itemHeight},rowsHeight(){return this.currRowsLength*this.rowHeight+this.scrollBarThicknessOffset},maxTbodyHeight(){return this.maxHeight-30},isYOverflowed(){return this.rowsHeight>this.maxTbodyHeight},initialRowsLength(){return this.rows.length},curr2dRowsLength(){return this.currRows.filter(e=>!this.isRowGroup(e)).length},currRowsLength(){return this.currRows.length},tableRows(){let e=this.$helpers.stringifyClone(this.rows);return-1!==this.idxOfSortingCol&&this.handleSort(e),-1===this.idxOfGroupCol||this.isVertTable||(e=this.handleGroupRows(e)),e},currRows(){return this.handleFilterGroupRows(this.tableRows)},tableHeaders(){return-1===this.idxOfGroupCol?this.headers:this.headers.map(e=>this.activeGroupBy===e.text?{...e,hidden:!0}:e)},isAllselected(){return!!this.selectedTblRows.length&&this.selectedTblRows.length===this.initialRowsLength},indeterminate(){return!!this.selectedTblRows.length&&(!this.isAllselected&&this.selectedTblRows.length<this.initialRowsLength)},areHeadersHidden(){return 0===this.visHeaders.length},cellContentWidthMap(){return Object.keys(this.headerWidthMap).reduce((e,t)=>(e[t]=this.$typy(this.headerWidthMap[t]).safeNumber-24,e),{})}},watch:{selectedTblRows:{deep:!0,handler(e){this.$emit("selected-rows",e)}},rows:{deep:!0,handler(e,t){this.$helpers.lodash.isEqual(e,t)||(this.selectedTblRows=[])}},isVertTable(e){e&&(this.selectedTblRows=[])}},mounted(){this.groupBy&&this.$refs.tableHeader.handleToggleGroup(this.groupBy)},activated(){this.$refs.vVirtualScroll&&(this.$refs.vVirtualScroll.$el.scrollTop=1,this.$refs.vVirtualScroll.$el.scrollTop=this.lastScrollTop)},methods:{scrolling(e){const t=e.currentTarget||e.target;this.headerStyle={...this.headerStyle,position:"relative",left:`-${t.scrollLeft}px`},this.lastScrollTop=t.scrollTop,t&&t.scrollHeight-t.scrollTop===t.clientHeight&&this.$emit("scroll-end")},genActivatorID:e=>"activator_id-"+e,onSorting({sortBy:e,isDesc:t}){this.idxOfSortingCol=this.tableHeaders.findIndex(t=>t.text===e),this.isDesc=t},handleSort(e){e.sort((e,t)=>this.isDesc?t[this.idxOfSortingCol]<e[this.idxOfSortingCol]?-1:1:e[this.idxOfSortingCol]<t[this.idxOfSortingCol]?-1:1)},groupValues({rows:e,idx:t}){let i=new Map;return e.forEach(e=>{const s=e[t];let r=i.get(s)||[];r.push(e),i.set(s,r)}),i},handleGroupRows(e){let t=this.groupValues({rows:e,idx:this.idxOfGroupCol});const i=this.headers[this.idxOfGroupCol];i.customGroup&&(t=i.customGroup({rows:e,idx:this.idxOfGroupCol}));let s=[];for(const[r,l]of t)s.push({groupBy:this.activeGroupBy,value:r,groupLength:l.length}),s=[...s,...l];return s},onGrouping(e){this.activeGroupBy=e,this.idxOfGroupCol=this.headers.findIndex(t=>t.text===e),this.$emit("is-grouping",Boolean(e))},isRowGroup(e){return this.$typy(e).isObject},isRowGroupCollapsed(e){const t=this.collapsedRowGroups.findIndex(t=>this.$helpers.lodash.isEqual(e,t));return-1!==t},handleFilterGroupRows(e){let t=[];if(this.collapsedRowGroups.length)for(const[i,s]of e.entries())this.isRowGroupCollapsed(s)&&(t=[...t,...Array(s.groupLength).fill().map((e,t)=>t+i+1)]);return e.filter((e,i)=>!t.includes(i))},handleSelectAll(e){e?(this.selectedTblRows=this.tableRows.filter(e=>Array.isArray(e)),this.selectedGroupRows=this.tableRows.filter(e=>!Array.isArray(e))):(this.selectedTblRows=[],this.selectedGroupRows=[])},onCellDragStart(e){e.preventDefault(),this.isDragging=!0,this.dragTarget=e.target}}},j=N,L=(i("f92c"),i("0de5")),P=Object(d["a"])(j,s,r,!1,null,null,null);t["a"]=P.exports;c()(P,{VVirtualScroll:L["a"]})},ceaf:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["d-flex flex-column detail-overview",e.wrapperClass]},[i("p",{staticClass:"detail-overview__title text-body-2 mb-3 text-uppercase mxs-color-helper font-weight-bold text-navigation"},[e._t("title",(function(){return[i("span",{style:{visibility:"hidden"}},[e._v("hidden")])]}))],2),i("v-card",e._g({staticClass:"d-flex align-center justify-center flex-column detail-overview__card",class:[e.hover&&"pointer detail-overview__card--hover"].concat(e.cardClass),attrs:{tile:e.tile,height:"75",outlined:""}},e.hoverableCard?{mouseenter:function(t){return e.hoverHandle(t)},mouseleave:function(t){return e.hoverHandle(t)}}:null),[e._t("card-body")],2)],1)},r=[],l={name:"outlined-overview-card",props:{tile:{type:Boolean,default:!0},wrapperClass:String,cardClass:String,hoverableCard:{type:Boolean,default:!1}},data(){return{hover:!1}},methods:{hoverHandle(e){this.hover="mouseenter"===e.type,this.$emit("card-hover",this.hover)}}},o=l,a=(i("fc86"),i("2877")),n=i("6544"),d=i.n(n),h=i("b0af"),c=Object(a["a"])(o,s,r,!1,null,"5c30b278",null);t["a"]=c.exports;d()(c,{VCard:h["a"]})},e0a3:function(e,t,i){},f379:function(e,t,i){"use strict";i("e0a3")},f92c:function(e,t,i){"use strict";i("00c5")},fc86:function(e,t,i){"use strict";i("8fd0")}}]);
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com