var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(v,h,y){v instanceof String&&(v=String(v));for(var H=v.length,D=0;D<H;D++){var L=v[D];if(h.call(y,L,D,v))return{i:D,v:L}}return{i:-1,v:void 0}};$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(v,h,y){if(v==Array.prototype||v==Object.prototype)return v;v[h]=y.value;return v};$jscomp.getGlobal=function(v){v=["object"==typeof globalThis&&globalThis,v,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var h=0;h<v.length;++h){var y=v[h];if(y&&y.Math==Math)return y}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(v,h){var y=$jscomp.propertyToPolyfillSymbol[h];if(null==y)return v[h];y=v[y];return void 0!==y?y:v[h]};
$jscomp.polyfill=function(v,h,y,H){h&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(v,h,y,H):$jscomp.polyfillUnisolated(v,h,y,H))};$jscomp.polyfillUnisolated=function(v,h,y,H){y=$jscomp.global;v=v.split(".");for(H=0;H<v.length-1;H++){var D=v[H];if(!(D in y))return;y=y[D]}v=v[v.length-1];H=y[v];h=h(H);h!=H&&null!=h&&$jscomp.defineProperty(y,v,{configurable:!0,writable:!0,value:h})};
$jscomp.polyfillIsolated=function(v,h,y,H){var D=v.split(".");v=1===D.length;H=D[0];H=!v&&H in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var L=0;L<D.length-1;L++){var Q=D[L];if(!(Q in H))return;H=H[Q]}D=D[D.length-1];y=$jscomp.IS_SYMBOL_NATIVE&&"es6"===y?H[D]:null;h=h(y);null!=h&&(v?$jscomp.defineProperty($jscomp.polyfills,D,{configurable:!0,writable:!0,value:h}):h!==y&&(void 0===$jscomp.propertyToPolyfillSymbol[D]&&(y=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[D]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(D):$jscomp.POLYFILL_PREFIX+y+"$"+D),$jscomp.defineProperty(H,$jscomp.propertyToPolyfillSymbol[D],{configurable:!0,writable:!0,value:h})))};$jscomp.polyfill("Array.prototype.find",function(v){return v?v:function(h,y){return $jscomp.findInternal(this,h,y).v}},"es6","es3");
(function(){function v(){var a,c;this.setExportType=function(k){a=k};this.setJsonModelWrapper=function(k){c=k};this.toJsonObject=function(){var k={};k.exportType=a;k.modelWrapper=JSON.stringify(c);return k}}function h(){var a=210,c=297,k=h.VERITICAL,g=18,z=18,w=25,K=25,F=h.SCALING,J=100,d=1,q=1,A=new y,G=new y,E=!0,l=!0,f=!1;this.getPaperWidth=function(){return a};this.setPaperWidth=function(b){a=b};this.getPaperHeight=function(){return c};this.setPaperHeight=function(b){c=b};this.getPageMarginLeft=
function(){return g};this.setPageMarginLeft=function(b){g=b};this.getPageMarginRight=function(){return z};this.setPageMarginRight=function(b){z=b};this.getPageMarginTop=function(){return w};this.setPageMarginTop=function(b){w=b};this.getPageMarginBottom=function(){return K};this.setPageMarginBottom=function(b){K=b};this.getDirection=function(){return k};this.setDirection=function(b){k=b};this.getZoomType=function(){return F};this.setZoomType=function(b){F=b};this.getScaling=function(){return J};this.setScaling=
function(b){J=b};this.getZoomOutPageWide=function(){return d};this.setZoomOutPageWide=function(b){d=b};this.getZoomOutPageTall=function(){return q};this.setZoomOutPageTall=function(b){q=b};this.getHeader=function(){return A};this.getFooter=function(){return G};this.isPagingRowFirst=function(){return E};this.setPagingRowFirst=function(b){E=b};this.isTopHeaderAll=function(){return l};this.setTopHeaderAll=function(b){l=b};this.isLeftHeaderAll=function(){return f};this.setLeftHeaderAll=function(b){f=
b};this.toJsonObject=function(){var b={};b.isAutoFit=F==h.SCALING?!1:!0;b.scale=J;b.autoFitWidth=d;b.autoFitHeight=q;var e={};e.paperWidth=a;e.paperHeight=c;e.isLandscape=k==h.HORIZONTAL?!0:!1;e.marginLeft=g;e.marginRight=z;e.marginTop=w;e.marginBottom=K;e.scaleModel=b;e.listHeaderRow=A.toJsonObject();e.listFooterRow=G.toJsonObject();e.isRowFirst=E;e.isTopHeaderAll=l;e.isLeftHeaderAll=f;return e};this.fromJsonObject=function(b){var e=b.scaleModel;F=e.isAutoFit?h.ADJUSTMENT:h.SCALING;J=e.scale;d=e.autoFitWidth;
q=e.autoFitHeight;a=b.paperWidth;c=b.paperHeight;k=b.isLandscape?h.HORIZONTAL:h.VERITICAL;g=b.marginLeft;z=b.marginRight;w=b.marginTop;K=b.marginBottom;A.fromJsonObject(b.listHeaderRow);G.fromJsonObject(b.listFooterRow);E=b.isRowFirst;l=b.isTopHeaderAll;f=b.isLeftHeaderAll}}function y(){var a=[],c=[],k=[];this.getLeftText=function(){return a.join("\n")};this.setLeftText=function(g){a=g.split("\n")};this.getCenterText=function(){return c.join("\n")};this.setCenterText=function(g){c=g.split("\n")};
this.getRightText=function(){return k.join("\n")};this.setRightText=function(g){k=g.split("\n")};this.toJsonObject=function(){return[a,c,k]};this.fromJsonObject=function(g){g[0]&&(a=g[0]);g[1]&&(c=g[1]);g[2]&&(k=g[2])};this.toString=function(){var g=a.join(" "),z=c.join(" ");z&&(0<g.length&&(g+=", "),g+=z);if(z=k.join(" "))0<g.length&&(g+=", "),g+=z;return g}}function H(){var a,c;this.checkInvalid=function(){if(a.getDirection()==h.VERITICAL){var f=a.getPaperWidth();var b=a.getPaperHeight()}else f=
a.getPaperHeight(),b=a.getPaperWidth();return a.getPageMarginLeft()+a.getPageMarginRight()>f/2||a.getPageMarginTop()+a.getPageMarginBottom()>b/2?r.get("invalidMarginPrompt","\u9875\u9762\u8fb9\u8ddd\u592a\u5927\uff0c \u4e0d\u9002\u5408\u5f53\u524d\u7eb8\u5f20\u5927\u5c0f"):null};this.setModel=function(f){a=f};this.getJqUi=function(){if(!c){var f=new L;f.setTitle(r.get("paperMedia","\u7eb8\u5f20\u5c3a\u5bf8"));var b=new M(r.get("paperType","\u7c7b\u578b")),e=new M(r.get("paperSize","\u5927\u5c0f(mm)")),
m=new M(r.get("paperWidth","\u5bbd")),p=new M(r.get("paperHeight","\u9ad8")),n=new R,u=new N,B=new N;g(n,u,B);var x=f.getJqContainer();x.append(b.getJqUi());x.append(n.getJqUi());x.append(e.getJqUi());x.append(u.getJqUi());x.append(m.getJqUi());x.append(B.getJqUi());x.append(p.getJqUi());t.layoutCtrl(b.getJqUi(),0,0,90,23);t.layoutCtrl(n.getJqUi(),90,0,200,23);t.layoutCtrl(e.getJqUi(),0,33,90,23);t.layoutCtrl(u.getJqUi(),90,33,60,23);t.layoutCtrl(m.getJqUi(),155,33,60,23);t.layoutCtrl(B.getJqUi(),
230,33,60,23);t.layoutCtrl(p.getJqUi(),295,33,60,23);f=f.getJqUi();b=new L;b.setTitle(r.get("direction","\u65b9\u5411"));e=new P;e.setText(r.get("directionVertical","\u7eb5\u5411"));m=new P;m.setText(r.get("directionHorizontal","\u6a2a\u5411"));p=new S;p.addElement(e);p.addElement(m);w(p,e,m);p=b.getJqContainer();p.append(e.getJqUi());p.append(m.getJqUi());t.layoutCtrl(e.getJqUi(),0,0,90,23);t.layoutCtrl(m.getJqUi(),90,0,90,23);b=b.getJqUi();e=new L;e.setTitle(r.get("margin","\u9875\u8fb9\u8ddd(mm)"));
m=e.getJqContainer();p=[[r.get("marginLeft","\u5de6"),a.getPageMarginLeft,a.setPageMarginLeft],[r.get("marginRight","\u53f3"),a.getPageMarginRight,a.setPageMarginRight],[r.get("marginTop","\u4e0a"),a.getPageMarginTop,a.setPageMarginTop],[r.get("marginBottom","\u4e0b"),a.getPageMarginBottom,a.setPageMarginBottom]];n=[];for(u=0;u<p.length;u++){x=p[u][0];var C=p[u][1],I=p[u][2];B=new N;K(B,C,I);x=new M(x);x.getJqUi().css("text-align","right");C=$("<div>");C.append(x.getJqUi());C.append(B.getJqUi());
t.layoutCtrl(x.getJqUi(),0,0,50,23);t.layoutCtrl(B.getJqUi(),60,0,60,23);n[u]=C;m.append(C)}t.layoutCtrl(n[0],0,30,120,23);t.layoutCtrl(n[1],200,30,120,23);t.layoutCtrl(n[2],100,0,120,23);t.layoutCtrl(n[3],100,60,120,23);e=e.getJqUi();m=new L;m.setTitle(r.get("headerfooter","\u9875\u7709/\u9875\u811a"));p=new M(r.get("hfHeader","\u9875\u7709"));n=new R;u=new T(r.get("hfSetting","\u81ea\u5b9a\u4e49"));B=new M(r.get("hfFooter","\u9875\u811a"));x=new R;C=new T(r.get("hfSetting","\u81ea\u5b9a\u4e49"));
F(n,x,u,C);I=m.getJqContainer();I.append(p.getJqUi());I.append(n.getJqUi());I.append(u.getJqUi());I.append(B.getJqUi());I.append(x.getJqUi());I.append(C.getJqUi());t.layoutCtrl(p.getJqUi(),0,0,50,23);t.layoutCtrl(n.getJqUi(),50,0,210,23);t.layoutCtrl(u.getJqUi(),260,0,60,23);t.layoutCtrl(B.getJqUi(),0,33,50,23);t.layoutCtrl(x.getJqUi(),50,33,210,23);t.layoutCtrl(C.getJqUi(),260,33,60,23);m=m.getJqUi();p=new L;p.setTitle(r.get("zoom","\u7f29\u653e"));n=new P;n.setText(r.get("zoomRatio","\u7f29\u653e\u6bd4\u4f8b"));
u=new P;u.setText(r.get("zoomFitTo","\u4e0d\u8d85\u51fa"));x=new S;x.addElement(n);x.addElement(u);B=new N;C=new N;I=new N;A(x,n,u,B,C,I);x=new M("%");var U=new M(r.get("zoomPagesWide","\u9875\u5bbd")),fa=new M(r.get("zoomPagesTall","\u9875\u9ad8"));C=k([[C,0,60],[U,5,null],[I,10,60],[fa,5,null]]);I=p.getJqContainer();I.append(n.getJqUi());I.append(u.getJqUi());I.append(B.getJqUi());I.append(x.getJqUi());I.append(C);t.layoutCtrl(n.getJqUi(),0,0,90,23);t.layoutCtrl(B.getJqUi(),90,0,60,23);t.layoutCtrl(x.getJqUi(),
155,0,40,23);t.layoutCtrl(u.getJqUi(),0,33,90,23);t.layoutCtrl(C,90,33,260,23);p=p.getJqUi();n=new L;n.setTitle(r.get("pagingOrder","\u5206\u9875\u987a\u5e8f"));u=new P;B=new P;x=new S;x.addElement(u);x.addElement(B);E(x,u,B);I=new M(r.get("pagingOrderRowFirst","\u5148\u884c\u540e\u5217"));x=new M(r.get("pagingOrderColFirst","\u5148\u5217\u540e\u884c"));U=$("<div>");U.css("background-image",V.getIconUrl("export","icon_export-rowfirst.png"));C=$("<div>");C.css("background-image",V.getIconUrl("export",
"icon_export-colfirst.png"));I=k([[I,0,null],[U,5,23]]);x=k([[x,0,null],[C,5,23]]);C=n.getJqContainer();C.append(u.getJqUi());C.append(I);C.append(B.getJqUi());C.append(x);t.layoutCtrl(u.getJqUi(),0,0,20,23);t.layoutCtrl(I,20,0,130,23);t.layoutCtrl(B.getJqUi(),155,0,20,23);t.layoutCtrl(x,175,0,130,23);n=n.getJqUi();u=new L;u.setTitle(r.get("repeatTableHead","\u8868\u5934"));B=new W;B.setText(r.get("repeatTableTop","\u6bcf\u9875\u91cd\u590d\u4e0a\u8868\u5934"));x=new W;x.setText(r.get("repeatTableLeft",
"\u6bcf\u9875\u91cd\u590d\u5de6\u8868\u5934"));l(B,x);C=u.getJqContainer();C.append(B.getJqUi());C.append(x.getJqUi());t.layoutCtrl(B.getJqUi(),0,0,260,23);t.layoutCtrl(x.getJqUi(),0,33,260,23);u=u.getJqUi();c=$("<div>");c.append(f);c.append(b);c.append(p);c.append(n);c.append(e);c.append(m);c.append(u);t.layoutCtrlWithLRTB(f,0,null,"45%",0,null,110);t.layoutCtrlWithLRTB(b,0,null,"45%",110,null,70);t.layoutCtrlWithLRTB(e,0,null,"45%",180,null,130);t.layoutCtrlWithLRTB(m,0,null,"45%",310,null,110);
t.layoutCtrlWithLRTB(p,null,0,"45%",0,null,110);t.layoutCtrlWithLRTB(n,null,0,"45%",110,null,70);t.layoutCtrlWithLRTB(u,null,0,"45%",180,null,110)}return c};var k=function(f){for(var b=$("<div>"),e=0;e<f.length;e++){var m=f[e][0],p=f[e][1],n=f[e][2];m=m instanceof $?m:m.getJqUi();b.append(m);m.css("position","relative");m.css("float","left");m.css("margin-left",p+"px");m.css("height","23px");n&&m.css("width",n+"px")}return b},g=function(f,b,e){var m=[new D(297,420,"A3"),new D(210,297,"A4"),new D(148,
210,"A5"),new D(353,500,"B3"),new D(250,353,"B4"),new D(176,250,"B5"),new D(0,0,r.get("paperMediaCustom","\u81ea\u5b9a\u4e49"))];f.setItemModels(m);z(m,f);f.addSelectedChangedListener(function(p,n,u){n=p.getSelected();p=n.getWidth();n=n.getHeight();0<p&&0<n&&(a.setPaperWidth(p),a.setPaperHeight(n),b.setValue(p),e.setValue(n))});b.setConstraint(100,1E3,1);b.setValue(a.getPaperWidth());b.addValueChangedListener(function(p,n,u,B){B!=N.CHANGED_BY_API&&(a.setPaperWidth(u),z(m,f))});e.setConstraint(100,
1E3,1);e.setValue(a.getPaperHeight());e.addValueChangedListener(function(p,n,u,B){B!=N.CHANGED_BY_API&&(a.setPaperHeight(u),z(m,f))})},z=function(f,b){for(var e=0;e<f.length;e++){var m=f[e];if(m.getWidth()==a.getPaperWidth()&&m.getHeight()==a.getPaperHeight()){b.setSelected(m);return}}b.setSelected(f[f.length-1])},w=function(f,b,e){b.setUserObject(h.VERITICAL);b.setChecked(a.getDirection()==h.VERITICAL);e.setUserObject(h.HORIZONTAL);e.setChecked(a.getDirection()==h.HORIZONTAL);f.addChangedListener(function(m,
p){p&&a.setDirection(m.getUserObject())})},K=function(f,b,e){f.setConstraint(0,1E3,1);f.setValue(b());f.addValueChangedListener(function(m,p,n,u){u!=N.CHANGED_BY_API&&e(n)})},F=function(f,b,e,m){f.setSelected(a.getHeader());b.setSelected(a.getFooter());var p=[new y,J([[],[r.get("hfSelectableItem1","\u7b2c&[Page]\u9875")],[]]),J([[],[r.get("hfSelectableItem2","\u7b2c&[Page]\u9875 \u5171&[PageCount]\u9875")],[]]),J([[],[r.get("hfSelectableItem3","\u6253\u5370\u65e5\u671f:&[Date]")],[]]),J([[],[r.get("hfSelectableItem4",
"\u6253\u5370\u65f6\u95f4:&[Time]")],[]]),J([[],[r.get("hfSelectableItem5","&[Date] &[Time]")],[]])];f.setItemModels(p,d);f.addSelectedChangedListener(function(n,u,B){a.getHeader().fromJsonObject(B.toJsonObject())});b.setItemModels(p,d);b.addSelectedChangedListener(function(n,u,B){a.getFooter().fromJsonObject(B.toJsonObject())});e.addActionListener(function(n){n=r.get("hfHeader","\u9875\u7709");q(n,!0,a.getHeader(),function(){f.setSelected(null);f.setSelected(a.getHeader())})});m.addActionListener(function(n){n=
r.get("hfFooter","\u9875\u811a");q(n,!1,a.getFooter(),function(){b.setSelected(null);b.setSelected(a.getFooter())})})},J=function(f){var b=new y;b.fromJsonObject(f);return b},d=function(f,b){return f.getLeftText()==b.getLeftText()&&f.getCenterText()==b.getCenterText()&&f.getRightText()==b.getRightText()},q=function(f,b,e,m){var p=new ha;p.setTitle(f);p.setHeaderOrFooter(b);p.setHeaderFooterModel(e);p.setConfirmedCallback(m);p.showDialog()},A=function(f,b,e,m,p,n){b.setUserObject(h.SCALING);b.setChecked(a.getZoomType()==
h.SCALING);e.setUserObject(h.ADJUSTMENT);e.setChecked(a.getZoomType()==h.ADJUSTMENT);f.addChangedListener(function(u,B){B&&a.setZoomType(u.getUserObject())});m.setConstraint(10,400,1);m.setValue(a.getScaling());m.addValueChangedListener(function(u,B,x,C){C!=N.CHANGED_BY_API&&(a.setScaling(x),a.setZoomType(h.SCALING),b.setChecked(!0))});p.setCustomPainter(G);p.setConstraint(0,32767,1);p.setValue(a.getZoomOutPageWide());p.addValueChangedListener(function(u,B,x,C){C!=N.CHANGED_BY_API&&(a.setZoomOutPageWide(x),
a.setZoomType(h.ADJUSTMENT),e.setChecked(!0))});n.setCustomPainter(G);n.setConstraint(0,32767,1);n.setValue(a.getZoomOutPageTall());n.addValueChangedListener(function(u,B,x,C){C!=N.CHANGED_BY_API&&(a.setZoomOutPageTall(x),a.setZoomType(h.ADJUSTMENT),e.setChecked(!0))})},G=function(f){return 0<f?f:""},E=function(f,b,e){b.setUserObject(!0);b.setChecked(a.isPagingRowFirst());e.setUserObject(!1);e.setChecked(!a.isPagingRowFirst());f.addChangedListener(function(m,p){p&&a.setPagingRowFirst(m.getUserObject())})},
l=function(f,b){f.setChecked(a.isTopHeaderAll());b.setChecked(a.isLeftHeaderAll());f.addCheckedListener(function(e,m){m&&a.setTopHeaderAll(e.isChecked())});b.addCheckedListener(function(e,m){m&&a.setLeftHeaderAll(e.isChecked())})}}function D(a,c,k){this.getWidth=function(){return a};this.getHeight=function(){return c};this.toString=function(){return k}}function L(){var a,c=$("<div>"),k=$("<div>");this.setTitle=function(g){c.text(g)};this.getJqUi=function(){a||(c.css("color","#333"),c.css("line-height",
"24px"),c.css("font-size","14px"),c.css("border-bottom","solid 1px #d7dadd"),k.css("font-size","12px"),a=$("<div>"),a.append(c),a.append(k),t.layoutCtrlWithLRTB(c,0,0,null,0,null,24),t.layoutCtrlWithLRTB(k,10,10,null,34,10,null));return a};this.getJqContainer=function(){return k}}function Q(){var a=this,c,k,g,z=0,w=0,K=function(){if(!c){c=new ba;var l=F();l.on("focus",q);l.on("blur",A);if(X.isIEBrowser())l.on("beforedeactivate",d)}return c},F=function(){return K().getJqUi().find("textarea")};this.getJqUi=
function(){return K().getJqUi()};this.requestFocus=function(){c.requestFocus()};this.setFocusListener=function(l){g=l};this.setAlign=function(l){F().css("text-align",l);k=r.get("left"==l?"hfSettingLeftPart":"right"==l?"hfSettingRightPart":"hfSettingCenterPart");G(!1)};this.setValue=function(l){K().setText(l);E(l)};this.getValue=function(){return K().getText()};this.insert=function(l){X.isIEBrowser()?w=z=J(l,z,w):J(l,F()[0].selectionStart,F()[0].selectionEnd);c.requestFocus()};var J=function(l,f,b){var e=
a.getValue();if("number"!=typeof f||"number"!=typeof b)b=f=e.length;a.setValue(e.substring(0,f)+l+e.substring(b,e.length));l=f+l.length;F()[0].setSelectionRange(l,l);return l},d=function(l){z=F()[0].selectionStart;w=F()[0].selectionEnd},q=function(l){G(!0);E(!0);g(a)},A=function(l){G(!1);E(a.getValue())},G=function(l){l?F().attr("placeholder",r.get("hfSettingInsertingTips","\u8bf7\u8f93\u5165\u5185\u5bb9")):F().attr("placeholder",k)},E=function(l){l?F().css("line-height",""):F().css("line-height",
"40px")}}function ia(){var a,c=new Q,k=new Q,g=new Q,z;this.setModelToModify=function(d){a=d;c.setValue(a.getLeftText());k.setValue(a.getCenterText());g.setValue(a.getRightText());z=a.getLeftText()?c:a.getCenterText()?k:a.getRightText()?g:c};this.acceptModified=function(){a.setLeftText(c.getValue());a.setCenterText(k.getValue());a.setRightText(g.getValue())};this.createJqUi=function(d){var q=K();d=w(d);var A=$("<div>");A.append(q);A.append(d);t.layoutCtrlWithLRTB(q,0,0,null,0,null,24);t.layoutCtrlWithLRTB(d,
0,0,null,32,null,112);setTimeout(function(){z.requestFocus()},0);return A};var w=function(d){c.setAlign("left");c.setFocusListener(F);k.setAlign("center");k.setFocusListener(F);g.setAlign("right");g.setFocusListener(F);var q=c.getJqUi(),A=k.getJqUi(),G=g.getJqUi(),E=V.getIconUrl("export",d?"icon_export-bgheader.png":"icon_export-bgfooter.png"),l=$("<div>");l.css("background-image",E);l.css("background-repeat","repeat-x");l.append(q);l.append(A);l.append(G);E=d?8:null;d=d?null:8;t.layoutCtrlWithLRTB(q,
8,null,"30%",E,d,44);t.layoutCtrlWithLRTB(A,"35%",null,"30%",E,d,44);t.layoutCtrlWithLRTB(G,null,8,"30%",E,d,44);return l},K=function(){var d=$("<div>"),q=0,A=new M(r.get("hfSettingButtonsCaption","\u63d2\u5165"));t.layoutCtrl(A.getJqUi(),q,0,60,23);d.append(A.getJqUi());q=60;A=[["&[Page]",r.get("hfSettingBtnPage","\u9875\u7801")],["&[PageCount]",r.get("hfSettingBtnPageCount","\u603b\u9875\u6570")],["&[Date]",r.get("hfSettingBtnDate","\u65e5\u671f")],["&[Time]",r.get("hfSettingBtnTime","\u65f6\u95f4")]];
for(var G=0;G<A.length;G++){var E=A[G][0],l=new T(A[G][1]);l.setUserObject(E);l.addActionListener(J);d.append(l.getJqUi());t.layoutCtrl(l.getJqUi(),q,0,72,23);q+=72}return d},F=function(d){z=d},J=function(d){d=d.getUserObject();z.insert(d)}}function ha(){Y.call(this);var a=this,c=this.protectedMethod,k,g,z;(function(){a.setSize(640,264);c.setSelectable(!0);c.setContentPaneCreator(function(){return g.createJqUi(k)});c.setClosingAction(function(w){w&&(g.acceptModified(),z())})})();this.setTitle=function(w){c.setTitle(w)};
this.setHeaderOrFooter=function(w){k=w};this.setHeaderFooterModel=function(w){g=new ia;g.setModelToModify(w)};this.setConfirmedCallback=function(w){z=w}}function ca(){Y.call(this);var a=this,c=this.protectedMethod,k,g,z;(function(){a.setSize(860,540);c.setContentPaneCreator(function(){g=new H;g.setModel(k);return g.getJqUi()});c.setClosingChecker(function(){var w=g.checkInvalid();return w?(c.getMessageCurtain().showPrompt(w),!1):!0});c.setClosingAction(function(w){w&&z(k)})})();this.setTitle=function(w){c.setTitle(w)};
this.setSettingModel=function(w){k=w};this.setConfirmer=function(w){z=w}}function da(){var a=!0;this.setVerticalMerged=function(c){a=c};this.isVerticalMerged=function(){return a};this.toJsonObject=function(){var c={};c.verticalMerged=a;return c};this.fromJsonObject=function(c){a=c.verticalMerged}}function ja(){Y.call(this);var a=this,c=this.protectedMethod,k,g,z;(function(){a.setSize(360,180);c.setContentPaneCreator(function(){g=new ka;g.setModel(k);return g.getJqUi()});c.setClosingAction(function(w){w&&
z(k)})})();this.setTitle=function(w){c.setTitle(w)};this.setConfigModel=function(w){k=w};this.setConfirmer=function(w){z=w}}function ka(){var a,c;this.setModel=function(g){a=g};this.getJqUi=function(){c||k();return c};var k=function(){c=$("<div>");var g=new W;g.setText(r.get("keepVerticalMerged","\u4fdd\u7559\u5de6\u8868\u5934\u8de8\u884c\u5408\u5e76\u5355\u5143\u683c\uff08\u5982\u679c\u6709\uff09"));g.setChecked(a.isVerticalMerged());g.addCheckedListener(function(z,w){w&&a.setVerticalMerged(z.isChecked())});
g=g.getJqUi();g.appendTo(c);t.layoutCtrlWithLRTB(g,0,0,null,0,null,23)}}"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.exportmanage&&(com.kingdee.bos.qing.exportmanage={});var ea=com.kingdee.bos.qing.exportmanage,X,t,r,V,Z,Y,P,S,R,M,T,W,N,ba,aa,O;(function(){var a=com.kingdee.bos.qing.common;X=a.Util;
t=a.DomUtil;a=com.kingdee.bos.qing.framework.common;r=a.MultilanguageManager.createPackageAccessor(ea);V=a.Resource;Z=a.RemoteFramework;a=com.kingdee.bos.qing.ui.component;Y=a.AbstractModalDialog;P=a.RadioButton;S=a.RadioButtonGroup;R=a.ComboBox;M=a.Label;T=a.WorkButton;W=a.CheckBox;N=a.Spinner;ba=a.TextArea;a=com.kingdee.bos.qing.longer.ui;aa=a.ExportHelper;a=com.kingdee.bos.qing.behavior;O=a.BehaviorManager})();ea.ExportManage=function(){var a,c,k;this.setDependentApi=function(d){a=d};this.setMenuStateUpdater=
function(d,q){c=d;k=q};this.exportExcel=function(){var d=w();!d&&(d=new da);var q=new ja;q.setTitle(r.get("exportExcelDialogTitle","\u5bfc\u51fa\u4e3aExcel"));q.setConfigModel(d);q.setConfirmer(function(A){A=A.toJsonObject();A=JSON.stringify(A);a.setExportConfig(A);c(!0);J("EXCEL",".xlsx")});q.showDialog()};this.exportPng=function(){c(!0);J("PNG",".png")};this.exportPdf=function(){var d=g();!d&&(d=new h);var q=new ca;q.setTitle(r.get("exportPdfDialogTitle","\u5bfc\u51fa\u4e3aPDF"));q.setSettingModel(d);
q.setConfirmer(function(A){z(A);c(!0);J("PDF",".pdf")});q.showDialog()};this.printSetting=function(){var d=g();!d&&(d=new h);var q=new ca;q.setTitle(r.get("printSettingDialogTitle","\u6253\u5370\u8bbe\u7f6e"));q.setSettingModel(d);q.setConfirmer(function(A){z(A)});q.showDialog()};this.printPreview=function(){k(!0);var d=g();d||(d=new h,z(d));F()};var g=function(){var d=a.getExportSetting();if(d){d=JSON.parse(d);var q=new h;q.fromJsonObject(d);return q}return null},z=function(d){d=d.toJsonObject();
d=JSON.stringify(d);a.setExportSetting(d)},w=function(){var d=a.getExportConfig();if(d){d=JSON.parse(d);var q=new da;q.fromJsonObject(d);return q}return null},K=function(d){return"Qing-"+X.formatDate("yyyyMMdd_HHmmss")+d},F=function(){var d=(new Date).getTime(),q=K(".pdf"),A=new v;A.setExportType("PDF");A.setJsonModelWrapper(a.createJsonModelWrapper());var G=a.createFacade(function(E){k(!1);var l=r.get("printPreviewTabbedTitle","\u6253\u5370\u9884\u89c8");Z.previewFile(l,q,E);O.interestInBehavior(O.PRINT_PREVIEW,
1,(new Date).getTime()-d);O.recordResourceOperation(O.OperationType.QING_PRINT)},function(E,l){k(!1);return aa.facadeErrorHandler(E,l)},void 0);G.setShowBlocking(!1);G.exportExhibition(A,q)},J=function(d,q){var A=(new Date).getTime(),G=K(q);q=new v;q.setExportType(d);q.setJsonModelWrapper(a.createJsonModelWrapper());var E=a.createFacade(function(l){c(!1);Z.downloadFile(G,l);O.interestInBehavior(O.EXPORT_TYPE,d,(new Date).getTime()-A);O.recordResourceOperation(O.OperationType.QING_EXPORT)},function(l,
f){c(!1);return aa.facadeErrorHandler(l,f)},void 0);E.setShowBlocking(!1);E.exportExhibition(q,G)}};h.SCALING="SCALING";h.ADJUSTMENT="ADJUSTMENT";h.HORIZONTAL="HORIZONTAL";h.VERITICAL="VERITICAL"})();
//qingVersionTag: 20250415