(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.dsb&&(com.kingdee.bos.qing.dsb={});"undefined"==typeof com.kingdee.bos.qing.dsb.widget&&(com.kingdee.bos.qing.dsb.widget={});"undefined"==typeof com.kingdee.bos.qing.dsb.widget.mobile&&(com.kingdee.bos.qing.dsb.widget.mobile={});var ca=com.kingdee.bos.qing.dsb.widget.mobile;
ca.WidgetCtrlTitleBar=function(){var w=this,D=$("<div id='title'>"),L,da,E,M,C,A,u,y=!1,z=F.getPortrait(),G=!0,v=!0,N,x,O,H,R,S,I,B,T;this.setShowFullscreen=function(d){G=d;A&&(G&&A.show(),!G&&A.hide())};this.setShowTitleAndDesc=function(d){v=d};this.setBeforeFullscreenListener=function(d){N=d};this.setFullscreenListener=function(d){x=d};this.setCancelFullscreenListener=function(d){O=d};this.setRedrawListener=function(d){H=d};this.setAboutInfoItemCreator=function(d){S=d};this.setMenuToolItemCreator=
function(d){R=d};this.setOpenMenuListener=function(d){I=d};this.setBackListener=function(d){T=d};this.setRotateUIListener=function(d){B=d};this.setTitle=function(d,b){da=d;E=b;L||((L=Y())&&L.addClass("lapp-dsb-widget-ctrl-title-text"),L&&L.appendTo(D));if(b&&!M){if(M=U())d=M.getJqUi(),d.addClass("lapp-dsb-widget-ctrl-helpicon"),d.appendTo(D);com.kingdee.bos.qing.lapp.ui.LappIntegration.addScrollListener(function(){M&&M.removeTips()})}};this.getJqUi=function(){D.addClass("lapp-dsb-widget-ctrl-title");
A=$("<div>");A.on("click",w.doFullscreen);A.appendTo(D);Z.layoutCtrlWithLRTB(A,null,0,28,1,null,28);var d=$("<span>");J.background(d,"icon_fullscreen");d.addClass("lapp-dsb-fullscreen-icon");d.appendTo(A);!G&&A.hide();return D};this.doFullscreen=function(d){y=!y;N&&N(y);z?!y&&aa():F.rotateUI(z);var b=!1,a=com.kingdee.bos.qing.lapp.ui.LappIntegration;a.isCardFullscreen()||V.postMessageWhenImmediateExecution(y?V.TYPE_REQUEST_WIDGET_FULLSCREEN:V.TYPE_EXIT_WIDGET_FULLSCREEN,function(c){var e=window.location.href,
g=ba.decodeParamFromUrl(e,"publishId");e=ba.decodeParamFromUrl(e,"time");c.iframeId=g+e;b=!0;a.setResizeListener(function(){W();a.setResizeListener(null)})});b||W()};this.doClickMenu=function(){u&&u.click()};var Y=function(){if(v){var d=$("<span>");d.text(da)}return d},U=function(){if(v&&E){var d=new P;d.setIconType(P.ICON_TYPE_QUESTION);d.setTipsText(E)}return d},W=function(){y?(D.hide(),x(function(d){ea(d)})):(D.show(),O());Q()},ea=function(d){var b=$("<div>");b.addClass("lapp-dsb-widget-ctrl-fullscreen-headbar");
b.appendTo(d);d=$("<div id='exit'>");J.background(d,"icon_back");d.addClass("lapp-dsb-widget-ctrl-exit");d.appendTo(b);d.on("click",function(){T&&T()||f()});d=$("<div>");d.addClass("lapp-dsb-widget-ctrl-title-fullacreen");d.appendTo(b);var a=Y();a&&a.appendTo(d);a&&a.addClass("lapp-dsb-widget-ctrl-title-text-fullacreen");if(a=U())a=a.getJqUi(),a.addClass("lapp-dsb-widget-ctrl-helpicon-fullscreen"),a.appendTo(d);var c=function(){e&&(e.hide(),I&&I(!1))};d=new fa;ha(d);if(d.isHasButtonInMenu()){var e=
$("<div id='toolbar'>");e.css({"z-index":512,"background-color":"#FFFFFF"});Z.layoutCtrlWithLRTB(e,0,0,null,35,null,44);e.appendTo(b);e.hide();d=d.getJqUi();d.appendTo(e);d.css({right:"20px",left:"8px",width:"unset"});var g=!1;u=$("<div id='menu'>");J.background(u,"btn_list");u.addClass("lapp-dsb-widget-ctrl-menu");u.on("click",function(k){(g=!g)?(e.show(),I&&I(!0)):c();Q()});u.appendTo(b)}var f=function(){c();w.doFullscreen();com.kingdee.bos.qing.lapp.ui.LappIntegration.popPopStateListener()};com.kingdee.bos.qing.lapp.ui.LappIntegration.addPopStateListener(function(){f()})},
ha=function(d){S&&S(d);F.supportSwitchScreen(!0)&&(C=z?d.addButtonInMenu("icon_turn_horizontal",K.get("horizontalScreen","\u6a2a\u5c4f"),function(){F.rotateUI(z)},85):d.addButtonInMenu("icon_turn_vertical",K.get("horizontalScreen","\u7ad6\u5c4f"),function(){F.rotateUI(z)},85),window.addEventListener("orientationchange",X));R&&R(d)},aa=function(){window.removeEventListener("orientationchange",X)},X=function(){z=!z;B&&B(z);C&&(z?(J.background(C.getJqIcon(),"icon_turn_horizontal"),C.getJqText().text(K.get("horizontalScreen",
"\u6a2a\u5c4f"))):(J.background(C.getJqIcon(),"icon_turn_vertical"),C.getJqText().text(K.get("verticalScreen","\u7ad6\u5c4f"))));Q();!y&&aa()},Q=function(){H&&setTimeout(function(){H(y)},100)}};var K,F,V,ba,Z,fa,P,J;(function(){w=com.kingdee.bos.qing.framework.common;K=w.MultilanguageManager.createPackageAccessor(ca);w=com.kingdee.bos.qing.lapp.integration;F=w.EnvUtil;V=w.PostMessageUtils;var w=com.kingdee.bos.qing.common;ba=w.Util;Z=w.DomUtil;w=com.kingdee.bos.qing.lapp.component;fa=w.SecondaryMenuBar;
P=w.HelpIcon;J=w.Icons})()})();(function(){function ca(){var b,a,c,e;this.setPos=function(g,f,k,m){b=g;a=f;c=k;e=m};this.getTop=function(){return b};this.getLeft=function(){return a};this.getWidth=function(){return c};this.getHeight=function(){return e}}function K(){var b=this,a,c;this.protectedShowInitializeUi=function(){throw Error("Implement");};this.protectedShowFullscreenUi=function(){throw Error("Implement");};this.getFullScreenBackgroundColor=function(){return"#FFFFFF"};this.protectedMethod.initWidgetPosition=function(e){c||
(a=e,c=new ca,c.setPos(a.css("top"),a.css("left"),a.css("width"),a.css("height")))};this.protectedMethod.doFullscreen=function(e){var g=$("<div>");g.css("background-color",b.getFullScreenBackgroundColor());g.css("z-index",512);v.layoutCtrlWithLRTB(g,0,0,null,0,0,null);g.appendTo($(document.body));var f=a.parent();a.data("myParent",f);a.detach();a.appendTo(g);a.data("myModalLayer",g);a.addClass("lapp-dsb-fullscreen-widget");a.css("width",document.documentElement.clientWidth+"px");e(g);b.protectedShowFullscreenUi()};
this.protectedMethod.cancelFullscreen=function(){var e=a.data("myModalLayer"),g=a.data("myParent");a.removeData("myParent");a.removeData("myModalLayer");a.detach();a.appendTo(g);a.removeClass("lapp-dsb-fullscreen-widget");a.css("width",c.getWidth()+"px");e.remove();c=null;b.protectedShowInitializeUi()}}function F(){O.call(this);K.call(this);var b=this,a=this.protectedMethod,c,e=$("<div id='content'>"),g,f,k=!1,m,r,h;this.updateTopBar=function(n){p();var t=a.getWidget().getCardTitle();m.setTitle(t,
n)};this.getJqUi=function(){c||(c=$("<div>"),c.css("background-color","#FFFFFF"),e.appendTo(c),p(),r=m.getJqUi(),r.appendTo(c),b.protectedShowInitializeUi());return c};var p=function(){if(!m){m=new Q;m.setShowTitleAndDesc(!a.getWidget().isBareSurface());m.setBeforeFullscreenListener(function(t){a.initWidgetPosition(c);h&&h(t)});m.setFullscreenListener(a.doFullscreen);m.setCancelFullscreenListener(a.cancelFullscreen);m.setRedrawListener(function(t){f&&f.redraw()});m.setAboutInfoItemCreator(function(t){t.addButtonInMenu("icon_about",
u.get("about","\u4fe1\u606f"),l,85)});m.setMenuToolItemCreator(function(t){!f.isError()&&f.showFilterIcon()&&(t=t.addButtonInMenu("icon_filter",u.get("filter","\u8fc7\u6ee4"),function(){f.toggleFilter()},85),f.setFilterICon(t))});m.setOpenMenuListener(function(t){t?v.layoutCtrlWithLRTB(e,null,null,null,80,null,null):(v.layoutCtrlWithLRTB(e,null,null,null,45,null,null),f&&!f.isError()&&f.toggleFilter(!0))});var n;m.setRotateUIListener(function(t){setTimeout(function(){t?c.css("width",n):(n||(n=c.width()),
c.css("width",document.documentElement.clientWidth+"px"))},50)})}},l=function(){f.getExtractDataTime(a.getWidget().getExecutingTag(),function(n){var t=new ha;t.setTitle(u.get("cardInfo","\u6570\u636e\u5361\u7247\u4fe1\u606f"));t.setHeight(150);t.setContentCreator(function(){var ia=$("<div>");ia.css("overflow","auto");var ja=$("<p>");ja.css({"font-size":"15px",color:"#555555"});ja.text(u.get("extractDataTime","\u6570\u636e\u66f4\u65b0\u65f6\u95f4\uff1a")+n);ja.appendTo(ia);return ia});t.showDialog()})},
q=function(){var n=5;k&&(n=42);v.layoutCtrlWithLRTB(e,null,null,null,null,n,null)};this.protectedShowInitializeUi=function(){c.css("background-color","rgb(255, 255, 255)");var n=5,t=35;a.getWidget().isBareSurface()&&(n=-3,t=20);v.layoutCtrlWithLRTB(r,20,a.getWidget().getPaddingRight(),null,n,null,30);v.layoutCtrlWithLRTB(e,a.getWidget().getPaddingLeft(),a.getWidget().getPaddingRight(),null,t,5,null);q();(a.getWidget().isBareSurface()||a.getWidget().getTopPage().isMobileSkinActive())&&c.css("background-color",
"rgba(255, 255, 255, 0)");!a.getWidget().isBareSurface()&&a.getWidget().getTopPage().isMobileSkinActive()&&(n=a.getWidget().getTopPage().isWidgetOpacityRequired(),t=d.getCardBackgroundColor(n),c.css("backgroundColor",t),d.decorateCardSimpleBorder(n,c,null),d.decorateCardTitle(r,null))};this.protectedShowFullscreenUi=function(){v.layoutCtrlWithLRTB(r,30,null,null,8,null,null);v.layoutCtrlWithLRTB(e,11,11,null,45,null,null);q();c.css({"background-color":"unset","border-radius":"unset","box-shadow":"unset"})};
this.getFullScreenBackgroundColor=function(){var n="#FFFFFF";a.getWidget().getTopPage().isMobileSkinActive()&&(n=d.dip(d.DSB_CARD)[d.Key_Card_BackgroundColor]||"#ffffff");return n};this.getJqContent=function(){return e};this.setActionListener=function(n){};this.hideButtons=function(n){n=(n&O.ACTION_FULLSCREEN)==O.ACTION_FULLSCREEN;p();m.setShowFullscreen(!n)};this.updateFullscreenButtonDisplay=function(n){};this.hookFullscreenAutonomy=function(n){h=n};this.showWaiting=function(n,t,ia,ja){g||(g=$("<div>"),
g.addClass("lapp-dsb-loading-modallayer"),n=$("<div>"),n.addClass("lapp-dsb-loading-icon"),aa.background(n,"loading"),n.appendTo(g),g.appendTo(c),n=-1<a.getWidget().getRefreshTiming()?!0:!1,d.decorateCardModalLayer(g,n))};this.hideWaiting=function(){g&&g.hide()};this.protectedMethod.setScene=function(n){f=n;f.setJqParent(c);f.setDrawLegendListener(function(t){k=t;q()})}}function V(){F.call(this);var b=this.protectedMethod;this.createScene=function(a){N.createDashboardSquareScene(b.isMobile(),function(c){b.setScene(c);
a(c)})}}function ba(){F.call(this);var b=this.protectedMethod;this.createScene=function(a){N.createDashboardLongerScene(b.isMobile(),function(c){b.setScene(c);a(c)})}}function Z(){H.call(this);K.call(this);var b=this,a=this.protectedMethod,c,e=$("<div>"),g,f,k,m;this.getJqUi=function(){c||(c=$("<div>"),c.css("background-color","#FFFFFF"),c.append(e),r(),g=f.getJqUi(),c.append(g),b.protectedShowInitializeUi());return c};var r=function(){if(!f){f=new Q;f.setBeforeFullscreenListener(function(p){a.initWidgetPosition(c);
k&&k(p)});f.setFullscreenListener(a.doFullscreen);f.setCancelFullscreenListener(a.cancelFullscreen);f.setRedrawListener(function(p){p&&(m&&m(),c.css("height","auto"),c.css("width","100%"))});f.setOpenMenuListener(function(p){p?(v.layoutCtrlWithLRTB(g,null,null,null,-36,null,null),c.css("margin-top","44px")):(v.layoutCtrlWithLRTB(g,null,null,null,-6,null,null),c.css("margin-top","14px"));c.css("height","auto")});var h;f.setRotateUIListener(function(p){setTimeout(function(){p?c.css("width",h):(h||(h=
c.width()),c.css("width",document.documentElement.clientWidth+"px"))},50)})}};this.protectedShowInitializeUi=function(){c.css("background-color","rgb(255, 255, 255)");c.css("margin-top","0px");v.layoutCtrlWithLRTB(g,a.getWidget().getPaddingLeft(),a.getWidget().getPaddingRight(),null,0,null,30);v.layoutCtrlWithLRTB(e,a.getWidget().getPaddingLeft(),a.getWidget().getPaddingRight(),null,a.getWidget().getPaddingTop(),a.getWidget().getPaddingBottom(),null);if(a.getWidget().getTopPage().isMobileSkinActive()){var h=
a.getWidget().getTopPage().isWidgetOpacityRequired(),p=d.getCardBackgroundColor(h);c.css("backgroundColor",p);d.decorateCardSimpleBorder(h,c,null);d.decorateCardTitle(g,null)}};this.protectedShowFullscreenUi=function(){v.layoutCtrlWithLRTB(g,30,null,null,-6,null,null);c.css({"margin-top":"14px","background-color":"unset","border-radius":"unset","box-shadow":"unset"})};this.getFullScreenBackgroundColor=function(){var h="#FFFFFF";a.getWidget().getTopPage().isMobileSkinActive()&&(h=d.dip(d.DSB_CARD)[d.Key_Card_BackgroundColor]||
"#ffffff");return h};this.updateTopBar=function(h){r();var p=a.getWidget().getCardTitle();f.setTitle(p,h)};this.getJqContent=function(){return e};this.hideButtons=function(h){h=(h&H.ACTION_FULLSCREEN)==H.ACTION_FULLSCREEN;r();f.setShowFullscreen(!h)};this.setActionListener=function(h){};this.updateFullscreenButtonDisplay=function(h){};this.hookFullscreenAutonomy=function(h,p){k=h;m=p}}function fa(){R.call(this);P.call(this);var b=this.protectedMethod,a,c,e,g,f,k;this.getJqUi=function(){e||(e=new C,
c=e.getJqUi(b.getWidget()),b.decorateFontSizeEnhanced(c));return c};this.setSelectableItems=function(h){if(h){k=h;if(g){var p=g;for(var l=!0,q=0;q<h.length;q++)if(g.getValue()==h[q].getValue()){l=!1;break}l&&(p=h&&h.length?h[0]:null)}else p=h&&h.length?h[0]:null;h=p?p.getDisplayText():"";e.setText(h);e.setClickListener(m)}};this.setSelectedItem=function(h){(g=h)&&e.setText(g.getDisplayText())};this.getSelectedItem=function(){return g};this.setValueChangedListener=function(h){a=h};this.updateFrontLabel=
function(){e.relayoutUi(b.getWidget())};var m=function(){f=new W;f.setItemModels(k);f.setSelectedItemModel(g);f.setSelectedListener(r);f.setDestroyListener(function(){e.updateArrow(!1)});f.show();var h=45*k.length+44;if(!com.kingdee.bos.qing.lapp.ui.LappIntegration.isCardFullscreen()&&y.isImmediateExecutionMode())h=400<h?400:h,e.updateUiWhenImmediateExec(f.getJqUi(),h);else{var p=.5*document.body.clientHeight;h>p?h=p:179>h&&(h=179);f.getJqUi().css("height",h)}},r=function(h){var p=h?h.getDisplayText():
"";g=h;a();e.setText(p);e.updateArrow(!1)}}function P(){var b=this.protectedMethod;this.protectedMethod.decorateFontSizeEnhanced=function(a){var c=b.getWidget().getFontSizeEnhanced();a.css("font-size",c?100+10*c+"%":"")}}function J(){E.call(this);this.protectedToCtrlDisplay=function(a){return b(a[0])+"~"+b(a[1])};this.protectedInitSelector=function(a){return new T};var b=function(a){var c=new Date(a);a=c.getFullYear();var e=c.getMonth()+1;c=c.getDate();return a+u.get("calendarYearCharacter","\u5e74")+
e+u.get("calendarMonthCharacter","\u6708")+c+u.get("calendarDay","\u65e5")}}function w(){E.call(this);this.protectedToCtrlDisplay=function(b){return(new Date(b[0])).getFullYear()+u.get("calendarYear","\u5e74")};this.protectedInitSelector=function(b){return new B(B.YEAR_MODE)}}function D(){E.call(this);this.protectedToCtrlDisplay=function(b){var a=new Date(b[0]);b=a.getFullYear();a=a.getMonth()+1;return b+u.get("calendarYearCharacter","\u5e74")+a+u.get("calendarMonth","\u6708")};this.protectedInitSelector=
function(b){return new B(B.YEAR_MONTH_MODE)}}function L(){E.call(this);this.protectedToCtrlDisplay=function(b){var a=new Date(b[0]);b=a.getFullYear();var c=a.getMonth()+1;a=a.getDate();return b+u.get("calendarYearCharacter","\u5e74")+c+u.get("calendarMonthCharacter","\u6708")+a+u.get("calendarDay","\u65e5")};this.protectedInitSelector=function(b){return new B(B.YEAR_MONTH_DAY_MODE)}}function da(){E.call(this);this.protectedToCtrlDisplay=function(b){var a=new Date(b[0]);b=a.getFullYear();a=Math.floor(a.getMonth()/
3)+1;return b+"Q"+a};this.protectedInitSelector=function(b){return new Y}}function E(){S.call(this);P.call(this);var b=this,a=this.protectedMethod,c,e,g,f,k,m,r;this.getJqUi=function(q){f||(f=new C,m=f.getJqUi(a.getWidget()),a.decorateFontSizeEnhanced(m),f.setClickListener(l));return m};this.setDateMs=function(q){e=q[0];g=q[1];f.setText(b.protectedToCtrlDisplay([e,g]))};this.getFromDateMs=function(){return e};this.getToDateMs=function(){return g};this.setValueChangedListener=function(q){c=q};this.updateFrontLabel=
function(){f.relayoutUi(a.getWidget())};this.protectedToCtrlDisplay=function(q){throw Error("Implement");};this.protectedInitSelector=function(q){throw Error("Implement");};var h=function(q){q=q.getSelectedDateMs();q[0]>q[1]?(new X).show(u.get("dateRangeError","\u7ed3\u675f\u65e5\u671f\u4e0d\u80fd\u65e9\u4e8e\u5f00\u59cb\u65e5\u671f"),X.LENGTH_SHORT):(e=q[0],g=q[1],f.setText(b.protectedToCtrlDisplay([e,g])),r.remove(),r=null,f.updateArrow(!1),c())},p=function(q){r.remove();r=null;f.updateArrow(!1)},
l=function(q){r||(r=$("<div>"),r.addClass("lapp-dsb-modallayer"),r.on("click",function(n){"lapp-dsb-modallayer"==n.target.className&&p()}),r.appendTo($(document.body)),k=b.protectedInitSelector([e,g]),k.getJqUi().appendTo(r),k.setOkListener(h),k.setCancelListener(p),k.setDateMs([e,g]),com.kingdee.bos.qing.lapp.ui.LappIntegration.isCardFullscreen()||(q=k.getJqUi(),f.updateUiWhenImmediateExec(q,270)));r.show()}}function M(){I.call(this);P.call(this);var b=this.protectedMethod,a,c,e,g,f,k,m;this.getJqUi=
function(){c||(c=new C,a=c.getJqUi(b.getWidget()),b.decorateFontSizeEnhanced(a));return a};this.setSelectableItems=function(l){f=l};this.setSelectedItems=function(l){k=l;p(k);c.setClickListener(r)};this.getSelectedItems=function(){return void 0===k||0==f.length?(c.setText(""),null):null===k?(c.setText(u.get("all","\uff08\u5168\u90e8\uff09")),null):k};this.setValueChangedListener=function(l){m=l};this.updateFrontLabel=function(){c.relayoutUi(b.getWidget())};var r=function(){if(b.getWidget().isMultiSelectable()){e=
new ea;e.setItemModels(f);if(null==k){k=[];for(var l in f)k.push(f[l])}e.setSelectedItemModels(k);e.setConfirmListener(function(){k=e.getSelectedItemModels();p(k&&k.length===f.length?null:k);m()});e.setDestroyListener(function(){c.updateArrow(!1)});e.show();l=45*f.length+135;if(!com.kingdee.bos.qing.lapp.ui.LappIntegration.isCardFullscreen()&&y.isImmediateExecutionMode()){var q=e.getJqUi();c.updateUiWhenImmediateExec(q,450<l?450:l)}else q=Math.ceil(.6*document.body.clientHeight),l=l<q?l:q,e.getJqUi().css("height",
l)}else g=new W,g.setItemModels(f),k&&g.setSelectedItemModel(k[0]),g.setSelectedListener(h),g.setDestroyListener(function(){c.updateArrow(!1)}),g.show(),l=45*f.length+44,!com.kingdee.bos.qing.lapp.ui.LappIntegration.isCardFullscreen()&&y.isImmediateExecutionMode()?(l=400<l?400:l,c.updateUiWhenImmediateExec(g.getJqUi(),l)):(q=.5*document.body.clientHeight,l>q?l=q:179>l&&(l=179),g.getJqUi().css("height",l))},h=function(l){var q=l?l.getDisplayText():"";c.setText(q);k=[];k.push(l);m();c.updateArrow(!1)},
p=function(l){if(void 0===l||0==f.length)c.setText("");else if(null===l)c.setText(u.get("all","\uff08\u5168\u90e8\uff09"));else{for(var q=Math.min(20,l.length),n="",t=0;t<q;t++)0<t&&(n+=", "),n+=l[t].getDisplayText();l.length>q&&(n+="...");c.setText(n)}}}function C(){var b=this,a,c,e,g,f;this.getJqUi=function(k){if(!a){a=$("<div>");var m=$.trim(k.getFrontLabel());if(m){f=new U;f.setText(m);var r=f.getJqUi();r.addClass("lapp-dsb-front-label");r.appendTo(a)}c=$("<div>");c.appendTo(a);g=new U;m=g.getJqUi();
m.appendTo(c);m.addClass("lapp-dsb-combobox-label");e=$("<div>");e.addClass("lapp-dsb-combobox-triangle-down");e.appendTo(c);b.relayoutUi(k);k.getTopPage().isMobileSkinActive()?(c.addClass("lapp-dsb-combobox"),r&&d.decorateLabel(r),d.decorateInputer(c)):c.addClass("lapp-dsb-selectbox")}return a};this.relayoutUi=function(k){if(f){var m=f.getJqUi(),r=$.trim(k.getFrontLabel());m.text(r);"left"==k.getFrontLabelPosition()?(k=k.getFrontLabelLength(),void 0===k&&(k=72),m.css("width",k+"px"),c.css({left:k+
10,top:"0px"})):(m.css("width","100%"),c.css({left:"0px",top:"25px"}))}else c.css({left:"0px",top:"0px"})};this.setText=function(k){g.setText(k)};this.setClickListener=function(k){c.off("click");c.on("click",function(){k();b.updateArrow(!0)})};this.updateArrow=function(k){k?(e.removeClass("lapp-dsb-combobox-triangle-down"),e.addClass("lapp-dsb-combobox-triangle-up")):(e.removeClass("lapp-dsb-combobox-triangle-up"),e.addClass("lapp-dsb-combobox-triangle-down"))};this.updateUiWhenImmediateExec=function(k,
m){z.postMessageWhenImmediateExecution(z.TYPE_LAYOUT,function(r){var h=v.upwardCoordinate(a[0],[0,0],document.body)[1],p=document.body.clientHeight;m>p&&(m=p);k.css("height",m);m<p-(h+a.height())&&k.css("top",h+a.height());var l=window.location.href;p=G.decodeParamFromUrl(l,"publishId");l=G.decodeParamFromUrl(l,"time");r.top=h;r.bottomHeight=k.height();r.iframeId=p+l})}}"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.dsb&&(com.kingdee.bos.qing.dsb={});"undefined"==typeof com.kingdee.bos.qing.dsb.widget&&(com.kingdee.bos.qing.dsb.widget={});"undefined"==typeof com.kingdee.bos.qing.dsb.widget.mobile&&(com.kingdee.bos.qing.dsb.widget.mobile={});var A=com.kingdee.bos.qing.dsb.widget.mobile,u,y,z,G,v,N,x,O,H,R,S,I,B,T,Y,U,W,ea,ha,aa,X,Q,d;(function(){b=com.kingdee.bos.qing.framework.common;u=b.MultilanguageManager.createPackageAccessor(A);
b=com.kingdee.bos.qing.lapp.integration;y=b.EnvUtil;z=b.PostMessageUtils;var b=com.kingdee.bos.qing.common;G=b.Util;v=b.DomUtil;b=com.kingdee.bos.qing.dsb;N=b.IntegrationRegister;d=b.CosmeticBag;b=com.kingdee.bos.qing.dsb.model;x=b.DashboardModel;b=com.kingdee.bos.qing.dsb.widget;O=b.AbstractBuiltinVisualWidgetCtrl;H=b.AbstractPanelWidgetCtrl;R=b.AbstractComboboxWidgetCtrl;S=b.AbstractCalendarWidgetCtrl;I=b.AbstractF7WidgetCtrl;b=com.kingdee.bos.qing.lapp.component;B=b.DateSliderSelector;T=b.DateRangeTabSelector;
Y=b.DateOfYearQuarterSelector;U=b.Label;W=b.BottomSelector;ea=b.F7Selector;ha=b.InfoDialog;aa=b.Icons;X=b.Toast;b=com.kingdee.bos.qing.dsb.widget.mobile;Q=b.WidgetCtrlTitleBar})();(function(){var b=com.kingdee.bos.qing.dsb.widget.MobileWidgetCtrlRegister;b.registerClass(x.WidgetType_Square,V);b.registerClass(x.WidgetType_Longer,ba);b.registerClass(x.WidgetType_Panel,Z);b.registerClass(x.WidgetType_Combobox,fa);b.registerClass(x.WidgetType_F7,M);b.registerClass(x.WidgetType_Calendar,J);b.registerClass(x.WidgetType_CalendarYear,
w);b.registerClass(x.WidgetType_CalendarQuarter,da);b.registerClass(x.WidgetType_CalendarMonth,D);b.registerClass(x.WidgetType_CalendarDay,L)})()})();
//qingVersionTag: 20250415