@sv-print/hiprint 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Be=require("jquery"),Ue=require("jsbarcode"),Ze=require("socket.io-client"),Le=require("jspdf"),ze=require("html2canvas"),We=require("canvg"),Bt=tt=>tt&&typeof tt=="object"&&"default"in tt?tt:{default:tt},S=Bt(Be),Xt=Bt(Ue),_t=Bt(ze),ke=Bt(We);var Ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Re={exports:{}};(function(tt,V){(function(f){tt.exports=f(S.default)})(function(f){function G(r){var d=r.parent();r.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),d.before(r).remove()}function B(r){var d=r.parent(),h=d.find(".minicolors-panel"),P=r.data("minicolors-settings");!r.data("minicolors-initialized")||r.prop("disabled")||d.hasClass("minicolors-inline")||d.hasClass("minicolors-focus")||(y(),d.addClass("minicolors-focus"),h.animate?h.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(r.get(0))}):(h.show(),P.show&&P.show.call(r.get(0))))}function y(){f(".minicolors-focus").each(function(){var r=f(this),d=r.find(".minicolors-input"),h=r.find(".minicolors-panel"),P=d.data("minicolors-settings");h.animate?h.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(d.get(0)),r.removeClass("minicolors-focus")}):(h.hide(),P.hide&&P.hide.call(d.get(0)),r.removeClass("minicolors-focus"))})}function p(r,d,h){var P,u,g,A,L,W=r.parents(".minicolors").find(".minicolors-input"),J=W.data("minicolors-settings"),Y=r.find("[class$=-picker]"),F=r.offset().left,O=r.offset().top,$=Math.round(d.pageX-F),k=Math.round(d.pageY-O),it=h?J.animationSpeed:0;d.originalEvent.changedTouches&&($=d.originalEvent.changedTouches[0].pageX-F,k=d.originalEvent.changedTouches[0].pageY-O),$<0&&($=0),k<0&&(k=0),$>r.width()&&($=r.width()),k>r.height()&&(k=r.height()),r.parent().is(".minicolors-slider-wheel")&&Y.parent().is(".minicolors-grid")&&(P=75-$,u=75-k,g=Math.sqrt(P*P+u*u),(A=Math.atan2(u,P))<0&&(A+=2*Math.PI),75<g&&($=(g=75)-75*Math.cos(A),k=75-75*Math.sin(A)),$=Math.round($),k=Math.round(k)),L={top:k+"px"},r.is(".minicolors-grid")&&(L.left=$+"px"),Y.animate?Y.stop(!0).animate(L,it,J.animationEasing,function(){I(W,r)}):(Y.css(L),I(W,r))}function I(r,d){function h(gt,Pt){var jt,St;return gt.length&&Pt?(jt=gt.offset().left,St=gt.offset().top,{x:jt-Pt.offset().left+gt.outerWidth()/2,y:St-Pt.offset().top+gt.outerHeight()/2}):null}var P,u,g,A,L,W,J,Y=r.val(),F=r.attr("data-opacity"),O=r.parent(),$=r.data("minicolors-settings"),k=O.find(".minicolors-input-swatch"),it=O.find(".minicolors-grid"),st=O.find(".minicolors-slider"),pt=O.find(".minicolors-opacity-slider"),It=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]"),dt=h(It,it),yt=h(bt,st),mt=h(vt,pt);if(d.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch($.control){case"wheel":A=it.width()/2-dt.x,L=it.height()/2-dt.y,W=Math.sqrt(A*A+L*L),(J=Math.atan2(L,A))<0&&(J+=2*Math.PI),75<W&&(W=75,dt.x=69-75*Math.cos(J),dt.y=69-75*Math.sin(J)),u=E(W/.75,0,100),Y=a({h:P=E(180*J/Math.PI,0,360),s:u,b:g=E(100-Math.floor(yt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:u,b:100}));break;case"saturation":Y=a({h:P=E(parseInt(dt.x*(360/it.width()),10),0,360),s:u=E(100-Math.floor(yt.y*(100/st.height())),0,100),b:g=E(100-Math.floor(dt.y*(100/it.height())),0,100)}),st.css("backgroundColor",a({h:P,s:100,b:g})),O.find(".minicolors-grid-inner").css("opacity",u/100);break;case"brightness":Y=a({h:P=E(parseInt(dt.x*(360/it.width()),10),0,360),s:u=E(100-Math.floor(dt.y*(100/it.height())),0,100),b:g=E(100-Math.floor(yt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:u,b:100})),O.find(".minicolors-grid-inner").css("opacity",1-g/100);break;default:Y=a({h:P=E(360-parseInt(yt.y*(360/st.height()),10),0,360),s:u=E(Math.floor(dt.x*(100/it.width())),0,100),b:g=E(100-Math.floor(dt.y*(100/it.height())),0,100)}),it.css("backgroundColor",a({h:P,s:100,b:100}))}l(r,Y,F=$.opacity?parseFloat(1-mt.y/pt.height()).toFixed(2):1)}else k.find("span").css({backgroundColor:Y,opacity:String(F)}),D(r,Y,F)}function l(r,d,h){var P,u=r.parent(),g=r.data("minicolors-settings"),A=u.find(".minicolors-input-swatch");g.opacity&&r.attr("data-opacity",h),d=g.format==="rgb"?(P=U(d)?x(d,!0):m(s(d,!0)),h=r.attr("data-opacity")===""?1:E(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),!isNaN(h)&&g.opacity||(h=1),r.minicolors("rgbObject").a<=1&&P&&g.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(h)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(U(d)&&(d=v(d)),N(d,g.letterCase)),r.val(d),A.find("span").css({backgroundColor:d,opacity:String(h)}),D(r,d,h)}function H(r,d){var h,P,u,g,A,L,W,J,Y,F,O=r.parent(),$=r.data("minicolors-settings"),k=O.find(".minicolors-input-swatch"),it=O.find(".minicolors-grid"),st=O.find(".minicolors-slider"),pt=O.find(".minicolors-opacity-slider"),It=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]");switch(U(r.val())?(h=v(r.val()),(A=E(parseFloat(w(r.val())).toFixed(2),0,1))&&r.attr("data-opacity",A)):h=N(s(r.val(),!0),$.letterCase),P=function(dt){var yt=function(mt){var gt={h:0,s:0,b:0},Pt=Math.min(mt.r,mt.g,mt.b),jt=Math.max(mt.r,mt.g,mt.b),St=jt-Pt;return gt.b=jt,gt.s=jt!==0?255*St/jt:0,gt.s!==0?mt.r===jt?gt.h=(mt.g-mt.b)/St:mt.g===jt?gt.h=2+(mt.b-mt.r)/St:gt.h=4+(mt.r-mt.g)/St:gt.h=-1,gt.h*=60,gt.h<0&&(gt.h+=360),gt.s*=.39215686274509803,gt.b*=.39215686274509803,gt}(m(dt));return yt.s===0&&(yt.h=360),yt}(h=h||N(T($.defaultValue,!0),$.letterCase)),g=$.keywords?f.map($.keywords.split(","),function(dt){return dt.toLowerCase().trim()}):[],L=r.val()!==""&&-1<f.inArray(r.val().toLowerCase(),g)?N(r.val()):U(r.val())?x(r.val()):h,d||r.val(L),$.opacity&&(u=r.attr("data-opacity")===""?1:E(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),isNaN(u)&&(u=1),r.attr("data-opacity",u),k.find("span").css("opacity",String(u)),J=E(pt.height()-pt.height()*u,0,pt.height()),vt.css("top",J+"px")),r.val().toLowerCase()==="transparent"&&k.find("span").css("opacity",String(0)),k.find("span").css("backgroundColor",h),$.control){case"wheel":Y=E(Math.ceil(.75*P.s),0,it.height()/2),F=P.h*Math.PI/180,W=E(75-Math.cos(F)*Y,0,it.width()),J=E(75-Math.sin(F)*Y,0,it.height()),It.css({top:J+"px",left:W+"px"}),J=150-P.b/(100/it.height()),h===""&&(J=0),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100}));break;case"saturation":W=E(5*P.h/12,0,150),J=E(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.s*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:100,b:P.b})),O.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":W=E(5*P.h/12,0,150),J=E(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.b*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100})),O.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:W=E(Math.ceil(P.s/(100/it.width())),0,it.width()),J=E(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.h/(360/st.height()),0,st.height()),bt.css("top",J+"px"),it.css("backgroundColor",a({h:P.h,s:100,b:100}))}r.data("minicolors-initialized")&&D(r,L,u)}function D(r,d,h){var P,u,g,A=r.data("minicolors-settings"),L=r.data("minicolors-lastChange");if(!L||L.value!==d||L.opacity!==h){if(r.data("minicolors-lastChange",{value:d,opacity:h}),A.swatches&&A.swatches.length!==0){for(P=U(d)?x(d,!0):m(d),u=-1,g=0;g<A.swatches.length;++g)if(P.r===A.swatches[g].r&&P.g===A.swatches[g].g&&P.b===A.swatches[g].b&&P.a===A.swatches[g].a){u=g;break}r.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),u!==-1&&r.parent().find(".minicolors-swatches .minicolors-swatch").eq(g).addClass("selected")}A.change&&(A.changeDelay?(clearTimeout(r.data("minicolors-changeTimeout")),r.data("minicolors-changeTimeout",setTimeout(function(){A.change.call(r.get(0),d,h)},A.changeDelay))):A.change.call(r.get(0),d,h)),r.trigger("change").trigger("input")}}function N(r,d){return d==="uppercase"?r.toUpperCase():r.toLowerCase()}function s(r,d){return!(r=r.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||r.length!==3&&r.length!==6?"":(r.length===3&&d&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),"#"+r)}function x(r,d){var h=r.replace(/[^\d,.]/g,"").split(",");return h[0]=E(parseInt(h[0],10),0,255),h[1]=E(parseInt(h[1],10),0,255),h[2]=E(parseInt(h[2],10),0,255),h[3]!==void 0&&(h[3]=E(parseFloat(h[3],10),0,1)),d?h[3]!==void 0?{r:h[0],g:h[1],b:h[2],a:h[3]}:{r:h[0],g:h[1],b:h[2]}:h[3]!==void 0&&h[3]<=1?"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+h[3]+")":"rgb("+h[0]+", "+h[1]+", "+h[2]+")"}function T(r,d){return U(r)?x(r):s(r,d)}function E(r,d,h){return r<d&&(r=d),h<r&&(r=h),r}function U(r){var d=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!d||d.length!==4)}function w(r){return(r=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&r.length===6?r[4]:"1"}function v(r){return(r=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&r.length===4?"#"+("0"+parseInt(r[1],10).toString(16)).slice(-2)+("0"+parseInt(r[2],10).toString(16)).slice(-2)+("0"+parseInt(r[3],10).toString(16)).slice(-2):""}function j(r){var d=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return f.each(d,function(h,P){P.length===1&&(d[h]="0"+P)}),"#"+d.join("")}function a(r){return j((d=r,g={},A=Math.round(d.h),L=Math.round(255*d.s/100),W=Math.round(255*d.b/100),L===0?g.r=g.g=g.b=W:(u=A%60*((h=W)-(P=(255-L)*W/255))/60,A===360&&(A=0),A<60?(g.r=h,g.b=P,g.g=P+u):A<120?(g.g=h,g.b=P,g.r=h-u):A<180?(g.g=h,g.r=P,g.b=P+u):A<240?(g.b=h,g.r=P,g.g=h-u):A<300?(g.b=h,g.g=P,g.r=P+u):A<360?(g.r=h,g.g=P,g.b=h-u):(g.r=0,g.g=0,g.b=0)),{r:Math.round(g.r),g:Math.round(g.g),b:Math.round(g.b)}));var d,h,P,u,g,A,L,W}function m(r){return{r:(r=parseInt(-1<r.indexOf("#")?r.substring(1):r,16))>>16,g:(65280&r)>>8,b:255&r}}f.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},f.extend(f.fn,{minicolors:function(r,d){switch(r){case"destroy":return f(this).each(function(){G(f(this))}),f(this);case"hide":return y(),f(this);case"opacity":return d===void 0?f(this).attr("data-opacity"):(f(this).each(function(){H(f(this).attr("data-opacity",d))}),f(this));case"rgbObject":return function(h){var P,u=f(h).attr("data-opacity");{var g;P=U(f(h).val())?x(f(h).val(),!0):(g=s(f(h).val(),!0),m(g))}return P?(u!==void 0&&f.extend(P,{a:parseFloat(u)}),P):null}(f(this));case"rgbString":case"rgbaString":return function(h,P){var u,g=f(h).attr("data-opacity");{var A;u=U(f(h).val())?x(f(h).val(),!0):(A=s(f(h).val(),!0),m(A))}return u?(g===void 0&&(g=1),P?"rgba("+u.r+", "+u.g+", "+u.b+", "+parseFloat(g)+")":"rgb("+u.r+", "+u.g+", "+u.b+")"):null}(f(this),r==="rgbaString");case"settings":return d===void 0?f(this).data("minicolors-settings"):(f(this).each(function(){var h=f(this).data("minicolors-settings")||{};G(f(this)),f(this).minicolors(f.extend(!0,h,d))}),f(this));case"show":return B(f(this).eq(0)),f(this);case"value":return d===void 0?f(this).val():(f(this).each(function(){typeof d=="object"&&d!==null?(d.opacity!==void 0&&f(this).attr("data-opacity",E(d.opacity,0,1)),d.color&&f(this).val(d.color)):f(this).val(d),H(f(this))}),f(this));default:return r!=="create"&&(d=r),f(this).each(function(){(function(h,P){var u,g,A,L,W,J,Y,F=f('<div class="minicolors" />'),O=f.minicolors.defaults;if(!h.data("minicolors-initialized")){if(P=f.extend(!0,{},O,P),F.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&f.each(P.position.split(" "),function(){F.addClass("minicolors-position-"+this)}),g=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",h.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",g).wrap(F).after('<div class="minicolors-panel minicolors-slider-'+P.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),P.inline||(h.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),h.next(".minicolors-input-swatch").on("click",function($){$.preventDefault(),h.trigger("focus")})),(J=h.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(J.addClass("minicolors-with-swatches"),A=f('<ul class="minicolors-swatches"></ul>').appendTo(J),Y=0;Y<P.swatches.length;++Y)L=typeof P.swatches[Y]=="object"?(u=P.swatches[Y].name,P.swatches[Y].color):(u="",P.swatches[Y]),L=U(W=L)?x(L,!0):m(s(L,!0)),f('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",u).appendTo(A).data("swatch-color",W).find(".minicolors-swatch-color").css({backgroundColor:W!=="transparent"?j(L):"transparent",opacity:String(L.a)}),P.swatches[Y]=L;P.inline&&h.parent().addClass("minicolors-inline"),H(h,!1),h.data("minicolors-initialized",!0)}})(f(this),d)}),f(this)}}}),f([document]).on("mousedown.minicolors touchstart.minicolors",function(r){f(r.target).parents().add(r.target).hasClass("minicolors")||y()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(r){var d=f(this);r.preventDefault(),f(r.delegateTarget).data("minicolors-target",d),p(d,r,!0)}).on("mousemove.minicolors touchmove.minicolors",function(r){var d=f(r.delegateTarget).data("minicolors-target");d&&p(d,r)}).on("mouseup.minicolors touchend.minicolors",function(){f(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(r){r.preventDefault();var d=f(this),h=d.parents(".minicolors").find(".minicolors-input"),P=d.data("swatch-color");l(h,P,w(P)),H(h)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(r){var d=f(this).parent().find(".minicolors-input");r.preventDefault(),B(d)}).on("focus.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&B(r)}).on("blur.minicolors",".minicolors-input",function(){var r,d,h,P,u,g=f(this),A=g.data("minicolors-settings");g.data("minicolors-initialized")&&(r=A.keywords?f.map(A.keywords.split(","),function(L){return L.toLowerCase().trim()}):[],u=g.val()!==""&&-1<f.inArray(g.val().toLowerCase(),r)?g.val():(h=U(g.val())?x(g.val(),!0):(d=s(g.val(),!0))?m(d):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?x("rgba("+h.r+","+h.g+","+h.b+","+g.attr("data-opacity")+")"):x("rgb("+h.r+","+h.g+","+h.b+")"):j(h),P=A.opacity?g.attr("data-opacity"):1,u.toLowerCase()==="transparent"&&(P=0),g.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),g.val(u),g.val()===""&&g.val(T(A.defaultValue,!0)),g.val(N(g.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(r){var d=f(this);if(d.data("minicolors-initialized"))switch(r.which){case 9:y();break;case 13:case 27:y(),d.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&H(r,!0)}).on("paste.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&setTimeout(function(){H(r,!0)},1)})})})(Re);(function(){function tt(a){this.mode=f.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(var m=0,r=this.data.length;m<r;m++){var d=[],h=this.data.charCodeAt(m);h>65536?(d[0]=240|(h&1835008)>>>18,d[1]=128|(h&258048)>>>12,d[2]=128|(h&4032)>>>6,d[3]=128|h&63):h>2048?(d[0]=224|(h&61440)>>>12,d[1]=128|(h&4032)>>>6,d[2]=128|h&63):h>128?(d[0]=192|(h&1984)>>>6,d[1]=128|h&63):d[0]=h,this.parsedData.push(d)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}tt.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var m=0,r=this.parsedData.length;m<r;m++)a.put(this.parsedData[m],8)}};function V(a,m){this.typeNumber=a,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}V.prototype={addData:function(a){var m=new tt(a);this.dataList.push(m),this.dataCache=null},isDark:function(a,m){if(a<0||this.moduleCount<=a||m<0||this.moduleCount<=m)throw new Error(a+","+m);return this.modules[a][m]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,m){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++)this.modules[r][d]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(a,m),this.typeNumber>=7&&this.setupTypeNumber(a),this.dataCache==null&&(this.dataCache=V.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,m)},setupPositionProbePattern:function(a,m){for(var r=-1;r<=7;r++)if(!(a+r<=-1||this.moduleCount<=a+r))for(var d=-1;d<=7;d++)m+d<=-1||this.moduleCount<=m+d||(0<=r&&r<=6&&(d==0||d==6)||0<=d&&d<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=d&&d<=4?this.modules[a+r][m+d]=!0:this.modules[a+r][m+d]=!1)},getBestMaskPattern:function(){for(var a=0,m=0,r=0;r<8;r++){this.makeImpl(!0,r);var d=y.getLostPoint(this);(r==0||a>d)&&(a=d,m=r)}return m},createMovieClip:function(a,m,r){var d=a.createEmptyMovieClip(m,r),h=1;this.make();for(var P=0;P<this.modules.length;P++)for(var u=P*h,g=0;g<this.modules[P].length;g++){var A=g*h,L=this.modules[P][g];L&&(d.beginFill(0,100),d.moveTo(A,u),d.lineTo(A+h,u),d.lineTo(A+h,u+h),d.lineTo(A,u+h),d.endFill())}return d},setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)this.modules[a][6]==null&&(this.modules[a][6]=a%2==0);for(var m=8;m<this.moduleCount-8;m++)this.modules[6][m]==null&&(this.modules[6][m]=m%2==0)},setupPositionAdjustPattern:function(){for(var a=y.getPatternPosition(this.typeNumber),m=0;m<a.length;m++)for(var r=0;r<a.length;r++){var d=a[m],h=a[r];if(this.modules[d][h]==null)for(var P=-2;P<=2;P++)for(var u=-2;u<=2;u++)P==-2||P==2||u==-2||u==2||P==0&&u==0?this.modules[d+P][h+u]=!0:this.modules[d+P][h+u]=!1}},setupTypeNumber:function(a){for(var m=y.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var d=!a&&(m>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=d}for(var r=0;r<18;r++){var d=!a&&(m>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=d}},setupTypeInfo:function(a,m){for(var r=this.errorCorrectLevel<<3|m,d=y.getBCHTypeInfo(r),h=0;h<15;h++){var P=!a&&(d>>h&1)==1;h<6?this.modules[h][8]=P:h<8?this.modules[h+1][8]=P:this.modules[this.moduleCount-15+h][8]=P}for(var h=0;h<15;h++){var P=!a&&(d>>h&1)==1;h<8?this.modules[8][this.moduleCount-h-1]=P:h<9?this.modules[8][15-h-1+1]=P:this.modules[8][15-h-1]=P}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,m){for(var r=-1,d=this.moduleCount-1,h=7,P=0,u=this.moduleCount-1;u>0;u-=2)for(u==6&&u--;;){for(var g=0;g<2;g++)if(this.modules[d][u-g]==null){var A=!1;P<a.length&&(A=(a[P]>>>h&1)==1);var L=y.getMask(m,d,u-g);L&&(A=!A),this.modules[d][u-g]=A,h--,h==-1&&(P++,h=7)}if(d+=r,d<0||this.moduleCount<=d){d-=r,r=-r;break}}}},V.PAD0=236,V.PAD1=17,V.createData=function(a,m,r){for(var d=H.getRSBlocks(a,m),h=new D,P=0;P<r.length;P++){var u=r[P];h.put(u.mode,4),h.put(u.getLength(),y.getLengthInBits(u.mode,a)),u.write(h)}for(var g=0,P=0;P<d.length;P++)g+=d[P].dataCount;if(h.getLengthInBits()>g*8)throw new Error("code length overflow. ("+h.getLengthInBits()+">"+g*8+")");for(h.getLengthInBits()+4<=g*8&&h.put(0,4);h.getLengthInBits()%8!=0;)h.putBit(!1);for(;!(h.getLengthInBits()>=g*8||(h.put(V.PAD0,8),h.getLengthInBits()>=g*8));)h.put(V.PAD1,8);return V.createBytes(h,d)},V.createBytes=function(a,m){for(var r=0,d=0,h=0,P=new Array(m.length),u=new Array(m.length),g=0;g<m.length;g++){var A=m[g].dataCount,L=m[g].totalCount-A;d=Math.max(d,A),h=Math.max(h,L),P[g]=new Array(A);for(var W=0;W<P[g].length;W++)P[g][W]=255&a.buffer[W+r];r+=A;var J=y.getErrorCorrectPolynomial(L),Y=new l(P[g],J.getLength()-1),F=Y.mod(J);u[g]=new Array(J.getLength()-1);for(var W=0;W<u[g].length;W++){var O=W+F.getLength()-u[g].length;u[g][W]=O>=0?F.get(O):0}}for(var $=0,W=0;W<m.length;W++)$+=m[W].totalCount;for(var k=new Array($),it=0,W=0;W<d;W++)for(var g=0;g<m.length;g++)W<P[g].length&&(k[it++]=P[g][W]);for(var W=0;W<h;W++)for(var g=0;g<m.length;g++)W<u[g].length&&(k[it++]=u[g][W]);return k};for(var f={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},G={L:1,M:0,Q:3,H:2},B={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(a){for(var m=a<<10;y.getBCHDigit(m)-y.getBCHDigit(y.G15)>=0;)m^=y.G15<<y.getBCHDigit(m)-y.getBCHDigit(y.G15);return(a<<10|m)^y.G15_MASK},getBCHTypeNumber:function(a){for(var m=a<<12;y.getBCHDigit(m)-y.getBCHDigit(y.G18)>=0;)m^=y.G18<<y.getBCHDigit(m)-y.getBCHDigit(y.G18);return a<<12|m},getBCHDigit:function(a){for(var m=0;a!=0;)m++,a>>>=1;return m},getPatternPosition:function(a){return y.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,m,r){switch(a){case B.PATTERN000:return(m+r)%2==0;case B.PATTERN001:return m%2==0;case B.PATTERN010:return r%3==0;case B.PATTERN011:return(m+r)%3==0;case B.PATTERN100:return(Math.floor(m/2)+Math.floor(r/3))%2==0;case B.PATTERN101:return m*r%2+m*r%3==0;case B.PATTERN110:return(m*r%2+m*r%3)%2==0;case B.PATTERN111:return(m*r%3+(m+r)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var m=new l([1],0),r=0;r<a;r++)m=m.multiply(new l([1,p.gexp(r)],0));return m},getLengthInBits:function(a,m){if(1<=m&&m<10)switch(a){case f.MODE_NUMBER:return 10;case f.MODE_ALPHA_NUM:return 9;case f.MODE_8BIT_BYTE:return 8;case f.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(m<27)switch(a){case f.MODE_NUMBER:return 12;case f.MODE_ALPHA_NUM:return 11;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else if(m<41)switch(a){case f.MODE_NUMBER:return 14;case f.MODE_ALPHA_NUM:return 13;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}else throw new Error("type:"+m)},getLostPoint:function(a){for(var m=a.getModuleCount(),r=0,d=0;d<m;d++)for(var h=0;h<m;h++){for(var P=0,u=a.isDark(d,h),g=-1;g<=1;g++)if(!(d+g<0||m<=d+g))for(var A=-1;A<=1;A++)h+A<0||m<=h+A||g==0&&A==0||u==a.isDark(d+g,h+A)&&P++;P>5&&(r+=3+P-5)}for(var d=0;d<m-1;d++)for(var h=0;h<m-1;h++){var L=0;a.isDark(d,h)&&L++,a.isDark(d+1,h)&&L++,a.isDark(d,h+1)&&L++,a.isDark(d+1,h+1)&&L++,(L==0||L==4)&&(r+=3)}for(var d=0;d<m;d++)for(var h=0;h<m-6;h++)a.isDark(d,h)&&!a.isDark(d,h+1)&&a.isDark(d,h+2)&&a.isDark(d,h+3)&&a.isDark(d,h+4)&&!a.isDark(d,h+5)&&a.isDark(d,h+6)&&(r+=40);for(var h=0;h<m;h++)for(var d=0;d<m-6;d++)a.isDark(d,h)&&!a.isDark(d+1,h)&&a.isDark(d+2,h)&&a.isDark(d+3,h)&&a.isDark(d+4,h)&&!a.isDark(d+5,h)&&a.isDark(d+6,h)&&(r+=40);for(var W=0,h=0;h<m;h++)for(var d=0;d<m;d++)a.isDark(d,h)&&W++;var J=Math.abs(100*W/m/m-50)/5;return r+=J*10,r}},p={glog:function(a){if(a<1)throw new Error("glog("+a+")");return p.LOG_TABLE[a]},gexp:function(a){for(;a<0;)a+=255;for(;a>=256;)a-=255;return p.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},I=0;I<8;I++)p.EXP_TABLE[I]=1<<I;for(var I=8;I<256;I++)p.EXP_TABLE[I]=p.EXP_TABLE[I-4]^p.EXP_TABLE[I-5]^p.EXP_TABLE[I-6]^p.EXP_TABLE[I-8];for(var I=0;I<255;I++)p.LOG_TABLE[p.EXP_TABLE[I]]=I;function l(a,m){if(a.length==null)throw new Error(a.length+"/"+m);for(var r=0;r<a.length&&a[r]==0;)r++;this.num=new Array(a.length-r+m);for(var d=0;d<a.length-r;d++)this.num[d]=a[d+r]}l.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var m=new Array(this.getLength()+a.getLength()-1),r=0;r<this.getLength();r++)for(var d=0;d<a.getLength();d++)m[r+d]^=p.gexp(p.glog(this.get(r))+p.glog(a.get(d)));return new l(m,0)},mod:function(a){if(this.getLength()-a.getLength()<0)return this;for(var m=p.glog(this.get(0))-p.glog(a.get(0)),r=new Array(this.getLength()),d=0;d<this.getLength();d++)r[d]=this.get(d);for(var d=0;d<a.getLength();d++)r[d]^=p.gexp(p.glog(a.get(d))+m);return new l(r,0).mod(a)}};function H(a,m){this.totalCount=a,this.dataCount=m}H.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],H.getRSBlocks=function(a,m){var r=H.getRsBlockTable(a,m);if(r==null)throw new Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+m);for(var d=r.length/3,h=[],P=0;P<d;P++)for(var u=r[P*3+0],g=r[P*3+1],A=r[P*3+2],L=0;L<u;L++)h.push(new H(g,A));return h},H.getRsBlockTable=function(a,m){switch(m){case G.L:return H.RS_BLOCK_TABLE[(a-1)*4+0];case G.M:return H.RS_BLOCK_TABLE[(a-1)*4+1];case G.Q:return H.RS_BLOCK_TABLE[(a-1)*4+2];case G.H:return H.RS_BLOCK_TABLE[(a-1)*4+3];default:return}};function D(){this.buffer=[],this.length=0}D.prototype={get:function(a){var m=Math.floor(a/8);return(this.buffer[m]>>>7-a%8&1)==1},put:function(a,m){for(var r=0;r<m;r++)this.putBit((a>>>m-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(a){var m=Math.floor(this.length/8);this.buffer.length<=m&&this.buffer.push(0),a&&(this.buffer[m]|=128>>>this.length%8),this.length++}};var N=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function s(){return typeof CanvasRenderingContext2D<"u"}function x(){var a=!1,m=navigator.userAgent;if(/android/i.test(m)){a=!0;var r=m.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(a=parseFloat(r[1]))}return a}var T=function(){var a=function(m,r){this._el=m,this._htOption=r};return a.prototype.draw=function(m){var r=this._htOption,d=this._el,h=m.getModuleCount();Math.floor(r.width/h),Math.floor(r.height/h),this.clear();function P(W,J){var Y=document.createElementNS("http://www.w3.org/2000/svg",W);for(var F in J)J.hasOwnProperty(F)&&Y.setAttribute(F,J[F]);return Y}var u=P("svg",{viewBox:"0 0 "+String(h)+" "+String(h),width:"100%",height:"100%",fill:r.colorLight});u.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),d.appendChild(u),u.appendChild(P("rect",{fill:r.colorLight,width:"100%",height:"100%"})),u.appendChild(P("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var g=0;g<h;g++)for(var A=0;A<h;A++)if(m.isDark(g,A)){var L=P("use",{x:String(A),y:String(g)});L.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),u.appendChild(L)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),E=document.documentElement.tagName.toLowerCase()==="svg",U=E?T:s()?function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var m=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,u,g,A,L,W,J,Y,F){if("nodeName"in P&&/img/i.test(P.nodeName))for(var O=arguments.length-1;O>=1;O--)arguments[O]=arguments[O]*m;else typeof Y>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);r.apply(this,arguments)}}function d(P,u){var g=this;if(g._fFail=u,g._fSuccess=P,g._bSupportDataURI===null){var A=document.createElement("img"),L=function(){g._bSupportDataURI=!1,g._fFail&&g._fFail.call(g)},W=function(){g._bSupportDataURI=!0,g._fSuccess&&g._fSuccess.call(g)};A.onabort=L,A.onerror=L,A.onload=W,A.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else g._bSupportDataURI===!0&&g._fSuccess?g._fSuccess.call(g):g._bSupportDataURI===!1&&g._fFail&&g._fFail.call(g)}var h=function(P,u){this._bIsPainted=!1,this._android=x(),this._htOption=u,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=u.width,this._elCanvas.height=u.height,P.appendChild(this._elCanvas),this._el=P,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return h.prototype.draw=function(P){var u=this._elImage,g=this._oContext,A=this._htOption,L=P.getModuleCount(),W=A.width/L,J=A.height/L,Y=Math.round(W),F=Math.round(J);u.style.display="none",this.clear();for(var O=0;O<L;O++)for(var $=0;$<L;$++){var k=P.isDark(O,$),it=$*W,st=O*J;g.strokeStyle=k?A.colorDark:A.colorLight,g.lineWidth=1,g.fillStyle=k?A.colorDark:A.colorLight,g.fillRect(it,st,W,J),g.strokeRect(Math.floor(it)+.5,Math.floor(st)+.5,Y,F),g.strokeRect(Math.ceil(it)-.5,Math.ceil(st)-.5,Y,F)}this._bIsPainted=!0},h.prototype.makeImage=function(){this._bIsPainted&&d.call(this,a)},h.prototype.isPainted=function(){return this._bIsPainted},h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},h.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},h}():function(){var a=function(m,r){this._el=m,this._htOption=r};return a.prototype.draw=function(m){for(var r=this._htOption,d=this._el,h=m.getModuleCount(),P=Math.floor(r.width/h),u=Math.floor(r.height/h),g=['<table style="border:0;border-collapse:collapse;">'],A=0;A<h;A++){g.push("<tr>");for(var L=0;L<h;L++)g.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+u+"px;background-color:"+(m.isDark(A,L)?r.colorDark:r.colorLight)+';"></td>');g.push("</tr>")}g.push("</table>"),d.innerHTML=g.join("");var W=d.childNodes[0],J=(r.width-W.offsetWidth)/2,Y=(r.height-W.offsetHeight)/2;J>0&&Y>0&&(W.style.margin=Y+"px "+J+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();function w(a,m){for(var r=1,d=v(a),h=0,P=N.length;h<=P;h++){var u=0;switch(m){case G.L:u=N[h][0];break;case G.M:u=N[h][1];break;case G.Q:u=N[h][2];break;case G.H:u=N[h][3];break}if(d<=u)break;r++}if(r>N.length)throw new Error("Too long data");return r}function v(a){var m=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=a?3:0)}var j=function(a,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:G.H},typeof m=="string"&&(m={text:m}),m)for(var r in m)this._htOption[r]=m[r];typeof a=="string"&&(a=document.getElementById(a)),this._htOption.useSVG&&(U=T),this._android=x(),this._el=a,this._oQRCode=null,this._oDrawing=new U(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};j.prototype.makeCode=function(a){this._oQRCode=new V(w(a,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(a),this._oQRCode.make(),this._el.title=a,this._oDrawing.draw(this._oQRCode),this.makeImage()},j.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},j.prototype.clear=function(){this._oDrawing.clear()},j.CorrectLevel=G,window.QRCode=j})();function Je(tt,V="YYYY-MM-DD"){if(!tt)return null;typeof tt=="number"&&(tt=new Date(tt));const f=tt.getFullYear(),G=tt.getMonth(),B=tt.getDate(),y=tt.getHours(),p=y%12===0?12:y%12,I=tt.getMinutes(),l=tt.getSeconds(),H=N=>`0${N}`.slice(-2),D={YYYY:f,MM:H(G+1),MMMM:`${G+1}\u6708`,M:G+1,DD:H(B),D:B,HH:H(y),H:y,hh:H(p),h:p,mm:H(I),m:I,ss:H(l),s:l};return V.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,N=>String(D[N]))}const Fe={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let xt={};function Kt(tt){const{id:V,watch:f,content:G,container:B,width:y,height:p,textAlign:I,textBaseline:l,fontSize:H,fontFamily:D,fillStyle:N,rotate:s,timestamp:x,format:T,zIndex:E}=tt;xt[V]={wmMo:null,wmTimer:null};const U=document.createElement("canvas");U.setAttribute("width",`${y}px`),U.setAttribute("height",`${p}px`);let w=typeof B=="string"?document.querySelector(B):B;const v=U.getContext("2d");v.textAlign=I,v.textBaseline=l,v.font=`${H} ${D}`,v.fillStyle=N,v.translate(y/2,p/2),v.rotate(-(Math.PI/180)*s),v.fillText(`${G}`,0,0),x&&v.fillText(`${Je(new Date,T)}`,0,parseInt(H)+5);let j=w.querySelector(".__vm__"+V);const a=j||document.createElement("div"),r=`position:absolute;user-select:none;top:0;left:0;${w.getAttribute("style")};z-index:${E};pointer-events:none !important;background-repeat:repeat;background-image:url('${U.toDataURL()}')`;if(a.setAttribute("style",r),a.classList.add("__vm__"+V),j||w.insertBefore(a,w.children[1]),f){const d=window.MutationObserver||window.WebKitMutationObserver;d&&(xt[V].wmMo=new d(h=>{let P=h.some(u=>u.target.className==w.className&&u.type=="attributes");j=w.querySelector(".__vm__"+V),(j&&j.getAttribute("style")!==r||!j||P)&&(xt[V].wmMo.disconnect(),xt[V].wmMo=null,delete xt[V].wmMo,Kt(tt))}),xt[V].wmMo.observe(w,{attributes:!0,subtree:!0,childList:!0}))}if(T){let d=864e5;T.includes("s")?d=1e3:T.includes("m")?d=1e3*60:(T.includes("h")||T.includes("H"))&&(d=1e3*60*60),xt[V].wmTimer=window.setTimeout(()=>{a.style.bottom="0"},d)}}const $t=function(tt){const{id:V,watch:f,container:G}=tt;if(f){let B=typeof G=="string"?document.querySelector(G):G;xt[V]&&(xt[V].wmMo&&xt[V].wmMo.disconnect(),xt[V].wmMo=null,xt[V].wmTimer&&window.clearTimeout(xt[V].wmTimer),xt[V].wmTimer=null,delete xt[V]);const y=B.querySelector(".__vm__"+V);y&&y.parentNode.removeChild(y)}},Ve=function(tt){let V=Object.assign({},Fe,tt);$t(V),Kt(V)},Yt={createWatermark:Ve,destroyWatermark:$t},Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjUxLjUiIHkxPSIxMCIgeDI9IjUxLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGx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iLTEwIiB4Mj0iNTkuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var qt={exports:{}};/*!
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const $=require("jquery"),JsBarcode=require("jsbarcode"),socket_ioClient=require("socket.io-client"),jspdf=require("jspdf"),html2canvas=require("html2canvas"),Canvg=require("canvg"),_interopDefaultLegacy=R=>R&&typeof R=="object"&&"default"in R?R:{default:R},$__default=_interopDefaultLegacy($),JsBarcode__default=_interopDefaultLegacy(JsBarcode),html2canvas__default=_interopDefaultLegacy(html2canvas),Canvg__default=_interopDefaultLegacy(Canvg);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jquery_minicolors_min={exports:{}};(function(R,L){(function(r){R.exports=r($__default.default)})(function(r){function B(a){var I=a.parent();a.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),I.before(a).remove()}function w(a){var I=a.parent(),f=I.find(".minicolors-panel"),P=a.data("minicolors-settings");!a.data("minicolors-initialized")||a.prop("disabled")||I.hasClass("minicolors-inline")||I.hasClass("minicolors-focus")||(b(),I.addClass("minicolors-focus"),f.animate?f.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(a.get(0))}):(f.show(),P.show&&P.show.call(a.get(0))))}function b(){r(".minicolors-focus").each(function(){var a=r(this),I=a.find(".minicolors-input"),f=a.find(".minicolors-panel"),P=I.data("minicolors-settings");f.animate?f.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(I.get(0)),a.removeClass("minicolors-focus")}):(f.hide(),P.hide&&P.hide.call(I.get(0)),a.removeClass("minicolors-focus"))})}function l(a,I,f){var P,c,d,A,z,k=a.parents(".minicolors").find(".minicolors-input"),F=k.data("minicolors-settings"),X=a.find("[class$=-picker]"),V=a.offset().left,K=a.offset().top,tt=Math.round(I.pageX-V),G=Math.round(I.pageY-K),it=f?F.animationSpeed:0;I.originalEvent.changedTouches&&(tt=I.originalEvent.changedTouches[0].pageX-V,G=I.originalEvent.changedTouches[0].pageY-K),tt<0&&(tt=0),G<0&&(G=0),tt>a.width()&&(tt=a.width()),G>a.height()&&(G=a.height()),a.parent().is(".minicolors-slider-wheel")&&X.parent().is(".minicolors-grid")&&(P=75-tt,c=75-G,d=Math.sqrt(P*P+c*c),(A=Math.atan2(c,P))<0&&(A+=2*Math.PI),75<d&&(tt=(d=75)-75*Math.cos(A),G=75-75*Math.sin(A)),tt=Math.round(tt),G=Math.round(G)),z={top:G+"px"},a.is(".minicolors-grid")&&(z.left=tt+"px"),X.animate?X.stop(!0).animate(z,it,F.animationEasing,function(){h(k,a)}):(X.css(z),h(k,a))}function h(a,I){function f(gt,Pt){var jt,St;return gt.length&&Pt?(jt=gt.offset().left,St=gt.offset().top,{x:jt-Pt.offset().left+gt.outerWidth()/2,y:St-Pt.offset().top+gt.outerHeight()/2}):null}var P,c,d,A,z,k,F,X=a.val(),V=a.attr("data-opacity"),K=a.parent(),tt=a.data("minicolors-settings"),G=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),lt=K.find(".minicolors-slider"),pt=K.find(".minicolors-opacity-slider"),ut=it.find("[class$=-picker]"),bt=lt.find("[class$=-picker]"),vt=pt.find("[class$=-picker]"),dt=f(ut,it),yt=f(bt,lt),ft=f(vt,pt);if(I.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(tt.control){case"wheel":A=it.width()/2-dt.x,z=it.height()/2-dt.y,k=Math.sqrt(A*A+z*z),(F=Math.atan2(z,A))<0&&(F+=2*Math.PI),75<k&&(k=75,dt.x=69-75*Math.cos(F),dt.y=69-75*Math.sin(F)),c=N(k/.75,0,100),X=o({h:P=N(180*F/Math.PI,0,360),s:c,b:d=N(100-Math.floor(yt.y*(100/lt.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:c,b:100}));break;case"saturation":X=o({h:P=N(parseInt(dt.x*(360/it.width()),10),0,360),s:c=N(100-Math.floor(yt.y*(100/lt.height())),0,100),b:d=N(100-Math.floor(dt.y*(100/it.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:100,b:d})),K.find(".minicolors-grid-inner").css("opacity",c/100);break;case"brightness":X=o({h:P=N(parseInt(dt.x*(360/it.width()),10),0,360),s:c=N(100-Math.floor(dt.y*(100/it.height())),0,100),b:d=N(100-Math.floor(yt.y*(100/lt.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:c,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-d/100);break;default:X=o({h:P=N(360-parseInt(yt.y*(360/lt.height()),10),0,360),s:c=N(Math.floor(dt.x*(100/it.width())),0,100),b:d=N(100-Math.floor(dt.y*(100/it.height())),0,100)}),it.css("backgroundColor",o({h:P,s:100,b:100}))}g(a,X,V=tt.opacity?parseFloat(1-ft.y/pt.height()).toFixed(2):1)}else G.find("span").css({backgroundColor:X,opacity:String(V)}),D(a,X,V)}function g(a,I,f){var P,c=a.parent(),d=a.data("minicolors-settings"),A=c.find(".minicolors-input-swatch");d.opacity&&a.attr("data-opacity",f),I=d.format==="rgb"?(P=U(I)?S(I,!0):m(u(I,!0)),f=a.attr("data-opacity")===""?1:N(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),!isNaN(f)&&d.opacity||(f=1),a.minicolors("rgbObject").a<=1&&P&&d.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(f)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(U(I)&&(I=j(I)),v(I,d.letterCase)),a.val(I),A.find("span").css({backgroundColor:I,opacity:String(f)}),D(a,I,f)}function E(a,I){var f,P,c,d,A,z,k,F,X,V,K=a.parent(),tt=a.data("minicolors-settings"),G=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),lt=K.find(".minicolors-slider"),pt=K.find(".minicolors-opacity-slider"),ut=it.find("[class$=-picker]"),bt=lt.find("[class$=-picker]"),vt=pt.find("[class$=-picker]");switch(U(a.val())?(f=j(a.val()),(A=N(parseFloat(x(a.val())).toFixed(2),0,1))&&a.attr("data-opacity",A)):f=v(u(a.val(),!0),tt.letterCase),P=function(dt){var yt=function(ft){var gt={h:0,s:0,b:0},Pt=Math.min(ft.r,ft.g,ft.b),jt=Math.max(ft.r,ft.g,ft.b),St=jt-Pt;return gt.b=jt,gt.s=jt!==0?255*St/jt:0,gt.s!==0?ft.r===jt?gt.h=(ft.g-ft.b)/St:ft.g===jt?gt.h=2+(ft.b-ft.r)/St:gt.h=4+(ft.r-ft.g)/St:gt.h=-1,gt.h*=60,gt.h<0&&(gt.h+=360),gt.s*=.39215686274509803,gt.b*=.39215686274509803,gt}(m(dt));return yt.s===0&&(yt.h=360),yt}(f=f||v(C(tt.defaultValue,!0),tt.letterCase)),d=tt.keywords?r.map(tt.keywords.split(","),function(dt){return dt.toLowerCase().trim()}):[],z=a.val()!==""&&-1<r.inArray(a.val().toLowerCase(),d)?v(a.val()):U(a.val())?S(a.val()):f,I||a.val(z),tt.opacity&&(c=a.attr("data-opacity")===""?1:N(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),isNaN(c)&&(c=1),a.attr("data-opacity",c),G.find("span").css("opacity",String(c)),F=N(pt.height()-pt.height()*c,0,pt.height()),vt.css("top",F+"px")),a.val().toLowerCase()==="transparent"&&G.find("span").css("opacity",String(0)),G.find("span").css("backgroundColor",f),tt.control){case"wheel":X=N(Math.ceil(.75*P.s),0,it.height()/2),V=P.h*Math.PI/180,k=N(75-Math.cos(V)*X,0,it.width()),F=N(75-Math.sin(V)*X,0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=150-P.b/(100/it.height()),f===""&&(F=0),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:P.s,b:100}));break;case"saturation":k=N(5*P.h/12,0,150),F=N(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.s*(lt.height()/100),0,lt.height()),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:100,b:P.b})),K.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":k=N(5*P.h/12,0,150),F=N(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.b*(lt.height()/100),0,lt.height()),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:P.s,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:k=N(Math.ceil(P.s/(100/it.width())),0,it.width()),F=N(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.h/(360/lt.height()),0,lt.height()),bt.css("top",F+"px"),it.css("backgroundColor",o({h:P.h,s:100,b:100}))}a.data("minicolors-initialized")&&D(a,z,c)}function D(a,I,f){var P,c,d,A=a.data("minicolors-settings"),z=a.data("minicolors-lastChange");if(!z||z.value!==I||z.opacity!==f){if(a.data("minicolors-lastChange",{value:I,opacity:f}),A.swatches&&A.swatches.length!==0){for(P=U(I)?S(I,!0):m(I),c=-1,d=0;d<A.swatches.length;++d)if(P.r===A.swatches[d].r&&P.g===A.swatches[d].g&&P.b===A.swatches[d].b&&P.a===A.swatches[d].a){c=d;break}a.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),c!==-1&&a.parent().find(".minicolors-swatches .minicolors-swatch").eq(d).addClass("selected")}A.change&&(A.changeDelay?(clearTimeout(a.data("minicolors-changeTimeout")),a.data("minicolors-changeTimeout",setTimeout(function(){A.change.call(a.get(0),I,f)},A.changeDelay))):A.change.call(a.get(0),I,f)),a.trigger("change").trigger("input")}}function v(a,I){return I==="uppercase"?a.toUpperCase():a.toLowerCase()}function u(a,I){return!(a=a.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||a.length!==3&&a.length!==6?"":(a.length===3&&I&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),"#"+a)}function S(a,I){var f=a.replace(/[^\d,.]/g,"").split(",");return f[0]=N(parseInt(f[0],10),0,255),f[1]=N(parseInt(f[1],10),0,255),f[2]=N(parseInt(f[2],10),0,255),f[3]!==void 0&&(f[3]=N(parseFloat(f[3],10),0,1)),I?f[3]!==void 0?{r:f[0],g:f[1],b:f[2],a:f[3]}:{r:f[0],g:f[1],b:f[2]}:f[3]!==void 0&&f[3]<=1?"rgba("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+")":"rgb("+f[0]+", "+f[1]+", "+f[2]+")"}function C(a,I){return U(a)?S(a):u(a,I)}function N(a,I,f){return a<I&&(a=I),f<a&&(a=f),a}function U(a){var I=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!I||I.length!==4)}function x(a){return(a=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&a.length===6?a[4]:"1"}function j(a){return(a=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&a.length===4?"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+("0"+parseInt(a[3],10).toString(16)).slice(-2):""}function T(a){var I=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];return r.each(I,function(f,P){P.length===1&&(I[f]="0"+P)}),"#"+I.join("")}function o(a){return T((I=a,d={},A=Math.round(I.h),z=Math.round(255*I.s/100),k=Math.round(255*I.b/100),z===0?d.r=d.g=d.b=k:(c=A%60*((f=k)-(P=(255-z)*k/255))/60,A===360&&(A=0),A<60?(d.r=f,d.b=P,d.g=P+c):A<120?(d.g=f,d.b=P,d.r=f-c):A<180?(d.g=f,d.r=P,d.b=P+c):A<240?(d.b=f,d.r=P,d.g=f-c):A<300?(d.b=f,d.g=P,d.r=P+c):A<360?(d.r=f,d.g=P,d.b=f-c):(d.r=0,d.g=0,d.b=0)),{r:Math.round(d.r),g:Math.round(d.g),b:Math.round(d.b)}));var I,f,P,c,d,A,z,k}function m(a){return{r:(a=parseInt(-1<a.indexOf("#")?a.substring(1):a,16))>>16,g:(65280&a)>>8,b:255&a}}r.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},r.extend(r.fn,{minicolors:function(a,I){switch(a){case"destroy":return r(this).each(function(){B(r(this))}),r(this);case"hide":return b(),r(this);case"opacity":return I===void 0?r(this).attr("data-opacity"):(r(this).each(function(){E(r(this).attr("data-opacity",I))}),r(this));case"rgbObject":return function(f){var P,c=r(f).attr("data-opacity");{var d;P=U(r(f).val())?S(r(f).val(),!0):(d=u(r(f).val(),!0),m(d))}return P?(c!==void 0&&r.extend(P,{a:parseFloat(c)}),P):null}(r(this));case"rgbString":case"rgbaString":return function(f,P){var c,d=r(f).attr("data-opacity");{var A;c=U(r(f).val())?S(r(f).val(),!0):(A=u(r(f).val(),!0),m(A))}return c?(d===void 0&&(d=1),P?"rgba("+c.r+", "+c.g+", "+c.b+", "+parseFloat(d)+")":"rgb("+c.r+", "+c.g+", "+c.b+")"):null}(r(this),a==="rgbaString");case"settings":return I===void 0?r(this).data("minicolors-settings"):(r(this).each(function(){var f=r(this).data("minicolors-settings")||{};B(r(this)),r(this).minicolors(r.extend(!0,f,I))}),r(this));case"show":return w(r(this).eq(0)),r(this);case"value":return I===void 0?r(this).val():(r(this).each(function(){typeof I=="object"&&I!==null?(I.opacity!==void 0&&r(this).attr("data-opacity",N(I.opacity,0,1)),I.color&&r(this).val(I.color)):r(this).val(I),E(r(this))}),r(this));default:return a!=="create"&&(I=a),r(this).each(function(){(function(f,P){var c,d,A,z,k,F,X,V=r('<div class="minicolors" />'),K=r.minicolors.defaults;if(!f.data("minicolors-initialized")){if(P=r.extend(!0,{},K,P),V.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&r.each(P.position.split(" "),function(){V.addClass("minicolors-position-"+this)}),d=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",f.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",d).wrap(V).after('<div class="minicolors-panel minicolors-slider-'+P.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),P.inline||(f.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),f.next(".minicolors-input-swatch").on("click",function(tt){tt.preventDefault(),f.trigger("focus")})),(F=f.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(F.addClass("minicolors-with-swatches"),A=r('<ul class="minicolors-swatches"></ul>').appendTo(F),X=0;X<P.swatches.length;++X)z=typeof P.swatches[X]=="object"?(c=P.swatches[X].name,P.swatches[X].color):(c="",P.swatches[X]),z=U(k=z)?S(z,!0):m(u(z,!0)),r('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",c).appendTo(A).data("swatch-color",k).find(".minicolors-swatch-color").css({backgroundColor:k!=="transparent"?T(z):"transparent",opacity:String(z.a)}),P.swatches[X]=z;P.inline&&f.parent().addClass("minicolors-inline"),E(f,!1),f.data("minicolors-initialized",!0)}})(r(this),I)}),r(this)}}}),r([document]).on("mousedown.minicolors touchstart.minicolors",function(a){r(a.target).parents().add(a.target).hasClass("minicolors")||b()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(a){var I=r(this);a.preventDefault(),r(a.delegateTarget).data("minicolors-target",I),l(I,a,!0)}).on("mousemove.minicolors touchmove.minicolors",function(a){var I=r(a.delegateTarget).data("minicolors-target");I&&l(I,a)}).on("mouseup.minicolors touchend.minicolors",function(){r(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(a){a.preventDefault();var I=r(this),f=I.parents(".minicolors").find(".minicolors-input"),P=I.data("swatch-color");g(f,P,x(P)),E(f)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(a){var I=r(this).parent().find(".minicolors-input");a.preventDefault(),w(I)}).on("focus.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&w(a)}).on("blur.minicolors",".minicolors-input",function(){var a,I,f,P,c,d=r(this),A=d.data("minicolors-settings");d.data("minicolors-initialized")&&(a=A.keywords?r.map(A.keywords.split(","),function(z){return z.toLowerCase().trim()}):[],c=d.val()!==""&&-1<r.inArray(d.val().toLowerCase(),a)?d.val():(f=U(d.val())?S(d.val(),!0):(I=u(d.val(),!0))?m(I):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?S("rgba("+f.r+","+f.g+","+f.b+","+d.attr("data-opacity")+")"):S("rgb("+f.r+","+f.g+","+f.b+")"):T(f),P=A.opacity?d.attr("data-opacity"):1,c.toLowerCase()==="transparent"&&(P=0),d.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),d.val(c),d.val()===""&&d.val(C(A.defaultValue,!0)),d.val(v(d.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(a){var I=r(this);if(I.data("minicolors-initialized"))switch(a.which){case 9:b();break;case 13:case 27:b(),I.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&E(a,!0)}).on("paste.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&setTimeout(function(){E(a,!0)},1)})})})(jquery_minicolors_min);(function(){function R(o){this.mode=r.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var m=0,a=this.data.length;m<a;m++){var I=[],f=this.data.charCodeAt(m);f>65536?(I[0]=240|(f&1835008)>>>18,I[1]=128|(f&258048)>>>12,I[2]=128|(f&4032)>>>6,I[3]=128|f&63):f>2048?(I[0]=224|(f&61440)>>>12,I[1]=128|(f&4032)>>>6,I[2]=128|f&63):f>128?(I[0]=192|(f&1984)>>>6,I[1]=128|f&63):I[0]=f,this.parsedData.push(I)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}R.prototype={getLength:function(o){return this.parsedData.length},write:function(o){for(var m=0,a=this.parsedData.length;m<a;m++)o.put(this.parsedData[m],8)}};function L(o,m){this.typeNumber=o,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}L.prototype={addData:function(o){var m=new R(o);this.dataList.push(m),this.dataCache=null},isDark:function(o,m){if(o<0||this.moduleCount<=o||m<0||this.moduleCount<=m)throw new Error(o+","+m);return this.modules[o][m]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(o,m){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var a=0;a<this.moduleCount;a++){this.modules[a]=new Array(this.moduleCount);for(var I=0;I<this.moduleCount;I++)this.modules[a][I]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(o,m),this.typeNumber>=7&&this.setupTypeNumber(o),this.dataCache==null&&(this.dataCache=L.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,m)},setupPositionProbePattern:function(o,m){for(var a=-1;a<=7;a++)if(!(o+a<=-1||this.moduleCount<=o+a))for(var I=-1;I<=7;I++)m+I<=-1||this.moduleCount<=m+I||(0<=a&&a<=6&&(I==0||I==6)||0<=I&&I<=6&&(a==0||a==6)||2<=a&&a<=4&&2<=I&&I<=4?this.modules[o+a][m+I]=!0:this.modules[o+a][m+I]=!1)},getBestMaskPattern:function(){for(var o=0,m=0,a=0;a<8;a++){this.makeImpl(!0,a);var I=b.getLostPoint(this);(a==0||o>I)&&(o=I,m=a)}return m},createMovieClip:function(o,m,a){var I=o.createEmptyMovieClip(m,a),f=1;this.make();for(var P=0;P<this.modules.length;P++)for(var c=P*f,d=0;d<this.modules[P].length;d++){var A=d*f,z=this.modules[P][d];z&&(I.beginFill(0,100),I.moveTo(A,c),I.lineTo(A+f,c),I.lineTo(A+f,c+f),I.lineTo(A,c+f),I.endFill())}return I},setupTimingPattern:function(){for(var o=8;o<this.moduleCount-8;o++)this.modules[o][6]==null&&(this.modules[o][6]=o%2==0);for(var m=8;m<this.moduleCount-8;m++)this.modules[6][m]==null&&(this.modules[6][m]=m%2==0)},setupPositionAdjustPattern:function(){for(var o=b.getPatternPosition(this.typeNumber),m=0;m<o.length;m++)for(var a=0;a<o.length;a++){var I=o[m],f=o[a];if(this.modules[I][f]==null)for(var P=-2;P<=2;P++)for(var c=-2;c<=2;c++)P==-2||P==2||c==-2||c==2||P==0&&c==0?this.modules[I+P][f+c]=!0:this.modules[I+P][f+c]=!1}},setupTypeNumber:function(o){for(var m=b.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var I=!o&&(m>>a&1)==1;this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=I}for(var a=0;a<18;a++){var I=!o&&(m>>a&1)==1;this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=I}},setupTypeInfo:function(o,m){for(var a=this.errorCorrectLevel<<3|m,I=b.getBCHTypeInfo(a),f=0;f<15;f++){var P=!o&&(I>>f&1)==1;f<6?this.modules[f][8]=P:f<8?this.modules[f+1][8]=P:this.modules[this.moduleCount-15+f][8]=P}for(var f=0;f<15;f++){var P=!o&&(I>>f&1)==1;f<8?this.modules[8][this.moduleCount-f-1]=P:f<9?this.modules[8][15-f-1+1]=P:this.modules[8][15-f-1]=P}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,m){for(var a=-1,I=this.moduleCount-1,f=7,P=0,c=this.moduleCount-1;c>0;c-=2)for(c==6&&c--;;){for(var d=0;d<2;d++)if(this.modules[I][c-d]==null){var A=!1;P<o.length&&(A=(o[P]>>>f&1)==1);var z=b.getMask(m,I,c-d);z&&(A=!A),this.modules[I][c-d]=A,f--,f==-1&&(P++,f=7)}if(I+=a,I<0||this.moduleCount<=I){I-=a,a=-a;break}}}},L.PAD0=236,L.PAD1=17,L.createData=function(o,m,a){for(var I=E.getRSBlocks(o,m),f=new D,P=0;P<a.length;P++){var c=a[P];f.put(c.mode,4),f.put(c.getLength(),b.getLengthInBits(c.mode,o)),c.write(f)}for(var d=0,P=0;P<I.length;P++)d+=I[P].dataCount;if(f.getLengthInBits()>d*8)throw new Error("code length overflow. ("+f.getLengthInBits()+">"+d*8+")");for(f.getLengthInBits()+4<=d*8&&f.put(0,4);f.getLengthInBits()%8!=0;)f.putBit(!1);for(;!(f.getLengthInBits()>=d*8||(f.put(L.PAD0,8),f.getLengthInBits()>=d*8));)f.put(L.PAD1,8);return L.createBytes(f,I)},L.createBytes=function(o,m){for(var a=0,I=0,f=0,P=new Array(m.length),c=new Array(m.length),d=0;d<m.length;d++){var A=m[d].dataCount,z=m[d].totalCount-A;I=Math.max(I,A),f=Math.max(f,z),P[d]=new Array(A);for(var k=0;k<P[d].length;k++)P[d][k]=255&o.buffer[k+a];a+=A;var F=b.getErrorCorrectPolynomial(z),X=new g(P[d],F.getLength()-1),V=X.mod(F);c[d]=new Array(F.getLength()-1);for(var k=0;k<c[d].length;k++){var K=k+V.getLength()-c[d].length;c[d][k]=K>=0?V.get(K):0}}for(var tt=0,k=0;k<m.length;k++)tt+=m[k].totalCount;for(var G=new Array(tt),it=0,k=0;k<I;k++)for(var d=0;d<m.length;d++)k<P[d].length&&(G[it++]=P[d][k]);for(var k=0;k<f;k++)for(var d=0;d<m.length;d++)k<c[d].length&&(G[it++]=c[d][k]);return G};for(var r={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},B={L:1,M:0,Q:3,H:2},w={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},b={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(o){for(var m=o<<10;b.getBCHDigit(m)-b.getBCHDigit(b.G15)>=0;)m^=b.G15<<b.getBCHDigit(m)-b.getBCHDigit(b.G15);return(o<<10|m)^b.G15_MASK},getBCHTypeNumber:function(o){for(var m=o<<12;b.getBCHDigit(m)-b.getBCHDigit(b.G18)>=0;)m^=b.G18<<b.getBCHDigit(m)-b.getBCHDigit(b.G18);return o<<12|m},getBCHDigit:function(o){for(var m=0;o!=0;)m++,o>>>=1;return m},getPatternPosition:function(o){return b.PATTERN_POSITION_TABLE[o-1]},getMask:function(o,m,a){switch(o){case w.PATTERN000:return(m+a)%2==0;case w.PATTERN001:return m%2==0;case w.PATTERN010:return a%3==0;case w.PATTERN011:return(m+a)%3==0;case w.PATTERN100:return(Math.floor(m/2)+Math.floor(a/3))%2==0;case w.PATTERN101:return m*a%2+m*a%3==0;case w.PATTERN110:return(m*a%2+m*a%3)%2==0;case w.PATTERN111:return(m*a%3+(m+a)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var m=new g([1],0),a=0;a<o;a++)m=m.multiply(new g([1,l.gexp(a)],0));return m},getLengthInBits:function(o,m){if(1<=m&&m<10)switch(o){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:return 8;case r.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(m<27)switch(o){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(m<41)switch(o){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+o)}else throw new Error("type:"+m)},getLostPoint:function(o){for(var m=o.getModuleCount(),a=0,I=0;I<m;I++)for(var f=0;f<m;f++){for(var P=0,c=o.isDark(I,f),d=-1;d<=1;d++)if(!(I+d<0||m<=I+d))for(var A=-1;A<=1;A++)f+A<0||m<=f+A||d==0&&A==0||c==o.isDark(I+d,f+A)&&P++;P>5&&(a+=3+P-5)}for(var I=0;I<m-1;I++)for(var f=0;f<m-1;f++){var z=0;o.isDark(I,f)&&z++,o.isDark(I+1,f)&&z++,o.isDark(I,f+1)&&z++,o.isDark(I+1,f+1)&&z++,(z==0||z==4)&&(a+=3)}for(var I=0;I<m;I++)for(var f=0;f<m-6;f++)o.isDark(I,f)&&!o.isDark(I,f+1)&&o.isDark(I,f+2)&&o.isDark(I,f+3)&&o.isDark(I,f+4)&&!o.isDark(I,f+5)&&o.isDark(I,f+6)&&(a+=40);for(var f=0;f<m;f++)for(var I=0;I<m-6;I++)o.isDark(I,f)&&!o.isDark(I+1,f)&&o.isDark(I+2,f)&&o.isDark(I+3,f)&&o.isDark(I+4,f)&&!o.isDark(I+5,f)&&o.isDark(I+6,f)&&(a+=40);for(var k=0,f=0;f<m;f++)for(var I=0;I<m;I++)o.isDark(I,f)&&k++;var F=Math.abs(100*k/m/m-50)/5;return a+=F*10,a}},l={glog:function(o){if(o<1)throw new Error("glog("+o+")");return l.LOG_TABLE[o]},gexp:function(o){for(;o<0;)o+=255;for(;o>=256;)o-=255;return l.EXP_TABLE[o]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)l.EXP_TABLE[h]=1<<h;for(var h=8;h<256;h++)l.EXP_TABLE[h]=l.EXP_TABLE[h-4]^l.EXP_TABLE[h-5]^l.EXP_TABLE[h-6]^l.EXP_TABLE[h-8];for(var h=0;h<255;h++)l.LOG_TABLE[l.EXP_TABLE[h]]=h;function g(o,m){if(o.length==null)throw new Error(o.length+"/"+m);for(var a=0;a<o.length&&o[a]==0;)a++;this.num=new Array(o.length-a+m);for(var I=0;I<o.length-a;I++)this.num[I]=o[I+a]}g.prototype={get:function(o){return this.num[o]},getLength:function(){return this.num.length},multiply:function(o){for(var m=new Array(this.getLength()+o.getLength()-1),a=0;a<this.getLength();a++)for(var I=0;I<o.getLength();I++)m[a+I]^=l.gexp(l.glog(this.get(a))+l.glog(o.get(I)));return new g(m,0)},mod:function(o){if(this.getLength()-o.getLength()<0)return this;for(var m=l.glog(this.get(0))-l.glog(o.get(0)),a=new Array(this.getLength()),I=0;I<this.getLength();I++)a[I]=this.get(I);for(var I=0;I<o.getLength();I++)a[I]^=l.gexp(l.glog(o.get(I))+m);return new g(a,0).mod(o)}};function E(o,m){this.totalCount=o,this.dataCount=m}E.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],E.getRSBlocks=function(o,m){var a=E.getRsBlockTable(o,m);if(a==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+m);for(var I=a.length/3,f=[],P=0;P<I;P++)for(var c=a[P*3+0],d=a[P*3+1],A=a[P*3+2],z=0;z<c;z++)f.push(new E(d,A));return f},E.getRsBlockTable=function(o,m){switch(m){case B.L:return E.RS_BLOCK_TABLE[(o-1)*4+0];case B.M:return E.RS_BLOCK_TABLE[(o-1)*4+1];case B.Q:return E.RS_BLOCK_TABLE[(o-1)*4+2];case B.H:return E.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function D(){this.buffer=[],this.length=0}D.prototype={get:function(o){var m=Math.floor(o/8);return(this.buffer[m]>>>7-o%8&1)==1},put:function(o,m){for(var a=0;a<m;a++)this.putBit((o>>>m-a-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(o){var m=Math.floor(this.length/8);this.buffer.length<=m&&this.buffer.push(0),o&&(this.buffer[m]|=128>>>this.length%8),this.length++}};var v=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function u(){return typeof CanvasRenderingContext2D<"u"}function S(){var o=!1,m=navigator.userAgent;if(/android/i.test(m)){o=!0;var a=m.toString().match(/android ([0-9]\.[0-9])/i);a&&a[1]&&(o=parseFloat(a[1]))}return o}var C=function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){var a=this._htOption,I=this._el,f=m.getModuleCount();Math.floor(a.width/f),Math.floor(a.height/f),this.clear();function P(k,F){var X=document.createElementNS("http://www.w3.org/2000/svg",k);for(var V in F)F.hasOwnProperty(V)&&X.setAttribute(V,F[V]);return X}var c=P("svg",{viewBox:"0 0 "+String(f)+" "+String(f),width:"100%",height:"100%",fill:a.colorLight});c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),I.appendChild(c),c.appendChild(P("rect",{fill:a.colorLight,width:"100%",height:"100%"})),c.appendChild(P("rect",{fill:a.colorDark,width:"1",height:"1",id:"template"}));for(var d=0;d<f;d++)for(var A=0;A<f;A++)if(m.isDark(d,A)){var z=P("use",{x:String(A),y:String(d)});z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),c.appendChild(z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),N=document.documentElement.tagName.toLowerCase()==="svg",U=N?C:u()?function(){function o(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var m=1/window.devicePixelRatio,a=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,c,d,A,z,k,F,X,V){if("nodeName"in P&&/img/i.test(P.nodeName))for(var K=arguments.length-1;K>=1;K--)arguments[K]=arguments[K]*m;else typeof X>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);a.apply(this,arguments)}}function I(P,c){var d=this;if(d._fFail=c,d._fSuccess=P,d._bSupportDataURI===null){var A=document.createElement("img"),z=function(){d._bSupportDataURI=!1,d._fFail&&d._fFail.call(d)},k=function(){d._bSupportDataURI=!0,d._fSuccess&&d._fSuccess.call(d)};A.onabort=z,A.onerror=z,A.onload=k,A.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else d._bSupportDataURI===!0&&d._fSuccess?d._fSuccess.call(d):d._bSupportDataURI===!1&&d._fFail&&d._fFail.call(d)}var f=function(P,c){this._bIsPainted=!1,this._android=S(),this._htOption=c,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=c.width,this._elCanvas.height=c.height,P.appendChild(this._elCanvas),this._el=P,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return f.prototype.draw=function(P){var c=this._elImage,d=this._oContext,A=this._htOption,z=P.getModuleCount(),k=A.width/z,F=A.height/z,X=Math.round(k),V=Math.round(F);c.style.display="none",this.clear();for(var K=0;K<z;K++)for(var tt=0;tt<z;tt++){var G=P.isDark(K,tt),it=tt*k,lt=K*F;d.strokeStyle=G?A.colorDark:A.colorLight,d.lineWidth=1,d.fillStyle=G?A.colorDark:A.colorLight,d.fillRect(it,lt,k,F),d.strokeRect(Math.floor(it)+.5,Math.floor(lt)+.5,X,V),d.strokeRect(Math.ceil(it)-.5,Math.ceil(lt)-.5,X,V)}this._bIsPainted=!0},f.prototype.makeImage=function(){this._bIsPainted&&I.call(this,o)},f.prototype.isPainted=function(){return this._bIsPainted},f.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},f.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},f}():function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){for(var a=this._htOption,I=this._el,f=m.getModuleCount(),P=Math.floor(a.width/f),c=Math.floor(a.height/f),d=['<table style="border:0;border-collapse:collapse;">'],A=0;A<f;A++){d.push("<tr>");for(var z=0;z<f;z++)d.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+c+"px;background-color:"+(m.isDark(A,z)?a.colorDark:a.colorLight)+';"></td>');d.push("</tr>")}d.push("</table>"),I.innerHTML=d.join("");var k=I.childNodes[0],F=(a.width-k.offsetWidth)/2,X=(a.height-k.offsetHeight)/2;F>0&&X>0&&(k.style.margin=X+"px "+F+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function x(o,m){for(var a=1,I=j(o),f=0,P=v.length;f<=P;f++){var c=0;switch(m){case B.L:c=v[f][0];break;case B.M:c=v[f][1];break;case B.Q:c=v[f][2];break;case B.H:c=v[f][3];break}if(I<=c)break;a++}if(a>v.length)throw new Error("Too long data");return a}function j(o){var m=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=o?3:0)}var T=function(o,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:B.H},typeof m=="string"&&(m={text:m}),m)for(var a in m)this._htOption[a]=m[a];typeof o=="string"&&(o=document.getElementById(o)),this._htOption.useSVG&&(U=C),this._android=S(),this._el=o,this._oQRCode=null,this._oDrawing=new U(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};T.prototype.makeCode=function(o){this._oQRCode=new L(x(o,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(o),this._oQRCode.make(),this._el.title=o,this._oDrawing.draw(this._oQRCode),this.makeImage()},T.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},T.prototype.clear=function(){this._oDrawing.clear()},T.CorrectLevel=B,window.QRCode=T})();function timeFormat(R,L="YYYY-MM-DD"){if(!R)return null;typeof R=="number"&&(R=new Date(R));const r=R.getFullYear(),B=R.getMonth(),w=R.getDate(),b=R.getHours(),l=b%12===0?12:b%12,h=R.getMinutes(),g=R.getSeconds(),E=v=>`0${v}`.slice(-2),D={YYYY:r,MM:E(B+1),MMMM:`${B+1}\u6708`,M:B+1,DD:E(w),D:w,HH:E(b),H:b,hh:E(l),h:l,mm:E(h),m:h,ss:E(g),s:g};return L.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,v=>String(D[v]))}const defaultOption={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let observerMap={};function _createWatermark(R){const{id:L,watch:r,content:B,container:w,width:b,height:l,textAlign:h,textBaseline:g,fontSize:E,fontFamily:D,fillStyle:v,rotate:u,timestamp:S,format:C,zIndex:N}=R;observerMap[L]={wmMo:null,wmTimer:null};const U=document.createElement("canvas");U.setAttribute("width",`${b}px`),U.setAttribute("height",`${l}px`);let x=typeof w=="string"?document.querySelector(w):w;const j=U.getContext("2d");j.textAlign=h,j.textBaseline=g,j.font=`${E} ${D}`,j.fillStyle=v,j.translate(b/2,l/2),j.rotate(-(Math.PI/180)*u),j.fillText(`${B}`,0,0),S&&j.fillText(`${timeFormat(new Date,C)}`,0,parseInt(E)+5);let T=x.querySelector(".__vm__"+L);const o=T||document.createElement("div"),a=`position:absolute;user-select:none;top:0;left:0;${x.getAttribute("style")};z-index:${N};pointer-events:none !important;background-repeat:repeat;background-image:url('${U.toDataURL()}')`;if(o.setAttribute("style",a),o.classList.add("__vm__"+L),T||x.insertBefore(o,x.children[1]),r){const I=window.MutationObserver||window.WebKitMutationObserver;I&&(observerMap[L].wmMo=new I(f=>{let P=f.some(c=>c.target.className==x.className&&c.type=="attributes");T=x.querySelector(".__vm__"+L),(T&&T.getAttribute("style")!==a||!T||P)&&(observerMap[L].wmMo.disconnect(),observerMap[L].wmMo=null,delete observerMap[L].wmMo,_createWatermark(R))}),observerMap[L].wmMo.observe(x,{attributes:!0,subtree:!0,childList:!0}))}if(C){let I=864e5;C.includes("s")?I=1e3:C.includes("m")?I=1e3*60:(C.includes("h")||C.includes("H"))&&(I=1e3*60*60),observerMap[L].wmTimer=window.setTimeout(()=>{o.style.bottom="0"},I)}}const destroyWatermark=function(R){const{id:L,watch:r,container:B}=R;if(r){let w=typeof B=="string"?document.querySelector(B):B;observerMap[L]&&(observerMap[L].wmMo&&observerMap[L].wmMo.disconnect(),observerMap[L].wmMo=null,observerMap[L].wmTimer&&window.clearTimeout(observerMap[L].wmTimer),observerMap[L].wmTimer=null,delete observerMap[L]);const b=w.querySelector(".__vm__"+L);b&&b.parentNode.removeChild(b)}},createWatermark=function(R){let L=Object.assign({},defaultOption,R);destroyWatermark(L),_createWatermark(L)},watermark={createWatermark,destroyWatermark},lImg="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9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0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var nzh_min={exports:{}};/*!
2
2
  * nzh v1.0.8
3
3
  * Homepage http://cnwhy.github.io/nzh
4
4
  * License BSD-2-Clause
5
- */(function(tt,V){(function(f,G){tt.exports=G()})(Ge,function(){function f(w,v){return v={exports:{}},w(v,v.exports),v.exports}function G(w,v){var j=I.getNumbResult(w);if(!j)return w;v=v||{};var a=this.ch,m=this.ch_u,r=this.ch_f||"",d=this.ch_d||".",h=a.charAt(0),P=j.int,u=j.decimal,g=j.minus,A="",L="",W=g?r:"",J=function k(it,st,pt){it=I.getNumbResult(it).int;var It="",bt=arguments.length>1?arguments[1]:v.tenMin,vt=it.length;if(vt==1)return a.charAt(+it);if(vt<=4)for(var dt=0,yt=vt;yt--;){var mt=+it.charAt(dt);It+=bt&&vt==2&&dt==0&&mt==1?"":a.charAt(mt),It+=mt&&yt?m.charAt(yt):"",dt++}else{for(var gt=it.length/4>>0,Pt=it.length%4;Pt==0||!m.charAt(3+gt);)Pt+=4,gt--;var jt=it.substr(0,Pt),St=it.substr(Pt);It=k(jt,bt)+m.charAt(3+gt)+(St.charAt(0)=="0"?h:"")+k(St,St.length>4&&bt)}return It=I.clearZero(It,h)};if(u){u=I.clearZero(u,"0","$");for(var Y=0;Y<u.length;Y++)L+=a.charAt(+u.charAt(Y));L=L?d+L:""}if(A=J(P),v.ww&&m.length>5){var F=m.charAt(4),O=m.charAt(5),$=A.lastIndexOf(O);~$&&(A=A.substring(0,$).replace(new RegExp(O,"g"),F+F)+A.substring($))}return W+A+L}function B(w){w=w.toString();var v=w.split(this.ch_d),j=v[0].replace(this.ch_f,""),a=v[1],m=!!~v[0].indexOf(this.ch_f),r=this.ch_u.charAt(1),d=this.ch_u.charAt(4),h=this.ch_u.charAt(5);j=j.replace(new RegExp(d+"{2}","g"),h);for(var P=j.split(""),u=0,g=0,A=[],L=[],W=[],J=0;J<P.length;J++){var Y=P[J],F=0,O=0;if(~(F=this.ch.indexOf(Y)))F>0&&W.unshift(F);else if(~(O=this.ch_u.indexOf(Y))){var $=I.getDigit(O);u>O?(I.unshiftZero(W,$),I.centerArray(L,W)):O>=g?(J==0&&(W=[1]),I.centerArray(A,L,W),A.length>0&&I.unshiftZero(A,$),g=O):(W.length==0&&r==Y&&(W=[1]),I.centerArray(L,W),I.unshiftZero(L,I.getDigit(O)),u=O)}}I.centerArray(A,L,W).reverse(),A.length==0&&A.push(0);var k=0;if(a){A.push("."),k="0.";for(var J=0;J<a.length;J++)k+=this.ch.indexOf(a.charAt(J)),A.push(this.ch.indexOf(a.charAt(J)));k=+k}return m&&A.unshift("-"),parseFloat(A.join(""))}function y(w,v){var j={ww:!0,complete:!1,outSymbol:!0},a=I.getNumbResult(w),m=this.ch.charAt(0);if(v=typeof v=="object"?v:{},!a)return w;v=I.extend(j,v);var r=a.num,d=a.decimal||"",h=v.outSymbol?this.m_t:"",P=d?"":this.m_z,u="";if(v.complete){for(var g=1;g<this.m_u.length;g++)u+=G.call(this,d.charAt(g-1)||"0")+this.m_u.charAt(g);P=G.call(this,r,v)+this.m_u.charAt(0)}else{if(d=d.substr(0,this.m_u.length-1),d=I.clearZero(d,"0","$"))for(var A,g=0;g<this.m_u.length-1;g++)d.charAt(g)&&d.charAt(g)!="0"&&(u+=G.call(this,d.charAt(g))+this.m_u.charAt(g+1),A=!1),d.charAt(g)!=="0"||A||(g==0&&r=="0"||(u+=m),A=!0);r=="0"&&!P&&u||(P=G.call(this,r,v)+this.m_u.charAt(0)+P)}return h+P+u}function p(w,v){return{encodeS:function(j,a){return a=I.extend({ww:!0,tenMin:!0},a),l.CL.call(w,j,a)},encodeB:function(j,a){return a=I.extend({ww:!0},a),l.CL.call(v,j,a)},decodeS:function(){return l.unCL.apply(w,arguments)},decodeB:function(){return l.unCL.apply(v,arguments)},toMoney:function(j,a){return a=I.extend({ww:!0},a),l.toMoney.call(v,j,a)}}}var I=f(function(w,v){var j=/^([+-])?0*(\d+)(\.(\d+))?$/,a=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=v.e2ten=function(d){var h=a.exec(d.toString());if(!h)return d;var P=h[2],u=h[4]||"",g=h[5]?+h[5]:0;if(g>0){var A=u.substr(0,g);A=A.length<g?A+new Array(g-A.length+1).join("0"):A,u=u.substr(g),P+=A}else{g=-g;var L=P.length-g;L=L<0?0:L;var W=P.substr(L,g);W=W.length<g?new Array(g-W.length+1).join("0")+W:W,P=P.substring(0,L),u=W+u}return P=P==""?"0":P,(h[1]=="-"?"-":"")+P+(u?"."+u:"")};v.getNumbResult=function(d){var h=j.exec(d.toString());if(!h&&a.test(d.toString())&&(h=j.exec(m(d.toString()))),h)return{int:h[2],decimal:h[4],minus:h[1]=="-",num:h.slice(1,3).join("")}},v.centerArray=function d(h,P){if(h.splice.apply(h,[0,P.length].concat(P.splice(0,P.length))),arguments.length>2){var u=[].slice.call(arguments,2);u.unshift(h),d.apply(null,u)}return h};var r=v.hasAttr=function(d,h){return Object.prototype.hasOwnProperty.call(d,h)};v.extend=function(d){for(var h,P=arguments[0]||{},u=Array.prototype.slice.call(arguments,1),g=0;g<u.length;g++){var A=u[g];for(h in A)r(A,h)&&(P[h]=A[h])}return P},v.getDigit=function(d){return d>=5?4*(d-4)+4:d},v.unshiftZero=function(d,h){if(h==null&&(h=1),!(h<=0))for(;h--;)d.unshift(0)},v.clearZero=function(d,h,P){if(d==null)return"";var u=~"*.?+$^[](){}|\\/".indexOf(h)?"\\"+h:h,g=new RegExp("^"+u+"+"),A=new RegExp(u+"+$"),L=new RegExp(u+"{2}","g");return d=d.toString(),P=="^"&&(d=d.replace(g,"")),P&&P!="$"||(d=d.replace(A,"")),P&&P!="nto1"||(d=d.replace(L,h)),d}}),l=(I.e2ten,I.getNumbResult,I.centerArray,I.hasAttr,I.extend,I.getDigit,I.unshiftZero,I.clearZero,{CL:G,unCL:B,toMoney:y}),H=p,D={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},N={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},s={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},x={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},T={s:D,b:N,hk_s:s,hk_b:x},E=function(w){this.lang=w,this.encode=function(){return l.CL.apply(w,arguments)},this.decode=function(){return l.unCL.apply(w,arguments)},this.toMoney=function(){return l.toMoney.apply(w,arguments)}};E.langs=T,E.cn=H(T.s,T.b),E.hk=H(T.hk_s,T.hk_b);var U=E;return U})})(qt);const Nt=qt.exports;function Qe(tt){return function(V){var f=function(G){G.removePrintElementTypes("defaultModule"),G.addPrintElementTypes("defaultModule",[new tt.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(B,y){return"\u8FD9\u91CC\u81EA\u5B9A\u4E49\u7EDF\u8BA1\u811A\u4FE1\u606F"},columns:[[{title:"\u884C\u53F7",fixed:!0,rowspan:2,field:"id",width:70},{title:"\u4EBA\u5458\u4FE1\u606F",colspan:2},{title:"\u9500\u552E\u7EDF\u8BA1",colspan:2}],[{title:"\u59D3\u540D",align:"left",field:"name",width:100},{title:"\u6027\u522B",field:"gender",width:100},{title:"\u9500\u552E\u6570\u91CF",field:"count",width:100},{title:"\u9500\u552E\u91D1\u989D",field:"amount",width:100}]]},{tid:"defaultModule.html",title:"html",formatter:function(B,y){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new tt.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:f}}}function At(tt,V){return V!=null&&typeof Symbol<"u"&&V[Symbol.hasInstance]?!!V[Symbol.hasInstance](tt):tt instanceof V}function Tt(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tt=function(f){return typeof f}:Tt=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Tt(tt)}window.$=window.jQuery=S.default;window.autoConnect=!0;window.io=Ze.io;window.eval2=eval;var Et=function(tt){var V={};function f(B){if(V[B])return V[B].exports;var y=V[B]={i:B,l:!1,exports:{}};return tt[B].call(y.exports,y,y.exports,f),y.l=!0,y.exports}var G=(f.m=tt,f.c=V,f.d=function(B,y,p){f.o(B,y)||Object.defineProperty(B,y,{enumerable:!0,get:p})},f.r=function(B){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},f.t=function(B,y){if(1&y&&(B=f(B)),8&y||4&y&&Tt(B)=="object"&&B&&B.__esModule)return B;var p=Object.create(null);if(f.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:B}),2&y&&typeof B!="string")for(var I in B)f.d(p,I,function(l){return B[l]}.bind(null,I));return p},f.n=function(B){var y=B&&B.__esModule?function(){return B.default}:function(){return B};return f.d(y,"a",y),y},f.o=function(B,y){return Object.prototype.hasOwnProperty.call(B,y)},f.p="/",f(f.s=21));return G.n=f,G}([function(tt,V,f){var G;f.d(V,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(G={},{on:function(y,p){G[y]||(G[y]=[]),G[y].push(p)},id:0,off:function(y,p){var I=G[y];if(I){for(var l=-1,H=0;H<I.length;H++)if(I[H]===p){l=H;break}l<0||G[y].splice(l,1)}},trigger:function(y){var p=G[y];if(p&&p.length)for(var I=Array.prototype.slice.call(arguments,1),l=0;l<p.length;l++)p[l].apply(this,I)},clear:function(y){G[y]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(y){return y+"-"+this.getId()}}),hinnn.form={serialize:function(y){var p=S.default(y).serializeArray(),I={};return S.default.each(p,function(){I[this.name]?Object.prototype.toString.call(I[this.name])=="[object Array]"?I[this.name].push(this.value):I[this.name]=[I[this.name],this.value]:I[this.name]=this.value}),I}},hinnn.pt={toPx:function(y){return y*(this.getDpi()/72)},toMm:function(y){return hinnn.px.toMm(hinnn.pt.toPx(y))},dpi:0,getDpi:function(){if(!this.dpi){var y=document.getElementById("hinnnDpi");y?this.dpi=y.offsetHeight:(y=document.createElement("DIV"),y.id="hinnnDpi",y.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(y),this.dpi=y.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.pt.getDpi()" ');return this.dpi}},hinnn.px={toPt:function(y){return y*(72/this.getDpi())},toMm:function(y){return Math.round(y/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var y=document.getElementById("hinnnDpi");y?this.dpi=y.offsetHeight:(y=document.createElement("DIV"),y.id="hinnnDpi",y.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(y),this.dpi=y.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.px.getDpi()" ');return this.dpi}},hinnn.mm={toPt:function(y){return 72/25.4*y},toPx:function(y){return hinnn.pt.toPx(hinnn.mm.toPt(y))}},hinnn.throttle=function(B,y,p){var I,l,H,D=null,N=0;p||(p={});var s=function(){N=p.leading===!1?0:_.now(),D=null,H=B.apply(I,l),D||(I=l=null)};return function(){var x=_.now();N||p.leading!==!1||(N=x);var T=y-(x-N);return I=this,l=arguments,T<=0||T>y?(D&&(clearTimeout(D),D=null),N=x,H=B.apply(I,l),D||(I=l=null)):D||p.trailing===!1||(D=setTimeout(s,T)),H}},hinnn.debounce=function(B,y,p){var I,l,H,D,N,s=function x(){var T=_.now()-D;T<y&&T>=0?I=setTimeout(x,y-T):(I=null,p||(N=B.apply(H,l),I||(H=l=null)))};return function(){H=this,l=arguments,D=_.now();var x=p&&!I;return I||(I=setTimeout(s,y)),x&&(N=B.apply(H,l),H=l=null),N}},hinnn.toUtf8=function(B){var y,p,I,l;for(y="",I=B.length,p=0;p<I;p++)(l=B.charCodeAt(p))>=1&&l<=127?y+=B.charAt(p):l>2047?(y+=String.fromCharCode(224|l>>12&15),y+=String.fromCharCode(128|l>>6&63),y+=String.fromCharCode(128|l>>0&63)):(y+=String.fromCharCode(192|l>>6&31),y+=String.fromCharCode(128|l>>0&63));return y},hinnn.groupBy=function(B,y,p){var I={};return B.forEach(function(l){var H=JSON.stringify(p(l));I[H]||(I[H]={rows:[]},y.forEach(function(D){I[H][D]=l[D]})),I[H].rows.push(l)}),Object.keys(I).map(function(l){return I[l]})},hinnn.orderBy=function(B,y){if(B.length<=1)return B;var p=Math.floor(B.length/2),I=B.splice(p,1)[0],l=[],H=[],D=!0,N=!1,s=void 0;try{for(var x=B[Symbol.iterator](),T;!(D=(T=x.next()).done);D=!0){var E=T.value;y(E)<y(I)?l.push(E):H.push(E)}}catch(U){N=!0,s=U}finally{try{!D&&x.return!=null&&x.return()}finally{if(N)throw s}}return this.orderBy(l,y).concat([I],this.orderBy(H,y))},hinnn.dateFormat=function(B,y){if(B)try{var p=typeof B=="string"?new Date(B):B,I={"M+":p.getMonth()+1,"d+":p.getDate(),"H+":p.getHours(),"m+":p.getMinutes(),"s+":p.getSeconds(),"q+":Math.floor((p.getMonth()+3)/3),S:p.getMilliseconds()};for(var l in/(y+)/.test(y)&&(y=y.replace(RegExp.$1,(p.getFullYear()+"").substr(4-RegExp.$1.length))),I)new RegExp("("+l+")").test(y)&&(y=y.replace(RegExp.$1,RegExp.$1.length==1?I[l]:("00"+I[l]).substr((""+I[l]).length)));return y}catch(H){return console.log(H),""}return""},hinnn.numFormat=function(B,y){if(B!=null)try{var p=typeof B=="string"?parseFloat(B):B,I=parseInt(y);return I>0?p.toFixed(I):parseInt(p.toString())}catch(l){return console.log(l),""}return""},hinnn.toUpperCase=function(B,y){if(!Nt)return y;var p=y;switch(B){case"0":p=Nt.cn.encodeS(y);break;case"1":p=Nt.cn.encodeS(y,{tenMin:!1});break;case"2":p=Nt.cn.encodeB(y,{tenMin:!0});break;case"3":p=Nt.cn.encodeB(y);break;case"4":p=Nt.cn.toMoney(y,{tenMin:!0});break;case"5":p=Nt.cn.toMoney(y);break;case"6":p=Nt.cn.toMoney(y,{complete:!0});break;case"7":p=Nt.cn.toMoney(y,{complete:!0,outSymbol:!1});break}return p}},function(tt,V,f){f.d(V,"a",function(){return B});var G=f(9),B=function(){function y(){}return y.prototype.init=function(p){p&&S.default.extend(this,p)},y.prototype.register=function(p){this.init(p);var I=this,l=I.getHooks("init");l&&l.forEach(H=>{H.run({Config:I,OptionItems:G,ElementTypes:Et.ElementTypes,hinnn,hiprint:Et})})},y.prototype.getHooks=function(p){return this.pluginsList().reduce((I,l)=>I.concat(l.hooks.filter(H=>H.hook===p)),[])},y.prototype.pluginsList=function(){var p=this;return this.plugins?this.plugins.filter(I=>p.versionCheck(I)):[]},y.prototype.versionCheck=function(p){p.leastHiprintVersion.split(".").length!==3&&console.error(`[${p.name}] has a malformed leastHiprintVersion of ${p.leastHiprintVersion}. Please tell the developer to update.`);const I=y.instance.version.split("."),l=parseInt(I[0]),H=parseInt(I[1]),D=parseInt(I[2]),N=p.leastHiprintVersion.split("."),s=parseInt(N[0]),x=parseInt(N[1]),T=parseInt(N[2]);let E=!1;return l>s&&(E=!0),l===s&&H>x&&(E=!0),l===s&&H===x&&D>=T&&(E=!0),E||console.error(`Plugin [${p.name}] requires "@svelte-hiprint/hiprint" version ${p.leastHiprintVersion} and you are using ${y.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),E},y.prototype.on=function(p,I){hinnn.event.on(p,I)},y.prototype.clear=function(p){hinnn.event.clear(p)},y.prototype.registerItems=function(p){p.forEach(function(I){G.a.registerItem(new I)})},Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y,window.HIPRINT_CONFIG&&S.default.extend(y._instance,HIPRINT_CONFIG),y._instance.optionItems&&y._instance.optionItems.forEach(function(I){G.a.registerItem(new I)})),y._instance},enumerable:!0,configurable:!0}),y}()},function(tt,V,f){var G=function(){function y(p){this.printElement=p}return y.prototype.updatePosition=function(p,I){this.left=p,this.top=I},y}();f.d(V,"a",function(){return B});var B=function(){function y(){this.printTemplateContainer={},this.A1={width:841,height:594},this.A2={width:420,height:594},this.A3={width:420,height:297},this.A4={width:210,height:297},this.A5={width:210,height:148},this.A6={width:105,height:148},this.A7={width:105,height:74},this.A8={width:52,height:74},this.B1={width:1e3,height:707},this.B2={width:500,height:707},this.B3={width:500,height:353},this.B4={width:250,height:353},this.B5={width:250,height:176},this.B6={width:125,height:176},this.B7={width:125,height:88},this.B8={width:62,height:88},this.dragLengthCNum=function(p,I){var l=.75*p;return I&&(I=I),Math.round(l/I)*I}}return Object.defineProperty(y,"instance",{get:function(){return this._instance||(this._instance=new y),this._instance},enumerable:!0,configurable:!0}),y.prototype.getDragingPrintElement=function(){return y.instance.dragingPrintElement},y.prototype.setDragingPrintElement=function(p){y.instance.dragingPrintElement=new G(p)},y.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var I=16*Math.random()|0;return(p=="x"?I:3&I|8).toString(16)})},y.prototype.imageToBase64=function(p){if(S.default(p).attr("src").indexOf("base64")==-1)try{var I=document.createElement("canvas"),l=new Image;l.src=p.attr("src"),I.width=l.width,I.height=l.height,I.getContext("2d").drawImage(l,0,0),p.attr("src",I.toDataURL("image/png"))}catch{try{this.xhrLoadImage(p)}catch(D){console.log(D)}}},y.prototype.xhrLoadImage=function(p){},y.prototype.transformImg=function(p){var I=this;p.map(function(l,H){I.imageToBase64(S.default(H))})},y.prototype.getPrintTemplateById=function(p){return y.instance.printTemplateContainer[p]},y.prototype.setPrintTemplateById=function(p,I){return y.instance.printTemplateContainer[p]=I},y}()},function(tt,V,f){var G=function(){return function(){}}();f.d(V,"a",function(){return B});var B=function(){function y(p){p=p||{},this.left=p.left,this.top=p.top,this.topInDesign=this.top,this.height=p.height,this.width=p.width,this.transform=p.transform,this.init(p)}return y.prototype.setDefault=function(p){this.defaultOptions=p,this.initSize()},y.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},y.prototype.initSizeByHtml=function(p,I){this.width||this.setWidth(p),this.height||this.setHeight(I)},y.prototype.getRectInfo=function(){var p={w:0,h:0,diffW:0,diffH:0};if(this.transform){var I=this.transform*Math.PI/180,l=this.width,H=this.height,D=Math.sin(I),N=Math.cos(I),s=Math.abs(l*N)+Math.abs(H*D),x=Math.abs(l*D)+Math.abs(H*N),T=(l-s)/2,E=(H-x)/2;p.w=s,p.h=x,p.diffW=T,p.diffH=E}return p},y.prototype.getLeft=function(){return this.left},y.prototype.posLeft=function(){var p=this.left;return this.transform&&(p+=this.getRectInfo().diffW),Math.floor(p*10)/10},y.prototype.setRotate=function(p){p!=null&&(this.transform=p)},y.prototype.displayLeft=function(p){return this.transform&&p?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},y.prototype.setLeft=function(p){p!=null&&(this.left=p)},y.prototype.getTop=function(){return this.top},y.prototype.posTop=function(){var p=this.top;return this.transform&&(p+=this.getRectInfo().diffH),Math.floor(p*10)/10},y.prototype.getTopInDesign=function(){return this.topInDesign},y.prototype.displayTop=function(p){return this.transform&&p?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},y.prototype.setTop=function(p){p!=null&&(this.top=p)},y.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},y.prototype.getHeight=function(){if(this.transform){var p=this.getRectInfo();return p.h+p.diffH}return this.height},y.prototype.displayHeight=function(){return this.height+"pt"},y.prototype.setHeight=function(p){p!=null&&(this.height=p)},y.prototype.getWidth=function(){if(this.transform){var p=this.getRectInfo();return p.w+p.diffW}return this.width},y.prototype.displayWidth=function(){return this.width+"pt"},y.prototype.setWidth=function(p){p!=null&&(this.width=p)},y.prototype.getValueFromOptionsOrDefault=function(p){return this[p]==null?this.defaultOptions[p]:this[p]},y.prototype.getPrintElementOptionEntity=function(){var p=new G,I=this;return Object.keys(this).filter(function(l){return l!="topInDesign"}).forEach(function(l){if(typeof I[l]!="number"&&typeof I[l]!="string"&&!["fields"].includes(l)&&Tt(I[l])!=Tt(!0)||(p[l]=I[l]),l=="style"){p.style={};var H=I[l];H&&Object.keys(H).forEach(function(D){typeof H[D]!="number"&&typeof H[D]!="string"||(p.style[D]=H[D])})}}),p},y.prototype.init=function(p){var I=this;p&&Object.keys(p).forEach(function(l){I[l]=p[l]})},y}()},function(tt,V,f){f.d(V,"a",function(){return D});var G=f(17),B=f(1),y=f(9),p=f(6),I=f(0),l=f(8),H=f(2),D=function(){function N(s){this.printElementType=s,this.id=H.a.instance.guid()}return N.prototype.getConfigOptionsByName=function(s){return B.a.instance[s]},N.prototype.getProxyTarget=function(s){s&&this.SetProxyTargetOption(s);var x=this.getData(),T=this.createTarget(this.getTitle(),x);return this.updateTargetSize(T),this.css(T,x),T},N.prototype.SetProxyTargetOption=function(s){this.options.getPrintElementOptionEntity(),S.default.extend(this.options,s),this.copyFromType()},N.prototype.showInPage=function(s,x){var T=this.options.showInPage,E=this.options.unShowInPage;if(T){if(T=="first")return s==0;if(s==x-1&&E=="last")return!1;if(T=="odd")return(s!=0||E!="first")&&s%2==0;if(T=="even")return s%2==1;if(T=="last")return s==x-1}return(s!=0||E!="first")&&(s!=x-1||E!="last")},N.prototype.setTemplateId=function(s){this.templateId=s},N.prototype.setPanel=function(s){this.panel=s},N.prototype.getField=function(){return this.options.field||this.printElementType.field},N.prototype.getTitle=function(){return this.printElementType.title},N.prototype.updateSizeAndPositionOptions=function(s,x,T,E){this.options.setLeft(s),this.options.setTop(x),this.options.copyDesignTopFromTop(),this.options.setWidth(T),this.options.setHeight(E)},N.prototype.initSizeByHtml=function(s){if(s&&s.length){this.createTempContainer();var x=s.clone();this.getTempContainer().append(x),this.options.initSizeByHtml(parseInt(I.a.px.toPt(x.width()).toString()),parseInt(I.a.px.toPt(x.height()).toString())),this.removeTempContainer()}},N.prototype.updateTargetSize=function(s){s.css("width",this.options.displayWidth()),s.css("height",this.options.displayHeight())},N.prototype.updateTargetWidth=function(s){s.css("width",this.options.displayWidth())},N.prototype.getDesignTarget=function(s){var x=this,T=0;return this.designTarget=this.getHtml(s)[0].target,this.designPaper=s,this.designTarget.click(function(E){E.timeStamp-T>500&&I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),T=E.timeStamp}),this.designTarget.dblclick(function(E){var U=x.designTarget.find(".hiprint-printElement-content");if(U){var w=x.designTarget.find(".resize-panel");x.printElementType.type=="text"&&!(x.options.textType&&x.options.textType!="text")&&(x._editing=!0,x.designTarget.hidraggable("update",{draggable:!1}),U.css("cursor","text"),U.addClass("editing"),x.designTarget.addClass("editing"),U.click(function(v){x._editing&&v.stopPropagation()}),U.attr("contenteditable",!0),w&&w.css("display","none"),x.selectEnd(U))}}),this.designTarget},N.prototype.selectEnd=function(s){if(s.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var x=document.createRange();x.selectNodeContents(s[0]),x.collapse(!1);var T=window.getSelection();T.removeAllRanges(),T.addRange(x)}else if(typeof document.body.createTextRange<"u"){var x=document.body.createTextRange();x.moveToElementText(s[0]),x.collapse(!1),x.select()}},N.prototype.updateByContent=function(s){var x=this,T=x.designTarget.find(".hiprint-printElement-content");if(x._editing){T&&T.css("cursor","")&&T.removeClass("editing")&&T.removeAttr("contenteditable"),x.designTarget.removeClass("editing");var E=T.text(),U=x.options.title+"\uFF1A";E.startsWith(U)&&x.options.field?E.length>U.length?x.options.testData=E.split("\uFF1A")[1]:(x.options.title=E,x.options.testData=""):x.options.title=E,s||I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),x.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+x.templateId,"\u7F16\u8F91\u4FEE\u6539"),x._editing=!1;var w=x.options.draggable==null||x.options.draggable==!0;x.designTarget.hidraggable("update",{draggable:w})}},N.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},N.prototype.design=function(s,x){var T=this;this.designTarget.hidraggable({draggable:T.options.draggable,axis:T.options.axis?T.options.axis:void 0,designTarget:T,onDrag:function(U,w,v){var j=T.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&h.designTarget.children().last().hasClass("selected")&&!h.printElementType.type.includes("table")}),a=j.length>1,m=!T.designTarget.children().last().hasClass("selected");if(a){var r=w-T.options.left,d=v-T.options.top;j.forEach(function(h){h.updateSizeAndPositionOptions(r+h.options.getLeft(),d+h.options.getTop()),h.designTarget.css("left",h.options.displayLeft()),h.designTarget.css("top",h.options.displayTop()),h.createLineOfPosition(x)}),m&&(T.updateSizeAndPositionOptions(w,v),T.createLineOfPosition(x))}else T.updateSizeAndPositionOptions(w,v),T.createLineOfPosition(x);H.a.instance.changed=!0},moveUnit:"pt",minMove:B.a.instance.movingDistance,onBeforeDrag:function(U){H.a.instance.draging=!0,T.designTarget.focus(),T.createLineOfPosition(x)},getScale:function(){return T.designPaper.scale||1},onStopDrag:function(U){H.a.instance.changed&&I.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u79FB\u52A8"),H.a.instance.draging=!1,H.a.instance.changed=!1;var w=T.panel.printElements.filter(function(v){return v.designTarget.children().last().css("display")=="block"&&!v.printElementType.type.includes("table")});w.length>1?w.forEach(function(v){v.removeLineOfPosition()}):T.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){T.removeLineOfPosition(),I.a.event.trigger("hiprintTemplateMouseUp_"+x.templateId)},300)}),this.designTarget.hicontextMenu(T.panel.getContextMenuList(T)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,x)},N.prototype.getPrintElementEntity=function(s){return s?new G.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new G.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},N.prototype.submitOption=function(){var s=this,x=this.getConfigOptions();x&&x.tabs&&x.tabs.length?this.getPrintElementOptionTabs().forEach(function(T){T.list.forEach(function(E){var U=E.getValue(),w=E.name=="textType"&&s.options[E.name]!==U,v=E.name=="axis"&&s.options[E.name]!==U,j=E.name=="draggable"&&s.options[E.name]!==U;U&&Tt(U)=="object"?Object.keys(U).forEach(function(a){s.options[a]=U[a]}):s.options[E.name]=U,w&&s.setResizePanel(),v&&s.designTarget.hidraggable("update",{axis:U}),j&&s.designTarget.hidraggable("update",{draggable:U})})}):this.getPrintElementOptionItems().forEach(function(T){var E=T.getValue(),U=T.name=="textType"&&s.options[T.name]!==E,w=T.name=="axis"&&s.options[T.name]!==E,v=T.name=="draggable"&&s.options[T.name]!==E;E&&Tt(E)=="object"?Object.keys(E).forEach(function(j){s.options[j]=E[j]}):s.options[T.name]=E,U&&s.setResizePanel(),w&&s.designTarget.hidraggable("update",{axis:E}),v&&s.designTarget.hidraggable("update",{draggable:E})}),this.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},N.prototype.updateOption=function(s,x,T){try{var E=this,U=this.getConfigOptions(),w=["draggable"];U&&U.tabs&&U.tabs.length?U.tabs.forEach(function(v){v.options.forEach(function(j){w.push(j.name)})}):w=U.supportOptions.map(function(v){return v.name}),w&&w.includes(s)&&(this.options[s]=x,s=="draggable"&&E.designTarget.hidraggable("update",{draggable:x}),s=="widthHeight"&&(x.width&&(this.options.width=x.width),x.height&&(this.options.height=x.height),x.widthHeightSync&&(this.options.widthHeightSync=x.widthHeightSync)),s=="coordinate"&&(x.left&&(this.options.left=x.left),x.top&&(this.options.top=x.top),x.coordinateSync&&(this.options.coordinateSync=x.coordinateSync)),this.updateDesignViewFromOptions(),T||(I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),I.a.event.trigger(E.getPrintElementSelectEventKey(),{printElement:E})))}catch(v){console.log("updateOption error",v)}},N.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||B.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||B.a.instance.qrcode.showPoints:this.options.showPoints||B.a.instance.text.showPoints},N.prototype.setResizePanel=function(){var s=this,x=this.designPaper;this.designTarget.hireizeable({showPoints:s.getReizeableShowPoints(),draggable:s.options.draggable,showSizeBox:B.a.instance.showSizeBox,getScale:function(){return s.designPaper.scale||1},onBeforeResize:function(){H.a.instance.draging=!0},onResize:function(E,U,w,v,j,a){a!=null?s.onRotate(E,a):s.onResize(E,U,w,v,j),s.createLineOfPosition(x)},onStopResize:function(E){I.a.event.trigger("hiprintTemplateDataChanged_"+s.templateId,E?"\u65CB\u8F6C":"\u5927\u5C0F"),H.a.instance.draging=!1,s.removeLineOfPosition()}}),this.options.draggable==!1&&S.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},N.prototype.onRotate=function(s,x){this.options.setRotate(x)},N.prototype.onResize=function(s,x,T,E,U){this.updateSizeAndPositionOptions(U,E,T,x)},N.prototype.getOrderIndex=function(){return this.options.getTop()},N.prototype.getHtml=function(s,x,T){var E=0;this.setCurrenttemplateData(x);var U=[],w=this.getBeginPrintTopInPaperByReferenceElement(s),v=s.getPaperFooter(E);this.isHeaderOrFooter()||this.isFixed()||w>v&&s.panelPageRule!="none"&&(U.push(new p.a({target:void 0,printLine:void 0})),w=w-v+s.paperHeader,E++,v=s.getPaperFooter(E));var j=this.getData(x),a=this.createTarget(this.getTitle(),j,T);return this.updateTargetSize(a),this.css(a,j),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",w+"pt"),U.push(new p.a({target:a,printLine:w+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:w+this.options.getHeight(),printTopInPaper:w})})),x&&this.options.pageBreak&&(U[0].target.css("top",s.paperHeader+"pt"),U[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,U[0].printLine=s.paperHeader,U[0].referenceElement.bottomInLastPaper=0,U[0].referenceElement.printTopInPaper=s.paperHeader,U.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),U},N.prototype.getHtml2=function(s,x,T){var E=0;this.setCurrenttemplateData(x);var U=[],w=this.getBeginPrintTopInPaperByReferenceElement(s),v=s.getPaperFooter(E);this.isHeaderOrFooter()||this.isFixed()||(s.panelPageRule!="none"&&w>v&&(U.push(new p.a({target:void 0,printLine:void 0})),w=w-v+s.paperHeader,E++,v=s.getPaperFooter(E)),w<=v&&w+this.options.getHeight()>v&&s.panelPageRule!="none"&&(U.push(new p.a({target:void 0,printLine:void 0})),w=s.paperHeader,E++,v=s.getPaperFooter(E)));var j=this.getData(x),a=this.createTarget(this.getTitle(),j);return s.panelPageRule=="none"&&w+this.options.getHeight()>v&&this.updatePanelHeight(w+this.options.getHeight(),s),this.updateTargetSize(a),this.css(a,j),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",w+"pt"),U.push(new p.a({target:a,printLine:w+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:w+this.options.getHeight(),printTopInPaper:w})})),x&&this.options.pageBreak&&(U[0].target.css("top",s.paperHeader+"pt"),U[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,U[0].printLine=s.paperHeader,U[0].referenceElement.bottomInLastPaper=0,U[0].referenceElement.printTopInPaper=s.paperHeader,U.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),U},N.prototype.updatePanelHeight=function(s,x){if(this.panel.panelPageRule=="none"){var T=I.a.pt.toMm(s);x.paperFooter=s,x.target.css("height",T+"mm"),x.target.attr("original-height",T)}},N.prototype.getBeginPrintTopInPaperByReferenceElement=function(s){var x=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?x:s.referenceElement.isPositionLeftOrRight(x)?s.referenceElement.printTopInPaper+(x-s.referenceElement.top):s.referenceElement.bottomInLastPaper+(x-(s.referenceElement.top+s.referenceElement.height))},N.prototype.css=function(s,x){var T=this,E=this.getConfigOptions();if(E){var U;E.tabs&&E.tabs.length?(U=[],E.tabs.forEach(function(w){U=U.concat(w.options)})):U=E.supportOptions,U&&U.forEach(function(w){var v=y.a.getItem(w.name);v&&v.css&&v.css(s,T.options.getValueFromOptionsOrDefault(w.name))})}this.stylerCss(s,x)},N.prototype.stylerCss=function(s,x){var T=this.getStyler();if(T){var E=T(x,this.options,s,this._currenttemplateData);E&&Object.keys(E).forEach(function(U){s.css(U,E[U])})}},N.prototype.getData=function(s){var x=this.getField();return s?x&&x.split(".").reduce((T,E)=>T?T[E]:s?s[E]:"",!1)||"":this.printElementType.getData()},N.prototype.copyFromType=function(){var s=this.options,x=this.printElementType,T=this.getConfigOptions(),E=[];return T&&T.tabs&&T.tabs.length?T.tabs.forEach(function(U){U.options.forEach(function(w){E.push(w.name)})}):E=T.supportOptions.map(function(U){return U.name}),Object.keys(x).forEach(function(U){x[U]&&U!="columns"&&E.indexOf(U)>-1&&(s[U]=Tt(x[U])=="function"?x[U].toString():x[U])}),s},N.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var s=[],x=this.getConfigOptions();if(x){var T=x.tabs;T&&T.forEach(function(E,U){s.push({name:E.name,list:[]}),E.options.filter(function(w){return!w.hidden}).forEach(function(w){var v=y.a.getItem(w.name);s[U].list.push(v)})})}return this._printElementOptionTabs=s,this._printElementOptionItems=void 0,this._printElementOptionTabs},N.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var s=[],x=this.getConfigOptions();if(x){var T;x.tabs&&x.tabs.length?(T=[],x.tabs.forEach(function(E){E=E.concat(E.options)})):T=x.supportOptions,T&&T.filter(function(E){return!E.hidden}).forEach(function(E){var U=y.a.getItem(E.name);s.push(U)})}return this._printElementOptionItems=this.filterOptionItems(s.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},N.prototype.getPrintElementOptionItemsByName=function(s){var x=[],T=this.getConfigOptionsByName(s);if(T){var E;T.tabs&&T.tabs.length?(E=[],T.tabs.forEach(function(U){E=E.concat(U.options)})):E=T.supportOptions,E&&E.filter(function(U){return!U.hidden}).forEach(function(U){var w=y.a.getItem(U.name);x.push(w)})}return x.concat()},N.prototype.filterOptionItems=function(s){return this.printElementType.field?s.filter(function(x){return x.name!="field"}):s},N.prototype.createTempContainer=function(){this.removeTempContainer(),S.default("body").append(S.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},N.prototype.removeTempContainer=function(){S.default(".hiprint_temp_Container").remove()},N.prototype.getTempContainer=function(){return S.default(".hiprint_temp_Container")},N.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},N.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},N.prototype.setCurrenttemplateData=function(s){this._currenttemplateData=s},N.prototype.isFixed=function(){return this.options.fixed},N.prototype.onRendered=function(s,x){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(x,this.options,s.getTarget())},N.prototype.createLineOfPosition=function(s){var x=S.default(".toplineOfPosition.id"+this.id),T=S.default(".topPosition.id"+this.id),E=S.default(".leftlineOfPosition.id"+this.id),U=S.default(".leftPosition.id"+this.id),w=S.default(".rightlineOfPosition.id"+this.id),v=S.default(".bottomlineOfPosition.id"+this.id),j=B.a.instance;if(x.length)x.css("top",this.options.displayTop(!0));else{var x=S.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');x.css("top",this.options.displayTop(!0)),x.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(x)}if(j.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),T.length)T.toggleClass("topPosition-lineMode",j.positionLineMode),T.text(this.options.posTop()+(j.positionUnit?"pt":"")),T.css("top",this.options.posTop()-T.height()+"pt"),j.positionLineMode?T.css("left",this.options.posLeft()-T.width()/2+"pt"):T.css("left",this.options.posLeft()+2+"pt");else{var T=S.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');T.toggleClass("topPosition-lineMode",j.positionLineMode),T.text(this.options.posTop()+(j.positionUnit?"pt":"")),j.positionLineMode?T.css("left",this.options.posLeft()-T.width()/2+"pt"):T.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(T),T.css("top",this.options.posTop()-T.height()+"pt")}if(E.length)E.css("left",this.options.displayLeft(!0));else{var a=S.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');a.css("left",this.options.displayLeft(!0)),a.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}if(j.showPosition)if(U.length)U.text(this.options.posLeft()+(j.positionUnit?"pt":"")),U.toggleClass("leftPosition-lineMode",j.positionLineMode),U.css("left",this.options.posLeft()-U.width()+"pt"),j.positionLineMode?U.css("top",this.options.posTop()-U.height()/3+"pt"):U.css("top",this.options.posTop()+2+"pt");else{var U=S.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');U.text(this.options.posLeft()+(j.positionUnit?"pt":"")),U.toggleClass("leftPosition-lineMode",j.positionLineMode),j.positionLineMode?U.css("top",this.options.posTop()-U.height()/3+"pt"):U.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(U),U.css("left",this.options.posLeft()-U.width()+"pt")}if(w.length)w.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var m=S.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');m.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),m.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}if(v.length)v.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var r=S.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');r.css("top",this.options.getTop()+this.options.getHeight()+"pt"),r.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(r)}},N.prototype.removeLineOfPosition=function(){S.default(".toplineOfPosition.id"+this.id).remove(),S.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),S.default(".leftlineOfPosition.id"+this.id).remove(),S.default(".leftPosition.id"+this.id).remove(),S.default(".rightlineOfPosition.id"+this.id).remove(),S.default(".bottomlineOfPosition.id"+this.id).remove()},N.prototype.getFontList=function(){var s=this.options.fontList;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFontList())},N.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var s=this.options.fields;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFields())},N.prototype.getOnImageChooseClick=function(){var s=this.options.onImageChooseClick;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},N.prototype.bingCopyEvent=function(s){var x=this;s.keydown(function(T){if(x._editing&&!T.altKey&&T.keyCode==13){x.updateByContent();return}(T.ctrlKey||T.metaKey)&&T.keyCode==67&&(x.panel.copyJson(),T.preventDefault()),(T.ctrlKey||T.metaKey)&&T.keyCode==68&&(x.panel.copyJson(),x.panel.pasteJson(),T.preventDefault()),(T.ctrlKey||T.metaKey)&&T.keyCode==88&&(x.panel.cutJson(),T.preventDefault())})},N.prototype.clone=function(s){var x=this;let T=x.printElementType.createPrintElement();return Object.keys(x.options).forEach(function(E){T.options[E]=x.options[E]}),T},N.prototype.getFormatter=function(){var s=void 0;if(this.printElementType.formatter&&(s=this.printElementType.formatter),this.options.formatter)try{var x="formatter="+this.options.formatter;s=eval2(x)}catch(T){console.log(T)}return s},N.prototype.getStyler=function(){var s=void 0;if(this.printElementType.styler&&(s=this.printElementType.styler),this.options.styler)try{var x="fnstyler="+this.options.styler;s=eval2(x)}catch(T){console.log(T)}return s},N.prototype.bingKeyboardMoveEvent=function(s,x){var T=this,E=void 0,U=void 0;s.attr("tabindex","1"),s.keydown(function(w){if(w.target.tagName!="INPUT"&&!(T._editing&&!w.altKey)&&T.options.draggable!==!1){var v=T.panel.printElements.filter(function(r){return r.designTarget.children().last().css("display")=="block"&&!r.printElementType.type.includes("table")}),j=v.length>1,a=B.a.instance.movingDistance;switch(w.keyCode){case 8:case 46:var m=T.panel;j?v.forEach(function(r){m.deletePrintElement(r)}):m.deletePrintElement(T),I.a.event.trigger("clearSettingContainer");break;case 37:E=T.options.getLeft(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0-a,0)}):(T.updateSizeAndPositionOptions(E-a),s.css("left",T.options.displayLeft())),w.preventDefault();break;case 38:U=T.options.getTop(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0,0-a)}):(T.updateSizeAndPositionOptions(void 0,U-a),s.css("top",T.options.displayTop())),w.preventDefault();break;case 39:E=T.options.getLeft(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(a,0)}):(T.updateSizeAndPositionOptions(E+a),s.css("left",T.options.displayLeft())),w.preventDefault();break;case 40:U=T.options.getTop(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0,a)}):(T.updateSizeAndPositionOptions(void 0,U+a),s.css("top",T.options.displayTop())),w.preventDefault()}[37,38,39,40].includes(w.keyCode)&&I.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u952E\u76D8\u79FB\u52A8")}})},N.prototype.inRect=function(s){var x=this.designPaper.scale||1,T=this.designTarget[0].offsetLeft,E=this.designTarget[0].offsetTop,U=this.designTarget[0].offsetHeight,w=this.designTarget[0].offsetWidth,v=T+w,j=E+U,a=S.default(s.target[0]).position().left/x,m=S.default(s.target[0]).position().top/x,r=s.target[0].offsetHeight,d=s.target[0].offsetWidth,h=a+d,P=m+r;return a<v&&h>T&&E<P&&j>m},N.prototype.multipleSelect=function(s){s?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},N.prototype.updatePositionByMultipleSelect=function(s,x){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(s+this.options.getLeft(),x+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},N}()},function(tt,V,f){var G=function(){function w(){}return w.prototype.init=function(v){this.target=S.default('<input type="text" class="hitable-editor-text" value="" />'),v.getTarget().append(this.target),this.target.focus()},w.prototype.getValue=function(){return this.target.val()},w.prototype.setValue=function(v){this.target.val(v)},w.prototype.destroy=function(){this.target.remove()},w}(),B=function(){function w(){this.text=new G}return Object.defineProperty(w,"Instance",{get:function(){return w._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w}(),y=function(){function w(){}return w.prototype.init=function(v,j){var a=`<select class="auto-submit" style="width:100%">
6
- <option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;v.forEach(function(m,r){m.field==j.field?a+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":a+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),a+=" </select>",this.target=S.default(a),j.getTarget().append(this.target),this.target.focus()},w.prototype.getValue=function(){var v=this.target.val(),j=this.target.find('option[value="'+v+'"]').text();return j+"#"+v},w.prototype.setValue=function(v){v&&(this.target.find('option[value="'+v+'"]').length||this.target.find("select").prepend('<option value="'+v+'" >'+v+"</option>")),this.target.find("select").val(v)},w.prototype.destroy=function(){this.target.remove()},w}(),p=function(){function w(){this.select=new y}return Object.defineProperty(w,"Instance",{get:function(){return w._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w}(),I=function(){function w(){}return Object.defineProperty(w,"Instance",{get:function(){return B._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w.prototype.createEditor=function(v){return S.default.extend({},B.Instance[v])},w.prototype.createSelect=function(v){return S.default.extend({},p.Instance[v])},w}(),l=f(10),H=f(14),D=f(11),N=function(){function w(){}return w.prototype.init=function(v,j){var a=this;this.tableOptions=j,this.title=v.title,this.field=v.field,v.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){v.isEditing=!0,a.beginEdit(v)})},w.prototype.getDisplayHtml=function(){return this.title},w.prototype.beginEdit=function(v){var j=this;j.tableOptions.options.fields&&j.tableOptions.options.fields.length?(this.editor=I.Instance.createSelect("select"),v.getTarget().html(""),this.editor.init(j.tableOptions.options.fields,v),this.editor.setValue(this.field||""),S.default(this.editor.target).keydown(function(a){a.keyCode==13&&j.endEdit(v)}),S.default(this.editor.target).change(function(a){j.endEdit(v)}),S.default(this.editor.target).blur(function(a){j.endEdit(v)})):(this.editor=I.Instance.createEditor("text"),v.getTarget().html(""),this.editor.init(v),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),S.default(this.editor.target).keydown(function(a){a.keyCode==13&&j.endEdit(v)}),S.default(this.editor.target).blur(function(a){j.endEdit(v)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=v.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=v)},w.prototype.endEdit=function(v){v.isEditing=0;var j=this.editor.getValue();if(j)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var a=j.split("#");v.title=this.title=a[0],a.length>0&&(v.columnId=v.field=this.field=a[1]),v.id&&v.target.attr("id",v.id),v.columnId&&v.target.attr("column-id",v.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else v.title=this.title=j;else this.tableOptions.options.isEnableEditField?(v.title=this.title="",v.field=this.field=""):v.title=this.title="";this.editor.destroy(),v.getTarget().html(this.title)},w}(),s=function(){return function(w){this.title=w.title,this.field=w.field,this.width=w.width,this.align=w.align,this.halign=w.halign,this.vAlign=w.vAlign,this.colspan=w.colspan,this.rowspan=w.rowspan,this.checked=w.checked,this.columnId=w.columnId,this.tableSummaryTitle=w.tableSummaryTitle,this.tableSummaryText=w.tableSummaryText,this.tableSummaryColspan=w.tableSummaryColspan,this.tableSummary=w.tableSummary,this.tableSummaryAlign=w.tableSummaryAlign,this.tableSummaryNumFormat=w.tableSummaryNumFormat,this.upperCase=w.upperCase,this.renderFormatter=w.renderFormatter&&w.renderFormatter.toString(),this.formatter2=w.formatter2&&w.formatter2.toString(),this.styler2=w.styler2&&w.styler2.toString(),this.stylerHeader=w.stylerHeader&&w.stylerHeader.toString(),this.tableColumnHeight=w.tableColumnHeight,this.tableTextType=w.tableTextType,this.tableBarcodeMode=w.tableBarcodeMode,this.tableQRCodeLevel=w.tableQRCodeLevel}}(),x=function(){function w(){this.id=D.a.createId()}return w.prototype.init=function(v,j,a,m){this.isHead=m,this.rowId=a,this.isEditing=!1;var r=/^[0-9]*$/;this.target=v,this.tableOptions=j;var d=this.target.attr("colspan");this.colspan=r.test(d)?parseInt(d):1;var h=this.target.attr("rowspan");this.rowspan=r.test(h)?parseInt(h):1,this.initEvent(),this.isHead&&this.initInnerEelement()},w.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var v=this.getValue();this.editor=I.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(v)}},w.prototype.endEdit=function(){this.isEditing=!1;var v=this.editor.getValue();this.editor.destroy(),this.target.html(v)},w.prototype.getTarget=function(){return this.target},w.prototype.getValue=function(){return this.target.html()},w.prototype.setValue=function(v){},w.prototype.initInnerEelement=function(){this.innerElement=new N,this.innerElement.init(this,this.tableOptions)},w.prototype.initEvent=function(){},w.prototype.isXYinCell=function(v,j){var a=new l.b({x:v,y:j,height:0,width:0});return this.isOverlap(a)},w.prototype.getTableRect=function(){return new l.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},w.prototype.isOverlap=function(v){var j=this.getTableRect();return v.x+v.width>j.x&&j.x+j.width>v.x&&v.y+v.height>j.y&&j.y+j.height>v.y},w.prototype.isInRect=function(v){var j=v.rect,a=this.getTableRect();if(a.x>=j.x&&a.x+a.width<=j.x+j.width&&a.y>=j.y&&a.y+a.height<=j.y+j.height){var m=H.a.mergeRect(j,a);return JSON.stringify(j)==JSON.stringify(m)||(v.changed=!0,v.rect=m,!0)}return!1},w.prototype.isSelected=function(){return this.target.hasClass("selected")},w.prototype.select=function(){this.target.addClass("selected")},w.prototype.isHeader=function(){return!1},w.prototype.setAlign=function(v){this.align=v,v?this.target.css("text-align",v):this.target[0].style.textAlign=""},w.prototype.setVAlign=function(v){this.vAlign=v,v?this.target.css("vertical-align",v):this.target[0].style.verticalAlign=""},w.prototype.getEntity=function(){return new s(this)},w}();f.d(V,"a",function(){return U});var T,E=(T=function(v,j){return(T=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(a,m){a.__proto__=m}||function(a,m){for(var r in m)m.hasOwnProperty(r)&&(a[r]=m[r])})(v,j)},function(w,v){function j(){this.constructor=w}T(w,v),w.prototype=v===null?Object.create(v):(j.prototype=v.prototype,new j)}),U=function(w){function v(j){var a=this;return j=j||{},(a=w.call(this)||this).width=j.width?parseFloat(j.width.toString()):100,a.title=j.title,a.descTitle=j.descTitle,a.field=j.field,a.fixed=j.fixed,a.rowspan=j.rowspan?parseInt(j.rowspan):1,a.colspan=j.colspan?parseInt(j.colspan):1,a.align=j.align,a.halign=j.halign,a.vAlign=j.vAlign,a.formatter=j.formatter,a.styler=j.styler,a.renderFormatter=j.renderFormatter,a.formatter2=j.formatter2,a.styler2=j.styler2,a.stylerHeader=j.stylerHeader,a.checkbox=j.checkbox,a.checked=j.checked!=0,a.columnId=j.columnId||j.field,a.tableColumnHeight=j.tableColumnHeight,a.tableTextType=j.tableTextType,a.tableBarcodeMode=j.tableBarcodeMode,a.tableQRCodeLevel=j.tableQRCodeLevel,a.tableSummaryTitle=j.tableSummaryTitle,a.tableSummaryText=j.tableSummaryText,a.tableSummaryColspan=j.tableSummaryColspan,a.tableSummary=j.tableSummary,a.tableSummaryAlign=j.tableSummaryAlign,a.tableSummaryNumFormat=j.tableSummaryNumFormat,a.upperCase=j.upperCase,a}return E(v,w),v.prototype.css=function(j){},v}(x)},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(B){this.printLine=B.printLine,this.target=B.target,this.referenceElement=B.referenceElement}}()},function(tt,V,f){f.d(V,"a",function(){return y});var G=f(19),B=f(0),y=function(){function p(){}return p.createTableHead=function(I,l){for(var H=p.reconsitutionTableColumnTree(I),D=S.default("<thead></thead>"),N=p.getColumnsWidth(H,l),s=function(E){var U=S.default("<tr></tr>");H[E].filter(function(w){return w.checked}).forEach(function(w){var v=S.default("<td></td>");w.id&&v.attr("id",w.id),w.columnId&&v.attr("column-id",w.columnId),(w.align||w.halign)&&v.css("text-align",w.halign||w.align),w.vAlign&&v.css("vertical-align",w.vAlign),w.colspan>1&&v.attr("colspan",w.colspan),w.rowspan>1&&v.attr("rowspan",w.rowspan),v.html(w.title),N[w.id]?(w.hasWidth=!0,w.targetWidth=N[w.id],v.attr("haswidth","haswidth"),v.css("width",N[w.id]+"pt")):w.hasWidth=!1;var j=p.getHeaderStyler(w);if(j){var a=j(w);a&&Object.keys(a).forEach(function(m){v.css(m,a[m])})}U.append(v)}),D.append(U)},x=0;x<H.totalLayer;x++)s(x);return p.syncTargetWidthToOption(I),D},p.createTableFooter=function(I,l,H,D,N,s){var x=S.default("<tfoot></tfoot>"),T=this.getFooterFormatter(H,D),E=this.tableSummaryTitle;let U=H.tableFooterRepeat=="last"?l:s,w=H.columns.length-1;var v=this.rowColumns||H.columns[w].columns;if(H.tableFooterRepeat!="no"&&v.some(function(a){return a.tableSummary})){var j=S.default("<tr></tr>");v.filter(function(a){return a.checked}).forEach(function(a){var m=U.filter(function($){return $&&$[a.field]}).map(function($){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test($[a.field])?Number($[a.field]):0}),r=a.tableSummaryText,d=a.tableSummaryNumFormat||2,h=`text-align: ${a.tableSummaryAlign||"center"}`,P=a.tableSummaryColspan==null?1:a.tableSummaryColspan,u=a.upperCase;let{toUpperCase:g,numFormat:A}=B.a;switch(a.tableSummary){case"count":var O=E(a,r||"\u8BA1\u6570:",N),L=g(u,U.length||0);j.append(`<td style="${h}" colspan="${P}">${O}${L}</td>`);break;case"sum":var W=parseFloat(Number(m.reduce(function($,k){return $+k},0)));W=g(u,A(W,d));var O=E(a,r||"\u5408\u8BA1:",N);j.append(`<td style="${h}" colspan="${P}">${O}${W}</td>`);break;case"avg":var W=parseFloat(Number(m.reduce(function($,k){return $+k},0))),J=parseFloat(Number(W/(m.length||1)));J=g(u,A(J,d));var O=E(a,r||"\u5E73\u5747\u503C:",N);j.append(`<td style="${h}" colspan="${P}">${O}${J}</td>`);break;case"min":var Y=Math.min(...m);Y==1/0&&(Y=0),Y=g(u,A(Y,d));var O=E(a,r||"\u6700\u5C0F\u503C:",N);j.append(`<td style="${h}" colspan="${P}">${O}${Y||0}</td>`);break;case"max":var F=Math.max(...m);F==-1/0&&(F=0);var O=E(a,r||"\u6700\u5927\u503C:",N);F=g(u,A(F,d)),j.append(`<td style="${h}" colspan="${P}">${O}${F||0}</td>`);break;case"text":j.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break;default:P>=1&&j.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break}}),x.append(j)}return T&&x.append(T(H,l,N,s)),x},p.tableSummaryTitle=function(I,l,H){var D=I.tableSummaryTitle==null||I.tableSummaryTitle==!0;return D?`${l}`:H?"":`<span style="color:firebrick">${l}</span>`},p.createTableRow=function(I,l,H,D,N){var s=this,x=p.reconsitutionTableColumnTree(I),T=S.default("<tbody></tbody>"),E=s.getGroupFieldsFormatter(D,N),U=E?D.groupFields=E(N,D,l):N.groupFields?N.groupFields:[];return l||(l=[]),U.length?B.a.groupBy(l,U,function(w){var v={};return U.forEach(function(j){return v[j]=w[j]}),v}).forEach(function(w){var v=s.getGroupFormatter(D,N);if(v){var j=S.default("<tr><td colspan="+x.colspan+"></td></tr>");j.find("td").append(v(w,D)),T.append(j)}var a=s.getGroupFooterFormatter(D,N),m=w;if(m.rows.forEach(function(d,h){var P=p.createRowTarget(x,d,D,N,h,m.rows,H);T.append(P)}),a){var r=S.default("<tr><td colspan="+x.colspan+"></td></tr>");r.find("td").append(a(w,D)),T.append(r)}}):l.forEach(function(w,v){var j=p.createRowTarget(x,w,D,N,v,j,H);T.append(j)}),T},p.createRowTarget=function(I,l,H,D,N,s,x){var T=S.default("<tr></tr>"),E=I.rowColumns.filter(function(v){return v.checked});T.data("rowData",l),I.rowColumns.filter(function(v){return v.checked}).forEach(function(v,j){if(!!v.checked){var a="";if(H.rowsColumnsMerge){a=eval2("rowsColumnsMerge="+H.rowsColumnsMerge);var m=a(l,v,j,N,s,x)||[1,1],r=S.default(`<td style = 'display:${m[0]&&m[1]?"":"none"}' rowspan = '${m[0]}' colspan = '${m[1]}'></td>`)}else var r=S.default("<td></td>");if(l&&Object.keys(l).length>0&&(H.tableHeaderRepeat=="first"||H.tableHeaderRepeat=="none")){if(v.field&&r.attr("field",v.field),v.align&&r.css("text-align",v.align),v.vAlign&&r.css("vertical-align",v.vAlign),H.rowsColumnsMerge&&m[1]>1){var d=0;E.forEach((Y,F)=>{F>=j&&F<j+m[1]&&(d+=Y.width)})}r.css("width",(d||v.width)+"pt")}else v.field&&r.attr("field",v.field),v.align&&r.css("text-align",v.align),v.vAlign&&r.css("vertical-align",v.vAlign);var h=p.getColumnFormatter(v),P=h?h(l[v.field],l,j,H):l[v.field],u=p.getColumnRenderFormatter(v);if(u)r.html(u(l[v.field],l,j,H));else if(v.tableTextType=="text"||v.tableTextType==null)r.html(P);else{if(v.tableTextType=="barcode"){r.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{P?(Xt.default(r.find(".hibarcode_imgcode")[0],P,{format:v.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),r.find(".hibarcode_imgcode").attr("height",v.tableColumnHeight||30+"pt"),r.find(".hibarcode_imgcode").css("margin","5pt 10pt"),r.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):r.html("")}catch(Y){console.log(Y),r.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(v.tableTextType=="image"&&(r.html(""),P)){var g=S.default('<div><img style = "max-width:100%;max-height:100%"/></div>');g.find("img").attr("src",P),console.log(g.find("img").css("width")),r.html(g)}if(v.tableTextType=="qrcode"){r.html("");try{var A=S.default("<div></div>");if(P){var L=parseInt(v.width||v.targetWidth||20),W=parseInt(v.tableColumnHeight||20);A.css("height",(L>W?W:L)+"pt"),new QRCode(A[0],{width:L>W?W:L,height:L>W?W:L,colorDark:"#000000",useSVG:!0,correctLevel:v.tableQRCodeLevel||0}).makeCode(P),r.html(A)}}catch(Y){console.log(Y),r.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}v.tableTextType==="sequence"&&r.html(N+1)}var J=p.getColumnStyler(v);if(J){var L=J(l[v.field],l,j,H);L&&Object.keys(L).forEach(function(F){r.css(F,L[F])})}T.append(r)}});var U=p.getRowStyler(H,D);if(U){var w=U(l,H);w&&Object.keys(w).forEach(function(v){T.css(v,w[v])})}return T},p.createEmptyRowTarget=function(I,l){var H=p.reconsitutionTableColumnTree(I),D=S.default("<tr></tr>");return H.rowColumns.filter(function(N){return N.checked}).forEach(function(N,s){var x=S.default("<td></td>");N.field&&x.attr("field",N.field),N.align&&x.css("text-align",N.align),N.vAlign&&x.css("vertical-align",N.vAlign),D.append(x)}),l&&l.options.tableBodyRowHeight&&D.find("td:not([rowspan])").css("height",l.options.tableBodyRowHeight+"pt"),D},p.getColumnsWidth=function(I,l){var H={},D=p.allAutoWidth(I),N=p.allFixedWidth(I);return I.rowColumns.filter(function(s){return s.checked}).forEach(function(s){if(s.fixed)H[s.id]=s.width;else{var x=l-N,T=s.width/D*(x>0?x:0);H[s.id]=T}}),H},p.resizeTableCellWidth=function(I,l,H){var D=p.reconsitutionTableColumnTree(l),N=p.getColumnsWidth(D,H);I.find("thead tr td[haswidth]").map(function(s,x){var T=S.default(x).attr("id"),E=N[T];S.default(x).css("width",E+"pt")})},p.allAutoWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?0:H[D.id]}),l},p.allFixedWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?H[D.id]:0}),l},p.reconsitutionTableColumnTree=function(I,l,H){var D=l||new G.a;D.colspan=0;for(var N=function(T){D.totalLayer=T+1,D[T]=I[T].columns,T==0&&I[T].columns.forEach(function(E){T==0&&(D.colspan+=E.colspan)})},s=0;s<I.length;s++)N(s);return D.rowColumns=p.getOrderdColumns(D),D},p.syncTargetWidthToOption=function(I){I.forEach(function(l){l.columns.forEach(function(H){H.hasWidth&&(H.width=H.targetWidth)})})},p.getGroupFieldsFormatter=function(I,l){var H=void 0;if(l.groupFields&&l.groupFields.length){var D=typeof l.groupFields=="string"?l.groupFields:JSON.stringify(l.groupFields);I.groupFieldsFormatter="function(groupData,options){ return "+D+" }"}if(l.groupFieldsFormatter&&(H=l.groupFieldsFormatter),I.groupFieldsFormatter)try{var N="groupFieldsFormatter="+I.groupFieldsFormatter;H=eval2(N)}catch(s){console.log(s)}return H},p.getGroupFormatter=function(I,l){var H=void 0;if(l.groupFormatter&&(H=l.groupFormatter),I.groupFormatter)try{var D="groupFormatter="+I.groupFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getGroupFooterFormatter=function(I,l){var H=void 0;if(l.groupFooterFormatter&&(H=l.groupFooterFormatter),I.groupFooterFormatter)try{var D="groupFooterFormatter="+I.groupFooterFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getFooterFormatter=function(I,l){var H=void 0;if(l.footerFormatter&&(H=l.footerFormatter),I.footerFormatter)try{var D="footerFormatter="+I.footerFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getRowStyler=function(I,l){var H=void 0;if(l.rowStyler&&(H=l.rowStyler),I.rowStyler)try{var D="rowStyler="+I.rowStyler;H=eval2(D)}catch(N){console.log(N)}return H},p.getColumnStyler=function(I){var l=void 0;if(I.styler&&(l=I.styler),I.styler2)try{var H="styler="+I.styler2;l=eval2(H)}catch(D){console.log(D)}return l},p.getHeaderStyler=function(I){var l=void 0;if(I.stylerHeader&&(l=I.stylerHeader),I.stylerHeader)try{var H="stylerHeader="+I.stylerHeader;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnRenderFormatter=function(I){var l=void 0;if(I.renderFormatter&&(l=I.renderFormatter),I.renderFormatter)try{var H="renderFormatter="+I.renderFormatter;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnFormatter=function(I){var l=void 0;if(I.formatter&&(l=I.formatter),I.formatter2)try{var H="formatter="+I.formatter2;l=eval2(H)}catch(D){console.log(D)}return l},p.getOrderdColumns=function(I){let l={};for(let D=0;D<I.totalLayer;D++)l[D]=[],I[D].forEach((N,s)=>{l[D].push(...new Array(N.colspan).fill({...N,colspan:1}))});for(let D=0;D<I.totalLayer;D++)l[D].forEach((N,s)=>{for(let x=1;x<N.rowspan;x++)l[D+x].splice(s,0,{...N,rowspan:1})});let H=[];for(let D=0;D<I.totalLayer;D++)D>=I.totalLayer-1?l[D].forEach((N,s)=>{N.field||(N.field=H[s])}):l[D].forEach((N,s)=>{D==0?H.push(N.field||""):N.field&&(H[s]=N.field)});return this.rowColumns=l[I.totalLayer-1],l[I.totalLayer-1]},p}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(y){this.top=y.top,this.left=y.left,this.height=y.height,this.width=y.width,this.bottomInLastPaper=y.bottomInLastPaper,this.beginPrintPaperIndex=y.beginPrintPaperIndex,this.printTopInPaper=y.printTopInPaper,this.endPrintPaperIndex=y.endPrintPaperIndex}return B.prototype.isPositionLeftOrRight=function(y){return this.top<=y&&this.top+this.height>y},B}()},function(tt,V,f){var G=function(){function o(){this.name="lineHeight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("line-height",C+"pt"),"line-height:"+C+"pt";e[0].style.lineHeight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
5
+ */(function(R,L){(function(r,B){R.exports=B()})(commonjsGlobal,function(){function r(x,j){return j={exports:{}},x(j,j.exports),j.exports}function B(x,j){var T=h.getNumbResult(x);if(!T)return x;j=j||{};var o=this.ch,m=this.ch_u,a=this.ch_f||"",I=this.ch_d||".",f=o.charAt(0),P=T.int,c=T.decimal,d=T.minus,A="",z="",k=d?a:"",F=function G(it,lt,pt){it=h.getNumbResult(it).int;var ut="",bt=arguments.length>1?arguments[1]:j.tenMin,vt=it.length;if(vt==1)return o.charAt(+it);if(vt<=4)for(var dt=0,yt=vt;yt--;){var ft=+it.charAt(dt);ut+=bt&&vt==2&&dt==0&&ft==1?"":o.charAt(ft),ut+=ft&&yt?m.charAt(yt):"",dt++}else{for(var gt=it.length/4>>0,Pt=it.length%4;Pt==0||!m.charAt(3+gt);)Pt+=4,gt--;var jt=it.substr(0,Pt),St=it.substr(Pt);ut=G(jt,bt)+m.charAt(3+gt)+(St.charAt(0)=="0"?f:"")+G(St,St.length>4&&bt)}return ut=h.clearZero(ut,f)};if(c){c=h.clearZero(c,"0","$");for(var X=0;X<c.length;X++)z+=o.charAt(+c.charAt(X));z=z?I+z:""}if(A=F(P),j.ww&&m.length>5){var V=m.charAt(4),K=m.charAt(5),tt=A.lastIndexOf(K);~tt&&(A=A.substring(0,tt).replace(new RegExp(K,"g"),V+V)+A.substring(tt))}return k+A+z}function w(x){x=x.toString();var j=x.split(this.ch_d),T=j[0].replace(this.ch_f,""),o=j[1],m=!!~j[0].indexOf(this.ch_f),a=this.ch_u.charAt(1),I=this.ch_u.charAt(4),f=this.ch_u.charAt(5);T=T.replace(new RegExp(I+"{2}","g"),f);for(var P=T.split(""),c=0,d=0,A=[],z=[],k=[],F=0;F<P.length;F++){var X=P[F],V=0,K=0;if(~(V=this.ch.indexOf(X)))V>0&&k.unshift(V);else if(~(K=this.ch_u.indexOf(X))){var tt=h.getDigit(K);c>K?(h.unshiftZero(k,tt),h.centerArray(z,k)):K>=d?(F==0&&(k=[1]),h.centerArray(A,z,k),A.length>0&&h.unshiftZero(A,tt),d=K):(k.length==0&&a==X&&(k=[1]),h.centerArray(z,k),h.unshiftZero(z,h.getDigit(K)),c=K)}}h.centerArray(A,z,k).reverse(),A.length==0&&A.push(0);var G=0;if(o){A.push("."),G="0.";for(var F=0;F<o.length;F++)G+=this.ch.indexOf(o.charAt(F)),A.push(this.ch.indexOf(o.charAt(F)));G=+G}return m&&A.unshift("-"),parseFloat(A.join(""))}function b(x,j){var T={ww:!0,complete:!1,outSymbol:!0},o=h.getNumbResult(x),m=this.ch.charAt(0);if(j=typeof j=="object"?j:{},!o)return x;j=h.extend(T,j);var a=o.num,I=o.decimal||"",f=j.outSymbol?this.m_t:"",P=I?"":this.m_z,c="";if(j.complete){for(var d=1;d<this.m_u.length;d++)c+=B.call(this,I.charAt(d-1)||"0")+this.m_u.charAt(d);P=B.call(this,a,j)+this.m_u.charAt(0)}else{if(I=I.substr(0,this.m_u.length-1),I=h.clearZero(I,"0","$"))for(var A,d=0;d<this.m_u.length-1;d++)I.charAt(d)&&I.charAt(d)!="0"&&(c+=B.call(this,I.charAt(d))+this.m_u.charAt(d+1),A=!1),I.charAt(d)!=="0"||A||(d==0&&a=="0"||(c+=m),A=!0);a=="0"&&!P&&c||(P=B.call(this,a,j)+this.m_u.charAt(0)+P)}return f+P+c}function l(x,j){return{encodeS:function(T,o){return o=h.extend({ww:!0,tenMin:!0},o),g.CL.call(x,T,o)},encodeB:function(T,o){return o=h.extend({ww:!0},o),g.CL.call(j,T,o)},decodeS:function(){return g.unCL.apply(x,arguments)},decodeB:function(){return g.unCL.apply(j,arguments)},toMoney:function(T,o){return o=h.extend({ww:!0},o),g.toMoney.call(j,T,o)}}}var h=r(function(x,j){var T=/^([+-])?0*(\d+)(\.(\d+))?$/,o=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=j.e2ten=function(I){var f=o.exec(I.toString());if(!f)return I;var P=f[2],c=f[4]||"",d=f[5]?+f[5]:0;if(d>0){var A=c.substr(0,d);A=A.length<d?A+new Array(d-A.length+1).join("0"):A,c=c.substr(d),P+=A}else{d=-d;var z=P.length-d;z=z<0?0:z;var k=P.substr(z,d);k=k.length<d?new Array(d-k.length+1).join("0")+k:k,P=P.substring(0,z),c=k+c}return P=P==""?"0":P,(f[1]=="-"?"-":"")+P+(c?"."+c:"")};j.getNumbResult=function(I){var f=T.exec(I.toString());if(!f&&o.test(I.toString())&&(f=T.exec(m(I.toString()))),f)return{int:f[2],decimal:f[4],minus:f[1]=="-",num:f.slice(1,3).join("")}},j.centerArray=function I(f,P){if(f.splice.apply(f,[0,P.length].concat(P.splice(0,P.length))),arguments.length>2){var c=[].slice.call(arguments,2);c.unshift(f),I.apply(null,c)}return f};var a=j.hasAttr=function(I,f){return Object.prototype.hasOwnProperty.call(I,f)};j.extend=function(I){for(var f,P=arguments[0]||{},c=Array.prototype.slice.call(arguments,1),d=0;d<c.length;d++){var A=c[d];for(f in A)a(A,f)&&(P[f]=A[f])}return P},j.getDigit=function(I){return I>=5?4*(I-4)+4:I},j.unshiftZero=function(I,f){if(f==null&&(f=1),!(f<=0))for(;f--;)I.unshift(0)},j.clearZero=function(I,f,P){if(I==null)return"";var c=~"*.?+$^[](){}|\\/".indexOf(f)?"\\"+f:f,d=new RegExp("^"+c+"+"),A=new RegExp(c+"+$"),z=new RegExp(c+"{2}","g");return I=I.toString(),P=="^"&&(I=I.replace(d,"")),P&&P!="$"||(I=I.replace(A,"")),P&&P!="nto1"||(I=I.replace(z,f)),I}}),g=(h.e2ten,h.getNumbResult,h.centerArray,h.hasAttr,h.extend,h.getDigit,h.unshiftZero,h.clearZero,{CL:B,unCL:w,toMoney:b}),E=l,D={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},v={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},u={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},S={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},C={s:D,b:v,hk_s:u,hk_b:S},N=function(x){this.lang=x,this.encode=function(){return g.CL.apply(x,arguments)},this.decode=function(){return g.unCL.apply(x,arguments)},this.toMoney=function(){return g.toMoney.apply(x,arguments)}};N.langs=C,N.cn=E(C.s,C.b),N.hk=E(C.hk_s,C.hk_b);var U=N;return U})})(nzh_min);const Nzh=nzh_min.exports;function defaultTypeProvider(R){return function(L){var r=function(B){B.removePrintElementTypes("defaultModule"),B.addPrintElementTypes("defaultModule",[new R.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(w,b){return"\u8FD9\u91CC\u81EA\u5B9A\u4E49\u7EDF\u8BA1\u811A\u4FE1\u606F"},columns:[[{title:"\u884C\u53F7",fixed:!0,rowspan:2,field:"id",width:70},{title:"\u4EBA\u5458\u4FE1\u606F",colspan:2},{title:"\u9500\u552E\u7EDF\u8BA1",colspan:2}],[{title:"\u59D3\u540D",align:"left",field:"name",width:100},{title:"\u6027\u522B",field:"gender",width:100},{title:"\u9500\u552E\u6570\u91CF",field:"count",width:100},{title:"\u9500\u552E\u91D1\u989D",field:"amount",width:100}]]},{tid:"defaultModule.html",title:"html",formatter:function(w,b){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new R.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:r}}}function _instanceof(R,L){return L!=null&&typeof Symbol<"u"&&L[Symbol.hasInstance]?!!L[Symbol.hasInstance](R):R instanceof L}function _typeof(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(R)}window.$=window.jQuery=$__default.default;window.autoConnect=!0;window.io=socket_ioClient.io;window.eval2=eval;var hiprint$1=function(R){var L={};function r(w){if(L[w])return L[w].exports;var b=L[w]={i:w,l:!1,exports:{}};return R[w].call(b.exports,b,b.exports,r),b.l=!0,b.exports}var B=(r.m=R,r.c=L,r.d=function(w,b,l){r.o(w,b)||Object.defineProperty(w,b,{enumerable:!0,get:l})},r.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},r.t=function(w,b){if(1&b&&(w=r(w)),8&b||4&b&&_typeof(w)=="object"&&w&&w.__esModule)return w;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:w}),2&b&&typeof w!="string")for(var h in w)r.d(l,h,function(g){return w[g]}.bind(null,h));return l},r.n=function(w){var b=w&&w.__esModule?function(){return w.default}:function(){return w};return r.d(b,"a",b),b},r.o=function(w,b){return Object.prototype.hasOwnProperty.call(w,b)},r.p="/",r(r.s=21));return B.n=r,B}([function(R,L,r){var B;r.d(L,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(B={},{on:function(b,l){B[b]||(B[b]=[]),B[b].push(l)},id:0,off:function(b,l){var h=B[b];if(h){for(var g=-1,E=0;E<h.length;E++)if(h[E]===l){g=E;break}g<0||B[b].splice(g,1)}},trigger:function(b){var l=B[b];if(l&&l.length)for(var h=Array.prototype.slice.call(arguments,1),g=0;g<l.length;g++)l[g].apply(this,h)},clear:function(b){B[b]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(b){return b+"-"+this.getId()}}),hinnn.form={serialize:function(b){var l=$__default.default(b).serializeArray(),h={};return $__default.default.each(l,function(){h[this.name]?Object.prototype.toString.call(h[this.name])=="[object Array]"?h[this.name].push(this.value):h[this.name]=[h[this.name],this.value]:h[this.name]=this.value}),h}},hinnn.pt={toPx:function(b){return b*(this.getDpi()/72)},toMm:function(b){return hinnn.px.toMm(hinnn.pt.toPx(b))},dpi:0,getDpi:function(){if(!this.dpi){var b=document.getElementById("hinnnDpi");b?this.dpi=b.offsetHeight:(b=document.createElement("DIV"),b.id="hinnnDpi",b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.pt.getDpi()" ');return this.dpi}},hinnn.px={toPt:function(b){return b*(72/this.getDpi())},toMm:function(b){return Math.round(b/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var b=document.getElementById("hinnnDpi");b?this.dpi=b.offsetHeight:(b=document.createElement("DIV"),b.id="hinnnDpi",b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.px.getDpi()" ');return this.dpi}},hinnn.mm={toPt:function(b){return 72/25.4*b},toPx:function(b){return hinnn.pt.toPx(hinnn.mm.toPt(b))}},hinnn.throttle=function(w,b,l){var h,g,E,D=null,v=0;l||(l={});var u=function(){v=l.leading===!1?0:_.now(),D=null,E=w.apply(h,g),D||(h=g=null)};return function(){var S=_.now();v||l.leading!==!1||(v=S);var C=b-(S-v);return h=this,g=arguments,C<=0||C>b?(D&&(clearTimeout(D),D=null),v=S,E=w.apply(h,g),D||(h=g=null)):D||l.trailing===!1||(D=setTimeout(u,C)),E}},hinnn.debounce=function(w,b,l){var h,g,E,D,v,u=function S(){var C=_.now()-D;C<b&&C>=0?h=setTimeout(S,b-C):(h=null,l||(v=w.apply(E,g),h||(E=g=null)))};return function(){E=this,g=arguments,D=_.now();var S=l&&!h;return h||(h=setTimeout(u,b)),S&&(v=w.apply(E,g),E=g=null),v}},hinnn.toUtf8=function(w){var b,l,h,g;for(b="",h=w.length,l=0;l<h;l++)(g=w.charCodeAt(l))>=1&&g<=127?b+=w.charAt(l):g>2047?(b+=String.fromCharCode(224|g>>12&15),b+=String.fromCharCode(128|g>>6&63),b+=String.fromCharCode(128|g>>0&63)):(b+=String.fromCharCode(192|g>>6&31),b+=String.fromCharCode(128|g>>0&63));return b},hinnn.groupBy=function(w,b,l){var h={};return w.forEach(function(g){var E=JSON.stringify(l(g));h[E]||(h[E]={rows:[]},b.forEach(function(D){h[E][D]=g[D]})),h[E].rows.push(g)}),Object.keys(h).map(function(g){return h[g]})},hinnn.orderBy=function(w,b){if(w.length<=1)return w;var l=Math.floor(w.length/2),h=w.splice(l,1)[0],g=[],E=[],D=!0,v=!1,u=void 0;try{for(var S=w[Symbol.iterator](),C;!(D=(C=S.next()).done);D=!0){var N=C.value;b(N)<b(h)?g.push(N):E.push(N)}}catch(U){v=!0,u=U}finally{try{!D&&S.return!=null&&S.return()}finally{if(v)throw u}}return this.orderBy(g,b).concat([h],this.orderBy(E,b))},hinnn.dateFormat=function(w,b){if(w)try{var l=typeof w=="string"?new Date(w):w,h={"M+":l.getMonth()+1,"d+":l.getDate(),"H+":l.getHours(),"m+":l.getMinutes(),"s+":l.getSeconds(),"q+":Math.floor((l.getMonth()+3)/3),S:l.getMilliseconds()};for(var g in/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(l.getFullYear()+"").substr(4-RegExp.$1.length))),h)new RegExp("("+g+")").test(b)&&(b=b.replace(RegExp.$1,RegExp.$1.length==1?h[g]:("00"+h[g]).substr((""+h[g]).length)));return b}catch(E){return console.log(E),""}return""},hinnn.numFormat=function(w,b){if(w!=null)try{var l=typeof w=="string"?parseFloat(w):w,h=parseInt(b);return h>0?l.toFixed(h):parseInt(l.toString())}catch(g){return console.log(g),""}return""},hinnn.toUpperCase=function(w,b){if(!Nzh)return b;var l=b;switch(w){case"0":l=Nzh.cn.encodeS(b);break;case"1":l=Nzh.cn.encodeS(b,{tenMin:!1});break;case"2":l=Nzh.cn.encodeB(b,{tenMin:!0});break;case"3":l=Nzh.cn.encodeB(b);break;case"4":l=Nzh.cn.toMoney(b,{tenMin:!0});break;case"5":l=Nzh.cn.toMoney(b);break;case"6":l=Nzh.cn.toMoney(b,{complete:!0});break;case"7":l=Nzh.cn.toMoney(b,{complete:!0,outSymbol:!1});break}return l}},function(R,L,r){r.d(L,"a",function(){return w});var B=r(9),w=function(){function b(){}return b.prototype.init=function(l){l&&$__default.default.extend(this,l)},b.prototype.register=function(l){this.init(l);var h=this,g=h.getHooks("init");g&&g.forEach(E=>{E.run({Config:h,OptionItems:B,ElementTypes:hiprint$1.ElementTypes,hinnn,hiprint:hiprint$1})})},b.prototype.getHooks=function(l){return this.pluginsList().reduce((h,g)=>h.concat(g.hooks.filter(E=>E.hook===l)),[])},b.prototype.pluginsList=function(){var l=this;return this.plugins?this.plugins.filter(h=>l.versionCheck(h)):[]},b.prototype.versionCheck=function(l){l.leastHiprintVersion.split(".").length!==3&&console.error(`[${l.name}] has a malformed leastHiprintVersion of ${l.leastHiprintVersion}. Please tell the developer to update.`);const h=b.instance.version.split("."),g=parseInt(h[0]),E=parseInt(h[1]),D=parseInt(h[2]),v=l.leastHiprintVersion.split("."),u=parseInt(v[0]),S=parseInt(v[1]),C=parseInt(v[2]);let N=!1;return g>u&&(N=!0),g===u&&E>S&&(N=!0),g===u&&E===S&&D>=C&&(N=!0),N||console.error(`Plugin [${l.name}] requires "@svelte-hiprint/hiprint" version ${l.leastHiprintVersion} and you are using ${b.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),N},b.prototype.on=function(l,h){hinnn.event.on(l,h)},b.prototype.clear=function(l){hinnn.event.clear(l)},b.prototype.registerItems=function(l){l.forEach(function(h){B.a.registerItem(new h)})},Object.defineProperty(b,"instance",{get:function(){return b._instance||(b._instance=new b,window.HIPRINT_CONFIG&&$__default.default.extend(b._instance,HIPRINT_CONFIG),b._instance.optionItems&&b._instance.optionItems.forEach(function(h){B.a.registerItem(new h)})),b._instance},enumerable:!0,configurable:!0}),b}()},function(R,L,r){var B=function(){function b(l){this.printElement=l}return b.prototype.updatePosition=function(l,h){this.left=l,this.top=h},b}();r.d(L,"a",function(){return w});var w=function(){function b(){this.printTemplateContainer={},this.A1={width:841,height:594},this.A2={width:420,height:594},this.A3={width:420,height:297},this.A4={width:210,height:297},this.A5={width:210,height:148},this.A6={width:105,height:148},this.A7={width:105,height:74},this.A8={width:52,height:74},this.B1={width:1e3,height:707},this.B2={width:500,height:707},this.B3={width:500,height:353},this.B4={width:250,height:353},this.B5={width:250,height:176},this.B6={width:125,height:176},this.B7={width:125,height:88},this.B8={width:62,height:88},this.dragLengthCNum=function(l,h){var g=.75*l;return h&&(h=h),Math.round(g/h)*h}}return Object.defineProperty(b,"instance",{get:function(){return this._instance||(this._instance=new b),this._instance},enumerable:!0,configurable:!0}),b.prototype.getDragingPrintElement=function(){return b.instance.dragingPrintElement},b.prototype.setDragingPrintElement=function(l){b.instance.dragingPrintElement=new B(l)},b.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var h=16*Math.random()|0;return(l=="x"?h:3&h|8).toString(16)})},b.prototype.imageToBase64=function(l){if($__default.default(l).attr("src").indexOf("base64")==-1)try{var h=document.createElement("canvas"),g=new Image;g.src=l.attr("src"),h.width=g.width,h.height=g.height,h.getContext("2d").drawImage(g,0,0),l.attr("src",h.toDataURL("image/png"))}catch{try{this.xhrLoadImage(l)}catch(D){console.log(D)}}},b.prototype.xhrLoadImage=function(l){},b.prototype.transformImg=function(l){var h=this;l.map(function(g,E){h.imageToBase64($__default.default(E))})},b.prototype.getPrintTemplateById=function(l){return b.instance.printTemplateContainer[l]},b.prototype.setPrintTemplateById=function(l,h){return b.instance.printTemplateContainer[l]=h},b}()},function(R,L,r){var B=function(){return function(){}}();r.d(L,"a",function(){return w});var w=function(){function b(l){l=l||{},this.left=l.left,this.top=l.top,this.topInDesign=this.top,this.height=l.height,this.width=l.width,this.transform=l.transform,this.init(l)}return b.prototype.setDefault=function(l){this.defaultOptions=l,this.initSize(),Object.keys(this.defaultOptions).forEach(h=>{this[h]=this[h]||this.defaultOptions[h]})},b.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},b.prototype.initSizeByHtml=function(l,h){this.width||this.setWidth(l),this.height||this.setHeight(h)},b.prototype.getRectInfo=function(){var l={w:0,h:0,diffW:0,diffH:0};if(this.transform){var h=this.transform*Math.PI/180,g=this.width,E=this.height,D=Math.sin(h),v=Math.cos(h),u=Math.abs(g*v)+Math.abs(E*D),S=Math.abs(g*D)+Math.abs(E*v),C=(g-u)/2,N=(E-S)/2;l.w=u,l.h=S,l.diffW=C,l.diffH=N}return l},b.prototype.getLeft=function(){return this.left},b.prototype.posLeft=function(){var l=this.left;return this.transform&&(l+=this.getRectInfo().diffW),Math.floor(l*10)/10},b.prototype.setRotate=function(l){l!=null&&(this.transform=l)},b.prototype.displayLeft=function(l){return this.transform&&l?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},b.prototype.setLeft=function(l){l!=null&&(this.left=l)},b.prototype.getTop=function(){return this.top},b.prototype.posTop=function(){var l=this.top;return this.transform&&(l+=this.getRectInfo().diffH),Math.floor(l*10)/10},b.prototype.getTopInDesign=function(){return this.topInDesign},b.prototype.displayTop=function(l){return this.transform&&l?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},b.prototype.setTop=function(l){l!=null&&(this.top=l)},b.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},b.prototype.getHeight=function(){if(this.transform){var l=this.getRectInfo();return l.h+l.diffH}return this.height},b.prototype.displayHeight=function(){return this.height+"pt"},b.prototype.setHeight=function(l){l!=null&&(this.height=l)},b.prototype.getWidth=function(){if(this.transform){var l=this.getRectInfo();return l.w+l.diffW}return this.width},b.prototype.displayWidth=function(){return this.width+"pt"},b.prototype.setWidth=function(l){l!=null&&(this.width=l)},b.prototype.getValueFromOptionsOrDefault=function(l){return this[l]==null?this.defaultOptions[l]:this[l]},b.prototype.getPrintElementOptionEntity=function(){var l=new B,h=this;return Object.keys(this).filter(function(g){return g!="topInDesign"}).forEach(function(g){if(typeof h[g]!="number"&&typeof h[g]!="string"&&!["fields"].includes(g)&&_typeof(h[g])!=_typeof(!0)||(l[g]=h[g]),g=="style"){l.style={};var E=h[g];E&&Object.keys(E).forEach(function(D){typeof E[D]!="number"&&typeof E[D]!="string"||(l.style[D]=E[D])})}}),l},b.prototype.init=function(l){var h=this;l&&Object.keys(l).forEach(function(g){h[g]=l[g]})},b}()},function(R,L,r){r.d(L,"a",function(){return E});var B=r(17),w=r(1),b=r(9),l=r(6);r(0);var h=r(8),g=r(2),E=function(){function D(v){this.printElementType=v,this.id=g.a.instance.guid()}return D.prototype.getConfigOptionsByName=function(v){return w.a.instance[v]},D.prototype.getProxyTarget=function(v){v&&this.SetProxyTargetOption(v);var u=this.getData(),S=this.createTarget(this.getTitle(),u);return this.updateTargetSize(S),this.css(S,u),S},D.prototype.SetProxyTargetOption=function(v){this.options.getPrintElementOptionEntity(),$__default.default.extend(this.options,v),this.copyFromType()},D.prototype.showInPage=function(v,u){var S=this.options.showInPage,C=this.options.unShowInPage;if(S){if(S=="first")return v==0;if(v==u-1&&C=="last")return!1;if(S=="odd")return(v!=0||C!="first")&&v%2==0;if(S=="even")return v%2==1;if(S=="last")return v==u-1}return(v!=0||C!="first")&&(v!=u-1||C!="last")},D.prototype.setTemplateId=function(v){this.templateId=v},D.prototype.setPanel=function(v){this.panel=v},D.prototype.getField=function(){return this.options.field||this.printElementType.field},D.prototype.getTitle=function(){return this.printElementType.title},D.prototype.updateSizeAndPositionOptions=function(v,u,S,C){this.options.setLeft(v),this.options.setTop(u),this.options.copyDesignTopFromTop(),this.options.setWidth(S),this.options.setHeight(C)},D.prototype.initSizeByHtml=function(v){if(v&&v.length){this.createTempContainer();var u=v.clone();this.getTempContainer().append(u),this.options.initSizeByHtml(parseInt(hinnn.px.toPt(u.width()).toString()),parseInt(hinnn.px.toPt(u.height()).toString())),this.removeTempContainer()}},D.prototype.updateTargetSize=function(v){v.css("width",this.options.displayWidth()),v.css("height",this.options.displayHeight())},D.prototype.updateTargetWidth=function(v){v.css("width",this.options.displayWidth())},D.prototype.getDesignTarget=function(v){var u=this,S=0;return this.designTarget=this.getHtml(v)[0].target,this.designPaper=v,this.designTarget.click(function(C){C.timeStamp-S>500&&hinnn.event.trigger(u.getPrintElementSelectEventKey(),{printElement:u}),S=C.timeStamp}),this.designTarget.dblclick(function(C){var N=u.designTarget.find(".hiprint-printElement-content");if(N){var U=u.designTarget.find(".resize-panel");u.printElementType.type=="text"&&!(u.options.textType&&u.options.textType!="text")&&(u._editing=!0,u.designTarget.hidraggable("update",{draggable:!1}),N.css("cursor","text"),N.addClass("editing"),u.designTarget.addClass("editing"),N.click(function(x){u._editing&&x.stopPropagation()}),N.attr("contenteditable",!0),U&&U.css("display","none"),u.selectEnd(N))}}),this.designTarget},D.prototype.selectEnd=function(v){if(v.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var u=document.createRange();u.selectNodeContents(v[0]),u.collapse(!1);var S=window.getSelection();S.removeAllRanges(),S.addRange(u)}else if(typeof document.body.createTextRange<"u"){var u=document.body.createTextRange();u.moveToElementText(v[0]),u.collapse(!1),u.select()}},D.prototype.updateByContent=function(v){var u=this,S=u.designTarget.find(".hiprint-printElement-content");if(u._editing){S&&S.css("cursor","")&&S.removeClass("editing")&&S.removeAttr("contenteditable"),u.designTarget.removeClass("editing");var C=S.text(),N=u.options.title+"\uFF1A";C.startsWith(N)&&u.options.field?C.length>N.length?u.options.testData=C.split("\uFF1A")[1]:(u.options.title=C,u.options.testData=""):u.options.title=C,v||hinnn.event.trigger(u.getPrintElementSelectEventKey(),{printElement:u}),u.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+u.templateId,"\u7F16\u8F91\u4FEE\u6539"),u._editing=!1;var U=u.options.draggable==null||u.options.draggable==!0;u.designTarget.hidraggable("update",{draggable:U})}},D.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},D.prototype.design=function(v,u){var S=this;this.designTarget.hidraggable({draggable:S.options.draggable,axis:S.options.axis?S.options.axis:void 0,designTarget:S,onDrag:function(N,U,x){var j=S.panel.printElements.filter(function(I){return I.designTarget.children().last().css("display")=="block"&&I.designTarget.children().last().hasClass("selected")&&!I.printElementType.type.includes("table")}),T=j.length>1,o=!S.designTarget.children().last().hasClass("selected");if(T){var m=U-S.options.left,a=x-S.options.top;j.forEach(function(I){I.updateSizeAndPositionOptions(m+I.options.getLeft(),a+I.options.getTop()),I.designTarget.css("left",I.options.displayLeft()),I.designTarget.css("top",I.options.displayTop()),I.createLineOfPosition(u)}),o&&(S.updateSizeAndPositionOptions(U,x),S.createLineOfPosition(u))}else S.updateSizeAndPositionOptions(U,x),S.createLineOfPosition(u);g.a.instance.changed=!0},moveUnit:"pt",minMove:w.a.instance.movingDistance,onBeforeDrag:function(N){g.a.instance.draging=!0,S.designTarget.focus(),S.createLineOfPosition(u)},getScale:function(){return S.designPaper.scale||1},onStopDrag:function(N){g.a.instance.changed&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u79FB\u52A8"),g.a.instance.draging=!1,g.a.instance.changed=!1;var U=S.panel.printElements.filter(function(x){return x.designTarget.children().last().css("display")=="block"&&!x.printElementType.type.includes("table")});U.length>1?U.forEach(function(x){x.removeLineOfPosition()}):S.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){S.removeLineOfPosition(),hinnn.event.trigger("hiprintTemplateMouseUp_"+u.templateId)},300)}),this.designTarget.hicontextMenu(S.panel.getContextMenuList(S)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,u)},D.prototype.getPrintElementEntity=function(v){return v?new B.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new B.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},D.prototype.submitOption=function(){var v=this,u=this.getConfigOptions();u&&u.tabs&&u.tabs.length?this.getPrintElementOptionTabs().forEach(function(S){S.list.forEach(function(C){var N=C.getValue(),U=C.name=="textType"&&v.options[C.name]!==N,x=C.name=="axis"&&v.options[C.name]!==N,j=C.name=="draggable"&&v.options[C.name]!==N;N&&_typeof(N)=="object"?Object.keys(N).forEach(function(T){v.options[T]=N[T]}):v.options[C.name]=N,U&&v.setResizePanel(),x&&v.designTarget.hidraggable("update",{axis:N}),j&&v.designTarget.hidraggable("update",{draggable:N})})}):this.getPrintElementOptionItems().forEach(function(S){var C=S.getValue(),N=S.name=="textType"&&v.options[S.name]!==C,U=S.name=="axis"&&v.options[S.name]!==C,x=S.name=="draggable"&&v.options[S.name]!==C;C&&_typeof(C)=="object"?Object.keys(C).forEach(function(j){v.options[j]=C[j]}):v.options[S.name]=C,N&&v.setResizePanel(),U&&v.designTarget.hidraggable("update",{axis:C}),x&&v.designTarget.hidraggable("update",{draggable:C})}),this.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},D.prototype.updateOption=function(v,u,S){try{var C=this,N=this.getConfigOptions(),U=["draggable"];N&&N.tabs&&N.tabs.length?N.tabs.forEach(function(x){x.options.forEach(function(j){U.push(j.name)})}):U=N.supportOptions.map(function(x){return x.name}),U&&U.includes(v)&&(this.options[v]=u,v=="draggable"&&C.designTarget.hidraggable("update",{draggable:u}),v=="widthHeight"&&(u.width&&(this.options.width=u.width),u.height&&(this.options.height=u.height),u.widthHeightSync&&(this.options.widthHeightSync=u.widthHeightSync)),v=="coordinate"&&(u.left&&(this.options.left=u.left),u.top&&(this.options.top=u.top),u.coordinateSync&&(this.options.coordinateSync=u.coordinateSync)),this.updateDesignViewFromOptions(),S||(hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),hinnn.event.trigger(C.getPrintElementSelectEventKey(),{printElement:C})))}catch(x){console.log("updateOption error",x)}},D.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||w.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||w.a.instance.qrcode.showPoints:this.options.showPoints||w.a.instance.text.showPoints},D.prototype.setResizePanel=function(){var v=this,u=this.designPaper;this.designTarget.hireizeable({showPoints:v.getReizeableShowPoints(),draggable:v.options.draggable,showSizeBox:w.a.instance.showSizeBox,getScale:function(){return v.designPaper.scale||1},onBeforeResize:function(){g.a.instance.draging=!0},onResize:function(C,N,U,x,j,T){T!=null?v.onRotate(C,T):v.onResize(C,N,U,x,j),v.createLineOfPosition(u)},onStopResize:function(C){hinnn.event.trigger("hiprintTemplateDataChanged_"+v.templateId,C?"\u65CB\u8F6C":"\u5927\u5C0F"),g.a.instance.draging=!1,v.removeLineOfPosition()}}),this.options.draggable==!1&&$__default.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},D.prototype.onRotate=function(v,u){this.options.setRotate(u)},D.prototype.onResize=function(v,u,S,C,N){this.updateSizeAndPositionOptions(N,C,S,u)},D.prototype.getOrderIndex=function(){return this.options.getTop()},D.prototype.getHtml=function(v,u,S){var C=0;this.setCurrenttemplateData(u);var N=[],U=this.getBeginPrintTopInPaperByReferenceElement(v),x=v.getPaperFooter(C);this.isHeaderOrFooter()||this.isFixed()||U>x&&v.panelPageRule!="none"&&(N.push(new l.a({target:void 0,printLine:void 0})),U=U-x+v.paperHeader,C++,x=v.getPaperFooter(C));var j=this.getData(u),T=this.createTarget(this.getTitle(),j,S);return this.updateTargetSize(T),this.css(T,j),T.css("position","absolute"),T.css("left",this.options.displayLeft()),T.css("top",U+"pt"),N.push(new l.a({target:T,printLine:U+this.options.getHeight(),referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:U+this.options.getHeight(),printTopInPaper:U})})),u&&this.options.pageBreak&&(N[0].target.css("top",v.paperHeader+"pt"),N[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-v.paperHeader,N[0].printLine=v.paperHeader,N[0].referenceElement.bottomInLastPaper=0,N[0].referenceElement.printTopInPaper=v.paperHeader,N.unshift(new l.a({target:T,printLine:v.height,referenceElement:new h.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:v.index,bottomInLastPaper:v.height,printTopInPaper:v.paperHeader})}))),N},D.prototype.getHtml2=function(v,u,S){var C=0;this.setCurrenttemplateData(u);var N=[],U=this.getBeginPrintTopInPaperByReferenceElement(v),x=v.getPaperFooter(C);this.isHeaderOrFooter()||this.isFixed()||(v.panelPageRule!="none"&&U>x&&(N.push(new l.a({target:void 0,printLine:void 0})),U=U-x+v.paperHeader,C++,x=v.getPaperFooter(C)),U<=x&&U+this.options.getHeight()>x&&v.panelPageRule!="none"&&(N.push(new l.a({target:void 0,printLine:void 0})),U=v.paperHeader,C++,x=v.getPaperFooter(C)));var j=this.getData(u),T=this.createTarget(this.getTitle(),j);return v.panelPageRule=="none"&&U+this.options.getHeight()>x&&this.updatePanelHeight(U+this.options.getHeight(),v),this.updateTargetSize(T),this.css(T,j),T.css("position","absolute"),T.css("left",this.options.displayLeft()),T.css("top",U+"pt"),N.push(new l.a({target:T,printLine:U+this.options.getHeight(),referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:U+this.options.getHeight(),printTopInPaper:U})})),u&&this.options.pageBreak&&(N[0].target.css("top",v.paperHeader+"pt"),N[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-v.paperHeader,N[0].printLine=v.paperHeader,N[0].referenceElement.bottomInLastPaper=0,N[0].referenceElement.printTopInPaper=v.paperHeader,N.unshift(new l.a({target:T,printLine:v.height,referenceElement:new h.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:v.index,bottomInLastPaper:v.height,printTopInPaper:v.paperHeader})}))),N},D.prototype.updatePanelHeight=function(v,u){if(this.panel.panelPageRule=="none"){var S=hinnn.pt.toMm(v);u.paperFooter=v,u.target.css("height",S+"mm"),u.target.attr("original-height",S)}},D.prototype.getBeginPrintTopInPaperByReferenceElement=function(v){var u=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?u:v.referenceElement.isPositionLeftOrRight(u)?v.referenceElement.printTopInPaper+(u-v.referenceElement.top):v.referenceElement.bottomInLastPaper+(u-(v.referenceElement.top+v.referenceElement.height))},D.prototype.css=function(v,u){var S=this,C=this.getConfigOptions();if(C){var N;C.tabs&&C.tabs.length?(N=[],C.tabs.forEach(function(U){N=N.concat(U.options)})):N=C.supportOptions,N&&N.forEach(function(U){var x=b.a.getItem(U.name);x&&x.css&&x.css(v,S.options.getValueFromOptionsOrDefault(U.name))})}this.stylerCss(v,u)},D.prototype.stylerCss=function(v,u){var S=this.getStyler();if(S){var C=S(u,this.options,v,this._currenttemplateData);C&&Object.keys(C).forEach(function(N){v.css(N,C[N])})}},D.prototype.getData=function(v){var u=this.getField();return v?u&&u.split(".").reduce((S,C)=>S?S[C]:v?v[C]:"",!1)||"":this.printElementType.getData()},D.prototype.copyFromType=function(){var v=this.options,u=this.printElementType,S=this.getConfigOptions(),C=[];return S&&S.tabs&&S.tabs.length?S.tabs.forEach(function(N){N.options.forEach(function(U){C.push(U.name)})}):C=S.supportOptions.map(function(N){return N.name}),Object.keys(u).forEach(function(N){u[N]&&N!="columns"&&C.indexOf(N)>-1&&(v[N]=_typeof(u[N])=="function"?u[N].toString():u[N])}),v},D.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var v=[],u=this.getConfigOptions();if(u){var S=u.tabs;S&&S.forEach(function(C,N){v.push({name:C.name,list:[]}),C.options.filter(function(U){return!U.hidden}).forEach(function(U){var x=b.a.getItem(U.name);v[N].list.push(x)})})}return this._printElementOptionTabs=v,this._printElementOptionItems=void 0,this._printElementOptionTabs},D.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var v=[],u=this.getConfigOptions();if(u){var S;u.tabs&&u.tabs.length?(S=[],u.tabs.forEach(function(C){C=C.concat(C.options)})):S=u.supportOptions,S&&S.filter(function(C){return!C.hidden}).forEach(function(C){var N=b.a.getItem(C.name);v.push(N)})}return this._printElementOptionItems=this.filterOptionItems(v.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},D.prototype.getPrintElementOptionItemsByName=function(v){var u=[],S=this.getConfigOptionsByName(v);if(S){var C;S.tabs&&S.tabs.length?(C=[],S.tabs.forEach(function(N){C=C.concat(N.options)})):C=S.supportOptions,C&&C.filter(function(N){return!N.hidden}).forEach(function(N){var U=b.a.getItem(N.name);u.push(U)})}return u.concat()},D.prototype.filterOptionItems=function(v){return this.printElementType.field?v.filter(function(u){return u.name!="field"}):v},D.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").append($__default.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},D.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},D.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},D.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},D.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},D.prototype.setCurrenttemplateData=function(v){this._currenttemplateData=v},D.prototype.isFixed=function(){return this.options.fixed},D.prototype.onRendered=function(v,u){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(u,this.options,v.getTarget())},D.prototype.createLineOfPosition=function(v){var u=$__default.default(".toplineOfPosition.id"+this.id),S=$__default.default(".topPosition.id"+this.id),C=$__default.default(".leftlineOfPosition.id"+this.id),N=$__default.default(".leftPosition.id"+this.id),U=$__default.default(".rightlineOfPosition.id"+this.id),x=$__default.default(".bottomlineOfPosition.id"+this.id),j=w.a.instance;if(u.length)u.css("top",this.options.displayTop(!0));else{var u=$__default.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');u.css("top",this.options.displayTop(!0)),u.css("width",v.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(u)}if(j.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),S.length)S.toggleClass("topPosition-lineMode",j.positionLineMode),S.text(this.options.posTop()+(j.positionUnit?"pt":"")),S.css("top",this.options.posTop()-S.height()+"pt"),j.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt");else{var S=$__default.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');S.toggleClass("topPosition-lineMode",j.positionLineMode),S.text(this.options.posTop()+(j.positionUnit?"pt":"")),j.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(S),S.css("top",this.options.posTop()-S.height()+"pt")}if(C.length)C.css("left",this.options.displayLeft(!0));else{var T=$__default.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');T.css("left",this.options.displayLeft(!0)),T.css("height",v.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(T)}if(j.showPosition)if(N.length)N.text(this.options.posLeft()+(j.positionUnit?"pt":"")),N.toggleClass("leftPosition-lineMode",j.positionLineMode),N.css("left",this.options.posLeft()-N.width()+"pt"),j.positionLineMode?N.css("top",this.options.posTop()-N.height()/3+"pt"):N.css("top",this.options.posTop()+2+"pt");else{var N=$__default.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');N.text(this.options.posLeft()+(j.positionUnit?"pt":"")),N.toggleClass("leftPosition-lineMode",j.positionLineMode),j.positionLineMode?N.css("top",this.options.posTop()-N.height()/3+"pt"):N.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(N),N.css("left",this.options.posLeft()-N.width()+"pt")}if(U.length)U.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var o=$__default.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),o.css("height",v.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(x.length)x.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var m=$__default.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');m.css("top",this.options.getTop()+this.options.getHeight()+"pt"),m.css("width",v.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}},D.prototype.removeLineOfPosition=function(){$__default.default(".toplineOfPosition.id"+this.id).remove(),$__default.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),$__default.default(".leftlineOfPosition.id"+this.id).remove(),$__default.default(".leftPosition.id"+this.id).remove(),$__default.default(".rightlineOfPosition.id"+this.id).remove(),$__default.default(".bottomlineOfPosition.id"+this.id).remove()},D.prototype.getFontList=function(){var v=this.options.fontList;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getFontList())},D.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var v=this.options.fields;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getFields())},D.prototype.getOnImageChooseClick=function(){var v=this.options.onImageChooseClick;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},D.prototype.bingCopyEvent=function(v){var u=this;v.keydown(function(S){if(u._editing&&!S.altKey&&S.keyCode==13){u.updateByContent();return}(S.ctrlKey||S.metaKey)&&S.keyCode==67&&(u.panel.copyJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==68&&(u.panel.copyJson(),u.panel.pasteJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==88&&(u.panel.cutJson(),S.preventDefault())})},D.prototype.clone=function(v){var u=this;let S=u.printElementType.createPrintElement();return Object.keys(u.options).forEach(function(C){S.options[C]=u.options[C]}),S},D.prototype.getFormatter=function(){var v=void 0;if(this.printElementType.formatter&&(v=this.printElementType.formatter),this.options.formatter)try{var u="formatter="+this.options.formatter;v=eval2(u)}catch(S){console.log(S)}return v},D.prototype.getStyler=function(){var v=void 0;if(this.printElementType.styler&&(v=this.printElementType.styler),this.options.styler)try{var u="fnstyler="+this.options.styler;v=eval2(u)}catch(S){console.log(S)}return v},D.prototype.bingKeyboardMoveEvent=function(v,u){var S=this,C=void 0,N=void 0;v.attr("tabindex","1"),v.keydown(function(U){if(U.target.tagName!="INPUT"&&!(S._editing&&!U.altKey)&&S.options.draggable!==!1){var x=S.panel.printElements.filter(function(m){return m.designTarget.children().last().css("display")=="block"&&!m.printElementType.type.includes("table")}),j=x.length>1,T=w.a.instance.movingDistance;switch(U.keyCode){case 8:case 46:var o=S.panel;j?x.forEach(function(m){o.deletePrintElement(m)}):o.deletePrintElement(S),hinnn.event.trigger("clearSettingContainer");break;case 37:C=S.options.getLeft(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0-T,0)}):(S.updateSizeAndPositionOptions(C-T),v.css("left",S.options.displayLeft())),U.preventDefault();break;case 38:N=S.options.getTop(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0,0-T)}):(S.updateSizeAndPositionOptions(void 0,N-T),v.css("top",S.options.displayTop())),U.preventDefault();break;case 39:C=S.options.getLeft(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(T,0)}):(S.updateSizeAndPositionOptions(C+T),v.css("left",S.options.displayLeft())),U.preventDefault();break;case 40:N=S.options.getTop(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0,T)}):(S.updateSizeAndPositionOptions(void 0,N+T),v.css("top",S.options.displayTop())),U.preventDefault()}[37,38,39,40].includes(U.keyCode)&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u952E\u76D8\u79FB\u52A8")}})},D.prototype.inRect=function(v){var u=this.designPaper.scale||1,S=this.designTarget[0].offsetLeft,C=this.designTarget[0].offsetTop,N=this.designTarget[0].offsetHeight,U=this.designTarget[0].offsetWidth,x=S+U,j=C+N,T=$__default.default(v.target[0]).position().left/u,o=$__default.default(v.target[0]).position().top/u,m=v.target[0].offsetHeight,a=v.target[0].offsetWidth,I=T+a,f=o+m;return T<x&&I>S&&C<f&&j>o},D.prototype.multipleSelect=function(v){v?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},D.prototype.updatePositionByMultipleSelect=function(v,u){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(v+this.options.getLeft(),u+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},D}()},function(R,L,r){var B=function(){function x(){}return x.prototype.init=function(j){this.target=$__default.default('<input type="text" class="hitable-editor-text" value="" />'),j.getTarget().append(this.target),this.target.focus()},x.prototype.getValue=function(){return this.target.val()},x.prototype.setValue=function(j){this.target.val(j)},x.prototype.destroy=function(){this.target.remove()},x}(),w=function(){function x(){this.text=new B}return Object.defineProperty(x,"Instance",{get:function(){return x._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x}(),b=function(){function x(){}return x.prototype.init=function(j,T){var o=`<select class="auto-submit" style="width:100%">
6
+ <option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;j.forEach(function(m,a){m.field==T.field?o+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":o+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),o+=" </select>",this.target=$__default.default(o),T.getTarget().append(this.target),this.target.focus()},x.prototype.getValue=function(){var j=this.target.val(),T=this.target.find('option[value="'+j+'"]').text();return T+"#"+j},x.prototype.setValue=function(j){j&&(this.target.find('option[value="'+j+'"]').length||this.target.find("select").prepend('<option value="'+j+'" >'+j+"</option>")),this.target.find("select").val(j)},x.prototype.destroy=function(){this.target.remove()},x}(),l=function(){function x(){this.select=new b}return Object.defineProperty(x,"Instance",{get:function(){return x._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x}(),h=function(){function x(){}return Object.defineProperty(x,"Instance",{get:function(){return w._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x.prototype.createEditor=function(j){return $__default.default.extend({},w.Instance[j])},x.prototype.createSelect=function(j){return $__default.default.extend({},l.Instance[j])},x}(),g=r(10),E=r(14),D=r(11),v=function(){function x(){}return x.prototype.init=function(j,T){var o=this;this.tableOptions=T,this.title=j.title,this.field=j.field,j.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){j.isEditing=!0,o.beginEdit(j)})},x.prototype.getDisplayHtml=function(){return this.title},x.prototype.beginEdit=function(j){var T=this;T.tableOptions.options.fields&&T.tableOptions.options.fields.length?(this.editor=h.Instance.createSelect("select"),j.getTarget().html(""),this.editor.init(T.tableOptions.options.fields,j),this.editor.setValue(this.field||""),$__default.default(this.editor.target).keydown(function(o){o.keyCode==13&&T.endEdit(j)}),$__default.default(this.editor.target).change(function(o){T.endEdit(j)}),$__default.default(this.editor.target).blur(function(o){T.endEdit(j)})):(this.editor=h.Instance.createEditor("text"),j.getTarget().html(""),this.editor.init(j),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),$__default.default(this.editor.target).keydown(function(o){o.keyCode==13&&T.endEdit(j)}),$__default.default(this.editor.target).blur(function(o){T.endEdit(j)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=j.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=j)},x.prototype.endEdit=function(j){j.isEditing=0;var T=this.editor.getValue();if(T)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=T.split("#");j.title=this.title=o[0],o.length>0&&(j.columnId=j.field=this.field=o[1]),j.id&&j.target.attr("id",j.id),j.columnId&&j.target.attr("column-id",j.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else j.title=this.title=T;else this.tableOptions.options.isEnableEditField?(j.title=this.title="",j.field=this.field=""):j.title=this.title="";this.editor.destroy(),j.getTarget().html(this.title)},x}(),u=function(){return function(x){this.title=x.title,this.field=x.field,this.width=x.width,this.align=x.align,this.halign=x.halign,this.vAlign=x.vAlign,this.colspan=x.colspan,this.rowspan=x.rowspan,this.checked=x.checked,this.columnId=x.columnId,this.tableSummaryTitle=x.tableSummaryTitle,this.tableSummaryText=x.tableSummaryText,this.tableSummaryColspan=x.tableSummaryColspan,this.tableSummary=x.tableSummary,this.tableSummaryAlign=x.tableSummaryAlign,this.tableSummaryNumFormat=x.tableSummaryNumFormat,this.tableSummaryFormatter=x.tableSummaryFormatter,this.upperCase=x.upperCase,this.renderFormatter=x.renderFormatter&&x.renderFormatter.toString(),this.formatter2=x.formatter2&&x.formatter2.toString(),this.styler2=x.styler2&&x.styler2.toString(),this.stylerHeader=x.stylerHeader&&x.stylerHeader.toString(),this.tableColumnHeight=x.tableColumnHeight,this.tableTextType=x.tableTextType,this.tableBarcodeMode=x.tableBarcodeMode,this.tableQRCodeLevel=x.tableQRCodeLevel}}(),S=function(){function x(){this.id=D.a.createId()}return x.prototype.init=function(j,T,o,m){this.isHead=m,this.rowId=o,this.isEditing=!1;var a=/^[0-9]*$/;this.target=j,this.tableOptions=T;var I=this.target.attr("colspan");this.colspan=a.test(I)?parseInt(I):1;var f=this.target.attr("rowspan");this.rowspan=a.test(f)?parseInt(f):1,this.initEvent(),this.isHead&&this.initInnerEelement()},x.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var j=this.getValue();this.editor=h.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(j)}},x.prototype.endEdit=function(){this.isEditing=!1;var j=this.editor.getValue();this.editor.destroy(),this.target.html(j)},x.prototype.getTarget=function(){return this.target},x.prototype.getValue=function(){return this.target.html()},x.prototype.setValue=function(j){},x.prototype.initInnerEelement=function(){this.innerElement=new v,this.innerElement.init(this,this.tableOptions)},x.prototype.initEvent=function(){},x.prototype.isXYinCell=function(j,T){var o=new g.b({x:j,y:T,height:0,width:0});return this.isOverlap(o)},x.prototype.getTableRect=function(){return new g.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},x.prototype.isOverlap=function(j){var T=this.getTableRect();return j.x+j.width>T.x&&T.x+T.width>j.x&&j.y+j.height>T.y&&T.y+T.height>j.y},x.prototype.isInRect=function(j){var T=j.rect,o=this.getTableRect();if(o.x>=T.x&&o.x+o.width<=T.x+T.width&&o.y>=T.y&&o.y+o.height<=T.y+T.height){var m=E.a.mergeRect(T,o);return JSON.stringify(T)==JSON.stringify(m)||(j.changed=!0,j.rect=m,!0)}return!1},x.prototype.isSelected=function(){return this.target.hasClass("selected")},x.prototype.select=function(){this.target.addClass("selected")},x.prototype.isHeader=function(){return!1},x.prototype.setAlign=function(j){this.align=j,j?this.target.css("text-align",j):this.target[0].style.textAlign=""},x.prototype.setVAlign=function(j){this.vAlign=j,j?this.target.css("vertical-align",j):this.target[0].style.verticalAlign=""},x.prototype.getEntity=function(){return new u(this)},x}();r.d(L,"a",function(){return U});var C,N=(C=function(j,T){return(C=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(o,m){o.__proto__=m}||function(o,m){for(var a in m)m.hasOwnProperty(a)&&(o[a]=m[a])})(j,T)},function(x,j){function T(){this.constructor=x}C(x,j),x.prototype=j===null?Object.create(j):(T.prototype=j.prototype,new T)}),U=function(x){function j(T){var o=this;return T=T||{},(o=x.call(this)||this).width=T.width?parseFloat(T.width.toString()):100,o.title=T.title,o.descTitle=T.descTitle,o.field=T.field,o.fixed=T.fixed,o.rowspan=T.rowspan?parseInt(T.rowspan):1,o.colspan=T.colspan?parseInt(T.colspan):1,o.align=T.align,o.halign=T.halign,o.vAlign=T.vAlign,o.formatter=T.formatter,o.styler=T.styler,o.renderFormatter=T.renderFormatter,o.formatter2=T.formatter2,o.styler2=T.styler2,o.stylerHeader=T.stylerHeader,o.checkbox=T.checkbox,o.checked=T.checked!=0,o.columnId=T.columnId||T.field,o.tableColumnHeight=T.tableColumnHeight,o.tableTextType=T.tableTextType,o.tableBarcodeMode=T.tableBarcodeMode,o.tableQRCodeLevel=T.tableQRCodeLevel,o.tableSummaryTitle=T.tableSummaryTitle,o.tableSummaryText=T.tableSummaryText,o.tableSummaryColspan=T.tableSummaryColspan,o.tableSummary=T.tableSummary,o.tableSummaryAlign=T.tableSummaryAlign,o.tableSummaryNumFormat=T.tableSummaryNumFormat,o.tableSummaryFormatter=T.tableSummaryFormatter,o.upperCase=T.upperCase,o}return N(j,x),j.prototype.css=function(T){},j}(S)},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(w){this.printLine=w.printLine,this.target=w.target,this.referenceElement=w.referenceElement}}()},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,"a",function(){return TableExcelHelper});var _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(19),_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),TableExcelHelper=function(){function TableExcelHelper(){}return TableExcelHelper.createTableHead=function(R,L){for(var r=TableExcelHelper.reconsitutionTableColumnTree(R),B=$__default.default("<thead></thead>"),w=TableExcelHelper.getColumnsWidth(r,L),b=function(g){var E=$__default.default("<tr></tr>");r[g].filter(function(D){return D.checked}).forEach(function(D){var v=$__default.default("<td></td>");D.id&&v.attr("id",D.id),D.columnId&&v.attr("column-id",D.columnId),(D.align||D.halign)&&v.css("text-align",D.halign||D.align),D.vAlign&&v.css("vertical-align",D.vAlign),D.colspan>1&&v.attr("colspan",D.colspan),D.rowspan>1&&v.attr("rowspan",D.rowspan),v.html(D.title),w[D.id]?(D.hasWidth=!0,D.targetWidth=w[D.id],v.attr("haswidth","haswidth"),v.css("width",w[D.id]+"pt")):D.hasWidth=!1;var u=TableExcelHelper.getHeaderStyler(D);if(u){var S=u(D);S&&Object.keys(S).forEach(function(C){v.css(C,S[C])})}E.append(v)}),B.append(E)},l=0;l<r.totalLayer;l++)b(l);return TableExcelHelper.syncTargetWidthToOption(R),B},TableExcelHelper.createTableFooter=function(R,L,r,B,w,b){var l=$__default.default("<tfoot></tfoot>"),h=this.getFooterFormatter(r,B),g=this.tableSummaryTitle;let E=r.tableFooterRepeat=="last"?L:b,D=r.columns.length-1;var v=this.rowColumns||r.columns[D].columns;if(r.tableFooterRepeat!="no"&&v.some(function(S){return S.tableSummary})){var u=$__default.default("<tr></tr>");v.filter(function(S){return S.checked}).forEach(function(S){var C=E.filter(function(k){return k&&k[S.field]}).map(function(k){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(k[S.field])?Number(k[S.field]):0}),N=S.tableSummaryText,U=S.tableSummaryNumFormat||2,x=`text-align: ${S.tableSummaryAlign||"center"}`,j=S.tableSummaryColspan==null?1:S.tableSummaryColspan,T=S.upperCase;let{toUpperCase:o,numFormat:m}=_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a;var a=TableExcelHelper.getColumnTableSummaryFormatter(S),I=a?a(S,C,L,r):"";if(I){u.append(I);return}switch(S.tableSummary){case"count":var z=g(S,N||"\u8BA1\u6570:",w),f=o(T,E.filter(k=>k).length||0);u.append(`<td style="${x}" colspan="${j}">${z}${f}</td>`);break;case"sum":var P=parseFloat(Number(C.reduce(function(k,F){return k+F},0)));P=o(T,m(P,U));var z=g(S,N||"\u5408\u8BA1:",w);u.append(`<td style="${x}" colspan="${j}">${z}${P}</td>`);break;case"avg":var P=parseFloat(Number(C.reduce(function(k,F){return k+F},0))),c=parseFloat(Number(P/(C.length||1)));c=o(T,m(c,U));var z=g(S,N||"\u5E73\u5747\u503C:",w);u.append(`<td style="${x}" colspan="${j}">${z}${c}</td>`);break;case"min":var d=Math.min(...C);d==1/0&&(d=0),d=o(T,m(d,U));var z=g(S,N||"\u6700\u5C0F\u503C:",w);u.append(`<td style="${x}" colspan="${j}">${z}${d||0}</td>`);break;case"max":var A=Math.max(...C);A==-1/0&&(A=0);var z=g(S,N||"\u6700\u5927\u503C:",w);A=o(T,m(A,U)),u.append(`<td style="${x}" colspan="${j}">${z}${A||0}</td>`);break;case"text":u.append(`<td style="${x}" colspan="${j}">${N||""}</td>`);break;default:j>=1&&u.append(`<td style="${x}" colspan="${j}">${N||""}</td>`);break}}),l.append(u)}return h&&l.append(h(r,L,w,b)),l},TableExcelHelper.tableSummaryTitle=function(R,L,r){var B=R.tableSummaryTitle==null||R.tableSummaryTitle==!0;return B?`${L}`:r?"":`<span style="color:firebrick">${L}</span>`},TableExcelHelper.createTableRow=function(R,L,r,B,w){var b=this,l=TableExcelHelper.reconsitutionTableColumnTree(R),h=$__default.default("<tbody></tbody>"),g=b.getGroupFieldsFormatter(B,w),E=g?B.groupFields=g(w,B,L):w.groupFields?w.groupFields:[];return L||(L=[]),E.length?_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a.groupBy(L,E,function(D){var v={};return E.forEach(function(u){return v[u]=D[u]}),v}).forEach(function(D){var v=b.getGroupFormatter(B,w);if(v){var u=$__default.default("<tr></tr>");u.append(v(l.colspan,L,r,D,B)),h.append(u)}var S=b.getGroupFooterFormatter(B,w),C=D;if(C.rows.forEach(function(U,x){var j=TableExcelHelper.createRowTarget(l,U,B,w,x,C.rows,r);h.append(j)}),S){var N=$__default.default("<tr></tr>");N.append(S(l.colspan,L,r,D,B)),h.append(N)}}):L.forEach(function(D,v){var u=TableExcelHelper.createRowTarget(l,D,B,w,v,u,r);h.append(u)}),h},TableExcelHelper.createRowTarget=function(R,L,r,B,w,b,l){var h=$__default.default("<tr></tr>"),g=R.rowColumns.filter(function(v){return v.checked});h.data("rowData",L),R.rowColumns.filter(function(v){return v.checked}).forEach(function(v,u){if(!!v.checked){var S="";if(r.rowsColumnsMerge){S=eval2("rowsColumnsMerge="+r.rowsColumnsMerge);var C=S(L,v,u,w,b,l)||[1,1],N=$__default.default(`<td style = 'display:${C[0]&&C[1]?"":"none"}' rowspan = '${C[0]}' colspan = '${C[1]}'></td>`)}else var N=$__default.default("<td></td>");if(L&&Object.keys(L).length>0&&(r.tableHeaderRepeat=="first"||r.tableHeaderRepeat=="none")){if(v.field&&N.attr("field",v.field),v.align&&N.css("text-align",v.align),v.vAlign&&N.css("vertical-align",v.vAlign),r.rowsColumnsMerge&&C[1]>1){var U=0;g.forEach((P,c)=>{c>=u&&c<u+C[1]&&(U+=P.width)})}N.css("width",(U||v.width)+"pt")}else v.field&&N.attr("field",v.field),v.align&&N.css("text-align",v.align),v.vAlign&&N.css("vertical-align",v.vAlign);var x=TableExcelHelper.getColumnFormatter(v),j=x?x(L[v.field],L,u,r):L[v.field],T=TableExcelHelper.getColumnRenderFormatter(v);if(T)N.html(T(L[v.field],L,u,r,w));else if(v.tableTextType=="text"||v.tableTextType==null)N.html(j);else{if(v.tableTextType=="barcode"){N.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{j?(JsBarcode__default.default(N.find(".hibarcode_imgcode")[0],j,{format:v.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),N.find(".hibarcode_imgcode").attr("height",v.tableColumnHeight||30+"pt"),N.find(".hibarcode_imgcode").css("margin","5pt 10pt"),N.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):N.html("")}catch(P){console.log(P),N.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(v.tableTextType=="image"&&(N.html(""),j)){var o=$__default.default('<div><img style = "max-width:100%;max-height:100%"/></div>');o.find("img").attr("src",j),console.log(o.find("img").css("width")),N.html(o)}if(v.tableTextType=="qrcode"){N.html("");try{var m=$__default.default("<div></div>");if(j){var a=parseInt(v.width||v.targetWidth||20),I=parseInt(v.tableColumnHeight||20);m.css("height",(a>I?I:a)+"pt"),new QRCode(m[0],{width:a>I?I:a,height:a>I?I:a,colorDark:"#000000",useSVG:!0,correctLevel:v.tableQRCodeLevel||0}).makeCode(j),N.html(m)}}catch(P){console.log(P),N.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}v.tableTextType==="sequence"&&N.html(w+1)}var f=TableExcelHelper.getColumnStyler(v);if(f){var a=f(L[v.field],L,u,r);a&&Object.keys(a).forEach(function(c){N.css(c,a[c])})}h.append(N)}});var E=TableExcelHelper.getRowStyler(r,B);if(E){var D=E(L,r);D&&Object.keys(D).forEach(function(v){h.css(v,D[v])})}return h},TableExcelHelper.createEmptyRowTarget=function(R,L){var r=TableExcelHelper.reconsitutionTableColumnTree(R),B=$__default.default("<tr></tr>");return r.rowColumns.filter(function(w){return w.checked}).forEach(function(w,b){var l=$__default.default("<td></td>");w.field&&l.attr("field",w.field),w.align&&l.css("text-align",w.align),w.vAlign&&l.css("vertical-align",w.vAlign),B.append(l)}),L&&L.options.tableBodyRowHeight&&B.find("td:not([rowspan])").css("height",L.options.tableBodyRowHeight+"pt"),B},TableExcelHelper.getColumnsWidth=function(R,L){var r={},B=TableExcelHelper.allAutoWidth(R),w=TableExcelHelper.allFixedWidth(R);return R.rowColumns.filter(function(b){return b.checked}).forEach(function(b){if(b.fixed)r[b.id]=b.width;else{var l=L-w,h=b.width/B*(l>0?l:0);r[b.id]=h}}),r},TableExcelHelper.resizeTableCellWidth=function(R,L,r){var B=TableExcelHelper.reconsitutionTableColumnTree(L),w=TableExcelHelper.getColumnsWidth(B,r);R.find("thead tr td[haswidth]").map(function(b,l){var h=$__default.default(l).attr("id"),g=w[h];$__default.default(l).css("width",g+"pt")})},TableExcelHelper.allAutoWidth=function(R){var L=0,r={};return R.rowColumns.filter(function(B){return B.checked}).forEach(function(B){r[B.id]?r[B.id]=0:r[B.id]=B.width,L+=B.fixed?0:r[B.id]}),L},TableExcelHelper.allFixedWidth=function(R){var L=0,r={};return R.rowColumns.filter(function(B){return B.checked}).forEach(function(B){r[B.id]?r[B.id]=0:r[B.id]=B.width,L+=B.fixed?r[B.id]:0}),L},TableExcelHelper.reconsitutionTableColumnTree=function(R,L,r){var B=L||new _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__.a;B.colspan=0;for(var w=function(h){B.totalLayer=h+1,B[h]=R[h].columns,h==0&&R[h].columns.forEach(function(g){h==0&&(B.colspan+=g.colspan)})},b=0;b<R.length;b++)w(b);return B.rowColumns=TableExcelHelper.getOrderdColumns(B),B},TableExcelHelper.syncTargetWidthToOption=function(R){R.forEach(function(L){L.columns.forEach(function(r){r.hasWidth&&(r.width=r.targetWidth)})})},TableExcelHelper.getGroupFieldsFormatter=function(R,L){var r=void 0;if(L.groupFields&&L.groupFields.length){var B=typeof L.groupFields=="string"?L.groupFields:JSON.stringify(L.groupFields);R.groupFieldsFormatter="function(groupData,options){ return "+B+" }"}if(L.groupFieldsFormatter&&(r=L.groupFieldsFormatter),R.groupFieldsFormatter)try{var w="groupFieldsFormatter="+R.groupFieldsFormatter;r=eval2(w)}catch(b){console.log(b)}return r},TableExcelHelper.getGroupFormatter=function(R,L){var r=void 0;if(L.groupFormatter&&(r=L.groupFormatter),R.groupFormatter)try{var B="groupFormatter="+R.groupFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getGroupFooterFormatter=function(R,L){var r=void 0;if(L.groupFooterFormatter&&(r=L.groupFooterFormatter),R.groupFooterFormatter)try{var B="groupFooterFormatter="+R.groupFooterFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getFooterFormatter=function(R,L){var r=void 0;if(L.footerFormatter&&(r=L.footerFormatter),R.footerFormatter)try{var B="footerFormatter="+R.footerFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getRowStyler=function(R,L){var r=void 0;if(L.rowStyler&&(r=L.rowStyler),R.rowStyler)try{var B="rowStyler="+R.rowStyler;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getColumnTableSummaryFormatter=function(column){var tableSummaryFormatter=void 0;if(column.tableSummaryFormatter&&(tableSummaryFormatter=column.tableSummaryFormatter),column.tableSummaryFormatter)try{var s="tableSummaryFormatter="+column.tableSummaryFormatter;eval(s)}catch(R){console.log(R)}return tableSummaryFormatter},TableExcelHelper.getColumnStyler=function(R){var L=void 0;if(R.styler&&(L=R.styler),R.styler2)try{var r="styler="+R.styler2;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getHeaderStyler=function(R){var L=void 0;if(R.stylerHeader&&(L=R.stylerHeader),R.stylerHeader)try{var r="stylerHeader="+R.stylerHeader;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getColumnRenderFormatter=function(R){var L=void 0;if(R.renderFormatter&&(L=R.renderFormatter),R.renderFormatter)try{var r="renderFormatter="+R.renderFormatter;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getColumnFormatter=function(R){var L=void 0;if(R.formatter&&(L=R.formatter),R.formatter2)try{var r="formatter="+R.formatter2;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getOrderdColumns=function(R){let L={};for(let B=0;B<R.totalLayer;B++)L[B]=[],R[B].forEach((w,b)=>{L[B].push(...new Array(w.colspan).fill({...w,colspan:1}))});for(let B=0;B<R.totalLayer;B++)L[B].forEach((w,b)=>{for(let l=1;l<w.rowspan;l++)L[B+l].splice(b,0,{...w,rowspan:1})});let r=[];for(let B=0;B<R.totalLayer;B++)B>=R.totalLayer-1?L[B].forEach((w,b)=>{w.field||(w.field=r[b])}):L[B].forEach((w,b)=>{B==0?r.push(w.field||""):w.field&&(r[b]=w.field)});return this.rowColumns=L[R.totalLayer-1],L[R.totalLayer-1]},TableExcelHelper}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(b){this.top=b.top,this.left=b.left,this.height=b.height,this.width=b.width,this.bottomInLastPaper=b.bottomInLastPaper,this.beginPrintPaperIndex=b.beginPrintPaperIndex,this.printTopInPaper=b.printTopInPaper,this.endPrintPaperIndex=b.endPrintPaperIndex}return w.prototype.isPositionLeftOrRight=function(b){return this.top<=b&&this.top+this.height>b},w}()},function(R,L,r){var B=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("line-height",H+"pt"),"line-height:"+H+"pt";t[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
7
7
  <div class="hiprint-option-item-label">
8
8
  \u5B57\u4F53\u884C\u9AD8
9
9
  </div>
@@ -53,15 +53,15 @@
53
53
  <option value="36" >36pt</option>
54
54
  </select>
55
55
  </div>
56
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),B=function(){function o(){this.name="fontFamily"}return o.prototype.createTarget=function(e){var C=void 0;if(e&&(C=e.getFontList()),C){var Q=` <div class="hiprint-option-item hiprint-option-item-row">
56
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),w=function(){function n(){this.name="fontFamily"}return n.prototype.createTarget=function(t){var H=void 0;if(t&&(H=t.getFontList()),H){var Y=` <div class="hiprint-option-item hiprint-option-item-row">
57
57
  <div class="hiprint-option-item-label">
58
58
  \u5B57\u4F53
59
59
  </div>
60
60
  <div class="hiprint-option-item-field">
61
61
  <select class="auto-submit">
62
- <option value="" >\u9ED8\u8BA4</option>`;C.forEach(function(at,ht){Q+=' <option value="'+(at.value||"")+'" >'+(at.title||"")+"</option>"}),Q+=` </select>
62
+ <option value="" >\u9ED8\u8BA4</option>`;H.forEach(function(at,mt){Y+=' <option value="'+(at.value||"")+'" >'+(at.title||"")+"</option>"}),Y+=` </select>
63
63
  </div>
64
- </div>`,this.target=S.default(Q)}else this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
64
+ </div>`,this.target=$__default.default(Y)}else this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
65
65
  <div class="hiprint-option-item-label">
66
66
  \u5B57\u4F53
67
67
  </div>
@@ -72,7 +72,7 @@
72
72
  <option value="Microsoft YaHei" >\u5FAE\u8F6F\u96C5\u9ED1</option>
73
73
  </select>
74
74
  </div>
75
- </div>`);return this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-family",C),"font-family:"+C;e[0].style.fontFamily="inherit"}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),y=function(){function o(){this.name="fontSize"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-size",C+"pt"),"font-size:"+C+"pt";e[0].style.fontSize=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
75
+ </div>`);return this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-family",H),"font-family:"+H;t[0].style.fontFamily="inherit"}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),b=function(){function n(){this.name="fontSize"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-size",H+"pt"),"font-size:"+H+"pt";t[0].style.fontSize=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
76
76
  <div class="hiprint-option-item-label">
77
77
  \u5B57\u4F53\u5927\u5C0F
78
78
  </div>
@@ -103,7 +103,7 @@
103
103
  <option value="21.75" >21.75pt</option>
104
104
  </select>
105
105
  </div>
106
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),p=function(){function o(){this.name="fontWeight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-weight",C),"font-weight:"+C;e[0].style.fontWeight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
106
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),l=function(){function n(){this.name="fontWeight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-weight",H),"font-weight:"+H;t[0].style.fontWeight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
107
107
  <div class="hiprint-option-item-label">
108
108
  \u5B57\u4F53\u7C97\u7EC6
109
109
  </div>
@@ -124,7 +124,7 @@
124
124
  <option value="900" >900</option>
125
125
  </select>
126
126
  </div>
127
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),I=function(){function o(){this.name="letterSpacing"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("letter-spacing",C+"pt"),"letter-spacing:"+C+"pt";e[0].style.letterSpacing=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
127
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),h=function(){function n(){this.name="letterSpacing"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("letter-spacing",H+"pt"),"letter-spacing:"+H+"pt";t[0].style.letterSpacing=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
128
128
  <div class="hiprint-option-item-label">
129
129
  \u5B57\u95F4\u8DDD
130
130
  </div>
@@ -149,7 +149,7 @@
149
149
  <option value="12" >12pt</option>
150
150
  </select>
151
151
  </div>
152
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),l=function(){function o(){this.name="textAlign"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("text-align",C),C=="justify"?(e.css("text-align-last","justify"),e.css("text-justify","distribute-all-lines")):(e[0].style.textAlignLast="",e[0].style.textJustify=""),"text-align:"+C;e[0].style.textAlign="",e[0].style.textAlignLast="",e[0].style.textJustify=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
152
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),g=function(){function n(){this.name="textAlign"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("text-align",H),H=="justify"?(t.css("text-align-last","justify"),t.css("text-justify","distribute-all-lines")):(t[0].style.textAlignLast="",t[0].style.textJustify=""),"text-align:"+H;t[0].style.textAlign="",t[0].style.textAlignLast="",t[0].style.textJustify=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
153
153
  <div class="hiprint-option-item-label">
154
154
  \u5DE6\u53F3\u5BF9\u9F50
155
155
  </div>
@@ -162,7 +162,7 @@
162
162
  <option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
163
163
  </select>
164
164
  </div>
165
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),H=function(){function o(){this.name="hideTitle"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
165
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),E=function(){function n(){this.name="hideTitle"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
166
166
  <div class="hiprint-option-item-label">
167
167
  \u6807\u9898\u663E\u793A\u9690\u85CF
168
168
  </div>
@@ -173,7 +173,7 @@
173
173
  <option value="true" >\u9690\u85CF</option>
174
174
  </select>
175
175
  </div>
176
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),D=function(){function o(){this.name="tableBorder"}return o.prototype.css=function(e,C){if(e.find("table").length){if(C=="border"||C==null)return e.find("table").css("border","1px solid"),"border:1px solid";C=="noBorder"?e.find("table").css("border","0px solid"):e.find("table")[0].style.border=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
176
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),D=function(){function n(){this.name="tableBorder"}return n.prototype.css=function(t,H){if(t.find("table").length){if(H=="border"||H==null)return t.find("table").css("border","1px solid"),"border:1px solid";H=="noBorder"?t.find("table").css("border","0px solid"):t.find("table")[0].style.border=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
177
177
  <div class="hiprint-option-item-label">
178
178
  \u8868\u683C\u8FB9\u6846
179
179
  </div>
@@ -184,7 +184,7 @@
184
184
  <option value="noBorder" >\u65E0\u8FB9\u6846</option>
185
185
  </select>
186
186
  </div>
187
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),N=function(){function o(){this.name="tableHeaderBorder"}return o.prototype.css=function(e,C){if(e.find("thead tr").length){if(C=="border"||C==null)return e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("thead tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
187
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),v=function(){function n(){this.name="tableHeaderBorder"}return n.prototype.css=function(t,H){if(t.find("thead tr").length){if(H=="border"||H==null)return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("thead tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
188
188
  <div class="hiprint-option-item-label">
189
189
  \u8868\u5934\u8FB9\u6846
190
190
  </div>
@@ -201,7 +201,7 @@
201
201
  <option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
202
202
  </select>
203
203
  </div>
204
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),s=function(){function o(){this.name="tableHeaderCellBorder"}return o.prototype.css=function(e,C){if(e.find("thead tr").length){if(C=="border"||C==null)return e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("thead tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
204
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),u=function(){function n(){this.name="tableHeaderCellBorder"}return n.prototype.css=function(t,H){if(t.find("thead tr").length){if(H=="border"||H==null)return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("thead tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
205
205
  <div class="hiprint-option-item-label">
206
206
  \u8868\u5934\u5355\u5143\u683C\u8FB9\u6846
207
207
  </div>
@@ -213,7 +213,7 @@
213
213
 
214
214
  </select>
215
215
  </div>
216
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),x=function(){function o(){this.name="tableFooterBorder"}return o.prototype.css=function(e,C){if(e.find("tfoot tr").length){if(C=="border"||C==null)return e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("tfoot tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
216
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),S=function(){function n(){this.name="tableFooterBorder"}return n.prototype.css=function(t,H){if(t.find("tfoot tr").length){if(H=="border"||H==null)return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("tfoot tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
217
217
  <div class="hiprint-option-item-label">
218
218
  \u8868\u5C3E\u8FB9\u6846
219
219
  </div>
@@ -230,7 +230,7 @@
230
230
  <option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
231
231
  </select>
232
232
  </div>
233
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),T=function(){function o(){this.name="tableFooterCellBorder"}return o.prototype.css=function(e,C){if(e.find("tfoot tr").length){if(C=="border"||C==null)return e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("tfoot tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
233
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),C=function(){function n(){this.name="tableFooterCellBorder"}return n.prototype.css=function(t,H){if(t.find("tfoot tr").length){if(H=="border"||H==null)return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("tfoot tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
234
234
  <div class="hiprint-option-item-label">
235
235
  \u8868\u5C3E\u5355\u5143\u683C\u8FB9\u6846
236
236
  </div>
@@ -242,7 +242,7 @@
242
242
 
243
243
  </select>
244
244
  </div>
245
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),E=function(){function o(){this.name="tableHeaderRowHeight"}return o.prototype.css=function(e,C){if(e.find("thead tr td").length){if(C)return e.find("thead tr td:not([rowspan])").css("height",C+"pt"),"height:"+C+"pt";e.find("thead tr td").map(function(Q,at){at.style.height=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
245
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),N=function(){function n(){this.name="tableHeaderRowHeight"}return n.prototype.css=function(t,H){if(t.find("thead tr td").length){if(H)return t.find("thead tr td:not([rowspan])").css("height",H+"pt"),"height:"+H+"pt";t.find("thead tr td").map(function(Y,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
246
246
  <div class="hiprint-option-item-label">
247
247
  \u8868\u5934\u884C\u9AD8
248
248
  </div>
@@ -293,7 +293,7 @@
293
293
  <option value="36" >36pt</option>
294
294
  </select>
295
295
  </div>
296
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),U=function(){function o(){this.name="tableHeaderFontSize"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead").css("font-size",C+"pt"),"font-size:"+C+"pt";e.find("thead").map(function(Q,at){at.style.fontSize=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
296
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),U=function(){function n(){this.name="tableHeaderFontSize"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead").css("font-size",H+"pt"),"font-size:"+H+"pt";t.find("thead").map(function(Y,at){at.style.fontSize=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
297
297
  <div class="hiprint-option-item-label">
298
298
  \u8868\u5934\u5B57\u4F53\u5927\u5C0F
299
299
  </div>
@@ -324,7 +324,7 @@
324
324
  <option value="21.75" >21.75pt</option>
325
325
  </select>
326
326
  </div>
327
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),w=function(){function o(){this.name="tableHeaderFontWeight"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead tr td").css("font-weight",C),"font-weight:"+C;e.find("thead tr td").map(function(Q,at){at.style.fontWeight=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
327
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),x=function(){function n(){this.name="tableHeaderFontWeight"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead tr td").css("font-weight",H),"font-weight:"+H;t.find("thead tr td").map(function(Y,at){at.style.fontWeight=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
328
328
  <div class="hiprint-option-item-label">
329
329
  \u8868\u5934\u5B57\u4F53\u7C97\u7EC6
330
330
  </div>
@@ -345,7 +345,7 @@
345
345
  <option value="900" >900</option>
346
346
  </select>
347
347
  </div>
348
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),v=function(){function o(){this.name="tableBodyCellBorder"}return o.prototype.css=function(e,C){if(e.find("tbody tr").length){if(C=="border"||C==null)return e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("tbody tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
348
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),j=function(){function n(){this.name="tableBodyCellBorder"}return n.prototype.css=function(t,H){if(t.find("tbody tr").length){if(H=="border"||H==null)return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("tbody tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
349
349
  <div class="hiprint-option-item-label">
350
350
  \u8868\u4F53\u5355\u5143\u683C\u8FB9\u6846
351
351
  </div>
@@ -356,7 +356,7 @@
356
356
  <option value="noBorder" >\u65E0\u8FB9\u6846</option>
357
357
  </select>
358
358
  </div>
359
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),j=function(){function o(){this.name="tableBodyRowHeight"}return o.prototype.css=function(e,C){if(e.find("tbody tr td").length){if(C)return e.find("tbody tr td").css("height",C+"pt"),"height:"+C+"pt";e.find("tbody tr td").map(function(Q,at){at.style.height=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
359
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),T=function(){function n(){this.name="tableBodyRowHeight"}return n.prototype.css=function(t,H){if(t.find("tbody tr td").length){if(H)return t.find("tbody tr td").css("height",H+"pt"),"height:"+H+"pt";t.find("tbody tr td").map(function(Y,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
360
360
  <div class="hiprint-option-item-label">
361
361
  \u8868\u4F53\u884C\u9AD8
362
362
  </div>
@@ -406,16 +406,16 @@
406
406
  <option value="36" >36pt</option>
407
407
  </select>
408
408
  </div>
409
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),a=function(){function o(){this.name="tableHeaderBackground"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead").css("background",C),"background:"+C;e.find("thead").map(function(Q,at){at.style.background=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
409
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),o=function(){function n(){this.name="tableHeaderBackground"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead").css("background",H),"background:"+H;t.find("thead").map(function(Y,at){at.style.background=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
410
410
  <div class="hiprint-option-item-label">
411
411
  \u8868\u5934\u80CC\u666F
412
412
  </div>
413
413
  <div class="hiprint-option-item-field">
414
414
  <input type="text" class="auto-submit" />
415
415
  </div>
416
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),m=function(){function o(){this.name="borderWidth"}return o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
416
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),m=function(){function n(){this.name="borderWidth"}return n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
417
417
  <div class="hiprint-option-item-label">
418
- `+C+`
418
+ `+H+`
419
419
  </div>
420
420
  <div class="hiprint-option-item-field">
421
421
  <select class="auto-submit">
@@ -431,7 +431,7 @@
431
431
  <option value="6.75" >6.75pt</option>
432
432
  </select>
433
433
  </div>
434
- </div>`),this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-width",C+"pt"),"border-width:"+C+"pt";e[0].style.borderWidth=""}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),r=function(){function o(){this.name="barcodeMode"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
434
+ </div>`),this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-width",H+"pt"),"border-width:"+H+"pt";t[0].style.borderWidth=""}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),a=function(){function n(){this.name="barcodeMode"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
435
435
  <div class="hiprint-option-item-label">
436
436
  \u6761\u5F62\u7801\u683C\u5F0F
437
437
  </div>
@@ -457,7 +457,7 @@
457
457
  <option value="Pharmacode" >Pharmacode</option>
458
458
  </select>
459
459
  </div>
460
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),d=function(){function o(){this.name="qrCodeLevel"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
460
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),I=function(){function n(){this.name="qrCodeLevel"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
461
461
  <div class="hiprint-option-item-label">
462
462
  \u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
463
463
  </div>
@@ -470,14 +470,14 @@
470
470
  <option value="2" >30% H</option>
471
471
  </select>
472
472
  </div>
473
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),h=function(){function o(){this.name="color"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("color",C),"color:"+C;e[0].style.color=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
473
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return parseInt(t||0)},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),f=function(){function n(){this.name="color"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("color",H),"color:"+H;t[0].style.color=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
474
474
  <div class="hiprint-option-item-label">
475
475
  \u5B57\u4F53\u989C\u8272
476
476
  </div>
477
477
  <div class="hiprint-option-item-field">
478
478
  <input type="text" class="auto-submit"/>
479
479
  </div>
480
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),P=function(){function o(){this.name="textDecoration"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
480
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),P=function(){function n(){this.name="textDecoration"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
481
481
  <div class="hiprint-option-item-label">
482
482
  \u6587\u672C\u4FEE\u9970
483
483
  </div>
@@ -490,70 +490,70 @@
490
490
 
491
491
  </select>
492
492
  </div>
493
- </div>`),this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("text-decoration",C),"text-decoration:"+C;e[0].style.textDecoration=""}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),u=function(){function o(){this.name="field"}return o.prototype.createTarget=function(e){var C=void 0;if(e&&(C=e.getFields()),C){this.isSelect=!0;var Q=` <div class="hiprint-option-item hiprint-option-item-row">
493
+ </div>`),this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("text-decoration",H),"text-decoration:"+H;t[0].style.textDecoration=""}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),c=function(){function n(){this.name="field"}return n.prototype.createTarget=function(t){var H=void 0;if(t&&(H=t.getFields()),H){this.isSelect=!0;var Y=` <div class="hiprint-option-item hiprint-option-item-row">
494
494
  <div class="hiprint-option-item-label">
495
495
  \u5B57\u6BB5\u540D
496
496
  </div>
497
497
  <div class="hiprint-option-item-field">
498
498
  <select class="auto-submit">
499
- <option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;C.forEach(function(at,ht){Q+=' <option value="'+(at.field||"")+'" >'+(at.text||"")+"</option>"}),Q+=` </select>
499
+ <option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;H.forEach(function(at,mt){Y+=' <option value="'+(at.field||"")+'" >'+(at.text||"")+"</option>"}),Y+=` </select>
500
500
  </div>
501
- </div>`,this.target=S.default(Q)}else this.isSelect=!1,this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
501
+ </div>`,this.target=$__default.default(Y)}else this.isSelect=!1,this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
502
502
  <div class="hiprint-option-item-label">
503
503
  \u5B57\u6BB5\u540D
504
504
  </div>
505
505
  <div class="hiprint-option-item-field">
506
506
  <input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
507
507
  </div>
508
- </div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),g=function(){function o(){this.name="columnField"}return o.prototype.createTarget=function(e,C,Q){var at=void 0;if(Q&&(at=Q.options.fields),at){this.isSelect=!0;var ht=` <div class="hiprint-option-item hiprint-option-item-row">
508
+ </div>`);return this.target},n.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},n.prototype.setValue=function(t){this.isSelect?t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>"),this.target.find("select").val(t)):this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),d=function(){function n(){this.name="titleSync"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6807\u9898\u540C\u6B65 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6807\u9898\u540C\u6B65" class="auto-submit bt-checkbox"></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("input").is(":checked")},n.prototype.setValue=function(t){this.target.find("input").attr("checked",t==null?!1:t)},n.prototype.destroy=function(){this.target.remove()},n}(),A=function(){function n(){this.name="columnField"}return n.prototype.createTarget=function(t,H,Y){var at=void 0;if(Y&&(at=Y.options.fields),at){this.isSelect=!0;var mt=` <div class="hiprint-option-item hiprint-option-item-row">
509
509
  <div class="hiprint-option-item-label">
510
510
  \u5217\u5B57\u6BB5\u540D
511
511
  </div>
512
512
  <div class="hiprint-option-item-field">
513
513
  <select class="auto-submit">
514
- <option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;at.forEach(function(Mt,ut){ht+=' <option value="'+(Mt.field||"")+'" >'+(Mt.text||"")+"</option>"}),ht+=` </select>
514
+ <option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;at.forEach(function(Mt,ct){mt+=' <option value="'+(Mt.field||"")+'" >'+(Mt.text||"")+"</option>"}),mt+=` </select>
515
515
  </div>
516
- </div>`,this.target=S.default(ht)}else this.isSelect=!1,this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
516
+ </div>`,this.target=$__default.default(mt)}else this.isSelect=!1,this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
517
517
  <div class="hiprint-option-item-label">
518
518
  \u5217\u5B57\u6BB5\u540D
519
519
  </div>
520
520
  <div class="hiprint-option-item-field">
521
521
  <input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
522
522
  </div>
523
- </div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),A=function(){function o(){this.name="title"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
523
+ </div>`);return this.target},n.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},n.prototype.setValue=function(t){this.isSelect?t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>"),this.target.find("select").val(t)):this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),z=function(){function n(){this.name="title"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
524
524
  <div class="hiprint-option-item-label">
525
525
  \u6807\u9898
526
526
  </div>
527
527
  <div class="hiprint-option-item-field">
528
528
  <textarea style="height:50px;" placeholder="\u8BF7\u8F93\u5165\u6807\u9898" class="auto-submit"></textarea>
529
529
  </div>
530
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),L=function(){function o(){this.name="testData"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
530
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),k=function(){function n(){this.name="testData"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
531
531
  <div class="hiprint-option-item-label">
532
532
  \u6D4B\u8BD5\u6570\u636E
533
533
  </div>
534
534
  <div class="hiprint-option-item-field">
535
535
  <input type="text" placeholder="\u4EC5\u5B57\u6BB5\u540D\u79F0\u5B58\u5728\u65F6\u6709\u6548" class="auto-submit" >
536
536
  </div>
537
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),W=function(){function o(){this.name="coordinate"}return o.prototype.createTarget=function(e,C){var Q=this;return Q.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
537
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),F=function(){function n(){this.name="coordinate"}return n.prototype.createTarget=function(t,H){var Y=this;return Y.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
538
538
  \u4F4D\u7F6E\u5750\u6807
539
539
  </div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
540
540
  <input type="number" style="width:48%" placeholder="X\u4F4D\u7F6E(\u5DE6)" class="auto-submit" />
541
541
  <input type="number" style="width:48%" placeholder="Y\u4F4D\u7F6E(\u4E0A)" class="auto-submit" />
542
542
  </div>
543
- </div>`),Q.syncLock=C.coordinateSync||!1,Q.createSyncLock(Q.syncLock),Q.target},o.prototype.createSyncLock=function(e){var C=this;return C.lockTarget=C.syncLock?S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),C.lockTarget.click(function(){C.syncLock?C.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):C.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),C.syncLock=!C.syncLock}),C.target.find("input:first").after(C.lockTarget),C.target.find("input:first").change(function(){C.syncLock&&C.target.find("input:last").val(S.default(this).val())}),C.target.find("input:last").change(function(){C.syncLock&&C.target.find("input:first").val(S.default(this).val())}),C.lockTarget},o.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var C=this.getValue();return e.css("left",C.left+"pt").css("top",C.top+"pt")}return null},o.prototype.getValue=function(){var e={coordinateSync:this.syncLock,left:0,top:0};return e.left=parseFloat(this.target.find("input:first").val()||0),e.top=parseFloat(this.target.find("input:last").val()||0),e},o.prototype.setValue=function(e,C){this.el=C.designTarget||C,C.options.coordinate&&C.designTarget&&C.designTarget.css("left",C.options.left+"pt").css("top",C.options.top+"pt"),this.target.find("input:first").val(e.left),this.target.find("input:last").val(e.top)},o.prototype.destroy=function(){this.target.remove()},o}(),J=function(){function o(){this.name="widthHeight"}return o.prototype.createTarget=function(e,C){var Q=this;return Q.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
543
+ </div>`),Y.syncLock=H.coordinateSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var H=this;return H.lockTarget=H.syncLock?$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),H.lockTarget.click(function(){H.syncLock?H.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):H.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),H.syncLock=!H.syncLock}),H.target.find("input:first").after(H.lockTarget),H.target.find("input:first").change(function(){H.syncLock&&H.target.find("input:last").val($__default.default(this).val())}),H.target.find("input:last").change(function(){H.syncLock&&H.target.find("input:first").val($__default.default(this).val())}),H.lockTarget},n.prototype.css=function(t){if(t&&t.length&&this.target&&(t.find(".resize-panel").css("display")=="block"||t[0].className.includes("table"))&&this.el==t){var H=this.getValue();return t.css("left",H.left+"pt").css("top",H.top+"pt")}return null},n.prototype.getValue=function(){var t={coordinateSync:this.syncLock,left:0,top:0};return t.left=parseFloat(this.target.find("input:first").val()||0),t.top=parseFloat(this.target.find("input:last").val()||0),t},n.prototype.setValue=function(t,H){this.el=H.designTarget||H,H.options.coordinate&&H.designTarget&&H.designTarget.css("left",H.options.left+"pt").css("top",H.options.top+"pt"),this.target.find("input:first").val(t.left),this.target.find("input:last").val(t.top)},n.prototype.destroy=function(){this.target.remove()},n}(),X=function(){function n(){this.name="widthHeight"}return n.prototype.createTarget=function(t,H){var Y=this;return Y.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
544
544
  \u5BBD\u9AD8\u5927\u5C0F
545
545
  </div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
546
546
  <input type="number" style="width:48%" placeholder="\u5BBD" class="auto-submit" />
547
547
  <input type="number" style="width:48%" placeholder="\u9AD8" class="auto-submit" />
548
548
  </div>
549
- </div>`),Q.syncLock=C.widthHeightSync||!1,Q.createSyncLock(Q.syncLock),Q.target},o.prototype.createSyncLock=function(e){var C=this;return C.lockTarget=C.syncLock?S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),C.lockTarget.click(function(){C.syncLock?C.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):C.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),C.syncLock=!C.syncLock}),C.target.find("input:first").after(C.lockTarget),C.target.find("input:first").change(function(){C.syncLock&&C.target.find("input:last").val(S.default(this).val())}),C.target.find("input:last").change(function(){C.syncLock&&C.target.find("input:first").val(S.default(this).val())}),C.lockTarget},o.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var C=this.getValue();return e.css("width",C.width+"pt").css("height",C.height+"pt")}return null},o.prototype.getValue=function(){var e={widthHeightSync:this.syncLock,width:0,height:0};return e.width=parseFloat(this.target.find("input:first").val()||0),e.height=parseFloat(this.target.find("input:last").val()||0),e},o.prototype.setValue=function(e,C){this.el=C.designTarget||C,C.options.widthHeight&&C.designTarget&&C.designTarget.css("width",C.options.width+"pt").css("height",C.options.height+"pt"),this.target.find("input:first").val(e.width),this.target.find("input:last").val(e.height)},o.prototype.destroy=function(){this.target.remove()},o}(),Y=function(){function o(){this.name="src"}return o.prototype.createTarget=function(e){this.el=e;var C=void 0,Q=this;return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
549
+ </div>`),Y.syncLock=H.widthHeightSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var H=this;return H.lockTarget=H.syncLock?$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),H.lockTarget.click(function(){H.syncLock?H.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):H.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),H.syncLock=!H.syncLock}),H.target.find("input:first").after(H.lockTarget),H.target.find("input:first").change(function(){H.syncLock&&H.target.find("input:last").val($__default.default(this).val())}),H.target.find("input:last").change(function(){H.syncLock&&H.target.find("input:first").val($__default.default(this).val())}),H.lockTarget},n.prototype.css=function(t){if(t&&t.length&&this.target&&(t.find(".resize-panel").css("display")=="block"||t[0].className.includes("table"))&&this.el==t){var H=this.getValue();return t.css("width",H.width+"pt").css("height",H.height+"pt")}return null},n.prototype.getValue=function(){var t={widthHeightSync:this.syncLock,width:0,height:0};return t.width=parseFloat(this.target.find("input:first").val()||0),t.height=parseFloat(this.target.find("input:last").val()||0),t},n.prototype.setValue=function(t,H){this.el=H.designTarget||H,H.options.widthHeight&&H.designTarget&&H.designTarget.css("width",H.options.width+"pt").css("height",H.options.height+"pt"),this.target.find("input:first").val(t.width),this.target.find("input:last").val(t.height)},n.prototype.destroy=function(){this.target.remove()},n}(),V=function(){function n(){this.name="src"}return n.prototype.createTarget=function(t){this.el=t;var H=void 0,Y=this;return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
550
550
  <div class="hiprint-option-item-label">
551
551
  \u56FE\u7247\u5730\u5740
552
552
  </div>
553
553
  <div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
554
554
  <input type="text" placeholder="\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740" class="auto-submit" style="width:70%">
555
555
  <button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button> </div>
556
- </div>`),e&&(C=e.getOnImageChooseClick()),C&&this.target.find("button").click(function(){C&&C(Q)}),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.refresh=function(e,C,Q){this.setValue(e),this.target.find("input").change();var at=this;if(this.el&&C){var ht=new Image;ht.src=e,ht.complete?at.updateEl(ht.width,ht.height,C,Q):ht.onload=function(){at.updateEl(ht.width,ht.height,C,Q)}}},o.prototype.updateEl=function(e,C,Q,at){if(Q){var ht,Mt,ut;(Q||Q.auto)&&(e>=C?Q.width=!0:Q.height=!0),Q.width?(ht=C/e,Mt=this.el.options.width,ut=Math.floor(Mt*ht*10)/10,this.el.options.height=ut,this.el.designTarget.css("height",ut+"pt")):Q.height?(ht=e/C,ut=this.el.options.height,Mt=Math.floor(ut*ht*10)/10,this.el.options.width=Mt,this.el.designTarget.css("width",Mt+"pt")):Q.real&&(Mt=hinnn.px.toPt(e),ut=hinnn.px.toPt(C),this.el.options.width=Mt,this.el.options.height=ut,this.el.designTarget.css("width",Mt+"pt"),this.el.designTarget.css("height",ut+"pt")),this.el.designTarget.children(".resize-panel").trigger(S.default.Event("click"))}else at&&at(this.el,e,C)},o.prototype.destroy=function(){this.target.remove()},o}(),F=function(){function o(){this.name="fit"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.find("img").css("object-fit",C),"object-fit:"+C;e.find("img")[0].style["object-fit"]=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
556
+ </div>`),t&&(H=t.getOnImageChooseClick()),H&&this.target.find("button").click(function(){H&&H(Y)}),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.refresh=function(t,H,Y){this.setValue(t),this.target.find("input").change();var at=this;if(this.el&&H){var mt=new Image;mt.src=t,mt.complete?at.updateEl(mt.width,mt.height,H,Y):mt.onload=function(){at.updateEl(mt.width,mt.height,H,Y)}}},n.prototype.updateEl=function(t,H,Y,at){if(Y){var mt,Mt,ct;(Y||Y.auto)&&(t>=H?Y.width=!0:Y.height=!0),Y.width?(mt=H/t,Mt=this.el.options.width,ct=Math.floor(Mt*mt*10)/10,this.el.options.height=ct,this.el.designTarget.css("height",ct+"pt")):Y.height?(mt=t/H,ct=this.el.options.height,Mt=Math.floor(ct*mt*10)/10,this.el.options.width=Mt,this.el.designTarget.css("width",Mt+"pt")):Y.real&&(Mt=hinnn.px.toPt(t),ct=hinnn.px.toPt(H),this.el.options.width=Mt,this.el.options.height=ct,this.el.designTarget.css("width",Mt+"pt"),this.el.designTarget.css("height",ct+"pt")),this.el.designTarget.children(".resize-panel").trigger($__default.default.Event("click"))}else at&&at(this.el,t,H)},n.prototype.destroy=function(){this.target.remove()},n}(),K=function(){function n(){this.name="fit"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.find("img").css("object-fit",H),"object-fit:"+H;t.find("img")[0].style["object-fit"]=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
557
557
  <div class="hiprint-option-item-label">
558
558
  \u56FE\u7247\u7F29\u653E
559
559
  </div>
@@ -566,30 +566,30 @@
566
566
  <option value="none" >\u539F\u59CB\u5C3A\u5BF8</option>
567
567
  </select>
568
568
  </div>
569
- </div>`),this.target,this.target},o.prototype.getValue=function(){return this.target.find("select").val()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),O=function(){function o(){this.name="borderColor"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-color",C),"border-color:"+C;e[0].style.borderColor=""}return null},o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
569
+ </div>`),this.target,this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),tt=function(){function n(){this.name="borderColor"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-color",H),"border-color:"+H;t[0].style.borderColor=""}return null},n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
570
570
  <div class="hiprint-option-item-label">
571
- `+C+`
571
+ `+H+`
572
572
  </div>
573
573
  <div class="hiprint-option-item-field">
574
574
  <input type="text" class="auto-submit" />
575
575
  </div>
576
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),$=function(){function o(){this.name="overPrintOptions"}return o.prototype.createTarget=function(){this.target=S.default(' <div class="hiprint-option-item" style="width: 100%;"><div class="hiprint-option-item-label hiprint-option-title"> \u5957\u6253\u529F\u80FD </div></div>'),this.content=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u80CC\u666F\u56FE\u7247 </div><div class="hiprint-option-item-field"><input style="width:65%" type="text" placeholder="\u8BF7\u9009\u62E9\u56FE\u7247" class="auto-submit"><button class="hiprint-option-item-settingBtn" style="width:30%;padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button></div></div>'),this.opacity=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u900F\u660E\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="1" max="100" step="1" placeholder="\u900F\u660E\u5EA6" class="auto-submit bt-range"></div></div>'),this.type=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
576
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),G=function(){function n(){this.name="overPrintOptions"}return n.prototype.createTarget=function(){this.target=$__default.default(' <div class="hiprint-option-item" style="width: 100%;"><div class="hiprint-option-item-label hiprint-option-title"> \u5957\u6253\u529F\u80FD </div></div>'),this.content=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u80CC\u666F\u56FE\u7247 </div><div class="hiprint-option-item-field"><input style="width:65%" type="text" placeholder="\u8BF7\u9009\u62E9\u56FE\u7247" class="auto-submit"><button class="hiprint-option-item-settingBtn" style="width:30%;padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button></div></div>'),this.opacity=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u900F\u660E\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="1" max="100" step="1" placeholder="\u900F\u660E\u5EA6" class="auto-submit bt-range"></div></div>'),this.type=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
577
577
  <div class="hiprint-option-item-label"> \u5957\u6253\u6A21\u5F0F </div>
578
578
  <input type="radio" id="overPrintType1" name="type" value="1" class="auto-submit">
579
579
  <label for="overPrintType1">\u4EC5\u8BBE\u8BA1</label>
580
580
  <input type="radio" id="overPrintType2" name="type" value="2" class="auto-submit">
581
581
  <label for="overPrintType2">\u540C\u65F6\u6253\u5370</label>
582
582
  </div>
583
- </div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let e=this;return this.content.find("button").click(function(){let C=document.createElement("input");C.setAttribute("accept","image/*"),C.setAttribute("type","file"),C.click(),C.onchange=function(){var Q=this.files[0],at=new FileReader;if(Q){var at=new FileReader;at.readAsDataURL(Q),at.onloadend=function(){e.content.find("input").val(at.result||""),e.content.find("input").trigger("change")}}C.remove()}}),this.type.find("input").change(function(C){S.default(this).siblings().removeAttr("checked"),S.default(this).attr("checked",!0)}),this.target},o.prototype.getValue=function(){let e={content:this.content.find("input").val(),opacity:parseFloat(this.opacity.find("input").val()||"70")/100,type:parseInt(this.type.find("input[checked]").val()||1)};return Object.assign({},this.options,e)},o.prototype.setValue=function(e){this.options=e,this.content.find("input").val(e.content||""),this.opacity.find("input").val((e.opacity||.7)*100),this.type.find("input[value="+(e.type||1)+"]").attr("checked",!0)},o.prototype.destroy=function(){this.target.remove()},o}(),k=function(){function o(){this.name="watermarkOptions"}return o.prototype.createTarget=function(){this.target=S.default(' <div class="hiprint-option-item"><div class="hiprint-option-item-label hiprint-option-title"> \u6C34\u5370\u529F\u80FD </div></div>'),this.content=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u5185\u5BB9 </div><div class="hiprint-option-item-field"><input style="width:100%" type="text" placeholder="\u6C34\u5370\u5185\u5BB9" class="auto-submit"></div></div>'),this.fillStyle=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u989C\u8272 </div><div class="hiprint-option-item-field"><input style="width:100%" data-format="rgb" data-opacity="0.3" type="text" placeholder="\u5B57\u4F53\u989C\u8272" class="auto-submit"></div></div>'),this.fontSize=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u5927\u5C0F </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="10" max="80" placeholder="\u5B57\u4F53\u5927\u5C0F" class="auto-submit bt-range"></div></div>'),this.rotate=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65CB\u8F6C\u89D2\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="0" max="180" placeholder="\u65CB\u8F6C\u89D2\u5EA6" class="auto-submit bt-range"></div></div>'),this.width=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5E73\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u6C34\u5E73\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.height=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5782\u76F4\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u5782\u76F4\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.timestamp=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u65F6\u95F4 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6C34\u5370\u65F6\u95F4" class="auto-submit bt-checkbox"></div></div>');let e=["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"],C=`
584
- <option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return e.forEach(function(Q){C+=`
585
- <option value="`+Q+'">'+Q+"</option>"}),this.format=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65F6\u95F4\u683C\u5F0F </div><div class="hiprint-option-item-field"><select style="width:100%" class="auto-submit"></select></div></div>'),this.format.find(".auto-submit").append(S.default(C)),this.target.append(this.content),this.target.append(this.fillStyle),this.target.append(this.fontSize),this.target.append(this.rotate),this.target.append(this.width),this.target.append(this.height),this.target.append(this.timestamp),this.target.append(this.format),this.target},o.prototype.getValue=function(){let e={content:this.content.find("input").val(),fillStyle:this.fillStyle.find("input").val()||"rgba(184, 184, 184, 0.3)",fontSize:parseInt(this.fontSize.find("input").val()||"14")+"px",rotate:parseInt(this.rotate.find("input").val()||"25"),width:parseInt(this.width.find("input").val()||"200"),height:parseInt(this.height.find("input").val()||"200"),timestamp:this.timestamp.find("input").is(":checked"),format:this.format.find("select").val()==""?"YYYY-MM-DD HH:mm":this.format.find("select").val()};return Object.assign({},this.options,e)},o.prototype.setValue=function(e){this.options=e,this.content.find("input").val(e.content||""),this.fillStyle.find("input").val(e.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"}),this.fillStyle.parent().css({width:"100%"});const C=parseInt(e.fontSize||"14");this.fontSize.find("input").val(C),this.rotate.find("input").val(e.rotate||25),this.width.find("input").val(e.width||200),this.height.find("input").val(e.height||200),this.timestamp.find("input").attr("checked",e.timestamp==null?!1:e.timestamp),this.format.find("select").val(e.format||"YYYY-MM-DD HH:mm")},o.prototype.destroy=function(){this.target.remove()},o}(),it=function(){function o(){this.name="paperNumberFormat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
583
+ </div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let t=this;return this.content.find("button").click(function(){let H=document.createElement("input");H.setAttribute("accept","image/*"),H.setAttribute("type","file"),H.click(),H.onchange=function(){var Y=this.files[0],at=new FileReader;if(Y){var at=new FileReader;at.readAsDataURL(Y),at.onloadend=function(){t.content.find("input").val(at.result||""),t.content.find("input").trigger("change")}}H.remove()}}),this.type.find("input").change(function(H){$__default.default(this).siblings().removeAttr("checked"),$__default.default(this).attr("checked",!0)}),this.target},n.prototype.getValue=function(){let t={content:this.content.find("input").val(),opacity:parseFloat(this.opacity.find("input").val()||"70")/100,type:parseInt(this.type.find("input[checked]").val()||1)};return Object.assign({},this.options,t)},n.prototype.setValue=function(t){this.options=t,this.content.find("input").val(t.content||""),this.opacity.find("input").val((t.opacity||.7)*100),this.type.find("input[value="+(t.type||1)+"]").attr("checked",!0)},n.prototype.destroy=function(){this.target.remove()},n}(),it=function(){function n(){this.name="watermarkOptions"}return n.prototype.createTarget=function(){this.target=$__default.default(' <div class="hiprint-option-item"><div class="hiprint-option-item-label hiprint-option-title"> \u6C34\u5370\u529F\u80FD </div></div>'),this.content=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u5185\u5BB9 </div><div class="hiprint-option-item-field"><input style="width:100%" type="text" placeholder="\u6C34\u5370\u5185\u5BB9" class="auto-submit"></div></div>'),this.fillStyle=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u989C\u8272 </div><div class="hiprint-option-item-field"><input style="width:100%" data-format="rgb" data-opacity="0.3" type="text" placeholder="\u5B57\u4F53\u989C\u8272" class="auto-submit"></div></div>'),this.fontSize=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u5927\u5C0F </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="10" max="80" placeholder="\u5B57\u4F53\u5927\u5C0F" class="auto-submit bt-range"></div></div>'),this.rotate=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65CB\u8F6C\u89D2\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="0" max="180" placeholder="\u65CB\u8F6C\u89D2\u5EA6" class="auto-submit bt-range"></div></div>'),this.width=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5E73\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u6C34\u5E73\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.height=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5782\u76F4\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u5782\u76F4\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.timestamp=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u65F6\u95F4 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6C34\u5370\u65F6\u95F4" class="auto-submit bt-checkbox"></div></div>');let t=["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"],H=`
584
+ <option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return t.forEach(function(Y){H+=`
585
+ <option value="`+Y+'">'+Y+"</option>"}),this.format=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65F6\u95F4\u683C\u5F0F </div><div class="hiprint-option-item-field"><select style="width:100%" class="auto-submit"></select></div></div>'),this.format.find(".auto-submit").append($__default.default(H)),this.target.append(this.content),this.target.append(this.fillStyle),this.target.append(this.fontSize),this.target.append(this.rotate),this.target.append(this.width),this.target.append(this.height),this.target.append(this.timestamp),this.target.append(this.format),this.target},n.prototype.getValue=function(){let t={content:this.content.find("input").val(),fillStyle:this.fillStyle.find("input").val()||"rgba(184, 184, 184, 0.3)",fontSize:parseInt(this.fontSize.find("input").val()||"14")+"px",rotate:parseInt(this.rotate.find("input").val()||"25"),width:parseInt(this.width.find("input").val()||"200"),height:parseInt(this.height.find("input").val()||"200"),timestamp:this.timestamp.find("input").is(":checked"),format:this.format.find("select").val()==""?"YYYY-MM-DD HH:mm":this.format.find("select").val()};return Object.assign({},this.options,t)},n.prototype.setValue=function(t){this.options=t,this.content.find("input").val(t.content||""),this.fillStyle.find("input").val(t.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"}),this.fillStyle.parent().css({width:"100%"});const H=parseInt(t.fontSize||"14");this.fontSize.find("input").val(H),this.rotate.find("input").val(t.rotate||25),this.width.find("input").val(t.width||200),this.height.find("input").val(t.height||200),this.timestamp.find("input").attr("checked",t.timestamp==null?!1:t.timestamp),this.format.find("select").val(t.format||"YYYY-MM-DD HH:mm")},n.prototype.destroy=function(){this.target.remove()},n}(),lt=function(){function n(){this.name="paperNumberFormat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
586
586
  <div class="hiprint-option-item-label">
587
587
  \u9875\u7801\u683C\u5F0F
588
588
  </div>
589
589
  <div class="hiprint-option-item-field">
590
590
  <input type="text" placeholder="\${paperNo}-\${paperCount}" class="auto-submit">
591
591
  </div>
592
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),st=function(){function o(){this.name="paperNumberDisabled"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
592
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),pt=function(){function n(){this.name="paperNumberDisabled"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
593
593
  <div class="hiprint-option-item-label">
594
594
  \u663E\u793A\u9875\u7801
595
595
  </div>
@@ -599,7 +599,7 @@
599
599
  <option value="true" >\u9690\u85CF</option>
600
600
  </select>
601
601
  </div>
602
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),pt=function(){function o(){this.name="paperNumberContinue"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
602
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),ut=function(){function n(){this.name="paperNumberContinue"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
603
603
  <div class="hiprint-option-item-label">
604
604
  \u9875\u7801\u7EED\u6392
605
605
  </div>
@@ -609,7 +609,7 @@
609
609
  <option value="reset" >\u91CD\u6392</option>
610
610
  </select>
611
611
  </div>
612
- </div>`),this.target},o.prototype.getValue=function(){return this.target.find("select").val()=="true"},o.prototype.setValue=function(e){this.target.find("select").val((e==null||e?"true":"reset").toString())},o.prototype.destroy=function(){this.target.remove()},o}(),It=function(){function o(){this.name="longTextIndent"}return o.prototype.css=function(e,C){return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
612
+ </div>`),this.target},n.prototype.getValue=function(){return this.target.find("select").val()=="true"},n.prototype.setValue=function(t){this.target.find("select").val((t==null||t?"true":"reset").toString())},n.prototype.destroy=function(){this.target.remove()},n}(),bt=function(){function n(){this.name="longTextIndent"}return n.prototype.css=function(t,H){return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
613
613
  <div class="hiprint-option-item-label">
614
614
  \u6BCF\u884C\u7F29\u8FDB
615
615
  </div>
@@ -659,7 +659,7 @@
659
659
  <option value="36" >36pt</option>
660
660
  </select>
661
661
  </div>
662
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),bt=function(){function o(){this.name="showInPage"}return o.prototype.css=function(e,C){if(e&&e.length){if(C&&C=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
662
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),vt=function(){function n(){this.name="showInPage"}return n.prototype.css=function(t,H){if(t&&t.length){if(H&&H=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
663
663
  <div class="hiprint-option-item-label">
664
664
  \u663E\u793A\u89C4\u5219
665
665
  </div>
@@ -673,7 +673,7 @@
673
673
  <option value="last" >\u5C3E\u9875</option>
674
674
  </select>
675
675
  </div>
676
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),vt=function(){function o(){this.name="pageBreak"}return o.prototype.css=function(e,C){if(e&&e.length){if(C&&C=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
676
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),dt=function(){function n(){this.name="pageBreak"}return n.prototype.css=function(t,H){if(t&&t.length){if(H&&H=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
677
677
  <div class="hiprint-option-item-label">
678
678
  \u5F3A\u5236\u5206\u9875
679
679
  </div>
@@ -683,7 +683,7 @@
683
683
  <option value="true" >\u662F</option>
684
684
  </select>
685
685
  </div>
686
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),dt=function(){function o(){this.name="panelPaperRule"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
686
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),yt=function(){function n(){this.name="panelPaperRule"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
687
687
  <div class="hiprint-option-item-label">
688
688
  \u6253\u5370\u89C4\u5219
689
689
  </div>
@@ -694,7 +694,7 @@
694
694
  <option value="even" >\u4FDD\u6301\u5076\u6570</option>
695
695
  </select>
696
696
  </div>
697
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),yt=function(){function o(){this.name="paperList"}return o.prototype.createTarget=function(e){let C=e.getPaperList();this.paperList=C,this.target=S.default("<div></div>"),this.list=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u5217\u8868 </div><div class="hiprint-option-item-field"><select class="auto-submit"><option>\u81EA\u5B9A\u4E49</option>/select></div></div>');let Q="";C.forEach(function(ht){Q+=`<option value="${ht.type}">${ht.type}</option>`}),this.list.find(".auto-submit").append(S.default(Q)),this.width=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5BBD </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u5BBD(mm)" class="auto-submit"></div></div>'),this.height=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u9AD8 </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u9AD8(mm)" class="auto-submit"></div></div>'),this.target.append(this.list),this.target.append(this.width),this.target.append(this.height);let at=this;return this.list.find("select").change(function(ht){let Mt=ht.target.value,ut=at.paperList.find(Ht=>Ht.type==Mt);ut&&(at.width.find("input").val(ut.width),at.height.find("input").val(ut.height))}),this.target.find("input").change(function(){let ht=parseInt(at.width.find("input").val()),Mt=parseInt(at.height.find("input").val());at.chagePaperType(ht,Mt)}),this.target},o.prototype.getValue=function(){return{type:this.list.find("select").val(),width:parseInt(this.width.find("input").val()),height:parseInt(this.height.find("input").val())}},o.prototype.setValue=function(e){const{type:C,width:Q,height:at}=e;C?this.list.find("select").val(C):this.chagePaperType(Q,at),this.width.find("input").val(Q),this.height.find("input").val(at)},o.prototype.chagePaperType=function(e,C){let Q=this.paperList.find(at=>at.width==e&&at.height==C);Q?this.list.find("select").val(Q.type):this.list.find("select").val("\u81EA\u5B9A\u4E49")},o.prototype.destroy=function(){this.target.remove()},o}(),mt=function(){function o(){this.name="paperDirections"}return o.prototype.createTarget=function(e){let C=e.getOrient();return this.option1=S.default(`<div class="option ${C==1?"checked":""}">\u7EB5\u5411</div>`),this.option2=S.default(`<div class="option ${C==2?"checked":""}">\u6A2A\u5411</div>`),this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u65B9\u5411 </div><div class="hiprint-option-item-field options"></div></div>'),this.target.find(".hiprint-option-item-field").append(this.option1),this.target.find(".hiprint-option-item-field").append(this.option2),this.target.find(".option").click(Q=>{Q.target.textContent=="\u7EB5\u5411",!S.default(Q.target).hasClass("checked")&&e.rotatePaper(),S.default(Q.target).addClass("checked"),S.default(Q.target).siblings().removeClass("checked")}),this.target},o.prototype.getValue=function(){},o.prototype.setValue=function(){},o.prototype.destroy=function(){this.target.remove()},o}(),gt=function(){function o(){this.name="panelPageRule"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
697
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ft=function(){function n(){this.name="paperList"}return n.prototype.createTarget=function(t){let H=t.getPaperList();this.paperList=H,this.target=$__default.default("<div></div>"),this.list=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u5217\u8868 </div><div class="hiprint-option-item-field"><select class="auto-submit"><option>\u81EA\u5B9A\u4E49</option>/select></div></div>');let Y="";H.forEach(function(mt){Y+=`<option value="${mt.type}">${mt.type}</option>`}),this.list.find(".auto-submit").append($__default.default(Y)),this.width=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5BBD </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u5BBD(mm)" class="auto-submit"></div></div>'),this.height=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u9AD8 </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u9AD8(mm)" class="auto-submit"></div></div>'),this.target.append(this.list),this.target.append(this.width),this.target.append(this.height);let at=this;return this.list.find("select").change(function(mt){let Mt=mt.target.value,ct=at.paperList.find(wt=>wt.type==Mt);ct&&(at.width.find("input").val(ct.width),at.height.find("input").val(ct.height))}),this.target.find("input").change(function(){let mt=parseInt(at.width.find("input").val()),Mt=parseInt(at.height.find("input").val());at.chagePaperType(mt,Mt)}),this.target},n.prototype.getValue=function(){return{type:this.list.find("select").val(),width:parseInt(this.width.find("input").val()),height:parseInt(this.height.find("input").val())}},n.prototype.setValue=function(t){const{type:H,width:Y,height:at}=t;H?this.list.find("select").val(H):this.chagePaperType(Y,at),this.width.find("input").val(Y),this.height.find("input").val(at)},n.prototype.chagePaperType=function(t,H){let Y=this.paperList.find(at=>at.width==t&&at.height==H);Y?this.list.find("select").val(Y.type):this.list.find("select").val("\u81EA\u5B9A\u4E49")},n.prototype.destroy=function(){this.target.remove()},n}(),gt=function(){function n(){this.name="paperDirections"}return n.prototype.createTarget=function(t){let H=t.getOrient();return this.option1=$__default.default(`<div class="option ${H==1?"checked":""}">\u7EB5\u5411</div>`),this.option2=$__default.default(`<div class="option ${H==2?"checked":""}">\u6A2A\u5411</div>`),this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u65B9\u5411 </div><div class="hiprint-option-item-field options"></div></div>'),this.target.find(".hiprint-option-item-field").append(this.option1),this.target.find(".hiprint-option-item-field").append(this.option2),this.target.find(".option").click(Y=>{Y.target.textContent=="\u7EB5\u5411",!$__default.default(Y.target).hasClass("checked")&&t.rotatePaper(),$__default.default(Y.target).addClass("checked"),$__default.default(Y.target).siblings().removeClass("checked")}),this.target},n.prototype.getValue=function(){},n.prototype.setValue=function(){},n.prototype.destroy=function(){this.target.remove()},n}(),Pt=function(){function n(){this.name="panelPageRule"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
698
698
  <div class="hiprint-option-item-label">
699
699
  \u5206\u9875\u89C4\u5219
700
700
  </div>
@@ -704,7 +704,7 @@
704
704
  <option value="none" >\u4E0D\u5206\u9875</option>
705
705
  </select>
706
706
  </div>
707
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Pt=function(){function o(){this.name="leftSpaceRemoved"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
707
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),jt=function(){function n(){this.name="leftSpaceRemoved"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
708
708
  <div class="hiprint-option-item-label">
709
709
  \u79FB\u9664\u6BB5\u843D\u5DE6\u4FA7\u7A7A\u767D
710
710
  </div>
@@ -715,35 +715,35 @@
715
715
  <option value="false" >\u4E0D\u79FB\u9664</option>
716
716
  </select>
717
717
  </div>
718
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),jt=function(){function o(){this.name="firstPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
718
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),St=function(){function n(){this.name="firstPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
719
719
  <div class="hiprint-option-item-label">
720
720
  \u9996\u9875\u9875\u5C3E
721
721
  </div>
722
722
  <div class="hiprint-option-item-field">
723
723
  <input type="text" placeholder="\u9996\u9875\u9875\u5C3E" class="auto-submit">
724
724
  </div>
725
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),St=function(){function o(){this.name="lastPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
725
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ct=function(){function n(){this.name="lastPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
726
726
  <div class="hiprint-option-item-label">
727
727
  \u5C3E\u9875\u9875\u5C3E
728
728
  </div>
729
729
  <div class="hiprint-option-item-field">
730
730
  <input type="text" placeholder="\u5C3E\u9875\u9875\u5C3E" class="auto-submit">
731
731
  </div>
732
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ut=function(){function o(){this.name="evenPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
732
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Nt=function(){function n(){this.name="evenPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
733
733
  <div class="hiprint-option-item-label">
734
734
  \u5076\u6570\u9875\u9875\u5C3E
735
735
  </div>
736
736
  <div class="hiprint-option-item-field">
737
737
  <input type="text" placeholder="\u5076\u6570\u9875\u9875\u5C3E" class="auto-submit">
738
738
  </div>
739
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Zt=function(){function o(){this.name="oddPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
739
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Dt=function(){function n(){this.name="oddPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
740
740
  <div class="hiprint-option-item-label">
741
741
  \u5947\u6570\u9875\u9875\u5C3E
742
742
  </div>
743
743
  <div class="hiprint-option-item-field">
744
744
  <input type="text" placeholder="\u5947\u6570\u9875\u9875\u5C3E" class="auto-submit" >
745
745
  </div>
746
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Lt=function(){function o(){this.name="fixed"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
746
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),At=function(){function n(){this.name="fixed"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
747
747
  <div class="hiprint-option-item-label">
748
748
  \u4F4D\u7F6E\u56FA\u5B9A
749
749
  </div>
@@ -754,7 +754,7 @@
754
754
  <option value="true" >\u662F</option>
755
755
  </select>
756
756
  </div>
757
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),zt=function(){function o(){this.name="axis"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
757
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Et=function(){function n(){this.name="axis"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
758
758
  <div class="hiprint-option-item-label">
759
759
  \u62D6\u52A8\u65B9\u5411
760
760
  </div>
@@ -765,21 +765,21 @@
765
765
  <option value="v" >\u7AD6\u5411</option>
766
766
  </select>
767
767
  </div>
768
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Wt=function(){function o(){this.name="leftOffset"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
768
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Bt=function(){function n(){this.name="leftOffset"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
769
769
  <div class="hiprint-option-item-label">
770
770
  \u5DE6\u504F\u79FB
771
771
  </div>
772
772
  <div class="hiprint-option-item-field">
773
773
  <input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit" >
774
774
  </div>
775
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),kt=function(){function o(){this.name="lHeight"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
775
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ut=function(){function n(){this.name="lHeight"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
776
776
  <div class="hiprint-option-item-label">
777
777
  \u6700\u4F4E\u9AD8\u5EA6
778
778
  </div>
779
779
  <div class="hiprint-option-item-field">
780
780
  <input type="text" placeholder="\u6587\u672C\u8FC7\u77ED\u6216\u4E3A\u7A7A\u65F6\u7684\u9AD8\u5EA6" class="auto-submit">
781
781
  </div>
782
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Gt=function(){function o(){this.name="unShowInPage"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
782
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Zt=function(){function n(){this.name="unShowInPage"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
783
783
  <div class="hiprint-option-item-label">
784
784
  \u9690\u85CF\u89C4\u5219
785
785
  </div>
@@ -790,7 +790,7 @@
790
790
  <option value="last" >\u5C3E\u9875</option>
791
791
  </select>
792
792
  </div>
793
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Rt=function(){function o(){this.name="tableBodyRowBorder"}return o.prototype.css=function(e,C){if(e.find("tbody tr").length){if(C=="border"||C==null)return e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("tbody tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
793
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Lt=function(){function n(){this.name="tableBodyRowBorder"}return n.prototype.css=function(t,H){if(t.find("tbody tr").length){if(H=="border"||H==null)return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("tbody tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
794
794
  <div class="hiprint-option-item-label">
795
795
  \u8868\u4F53\u884C\u8FB9\u6846
796
796
  </div>
@@ -807,21 +807,21 @@
807
807
  <option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
808
808
  </select>
809
809
  </div>
810
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Jt=function(){function o(){this.name="transform"}return o.prototype.css=function(e,C){if(e&&e.length){var Q=e.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(Q.length||(Q=e),C)return Q.css("transform","rotate("+C+"deg)"),Q.css("-ms-transform","rotate("+C+"deg)"),Q.css("-moz-transform","rotate("+C+"deg)"),Q.css("-webkit-transform","rotate("+C+"deg)"),Q.css("-o-transform","rotate("+C+"deg)"),"transform:rotate("+C+"deg)";Q.length&&(Q[0].style.transform="")}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
810
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),zt=function(){function n(){this.name="transform"}return n.prototype.css=function(t,H){if(t&&t.length){var Y=t.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(Y.length||(Y=t),H)return Y.css("transform","rotate("+H+"deg)"),Y.css("-ms-transform","rotate("+H+"deg)"),Y.css("-moz-transform","rotate("+H+"deg)"),Y.css("-webkit-transform","rotate("+H+"deg)"),Y.css("-o-transform","rotate("+H+"deg)"),"transform:rotate("+H+"deg)";Y.length&&(Y[0].style.transform="")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
811
811
  <div class="hiprint-option-item-label">
812
812
  \u65CB\u8F6C\u89D2\u5EA6
813
813
  </div>
814
814
  <div class="hiprint-option-item-field">
815
815
  <input type="number" class="auto-submit"/>
816
816
  </div>
817
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),M=function(){function o(){this.name="zIndex"}return o.prototype.css=function(e,C){return e&&e.length&&C?e.css("z-index",C):null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
817
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Wt=function(){function n(){this.name="zIndex"}return n.prototype.css=function(t,H){return t&&t.length&&H?t.css("z-index",H):null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
818
818
  <div class="hiprint-option-item-label">
819
819
  \u5143\u7D20\u5C42\u7EA7
820
820
  </div>
821
821
  <div class="hiprint-option-item-field">
822
822
  <input type="number" class="auto-submit"/>
823
823
  </div>
824
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())>0?parseInt(e.toString()):1},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),i=function(){function o(){this.name="borderTop"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-top-style",C),"border-top:1px";e[0].style.borderTopStyle="",e[0].style.borderTopWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
824
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseInt(t.toString())>0?parseInt(t.toString()):1},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),M=function(){function n(){this.name="borderTop"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-top-style",H),"border-top:1px";t[0].style.borderTopStyle="",t[0].style.borderTopWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
825
825
  <div class="hiprint-option-item-label">
826
826
  \u4E0A\u8FB9\u6846
827
827
  </div>
@@ -832,7 +832,7 @@
832
832
  <option value="dotted" >\u865A\u7EBF</option>
833
833
  </select>
834
834
  </div>
835
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),n=function(){function o(){this.name="borderLeft"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-left-style",C),"border-left:1px";e[0].style.borderLeftStyle="",e[0].style.borderLeftWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
835
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),e=function(){function n(){this.name="borderLeft"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-left-style",H),"border-left:1px";t[0].style.borderLeftStyle="",t[0].style.borderLeftWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
836
836
  <div class="hiprint-option-item-label">
837
837
  \u5DE6\u8FB9\u6846
838
838
  </div>
@@ -843,7 +843,7 @@
843
843
  <option value="dotted" >\u865A\u7EBF</option>
844
844
  </select>
845
845
  </div>
846
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),c=function(){function o(){this.name="borderRight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-right-style",C),"border-right:1px";e[0].style.borderRightStyle="",e[0].style.borderRightWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
846
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),i=function(){function n(){this.name="borderRight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-right-style",H),"border-right:1px";t[0].style.borderRightStyle="",t[0].style.borderRightWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
847
847
  <div class="hiprint-option-item-label">
848
848
  \u53F3\u8FB9\u6846
849
849
  </div>
@@ -854,7 +854,7 @@
854
854
  <option value="dotted" >\u865A\u7EBF</option>
855
855
  </select>
856
856
  </div>
857
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),b=function(){function o(){this.name="borderBottom"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-bottom-style",C),"border-bottom-style:1px solid";e[0].style.borderBottomStyle="",e[0].style.borderBottomWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
857
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),p=function(){function n(){this.name="borderBottom"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-bottom-style",H),"border-bottom-style:1px solid";t[0].style.borderBottomStyle="",t[0].style.borderBottomWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
858
858
  <div class="hiprint-option-item-label">
859
859
  \u4E0B\u8FB9\u6846
860
860
  </div>
@@ -865,7 +865,7 @@
865
865
  <option value="dotted" >\u865A\u7EBF</option>
866
866
  </select>
867
867
  </div>
868
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Z=function(){function o(){this.name="contentPaddingLeft"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-left",C+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
868
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),y=function(){function n(){this.name="contentPaddingLeft"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-left",H+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
869
869
  <div class="hiprint-option-item-label">
870
870
  \u5DE6\u5185\u8FB9\u8DDD
871
871
  </div>
@@ -903,7 +903,7 @@
903
903
  <option value="21.75" >21.75pt</option>
904
904
  </select>
905
905
  </div>
906
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),z=function(){function o(){this.name="contentPaddingTop"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-top",C+"pt"),"padding-top";Q[0].style.paddingTop=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
906
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Z=function(){function n(){this.name="contentPaddingTop"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-top",H+"pt"),"padding-top";Y[0].style.paddingTop=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
907
907
  <div class="hiprint-option-item-label">
908
908
  \u4E0A\u5185\u8FB9\u8DDD
909
909
  </div>
@@ -941,7 +941,7 @@
941
941
  <option value="21.75" >21.75pt</option>
942
942
  </select>
943
943
  </div>
944
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),R=function(){function o(){this.name="contentPaddingRight"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-right",C+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
944
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),W=function(){function n(){this.name="contentPaddingRight"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-right",H+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
945
945
  <div class="hiprint-option-item-label">
946
946
  \u53F3\u5185\u8FB9\u8DDD
947
947
  </div>
@@ -979,7 +979,7 @@
979
979
  <option value="21.75" >21.75pt</option>
980
980
  </select>
981
981
  </div>
982
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),et=function(){function o(){this.name="contentPaddingBottom"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-bottom",C+"pt"),"padding-bottom";Q[0].style.paddingBottom=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
982
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),J=function(){function n(){this.name="contentPaddingBottom"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-bottom",H+"pt"),"padding-bottom";Y[0].style.paddingBottom=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
983
983
  <div class="hiprint-option-item-label">
984
984
  \u4E0B\u5185\u8FB9\u8DDD
985
985
  </div>
@@ -1017,9 +1017,9 @@
1017
1017
  <option value="21.75" >21.75pt</option>
1018
1018
  </select>
1019
1019
  </div>
1020
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),K=function(){function o(){this.name="borderStyle"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-style",C),"border-style:1px";e[0].style.borderStyle=""}return null},o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1020
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),et=function(){function n(){this.name="borderStyle"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-style",H),"border-style:1px";t[0].style.borderStyle=""}return null},n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1021
1021
  <div class="hiprint-option-item-label">
1022
- `+C+`
1022
+ `+H+`
1023
1023
  </div>
1024
1024
  <div class="hiprint-option-item-field">
1025
1025
  <select class="auto-submit">
@@ -1029,14 +1029,14 @@
1029
1029
  <option value="dotted" >\u77ED\u865A\u7EBF</option>
1030
1030
  </select>
1031
1031
  </div>
1032
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),nt=function(){function o(){this.name="backgroundColor"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("background-color",C),"background-color:"+C;e[0].style.backgroundColor=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1032
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Q=function(){function n(){this.name="backgroundColor"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("background-color",H),"background-color:"+H;t[0].style.backgroundColor=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1033
1033
  <div class="hiprint-option-item-label">
1034
1034
  \u80CC\u666F\u989C\u8272
1035
1035
  </div>
1036
1036
  <div class="hiprint-option-item-field">
1037
1037
  <input type="text" class="auto-submit"/>
1038
1038
  </div>
1039
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),X=function(){function o(){this.name="orient"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1039
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),nt=function(){function n(){this.name="orient"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1040
1040
  <div class="hiprint-option-item-label">
1041
1041
  \u6253\u5370\u65B9\u5411
1042
1042
  </div>
@@ -1047,7 +1047,7 @@
1047
1047
  <option value="2" >\u6A2A\u5411</option>
1048
1048
  </select>
1049
1049
  </div>
1050
- </div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),rt=function(){function o(){this.name="textContentVerticalAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1050
+ </div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),O=function(){function n(){this.name="textContentVerticalAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1051
1051
  <div class="hiprint-option-item-label">
1052
1052
  \u4E0A\u4E0B\u5BF9\u9F50
1053
1053
  </div>
@@ -1059,7 +1059,7 @@
1059
1059
 
1060
1060
  </select>
1061
1061
  </div>
1062
- </div>`),this.target},o.prototype.css=function(e,C){return e&&e.length&&(e.removeClass("hiprint-text-content-middle"),e.removeClass("hiprint-text-content-bottom"),C)?(C==="middle"&&e.addClass("hiprint-text-content-middle"),C==="bottom"&&e.addClass("hiprint-text-content-bottom"),""):null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),q=function(){function o(){this.name="textContentWrap"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1062
+ </div>`),this.target},n.prototype.css=function(t,H){return t&&t.length&&(t.removeClass("hiprint-text-content-middle"),t.removeClass("hiprint-text-content-bottom"),H)?(H==="middle"&&t.addClass("hiprint-text-content-middle"),H==="bottom"&&t.addClass("hiprint-text-content-bottom"),""):null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),rt=function(){function n(){this.name="textContentWrap"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1063
1063
  <div class="hiprint-option-item-label">
1064
1064
  \u6587\u672C\u6362\u884C
1065
1065
  </div>
@@ -1071,12 +1071,12 @@
1071
1071
  <option value="ellipsis" >\u4E0D\u6362\u884C&\u7701\u7565</option>
1072
1072
  </select>
1073
1073
  </div>
1074
- </div>`),this.target},o.prototype.css=function(e,C){return e&&e.length&&(e.removeClass("hiprint-text-content-wrap"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),C)?(e.addClass("hiprint-text-content-wrap"),e.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+C),""):null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ot=f(5),ct=function(){function o(){this.name="columns"}return o.prototype.createTarget=function(){return S.default('<div class="indicator"></div>').appendTo("body"),this.target=S.default(' <div class="hiprint-option-item hiprint-option-item-row"><ul class="hiprint-option-table-selected-columns"></ul></div>'),this.target},o.prototype.getValue=function(){return this.buildData()},o.prototype.setValue=function(e,C,Q){var at=this,ht=this;this.value=e,this.options=C,this.printElementType=Q;var Mt=Q.columns[0].filter(function(ut){return e[0].columns.filter(function(Ht){return ut.columnId==Ht.columnId}).length==0}).map(function(ut){var Ht=new ot.a(ut);return Ht.checked=!1,Ht});this.allColumns=e[0].columns.concat(Mt),e&&e.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ut,Ht){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
1075
- `+(ut.checked?'<input type="checkbox" checked column-id="'+(ut.id||ut.columnId)+'" />':'<input type="checkbox" column-id="'+(ut.id||ut.columnId)+'" />')+`
1074
+ </div>`),this.target},n.prototype.css=function(t,H){return t&&t.length&&(t.removeClass("hiprint-text-content-wrap"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),H)?(t.addClass("hiprint-text-content-wrap"),t.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+H),""):null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),q=r(5),ot=function(){function n(){this.name="columns"}return n.prototype.createTarget=function(){return $__default.default('<div class="indicator"></div>').appendTo("body"),this.target=$__default.default(' <div class="hiprint-option-item hiprint-option-item-row"><ul class="hiprint-option-table-selected-columns"></ul></div>'),this.target},n.prototype.getValue=function(){return this.buildData()},n.prototype.setValue=function(t,H,Y){var at=this,mt=this;this.value=t,this.options=H,this.printElementType=Y;var Mt=Y.columns[0].filter(function(ct){return t[0].columns.filter(function(wt){return ct.columnId==wt.columnId}).length==0}).map(function(ct){var wt=new q.a(ct);return wt.checked=!1,wt});this.allColumns=t[0].columns.concat(Mt),t&&t.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ct,wt){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
1075
+ `+(ct.checked?'<input type="checkbox" checked column-id="'+(ct.id||ct.columnId)+'" />':'<input type="checkbox" column-id="'+(ct.id||ct.columnId)+'" />')+`
1076
1076
  <div class="state">
1077
1077
  <label></label>
1078
1078
  </div>
1079
- </div><span class="column-title">`+(ut.title||ut.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ut){var Ht=ut.target.checked,Dt=ut.target.attributes["column-id"].nodeValue||"",Ot=at.allColumns.findIndex(function(Qt){return Qt.field==Dt||Qt.id==Dt});Ot>=0&&(at.allColumns[Ot].checked=Ht),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(Ht,Dt){S.default(this).css("border-top-color","red")},onDragLeave:function(Ht,Dt){S.default(this).css("border-top-color","")},onDrop:function(Ht,Dt){S.default(Dt).insertBefore(this),S.default(this).css("border-top-color",""),ht.submit()}}))},o.prototype.buildData=function(){var e=this,C=[];return e.options.columns.length>1?this.value:(e.printElementType.makeColumnObj(e.allColumns),this.target.find("input").map(function(Q,at){var ht=S.default(at).attr("column-id"),Mt=e.printElementType.getColumnByColumnId(ht);if(Mt){var ut=new ot.a(Mt);ut.checked=Mt.checked,C.push(ut)}}),this.value[0].columns=C,this.value)},o.prototype.destroy=function(){this.target.remove()},o}(),lt=function(){function o(){this.name="textType"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1079
+ </div><span class="column-title">`+(ct.title||ct.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ct){var wt=ct.target.checked,Ht=ct.target.attributes["column-id"].nodeValue||"",Rt=at.allColumns.findIndex(function(_t){return _t.field==Ht||_t.id==Ht});Rt>=0&&(at.allColumns[Rt].checked=wt),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(wt,Ht){$__default.default(this).css("border-top-color","red")},onDragLeave:function(wt,Ht){$__default.default(this).css("border-top-color","")},onDrop:function(wt,Ht){$__default.default(Ht).insertBefore(this),$__default.default(this).css("border-top-color",""),mt.submit()}}))},n.prototype.buildData=function(){var t=this,H=[];return t.options.columns.length>1?this.value:(t.printElementType.makeColumnObj(t.allColumns),this.target.find("input").map(function(Y,at){var mt=$__default.default(at).attr("column-id"),Mt=t.printElementType.getColumnByColumnId(mt);if(Mt){var ct=new q.a(Mt);ct.checked=Mt.checked,H.push(ct)}}),this.value[0].columns=H,this.value)},n.prototype.destroy=function(){this.target.remove()},n}(),It=function(){function n(){this.name="textType"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1080
1080
  <div class="hiprint-option-item-label">
1081
1081
  \u6253\u5370\u7C7B\u578B
1082
1082
  </div>
@@ -1088,7 +1088,7 @@
1088
1088
  <option value="qrcode" >\u4E8C\u7EF4\u7801</option>
1089
1089
  </select>
1090
1090
  </div>
1091
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ft=function(){function o(){this.name="tableTextType"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1091
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),st=function(){function n(){this.name="tableTextType"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1092
1092
  <div class="hiprint-option-item-label">
1093
1093
  \u5B57\u6BB5\u7C7B\u578B
1094
1094
  </div>
@@ -1102,7 +1102,7 @@
1102
1102
  <option value="image" >\u56FE\u7247</option>
1103
1103
  </select>
1104
1104
  </div>
1105
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),wt=function(){function o(){this.name="tableBarcodeMode"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1105
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ht=function(){function n(){this.name="tableBarcodeMode"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1106
1106
  <div class="hiprint-option-item-label">
1107
1107
  \u6761\u5F62\u7801\u683C\u5F0F
1108
1108
  </div>
@@ -1128,7 +1128,7 @@
1128
1128
  <option value="Pharmacode" >Pharmacode</option>
1129
1129
  </select>
1130
1130
  </div>
1131
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ct=function(){function o(){this.name="tableQRCodeLevel"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1131
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Tt=function(){function n(){this.name="tableQRCodeLevel"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1132
1132
  <div class="hiprint-option-item-label">
1133
1133
  \u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
1134
1134
  </div>
@@ -1141,28 +1141,28 @@
1141
1141
  <option value="2" >30% H</option>
1142
1142
  </select>
1143
1143
  </div>
1144
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ft=function(){function o(){this.name="tableColumnHeight"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1144
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return parseInt(t||0)},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),xt=function(){function n(){this.name="tableColumnHeight"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1145
1145
  <div class="hiprint-option-item-label">
1146
1146
  \u5355\u5143\u683C\u9AD8\u5EA6
1147
1147
  </div>
1148
1148
  <div class="hiprint-option-item-field">
1149
1149
  <input type="text" placeholder="\u6761\u5F62\u7801\u3001\u4E8C\u7EF4\u7801\u4EE5\u53CA\u56FE\u7247\u6709\u6548" class="auto-submit" >
1150
1150
  </div>
1151
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Vt=function(){function o(){this.name="tableSummaryTitle"}return o.prototype.createTarget=function(){return this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u6807\u9898</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u9ED8\u8BA4</option><option value="true">\u663E\u793A</option><option value="false">\u9690\u85CF</option></select></div></div>'),this.target},o.prototype.getValue=function(){return this.target.find("select").val()!="false"},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),te=function(){function o(){this.name="tableSummaryText"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1151
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),kt=function(){function n(){this.name="tableSummaryTitle"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u6807\u9898</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u9ED8\u8BA4</option><option value="true">\u663E\u793A</option><option value="false">\u9690\u85CF</option></select></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("select").val()!="false"},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Gt=function(){function n(){this.name="tableSummaryText"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1152
1152
  <div class="hiprint-option-item-label">
1153
1153
  \u5E95\u90E8\u805A\u5408\u6587\u672C
1154
1154
  </div>
1155
1155
  <div class="hiprint-option-item-field">
1156
1156
  <input type="text" placeholder="\u805A\u5408\u7C7B\u578B:" class="auto-submit" >
1157
1157
  </div>
1158
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ee=function(){function o(){this.name="tableSummaryColspan"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1158
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Jt=function(){function n(){this.name="tableSummaryColspan"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1159
1159
  <div class="hiprint-option-item-label">
1160
1160
  \u5E95\u90E8\u805A\u5408\u5408\u5E76\u5217\u6570
1161
1161
  </div>
1162
1162
  <div class="hiprint-option-item-field">
1163
1163
  <input type="number" min="0" step="1" placeholder="\u5408\u5E76\u5217\u6570" class="auto-submit" >
1164
1164
  </div>
1165
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ie=function(){function o(){this.name="tableSummaryAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1165
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ft=function(){function n(){this.name="tableSummaryAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1166
1166
  <div class="hiprint-option-item-label">
1167
1167
  \u5E95\u90E8\u805A\u5408\u7C7B\u578B\u5DE6\u53F3\u5BF9\u9F50
1168
1168
  </div>
@@ -1175,32 +1175,37 @@
1175
1175
  <option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
1176
1176
  </select>
1177
1177
  </div>
1178
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ne=function(){function o(){this.name="tableSummaryNumFormat"}return o.prototype.createTarget=function(){var e=[{t:"\u6574\u6570",v:"0"}],C=[1,2,3,4,5,6];C.forEach(function(at){e.push({t:"\u4FDD\u7559"+at+"\u4F4D",v:""+at})});var Q=`
1179
- <option value="" >\u9ED8\u8BA4</option>`;return e.forEach(function(at){Q+=`
1180
- <option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1178
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Vt=function(){function n(){this.name="tableSummaryNumFormat"}return n.prototype.createTarget=function(){var t=[{t:"\u6574\u6570",v:"0"}],H=[1,2,3,4,5,6];H.forEach(function(at){t.push({t:"\u4FDD\u7559"+at+"\u4F4D",v:""+at})});var Y=`
1179
+ <option value="" >\u9ED8\u8BA4</option>`;return t.forEach(function(at){Y+=`
1180
+ <option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1181
1181
  <div class="hiprint-option-item-label">
1182
1182
  \u5E95\u90E8\u805A\u5408\u5C0F\u6570
1183
1183
  </div>
1184
1184
  <div class="hiprint-option-item-field">
1185
1185
  <select class="auto-submit"></select>
1186
1186
  </div>
1187
- </div>`),this.target.find(".auto-submit").append(S.default(Q)),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),oe=function(){function o(){this.name="upperCase"}return o.prototype.createTarget=function(){var e=[{t:"\u300C\u5C0F\u5199\u300D\u5341\u70B9\u516B",v:"0"},{t:"\u300C\u5C0F\u5199\u300D\u4E00\u5341\u70B9\u516B",v:"1"},{t:"\u300C\u5927\u5199\u300D\u62FE\u70B9\u634C",v:"2"},{t:"\u300C\u5927\u5199\u300D\u58F9\u62FE\u70B9\u634C",v:"3"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u62FE\u5143\u634C\u89D2",v:"4"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2",v:"5"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"6"},{t:"\u300C\u91D1\u989D\u300D\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"7"}],C=`
1188
- <option value="">\u9ED8\u8BA4</option>`;return e.forEach(Q=>{C+=`
1189
- <option value='${Q.v}'>${Q.t}</option>`}),this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
1187
+ </div>`),this.target.find(".auto-submit").append($__default.default(Y)),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Yt=function(){function n(){this.name="tableSummaryFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
1188
+ \u5E95\u90E8\u805A\u5408\u683C\u5F0F\u5316\u51FD\u6570</div>
1189
+ <div class="hiprint-option-item-field">
1190
+ <textarea style="height:80px;" placeholder="function(column,fieldPageData,tableData,options){ return '<td></td>'; }" class="auto-submit"></textarea>
1191
+ </div>
1192
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Ot=function(){function n(){this.name="upperCase"}return n.prototype.createTarget=function(){var t=[{t:"\u300C\u5C0F\u5199\u300D\u5341\u70B9\u516B",v:"0"},{t:"\u300C\u5C0F\u5199\u300D\u4E00\u5341\u70B9\u516B",v:"1"},{t:"\u300C\u5927\u5199\u300D\u62FE\u70B9\u634C",v:"2"},{t:"\u300C\u5927\u5199\u300D\u58F9\u62FE\u70B9\u634C",v:"3"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u62FE\u5143\u634C\u89D2",v:"4"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2",v:"5"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"6"},{t:"\u300C\u91D1\u989D\u300D\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"7"}],H=`
1193
+ <option value="">\u9ED8\u8BA4</option>`;return t.forEach(Y=>{H+=`
1194
+ <option value='${Y.v}'>${Y.t}</option>`}),this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
1190
1195
  <div class="hiprint-option-item-label">
1191
1196
  \u8F6C\u5927\u5C0F\u5199
1192
1197
  </div>
1193
1198
  <div class="hiprint-option-item-field">
1194
1199
  <select class="auto-submit"></select>
1195
1200
  </div>
1196
- </div>`),this.target.find(".auto-submit").append(S.default(C)),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ae=function(){function o(){this.name="tableSummary"}return o.prototype.createTarget=function(){return this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u7C7B\u578B</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u4E0D\u805A\u5408</option><option value="count">\u8BA1\u6570</option><option value="sum">\u5408\u8BA1</option><option value="avg">\u5E73\u5747\u503C</option><option value="min">\u6700\u5C0F\u503C</option><option value="max">\u6700\u5927\u503C</option></select></div></div>'),this.target},o.prototype.getValue=function(){return this.target.find("select").val()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),re=function(){function o(){this.name="topOffset"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1201
+ </div>`),this.target.find(".auto-submit").append($__default.default(H)),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Qt=function(){function n(){this.name="tableSummary"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u7C7B\u578B</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u4E0D\u805A\u5408</option><option value="count">\u8BA1\u6570</option><option value="sum">\u5408\u8BA1</option><option value="avg">\u5E73\u5747\u503C</option><option value="min">\u6700\u5C0F\u503C</option><option value="max">\u6700\u5927\u503C</option></select></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Xt=function(){function n(){this.name="topOffset"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1197
1202
  <div class="hiprint-option-item-label">
1198
1203
  \u9876\u90E8\u504F\u79FB
1199
1204
  </div>
1200
1205
  <div class="hiprint-option-item-field">
1201
1206
  <input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit">
1202
1207
  </div>
1203
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),se=function(){function o(){this.name="gridColumns"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1208
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),$t=function(){function n(){this.name="gridColumns"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1204
1209
  <div class="hiprint-option-item-label">
1205
1210
  \u4E00\u884C\u591A\u7EC4
1206
1211
  </div>
@@ -1212,7 +1217,7 @@
1212
1217
  <option value="4" >\u4E00\u884C\u56DB\u5217</option>
1213
1218
  </select>
1214
1219
  </div>
1215
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),le=function(){function o(){this.name="gridColumnsGutter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1220
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Kt=function(){function n(){this.name="gridColumnsGutter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1216
1221
  <div class="hiprint-option-item-label">
1217
1222
  \u4E00\u884C\u591A\u7EC4\u95F4\u9694
1218
1223
  </div>
@@ -1232,7 +1237,7 @@
1232
1237
  <option value="9" >9pt</option>
1233
1238
  </select>
1234
1239
  </div>
1235
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.find(".table-grid-row").css("margin-left","-"+C+"pt").css("margin-right","-"+C+"pt"),e.find(".tableGridColumnsGutterRow").css("padding-left",C+"pt").css("padding-right",C+"pt"),null;e.find(".table-grid-row").map(function(Q,at){at.style.marginLeft="",at.style.marginRight=""}),e.find(".tableGridColumnsGutterRow").map(function(Q,at){at.style.paddingLeft="",at.style.paddingRight=""})}return null},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),pe=function(){function o(){this.name="tableHeaderRepeat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1240
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.find(".table-grid-row").css("margin-left","-"+H+"pt").css("margin-right","-"+H+"pt"),t.find(".tableGridColumnsGutterRow").css("padding-left",H+"pt").css("padding-right",H+"pt"),null;t.find(".table-grid-row").map(function(Y,at){at.style.marginLeft="",at.style.marginRight=""}),t.find(".tableGridColumnsGutterRow").map(function(Y,at){at.style.paddingLeft="",at.style.paddingRight=""})}return null},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),qt=function(){function n(){this.name="tableHeaderRepeat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1236
1241
  <div class="hiprint-option-item-label">
1237
1242
  \u8868\u683C\u5934\u663E\u793A
1238
1243
  </div>
@@ -1244,7 +1249,7 @@
1244
1249
  <option value="none" >\u4E0D\u663E\u793A</option>
1245
1250
  </select>
1246
1251
  </div>
1247
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ie=function(){function o(){this.name="paddingLeft"}return o.prototype.css=function(e,C){var Q=e;if(Q&&Q.length){if(C)return Q.css("padding-left",C+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1252
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),te=function(){function n(){this.name="paddingLeft"}return n.prototype.css=function(t,H){var Y=t;if(Y&&Y.length){if(H)return Y.css("padding-left",H+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1248
1253
  <div class="hiprint-option-item-label">
1249
1254
  \u5DE6\u5185\u8FB9\u8DDD
1250
1255
  </div>
@@ -1282,7 +1287,7 @@
1282
1287
  <option value="21.75" >21.75pt</option>
1283
1288
  </select>
1284
1289
  </div>
1285
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ce=function(){function o(){this.name="paddingRight"}return o.prototype.css=function(e,C){var Q=e;if(Q&&Q.length){if(C)return Q.css("padding-right",C+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1290
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ee=function(){function n(){this.name="paddingRight"}return n.prototype.css=function(t,H){var Y=t;if(Y&&Y.length){if(H)return Y.css("padding-right",H+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1286
1291
  <div class="hiprint-option-item-label">
1287
1292
  \u53F3\u5185\u8FB9\u8DDD
1288
1293
  </div>
@@ -1320,7 +1325,7 @@
1320
1325
  <option value="21.75" >21.75pt</option>
1321
1326
  </select>
1322
1327
  </div>
1323
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ue=function(){function o(){this.name="dataType"}return o.prototype.createTarget=function(){var e=this;return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
1328
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ie=function(){function n(){this.name="dataType"}return n.prototype.createTarget=function(){var t=this;return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
1324
1329
  <div class="hiprint-option-item-label">
1325
1330
  \u6570\u636E\u7C7B\u578B
1326
1331
  </div>
@@ -1343,7 +1348,7 @@
1343
1348
  </select>
1344
1349
  <input class="auto-submit hiprint-option-item-datatype-input-format" type="text" data-type="boolean" placeholder="true:false">
1345
1350
  </div>
1346
- </div>`),S.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var C=S.default(e.target.find(".hiprint-option-item-datatype")).val();e.loadFormatSelectByDataType(C),e.submit(e.getValue())}),this.target},o.prototype.getValue=function(){var e=this.target.find(".hiprint-option-item-datatype").val();if(e){var C=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:e,format:C||void 0}}return{dataType:void 0,format:void 0}},o.prototype.setValue=function(e,C){this.target.find(".hiprint-option-item-datatype").val(C.dataType||""),this.loadFormatSelectByDataType(C.dataType),this.target.find(".hiprint-option-item-datatype-format").val(C.format||"")},o.prototype.destroy=function(){this.target.remove()},o.prototype.loadFormatSelectByDataType=function(e){e==="boolean"?(this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()):e==="datetime"?(this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-select-format").html(`
1351
+ </div>`),$__default.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var H=$__default.default(t.target.find(".hiprint-option-item-datatype")).val();t.loadFormatSelectByDataType(H),t.submit(t.getValue())}),this.target},n.prototype.getValue=function(){var t=this.target.find(".hiprint-option-item-datatype").val();if(t){var H=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:t,format:H||void 0}}return{dataType:void 0,format:void 0}},n.prototype.setValue=function(t,H){this.target.find(".hiprint-option-item-datatype").val(H.dataType||""),this.loadFormatSelectByDataType(H.dataType),this.target.find(".hiprint-option-item-datatype-format").val(H.format||"")},n.prototype.destroy=function(){this.target.remove()},n.prototype.loadFormatSelectByDataType=function(t){t==="boolean"?(this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()):t==="datetime"?(this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-select-format").html(`
1347
1352
  <option value="" >\u9ED8\u8BA4</option>
1348
1353
  <option value="M/d" >M/d</option>
1349
1354
  <option value="MM/dd" >MM/dd</option>
@@ -1392,28 +1397,28 @@
1392
1397
  <option value="yyyy-MM-dd HH:mm:ss" >yyyy-MM-dd HH:mm:ss</option>
1393
1398
  `)):(this.target.find(".hiprint-option-item-datatype-select-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-format").html(`
1394
1399
  <option value="" >\u9ED8\u8BA4</option>
1395
- `))},o}(),de=function(){function o(){this.name="formatter"}return o.prototype.createTarget=function(){var e=` <div class="hiprint-option-item hiprint-option-item-row">
1400
+ `))},n}(),ne=function(){function n(){this.name="formatter"}return n.prototype.createTarget=function(){var t=` <div class="hiprint-option-item hiprint-option-item-row">
1396
1401
  <div class="hiprint-option-item-label">
1397
1402
  \u683C\u5F0F\u5316\u51FD\u6570
1398
1403
  </div>
1399
1404
  <div class="hiprint-option-item-field">
1400
1405
  <textarea style="height:80px;" placeholder="function(title,value,options,templateData,target){}" class="auto-submit"></textarea>
1401
1406
  </div>
1402
- </div>`;return this.target=S.default(e),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ge=function(){function o(){this.name="styler"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1407
+ </div>`;return this.target=$__default.default(t),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),oe=function(){function n(){this.name="styler"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1403
1408
  <div class="hiprint-option-item-label">
1404
1409
  \u6837\u5F0F\u51FD\u6570
1405
1410
  </div>
1406
1411
  <div class="hiprint-option-item-field">
1407
1412
  <textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
1408
1413
  </div>
1409
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),he=function(){function o(){this.name="rowsColumnsMerge"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1414
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ae=function(){function n(){this.name="rowsColumnsMerge"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1410
1415
  <div class="hiprint-option-item-label">
1411
1416
  \u884C/\u5217\u5408\u5E76\u51FD\u6570
1412
1417
  </div>
1413
1418
  <div class="hiprint-option-item-field">
1414
1419
  <textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex, tableData, printData){ return [1,1] }" class="auto-submit"></textarea>
1415
1420
  </div>
1416
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),me=function(){function o(){this.name="rowsColumnsMergeClean"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1421
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),re=function(){function n(){this.name="rowsColumnsMergeClean"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1417
1422
  <div class="hiprint-option-item-label">
1418
1423
  \u8DE8\u9875\u5408\u5E76\u662F\u5426\u6E05\u9664
1419
1424
  </div>
@@ -1424,49 +1429,49 @@
1424
1429
  <option value="false" >\u5426</option>
1425
1430
  </select>
1426
1431
  </div>
1427
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),fe=function(){function o(){this.name="footerFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1432
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),le=function(){function n(){this.name="footerFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1428
1433
  <div class="hiprint-option-item-label">
1429
1434
  \u8868\u683C\u811A\u51FD\u6570
1430
1435
  </div>
1431
1436
  <div class="hiprint-option-item-field">
1432
1437
  <textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '<tr></tr>' }" class="auto-submit"></textarea>
1433
1438
  </div>
1434
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),be=function(){function o(){this.name="groupFieldsFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1439
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),se=function(){function n(){this.name="groupFieldsFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1435
1440
  <div class="hiprint-option-item-label">
1436
1441
  \u5206\u7EC4\u5B57\u6BB5\u51FD\u6570
1437
1442
  </div>
1438
1443
  <div class="hiprint-option-item-field">
1439
1444
  <textarea style="height:80px;" placeholder="function(type,options,data){ return [] }" class="auto-submit"></textarea>
1440
1445
  </div>
1441
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ve=function(){function o(){this.name="groupFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1446
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),pe=function(){function n(){this.name="groupFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1442
1447
  <div class="hiprint-option-item-label">
1443
1448
  \u5206\u7EC4\u5934\u683C\u5F0F\u5316\u51FD\u6570
1444
1449
  </div>
1445
1450
  <div class="hiprint-option-item-field">
1446
- <textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u5934\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
1451
+ <textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '\u5206\u7EC4\u5934\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
1447
1452
  </div>
1448
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ye=function(){function o(){this.name="groupFooterFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1453
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ue=function(){function n(){this.name="groupFooterFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1449
1454
  <div class="hiprint-option-item-label">
1450
1455
  \u5206\u7EC4\u811A\u683C\u5F0F\u5316\u51FD\u6570
1451
1456
  </div>
1452
1457
  <div class="hiprint-option-item-field">
1453
- <textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u811A\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
1458
+ <textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '\u5206\u7EC4\u811A\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
1454
1459
  </div>
1455
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Me=function(){function o(){this.name="gridColumnsFooterFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1460
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Ie=function(){function n(){this.name="gridColumnsFooterFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1456
1461
  <div class="hiprint-option-item-label">
1457
1462
  \u591A\u7EC4\u8868\u683C\u811A\u51FD\u6570
1458
1463
  </div>
1459
1464
  <div class="hiprint-option-item-field">
1460
1465
  <textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '' }" class="auto-submit"></textarea>
1461
1466
  </div>
1462
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Pe=function(){function o(){this.name="rowStyler"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1467
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ce=function(){function n(){this.name="rowStyler"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1463
1468
  <div class="hiprint-option-item-label">
1464
1469
  \u884C\u6837\u5F0F\u51FD\u6570
1465
1470
  </div>
1466
1471
  <div class="hiprint-option-item-field">
1467
1472
  <textarea style="height:80px;" placeholder="function(value,options){ return '' }" class="auto-submit"></textarea>
1468
1473
  </div>
1469
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),je=function(){function o(){this.name="align"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1474
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),de=function(){function n(){this.name="align"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1470
1475
  <div class="hiprint-option-item-label">
1471
1476
  \u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
1472
1477
  </div>
@@ -1479,7 +1484,7 @@
1479
1484
  <option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
1480
1485
  </select>
1481
1486
  </div>
1482
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Se=function(){function o(){this.name="vAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1487
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ge=function(){function n(){this.name="vAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1483
1488
  <div class="hiprint-option-item-label">
1484
1489
  \u5355\u5143\u683C\u4E0A\u4E0B\u5BF9\u9F50
1485
1490
  </div>
@@ -1488,11 +1493,11 @@
1488
1493
  <option value="" >\u9ED8\u8BA4</option>
1489
1494
  <option value="top" >\u4E0A</option>
1490
1495
  <option value="middle" >\u4E2D</option>
1491
- <option value="bottom" >\u5C45\u53F3</option>
1496
+ <option value="bottom" >\u4E0B</option>
1492
1497
 
1493
1498
  </select>
1494
1499
  </div>
1495
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Te=function(){function o(){this.name="halign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1500
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),he=function(){function n(){this.name="halign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1496
1501
  <div class="hiprint-option-item-label">
1497
1502
  \u8868\u683C\u5934\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
1498
1503
  </div>
@@ -1505,35 +1510,35 @@
1505
1510
  <option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
1506
1511
  </select>
1507
1512
  </div>
1508
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),we=function(){function o(){this.name="styler2"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1513
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),me=function(){function n(){this.name="styler2"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1509
1514
  <div class="hiprint-option-item-label">
1510
1515
  \u5355\u5143\u683C\u6837\u5F0F\u51FD\u6570
1511
1516
  </div>
1512
1517
  <div class="hiprint-option-item-field">
1513
1518
  <textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
1514
1519
  </div>
1515
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),xe=function(){function o(){this.name="stylerHeader"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1520
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),fe=function(){function n(){this.name="stylerHeader"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1516
1521
  <div class="hiprint-option-item-label">
1517
1522
  \u8868\u683C\u5934\u6837\u5F0F\u51FD\u6570
1518
1523
  </div>
1519
1524
  <div class="hiprint-option-item-field">
1520
1525
  <textarea style="height:80px;" placeholder="function(options){ return {color:'red' }; }" class="auto-submit"></textarea>
1521
1526
  </div>
1522
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),He=function(){function o(){this.name="formatter2"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1527
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),be=function(){function n(){this.name="formatter2"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1523
1528
  <div class="hiprint-option-item-label">
1524
1529
  \u5355\u5143\u683C\u683C\u5F0F\u5316\u51FD\u6570
1525
1530
  </div>
1526
1531
  <div class="hiprint-option-item-field">
1527
1532
  <textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
1528
1533
  </div>
1529
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ce=function(){function o(){this.name="renderFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1534
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ve=function(){function n(){this.name="renderFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1530
1535
  <div class="hiprint-option-item-label">
1531
1536
  \u5355\u5143\u683C\u6E32\u67D3\u51FD\u6570
1532
1537
  </div>
1533
1538
  <div class="hiprint-option-item-field">
1534
- <textarea style="height:80px;" placeholder="function(value,row,index,options){ return '<td></td>'; }" class="auto-submit"></textarea>
1539
+ <textarea style="height:80px;" placeholder="function(value,row,colIndex,options,rowIndex){ return '<td></td>'; }" class="auto-submit"></textarea>
1535
1540
  </div>
1536
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ne=function(){function o(){this.name="autoCompletion"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1541
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ye=function(){function n(){this.name="autoCompletion"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1537
1542
  <div class="hiprint-option-item-label">
1538
1543
  \u81EA\u52A8\u8865\u5168
1539
1544
  </div>
@@ -1544,14 +1549,14 @@
1544
1549
  <option value="false" >\u5426</option>
1545
1550
  </select>
1546
1551
  </div>
1547
- </div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),De=function(){function o(){this.name="maxRows"}return o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
1552
+ </div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Me=function(){function n(){this.name="maxRows"}return n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
1548
1553
  <div class="hiprint-option-item-label">
1549
1554
  \u6BCF\u9875\u6700\u5927\u884C\u6570
1550
1555
  </div>
1551
1556
  <div class="hiprint-option-item-field">
1552
1557
  <input type="number" value="1" step="1" min="1" class="auto-submit"/>
1553
1558
  </div>
1554
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ae=function(){function o(){this.name="tableFooterRepeat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
1559
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseInt(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Pe=function(){function n(){this.name="tableFooterRepeat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
1555
1560
  <div class="hiprint-option-item-label">
1556
1561
  \u8868\u683C\u811A\u663E\u793A
1557
1562
  </div>
@@ -1563,22 +1568,22 @@
1563
1568
  <option value="last" >\u6700\u540E\u663E\u793A</option>
1564
1569
  </select>
1565
1570
  </div>
1566
- </div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}();f.d(V,"a",function(){return Ee});var Ee=function(){function o(){}return o.init=function(){o.printElementOptionItems||(o.printElementOptionItems={},o._printElementOptionItems.forEach(function(e){o.printElementOptionItems[e.name]=e}))},o.registerItem=function(e){if(!e.name)throw new Error("styleItem must have name");o.init(),o.printElementOptionItems[e.name]=e},o.getItem=function(e){return o.init(),o.printElementOptionItems[e]},o._printElementOptionItems=[new B,new y,new p,new I,new G,new l,new H,new lt,new D,new N,new s,new E,new U,new w,new v,new x,new T,new j,new a,new m,new r,new d,new h,new P,new u,new g,new A,new L,new W,new J,new Y,new F,new O,new $,new k,new it,new st,new pt,new It,new bt,new vt,new yt,new mt,new dt,new gt,new Pt,new jt,new St,new Ut,new Zt,new Lt,new zt,new re,new Wt,new kt,new Gt,new Rt,new Jt,new M,new i,new n,new c,new b,new z,new Z,new R,new et,new K,new nt,new X,new rt,new q,new ct,new se,new le,new pe,new Ie,new ce,new ue,new de,new ge,new fe,new he,new me,new be,new ve,new ye,new Me,new Pe,new je,new Te,new Se,new we,new xe,new He,new Ce,new Ne,new De,new Ae,new Ft,new wt,new Ct,new ft,new Vt,new te,new ee,new ae,new ie,new ne,new oe],o}()},function(tt,V,f){f.d(V,"a",function(){return B}),f.d(V,"b",function(){return y});var G=f(14),B=function(){function l(H,D){this.selectedCells=[],this.rows=H,this.tableTatget=D}return l.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},l.prototype.setSingleSelect=function(H){this.startCell=H,this.selectedCells=[]},l.prototype.getSingleSelect=function(){if(this.selectedCells.length){if(this.selectedCells.length==1)return this.selectedCells[0].length==1?this.selectedCells[0][0]:void 0;if(this.selectedCells.length>1)return}return this.startCell},l.prototype.singleSelectByXY=function(H,D){var N=this.getCellByXY(H,D);N&&(this.clear(),N&&(N.cell.select(),this.startCell=N,this.selectedCells=[]))},l.prototype.multipleSelectByXY=function(H,D){this.clear();var N=[];if(this.startCell){var s=this.getCellByXY(H,D);if(s){var x=G.a.mergeRect(this.startCell.cell.getTableRect(),s.cell.getTableRect());this.selectByRect(new p(x),N)}}this.selectedCells=N},l.prototype.selectByRect=function(H,D){this.rows.forEach(function(N,s){var x=[];N.columns.forEach(function(T){T.isInRect(H)&&(x.push(new I(s,T)),T.select())}),x.length&&D.push(x)}),H.changed&&(H.changed=!1,D.splice(0,D.length),this.selectByRect(H,D))},l.prototype.getSelectedCells=function(){return this.selectedCells},l.prototype.getCellByXY=function(H,D){var N;return this.rows.forEach(function(s,x){var T=(s.columns||[]).filter(function(E){return E.checked}).filter(function(E){return E.isXYinCell(H,D)});T.length&&(N=new I(x,T[0]))}),N},l}(),y=function(){return function(l){this.x=l.x,this.y=l.y,this.height=l.height,this.width=l.width}}(),p=function(){return function(l){this.rect=l}}(),I=function(){return function(l,H){this.rowIndex=l,this.cell=H}}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(){}return B.createId=function(){return this.id+=1,this.id},B.id=1,B}()},function(tt,V,f){f.d(V,"a",function(){return I});var G,B=f(5),y=f(13),p=(G=function(H,D){return(G=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(N,s){N.__proto__=s}||function(N,s){for(var x in s)s.hasOwnProperty(x)&&(N[x]=s[x])})(H,D)},function(l,H){function D(){this.constructor=l}G(l,H),l.prototype=H===null?Object.create(H):(D.prototype=H.prototype,new D)}),I=function(l){function H(D){var N=l.call(this)||this;return N.columns=[],D&&D.constructor===Array?(D||[]).forEach(function(s){N.columns.push(new B.a(s))}):D.columns&&(D.columns||[]).forEach(function(s){N.columns.push(new B.a(s))}),N}return p(H,l),H.prototype.getPrintElementOptionEntity=function(){var D=[],N=this.allColumns?this.allColumns.filter(function(s){return!s.checked}):[];return[...this.columns,...N].forEach(function(s){D.push(s.getEntity())}),D},H}(y.a)},function(tt,V,f){f.d(V,"a",function(){return y});var G=f(11),B=f(5),y=function(){function p(){this.id=G.a.createId()}return p.prototype.init=function(I,l,H){this.isHead=H,this.target=l||S.default("<tr></tr>"),this.tableOptions=I,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(D){return D.checked}))},p.prototype.getTarget=function(){return this.target},p.prototype.initCells=function(I){var l=this;I?(this.columns=I,I.forEach(function(H,D){H.init(l.target.find("td:eq("+D+")"),l.tableOptions,l.id,l.isHead)})):(this.columns=[],this.target.find("td").map(function(H,D){var N=new B.a;N.init(S.default(D),l.tableOptions,l.id,l.isHead),l.columns.push(N)}))},p.prototype.removeCell=function(I){var l=this.columns.indexOf(I);this.columns[l].getTarget().remove(),this.columns.splice(l,1)},p.prototype.createTableCell=function(I,l){var H=new B.a;return H.init(S.default("<td></td>"),this.tableOptions,this.id,this.isHead),I>1&&(H.getTarget().attr("rowspan",I),H.rowspan=I),l>1&&(H.getTarget().attr("colspan",l),H.colspan=l),H},p.prototype.insertToTargetCellLeft=function(I,l){var H=this.columns.indexOf(I);I.getTarget().before(l.getTarget()),this.columns.splice(H,0,l)},p.prototype.insertToTargetCellRight=function(I,l){var H=this.columns.indexOf(I);this.columns[H].getTarget().after(l.getTarget()),this.columns.splice(H+1,0,l)},p.prototype.insertCellToFirst=function(I){this.target.prepend(I.getTarget()),this.columns.splice(0,0,I)},p.prototype.insertCellToLast=function(I){this.columns.push(I),this.target.append(I.getTarget())},p.prototype.getPrintElementOptionEntity=function(){var I=[];return[...this.columns,...this.allColumns.filter(function(l){return!l.checked})].forEach(function(l){I.push(l.getEntity())}),I},p}()},function(tt,V,f){f.d(V,"a",function(){return B});var G=f(10),B=function(){function y(){}return y.mergeRect=function(p,I){var l=Math.min(p.x,I.x),H=Math.min(p.y,I.y);return new G.b({x:l,y:H,height:Math.max(p.y+p.height,I.y+I.height)-H,width:Math.max(p.x+p.width,I.x+I.width)-l})},y.Rect=function(p,I,l,H){return{minX:p<l?p:l,minY:I<H?I:H,maxX:p<l?l:p,maxY:I<H?H:I}},y}()},function(tt,V,f){f.d(V,"a",function(){return E});var G=f(4),B=f(1),y=f(6),p=f(0),I=f(8),l=f(18),H=f(7),D=f(16),N=f(20),s=f(2),x=(T=function(w,v){return(T=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(j,a){j.__proto__=a}||function(j,a){for(var m in a)a.hasOwnProperty(m)&&(j[m]=a[m])})(w,v)},function(U,w){function v(){this.constructor=U}T(U,w),U.prototype=w===null?Object.create(w):(v.prototype=w.prototype,new v)}),T,E=function(U){function w(v,j){var a=U.call(this,v)||this;return a.gridColumnsFooterCss="hiprint-gridColumnsFooter",a.tableGridRowCss="table-grid-row",a.options=new l.a(j,a.printElementType),a.options.setDefault(new l.a(B.a.instance.table.default).getPrintElementOptionEntity()),a}return x(w,U),w.prototype.getColumns=function(){return this.options.columns},w.prototype.getColumnByColumnId=function(v){return this.options.getColumnByColumnId(v)},w.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var v=this.designTarget.find(".hiprint-printElement-table-content"),j=this.getHtml(this.designPaper);v.html(""),v.append(j[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},w.prototype.css=function(v,j){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return U.prototype.css.call(this,v,j)},w.prototype.getDesignTarget=function(v){return this.designTarget=this.getHtml(v)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=v,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(a,m){},onDragEnter:function(a,m){S.default(m).removeClass("rn-draggable-item")},onDragLeave:function(a,m){S.default(m).addClass("rn-draggable-item")}}),this.designTarget},w.prototype.getConfigOptions=function(){return B.a.instance.table},w.prototype.createTarget=function(v,j,a){for(var m=S.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),r=this.createGridColumnsStructure(a),d=0;d<r.gridColumns;d++)r.getByIndex(d).append(this.getTableHtml(j,a));return m.find(".hiprint-printElement-table-content").append(r.target),m},w.prototype.createGridColumnsStructure=function(v){for(var j=S.default('<div class="hi-grid-row table-grid-row"></div>'),a=0;a<this.options.getGridColumns();a++){var m=S.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');j.append(m)}var r=this.getGridColumnsFooterFormatter();if(r){var d=S.default('<div class="hiprint-gridColumnsFooter"></div>');d.append(r(this.options,this.getData(v),v,[])),j.append(d)}return new N.a(this.options.getGridColumns(),j)},w.prototype.createtempEmptyRowsTargetStructure=function(v){if(this.getField())return this.createTarget(this.printElementType.title,[]);var j=this.createTarget(this.printElementType.title,[]).clone();return j.find(".hiprint-printElement-tableTarget tbody tr").remove(),j},w.prototype.getTableHtml=function(v,j){var a,m;if(!this.getField()&&this.options.content)return(a=S.default("<div></div>")).append(this.options.content),(m=a.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(a=S.default("<div></div>")).append(this.printElementType.formatter(v)),(m=a.find("table")).addClass("hiprint-printElement-tableTarget"),m;var r=S.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return r.append(H.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),r.append(H.a.createTableRow(this.getColumns(),v,j,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||H.a.createTableFooter(this.printElementType.columns,v,this.options,this.printElementType,j,v).insertBefore(r.find("tbody")),r},w.prototype.getEmptyRowTarget=function(){return H.a.createEmptyRowTarget(this.getColumns(),this)},w.prototype.getHtml=function(v,j){this.createTempContainer();var a=this.getPaperHtmlResult(v,j);return this.removeTempContainer(),a},w.prototype.getPaperHtmlResult=function(v,j){var a=[],m=this.getData(j),r=this.getTableHtml(m,j),d=this.createtempEmptyRowsTargetStructure(j);j?this.updateTargetWidth(d):this.updateTargetSize(d),this.css(d,m),this.css(r,m),this.getTempContainer().html(""),this.getTempContainer().append(d);var h=d.find("tfoot").outerHeight()||0;d.find("tfoot").remove();for(var P,u=this.getBeginPrintTopInPaperByReferenceElement(v),g=0,A=!1;!A;){var L=0,W=v.getPaperFooter(g);g==0&&u>W&&v.panelPageRule!="none"&&(u=u-W+v.paperHeader,a.push(new y.a({target:void 0,printLine:void 0})),L=v.getContentHeight(g)-(u-v.paperHeader),g++,W=v.getPaperFooter(g));var J=a.length>0?a[a.length-1].target:void 0,Y=this.getRowsInSpecificHeight(j,L>0?L:g==0?W-u:v.getContentHeight(g),d,r,g,J,h);if(A=Y.isEnd,L<0){var F=this.options.top;a[0].target=S.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),a[0].printLine=u,a[0].referenceElement=new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:F+this.options.lHeight,printTopInPaper:u}),a[0].target.css("top",F+"pt"),a[0].target.css("left",this.options.displayLeft());break}var O=void 0;Y.target&&(Y.target.css("left",this.options.displayLeft()),Y.target[0].height=""),g==0||L>0?(Y.target&&(P=u,Y.target.css("top",u+"pt")),O=A&&this.options.lHeight!=null?u+(Y.height>this.options.lHeight?Y.height:this.options.lHeight):u+Y.height):(Y.target&&(P=v.paperHeader,Y.target.css("top",v.paperHeader+"pt")),O=v.paperHeader+Y.height),a.push(new y.a({target:Y.target,printLine:O,referenceElement:new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:O,printTopInPaper:P})})),g++,j&&this.updatePanelHeight(O+this.options.getHeight(),v)}return a},w.prototype.getRowsInSpecificHeight=function(v,j,a,m,r,d,h){var P=this,u=m.find("tbody"),g=p.a.pt.toPx(j);a.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&a.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&r>0?a.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(v?a.find(".hiprint-printElement-tableTarget thead").remove():(a.find(".hiprint-printElement-tableTarget thead").css("background","firebrick"),a.find(".hiprint-printElement-tableTarget thead tr").css("background","firebrick")));var A=this.panel.panelPageRule=="none",L;if(v&&A){var W=a.find(".hiprint-printElement-tableTarget thead").attr("style");L=a.find(".hiprint-printElement-tableTarget thead tr").clone(),W?L.attr("style",W):L.css({background:"#e8e8e8"}),a.find(".hiprint-printElement-tableTarget thead").remove()}var J=a.outerHeight();if(!A&&J>g)return{target:void 0,length:0,height:0,isEnd:!1};for(var Y=this.options.getGridColumns(),F=[],O=0;O<Y;O++)for(var $=a.find(".hiprint-printElement-tableTarget:eq("+O+")"),k=void 0,it=[];;){if(A){var st=u.find("tr").length;if(st==0)k={height:p.a.px.toPt(J),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=a.outerHeight());else{var pt=u.find("tr:lt(1)");it.length==0&&L&&$.find("tbody").append(L),$.find("tbody").append(pt);var It=pt.data("rowData");F.push(It),it.push(It),J=a.outerHeight(),st==0&&(u.prepend(pt),F.pop(),it.pop(),k={height:p.a.px.toPt(J),isEnd:!1})}}else if(J<=g)if(u.find("tr").length==0)k={height:p.a.px.toPt(J),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=$.outerHeight());else{var pt=u.find("tr:lt(1)");P.options.rowsColumnsMerge&&(r>0||O>0)&&it.length==0&&(pt=P.fixMergeSpan(pt,u)),$.find("tbody").append(pt);var It=pt.data("rowData");F.push(It),it.push(It),J=$.outerHeight(),((J+=h)>g||this.options.maxRows&&it.length>+this.options.maxRows)&&(u.prepend(pt),F.pop(),it.pop(),J=a.outerHeight(),k={height:p.a.px.toPt(J),isEnd:!1})}if(k){if(this.options.tableFooterRepeat=="last"&&!k.isEnd)break;this.options.tableFooterRepeat!=="no"&&(A?$.find("tbody").append(H.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,it).children()):H.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,it).insertBefore($.find("tbody")),P.css($,v));break}}var bt=a.find(".hiprint-printElement-tableTarget tbody tr").length,vt=this.getGridColumnsFooterFormatter();vt&&a.find(this.gridColumnsFooterCss).html(vt(this.options,this.getData(v),v,F)),J=a.outerHeight();let dt=u.find("tr:lt(1)");if(bt==0&&dt.length&&It==dt.data("rowData")){$.find("tbody").append(dt);let mt=$.find("tbody tr").outerHeight();return u.prepend(dt),{target:S.default('<div style="position:absolute;background: red;color: white;padding: 0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4,\u663E\u793A\u4E0B\u65B9\u5185\u5BB9, \u53EF\u5206\u9875\u9AD8\u5EA6: '+g+"px < \u5F53\u524D\u9700\u8981\u9AD8\u5EA6: "+mt+"px</div>").append(dt.css("background","blue")),length:bt,height:p.a.px.toPt(J),isEnd:!1}}var yt=u.find("tr").length==0?bt==0&&d?{target:void 0,length:0,height:0,isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!1};return yt},w.prototype.fixMergeSpan=function(v,j){var a=this;let m=1,r=!1,d=1,h=!1;return v.nextAll().each(function(P){S.default(this).children().filter("td[rowspan=0]").length>0&&!r?m+=1:r=!0,S.default(this).children().filter("td[colspan=0]").length>0&&!h?d+=1:h=!0}),v.children().each(function(P,u){S.default(u).attr("rowspan")<1&&(S.default(u).attr("rowspan",m),S.default(u).css("display",""),a.options.rowsColumnsMergeClean&&S.default(u).text("")),S.default(u).attr("colspan")<1&&(S.default(u).attr("colspan",d),S.default(u).css("display",""),a.options.rowsColumnsMergeClean&&S.default(u).text(""))}),v},w.prototype.autoCompletion=function(v,j,a){for(var m=this,r,d=this.getEmptyRowTarget(),h=j.outerHeight()+a;v>h&&(r=d.clone(),j.find("tbody").append(r),h=j.outerHeight()+a,!(m.options.maxRows&&j.find("tbody").children().length>m.options.maxRows)););r&&r.remove()},w.prototype.getData=function(v){if(!v)return[{}];var j=this.getField(),a=j&&j.split(".").reduce((m,r)=>m?m[r]:v?v[r]:"",!1)||"";return a?JSON.parse(JSON.stringify(a)):[]},w.prototype.onResize=function(v,j,a,m,r){U.prototype.updateSizeAndPositionOptions.call(this,r,m,a,j),H.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},w.prototype.getReizeableShowPoints=function(){return this.options.showPoints||B.a.instance.table.showPoints},w.prototype.design=function(v,j){var a=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:a.options.axis?a.options.axis:void 0,designTarget:a,onDrag:function(r,d,h){a.updateSizeAndPositionOptions(d,h),a.createLineOfPosition(j),s.a.instance.changed=!0},moveUnit:"pt",minMove:B.a.instance.movingDistance,onBeforeDrag:function(r){s.a.instance.draging=!0,a.createLineOfPosition(j)},getScale:function(){return a.designPaper.scale||1},onStopDrag:function(r){s.a.instance.changed&&p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,"\u79FB\u52A8"),s.a.instance.draging=!1,s.a.instance.changed=!1,a.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:a.getReizeableShowPoints(),showSizeBox:B.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){s.a.instance.draging=!0},getScale:function(){return a.designPaper.scale||1},onResize:function(r,d,h,P,u){a.onResize(r,d,h,P,u),a.hitable&&a.hitable.updateColumnGrips(),a.createLineOfPosition(j)},onStopResize:function(r){p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,r?"\u65CB\u8F6C":"\u5927\u5C0F"),s.a.instance.draging=!1,a.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,j)},w.prototype.setHitable=function(){var v=this;this.hitable=new D.a({templateId:v.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),p.a.event.on("updateTable"+this.hitable.id,function(){v.updateDesignViewFromOptions(),p.a.event.trigger("hiprintTemplateDataChanged_"+v.templateId,"\u8C03\u6574\u8868\u5934")})},w.prototype.setColumnsOptions=function(){var v=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(j){var a=S.default(j.target).attr("id")||S.default(j.target).attr("column-id"),m=v.getColumnByColumnId(a);if(m){var r=v.getPrintElementOptionItemsByName("tableColumn");p.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:r,options:m,callback:function(h){r.forEach(function(P){var u=P.getValue();if(P.name=="title"&&u&&!u.trim().endsWith("#")&&!u.trim().startsWith("#")){var g=u?u.split("#"):"";m.title=g[0],g.length>1&&(m.columnId=m.field=g[1]),m.columnId&&m.target.attr("column-id",m.columnId),P.target.find("textarea").val(g[0]);return}if(P.name=="columnField"){if(m.columnId=m.field=u,m.columnId&&m.target.attr("column-id",m.columnId),v.options.fields){let A=v.options.fields.find(W=>W.field==u);A&&(m.title=A.text);let L=r.find(W=>W.name=="title");L&&L.target.find("textarea").val(m.title)}return}m[P.name]=u})}}]})}else p.a.event.trigger(t.getPrintElementSelectEventKey(),{printElement:t})})},w.prototype.filterOptionItems=function(v){var j=U.prototype.filterOptionItems.call(this,v);return this.printElementType.editable&&this.options.columns.length==1?j:v.filter(function(a){return a.name!="columns"})},w.prototype.getFooterFormatter=function(){var v=void 0;if(this.printElementType.footerFormatter&&(v=this.printElementType.footerFormatter),this.options.footerFormatter)try{var j="footerFormatter="+this.options.footerFormatter;eval2(j)}catch(a){console.log(a)}return v},w.prototype.getGridColumnsFooterFormatter=function(){var v=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(v=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var j="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;v=eval2(j)}catch(a){console.log(a)}return v},w}(G.a)},function(tt,V,f){var G=function(){return function(j){this.table=j.table,this.templateId=j.templateId,this.fields=j.fields,this.isEnableEdit=j.isEnableEdit,this.trs=j.trs,this.resizeRow=j.resizeRow,this.resizeColumn=j.resizeColumn,this.isEnableEditField=j.isEnableEditField,this.isEnableContextMenu=j.isEnableContextMenu,this.isEnableEditField=j.isEnableEditField,this.isEnableInsertRow=j.isEnableInsertRow,this.isEnableDeleteRow=j.isEnableDeleteRow,this.isEnableInsertColumn=j.isEnableInsertColumn,this.isEnableDeleteColumn=j.isEnableDeleteColumn,this.isEnableMergeCell=j.isEnableMergeCell,this.columnResizable=j.columnResizable,this.columnAlignEditable=j.columnAlignEditable}}(),B=function(){function j(a){this.options=new G(a)}return j.prototype.enableEidt=function(){this.options.isEnableEdit},j.prototype.disableEdit=function(){this.options.isEnableEdit},j.prototype.isEnableEdit=function(){return this.options.isEnableEdit},j}(),y=f(0),p=function(){return function(j){this.cell=j.cell,this.link=j.link,this.linkType=j.linkType,this.bottom=j.bottom,this.rightMost=j.rightMost,this.rowLevel=j.rowLevel,this.columnLevel=j.columnLevel,this.indexInTableGridRow=j.indexInTableGridRow,this.indexInTableGridColumn=j.indexInTableGridColumn}}(),I=f(10),l=function(){function j(){}return j.getLeftTableCell=function(a,m){var r;return a.forEach(function(d,h){d.cell&&h<m&&(r=d.cell)}),r},j.getIndex=function(a,m){var r;return a.forEach(function(d,h){d.cell&&d.cell.id==m&&(r=h)}),r},j}(),H=f(13),D=f(11),N=function(){return function(j,a){this.target=j,this.grips=a}}(),s=function(){return function(j){this.target=j}}(),x=function(){return function(){this.rowColumns=[]}}(),T=function(){function j(){}return j.getColumnsWidth=function(a,m){var r={},d=j.allAutoWidth(a);return a.rowColumns.forEach(function(h){var P=m-0,u=h.width/d*(P>0?P:0);r[h.id]=u}),r},j.resizeTableCellWeight=function(a){a.forEach(function(m){m.columns.forEach(function(r){r.hasWidth&&S.default(r.getTarget()).css("width",r.width+"pt")})})},j.allAutoWidth=function(a){var m=0;return a.rowColumns.forEach(function(r){m+=r.width}),m},j.reconsitutionTableColumnTree=function(a,m,r){for(var d=m||new x,h=function(g){d.totalLayer=g+1,d[g]=a[g].columns,d.rowColumns=d.rowColumns.concat(d[g].filter(function(A){return A.rowspan==a.length-g}))},P=0;P<a.length;P++)h(P);return d},j}(),E=f(2),U=function(){function j(a){this.signature="HiTresizer",this.hitable=a,this.rows=a.rows,this.target=a.target}return j.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},j.prototype.resizeTableCellWidth=function(){T.resizeTableCellWeight(this.rows)},j.prototype.addResizeRowAndColumn=function(){},j.prototype.createColumnGrips=function(){var a=this,m=this,r=[],d=S.default('<div class="columngrips"/>');d.width(this.target.width()),this.rows.forEach(function(h){(h.columns||[]).filter(function(P){return P.checked}).forEach(function(P,u){if(P.getTarget().attr("haswidth")){var g=S.default('<div class="columngrip"><div class="gripResizer"></div></div>');d.append(g);var A=new s(g);r.length>0&&(r[r.length-1].nextGrip=A),r.push(A),a.syncGrips(P,A),S.default(g).hidraggable({axis:"h",onDrag:function(W,J,Y){},moveUnit:"pt",minMove:1,getScale:function(){return S.default(".hiprint-printPaper")[0].style.transform&&parseFloat(S.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(W){if(E.a.instance.draging=!0,!A.nextGrip)return!1;m.dragingGrip=A,m.dragingGrip.left=parseFloat(m.dragingGrip.target.css("left").replace("px","")),A.target.addClass("columngripDraging")},onStopDrag:function(W){E.a.instance.draging=!1;var J=parseFloat(m.dragingGrip.target.css("left").replace("px","")),Y=y.a.px.toPt(J-m.dragingGrip.left);A.cell.width+Y<10?Y=10-A.cell.width:A.nextGrip.cell.width-Y<10&&(Y=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+Y,A.nextGrip.cell.width=A.nextGrip.cell.width-Y,a.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(d),this.cgripContariner=new N(d,r)},j.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},j.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},j.prototype.createRowGrips=function(){var a=this,m=this,r=[],d=S.default('<div class="rowgrips"/>');this.rows.forEach(function(h,P){var u=S.default('<div class="rowgrip"><div class="gripResizer"></div></div>');d.append(u);var g=new s(u);r.push(g),P>0&&P<a.rows.length&&S.default(u).hidraggable({axis:"v",onDrag:function(L,W,J){},moveUnit:"pt",minMove:1,onBeforeDrag:function(L){m.dragingGrip=g,m.dragingGrip.top=parseFloat(m.dragingGrip.target.css("top").replace("px","")),g.target.addClass("rowgripDraging")},onStopDrag:function(L){var W=parseFloat(m.dragingGrip.target.css("top").replace("px","")),J=y.a.px.toPt(W-m.dragingGrip.top+m.rows[P].columns[0].getTarget().height());m.rows[P].columns[0].getTarget().css("height",J+"pt"),m.syncRowGrips(),g.target.removeClass("rowgripDraging")}})}),this.target.before(d),this.rgripContariner=new N(d,r),this.syncRowGrips()},j.prototype.syncGrips=function(a,m){var r=a.getTarget();m.cell=a,m.target.css({left:r.offset().left-this.target.offset().left+r.outerWidth(!1),height:30})},j.prototype.syncRowGrips=function(){var a=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(m,r){var d=m.columns[0].getTarget();a.rgripContariner.grips[r].target.css({top:d.offset().top-a.target.offset().top+d.outerHeight(!1),width:30})})},j.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},j}(),w=function(){function j(){}return j.prototype.init=function(){},j.prototype.updateRowGrips=function(){},j.prototype.updateColumnGrips=function(){},j}();f.d(V,"a",function(){return v});var v=function(){function j(a){this.id=D.a.createId(),this.optionsCoat=new B(a),this.handle=a.handle,this.target=a.table,this.initRows(a.rows),this.init(a),this.tableCellSelector=new I.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new U(this):new w,this.resizer.init()}return j.prototype.insertRow=function(a,m,r){var d=m||this.tableCellSelector.getSingleSelect(),h=d.cell,P=this.rows[d.rowIndex],u=d.rowIndex,g=this.getCellGrid(),A=new H.a;if(A.init(this.optionsCoat,void 0,P.isHead),r&&A.getTarget().addClass(r),a=="above")g[u].forEach(function(W){var J=W.link?W.link:W.cell,Y=J.width/J.colspan;if(W.columnLevel==0){var F=A.createTableCell();F.width=Y,A.insertCellToLast(F)}else{if(W.linkType=="column"){var O=W.link.getTarget();W.link.rowspan+=1,O.attr("rowspan",W.link.rowspan)}W.linkType}}),this.rows.splice(u,0,A),P.getTarget().before(A.getTarget()),y.a.event.trigger("newRow"+this.id,A);else{var L=u+h.rowspan-1;g[L].forEach(function(W){var J=W.link?W.link:W.cell,Y=J.width/J.colspan;if(W.bottom){var F=A.createTableCell();F.width=Y,A.insertCellToLast(F)}else{if(W.cell){var O=W.cell.getTarget();W.cell.rowspan+=1,O.attr("rowspan",W.cell.rowspan)}W.linkType=="column"&&(O=W.link.getTarget(),W.link.rowspan+=1,O.attr("rowspan",W.link.rowspan))}}),this.rows.splice(L+1,0,A),this.rows[L].getTarget().after(A.getTarget()),y.a.event.trigger("newRow"+this.id,A)}},j.prototype.insertColumn=function(a,m,r,d){var h=this,P=this.rows.concat(this.trRows),u=m||this.tableCellSelector.getSingleSelect(),g=u.cell,A=u.rowIndex,L=this.getCellGrid(P),W=L[A].filter(function(F){return F.cell&&F.cell.id==g.id||F.link&&F.link.id==g.id});if(a=="left"){var J=W[0].indexInTableGridRow;L.forEach(function(F,O){var $=F[J],k=F.filter(function(It,bt){return bt>=J&&It.cell});if($.rowLevel==0){var it=P[O],st=P[O].createTableCell();r&&st.getTarget().addClass(r),d!=null&&(st.width=d),k.length?it.insertToTargetCellLeft(k[0].cell,st):it.insertCellToLast(st),y.a.event.trigger("newCell"+h.id,st)}else if($.linkType=="row"){var pt=$.link.getTarget();$.link.colspan+=1,pt.attr("colspan",$.link.colspan)}})}else{var Y=W[W.length-1].indexInTableGridRow;L.forEach(function(F,O){var $=F[Y],k=F.filter(function(bt,vt){return vt<=Y&&bt.cell});if($.rightMost){var it=P[O],st=it.createTableCell();r&&st.getTarget().addClass(r),d!=null&&(st.width=d),k.length?it.insertToTargetCellRight(k[k.length-1].cell,st):it.insertCellToFirst(st),y.a.event.trigger("newCell"+h.id,st)}else{var pt=$.link||$.cell;if($.linkType=="row"){var It=pt.getTarget();pt.colspan+=1,It.attr("colspan",pt.colspan)}$.cell&&(It=pt.getTarget(),pt.colspan+=1,It.attr("colspan",pt.colspan))}})}},j.prototype.deleteRow=function(){var a=this,m=this.tableCellSelector.getSingleSelect(),r=(m.cell,this.rows[m.rowIndex],m.rowIndex),d=this.getCellGrid(),h=this.rows[r];d[r].forEach(function(P,u){if(P.cell)if(P.cell.rowspan==1)h.removeCell(P.cell);else{h.removeCell(P.cell);var g=d[r+1].filter(function(J,Y){return J.cell&&Y>u}),A=a.rows[r+1],L=A.createTableCell(P.cell.rowspan-1,P.cell.colspan);g.length?A.insertToTargetCellLeft(g[0].cell,L):A.insertCellToLast(L)}else if(P.linkType=="column"){var W=P.link;W.rowspan-=1,W.getTarget().attr("rowspan",W.rowspan)}}),h.getTarget().remove(),this.rows.splice(r,1)},j.prototype.deleteColums=function(){var a=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),r=m.cell,d=m.rowIndex,h=this.getCellGrid(a),P=h[d].filter(function(u){return u.cell&&u.cell.id==r.id||u.link&&u.link.id==r.id})[0].indexInTableGridRow;h.forEach(function(u,g){var A=u[P];A.cell?A.cell.colspan==1?a[g].removeCell(A.cell):(A.cell.colspan-=1,A.cell.getTarget().attr("colspan",A.cell.colspan)):A.linkType=="row"&&(A.link.colspan-=1,A.link.getTarget().attr("colspan",A.link.colspan))})},j.prototype.mergeCell=function(){var a=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var r=m[0][0].cell;m.forEach(function(d,h){d.forEach(function(P,u){h==0?u!=0&&(r.colspan+=P.cell.colspan,a.rows[P.rowIndex].removeCell(P.cell)):a.rows[P.rowIndex].removeCell(P.cell),u==0&&m[0][0].rowIndex+r.rowspan-1<P.rowIndex&&(r.rowspan+=P.cell.rowspan)})}),r.getTarget().attr("colspan",r.colspan),r.getTarget().attr("rowspan",r.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},j.prototype.splitCell=function(){var a=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),r=l.getIndex(m[a.rowIndex],a.cell.id);if(a){for(var d=a.rowIndex;d<a.rowIndex+a.cell.rowspan;d++)for(var h=this.rows[d],P=d==a.rowIndex?a.cell:l.getLeftTableCell(m[d],r),u=0;u<a.cell.colspan;u++)d==a.rowIndex&&u==0||(P?h.insertToTargetCellRight(P,h.createTableCell()):h.insertCellToFirst(h.createTableCell()));a.cell.rowspan=1,a.cell.colspan=1,a.cell.getTarget().attr("colspan",a.cell.colspan),a.cell.getTarget().attr("rowspan",a.cell.rowspan)}},j.prototype.init=function(a){var m=this;S.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(r){return m.optionsCoat.options.onBeforEdit&&a.onBeforEdit(r)===!1?!1:(m.optionsCoat.editingCell&&m.optionsCoat.editingCell.endEdit(),!0)},S.default(this.target).mousedown(function(r){m.optionsCoat.isLeftMouseButtonDown=!0}),S.default(this.target).mouseup(function(r){m.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(r){r.buttons===1&&m.tableCellSelector.multipleSelectByXY(r.pageX,r.pageY)}).on("mousedown",function(r){r.buttons===1&&m.tableCellSelector.singleSelectByXY(r.pageX,r.pageY)})},j.prototype.initRows=function(a){var m=this;if(this.trRows=[],a){this.rows=a,a.forEach(function(d,h){d.init(m.optionsCoat,m.target.find("tr:eq("+h+")"),!0)});var r=this.optionsCoat.options.trs;r&&this.initRowsByTrs(r).forEach(function(d){m.trRows.push(d)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},j.prototype.initRowsByTrs=function(a){var m=this;return a.map(function(r,d){var h=new H.a;return h.init(m.optionsCoat,S.default(d)),h}).get()},j.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},j.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},j.prototype.getCellGrid=function(a){var m=a||this.rows,r=this.getColumnStep(),d=[];return m.forEach(function(h,P){h.columns.forEach(function(u,g){for(var A=0;A<u.colspan;A++)for(var L=0,W=!1;L<r&&!W;){if(d[P]=d[P]||[],!d[P][L]){d[P][L]=new p({cell:A==0?u:void 0,link:A!=0?u:void 0,linkType:A>0?"row":void 0,rightMost:A==u.colspan-1||void 0,bottom:u.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:L,indexInTableGridColumn:P});for(var J=P+1,Y=1;Y<u.rowspan;Y++)d[J]=d[J]||[],d[J][L]=new p({cell:void 0,link:u,linkType:A>0?"rowColumn":"column",rightMost:A==u.colspan-1||void 0,bottom:Y==u.rowspan-1,rowLevel:A,columnLevel:Y,indexInTableGridRow:L,indexInTableGridColumn:J}),J+=1;W=!0}L++}})}),d},j.prototype.setAlign=function(a){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(a)},j.prototype.setVAlign=function(a){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(a)},j.prototype.getColumnStep=function(a){var m=0;return this.rows.length&&this.rows[a||0].columns.forEach(function(r){m+=r.colspan}),m},j.prototype.initContext=function(){var a=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;S.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("above"),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5728\u4E0B\u65B9\u63D2\u5165\u884C",borderBottom:!0,enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("below"),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u5DE6\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertColumn("left"),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u53F3\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},borderBottom:!0,callback:function(){a.insertColumn("right"),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u884C",enabled:this.optionsCoat.options.isEnableDeleteRow,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length<=1},callback:function(){a.deleteRow(),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u5217",borderBottom:!0,enabled:this.optionsCoat.options.isEnableDeleteColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length>0&&a.rows[0].columns.length<=1},callback:function(){a.deleteColums(),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5BF9\u9F50",borderBottom:!0,enabled:this.optionsCoat.options.columnAlignEditable,menus:[{text:"\u5DE6",callback:function(){a.setAlign("left")}},{text:"\u5DE6\u53F3\u5C45\u4E2D",callback:function(){a.setAlign("center")}},{text:"\u53F3",callback:function(){a.setAlign("right")}},{text:"\u9ED8\u8BA4",borderBottom:!0,callback:function(){a.setAlign("")}},{text:"\u4E0A",callback:function(){a.setVAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){a.setVAlign("middle")}},{text:"\u4E0B",callback:function(){a.setVAlign("bottom")}},{text:"\u9ED8\u8BA4",callback:function(){a.setVAlign("")}}]},{text:"\u5408\u5E76\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){return a.tableCellSelector.getSingleSelect()},callback:function(){a.mergeCell(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u89E3\u5F00\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){var r=a.tableCellSelector.getSingleSelect();return!r||r.cell.rowspan==1&&r.cell.colspan==1},callback:function(){a.splitCell(),y.a.event.trigger("updateTable"+a.id)}}].filter(function(m){return m.enabled})})},j.prototype.getTableWidth=function(){return y.a.px.toPt(this.target.outerWidth(!1))},j.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},j.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},j}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(B,y,p){this.tid=B,this.options=y,this.printElementType=p}}()},function(tt,V,f){var G=f(3),B=f(12),y=function(){return function(D){this.width=D.width,this.title=D.title,this.field=D.field,this.checked=D.checked,this.columnId=D.columnId,this.fixed=!1,this.rowspan=D.rowspan||1,this.colspan=D.colspan||1,this.align=D.align,this.halign=D.halign,this.vAlign=D.vAlign,this.renderFormatter=D.renderFormatter,this.formatter2=D.formatter2,this.styler2=D.styler2,this.stylerHeader=D.stylerHeader,this.tableColumnHeight=D.tableColumnHeight,this.tableTextType=D.tableTextType,this.tableBarcodeMode=D.tableBarcodeMode,this.tableQRCodeLevel=D.tableQRCodeLevel,this.tableSummaryTitle=D.tableSummaryTitle,this.tableSummaryText=D.tableSummaryText,this.tableSummaryColspan=D.tableSummaryColspan,this.tableSummary=D.tableSummary,this.tableSummaryAlign=D.tableSummaryAlign,this.tableSummaryNumFormat=D.tableSummaryNumFormat,this.upperCase=D.upperCase}}(),p=f(5);f.d(V,"a",function(){return H});var I,l=(I=function(N,s){return(I=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(x,T){x.__proto__=T}||function(x,T){for(var E in T)T.hasOwnProperty(E)&&(x[E]=T[E])})(N,s)},function(D,N){function s(){this.constructor=D}I(D,N),D.prototype=N===null?Object.create(N):(s.prototype=N.prototype,new s)}),H=function(D){function N(s,x){var T=this;return s=s||{},(T=D.call(this,s)||this).lHeight=s.lHeight,T.autoCompletion=s.autoCompletion,T.tableFooterRepeat=s.tableFooterRepeat,x&&(T.columns=[],x.editable&&s.columns&&s.columns.length?s.columns.forEach(function(E){var U=[];E.forEach(function(w){var v=new y(w),j=x.getColumnByColumnId(v.columnId),a=j?S.default.extend(j,v):new p.a(v);U.push(a)}),T.columns.push(new B.a(U))}):x.columns.forEach(function(E){T.columns.push(new B.a(E))})),T}return l(N,D),N.prototype.getColumnByColumnId=function(s){return this.makeColumnObj()[s]},N.prototype.makeColumnObj=function(){var s={};return this.columns&&this.columns.forEach(function(x){x.columns.forEach(function(T){(T.id||T.columnId)&&(s[T.id||T.columnId]=T)})}),s},N.prototype.getGridColumns=function(){return this.gridColumns||1},N.prototype.getPrintElementOptionEntity=function(){var s=D.prototype.getPrintElementOptionEntity.call(this);return s.fields=this.fields,this.columns&&(s.columns=[],this.columns.forEach(function(x){var T=x.getPrintElementOptionEntity().map(function(E){return new y(E)});s.columns.push(T)})),s},N}(G.a)},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(){this.rowColumns=[]}}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(y,p){this.gridColumns=y,this.target=p}return B.prototype.getByIndex=function(y){return this.target.find(".hi-grid-col:eq("+y+")")},B}()},function(tt,V,f){tt.exports=f(33)},function(tt,V){(function(f){function G(s){var x=f.data(s.data.target,"hidraggable"),T=x.options,E=x.proxy,U=s.data,w=U.startLeft+(s.pageX-U.startX)/(x.options.getScale()||1),v=U.startTop+(s.pageY-U.startY)/(x.options.getScale()||1);E&&(E.parent()[0]==document.body?(w=T.deltaX!=null&&T.deltaX!=null?s.pageX+T.deltaX:s.pageX-s.data.offsetWidth,v=T.deltaY!=null&&T.deltaY!=null?s.pageY+T.deltaY:s.pageY-s.data.offsetHeight):(T.deltaX!=null&&T.deltaX!=null&&(w+=s.data.offsetWidth+T.deltaX),T.deltaY!=null&&T.deltaY!=null&&(v+=s.data.offsetHeight+T.deltaY))),s.data.parent!=document.body&&(w+=f(s.data.parent).scrollLeft(),v+=f(s.data.parent).scrollTop()),T.axis=="h"?U.left=w:T.axis=="v"||s.shiftKey&&s.altKey?U.top=v:s.shiftKey?U.left=w:(U.left=w,U.top=v)}function B(s){var x=f.data(s.data.target,"hidraggable"),T=x.options,E=x.proxy;E||(E=f(s.data.target)),E.css({left:f.fn.dragLengthC(s.data.left,T),top:f.fn.dragLengthC(s.data.top,T)}),f("body").css("cursor",T.cursor)}function y(s){f.fn.hidraggable.isDragging=!0;var x=f.data(s.data.target,"hidraggable"),T=x.options,E=f(".hidroppable").filter(function(){return s.data.target!=this}).filter(function(){var w=f.data(this,"hidroppable")&&f.data(this,"hidroppable").options.accept;return!w||f(w).filter(function(){return this==s.data.target}).length>0});x.hidroppables=E;var U=x.proxy;return U||(T.proxy?(U=T.proxy=="clone"?f(s.data.target).clone().insertAfter(s.data.target):T.proxy.call(s.data.target,s.data.target),x.proxy=U):U=f(s.data.target)),U.css("position","absolute"),G(s),B(s),T.onStartDrag.call(s.data.target,s),!1}function p(s,x,T,E,U,w){Math.abs(s[T]-x[E])<=HIPRINT_CONFIG.adsorbLineMin?s.v.length?s.v.css("left",s[T]+"pt"):(s.v=S.default("<div class='verLine id-"+s.id+"'></div>"),s.v.css("height",U+"pt"),s.v.css("left",s[T]+"pt"),w.append(s.v)):s.v&&s.v.remove()}function I(s){s&&s.v&&s.v.remove(),S.default(".verLine").remove()}function l(s,x,T,E,U,w){Math.abs(s[T]-x[E])<=HIPRINT_CONFIG.adsorbLineMin?s.h.length?s.h.css("top",s[T]+"pt"):(s.h=S.default("<div class='horLine id-"+s.id+"'></div>"),s.h.css("width",U+"pt"),s.h.css("top",s[T]+"pt"),w.append(s.h)):s.h&&s.h.remove()}function H(s){s&&s.h&&s.h.remove(),S.default(".horLine").remove()}function D(s){var x=f.data(s.data.target,"hidraggable");if(G(s),!(s.ctrlKey||s.metaKey)&&(s.data.target.className.startsWith("resize-panel")||s.data.target.style.zIndex=="2"||s.data.target.className.startsWith("hiprint-printElement"))){var T=s.data;if(f(".mouseRect").length==0&&x.options.designTarget&&x.options.designTarget.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&!h.printElementType.type.includes("table")}).length<=1){let h=window.hinnn.px.toPt(T.left),P=window.hinnn.px.toPt(T.top),u=x.options.designTarget.options;u.left=h,u.top=P,u.right=h+u.width,u.bottom=P+u.height,u.vCenter=h+u.width/2,u.hCenter=P+u.height/2,(()=>{let g=x.options.designTarget.panel.printElements.filter($=>$.id!=x.options.designTarget.id).map($=>{let{left:k,top:it,width:st,height:pt}=$.options,It=k+st,bt=k+st/2,vt=it+pt/2,dt=u.left+u.width/2,yt=u.top+u.height/2,mt=u.left+u.width,gt,Pt,jt,St;return Pt=Math.sqrt(Math.pow(k-u.left,2)+Math.pow(vt-yt,2)),jt=Math.sqrt(Math.pow(bt-dt,2)+Math.pow(vt-yt,2)),St=Math.sqrt(Math.pow(It-mt,2)+Math.pow(vt-yt,2)),gt=Math.min(Pt,jt,St),{...$.options,distance:gt,h:S.default(".horLine.id-"+$.id),v:S.default(".verLine.id-"+$.id),bottom:it+pt,right:k+st,vCenter:bt,hCenter:vt}}).sort(($,k)=>$.distance-k.distance).slice(0,1),A=x.options.designTarget.designPaper,L=A.target.find(".hiprint-printPaper-content"),W=A.width,J=A.height,Y=HIPRINT_CONFIG.showAdsorbLine,F=HIPRINT_CONFIG.adsorbMin,O=HIPRINT_CONFIG.adsorbLineMin;g.forEach(($,k)=>{Math.abs(g[k].left-u.left)<=F?(u.left=g[k].left,I(g[k])):Math.abs(g[k].vCenter-u.left)<=F?(u.left=g[k].vCenter,I(g[k])):Math.abs(g[k].right-u.left)<=F&&(u.left=g[k].right,I(g[k])),Math.abs(g[k].left-u.vCenter)<=F?(u.left=g[k].left-u.width/2,I(g[k])):Math.abs(g[k].vCenter-u.vCenter)<=F?(u.left=g[k].vCenter-u.width/2,I(g[k])):Math.abs(g[k].right-u.vCenter)<=F&&(u.left=g[k].right-u.width/2,I(g[k])),Math.abs(g[k].left-u.right)<=F?(u.left=g[k].left-u.width,I(g[k])):Math.abs(g[k].vCenter-u.right)<=F?(u.left=g[k].vCenter-u.width,I(g[k])):Math.abs(g[k].right-u.right)<=F&&(u.left=g[k].right-u.width,I(g[k])),Math.abs(g[k].top-u.top)<=F?(u.top=g[k].top,H(g[k])):Math.abs(g[k].hCenter-u.top)<=F?(u.top=g[k].hCenter,H(g[k])):Math.abs(g[k].bottom-u.top)<=F&&(u.top=g[k].bottom,H(g[k])),Math.abs(g[k].top-u.hCenter)<=F?(u.top=g[k].top-u.height/2,H(g[k])):Math.abs(g[k].hCenter-u.hCenter)<=F?(u.top=g[k].hCenter-u.height/2,H(g[k])):Math.abs(g[k].bottom-u.hCenter)<=F&&(u.top=g[k].bottom-u.height/2,H(g[k])),Math.abs(g[k].top-u.bottom)<=F?(u.top=g[k].top-u.height,H(g[k])):Math.abs(g[k].hCenter-u.bottom)<=F?(u.top=g[k].hCenter-u.height,H(g[k])):Math.abs(g[k].bottom-u.bottom)<=F&&(u.top=g[k].bottom-u.height,H(g[k])),Y&&(Math.abs(g[k].left-u.left)>F&&Math.abs(g[k].left-u.left)<=O?p(g[k],u,"left","left",J,L):Math.abs(g[k].vCenter-u.left)>F&&Math.abs(g[k].vCenter-u.left)<=O?p(g[k],u,"vCenter","left",J,L):Math.abs(g[k].right-u.left)>F&&Math.abs(g[k].right-u.left)<=O?p(g[k],u,"right","left",J,L):Math.abs(g[k].left-u.vCenter)>F&&Math.abs(g[k].left-u.vCenter)<=O?p(g[k],u,"left","vCenter",J,L):Math.abs(g[k].vCenter-u.vCenter)>F&&Math.abs(g[k].vCenter-u.vCenter)<=O?p(g[k],u,"vCenter","vCenter",J,L):Math.abs(g[k].right-u.vCenter)>F&&Math.abs(g[k].right-u.vCenter)<=O?p(g[k],u,"right","vCenter",J,L):Math.abs(g[k].left-u.right)>F&&Math.abs(g[k].left-u.right)<=O?p(g[k],u,"left","right",J,L):Math.abs(g[k].vCenter-u.right)>F&&Math.abs(g[k].vCenter-u.right)<=O?p(g[k],u,"vCenter","right",J,L):Math.abs(g[k].right-u.right)>F&&Math.abs(g[k].right-u.right)<=O?p(g[k],u,"right","right",J,L):Math.abs(g[k].top-u.top)>F&&Math.abs(g[k].top-u.top)<=O?l(g[k],u,"top","top",W,L):Math.abs(g[k].hCenter-u.top)>F&&Math.abs(g[k].hCenter-u.top)<=O?l(g[k],u,"hCenter","top",W,L):Math.abs(g[k].bottom-u.top)>F&&Math.abs(g[k].bottom-u.top)<=O?l(g[k],u,"bottom","top",W,L):Math.abs(g[k].top-u.hCenter)>F&&Math.abs(g[k].top-u.hCenter)<=O?l(g[k],u,"top","hCenter",W,L):Math.abs(g[k].hCenter-u.hCenter)>F&&Math.abs(g[k].hCenter-u.hCenter)<=O?l(g[k],u,"hCenter","hCenter",W,L):Math.abs(g[k].bottom-u.hCenter)>F&&Math.abs(g[k].bottom-u.hCenter)<=O?l(g[k],u,"bottom","hCenter",W,L):Math.abs(g[k].top-u.bottom)>F&&Math.abs(g[k].top-u.bottom)<=O?l(g[k],u,"top","bottom",W,L):Math.abs(g[k].hCenter-u.bottom)>F&&Math.abs(g[k].hCenter-u.bottom)<=O?l(g[k],u,"hCenter","bottom",W,L):Math.abs(g[k].bottom-u.bottom)>F&&Math.abs(g[k].bottom-u.bottom)<=O?l(g[k],u,"bottom","bottom",W,L):(I(g[k]),H(g[k])))})})(),s.data.left=window.hinnn.pt.toPx(u.left),s.data.top=window.hinnn.pt.toPx(u.top)}var E=T.parent.className.endsWith("design")?T.parent:T.parent.offsetParent,U=E.clientWidth,w=E.clientHeight,v=T.target.clientWidth,j=T.target.clientHeight,a=0,m=0;if(x.options.designTarget&&x.options.designTarget.options.transform){var r=x.options.designTarget.options.getRectInfo();a=window.hinnn.pt.toPx(r.diffW),m=window.hinnn.pt.toPx(r.diffH)}T.left<0-a?T.left=0-a:T.left>=U-v+a&&(T.left=U-v+a),T.top<0-m?T.top=0-m:T.top>=w-j+m&&(T.top=w-j+m),s.data=T}x.options.onDrag.call(s.data.target,s,f.fn.dragLengthCNum(s.data.left,x.options),f.fn.dragLengthCNum(s.data.top,x.options))!=0&&B(s);var d=s.data.target;return x.hidroppables.each(function(){var h=f(this);if(!h.hidroppable("options").disabled){var P=h.offset();s.pageX>P.left&&s.pageX<P.left+h.outerWidth()&&s.pageY>P.top&&s.pageY<P.top+h.outerHeight()?(this.entered||(f(this).trigger("_dragenter",[d]),this.entered=!0),f(this).trigger("_dragover",[d])):this.entered&&(f(this).trigger("_dragleave",[d]),this.entered=!1)}}),!1}function N(s){f.fn.hidraggable.isDragging=!1,I(),H();var x,T,E=f.data(s.data.target,"hidraggable"),U=E.proxy,w=E.options;w.revert?j()==1?f(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}):U?(U.parent()[0]==document.body?(x=s.data.startX-s.data.offsetWidth,T=s.data.startY-s.data.offsetHeight):(x=s.data.startLeft,T=s.data.startTop),U.animate({left:x,top:T},function(){v()})):f(s.data.target).animate({left:s.data.startLeft,top:s.data.startTop},function(){f(s.data.target).css("position",s.data.startPosition)}):(f(s.data.target).css({position:"absolute",left:f.fn.dragLengthC(s.data.left,w),top:f.fn.dragLengthC(s.data.top,w)}),j());function v(){U&&U.remove(),E.proxy=null}function j(){var a=!1;return E.hidroppables.each(function(){var m=f(this);if(!m.hidroppable("options").disabled){var r=m.offset();return s.pageX>r.left&&s.pageX<r.left+m.outerWidth()&&s.pageY>r.top&&s.pageY<r.top+m.outerHeight()?(w.revert&&f(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}),f(this).trigger("_drop",[s.data.target]),v(),a=!0,this.entered=!1,!1):void 0}}),a||w.revert||v(),a}return w.onStopDrag.call(s.data.target,s),f(document).unbind(".hidraggable"),setTimeout(function(){f("body").css("cursor","")},100),!1}f.fn.hidraggable=function(s,x){return typeof s=="string"?f.fn.hidraggable.methods[s](this,x):this.each(function(){var T,E=f.data(this,"hidraggable");E?(E.handle.unbind(".hidraggable"),T=f.extend(E.options,s)):T=f.extend({},f.fn.hidraggable.defaults,f.fn.hidraggable.parseOptions(this),s||{});var U=T.handle?typeof T.handle=="string"?f(T.handle,this):T.handle:f(this);function w(v){var j=f.data(v.data.target,"hidraggable"),a=j.handle,m=f(a).offset(),r=f(a)[0].style.transform&&parseInt(f(a)[0].style.transform.slice(7,-1)),d=j.options.getScale(),h=f(a).outerWidth(),P=f(a).outerHeight();if(r){var u=r*Math.PI/180,g=f(a).outerWidth(),A=f(a).outerHeight(),L=Math.sin(u),W=Math.cos(u);h=Math.abs(g*W)+Math.abs(A*L),P=Math.abs(g*L)+Math.abs(A*W)}d&&(h*=d,P*=d);var J=v.pageY-m.top,Y=m.left+h-v.pageX,F=m.top+P-v.pageY,O=v.pageX-m.left;return Math.min(J,Y,F,O)>j.options.edge}f.data(this,"hidraggable",{options:T,handle:U}),T.disabled?f(this).css("cursor",""):U.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(v){if(!f.fn.hidraggable.isDragging){var j=f.data(v.data.target,"hidraggable").options;w(v)?f(this).css("cursor",j.cursor):f(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(v){f(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(v){if(w(v)!=0){f(this).css("cursor","");var j=f(v.data.target).position(),a=f(v.data.target).offset(),m={startPosition:f(v.data.target).css("position"),startLeft:j.left,startTop:j.top,left:j.left,top:j.top,startX:v.pageX,startY:v.pageY,offsetWidth:v.pageX-a.left,offsetHeight:v.pageY-a.top,target:v.data.target,parent:f(v.data.target).parent()[0]},r=f.data(v.data.target,"hidraggable");if(r.options.draggable===!1||v.target.className=="r resizebtn")return;var d=r.options.getScale();d&&(m.left/=d,m.top/=d,m.startLeft/=d,m.startTop/=d);var h=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(h){var P=h*Math.PI/180,u=f(v.data.target).outerWidth(),g=f(v.data.target).outerHeight(),A=Math.sin(P),L=Math.cos(P),W=Math.abs(u*L)+Math.abs(g*A),J=Math.abs(u*A)+Math.abs(g*L),Y=(W-u)/2,F=(J-g)/2;m.left+=Y,m.top+=F,m.startLeft+=Y,m.startTop+=F}f.extend(v.data,m),f.data(v.data.target,"hidraggable").options.onBeforeDrag.call(v.data.target,v)!=0&&(f(document).bind("mousedown.hidraggable",v.data,y),f(document).bind("mousemove.hidraggable",v.data,D),f(document).bind("mouseup.hidraggable",v.data,N))}})})},f.fn.hidraggable.methods={options:function(x){return f.data(x[0],"hidraggable").options},update:function(x,T){T&&typeof T=="object"&&f.data(x[0],"hidraggable")&&Object.keys(T).forEach(function(E){f.data(x[0],"hidraggable").options[E]=T[E]})},proxy:function(x){return f.data(x[0],"hidraggable").proxy},enable:function(x){return x.each(function(){f(this).hidraggable({disabled:!1})})},disable:function(x){return x.each(function(){f(this).hidraggable({disabled:!0})})}},f.fn.hidraggable.parseOptions=function(s){var x=f(s);return f.extend({},f.hiprintparser.parseOptions(s,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!x.attr("disabled")||void 0})},f.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(x){},onBeforeDrag:function(x){},onStartDrag:function(x){},onDrag:function(x){},onStopDrag:function(x){}},f.fn.hidraggable.isDragging=!1})(jQuery)},function(tt,V){(function(f){f.fn.hidroppable=function(G,B){return typeof G=="string"?f.fn.hidroppable.methods[G](this,B):(G=G||{},this.each(function(){var y,p=f.data(this,"hidroppable");p?f.extend(p.options,G):(f(y=this).addClass("hidroppable"),f(y).bind("_dragenter",function(I,l){f.data(y,"hidroppable").options.onDragEnter.apply(y,[I,l])}),f(y).bind("_dragleave",function(I,l){f.data(y,"hidroppable").options.onDragLeave.apply(y,[I,l])}),f(y).bind("_dragover",function(I,l){f.data(y,"hidroppable").options.onDragOver.apply(y,[I,l])}),f(y).bind("_drop",function(I,l){f.data(y,"hidroppable").options.onDrop.apply(y,[I,l])}),f.data(this,"hidroppable",{options:f.extend({},f.fn.hidroppable.defaults,f.fn.hidroppable.parseOptions(this),G)}))}))},f.fn.hidroppable.methods={options:function(B){return f.data(B[0],"hidroppable")&&f.data(B[0],"hidroppable").options||{}},enable:function(B){return B.each(function(){f(this).hidroppable({disabled:!1})})},disable:function(B){return B.each(function(){f(this).hidroppable({disabled:!0})})}},f.fn.hidroppable.parseOptions=function(G){var B=f(G);return f.extend({},f.hiprintparser.parseOptions(G,["accept"]),{disabled:!!B.attr("disabled")||void 0})},f.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(B,y){},onDragOver:function(B,y){},onDragLeave:function(B,y){},onDrop:function(B,y){}}})(jQuery)},function(tt,V){var f;(f=jQuery).hiprintparser={parseOptions:function(B,y){var p=f(B),I={},l=f.trim(p.attr("data-options"));if(l&&(l.substring(0,1)!="{"&&(l="{"+l+"}"),I=new Function("return "+l)()),y){for(var H={},D=0;D<y.length;D++){var N=y[D];if(typeof N=="string")H[N]=N=="width"||N=="height"||N=="left"||N=="top"?parseInt(B.style[N])||void 0:p.attr(N);else for(var s in N){var x=N[s];x=="boolean"?H[s]=p.attr(s)?p.attr(s)=="true":void 0:x=="number"&&(H[s]=p.attr(s)=="0"?0:parseFloat(p.attr(s))||void 0)}}f.extend(I,H)}return I}},f.fn.dragLengthC=function(G,B){return B.moveUnit=="pt"?f.fn.dragLengthCNum(G,B)+"pt":f.fn.dragLengthCNum(G,B)},f.fn.dragLengthCNum=function(G,B){var y=3;if(B.moveUnit=="pt"){var p=.75*G;return B.minMove&&(y=B.minMove),Math.round(p/y)*y}return Math.round(p/y)*y}},function(tt,V){var f,G,B;f=jQuery,G={maxPanelIndex:0},(B=function(p){this.options=f.data(p.target,"hireizeable").options,this.init(p.target)}).prototype={numHandlerText:function(p){return this.numHandler(p)+"pt"},numHandler:function(p){var I=1.5,l=.75*p;return this.options.minResize&&(I=this.options.minResize),Math.round(l/I)*I},init:function(p){var I=this;if(p.className.includes("hiprint-printElement")){this.initResizeBox(p);var l=new ResizeObserver((H,D)=>{I.refreshSizeBox(f(p))});l.observe(p)}},initResizeBox:function(p){var I=this;f(p).each(function(){var l;G.maxPanelIndex+=1,I.options.noContainer?l=f(p):l=f("<div panelIndex="+G.maxPanelIndex+' class="resize-panel"></div>'),I.appendHandler(l,f(this));var H={name:"n",target:f('<div class="resizebtn n"/>')},D={name:"s",target:f('<div class="resizebtn s"/>')},N={name:"w",target:f('<div class="resizebtn w"/>')},s={name:"e",target:f('<div class="resizebtn e"/>')},x={name:"ne",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},T={name:"nw",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},E={name:"se",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},U={name:"sw",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},w={name:"r",target:f('<div class="resizebtn r"/>')},v={name:"why",target:f('<div class="resizebtn why"/>')},j=f('<div class="size-box"></div>'),a=f('<div class="del-btn">\u2715</div>'),m=function(){var h=[v.target],P=I.options.showPoints;return f.each([w,H,D,N,s,x,T,E,U],function(u,g){f.inArray(g.name,P)>-1&&h.push(g.target)}),h};I.refreshSizeBox(void 0,j,l),I.options.draggable!=!1&&(l.append(a),l.on("mousedown",".del-btn",()=>{var d=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});p.dispatchEvent(d)})),I.appendHandler(m(),l),I.bindResizeEvent(l,f(this));var r=f(this);f(l).on("mousedown",".resizebtn",function(){r.addClass("resizeing")}),f(".easyui-droppable").on("mouseup",function(){r.removeClass("resizeing")}),I.bindTrigger(f(this))}),I.bindHidePanel()},addHandlerCss:function(p){for(var I=0;I<p.length;I++)p[I].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(p,I){I.find(".resize-panel").remove();for(var l=0;l<p.length;l++)I.append(p[l])},refreshSizeBox:function(p,I,l){if(!!this.options.showSizeBox){if(I)l.append(I);else if(p&&p.length){var H=p.height(),D=p[0].clientHeight,N=p.width(),s=p[0].clientWidth;H<=40?(f.each([".ne",".nw",".se",".sw"],function(E,U){var w=D-30;p.find(U).css("height",w>0?w:0),p.find(U).css("width",w>0?w:0),w<=0&&(U.includes("n")&&p.find(U).css("border-top","none"),U.includes("s")&&p.find(U).css("border-bottom","none"),U.includes("e")&&p.find(U).css("border-right","none"),U.includes("w")&&p.find(U).css("border-left","none"))}),f.each([".e",".w"],function(E,U){var w=D-30;p.find(U).css("height",w>0?w:10),p.find(U).css("top",D/2-(w>0?w:10)/2)})):f.each([".e",".w"],function(E,U){p.find(U).css("top",D/2-p.find(U).height()/2)}),N<=40?(f.each([".ne",".nw",".se",".sw"],function(E,U){var w=s-30;p.find(U).css("height",w>0?w:0),p.find(U).css("width",w>0?w:0),w<=0&&(U.includes("n")&&p.find(U).css("border-top","none"),U.includes("s")&&p.find(U).css("border-bottom","none"),U.includes("e")&&p.find(U).css("border-right","none"),U.includes("w")&&p.find(U).css("border-left","none"))}),f.each([".n",".s"],function(E,U){let w=s-30;p.find(U).css("width",w>0?w:10),p.find(U).css("left",s/2-(w>0?w:10)/2)})):f.each([".n",".s",".r"],function(E,U){U==".r",p.find(U).css("left",s/2-p.find(U).width()/2)}),D>40&&s>40&&(f.each([".ne",".nw",".se",".sw"],function(E,U){U.includes("n")&&p.find(U).css("border-top",""),U.includes("s")&&p.find(U).css("border-bottom",""),U.includes("e")&&p.find(U).css("border-right",""),U.includes("w")&&p.find(U).css("border-left","")}),f.each([".n",".s"],function(E,U){p.find(U).css("width","")}))}var x,T;if(p&&p.length)x=p[0].style,T=p.children("div[panelindex]").find(".size-box");else if(l&&l.parent()){var p=l.parent();if(p.hasClass("hiprint-printPaper-content"))return;x=p[0].style,x.width||(x.width=hinnn.px.toPt(p[0].offsetWidth)+"pt"),x.height||(x.height=hinnn.px.toPt(p[0].offsetHeight)+"pt"),T=p.children("div[panelindex]").find(".size-box")}T&&(T.text(x.width+" x "+x.height),T.css("top",-(T.outerHeight()||20)))}},triggerResize:function(p,I){I.ctrlKey||I.metaKey||(p.siblings().children("div[panelindex]").removeClass("selected"),p.siblings().children("div[panelindex]").css({display:"none"})),p.children("div[panelindex]").addClass("selected"),p.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(p)},bindResizeEvent:function(p,I){var l=this,H=0,D=0,N=p.width(),s=p.height(),x=p.offset().left,T=p.offset().top,E=l.options.noContainer?f(I):p.parent(),U=!1;p.on("mousedown",".e",function(u){H=u.pageX,N=p.width(),U=!0,u.stopPropagation()});var w=!1;p.on("mousedown",".s",function(u){D=u.pageY,s=p.height(),w=!0,u.stopPropagation()});var v=!1;p.on("mousedown",".w",function(u){H=u.pageX,N=p.width(),v=!0,x=E.position().left,u.stopPropagation()});var j=!1;p.on("mousedown",".n",function(u){D=u.pageY,s=p.height(),j=!0,T=E.position().top,u.stopPropagation()});var a=!1;p.on("mousedown",".ne",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),a=!0,T=E.position().top,u.stopPropagation()});var m=!1;p.on("mousedown",".nw",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),T=E.position().top,x=E.position().left,m=!0,u.stopPropagation()});var r=!1;p.on("mousedown",".se",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),r=!0,u.stopPropagation()});var d=!1;p.on("mousedown",".sw",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),d=!0,x=E.position().left,u.stopPropagation()});var h=!1;p.on("mousedown",".r",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),h=!0,x=N/2+E.position().left,T=s/2+E.position().top,u.stopPropagation()}),p.on("dblclick",".r",function(u){E.css({transform:"rotate("+0+"deg)"}),l.options.onResize(u,void 0,void 0,void 0,void 0,0),u.stopPropagation()});var P=!1;p.on("mousedown",function(u){l.options.onBeforeResize(),H=u.pageX,D=u.pageY,T=E.position().top,x=E.position().left,P=!1}),f(l.options.stage).on("mousemove",function(u){if(U){var g=(u.pageX-H)/l.options.getScale();p.css({width:"100%"}),E.css({width:l.numHandlerText(N+g)}),l.options.onResize(u,void 0,l.numHandler(N+g),void 0,void 0)}else if(w){var A=(u.pageY-D)/l.options.getScale();p.css({height:"100%"}),E.css({height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),void 0,void 0,void 0)}else if(h){p.css({height:"100%"});var L=u.pageX;u.pageY;var W=(L-H)*360/100;H=u.pageX;var J=E[0].style.transform&&parseInt(E[0].style.transform.slice(7,-1))||0,Y=J+W;Math.abs(Y)>360&&(Y=Y%360),E.css({transform:"rotate("+Y+"deg)"}),l.options.onResize(u,void 0,void 0,void 0,void 0,Y)}else if(v)g=(u.pageX-H)/l.options.getScale(),p.css({width:"100%"}),E.css({width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(u,void 0,l.numHandler(N-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else if(j)A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%"}),E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A)}),l.options.onResize(u,l.numHandler(s-A),void 0,l.options.noDrag?void 0:l.numHandler(T+A),void 0);else if(a)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),u.shiftKey)E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A),width:l.numHandlerText(N+g)}),l.options.onResize(u,l.numHandler(s-A),l.numHandler(N+g),l.options.noDrag?void 0:l.numHandler(T+A),void 0);else{var F=s/N,O=N+g,$=s-A,k=T+A;$=O*F,k=T+A+s-A-$,E.css({width:l.numHandlerText(O),height:l.numHandlerText($),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),l.options.noDrag?void 0:l.numHandler(k),void 0)}else if(m)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),u.shiftKey)E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A),width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(u,l.numHandler(s-A),l.numHandler(N-g),l.options.noDrag?void 0:l.numHandler(T+A),l.options.noDrag?void 0:l.numHandler(x+g));else{var F=s/N,O=N-g,$=s-A,it=x+g,k=T+A;$=O*F,it=x+g,k=T+A+s-A-$,E.css({width:l.numHandlerText(O),height:l.numHandlerText($),left:l.numHandlerText(l.options.noDrag?void 0:it),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),l.options.noDrag?void 0:l.numHandler(k),l.options.noDrag?void 0:l.numHandler(it))}else if(r)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),u.shiftKey)E.css({width:l.numHandlerText(N+g),height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),l.numHandler(N+g),void 0,void 0);else{var F=s/N,O=N+g,$=s+A;$=O*F,E.css({width:l.numHandlerText(O),height:l.numHandlerText($)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),void 0,void 0)}else if(d)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),u.shiftKey)E.css({width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g),height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),l.numHandler(N-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else{var F=s/N,O=N-g,$=s+A,it=x+g;$=O*F,E.css({width:l.numHandlerText(O),left:l.numHandlerText(l.options.noDrag?void 0:it),height:l.numHandlerText($)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),void 0,l.options.noDrag?void 0:l.numHandler(it))}else P&&(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),E.css({left:l.numHandlerText(l.options.noDrag?void 0:x+g),top:l.numHandlerText(l.options.noDrag?void 0:T+A)}),l.options.onResize(u,void 0,void 0,l.options.noDrag?void 0:l.numHandler(T+A),l.options.noDrag?void 0:l.numHandler(x+g)))}).on("mouseup",function(u){(U||w||v||j||a||m||d||r||P||h)&&l.options.onStopResize(h),U=!1,w=!1,v=!1,j=!1,a=!1,m=!1,d=!1,r=!1,P=!1,h=!1})},bindTrigger:function(p){var I=this;p.on("click",function(l){l.stopPropagation(),I.triggerResize(p,l),f(".mouseRect").remove()})},bindHidePanel:function(p){if(G.maxPanelIndex<2){var I=this.options.stage;f(I).bind("click",function(l){l.target.className&&Tt(l.target.className)=="string"&&(l.target.className.includes("design")||l.target.className.includes("hiprint-printPaper-content")||l.target.className.includes("paperBox"))&&(l.stopPropagation(),f("div[panelindex]").css({display:"none"}),f("div[panelindex]").removeClass("selected"))})}}},f.fn.extend({hireizeable:function(p){return this.each(function(){var I,l=f.data(this,"hireizeable");I=l?f.extend({},l.options,p||{}):f.extend({},f.fn.hireizeable.defaults,p||{}),f.data(this,"hireizeable",{options:I}),new B({target:this,onResize:function(D,N,s,x,T){},onStopResize:function(D,N,s,x,T){}})})}}),f.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(p,I,l,H,D){},onResize:function(p,I,l,H,D){},onStopResize:function(p,I,l,H,D){},noDrag:!1}},function(tt,V){var f,G;jQuery,f="connected",G="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(y){return window.io},send:function(y){try{this.socket.emit("news",y)}catch(p){console.log("send data error:"+(y||"")+JSON.stringify(p))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(y){console.log("refreshPrinterList error:"+JSON.stringify(y))}},getAddress:function(y,...p){try{this.socket.emit("address",y,...p)}catch(I){console.log("getAddress error:"+JSON.stringify(I))}},ippPrint:function(y){try{this.socket.emit("ippPrint",y)}catch(p){console.log("ippPrint error:"+JSON.stringify(p))}},ippRequest:function(y){try{this.socket.emit("ippRequest",y)}catch(p){console.log("ippRequest error:"+JSON.stringify(p))}},setHost:function(B,y){window.utools?this.host2=host2:this.host=B,this.stop(),this.start(y)},start:function(y){var p=this,I=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(l){I.opened=!0,console.log("Websocket opened."),p.socket.on("successs",function(H){hinnn.event.trigger("printSuccess_"+H.templateId,H)}),p.socket.on("error",function(H){hinnn.event.trigger("printError_"+H.templateId,H)}),p.socket.on("printerList",function(H){I.printerList=H,hinnn.event.trigger("printerList",H)}),p.socket.on("address",function(H,D,N){hinnn.event.trigger("address_"+H,{addr:D,e:N})}),p.socket.on("ippPrinterConnected",function(H){hinnn.event.trigger("ippPrinterConnected",H)}),p.socket.on("ippPrinterCallback",function(H,D){hinnn.event.trigger("ippPrinterCallback",{err:H,res:D})}),p.socket.on("ippRequestCallback",function(H,D){hinnn.event.trigger("ippRequestCallback",{err:H,res:D})}),I.state=f,y&&y(!0,l)}),this.socket.on("disconnect",function(){I.opened=!1,y&&y(!1)})):console.log("WebSocket start fail"),y&&y(!1)},reconnect:function(){this.state!==f&&this.state!==G||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=G,this.state===G}}},function(tt,V,f){var G=f(28);typeof G=="string"&&(G=[[tt.i,G,""]]);var B={hmr:!0,transform:void 0,insertInto:void 0};f(30)(G,B),G.locals&&(tt.exports=G.locals)},function(tt,V,f){(tt.exports=f(29)(!1)).push([tt.i,"",""])},function(tt,V,f){tt.exports=function(G){var B=[];return B.toString=function(){return this.map(function(y){var p=function(I,l){var H=I[1]||"",D=I[3];if(!D)return H;if(l&&typeof btoa=="function"){var N=(x=D,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(x))))+" */"),s=D.sources.map(function(T){return"/*# sourceURL="+D.sourceRoot+T+" */"});return[H].concat(s).concat([N]).join(`
1567
- `)}var x;return[H].join(`
1568
- `)}(y,G);return y[2]?"@media "+y[2]+"{"+p+"}":p}).join("")},B.i=function(y,p){typeof y=="string"&&(y=[[null,y,""]]);for(var I={},l=0;l<this.length;l++){var H=this[l][0];H!=null&&(I[H]=!0)}for(l=0;l<y.length;l++){var D=y[l];D[0]!=null&&I[D[0]]||(p&&!D[2]?D[2]=p:p&&(D[2]="("+D[2]+") and ("+p+")"),B.push(D))}},B}},function(tt,V,f){var G,B,y={},p=(G=function(){return window&&document&&document.all&&!window.atob},function(){return B===void 0&&(B=G.apply(this,arguments)),B}),I=function(r){var d={};return function(h,P){if(typeof h=="function")return h();if(d[h]===void 0){var u=function(g,A){return A?A.querySelector(g):document.querySelector(g)}.call(this,h,P);if(window.HTMLIFrameElement&&At(u,window.HTMLIFrameElement))try{u=u.contentDocument.head}catch{u=null}d[h]=u}return d[h]}}(),l=null,H=0,D=[],N=f(31);function s(r,d){for(var h=0;h<r.length;h++){var P=r[h],u=y[P.id];if(u){u.refs++;for(var g=0;g<u.parts.length;g++)u.parts[g](P.parts[g]);for(;g<P.parts.length;g++)u.parts.push(v(P.parts[g],d))}else{var A=[];for(g=0;g<P.parts.length;g++)A.push(v(P.parts[g],d));y[P.id]={id:P.id,refs:1,parts:A}}}}function x(r,d){for(var h=[],P={},u=0;u<r.length;u++){var g=r[u],A=d.base?g[0]+d.base:g[0],L={css:g[1],media:g[2],sourceMap:g[3]};P[A]?P[A].parts.push(L):h.push(P[A]={id:A,parts:[L]})}return h}function T(r,d){var h=I(r.insertInto);if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var P=D[D.length-1];if(r.insertAt==="top")P?P.nextSibling?h.insertBefore(d,P.nextSibling):h.appendChild(d):h.insertBefore(d,h.firstChild),D.push(d);else if(r.insertAt==="bottom")h.appendChild(d);else{if(Tt(r.insertAt)!="object"||!r.insertAt.before)throw new Error(`[Style Loader]
1571
+ </div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}();r.d(L,"a",function(){return je});var je=function(){function n(){}return n.init=function(){n.printElementOptionItems||(n.printElementOptionItems={},n._printElementOptionItems.forEach(function(t){n.printElementOptionItems[t.name]=t}))},n.registerItem=function(t){if(!t.name)throw new Error("styleItem must have name");n.init(),n.printElementOptionItems[t.name]=t},n.getItem=function(t){return n.init(),n.printElementOptionItems[t]},n._printElementOptionItems=[new w,new b,new l,new h,new B,new g,new E,new It,new D,new v,new u,new N,new U,new x,new j,new S,new C,new T,new o,new m,new a,new I,new f,new P,new c,new d,new A,new z,new k,new F,new X,new V,new K,new tt,new G,new it,new lt,new pt,new ut,new bt,new vt,new dt,new ft,new gt,new yt,new Pt,new jt,new St,new Ct,new Nt,new Dt,new At,new Et,new Xt,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new M,new e,new i,new p,new Z,new y,new W,new J,new et,new Q,new nt,new O,new rt,new ot,new $t,new Kt,new qt,new te,new ee,new ie,new ne,new oe,new le,new ae,new re,new se,new pe,new ue,new Ie,new ce,new de,new he,new ge,new me,new fe,new be,new ve,new ye,new Me,new Pe,new xt,new ht,new Tt,new st,new kt,new Gt,new Jt,new Qt,new Ft,new Vt,new Yt,new Ot],n}()},function(R,L,r){r.d(L,"a",function(){return w}),r.d(L,"b",function(){return b});var B=r(14),w=function(){function g(E,D){this.selectedCells=[],this.rows=E,this.tableTatget=D}return g.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},g.prototype.setSingleSelect=function(E){this.startCell=E,this.selectedCells=[]},g.prototype.getSingleSelect=function(){if(this.selectedCells.length){if(this.selectedCells.length==1)return this.selectedCells[0].length==1?this.selectedCells[0][0]:void 0;if(this.selectedCells.length>1)return}return this.startCell},g.prototype.singleSelectByXY=function(E,D){var v=this.getCellByXY(E,D);v&&(this.clear(),v&&(v.cell.select(),this.startCell=v,this.selectedCells=[]))},g.prototype.multipleSelectByXY=function(E,D){this.clear();var v=[];if(this.startCell){var u=this.getCellByXY(E,D);if(u){var S=B.a.mergeRect(this.startCell.cell.getTableRect(),u.cell.getTableRect());this.selectByRect(new l(S),v)}}this.selectedCells=v},g.prototype.selectByRect=function(E,D){this.rows.forEach(function(v,u){var S=[];v.columns.forEach(function(C){C.isInRect(E)&&(S.push(new h(u,C)),C.select())}),S.length&&D.push(S)}),E.changed&&(E.changed=!1,D.splice(0,D.length),this.selectByRect(E,D))},g.prototype.getSelectedCells=function(){return this.selectedCells},g.prototype.getCellByXY=function(E,D){var v;return this.rows.forEach(function(u,S){var C=(u.columns||[]).filter(function(N){return N.checked}).filter(function(N){return N.isXYinCell(E,D)});C.length&&(v=new h(S,C[0]))}),v},g}(),b=function(){return function(g){this.x=g.x,this.y=g.y,this.height=g.height,this.width=g.width}}(),l=function(){return function(g){this.rect=g}}(),h=function(){return function(g,E){this.rowIndex=g,this.cell=E}}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(){}return w.createId=function(){return this.id+=1,this.id},w.id=1,w}()},function(R,L,r){r.d(L,"a",function(){return h});var B,w=r(5),b=r(13),l=(B=function(E,D){return(B=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(v,u){v.__proto__=u}||function(v,u){for(var S in u)u.hasOwnProperty(S)&&(v[S]=u[S])})(E,D)},function(g,E){function D(){this.constructor=g}B(g,E),g.prototype=E===null?Object.create(E):(D.prototype=E.prototype,new D)}),h=function(g){function E(D){var v=g.call(this)||this;return v.columns=[],D&&D.constructor===Array?(D||[]).forEach(function(u){v.columns.push(new w.a(u))}):D.columns&&(D.columns||[]).forEach(function(u){v.columns.push(new w.a(u))}),v}return l(E,g),E.prototype.getPrintElementOptionEntity=function(){var D=[],v=this.allColumns?this.allColumns.filter(function(u){return!u.checked}):[];return[...this.columns,...v].forEach(function(u){D.push(u.getEntity())}),D},E}(b.a)},function(R,L,r){r.d(L,"a",function(){return b});var B=r(11),w=r(5),b=function(){function l(){this.id=B.a.createId()}return l.prototype.init=function(h,g,E){this.isHead=E,this.target=g||$__default.default("<tr></tr>"),this.tableOptions=h,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(D){return D.checked}))},l.prototype.getTarget=function(){return this.target},l.prototype.initCells=function(h){var g=this;h?(this.columns=h,h.forEach(function(E,D){E.init(g.target.find("td:eq("+D+")"),g.tableOptions,g.id,g.isHead)})):(this.columns=[],this.target.find("td").map(function(E,D){var v=new w.a;v.init($__default.default(D),g.tableOptions,g.id,g.isHead),g.columns.push(v)}))},l.prototype.removeCell=function(h){var g=this.columns.indexOf(h);this.columns[g].getTarget().remove(),this.columns.splice(g,1)},l.prototype.createTableCell=function(h,g){var E=new w.a;return E.init($__default.default("<td></td>"),this.tableOptions,this.id,this.isHead),h>1&&(E.getTarget().attr("rowspan",h),E.rowspan=h),g>1&&(E.getTarget().attr("colspan",g),E.colspan=g),E},l.prototype.insertToTargetCellLeft=function(h,g){var E=this.columns.indexOf(h);h.getTarget().before(g.getTarget()),this.columns.splice(E,0,g)},l.prototype.insertToTargetCellRight=function(h,g){var E=this.columns.indexOf(h);this.columns[E].getTarget().after(g.getTarget()),this.columns.splice(E+1,0,g)},l.prototype.insertCellToFirst=function(h){this.target.prepend(h.getTarget()),this.columns.splice(0,0,h)},l.prototype.insertCellToLast=function(h){this.columns.push(h),this.target.append(h.getTarget())},l.prototype.getPrintElementOptionEntity=function(){var h=[];return[...this.columns,...this.allColumns.filter(function(g){return!g.checked})].forEach(function(g){h.push(g.getEntity())}),h},l}()},function(R,L,r){r.d(L,"a",function(){return w});var B=r(10),w=function(){function b(){}return b.mergeRect=function(l,h){var g=Math.min(l.x,h.x),E=Math.min(l.y,h.y);return new B.b({x:g,y:E,height:Math.max(l.y+l.height,h.y+h.height)-E,width:Math.max(l.x+l.width,h.x+h.width)-g})},b.Rect=function(l,h,g,E){return{minX:l<g?l:g,minY:h<E?h:E,maxX:l<g?g:l,maxY:h<E?E:h}},b}()},function(R,L,r){r.d(L,"a",function(){return N});var B=r(4),w=r(1),b=r(6),l=r(0),h=r(8),g=r(18),E=r(7),D=r(16),v=r(20),u=r(2),S=(C=function(x,j){return(C=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(T,o){T.__proto__=o}||function(T,o){for(var m in o)o.hasOwnProperty(m)&&(T[m]=o[m])})(x,j)},function(U,x){function j(){this.constructor=U}C(U,x),U.prototype=x===null?Object.create(x):(j.prototype=x.prototype,new j)}),C,N=function(U){function x(j,T){var o=U.call(this,j)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new g.a(T,o.printElementType),o.options.setDefault(new g.a(w.a.instance.table.default).getPrintElementOptionEntity()),o}return S(x,U),x.prototype.getColumns=function(){return this.options.columns},x.prototype.getColumnByColumnId=function(j){return this.options.getColumnByColumnId(j)},x.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var j=this.designTarget.find(".hiprint-printElement-table-content"),T=this.getHtml(this.designPaper);j.html(""),j.append(T[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},x.prototype.css=function(j,T){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return U.prototype.css.call(this,j,T)},x.prototype.getDesignTarget=function(j){return this.designTarget=this.getHtml(j)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=j,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,m){},onDragEnter:function(o,m){$__default.default(m).removeClass("rn-draggable-item")},onDragLeave:function(o,m){$__default.default(m).addClass("rn-draggable-item")}}),this.designTarget},x.prototype.getConfigOptions=function(){return w.a.instance.table},x.prototype.createTarget=function(j,T,o){for(var m=$__default.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),a=this.createGridColumnsStructure(o),I=0;I<a.gridColumns;I++)a.getByIndex(I).append(this.getTableHtml(T,o));return m.find(".hiprint-printElement-table-content").append(a.target),m},x.prototype.createGridColumnsStructure=function(j){for(var T=$__default.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var m=$__default.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');T.append(m)}var a=this.getGridColumnsFooterFormatter();if(a){var I=$__default.default('<div class="hiprint-gridColumnsFooter"></div>');I.append(a(this.options,this.getData(j),j,[])),T.append(I)}return new v.a(this.options.getGridColumns(),T)},x.prototype.createtempEmptyRowsTargetStructure=function(j){if(this.getField())return this.createTarget(this.printElementType.title,[]);var T=this.createTarget(this.printElementType.title,[]).clone();return T.find(".hiprint-printElement-tableTarget tbody tr").remove(),T},x.prototype.getTableHtml=function(j,T){var o,m;if(!this.getField()&&this.options.content)return(o=$__default.default("<div></div>")).append(this.options.content),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(o=$__default.default("<div></div>")).append(this.printElementType.formatter(j)),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;var a=$__default.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return a.append(E.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),a.append(E.a.createTableRow(this.getColumns(),j,T,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||E.a.createTableFooter(this.printElementType.columns,j,this.options,this.printElementType,T,j).insertBefore(a.find("tbody")),a},x.prototype.getEmptyRowTarget=function(){return E.a.createEmptyRowTarget(this.getColumns(),this)},x.prototype.getHtml=function(j,T){this.createTempContainer();var o=this.getPaperHtmlResult(j,T);return this.removeTempContainer(),o},x.prototype.getPaperHtmlResult=function(j,T){var o=[],m=this.getData(T),a=this.getTableHtml(m,T),I=this.createtempEmptyRowsTargetStructure(T);T?this.updateTargetWidth(I):this.updateTargetSize(I),this.css(I,m),this.css(a,m),this.getTempContainer().html(""),this.getTempContainer().append(I);var f=I.find("tfoot").outerHeight()||0;I.find("tfoot").remove();for(var P,c=this.getBeginPrintTopInPaperByReferenceElement(j),d=0,A=!1;!A;){var z=0,k=j.getPaperFooter(d);d==0&&c>k&&j.panelPageRule!="none"&&(c=c-k+j.paperHeader,o.push(new b.a({target:void 0,printLine:void 0})),z=j.getContentHeight(d)-(c-j.paperHeader),d++,k=j.getPaperFooter(d));var F=o.length>0?o[o.length-1].target:void 0,X=this.getRowsInSpecificHeight(T,z>0?z:d==0?k-c:j.getContentHeight(d),I,a,d,F,f);if(A=X.isEnd,z<0){var V=this.options.top;o[0].target=$__default.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),o[0].printLine=c,o[0].referenceElement=new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:j.index,bottomInLastPaper:V+this.options.lHeight,printTopInPaper:c}),o[0].target.css("top",V+"pt"),o[0].target.css("left",this.options.displayLeft());break}var K=void 0;X.target&&(X.target.css("left",this.options.displayLeft()),X.target[0].height=""),d==0||z>0?(X.target&&(P=c,X.target.css("top",c+"pt")),K=A&&this.options.lHeight!=null?c+(X.height>this.options.lHeight?X.height:this.options.lHeight):c+X.height):(X.target&&(P=j.paperHeader,X.target.css("top",j.paperHeader+"pt")),K=j.paperHeader+X.height),o.push(new b.a({target:X.target,printLine:K,referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:j.index,bottomInLastPaper:K,printTopInPaper:P})})),d++,T&&this.updatePanelHeight(K+this.options.getHeight(),j)}return o},x.prototype.getRowsInSpecificHeight=function(j,T,o,m,a,I,f){var P=this,c=m.find("tbody"),d=l.a.pt.toPx(T);o.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&o.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&a>0?o.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(j?o.find(".hiprint-printElement-tableTarget thead").remove():(o.find(".hiprint-printElement-tableTarget thead").css("background","firebrick"),o.find(".hiprint-printElement-tableTarget thead tr").css("background","firebrick")));var A=this.panel.panelPageRule=="none",z;if(j&&A){var k=o.find(".hiprint-printElement-tableTarget thead").attr("style");z=o.find(".hiprint-printElement-tableTarget thead tr").clone(),k?z.attr("style",k):z.css({background:"#e8e8e8"}),o.find(".hiprint-printElement-tableTarget thead").remove()}var F=o.outerHeight();if(!A&&F>d)return{target:void 0,length:0,height:0,isEnd:!1};for(var X=this.options.getGridColumns(),V=[],K=0;K<X;K++)for(var tt=o.find(".hiprint-printElement-tableTarget:eq("+K+")"),G=void 0,it=[];;){if(A){var lt=c.find("tr").length;if(lt==0)G={height:l.a.px.toPt(F),isEnd:!0},j&&this.options.autoCompletion&&(this.autoCompletion(d,tt,f),F=o.outerHeight());else{var pt=c.find("tr:lt(1)");it.length==0&&z&&tt.find("tbody").append(z),tt.find("tbody").append(pt);var ut=pt.data("rowData");V.push(ut),it.push(ut),F=o.outerHeight(),lt==0&&(c.prepend(pt),V.pop(),it.pop(),G={height:l.a.px.toPt(F),isEnd:!1})}}else if(F<=d)if(c.find("tr").length==0)G={height:l.a.px.toPt(F),isEnd:!0},j&&this.options.autoCompletion&&(this.autoCompletion(d,tt,f),F=tt.outerHeight());else{var pt=c.find("tr:lt(1)");P.options.rowsColumnsMerge&&(a>0||K>0)&&it.length==0&&(pt=P.fixMergeSpan(pt,c)),tt.find("tbody").append(pt);var ut=pt.data("rowData");V.push(ut),it.push(ut),F=tt.outerHeight(),((this.options.tableFooterRepeat=="last"?F:F+=f)>d||this.options.maxRows&&it.length>+this.options.maxRows)&&(c.prepend(pt),V.pop(),it.pop(),F=o.outerHeight(),G={height:l.a.px.toPt(F),isEnd:!1})}if(G){if(this.options.tableFooterRepeat=="last"&&!G.isEnd)break;this.options.tableFooterRepeat!=="no"&&(A?tt.find("tbody").append(E.a.createTableFooter(this.printElementType.columns,this.getData(j),this.options,this.printElementType,j,it).children()):E.a.createTableFooter(this.printElementType.columns,this.getData(j),this.options,this.printElementType,j,it).insertBefore(tt.find("tbody")),P.css(tt,j));break}}var bt=o.find(".hiprint-printElement-tableTarget tbody tr").length,vt=this.getGridColumnsFooterFormatter();vt&&o.find(this.gridColumnsFooterCss).html(vt(this.options,this.getData(j),j,V)),F=o.outerHeight();let dt=c.find("tr:lt(1)");if(bt==0&&dt.length&&ut==dt.data("rowData")){tt.find("tbody").append(dt);let ft=tt.find("tbody tr").outerHeight();return c.prepend(dt),{target:$__default.default('<div style="position:absolute;background: red;color: white;padding: 0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4,\u663E\u793A\u4E0B\u65B9\u5185\u5BB9, \u53EF\u5206\u9875\u9AD8\u5EA6: '+d+"px < \u5F53\u524D\u9700\u8981\u9AD8\u5EA6: "+ft+"px</div>").append(dt.css("background","blue")),length:bt,height:l.a.px.toPt(F),isEnd:!1}}var yt=c.find("tr").length==0?bt==0&&I?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:bt,height:l.a.px.toPt(F),isEnd:!0}:{target:o.clone(),length:bt,height:l.a.px.toPt(F),isEnd:!1};return yt},x.prototype.fixMergeSpan=function(j,T){var o=this;let m=1,a=!1,I=1,f=!1;return j.nextAll().each(function(P){$__default.default(this).children().filter("td[rowspan=0]").length>0&&!a?m+=1:a=!0,$__default.default(this).children().filter("td[colspan=0]").length>0&&!f?I+=1:f=!0}),j.children().each(function(P,c){$__default.default(c).attr("rowspan")<1&&($__default.default(c).attr("rowspan",m),$__default.default(c).css("display",""),o.options.rowsColumnsMergeClean&&$__default.default(c).text("")),$__default.default(c).attr("colspan")<1&&($__default.default(c).attr("colspan",I),$__default.default(c).css("display",""),o.options.rowsColumnsMergeClean&&$__default.default(c).text(""))}),j},x.prototype.autoCompletion=function(j,T,o){for(var m=this,a,I=this.getEmptyRowTarget(),f=T.outerHeight()+o;j>f&&(a=I.clone(),T.find("tbody").append(a),f=T.outerHeight()+o,!(m.options.maxRows&&T.find("tbody").children().length>m.options.maxRows)););a&&a.remove()},x.prototype.getData=function(j){if(!j)try{let m=this.options.testData||"[{}]";return JSON.parse(m)}catch(m){return console.log("table testData parse error",m),[{}]}var T=this.getField(),o=T&&T.split(".").reduce((m,a)=>m?m[a]:j?j[a]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},x.prototype.onResize=function(j,T,o,m,a){U.prototype.updateSizeAndPositionOptions.call(this,a,m,o,T),E.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},x.prototype.getReizeableShowPoints=function(){return this.options.showPoints||w.a.instance.table.showPoints},x.prototype.design=function(j,T){var o=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:o.options.axis?o.options.axis:void 0,designTarget:o,onDrag:function(a,I,f){o.updateSizeAndPositionOptions(I,f),o.createLineOfPosition(T),u.a.instance.changed=!0},moveUnit:"pt",minMove:w.a.instance.movingDistance,onBeforeDrag:function(a){u.a.instance.draging=!0,o.createLineOfPosition(T)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(a){u.a.instance.changed&&l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),u.a.instance.draging=!1,u.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:w.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){u.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(a,I,f,P,c){o.onResize(a,I,f,P,c),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(T)},onStopResize:function(a){l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,a?"\u65CB\u8F6C":"\u5927\u5C0F"),u.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,T)},x.prototype.setHitable=function(){var j=this;this.hitable=new D.a({templateId:j.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),l.a.event.on("updateTable"+this.hitable.id,function(){j.updateDesignViewFromOptions(),l.a.event.trigger("hiprintTemplateDataChanged_"+j.templateId,"\u8C03\u6574\u8868\u5934")})},x.prototype.setColumnsOptions=function(){var j=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(T){var o=$__default.default(T.target).attr("id")||$__default.default(T.target).attr("column-id"),m=j.getColumnByColumnId(o);if(m){var a=j.getPrintElementOptionItemsByName("tableColumn");l.a.event.trigger(j.getPrintElementSelectEventKey(),{printElement:j,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:a,options:m,callback:function(f){a.forEach(function(P){var c=P.getValue();if(P.name=="title"&&c&&!c.trim().endsWith("#")&&!c.trim().startsWith("#")){var d=c?c.split("#"):"";m.title=d[0],d.length>1&&(m.columnId=m.field=d[1]),m.columnId&&m.target.attr("column-id",m.columnId),P.target.find("textarea").val(d[0]);return}if(P.name=="columnField"){if(m.columnId=m.field=c,m.columnId&&m.target.attr("column-id",m.columnId),j.options.fields){let A=j.options.fields.find(k=>k.field==c);A&&m.titleSync&&(m.title=A.text);let z=a.find(k=>k.name=="title");z&&m.titleSync&&z.target.find("textarea").val(m.title)}return}m[P.name]=c})}}]})}else l.a.event.trigger(j.getPrintElementSelectEventKey(),{printElement:j})})},x.prototype.filterOptionItems=function(j){var T=U.prototype.filterOptionItems.call(this,j);return this.printElementType.editable&&this.options.columns.length==1?T:j.filter(function(o){return o.name!="columns"})},x.prototype.getFooterFormatter=function(){var j=void 0;if(this.printElementType.footerFormatter&&(j=this.printElementType.footerFormatter),this.options.footerFormatter)try{var T="footerFormatter="+this.options.footerFormatter;eval2(T)}catch(o){console.log(o)}return j},x.prototype.getGridColumnsFooterFormatter=function(){var j=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(j=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var T="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;j=eval2(T)}catch(o){console.log(o)}return j},x}(B.a)},function(R,L,r){var B=function(){return function(T){this.table=T.table,this.templateId=T.templateId,this.fields=T.fields,this.isEnableEdit=T.isEnableEdit,this.trs=T.trs,this.resizeRow=T.resizeRow,this.resizeColumn=T.resizeColumn,this.isEnableEditField=T.isEnableEditField,this.isEnableContextMenu=T.isEnableContextMenu,this.isEnableEditField=T.isEnableEditField,this.isEnableInsertRow=T.isEnableInsertRow,this.isEnableDeleteRow=T.isEnableDeleteRow,this.isEnableInsertColumn=T.isEnableInsertColumn,this.isEnableDeleteColumn=T.isEnableDeleteColumn,this.isEnableMergeCell=T.isEnableMergeCell,this.columnResizable=T.columnResizable,this.columnAlignEditable=T.columnAlignEditable}}(),w=function(){function T(o){this.options=new B(o)}return T.prototype.enableEidt=function(){this.options.isEnableEdit},T.prototype.disableEdit=function(){this.options.isEnableEdit},T.prototype.isEnableEdit=function(){return this.options.isEnableEdit},T}(),b=r(0),l=function(){return function(T){this.cell=T.cell,this.link=T.link,this.linkType=T.linkType,this.bottom=T.bottom,this.rightMost=T.rightMost,this.rowLevel=T.rowLevel,this.columnLevel=T.columnLevel,this.indexInTableGridRow=T.indexInTableGridRow,this.indexInTableGridColumn=T.indexInTableGridColumn}}(),h=r(10),g=function(){function T(){}return T.getLeftTableCell=function(o,m){var a;return o.forEach(function(I,f){I.cell&&f<m&&(a=I.cell)}),a},T.getIndex=function(o,m){var a;return o.forEach(function(I,f){I.cell&&I.cell.id==m&&(a=f)}),a},T}(),E=r(13),D=r(11),v=function(){return function(T,o){this.target=T,this.grips=o}}(),u=function(){return function(T){this.target=T}}(),S=function(){return function(){this.rowColumns=[]}}(),C=function(){function T(){}return T.getColumnsWidth=function(o,m){var a={},I=T.allAutoWidth(o);return o.rowColumns.forEach(function(f){var P=m-0,c=f.width/I*(P>0?P:0);a[f.id]=c}),a},T.resizeTableCellWeight=function(o){o.forEach(function(m){m.columns.forEach(function(a){a.hasWidth&&$__default.default(a.getTarget()).css("width",a.width+"pt")})})},T.allAutoWidth=function(o){var m=0;return o.rowColumns.forEach(function(a){m+=a.width}),m},T.reconsitutionTableColumnTree=function(o,m,a){for(var I=m||new S,f=function(d){I.totalLayer=d+1,I[d]=o[d].columns,I.rowColumns=I.rowColumns.concat(I[d].filter(function(A){return A.rowspan==o.length-d}))},P=0;P<o.length;P++)f(P);return I},T}(),N=r(2),U=function(){function T(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return T.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},T.prototype.resizeTableCellWidth=function(){C.resizeTableCellWeight(this.rows)},T.prototype.addResizeRowAndColumn=function(){},T.prototype.createColumnGrips=function(){var o=this,m=this,a=[],I=$__default.default('<div class="columngrips"/>');I.width(this.target.width()),this.rows.forEach(function(f){(f.columns||[]).filter(function(P){return P.checked}).forEach(function(P,c){if(P.getTarget().attr("haswidth")){var d=$__default.default('<div class="columngrip"><div class="gripResizer"></div></div>');I.append(d);var A=new u(d);a.length>0&&(a[a.length-1].nextGrip=A),a.push(A),o.syncGrips(P,A),$__default.default(d).hidraggable({axis:"h",onDrag:function(k,F,X){},moveUnit:"pt",minMove:1,getScale:function(){return $__default.default(".hiprint-printPaper")[0].style.transform&&parseFloat($__default.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(k){if(N.a.instance.draging=!0,!A.nextGrip)return!1;m.dragingGrip=A,m.dragingGrip.left=parseFloat(m.dragingGrip.target.css("left").replace("px","")),A.target.addClass("columngripDraging")},onStopDrag:function(k){N.a.instance.draging=!1;var F=parseFloat(m.dragingGrip.target.css("left").replace("px","")),X=b.a.px.toPt(F-m.dragingGrip.left);A.cell.width+X<10?X=10-A.cell.width:A.nextGrip.cell.width-X<10&&(X=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+X,A.nextGrip.cell.width=A.nextGrip.cell.width-X,o.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(I),this.cgripContariner=new v(I,a)},T.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},T.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},T.prototype.createRowGrips=function(){var o=this,m=this,a=[],I=$__default.default('<div class="rowgrips"/>');this.rows.forEach(function(f,P){var c=$__default.default('<div class="rowgrip"><div class="gripResizer"></div></div>');I.append(c);var d=new u(c);a.push(d),P>0&&P<o.rows.length&&$__default.default(c).hidraggable({axis:"v",onDrag:function(z,k,F){},moveUnit:"pt",minMove:1,onBeforeDrag:function(z){m.dragingGrip=d,m.dragingGrip.top=parseFloat(m.dragingGrip.target.css("top").replace("px","")),d.target.addClass("rowgripDraging")},onStopDrag:function(z){var k=parseFloat(m.dragingGrip.target.css("top").replace("px","")),F=b.a.px.toPt(k-m.dragingGrip.top+m.rows[P].columns[0].getTarget().height());m.rows[P].columns[0].getTarget().css("height",F+"pt"),m.syncRowGrips(),d.target.removeClass("rowgripDraging")}})}),this.target.before(I),this.rgripContariner=new v(I,a),this.syncRowGrips()},T.prototype.syncGrips=function(o,m){var a=o.getTarget();m.cell=o,m.target.css({left:a.offset().left-this.target.offset().left+a.outerWidth(!1),height:30})},T.prototype.syncRowGrips=function(){var o=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(m,a){var I=m.columns[0].getTarget();o.rgripContariner.grips[a].target.css({top:I.offset().top-o.target.offset().top+I.outerHeight(!1),width:30})})},T.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},T}(),x=function(){function T(){}return T.prototype.init=function(){},T.prototype.updateRowGrips=function(){},T.prototype.updateColumnGrips=function(){},T}();r.d(L,"a",function(){return j});var j=function(){function T(o){this.id=D.a.createId(),this.optionsCoat=new w(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new h.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new U(this):new x,this.resizer.init()}return T.prototype.insertRow=function(o,m,a){var I=m||this.tableCellSelector.getSingleSelect(),f=I.cell,P=this.rows[I.rowIndex],c=I.rowIndex,d=this.getCellGrid(),A=new E.a;if(A.init(this.optionsCoat,void 0,P.isHead),a&&A.getTarget().addClass(a),o=="above")d[c].forEach(function(k){var F=k.link?k.link:k.cell,X=F.width/F.colspan;if(k.columnLevel==0){var V=A.createTableCell();V.width=X,A.insertCellToLast(V)}else{if(k.linkType=="column"){var K=k.link.getTarget();k.link.rowspan+=1,K.attr("rowspan",k.link.rowspan)}k.linkType}}),this.rows.splice(c,0,A),P.getTarget().before(A.getTarget()),b.a.event.trigger("newRow"+this.id,A);else{var z=c+f.rowspan-1;d[z].forEach(function(k){var F=k.link?k.link:k.cell,X=F.width/F.colspan;if(k.bottom){var V=A.createTableCell();V.width=X,A.insertCellToLast(V)}else{if(k.cell){var K=k.cell.getTarget();k.cell.rowspan+=1,K.attr("rowspan",k.cell.rowspan)}k.linkType=="column"&&(K=k.link.getTarget(),k.link.rowspan+=1,K.attr("rowspan",k.link.rowspan))}}),this.rows.splice(z+1,0,A),this.rows[z].getTarget().after(A.getTarget()),b.a.event.trigger("newRow"+this.id,A)}},T.prototype.insertColumn=function(o,m,a,I){var f=this,P=this.rows.concat(this.trRows),c=m||this.tableCellSelector.getSingleSelect(),d=c.cell,A=c.rowIndex,z=this.getCellGrid(P),k=z[A].filter(function(V){return V.cell&&V.cell.id==d.id||V.link&&V.link.id==d.id});if(o=="left"){var F=k[0].indexInTableGridRow;z.forEach(function(V,K){var tt=V[F],G=V.filter(function(ut,bt){return bt>=F&&ut.cell});if(tt.rowLevel==0){var it=P[K],lt=P[K].createTableCell();a&&lt.getTarget().addClass(a),I!=null&&(lt.width=I),G.length?it.insertToTargetCellLeft(G[0].cell,lt):it.insertCellToLast(lt),b.a.event.trigger("newCell"+f.id,lt)}else if(tt.linkType=="row"){var pt=tt.link.getTarget();tt.link.colspan+=1,pt.attr("colspan",tt.link.colspan)}})}else{var X=k[k.length-1].indexInTableGridRow;z.forEach(function(V,K){var tt=V[X],G=V.filter(function(bt,vt){return vt<=X&&bt.cell});if(tt.rightMost){var it=P[K],lt=it.createTableCell();a&&lt.getTarget().addClass(a),I!=null&&(lt.width=I),G.length?it.insertToTargetCellRight(G[G.length-1].cell,lt):it.insertCellToFirst(lt),b.a.event.trigger("newCell"+f.id,lt)}else{var pt=tt.link||tt.cell;if(tt.linkType=="row"){var ut=pt.getTarget();pt.colspan+=1,ut.attr("colspan",pt.colspan)}tt.cell&&(ut=pt.getTarget(),pt.colspan+=1,ut.attr("colspan",pt.colspan))}})}},T.prototype.deleteRow=function(){var o=this,m=this.tableCellSelector.getSingleSelect(),a=(m.cell,this.rows[m.rowIndex],m.rowIndex),I=this.getCellGrid(),f=this.rows[a];I[a].forEach(function(P,c){if(P.cell)if(P.cell.rowspan==1)f.removeCell(P.cell);else{f.removeCell(P.cell);var d=I[a+1].filter(function(F,X){return F.cell&&X>c}),A=o.rows[a+1],z=A.createTableCell(P.cell.rowspan-1,P.cell.colspan);d.length?A.insertToTargetCellLeft(d[0].cell,z):A.insertCellToLast(z)}else if(P.linkType=="column"){var k=P.link;k.rowspan-=1,k.getTarget().attr("rowspan",k.rowspan)}}),f.getTarget().remove(),this.rows.splice(a,1)},T.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),a=m.cell,I=m.rowIndex,f=this.getCellGrid(o),P=f[I].filter(function(c){return c.cell&&c.cell.id==a.id||c.link&&c.link.id==a.id})[0].indexInTableGridRow;f.forEach(function(c,d){var A=c[P];A.cell?A.cell.colspan==1?o[d].removeCell(A.cell):(A.cell.colspan-=1,A.cell.getTarget().attr("colspan",A.cell.colspan)):A.linkType=="row"&&(A.link.colspan-=1,A.link.getTarget().attr("colspan",A.link.colspan))})},T.prototype.mergeCell=function(){var o=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var a=m[0][0].cell;m.forEach(function(I,f){I.forEach(function(P,c){f==0?c!=0&&(a.colspan+=P.cell.colspan,o.rows[P.rowIndex].removeCell(P.cell)):o.rows[P.rowIndex].removeCell(P.cell),c==0&&m[0][0].rowIndex+a.rowspan-1<P.rowIndex&&(a.rowspan+=P.cell.rowspan)})}),a.getTarget().attr("colspan",a.colspan),a.getTarget().attr("rowspan",a.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},T.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),a=g.getIndex(m[o.rowIndex],o.cell.id);if(o){for(var I=o.rowIndex;I<o.rowIndex+o.cell.rowspan;I++)for(var f=this.rows[I],P=I==o.rowIndex?o.cell:g.getLeftTableCell(m[I],a),c=0;c<o.cell.colspan;c++)I==o.rowIndex&&c==0||(P?f.insertToTargetCellRight(P,f.createTableCell()):f.insertCellToFirst(f.createTableCell()));o.cell.rowspan=1,o.cell.colspan=1,o.cell.getTarget().attr("colspan",o.cell.colspan),o.cell.getTarget().attr("rowspan",o.cell.rowspan)}},T.prototype.init=function(o){var m=this;$__default.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(a){return m.optionsCoat.options.onBeforEdit&&o.onBeforEdit(a)===!1?!1:(m.optionsCoat.editingCell&&m.optionsCoat.editingCell.endEdit(),!0)},$__default.default(this.target).mousedown(function(a){m.optionsCoat.isLeftMouseButtonDown=!0}),$__default.default(this.target).mouseup(function(a){m.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(a){a.buttons===1&&m.tableCellSelector.multipleSelectByXY(a.pageX,a.pageY)}).on("mousedown",function(a){a.buttons===1&&m.tableCellSelector.singleSelectByXY(a.pageX,a.pageY)})},T.prototype.initRows=function(o){var m=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(I,f){I.init(m.optionsCoat,m.target.find("tr:eq("+f+")"),!0)});var a=this.optionsCoat.options.trs;a&&this.initRowsByTrs(a).forEach(function(I){m.trRows.push(I)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},T.prototype.initRowsByTrs=function(o){var m=this;return o.map(function(a,I){var f=new E.a;return f.init(m.optionsCoat,$__default.default(I)),f}).get()},T.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},T.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},T.prototype.getCellGrid=function(o){var m=o||this.rows,a=this.getColumnStep(),I=[];return m.forEach(function(f,P){f.columns.forEach(function(c,d){for(var A=0;A<c.colspan;A++)for(var z=0,k=!1;z<a&&!k;){if(I[P]=I[P]||[],!I[P][z]){I[P][z]=new l({cell:A==0?c:void 0,link:A!=0?c:void 0,linkType:A>0?"row":void 0,rightMost:A==c.colspan-1||void 0,bottom:c.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:z,indexInTableGridColumn:P});for(var F=P+1,X=1;X<c.rowspan;X++)I[F]=I[F]||[],I[F][z]=new l({cell:void 0,link:c,linkType:A>0?"rowColumn":"column",rightMost:A==c.colspan-1||void 0,bottom:X==c.rowspan-1,rowLevel:A,columnLevel:X,indexInTableGridRow:z,indexInTableGridColumn:F}),F+=1;k=!0}z++}})}),I},T.prototype.setAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(o)},T.prototype.setVAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(o)},T.prototype.getColumnStep=function(o){var m=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(a){m+=a.colspan}),m},T.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;$__default.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertRow("above"),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5728\u4E0B\u65B9\u63D2\u5165\u884C",borderBottom:!0,enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertRow("below"),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5411\u5DE6\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertColumn("left"),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5411\u53F3\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()},borderBottom:!0,callback:function(){o.insertColumn("right"),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5220\u9664\u884C",enabled:this.optionsCoat.options.isEnableDeleteRow,disable:function(){return!o.tableCellSelector.getSingleSelect()||o.rows.length<=1},callback:function(){o.deleteRow(),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5220\u9664\u5217",borderBottom:!0,enabled:this.optionsCoat.options.isEnableDeleteColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()||o.rows.length>0&&o.rows[0].columns.length<=1},callback:function(){o.deleteColums(),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5BF9\u9F50",borderBottom:!0,enabled:this.optionsCoat.options.columnAlignEditable,menus:[{text:"\u5DE6",callback:function(){o.setAlign("left")}},{text:"\u5DE6\u53F3\u5C45\u4E2D",callback:function(){o.setAlign("center")}},{text:"\u53F3",callback:function(){o.setAlign("right")}},{text:"\u9ED8\u8BA4",borderBottom:!0,callback:function(){o.setAlign("")}},{text:"\u4E0A",callback:function(){o.setVAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){o.setVAlign("middle")}},{text:"\u4E0B",callback:function(){o.setVAlign("bottom")}},{text:"\u9ED8\u8BA4",callback:function(){o.setVAlign("")}}]},{text:"\u5408\u5E76\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){return o.tableCellSelector.getSingleSelect()},callback:function(){o.mergeCell(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u89E3\u5F00\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){var a=o.tableCellSelector.getSingleSelect();return!a||a.cell.rowspan==1&&a.cell.colspan==1},callback:function(){o.splitCell(),b.a.event.trigger("updateTable"+o.id)}}].filter(function(m){return m.enabled})})},T.prototype.getTableWidth=function(){return b.a.px.toPt(this.target.outerWidth(!1))},T.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},T.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},T}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(w,b,l){this.tid=w,this.options=b,this.printElementType=l}}()},function(R,L,r){var B=r(3),w=r(12),b=function(){return function(D){this.width=D.width,this.title=D.title,this.field=D.field,this.checked=D.checked,this.columnId=D.columnId,this.fixed=!1,this.rowspan=D.rowspan||1,this.colspan=D.colspan||1,this.align=D.align,this.halign=D.halign,this.vAlign=D.vAlign,this.renderFormatter=D.renderFormatter,this.formatter2=D.formatter2,this.styler2=D.styler2,this.stylerHeader=D.stylerHeader,this.tableColumnHeight=D.tableColumnHeight,this.tableTextType=D.tableTextType,this.tableBarcodeMode=D.tableBarcodeMode,this.tableQRCodeLevel=D.tableQRCodeLevel,this.tableSummaryTitle=D.tableSummaryTitle,this.tableSummaryText=D.tableSummaryText,this.tableSummaryColspan=D.tableSummaryColspan,this.tableSummary=D.tableSummary,this.tableSummaryAlign=D.tableSummaryAlign,this.tableSummaryNumFormat=D.tableSummaryNumFormat,this.tableSummaryFormatter=D.tableSummaryFormatter,this.upperCase=D.upperCase}}(),l=r(5);r.d(L,"a",function(){return E});var h,g=(h=function(v,u){return(h=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(S,C){S.__proto__=C}||function(S,C){for(var N in C)C.hasOwnProperty(N)&&(S[N]=C[N])})(v,u)},function(D,v){function u(){this.constructor=D}h(D,v),D.prototype=v===null?Object.create(v):(u.prototype=v.prototype,new u)}),E=function(D){function v(u,S){var C=this;return u=u||{},(C=D.call(this,u)||this).lHeight=u.lHeight,C.autoCompletion=u.autoCompletion,C.tableFooterRepeat=u.tableFooterRepeat,S&&(C.columns=[],S.editable&&u.columns&&u.columns.length?u.columns.forEach(function(N){var U=[];N.forEach(function(x){var j=new b(x),T=S.getColumnByColumnId(j.columnId),o=T?$__default.default.extend(T,j):new l.a(j);U.push(o)}),C.columns.push(new w.a(U))}):S.columns.forEach(function(N){C.columns.push(new w.a(N))})),C}return g(v,D),v.prototype.getColumnByColumnId=function(u){return this.makeColumnObj()[u]},v.prototype.makeColumnObj=function(){var u={};return this.columns&&this.columns.forEach(function(S){S.columns.forEach(function(C){(C.id||C.columnId)&&(u[C.id||C.columnId]=C)})}),u},v.prototype.getGridColumns=function(){return this.gridColumns||1},v.prototype.getPrintElementOptionEntity=function(){var u=D.prototype.getPrintElementOptionEntity.call(this);return u.fields=this.fields,this.columns&&(u.columns=[],this.columns.forEach(function(S){var C=S.getPrintElementOptionEntity().map(function(N){return new b(N)});u.columns.push(C)})),u},v}(B.a)},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(){this.rowColumns=[]}}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(b,l){this.gridColumns=b,this.target=l}return w.prototype.getByIndex=function(b){return this.target.find(".hi-grid-col:eq("+b+")")},w}()},function(R,L,r){R.exports=r(33)},function(R,L){(function(r){function B(u){var S=r.data(u.data.target,"hidraggable"),C=S.options,N=S.proxy,U=u.data,x=U.startLeft+(u.pageX-U.startX)/(S.options.getScale()||1),j=U.startTop+(u.pageY-U.startY)/(S.options.getScale()||1);N&&(N.parent()[0]==document.body?(x=C.deltaX!=null&&C.deltaX!=null?u.pageX+C.deltaX:u.pageX-u.data.offsetWidth,j=C.deltaY!=null&&C.deltaY!=null?u.pageY+C.deltaY:u.pageY-u.data.offsetHeight):(C.deltaX!=null&&C.deltaX!=null&&(x+=u.data.offsetWidth+C.deltaX),C.deltaY!=null&&C.deltaY!=null&&(j+=u.data.offsetHeight+C.deltaY))),u.data.parent!=document.body&&(x+=r(u.data.parent).scrollLeft(),j+=r(u.data.parent).scrollTop()),C.axis=="h"?U.left=x:C.axis=="v"||u.shiftKey&&u.altKey?U.top=j:u.shiftKey?U.left=x:(U.left=x,U.top=j)}function w(u){var S=r.data(u.data.target,"hidraggable"),C=S.options,N=S.proxy;N||(N=r(u.data.target)),N.css({left:r.fn.dragLengthC(u.data.left,C),top:r.fn.dragLengthC(u.data.top,C)}),r("body").css("cursor",C.cursor)}function b(u){r.fn.hidraggable.isDragging=!0;var S=r.data(u.data.target,"hidraggable"),C=S.options,N=r(".hidroppable").filter(function(){return u.data.target!=this}).filter(function(){var x=r.data(this,"hidroppable")&&r.data(this,"hidroppable").options.accept;return!x||r(x).filter(function(){return this==u.data.target}).length>0});S.hidroppables=N;var U=S.proxy;return U||(C.proxy?(U=C.proxy=="clone"?r(u.data.target).clone().insertAfter(u.data.target):C.proxy.call(u.data.target,u.data.target),S.proxy=U):U=r(u.data.target)),U.css("position","absolute"),B(u),w(u),C.onStartDrag.call(u.data.target,u),!1}function l(u,S,C,N,U,x){Math.abs(u[C]-S[N])<=HIPRINT_CONFIG.adsorbLineMin?u.v.length?u.v.css("left",u[C]+"pt"):(u.v=$__default.default("<div class='verLine id-"+u.id+"'></div>"),u.v.css("height",U+"pt"),u.v.css("left",u[C]+"pt"),x.append(u.v)):u.v&&u.v.remove()}function h(u){u&&u.v&&u.v.remove(),$__default.default(".verLine").remove()}function g(u,S,C,N,U,x){Math.abs(u[C]-S[N])<=HIPRINT_CONFIG.adsorbLineMin?u.h.length?u.h.css("top",u[C]+"pt"):(u.h=$__default.default("<div class='horLine id-"+u.id+"'></div>"),u.h.css("width",U+"pt"),u.h.css("top",u[C]+"pt"),x.append(u.h)):u.h&&u.h.remove()}function E(u){u&&u.h&&u.h.remove(),$__default.default(".horLine").remove()}function D(u){var S=r.data(u.data.target,"hidraggable");if(B(u),!(u.ctrlKey||u.metaKey)&&(u.data.target.className.startsWith("resize-panel")||u.data.target.style.zIndex=="2"||u.data.target.className.startsWith("hiprint-printElement"))){var C=u.data;if(r(".mouseRect").length==0&&S.options.designTarget&&S.options.designTarget.panel.printElements.filter(function(f){return f.designTarget.children().last().css("display")=="block"&&!f.printElementType.type.includes("table")}).length<=1){let f=window.hinnn.px.toPt(C.left),P=window.hinnn.px.toPt(C.top),c=S.options.designTarget.options;c.left=f,c.top=P,c.right=f+c.width,c.bottom=P+c.height,c.vCenter=f+c.width/2,c.hCenter=P+c.height/2,(()=>{let d=S.options.designTarget.panel.printElements.filter(tt=>tt.id!=S.options.designTarget.id).map(tt=>{let{left:G,top:it,width:lt,height:pt}=tt.options,ut=G+lt,bt=G+lt/2,vt=it+pt/2,dt=c.left+c.width/2,yt=c.top+c.height/2,ft=c.left+c.width,gt,Pt,jt,St;return Pt=Math.sqrt(Math.pow(G-c.left,2)+Math.pow(vt-yt,2)),jt=Math.sqrt(Math.pow(bt-dt,2)+Math.pow(vt-yt,2)),St=Math.sqrt(Math.pow(ut-ft,2)+Math.pow(vt-yt,2)),gt=Math.min(Pt,jt,St),{...tt.options,distance:gt,h:$__default.default(".horLine.id-"+tt.id),v:$__default.default(".verLine.id-"+tt.id),bottom:it+pt,right:G+lt,vCenter:bt,hCenter:vt}}).sort((tt,G)=>tt.distance-G.distance).slice(0,1),A=S.options.designTarget.designPaper,z=A.target.find(".hiprint-printPaper-content"),k=A.width,F=A.height,X=HIPRINT_CONFIG.showAdsorbLine,V=HIPRINT_CONFIG.adsorbMin,K=HIPRINT_CONFIG.adsorbLineMin;d.forEach((tt,G)=>{Math.abs(d[G].left-c.left)<=V?(c.left=d[G].left,h(d[G])):Math.abs(d[G].vCenter-c.left)<=V?(c.left=d[G].vCenter,h(d[G])):Math.abs(d[G].right-c.left)<=V&&(c.left=d[G].right,h(d[G])),Math.abs(d[G].left-c.vCenter)<=V?(c.left=d[G].left-c.width/2,h(d[G])):Math.abs(d[G].vCenter-c.vCenter)<=V?(c.left=d[G].vCenter-c.width/2,h(d[G])):Math.abs(d[G].right-c.vCenter)<=V&&(c.left=d[G].right-c.width/2,h(d[G])),Math.abs(d[G].left-c.right)<=V?(c.left=d[G].left-c.width,h(d[G])):Math.abs(d[G].vCenter-c.right)<=V?(c.left=d[G].vCenter-c.width,h(d[G])):Math.abs(d[G].right-c.right)<=V&&(c.left=d[G].right-c.width,h(d[G])),Math.abs(d[G].top-c.top)<=V?(c.top=d[G].top,E(d[G])):Math.abs(d[G].hCenter-c.top)<=V?(c.top=d[G].hCenter,E(d[G])):Math.abs(d[G].bottom-c.top)<=V&&(c.top=d[G].bottom,E(d[G])),Math.abs(d[G].top-c.hCenter)<=V?(c.top=d[G].top-c.height/2,E(d[G])):Math.abs(d[G].hCenter-c.hCenter)<=V?(c.top=d[G].hCenter-c.height/2,E(d[G])):Math.abs(d[G].bottom-c.hCenter)<=V&&(c.top=d[G].bottom-c.height/2,E(d[G])),Math.abs(d[G].top-c.bottom)<=V?(c.top=d[G].top-c.height,E(d[G])):Math.abs(d[G].hCenter-c.bottom)<=V?(c.top=d[G].hCenter-c.height,E(d[G])):Math.abs(d[G].bottom-c.bottom)<=V&&(c.top=d[G].bottom-c.height,E(d[G])),X&&(Math.abs(d[G].left-c.left)>V&&Math.abs(d[G].left-c.left)<=K?l(d[G],c,"left","left",F,z):Math.abs(d[G].vCenter-c.left)>V&&Math.abs(d[G].vCenter-c.left)<=K?l(d[G],c,"vCenter","left",F,z):Math.abs(d[G].right-c.left)>V&&Math.abs(d[G].right-c.left)<=K?l(d[G],c,"right","left",F,z):Math.abs(d[G].left-c.vCenter)>V&&Math.abs(d[G].left-c.vCenter)<=K?l(d[G],c,"left","vCenter",F,z):Math.abs(d[G].vCenter-c.vCenter)>V&&Math.abs(d[G].vCenter-c.vCenter)<=K?l(d[G],c,"vCenter","vCenter",F,z):Math.abs(d[G].right-c.vCenter)>V&&Math.abs(d[G].right-c.vCenter)<=K?l(d[G],c,"right","vCenter",F,z):Math.abs(d[G].left-c.right)>V&&Math.abs(d[G].left-c.right)<=K?l(d[G],c,"left","right",F,z):Math.abs(d[G].vCenter-c.right)>V&&Math.abs(d[G].vCenter-c.right)<=K?l(d[G],c,"vCenter","right",F,z):Math.abs(d[G].right-c.right)>V&&Math.abs(d[G].right-c.right)<=K?l(d[G],c,"right","right",F,z):Math.abs(d[G].top-c.top)>V&&Math.abs(d[G].top-c.top)<=K?g(d[G],c,"top","top",k,z):Math.abs(d[G].hCenter-c.top)>V&&Math.abs(d[G].hCenter-c.top)<=K?g(d[G],c,"hCenter","top",k,z):Math.abs(d[G].bottom-c.top)>V&&Math.abs(d[G].bottom-c.top)<=K?g(d[G],c,"bottom","top",k,z):Math.abs(d[G].top-c.hCenter)>V&&Math.abs(d[G].top-c.hCenter)<=K?g(d[G],c,"top","hCenter",k,z):Math.abs(d[G].hCenter-c.hCenter)>V&&Math.abs(d[G].hCenter-c.hCenter)<=K?g(d[G],c,"hCenter","hCenter",k,z):Math.abs(d[G].bottom-c.hCenter)>V&&Math.abs(d[G].bottom-c.hCenter)<=K?g(d[G],c,"bottom","hCenter",k,z):Math.abs(d[G].top-c.bottom)>V&&Math.abs(d[G].top-c.bottom)<=K?g(d[G],c,"top","bottom",k,z):Math.abs(d[G].hCenter-c.bottom)>V&&Math.abs(d[G].hCenter-c.bottom)<=K?g(d[G],c,"hCenter","bottom",k,z):Math.abs(d[G].bottom-c.bottom)>V&&Math.abs(d[G].bottom-c.bottom)<=K?g(d[G],c,"bottom","bottom",k,z):(h(d[G]),E(d[G])))})})(),u.data.left=window.hinnn.pt.toPx(c.left),u.data.top=window.hinnn.pt.toPx(c.top)}var N=C.parent.className.endsWith("design")?C.parent:C.parent.offsetParent,U=N.clientWidth,x=N.clientHeight,j=C.target.clientWidth,T=C.target.clientHeight,o=0,m=0;if(S.options.designTarget&&S.options.designTarget.options.transform){var a=S.options.designTarget.options.getRectInfo();o=window.hinnn.pt.toPx(a.diffW),m=window.hinnn.pt.toPx(a.diffH)}C.left<0-o?C.left=0-o:C.left>=U-j+o&&(C.left=U-j+o),C.top<0-m?C.top=0-m:C.top>=x-T+m&&(C.top=x-T+m),u.data=C}S.options.onDrag.call(u.data.target,u,r.fn.dragLengthCNum(u.data.left,S.options),r.fn.dragLengthCNum(u.data.top,S.options))!=0&&w(u);var I=u.data.target;return S.hidroppables.each(function(){var f=r(this);if(!f.hidroppable("options").disabled){var P=f.offset();u.pageX>P.left&&u.pageX<P.left+f.outerWidth()&&u.pageY>P.top&&u.pageY<P.top+f.outerHeight()?(this.entered||(r(this).trigger("_dragenter",[I]),this.entered=!0),r(this).trigger("_dragover",[I])):this.entered&&(r(this).trigger("_dragleave",[I]),this.entered=!1)}}),!1}function v(u){r.fn.hidraggable.isDragging=!1,h(),E();var S,C,N=r.data(u.data.target,"hidraggable"),U=N.proxy,x=N.options;x.revert?T()==1?r(u.data.target).css({position:u.data.startPosition,left:u.data.startLeft,top:u.data.startTop}):U?(U.parent()[0]==document.body?(S=u.data.startX-u.data.offsetWidth,C=u.data.startY-u.data.offsetHeight):(S=u.data.startLeft,C=u.data.startTop),U.animate({left:S,top:C},function(){j()})):r(u.data.target).animate({left:u.data.startLeft,top:u.data.startTop},function(){r(u.data.target).css("position",u.data.startPosition)}):(r(u.data.target).css({position:"absolute",left:r.fn.dragLengthC(u.data.left,x),top:r.fn.dragLengthC(u.data.top,x)}),T());function j(){U&&U.remove(),N.proxy=null}function T(){var o=!1;return N.hidroppables.each(function(){var m=r(this);if(!m.hidroppable("options").disabled){var a=m.offset();return u.pageX>a.left&&u.pageX<a.left+m.outerWidth()&&u.pageY>a.top&&u.pageY<a.top+m.outerHeight()?(x.revert&&r(u.data.target).css({position:u.data.startPosition,left:u.data.startLeft,top:u.data.startTop}),r(this).trigger("_drop",[u.data.target]),j(),o=!0,this.entered=!1,!1):void 0}}),o||x.revert||j(),o}return x.onStopDrag.call(u.data.target,u),r(document).unbind(".hidraggable"),setTimeout(function(){r("body").css("cursor","")},100),!1}r.fn.hidraggable=function(u,S){return typeof u=="string"?r.fn.hidraggable.methods[u](this,S):this.each(function(){var C,N=r.data(this,"hidraggable");N?(N.handle.unbind(".hidraggable"),C=r.extend(N.options,u)):C=r.extend({},r.fn.hidraggable.defaults,r.fn.hidraggable.parseOptions(this),u||{});var U=C.handle?typeof C.handle=="string"?r(C.handle,this):C.handle:r(this);function x(j){var T=r.data(j.data.target,"hidraggable"),o=T.handle,m=r(o).offset(),a=r(o)[0].style.transform&&parseInt(r(o)[0].style.transform.slice(7,-1)),I=T.options.getScale(),f=r(o).outerWidth(),P=r(o).outerHeight();if(a){var c=a*Math.PI/180,d=r(o).outerWidth(),A=r(o).outerHeight(),z=Math.sin(c),k=Math.cos(c);f=Math.abs(d*k)+Math.abs(A*z),P=Math.abs(d*z)+Math.abs(A*k)}I&&(f*=I,P*=I);var F=j.pageY-m.top,X=m.left+f-j.pageX,V=m.top+P-j.pageY,K=j.pageX-m.left;return Math.min(F,X,V,K)>T.options.edge}r.data(this,"hidraggable",{options:C,handle:U}),C.disabled?r(this).css("cursor",""):U.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(j){if(!r.fn.hidraggable.isDragging){var T=r.data(j.data.target,"hidraggable").options;x(j)?r(this).css("cursor",T.cursor):r(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(j){r(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(j){if(x(j)!=0){r(this).css("cursor","");var T=r(j.data.target).position(),o=r(j.data.target).offset(),m={startPosition:r(j.data.target).css("position"),startLeft:T.left,startTop:T.top,left:T.left,top:T.top,startX:j.pageX,startY:j.pageY,offsetWidth:j.pageX-o.left,offsetHeight:j.pageY-o.top,target:j.data.target,parent:r(j.data.target).parent()[0]},a=r.data(j.data.target,"hidraggable");if(a.options.draggable===!1||j.target.className=="r resizebtn")return;var I=a.options.getScale();I&&(m.left/=I,m.top/=I,m.startLeft/=I,m.startTop/=I);var f=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(f){var P=f*Math.PI/180,c=r(j.data.target).outerWidth(),d=r(j.data.target).outerHeight(),A=Math.sin(P),z=Math.cos(P),k=Math.abs(c*z)+Math.abs(d*A),F=Math.abs(c*A)+Math.abs(d*z),X=(k-c)/2,V=(F-d)/2;m.left+=X,m.top+=V,m.startLeft+=X,m.startTop+=V}r.extend(j.data,m),r.data(j.data.target,"hidraggable").options.onBeforeDrag.call(j.data.target,j)!=0&&(r(document).bind("mousedown.hidraggable",j.data,b),r(document).bind("mousemove.hidraggable",j.data,D),r(document).bind("mouseup.hidraggable",j.data,v))}})})},r.fn.hidraggable.methods={options:function(S){return r.data(S[0],"hidraggable").options},update:function(S,C){C&&typeof C=="object"&&r.data(S[0],"hidraggable")&&Object.keys(C).forEach(function(N){r.data(S[0],"hidraggable").options[N]=C[N]})},proxy:function(S){return r.data(S[0],"hidraggable").proxy},enable:function(S){return S.each(function(){r(this).hidraggable({disabled:!1})})},disable:function(S){return S.each(function(){r(this).hidraggable({disabled:!0})})}},r.fn.hidraggable.parseOptions=function(u){var S=r(u);return r.extend({},r.hiprintparser.parseOptions(u,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!S.attr("disabled")||void 0})},r.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(S){},onBeforeDrag:function(S){},onStartDrag:function(S){},onDrag:function(S){},onStopDrag:function(S){}},r.fn.hidraggable.isDragging=!1})(jQuery)},function(R,L){(function(r){r.fn.hidroppable=function(B,w){return typeof B=="string"?r.fn.hidroppable.methods[B](this,w):(B=B||{},this.each(function(){var b,l=r.data(this,"hidroppable");l?r.extend(l.options,B):(r(b=this).addClass("hidroppable"),r(b).bind("_dragenter",function(h,g){r.data(b,"hidroppable").options.onDragEnter.apply(b,[h,g])}),r(b).bind("_dragleave",function(h,g){r.data(b,"hidroppable").options.onDragLeave.apply(b,[h,g])}),r(b).bind("_dragover",function(h,g){r.data(b,"hidroppable").options.onDragOver.apply(b,[h,g])}),r(b).bind("_drop",function(h,g){r.data(b,"hidroppable").options.onDrop.apply(b,[h,g])}),r.data(this,"hidroppable",{options:r.extend({},r.fn.hidroppable.defaults,r.fn.hidroppable.parseOptions(this),B)}))}))},r.fn.hidroppable.methods={options:function(w){return r.data(w[0],"hidroppable")&&r.data(w[0],"hidroppable").options||{}},enable:function(w){return w.each(function(){r(this).hidroppable({disabled:!1})})},disable:function(w){return w.each(function(){r(this).hidroppable({disabled:!0})})}},r.fn.hidroppable.parseOptions=function(B){var w=r(B);return r.extend({},r.hiprintparser.parseOptions(B,["accept"]),{disabled:!!w.attr("disabled")||void 0})},r.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(w,b){},onDragOver:function(w,b){},onDragLeave:function(w,b){},onDrop:function(w,b){}}})(jQuery)},function(R,L){var r;(r=jQuery).hiprintparser={parseOptions:function(w,b){var l=r(w),h={},g=r.trim(l.attr("data-options"));if(g&&(g.substring(0,1)!="{"&&(g="{"+g+"}"),h=new Function("return "+g)()),b){for(var E={},D=0;D<b.length;D++){var v=b[D];if(typeof v=="string")E[v]=v=="width"||v=="height"||v=="left"||v=="top"?parseInt(w.style[v])||void 0:l.attr(v);else for(var u in v){var S=v[u];S=="boolean"?E[u]=l.attr(u)?l.attr(u)=="true":void 0:S=="number"&&(E[u]=l.attr(u)=="0"?0:parseFloat(l.attr(u))||void 0)}}r.extend(h,E)}return h}},r.fn.dragLengthC=function(B,w){return w.moveUnit=="pt"?r.fn.dragLengthCNum(B,w)+"pt":r.fn.dragLengthCNum(B,w)},r.fn.dragLengthCNum=function(B,w){var b=3;if(w.moveUnit=="pt"){var l=.75*B;return w.minMove&&(b=w.minMove),Math.round(l/b)*b}return Math.round(l/b)*b}},function(R,L){var r,B,w;r=jQuery,B={maxPanelIndex:0},(w=function(l){this.options=r.data(l.target,"hireizeable").options,this.init(l.target)}).prototype={numHandlerText:function(l){return this.numHandler(l)+"pt"},numHandler:function(l){var h=1.5,g=.75*l;return this.options.minResize&&(h=this.options.minResize),Math.round(g/h)*h},init:function(l){var h=this;if(l.className.includes("hiprint-printElement")){this.initResizeBox(l);var g=new ResizeObserver((E,D)=>{h.refreshSizeBox(r(l))});g.observe(l)}},initResizeBox:function(l){var h=this;r(l).each(function(){var g;B.maxPanelIndex+=1,h.options.noContainer?g=r(l):g=r("<div panelIndex="+B.maxPanelIndex+' class="resize-panel"></div>'),h.appendHandler(g,r(this));var E={name:"n",target:r('<div class="resizebtn n"/>')},D={name:"s",target:r('<div class="resizebtn s"/>')},v={name:"w",target:r('<div class="resizebtn w"/>')},u={name:"e",target:r('<div class="resizebtn e"/>')},S={name:"ne",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},C={name:"nw",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},N={name:"se",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},U={name:"sw",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},x={name:"r",target:r('<div class="resizebtn r"/>')},j={name:"why",target:r('<div class="resizebtn why"/>')},T=r('<div class="size-box"></div>'),o=r('<div class="del-btn">\u2715</div>'),m=function(){var f=[j.target],P=h.options.showPoints;return r.each([x,E,D,v,u,S,C,N,U],function(c,d){r.inArray(d.name,P)>-1&&f.push(d.target)}),f};h.refreshSizeBox(void 0,T,g),h.options.draggable!=!1&&(g.append(o),g.on("mousedown",".del-btn",()=>{var I=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});l.dispatchEvent(I)})),h.appendHandler(m(),g),h.bindResizeEvent(g,r(this));var a=r(this);r(g).on("mousedown",".resizebtn",function(){a.addClass("resizeing")}),r(".easyui-droppable").on("mouseup",function(){a.removeClass("resizeing")}),h.bindTrigger(r(this))}),h.bindHidePanel()},addHandlerCss:function(l){for(var h=0;h<l.length;h++)l[h].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(l,h){h.find(".resize-panel").remove();for(var g=0;g<l.length;g++)h.append(l[g])},refreshSizeBox:function(l,h,g){if(!!this.options.showSizeBox){if(h)g.append(h);else if(l&&l.length){var E=l.height(),D=l[0].clientHeight,v=l.width(),u=l[0].clientWidth;E<=40?(r.each([".ne",".nw",".se",".sw"],function(N,U){var x=D-30;l.find(U).css("height",x>0?x:0),l.find(U).css("width",x>0?x:0),x<=0&&(U.includes("n")&&l.find(U).css("border-top","none"),U.includes("s")&&l.find(U).css("border-bottom","none"),U.includes("e")&&l.find(U).css("border-right","none"),U.includes("w")&&l.find(U).css("border-left","none"))}),r.each([".e",".w"],function(N,U){var x=D-30;l.find(U).css("height",x>0?x:10),l.find(U).css("top",D/2-(x>0?x:10)/2)})):r.each([".e",".w"],function(N,U){l.find(U).css("top",D/2-l.find(U).height()/2)}),v<=40?(r.each([".ne",".nw",".se",".sw"],function(N,U){var x=u-30;l.find(U).css("height",x>0?x:0),l.find(U).css("width",x>0?x:0),x<=0&&(U.includes("n")&&l.find(U).css("border-top","none"),U.includes("s")&&l.find(U).css("border-bottom","none"),U.includes("e")&&l.find(U).css("border-right","none"),U.includes("w")&&l.find(U).css("border-left","none"))}),r.each([".n",".s"],function(N,U){let x=u-30;l.find(U).css("width",x>0?x:10),l.find(U).css("left",u/2-(x>0?x:10)/2)})):r.each([".n",".s",".r"],function(N,U){U==".r",l.find(U).css("left",u/2-l.find(U).width()/2)}),D>40&&u>40&&(r.each([".ne",".nw",".se",".sw"],function(N,U){U.includes("n")&&l.find(U).css("border-top",""),U.includes("s")&&l.find(U).css("border-bottom",""),U.includes("e")&&l.find(U).css("border-right",""),U.includes("w")&&l.find(U).css("border-left","")}),r.each([".n",".s"],function(N,U){l.find(U).css("width","")}))}var S,C;if(l&&l.length)S=l[0].style,C=l.children("div[panelindex]").find(".size-box");else if(g&&g.parent()){var l=g.parent();if(l.hasClass("hiprint-printPaper-content"))return;S=l[0].style,S.width||(S.width=hinnn.px.toPt(l[0].offsetWidth)+"pt"),S.height||(S.height=hinnn.px.toPt(l[0].offsetHeight)+"pt"),C=l.children("div[panelindex]").find(".size-box")}C&&(C.text(S.width+" x "+S.height),C.css("top",-(C.outerHeight()||20)))}},triggerResize:function(l,h){h.ctrlKey||h.metaKey||(l.siblings().children("div[panelindex]").removeClass("selected"),l.siblings().children("div[panelindex]").css({display:"none"})),l.children("div[panelindex]").addClass("selected"),l.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(l)},bindResizeEvent:function(l,h){var g=this,E=0,D=0,v=l.width(),u=l.height(),S=l.offset().left,C=l.offset().top,N=g.options.noContainer?r(h):l.parent(),U=!1;l.on("mousedown",".e",function(c){E=c.pageX,v=l.width(),U=!0,c.stopPropagation()});var x=!1;l.on("mousedown",".s",function(c){D=c.pageY,u=l.height(),x=!0,c.stopPropagation()});var j=!1;l.on("mousedown",".w",function(c){E=c.pageX,v=l.width(),j=!0,S=N.position().left,c.stopPropagation()});var T=!1;l.on("mousedown",".n",function(c){D=c.pageY,u=l.height(),T=!0,C=N.position().top,c.stopPropagation()});var o=!1;l.on("mousedown",".ne",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),o=!0,C=N.position().top,c.stopPropagation()});var m=!1;l.on("mousedown",".nw",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),C=N.position().top,S=N.position().left,m=!0,c.stopPropagation()});var a=!1;l.on("mousedown",".se",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),a=!0,c.stopPropagation()});var I=!1;l.on("mousedown",".sw",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),I=!0,S=N.position().left,c.stopPropagation()});var f=!1;l.on("mousedown",".r",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),f=!0,S=v/2+N.position().left,C=u/2+N.position().top,c.stopPropagation()}),l.on("dblclick",".r",function(c){N.css({transform:"rotate("+0+"deg)"}),g.options.onResize(c,void 0,void 0,void 0,void 0,0),c.stopPropagation()});var P=!1;l.on("mousedown",function(c){g.options.onBeforeResize(),E=c.pageX,D=c.pageY,C=N.position().top,S=N.position().left,P=!1}),r(g.options.stage).on("mousemove",function(c){if(U){var d=(c.pageX-E)/g.options.getScale();l.css({width:"100%"}),N.css({width:g.numHandlerText(v+d)}),g.options.onResize(c,void 0,g.numHandler(v+d),void 0,void 0)}else if(x){var A=(c.pageY-D)/g.options.getScale();l.css({height:"100%"}),N.css({height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),void 0,void 0,void 0)}else if(f){l.css({height:"100%"});var z=c.pageX;c.pageY;var k=(z-E)*360/100;E=c.pageX;var F=N[0].style.transform&&parseInt(N[0].style.transform.slice(7,-1))||0,X=F+k;Math.abs(X)>360&&(X=X%360),N.css({transform:"rotate("+X+"deg)"}),g.options.onResize(c,void 0,void 0,void 0,void 0,X)}else if(j)d=(c.pageX-E)/g.options.getScale(),l.css({width:"100%"}),N.css({width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d)}),g.options.onResize(c,void 0,g.numHandler(v-d),void 0,g.options.noDrag?void 0:g.numHandler(S+d));else if(T)A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%"}),N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A)}),g.options.onResize(c,g.numHandler(u-A),void 0,g.options.noDrag?void 0:g.numHandler(C+A),void 0);else if(o)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%",width:"100%"}),c.shiftKey)N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A),width:g.numHandlerText(v+d)}),g.options.onResize(c,g.numHandler(u-A),g.numHandler(v+d),g.options.noDrag?void 0:g.numHandler(C+A),void 0);else{var V=u/v,K=v+d,tt=u-A,G=C+A;tt=K*V,G=C+A+u-A-tt,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt),top:g.numHandlerText(g.options.noDrag?void 0:G)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),g.options.noDrag?void 0:g.numHandler(G),void 0)}else if(m)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%",width:"100%"}),c.shiftKey)N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A),width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d)}),g.options.onResize(c,g.numHandler(u-A),g.numHandler(v-d),g.options.noDrag?void 0:g.numHandler(C+A),g.options.noDrag?void 0:g.numHandler(S+d));else{var V=u/v,K=v-d,tt=u-A,it=S+d,G=C+A;tt=K*V,it=S+d,G=C+A+u-A-tt,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt),left:g.numHandlerText(g.options.noDrag?void 0:it),top:g.numHandlerText(g.options.noDrag?void 0:G)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),g.options.noDrag?void 0:g.numHandler(G),g.options.noDrag?void 0:g.numHandler(it))}else if(a)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({width:"100%",height:"100%"}),c.shiftKey)N.css({width:g.numHandlerText(v+d),height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),g.numHandler(v+d),void 0,void 0);else{var V=u/v,K=v+d,tt=u+A;tt=K*V,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),void 0,void 0)}else if(I)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({width:"100%",height:"100%"}),c.shiftKey)N.css({width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d),height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),g.numHandler(v-d),void 0,g.options.noDrag?void 0:g.numHandler(S+d));else{var V=u/v,K=v-d,tt=u+A,it=S+d;tt=K*V,N.css({width:g.numHandlerText(K),left:g.numHandlerText(g.options.noDrag?void 0:it),height:g.numHandlerText(tt)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),void 0,g.options.noDrag?void 0:g.numHandler(it))}else P&&(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),N.css({left:g.numHandlerText(g.options.noDrag?void 0:S+d),top:g.numHandlerText(g.options.noDrag?void 0:C+A)}),g.options.onResize(c,void 0,void 0,g.options.noDrag?void 0:g.numHandler(C+A),g.options.noDrag?void 0:g.numHandler(S+d)))}).on("mouseup",function(c){(U||x||j||T||o||m||I||a||P||f)&&g.options.onStopResize(f),U=!1,x=!1,j=!1,T=!1,o=!1,m=!1,I=!1,a=!1,P=!1,f=!1})},bindTrigger:function(l){var h=this;l.on("click",function(g){g.stopPropagation(),h.triggerResize(l,g),r(".mouseRect").remove()})},bindHidePanel:function(l){if(B.maxPanelIndex<2){var h=this.options.stage;r(h).bind("click",function(g){g.target.className&&_typeof(g.target.className)=="string"&&(g.target.className.includes("design")||g.target.className.includes("hiprint-printPaper-content")||g.target.className.includes("paperBox"))&&(g.stopPropagation(),r("div[panelindex]").css({display:"none"}),r("div[panelindex]").removeClass("selected"))})}}},r.fn.extend({hireizeable:function(l){return this.each(function(){var h,g=r.data(this,"hireizeable");h=g?r.extend({},g.options,l||{}):r.extend({},r.fn.hireizeable.defaults,l||{}),r.data(this,"hireizeable",{options:h}),new w({target:this,onResize:function(D,v,u,S,C){},onStopResize:function(D,v,u,S,C){}})})}}),r.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(l,h,g,E,D){},onResize:function(l,h,g,E,D){},onStopResize:function(l,h,g,E,D){},noDrag:!1}},function(R,L){var r,B;jQuery,r="connected",B="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",token:null,reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(b){return window.io},send:function(b){try{this.socket.emit("news",b)}catch(l){console.log("send data error:"+(b||"")+JSON.stringify(l))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(b){console.log("refreshPrinterList error:"+JSON.stringify(b))}},getClients:function(){try{this.socket.emit("getClients")}catch(b){console.log("getClients error:"+JSON.stringify(b))}},getAddress:function(b,...l){try{this.socket.emit("address",b,...l)}catch(h){console.log("getAddress error:"+JSON.stringify(h))}},ippPrint:function(b){try{this.socket.emit("ippPrint",b)}catch(l){console.log("ippPrint error:"+JSON.stringify(l))}},ippRequest:function(b){try{this.socket.emit("ippRequest",b)}catch(l){console.log("ippRequest error:"+JSON.stringify(l))}},setHost:function(w,b,l){window.utools?this.host2=host2:this.host=w,typeof b=="function"&&(l=b,b=void 0),this.token=b,this.stop(),this.start(l)},start:function(b){var l=this,h=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{transports:["websocket"],reconnectionAttempts:5,auth:{token:this.token}}),this.socket.on("connect",function(g){h.opened=!0,console.log("Websocket opened."),l.socket.on("successs",function(E){hinnn.event.trigger("printSuccess_"+E.templateId,E)}),l.socket.on("error",function(E){hinnn.event.trigger("printError_"+E.templateId,E)}),l.socket.on("clients",function(E){h.clients=E,hinnn.event.trigger("clients",E)}),l.socket.on("clientInfo",function(E){h.clientInfo=E,hinnn.event.trigger("clientInfo",E)}),l.socket.on("printerList",function(E){h.printerList=E,hinnn.event.trigger("printerList",E)}),l.socket.on("address",function(E,D,v){hinnn.event.trigger("address_"+E,{addr:D,e:v})}),l.socket.on("ippPrinterConnected",function(E){hinnn.event.trigger("ippPrinterConnected",E)}),l.socket.on("ippPrinterCallback",function(E,D){hinnn.event.trigger("ippPrinterCallback",{err:E,res:D})}),l.socket.on("ippRequestCallback",function(E,D){hinnn.event.trigger("ippRequestCallback",{err:E,res:D})}),h.state=r,b&&b(!0,g)}),this.socket.on("connect_error",function(g){console.error(g),hinnn.event.trigger("connect_error",g)}),this.socket.on("disconnect",function(){h.opened=!1,b&&b(!1)})):console.log("WebSocket start fail"),b&&b(!1)},reconnect:function(){this.state!==r&&this.state!==B||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=B,this.state===B}}},function(R,L,r){var B=r(28);typeof B=="string"&&(B=[[R.i,B,""]]);var w={hmr:!0,transform:void 0,insertInto:void 0};r(30)(B,w),B.locals&&(R.exports=B.locals)},function(R,L,r){(R.exports=r(29)(!1)).push([R.i,"",""])},function(R,L,r){R.exports=function(B){var w=[];return w.toString=function(){return this.map(function(b){var l=function(h,g){var E=h[1]||"",D=h[3];if(!D)return E;if(g&&typeof btoa=="function"){var v=(S=D,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(S))))+" */"),u=D.sources.map(function(C){return"/*# sourceURL="+D.sourceRoot+C+" */"});return[E].concat(u).concat([v]).join(`
1572
+ `)}var S;return[E].join(`
1573
+ `)}(b,B);return b[2]?"@media "+b[2]+"{"+l+"}":l}).join("")},w.i=function(b,l){typeof b=="string"&&(b=[[null,b,""]]);for(var h={},g=0;g<this.length;g++){var E=this[g][0];E!=null&&(h[E]=!0)}for(g=0;g<b.length;g++){var D=b[g];D[0]!=null&&h[D[0]]||(l&&!D[2]?D[2]=l:l&&(D[2]="("+D[2]+") and ("+l+")"),w.push(D))}},w}},function(R,L,r){var B,w,b={},l=(B=function(){return window&&document&&document.all&&!window.atob},function(){return w===void 0&&(w=B.apply(this,arguments)),w}),h=function(a){var I={};return function(f,P){if(typeof f=="function")return f();if(I[f]===void 0){var c=function(d,A){return A?A.querySelector(d):document.querySelector(d)}.call(this,f,P);if(window.HTMLIFrameElement&&_instanceof(c,window.HTMLIFrameElement))try{c=c.contentDocument.head}catch{c=null}I[f]=c}return I[f]}}(),g=null,E=0,D=[],v=r(31);function u(a,I){for(var f=0;f<a.length;f++){var P=a[f],c=b[P.id];if(c){c.refs++;for(var d=0;d<c.parts.length;d++)c.parts[d](P.parts[d]);for(;d<P.parts.length;d++)c.parts.push(j(P.parts[d],I))}else{var A=[];for(d=0;d<P.parts.length;d++)A.push(j(P.parts[d],I));b[P.id]={id:P.id,refs:1,parts:A}}}}function S(a,I){for(var f=[],P={},c=0;c<a.length;c++){var d=a[c],A=I.base?d[0]+I.base:d[0],z={css:d[1],media:d[2],sourceMap:d[3]};P[A]?P[A].parts.push(z):f.push(P[A]={id:A,parts:[z]})}return f}function C(a,I){var f=h(a.insertInto);if(!f)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var P=D[D.length-1];if(a.insertAt==="top")P?P.nextSibling?f.insertBefore(I,P.nextSibling):f.appendChild(I):f.insertBefore(I,f.firstChild),D.push(I);else if(a.insertAt==="bottom")f.appendChild(I);else{if(_typeof(a.insertAt)!="object"||!a.insertAt.before)throw new Error(`[Style Loader]
1569
1574
 
1570
1575
  Invalid value for parameter 'insertAt' ('options.insertAt') found.
1571
1576
  Must be 'top', 'bottom', or Object.
1572
1577
  (https://github.com/webpack-contrib/style-loader#insertat)
1573
- `);var u=I(r.insertAt.before,h);h.insertBefore(d,u)}}function E(r){if(r.parentNode===null)return!1;r.parentNode.removeChild(r);var d=D.indexOf(r);d>=0&&D.splice(d,1)}function U(r){var d=document.createElement("style");if(r.attrs.type===void 0&&(r.attrs.type="text/css"),r.attrs.nonce===void 0){var h=function(){return f.nc}();h&&(r.attrs.nonce=h)}return w(d,r.attrs),T(r,d),d}function w(r,d){Object.keys(d).forEach(function(h){r.setAttribute(h,d[h])})}function v(r,d){var h,P,u,g;if(d.transform&&r.css){if(!(g=typeof d.transform=="function"?d.transform(r.css):d.transform.default(r.css)))return function(){};r.css=g}if(d.singleton){var A=H++;h=l||(l=U(d)),P=m.bind(null,h,A,!1),u=m.bind(null,h,A,!0)}else r.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(h=function(L){var W=document.createElement("link");return L.attrs.type===void 0&&(L.attrs.type="text/css"),L.attrs.rel="stylesheet",w(W,L.attrs),T(L,W),W}(d),P=function(L,W,J){var Y=J.css,F=J.sourceMap,O=W.convertToAbsoluteUrls===void 0&&F;(W.convertToAbsoluteUrls||O)&&(Y=N(Y)),F&&(Y+=`
1574
- /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(F))))+" */");var $=new Blob([Y],{type:"text/css"}),k=L.href;L.href=URL.createObjectURL($),k&&URL.revokeObjectURL(k)}.bind(null,h,d),u=function(){E(h),h.href&&URL.revokeObjectURL(h.href)}):(h=U(d),P=function(L,W){var J=W.css,Y=W.media;if(Y&&L.setAttribute("media",Y),L.styleSheet)L.styleSheet.cssText=J;else{for(;L.firstChild;)L.removeChild(L.firstChild);L.appendChild(document.createTextNode(J))}}.bind(null,h),u=function(){E(h)});return P(r),function(L){if(L){if(L.css===r.css&&L.media===r.media&&L.sourceMap===r.sourceMap)return;P(r=L)}else u()}}tt.exports=function(r,d){if(typeof DEBUG<"u"&&DEBUG&&(typeof document>"u"?"undefined":Tt(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(d=d||{}).attrs=Tt(d.attrs)=="object"?d.attrs:{},d.singleton||typeof d.singleton=="boolean"||(d.singleton=p()),d.insertInto||(d.insertInto="head"),d.insertAt||(d.insertAt="bottom");var h=x(r,d);return s(h,d),function(P){for(var u=[],g=0;g<h.length;g++){var A=h[g];(L=y[A.id]).refs--,u.push(L)}for(P&&s(x(P,d),d),g=0;g<u.length;g++){var L;if((L=u[g]).refs===0){for(var W=0;W<L.parts.length;W++)L.parts[W]();delete y[L.id]}}}};var j,a=(j=[],function(r,d){return j[r]=d,j.filter(Boolean).join(`
1575
- `)});function m(r,d,h,P){var u=h?"":P.css;if(r.styleSheet)r.styleSheet.cssText=a(d,u);else{var g=document.createTextNode(u),A=r.childNodes;A[d]&&r.removeChild(A[d]),A.length?r.insertBefore(g,A[d]):r.appendChild(g)}}},function(tt,V){tt.exports=function(f){var G=typeof window<"u"&&window.location;if(!G)throw new Error("fixUrls requires window.location");if(!f||typeof f!="string")return f;var B=G.protocol+"//"+G.host,y=B+G.pathname.replace(/\/[^\/]*$/,"/");return f.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(p,I){var l,H=I.trim().replace(/^"(.*)"$/,function(D,N){return N}).replace(/^'(.*)'$/,function(D,N){return N});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(H)?p:(l=H.indexOf("//")===0?H:H.indexOf("/")===0?B+H:y+H.replace(/^\.\//,""),"url("+JSON.stringify(l)+")")})}},function(tt,V){var f,G;f=jQuery,(G=function(y,p){this.init(y,p)}).prototype={init:function(y,p){this.ele=y,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(l){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=f.extend(!0,{},this.defaults,p),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(y,p){var I=this,l=p;if(y&&y.length){var H=S.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(p){var D=y.length*I.opts.itemHeight-31;H.css({top:-D})}l||(l=H).addClass("hicontextmenuroot"),S.default.each(y,function(N,s){var x='<div class="nav">'+(s.desc||"")+"</div>",T='<i class="svicon '+s.icon+'"></i>';s.menus&&s.menus.length&&(x='<div class="nav">'+(s.desc||"")+"\u203A</div>");var E=!!s.disable&&s.disable(),U=S.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+T+"<span>"+(s.text||"")+"</span></div>"+x+"</a></li>");E&&U.addClass("disable"),s.borderBottom&&U.addClass("borderBottom"),s.menus&&(U.addClass("hicontextsubmenu"),I.renderMenu(s.menus,U)),s.callback&&U.click(function(w){S.default(this).hasClass("disable")||(S.default(".hicontextmenuroot").remove(),s.callback()),w.stopPropagation()}),H.append(U)}),p&&p.append(H)}p||S.default("body").append(l).find(".hicontextmenuroot").hide()},setPosition:function(y){var p=this,I=document.documentElement.clientWidth,l=document.documentElement.clientHeight,H=S.default(".hicontextmenuroot").height(),D=y.pageX,N=y.pageY;D>I-p.opts.width&&(D-=p.opts.width),N>l-H&&(N-=H),S.default(".hicontextmenuroot").css({left:D,top:N}).show()},eventBind:function(){var y=this;this.ele.on("contextmenu",function(p){S.default(".hicontextmenuroot").remove(),p.preventDefault();var I=y.opts.menus.filter(function(H){return typeof H.enabled=="boolean"?H.enabled:H.enabled()});if(!y.opts.table){var l=y.opts.panel.getSelectEls();l.length<=1&&S.default(this).trigger(S.default.Event("click"))}y.renderMenu(I),y.setPosition(p),y.opts.target&&typeof y.opts.target=="function"&&y.opts.target(f(this))}),f("body").on("click",function(){f(".hicontextmenuroot").remove()})}},f.fn.hicontextMenu=function(B){return new G(this,B),this}},function(tt,V,f){f.r(V),f(22),f(23),f(24),f(25);var G,B=f(0);f(26),window.hiLocalStorage=(G=window.localStorage||null,{saveLocalData:function(i,n){return!(!G||!n||(G.setItem(i,n),0))},getLocalData:function(i){return G?G.getItem(i):null},removeItem:function(i){G&&G.removeItem(i)}}),f(27),f(32);var y,p=function(){function M(){this.allElementTypes=[]}return Object.defineProperty(M,"instance",{get:function(){return M._instance||(M._instance=new M),M._instance},enumerable:!0,configurable:!0}),M.prototype.addPrintElementType=function(i){var n=this;if(i&&i.tid&&i.type){var c=it.createPrintElementType(i),b=n.allElementTypes.findIndex(function(Z){return Z.tid==c.tid});b>=0&&n.allElementTypes.splice(b,1),n.allElementTypes.push(c)}return n},M.prototype.addPrintElementTypes=function(i,n){var c=this;this[i]?this[i]=this[i].concat(n):this[i]=n,n.forEach(function(b){c.allElementTypes=c.allElementTypes.concat(b.printElementTypes)})},M.prototype.removePrintElementTypes=function(i){var n=this;delete n[i],n.allElementTypes=n.allElementTypes.filter(function(c){return!c.tid.startsWith(i)})},M.prototype.getElementTypeGroups=function(i){return this[this.formatterModule(i)]||[]},M.prototype.getElementType=function(i){var n=this.allElementTypes.filter(function(c){return c.tid==i});if(n.length>0)return n[0]},M.prototype.updateElementType=function(i,n){var c=this.getElementType(i);if(n){var b=n(c),Z=this.allElementTypes.findIndex(function(z){return z.tid==i});if(Z>=0)return this.allElementTypes.splice(Z,1,b),b}return c},M.prototype.formatterModule=function(i){return i||"_default"},M}(),I=f(1),l=f(2),H=function(){function M(){}return M.prototype.createPrintElementTypeHtml=function(i,n){var c=S.default('<ul class="hiprint-printElement-type"></ul>');return n.forEach(function(b){var Z=S.default("<li></li>");Z.append('<span class="title">'+b.name+"</span>");var z=S.default("<ul></ul>");Z.append(z),b.printElementTypes.forEach(function(R){z.append('<li><a class="ep-draggable-item" tid="'+R.tid+'"> '+R.getText()+" </a></li>")}),c.append(Z)}),S.default(i).append(c),c.find(".ep-draggable-item")},M}(),D=f(5),N=f(15),s=function(){return function(M){this.title=M.title,this.type=M.type}}(),x=function(){return function(M){this.title=M.title,this.type=M.type,this.editable=M.editable,this.columnDisplayEditable=M.columnDisplayEditable,this.columnDisplayIndexEditable=M.columnDisplayIndexEditable,this.columnTitleEditable=M.columnTitleEditable,this.columnResizable=M.columnResizable,this.columnAlignEditable=M.columnAlignEditable,this.isEnableEditField=M.isEnableEditField,this.isEnableContextMenu=M.isEnableContextMenu,this.isEnableInsertRow=M.isEnableInsertRow,this.isEnableDeleteRow=M.isEnableDeleteRow,this.isEnableInsertColumn=M.isEnableInsertColumn,this.isEnableDeleteColumn=M.isEnableDeleteColumn,this.isEnableMergeCell=M.isEnableMergeCell}}(),T=function(){function M(i){var n=this;this.text=i.text,this.field=i.field,this.fields=i.fields,this.title=i.title,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.options=i.options,this.editable=i.editable!=null?i.editable:!0,this.columnDisplayEditable=i.columnDisplayEditable!=null?i.columnDisplayEditable:!0,this.columnDisplayIndexEditable=i.columnDisplayIndexEditable!=null?i.columnDisplayIndexEditable:!0,this.columnTitleEditable=i.columnTitleEditable!=null?i.columnTitleEditable:!0,this.columnResizable=i.columnResizable!=null?i.columnResizable:!0,this.columnAlignEditable=i.columnAlignEditable!=null?i.columnAlignEditable:!0,this.columns=[],(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),this.rowStyler=i.rowStyler,this.striped=i.striped,this.groupFields=i.groupFields||[],this.groupFormatter=i.groupFormatter,this.groupFooterFormatter=i.groupFooterFormatter,this.footerFormatter=i.footerFormatter,this.rowsColumnsMerge=i.rowsColumnsMerge,this.rowsColumnsMergeClean=i.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=i.gridColumnsFooterFormatter,this.isEnableEditField=i.isEnableEditField!=null?i.isEnableEditField:!0,this.isEnableContextMenu=i.isEnableContextMenu!=null?i.isEnableContextMenu:!0,this.isEnableInsertRow=i.isEnableInsertRow!=null?i.isEnableInsertRow:!0,this.isEnableDeleteRow=i.isEnableDeleteRow!=null?i.isEnableDeleteRow:!0,this.isEnableInsertColumn=i.isEnableInsertColumn!=null?i.isEnableInsertColumn:!0,this.isEnableDeleteColumn=i.isEnableDeleteColumn!=null?i.isEnableDeleteColumn:!0,this.isEnableMergeCell=i.isEnableMergeCell!=null?i.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return M.prototype.getText=function(){return this.text||this.title||""},M.prototype.createPrintElement=function(i){var n=this;return this.columns&&this.columns.length==0&&(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),new N.a(this,i)},M.prototype.getData=function(){return[{}]},M.prototype.createTableColumnArray=function(i){var n=[];return i.forEach(function(c,b){n.push(new D.a(c))}),n},M.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new x({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new s({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M.prototype.getColumnByColumnId=function(i){return this.columnObj[i]},M.prototype.makeColumnObj=function(i){var n={};return i?i.forEach(function(c){(c.id||c.columnId)&&(n[c.id||c.columnId]=c)}):this.columns&&this.columns.forEach(function(c){c.forEach(function(b){(b.id||b.columnId)&&(n[b.id||b.columnId]=b)})}),this.columnObj=n,n},M}(),E=f(4),U=f(3),w=(y=function(i,n){return(y=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(c,b){c.__proto__=b}||function(c,b){for(var Z in b)b.hasOwnProperty(Z)&&(c[Z]=b[Z])})(i,n)},function(M,i){function n(){this.constructor=M}y(M,i),M.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}),v=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.image.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.image.showPoints},i.prototype.getData=function(n){var c="",b=this.getField();n?c=b?b.split(".").reduce((z,R)=>z?z[R]:n[R],!1)||"":this.options.src||this.printElementType.getData():c=this.options.src||this.printElementType.getData();var Z=this.getFormatter();return Z&&(c=Z(c,this.options,this._currenttemplateData)),c||""},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(b,n,c),b},i.prototype.initSizeByHtml=function(n){M.prototype.initSizeByHtml.call(this,n),this.css(n,this.getData())},i.prototype.getConfigOptions=function(){return I.a.instance.image},i.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},i.prototype.updateTargetImage=function(n,c,b){var Z=n.find(".hiprint-printElement-image-content");Z.find("img").length?Z.find("img").attr("src",b):Z.html('<img style="width:100%;height:100%;" src="'+b+'">'),b.length?Z.find("img").css("cssText",`width:100%;height:100%;content:url("${b}")!important`):Z.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&Z.find("img").css("object-fit",this.options.fit)},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),j=function(M){function i(n){var c=this;return n=n||{},(c=M.call(this,n)||this).leftSpaceRemoved=n.leftSpaceRemoved,c}return w(i,M),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i}(U.a),a=f(8),m=function(){function M(i,n,c,b,Z,z,R,et,K,nt,X,rt,q,ot,ct,lt,ft,wt){this.panelPageRule=Z,this.overPrintOptions=c,this.watermarkOptions=b,this.panelIdx=n,this.scale=z,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=i,this.width=B.a.mm.toPt(R),this.height=B.a.mm.toPt(et),this.mmwidth=R,this.mmheight=et,this.paperHeader=K>=0?K:0,this.paperFooter=nt,this.contentHeight=nt-K,this.index=ft,this.paperNumberLeft=X||parseInt((this.width-30).toString()),this.paperNumberTop=rt||parseInt((this.height-22).toString()),this.paperNumberDisabled=q,this.paperNumberContinue=ot,this.paperNumberFormat=ct,this.backgroundColor=lt,this.referenceElement=wt?S.default.extend({},wt):new a.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0}),this.createTarget()}return M.prototype.subscribePaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged=i},M.prototype.triggerOnPaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberContinue:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat,backgroundColor:this.backgroundColor}),B.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,i||"\u6A21\u677F\u8C03\u6574")},M.prototype.setFooter=function(i,n,c,b){this.firstPaperFooter=i,this.evenPaperFooter=n,this.oddPaperFooter=c,this.lastPaperFooter=b},M.prototype.setOffset=function(i,n){this.setLeftOffset(i),this.setTopOffset(n)},M.prototype.setLeftOffset=function(i){i?this.paperContentTarget.css("left",i+"pt"):this.paperContentTarget[0].style.left=""},M.prototype.setTopOffset=function(i){i?this.paperContentTarget.css("top",i+"pt"):this.paperContentTarget[0].style.top=""},M.prototype.createTarget=function(){this.target=S.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},M.prototype.createHeaderLine=function(){var i=this;this.headerLinetarget=S.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(n,c){c>=i.paperFooter&&(c=i.paperFooter-10),i.paperHeader=c>=0?c:0,i.triggerOnPaperBaseInfoChanged()})},M.prototype.createFooterLine=function(){var i=this;this.footerLinetarget=S.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(n,c){c<=i.paperHeader&&(c=i.paperHeader+10),i.paperFooter=c,i.triggerOnPaperBaseInfoChanged()})},M.prototype.createPaperNumber=function(i,n){var c=this,b=this.target.find(".hiprint-paperNumber");if(b.length)return b.html(i),b;var Z=S.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+i+"</span>");return Z.css("top",this.paperNumberTop+"pt"),Z.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(Z),n&&this.dragHeadLineOrFootLine(Z,function(z,R){c.paperNumberTop=R,c.paperNumberLeft=z,c.triggerOnPaperBaseInfoChanged()},!0),Z},M.prototype.getTarget=function(){return this.target},M.prototype.append=function(i){this.paperContentTarget.append(i)},M.prototype.updateReferenceElement=function(i){i&&(this.referenceElement=i)},M.prototype.updatePrintLine=function(i){i>=this.printLine&&(this.printLine=i)},M.prototype.design=function(i){var n=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),i&&i.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),S.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){n.paperNumberDisabled==null&&(n.paperNumberDisabled=!1),n.paperNumberDisabled=!n.paperNumberDisabled,n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged("\u521D\u59CB")}),this.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor),S.default(this.paperNumberTarget).bind("click.hiprint",function(){B.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:{paperNumberFormat:n.paperNumberFormat,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue},callback:function(b){n.paperNumberDisabled=!!b.paperNumberDisabled||void 0,n.paperNumberContinue=b.paperNumberContinue,n.paperNumberFormat=b.paperNumberFormat?b.paperNumberFormat:void 0,n.createPaperNumber(n.formatPaperNumber(1,1),!0),n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged()}})})},M.prototype.resetPaperNumber=function(i){this.paperNumberDisabled?i.addClass("hiprint-paperNumber-disabled"):i.removeClass("hiprint-paperNumber-disabled")},M.prototype.updatePaperNumber=function(i,n,c){var b=this.createPaperNumber(this.formatPaperNumber(i,n));this.paperNumberDisabled?b.hide():c&&this.index%2==1&&(b[0].style.left="",b.css("right",this.paperNumberLeft+"pt"))},M.prototype.formatPaperNumber=function(i,n){return this.createOverPrintOptions(!1,this.overPrintOptions),this.createWaterMark(!1,i,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",i).replace("paperCount",n)+"`")},M.prototype.dragHeadLineOrFootLine=function(i,n,c){var b=this;i.hidraggable({axis:c?void 0:"v",onDrag:function(z,R,et){n(R,et)},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(z){l.a.instance.draging=!0},getScale:function(){return b.scale||1},onStopDrag:function(z){b.headerLinetarget.css("top",b.paperHeader+"pt"),b.footerLinetarget.css("top",b.paperFooter+"pt"),l.a.instance.draging=!1,b.footerLinetarget.removeClass("hidefooterLinetarget"),b.headerLinetarget.removeClass("hideheaderLinetarget")}})},M.prototype.resize=function(i,n){var c=this.paperFooter/this.height;this.width=B.a.mm.toPt(i),this.height=B.a.mm.toPt(n),this.mmwidth=i,this.mmheight=n,this.target.css("width",i+"mm"),this.target.css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",i+"mm"),this.target.parent().parent().css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm");var b=this.height*c;this.paperFooter=b||this.height,this.footerLinetarget.css("top",b+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},M.prototype.zoom=function(i){i&&(this.scale=i,this.target.css("transform","scale("+i+")"),i>1?this.target.css("transform-origin","-"+i+"% -"+i+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},M.prototype.getPaperFooter=function(i){var n=this.index+i;return n==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},M.prototype.getContentHeight=function(i){return this.getPaperFooter(i)-this.paperHeader},M.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
1576
- <img class="h_img" src="`+Ye+`" />
1577
- <img class="v_img" src="`+Oe+`" />
1578
- </div>`)},M.prototype.createOverPrintOptions=function(i,n){var c=this;if(!!n)if((n.type||1)==2||i){let b=c.paperBackgroundTarget.find("img");n.content&&n.content.length>1?b&&b.length>0?(b.attr("src",n.content),b.css("opacity",n.opacity||.7)):(b=S.default('<img style="width:100%;height:100%" />'),b.attr("src",n.content),b.css("opacity",n.opacity||.7),c.paperBackgroundTarget.append(b)):c.paperBackgroundTarget.empty()}else c.paperBackgroundTarget.empty()},M.prototype.createWaterMark=function(i,n,c){var b=this,Z=Object.assign({},c||{},{id:`${b.templateId}_${b.panelIdx}_${n||1}_${i?"design":b.index}`,watch:i,container:b.target[0]});!Z.container||(Z.content?(i&&Yt.destroyWatermark(Object.assign({},Z,{id:`${b.templateId}_${b.panelIdx}_${n||1}_${b.index}`})),Yt.createWatermark(Z)):Yt.destroyWatermark(Z))},M.prototype.displayHeight=function(){return this.mmheight-I.a.instance.paperHeightTrim+"mm"},M.prototype.displayWidth=function(){return this.mmwidth+"mm"},M.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},M}(),r=f(6),d=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new j(c),b.options.setDefault(new j(I.a.instance.longText.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getDesignTarget=function(n){var c=M.prototype.getDesignTarget.call(this,n);return c.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),c},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var c=this.getData(),b=this.createTarget(this.printElementType.getText(!0),c);return this.updateTargetSize(b),this.css(b,c),b},i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData(),c=this.getHtml(this.designPaper)[0].target;this.designTarget.find(".hiprint-printElement-longText-content").html(c.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.longText},i.prototype.getTitle=function(){return this.options.title||this.printElementType.title},i.prototype.getData=function(n){var c=this.getField(),b=c&&c.split(".").reduce((Z,z)=>Z?Z[z]:n?n[z]:"",!1)||"";return n?b||"":this.options.testData||this.printElementType.getData()||""},i.prototype.updateTargetText=function(n,c,b){var Z=n.find(".hiprint-printElement-longText-content"),z=this.getText(c,b);Z.html(z)},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-longText" style="position: absolute;"><div class="hiprint-printElement-longText-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(b,n,c),b},i.prototype.getText=function(n,c){var b=this.getFormatter();return c&&(c=this.options.leftSpaceRemoved!=0?c.toString().replace(/^\s*/,""):c),(this.getField()?(this.options.getHideTitle()?"":n?n+"\uFF1A":"")+(b?b(n,c,this.options,this._currenttemplateData):c):b?b(n,n,this.options,this._currenttemplateData):n||"")||""},i.prototype.getHtml=function(n,c){this.setCurrenttemplateData(c),this.createTempContainer();var b=this.getPaperHtmlResult(n,c);return this.removeTempContainer(),b},i.prototype.getHeightByData=function(n){this.createTempContainer();var c=this.getPaperHtmlResult(new m("","",void 0,1e3,1e3,0,25e3,0,0,!0,!0,void 0,0,void 0),{},n);return this.removeTempContainer(),c[0].referenceElement.bottomInLastPaper-c[0].referenceElement.printTopInPaper},i.prototype.getLongTextIndent=function(){return this.options.longTextIndent?'<span class="long-text-indent" style="margin-left:'+this.options.longTextIndent+'pt"></span>':'<span class="long-text-indent"></span>'},i.prototype.getPaperHtmlResult=function(n,c,b){var Z=this,z=[],R=0,et=b||this.getData(c),K=this.getText(this.getTitle(),et),nt=this.createTarget(this.getTitle(),this.options.testData||"");this.css(nt,et),c?this.updateTargetWidth(nt):this.updateTargetSize(nt),this.getTempContainer().html(""),this.getTempContainer().append(nt);var X=[this.getLongTextIndent()],rt=K.split(new RegExp(`\r|
1579
- `,"g"));if(rt.forEach(function(Ct,Ft){var Vt=Z.options.leftSpaceRemoved!=0?(Ct||"").toString().replace(/^\s*/,""):Ct;X=X.concat(Vt.split("")),Ft<rt.length-1&&X.push("<br/>"+Z.getLongTextIndent())}),X.length==0&&(X=[""]),this.isHeaderOrFooter()||this.isFixed()||!c)return(lt=this.getStringBySpecificHeight(X,25e3,nt)).target.css("left",this.options.displayLeft()),lt.target.css("top",this.options.displayTop()),lt.target[0].height="",z.push(new r.a({target:lt.target,printLine:this.options.displayTop()+lt.height,referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:n.index,bottomInLastPaper:this.options.getTop()+lt.height,printTopInPaper:this.options.getTop()})})),z;for(var q=this.getBeginPrintTopInPaperByReferenceElement(n);X.length>0;){var ot=0,ct=n.getPaperFooter(R);R==0&&q>ct&&n.panelPageRule!="none"&&(q=q-ct+n.paperHeader,z.push(new r.a({target:void 0,printLine:void 0})),R++,ot=n.getContentHeight(R)-(q-n.paperHeader),ct=n.getPaperFooter(R));var lt=this.getStringBySpecificHeight(X,ot>0?ot:R==0?ct-q:n.getContentHeight(R),nt);X.splice(0,lt.length);var ft=void 0,wt=void 0;lt.target.css("left",this.options.displayLeft()),lt.target[0].height="",R==0||ot>0?(wt=q,lt.target.css("top",wt+"pt"),ft=X.length>0?q+lt.height:this.options.lHeight!=null?q+(lt.height>this.options.lHeight?lt.height:this.options.lHeight):q+lt.height):(wt=n.paperHeader,lt.target.css("top",wt+"pt"),ft=wt+lt.height),z.push(new r.a({target:lt.target,printLine:ft,referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:n.index,bottomInLastPaper:ft,printTopInPaper:wt})})),R++,c&&this.updatePanelHeight(ft+this.options.getHeight(),n)}return z},i.prototype.getStringBySpecificHeight=function(n,c,b){var Z=B.a.pt.toPx(c),z=void 0,R=this.panel.panelPageRule=="none";return R?z=this.IsPaginationIndex(n,n.length,-1,b):z=this.IsPaginationIndex(n,n.length-1,Z,b),z.IsPagination?z:this.BinarySearch(n,0,n.length-1,Z,b)},i.prototype.BinarySearch=function(n,c,b,Z,z){var R=Math.floor((c+b)/2);if(c>b)return z.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:z.clone()};var et=this.IsPaginationIndex(n,R,Z,z);return et.IsPagination?et:et.move=="l"?this.BinarySearch(n,c,R-1,Z,z):this.BinarySearch(n,R+1,b,Z,z)},i.prototype.IsPaginationIndex=function(n,c,b,Z){if(b==-1){Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c).join(""));var R=Z.height();return{IsPagination:!0,height:B.a.px.toPt(R),length:n.length,target:Z.clone()}}Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c+2).join(""));var z=Z.height();Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c+1).join(""));var R=Z.height();return c>=n.length-1&&R<b?{IsPagination:!0,height:B.a.px.toPt(R),length:n.length,target:Z.clone()}:R<=b&&z>=b?{IsPagination:!0,height:R,length:c+1,target:Z.clone()}:R>=b?{IsPagination:!1,move:"l"}:z<=b?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},i}(E.a),h=function(){function M(){}return M.replaceEnterAndNewline=function(i,n){return i.replace(new RegExp(`\r|
1580
- |/g`,"g"),n)},M.replaceTab=function(i,n){return i.replace(new RegExp(" /g","g"),n)},M.replaceEnterAndNewlineAndTab=function(i,n){return i.replace(new RegExp(`\r|
1581
- | |/g`,"g"),n)},M}(),P=function(M){function i(n){var c=M.call(this,n)||this;return c.title&&(c.title=h.replaceEnterAndNewlineAndTab(c.title,"")),c}return w(i,M),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},i.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},i.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},i.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},i}(U.a),u=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new P(c),b.options.setDefault(new P(I.a.instance.text.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getDesignTarget=function(n){return M.prototype.getDesignTarget.call(this,n)},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var c=this.getData(),b=this.createTarget(this.printElementType.getText(!0),c);return this.updateTargetSize(b),this.css(b,c),b},i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetText(this.designTarget,this.getTitle(),n)}},i.prototype.getConfigOptions=function(){return I.a.instance.text},i.prototype.getTitle=function(){var n=this.options.title||this.printElementType.title||"";return n&&(n=h.replaceEnterAndNewlineAndTab(n,"")),n},i.prototype.getData=function(n){var c=void 0,b=this.getField();if(c=n?b&&b.split(".").reduce((z,R)=>z?z[R]:n?n[R]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return B.a.dateFormat(c,this.options.format);if(this.options.dataType=="boolen"){var Z=this.options.format.split(":");if(Z.length>0)return c===!0||c==="true"?Z[0]:Z[1]}}return c},i.prototype.updateTargetText=function(n,c,b,Z,z){var R=this.getFormatter(),et=n.find(".hiprint-printElement-text-content"),K="";K=this.getField()?(this.options.getHideTitle()?"":c?c+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,R?R(c,b,this.options,this._currenttemplateData,n):b):b=hinnn.toUpperCase(this.options.upperCase,R?R(c,c,this.options,this._currenttemplateData,n):c);var nt=this.options.getTextType();if(nt=="text")et.html(K);else{if(nt=="barcode"){et.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{b?(Xt.default(et.find(".hibarcode_imgcode")[0],b,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(B.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),et.find(".hibarcode_imgcode").attr("height","100%"),et.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||et.find(".hibarcode_displayValue").html(b)):et.html("")}catch(ot){console.log(ot),et.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(nt=="qrcode"){et.html("");try{if(b){n.css("line-height",0),et.css("text-align","center");var X=this.options.getWidth()||20,rt=this.options.getHeight()||20,q=S.default("<div></div>").css({width:(X>rt?rt:X)+"pt",height:(X>rt?rt:X)+"pt",display:"inline-block"});new QRCode(q[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(b),et.html(q)}}catch(ot){console.log(ot),et.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},i.prototype.onResize=function(n,c,b,Z,z){M.prototype.onResize.call(this,n,c,b,Z,z),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},i.prototype.createTarget=function(n,c,b){var Z=S.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(Z,n,c,b),Z},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),g=function(M){function i(n){return M.call(this,n)||this}return w(i,M),i}(U.a),A=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new g(c),b.options.setDefault(new g(I.a.instance.html.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetHtml()}},i.prototype.updateTargetHtml=function(){var n=this.getFormatter();if(n){var c=n(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(c)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.html.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.html},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),Z=this.getFormatter();if(Z){var z=Z(this.getData(),this.options,this._currenttemplateData);b.find(".hiprint-printElement-html-content").append(z)}else this.options.content&&b.find(".hiprint-printElement-html-content").append(this.options.content);return b},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),L=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.vline.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.vline},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.vline.showPoints},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),W=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.hline.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.hline},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.hline.showPoints},i}(E.a),J=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.rect.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.rect.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.rect},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),Y=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.oval.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.oval.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.oval},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),F=function(){function M(){}return M.createPrintElement=function(i,n){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(i.type))return i.type=="text"?new u(i,n):i.type=="image"?new v(i,n):i.type=="longText"?new d(i,n):i.type=="table"?new N.a(i,n):i.type=="html"?new A(i,n):i.type=="vline"?new L(i,n):i.type=="hline"?new W(i,n):i.type=="rect"?new J(i,n):i.type=="oval"?new Y(i,n):void 0;for(var c,b=I.a.instance.getHooks("createPrintElement"),Z=b.length,z=0;z<Z&&(c=b[z].run({Config:I.a.instance,BasePrintElement:E.a,Options:U.a,Supper:w,ele:i,eleOpt:n}),!c);z++);return c?new c(i,n):void 0},M}(),O=function(){function M(i){this.field=i.field,this.fields=i.fields,this.title=i.title,this.text=i.text,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.onRendered=i.onRendered,this.options=i.options}return M.prototype.getText=function(i){return i?this.title||this.text||"":this.text||this.title||""},M.prototype.getData=function(){return this.data},M.prototype.createPrintElement=function(i){var n={};return S.default.extend(n,i||{}),F.createPrintElement(this,n)},M.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M}();f(16);var $=f(12);(function(M){function i(n){var c=M.call(this,n)||this;return(n=n||{}).columns?(c.columns=[],n.columns.forEach(function(b){c.columns.push(new $.a(b))})):c.columns=[new $.a({columns:[new D.a({width:100}),new D.a({width:100})]})],c.lHeight=n.lHeight,c.autoCompletion=n.autoCompletion,c.tableFooterRepeat=n.tableFooterRepeat,c}return w(i,M),i.prototype.getPrintElementOptionEntity=function(){var n=M.prototype.getPrintElementOptionEntity.call(this);return n.fields=this.fields,n.columns=[],this.columns.forEach(function(c){n.columns.push(c.getPrintElementOptionEntity())}),n},i})(U.a);var k=function(M){function i(n){return M.call(this,n)||this}return w(i,M),i.prototype.createPrintElement=function(n){var c={};return S.default.extend(c,n||{}),F.createPrintElement(this,c)},i.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},i}(O),it=function(){function M(){}return M.createPrintElementType=function(i){return i.type=i.type||"text",i.type=="text"?new k(i):i.type=="table"?new T(i):new O(i)},M}(),st=function(){function M(){}return M.ElementTypes=p.instance,M.getElementTypeGroups=function(i){var n=M.formatterModule(i);return p.instance[n]||[]},M.getElementType=function(i,n){if(i)return p.instance.getElementType(i);it.createPrintElementType({type:n})},M.build=function(i,n){var c=M.formatterModule(n),b=new H().createPrintElementTypeHtml(i,this.getElementTypeGroups(c));this.enableDrag(b)},M.buildByHtml=function(i){this.enableDrag(i)},M.enableDrag=function(i){i.hidraggable({revert:!0,proxy:function(c){var b=l.a.instance.getDragingPrintElement(),Z=b.printElement.getProxyTarget(b.printElement.printElementType.getOptions());return Z.appendTo("body"),Z.css("z-index","9999"),Z},moveUnit:"pt",minMove:4,onBeforeDrag:function(c){l.a.instance.draging=!0;var b=S.default(c.data.target).attr("tid"),Z=M.getElementType(b,S.default(c.data.target).attr("ptype"));if(!Z)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${b}]`);var z=Z.createPrintElement();if(!z&&Z.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return l.a.instance.setDragingPrintElement(z),!0},onDrag:function(c,b,Z){l.a.instance.getDragingPrintElement().updatePosition(b,Z)},onStopDrag:function(c){l.a.instance.draging=!1}})},M.formatterModule=function(i){return i||"_default"},M}(),pt=function(){return function(M,i){var n=this;this.name=M,this.printElementTypes=[],i.forEach(function(c){n.printElementTypes.push(it.createPrintElementType(c))})}}(),It=function(){return function(M){if(this.index=M.index,this.name=M.name,this.paperType=M.paperType,this.paperType){var i=l.a.instance[this.paperType];M.height?(this.height=M.height,this.width=M.width):(this.height=i.height,this.width=i.width)}else this.height=M.height,this.width=M.width;this.paperHeader=M.paperHeader||0,this.paperFooter=M.paperFooter||B.a.mm.toPt(this.height),this.printElements=M.printElements||[],this.paperNumberLeft=M.paperNumberLeft,this.paperNumberTop=M.paperNumberTop,this.paperNumberDisabled=M.paperNumberDisabled,this.paperNumberContinue=M.paperNumberContinue,this.paperNumberFormat=M.paperNumberFormat,this.backgroundColor=M.backgroundColor,this.panelPaperRule=M.panelPaperRule,this.panelPageRule=M.panelPageRule,this.rotate=M.rotate||void 0,this.firstPaperFooter=M.firstPaperFooter,this.evenPaperFooter=M.evenPaperFooter,this.oddPaperFooter=M.oddPaperFooter,this.lastPaperFooter=M.lastPaperFooter,this.topOffset=M.topOffset,this.fontFamily=M.fontFamily,this.leftOffset=M.leftOffset,this.orient=M.orient,this.overPrintOptions=M.overPrintOptions,this.watermarkOptions=M.watermarkOptions,this.scale=M.scale}}(),bt=function(){function M(i,n,c,b){this.bx=i,this.by=n,this.ex=i,this.ey=n,this.startX=this.minX=i,this.startY=this.minY=n,this.maxX=i,this.maxY=n,this.lastLeft=c,this.lastTop=b}return M.prototype.updateRect=function(i,n){this.ex=i,this.ey=n,this.minX=this.startX<i?this.startX:i,this.minY=this.startY<n?this.startY:n,this.maxX=this.startX<i?i:this.startX,this.maxY=this.startY<n?n:this.startY},M.prototype.updatePositionByMultipleSelect=function(i,n){i!=null&&(this.lastLeft=this.lastLeft+i),n!=null&&(this.lastTop=this.lastTop+n),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},M}(),vt=function(){function M(i,n){this.templateId=n,this.index=i.index,this.name=i.name,this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.initPrintElements(i.printElements),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue==null?!0:i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.backgroundColor=i.backgroundColor,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.fontFamily=i.fontFamily,this.orient=i.orient,this.target=this.createTarget(),this.rotate=i.rotate,this.overPrintOptions=i.overPrintOptions||{},this.watermarkOptions=i.watermarkOptions||{},this.scale=i.scale}return M.prototype.design=function(i){var n=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(i),this.designPaper.subscribePaperBaseInfoChanged(function(c){n.paperHeader=c.paperHeader,n.paperFooter=c.paperFooter,n.paperNumberLeft=c.paperNumberLeft,n.paperNumberTop=c.paperNumberTop,n.paperNumberDisabled=c.paperNumberDisabled,n.paperNumberFormat=c.paperNumberFormat,n.backgroundColor=c.backgroundColor}),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),this.target.bind("click.hiprint",function(c){let b={paperList:{type:n.paperType,width:n.width,height:n.height},panelPaperRule:n.panelPaperRule,panelPageRule:n.panelPageRule,firstPaperFooter:n.firstPaperFooter,evenPaperFooter:n.evenPaperFooter,oddPaperFooter:n.oddPaperFooter,lastPaperFooter:n.lastPaperFooter,leftOffset:n.leftOffset,topOffset:n.topOffset,fontFamily:n.fontFamily,orient:n.orient,paperDirections:void 0,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue,paperNumberFormat:n.paperNumberFormat,backgroundColor:n.backgroundColor,overPrintOptions:n.overPrintOptions||{},watermarkOptions:n.watermarkOptions||{}};I.a.instance.paperNumberContinue||delete b.paperNumberContinue,B.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:b,callback:function(z){z.paperList&&n.resize(z.paperList.type,z.paperList.width,z.paperList.height,!1),n.overPrintOptions=n.designPaper.overPrintOptions=z.overPrintOptions||void 0,n.watermarkOptions=n.designPaper.watermarkOptions=z.watermarkOptions||void 0,n.panelPaperRule=z.panelPaperRule,n.panelPageRule=z.panelPageRule,n.firstPaperFooter=z.firstPaperFooter,n.evenPaperFooter=z.evenPaperFooter,n.oddPaperFooter=z.oddPaperFooter,n.lastPaperFooter=z.lastPaperFooter,n.leftOffset=z.leftOffset,n.topOffset=z.topOffset,n.fontFamily=z.fontFamily,n.orient=z.orient,n.paperNumberDisabled=n.designPaper.paperNumberDisabled=!!z.paperNumberDisabled||void 0,n.paperNumberContinue=n.designPaper.paperNumberContinue=z.paperNumberContinue,n.paperNumberFormat=z.paperNumberFormat,n.designPaper.paperNumberFormat=z.paperNumberFormat,n.backgroundColor=z.backgroundColor,n.designPaper.backgroundColor=z.backgroundColor,z.paperNumberFormat&&(n.designPaper.paperNumberTarget=n.designPaper.createPaperNumber(n.designPaper.formatPaperNumber(1,1),!0)),n.designPaper.setOffset(n.leftOffset,n.topOffset),n.css(n.target),n.designPaper.resetPaperNumber(n.designPaper.paperNumberTarget),n.designPaper.triggerOnPaperBaseInfoChanged(),z.overPrintOptions&&n.designPaper.createOverPrintOptions(!0,z.overPrintOptions),z.watermarkOptions&&n.designPaper.createWaterMark(!0,1,z.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},M.prototype.update=function(i){try{var n=this;this.index=i.index||0,this.name=i.name||"",this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.designPaper.width=B.a.mm.toPt(i.width),this.designPaper.height=B.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=i.height,this.designPaper.mmwidth=i.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",i.height-I.a.instance.paperHeightTrim+"mm"),this.overPrintOptions=i.overPrintOptions||{},this.designPaper.createOverPrintOptions(!0,this.overPrintOptions),this.watermarkOptions=i.watermarkOptions||{},this.designPaper.createWaterMark(!0,this.index,this.watermarkOptions),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberContinue=this.paperNumberContinue,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.backgroundColor=i.backgroundColor,i.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",i.backgroundColor),this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=i.fontFamily,this.orient=i.orient,this.rotate=i.rotate,this.scale=i.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=n.designPaper.scale||this.scale,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",i.width+"mm"),this.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",i.height),this.target.parent().css("width",i.width+"mm"),this.target.parent().css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",i.width+"mm"),this.designPaper.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",i.height),this.zoom(this.scale),this.printElements.forEach(function(c){c.designTarget&&c.designTarget.length&&c.designTarget.remove()}),this.printElements=[],this.initPrintElements(i.printElements),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),B.a.event.trigger("hiprintTemplateUpdate_"+n.templateId)}catch(c){throw console.log("update error: "),console.log(c),new Error(`update error: ${c}`)}},M.prototype.bindShortcutKeyEvent=function(){var i=this;S.default(document).keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==90&&(n.shiftKey?B.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"redo"):B.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"undo"),n.preventDefault());var c=I.a.instance.getHooks("documentShortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},M.prototype.copyJson=function(i){var n=[];try{var c=this,b=S.default("#copyArea");b.length||(b=S.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),S.default("body").append(b)),n=c.getSelectEls();var Z=[];n.forEach(function(R){Z.push({options:R.options,printElementType:R.printElementType,id:R.id,templateId:R.templateId,cut:i||!1})});var z=JSON.stringify(Z);b.text(z),b.css("visibility","visible"),b.focus(),b.setSelectionRange?b.setSelectionRange(0,b.value.length):b.select(),document.execCommand("copy"),b.css("visibility","hidden"),c.designPaper.target.trigger(S.default.Event("click")),c.designPaper.target.focus(),console.log("copyJson success")}catch(R){n=[],console.log("copyJson error",R)}return n},M.prototype.cutJson=function(){try{var i=this,n=i.copyJson(!0);n&&n.forEach(function(c){i.deletePrintElement(c)})}catch(c){console.log("cutJson error",c)}},M.prototype.getSelectEls=function(){var i=this,n=[];return i.mouseRect&&i.mouseRect.target&&S.default(".mouseRect").length?n=i.getElementInRect(i.mouseRect):n=i.printElements.filter(function(c){return c.designTarget.children().last().css("display")=="block"&&!c.printElementType.type.includes("table")}),n},M.prototype.bingPasteEvent=function(){var i=this;i.designPaper.target.attr("tabindex","1"),i.designPaper.target.keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==86&&(i.pasteJson(n),n.preventDefault());var c=I.a.instance.getHooks("shortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},M.prototype.canPaste=function(i){var n=S.default("#copyArea");if(!n.length)return!1;var c=n.text(),b=JSON.parse(c);return Array.isArray(b)?b.some(function(Z){return Z.printElementType&&Z.templateId}):!!(b.printElementType&&b.templateId)},M.prototype.pasteJson=function(i){var n=S.default("#copyArea");if(!!n.length)try{var c=this,b=n.text(),Z=JSON.parse(b),z=!1;Array.isArray(Z)?(z=Z.some(function(R){return R.cut==!0}),Z.forEach(function(R){c.pasteByJson(R,i)})):(z=Z.cut,c.pasteByJson(Z,i)),z&&S.default("#copyArea").text("{}")}catch(R){console.error("pasteJson error",R)}},M.prototype.pasteByJson=function(i,n){if(!(!i.printElementType&&!i.templateId)){var c=this,b=i.options,Z=it.createPrintElementType(i.printElementType),z=Z.createPrintElement(b);if(!!z){var R=n&&n.currentTarget?!0:n,et=R?c.mouseOffsetX&&B.a.px.toPt(c.mouseOffsetX):b.left+=10,K=R?c.mouseOffsetY&&B.a.px.toPt(c.mouseOffsetY):b.top+=10;R||(z.options.setLeft(et),z.options.setTop(K)),z.setTemplateId(c.templateId),z.setPanel(c),c.appendDesignPrintElement(c.designPaper,z,!1),c.printElements.push(z),z.design(void 0,c.designPaper),console.log("pasteJson success"),B.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,i.cut?"\u526A\u5207":"\u590D\u5236"),z.designTarget.trigger(S.default.Event("click"))}}},M.prototype.css=function(i){this.fontFamily?i.css("fontFamily",this.fontFamily):i[0].style.fontFamily="",this.backgroundColor?i.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor):i[0].style.backgroundColor=""},M.prototype.getConfig=function(){return I.a.instance},M.prototype.getHtml=function(i,n,c,b,Z){var z=this;this.orderPrintElements();let R=z.getConfig();var et,K=c||[],nt=b||this,X=void 0;return b?(X=K[K.length-1],et=X.getPanelTarget(),X.updateReferenceElement(new a.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:X.referenceElement.bottomInLastPaper,beginPrintPaperIndex:K.length-1,printTopInPaper:X.referenceElement.bottomInLastPaper,endPrintPaperIndex:K.length-1}))):(et=nt.createTarget(),X=nt.createNewPage(K.length),K.push(X),et.append(X.getTarget())),this.printElements.filter(function(rt){return!rt.isFixed()&&!rt.isHeaderOrFooter()}).forEach(function(rt){var q=[],ot=K[K.length-1];ot.referenceElement.isPositionLeftOrRight(rt.options.getTop())?X=K[ot.referenceElement.beginPrintPaperIndex]:X=K[ot.referenceElement.endPrintPaperIndex],q=rt.getHtml(X,i),q.forEach(function(ct,lt){ct.referenceElement&&(ct.referenceElement.endPrintPaperIndex=ct.referenceElement.beginPrintPaperIndex+q.length-1),lt>0&&(X.index<K.length-1?X=K[X.index+1]:(X=nt.createNewPage(K.length,X.referenceElement),K.push(X)),et.append(X.getTarget())),ct.target&&(rt.options.showInPage!="none"&&X.append(ct.target),X.updatePrintLine(ct.printLine),rt.onRendered(X,ct.target)),lt==q.length-1&&ct.referenceElement&&X.updateReferenceElement(ct.referenceElement)})}),Z&&Z.templates.forEach(function(rt,q){var ot=rt.data||{},ct=rt.options||{};rt.template.printPanels.forEach(function(lt){lt.getHtml(ot,ct,c,z)})}),R.paperNumberContinue&&(z.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...K]:hinnn._paperList=[...K]),b||(this.lastPaperFooter&&K[K.length-1].printLine>this.lastPaperFooter&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&K.length%2==0&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule=="even"&&K.length%2==1&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget()))),K.forEach(function(rt){rt.updatePaperNumber(rt.index+1,K.length,n.paperNumberToggleInEven),z.fillPaperHeaderAndFooter(rt,i,K.length),n&&(n.leftOffset!=null&&rt.setLeftOffset(n.leftOffset),n.topOffset!=null&&rt.setTopOffset(n.topOffset))}),et.prepend(this.getPrintStyle()),R.paperNumberContinue&&hinnn._paperList.forEach(function(rt,q){rt.updatePaperNumber(q+1,hinnn._paperList.length)})),et},M.prototype.resize=function(i,n,c,b){this.width=n,this.height=c,this.paperType=i,this.rotate=b,this.designPaper.resize(n,c)},M.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},M.prototype.zoom=function(i,n){n?this.scale=i:this.scale=void 0,this.designPaper.zoom(i)},M.prototype.getTarget=function(){return this.target},M.prototype.enable=function(){this.target.removeClass("hipanel-disable")},M.prototype.disable=function(){this.target.addClass("hipanel-disable")},M.prototype.getPanelEntity=function(i){var n=[];return this.printElements.forEach(function(c){n.push(c.getPrintElementEntity(i))}),new It({index:this.index,name:this.name||this.index+1,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberContinue:this.paperNumberContinue==null?!0:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,backgroundColor:this.backgroundColor?this.backgroundColor:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:n,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,overPrintOptions:this.overPrintOptions?this.overPrintOptions:void 0,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},M.prototype.createTarget=function(){var i=S.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(i),i},M.prototype.droppablePaper=function(i){var n=this;i.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(b,Z){var z=l.a.instance.getDragingPrintElement(),R=z.printElement,et=n.designPaper.scale||1,K=(z.left-B.a.px.toPt(n.target.children(".hiprint-printPaper").offset().left))/et,nt=(z.top-B.a.px.toPt(n.target.children(".hiprint-printPaper").offset().top))/et;R.updateSizeAndPositionOptions(n.mathroundToporleft(K),n.mathroundToporleft(nt)),R.setTemplateId(n.templateId),R.setPanel(n),n.appendDesignPrintElement(n.designPaper,R,!0),n.printElements.push(R),R.design(void 0,i),B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u65B0\u589E")}})},M.prototype.initPrintElements=function(i){var n=this;this.printElements=[],i&&i.forEach(function(c){var b;if(b=c.printElementType?it.createPrintElementType(c.printElementType):p.instance.getElementType(c.tid)){var Z=b.createPrintElement(c.options);Z.setTemplateId(n.templateId),Z.setPanel(n),n.printElements.push(Z)}else console.log("miss "+JSON.stringify(i))})},M.prototype.mathroundToporleft=function(i){var n=I.a.instance.movingDistance;return Math.round(i/n)*n},M.prototype.appendDesignPrintElement=function(i,n,c){n.setCurrenttemplateData(void 0);var b=n.getDesignTarget(i);b.addClass("design"),c&&n.initSizeByHtml(b),i.append(b)},M.prototype.createNewPage=function(i,n){var c=new m(this.templateId,this.index,this.overPrintOptions,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberContinue,this.paperNumberFormat,this.backgroundColor,i,n);return c.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),c.setOffset(this.leftOffset,this.topOffset),c},M.prototype.orderPrintElements=function(){this.printElements=B.a.orderBy(this.printElements,function(i){return i.options.getLeft()}),this.printElements=B.a.orderBy(this.printElements,function(i){return i.options.getTop()})},M.prototype.fillPaperHeaderAndFooter=function(i,n,c){this.printElements.filter(function(b){return b.isFixed()||b.isHeaderOrFooter()}).forEach(function(b){if(b.isFixed(),b.showInPage(i.index,c)){var Z=b.getHtml(i,n);Z.length&&i.append(Z[0].target)}})},M.prototype.clear=function(){this.printElements.forEach(function(i){i.designTarget&&i.designTarget.length&&i.designTarget.remove()}),this.printElements=[],B.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},M.prototype.insertPrintElementToPanel=function(i){var n=this.getPrintElementTypeByEntity(i);if(n){var c=n.createPrintElement(i.options);c.setTemplateId(this.templateId),c.setPanel(this),this.printElements.push(c)}},M.prototype.addPrintText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="text",this.insertPrintElementToPanel(i)},M.prototype.addPrintHtml=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="html",this.insertPrintElementToPanel(i)},M.prototype.addPrintTable=function(i){if(i.printElementType=i.printElementType||{},i.printElementType.type="table",i.options&&i.options.columns){var n=S.default.extend({},i.options.columns);i.printElementType.columns=n.columns,n.columns=void 0}this.insertPrintElementToPanel(i)},M.prototype.addPrintImage=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="image",this.insertPrintElementToPanel(i)},M.prototype.addPrintLongText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="longText",this.insertPrintElementToPanel(i)},M.prototype.addPrintVline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="vline",this.insertPrintElementToPanel(i)},M.prototype.addPrintHline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="hline",this.insertPrintElementToPanel(i)},M.prototype.addPrintRect=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="rect",this.insertPrintElementToPanel(i)},M.prototype.addPrintOval=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="oval",this.insertPrintElementToPanel(i)},M.prototype.getPrintElementTypeByEntity=function(i){var n;return(n=i.tid?p.instance.getElementType(i.tid):it.createPrintElementType(i.printElementType))||console.log("miss "+JSON.stringify(i)),n},M.prototype.getPrintStyle=function(){return` <style printStyle>
1578
+ `);var c=h(a.insertAt.before,f);f.insertBefore(I,c)}}function N(a){if(a.parentNode===null)return!1;a.parentNode.removeChild(a);var I=D.indexOf(a);I>=0&&D.splice(I,1)}function U(a){var I=document.createElement("style");if(a.attrs.type===void 0&&(a.attrs.type="text/css"),a.attrs.nonce===void 0){var f=function(){return r.nc}();f&&(a.attrs.nonce=f)}return x(I,a.attrs),C(a,I),I}function x(a,I){Object.keys(I).forEach(function(f){a.setAttribute(f,I[f])})}function j(a,I){var f,P,c,d;if(I.transform&&a.css){if(!(d=typeof I.transform=="function"?I.transform(a.css):I.transform.default(a.css)))return function(){};a.css=d}if(I.singleton){var A=E++;f=g||(g=U(I)),P=m.bind(null,f,A,!1),c=m.bind(null,f,A,!0)}else a.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(f=function(z){var k=document.createElement("link");return z.attrs.type===void 0&&(z.attrs.type="text/css"),z.attrs.rel="stylesheet",x(k,z.attrs),C(z,k),k}(I),P=function(z,k,F){var X=F.css,V=F.sourceMap,K=k.convertToAbsoluteUrls===void 0&&V;(k.convertToAbsoluteUrls||K)&&(X=v(X)),V&&(X+=`
1579
+ /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(V))))+" */");var tt=new Blob([X],{type:"text/css"}),G=z.href;z.href=URL.createObjectURL(tt),G&&URL.revokeObjectURL(G)}.bind(null,f,I),c=function(){N(f),f.href&&URL.revokeObjectURL(f.href)}):(f=U(I),P=function(z,k){var F=k.css,X=k.media;if(X&&z.setAttribute("media",X),z.styleSheet)z.styleSheet.cssText=F;else{for(;z.firstChild;)z.removeChild(z.firstChild);z.appendChild(document.createTextNode(F))}}.bind(null,f),c=function(){N(f)});return P(a),function(z){if(z){if(z.css===a.css&&z.media===a.media&&z.sourceMap===a.sourceMap)return;P(a=z)}else c()}}R.exports=function(a,I){if(typeof DEBUG<"u"&&DEBUG&&(typeof document>"u"?"undefined":_typeof(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(I=I||{}).attrs=_typeof(I.attrs)=="object"?I.attrs:{},I.singleton||typeof I.singleton=="boolean"||(I.singleton=l()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var f=S(a,I);return u(f,I),function(P){for(var c=[],d=0;d<f.length;d++){var A=f[d];(z=b[A.id]).refs--,c.push(z)}for(P&&u(S(P,I),I),d=0;d<c.length;d++){var z;if((z=c[d]).refs===0){for(var k=0;k<z.parts.length;k++)z.parts[k]();delete b[z.id]}}}};var T,o=(T=[],function(a,I){return T[a]=I,T.filter(Boolean).join(`
1580
+ `)});function m(a,I,f,P){var c=f?"":P.css;if(a.styleSheet)a.styleSheet.cssText=o(I,c);else{var d=document.createTextNode(c),A=a.childNodes;A[I]&&a.removeChild(A[I]),A.length?a.insertBefore(d,A[I]):a.appendChild(d)}}},function(R,L){R.exports=function(r){var B=typeof window<"u"&&window.location;if(!B)throw new Error("fixUrls requires window.location");if(!r||typeof r!="string")return r;var w=B.protocol+"//"+B.host,b=w+B.pathname.replace(/\/[^\/]*$/,"/");return r.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,h){var g,E=h.trim().replace(/^"(.*)"$/,function(D,v){return v}).replace(/^'(.*)'$/,function(D,v){return v});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(E)?l:(g=E.indexOf("//")===0?E:E.indexOf("/")===0?w+E:b+E.replace(/^\.\//,""),"url("+JSON.stringify(g)+")")})}},function(R,L){var r,B;r=jQuery,(B=function(b,l){this.init(b,l)}).prototype={init:function(b,l){this.ele=b,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(g){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=r.extend(!0,{},this.defaults,l),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(b,l){var h=this,g=l;if(b&&b.length){var E=$__default.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(l){var D=b.length*h.opts.itemHeight-31;E.css({top:-D})}g||(g=E).addClass("hicontextmenuroot"),$__default.default.each(b,function(v,u){var S='<div class="nav">'+(u.desc||"")+"</div>",C='<i class="svicon '+u.icon+'"></i>';u.menus&&u.menus.length&&(S='<div class="nav">'+(u.desc||"")+"\u203A</div>");var N=!!u.disable&&u.disable(),U=$__default.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+C+"<span>"+(u.text||"")+"</span></div>"+S+"</a></li>");N&&U.addClass("disable"),u.borderBottom&&U.addClass("borderBottom"),u.menus&&(U.addClass("hicontextsubmenu"),h.renderMenu(u.menus,U)),u.callback&&U.click(function(x){$__default.default(this).hasClass("disable")||($__default.default(".hicontextmenuroot").remove(),u.callback()),x.stopPropagation()}),E.append(U)}),l&&l.append(E)}l||$__default.default("body").append(g).find(".hicontextmenuroot").hide()},setPosition:function(b){var l=this,h=document.documentElement.clientWidth,g=document.documentElement.clientHeight,E=$__default.default(".hicontextmenuroot").height(),D=b.pageX,v=b.pageY;D>h-l.opts.width&&(D-=l.opts.width),v>g-E&&(v-=E),$__default.default(".hicontextmenuroot").css({left:D,top:v}).show()},eventBind:function(){var b=this;this.ele.on("contextmenu",function(l){$__default.default(".hicontextmenuroot").remove(),l.preventDefault();var h=b.opts.menus.filter(function(E){return typeof E.enabled=="boolean"?E.enabled:E.enabled()});if(!b.opts.table){var g=b.opts.panel.getSelectEls();g.length<=1&&$__default.default(this).trigger($__default.default.Event("click"))}b.renderMenu(h),b.setPosition(l),b.opts.target&&typeof b.opts.target=="function"&&b.opts.target(r(this))}),r("body").on("click",function(){r(".hicontextmenuroot").remove()})}},r.fn.hicontextMenu=function(w){return new B(this,w),this}},function(R,L,r){r.r(L),r(22),r(23),r(24),r(25);var B,w=r(0);r(26),window.hiLocalStorage=(B=window.localStorage||null,{saveLocalData:function(e,i){return!(!B||!i||(B.setItem(e,i),0))},getLocalData:function(e){return B?B.getItem(e):null},removeItem:function(e){B&&B.removeItem(e)}}),r(27),r(32);var b,l=function(){function M(){this.allElementTypes=[]}return Object.defineProperty(M,"instance",{get:function(){return M._instance||(M._instance=new M),M._instance},enumerable:!0,configurable:!0}),M.prototype.addPrintElementType=function(e){var i=this;if(e&&e.tid&&e.type){var p=it.createPrintElementType(e),y=i.allElementTypes.findIndex(function(Z){return Z.tid==p.tid});y>=0&&i.allElementTypes.splice(y,1),i.allElementTypes.push(p)}return i},M.prototype.addPrintElementTypes=function(e,i){var p=this;this[e]?this[e]=this[e].concat(i):this[e]=i,i.forEach(function(y){p.allElementTypes=p.allElementTypes.concat(y.printElementTypes)})},M.prototype.removePrintElementTypes=function(e){var i=this;delete i[e],i.allElementTypes=i.allElementTypes.filter(function(p){return!p.tid.startsWith(e)})},M.prototype.getElementTypeGroups=function(e){return this[this.formatterModule(e)]||[]},M.prototype.getElementType=function(e){var i=this.allElementTypes.filter(function(p){return p.tid==e});if(i.length>0)return i[0]},M.prototype.updateElementType=function(e,i){var p=this.getElementType(e);if(i){var y=i(p),Z=this.allElementTypes.findIndex(function(W){return W.tid==e});if(Z>=0)return this.allElementTypes.splice(Z,1,y),y}return p},M.prototype.formatterModule=function(e){return e||"_default"},M}(),h=r(1),g=r(2),E=function(){function M(){}return M.prototype.createPrintElementTypeHtml=function(e,i){var p=$__default.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(y){var Z=$__default.default("<li></li>");Z.append('<span class="title">'+y.name+"</span>");var W=$__default.default("<ul></ul>");Z.append(W),y.printElementTypes.forEach(function(J){W.append('<li><a class="ep-draggable-item" tid="'+J.tid+'"> '+J.getText()+" </a></li>")}),p.append(Z)}),$__default.default(e).append(p),p.find(".ep-draggable-item")},M}(),D=r(5),v=r(15),u=function(){return function(M){this.title=M.title,this.type=M.type}}(),S=function(){return function(M){this.title=M.title,this.type=M.type,this.editable=M.editable,this.columnDisplayEditable=M.columnDisplayEditable,this.columnDisplayIndexEditable=M.columnDisplayIndexEditable,this.columnTitleEditable=M.columnTitleEditable,this.columnResizable=M.columnResizable,this.columnAlignEditable=M.columnAlignEditable,this.isEnableEditField=M.isEnableEditField,this.isEnableContextMenu=M.isEnableContextMenu,this.isEnableInsertRow=M.isEnableInsertRow,this.isEnableDeleteRow=M.isEnableDeleteRow,this.isEnableInsertColumn=M.isEnableInsertColumn,this.isEnableDeleteColumn=M.isEnableDeleteColumn,this.isEnableMergeCell=M.isEnableMergeCell}}(),C=function(){function M(e){var i=this;this.text=e.text,this.field=e.field,this.fields=e.fields,this.title=e.title,this.tid=e.tid,this.data=e.data,this.styler=e.styler,this.formatter=e.formatter,this.type=e.type,this.options=e.options,this.editable=e.editable!=null?e.editable:!0,this.columnDisplayEditable=e.columnDisplayEditable!=null?e.columnDisplayEditable:!0,this.columnDisplayIndexEditable=e.columnDisplayIndexEditable!=null?e.columnDisplayIndexEditable:!0,this.columnTitleEditable=e.columnTitleEditable!=null?e.columnTitleEditable:!0,this.columnResizable=e.columnResizable!=null?e.columnResizable:!0,this.columnAlignEditable=e.columnAlignEditable!=null?e.columnAlignEditable:!0,this.columns=[],(e.columns||[]).forEach(function(p,y){i.columns.push(i.createTableColumnArray(p))}),this.rowStyler=e.rowStyler,this.striped=e.striped,this.groupFields=e.groupFields||[],this.groupFormatter=e.groupFormatter,this.groupFooterFormatter=e.groupFooterFormatter,this.footerFormatter=e.footerFormatter,this.rowsColumnsMerge=e.rowsColumnsMerge,this.rowsColumnsMergeClean=e.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=e.gridColumnsFooterFormatter,this.isEnableEditField=e.isEnableEditField!=null?e.isEnableEditField:!0,this.isEnableContextMenu=e.isEnableContextMenu!=null?e.isEnableContextMenu:!0,this.isEnableInsertRow=e.isEnableInsertRow!=null?e.isEnableInsertRow:!0,this.isEnableDeleteRow=e.isEnableDeleteRow!=null?e.isEnableDeleteRow:!0,this.isEnableInsertColumn=e.isEnableInsertColumn!=null?e.isEnableInsertColumn:!0,this.isEnableDeleteColumn=e.isEnableDeleteColumn!=null?e.isEnableDeleteColumn:!0,this.isEnableMergeCell=e.isEnableMergeCell!=null?e.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return M.prototype.getText=function(){return this.text||this.title||""},M.prototype.createPrintElement=function(e){var i=this;return this.columns&&this.columns.length==0&&(e.columns||[]).forEach(function(p,y){i.columns.push(i.createTableColumnArray(p))}),new v.a(this,e)},M.prototype.getData=function(){return[{}]},M.prototype.createTableColumnArray=function(e){var i=[];return e.forEach(function(p,y){i.push(new D.a(p))}),i},M.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new S({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new u({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M.prototype.getColumnByColumnId=function(e){return this.columnObj[e]},M.prototype.makeColumnObj=function(e){var i={};return e?e.forEach(function(p){(p.id||p.columnId)&&(i[p.id||p.columnId]=p)}):this.columns&&this.columns.forEach(function(p){p.forEach(function(y){(y.id||y.columnId)&&(i[y.id||y.columnId]=y)})}),this.columnObj=i,i},M}(),N=r(4),U=r(3),x=(b=function(e,i){return(b=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(p,y){p.__proto__=y}||function(p,y){for(var Z in y)y.hasOwnProperty(Z)&&(p[Z]=y[Z])})(e,i)},function(M,e){function i(){this.constructor=M}b(M,e),M.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}),j=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.image.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.image.showPoints},e.prototype.getData=function(i){var p="",y=this.getField();i?p=y?y.split(".").reduce((W,J)=>W?W[J]:i[J],!1)||"":this.options.src||this.printElementType.getData():p=this.options.src||this.printElementType.getData();var Z=this.getFormatter();return Z&&(p=Z(p,this.options,this._currenttemplateData)),p||""},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(y,i,p),y},e.prototype.initSizeByHtml=function(i){M.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},e.prototype.getConfigOptions=function(){return h.a.instance.image},e.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},e.prototype.updateTargetImage=function(i,p,y){var Z=i.find(".hiprint-printElement-image-content");Z.find("img").length?Z.find("img").attr("src",y):Z.html('<img style="width:100%;height:100%;" src="'+y+'">'),y.length?Z.find("img").css("cssText",`width:100%;height:100%;content:url("${y}")!important`):Z.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&Z.find("img").css("object-fit",this.options.fit)},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),T=function(M){function e(i){var p=this;return i=i||{},(p=M.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,p}return x(e,M),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e}(U.a),o=r(8),m=function(){function M(e,i,p,y,Z,W,J,et,Q,nt,O,rt,q,ot,It,st,ht,Tt){this.panelPageRule=Z,this.overPrintOptions=p,this.watermarkOptions=y,this.panelIdx=i,this.scale=W,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=e,this.width=w.a.mm.toPt(J),this.height=w.a.mm.toPt(et),this.mmwidth=J,this.mmheight=et,this.paperHeader=Q>=0?Q:0,this.paperFooter=nt,this.contentHeight=nt-Q,this.index=ht,this.paperNumberLeft=O||parseInt((this.width-30).toString()),this.paperNumberTop=rt||parseInt((this.height-22).toString()),this.paperNumberDisabled=q,this.paperNumberContinue=ot,this.paperNumberFormat=It,this.backgroundColor=st,this.referenceElement=Tt?$__default.default.extend({},Tt):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0}),this.createTarget()}return M.prototype.subscribePaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged=e},M.prototype.triggerOnPaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberContinue:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat,backgroundColor:this.backgroundColor}),w.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,e||"\u6A21\u677F\u8C03\u6574")},M.prototype.setFooter=function(e,i,p,y){this.firstPaperFooter=e,this.evenPaperFooter=i,this.oddPaperFooter=p,this.lastPaperFooter=y},M.prototype.setOffset=function(e,i){this.setLeftOffset(e),this.setTopOffset(i)},M.prototype.setLeftOffset=function(e){e?this.paperContentTarget.css("left",e+"pt"):this.paperContentTarget[0].style.left=""},M.prototype.setTopOffset=function(e){e?this.paperContentTarget.css("top",e+"pt"):this.paperContentTarget[0].style.top=""},M.prototype.createTarget=function(){this.target=$__default.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},M.prototype.createHeaderLine=function(){var e=this;this.headerLinetarget=$__default.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(i,p){p>=e.paperFooter&&(p=e.paperFooter-10),e.paperHeader=p>=0?p:0,e.triggerOnPaperBaseInfoChanged()})},M.prototype.createFooterLine=function(){var e=this;this.footerLinetarget=$__default.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(i,p){p<=e.paperHeader&&(p=e.paperHeader+10),e.paperFooter=p,e.triggerOnPaperBaseInfoChanged()})},M.prototype.createPaperNumber=function(e,i){var p=this,y=this.target.find(".hiprint-paperNumber");if(y.length)return y.html(e),y;var Z=$__default.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+e+"</span>");return Z.css("top",this.paperNumberTop+"pt"),Z.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(Z),i&&this.dragHeadLineOrFootLine(Z,function(W,J){p.paperNumberTop=J,p.paperNumberLeft=W,p.triggerOnPaperBaseInfoChanged()},!0),Z},M.prototype.getTarget=function(){return this.target},M.prototype.append=function(e){this.paperContentTarget.append(e)},M.prototype.updateReferenceElement=function(e){e&&(this.referenceElement=e)},M.prototype.updatePrintLine=function(e){e>=this.printLine&&(this.printLine=e)},M.prototype.design=function(e){var i=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),e&&e.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),$__default.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){i.paperNumberDisabled==null&&(i.paperNumberDisabled=!1),i.paperNumberDisabled=!i.paperNumberDisabled,i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged("\u521D\u59CB")}),this.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor),$__default.default(this.paperNumberTarget).bind("click.hiprint",function(){w.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled,paperNumberContinue:i.paperNumberContinue},callback:function(y){i.paperNumberDisabled=!!y.paperNumberDisabled||void 0,i.paperNumberContinue=y.paperNumberContinue,i.paperNumberFormat=y.paperNumberFormat?y.paperNumberFormat:void 0,i.createPaperNumber(i.formatPaperNumber(1,1),!0),i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged()}})})},M.prototype.resetPaperNumber=function(e){this.paperNumberDisabled?e.addClass("hiprint-paperNumber-disabled"):e.removeClass("hiprint-paperNumber-disabled")},M.prototype.updatePaperNumber=function(e,i,p){var y=this.createPaperNumber(this.formatPaperNumber(e,i));this.paperNumberDisabled?y.hide():p&&this.index%2==1&&(y[0].style.left="",y.css("right",this.paperNumberLeft+"pt"))},M.prototype.formatPaperNumber=function(e,i){return this.createOverPrintOptions(!1,this.overPrintOptions),this.createWaterMark(!1,e,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",e).replace("paperCount",i)+"`")},M.prototype.dragHeadLineOrFootLine=function(e,i,p){var y=this;e.hidraggable({axis:p?void 0:"v",onDrag:function(W,J,et){i(J,et)},moveUnit:"pt",minMove:h.a.instance.movingDistance,onBeforeDrag:function(W){g.a.instance.draging=!0},getScale:function(){return y.scale||1},onStopDrag:function(W){y.headerLinetarget.css("top",y.paperHeader+"pt"),y.footerLinetarget.css("top",y.paperFooter+"pt"),g.a.instance.draging=!1,y.footerLinetarget.removeClass("hidefooterLinetarget"),y.headerLinetarget.removeClass("hideheaderLinetarget")}})},M.prototype.resize=function(e,i){var p=this.paperFooter/this.height;this.width=w.a.mm.toPt(e),this.height=w.a.mm.toPt(i),this.mmwidth=e,this.mmheight=i,this.target.css("width",e+"mm"),this.target.css("height",i-h.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",e+"mm"),this.target.parent().parent().css("height",i-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm");var y=this.height*p;this.paperFooter=y||this.height,this.footerLinetarget.css("top",y+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},M.prototype.zoom=function(e){e&&(this.scale=e,this.target.css("transform","scale("+e+")"),e>1?this.target.css("transform-origin","-"+e+"% -"+e+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},M.prototype.getPaperFooter=function(e){var i=this.index+e;return i==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},M.prototype.getContentHeight=function(e){return this.getPaperFooter(e)-this.paperHeader},M.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
1581
+ <img class="h_img" src="`+lImg+`" />
1582
+ <img class="v_img" src="`+vImg+`" />
1583
+ </div>`)},M.prototype.createOverPrintOptions=function(e,i){var p=this;if(!!i)if((i.type||1)==2||e){let y=p.paperBackgroundTarget.find("img");i.content&&i.content.length>1?y&&y.length>0?(y.attr("src",i.content),y.css("opacity",i.opacity||.7)):(y=$__default.default('<img style="width:100%;height:100%" />'),y.attr("src",i.content),y.css("opacity",i.opacity||.7),p.paperBackgroundTarget.append(y)):p.paperBackgroundTarget.empty()}else p.paperBackgroundTarget.empty()},M.prototype.createWaterMark=function(e,i,p){var y=this,Z=Object.assign({},p||{},{id:`${y.templateId}_${y.panelIdx}_${i||1}_${e?"design":y.index}`,watch:e,container:y.target[0]});!Z.container||(Z.content?(e&&watermark.destroyWatermark(Object.assign({},Z,{id:`${y.templateId}_${y.panelIdx}_${i||1}_${y.index}`})),watermark.createWatermark(Z)):watermark.destroyWatermark(Z))},M.prototype.displayHeight=function(){return this.mmheight-h.a.instance.paperHeightTrim+"mm"},M.prototype.displayWidth=function(){return this.mmwidth+"mm"},M.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},M}(),a=r(6),I=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new T(p),y.options.setDefault(new T(h.a.instance.longText.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getDesignTarget=function(i){var p=M.prototype.getDesignTarget.call(this,i);return p.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),p},e.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),y=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(y),this.css(y,p),y},e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData(),p=this.getHtml(this.designPaper)[0].target;this.designTarget.find(".hiprint-printElement-longText-content").html(p.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.longText},e.prototype.getTitle=function(){return this.options.title||this.printElementType.title},e.prototype.getData=function(i){var p=this.getField(),y=p&&p.split(".").reduce((Z,W)=>Z?Z[W]:i?i[W]:"",!1)||"";return i?y||"":this.options.testData||this.printElementType.getData()||""},e.prototype.updateTargetText=function(i,p,y){var Z=i.find(".hiprint-printElement-longText-content"),W=this.getText(p,y);Z.html(W)},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-longText" style="position: absolute;"><div class="hiprint-printElement-longText-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(y,i,p),y},e.prototype.getText=function(i,p){var y=this.getFormatter();return p&&(p=this.options.leftSpaceRemoved!=0?p.toString().replace(/^\s*/,""):p),(this.getField()?(this.options.getHideTitle()?"":i?i+"\uFF1A":"")+(y?y(i,p,this.options,this._currenttemplateData):p):y?y(i,i,this.options,this._currenttemplateData):i||"")||""},e.prototype.getHtml=function(i,p){this.setCurrenttemplateData(p),this.createTempContainer();var y=this.getPaperHtmlResult(i,p);return this.removeTempContainer(),y},e.prototype.getHeightByData=function(i){this.createTempContainer();var p=this.getPaperHtmlResult(new m("","",void 0,1e3,1e3,0,25e3,0,0,!0,!0,void 0,0,void 0),{},i);return this.removeTempContainer(),p[0].referenceElement.bottomInLastPaper-p[0].referenceElement.printTopInPaper},e.prototype.getLongTextIndent=function(){return this.options.longTextIndent?'<span class="long-text-indent" style="margin-left:'+this.options.longTextIndent+'pt"></span>':'<span class="long-text-indent"></span>'},e.prototype.getPaperHtmlResult=function(i,p,y){var Z=this,W=[],J=0,et=y||this.getData(p),Q=this.getText(this.getTitle(),et),nt=this.createTarget(this.getTitle(),this.options.testData||"");this.css(nt,et),p?this.updateTargetWidth(nt):this.updateTargetSize(nt),this.getTempContainer().html(""),this.getTempContainer().append(nt);var O=[this.getLongTextIndent()],rt=Q.split(new RegExp(`\r|
1584
+ `,"g"));if(rt.forEach(function(xt,kt){var Gt=Z.options.leftSpaceRemoved!=0?(xt||"").toString().replace(/^\s*/,""):xt;O=O.concat(Gt.split("")),kt<rt.length-1&&O.push("<br/>"+Z.getLongTextIndent())}),O.length==0&&(O=[""]),this.isHeaderOrFooter()||this.isFixed()||!p)return(st=this.getStringBySpecificHeight(O,25e3,nt)).target.css("left",this.options.displayLeft()),st.target.css("top",this.options.displayTop()),st.target[0].height="",W.push(new a.a({target:st.target,printLine:this.options.displayTop()+st.height,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:this.options.getTop()+st.height,printTopInPaper:this.options.getTop()})})),W;for(var q=this.getBeginPrintTopInPaperByReferenceElement(i);O.length>0;){var ot=0,It=i.getPaperFooter(J);J==0&&q>It&&i.panelPageRule!="none"&&(q=q-It+i.paperHeader,W.push(new a.a({target:void 0,printLine:void 0})),J++,ot=i.getContentHeight(J)-(q-i.paperHeader),It=i.getPaperFooter(J));var st=this.getStringBySpecificHeight(O,ot>0?ot:J==0?It-q:i.getContentHeight(J),nt);O.splice(0,st.length);var ht=void 0,Tt=void 0;st.target.css("left",this.options.displayLeft()),st.target[0].height="",J==0||ot>0?(Tt=q,st.target.css("top",Tt+"pt"),ht=O.length>0?q+st.height:this.options.lHeight!=null?q+(st.height>this.options.lHeight?st.height:this.options.lHeight):q+st.height):(Tt=i.paperHeader,st.target.css("top",Tt+"pt"),ht=Tt+st.height),W.push(new a.a({target:st.target,printLine:ht,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:ht,printTopInPaper:Tt})})),J++,p&&this.updatePanelHeight(ht+this.options.getHeight(),i)}return W},e.prototype.getStringBySpecificHeight=function(i,p,y){var Z=w.a.pt.toPx(p),W=void 0,J=this.panel.panelPageRule=="none";return J?W=this.IsPaginationIndex(i,i.length,-1,y):W=this.IsPaginationIndex(i,i.length-1,Z,y),W.IsPagination?W:this.BinarySearch(i,0,i.length-1,Z,y)},e.prototype.BinarySearch=function(i,p,y,Z,W){var J=Math.floor((p+y)/2);if(p>y)return W.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:W.clone()};var et=this.IsPaginationIndex(i,J,Z,W);return et.IsPagination?et:et.move=="l"?this.BinarySearch(i,p,J-1,Z,W):this.BinarySearch(i,J+1,y,Z,W)},e.prototype.IsPaginationIndex=function(i,p,y,Z){if(y==-1){Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p).join(""));var J=Z.height();return{IsPagination:!0,height:w.a.px.toPt(J),length:i.length,target:Z.clone()}}Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p+2).join(""));var W=Z.height();Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p+1).join(""));var J=Z.height();return p>=i.length-1&&J<y?{IsPagination:!0,height:w.a.px.toPt(J),length:i.length,target:Z.clone()}:J<=y&&W>=y?{IsPagination:!0,height:J,length:p+1,target:Z.clone()}:J>=y?{IsPagination:!1,move:"l"}:W<=y?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},e}(N.a),f=function(){function M(){}return M.replaceEnterAndNewline=function(e,i){return e.replace(new RegExp(`\r|
1585
+ |/g`,"g"),i)},M.replaceTab=function(e,i){return e.replace(new RegExp(" /g","g"),i)},M.replaceEnterAndNewlineAndTab=function(e,i){return e.replace(new RegExp(`\r|
1586
+ | |/g`,"g"),i)},M}(),P=function(M){function e(i){var p=M.call(this,i)||this;return p.title&&(p.title=f.replaceEnterAndNewlineAndTab(p.title,"")),p}return x(e,M),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},e.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},e.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},e.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},e}(U.a),c=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new P(p),y.options.setDefault(new P(h.a.instance.text.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getDesignTarget=function(i){return M.prototype.getDesignTarget.call(this,i)},e.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),y=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(y),this.css(y,p),y},e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetText(this.designTarget,this.getTitle(),i)}},e.prototype.getConfigOptions=function(){return h.a.instance.text},e.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=f.replaceEnterAndNewlineAndTab(i,"")),i},e.prototype.getData=function(i){var p=void 0,y=this.getField();if(p=i?y&&y.split(".").reduce((W,J)=>W?W[J]:i?i[J]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return w.a.dateFormat(p,this.options.format);if(this.options.dataType=="boolen"){var Z=this.options.format.split(":");if(Z.length>0)return p===!0||p==="true"?Z[0]:Z[1]}}return p},e.prototype.updateTargetText=function(i,p,y,Z,W){var J=this.getFormatter(),et=i.find(".hiprint-printElement-text-content"),Q="";Q=this.getField()?(this.options.getHideTitle()?"":p?p+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,J?J(p,y,this.options,this._currenttemplateData,i):y):y=hinnn.toUpperCase(this.options.upperCase,J?J(p,p,this.options,this._currenttemplateData,i):p);var nt=this.options.getTextType();if(nt=="text")et.html(Q);else{if(nt=="barcode"){et.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{y?(JsBarcode__default.default(et.find(".hibarcode_imgcode")[0],y,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(w.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),et.find(".hibarcode_imgcode").attr("height","100%"),et.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||et.find(".hibarcode_displayValue").html(y)):et.html("")}catch(ot){console.log(ot),et.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(nt=="qrcode"){et.html("");try{if(y){i.css("line-height",0),et.css("text-align","center");var O=this.options.getWidth()||20,rt=this.options.getHeight()||20,q=$__default.default("<div></div>").css({width:(O>rt?rt:O)+"pt",height:(O>rt?rt:O)+"pt",display:"inline-block"});new QRCode(q[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(y),et.html(q)}}catch(ot){console.log(ot),et.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},e.prototype.onResize=function(i,p,y,Z,W){M.prototype.onResize.call(this,i,p,y,Z,W),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},e.prototype.createTarget=function(i,p,y){var Z=$__default.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(Z,i,p,y),Z},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),d=function(M){function e(i){return M.call(this,i)||this}return x(e,M),e}(U.a),A=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new d(p),y.options.setDefault(new d(h.a.instance.html.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetHtml()}},e.prototype.updateTargetHtml=function(){var i=this.getFormatter();if(i){var p=i(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(p)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.html.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.html},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),Z=this.getFormatter();if(Z){var W=Z(this.getData(),this.options,this._currenttemplateData);y.find(".hiprint-printElement-html-content").append(W)}else this.options.content&&y.find(".hiprint-printElement-html-content").append(this.options.content);return y},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),z=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.vline.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.vline},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.vline.showPoints},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),k=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.hline.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.hline},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.hline.showPoints},e}(N.a),F=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.rect.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.rect.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.rect},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),X=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.oval.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.oval.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.oval},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),V=function(){function M(){}return M.createPrintElement=function(e,i){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(e.type))return e.type=="text"?new c(e,i):e.type=="image"?new j(e,i):e.type=="longText"?new I(e,i):e.type=="table"?new v.a(e,i):e.type=="html"?new A(e,i):e.type=="vline"?new z(e,i):e.type=="hline"?new k(e,i):e.type=="rect"?new F(e,i):e.type=="oval"?new X(e,i):void 0;for(var p,y=h.a.instance.getHooks("createPrintElement"),Z=y.length,W=0;W<Z&&(p=y[W].run({Config:h.a.instance,BasePrintElement:N.a,Options:U.a,Supper:x,ele:e,eleOpt:i}),!p);W++);return p?new p(e,i):void 0},M}(),K=function(){function M(e){this.field=e.field,this.fields=e.fields,this.title=e.title,this.text=e.text,this.tid=e.tid,this.data=e.data,this.styler=e.styler,this.formatter=e.formatter,this.type=e.type,this.onRendered=e.onRendered,this.options=e.options}return M.prototype.getText=function(e){return e?this.title||this.text||"":this.text||this.title||""},M.prototype.getData=function(){return this.data},M.prototype.createPrintElement=function(e){var i={};return $__default.default.extend(i,e||{}),V.createPrintElement(this,i)},M.prototype.getPrintElementTypeEntity=function(){return new u({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M}();r(16);var tt=r(12);(function(M){function e(i){var p=M.call(this,i)||this;return(i=i||{}).columns?(p.columns=[],i.columns.forEach(function(y){p.columns.push(new tt.a(y))})):p.columns=[new tt.a({columns:[new D.a({width:100}),new D.a({width:100})]})],p.lHeight=i.lHeight,p.autoCompletion=i.autoCompletion,p.tableFooterRepeat=i.tableFooterRepeat,p}return x(e,M),e.prototype.getPrintElementOptionEntity=function(){var i=M.prototype.getPrintElementOptionEntity.call(this);return i.fields=this.fields,i.columns=[],this.columns.forEach(function(p){i.columns.push(p.getPrintElementOptionEntity())}),i},e})(U.a);var G=function(M){function e(i){return M.call(this,i)||this}return x(e,M),e.prototype.createPrintElement=function(i){var p={};return $__default.default.extend(p,i||{}),V.createPrintElement(this,p)},e.prototype.getPrintElementTypeEntity=function(){return new u({title:this.title,type:this.type})},e}(K),it=function(){function M(){}return M.createPrintElementType=function(e){return e.type=e.type||"text",e.type=="text"?new G(e):e.type=="table"?new C(e):new K(e)},M}(),lt=function(){function M(){}return M.ElementTypes=l.instance,M.getElementTypeGroups=function(e){var i=M.formatterModule(e);return l.instance[i]||[]},M.getElementType=function(e,i){if(e)return l.instance.getElementType(e);it.createPrintElementType({type:i})},M.build=function(e,i){var p=M.formatterModule(i),y=new E().createPrintElementTypeHtml(e,this.getElementTypeGroups(p));this.enableDrag(y)},M.buildByHtml=function(e){this.enableDrag(e)},M.enableDrag=function(e){e.hidraggable({revert:!0,proxy:function(p){var y=g.a.instance.getDragingPrintElement(),Z=y.printElement.getProxyTarget(y.printElement.printElementType.getOptions());return Z.appendTo("body"),Z.css("z-index","9999"),Z},moveUnit:"pt",minMove:4,onBeforeDrag:function(p){g.a.instance.draging=!0;var y=$__default.default(p.data.target).attr("tid"),Z=M.getElementType(y,$__default.default(p.data.target).attr("ptype"));if(!Z)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${y}]`);var W=Z.createPrintElement();if(!W&&Z.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return g.a.instance.setDragingPrintElement(W),!0},onDrag:function(p,y,Z){g.a.instance.getDragingPrintElement().updatePosition(y,Z)},onStopDrag:function(p){g.a.instance.draging=!1}})},M.formatterModule=function(e){return e||"_default"},M}(),pt=function(){return function(M,e){var i=this;this.name=M,this.printElementTypes=[],e.forEach(function(p){i.printElementTypes.push(it.createPrintElementType(p))})}}(),ut=function(){return function(M){if(this.index=M.index,this.name=M.name,this.paperType=M.paperType,this.paperType){var e=g.a.instance[this.paperType];M.height?(this.height=M.height,this.width=M.width):(this.height=e.height,this.width=e.width)}else this.height=M.height,this.width=M.width;this.paperHeader=M.paperHeader||0,this.paperFooter=M.paperFooter||w.a.mm.toPt(this.height),this.printElements=M.printElements||[],this.paperNumberLeft=M.paperNumberLeft,this.paperNumberTop=M.paperNumberTop,this.paperNumberDisabled=M.paperNumberDisabled,this.paperNumberContinue=M.paperNumberContinue,this.paperNumberFormat=M.paperNumberFormat,this.backgroundColor=M.backgroundColor,this.panelPaperRule=M.panelPaperRule,this.panelPageRule=M.panelPageRule,this.rotate=M.rotate||void 0,this.firstPaperFooter=M.firstPaperFooter,this.evenPaperFooter=M.evenPaperFooter,this.oddPaperFooter=M.oddPaperFooter,this.lastPaperFooter=M.lastPaperFooter,this.topOffset=M.topOffset,this.fontFamily=M.fontFamily,this.leftOffset=M.leftOffset,this.orient=M.orient,this.overPrintOptions=M.overPrintOptions,this.watermarkOptions=M.watermarkOptions,this.scale=M.scale}}(),bt=function(){function M(e,i,p,y){this.bx=e,this.by=i,this.ex=e,this.ey=i,this.startX=this.minX=e,this.startY=this.minY=i,this.maxX=e,this.maxY=i,this.lastLeft=p,this.lastTop=y}return M.prototype.updateRect=function(e,i){this.ex=e,this.ey=i,this.minX=this.startX<e?this.startX:e,this.minY=this.startY<i?this.startY:i,this.maxX=this.startX<e?e:this.startX,this.maxY=this.startY<i?i:this.startY},M.prototype.updatePositionByMultipleSelect=function(e,i){e!=null&&(this.lastLeft=this.lastLeft+e),i!=null&&(this.lastTop=this.lastTop+i),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},M}(),vt=function(){function M(e,i){this.templateId=i,this.index=e.index,this.name=e.name,this.width=e.width,this.height=e.height,this.paperType=e.paperType,this.paperHeader=e.paperHeader,this.paperFooter=e.paperFooter,this.initPrintElements(e.printElements),this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberContinue=e.paperNumberContinue==null?!0:e.paperNumberContinue,this.paperNumberFormat=e.paperNumberFormat,this.backgroundColor=e.backgroundColor,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.fontFamily=e.fontFamily,this.orient=e.orient,this.target=this.createTarget(),this.rotate=e.rotate,this.overPrintOptions=e.overPrintOptions||{},this.watermarkOptions=e.watermarkOptions||{},this.scale=e.scale}return M.prototype.design=function(e){var i=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(e),this.designPaper.subscribePaperBaseInfoChanged(function(p){i.paperHeader=p.paperHeader,i.paperFooter=p.paperFooter,i.paperNumberLeft=p.paperNumberLeft,i.paperNumberTop=p.paperNumberTop,i.paperNumberDisabled=p.paperNumberDisabled,i.paperNumberFormat=p.paperNumberFormat,i.backgroundColor=p.backgroundColor}),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),this.target.bind("click.hiprint",function(p){let y={paperList:{type:i.paperType,width:i.width,height:i.height},panelPaperRule:i.panelPaperRule,panelPageRule:i.panelPageRule,firstPaperFooter:i.firstPaperFooter,evenPaperFooter:i.evenPaperFooter,oddPaperFooter:i.oddPaperFooter,lastPaperFooter:i.lastPaperFooter,leftOffset:i.leftOffset,topOffset:i.topOffset,fontFamily:i.fontFamily,orient:i.orient,paperDirections:void 0,paperNumberDisabled:i.paperNumberDisabled,paperNumberContinue:i.paperNumberContinue,paperNumberFormat:i.paperNumberFormat,backgroundColor:i.backgroundColor,overPrintOptions:i.overPrintOptions||{},watermarkOptions:i.watermarkOptions||{}};h.a.instance.paperNumberContinue||delete y.paperNumberContinue,w.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:y,callback:function(W){W.paperList&&i.resize(W.paperList.type,W.paperList.width,W.paperList.height,!1),i.overPrintOptions=i.designPaper.overPrintOptions=W.overPrintOptions||void 0,i.watermarkOptions=i.designPaper.watermarkOptions=W.watermarkOptions||void 0,i.panelPaperRule=W.panelPaperRule,i.panelPageRule=W.panelPageRule,i.firstPaperFooter=W.firstPaperFooter,i.evenPaperFooter=W.evenPaperFooter,i.oddPaperFooter=W.oddPaperFooter,i.lastPaperFooter=W.lastPaperFooter,i.leftOffset=W.leftOffset,i.topOffset=W.topOffset,i.fontFamily=W.fontFamily,i.orient=W.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!W.paperNumberDisabled||void 0,i.paperNumberContinue=i.designPaper.paperNumberContinue=W.paperNumberContinue,i.paperNumberFormat=W.paperNumberFormat,i.designPaper.paperNumberFormat=W.paperNumberFormat,i.backgroundColor=W.backgroundColor,i.designPaper.backgroundColor=W.backgroundColor,W.paperNumberFormat&&(i.designPaper.paperNumberTarget=i.designPaper.createPaperNumber(i.designPaper.formatPaperNumber(1,1),!0)),i.designPaper.setOffset(i.leftOffset,i.topOffset),i.css(i.target),i.designPaper.resetPaperNumber(i.designPaper.paperNumberTarget),i.designPaper.triggerOnPaperBaseInfoChanged(),W.overPrintOptions&&i.designPaper.createOverPrintOptions(!0,W.overPrintOptions),W.watermarkOptions&&i.designPaper.createWaterMark(!0,1,W.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},M.prototype.update=function(e){try{var i=this;this.index=e.index||0,this.name=e.name||"",this.width=e.width,this.height=e.height,this.paperType=e.paperType,this.paperHeader=e.paperHeader,this.paperFooter=e.paperFooter,this.designPaper.width=w.a.mm.toPt(e.width),this.designPaper.height=w.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=e.height,this.designPaper.mmwidth=e.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",e.height-h.a.instance.paperHeightTrim+"mm"),this.overPrintOptions=e.overPrintOptions||{},this.designPaper.createOverPrintOptions(!0,this.overPrintOptions),this.watermarkOptions=e.watermarkOptions||{},this.designPaper.createWaterMark(!0,this.index,this.watermarkOptions),this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberContinue=e.paperNumberContinue,this.paperNumberFormat=e.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberContinue=this.paperNumberContinue,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.backgroundColor=e.backgroundColor,e.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",e.backgroundColor),this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=e.fontFamily,this.orient=e.orient,this.rotate=e.rotate,this.scale=e.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=i.designPaper.scale||this.scale,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",e.width+"mm"),this.target.css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",e.height),this.target.parent().css("width",e.width+"mm"),this.target.parent().css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",e.width+"mm"),this.designPaper.target.css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.target.find(".hiprint-printPaper-background").css("width",e.width+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("width",e.width+"mm"),this.target.find(".hiprint-printPaper-background").css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",e.height),this.zoom(this.scale),this.printElements.forEach(function(p){p.designTarget&&p.designTarget.length&&p.designTarget.remove()}),this.printElements=[],this.initPrintElements(e.printElements),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),w.a.event.trigger("hiprintTemplateUpdate_"+i.templateId)}catch(p){throw console.log("update error: "),console.log(p),new Error(`update error: ${p}`)}},M.prototype.bindShortcutKeyEvent=function(){var e=this;$__default.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?w.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"redo"):w.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"undo"),i.preventDefault());var p=h.a.instance.getHooks("documentShortcutKeys");p&&p.forEach(y=>{y.run({panel:e,event:i})})}})},M.prototype.copyJson=function(e){var i=[];try{var p=this,y=$__default.default("#copyArea");y.length||(y=$__default.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),$__default.default("body").append(y)),i=p.getSelectEls();var Z=[];i.forEach(function(J){Z.push({options:J.options,printElementType:J.printElementType,id:J.id,templateId:J.templateId,cut:e||!1})});var W=JSON.stringify(Z);y.text(W),y.css("visibility","visible"),y.focus(),y.setSelectionRange?y.setSelectionRange(0,y.value.length):y.select(),document.execCommand("copy"),y.css("visibility","hidden"),p.designPaper.target.trigger($__default.default.Event("click")),p.designPaper.target.focus(),console.log("copyJson success")}catch(J){i=[],console.log("copyJson error",J)}return i},M.prototype.cutJson=function(){try{var e=this,i=e.copyJson(!0);i&&i.forEach(function(p){e.deletePrintElement(p)})}catch(p){console.log("cutJson error",p)}},M.prototype.getSelectEls=function(){var e=this,i=[];return e.mouseRect&&e.mouseRect.target&&$__default.default(".mouseRect").length?i=e.getElementInRect(e.mouseRect):i=e.printElements.filter(function(p){return p.designTarget.children().last().css("display")=="block"&&!p.printElementType.type.includes("table")}),i},M.prototype.bingPasteEvent=function(){var e=this;e.designPaper.target.attr("tabindex","1"),e.designPaper.target.keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==86&&(e.pasteJson(i),i.preventDefault());var p=h.a.instance.getHooks("shortcutKeys");p&&p.forEach(y=>{y.run({panel:e,event:i})})}})},M.prototype.canPaste=function(e){var i=$__default.default("#copyArea");if(!i.length)return!1;var p=i.text(),y=JSON.parse(p);return Array.isArray(y)?y.some(function(Z){return Z.printElementType&&Z.templateId}):!!(y.printElementType&&y.templateId)},M.prototype.pasteJson=function(e){var i=$__default.default("#copyArea");if(!!i.length)try{var p=this,y=i.text(),Z=JSON.parse(y),W=!1;Array.isArray(Z)?(W=Z.some(function(J){return J.cut==!0}),Z.forEach(function(J){p.pasteByJson(J,e)})):(W=Z.cut,p.pasteByJson(Z,e)),W&&$__default.default("#copyArea").text("{}")}catch(J){console.error("pasteJson error",J)}},M.prototype.pasteByJson=function(e,i){if(!(!e.printElementType&&!e.templateId)){var p=this,y=e.options,Z=it.createPrintElementType(e.printElementType),W=Z.createPrintElement(y);if(!!W){var J=i&&i.currentTarget?!0:i,et=J?p.mouseOffsetX&&w.a.px.toPt(p.mouseOffsetX):y.left+=10,Q=J?p.mouseOffsetY&&w.a.px.toPt(p.mouseOffsetY):y.top+=10;J||(W.options.setLeft(et),W.options.setTop(Q)),W.setTemplateId(p.templateId),W.setPanel(p),p.appendDesignPrintElement(p.designPaper,W,!1),p.printElements.push(W),W.design(void 0,p.designPaper),console.log("pasteJson success"),w.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,e.cut?"\u526A\u5207":"\u590D\u5236"),W.designTarget.trigger($__default.default.Event("click"))}}},M.prototype.css=function(e){this.fontFamily?e.css("fontFamily",this.fontFamily):e[0].style.fontFamily="",this.backgroundColor?e.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor):e[0].style.backgroundColor=""},M.prototype.getConfig=function(){return h.a.instance},M.prototype.getHtml=function(e,i,p,y,Z){var W=this;this.orderPrintElements();let J=W.getConfig();var et,Q=p||[],nt=y||this,O=void 0;return y?(O=Q[Q.length-1],et=O.getPanelTarget(),O.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:O.referenceElement.bottomInLastPaper,beginPrintPaperIndex:Q.length-1,printTopInPaper:O.referenceElement.bottomInLastPaper,endPrintPaperIndex:Q.length-1}))):(et=nt.createTarget(),O=nt.createNewPage(Q.length),Q.push(O),et.append(O.getTarget())),this.printElements.filter(function(rt){return!rt.isFixed()&&!rt.isHeaderOrFooter()}).forEach(function(rt){var q=[],ot=Q[Q.length-1];ot.referenceElement.isPositionLeftOrRight(rt.options.getTop())?O=Q[ot.referenceElement.beginPrintPaperIndex]:O=Q[ot.referenceElement.endPrintPaperIndex],q=rt.getHtml(O,e),q.forEach(function(It,st){It.referenceElement&&(It.referenceElement.endPrintPaperIndex=It.referenceElement.beginPrintPaperIndex+q.length-1),st>0&&(O.index<Q.length-1?O=Q[O.index+1]:(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O)),et.append(O.getTarget())),It.target&&(rt.options.showInPage!="none"&&O.append(It.target),O.updatePrintLine(It.printLine),rt.onRendered(O,It.target)),st==q.length-1&&It.referenceElement&&O.updateReferenceElement(It.referenceElement)})}),Z&&Z.templates.forEach(function(rt,q){var ot=rt.data||{},It=rt.options||{};rt.template.printPanels.forEach(function(st){st.getHtml(ot,It,p,W)})}),J.paperNumberContinue&&(W.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...Q]:hinnn._paperList=[...Q]),y||(this.lastPaperFooter&&Q[Q.length-1].printLine>this.lastPaperFooter&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&Q.length%2==0&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget())),this.panelPaperRule=="even"&&Q.length%2==1&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget()))),Q.forEach(function(rt){rt.updatePaperNumber(rt.index+1,Q.length,i.paperNumberToggleInEven),W.fillPaperHeaderAndFooter(rt,e,Q.length),i&&(i.leftOffset!=null&&rt.setLeftOffset(i.leftOffset),i.topOffset!=null&&rt.setTopOffset(i.topOffset))}),et.prepend(this.getPrintStyle()),J.paperNumberContinue&&hinnn._paperList.forEach(function(rt,q){rt.updatePaperNumber(q+1,hinnn._paperList.length)})),et},M.prototype.resize=function(e,i,p,y){this.width=i,this.height=p,this.paperType=e,this.rotate=y,this.designPaper.resize(i,p)},M.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},M.prototype.zoom=function(e,i){i?this.scale=e:this.scale=void 0,this.designPaper.zoom(e)},M.prototype.getTarget=function(){return this.target},M.prototype.enable=function(){this.target.removeClass("hipanel-disable")},M.prototype.disable=function(){this.target.addClass("hipanel-disable")},M.prototype.getPanelEntity=function(e){var i=[];return this.printElements.forEach(function(p){i.push(p.getPrintElementEntity(e))}),new ut({index:this.index,name:this.name||this.index+1,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberContinue:this.paperNumberContinue==null?!0:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,backgroundColor:this.backgroundColor?this.backgroundColor:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:i,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,overPrintOptions:this.overPrintOptions?this.overPrintOptions:void 0,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},M.prototype.createTarget=function(){var e=$__default.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(e),e},M.prototype.droppablePaper=function(e){var i=this;e.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(y,Z){var W=g.a.instance.getDragingPrintElement(),J=W.printElement,et=i.designPaper.scale||1,Q=(W.left-w.a.px.toPt(i.target.children(".hiprint-printPaper").offset().left))/et,nt=(W.top-w.a.px.toPt(i.target.children(".hiprint-printPaper").offset().top))/et;J.updateSizeAndPositionOptions(i.mathroundToporleft(Q),i.mathroundToporleft(nt)),J.setTemplateId(i.templateId),J.setPanel(i),i.appendDesignPrintElement(i.designPaper,J,!0),i.printElements.push(J),J.design(void 0,e),w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},M.prototype.initPrintElements=function(e){var i=this;this.printElements=[],e&&e.forEach(function(p){var y;if(y=p.printElementType?it.createPrintElementType(p.printElementType):l.instance.getElementType(p.tid)){var Z=y.createPrintElement(p.options);Z.setTemplateId(i.templateId),Z.setPanel(i),i.printElements.push(Z)}else console.log("miss "+JSON.stringify(e))})},M.prototype.mathroundToporleft=function(e){var i=h.a.instance.movingDistance;return Math.round(e/i)*i},M.prototype.appendDesignPrintElement=function(e,i,p){i.setCurrenttemplateData(void 0);var y=i.getDesignTarget(e);y.addClass("design"),p&&i.initSizeByHtml(y),e.append(y)},M.prototype.createNewPage=function(e,i){var p=new m(this.templateId,this.index,this.overPrintOptions,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberContinue,this.paperNumberFormat,this.backgroundColor,e,i);return p.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),p.setOffset(this.leftOffset,this.topOffset),p},M.prototype.orderPrintElements=function(){this.printElements=w.a.orderBy(this.printElements,function(e){return e.options.getLeft()}),this.printElements=w.a.orderBy(this.printElements,function(e){return e.options.getTop()})},M.prototype.fillPaperHeaderAndFooter=function(e,i,p){this.printElements.filter(function(y){return y.isFixed()||y.isHeaderOrFooter()}).forEach(function(y){if(y.isFixed(),y.showInPage(e.index,p)){var Z=y.getHtml(e,i);Z.length&&e.append(Z[0].target)}})},M.prototype.clear=function(){this.printElements.forEach(function(e){e.designTarget&&e.designTarget.length&&e.designTarget.remove()}),this.printElements=[],w.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},M.prototype.insertPrintElementToPanel=function(e){var i=this.getPrintElementTypeByEntity(e);if(i){var p=i.createPrintElement(e.options);p.setTemplateId(this.templateId),p.setPanel(this),this.printElements.push(p)}},M.prototype.addPrintText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="text",this.insertPrintElementToPanel(e)},M.prototype.addPrintHtml=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="html",this.insertPrintElementToPanel(e)},M.prototype.addPrintTable=function(e){if(e.printElementType=e.printElementType||{},e.printElementType.type="table",e.options&&e.options.columns){var i=$__default.default.extend({},e.options.columns);e.printElementType.columns=i.columns,i.columns=void 0}this.insertPrintElementToPanel(e)},M.prototype.addPrintImage=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="image",this.insertPrintElementToPanel(e)},M.prototype.addPrintLongText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="longText",this.insertPrintElementToPanel(e)},M.prototype.addPrintVline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="vline",this.insertPrintElementToPanel(e)},M.prototype.addPrintHline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="hline",this.insertPrintElementToPanel(e)},M.prototype.addPrintRect=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="rect",this.insertPrintElementToPanel(e)},M.prototype.addPrintOval=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="oval",this.insertPrintElementToPanel(e)},M.prototype.getPrintElementTypeByEntity=function(e){var i;return(i=e.tid?l.instance.getElementType(e.tid):it.createPrintElementType(e.printElementType))||console.log("miss "+JSON.stringify(e)),i},M.prototype.getPrintStyle=function(){return` <style printStyle>
1582
1587
  @page
1583
1588
  {
1584
1589
  border:0;
@@ -1587,15 +1592,15 @@
1587
1592
  `+this.getPrintSizeStyle()+`
1588
1593
  }
1589
1594
  </style>
1590
- `},M.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},M.prototype.deletePrintElement=function(i){var n=this;this.printElements.filter(function(c,b){c.id==i.id&&(i.delete(),n.printElements.splice(b,1),B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u5220\u9664"))})},M.prototype.getElementByTid=function(i){return this.printElements.filter(function(n){return n.printElementType.tid===i}).map(function(n,c){return n})},M.prototype.getElementByName=function(i){return this.printElements.filter(function(n){return n.options.name===i}).map(function(n,c){return n})},M.prototype.getElementById=function(i){return this.printElements.find(function(n){return n.id===i})},M.prototype.getFieldsInPanel=function(){var i=[];return this.printElements.forEach(function(n){n.options&&n.options.field?i.push(n.options.field):n.printElementType.field&&i.push(n.printElementType.field)}),i},M.prototype.getTestData=function(){var i={};return this.printElements.forEach(function(n){n.printElementType.type!="table"&&(n.options&&n.options.field?i[n.options.field]=n.options.testData:n.printElementType.field&&(i[n.printElementType.field]=n.printElementType.data||n.options.testData))}),i},M.prototype.bindBatchMoveElement=function(){var i=this;this.designPaper.getTarget().on("mousemove",function(n){n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing")||(n.currentTarget.className==i.designPaper.target[0].className?(i.mouseOffsetX=n.offsetX,i.mouseOffsetY=n.offsetY):i.mouseOffsetX=i.mouseOffsetY=void 0,l.a.instance.draging||n.buttons===1&&l.a.instance.rectDraging&&i.mouseRect&&(i.mouseRect.updateRect(n.pageX,n.pageY),i.updateRectPanel(i.mouseRect)))}).on("mousedown",function(n){l.a.instance.rectDraging=!0,!(n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing"))&&(l.a.instance.draging||(i.mouseRect&&i.mouseRect.target&&i.mouseRect.target.remove(),n.buttons===1&&l.a.instance.rectDraging&&(Tt(n.target.className)=="string"&&n.target.className.includes("hiprint-printPaper hidroppable design")||n.target.className.includes("hiprint-printPaper-content"))&&(i.mouseRect=new bt(n.pageX,n.pageY,l.a.instance.dragLengthCNum(n.pageX-i.designPaper.getTarget().offset().left,I.a.instance.movingDistance),l.a.instance.dragLengthCNum(n.pageY-i.designPaper.getTarget().offset().top,I.a.instance.movingDistance)))))}).on("mouseup",function(n){l.a.instance.rectDraging&&i.mouseRect&&S.default(".mouseRect").length&&(S.default(".mouseRect").height()>10||S.default(".mouseRect").width()>10)&&setTimeout(function(){B.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300),l.a.instance.rectDraging=!1}).on("click",function(n){setTimeout(function(){B.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300)})},M.prototype.getElementInRect=function(i){var n=[];return this.printElements.filter(function(c){return c.options.draggable!==!1}).forEach(function(c){c.inRect(i)&&n.push(c)}),n},M.prototype.updateRectPanel=function(i){var n=this,c=this.designPaper.getTarget(),b=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=S.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),c.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(et,K,nt){n.mouseRect.lastLeft=n.mouseRect.lastLeft?B.a.px.toPt(n.mouseRect.target[0].offsetLeft):K/b,n.mouseRect.lastTop=n.mouseRect.lastTop?B.a.px.toPt(n.mouseRect.target[0].offsetTop):nt/b,(n.mouseRect.mouseRectSelectedElement||[]).forEach(function(X){X.updatePositionByMultipleSelect(K-n.mouseRect.lastLeft,nt-n.mouseRect.lastTop)}),n.mouseRect.lastLeft=K/b,n.mouseRect.lastTop=nt/b,l.a.instance.changed=!0},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(et){n.mouseRect.target.focus(),l.a.instance.draging=!0,n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect)),n.mouseRect.target.css({transform:"unset"})},getScale:function(){return n.designPaper.scale||1},onStopDrag:function(et){l.a.instance.changed&&B.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,"\u6846\u9009\u79FB\u52A8"),l.a.instance.draging=!1,l.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(n.getContextMenuList())),i.ex>=i.bx&&i.ey>=i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"unset"});else if(i.ex<i.bx&&i.ey<i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var Z="",z="rotate(180deg)";i.startX==i.minX||i.startX==i.maxX?i.ey>=i.by?(z="scaleX(-1)",Z="left"):Z="center top":(i.startY==i.minY||i.startY==i.maxY)&&(Z=i.ex>=i.bx?"right":"left"),this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:z,"transform-origin":Z})}i.target.focus()},M.prototype.getContextMenuList=function(i){var n=this,c=l.a.instance.getPrintTemplateById(this.templateId);return{panel:n,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){n.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){n.copyJson(),n.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){n.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){var Z=n.getSelectEls();Z.forEach(z=>{n.deletePrintElement(z)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){c.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u5BBD",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.width;Z.forEach(R=>{R.updateOption("widthHeight",{width:z},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u9AD8",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.height;Z.forEach(R=>{R.updateOption("widthHeight",{height:z},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){i.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)+1;i.updateOption("zIndex",Z)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)-1;i.updateOption("zIndex",Z)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return n.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){i.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return n.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){i.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){i.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){i.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){i.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){i.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","bottom")}}]}]}},M.prototype.bingKeyboardMoveEvent=function(i){var n=this;i.attr("tabindex","1"),i.keydown(function(c){n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect));var b=n.mouseRect.mouseRectSelectedElement||[];switch(c.keyCode){case 8:case 46:b.forEach(function(Z){n.deletePrintElement(Z)}),B.a.event.trigger("clearSettingContainer");break;case 37:n.mouseRect.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0)}),c.preventDefault();break;case 38:n.mouseRect.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance)}),c.preventDefault();break;case 39:n.mouseRect.updatePositionByMultipleSelect(I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(I.a.instance.movingDistance,0)}),c.preventDefault();break;case 40:n.mouseRect.updatePositionByMultipleSelect(0,I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,I.a.instance.movingDistance)}),c.preventDefault()}[37,38,39,40].includes(c.keyCode)&&B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u6846\u9009\u79FB\u52A8")})},M}(),dt=function(){return function(M){if(M)if(M.panels){this.panels=[];for(var i=0;i<M.panels.length;i++)this.panels.push(new It(M.panels[i]))}else this.panels=[]}}(),yt=f(9),mt=function(){function M(i,n){var c=this;this.printElementOptionSettingPanel={},this.printTemplate=i,this.settingContainer=S.default(n),B.a.event.on(i.getPrintElementSelectEventKey(),function(b){c.buildSetting(b)}),B.a.event.on(i.getBuildCustomOptionSettingEventKey(),function(b){c.buildSettingByCustomOptions(b)}),B.a.event.on("clearSettingContainer",function(){c.clearSettingContainer()})}return M.prototype.init=function(){},M.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},M.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(i){i.list&&i.list.forEach(function(n){n.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(i){i.destroy()})),this.lastPrintElement=void 0},M.prototype.buildSetting=function(i){var n=this,c=this,b=i.printElement,Z=i.customOptionsInput,z=b.getPrintElementOptionTabs();n.clearSettingContainer();var R;z.length?(R=S.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),z.forEach(function(X){var rt=S.default('<li class="prop-tab-item"><span class="tab-title">'+X.name+"</span></li>");R.find(".prop-tab-items").append(rt);var q=S.default('<div class="hiprint-option-items" data-title="'+X.name+'"></div>');X.list.forEach(function(ot){ot.submit=function(lt){b.submitOption()};var ct=ot.createTarget(b,b.options,b.printElementType);n.printElementOptionSettingPanel[ot.name]=ct,q.append(ct),["columns","dataType"].includes(ot.name)?ot.setValue(b.options[ot.name],b.options,b.printElementType):["coordinate","widthHeight"].includes(ot.name)?ot.setValue(b.options,b):ot.setValue(b.options[ot.name]||b.printElementType[ot.name]),ct.find("textarea").bind("click.textarea",function(lt){n.printTemplate&&n.printTemplate.onFunctionClick&&n.printTemplate.onFunctionClick(ot,n.lastPrintElement,lt)})}),X.list.length==0&&Z&&Z.length&&Z.forEach(function(ot){var ct=ot.callback;ot.callback=function(ft){ct&&ct(ft)};var lt=ot.optionItems;ot.title&&q.append(`<div class="hiprint-option-item hiprint-option-item-row">
1595
+ `},M.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},M.prototype.deletePrintElement=function(e){var i=this;this.printElements.filter(function(p,y){p.id==e.id&&(e.delete(),i.printElements.splice(y,1),w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u5220\u9664"))})},M.prototype.getElementByTid=function(e){return this.printElements.filter(function(i){return i.printElementType.tid===e}).map(function(i,p){return i})},M.prototype.getElementByName=function(e){return this.printElements.filter(function(i){return i.options.name===e}).map(function(i,p){return i})},M.prototype.getElementById=function(e){return this.printElements.find(function(i){return i.id===e})},M.prototype.getFieldsInPanel=function(){var e=[];return this.printElements.forEach(function(i){i.options&&i.options.field?e.push(i.options.field):i.printElementType.field&&e.push(i.printElementType.field)}),e},M.prototype.getTestData=function(){var e={};return this.printElements.forEach(function(i){i.printElementType.type!="table"&&(i.options&&i.options.field?e[i.options.field]=i.options.testData:i.printElementType.field&&(e[i.printElementType.field]=i.printElementType.data||i.options.testData))}),e},M.prototype.bindBatchMoveElement=function(){var e=this;this.designPaper.getTarget().on("mousemove",function(i){i.target.className&&_typeof(i.target.className)=="string"&&i.target.className.includes("editing")||(i.currentTarget.className==e.designPaper.target[0].className?(e.mouseOffsetX=i.offsetX,e.mouseOffsetY=i.offsetY):e.mouseOffsetX=e.mouseOffsetY=void 0,g.a.instance.draging||i.buttons===1&&g.a.instance.rectDraging&&e.mouseRect&&(e.mouseRect.updateRect(i.pageX,i.pageY),e.updateRectPanel(e.mouseRect)))}).on("mousedown",function(i){g.a.instance.rectDraging=!0,!(i.target.className&&_typeof(i.target.className)=="string"&&i.target.className.includes("editing"))&&(g.a.instance.draging||(e.mouseRect&&e.mouseRect.target&&e.mouseRect.target.remove(),i.buttons===1&&g.a.instance.rectDraging&&(_typeof(i.target.className)=="string"&&i.target.className.includes("hiprint-printPaper hidroppable design")||i.target.className.includes("hiprint-printPaper-content"))&&(e.mouseRect=new bt(i.pageX,i.pageY,g.a.instance.dragLengthCNum(i.pageX-e.designPaper.getTarget().offset().left,h.a.instance.movingDistance),g.a.instance.dragLengthCNum(i.pageY-e.designPaper.getTarget().offset().top,h.a.instance.movingDistance)))))}).on("mouseup",function(i){g.a.instance.rectDraging&&e.mouseRect&&$__default.default(".mouseRect").length&&($__default.default(".mouseRect").height()>10||$__default.default(".mouseRect").width()>10)&&setTimeout(function(){w.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300),g.a.instance.rectDraging=!1}).on("click",function(i){setTimeout(function(){w.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300)})},M.prototype.getElementInRect=function(e){var i=[];return this.printElements.filter(function(p){return p.options.draggable!==!1}).forEach(function(p){p.inRect(e)&&i.push(p)}),i},M.prototype.updateRectPanel=function(e){var i=this,p=this.designPaper.getTarget(),y=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=$__default.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),p.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(et,Q,nt){i.mouseRect.lastLeft=i.mouseRect.lastLeft?w.a.px.toPt(i.mouseRect.target[0].offsetLeft):Q/y,i.mouseRect.lastTop=i.mouseRect.lastTop?w.a.px.toPt(i.mouseRect.target[0].offsetTop):nt/y,(i.mouseRect.mouseRectSelectedElement||[]).forEach(function(O){O.updatePositionByMultipleSelect(Q-i.mouseRect.lastLeft,nt-i.mouseRect.lastTop)}),i.mouseRect.lastLeft=Q/y,i.mouseRect.lastTop=nt/y,g.a.instance.changed=!0},moveUnit:"pt",minMove:h.a.instance.movingDistance,onBeforeDrag:function(et){i.mouseRect.target.focus(),g.a.instance.draging=!0,i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect)),i.mouseRect.target.css({transform:"unset"})},getScale:function(){return i.designPaper.scale||1},onStopDrag:function(et){g.a.instance.changed&&w.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,"\u6846\u9009\u79FB\u52A8"),g.a.instance.draging=!1,g.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(i.getContextMenuList())),e.ex>=e.bx&&e.ey>=e.by)this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:"unset"});else if(e.ex<e.bx&&e.ey<e.by)this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var Z="",W="rotate(180deg)";e.startX==e.minX||e.startX==e.maxX?e.ey>=e.by?(W="scaleX(-1)",Z="left"):Z="center top":(e.startY==e.minY||e.startY==e.maxY)&&(Z=e.ex>=e.bx?"right":"left"),this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:W,"transform-origin":Z})}e.target.focus()},M.prototype.getContextMenuList=function(e){var i=this,p=g.a.instance.getPrintTemplateById(this.templateId);return{panel:i,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){i.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){i.copyJson(),i.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){i.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){var Z=i.getSelectEls();Z.forEach(W=>{i.deletePrintElement(W)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return i.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){p.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u5BBD",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){var Z=i.getSelectEls(),W=Z[0].options.width;Z.forEach(J=>{J.updateOption("widthHeight",{width:W},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u9AD8",enabled:function(){return i.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var Z=i.getSelectEls(),W=Z[0].options.height;Z.forEach(J=>{J.updateOption("widthHeight",{height:W},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){e.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(e.options.zIndex||1)+1;e.updateOption("zIndex",Z)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(e.options.zIndex||1)-1;e.updateOption("zIndex",Z)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return i.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){e.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return i.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){e.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){e.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){e.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){e.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){e.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){e.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){e.updateOption("textContentVerticalAlign","bottom")}}]}]}},M.prototype.bingKeyboardMoveEvent=function(e){var i=this;e.attr("tabindex","1"),e.keydown(function(p){i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect));var y=i.mouseRect.mouseRectSelectedElement||[];switch(p.keyCode){case 8:case 46:y.forEach(function(Z){i.deletePrintElement(Z)}),w.a.event.trigger("clearSettingContainer");break;case 37:i.mouseRect.updatePositionByMultipleSelect(0-h.a.instance.movingDistance,0),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0-h.a.instance.movingDistance,0)}),p.preventDefault();break;case 38:i.mouseRect.updatePositionByMultipleSelect(0,0-h.a.instance.movingDistance),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0,0-h.a.instance.movingDistance)}),p.preventDefault();break;case 39:i.mouseRect.updatePositionByMultipleSelect(h.a.instance.movingDistance,0),y.forEach(function(Z){Z.updatePositionByMultipleSelect(h.a.instance.movingDistance,0)}),p.preventDefault();break;case 40:i.mouseRect.updatePositionByMultipleSelect(0,h.a.instance.movingDistance),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0,h.a.instance.movingDistance)}),p.preventDefault()}[37,38,39,40].includes(p.keyCode)&&w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u6846\u9009\u79FB\u52A8")})},M}(),dt=function(){return function(M){if(M)if(M.panels){this.panels=[];for(var e=0;e<M.panels.length;e++)this.panels.push(new ut(M.panels[e]))}else this.panels=[]}}(),yt=r(9),ft=function(){function M(e,i){var p=this;this.printElementOptionSettingPanel={},this.printTemplate=e,this.settingContainer=$__default.default(i),w.a.event.on(e.getPrintElementSelectEventKey(),function(y){p.buildSetting(y)}),w.a.event.on(e.getBuildCustomOptionSettingEventKey(),function(y){p.buildSettingByCustomOptions(y)}),w.a.event.on("clearSettingContainer",function(){p.clearSettingContainer()})}return M.prototype.init=function(){},M.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},M.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(e){e.list&&e.list.forEach(function(i){i.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(e){e.destroy()})),this.lastPrintElement=void 0},M.prototype.buildSetting=function(e){var i=this,p=this,y=e.printElement,Z=e.customOptionsInput,W=y.getPrintElementOptionTabs();i.clearSettingContainer();var J;W.length?(J=$__default.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),W.forEach(function(O){var rt=$__default.default('<li class="prop-tab-item"><span class="tab-title">'+O.name+"</span></li>");J.find(".prop-tab-items").append(rt);var q=$__default.default('<div class="hiprint-option-items" data-title="'+O.name+'"></div>');O.list.forEach(function(ot){ot.submit=function(st){y.submitOption()};var It=ot.createTarget(y,y.options,y.printElementType);i.printElementOptionSettingPanel[ot.name]=It,q.append(It),["columns","dataType"].includes(ot.name)?ot.setValue(y.options[ot.name],y.options,y.printElementType):["coordinate","widthHeight"].includes(ot.name)?ot.setValue(y.options,y):ot.setValue(y.options[ot.name]||y.printElementType[ot.name]),It.find("textarea").bind("click.textarea",function(st){i.printTemplate&&i.printTemplate.onFunctionClick&&i.printTemplate.onFunctionClick(ot,i.lastPrintElement,st)})}),O.list.length==0&&Z&&Z.length&&Z.forEach(function(ot){var It=ot.callback;ot.callback=function(ht){It&&It(ht)};var st=ot.optionItems;ot.title&&q.append(`<div class="hiprint-option-item hiprint-option-item-row">
1591
1596
  <div class="hiprint-option-item-label hiprint-option-title">
1592
1597
  `+ot.title+`
1593
1598
  </div>
1594
- </div>`),lt.forEach(function(ft){ft.submit=function(Ct){ot.callback(c.getValueByOptionItems(lt))};var wt=ft.createTarget(c.printTemplate,ot.options,b);q.append(wt),ft.name=="columnField"?ft.setValue(ot.options.field,ot.options,void 0):ft.setValue(ot.options[ft.name],ot.options,void 0),wt.find("textarea").bind("click.textarea",function(Ct){c.printTemplate&&c.printTemplate.onFunctionClick&&c.printTemplate.onFunctionClick(ft,c.lastPrintElement,Ct)})}),q.find(".auto-submit").change(function(){ot.callback(c.getValueByOptionItems(lt))}),q.find(".auto-submit:input").bind("keydown.submitOption",function(ft){ft.keyCode===13&&ot.callback(c.getValueByOptionItems(lt))})}),R.append(q)})):(R=S.default('<div class="hiprint-option-items"></div>'),b.getPrintElementOptionItems().forEach(function(X){X.submit=function(q){b.submitOption()};var rt=X.createTarget(b,b.options,b.printElementType);n.printElementOptionSettingPanel[X.name]=rt,R.append(rt),["columns","dataType"].includes(X.name)?X.setValue(b.options[X.name],b.options,b.printElementType):["coordinate","widthHeight"].includes(X.name)?X.setValue(b.options,b):X.setValue(b.options[X.name]||b.printElementType[X.name])}));var et=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
1595
- type="button">\u786E\u5B9A</button>`),K=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
1596
- type="button">\u5220\u9664</button>`);if(R.append(et),b.options.draggable!=!1&&R.append(K),z.length){R.on("click",".prop-tab-item",function(){var X=S.default(this),rt=X.index();n.settingContainer.data("last-index",rt),X.addClass("active"),X.siblings().removeClass("active");var q=R.find(".hiprint-option-items:eq("+rt+")");q.addClass("active"),q.siblings().removeClass("active")});var nt=+(n.settingContainer.data("last-index")||0);nt>=z.length&&(nt=0),R.find(".prop-tab-item:eq("+nt+")").click()}et.bind("click.submitOption",function(){b.submitOption()}),K.bind("click.deleteBtn",function(){c.printTemplate.deletePrintElement(b),n.clearSettingContainer()}),R.find(".auto-submit").change(function(X){b.submitOption()}),R.find(".auto-submit:input").bind("keydown.submitOption",function(X){X.keyCode==13&&b.submitOption()}),this.settingContainer.append(R),z.length<1&&Z&&Z.forEach(function(X){var rt=X.callback;X.callback=function(q){rt&&(rt(q),b.submitOption())},n.buildSettingByCustomOptions(X,n.settingContainer)}),this.lastPrintElement=b},M.prototype.buildSettingByCustomOptions=function(i,n){var c=this;this.clearLastPrintElement();var b=n||this.settingContainer;n||this.settingContainer.html("");var Z=[],z=I.a.instance.panel.supportOptions.filter(function(K){return!K.hidden}).map(function(K){return K.name});i.optionItems?Z=i.optionItems:Object.keys(i.options).filter(function(K){return z.includes(K)}).forEach(function(K){var nt=yt.a.getItem(K);nt&&Z.push(nt)});var R=S.default('<div class="hiprint-option-items"></div>');i.title&&R.append(`<div class="hiprint-option-item hiprint-option-item-row">
1599
+ </div>`),st.forEach(function(ht){ht.submit=function(xt){ot.callback(p.getValueByOptionItems(st))};var Tt=ht.createTarget(p.printTemplate,ot.options,y);q.append(Tt),ht.name=="columnField"?ht.setValue(ot.options.field,ot.options,void 0):ht.setValue(ot.options[ht.name],ot.options,void 0),Tt.find("textarea").bind("click.textarea",function(xt){ht.name!="title"&&p.printTemplate&&p.printTemplate.onFunctionClick&&p.printTemplate.onFunctionClick(ht,p.lastPrintElement,xt)})}),q.find(".auto-submit").change(function(){ot.callback(p.getValueByOptionItems(st))}),q.find(".auto-submit:input").bind("keydown.submitOption",function(ht){ht.keyCode===13&&ot.callback(p.getValueByOptionItems(st))})}),J.append(q)})):(J=$__default.default('<div class="hiprint-option-items"></div>'),y.getPrintElementOptionItems().forEach(function(O){O.submit=function(q){y.submitOption()};var rt=O.createTarget(y,y.options,y.printElementType);i.printElementOptionSettingPanel[O.name]=rt,J.append(rt),["columns","dataType"].includes(O.name)?O.setValue(y.options[O.name],y.options,y.printElementType):["coordinate","widthHeight"].includes(O.name)?O.setValue(y.options,y):O.setValue(y.options[O.name]||y.printElementType[O.name])}));var et=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
1600
+ type="button">\u786E\u5B9A</button>`),Q=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
1601
+ type="button">\u5220\u9664</button>`);if(J.append(et),y.options.draggable!=!1&&J.append(Q),W.length){J.on("click",".prop-tab-item",function(){var O=$__default.default(this),rt=O.index();i.settingContainer.data("last-index",rt),O.addClass("active"),O.siblings().removeClass("active");var q=J.find(".hiprint-option-items:eq("+rt+")");q.addClass("active"),q.siblings().removeClass("active")});var nt=+(i.settingContainer.data("last-index")||0);nt>=W.length&&(nt=0),J.find(".prop-tab-item:eq("+nt+")").click()}et.bind("click.submitOption",function(){y.submitOption()}),Q.bind("click.deleteBtn",function(){p.printTemplate.deletePrintElement(y),i.clearSettingContainer()}),J.find(".auto-submit").change(function(O){y.submitOption()}),J.find(".auto-submit:input").bind("keydown.submitOption",function(O){O.keyCode==13&&y.submitOption()}),this.settingContainer.append(J),W.length<1&&Z&&Z.forEach(function(O){var rt=O.callback;O.callback=function(q){rt&&(rt(q),y.submitOption())},i.buildSettingByCustomOptions(O,i.settingContainer)}),this.lastPrintElement=y},M.prototype.buildSettingByCustomOptions=function(e,i){var p=this;this.clearLastPrintElement();var y=i||this.settingContainer;i||this.settingContainer.html("");var Z=[],W=h.a.instance.panel.supportOptions.filter(function(Q){return!Q.hidden}).map(function(Q){return Q.name});e.optionItems?Z=e.optionItems:Object.keys(e.options).filter(function(Q){return W.includes(Q)}).forEach(function(Q){var nt=yt.a.getItem(Q);nt&&Z.push(nt)});var J=$__default.default('<div class="hiprint-option-items"></div>');e.title&&J.append(`<div class="hiprint-option-item hiprint-option-item-row">
1597
1602
  <div class="hiprint-option-item-label hiprint-option-title">
1598
- `+i.title+`
1603
+ `+e.title+`
1599
1604
  </div>
1600
- </div>`),Z.forEach(function(K){K.submit=function(nt){i.callback(c.getValueByOptionItems(Z))},R.append(K.createTarget(c.printTemplate,i.options,void 0)),K.setValue(i.options[K.name],i.options,void 0)});var et=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
1601
- type="button">\u786E\u5B9A</button>`);R.append(et),et.bind("click.submitOption",function(){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit").change(function(K){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit:input").bind("keydown.submitOption",function(K){K.keyCode==13&&i.callback(c.getValueByOptionItems(Z))}),b.append(R)},M.prototype.getValueByOptionItems=function(i){var n={};return i.forEach(function(c){n[c.name]=c.getValue()}),n},M}(),gt=function(){function M(i,n){this.paginationContainer=i,this.jqPaginationContainer=S.default(this.paginationContainer),this.template=n}return M.prototype.buildPagination=function(i){var n=this.template.getPaneltotal(),c=this;this.jqPaginationContainer.html("");for(var b=S.default('<ul class="hiprint-pagination"></ul>'),Z=function(){var K=z,nt=c.template.printPanels[K].name||K+1,X=S.default("<li><span>"+nt+'</span><a href="javascript:void(0);">x</a></li>');X.find("span").click(function(){c.template.selectPanel(K),X.siblings().removeClass("selected"),S.default(this).parent("li").addClass("selected")}),X.find("a").click(function(){c.template.deletePanel(K),c.buildPagination()}),b.append(X)},z=0;z<n;z++)Z();var R=S.default("<li><span>+</span></li>");b.append(R),this.jqPaginationContainer.append(b),R.click(function(){var et=function(nt){c.template.addPrintPanel(nt||void 0,!0),c.buildPagination(),S.default(".hiprint-pagination li").removeClass("selected"),S.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(c.template.onPanelAddClick){var K={index:c.template.printPanels.length,paperType:"A4"};c.template.onPanelAddClick(K,et)}else et()})},M.prototype.selectPanel=function(i){var n=i||this.template.editingPanel.index,c=S.default(".hiprint-pagination li:nth("+n+")");c.length&&(c.siblings().removeClass("selected"),c.addClass("selected"))},M}(),Pt=function(){function M(i){var n=this;this.tempimageBase64={},this.id=l.a.instance.guid(),l.a.instance.setPrintTemplateById(this.id,this);var c=i||{};this.printPanels=[],this.dataMode=c.dataMode||1,this.history=c.history!=null?c.history:!0,this.onFunctionClick=c.onFunctionClick,this.onDataChanged=c.onDataChanged,this.onUpdateError=c.onUpdateError,this.lastJson=c.template||{},this.historyList=[{id:l.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=c.defaultPanelName,this.designOptions={};var b=new dt(c.template||[]);c.template&&b.panels.forEach(function(Z){n.printPanels.push(new vt(Z,n.id))}),c.fontList&&(this.fontList=c.fontList),c.fields&&(this.fields=c.fields),c.onImageChooseClick&&(this.onImageChooseClick=c.onImageChooseClick),c.onPanelAddClick&&(this.onPanelAddClick=c.onPanelAddClick),c.settingContainer&&new mt(this,c.settingContainer),c.paginationContainer&&(this.printPaginationCreator=new gt(c.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return M.prototype.design=function(i,n){var c=this;if(n||(n={}),this.printPanels.length==0){var b=this.createDefaultPanel();this.printPanels.push(b)}if(!i)throw new Error("options.container can not be empty");c.designOptions=n,this.createContainer(i),this.printPanels.forEach(function(Z,z){c.container.append(Z.getTarget()),z>0&&Z.disable(),Z.design(n)}),this.selectPanel(0)},M.prototype.getSimpleHtml=function(i,n){var c=this;n||(n={});var b=S.default('<div class="hiprint-printTemplate"></div>');return i&&i.constructor===Array?i.forEach(function(Z,z){Z&&c.printPanels.forEach(function(R,et){b.append(R.getHtml(Z,n)),z==i.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(Z,z){b.append(Z.getHtml(i,n)),z==c.printPanels.length-1&&delete hinnn._paperList}),n&&n.imgToBase64&&this.transformImg(b.find("img")),b},M.prototype.getHtml=function(i,n){return i||(i={}),this.getSimpleHtml(i,n)},M.prototype.getJointHtml=function(i,n,c){var b=S.default('<div class="hiprint-printTemplate"></div>'),Z=[];return this.printPanels.forEach(function(z,R){b.append(z.getHtml(i,n,Z,void 0,c))}),b},M.prototype.setPaper=function(i,n){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(i))this.editingPanel.resize(void 0,parseFloat(i),parseFloat(n),!1);else{var c=l.a.instance[i];if(!c)throw new Error("not found pagetype:"+(i||""));this.editingPanel.resize(i,c.width,c.height,!1)}},M.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},M.prototype.zoom=function(i,n){this.editingPanel.zoom(i,n)},M.prototype.addPrintPanel=function(i,n){var c=i?new vt(new It(i),this.id):this.createDefaultPanel();return i&&(i.index=this.printPanels.length),n&&(this.container.append(c.getTarget()),c.design(this.designOptions)),this.printPanels.push(c),n&&this.selectPanel(c.index),c},M.prototype.selectPanel=function(i){var n=this;i>n.printPanels.length-1&&(i=n.printPanels.length-1),this.printPanels.forEach(function(Z,z){i==z?(Z.enable(),n.editingPanel=Z,n.printPaginationCreator&&n.printPaginationCreator.selectPanel(i)):Z.disable()});const c=i||n.editingPanel.index,b=S.default(".hiprint-pagination li:nth("+c+")");hinnn.event.trigger("onSelectPanel",n.editingPanel,c,b)},M.prototype.deletePanel=function(i){this.printPanels[i].clear(),this.printPanels[i].getTarget().remove(),this.printPanels.splice(i,1)},M.prototype.getPaneltotal=function(){return this.printPanels.length},M.prototype.createDefaultPanel=function(){return new vt(new It({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},M.prototype.createContainer=function(i){i?(this.container=S.default(i),this.container.addClass("hiprint-printTemplate")):this.container=S.default('<div class="hiprint-printTemplate"></div>')},M.prototype.getJsonTid=function(){var i=[];return this.printPanels.forEach(function(n){n.getPanelEntity().printElements.length&&i.push(n.getPanelEntity())}),new dt({panels:i})},M.prototype.getJson=function(){var i=[];return this.printPanels.forEach(function(n){i.push(n.getPanelEntity(!0))}),new dt({panels:i})},M.prototype.undo=function(i){B.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},M.prototype.redo=function(i){B.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},M.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},M.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},M.prototype.clear=function(){this.printPanels.forEach(function(i){if(i.clear(),i.index>0){var n=i.getTarget();n&&n.length&&n.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},M.prototype.getPaperType=function(i){return this.printPanels[0].paperType},M.prototype.getOrient=function(i){return i==null&&(i=0),this.printPanels[i].height>this.printPanels[i].width?1:2},M.prototype.getPrintStyle=function(i){return this.printPanels[i].getPrintStyle()},M.prototype.print=function(i,n,c){var b=this;i||(i={});var Z=this.getHtml(i,n),z=I.a.instance.getHooks("beforePrint");z&&z.forEach(R=>{var{template:et,info:K,opts:nt}=R.run({template:b,info:Z,opts:c});b=et!=null?et:b,Z=K!=null?K:K,c=nt!=null?nt:c}),Z.hiwprint(c)},M.prototype.print2=function(i,n){if(i||(i={}),n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=S.default('link[media=print][href*="print-lock.css"]'),R="";if(n.styleHandler&&(R+=n.styleHandler()),z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(et,K){var nt=new XMLHttpRequest;nt.open("GET",S.default(K).attr("href")),nt.onreadystatechange=function(){if(nt.readyState===4&&nt.status===200&&(Z[et+""]='<style rel="stylesheet" type="text/css">'+nt.responseText+"</style>",++b==z.length)){for(var X="",rt=0;rt<z.length;rt++)X+=Z[rt+""];R&&(X=R+X),c.sentToClient(X,i,n)}},nt.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.imageToBase64=function(i){var n=S.default(i).attr("src");if(n.indexOf("base64")==-1)try{if(!this.tempimageBase64[n]){var c=document.createElement("canvas"),b=new Image;b.src=i.attr("src"),c.width=b.width,c.height=b.height,c.getContext("2d").drawImage(b,0,0),n&&(this.tempimageBase64[n]=c.toDataURL("image/png"))}i.attr("src",this.tempimageBase64[n])}catch{try{this.xhrLoadImage(i)}catch(z){console.log(z)}}},M.prototype.xhrLoadImage=function(i){},M.prototype.sentToClient=function(i,n,c){n||(n={});var b=S.default.extend({},c||{});b.imgToBase64=!0;var Z=i+this.getHtml(n,b)[0].outerHTML;b.id=l.a.instance.guid(),b.html=Z,b.templateId=this.id;var z=this,R=I.a.instance.getHooks("beforePrint2");R&&R.forEach(et=>{var{template:K,info:nt}=et.run({template:z,info:b});z=K!=null?K:z,b=nt!=null?nt:b}),hiwebSocket.send(b)},M.prototype.printByHtml=function(i){S.default(i).hiwprint()},M.prototype.printByHtml2=function(i,n){if(n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=S.default('link[media=print][href*="print-lock.css"]');if(z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(R,et){var K=new XMLHttpRequest;K.open("GET",S.default(et).attr("href")),K.onreadystatechange=function(){if(K.readyState===4&&K.status===200&&(Z[R+""]='<style rel="stylesheet" type="text/css">'+K.responseText+"</style>",++b==z.length)){for(var nt="",X=0;X<z.length;X++)nt+=Z[X+""];var rt=nt+S.default(i)[0].outerHTML,q=S.default.extend({},n||{});q.id=l.a.instance.guid(),q.html=rt,q.templateId=c.id,hiwebSocket.send(q)}},K.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.deletePrintElement=function(i){this.printPanels.forEach(function(n){n.deletePrintElement(i)})},M.prototype.transformImg=function(i){var n=this;i.map(function(c,b){n.imageToBase64(S.default(b))})},M.prototype.toImage=function(i,n){let c=this,b=S.default.Deferred();if(this.printPanels.length){let Z=B.a.mm.toPt(this.printPanels[0].width);B.a.mm.toPt(this.printPanels[0].height);let z=S.default.extend({scale:2,width:B.a.pt.toPx(Z)},n||{}),R=this.getHtml(i,n);S.default(R).css("width","").css("height",""),this.createTempContainer();let et=this.getTempContainer();this.svg2canvas(R),et.html(R[0]),et.find(".hiprint-printPanel .hiprint-printPaper").length,S.default(R).css("position:fixed"),_t.default(R[0],z).then(function(K){let nt=K.getContext("2d");nt.mozImageSmoothingEnabled=!1,nt.webkitImageSmoothingEnabled=!1,nt.msImageSmoothingEnabled=!1,nt.imageSmoothingEnabled=!1;let X=n.type||"image/jpeg",rt=n.toType||"url",q=n.quality||.8;if(n.isDownload){let ot=K.toDataURL(X,q);c.removeTempContainer();let ct=new Image;ct.src=ot,ct.onload=function(){let lt=document.createElement("a"),ft=n.name||"download.jpg";lt.style.display="none",lt.setAttribute("download",ft),lt.setAttribute("href",ot),document.body.appendChild(lt),lt.click()};return}if(rt=="url"){c.removeTempContainer(),b.resolve(K.toDataURL(X,q));return}if(rt=="blob"){K.toBlob(function(ot){c.removeTempContainer(),b.resolve(ot)},X,q);return}})}return b.promise()},M.prototype.toPdf=function(i,n,c){var b=this,Z=S.default.Deferred(),z=!0;if(this.printPanels.length){var R=B.a.mm.toPt(this.printPanels[0].width),et=B.a.mm.toPt(this.printPanels[0].height),K=S.default.extend({scale:2,width:B.a.pt.toPx(R),x:0,y:0,useCORS:!0},c||{}),nt=new Le.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[R,et]}),X=this.getHtml(i,c);c&&c.isDownload!=null&&(z=f.isDownload),S.default(X).css("width","").css("height",""),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(X),rt.html(X[0]);var q=rt.find(".hiprint-printPanel .hiprint-printPaper").length;S.default(X).css("position:fixed"),_t.default(X[0],K).then(function(ot){var ct=ot.getContext("2d");ct.mozImageSmoothingEnabled=!1,ct.webkitImageSmoothingEnabled=!1,ct.msImageSmoothingEnabled=!1,ct.imageSmoothingEnabled=!1;for(var lt=ot.toDataURL("image/jpeg"),ft=0;ft<q;ft++)nt.addImage(lt,"JPEG",0,0-ft*et,R,q*et),ft<q-1&&nt.addPage();if(z)b.removeTempContainer(),n.indexOf(".pdf")>-1?nt.save(n):nt.save(n+".pdf");else{b.removeTempContainer();let wt=c.type||"blob",Ct=nt.output(wt);Z.resolve(Ct)}})}return Z.promise()},M.prototype.createTempContainer=function(){this.removeTempContainer(),S.default("body").prepend(S.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},M.prototype.removeTempContainer=function(){S.default(".hiprint_temp_Container").remove()},M.prototype.getTempContainer=function(){return S.default(".hiprint_temp_Container")},M.prototype.svg2canvas=function(i){var n=this;i.find("svg").each(function(c,b){var Z=b.parentNode,z=n.parentWidthHeight(Z),R=document.createElement("canvas");R.width=z.width,R.height=z.height;var et=R.getContext("2d"),K=new XMLSerializer().serializeToString(b);ke.default.fromString(et,K).render(),S.default(b).before(R),Z.removeChild(b)})},M.prototype.parentWidthHeight=function(i){return i.style.width.endsWith("%")||i.style.height.endsWith("%")?i.className!="hiprint-printPaper-content"?this.parentWidthHeight(i.parentNode):{width:10,height:10}:{width:B.a.pt.toPx(parseFloat(i.style.width)),height:B.a.pt.toPx(parseFloat(i.style.height))}},M.prototype.on=function(i,n){B.a.event.clear(i+"_"+this.id),B.a.event.on(i+"_"+this.id,n)},M.prototype.clientIsOpened=function(){return hiwebSocket.opened},M.prototype.getPrinterList=function(){var i=hiwebSocket.getPrinterList();return i||[]},M.prototype.getElementByTid=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByTid(i)},M.prototype.getElementByName=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByName(i)},M.prototype.getPanel=function(i){return i==null&&(i=0),this.printPanels[i]},M.prototype.loadAllImages=function(i,n,c){var b=this;c==null&&(c=0);for(var Z=i[0].getElementsByTagName("img"),z=!0,R=0;R<Z.length;R++){var et=Z[R];et.src&&et.src!==window.location.href&&et.src.indexOf("base64")==-1&&(et&&et.naturalWidth!==void 0&&et.naturalWidth!==0&&et.complete||(z=!1))}c++,!z&&c<10?setTimeout(function(){b.loadAllImages(i,n,c)},500):n()},M.prototype.setPaperList=function(i){this.paperList=i},M.prototype.getPaperList=function(){return this.paperList||[{type:"A1",width:594,height:841},{type:"A2",width:420,height:594},{type:"A3",width:297,height:420},{type:"A4",width:210,height:297},{type:"A5",width:148,height:210},{type:"A6",width:105,height:148},{type:"A7",width:74,height:105},{type:"B1",width:728,height:1030},{type:"B2",width:515,height:728},{type:"B3",width:364,height:515},{type:"B4",width:257,height:364},{type:"B5",width:182,height:257},{type:"B6",width:91,height:182},{type:"B7",width:64,height:91}]},M.prototype.setFontList=function(i){this.fontList=i},M.prototype.getFontList=function(){return this.fontList},M.prototype.setFields=function(i){this.fields=i},M.prototype.getFields=function(){return this.fields},M.prototype.setOnImageChooseClick=function(i){this.onImageChooseClick=i},M.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},M.prototype.getFieldsInPanel=function(){var i=[];return this.printPanels.forEach(function(n){i=i.concat(n.getFieldsInPanel())}),i},M.prototype.getTestData=function(){var i={};return this.printPanels.forEach(function(n){i=Object.assign(i,n.getTestData())}),i},M.prototype.update=function(i,n){var c=this;try{if(i&&Tt(i)=="object"&&i.panels.length>0){var b=c.printPanels.length-1;i.panels.forEach(function(Z,z){if(z>b){c.printPanels.push(new vt(Z,l.a.instance.guid()));var R=c.printPanels[z];c.container.append(R.getTarget()),z>0&&R.disable(),R.design(c.designOptions),c.printPaginationCreator&&c.printPaginationCreator.buildPagination()}var et=new It(Z);c.editingPanel=c.printPanels[z],c.editingPanel.update(et)}),c.selectPanel(n||0)}}catch(Z){console.log(Z),c.onUpdateError&&c.onUpdateError(Z)}},M.prototype.canPaste=function(){return this.editingPanel.canPaste()},M.prototype.copyJson=function(i){return this.editingPanel.copyJson(i)},M.prototype.cutJson=function(){return this.editingPanel.cutJson()},M.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},M.prototype.updateOption=function(i,n){var c=this.getSelectEls();c&&c.length&&(c.forEach(function(b){b.updateOption(i,n,!0)}),B.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},M.prototype.setElsAlign=function(i){var n=this.getSelectEls();if(n.length){var c=Math.min.apply(null,n.map(function(q){return q.options.left})),b=Math.max.apply(null,n.map(function(q){return q.options.left+q.options.width})),Z=Math.min.apply(null,n.map(function(q){return q.options.top})),z=Math.max.apply(null,n.map(function(q){return q.options.top+q.options.height}));switch(i){case"left":n.forEach(function(q){q.updateSizeAndPositionOptions(c),q.designTarget.css("left",q.options.displayLeft())});break;case"vertical":var R=c+(b-c)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(R-q.options.width/2),q.designTarget.css("left",q.options.displayLeft())});break;case"right":n.forEach(function(q){q.updateSizeAndPositionOptions(b-q.options.width),q.designTarget.css("left",q.options.displayLeft())});break;case"top":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,Z),q.designTarget.css("top",q.options.displayTop())});break;case"horizontal":var et=Z+(z-Z)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,et-q.options.height/2),q.designTarget.css("top",q.options.displayTop())});break;case"bottom":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,z-q.options.height),q.designTarget.css("top",q.options.displayTop())});break;case"distributeHor":var K=[].reduce.call(n,function(q,ot){return q+ot.options.width},0),nt=(b-c-K)/(n.length-1);n.sort(function(q,ot){return q.options.left-ot.options.left}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(n[ot-1].options.left+n[ot-1].options.width+nt),q.designTarget.css("left",q.options.displayLeft()))});break;case"distributeVer":var X=[].reduce.call(n,function(q,ot){return q+ot.options.height},0),rt=(z-Z-X)/(n.length-1);n.sort(function(q,ot){return q.options.top-ot.options.top}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(void 0,n[ot-1].options.top+n[ot-1].options.height+rt),q.designTarget.css("top",q.options.displayTop()))});break}}},M.prototype.setElsSpace=function(i,n){var c=this.getSelectEls();c.length&&(n?(c.sort(function(b,Z){return b.options.left-Z.options.left}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(c[Z-1].options.left+c[Z-1].options.width+i),b.designTarget.css("left",b.options.displayLeft()))})):(c.sort(function(b,Z){return b.options.top-Z.options.top}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(void 0,c[Z-1].options.top+c[Z-1].options.height+i),b.designTarget.css("top",b.options.displayTop()))})))},M.prototype.initAutoSave=function(){var i=this;B.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(n){if(!!i.history)switch(n){case"undo":if(i.historyPos>0){i.historyPos-=1;var c=i.historyList[i.historyPos];i.update(c.json)}break;case"redo":if(i.historyPos<i.historyList.length-1){i.historyPos+=1;var c=i.historyList[i.historyPos];i.update(c.json)}break}}),B.a.event.on("hiprintTemplateDataChanged_"+this.id,function(n){if(i.history){var c=i.dataMode==1?i.getJson():i.getJsonTid();i.lastJson=c,i.historyPos<i.historyList.length-1&&(i.historyList=i.historyList.slice(0,i.historyPos+1)),i.historyList.push({id:l.a.instance.guid(),type:n,json:c}),i.historyList.length>50?i.historyList=i.historyList.slice(0,1).concat(i.historyList.slice(1,50)):i.historyPos+=1,i.onDataChanged&&i.onDataChanged(n,c)}})},M}();function jt(M){this.getHtml(M).hiwprint()}function St(M,i,n){S.default.extend({},M||{}).imgToBase64=!0;var c=new Pt({});c.on("printSuccess",i),c.on("printError",n),c.printByHtml2(this.getHtml(M),M.options)}function Ut(M){var i=void 0;return M&&M.templates.forEach(function(n,c){var b=S.default.extend({},n.options||{});M.imgToBase64&&(b.imgToBase64=!0),i?i.append(n.template.getHtml(n.data,b).html()):i=n.template.getHtml(n.data,b)}),i}function Zt(M){I.a.instance.init(M),I.a.instance.providers&&I.a.instance.providers.forEach(function(i){i.addElementTypes(p.instance)})}function Lt(M){I.a.instance.register(M)}function zt(M){M?M&&Object.keys(M).forEach(function(i){if(i=="optionItems"&&M.optionItems&&M.optionItems.length)I.a.instance.registerItems(M.optionItems);else if(M[i].tabs&&M[i].tabs.length)M[i].tabs.forEach(function(Z,z){if(Z.replace)S.default.extend(I.a.instance[i].tabs[z],Z);else{var R=Z.options,et=I.a.instance[i].tabs[z].options;R.forEach(function(K){var nt=et.findIndex(function(X){return X.name==K.name});nt>-1?et[nt].hidden=K.hidden:K.after?(nt=et.findIndex(function(X){return X.name==K.after}),nt>-1&&et.splice(nt+1,0,K)):et.push(K)}),S.default.extend(I.a.instance[i].tabs[z],{name:Z.name,options:et})}}),delete M[i].tabs;else if(M[i].supportOptions){var n=M[i].supportOptions,c=I.a.instance[i].supportOptions;n.forEach(function(Z){var z=c.findIndex(function(R){return R.name==Z.name});z>-1?c[z].hidden=Z.hidden:Z.after?(z=c.findIndex(function(R){return R.name==Z.after}),z>-1&&c.splice(z+1,0,Z)):c.push(Z)}),S.default.extend(I.a.instance[i].supportOptions,c),delete M[i].supportOptions}else{var b={};b[i]=M[i],S.default.extend(I.a.instance,b)}}):S.default.extend(I.a.instance,HIPRINT_CONFIG)}function Wt(M,i){return p.instance.updateElementType(M,i)}function kt(M){I.a.instance.clear("printerList"),I.a.instance.on("printerList",M),hiwebSocket.refreshPrinterList()}function Gt(M,i,...n){I.a.instance.clear("address_"+M),I.a.instance.on("address_"+M,i),hiwebSocket.getAddress(M,...n)}function Rt(M,i,n){I.a.instance.clear("ippPrinterCallback"),I.a.instance.on("ippPrinterCallback",i),I.a.instance.clear("ippPrinterConnected"),I.a.instance.on("ippPrinterConnected",n),hiwebSocket.ippPrint(M)}function Jt(M,i){I.a.instance.clear("ippRequestCallback"),I.a.instance.on("ippRequestCallback",i),hiwebSocket.ippRequest(M)}f.d(V,"register",function(){return Lt}),f.d(V,"init",function(){return Zt}),f.d(V,"setConfig",function(){return zt}),f.d(V,"updateElementType",function(){return Wt}),f.d(V,"hiwebSocket",function(){return hiwebSocket}),f.d(V,"refreshPrinterList",function(){return kt}),f.d(V,"getAddress",function(){return Gt}),f.d(V,"ippPrint",function(){return Rt}),f.d(V,"ippRequest",function(){return Jt}),f.d(V,"ElementTypes",function(){return p.instance}),f.d(V,"PrintElementTypeManager",function(){return st}),f.d(V,"PrintElementTypeGroup",function(){return pt}),f.d(V,"PrintTemplate",function(){return Pt}),f.d(V,"print",function(){return jt}),f.d(V,"print2",function(){return St}),f.d(V,"getHtml",function(){return Ut}),S.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var M=I.a.instance.getHooks("ready");M&&M.forEach(i=>{i.run({p:I,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let Xe=Qe(Et);(function(tt){tt.fn.hiwprint=function(y){var p=document.getElementById("hiwprint_iframe");p&&p.parentNode.removeChild(p);var I=tt.extend({},tt.fn.hiwprint.defaults,y),l=this,H=tt('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),D="";I.importCss&&(I.styleHandler&&(D+=I.styleHandler()),tt("link[media=print]").length>0&&tt("link[media=print]").each(function(){tt(this).attr("href").indexOf("print-lock.css")>=0&&(D+='<link rel="stylesheet" type="text/css" media="print" href="'+tt(this).attr("href")+'">',D+='<link rel="stylesheet" type="text/css" href="'+tt(this).attr("href")+'">')})),H[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>",H[0].onload=function(){var N=H[0].contentWindow||H[0].contentDocument;N.document&&(N=N.document),H.attr("srcdoc")||N.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>"),I.printContainer?N.body.innerHTML=l[0].outerHTML:N.body.innerHTML=l.html(),B(N,function(){V(H[0],I)})},H.appendTo("body")},tt.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function V(y,p){try{if(y.focus(),G()||f())try{y.contentWindow.document.execCommand("print",!1,null)}catch{y.contentWindow.print()}else y.contentWindow.print();p.callback&&p.callback()}catch(I){console.log(I)}}function f(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function G(){return!f()&&!!window.StyleMedia}function B(y,p,I){I===void 0&&(I=0);for(var l=y.getElementsByTagName("img"),H=!0,D=0;D<l.length;D++){var N=l[D];N.src&&N.src!==window.location.href&&N.src.indexOf("base64")==-1&&(!N||typeof N.naturalWidth>"u"||N.naturalWidth===0||!N.complete)&&(N.complete||(H=!1))}I++,!H&&I<10?setTimeout(function(){B(y,p,I)},500):p()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.16",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const _e=function(tt){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(tt)},Ke=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=Et;exports.autoConnect=_e;exports.defaultElementTypeProvider=Xe;exports.disAutoConnect=Ke;exports.hiprint=Et;
1605
+ </div>`),Z.forEach(function(Q){Q.submit=function(nt){e.callback(p.getValueByOptionItems(Z))},J.append(Q.createTarget(p.printTemplate,e.options,void 0)),Q.setValue(e.options[Q.name],e.options,void 0)});var et=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
1606
+ type="button">\u786E\u5B9A</button>`);J.append(et),et.bind("click.submitOption",function(){e.callback(p.getValueByOptionItems(Z))}),J.find(".auto-submit").change(function(Q){e.callback(p.getValueByOptionItems(Z))}),J.find(".auto-submit:input").bind("keydown.submitOption",function(Q){Q.keyCode==13&&e.callback(p.getValueByOptionItems(Z))}),y.append(J)},M.prototype.getValueByOptionItems=function(e){var i={};return e.forEach(function(p){i[p.name]=p.getValue()}),i},M}(),gt=function(){function M(e,i){this.paginationContainer=e,this.jqPaginationContainer=$__default.default(this.paginationContainer),this.template=i}return M.prototype.buildPagination=function(e){var i=this.template.getPaneltotal(),p=this;this.jqPaginationContainer.html("");for(var y=$__default.default('<ul class="hiprint-pagination"></ul>'),Z=function(){var Q=W,nt=p.template.printPanels[Q].name||Q+1,O=$__default.default("<li><span>"+nt+'</span><a href="javascript:void(0);">x</a></li>');O.find("span").click(function(){p.template.selectPanel(Q),O.siblings().removeClass("selected"),$__default.default(this).parent("li").addClass("selected")}),O.find("a").click(function(){p.template.deletePanel(Q),p.buildPagination()}),y.append(O)},W=0;W<i;W++)Z();var J=$__default.default("<li><span>+</span></li>");y.append(J),this.jqPaginationContainer.append(y),J.click(function(){var et=function(nt){p.template.addPrintPanel(nt||void 0,!0),p.buildPagination(),$__default.default(".hiprint-pagination li").removeClass("selected"),$__default.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(p.template.onPanelAddClick){var Q={index:p.template.printPanels.length,paperType:"A4"};p.template.onPanelAddClick(Q,et)}else et()})},M.prototype.selectPanel=function(e){var i=e||this.template.editingPanel.index,p=$__default.default(".hiprint-pagination li:nth("+i+")");p.length&&(p.siblings().removeClass("selected"),p.addClass("selected"))},M}(),Pt=function(){function M(e){var i=this;this.tempimageBase64={},this.id=g.a.instance.guid(),g.a.instance.setPrintTemplateById(this.id,this);var p=e||{};this.printPanels=[],this.dataMode=p.dataMode||1,this.history=p.history!=null?p.history:!0,this.onFunctionClick=p.onFunctionClick,this.onDataChanged=p.onDataChanged,this.onUpdateError=p.onUpdateError,this.lastJson=p.template||{},this.historyList=[{id:g.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=p.defaultPanelName,this.designOptions={};var y=new dt(p.template||[]);p.template&&y.panels.forEach(function(Z){i.printPanels.push(new vt(Z,i.id))}),p.fontList&&(this.fontList=p.fontList),p.fields&&(this.fields=p.fields),p.onImageChooseClick&&(this.onImageChooseClick=p.onImageChooseClick),p.onPanelAddClick&&(this.onPanelAddClick=p.onPanelAddClick),p.settingContainer&&new ft(this,p.settingContainer),p.paginationContainer&&(this.printPaginationCreator=new gt(p.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return M.prototype.design=function(e,i){var p=this;if(i||(i={}),this.printPanels.length==0){var y=this.createDefaultPanel();this.printPanels.push(y)}if(!e)throw new Error("options.container can not be empty");p.designOptions=i,this.createContainer(e),this.printPanels.forEach(function(Z,W){p.container.append(Z.getTarget()),W>0&&Z.disable(),Z.design(i)}),this.selectPanel(0)},M.prototype.getSimpleHtml=function(e,i){var p=this;i||(i={});var y=$__default.default('<div class="hiprint-printTemplate"></div>');return e&&e.constructor===Array?e.forEach(function(Z,W){Z&&p.printPanels.forEach(function(J,et){y.append(J.getHtml(Z,i)),W==e.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(Z,W){y.append(Z.getHtml(e,i)),W==p.printPanels.length-1&&delete hinnn._paperList}),i&&i.imgToBase64&&this.transformImg(y.find("img")),y},M.prototype.getHtml=function(e,i){return e||(e={}),this.getSimpleHtml(e,i)},M.prototype.getJointHtml=function(e,i,p){var y=$__default.default('<div class="hiprint-printTemplate"></div>'),Z=[];return this.printPanels.forEach(function(W,J){y.append(W.getHtml(e,i,Z,void 0,p))}),y},M.prototype.setPaper=function(e,i){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(e))this.editingPanel.resize(void 0,parseFloat(e),parseFloat(i),!1);else{var p=g.a.instance[e];if(!p)throw new Error("not found pagetype:"+(e||""));this.editingPanel.resize(e,p.width,p.height,!1)}},M.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},M.prototype.zoom=function(e,i){this.editingPanel.zoom(e,i)},M.prototype.addPrintPanel=function(e,i){var p=e?new vt(new ut(e),this.id):this.createDefaultPanel();return e&&(e.index=this.printPanels.length),i&&(this.container.append(p.getTarget()),p.design(this.designOptions)),this.printPanels.push(p),i&&this.selectPanel(p.index),p},M.prototype.selectPanel=function(e){var i=this;e>i.printPanels.length-1&&(e=i.printPanels.length-1),this.printPanels.forEach(function(Z,W){e==W?(Z.enable(),i.editingPanel=Z,i.printPaginationCreator&&i.printPaginationCreator.selectPanel(e)):Z.disable()});const p=e||i.editingPanel.index,y=$__default.default(".hiprint-pagination li:nth("+p+")");hinnn.event.trigger("onSelectPanel",i.editingPanel,p,y)},M.prototype.deletePanel=function(e){this.printPanels[e].clear(),this.printPanels[e].getTarget().remove(),this.printPanels.splice(e,1)},M.prototype.getPaneltotal=function(){return this.printPanels.length},M.prototype.createDefaultPanel=function(){return new vt(new ut({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},M.prototype.createContainer=function(e){e?(this.container=$__default.default(e),this.container.addClass("hiprint-printTemplate")):this.container=$__default.default('<div class="hiprint-printTemplate"></div>')},M.prototype.getJsonTid=function(){var e=[];return this.printPanels.forEach(function(i){i.getPanelEntity().printElements.length&&e.push(i.getPanelEntity())}),new dt({panels:e})},M.prototype.getJson=function(){var e=[];return this.printPanels.forEach(function(i){e.push(i.getPanelEntity(!0))}),new dt({panels:e})},M.prototype.undo=function(e){w.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},M.prototype.redo=function(e){w.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},M.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},M.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},M.prototype.clear=function(){this.printPanels.forEach(function(e){if(e.clear(),e.index>0){var i=e.getTarget();i&&i.length&&i.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},M.prototype.getPaperType=function(e){return this.printPanels[0].paperType},M.prototype.getOrient=function(e){return e==null&&(e=0),this.printPanels[e].height>this.printPanels[e].width?1:2},M.prototype.getPrintStyle=function(e){return this.printPanels[e].getPrintStyle()},M.prototype.print=function(e,i,p){var y=this;e||(e={});var Z=this.getHtml(e,i),W=h.a.instance.getHooks("beforePrint");W&&W.forEach(J=>{var{template:et,info:Q,opts:nt}=J.run({template:y,info:Z,opts:p});y=et!=null?et:y,Z=Q!=null?Q:Q,p=nt!=null?nt:p}),Z.hiwprint(p)},M.prototype.print2=function(e,i){if(e||(e={}),i||(i={}),this.clientIsOpened()){var p=this,y=0,Z={},W=$__default.default('link[media=print][href*="print-lock.css"]'),J="";if(i.styleHandler&&(J+=i.styleHandler()),W.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');W.each(function(et,Q){var nt=new XMLHttpRequest;nt.open("GET",$__default.default(Q).attr("href")),nt.onreadystatechange=function(){if(nt.readyState===4&&nt.status===200&&(Z[et+""]='<style rel="stylesheet" type="text/css">'+nt.responseText+"</style>",++y==W.length)){for(var O="",rt=0;rt<W.length;rt++)O+=Z[rt+""];J&&(O=J+O),p.sentToClient(O,e,i)}},nt.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.imageToBase64=function(e){var i=$__default.default(e).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var p=document.createElement("canvas"),y=new Image;y.src=e.attr("src"),p.width=y.width,p.height=y.height,p.getContext("2d").drawImage(y,0,0),i&&(this.tempimageBase64[i]=p.toDataURL("image/png"))}e.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(e)}catch(W){console.log(W)}}},M.prototype.xhrLoadImage=function(e){},M.prototype.sentToClient=function(e,i,p){i||(i={});var y=$__default.default.extend({},p||{});y.imgToBase64=!0;var Z=e+this.getHtml(i,y)[0].outerHTML;y.id=g.a.instance.guid(),y.html=Z,y.templateId=this.id;var W=this,J=h.a.instance.getHooks("beforePrint2");J&&J.forEach(et=>{var{template:Q,info:nt}=et.run({template:W,info:y});W=Q!=null?Q:W,y=nt!=null?nt:y}),hiwebSocket.send(y)},M.prototype.printByHtml=function(e){$__default.default(e).hiwprint()},M.prototype.printByHtml2=function(e,i){if(i||(i={}),this.clientIsOpened()){var p=this,y=0,Z={},W=$__default.default('link[media=print][href*="print-lock.css"]');if(W.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');W.each(function(J,et){var Q=new XMLHttpRequest;Q.open("GET",$__default.default(et).attr("href")),Q.onreadystatechange=function(){if(Q.readyState===4&&Q.status===200&&(Z[J+""]='<style rel="stylesheet" type="text/css">'+Q.responseText+"</style>",++y==W.length)){for(var nt="",O=0;O<W.length;O++)nt+=Z[O+""];var rt=nt+$__default.default(e)[0].outerHTML,q=$__default.default.extend({},i||{});q.id=g.a.instance.guid(),q.html=rt,q.templateId=p.id,hiwebSocket.send(q)}},Q.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.deletePrintElement=function(e){this.printPanels.forEach(function(i){i.deletePrintElement(e)})},M.prototype.transformImg=function(e){var i=this;e.map(function(p,y){i.imageToBase64($__default.default(y))})},M.prototype.toImage=function(e,i){let p=this,y=$__default.default.Deferred();if(this.printPanels.length){let Z=w.a.mm.toPt(this.printPanels[0].width);w.a.mm.toPt(this.printPanels[0].height);let W=$__default.default.extend({scale:2,width:w.a.pt.toPx(Z)},i||{}),J=this.getHtml(e,i);$__default.default(J).css("width","").css("height",""),this.createTempContainer();let et=this.getTempContainer();this.svg2canvas(J),et.html(J[0]),et.find(".hiprint-printPanel .hiprint-printPaper").length,$__default.default(J).css("position:fixed"),html2canvas__default.default(J[0],W).then(function(Q){let nt=Q.getContext("2d");nt.mozImageSmoothingEnabled=!1,nt.webkitImageSmoothingEnabled=!1,nt.msImageSmoothingEnabled=!1,nt.imageSmoothingEnabled=!1;let O=i.type||"image/jpeg",rt=i.toType||"url",q=i.quality||.8;if(i.isDownload){let ot=Q.toDataURL(O,q);p.removeTempContainer();let It=new Image;It.src=ot,It.onload=function(){let st=document.createElement("a"),ht=i.name||"download.jpg";st.style.display="none",st.setAttribute("download",ht),st.setAttribute("href",ot),document.body.appendChild(st),st.click()};return}if(rt=="url"){p.removeTempContainer(),y.resolve(Q.toDataURL(O,q));return}if(rt=="blob"){Q.toBlob(function(ot){p.removeTempContainer(),y.resolve(ot)},O,q);return}})}return y.promise()},M.prototype.toPdf=function(e,i,p){var y=this,Z=$__default.default.Deferred(),W=!0;if(this.printPanels.length){var J=w.a.mm.toPt(this.printPanels[0].width),et=w.a.mm.toPt(this.printPanels[0].height),Q=$__default.default.extend({scale:2,width:w.a.pt.toPx(J),x:0,y:0,useCORS:!0},p||{}),nt=new jspdf.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[J,et]}),O=this.getHtml(e,p);p&&p.isDownload!=null&&(W=r.isDownload),$__default.default(O).css("width","").css("height",""),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(O),rt.html(O[0]);var q=rt.find(".hiprint-printPanel .hiprint-printPaper").length;$__default.default(O).css("position:fixed"),html2canvas__default.default(O[0],Q).then(function(ot){var It=ot.getContext("2d");It.mozImageSmoothingEnabled=!1,It.webkitImageSmoothingEnabled=!1,It.msImageSmoothingEnabled=!1,It.imageSmoothingEnabled=!1;for(var st=ot.toDataURL("image/jpeg"),ht=0;ht<q;ht++)nt.addImage(st,"JPEG",0,0-ht*et,J,q*et),ht<q-1&&nt.addPage();if(W)y.removeTempContainer(),i.indexOf(".pdf")>-1?nt.save(i):nt.save(i+".pdf");else{y.removeTempContainer();let Tt=p.type||"blob",xt=nt.output(Tt);Z.resolve(xt)}})}return Z.promise()},M.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").prepend($__default.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},M.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},M.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},M.prototype.svg2canvas=function(e){var i=this;e.find("svg").each(function(p,y){var Z=y.parentNode,W=i.parentWidthHeight(Z),J=document.createElement("canvas");J.width=W.width,J.height=W.height;var et=J.getContext("2d"),Q=new XMLSerializer().serializeToString(y);Canvg__default.default.fromString(et,Q).render(),$__default.default(y).before(J),Z.removeChild(y)})},M.prototype.parentWidthHeight=function(e){return e.style.width.endsWith("%")||e.style.height.endsWith("%")?e.className!="hiprint-printPaper-content"?this.parentWidthHeight(e.parentNode):{width:10,height:10}:{width:w.a.pt.toPx(parseFloat(e.style.width)),height:w.a.pt.toPx(parseFloat(e.style.height))}},M.prototype.on=function(e,i){w.a.event.clear(e+"_"+this.id),w.a.event.on(e+"_"+this.id,i)},M.prototype.clientIsOpened=function(){return hiwebSocket.opened},M.prototype.getPrinterList=function(){var e=hiwebSocket.getPrinterList();return e||[]},M.prototype.getElementByTid=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByTid(e)},M.prototype.getElementByName=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByName(e)},M.prototype.getPanel=function(e){return e==null&&(e=0),this.printPanels[e]},M.prototype.loadAllImages=function(e,i,p){var y=this;p==null&&(p=0);for(var Z=e[0].getElementsByTagName("img"),W=!0,J=0;J<Z.length;J++){var et=Z[J];et.src&&et.src!==window.location.href&&et.src.indexOf("base64")==-1&&(et&&et.naturalWidth!==void 0&&et.naturalWidth!==0&&et.complete||(W=!1))}p++,!W&&p<10?setTimeout(function(){y.loadAllImages(e,i,p)},500):i()},M.prototype.setPaperList=function(e){this.paperList=e},M.prototype.getPaperList=function(){return this.paperList||[{type:"A1",width:594,height:841},{type:"A2",width:420,height:594},{type:"A3",width:297,height:420},{type:"A4",width:210,height:297},{type:"A5",width:148,height:210},{type:"A6",width:105,height:148},{type:"A7",width:74,height:105},{type:"B1",width:728,height:1030},{type:"B2",width:515,height:728},{type:"B3",width:364,height:515},{type:"B4",width:257,height:364},{type:"B5",width:182,height:257},{type:"B6",width:91,height:182},{type:"B7",width:64,height:91}]},M.prototype.setFontList=function(e){this.fontList=e},M.prototype.getFontList=function(){return this.fontList},M.prototype.setFields=function(e){this.fields=e},M.prototype.getFields=function(){return this.fields},M.prototype.setOnImageChooseClick=function(e){this.onImageChooseClick=e},M.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},M.prototype.getFieldsInPanel=function(){var e=[];return this.printPanels.forEach(function(i){e=e.concat(i.getFieldsInPanel())}),e},M.prototype.getTestData=function(){var e={};return this.printPanels.forEach(function(i){e=Object.assign(e,i.getTestData())}),e},M.prototype.update=function(e,i){var p=this;try{if(e&&_typeof(e)=="object"&&e.panels.length>0){var y=p.printPanels.length-1;e.panels.forEach(function(Z,W){if(W>y){p.printPanels.push(new vt(Z,p.id));var J=p.printPanels[W];p.container.append(J.getTarget()),W>0&&J.disable(),J.design(p.designOptions),p.printPaginationCreator&&p.printPaginationCreator.buildPagination()}var et=new ut(Z);p.editingPanel=p.printPanels[W],p.editingPanel.update(et)}),p.selectPanel(i||0)}}catch(Z){console.log(Z),p.onUpdateError&&p.onUpdateError(Z)}},M.prototype.canPaste=function(){return this.editingPanel.canPaste()},M.prototype.copyJson=function(e){return this.editingPanel.copyJson(e)},M.prototype.cutJson=function(){return this.editingPanel.cutJson()},M.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},M.prototype.updateOption=function(e,i){var p=this.getSelectEls();p&&p.length&&(p.forEach(function(y){y.updateOption(e,i,!0)}),w.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},M.prototype.setElsAlign=function(e){var i=this.getSelectEls();if(i.length){var p=Math.min.apply(null,i.map(function(q){return q.options.left})),y=Math.max.apply(null,i.map(function(q){return q.options.left+q.options.width})),Z=Math.min.apply(null,i.map(function(q){return q.options.top})),W=Math.max.apply(null,i.map(function(q){return q.options.top+q.options.height}));switch(e){case"left":i.forEach(function(q){q.updateSizeAndPositionOptions(p),q.designTarget.css("left",q.options.displayLeft())});break;case"vertical":var J=p+(y-p)/2;i.forEach(function(q){q.updateSizeAndPositionOptions(J-q.options.width/2),q.designTarget.css("left",q.options.displayLeft())});break;case"right":i.forEach(function(q){q.updateSizeAndPositionOptions(y-q.options.width),q.designTarget.css("left",q.options.displayLeft())});break;case"top":i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,Z),q.designTarget.css("top",q.options.displayTop())});break;case"horizontal":var et=Z+(W-Z)/2;i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,et-q.options.height/2),q.designTarget.css("top",q.options.displayTop())});break;case"bottom":i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,W-q.options.height),q.designTarget.css("top",q.options.displayTop())});break;case"distributeHor":var Q=[].reduce.call(i,function(q,ot){return q+ot.options.width},0),nt=(y-p-Q)/(i.length-1);i.sort(function(q,ot){return q.options.left-ot.options.left}),i.forEach(function(q,ot){[0,i.length-1].includes(ot)||(q.updateSizeAndPositionOptions(i[ot-1].options.left+i[ot-1].options.width+nt),q.designTarget.css("left",q.options.displayLeft()))});break;case"distributeVer":var O=[].reduce.call(i,function(q,ot){return q+ot.options.height},0),rt=(W-Z-O)/(i.length-1);i.sort(function(q,ot){return q.options.top-ot.options.top}),i.forEach(function(q,ot){[0,i.length-1].includes(ot)||(q.updateSizeAndPositionOptions(void 0,i[ot-1].options.top+i[ot-1].options.height+rt),q.designTarget.css("top",q.options.displayTop()))});break}}},M.prototype.setElsSpace=function(e,i){var p=this.getSelectEls();p.length&&(i?(p.sort(function(y,Z){return y.options.left-Z.options.left}),p.forEach(function(y,Z){Z>0&&(y.updateSizeAndPositionOptions(p[Z-1].options.left+p[Z-1].options.width+e),y.designTarget.css("left",y.options.displayLeft()))})):(p.sort(function(y,Z){return y.options.top-Z.options.top}),p.forEach(function(y,Z){Z>0&&(y.updateSizeAndPositionOptions(void 0,p[Z-1].options.top+p[Z-1].options.height+e),y.designTarget.css("top",y.options.displayTop()))})))},M.prototype.initAutoSave=function(){var e=this;w.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(i){if(!!e.history)switch(i){case"undo":if(e.historyPos>0){e.historyPos-=1;var p=e.historyList[e.historyPos];e.update(p.json)}break;case"redo":if(e.historyPos<e.historyList.length-1){e.historyPos+=1;var p=e.historyList[e.historyPos];e.update(p.json)}break}}),w.a.event.on("hiprintTemplateDataChanged_"+this.id,function(i){if(e.history){var p=e.dataMode==1?e.getJson():e.getJsonTid();e.lastJson=p,e.historyPos<e.historyList.length-1&&(e.historyList=e.historyList.slice(0,e.historyPos+1)),e.historyList.push({id:g.a.instance.guid(),type:i,json:p}),e.historyList.length>50?e.historyList=e.historyList.slice(0,1).concat(e.historyList.slice(1,50)):e.historyPos+=1,e.onDataChanged&&e.onDataChanged(i,p)}})},M}();function jt(M){this.getHtml(M).hiwprint()}function St(M,e,i){$__default.default.extend({},M||{}).imgToBase64=!0;var p=new Pt({});p.on("printSuccess",e),p.on("printError",i),p.printByHtml2(this.getHtml(M),M.options)}function Ct(M){var e=void 0;return M&&M.templates.forEach(function(i,p){var y=$__default.default.extend({},i.options||{});M.imgToBase64&&(y.imgToBase64=!0),e?e.append(i.template.getHtml(i.data,y).html()):e=i.template.getHtml(i.data,y)}),e}function Nt(M){h.a.instance.init(M),h.a.instance.providers&&h.a.instance.providers.forEach(function(e){e.addElementTypes(l.instance)}),window.autoConnect&&(h.a.instance.host!=hiwebSocket.host||h.a.instance.token!=hiwebSocket.token)&&(hiwebSocket.stop(),h.a.instance.host&&(hiwebSocket.host=h.a.instance.host),h.a.instance.token&&(hiwebSocket.token=h.a.instance.token),hiwebSocket.start())}function Dt(M){h.a.instance.register(M)}function At(M){M?M&&Object.keys(M).forEach(function(e){if(e=="optionItems"&&M.optionItems&&M.optionItems.length)h.a.instance.registerItems(M.optionItems);else if(M[e].tabs&&M[e].tabs.length)M[e].tabs.forEach(function(Z,W){if(Z.replace)$__default.default.extend(h.a.instance[e].tabs[W],Z);else{var J=Z.options,et=h.a.instance[e].tabs[W].options;J.forEach(function(Q){var nt=et.findIndex(function(O){return O.name==Q.name});nt>-1?et[nt].hidden=Q.hidden:Q.after?(nt=et.findIndex(function(O){return O.name==Q.after}),nt>-1&&et.splice(nt+1,0,Q)):et.push(Q)}),$__default.default.extend(h.a.instance[e].tabs[W],{name:Z.name,options:et})}}),delete M[e].tabs;else if(M[e].supportOptions){var i=M[e].supportOptions,p=h.a.instance[e].supportOptions;i.forEach(function(Z){var W=p.findIndex(function(J){return J.name==Z.name});W>-1?p[W].hidden=Z.hidden:Z.after?(W=p.findIndex(function(J){return J.name==Z.after}),W>-1&&p.splice(W+1,0,Z)):p.push(Z)}),$__default.default.extend(h.a.instance[e].supportOptions,p),delete M[e].supportOptions}else{var y={};y[e]=M[e],$__default.default.extend(h.a.instance,y)}}):$__default.default.extend(h.a.instance,HIPRINT_CONFIG)}function Et(M,e){return l.instance.updateElementType(M,e)}function Bt(M){h.a.instance.clear("printerList"),h.a.instance.on("printerList",M),hiwebSocket.refreshPrinterList()}function Ut(M){h.a.instance.clear("clients"),h.a.instance.on("clients",M),hiwebSocket.getClients()}function Zt(M){h.a.instance.clear("clientInfo"),h.a.instance.on("getClientInfo",M),hiwebSocket.getClientInfo()}function Lt(M,e,...i){h.a.instance.clear("address_"+M),h.a.instance.on("address_"+M,e),hiwebSocket.getAddress(M,...i)}function zt(M,e,i){h.a.instance.clear("ippPrinterCallback"),h.a.instance.on("ippPrinterCallback",e),h.a.instance.clear("ippPrinterConnected"),h.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(M)}function Wt(M,e){h.a.instance.clear("ippRequestCallback"),h.a.instance.on("ippRequestCallback",e),hiwebSocket.ippRequest(M)}r.d(L,"register",function(){return Dt}),r.d(L,"init",function(){return Nt}),r.d(L,"setConfig",function(){return At}),r.d(L,"updateElementType",function(){return Et}),r.d(L,"hiwebSocket",function(){return hiwebSocket}),r.d(L,"refreshPrinterList",function(){return Bt}),r.d(L,"getClients",function(){return Ut}),r.d(L,"getClientInfo",function(){return Zt}),r.d(L,"getAddress",function(){return Lt}),r.d(L,"ippPrint",function(){return zt}),r.d(L,"ippRequest",function(){return Wt}),r.d(L,"ElementTypes",function(){return l.instance}),r.d(L,"PrintElementTypeManager",function(){return lt}),r.d(L,"PrintElementTypeGroup",function(){return pt}),r.d(L,"PrintTemplate",function(){return Pt}),r.d(L,"print",function(){return jt}),r.d(L,"print2",function(){return St}),r.d(L,"getHtml",function(){return Ct}),$__default.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var M=h.a.instance.getHooks("ready");M&&M.forEach(e=>{e.run({p:h,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let defaultElementTypeProvider=defaultTypeProvider(hiprint$1);(function(R){R.fn.hiwprint=function(b){var l=document.getElementById("hiwprint_iframe");l&&l.parentNode.removeChild(l);var h=R.extend({},R.fn.hiwprint.defaults,b),g=this,E=R('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),D="";h.importCss&&(h.styleHandler&&(D+=h.styleHandler()),R("link[media=print]").length>0&&R("link[media=print]").each(function(){R(this).attr("href").indexOf("print-lock.css")>=0&&(D+='<link rel="stylesheet" type="text/css" media="print" href="'+R(this).attr("href")+'">',D+='<link rel="stylesheet" type="text/css" href="'+R(this).attr("href")+'">')})),E[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>",E[0].onload=function(){var v=E[0].contentWindow||E[0].contentDocument;v.document&&(v=v.document),E.attr("srcdoc")||v.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>"),h.printContainer?v.body.innerHTML=g[0].outerHTML:v.body.innerHTML=g.html(),w(v,function(){L(E[0],h)})},E.appendTo("body")},R.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function L(b,l){try{if(b.focus(),B()||r())try{b.contentWindow.document.execCommand("print",!1,null)}catch{b.contentWindow.print()}else b.contentWindow.print();l.callback&&l.callback()}catch(h){console.log(h)}}function r(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function B(){return!r()&&!!window.StyleMedia}function w(b,l,h){h===void 0&&(h=0);for(var g=b.getElementsByTagName("img"),E=!0,D=0;D<g.length;D++){var v=g[D];v.src&&v.src!==window.location.href&&v.src.indexOf("base64")==-1&&(!v||typeof v.naturalWidth>"u"||v.naturalWidth===0||!v.complete)&&(v.complete||(E=!1))}h++,!E&&h<10?setTimeout(function(){w(b,l,h)},500):l()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.18",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"titleSync",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"tableSummaryFormatter",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const hiprint="",printLock="",autoConnect=function(R){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(R)},disAutoConnect=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=hiprint$1;exports.autoConnect=autoConnect;exports.defaultElementTypeProvider=defaultElementTypeProvider;exports.disAutoConnect=disAutoConnect;exports.hiprint=hiprint$1;