@sv-print/hiprint 0.1.2 → 0.1.4
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 +157 -118
- package/dist/index.mjs +554 -519
- package/dist/index.umd.js +157 -118
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var le=require("jquery"),pe=require("jsbarcode"),$t=require("socket.io-client"),Ie=require("jspdf"),de=require("html2canvas"),_t=require("canvg");function Ot($){return $&&typeof $=="object"&&"default"in $?$:{default:$}}var S=Ot(le),Kt=Ot(pe),ce=Ot(de),ue={exports:{}};(function($,F){(function(d){$.exports=d(S.default)})(function(d){function G(r){var l=r.parent();r.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),l.before(r).remove()}function N(r){var l=r.parent(),g=l.find(".minicolors-panel"),P=r.data("minicolors-settings");!r.data("minicolors-initialized")||r.prop("disabled")||l.hasClass("minicolors-inline")||l.hasClass("minicolors-focus")||(b(),l.addClass("minicolors-focus"),g.animate?g.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(r.get(0))}):(g.show(),P.show&&P.show.call(r.get(0))))}function b(){d(".minicolors-focus").each(function(){var r=d(this),l=r.find(".minicolors-input"),g=r.find(".minicolors-panel"),P=l.data("minicolors-settings");g.animate?g.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(l.get(0)),r.removeClass("minicolors-focus")}):(g.hide(),P.hide&&P.hide.call(l.get(0)),r.removeClass("minicolors-focus"))})}function p(r,l,g){var P,j,T,U,Z,W=r.parents(".minicolors").find(".minicolors-input"),O=W.data("minicolors-settings"),Y=r.find("[class$=-picker]"),et=r.offset().left,K=r.offset().top,tt=Math.round(l.pageX-et),ot=Math.round(l.pageY-K),it=g?O.animationSpeed:0;l.originalEvent.changedTouches&&(tt=l.originalEvent.changedTouches[0].pageX-et,ot=l.originalEvent.changedTouches[0].pageY-K),tt<0&&(tt=0),ot<0&&(ot=0),tt>r.width()&&(tt=r.width()),ot>r.height()&&(ot=r.height()),r.parent().is(".minicolors-slider-wheel")&&Y.parent().is(".minicolors-grid")&&(P=75-tt,j=75-ot,T=Math.sqrt(P*P+j*j),(U=Math.atan2(j,P))<0&&(U+=2*Math.PI),75<T&&(tt=(T=75)-75*Math.cos(U),ot=75-75*Math.sin(U)),tt=Math.round(tt),ot=Math.round(ot)),Z={top:ot+"px"},r.is(".minicolors-grid")&&(Z.left=tt+"px"),Y.animate?Y.stop(!0).animate(Z,it,O.animationEasing,function(){u(W,r)}):(Y.css(Z),u(W,r))}function u(r,l){function g(ut,jt){var bt,St;return ut.length&&jt?(bt=ut.offset().left,St=ut.offset().top,{x:bt-jt.offset().left+ut.outerWidth()/2,y:St-jt.offset().top+ut.outerHeight()/2}):null}var P,j,T,U,Z,W,O,Y=r.val(),et=r.attr("data-opacity"),K=r.parent(),tt=r.data("minicolors-settings"),ot=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),nt=K.find(".minicolors-slider"),dt=K.find(".minicolors-opacity-slider"),gt=it.find("[class$=-picker]"),ft=nt.find("[class$=-picker]"),vt=dt.find("[class$=-picker]"),ht=g(gt,it),Pt=g(ft,nt),ct=g(vt,dt);if(l.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(tt.control){case"wheel":U=it.width()/2-ht.x,Z=it.height()/2-ht.y,W=Math.sqrt(U*U+Z*Z),(O=Math.atan2(Z,U))<0&&(O+=2*Math.PI),75<W&&(W=75,ht.x=69-75*Math.cos(O),ht.y=69-75*Math.sin(O)),j=D(W/.75,0,100),Y=o({h:P=D(180*O/Math.PI,0,360),s:j,b:T=D(100-Math.floor(Pt.y*(100/nt.height())),0,100)}),nt.css("backgroundColor",o({h:P,s:j,b:100}));break;case"saturation":Y=o({h:P=D(parseInt(ht.x*(360/it.width()),10),0,360),s:j=D(100-Math.floor(Pt.y*(100/nt.height())),0,100),b:T=D(100-Math.floor(ht.y*(100/it.height())),0,100)}),nt.css("backgroundColor",o({h:P,s:100,b:T})),K.find(".minicolors-grid-inner").css("opacity",j/100);break;case"brightness":Y=o({h:P=D(parseInt(ht.x*(360/it.width()),10),0,360),s:j=D(100-Math.floor(ht.y*(100/it.height())),0,100),b:T=D(100-Math.floor(Pt.y*(100/nt.height())),0,100)}),nt.css("backgroundColor",o({h:P,s:j,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-T/100);break;default:Y=o({h:P=D(360-parseInt(Pt.y*(360/nt.height()),10),0,360),s:j=D(Math.floor(ht.x*(100/it.width())),0,100),b:T=D(100-Math.floor(ht.y*(100/it.height())),0,100)}),it.css("backgroundColor",o({h:P,s:100,b:100}))}a(r,Y,et=tt.opacity?parseFloat(1-ct.y/dt.height()).toFixed(2):1)}else ot.find("span").css({backgroundColor:Y,opacity:String(et)}),w(r,Y,et)}function a(r,l,g){var P,j=r.parent(),T=r.data("minicolors-settings"),U=j.find(".minicolors-input-swatch");T.opacity&&r.attr("data-opacity",g),l=T.format==="rgb"?(P=C(l)?A(l,!0):c(h(l,!0)),g=r.attr("data-opacity")===""?1:D(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),!isNaN(g)&&T.opacity||(g=1),r.minicolors("rgbObject").a<=1&&P&&T.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(g)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(C(l)&&(l=x(l)),H(l,T.letterCase)),r.val(l),U.find("span").css({backgroundColor:l,opacity:String(g)}),w(r,l,g)}function y(r,l){var g,P,j,T,U,Z,W,O,Y,et,K=r.parent(),tt=r.data("minicolors-settings"),ot=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),nt=K.find(".minicolors-slider"),dt=K.find(".minicolors-opacity-slider"),gt=it.find("[class$=-picker]"),ft=nt.find("[class$=-picker]"),vt=dt.find("[class$=-picker]");switch(C(r.val())?(g=x(r.val()),(U=D(parseFloat(v(r.val())).toFixed(2),0,1))&&r.attr("data-opacity",U)):g=H(h(r.val(),!0),tt.letterCase),P=function(ht){var Pt=function(ct){var ut={h:0,s:0,b:0},jt=Math.min(ct.r,ct.g,ct.b),bt=Math.max(ct.r,ct.g,ct.b),St=bt-jt;return ut.b=bt,ut.s=bt!==0?255*St/bt:0,ut.s!==0?ct.r===bt?ut.h=(ct.g-ct.b)/St:ct.g===bt?ut.h=2+(ct.b-ct.r)/St:ut.h=4+(ct.r-ct.g)/St:ut.h=-1,ut.h*=60,ut.h<0&&(ut.h+=360),ut.s*=.39215686274509803,ut.b*=.39215686274509803,ut}(c(ht));return Pt.s===0&&(Pt.h=360),Pt}(g=g||H(M(tt.defaultValue,!0),tt.letterCase)),T=tt.keywords?d.map(tt.keywords.split(","),function(ht){return ht.toLowerCase().trim()}):[],Z=r.val()!==""&&-1<d.inArray(r.val().toLowerCase(),T)?H(r.val()):C(r.val())?A(r.val()):g,l||r.val(Z),tt.opacity&&(j=r.attr("data-opacity")===""?1:D(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),isNaN(j)&&(j=1),r.attr("data-opacity",j),ot.find("span").css("opacity",String(j)),O=D(dt.height()-dt.height()*j,0,dt.height()),vt.css("top",O+"px")),r.val().toLowerCase()==="transparent"&&ot.find("span").css("opacity",String(0)),ot.find("span").css("backgroundColor",g),tt.control){case"wheel":Y=D(Math.ceil(.75*P.s),0,it.height()/2),et=P.h*Math.PI/180,W=D(75-Math.cos(et)*Y,0,it.width()),O=D(75-Math.sin(et)*Y,0,it.height()),gt.css({top:O+"px",left:W+"px"}),O=150-P.b/(100/it.height()),g===""&&(O=0),ft.css("top",O+"px"),nt.css("backgroundColor",o({h:P.h,s:P.s,b:100}));break;case"saturation":W=D(5*P.h/12,0,150),O=D(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),gt.css({top:O+"px",left:W+"px"}),O=D(nt.height()-P.s*(nt.height()/100),0,nt.height()),ft.css("top",O+"px"),nt.css("backgroundColor",o({h:P.h,s:100,b:P.b})),K.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":W=D(5*P.h/12,0,150),O=D(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),gt.css({top:O+"px",left:W+"px"}),O=D(nt.height()-P.b*(nt.height()/100),0,nt.height()),ft.css("top",O+"px"),nt.css("backgroundColor",o({h:P.h,s:P.s,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:W=D(Math.ceil(P.s/(100/it.width())),0,it.width()),O=D(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),gt.css({top:O+"px",left:W+"px"}),O=D(nt.height()-P.h/(360/nt.height()),0,nt.height()),ft.css("top",O+"px"),it.css("backgroundColor",o({h:P.h,s:100,b:100}))}r.data("minicolors-initialized")&&w(r,Z,j)}function w(r,l,g){var P,j,T,U=r.data("minicolors-settings"),Z=r.data("minicolors-lastChange");if(!Z||Z.value!==l||Z.opacity!==g){if(r.data("minicolors-lastChange",{value:l,opacity:g}),U.swatches&&U.swatches.length!==0){for(P=C(l)?A(l,!0):c(l),j=-1,T=0;T<U.swatches.length;++T)if(P.r===U.swatches[T].r&&P.g===U.swatches[T].g&&P.b===U.swatches[T].b&&P.a===U.swatches[T].a){j=T;break}r.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),j!==-1&&r.parent().find(".minicolors-swatches .minicolors-swatch").eq(T).addClass("selected")}U.change&&(U.changeDelay?(clearTimeout(r.data("minicolors-changeTimeout")),r.data("minicolors-changeTimeout",setTimeout(function(){U.change.call(r.get(0),l,g)},U.changeDelay))):U.change.call(r.get(0),l,g)),r.trigger("change").trigger("input")}}function H(r,l){return l==="uppercase"?r.toUpperCase():r.toLowerCase()}function h(r,l){return!(r=r.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||r.length!==3&&r.length!==6?"":(r.length===3&&l&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),"#"+r)}function A(r,l){var g=r.replace(/[^\d,.]/g,"").split(",");return g[0]=D(parseInt(g[0],10),0,255),g[1]=D(parseInt(g[1],10),0,255),g[2]=D(parseInt(g[2],10),0,255),g[3]!==void 0&&(g[3]=D(parseFloat(g[3],10),0,1)),l?g[3]!==void 0?{r:g[0],g:g[1],b:g[2],a:g[3]}:{r:g[0],g:g[1],b:g[2]}:g[3]!==void 0&&g[3]<=1?"rgba("+g[0]+", "+g[1]+", "+g[2]+", "+g[3]+")":"rgb("+g[0]+", "+g[1]+", "+g[2]+")"}function M(r,l){return C(r)?A(r):h(r,l)}function D(r,l,g){return r<l&&(r=l),g<r&&(r=g),r}function C(r){var l=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!l||l.length!==4)}function v(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 x(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 f(r){var l=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return d.each(l,function(g,P){P.length===1&&(l[g]="0"+P)}),"#"+l.join("")}function o(r){return f((l=r,T={},U=Math.round(l.h),Z=Math.round(255*l.s/100),W=Math.round(255*l.b/100),Z===0?T.r=T.g=T.b=W:(j=U%60*((g=W)-(P=(255-Z)*W/255))/60,U===360&&(U=0),U<60?(T.r=g,T.b=P,T.g=P+j):U<120?(T.g=g,T.b=P,T.r=g-j):U<180?(T.g=g,T.r=P,T.b=P+j):U<240?(T.b=g,T.r=P,T.g=g-j):U<300?(T.b=g,T.g=P,T.r=P+j):U<360?(T.r=g,T.g=P,T.b=g-j):(T.r=0,T.g=0,T.b=0)),{r:Math.round(T.r),g:Math.round(T.g),b:Math.round(T.b)}));var l,g,P,j,T,U,Z,W}function c(r){return{r:(r=parseInt(-1<r.indexOf("#")?r.substring(1):r,16))>>16,g:(65280&r)>>8,b:255&r}}d.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:[]}},d.extend(d.fn,{minicolors:function(r,l){switch(r){case"destroy":return d(this).each(function(){G(d(this))}),d(this);case"hide":return b(),d(this);case"opacity":return l===void 0?d(this).attr("data-opacity"):(d(this).each(function(){y(d(this).attr("data-opacity",l))}),d(this));case"rgbObject":return function(g){var P,j=d(g).attr("data-opacity");{var T;P=C(d(g).val())?A(d(g).val(),!0):(T=h(d(g).val(),!0),c(T))}return P?(j!==void 0&&d.extend(P,{a:parseFloat(j)}),P):null}(d(this));case"rgbString":case"rgbaString":return function(g,P){var j,T=d(g).attr("data-opacity");{var U;j=C(d(g).val())?A(d(g).val(),!0):(U=h(d(g).val(),!0),c(U))}return j?(T===void 0&&(T=1),P?"rgba("+j.r+", "+j.g+", "+j.b+", "+parseFloat(T)+")":"rgb("+j.r+", "+j.g+", "+j.b+")"):null}(d(this),r==="rgbaString");case"settings":return l===void 0?d(this).data("minicolors-settings"):(d(this).each(function(){var g=d(this).data("minicolors-settings")||{};G(d(this)),d(this).minicolors(d.extend(!0,g,l))}),d(this));case"show":return N(d(this).eq(0)),d(this);case"value":return l===void 0?d(this).val():(d(this).each(function(){typeof l=="object"&&l!==null?(l.opacity!==void 0&&d(this).attr("data-opacity",D(l.opacity,0,1)),l.color&&d(this).val(l.color)):d(this).val(l),y(d(this))}),d(this));default:return r!=="create"&&(l=r),d(this).each(function(){(function(g,P){var j,T,U,Z,W,O,Y,et=d('<div class="minicolors" />'),K=d.minicolors.defaults;if(!g.data("minicolors-initialized")){if(P=d.extend(!0,{},K,P),et.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&d.each(P.position.split(" "),function(){et.addClass("minicolors-position-"+this)}),T=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",g.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",T).wrap(et).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||(g.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),g.next(".minicolors-input-swatch").on("click",function(tt){tt.preventDefault(),g.trigger("focus")})),(O=g.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(O.addClass("minicolors-with-swatches"),U=d('<ul class="minicolors-swatches"></ul>').appendTo(O),Y=0;Y<P.swatches.length;++Y)Z=typeof P.swatches[Y]=="object"?(j=P.swatches[Y].name,P.swatches[Y].color):(j="",P.swatches[Y]),Z=C(W=Z)?A(Z,!0):c(h(Z,!0)),d('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",j).appendTo(U).data("swatch-color",W).find(".minicolors-swatch-color").css({backgroundColor:W!=="transparent"?f(Z):"transparent",opacity:String(Z.a)}),P.swatches[Y]=Z;P.inline&&g.parent().addClass("minicolors-inline"),y(g,!1),g.data("minicolors-initialized",!0)}})(d(this),l)}),d(this)}}}),d([document]).on("mousedown.minicolors touchstart.minicolors",function(r){d(r.target).parents().add(r.target).hasClass("minicolors")||b()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(r){var l=d(this);r.preventDefault(),d(r.delegateTarget).data("minicolors-target",l),p(l,r,!0)}).on("mousemove.minicolors touchmove.minicolors",function(r){var l=d(r.delegateTarget).data("minicolors-target");l&&p(l,r)}).on("mouseup.minicolors touchend.minicolors",function(){d(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(r){r.preventDefault();var l=d(this),g=l.parents(".minicolors").find(".minicolors-input"),P=l.data("swatch-color");a(g,P,v(P)),y(g)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(r){var l=d(this).parent().find(".minicolors-input");r.preventDefault(),N(l)}).on("focus.minicolors",".minicolors-input",function(){var r=d(this);r.data("minicolors-initialized")&&N(r)}).on("blur.minicolors",".minicolors-input",function(){var r,l,g,P,j,T=d(this),U=T.data("minicolors-settings");T.data("minicolors-initialized")&&(r=U.keywords?d.map(U.keywords.split(","),function(Z){return Z.toLowerCase().trim()}):[],j=T.val()!==""&&-1<d.inArray(T.val().toLowerCase(),r)?T.val():(g=C(T.val())?A(T.val(),!0):(l=h(T.val(),!0))?c(l):null)===null?U.defaultValue:U.format==="rgb"?U.opacity?A("rgba("+g.r+","+g.g+","+g.b+","+T.attr("data-opacity")+")"):A("rgb("+g.r+","+g.g+","+g.b+")"):f(g),P=U.opacity?T.attr("data-opacity"):1,j.toLowerCase()==="transparent"&&(P=0),T.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),T.val(j),T.val()===""&&T.val(M(U.defaultValue,!0)),T.val(H(T.val(),U.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(r){var l=d(this);if(l.data("minicolors-initialized"))switch(r.which){case 9:b();break;case 13:case 27:b(),l.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var r=d(this);r.data("minicolors-initialized")&&y(r,!0)}).on("paste.minicolors",".minicolors-input",function(){var r=d(this);r.data("minicolors-initialized")&&setTimeout(function(){y(r,!0)},1)})})})(ue);(function(){function $(o){this.mode=d.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var c=0,r=this.data.length;c<r;c++){var l=[],g=this.data.charCodeAt(c);g>65536?(l[0]=240|(g&1835008)>>>18,l[1]=128|(g&258048)>>>12,l[2]=128|(g&4032)>>>6,l[3]=128|g&63):g>2048?(l[0]=224|(g&61440)>>>12,l[1]=128|(g&4032)>>>6,l[2]=128|g&63):g>128?(l[0]=192|(g&1984)>>>6,l[1]=128|g&63):l[0]=g,this.parsedData.push(l)}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))}$.prototype={getLength:function(o){return this.parsedData.length},write:function(o){for(var c=0,r=this.parsedData.length;c<r;c++)o.put(this.parsedData[c],8)}};function F(o,c){this.typeNumber=o,this.errorCorrectLevel=c,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}F.prototype={addData:function(o){var c=new $(o);this.dataList.push(c),this.dataCache=null},isDark:function(o,c){if(o<0||this.moduleCount<=o||c<0||this.moduleCount<=c)throw new Error(o+","+c);return this.modules[o][c]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(o,c){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 l=0;l<this.moduleCount;l++)this.modules[r][l]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(o,c),this.typeNumber>=7&&this.setupTypeNumber(o),this.dataCache==null&&(this.dataCache=F.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,c)},setupPositionProbePattern:function(o,c){for(var r=-1;r<=7;r++)if(!(o+r<=-1||this.moduleCount<=o+r))for(var l=-1;l<=7;l++)c+l<=-1||this.moduleCount<=c+l||(0<=r&&r<=6&&(l==0||l==6)||0<=l&&l<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=l&&l<=4?this.modules[o+r][c+l]=!0:this.modules[o+r][c+l]=!1)},getBestMaskPattern:function(){for(var o=0,c=0,r=0;r<8;r++){this.makeImpl(!0,r);var l=b.getLostPoint(this);(r==0||o>l)&&(o=l,c=r)}return c},createMovieClip:function(o,c,r){var l=o.createEmptyMovieClip(c,r),g=1;this.make();for(var P=0;P<this.modules.length;P++)for(var j=P*g,T=0;T<this.modules[P].length;T++){var U=T*g,Z=this.modules[P][T];Z&&(l.beginFill(0,100),l.moveTo(U,j),l.lineTo(U+g,j),l.lineTo(U+g,j+g),l.lineTo(U,j+g),l.endFill())}return l},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 c=8;c<this.moduleCount-8;c++)this.modules[6][c]==null&&(this.modules[6][c]=c%2==0)},setupPositionAdjustPattern:function(){for(var o=b.getPatternPosition(this.typeNumber),c=0;c<o.length;c++)for(var r=0;r<o.length;r++){var l=o[c],g=o[r];if(this.modules[l][g]==null)for(var P=-2;P<=2;P++)for(var j=-2;j<=2;j++)P==-2||P==2||j==-2||j==2||P==0&&j==0?this.modules[l+P][g+j]=!0:this.modules[l+P][g+j]=!1}},setupTypeNumber:function(o){for(var c=b.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var l=!o&&(c>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=l}for(var r=0;r<18;r++){var l=!o&&(c>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=l}},setupTypeInfo:function(o,c){for(var r=this.errorCorrectLevel<<3|c,l=b.getBCHTypeInfo(r),g=0;g<15;g++){var P=!o&&(l>>g&1)==1;g<6?this.modules[g][8]=P:g<8?this.modules[g+1][8]=P:this.modules[this.moduleCount-15+g][8]=P}for(var g=0;g<15;g++){var P=!o&&(l>>g&1)==1;g<8?this.modules[8][this.moduleCount-g-1]=P:g<9?this.modules[8][15-g-1+1]=P:this.modules[8][15-g-1]=P}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,c){for(var r=-1,l=this.moduleCount-1,g=7,P=0,j=this.moduleCount-1;j>0;j-=2)for(j==6&&j--;;){for(var T=0;T<2;T++)if(this.modules[l][j-T]==null){var U=!1;P<o.length&&(U=(o[P]>>>g&1)==1);var Z=b.getMask(c,l,j-T);Z&&(U=!U),this.modules[l][j-T]=U,g--,g==-1&&(P++,g=7)}if(l+=r,l<0||this.moduleCount<=l){l-=r,r=-r;break}}}},F.PAD0=236,F.PAD1=17,F.createData=function(o,c,r){for(var l=y.getRSBlocks(o,c),g=new w,P=0;P<r.length;P++){var j=r[P];g.put(j.mode,4),g.put(j.getLength(),b.getLengthInBits(j.mode,o)),j.write(g)}for(var T=0,P=0;P<l.length;P++)T+=l[P].dataCount;if(g.getLengthInBits()>T*8)throw new Error("code length overflow. ("+g.getLengthInBits()+">"+T*8+")");for(g.getLengthInBits()+4<=T*8&&g.put(0,4);g.getLengthInBits()%8!=0;)g.putBit(!1);for(;!(g.getLengthInBits()>=T*8||(g.put(F.PAD0,8),g.getLengthInBits()>=T*8));)g.put(F.PAD1,8);return F.createBytes(g,l)},F.createBytes=function(o,c){for(var r=0,l=0,g=0,P=new Array(c.length),j=new Array(c.length),T=0;T<c.length;T++){var U=c[T].dataCount,Z=c[T].totalCount-U;l=Math.max(l,U),g=Math.max(g,Z),P[T]=new Array(U);for(var W=0;W<P[T].length;W++)P[T][W]=255&o.buffer[W+r];r+=U;var O=b.getErrorCorrectPolynomial(Z),Y=new a(P[T],O.getLength()-1),et=Y.mod(O);j[T]=new Array(O.getLength()-1);for(var W=0;W<j[T].length;W++){var K=W+et.getLength()-j[T].length;j[T][W]=K>=0?et.get(K):0}}for(var tt=0,W=0;W<c.length;W++)tt+=c[W].totalCount;for(var ot=new Array(tt),it=0,W=0;W<l;W++)for(var T=0;T<c.length;T++)W<P[T].length&&(ot[it++]=P[T][W]);for(var W=0;W<g;W++)for(var T=0;T<c.length;T++)W<j[T].length&&(ot[it++]=j[T][W]);return ot};for(var d={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},N={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 c=o<<10;b.getBCHDigit(c)-b.getBCHDigit(b.G15)>=0;)c^=b.G15<<b.getBCHDigit(c)-b.getBCHDigit(b.G15);return(o<<10|c)^b.G15_MASK},getBCHTypeNumber:function(o){for(var c=o<<12;b.getBCHDigit(c)-b.getBCHDigit(b.G18)>=0;)c^=b.G18<<b.getBCHDigit(c)-b.getBCHDigit(b.G18);return o<<12|c},getBCHDigit:function(o){for(var c=0;o!=0;)c++,o>>>=1;return c},getPatternPosition:function(o){return b.PATTERN_POSITION_TABLE[o-1]},getMask:function(o,c,r){switch(o){case N.PATTERN000:return(c+r)%2==0;case N.PATTERN001:return c%2==0;case N.PATTERN010:return r%3==0;case N.PATTERN011:return(c+r)%3==0;case N.PATTERN100:return(Math.floor(c/2)+Math.floor(r/3))%2==0;case N.PATTERN101:return c*r%2+c*r%3==0;case N.PATTERN110:return(c*r%2+c*r%3)%2==0;case N.PATTERN111:return(c*r%3+(c+r)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var c=new a([1],0),r=0;r<o;r++)c=c.multiply(new a([1,p.gexp(r)],0));return c},getLengthInBits:function(o,c){if(1<=c&&c<10)switch(o){case d.MODE_NUMBER:return 10;case d.MODE_ALPHA_NUM:return 9;case d.MODE_8BIT_BYTE:return 8;case d.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(c<27)switch(o){case d.MODE_NUMBER:return 12;case d.MODE_ALPHA_NUM:return 11;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(c<41)switch(o){case d.MODE_NUMBER:return 14;case d.MODE_ALPHA_NUM:return 13;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 12;default:throw new Error("mode:"+o)}else throw new Error("type:"+c)},getLostPoint:function(o){for(var c=o.getModuleCount(),r=0,l=0;l<c;l++)for(var g=0;g<c;g++){for(var P=0,j=o.isDark(l,g),T=-1;T<=1;T++)if(!(l+T<0||c<=l+T))for(var U=-1;U<=1;U++)g+U<0||c<=g+U||T==0&&U==0||j==o.isDark(l+T,g+U)&&P++;P>5&&(r+=3+P-5)}for(var l=0;l<c-1;l++)for(var g=0;g<c-1;g++){var Z=0;o.isDark(l,g)&&Z++,o.isDark(l+1,g)&&Z++,o.isDark(l,g+1)&&Z++,o.isDark(l+1,g+1)&&Z++,(Z==0||Z==4)&&(r+=3)}for(var l=0;l<c;l++)for(var g=0;g<c-6;g++)o.isDark(l,g)&&!o.isDark(l,g+1)&&o.isDark(l,g+2)&&o.isDark(l,g+3)&&o.isDark(l,g+4)&&!o.isDark(l,g+5)&&o.isDark(l,g+6)&&(r+=40);for(var g=0;g<c;g++)for(var l=0;l<c-6;l++)o.isDark(l,g)&&!o.isDark(l+1,g)&&o.isDark(l+2,g)&&o.isDark(l+3,g)&&o.isDark(l+4,g)&&!o.isDark(l+5,g)&&o.isDark(l+6,g)&&(r+=40);for(var W=0,g=0;g<c;g++)for(var l=0;l<c;l++)o.isDark(l,g)&&W++;var O=Math.abs(100*W/c/c-50)/5;return r+=O*10,r}},p={glog:function(o){if(o<1)throw new Error("glog("+o+")");return p.LOG_TABLE[o]},gexp:function(o){for(;o<0;)o+=255;for(;o>=256;)o-=255;return p.EXP_TABLE[o]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},u=0;u<8;u++)p.EXP_TABLE[u]=1<<u;for(var u=8;u<256;u++)p.EXP_TABLE[u]=p.EXP_TABLE[u-4]^p.EXP_TABLE[u-5]^p.EXP_TABLE[u-6]^p.EXP_TABLE[u-8];for(var u=0;u<255;u++)p.LOG_TABLE[p.EXP_TABLE[u]]=u;function a(o,c){if(o.length==null)throw new Error(o.length+"/"+c);for(var r=0;r<o.length&&o[r]==0;)r++;this.num=new Array(o.length-r+c);for(var l=0;l<o.length-r;l++)this.num[l]=o[l+r]}a.prototype={get:function(o){return this.num[o]},getLength:function(){return this.num.length},multiply:function(o){for(var c=new Array(this.getLength()+o.getLength()-1),r=0;r<this.getLength();r++)for(var l=0;l<o.getLength();l++)c[r+l]^=p.gexp(p.glog(this.get(r))+p.glog(o.get(l)));return new a(c,0)},mod:function(o){if(this.getLength()-o.getLength()<0)return this;for(var c=p.glog(this.get(0))-p.glog(o.get(0)),r=new Array(this.getLength()),l=0;l<this.getLength();l++)r[l]=this.get(l);for(var l=0;l<o.getLength();l++)r[l]^=p.gexp(p.glog(o.get(l))+c);return new a(r,0).mod(o)}};function y(o,c){this.totalCount=o,this.dataCount=c}y.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]],y.getRSBlocks=function(o,c){var r=y.getRsBlockTable(o,c);if(r==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+c);for(var l=r.length/3,g=[],P=0;P<l;P++)for(var j=r[P*3+0],T=r[P*3+1],U=r[P*3+2],Z=0;Z<j;Z++)g.push(new y(T,U));return g},y.getRsBlockTable=function(o,c){switch(c){case G.L:return y.RS_BLOCK_TABLE[(o-1)*4+0];case G.M:return y.RS_BLOCK_TABLE[(o-1)*4+1];case G.Q:return y.RS_BLOCK_TABLE[(o-1)*4+2];case G.H:return y.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function w(){this.buffer=[],this.length=0}w.prototype={get:function(o){var c=Math.floor(o/8);return(this.buffer[c]>>>7-o%8&1)==1},put:function(o,c){for(var r=0;r<c;r++)this.putBit((o>>>c-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(o){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0),o&&(this.buffer[c]|=128>>>this.length%8),this.length++}};var H=[[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 h(){return typeof CanvasRenderingContext2D!="undefined"}function A(){var o=!1,c=navigator.userAgent;if(/android/i.test(c)){o=!0;var r=c.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(o=parseFloat(r[1]))}return o}var M=function(){var o=function(c,r){this._el=c,this._htOption=r};return o.prototype.draw=function(c){var r=this._htOption,l=this._el,g=c.getModuleCount();Math.floor(r.width/g),Math.floor(r.height/g),this.clear();function P(W,O){var Y=document.createElementNS("http://www.w3.org/2000/svg",W);for(var et in O)O.hasOwnProperty(et)&&Y.setAttribute(et,O[et]);return Y}var j=P("svg",{viewBox:"0 0 "+String(g)+" "+String(g),width:"100%",height:"100%",fill:r.colorLight});j.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),l.appendChild(j),j.appendChild(P("rect",{fill:r.colorLight,width:"100%",height:"100%"})),j.appendChild(P("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var T=0;T<g;T++)for(var U=0;U<g;U++)if(c.isDark(T,U)){var Z=P("use",{x:String(U),y:String(T)});Z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),j.appendChild(Z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),D=document.documentElement.tagName.toLowerCase()==="svg",C=D?M:h()?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 c=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,j,T,U,Z,W,O,Y,et){if("nodeName"in P&&/img/i.test(P.nodeName))for(var K=arguments.length-1;K>=1;K--)arguments[K]=arguments[K]*c;else typeof Y=="undefined"&&(arguments[1]*=c,arguments[2]*=c,arguments[3]*=c,arguments[4]*=c);r.apply(this,arguments)}}function l(P,j){var T=this;if(T._fFail=j,T._fSuccess=P,T._bSupportDataURI===null){var U=document.createElement("img"),Z=function(){T._bSupportDataURI=!1,T._fFail&&T._fFail.call(T)},W=function(){T._bSupportDataURI=!0,T._fSuccess&&T._fSuccess.call(T)};U.onabort=Z,U.onerror=Z,U.onload=W,U.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else T._bSupportDataURI===!0&&T._fSuccess?T._fSuccess.call(T):T._bSupportDataURI===!1&&T._fFail&&T._fFail.call(T)}var g=function(P,j){this._bIsPainted=!1,this._android=A(),this._htOption=j,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=j.width,this._elCanvas.height=j.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 g.prototype.draw=function(P){var j=this._elImage,T=this._oContext,U=this._htOption,Z=P.getModuleCount(),W=U.width/Z,O=U.height/Z,Y=Math.round(W),et=Math.round(O);j.style.display="none",this.clear();for(var K=0;K<Z;K++)for(var tt=0;tt<Z;tt++){var ot=P.isDark(K,tt),it=tt*W,nt=K*O;T.strokeStyle=ot?U.colorDark:U.colorLight,T.lineWidth=1,T.fillStyle=ot?U.colorDark:U.colorLight,T.fillRect(it,nt,W,O),T.strokeRect(Math.floor(it)+.5,Math.floor(nt)+.5,Y,et),T.strokeRect(Math.ceil(it)-.5,Math.ceil(nt)-.5,Y,et)}this._bIsPainted=!0},g.prototype.makeImage=function(){this._bIsPainted&&l.call(this,o)},g.prototype.isPainted=function(){return this._bIsPainted},g.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},g.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},g}():function(){var o=function(c,r){this._el=c,this._htOption=r};return o.prototype.draw=function(c){for(var r=this._htOption,l=this._el,g=c.getModuleCount(),P=Math.floor(r.width/g),j=Math.floor(r.height/g),T=['<table style="border:0;border-collapse:collapse;">'],U=0;U<g;U++){T.push("<tr>");for(var Z=0;Z<g;Z++)T.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+j+"px;background-color:"+(c.isDark(U,Z)?r.colorDark:r.colorLight)+';"></td>');T.push("</tr>")}T.push("</table>"),l.innerHTML=T.join("");var W=l.childNodes[0],O=(r.width-W.offsetWidth)/2,Y=(r.height-W.offsetHeight)/2;O>0&&Y>0&&(W.style.margin=Y+"px "+O+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function v(o,c){for(var r=1,l=x(o),g=0,P=H.length;g<=P;g++){var j=0;switch(c){case G.L:j=H[g][0];break;case G.M:j=H[g][1];break;case G.Q:j=H[g][2];break;case G.H:j=H[g][3];break}if(l<=j)break;r++}if(r>H.length)throw new Error("Too long data");return r}function x(o){var c=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return c.length+(c.length!=o?3:0)}var f=function(o,c){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:G.H},typeof c=="string"&&(c={text:c}),c)for(var r in c)this._htOption[r]=c[r];typeof o=="string"&&(o=document.getElementById(o)),this._htOption.useSVG&&(C=M),this._android=A(),this._el=o,this._oQRCode=null,this._oDrawing=new C(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};f.prototype.makeCode=function(o){this._oQRCode=new F(v(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()},f.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},f.prototype.clear=function(){this._oDrawing.clear()},f.CorrectLevel=G,window.QRCode=f})();var ge="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iM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IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";function me($){return function(F){var d=function(G){G.removePrintElementTypes("defaultModule"),G.addPrintElementTypes("defaultModule",[new $.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(N,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.tableCustom",title:"\u8868\u683C",type:"tableCustom"},{tid:"defaultModule.html",title:"html",formatter:function(N,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 $.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:d}}}function Ht($,F){return F!=null&&typeof Symbol!="undefined"&&F[Symbol.hasInstance]?!!F[Symbol.hasInstance]($):$ instanceof F}function Mt($){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(d){return typeof d}:Mt=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Mt($)}window.$=window.jQuery=S.default;window.autoConnect=!0;window.io=$t.io;window.eval2=eval;var Dt=function($){var F={};function d(N){if(F[N])return F[N].exports;var b=F[N]={i:N,l:!1,exports:{}};return $[N].call(b.exports,b,b.exports,d),b.l=!0,b.exports}var G=(d.m=$,d.c=F,d.d=function(N,b,p){d.o(N,b)||Object.defineProperty(N,b,{enumerable:!0,get:p})},d.r=function(N){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})},d.t=function(N,b){if(1&b&&(N=d(N)),8&b||4&b&&Mt(N)=="object"&&N&&N.__esModule)return N;var p=Object.create(null);if(d.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:N}),2&b&&typeof N!="string")for(var u in N)d.d(p,u,function(a){return N[a]}.bind(null,u));return p},d.n=function(N){var b=N&&N.__esModule?function(){return N.default}:function(){return N};return d.d(b,"a",b),b},d.o=function(N,b){return Object.prototype.hasOwnProperty.call(N,b)},d.p="/",d(d.s=21));return G.n=d,G}([function($,F,d){var G;d.d(F,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(G={},{on:function(b,p){G[b]||(G[b]=[]),G[b].push(p)},id:0,off:function(b,p){var u=G[b];if(u){for(var a=-1,y=0;y<u.length;y++)if(u[y]===p){a=y;break}a<0||G[b].splice(a,1)}},trigger:function(b){var p=G[b];if(p&&p.length)for(var u=Array.prototype.slice.call(arguments,1),a=0;a<p.length;a++)p[a].apply(this,u)},clear:function(b){G[b]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(b){return b+"-"+this.getId()}}),hinnn.form={serialize:function(b){var p=S.default(b).serializeArray(),u={};return S.default.each(p,function(){u[this.name]?Object.prototype.toString.call(u[this.name])=="[object Array]"?u[this.name].push(this.value):u[this.name]=[u[this.name],this.value]:u[this.name]=this.value}),u}},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.createElement("DIV");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}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.createElement("DIV");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}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(N,b,p){var u,a,y,w=null,H=0;p||(p={});var h=function(){H=p.leading===!1?0:_.now(),w=null,y=N.apply(u,a),w||(u=a=null)};return function(){var A=_.now();H||p.leading!==!1||(H=A);var M=b-(A-H);return u=this,a=arguments,M<=0||M>b?(w&&(clearTimeout(w),w=null),H=A,y=N.apply(u,a),w||(u=a=null)):w||p.trailing===!1||(w=setTimeout(h,M)),y}},hinnn.debounce=function(N,b,p){var u,a,y,w,H,h=function A(){var M=_.now()-w;M<b&&M>=0?u=setTimeout(A,b-M):(u=null,p||(H=N.apply(y,a),u||(y=a=null)))};return function(){y=this,a=arguments,w=_.now();var A=p&&!u;return u||(u=setTimeout(h,b)),A&&(H=N.apply(y,a),y=a=null),H}},hinnn.toUtf8=function(N){var b,p,u,a;for(b="",u=N.length,p=0;p<u;p++)(a=N.charCodeAt(p))>=1&&a<=127?b+=N.charAt(p):a>2047?(b+=String.fromCharCode(224|a>>12&15),b+=String.fromCharCode(128|a>>6&63),b+=String.fromCharCode(128|a>>0&63)):(b+=String.fromCharCode(192|a>>6&31),b+=String.fromCharCode(128|a>>0&63));return b},hinnn.groupBy=function(N,b,p){var u={};return N.forEach(function(a){var y=JSON.stringify(p(a));u[y]||(u[y]={rows:[]},b.forEach(function(w){u[y][w]=a[w]})),u[y].rows.push(a)}),Object.keys(u).map(function(a){return u[a]})},hinnn.orderBy=function(N,b){if(N.length<=1)return N;var p=Math.floor(N.length/2),u=N.splice(p,1)[0],a=[],y=[],w=!0,H=!1,h=void 0;try{for(var A=N[Symbol.iterator](),M;!(w=(M=A.next()).done);w=!0){var D=M.value;b(D)<b(u)?a.push(D):y.push(D)}}catch(C){H=!0,h=C}finally{try{!w&&A.return!=null&&A.return()}finally{if(H)throw h}}return this.orderBy(a,b).concat([u],this.orderBy(y,b))},hinnn.dateFormat=function(N,b){if(N)try{var p=typeof N=="string"?new Date(N):N,u={"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 a in/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(p.getFullYear()+"").substr(4-RegExp.$1.length))),u)new RegExp("("+a+")").test(b)&&(b=b.replace(RegExp.$1,RegExp.$1.length==1?u[a]:("00"+u[a]).substr((""+u[a]).length)));return b}catch(y){return console.log(y),""}return""}},function($,F,d){d.d(F,"a",function(){return N});var G=d(9),N=function(){function b(){this.providers=[],this.movingDistance=1.5,this.paperHeightTrim=1,this.text={supportOptions:[{name:"title",hidden:!1,title:""},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",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:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"optionsGroup",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:{fontFamily:void 0,fontSize:void 0,fontWeight:"",letterSpacing:void 0,textAlign:void 0,textType:"text",hideTitle:!1,height:9.75,lineHeight:void 0,width:120}},this.image={supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},this.longText={supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",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:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"optionsGroup",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:{fontFamily:void 0,fontSize:void 0,fontWeight:"",letterSpacing:void 0,textAlign:void 0,hideTitle:!1,height:42,lineHeight:void 0,width:550}},this.table={supportOptions:[{name:"field",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:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{fontFamily:void 0,fontSize:void 0,fontWeight:"",textAlign:void 0,tableBorder:void 0,tableHeaderBorder:void 0,tableHeaderCellBorder:void 0,tableHeaderBackground:void 0,tableHeaderRowHeight:void 0,tableHeaderFontWeight:void 0,tableBodyCellBorder:void 0,tableFooterBorder:void 0,tableFooterCellBorder:void 0,tableBodyRowHeight:void 0,letterSpacing:"",lineHeight:void 0,width:550}},this.tableCustom={supportOptions:[{name:"field",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"textAlign",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableHeaderBackground",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:"tableFooterRepeat",hidden:!1}],default:{fontFamily:void 0,fontSize:void 0,fontWeight:"",textAlign:void 0,tableBorder:void 0,tableHeaderBorder:void 0,tableHeaderCellBorder:void 0,tableHeaderBackground:void 0,tableHeaderRowHeight:void 0,tableHeaderFontWeight:void 0,tableBodyCellBorder:void 0,tableFooterBorder:void 0,tableFooterCellBorder:void 0,tableBodyRowHeight:void 0,letterSpacing:"",lineHeight:void 0,width:550}},this.hline={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},this.vline={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},this.rect={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},this.oval={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},this.html={supportOptions:[{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},this.tableColumn={supportOptions:[{name:"title",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"formatter2",hidden:!1},{name:"tableSummary",hidden:!1},{name:"styler2",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1}],default:{height:90,width:90}}}return b.prototype.init=function(p){p&&S.default.extend(this,p)},b.prototype.register=function(p){this.init(p);var u=this,a=u.getHooks("init");a&&a.forEach(y=>{y.run({Config:u,OptionItems:G,ElementTypes:Dt.ElementTypes,hinnn,hiprint:Dt})})},b.prototype.getHooks=function(p){return this.pluginsList().reduce((u,a)=>u.concat(a.hooks.filter(y=>y.hook===p)),[])},b.prototype.pluginsList=function(){var p=this;return this.plugins?this.plugins.filter(u=>p.versionCheck(u)):[]},b.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 u=b.instance.version.split("."),a=parseInt(u[0]),y=parseInt(u[1]),w=parseInt(u[2]),H=p.leastHiprintVersion.split("."),h=parseInt(H[0]),A=parseInt(H[1]),M=parseInt(H[2]);let D=!1;return a>h&&(D=!0),a===h&&y>A&&(D=!0),a===h&&y===A&&w>=M&&(D=!0),D||console.error(`Plugin [${p.name}] requires "@svelte-hiprint/hiprint" version ${p.leastHiprintVersion} and you are using ${b.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),D},b.prototype.on=function(p,u){hinnn.event.on(p,u)},b.prototype.clear=function(p){hinnn.event.clear(p)},b.prototype.registerItems=function(p){p.forEach(function(u){G.a.registerItem(new u)})},Object.defineProperty(b,"instance",{get:function(){return b._instance||(b._instance=new b,window.HIPRINT_CONFIG&&S.default.extend(b._instance,HIPRINT_CONFIG),b._instance.optionItems&&b._instance.optionItems.forEach(function(u){G.a.registerItem(new u)})),b._instance},enumerable:!0,configurable:!0}),b}()},function($,F,d){var G=function(){function b(p){this.printElement=p}return b.prototype.updatePosition=function(p,u){this.left=p,this.top=u},b}();d.d(F,"a",function(){return N});var N=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(p,u){var a=.75*p;return u&&(u=u),Math.round(a/u)*u}}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(p){b.instance.dragingPrintElement=new G(p)},b.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var u=16*Math.random()|0;return(p=="x"?u:3&u|8).toString(16)})},b.prototype.imageToBase64=function(p){if(S.default(p).attr("src").indexOf("base64")==-1)try{var u=document.createElement("canvas"),a=new Image;a.src=p.attr("src"),u.width=a.width,u.height=a.height,u.getContext("2d").drawImage(a,0,0),p.attr("src",u.toDataURL("image/png"))}catch{try{this.xhrLoadImage(p)}catch(w){console.log(w)}}},b.prototype.xhrLoadImage=function(p){},b.prototype.transformImg=function(p){var u=this;p.map(function(a,y){u.imageToBase64(S.default(y))})},b.prototype.getPrintTemplateById=function(p){return b.instance.printTemplateContainer[p]},b.prototype.setPrintTemplateById=function(p,u){return b.instance.printTemplateContainer[p]=u},b}()},function($,F,d){var G=function(){return function(){}}();d.d(F,"a",function(){return N});var N=function(){function b(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 b.prototype.setDefault=function(p){this.defaultOptions=p,this.initSize()},b.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},b.prototype.initSizeByHtml=function(p,u){this.width||this.setWidth(p),this.height||this.setHeight(u)},b.prototype.getRectInfo=function(){var p={w:0,h:0,diffW:0,diffH:0};if(this.transform){var u=this.transform*Math.PI/180,a=this.width,y=this.height,w=Math.sin(u),H=Math.cos(u),h=Math.abs(a*H)+Math.abs(y*w),A=Math.abs(a*w)+Math.abs(y*H),M=(a-h)/2,D=(y-A)/2;p.w=h,p.h=A,p.diffW=M,p.diffH=D}return p},b.prototype.getLeft=function(){return this.left},b.prototype.posLeft=function(){var p=this.left;return this.transform&&(p+=this.getRectInfo().diffW),Math.floor(p*10)/10},b.prototype.setRotate=function(p){p!=null&&(this.transform=p)},b.prototype.displayLeft=function(p){return this.transform&&p?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},b.prototype.setLeft=function(p){p!=null&&(this.left=p)},b.prototype.getTop=function(){return this.top},b.prototype.posTop=function(){var p=this.top;return this.transform&&(p+=this.getRectInfo().diffH),Math.floor(p*10)/10},b.prototype.getTopInDesign=function(){return this.topInDesign},b.prototype.displayTop=function(p){return this.transform&&p?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},b.prototype.setTop=function(p){p!=null&&(this.top=p)},b.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},b.prototype.getHeight=function(){if(this.transform){var p=this.getRectInfo();return p.h+p.diffH}return this.height},b.prototype.displayHeight=function(){return this.height+"pt"},b.prototype.setHeight=function(p){p!=null&&(this.height=p)},b.prototype.getWidth=function(){if(this.transform){var p=this.getRectInfo();return p.w+p.diffW}return this.width},b.prototype.displayWidth=function(){return this.width+"pt"},b.prototype.setWidth=function(p){p!=null&&(this.width=p)},b.prototype.getValueFromOptionsOrDefault=function(p){return this[p]==null?this.defaultOptions[p]:this[p]},b.prototype.getPrintElementOptionEntity=function(){var p=new G,u=this;return Object.keys(this).filter(function(a){return a!="topInDesign"}).forEach(function(a){if(typeof u[a]!="number"&&typeof u[a]!="string"&&!["fields"].includes(a)&&Mt(u[a])!=Mt(!0)||(p[a]=u[a]),a=="style"){p.style={};var y=u[a];y&&Object.keys(y).forEach(function(w){typeof y[w]!="number"&&typeof y[w]!="string"||(p.style[w]=y[w])})}}),p},b.prototype.init=function(p){var u=this;p&&Object.keys(p).forEach(function(a){u[a]=p[a]})},b}()},function($,F,d){d.d(F,"a",function(){return w});var G=d(17),N=d(1),b=d(9),p=d(6),u=d(0),a=d(8),y=d(2),w=function(){function H(h){this.printElementType=h,this.id=y.a.instance.guid()}return H.prototype.getConfigOptionsByName=function(h){return N.a.instance[h]},H.prototype.getProxyTarget=function(h){h&&this.SetProxyTargetOption(h);var A=this.getData(),M=this.createTarget(this.getTitle(),A);return this.updateTargetSize(M),this.css(M,A),M},H.prototype.SetProxyTargetOption=function(h){this.options.getPrintElementOptionEntity(),S.default.extend(this.options,h),this.copyFromType()},H.prototype.showInPage=function(h,A){var M=this.options.showInPage,D=this.options.unShowInPage;if(M){if(M=="first")return h==0;if(h==A-1&&D=="last")return!1;if(M=="odd")return(h!=0||D!="first")&&h%2==0;if(M=="even")return h%2==1;if(M=="last")return h==A-1}return(h!=0||D!="first")&&(h!=A-1||D!="last")},H.prototype.setTemplateId=function(h){this.templateId=h},H.prototype.setPanel=function(h){this.panel=h},H.prototype.getField=function(){return this.options.field||this.printElementType.field},H.prototype.getTitle=function(){return this.printElementType.title},H.prototype.updateSizeAndPositionOptions=function(h,A,M,D){this.options.setLeft(h),this.options.setTop(A),this.options.copyDesignTopFromTop(),this.options.setWidth(M),this.options.setHeight(D)},H.prototype.initSizeByHtml=function(h){if(h&&h.length){this.createTempContainer();var A=h.clone();this.getTempContainer().append(A),this.options.initSizeByHtml(parseInt(u.a.px.toPt(A.width()).toString()),parseInt(u.a.px.toPt(A.height()).toString())),this.removeTempContainer()}},H.prototype.updateTargetSize=function(h){h.css("width",this.options.displayWidth()),h.css("height",this.options.displayHeight())},H.prototype.updateTargetWidth=function(h){h.css("width",this.options.displayWidth())},H.prototype.getDesignTarget=function(h){var A=this;return this.designTarget=this.getHtml(h)[0].target,this.designPaper=h,this.designTarget.click(function(){u.a.event.trigger(A.getPrintElementSelectEventKey(),{printElement:A})}),this.designTarget},H.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},H.prototype.design=function(h,A){var M=this;this.designTarget.hidraggable({draggable:M.options.draggable,axis:M.options.axis?M.options.axis:void 0,designTarget:M,onDrag:function(C,v,x){var f=M.panel.printElements.filter(function(l){return l.designTarget.children().last().css("display")=="block"&&!l.printElementType.type.includes("table")}),o=f.length>1;if(o){var c=v-M.options.left,r=x-M.options.top;f.forEach(function(l){l.updateSizeAndPositionOptions(c+l.options.getLeft(),r+l.options.getTop()),l.designTarget.css("left",l.options.displayLeft()),l.designTarget.css("top",l.options.displayTop()),l.createLineOfPosition(A)})}else M.updateSizeAndPositionOptions(v,x),M.createLineOfPosition(A);y.a.instance.changed=!0},moveUnit:"pt",minMove:N.a.instance.movingDistance,onBeforeDrag:function(C){y.a.instance.draging=!0,M.designTarget.focus(),M.createLineOfPosition(A)},getScale:function(){return M.designPaper.scale||1},onStopDrag:function(C){y.a.instance.changed&&u.a.event.trigger("hiprintTemplateDataChanged_"+M.templateId,"\u79FB\u52A8"),y.a.instance.draging=!1,y.a.instance.changed=!1;var v=M.panel.printElements.filter(function(x){return x.designTarget.children().last().css("display")=="block"&&!x.printElementType.type.includes("table")});v.length>1?v.forEach(function(x){x.removeLineOfPosition()}):M.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){M.removeLineOfPosition(),u.a.event.trigger("hiprintTemplateMouseUp_"+A.templateId)},300)}),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,A)},H.prototype.getPrintElementEntity=function(h){return h?new G.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new G.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},H.prototype.submitOption=function(){var h=this,A=this.getConfigOptions();A&&A.tabs&&A.tabs.length?this.getPrintElementOptionTabs().forEach(function(M){M.list.forEach(function(D){var C=D.getValue(),v=D.name=="textType"&&h.options[D.name]!==C,x=D.name=="axis"&&h.options[D.name]!==C,f=D.name=="draggable"&&h.options[D.name]!==C;C&&Mt(C)=="object"?Object.keys(C).forEach(function(o){h.options[o]=C[o]}):h.options[D.name]=C,v&&h.setResizePanel(),x&&h.designTarget.hidraggable("update",{axis:C}),f&&h.designTarget.hidraggable("update",{draggable:C})})}):this.getPrintElementOptionItems().forEach(function(M){var D=M.getValue(),C=M.name=="textType"&&h.options[M.name]!==D,v=M.name=="axis"&&h.options[M.name]!==D,x=M.name=="draggable"&&h.options[M.name]!==D;D&&Mt(D)=="object"?Object.keys(D).forEach(function(f){h.options[f]=D[f]}):h.options[M.name]=D,C&&h.setResizePanel(),v&&h.designTarget.hidraggable("update",{axis:D}),x&&h.designTarget.hidraggable("update",{draggable:D})}),this.updateDesignViewFromOptions(),u.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},H.prototype.updateOption=function(h,A,M){try{var D=this,C=this.getConfigOptions(),v=["draggable"];C&&C.tabs&&C.tabs.length?C.tabs.forEach(function(x){x.options.forEach(function(f){v.push(f.name)})}):v=C.supportOptions.map(function(x){return x.name}),v&&v.includes(h)&&(this.options[h]=A,h=="draggable"&&D.designTarget.hidraggable("update",{draggable:A}),this.updateDesignViewFromOptions(),M||(u.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),u.a.event.trigger(D.getPrintElementSelectEventKey(),{printElement:D})))}catch(x){console.log("updateOption error",x)}},H.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||N.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||N.a.instance.qrcode.showPoints:this.options.showPoints||N.a.instance.text.showPoints},H.prototype.setResizePanel=function(){var h=this,A=this.designPaper;this.designTarget.hireizeable({showPoints:h.getReizeableShowPoints(),showSizeBox:N.a.instance.showSizeBox,getScale:function(){return h.designPaper.scale||1},onBeforeResize:function(){y.a.instance.draging=!0},onResize:function(D,C,v,x,f,o){o!=null?h.onRotate(D,o):h.onResize(D,C,v,x,f),h.createLineOfPosition(A)},onStopResize:function(D){u.a.event.trigger("hiprintTemplateDataChanged_"+h.templateId,D?"\u65CB\u8F6C":"\u5927\u5C0F"),y.a.instance.draging=!1,h.removeLineOfPosition()}})},H.prototype.onRotate=function(h,A){this.options.setRotate(A)},H.prototype.onResize=function(h,A,M,D,C){var v=this.designTarget,x=v.height(),f=v[0].clientHeight,o=v.width(),c=v[0].clientWidth;x<=40?(S.default.each([".ne",".nw",".se",".sw"],function(r,l){var g=f-30;v.find(l).css("height",g>0?g:0),v.find(l).css("width",g>0?g:0),g<=0&&(l.includes("n")&&v.find(l).css("border-top","none"),l.includes("s")&&v.find(l).css("border-bottom","none"),l.includes("e")&&v.find(l).css("border-right","none"),l.includes("w")&&v.find(l).css("border-left","none"))}),S.default.each([".e",".w"],function(r,l){var g=f-30;v.find(l).css("height",g>0?g:10),v.find(l).css("top",f/2-(g>0?g:10)/2)})):S.default.each([".e",".w"],function(r,l){v.find(l).css("top",f/2-v.find(l).height()/2)}),o<=40?(S.default.each([".ne",".nw",".se",".sw"],function(r,l){var g=c-30;v.find(l).css("height",g>0?g:0),v.find(l).css("width",g>0?g:0),g<=0&&(l.includes("n")&&v.find(l).css("border-top","none"),l.includes("s")&&v.find(l).css("border-bottom","none"),l.includes("e")&&v.find(l).css("border-right","none"),l.includes("w")&&v.find(l).css("border-left","none"))}),S.default.each([".n",".s"],function(r,l){let g=c-30;v.find(l).css("width",g>0?g:10),v.find(l).css("left",c/2-(g>0?g:10)/2)})):S.default.each([".n",".s",".r"],function(r,l){l==".r",v.find(l).css("left",c/2-v.find(l).width()/2)}),f>40&&c>40&&(S.default.each([".ne",".nw",".se",".sw"],function(r,l){l.includes("n")&&v.find(l).css("border-top",""),l.includes("s")&&v.find(l).css("border-bottom",""),l.includes("e")&&v.find(l).css("border-right",""),l.includes("w")&&v.find(l).css("border-left","")}),S.default.each([".n",".s"],function(r,l){v.find(l).css("width","")})),this.updateSizeAndPositionOptions(C,D,M,A)},H.prototype.getOrderIndex=function(){return this.options.getTop()},H.prototype.getHtml=function(h,A,M){var D=0;this.setCurrenttemplateData(A);var C=[],v=this.getBeginPrintTopInPaperByReferenceElement(h),x=h.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||v>x&&h.panelPageRule!="none"&&(C.push(new p.a({target:void 0,printLine:void 0})),v=v-x+h.paperHeader,D++,x=h.getPaperFooter(D));var f=this.getData(A),o=this.createTarget(this.getTitle(),f,M);return this.updateTargetSize(o),this.css(o,f),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",v+"pt"),C.push(new p.a({target:o,printLine:v+this.options.getHeight()})),C},H.prototype.getHtml2=function(h,A,M){var D=0;this.setCurrenttemplateData(A);var C=[],v=this.getBeginPrintTopInPaperByReferenceElement(h),x=h.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||(h.panelPageRule!="none"&&v>x&&(C.push(new p.a({target:void 0,printLine:void 0})),v=v-x+h.paperHeader,D++,x=h.getPaperFooter(D)),v<=x&&v+this.options.getHeight()>x&&h.panelPageRule!="none"&&(C.push(new p.a({target:void 0,printLine:void 0})),v=h.paperHeader,D++,x=h.getPaperFooter(D)));var f=this.getData(A),o=this.createTarget(this.getTitle(),f);return h.panelPageRule=="none"&&v+this.options.getHeight()>x&&this.updatePanelHeight(v+this.options.getHeight(),h),this.updateTargetSize(o),this.css(o,f),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",v+"pt"),C.push(new p.a({target:o,printLine:v+this.options.getHeight(),referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:h.index,bottomInLastPaper:v+this.options.getHeight(),printTopInPaper:v})})),C},H.prototype.updatePanelHeight=function(h,A){if(this.panel.panelPageRule=="none"){var M=u.a.pt.toMm(h);A.paperFooter=h,A.target.css("height",M+"mm"),A.target.attr("original-height",M)}},H.prototype.getBeginPrintTopInPaperByReferenceElement=function(h){var A=this.options.getTop(),M=this.options.getHeight();return this.isHeaderOrFooter()||this.isFixed()?A:h.referenceElement.isPositionLeftOrRight(A,M)?h.referenceElement.printTopInPaper+(A-h.referenceElement.top):h.referenceElement.bottomInLastPaper+(A-(h.referenceElement.top+h.referenceElement.height))},H.prototype.css=function(h,A){var M=this,D=this.getConfigOptions();if(D){var C;D.tabs&&D.tabs.length?(C=[],D.tabs.forEach(function(v){C=C.concat(v.options)})):C=D.supportOptions,C&&C.forEach(function(v){var x=b.a.getItem(v.name);x&&x.css&&x.css(h,M.options.getValueFromOptionsOrDefault(v.name))})}this.stylerCss(h,A)},H.prototype.stylerCss=function(h,A){var M=this.getStyler();if(M){var D=M(A,this.options,h,this._currenttemplateData);D&&Object.keys(D).forEach(function(C){h.css(C,D[C])})}},H.prototype.getData=function(h){var A=this.getField();return h?A&&A.split(".").reduce((M,D)=>M?M[D]:h?h[D]:"",!1)||"":this.printElementType.getData()},H.prototype.copyFromType=function(){var h=this.options,A=this.printElementType,M=this.getConfigOptions(),D=[];return M&&M.tabs&&M.tabs.length?M.tabs.forEach(function(C){C.options.forEach(function(v){D.push(v.name)})}):D=M.supportOptions.map(function(C){return C.name}),Object.keys(A).forEach(function(C){A[C]&&C!="columns"&&D.indexOf(C)>-1&&(h[C]=Mt(A[C])=="function"?A[C].toString():A[C])}),h},H.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var h=[],A=this.getConfigOptions();if(A){var M=A.tabs;M&&M.forEach(function(D,C){h.push({name:D.name,list:[]}),D.options.filter(function(v){return!v.hidden}).forEach(function(v){var x=b.a.getItem(v.name);h[C].list.push(x)})})}return this._printElementOptionTabs=h,this._printElementOptionItems=void 0,this._printElementOptionTabs},H.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var h=[],A=this.getConfigOptions();if(A){var M;A.tabs&&A.tabs.length?(M=[],A.tabs.forEach(function(D){D=D.concat(D.options)})):M=A.supportOptions,M&&M.filter(function(D){return!D.hidden}).forEach(function(D){var C=b.a.getItem(D.name);h.push(C)})}return this._printElementOptionItems=this.filterOptionItems(h.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},H.prototype.getPrintElementOptionItemsByName=function(h){var A=[],M=this.getConfigOptionsByName(h);if(M){var D;M.tabs&&M.tabs.length?(D=[],M.tabs.forEach(function(C){D=D.concat(C.options)})):D=M.supportOptions,D&&D.filter(function(C){return!C.hidden}).forEach(function(C){var v=b.a.getItem(C.name);A.push(v)})}return A.concat()},H.prototype.filterOptionItems=function(h){return this.printElementType.field?h.filter(function(A){return A.name!="field"}):h},H.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>'))},H.prototype.removeTempContainer=function(){S.default(".hiprint_temp_Container").remove()},H.prototype.getTempContainer=function(){return S.default(".hiprint_temp_Container")},H.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},H.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},H.prototype.setCurrenttemplateData=function(h){this._currenttemplateData=h},H.prototype.isFixed=function(){return this.options.fixed},H.prototype.onRendered=function(h,A){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(A,this.options,h.getTarget())},H.prototype.createLineOfPosition=function(h){var A=S.default(".toplineOfPosition.id"+this.id),M=S.default(".topPosition.id"+this.id),D=S.default(".leftlineOfPosition.id"+this.id),C=S.default(".leftPosition.id"+this.id),v=S.default(".rightlineOfPosition.id"+this.id),x=S.default(".bottomlineOfPosition.id"+this.id),f=N.a.instance;if(A.length)A.css("top",this.options.displayTop(!0));else{var A=S.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');A.css("top",this.options.displayTop(!0)),A.css("width",h.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(A)}if(f.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),M.length)M.toggleClass("topPosition-lineMode",f.positionLineMode),M.text(this.options.posTop()+(f.positionUnit?"pt":"")),M.css("top",this.options.posTop()-M.height()+"pt"),f.positionLineMode?M.css("left",this.options.posLeft()-M.width()/2+"pt"):M.css("left",this.options.posLeft()+2+"pt");else{var M=S.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');M.toggleClass("topPosition-lineMode",f.positionLineMode),M.text(this.options.posTop()+(f.positionUnit?"pt":"")),f.positionLineMode?M.css("left",this.options.posLeft()-M.width()/2+"pt"):M.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(M),M.css("top",this.options.posTop()-M.height()+"pt")}if(D.length)D.css("left",this.options.displayLeft(!0));else{var o=S.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.displayLeft(!0)),o.css("height",h.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(f.showPosition)if(C.length)C.text(this.options.posLeft()+(f.positionUnit?"pt":"")),C.toggleClass("leftPosition-lineMode",f.positionLineMode),C.css("left",this.options.posLeft()-C.width()+"pt"),f.positionLineMode?C.css("top",this.options.posTop()-C.height()/3+"pt"):C.css("top",this.options.posTop()+2+"pt");else{var C=S.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');C.text(this.options.posLeft()+(f.positionUnit?"pt":"")),C.toggleClass("leftPosition-lineMode",f.positionLineMode),f.positionLineMode?C.css("top",this.options.posTop()-C.height()/3+"pt"):C.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(C),C.css("left",this.options.posLeft()-C.width()+"pt")}if(v.length)v.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var c=S.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');c.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),c.css("height",h.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(c)}if(x.length)x.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",h.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(r)}},H.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()},H.prototype.getFontList=function(){var h=this.options.fontList;return h||(h=y.a.instance.getPrintTemplateById(this.templateId).getFontList())},H.prototype.getFields=function(){var h=this.options.fields;return h||(h=y.a.instance.getPrintTemplateById(this.templateId).getFields())},H.prototype.getOnImageChooseClick=function(){var h=this.options.onImageChooseClick;return h||(h=y.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},H.prototype.bingCopyEvent=function(h){var A=this;h.keydown(function(M){(M.ctrlKey||M.metaKey)&&M.keyCode==67&&(A.panel.copyJson(),M.preventDefault()),(M.ctrlKey||M.metaKey)&&M.keyCode==88&&(A.panel.cutJson(),M.preventDefault())})},H.prototype.clone=function(h){var A=this;let M=A.printElementType.createPrintElement();return Object.keys(A.options).forEach(function(D){M.options[D]=A.options[D]}),M},H.prototype.getFormatter=function(){var h=void 0;if(this.printElementType.formatter&&(h=this.printElementType.formatter),this.options.formatter)try{var A="formatter="+this.options.formatter;eval2(A)}catch(M){console.log(M)}return h},H.prototype.getStyler=function(){var h=void 0;if(this.printElementType.styler&&(h=this.printElementType.styler),this.options.styler)try{var A="fnstyler="+this.options.styler;eval2(A)}catch(M){console.log(M)}return h},H.prototype.bingKeyboardMoveEvent=function(h,A){var M=this,D=void 0,C=void 0;h.attr("tabindex","1"),h.keydown(function(v){if(v.target.tagName!="INPUT"&&M.options.draggable!==!1){var x=M.panel.printElements.filter(function(r){return r.designTarget.children().last().css("display")=="block"&&!r.printElementType.type.includes("table")}),f=x.length>1,o=N.a.instance.movingDistance;switch(v.keyCode){case 8:case 46:var c=M.panel;f?x.forEach(function(r){c.deletePrintElement(r)}):c.deletePrintElement(M),u.a.event.trigger("clearSettingContainer");break;case 37:D=M.options.getLeft(),f?x.forEach(function(r){r.updatePositionByMultipleSelect(0-o,0)}):(M.updateSizeAndPositionOptions(D-o),h.css("left",M.options.displayLeft())),v.preventDefault();break;case 38:C=M.options.getTop(),f?x.forEach(function(r){r.updatePositionByMultipleSelect(0,0-o)}):(M.updateSizeAndPositionOptions(void 0,C-o),h.css("top",M.options.displayTop())),v.preventDefault();break;case 39:D=M.options.getLeft(),f?x.forEach(function(r){r.updatePositionByMultipleSelect(o,0)}):(M.updateSizeAndPositionOptions(D+o),h.css("left",M.options.displayLeft())),v.preventDefault();break;case 40:C=M.options.getTop(),f?x.forEach(function(r){r.updatePositionByMultipleSelect(0,o)}):(M.updateSizeAndPositionOptions(void 0,C+o),h.css("top",M.options.displayTop())),v.preventDefault()}[37,38,39,40].includes(v.keyCode)&&u.a.event.trigger("hiprintTemplateDataChanged_"+M.templateId,"\u952E\u76D8\u79FB\u52A8")}})},H.prototype.inRect=function(h){var A=this.designPaper.scale||1,M=this.designTarget[0].offsetLeft,D=this.designTarget[0].offsetTop,C=this.designTarget[0].offsetHeight,v=this.designTarget[0].offsetWidth,x=M+v,f=D+C,o=S.default(h.target[0]).position().left/A,c=S.default(h.target[0]).position().top/A,r=h.target[0].offsetHeight,l=h.target[0].offsetWidth,g=o+l,P=c+r;return o<x&&g>M&&D<P&&f>c},H.prototype.multipleSelect=function(h){h?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},H.prototype.updatePositionByMultipleSelect=function(h,A){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(h+this.options.getLeft(),A+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},H}()},function($,F,d){var G=function(){function v(){}return v.prototype.init=function(x){this.target=S.default('<input type="text" class="hitable-editor-text" value="" />'),x.getTarget().append(this.target),this.target.focus()},v.prototype.getValue=function(){return this.target.val()},v.prototype.setValue=function(x){this.target.val(x)},v.prototype.destroy=function(){this.target.remove()},v}(),N=function(){function v(){this.text=new G}return Object.defineProperty(v,"Instance",{get:function(){return v._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v}(),b=function(){function v(){}return v.prototype.init=function(x,f){var o=`<select class="auto-submit" style="width:100%">
|
|
2
|
-
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;x.forEach(function(c,r){c.field==f.field?o+=' <option value="'+(c.field||"")+'" selected >'+(c.text||"")+"</option>":o+=' <option value="'+(c.field||"")+'" >'+(c.text||"")+"</option>"}),o+=" </select>",this.target=S.default(o),f.getTarget().append(this.target),this.target.focus()},v.prototype.getValue=function(){var x=this.target.val(),f=this.target.find('option[value="'+x+'"]').text();return f+"#"+x},v.prototype.setValue=function(x){x&&(this.target.find('option[value="'+x+'"]').length||this.target.find("select").prepend('<option value="'+x+'" >'+x+"</option>")),this.target.find("select").val(x)},v.prototype.destroy=function(){this.target.remove()},v}(),p=function(){function v(){this.select=new b}return Object.defineProperty(v,"Instance",{get:function(){return v._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v}(),u=function(){function v(){}return Object.defineProperty(v,"Instance",{get:function(){return N._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v.prototype.createEditor=function(x){return S.default.extend({},N.Instance[x])},v.prototype.createSelect=function(x){return S.default.extend({},p.Instance[x])},v}(),a=d(10),y=d(14),w=d(11),H=function(){function v(){}return v.prototype.init=function(x,f){var o=this;this.tableOptions=f,this.title=x.title,this.field=x.field,x.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){x.isEditing=!0,o.beginEdit(x)})},v.prototype.getDisplayHtml=function(){return this.title},v.prototype.beginEdit=function(x){var f=this;f.tableOptions.options.fields&&f.tableOptions.options.fields.length?(this.editor=u.Instance.createSelect("select"),x.getTarget().html(""),this.editor.init(f.tableOptions.options.fields,x),this.editor.setValue(this.field||""),S.default(this.editor.target).keydown(function(o){o.keyCode==13&&f.endEdit(x)}),S.default(this.editor.target).change(function(o){f.endEdit(x)}),S.default(this.editor.target).blur(function(o){f.endEdit(x)})):(this.editor=u.Instance.createEditor("text"),x.getTarget().html(""),this.editor.init(x),(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(o){o.keyCode==13&&f.endEdit(x)}),S.default(this.editor.target).blur(function(o){f.endEdit(x)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=x.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=x)},v.prototype.endEdit=function(x){x.isEditing=0;var f=this.editor.getValue();if(f)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=f.split("#");x.title=this.title=o[0],o.length>0&&(x.columnId=x.field=this.field=o[1]),x.id&&x.target.attr("id",x.id),x.columnId&&x.target.attr("column-id",x.columnId)}else x.title=this.title=f;else this.tableOptions.options.isEnableEditField?(x.title=this.title="",x.field=this.field=""):x.title=this.title="";this.editor.destroy(),x.getTarget().html(this.title)},v}(),h=function(){return function(v){this.title=v.title,this.field=v.field,this.width=v.width,this.align=v.align,this.halign=v.halign,this.vAlign=v.vAlign,this.colspan=v.colspan,this.rowspan=v.rowspan,this.checked=v.checked,this.columnId=v.columnId,this.tableSummary=v.tableSummary,this.formatter2=v.formatter2,this.styler2=v.styler2,this.tableColumnHeight=v.tableColumnHeight,this.tableTextType=v.tableTextType,this.tableBarcodeMode=v.tableBarcodeMode,this.tableQRCodeLevel=v.tableQRCodeLevel}}(),A=function(){function v(){this.id=w.a.createId()}return v.prototype.init=function(x,f,o,c){this.isHead=c,this.rowId=o,this.isEditing=!1;var r=/^[0-9]*$/;this.target=x,this.tableOptions=f;var l=this.target.attr("colspan");this.colspan=r.test(l)?parseInt(l):1;var g=this.target.attr("rowspan");this.rowspan=r.test(g)?parseInt(g):1,this.initEvent(),this.isHead&&this.initInnerEelement()},v.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var x=this.getValue();this.editor=u.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(x)}},v.prototype.endEdit=function(){this.isEditing=!1;var x=this.editor.getValue();this.editor.destroy(),this.target.html(x)},v.prototype.getTarget=function(){return this.target},v.prototype.getValue=function(){return this.target.html()},v.prototype.setValue=function(x){},v.prototype.initInnerEelement=function(){this.innerElement=new H,this.innerElement.init(this,this.tableOptions)},v.prototype.initEvent=function(){},v.prototype.isXYinCell=function(x,f){var o=new a.b({x,y:f,height:0,width:0});return this.isOverlap(o)},v.prototype.getTableRect=function(){return new a.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},v.prototype.isOverlap=function(x){var f=this.getTableRect();return x.x+x.width>f.x&&f.x+f.width>x.x&&x.y+x.height>f.y&&f.y+f.height>x.y},v.prototype.isInRect=function(x){var f=x.rect,o=this.getTableRect();if(o.x>=f.x&&o.x+o.width<=f.x+f.width&&o.y>=f.y&&o.y+o.height<=f.y+f.height){var c=y.a.mergeRect(f,o);return JSON.stringify(f)==JSON.stringify(c)||(x.changed=!0,x.rect=c,!0)}return!1},v.prototype.isSelected=function(){return this.target.hasClass("selected")},v.prototype.select=function(){this.target.addClass("selected")},v.prototype.isHeader=function(){return!1},v.prototype.setAlign=function(x){this.align=x,x?this.target.css("text-align",x):this.target[0].style.textAlign=""},v.prototype.setVAlign=function(x){this.vAlign=x,x?this.target.css("vertical-align",x):this.target[0].style.verticalAlign=""},v.prototype.getEntity=function(){return new h(this)},v}();d.d(F,"a",function(){return C});var M,D=(M=function(x,f){return(M=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(o,c){o.__proto__=c}||function(o,c){for(var r in c)c.hasOwnProperty(r)&&(o[r]=c[r])})(x,f)},function(v,x){function f(){this.constructor=v}M(v,x),v.prototype=x===null?Object.create(x):(f.prototype=x.prototype,new f)}),C=function(v){function x(f){var o=this;return f=f||{},(o=v.call(this)||this).width=f.width?parseFloat(f.width.toString()):100,o.title=f.title,o.descTitle=f.descTitle,o.field=f.field,o.fixed=f.fixed,o.rowspan=f.rowspan?parseInt(f.rowspan):1,o.colspan=f.colspan?parseInt(f.colspan):1,o.align=f.align,o.halign=f.halign,o.vAlign=f.vAlign,o.formatter=f.formatter,o.styler=f.styler,o.formatter2=f.formatter2,o.styler2=f.styler2,o.checkbox=f.checkbox,o.checked=f.checked!=0,o.columnId=f.columnId||f.field,o.tableColumnHeight=f.tableColumnHeight||30,o.tableTextType=f.tableTextType||"text",o.tableBarcodeMode=f.tableBarcodeMode||"CODE128A",o.tableQRCodeLevel=f.tableQRCodeLevel,o.tableSummary=f.tableSummary,o}return D(x,v),x.prototype.css=function(f){},x}(A)},function($,F,d){d.d(F,"a",function(){return G});var G=function(){return function(N){this.printLine=N.printLine,this.target=N.target,this.referenceElement=N.referenceElement}}()},function($,F,d){d.d(F,"a",function(){return b});var G=d(19),N=d(0),b=function(){function p(){}return p.createTableHead=function(u,a){for(var y=p.reconsitutionTableColumnTree(u),w=S.default("<thead></thead>"),H=p.getColumnsWidth(y,a),h=function(D){var C=S.default("<tr></tr>");y[D].filter(function(v){return v.checked}).forEach(function(v){var x=S.default("<td></td>");v.id&&x.attr("id",v.id),v.columnId&&x.attr("column-id",v.columnId),(v.align||v.halign)&&x.css("text-align",v.halign||v.align),v.vAlign&&x.css("vertical-align",v.vAlign),v.colspan>1&&x.attr("colspan",v.colspan),v.rowspan>1&&x.attr("rowspan",v.rowspan),x.html(v.title),H[v.id]?(v.hasWidth=!0,v.targetWidth=H[v.id],x.attr("haswidth","haswidth"),x.css("width",H[v.id]+"pt")):v.hasWidth=!1,C.append(x)}),w.append(C)},A=0;A<y.totalLayer;A++)h(A);return p.syncTargetWidthToOption(u),w},p.createTableFooter=function(u,a,y,w,H,h){var A=S.default("<tfoot></tfoot>"),M=this.getFooterFormatter(y,w);let D=y.tableFooterRepeat=="last"?a:h;if(y.tableFooterRepeat!="no"&&y.columns[0].columns.some(function(v){return v.tableSummary})){var C=S.default("<tr></tr>");y.columns[0].columns.filter(function(v){return v.checked}).forEach(function(v){var x=D.filter(function(l){return l[v.field]}).map(function(l){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(l[v.field])?Number(l[v.field]):0});switch(v.tableSummary){case"count":C.append(`<td style="text-align: center">\u8BA1\u6570:${D.length||0}</td>`);break;case"sum":var f=parseFloat(Number(x.reduce(function(l,g){return l+g},0))).toFixed(2);C.append(`<td style="text-align: center">\u5408\u8BA1:${f}</td>`);break;case"avg":var f=parseFloat(Number(x.reduce(function(l,g){return l+g},0))).toFixed(2),o=parseFloat(Number(f/(x.length||1))).toFixed(2);C.append(`<td style="text-align: center">\u5E73\u5747\u503C:${o}</td>`);break;case"min":var c=Math.min(...x);C.append(`<td style="text-align: center">\u6700\u5C0F\u503C:${c||0}</td>`);break;case"max":var r=Math.max(...x);C.append(`<td style="text-align: center">\u6700\u5927\u503C:${r||0}</td>`);break;default:C.append("<td></td>");break}}),A.append(C)}return M&&A.append(M(y,a,H,h)),A},p.createTableRow=function(u,a,y,w){var H=p.reconsitutionTableColumnTree(u),h=S.default("<tbody></tbody>");return a||(a=[]),w.groupFields.length?N.a.groupBy(a,w.groupFields,function(A){var M={};return w.groupFields.forEach(function(D){return M[D]=A[D]}),M}).forEach(function(A){if(w.groupFormatter){var M=S.default("<tr><td colspan="+H.colspan+"></td></tr>");M.find("td").append(w.groupFormatter(A,y)),h.append(M)}if(A.rows.forEach(function(C,v){var x=p.createRowTarget(H,C,y,w,v);h.append(x)}),w.groupFooterFormatter){var D=S.default("<tr><td colspan="+H.colspan+"></td></tr>");D.find("td").append(w.groupFooterFormatter(A,y)),h.append(D)}}):a.forEach(function(A,M){var D=p.createRowTarget(H,A,y,w,M);h.append(D)}),h},p.createRowTarget=function(u,a,y,w,H){var h=S.default("<tr></tr>"),A=u.rowColumns.filter(function(C){return C.checked});h.data("rowData",a),u.rowColumns.filter(function(C){return C.checked}).forEach(function(C,v){if(!!C.checked){var x="";if(y.rowsColumnsMerge){eval2("rowsColumnsMerge="+y.rowsColumnsMerge);var f=x(a,C,v)||[1,1],o=S.default(`<td style = 'display:${f[0]&&f[1]?"":"none"}' rowspan = '${f[0]}' colspan = '${f[1]}'></td>`)}else var o=S.default("<td></td>");if(a&&Object.keys(a).length>0&&(y.tableHeaderRepeat=="first"||y.tableHeaderRepeat=="none")){if(C.field&&o.attr("field",C.field),C.align&&o.css("text-align",C.align),C.vAlign&&o.css("vertical-align",C.vAlign),y.rowsColumnsMerge&&f[1]>1){var c=0;A.forEach((Z,W)=>{W>=v&&W<v+f[1]&&(c+=Z.width)})}o.css("width",(c||C.width)+"pt")}else C.field&&o.attr("field",C.field),C.align&&o.css("text-align",C.align),C.vAlign&&o.css("vertical-align",C.vAlign);var r=p.getColumnFormatter(C),l=r?r(a[C.field],a,v,y):a[C.field];if(C.tableTextType=="text")o.html(l);else{if(C.tableTextType=="barcode"){o.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{l?(Kt.default(o.find(".hibarcode_imgcode")[0],l,{format:C.tableBarcodeMode,width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),o.find(".hibarcode_imgcode").attr("height",C.tableColumnHeight+"pt"),o.find(".hibarcode_imgcode").css("margin","5pt 10pt"),o.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):o.html("")}catch(Z){console.log(Z),o.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(C.tableTextType=="image"&&(o.html(""),l)){var g=S.default('<div><img style = "max-width:100%;max-height:100%"/></div>');g.find("img").attr("src",l),console.log(g.find("img").css("width")),o.html(g)}if(C.tableTextType=="qrcode"){o.html("");try{var P=S.default("<div></div>");if(l){var j=parseInt(C.width||C.targetWidth||20),T=parseInt(C.tableColumnHeight||20);P.css("height",(j>T?T:j)+"pt"),new QRCode(P[0],{width:j>T?T:j,height:j>T?T:j,colorDark:"#000000",useSVG:!0,correctLevel:C.tableQRCodeLevel}).makeCode(l),o.html(P)}}catch(Z){console.log(Z),o.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}C.tableTextType==="sequence"&&o.html(H+1)}var U=p.getColumnStyler(C);if(U){var j=U(a[C.field],a,v,y);j&&Object.keys(j).forEach(function(W){o.css(W,j[W])})}h.append(o)}});var M=p.getRowStyler(y,w);if(M){var D=M(a,y);D&&Object.keys(D).forEach(function(C){h.css(C,D[C])})}return h},p.createEmptyRowTarget=function(u){var a=p.reconsitutionTableColumnTree(u),y=S.default("<tr></tr>");return a.rowColumns.filter(function(w){return w.checked}).forEach(function(w,H){var h=S.default("<td></td>");w.field&&h.attr("field",w.field),w.align&&h.css("text-align",w.align),w.vAlign&&h.css("vertical-align",w.vAlign),y.append(h)}),y},p.getColumnsWidth=function(u,a){var y={},w=p.allAutoWidth(u),H=p.allFixedWidth(u);return u.rowColumns.filter(function(h){return h.checked}).forEach(function(h){if(h.fixed)y[h.id]=h.width;else{var A=a-H,M=h.width/w*(A>0?A:0);y[h.id]=M}}),y},p.resizeTableCellWidth=function(u,a,y){var w=p.reconsitutionTableColumnTree(a),H=p.getColumnsWidth(w,y);u.find("thead tr td[haswidth]").map(function(h,A){var M=S.default(A).attr("id"),D=H[M];S.default(A).css("width",D+"pt")})},p.allAutoWidth=function(u){var a=0;return u.rowColumns.filter(function(y){return y.checked}).forEach(function(y){a+=y.fixed?0:y.width}),a},p.allFixedWidth=function(u){var a=0;return u.rowColumns.filter(function(y){return y.checked}).forEach(function(y){a+=y.fixed?y.width:0}),a},p.reconsitutionTableColumnTree=function(u,a,y){var w=a||new G.a;w.colspan=0;for(var H=function(M){w.totalLayer=M+1,w[M]=u[M].columns,M==0&&u[M].columns.forEach(function(D){M==0&&(w.colspan+=D.colspan)})},h=0;h<u.length;h++)H(h);return w.rowColumns=p.getOrderdColumns(w),w},p.syncTargetWidthToOption=function(u){u.forEach(function(a){a.columns.forEach(function(y){y.hasWidth&&(y.width=y.targetWidth)})})},p.getFooterFormatter=function(u,a){var y=void 0;if(a.footerFormatter&&(y=a.footerFormatter),u.footerFormatter)try{var w="footerFormatter="+u.footerFormatter;eval2(w)}catch(H){console.log(H)}return y},p.getRowStyler=function(u,a){var y=void 0;if(a.rowStyler&&(y=a.rowStyler),u.rowStyler)try{var w="rowStyler="+u.rowStyler;eval2(w)}catch(H){console.log(H)}return y},p.getColumnStyler=function(u){var a=void 0;if(u.styler&&(a=u.styler),u.styler2)try{var y="styler="+u.styler2;eval2(y)}catch(w){console.log(w)}return a},p.getColumnFormatter=function(u){var a=void 0;if(u.formatter&&(a=u.formatter),u.formatter2)try{var y="formatter="+u.formatter2;eval2(y)}catch(w){console.log(w)}return a},p.getOrderdColumns=function(u){for(var a={},y=function(h){u[h].forEach(function(A){for(var M=0;M<A.rowspan;M++)a[h+M]=a[h+M]?a[h+M]:[],a[h+M].push(A)})},w=0;w<u.totalLayer;w++)y(w);return a[u.totalLayer-1]},p}()},function($,F,d){d.d(F,"a",function(){return G});var G=function(){function N(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 N.prototype.isPositionLeftOrRight=function(b,p){return this.top<=b&&this.top+p>b},N}()},function($,F,d){var G=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(e,E){if(e&&e.length){if(E)return e.css("line-height",E+"pt"),"line-height:"+E+"pt";e[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item">
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var de=require("jquery"),ue=require("jsbarcode"),ce=require("socket.io-client"),ge=require("jspdf"),he=require("html2canvas"),me=require("canvg");function Dt(K){return K&&typeof K=="object"&&"default"in K?K:{default:K}}var T=Dt(de),Vt=Dt(ue),fe=Dt(he),be=Dt(me),ve={exports:{}};(function(K,J){(function(d){K.exports=d(T.default)})(function(d){function W(a){var s=a.parent();a.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),s.before(a).remove()}function A(a){var s=a.parent(),I=s.find(".minicolors-panel"),S=a.data("minicolors-settings");!a.data("minicolors-initialized")||a.prop("disabled")||s.hasClass("minicolors-inline")||s.hasClass("minicolors-focus")||(f(),s.addClass("minicolors-focus"),I.animate?I.stop(!0,!0).fadeIn(S.showSpeed,function(){S.show&&S.show.call(a.get(0))}):(I.show(),S.show&&S.show.call(a.get(0))))}function f(){d(".minicolors-focus").each(function(){var a=d(this),s=a.find(".minicolors-input"),I=a.find(".minicolors-panel"),S=s.data("minicolors-settings");I.animate?I.fadeOut(S.hideSpeed,function(){S.hide&&S.hide.call(s.get(0)),a.removeClass("minicolors-focus")}):(I.hide(),S.hide&&S.hide.call(s.get(0)),a.removeClass("minicolors-focus"))})}function l(a,s,I){var S,P,j,B,Z,z=a.parents(".minicolors").find(".minicolors-input"),O=z.data("minicolors-settings"),F=a.find("[class$=-picker]"),tt=a.offset().left,X=a.offset().top,q=Math.round(s.pageX-tt),at=Math.round(s.pageY-X),et=I?O.animationSpeed:0;s.originalEvent.changedTouches&&(q=s.originalEvent.changedTouches[0].pageX-tt,at=s.originalEvent.changedTouches[0].pageY-X),q<0&&(q=0),at<0&&(at=0),q>a.width()&&(q=a.width()),at>a.height()&&(at=a.height()),a.parent().is(".minicolors-slider-wheel")&&F.parent().is(".minicolors-grid")&&(S=75-q,P=75-at,j=Math.sqrt(S*S+P*P),(B=Math.atan2(P,S))<0&&(B+=2*Math.PI),75<j&&(q=(j=75)-75*Math.cos(B),at=75-75*Math.sin(B)),q=Math.round(q),at=Math.round(at)),Z={top:at+"px"},a.is(".minicolors-grid")&&(Z.left=q+"px"),F.animate?F.stop(!0).animate(Z,et,O.animationEasing,function(){u(z,a)}):(F.css(Z),u(z,a))}function u(a,s){function I(dt,Tt){var yt,jt;return dt.length&&Tt?(yt=dt.offset().left,jt=dt.offset().top,{x:yt-Tt.offset().left+dt.outerWidth()/2,y:jt-Tt.offset().top+dt.outerHeight()/2}):null}var S,P,j,B,Z,z,O,F=a.val(),tt=a.attr("data-opacity"),X=a.parent(),q=a.data("minicolors-settings"),at=X.find(".minicolors-input-swatch"),et=X.find(".minicolors-grid"),ot=X.find(".minicolors-slider"),pt=X.find(".minicolors-opacity-slider"),It=et.find("[class$=-picker]"),ft=ot.find("[class$=-picker]"),Pt=pt.find("[class$=-picker]"),gt=I(It,et),Mt=I(ft,ot),ht=I(Pt,pt);if(s.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(q.control){case"wheel":B=et.width()/2-gt.x,Z=et.height()/2-gt.y,z=Math.sqrt(B*B+Z*Z),(O=Math.atan2(Z,B))<0&&(O+=2*Math.PI),75<z&&(z=75,gt.x=69-75*Math.cos(O),gt.y=69-75*Math.sin(O)),P=D(z/.75,0,100),F=o({h:S=D(180*O/Math.PI,0,360),s:P,b:j=D(100-Math.floor(Mt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:S,s:P,b:100}));break;case"saturation":F=o({h:S=D(parseInt(gt.x*(360/et.width()),10),0,360),s:P=D(100-Math.floor(Mt.y*(100/ot.height())),0,100),b:j=D(100-Math.floor(gt.y*(100/et.height())),0,100)}),ot.css("backgroundColor",o({h:S,s:100,b:j})),X.find(".minicolors-grid-inner").css("opacity",P/100);break;case"brightness":F=o({h:S=D(parseInt(gt.x*(360/et.width()),10),0,360),s:P=D(100-Math.floor(gt.y*(100/et.height())),0,100),b:j=D(100-Math.floor(Mt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:S,s:P,b:100})),X.find(".minicolors-grid-inner").css("opacity",1-j/100);break;default:F=o({h:S=D(360-parseInt(Mt.y*(360/ot.height()),10),0,360),s:P=D(Math.floor(gt.x*(100/et.width())),0,100),b:j=D(100-Math.floor(gt.y*(100/et.height())),0,100)}),et.css("backgroundColor",o({h:S,s:100,b:100}))}r(a,F,tt=q.opacity?parseFloat(1-ht.y/pt.height()).toFixed(2):1)}else at.find("span").css({backgroundColor:F,opacity:String(tt)}),w(a,F,tt)}function r(a,s,I){var S,P=a.parent(),j=a.data("minicolors-settings"),B=P.find(".minicolors-input-swatch");j.opacity&&a.attr("data-opacity",I),s=j.format==="rgb"?(S=H(s)?x(s,!0):c(g(s,!0)),I=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),!isNaN(I)&&j.opacity||(I=1),a.minicolors("rgbObject").a<=1&&S&&j.opacity?"rgba("+S.r+", "+S.g+", "+S.b+", "+parseFloat(I)+")":"rgb("+S.r+", "+S.g+", "+S.b+")"):(H(s)&&(s=C(s)),N(s,j.letterCase)),a.val(s),B.find("span").css({backgroundColor:s,opacity:String(I)}),w(a,s,I)}function b(a,s){var I,S,P,j,B,Z,z,O,F,tt,X=a.parent(),q=a.data("minicolors-settings"),at=X.find(".minicolors-input-swatch"),et=X.find(".minicolors-grid"),ot=X.find(".minicolors-slider"),pt=X.find(".minicolors-opacity-slider"),It=et.find("[class$=-picker]"),ft=ot.find("[class$=-picker]"),Pt=pt.find("[class$=-picker]");switch(H(a.val())?(I=C(a.val()),(B=D(parseFloat(v(a.val())).toFixed(2),0,1))&&a.attr("data-opacity",B)):I=N(g(a.val(),!0),q.letterCase),S=function(gt){var Mt=function(ht){var dt={h:0,s:0,b:0},Tt=Math.min(ht.r,ht.g,ht.b),yt=Math.max(ht.r,ht.g,ht.b),jt=yt-Tt;return dt.b=yt,dt.s=yt!==0?255*jt/yt:0,dt.s!==0?ht.r===yt?dt.h=(ht.g-ht.b)/jt:ht.g===yt?dt.h=2+(ht.b-ht.r)/jt:dt.h=4+(ht.r-ht.g)/jt:dt.h=-1,dt.h*=60,dt.h<0&&(dt.h+=360),dt.s*=.39215686274509803,dt.b*=.39215686274509803,dt}(c(gt));return Mt.s===0&&(Mt.h=360),Mt}(I=I||N(y(q.defaultValue,!0),q.letterCase)),j=q.keywords?d.map(q.keywords.split(","),function(gt){return gt.toLowerCase().trim()}):[],Z=a.val()!==""&&-1<d.inArray(a.val().toLowerCase(),j)?N(a.val()):H(a.val())?x(a.val()):I,s||a.val(Z),q.opacity&&(P=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),isNaN(P)&&(P=1),a.attr("data-opacity",P),at.find("span").css("opacity",String(P)),O=D(pt.height()-pt.height()*P,0,pt.height()),Pt.css("top",O+"px")),a.val().toLowerCase()==="transparent"&&at.find("span").css("opacity",String(0)),at.find("span").css("backgroundColor",I),q.control){case"wheel":F=D(Math.ceil(.75*S.s),0,et.height()/2),tt=S.h*Math.PI/180,z=D(75-Math.cos(tt)*F,0,et.width()),O=D(75-Math.sin(tt)*F,0,et.height()),It.css({top:O+"px",left:z+"px"}),O=150-S.b/(100/et.height()),I===""&&(O=0),ft.css("top",O+"px"),ot.css("backgroundColor",o({h:S.h,s:S.s,b:100}));break;case"saturation":z=D(5*S.h/12,0,150),O=D(et.height()-Math.ceil(S.b/(100/et.height())),0,et.height()),It.css({top:O+"px",left:z+"px"}),O=D(ot.height()-S.s*(ot.height()/100),0,ot.height()),ft.css("top",O+"px"),ot.css("backgroundColor",o({h:S.h,s:100,b:S.b})),X.find(".minicolors-grid-inner").css("opacity",S.s/100);break;case"brightness":z=D(5*S.h/12,0,150),O=D(et.height()-Math.ceil(S.s/(100/et.height())),0,et.height()),It.css({top:O+"px",left:z+"px"}),O=D(ot.height()-S.b*(ot.height()/100),0,ot.height()),ft.css("top",O+"px"),ot.css("backgroundColor",o({h:S.h,s:S.s,b:100})),X.find(".minicolors-grid-inner").css("opacity",1-S.b/100);break;default:z=D(Math.ceil(S.s/(100/et.width())),0,et.width()),O=D(et.height()-Math.ceil(S.b/(100/et.height())),0,et.height()),It.css({top:O+"px",left:z+"px"}),O=D(ot.height()-S.h/(360/ot.height()),0,ot.height()),ft.css("top",O+"px"),et.css("backgroundColor",o({h:S.h,s:100,b:100}))}a.data("minicolors-initialized")&&w(a,Z,P)}function w(a,s,I){var S,P,j,B=a.data("minicolors-settings"),Z=a.data("minicolors-lastChange");if(!Z||Z.value!==s||Z.opacity!==I){if(a.data("minicolors-lastChange",{value:s,opacity:I}),B.swatches&&B.swatches.length!==0){for(S=H(s)?x(s,!0):c(s),P=-1,j=0;j<B.swatches.length;++j)if(S.r===B.swatches[j].r&&S.g===B.swatches[j].g&&S.b===B.swatches[j].b&&S.a===B.swatches[j].a){P=j;break}a.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),P!==-1&&a.parent().find(".minicolors-swatches .minicolors-swatch").eq(j).addClass("selected")}B.change&&(B.changeDelay?(clearTimeout(a.data("minicolors-changeTimeout")),a.data("minicolors-changeTimeout",setTimeout(function(){B.change.call(a.get(0),s,I)},B.changeDelay))):B.change.call(a.get(0),s,I)),a.trigger("change").trigger("input")}}function N(a,s){return s==="uppercase"?a.toUpperCase():a.toLowerCase()}function g(a,s){return!(a=a.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||a.length!==3&&a.length!==6?"":(a.length===3&&s&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),"#"+a)}function x(a,s){var I=a.replace(/[^\d,.]/g,"").split(",");return I[0]=D(parseInt(I[0],10),0,255),I[1]=D(parseInt(I[1],10),0,255),I[2]=D(parseInt(I[2],10),0,255),I[3]!==void 0&&(I[3]=D(parseFloat(I[3],10),0,1)),s?I[3]!==void 0?{r:I[0],g:I[1],b:I[2],a:I[3]}:{r:I[0],g:I[1],b:I[2]}:I[3]!==void 0&&I[3]<=1?"rgba("+I[0]+", "+I[1]+", "+I[2]+", "+I[3]+")":"rgb("+I[0]+", "+I[1]+", "+I[2]+")"}function y(a,s){return H(a)?x(a):g(a,s)}function D(a,s,I){return a<s&&(a=s),I<a&&(a=I),a}function H(a){var s=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!s||s.length!==4)}function v(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 C(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 M(a){var s=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];return d.each(s,function(I,S){S.length===1&&(s[I]="0"+S)}),"#"+s.join("")}function o(a){return M((s=a,j={},B=Math.round(s.h),Z=Math.round(255*s.s/100),z=Math.round(255*s.b/100),Z===0?j.r=j.g=j.b=z:(P=B%60*((I=z)-(S=(255-Z)*z/255))/60,B===360&&(B=0),B<60?(j.r=I,j.b=S,j.g=S+P):B<120?(j.g=I,j.b=S,j.r=I-P):B<180?(j.g=I,j.r=S,j.b=S+P):B<240?(j.b=I,j.r=S,j.g=I-P):B<300?(j.b=I,j.g=S,j.r=S+P):B<360?(j.r=I,j.g=S,j.b=I-P):(j.r=0,j.g=0,j.b=0)),{r:Math.round(j.r),g:Math.round(j.g),b:Math.round(j.b)}));var s,I,S,P,j,B,Z,z}function c(a){return{r:(a=parseInt(-1<a.indexOf("#")?a.substring(1):a,16))>>16,g:(65280&a)>>8,b:255&a}}d.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:[]}},d.extend(d.fn,{minicolors:function(a,s){switch(a){case"destroy":return d(this).each(function(){W(d(this))}),d(this);case"hide":return f(),d(this);case"opacity":return s===void 0?d(this).attr("data-opacity"):(d(this).each(function(){b(d(this).attr("data-opacity",s))}),d(this));case"rgbObject":return function(I){var S,P=d(I).attr("data-opacity");{var j;S=H(d(I).val())?x(d(I).val(),!0):(j=g(d(I).val(),!0),c(j))}return S?(P!==void 0&&d.extend(S,{a:parseFloat(P)}),S):null}(d(this));case"rgbString":case"rgbaString":return function(I,S){var P,j=d(I).attr("data-opacity");{var B;P=H(d(I).val())?x(d(I).val(),!0):(B=g(d(I).val(),!0),c(B))}return P?(j===void 0&&(j=1),S?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(j)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):null}(d(this),a==="rgbaString");case"settings":return s===void 0?d(this).data("minicolors-settings"):(d(this).each(function(){var I=d(this).data("minicolors-settings")||{};W(d(this)),d(this).minicolors(d.extend(!0,I,s))}),d(this));case"show":return A(d(this).eq(0)),d(this);case"value":return s===void 0?d(this).val():(d(this).each(function(){typeof s=="object"&&s!==null?(s.opacity!==void 0&&d(this).attr("data-opacity",D(s.opacity,0,1)),s.color&&d(this).val(s.color)):d(this).val(s),b(d(this))}),d(this));default:return a!=="create"&&(s=a),d(this).each(function(){(function(I,S){var P,j,B,Z,z,O,F,tt=d('<div class="minicolors" />'),X=d.minicolors.defaults;if(!I.data("minicolors-initialized")){if(S=d.extend(!0,{},X,S),tt.addClass("minicolors-theme-"+S.theme).toggleClass("minicolors-with-opacity",S.opacity),S.position!==void 0&&d.each(S.position.split(" "),function(){tt.addClass("minicolors-position-"+this)}),j=S.format==="rgb"?S.opacity?"25":"20":S.keywords?"11":"7",I.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",S).prop("size",j).wrap(tt).after('<div class="minicolors-panel minicolors-slider-'+S.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>'),S.inline||(I.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),I.next(".minicolors-input-swatch").on("click",function(q){q.preventDefault(),I.trigger("focus")})),(O=I.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),S.swatches&&S.swatches.length!==0)for(O.addClass("minicolors-with-swatches"),B=d('<ul class="minicolors-swatches"></ul>').appendTo(O),F=0;F<S.swatches.length;++F)Z=typeof S.swatches[F]=="object"?(P=S.swatches[F].name,S.swatches[F].color):(P="",S.swatches[F]),Z=H(z=Z)?x(Z,!0):c(g(Z,!0)),d('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",P).appendTo(B).data("swatch-color",z).find(".minicolors-swatch-color").css({backgroundColor:z!=="transparent"?M(Z):"transparent",opacity:String(Z.a)}),S.swatches[F]=Z;S.inline&&I.parent().addClass("minicolors-inline"),b(I,!1),I.data("minicolors-initialized",!0)}})(d(this),s)}),d(this)}}}),d([document]).on("mousedown.minicolors touchstart.minicolors",function(a){d(a.target).parents().add(a.target).hasClass("minicolors")||f()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(a){var s=d(this);a.preventDefault(),d(a.delegateTarget).data("minicolors-target",s),l(s,a,!0)}).on("mousemove.minicolors touchmove.minicolors",function(a){var s=d(a.delegateTarget).data("minicolors-target");s&&l(s,a)}).on("mouseup.minicolors touchend.minicolors",function(){d(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(a){a.preventDefault();var s=d(this),I=s.parents(".minicolors").find(".minicolors-input"),S=s.data("swatch-color");r(I,S,v(S)),b(I)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(a){var s=d(this).parent().find(".minicolors-input");a.preventDefault(),A(s)}).on("focus.minicolors",".minicolors-input",function(){var a=d(this);a.data("minicolors-initialized")&&A(a)}).on("blur.minicolors",".minicolors-input",function(){var a,s,I,S,P,j=d(this),B=j.data("minicolors-settings");j.data("minicolors-initialized")&&(a=B.keywords?d.map(B.keywords.split(","),function(Z){return Z.toLowerCase().trim()}):[],P=j.val()!==""&&-1<d.inArray(j.val().toLowerCase(),a)?j.val():(I=H(j.val())?x(j.val(),!0):(s=g(j.val(),!0))?c(s):null)===null?B.defaultValue:B.format==="rgb"?B.opacity?x("rgba("+I.r+","+I.g+","+I.b+","+j.attr("data-opacity")+")"):x("rgb("+I.r+","+I.g+","+I.b+")"):M(I),S=B.opacity?j.attr("data-opacity"):1,P.toLowerCase()==="transparent"&&(S=0),j.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(S)),j.val(P),j.val()===""&&j.val(y(B.defaultValue,!0)),j.val(N(j.val(),B.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(a){var s=d(this);if(s.data("minicolors-initialized"))switch(a.which){case 9:f();break;case 13:case 27:f(),s.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var a=d(this);a.data("minicolors-initialized")&&b(a,!0)}).on("paste.minicolors",".minicolors-input",function(){var a=d(this);a.data("minicolors-initialized")&&setTimeout(function(){b(a,!0)},1)})})})(ve);(function(){function K(o){this.mode=d.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var c=0,a=this.data.length;c<a;c++){var s=[],I=this.data.charCodeAt(c);I>65536?(s[0]=240|(I&1835008)>>>18,s[1]=128|(I&258048)>>>12,s[2]=128|(I&4032)>>>6,s[3]=128|I&63):I>2048?(s[0]=224|(I&61440)>>>12,s[1]=128|(I&4032)>>>6,s[2]=128|I&63):I>128?(s[0]=192|(I&1984)>>>6,s[1]=128|I&63):s[0]=I,this.parsedData.push(s)}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))}K.prototype={getLength:function(o){return this.parsedData.length},write:function(o){for(var c=0,a=this.parsedData.length;c<a;c++)o.put(this.parsedData[c],8)}};function J(o,c){this.typeNumber=o,this.errorCorrectLevel=c,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}J.prototype={addData:function(o){var c=new K(o);this.dataList.push(c),this.dataCache=null},isDark:function(o,c){if(o<0||this.moduleCount<=o||c<0||this.moduleCount<=c)throw new Error(o+","+c);return this.modules[o][c]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(o,c){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 s=0;s<this.moduleCount;s++)this.modules[a][s]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(o,c),this.typeNumber>=7&&this.setupTypeNumber(o),this.dataCache==null&&(this.dataCache=J.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,c)},setupPositionProbePattern:function(o,c){for(var a=-1;a<=7;a++)if(!(o+a<=-1||this.moduleCount<=o+a))for(var s=-1;s<=7;s++)c+s<=-1||this.moduleCount<=c+s||(0<=a&&a<=6&&(s==0||s==6)||0<=s&&s<=6&&(a==0||a==6)||2<=a&&a<=4&&2<=s&&s<=4?this.modules[o+a][c+s]=!0:this.modules[o+a][c+s]=!1)},getBestMaskPattern:function(){for(var o=0,c=0,a=0;a<8;a++){this.makeImpl(!0,a);var s=f.getLostPoint(this);(a==0||o>s)&&(o=s,c=a)}return c},createMovieClip:function(o,c,a){var s=o.createEmptyMovieClip(c,a),I=1;this.make();for(var S=0;S<this.modules.length;S++)for(var P=S*I,j=0;j<this.modules[S].length;j++){var B=j*I,Z=this.modules[S][j];Z&&(s.beginFill(0,100),s.moveTo(B,P),s.lineTo(B+I,P),s.lineTo(B+I,P+I),s.lineTo(B,P+I),s.endFill())}return s},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 c=8;c<this.moduleCount-8;c++)this.modules[6][c]==null&&(this.modules[6][c]=c%2==0)},setupPositionAdjustPattern:function(){for(var o=f.getPatternPosition(this.typeNumber),c=0;c<o.length;c++)for(var a=0;a<o.length;a++){var s=o[c],I=o[a];if(this.modules[s][I]==null)for(var S=-2;S<=2;S++)for(var P=-2;P<=2;P++)S==-2||S==2||P==-2||P==2||S==0&&P==0?this.modules[s+S][I+P]=!0:this.modules[s+S][I+P]=!1}},setupTypeNumber:function(o){for(var c=f.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var s=!o&&(c>>a&1)==1;this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=s}for(var a=0;a<18;a++){var s=!o&&(c>>a&1)==1;this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=s}},setupTypeInfo:function(o,c){for(var a=this.errorCorrectLevel<<3|c,s=f.getBCHTypeInfo(a),I=0;I<15;I++){var S=!o&&(s>>I&1)==1;I<6?this.modules[I][8]=S:I<8?this.modules[I+1][8]=S:this.modules[this.moduleCount-15+I][8]=S}for(var I=0;I<15;I++){var S=!o&&(s>>I&1)==1;I<8?this.modules[8][this.moduleCount-I-1]=S:I<9?this.modules[8][15-I-1+1]=S:this.modules[8][15-I-1]=S}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,c){for(var a=-1,s=this.moduleCount-1,I=7,S=0,P=this.moduleCount-1;P>0;P-=2)for(P==6&&P--;;){for(var j=0;j<2;j++)if(this.modules[s][P-j]==null){var B=!1;S<o.length&&(B=(o[S]>>>I&1)==1);var Z=f.getMask(c,s,P-j);Z&&(B=!B),this.modules[s][P-j]=B,I--,I==-1&&(S++,I=7)}if(s+=a,s<0||this.moduleCount<=s){s-=a,a=-a;break}}}},J.PAD0=236,J.PAD1=17,J.createData=function(o,c,a){for(var s=b.getRSBlocks(o,c),I=new w,S=0;S<a.length;S++){var P=a[S];I.put(P.mode,4),I.put(P.getLength(),f.getLengthInBits(P.mode,o)),P.write(I)}for(var j=0,S=0;S<s.length;S++)j+=s[S].dataCount;if(I.getLengthInBits()>j*8)throw new Error("code length overflow. ("+I.getLengthInBits()+">"+j*8+")");for(I.getLengthInBits()+4<=j*8&&I.put(0,4);I.getLengthInBits()%8!=0;)I.putBit(!1);for(;!(I.getLengthInBits()>=j*8||(I.put(J.PAD0,8),I.getLengthInBits()>=j*8));)I.put(J.PAD1,8);return J.createBytes(I,s)},J.createBytes=function(o,c){for(var a=0,s=0,I=0,S=new Array(c.length),P=new Array(c.length),j=0;j<c.length;j++){var B=c[j].dataCount,Z=c[j].totalCount-B;s=Math.max(s,B),I=Math.max(I,Z),S[j]=new Array(B);for(var z=0;z<S[j].length;z++)S[j][z]=255&o.buffer[z+a];a+=B;var O=f.getErrorCorrectPolynomial(Z),F=new r(S[j],O.getLength()-1),tt=F.mod(O);P[j]=new Array(O.getLength()-1);for(var z=0;z<P[j].length;z++){var X=z+tt.getLength()-P[j].length;P[j][z]=X>=0?tt.get(X):0}}for(var q=0,z=0;z<c.length;z++)q+=c[z].totalCount;for(var at=new Array(q),et=0,z=0;z<s;z++)for(var j=0;j<c.length;j++)z<S[j].length&&(at[et++]=S[j][z]);for(var z=0;z<I;z++)for(var j=0;j<c.length;j++)z<P[j].length&&(at[et++]=P[j][z]);return at};for(var d={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},W={L:1,M:0,Q:3,H:2},A={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},f={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 c=o<<10;f.getBCHDigit(c)-f.getBCHDigit(f.G15)>=0;)c^=f.G15<<f.getBCHDigit(c)-f.getBCHDigit(f.G15);return(o<<10|c)^f.G15_MASK},getBCHTypeNumber:function(o){for(var c=o<<12;f.getBCHDigit(c)-f.getBCHDigit(f.G18)>=0;)c^=f.G18<<f.getBCHDigit(c)-f.getBCHDigit(f.G18);return o<<12|c},getBCHDigit:function(o){for(var c=0;o!=0;)c++,o>>>=1;return c},getPatternPosition:function(o){return f.PATTERN_POSITION_TABLE[o-1]},getMask:function(o,c,a){switch(o){case A.PATTERN000:return(c+a)%2==0;case A.PATTERN001:return c%2==0;case A.PATTERN010:return a%3==0;case A.PATTERN011:return(c+a)%3==0;case A.PATTERN100:return(Math.floor(c/2)+Math.floor(a/3))%2==0;case A.PATTERN101:return c*a%2+c*a%3==0;case A.PATTERN110:return(c*a%2+c*a%3)%2==0;case A.PATTERN111:return(c*a%3+(c+a)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var c=new r([1],0),a=0;a<o;a++)c=c.multiply(new r([1,l.gexp(a)],0));return c},getLengthInBits:function(o,c){if(1<=c&&c<10)switch(o){case d.MODE_NUMBER:return 10;case d.MODE_ALPHA_NUM:return 9;case d.MODE_8BIT_BYTE:return 8;case d.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(c<27)switch(o){case d.MODE_NUMBER:return 12;case d.MODE_ALPHA_NUM:return 11;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(c<41)switch(o){case d.MODE_NUMBER:return 14;case d.MODE_ALPHA_NUM:return 13;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 12;default:throw new Error("mode:"+o)}else throw new Error("type:"+c)},getLostPoint:function(o){for(var c=o.getModuleCount(),a=0,s=0;s<c;s++)for(var I=0;I<c;I++){for(var S=0,P=o.isDark(s,I),j=-1;j<=1;j++)if(!(s+j<0||c<=s+j))for(var B=-1;B<=1;B++)I+B<0||c<=I+B||j==0&&B==0||P==o.isDark(s+j,I+B)&&S++;S>5&&(a+=3+S-5)}for(var s=0;s<c-1;s++)for(var I=0;I<c-1;I++){var Z=0;o.isDark(s,I)&&Z++,o.isDark(s+1,I)&&Z++,o.isDark(s,I+1)&&Z++,o.isDark(s+1,I+1)&&Z++,(Z==0||Z==4)&&(a+=3)}for(var s=0;s<c;s++)for(var I=0;I<c-6;I++)o.isDark(s,I)&&!o.isDark(s,I+1)&&o.isDark(s,I+2)&&o.isDark(s,I+3)&&o.isDark(s,I+4)&&!o.isDark(s,I+5)&&o.isDark(s,I+6)&&(a+=40);for(var I=0;I<c;I++)for(var s=0;s<c-6;s++)o.isDark(s,I)&&!o.isDark(s+1,I)&&o.isDark(s+2,I)&&o.isDark(s+3,I)&&o.isDark(s+4,I)&&!o.isDark(s+5,I)&&o.isDark(s+6,I)&&(a+=40);for(var z=0,I=0;I<c;I++)for(var s=0;s<c;s++)o.isDark(s,I)&&z++;var O=Math.abs(100*z/c/c-50)/5;return a+=O*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)},u=0;u<8;u++)l.EXP_TABLE[u]=1<<u;for(var u=8;u<256;u++)l.EXP_TABLE[u]=l.EXP_TABLE[u-4]^l.EXP_TABLE[u-5]^l.EXP_TABLE[u-6]^l.EXP_TABLE[u-8];for(var u=0;u<255;u++)l.LOG_TABLE[l.EXP_TABLE[u]]=u;function r(o,c){if(o.length==null)throw new Error(o.length+"/"+c);for(var a=0;a<o.length&&o[a]==0;)a++;this.num=new Array(o.length-a+c);for(var s=0;s<o.length-a;s++)this.num[s]=o[s+a]}r.prototype={get:function(o){return this.num[o]},getLength:function(){return this.num.length},multiply:function(o){for(var c=new Array(this.getLength()+o.getLength()-1),a=0;a<this.getLength();a++)for(var s=0;s<o.getLength();s++)c[a+s]^=l.gexp(l.glog(this.get(a))+l.glog(o.get(s)));return new r(c,0)},mod:function(o){if(this.getLength()-o.getLength()<0)return this;for(var c=l.glog(this.get(0))-l.glog(o.get(0)),a=new Array(this.getLength()),s=0;s<this.getLength();s++)a[s]=this.get(s);for(var s=0;s<o.getLength();s++)a[s]^=l.gexp(l.glog(o.get(s))+c);return new r(a,0).mod(o)}};function b(o,c){this.totalCount=o,this.dataCount=c}b.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]],b.getRSBlocks=function(o,c){var a=b.getRsBlockTable(o,c);if(a==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+c);for(var s=a.length/3,I=[],S=0;S<s;S++)for(var P=a[S*3+0],j=a[S*3+1],B=a[S*3+2],Z=0;Z<P;Z++)I.push(new b(j,B));return I},b.getRsBlockTable=function(o,c){switch(c){case W.L:return b.RS_BLOCK_TABLE[(o-1)*4+0];case W.M:return b.RS_BLOCK_TABLE[(o-1)*4+1];case W.Q:return b.RS_BLOCK_TABLE[(o-1)*4+2];case W.H:return b.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function w(){this.buffer=[],this.length=0}w.prototype={get:function(o){var c=Math.floor(o/8);return(this.buffer[c]>>>7-o%8&1)==1},put:function(o,c){for(var a=0;a<c;a++)this.putBit((o>>>c-a-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(o){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0),o&&(this.buffer[c]|=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 g(){return typeof CanvasRenderingContext2D!="undefined"}function x(){var o=!1,c=navigator.userAgent;if(/android/i.test(c)){o=!0;var a=c.toString().match(/android ([0-9]\.[0-9])/i);a&&a[1]&&(o=parseFloat(a[1]))}return o}var y=function(){var o=function(c,a){this._el=c,this._htOption=a};return o.prototype.draw=function(c){var a=this._htOption,s=this._el,I=c.getModuleCount();Math.floor(a.width/I),Math.floor(a.height/I),this.clear();function S(z,O){var F=document.createElementNS("http://www.w3.org/2000/svg",z);for(var tt in O)O.hasOwnProperty(tt)&&F.setAttribute(tt,O[tt]);return F}var P=S("svg",{viewBox:"0 0 "+String(I)+" "+String(I),width:"100%",height:"100%",fill:a.colorLight});P.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),s.appendChild(P),P.appendChild(S("rect",{fill:a.colorLight,width:"100%",height:"100%"})),P.appendChild(S("rect",{fill:a.colorDark,width:"1",height:"1",id:"template"}));for(var j=0;j<I;j++)for(var B=0;B<I;B++)if(c.isDark(j,B)){var Z=S("use",{x:String(B),y:String(j)});Z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),P.appendChild(Z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),D=document.documentElement.tagName.toLowerCase()==="svg",H=D?y:g()?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 c=1/window.devicePixelRatio,a=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(S,P,j,B,Z,z,O,F,tt){if("nodeName"in S&&/img/i.test(S.nodeName))for(var X=arguments.length-1;X>=1;X--)arguments[X]=arguments[X]*c;else typeof F=="undefined"&&(arguments[1]*=c,arguments[2]*=c,arguments[3]*=c,arguments[4]*=c);a.apply(this,arguments)}}function s(S,P){var j=this;if(j._fFail=P,j._fSuccess=S,j._bSupportDataURI===null){var B=document.createElement("img"),Z=function(){j._bSupportDataURI=!1,j._fFail&&j._fFail.call(j)},z=function(){j._bSupportDataURI=!0,j._fSuccess&&j._fSuccess.call(j)};B.onabort=Z,B.onerror=Z,B.onload=z,B.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else j._bSupportDataURI===!0&&j._fSuccess?j._fSuccess.call(j):j._bSupportDataURI===!1&&j._fFail&&j._fFail.call(j)}var I=function(S,P){this._bIsPainted=!1,this._android=x(),this._htOption=P,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=P.width,this._elCanvas.height=P.height,S.appendChild(this._elCanvas),this._el=S,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 I.prototype.draw=function(S){var P=this._elImage,j=this._oContext,B=this._htOption,Z=S.getModuleCount(),z=B.width/Z,O=B.height/Z,F=Math.round(z),tt=Math.round(O);P.style.display="none",this.clear();for(var X=0;X<Z;X++)for(var q=0;q<Z;q++){var at=S.isDark(X,q),et=q*z,ot=X*O;j.strokeStyle=at?B.colorDark:B.colorLight,j.lineWidth=1,j.fillStyle=at?B.colorDark:B.colorLight,j.fillRect(et,ot,z,O),j.strokeRect(Math.floor(et)+.5,Math.floor(ot)+.5,F,tt),j.strokeRect(Math.ceil(et)-.5,Math.ceil(ot)-.5,F,tt)}this._bIsPainted=!0},I.prototype.makeImage=function(){this._bIsPainted&&s.call(this,o)},I.prototype.isPainted=function(){return this._bIsPainted},I.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},I.prototype.round=function(S){return S&&Math.floor(S*1e3)/1e3},I}():function(){var o=function(c,a){this._el=c,this._htOption=a};return o.prototype.draw=function(c){for(var a=this._htOption,s=this._el,I=c.getModuleCount(),S=Math.floor(a.width/I),P=Math.floor(a.height/I),j=['<table style="border:0;border-collapse:collapse;">'],B=0;B<I;B++){j.push("<tr>");for(var Z=0;Z<I;Z++)j.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+S+"px;height:"+P+"px;background-color:"+(c.isDark(B,Z)?a.colorDark:a.colorLight)+';"></td>');j.push("</tr>")}j.push("</table>"),s.innerHTML=j.join("");var z=s.childNodes[0],O=(a.width-z.offsetWidth)/2,F=(a.height-z.offsetHeight)/2;O>0&&F>0&&(z.style.margin=F+"px "+O+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function v(o,c){for(var a=1,s=C(o),I=0,S=N.length;I<=S;I++){var P=0;switch(c){case W.L:P=N[I][0];break;case W.M:P=N[I][1];break;case W.Q:P=N[I][2];break;case W.H:P=N[I][3];break}if(s<=P)break;a++}if(a>N.length)throw new Error("Too long data");return a}function C(o){var c=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return c.length+(c.length!=o?3:0)}var M=function(o,c){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:W.H},typeof c=="string"&&(c={text:c}),c)for(var a in c)this._htOption[a]=c[a];typeof o=="string"&&(o=document.getElementById(o)),this._htOption.useSVG&&(H=y),this._android=x(),this._el=o,this._oQRCode=null,this._oDrawing=new H(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};M.prototype.makeCode=function(o){this._oQRCode=new J(v(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()},M.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},M.prototype.clear=function(){this._oDrawing.clear()},M.CorrectLevel=W,window.QRCode=M})();var ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb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Jyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIxNS41IiB5MT0iLTEwIiB4Mj0iMTUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIzNy41IiB5MT0iLTEwIiB4Mj0iMzcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1OS41IiB5MT0iLTEwIiB4Mj0iNTkuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";function Pe(K){return function(J){var d=function(W){W.removePrintElementTypes("defaultModule"),W.addPrintElementTypes("defaultModule",[new K.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(A,f){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(A,f){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 K.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:d}}}function Ht(K,J){return J!=null&&typeof Symbol!="undefined"&&J[Symbol.hasInstance]?!!J[Symbol.hasInstance](K):K instanceof J}function bt(K){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?bt=function(d){return typeof d}:bt=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},bt(K)}window.$=window.jQuery=T.default;window.autoConnect=!0;window.io=ce.io;window.eval2=eval;var Ct=function(K){var J={};function d(A){if(J[A])return J[A].exports;var f=J[A]={i:A,l:!1,exports:{}};return K[A].call(f.exports,f,f.exports,d),f.l=!0,f.exports}var W=(d.m=K,d.c=J,d.d=function(A,f,l){d.o(A,f)||Object.defineProperty(A,f,{enumerable:!0,get:l})},d.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},d.t=function(A,f){if(1&f&&(A=d(A)),8&f||4&f&&bt(A)=="object"&&A&&A.__esModule)return A;var l=Object.create(null);if(d.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:A}),2&f&&typeof A!="string")for(var u in A)d.d(l,u,function(r){return A[r]}.bind(null,u));return l},d.n=function(A){var f=A&&A.__esModule?function(){return A.default}:function(){return A};return d.d(f,"a",f),f},d.o=function(A,f){return Object.prototype.hasOwnProperty.call(A,f)},d.p="/",d(d.s=21));return W.n=d,W}([function(K,J,d){var W;d.d(J,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(W={},{on:function(f,l){W[f]||(W[f]=[]),W[f].push(l)},id:0,off:function(f,l){var u=W[f];if(u){for(var r=-1,b=0;b<u.length;b++)if(u[b]===l){r=b;break}r<0||W[f].splice(r,1)}},trigger:function(f){var l=W[f];if(l&&l.length)for(var u=Array.prototype.slice.call(arguments,1),r=0;r<l.length;r++)l[r].apply(this,u)},clear:function(f){W[f]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(f){return f+"-"+this.getId()}}),hinnn.form={serialize:function(f){var l=T.default(f).serializeArray(),u={};return T.default.each(l,function(){u[this.name]?Object.prototype.toString.call(u[this.name])=="[object Array]"?u[this.name].push(this.value):u[this.name]=[u[this.name],this.value]:u[this.name]=this.value}),u}},hinnn.pt={toPx:function(f){return f*(this.getDpi()/72)},toMm:function(f){return hinnn.px.toMm(hinnn.pt.toPx(f))},dpi:0,getDpi:function(){if(!this.dpi){var f=document.createElement("DIV");f.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(f),this.dpi=f.offsetHeight}return this.dpi}},hinnn.px={toPt:function(f){return f*(72/this.getDpi())},toMm:function(f){return Math.round(f/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var f=document.createElement("DIV");f.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(f),this.dpi=f.offsetHeight}return this.dpi}},hinnn.mm={toPt:function(f){return 72/25.4*f},toPx:function(f){return hinnn.pt.toPx(hinnn.mm.toPt(f))}},hinnn.throttle=function(A,f,l){var u,r,b,w=null,N=0;l||(l={});var g=function(){N=l.leading===!1?0:_.now(),w=null,b=A.apply(u,r),w||(u=r=null)};return function(){var x=_.now();N||l.leading!==!1||(N=x);var y=f-(x-N);return u=this,r=arguments,y<=0||y>f?(w&&(clearTimeout(w),w=null),N=x,b=A.apply(u,r),w||(u=r=null)):w||l.trailing===!1||(w=setTimeout(g,y)),b}},hinnn.debounce=function(A,f,l){var u,r,b,w,N,g=function x(){var y=_.now()-w;y<f&&y>=0?u=setTimeout(x,f-y):(u=null,l||(N=A.apply(b,r),u||(b=r=null)))};return function(){b=this,r=arguments,w=_.now();var x=l&&!u;return u||(u=setTimeout(g,f)),x&&(N=A.apply(b,r),b=r=null),N}},hinnn.toUtf8=function(A){var f,l,u,r;for(f="",u=A.length,l=0;l<u;l++)(r=A.charCodeAt(l))>=1&&r<=127?f+=A.charAt(l):r>2047?(f+=String.fromCharCode(224|r>>12&15),f+=String.fromCharCode(128|r>>6&63),f+=String.fromCharCode(128|r>>0&63)):(f+=String.fromCharCode(192|r>>6&31),f+=String.fromCharCode(128|r>>0&63));return f},hinnn.groupBy=function(A,f,l){var u={};return A.forEach(function(r){var b=JSON.stringify(l(r));u[b]||(u[b]={rows:[]},f.forEach(function(w){u[b][w]=r[w]})),u[b].rows.push(r)}),Object.keys(u).map(function(r){return u[r]})},hinnn.orderBy=function(A,f){if(A.length<=1)return A;var l=Math.floor(A.length/2),u=A.splice(l,1)[0],r=[],b=[],w=!0,N=!1,g=void 0;try{for(var x=A[Symbol.iterator](),y;!(w=(y=x.next()).done);w=!0){var D=y.value;f(D)<f(u)?r.push(D):b.push(D)}}catch(H){N=!0,g=H}finally{try{!w&&x.return!=null&&x.return()}finally{if(N)throw g}}return this.orderBy(r,f).concat([u],this.orderBy(b,f))},hinnn.dateFormat=function(A,f){if(A)try{var l=typeof A=="string"?new Date(A):A,u={"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 r in/(y+)/.test(f)&&(f=f.replace(RegExp.$1,(l.getFullYear()+"").substr(4-RegExp.$1.length))),u)new RegExp("("+r+")").test(f)&&(f=f.replace(RegExp.$1,RegExp.$1.length==1?u[r]:("00"+u[r]).substr((""+u[r]).length)));return f}catch(b){return console.log(b),""}return""},hinnn.numFormat=function(A,f){if(A!=null)try{var l=typeof A=="string"?parseFloat(A):A,u=parseInt(f);return u>0?l.toFixed(u):parseInt(l.toString())}catch(r){return console.log(r),""}return""}},function(K,J,d){d.d(J,"a",function(){return A});var W=d(9),A=function(){function f(){this.providers=[],this.movingDistance=1.5,this.paperHeightTrim=1,this.text={supportOptions:[{name:"title",hidden:!1,title:""},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",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:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"optionsGroup",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:{fontFamily:void 0,fontSize:void 0,fontWeight:"",letterSpacing:void 0,textAlign:void 0,textType:"text",hideTitle:!1,height:9.75,lineHeight:void 0,width:120}},this.image={supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},this.longText={supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",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:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"optionsGroup",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:{fontFamily:void 0,fontSize:void 0,fontWeight:"",letterSpacing:void 0,textAlign:void 0,hideTitle:!1,height:42,lineHeight:void 0,width:550}},this.table={supportOptions:[{name:"field",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:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{fontFamily:void 0,fontSize:void 0,fontWeight:"",textAlign:void 0,tableBorder:void 0,tableHeaderBorder:void 0,tableHeaderCellBorder:void 0,tableHeaderBackground:void 0,tableHeaderRowHeight:void 0,tableHeaderFontWeight:void 0,tableBodyCellBorder:void 0,tableFooterBorder:void 0,tableFooterCellBorder:void 0,tableBodyRowHeight:void 0,letterSpacing:"",lineHeight:void 0,width:550}},this.hline={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},this.vline={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},this.rect={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},this.oval={supportOptions:[{name:"borderColor",hidden:!1},{name:"borderWidth",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"borderStyle",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},this.html={supportOptions:[{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},this.tableColumn={supportOptions:[{name:"title",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"formatter2",hidden:!1},{name:"tableSummary",hidden:!1},{name:"styler2",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1}],default:{height:90,width:90}}}return f.prototype.init=function(l){l&&T.default.extend(this,l)},f.prototype.register=function(l){this.init(l);var u=this,r=u.getHooks("init");r&&r.forEach(b=>{b.run({Config:u,OptionItems:W,ElementTypes:Ct.ElementTypes,hinnn,hiprint:Ct})})},f.prototype.getHooks=function(l){return this.pluginsList().reduce((u,r)=>u.concat(r.hooks.filter(b=>b.hook===l)),[])},f.prototype.pluginsList=function(){var l=this;return this.plugins?this.plugins.filter(u=>l.versionCheck(u)):[]},f.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 u=f.instance.version.split("."),r=parseInt(u[0]),b=parseInt(u[1]),w=parseInt(u[2]),N=l.leastHiprintVersion.split("."),g=parseInt(N[0]),x=parseInt(N[1]),y=parseInt(N[2]);let D=!1;return r>g&&(D=!0),r===g&&b>x&&(D=!0),r===g&&b===x&&w>=y&&(D=!0),D||console.error(`Plugin [${l.name}] requires "@svelte-hiprint/hiprint" version ${l.leastHiprintVersion} and you are using ${f.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),D},f.prototype.on=function(l,u){hinnn.event.on(l,u)},f.prototype.clear=function(l){hinnn.event.clear(l)},f.prototype.registerItems=function(l){l.forEach(function(u){W.a.registerItem(new u)})},Object.defineProperty(f,"instance",{get:function(){return f._instance||(f._instance=new f,window.HIPRINT_CONFIG&&T.default.extend(f._instance,HIPRINT_CONFIG),f._instance.optionItems&&f._instance.optionItems.forEach(function(u){W.a.registerItem(new u)})),f._instance},enumerable:!0,configurable:!0}),f}()},function(K,J,d){var W=function(){function f(l){this.printElement=l}return f.prototype.updatePosition=function(l,u){this.left=l,this.top=u},f}();d.d(J,"a",function(){return A});var A=function(){function f(){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,u){var r=.75*l;return u&&(u=u),Math.round(r/u)*u}}return Object.defineProperty(f,"instance",{get:function(){return this._instance||(this._instance=new f),this._instance},enumerable:!0,configurable:!0}),f.prototype.getDragingPrintElement=function(){return f.instance.dragingPrintElement},f.prototype.setDragingPrintElement=function(l){f.instance.dragingPrintElement=new W(l)},f.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var u=16*Math.random()|0;return(l=="x"?u:3&u|8).toString(16)})},f.prototype.imageToBase64=function(l){if(T.default(l).attr("src").indexOf("base64")==-1)try{var u=document.createElement("canvas"),r=new Image;r.src=l.attr("src"),u.width=r.width,u.height=r.height,u.getContext("2d").drawImage(r,0,0),l.attr("src",u.toDataURL("image/png"))}catch{try{this.xhrLoadImage(l)}catch(w){console.log(w)}}},f.prototype.xhrLoadImage=function(l){},f.prototype.transformImg=function(l){var u=this;l.map(function(r,b){u.imageToBase64(T.default(b))})},f.prototype.getPrintTemplateById=function(l){return f.instance.printTemplateContainer[l]},f.prototype.setPrintTemplateById=function(l,u){return f.instance.printTemplateContainer[l]=u},f}()},function(K,J,d){var W=function(){return function(){}}();d.d(J,"a",function(){return A});var A=function(){function f(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 f.prototype.setDefault=function(l){this.defaultOptions=l,this.initSize()},f.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},f.prototype.initSizeByHtml=function(l,u){this.width||this.setWidth(l),this.height||this.setHeight(u)},f.prototype.getRectInfo=function(){var l={w:0,h:0,diffW:0,diffH:0};if(this.transform){var u=this.transform*Math.PI/180,r=this.width,b=this.height,w=Math.sin(u),N=Math.cos(u),g=Math.abs(r*N)+Math.abs(b*w),x=Math.abs(r*w)+Math.abs(b*N),y=(r-g)/2,D=(b-x)/2;l.w=g,l.h=x,l.diffW=y,l.diffH=D}return l},f.prototype.getLeft=function(){return this.left},f.prototype.posLeft=function(){var l=this.left;return this.transform&&(l+=this.getRectInfo().diffW),Math.floor(l*10)/10},f.prototype.setRotate=function(l){l!=null&&(this.transform=l)},f.prototype.displayLeft=function(l){return this.transform&&l?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},f.prototype.setLeft=function(l){l!=null&&(this.left=l)},f.prototype.getTop=function(){return this.top},f.prototype.posTop=function(){var l=this.top;return this.transform&&(l+=this.getRectInfo().diffH),Math.floor(l*10)/10},f.prototype.getTopInDesign=function(){return this.topInDesign},f.prototype.displayTop=function(l){return this.transform&&l?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},f.prototype.setTop=function(l){l!=null&&(this.top=l)},f.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},f.prototype.getHeight=function(){if(this.transform){var l=this.getRectInfo();return l.h+l.diffH}return this.height},f.prototype.displayHeight=function(){return this.height+"pt"},f.prototype.setHeight=function(l){l!=null&&(this.height=l)},f.prototype.getWidth=function(){if(this.transform){var l=this.getRectInfo();return l.w+l.diffW}return this.width},f.prototype.displayWidth=function(){return this.width+"pt"},f.prototype.setWidth=function(l){l!=null&&(this.width=l)},f.prototype.getValueFromOptionsOrDefault=function(l){return this[l]==null?this.defaultOptions[l]:this[l]},f.prototype.getPrintElementOptionEntity=function(){var l=new W,u=this;return Object.keys(this).filter(function(r){return r!="topInDesign"}).forEach(function(r){if(typeof u[r]!="number"&&typeof u[r]!="string"&&!["fields"].includes(r)&&bt(u[r])!=bt(!0)||(l[r]=u[r]),r=="style"){l.style={};var b=u[r];b&&Object.keys(b).forEach(function(w){typeof b[w]!="number"&&typeof b[w]!="string"||(l.style[w]=b[w])})}}),l},f.prototype.init=function(l){var u=this;l&&Object.keys(l).forEach(function(r){u[r]=l[r]})},f}()},function(K,J,d){d.d(J,"a",function(){return w});var W=d(17),A=d(1),f=d(9),l=d(6),u=d(0),r=d(8),b=d(2),w=function(){function N(g){this.printElementType=g,this.id=b.a.instance.guid()}return N.prototype.getConfigOptionsByName=function(g){return A.a.instance[g]},N.prototype.getProxyTarget=function(g){g&&this.SetProxyTargetOption(g);var x=this.getData(),y=this.createTarget(this.getTitle(),x);return this.updateTargetSize(y),this.css(y,x),y},N.prototype.SetProxyTargetOption=function(g){this.options.getPrintElementOptionEntity(),T.default.extend(this.options,g),this.copyFromType()},N.prototype.showInPage=function(g,x){var y=this.options.showInPage,D=this.options.unShowInPage;if(y){if(y=="first")return g==0;if(g==x-1&&D=="last")return!1;if(y=="odd")return(g!=0||D!="first")&&g%2==0;if(y=="even")return g%2==1;if(y=="last")return g==x-1}return(g!=0||D!="first")&&(g!=x-1||D!="last")},N.prototype.setTemplateId=function(g){this.templateId=g},N.prototype.setPanel=function(g){this.panel=g},N.prototype.getField=function(){return this.options.field||this.printElementType.field},N.prototype.getTitle=function(){return this.printElementType.title},N.prototype.updateSizeAndPositionOptions=function(g,x,y,D){this.options.setLeft(g),this.options.setTop(x),this.options.copyDesignTopFromTop(),this.options.setWidth(y),this.options.setHeight(D)},N.prototype.initSizeByHtml=function(g){if(g&&g.length){this.createTempContainer();var x=g.clone();this.getTempContainer().append(x),this.options.initSizeByHtml(parseInt(u.a.px.toPt(x.width()).toString()),parseInt(u.a.px.toPt(x.height()).toString())),this.removeTempContainer()}},N.prototype.updateTargetSize=function(g){g.css("width",this.options.displayWidth()),g.css("height",this.options.displayHeight())},N.prototype.updateTargetWidth=function(g){g.css("width",this.options.displayWidth())},N.prototype.getDesignTarget=function(g){var x=this,y=0;return this.designTarget=this.getHtml(g)[0].target,this.designPaper=g,this.designTarget.click(function(D){D.timeStamp-y>500&&u.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),y=D.timeStamp}),this.designTarget.dblclick(function(D){var H=x.designTarget.find(".hiprint-printElement-content");if(H){var v=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}),H.css("cursor","text"),H.addClass("editing"),H.click(function(C){x._editing&&C.stopPropagation()}),H.attr("contenteditable",!0),v&&v.css("display","none"),x.selectEnd(H))}}),this.designTarget},N.prototype.selectEnd=function(g){if(g.focus(),typeof window.getSelection!="undefined"&&typeof document.createRange!="undefined"){var x=document.createRange();x.selectNodeContents(g[0]),x.collapse(!1);var y=window.getSelection();y.removeAllRanges(),y.addRange(x)}else if(typeof document.body.createTextRange!="undefined"){var x=document.body.createTextRange();x.moveToElementText(g[0]),x.collapse(!1),x.select()}},N.prototype.updateByContent=function(g){var x=this,y=x.designTarget.find(".hiprint-printElement-content");if(x._editing){y&&y.css("cursor","")&&y.removeClass("editing")&&y.removeAttr("contenteditable");var D=y.text(),H=x.options.title+"\uFF1A";D.startsWith(H)&&x.options.field?D.length>H.length?x.options.testData=D.split("\uFF1A")[1]:(x.options.title=D,x.options.testData=""):x.options.title=D,g||u.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),x.updateDesignViewFromOptions(),u.a.event.trigger("hiprintTemplateDataChanged_"+x.templateId,"\u7F16\u8F91\u4FEE\u6539"),x._editing=!1;var v=x.options.draggable==null||x.options.draggable==!0;x.designTarget.hidraggable("update",{draggable:v})}},N.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},N.prototype.design=function(g,x){var y=this;this.designTarget.hidraggable({draggable:y.options.draggable,axis:y.options.axis?y.options.axis:void 0,designTarget:y,onDrag:function(H,v,C){var M=y.panel.printElements.filter(function(s){return s.designTarget.children().last().css("display")=="block"&&!s.printElementType.type.includes("table")}),o=M.length>1;if(o){var c=v-y.options.left,a=C-y.options.top;M.forEach(function(s){s.updateSizeAndPositionOptions(c+s.options.getLeft(),a+s.options.getTop()),s.designTarget.css("left",s.options.displayLeft()),s.designTarget.css("top",s.options.displayTop()),s.createLineOfPosition(x)})}else y.updateSizeAndPositionOptions(v,C),y.createLineOfPosition(x);b.a.instance.changed=!0},moveUnit:"pt",minMove:A.a.instance.movingDistance,onBeforeDrag:function(H){b.a.instance.draging=!0,y.designTarget.focus(),y.createLineOfPosition(x)},getScale:function(){return y.designPaper.scale||1},onStopDrag:function(H){b.a.instance.changed&&u.a.event.trigger("hiprintTemplateDataChanged_"+y.templateId,"\u79FB\u52A8"),b.a.instance.draging=!1,b.a.instance.changed=!1;var v=y.panel.printElements.filter(function(C){return C.designTarget.children().last().css("display")=="block"&&!C.printElementType.type.includes("table")});v.length>1?v.forEach(function(C){C.removeLineOfPosition()}):y.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){y.removeLineOfPosition(),u.a.event.trigger("hiprintTemplateMouseUp_"+x.templateId)},300)}),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,x)},N.prototype.getPrintElementEntity=function(g){return g?new W.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new W.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},N.prototype.submitOption=function(){var g=this,x=this.getConfigOptions();x&&x.tabs&&x.tabs.length?this.getPrintElementOptionTabs().forEach(function(y){y.list.forEach(function(D){var H=D.getValue(),v=D.name=="textType"&&g.options[D.name]!==H,C=D.name=="axis"&&g.options[D.name]!==H,M=D.name=="draggable"&&g.options[D.name]!==H;H&&bt(H)=="object"?Object.keys(H).forEach(function(o){g.options[o]=H[o]}):g.options[D.name]=H,v&&g.setResizePanel(),C&&g.designTarget.hidraggable("update",{axis:H}),M&&g.designTarget.hidraggable("update",{draggable:H})})}):this.getPrintElementOptionItems().forEach(function(y){var D=y.getValue(),H=y.name=="textType"&&g.options[y.name]!==D,v=y.name=="axis"&&g.options[y.name]!==D,C=y.name=="draggable"&&g.options[y.name]!==D;D&&bt(D)=="object"?Object.keys(D).forEach(function(M){g.options[M]=D[M]}):g.options[y.name]=D,H&&g.setResizePanel(),v&&g.designTarget.hidraggable("update",{axis:D}),C&&g.designTarget.hidraggable("update",{draggable:D})}),this.updateDesignViewFromOptions(),u.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},N.prototype.updateOption=function(g,x,y){try{var D=this,H=this.getConfigOptions(),v=["draggable","left","top"];H&&H.tabs&&H.tabs.length?H.tabs.forEach(function(C){C.options.forEach(function(M){v.push(M.name)})}):v=H.supportOptions.map(function(C){return C.name}),v&&v.includes(g)&&(this.options[g]=x,g=="draggable"&&D.designTarget.hidraggable("update",{draggable:x}),this.updateDesignViewFromOptions(),y||(u.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),u.a.event.trigger(D.getPrintElementSelectEventKey(),{printElement:D})))}catch(C){console.log("updateOption error",C)}},N.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||A.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||A.a.instance.qrcode.showPoints:this.options.showPoints||A.a.instance.text.showPoints},N.prototype.setResizePanel=function(){var g=this,x=this.designPaper;this.designTarget.hireizeable({showPoints:g.getReizeableShowPoints(),showSizeBox:A.a.instance.showSizeBox,getScale:function(){return g.designPaper.scale||1},onBeforeResize:function(){b.a.instance.draging=!0},onResize:function(D,H,v,C,M,o){o!=null?g.onRotate(D,o):g.onResize(D,H,v,C,M),g.createLineOfPosition(x)},onStopResize:function(D){u.a.event.trigger("hiprintTemplateDataChanged_"+g.templateId,D?"\u65CB\u8F6C":"\u5927\u5C0F"),b.a.instance.draging=!1,g.removeLineOfPosition()}}),this.options.draggable==!1&&T.default('<i style="position:absolute;font-size:12px;right:-14px;top:-14px;z-index:999" class="iconfont sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},N.prototype.onRotate=function(g,x){this.options.setRotate(x)},N.prototype.onResize=function(g,x,y,D,H){var v=this.designTarget,C=v.height(),M=v[0].clientHeight,o=v.width(),c=v[0].clientWidth;C<=40?(T.default.each([".ne",".nw",".se",".sw"],function(a,s){var I=M-30;v.find(s).css("height",I>0?I:0),v.find(s).css("width",I>0?I:0),I<=0&&(s.includes("n")&&v.find(s).css("border-top","none"),s.includes("s")&&v.find(s).css("border-bottom","none"),s.includes("e")&&v.find(s).css("border-right","none"),s.includes("w")&&v.find(s).css("border-left","none"))}),T.default.each([".e",".w"],function(a,s){var I=M-30;v.find(s).css("height",I>0?I:10),v.find(s).css("top",M/2-(I>0?I:10)/2)})):T.default.each([".e",".w"],function(a,s){v.find(s).css("top",M/2-v.find(s).height()/2)}),o<=40?(T.default.each([".ne",".nw",".se",".sw"],function(a,s){var I=c-30;v.find(s).css("height",I>0?I:0),v.find(s).css("width",I>0?I:0),I<=0&&(s.includes("n")&&v.find(s).css("border-top","none"),s.includes("s")&&v.find(s).css("border-bottom","none"),s.includes("e")&&v.find(s).css("border-right","none"),s.includes("w")&&v.find(s).css("border-left","none"))}),T.default.each([".n",".s"],function(a,s){let I=c-30;v.find(s).css("width",I>0?I:10),v.find(s).css("left",c/2-(I>0?I:10)/2)})):T.default.each([".n",".s",".r"],function(a,s){s==".r",v.find(s).css("left",c/2-v.find(s).width()/2)}),M>40&&c>40&&(T.default.each([".ne",".nw",".se",".sw"],function(a,s){s.includes("n")&&v.find(s).css("border-top",""),s.includes("s")&&v.find(s).css("border-bottom",""),s.includes("e")&&v.find(s).css("border-right",""),s.includes("w")&&v.find(s).css("border-left","")}),T.default.each([".n",".s"],function(a,s){v.find(s).css("width","")})),this.updateSizeAndPositionOptions(H,D,y,x)},N.prototype.getOrderIndex=function(){return this.options.getTop()},N.prototype.getHtml=function(g,x,y){var D=0;this.setCurrenttemplateData(x);var H=[],v=this.getBeginPrintTopInPaperByReferenceElement(g),C=g.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||v>C&&g.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),v=v-C+g.paperHeader,D++,C=g.getPaperFooter(D));var M=this.getData(x),o=this.createTarget(this.getTitle(),M,y);return this.updateTargetSize(o),this.css(o,M),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",v+"pt"),H.push(new l.a({target:o,printLine:v+this.options.getHeight(),referenceElement:new r.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:g.index,bottomInLastPaper:v+this.options.getHeight(),printTopInPaper:v})})),x&&this.options.pageBreak&&(H[0].target.css("top",g.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-g.paperHeader,H[0].printLine=g.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=g.paperHeader,H.unshift(new l.a({target:o,printLine:g.height,referenceElement:new r.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:g.index,bottomInLastPaper:g.height,printTopInPaper:g.paperHeader})}))),H},N.prototype.getHtml2=function(g,x,y){var D=0;this.setCurrenttemplateData(x);var H=[],v=this.getBeginPrintTopInPaperByReferenceElement(g),C=g.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||(g.panelPageRule!="none"&&v>C&&(H.push(new l.a({target:void 0,printLine:void 0})),v=v-C+g.paperHeader,D++,C=g.getPaperFooter(D)),v<=C&&v+this.options.getHeight()>C&&g.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),v=g.paperHeader,D++,C=g.getPaperFooter(D)));var M=this.getData(x),o=this.createTarget(this.getTitle(),M);return g.panelPageRule=="none"&&v+this.options.getHeight()>C&&this.updatePanelHeight(v+this.options.getHeight(),g),this.updateTargetSize(o),this.css(o,M),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",v+"pt"),H.push(new l.a({target:o,printLine:v+this.options.getHeight(),referenceElement:new r.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:g.index,bottomInLastPaper:v+this.options.getHeight(),printTopInPaper:v})})),x&&this.options.pageBreak&&(H[0].target.css("top",g.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-g.paperHeader,H[0].printLine=g.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=g.paperHeader,H.unshift(new l.a({target:o,printLine:g.height,referenceElement:new r.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:g.index,bottomInLastPaper:g.height,printTopInPaper:g.paperHeader})}))),H},N.prototype.updatePanelHeight=function(g,x){if(this.panel.panelPageRule=="none"){var y=u.a.pt.toMm(g);x.paperFooter=g,x.target.css("height",y+"mm"),x.target.attr("original-height",y)}},N.prototype.getBeginPrintTopInPaperByReferenceElement=function(g){var x=this.options.getTop(),y=this.options.getHeight();return this.isHeaderOrFooter()||this.isFixed()?x:g.referenceElement.isPositionLeftOrRight(x,y)?g.referenceElement.printTopInPaper+(x-g.referenceElement.top):g.referenceElement.bottomInLastPaper+(x-(g.referenceElement.top+g.referenceElement.height))},N.prototype.css=function(g,x){var y=this,D=this.getConfigOptions();if(D){var H;D.tabs&&D.tabs.length?(H=[],D.tabs.forEach(function(v){H=H.concat(v.options)})):H=D.supportOptions,H&&H.forEach(function(v){var C=f.a.getItem(v.name);C&&C.css&&C.css(g,y.options.getValueFromOptionsOrDefault(v.name))})}this.stylerCss(g,x)},N.prototype.stylerCss=function(g,x){var y=this.getStyler();if(y){var D=y(x,this.options,g,this._currenttemplateData);D&&Object.keys(D).forEach(function(H){g.css(H,D[H])})}},N.prototype.getData=function(g){var x=this.getField();return g?x&&x.split(".").reduce((y,D)=>y?y[D]:g?g[D]:"",!1)||"":this.printElementType.getData()},N.prototype.copyFromType=function(){var g=this.options,x=this.printElementType,y=this.getConfigOptions(),D=[];return y&&y.tabs&&y.tabs.length?y.tabs.forEach(function(H){H.options.forEach(function(v){D.push(v.name)})}):D=y.supportOptions.map(function(H){return H.name}),Object.keys(x).forEach(function(H){x[H]&&H!="columns"&&D.indexOf(H)>-1&&(g[H]=bt(x[H])=="function"?x[H].toString():x[H])}),g},N.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var g=[],x=this.getConfigOptions();if(x){var y=x.tabs;y&&y.forEach(function(D,H){g.push({name:D.name,list:[]}),D.options.filter(function(v){return!v.hidden}).forEach(function(v){var C=f.a.getItem(v.name);g[H].list.push(C)})})}return this._printElementOptionTabs=g,this._printElementOptionItems=void 0,this._printElementOptionTabs},N.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var g=[],x=this.getConfigOptions();if(x){var y;x.tabs&&x.tabs.length?(y=[],x.tabs.forEach(function(D){D=D.concat(D.options)})):y=x.supportOptions,y&&y.filter(function(D){return!D.hidden}).forEach(function(D){var H=f.a.getItem(D.name);g.push(H)})}return this._printElementOptionItems=this.filterOptionItems(g.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},N.prototype.getPrintElementOptionItemsByName=function(g){var x=[],y=this.getConfigOptionsByName(g);if(y){var D;y.tabs&&y.tabs.length?(D=[],y.tabs.forEach(function(H){D=D.concat(H.options)})):D=y.supportOptions,D&&D.filter(function(H){return!H.hidden}).forEach(function(H){var v=f.a.getItem(H.name);x.push(v)})}return x.concat()},N.prototype.filterOptionItems=function(g){return this.printElementType.field?g.filter(function(x){return x.name!="field"}):g},N.prototype.createTempContainer=function(){this.removeTempContainer(),T.default("body").append(T.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},N.prototype.removeTempContainer=function(){T.default(".hiprint_temp_Container").remove()},N.prototype.getTempContainer=function(){return T.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(g){this._currenttemplateData=g},N.prototype.isFixed=function(){return this.options.fixed},N.prototype.onRendered=function(g,x){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(x,this.options,g.getTarget())},N.prototype.createLineOfPosition=function(g){var x=T.default(".toplineOfPosition.id"+this.id),y=T.default(".topPosition.id"+this.id),D=T.default(".leftlineOfPosition.id"+this.id),H=T.default(".leftPosition.id"+this.id),v=T.default(".rightlineOfPosition.id"+this.id),C=T.default(".bottomlineOfPosition.id"+this.id),M=A.a.instance;if(x.length)x.css("top",this.options.displayTop(!0));else{var x=T.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');x.css("top",this.options.displayTop(!0)),x.css("width",g.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(x)}if(M.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),y.length)y.toggleClass("topPosition-lineMode",M.positionLineMode),y.text(this.options.posTop()+(M.positionUnit?"pt":"")),y.css("top",this.options.posTop()-y.height()+"pt"),M.positionLineMode?y.css("left",this.options.posLeft()-y.width()/2+"pt"):y.css("left",this.options.posLeft()+2+"pt");else{var y=T.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');y.toggleClass("topPosition-lineMode",M.positionLineMode),y.text(this.options.posTop()+(M.positionUnit?"pt":"")),M.positionLineMode?y.css("left",this.options.posLeft()-y.width()/2+"pt"):y.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(y),y.css("top",this.options.posTop()-y.height()+"pt")}if(D.length)D.css("left",this.options.displayLeft(!0));else{var o=T.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.displayLeft(!0)),o.css("height",g.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(M.showPosition)if(H.length)H.text(this.options.posLeft()+(M.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",M.positionLineMode),H.css("left",this.options.posLeft()-H.width()+"pt"),M.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt");else{var H=T.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');H.text(this.options.posLeft()+(M.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",M.positionLineMode),M.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(H),H.css("left",this.options.posLeft()-H.width()+"pt")}if(v.length)v.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var c=T.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');c.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),c.css("height",g.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(c)}if(C.length)C.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var a=T.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');a.css("top",this.options.getTop()+this.options.getHeight()+"pt"),a.css("width",g.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}},N.prototype.removeLineOfPosition=function(){T.default(".toplineOfPosition.id"+this.id).remove(),T.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),T.default(".leftlineOfPosition.id"+this.id).remove(),T.default(".leftPosition.id"+this.id).remove(),T.default(".rightlineOfPosition.id"+this.id).remove(),T.default(".bottomlineOfPosition.id"+this.id).remove()},N.prototype.getFontList=function(){var g=this.options.fontList;return g||(g=b.a.instance.getPrintTemplateById(this.templateId).getFontList())},N.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var g=this.options.fields;return g||(g=b.a.instance.getPrintTemplateById(this.templateId).getFields())},N.prototype.getOnImageChooseClick=function(){var g=this.options.onImageChooseClick;return g||(g=b.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},N.prototype.bingCopyEvent=function(g){var x=this;g.keydown(function(y){if(x._editing&&!y.altKey&&y.keyCode==13){x.updateByContent();return}(y.ctrlKey||y.metaKey)&&y.keyCode==67&&(x.panel.copyJson(),y.preventDefault()),(y.ctrlKey||y.metaKey)&&y.keyCode==88&&(x.panel.cutJson(),y.preventDefault())})},N.prototype.clone=function(g){var x=this;let y=x.printElementType.createPrintElement();return Object.keys(x.options).forEach(function(D){y.options[D]=x.options[D]}),y},N.prototype.getFormatter=function(){var g=void 0;if(this.printElementType.formatter&&(g=this.printElementType.formatter),this.options.formatter)try{var x="formatter="+this.options.formatter;eval2(x)}catch(y){console.log(y)}return g},N.prototype.getStyler=function(){var g=void 0;if(this.printElementType.styler&&(g=this.printElementType.styler),this.options.styler)try{var x="fnstyler="+this.options.styler;eval2(x)}catch(y){console.log(y)}return g},N.prototype.bingKeyboardMoveEvent=function(g,x){var y=this,D=void 0,H=void 0;g.attr("tabindex","1"),g.keydown(function(v){if(v.target.tagName!="INPUT"&&!(y._editing&&!v.altKey)&&y.options.draggable!==!1){var C=y.panel.printElements.filter(function(a){return a.designTarget.children().last().css("display")=="block"&&!a.printElementType.type.includes("table")}),M=C.length>1,o=A.a.instance.movingDistance;switch(v.keyCode){case 8:case 46:var c=y.panel;M?C.forEach(function(a){c.deletePrintElement(a)}):c.deletePrintElement(y),u.a.event.trigger("clearSettingContainer");break;case 37:D=y.options.getLeft(),M?C.forEach(function(a){a.updatePositionByMultipleSelect(0-o,0)}):(y.updateSizeAndPositionOptions(D-o),g.css("left",y.options.displayLeft())),v.preventDefault();break;case 38:H=y.options.getTop(),M?C.forEach(function(a){a.updatePositionByMultipleSelect(0,0-o)}):(y.updateSizeAndPositionOptions(void 0,H-o),g.css("top",y.options.displayTop())),v.preventDefault();break;case 39:D=y.options.getLeft(),M?C.forEach(function(a){a.updatePositionByMultipleSelect(o,0)}):(y.updateSizeAndPositionOptions(D+o),g.css("left",y.options.displayLeft())),v.preventDefault();break;case 40:H=y.options.getTop(),M?C.forEach(function(a){a.updatePositionByMultipleSelect(0,o)}):(y.updateSizeAndPositionOptions(void 0,H+o),g.css("top",y.options.displayTop())),v.preventDefault()}[37,38,39,40].includes(v.keyCode)&&u.a.event.trigger("hiprintTemplateDataChanged_"+y.templateId,"\u952E\u76D8\u79FB\u52A8")}})},N.prototype.inRect=function(g){var x=this.designPaper.scale||1,y=this.designTarget[0].offsetLeft,D=this.designTarget[0].offsetTop,H=this.designTarget[0].offsetHeight,v=this.designTarget[0].offsetWidth,C=y+v,M=D+H,o=T.default(g.target[0]).position().left/x,c=T.default(g.target[0]).position().top/x,a=g.target[0].offsetHeight,s=g.target[0].offsetWidth,I=o+s,S=c+a;return o<C&&I>y&&D<S&&M>c},N.prototype.multipleSelect=function(g){g?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},N.prototype.updatePositionByMultipleSelect=function(g,x){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(g+this.options.getLeft(),x+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},N}()},function(K,J,d){var W=function(){function v(){}return v.prototype.init=function(C){this.target=T.default('<input type="text" class="hitable-editor-text" value="" />'),C.getTarget().append(this.target),this.target.focus()},v.prototype.getValue=function(){return this.target.val()},v.prototype.setValue=function(C){this.target.val(C)},v.prototype.destroy=function(){this.target.remove()},v}(),A=function(){function v(){this.text=new W}return Object.defineProperty(v,"Instance",{get:function(){return v._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v}(),f=function(){function v(){}return v.prototype.init=function(C,M){var o=`<select class="auto-submit" style="width:100%">
|
|
2
|
+
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;C.forEach(function(c,a){c.field==M.field?o+=' <option value="'+(c.field||"")+'" selected >'+(c.text||"")+"</option>":o+=' <option value="'+(c.field||"")+'" >'+(c.text||"")+"</option>"}),o+=" </select>",this.target=T.default(o),M.getTarget().append(this.target),this.target.focus()},v.prototype.getValue=function(){var C=this.target.val(),M=this.target.find('option[value="'+C+'"]').text();return M+"#"+C},v.prototype.setValue=function(C){C&&(this.target.find('option[value="'+C+'"]').length||this.target.find("select").prepend('<option value="'+C+'" >'+C+"</option>")),this.target.find("select").val(C)},v.prototype.destroy=function(){this.target.remove()},v}(),l=function(){function v(){this.select=new f}return Object.defineProperty(v,"Instance",{get:function(){return v._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v}(),u=function(){function v(){}return Object.defineProperty(v,"Instance",{get:function(){return A._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v.prototype.createEditor=function(C){return T.default.extend({},A.Instance[C])},v.prototype.createSelect=function(C){return T.default.extend({},l.Instance[C])},v}(),r=d(10),b=d(14),w=d(11),N=function(){function v(){}return v.prototype.init=function(C,M){var o=this;this.tableOptions=M,this.title=C.title,this.field=C.field,C.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){C.isEditing=!0,o.beginEdit(C)})},v.prototype.getDisplayHtml=function(){return this.title},v.prototype.beginEdit=function(C){var M=this;M.tableOptions.options.fields&&M.tableOptions.options.fields.length?(this.editor=u.Instance.createSelect("select"),C.getTarget().html(""),this.editor.init(M.tableOptions.options.fields,C),this.editor.setValue(this.field||""),T.default(this.editor.target).keydown(function(o){o.keyCode==13&&M.endEdit(C)}),T.default(this.editor.target).change(function(o){M.endEdit(C)}),T.default(this.editor.target).blur(function(o){M.endEdit(C)})):(this.editor=u.Instance.createEditor("text"),C.getTarget().html(""),this.editor.init(C),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),T.default(this.editor.target).keydown(function(o){o.keyCode==13&&M.endEdit(C)}),T.default(this.editor.target).blur(function(o){M.endEdit(C)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=C.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=C)},v.prototype.endEdit=function(C){C.isEditing=0;var M=this.editor.getValue();if(M)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=M.split("#");C.title=this.title=o[0],o.length>0&&(C.columnId=C.field=this.field=o[1]),C.id&&C.target.attr("id",C.id),C.columnId&&C.target.attr("column-id",C.columnId)}else C.title=this.title=M;else this.tableOptions.options.isEnableEditField?(C.title=this.title="",C.field=this.field=""):C.title=this.title="";this.editor.destroy(),C.getTarget().html(this.title)},v}(),g=function(){return function(v){this.title=v.title,this.field=v.field,this.width=v.width,this.align=v.align,this.halign=v.halign,this.vAlign=v.vAlign,this.colspan=v.colspan,this.rowspan=v.rowspan,this.checked=v.checked,this.columnId=v.columnId,this.tableSummaryTitle=v.tableSummaryTitle,this.tableSummaryText=v.tableSummaryText,this.tableSummary=v.tableSummary,this.tableSummaryAlign=v.tableSummaryAlign,this.tableSummaryNumFormat=v.tableSummaryNumFormat,this.formatter2=v.formatter2,this.styler2=v.styler2,this.tableColumnHeight=v.tableColumnHeight,this.tableTextType=v.tableTextType,this.tableBarcodeMode=v.tableBarcodeMode,this.tableQRCodeLevel=v.tableQRCodeLevel}}(),x=function(){function v(){this.id=w.a.createId()}return v.prototype.init=function(C,M,o,c){this.isHead=c,this.rowId=o,this.isEditing=!1;var a=/^[0-9]*$/;this.target=C,this.tableOptions=M;var s=this.target.attr("colspan");this.colspan=a.test(s)?parseInt(s):1;var I=this.target.attr("rowspan");this.rowspan=a.test(I)?parseInt(I):1,this.initEvent(),this.isHead&&this.initInnerEelement()},v.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var C=this.getValue();this.editor=u.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(C)}},v.prototype.endEdit=function(){this.isEditing=!1;var C=this.editor.getValue();this.editor.destroy(),this.target.html(C)},v.prototype.getTarget=function(){return this.target},v.prototype.getValue=function(){return this.target.html()},v.prototype.setValue=function(C){},v.prototype.initInnerEelement=function(){this.innerElement=new N,this.innerElement.init(this,this.tableOptions)},v.prototype.initEvent=function(){},v.prototype.isXYinCell=function(C,M){var o=new r.b({x:C,y:M,height:0,width:0});return this.isOverlap(o)},v.prototype.getTableRect=function(){return new r.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},v.prototype.isOverlap=function(C){var M=this.getTableRect();return C.x+C.width>M.x&&M.x+M.width>C.x&&C.y+C.height>M.y&&M.y+M.height>C.y},v.prototype.isInRect=function(C){var M=C.rect,o=this.getTableRect();if(o.x>=M.x&&o.x+o.width<=M.x+M.width&&o.y>=M.y&&o.y+o.height<=M.y+M.height){var c=b.a.mergeRect(M,o);return JSON.stringify(M)==JSON.stringify(c)||(C.changed=!0,C.rect=c,!0)}return!1},v.prototype.isSelected=function(){return this.target.hasClass("selected")},v.prototype.select=function(){this.target.addClass("selected")},v.prototype.isHeader=function(){return!1},v.prototype.setAlign=function(C){this.align=C,C?this.target.css("text-align",C):this.target[0].style.textAlign=""},v.prototype.setVAlign=function(C){this.vAlign=C,C?this.target.css("vertical-align",C):this.target[0].style.verticalAlign=""},v.prototype.getEntity=function(){return new g(this)},v}();d.d(J,"a",function(){return H});var y,D=(y=function(C,M){return(y=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(o,c){o.__proto__=c}||function(o,c){for(var a in c)c.hasOwnProperty(a)&&(o[a]=c[a])})(C,M)},function(v,C){function M(){this.constructor=v}y(v,C),v.prototype=C===null?Object.create(C):(M.prototype=C.prototype,new M)}),H=function(v){function C(M){var o=this;return M=M||{},(o=v.call(this)||this).width=M.width?parseFloat(M.width.toString()):100,o.title=M.title,o.descTitle=M.descTitle,o.field=M.field,o.fixed=M.fixed,o.rowspan=M.rowspan?parseInt(M.rowspan):1,o.colspan=M.colspan?parseInt(M.colspan):1,o.align=M.align,o.halign=M.halign,o.vAlign=M.vAlign,o.formatter=M.formatter,o.styler=M.styler,o.formatter2=M.formatter2,o.styler2=M.styler2,o.checkbox=M.checkbox,o.checked=M.checked!=0,o.columnId=M.columnId||M.field,o.tableColumnHeight=M.tableColumnHeight||30,o.tableTextType=M.tableTextType||"text",o.tableBarcodeMode=M.tableBarcodeMode||"CODE128A",o.tableQRCodeLevel=M.tableQRCodeLevel,this.tableSummaryTitle=M.tableSummaryTitle,this.tableSummaryText=M.tableSummaryText,o.tableSummary=M.tableSummary,o.tableSummaryAlign=M.tableSummaryAlign,o.tableSummaryNumFormat=M.tableSummaryNumFormat,o}return D(C,v),C.prototype.css=function(M){},C}(x)},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){return function(A){this.printLine=A.printLine,this.target=A.target,this.referenceElement=A.referenceElement}}()},function(K,J,d){d.d(J,"a",function(){return f});var W=d(19),A=d(0),f=function(){function l(){}return l.createTableHead=function(u,r){for(var b=l.reconsitutionTableColumnTree(u),w=T.default("<thead></thead>"),N=l.getColumnsWidth(b,r),g=function(D){var H=T.default("<tr></tr>");b[D].filter(function(v){return v.checked}).forEach(function(v){var C=T.default("<td></td>");v.id&&C.attr("id",v.id),v.columnId&&C.attr("column-id",v.columnId),(v.align||v.halign)&&C.css("text-align",v.halign||v.align),v.vAlign&&C.css("vertical-align",v.vAlign),v.colspan>1&&C.attr("colspan",v.colspan),v.rowspan>1&&C.attr("rowspan",v.rowspan),C.html(v.title),N[v.id]?(v.hasWidth=!0,v.targetWidth=N[v.id],C.attr("haswidth","haswidth"),C.css("width",N[v.id]+"pt")):v.hasWidth=!1,H.append(C)}),w.append(H)},x=0;x<b.totalLayer;x++)g(x);return l.syncTargetWidthToOption(u),w},l.createTableFooter=function(u,r,b,w,N,g){var x=T.default("<tfoot></tfoot>"),y=this.getFooterFormatter(b,w),D=this.tableSummaryTitle;let H=b.tableFooterRepeat=="last"?r:g,v=b.columns.length-1;var C=this.rowColumns||b.columns[v].columns;if(b.tableFooterRepeat!="no"&&C.some(function(o){return o.tableSummary})){var M=T.default("<tr></tr>");C.filter(function(o){return o.checked}).forEach(function(o){var c=H.filter(function(Z){return Z[o.field]}).map(function(Z){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(Z[o.field])?Number(Z[o.field]):0}),a=o.tableSummaryText,s=o.tableSummaryNumFormat||2;switch(o.tableSummary){case"count":var B=D(o,a||"\u8BA1\u6570:",N);M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${B}${H.length||0}</td>`);break;case"sum":var I=parseFloat(Number(c.reduce(function(Z,z){return Z+z},0)));I=A.a.numFormat(I,s);var B=D(o,a||"\u5408\u8BA1:",N);M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${B}${I}</td>`);break;case"avg":var I=parseFloat(Number(c.reduce(function(Z,z){return Z+z},0))),S=parseFloat(Number(I/(c.length||1)));S=A.a.numFormat(S,s);var B=D(o,a||"\u5E73\u5747\u503C:",N);M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${B}${S}</td>`);break;case"min":var P=Math.min(...c);P=A.a.numFormat(P,s);var B=D(o,a||"\u6700\u5C0F\u503C:",N);M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${B}${P||0}</td>`);break;case"max":var j=Math.max(...c),B=D(o,a||"\u6700\u5927\u503C:",N);j=A.a.numFormat(j,s),M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${B}${j||0}</td>`);break;case"text":M.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${a||""}</td>`);break;default:M.append("<td></td>");break}}),x.append(M)}return y&&x.append(y(b,r,N,g)),x},l.tableSummaryTitle=function(u,r,b){var w=u.tableSummaryTitle==null||u.tableSummaryTitle==!0;return w?`${r}`:b?"":`<span style="color:firebrick">${r}</span>`},l.createTableRow=function(u,r,b,w){var N=l.reconsitutionTableColumnTree(u),g=T.default("<tbody></tbody>");return r||(r=[]),w.groupFields.length?A.a.groupBy(r,w.groupFields,function(x){var y={};return w.groupFields.forEach(function(D){return y[D]=x[D]}),y}).forEach(function(x){if(w.groupFormatter){var y=T.default("<tr><td colspan="+N.colspan+"></td></tr>");y.find("td").append(w.groupFormatter(x,b)),g.append(y)}if(x.rows.forEach(function(H,v){var C=l.createRowTarget(N,H,b,w,v);g.append(C)}),w.groupFooterFormatter){var D=T.default("<tr><td colspan="+N.colspan+"></td></tr>");D.find("td").append(w.groupFooterFormatter(x,b)),g.append(D)}}):r.forEach(function(x,y){var D=l.createRowTarget(N,x,b,w,y);g.append(D)}),g},l.createRowTarget=function(u,r,b,w,N){var g=T.default("<tr></tr>"),x=u.rowColumns.filter(function(H){return H.checked});g.data("rowData",r),u.rowColumns.filter(function(H){return H.checked}).forEach(function(H,v){if(!!H.checked){var C="";if(b.rowsColumnsMerge){eval2("rowsColumnsMerge="+b.rowsColumnsMerge);var M=C(r,H,v)||[1,1],o=T.default(`<td style = 'display:${M[0]&&M[1]?"":"none"}' rowspan = '${M[0]}' colspan = '${M[1]}'></td>`)}else var o=T.default("<td></td>");if(r&&Object.keys(r).length>0&&(b.tableHeaderRepeat=="first"||b.tableHeaderRepeat=="none")){if(H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign),b.rowsColumnsMerge&&M[1]>1){var c=0;x.forEach((Z,z)=>{z>=v&&z<v+M[1]&&(c+=Z.width)})}o.css("width",(c||H.width)+"pt")}else H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign);var a=l.getColumnFormatter(H),s=a?a(r[H.field],r,v,b):r[H.field];if(H.tableTextType=="text")o.html(s);else{if(H.tableTextType=="barcode"){o.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{s?(Vt.default(o.find(".hibarcode_imgcode")[0],s,{format:H.tableBarcodeMode,width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),o.find(".hibarcode_imgcode").attr("height",H.tableColumnHeight+"pt"),o.find(".hibarcode_imgcode").css("margin","5pt 10pt"),o.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):o.html("")}catch(Z){console.log(Z),o.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(H.tableTextType=="image"&&(o.html(""),s)){var I=T.default('<div><img style = "max-width:100%;max-height:100%"/></div>');I.find("img").attr("src",s),console.log(I.find("img").css("width")),o.html(I)}if(H.tableTextType=="qrcode"){o.html("");try{var S=T.default("<div></div>");if(s){var P=parseInt(H.width||H.targetWidth||20),j=parseInt(H.tableColumnHeight||20);S.css("height",(P>j?j:P)+"pt"),new QRCode(S[0],{width:P>j?j:P,height:P>j?j:P,colorDark:"#000000",useSVG:!0,correctLevel:H.tableQRCodeLevel}).makeCode(s),o.html(S)}}catch(Z){console.log(Z),o.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}H.tableTextType==="sequence"&&o.html(N+1)}var B=l.getColumnStyler(H);if(B){var P=B(r[H.field],r,v,b);P&&Object.keys(P).forEach(function(z){o.css(z,P[z])})}g.append(o)}});var y=l.getRowStyler(b,w);if(y){var D=y(r,b);D&&Object.keys(D).forEach(function(H){g.css(H,D[H])})}return g},l.createEmptyRowTarget=function(u){var r=l.reconsitutionTableColumnTree(u),b=T.default("<tr></tr>");return r.rowColumns.filter(function(w){return w.checked}).forEach(function(w,N){var g=T.default("<td></td>");w.field&&g.attr("field",w.field),w.align&&g.css("text-align",w.align),w.vAlign&&g.css("vertical-align",w.vAlign),b.append(g)}),b},l.getColumnsWidth=function(u,r){var b={},w=l.allAutoWidth(u),N=l.allFixedWidth(u);return u.rowColumns.filter(function(g){return g.checked}).forEach(function(g){if(g.fixed)b[g.id]=g.width;else{var x=r-N,y=g.width/w*(x>0?x:0);b[g.id]=y}}),b},l.resizeTableCellWidth=function(u,r,b){var w=l.reconsitutionTableColumnTree(r),N=l.getColumnsWidth(w,b);u.find("thead tr td[haswidth]").map(function(g,x){var y=T.default(x).attr("id"),D=N[y];T.default(x).css("width",D+"pt")})},l.allAutoWidth=function(u){var r=0;return u.rowColumns.filter(function(b){return b.checked}).forEach(function(b){r+=b.fixed?0:b.width}),r},l.allFixedWidth=function(u){var r=0;return u.rowColumns.filter(function(b){return b.checked}).forEach(function(b){r+=b.fixed?b.width:0}),r},l.reconsitutionTableColumnTree=function(u,r,b){var w=r||new W.a;w.colspan=0;for(var N=function(y){w.totalLayer=y+1,w[y]=u[y].columns,y==0&&u[y].columns.forEach(function(D){y==0&&(w.colspan+=D.colspan)})},g=0;g<u.length;g++)N(g);return w.rowColumns=l.getOrderdColumns(w),w},l.syncTargetWidthToOption=function(u){u.forEach(function(r){r.columns.forEach(function(b){b.hasWidth&&(b.width=b.targetWidth)})})},l.getFooterFormatter=function(u,r){var b=void 0;if(r.footerFormatter&&(b=r.footerFormatter),u.footerFormatter)try{var w="footerFormatter="+u.footerFormatter;eval2(w)}catch(N){console.log(N)}return b},l.getRowStyler=function(u,r){var b=void 0;if(r.rowStyler&&(b=r.rowStyler),u.rowStyler)try{var w="rowStyler="+u.rowStyler;eval2(w)}catch(N){console.log(N)}return b},l.getColumnStyler=function(u){var r=void 0;if(u.styler&&(r=u.styler),u.styler2)try{var b="styler="+u.styler2;eval2(b)}catch(w){console.log(w)}return r},l.getColumnFormatter=function(u){var r=void 0;if(u.formatter&&(r=u.formatter),u.formatter2)try{var b="formatter="+u.formatter2;eval2(b)}catch(w){console.log(w)}return r},l.getOrderdColumns=function(u){let r={};for(let b=0;b<u.totalLayer;b++)r[b]=[],u[b].forEach((w,N)=>{r[b].push(...new Array(w.colspan).fill({...w,colspan:1}))});for(let b=0;b<u.totalLayer;b++)r[b].forEach((w,N)=>{for(let g=1;g<w.rowspan;g++)r[b+g].splice(N,0,{...w,rowspan:1})});return console.log("\u539F\u59CB\u6570\u636E"),console.log(u),console.log("\u6570\u636E\u6E90"),console.log(r),this.rowColumns=r[u.totalLayer-1],r[u.totalLayer-1]},l}()},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){function A(f){this.top=f.top,this.left=f.left,this.height=f.height,this.width=f.width,this.bottomInLastPaper=f.bottomInLastPaper,this.beginPrintPaperIndex=f.beginPrintPaperIndex,this.printTopInPaper=f.printTopInPaper,this.endPrintPaperIndex=f.endPrintPaperIndex}return A.prototype.isPositionLeftOrRight=function(f,l){return this.top<=f&&this.top>f&&this.beginPrintPaperIndex==this.endPrintPaperIndex},A}()},function(K,J,d){var W=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("line-height",E+"pt"),"line-height:"+E+"pt";t[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
3
3
|
<div class="hiprint-option-item-label">
|
|
4
4
|
\u5B57\u4F53\u884C\u9AD8
|
|
5
5
|
</div>
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
<option value="36" >36pt</option>
|
|
50
50
|
</select>
|
|
51
51
|
</div>
|
|
52
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
52
|
+
</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}(),A=function(){function n(){this.name="fontFamily"}return n.prototype.createTarget=function(t){var E=void 0;if(t&&(E=t.getFontList()),E){var Y=` <div class="hiprint-option-item">
|
|
53
53
|
<div class="hiprint-option-item-label">
|
|
54
54
|
\u5B57\u4F53
|
|
55
55
|
</div>
|
|
56
56
|
<div class="hiprint-option-item-field">
|
|
57
57
|
<select class="auto-submit">
|
|
58
|
-
<option value="" >\u9ED8\u8BA4</option>`;E.forEach(function(
|
|
58
|
+
<option value="" >\u9ED8\u8BA4</option>`;E.forEach(function(nt,mt){Y+=' <option value="'+(nt.value||"")+'" >'+(nt.title||"")+"</option>"}),Y+=` </select>
|
|
59
59
|
</div>
|
|
60
|
-
</div>`,this.target=
|
|
60
|
+
</div>`,this.target=T.default(Y)}else this.target=T.default(` <div class="hiprint-option-item">
|
|
61
61
|
<div class="hiprint-option-item-label">
|
|
62
62
|
\u5B57\u4F53
|
|
63
63
|
</div>
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<option value="Microsoft YaHei" >\u5FAE\u8F6F\u96C5\u9ED1</option>
|
|
69
69
|
</select>
|
|
70
70
|
</div>
|
|
71
|
-
</div>`);return this.target},n.prototype.css=function(
|
|
71
|
+
</div>`);return this.target},n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("font-family",E),"font-family:"+E;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}(),f=function(){function n(){this.name="fontSize"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("font-size",E+"pt"),"font-size:"+E+"pt";t[0].style.fontSize=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
72
72
|
<div class="hiprint-option-item-label">
|
|
73
73
|
\u5B57\u4F53\u5927\u5C0F
|
|
74
74
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<option value="21.75" >21.75pt</option>
|
|
100
100
|
</select>
|
|
101
101
|
</div>
|
|
102
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
102
|
+
</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,E){if(t&&t.length){if(E)return t.css("font-weight",E),"font-weight:"+E;t[0].style.fontWeight=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
103
103
|
<div class="hiprint-option-item-label">
|
|
104
104
|
\u5B57\u4F53\u7C97\u7EC6
|
|
105
105
|
</div>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<option value="900" >900</option>
|
|
121
121
|
</select>
|
|
122
122
|
</div>
|
|
123
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
123
|
+
</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}(),u=function(){function n(){this.name="letterSpacing"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("letter-spacing",E+"pt"),"letter-spacing:"+E+"pt";t[0].style.letterSpacing=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
124
124
|
<div class="hiprint-option-item-label">
|
|
125
125
|
\u5B57\u95F4\u8DDD
|
|
126
126
|
</div>
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
<option value="12" >12pt</option>
|
|
146
146
|
</select>
|
|
147
147
|
</div>
|
|
148
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
148
|
+
</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}(),r=function(){function n(){this.name="textAlign"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("text-align",E),E=="justify"?(t.css("text-align-last","justify"),t.css("text-justify","distribute-all-lines")):(t[0].style.textAlignLast="",t[0].style.textJustify=""),"text-align:"+E;t[0].style.textAlign="",t[0].style.textAlignLast="",t[0].style.textJustify=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
149
149
|
<div class="hiprint-option-item-label">
|
|
150
150
|
\u5DE6\u53F3\u5BF9\u9F50
|
|
151
151
|
</div>
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
159
159
|
</select>
|
|
160
160
|
</div>
|
|
161
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
161
|
+
</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}(),b=function(){function n(){this.name="hideTitle"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
162
162
|
<div class="hiprint-option-item-label">
|
|
163
163
|
\u6807\u9898\u663E\u793A\u9690\u85CF
|
|
164
164
|
</div>
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
<option value="true" >\u9690\u85CF</option>
|
|
170
170
|
</select>
|
|
171
171
|
</div>
|
|
172
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
172
|
+
</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}(),w=function(){function n(){this.name="tableBorder"}return n.prototype.css=function(t,E){if(t.find("table").length){if(E=="border"||E==null)return t.find("table").css("border","1px solid"),"border:1px solid";E=="noBorder"?t.find("table").css("border","0px solid"):t.find("table")[0].style.border=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
173
173
|
<div class="hiprint-option-item-label">
|
|
174
174
|
\u8868\u683C\u8FB9\u6846
|
|
175
175
|
</div>
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
181
181
|
</select>
|
|
182
182
|
</div>
|
|
183
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
183
|
+
</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="tableHeaderBorder"}return n.prototype.css=function(t,E){if(t.find("thead tr").length){if(E=="border"||E==null)return t.find("thead tr").css("border","1px solid"),"border:1pt solid";E=="noBorder"?t.find("thead tr").css("border","0px solid"):E=="topBorder"?(t.find("thead tr").css("border","0px solid"),t.find("thead tr").css("border-top","1px solid")):E=="bottomBorder"?(t.find("thead tr").css("border","0px solid"),t.find("thead tr").css("border-bottom","1px solid")):E=="topBottomBorder"?(t.find("thead tr").css("border","0px solid"),t.find("thead tr").css("border-top","1px solid"),t.find("thead tr").css("border-bottom","1px solid")):t.find("thead tr").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
184
184
|
<div class="hiprint-option-item-label">
|
|
185
185
|
\u8868\u5934\u8FB9\u6846
|
|
186
186
|
</div>
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
195
195
|
</select>
|
|
196
196
|
</div>
|
|
197
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
197
|
+
</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}(),g=function(){function n(){this.name="tableHeaderCellBorder"}return n.prototype.css=function(t,E){if(t.find("thead tr td").length){if(E=="border"||E==null)return t.find("thead tr td").css("border","1px solid"),"border:1px solid";E=="noBorder"?t.find("thead tr td").css("border","0px solid"):t.find("thead tr td").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
198
198
|
<div class="hiprint-option-item-label">
|
|
199
199
|
\u8868\u5934\u5355\u5143\u683C\u8FB9\u6846
|
|
200
200
|
</div>
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
</select>
|
|
208
208
|
</div>
|
|
209
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
209
|
+
</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}(),x=function(){function n(){this.name="tableFooterBorder"}return n.prototype.css=function(t,E){if(t.find("tfoot tr").length){if(E=="border"||E==null)return t.find("tfoot tr").css("border","1px solid"),"border:1pt solid";E=="noBorder"?t.find("tfoot tr").css("border","0px solid"):E=="topBorder"?(t.find("tfoot tr").css("border","0px solid"),t.find("tfoot tr").css("border-top","1px solid")):E=="bottomBorder"?(t.find("tfoot tr").css("border","0px solid"),t.find("tfoot tr").css("border-bottom","1px solid")):E=="topBottomBorder"?(t.find("tfoot tr").css("border","0px solid"),t.find("tfoot tr").css("border-top","1px solid"),t.find("tfoot tr").css("border-bottom","1px solid")):t.find("tfoot tr").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
210
210
|
<div class="hiprint-option-item-label">
|
|
211
211
|
\u8868\u5C3E\u8FB9\u6846
|
|
212
212
|
</div>
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
221
221
|
</select>
|
|
222
222
|
</div>
|
|
223
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
223
|
+
</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}(),y=function(){function n(){this.name="tableFooterCellBorder"}return n.prototype.css=function(t,E){if(t.find("tfoot tr td").length){if(E=="border"||E==null)return t.find("tfoot tr td").css("border","1px solid"),"border:1px solid";E=="noBorder"?t.find("tfoot tr td").css("border","0px solid"):t.find("tfoot tr td").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
224
224
|
<div class="hiprint-option-item-label">
|
|
225
225
|
\u8868\u5C3E\u5355\u5143\u683C\u8FB9\u6846
|
|
226
226
|
</div>
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
|
|
233
233
|
</select>
|
|
234
234
|
</div>
|
|
235
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
235
|
+
</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}(),D=function(){function n(){this.name="tableHeaderRowHeight"}return n.prototype.css=function(t,E){if(t.find("thead tr td").length){if(E)return t.find("thead tr td:not([rowspan])").css("height",E+"pt"),"height:"+E+"pt";t.find("thead tr td").map(function(Y,nt){nt.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
236
236
|
<div class="hiprint-option-item-label">
|
|
237
237
|
\u8868\u5934\u884C\u9AD8
|
|
238
238
|
</div>
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
<option value="36" >36pt</option>
|
|
284
284
|
</select>
|
|
285
285
|
</div>
|
|
286
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
286
|
+
</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}(),H=function(){function n(){this.name="tableHeaderFontSize"}return n.prototype.css=function(t,E){if(t.find("thead").length){if(E)return t.find("thead").css("font-size",E+"pt"),"font-size:"+E+"pt";t.find("thead").map(function(Y,nt){nt.style.fontSize=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
287
287
|
<div class="hiprint-option-item-label">
|
|
288
288
|
\u8868\u5934\u5B57\u4F53\u5927\u5C0F
|
|
289
289
|
</div>
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
<option value="21.75" >21.75pt</option>
|
|
315
315
|
</select>
|
|
316
316
|
</div>
|
|
317
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
317
|
+
</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}(),v=function(){function n(){this.name="tableHeaderFontWeight"}return n.prototype.css=function(t,E){if(t.find("thead").length){if(E)return t.find("thead tr td").css("font-weight",E),"font-weight:"+E;t.find("thead tr td").map(function(Y,nt){nt.style.fontWeight=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
318
318
|
<div class="hiprint-option-item-label">
|
|
319
319
|
\u8868\u5934\u5B57\u4F53\u7C97\u7EC6
|
|
320
320
|
</div>
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
<option value="900" >900</option>
|
|
336
336
|
</select>
|
|
337
337
|
</div>
|
|
338
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
338
|
+
</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}(),C=function(){function n(){this.name="tableBodyCellBorder"}return n.prototype.css=function(t,E){if(t.find("tbody tr td").length){if(E=="border"||E==null)return t.find("tbody tr td").css("border","1px solid"),"border:1px solid";E=="noBorder"?t.find("tbody tr td").css("border","0px solid"):t.find("tbody tr td").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
339
339
|
<div class="hiprint-option-item-label">
|
|
340
340
|
\u8868\u4F53\u5355\u5143\u683C\u8FB9\u6846
|
|
341
341
|
</div>
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
347
347
|
</select>
|
|
348
348
|
</div>
|
|
349
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
349
|
+
</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}(),M=function(){function n(){this.name="tableBodyRowHeight"}return n.prototype.css=function(t,E){if(t.find("tbody tr td").length){if(E)return t.find("tbody tr td:not([rowspan])").css("height",E+"pt"),"height:"+E+"pt";t.find("tbody tr td").map(function(Y,nt){nt.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
350
350
|
<div class="hiprint-option-item-label">
|
|
351
351
|
\u8868\u4F53\u884C\u9AD8
|
|
352
352
|
</div>
|
|
@@ -396,14 +396,14 @@
|
|
|
396
396
|
<option value="36" >36pt</option>
|
|
397
397
|
</select>
|
|
398
398
|
</div>
|
|
399
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
399
|
+
</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,E){if(t.find("thead").length){if(E)return t.find("thead").css("background",E),"background:"+E;t.find("thead").map(function(Y,nt){nt.style.background=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
400
400
|
<div class="hiprint-option-item-label">
|
|
401
401
|
\u8868\u5934\u80CC\u666F
|
|
402
402
|
</div>
|
|
403
403
|
<div class="hiprint-option-item-field">
|
|
404
404
|
<input type="text" class="auto-submit" />
|
|
405
405
|
</div>
|
|
406
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
406
|
+
</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}(),c=function(){function n(){this.name="borderWidth"}return n.prototype.createTarget=function(t){var E=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=T.default(` <div class="hiprint-option-item">
|
|
407
407
|
<div class="hiprint-option-item-label">
|
|
408
408
|
`+E+`
|
|
409
409
|
</div>
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
<option value="6.75" >6.75pt</option>
|
|
422
422
|
</select>
|
|
423
423
|
</div>
|
|
424
|
-
</div>`),this.target},n.prototype.css=function(
|
|
424
|
+
</div>`),this.target},n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-width",E+"pt"),"border-width:"+E+"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=T.default(` <div class="hiprint-option-item">
|
|
425
425
|
<div class="hiprint-option-item-label">
|
|
426
426
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
427
427
|
</div>
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
<option value="Pharmacode" >Pharmacode</option>
|
|
448
448
|
</select>
|
|
449
449
|
</div>
|
|
450
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
450
|
+
</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}(),s=function(){function n(){this.name="qrCodeLevel"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
451
451
|
<div class="hiprint-option-item-label">
|
|
452
452
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
453
453
|
</div>
|
|
@@ -460,14 +460,14 @@
|
|
|
460
460
|
<option value="2" >30% H</option>
|
|
461
461
|
</select>
|
|
462
462
|
</div>
|
|
463
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
463
|
+
</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}(),I=function(){function n(){this.name="color"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("color",E),"color:"+E;t[0].style.color=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
464
464
|
<div class="hiprint-option-item-label">
|
|
465
465
|
\u5B57\u4F53\u989C\u8272
|
|
466
466
|
</div>
|
|
467
467
|
<div class="hiprint-option-item-field">
|
|
468
468
|
<input type="text" class="auto-submit"/>
|
|
469
469
|
</div>
|
|
470
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
470
|
+
</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}(),S=function(){function n(){this.name="textDecoration"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
471
471
|
<div class="hiprint-option-item-label">
|
|
472
472
|
\u6587\u672C\u4FEE\u9970
|
|
473
473
|
</div>
|
|
@@ -480,55 +480,55 @@
|
|
|
480
480
|
|
|
481
481
|
</select>
|
|
482
482
|
</div>
|
|
483
|
-
</div>`),this.target},n.prototype.css=function(
|
|
483
|
+
</div>`),this.target},n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("text-decoration",E),"text-decoration:"+E;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}(),P=function(){function n(){this.name="field"}return n.prototype.createTarget=function(t){var E=void 0;if(t&&(E=t.getFields()),E){this.isSelect=!0;var Y=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
484
484
|
<div class="hiprint-option-item-label">
|
|
485
485
|
\u5B57\u6BB5\u540D
|
|
486
486
|
</div>
|
|
487
487
|
<div class="hiprint-option-item-field">
|
|
488
488
|
<select class="auto-submit">
|
|
489
|
-
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;E.forEach(function(
|
|
489
|
+
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;E.forEach(function(nt,mt){Y+=' <option value="'+(nt.field||"")+'" >'+(nt.text||"")+"</option>"}),Y+=` </select>
|
|
490
490
|
</div>
|
|
491
|
-
</div>`,this.target=
|
|
491
|
+
</div>`,this.target=T.default(Y)}else this.isSelect=!1,this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
492
492
|
<div class="hiprint-option-item-label">
|
|
493
493
|
\u5B57\u6BB5\u540D
|
|
494
494
|
</div>
|
|
495
495
|
<div class="hiprint-option-item-field">
|
|
496
496
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
|
|
497
497
|
</div>
|
|
498
|
-
</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(
|
|
498
|
+
</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}(),j=function(){function n(){this.name="title"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
499
499
|
<div class="hiprint-option-item-label">
|
|
500
500
|
\u6807\u9898
|
|
501
501
|
</div>
|
|
502
502
|
<div class="hiprint-option-item-field">
|
|
503
503
|
<textarea style="height:50px;" placeholder="\u8BF7\u8F93\u5165\u6807\u9898" class="auto-submit"></textarea>
|
|
504
504
|
</div>
|
|
505
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
505
|
+
</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}(),B=function(){function n(){this.name="testData"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
506
506
|
<div class="hiprint-option-item-label">
|
|
507
507
|
\u6D4B\u8BD5\u6570\u636E
|
|
508
508
|
</div>
|
|
509
509
|
<div class="hiprint-option-item-field">
|
|
510
510
|
<input type="text" placeholder="\u4EC5\u5B57\u6BB5\u540D\u79F0\u5B58\u5728\u65F6\u6709\u6548" class="auto-submit" >
|
|
511
511
|
</div>
|
|
512
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
512
|
+
</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}(),Z=function(){function n(){this.name="coordinate"}return n.prototype.createTarget=function(t,E){var Y=this;return Y.target=T.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
513
513
|
\u4F4D\u7F6E\u5750\u6807
|
|
514
514
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
515
515
|
<input type="number" style="width:48%" placeholder="X\u4F4D\u7F6E(\u5DE6)" class="auto-submit" />
|
|
516
516
|
<input type="number" style="width:48%" placeholder="Y\u4F4D\u7F6E(\u4E0A)" class="auto-submit" />
|
|
517
517
|
</div>
|
|
518
|
-
</div>`),
|
|
518
|
+
</div>`),Y.syncLock=E.coordinateSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var E=this;return E.lockTarget=E.syncLock?T.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):T.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),E.lockTarget.click(function(){E.syncLock?E.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):E.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),E.syncLock=!E.syncLock}),E.target.find("input:first").after(E.lockTarget),E.target.find("input:first").change(function(){E.syncLock&&E.target.find("input:last").val(T.default(this).val())}),E.target.find("input:last").change(function(){E.syncLock&&E.target.find("input:first").val(T.default(this).val())}),E.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 E=this.getValue();return t.css("left",E.left+"pt").css("top",E.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,E){this.el=E.designTarget||E,this.target.find("input:first").val(t.left),this.target.find("input:last").val(t.top)},n.prototype.destroy=function(){this.target.remove()},n}(),z=function(){function n(){this.name="widthHeight"}return n.prototype.createTarget=function(t,E){var Y=this;return Y.target=T.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
519
519
|
\u5BBD\u9AD8\u5927\u5C0F
|
|
520
520
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
521
521
|
<input type="number" style="width:48%" placeholder="\u5BBD" class="auto-submit" />
|
|
522
522
|
<input type="number" style="width:48%" placeholder="\u9AD8" class="auto-submit" />
|
|
523
523
|
</div>
|
|
524
|
-
</div>`),
|
|
524
|
+
</div>`),Y.syncLock=E.widthHeightSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var E=this;return E.lockTarget=E.syncLock?T.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):T.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),E.lockTarget.click(function(){E.syncLock?E.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):E.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),E.syncLock=!E.syncLock}),E.target.find("input:first").after(E.lockTarget),E.target.find("input:first").change(function(){E.syncLock&&E.target.find("input:last").val(T.default(this).val())}),E.target.find("input:last").change(function(){E.syncLock&&E.target.find("input:first").val(T.default(this).val())}),E.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 E=this.getValue();return t.css("width",E.width+"pt").css("height",E.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,E){this.el=E.designTarget||E,this.target.find("input:first").val(t.width),this.target.find("input:last").val(t.height)},n.prototype.destroy=function(){this.target.remove()},n}(),O=function(){function n(){this.name="src"}return n.prototype.createTarget=function(t){this.el=t;var E=void 0,Y=this;return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
525
525
|
<div class="hiprint-option-item-label">
|
|
526
526
|
\u56FE\u7247\u5730\u5740
|
|
527
527
|
</div>
|
|
528
528
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
529
529
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740" class="auto-submit" style="width:70%">
|
|
530
530
|
<button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button> </div>
|
|
531
|
-
</div>`),
|
|
531
|
+
</div>`),t&&(E=t.getOnImageChooseClick()),E&&this.target.find("button").click(function(){E&&E(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,E,Y){this.setValue(t),this.target.find("input").change();var nt=this;if(this.el&&E){var mt=new Image;mt.src=t,mt.complete?nt.updateEl(mt.width,mt.height,E,Y):mt.onload=function(){nt.updateEl(mt.width,mt.height,E,Y)}}},n.prototype.updateEl=function(t,E,Y,nt){if(Y){var mt,vt,st;(Y||Y.auto)&&(t>=E?Y.width=!0:Y.height=!0),Y.width?(mt=E/t,vt=this.el.options.width,st=Math.floor(vt*mt*10)/10,this.el.options.height=st,this.el.designTarget.css("height",st+"pt")):Y.height?(mt=t/E,st=this.el.options.height,vt=Math.floor(st*mt*10)/10,this.el.options.width=vt,this.el.designTarget.css("width",vt+"pt")):Y.real&&(vt=hinnn.px.toPt(t),st=hinnn.px.toPt(E),this.el.options.width=vt,this.el.options.height=st,this.el.designTarget.css("width",vt+"pt"),this.el.designTarget.css("height",st+"pt")),this.el.designTarget.children(".resize-panel").trigger(T.default.Event("click"))}else nt&&nt(this.el,t,E)},n.prototype.destroy=function(){this.target.remove()},n}(),F=function(){function n(){this.name="fit"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.find("img").css("object-fit",E),"object-fit:"+E;t.find("img")[0].style["object-fit"]=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
532
532
|
<div class="hiprint-option-item-label">
|
|
533
533
|
\u56FE\u7247\u7F29\u653E
|
|
534
534
|
</div>
|
|
@@ -541,21 +541,21 @@
|
|
|
541
541
|
<option value="none" >\u539F\u59CB\u5C3A\u5BF8</option>
|
|
542
542
|
</select>
|
|
543
543
|
</div>
|
|
544
|
-
</div>`),this.target,this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(
|
|
544
|
+
</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,E){if(t&&t.length){if(E)return t.css("border-color",E),"border-color:"+E;t[0].style.borderColor=""}return null},n.prototype.createTarget=function(t){var E=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=T.default(` <div class="hiprint-option-item">
|
|
545
545
|
<div class="hiprint-option-item-label">
|
|
546
546
|
`+E+`
|
|
547
547
|
</div>
|
|
548
548
|
<div class="hiprint-option-item-field">
|
|
549
549
|
<input type="text" class="auto-submit" />
|
|
550
550
|
</div>
|
|
551
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
551
|
+
</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}(),X=function(){function n(){this.name="paperNumberFormat"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
552
552
|
<div class="hiprint-option-item-label">
|
|
553
553
|
\u9875\u7801\u683C\u5F0F
|
|
554
554
|
</div>
|
|
555
555
|
<div class="hiprint-option-item-field">
|
|
556
556
|
<input type="text" placeholder="paperNo-paperCount" class="auto-submit">
|
|
557
557
|
</div>
|
|
558
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
558
|
+
</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}(),q=function(){function n(){this.name="paperNumberDisabled"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
559
559
|
<div class="hiprint-option-item-label">
|
|
560
560
|
\u663E\u793A\u9875\u7801
|
|
561
561
|
</div>
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
<option value="true" >\u9690\u85CF</option>
|
|
566
566
|
</select>
|
|
567
567
|
</div>
|
|
568
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
568
|
+
</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}(),at=function(){function n(){this.name="longTextIndent"}return n.prototype.css=function(t,E){return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
569
569
|
<div class="hiprint-option-item-label">
|
|
570
570
|
\u6BCF\u884C\u7F29\u8FDB
|
|
571
571
|
</div>
|
|
@@ -615,7 +615,7 @@
|
|
|
615
615
|
<option value="36" >36pt</option>
|
|
616
616
|
</select>
|
|
617
617
|
</div>
|
|
618
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
618
|
+
</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="showInPage"}return n.prototype.css=function(t,E){if(t&&t.length){if(E&&E=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
619
619
|
<div class="hiprint-option-item-label">
|
|
620
620
|
\u663E\u793A\u89C4\u5219
|
|
621
621
|
</div>
|
|
@@ -629,7 +629,17 @@
|
|
|
629
629
|
<option value="last" >\u5C3E\u9875</option>
|
|
630
630
|
</select>
|
|
631
631
|
</div>
|
|
632
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
632
|
+
</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}(),ot=function(){function n(){this.name="pageBreak"}return n.prototype.css=function(t,E){if(t&&t.length){if(E&&E=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
633
|
+
<div class="hiprint-option-item-label">
|
|
634
|
+
\u5F3A\u5236\u5206\u9875
|
|
635
|
+
</div>
|
|
636
|
+
<div class="hiprint-option-item-field">
|
|
637
|
+
<select class="auto-submit">
|
|
638
|
+
<option value="" >\u9ED8\u8BA4</option>
|
|
639
|
+
<option value="true" >\u662F</option>
|
|
640
|
+
</select>
|
|
641
|
+
</div>
|
|
642
|
+
</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}(),pt=function(){function n(){this.name="panelPaperRule"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
633
643
|
<div class="hiprint-option-item-label">
|
|
634
644
|
\u6253\u5370\u89C4\u5219
|
|
635
645
|
</div>
|
|
@@ -640,7 +650,7 @@
|
|
|
640
650
|
<option value="even" >\u4FDD\u6301\u5076\u6570</option>
|
|
641
651
|
</select>
|
|
642
652
|
</div>
|
|
643
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
653
|
+
</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}(),It=function(){function n(){this.name="panelPageRule"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
644
654
|
<div class="hiprint-option-item-label">
|
|
645
655
|
\u5206\u9875\u89C4\u5219
|
|
646
656
|
</div>
|
|
@@ -650,7 +660,7 @@
|
|
|
650
660
|
<option value="none" >\u4E0D\u5206\u9875</option>
|
|
651
661
|
</select>
|
|
652
662
|
</div>
|
|
653
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
663
|
+
</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="leftSpaceRemoved"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
654
664
|
<div class="hiprint-option-item-label">
|
|
655
665
|
\u79FB\u9664\u6BB5\u843D\u5DE6\u4FA7\u7A7A\u767D
|
|
656
666
|
</div>
|
|
@@ -661,35 +671,35 @@
|
|
|
661
671
|
<option value="false" >\u4E0D\u79FB\u9664</option>
|
|
662
672
|
</select>
|
|
663
673
|
</div>
|
|
664
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},n.prototype.setValue=function(
|
|
674
|
+
</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}(),Pt=function(){function n(){this.name="firstPaperFooter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
665
675
|
<div class="hiprint-option-item-label">
|
|
666
676
|
\u9996\u9875\u9875\u5C3E
|
|
667
677
|
</div>
|
|
668
678
|
<div class="hiprint-option-item-field">
|
|
669
679
|
<input type="text" placeholder="\u9996\u9875\u9875\u5C3E" class="auto-submit">
|
|
670
680
|
</div>
|
|
671
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
681
|
+
</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}(),gt=function(){function n(){this.name="lastPaperFooter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
672
682
|
<div class="hiprint-option-item-label">
|
|
673
683
|
\u5C3E\u9875\u9875\u5C3E
|
|
674
684
|
</div>
|
|
675
685
|
<div class="hiprint-option-item-field">
|
|
676
686
|
<input type="text" placeholder="\u5C3E\u9875\u9875\u5C3E" class="auto-submit">
|
|
677
687
|
</div>
|
|
678
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
688
|
+
</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}(),Mt=function(){function n(){this.name="evenPaperFooter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
679
689
|
<div class="hiprint-option-item-label">
|
|
680
690
|
\u5076\u6570\u9875\u9875\u5C3E
|
|
681
691
|
</div>
|
|
682
692
|
<div class="hiprint-option-item-field">
|
|
683
693
|
<input type="text" placeholder="\u5076\u6570\u9875\u9875\u5C3E" class="auto-submit">
|
|
684
694
|
</div>
|
|
685
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
695
|
+
</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}(),ht=function(){function n(){this.name="oddPaperFooter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
686
696
|
<div class="hiprint-option-item-label">
|
|
687
697
|
\u5947\u6570\u9875\u9875\u5C3E
|
|
688
698
|
</div>
|
|
689
699
|
<div class="hiprint-option-item-field">
|
|
690
700
|
<input type="text" placeholder="\u5947\u6570\u9875\u9875\u5C3E" class="auto-submit" >
|
|
691
701
|
</div>
|
|
692
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
702
|
+
</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="fixed"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
693
703
|
<div class="hiprint-option-item-label">
|
|
694
704
|
\u4F4D\u7F6E\u56FA\u5B9A
|
|
695
705
|
</div>
|
|
@@ -700,7 +710,7 @@
|
|
|
700
710
|
<option value="true" >\u662F</option>
|
|
701
711
|
</select>
|
|
702
712
|
</div>
|
|
703
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
713
|
+
</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}(),Tt=function(){function n(){this.name="axis"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
704
714
|
<div class="hiprint-option-item-label">
|
|
705
715
|
\u62D6\u52A8\u65B9\u5411
|
|
706
716
|
</div>
|
|
@@ -711,21 +721,21 @@
|
|
|
711
721
|
<option value="v" >\u7AD6\u5411</option>
|
|
712
722
|
</select>
|
|
713
723
|
</div>
|
|
714
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
724
|
+
</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}(),yt=function(){function n(){this.name="leftOffset"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
715
725
|
<div class="hiprint-option-item-label">
|
|
716
726
|
\u5DE6\u504F\u79FB
|
|
717
727
|
</div>
|
|
718
728
|
<div class="hiprint-option-item-field">
|
|
719
729
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit" >
|
|
720
730
|
</div>
|
|
721
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
731
|
+
</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}(),jt=function(){function n(){this.name="lHeight"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
722
732
|
<div class="hiprint-option-item-label">
|
|
723
733
|
\u6700\u4F4E\u9AD8\u5EA6
|
|
724
734
|
</div>
|
|
725
735
|
<div class="hiprint-option-item-field">
|
|
726
736
|
<input type="text" placeholder="\u6587\u672C\u8FC7\u77ED\u6216\u4E3A\u7A7A\u65F6\u7684\u9AD8\u5EA6" class="auto-submit">
|
|
727
737
|
</div>
|
|
728
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
738
|
+
</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="unShowInPage"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
729
739
|
<div class="hiprint-option-item-label">
|
|
730
740
|
\u9690\u85CF\u89C4\u5219
|
|
731
741
|
</div>
|
|
@@ -736,7 +746,7 @@
|
|
|
736
746
|
<option value="last" >\u5C3E\u9875</option>
|
|
737
747
|
</select>
|
|
738
748
|
</div>
|
|
739
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
749
|
+
</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}(),Et=function(){function n(){this.name="tableBodyRowBorder"}return n.prototype.css=function(t,E){if(t.find("tbody tr").length){if(E=="border"||E==null)return t.find("tbody tr").css("border","1px solid"),"border:1pt solid";E=="noBorder"?t.find("tbody tr").css("border","0px solid"):E=="topBorder"?(t.find("tbody tr").css("border","0px solid"),t.find("tbody tr").css("border-top","1px solid")):E=="bottomBorder"?(t.find("tbody tr").css("border","0px solid"),t.find("tbody tr").css("border-bottom","1px solid")):E=="topBottomBorder"?(t.find("tbody tr").css("border","0px solid"),t.find("tbody tr").css("border-top","1px solid"),t.find("tbody tr").css("border-bottom","1px solid")):t.find("tbody tr").map(function(Y,nt){nt.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
740
750
|
<div class="hiprint-option-item-label">
|
|
741
751
|
\u8868\u4F53\u884C\u8FB9\u6846
|
|
742
752
|
</div>
|
|
@@ -750,26 +760,26 @@
|
|
|
750
760
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
751
761
|
</select>
|
|
752
762
|
</div>
|
|
753
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
763
|
+
</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}(),Bt=function(){function n(){this.name="transform"}return n.prototype.css=function(t,E){if(t&&t.length){var Y=t.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(!Y.length&&t.hasClass("hiprint-printElement-hline")&&(Y=t),!Y.length&&t.hasClass("hiprint-printElement-image")&&(Y=t),E)return Y.css("transform","rotate("+E+"deg)"),Y.css("-ms-transform","rotate("+E+"deg)"),Y.css("-moz-transform","rotate("+E+"deg)"),Y.css("-webkit-transform","rotate("+E+"deg)"),Y.css("-o-transform","rotate("+E+"deg)"),"transform:rotate("+E+"deg)";Y.length&&(Y[0].style.transform="")}return null},n.prototype.createTarget=function(){return this.target=T.default(`<div class="hiprint-option-item">
|
|
754
764
|
<div class="hiprint-option-item-label">
|
|
755
765
|
\u65CB\u8F6C\u89D2\u5EA6
|
|
756
766
|
</div>
|
|
757
767
|
<div class="hiprint-option-item-field">
|
|
758
768
|
<input type="text" class="auto-submit"/>
|
|
759
769
|
</div>
|
|
760
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
770
|
+
</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="zIndex"}return n.prototype.css=function(t,E){return t&&t.length&&E?t.css("z-index",E):null},n.prototype.createTarget=function(){return this.target=T.default(`<div class="hiprint-option-item">
|
|
761
771
|
<div class="hiprint-option-item-label">
|
|
762
772
|
\u5143\u7D20\u5C42\u7EA7
|
|
763
773
|
</div>
|
|
764
774
|
<div class="hiprint-option-item-field">
|
|
765
775
|
<input type="number" class="auto-submit"/>
|
|
766
776
|
</div>
|
|
767
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
777
|
+
</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}(),Zt=function(){function n(){this.name="optionsGroup"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
768
778
|
<div class="hiprint-option-item-label">
|
|
769
779
|
\u8FB9\u6846\u8BBE\u7F6E
|
|
770
780
|
</div>
|
|
771
781
|
|
|
772
|
-
</div>`),this.target},n.prototype.getValue=function(){},n.prototype.setValue=function(
|
|
782
|
+
</div>`),this.target},n.prototype.getValue=function(){},n.prototype.setValue=function(t){},n.prototype.destroy=function(){this.target.remove()},n}(),Lt=function(){function n(){this.name="borderTop"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-top-style",E),"border-top:1px";t[0].style.borderTopStyle="",t[0].style.borderTopWidth=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
773
783
|
<div class="hiprint-option-item-label">
|
|
774
784
|
\u4E0A\u8FB9\u6846
|
|
775
785
|
</div>
|
|
@@ -780,7 +790,7 @@
|
|
|
780
790
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
781
791
|
</select>
|
|
782
792
|
</div>
|
|
783
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
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}(),zt=function(){function n(){this.name="borderLeft"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-left-style",E),"border-left:1px";t[0].style.borderLeftStyle="",t[0].style.borderLeftWidth=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
784
794
|
<div class="hiprint-option-item-label">
|
|
785
795
|
\u5DE6\u8FB9\u6846
|
|
786
796
|
</div>
|
|
@@ -791,7 +801,7 @@
|
|
|
791
801
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
792
802
|
</select>
|
|
793
803
|
</div>
|
|
794
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
804
|
+
</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}(),Wt=function(){function n(){this.name="borderRight"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-right-style",E),"border-right:1px";t[0].style.borderRightStyle="",t[0].style.borderRightWidth=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
795
805
|
<div class="hiprint-option-item-label">
|
|
796
806
|
\u53F3\u8FB9\u6846
|
|
797
807
|
</div>
|
|
@@ -802,7 +812,7 @@
|
|
|
802
812
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
803
813
|
</select>
|
|
804
814
|
</div>
|
|
805
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
815
|
+
</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}(),Gt=function(){function n(){this.name="borderBottom"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-bottom-style",E),"border-bottom-style:1px solid";t[0].style.borderBottomStyle="",t[0].style.borderBottomWidth=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
806
816
|
<div class="hiprint-option-item-label">
|
|
807
817
|
\u4E0B\u8FB9\u6846
|
|
808
818
|
</div>
|
|
@@ -813,7 +823,7 @@
|
|
|
813
823
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
814
824
|
</select>
|
|
815
825
|
</div>
|
|
816
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
826
|
+
</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}(),m=function(){function n(){this.name="contentPaddingLeft"}return n.prototype.css=function(t,E){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(E)return Y.css("padding-left",E+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
817
827
|
<div class="hiprint-option-item-label">
|
|
818
828
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
819
829
|
</div>
|
|
@@ -851,7 +861,7 @@
|
|
|
851
861
|
<option value="21.75" >21.75pt</option>
|
|
852
862
|
</select>
|
|
853
863
|
</div>
|
|
854
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
864
|
+
</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}(),e=function(){function n(){this.name="contentPaddingTop"}return n.prototype.css=function(t,E){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(E)return Y.css("padding-top",E+"pt"),"padding-top";Y[0].style.paddingTop=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
855
865
|
<div class="hiprint-option-item-label">
|
|
856
866
|
\u4E0A\u5185\u8FB9\u8DDD
|
|
857
867
|
</div>
|
|
@@ -889,7 +899,7 @@
|
|
|
889
899
|
<option value="21.75" >21.75pt</option>
|
|
890
900
|
</select>
|
|
891
901
|
</div>
|
|
892
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
902
|
+
</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}(),i=function(){function n(){this.name="contentPaddingRight"}return n.prototype.css=function(t,E){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(E)return Y.css("padding-right",E+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
893
903
|
<div class="hiprint-option-item-label">
|
|
894
904
|
\u53F3\u5185\u8FB9\u8DDD
|
|
895
905
|
</div>
|
|
@@ -927,7 +937,7 @@
|
|
|
927
937
|
<option value="21.75" >21.75pt</option>
|
|
928
938
|
</select>
|
|
929
939
|
</div>
|
|
930
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
940
|
+
</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}(),p=function(){function n(){this.name="contentPaddingBottom"}return n.prototype.css=function(t,E){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(E)return Y.css("padding-bottom",E+"pt"),"padding-bottom";Y[0].style.paddingBottom=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
931
941
|
<div class="hiprint-option-item-label">
|
|
932
942
|
\u4E0B\u5185\u8FB9\u8DDD
|
|
933
943
|
</div>
|
|
@@ -965,7 +975,7 @@
|
|
|
965
975
|
<option value="21.75" >21.75pt</option>
|
|
966
976
|
</select>
|
|
967
977
|
</div>
|
|
968
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
978
|
+
</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}(),h=function(){function n(){this.name="borderStyle"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("border-style",E),"border-style:1px";t[0].style.borderStyle=""}return null},n.prototype.createTarget=function(t){var E=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=T.default(` <div class="hiprint-option-item">
|
|
969
979
|
<div class="hiprint-option-item-label">
|
|
970
980
|
`+E+`
|
|
971
981
|
</div>
|
|
@@ -977,14 +987,14 @@
|
|
|
977
987
|
<option value="dotted" >\u77ED\u865A\u7EBF</option>
|
|
978
988
|
</select>
|
|
979
989
|
</div>
|
|
980
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
990
|
+
</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}(),U=function(){function n(){this.name="backgroundColor"}return n.prototype.css=function(t,E){if(t&&t.length){if(E)return t.css("background-color",E),"background-color:"+E;t[0].style.backgroundColor=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
981
991
|
<div class="hiprint-option-item-label">
|
|
982
992
|
\u80CC\u666F\u989C\u8272
|
|
983
993
|
</div>
|
|
984
994
|
<div class="hiprint-option-item-field">
|
|
985
995
|
<input type="text" class="auto-submit"/>
|
|
986
996
|
</div>
|
|
987
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
997
|
+
</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="orient"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
988
998
|
<div class="hiprint-option-item-label">
|
|
989
999
|
\u7EB8\u5F20\u65B9\u5411(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)
|
|
990
1000
|
</div>
|
|
@@ -995,7 +1005,7 @@
|
|
|
995
1005
|
<option value="2" >\u6A2A\u5411</option>
|
|
996
1006
|
</select>
|
|
997
1007
|
</div>
|
|
998
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1008
|
+
</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}(),L=function(){function n(){this.name="textContentVerticalAlign"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
999
1009
|
<div class="hiprint-option-item-label">
|
|
1000
1010
|
\u4E0A\u4E0B\u5BF9\u9F50
|
|
1001
1011
|
</div>
|
|
@@ -1007,16 +1017,16 @@
|
|
|
1007
1017
|
|
|
1008
1018
|
</select>
|
|
1009
1019
|
</div>
|
|
1010
|
-
</div>`),this.target},n.prototype.css=function(
|
|
1020
|
+
</div>`),this.target},n.prototype.css=function(t,E){if(t&&t.length){if(E)return E==="middle"&&t.addClass("hiprint-text-content-middle"),E==="bottom"&&t.addClass("hiprint-text-content-bottom"),"";t.removeClass("hiprint-text-content-middle"),t.removeClass("hiprint-text-content-bottom")}return 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}(),k=d(5),$=function(){function n(){this.name="columns"}return n.prototype.createTarget=function(){return T.default('<div class="indicator"></div>').appendTo("body"),this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1011
1021
|
<div>
|
|
1012
1022
|
<ul class="hiprint-option-table-selected-columns"> </ul>
|
|
1013
1023
|
</div>
|
|
1014
|
-
</div>`),this.target},n.prototype.getValue=function(){return this.buildData()},n.prototype.setValue=function(
|
|
1015
|
-
`+(
|
|
1024
|
+
</div>`),this.target},n.prototype.getValue=function(){return this.buildData()},n.prototype.setValue=function(t,E,Y){var nt=this,mt=this;this.value=t,this.options=E,this.printElementType=Y;var vt=Y.columns[0].filter(function(st){return t[0].columns.filter(function(wt){return st.columnId==wt.columnId}).length==0}).map(function(st){var wt=new k.a(st);return wt.checked=!1,wt});this.allColumns=t[0].columns.concat(vt),t&&t.length==1&&(this.target.find("ul").html(this.allColumns.map(function(st,wt){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|
1025
|
+
`+(st.checked?'<input type="checkbox" checked column-id="'+(st.columnId||st.id)+'" />':'<input type="checkbox" column-id="'+(st.columnId||st.id)+'" />')+`
|
|
1016
1026
|
<div class="state">
|
|
1017
1027
|
<label></label>
|
|
1018
1028
|
</div>
|
|
1019
|
-
</div><span class="column-title">`+(
|
|
1029
|
+
</div><span class="column-title">`+(st.title||st.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(st){var wt=st.target.checked,xt=st.target.attributes["column-id"].nodeValue||"",Jt=nt.allColumns.findIndex(function(Ft){return Ft.field==xt||Ft.id==xt});Jt>=0&&(nt.allColumns[Jt].checked=wt),nt.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(wt,xt){T.default(this).css("border-top-color","red")},onDragLeave:function(wt,xt){T.default(this).css("border-top-color","")},onDrop:function(wt,xt){T.default(xt).insertBefore(this),T.default(this).css("border-top-color",""),mt.submit()}}))},n.prototype.buildData=function(){var t=this,E=[];return t.options.columns.length>1?this.value:(t.printElementType.makeColumnObj(t.allColumns),this.target.find("input").map(function(Y,nt){var mt=T.default(nt).attr("column-id"),vt=t.printElementType.getColumnByColumnId(mt);if(vt){var st=new k.a(vt);st.checked=vt.checked,E.push(st)}}),this.value[0].columns=E,this.value)},n.prototype.destroy=function(){this.target.remove()},n}(),V=function(){function n(){this.name="textType"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1020
1030
|
<div class="hiprint-option-item-label">
|
|
1021
1031
|
\u6253\u5370\u7C7B\u578B
|
|
1022
1032
|
</div>
|
|
@@ -1028,7 +1038,7 @@
|
|
|
1028
1038
|
<option value="qrcode" >\u4E8C\u7EF4\u7801</option>
|
|
1029
1039
|
</select>
|
|
1030
1040
|
</div>
|
|
1031
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1041
|
+
</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="tableTextType"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1032
1042
|
<div class="hiprint-option-item-label">
|
|
1033
1043
|
\u5B57\u6BB5\u7C7B\u578B
|
|
1034
1044
|
</div>
|
|
@@ -1041,7 +1051,7 @@
|
|
|
1041
1051
|
<option value="image" >\u56FE\u7247</option>
|
|
1042
1052
|
</select>
|
|
1043
1053
|
</div>
|
|
1044
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1054
|
+
</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}(),rt=function(){function n(){this.name="tableBarcodeMode"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1045
1055
|
<div class="hiprint-option-item-label">
|
|
1046
1056
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
1047
1057
|
</div>
|
|
@@ -1066,7 +1076,7 @@
|
|
|
1066
1076
|
<option value="Pharmacode" >Pharmacode</option>
|
|
1067
1077
|
</select>
|
|
1068
1078
|
</div>
|
|
1069
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1079
|
+
</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}(),R=function(){function n(){this.name="tableQRCodeLevel"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1070
1080
|
<div class="hiprint-option-item-label">
|
|
1071
1081
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
1072
1082
|
</div>
|
|
@@ -1079,21 +1089,50 @@
|
|
|
1079
1089
|
<option value="2" >30% H</option>
|
|
1080
1090
|
</select>
|
|
1081
1091
|
</div>
|
|
1082
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1092
|
+
</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}(),it=function(){function n(){this.name="tableColumnHeight"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item ">
|
|
1083
1093
|
<div class="hiprint-option-item-label">
|
|
1084
1094
|
\u5355\u5143\u683C\u9AD8\u5EA6
|
|
1085
1095
|
</div>
|
|
1086
1096
|
<div class="hiprint-option-item-field">
|
|
1087
1097
|
<input type="text" placeholder="\u6761\u5F62\u7801\u3001\u4E8C\u7EF4\u7801\u4EE5\u53CA\u56FE\u7247\u6709\u6548" class="auto-submit" >
|
|
1088
1098
|
</div>
|
|
1089
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1099
|
+
</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}(),ut=function(){function n(){this.name="tableSummaryTitle"}return n.prototype.createTarget=function(){return this.target=T.default('<div class="hiprint-option-item"><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}(),lt=function(){function n(){this.name="tableSummaryText"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1100
|
+
<div class="hiprint-option-item-label">
|
|
1101
|
+
\u5E95\u90E8\u805A\u5408\u6587\u672C
|
|
1102
|
+
</div>
|
|
1103
|
+
<div class="hiprint-option-item-field">
|
|
1104
|
+
<input type="text" placeholder="\u805A\u5408\u7C7B\u578B:" class="auto-submit" >
|
|
1105
|
+
</div>
|
|
1106
|
+
</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}(),ct=function(){function n(){this.name="tableSummaryAlign"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1107
|
+
<div class="hiprint-option-item-label">
|
|
1108
|
+
\u5E95\u90E8\u805A\u5408\u7C7B\u578B\u5DE6\u53F3\u5BF9\u9F50
|
|
1109
|
+
</div>
|
|
1110
|
+
<div class="hiprint-option-item-field">
|
|
1111
|
+
<select class="auto-submit">
|
|
1112
|
+
<option value="" >\u9ED8\u8BA4</option>
|
|
1113
|
+
<option value="left" >\u5C45\u5DE6</option>
|
|
1114
|
+
<option value="center" >\u5C45\u4E2D</option>
|
|
1115
|
+
<option value="right" >\u5C45\u53F3</option>
|
|
1116
|
+
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1117
|
+
</select>
|
|
1118
|
+
</div>
|
|
1119
|
+
</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}(),St=function(){function n(){this.name="tableSummaryNumFormat"}return n.prototype.createTarget=function(){var t=[{t:"\u6574\u6570",v:"0"}],E=[1,2,3,4,5,6];E.forEach(function(nt){t.push({t:"\u4FDD\u7559"+nt+"\u4F4D",v:""+nt})});var Y=`
|
|
1120
|
+
<option value="" >\u9ED8\u8BA4</option>`;return t.forEach(function(nt){Y+=`
|
|
1121
|
+
<option value="`+(nt.v||"")+'">'+(nt.t||"")+"</option>"}),this.target=T.default(` <div class="hiprint-option-item">
|
|
1122
|
+
<div class="hiprint-option-item-label">
|
|
1123
|
+
\u5E95\u90E8\u805A\u5408\u5C0F\u6570
|
|
1124
|
+
</div>
|
|
1125
|
+
<div class="hiprint-option-item-field">
|
|
1126
|
+
<select class="auto-submit"></select>
|
|
1127
|
+
</div>
|
|
1128
|
+
</div>`),this.target.find(".auto-submit").append(T.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}(),Nt=function(){function n(){this.name="tableSummary"}return n.prototype.createTarget=function(){return this.target=T.default('<div class="hiprint-option-item"><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}(),kt=function(){function n(){this.name="topOffset"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1090
1129
|
<div class="hiprint-option-item-label">
|
|
1091
1130
|
\u9876\u90E8\u504F\u79FB
|
|
1092
1131
|
</div>
|
|
1093
1132
|
<div class="hiprint-option-item-field">
|
|
1094
1133
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit">
|
|
1095
1134
|
</div>
|
|
1096
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1135
|
+
</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}(),Rt=function(){function n(){this.name="gridColumns"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1097
1136
|
<div class="hiprint-option-item-label">
|
|
1098
1137
|
\u4E00\u884C\u591A\u7EC4
|
|
1099
1138
|
</div>
|
|
@@ -1105,7 +1144,7 @@
|
|
|
1105
1144
|
<option value="4" >\u4E00\u884C\u56DB\u5217</option>
|
|
1106
1145
|
</select>
|
|
1107
1146
|
</div>
|
|
1108
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1147
|
+
</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}(),Yt=function(){function n(){this.name="gridColumnsGutter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1109
1148
|
<div class="hiprint-option-item-label">
|
|
1110
1149
|
\u4E00\u884C\u591A\u7EC4\u95F4\u9694
|
|
1111
1150
|
</div>
|
|
@@ -1125,7 +1164,7 @@
|
|
|
1125
1164
|
<option value="9" >9pt</option>
|
|
1126
1165
|
</select>
|
|
1127
1166
|
</div>
|
|
1128
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1167
|
+
</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,E){if(t&&t.length){if(E)return t.find(".table-grid-row").css("margin-left","-"+E+"pt").css("margin-right","-"+E+"pt"),t.find(".tableGridColumnsGutterRow").css("padding-left",E+"pt").css("padding-right",E+"pt"),null;t.find(".table-grid-row").map(function(Y,nt){nt.style.marginLeft="",nt.style.marginRight=""}),t.find(".tableGridColumnsGutterRow").map(function(Y,nt){nt.style.paddingLeft="",nt.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}(),Ot=function(){function n(){this.name="tableHeaderRepeat"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1129
1168
|
<div class="hiprint-option-item-label">
|
|
1130
1169
|
\u8868\u683C\u5934\u663E\u793A
|
|
1131
1170
|
</div>
|
|
@@ -1137,7 +1176,7 @@
|
|
|
1137
1176
|
<option value="none" >\u4E0D\u663E\u793A</option>
|
|
1138
1177
|
</select>
|
|
1139
1178
|
</div>
|
|
1140
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1179
|
+
</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}(),Qt=function(){function n(){this.name="paddingLeft"}return n.prototype.css=function(t,E){var Y=t;if(Y&&Y.length){if(E)return Y.css("padding-left",E+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1141
1180
|
<div class="hiprint-option-item-label">
|
|
1142
1181
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
1143
1182
|
</div>
|
|
@@ -1175,7 +1214,7 @@
|
|
|
1175
1214
|
<option value="21.75" >21.75pt</option>
|
|
1176
1215
|
</select>
|
|
1177
1216
|
</div>
|
|
1178
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1217
|
+
</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}(),Xt=function(){function n(){this.name="paddingRight"}return n.prototype.css=function(t,E){var Y=t;if(Y&&Y.length){if(E)return Y.css("padding-right",E+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1179
1218
|
<div class="hiprint-option-item-label">
|
|
1180
1219
|
\u53F3\u5185\u8FB9\u8DDD
|
|
1181
1220
|
</div>
|
|
@@ -1213,7 +1252,7 @@
|
|
|
1213
1252
|
<option value="21.75" >21.75pt</option>
|
|
1214
1253
|
</select>
|
|
1215
1254
|
</div>
|
|
1216
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1255
|
+
</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}(),_t=function(){function n(){this.name="dataType"}return n.prototype.createTarget=function(){var t=this;return this.target=T.default(`
|
|
1217
1256
|
<div class="hiprint-option-item-row">
|
|
1218
1257
|
<div class="hiprint-option-item">
|
|
1219
1258
|
<div class="hiprint-option-item-label">
|
|
@@ -1240,7 +1279,7 @@
|
|
|
1240
1279
|
</div>
|
|
1241
1280
|
</div>
|
|
1242
1281
|
</div>
|
|
1243
|
-
`),
|
|
1282
|
+
`),T.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var E=T.default(t.target.find(".hiprint-option-item-datatype")).val();t.loadFormatSelectByDataType(E),t.submit(t.getValue())}),this.target},n.prototype.getValue=function(){var t=this.target.find(".hiprint-option-item-datatype").val();if(t){var E=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:t,format:E||void 0}}return{dataType:void 0,format:void 0}},n.prototype.setValue=function(t,E){this.target.find(".hiprint-option-item-datatype").val(E.dataType||""),this.loadFormatSelectByDataType(E.dataType),this.target.find(".hiprint-option-item-datatype-format").val(E.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(`
|
|
1244
1283
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1245
1284
|
<option value="M/d" >M/d</option>
|
|
1246
1285
|
<option value="MM/dd" >MM/dd</option>
|
|
@@ -1289,49 +1328,49 @@
|
|
|
1289
1328
|
<option value="yyyy-MM-dd HH:mm:ss" >yyyy-MM-dd HH:mm:ss</option>
|
|
1290
1329
|
`)):(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(`
|
|
1291
1330
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1292
|
-
`))},n}(),
|
|
1331
|
+
`))},n}(),Kt=function(){function n(){this.name="formatter"}return n.prototype.createTarget=function(){var t=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1293
1332
|
<div class="hiprint-option-item-label">
|
|
1294
1333
|
\u683C\u5F0F\u5316\u51FD\u6570
|
|
1295
1334
|
</div>
|
|
1296
1335
|
<div class="hiprint-option-item-field">
|
|
1297
1336
|
<textarea style="height:80px;" placeholder="function(value, options,templateData){}" class="auto-submit"></textarea>
|
|
1298
1337
|
</div>
|
|
1299
|
-
</div>`;return this.target=
|
|
1338
|
+
</div>`;return this.target=T.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}(),$t=function(){function n(){this.name="styler"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1300
1339
|
<div class="hiprint-option-item-label">
|
|
1301
1340
|
\u6837\u5F0F\u51FD\u6570
|
|
1302
1341
|
</div>
|
|
1303
1342
|
<div class="hiprint-option-item-field">
|
|
1304
1343
|
<textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
|
|
1305
1344
|
</div>
|
|
1306
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1345
|
+
</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}(),qt=function(){function n(){this.name="rowsColumnsMerge"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1307
1346
|
<div class="hiprint-option-item-label">
|
|
1308
1347
|
\u884C/\u5217\u5408\u5E76\u51FD\u6570
|
|
1309
1348
|
</div>
|
|
1310
1349
|
<div class="hiprint-option-item-field">
|
|
1311
1350
|
<textarea style="height:80px;" placeholder="function(options,rows,data){ return [1,1] }; }" class="auto-submit"></textarea>
|
|
1312
1351
|
</div>
|
|
1313
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1352
|
+
</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}(),te=function(){function n(){this.name="footerFormatter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1314
1353
|
<div class="hiprint-option-item-label">
|
|
1315
1354
|
\u8868\u683C\u811A\u51FD\u6570
|
|
1316
1355
|
</div>
|
|
1317
1356
|
<div class="hiprint-option-item-field">
|
|
1318
1357
|
<textarea style="height:80px;" placeholder="function(options,rows,data){ return '<tr></tr>' }; }" class="auto-submit"></textarea>
|
|
1319
1358
|
</div>
|
|
1320
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1359
|
+
</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}(),ee=function(){function n(){this.name="gridColumnsFooterFormatter"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1321
1360
|
<div class="hiprint-option-item-label">
|
|
1322
1361
|
\u591A\u7EC4\u8868\u683C\u811A\u51FD\u6570
|
|
1323
1362
|
</div>
|
|
1324
1363
|
<div class="hiprint-option-item-field">
|
|
1325
1364
|
<textarea style="height:80px;" placeholder="function(options,rows,data){ return '' }; }" class="auto-submit"></textarea>
|
|
1326
1365
|
</div>
|
|
1327
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1366
|
+
</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="rowStyler"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1328
1367
|
<div class="hiprint-option-item-label">
|
|
1329
1368
|
\u884C\u6837\u5F0F\u51FD\u6570
|
|
1330
1369
|
</div>
|
|
1331
1370
|
<div class="hiprint-option-item-field">
|
|
1332
1371
|
<textarea style="height:80px;" placeholder="function(value,options){ return '' }; }" class="auto-submit"></textarea>
|
|
1333
1372
|
</div>
|
|
1334
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1373
|
+
</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}(),ne=function(){function n(){this.name="align"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1335
1374
|
<div class="hiprint-option-item-label">
|
|
1336
1375
|
\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1337
1376
|
</div>
|
|
@@ -1344,7 +1383,7 @@
|
|
|
1344
1383
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1345
1384
|
</select>
|
|
1346
1385
|
</div>
|
|
1347
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1386
|
+
</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}(),oe=function(){function n(){this.name="vAlign"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1348
1387
|
<div class="hiprint-option-item-label">
|
|
1349
1388
|
\u5355\u5143\u683C\u4E0A\u4E0B\u5BF9\u9F50
|
|
1350
1389
|
</div>
|
|
@@ -1357,7 +1396,7 @@
|
|
|
1357
1396
|
|
|
1358
1397
|
</select>
|
|
1359
1398
|
</div>
|
|
1360
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1399
|
+
</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}(),ae=function(){function n(){this.name="halign"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1361
1400
|
<div class="hiprint-option-item-label">
|
|
1362
1401
|
\u8868\u683C\u5934\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1363
1402
|
</div>
|
|
@@ -1370,21 +1409,21 @@
|
|
|
1370
1409
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1371
1410
|
</select>
|
|
1372
1411
|
</div>
|
|
1373
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1412
|
+
</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}(),re=function(){function n(){this.name="styler2"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1374
1413
|
<div class="hiprint-option-item-label">
|
|
1375
1414
|
\u5355\u5143\u683C\u6837\u5F0F\u51FD\u6570
|
|
1376
1415
|
</div>
|
|
1377
1416
|
<div class="hiprint-option-item-field">
|
|
1378
1417
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1379
1418
|
</div>
|
|
1380
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1419
|
+
</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="formatter2"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1381
1420
|
<div class="hiprint-option-item-label">
|
|
1382
1421
|
\u5355\u5143\u683C\u683C\u5F0F\u5316\u51FD\u6570
|
|
1383
1422
|
</div>
|
|
1384
1423
|
<div class="hiprint-option-item-field">
|
|
1385
1424
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
|
|
1386
1425
|
</div>
|
|
1387
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1426
|
+
</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}(),le=function(){function n(){this.name="autoCompletion"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1388
1427
|
<div class="hiprint-option-item-label">
|
|
1389
1428
|
\u81EA\u52A8\u8865\u5168
|
|
1390
1429
|
</div>
|
|
@@ -1395,7 +1434,7 @@
|
|
|
1395
1434
|
<option value="false" >\u5426</option>
|
|
1396
1435
|
</select>
|
|
1397
1436
|
</div>
|
|
1398
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
1437
|
+
</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}(),pe=function(){function n(){this.name="tableFooterRepeat"}return n.prototype.createTarget=function(){return this.target=T.default(` <div class="hiprint-option-item">
|
|
1399
1438
|
<div class="hiprint-option-item-label">
|
|
1400
1439
|
\u8868\u683C\u811A\u663E\u793A
|
|
1401
1440
|
</div>
|
|
@@ -1407,7 +1446,7 @@
|
|
|
1407
1446
|
<option value="last" >\u6700\u540E\u663E\u793A</option>
|
|
1408
1447
|
</select>
|
|
1409
1448
|
</div>
|
|
1410
|
-
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}();d.d(F,"a",function(){return se});var se=function(){function n(){}return n.init=function(){n.printElementOptionItems||(n.printElementOptionItems={},n._printElementOptionItems.forEach(function(e){n.printElementOptionItems[e.name]=e}))},n.registerItem=function(e){if(!e.name)throw new Error("styleItem must have name");n.init(),n.printElementOptionItems[e.name]=e},n.getItem=function(e){return n.init(),n.printElementOptionItems[e]},n._printElementOptionItems=[new N,new b,new p,new u,new G,new a,new y,new I,new w,new H,new h,new D,new C,new v,new x,new A,new M,new f,new o,new c,new r,new l,new g,new P,new j,new T,new U,new Z,new W,new O,new Y,new et,new K,new tt,new ot,new it,new nt,new dt,new gt,new ft,new vt,new ht,new Pt,new ct,new ut,new k,new jt,new bt,new St,new At,new Et,new Ct,new Bt,new Ut,new Zt,new Lt,new zt,new Gt,new Wt,new kt,new Rt,new Jt,new Ft,new m,new t,new s,new V,new at,new R,new q,new pt,new st,new It,new Tt,new Vt,new Nt,new Yt,new qt,new te,new ie,new ee,new ne,new oe,new ae,new re,new J,new z,new L,new B,new X],n}()},function($,F,d){d.d(F,"a",function(){return N}),d.d(F,"b",function(){return b});var G=d(14),N=function(){function a(y,w){this.selectedCells=[],this.rows=y,this.tableTatget=w}return a.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},a.prototype.setSingleSelect=function(y){this.startCell=y,this.selectedCells=[]},a.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},a.prototype.singleSelectByXY=function(y,w){var H=this.getCellByXY(y,w);H&&(this.clear(),H&&(H.cell.select(),this.startCell=H,this.selectedCells=[]))},a.prototype.multipleSelectByXY=function(y,w){this.clear();var H=[];if(this.startCell){var h=this.getCellByXY(y,w);if(h){var A=G.a.mergeRect(this.startCell.cell.getTableRect(),h.cell.getTableRect());this.selectByRect(new p(A),H)}}this.selectedCells=H},a.prototype.selectByRect=function(y,w){this.rows.forEach(function(H,h){var A=[];H.columns.forEach(function(M){M.isInRect(y)&&(A.push(new u(h,M)),M.select())}),A.length&&w.push(A)}),y.changed&&(y.changed=!1,w.splice(0,w.length),this.selectByRect(y,w))},a.prototype.getSelectedCells=function(){return this.selectedCells},a.prototype.getCellByXY=function(y,w){var H;return this.rows.forEach(function(h,A){var M=(h.columns||[]).filter(function(D){return D.checked}).filter(function(D){return D.isXYinCell(y,w)});M.length&&(H=new u(A,M[0]))}),H},a}(),b=function(){return function(a){this.x=a.x,this.y=a.y,this.height=a.height,this.width=a.width}}(),p=function(){return function(a){this.rect=a}}(),u=function(){return function(a,y){this.rowIndex=a,this.cell=y}}()},function($,F,d){d.d(F,"a",function(){return G});var G=function(){function N(){}return N.createId=function(){return this.id+=1,this.id},N.id=1,N}()},function($,F,d){d.d(F,"a",function(){return u});var G,N=d(5),b=d(13),p=(G=function(y,w){return(G=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(H,h){H.__proto__=h}||function(H,h){for(var A in h)h.hasOwnProperty(A)&&(H[A]=h[A])})(y,w)},function(a,y){function w(){this.constructor=a}G(a,y),a.prototype=y===null?Object.create(y):(w.prototype=y.prototype,new w)}),u=function(a){function y(w){var H=a.call(this)||this;return H.columns=[],w&&w.constructor===Array?(w||[]).forEach(function(h){H.columns.push(new N.a(h))}):w.columns&&(w.columns||[]).forEach(function(h){H.columns.push(new N.a(h))}),H}return p(y,a),y.prototype.getPrintElementOptionEntity=function(){var w=[],H=this.allColumns?this.allColumns.filter(function(h){return!h.checked}):[];return[...this.columns,...H].forEach(function(h){w.push(h.getEntity())}),w},y}(b.a)},function($,F,d){d.d(F,"a",function(){return b});var G=d(11),N=d(5),b=function(){function p(){this.id=G.a.createId()}return p.prototype.init=function(u,a,y){this.isHead=y,this.target=a||S.default("<tr></tr>"),this.tableOptions=u,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(w){return w.checked}))},p.prototype.getTarget=function(){return this.target},p.prototype.initCells=function(u){var a=this;u?(this.columns=u,u.forEach(function(y,w){y.init(a.target.find("td:eq("+w+")"),a.tableOptions,a.id,a.isHead)})):(this.columns=[],this.target.find("td").map(function(y,w){var H=new N.a;H.init(S.default(w),a.tableOptions,a.id,a.isHead),a.columns.push(H)}))},p.prototype.removeCell=function(u){var a=this.columns.indexOf(u);this.columns[a].getTarget().remove(),this.columns.splice(a,1)},p.prototype.createTableCell=function(u,a){var y=new N.a;return y.init(S.default("<td></td>"),this.tableOptions,this.id,this.isHead),u>1&&(y.getTarget().attr("rowspan",u),y.rowspan=u),a>1&&(y.getTarget().attr("colspan",a),y.colspan=a),y},p.prototype.insertToTargetCellLeft=function(u,a){var y=this.columns.indexOf(u);u.getTarget().before(a.getTarget()),this.columns.splice(y,0,a)},p.prototype.insertToTargetCellRight=function(u,a){var y=this.columns.indexOf(u);this.columns[y].getTarget().after(a.getTarget()),this.columns.splice(y+1,0,a)},p.prototype.insertCellToFirst=function(u){this.target.prepend(u.getTarget()),this.columns.splice(0,0,u)},p.prototype.insertCellToLast=function(u){this.columns.push(u),this.target.append(u.getTarget())},p.prototype.getPrintElementOptionEntity=function(){var u=[];return[...this.columns,...this.allColumns.filter(function(a){return!a.checked})].forEach(function(a){u.push(a.getEntity())}),u},p}()},function($,F,d){d.d(F,"a",function(){return N});var G=d(10),N=function(){function b(){}return b.mergeRect=function(p,u){var a=Math.min(p.x,u.x),y=Math.min(p.y,u.y);return new G.b({x:a,y,height:Math.max(p.y+p.height,u.y+u.height)-y,width:Math.max(p.x+p.width,u.x+u.width)-a})},b.Rect=function(p,u,a,y){return{minX:p<a?p:a,minY:u<y?u:y,maxX:p<a?a:p,maxY:u<y?y:u}},b}()},function($,F,d){d.d(F,"a",function(){return D});var G=d(4),N=d(1),b=d(6),p=d(0),u=d(8),a=d(18),y=d(7),w=d(16),H=d(20),h=d(2),A=(M=function(v,x){return(M=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(f,o){f.__proto__=o}||function(f,o){for(var c in o)o.hasOwnProperty(c)&&(f[c]=o[c])})(v,x)},function(C,v){function x(){this.constructor=C}M(C,v),C.prototype=v===null?Object.create(v):(x.prototype=v.prototype,new x)}),M,D=function(C){function v(x,f){var o=C.call(this,x)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new a.a(f,o.printElementType),o.options.setDefault(new a.a(N.a.instance.table.default).getPrintElementOptionEntity()),o}return A(v,C),v.prototype.getColumns=function(){return this.options.columns},v.prototype.getColumnByColumnId=function(x){return this.options.getColumnByColumnId(x)},v.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var x=this.designTarget.find(".hiprint-printElement-table-content"),f=this.getHtml(this.designPaper);x.html(""),x.append(f[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},v.prototype.css=function(x,f){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return C.prototype.css.call(this,x,f)},v.prototype.getDesignTarget=function(x){return this.designTarget=this.getHtml(x)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=x,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,c){},onDragEnter:function(o,c){S.default(c).removeClass("rn-draggable-item")},onDragLeave:function(o,c){S.default(c).addClass("rn-draggable-item")}}),this.designTarget},v.prototype.getConfigOptions=function(){return N.a.instance.table},v.prototype.createTarget=function(x,f,o){for(var c=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(o),l=0;l<r.gridColumns;l++)r.getByIndex(l).append(this.getTableHtml(f,o));return c.find(".hiprint-printElement-table-content").append(r.target),c},v.prototype.createGridColumnsStructure=function(x){for(var f=S.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var c=S.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');f.append(c)}var r=this.getGridColumnsFooterFormatter();if(r){var l=S.default('<div class="hiprint-gridColumnsFooter"></div>');l.append(r(this.options,this.getData(x),x,[])),f.append(l)}return new H.a(this.options.getGridColumns(),f)},v.prototype.createtempEmptyRowsTargetStructure=function(x){if(this.getField())return this.createTarget(this.printElementType.title,[]);var f=this.createTarget(this.printElementType.title,[]).clone();return f.find(".hiprint-printElement-tableTarget tbody tr").remove(),f},v.prototype.getTableHtml=function(x,f){var o,c;if(!this.getField()&&this.options.content)return(o=S.default("<div></div>")).append(this.options.content),(c=o.find("table")).addClass("hiprint-printElement-tableTarget"),c;if(this.printElementType.formatter)return(o=S.default("<div></div>")).append(this.printElementType.formatter(x)),(c=o.find("table")).addClass("hiprint-printElement-tableTarget"),c;var r=S.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return r.append(y.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),r.append(y.a.createTableRow(this.getColumns(),x,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||y.a.createTableFooter(this.printElementType.columns,x,this.options,this.printElementType,f,x).insertBefore(r.find("tbody")),r},v.prototype.getEmptyRowTarget=function(){return y.a.createEmptyRowTarget(this.getColumns())},v.prototype.getHtml=function(x,f){this.createTempContainer();var o=this.getPaperHtmlResult(x,f);return this.removeTempContainer(),o},v.prototype.getPaperHtmlResult=function(x,f){var o=[],c=this.getData(f),r=this.getTableHtml(c,f),l=this.createtempEmptyRowsTargetStructure(f);f?this.updateTargetWidth(l):this.updateTargetSize(l),this.css(l,c),this.css(r,c),this.getTempContainer().html(""),this.getTempContainer().append(l);var g=l.find("tfoot").outerHeight()||0;l.find("tfoot").remove();for(var P,j=this.getBeginPrintTopInPaperByReferenceElement(x),T=0,U=!1;!U;){var Z=0,W=x.getPaperFooter(T);T==0&&j>W&&x.panelPageRule!="none"&&(j=j-W+x.paperHeader,o.push(new b.a({target:void 0,printLine:void 0})),Z=x.getContentHeight(T)-(j-x.paperHeader),T++,W=x.getPaperFooter(T));var O=o.length>0?o[o.length-1].target:void 0,Y=this.getRowsInSpecificHeight(f,Z>0?Z:T==0?W-j:x.getContentHeight(T),l,r,T,O,g);if(U=Y.isEnd,Z<0){var et=this.options.top;o[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>'),o[0].printLine=j,o[0].referenceElement=new u.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:x.index,bottomInLastPaper:et+this.options.lHeight,printTopInPaper:j}),o[0].target.css("top",et+"pt"),o[0].target.css("left",this.options.displayLeft());break}var K=void 0;Y.target&&(Y.target.css("left",this.options.displayLeft()),Y.target[0].height="",T==0||Z>0?(P=j,Y.target.css("top",j+"pt"),K=U&&this.options.lHeight!=null?j+(Y.height>this.options.lHeight?Y.height:this.options.lHeight):j+Y.height):(P=x.paperHeader,Y.target.css("top",P+"pt"),K=x.paperHeader+Y.height),o.push(new b.a({target:Y.target,printLine:K,referenceElement:new u.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:x.index,bottomInLastPaper:K,printTopInPaper:P})})),T++),f&&this.updatePanelHeight(K+this.options.getHeight(),x)}return o},v.prototype.getRowsInSpecificHeight=function(x,f,o,c,r,l,g){var P=this,j=c.find("tbody"),T=p.a.pt.toPx(f);o.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&o.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&r>0?o.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(x?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 U=this.panel.panelPageRule=="none",Z=o.outerHeight();if(!U&&Z>T)return{target:void 0,length:0,height:0,isEnd:!1};for(var W=this.options.getGridColumns(),O=[],Y=0;Y<W;Y++)for(var et=o.find(".hiprint-printElement-tableTarget:eq("+Y+")"),K=void 0,tt=[];;){if(U){var ot=j.find("tr").length;if(ot==0)K={height:p.a.px.toPt(Z),isEnd:!0},x&&this.options.autoCompletion&&(this.autoCompletion(T,et),Z=o.outerHeight());else{var it=j.find("tr:lt(1)");et.find("tbody").append(it);var nt=it.data("rowData");O.push(nt),tt.push(nt),Z=o.outerHeight(),ot==0&&(j.prepend(it),O.pop(),tt.pop(),K={height:p.a.px.toPt(Z),isEnd:!1})}}else if(Z<=T)if(j.find("tr").length==0)K={height:p.a.px.toPt(Z),isEnd:!0},x&&this.options.autoCompletion&&(this.autoCompletion(T,et),Z=o.outerHeight());else{var it=j.find("tr:lt(1)");et.find("tbody").append(it);var nt=it.data("rowData");O.push(nt),tt.push(nt),Z=o.outerHeight(),(Z+=g)>T&&(j.prepend(it),O.pop(),tt.pop(),Z=o.outerHeight(),K={height:p.a.px.toPt(Z),isEnd:!1})}if(K){if(this.options.tableFooterRepeat=="last"&&!K.isEnd)break;this.options.tableFooterRepeat!=="no"&&(y.a.createTableFooter(this.printElementType.columns,this.getData(x),this.options,this.printElementType,x,tt).insertBefore(et.find("tbody")),P.css(et,x));break}}var dt=o.find(".hiprint-printElement-tableTarget tbody tr").length,gt=this.getGridColumnsFooterFormatter();gt&&o.find(this.gridColumnsFooterCss).html(gt(this.options,this.getData(x),x,O)),Z=o.outerHeight();var ft=j.find("tr").length==0?dt==0&&l?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:dt,height:p.a.px.toPt(Z),isEnd:!0}:{target:o.clone(),length:dt,height:p.a.px.toPt(Z),isEnd:!1};return ft},v.prototype.autoCompletion=function(x,f){for(var o,c=this.getEmptyRowTarget(),r=f.outerHeight();x>r;)o=c.clone(),f.find("tbody").append(o),r=f.outerHeight();o&&o.remove()},v.prototype.getData=function(x){if(!x)return[{}];var f=this.getField(),o=f&&f.split(".").reduce((c,r)=>c?c[r]:x?x[r]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},v.prototype.onResize=function(x,f,o,c,r){C.prototype.updateSizeAndPositionOptions.call(this,r,c,o,f),y.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},v.prototype.getReizeableShowPoints=function(){return this.options.showPoints||N.a.instance.table.showPoints},v.prototype.design=function(x,f){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(r,l,g){o.updateSizeAndPositionOptions(l,g),o.createLineOfPosition(f),h.a.instance.changed=!0},moveUnit:"pt",minMove:N.a.instance.movingDistance,onBeforeDrag:function(r){h.a.instance.draging=!0,o.createLineOfPosition(f)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(r){h.a.instance.changed&&p.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),h.a.instance.draging=!1,h.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:N.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){h.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(r,l,g,P,j){o.onResize(r,l,g,P,j),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(f)},onStopResize:function(r){p.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,r?"\u65CB\u8F6C":"\u5927\u5C0F"),h.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,f)},v.prototype.setHitable=function(){var x=this;this.hitable=new w.a({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,columnDisplayEditable:this.printElementType.columnDisplayEditable,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable,columnResizable:this.printElementType.columnResizable,columnAlignEditable:this.printElementType.columnAlignEditable,isEnableEditText:this.printElementType.columnTitleEditable,isEnableEditField:this.printElementType.isEnableEditField,isEnableContextMenu:this.printElementType.isEnableContextMenu,isEnableInsertRow:this.printElementType.isEnableInsertRow,isEnableDeleteRow:this.printElementType.isEnableDeleteRow,isEnableInsertColumn:this.printElementType.isEnableInsertColumn,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn,isEnableMergeCell:this.printElementType.isEnableMergeCell}),p.a.event.on("updateTable"+this.hitable.id,function(){x.updateDesignViewFromOptions()})},v.prototype.setColumnsOptions=function(){var x=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(f){var o=S.default(f.target).attr("column-id"),c=x.getColumnByColumnId(o);if(c){var r=x.getPrintElementOptionItemsByName("tableColumn");p.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x,customOptionsInput:[{title:c.title+"-\u5217\u5C5E\u6027",optionItems:r,options:c,callback:function(g){r.forEach(function(P){var j=P.getValue();c[P.name]=j})}}]})}else p.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x})})},v.prototype.filterOptionItems=function(x){var f=C.prototype.filterOptionItems.call(this,x);return this.printElementType.editable&&this.options.columns.length==1?f:x.filter(function(o){return o.name!="columns"})},v.prototype.getFooterFormatter=function(){var x=void 0;if(this.printElementType.footerFormatter&&(x=this.printElementType.footerFormatter),this.options.footerFormatter)try{var f="footerFormatter="+this.options.footerFormatter;eval2(f)}catch(o){console.log(o)}return x},v.prototype.getGridColumnsFooterFormatter=function(){var x=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(x=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var f="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;eval2(f)}catch(o){console.log(o)}return x},v}(G.a)},function($,F,d){var G=function(){return function(f){this.table=f.table,this.fields=f.fields,this.isEnableEdit=f.isEnableEdit,this.trs=f.trs,this.resizeRow=f.resizeRow,this.resizeColumn=f.resizeColumn,this.isEnableEditField=f.isEnableEditField,this.isEnableContextMenu=f.isEnableContextMenu,this.isEnableEditField=f.isEnableEditField,this.isEnableInsertRow=f.isEnableInsertRow,this.isEnableDeleteRow=f.isEnableDeleteRow,this.isEnableInsertColumn=f.isEnableInsertColumn,this.isEnableDeleteColumn=f.isEnableDeleteColumn,this.isEnableMergeCell=f.isEnableMergeCell,this.columnResizable=f.columnResizable,this.columnAlignEditable=f.columnAlignEditable}}(),N=function(){function f(o){this.options=new G(o)}return f.prototype.enableEidt=function(){this.options.isEnableEdit},f.prototype.disableEdit=function(){this.options.isEnableEdit},f.prototype.isEnableEdit=function(){return this.options.isEnableEdit},f}(),b=d(0),p=function(){return function(f){this.cell=f.cell,this.link=f.link,this.linkType=f.linkType,this.bottom=f.bottom,this.rightMost=f.rightMost,this.rowLevel=f.rowLevel,this.columnLevel=f.columnLevel,this.indexInTableGridRow=f.indexInTableGridRow,this.indexInTableGridColumn=f.indexInTableGridColumn}}(),u=d(10),a=function(){function f(){}return f.getLeftTableCell=function(o,c){var r;return o.forEach(function(l,g){l.cell&&g<c&&(r=l.cell)}),r},f.getIndex=function(o,c){var r;return o.forEach(function(l,g){l.cell&&l.cell.id==c&&(r=g)}),r},f}(),y=d(13),w=d(11),H=function(){return function(f,o){this.target=f,this.grips=o}}(),h=function(){return function(f){this.target=f}}(),A=function(){return function(){this.rowColumns=[]}}(),M=function(){function f(){}return f.getColumnsWidth=function(o,c){var r={},l=f.allAutoWidth(o);return o.rowColumns.forEach(function(g){var P=c-0,j=g.width/l*(P>0?P:0);r[g.id]=j}),r},f.resizeTableCellWeight=function(o){o.forEach(function(c){c.columns.forEach(function(r){r.hasWidth&&S.default(r.getTarget()).css("width",r.width+"pt")})})},f.allAutoWidth=function(o){var c=0;return o.rowColumns.forEach(function(r){c+=r.width}),c},f.reconsitutionTableColumnTree=function(o,c,r){for(var l=c||new A,g=function(T){l.totalLayer=T+1,l[T]=o[T].columns,l.rowColumns=l.rowColumns.concat(l[T].filter(function(U){return U.rowspan==o.length-T}))},P=0;P<o.length;P++)g(P);return l},f}(),D=d(2),C=function(){function f(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return f.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},f.prototype.resizeTableCellWidth=function(){M.resizeTableCellWeight(this.rows)},f.prototype.addResizeRowAndColumn=function(){},f.prototype.createColumnGrips=function(){var o=this,c=this,r=[],l=S.default('<div class="columngrips"/>');l.width(this.target.width()),this.rows.forEach(function(g){(g.columns||[]).filter(function(P){return P.checked}).forEach(function(P,j){if(P.getTarget().attr("haswidth")){var T=S.default('<div class="columngrip"><div class="gripResizer"></div></div>');l.append(T);var U=new h(T);r.length>0&&(r[r.length-1].nextGrip=U),r.push(U),o.syncGrips(P,U),S.default(T).hidraggable({axis:"h",onDrag:function(W,O,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(D.a.instance.draging=!0,!U.nextGrip)return!1;c.dragingGrip=U,c.dragingGrip.left=parseFloat(c.dragingGrip.target.css("left").replace("px","")),U.target.addClass("columngripDraging")},onStopDrag:function(W){D.a.instance.draging=!1;var O=parseFloat(c.dragingGrip.target.css("left").replace("px","")),Y=b.a.px.toPt(O-c.dragingGrip.left);U.cell.width+Y<10?Y=10-U.cell.width:U.nextGrip.cell.width-Y<10&&(Y=U.nextGrip.cell.width-10),U.cell.width=U.cell.width+Y,U.nextGrip.cell.width=U.nextGrip.cell.width-Y,o.resizeTableCellWidth(),U.target.removeClass("columngripDraging"),c.updateColumnGrips()}})}})}),this.target.before(l),this.cgripContariner=new H(l,r)},f.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},f.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},f.prototype.createRowGrips=function(){var o=this,c=this,r=[],l=S.default('<div class="rowgrips"/>');this.rows.forEach(function(g,P){var j=S.default('<div class="rowgrip"><div class="gripResizer"></div></div>');l.append(j);var T=new h(j);r.push(T),P>0&&P<o.rows.length&&S.default(j).hidraggable({axis:"v",onDrag:function(Z,W,O){},moveUnit:"pt",minMove:1,onBeforeDrag:function(Z){c.dragingGrip=T,c.dragingGrip.top=parseFloat(c.dragingGrip.target.css("top").replace("px","")),T.target.addClass("rowgripDraging")},onStopDrag:function(Z){var W=parseFloat(c.dragingGrip.target.css("top").replace("px","")),O=b.a.px.toPt(W-c.dragingGrip.top+c.rows[P].columns[0].getTarget().height());c.rows[P].columns[0].getTarget().css("height",O+"pt"),c.syncRowGrips(),T.target.removeClass("rowgripDraging")}})}),this.target.before(l),this.rgripContariner=new H(l,r),this.syncRowGrips()},f.prototype.syncGrips=function(o,c){var r=o.getTarget();c.cell=o,c.target.css({left:r.offset().left-this.target.offset().left+r.outerWidth(!1),height:30})},f.prototype.syncRowGrips=function(){var o=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(c,r){var l=c.columns[0].getTarget();o.rgripContariner.grips[r].target.css({top:l.offset().top-o.target.offset().top+l.outerHeight(!1),width:30})})},f.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},f}(),v=function(){function f(){}return f.prototype.init=function(){},f.prototype.updateRowGrips=function(){},f.prototype.updateColumnGrips=function(){},f}();d.d(F,"a",function(){return x});var x=function(){function f(o){this.id=w.a.createId(),this.optionsCoat=new N(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new u.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new C(this):new v,this.resizer.init()}return f.prototype.insertRow=function(o,c,r){var l=c||this.tableCellSelector.getSingleSelect(),g=l.cell,P=this.rows[l.rowIndex],j=l.rowIndex,T=this.getCellGrid(),U=new y.a;if(U.init(this.optionsCoat,void 0,P.isHead),r&&U.getTarget().addClass(r),o=="above")T[j].forEach(function(W){var O=W.link?W.link:W.cell,Y=O.width/O.colspan;if(W.columnLevel==0){var et=U.createTableCell();et.width=Y,U.insertCellToLast(et)}else{if(W.linkType=="column"){var K=W.link.getTarget();W.link.rowspan+=1,K.attr("rowspan",W.link.rowspan)}W.linkType}}),this.rows.splice(j,0,U),P.getTarget().before(U.getTarget()),b.a.event.trigger("newRow"+this.id,U);else{var Z=j+g.rowspan-1;T[Z].forEach(function(W){var O=W.link?W.link:W.cell,Y=O.width/O.colspan;if(W.bottom){var et=U.createTableCell();et.width=Y,U.insertCellToLast(et)}else{if(W.cell){var K=W.cell.getTarget();W.cell.rowspan+=1,K.attr("rowspan",W.cell.rowspan)}W.linkType=="column"&&(K=W.link.getTarget(),W.link.rowspan+=1,K.attr("rowspan",W.link.rowspan))}}),this.rows.splice(Z+1,0,U),this.rows[Z].getTarget().after(U.getTarget()),b.a.event.trigger("newRow"+this.id,U)}},f.prototype.insertColumn=function(o,c,r,l){var g=this,P=this.rows.concat(this.trRows),j=c||this.tableCellSelector.getSingleSelect(),T=j.cell,U=j.rowIndex,Z=this.getCellGrid(P),W=Z[U].filter(function(et){return et.cell&&et.cell.id==T.id||et.link&&et.link.id==T.id});if(o=="left"){var O=W[0].indexInTableGridRow;Z.forEach(function(et,K){var tt=et[O],ot=et.filter(function(gt,ft){return ft>=O&>.cell});if(tt.rowLevel==0){var it=P[K],nt=P[K].createTableCell();r&&nt.getTarget().addClass(r),l!=null&&(nt.width=l),ot.length?it.insertToTargetCellLeft(ot[0].cell,nt):it.insertCellToLast(nt),b.a.event.trigger("newCell"+g.id,nt)}else if(tt.linkType=="row"){var dt=tt.link.getTarget();tt.link.colspan+=1,dt.attr("colspan",tt.link.colspan)}})}else{var Y=W[W.length-1].indexInTableGridRow;Z.forEach(function(et,K){var tt=et[Y],ot=et.filter(function(ft,vt){return vt<=Y&&ft.cell});if(tt.rightMost){var it=P[K],nt=it.createTableCell();r&&nt.getTarget().addClass(r),l!=null&&(nt.width=l),ot.length?it.insertToTargetCellRight(ot[ot.length-1].cell,nt):it.insertCellToFirst(nt),b.a.event.trigger("newCell"+g.id,nt)}else{var dt=tt.link||tt.cell;if(tt.linkType=="row"){var gt=dt.getTarget();dt.colspan+=1,gt.attr("colspan",dt.colspan)}tt.cell&&(gt=dt.getTarget(),dt.colspan+=1,gt.attr("colspan",dt.colspan))}})}},f.prototype.deleteRow=function(){var o=this,c=this.tableCellSelector.getSingleSelect(),r=(c.cell,this.rows[c.rowIndex],c.rowIndex),l=this.getCellGrid(),g=this.rows[r];l[r].forEach(function(P,j){if(P.cell)if(P.cell.rowspan==1)g.removeCell(P.cell);else{g.removeCell(P.cell);var T=l[r+1].filter(function(O,Y){return O.cell&&Y>j}),U=o.rows[r+1],Z=U.createTableCell(P.cell.rowspan-1,P.cell.colspan);T.length?U.insertToTargetCellLeft(T[0].cell,Z):U.insertCellToLast(Z)}else if(P.linkType=="column"){var W=P.link;W.rowspan-=1,W.getTarget().attr("rowspan",W.rowspan)}}),g.getTarget().remove(),this.rows.splice(r,1)},f.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),c=this.tableCellSelector.getSingleSelect(),r=c.cell,l=c.rowIndex,g=this.getCellGrid(o),P=g[l].filter(function(j){return j.cell&&j.cell.id==r.id||j.link&&j.link.id==r.id})[0].indexInTableGridRow;g.forEach(function(j,T){var U=j[P];U.cell?U.cell.colspan==1?o[T].removeCell(U.cell):(U.cell.colspan-=1,U.cell.getTarget().attr("colspan",U.cell.colspan)):U.linkType=="row"&&(U.link.colspan-=1,U.link.getTarget().attr("colspan",U.link.colspan))})},f.prototype.mergeCell=function(){var o=this,c=this.tableCellSelector.getSelectedCells();if(c.length!=0){var r=c[0][0].cell;c.forEach(function(l,g){l.forEach(function(P,j){g==0?j!=0&&(r.colspan+=P.cell.colspan,o.rows[P.rowIndex].removeCell(P.cell)):o.rows[P.rowIndex].removeCell(P.cell),j==0&&c[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(c[0][0])}},f.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),c=this.getCellGrid(),r=a.getIndex(c[o.rowIndex],o.cell.id);if(o){for(var l=o.rowIndex;l<o.rowIndex+o.cell.rowspan;l++)for(var g=this.rows[l],P=l==o.rowIndex?o.cell:a.getLeftTableCell(c[l],r),j=0;j<o.cell.colspan;j++)l==o.rowIndex&&j==0||(P?g.insertToTargetCellRight(P,g.createTableCell()):g.insertCellToFirst(g.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)}},f.prototype.init=function(o){var c=this;S.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(r){return c.optionsCoat.options.onBeforEdit&&o.onBeforEdit(r)===!1?!1:(c.optionsCoat.editingCell&&c.optionsCoat.editingCell.endEdit(),!0)},S.default(this.target).mousedown(function(r){c.optionsCoat.isLeftMouseButtonDown=!0}),S.default(this.target).mouseup(function(r){c.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(r){r.buttons===1&&c.tableCellSelector.multipleSelectByXY(r.pageX,r.pageY)}).on("mousedown",function(r){r.buttons===1&&c.tableCellSelector.singleSelectByXY(r.pageX,r.pageY)})},f.prototype.initRows=function(o){var c=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(l,g){l.init(c.optionsCoat,c.target.find("tr:eq("+g+")"),!0)});var r=this.optionsCoat.options.trs;r&&this.initRowsByTrs(r).forEach(function(l){c.trRows.push(l)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},f.prototype.initRowsByTrs=function(o){var c=this;return o.map(function(r,l){var g=new y.a;return g.init(c.optionsCoat,S.default(l)),g}).get()},f.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},f.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},f.prototype.getCellGrid=function(o){var c=o||this.rows,r=this.getColumnStep(),l=[];return c.forEach(function(g,P){g.columns.forEach(function(j,T){for(var U=0;U<j.colspan;U++)for(var Z=0,W=!1;Z<r&&!W;){if(l[P]=l[P]||[],!l[P][Z]){l[P][Z]=new p({cell:U==0?j:void 0,link:U!=0?j:void 0,linkType:U>0?"row":void 0,rightMost:U==j.colspan-1||void 0,bottom:j.rowspan-1==0,rowLevel:U,columnLevel:0,indexInTableGridRow:Z,indexInTableGridColumn:P});for(var O=P+1,Y=1;Y<j.rowspan;Y++)l[O]=l[O]||[],l[O][Z]=new p({cell:void 0,link:j,linkType:U>0?"rowColumn":"column",rightMost:U==j.colspan-1||void 0,bottom:Y==j.rowspan-1,rowLevel:U,columnLevel:Y,indexInTableGridRow:Z,indexInTableGridColumn:O}),O+=1;W=!0}Z++}})}),l},f.prototype.setAlign=function(o){var c=this.tableCellSelector.getSingleSelect();c&&c.cell.setAlign(o)},f.prototype.setVAlign=function(o){var c=this.tableCellSelector.getSingleSelect();c&&c.cell.setVAlign(o)},f.prototype.getColumnStep=function(o){var c=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(r){c+=r.colspan}),c},f.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;S.default(this.handle).hicontextMenu({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 r=o.tableCellSelector.getSingleSelect();return!r||r.cell.rowspan==1&&r.cell.colspan==1},callback:function(){o.splitCell(),b.a.event.trigger("updateTable"+o.id)}}].filter(function(c){return c.enabled})})},f.prototype.getTableWidth=function(){return b.a.px.toPt(this.target.outerWidth(!1))},f.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},f.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},f}()},function($,F,d){d.d(F,"a",function(){return G});var G=function(){return function(N,b,p){this.tid=N,this.options=b,this.printElementType=p}}()},function($,F,d){var G=d(3),N=d(12),b=function(){return function(w){this.width=w.width,this.title=w.title,this.field=w.field,this.checked=w.checked,this.columnId=w.columnId,this.fixed=!1,this.rowspan=w.rowspan||1,this.colspan=w.colspan||1,this.align=w.align,this.halign=w.halign,this.vAlign=w.vAlign,this.formatter2=w.formatter2,this.styler2=w.styler2,this.tableColumnHeight=w.tableColumnHeight||30,this.tableTextType=w.tableTextType||"text",this.tableBarcodeMode=w.tableBarcodeMode||"CODE128A",this.tableQRCodeLevel=w.tableQRCodeLevel||0,this.tableSummary=w.tableSummary}}(),p=d(5);d.d(F,"a",function(){return y});var u,a=(u=function(H,h){return(u=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(A,M){A.__proto__=M}||function(A,M){for(var D in M)M.hasOwnProperty(D)&&(A[D]=M[D])})(H,h)},function(w,H){function h(){this.constructor=w}u(w,H),w.prototype=H===null?Object.create(H):(h.prototype=H.prototype,new h)}),y=function(w){function H(h,A){var M=this;return h=h||{},(M=w.call(this,h)||this).lHeight=h.lHeight,M.autoCompletion=h.autoCompletion,M.tableFooterRepeat=h.tableFooterRepeat,A&&(M.columns=[],A.editable&&h.columns&&h.columns.length?h.columns.forEach(function(D){var C=[];D.forEach(function(v){var x=new b(v),f=A.getColumnByColumnId(x.columnId),o=f?S.default.extend(f,x):new p.a(x);C.push(o)}),M.columns.push(new N.a(C))}):A.columns.forEach(function(D){M.columns.push(new N.a(D))})),M}return a(H,w),H.prototype.getColumnByColumnId=function(h){return this.makeColumnObj()[h]},H.prototype.makeColumnObj=function(){var h={};return this.columns&&this.columns.forEach(function(A){A.columns.forEach(function(M){M.columnId&&(h[M.columnId]=M)})}),h},H.prototype.getGridColumns=function(){return this.gridColumns||1},H.prototype.getPrintElementOptionEntity=function(){var h=w.prototype.getPrintElementOptionEntity.call(this);return h.fields=this.fields,this.columns&&(h.columns=[],this.columns.forEach(function(A){var M=A.getPrintElementOptionEntity().map(function(D){return new b(D)});h.columns.push(M)})),h},H}(G.a)},function($,F,d){d.d(F,"a",function(){return G});var G=function(){return function(){this.rowColumns=[]}}()},function($,F,d){d.d(F,"a",function(){return G});var G=function(){function N(b,p){this.gridColumns=b,this.target=p}return N.prototype.getByIndex=function(b){return this.target.find(".hi-grid-col:eq("+b+")")},N}()},function($,F,d){$.exports=d(33)},function($,F){(function(d){function G(a){var y=d.data(a.data.target,"hidraggable"),w=y.options,H=y.proxy,h=a.data,A=h.startLeft+(a.pageX-h.startX)/(y.options.getScale()||1),M=h.startTop+(a.pageY-h.startY)/(y.options.getScale()||1);H&&(H.parent()[0]==document.body?(A=w.deltaX!=null&&w.deltaX!=null?a.pageX+w.deltaX:a.pageX-a.data.offsetWidth,M=w.deltaY!=null&&w.deltaY!=null?a.pageY+w.deltaY:a.pageY-a.data.offsetHeight):(w.deltaX!=null&&w.deltaX!=null&&(A+=a.data.offsetWidth+w.deltaX),w.deltaY!=null&&w.deltaY!=null&&(M+=a.data.offsetHeight+w.deltaY))),a.data.parent!=document.body&&(A+=d(a.data.parent).scrollLeft(),M+=d(a.data.parent).scrollTop()),w.axis=="h"?h.left=A:w.axis=="v"||a.shiftKey&&a.altKey?h.top=M:a.shiftKey?h.left=A:(h.left=A,h.top=M)}function N(a){var y=d.data(a.data.target,"hidraggable"),w=y.options,H=y.proxy;H||(H=d(a.data.target)),H.css({left:d.fn.dragLengthC(a.data.left,w),top:d.fn.dragLengthC(a.data.top,w)}),d("body").css("cursor",w.cursor)}function b(a){d.fn.hidraggable.isDragging=!0;var y=d.data(a.data.target,"hidraggable"),w=y.options,H=d(".hidroppable").filter(function(){return a.data.target!=this}).filter(function(){var A=d.data(this,"hidroppable").options.accept;return!A||d(A).filter(function(){return this==a.data.target}).length>0});y.hidroppables=H;var h=y.proxy;return h||(w.proxy?(h=w.proxy=="clone"?d(a.data.target).clone().insertAfter(a.data.target):w.proxy.call(a.data.target,a.data.target),y.proxy=h):h=d(a.data.target)),h.css("position","absolute"),G(a),N(a),w.onStartDrag.call(a.data.target,a),!1}function p(a){var y=d.data(a.data.target,"hidraggable");if(G(a),!(a.ctrlKey||a.metaKey)&&(a.data.target.className.startsWith("resize-panel")||a.data.target.style.zIndex=="2"||a.data.target.className.startsWith("hiprint-printElement"))){var w=a.data;if(d(".mouseRect").length==0&&y.options.designTarget&&y.options.designTarget.panel.printElements.filter(function(v){return v.designTarget.children().last().css("display")=="block"&&!v.printElementType.type.includes("table")}).length<=1){let v=window.hinnn.px.toPt(w.left),x=window.hinnn.px.toPt(w.top),f=y.options.designTarget.options;f.left=v,f.top=x,f.right=v+f.width,f.bottom=x+f.height,f.vCenter=v+f.width/2,f.hCenter=x+f.height/2,(()=>{let o=y.options.designTarget.panel.printElements.filter(c=>c.id!=y.options.designTarget.id).map(c=>{let{left:r,top:l,width:g,height:P}=c.options;return{...c.options,bottom:l+P,right:r+g,vCenter:r+g/2,hCenter:l+P/2}});for(let c in o)Math.abs(o[c].left-f.left)<=3?f.left=o[c].left:Math.abs(o[c].vCenter-f.left)<=3?f.left=o[c].vCenter:Math.abs(o[c].right-f.left)<=3&&(f.left=o[c].right),Math.abs(o[c].left-f.vCenter)<=3?f.left=o[c].left-f.width/2:Math.abs(o[c].vCenter-f.vCenter)<=3?f.left=o[c].vCenter-f.width/2:Math.abs(o[c].right-f.vCenter)<=3&&(f.left=o[c].right-f.width/2),Math.abs(o[c].left-f.right)<=3?f.left=o[c].left-f.width:Math.abs(o[c].vCenter-f.right)<=3?f.left=o[c].vCenter-f.width:Math.abs(o[c].right-f.right)<=3&&(f.left=o[c].right-f.width),Math.abs(o[c].top-f.top)<=3?f.top=o[c].top:Math.abs(o[c].hCenter-f.top)<=3?f.top=o[c].hCenter:Math.abs(o[c].bottom-f.top)<=3&&(f.top=o[c].bottom),Math.abs(o[c].top-f.hCenter)<=3?f.top=o[c].top-f.height/2:Math.abs(o[c].hCenter-f.hCenter)<=3?f.top=o[c].hCenter-f.height/2:Math.abs(o[c].bottom-f.hCenter)<=3&&(f.top=o[c].bottom-f.height/2),Math.abs(o[c].top-f.bottom)<=3?f.top=o[c].top-f.height:Math.abs(o[c].hCenter-f.bottom)<=3?f.top=o[c].hCenter-f.height:Math.abs(o[c].bottom-f.bottom)<=3&&(f.top=o[c].bottom-f.height)})(),a.data.left=window.hinnn.pt.toPx(f.left),a.data.top=window.hinnn.pt.toPx(f.top)}var H=w.parent.className.endsWith("design")?w.parent:w.parent.offsetParent,h=H.clientWidth,A=H.clientHeight,M=w.target.clientWidth,D=w.target.clientHeight;w.left<0?w.left=0:w.left>=h-M&&(w.left=h-M),w.top<0?w.top=0:w.top>=A-D&&(w.top=A-D),a.data=w}y.options.onDrag.call(a.data.target,a,d.fn.dragLengthCNum(a.data.left,y.options),d.fn.dragLengthCNum(a.data.top,y.options))!=0&&N(a);var C=a.data.target;return y.hidroppables.each(function(){var v=d(this);if(!v.hidroppable("options").disabled){var x=v.offset();a.pageX>x.left&&a.pageX<x.left+v.outerWidth()&&a.pageY>x.top&&a.pageY<x.top+v.outerHeight()?(this.entered||(d(this).trigger("_dragenter",[C]),this.entered=!0),d(this).trigger("_dragover",[C])):this.entered&&(d(this).trigger("_dragleave",[C]),this.entered=!1)}}),!1}function u(a){d.fn.hidraggable.isDragging=!1;var y,w,H=d.data(a.data.target,"hidraggable"),h=H.proxy,A=H.options;A.revert?D()==1?d(a.data.target).css({position:a.data.startPosition,left:a.data.startLeft,top:a.data.startTop}):h?(h.parent()[0]==document.body?(y=a.data.startX-a.data.offsetWidth,w=a.data.startY-a.data.offsetHeight):(y=a.data.startLeft,w=a.data.startTop),h.animate({left:y,top:w},function(){M()})):d(a.data.target).animate({left:a.data.startLeft,top:a.data.startTop},function(){d(a.data.target).css("position",a.data.startPosition)}):(d(a.data.target).css({position:"absolute",left:d.fn.dragLengthC(a.data.left,A),top:d.fn.dragLengthC(a.data.top,A)}),D());function M(){h&&h.remove(),H.proxy=null}function D(){var C=!1;return H.hidroppables.each(function(){var v=d(this);if(!v.hidroppable("options").disabled){var x=v.offset();return a.pageX>x.left&&a.pageX<x.left+v.outerWidth()&&a.pageY>x.top&&a.pageY<x.top+v.outerHeight()?(A.revert&&d(a.data.target).css({position:a.data.startPosition,left:a.data.startLeft,top:a.data.startTop}),d(this).trigger("_drop",[a.data.target]),M(),C=!0,this.entered=!1,!1):void 0}}),C||A.revert||M(),C}return A.onStopDrag.call(a.data.target,a),d(document).unbind(".hidraggable"),setTimeout(function(){d("body").css("cursor","")},100),!1}d.fn.hidraggable=function(a,y){return typeof a=="string"?d.fn.hidraggable.methods[a](this,y):this.each(function(){var w,H=d.data(this,"hidraggable");H?(H.handle.unbind(".hidraggable"),w=d.extend(H.options,a)):w=d.extend({},d.fn.hidraggable.defaults,d.fn.hidraggable.parseOptions(this),a||{});var h=w.handle?typeof w.handle=="string"?d(w.handle,this):w.handle:d(this);function A(M){var D=d.data(M.data.target,"hidraggable"),C=D.handle,v=d(C).offset(),x=d(C)[0].style.transform&&parseInt(d(C)[0].style.transform.slice(7,-1)),f=D.options.getScale(),o=d(C).outerWidth(),c=d(C).outerHeight();if(x){var r=x*Math.PI/180,l=d(C).outerWidth(),g=d(C).outerHeight(),P=Math.sin(r),j=Math.cos(r);o=Math.abs(l*j)+Math.abs(g*P),c=Math.abs(l*P)+Math.abs(g*j)}f&&(o*=f,c*=f);var T=M.pageY-v.top,U=v.left+o-M.pageX,Z=v.top+c-M.pageY,W=M.pageX-v.left;return Math.min(T,U,Z,W)>D.options.edge}d.data(this,"hidraggable",{options:w,handle:h}),w.disabled?d(this).css("cursor",""):h.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(M){if(!d.fn.hidraggable.isDragging){var D=d.data(M.data.target,"hidraggable").options;A(M)?d(this).css("cursor",D.cursor):d(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(M){d(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(M){if(A(M)!=0){d(this).css("cursor","");var D=d(M.data.target).position(),C=d(M.data.target).offset(),v={startPosition:d(M.data.target).css("position"),startLeft:D.left,startTop:D.top,left:D.left,top:D.top,startX:M.pageX,startY:M.pageY,offsetWidth:M.pageX-C.left,offsetHeight:M.pageY-C.top,target:M.data.target,parent:d(M.data.target).parent()[0]},x=v.target.style.transform&&parseInt(v.target.style.transform.slice(7,-1));if(x){var f=x*Math.PI/180,o=d(M.data.target).outerWidth(),c=d(M.data.target).outerHeight(),r=Math.sin(f),l=Math.cos(f),g=Math.abs(o*l)+Math.abs(c*r),P=Math.abs(o*r)+Math.abs(c*l),j=(g-o)/2,T=(P-c)/2;v.left+=j,v.top+=T,v.startLeft+=j,v.startTop+=T}var U=d.data(M.data.target,"hidraggable"),Z=U.options.getScale();if(Z&&(v.left/=Z,v.top/=Z,v.startLeft/=Z,v.startTop/=Z),d.extend(M.data,v),U.options.draggable===!1||M.target.className=="r resizebtn")return;d.data(M.data.target,"hidraggable").options.onBeforeDrag.call(M.data.target,M)!=0&&(d(document).bind("mousedown.hidraggable",M.data,b),d(document).bind("mousemove.hidraggable",M.data,p),d(document).bind("mouseup.hidraggable",M.data,u))}})})},d.fn.hidraggable.methods={options:function(y){return d.data(y[0],"hidraggable").options},update:function(y,w){w&&typeof w=="object"&&Object.keys(w).forEach(function(H){d.data(y[0],"hidraggable").options[H]=w[H]})},proxy:function(y){return d.data(y[0],"hidraggable").proxy},enable:function(y){return y.each(function(){d(this).hidraggable({disabled:!1})})},disable:function(y){return y.each(function(){d(this).hidraggable({disabled:!0})})}},d.fn.hidraggable.parseOptions=function(a){var y=d(a);return d.extend({},d.hiprintparser.parseOptions(a,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!y.attr("disabled")||void 0})},d.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(y){},onBeforeDrag:function(y){},onStartDrag:function(y){},onDrag:function(y){},onStopDrag:function(y){}},d.fn.hidraggable.isDragging=!1})(jQuery)},function($,F){(function(d){d.fn.hidroppable=function(G,N){return typeof G=="string"?d.fn.hidroppable.methods[G](this,N):(G=G||{},this.each(function(){var b,p=d.data(this,"hidroppable");p?d.extend(p.options,G):(d(b=this).addClass("hidroppable"),d(b).bind("_dragenter",function(u,a){d.data(b,"hidroppable").options.onDragEnter.apply(b,[u,a])}),d(b).bind("_dragleave",function(u,a){d.data(b,"hidroppable").options.onDragLeave.apply(b,[u,a])}),d(b).bind("_dragover",function(u,a){d.data(b,"hidroppable").options.onDragOver.apply(b,[u,a])}),d(b).bind("_drop",function(u,a){d.data(b,"hidroppable").options.onDrop.apply(b,[u,a])}),d.data(this,"hidroppable",{options:d.extend({},d.fn.hidroppable.defaults,d.fn.hidroppable.parseOptions(this),G)}))}))},d.fn.hidroppable.methods={options:function(N){return d.data(N[0],"hidroppable").options},enable:function(N){return N.each(function(){d(this).hidroppable({disabled:!1})})},disable:function(N){return N.each(function(){d(this).hidroppable({disabled:!0})})}},d.fn.hidroppable.parseOptions=function(G){var N=d(G);return d.extend({},d.hiprintparser.parseOptions(G,["accept"]),{disabled:!!N.attr("disabled")||void 0})},d.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(N,b){},onDragOver:function(N,b){},onDragLeave:function(N,b){},onDrop:function(N,b){}}})(jQuery)},function($,F){var d;(d=jQuery).hiprintparser={parseOptions:function(N,b){var p=d(N),u={},a=d.trim(p.attr("data-options"));if(a&&(a.substring(0,1)!="{"&&(a="{"+a+"}"),u=new Function("return "+a)()),b){for(var y={},w=0;w<b.length;w++){var H=b[w];if(typeof H=="string")y[H]=H=="width"||H=="height"||H=="left"||H=="top"?parseInt(N.style[H])||void 0:p.attr(H);else for(var h in H){var A=H[h];A=="boolean"?y[h]=p.attr(h)?p.attr(h)=="true":void 0:A=="number"&&(y[h]=p.attr(h)=="0"?0:parseFloat(p.attr(h))||void 0)}}d.extend(u,y)}return u}},d.fn.dragLengthC=function(G,N){return N.moveUnit=="pt"?d.fn.dragLengthCNum(G,N)+"pt":d.fn.dragLengthCNum(G,N)},d.fn.dragLengthCNum=function(G,N){var b=3;if(N.moveUnit=="pt"){var p=.75*G;return N.minMove&&(b=N.minMove),Math.round(p/b)*b}return Math.round(p/b)*b}},function($,F){var d,G,N;d=jQuery,G={maxPanelIndex:0},(N=function(p){this.options=d.data(p.target,"hireizeable").options,this.init(p.target)}).prototype={numHandlerText:function(p){return this.numHandler(p)+"pt"},numHandler:function(p){var u=1.5,a=.75*p;return this.options.minResize&&(u=this.options.minResize),Math.round(a/u)*u},init:function(p){p.className.includes("hiprint-printElement")&&this.initResizeBox(p)},initResizeBox:function(p){var u=this;d(p).each(function(){var a;G.maxPanelIndex+=1,u.options.noContainer?a=d(p):a=d("<div panelIndex="+G.maxPanelIndex+' class="resize-panel"></div>'),u.appendHandler(a,d(this));var y={name:"n",target:d('<div class="resizebtn n"/>')},w={name:"s",target:d('<div class="resizebtn s"/>')},H={name:"w",target:d('<div class="resizebtn w"/>')},h={name:"e",target:d('<div class="resizebtn e"/>')},A={name:"ne",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},M={name:"nw",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},D={name:"se",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},C={name:"sw",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},v={name:"r",target:d('<div class="resizebtn r"/>')},x={name:"why",target:d('<div class="resizebtn why"/>')},f=d('<div class="size-box"></div>'),o=function(){var l=[x.target],g=u.options.showPoints;return d.each([v,y,w,H,h,A,M,D,C],function(P,j){d.inArray(j.name,g)>-1&&l.push(j.target)}),l};u.refreshSizeBox(void 0,f,a),u.appendHandler(o(),a),u.bindResizeEvent(a,d(this));var c=d(this);d(a).on("mousedown",".resizebtn",function(){c.addClass("resizeing")}),d(".easyui-droppable").on("mouseup",function(){c.removeClass("resizeing")}),u.bindTrigger(d(this))}),u.bindHidePanel()},addHandlerCss:function(p){for(var u=0;u<p.length;u++)p[u].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(p,u){u.find(".resize-panel").remove();for(var a=0;a<p.length;a++)u.append(p[a])},refreshSizeBox:function(p,u,a){if(!!this.options.showSizeBox){if(u)a.append(u);else if(p&&p.length){var y=p[0].style,w=p.children("div[panelindex]").find(".size-box");w&&(w.text(y.width+" x "+y.height),w.css("top",-(w.outerHeight()+1)));var H=p.height(),h=p[0].clientHeight,A=p.width(),M=p[0].clientWidth;H<=40?(d.each([".ne",".nw",".se",".sw"],function(D,C){var v=h-30;p.find(C).css("height",v>0?v:0),p.find(C).css("width",v>0?v:0),v<=0&&(C.includes("n")&&p.find(C).css("border-top","none"),C.includes("s")&&p.find(C).css("border-bottom","none"),C.includes("e")&&p.find(C).css("border-right","none"),C.includes("w")&&p.find(C).css("border-left","none"))}),d.each([".e",".w"],function(D,C){var v=h-30;p.find(C).css("height",v>0?v:10),p.find(C).css("top",h/2-(v>0?v:10)/2)})):d.each([".e",".w"],function(D,C){p.find(C).css("top",h/2-p.find(C).height()/2)}),A<=40?(d.each([".ne",".nw",".se",".sw"],function(D,C){var v=M-30;p.find(C).css("height",v>0?v:0),p.find(C).css("width",v>0?v:0),v<=0&&(C.includes("n")&&p.find(C).css("border-top","none"),C.includes("s")&&p.find(C).css("border-bottom","none"),C.includes("e")&&p.find(C).css("border-right","none"),C.includes("w")&&p.find(C).css("border-left","none"))}),d.each([".n",".s"],function(D,C){let v=M-30;p.find(C).css("width",v>0?v:10),p.find(C).css("left",M/2-(v>0?v:10)/2)})):d.each([".n",".s",".r"],function(D,C){C==".r",p.find(C).css("left",M/2-p.find(C).width()/2)}),h>40&&M>40&&(d.each([".ne",".nw",".se",".sw"],function(D,C){C.includes("n")&&p.find(C).css("border-top",""),C.includes("s")&&p.find(C).css("border-bottom",""),C.includes("e")&&p.find(C).css("border-right",""),C.includes("w")&&p.find(C).css("border-left","")}),d.each([".n",".s"],function(D,C){p.find(C).css("width","")}))}}},triggerResize:function(p,u){u.ctrlKey||u.metaKey||p.siblings().children("div[panelindex]").css({display:"none"}),p.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(p)},bindResizeEvent:function(p,u){var a=this,y=0,w=0,H=p.width(),h=p.height(),A=p.offset().left,M=p.offset().top,D=a.options.noContainer?d(u):p.parent(),C=!1;p.on("mousedown",".e",function(j){y=j.pageX,H=p.width(),C=!0,j.stopPropagation()});var v=!1;p.on("mousedown",".s",function(j){w=j.pageY,h=p.height(),v=!0,j.stopPropagation()});var x=!1;p.on("mousedown",".w",function(j){y=j.pageX,H=p.width(),x=!0,A=D.position().left,j.stopPropagation()});var f=!1;p.on("mousedown",".n",function(j){w=j.pageY,h=p.height(),f=!0,M=D.position().top,j.stopPropagation()});var o=!1;p.on("mousedown",".ne",function(j){y=j.pageX,w=j.pageY,H=p.width(),h=p.height(),o=!0,M=D.position().top,j.stopPropagation()});var c=!1;p.on("mousedown",".nw",function(j){y=j.pageX,w=j.pageY,H=p.width(),h=p.height(),M=D.position().top,A=D.position().left,c=!0,j.stopPropagation()});var r=!1;p.on("mousedown",".se",function(j){y=j.pageX,w=j.pageY,H=p.width(),h=p.height(),r=!0,j.stopPropagation()});var l=!1;p.on("mousedown",".sw",function(j){y=j.pageX,w=j.pageY,H=p.width(),h=p.height(),l=!0,A=D.position().left,j.stopPropagation()});var g=!1;p.on("mousedown",".r",function(j){y=j.pageX,w=j.pageY,H=p.width(),h=p.height(),g=!0,A=H/2+D.position().left,M=h/2+D.position().top,j.stopPropagation()}),p.on("dblclick",".r",function(j){D.css({transform:"rotate("+0+"deg)"}),a.options.onResize(j,void 0,void 0,void 0,void 0,0),j.stopPropagation()});var P=!1;p.on("mousedown",function(j){a.options.onBeforeResize(),y=j.pageX,w=j.pageY,M=D.position().top,A=D.position().left,P=!1}),d(a.options.stage).on("mousemove",function(j){if(C){var T=(j.pageX-y)/a.options.getScale();p.css({width:"100%"}),D.css({width:a.numHandlerText(H+T)}),a.options.onResize(j,void 0,a.numHandler(H+T),void 0,void 0)}else if(v){var U=(j.pageY-w)/a.options.getScale();p.css({height:"100%"}),D.css({height:a.numHandlerText(h+U)}),a.options.onResize(j,a.numHandler(h+U),void 0,void 0,void 0)}else if(g){p.css({height:"100%"});var Z=j.pageX;j.pageY;var W=(Z-y)*360/100;y=j.pageX;var O=D[0].style.transform&&parseInt(D[0].style.transform.slice(7,-1))||0,Y=O+W;Math.abs(Y)>360&&(Y=Y%360),D.css({transform:"rotate("+Y+"deg)"}),a.options.onResize(j,void 0,void 0,void 0,void 0,Y)}else if(x)T=(j.pageX-y)/a.options.getScale(),p.css({width:"100%"}),D.css({width:a.numHandlerText(H-T),left:a.numHandlerText(a.options.noDrag?void 0:A+T)}),a.options.onResize(j,void 0,a.numHandler(H-T),void 0,a.options.noDrag?void 0:a.numHandler(A+T));else if(f)U=(j.pageY-w)/a.options.getScale(),p.css({height:"100%"}),D.css({height:a.numHandlerText(h-U),top:a.numHandlerText(a.options.noDrag?void 0:M+U)}),a.options.onResize(j,a.numHandler(h-U),void 0,a.options.noDrag?void 0:a.numHandler(M+U),void 0);else if(o)if(T=(j.pageX-y)/a.options.getScale(),U=(j.pageY-w)/a.options.getScale(),p.css({height:"100%",width:"100%"}),j.shiftKey)D.css({height:a.numHandlerText(h-U),top:a.numHandlerText(a.options.noDrag?void 0:M+U),width:a.numHandlerText(H+T)}),a.options.onResize(j,a.numHandler(h-U),a.numHandler(H+T),a.options.noDrag?void 0:a.numHandler(M+U),void 0);else{var et=h/H,K=H+T,tt=h-U,ot=M+U;tt=K*et,ot=M+U+h-U-tt,D.css({width:a.numHandlerText(K),height:a.numHandlerText(tt),top:a.numHandlerText(a.options.noDrag?void 0:ot)}),a.options.onResize(j,a.numHandler(tt),a.numHandler(K),a.options.noDrag?void 0:a.numHandler(ot),void 0)}else if(c)if(T=(j.pageX-y)/a.options.getScale(),U=(j.pageY-w)/a.options.getScale(),p.css({height:"100%",width:"100%"}),j.shiftKey)D.css({height:a.numHandlerText(h-U),top:a.numHandlerText(a.options.noDrag?void 0:M+U),width:a.numHandlerText(H-T),left:a.numHandlerText(a.options.noDrag?void 0:A+T)}),a.options.onResize(j,a.numHandler(h-U),a.numHandler(H-T),a.options.noDrag?void 0:a.numHandler(M+U),a.options.noDrag?void 0:a.numHandler(A+T));else{var et=h/H,K=H-T,tt=h-U,it=A+T,ot=M+U;tt=K*et,it=A+T,ot=M+U+h-U-tt,D.css({width:a.numHandlerText(K),height:a.numHandlerText(tt),left:a.numHandlerText(a.options.noDrag?void 0:it),top:a.numHandlerText(a.options.noDrag?void 0:ot)}),a.options.onResize(j,a.numHandler(tt),a.numHandler(K),a.options.noDrag?void 0:a.numHandler(ot),a.options.noDrag?void 0:a.numHandler(it))}else if(r)if(T=(j.pageX-y)/a.options.getScale(),U=(j.pageY-w)/a.options.getScale(),p.css({width:"100%",height:"100%"}),j.shiftKey)D.css({width:a.numHandlerText(H+T),height:a.numHandlerText(h+U)}),a.options.onResize(j,a.numHandler(h+U),a.numHandler(H+T),void 0,void 0);else{var et=h/H,K=H+T,tt=h+U;tt=K*et,D.css({width:a.numHandlerText(K),height:a.numHandlerText(tt)}),a.options.onResize(j,a.numHandler(tt),a.numHandler(K),void 0,void 0)}else if(l)if(T=(j.pageX-y)/a.options.getScale(),U=(j.pageY-w)/a.options.getScale(),p.css({width:"100%",height:"100%"}),j.shiftKey)D.css({width:a.numHandlerText(H-T),left:a.numHandlerText(a.options.noDrag?void 0:A+T),height:a.numHandlerText(h+U)}),a.options.onResize(j,a.numHandler(h+U),a.numHandler(H-T),void 0,a.options.noDrag?void 0:a.numHandler(A+T));else{var et=h/H,K=H-T,tt=h+U,it=A+T;tt=K*et,D.css({width:a.numHandlerText(K),left:a.numHandlerText(a.options.noDrag?void 0:it),height:a.numHandlerText(tt)}),a.options.onResize(j,a.numHandler(tt),a.numHandler(K),void 0,a.options.noDrag?void 0:a.numHandler(it))}else P&&(T=(j.pageX-y)/a.options.getScale(),U=(j.pageY-w)/a.options.getScale(),D.css({left:a.numHandlerText(a.options.noDrag?void 0:A+T),top:a.numHandlerText(a.options.noDrag?void 0:M+U)}),a.options.onResize(j,void 0,void 0,a.options.noDrag?void 0:a.numHandler(M+U),a.options.noDrag?void 0:a.numHandler(A+T)))}).on("mouseup",function(j){(C||v||x||f||o||c||l||r||P||g)&&a.options.onStopResize(g),C=!1,v=!1,x=!1,f=!1,o=!1,c=!1,l=!1,r=!1,P=!1,g=!1})},bindTrigger:function(p){var u=this;p.on("click",function(a){a.stopPropagation(),u.triggerResize(p,a),d(".mouseRect").remove()})},bindHidePanel:function(p){if(G.maxPanelIndex<2){var u=this.options.stage;d(u).bind("click",function(a){a.target.className&&Mt(a.target.className)=="string"&&(a.target.className.includes("design")||a.target.className.includes("paperBox"))&&(a.stopPropagation(),d("div[panelindex]").css({display:"none"}))})}}},d.fn.extend({hireizeable:function(p){return this.each(function(){var u,a=d.data(this,"hireizeable");u=a?d.extend({},a.options,p||{}):d.extend({},d.fn.hireizeable.defaults,p||{}),d.data(this,"hireizeable",{options:u}),new N({target:this,onResize:function(w,H,h,A,M){},onStopResize:function(w,H,h,A,M){}})})}}),d.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(p,u,a,y,w){},onResize:function(p,u,a,y,w){},onStopResize:function(p,u,a,y,w){},noDrag:!1}},function($,F){var d,G;jQuery,d="connected",G="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",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(p){console.log("send data error:"+(b||"")+JSON.stringify(p))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(b){console.log("refreshPrinterList error:"+JSON.stringify(b))}},getAddress:function(b,...p){try{this.socket.emit("address",b,...p)}catch(u){console.log("getAddress error:"+JSON.stringify(u))}},ippPrint:function(b){try{this.socket.emit("ippPrint",b)}catch(p){console.log("ippPrint error:"+JSON.stringify(p))}},ippRequest:function(b){try{this.socket.emit("ippRequest",b)}catch(p){console.log("ippRequest error:"+JSON.stringify(p))}},setHost:function(N,b){this.host=N,this.stop(),this.start(b)},start:function(b){var p=this,u=this;window.WebSocket?this.socket||(this.socket=$t.io(this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(a){u.opened=!0,console.log("Websocket opened."),p.socket.on("successs",function(y){hinnn.event.trigger("printSuccess_"+y.templateId,y)}),p.socket.on("error",function(y){hinnn.event.trigger("printError_"+y.templateId,y)}),p.socket.on("printerList",function(y){u.printerList=y,hinnn.event.trigger("printerList",y)}),p.socket.on("address",function(y,w,H){hinnn.event.trigger("address_"+y,{addr:w,e:H})}),p.socket.on("ippPrinterConnected",function(y){hinnn.event.trigger("ippPrinterConnected",y)}),p.socket.on("ippPrinterCallback",function(y,w){hinnn.event.trigger("ippPrinterCallback",{err:y,res:w})}),p.socket.on("ippRequestCallback",function(y,w){hinnn.event.trigger("ippRequestCallback",{err:y,res:w})}),u.state=d,b&&b(!0,a)}),this.socket.on("disconnect",function(){u.opened=!1,b&&b(!1)})):console.log("WebSocket start fail"),b&&b(!1)},reconnect:function(){this.state!==d&&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($,F,d){var G=d(28);typeof G=="string"&&(G=[[$.i,G,""]]);var N={hmr:!0,transform:void 0,insertInto:void 0};d(30)(G,N),G.locals&&($.exports=G.locals)},function($,F,d){($.exports=d(29)(!1)).push([$.i,`.hicontextmenu {\r
|
|
1449
|
+
</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}();d.d(J,"a",function(){return Ie});var Ie=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 A,new f,new l,new u,new W,new r,new b,new V,new w,new N,new g,new D,new H,new v,new C,new x,new y,new M,new o,new c,new a,new s,new I,new S,new P,new j,new B,new Z,new z,new O,new F,new tt,new X,new q,new at,new et,new ot,new pt,new It,new ft,new Pt,new gt,new Mt,new ht,new dt,new Tt,new kt,new yt,new jt,new At,new Et,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new Gt,new e,new m,new i,new p,new h,new U,new G,new L,new $,new Rt,new Yt,new Ot,new Qt,new Xt,new _t,new Kt,new $t,new te,new qt,new ee,new ie,new ne,new ae,new oe,new re,new se,new le,new pe,new it,new rt,new R,new Q,new ut,new lt,new Nt,new ct,new St],n}()},function(K,J,d){d.d(J,"a",function(){return A}),d.d(J,"b",function(){return f});var W=d(14),A=function(){function r(b,w){this.selectedCells=[],this.rows=b,this.tableTatget=w}return r.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},r.prototype.setSingleSelect=function(b){this.startCell=b,this.selectedCells=[]},r.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},r.prototype.singleSelectByXY=function(b,w){var N=this.getCellByXY(b,w);N&&(this.clear(),N&&(N.cell.select(),this.startCell=N,this.selectedCells=[]))},r.prototype.multipleSelectByXY=function(b,w){this.clear();var N=[];if(this.startCell){var g=this.getCellByXY(b,w);if(g){var x=W.a.mergeRect(this.startCell.cell.getTableRect(),g.cell.getTableRect());this.selectByRect(new l(x),N)}}this.selectedCells=N},r.prototype.selectByRect=function(b,w){this.rows.forEach(function(N,g){var x=[];N.columns.forEach(function(y){y.isInRect(b)&&(x.push(new u(g,y)),y.select())}),x.length&&w.push(x)}),b.changed&&(b.changed=!1,w.splice(0,w.length),this.selectByRect(b,w))},r.prototype.getSelectedCells=function(){return this.selectedCells},r.prototype.getCellByXY=function(b,w){var N;return this.rows.forEach(function(g,x){var y=(g.columns||[]).filter(function(D){return D.checked}).filter(function(D){return D.isXYinCell(b,w)});y.length&&(N=new u(x,y[0]))}),N},r}(),f=function(){return function(r){this.x=r.x,this.y=r.y,this.height=r.height,this.width=r.width}}(),l=function(){return function(r){this.rect=r}}(),u=function(){return function(r,b){this.rowIndex=r,this.cell=b}}()},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){function A(){}return A.createId=function(){return this.id+=1,this.id},A.id=1,A}()},function(K,J,d){d.d(J,"a",function(){return u});var W,A=d(5),f=d(13),l=(W=function(b,w){return(W=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(N,g){N.__proto__=g}||function(N,g){for(var x in g)g.hasOwnProperty(x)&&(N[x]=g[x])})(b,w)},function(r,b){function w(){this.constructor=r}W(r,b),r.prototype=b===null?Object.create(b):(w.prototype=b.prototype,new w)}),u=function(r){function b(w){var N=r.call(this)||this;return N.columns=[],w&&w.constructor===Array?(w||[]).forEach(function(g){N.columns.push(new A.a(g))}):w.columns&&(w.columns||[]).forEach(function(g){N.columns.push(new A.a(g))}),N}return l(b,r),b.prototype.getPrintElementOptionEntity=function(){var w=[],N=this.allColumns?this.allColumns.filter(function(g){return!g.checked}):[];return[...this.columns,...N].forEach(function(g){w.push(g.getEntity())}),w},b}(f.a)},function(K,J,d){d.d(J,"a",function(){return f});var W=d(11),A=d(5),f=function(){function l(){this.id=W.a.createId()}return l.prototype.init=function(u,r,b){this.isHead=b,this.target=r||T.default("<tr></tr>"),this.tableOptions=u,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(w){return w.checked}))},l.prototype.getTarget=function(){return this.target},l.prototype.initCells=function(u){var r=this;u?(this.columns=u,u.forEach(function(b,w){b.init(r.target.find("td:eq("+w+")"),r.tableOptions,r.id,r.isHead)})):(this.columns=[],this.target.find("td").map(function(b,w){var N=new A.a;N.init(T.default(w),r.tableOptions,r.id,r.isHead),r.columns.push(N)}))},l.prototype.removeCell=function(u){var r=this.columns.indexOf(u);this.columns[r].getTarget().remove(),this.columns.splice(r,1)},l.prototype.createTableCell=function(u,r){var b=new A.a;return b.init(T.default("<td></td>"),this.tableOptions,this.id,this.isHead),u>1&&(b.getTarget().attr("rowspan",u),b.rowspan=u),r>1&&(b.getTarget().attr("colspan",r),b.colspan=r),b},l.prototype.insertToTargetCellLeft=function(u,r){var b=this.columns.indexOf(u);u.getTarget().before(r.getTarget()),this.columns.splice(b,0,r)},l.prototype.insertToTargetCellRight=function(u,r){var b=this.columns.indexOf(u);this.columns[b].getTarget().after(r.getTarget()),this.columns.splice(b+1,0,r)},l.prototype.insertCellToFirst=function(u){this.target.prepend(u.getTarget()),this.columns.splice(0,0,u)},l.prototype.insertCellToLast=function(u){this.columns.push(u),this.target.append(u.getTarget())},l.prototype.getPrintElementOptionEntity=function(){var u=[];return[...this.columns,...this.allColumns.filter(function(r){return!r.checked})].forEach(function(r){u.push(r.getEntity())}),u},l}()},function(K,J,d){d.d(J,"a",function(){return A});var W=d(10),A=function(){function f(){}return f.mergeRect=function(l,u){var r=Math.min(l.x,u.x),b=Math.min(l.y,u.y);return new W.b({x:r,y:b,height:Math.max(l.y+l.height,u.y+u.height)-b,width:Math.max(l.x+l.width,u.x+u.width)-r})},f.Rect=function(l,u,r,b){return{minX:l<r?l:r,minY:u<b?u:b,maxX:l<r?r:l,maxY:u<b?b:u}},f}()},function(K,J,d){d.d(J,"a",function(){return D});var W=d(4),A=d(1),f=d(6),l=d(0),u=d(8),r=d(18),b=d(7),w=d(16),N=d(20),g=d(2),x=(y=function(v,C){return(y=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(M,o){M.__proto__=o}||function(M,o){for(var c in o)o.hasOwnProperty(c)&&(M[c]=o[c])})(v,C)},function(H,v){function C(){this.constructor=H}y(H,v),H.prototype=v===null?Object.create(v):(C.prototype=v.prototype,new C)}),y,D=function(H){function v(C,M){var o=H.call(this,C)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new r.a(M,o.printElementType),o.options.setDefault(new r.a(A.a.instance.table.default).getPrintElementOptionEntity()),o}return x(v,H),v.prototype.getColumns=function(){return this.options.columns},v.prototype.getColumnByColumnId=function(C){return this.options.getColumnByColumnId(C)},v.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var C=this.designTarget.find(".hiprint-printElement-table-content"),M=this.getHtml(this.designPaper);C.html(""),C.append(M[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},v.prototype.css=function(C,M){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return H.prototype.css.call(this,C,M)},v.prototype.getDesignTarget=function(C){return this.designTarget=this.getHtml(C)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=C,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,c){},onDragEnter:function(o,c){T.default(c).removeClass("rn-draggable-item")},onDragLeave:function(o,c){T.default(c).addClass("rn-draggable-item")}}),this.designTarget},v.prototype.getConfigOptions=function(){return A.a.instance.table},v.prototype.createTarget=function(C,M,o){for(var c=T.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),s=0;s<a.gridColumns;s++)a.getByIndex(s).append(this.getTableHtml(M,o));return c.find(".hiprint-printElement-table-content").append(a.target),c},v.prototype.createGridColumnsStructure=function(C){for(var M=T.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var c=T.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');M.append(c)}var a=this.getGridColumnsFooterFormatter();if(a){var s=T.default('<div class="hiprint-gridColumnsFooter"></div>');s.append(a(this.options,this.getData(C),C,[])),M.append(s)}return new N.a(this.options.getGridColumns(),M)},v.prototype.createtempEmptyRowsTargetStructure=function(C){if(this.getField())return this.createTarget(this.printElementType.title,[]);var M=this.createTarget(this.printElementType.title,[]).clone();return M.find(".hiprint-printElement-tableTarget tbody tr").remove(),M},v.prototype.getTableHtml=function(C,M){var o,c;if(!this.getField()&&this.options.content)return(o=T.default("<div></div>")).append(this.options.content),(c=o.find("table")).addClass("hiprint-printElement-tableTarget"),c;if(this.printElementType.formatter)return(o=T.default("<div></div>")).append(this.printElementType.formatter(C)),(c=o.find("table")).addClass("hiprint-printElement-tableTarget"),c;var a=T.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return a.append(b.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),a.append(b.a.createTableRow(this.getColumns(),C,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||b.a.createTableFooter(this.printElementType.columns,C,this.options,this.printElementType,M,C).insertBefore(a.find("tbody")),a},v.prototype.getEmptyRowTarget=function(){return b.a.createEmptyRowTarget(this.getColumns())},v.prototype.getHtml=function(C,M){this.createTempContainer();var o=this.getPaperHtmlResult(C,M);return this.removeTempContainer(),o},v.prototype.getPaperHtmlResult=function(C,M){var o=[],c=this.getData(M),a=this.getTableHtml(c,M),s=this.createtempEmptyRowsTargetStructure(M);M?this.updateTargetWidth(s):this.updateTargetSize(s),this.css(s,c),this.css(a,c),this.getTempContainer().html(""),this.getTempContainer().append(s);var I=s.find("tfoot").outerHeight()||0;s.find("tfoot").remove();for(var S,P=this.getBeginPrintTopInPaperByReferenceElement(C),j=0,B=!1;!B;){var Z=0,z=C.getPaperFooter(j);j==0&&P>z&&C.panelPageRule!="none"&&(P=P-z+C.paperHeader,o.push(new f.a({target:void 0,printLine:void 0})),Z=C.getContentHeight(j)-(P-C.paperHeader),j++,z=C.getPaperFooter(j));var O=o.length>0?o[o.length-1].target:void 0,F=this.getRowsInSpecificHeight(M,Z>0?Z:j==0?z-P:C.getContentHeight(j),s,a,j,O,I);if(B=F.isEnd,Z<0){var tt=this.options.top;o[0].target=T.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=P,o[0].referenceElement=new u.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:C.index,bottomInLastPaper:tt+this.options.lHeight,printTopInPaper:P}),o[0].target.css("top",tt+"pt"),o[0].target.css("left",this.options.displayLeft());break}var X=void 0;F.target&&(F.target.css("left",this.options.displayLeft()),F.target[0].height=""),j==0||Z>0?(F.target&&(S=P,F.target.css("top",P+"pt")),X=B&&this.options.lHeight!=null?P+(F.height>this.options.lHeight?F.height:this.options.lHeight):P+F.height):(F.target&&(S=C.paperHeader,F.target.css("top",C.paperHeader+"pt")),X=C.paperHeader+F.height),o.push(new f.a({target:F.target,printLine:X,referenceElement:new u.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:C.index,bottomInLastPaper:X,printTopInPaper:S})})),j++,M&&this.updatePanelHeight(X+this.options.getHeight(),C)}return o},v.prototype.getRowsInSpecificHeight=function(C,M,o,c,a,s,I){var S=this,P=c.find("tbody"),j=l.a.pt.toPx(M);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"&&(C?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 B=this.panel.panelPageRule=="none",Z=o.outerHeight();if(!B&&Z>j)return{target:void 0,length:0,height:0,isEnd:!1};for(var z=this.options.getGridColumns(),O=[],F=0;F<z;F++)for(var tt=o.find(".hiprint-printElement-tableTarget:eq("+F+")"),X=void 0,q=[];;){if(B){var at=P.find("tr").length;if(at==0)X={height:l.a.px.toPt(Z),isEnd:!0},C&&this.options.autoCompletion&&(this.autoCompletion(j,tt),Z=o.outerHeight());else{var et=P.find("tr:lt(1)");tt.find("tbody").append(et);var ot=et.data("rowData");O.push(ot),q.push(ot),Z=o.outerHeight(),at==0&&(P.prepend(et),O.pop(),q.pop(),X={height:l.a.px.toPt(Z),isEnd:!1})}}else if(Z<=j)if(P.find("tr").length==0)X={height:l.a.px.toPt(Z),isEnd:!0},C&&this.options.autoCompletion&&(this.autoCompletion(j,tt),Z=tt.outerHeight());else{var et=P.find("tr:lt(1)");tt.find("tbody").append(et);var ot=et.data("rowData");O.push(ot),q.push(ot),Z=tt.outerHeight(),(Z+=I)>j&&(P.prepend(et),O.pop(),q.pop(),Z=o.outerHeight(),X={height:l.a.px.toPt(Z),isEnd:!1})}if(X){if(this.options.tableFooterRepeat=="last"&&!X.isEnd)break;this.options.tableFooterRepeat!=="no"&&(b.a.createTableFooter(this.printElementType.columns,this.getData(C),this.options,this.printElementType,C,q).insertBefore(tt.find("tbody")),S.css(tt,C));break}}var pt=o.find(".hiprint-printElement-tableTarget tbody tr").length,It=this.getGridColumnsFooterFormatter();It&&o.find(this.gridColumnsFooterCss).html(It(this.options,this.getData(C),C,O)),Z=o.outerHeight();var ft=P.find("tr").length==0?pt==0&&s?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!1};return ft},v.prototype.autoCompletion=function(C,M){for(var o,c=this.getEmptyRowTarget(),a=M.outerHeight();C>a;)o=c.clone(),M.find("tbody").append(o),a=M.outerHeight();o&&o.remove()},v.prototype.getData=function(C){if(!C)return[{}];var M=this.getField(),o=M&&M.split(".").reduce((c,a)=>c?c[a]:C?C[a]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},v.prototype.onResize=function(C,M,o,c,a){H.prototype.updateSizeAndPositionOptions.call(this,a,c,o,M),b.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},v.prototype.getReizeableShowPoints=function(){return this.options.showPoints||A.a.instance.table.showPoints},v.prototype.design=function(C,M){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,s,I){o.updateSizeAndPositionOptions(s,I),o.createLineOfPosition(M),g.a.instance.changed=!0},moveUnit:"pt",minMove:A.a.instance.movingDistance,onBeforeDrag:function(a){g.a.instance.draging=!0,o.createLineOfPosition(M)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(a){g.a.instance.changed&&l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),g.a.instance.draging=!1,g.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:A.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){g.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(a,s,I,S,P){o.onResize(a,s,I,S,P),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(M)},onStopResize:function(a){l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,a?"\u65CB\u8F6C":"\u5927\u5C0F"),g.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,M)},v.prototype.setHitable=function(){var C=this;this.hitable=new w.a({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(){C.updateDesignViewFromOptions()})},v.prototype.setColumnsOptions=function(){var C=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(M){var o=T.default(M.target).attr("column-id")||T.default(M.target).attr("id"),c=C.getColumnByColumnId(o);if(c){var a=C.getPrintElementOptionItemsByName("tableColumn");l.a.event.trigger(C.getPrintElementSelectEventKey(),{printElement:C,customOptionsInput:[{title:(c.title||`${c.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:a,options:c,callback:function(I){a.forEach(function(S){var P=S.getValue();if(S.name=="title"){var j=P?P.split("#"):"";c.title=j[0],j.length>1&&(c.columnId=c.field=j[1]),c.columnId&&c.target.attr("column-id",c.columnId),S.target.find("textarea").val(j[0]);return}c[S.name]=P})}}]})}else l.a.event.trigger(C.getPrintElementSelectEventKey(),{printElement:C})})},v.prototype.filterOptionItems=function(C){var M=H.prototype.filterOptionItems.call(this,C);return this.printElementType.editable&&this.options.columns.length==1?M:C.filter(function(o){return o.name!="columns"})},v.prototype.getFooterFormatter=function(){var C=void 0;if(this.printElementType.footerFormatter&&(C=this.printElementType.footerFormatter),this.options.footerFormatter)try{var M="footerFormatter="+this.options.footerFormatter;eval2(M)}catch(o){console.log(o)}return C},v.prototype.getGridColumnsFooterFormatter=function(){var C=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(C=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var M="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;eval2(M)}catch(o){console.log(o)}return C},v}(W.a)},function(K,J,d){var W=function(){return function(M){this.table=M.table,this.fields=M.fields,this.isEnableEdit=M.isEnableEdit,this.trs=M.trs,this.resizeRow=M.resizeRow,this.resizeColumn=M.resizeColumn,this.isEnableEditField=M.isEnableEditField,this.isEnableContextMenu=M.isEnableContextMenu,this.isEnableEditField=M.isEnableEditField,this.isEnableInsertRow=M.isEnableInsertRow,this.isEnableDeleteRow=M.isEnableDeleteRow,this.isEnableInsertColumn=M.isEnableInsertColumn,this.isEnableDeleteColumn=M.isEnableDeleteColumn,this.isEnableMergeCell=M.isEnableMergeCell,this.columnResizable=M.columnResizable,this.columnAlignEditable=M.columnAlignEditable}}(),A=function(){function M(o){this.options=new W(o)}return M.prototype.enableEidt=function(){this.options.isEnableEdit},M.prototype.disableEdit=function(){this.options.isEnableEdit},M.prototype.isEnableEdit=function(){return this.options.isEnableEdit},M}(),f=d(0),l=function(){return function(M){this.cell=M.cell,this.link=M.link,this.linkType=M.linkType,this.bottom=M.bottom,this.rightMost=M.rightMost,this.rowLevel=M.rowLevel,this.columnLevel=M.columnLevel,this.indexInTableGridRow=M.indexInTableGridRow,this.indexInTableGridColumn=M.indexInTableGridColumn}}(),u=d(10),r=function(){function M(){}return M.getLeftTableCell=function(o,c){var a;return o.forEach(function(s,I){s.cell&&I<c&&(a=s.cell)}),a},M.getIndex=function(o,c){var a;return o.forEach(function(s,I){s.cell&&s.cell.id==c&&(a=I)}),a},M}(),b=d(13),w=d(11),N=function(){return function(M,o){this.target=M,this.grips=o}}(),g=function(){return function(M){this.target=M}}(),x=function(){return function(){this.rowColumns=[]}}(),y=function(){function M(){}return M.getColumnsWidth=function(o,c){var a={},s=M.allAutoWidth(o);return o.rowColumns.forEach(function(I){var S=c-0,P=I.width/s*(S>0?S:0);a[I.id]=P}),a},M.resizeTableCellWeight=function(o){o.forEach(function(c){c.columns.forEach(function(a){a.hasWidth&&T.default(a.getTarget()).css("width",a.width+"pt")})})},M.allAutoWidth=function(o){var c=0;return o.rowColumns.forEach(function(a){c+=a.width}),c},M.reconsitutionTableColumnTree=function(o,c,a){for(var s=c||new x,I=function(j){s.totalLayer=j+1,s[j]=o[j].columns,s.rowColumns=s.rowColumns.concat(s[j].filter(function(B){return B.rowspan==o.length-j}))},S=0;S<o.length;S++)I(S);return s},M}(),D=d(2),H=function(){function M(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return M.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},M.prototype.resizeTableCellWidth=function(){y.resizeTableCellWeight(this.rows)},M.prototype.addResizeRowAndColumn=function(){},M.prototype.createColumnGrips=function(){var o=this,c=this,a=[],s=T.default('<div class="columngrips"/>');s.width(this.target.width()),this.rows.forEach(function(I){(I.columns||[]).filter(function(S){return S.checked}).forEach(function(S,P){if(S.getTarget().attr("haswidth")){var j=T.default('<div class="columngrip"><div class="gripResizer"></div></div>');s.append(j);var B=new g(j);a.length>0&&(a[a.length-1].nextGrip=B),a.push(B),o.syncGrips(S,B),T.default(j).hidraggable({axis:"h",onDrag:function(z,O,F){},moveUnit:"pt",minMove:1,getScale:function(){return T.default(".hiprint-printPaper")[0].style.transform&&parseFloat(T.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(z){if(D.a.instance.draging=!0,!B.nextGrip)return!1;c.dragingGrip=B,c.dragingGrip.left=parseFloat(c.dragingGrip.target.css("left").replace("px","")),B.target.addClass("columngripDraging")},onStopDrag:function(z){D.a.instance.draging=!1;var O=parseFloat(c.dragingGrip.target.css("left").replace("px","")),F=f.a.px.toPt(O-c.dragingGrip.left);B.cell.width+F<10?F=10-B.cell.width:B.nextGrip.cell.width-F<10&&(F=B.nextGrip.cell.width-10),B.cell.width=B.cell.width+F,B.nextGrip.cell.width=B.nextGrip.cell.width-F,o.resizeTableCellWidth(),B.target.removeClass("columngripDraging"),c.updateColumnGrips()}})}})}),this.target.before(s),this.cgripContariner=new N(s,a)},M.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},M.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},M.prototype.createRowGrips=function(){var o=this,c=this,a=[],s=T.default('<div class="rowgrips"/>');this.rows.forEach(function(I,S){var P=T.default('<div class="rowgrip"><div class="gripResizer"></div></div>');s.append(P);var j=new g(P);a.push(j),S>0&&S<o.rows.length&&T.default(P).hidraggable({axis:"v",onDrag:function(Z,z,O){},moveUnit:"pt",minMove:1,onBeforeDrag:function(Z){c.dragingGrip=j,c.dragingGrip.top=parseFloat(c.dragingGrip.target.css("top").replace("px","")),j.target.addClass("rowgripDraging")},onStopDrag:function(Z){var z=parseFloat(c.dragingGrip.target.css("top").replace("px","")),O=f.a.px.toPt(z-c.dragingGrip.top+c.rows[S].columns[0].getTarget().height());c.rows[S].columns[0].getTarget().css("height",O+"pt"),c.syncRowGrips(),j.target.removeClass("rowgripDraging")}})}),this.target.before(s),this.rgripContariner=new N(s,a),this.syncRowGrips()},M.prototype.syncGrips=function(o,c){var a=o.getTarget();c.cell=o,c.target.css({left:a.offset().left-this.target.offset().left+a.outerWidth(!1),height:30})},M.prototype.syncRowGrips=function(){var o=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(c,a){var s=c.columns[0].getTarget();o.rgripContariner.grips[a].target.css({top:s.offset().top-o.target.offset().top+s.outerHeight(!1),width:30})})},M.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},M}(),v=function(){function M(){}return M.prototype.init=function(){},M.prototype.updateRowGrips=function(){},M.prototype.updateColumnGrips=function(){},M}();d.d(J,"a",function(){return C});var C=function(){function M(o){this.id=w.a.createId(),this.optionsCoat=new A(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new u.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new H(this):new v,this.resizer.init()}return M.prototype.insertRow=function(o,c,a){var s=c||this.tableCellSelector.getSingleSelect(),I=s.cell,S=this.rows[s.rowIndex],P=s.rowIndex,j=this.getCellGrid(),B=new b.a;if(B.init(this.optionsCoat,void 0,S.isHead),a&&B.getTarget().addClass(a),o=="above")j[P].forEach(function(z){var O=z.link?z.link:z.cell,F=O.width/O.colspan;if(z.columnLevel==0){var tt=B.createTableCell();tt.width=F,B.insertCellToLast(tt)}else{if(z.linkType=="column"){var X=z.link.getTarget();z.link.rowspan+=1,X.attr("rowspan",z.link.rowspan)}z.linkType}}),this.rows.splice(P,0,B),S.getTarget().before(B.getTarget()),f.a.event.trigger("newRow"+this.id,B);else{var Z=P+I.rowspan-1;j[Z].forEach(function(z){var O=z.link?z.link:z.cell,F=O.width/O.colspan;if(z.bottom){var tt=B.createTableCell();tt.width=F,B.insertCellToLast(tt)}else{if(z.cell){var X=z.cell.getTarget();z.cell.rowspan+=1,X.attr("rowspan",z.cell.rowspan)}z.linkType=="column"&&(X=z.link.getTarget(),z.link.rowspan+=1,X.attr("rowspan",z.link.rowspan))}}),this.rows.splice(Z+1,0,B),this.rows[Z].getTarget().after(B.getTarget()),f.a.event.trigger("newRow"+this.id,B)}},M.prototype.insertColumn=function(o,c,a,s){var I=this,S=this.rows.concat(this.trRows),P=c||this.tableCellSelector.getSingleSelect(),j=P.cell,B=P.rowIndex,Z=this.getCellGrid(S),z=Z[B].filter(function(tt){return tt.cell&&tt.cell.id==j.id||tt.link&&tt.link.id==j.id});if(o=="left"){var O=z[0].indexInTableGridRow;Z.forEach(function(tt,X){var q=tt[O],at=tt.filter(function(It,ft){return ft>=O&&It.cell});if(q.rowLevel==0){var et=S[X],ot=S[X].createTableCell();a&&ot.getTarget().addClass(a),s!=null&&(ot.width=s),at.length?et.insertToTargetCellLeft(at[0].cell,ot):et.insertCellToLast(ot),f.a.event.trigger("newCell"+I.id,ot)}else if(q.linkType=="row"){var pt=q.link.getTarget();q.link.colspan+=1,pt.attr("colspan",q.link.colspan)}})}else{var F=z[z.length-1].indexInTableGridRow;Z.forEach(function(tt,X){var q=tt[F],at=tt.filter(function(ft,Pt){return Pt<=F&&ft.cell});if(q.rightMost){var et=S[X],ot=et.createTableCell();a&&ot.getTarget().addClass(a),s!=null&&(ot.width=s),at.length?et.insertToTargetCellRight(at[at.length-1].cell,ot):et.insertCellToFirst(ot),f.a.event.trigger("newCell"+I.id,ot)}else{var pt=q.link||q.cell;if(q.linkType=="row"){var It=pt.getTarget();pt.colspan+=1,It.attr("colspan",pt.colspan)}q.cell&&(It=pt.getTarget(),pt.colspan+=1,It.attr("colspan",pt.colspan))}})}},M.prototype.deleteRow=function(){var o=this,c=this.tableCellSelector.getSingleSelect(),a=(c.cell,this.rows[c.rowIndex],c.rowIndex),s=this.getCellGrid(),I=this.rows[a];s[a].forEach(function(S,P){if(S.cell)if(S.cell.rowspan==1)I.removeCell(S.cell);else{I.removeCell(S.cell);var j=s[a+1].filter(function(O,F){return O.cell&&F>P}),B=o.rows[a+1],Z=B.createTableCell(S.cell.rowspan-1,S.cell.colspan);j.length?B.insertToTargetCellLeft(j[0].cell,Z):B.insertCellToLast(Z)}else if(S.linkType=="column"){var z=S.link;z.rowspan-=1,z.getTarget().attr("rowspan",z.rowspan)}}),I.getTarget().remove(),this.rows.splice(a,1)},M.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),c=this.tableCellSelector.getSingleSelect(),a=c.cell,s=c.rowIndex,I=this.getCellGrid(o),S=I[s].filter(function(P){return P.cell&&P.cell.id==a.id||P.link&&P.link.id==a.id})[0].indexInTableGridRow;I.forEach(function(P,j){var B=P[S];B.cell?B.cell.colspan==1?o[j].removeCell(B.cell):(B.cell.colspan-=1,B.cell.getTarget().attr("colspan",B.cell.colspan)):B.linkType=="row"&&(B.link.colspan-=1,B.link.getTarget().attr("colspan",B.link.colspan))})},M.prototype.mergeCell=function(){var o=this,c=this.tableCellSelector.getSelectedCells();if(c.length!=0){var a=c[0][0].cell;c.forEach(function(s,I){s.forEach(function(S,P){I==0?P!=0&&(a.colspan+=S.cell.colspan,o.rows[S.rowIndex].removeCell(S.cell)):o.rows[S.rowIndex].removeCell(S.cell),P==0&&c[0][0].rowIndex+a.rowspan-1<S.rowIndex&&(a.rowspan+=S.cell.rowspan)})}),a.getTarget().attr("colspan",a.colspan),a.getTarget().attr("rowspan",a.rowspan),this.tableCellSelector.setSingleSelect(c[0][0])}},M.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),c=this.getCellGrid(),a=r.getIndex(c[o.rowIndex],o.cell.id);if(o){for(var s=o.rowIndex;s<o.rowIndex+o.cell.rowspan;s++)for(var I=this.rows[s],S=s==o.rowIndex?o.cell:r.getLeftTableCell(c[s],a),P=0;P<o.cell.colspan;P++)s==o.rowIndex&&P==0||(S?I.insertToTargetCellRight(S,I.createTableCell()):I.insertCellToFirst(I.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)}},M.prototype.init=function(o){var c=this;T.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(a){return c.optionsCoat.options.onBeforEdit&&o.onBeforEdit(a)===!1?!1:(c.optionsCoat.editingCell&&c.optionsCoat.editingCell.endEdit(),!0)},T.default(this.target).mousedown(function(a){c.optionsCoat.isLeftMouseButtonDown=!0}),T.default(this.target).mouseup(function(a){c.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(a){a.buttons===1&&c.tableCellSelector.multipleSelectByXY(a.pageX,a.pageY)}).on("mousedown",function(a){a.buttons===1&&c.tableCellSelector.singleSelectByXY(a.pageX,a.pageY)})},M.prototype.initRows=function(o){var c=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(s,I){s.init(c.optionsCoat,c.target.find("tr:eq("+I+")"),!0)});var a=this.optionsCoat.options.trs;a&&this.initRowsByTrs(a).forEach(function(s){c.trRows.push(s)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},M.prototype.initRowsByTrs=function(o){var c=this;return o.map(function(a,s){var I=new b.a;return I.init(c.optionsCoat,T.default(s)),I}).get()},M.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},M.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},M.prototype.getCellGrid=function(o){var c=o||this.rows,a=this.getColumnStep(),s=[];return c.forEach(function(I,S){I.columns.forEach(function(P,j){for(var B=0;B<P.colspan;B++)for(var Z=0,z=!1;Z<a&&!z;){if(s[S]=s[S]||[],!s[S][Z]){s[S][Z]=new l({cell:B==0?P:void 0,link:B!=0?P:void 0,linkType:B>0?"row":void 0,rightMost:B==P.colspan-1||void 0,bottom:P.rowspan-1==0,rowLevel:B,columnLevel:0,indexInTableGridRow:Z,indexInTableGridColumn:S});for(var O=S+1,F=1;F<P.rowspan;F++)s[O]=s[O]||[],s[O][Z]=new l({cell:void 0,link:P,linkType:B>0?"rowColumn":"column",rightMost:B==P.colspan-1||void 0,bottom:F==P.rowspan-1,rowLevel:B,columnLevel:F,indexInTableGridRow:Z,indexInTableGridColumn:O}),O+=1;z=!0}Z++}})}),s},M.prototype.setAlign=function(o){var c=this.tableCellSelector.getSingleSelect();c&&c.cell.setAlign(o)},M.prototype.setVAlign=function(o){var c=this.tableCellSelector.getSingleSelect();c&&c.cell.setVAlign(o)},M.prototype.getColumnStep=function(o){var c=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(a){c+=a.colspan}),c},M.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;T.default(this.handle).hicontextMenu({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(),f.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(),f.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(),f.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(),f.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(),f.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(),f.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(),f.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(),f.a.event.trigger("updateTable"+o.id)}}].filter(function(c){return c.enabled})})},M.prototype.getTableWidth=function(){return f.a.px.toPt(this.target.outerWidth(!1))},M.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},M.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},M}()},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){return function(A,f,l){this.tid=A,this.options=f,this.printElementType=l}}()},function(K,J,d){var W=d(3),A=d(12),f=function(){return function(w){this.width=w.width,this.title=w.title,this.field=w.field,this.checked=w.checked,this.columnId=w.columnId,this.fixed=!1,this.rowspan=w.rowspan||1,this.colspan=w.colspan||1,this.align=w.align,this.halign=w.halign,this.vAlign=w.vAlign,this.formatter2=w.formatter2,this.styler2=w.styler2,this.tableColumnHeight=w.tableColumnHeight||30,this.tableTextType=w.tableTextType||"text",this.tableBarcodeMode=w.tableBarcodeMode||"CODE128A",this.tableQRCodeLevel=w.tableQRCodeLevel||0,this.tableSummaryTitle=w.tableSummaryTitle,this.tableSummaryText=w.tableSummaryText,this.tableSummary=w.tableSummary,this.tableSummaryAlign=w.tableSummaryAlign,this.tableSummaryNumFormat=w.tableSummaryNumFormat}}(),l=d(5);d.d(J,"a",function(){return b});var u,r=(u=function(N,g){return(u=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(x,y){x.__proto__=y}||function(x,y){for(var D in y)y.hasOwnProperty(D)&&(x[D]=y[D])})(N,g)},function(w,N){function g(){this.constructor=w}u(w,N),w.prototype=N===null?Object.create(N):(g.prototype=N.prototype,new g)}),b=function(w){function N(g,x){var y=this;return g=g||{},(y=w.call(this,g)||this).lHeight=g.lHeight,y.autoCompletion=g.autoCompletion,y.tableFooterRepeat=g.tableFooterRepeat,x&&(y.columns=[],x.editable&&g.columns&&g.columns.length?g.columns.forEach(function(D){var H=[];D.forEach(function(v){var C=new f(v),M=x.getColumnByColumnId(C.columnId),o=M?T.default.extend(M,C):new l.a(C);H.push(o)}),y.columns.push(new A.a(H))}):x.columns.forEach(function(D){y.columns.push(new A.a(D))})),y}return r(N,w),N.prototype.getColumnByColumnId=function(g){return this.makeColumnObj()[g]},N.prototype.makeColumnObj=function(){var g={};return this.columns&&this.columns.forEach(function(x){x.columns.forEach(function(y){(y.columnId||y.id)&&(g[y.columnId||y.id]=y)})}),g},N.prototype.getGridColumns=function(){return this.gridColumns||1},N.prototype.getPrintElementOptionEntity=function(){var g=w.prototype.getPrintElementOptionEntity.call(this);return g.fields=this.fields,this.columns&&(g.columns=[],this.columns.forEach(function(x){var y=x.getPrintElementOptionEntity().map(function(D){return new f(D)});g.columns.push(y)})),g},N}(W.a)},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){return function(){this.rowColumns=[]}}()},function(K,J,d){d.d(J,"a",function(){return W});var W=function(){function A(f,l){this.gridColumns=f,this.target=l}return A.prototype.getByIndex=function(f){return this.target.find(".hi-grid-col:eq("+f+")")},A}()},function(K,J,d){K.exports=d(33)},function(K,J){(function(d){function W(r){var b=d.data(r.data.target,"hidraggable"),w=b.options,N=b.proxy,g=r.data,x=g.startLeft+(r.pageX-g.startX)/(b.options.getScale()||1),y=g.startTop+(r.pageY-g.startY)/(b.options.getScale()||1);N&&(N.parent()[0]==document.body?(x=w.deltaX!=null&&w.deltaX!=null?r.pageX+w.deltaX:r.pageX-r.data.offsetWidth,y=w.deltaY!=null&&w.deltaY!=null?r.pageY+w.deltaY:r.pageY-r.data.offsetHeight):(w.deltaX!=null&&w.deltaX!=null&&(x+=r.data.offsetWidth+w.deltaX),w.deltaY!=null&&w.deltaY!=null&&(y+=r.data.offsetHeight+w.deltaY))),r.data.parent!=document.body&&(x+=d(r.data.parent).scrollLeft(),y+=d(r.data.parent).scrollTop()),w.axis=="h"?g.left=x:w.axis=="v"||r.shiftKey&&r.altKey?g.top=y:r.shiftKey?g.left=x:(g.left=x,g.top=y)}function A(r){var b=d.data(r.data.target,"hidraggable"),w=b.options,N=b.proxy;N||(N=d(r.data.target)),N.css({left:d.fn.dragLengthC(r.data.left,w),top:d.fn.dragLengthC(r.data.top,w)}),d("body").css("cursor",w.cursor)}function f(r){d.fn.hidraggable.isDragging=!0;var b=d.data(r.data.target,"hidraggable"),w=b.options,N=d(".hidroppable").filter(function(){return r.data.target!=this}).filter(function(){var x=d.data(this,"hidroppable")&&d.data(this,"hidroppable").options.accept;return!x||d(x).filter(function(){return this==r.data.target}).length>0});b.hidroppables=N;var g=b.proxy;return g||(w.proxy?(g=w.proxy=="clone"?d(r.data.target).clone().insertAfter(r.data.target):w.proxy.call(r.data.target,r.data.target),b.proxy=g):g=d(r.data.target)),g.css("position","absolute"),W(r),A(r),w.onStartDrag.call(r.data.target,r),!1}function l(r){var b=d.data(r.data.target,"hidraggable");if(W(r),!(r.ctrlKey||r.metaKey)&&(r.data.target.className.startsWith("resize-panel")||r.data.target.style.zIndex=="2"||r.data.target.className.startsWith("hiprint-printElement"))){var w=r.data;if(d(".mouseRect").length==0&&b.options.designTarget&&b.options.designTarget.panel.printElements.filter(function(o){return o.designTarget.children().last().css("display")=="block"&&!o.printElementType.type.includes("table")}).length<=1){let o=window.hinnn.px.toPt(w.left),c=window.hinnn.px.toPt(w.top),a=b.options.designTarget.options;a.left=o,a.top=c,a.right=o+a.width,a.bottom=c+a.height,a.vCenter=o+a.width/2,a.hCenter=c+a.height/2,(()=>{let s=b.options.designTarget.panel.printElements.filter(I=>I.id!=b.options.designTarget.id).map(I=>{let{left:S,top:P,width:j,height:B}=I.options;return{...I.options,bottom:P+B,right:S+j,vCenter:S+j/2,hCenter:P+B/2}});for(let I in s)Math.abs(s[I].left-a.left)<=3?a.left=s[I].left:Math.abs(s[I].vCenter-a.left)<=3?a.left=s[I].vCenter:Math.abs(s[I].right-a.left)<=3&&(a.left=s[I].right),Math.abs(s[I].left-a.vCenter)<=3?a.left=s[I].left-a.width/2:Math.abs(s[I].vCenter-a.vCenter)<=3?a.left=s[I].vCenter-a.width/2:Math.abs(s[I].right-a.vCenter)<=3&&(a.left=s[I].right-a.width/2),Math.abs(s[I].left-a.right)<=3?a.left=s[I].left-a.width:Math.abs(s[I].vCenter-a.right)<=3?a.left=s[I].vCenter-a.width:Math.abs(s[I].right-a.right)<=3&&(a.left=s[I].right-a.width),Math.abs(s[I].top-a.top)<=3?a.top=s[I].top:Math.abs(s[I].hCenter-a.top)<=3?a.top=s[I].hCenter:Math.abs(s[I].bottom-a.top)<=3&&(a.top=s[I].bottom),Math.abs(s[I].top-a.hCenter)<=3?a.top=s[I].top-a.height/2:Math.abs(s[I].hCenter-a.hCenter)<=3?a.top=s[I].hCenter-a.height/2:Math.abs(s[I].bottom-a.hCenter)<=3&&(a.top=s[I].bottom-a.height/2),Math.abs(s[I].top-a.bottom)<=3?a.top=s[I].top-a.height:Math.abs(s[I].hCenter-a.bottom)<=3?a.top=s[I].hCenter-a.height:Math.abs(s[I].bottom-a.bottom)<=3&&(a.top=s[I].bottom-a.height)})(),r.data.left=window.hinnn.pt.toPx(a.left),r.data.top=window.hinnn.pt.toPx(a.top)}var N=w.parent.className.endsWith("design")?w.parent:w.parent.offsetParent,g=N.clientWidth,x=N.clientHeight,y=w.target.clientWidth,D=w.target.clientHeight,H=0,v=0;if(b.options.designTarget&&b.options.designTarget.options.transform){var C=b.options.designTarget.options.getRectInfo();H=window.hinnn.pt.toPx(C.diffW),v=window.hinnn.pt.toPx(C.diffH)}w.left<0-H?w.left=0-H:w.left>=g-y+H&&(w.left=g-y+H),w.top<0-v?w.top=0-v:w.top>=x-D+v&&(w.top=x-D+v),r.data=w}b.options.onDrag.call(r.data.target,r,d.fn.dragLengthCNum(r.data.left,b.options),d.fn.dragLengthCNum(r.data.top,b.options))!=0&&A(r);var M=r.data.target;return b.hidroppables.each(function(){var o=d(this);if(!o.hidroppable("options").disabled){var c=o.offset();r.pageX>c.left&&r.pageX<c.left+o.outerWidth()&&r.pageY>c.top&&r.pageY<c.top+o.outerHeight()?(this.entered||(d(this).trigger("_dragenter",[M]),this.entered=!0),d(this).trigger("_dragover",[M])):this.entered&&(d(this).trigger("_dragleave",[M]),this.entered=!1)}}),!1}function u(r){d.fn.hidraggable.isDragging=!1;var b,w,N=d.data(r.data.target,"hidraggable"),g=N.proxy,x=N.options;x.revert?D()==1?d(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}):g?(g.parent()[0]==document.body?(b=r.data.startX-r.data.offsetWidth,w=r.data.startY-r.data.offsetHeight):(b=r.data.startLeft,w=r.data.startTop),g.animate({left:b,top:w},function(){y()})):d(r.data.target).animate({left:r.data.startLeft,top:r.data.startTop},function(){d(r.data.target).css("position",r.data.startPosition)}):(d(r.data.target).css({position:"absolute",left:d.fn.dragLengthC(r.data.left,x),top:d.fn.dragLengthC(r.data.top,x)}),D());function y(){g&&g.remove(),N.proxy=null}function D(){var H=!1;return N.hidroppables.each(function(){var v=d(this);if(!v.hidroppable("options").disabled){var C=v.offset();return r.pageX>C.left&&r.pageX<C.left+v.outerWidth()&&r.pageY>C.top&&r.pageY<C.top+v.outerHeight()?(x.revert&&d(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}),d(this).trigger("_drop",[r.data.target]),y(),H=!0,this.entered=!1,!1):void 0}}),H||x.revert||y(),H}return x.onStopDrag.call(r.data.target,r),d(document).unbind(".hidraggable"),setTimeout(function(){d("body").css("cursor","")},100),!1}d.fn.hidraggable=function(r,b){return typeof r=="string"?d.fn.hidraggable.methods[r](this,b):this.each(function(){var w,N=d.data(this,"hidraggable");N?(N.handle.unbind(".hidraggable"),w=d.extend(N.options,r)):w=d.extend({},d.fn.hidraggable.defaults,d.fn.hidraggable.parseOptions(this),r||{});var g=w.handle?typeof w.handle=="string"?d(w.handle,this):w.handle:d(this);function x(y){var D=d.data(y.data.target,"hidraggable"),H=D.handle,v=d(H).offset(),C=d(H)[0].style.transform&&parseInt(d(H)[0].style.transform.slice(7,-1)),M=D.options.getScale(),o=d(H).outerWidth(),c=d(H).outerHeight();if(C){var a=C*Math.PI/180,s=d(H).outerWidth(),I=d(H).outerHeight(),S=Math.sin(a),P=Math.cos(a);o=Math.abs(s*P)+Math.abs(I*S),c=Math.abs(s*S)+Math.abs(I*P)}M&&(o*=M,c*=M);var j=y.pageY-v.top,B=v.left+o-y.pageX,Z=v.top+c-y.pageY,z=y.pageX-v.left;return Math.min(j,B,Z,z)>D.options.edge}d.data(this,"hidraggable",{options:w,handle:g}),w.disabled?d(this).css("cursor",""):g.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(y){if(!d.fn.hidraggable.isDragging){var D=d.data(y.data.target,"hidraggable").options;x(y)?d(this).css("cursor",D.cursor):d(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(y){d(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(y){if(x(y)!=0){d(this).css("cursor","");var D=d(y.data.target).position(),H=d(y.data.target).offset(),v={startPosition:d(y.data.target).css("position"),startLeft:D.left,startTop:D.top,left:D.left,top:D.top,startX:y.pageX,startY:y.pageY,offsetWidth:y.pageX-H.left,offsetHeight:y.pageY-H.top,target:y.data.target,parent:d(y.data.target).parent()[0]},C=v.target.style.transform&&parseInt(v.target.style.transform.slice(7,-1));if(C){var M=C*Math.PI/180,o=d(y.data.target).outerWidth(),c=d(y.data.target).outerHeight(),a=Math.sin(M),s=Math.cos(M),I=Math.abs(o*s)+Math.abs(c*a),S=Math.abs(o*a)+Math.abs(c*s),P=(I-o)/2,j=(S-c)/2;v.left+=P,v.top+=j,v.startLeft+=P,v.startTop+=j}var B=d.data(y.data.target,"hidraggable"),Z=B.options.getScale();if(Z&&(v.left/=Z,v.top/=Z,v.startLeft/=Z,v.startTop/=Z),d.extend(y.data,v),B.options.draggable===!1||y.target.className=="r resizebtn")return;d.data(y.data.target,"hidraggable").options.onBeforeDrag.call(y.data.target,y)!=0&&(d(document).bind("mousedown.hidraggable",y.data,f),d(document).bind("mousemove.hidraggable",y.data,l),d(document).bind("mouseup.hidraggable",y.data,u))}})})},d.fn.hidraggable.methods={options:function(b){return d.data(b[0],"hidraggable").options},update:function(b,w){w&&typeof w=="object"&&d.data(b[0],"hidraggable")&&Object.keys(w).forEach(function(N){d.data(b[0],"hidraggable").options[N]=w[N]})},proxy:function(b){return d.data(b[0],"hidraggable").proxy},enable:function(b){return b.each(function(){d(this).hidraggable({disabled:!1})})},disable:function(b){return b.each(function(){d(this).hidraggable({disabled:!0})})}},d.fn.hidraggable.parseOptions=function(r){var b=d(r);return d.extend({},d.hiprintparser.parseOptions(r,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!b.attr("disabled")||void 0})},d.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(b){},onBeforeDrag:function(b){},onStartDrag:function(b){},onDrag:function(b){},onStopDrag:function(b){}},d.fn.hidraggable.isDragging=!1})(jQuery)},function(K,J){(function(d){d.fn.hidroppable=function(W,A){return typeof W=="string"?d.fn.hidroppable.methods[W](this,A):(W=W||{},this.each(function(){var f,l=d.data(this,"hidroppable");l?d.extend(l.options,W):(d(f=this).addClass("hidroppable"),d(f).bind("_dragenter",function(u,r){d.data(f,"hidroppable").options.onDragEnter.apply(f,[u,r])}),d(f).bind("_dragleave",function(u,r){d.data(f,"hidroppable").options.onDragLeave.apply(f,[u,r])}),d(f).bind("_dragover",function(u,r){d.data(f,"hidroppable").options.onDragOver.apply(f,[u,r])}),d(f).bind("_drop",function(u,r){d.data(f,"hidroppable").options.onDrop.apply(f,[u,r])}),d.data(this,"hidroppable",{options:d.extend({},d.fn.hidroppable.defaults,d.fn.hidroppable.parseOptions(this),W)}))}))},d.fn.hidroppable.methods={options:function(A){return d.data(A[0],"hidroppable")&&d.data(A[0],"hidroppable").options||{}},enable:function(A){return A.each(function(){d(this).hidroppable({disabled:!1})})},disable:function(A){return A.each(function(){d(this).hidroppable({disabled:!0})})}},d.fn.hidroppable.parseOptions=function(W){var A=d(W);return d.extend({},d.hiprintparser.parseOptions(W,["accept"]),{disabled:!!A.attr("disabled")||void 0})},d.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(A,f){},onDragOver:function(A,f){},onDragLeave:function(A,f){},onDrop:function(A,f){}}})(jQuery)},function(K,J){var d;(d=jQuery).hiprintparser={parseOptions:function(A,f){var l=d(A),u={},r=d.trim(l.attr("data-options"));if(r&&(r.substring(0,1)!="{"&&(r="{"+r+"}"),u=new Function("return "+r)()),f){for(var b={},w=0;w<f.length;w++){var N=f[w];if(typeof N=="string")b[N]=N=="width"||N=="height"||N=="left"||N=="top"?parseInt(A.style[N])||void 0:l.attr(N);else for(var g in N){var x=N[g];x=="boolean"?b[g]=l.attr(g)?l.attr(g)=="true":void 0:x=="number"&&(b[g]=l.attr(g)=="0"?0:parseFloat(l.attr(g))||void 0)}}d.extend(u,b)}return u}},d.fn.dragLengthC=function(W,A){return A.moveUnit=="pt"?d.fn.dragLengthCNum(W,A)+"pt":d.fn.dragLengthCNum(W,A)},d.fn.dragLengthCNum=function(W,A){var f=3;if(A.moveUnit=="pt"){var l=.75*W;return A.minMove&&(f=A.minMove),Math.round(l/f)*f}return Math.round(l/f)*f}},function(K,J){var d,W,A;d=jQuery,W={maxPanelIndex:0},(A=function(l){this.options=d.data(l.target,"hireizeable").options,this.init(l.target)}).prototype={numHandlerText:function(l){return this.numHandler(l)+"pt"},numHandler:function(l){var u=1.5,r=.75*l;return this.options.minResize&&(u=this.options.minResize),Math.round(r/u)*u},init:function(l){l.className.includes("hiprint-printElement")&&this.initResizeBox(l)},initResizeBox:function(l){var u=this;d(l).each(function(){var r;W.maxPanelIndex+=1,u.options.noContainer?r=d(l):r=d("<div panelIndex="+W.maxPanelIndex+' class="resize-panel"></div>'),u.appendHandler(r,d(this));var b={name:"n",target:d('<div class="resizebtn n"/>')},w={name:"s",target:d('<div class="resizebtn s"/>')},N={name:"w",target:d('<div class="resizebtn w"/>')},g={name:"e",target:d('<div class="resizebtn e"/>')},x={name:"ne",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},y={name:"nw",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},D={name:"se",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},H={name:"sw",target:d('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},v={name:"r",target:d('<div class="resizebtn r"/>')},C={name:"why",target:d('<div class="resizebtn why"/>')},M=d('<div class="size-box"></div>'),o=function(){var s=[C.target],I=u.options.showPoints;return d.each([v,b,w,N,g,x,y,D,H],function(S,P){d.inArray(P.name,I)>-1&&s.push(P.target)}),s};u.refreshSizeBox(void 0,M,r),u.appendHandler(o(),r),u.bindResizeEvent(r,d(this));var c=d(this);d(r).on("mousedown",".resizebtn",function(){c.addClass("resizeing")}),d(".easyui-droppable").on("mouseup",function(){c.removeClass("resizeing")}),u.bindTrigger(d(this))}),u.bindHidePanel()},addHandlerCss:function(l){for(var u=0;u<l.length;u++)l[u].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(l,u){u.find(".resize-panel").remove();for(var r=0;r<l.length;r++)u.append(l[r])},refreshSizeBox:function(l,u,r){if(!!this.options.showSizeBox){if(u)r.append(u);else if(l&&l.length){var b=l[0].style,w=l.children("div[panelindex]").find(".size-box");w&&(w.text(b.width+" x "+b.height),w.css("top",-(w.outerHeight()+1)));var N=l.height(),g=l[0].clientHeight,x=l.width(),y=l[0].clientWidth;N<=40?(d.each([".ne",".nw",".se",".sw"],function(D,H){var v=g-30;l.find(H).css("height",v>0?v:0),l.find(H).css("width",v>0?v:0),v<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),d.each([".e",".w"],function(D,H){var v=g-30;l.find(H).css("height",v>0?v:10),l.find(H).css("top",g/2-(v>0?v:10)/2)})):d.each([".e",".w"],function(D,H){l.find(H).css("top",g/2-l.find(H).height()/2)}),x<=40?(d.each([".ne",".nw",".se",".sw"],function(D,H){var v=y-30;l.find(H).css("height",v>0?v:0),l.find(H).css("width",v>0?v:0),v<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),d.each([".n",".s"],function(D,H){let v=y-30;l.find(H).css("width",v>0?v:10),l.find(H).css("left",y/2-(v>0?v:10)/2)})):d.each([".n",".s",".r"],function(D,H){H==".r",l.find(H).css("left",y/2-l.find(H).width()/2)}),g>40&&y>40&&(d.each([".ne",".nw",".se",".sw"],function(D,H){H.includes("n")&&l.find(H).css("border-top",""),H.includes("s")&&l.find(H).css("border-bottom",""),H.includes("e")&&l.find(H).css("border-right",""),H.includes("w")&&l.find(H).css("border-left","")}),d.each([".n",".s"],function(D,H){l.find(H).css("width","")}))}}},triggerResize:function(l,u){u.ctrlKey||u.metaKey||l.siblings().children("div[panelindex]").css({display:"none"}),l.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(l)},bindResizeEvent:function(l,u){var r=this,b=0,w=0,N=l.width(),g=l.height(),x=l.offset().left,y=l.offset().top,D=r.options.noContainer?d(u):l.parent(),H=!1;l.on("mousedown",".e",function(P){b=P.pageX,N=l.width(),H=!0,P.stopPropagation()});var v=!1;l.on("mousedown",".s",function(P){w=P.pageY,g=l.height(),v=!0,P.stopPropagation()});var C=!1;l.on("mousedown",".w",function(P){b=P.pageX,N=l.width(),C=!0,x=D.position().left,P.stopPropagation()});var M=!1;l.on("mousedown",".n",function(P){w=P.pageY,g=l.height(),M=!0,y=D.position().top,P.stopPropagation()});var o=!1;l.on("mousedown",".ne",function(P){b=P.pageX,w=P.pageY,N=l.width(),g=l.height(),o=!0,y=D.position().top,P.stopPropagation()});var c=!1;l.on("mousedown",".nw",function(P){b=P.pageX,w=P.pageY,N=l.width(),g=l.height(),y=D.position().top,x=D.position().left,c=!0,P.stopPropagation()});var a=!1;l.on("mousedown",".se",function(P){b=P.pageX,w=P.pageY,N=l.width(),g=l.height(),a=!0,P.stopPropagation()});var s=!1;l.on("mousedown",".sw",function(P){b=P.pageX,w=P.pageY,N=l.width(),g=l.height(),s=!0,x=D.position().left,P.stopPropagation()});var I=!1;l.on("mousedown",".r",function(P){b=P.pageX,w=P.pageY,N=l.width(),g=l.height(),I=!0,x=N/2+D.position().left,y=g/2+D.position().top,P.stopPropagation()}),l.on("dblclick",".r",function(P){D.css({transform:"rotate("+0+"deg)"}),r.options.onResize(P,void 0,void 0,void 0,void 0,0),P.stopPropagation()});var S=!1;l.on("mousedown",function(P){r.options.onBeforeResize(),b=P.pageX,w=P.pageY,y=D.position().top,x=D.position().left,S=!1}),d(r.options.stage).on("mousemove",function(P){if(H){var j=(P.pageX-b)/r.options.getScale();l.css({width:"100%"}),D.css({width:r.numHandlerText(N+j)}),r.options.onResize(P,void 0,r.numHandler(N+j),void 0,void 0)}else if(v){var B=(P.pageY-w)/r.options.getScale();l.css({height:"100%"}),D.css({height:r.numHandlerText(g+B)}),r.options.onResize(P,r.numHandler(g+B),void 0,void 0,void 0)}else if(I){l.css({height:"100%"});var Z=P.pageX;P.pageY;var z=(Z-b)*360/100;b=P.pageX;var O=D[0].style.transform&&parseInt(D[0].style.transform.slice(7,-1))||0,F=O+z;Math.abs(F)>360&&(F=F%360),D.css({transform:"rotate("+F+"deg)"}),r.options.onResize(P,void 0,void 0,void 0,void 0,F)}else if(C)j=(P.pageX-b)/r.options.getScale(),l.css({width:"100%"}),D.css({width:r.numHandlerText(N-j),left:r.numHandlerText(r.options.noDrag?void 0:x+j)}),r.options.onResize(P,void 0,r.numHandler(N-j),void 0,r.options.noDrag?void 0:r.numHandler(x+j));else if(M)B=(P.pageY-w)/r.options.getScale(),l.css({height:"100%"}),D.css({height:r.numHandlerText(g-B),top:r.numHandlerText(r.options.noDrag?void 0:y+B)}),r.options.onResize(P,r.numHandler(g-B),void 0,r.options.noDrag?void 0:r.numHandler(y+B),void 0);else if(o)if(j=(P.pageX-b)/r.options.getScale(),B=(P.pageY-w)/r.options.getScale(),l.css({height:"100%",width:"100%"}),P.shiftKey)D.css({height:r.numHandlerText(g-B),top:r.numHandlerText(r.options.noDrag?void 0:y+B),width:r.numHandlerText(N+j)}),r.options.onResize(P,r.numHandler(g-B),r.numHandler(N+j),r.options.noDrag?void 0:r.numHandler(y+B),void 0);else{var tt=g/N,X=N+j,q=g-B,at=y+B;q=X*tt,at=y+B+g-B-q,D.css({width:r.numHandlerText(X),height:r.numHandlerText(q),top:r.numHandlerText(r.options.noDrag?void 0:at)}),r.options.onResize(P,r.numHandler(q),r.numHandler(X),r.options.noDrag?void 0:r.numHandler(at),void 0)}else if(c)if(j=(P.pageX-b)/r.options.getScale(),B=(P.pageY-w)/r.options.getScale(),l.css({height:"100%",width:"100%"}),P.shiftKey)D.css({height:r.numHandlerText(g-B),top:r.numHandlerText(r.options.noDrag?void 0:y+B),width:r.numHandlerText(N-j),left:r.numHandlerText(r.options.noDrag?void 0:x+j)}),r.options.onResize(P,r.numHandler(g-B),r.numHandler(N-j),r.options.noDrag?void 0:r.numHandler(y+B),r.options.noDrag?void 0:r.numHandler(x+j));else{var tt=g/N,X=N-j,q=g-B,et=x+j,at=y+B;q=X*tt,et=x+j,at=y+B+g-B-q,D.css({width:r.numHandlerText(X),height:r.numHandlerText(q),left:r.numHandlerText(r.options.noDrag?void 0:et),top:r.numHandlerText(r.options.noDrag?void 0:at)}),r.options.onResize(P,r.numHandler(q),r.numHandler(X),r.options.noDrag?void 0:r.numHandler(at),r.options.noDrag?void 0:r.numHandler(et))}else if(a)if(j=(P.pageX-b)/r.options.getScale(),B=(P.pageY-w)/r.options.getScale(),l.css({width:"100%",height:"100%"}),P.shiftKey)D.css({width:r.numHandlerText(N+j),height:r.numHandlerText(g+B)}),r.options.onResize(P,r.numHandler(g+B),r.numHandler(N+j),void 0,void 0);else{var tt=g/N,X=N+j,q=g+B;q=X*tt,D.css({width:r.numHandlerText(X),height:r.numHandlerText(q)}),r.options.onResize(P,r.numHandler(q),r.numHandler(X),void 0,void 0)}else if(s)if(j=(P.pageX-b)/r.options.getScale(),B=(P.pageY-w)/r.options.getScale(),l.css({width:"100%",height:"100%"}),P.shiftKey)D.css({width:r.numHandlerText(N-j),left:r.numHandlerText(r.options.noDrag?void 0:x+j),height:r.numHandlerText(g+B)}),r.options.onResize(P,r.numHandler(g+B),r.numHandler(N-j),void 0,r.options.noDrag?void 0:r.numHandler(x+j));else{var tt=g/N,X=N-j,q=g+B,et=x+j;q=X*tt,D.css({width:r.numHandlerText(X),left:r.numHandlerText(r.options.noDrag?void 0:et),height:r.numHandlerText(q)}),r.options.onResize(P,r.numHandler(q),r.numHandler(X),void 0,r.options.noDrag?void 0:r.numHandler(et))}else S&&(j=(P.pageX-b)/r.options.getScale(),B=(P.pageY-w)/r.options.getScale(),D.css({left:r.numHandlerText(r.options.noDrag?void 0:x+j),top:r.numHandlerText(r.options.noDrag?void 0:y+B)}),r.options.onResize(P,void 0,void 0,r.options.noDrag?void 0:r.numHandler(y+B),r.options.noDrag?void 0:r.numHandler(x+j)))}).on("mouseup",function(P){(H||v||C||M||o||c||s||a||S||I)&&r.options.onStopResize(I),H=!1,v=!1,C=!1,M=!1,o=!1,c=!1,s=!1,a=!1,S=!1,I=!1})},bindTrigger:function(l){var u=this;l.on("click",function(r){r.stopPropagation(),u.triggerResize(l,r),d(".mouseRect").remove()})},bindHidePanel:function(l){if(W.maxPanelIndex<2){var u=this.options.stage;d(u).bind("click",function(r){r.target.className&&bt(r.target.className)=="string"&&(r.target.className.includes("design")||r.target.className.includes("paperBox"))&&(r.stopPropagation(),d("div[panelindex]").css({display:"none"}))})}}},d.fn.extend({hireizeable:function(l){return this.each(function(){var u,r=d.data(this,"hireizeable");u=r?d.extend({},r.options,l||{}):d.extend({},d.fn.hireizeable.defaults,l||{}),d.data(this,"hireizeable",{options:u}),new A({target:this,onResize:function(w,N,g,x,y){},onStopResize:function(w,N,g,x,y){}})})}}),d.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(l,u,r,b,w){},onResize:function(l,u,r,b,w){},onStopResize:function(l,u,r,b,w){},noDrag:!1}},function(K,J){var d,W;jQuery,d="connected",W="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(f){return window.io},send:function(f){try{this.socket.emit("news",f)}catch(l){console.log("send data error:"+(f||"")+JSON.stringify(l))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(f){console.log("refreshPrinterList error:"+JSON.stringify(f))}},getAddress:function(f,...l){try{this.socket.emit("address",f,...l)}catch(u){console.log("getAddress error:"+JSON.stringify(u))}},ippPrint:function(f){try{this.socket.emit("ippPrint",f)}catch(l){console.log("ippPrint error:"+JSON.stringify(l))}},ippRequest:function(f){try{this.socket.emit("ippRequest",f)}catch(l){console.log("ippRequest error:"+JSON.stringify(l))}},setHost:function(A,f){this.host=A,this.stop(),this.start(f)},start:function(f){var l=this,u=this;window.WebSocket?this.socket||(this.socket=window.io(this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(r){u.opened=!0,console.log("Websocket opened."),l.socket.on("successs",function(b){hinnn.event.trigger("printSuccess_"+b.templateId,b)}),l.socket.on("error",function(b){hinnn.event.trigger("printError_"+b.templateId,b)}),l.socket.on("printerList",function(b){u.printerList=b,hinnn.event.trigger("printerList",b)}),l.socket.on("address",function(b,w,N){hinnn.event.trigger("address_"+b,{addr:w,e:N})}),l.socket.on("ippPrinterConnected",function(b){hinnn.event.trigger("ippPrinterConnected",b)}),l.socket.on("ippPrinterCallback",function(b,w){hinnn.event.trigger("ippPrinterCallback",{err:b,res:w})}),l.socket.on("ippRequestCallback",function(b,w){hinnn.event.trigger("ippRequestCallback",{err:b,res:w})}),u.state=d,f&&f(!0,r)}),this.socket.on("disconnect",function(){u.opened=!1,f&&f(!1)})):console.log("WebSocket start fail"),f&&f(!1)},reconnect:function(){this.state!==d&&this.state!==W||(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=W,this.state===W}}},function(K,J,d){var W=d(28);typeof W=="string"&&(W=[[K.i,W,""]]);var A={hmr:!0,transform:void 0,insertInto:void 0};d(30)(W,A),W.locals&&(K.exports=W.locals)},function(K,J,d){(K.exports=d(29)(!1)).push([K.i,`.hicontextmenu {\r
|
|
1411
1450
|
position: absolute;\r
|
|
1412
1451
|
display: inline-block;\r
|
|
1413
1452
|
width: 215px;\r
|
|
@@ -1477,22 +1516,22 @@
|
|
|
1477
1516
|
.hicontextmenuroot>.disable:hover,\r
|
|
1478
1517
|
.hicontextmenuroot .disable> a:hover {\r
|
|
1479
1518
|
background-color:#fff;\r
|
|
1480
|
-
}`,""])},function(
|
|
1481
|
-
`)}var
|
|
1482
|
-
`)}(
|
|
1519
|
+
}`,""])},function(K,J,d){K.exports=function(W){var A=[];return A.toString=function(){return this.map(function(f){var l=function(u,r){var b=u[1]||"",w=u[3];if(!w)return b;if(r&&typeof btoa=="function"){var N=(x=w,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(x))))+" */"),g=w.sources.map(function(y){return"/*# sourceURL="+w.sourceRoot+y+" */"});return[b].concat(g).concat([N]).join(`
|
|
1520
|
+
`)}var x;return[b].join(`
|
|
1521
|
+
`)}(f,W);return f[2]?"@media "+f[2]+"{"+l+"}":l}).join("")},A.i=function(f,l){typeof f=="string"&&(f=[[null,f,""]]);for(var u={},r=0;r<this.length;r++){var b=this[r][0];b!=null&&(u[b]=!0)}for(r=0;r<f.length;r++){var w=f[r];w[0]!=null&&u[w[0]]||(l&&!w[2]?w[2]=l:l&&(w[2]="("+w[2]+") and ("+l+")"),A.push(w))}},A}},function(K,J,d){var W,A,f={},l=(W=function(){return window&&document&&document.all&&!window.atob},function(){return A===void 0&&(A=W.apply(this,arguments)),A}),u=function(a){var s={};return function(I,S){if(typeof I=="function")return I();if(s[I]===void 0){var P=function(j,B){return B?B.querySelector(j):document.querySelector(j)}.call(this,I,S);if(window.HTMLIFrameElement&&Ht(P,window.HTMLIFrameElement))try{P=P.contentDocument.head}catch{P=null}s[I]=P}return s[I]}}(),r=null,b=0,w=[],N=d(31);function g(a,s){for(var I=0;I<a.length;I++){var S=a[I],P=f[S.id];if(P){P.refs++;for(var j=0;j<P.parts.length;j++)P.parts[j](S.parts[j]);for(;j<S.parts.length;j++)P.parts.push(C(S.parts[j],s))}else{var B=[];for(j=0;j<S.parts.length;j++)B.push(C(S.parts[j],s));f[S.id]={id:S.id,refs:1,parts:B}}}}function x(a,s){for(var I=[],S={},P=0;P<a.length;P++){var j=a[P],B=s.base?j[0]+s.base:j[0],Z={css:j[1],media:j[2],sourceMap:j[3]};S[B]?S[B].parts.push(Z):I.push(S[B]={id:B,parts:[Z]})}return I}function y(a,s){var I=u(a.insertInto);if(!I)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var S=w[w.length-1];if(a.insertAt==="top")S?S.nextSibling?I.insertBefore(s,S.nextSibling):I.appendChild(s):I.insertBefore(s,I.firstChild),w.push(s);else if(a.insertAt==="bottom")I.appendChild(s);else{if(bt(a.insertAt)!="object"||!a.insertAt.before)throw new Error(`[Style Loader]
|
|
1483
1522
|
|
|
1484
1523
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
|
1485
1524
|
Must be 'top', 'bottom', or Object.
|
|
1486
1525
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
|
1487
|
-
`);var
|
|
1488
|
-
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(
|
|
1489
|
-
`)});function c(r,l,g,P){var j=g?"":P.css;if(r.styleSheet)r.styleSheet.cssText=o(l,j);else{var T=document.createTextNode(j),U=r.childNodes;U[l]&&r.removeChild(U[l]),U.length?r.insertBefore(T,U[l]):r.appendChild(T)}}},function($,F){$.exports=function(d){var G=typeof window!="undefined"&&window.location;if(!G)throw new Error("fixUrls requires window.location");if(!d||typeof d!="string")return d;var N=G.protocol+"//"+G.host,b=N+G.pathname.replace(/\/[^\/]*$/,"/");return d.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(p,u){var a,y=u.trim().replace(/^"(.*)"$/,function(w,H){return H}).replace(/^'(.*)'$/,function(w,H){return H});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(y)?p:(a=y.indexOf("//")===0?y:y.indexOf("/")===0?N+y:b+y.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")})}},function($,F){var d,G;d=jQuery,(G=function(b,p){this.init(b,p)}).prototype={init:function(b,p){this.ele=b,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(a){},width:100,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=d.extend(!0,{},this.defaults,p),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(b,p){var u=this,a=p;if(b&&b.length){var y=S.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');a||(a=y).addClass("hicontextmenuroot"),S.default.each(b,function(w,H){var h=!!H.disable&&H.disable(),A=S.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><span>'+(H.text||"")+"</span></a></li>");h&&A.addClass("disable"),H.borderBottom&&A.addClass("borderBottom"),H.menus&&(A.addClass("hicontextsubmenu"),u.renderMenu(H.menus,A)),H.callback&&A.click(function(M){S.default(this).hasClass("disable")||(S.default(".hicontextmenuroot").remove(),H.callback()),M.stopPropagation()}),y.append(A)}),p&&p.append(y)}p||S.default("body").append(a).find(".hicontextmenuroot").hide()},setPosition:function(b){S.default(".hicontextmenuroot").css({left:b.pageX+2,top:b.pageY+2}).show()},eventBind:function(){var b=this;this.ele.on("contextmenu",function(p){S.default(".hicontextmenuroot").remove(),p.preventDefault(),b.renderMenu(b.opts.menus),b.setPosition(p),b.opts.target&&typeof b.opts.target=="function"&&b.opts.target(d(this))}),d("body").on("click",function(){d(".hicontextmenuroot").remove()})}},d.fn.hicontextMenu=function(N){return new G(this,N),this}},function($,F,d){d.r(F),d(22),d(23),d(24),d(25);var G,N=d(0);d(26),window.hiLocalStorage=(G=window.localStorage||null,{saveLocalData:function(t,i){return!(!G||!i||(G.setItem(t,i),0))},getLocalData:function(t){return G?G.getItem(t):null},removeItem:function(t){G&&G.removeItem(t)}}),d(27),d(32);var b,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(t){var i=this;if(t&&t.tid&&t.type){var s=vt.createPrintElementType(t),I=i.allElementTypes.findIndex(function(B){return B.tid==s.tid});I>=0&&i.allElementTypes.splice(I,1),i.allElementTypes.push(s)}return i},m.prototype.addPrintElementTypes=function(t,i){var s=this;this[t]?this[t]=this[t].concat(i):this[t]=i,i.forEach(function(I){s.allElementTypes=s.allElementTypes.concat(I.printElementTypes)})},m.prototype.removePrintElementTypes=function(t){var i=this;delete i[t],i.allElementTypes=i.allElementTypes.filter(function(s){return!s.tid.startsWith(t)})},m.prototype.getElementTypeGroups=function(t){return this[this.formatterModule(t)]||[]},m.prototype.getElementType=function(t){var i=this.allElementTypes.filter(function(s){return s.tid==t});if(i.length>0)return i[0]},m.prototype.updateElementType=function(t,i){var s=this.getElementType(t);if(i){var I=i(s),B=this.allElementTypes.findIndex(function(z){return z.tid=t});if(B>=0)return this.allElementTypes.splice(B,1,I),I}return s},m.prototype.formatterModule=function(t){return t||"_default"},m}(),u=d(1),a=d(2),y=function(){function m(){}return m.prototype.createPrintElementTypeHtml=function(t,i){var s=S.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(I){var B=S.default("<li></li>");B.append('<span class="title">'+I.name+"</span>");var z=S.default("<ul></ul>");B.append(z),I.printElementTypes.forEach(function(L){z.append('<li><a class="ep-draggable-item" tid="'+L.tid+'"> '+L.getText()+" </a></li>")}),s.append(B)}),S.default(t).append(s),s.find(".ep-draggable-item")},m}(),w=d(5),H=d(15),h=function(){return function(m){this.title=m.title,this.type=m.type}}(),A=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}}(),M=function(){function m(t){var i=this;this.text=t.text,this.field=t.field,this.fields=t.fields,this.title=t.title,this.tid=t.tid,this.data=t.data,this.styler=t.styler,this.formatter=t.formatter,this.type=t.type,this.options=t.options,this.editable=t.editable,this.columnDisplayEditable=t.columnDisplayEditable,this.columnDisplayIndexEditable=t.columnDisplayIndexEditable,this.columnTitleEditable=t.columnTitleEditable,this.columnResizable=t.columnResizable,this.columnAlignEditable=t.columnAlignEditable,this.columns=[],(t.columns||[]).forEach(function(s,I){i.columns.push(i.createTableColumnArray(s))}),this.rowStyler=t.rowStyler,this.striped=t.striped,this.groupFields=t.groupFields||[],this.groupFormatter=t.groupFormatter,this.groupFooterFormatter=t.groupFooterFormatter,this.footerFormatter=t.footerFormatter,this.rowsColumnsMerge=t.rowsColumnsMerge,this.gridColumnsFooterFormatter=t.gridColumnsFooterFormatter,this.isEnableEditField=t.isEnableEditField,this.isEnableContextMenu=t.isEnableContextMenu,this.isEnableInsertRow=t.isEnableInsertRow,this.isEnableDeleteRow=t.isEnableDeleteRow,this.isEnableInsertColumn=t.isEnableInsertColumn,this.isEnableDeleteColumn=t.isEnableDeleteColumn,this.isEnableMergeCell=t.isEnableMergeCell,this.columnObj=this.makeColumnObj()}return m.prototype.getText=function(){return this.text||this.title||""},m.prototype.createPrintElement=function(t){var i=this;return this.columns&&this.columns.length==0&&(t.columns||[]).forEach(function(s,I){i.columns.push(i.createTableColumnArray(s))}),new H.a(this,t)},m.prototype.getData=function(){return[{}]},m.prototype.createTableColumnArray=function(t){var i=[];return t.forEach(function(s,I){i.push(new w.a(s))}),i},m.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new A({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 h({title:this.title,type:this.type})},m.prototype.getFields=function(){return this.fields},m.prototype.getOptions=function(){return this.options||{}},m.prototype.getColumnByColumnId=function(t){return this.columnObj[t]},m.prototype.makeColumnObj=function(t){var i={};return t?t.forEach(function(s){(s.columnId||s.id)&&(i[s.columnId||s.id]=s)}):this.columns&&this.columns.forEach(function(s){s.forEach(function(I){(I.columnId||I.id)&&(i[I.columnId||I.id]=I)})}),this.columnObj=i,i},m}(),D=d(4),C=d(3),v=(b=function(t,i){return(b=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(s,I){s.__proto__=I}||function(s,I){for(var B in I)I.hasOwnProperty(B)&&(s[B]=I[B])})(t,i)},function(m,t){function i(){this.constructor=m}b(m,t),m.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}),x=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new C.a(s),I.options.setDefault(new C.a(u.a.instance.image.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.image.showPoints},t.prototype.getData=function(i){var s="",I=this.getField();i?s=I?I.split(".").reduce((z,L)=>z?z[L]:i[L],!1)||"":this.options.src||this.printElementType.getData():s=this.options.src||this.printElementType.getData();var B=this.getFormatter();return B&&(s=B(s,this.options,this._currenttemplateData)),s||""},t.prototype.createTarget=function(i,s){var I=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(I,i,s),I},t.prototype.initSizeByHtml=function(i){m.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},t.prototype.getConfigOptions=function(){return u.a.instance.image},t.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},t.prototype.updateTargetImage=function(i,s,I){var B=i.find(".hiprint-printElement-image-content");B.find("img").length?B.find("img").attr("src",I):B.html('<img style="width:100%;height:100%;" src="'+I+'">'),I.length?B.find("img").css("cssText",`width:100%;height:100%;content:url("${I}")!important`):B.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&B.find("img").css("object-fit",this.options.fit)},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),f=function(m){function t(i){var s=this;return i=i||{},(s=m.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,s}return v(t,m),t.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},t}(C.a),o=d(8),c=function(){function m(t,i,s,I,B,z,L,J,X,k,V,at,R){this.panelPageRule=i,this.scale=s,this.defaultPaperNumberFormat="paperNo-paperCount",this.printLine=0,this.templateId=t,this.width=N.a.mm.toPt(I),this.height=N.a.mm.toPt(B),this.mmwidth=I,this.mmheight=B,this.paperHeader=z>=0?z:0,this.paperFooter=L,this.contentHeight=L-z,this.createTarget(),this.index=at,this.paperNumberLeft=J||parseInt((this.width-30).toString()),this.paperNumberTop=X||parseInt((this.height-22).toString()),this.paperNumberDisabled=k,this.paperNumberFormat=V,this.referenceElement=R?S.default.extend({},R):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0})}return m.prototype.subscribePaperBaseInfoChanged=function(t){this.onPaperBaseInfoChanged=t},m.prototype.triggerOnPaperBaseInfoChanged=function(t){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,paperNumberFormat:this.paperNumberFormat}),N.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,t||"\u6A21\u677F\u8C03\u6574")},m.prototype.setFooter=function(t,i,s,I){this.firstPaperFooter=t,this.evenPaperFooter=i,this.oddPaperFooter=s,this.lastPaperFooter=I},m.prototype.setOffset=function(t,i){this.setLeftOffset(t),this.setTopOffset(i)},m.prototype.setLeftOffset=function(t){t?this.paperContentTarget.css("left",t+"pt"):this.paperContentTarget[0].style.left=""},m.prototype.setTopOffset=function(t){t?this.paperContentTarget.css("top",t+"pt"):this.paperContentTarget[0].style.top=""},m.prototype.createTarget=function(){this.target=S.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-u.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale)},m.prototype.createHeaderLine=function(){var t=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(i,s){s>=t.paperFooter&&(s=t.paperFooter-10),t.paperHeader=s>=0?s:0,t.triggerOnPaperBaseInfoChanged()})},m.prototype.createFooterLine=function(){var t=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-u.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(i,s){s<=t.paperHeader&&(s=t.paperHeader+10),t.paperFooter=s,t.triggerOnPaperBaseInfoChanged()})},m.prototype.createPaperNumber=function(t,i){var s=this,I=this.target.find(".hiprint-paperNumber");if(I.length)return I.html(t),I;var B=S.default('<span class="hiprint-paperNumber" style="position: absolute">'+t+"</span>");return B.css("top",this.paperNumberTop+"pt"),B.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(B),i&&this.dragHeadLineOrFootLine(B,function(z,L){s.paperNumberTop=L,s.paperNumberLeft=z,s.triggerOnPaperBaseInfoChanged()},!0),B},m.prototype.getTarget=function(){return this.target},m.prototype.append=function(t){this.paperContentTarget.append(t)},m.prototype.updateReferenceElement=function(t){t&&(this.referenceElement=t)},m.prototype.updatePrintLine=function(t){t>=this.printLine&&(this.printLine=t)},m.prototype.design=function(t){var i=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.resetPaperNumber(this.paperNumberTarget),S.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")}),S.default(this.paperNumberTarget).bind("click.hiprint",function(){N.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled},callback:function(I){i.paperNumberDisabled=!!I.paperNumberDisabled||void 0,i.paperNumberFormat=I.paperNumberFormat?I.paperNumberFormat:void 0,i.createPaperNumber(i.formatPaperNumber(1,1),!0),i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged()}})})},m.prototype.resetPaperNumber=function(t){this.paperNumberDisabled?t.addClass("hiprint-paperNumber-disabled"):t.removeClass("hiprint-paperNumber-disabled")},m.prototype.updatePaperNumber=function(t,i,s){var I=this.createPaperNumber(this.formatPaperNumber(t,i));this.paperNumberDisabled?I.hide():s&&this.index%2==1&&(I[0].style.left="",I.css("right",this.paperNumberLeft+"pt"))},m.prototype.formatPaperNumber=function(t,i){return(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",t.toString()).replace("paperCount",i.toString())},m.prototype.dragHeadLineOrFootLine=function(t,i,s){var I=this;t.hidraggable({axis:s?void 0:"v",onDrag:function(z,L,J){i(L,J)},moveUnit:"pt",minMove:u.a.instance.movingDistance,onBeforeDrag:function(z){a.a.instance.draging=!0},getScale:function(){return I.scale||1},onStopDrag:function(z){I.headerLinetarget.css("top",I.paperHeader+"pt"),I.footerLinetarget.css("top",I.paperFooter+"pt"),a.a.instance.draging=!1,I.footerLinetarget.removeClass("hidefooterLinetarget"),I.headerLinetarget.removeClass("hideheaderLinetarget")}})},m.prototype.resize=function(t,i){this.width=N.a.mm.toPt(t),this.height=N.a.mm.toPt(i),this.mmwidth=t,this.mmheight=i,this.target.css("width",t+"mm"),this.target.css("height",i-u.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",t+"mm"),this.target.parent().parent().css("height",i+"mm"),this.target.attr("original-height",this.mmheight);var s=this.paperFooter>this.height?this.height:this.paperFooter;this.paperFooter=s||this.height,this.footerLinetarget.css("top",s+"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(t){t&&(this.scale=t,this.target.css("transform","scale("+t+")"),t>1?this.target.css("transform-origin","-"+t+"% -"+t+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},m.prototype.getPaperFooter=function(t){var i=this.index+t;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(t){return this.getPaperFooter(t)-this.paperHeader},m.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1490
|
-
<img class="h_img" src="`+
|
|
1491
|
-
<img class="v_img" src="`+
|
|
1492
|
-
</div>`)},m.prototype.displayHeight=function(){return this.mmheight-u.a.instance.paperHeightTrim+"mm"},m.prototype.displayWidth=function(){return this.mmwidth+"mm"},m.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},m}(),
|
|
1493
|
-
`,"g"));if(
|
|
1494
|
-
|/g`,"g"),i)},m.replaceTab=function(
|
|
1495
|
-
| |/g`,"g"),i)},m}(),P=function(m){function t(i){var s=m.call(this,i)||this;return s.title&&(s.title=g.replaceEnterAndNewlineAndTab(s.title,"")),s}return v(t,m),t.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},t.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},t.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},t.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},t.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},t}(C.a),j=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new P(s),I.options.setDefault(new P(u.a.instance.text.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.getDesignTarget=function(i){return m.prototype.getDesignTarget.call(this,i)},t.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var s=this.getData(),I=this.createTarget(this.printElementType.getText(!0),s);return this.updateTargetSize(I),this.css(I,s),I},t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetText(this.designTarget,this.getTitle(),i)}},t.prototype.getConfigOptions=function(){return u.a.instance.text},t.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=g.replaceEnterAndNewlineAndTab(i,"")),i},t.prototype.getData=function(i){var s=void 0,I=this.getField();if(s=i?I&&I.split(".").reduce((z,L)=>z?z[L]:i?i[L]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return N.a.dateFormat(s,this.options.format);if(this.options.dataType=="boolen"){var B=this.options.format.split(":");if(B.length>0)return s===!0||s==="true"?B[0]:B[1]}}return s},t.prototype.updateTargetText=function(i,s,I,B,z){var L=this.getFormatter(),J=i.find(".hiprint-printElement-text-content"),X="";X=this.getField()?(this.options.getHideTitle()?"":s?s+"\uFF1A":"")+(L?L(s,I,this.options,this._currenttemplateData,i):I):I=L?L(s,s,this.options,this._currenttemplateData,i):s;var k=this.options.getTextType();if(k=="text")J.html(X);else{if(k=="barcode"){J.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{I?(Kt.default(J.find(".hibarcode_imgcode")[0],I,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(N.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),J.find(".hibarcode_imgcode").attr("height","100%"),J.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||J.find(".hibarcode_displayValue").html(I)):J.html("")}catch(q){console.log(q),J.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(k=="qrcode"){J.html("");try{if(I){i.css("line-height",0),J.css("text-align","center");var V=this.options.getWidth()||20,at=this.options.getHeight()||20,R=S.default("<div></div>").css({width:(V>at?at:V)+"pt",height:(V>at?at:V)+"pt",display:"inline-block"});new QRCode(R[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(I),J.html(R)}}catch(q){console.log(q),J.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},t.prototype.onResize=function(i,s,I,B,z){m.prototype.onResize.call(this,i,s,I,B,z),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},t.prototype.createTarget=function(i,s,I){var B=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(B,i,s,I),B},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),T=function(m){function t(i){return m.call(this,i)||this}return v(t,m),t}(C.a),U=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new T(s),I.options.setDefault(new T(u.a.instance.html.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetHtml()}},t.prototype.updateTargetHtml=function(){var i=this.getFormatter();if(i){var s=i(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(s)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.html.showPoints},t.prototype.getConfigOptions=function(){return u.a.instance.html},t.prototype.createTarget=function(i,s){var I=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>'),B=this.getFormatter();if(B){var z=B(this.getData(),this.options,this._currenttemplateData);I.find(".hiprint-printElement-html-content").append(z)}else this.options.content&&I.find(".hiprint-printElement-html-content").append(this.options.content);return I},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),Z=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new C.a(s),I.options.setDefault(new C.a(u.a.instance.vline.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getConfigOptions=function(){return u.a.instance.vline},t.prototype.createTarget=function(i,s){return S.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.vline.showPoints},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),W=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new C.a(s),I.options.setDefault(new C.a(u.a.instance.hline.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getConfigOptions=function(){return u.a.instance.hline},t.prototype.createTarget=function(i,s){return S.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.hline.showPoints},t}(D.a),O=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new C.a(s),I.options.setDefault(new C.a(u.a.instance.rect.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.rect.showPoints},t.prototype.getConfigOptions=function(){return u.a.instance.rect},t.prototype.createTarget=function(i,s){return S.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),Y=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new C.a(s),I.options.setDefault(new C.a(u.a.instance.oval.default).getPrintElementOptionEntity()),I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.oval.showPoints},t.prototype.getConfigOptions=function(){return u.a.instance.oval},t.prototype.createTarget=function(i,s){return S.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},t.prototype.getHtml=function(i,s,I){return this.getHtml2(i,s,I)},t}(D.a),et=function(){function m(){}return m.createPrintElement=function(t,i){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(t.type))return t.type=="text"?new j(t,i):t.type=="image"?new x(t,i):t.type=="longText"?new l(t,i):t.type=="table"?new H.a(t,i):t.type=="html"?new U(t,i):t.type=="vline"?new Z(t,i):t.type=="hline"?new W(t,i):t.type=="rect"?new O(t,i):t.type=="oval"?new Y(t,i):void 0;var s,I=u.a.instance.getHooks("createPrintElement");return I&&I.forEach(B=>{s=B.run({Config:u.a.instance,BasePrintElement:D.a,Options:C.a,Supper:v,ele:t,eleOpt:i})}),s?new s(t,i):void 0},m}(),K=function(){function m(t){this.field=t.field,this.fields=t.fields,this.title=t.title,this.text=t.text,this.tid=t.tid,this.data=t.data,this.styler=t.styler,this.formatter=t.formatter,this.type=t.type,this.onRendered=t.onRendered,this.options=t.options}return m.prototype.getText=function(t){return t?this.title||this.text||"":this.text||this.title||""},m.prototype.getData=function(){return this.data},m.prototype.createPrintElement=function(t){var i={};return S.default.extend(i,t||{}),et.createPrintElement(this,i)},m.prototype.getPrintElementTypeEntity=function(){return new h({title:this.title,type:this.type})},m.prototype.getFields=function(){return this.fields},m.prototype.getOptions=function(){return this.options||{}},m}(),tt=d(16),ot=d(12),it=function(m){function t(i){var s=m.call(this,i)||this;return(i=i||{}).columns?(s.columns=[],i.columns.forEach(function(I){s.columns.push(new ot.a(I))})):s.columns=[new ot.a({columns:[new w.a({width:100}),new w.a({width:100})]})],s.lHeight=i.lHeight,s.autoCompletion=i.autoCompletion,s.tableFooterRepeat=i.tableFooterRepeat,s}return v(t,m),t.prototype.getPrintElementOptionEntity=function(){var i=m.prototype.getPrintElementOptionEntity.call(this);return i.fields=this.fields,i.columns=[],this.columns.forEach(function(s){i.columns.push(s.getPrintElementOptionEntity())}),i},t}(C.a),nt=d(7),dt=function(m){function t(i,s){var I=m.call(this,i)||this;return I.options=new it(s),I.options.setDefault(new it(u.a.instance.tableCustom.default).getPrintElementOptionEntity()),I.columns=I.options.columns,I}return v(t,m),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.designTarget.find(".hiprint-printElement-table-content"),s=this.getHtml(this.designPaper);i.html(""),i.append(s[0].target.find(".hiprint-printElement-tableTarget")),this.css(this.designTarget,this.getData()),this.setHiReizeable()}},t.prototype.getDesignTarget=function(i){var s=this;return this.designTarget=this.getHtml(i)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=i,this.designTarget.click(function(){N.a.event.trigger(s.getPrintElementSelectEventKey(),{printElement:s})}),this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(B,z){},onDragEnter:function(B,z){S.default(z).removeClass("rn-draggable-item")},onDragLeave:function(B,z){S.default(z).addClass("rn-draggable-item")}}),this.designTarget},t.prototype.getConfigOptions=function(){return u.a.instance.tableCustom},t.prototype.createTarget=function(i,s,I){var B=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>');return B.find(".hiprint-printElement-table-content").append(this.getTableHtml(s,I)),B},t.prototype.getTableHtml=function(i,s){var I=S.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;width:100%;"></table>');return I.append(nt.a.createTableHead(this.columns,this.options.getWidth())),I.append(nt.a.createTableRow(this.columns,i,this.options,this.printElementType)),this.printElementType.footerFormatter&&(this.options.tableFooterRepeat=="no"||nt.a.createTableFooter(this.printElementType.columns,i,this.options,this.printElementType,s,i)).insertBefore(I.find("tbody")),I},t.prototype.getHtml=function(i,s){this.setCurrenttemplateData(s),this.createTempContainer();var I=this.getPaperHtmlResult(i,s);return this.removeTempContainer(),I},t.prototype.getPaperHtmlResult=function(i,s){var I=[],B=this.getData(s),z=this.getTableHtml(B,s),L=this.createTarget(this.printElementType.title,[],s);s?this.updateTargetWidth(L):this.updateTargetSize(L),this.css(L,B),this.css(z,B),this.getTempContainer().html(""),this.getTempContainer().append(L);var J=L.find("tfoot").outerHeight()||0;L.find("tfoot").remove();for(var X,k=this.getBeginPrintTopInPaperByReferenceElement(i),V=0,at=!1;!at;){var R=0,q=i.getPaperFooter(V);V==0&&k>q&&i.panelPageRule!="none"&&(k=k-q+i.paperHeader,I.push(new r.a({target:void 0,printLine:void 0})),V++,R=i.getContentHeight(V)-(k-i.paperHeader),q=i.getPaperFooter(V));var pt=I.length>0?I[I.length-1].target:void 0,st=this.getRowsInSpecificHeight(R>0?R:V==0?q-k:i.getContentHeight(V),L,z,V,pt,s,J);at=st.isEnd;var It=void 0;st.target&&(st.target.css("left",this.options.displayLeft()),st.target[0].height=""),V==0||R>0?(st.target&&(X=k,st.target.css("top",k+"pt")),It=at&&this.options.lHeight!=null?k+(st.height>this.options.lHeight?st.height:this.options.lHeight):k+st.height):(st.target&&(X=i.paperHeader,st.target.css("top",i.paperHeader+"pt")),It=i.paperHeader+st.height),I.push(new r.a({target:st.target,printLine:It,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:It,printTopInPaper:X})})),V++}return I},t.prototype.getRowsInSpecificHeight=function(i,s,I,B,z,L,J){var X=this,k=void 0,V=I.find("tbody"),at=N.a.pt.toPx(i);s.find("tbody").html("");for(var R=s.outerHeight(),q=[];;){if(R<=at)if(V.find("tr").length==0)L&&this.options.autoCompletion&&(this.autoCompletion(at,s),R=s.outerHeight()),k={target:s.clone(),length:s.find("tbody tr").length,height:N.a.px.toPt(R),isEnd:!0},s.find("tbody tr").length==0&&z&&(k={target:void 0,length:0,height:0,isEnd:!0});else{var pt=V.find("tr:lt(1)");s.find("tbody").append(pt),R=s.outerHeight();var st=pt.data("rowData");q.push(st),R+=J>at&&(V.prepend(pt),q.pop(),R=s.outerHeight(),k={target:s.clone(),length:s.find("tbody tr").length,height:N.a.px.toPt(R),isEnd:!1})}else k={target:void 0,length:0,height:0,isEnd:!1};if(k){if(this.options.tableFooterRepeat=="last"&&!k.isEnd)break;this.printElementType.footerFormatter&&(nt.a.createTableFooter(this.printElementType.columns,this.getData(L),this.options,this.printElementType,L,q).insertBefore(s.find("tbody")),X.css(s,L));break}}return k},t.prototype.getData=function(i){if(!i)return[{}];var s=this.getField(),I=s&&s.split(".").reduce((B,z)=>B?B[z]:i?i[z]:"",!1)||"";return I?JSON.parse(JSON.stringify(I)):[]},t.prototype.autoCompletion=function(i,s){for(var I,B=this.getEmptyRowTarget(),z=s.outerHeight();i>z;)I=B.clone(),s.find("tbody").append(I),z=s.outerHeight();I&&I.remove()},t.prototype.getEmptyRowTarget=function(){return nt.a.createEmptyRowTarget(this.columns)},t.prototype.onResize=function(i,s,I,B,z){m.prototype.updateSizeAndPositionOptions.call(this,z,B,I,s),nt.a.resizeTableCellWidth(this.designTarget,this.columns,this.options.getWidth())},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.tableCustom.showPoints},t.prototype.design=function(i,s){var I=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:I.options.axis?I.options.axis:void 0,onDrag:function(z,L,J){I.updateSizeAndPositionOptions(L,J),I.createLineOfPosition(s),a.a.instance.changed=!0},designTarget:I,moveUnit:"pt",minMove:u.a.instance.movingDistance,onBeforeDrag:function(z){a.a.instance.draging=!0,I.createLineOfPosition(s)},getScale:function(){return I.designPaper.scale||1},onStopDrag:function(z){a.a.instance.changed&&N.a.event.trigger("hiprintTemplateDataChanged_"+I.templateId,"\u79FB\u52A8"),a.a.instance.draging=!1,a.a.instance.changed=!1,I.removeLineOfPosition()}}),this.setHiReizeable(),this.designTarget.hireizeable({showPoints:I.getReizeableShowPoints(),showSizeBox:u.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){a.a.instance.draging=!0},getScale:function(){return I.designPaper.scale||1},onResize:function(z,L,J,X,k){I.onResize(z,L,J,X,k),I.hitable.updateColumnGrips(),I.createLineOfPosition(s)},onStopResize:function(z){N.a.event.trigger("hiprintTemplateDataChanged_"+I.templateId,z?"\u65CB\u8F6C":"\u5927\u5C0F"),a.a.instance.draging=!1,I.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,s)},t.prototype.setHiReizeable=function(){var i=this;this.hitable=new tt.a({table:this.designTarget.find("table"),rows:this.columns,resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:S.default(this.designTarget).find("tbody tr"),handle:this.designTarget.find("table thead"),columnDisplayEditable:!0,columnDisplayIndexEditable:!0,columnResizable:!0,columnAlignEditable:!0,isEnableEdit:!0,isEnableEditText:!0,isEnableEditField:!0,isEnableContextMenu:!0,isEnableInsertRow:!0,isEnableDeleteRow:!0,isEnableInsertColumn:!0,isEnableDeleteColumn:!0,isEnableMergeCell:!0}),N.a.event.on("updateTable"+this.hitable.id,function(){i.updateDesignViewFromOptions()})},t}(D.a),gt=function(m){function t(i){return m.call(this,i)||this}return v(t,m),t.prototype.createPrintElement=function(i){return new dt(this,i)},t}(M),ft=function(m){function t(i){return m.call(this,i)||this}return v(t,m),t.prototype.createPrintElement=function(i){var s={};return S.default.extend(s,i||{}),et.createPrintElement(this,s)},t.prototype.getPrintElementTypeEntity=function(){return new h({title:this.title,type:this.type})},t}(K),vt=function(){function m(){}return m.createPrintElementType=function(t){return t.type=t.type||"text",t.type=="text"?new ft(t):t.type=="table"?new M(t):t.type=="tableCustom"?new gt(t):new K(t)},m}(),ht=function(){function m(){}return m.ElementTypes=p.instance,m.getElementTypeGroups=function(t){var i=m.formatterModule(t);return p.instance[i]||[]},m.getElementType=function(t,i){if(t)return p.instance.getElementType(t);vt.createPrintElementType({type:i})},m.build=function(t,i){var s=m.formatterModule(i),I=new y().createPrintElementTypeHtml(t,this.getElementTypeGroups(s));this.enableDrag(I)},m.buildByHtml=function(t){this.enableDrag(t)},m.enableDrag=function(t){t.hidraggable({revert:!0,proxy:function(s){var I=a.a.instance.getDragingPrintElement(),B=I.printElement.getProxyTarget(I.printElement.printElementType.getOptions());return B.appendTo("body"),B.css("z-index","9999"),B},moveUnit:"pt",minMove:4,onBeforeDrag:function(s){a.a.instance.draging=!0;var I=m.getElementType(S.default(s.data.target).attr("tid"),S.default(s.data.target).attr("ptype"));return a.a.instance.setDragingPrintElement(I.createPrintElement()),!0},onDrag:function(s,I,B){a.a.instance.getDragingPrintElement().updatePosition(I,B)},onStopDrag:function(s){a.a.instance.draging=!1}})},m.formatterModule=function(t){return t||"_default"},m}(),Pt=function(){return function(m,t){var i=this;this.name=m,this.printElementTypes=[],t.forEach(function(s){i.printElementTypes.push(vt.createPrintElementType(s))})}}(),ct=function(){return function(m){if(this.index=m.index,this.paperType=m.paperType,this.paperType){var t=a.a.instance[this.paperType];m.height?(this.height=m.height,this.width=m.width):(this.height=t.height,this.width=t.width)}else this.height=m.height,this.width=m.width;this.paperHeader=m.paperHeader||0,this.paperFooter=m.paperFooter||N.a.mm.toPt(this.height),this.printElements=m.printElements||[],this.paperNumberLeft=m.paperNumberLeft,this.paperNumberTop=m.paperNumberTop,this.paperNumberDisabled=m.paperNumberDisabled,this.paperNumberFormat=m.paperNumberFormat,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.scale=m.scale}}(),ut=function(){function m(t,i,s,I){this.bx=t,this.by=i,this.ex=t,this.ey=i,this.startX=this.minX=t,this.startY=this.minY=i,this.maxX=t,this.maxY=i,this.lastLeft=s,this.lastTop=I}return m.prototype.updateRect=function(t,i){this.ex=t,this.ey=i,this.minX=this.startX<t?this.startX:t,this.minY=this.startY<i?this.startY:i,this.maxX=this.startX<t?t:this.startX,this.maxY=this.startY<i?i:this.startY},m.prototype.updatePositionByMultipleSelect=function(t,i){t!=null&&(this.lastLeft=this.lastLeft+t),i!=null&&(this.lastTop=this.lastTop+i),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},m}(),jt=function(){function m(t,i){this.templateId=i,this.index=t.index,this.width=t.width,this.height=t.height,this.paperType=t.paperType,this.paperHeader=t.paperHeader,this.paperFooter=t.paperFooter,this.initPrintElements(t.printElements),this.paperNumberLeft=t.paperNumberLeft,this.paperNumberTop=t.paperNumberTop,this.paperNumberDisabled=t.paperNumberDisabled,this.paperNumberFormat=t.paperNumberFormat,this.panelPaperRule=t.panelPaperRule,this.panelPageRule=t.panelPageRule,this.firstPaperFooter=t.firstPaperFooter,this.evenPaperFooter=t.evenPaperFooter,this.oddPaperFooter=t.oddPaperFooter,this.lastPaperFooter=t.lastPaperFooter,this.topOffset=t.topOffset,this.leftOffset=t.leftOffset,this.fontFamily=t.fontFamily,this.orient=t.orient,this.target=this.createTarget(),this.rotate=t.rotate,this.scale=t.scale}return m.prototype.design=function(t){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(t),this.designPaper.subscribePaperBaseInfoChanged(function(s){i.paperHeader=s.paperHeader,i.paperFooter=s.paperFooter,i.paperNumberLeft=s.paperNumberLeft,i.paperNumberTop=s.paperNumberTop,i.paperNumberDisabled=s.paperNumberDisabled,i.paperNumberFormat=s.paperNumberFormat}),this.printElements.forEach(function(s){i.appendDesignPrintElement(i.designPaper,s),s.design(t,i.designPaper)}),this.target.bind("click.hiprint",function(s){N.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{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,paperNumberDisabled:i.paperNumberDisabled,paperNumberFormat:i.paperNumberFormat},callback:function(B){i.panelPaperRule=B.panelPaperRule,i.panelPageRule=B.panelPageRule,i.firstPaperFooter=B.firstPaperFooter,i.evenPaperFooter=B.evenPaperFooter,i.oddPaperFooter=B.oddPaperFooter,i.lastPaperFooter=B.lastPaperFooter,i.leftOffset=B.leftOffset,i.topOffset=B.topOffset,i.fontFamily=B.fontFamily,i.orient=B.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!B.paperNumberDisabled||void 0,i.paperNumberFormat=B.paperNumberFormat,i.designPaper.paperNumberFormat=B.paperNumberFormat,B.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()}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},m.prototype.update=function(t){try{console.log("update ------>"),console.log(t);var i=Date.now();console.log("start",i);var s=this;this.index=t.index,this.width=t.width,this.height=t.height,this.paperType=t.paperType,this.paperHeader=t.paperHeader,this.paperFooter=t.paperFooter,this.designPaper.width=N.a.mm.toPt(t.width),this.designPaper.height=N.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=t.height,this.designPaper.mmwidth=t.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",t.height-u.a.instance.paperHeightTrim+"mm"),this.paperNumberLeft=t.paperNumberLeft,this.paperNumberTop=t.paperNumberTop,this.paperNumberDisabled=t.paperNumberDisabled,this.paperNumberFormat=t.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=t.fontFamily,this.orient=t.orient,this.rotate=t.rotate,this.scale=t.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=this.scale,this.panelPaperRule=t.panelPaperRule,this.panelPageRule=t.panelPageRule,this.firstPaperFooter=t.firstPaperFooter,this.evenPaperFooter=t.evenPaperFooter,this.oddPaperFooter=t.oddPaperFooter,this.lastPaperFooter=t.lastPaperFooter,this.topOffset=t.topOffset,this.leftOffset=t.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-u.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale);var I=Date.now();console.log("\u66F4\u65B0\u53C2\u6570 end",I),console.log("\u66F4\u65B0\u53C2\u6570 time:",I-i),this.printElements.forEach(function(B){B.designTarget&&B.designTarget.length&&B.designTarget.remove()}),this.printElements=[];var I=Date.now();console.log("\u6E05\u7A7A\u9762\u677F end",I),console.log("\u6E05\u7A7A\u9762\u677F time:",I-i),this.initPrintElements(t.printElements);var I=Date.now();console.log("\u521D\u59CB\u5316\u5143\u7D20 end",I),console.log("\u521D\u59CB\u5316\u5143\u7D20 time:",I-i),this.printElements.forEach(function(B){s.appendDesignPrintElement(s.designPaper,B),B.design(t,s.designPaper)});var I=Date.now();console.log("\u63D2\u5165\u9762\u677F end",I),console.log("\u63D2\u5165\u9762\u677F time:",I-i)}catch(B){console.log("???????"),console.log(B)}},m.prototype.bindShortcutKeyEvent=function(){var t=this;S.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?N.a.event.trigger("hiprintTemplateDataShortcutKey_"+t.templateId,"redo"):N.a.event.trigger("hiprintTemplateDataShortcutKey_"+t.templateId,"undo"),i.preventDefault());var s=u.a.instance.getHooks("documentShortcutKeys");s&&s.forEach(I=>{I.run({panel:t,event:i})})}})},m.prototype.copyJson=function(t){var i=[];try{var s=this,I=S.default("#copyArea");I.length||(I=S.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),S.default("body").append(I)),i=s.getSelectEls();var B=[];i.forEach(function(L){B.push({options:L.options,printElementType:L.printElementType,id:L.id,templateId:L.templateId,cut:t||!1})});var z=JSON.stringify(B);I.text(z),I.css("visibility","visible"),I.focus(),I.setSelectionRange?I.setSelectionRange(0,I.value.length):I.select(),document.execCommand("copy"),I.css("visibility","hidden"),s.designPaper.target.trigger(S.default.Event("click")),s.designPaper.target.focus(),console.log("copyJson success")}catch(L){i=[],console.log("copyJson error",L)}return i},m.prototype.cutJson=function(){try{var t=this,i=t.copyJson(!0);i&&i.forEach(function(s){t.deletePrintElement(s)})}catch(s){console.log("cutJson error",s)}},m.prototype.getSelectEls=function(){var t=this,i=[];return t.mouseRect&&t.mouseRect.target&&S.default(".mouseRect").length?i=t.getElementInRect(t.mouseRect):i=t.printElements.filter(function(s){return s.designTarget.children().last().css("display")=="block"&&!s.printElementType.type.includes("table")}),i},m.prototype.bingPasteEvent=function(){var t=this;t.designPaper.target.attr("tabindex","1"),t.designPaper.target.keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==86&&(t.pasteJson(i),i.preventDefault());var s=u.a.instance.getHooks("shortcutKeys");s&&s.forEach(I=>{I.run({panel:t,event:i})})}})},m.prototype.canPaste=function(t){var i=S.default("#copyArea");if(!i.length)return!1;var s=i.text(),I=JSON.parse(s);return Array.isArray(I)?I.some(function(B){return B.printElementType&&B.templateId}):!!(I.printElementType&&I.templateId)},m.prototype.pasteJson=function(t){var i=S.default("#copyArea");if(!!i.length)try{var s=this,I=i.text(),B=JSON.parse(I),z=!1;Array.isArray(B)?(z=B.some(function(L){return L.cut==!0}),B.forEach(function(L){s.pasteByJson(L,t)})):(z=B.cut,s.pasteByJson(B,t)),z&&S.default("#copyArea").text("{}")}catch(L){console.error("pasteJson error",L)}},m.prototype.pasteByJson=function(t,i){if(!(!t.printElementType&&!t.templateId)){var s=this,I=t.options,B=vt.createPrintElementType(t.printElementType),z=B.createPrintElement(I);if(!!z){var L=i&&i.currentTarget?!0:i,J=L?s.mouseOffsetX&&N.a.px.toPt(s.mouseOffsetX):I.left+=10,X=L?s.mouseOffsetY&&N.a.px.toPt(s.mouseOffsetY):I.top+=10;L||(z.options.setLeft(J),z.options.setTop(X)),z.setTemplateId(s.templateId),z.setPanel(s),s.appendDesignPrintElement(s.designPaper,z,!1),s.printElements.push(z),z.design(void 0,s.designPaper),console.log("pasteJson success"),N.a.event.trigger("hiprintTemplateDataChanged_"+s.templateId,t.cut?"\u526A\u5207":"\u590D\u5236"),z.designTarget.trigger(S.default.Event("click"))}}},m.prototype.css=function(t){this.fontFamily?t.css("fontFamily",this.fontFamily):t[0].style.fontFamily=""},m.prototype.getHtml=function(t,i,s,I,B){var z=this;this.orderPrintElements();var L,J=s||[],X=I||this,k=void 0;return I?(k=J[J.length-1],L=k.getPanelTarget(),k.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:k.referenceElement.bottomInLastPaper,beginPrintPaperIndex:J.length-1,printTopInPaper:k.referenceElement.bottomInLastPaper,endPrintPaperIndex:J.length-1}))):(L=X.createTarget(),k=X.createNewPage(J.length),J.push(k),L.append(k.getTarget())),this.printElements.filter(function(V){return!V.isFixed()&&!V.isHeaderOrFooter()}).forEach(function(V){var at=[],R=J[J.length-1];R.referenceElement.isPositionLeftOrRight(V.options.getTop(),V.options.getHeight())?k=J[R.referenceElement.beginPrintPaperIndex]:k=J[R.referenceElement.endPrintPaperIndex],at=V.getHtml(k,t),at.forEach(function(q,pt){q.referenceElement&&(q.referenceElement.endPrintPaperIndex=q.referenceElement.beginPrintPaperIndex+at.length-1),pt>0&&(k.index<J.length-1?k=J[k.index+1]:(k=X.createNewPage(J.length,k.referenceElement),J.push(k)),L.append(k.getTarget())),q.target&&(V.options.showInPage!="none"&&k.append(q.target),k.updatePrintLine(q.printLine),V.onRendered(k,q.target)),pt==at.length-1&&q.referenceElement&&k.updateReferenceElement(q.referenceElement)})}),B&&B.templates.forEach(function(V,at){var R=V.data||{},q=V.options||{};V.template.printPanels.forEach(function(pt){pt.getHtml(R,q,s,z)})}),I||(this.lastPaperFooter&&J[J.length-1].printLine>this.lastPaperFooter&&(k=X.createNewPage(J.length,k.referenceElement),J.push(k),L.append(k.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&J.length%2==0&&(k=X.createNewPage(J.length,k.referenceElement),J.push(k),L.append(k.getTarget())),this.panelPaperRule=="even"&&J.length%2==1&&(k=X.createNewPage(J.length,k.referenceElement),J.push(k),L.append(k.getTarget()))),J.forEach(function(V){V.updatePaperNumber(V.index+1,J.length,i.paperNumberToggleInEven),z.fillPaperHeaderAndFooter(V,t,J.length),i&&(i.leftOffset!=null&&V.setLeftOffset(i.leftOffset),i.topOffset!=null&&V.setTopOffset(i.topOffset))}),L.prepend(this.getPrintStyle())),L},m.prototype.resize=function(t,i,s,I){this.width=i,this.height=s,this.paperType=t,this.rotate=I,this.designPaper.resize(i,s)},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(t,i){i?this.scale=t:this.scale=void 0,this.designPaper.zoom(t)},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(t){var i=[];return this.printElements.forEach(function(s){i.push(s.getPrintElementEntity(t))}),new ct({index:this.index,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat: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,leftOffset:this.leftOffset})},m.prototype.createTarget=function(){var t=S.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(t),t},m.prototype.droppablePaper=function(t){var i=this;t.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(I,B){var z=a.a.instance.getDragingPrintElement(),L=z.printElement;L.updateSizeAndPositionOptions(i.mathroundToporleft(z.left-N.a.px.toPt(i.target.offset().left)),i.mathroundToporleft(z.top-N.a.px.toPt(i.target.offset().top))),L.setTemplateId(i.templateId),L.setPanel(i),i.appendDesignPrintElement(i.designPaper,L,!0),i.printElements.push(L),L.design(void 0,t),N.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},m.prototype.initPrintElements=function(t){var i=this;this.printElements=[],t&&t.forEach(function(s){var I;if(I=s.printElementType?vt.createPrintElementType(s.printElementType):p.instance.getElementType(s.tid)){var B=I.createPrintElement(s.options);B.setTemplateId(i.templateId),B.setPanel(i),i.printElements.push(B)}else console.log("miss "+JSON.stringify(t))})},m.prototype.mathroundToporleft=function(t){var i=u.a.instance.movingDistance;return Math.round(t/i)*i},m.prototype.appendDesignPrintElement=function(t,i,s){i.setCurrenttemplateData(void 0);var I=i.getDesignTarget(t);I.addClass("design"),s&&i.initSizeByHtml(I),t.append(I)},m.prototype.createNewPage=function(t,i){var s=new c(this.templateId,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberFormat,t,i);return s.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),s.setOffset(this.leftOffset,this.topOffset),s},m.prototype.orderPrintElements=function(){this.printElements=N.a.orderBy(this.printElements,function(t){return t.options.getLeft()}),this.printElements=N.a.orderBy(this.printElements,function(t){return t.options.getTop()})},m.prototype.fillPaperHeaderAndFooter=function(t,i,s){this.printElements.filter(function(I){return I.isFixed()||I.isHeaderOrFooter()}).forEach(function(I){if(I.isFixed(),I.showInPage(t.index,s)){var B=I.getHtml(t,i);B.length&&t.append(B[0].target)}})},m.prototype.clear=function(){this.printElements.forEach(function(t){t.designTarget&&t.designTarget.length&&t.designTarget.remove()}),this.printElements=[],N.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},m.prototype.insertPrintElementToPanel=function(t){var i=this.getPrintElementTypeByEntity(t);if(i){var s=i.createPrintElement(t.options);s.setTemplateId(this.templateId),s.setPanel(this),this.printElements.push(s)}},m.prototype.addPrintText=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="text",this.insertPrintElementToPanel(t)},m.prototype.addPrintHtml=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="html",this.insertPrintElementToPanel(t)},m.prototype.addPrintTable=function(t){if(t.printElementType=t.printElementType||{},t.printElementType.type="table",t.options&&t.options.columns){var i=S.default.extend({},t.options.columns);t.printElementType.columns=i.columns,i.columns=void 0}this.insertPrintElementToPanel(t)},m.prototype.addPrintImage=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="image",this.insertPrintElementToPanel(t)},m.prototype.addPrintLongText=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="longText",this.insertPrintElementToPanel(t)},m.prototype.addPrintVline=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="vline",this.insertPrintElementToPanel(t)},m.prototype.addPrintHline=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="hline",this.insertPrintElementToPanel(t)},m.prototype.addPrintRect=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="rect",this.insertPrintElementToPanel(t)},m.prototype.addPrintOval=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="oval",this.insertPrintElementToPanel(t)},m.prototype.getPrintElementTypeByEntity=function(t){var i;return(i=t.tid?p.instance.getElementType(t.tid):vt.createPrintElementType(t.printElementType))||console.log("miss "+JSON.stringify(t)),i},m.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1526
|
+
`);var P=u(a.insertAt.before,I);I.insertBefore(s,P)}}function D(a){if(a.parentNode===null)return!1;a.parentNode.removeChild(a);var s=w.indexOf(a);s>=0&&w.splice(s,1)}function H(a){var s=document.createElement("style");if(a.attrs.type===void 0&&(a.attrs.type="text/css"),a.attrs.nonce===void 0){var I=function(){return d.nc}();I&&(a.attrs.nonce=I)}return v(s,a.attrs),y(a,s),s}function v(a,s){Object.keys(s).forEach(function(I){a.setAttribute(I,s[I])})}function C(a,s){var I,S,P,j;if(s.transform&&a.css){if(!(j=typeof s.transform=="function"?s.transform(a.css):s.transform.default(a.css)))return function(){};a.css=j}if(s.singleton){var B=b++;I=r||(r=H(s)),S=c.bind(null,I,B,!1),P=c.bind(null,I,B,!0)}else a.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(I=function(Z){var z=document.createElement("link");return Z.attrs.type===void 0&&(Z.attrs.type="text/css"),Z.attrs.rel="stylesheet",v(z,Z.attrs),y(Z,z),z}(s),S=function(Z,z,O){var F=O.css,tt=O.sourceMap,X=z.convertToAbsoluteUrls===void 0&&tt;(z.convertToAbsoluteUrls||X)&&(F=N(F)),tt&&(F+=`
|
|
1527
|
+
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(tt))))+" */");var q=new Blob([F],{type:"text/css"}),at=Z.href;Z.href=URL.createObjectURL(q),at&&URL.revokeObjectURL(at)}.bind(null,I,s),P=function(){D(I),I.href&&URL.revokeObjectURL(I.href)}):(I=H(s),S=function(Z,z){var O=z.css,F=z.media;if(F&&Z.setAttribute("media",F),Z.styleSheet)Z.styleSheet.cssText=O;else{for(;Z.firstChild;)Z.removeChild(Z.firstChild);Z.appendChild(document.createTextNode(O))}}.bind(null,I),P=function(){D(I)});return S(a),function(Z){if(Z){if(Z.css===a.css&&Z.media===a.media&&Z.sourceMap===a.sourceMap)return;S(a=Z)}else P()}}K.exports=function(a,s){if(typeof DEBUG!="undefined"&&DEBUG&&(typeof document=="undefined"?"undefined":bt(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(s=s||{}).attrs=bt(s.attrs)=="object"?s.attrs:{},s.singleton||typeof s.singleton=="boolean"||(s.singleton=l()),s.insertInto||(s.insertInto="head"),s.insertAt||(s.insertAt="bottom");var I=x(a,s);return g(I,s),function(S){for(var P=[],j=0;j<I.length;j++){var B=I[j];(Z=f[B.id]).refs--,P.push(Z)}for(S&&g(x(S,s),s),j=0;j<P.length;j++){var Z;if((Z=P[j]).refs===0){for(var z=0;z<Z.parts.length;z++)Z.parts[z]();delete f[Z.id]}}}};var M,o=(M=[],function(a,s){return M[a]=s,M.filter(Boolean).join(`
|
|
1528
|
+
`)});function c(a,s,I,S){var P=I?"":S.css;if(a.styleSheet)a.styleSheet.cssText=o(s,P);else{var j=document.createTextNode(P),B=a.childNodes;B[s]&&a.removeChild(B[s]),B.length?a.insertBefore(j,B[s]):a.appendChild(j)}}},function(K,J){K.exports=function(d){var W=typeof window!="undefined"&&window.location;if(!W)throw new Error("fixUrls requires window.location");if(!d||typeof d!="string")return d;var A=W.protocol+"//"+W.host,f=A+W.pathname.replace(/\/[^\/]*$/,"/");return d.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,u){var r,b=u.trim().replace(/^"(.*)"$/,function(w,N){return N}).replace(/^'(.*)'$/,function(w,N){return N});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(b)?l:(r=b.indexOf("//")===0?b:b.indexOf("/")===0?A+b:f+b.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(K,J){var d,W;d=jQuery,(W=function(f,l){this.init(f,l)}).prototype={init:function(f,l){this.ele=f,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(r){},width:100,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=d.extend(!0,{},this.defaults,l),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(f,l){var u=this,r=l;if(f&&f.length){var b=T.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');r||(r=b).addClass("hicontextmenuroot"),T.default.each(f,function(w,N){var g=!!N.disable&&N.disable(),x=T.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><span>'+(N.text||"")+"</span></a></li>");g&&x.addClass("disable"),N.borderBottom&&x.addClass("borderBottom"),N.menus&&(x.addClass("hicontextsubmenu"),u.renderMenu(N.menus,x)),N.callback&&x.click(function(y){T.default(this).hasClass("disable")||(T.default(".hicontextmenuroot").remove(),N.callback()),y.stopPropagation()}),b.append(x)}),l&&l.append(b)}l||T.default("body").append(r).find(".hicontextmenuroot").hide()},setPosition:function(f){T.default(".hicontextmenuroot").css({left:f.pageX+2,top:f.pageY+2}).show()},eventBind:function(){var f=this;this.ele.on("contextmenu",function(l){T.default(".hicontextmenuroot").remove(),l.preventDefault(),f.renderMenu(f.opts.menus),f.setPosition(l),f.opts.target&&typeof f.opts.target=="function"&&f.opts.target(d(this))}),d("body").on("click",function(){d(".hicontextmenuroot").remove()})}},d.fn.hicontextMenu=function(A){return new W(this,A),this}},function(K,J,d){d.r(J),d(22),d(23),d(24),d(25);var W,A=d(0);d(26),window.hiLocalStorage=(W=window.localStorage||null,{saveLocalData:function(e,i){return!(!W||!i||(W.setItem(e,i),0))},getLocalData:function(e){return W?W.getItem(e):null},removeItem:function(e){W&&W.removeItem(e)}}),d(27),d(32);var f,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=et.createPrintElementType(e),h=i.allElementTypes.findIndex(function(U){return U.tid==p.tid});h>=0&&i.allElementTypes.splice(h,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(h){p.allElementTypes=p.allElementTypes.concat(h.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 h=i(p),U=this.allElementTypes.findIndex(function(G){return G.tid=e});if(U>=0)return this.allElementTypes.splice(U,1,h),h}return p},m.prototype.formatterModule=function(e){return e||"_default"},m}(),u=d(1),r=d(2),b=function(){function m(){}return m.prototype.createPrintElementTypeHtml=function(e,i){var p=T.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(h){var U=T.default("<li></li>");U.append('<span class="title">'+h.name+"</span>");var G=T.default("<ul></ul>");U.append(G),h.printElementTypes.forEach(function(L){G.append('<li><a class="ep-draggable-item" tid="'+L.tid+'"> '+L.getText()+" </a></li>")}),p.append(U)}),T.default(e).append(p),p.find(".ep-draggable-item")},m}(),w=d(5),N=d(15),g=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}}(),y=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,this.columnDisplayEditable=e.columnDisplayEditable,this.columnDisplayIndexEditable=e.columnDisplayIndexEditable,this.columnTitleEditable=e.columnTitleEditable,this.columnResizable=e.columnResizable,this.columnAlignEditable=e.columnAlignEditable,this.columns=[],(e.columns||[]).forEach(function(p,h){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.gridColumnsFooterFormatter=e.gridColumnsFooterFormatter,this.isEnableEditField=e.isEnableEditField,this.isEnableContextMenu=e.isEnableContextMenu,this.isEnableInsertRow=e.isEnableInsertRow,this.isEnableDeleteRow=e.isEnableDeleteRow,this.isEnableInsertColumn=e.isEnableInsertColumn,this.isEnableDeleteColumn=e.isEnableDeleteColumn,this.isEnableMergeCell=e.isEnableMergeCell,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,h){i.columns.push(i.createTableColumnArray(p))}),new N.a(this,e)},m.prototype.getData=function(){return[{}]},m.prototype.createTableColumnArray=function(e){var i=[];return e.forEach(function(p,h){i.push(new w.a(p))}),i},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 g({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.columnId||p.id)&&(i[p.columnId||p.id]=p)}):this.columns&&this.columns.forEach(function(p){p.forEach(function(h){(h.columnId||h.id)&&(i[h.columnId||h.id]=h)})}),this.columnObj=i,i},m}(),D=d(4),H=d(3),v=(f=function(e,i){return(f=Object.setPrototypeOf||Ht({__proto__:[]},Array)&&function(p,h){p.__proto__=h}||function(p,h){for(var U in h)h.hasOwnProperty(U)&&(p[U]=h[U])})(e,i)},function(m,e){function i(){this.constructor=m}f(m,e),m.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}),C=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new H.a(p),h.options.setDefault(new H.a(u.a.instance.image.default).getPrintElementOptionEntity()),h}return v(e,m),e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.image.showPoints},e.prototype.getData=function(i){var p="",h=this.getField();i?p=h?h.split(".").reduce((G,L)=>G?G[L]:i[L],!1)||"":this.options.src||this.printElementType.getData():p=this.options.src||this.printElementType.getData();var U=this.getFormatter();return U&&(p=U(p,this.options,this._currenttemplateData)),p||""},e.prototype.createTarget=function(i,p){var h=T.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(h,i,p),h},e.prototype.initSizeByHtml=function(i){m.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},e.prototype.getConfigOptions=function(){return u.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,h){var U=i.find(".hiprint-printElement-image-content");U.find("img").length?U.find("img").attr("src",h):U.html('<img style="width:100%;height:100%;" src="'+h+'">'),h.length?U.find("img").css("cssText",`width:100%;height:100%;content:url("${h}")!important`):U.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&U.find("img").css("object-fit",this.options.fit)},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),M=function(m){function e(i){var p=this;return i=i||{},(p=m.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,p}return v(e,m),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e}(H.a),o=d(8),c=function(){function m(e,i,p,h,U,G,L,k,$,V,Q,rt,R){this.panelPageRule=i,this.scale=p,this.defaultPaperNumberFormat="paperNo-paperCount",this.printLine=0,this.templateId=e,this.width=A.a.mm.toPt(h),this.height=A.a.mm.toPt(U),this.mmwidth=h,this.mmheight=U,this.paperHeader=G>=0?G:0,this.paperFooter=L,this.contentHeight=L-G,this.createTarget(),this.index=rt,this.paperNumberLeft=k||parseInt((this.width-30).toString()),this.paperNumberTop=$||parseInt((this.height-22).toString()),this.paperNumberDisabled=V,this.paperNumberFormat=Q,this.referenceElement=R?T.default.extend({},R):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0})}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,paperNumberFormat:this.paperNumberFormat}),A.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,e||"\u6A21\u677F\u8C03\u6574")},m.prototype.setFooter=function(e,i,p,h){this.firstPaperFooter=e,this.evenPaperFooter=i,this.oddPaperFooter=p,this.lastPaperFooter=h},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=T.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-u.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale)},m.prototype.createHeaderLine=function(){var e=this;this.headerLinetarget=T.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=T.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-u.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,h=this.target.find(".hiprint-paperNumber");if(h.length)return h.html(e),h;var U=T.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+e+"</span>");return U.css("top",this.paperNumberTop+"pt"),U.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(U),i&&this.dragHeadLineOrFootLine(U,function(G,L){p.paperNumberTop=L,p.paperNumberLeft=G,p.triggerOnPaperBaseInfoChanged()},!0),U},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"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.resetPaperNumber(this.paperNumberTarget),T.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")}),T.default(this.paperNumberTarget).bind("click.hiprint",function(){A.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled},callback:function(h){i.paperNumberDisabled=!!h.paperNumberDisabled||void 0,i.paperNumberFormat=h.paperNumberFormat?h.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 h=this.createPaperNumber(this.formatPaperNumber(e,i));this.paperNumberDisabled?h.hide():p&&this.index%2==1&&(h[0].style.left="",h.css("right",this.paperNumberLeft+"pt"))},m.prototype.formatPaperNumber=function(e,i){return(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",e.toString()).replace("paperCount",i.toString())},m.prototype.dragHeadLineOrFootLine=function(e,i,p){var h=this;e.hidraggable({axis:p?void 0:"v",onDrag:function(G,L,k){i(L,k)},moveUnit:"pt",minMove:u.a.instance.movingDistance,onBeforeDrag:function(G){r.a.instance.draging=!0},getScale:function(){return h.scale||1},onStopDrag:function(G){h.headerLinetarget.css("top",h.paperHeader+"pt"),h.footerLinetarget.css("top",h.paperFooter+"pt"),r.a.instance.draging=!1,h.footerLinetarget.removeClass("hidefooterLinetarget"),h.headerLinetarget.removeClass("hideheaderLinetarget")}})},m.prototype.resize=function(e,i){this.width=A.a.mm.toPt(e),this.height=A.a.mm.toPt(i),this.mmwidth=e,this.mmheight=i,this.target.css("width",e+"mm"),this.target.css("height",i-u.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",e+"mm"),this.target.parent().parent().css("height",i+"mm"),this.target.attr("original-height",this.mmheight);var p=this.paperFooter>this.height?this.height:this.paperFooter;this.paperFooter=p||this.height,this.footerLinetarget.css("top",p+"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">
|
|
1529
|
+
<img class="h_img" src="`+ye+`" />
|
|
1530
|
+
<img class="v_img" src="`+Me+`" />
|
|
1531
|
+
</div>`)},m.prototype.displayHeight=function(){return this.mmheight-u.a.instance.paperHeightTrim+"mm"},m.prototype.displayWidth=function(){return this.mmwidth+"mm"},m.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},m}(),a=d(6),s=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new M(p),h.options.setDefault(new M(u.a.instance.longText.default).getPrintElementOptionEntity()),h}return v(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(),h=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(h),this.css(h,p),h},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 u.a.instance.longText},e.prototype.getTitle=function(){return this.options.title||this.printElementType.title},e.prototype.getData=function(i){var p=this.getField(),h=p&&p.split(".").reduce((U,G)=>U?U[G]:i?i[G]:"",!1)||"";return i?h||"":this.options.testData||this.printElementType.getData()||""},e.prototype.updateTargetText=function(i,p,h){var U=i.find(".hiprint-printElement-longText-content"),G=this.getText(p,h);U.html(G)},e.prototype.createTarget=function(i,p){var h=T.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(h,i,p),h},e.prototype.getText=function(i,p){var h=this.getFormatter();return p&&(p=this.options.leftSpaceRemoved!=0?p.toString().replace(/^\s*/,""):p),(this.getField()?(this.options.getHideTitle()?"":i?i+"\uFF1A":"")+(h?h(i,p,this.options,this._currenttemplateData):p):h?h(i,i,this.options,this._currenttemplateData):i||"")||""},e.prototype.getHtml=function(i,p){this.setCurrenttemplateData(p),this.createTempContainer();var h=this.getPaperHtmlResult(i,p);return this.removeTempContainer(),h},e.prototype.getHeightByData=function(i){this.createTempContainer();var p=this.getPaperHtmlResult(new c("","",void 0,1e3,1e3,0,25e3,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,h){var U=this,G=[],L=0,k=h||this.getData(p),$=this.getText(this.getTitle(),k),V=this.createTarget(this.getTitle(),this.options.testData||"");this.css(V,k),p?this.updateTargetWidth(V):this.updateTargetSize(V),this.getTempContainer().html(""),this.getTempContainer().append(V);var Q=[this.getLongTextIndent()],rt=$.split(new RegExp(`\r|
|
|
1532
|
+
`,"g"));if(rt.forEach(function(Nt,kt){var Rt=U.options.leftSpaceRemoved!=0?(Nt||"").toString().replace(/^\s*/,""):Nt;Q=Q.concat(Rt.split("")),kt<rt.length-1&&Q.push("<br/>"+U.getLongTextIndent())}),Q.length==0&&(Q=[""]),this.isHeaderOrFooter()||this.isFixed()||!p)return(lt=this.getStringBySpecificHeight(Q,25e3,V)).target.css("left",this.options.displayLeft()),lt.target.css("top",this.options.displayTop()),lt.target[0].height="",G.push(new a.a({target:lt.target,printLine:this.options.displayTop()+lt.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()+lt.height,printTopInPaper:this.options.getTop()})})),G;for(var R=this.getBeginPrintTopInPaperByReferenceElement(i);Q.length>0;){var it=0,ut=i.getPaperFooter(L);L==0&&R>ut&&i.panelPageRule!="none"&&(R=R-ut+i.paperHeader,G.push(new a.a({target:void 0,printLine:void 0})),L++,it=i.getContentHeight(L)-(R-i.paperHeader),ut=i.getPaperFooter(L));var lt=this.getStringBySpecificHeight(Q,it>0?it:L==0?ut-R:i.getContentHeight(L),V);Q.splice(0,lt.length);var ct=void 0,St=void 0;lt.target.css("left",this.options.displayLeft()),lt.target[0].height="",L==0||it>0?(St=R,lt.target.css("top",St+"pt"),ct=Q.length>0?R+lt.height:this.options.lHeight!=null?R+(lt.height>this.options.lHeight?lt.height:this.options.lHeight):R+lt.height):(St=i.paperHeader,lt.target.css("top",St+"pt"),ct=St+lt.height),G.push(new a.a({target:lt.target,printLine:ct,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:ct,printTopInPaper:St})})),L++,p&&this.updatePanelHeight(ct+this.options.getHeight(),i)}return G},e.prototype.getStringBySpecificHeight=function(i,p,h){var U=A.a.pt.toPx(p),G=void 0,L=this.panel.panelPageRule=="none";return L?G=this.IsPaginationIndex(i,i.length,-1,h):G=this.IsPaginationIndex(i,i.length-1,U,h),G.IsPagination?G:this.BinarySearch(i,0,i.length-1,U,h)},e.prototype.BinarySearch=function(i,p,h,U,G){var L=Math.floor((p+h)/2);if(p>h)return G.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:G.clone()};var k=this.IsPaginationIndex(i,L,U,G);return k.IsPagination?k:k.move=="l"?this.BinarySearch(i,p,L-1,U,G):this.BinarySearch(i,L+1,h,U,G)},e.prototype.IsPaginationIndex=function(i,p,h,U){if(h==-1){U.find(".hiprint-printElement-longText-content").html(i.slice(0,p).join(""));var L=U.height();return{IsPagination:!0,height:A.a.px.toPt(L),length:i.length,target:U.clone()}}U.find(".hiprint-printElement-longText-content").html(i.slice(0,p+2).join(""));var G=U.height();U.find(".hiprint-printElement-longText-content").html(i.slice(0,p+1).join(""));var L=U.height();return p>=i.length-1&&L<h?{IsPagination:!0,height:A.a.px.toPt(L),length:i.length,target:U.clone()}:L<=h&&G>=h?{IsPagination:!0,height:L,length:p+1,target:U.clone()}:L>=h?{IsPagination:!1,move:"l"}:G<=h?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},e}(D.a),I=function(){function m(){}return m.replaceEnterAndNewline=function(e,i){return e.replace(new RegExp(`\r|
|
|
1533
|
+
|/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|
|
|
1534
|
+
| |/g`,"g"),i)},m}(),S=function(m){function e(i){var p=m.call(this,i)||this;return p.title&&(p.title=I.replaceEnterAndNewlineAndTab(p.title,"")),p}return v(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}(H.a),P=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new S(p),h.options.setDefault(new S(u.a.instance.text.default).getPrintElementOptionEntity()),h}return v(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(),h=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(h),this.css(h,p),h},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 u.a.instance.text},e.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=I.replaceEnterAndNewlineAndTab(i,"")),i},e.prototype.getData=function(i){var p=void 0,h=this.getField();if(p=i?h&&h.split(".").reduce((G,L)=>G?G[L]:i?i[L]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return A.a.dateFormat(p,this.options.format);if(this.options.dataType=="boolen"){var U=this.options.format.split(":");if(U.length>0)return p===!0||p==="true"?U[0]:U[1]}}return p},e.prototype.updateTargetText=function(i,p,h,U,G){var L=this.getFormatter(),k=i.find(".hiprint-printElement-text-content"),$="";$=this.getField()?(this.options.getHideTitle()?"":p?p+"\uFF1A":"")+(L?L(p,h,this.options,this._currenttemplateData,i):h):h=L?L(p,p,this.options,this._currenttemplateData,i):p;var V=this.options.getTextType();if(V=="text")k.html($);else{if(V=="barcode"){k.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{h?(Vt.default(k.find(".hibarcode_imgcode")[0],h,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(A.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),k.find(".hibarcode_imgcode").attr("height","100%"),k.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||k.find(".hibarcode_displayValue").html(h)):k.html("")}catch(it){console.log(it),k.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(V=="qrcode"){k.html("");try{if(h){i.css("line-height",0),k.css("text-align","center");var Q=this.options.getWidth()||20,rt=this.options.getHeight()||20,R=T.default("<div></div>").css({width:(Q>rt?rt:Q)+"pt",height:(Q>rt?rt:Q)+"pt",display:"inline-block"});new QRCode(R[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(h),k.html(R)}}catch(it){console.log(it),k.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},e.prototype.onResize=function(i,p,h,U,G){m.prototype.onResize.call(this,i,p,h,U,G),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},e.prototype.createTarget=function(i,p,h){var U=T.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(U,i,p,h),U},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),j=function(m){function e(i){return m.call(this,i)||this}return v(e,m),e}(H.a),B=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new j(p),h.options.setDefault(new j(u.a.instance.html.default).getPrintElementOptionEntity()),h}return v(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||u.a.instance.html.showPoints},e.prototype.getConfigOptions=function(){return u.a.instance.html},e.prototype.createTarget=function(i,p){var h=T.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),U=this.getFormatter();if(U){var G=U(this.getData(),this.options,this._currenttemplateData);h.find(".hiprint-printElement-html-content").append(G)}else this.options.content&&h.find(".hiprint-printElement-html-content").append(this.options.content);return h},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),Z=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new H.a(p),h.options.setDefault(new H.a(u.a.instance.vline.default).getPrintElementOptionEntity()),h}return v(e,m),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return u.a.instance.vline},e.prototype.createTarget=function(i,p){return T.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.vline.showPoints},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),z=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new H.a(p),h.options.setDefault(new H.a(u.a.instance.hline.default).getPrintElementOptionEntity()),h}return v(e,m),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return u.a.instance.hline},e.prototype.createTarget=function(i,p){return T.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||u.a.instance.hline.showPoints},e}(D.a),O=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new H.a(p),h.options.setDefault(new H.a(u.a.instance.rect.default).getPrintElementOptionEntity()),h}return v(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||u.a.instance.rect.showPoints},e.prototype.getConfigOptions=function(){return u.a.instance.rect},e.prototype.createTarget=function(i,p){return T.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),F=function(m){function e(i,p){var h=m.call(this,i)||this;return h.options=new H.a(p),h.options.setDefault(new H.a(u.a.instance.oval.default).getPrintElementOptionEntity()),h}return v(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||u.a.instance.oval.showPoints},e.prototype.getConfigOptions=function(){return u.a.instance.oval},e.prototype.createTarget=function(i,p){return T.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},e.prototype.getHtml=function(i,p,h){return this.getHtml2(i,p,h)},e}(D.a),tt=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 P(e,i):e.type=="image"?new C(e,i):e.type=="longText"?new s(e,i):e.type=="table"?new N.a(e,i):e.type=="html"?new B(e,i):e.type=="vline"?new Z(e,i):e.type=="hline"?new z(e,i):e.type=="rect"?new O(e,i):e.type=="oval"?new F(e,i):void 0;var p,h=u.a.instance.getHooks("createPrintElement");return h&&h.forEach(U=>{p=U.run({Config:u.a.instance,BasePrintElement:D.a,Options:H.a,Supper:v,ele:e,eleOpt:i})}),p?new p(e,i):void 0},m}(),X=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 T.default.extend(i,e||{}),tt.createPrintElement(this,i)},m.prototype.getPrintElementTypeEntity=function(){return new g({title:this.title,type:this.type})},m.prototype.getFields=function(){return this.fields},m.prototype.getOptions=function(){return this.options||{}},m}();d(16);var q=d(12);(function(m){function e(i){var p=m.call(this,i)||this;return(i=i||{}).columns?(p.columns=[],i.columns.forEach(function(h){p.columns.push(new q.a(h))})):p.columns=[new q.a({columns:[new w.a({width:100}),new w.a({width:100})]})],p.lHeight=i.lHeight,p.autoCompletion=i.autoCompletion,p.tableFooterRepeat=i.tableFooterRepeat,p}return v(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})(H.a);var at=function(m){function e(i){return m.call(this,i)||this}return v(e,m),e.prototype.createPrintElement=function(i){var p={};return T.default.extend(p,i||{}),tt.createPrintElement(this,p)},e.prototype.getPrintElementTypeEntity=function(){return new g({title:this.title,type:this.type})},e}(X),et=function(){function m(){}return m.createPrintElementType=function(e){return e.type=e.type||"text",e.type=="text"?new at(e):e.type=="table"?new y(e):new X(e)},m}(),ot=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);et.createPrintElementType({type:i})},m.build=function(e,i){var p=m.formatterModule(i),h=new b().createPrintElementTypeHtml(e,this.getElementTypeGroups(p));this.enableDrag(h)},m.buildByHtml=function(e){this.enableDrag(e)},m.enableDrag=function(e){e.hidraggable({revert:!0,proxy:function(p){var h=r.a.instance.getDragingPrintElement(),U=h.printElement.getProxyTarget(h.printElement.printElementType.getOptions());return U.appendTo("body"),U.css("z-index","9999"),U},moveUnit:"pt",minMove:4,onBeforeDrag:function(p){r.a.instance.draging=!0;var h=m.getElementType(T.default(p.data.target).attr("tid"),T.default(p.data.target).attr("ptype"));return r.a.instance.setDragingPrintElement(h.createPrintElement()),!0},onDrag:function(p,h,U){r.a.instance.getDragingPrintElement().updatePosition(h,U)},onStopDrag:function(p){r.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(et.createPrintElementType(p))})}}(),It=function(){return function(m){if(this.index=m.index,this.paperType=m.paperType,this.paperType){var e=r.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||A.a.mm.toPt(this.height),this.printElements=m.printElements||[],this.paperNumberLeft=m.paperNumberLeft,this.paperNumberTop=m.paperNumberTop,this.paperNumberDisabled=m.paperNumberDisabled,this.paperNumberFormat=m.paperNumberFormat,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.scale=m.scale}}(),ft=function(){function m(e,i,p,h){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=h}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}(),Pt=function(){function m(e,i){this.templateId=i,this.index=e.index,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.paperNumberFormat=e.paperNumberFormat,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.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}),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),this.target.bind("click.hiprint",function(p){A.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{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,paperNumberDisabled:i.paperNumberDisabled,paperNumberFormat:i.paperNumberFormat},callback:function(U){i.panelPaperRule=U.panelPaperRule,i.panelPageRule=U.panelPageRule,i.firstPaperFooter=U.firstPaperFooter,i.evenPaperFooter=U.evenPaperFooter,i.oddPaperFooter=U.oddPaperFooter,i.lastPaperFooter=U.lastPaperFooter,i.leftOffset=U.leftOffset,i.topOffset=U.topOffset,i.fontFamily=U.fontFamily,i.orient=U.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!U.paperNumberDisabled||void 0,i.paperNumberFormat=U.paperNumberFormat,i.designPaper.paperNumberFormat=U.paperNumberFormat,U.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()}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},m.prototype.update=function(e){try{console.log("update ------>"),console.log(e);var i=Date.now();console.log("start",i);var p=this;this.index=e.index,this.width=e.width,this.height=e.height,this.paperType=e.paperType,this.paperHeader=e.paperHeader,this.paperFooter=e.paperFooter,this.designPaper.width=A.a.mm.toPt(e.width),this.designPaper.height=A.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-u.a.instance.paperHeightTrim+"mm"),this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberFormat=e.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberFormat=this.paperNumberFormat,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=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",this.mmwidth+"mm"),this.target.css("height",this.mmheight-u.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale);var h=Date.now();console.log("\u66F4\u65B0\u53C2\u6570 end",h),console.log("\u66F4\u65B0\u53C2\u6570 time:",h-i),this.printElements.forEach(function(U){U.designTarget&&U.designTarget.length&&U.designTarget.remove()}),this.printElements=[];var h=Date.now();console.log("\u6E05\u7A7A\u9762\u677F end",h),console.log("\u6E05\u7A7A\u9762\u677F time:",h-i),this.initPrintElements(e.printElements);var h=Date.now();console.log("\u521D\u59CB\u5316\u5143\u7D20 end",h),console.log("\u521D\u59CB\u5316\u5143\u7D20 time:",h-i),this.printElements.forEach(function(U){p.appendDesignPrintElement(p.designPaper,U),U.design(e,p.designPaper)});var h=Date.now();console.log("\u63D2\u5165\u9762\u677F end",h),console.log("\u63D2\u5165\u9762\u677F time:",h-i)}catch(U){console.log("???????"),console.log(U)}},m.prototype.bindShortcutKeyEvent=function(){var e=this;T.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?A.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"redo"):A.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"undo"),i.preventDefault());var p=u.a.instance.getHooks("documentShortcutKeys");p&&p.forEach(h=>{h.run({panel:e,event:i})})}})},m.prototype.copyJson=function(e){var i=[];try{var p=this,h=T.default("#copyArea");h.length||(h=T.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),T.default("body").append(h)),i=p.getSelectEls();var U=[];i.forEach(function(L){U.push({options:L.options,printElementType:L.printElementType,id:L.id,templateId:L.templateId,cut:e||!1})});var G=JSON.stringify(U);h.text(G),h.css("visibility","visible"),h.focus(),h.setSelectionRange?h.setSelectionRange(0,h.value.length):h.select(),document.execCommand("copy"),h.css("visibility","hidden"),p.designPaper.target.trigger(T.default.Event("click")),p.designPaper.target.focus(),console.log("copyJson success")}catch(L){i=[],console.log("copyJson error",L)}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&&T.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=u.a.instance.getHooks("shortcutKeys");p&&p.forEach(h=>{h.run({panel:e,event:i})})}})},m.prototype.canPaste=function(e){var i=T.default("#copyArea");if(!i.length)return!1;var p=i.text(),h=JSON.parse(p);return Array.isArray(h)?h.some(function(U){return U.printElementType&&U.templateId}):!!(h.printElementType&&h.templateId)},m.prototype.pasteJson=function(e){var i=T.default("#copyArea");if(!!i.length)try{var p=this,h=i.text(),U=JSON.parse(h),G=!1;Array.isArray(U)?(G=U.some(function(L){return L.cut==!0}),U.forEach(function(L){p.pasteByJson(L,e)})):(G=U.cut,p.pasteByJson(U,e)),G&&T.default("#copyArea").text("{}")}catch(L){console.error("pasteJson error",L)}},m.prototype.pasteByJson=function(e,i){if(!(!e.printElementType&&!e.templateId)){var p=this,h=e.options,U=et.createPrintElementType(e.printElementType),G=U.createPrintElement(h);if(!!G){var L=i&&i.currentTarget?!0:i,k=L?p.mouseOffsetX&&A.a.px.toPt(p.mouseOffsetX):h.left+=10,$=L?p.mouseOffsetY&&A.a.px.toPt(p.mouseOffsetY):h.top+=10;L||(G.options.setLeft(k),G.options.setTop($)),G.setTemplateId(p.templateId),G.setPanel(p),p.appendDesignPrintElement(p.designPaper,G,!1),p.printElements.push(G),G.design(void 0,p.designPaper),console.log("pasteJson success"),A.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,e.cut?"\u526A\u5207":"\u590D\u5236"),G.designTarget.trigger(T.default.Event("click"))}}},m.prototype.css=function(e){this.fontFamily?e.css("fontFamily",this.fontFamily):e[0].style.fontFamily=""},m.prototype.getHtml=function(e,i,p,h,U){var G=this;this.orderPrintElements();var L,k=p||[],$=h||this,V=void 0;return h?(V=k[k.length-1],L=V.getPanelTarget(),V.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:V.referenceElement.bottomInLastPaper,beginPrintPaperIndex:k.length-1,printTopInPaper:V.referenceElement.bottomInLastPaper,endPrintPaperIndex:k.length-1}))):(L=$.createTarget(),V=$.createNewPage(k.length),k.push(V),L.append(V.getTarget())),this.printElements.filter(function(Q){return!Q.isFixed()&&!Q.isHeaderOrFooter()}).forEach(function(Q){var rt=[],R=k[k.length-1];R.referenceElement.isPositionLeftOrRight(Q.options.getTop(),Q.options.getHeight())?V=k[R.referenceElement.beginPrintPaperIndex]:V=k[R.referenceElement.endPrintPaperIndex],rt=Q.getHtml(V,e),rt.forEach(function(it,ut){it.referenceElement&&(it.referenceElement.endPrintPaperIndex=it.referenceElement.beginPrintPaperIndex+rt.length-1),ut>0&&(V.index<k.length-1?V=k[V.index+1]:(V=$.createNewPage(k.length,V.referenceElement),k.push(V)),L.append(V.getTarget())),it.target&&(Q.options.showInPage!="none"&&V.append(it.target),V.updatePrintLine(it.printLine),Q.onRendered(V,it.target)),ut==rt.length-1&&it.referenceElement&&V.updateReferenceElement(it.referenceElement)})}),U&&U.templates.forEach(function(Q,rt){var R=Q.data||{},it=Q.options||{};Q.template.printPanels.forEach(function(ut){ut.getHtml(R,it,p,G)})}),h||(this.lastPaperFooter&&k[k.length-1].printLine>this.lastPaperFooter&&(V=$.createNewPage(k.length,V.referenceElement),k.push(V),L.append(V.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&k.length%2==0&&(V=$.createNewPage(k.length,V.referenceElement),k.push(V),L.append(V.getTarget())),this.panelPaperRule=="even"&&k.length%2==1&&(V=$.createNewPage(k.length,V.referenceElement),k.push(V),L.append(V.getTarget()))),k.forEach(function(Q){Q.updatePaperNumber(Q.index+1,k.length,i.paperNumberToggleInEven),G.fillPaperHeaderAndFooter(Q,e,k.length),i&&(i.leftOffset!=null&&Q.setLeftOffset(i.leftOffset),i.topOffset!=null&&Q.setTopOffset(i.topOffset))}),L.prepend(this.getPrintStyle())),L},m.prototype.resize=function(e,i,p,h){this.width=i,this.height=p,this.paperType=e,this.rotate=h,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 It({index:this.index,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat: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,leftOffset:this.leftOffset})},m.prototype.createTarget=function(){var e=T.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(h,U){var G=r.a.instance.getDragingPrintElement(),L=G.printElement;L.updateSizeAndPositionOptions(i.mathroundToporleft(G.left-A.a.px.toPt(i.target.offset().left)),i.mathroundToporleft(G.top-A.a.px.toPt(i.target.offset().top))),L.setTemplateId(i.templateId),L.setPanel(i),i.appendDesignPrintElement(i.designPaper,L,!0),i.printElements.push(L),L.design(void 0,e),A.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},m.prototype.initPrintElements=function(e){var i=this;this.printElements=[],e&&e.forEach(function(p){var h;if(h=p.printElementType?et.createPrintElementType(p.printElementType):l.instance.getElementType(p.tid)){var U=h.createPrintElement(p.options);U.setTemplateId(i.templateId),U.setPanel(i),i.printElements.push(U)}else console.log("miss "+JSON.stringify(e))})},m.prototype.mathroundToporleft=function(e){var i=u.a.instance.movingDistance;return Math.round(e/i)*i},m.prototype.appendDesignPrintElement=function(e,i,p){i.setCurrenttemplateData(void 0);var h=i.getDesignTarget(e);h.addClass("design"),p&&i.initSizeByHtml(h),e.append(h)},m.prototype.createNewPage=function(e,i){var p=new c(this.templateId,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberFormat,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=A.a.orderBy(this.printElements,function(e){return e.options.getLeft()}),this.printElements=A.a.orderBy(this.printElements,function(e){return e.options.getTop()})},m.prototype.fillPaperHeaderAndFooter=function(e,i,p){this.printElements.filter(function(h){return h.isFixed()||h.isHeaderOrFooter()}).forEach(function(h){if(h.isFixed(),h.showInPage(e.index,p)){var U=h.getHtml(e,i);U.length&&e.append(U[0].target)}})},m.prototype.clear=function(){this.printElements.forEach(function(e){e.designTarget&&e.designTarget.length&&e.designTarget.remove()}),this.printElements=[],A.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=T.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):et.createPrintElementType(e.printElementType))||console.log("miss "+JSON.stringify(e)),i},m.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1496
1535
|
@page
|
|
1497
1536
|
{
|
|
1498
1537
|
border:0;
|
|
@@ -1501,15 +1540,15 @@
|
|
|
1501
1540
|
`+this.getPrintSizeStyle()+`
|
|
1502
1541
|
}
|
|
1503
1542
|
</style>
|
|
1504
|
-
`},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(
|
|
1543
|
+
`},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,h){p.id==e.id&&(e.delete(),i.printElements.splice(h,1),A.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.bindBatchMoveElement=function(){var e=this;this.designPaper.getTarget().on("mousemove",function(i){i.target.className&&bt(i.target.className)=="string"&&(i.target.className.includes("resize-panel")||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,r.a.instance.draging||i.buttons===1&&r.a.instance.rectDraging&&e.mouseRect&&(e.mouseRect.updateRect(i.pageX,i.pageY),e.updateRectPanel(e.mouseRect)))}).on("mousedown",function(i){r.a.instance.rectDraging=!0,!(i.target.className&&bt(i.target.className)=="string"&&(i.target.className.includes("resize-panel")||i.target.className.includes("editing")))&&(r.a.instance.draging||(e.mouseRect&&e.mouseRect.target&&e.mouseRect.target.remove(),i.buttons===1&&r.a.instance.rectDraging&&i.target.className=="hiprint-printPaper hidroppable design"&&(e.mouseRect=new ft(i.pageX,i.pageY,r.a.instance.dragLengthCNum(i.pageX-e.designPaper.getTarget().offset().left,u.a.instance.movingDistance),r.a.instance.dragLengthCNum(i.pageY-e.designPaper.getTarget().offset().top,u.a.instance.movingDistance)))))}).on("mouseup",function(i){r.a.instance.rectDraging&&e.mouseRect&&T.default(".mouseRect").length&&(T.default(".mouseRect").height()>10||T.default(".mouseRect").width()>10)&&setTimeout(function(){A.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300),r.a.instance.rectDraging=!1}).on("click",function(i){setTimeout(function(){A.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(),h=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=T.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(k,$,V){i.mouseRect.target.css({transform:"unset"}),i.mouseRect.lastLeft=i.mouseRect.lastLeft?A.a.px.toPt(i.mouseRect.target[0].offsetLeft):$/h,i.mouseRect.lastTop=i.mouseRect.lastTop?A.a.px.toPt(i.mouseRect.target[0].offsetTop):V/h,(i.mouseRect.mouseRectSelectedElement||[]).forEach(function(Q){Q.updatePositionByMultipleSelect($-i.mouseRect.lastLeft,V-i.mouseRect.lastTop)}),i.mouseRect.lastLeft=$/h,i.mouseRect.lastTop=V/h,r.a.instance.changed=!0},moveUnit:"pt",minMove:u.a.instance.movingDistance,onBeforeDrag:function(k){i.mouseRect.target.focus(),r.a.instance.draging=!0,i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect))},getScale:function(){return i.designPaper.scale||1},onStopDrag:function(k){r.a.instance.changed&&A.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,"\u6846\u9009\u79FB\u52A8"),r.a.instance.draging=!1,r.a.instance.changed=!1}})),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/h+"pt",top:e.lastTop/h+"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/h+"pt",top:e.lastTop/h+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var U="",G="rotate(180deg)";e.startX==e.minX||e.startX==e.maxX?e.ey>=e.by?(G="scaleX(-1)",U="left"):U="center top":(e.startY==e.minY||e.startY==e.maxY)&&(U=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/h+"pt",top:e.lastTop/h+"pt",transform:G,"transform-origin":U})}e.target.focus()},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 h=i.mouseRect.mouseRectSelectedElement||[];switch(p.keyCode){case 8:case 46:h.forEach(function(U){i.deletePrintElement(U)}),A.a.event.trigger("clearSettingContainer");break;case 37:i.mouseRect.updatePositionByMultipleSelect(0-u.a.instance.movingDistance,0),h.forEach(function(U){U.updatePositionByMultipleSelect(0-u.a.instance.movingDistance,0)}),p.preventDefault();break;case 38:i.mouseRect.updatePositionByMultipleSelect(0,0-u.a.instance.movingDistance),h.forEach(function(U){U.updatePositionByMultipleSelect(0,0-u.a.instance.movingDistance)}),p.preventDefault();break;case 39:i.mouseRect.updatePositionByMultipleSelect(u.a.instance.movingDistance,0),h.forEach(function(U){U.updatePositionByMultipleSelect(u.a.instance.movingDistance,0)}),p.preventDefault();break;case 40:i.mouseRect.updatePositionByMultipleSelect(0,u.a.instance.movingDistance),h.forEach(function(U){U.updatePositionByMultipleSelect(0,u.a.instance.movingDistance)}),p.preventDefault()}[37,38,39,40].includes(p.keyCode)&&A.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u6846\u9009\u79FB\u52A8")})},m}(),gt=function(){return function(m){if(m)if(m.panels){this.panels=[];for(var e=0;e<m.panels.length;e++)this.panels.push(new It(m.panels[e]))}else this.panels=[]}}(),Mt=d(9),ht=function(){function m(e,i){var p=this;this.printElementOptionSettingPanel={},this.printTemplate=e,this.settingContainer=T.default(i),A.a.event.on(e.getPrintElementSelectEventKey(),function(h){p.buildSetting(h)}),A.a.event.on(e.getBuildCustomOptionSettingEventKey(),function(h){p.buildSettingByCustomOptions(h)}),A.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,h=e.printElement,U=e.customOptionsInput,G=h.getPrintElementOptionTabs();i.clearSettingContainer();var L;G.length?(L=T.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),G.forEach(function(Q){var rt=T.default('<li class="prop-tab-item"><span class="tab-title">'+Q.name+"</span></li>");L.find(".prop-tab-items").append(rt);var R=T.default('<div class="hiprint-option-items" data-title="'+Q.name+'"></div>');Q.list.forEach(function(it){it.submit=function(lt){h.submitOption()};var ut=it.createTarget(h,h.options,h.printElementType);i.printElementOptionSettingPanel[it.name]=ut,R.append(ut),["columns","dataType"].includes(it.name)?it.setValue(h.options[it.name],h.options,h.printElementType):["coordinate","widthHeight"].includes(it.name)?it.setValue(h.options,h):it.setValue(h.options[it.name]||h.printElementType[it.name])}),Q.list.length==0&&U&&U.length&&U.forEach(function(it){var ut=it.callback;it.callback=function(ct){ut&&(ut(ct),h.submitOption())};var lt=it.optionItems;it.title&&R.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1505
1544
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1506
|
-
`+
|
|
1545
|
+
`+it.title+`
|
|
1507
1546
|
</div>
|
|
1508
|
-
</div>`),
|
|
1509
|
-
type="button">\u786E\u5B9A</button>`)
|
|
1510
|
-
type="button">\u5220\u9664</button>`);if(L.append(
|
|
1547
|
+
</div>`),lt.forEach(function(ct){ct.submit=function(St){it.callback(p.getValueByOptionItems(lt))},R.append(ct.createTarget(p.printTemplate,it.options,void 0)),ct.setValue(it.options[ct.name],it.options,void 0)}),R.bind("click.submitOption",function(){it.callback(p.getValueByOptionItems(lt))}),R.find(".auto-submit").change(function(){it.callback(p.getValueByOptionItems(lt))}),R.find(".auto-submit:input").bind("keydown.submitOption",function(ct){ct.keyCode===13&&it.callback(p.getValueByOptionItems(lt))})}),L.append(R)})):(L=T.default('<div class="hiprint-option-items"></div>'),h.getPrintElementOptionItems().forEach(function(Q){Q.submit=function(R){h.submitOption()};var rt=Q.createTarget(h,h.options,h.printElementType);i.printElementOptionSettingPanel[Q.name]=rt,L.append(rt),["columns","dataType"].includes(Q.name)?Q.setValue(h.options[Q.name],h.options,h.printElementType):["coordinate","widthHeight"].includes(Q.name)?Q.setValue(h.options,h):Q.setValue(h.options[Q.name]||h.printElementType[Q.name])}));var k=T.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1548
|
+
type="button">\u786E\u5B9A</button>`),$=T.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|
1549
|
+
type="button">\u5220\u9664</button>`);if(L.append(k),L.append($),G.length){L.on("click",".prop-tab-item",function(){var Q=T.default(this),rt=Q.index();i.settingContainer.data("last-index",rt),Q.addClass("active"),Q.siblings().removeClass("active");var R=L.find(".hiprint-option-items:eq("+rt+")");R.addClass("active"),R.siblings().removeClass("active")});var V=+(i.settingContainer.data("last-index")||0);V>=G.length&&(V=0),L.find(".prop-tab-item:eq("+V+")").click()}k.bind("click.submitOption",function(){h.submitOption()}),$.bind("click.deleteBtn",function(){p.printTemplate.deletePrintElement(h),i.clearSettingContainer()}),L.find(".auto-submit").change(function(Q){h.submitOption()}),L.find(".auto-submit:input").bind("keydown.submitOption",function(Q){Q.keyCode==13&&h.submitOption()}),this.settingContainer.append(L),G.length<1&&U&&U.forEach(function(Q){var rt=Q.callback;Q.callback=function(R){rt&&(rt(R),h.submitOption())},i.buildSettingByCustomOptions(Q,i.settingContainer)}),this.lastPrintElement=h},m.prototype.buildSettingByCustomOptions=function(e,i){var p=this;this.clearLastPrintElement();var h=i||this.settingContainer;i||this.settingContainer.html("");var U=[],G=u.a.instance.panel.supportOptions.filter(function($){return!$.hidden}).map(function($){return $.name});e.optionItems?U=e.optionItems:Object.keys(e.options).filter(function($){return G.includes($)}).forEach(function($){var V=Mt.a.getItem($);V&&U.push(V)});var L=T.default('<div class="hiprint-option-items"></div>');e.title&&L.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1511
1550
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1512
|
-
`+
|
|
1551
|
+
`+e.title+`
|
|
1513
1552
|
</div>
|
|
1514
|
-
</div>`),
|
|
1515
|
-
type="button">\u786E\u5B9A</button>`);L.append(J),J.bind("click.submitOption",function(){t.callback(s.getValueByOptionItems(B))}),L.find(".auto-submit").change(function(X){t.callback(s.getValueByOptionItems(B))}),L.find(".auto-submit:input").bind("keydown.submitOption",function(X){X.keyCode==13&&t.callback(s.getValueByOptionItems(B))}),I.append(L)},m.prototype.getValueByOptionItems=function(t){var i={};return t.forEach(function(s){i[s.name]=s.getValue()}),i},m}(),Et=function(){function m(t,i){this.paginationContainer=t,this.jqPaginationContainer=S.default(this.paginationContainer),this.template=i}return m.prototype.buildPagination=function(t){var i=this.template.getPaneltotal(),s=this;this.jqPaginationContainer.html("");for(var I=S.default('<ul class="hiprint-pagination"></ul>'),B=function(){var X=z,k=S.default("<li><span>"+(X+1)+'</span><a href="javascript:void(0);">x</a></li>');k.find("span").click(function(){s.template.selectPanel(X),k.removeClass("selected"),S.default(this).parent("li").addClass("selected")}),k.find("a").click(function(){s.template.deletePanel(X),s.buildPagination()}),I.append(k)},z=0;z<i;z++)B();var L=S.default("<li><span>+</span></li>");I.append(L),this.jqPaginationContainer.append(I),L.click(function(){s.template.addPrintPanel(void 0,!0),s.buildPagination()})},m}(),Ct=function(){function m(t){var i=this;this.tempimageBase64={},this.id=a.a.instance.guid(),a.a.instance.setPrintTemplateById(this.id,this);var s=t||{};this.printPanels=[],this.dataMode=s.dataMode||1,this.history=s.history!=null?s.history:!0,this.onDataChanged=s.onDataChanged,this.onUpdateError=s.onUpdateError,this.lastJson=s.template||{},this.historyList=[{id:a.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0;var I=new bt(s.template||[]);s.template&&I.panels.forEach(function(B){i.printPanels.push(new jt(B,i.id))}),s.fontList&&(this.fontList=s.fontList),s.fields&&(this.fields=s.fields),s.onImageChooseClick&&(this.onImageChooseClick=s.onImageChooseClick),s.settingContainer&&new At(this,s.settingContainer),s.paginationContainer&&(this.printPaginationCreator=new Et(s.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return m.prototype.design=function(t,i){var s=this;if(i||(i={}),this.printPanels.length==0){var I=this.createDefaultPanel();this.printPanels.push(I)}if(!t)throw new Error("options.container can not be empty");this.createContainer(t),this.printPanels.forEach(function(B,z){s.container.append(B.getTarget()),z>0&&B.disable(),B.design(i)}),this.selectPanel(0)},m.prototype.getSimpleHtml=function(t,i){var s=this;i||(i={});var I=s.editingPanel.height+"mm;",B=s.editingPanel.width+"mm;",z=S.default('<div class="hiprint-printTemplate" style="'+I+B+'"></div>');return t&&t.constructor===Array?t.forEach(function(L){L&&s.printPanels.forEach(function(J,X){z.append(J.getHtml(L,i))})}):this.printPanels.forEach(function(L,J){z.append(L.getHtml(t,i))}),i&&i.imgToBase64&&this.transformImg(z.find("img")),z},m.prototype.getHtml=function(t,i){return t||(t={}),this.getSimpleHtml(t,i)},m.prototype.getJointHtml=function(t,i,s){var I=S.default('<div class="hiprint-printTemplate"></div>'),B=[];return this.printPanels.forEach(function(z,L){I.append(z.getHtml(t,i,B,void 0,s))}),I},m.prototype.setPaper=function(t,i){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(t))this.editingPanel.resize(void 0,parseFloat(t),parseFloat(i),!1);else{var s=a.a.instance[t];if(!s)throw new Error("not found pagetype:"+(t||""));this.editingPanel.resize(t,s.width,s.height,!1)}},m.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},m.prototype.zoom=function(t,i){this.editingPanel.zoom(t,i)},m.prototype.addPrintPanel=function(t,i){var s=t?new jt(new ct(t),this.id):this.createDefaultPanel();return t&&(t.index=this.printPanels.length),i&&(this.container.append(s.getTarget()),s.design()),this.printPanels.push(s),i&&this.selectPanel(s.index),s},m.prototype.selectPanel=function(t){var i=this;this.printPanels.forEach(function(s,I){t==I?(s.enable(),i.editingPanel=s):s.disable()})},m.prototype.deletePanel=function(t){this.printPanels[t].clear(),this.printPanels[t].getTarget().remove(),this.printPanels.splice(t,1)},m.prototype.getPaneltotal=function(){return this.printPanels.length},m.prototype.createDefaultPanel=function(){return new jt(new ct({index:this.printPanels.length,paperType:"A4"}),this.id)},m.prototype.createContainer=function(t){t?(this.container=S.default(t),this.container.addClass("hiprint-printTemplate")):this.container=S.default('<div class="hiprint-printTemplate"></div>')},m.prototype.getJsonTid=function(){var t=[];return this.printPanels.forEach(function(i){i.getPanelEntity().printElements.length&&t.push(i.getPanelEntity())}),new bt({panels:t})},m.prototype.getJson=function(){var t=[];return this.printPanels.forEach(function(i){t.push(i.getPanelEntity(!0))}),new bt({panels:t})},m.prototype.undo=function(t){N.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},m.prototype.redo=function(t){N.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(t){if(t.clear(),t.index>0){var i=t.getTarget();i&&i.length&&i.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},m.prototype.getPaperType=function(t){return this.printPanels[0].paperType},m.prototype.getOrient=function(t){return t==null&&(t=0),this.printPanels[t].height>this.printPanels[t].width?1:2},m.prototype.getPrintStyle=function(t){return this.printPanels[t].getPrintStyle()},m.prototype.print=function(t,i,s){var I=this;t||(t={});var B=this.getHtml(t,i),z=u.a.instance.getHooks("beforePrint");z&&z.forEach(L=>{var{template:J,info:X,opts:k}=L.run({template:I,info:B,opts:s});I=J!=null?J:I,B=X!=null?X:X,s=k!=null?k:s}),B.hiwprint(s)},m.prototype.print2=function(t,i){if(t||(t={}),i||(i={}),this.clientIsOpened()){var s=this,I=0,B={},z=S.default('link[media=print][href*="print-lock.css"]').length>0?S.default('link[media=print][href*="print-lock.css"]'):[],L="";i.styleHandler&&(L+=i.styleHandler()),z.each(function(J,X){var k=new XMLHttpRequest;k.open("GET",S.default(X).attr("href")),k.onreadystatechange=function(){if(k.readyState===4&&k.status===200&&(B[J+""]='<style rel="stylesheet" type="text/css">'+k.responseText+"</style>",++I==z.length)){for(var V="",at=0;at<z.length;at++)V+=B[at+""];L&&(V=L+V),s.sentToClient(V,t,i)}},k.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},m.prototype.imageToBase64=function(t){var i=S.default(t).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var s=document.createElement("canvas"),I=new Image;I.src=t.attr("src"),s.width=I.width,s.height=I.height,s.getContext("2d").drawImage(I,0,0),i&&(this.tempimageBase64[i]=s.toDataURL("image/png"))}t.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(t)}catch(z){console.log(z)}}},m.prototype.xhrLoadImage=function(t){},m.prototype.sentToClient=function(t,i,s){i||(i={});var I=S.default.extend({},s||{});I.imgToBase64=!0;var B=t+this.getHtml(i,I)[0].outerHTML;I.id=a.a.instance.guid(),I.html=B,I.templateId=this.id;var z=this,L=u.a.instance.getHooks("beforePrint2");L&&L.forEach(J=>{var{template:X,info:k}=J.run({template:z,info:I});z=X!=null?X:z,I=k!=null?k:I}),hiwebSocket.send(I)},m.prototype.printByHtml=function(t){S.default(t).hiwprint()},m.prototype.printByHtml2=function(t,i){if(i||(i={}),this.clientIsOpened()){var s=this,I=0,B={},z=S.default("link[media=print]").length>0?S.default("link[media=print]"):S.default("link");z.each(function(L,J){var X=new XMLHttpRequest;X.open("GET",S.default(J).attr("href")),X.onreadystatechange=function(){if(X.readyState===4&&X.status===200&&(B[L+""]='<style rel="stylesheet" type="text/css">'+X.responseText+"</style>",++I==z.length)){for(var k="",V=0;V<z.length;V++)k+=B[V+""];var at=k+S.default(t)[0].outerHTML,R=S.default.extend({},i||{});R.id=a.a.instance.guid(),R.html=at,R.templateId=s.id,hiwebSocket.send(R)}},X.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},m.prototype.deletePrintElement=function(t){this.printPanels.forEach(function(i){i.deletePrintElement(t)})},m.prototype.transformImg=function(t){var i=this;t.map(function(s,I){i.imageToBase64(S.default(I))})},m.prototype.toPdf=function(t,i,s){var I=this,B=S.default.Deferred(),z=!0;if(this.printPanels.length){var L=N.a.mm.toPt(this.printPanels[0].width),J=N.a.mm.toPt(this.printPanels[0].height),X=S.default.extend({scale:2,width:N.a.pt.toPx(L),x:0,y:0,useCORS:!0},s||{}),k=new Ie.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[L,J]}),V=this.getHtml(t,s);s&&(z=s.isDownload),this.createTempContainer();var at=this.getTempContainer();this.svg2canvas(V),at.html(V[0]);var R=at.find(".hiprint-printPanel .hiprint-printPaper").length;S.default(V).css("position:fixed"),ce.default(V[0],X).then(function(q){var pt=q.getContext("2d");pt.mozImageSmoothingEnabled=!1,pt.webkitImageSmoothingEnabled=!1,pt.msImageSmoothingEnabled=!1,pt.imageSmoothingEnabled=!1;for(var st=q.toDataURL("image/jpeg"),It=0;It<R;It++)k.addImage(st,"JPEG",0,0-It*J,L,R*J),It<R-1&&k.addPage();if(z)I.removeTempContainer(),i.indexOf(".pdf")>-1?k.save(i):k.save(i+".pdf");else{I.removeTempContainer();var Tt=k.output("blob");B.resolve(Tt)}})}return B.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(t){var i=this;t.find("svg").each(function(s,I){var B=I.parentNode,z=i.parentWidthHeight(B),L=_t.Document.createCanvas(z.width,z.height),J=L.getContext("2d"),X=new XMLSerializer().serializeToString(I);_t.Canvg.fromString(J,X).render(),S.default(I).before(L),B.removeChild(I)})},m.prototype.parentWidthHeight=function(t){return t.style.width.endsWith("%")||t.style.height.endsWith("%")?t.className!="hiprint-printPaper-content"?this.parentWidthHeight(t.parentNode):{width:10,height:10}:{width:N.a.pt.toPx(parseFloat(t.style.width)),height:N.a.pt.toPx(parseFloat(t.style.height))}},m.prototype.on=function(t,i){N.a.event.clear(t+"_"+this.id),N.a.event.on(t+"_"+this.id,i)},m.prototype.clientIsOpened=function(){return hiwebSocket.opened},m.prototype.getPrinterList=function(){var t=hiwebSocket.getPrinterList();return t||[]},m.prototype.getElementByTid=function(t,i){return i==null&&(i=0),this.printPanels[i].getElementByTid(t)},m.prototype.getElementByName=function(t,i){return i==null&&(i=0),this.printPanels[i].getElementByName(t)},m.prototype.getPanel=function(t){return t==null&&(t=0),this.printPanels[t]},m.prototype.loadAllImages=function(t,i,s){var I=this;s==null&&(s=0);for(var B=t[0].getElementsByTagName("img"),z=!0,L=0;L<B.length;L++){var J=B[L];J.src&&J.src!==window.location.href&&J.src.indexOf("base64")==-1&&(J&&J.naturalWidth!==void 0&&J.naturalWidth!==0&&J.complete||(z=!1))}s++,!z&&s<10?setTimeout(function(){I.loadAllImages(t,i,s)},500):i()},m.prototype.setFontList=function(t){this.fontList=t},m.prototype.getFontList=function(){return this.fontList},m.prototype.setFields=function(t){this.fields=t},m.prototype.getFields=function(){return this.fields},m.prototype.setOnImageChooseClick=function(t){this.onImageChooseClick=t},m.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},m.prototype.getFieldsInPanel=function(){var t=[];return this.printPanels.forEach(function(i){t=t.concat(i.getFieldsInPanel())}),t},m.prototype.update=function(t){var i=this;try{if(t&&Mt(t)=="object"){var s=new ct(t.panels[0]);i.editingPanel.update(s)}}catch(I){console.log(I),i.onUpdateError&&i.onUpdateError(I)}},m.prototype.canPaste=function(){return this.editingPanel.canPaste()},m.prototype.copyJson=function(t){return this.editingPanel.copyJson(t)},m.prototype.cutJson=function(){return this.editingPanel.cutJson()},m.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},m.prototype.updateOption=function(t,i){var s=this.getSelectEls();s&&s.length&&(s.forEach(function(I){I.updateOption(t,i,!0)}),N.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},m.prototype.setElsAlign=function(t){var i=this.getSelectEls();if(i.length){var s=Math.min.apply(null,i.map(function(R){return R.options.left})),I=Math.max.apply(null,i.map(function(R){return R.options.left+R.options.width})),B=Math.min.apply(null,i.map(function(R){return R.options.top})),z=Math.max.apply(null,i.map(function(R){return R.options.top+R.options.height}));switch(t){case"left":i.forEach(function(R){R.updateSizeAndPositionOptions(s),R.designTarget.css("left",R.options.displayLeft())});break;case"vertical":var L=s+(I-s)/2;i.forEach(function(R){R.updateSizeAndPositionOptions(L-R.options.width/2),R.designTarget.css("left",R.options.displayLeft())});break;case"right":i.forEach(function(R){R.updateSizeAndPositionOptions(I-R.options.width),R.designTarget.css("left",R.options.displayLeft())});break;case"top":i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,B),R.designTarget.css("top",R.options.displayTop())});break;case"horizontal":var J=B+(z-B)/2;i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,J-R.options.height/2),R.designTarget.css("top",R.options.displayTop())});break;case"bottom":i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,z-R.options.height),R.designTarget.css("top",R.options.displayTop())});break;case"distributeHor":var X=[].reduce.call(i,function(R,q){return R+q.options.width},0),k=(I-s-X)/(i.length-1);i.sort(function(R,q){return R.options.left-q.options.left}),i.forEach(function(R,q){[0,i.length-1].includes(q)||(R.updateSizeAndPositionOptions(i[q-1].options.left+i[q-1].options.width+k),R.designTarget.css("left",R.options.displayLeft()))});break;case"distributeVer":var V=[].reduce.call(i,function(R,q){return R+q.options.height},0),at=(z-B-V)/(i.length-1);i.sort(function(R,q){return R.options.top-q.options.top}),i.forEach(function(R,q){[0,i.length-1].includes(q)||(R.updateSizeAndPositionOptions(void 0,i[q-1].options.top+i[q-1].options.height+at),R.designTarget.css("top",R.options.displayTop()))});break}}},m.prototype.setElsSpace=function(t,i){var s=this.getSelectEls();s.length&&(i?(s.sort(function(I,B){return I.options.left-B.options.left}),s.forEach(function(I,B){B>0&&(I.updateSizeAndPositionOptions(s[B-1].options.left+s[B-1].options.width+t),I.designTarget.css("left",I.options.displayLeft()))})):(s.sort(function(I,B){return I.options.top-B.options.top}),s.forEach(function(I,B){B>0&&(I.updateSizeAndPositionOptions(void 0,s[B-1].options.top+s[B-1].options.height+t),I.designTarget.css("top",I.options.displayTop()))})))},m.prototype.initAutoSave=function(){var t=this;N.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(i){if(!!t.history)switch(i){case"undo":if(t.historyPos>0){t.historyPos-=1;var s=t.historyList[t.historyPos];t.update(s.json,s.type)}break;case"redo":if(t.historyPos<t.historyList.length-1){t.historyPos+=1;var s=t.historyList[t.historyPos];t.update(s.json,s.type)}break}}),N.a.event.on("hiprintTemplateDataChanged_"+this.id,function(i){if(t.history){var s=t.dataMode==1?t.getJson():t.getJsonTid();t.lastJson=s,t.historyPos<t.historyList.length-1&&(t.historyList=t.historyList.slice(0,t.historyPos+1)),t.historyList.push({id:a.a.instance.guid(),type:i,json:s}),t.historyList.length>50?t.historyList=t.historyList.slice(0,1).concat(t.historyList.slice(1,50)):t.historyPos+=1,t.onDataChanged&&t.onDataChanged(i,s)}})},m}();function Bt(m){this.getHtml(m).hiwprint()}function Ut(m,t,i){S.default.extend({},m||{}).imgToBase64=!0;var s=new Ct({});s.on("printSuccess",t),s.on("printError",i),s.printByHtml2(this.getHtml(m),m.options)}function Zt(m){var t=void 0;return m&&m.templates.forEach(function(i,s){var I=S.default.extend({},i.options||{});m.imgToBase64&&(I.imgToBase64=!0),t?t.append(i.template.getHtml(i.data,I).html()):t=i.template.getHtml(i.data,I)}),t}function Lt(m){u.a.instance.init(m),u.a.instance.providers.forEach(function(t){t.addElementTypes(p.instance)})}function zt(m){u.a.instance.register(m)}function Wt(m){m?m&&Object.keys(m).forEach(function(t){if(t=="optionItems"&&m.optionItems&&m.optionItems.length&&u.a.instance.registerItems(m.optionItems),m[t].tabs&&m[t].tabs.length&&(m[t].tabs.forEach(function(I,B){if(I.replace)S.default.extend(u.a.instance[t].tabs[B],I);else{var z=I.options,L=u.a.instance[t].tabs[B].options;z.forEach(function(J){var X=L.findIndex(function(k){return k.name==J.name});X>-1?L[X].hidden=J.hidden:J.after?(X=L.findIndex(function(k){return k.name==J.after}),X>-1&&L.splice(X+1,0,J)):L.push(J)}),S.default.extend(u.a.instance[t].tabs[B],{name:I.name,options:L})}}),delete m[t].tabs),m[t].supportOptions){var i=m[t].supportOptions,s=u.a.instance[t].supportOptions;i.forEach(function(I){var B=s.findIndex(function(z){return z.name==I.name});B>-1?s[B].hidden=I.hidden:I.after?(B=s.findIndex(function(z){return z.name==I.after}),B>-1&&s.splice(B+1,0,I)):s.push(I)}),S.default.extend(u.a.instance[t].supportOptions,s),delete m[t].supportOptions}S.default.extend(u.a.instance[t],m[t])}):S.default.extend(u.a.instance,HIPRINT_CONFIG)}function Gt(m,t){return p.instance.updateElementType(m,t)}function kt(m){u.a.instance.clear("printerList"),u.a.instance.on("printerList",m),hiwebSocket.refreshPrinterList()}function Rt(m,t,...i){u.a.instance.clear("address_"+m),u.a.instance.on("address_"+m,t),hiwebSocket.getAddress(m,...i)}function Jt(m,t,i){u.a.instance.clear("ippPrinterCallback"),u.a.instance.on("ippPrinterCallback",t),u.a.instance.clear("ippPrinterConnected"),u.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(m)}function Ft(m,t){u.a.instance.clear("ippRequestCallback"),u.a.instance.on("ippRequestCallback",t),hiwebSocket.ippRequest(m)}d.d(F,"register",function(){return zt}),d.d(F,"init",function(){return Lt}),d.d(F,"setConfig",function(){return Wt}),d.d(F,"updateElementType",function(){return Gt}),d.d(F,"hiwebSocket",function(){return hiwebSocket}),d.d(F,"refreshPrinterList",function(){return kt}),d.d(F,"getAddress",function(){return Rt}),d.d(F,"ippPrint",function(){return Jt}),d.d(F,"ippRequest",function(){return Ft}),d.d(F,"ElementTypes",function(){return p.instance}),d.d(F,"PrintElementTypeManager",function(){return ht}),d.d(F,"PrintElementTypeGroup",function(){return Pt}),d.d(F,"PrintTemplate",function(){return Ct}),d.d(F,"print",function(){return Bt}),d.d(F,"print2",function(){return Ut}),d.d(F,"getHtml",function(){return Zt}),S.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var m=u.a.instance.getHooks("ready");m&&m.forEach(t=>{t.run({p:u,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let fe=me(Dt);(function($){$.fn.hiwprint=function(b){var p=document.getElementById("hiwprint_iframe");p&&p.parentNode.removeChild(p);var u=$.extend({},$.fn.hiwprint.defaults,b),a=this,y=$('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),w="";u.importCss&&(u.styleHandler&&(w+=u.styleHandler()),$("link[media=print]").length>0&&$("link[media=print]").each(function(){$(this).attr("href").indexOf("print-lock.css")>=0&&(w+='<link rel="stylesheet" type="text/css" media="print" href="'+$(this).attr("href")+'">',w+='<link rel="stylesheet" type="text/css" href="'+$(this).attr("href")+'">')})),y[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+w+"</head><body></body></html>",y[0].onload=function(){var H=y[0].contentWindow||y[0].contentDocument;H.document&&(H=H.document),y.attr("srcdoc")||H.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+w+"</head><body></body></html>"),u.printContainer?H.body.innerHTML=a[0].outerHTML:H.body.innerHTML=a.html(),N(H,function(){F(y[0],u)})},y.appendTo("body")},$.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function F(b,p){try{if(b.focus(),G()||d())try{b.contentWindow.document.execCommand("print",!1,null)}catch{b.contentWindow.print()}else b.contentWindow.print();p.callback&&p.callback()}catch(u){console.log(u)}}function d(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function G(){return!d()&&!!window.StyleMedia}function N(b,p,u){u===void 0&&(u=0);for(var a=b.getElementsByTagName("img"),y=!0,w=0;w<a.length;w++){var H=a[w];H.src&&H.src!==window.location.href&&H.src.indexOf("base64")==-1&&(!H||typeof H.naturalWidth=="undefined"||H.naturalWidth===0||!H.complete)&&(H.complete||(y=!1))}u++,!y&&u<10?setTimeout(function(){N(b,p,u)},500):p()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.2",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,panel:{supportOptions:[{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:"paperNumberDisabled",hidden:!1},{name:"paperNumberFormat",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:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"optionsGroup",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:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",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:"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:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",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:"optionsGroup",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:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{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:"fixed",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:"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:"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:"optionsGroup",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:"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:"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:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},tableCustom:{showPoints:["s","e"],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"textAlign",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableHeaderBackground",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:"tableFooterRepeat",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:"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:"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:"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:"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:"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:"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:"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:"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:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",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:"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:"tableSummary",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1}],default:{height:90,width:90}}}})();const be=function($){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start($)},ve=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};exports.autoConnect=be;exports.defaultElementTypeProvider=fe;exports.disAutoConnect=ve;exports.hiprint=Dt;
|
|
1553
|
+
</div>`),U.forEach(function($){$.submit=function(V){e.callback(p.getValueByOptionItems(U))},L.append($.createTarget(p.printTemplate,e.options,void 0)),$.setValue(e.options[$.name],e.options,void 0)});var k=T.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1554
|
+
type="button">\u786E\u5B9A</button>`);L.append(k),k.bind("click.submitOption",function(){e.callback(p.getValueByOptionItems(U))}),L.find(".auto-submit").change(function($){e.callback(p.getValueByOptionItems(U))}),L.find(".auto-submit:input").bind("keydown.submitOption",function($){$.keyCode==13&&e.callback(p.getValueByOptionItems(U))}),h.append(L)},m.prototype.getValueByOptionItems=function(e){var i={};return e.forEach(function(p){i[p.name]=p.getValue()}),i},m}(),dt=function(){function m(e,i){this.paginationContainer=e,this.jqPaginationContainer=T.default(this.paginationContainer),this.template=i}return m.prototype.buildPagination=function(e){var i=this.template.getPaneltotal(),p=this;this.jqPaginationContainer.html("");for(var h=T.default('<ul class="hiprint-pagination"></ul>'),U=function(){var $=G,V=T.default("<li><span>"+($+1)+'</span><a href="javascript:void(0);">x</a></li>');V.find("span").click(function(){p.template.selectPanel($),V.removeClass("selected"),T.default(this).parent("li").addClass("selected")}),V.find("a").click(function(){p.template.deletePanel($),p.buildPagination()}),h.append(V)},G=0;G<i;G++)U();var L=T.default("<li><span>+</span></li>");h.append(L),this.jqPaginationContainer.append(h),L.click(function(){p.template.addPrintPanel(void 0,!0),p.buildPagination()})},m}(),Tt=function(){function m(e){var i=this;this.tempimageBase64={},this.id=r.a.instance.guid(),r.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.onDataChanged=p.onDataChanged,this.onUpdateError=p.onUpdateError,this.lastJson=p.template||{},this.historyList=[{id:r.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0;var h=new gt(p.template||[]);p.template&&h.panels.forEach(function(U){i.printPanels.push(new Pt(U,i.id))}),p.fontList&&(this.fontList=p.fontList),p.fields&&(this.fields=p.fields),p.onImageChooseClick&&(this.onImageChooseClick=p.onImageChooseClick),p.settingContainer&&new ht(this,p.settingContainer),p.paginationContainer&&(this.printPaginationCreator=new dt(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 h=this.createDefaultPanel();this.printPanels.push(h)}if(!e)throw new Error("options.container can not be empty");this.createContainer(e),this.printPanels.forEach(function(U,G){p.container.append(U.getTarget()),G>0&&U.disable(),U.design(i)}),this.selectPanel(0)},m.prototype.getSimpleHtml=function(e,i){var p=this;i||(i={});var h=p.editingPanel.height+"mm;",U=p.editingPanel.width+"mm;",G=T.default('<div class="hiprint-printTemplate" style="'+h+U+'"></div>');return e&&e.constructor===Array?e.forEach(function(L){L&&p.printPanels.forEach(function(k,$){G.append(k.getHtml(L,i))})}):this.printPanels.forEach(function(L,k){G.append(L.getHtml(e,i))}),i&&i.imgToBase64&&this.transformImg(G.find("img")),G},m.prototype.getHtml=function(e,i){return e||(e={}),this.getSimpleHtml(e,i)},m.prototype.getJointHtml=function(e,i,p){var h=T.default('<div class="hiprint-printTemplate"></div>'),U=[];return this.printPanels.forEach(function(G,L){h.append(G.getHtml(e,i,U,void 0,p))}),h},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=r.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 Pt(new It(e),this.id):this.createDefaultPanel();return e&&(e.index=this.printPanels.length),i&&(this.container.append(p.getTarget()),p.design()),this.printPanels.push(p),i&&this.selectPanel(p.index),p},m.prototype.selectPanel=function(e){var i=this;this.printPanels.forEach(function(p,h){e==h?(p.enable(),i.editingPanel=p):p.disable()})},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 Pt(new It({index:this.printPanels.length,paperType:"A4"}),this.id)},m.prototype.createContainer=function(e){e?(this.container=T.default(e),this.container.addClass("hiprint-printTemplate")):this.container=T.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 gt({panels:e})},m.prototype.getJson=function(){var e=[];return this.printPanels.forEach(function(i){e.push(i.getPanelEntity(!0))}),new gt({panels:e})},m.prototype.undo=function(e){A.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},m.prototype.redo=function(e){A.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 h=this;e||(e={});var U=this.getHtml(e,i),G=u.a.instance.getHooks("beforePrint");G&&G.forEach(L=>{var{template:k,info:$,opts:V}=L.run({template:h,info:U,opts:p});h=k!=null?k:h,U=$!=null?$:$,p=V!=null?V:p}),U.hiwprint(p)},m.prototype.print2=function(e,i){if(e||(e={}),i||(i={}),this.clientIsOpened()){var p=this,h=0,U={},G=T.default('link[media=print][href*="print-lock.css"]').length>0?T.default('link[media=print][href*="print-lock.css"]'):[],L="";i.styleHandler&&(L+=i.styleHandler()),G.each(function(k,$){var V=new XMLHttpRequest;V.open("GET",T.default($).attr("href")),V.onreadystatechange=function(){if(V.readyState===4&&V.status===200&&(U[k+""]='<style rel="stylesheet" type="text/css">'+V.responseText+"</style>",++h==G.length)){for(var Q="",rt=0;rt<G.length;rt++)Q+=U[rt+""];L&&(Q=L+Q),p.sentToClient(Q,e,i)}},V.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},m.prototype.imageToBase64=function(e){var i=T.default(e).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var p=document.createElement("canvas"),h=new Image;h.src=e.attr("src"),p.width=h.width,p.height=h.height,p.getContext("2d").drawImage(h,0,0),i&&(this.tempimageBase64[i]=p.toDataURL("image/png"))}e.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(e)}catch(G){console.log(G)}}},m.prototype.xhrLoadImage=function(e){},m.prototype.sentToClient=function(e,i,p){i||(i={});var h=T.default.extend({},p||{});h.imgToBase64=!0;var U=e+this.getHtml(i,h)[0].outerHTML;h.id=r.a.instance.guid(),h.html=U,h.templateId=this.id;var G=this,L=u.a.instance.getHooks("beforePrint2");L&&L.forEach(k=>{var{template:$,info:V}=k.run({template:G,info:h});G=$!=null?$:G,h=V!=null?V:h}),hiwebSocket.send(h)},m.prototype.printByHtml=function(e){T.default(e).hiwprint()},m.prototype.printByHtml2=function(e,i){if(i||(i={}),this.clientIsOpened()){var p=this,h=0,U={},G=T.default("link[media=print]").length>0?T.default("link[media=print]"):T.default("link");G.each(function(L,k){var $=new XMLHttpRequest;$.open("GET",T.default(k).attr("href")),$.onreadystatechange=function(){if($.readyState===4&&$.status===200&&(U[L+""]='<style rel="stylesheet" type="text/css">'+$.responseText+"</style>",++h==G.length)){for(var V="",Q=0;Q<G.length;Q++)V+=U[Q+""];var rt=V+T.default(e)[0].outerHTML,R=T.default.extend({},i||{});R.id=r.a.instance.guid(),R.html=rt,R.templateId=p.id,hiwebSocket.send(R)}},$.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,h){i.imageToBase64(T.default(h))})},m.prototype.toPdf=function(e,i,p){var h=this,U=T.default.Deferred(),G=!0;if(this.printPanels.length){var L=A.a.mm.toPt(this.printPanels[0].width),k=A.a.mm.toPt(this.printPanels[0].height),$=T.default.extend({scale:2,width:A.a.pt.toPx(L),x:0,y:0,useCORS:!0},p||{}),V=new ge.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[L,k]}),Q=this.getHtml(e,p);p&&p.isDownload!=null&&(G=p.isDownload),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(Q),rt.html(Q[0]);var R=rt.find(".hiprint-printPanel .hiprint-printPaper").length;T.default(Q).css("position:fixed"),fe.default(Q[0],$).then(function(it){var ut=it.getContext("2d");ut.mozImageSmoothingEnabled=!1,ut.webkitImageSmoothingEnabled=!1,ut.msImageSmoothingEnabled=!1,ut.imageSmoothingEnabled=!1;for(var lt=it.toDataURL("image/jpeg"),ct=0;ct<R;ct++)V.addImage(lt,"JPEG",0,0-ct*k,L,R*k),ct<R-1&&V.addPage();if(G)h.removeTempContainer(),i.indexOf(".pdf")>-1?V.save(i):V.save(i+".pdf");else{h.removeTempContainer();var St=V.output("blob");U.resolve(St)}})}return U.promise()},m.prototype.createTempContainer=function(){this.removeTempContainer(),T.default("body").prepend(T.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},m.prototype.removeTempContainer=function(){T.default(".hiprint_temp_Container").remove()},m.prototype.getTempContainer=function(){return T.default(".hiprint_temp_Container")},m.prototype.svg2canvas=function(e){var i=this;e.find("svg").each(function(p,h){var U=h.parentNode,G=i.parentWidthHeight(U),L=document.createElement("canvas");L.width=G.width,L.height=G.height;var k=L.getContext("2d"),$=new XMLSerializer().serializeToString(h);be.default.fromString(k,$).render(),T.default(h).before(L),U.removeChild(h)})},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:A.a.pt.toPx(parseFloat(e.style.width)),height:A.a.pt.toPx(parseFloat(e.style.height))}},m.prototype.on=function(e,i){A.a.event.clear(e+"_"+this.id),A.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 h=this;p==null&&(p=0);for(var U=e[0].getElementsByTagName("img"),G=!0,L=0;L<U.length;L++){var k=U[L];k.src&&k.src!==window.location.href&&k.src.indexOf("base64")==-1&&(k&&k.naturalWidth!==void 0&&k.naturalWidth!==0&&k.complete||(G=!1))}p++,!G&&p<10?setTimeout(function(){h.loadAllImages(e,i,p)},500):i()},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.update=function(e){var i=this;try{if(e&&bt(e)=="object"){var p=new It(e.panels[0]);i.editingPanel.update(p)}}catch(h){console.log(h),i.onUpdateError&&i.onUpdateError(h)}},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(h){h.updateOption(e,i,!0)}),A.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(R){return R.options.left})),h=Math.max.apply(null,i.map(function(R){return R.options.left+R.options.width})),U=Math.min.apply(null,i.map(function(R){return R.options.top})),G=Math.max.apply(null,i.map(function(R){return R.options.top+R.options.height}));switch(e){case"left":i.forEach(function(R){R.updateSizeAndPositionOptions(p),R.designTarget.css("left",R.options.displayLeft())});break;case"vertical":var L=p+(h-p)/2;i.forEach(function(R){R.updateSizeAndPositionOptions(L-R.options.width/2),R.designTarget.css("left",R.options.displayLeft())});break;case"right":i.forEach(function(R){R.updateSizeAndPositionOptions(h-R.options.width),R.designTarget.css("left",R.options.displayLeft())});break;case"top":i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,U),R.designTarget.css("top",R.options.displayTop())});break;case"horizontal":var k=U+(G-U)/2;i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,k-R.options.height/2),R.designTarget.css("top",R.options.displayTop())});break;case"bottom":i.forEach(function(R){R.updateSizeAndPositionOptions(void 0,G-R.options.height),R.designTarget.css("top",R.options.displayTop())});break;case"distributeHor":var $=[].reduce.call(i,function(R,it){return R+it.options.width},0),V=(h-p-$)/(i.length-1);i.sort(function(R,it){return R.options.left-it.options.left}),i.forEach(function(R,it){[0,i.length-1].includes(it)||(R.updateSizeAndPositionOptions(i[it-1].options.left+i[it-1].options.width+V),R.designTarget.css("left",R.options.displayLeft()))});break;case"distributeVer":var Q=[].reduce.call(i,function(R,it){return R+it.options.height},0),rt=(G-U-Q)/(i.length-1);i.sort(function(R,it){return R.options.top-it.options.top}),i.forEach(function(R,it){[0,i.length-1].includes(it)||(R.updateSizeAndPositionOptions(void 0,i[it-1].options.top+i[it-1].options.height+rt),R.designTarget.css("top",R.options.displayTop()))});break}}},m.prototype.setElsSpace=function(e,i){var p=this.getSelectEls();p.length&&(i?(p.sort(function(h,U){return h.options.left-U.options.left}),p.forEach(function(h,U){U>0&&(h.updateSizeAndPositionOptions(p[U-1].options.left+p[U-1].options.width+e),h.designTarget.css("left",h.options.displayLeft()))})):(p.sort(function(h,U){return h.options.top-U.options.top}),p.forEach(function(h,U){U>0&&(h.updateSizeAndPositionOptions(void 0,p[U-1].options.top+p[U-1].options.height+e),h.designTarget.css("top",h.options.displayTop()))})))},m.prototype.initAutoSave=function(){var e=this;A.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,p.type)}break;case"redo":if(e.historyPos<e.historyList.length-1){e.historyPos+=1;var p=e.historyList[e.historyPos];e.update(p.json,p.type)}break}}),A.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:r.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 yt(m){this.getHtml(m).hiwprint()}function jt(m,e,i){T.default.extend({},m||{}).imgToBase64=!0;var p=new Tt({});p.on("printSuccess",e),p.on("printError",i),p.printByHtml2(this.getHtml(m),m.options)}function At(m){var e=void 0;return m&&m.templates.forEach(function(i,p){var h=T.default.extend({},i.options||{});m.imgToBase64&&(h.imgToBase64=!0),e?e.append(i.template.getHtml(i.data,h).html()):e=i.template.getHtml(i.data,h)}),e}function Et(m){u.a.instance.init(m),u.a.instance.providers.forEach(function(e){e.addElementTypes(l.instance)})}function Bt(m){u.a.instance.register(m)}function Ut(m){m?m&&Object.keys(m).forEach(function(e){if(e=="optionItems"&&m.optionItems&&m.optionItems.length&&u.a.instance.registerItems(m.optionItems),m[e].tabs&&m[e].tabs.length&&(m[e].tabs.forEach(function(h,U){if(h.replace)T.default.extend(u.a.instance[e].tabs[U],h);else{var G=h.options,L=u.a.instance[e].tabs[U].options;G.forEach(function(k){var $=L.findIndex(function(V){return V.name==k.name});$>-1?L[$].hidden=k.hidden:k.after?($=L.findIndex(function(V){return V.name==k.after}),$>-1&&L.splice($+1,0,k)):L.push(k)}),T.default.extend(u.a.instance[e].tabs[U],{name:h.name,options:L})}}),delete m[e].tabs),m[e].supportOptions){var i=m[e].supportOptions,p=u.a.instance[e].supportOptions;i.forEach(function(h){var U=p.findIndex(function(G){return G.name==h.name});U>-1?p[U].hidden=h.hidden:h.after?(U=p.findIndex(function(G){return G.name==h.after}),U>-1&&p.splice(U+1,0,h)):p.push(h)}),T.default.extend(u.a.instance[e].supportOptions,p),delete m[e].supportOptions}T.default.extend(u.a.instance[e],m[e])}):T.default.extend(u.a.instance,HIPRINT_CONFIG)}function Zt(m,e){return l.instance.updateElementType(m,e)}function Lt(m){u.a.instance.clear("printerList"),u.a.instance.on("printerList",m),hiwebSocket.refreshPrinterList()}function zt(m,e,...i){u.a.instance.clear("address_"+m),u.a.instance.on("address_"+m,e),hiwebSocket.getAddress(m,...i)}function Wt(m,e,i){u.a.instance.clear("ippPrinterCallback"),u.a.instance.on("ippPrinterCallback",e),u.a.instance.clear("ippPrinterConnected"),u.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(m)}function Gt(m,e){u.a.instance.clear("ippRequestCallback"),u.a.instance.on("ippRequestCallback",e),hiwebSocket.ippRequest(m)}d.d(J,"register",function(){return Bt}),d.d(J,"init",function(){return Et}),d.d(J,"setConfig",function(){return Ut}),d.d(J,"updateElementType",function(){return Zt}),d.d(J,"hiwebSocket",function(){return hiwebSocket}),d.d(J,"refreshPrinterList",function(){return Lt}),d.d(J,"getAddress",function(){return zt}),d.d(J,"ippPrint",function(){return Wt}),d.d(J,"ippRequest",function(){return Gt}),d.d(J,"ElementTypes",function(){return l.instance}),d.d(J,"PrintElementTypeManager",function(){return ot}),d.d(J,"PrintElementTypeGroup",function(){return pt}),d.d(J,"PrintTemplate",function(){return Tt}),d.d(J,"print",function(){return yt}),d.d(J,"print2",function(){return jt}),d.d(J,"getHtml",function(){return At}),T.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var m=u.a.instance.getHooks("ready");m&&m.forEach(e=>{e.run({p:u,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let je=Pe(Ct);(function(K){K.fn.hiwprint=function(f){var l=document.getElementById("hiwprint_iframe");l&&l.parentNode.removeChild(l);var u=K.extend({},K.fn.hiwprint.defaults,f),r=this,b=K('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),w="";u.importCss&&(u.styleHandler&&(w+=u.styleHandler()),K("link[media=print]").length>0&&K("link[media=print]").each(function(){K(this).attr("href").indexOf("print-lock.css")>=0&&(w+='<link rel="stylesheet" type="text/css" media="print" href="'+K(this).attr("href")+'">',w+='<link rel="stylesheet" type="text/css" href="'+K(this).attr("href")+'">')})),b[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+w+"</head><body></body></html>",b[0].onload=function(){var N=b[0].contentWindow||b[0].contentDocument;N.document&&(N=N.document),b.attr("srcdoc")||N.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+w+"</head><body></body></html>"),u.printContainer?N.body.innerHTML=r[0].outerHTML:N.body.innerHTML=r.html(),A(N,function(){J(b[0],u)})},b.appendTo("body")},K.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function J(f,l){try{if(f.focus(),W()||d())try{f.contentWindow.document.execCommand("print",!1,null)}catch{f.contentWindow.print()}else f.contentWindow.print();l.callback&&l.callback()}catch(u){console.log(u)}}function d(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function W(){return!d()&&!!window.StyleMedia}function A(f,l,u){u===void 0&&(u=0);for(var r=f.getElementsByTagName("img"),b=!0,w=0;w<r.length;w++){var N=r[w];N.src&&N.src!==window.location.href&&N.src.indexOf("base64")==-1&&(!N||typeof N.naturalWidth=="undefined"||N.naturalWidth===0||!N.complete)&&(N.complete||(b=!1))}u++,!b&&u<10?setTimeout(function(){A(f,l,u)},500):l()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.4",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,panel:{supportOptions:[{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:"paperNumberDisabled",hidden:!1},{name:"paperNumberFormat",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:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"optionsGroup",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:"\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:"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:"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:"optionsGroup",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:"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:"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:"optionsGroup",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:"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:"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:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",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:"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:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1}],default:{height:90,width:90}}}})();const Se=function(K){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(K)},Te=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=Ct;exports.autoConnect=Se;exports.defaultElementTypeProvider=je;exports.disAutoConnect=Te;exports.hiprint=Ct;
|