diff --git a/ams/dashboard/src/language/en.ts b/ams/dashboard/src/language/en.ts index 1e3cd793c8..8909f0d65c 100644 --- a/ams/dashboard/src/language/en.ts +++ b/ams/dashboard/src/language/en.ts @@ -72,6 +72,7 @@ export default { filterPlaceholder: 'Filter {inputPh}', basicInformation: 'Basic Information', partition: 'Partition', + taskId: 'Task ID', fileCount: 'File Count', fsn: 'FSN', commitTime: 'Commit Time', @@ -99,6 +100,9 @@ export default { optimizingStatus: 'Optimizing Status', optimzerGroup: 'Optimizer Group', allGroups: 'All Groups', + retry: 'Retry', + costTime: 'Cost Time', + thread: 'Thread', resourceOccupation: 'Resource Occupation', core: 'Core', scaleOut: 'Scale-Out', @@ -129,6 +133,7 @@ export default { ready: 'Ready', running: 'Running', cancel: 'Cancel', + cancelProcess: 'Cancel Process', finish: 'Finish', fail: 'Fail', loading: 'Loading', @@ -179,7 +184,7 @@ export default { cannotDeleteGroupModalTitle: "Can't remove this group.", cannotDeleteGroupModalContent: 'This group has been used.', deleteGroupModalTitle: 'Remove this group', - processId: 'Process Id', + processId: 'Process ID', tasks: 'Tasks', recordChartTitle: 'Table record count', fileChartTitle: 'Table file count', diff --git a/ams/dashboard/src/main/resources/static/css/chunk-02607735.47f42312.css b/ams/dashboard/src/main/resources/static/css/chunk-7a2c483a.f96050f2.css similarity index 53% rename from ams/dashboard/src/main/resources/static/css/chunk-02607735.47f42312.css rename to ams/dashboard/src/main/resources/static/css/chunk-7a2c483a.f96050f2.css index a71ec79403..06fed47c57 100644 --- a/ams/dashboard/src/main/resources/static/css/chunk-02607735.47f42312.css +++ b/ams/dashboard/src/main/resources/static/css/chunk-7a2c483a.f96050f2.css @@ -1 +1 @@ -.table-detail .left-content[data-v-1a704e23],.table-detail .right-content[data-v-1a704e23]{padding:0 24px 12px;flex-shrink:0;flex-direction:column}.table-detail .left-content[data-v-1a704e23]{flex:2}.table-detail .right-content[data-v-1a704e23]{flex:1;padding-left:0}.table-detail .table-attrs[data-v-1a704e23]{margin-top:16px}.table-detail .attr-title[data-v-1a704e23]{font-size:16px;line-height:24px;font-weight:700;color:#102048;padding-bottom:12px}.table-partitons[data-v-a19b17ea]{padding:18px 24px}.table-partitons .text-active[data-v-a19b17ea]{color:#1890ff;cursor:pointer}.table-operations{padding:12px}.table-operations .ant-table-tbody>tr>td{white-space:pre}.table-operations .text-active{color:#1890ff;cursor:pointer}.operation-wrap .ant-modal-body{max-height:360px;overflow-y:auto;white-space:pre}.echarts-loading{width:100%!important}.timeline-echarts .echarts-tooltip-dark{background-color:rgba(0,0,0,.7)!important;line-height:20px!important;border:1px solid #e9ebf1!important}.branch-selector{margin-top:32px;display:flex;align-items:center}.branch-selector .branch-btn{display:flex;align-items:center;color:#102048}.branch-selector .branch-btn .branch-btn-label{line-height:32px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-selector .ant-dropdown{background:#fff;width:300px;height:auto;max-height:480px;padding:8px 0 16px 0;font-size:12px;border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05)}.branch-selector .ant-dropdown .branch-selector-search{margin:0 12px 8px 12px}.branch-selector .ant-dropdown .ant-tabs{margin:0 12px}.branch-selector .ant-dropdown .ant-tabs .ant-tabs-tabpane{height:240px;overflow-y:auto}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item{display:flex;align-items:center;width:100%;padding:7px 16px;overflow:hidden;text-align:left;cursor:pointer}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item:hover{background-color:rgba(0,0,0,.04)}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item .item-icon{margin-right:4px;width:16px}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item .item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102048}.branch-selector .empty-tips{margin-top:12px;display:block;width:100%;text-align:center;color:#102048}.table-snapshots[data-v-21a1677f]{padding:18px 24px}.table-snapshots .text-active[data-v-21a1677f]{color:#1890ff;cursor:pointer}.table-snapshots[data-v-21a1677f] .ant-btn-link{padding:0}.table-snapshots .ant-table-wrapper[data-v-21a1677f]{margin-top:24px}.table-optinize[data-v-7de44d54]{padding:18px 24px}.table-optinize[data-v-7de44d54] .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{height:100%!important}.table-optinize[data-v-7de44d54] .ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:1px solid #e8e8f0}.table-optinize[data-v-7de44d54] .ant-table-thead>tr>th{padding:4px 16px!important}.status-icon[data-v-7de44d54]{width:8px;height:8px;border-radius:8px;background-color:#c9cdd4;display:inline-block;margin-right:8px}.table-failed-tip .ant-tooltip-content{width:800px}.table-failed-tip .tip-title{display:block;max-height:700px;overflow:auto;white-space:pre-wrap}.tables-wrap[data-v-3ca83c09]{font-size:14px;border:1px solid #e8e8f0;padding:12px 0;min-height:100%}.tables-wrap .create-time[data-v-3ca83c09]{margin-top:12px}.tables-wrap .tables-menu-wrap[data-v-3ca83c09]{position:fixed;width:100%;height:100%;top:0;left:200px;z-index:100}.tables-wrap .table-name[data-v-3ca83c09]{font-size:24px;line-height:1.5;margin-right:16px;max-width:400px;padding-left:24px}.tables-wrap .table-info[data-v-3ca83c09]{padding:12px 24px 0 24px}.tables-wrap .table-info .text-color[data-v-3ca83c09]{color:#7cb305}.tables-wrap .table-info .ant-divider-vertical[data-v-3ca83c09]{height:1.2em;margin:0 12px}.tables-wrap .table-edit[data-v-3ca83c09]{font-size:18px;padding-right:12px}.tables-wrap[data-v-3ca83c09] .ant-tabs-nav{padding-left:12px;margin-bottom:0} \ No newline at end of file +.table-detail .left-content[data-v-1a704e23],.table-detail .right-content[data-v-1a704e23]{padding:0 24px 12px;flex-shrink:0;flex-direction:column}.table-detail .left-content[data-v-1a704e23]{flex:2}.table-detail .right-content[data-v-1a704e23]{flex:1;padding-left:0}.table-detail .table-attrs[data-v-1a704e23]{margin-top:16px}.table-detail .attr-title[data-v-1a704e23]{font-size:16px;line-height:24px;font-weight:700;color:#102048;padding-bottom:12px}.table-partitons[data-v-c1547390]{padding:18px 24px}.table-partitons .text-active[data-v-c1547390]{color:#1890ff;cursor:pointer}.table-operations{padding:12px}.table-operations .ant-table-tbody>tr>td{white-space:pre}.table-operations .text-active{color:#1890ff;cursor:pointer}.operation-wrap .ant-modal-body{max-height:360px;overflow-y:auto;white-space:pre}.echarts-loading{width:100%!important}.timeline-echarts .echarts-tooltip-dark{background-color:rgba(0,0,0,.7)!important;line-height:20px!important;border:1px solid #e9ebf1!important}.branch-selector{margin-top:32px;display:flex;align-items:center}.branch-selector .branch-btn{display:flex;align-items:center;color:#102048}.branch-selector .branch-btn .branch-btn-label{line-height:32px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-selector .ant-dropdown{background:#fff;width:300px;height:auto;max-height:480px;padding:8px 0 16px 0;font-size:12px;border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05)}.branch-selector .ant-dropdown .branch-selector-search{margin:0 12px 8px 12px}.branch-selector .ant-dropdown .ant-tabs{margin:0 12px}.branch-selector .ant-dropdown .ant-tabs .ant-tabs-tabpane{height:240px;overflow-y:auto}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item{display:flex;align-items:center;width:100%;padding:7px 16px;overflow:hidden;text-align:left;cursor:pointer}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item:hover{background-color:rgba(0,0,0,.04)}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item .item-icon{margin-right:4px;width:16px}.branch-selector .ant-dropdown .ant-tabs .branch-selector-item .item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102048}.branch-selector .empty-tips{margin-top:12px;display:block;width:100%;text-align:center;color:#102048}.table-snapshots[data-v-4a105faf]{padding:18px 24px}.table-snapshots .text-active[data-v-4a105faf]{color:#1890ff;cursor:pointer}.table-snapshots[data-v-4a105faf] .ant-btn-link{padding:0}.table-snapshots .ant-table-wrapper[data-v-4a105faf]{margin-top:24px}.table-optimizing[data-v-66f12fbb]{padding:18px 24px}.table-optimizing[data-v-66f12fbb] .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{height:100%!important}.table-optimizing[data-v-66f12fbb] .ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:1px solid #e8e8f0}.table-optimizing[data-v-66f12fbb] .ant-table-thead>tr>th{padding:4px 16px!important}.status-icon[data-v-66f12fbb]{width:8px;height:8px;border-radius:8px;background-color:#c9cdd4;display:inline-block;margin-right:8px}.table-optimizing .text-active{color:#1890ff;cursor:pointer}.table-optimizing .ant-btn-link{padding:0}.table-failed-tip .ant-tooltip-content{width:800px}.table-failed-tip .tip-title{display:block;max-height:700px;overflow:auto;white-space:pre-wrap}.tables-wrap[data-v-4759e59e]{font-size:14px;border:1px solid #e8e8f0;padding:12px 0;min-height:100%}.tables-wrap .create-time[data-v-4759e59e]{margin-top:12px}.tables-wrap .tables-menu-wrap[data-v-4759e59e]{position:fixed;width:100%;height:100%;top:0;left:200px;z-index:100}.tables-wrap .table-name[data-v-4759e59e]{font-size:24px;line-height:1.5;margin-right:16px;max-width:400px;padding-left:24px}.tables-wrap .table-info[data-v-4759e59e]{padding:12px 24px 0 24px}.tables-wrap .table-info .text-color[data-v-4759e59e]{color:#7cb305}.tables-wrap .table-info .ant-divider-vertical[data-v-4759e59e]{height:1.2em;margin:0 12px}.tables-wrap .table-edit[data-v-4759e59e]{font-size:18px;padding-right:12px}.tables-wrap[data-v-4759e59e] .ant-tabs-nav{padding-left:12px;margin-bottom:0} \ No newline at end of file diff --git a/ams/dashboard/src/main/resources/static/index.html b/ams/dashboard/src/main/resources/static/index.html index 2fe916bcbd..4ca2cd8009 100644 --- a/ams/dashboard/src/main/resources/static/index.html +++ b/ams/dashboard/src/main/resources/static/index.html @@ -1 +1 @@ -
=v.length)&&(M=this.addView(d,N,O,e,f),this.unuseView(M,!0),v=u.get(f)),M=v[g],M.item=O,M.nr.used=!0,M.nr.index=N,M.nr.key=e,M.nr.type=f,j.set(f,g+1),g++),r.set(e,M)),M.position=null===i?l[N-1].accumulator:N*i):M&&this.unuseView(M)}return this.$_startIndex=b,this.$_endIndex=p,this.emitUpdate&&this.$emit("update",b,p),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:m}},getListenerTarget(){let e=De(this.$el);return!window.document||e!==window.document.documentElement&&e!==window.document.body||(e=window),e},getScroll(){const{$el:e,direction:t}=this,i="vertical"===t;let a;if(this.pageMode){const t=e.getBoundingClientRect(),n=i?t.height:t.width;let o=-(i?t.top:t.left),s=i?window.innerHeight:window.innerWidth;o<0&&(s+=o,o=0),o+s>n&&(s=n-o),a={start:o,end:o+s}}else a=i?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return a},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!Se&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;t=null===this.itemSize?e>0?this.sizes[e-1].accumulator:0:e*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){"vertical"===this.direction?this.$el.scrollTop=e:this.$el.scrollLeft=e},itemsLimitError(){throw setTimeout(()=>{}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.index-t.index)}}};const Ue={key:0,class:"vue-recycle-scroller__slot"},xe={key:1,class:"vue-recycle-scroller__slot"};function $e(e,t,i,n,o,s){const c=Object(a["resolveComponent"])("ResizeObserver"),l=Object(a["resolveDirective"])("observe-visibility");return Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createBlock"])("div",{class:["vue-recycle-scroller",{ready:o.ready,"page-mode":i.pageMode,["direction-"+e.direction]:!0}],onScrollPassive:t[2]||(t[2]=(...e)=>s.handleScroll&&s.handleScroll(...e))},[e.$slots.before?(Object(a["openBlock"])(),Object(a["createBlock"])("div",Ue,[Object(a["renderSlot"])(e.$slots,"before")])):Object(a["createCommentVNode"])("v-if",!0),Object(a["createVNode"])("div",{ref:"wrapper",style:{["vertical"===e.direction?"minHeight":"minWidth"]:o.totalSize+"px"},class:"vue-recycle-scroller__item-wrapper"},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(o.pool,i=>(Object(a["openBlock"])(),Object(a["createBlock"])("div",{key:i.nr.id,style:o.ready?{transform:`translate${"vertical"===e.direction?"Y":"X"}(${i.position}px)`}:null,class:["vue-recycle-scroller__item-view",{hover:o.hoverKey===i.nr.key}],onMouseenter:e=>o.hoverKey=i.nr.key,onMouseleave:t[1]||(t[1]=e=>o.hoverKey=null)},[Object(a["renderSlot"])(e.$slots,"default",{item:i.item,index:i.nr.index,active:i.nr.used})],46,["onMouseenter"]))),128))],4),e.$slots.after?(Object(a["openBlock"])(),Object(a["createBlock"])("div",xe,[Object(a["renderSlot"])(e.$slots,"after")])):Object(a["createCommentVNode"])("v-if",!0),Object(a["createVNode"])(c,{onNotify:s.handleResize},null,8,["onNotify"])],34)),[[l,s.handleVisibilityChange]])}Ee.render=$e,Ee.__file="src/components/RecycleScroller.vue";var Ae={name:"DynamicScroller",components:{RecycleScroller:Ee},provide(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver(e=>{for(const t of e)if(t.target){const e=new CustomEvent("resize",{detail:{contentRect:t.contentRect}});t.target.dispatchEvent(e)}})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...Ie,minItemSize:{type:[Number,String],required:!0}},emits:["resize","visible"],data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:Le,itemsWithSize(){const e=[],{items:t,keyField:i,simpleArray:a}=this,n=this.vscrollData.sizes;for(let o=0;o>1,c=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,u-=8);t[n+f-p]|=128*g}},add7:function(t,e,n){"use strict";n("0855")},b311:function(t,e,n){
+e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,u=-7,h=n?i-1:0,d=n?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;di)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return M(this,t,e,n);case"utf8":case"utf-8":return T(this,t,e,n);case"ascii":return C(this,t,e,n);case"latin1":case"binary":return j(this,t,e,n);case"base64":return I(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function L(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var n="",r=0;while(rs&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;di)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return M(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function L(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var n="",r=0;while(r0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(ls&&(l=s);var u=a;a=i-l,l=i-u}a++;while(as&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(ls&&(l=s);var c=a;a=i-l,l=i-c}a++;while(as&&(l=s);var c=a;a=i-l,l=i-c}else{s=r-i;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(ag[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=Object(mt["map"])(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e