var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(d){var q=0;return function(){return q<d.length?{done:!1,value:d[q++]}:{done:!0}}};$jscomp.arrayIterator=function(d){return{next:$jscomp.arrayIteratorImpl(d)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(d,q,v){if(d==Array.prototype||d==Object.prototype)return d;d[q]=v.value;return d};$jscomp.getGlobal=function(d){d=["object"==typeof globalThis&&globalThis,d,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var q=0;q<d.length;++q){var v=d[q];if(v&&v.Math==Math)return v}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(d,q){var v=$jscomp.propertyToPolyfillSymbol[q];if(null==v)return d[q];v=d[v];return void 0!==v?v:d[q]};
$jscomp.polyfill=function(d,q,v,D){q&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(d,q,v,D):$jscomp.polyfillUnisolated(d,q,v,D))};$jscomp.polyfillUnisolated=function(d,q,v,D){v=$jscomp.global;d=d.split(".");for(D=0;D<d.length-1;D++){var y=d[D];if(!(y in v))return;v=v[y]}d=d[d.length-1];D=v[d];q=q(D);q!=D&&null!=q&&$jscomp.defineProperty(v,d,{configurable:!0,writable:!0,value:q})};
$jscomp.polyfillIsolated=function(d,q,v,D){var y=d.split(".");d=1===y.length;D=y[0];D=!d&&D in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var L=0;L<y.length-1;L++){var X=y[L];if(!(X in D))return;D=D[X]}y=y[y.length-1];v=$jscomp.IS_SYMBOL_NATIVE&&"es6"===v?D[y]:null;q=q(v);null!=q&&(d?$jscomp.defineProperty($jscomp.polyfills,y,{configurable:!0,writable:!0,value:q}):q!==v&&(void 0===$jscomp.propertyToPolyfillSymbol[y]&&(v=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[y]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(y):$jscomp.POLYFILL_PREFIX+v+"$"+y),$jscomp.defineProperty(D,$jscomp.propertyToPolyfillSymbol[y],{configurable:!0,writable:!0,value:q})))};$jscomp.initSymbol=function(){};
$jscomp.polyfill("Symbol",function(d){if(d)return d;var q=function(L,X){this.$jscomp$symbol$id_=L;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:X})};q.prototype.toString=function(){return this.$jscomp$symbol$id_};var v="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",D=0,y=function(L){if(this instanceof y)throw new TypeError("Symbol is not a constructor");return new q(v+(L||"")+"_"+D++,L)};return y},"es6","es3");
$jscomp.polyfill("Symbol.iterator",function(d){if(d)return d;d=Symbol("Symbol.iterator");for(var q="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),v=0;v<q.length;v++){var D=$jscomp.global[q[v]];"function"===typeof D&&"function"!=typeof D.prototype[d]&&$jscomp.defineProperty(D.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return d},"es6",
"es3");$jscomp.iteratorPrototype=function(d){d={next:d};d[Symbol.iterator]=function(){return this};return d};$jscomp.iteratorFromArray=function(d,q){d instanceof String&&(d+="");var v=0,D=!1,y={next:function(){if(!D&&v<d.length){var L=v++;return{value:q(L,d[L]),done:!1}}D=!0;return{done:!0,value:void 0}}};y[Symbol.iterator]=function(){return y};return y};$jscomp.polyfill("Array.prototype.keys",function(d){return d?d:function(){return $jscomp.iteratorFromArray(this,function(q){return q})}},"es6","es3");
$jscomp.findInternal=function(d,q,v){d instanceof String&&(d=String(d));for(var D=d.length,y=0;y<D;y++){var L=d[y];if(q.call(v,L,y,d))return{i:y,v:L}}return{i:-1,v:void 0}};$jscomp.polyfill("Array.prototype.find",function(d){return d?d:function(q,v){return $jscomp.findInternal(this,q,v).v}},"es6","es3");
(function(){function d(e,l,r,x){aa.call(this,e,l,r,x);var b=this.protectedMethod;this.saveModelerModel=function(c,f,h,m){c={modelId:c,modelName:f,modelDesc:h,modelerModel:JSON.stringify(m)};b.remote("saveModelerModel",c)};this.loadModelerInfo=function(c){b.remote("loadModelerInfo",{modelId:c})};this.lockModel=function(c){b.remote("lockModel",{modelId:c})};this.unLockModel=function(c){b.remote("unLockModel",{modelId:c})};this.getModelerModelVersion=function(c){b.remote("getModelerModelVersion",{modelId:c})};
this.lockAndReloadModelerInfo=function(c){b.remote("lockAndReloadModelerInfo",{modelId:c})};this.loadDeployModelerForUserOperation=function(c){c={modelIds:JSON.stringify(c)};b.remote("loadDeployModelerForUserOperation",c)}}function q(e,l,r,x){aa.call(this,e,l,r,x);var b=this.protectedMethod;this.deploySingleModelForDesigner=function(c,f,h){b.remote("deploySingleModelForDesigner",{modelId:f,modelSetId:c,desc:h})};this.getLatestDeploy=function(c){b.remote("loadCurrentDeployModeler",{modelId:c})};this.needDeployRefModel=
function(c){b.remote("needDeployRefModel",{modelId:c})};this.loadNeedDeployRefModel=function(c){b.remote("loadNeedDeployRefModel",{modelId:c})};this.deployModelForModelSetSource=function(c,f,h,m){c={modelId:f,modelSetId:c,desc:h,needDeployModelIds:JSON.stringify(m)};b.remote("deployModelForModelSetSource",c)}}function v(e,l,r,x){aa.call(this,e,l,r,x);var b=this.protectedMethod;this.designerLoadSources=function(){var c={modelSetId:com.kingdee.bos.qing.common.Util.decodeParamFromUrl(window.location.search,
"modelSetId")};b.remote("designerLoadSources",c)};this.loadNoAuthRefSourceIds=function(c){c={sourceIds:JSON.stringify(c)};b.remote("loadNoAuthRefSourceIds",c)};this.loadMetricsUseSource=function(c){c={sourceIds:JSON.stringify(c)};b.remote("loadMetricsUseSource",c)}}function D(){ia.call(this);var e=this.protectedMethod,l=this,r,x,b;(function(){e.setTitle(g.get("deploy","\u90e8\u7f72"));l.setSize(400,300);e.setContentPaneCreator(function(){if(!r){r=$("<div>");r.css("display","flex");var c=new ja;c.setRequired(!0);
c.setText(g.get("description","\u63cf\u8ff0"));c=c.getJqUi();c.css({position:"relative",top:"9px",width:"auto",height:"20px","margin-right":"10px"});x=new ka;var f=x.getJqUi();f.css({position:"relative",top:"14px",width:"300px",height:"150px"});f.find(".sa-ctrl-textarea-real").css("font-family","MicrosoftYaHei");c.appendTo(r);f.appendTo(r)}return r});e.setClosingChecker2(function(c){c=$.trim(x.getText());var f;""!==c&&500<c.length?f=g.get("deployDescTooLong","\u90e8\u7f72\u63cf\u8ff0\u4e0d\u80fd\u8d85\u8fc7500\u4e2a\u5b57\u7b26\u3002"):
""===c&&(f=g.get("enterDeployDesc","\u8bf7\u8f93\u5165\u90e8\u7f72\u63cf\u8ff0\u3002"));if(f)return e.getMessageCurtain().showPrompt(f),!1;b&&b(c);return!0});e.setClosingAction(function(c){})})();this.setDescConfirmCallback=function(c){b=c};this.textFieldFocus=function(){x&&x.requestFocus()}}function y(){var e,l,r,x;this.getJqUi=function(){if(!l){l=$("<div>");l.css("position","relative");l.css("top","40px");l.css("left","0px");l.css("height","23px");r=new la;r.setText(g.get("chooseApp","\u8bf7\u9009\u62e9\u4e00\u4e2a\u5e94\u7528"));
r.setReadonly("readonly");var c=r.getJqUi();c.on("click",b);var f=$("<div>");ba.background(f,"f7");f.css("z-index","1");f.css("cursor","pointer");f.on("click",b);c.find(":input").css({overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",padding:"0px 16px 0px 4px","font-size":"12px"});O.layoutCtrlWithLRTB(f,null,10,16,0,null,16);O.layoutCtrlWithLRTB(c,40,8,null,null,null,23);var h=$("<span>");h.text(g.get("app","\u5e94\u7528"));h.css("color","#666");h.css("font-size","12px");O.layoutCtrlWithLRTB(h,
5,null,null,4.5,null,null);c.appendTo(l);f.appendTo(l);h.appendTo(l)}return l};this.getTextField=function(){return r};this.setFunSelectedChangeListener=function(c){x=c};this.getFunSelectedChangeListener=function(){return x};this.getSelectPair=function(){return e};var b=function(){var c=com.kingdee.bos.qing.integration.AppChooseForm;c.setCallBack(function(f){if(f&&f.content){var h=f.content;f=h.appNumber;var m={};m.text=h.appName;m.value=f;e=m;if(r){h=r;m=h.setText;var t=g.get("chooseApp","\u8bf7\u9009\u62e9\u4e00\u4e2a\u5e94\u7528");
e&&(t=e.text);m.call(h,t)}x(f)}});c.openAppChooseForm()}}function L(){var e,l,r,x;this.getJqUi=function(){if(!l){l=$("<div>");l.css("position","relative");l.css("top","0px");l.css("left","0px");l.css("height","23px");r=new la;r.setText(g.get("chooseApp","\u8bf7\u9009\u62e9\u4e00\u4e2a\u5e94\u7528"));r.setReadonly("readonly");var c=r.getJqUi();c.on("click",b);var f=$("<div>");ba.background(f,"f7");f.css("z-index","1");f.css("cursor","pointer");f.on("click",b);c.find(":input").css({overflow:"hidden",
"white-space":"nowrap","text-overflow":"ellipsis",padding:"0px 16px 0px 4px","font-size":"12px"});O.layoutCtrlWithLRTB(f,null,10,16,0,null,16);O.layoutCtrlWithLRTB(c,40,8,null,null,null,23);var h=$("<span>");h.text(g.get("app","\u5e94\u7528"));h.css("color","#666");h.css("font-size","12px");O.layoutCtrlWithLRTB(h,5,null,null,4.5,null,null);c.appendTo(l);f.appendTo(l);h.appendTo(l)}return l};this.setFunSelectedChangeListener=function(c){x=c};var b=function(){var c=com.kingdee.bos.qing.integration.AppChooseForm;
c.setCallBack(function(f){if(f&&f.content){var h=f.content;f=h.appNumber;var m={};m.text=h.appName;m.value=f;e=m;if(r){h=r;m=h.setText;var t=g.get("chooseApp","\u8bf7\u9009\u62e9\u4e00\u4e2a\u5e94\u7528");e&&(t=e.text);m.call(h,t)}x(f)}});c.openAppChooseForm()}}function X(){ia.call(this);var e=this,l=this.protectedMethod,r,x,b,c;this.setRootNode=function(m){r=m};this.setDescConfirmCallback=function(m){x=m};this.asyncShowDeployDialog=function(){ma.setCallback(function(){f();e.textFieldFocus()});ma.loadJs("common/qing-table.js")};
this.textFieldFocus=function(){c&&c.requestFocus()};var f=function(){e.setSize(640,480);e.setPosition(window.innerWidth-640>>1,window.innerHeight-480>>1);l.setTitle(g.get("deploy","\u90e8\u7f72"));l.setContentPaneCreator(h);l.setClosingAction(function(){});l.setClosingChecker2(function(m){m=$.trim(c.getText());var t;""!==m&&500<m.length?t=g.get("deployDescTooLong","\u90e8\u7f72\u63cf\u8ff0\u4e0d\u80fd\u8d85\u8fc7500\u4e2a\u5b57\u7b26\u3002"):""===m&&(t=g.get("enterDeployDesc","\u8bf7\u8f93\u5165\u90e8\u7f72\u63cf\u8ff0\u3002"));
if(t)return l.getMessageCurtain().showPrompt(t),!1;m=b.getCheckedModelNodes();t=[];for(var n=0;n<m.length;n++){var w=m[n],G=w.getId();w instanceof ca&&t.push(G)}m=$.trim(c.getText());x&&x(m,t);return!0});e.showDialog()},h=function(){var m=$("<div>");b=new Ca(r);var t=b.getJqUi();m.append(t);t=$("<div>");t.addClass("deploy-dialog-batch-split-bottom");m.append(t);t=m.append;var n=new ja;n.setRequired(!0);n.setText(g.get("desc","\u63cf\u8ff0"));n=n.getJqUi();c=new ka;var w=c.getJqUi();w.find(".sa-ctrl-textarea-real").css("font-family",
"MicrosoftYaHei");var G=$("<div>");G.addClass("deploy-dialog-desc-div");n.appendTo(G);w.appendTo(G);O.layoutCtrl(n,0,-8,45,20);O.layoutCtrl(w,35,-5,568,70);O.layoutCtrlCenterAlign(G,600);t.call(m,G);return m}}function Ca(e){function l(){KTDefaultCellRender.call(this,m);var C=this;this.paintCellUI=function(p,F){var u=C.getCurrentRow().getUserObject(),N=u.getName();p=$("<div>");p.addClass("deploy-dialog-tree-area-list-item");var I=new ra,da=I.getJqUi(),P=$("<div>");da.addClass("deploy-dialog-area-list-item-checkbox");
P.addClass("deploy-dialog-area-list-item-text");p.append(da);p.append(P);I.setChecked(u.isChecked());I.setUserObject(u);I.addCheckedListener(T);-1!=f.indexOf(u.getId())&&(I.setEnabled(!1),I.setChecked(!0));h[u.getId()]=I;0==u.getSubNodeLevel()?(P.text(N),"ND_0"==u.getId()?(u=g.get("notDeployedHelpIconTips","\u5728\u540c\u4e00\u4e2a\u6a21\u578b\u96c6\u4e0b\uff0c\u6a21\u578b\u8bbe\u8ba1\u65f6\u53ef\u4f7f\u7528\u5176\u4ed6\u6a21\u578b\u8bbe\u8ba1\u671f\u7684\u72b6\u6001\uff0c\u4f46\u5728\u6267\u884c\u671f(\u6700\u65b0\u90e8\u7f72\u72b6\u6001\u6267\u884c\u65f6)\u53ea\u80fd\u4f7f\u7528\u5176\u4ed6\u6a21\u578b\u7684\u6700\u65b0\u90e8\u7f72\u72b6\u6001\u3002\u56e0\u6b64\u9700\u8981\u5c06\u5f15\u7528\u7684\u201c\u672a\u90e8\u7f72\u201d\u72b6\u6001\u7684\u6a21\u578b\u4e00\u540c\u90e8\u7f72\u3002"),
P.append(A(u,160,70))):"DU_0"==u.getId()&&(u=g.get("deployedUpdateHelpIconTips","\u5728\u540c\u4e00\u4e2a\u6a21\u578b\u96c6\u4e0b\uff0c\u6a21\u578b\u8bbe\u8ba1\u65f6\u53ef\u4f7f\u7528\u5176\u4ed6\u6a21\u578b\u8bbe\u8ba1\u671f\u7684\u72b6\u6001\uff0c\u4f46\u5728\u6267\u884c\u671f (\u6700\u65b0\u90e8\u7f72\u72b6\u6001\u6267\u884c\u65f6)\u53ea\u80fd\u4f7f\u7528\u5176\u4ed6\u6a21\u578b\u7684\u6700\u65b0\u90e8\u7f72\u72b6\u6001\u3002\u5982\u679c\u9700\u8981\u6267\u884c\u671f\u4e0e\u8bbe\u8ba1\u671f\u7684\u72b6\u6001\u4fdd\u6301\u4e00\u81f4\uff0c\u8bf7\u5c06\u5f15\u7528\u7684\u201c\u90e8\u7f72\u540e\u66f4\u6539\u201c\u72b6\u6001\u7684\u6a21\u578b\u518d\u6b21\u90e8\u7f72\u3002"),
P.append(A(u,185,88)))):(P.text(N),u instanceof ca&&(P.addClass("deploy-dialog-model-name-label"),P=p.append,u=u.getType(),N=$("<span>"),N.addClass("deploy-dialog-model-icon"),I="icon-tablemodel","metrics_model"==u&&(I="icon-metricmodel"),ba.background(N,I),P.call(p,N)));F?(F=$(F),F.css("overflow","visible"),p.appendTo(F)):p.appendTo(jqDiv);O.layoutCtrlWithLRTB(p,0,0,null,0,0,null)};var A=function(p,F,u){var N=$("<div>"),I=$("<span>");I.text(p);I.appendTo(N);p=new na;p.setIconType(na.ICON_TYPE_QUESTION);
p.setTipsSize(400,u);p.setTipsHtml(N[0]);u=p.getJqUi();u.addClass("dm-notice-icon");O.layoutCtrl(u,F,3,16,16);return u}}var r,x=[],b=[],c=[],f=[],h,m,t;this.getJqUi=function(){if(!r){w();r=$("<div>");r.addClass("deploy-dialog-area");r.addClass("deploy-dialog-tree-selection-area");m=new KTable;var C=$(m.getUI());C.children().css("overflow-x","hidden");var A=new l;m.setCellRender(A);m.setSyncUIWhenModelChanged(!1);m.addTreeExpandListener(G);m.addColumn().setWidth(400);O.layoutCtrlWithLRTB(C,0,0,null,
23,0,null);t=C;r.append(t);h={};for(C=0;C<x.length;C++){var p=x[C];A=sa.createRow(m,!1);var F=A.getCell(0),u=p.getSubNodeLevel();u=new KTCellTreeModel(u);A.setHeight(23);A.setUserObject(p);p instanceof ea?(p=p.isExpanded(),u.setExpanded(p)):(p=p.getParentNode().isExpanded(),A.setHide(!p));F.setTreeModel(u)}m.updateUI();n()}return r};var n=function(){var C=function(u,N){var I=h[u.getId()];I&&(I.setChecked(!0),N||(I.setEnabled(!1),f.push(u.getId())));if(u instanceof ea&&(u=u.getChildren())&&0<u.length)for(I=
0;I<u.length;I++)C(u[I],N)},A=e.getChildren();if(A&&0<A.length)for(var p=0;p<A.length;p++){var F=!0;"ND_0"==A[p].getId()&&(F=!1);C(A[p],F)}};this.getCheckedModelNodes=function(){for(var C=[],A=0;A<c.length;A++){var p=c[A];(h[p.getId()].isChecked()||-1!=f.indexOf(p.getId()))&&C.push(p)}return C};var w=function(){var C=function(F){x.push(F);if(F instanceof ca)c.push(F);else if(b.push(F),(F=F.getChildren())&&0<F.length)for(var u=0;u<F.length;u++)C(F[u])},A=e.getChildren();if(A&&0<A.length)for(var p=
0;p<A.length;p++)C(A[p])},G=function(C,A){(C=m.getRow(A.getRowIdx()).getUserObject())&&C.setExpanded(A.isExpanded())},T=function(C,A){var p=C.getUserObject();if(-1==f.indexOf(p.getId())&&A)for(p.check(C.isChecked(),fa),C=0;C<x.length;C++)A=x[C],-1==f.indexOf(A.getId())&&(p=h[A.getId()])&&p.setChecked(A.isChecked())},fa=function(C){for(var A=!0,p=C.getChildren(),F=0;F<p.length;F++){var u=p[F];A=A&&u.isChecked()}C.setChecked(A);(C=C.getParentNode())&&fa(C)}}function V(e,l,r){function x(){this.getHandler=
function(n,w){switch(n.getCode()){case R.FAILED_MODEL_LOCK_CHECK:var G=new c;break;case R.FAILED_MODEL_CHECK:G=new f;break;case R.FAILED_LOCK_CHECK:G=new h}G&&(G.setResponse(n),G.setDeployType(w));return G}}function b(){var n,w;this.setResponse=function(G){n=G};this.setDeployType=function(G){w=G};this.getDetail=function(){throw Error("override me");};this.getTitle=function(){throw Error("override me");};this.protectedMethod={getResponse:function(){return n},getDeployType:function(){return w}}}function c(){b.call(this);
this.getDetail=function(){var n=m();return n+=t()};this.getTitle=function(){return g.get("batchDeployModelLockCheckFailedTips","\u9009\u4e2d\u7684\u6a21\u578b\u4e2d\u5b58\u5728\u88ab\u5176\u4ed6\u7528\u6237\u9501\u5b9a\u7684\u6a21\u578b\u3001\u4ee5\u53ca\u8bbe\u7f6e\u4e0d\u5b8c\u6574\u7684\u6a21\u578b\uff0c\u90e8\u7f72\u5931\u8d25\u3002")}}function f(){b.call(this);this.getDetail=function(){return t()};this.getTitle=function(){return g.get("deployModelCheckFailedTips","\u6a21\u578b\u8bbe\u7f6e\u4e0d\u5b8c\u6574\uff0c\u90e8\u7f72\u5931\u8d25\u3002")}}
function h(){b.call(this);this.getDetail=function(){var n="";if(r===V.ONE){var w="",G=e.getArrLockCheckPrompts()[0];w+=g.get("deployLockByOtherFailedTips","\u88ab\u5176\u4ed6\u7528\u6237\u9501\u5b9a\u7684\u6a21\u578b\u4e0d\u5141\u8bb8\u90e8\u7f72\uff0c\u2019#1\u2019\u6a21\u578b\u5df2\u88ab#2\u9501\u5b9a");w=w.replace("#1",G.getModelName()).replace("#2",G.getLockUserName());n+=w+"\uff1b\r\n"}else r===V.BATCH&&(n=m());return n};this.getTitle=function(){return g.get("batchDeployLockCheckFailedTips",
"\u9009\u4e2d\u7684\u6a21\u578b\u4e2d\u5b58\u5728\u88ab\u5176\u4ed6\u7528\u6237\u9501\u5b9a\u7684\u6a21\u578b\uff0c\u90e8\u7f72\u5931\u8d25\u3002")}}this.show=function(){if(e.isSuccess())l&&l();else{var n=(new x).getHandler(e,r),w=M.createFeedbackDialog();w.setMsgImageType(M.MSG_WARNING);w.setMessage(n.getTitle());w.setDetail(n.getDetail());w.setTitle(g.get("operatingTips","\u64cd\u4f5c\u63d0\u793a"));w.setOptionType(M.OPTION_OK);w.setButtonText(M.RETURN_OK,g.get("iSee","\u6211\u77e5\u9053\u4e86"));
w.showDialog()}};var m=function(){for(var n="",w=e.getArrLockCheckPrompts(),G=0;G<w.length;G++){var T=w[G];n+=g.get("deployLockByOtherFailedTips","\u88ab\u5176\u4ed6\u7528\u6237\u9501\u5b9a\u7684\u6a21\u578b\u4e0d\u5141\u8bb8\u90e8\u7f72\uff0c\u2019#1\u2019\u6a21\u578b\u5df2\u88ab#2\u9501\u5b9a");n=n.replace("#1",T.getModelName()).replace("#2",T.getLockUserName());n+="\uff1b\r\n"}return n},t=function(){var n="",w=e.getArrModelCheckPrompts()[0];n+=g.get("configIncompleteReason","\u8bbe\u7f6e\u4e0d\u5b8c\u6574\u539f\u56e0");
return n=n+"\uff1a\r\n"+w.getPromptStr(!0,!0)}}function R(){var e=this,l,r,x=[],b=[],c=[];this.setSuccess=function(f){l=f};this.isSuccess=function(){return l};this.setCode=function(f){r=f};this.getCode=function(){return r};this.getArrModelCheckPrompts=function(){return x};this.getArrLockCheckPrompts=function(){return b};this.getArrSimplePrompts=function(){return c};this.fromJsonObject=function(f){e.setSuccess(f.success);e.setCode(f.code);if(f.prompts){var h=f.prompts[W.MODEL_CHECK],m=f.prompts[W.LOCK_CHECK];
if(h&&0<h.length)for(var t=0;t<h.length;t++){var n=new W;n.fromJsonObject(h[t]);x.push(n)}if(m&&0<m.length)for(t=0;t<m.length;t++)n=new W,n.fromJsonObject(m[t]),b.push(n)}if(f.simplePrompts&&(f=f.simplePrompts)&&0<f.length)for(t=0;t<f.length;t++)n=new W,n.fromJsonObject(f[t]),c.push(n)}}function W(){var e=this,l,r,x,b,c,f;this.setModelId=function(h){l=h};this.getModelId=function(){return l};this.setModelName=function(h){r=h};this.getModelName=function(){return r};this.setPromptCode=function(h){c=
h};this.getPromptCode=function(){return c};this.setPath=function(h){x=h};this.getPath=function(){return x};this.setLockUserName=function(h){b=h};this.getLockUserName=function(){return b};this.setArrPrompts=function(h){f=h};this.getArrPrompts=function(){return f};this.getPromptStr=function(h,m){var t="";if(f)for(var n=0;n<f.length;n++)m&&(t+=n+1),m&&(t+="\u3001"),t+=f[n],t+="\uff1b",h&&(t+="\r\n");return t};this.fromJsonObject=function(h){e.setModelId(h.modelId);e.setModelName(h.modelName);e.setPath(h.path);
e.setLockUserName(h.lockUserName);e.setPromptCode(h.PromptCode);e.setArrPrompts(h.invalidPrompt)}}"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.modeler&&(com.kingdee.bos.qing.modeler={});"undefined"==typeof com.kingdee.bos.qing.modeler.scene&&(com.kingdee.bos.qing.modeler.scene={});var ta=com.kingdee.bos.qing.modeler.scene;
ta.AbstractDesignerScene=function(){var e=this,l,r,x,b,c,f,h,m=(new Date).getTime(),t,n,w,G,T;this.protectedGetDesigner=function(){throw Error("override me");};this.protectedGetModelTypeName=function(){throw Error("override me");};this.protectedGetBehaviorEntranceType=function(){throw Error("override me");};this.show=function(a){b||fa();N(function(){c.appendTo(a);b.resize()},function(k,z){if(20003102==k)return k=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",
g.get("loadModelFailed","\u52a0\u8f7d\u5931\u8d25")),b.getMsgCurtain().showPrompt(k),!0;if(20001010==k)return com.kingdee.bos.qing.framework.common.RemoteFramework.openErrorPage(k,com.kingdee.bos.qing.common.Base64Util.encode(encodeURIComponent(z))),!0})};var fa=function(){var a=com.kingdee.bos.qing.common.Util;r=a.decodeParamFromUrl(window.location.search,"modelSetId");l=a.decodeParamFromUrl(window.location.search,"modelId");x="true"==a.decodeParamFromUrl(window.location.search,"isPreset");Y.setModelId(l);
b=e.protectedGetDesigner();b.setEditable(!x);b.setMessageResize(Da);A();Y.setRemoteImpl(u("/qing_modeler/modelSetSourceManageEntrance.do"));C();Y.setModelSetSourceFacade(v);b.setRemoteImpl(u("/qing_modeler/designer.do"));c=b.createJqUi();x?b.getMsgCurtain().showPrompt(g.get("presetModelCannotEdit","\u9884\u7f6e\u7684\u6a21\u578b\u4e0d\u5141\u8bb8\u4fdd\u5b58\u3001\u90e8\u7f72\u7b49\u64cd\u4f5c\uff0c\u5982\u6709\u9700\u8981\uff0c\u53ef\u590d\u5236\u6a21\u578b\u96c6\u540e\u518d\u8fdb\u884c\u64cd\u4f5c\u3002"),
-1):(t=b.insertToolbarBtn(Ea,"btn_save",g.get("save","\u4fdd\u5b58")),n=b.insertToolbarBtn(Fa,"btn_deploy",g.get("deploy","\u90e8\u7f72")),w=b.insertMenuButton(Ga,"btn_rollback",g.get("rollback","\u56de\u9000")),t.setEnabled(!1),n.setEnabled(!1),w.setEnabled(!1));G=b.appendToolbarBtn(da,"btn_refresh",g.get("refresh","\u5237\u65b0"));b.appendToolbarBtn(Ha,"btn_close",g.get("closeTab","\u9000\u51fa"));b.setLockStateChangeListener(Ia);b.registerLockRequestSender(Ja);b.setDirtyListener(function(z){Z.setTabStatus(z)});
T=new ua;T.createMessageUI({position:"absolute","float":"right",bottom:"0",right:"10px"},null,30);var k=com.kingdee.bos.qing.behavior.BehaviorManager;com.kingdee.bos.qing.modeler.designer.UserOperationReporter.hookCollector(function(z,H){k.interestInBehavior(z,H)});k.interestInBehaviorEntrance(e.protectedGetBehaviorEntranceType())},C=function(){var a=Y;a.registerDataCenterSelectorConstructor(y);a.registerMetricDataCenterSelector(L)},A=function(){var a=com.kingdee.bos.qing.common.Util,k=Y,z=a.decodeParamFromUrl(window.location.search,
"path"),H=a.decodeParamFromUrl(location.search,"modelSetId"),B=a.decodeParamFromUrl(location.search,"modelSetName");k.setDataSourceManageEntrance(function(){var E=oa.getUrlParamValue(),Q=g.get("sourceManage","\u6570\u636e\u6e90\u7ba1\u7406")+"-"+B,K=z+"/qing_modeler/modelSetSourceManageEntrance.do";K=a.appendParamToUrl(K,"modelSetId",H);K=a.appendParamToUrl(K,"modelSetName",B);K=a.appendParamToUrl(K,"isPreset",x);E&&(K=a.appendParamToUrl(K,"skin",E));pa.openNewTab(Q,K,K)})},p=function(){return u("/qing_modeler/modelSetMainPage.do")},
F=function(){return u("/qing_modeler/deployManage.do")},u=function(a){var k=com.kingdee.bos.qing.common.Util.decodeParamFromUrl(window.location.search,"path");a=(k?k:"/ierp")+a;k=new com.kingdee.bos.qing.modeler.designer.RemoteImpl;k.setRemoteUrl(a);return k},N=function(a,k){(new d(p(),function(z){I(z)},k,a)).loadModelerInfo(l)},I=function(a){var k=a.desc,z=a.name,H=a.modelIsValid;ha(a.deployed);var B=a.sourcePermission,E=a.sourceType,Q=a.tableException,K=new va;K.setModelName(z);K.setModelDesc(k);
K.setMapSourcePermission(B);K.setModelIsValid(H);K.setMapSourceType(E);K.setMapTableException(Q);b.setIntegration(K);b.setJsonModel(a.modeler);a.modelerCreateTime&&(m=a.modelerCreateTime);a.tryLock?wa(l):(k=a.lockUserName,(a=a.lockByMe)?b.setLockInfo(a,k,!0):b.setLockInfo(a,k))},da=function(){if(b.isDirty()){var a=new xa;a.setText(g.get("confirmRefresh","\u5237\u65b0\u6a21\u578b\u4f1a\u4e22\u5931\u672a\u4fdd\u5b58\u7684\u4fee\u6539\uff0c\u786e\u5b9a\u8981\u5237\u65b0\u5417\uff1f"));a.setConfirmedListener(function(k){k&&
(P(),J.occur(J.BUTTON_TYPE,J.REFRESH))});a.show(G.getJqUi())}else P(),J.occur(J.BUTTON_TYPE,J.REFRESH)},P=function(){N(function(){},function(a){if(20003102==a)return a=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",g.get("refreshFailed","\u5237\u65b0\u5931\u8d25")),b.getMsgCurtain().showPrompt(a),!0})},Ea=function(){if(b.isDirty()){var a=b.getJsonModel(),k=p();k=new d(k,function(B){0==B.isValid?b.getMsgCurtain().showPrompt(g.get("saveSuccessButInvalid","\u4fdd\u5b58\u6210\u529f\u3002\u6a21\u578b\u8bbe\u7f6e\u4e0d\u5b8c\u6574\uff0c\u4e0d\u5141\u8bb8\u90e8\u7f72\u3002")):
b.getMsgCurtain().showSuccess(g.get("saveSuccess","\u4fdd\u5b58\u6210\u529f\u3002"));b.clearDirty();ha(B.deployed);m=B.modelerCreateTime;J.occur(J.BUTTON_TYPE,J.SAVE)},function(B,E){if(20003101===B)return b.getMsgCurtain().showPrompt(g.get("modelDuplicateNameInGroup","#1\uff0c\u8be5\u76ee\u5f55\u4e0b\u5b58\u5728\u540c\u540d\u6570\u636e\u6a21\u578b\u3002").replace("#1",g.get("saveFail","\u4fdd\u5b58\u5931\u8d25"))),!0;if(20003102==B)return B=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",
g.get("saveFail","\u4fdd\u5b58\u5931\u8d25")),b.getMsgCurtain().showPrompt(B),!0;if(20001009==B)return","==E[E.length-1]&&(E=E.substring(0,E.length-1)),E=E.split(","),B="",1==E.length&&(B=g.get("duplicateMetricNumber","#1\u3002\u6307\u6807\u7f16\u7801\u201c#2\u201d\u5df2\u88ab\u4f7f\u7528\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\u6307\u6807\u7f16\u7801\u3002").replace("#1",g.get("saveFail","\u4fdd\u5b58\u5931\u8d25")).replace("#2",E[0])),1<E.length&&(B=g.get("duplicateMetricNumber2","#1\u3002\u201c#2\u201d\u7b49#3\u4e2a\u6307\u6807\u7f16\u7801\u5df2\u88ab\u4f7f\u7528\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\u6307\u6807\u7f16\u7801\u3002").replace("#1",
g.get("saveFail","\u4fdd\u5b58\u5931\u8d25")).replace("#2",E[0]).replace("#3",E.length)),b.getMsgCurtain().showPrompt(B),!0});var z=b.getIntegration(),H=z.getModelDesc();z=z.getModelName();k.saveModelerModel(l,z,H,a)}else b.getMsgCurtain().showPrompt(g.get("modelIsClean","\u6a21\u578b\u5185\u5bb9\u672a\u4fee\u6539"))},Fa=function(){b.isDirty()?b.getMsgCurtain().showPrompt(g.get("needSaveBeforeDeploy","\u90e8\u7f72\u524d\u8bf7\u5148\u8fdb\u884c\u4fdd\u5b58\u3002")):(new q(F(),function(a){1==a?Ka():
ya()})).needDeployRefModel(l)},Ka=function(){(new q(F(),function(a){var k=new ea;k.fromJsonObject(a);0<k.getChildren().length?(a=new X,a.setRootNode(k),a.setDescConfirmCallback(function(z,H){(new q(F(),function(B){var E=new R;E.fromJsonObject(B);B=V.ONE;0<H.length&&(B=V.BATCH);(new V(E,function(){ha(!0);za();Aa([l]);b.getMsgCurtain().showSuccess(g.get("deploySuccess","\u90e8\u7f72\u6210\u529f"))},B)).show()},function(B){if(20008001==B)return b.getMsgCurtain().showPrompt(g.get("alreadyDeployed","\u6a21\u578b\u5df2\u90e8\u7f72\uff0c\u8bf7\u52ff\u91cd\u590d\u90e8\u7f72")),
!0;if(20003102==B)return B=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",g.get("deployFailed","\u90e8\u7f72\u5931\u8d25")),b.getMsgCurtain().showPrompt(B),!0})).deployModelForModelSetSource(r,l,z,H)}),a.asyncShowDeployDialog()):ya()},function(a,k){b.getMsgCurtain().showPrompt(k)})).loadNeedDeployRefModel(l)},ya=function(){var a=new D;a.setDescConfirmCallback(function(k){(new q(F(),function(z){var H=z.validity;if(H){var B=e.protectedGetModelTypeName();b.setJsonValidity(H,
g.get("modelerDeployFailed","#1\u8bbe\u7f6e\u4e0d\u5b8c\u6574\uff0c\u90e8\u7f72\u5931\u8d25").replace("#1",B))}z.deployed&&(ha(!0),za(),Aa([l]))},function(z){switch(z){case 20008001:return b.getMsgCurtain().showPrompt(g.get("alreadyDeployed","\u6a21\u578b\u5df2\u90e8\u7f72\uff0c\u8bf7\u52ff\u91cd\u590d\u90e8\u7f72")),!0;case 20003102:return z=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",g.get("deployFailed","\u90e8\u7f72\u5931\u8d25")),b.getMsgCurtain().showPrompt(z),
!0;case 20004001:return b.getMsgCurtain().showPrompt(g.get("incompleteMaterializedConfig","\u7269\u5316\u5b58\u50a8\u8bbe\u7f6e\u4e0d\u5b8c\u6574\uff0c\u90e8\u7f72\u5931\u8d25\u3002")),!0}})).deploySingleModelForDesigner(r,l,k)});a.showDialog();a.textFieldFocus()},Aa=function(a){var k=new d(p(),function(z){if(z){J.occur(J.BUTTON_TYPE,J.DEPLOY);for(var H=0;H<z.length;H++){var B=z[H],E=Object.keys(B);if(!E||0==E.length)break;E=E[0];"tableModeler"==E?J.occur(J.DATATABLE_MODEL_TRANSFORM_NODE_TYPE,B[E]):
"metricModeler"==E&&J.occur(J.METRIC_MODEL_DIMENSION_TYPE,B[E])}}},function(z,H){return!0});k.setShowBlocking(!1);k.loadDeployModelerForUserOperation(a)},za=function(){var a=new M;a.setTitle(g.get("operatorTips","\u64cd\u4f5c\u63d0\u793a"));a.setOptionType(M.OPTION_OK);a.setButtonText(M.RETURN_OK,g.get("iSee","\u6211\u77e5\u9053\u4e86"));a.setCustomPainter(function(k){var z=$("<div>");z.addClass("deploy-feedback-dialog-image");com.kingdee.bos.qing.modeler.designer.Icons.background(z,"msg-success");
var H=$("<div>");H.addClass("deploy-feedback-dialog-text");H.text(g.get("deploySucceeded","\u5df2\u6210\u529f\u90e8\u7f72"));var B=$("<div>");B.addClass("deploy-dialog-rolesetting-box");var E=$("<div>");E.addClass("deploy-dialog-rolesetting-text");E.text(g.get("nowGoSetting","\u73b0\u5728\u53bb\u8bbe\u7f6e"));var Q=$("<div>");Q.addClass("deploy-dialog-rolesetting-text-link");var K=g.get("dataRole","\u6570\u636e\u6743\u9650");Q.text(K);Q.attr("title",K);Q.css("cursor","pointer");Q.css("color","#0E5FD8");
Q.on("click",function(S){S=com.kingdee.bos.qing.common.Util;var U=S.decodeParamFromUrl(window.location.search,"path"),qa=S.decodeParamFromUrl(location.search,"modelSetId"),Ba=S.decodeParamFromUrl(location.search,"modelSetName");U=S.appendParamToUrl(U+"/qing_modeler/dataAuthEntrance.do","modelSetName",Ba);U=S.appendParamToUrl(U,"modelSetId",qa);(qa=oa.getUrlParamValue())&&(U=S.appendParamToUrl(U,"skin",qa));S=g.get("dataRole","\u6570\u636e\u6743\u9650")+Ba;com.kingdee.bos.qing.framework.common.TabbedUiUtil.openNewTab(S,
U,U);J.occur(J.ENTER_DATA_AUTH_MANAGE,J.ENTER_DATA_AUTH_MANAGE_AFTER_DEPLOY)});B.append(E);B.append(Q);k.append(B);k.append(z);k.append(H)});a.showDialog(380,280)},Ga=function(){var a=com.kingdee.bos.qing.ui.component.MenuItemModel,k=new com.kingdee.bos.qing.ui.component.MenuModel;a=new a(La);a.setText(g.get("rollBackToLatest","\u56de\u9000\u5230\u6700\u65b0\u90e8\u7f72\u72b6\u6001"));k.addItemModel(a);return k},La=function(){var a=M.createFeedbackDialog();a.setOptionType(M.OPTION_OK_CANCEL);a.setMsgImageType(M.MSG_CONFIRM);
var k=e.protectedGetModelTypeName();k=g.get("rollbackConfirmTips","\u56de\u9000\u5230\u6700\u65b0\u90e8\u7f72\u72b6\u6001\u540e\uff0c\u5f53\u524d#1\u4f1a\u88ab\u6700\u8fd1\u4e00\u6b21\u90e8\u7f72\u72b6\u6001\u8986\u76d6\uff0c\u786e\u5b9a\u56de\u9000\u5417\uff1f").replace("#1",k);a.setMessage(k);a.setClosingChecker(function(z){z==M.RETURN_OK&&Ma();return!0});a.showDialog()},Ma=function(){(new q(F(),function(a){a?(b.setUndoAbleJsonModel(a,g.get("rollBackToLatest","\u56de\u9000\u5230\u6700\u65b0\u90e8\u7f72\u72b6\u6001")),
b.getMsgCurtain().showSuccess(g.get("rollbackSuccess","\u6a21\u578b\u56de\u9000\u6210\u529f")),J.occur(J.BUTTON_TYPE,J.ROLLBACK_CURRENT_DEPLOY)):b.getMsgCurtain().showPrompt(g.get("noDeployedToRollBack","\u6a21\u578b\u6682\u672a\u90e8\u7f72\uff0c\u65e0\u6cd5\u8fdb\u884c\u56de\u9000"))})).getLatestDeploy(l)},Ha=function(){var a={en:{confirmExit:"Changes detected, exit without saving? These changes will be lost if you do not save. If you go back to editing, try to acquire the lock before saving.",sureExit:"Exit",
sureReturn:"Return"},zh_CN:{confirmExit:"\u68c0\u6d4b\u5230\u60a8\u6709\u66f4\u6539\u5185\u5bb9\uff0c\u662f\u5426\u4e0d\u4fdd\u5b58\u76f4\u63a5\u9000\u51fa\uff1f\u82e5\u4e0d\u4fdd\u5b58\uff0c\u5c06\u4e22\u5931\u8fd9\u4e9b\u66f4\u6539\u3002\u82e5\u8fd4\u56de\u7f16\u8f91\uff0c\u8bf7\u5148\u5c1d\u8bd5\u83b7\u5f97\u9501\u518d\u8fdb\u884c\u4fdd\u5b58\u3002",sureExit:"\u76f4\u63a5\u9000\u51fa",sureReturn:"\u8fd4\u56de\u7f16\u8f91"},zh_TW:{confirmExit:"\u6aa2\u6e2c\u5230\u60a8\u6709\u66f4\u6539\u5167\u5bb9\uff0c\u662f\u5426\u4e0d\u4fdd\u5b58\u76f4\u63a5\u9000\u51fa\uff1f\u82e5\u4e0d\u4fdd\u5b58\uff0c\u5c07\u4e1f\u5931\u9019\u4e9b\u66f4\u6539\u3002\u82e5\u8fd4\u56de\u7de8\u8f2f\uff0c\u8acb\u5148\u5617\u8a66\u7372\u5f97\u9396\u518d\u9032\u884c\u4fdd\u5b58\u3002",
sureExit:"\u76f4\u63a5\u9000\u51fa",sureReturn:"\u8fd4\u56de\u7de8\u8f2f"}};b.isDirty()?(h?Z.setI18n():Z.setI18n(a),Z.showConfirmExitDialog()):pa.closeCurrentTab()},Ja=function(a){a?Na():Oa(l)},wa=function(a){(new d(p(),function(k){b.setLockInfo(k.lockByMe,k.lockUserName)},function(k){if(20003102==k)return k=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",g.get("lockFailed","\u9501\u5b9a\u5931\u8d25")),b.getMsgCurtain().showPrompt(k),!0})).lockModel(a)},Oa=
function(a){(new d(p(),function(k){k?b.setLockInfo(!1,null):b.getMsgCurtain().showPrompt(g.get("unlockFailed","\u89e3\u9501\u5931\u8d25"))},function(k){if(20003102==k)return k=g.get("modelNotFound","#1\uff0c\u6a21\u578b\u5df2\u88ab\u522a\u9664\u3002").replace("#1",g.get("unlockFailed","\u89e3\u9501\u5931\u8d25")),b.getMsgCurtain().showPrompt(k),!0})).unLockModel(a)},Ia=function(a){h=a;t&&t.setEnabled(h);n&&n.setEnabled(h);h&&f?w&&w.setEnabled(!0):w&&w.setEnabled(!1)},ha=function(a){f=a;h&&f?w&&w.setEnabled(!0):
w&&w.setEnabled(!1)},Na=function(){(new d(p(),function(a){m<a?Pa():wa(l)})).getModelerModelVersion(l)},Pa=function(){var a=M.createFeedbackDialog();a.setMessage(g.get("modelVersionIsNotNew","\u6a21\u578b\u5728\u6253\u5f00\u8bbe\u8ba1\u5668\u540e\u5df2\u88ab\u4ed6\u4eba\u4fee\u6539\uff0c\u5c06\u91cd\u65b0\u52a0\u8f7d\u6700\u65b0\u6a21\u578b\u3002"));a.setMsgImageType(M.MSG_WARNING);a.setOptionType(M.OPTION_OK_CANCEL);a.setClosingChecker(function(k){k==M.RETURN_OK&&(new d(p(),function(z){I(z);var H=
z.lockByMe;H&&b.setLockInfo(H,z.lockUserName)})).lockAndReloadModelerInfo(l);return!0});a.showDialog()},Da=function(){T.resize(null,null,10,30)}};var g,O,aa,ia,ka,ja,M,la,ba,J,xa,ra,na,va,oa,pa,Z,Y,ea,ca,ma,sa,ua;(function(){var e=com.kingdee.bos.qing.modeler.designer;va=e.Integration;Y=e.ModelSetSourceIntegration;ba=e.Icons;J=e.UserOperationReporter;e=com.kingdee.bos.qing.ui.component;ia=e.AbstractModalDialog;ka=e.TextArea;ja=e.Label;M=e.MessageDialog;la=e.TextField;xa=e.SimpleConfirmer;ra=e.CheckBox;
na=e.HelpIcon;e=com.kingdee.bos.qing.framework.common;g=e.MultilanguageManager.createPackageAccessor(ta);aa=e.AbstractFacade;pa=e.TabbedUiUtil;e=com.kingdee.bos.qing;oa=e.SkinUtil;ma=e.CodeLoader;e=com.kingdee.bos.qing.common;O=e.DomUtil;e=com.kingdee.bos.qing.integration;Z=e.TabStatusHelper;e=com.kingdee.bos.qing.modeler.designer;ea=e.FolderNode;ca=e.LeafNode;e=com.kingdee.bos.qing.common.ui;sa=e.TableUtil;e=com.kingdee.bos.qing.modeler.message.common;ua=e.MessageManageUtil})();V.BATCH="0";V.ONE=
"1";R.FAILED_MODEL_CHECK=1;R.FAILED_LOCK_CHECK=2;R.FAILED_MODEL_LOCK_CHECK=R.FAILED_MODEL_CHECK|R.FAILED_LOCK_CHECK;W.MODEL_CHECK=1;W.LOCK_CHECK=2})();(function(){"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.modeler&&(com.kingdee.bos.qing.modeler={});"undefined"==typeof com.kingdee.bos.qing.modeler.scene&&(com.kingdee.bos.qing.modeler.scene={});var d=com.kingdee.bos.qing.modeler.scene;d.DesignerScene=function(){q.call(this);var y;this.protectedGetDesigner=
function(){y||(y=new D);return y};this.protectedGetModelTypeName=function(){return v.get("tableModel","\u6570\u636e\u8868\u6a21\u578b")};this.protectedGetBehaviorEntranceType=function(){return com.kingdee.bos.qing.behavior.BehaviorManager.ENTRANCE_MODELER_DATATABLE_MODEL_DESIGNER}};var q,v,D;(function(){var y=com.kingdee.bos.qing.modeler.designer;D=y.Designer;y=com.kingdee.bos.qing.framework.common;v=y.MultilanguageManager.createPackageAccessor(d);q=d.AbstractDesignerScene})()})();
//qingVersionTag: 20250415