@sv-print/hiprint 0.1.15 → 0.1.16
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 +138 -138
- package/dist/index.mjs +3347 -3332
- package/dist/index.umd.js +138 -138
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Be=require("jquery"),Ue=require("jsbarcode"),Ze=require("socket.io-client"),Le=require("jspdf"),ze=require("html2canvas"),We=require("canvg"),Bt=tt=>tt&&typeof tt=="object"&&"default"in tt?tt:{default:tt},j=Bt(Be),Xt=Bt(Ue),_t=Bt(ze),ke=Bt(We);var Ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Re={exports:{}};(function(tt,F){(function(m){tt.exports=m(j.default)})(function(m){function G(r){var u=r.parent();r.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),u.before(r).remove()}function U(r){var u=r.parent(),h=u.find(".minicolors-panel"),P=r.data("minicolors-settings");!r.data("minicolors-initialized")||r.prop("disabled")||u.hasClass("minicolors-inline")||u.hasClass("minicolors-focus")||(v(),u.addClass("minicolors-focus"),h.animate?h.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(r.get(0))}):(h.show(),P.show&&P.show.call(r.get(0))))}function v(){m(".minicolors-focus").each(function(){var r=m(this),u=r.find(".minicolors-input"),h=r.find(".minicolors-panel"),P=u.data("minicolors-settings");h.animate?h.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(u.get(0)),r.removeClass("minicolors-focus")}):(h.hide(),P.hide&&P.hide.call(u.get(0)),r.removeClass("minicolors-focus"))})}function p(r,u,h){var P,d,g,A,L,W=r.parents(".minicolors").find(".minicolors-input"),J=W.data("minicolors-settings"),Q=r.find("[class$=-picker]"),V=r.offset().left,Y=r.offset().top,$=Math.round(u.pageX-V),k=Math.round(u.pageY-Y),it=h?J.animationSpeed:0;u.originalEvent.changedTouches&&($=u.originalEvent.changedTouches[0].pageX-V,k=u.originalEvent.changedTouches[0].pageY-Y),$<0&&($=0),k<0&&(k=0),$>r.width()&&($=r.width()),k>r.height()&&(k=r.height()),r.parent().is(".minicolors-slider-wheel")&&Q.parent().is(".minicolors-grid")&&(P=75-$,d=75-k,g=Math.sqrt(P*P+d*d),(A=Math.atan2(d,P))<0&&(A+=2*Math.PI),75<g&&($=(g=75)-75*Math.cos(A),k=75-75*Math.sin(A)),$=Math.round($),k=Math.round(k)),L={top:k+"px"},r.is(".minicolors-grid")&&(L.left=$+"px"),Q.animate?Q.stop(!0).animate(L,it,J.animationEasing,function(){I(W,r)}):(Q.css(L),I(W,r))}function I(r,u){function h(dt,Pt){var jt,St;return dt.length&&Pt?(jt=dt.offset().left,St=dt.offset().top,{x:jt-Pt.offset().left+dt.outerWidth()/2,y:St-Pt.offset().top+dt.outerHeight()/2}):null}var P,d,g,A,L,W,J,Q=r.val(),V=r.attr("data-opacity"),Y=r.parent(),$=r.data("minicolors-settings"),k=Y.find(".minicolors-input-swatch"),it=Y.find(".minicolors-grid"),st=Y.find(".minicolors-slider"),pt=Y.find(".minicolors-opacity-slider"),ct=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]"),ht=h(ct,it),Mt=h(bt,st),ft=h(vt,pt);if(u.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch($.control){case"wheel":A=it.width()/2-ht.x,L=it.height()/2-ht.y,W=Math.sqrt(A*A+L*L),(J=Math.atan2(L,A))<0&&(J+=2*Math.PI),75<W&&(W=75,ht.x=69-75*Math.cos(J),ht.y=69-75*Math.sin(J)),d=B(W/.75,0,100),Q=a({h:P=B(180*J/Math.PI,0,360),s:d,b:g=B(100-Math.floor(Mt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:d,b:100}));break;case"saturation":Q=a({h:P=B(parseInt(ht.x*(360/it.width()),10),0,360),s:d=B(100-Math.floor(Mt.y*(100/st.height())),0,100),b:g=B(100-Math.floor(ht.y*(100/it.height())),0,100)}),st.css("backgroundColor",a({h:P,s:100,b:g})),Y.find(".minicolors-grid-inner").css("opacity",d/100);break;case"brightness":Q=a({h:P=B(parseInt(ht.x*(360/it.width()),10),0,360),s:d=B(100-Math.floor(ht.y*(100/it.height())),0,100),b:g=B(100-Math.floor(Mt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:d,b:100})),Y.find(".minicolors-grid-inner").css("opacity",1-g/100);break;default:Q=a({h:P=B(360-parseInt(Mt.y*(360/st.height()),10),0,360),s:d=B(Math.floor(ht.x*(100/it.width())),0,100),b:g=B(100-Math.floor(ht.y*(100/it.height())),0,100)}),it.css("backgroundColor",a({h:P,s:100,b:100}))}l(r,Q,V=$.opacity?parseFloat(1-ft.y/pt.height()).toFixed(2):1)}else k.find("span").css({backgroundColor:Q,opacity:String(V)}),D(r,Q,V)}function l(r,u,h){var P,d=r.parent(),g=r.data("minicolors-settings"),A=d.find(".minicolors-input-swatch");g.opacity&&r.attr("data-opacity",h),u=g.format==="rgb"?(P=C(u)?x(u,!0):f(s(u,!0)),h=r.attr("data-opacity")===""?1:B(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),!isNaN(h)&&g.opacity||(h=1),r.minicolors("rgbObject").a<=1&&P&&g.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(h)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(C(u)&&(u=M(u)),E(u,g.letterCase)),r.val(u),A.find("span").css({backgroundColor:u,opacity:String(h)}),D(r,u,h)}function H(r,u){var h,P,d,g,A,L,W,J,Q,V,Y=r.parent(),$=r.data("minicolors-settings"),k=Y.find(".minicolors-input-swatch"),it=Y.find(".minicolors-grid"),st=Y.find(".minicolors-slider"),pt=Y.find(".minicolors-opacity-slider"),ct=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]");switch(C(r.val())?(h=M(r.val()),(A=B(parseFloat(T(r.val())).toFixed(2),0,1))&&r.attr("data-opacity",A)):h=E(s(r.val(),!0),$.letterCase),P=function(ht){var Mt=function(ft){var dt={h:0,s:0,b:0},Pt=Math.min(ft.r,ft.g,ft.b),jt=Math.max(ft.r,ft.g,ft.b),St=jt-Pt;return dt.b=jt,dt.s=jt!==0?255*St/jt:0,dt.s!==0?ft.r===jt?dt.h=(ft.g-ft.b)/St:ft.g===jt?dt.h=2+(ft.b-ft.r)/St:dt.h=4+(ft.r-ft.g)/St:dt.h=-1,dt.h*=60,dt.h<0&&(dt.h+=360),dt.s*=.39215686274509803,dt.b*=.39215686274509803,dt}(f(ht));return Mt.s===0&&(Mt.h=360),Mt}(h=h||E(w($.defaultValue,!0),$.letterCase)),g=$.keywords?m.map($.keywords.split(","),function(ht){return ht.toLowerCase().trim()}):[],L=r.val()!==""&&-1<m.inArray(r.val().toLowerCase(),g)?E(r.val()):C(r.val())?x(r.val()):h,u||r.val(L),$.opacity&&(d=r.attr("data-opacity")===""?1:B(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),isNaN(d)&&(d=1),r.attr("data-opacity",d),k.find("span").css("opacity",String(d)),J=B(pt.height()-pt.height()*d,0,pt.height()),vt.css("top",J+"px")),r.val().toLowerCase()==="transparent"&&k.find("span").css("opacity",String(0)),k.find("span").css("backgroundColor",h),$.control){case"wheel":Q=B(Math.ceil(.75*P.s),0,it.height()/2),V=P.h*Math.PI/180,W=B(75-Math.cos(V)*Q,0,it.width()),J=B(75-Math.sin(V)*Q,0,it.height()),ct.css({top:J+"px",left:W+"px"}),J=150-P.b/(100/it.height()),h===""&&(J=0),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100}));break;case"saturation":W=B(5*P.h/12,0,150),J=B(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ct.css({top:J+"px",left:W+"px"}),J=B(st.height()-P.s*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:100,b:P.b})),Y.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":W=B(5*P.h/12,0,150),J=B(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),ct.css({top:J+"px",left:W+"px"}),J=B(st.height()-P.b*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100})),Y.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:W=B(Math.ceil(P.s/(100/it.width())),0,it.width()),J=B(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ct.css({top:J+"px",left:W+"px"}),J=B(st.height()-P.h/(360/st.height()),0,st.height()),bt.css("top",J+"px"),it.css("backgroundColor",a({h:P.h,s:100,b:100}))}r.data("minicolors-initialized")&&D(r,L,d)}function D(r,u,h){var P,d,g,A=r.data("minicolors-settings"),L=r.data("minicolors-lastChange");if(!L||L.value!==u||L.opacity!==h){if(r.data("minicolors-lastChange",{value:u,opacity:h}),A.swatches&&A.swatches.length!==0){for(P=C(u)?x(u,!0):f(u),d=-1,g=0;g<A.swatches.length;++g)if(P.r===A.swatches[g].r&&P.g===A.swatches[g].g&&P.b===A.swatches[g].b&&P.a===A.swatches[g].a){d=g;break}r.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),d!==-1&&r.parent().find(".minicolors-swatches .minicolors-swatch").eq(g).addClass("selected")}A.change&&(A.changeDelay?(clearTimeout(r.data("minicolors-changeTimeout")),r.data("minicolors-changeTimeout",setTimeout(function(){A.change.call(r.get(0),u,h)},A.changeDelay))):A.change.call(r.get(0),u,h)),r.trigger("change").trigger("input")}}function E(r,u){return u==="uppercase"?r.toUpperCase():r.toLowerCase()}function s(r,u){return!(r=r.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||r.length!==3&&r.length!==6?"":(r.length===3&&u&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),"#"+r)}function x(r,u){var h=r.replace(/[^\d,.]/g,"").split(",");return h[0]=B(parseInt(h[0],10),0,255),h[1]=B(parseInt(h[1],10),0,255),h[2]=B(parseInt(h[2],10),0,255),h[3]!==void 0&&(h[3]=B(parseFloat(h[3],10),0,1)),u?h[3]!==void 0?{r:h[0],g:h[1],b:h[2],a:h[3]}:{r:h[0],g:h[1],b:h[2]}:h[3]!==void 0&&h[3]<=1?"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+h[3]+")":"rgb("+h[0]+", "+h[1]+", "+h[2]+")"}function w(r,u){return C(r)?x(r):s(r,u)}function B(r,u,h){return r<u&&(r=u),h<r&&(r=h),r}function C(r){var u=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!u||u.length!==4)}function T(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 M(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 S(r){var u=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return m.each(u,function(h,P){P.length===1&&(u[h]="0"+P)}),"#"+u.join("")}function a(r){return S((u=r,g={},A=Math.round(u.h),L=Math.round(255*u.s/100),W=Math.round(255*u.b/100),L===0?g.r=g.g=g.b=W:(d=A%60*((h=W)-(P=(255-L)*W/255))/60,A===360&&(A=0),A<60?(g.r=h,g.b=P,g.g=P+d):A<120?(g.g=h,g.b=P,g.r=h-d):A<180?(g.g=h,g.r=P,g.b=P+d):A<240?(g.b=h,g.r=P,g.g=h-d):A<300?(g.b=h,g.g=P,g.r=P+d):A<360?(g.r=h,g.g=P,g.b=h-d):(g.r=0,g.g=0,g.b=0)),{r:Math.round(g.r),g:Math.round(g.g),b:Math.round(g.b)}));var u,h,P,d,g,A,L,W}function f(r){return{r:(r=parseInt(-1<r.indexOf("#")?r.substring(1):r,16))>>16,g:(65280&r)>>8,b:255&r}}m.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:[]}},m.extend(m.fn,{minicolors:function(r,u){switch(r){case"destroy":return m(this).each(function(){G(m(this))}),m(this);case"hide":return v(),m(this);case"opacity":return u===void 0?m(this).attr("data-opacity"):(m(this).each(function(){H(m(this).attr("data-opacity",u))}),m(this));case"rgbObject":return function(h){var P,d=m(h).attr("data-opacity");{var g;P=C(m(h).val())?x(m(h).val(),!0):(g=s(m(h).val(),!0),f(g))}return P?(d!==void 0&&m.extend(P,{a:parseFloat(d)}),P):null}(m(this));case"rgbString":case"rgbaString":return function(h,P){var d,g=m(h).attr("data-opacity");{var A;d=C(m(h).val())?x(m(h).val(),!0):(A=s(m(h).val(),!0),f(A))}return d?(g===void 0&&(g=1),P?"rgba("+d.r+", "+d.g+", "+d.b+", "+parseFloat(g)+")":"rgb("+d.r+", "+d.g+", "+d.b+")"):null}(m(this),r==="rgbaString");case"settings":return u===void 0?m(this).data("minicolors-settings"):(m(this).each(function(){var h=m(this).data("minicolors-settings")||{};G(m(this)),m(this).minicolors(m.extend(!0,h,u))}),m(this));case"show":return U(m(this).eq(0)),m(this);case"value":return u===void 0?m(this).val():(m(this).each(function(){typeof u=="object"&&u!==null?(u.opacity!==void 0&&m(this).attr("data-opacity",B(u.opacity,0,1)),u.color&&m(this).val(u.color)):m(this).val(u),H(m(this))}),m(this));default:return r!=="create"&&(u=r),m(this).each(function(){(function(h,P){var d,g,A,L,W,J,Q,V=m('<div class="minicolors" />'),Y=m.minicolors.defaults;if(!h.data("minicolors-initialized")){if(P=m.extend(!0,{},Y,P),V.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&m.each(P.position.split(" "),function(){V.addClass("minicolors-position-"+this)}),g=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",h.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",g).wrap(V).after('<div class="minicolors-panel minicolors-slider-'+P.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),P.inline||(h.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),h.next(".minicolors-input-swatch").on("click",function($){$.preventDefault(),h.trigger("focus")})),(J=h.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(J.addClass("minicolors-with-swatches"),A=m('<ul class="minicolors-swatches"></ul>').appendTo(J),Q=0;Q<P.swatches.length;++Q)L=typeof P.swatches[Q]=="object"?(d=P.swatches[Q].name,P.swatches[Q].color):(d="",P.swatches[Q]),L=C(W=L)?x(L,!0):f(s(L,!0)),m('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",d).appendTo(A).data("swatch-color",W).find(".minicolors-swatch-color").css({backgroundColor:W!=="transparent"?S(L):"transparent",opacity:String(L.a)}),P.swatches[Q]=L;P.inline&&h.parent().addClass("minicolors-inline"),H(h,!1),h.data("minicolors-initialized",!0)}})(m(this),u)}),m(this)}}}),m([document]).on("mousedown.minicolors touchstart.minicolors",function(r){m(r.target).parents().add(r.target).hasClass("minicolors")||v()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(r){var u=m(this);r.preventDefault(),m(r.delegateTarget).data("minicolors-target",u),p(u,r,!0)}).on("mousemove.minicolors touchmove.minicolors",function(r){var u=m(r.delegateTarget).data("minicolors-target");u&&p(u,r)}).on("mouseup.minicolors touchend.minicolors",function(){m(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(r){r.preventDefault();var u=m(this),h=u.parents(".minicolors").find(".minicolors-input"),P=u.data("swatch-color");l(h,P,T(P)),H(h)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(r){var u=m(this).parent().find(".minicolors-input");r.preventDefault(),U(u)}).on("focus.minicolors",".minicolors-input",function(){var r=m(this);r.data("minicolors-initialized")&&U(r)}).on("blur.minicolors",".minicolors-input",function(){var r,u,h,P,d,g=m(this),A=g.data("minicolors-settings");g.data("minicolors-initialized")&&(r=A.keywords?m.map(A.keywords.split(","),function(L){return L.toLowerCase().trim()}):[],d=g.val()!==""&&-1<m.inArray(g.val().toLowerCase(),r)?g.val():(h=C(g.val())?x(g.val(),!0):(u=s(g.val(),!0))?f(u):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?x("rgba("+h.r+","+h.g+","+h.b+","+g.attr("data-opacity")+")"):x("rgb("+h.r+","+h.g+","+h.b+")"):S(h),P=A.opacity?g.attr("data-opacity"):1,d.toLowerCase()==="transparent"&&(P=0),g.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),g.val(d),g.val()===""&&g.val(w(A.defaultValue,!0)),g.val(E(g.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(r){var u=m(this);if(u.data("minicolors-initialized"))switch(r.which){case 9:v();break;case 13:case 27:v(),u.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var r=m(this);r.data("minicolors-initialized")&&H(r,!0)}).on("paste.minicolors",".minicolors-input",function(){var r=m(this);r.data("minicolors-initialized")&&setTimeout(function(){H(r,!0)},1)})})})(Re);(function(){function tt(a){this.mode=m.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(var f=0,r=this.data.length;f<r;f++){var u=[],h=this.data.charCodeAt(f);h>65536?(u[0]=240|(h&1835008)>>>18,u[1]=128|(h&258048)>>>12,u[2]=128|(h&4032)>>>6,u[3]=128|h&63):h>2048?(u[0]=224|(h&61440)>>>12,u[1]=128|(h&4032)>>>6,u[2]=128|h&63):h>128?(u[0]=192|(h&1984)>>>6,u[1]=128|h&63):u[0]=h,this.parsedData.push(u)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}tt.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var f=0,r=this.parsedData.length;f<r;f++)a.put(this.parsedData[f],8)}};function F(a,f){this.typeNumber=a,this.errorCorrectLevel=f,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}F.prototype={addData:function(a){var f=new tt(a);this.dataList.push(f),this.dataCache=null},isDark:function(a,f){if(a<0||this.moduleCount<=a||f<0||this.moduleCount<=f)throw new Error(a+","+f);return this.modules[a][f]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,f){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 u=0;u<this.moduleCount;u++)this.modules[r][u]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(a,f),this.typeNumber>=7&&this.setupTypeNumber(a),this.dataCache==null&&(this.dataCache=F.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,f)},setupPositionProbePattern:function(a,f){for(var r=-1;r<=7;r++)if(!(a+r<=-1||this.moduleCount<=a+r))for(var u=-1;u<=7;u++)f+u<=-1||this.moduleCount<=f+u||(0<=r&&r<=6&&(u==0||u==6)||0<=u&&u<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=u&&u<=4?this.modules[a+r][f+u]=!0:this.modules[a+r][f+u]=!1)},getBestMaskPattern:function(){for(var a=0,f=0,r=0;r<8;r++){this.makeImpl(!0,r);var u=v.getLostPoint(this);(r==0||a>u)&&(a=u,f=r)}return f},createMovieClip:function(a,f,r){var u=a.createEmptyMovieClip(f,r),h=1;this.make();for(var P=0;P<this.modules.length;P++)for(var d=P*h,g=0;g<this.modules[P].length;g++){var A=g*h,L=this.modules[P][g];L&&(u.beginFill(0,100),u.moveTo(A,d),u.lineTo(A+h,d),u.lineTo(A+h,d+h),u.lineTo(A,d+h),u.endFill())}return u},setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)this.modules[a][6]==null&&(this.modules[a][6]=a%2==0);for(var f=8;f<this.moduleCount-8;f++)this.modules[6][f]==null&&(this.modules[6][f]=f%2==0)},setupPositionAdjustPattern:function(){for(var a=v.getPatternPosition(this.typeNumber),f=0;f<a.length;f++)for(var r=0;r<a.length;r++){var u=a[f],h=a[r];if(this.modules[u][h]==null)for(var P=-2;P<=2;P++)for(var d=-2;d<=2;d++)P==-2||P==2||d==-2||d==2||P==0&&d==0?this.modules[u+P][h+d]=!0:this.modules[u+P][h+d]=!1}},setupTypeNumber:function(a){for(var f=v.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var u=!a&&(f>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=u}for(var r=0;r<18;r++){var u=!a&&(f>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=u}},setupTypeInfo:function(a,f){for(var r=this.errorCorrectLevel<<3|f,u=v.getBCHTypeInfo(r),h=0;h<15;h++){var P=!a&&(u>>h&1)==1;h<6?this.modules[h][8]=P:h<8?this.modules[h+1][8]=P:this.modules[this.moduleCount-15+h][8]=P}for(var h=0;h<15;h++){var P=!a&&(u>>h&1)==1;h<8?this.modules[8][this.moduleCount-h-1]=P:h<9?this.modules[8][15-h-1+1]=P:this.modules[8][15-h-1]=P}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,f){for(var r=-1,u=this.moduleCount-1,h=7,P=0,d=this.moduleCount-1;d>0;d-=2)for(d==6&&d--;;){for(var g=0;g<2;g++)if(this.modules[u][d-g]==null){var A=!1;P<a.length&&(A=(a[P]>>>h&1)==1);var L=v.getMask(f,u,d-g);L&&(A=!A),this.modules[u][d-g]=A,h--,h==-1&&(P++,h=7)}if(u+=r,u<0||this.moduleCount<=u){u-=r,r=-r;break}}}},F.PAD0=236,F.PAD1=17,F.createData=function(a,f,r){for(var u=H.getRSBlocks(a,f),h=new D,P=0;P<r.length;P++){var d=r[P];h.put(d.mode,4),h.put(d.getLength(),v.getLengthInBits(d.mode,a)),d.write(h)}for(var g=0,P=0;P<u.length;P++)g+=u[P].dataCount;if(h.getLengthInBits()>g*8)throw new Error("code length overflow. ("+h.getLengthInBits()+">"+g*8+")");for(h.getLengthInBits()+4<=g*8&&h.put(0,4);h.getLengthInBits()%8!=0;)h.putBit(!1);for(;!(h.getLengthInBits()>=g*8||(h.put(F.PAD0,8),h.getLengthInBits()>=g*8));)h.put(F.PAD1,8);return F.createBytes(h,u)},F.createBytes=function(a,f){for(var r=0,u=0,h=0,P=new Array(f.length),d=new Array(f.length),g=0;g<f.length;g++){var A=f[g].dataCount,L=f[g].totalCount-A;u=Math.max(u,A),h=Math.max(h,L),P[g]=new Array(A);for(var W=0;W<P[g].length;W++)P[g][W]=255&a.buffer[W+r];r+=A;var J=v.getErrorCorrectPolynomial(L),Q=new l(P[g],J.getLength()-1),V=Q.mod(J);d[g]=new Array(J.getLength()-1);for(var W=0;W<d[g].length;W++){var Y=W+V.getLength()-d[g].length;d[g][W]=Y>=0?V.get(Y):0}}for(var $=0,W=0;W<f.length;W++)$+=f[W].totalCount;for(var k=new Array($),it=0,W=0;W<u;W++)for(var g=0;g<f.length;g++)W<P[g].length&&(k[it++]=P[g][W]);for(var W=0;W<h;W++)for(var g=0;g<f.length;g++)W<d[g].length&&(k[it++]=d[g][W]);return k};for(var m={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},U={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},v={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(a){for(var f=a<<10;v.getBCHDigit(f)-v.getBCHDigit(v.G15)>=0;)f^=v.G15<<v.getBCHDigit(f)-v.getBCHDigit(v.G15);return(a<<10|f)^v.G15_MASK},getBCHTypeNumber:function(a){for(var f=a<<12;v.getBCHDigit(f)-v.getBCHDigit(v.G18)>=0;)f^=v.G18<<v.getBCHDigit(f)-v.getBCHDigit(v.G18);return a<<12|f},getBCHDigit:function(a){for(var f=0;a!=0;)f++,a>>>=1;return f},getPatternPosition:function(a){return v.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,f,r){switch(a){case U.PATTERN000:return(f+r)%2==0;case U.PATTERN001:return f%2==0;case U.PATTERN010:return r%3==0;case U.PATTERN011:return(f+r)%3==0;case U.PATTERN100:return(Math.floor(f/2)+Math.floor(r/3))%2==0;case U.PATTERN101:return f*r%2+f*r%3==0;case U.PATTERN110:return(f*r%2+f*r%3)%2==0;case U.PATTERN111:return(f*r%3+(f+r)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var f=new l([1],0),r=0;r<a;r++)f=f.multiply(new l([1,p.gexp(r)],0));return f},getLengthInBits:function(a,f){if(1<=f&&f<10)switch(a){case m.MODE_NUMBER:return 10;case m.MODE_ALPHA_NUM:return 9;case m.MODE_8BIT_BYTE:return 8;case m.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(f<27)switch(a){case m.MODE_NUMBER:return 12;case m.MODE_ALPHA_NUM:return 11;case m.MODE_8BIT_BYTE:return 16;case m.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else if(f<41)switch(a){case m.MODE_NUMBER:return 14;case m.MODE_ALPHA_NUM:return 13;case m.MODE_8BIT_BYTE:return 16;case m.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}else throw new Error("type:"+f)},getLostPoint:function(a){for(var f=a.getModuleCount(),r=0,u=0;u<f;u++)for(var h=0;h<f;h++){for(var P=0,d=a.isDark(u,h),g=-1;g<=1;g++)if(!(u+g<0||f<=u+g))for(var A=-1;A<=1;A++)h+A<0||f<=h+A||g==0&&A==0||d==a.isDark(u+g,h+A)&&P++;P>5&&(r+=3+P-5)}for(var u=0;u<f-1;u++)for(var h=0;h<f-1;h++){var L=0;a.isDark(u,h)&&L++,a.isDark(u+1,h)&&L++,a.isDark(u,h+1)&&L++,a.isDark(u+1,h+1)&&L++,(L==0||L==4)&&(r+=3)}for(var u=0;u<f;u++)for(var h=0;h<f-6;h++)a.isDark(u,h)&&!a.isDark(u,h+1)&&a.isDark(u,h+2)&&a.isDark(u,h+3)&&a.isDark(u,h+4)&&!a.isDark(u,h+5)&&a.isDark(u,h+6)&&(r+=40);for(var h=0;h<f;h++)for(var u=0;u<f-6;u++)a.isDark(u,h)&&!a.isDark(u+1,h)&&a.isDark(u+2,h)&&a.isDark(u+3,h)&&a.isDark(u+4,h)&&!a.isDark(u+5,h)&&a.isDark(u+6,h)&&(r+=40);for(var W=0,h=0;h<f;h++)for(var u=0;u<f;u++)a.isDark(u,h)&&W++;var J=Math.abs(100*W/f/f-50)/5;return r+=J*10,r}},p={glog:function(a){if(a<1)throw new Error("glog("+a+")");return p.LOG_TABLE[a]},gexp:function(a){for(;a<0;)a+=255;for(;a>=256;)a-=255;return p.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},I=0;I<8;I++)p.EXP_TABLE[I]=1<<I;for(var I=8;I<256;I++)p.EXP_TABLE[I]=p.EXP_TABLE[I-4]^p.EXP_TABLE[I-5]^p.EXP_TABLE[I-6]^p.EXP_TABLE[I-8];for(var I=0;I<255;I++)p.LOG_TABLE[p.EXP_TABLE[I]]=I;function l(a,f){if(a.length==null)throw new Error(a.length+"/"+f);for(var r=0;r<a.length&&a[r]==0;)r++;this.num=new Array(a.length-r+f);for(var u=0;u<a.length-r;u++)this.num[u]=a[u+r]}l.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var f=new Array(this.getLength()+a.getLength()-1),r=0;r<this.getLength();r++)for(var u=0;u<a.getLength();u++)f[r+u]^=p.gexp(p.glog(this.get(r))+p.glog(a.get(u)));return new l(f,0)},mod:function(a){if(this.getLength()-a.getLength()<0)return this;for(var f=p.glog(this.get(0))-p.glog(a.get(0)),r=new Array(this.getLength()),u=0;u<this.getLength();u++)r[u]=this.get(u);for(var u=0;u<a.getLength();u++)r[u]^=p.gexp(p.glog(a.get(u))+f);return new l(r,0).mod(a)}};function H(a,f){this.totalCount=a,this.dataCount=f}H.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],H.getRSBlocks=function(a,f){var r=H.getRsBlockTable(a,f);if(r==null)throw new Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+f);for(var u=r.length/3,h=[],P=0;P<u;P++)for(var d=r[P*3+0],g=r[P*3+1],A=r[P*3+2],L=0;L<d;L++)h.push(new H(g,A));return h},H.getRsBlockTable=function(a,f){switch(f){case G.L:return H.RS_BLOCK_TABLE[(a-1)*4+0];case G.M:return H.RS_BLOCK_TABLE[(a-1)*4+1];case G.Q:return H.RS_BLOCK_TABLE[(a-1)*4+2];case G.H:return H.RS_BLOCK_TABLE[(a-1)*4+3];default:return}};function D(){this.buffer=[],this.length=0}D.prototype={get:function(a){var f=Math.floor(a/8);return(this.buffer[f]>>>7-a%8&1)==1},put:function(a,f){for(var r=0;r<f;r++)this.putBit((a>>>f-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(a){var f=Math.floor(this.length/8);this.buffer.length<=f&&this.buffer.push(0),a&&(this.buffer[f]|=128>>>this.length%8),this.length++}};var E=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function s(){return typeof CanvasRenderingContext2D<"u"}function x(){var a=!1,f=navigator.userAgent;if(/android/i.test(f)){a=!0;var r=f.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(a=parseFloat(r[1]))}return a}var w=function(){var a=function(f,r){this._el=f,this._htOption=r};return a.prototype.draw=function(f){var r=this._htOption,u=this._el,h=f.getModuleCount();Math.floor(r.width/h),Math.floor(r.height/h),this.clear();function P(W,J){var Q=document.createElementNS("http://www.w3.org/2000/svg",W);for(var V in J)J.hasOwnProperty(V)&&Q.setAttribute(V,J[V]);return Q}var d=P("svg",{viewBox:"0 0 "+String(h)+" "+String(h),width:"100%",height:"100%",fill:r.colorLight});d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),u.appendChild(d),d.appendChild(P("rect",{fill:r.colorLight,width:"100%",height:"100%"})),d.appendChild(P("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var g=0;g<h;g++)for(var A=0;A<h;A++)if(f.isDark(g,A)){var L=P("use",{x:String(A),y:String(g)});L.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),d.appendChild(L)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),B=document.documentElement.tagName.toLowerCase()==="svg",C=B?w:s()?function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var f=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,d,g,A,L,W,J,Q,V){if("nodeName"in P&&/img/i.test(P.nodeName))for(var Y=arguments.length-1;Y>=1;Y--)arguments[Y]=arguments[Y]*f;else typeof Q>"u"&&(arguments[1]*=f,arguments[2]*=f,arguments[3]*=f,arguments[4]*=f);r.apply(this,arguments)}}function u(P,d){var g=this;if(g._fFail=d,g._fSuccess=P,g._bSupportDataURI===null){var A=document.createElement("img"),L=function(){g._bSupportDataURI=!1,g._fFail&&g._fFail.call(g)},W=function(){g._bSupportDataURI=!0,g._fSuccess&&g._fSuccess.call(g)};A.onabort=L,A.onerror=L,A.onload=W,A.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else g._bSupportDataURI===!0&&g._fSuccess?g._fSuccess.call(g):g._bSupportDataURI===!1&&g._fFail&&g._fFail.call(g)}var h=function(P,d){this._bIsPainted=!1,this._android=x(),this._htOption=d,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=d.width,this._elCanvas.height=d.height,P.appendChild(this._elCanvas),this._el=P,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return h.prototype.draw=function(P){var d=this._elImage,g=this._oContext,A=this._htOption,L=P.getModuleCount(),W=A.width/L,J=A.height/L,Q=Math.round(W),V=Math.round(J);d.style.display="none",this.clear();for(var Y=0;Y<L;Y++)for(var $=0;$<L;$++){var k=P.isDark(Y,$),it=$*W,st=Y*J;g.strokeStyle=k?A.colorDark:A.colorLight,g.lineWidth=1,g.fillStyle=k?A.colorDark:A.colorLight,g.fillRect(it,st,W,J),g.strokeRect(Math.floor(it)+.5,Math.floor(st)+.5,Q,V),g.strokeRect(Math.ceil(it)-.5,Math.ceil(st)-.5,Q,V)}this._bIsPainted=!0},h.prototype.makeImage=function(){this._bIsPainted&&u.call(this,a)},h.prototype.isPainted=function(){return this._bIsPainted},h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},h.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},h}():function(){var a=function(f,r){this._el=f,this._htOption=r};return a.prototype.draw=function(f){for(var r=this._htOption,u=this._el,h=f.getModuleCount(),P=Math.floor(r.width/h),d=Math.floor(r.height/h),g=['<table style="border:0;border-collapse:collapse;">'],A=0;A<h;A++){g.push("<tr>");for(var L=0;L<h;L++)g.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+d+"px;background-color:"+(f.isDark(A,L)?r.colorDark:r.colorLight)+';"></td>');g.push("</tr>")}g.push("</table>"),u.innerHTML=g.join("");var W=u.childNodes[0],J=(r.width-W.offsetWidth)/2,Q=(r.height-W.offsetHeight)/2;J>0&&Q>0&&(W.style.margin=Q+"px "+J+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();function T(a,f){for(var r=1,u=M(a),h=0,P=E.length;h<=P;h++){var d=0;switch(f){case G.L:d=E[h][0];break;case G.M:d=E[h][1];break;case G.Q:d=E[h][2];break;case G.H:d=E[h][3];break}if(u<=d)break;r++}if(r>E.length)throw new Error("Too long data");return r}function M(a){var f=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return f.length+(f.length!=a?3:0)}var S=function(a,f){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:G.H},typeof f=="string"&&(f={text:f}),f)for(var r in f)this._htOption[r]=f[r];typeof a=="string"&&(a=document.getElementById(a)),this._htOption.useSVG&&(C=w),this._android=x(),this._el=a,this._oQRCode=null,this._oDrawing=new C(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};S.prototype.makeCode=function(a){this._oQRCode=new F(T(a,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(a),this._oQRCode.make(),this._el.title=a,this._oDrawing.draw(this._oQRCode),this.makeImage()},S.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},S.prototype.clear=function(){this._oDrawing.clear()},S.CorrectLevel=G,window.QRCode=S})();function Je(tt,F="YYYY-MM-DD"){if(!tt)return null;typeof tt=="number"&&(tt=new Date(tt));const m=tt.getFullYear(),G=tt.getMonth(),U=tt.getDate(),v=tt.getHours(),p=v%12===0?12:v%12,I=tt.getMinutes(),l=tt.getSeconds(),H=E=>`0${E}`.slice(-2),D={YYYY:m,MM:H(G+1),MMMM:`${G+1}\u6708`,M:G+1,DD:H(U),D:U,HH:H(v),H:v,hh:H(p),h:p,mm:H(I),m:I,ss:H(l),s:l};return F.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,E=>String(D[E]))}const Fe={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let xt={};function Kt(tt){const{id:F,watch:m,content:G,container:U,width:v,height:p,textAlign:I,textBaseline:l,fontSize:H,fontFamily:D,fillStyle:E,rotate:s,timestamp:x,format:w,zIndex:B}=tt;xt[F]={wmMo:null,wmTimer:null};const C=document.createElement("canvas");C.setAttribute("width",`${v}px`),C.setAttribute("height",`${p}px`);let T=typeof U=="string"?document.querySelector(U):U;const M=C.getContext("2d");M.textAlign=I,M.textBaseline=l,M.font=`${H} ${D}`,M.fillStyle=E,M.translate(v/2,p/2),M.rotate(-(Math.PI/180)*s),M.fillText(`${G}`,0,0),x&&M.fillText(`${Je(new Date,w)}`,0,parseInt(H)+5);let S=T.querySelector(".__vm__"+F);const a=S||document.createElement("div"),r=`position:absolute;user-select:none;top:0;left:0;${T.getAttribute("style")};z-index:${B};pointer-events:none !important;background-repeat:repeat;background-image:url('${C.toDataURL()}')`;if(a.setAttribute("style",r),a.classList.add("__vm__"+F),S||T.insertBefore(a,T.children[1]),m){const u=window.MutationObserver||window.WebKitMutationObserver;u&&(xt[F].wmMo=new u(h=>{let P=h.some(d=>d.target.className==T.className&&d.type=="attributes");S=T.querySelector(".__vm__"+F),(S&&S.getAttribute("style")!==r||!S||P)&&(xt[F].wmMo.disconnect(),xt[F].wmMo=null,delete xt[F].wmMo,Kt(tt))}),xt[F].wmMo.observe(T,{attributes:!0,subtree:!0,childList:!0}))}if(w){let u=864e5;w.includes("s")?u=1e3:w.includes("m")?u=1e3*60:(w.includes("h")||w.includes("H"))&&(u=1e3*60*60),xt[F].wmTimer=window.setTimeout(()=>{a.style.bottom="0"},u)}}const $t=function(tt){const{id:F,watch:m,container:G}=tt;if(m){let U=typeof G=="string"?document.querySelector(G):G;xt[F]&&(xt[F].wmMo&&xt[F].wmMo.disconnect(),xt[F].wmMo=null,xt[F].wmTimer&&window.clearTimeout(xt[F].wmTimer),xt[F].wmTimer=null,delete xt[F]);const v=U.querySelector(".__vm__"+F);v&&v.parentNode.removeChild(v)}},Ve=function(tt){let F=Object.assign({},Fe,tt);$t(F),Kt(F)},Yt={createWatermark:Ve,destroyWatermark:$t},Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2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SIzNy41IiB5MT0iLTEwIiB4Mj0iMzcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1OS41IiB5MT0iLTEwIiB4Mj0iNTkuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var qt={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Be=require("jquery"),Ue=require("jsbarcode"),Ze=require("socket.io-client"),Le=require("jspdf"),ze=require("html2canvas"),We=require("canvg"),Bt=tt=>tt&&typeof tt=="object"&&"default"in tt?tt:{default:tt},S=Bt(Be),Xt=Bt(Ue),_t=Bt(ze),ke=Bt(We);var Ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Re={exports:{}};(function(tt,V){(function(f){tt.exports=f(S.default)})(function(f){function G(r){var d=r.parent();r.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),d.before(r).remove()}function B(r){var d=r.parent(),h=d.find(".minicolors-panel"),P=r.data("minicolors-settings");!r.data("minicolors-initialized")||r.prop("disabled")||d.hasClass("minicolors-inline")||d.hasClass("minicolors-focus")||(y(),d.addClass("minicolors-focus"),h.animate?h.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(r.get(0))}):(h.show(),P.show&&P.show.call(r.get(0))))}function y(){f(".minicolors-focus").each(function(){var r=f(this),d=r.find(".minicolors-input"),h=r.find(".minicolors-panel"),P=d.data("minicolors-settings");h.animate?h.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(d.get(0)),r.removeClass("minicolors-focus")}):(h.hide(),P.hide&&P.hide.call(d.get(0)),r.removeClass("minicolors-focus"))})}function p(r,d,h){var P,u,g,A,L,W=r.parents(".minicolors").find(".minicolors-input"),J=W.data("minicolors-settings"),Y=r.find("[class$=-picker]"),F=r.offset().left,O=r.offset().top,$=Math.round(d.pageX-F),k=Math.round(d.pageY-O),it=h?J.animationSpeed:0;d.originalEvent.changedTouches&&($=d.originalEvent.changedTouches[0].pageX-F,k=d.originalEvent.changedTouches[0].pageY-O),$<0&&($=0),k<0&&(k=0),$>r.width()&&($=r.width()),k>r.height()&&(k=r.height()),r.parent().is(".minicolors-slider-wheel")&&Y.parent().is(".minicolors-grid")&&(P=75-$,u=75-k,g=Math.sqrt(P*P+u*u),(A=Math.atan2(u,P))<0&&(A+=2*Math.PI),75<g&&($=(g=75)-75*Math.cos(A),k=75-75*Math.sin(A)),$=Math.round($),k=Math.round(k)),L={top:k+"px"},r.is(".minicolors-grid")&&(L.left=$+"px"),Y.animate?Y.stop(!0).animate(L,it,J.animationEasing,function(){I(W,r)}):(Y.css(L),I(W,r))}function I(r,d){function h(gt,Pt){var jt,St;return gt.length&&Pt?(jt=gt.offset().left,St=gt.offset().top,{x:jt-Pt.offset().left+gt.outerWidth()/2,y:St-Pt.offset().top+gt.outerHeight()/2}):null}var P,u,g,A,L,W,J,Y=r.val(),F=r.attr("data-opacity"),O=r.parent(),$=r.data("minicolors-settings"),k=O.find(".minicolors-input-swatch"),it=O.find(".minicolors-grid"),st=O.find(".minicolors-slider"),pt=O.find(".minicolors-opacity-slider"),It=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]"),dt=h(It,it),yt=h(bt,st),mt=h(vt,pt);if(d.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch($.control){case"wheel":A=it.width()/2-dt.x,L=it.height()/2-dt.y,W=Math.sqrt(A*A+L*L),(J=Math.atan2(L,A))<0&&(J+=2*Math.PI),75<W&&(W=75,dt.x=69-75*Math.cos(J),dt.y=69-75*Math.sin(J)),u=E(W/.75,0,100),Y=a({h:P=E(180*J/Math.PI,0,360),s:u,b:g=E(100-Math.floor(yt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:u,b:100}));break;case"saturation":Y=a({h:P=E(parseInt(dt.x*(360/it.width()),10),0,360),s:u=E(100-Math.floor(yt.y*(100/st.height())),0,100),b:g=E(100-Math.floor(dt.y*(100/it.height())),0,100)}),st.css("backgroundColor",a({h:P,s:100,b:g})),O.find(".minicolors-grid-inner").css("opacity",u/100);break;case"brightness":Y=a({h:P=E(parseInt(dt.x*(360/it.width()),10),0,360),s:u=E(100-Math.floor(dt.y*(100/it.height())),0,100),b:g=E(100-Math.floor(yt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:P,s:u,b:100})),O.find(".minicolors-grid-inner").css("opacity",1-g/100);break;default:Y=a({h:P=E(360-parseInt(yt.y*(360/st.height()),10),0,360),s:u=E(Math.floor(dt.x*(100/it.width())),0,100),b:g=E(100-Math.floor(dt.y*(100/it.height())),0,100)}),it.css("backgroundColor",a({h:P,s:100,b:100}))}l(r,Y,F=$.opacity?parseFloat(1-mt.y/pt.height()).toFixed(2):1)}else k.find("span").css({backgroundColor:Y,opacity:String(F)}),D(r,Y,F)}function l(r,d,h){var P,u=r.parent(),g=r.data("minicolors-settings"),A=u.find(".minicolors-input-swatch");g.opacity&&r.attr("data-opacity",h),d=g.format==="rgb"?(P=U(d)?x(d,!0):m(s(d,!0)),h=r.attr("data-opacity")===""?1:E(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),!isNaN(h)&&g.opacity||(h=1),r.minicolors("rgbObject").a<=1&&P&&g.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(h)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(U(d)&&(d=v(d)),N(d,g.letterCase)),r.val(d),A.find("span").css({backgroundColor:d,opacity:String(h)}),D(r,d,h)}function H(r,d){var h,P,u,g,A,L,W,J,Y,F,O=r.parent(),$=r.data("minicolors-settings"),k=O.find(".minicolors-input-swatch"),it=O.find(".minicolors-grid"),st=O.find(".minicolors-slider"),pt=O.find(".minicolors-opacity-slider"),It=it.find("[class$=-picker]"),bt=st.find("[class$=-picker]"),vt=pt.find("[class$=-picker]");switch(U(r.val())?(h=v(r.val()),(A=E(parseFloat(w(r.val())).toFixed(2),0,1))&&r.attr("data-opacity",A)):h=N(s(r.val(),!0),$.letterCase),P=function(dt){var yt=function(mt){var gt={h:0,s:0,b:0},Pt=Math.min(mt.r,mt.g,mt.b),jt=Math.max(mt.r,mt.g,mt.b),St=jt-Pt;return gt.b=jt,gt.s=jt!==0?255*St/jt:0,gt.s!==0?mt.r===jt?gt.h=(mt.g-mt.b)/St:mt.g===jt?gt.h=2+(mt.b-mt.r)/St:gt.h=4+(mt.r-mt.g)/St:gt.h=-1,gt.h*=60,gt.h<0&&(gt.h+=360),gt.s*=.39215686274509803,gt.b*=.39215686274509803,gt}(m(dt));return yt.s===0&&(yt.h=360),yt}(h=h||N(T($.defaultValue,!0),$.letterCase)),g=$.keywords?f.map($.keywords.split(","),function(dt){return dt.toLowerCase().trim()}):[],L=r.val()!==""&&-1<f.inArray(r.val().toLowerCase(),g)?N(r.val()):U(r.val())?x(r.val()):h,d||r.val(L),$.opacity&&(u=r.attr("data-opacity")===""?1:E(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),isNaN(u)&&(u=1),r.attr("data-opacity",u),k.find("span").css("opacity",String(u)),J=E(pt.height()-pt.height()*u,0,pt.height()),vt.css("top",J+"px")),r.val().toLowerCase()==="transparent"&&k.find("span").css("opacity",String(0)),k.find("span").css("backgroundColor",h),$.control){case"wheel":Y=E(Math.ceil(.75*P.s),0,it.height()/2),F=P.h*Math.PI/180,W=E(75-Math.cos(F)*Y,0,it.width()),J=E(75-Math.sin(F)*Y,0,it.height()),It.css({top:J+"px",left:W+"px"}),J=150-P.b/(100/it.height()),h===""&&(J=0),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100}));break;case"saturation":W=E(5*P.h/12,0,150),J=E(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.s*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:100,b:P.b})),O.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":W=E(5*P.h/12,0,150),J=E(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.b*(st.height()/100),0,st.height()),bt.css("top",J+"px"),st.css("backgroundColor",a({h:P.h,s:P.s,b:100})),O.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:W=E(Math.ceil(P.s/(100/it.width())),0,it.width()),J=E(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),It.css({top:J+"px",left:W+"px"}),J=E(st.height()-P.h/(360/st.height()),0,st.height()),bt.css("top",J+"px"),it.css("backgroundColor",a({h:P.h,s:100,b:100}))}r.data("minicolors-initialized")&&D(r,L,u)}function D(r,d,h){var P,u,g,A=r.data("minicolors-settings"),L=r.data("minicolors-lastChange");if(!L||L.value!==d||L.opacity!==h){if(r.data("minicolors-lastChange",{value:d,opacity:h}),A.swatches&&A.swatches.length!==0){for(P=U(d)?x(d,!0):m(d),u=-1,g=0;g<A.swatches.length;++g)if(P.r===A.swatches[g].r&&P.g===A.swatches[g].g&&P.b===A.swatches[g].b&&P.a===A.swatches[g].a){u=g;break}r.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),u!==-1&&r.parent().find(".minicolors-swatches .minicolors-swatch").eq(g).addClass("selected")}A.change&&(A.changeDelay?(clearTimeout(r.data("minicolors-changeTimeout")),r.data("minicolors-changeTimeout",setTimeout(function(){A.change.call(r.get(0),d,h)},A.changeDelay))):A.change.call(r.get(0),d,h)),r.trigger("change").trigger("input")}}function N(r,d){return d==="uppercase"?r.toUpperCase():r.toLowerCase()}function s(r,d){return!(r=r.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||r.length!==3&&r.length!==6?"":(r.length===3&&d&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),"#"+r)}function x(r,d){var h=r.replace(/[^\d,.]/g,"").split(",");return h[0]=E(parseInt(h[0],10),0,255),h[1]=E(parseInt(h[1],10),0,255),h[2]=E(parseInt(h[2],10),0,255),h[3]!==void 0&&(h[3]=E(parseFloat(h[3],10),0,1)),d?h[3]!==void 0?{r:h[0],g:h[1],b:h[2],a:h[3]}:{r:h[0],g:h[1],b:h[2]}:h[3]!==void 0&&h[3]<=1?"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+h[3]+")":"rgb("+h[0]+", "+h[1]+", "+h[2]+")"}function T(r,d){return U(r)?x(r):s(r,d)}function E(r,d,h){return r<d&&(r=d),h<r&&(r=h),r}function U(r){var d=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!d||d.length!==4)}function w(r){return(r=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&r.length===6?r[4]:"1"}function v(r){return(r=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&r.length===4?"#"+("0"+parseInt(r[1],10).toString(16)).slice(-2)+("0"+parseInt(r[2],10).toString(16)).slice(-2)+("0"+parseInt(r[3],10).toString(16)).slice(-2):""}function j(r){var d=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return f.each(d,function(h,P){P.length===1&&(d[h]="0"+P)}),"#"+d.join("")}function a(r){return j((d=r,g={},A=Math.round(d.h),L=Math.round(255*d.s/100),W=Math.round(255*d.b/100),L===0?g.r=g.g=g.b=W:(u=A%60*((h=W)-(P=(255-L)*W/255))/60,A===360&&(A=0),A<60?(g.r=h,g.b=P,g.g=P+u):A<120?(g.g=h,g.b=P,g.r=h-u):A<180?(g.g=h,g.r=P,g.b=P+u):A<240?(g.b=h,g.r=P,g.g=h-u):A<300?(g.b=h,g.g=P,g.r=P+u):A<360?(g.r=h,g.g=P,g.b=h-u):(g.r=0,g.g=0,g.b=0)),{r:Math.round(g.r),g:Math.round(g.g),b:Math.round(g.b)}));var d,h,P,u,g,A,L,W}function m(r){return{r:(r=parseInt(-1<r.indexOf("#")?r.substring(1):r,16))>>16,g:(65280&r)>>8,b:255&r}}f.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},f.extend(f.fn,{minicolors:function(r,d){switch(r){case"destroy":return f(this).each(function(){G(f(this))}),f(this);case"hide":return y(),f(this);case"opacity":return d===void 0?f(this).attr("data-opacity"):(f(this).each(function(){H(f(this).attr("data-opacity",d))}),f(this));case"rgbObject":return function(h){var P,u=f(h).attr("data-opacity");{var g;P=U(f(h).val())?x(f(h).val(),!0):(g=s(f(h).val(),!0),m(g))}return P?(u!==void 0&&f.extend(P,{a:parseFloat(u)}),P):null}(f(this));case"rgbString":case"rgbaString":return function(h,P){var u,g=f(h).attr("data-opacity");{var A;u=U(f(h).val())?x(f(h).val(),!0):(A=s(f(h).val(),!0),m(A))}return u?(g===void 0&&(g=1),P?"rgba("+u.r+", "+u.g+", "+u.b+", "+parseFloat(g)+")":"rgb("+u.r+", "+u.g+", "+u.b+")"):null}(f(this),r==="rgbaString");case"settings":return d===void 0?f(this).data("minicolors-settings"):(f(this).each(function(){var h=f(this).data("minicolors-settings")||{};G(f(this)),f(this).minicolors(f.extend(!0,h,d))}),f(this));case"show":return B(f(this).eq(0)),f(this);case"value":return d===void 0?f(this).val():(f(this).each(function(){typeof d=="object"&&d!==null?(d.opacity!==void 0&&f(this).attr("data-opacity",E(d.opacity,0,1)),d.color&&f(this).val(d.color)):f(this).val(d),H(f(this))}),f(this));default:return r!=="create"&&(d=r),f(this).each(function(){(function(h,P){var u,g,A,L,W,J,Y,F=f('<div class="minicolors" />'),O=f.minicolors.defaults;if(!h.data("minicolors-initialized")){if(P=f.extend(!0,{},O,P),F.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&f.each(P.position.split(" "),function(){F.addClass("minicolors-position-"+this)}),g=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",h.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",g).wrap(F).after('<div class="minicolors-panel minicolors-slider-'+P.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),P.inline||(h.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),h.next(".minicolors-input-swatch").on("click",function($){$.preventDefault(),h.trigger("focus")})),(J=h.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(J.addClass("minicolors-with-swatches"),A=f('<ul class="minicolors-swatches"></ul>').appendTo(J),Y=0;Y<P.swatches.length;++Y)L=typeof P.swatches[Y]=="object"?(u=P.swatches[Y].name,P.swatches[Y].color):(u="",P.swatches[Y]),L=U(W=L)?x(L,!0):m(s(L,!0)),f('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",u).appendTo(A).data("swatch-color",W).find(".minicolors-swatch-color").css({backgroundColor:W!=="transparent"?j(L):"transparent",opacity:String(L.a)}),P.swatches[Y]=L;P.inline&&h.parent().addClass("minicolors-inline"),H(h,!1),h.data("minicolors-initialized",!0)}})(f(this),d)}),f(this)}}}),f([document]).on("mousedown.minicolors touchstart.minicolors",function(r){f(r.target).parents().add(r.target).hasClass("minicolors")||y()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(r){var d=f(this);r.preventDefault(),f(r.delegateTarget).data("minicolors-target",d),p(d,r,!0)}).on("mousemove.minicolors touchmove.minicolors",function(r){var d=f(r.delegateTarget).data("minicolors-target");d&&p(d,r)}).on("mouseup.minicolors touchend.minicolors",function(){f(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(r){r.preventDefault();var d=f(this),h=d.parents(".minicolors").find(".minicolors-input"),P=d.data("swatch-color");l(h,P,w(P)),H(h)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(r){var d=f(this).parent().find(".minicolors-input");r.preventDefault(),B(d)}).on("focus.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&B(r)}).on("blur.minicolors",".minicolors-input",function(){var r,d,h,P,u,g=f(this),A=g.data("minicolors-settings");g.data("minicolors-initialized")&&(r=A.keywords?f.map(A.keywords.split(","),function(L){return L.toLowerCase().trim()}):[],u=g.val()!==""&&-1<f.inArray(g.val().toLowerCase(),r)?g.val():(h=U(g.val())?x(g.val(),!0):(d=s(g.val(),!0))?m(d):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?x("rgba("+h.r+","+h.g+","+h.b+","+g.attr("data-opacity")+")"):x("rgb("+h.r+","+h.g+","+h.b+")"):j(h),P=A.opacity?g.attr("data-opacity"):1,u.toLowerCase()==="transparent"&&(P=0),g.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),g.val(u),g.val()===""&&g.val(T(A.defaultValue,!0)),g.val(N(g.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(r){var d=f(this);if(d.data("minicolors-initialized"))switch(r.which){case 9:y();break;case 13:case 27:y(),d.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&H(r,!0)}).on("paste.minicolors",".minicolors-input",function(){var r=f(this);r.data("minicolors-initialized")&&setTimeout(function(){H(r,!0)},1)})})})(Re);(function(){function tt(a){this.mode=f.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(var m=0,r=this.data.length;m<r;m++){var d=[],h=this.data.charCodeAt(m);h>65536?(d[0]=240|(h&1835008)>>>18,d[1]=128|(h&258048)>>>12,d[2]=128|(h&4032)>>>6,d[3]=128|h&63):h>2048?(d[0]=224|(h&61440)>>>12,d[1]=128|(h&4032)>>>6,d[2]=128|h&63):h>128?(d[0]=192|(h&1984)>>>6,d[1]=128|h&63):d[0]=h,this.parsedData.push(d)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}tt.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var m=0,r=this.parsedData.length;m<r;m++)a.put(this.parsedData[m],8)}};function V(a,m){this.typeNumber=a,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}V.prototype={addData:function(a){var m=new tt(a);this.dataList.push(m),this.dataCache=null},isDark:function(a,m){if(a<0||this.moduleCount<=a||m<0||this.moduleCount<=m)throw new Error(a+","+m);return this.modules[a][m]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,m){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++)this.modules[r][d]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(a,m),this.typeNumber>=7&&this.setupTypeNumber(a),this.dataCache==null&&(this.dataCache=V.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,m)},setupPositionProbePattern:function(a,m){for(var r=-1;r<=7;r++)if(!(a+r<=-1||this.moduleCount<=a+r))for(var d=-1;d<=7;d++)m+d<=-1||this.moduleCount<=m+d||(0<=r&&r<=6&&(d==0||d==6)||0<=d&&d<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=d&&d<=4?this.modules[a+r][m+d]=!0:this.modules[a+r][m+d]=!1)},getBestMaskPattern:function(){for(var a=0,m=0,r=0;r<8;r++){this.makeImpl(!0,r);var d=y.getLostPoint(this);(r==0||a>d)&&(a=d,m=r)}return m},createMovieClip:function(a,m,r){var d=a.createEmptyMovieClip(m,r),h=1;this.make();for(var P=0;P<this.modules.length;P++)for(var u=P*h,g=0;g<this.modules[P].length;g++){var A=g*h,L=this.modules[P][g];L&&(d.beginFill(0,100),d.moveTo(A,u),d.lineTo(A+h,u),d.lineTo(A+h,u+h),d.lineTo(A,u+h),d.endFill())}return d},setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)this.modules[a][6]==null&&(this.modules[a][6]=a%2==0);for(var m=8;m<this.moduleCount-8;m++)this.modules[6][m]==null&&(this.modules[6][m]=m%2==0)},setupPositionAdjustPattern:function(){for(var a=y.getPatternPosition(this.typeNumber),m=0;m<a.length;m++)for(var r=0;r<a.length;r++){var d=a[m],h=a[r];if(this.modules[d][h]==null)for(var P=-2;P<=2;P++)for(var u=-2;u<=2;u++)P==-2||P==2||u==-2||u==2||P==0&&u==0?this.modules[d+P][h+u]=!0:this.modules[d+P][h+u]=!1}},setupTypeNumber:function(a){for(var m=y.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var d=!a&&(m>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=d}for(var r=0;r<18;r++){var d=!a&&(m>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=d}},setupTypeInfo:function(a,m){for(var r=this.errorCorrectLevel<<3|m,d=y.getBCHTypeInfo(r),h=0;h<15;h++){var P=!a&&(d>>h&1)==1;h<6?this.modules[h][8]=P:h<8?this.modules[h+1][8]=P:this.modules[this.moduleCount-15+h][8]=P}for(var h=0;h<15;h++){var P=!a&&(d>>h&1)==1;h<8?this.modules[8][this.moduleCount-h-1]=P:h<9?this.modules[8][15-h-1+1]=P:this.modules[8][15-h-1]=P}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,m){for(var r=-1,d=this.moduleCount-1,h=7,P=0,u=this.moduleCount-1;u>0;u-=2)for(u==6&&u--;;){for(var g=0;g<2;g++)if(this.modules[d][u-g]==null){var A=!1;P<a.length&&(A=(a[P]>>>h&1)==1);var L=y.getMask(m,d,u-g);L&&(A=!A),this.modules[d][u-g]=A,h--,h==-1&&(P++,h=7)}if(d+=r,d<0||this.moduleCount<=d){d-=r,r=-r;break}}}},V.PAD0=236,V.PAD1=17,V.createData=function(a,m,r){for(var d=H.getRSBlocks(a,m),h=new D,P=0;P<r.length;P++){var u=r[P];h.put(u.mode,4),h.put(u.getLength(),y.getLengthInBits(u.mode,a)),u.write(h)}for(var g=0,P=0;P<d.length;P++)g+=d[P].dataCount;if(h.getLengthInBits()>g*8)throw new Error("code length overflow. ("+h.getLengthInBits()+">"+g*8+")");for(h.getLengthInBits()+4<=g*8&&h.put(0,4);h.getLengthInBits()%8!=0;)h.putBit(!1);for(;!(h.getLengthInBits()>=g*8||(h.put(V.PAD0,8),h.getLengthInBits()>=g*8));)h.put(V.PAD1,8);return V.createBytes(h,d)},V.createBytes=function(a,m){for(var r=0,d=0,h=0,P=new Array(m.length),u=new Array(m.length),g=0;g<m.length;g++){var A=m[g].dataCount,L=m[g].totalCount-A;d=Math.max(d,A),h=Math.max(h,L),P[g]=new Array(A);for(var W=0;W<P[g].length;W++)P[g][W]=255&a.buffer[W+r];r+=A;var J=y.getErrorCorrectPolynomial(L),Y=new l(P[g],J.getLength()-1),F=Y.mod(J);u[g]=new Array(J.getLength()-1);for(var W=0;W<u[g].length;W++){var O=W+F.getLength()-u[g].length;u[g][W]=O>=0?F.get(O):0}}for(var $=0,W=0;W<m.length;W++)$+=m[W].totalCount;for(var k=new Array($),it=0,W=0;W<d;W++)for(var g=0;g<m.length;g++)W<P[g].length&&(k[it++]=P[g][W]);for(var W=0;W<h;W++)for(var g=0;g<m.length;g++)W<u[g].length&&(k[it++]=u[g][W]);return k};for(var f={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},G={L:1,M:0,Q:3,H:2},B={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(a){for(var m=a<<10;y.getBCHDigit(m)-y.getBCHDigit(y.G15)>=0;)m^=y.G15<<y.getBCHDigit(m)-y.getBCHDigit(y.G15);return(a<<10|m)^y.G15_MASK},getBCHTypeNumber:function(a){for(var m=a<<12;y.getBCHDigit(m)-y.getBCHDigit(y.G18)>=0;)m^=y.G18<<y.getBCHDigit(m)-y.getBCHDigit(y.G18);return a<<12|m},getBCHDigit:function(a){for(var m=0;a!=0;)m++,a>>>=1;return m},getPatternPosition:function(a){return y.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,m,r){switch(a){case B.PATTERN000:return(m+r)%2==0;case B.PATTERN001:return m%2==0;case B.PATTERN010:return r%3==0;case B.PATTERN011:return(m+r)%3==0;case B.PATTERN100:return(Math.floor(m/2)+Math.floor(r/3))%2==0;case B.PATTERN101:return m*r%2+m*r%3==0;case B.PATTERN110:return(m*r%2+m*r%3)%2==0;case B.PATTERN111:return(m*r%3+(m+r)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var m=new l([1],0),r=0;r<a;r++)m=m.multiply(new l([1,p.gexp(r)],0));return m},getLengthInBits:function(a,m){if(1<=m&&m<10)switch(a){case f.MODE_NUMBER:return 10;case f.MODE_ALPHA_NUM:return 9;case f.MODE_8BIT_BYTE:return 8;case f.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(m<27)switch(a){case f.MODE_NUMBER:return 12;case f.MODE_ALPHA_NUM:return 11;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else if(m<41)switch(a){case f.MODE_NUMBER:return 14;case f.MODE_ALPHA_NUM:return 13;case f.MODE_8BIT_BYTE:return 16;case f.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}else throw new Error("type:"+m)},getLostPoint:function(a){for(var m=a.getModuleCount(),r=0,d=0;d<m;d++)for(var h=0;h<m;h++){for(var P=0,u=a.isDark(d,h),g=-1;g<=1;g++)if(!(d+g<0||m<=d+g))for(var A=-1;A<=1;A++)h+A<0||m<=h+A||g==0&&A==0||u==a.isDark(d+g,h+A)&&P++;P>5&&(r+=3+P-5)}for(var d=0;d<m-1;d++)for(var h=0;h<m-1;h++){var L=0;a.isDark(d,h)&&L++,a.isDark(d+1,h)&&L++,a.isDark(d,h+1)&&L++,a.isDark(d+1,h+1)&&L++,(L==0||L==4)&&(r+=3)}for(var d=0;d<m;d++)for(var h=0;h<m-6;h++)a.isDark(d,h)&&!a.isDark(d,h+1)&&a.isDark(d,h+2)&&a.isDark(d,h+3)&&a.isDark(d,h+4)&&!a.isDark(d,h+5)&&a.isDark(d,h+6)&&(r+=40);for(var h=0;h<m;h++)for(var d=0;d<m-6;d++)a.isDark(d,h)&&!a.isDark(d+1,h)&&a.isDark(d+2,h)&&a.isDark(d+3,h)&&a.isDark(d+4,h)&&!a.isDark(d+5,h)&&a.isDark(d+6,h)&&(r+=40);for(var W=0,h=0;h<m;h++)for(var d=0;d<m;d++)a.isDark(d,h)&&W++;var J=Math.abs(100*W/m/m-50)/5;return r+=J*10,r}},p={glog:function(a){if(a<1)throw new Error("glog("+a+")");return p.LOG_TABLE[a]},gexp:function(a){for(;a<0;)a+=255;for(;a>=256;)a-=255;return p.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},I=0;I<8;I++)p.EXP_TABLE[I]=1<<I;for(var I=8;I<256;I++)p.EXP_TABLE[I]=p.EXP_TABLE[I-4]^p.EXP_TABLE[I-5]^p.EXP_TABLE[I-6]^p.EXP_TABLE[I-8];for(var I=0;I<255;I++)p.LOG_TABLE[p.EXP_TABLE[I]]=I;function l(a,m){if(a.length==null)throw new Error(a.length+"/"+m);for(var r=0;r<a.length&&a[r]==0;)r++;this.num=new Array(a.length-r+m);for(var d=0;d<a.length-r;d++)this.num[d]=a[d+r]}l.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var m=new Array(this.getLength()+a.getLength()-1),r=0;r<this.getLength();r++)for(var d=0;d<a.getLength();d++)m[r+d]^=p.gexp(p.glog(this.get(r))+p.glog(a.get(d)));return new l(m,0)},mod:function(a){if(this.getLength()-a.getLength()<0)return this;for(var m=p.glog(this.get(0))-p.glog(a.get(0)),r=new Array(this.getLength()),d=0;d<this.getLength();d++)r[d]=this.get(d);for(var d=0;d<a.getLength();d++)r[d]^=p.gexp(p.glog(a.get(d))+m);return new l(r,0).mod(a)}};function H(a,m){this.totalCount=a,this.dataCount=m}H.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],H.getRSBlocks=function(a,m){var r=H.getRsBlockTable(a,m);if(r==null)throw new Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+m);for(var d=r.length/3,h=[],P=0;P<d;P++)for(var u=r[P*3+0],g=r[P*3+1],A=r[P*3+2],L=0;L<u;L++)h.push(new H(g,A));return h},H.getRsBlockTable=function(a,m){switch(m){case G.L:return H.RS_BLOCK_TABLE[(a-1)*4+0];case G.M:return H.RS_BLOCK_TABLE[(a-1)*4+1];case G.Q:return H.RS_BLOCK_TABLE[(a-1)*4+2];case G.H:return H.RS_BLOCK_TABLE[(a-1)*4+3];default:return}};function D(){this.buffer=[],this.length=0}D.prototype={get:function(a){var m=Math.floor(a/8);return(this.buffer[m]>>>7-a%8&1)==1},put:function(a,m){for(var r=0;r<m;r++)this.putBit((a>>>m-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(a){var m=Math.floor(this.length/8);this.buffer.length<=m&&this.buffer.push(0),a&&(this.buffer[m]|=128>>>this.length%8),this.length++}};var N=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function s(){return typeof CanvasRenderingContext2D<"u"}function x(){var a=!1,m=navigator.userAgent;if(/android/i.test(m)){a=!0;var r=m.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(a=parseFloat(r[1]))}return a}var T=function(){var a=function(m,r){this._el=m,this._htOption=r};return a.prototype.draw=function(m){var r=this._htOption,d=this._el,h=m.getModuleCount();Math.floor(r.width/h),Math.floor(r.height/h),this.clear();function P(W,J){var Y=document.createElementNS("http://www.w3.org/2000/svg",W);for(var F in J)J.hasOwnProperty(F)&&Y.setAttribute(F,J[F]);return Y}var u=P("svg",{viewBox:"0 0 "+String(h)+" "+String(h),width:"100%",height:"100%",fill:r.colorLight});u.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),d.appendChild(u),u.appendChild(P("rect",{fill:r.colorLight,width:"100%",height:"100%"})),u.appendChild(P("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var g=0;g<h;g++)for(var A=0;A<h;A++)if(m.isDark(g,A)){var L=P("use",{x:String(A),y:String(g)});L.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),u.appendChild(L)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),E=document.documentElement.tagName.toLowerCase()==="svg",U=E?T:s()?function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var m=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,u,g,A,L,W,J,Y,F){if("nodeName"in P&&/img/i.test(P.nodeName))for(var O=arguments.length-1;O>=1;O--)arguments[O]=arguments[O]*m;else typeof Y>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);r.apply(this,arguments)}}function d(P,u){var g=this;if(g._fFail=u,g._fSuccess=P,g._bSupportDataURI===null){var A=document.createElement("img"),L=function(){g._bSupportDataURI=!1,g._fFail&&g._fFail.call(g)},W=function(){g._bSupportDataURI=!0,g._fSuccess&&g._fSuccess.call(g)};A.onabort=L,A.onerror=L,A.onload=W,A.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else g._bSupportDataURI===!0&&g._fSuccess?g._fSuccess.call(g):g._bSupportDataURI===!1&&g._fFail&&g._fFail.call(g)}var h=function(P,u){this._bIsPainted=!1,this._android=x(),this._htOption=u,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=u.width,this._elCanvas.height=u.height,P.appendChild(this._elCanvas),this._el=P,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return h.prototype.draw=function(P){var u=this._elImage,g=this._oContext,A=this._htOption,L=P.getModuleCount(),W=A.width/L,J=A.height/L,Y=Math.round(W),F=Math.round(J);u.style.display="none",this.clear();for(var O=0;O<L;O++)for(var $=0;$<L;$++){var k=P.isDark(O,$),it=$*W,st=O*J;g.strokeStyle=k?A.colorDark:A.colorLight,g.lineWidth=1,g.fillStyle=k?A.colorDark:A.colorLight,g.fillRect(it,st,W,J),g.strokeRect(Math.floor(it)+.5,Math.floor(st)+.5,Y,F),g.strokeRect(Math.ceil(it)-.5,Math.ceil(st)-.5,Y,F)}this._bIsPainted=!0},h.prototype.makeImage=function(){this._bIsPainted&&d.call(this,a)},h.prototype.isPainted=function(){return this._bIsPainted},h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},h.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},h}():function(){var a=function(m,r){this._el=m,this._htOption=r};return a.prototype.draw=function(m){for(var r=this._htOption,d=this._el,h=m.getModuleCount(),P=Math.floor(r.width/h),u=Math.floor(r.height/h),g=['<table style="border:0;border-collapse:collapse;">'],A=0;A<h;A++){g.push("<tr>");for(var L=0;L<h;L++)g.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+u+"px;background-color:"+(m.isDark(A,L)?r.colorDark:r.colorLight)+';"></td>');g.push("</tr>")}g.push("</table>"),d.innerHTML=g.join("");var W=d.childNodes[0],J=(r.width-W.offsetWidth)/2,Y=(r.height-W.offsetHeight)/2;J>0&&Y>0&&(W.style.margin=Y+"px "+J+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();function w(a,m){for(var r=1,d=v(a),h=0,P=N.length;h<=P;h++){var u=0;switch(m){case G.L:u=N[h][0];break;case G.M:u=N[h][1];break;case G.Q:u=N[h][2];break;case G.H:u=N[h][3];break}if(d<=u)break;r++}if(r>N.length)throw new Error("Too long data");return r}function v(a){var m=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=a?3:0)}var j=function(a,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:G.H},typeof m=="string"&&(m={text:m}),m)for(var r in m)this._htOption[r]=m[r];typeof a=="string"&&(a=document.getElementById(a)),this._htOption.useSVG&&(U=T),this._android=x(),this._el=a,this._oQRCode=null,this._oDrawing=new U(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};j.prototype.makeCode=function(a){this._oQRCode=new V(w(a,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(a),this._oQRCode.make(),this._el.title=a,this._oDrawing.draw(this._oQRCode),this.makeImage()},j.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},j.prototype.clear=function(){this._oDrawing.clear()},j.CorrectLevel=G,window.QRCode=j})();function Je(tt,V="YYYY-MM-DD"){if(!tt)return null;typeof tt=="number"&&(tt=new Date(tt));const f=tt.getFullYear(),G=tt.getMonth(),B=tt.getDate(),y=tt.getHours(),p=y%12===0?12:y%12,I=tt.getMinutes(),l=tt.getSeconds(),H=N=>`0${N}`.slice(-2),D={YYYY:f,MM:H(G+1),MMMM:`${G+1}\u6708`,M:G+1,DD:H(B),D:B,HH:H(y),H:y,hh:H(p),h:p,mm:H(I),m:I,ss:H(l),s:l};return V.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,N=>String(D[N]))}const Fe={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let xt={};function Kt(tt){const{id:V,watch:f,content:G,container:B,width:y,height:p,textAlign:I,textBaseline:l,fontSize:H,fontFamily:D,fillStyle:N,rotate:s,timestamp:x,format:T,zIndex:E}=tt;xt[V]={wmMo:null,wmTimer:null};const U=document.createElement("canvas");U.setAttribute("width",`${y}px`),U.setAttribute("height",`${p}px`);let w=typeof B=="string"?document.querySelector(B):B;const v=U.getContext("2d");v.textAlign=I,v.textBaseline=l,v.font=`${H} ${D}`,v.fillStyle=N,v.translate(y/2,p/2),v.rotate(-(Math.PI/180)*s),v.fillText(`${G}`,0,0),x&&v.fillText(`${Je(new Date,T)}`,0,parseInt(H)+5);let j=w.querySelector(".__vm__"+V);const a=j||document.createElement("div"),r=`position:absolute;user-select:none;top:0;left:0;${w.getAttribute("style")};z-index:${E};pointer-events:none !important;background-repeat:repeat;background-image:url('${U.toDataURL()}')`;if(a.setAttribute("style",r),a.classList.add("__vm__"+V),j||w.insertBefore(a,w.children[1]),f){const d=window.MutationObserver||window.WebKitMutationObserver;d&&(xt[V].wmMo=new d(h=>{let P=h.some(u=>u.target.className==w.className&&u.type=="attributes");j=w.querySelector(".__vm__"+V),(j&&j.getAttribute("style")!==r||!j||P)&&(xt[V].wmMo.disconnect(),xt[V].wmMo=null,delete xt[V].wmMo,Kt(tt))}),xt[V].wmMo.observe(w,{attributes:!0,subtree:!0,childList:!0}))}if(T){let d=864e5;T.includes("s")?d=1e3:T.includes("m")?d=1e3*60:(T.includes("h")||T.includes("H"))&&(d=1e3*60*60),xt[V].wmTimer=window.setTimeout(()=>{a.style.bottom="0"},d)}}const $t=function(tt){const{id:V,watch:f,container:G}=tt;if(f){let B=typeof G=="string"?document.querySelector(G):G;xt[V]&&(xt[V].wmMo&&xt[V].wmMo.disconnect(),xt[V].wmMo=null,xt[V].wmTimer&&window.clearTimeout(xt[V].wmTimer),xt[V].wmTimer=null,delete xt[V]);const y=B.querySelector(".__vm__"+V);y&&y.parentNode.removeChild(y)}},Ve=function(tt){let V=Object.assign({},Fe,tt);$t(V),Kt(V)},Yt={createWatermark:Ve,destroyWatermark:$t},Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Zn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lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var qt={exports:{}};/*!
|
|
2
2
|
* nzh v1.0.8
|
|
3
3
|
* Homepage http://cnwhy.github.io/nzh
|
|
4
4
|
* License BSD-2-Clause
|
|
5
|
-
*/(function(tt,F){(function(m,G){tt.exports=G()})(Ge,function(){function m(T,M){return M={exports:{}},T(M,M.exports),M.exports}function G(T,M){var S=I.getNumbResult(T);if(!S)return T;M=M||{};var a=this.ch,f=this.ch_u,r=this.ch_f||"",u=this.ch_d||".",h=a.charAt(0),P=S.int,d=S.decimal,g=S.minus,A="",L="",W=g?r:"",J=function k(it,st,pt){it=I.getNumbResult(it).int;var ct="",bt=arguments.length>1?arguments[1]:M.tenMin,vt=it.length;if(vt==1)return a.charAt(+it);if(vt<=4)for(var ht=0,Mt=vt;Mt--;){var ft=+it.charAt(ht);ct+=bt&&vt==2&&ht==0&&ft==1?"":a.charAt(ft),ct+=ft&&Mt?f.charAt(Mt):"",ht++}else{for(var dt=it.length/4>>0,Pt=it.length%4;Pt==0||!f.charAt(3+dt);)Pt+=4,dt--;var jt=it.substr(0,Pt),St=it.substr(Pt);ct=k(jt,bt)+f.charAt(3+dt)+(St.charAt(0)=="0"?h:"")+k(St,St.length>4&&bt)}return ct=I.clearZero(ct,h)};if(d){d=I.clearZero(d,"0","$");for(var Q=0;Q<d.length;Q++)L+=a.charAt(+d.charAt(Q));L=L?u+L:""}if(A=J(P),M.ww&&f.length>5){var V=f.charAt(4),Y=f.charAt(5),$=A.lastIndexOf(Y);~$&&(A=A.substring(0,$).replace(new RegExp(Y,"g"),V+V)+A.substring($))}return W+A+L}function U(T){T=T.toString();var M=T.split(this.ch_d),S=M[0].replace(this.ch_f,""),a=M[1],f=!!~M[0].indexOf(this.ch_f),r=this.ch_u.charAt(1),u=this.ch_u.charAt(4),h=this.ch_u.charAt(5);S=S.replace(new RegExp(u+"{2}","g"),h);for(var P=S.split(""),d=0,g=0,A=[],L=[],W=[],J=0;J<P.length;J++){var Q=P[J],V=0,Y=0;if(~(V=this.ch.indexOf(Q)))V>0&&W.unshift(V);else if(~(Y=this.ch_u.indexOf(Q))){var $=I.getDigit(Y);d>Y?(I.unshiftZero(W,$),I.centerArray(L,W)):Y>=g?(J==0&&(W=[1]),I.centerArray(A,L,W),A.length>0&&I.unshiftZero(A,$),g=Y):(W.length==0&&r==Q&&(W=[1]),I.centerArray(L,W),I.unshiftZero(L,I.getDigit(Y)),d=Y)}}I.centerArray(A,L,W).reverse(),A.length==0&&A.push(0);var k=0;if(a){A.push("."),k="0.";for(var J=0;J<a.length;J++)k+=this.ch.indexOf(a.charAt(J)),A.push(this.ch.indexOf(a.charAt(J)));k=+k}return f&&A.unshift("-"),parseFloat(A.join(""))}function v(T,M){var S={ww:!0,complete:!1,outSymbol:!0},a=I.getNumbResult(T),f=this.ch.charAt(0);if(M=typeof M=="object"?M:{},!a)return T;M=I.extend(S,M);var r=a.num,u=a.decimal||"",h=M.outSymbol?this.m_t:"",P=u?"":this.m_z,d="";if(M.complete){for(var g=1;g<this.m_u.length;g++)d+=G.call(this,u.charAt(g-1)||"0")+this.m_u.charAt(g);P=G.call(this,r,M)+this.m_u.charAt(0)}else{if(u=u.substr(0,this.m_u.length-1),u=I.clearZero(u,"0","$"))for(var A,g=0;g<this.m_u.length-1;g++)u.charAt(g)&&u.charAt(g)!="0"&&(d+=G.call(this,u.charAt(g))+this.m_u.charAt(g+1),A=!1),u.charAt(g)!=="0"||A||(g==0&&r=="0"||(d+=f),A=!0);r=="0"&&!P&&d||(P=G.call(this,r,M)+this.m_u.charAt(0)+P)}return h+P+d}function p(T,M){return{encodeS:function(S,a){return a=I.extend({ww:!0,tenMin:!0},a),l.CL.call(T,S,a)},encodeB:function(S,a){return a=I.extend({ww:!0},a),l.CL.call(M,S,a)},decodeS:function(){return l.unCL.apply(T,arguments)},decodeB:function(){return l.unCL.apply(M,arguments)},toMoney:function(S,a){return a=I.extend({ww:!0},a),l.toMoney.call(M,S,a)}}}var I=m(function(T,M){var S=/^([+-])?0*(\d+)(\.(\d+))?$/,a=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,f=M.e2ten=function(u){var h=a.exec(u.toString());if(!h)return u;var P=h[2],d=h[4]||"",g=h[5]?+h[5]:0;if(g>0){var A=d.substr(0,g);A=A.length<g?A+new Array(g-A.length+1).join("0"):A,d=d.substr(g),P+=A}else{g=-g;var L=P.length-g;L=L<0?0:L;var W=P.substr(L,g);W=W.length<g?new Array(g-W.length+1).join("0")+W:W,P=P.substring(0,L),d=W+d}return P=P==""?"0":P,(h[1]=="-"?"-":"")+P+(d?"."+d:"")};M.getNumbResult=function(u){var h=S.exec(u.toString());if(!h&&a.test(u.toString())&&(h=S.exec(f(u.toString()))),h)return{int:h[2],decimal:h[4],minus:h[1]=="-",num:h.slice(1,3).join("")}},M.centerArray=function u(h,P){if(h.splice.apply(h,[0,P.length].concat(P.splice(0,P.length))),arguments.length>2){var d=[].slice.call(arguments,2);d.unshift(h),u.apply(null,d)}return h};var r=M.hasAttr=function(u,h){return Object.prototype.hasOwnProperty.call(u,h)};M.extend=function(u){for(var h,P=arguments[0]||{},d=Array.prototype.slice.call(arguments,1),g=0;g<d.length;g++){var A=d[g];for(h in A)r(A,h)&&(P[h]=A[h])}return P},M.getDigit=function(u){return u>=5?4*(u-4)+4:u},M.unshiftZero=function(u,h){if(h==null&&(h=1),!(h<=0))for(;h--;)u.unshift(0)},M.clearZero=function(u,h,P){if(u==null)return"";var d=~"*.?+$^[](){}|\\/".indexOf(h)?"\\"+h:h,g=new RegExp("^"+d+"+"),A=new RegExp(d+"+$"),L=new RegExp(d+"{2}","g");return u=u.toString(),P=="^"&&(u=u.replace(g,"")),P&&P!="$"||(u=u.replace(A,"")),P&&P!="nto1"||(u=u.replace(L,h)),u}}),l=(I.e2ten,I.getNumbResult,I.centerArray,I.hasAttr,I.extend,I.getDigit,I.unshiftZero,I.clearZero,{CL:G,unCL:U,toMoney:v}),H=p,D={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},E={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},s={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},x={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},w={s:D,b:E,hk_s:s,hk_b:x},B=function(T){this.lang=T,this.encode=function(){return l.CL.apply(T,arguments)},this.decode=function(){return l.unCL.apply(T,arguments)},this.toMoney=function(){return l.toMoney.apply(T,arguments)}};B.langs=w,B.cn=H(w.s,w.b),B.hk=H(w.hk_s,w.hk_b);var C=B;return C})})(qt);const Nt=qt.exports;function Qe(tt){return function(F){var m=function(G){G.removePrintElementTypes("defaultModule"),G.addPrintElementTypes("defaultModule",[new tt.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(U,v){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(U,v){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new tt.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:m}}}function At(tt,F){return F!=null&&typeof Symbol<"u"&&F[Symbol.hasInstance]?!!F[Symbol.hasInstance](tt):tt instanceof F}function Tt(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tt=function(m){return typeof m}:Tt=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},Tt(tt)}window.$=window.jQuery=j.default;window.autoConnect=!0;window.io=Ze.io;window.eval2=eval;var Et=function(tt){var F={};function m(U){if(F[U])return F[U].exports;var v=F[U]={i:U,l:!1,exports:{}};return tt[U].call(v.exports,v,v.exports,m),v.l=!0,v.exports}var G=(m.m=tt,m.c=F,m.d=function(U,v,p){m.o(U,v)||Object.defineProperty(U,v,{enumerable:!0,get:p})},m.r=function(U){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(U,"__esModule",{value:!0})},m.t=function(U,v){if(1&v&&(U=m(U)),8&v||4&v&&Tt(U)=="object"&&U&&U.__esModule)return U;var p=Object.create(null);if(m.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:U}),2&v&&typeof U!="string")for(var I in U)m.d(p,I,function(l){return U[l]}.bind(null,I));return p},m.n=function(U){var v=U&&U.__esModule?function(){return U.default}:function(){return U};return m.d(v,"a",v),v},m.o=function(U,v){return Object.prototype.hasOwnProperty.call(U,v)},m.p="/",m(m.s=21));return G.n=m,G}([function(tt,F,m){var G;m.d(F,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(G={},{on:function(v,p){G[v]||(G[v]=[]),G[v].push(p)},id:0,off:function(v,p){var I=G[v];if(I){for(var l=-1,H=0;H<I.length;H++)if(I[H]===p){l=H;break}l<0||G[v].splice(l,1)}},trigger:function(v){var p=G[v];if(p&&p.length)for(var I=Array.prototype.slice.call(arguments,1),l=0;l<p.length;l++)p[l].apply(this,I)},clear:function(v){G[v]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(v){return v+"-"+this.getId()}}),hinnn.form={serialize:function(v){var p=j.default(v).serializeArray(),I={};return j.default.each(p,function(){I[this.name]?Object.prototype.toString.call(I[this.name])=="[object Array]"?I[this.name].push(this.value):I[this.name]=[I[this.name],this.value]:I[this.name]=this.value}),I}},hinnn.pt={toPx:function(v){return v*(this.getDpi()/72)},toMm:function(v){return hinnn.px.toMm(hinnn.pt.toPx(v))},dpi:0,getDpi:function(){if(!this.dpi){var v=document.getElementById("hinnnDpi");v?this.dpi=v.offsetHeight:(v=document.createElement("DIV"),v.id="hinnnDpi",v.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(v),this.dpi=v.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.pt.getDpi()" ');return this.dpi}},hinnn.px={toPt:function(v){return v*(72/this.getDpi())},toMm:function(v){return Math.round(v/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var v=document.getElementById("hinnnDpi");v?this.dpi=v.offsetHeight:(v=document.createElement("DIV"),v.id="hinnnDpi",v.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(v),this.dpi=v.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.px.getDpi()" ');return this.dpi}},hinnn.mm={toPt:function(v){return 72/25.4*v},toPx:function(v){return hinnn.pt.toPx(hinnn.mm.toPt(v))}},hinnn.throttle=function(U,v,p){var I,l,H,D=null,E=0;p||(p={});var s=function(){E=p.leading===!1?0:_.now(),D=null,H=U.apply(I,l),D||(I=l=null)};return function(){var x=_.now();E||p.leading!==!1||(E=x);var w=v-(x-E);return I=this,l=arguments,w<=0||w>v?(D&&(clearTimeout(D),D=null),E=x,H=U.apply(I,l),D||(I=l=null)):D||p.trailing===!1||(D=setTimeout(s,w)),H}},hinnn.debounce=function(U,v,p){var I,l,H,D,E,s=function x(){var w=_.now()-D;w<v&&w>=0?I=setTimeout(x,v-w):(I=null,p||(E=U.apply(H,l),I||(H=l=null)))};return function(){H=this,l=arguments,D=_.now();var x=p&&!I;return I||(I=setTimeout(s,v)),x&&(E=U.apply(H,l),H=l=null),E}},hinnn.toUtf8=function(U){var v,p,I,l;for(v="",I=U.length,p=0;p<I;p++)(l=U.charCodeAt(p))>=1&&l<=127?v+=U.charAt(p):l>2047?(v+=String.fromCharCode(224|l>>12&15),v+=String.fromCharCode(128|l>>6&63),v+=String.fromCharCode(128|l>>0&63)):(v+=String.fromCharCode(192|l>>6&31),v+=String.fromCharCode(128|l>>0&63));return v},hinnn.groupBy=function(U,v,p){var I={};return U.forEach(function(l){var H=JSON.stringify(p(l));I[H]||(I[H]={rows:[]},v.forEach(function(D){I[H][D]=l[D]})),I[H].rows.push(l)}),Object.keys(I).map(function(l){return I[l]})},hinnn.orderBy=function(U,v){if(U.length<=1)return U;var p=Math.floor(U.length/2),I=U.splice(p,1)[0],l=[],H=[],D=!0,E=!1,s=void 0;try{for(var x=U[Symbol.iterator](),w;!(D=(w=x.next()).done);D=!0){var B=w.value;v(B)<v(I)?l.push(B):H.push(B)}}catch(C){E=!0,s=C}finally{try{!D&&x.return!=null&&x.return()}finally{if(E)throw s}}return this.orderBy(l,v).concat([I],this.orderBy(H,v))},hinnn.dateFormat=function(U,v){if(U)try{var p=typeof U=="string"?new Date(U):U,I={"M+":p.getMonth()+1,"d+":p.getDate(),"H+":p.getHours(),"m+":p.getMinutes(),"s+":p.getSeconds(),"q+":Math.floor((p.getMonth()+3)/3),S:p.getMilliseconds()};for(var l in/(y+)/.test(v)&&(v=v.replace(RegExp.$1,(p.getFullYear()+"").substr(4-RegExp.$1.length))),I)new RegExp("("+l+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?I[l]:("00"+I[l]).substr((""+I[l]).length)));return v}catch(H){return console.log(H),""}return""},hinnn.numFormat=function(U,v){if(U!=null)try{var p=typeof U=="string"?parseFloat(U):U,I=parseInt(v);return I>0?p.toFixed(I):parseInt(p.toString())}catch(l){return console.log(l),""}return""},hinnn.toUpperCase=function(U,v){if(!Nt)return v;var p=v;switch(U){case"0":p=Nt.cn.encodeS(v);break;case"1":p=Nt.cn.encodeS(v,{tenMin:!1});break;case"2":p=Nt.cn.encodeB(v,{tenMin:!0});break;case"3":p=Nt.cn.encodeB(v);break;case"4":p=Nt.cn.toMoney(v,{tenMin:!0});break;case"5":p=Nt.cn.toMoney(v);break;case"6":p=Nt.cn.toMoney(v,{complete:!0});break;case"7":p=Nt.cn.toMoney(v,{complete:!0,outSymbol:!1});break}return p}},function(tt,F,m){m.d(F,"a",function(){return U});var G=m(9),U=function(){function v(){}return v.prototype.init=function(p){p&&j.default.extend(this,p)},v.prototype.register=function(p){this.init(p);var I=this,l=I.getHooks("init");l&&l.forEach(H=>{H.run({Config:I,OptionItems:G,ElementTypes:Et.ElementTypes,hinnn,hiprint:Et})})},v.prototype.getHooks=function(p){return this.pluginsList().reduce((I,l)=>I.concat(l.hooks.filter(H=>H.hook===p)),[])},v.prototype.pluginsList=function(){var p=this;return this.plugins?this.plugins.filter(I=>p.versionCheck(I)):[]},v.prototype.versionCheck=function(p){p.leastHiprintVersion.split(".").length!==3&&console.error(`[${p.name}] has a malformed leastHiprintVersion of ${p.leastHiprintVersion}. Please tell the developer to update.`);const I=v.instance.version.split("."),l=parseInt(I[0]),H=parseInt(I[1]),D=parseInt(I[2]),E=p.leastHiprintVersion.split("."),s=parseInt(E[0]),x=parseInt(E[1]),w=parseInt(E[2]);let B=!1;return l>s&&(B=!0),l===s&&H>x&&(B=!0),l===s&&H===x&&D>=w&&(B=!0),B||console.error(`Plugin [${p.name}] requires "@svelte-hiprint/hiprint" version ${p.leastHiprintVersion} and you are using ${v.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),B},v.prototype.on=function(p,I){hinnn.event.on(p,I)},v.prototype.clear=function(p){hinnn.event.clear(p)},v.prototype.registerItems=function(p){p.forEach(function(I){G.a.registerItem(new I)})},Object.defineProperty(v,"instance",{get:function(){return v._instance||(v._instance=new v,window.HIPRINT_CONFIG&&j.default.extend(v._instance,HIPRINT_CONFIG),v._instance.optionItems&&v._instance.optionItems.forEach(function(I){G.a.registerItem(new I)})),v._instance},enumerable:!0,configurable:!0}),v}()},function(tt,F,m){var G=function(){function v(p){this.printElement=p}return v.prototype.updatePosition=function(p,I){this.left=p,this.top=I},v}();m.d(F,"a",function(){return U});var U=function(){function v(){this.printTemplateContainer={},this.A1={width:841,height:594},this.A2={width:420,height:594},this.A3={width:420,height:297},this.A4={width:210,height:297},this.A5={width:210,height:148},this.A6={width:105,height:148},this.A7={width:105,height:74},this.A8={width:52,height:74},this.B1={width:1e3,height:707},this.B2={width:500,height:707},this.B3={width:500,height:353},this.B4={width:250,height:353},this.B5={width:250,height:176},this.B6={width:125,height:176},this.B7={width:125,height:88},this.B8={width:62,height:88},this.dragLengthCNum=function(p,I){var l=.75*p;return I&&(I=I),Math.round(l/I)*I}}return Object.defineProperty(v,"instance",{get:function(){return this._instance||(this._instance=new v),this._instance},enumerable:!0,configurable:!0}),v.prototype.getDragingPrintElement=function(){return v.instance.dragingPrintElement},v.prototype.setDragingPrintElement=function(p){v.instance.dragingPrintElement=new G(p)},v.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var I=16*Math.random()|0;return(p=="x"?I:3&I|8).toString(16)})},v.prototype.imageToBase64=function(p){if(j.default(p).attr("src").indexOf("base64")==-1)try{var I=document.createElement("canvas"),l=new Image;l.src=p.attr("src"),I.width=l.width,I.height=l.height,I.getContext("2d").drawImage(l,0,0),p.attr("src",I.toDataURL("image/png"))}catch{try{this.xhrLoadImage(p)}catch(D){console.log(D)}}},v.prototype.xhrLoadImage=function(p){},v.prototype.transformImg=function(p){var I=this;p.map(function(l,H){I.imageToBase64(j.default(H))})},v.prototype.getPrintTemplateById=function(p){return v.instance.printTemplateContainer[p]},v.prototype.setPrintTemplateById=function(p,I){return v.instance.printTemplateContainer[p]=I},v}()},function(tt,F,m){var G=function(){return function(){}}();m.d(F,"a",function(){return U});var U=function(){function v(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 v.prototype.setDefault=function(p){this.defaultOptions=p,this.initSize()},v.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},v.prototype.initSizeByHtml=function(p,I){this.width||this.setWidth(p),this.height||this.setHeight(I)},v.prototype.getRectInfo=function(){var p={w:0,h:0,diffW:0,diffH:0};if(this.transform){var I=this.transform*Math.PI/180,l=this.width,H=this.height,D=Math.sin(I),E=Math.cos(I),s=Math.abs(l*E)+Math.abs(H*D),x=Math.abs(l*D)+Math.abs(H*E),w=(l-s)/2,B=(H-x)/2;p.w=s,p.h=x,p.diffW=w,p.diffH=B}return p},v.prototype.getLeft=function(){return this.left},v.prototype.posLeft=function(){var p=this.left;return this.transform&&(p+=this.getRectInfo().diffW),Math.floor(p*10)/10},v.prototype.setRotate=function(p){p!=null&&(this.transform=p)},v.prototype.displayLeft=function(p){return this.transform&&p?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},v.prototype.setLeft=function(p){p!=null&&(this.left=p)},v.prototype.getTop=function(){return this.top},v.prototype.posTop=function(){var p=this.top;return this.transform&&(p+=this.getRectInfo().diffH),Math.floor(p*10)/10},v.prototype.getTopInDesign=function(){return this.topInDesign},v.prototype.displayTop=function(p){return this.transform&&p?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},v.prototype.setTop=function(p){p!=null&&(this.top=p)},v.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},v.prototype.getHeight=function(){if(this.transform){var p=this.getRectInfo();return p.h+p.diffH}return this.height},v.prototype.displayHeight=function(){return this.height+"pt"},v.prototype.setHeight=function(p){p!=null&&(this.height=p)},v.prototype.getWidth=function(){if(this.transform){var p=this.getRectInfo();return p.w+p.diffW}return this.width},v.prototype.displayWidth=function(){return this.width+"pt"},v.prototype.setWidth=function(p){p!=null&&(this.width=p)},v.prototype.getValueFromOptionsOrDefault=function(p){return this[p]==null?this.defaultOptions[p]:this[p]},v.prototype.getPrintElementOptionEntity=function(){var p=new G,I=this;return Object.keys(this).filter(function(l){return l!="topInDesign"}).forEach(function(l){if(typeof I[l]!="number"&&typeof I[l]!="string"&&!["fields"].includes(l)&&Tt(I[l])!=Tt(!0)||(p[l]=I[l]),l=="style"){p.style={};var H=I[l];H&&Object.keys(H).forEach(function(D){typeof H[D]!="number"&&typeof H[D]!="string"||(p.style[D]=H[D])})}}),p},v.prototype.init=function(p){var I=this;p&&Object.keys(p).forEach(function(l){I[l]=p[l]})},v}()},function(tt,F,m){m.d(F,"a",function(){return D});var G=m(17),U=m(1),v=m(9),p=m(6),I=m(0),l=m(8),H=m(2),D=function(){function E(s){this.printElementType=s,this.id=H.a.instance.guid()}return E.prototype.getConfigOptionsByName=function(s){return U.a.instance[s]},E.prototype.getProxyTarget=function(s){s&&this.SetProxyTargetOption(s);var x=this.getData(),w=this.createTarget(this.getTitle(),x);return this.updateTargetSize(w),this.css(w,x),w},E.prototype.SetProxyTargetOption=function(s){this.options.getPrintElementOptionEntity(),j.default.extend(this.options,s),this.copyFromType()},E.prototype.showInPage=function(s,x){var w=this.options.showInPage,B=this.options.unShowInPage;if(w){if(w=="first")return s==0;if(s==x-1&&B=="last")return!1;if(w=="odd")return(s!=0||B!="first")&&s%2==0;if(w=="even")return s%2==1;if(w=="last")return s==x-1}return(s!=0||B!="first")&&(s!=x-1||B!="last")},E.prototype.setTemplateId=function(s){this.templateId=s},E.prototype.setPanel=function(s){this.panel=s},E.prototype.getField=function(){return this.options.field||this.printElementType.field},E.prototype.getTitle=function(){return this.printElementType.title},E.prototype.updateSizeAndPositionOptions=function(s,x,w,B){this.options.setLeft(s),this.options.setTop(x),this.options.copyDesignTopFromTop(),this.options.setWidth(w),this.options.setHeight(B)},E.prototype.initSizeByHtml=function(s){if(s&&s.length){this.createTempContainer();var x=s.clone();this.getTempContainer().append(x),this.options.initSizeByHtml(parseInt(I.a.px.toPt(x.width()).toString()),parseInt(I.a.px.toPt(x.height()).toString())),this.removeTempContainer()}},E.prototype.updateTargetSize=function(s){s.css("width",this.options.displayWidth()),s.css("height",this.options.displayHeight())},E.prototype.updateTargetWidth=function(s){s.css("width",this.options.displayWidth())},E.prototype.getDesignTarget=function(s){var x=this,w=0;return this.designTarget=this.getHtml(s)[0].target,this.designPaper=s,this.designTarget.click(function(B){B.timeStamp-w>500&&I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),w=B.timeStamp}),this.designTarget.dblclick(function(B){var C=x.designTarget.find(".hiprint-printElement-content");if(C){var T=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}),C.css("cursor","text"),C.addClass("editing"),x.designTarget.addClass("editing"),C.click(function(M){x._editing&&M.stopPropagation()}),C.attr("contenteditable",!0),T&&T.css("display","none"),x.selectEnd(C))}}),this.designTarget},E.prototype.selectEnd=function(s){if(s.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var x=document.createRange();x.selectNodeContents(s[0]),x.collapse(!1);var w=window.getSelection();w.removeAllRanges(),w.addRange(x)}else if(typeof document.body.createTextRange<"u"){var x=document.body.createTextRange();x.moveToElementText(s[0]),x.collapse(!1),x.select()}},E.prototype.updateByContent=function(s){var x=this,w=x.designTarget.find(".hiprint-printElement-content");if(x._editing){w&&w.css("cursor","")&&w.removeClass("editing")&&w.removeAttr("contenteditable"),x.designTarget.removeClass("editing");var B=w.text(),C=x.options.title+"\uFF1A";B.startsWith(C)&&x.options.field?B.length>C.length?x.options.testData=B.split("\uFF1A")[1]:(x.options.title=B,x.options.testData=""):x.options.title=B,s||I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),x.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+x.templateId,"\u7F16\u8F91\u4FEE\u6539"),x._editing=!1;var T=x.options.draggable==null||x.options.draggable==!0;x.designTarget.hidraggable("update",{draggable:T})}},E.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},E.prototype.design=function(s,x){var w=this;this.designTarget.hidraggable({draggable:w.options.draggable,axis:w.options.axis?w.options.axis:void 0,designTarget:w,onDrag:function(C,T,M){var S=w.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&h.designTarget.children().last().hasClass("selected")&&!h.printElementType.type.includes("table")}),a=S.length>1,f=!w.designTarget.children().last().hasClass("selected");if(a){var r=T-w.options.left,u=M-w.options.top;S.forEach(function(h){h.updateSizeAndPositionOptions(r+h.options.getLeft(),u+h.options.getTop()),h.designTarget.css("left",h.options.displayLeft()),h.designTarget.css("top",h.options.displayTop()),h.createLineOfPosition(x)}),f&&(w.updateSizeAndPositionOptions(T,M),w.createLineOfPosition(x))}else w.updateSizeAndPositionOptions(T,M),w.createLineOfPosition(x);H.a.instance.changed=!0},moveUnit:"pt",minMove:U.a.instance.movingDistance,onBeforeDrag:function(C){H.a.instance.draging=!0,w.designTarget.focus(),w.createLineOfPosition(x)},getScale:function(){return w.designPaper.scale||1},onStopDrag:function(C){H.a.instance.changed&&I.a.event.trigger("hiprintTemplateDataChanged_"+w.templateId,"\u79FB\u52A8"),H.a.instance.draging=!1,H.a.instance.changed=!1;var T=w.panel.printElements.filter(function(M){return M.designTarget.children().last().css("display")=="block"&&!M.printElementType.type.includes("table")});T.length>1?T.forEach(function(M){M.removeLineOfPosition()}):w.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){w.removeLineOfPosition(),I.a.event.trigger("hiprintTemplateMouseUp_"+x.templateId)},300)}),this.designTarget.hicontextMenu(w.panel.getContextMenuList(w)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,x)},E.prototype.getPrintElementEntity=function(s){return s?new G.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new G.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},E.prototype.submitOption=function(){var s=this,x=this.getConfigOptions();x&&x.tabs&&x.tabs.length?this.getPrintElementOptionTabs().forEach(function(w){w.list.forEach(function(B){var C=B.getValue(),T=B.name=="textType"&&s.options[B.name]!==C,M=B.name=="axis"&&s.options[B.name]!==C,S=B.name=="draggable"&&s.options[B.name]!==C;C&&Tt(C)=="object"?Object.keys(C).forEach(function(a){s.options[a]=C[a]}):s.options[B.name]=C,T&&s.setResizePanel(),M&&s.designTarget.hidraggable("update",{axis:C}),S&&s.designTarget.hidraggable("update",{draggable:C})})}):this.getPrintElementOptionItems().forEach(function(w){var B=w.getValue(),C=w.name=="textType"&&s.options[w.name]!==B,T=w.name=="axis"&&s.options[w.name]!==B,M=w.name=="draggable"&&s.options[w.name]!==B;B&&Tt(B)=="object"?Object.keys(B).forEach(function(S){s.options[S]=B[S]}):s.options[w.name]=B,C&&s.setResizePanel(),T&&s.designTarget.hidraggable("update",{axis:B}),M&&s.designTarget.hidraggable("update",{draggable:B})}),this.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},E.prototype.updateOption=function(s,x,w){try{var B=this,C=this.getConfigOptions(),T=["draggable"];C&&C.tabs&&C.tabs.length?C.tabs.forEach(function(M){M.options.forEach(function(S){T.push(S.name)})}):T=C.supportOptions.map(function(M){return M.name}),T&&T.includes(s)&&(this.options[s]=x,s=="draggable"&&B.designTarget.hidraggable("update",{draggable:x}),s=="widthHeight"&&(x.width&&(this.options.width=x.width),x.height&&(this.options.height=x.height),x.widthHeightSync&&(this.options.widthHeightSync=x.widthHeightSync)),s=="coordinate"&&(x.left&&(this.options.left=x.left),x.top&&(this.options.top=x.top),x.coordinateSync&&(this.options.coordinateSync=x.coordinateSync)),this.updateDesignViewFromOptions(),w||(I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),I.a.event.trigger(B.getPrintElementSelectEventKey(),{printElement:B})))}catch(M){console.log("updateOption error",M)}},E.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||U.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||U.a.instance.qrcode.showPoints:this.options.showPoints||U.a.instance.text.showPoints},E.prototype.setResizePanel=function(){var s=this,x=this.designPaper;this.designTarget.hireizeable({showPoints:s.getReizeableShowPoints(),draggable:s.options.draggable,showSizeBox:U.a.instance.showSizeBox,getScale:function(){return s.designPaper.scale||1},onBeforeResize:function(){H.a.instance.draging=!0},onResize:function(B,C,T,M,S,a){a!=null?s.onRotate(B,a):s.onResize(B,C,T,M,S),s.createLineOfPosition(x)},onStopResize:function(B){I.a.event.trigger("hiprintTemplateDataChanged_"+s.templateId,B?"\u65CB\u8F6C":"\u5927\u5C0F"),H.a.instance.draging=!1,s.removeLineOfPosition()}}),this.options.draggable==!1&&j.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},E.prototype.onRotate=function(s,x){this.options.setRotate(x)},E.prototype.onResize=function(s,x,w,B,C){this.updateSizeAndPositionOptions(C,B,w,x)},E.prototype.getOrderIndex=function(){return this.options.getTop()},E.prototype.getHtml=function(s,x,w){var B=0;this.setCurrenttemplateData(x);var C=[],T=this.getBeginPrintTopInPaperByReferenceElement(s),M=s.getPaperFooter(B);this.isHeaderOrFooter()||this.isFixed()||T>M&&s.panelPageRule!="none"&&(C.push(new p.a({target:void 0,printLine:void 0})),T=T-M+s.paperHeader,B++,M=s.getPaperFooter(B));var S=this.getData(x),a=this.createTarget(this.getTitle(),S,w);return this.updateTargetSize(a),this.css(a,S),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",T+"pt"),C.push(new p.a({target:a,printLine:T+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:T+this.options.getHeight(),printTopInPaper:T})})),x&&this.options.pageBreak&&(C[0].target.css("top",s.paperHeader+"pt"),C[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,C[0].printLine=s.paperHeader,C[0].referenceElement.bottomInLastPaper=0,C[0].referenceElement.printTopInPaper=s.paperHeader,C.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),C},E.prototype.getHtml2=function(s,x,w){var B=0;this.setCurrenttemplateData(x);var C=[],T=this.getBeginPrintTopInPaperByReferenceElement(s),M=s.getPaperFooter(B);this.isHeaderOrFooter()||this.isFixed()||(s.panelPageRule!="none"&&T>M&&(C.push(new p.a({target:void 0,printLine:void 0})),T=T-M+s.paperHeader,B++,M=s.getPaperFooter(B)),T<=M&&T+this.options.getHeight()>M&&s.panelPageRule!="none"&&(C.push(new p.a({target:void 0,printLine:void 0})),T=s.paperHeader,B++,M=s.getPaperFooter(B)));var S=this.getData(x),a=this.createTarget(this.getTitle(),S);return s.panelPageRule=="none"&&T+this.options.getHeight()>M&&this.updatePanelHeight(T+this.options.getHeight(),s),this.updateTargetSize(a),this.css(a,S),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",T+"pt"),C.push(new p.a({target:a,printLine:T+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:T+this.options.getHeight(),printTopInPaper:T})})),x&&this.options.pageBreak&&(C[0].target.css("top",s.paperHeader+"pt"),C[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,C[0].printLine=s.paperHeader,C[0].referenceElement.bottomInLastPaper=0,C[0].referenceElement.printTopInPaper=s.paperHeader,C.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),C},E.prototype.updatePanelHeight=function(s,x){if(this.panel.panelPageRule=="none"){var w=I.a.pt.toMm(s);x.paperFooter=s,x.target.css("height",w+"mm"),x.target.attr("original-height",w)}},E.prototype.getBeginPrintTopInPaperByReferenceElement=function(s){var x=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?x:s.referenceElement.isPositionLeftOrRight(x)?s.referenceElement.printTopInPaper+(x-s.referenceElement.top):s.referenceElement.bottomInLastPaper+(x-(s.referenceElement.top+s.referenceElement.height))},E.prototype.css=function(s,x){var w=this,B=this.getConfigOptions();if(B){var C;B.tabs&&B.tabs.length?(C=[],B.tabs.forEach(function(T){C=C.concat(T.options)})):C=B.supportOptions,C&&C.forEach(function(T){var M=v.a.getItem(T.name);M&&M.css&&M.css(s,w.options.getValueFromOptionsOrDefault(T.name))})}this.stylerCss(s,x)},E.prototype.stylerCss=function(s,x){var w=this.getStyler();if(w){var B=w(x,this.options,s,this._currenttemplateData);B&&Object.keys(B).forEach(function(C){s.css(C,B[C])})}},E.prototype.getData=function(s){var x=this.getField();return s?x&&x.split(".").reduce((w,B)=>w?w[B]:s?s[B]:"",!1)||"":this.printElementType.getData()},E.prototype.copyFromType=function(){var s=this.options,x=this.printElementType,w=this.getConfigOptions(),B=[];return w&&w.tabs&&w.tabs.length?w.tabs.forEach(function(C){C.options.forEach(function(T){B.push(T.name)})}):B=w.supportOptions.map(function(C){return C.name}),Object.keys(x).forEach(function(C){x[C]&&C!="columns"&&B.indexOf(C)>-1&&(s[C]=Tt(x[C])=="function"?x[C].toString():x[C])}),s},E.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var s=[],x=this.getConfigOptions();if(x){var w=x.tabs;w&&w.forEach(function(B,C){s.push({name:B.name,list:[]}),B.options.filter(function(T){return!T.hidden}).forEach(function(T){var M=v.a.getItem(T.name);s[C].list.push(M)})})}return this._printElementOptionTabs=s,this._printElementOptionItems=void 0,this._printElementOptionTabs},E.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var s=[],x=this.getConfigOptions();if(x){var w;x.tabs&&x.tabs.length?(w=[],x.tabs.forEach(function(B){B=B.concat(B.options)})):w=x.supportOptions,w&&w.filter(function(B){return!B.hidden}).forEach(function(B){var C=v.a.getItem(B.name);s.push(C)})}return this._printElementOptionItems=this.filterOptionItems(s.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},E.prototype.getPrintElementOptionItemsByName=function(s){var x=[],w=this.getConfigOptionsByName(s);if(w){var B;w.tabs&&w.tabs.length?(B=[],w.tabs.forEach(function(C){B=B.concat(C.options)})):B=w.supportOptions,B&&B.filter(function(C){return!C.hidden}).forEach(function(C){var T=v.a.getItem(C.name);x.push(T)})}return x.concat()},E.prototype.filterOptionItems=function(s){return this.printElementType.field?s.filter(function(x){return x.name!="field"}):s},E.prototype.createTempContainer=function(){this.removeTempContainer(),j.default("body").append(j.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},E.prototype.removeTempContainer=function(){j.default(".hiprint_temp_Container").remove()},E.prototype.getTempContainer=function(){return j.default(".hiprint_temp_Container")},E.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},E.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},E.prototype.setCurrenttemplateData=function(s){this._currenttemplateData=s},E.prototype.isFixed=function(){return this.options.fixed},E.prototype.onRendered=function(s,x){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(x,this.options,s.getTarget())},E.prototype.createLineOfPosition=function(s){var x=j.default(".toplineOfPosition.id"+this.id),w=j.default(".topPosition.id"+this.id),B=j.default(".leftlineOfPosition.id"+this.id),C=j.default(".leftPosition.id"+this.id),T=j.default(".rightlineOfPosition.id"+this.id),M=j.default(".bottomlineOfPosition.id"+this.id),S=U.a.instance;if(x.length)x.css("top",this.options.displayTop(!0));else{var x=j.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');x.css("top",this.options.displayTop(!0)),x.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(x)}if(S.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),w.length)w.toggleClass("topPosition-lineMode",S.positionLineMode),w.text(this.options.posTop()+(S.positionUnit?"pt":"")),w.css("top",this.options.posTop()-w.height()+"pt"),S.positionLineMode?w.css("left",this.options.posLeft()-w.width()/2+"pt"):w.css("left",this.options.posLeft()+2+"pt");else{var w=j.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');w.toggleClass("topPosition-lineMode",S.positionLineMode),w.text(this.options.posTop()+(S.positionUnit?"pt":"")),S.positionLineMode?w.css("left",this.options.posLeft()-w.width()/2+"pt"):w.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(w),w.css("top",this.options.posTop()-w.height()+"pt")}if(B.length)B.css("left",this.options.displayLeft(!0));else{var a=j.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');a.css("left",this.options.displayLeft(!0)),a.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}if(S.showPosition)if(C.length)C.text(this.options.posLeft()+(S.positionUnit?"pt":"")),C.toggleClass("leftPosition-lineMode",S.positionLineMode),C.css("left",this.options.posLeft()-C.width()+"pt"),S.positionLineMode?C.css("top",this.options.posTop()-C.height()/3+"pt"):C.css("top",this.options.posTop()+2+"pt");else{var C=j.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');C.text(this.options.posLeft()+(S.positionUnit?"pt":"")),C.toggleClass("leftPosition-lineMode",S.positionLineMode),S.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(T.length)T.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var f=j.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');f.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),f.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(f)}if(M.length)M.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var r=j.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');r.css("top",this.options.getTop()+this.options.getHeight()+"pt"),r.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(r)}},E.prototype.removeLineOfPosition=function(){j.default(".toplineOfPosition.id"+this.id).remove(),j.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),j.default(".leftlineOfPosition.id"+this.id).remove(),j.default(".leftPosition.id"+this.id).remove(),j.default(".rightlineOfPosition.id"+this.id).remove(),j.default(".bottomlineOfPosition.id"+this.id).remove()},E.prototype.getFontList=function(){var s=this.options.fontList;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFontList())},E.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var s=this.options.fields;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFields())},E.prototype.getOnImageChooseClick=function(){var s=this.options.onImageChooseClick;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},E.prototype.bingCopyEvent=function(s){var x=this;s.keydown(function(w){if(x._editing&&!w.altKey&&w.keyCode==13){x.updateByContent();return}(w.ctrlKey||w.metaKey)&&w.keyCode==67&&(x.panel.copyJson(),w.preventDefault()),(w.ctrlKey||w.metaKey)&&w.keyCode==68&&(x.panel.copyJson(),x.panel.pasteJson(),w.preventDefault()),(w.ctrlKey||w.metaKey)&&w.keyCode==88&&(x.panel.cutJson(),w.preventDefault())})},E.prototype.clone=function(s){var x=this;let w=x.printElementType.createPrintElement();return Object.keys(x.options).forEach(function(B){w.options[B]=x.options[B]}),w},E.prototype.getFormatter=function(){var s=void 0;if(this.printElementType.formatter&&(s=this.printElementType.formatter),this.options.formatter)try{var x="formatter="+this.options.formatter;s=eval2(x)}catch(w){console.log(w)}return s},E.prototype.getStyler=function(){var s=void 0;if(this.printElementType.styler&&(s=this.printElementType.styler),this.options.styler)try{var x="fnstyler="+this.options.styler;s=eval2(x)}catch(w){console.log(w)}return s},E.prototype.bingKeyboardMoveEvent=function(s,x){var w=this,B=void 0,C=void 0;s.attr("tabindex","1"),s.keydown(function(T){if(T.target.tagName!="INPUT"&&!(w._editing&&!T.altKey)&&w.options.draggable!==!1){var M=w.panel.printElements.filter(function(r){return r.designTarget.children().last().css("display")=="block"&&!r.printElementType.type.includes("table")}),S=M.length>1,a=U.a.instance.movingDistance;switch(T.keyCode){case 8:case 46:var f=w.panel;S?M.forEach(function(r){f.deletePrintElement(r)}):f.deletePrintElement(w),I.a.event.trigger("clearSettingContainer");break;case 37:B=w.options.getLeft(),S?M.forEach(function(r){r.updatePositionByMultipleSelect(0-a,0)}):(w.updateSizeAndPositionOptions(B-a),s.css("left",w.options.displayLeft())),T.preventDefault();break;case 38:C=w.options.getTop(),S?M.forEach(function(r){r.updatePositionByMultipleSelect(0,0-a)}):(w.updateSizeAndPositionOptions(void 0,C-a),s.css("top",w.options.displayTop())),T.preventDefault();break;case 39:B=w.options.getLeft(),S?M.forEach(function(r){r.updatePositionByMultipleSelect(a,0)}):(w.updateSizeAndPositionOptions(B+a),s.css("left",w.options.displayLeft())),T.preventDefault();break;case 40:C=w.options.getTop(),S?M.forEach(function(r){r.updatePositionByMultipleSelect(0,a)}):(w.updateSizeAndPositionOptions(void 0,C+a),s.css("top",w.options.displayTop())),T.preventDefault()}[37,38,39,40].includes(T.keyCode)&&I.a.event.trigger("hiprintTemplateDataChanged_"+w.templateId,"\u952E\u76D8\u79FB\u52A8")}})},E.prototype.inRect=function(s){var x=this.designPaper.scale||1,w=this.designTarget[0].offsetLeft,B=this.designTarget[0].offsetTop,C=this.designTarget[0].offsetHeight,T=this.designTarget[0].offsetWidth,M=w+T,S=B+C,a=j.default(s.target[0]).position().left/x,f=j.default(s.target[0]).position().top/x,r=s.target[0].offsetHeight,u=s.target[0].offsetWidth,h=a+u,P=f+r;return a<M&&h>w&&B<P&&S>f},E.prototype.multipleSelect=function(s){s?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},E.prototype.updatePositionByMultipleSelect=function(s,x){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(s+this.options.getLeft(),x+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},E}()},function(tt,F,m){var G=function(){function T(){}return T.prototype.init=function(M){this.target=j.default('<input type="text" class="hitable-editor-text" value="" />'),M.getTarget().append(this.target),this.target.focus()},T.prototype.getValue=function(){return this.target.val()},T.prototype.setValue=function(M){this.target.val(M)},T.prototype.destroy=function(){this.target.remove()},T}(),U=function(){function T(){this.text=new G}return Object.defineProperty(T,"Instance",{get:function(){return T._instance||(T._instance=new T),T._instance},enumerable:!0,configurable:!0}),T}(),v=function(){function T(){}return T.prototype.init=function(M,S){var a=`<select class="auto-submit" style="width:100%">
|
|
6
|
-
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;M.forEach(function(f,r){f.field==S.field?a+=' <option value="'+(f.field||"")+'" selected >'+(f.text||"")+"</option>":a+=' <option value="'+(f.field||"")+'" >'+(f.text||"")+"</option>"}),a+=" </select>",this.target=j.default(a),S.getTarget().append(this.target),this.target.focus()},T.prototype.getValue=function(){var M=this.target.val(),S=this.target.find('option[value="'+M+'"]').text();return S+"#"+M},T.prototype.setValue=function(M){M&&(this.target.find('option[value="'+M+'"]').length||this.target.find("select").prepend('<option value="'+M+'" >'+M+"</option>")),this.target.find("select").val(M)},T.prototype.destroy=function(){this.target.remove()},T}(),p=function(){function T(){this.select=new v}return Object.defineProperty(T,"Instance",{get:function(){return T._instance||(T._instance=new T),T._instance},enumerable:!0,configurable:!0}),T}(),I=function(){function T(){}return Object.defineProperty(T,"Instance",{get:function(){return U._instance||(T._instance=new T),T._instance},enumerable:!0,configurable:!0}),T.prototype.createEditor=function(M){return j.default.extend({},U.Instance[M])},T.prototype.createSelect=function(M){return j.default.extend({},p.Instance[M])},T}(),l=m(10),H=m(14),D=m(11),E=function(){function T(){}return T.prototype.init=function(M,S){var a=this;this.tableOptions=S,this.title=M.title,this.field=M.field,M.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){M.isEditing=!0,a.beginEdit(M)})},T.prototype.getDisplayHtml=function(){return this.title},T.prototype.beginEdit=function(M){var S=this;S.tableOptions.options.fields&&S.tableOptions.options.fields.length?(this.editor=I.Instance.createSelect("select"),M.getTarget().html(""),this.editor.init(S.tableOptions.options.fields,M),this.editor.setValue(this.field||""),j.default(this.editor.target).keydown(function(a){a.keyCode==13&&S.endEdit(M)}),j.default(this.editor.target).change(function(a){S.endEdit(M)}),j.default(this.editor.target).blur(function(a){S.endEdit(M)})):(this.editor=I.Instance.createEditor("text"),M.getTarget().html(""),this.editor.init(M),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),j.default(this.editor.target).keydown(function(a){a.keyCode==13&&S.endEdit(M)}),j.default(this.editor.target).blur(function(a){S.endEdit(M)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=M.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=M)},T.prototype.endEdit=function(M){M.isEditing=0;var S=this.editor.getValue();if(S)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var a=S.split("#");M.title=this.title=a[0],a.length>0&&(M.columnId=M.field=this.field=a[1]),M.id&&M.target.attr("id",M.id),M.columnId&&M.target.attr("column-id",M.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else M.title=this.title=S;else this.tableOptions.options.isEnableEditField?(M.title=this.title="",M.field=this.field=""):M.title=this.title="";this.editor.destroy(),M.getTarget().html(this.title)},T}(),s=function(){return function(T){this.title=T.title,this.field=T.field,this.width=T.width,this.align=T.align,this.halign=T.halign,this.vAlign=T.vAlign,this.colspan=T.colspan,this.rowspan=T.rowspan,this.checked=T.checked,this.columnId=T.columnId,this.tableSummaryTitle=T.tableSummaryTitle,this.tableSummaryText=T.tableSummaryText,this.tableSummaryColspan=T.tableSummaryColspan,this.tableSummary=T.tableSummary,this.tableSummaryAlign=T.tableSummaryAlign,this.tableSummaryNumFormat=T.tableSummaryNumFormat,this.upperCase=T.upperCase,this.renderFormatter=T.renderFormatter&&T.renderFormatter.toString(),this.formatter2=T.formatter2&&T.formatter2.toString(),this.styler2=T.styler2&&T.styler2.toString(),this.stylerHeader=T.stylerHeader&&T.stylerHeader.toString(),this.tableColumnHeight=T.tableColumnHeight,this.tableTextType=T.tableTextType,this.tableBarcodeMode=T.tableBarcodeMode,this.tableQRCodeLevel=T.tableQRCodeLevel}}(),x=function(){function T(){this.id=D.a.createId()}return T.prototype.init=function(M,S,a,f){this.isHead=f,this.rowId=a,this.isEditing=!1;var r=/^[0-9]*$/;this.target=M,this.tableOptions=S;var u=this.target.attr("colspan");this.colspan=r.test(u)?parseInt(u):1;var h=this.target.attr("rowspan");this.rowspan=r.test(h)?parseInt(h):1,this.initEvent(),this.isHead&&this.initInnerEelement()},T.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var M=this.getValue();this.editor=I.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(M)}},T.prototype.endEdit=function(){this.isEditing=!1;var M=this.editor.getValue();this.editor.destroy(),this.target.html(M)},T.prototype.getTarget=function(){return this.target},T.prototype.getValue=function(){return this.target.html()},T.prototype.setValue=function(M){},T.prototype.initInnerEelement=function(){this.innerElement=new E,this.innerElement.init(this,this.tableOptions)},T.prototype.initEvent=function(){},T.prototype.isXYinCell=function(M,S){var a=new l.b({x:M,y:S,height:0,width:0});return this.isOverlap(a)},T.prototype.getTableRect=function(){return new l.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},T.prototype.isOverlap=function(M){var S=this.getTableRect();return M.x+M.width>S.x&&S.x+S.width>M.x&&M.y+M.height>S.y&&S.y+S.height>M.y},T.prototype.isInRect=function(M){var S=M.rect,a=this.getTableRect();if(a.x>=S.x&&a.x+a.width<=S.x+S.width&&a.y>=S.y&&a.y+a.height<=S.y+S.height){var f=H.a.mergeRect(S,a);return JSON.stringify(S)==JSON.stringify(f)||(M.changed=!0,M.rect=f,!0)}return!1},T.prototype.isSelected=function(){return this.target.hasClass("selected")},T.prototype.select=function(){this.target.addClass("selected")},T.prototype.isHeader=function(){return!1},T.prototype.setAlign=function(M){this.align=M,M?this.target.css("text-align",M):this.target[0].style.textAlign=""},T.prototype.setVAlign=function(M){this.vAlign=M,M?this.target.css("vertical-align",M):this.target[0].style.verticalAlign=""},T.prototype.getEntity=function(){return new s(this)},T}();m.d(F,"a",function(){return C});var w,B=(w=function(M,S){return(w=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(a,f){a.__proto__=f}||function(a,f){for(var r in f)f.hasOwnProperty(r)&&(a[r]=f[r])})(M,S)},function(T,M){function S(){this.constructor=T}w(T,M),T.prototype=M===null?Object.create(M):(S.prototype=M.prototype,new S)}),C=function(T){function M(S){var a=this;return S=S||{},(a=T.call(this)||this).width=S.width?parseFloat(S.width.toString()):100,a.title=S.title,a.descTitle=S.descTitle,a.field=S.field,a.fixed=S.fixed,a.rowspan=S.rowspan?parseInt(S.rowspan):1,a.colspan=S.colspan?parseInt(S.colspan):1,a.align=S.align,a.halign=S.halign,a.vAlign=S.vAlign,a.formatter=S.formatter,a.styler=S.styler,a.renderFormatter=S.renderFormatter,a.formatter2=S.formatter2,a.styler2=S.styler2,a.stylerHeader=S.stylerHeader,a.checkbox=S.checkbox,a.checked=S.checked!=0,a.columnId=S.columnId||S.field,a.tableColumnHeight=S.tableColumnHeight,a.tableTextType=S.tableTextType,a.tableBarcodeMode=S.tableBarcodeMode,a.tableQRCodeLevel=S.tableQRCodeLevel,a.tableSummaryTitle=S.tableSummaryTitle,a.tableSummaryText=S.tableSummaryText,a.tableSummaryColspan=S.tableSummaryColspan,a.tableSummary=S.tableSummary,a.tableSummaryAlign=S.tableSummaryAlign,a.tableSummaryNumFormat=S.tableSummaryNumFormat,a.upperCase=S.upperCase,a}return B(M,T),M.prototype.css=function(S){},M}(x)},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){return function(U){this.printLine=U.printLine,this.target=U.target,this.referenceElement=U.referenceElement}}()},function(tt,F,m){m.d(F,"a",function(){return v});var G=m(19),U=m(0),v=function(){function p(){}return p.createTableHead=function(I,l){for(var H=p.reconsitutionTableColumnTree(I),D=j.default("<thead></thead>"),E=p.getColumnsWidth(H,l),s=function(B){var C=j.default("<tr></tr>");H[B].filter(function(T){return T.checked}).forEach(function(T){var M=j.default("<td></td>");T.id&&M.attr("id",T.id),T.columnId&&M.attr("column-id",T.columnId),(T.align||T.halign)&&M.css("text-align",T.halign||T.align),T.vAlign&&M.css("vertical-align",T.vAlign),T.colspan>1&&M.attr("colspan",T.colspan),T.rowspan>1&&M.attr("rowspan",T.rowspan),M.html(T.title),E[T.id]?(T.hasWidth=!0,T.targetWidth=E[T.id],M.attr("haswidth","haswidth"),M.css("width",E[T.id]+"pt")):T.hasWidth=!1;var S=p.getHeaderStyler(T);if(S){var a=S(T);a&&Object.keys(a).forEach(function(f){M.css(f,a[f])})}C.append(M)}),D.append(C)},x=0;x<H.totalLayer;x++)s(x);return p.syncTargetWidthToOption(I),D},p.createTableFooter=function(I,l,H,D,E,s){var x=j.default("<tfoot></tfoot>"),w=this.getFooterFormatter(H,D),B=this.tableSummaryTitle;let C=H.tableFooterRepeat=="last"?l:s,T=H.columns.length-1;var M=this.rowColumns||H.columns[T].columns;if(H.tableFooterRepeat!="no"&&M.some(function(a){return a.tableSummary})){var S=j.default("<tr></tr>");M.filter(function(a){return a.checked}).forEach(function(a){var f=C.filter(function($){return $&&$[a.field]}).map(function($){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test($[a.field])?Number($[a.field]):0}),r=a.tableSummaryText,u=a.tableSummaryNumFormat||2,h=`text-align: ${a.tableSummaryAlign||"center"}`,P=a.tableSummaryColspan==null?1:a.tableSummaryColspan,d=a.upperCase;let{toUpperCase:g,numFormat:A}=U.a;switch(a.tableSummary){case"count":var Y=B(a,r||"\u8BA1\u6570:",E),L=g(d,C.length||0);S.append(`<td style="${h}" colspan="${P}">${Y}${L}</td>`);break;case"sum":var W=parseFloat(Number(f.reduce(function($,k){return $+k},0)));W=g(d,A(W,u));var Y=B(a,r||"\u5408\u8BA1:",E);S.append(`<td style="${h}" colspan="${P}">${Y}${W}</td>`);break;case"avg":var W=parseFloat(Number(f.reduce(function($,k){return $+k},0))),J=parseFloat(Number(W/(f.length||1)));J=g(d,A(J,u));var Y=B(a,r||"\u5E73\u5747\u503C:",E);S.append(`<td style="${h}" colspan="${P}">${Y}${J}</td>`);break;case"min":var Q=Math.min(...f);Q==1/0&&(Q=0),Q=g(d,A(Q,u));var Y=B(a,r||"\u6700\u5C0F\u503C:",E);S.append(`<td style="${h}" colspan="${P}">${Y}${Q||0}</td>`);break;case"max":var V=Math.max(...f);V==-1/0&&(V=0);var Y=B(a,r||"\u6700\u5927\u503C:",E);V=g(d,A(V,u)),S.append(`<td style="${h}" colspan="${P}">${Y}${V||0}</td>`);break;case"text":S.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break;default:P>=1&&S.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break}}),x.append(S)}return w&&x.append(w(H,l,E,s)),x},p.tableSummaryTitle=function(I,l,H){var D=I.tableSummaryTitle==null||I.tableSummaryTitle==!0;return D?`${l}`:H?"":`<span style="color:firebrick">${l}</span>`},p.createTableRow=function(I,l,H,D){var E=this,s=p.reconsitutionTableColumnTree(I),x=j.default("<tbody></tbody>"),w=E.getGroupFieldsFormatter(H,D),B=w?H.groupFields=w(D,H,l):D.groupFields?D.groupFields:[];return l||(l=[]),B.length?U.a.groupBy(l,B,function(C){var T={};return B.forEach(function(M){return T[M]=C[M]}),T}).forEach(function(C){var T=E.getGroupFormatter(H,D);if(T){var M=j.default("<tr><td colspan="+s.colspan+"></td></tr>");M.find("td").append(T(C,H)),x.append(M)}var S=E.getGroupFooterFormatter(H,D);if(C.rows.forEach(function(f,r){var u=p.createRowTarget(s,f,H,D,r);x.append(u)}),S){var a=j.default("<tr><td colspan="+s.colspan+"></td></tr>");a.find("td").append(S(C,H)),x.append(a)}}):l.forEach(function(C,T){var M=p.createRowTarget(s,C,H,D,T);x.append(M)}),x},p.createRowTarget=function(I,l,H,D,E){var s=j.default("<tr></tr>"),x=I.rowColumns.filter(function(C){return C.checked});s.data("rowData",l),I.rowColumns.filter(function(C){return C.checked}).forEach(function(C,T){if(!!C.checked){var M="";if(H.rowsColumnsMerge){M=eval2("rowsColumnsMerge="+H.rowsColumnsMerge);var S=M(l,C,T,E)||[1,1],a=j.default(`<td style = 'display:${S[0]&&S[1]?"":"none"}' rowspan = '${S[0]}' colspan = '${S[1]}'></td>`)}else var a=j.default("<td></td>");if(l&&Object.keys(l).length>0&&(H.tableHeaderRepeat=="first"||H.tableHeaderRepeat=="none")){if(C.field&&a.attr("field",C.field),C.align&&a.css("text-align",C.align),C.vAlign&&a.css("vertical-align",C.vAlign),H.rowsColumnsMerge&&S[1]>1){var f=0;x.forEach((W,J)=>{J>=T&&J<T+S[1]&&(f+=W.width)})}a.css("width",(f||C.width)+"pt")}else C.field&&a.attr("field",C.field),C.align&&a.css("text-align",C.align),C.vAlign&&a.css("vertical-align",C.vAlign);var r=p.getColumnFormatter(C),u=r?r(l[C.field],l,T,H):l[C.field],h=p.getColumnRenderFormatter(C);if(h)a.html(h(l[C.field],l,T,H));else if(C.tableTextType=="text"||C.tableTextType==null)a.html(u);else{if(C.tableTextType=="barcode"){a.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{u?(Xt.default(a.find(".hibarcode_imgcode")[0],u,{format:C.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),a.find(".hibarcode_imgcode").attr("height",C.tableColumnHeight||30+"pt"),a.find(".hibarcode_imgcode").css("margin","5pt 10pt"),a.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):a.html("")}catch(W){console.log(W),a.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(C.tableTextType=="image"&&(a.html(""),u)){var P=j.default('<div><img style = "max-width:100%;max-height:100%"/></div>');P.find("img").attr("src",u),console.log(P.find("img").css("width")),a.html(P)}if(C.tableTextType=="qrcode"){a.html("");try{var d=j.default("<div></div>");if(u){var g=parseInt(C.width||C.targetWidth||20),A=parseInt(C.tableColumnHeight||20);d.css("height",(g>A?A:g)+"pt"),new QRCode(d[0],{width:g>A?A:g,height:g>A?A:g,colorDark:"#000000",useSVG:!0,correctLevel:C.tableQRCodeLevel||0}).makeCode(u),a.html(d)}}catch(W){console.log(W),a.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}C.tableTextType==="sequence"&&a.html(E+1)}var L=p.getColumnStyler(C);if(L){var g=L(l[C.field],l,T,H);g&&Object.keys(g).forEach(function(J){a.css(J,g[J])})}s.append(a)}});var w=p.getRowStyler(H,D);if(w){var B=w(l,H);B&&Object.keys(B).forEach(function(C){s.css(C,B[C])})}return s},p.createEmptyRowTarget=function(I,l){var H=p.reconsitutionTableColumnTree(I),D=j.default("<tr></tr>");return H.rowColumns.filter(function(E){return E.checked}).forEach(function(E,s){var x=j.default("<td></td>");E.field&&x.attr("field",E.field),E.align&&x.css("text-align",E.align),E.vAlign&&x.css("vertical-align",E.vAlign),D.append(x)}),l&&l.options.tableBodyRowHeight&&D.find("td:not([rowspan])").css("height",l.options.tableBodyRowHeight+"pt"),D},p.getColumnsWidth=function(I,l){var H={},D=p.allAutoWidth(I),E=p.allFixedWidth(I);return I.rowColumns.filter(function(s){return s.checked}).forEach(function(s){if(s.fixed)H[s.id]=s.width;else{var x=l-E,w=s.width/D*(x>0?x:0);H[s.id]=w}}),H},p.resizeTableCellWidth=function(I,l,H){var D=p.reconsitutionTableColumnTree(l),E=p.getColumnsWidth(D,H);I.find("thead tr td[haswidth]").map(function(s,x){var w=j.default(x).attr("id"),B=E[w];j.default(x).css("width",B+"pt")})},p.allAutoWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?0:H[D.id]}),l},p.allFixedWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?H[D.id]:0}),l},p.reconsitutionTableColumnTree=function(I,l,H){var D=l||new G.a;D.colspan=0;for(var E=function(w){D.totalLayer=w+1,D[w]=I[w].columns,w==0&&I[w].columns.forEach(function(B){w==0&&(D.colspan+=B.colspan)})},s=0;s<I.length;s++)E(s);return D.rowColumns=p.getOrderdColumns(D),D},p.syncTargetWidthToOption=function(I){I.forEach(function(l){l.columns.forEach(function(H){H.hasWidth&&(H.width=H.targetWidth)})})},p.getGroupFieldsFormatter=function(I,l){var H=void 0;if(l.groupFields&&l.groupFields.length){var D=typeof l.groupFields=="string"?l.groupFields:JSON.stringify(l.groupFields);I.groupFieldsFormatter="function(groupData,options){ return "+D+" }"}if(l.groupFieldsFormatter&&(H=l.groupFieldsFormatter),I.groupFieldsFormatter)try{var E="groupFieldsFormatter="+I.groupFieldsFormatter;H=eval2(E)}catch(s){console.log(s)}return H},p.getGroupFormatter=function(I,l){var H=void 0;if(l.groupFormatter&&(H=l.groupFormatter),I.groupFormatter)try{var D="groupFormatter="+I.groupFormatter;H=eval2(D)}catch(E){console.log(E)}return H},p.getGroupFooterFormatter=function(I,l){var H=void 0;if(l.groupFooterFormatter&&(H=l.groupFooterFormatter),I.groupFooterFormatter)try{var D="groupFooterFormatter="+I.groupFooterFormatter;H=eval2(D)}catch(E){console.log(E)}return H},p.getFooterFormatter=function(I,l){var H=void 0;if(l.footerFormatter&&(H=l.footerFormatter),I.footerFormatter)try{var D="footerFormatter="+I.footerFormatter;H=eval2(D)}catch(E){console.log(E)}return H},p.getRowStyler=function(I,l){var H=void 0;if(l.rowStyler&&(H=l.rowStyler),I.rowStyler)try{var D="rowStyler="+I.rowStyler;H=eval2(D)}catch(E){console.log(E)}return H},p.getColumnStyler=function(I){var l=void 0;if(I.styler&&(l=I.styler),I.styler2)try{var H="styler="+I.styler2;l=eval2(H)}catch(D){console.log(D)}return l},p.getHeaderStyler=function(I){var l=void 0;if(I.stylerHeader&&(l=I.stylerHeader),I.stylerHeader)try{var H="stylerHeader="+I.stylerHeader;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnRenderFormatter=function(I){var l=void 0;if(I.renderFormatter&&(l=I.renderFormatter),I.renderFormatter)try{var H="renderFormatter="+I.renderFormatter;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnFormatter=function(I){var l=void 0;if(I.formatter&&(l=I.formatter),I.formatter2)try{var H="formatter="+I.formatter2;l=eval2(H)}catch(D){console.log(D)}return l},p.getOrderdColumns=function(I){let l={};for(let D=0;D<I.totalLayer;D++)l[D]=[],I[D].forEach((E,s)=>{l[D].push(...new Array(E.colspan).fill({...E,colspan:1}))});for(let D=0;D<I.totalLayer;D++)l[D].forEach((E,s)=>{for(let x=1;x<E.rowspan;x++)l[D+x].splice(s,0,{...E,rowspan:1})});let H=[];for(let D=0;D<I.totalLayer;D++)D>=I.totalLayer-1?l[D].forEach((E,s)=>{E.field||(E.field=H[s])}):l[D].forEach((E,s)=>{D==0?H.push(E.field||""):E.field&&(H[s]=E.field)});return this.rowColumns=l[I.totalLayer-1],l[I.totalLayer-1]},p}()},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){function U(v){this.top=v.top,this.left=v.left,this.height=v.height,this.width=v.width,this.bottomInLastPaper=v.bottomInLastPaper,this.beginPrintPaperIndex=v.beginPrintPaperIndex,this.printTopInPaper=v.printTopInPaper,this.endPrintPaperIndex=v.endPrintPaperIndex}return U.prototype.isPositionLeftOrRight=function(v){return this.top<=v&&this.top+this.height>v},U}()},function(tt,F,m){var G=function(){function o(){this.name="lineHeight"}return o.prototype.css=function(e,N){if(e&&e.length){if(N)return e.css("line-height",N+"pt"),"line-height:"+N+"pt";e[0].style.lineHeight=""}return null},o.prototype.createTarget=function(){return this.target=j.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
5
|
+
*/(function(tt,V){(function(f,G){tt.exports=G()})(Ge,function(){function f(w,v){return v={exports:{}},w(v,v.exports),v.exports}function G(w,v){var j=I.getNumbResult(w);if(!j)return w;v=v||{};var a=this.ch,m=this.ch_u,r=this.ch_f||"",d=this.ch_d||".",h=a.charAt(0),P=j.int,u=j.decimal,g=j.minus,A="",L="",W=g?r:"",J=function k(it,st,pt){it=I.getNumbResult(it).int;var It="",bt=arguments.length>1?arguments[1]:v.tenMin,vt=it.length;if(vt==1)return a.charAt(+it);if(vt<=4)for(var dt=0,yt=vt;yt--;){var mt=+it.charAt(dt);It+=bt&&vt==2&&dt==0&&mt==1?"":a.charAt(mt),It+=mt&&yt?m.charAt(yt):"",dt++}else{for(var gt=it.length/4>>0,Pt=it.length%4;Pt==0||!m.charAt(3+gt);)Pt+=4,gt--;var jt=it.substr(0,Pt),St=it.substr(Pt);It=k(jt,bt)+m.charAt(3+gt)+(St.charAt(0)=="0"?h:"")+k(St,St.length>4&&bt)}return It=I.clearZero(It,h)};if(u){u=I.clearZero(u,"0","$");for(var Y=0;Y<u.length;Y++)L+=a.charAt(+u.charAt(Y));L=L?d+L:""}if(A=J(P),v.ww&&m.length>5){var F=m.charAt(4),O=m.charAt(5),$=A.lastIndexOf(O);~$&&(A=A.substring(0,$).replace(new RegExp(O,"g"),F+F)+A.substring($))}return W+A+L}function B(w){w=w.toString();var v=w.split(this.ch_d),j=v[0].replace(this.ch_f,""),a=v[1],m=!!~v[0].indexOf(this.ch_f),r=this.ch_u.charAt(1),d=this.ch_u.charAt(4),h=this.ch_u.charAt(5);j=j.replace(new RegExp(d+"{2}","g"),h);for(var P=j.split(""),u=0,g=0,A=[],L=[],W=[],J=0;J<P.length;J++){var Y=P[J],F=0,O=0;if(~(F=this.ch.indexOf(Y)))F>0&&W.unshift(F);else if(~(O=this.ch_u.indexOf(Y))){var $=I.getDigit(O);u>O?(I.unshiftZero(W,$),I.centerArray(L,W)):O>=g?(J==0&&(W=[1]),I.centerArray(A,L,W),A.length>0&&I.unshiftZero(A,$),g=O):(W.length==0&&r==Y&&(W=[1]),I.centerArray(L,W),I.unshiftZero(L,I.getDigit(O)),u=O)}}I.centerArray(A,L,W).reverse(),A.length==0&&A.push(0);var k=0;if(a){A.push("."),k="0.";for(var J=0;J<a.length;J++)k+=this.ch.indexOf(a.charAt(J)),A.push(this.ch.indexOf(a.charAt(J)));k=+k}return m&&A.unshift("-"),parseFloat(A.join(""))}function y(w,v){var j={ww:!0,complete:!1,outSymbol:!0},a=I.getNumbResult(w),m=this.ch.charAt(0);if(v=typeof v=="object"?v:{},!a)return w;v=I.extend(j,v);var r=a.num,d=a.decimal||"",h=v.outSymbol?this.m_t:"",P=d?"":this.m_z,u="";if(v.complete){for(var g=1;g<this.m_u.length;g++)u+=G.call(this,d.charAt(g-1)||"0")+this.m_u.charAt(g);P=G.call(this,r,v)+this.m_u.charAt(0)}else{if(d=d.substr(0,this.m_u.length-1),d=I.clearZero(d,"0","$"))for(var A,g=0;g<this.m_u.length-1;g++)d.charAt(g)&&d.charAt(g)!="0"&&(u+=G.call(this,d.charAt(g))+this.m_u.charAt(g+1),A=!1),d.charAt(g)!=="0"||A||(g==0&&r=="0"||(u+=m),A=!0);r=="0"&&!P&&u||(P=G.call(this,r,v)+this.m_u.charAt(0)+P)}return h+P+u}function p(w,v){return{encodeS:function(j,a){return a=I.extend({ww:!0,tenMin:!0},a),l.CL.call(w,j,a)},encodeB:function(j,a){return a=I.extend({ww:!0},a),l.CL.call(v,j,a)},decodeS:function(){return l.unCL.apply(w,arguments)},decodeB:function(){return l.unCL.apply(v,arguments)},toMoney:function(j,a){return a=I.extend({ww:!0},a),l.toMoney.call(v,j,a)}}}var I=f(function(w,v){var j=/^([+-])?0*(\d+)(\.(\d+))?$/,a=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=v.e2ten=function(d){var h=a.exec(d.toString());if(!h)return d;var P=h[2],u=h[4]||"",g=h[5]?+h[5]:0;if(g>0){var A=u.substr(0,g);A=A.length<g?A+new Array(g-A.length+1).join("0"):A,u=u.substr(g),P+=A}else{g=-g;var L=P.length-g;L=L<0?0:L;var W=P.substr(L,g);W=W.length<g?new Array(g-W.length+1).join("0")+W:W,P=P.substring(0,L),u=W+u}return P=P==""?"0":P,(h[1]=="-"?"-":"")+P+(u?"."+u:"")};v.getNumbResult=function(d){var h=j.exec(d.toString());if(!h&&a.test(d.toString())&&(h=j.exec(m(d.toString()))),h)return{int:h[2],decimal:h[4],minus:h[1]=="-",num:h.slice(1,3).join("")}},v.centerArray=function d(h,P){if(h.splice.apply(h,[0,P.length].concat(P.splice(0,P.length))),arguments.length>2){var u=[].slice.call(arguments,2);u.unshift(h),d.apply(null,u)}return h};var r=v.hasAttr=function(d,h){return Object.prototype.hasOwnProperty.call(d,h)};v.extend=function(d){for(var h,P=arguments[0]||{},u=Array.prototype.slice.call(arguments,1),g=0;g<u.length;g++){var A=u[g];for(h in A)r(A,h)&&(P[h]=A[h])}return P},v.getDigit=function(d){return d>=5?4*(d-4)+4:d},v.unshiftZero=function(d,h){if(h==null&&(h=1),!(h<=0))for(;h--;)d.unshift(0)},v.clearZero=function(d,h,P){if(d==null)return"";var u=~"*.?+$^[](){}|\\/".indexOf(h)?"\\"+h:h,g=new RegExp("^"+u+"+"),A=new RegExp(u+"+$"),L=new RegExp(u+"{2}","g");return d=d.toString(),P=="^"&&(d=d.replace(g,"")),P&&P!="$"||(d=d.replace(A,"")),P&&P!="nto1"||(d=d.replace(L,h)),d}}),l=(I.e2ten,I.getNumbResult,I.centerArray,I.hasAttr,I.extend,I.getDigit,I.unshiftZero,I.clearZero,{CL:G,unCL:B,toMoney:y}),H=p,D={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},N={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},s={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},x={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},T={s:D,b:N,hk_s:s,hk_b:x},E=function(w){this.lang=w,this.encode=function(){return l.CL.apply(w,arguments)},this.decode=function(){return l.unCL.apply(w,arguments)},this.toMoney=function(){return l.toMoney.apply(w,arguments)}};E.langs=T,E.cn=H(T.s,T.b),E.hk=H(T.hk_s,T.hk_b);var U=E;return U})})(qt);const Nt=qt.exports;function Qe(tt){return function(V){var f=function(G){G.removePrintElementTypes("defaultModule"),G.addPrintElementTypes("defaultModule",[new tt.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(B,y){return"\u8FD9\u91CC\u81EA\u5B9A\u4E49\u7EDF\u8BA1\u811A\u4FE1\u606F"},columns:[[{title:"\u884C\u53F7",fixed:!0,rowspan:2,field:"id",width:70},{title:"\u4EBA\u5458\u4FE1\u606F",colspan:2},{title:"\u9500\u552E\u7EDF\u8BA1",colspan:2}],[{title:"\u59D3\u540D",align:"left",field:"name",width:100},{title:"\u6027\u522B",field:"gender",width:100},{title:"\u9500\u552E\u6570\u91CF",field:"count",width:100},{title:"\u9500\u552E\u91D1\u989D",field:"amount",width:100}]]},{tid:"defaultModule.html",title:"html",formatter:function(B,y){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new tt.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:f}}}function At(tt,V){return V!=null&&typeof Symbol<"u"&&V[Symbol.hasInstance]?!!V[Symbol.hasInstance](tt):tt instanceof V}function Tt(tt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tt=function(f){return typeof f}:Tt=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Tt(tt)}window.$=window.jQuery=S.default;window.autoConnect=!0;window.io=Ze.io;window.eval2=eval;var Et=function(tt){var V={};function f(B){if(V[B])return V[B].exports;var y=V[B]={i:B,l:!1,exports:{}};return tt[B].call(y.exports,y,y.exports,f),y.l=!0,y.exports}var G=(f.m=tt,f.c=V,f.d=function(B,y,p){f.o(B,y)||Object.defineProperty(B,y,{enumerable:!0,get:p})},f.r=function(B){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},f.t=function(B,y){if(1&y&&(B=f(B)),8&y||4&y&&Tt(B)=="object"&&B&&B.__esModule)return B;var p=Object.create(null);if(f.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:B}),2&y&&typeof B!="string")for(var I in B)f.d(p,I,function(l){return B[l]}.bind(null,I));return p},f.n=function(B){var y=B&&B.__esModule?function(){return B.default}:function(){return B};return f.d(y,"a",y),y},f.o=function(B,y){return Object.prototype.hasOwnProperty.call(B,y)},f.p="/",f(f.s=21));return G.n=f,G}([function(tt,V,f){var G;f.d(V,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(G={},{on:function(y,p){G[y]||(G[y]=[]),G[y].push(p)},id:0,off:function(y,p){var I=G[y];if(I){for(var l=-1,H=0;H<I.length;H++)if(I[H]===p){l=H;break}l<0||G[y].splice(l,1)}},trigger:function(y){var p=G[y];if(p&&p.length)for(var I=Array.prototype.slice.call(arguments,1),l=0;l<p.length;l++)p[l].apply(this,I)},clear:function(y){G[y]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(y){return y+"-"+this.getId()}}),hinnn.form={serialize:function(y){var p=S.default(y).serializeArray(),I={};return S.default.each(p,function(){I[this.name]?Object.prototype.toString.call(I[this.name])=="[object Array]"?I[this.name].push(this.value):I[this.name]=[I[this.name],this.value]:I[this.name]=this.value}),I}},hinnn.pt={toPx:function(y){return y*(this.getDpi()/72)},toMm:function(y){return hinnn.px.toMm(hinnn.pt.toPx(y))},dpi:0,getDpi:function(){if(!this.dpi){var y=document.getElementById("hinnnDpi");y?this.dpi=y.offsetHeight:(y=document.createElement("DIV"),y.id="hinnnDpi",y.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(y),this.dpi=y.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.pt.getDpi()" ');return this.dpi}},hinnn.px={toPt:function(y){return y*(72/this.getDpi())},toMm:function(y){return Math.round(y/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var y=document.getElementById("hinnnDpi");y?this.dpi=y.offsetHeight:(y=document.createElement("DIV"),y.id="hinnnDpi",y.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(y),this.dpi=y.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.px.getDpi()" ');return this.dpi}},hinnn.mm={toPt:function(y){return 72/25.4*y},toPx:function(y){return hinnn.pt.toPx(hinnn.mm.toPt(y))}},hinnn.throttle=function(B,y,p){var I,l,H,D=null,N=0;p||(p={});var s=function(){N=p.leading===!1?0:_.now(),D=null,H=B.apply(I,l),D||(I=l=null)};return function(){var x=_.now();N||p.leading!==!1||(N=x);var T=y-(x-N);return I=this,l=arguments,T<=0||T>y?(D&&(clearTimeout(D),D=null),N=x,H=B.apply(I,l),D||(I=l=null)):D||p.trailing===!1||(D=setTimeout(s,T)),H}},hinnn.debounce=function(B,y,p){var I,l,H,D,N,s=function x(){var T=_.now()-D;T<y&&T>=0?I=setTimeout(x,y-T):(I=null,p||(N=B.apply(H,l),I||(H=l=null)))};return function(){H=this,l=arguments,D=_.now();var x=p&&!I;return I||(I=setTimeout(s,y)),x&&(N=B.apply(H,l),H=l=null),N}},hinnn.toUtf8=function(B){var y,p,I,l;for(y="",I=B.length,p=0;p<I;p++)(l=B.charCodeAt(p))>=1&&l<=127?y+=B.charAt(p):l>2047?(y+=String.fromCharCode(224|l>>12&15),y+=String.fromCharCode(128|l>>6&63),y+=String.fromCharCode(128|l>>0&63)):(y+=String.fromCharCode(192|l>>6&31),y+=String.fromCharCode(128|l>>0&63));return y},hinnn.groupBy=function(B,y,p){var I={};return B.forEach(function(l){var H=JSON.stringify(p(l));I[H]||(I[H]={rows:[]},y.forEach(function(D){I[H][D]=l[D]})),I[H].rows.push(l)}),Object.keys(I).map(function(l){return I[l]})},hinnn.orderBy=function(B,y){if(B.length<=1)return B;var p=Math.floor(B.length/2),I=B.splice(p,1)[0],l=[],H=[],D=!0,N=!1,s=void 0;try{for(var x=B[Symbol.iterator](),T;!(D=(T=x.next()).done);D=!0){var E=T.value;y(E)<y(I)?l.push(E):H.push(E)}}catch(U){N=!0,s=U}finally{try{!D&&x.return!=null&&x.return()}finally{if(N)throw s}}return this.orderBy(l,y).concat([I],this.orderBy(H,y))},hinnn.dateFormat=function(B,y){if(B)try{var p=typeof B=="string"?new Date(B):B,I={"M+":p.getMonth()+1,"d+":p.getDate(),"H+":p.getHours(),"m+":p.getMinutes(),"s+":p.getSeconds(),"q+":Math.floor((p.getMonth()+3)/3),S:p.getMilliseconds()};for(var l in/(y+)/.test(y)&&(y=y.replace(RegExp.$1,(p.getFullYear()+"").substr(4-RegExp.$1.length))),I)new RegExp("("+l+")").test(y)&&(y=y.replace(RegExp.$1,RegExp.$1.length==1?I[l]:("00"+I[l]).substr((""+I[l]).length)));return y}catch(H){return console.log(H),""}return""},hinnn.numFormat=function(B,y){if(B!=null)try{var p=typeof B=="string"?parseFloat(B):B,I=parseInt(y);return I>0?p.toFixed(I):parseInt(p.toString())}catch(l){return console.log(l),""}return""},hinnn.toUpperCase=function(B,y){if(!Nt)return y;var p=y;switch(B){case"0":p=Nt.cn.encodeS(y);break;case"1":p=Nt.cn.encodeS(y,{tenMin:!1});break;case"2":p=Nt.cn.encodeB(y,{tenMin:!0});break;case"3":p=Nt.cn.encodeB(y);break;case"4":p=Nt.cn.toMoney(y,{tenMin:!0});break;case"5":p=Nt.cn.toMoney(y);break;case"6":p=Nt.cn.toMoney(y,{complete:!0});break;case"7":p=Nt.cn.toMoney(y,{complete:!0,outSymbol:!1});break}return p}},function(tt,V,f){f.d(V,"a",function(){return B});var G=f(9),B=function(){function y(){}return y.prototype.init=function(p){p&&S.default.extend(this,p)},y.prototype.register=function(p){this.init(p);var I=this,l=I.getHooks("init");l&&l.forEach(H=>{H.run({Config:I,OptionItems:G,ElementTypes:Et.ElementTypes,hinnn,hiprint:Et})})},y.prototype.getHooks=function(p){return this.pluginsList().reduce((I,l)=>I.concat(l.hooks.filter(H=>H.hook===p)),[])},y.prototype.pluginsList=function(){var p=this;return this.plugins?this.plugins.filter(I=>p.versionCheck(I)):[]},y.prototype.versionCheck=function(p){p.leastHiprintVersion.split(".").length!==3&&console.error(`[${p.name}] has a malformed leastHiprintVersion of ${p.leastHiprintVersion}. Please tell the developer to update.`);const I=y.instance.version.split("."),l=parseInt(I[0]),H=parseInt(I[1]),D=parseInt(I[2]),N=p.leastHiprintVersion.split("."),s=parseInt(N[0]),x=parseInt(N[1]),T=parseInt(N[2]);let E=!1;return l>s&&(E=!0),l===s&&H>x&&(E=!0),l===s&&H===x&&D>=T&&(E=!0),E||console.error(`Plugin [${p.name}] requires "@svelte-hiprint/hiprint" version ${p.leastHiprintVersion} and you are using ${y.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),E},y.prototype.on=function(p,I){hinnn.event.on(p,I)},y.prototype.clear=function(p){hinnn.event.clear(p)},y.prototype.registerItems=function(p){p.forEach(function(I){G.a.registerItem(new I)})},Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y,window.HIPRINT_CONFIG&&S.default.extend(y._instance,HIPRINT_CONFIG),y._instance.optionItems&&y._instance.optionItems.forEach(function(I){G.a.registerItem(new I)})),y._instance},enumerable:!0,configurable:!0}),y}()},function(tt,V,f){var G=function(){function y(p){this.printElement=p}return y.prototype.updatePosition=function(p,I){this.left=p,this.top=I},y}();f.d(V,"a",function(){return B});var B=function(){function y(){this.printTemplateContainer={},this.A1={width:841,height:594},this.A2={width:420,height:594},this.A3={width:420,height:297},this.A4={width:210,height:297},this.A5={width:210,height:148},this.A6={width:105,height:148},this.A7={width:105,height:74},this.A8={width:52,height:74},this.B1={width:1e3,height:707},this.B2={width:500,height:707},this.B3={width:500,height:353},this.B4={width:250,height:353},this.B5={width:250,height:176},this.B6={width:125,height:176},this.B7={width:125,height:88},this.B8={width:62,height:88},this.dragLengthCNum=function(p,I){var l=.75*p;return I&&(I=I),Math.round(l/I)*I}}return Object.defineProperty(y,"instance",{get:function(){return this._instance||(this._instance=new y),this._instance},enumerable:!0,configurable:!0}),y.prototype.getDragingPrintElement=function(){return y.instance.dragingPrintElement},y.prototype.setDragingPrintElement=function(p){y.instance.dragingPrintElement=new G(p)},y.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var I=16*Math.random()|0;return(p=="x"?I:3&I|8).toString(16)})},y.prototype.imageToBase64=function(p){if(S.default(p).attr("src").indexOf("base64")==-1)try{var I=document.createElement("canvas"),l=new Image;l.src=p.attr("src"),I.width=l.width,I.height=l.height,I.getContext("2d").drawImage(l,0,0),p.attr("src",I.toDataURL("image/png"))}catch{try{this.xhrLoadImage(p)}catch(D){console.log(D)}}},y.prototype.xhrLoadImage=function(p){},y.prototype.transformImg=function(p){var I=this;p.map(function(l,H){I.imageToBase64(S.default(H))})},y.prototype.getPrintTemplateById=function(p){return y.instance.printTemplateContainer[p]},y.prototype.setPrintTemplateById=function(p,I){return y.instance.printTemplateContainer[p]=I},y}()},function(tt,V,f){var G=function(){return function(){}}();f.d(V,"a",function(){return B});var B=function(){function y(p){p=p||{},this.left=p.left,this.top=p.top,this.topInDesign=this.top,this.height=p.height,this.width=p.width,this.transform=p.transform,this.init(p)}return y.prototype.setDefault=function(p){this.defaultOptions=p,this.initSize()},y.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},y.prototype.initSizeByHtml=function(p,I){this.width||this.setWidth(p),this.height||this.setHeight(I)},y.prototype.getRectInfo=function(){var p={w:0,h:0,diffW:0,diffH:0};if(this.transform){var I=this.transform*Math.PI/180,l=this.width,H=this.height,D=Math.sin(I),N=Math.cos(I),s=Math.abs(l*N)+Math.abs(H*D),x=Math.abs(l*D)+Math.abs(H*N),T=(l-s)/2,E=(H-x)/2;p.w=s,p.h=x,p.diffW=T,p.diffH=E}return p},y.prototype.getLeft=function(){return this.left},y.prototype.posLeft=function(){var p=this.left;return this.transform&&(p+=this.getRectInfo().diffW),Math.floor(p*10)/10},y.prototype.setRotate=function(p){p!=null&&(this.transform=p)},y.prototype.displayLeft=function(p){return this.transform&&p?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},y.prototype.setLeft=function(p){p!=null&&(this.left=p)},y.prototype.getTop=function(){return this.top},y.prototype.posTop=function(){var p=this.top;return this.transform&&(p+=this.getRectInfo().diffH),Math.floor(p*10)/10},y.prototype.getTopInDesign=function(){return this.topInDesign},y.prototype.displayTop=function(p){return this.transform&&p?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},y.prototype.setTop=function(p){p!=null&&(this.top=p)},y.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},y.prototype.getHeight=function(){if(this.transform){var p=this.getRectInfo();return p.h+p.diffH}return this.height},y.prototype.displayHeight=function(){return this.height+"pt"},y.prototype.setHeight=function(p){p!=null&&(this.height=p)},y.prototype.getWidth=function(){if(this.transform){var p=this.getRectInfo();return p.w+p.diffW}return this.width},y.prototype.displayWidth=function(){return this.width+"pt"},y.prototype.setWidth=function(p){p!=null&&(this.width=p)},y.prototype.getValueFromOptionsOrDefault=function(p){return this[p]==null?this.defaultOptions[p]:this[p]},y.prototype.getPrintElementOptionEntity=function(){var p=new G,I=this;return Object.keys(this).filter(function(l){return l!="topInDesign"}).forEach(function(l){if(typeof I[l]!="number"&&typeof I[l]!="string"&&!["fields"].includes(l)&&Tt(I[l])!=Tt(!0)||(p[l]=I[l]),l=="style"){p.style={};var H=I[l];H&&Object.keys(H).forEach(function(D){typeof H[D]!="number"&&typeof H[D]!="string"||(p.style[D]=H[D])})}}),p},y.prototype.init=function(p){var I=this;p&&Object.keys(p).forEach(function(l){I[l]=p[l]})},y}()},function(tt,V,f){f.d(V,"a",function(){return D});var G=f(17),B=f(1),y=f(9),p=f(6),I=f(0),l=f(8),H=f(2),D=function(){function N(s){this.printElementType=s,this.id=H.a.instance.guid()}return N.prototype.getConfigOptionsByName=function(s){return B.a.instance[s]},N.prototype.getProxyTarget=function(s){s&&this.SetProxyTargetOption(s);var x=this.getData(),T=this.createTarget(this.getTitle(),x);return this.updateTargetSize(T),this.css(T,x),T},N.prototype.SetProxyTargetOption=function(s){this.options.getPrintElementOptionEntity(),S.default.extend(this.options,s),this.copyFromType()},N.prototype.showInPage=function(s,x){var T=this.options.showInPage,E=this.options.unShowInPage;if(T){if(T=="first")return s==0;if(s==x-1&&E=="last")return!1;if(T=="odd")return(s!=0||E!="first")&&s%2==0;if(T=="even")return s%2==1;if(T=="last")return s==x-1}return(s!=0||E!="first")&&(s!=x-1||E!="last")},N.prototype.setTemplateId=function(s){this.templateId=s},N.prototype.setPanel=function(s){this.panel=s},N.prototype.getField=function(){return this.options.field||this.printElementType.field},N.prototype.getTitle=function(){return this.printElementType.title},N.prototype.updateSizeAndPositionOptions=function(s,x,T,E){this.options.setLeft(s),this.options.setTop(x),this.options.copyDesignTopFromTop(),this.options.setWidth(T),this.options.setHeight(E)},N.prototype.initSizeByHtml=function(s){if(s&&s.length){this.createTempContainer();var x=s.clone();this.getTempContainer().append(x),this.options.initSizeByHtml(parseInt(I.a.px.toPt(x.width()).toString()),parseInt(I.a.px.toPt(x.height()).toString())),this.removeTempContainer()}},N.prototype.updateTargetSize=function(s){s.css("width",this.options.displayWidth()),s.css("height",this.options.displayHeight())},N.prototype.updateTargetWidth=function(s){s.css("width",this.options.displayWidth())},N.prototype.getDesignTarget=function(s){var x=this,T=0;return this.designTarget=this.getHtml(s)[0].target,this.designPaper=s,this.designTarget.click(function(E){E.timeStamp-T>500&&I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),T=E.timeStamp}),this.designTarget.dblclick(function(E){var U=x.designTarget.find(".hiprint-printElement-content");if(U){var w=x.designTarget.find(".resize-panel");x.printElementType.type=="text"&&!(x.options.textType&&x.options.textType!="text")&&(x._editing=!0,x.designTarget.hidraggable("update",{draggable:!1}),U.css("cursor","text"),U.addClass("editing"),x.designTarget.addClass("editing"),U.click(function(v){x._editing&&v.stopPropagation()}),U.attr("contenteditable",!0),w&&w.css("display","none"),x.selectEnd(U))}}),this.designTarget},N.prototype.selectEnd=function(s){if(s.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var x=document.createRange();x.selectNodeContents(s[0]),x.collapse(!1);var T=window.getSelection();T.removeAllRanges(),T.addRange(x)}else if(typeof document.body.createTextRange<"u"){var x=document.body.createTextRange();x.moveToElementText(s[0]),x.collapse(!1),x.select()}},N.prototype.updateByContent=function(s){var x=this,T=x.designTarget.find(".hiprint-printElement-content");if(x._editing){T&&T.css("cursor","")&&T.removeClass("editing")&&T.removeAttr("contenteditable"),x.designTarget.removeClass("editing");var E=T.text(),U=x.options.title+"\uFF1A";E.startsWith(U)&&x.options.field?E.length>U.length?x.options.testData=E.split("\uFF1A")[1]:(x.options.title=E,x.options.testData=""):x.options.title=E,s||I.a.event.trigger(x.getPrintElementSelectEventKey(),{printElement:x}),x.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+x.templateId,"\u7F16\u8F91\u4FEE\u6539"),x._editing=!1;var w=x.options.draggable==null||x.options.draggable==!0;x.designTarget.hidraggable("update",{draggable:w})}},N.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},N.prototype.design=function(s,x){var T=this;this.designTarget.hidraggable({draggable:T.options.draggable,axis:T.options.axis?T.options.axis:void 0,designTarget:T,onDrag:function(U,w,v){var j=T.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&h.designTarget.children().last().hasClass("selected")&&!h.printElementType.type.includes("table")}),a=j.length>1,m=!T.designTarget.children().last().hasClass("selected");if(a){var r=w-T.options.left,d=v-T.options.top;j.forEach(function(h){h.updateSizeAndPositionOptions(r+h.options.getLeft(),d+h.options.getTop()),h.designTarget.css("left",h.options.displayLeft()),h.designTarget.css("top",h.options.displayTop()),h.createLineOfPosition(x)}),m&&(T.updateSizeAndPositionOptions(w,v),T.createLineOfPosition(x))}else T.updateSizeAndPositionOptions(w,v),T.createLineOfPosition(x);H.a.instance.changed=!0},moveUnit:"pt",minMove:B.a.instance.movingDistance,onBeforeDrag:function(U){H.a.instance.draging=!0,T.designTarget.focus(),T.createLineOfPosition(x)},getScale:function(){return T.designPaper.scale||1},onStopDrag:function(U){H.a.instance.changed&&I.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u79FB\u52A8"),H.a.instance.draging=!1,H.a.instance.changed=!1;var w=T.panel.printElements.filter(function(v){return v.designTarget.children().last().css("display")=="block"&&!v.printElementType.type.includes("table")});w.length>1?w.forEach(function(v){v.removeLineOfPosition()}):T.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){T.removeLineOfPosition(),I.a.event.trigger("hiprintTemplateMouseUp_"+x.templateId)},300)}),this.designTarget.hicontextMenu(T.panel.getContextMenuList(T)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,x)},N.prototype.getPrintElementEntity=function(s){return s?new G.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new G.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},N.prototype.submitOption=function(){var s=this,x=this.getConfigOptions();x&&x.tabs&&x.tabs.length?this.getPrintElementOptionTabs().forEach(function(T){T.list.forEach(function(E){var U=E.getValue(),w=E.name=="textType"&&s.options[E.name]!==U,v=E.name=="axis"&&s.options[E.name]!==U,j=E.name=="draggable"&&s.options[E.name]!==U;U&&Tt(U)=="object"?Object.keys(U).forEach(function(a){s.options[a]=U[a]}):s.options[E.name]=U,w&&s.setResizePanel(),v&&s.designTarget.hidraggable("update",{axis:U}),j&&s.designTarget.hidraggable("update",{draggable:U})})}):this.getPrintElementOptionItems().forEach(function(T){var E=T.getValue(),U=T.name=="textType"&&s.options[T.name]!==E,w=T.name=="axis"&&s.options[T.name]!==E,v=T.name=="draggable"&&s.options[T.name]!==E;E&&Tt(E)=="object"?Object.keys(E).forEach(function(j){s.options[j]=E[j]}):s.options[T.name]=E,U&&s.setResizePanel(),w&&s.designTarget.hidraggable("update",{axis:E}),v&&s.designTarget.hidraggable("update",{draggable:E})}),this.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},N.prototype.updateOption=function(s,x,T){try{var E=this,U=this.getConfigOptions(),w=["draggable"];U&&U.tabs&&U.tabs.length?U.tabs.forEach(function(v){v.options.forEach(function(j){w.push(j.name)})}):w=U.supportOptions.map(function(v){return v.name}),w&&w.includes(s)&&(this.options[s]=x,s=="draggable"&&E.designTarget.hidraggable("update",{draggable:x}),s=="widthHeight"&&(x.width&&(this.options.width=x.width),x.height&&(this.options.height=x.height),x.widthHeightSync&&(this.options.widthHeightSync=x.widthHeightSync)),s=="coordinate"&&(x.left&&(this.options.left=x.left),x.top&&(this.options.top=x.top),x.coordinateSync&&(this.options.coordinateSync=x.coordinateSync)),this.updateDesignViewFromOptions(),T||(I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),I.a.event.trigger(E.getPrintElementSelectEventKey(),{printElement:E})))}catch(v){console.log("updateOption error",v)}},N.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||B.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||B.a.instance.qrcode.showPoints:this.options.showPoints||B.a.instance.text.showPoints},N.prototype.setResizePanel=function(){var s=this,x=this.designPaper;this.designTarget.hireizeable({showPoints:s.getReizeableShowPoints(),draggable:s.options.draggable,showSizeBox:B.a.instance.showSizeBox,getScale:function(){return s.designPaper.scale||1},onBeforeResize:function(){H.a.instance.draging=!0},onResize:function(E,U,w,v,j,a){a!=null?s.onRotate(E,a):s.onResize(E,U,w,v,j),s.createLineOfPosition(x)},onStopResize:function(E){I.a.event.trigger("hiprintTemplateDataChanged_"+s.templateId,E?"\u65CB\u8F6C":"\u5927\u5C0F"),H.a.instance.draging=!1,s.removeLineOfPosition()}}),this.options.draggable==!1&&S.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},N.prototype.onRotate=function(s,x){this.options.setRotate(x)},N.prototype.onResize=function(s,x,T,E,U){this.updateSizeAndPositionOptions(U,E,T,x)},N.prototype.getOrderIndex=function(){return this.options.getTop()},N.prototype.getHtml=function(s,x,T){var E=0;this.setCurrenttemplateData(x);var U=[],w=this.getBeginPrintTopInPaperByReferenceElement(s),v=s.getPaperFooter(E);this.isHeaderOrFooter()||this.isFixed()||w>v&&s.panelPageRule!="none"&&(U.push(new p.a({target:void 0,printLine:void 0})),w=w-v+s.paperHeader,E++,v=s.getPaperFooter(E));var j=this.getData(x),a=this.createTarget(this.getTitle(),j,T);return this.updateTargetSize(a),this.css(a,j),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",w+"pt"),U.push(new p.a({target:a,printLine:w+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:w+this.options.getHeight(),printTopInPaper:w})})),x&&this.options.pageBreak&&(U[0].target.css("top",s.paperHeader+"pt"),U[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,U[0].printLine=s.paperHeader,U[0].referenceElement.bottomInLastPaper=0,U[0].referenceElement.printTopInPaper=s.paperHeader,U.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),U},N.prototype.getHtml2=function(s,x,T){var E=0;this.setCurrenttemplateData(x);var U=[],w=this.getBeginPrintTopInPaperByReferenceElement(s),v=s.getPaperFooter(E);this.isHeaderOrFooter()||this.isFixed()||(s.panelPageRule!="none"&&w>v&&(U.push(new p.a({target:void 0,printLine:void 0})),w=w-v+s.paperHeader,E++,v=s.getPaperFooter(E)),w<=v&&w+this.options.getHeight()>v&&s.panelPageRule!="none"&&(U.push(new p.a({target:void 0,printLine:void 0})),w=s.paperHeader,E++,v=s.getPaperFooter(E)));var j=this.getData(x),a=this.createTarget(this.getTitle(),j);return s.panelPageRule=="none"&&w+this.options.getHeight()>v&&this.updatePanelHeight(w+this.options.getHeight(),s),this.updateTargetSize(a),this.css(a,j),a.css("position","absolute"),a.css("left",this.options.displayLeft()),a.css("top",w+"pt"),U.push(new p.a({target:a,printLine:w+this.options.getHeight(),referenceElement:new l.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:s.index,bottomInLastPaper:w+this.options.getHeight(),printTopInPaper:w})})),x&&this.options.pageBreak&&(U[0].target.css("top",s.paperHeader+"pt"),U[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-s.paperHeader,U[0].printLine=s.paperHeader,U[0].referenceElement.bottomInLastPaper=0,U[0].referenceElement.printTopInPaper=s.paperHeader,U.unshift(new p.a({target:a,printLine:s.height,referenceElement:new l.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:s.index,bottomInLastPaper:s.height,printTopInPaper:s.paperHeader})}))),U},N.prototype.updatePanelHeight=function(s,x){if(this.panel.panelPageRule=="none"){var T=I.a.pt.toMm(s);x.paperFooter=s,x.target.css("height",T+"mm"),x.target.attr("original-height",T)}},N.prototype.getBeginPrintTopInPaperByReferenceElement=function(s){var x=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?x:s.referenceElement.isPositionLeftOrRight(x)?s.referenceElement.printTopInPaper+(x-s.referenceElement.top):s.referenceElement.bottomInLastPaper+(x-(s.referenceElement.top+s.referenceElement.height))},N.prototype.css=function(s,x){var T=this,E=this.getConfigOptions();if(E){var U;E.tabs&&E.tabs.length?(U=[],E.tabs.forEach(function(w){U=U.concat(w.options)})):U=E.supportOptions,U&&U.forEach(function(w){var v=y.a.getItem(w.name);v&&v.css&&v.css(s,T.options.getValueFromOptionsOrDefault(w.name))})}this.stylerCss(s,x)},N.prototype.stylerCss=function(s,x){var T=this.getStyler();if(T){var E=T(x,this.options,s,this._currenttemplateData);E&&Object.keys(E).forEach(function(U){s.css(U,E[U])})}},N.prototype.getData=function(s){var x=this.getField();return s?x&&x.split(".").reduce((T,E)=>T?T[E]:s?s[E]:"",!1)||"":this.printElementType.getData()},N.prototype.copyFromType=function(){var s=this.options,x=this.printElementType,T=this.getConfigOptions(),E=[];return T&&T.tabs&&T.tabs.length?T.tabs.forEach(function(U){U.options.forEach(function(w){E.push(w.name)})}):E=T.supportOptions.map(function(U){return U.name}),Object.keys(x).forEach(function(U){x[U]&&U!="columns"&&E.indexOf(U)>-1&&(s[U]=Tt(x[U])=="function"?x[U].toString():x[U])}),s},N.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var s=[],x=this.getConfigOptions();if(x){var T=x.tabs;T&&T.forEach(function(E,U){s.push({name:E.name,list:[]}),E.options.filter(function(w){return!w.hidden}).forEach(function(w){var v=y.a.getItem(w.name);s[U].list.push(v)})})}return this._printElementOptionTabs=s,this._printElementOptionItems=void 0,this._printElementOptionTabs},N.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var s=[],x=this.getConfigOptions();if(x){var T;x.tabs&&x.tabs.length?(T=[],x.tabs.forEach(function(E){E=E.concat(E.options)})):T=x.supportOptions,T&&T.filter(function(E){return!E.hidden}).forEach(function(E){var U=y.a.getItem(E.name);s.push(U)})}return this._printElementOptionItems=this.filterOptionItems(s.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},N.prototype.getPrintElementOptionItemsByName=function(s){var x=[],T=this.getConfigOptionsByName(s);if(T){var E;T.tabs&&T.tabs.length?(E=[],T.tabs.forEach(function(U){E=E.concat(U.options)})):E=T.supportOptions,E&&E.filter(function(U){return!U.hidden}).forEach(function(U){var w=y.a.getItem(U.name);x.push(w)})}return x.concat()},N.prototype.filterOptionItems=function(s){return this.printElementType.field?s.filter(function(x){return x.name!="field"}):s},N.prototype.createTempContainer=function(){this.removeTempContainer(),S.default("body").append(S.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},N.prototype.removeTempContainer=function(){S.default(".hiprint_temp_Container").remove()},N.prototype.getTempContainer=function(){return S.default(".hiprint_temp_Container")},N.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},N.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},N.prototype.setCurrenttemplateData=function(s){this._currenttemplateData=s},N.prototype.isFixed=function(){return this.options.fixed},N.prototype.onRendered=function(s,x){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(x,this.options,s.getTarget())},N.prototype.createLineOfPosition=function(s){var x=S.default(".toplineOfPosition.id"+this.id),T=S.default(".topPosition.id"+this.id),E=S.default(".leftlineOfPosition.id"+this.id),U=S.default(".leftPosition.id"+this.id),w=S.default(".rightlineOfPosition.id"+this.id),v=S.default(".bottomlineOfPosition.id"+this.id),j=B.a.instance;if(x.length)x.css("top",this.options.displayTop(!0));else{var x=S.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');x.css("top",this.options.displayTop(!0)),x.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(x)}if(j.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),T.length)T.toggleClass("topPosition-lineMode",j.positionLineMode),T.text(this.options.posTop()+(j.positionUnit?"pt":"")),T.css("top",this.options.posTop()-T.height()+"pt"),j.positionLineMode?T.css("left",this.options.posLeft()-T.width()/2+"pt"):T.css("left",this.options.posLeft()+2+"pt");else{var T=S.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');T.toggleClass("topPosition-lineMode",j.positionLineMode),T.text(this.options.posTop()+(j.positionUnit?"pt":"")),j.positionLineMode?T.css("left",this.options.posLeft()-T.width()/2+"pt"):T.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(T),T.css("top",this.options.posTop()-T.height()+"pt")}if(E.length)E.css("left",this.options.displayLeft(!0));else{var a=S.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');a.css("left",this.options.displayLeft(!0)),a.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}if(j.showPosition)if(U.length)U.text(this.options.posLeft()+(j.positionUnit?"pt":"")),U.toggleClass("leftPosition-lineMode",j.positionLineMode),U.css("left",this.options.posLeft()-U.width()+"pt"),j.positionLineMode?U.css("top",this.options.posTop()-U.height()/3+"pt"):U.css("top",this.options.posTop()+2+"pt");else{var U=S.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');U.text(this.options.posLeft()+(j.positionUnit?"pt":"")),U.toggleClass("leftPosition-lineMode",j.positionLineMode),j.positionLineMode?U.css("top",this.options.posTop()-U.height()/3+"pt"):U.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(U),U.css("left",this.options.posLeft()-U.width()+"pt")}if(w.length)w.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var m=S.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');m.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),m.css("height",s.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}if(v.length)v.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var r=S.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');r.css("top",this.options.getTop()+this.options.getHeight()+"pt"),r.css("width",s.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(r)}},N.prototype.removeLineOfPosition=function(){S.default(".toplineOfPosition.id"+this.id).remove(),S.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),S.default(".leftlineOfPosition.id"+this.id).remove(),S.default(".leftPosition.id"+this.id).remove(),S.default(".rightlineOfPosition.id"+this.id).remove(),S.default(".bottomlineOfPosition.id"+this.id).remove()},N.prototype.getFontList=function(){var s=this.options.fontList;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFontList())},N.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var s=this.options.fields;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getFields())},N.prototype.getOnImageChooseClick=function(){var s=this.options.onImageChooseClick;return s||(s=H.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},N.prototype.bingCopyEvent=function(s){var x=this;s.keydown(function(T){if(x._editing&&!T.altKey&&T.keyCode==13){x.updateByContent();return}(T.ctrlKey||T.metaKey)&&T.keyCode==67&&(x.panel.copyJson(),T.preventDefault()),(T.ctrlKey||T.metaKey)&&T.keyCode==68&&(x.panel.copyJson(),x.panel.pasteJson(),T.preventDefault()),(T.ctrlKey||T.metaKey)&&T.keyCode==88&&(x.panel.cutJson(),T.preventDefault())})},N.prototype.clone=function(s){var x=this;let T=x.printElementType.createPrintElement();return Object.keys(x.options).forEach(function(E){T.options[E]=x.options[E]}),T},N.prototype.getFormatter=function(){var s=void 0;if(this.printElementType.formatter&&(s=this.printElementType.formatter),this.options.formatter)try{var x="formatter="+this.options.formatter;s=eval2(x)}catch(T){console.log(T)}return s},N.prototype.getStyler=function(){var s=void 0;if(this.printElementType.styler&&(s=this.printElementType.styler),this.options.styler)try{var x="fnstyler="+this.options.styler;s=eval2(x)}catch(T){console.log(T)}return s},N.prototype.bingKeyboardMoveEvent=function(s,x){var T=this,E=void 0,U=void 0;s.attr("tabindex","1"),s.keydown(function(w){if(w.target.tagName!="INPUT"&&!(T._editing&&!w.altKey)&&T.options.draggable!==!1){var v=T.panel.printElements.filter(function(r){return r.designTarget.children().last().css("display")=="block"&&!r.printElementType.type.includes("table")}),j=v.length>1,a=B.a.instance.movingDistance;switch(w.keyCode){case 8:case 46:var m=T.panel;j?v.forEach(function(r){m.deletePrintElement(r)}):m.deletePrintElement(T),I.a.event.trigger("clearSettingContainer");break;case 37:E=T.options.getLeft(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0-a,0)}):(T.updateSizeAndPositionOptions(E-a),s.css("left",T.options.displayLeft())),w.preventDefault();break;case 38:U=T.options.getTop(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0,0-a)}):(T.updateSizeAndPositionOptions(void 0,U-a),s.css("top",T.options.displayTop())),w.preventDefault();break;case 39:E=T.options.getLeft(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(a,0)}):(T.updateSizeAndPositionOptions(E+a),s.css("left",T.options.displayLeft())),w.preventDefault();break;case 40:U=T.options.getTop(),j?v.forEach(function(r){r.updatePositionByMultipleSelect(0,a)}):(T.updateSizeAndPositionOptions(void 0,U+a),s.css("top",T.options.displayTop())),w.preventDefault()}[37,38,39,40].includes(w.keyCode)&&I.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u952E\u76D8\u79FB\u52A8")}})},N.prototype.inRect=function(s){var x=this.designPaper.scale||1,T=this.designTarget[0].offsetLeft,E=this.designTarget[0].offsetTop,U=this.designTarget[0].offsetHeight,w=this.designTarget[0].offsetWidth,v=T+w,j=E+U,a=S.default(s.target[0]).position().left/x,m=S.default(s.target[0]).position().top/x,r=s.target[0].offsetHeight,d=s.target[0].offsetWidth,h=a+d,P=m+r;return a<v&&h>T&&E<P&&j>m},N.prototype.multipleSelect=function(s){s?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},N.prototype.updatePositionByMultipleSelect=function(s,x){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(s+this.options.getLeft(),x+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},N}()},function(tt,V,f){var G=function(){function w(){}return w.prototype.init=function(v){this.target=S.default('<input type="text" class="hitable-editor-text" value="" />'),v.getTarget().append(this.target),this.target.focus()},w.prototype.getValue=function(){return this.target.val()},w.prototype.setValue=function(v){this.target.val(v)},w.prototype.destroy=function(){this.target.remove()},w}(),B=function(){function w(){this.text=new G}return Object.defineProperty(w,"Instance",{get:function(){return w._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w}(),y=function(){function w(){}return w.prototype.init=function(v,j){var a=`<select class="auto-submit" style="width:100%">
|
|
6
|
+
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;v.forEach(function(m,r){m.field==j.field?a+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":a+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),a+=" </select>",this.target=S.default(a),j.getTarget().append(this.target),this.target.focus()},w.prototype.getValue=function(){var v=this.target.val(),j=this.target.find('option[value="'+v+'"]').text();return j+"#"+v},w.prototype.setValue=function(v){v&&(this.target.find('option[value="'+v+'"]').length||this.target.find("select").prepend('<option value="'+v+'" >'+v+"</option>")),this.target.find("select").val(v)},w.prototype.destroy=function(){this.target.remove()},w}(),p=function(){function w(){this.select=new y}return Object.defineProperty(w,"Instance",{get:function(){return w._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w}(),I=function(){function w(){}return Object.defineProperty(w,"Instance",{get:function(){return B._instance||(w._instance=new w),w._instance},enumerable:!0,configurable:!0}),w.prototype.createEditor=function(v){return S.default.extend({},B.Instance[v])},w.prototype.createSelect=function(v){return S.default.extend({},p.Instance[v])},w}(),l=f(10),H=f(14),D=f(11),N=function(){function w(){}return w.prototype.init=function(v,j){var a=this;this.tableOptions=j,this.title=v.title,this.field=v.field,v.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){v.isEditing=!0,a.beginEdit(v)})},w.prototype.getDisplayHtml=function(){return this.title},w.prototype.beginEdit=function(v){var j=this;j.tableOptions.options.fields&&j.tableOptions.options.fields.length?(this.editor=I.Instance.createSelect("select"),v.getTarget().html(""),this.editor.init(j.tableOptions.options.fields,v),this.editor.setValue(this.field||""),S.default(this.editor.target).keydown(function(a){a.keyCode==13&&j.endEdit(v)}),S.default(this.editor.target).change(function(a){j.endEdit(v)}),S.default(this.editor.target).blur(function(a){j.endEdit(v)})):(this.editor=I.Instance.createEditor("text"),v.getTarget().html(""),this.editor.init(v),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),S.default(this.editor.target).keydown(function(a){a.keyCode==13&&j.endEdit(v)}),S.default(this.editor.target).blur(function(a){j.endEdit(v)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=v.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=v)},w.prototype.endEdit=function(v){v.isEditing=0;var j=this.editor.getValue();if(j)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var a=j.split("#");v.title=this.title=a[0],a.length>0&&(v.columnId=v.field=this.field=a[1]),v.id&&v.target.attr("id",v.id),v.columnId&&v.target.attr("column-id",v.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else v.title=this.title=j;else this.tableOptions.options.isEnableEditField?(v.title=this.title="",v.field=this.field=""):v.title=this.title="";this.editor.destroy(),v.getTarget().html(this.title)},w}(),s=function(){return function(w){this.title=w.title,this.field=w.field,this.width=w.width,this.align=w.align,this.halign=w.halign,this.vAlign=w.vAlign,this.colspan=w.colspan,this.rowspan=w.rowspan,this.checked=w.checked,this.columnId=w.columnId,this.tableSummaryTitle=w.tableSummaryTitle,this.tableSummaryText=w.tableSummaryText,this.tableSummaryColspan=w.tableSummaryColspan,this.tableSummary=w.tableSummary,this.tableSummaryAlign=w.tableSummaryAlign,this.tableSummaryNumFormat=w.tableSummaryNumFormat,this.upperCase=w.upperCase,this.renderFormatter=w.renderFormatter&&w.renderFormatter.toString(),this.formatter2=w.formatter2&&w.formatter2.toString(),this.styler2=w.styler2&&w.styler2.toString(),this.stylerHeader=w.stylerHeader&&w.stylerHeader.toString(),this.tableColumnHeight=w.tableColumnHeight,this.tableTextType=w.tableTextType,this.tableBarcodeMode=w.tableBarcodeMode,this.tableQRCodeLevel=w.tableQRCodeLevel}}(),x=function(){function w(){this.id=D.a.createId()}return w.prototype.init=function(v,j,a,m){this.isHead=m,this.rowId=a,this.isEditing=!1;var r=/^[0-9]*$/;this.target=v,this.tableOptions=j;var d=this.target.attr("colspan");this.colspan=r.test(d)?parseInt(d):1;var h=this.target.attr("rowspan");this.rowspan=r.test(h)?parseInt(h):1,this.initEvent(),this.isHead&&this.initInnerEelement()},w.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var v=this.getValue();this.editor=I.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(v)}},w.prototype.endEdit=function(){this.isEditing=!1;var v=this.editor.getValue();this.editor.destroy(),this.target.html(v)},w.prototype.getTarget=function(){return this.target},w.prototype.getValue=function(){return this.target.html()},w.prototype.setValue=function(v){},w.prototype.initInnerEelement=function(){this.innerElement=new N,this.innerElement.init(this,this.tableOptions)},w.prototype.initEvent=function(){},w.prototype.isXYinCell=function(v,j){var a=new l.b({x:v,y:j,height:0,width:0});return this.isOverlap(a)},w.prototype.getTableRect=function(){return new l.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},w.prototype.isOverlap=function(v){var j=this.getTableRect();return v.x+v.width>j.x&&j.x+j.width>v.x&&v.y+v.height>j.y&&j.y+j.height>v.y},w.prototype.isInRect=function(v){var j=v.rect,a=this.getTableRect();if(a.x>=j.x&&a.x+a.width<=j.x+j.width&&a.y>=j.y&&a.y+a.height<=j.y+j.height){var m=H.a.mergeRect(j,a);return JSON.stringify(j)==JSON.stringify(m)||(v.changed=!0,v.rect=m,!0)}return!1},w.prototype.isSelected=function(){return this.target.hasClass("selected")},w.prototype.select=function(){this.target.addClass("selected")},w.prototype.isHeader=function(){return!1},w.prototype.setAlign=function(v){this.align=v,v?this.target.css("text-align",v):this.target[0].style.textAlign=""},w.prototype.setVAlign=function(v){this.vAlign=v,v?this.target.css("vertical-align",v):this.target[0].style.verticalAlign=""},w.prototype.getEntity=function(){return new s(this)},w}();f.d(V,"a",function(){return U});var T,E=(T=function(v,j){return(T=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(a,m){a.__proto__=m}||function(a,m){for(var r in m)m.hasOwnProperty(r)&&(a[r]=m[r])})(v,j)},function(w,v){function j(){this.constructor=w}T(w,v),w.prototype=v===null?Object.create(v):(j.prototype=v.prototype,new j)}),U=function(w){function v(j){var a=this;return j=j||{},(a=w.call(this)||this).width=j.width?parseFloat(j.width.toString()):100,a.title=j.title,a.descTitle=j.descTitle,a.field=j.field,a.fixed=j.fixed,a.rowspan=j.rowspan?parseInt(j.rowspan):1,a.colspan=j.colspan?parseInt(j.colspan):1,a.align=j.align,a.halign=j.halign,a.vAlign=j.vAlign,a.formatter=j.formatter,a.styler=j.styler,a.renderFormatter=j.renderFormatter,a.formatter2=j.formatter2,a.styler2=j.styler2,a.stylerHeader=j.stylerHeader,a.checkbox=j.checkbox,a.checked=j.checked!=0,a.columnId=j.columnId||j.field,a.tableColumnHeight=j.tableColumnHeight,a.tableTextType=j.tableTextType,a.tableBarcodeMode=j.tableBarcodeMode,a.tableQRCodeLevel=j.tableQRCodeLevel,a.tableSummaryTitle=j.tableSummaryTitle,a.tableSummaryText=j.tableSummaryText,a.tableSummaryColspan=j.tableSummaryColspan,a.tableSummary=j.tableSummary,a.tableSummaryAlign=j.tableSummaryAlign,a.tableSummaryNumFormat=j.tableSummaryNumFormat,a.upperCase=j.upperCase,a}return E(v,w),v.prototype.css=function(j){},v}(x)},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(B){this.printLine=B.printLine,this.target=B.target,this.referenceElement=B.referenceElement}}()},function(tt,V,f){f.d(V,"a",function(){return y});var G=f(19),B=f(0),y=function(){function p(){}return p.createTableHead=function(I,l){for(var H=p.reconsitutionTableColumnTree(I),D=S.default("<thead></thead>"),N=p.getColumnsWidth(H,l),s=function(E){var U=S.default("<tr></tr>");H[E].filter(function(w){return w.checked}).forEach(function(w){var v=S.default("<td></td>");w.id&&v.attr("id",w.id),w.columnId&&v.attr("column-id",w.columnId),(w.align||w.halign)&&v.css("text-align",w.halign||w.align),w.vAlign&&v.css("vertical-align",w.vAlign),w.colspan>1&&v.attr("colspan",w.colspan),w.rowspan>1&&v.attr("rowspan",w.rowspan),v.html(w.title),N[w.id]?(w.hasWidth=!0,w.targetWidth=N[w.id],v.attr("haswidth","haswidth"),v.css("width",N[w.id]+"pt")):w.hasWidth=!1;var j=p.getHeaderStyler(w);if(j){var a=j(w);a&&Object.keys(a).forEach(function(m){v.css(m,a[m])})}U.append(v)}),D.append(U)},x=0;x<H.totalLayer;x++)s(x);return p.syncTargetWidthToOption(I),D},p.createTableFooter=function(I,l,H,D,N,s){var x=S.default("<tfoot></tfoot>"),T=this.getFooterFormatter(H,D),E=this.tableSummaryTitle;let U=H.tableFooterRepeat=="last"?l:s,w=H.columns.length-1;var v=this.rowColumns||H.columns[w].columns;if(H.tableFooterRepeat!="no"&&v.some(function(a){return a.tableSummary})){var j=S.default("<tr></tr>");v.filter(function(a){return a.checked}).forEach(function(a){var m=U.filter(function($){return $&&$[a.field]}).map(function($){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test($[a.field])?Number($[a.field]):0}),r=a.tableSummaryText,d=a.tableSummaryNumFormat||2,h=`text-align: ${a.tableSummaryAlign||"center"}`,P=a.tableSummaryColspan==null?1:a.tableSummaryColspan,u=a.upperCase;let{toUpperCase:g,numFormat:A}=B.a;switch(a.tableSummary){case"count":var O=E(a,r||"\u8BA1\u6570:",N),L=g(u,U.length||0);j.append(`<td style="${h}" colspan="${P}">${O}${L}</td>`);break;case"sum":var W=parseFloat(Number(m.reduce(function($,k){return $+k},0)));W=g(u,A(W,d));var O=E(a,r||"\u5408\u8BA1:",N);j.append(`<td style="${h}" colspan="${P}">${O}${W}</td>`);break;case"avg":var W=parseFloat(Number(m.reduce(function($,k){return $+k},0))),J=parseFloat(Number(W/(m.length||1)));J=g(u,A(J,d));var O=E(a,r||"\u5E73\u5747\u503C:",N);j.append(`<td style="${h}" colspan="${P}">${O}${J}</td>`);break;case"min":var Y=Math.min(...m);Y==1/0&&(Y=0),Y=g(u,A(Y,d));var O=E(a,r||"\u6700\u5C0F\u503C:",N);j.append(`<td style="${h}" colspan="${P}">${O}${Y||0}</td>`);break;case"max":var F=Math.max(...m);F==-1/0&&(F=0);var O=E(a,r||"\u6700\u5927\u503C:",N);F=g(u,A(F,d)),j.append(`<td style="${h}" colspan="${P}">${O}${F||0}</td>`);break;case"text":j.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break;default:P>=1&&j.append(`<td style="${h}" colspan="${P}">${r||""}</td>`);break}}),x.append(j)}return T&&x.append(T(H,l,N,s)),x},p.tableSummaryTitle=function(I,l,H){var D=I.tableSummaryTitle==null||I.tableSummaryTitle==!0;return D?`${l}`:H?"":`<span style="color:firebrick">${l}</span>`},p.createTableRow=function(I,l,H,D,N){var s=this,x=p.reconsitutionTableColumnTree(I),T=S.default("<tbody></tbody>"),E=s.getGroupFieldsFormatter(D,N),U=E?D.groupFields=E(N,D,l):N.groupFields?N.groupFields:[];return l||(l=[]),U.length?B.a.groupBy(l,U,function(w){var v={};return U.forEach(function(j){return v[j]=w[j]}),v}).forEach(function(w){var v=s.getGroupFormatter(D,N);if(v){var j=S.default("<tr><td colspan="+x.colspan+"></td></tr>");j.find("td").append(v(w,D)),T.append(j)}var a=s.getGroupFooterFormatter(D,N),m=w;if(m.rows.forEach(function(d,h){var P=p.createRowTarget(x,d,D,N,h,m.rows,H);T.append(P)}),a){var r=S.default("<tr><td colspan="+x.colspan+"></td></tr>");r.find("td").append(a(w,D)),T.append(r)}}):l.forEach(function(w,v){var j=p.createRowTarget(x,w,D,N,v,j,H);T.append(j)}),T},p.createRowTarget=function(I,l,H,D,N,s,x){var T=S.default("<tr></tr>"),E=I.rowColumns.filter(function(v){return v.checked});T.data("rowData",l),I.rowColumns.filter(function(v){return v.checked}).forEach(function(v,j){if(!!v.checked){var a="";if(H.rowsColumnsMerge){a=eval2("rowsColumnsMerge="+H.rowsColumnsMerge);var m=a(l,v,j,N,s,x)||[1,1],r=S.default(`<td style = 'display:${m[0]&&m[1]?"":"none"}' rowspan = '${m[0]}' colspan = '${m[1]}'></td>`)}else var r=S.default("<td></td>");if(l&&Object.keys(l).length>0&&(H.tableHeaderRepeat=="first"||H.tableHeaderRepeat=="none")){if(v.field&&r.attr("field",v.field),v.align&&r.css("text-align",v.align),v.vAlign&&r.css("vertical-align",v.vAlign),H.rowsColumnsMerge&&m[1]>1){var d=0;E.forEach((Y,F)=>{F>=j&&F<j+m[1]&&(d+=Y.width)})}r.css("width",(d||v.width)+"pt")}else v.field&&r.attr("field",v.field),v.align&&r.css("text-align",v.align),v.vAlign&&r.css("vertical-align",v.vAlign);var h=p.getColumnFormatter(v),P=h?h(l[v.field],l,j,H):l[v.field],u=p.getColumnRenderFormatter(v);if(u)r.html(u(l[v.field],l,j,H));else if(v.tableTextType=="text"||v.tableTextType==null)r.html(P);else{if(v.tableTextType=="barcode"){r.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{P?(Xt.default(r.find(".hibarcode_imgcode")[0],P,{format:v.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),r.find(".hibarcode_imgcode").attr("height",v.tableColumnHeight||30+"pt"),r.find(".hibarcode_imgcode").css("margin","5pt 10pt"),r.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):r.html("")}catch(Y){console.log(Y),r.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(v.tableTextType=="image"&&(r.html(""),P)){var g=S.default('<div><img style = "max-width:100%;max-height:100%"/></div>');g.find("img").attr("src",P),console.log(g.find("img").css("width")),r.html(g)}if(v.tableTextType=="qrcode"){r.html("");try{var A=S.default("<div></div>");if(P){var L=parseInt(v.width||v.targetWidth||20),W=parseInt(v.tableColumnHeight||20);A.css("height",(L>W?W:L)+"pt"),new QRCode(A[0],{width:L>W?W:L,height:L>W?W:L,colorDark:"#000000",useSVG:!0,correctLevel:v.tableQRCodeLevel||0}).makeCode(P),r.html(A)}}catch(Y){console.log(Y),r.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}v.tableTextType==="sequence"&&r.html(N+1)}var J=p.getColumnStyler(v);if(J){var L=J(l[v.field],l,j,H);L&&Object.keys(L).forEach(function(F){r.css(F,L[F])})}T.append(r)}});var U=p.getRowStyler(H,D);if(U){var w=U(l,H);w&&Object.keys(w).forEach(function(v){T.css(v,w[v])})}return T},p.createEmptyRowTarget=function(I,l){var H=p.reconsitutionTableColumnTree(I),D=S.default("<tr></tr>");return H.rowColumns.filter(function(N){return N.checked}).forEach(function(N,s){var x=S.default("<td></td>");N.field&&x.attr("field",N.field),N.align&&x.css("text-align",N.align),N.vAlign&&x.css("vertical-align",N.vAlign),D.append(x)}),l&&l.options.tableBodyRowHeight&&D.find("td:not([rowspan])").css("height",l.options.tableBodyRowHeight+"pt"),D},p.getColumnsWidth=function(I,l){var H={},D=p.allAutoWidth(I),N=p.allFixedWidth(I);return I.rowColumns.filter(function(s){return s.checked}).forEach(function(s){if(s.fixed)H[s.id]=s.width;else{var x=l-N,T=s.width/D*(x>0?x:0);H[s.id]=T}}),H},p.resizeTableCellWidth=function(I,l,H){var D=p.reconsitutionTableColumnTree(l),N=p.getColumnsWidth(D,H);I.find("thead tr td[haswidth]").map(function(s,x){var T=S.default(x).attr("id"),E=N[T];S.default(x).css("width",E+"pt")})},p.allAutoWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?0:H[D.id]}),l},p.allFixedWidth=function(I){var l=0,H={};return I.rowColumns.filter(function(D){return D.checked}).forEach(function(D){H[D.id]?H[D.id]=0:H[D.id]=D.width,l+=D.fixed?H[D.id]:0}),l},p.reconsitutionTableColumnTree=function(I,l,H){var D=l||new G.a;D.colspan=0;for(var N=function(T){D.totalLayer=T+1,D[T]=I[T].columns,T==0&&I[T].columns.forEach(function(E){T==0&&(D.colspan+=E.colspan)})},s=0;s<I.length;s++)N(s);return D.rowColumns=p.getOrderdColumns(D),D},p.syncTargetWidthToOption=function(I){I.forEach(function(l){l.columns.forEach(function(H){H.hasWidth&&(H.width=H.targetWidth)})})},p.getGroupFieldsFormatter=function(I,l){var H=void 0;if(l.groupFields&&l.groupFields.length){var D=typeof l.groupFields=="string"?l.groupFields:JSON.stringify(l.groupFields);I.groupFieldsFormatter="function(groupData,options){ return "+D+" }"}if(l.groupFieldsFormatter&&(H=l.groupFieldsFormatter),I.groupFieldsFormatter)try{var N="groupFieldsFormatter="+I.groupFieldsFormatter;H=eval2(N)}catch(s){console.log(s)}return H},p.getGroupFormatter=function(I,l){var H=void 0;if(l.groupFormatter&&(H=l.groupFormatter),I.groupFormatter)try{var D="groupFormatter="+I.groupFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getGroupFooterFormatter=function(I,l){var H=void 0;if(l.groupFooterFormatter&&(H=l.groupFooterFormatter),I.groupFooterFormatter)try{var D="groupFooterFormatter="+I.groupFooterFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getFooterFormatter=function(I,l){var H=void 0;if(l.footerFormatter&&(H=l.footerFormatter),I.footerFormatter)try{var D="footerFormatter="+I.footerFormatter;H=eval2(D)}catch(N){console.log(N)}return H},p.getRowStyler=function(I,l){var H=void 0;if(l.rowStyler&&(H=l.rowStyler),I.rowStyler)try{var D="rowStyler="+I.rowStyler;H=eval2(D)}catch(N){console.log(N)}return H},p.getColumnStyler=function(I){var l=void 0;if(I.styler&&(l=I.styler),I.styler2)try{var H="styler="+I.styler2;l=eval2(H)}catch(D){console.log(D)}return l},p.getHeaderStyler=function(I){var l=void 0;if(I.stylerHeader&&(l=I.stylerHeader),I.stylerHeader)try{var H="stylerHeader="+I.stylerHeader;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnRenderFormatter=function(I){var l=void 0;if(I.renderFormatter&&(l=I.renderFormatter),I.renderFormatter)try{var H="renderFormatter="+I.renderFormatter;l=eval2(H)}catch(D){console.log(D)}return l},p.getColumnFormatter=function(I){var l=void 0;if(I.formatter&&(l=I.formatter),I.formatter2)try{var H="formatter="+I.formatter2;l=eval2(H)}catch(D){console.log(D)}return l},p.getOrderdColumns=function(I){let l={};for(let D=0;D<I.totalLayer;D++)l[D]=[],I[D].forEach((N,s)=>{l[D].push(...new Array(N.colspan).fill({...N,colspan:1}))});for(let D=0;D<I.totalLayer;D++)l[D].forEach((N,s)=>{for(let x=1;x<N.rowspan;x++)l[D+x].splice(s,0,{...N,rowspan:1})});let H=[];for(let D=0;D<I.totalLayer;D++)D>=I.totalLayer-1?l[D].forEach((N,s)=>{N.field||(N.field=H[s])}):l[D].forEach((N,s)=>{D==0?H.push(N.field||""):N.field&&(H[s]=N.field)});return this.rowColumns=l[I.totalLayer-1],l[I.totalLayer-1]},p}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(y){this.top=y.top,this.left=y.left,this.height=y.height,this.width=y.width,this.bottomInLastPaper=y.bottomInLastPaper,this.beginPrintPaperIndex=y.beginPrintPaperIndex,this.printTopInPaper=y.printTopInPaper,this.endPrintPaperIndex=y.endPrintPaperIndex}return B.prototype.isPositionLeftOrRight=function(y){return this.top<=y&&this.top+this.height>y},B}()},function(tt,V,f){var G=function(){function o(){this.name="lineHeight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("line-height",C+"pt"),"line-height:"+C+"pt";e[0].style.lineHeight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
7
7
|
<div class="hiprint-option-item-label">
|
|
8
8
|
\u5B57\u4F53\u884C\u9AD8
|
|
9
9
|
</div>
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
<option value="36" >36pt</option>
|
|
54
54
|
</select>
|
|
55
55
|
</div>
|
|
56
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
56
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),B=function(){function o(){this.name="fontFamily"}return o.prototype.createTarget=function(e){var C=void 0;if(e&&(C=e.getFontList()),C){var Q=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
57
57
|
<div class="hiprint-option-item-label">
|
|
58
58
|
\u5B57\u4F53
|
|
59
59
|
</div>
|
|
60
60
|
<div class="hiprint-option-item-field">
|
|
61
61
|
<select class="auto-submit">
|
|
62
|
-
<option value="" >\u9ED8\u8BA4</option>`;
|
|
62
|
+
<option value="" >\u9ED8\u8BA4</option>`;C.forEach(function(at,ht){Q+=' <option value="'+(at.value||"")+'" >'+(at.title||"")+"</option>"}),Q+=` </select>
|
|
63
63
|
</div>
|
|
64
|
-
</div>`,this.target=
|
|
64
|
+
</div>`,this.target=S.default(Q)}else this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
65
65
|
<div class="hiprint-option-item-label">
|
|
66
66
|
\u5B57\u4F53
|
|
67
67
|
</div>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<option value="Microsoft YaHei" >\u5FAE\u8F6F\u96C5\u9ED1</option>
|
|
73
73
|
</select>
|
|
74
74
|
</div>
|
|
75
|
-
</div>`);return this.target},o.prototype.css=function(e,
|
|
75
|
+
</div>`);return this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-family",C),"font-family:"+C;e[0].style.fontFamily="inherit"}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),y=function(){function o(){this.name="fontSize"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-size",C+"pt"),"font-size:"+C+"pt";e[0].style.fontSize=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
76
76
|
<div class="hiprint-option-item-label">
|
|
77
77
|
\u5B57\u4F53\u5927\u5C0F
|
|
78
78
|
</div>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<option value="21.75" >21.75pt</option>
|
|
104
104
|
</select>
|
|
105
105
|
</div>
|
|
106
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),p=function(){function o(){this.name="fontWeight"}return o.prototype.css=function(e,
|
|
106
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),p=function(){function o(){this.name="fontWeight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("font-weight",C),"font-weight:"+C;e[0].style.fontWeight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
107
107
|
<div class="hiprint-option-item-label">
|
|
108
108
|
\u5B57\u4F53\u7C97\u7EC6
|
|
109
109
|
</div>
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<option value="900" >900</option>
|
|
125
125
|
</select>
|
|
126
126
|
</div>
|
|
127
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),I=function(){function o(){this.name="letterSpacing"}return o.prototype.css=function(e,
|
|
127
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),I=function(){function o(){this.name="letterSpacing"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("letter-spacing",C+"pt"),"letter-spacing:"+C+"pt";e[0].style.letterSpacing=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
128
128
|
<div class="hiprint-option-item-label">
|
|
129
129
|
\u5B57\u95F4\u8DDD
|
|
130
130
|
</div>
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
<option value="12" >12pt</option>
|
|
150
150
|
</select>
|
|
151
151
|
</div>
|
|
152
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),l=function(){function o(){this.name="textAlign"}return o.prototype.css=function(e,
|
|
152
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),l=function(){function o(){this.name="textAlign"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("text-align",C),C=="justify"?(e.css("text-align-last","justify"),e.css("text-justify","distribute-all-lines")):(e[0].style.textAlignLast="",e[0].style.textJustify=""),"text-align:"+C;e[0].style.textAlign="",e[0].style.textAlignLast="",e[0].style.textJustify=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
153
153
|
<div class="hiprint-option-item-label">
|
|
154
154
|
\u5DE6\u53F3\u5BF9\u9F50
|
|
155
155
|
</div>
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
163
163
|
</select>
|
|
164
164
|
</div>
|
|
165
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),H=function(){function o(){this.name="hideTitle"}return o.prototype.createTarget=function(){return this.target=
|
|
165
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),H=function(){function o(){this.name="hideTitle"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
166
166
|
<div class="hiprint-option-item-label">
|
|
167
167
|
\u6807\u9898\u663E\u793A\u9690\u85CF
|
|
168
168
|
</div>
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
<option value="true" >\u9690\u85CF</option>
|
|
174
174
|
</select>
|
|
175
175
|
</div>
|
|
176
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),D=function(){function o(){this.name="tableBorder"}return o.prototype.css=function(e,
|
|
176
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),D=function(){function o(){this.name="tableBorder"}return o.prototype.css=function(e,C){if(e.find("table").length){if(C=="border"||C==null)return e.find("table").css("border","1px solid"),"border:1px solid";C=="noBorder"?e.find("table").css("border","0px solid"):e.find("table")[0].style.border=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
177
177
|
<div class="hiprint-option-item-label">
|
|
178
178
|
\u8868\u683C\u8FB9\u6846
|
|
179
179
|
</div>
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
185
185
|
</select>
|
|
186
186
|
</div>
|
|
187
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
187
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),N=function(){function o(){this.name="tableHeaderBorder"}return o.prototype.css=function(e,C){if(e.find("thead tr").length){if(C=="border"||C==null)return e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("thead tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
188
188
|
<div class="hiprint-option-item-label">
|
|
189
189
|
\u8868\u5934\u8FB9\u6846
|
|
190
190
|
</div>
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
202
202
|
</select>
|
|
203
203
|
</div>
|
|
204
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),s=function(){function o(){this.name="tableHeaderCellBorder"}return o.prototype.css=function(e,
|
|
204
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),s=function(){function o(){this.name="tableHeaderCellBorder"}return o.prototype.css=function(e,C){if(e.find("thead tr").length){if(C=="border"||C==null)return e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("thead tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
205
205
|
<div class="hiprint-option-item-label">
|
|
206
206
|
\u8868\u5934\u5355\u5143\u683C\u8FB9\u6846
|
|
207
207
|
</div>
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
|
|
214
214
|
</select>
|
|
215
215
|
</div>
|
|
216
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),x=function(){function o(){this.name="tableFooterBorder"}return o.prototype.css=function(e,
|
|
216
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),x=function(){function o(){this.name="tableFooterBorder"}return o.prototype.css=function(e,C){if(e.find("tfoot tr").length){if(C=="border"||C==null)return e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("tfoot tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
217
217
|
<div class="hiprint-option-item-label">
|
|
218
218
|
\u8868\u5C3E\u8FB9\u6846
|
|
219
219
|
</div>
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
231
231
|
</select>
|
|
232
232
|
</div>
|
|
233
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
233
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),T=function(){function o(){this.name="tableFooterCellBorder"}return o.prototype.css=function(e,C){if(e.find("tfoot tr").length){if(C=="border"||C==null)return e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("tfoot tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
234
234
|
<div class="hiprint-option-item-label">
|
|
235
235
|
\u8868\u5C3E\u5355\u5143\u683C\u8FB9\u6846
|
|
236
236
|
</div>
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
|
|
243
243
|
</select>
|
|
244
244
|
</div>
|
|
245
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
245
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),E=function(){function o(){this.name="tableHeaderRowHeight"}return o.prototype.css=function(e,C){if(e.find("thead tr td").length){if(C)return e.find("thead tr td:not([rowspan])").css("height",C+"pt"),"height:"+C+"pt";e.find("thead tr td").map(function(Q,at){at.style.height=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
246
246
|
<div class="hiprint-option-item-label">
|
|
247
247
|
\u8868\u5934\u884C\u9AD8
|
|
248
248
|
</div>
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
<option value="36" >36pt</option>
|
|
294
294
|
</select>
|
|
295
295
|
</div>
|
|
296
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
296
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),U=function(){function o(){this.name="tableHeaderFontSize"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead").css("font-size",C+"pt"),"font-size:"+C+"pt";e.find("thead").map(function(Q,at){at.style.fontSize=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
297
297
|
<div class="hiprint-option-item-label">
|
|
298
298
|
\u8868\u5934\u5B57\u4F53\u5927\u5C0F
|
|
299
299
|
</div>
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
<option value="21.75" >21.75pt</option>
|
|
325
325
|
</select>
|
|
326
326
|
</div>
|
|
327
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
327
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),w=function(){function o(){this.name="tableHeaderFontWeight"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead tr td").css("font-weight",C),"font-weight:"+C;e.find("thead tr td").map(function(Q,at){at.style.fontWeight=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
328
328
|
<div class="hiprint-option-item-label">
|
|
329
329
|
\u8868\u5934\u5B57\u4F53\u7C97\u7EC6
|
|
330
330
|
</div>
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
<option value="900" >900</option>
|
|
346
346
|
</select>
|
|
347
347
|
</div>
|
|
348
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
348
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),v=function(){function o(){this.name="tableBodyCellBorder"}return o.prototype.css=function(e,C){if(e.find("tbody tr").length){if(C=="border"||C==null)return e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");C=="noBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):e.find("tbody tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
349
349
|
<div class="hiprint-option-item-label">
|
|
350
350
|
\u8868\u4F53\u5355\u5143\u683C\u8FB9\u6846
|
|
351
351
|
</div>
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
357
357
|
</select>
|
|
358
358
|
</div>
|
|
359
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
359
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),j=function(){function o(){this.name="tableBodyRowHeight"}return o.prototype.css=function(e,C){if(e.find("tbody tr td").length){if(C)return e.find("tbody tr td").css("height",C+"pt"),"height:"+C+"pt";e.find("tbody tr td").map(function(Q,at){at.style.height=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
360
360
|
<div class="hiprint-option-item-label">
|
|
361
361
|
\u8868\u4F53\u884C\u9AD8
|
|
362
362
|
</div>
|
|
@@ -406,16 +406,16 @@
|
|
|
406
406
|
<option value="36" >36pt</option>
|
|
407
407
|
</select>
|
|
408
408
|
</div>
|
|
409
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),a=function(){function o(){this.name="tableHeaderBackground"}return o.prototype.css=function(e,
|
|
409
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),a=function(){function o(){this.name="tableHeaderBackground"}return o.prototype.css=function(e,C){if(e.find("thead").length){if(C)return e.find("thead").css("background",C),"background:"+C;e.find("thead").map(function(Q,at){at.style.background=""})}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
410
410
|
<div class="hiprint-option-item-label">
|
|
411
411
|
\u8868\u5934\u80CC\u666F
|
|
412
412
|
</div>
|
|
413
413
|
<div class="hiprint-option-item-field">
|
|
414
414
|
<input type="text" class="auto-submit" />
|
|
415
415
|
</div>
|
|
416
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
416
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),m=function(){function o(){this.name="borderWidth"}return o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
417
417
|
<div class="hiprint-option-item-label">
|
|
418
|
-
`+
|
|
418
|
+
`+C+`
|
|
419
419
|
</div>
|
|
420
420
|
<div class="hiprint-option-item-field">
|
|
421
421
|
<select class="auto-submit">
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
<option value="6.75" >6.75pt</option>
|
|
432
432
|
</select>
|
|
433
433
|
</div>
|
|
434
|
-
</div>`),this.target},o.prototype.css=function(e,
|
|
434
|
+
</div>`),this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-width",C+"pt"),"border-width:"+C+"pt";e[0].style.borderWidth=""}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),r=function(){function o(){this.name="barcodeMode"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
435
435
|
<div class="hiprint-option-item-label">
|
|
436
436
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
437
437
|
</div>
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
<option value="Pharmacode" >Pharmacode</option>
|
|
458
458
|
</select>
|
|
459
459
|
</div>
|
|
460
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
460
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),d=function(){function o(){this.name="qrCodeLevel"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
461
461
|
<div class="hiprint-option-item-label">
|
|
462
462
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
463
463
|
</div>
|
|
@@ -470,14 +470,14 @@
|
|
|
470
470
|
<option value="2" >30% H</option>
|
|
471
471
|
</select>
|
|
472
472
|
</div>
|
|
473
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),h=function(){function o(){this.name="color"}return o.prototype.css=function(e,
|
|
473
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),h=function(){function o(){this.name="color"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("color",C),"color:"+C;e[0].style.color=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
474
474
|
<div class="hiprint-option-item-label">
|
|
475
475
|
\u5B57\u4F53\u989C\u8272
|
|
476
476
|
</div>
|
|
477
477
|
<div class="hiprint-option-item-field">
|
|
478
478
|
<input type="text" class="auto-submit"/>
|
|
479
479
|
</div>
|
|
480
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),P=function(){function o(){this.name="textDecoration"}return o.prototype.createTarget=function(){return this.target=
|
|
480
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),P=function(){function o(){this.name="textDecoration"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
481
481
|
<div class="hiprint-option-item-label">
|
|
482
482
|
\u6587\u672C\u4FEE\u9970
|
|
483
483
|
</div>
|
|
@@ -490,70 +490,70 @@
|
|
|
490
490
|
|
|
491
491
|
</select>
|
|
492
492
|
</div>
|
|
493
|
-
</div>`),this.target},o.prototype.css=function(e,
|
|
493
|
+
</div>`),this.target},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("text-decoration",C),"text-decoration:"+C;e[0].style.textDecoration=""}return null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),u=function(){function o(){this.name="field"}return o.prototype.createTarget=function(e){var C=void 0;if(e&&(C=e.getFields()),C){this.isSelect=!0;var Q=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
494
494
|
<div class="hiprint-option-item-label">
|
|
495
495
|
\u5B57\u6BB5\u540D
|
|
496
496
|
</div>
|
|
497
497
|
<div class="hiprint-option-item-field">
|
|
498
498
|
<select class="auto-submit">
|
|
499
|
-
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;
|
|
499
|
+
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;C.forEach(function(at,ht){Q+=' <option value="'+(at.field||"")+'" >'+(at.text||"")+"</option>"}),Q+=` </select>
|
|
500
500
|
</div>
|
|
501
|
-
</div>`,this.target=
|
|
501
|
+
</div>`,this.target=S.default(Q)}else this.isSelect=!1,this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
502
502
|
<div class="hiprint-option-item-label">
|
|
503
503
|
\u5B57\u6BB5\u540D
|
|
504
504
|
</div>
|
|
505
505
|
<div class="hiprint-option-item-field">
|
|
506
506
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
|
|
507
507
|
</div>
|
|
508
|
-
</div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),g=function(){function o(){this.name="columnField"}return o.prototype.createTarget=function(e,
|
|
508
|
+
</div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),g=function(){function o(){this.name="columnField"}return o.prototype.createTarget=function(e,C,Q){var at=void 0;if(Q&&(at=Q.options.fields),at){this.isSelect=!0;var ht=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
509
509
|
<div class="hiprint-option-item-label">
|
|
510
510
|
\u5217\u5B57\u6BB5\u540D
|
|
511
511
|
</div>
|
|
512
512
|
<div class="hiprint-option-item-field">
|
|
513
513
|
<select class="auto-submit">
|
|
514
|
-
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;at.forEach(function(
|
|
514
|
+
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;at.forEach(function(Mt,ut){ht+=' <option value="'+(Mt.field||"")+'" >'+(Mt.text||"")+"</option>"}),ht+=` </select>
|
|
515
515
|
</div>
|
|
516
|
-
</div>`,this.target=
|
|
516
|
+
</div>`,this.target=S.default(ht)}else this.isSelect=!1,this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
517
517
|
<div class="hiprint-option-item-label">
|
|
518
518
|
\u5217\u5B57\u6BB5\u540D
|
|
519
519
|
</div>
|
|
520
520
|
<div class="hiprint-option-item-field">
|
|
521
521
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
|
|
522
522
|
</div>
|
|
523
|
-
</div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),A=function(){function o(){this.name="title"}return o.prototype.createTarget=function(){return this.target=
|
|
523
|
+
</div>`);return this.target},o.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},o.prototype.setValue=function(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),A=function(){function o(){this.name="title"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
524
524
|
<div class="hiprint-option-item-label">
|
|
525
525
|
\u6807\u9898
|
|
526
526
|
</div>
|
|
527
527
|
<div class="hiprint-option-item-field">
|
|
528
528
|
<textarea style="height:50px;" placeholder="\u8BF7\u8F93\u5165\u6807\u9898" class="auto-submit"></textarea>
|
|
529
529
|
</div>
|
|
530
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),L=function(){function o(){this.name="testData"}return o.prototype.createTarget=function(){return this.target=
|
|
530
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),L=function(){function o(){this.name="testData"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
531
531
|
<div class="hiprint-option-item-label">
|
|
532
532
|
\u6D4B\u8BD5\u6570\u636E
|
|
533
533
|
</div>
|
|
534
534
|
<div class="hiprint-option-item-field">
|
|
535
535
|
<input type="text" placeholder="\u4EC5\u5B57\u6BB5\u540D\u79F0\u5B58\u5728\u65F6\u6709\u6548" class="auto-submit" >
|
|
536
536
|
</div>
|
|
537
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),W=function(){function o(){this.name="coordinate"}return o.prototype.createTarget=function(e,
|
|
537
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),W=function(){function o(){this.name="coordinate"}return o.prototype.createTarget=function(e,C){var Q=this;return Q.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
538
538
|
\u4F4D\u7F6E\u5750\u6807
|
|
539
539
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
540
540
|
<input type="number" style="width:48%" placeholder="X\u4F4D\u7F6E(\u5DE6)" class="auto-submit" />
|
|
541
541
|
<input type="number" style="width:48%" placeholder="Y\u4F4D\u7F6E(\u4E0A)" class="auto-submit" />
|
|
542
542
|
</div>
|
|
543
|
-
</div>`),
|
|
543
|
+
</div>`),Q.syncLock=C.coordinateSync||!1,Q.createSyncLock(Q.syncLock),Q.target},o.prototype.createSyncLock=function(e){var C=this;return C.lockTarget=C.syncLock?S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),C.lockTarget.click(function(){C.syncLock?C.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):C.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),C.syncLock=!C.syncLock}),C.target.find("input:first").after(C.lockTarget),C.target.find("input:first").change(function(){C.syncLock&&C.target.find("input:last").val(S.default(this).val())}),C.target.find("input:last").change(function(){C.syncLock&&C.target.find("input:first").val(S.default(this).val())}),C.lockTarget},o.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var C=this.getValue();return e.css("left",C.left+"pt").css("top",C.top+"pt")}return null},o.prototype.getValue=function(){var e={coordinateSync:this.syncLock,left:0,top:0};return e.left=parseFloat(this.target.find("input:first").val()||0),e.top=parseFloat(this.target.find("input:last").val()||0),e},o.prototype.setValue=function(e,C){this.el=C.designTarget||C,C.options.coordinate&&C.designTarget&&C.designTarget.css("left",C.options.left+"pt").css("top",C.options.top+"pt"),this.target.find("input:first").val(e.left),this.target.find("input:last").val(e.top)},o.prototype.destroy=function(){this.target.remove()},o}(),J=function(){function o(){this.name="widthHeight"}return o.prototype.createTarget=function(e,C){var Q=this;return Q.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
544
544
|
\u5BBD\u9AD8\u5927\u5C0F
|
|
545
545
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
546
546
|
<input type="number" style="width:48%" placeholder="\u5BBD" class="auto-submit" />
|
|
547
547
|
<input type="number" style="width:48%" placeholder="\u9AD8" class="auto-submit" />
|
|
548
548
|
</div>
|
|
549
|
-
</div>`),
|
|
549
|
+
</div>`),Q.syncLock=C.widthHeightSync||!1,Q.createSyncLock(Q.syncLock),Q.target},o.prototype.createSyncLock=function(e){var C=this;return C.lockTarget=C.syncLock?S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):S.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),C.lockTarget.click(function(){C.syncLock?C.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):C.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),C.syncLock=!C.syncLock}),C.target.find("input:first").after(C.lockTarget),C.target.find("input:first").change(function(){C.syncLock&&C.target.find("input:last").val(S.default(this).val())}),C.target.find("input:last").change(function(){C.syncLock&&C.target.find("input:first").val(S.default(this).val())}),C.lockTarget},o.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var C=this.getValue();return e.css("width",C.width+"pt").css("height",C.height+"pt")}return null},o.prototype.getValue=function(){var e={widthHeightSync:this.syncLock,width:0,height:0};return e.width=parseFloat(this.target.find("input:first").val()||0),e.height=parseFloat(this.target.find("input:last").val()||0),e},o.prototype.setValue=function(e,C){this.el=C.designTarget||C,C.options.widthHeight&&C.designTarget&&C.designTarget.css("width",C.options.width+"pt").css("height",C.options.height+"pt"),this.target.find("input:first").val(e.width),this.target.find("input:last").val(e.height)},o.prototype.destroy=function(){this.target.remove()},o}(),Y=function(){function o(){this.name="src"}return o.prototype.createTarget=function(e){this.el=e;var C=void 0,Q=this;return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
550
550
|
<div class="hiprint-option-item-label">
|
|
551
551
|
\u56FE\u7247\u5730\u5740
|
|
552
552
|
</div>
|
|
553
553
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
554
554
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740" class="auto-submit" style="width:70%">
|
|
555
555
|
<button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button> </div>
|
|
556
|
-
</div>`),e&&(
|
|
556
|
+
</div>`),e&&(C=e.getOnImageChooseClick()),C&&this.target.find("button").click(function(){C&&C(Q)}),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.refresh=function(e,C,Q){this.setValue(e),this.target.find("input").change();var at=this;if(this.el&&C){var ht=new Image;ht.src=e,ht.complete?at.updateEl(ht.width,ht.height,C,Q):ht.onload=function(){at.updateEl(ht.width,ht.height,C,Q)}}},o.prototype.updateEl=function(e,C,Q,at){if(Q){var ht,Mt,ut;(Q||Q.auto)&&(e>=C?Q.width=!0:Q.height=!0),Q.width?(ht=C/e,Mt=this.el.options.width,ut=Math.floor(Mt*ht*10)/10,this.el.options.height=ut,this.el.designTarget.css("height",ut+"pt")):Q.height?(ht=e/C,ut=this.el.options.height,Mt=Math.floor(ut*ht*10)/10,this.el.options.width=Mt,this.el.designTarget.css("width",Mt+"pt")):Q.real&&(Mt=hinnn.px.toPt(e),ut=hinnn.px.toPt(C),this.el.options.width=Mt,this.el.options.height=ut,this.el.designTarget.css("width",Mt+"pt"),this.el.designTarget.css("height",ut+"pt")),this.el.designTarget.children(".resize-panel").trigger(S.default.Event("click"))}else at&&at(this.el,e,C)},o.prototype.destroy=function(){this.target.remove()},o}(),F=function(){function o(){this.name="fit"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.find("img").css("object-fit",C),"object-fit:"+C;e.find("img")[0].style["object-fit"]=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
557
557
|
<div class="hiprint-option-item-label">
|
|
558
558
|
\u56FE\u7247\u7F29\u653E
|
|
559
559
|
</div>
|
|
@@ -566,30 +566,30 @@
|
|
|
566
566
|
<option value="none" >\u539F\u59CB\u5C3A\u5BF8</option>
|
|
567
567
|
</select>
|
|
568
568
|
</div>
|
|
569
|
-
</div>`),this.target,this.target},o.prototype.getValue=function(){return this.target.find("select").val()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
569
|
+
</div>`),this.target,this.target},o.prototype.getValue=function(){return this.target.find("select").val()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),O=function(){function o(){this.name="borderColor"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-color",C),"border-color:"+C;e[0].style.borderColor=""}return null},o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
570
570
|
<div class="hiprint-option-item-label">
|
|
571
|
-
`+
|
|
571
|
+
`+C+`
|
|
572
572
|
</div>
|
|
573
573
|
<div class="hiprint-option-item-field">
|
|
574
574
|
<input type="text" class="auto-submit" />
|
|
575
575
|
</div>
|
|
576
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),$=function(){function o(){this.name="overPrintOptions"}return o.prototype.createTarget=function(){this.target=
|
|
576
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),$=function(){function o(){this.name="overPrintOptions"}return o.prototype.createTarget=function(){this.target=S.default(' <div class="hiprint-option-item" style="width: 100%;"><div class="hiprint-option-item-label hiprint-option-title"> \u5957\u6253\u529F\u80FD </div></div>'),this.content=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u80CC\u666F\u56FE\u7247 </div><div class="hiprint-option-item-field"><input style="width:65%" type="text" placeholder="\u8BF7\u9009\u62E9\u56FE\u7247" class="auto-submit"><button class="hiprint-option-item-settingBtn" style="width:30%;padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button></div></div>'),this.opacity=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u900F\u660E\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="1" max="100" step="1" placeholder="\u900F\u660E\u5EA6" class="auto-submit bt-range"></div></div>'),this.type=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
577
577
|
<div class="hiprint-option-item-label"> \u5957\u6253\u6A21\u5F0F </div>
|
|
578
578
|
<input type="radio" id="overPrintType1" name="type" value="1" class="auto-submit">
|
|
579
579
|
<label for="overPrintType1">\u4EC5\u8BBE\u8BA1</label>
|
|
580
580
|
<input type="radio" id="overPrintType2" name="type" value="2" class="auto-submit">
|
|
581
581
|
<label for="overPrintType2">\u540C\u65F6\u6253\u5370</label>
|
|
582
582
|
</div>
|
|
583
|
-
</div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let e=this;return this.content.find("button").click(function(){let
|
|
584
|
-
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return e.forEach(function(
|
|
585
|
-
<option value="`+
|
|
583
|
+
</div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let e=this;return this.content.find("button").click(function(){let C=document.createElement("input");C.setAttribute("accept","image/*"),C.setAttribute("type","file"),C.click(),C.onchange=function(){var Q=this.files[0],at=new FileReader;if(Q){var at=new FileReader;at.readAsDataURL(Q),at.onloadend=function(){e.content.find("input").val(at.result||""),e.content.find("input").trigger("change")}}C.remove()}}),this.type.find("input").change(function(C){S.default(this).siblings().removeAttr("checked"),S.default(this).attr("checked",!0)}),this.target},o.prototype.getValue=function(){let e={content:this.content.find("input").val(),opacity:parseFloat(this.opacity.find("input").val()||"70")/100,type:parseInt(this.type.find("input[checked]").val()||1)};return Object.assign({},this.options,e)},o.prototype.setValue=function(e){this.options=e,this.content.find("input").val(e.content||""),this.opacity.find("input").val((e.opacity||.7)*100),this.type.find("input[value="+(e.type||1)+"]").attr("checked",!0)},o.prototype.destroy=function(){this.target.remove()},o}(),k=function(){function o(){this.name="watermarkOptions"}return o.prototype.createTarget=function(){this.target=S.default(' <div class="hiprint-option-item"><div class="hiprint-option-item-label hiprint-option-title"> \u6C34\u5370\u529F\u80FD </div></div>'),this.content=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u5185\u5BB9 </div><div class="hiprint-option-item-field"><input style="width:100%" type="text" placeholder="\u6C34\u5370\u5185\u5BB9" class="auto-submit"></div></div>'),this.fillStyle=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u989C\u8272 </div><div class="hiprint-option-item-field"><input style="width:100%" data-format="rgb" data-opacity="0.3" type="text" placeholder="\u5B57\u4F53\u989C\u8272" class="auto-submit"></div></div>'),this.fontSize=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u5927\u5C0F </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="10" max="80" placeholder="\u5B57\u4F53\u5927\u5C0F" class="auto-submit bt-range"></div></div>'),this.rotate=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65CB\u8F6C\u89D2\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="0" max="180" placeholder="\u65CB\u8F6C\u89D2\u5EA6" class="auto-submit bt-range"></div></div>'),this.width=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5E73\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u6C34\u5E73\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.height=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5782\u76F4\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u5782\u76F4\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.timestamp=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u65F6\u95F4 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6C34\u5370\u65F6\u95F4" class="auto-submit bt-checkbox"></div></div>');let e=["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"],C=`
|
|
584
|
+
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return e.forEach(function(Q){C+=`
|
|
585
|
+
<option value="`+Q+'">'+Q+"</option>"}),this.format=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65F6\u95F4\u683C\u5F0F </div><div class="hiprint-option-item-field"><select style="width:100%" class="auto-submit"></select></div></div>'),this.format.find(".auto-submit").append(S.default(C)),this.target.append(this.content),this.target.append(this.fillStyle),this.target.append(this.fontSize),this.target.append(this.rotate),this.target.append(this.width),this.target.append(this.height),this.target.append(this.timestamp),this.target.append(this.format),this.target},o.prototype.getValue=function(){let e={content:this.content.find("input").val(),fillStyle:this.fillStyle.find("input").val()||"rgba(184, 184, 184, 0.3)",fontSize:parseInt(this.fontSize.find("input").val()||"14")+"px",rotate:parseInt(this.rotate.find("input").val()||"25"),width:parseInt(this.width.find("input").val()||"200"),height:parseInt(this.height.find("input").val()||"200"),timestamp:this.timestamp.find("input").is(":checked"),format:this.format.find("select").val()==""?"YYYY-MM-DD HH:mm":this.format.find("select").val()};return Object.assign({},this.options,e)},o.prototype.setValue=function(e){this.options=e,this.content.find("input").val(e.content||""),this.fillStyle.find("input").val(e.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"}),this.fillStyle.parent().css({width:"100%"});const C=parseInt(e.fontSize||"14");this.fontSize.find("input").val(C),this.rotate.find("input").val(e.rotate||25),this.width.find("input").val(e.width||200),this.height.find("input").val(e.height||200),this.timestamp.find("input").attr("checked",e.timestamp==null?!1:e.timestamp),this.format.find("select").val(e.format||"YYYY-MM-DD HH:mm")},o.prototype.destroy=function(){this.target.remove()},o}(),it=function(){function o(){this.name="paperNumberFormat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
586
586
|
<div class="hiprint-option-item-label">
|
|
587
587
|
\u9875\u7801\u683C\u5F0F
|
|
588
588
|
</div>
|
|
589
589
|
<div class="hiprint-option-item-field">
|
|
590
590
|
<input type="text" placeholder="\${paperNo}-\${paperCount}" class="auto-submit">
|
|
591
591
|
</div>
|
|
592
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),st=function(){function o(){this.name="paperNumberDisabled"}return o.prototype.createTarget=function(){return this.target=
|
|
592
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),st=function(){function o(){this.name="paperNumberDisabled"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
593
593
|
<div class="hiprint-option-item-label">
|
|
594
594
|
\u663E\u793A\u9875\u7801
|
|
595
595
|
</div>
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
<option value="true" >\u9690\u85CF</option>
|
|
600
600
|
</select>
|
|
601
601
|
</div>
|
|
602
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),pt=function(){function o(){this.name="paperNumberContinue"}return o.prototype.createTarget=function(){return this.target=
|
|
602
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),pt=function(){function o(){this.name="paperNumberContinue"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
603
603
|
<div class="hiprint-option-item-label">
|
|
604
604
|
\u9875\u7801\u7EED\u6392
|
|
605
605
|
</div>
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
<option value="reset" >\u91CD\u6392</option>
|
|
610
610
|
</select>
|
|
611
611
|
</div>
|
|
612
|
-
</div>`),this.target},o.prototype.getValue=function(){return this.target.find("select").val()=="true"},o.prototype.setValue=function(e){this.target.find("select").val((e==null||e?"true":"reset").toString())},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
612
|
+
</div>`),this.target},o.prototype.getValue=function(){return this.target.find("select").val()=="true"},o.prototype.setValue=function(e){this.target.find("select").val((e==null||e?"true":"reset").toString())},o.prototype.destroy=function(){this.target.remove()},o}(),It=function(){function o(){this.name="longTextIndent"}return o.prototype.css=function(e,C){return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
613
613
|
<div class="hiprint-option-item-label">
|
|
614
614
|
\u6BCF\u884C\u7F29\u8FDB
|
|
615
615
|
</div>
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
<option value="36" >36pt</option>
|
|
660
660
|
</select>
|
|
661
661
|
</div>
|
|
662
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),bt=function(){function o(){this.name="showInPage"}return o.prototype.css=function(e,
|
|
662
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),bt=function(){function o(){this.name="showInPage"}return o.prototype.css=function(e,C){if(e&&e.length){if(C&&C=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
663
663
|
<div class="hiprint-option-item-label">
|
|
664
664
|
\u663E\u793A\u89C4\u5219
|
|
665
665
|
</div>
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
<option value="last" >\u5C3E\u9875</option>
|
|
674
674
|
</select>
|
|
675
675
|
</div>
|
|
676
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),vt=function(){function o(){this.name="pageBreak"}return o.prototype.css=function(e,
|
|
676
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),vt=function(){function o(){this.name="pageBreak"}return o.prototype.css=function(e,C){if(e&&e.length){if(C&&C=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
677
677
|
<div class="hiprint-option-item-label">
|
|
678
678
|
\u5F3A\u5236\u5206\u9875
|
|
679
679
|
</div>
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
<option value="true" >\u662F</option>
|
|
684
684
|
</select>
|
|
685
685
|
</div>
|
|
686
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
686
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),dt=function(){function o(){this.name="panelPaperRule"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
687
687
|
<div class="hiprint-option-item-label">
|
|
688
688
|
\u6253\u5370\u89C4\u5219
|
|
689
689
|
</div>
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
<option value="even" >\u4FDD\u6301\u5076\u6570</option>
|
|
695
695
|
</select>
|
|
696
696
|
</div>
|
|
697
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
697
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),yt=function(){function o(){this.name="paperList"}return o.prototype.createTarget=function(e){let C=e.getPaperList();this.paperList=C,this.target=S.default("<div></div>"),this.list=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u5217\u8868 </div><div class="hiprint-option-item-field"><select class="auto-submit"><option>\u81EA\u5B9A\u4E49</option>/select></div></div>');let Q="";C.forEach(function(ht){Q+=`<option value="${ht.type}">${ht.type}</option>`}),this.list.find(".auto-submit").append(S.default(Q)),this.width=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5BBD </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u5BBD(mm)" class="auto-submit"></div></div>'),this.height=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u9AD8 </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u9AD8(mm)" class="auto-submit"></div></div>'),this.target.append(this.list),this.target.append(this.width),this.target.append(this.height);let at=this;return this.list.find("select").change(function(ht){let Mt=ht.target.value,ut=at.paperList.find(Ht=>Ht.type==Mt);ut&&(at.width.find("input").val(ut.width),at.height.find("input").val(ut.height))}),this.target.find("input").change(function(){let ht=parseInt(at.width.find("input").val()),Mt=parseInt(at.height.find("input").val());at.chagePaperType(ht,Mt)}),this.target},o.prototype.getValue=function(){return{type:this.list.find("select").val(),width:parseInt(this.width.find("input").val()),height:parseInt(this.height.find("input").val())}},o.prototype.setValue=function(e){const{type:C,width:Q,height:at}=e;C?this.list.find("select").val(C):this.chagePaperType(Q,at),this.width.find("input").val(Q),this.height.find("input").val(at)},o.prototype.chagePaperType=function(e,C){let Q=this.paperList.find(at=>at.width==e&&at.height==C);Q?this.list.find("select").val(Q.type):this.list.find("select").val("\u81EA\u5B9A\u4E49")},o.prototype.destroy=function(){this.target.remove()},o}(),mt=function(){function o(){this.name="paperDirections"}return o.prototype.createTarget=function(e){let C=e.getOrient();return this.option1=S.default(`<div class="option ${C==1?"checked":""}">\u7EB5\u5411</div>`),this.option2=S.default(`<div class="option ${C==2?"checked":""}">\u6A2A\u5411</div>`),this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u65B9\u5411 </div><div class="hiprint-option-item-field options"></div></div>'),this.target.find(".hiprint-option-item-field").append(this.option1),this.target.find(".hiprint-option-item-field").append(this.option2),this.target.find(".option").click(Q=>{Q.target.textContent=="\u7EB5\u5411",!S.default(Q.target).hasClass("checked")&&e.rotatePaper(),S.default(Q.target).addClass("checked"),S.default(Q.target).siblings().removeClass("checked")}),this.target},o.prototype.getValue=function(){},o.prototype.setValue=function(){},o.prototype.destroy=function(){this.target.remove()},o}(),gt=function(){function o(){this.name="panelPageRule"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
698
698
|
<div class="hiprint-option-item-label">
|
|
699
699
|
\u5206\u9875\u89C4\u5219
|
|
700
700
|
</div>
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
<option value="none" >\u4E0D\u5206\u9875</option>
|
|
705
705
|
</select>
|
|
706
706
|
</div>
|
|
707
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Pt=function(){function o(){this.name="leftSpaceRemoved"}return o.prototype.createTarget=function(){return this.target=
|
|
707
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Pt=function(){function o(){this.name="leftSpaceRemoved"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
708
708
|
<div class="hiprint-option-item-label">
|
|
709
709
|
\u79FB\u9664\u6BB5\u843D\u5DE6\u4FA7\u7A7A\u767D
|
|
710
710
|
</div>
|
|
@@ -715,35 +715,35 @@
|
|
|
715
715
|
<option value="false" >\u4E0D\u79FB\u9664</option>
|
|
716
716
|
</select>
|
|
717
717
|
</div>
|
|
718
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),jt=function(){function o(){this.name="firstPaperFooter"}return o.prototype.createTarget=function(){return this.target=
|
|
718
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),jt=function(){function o(){this.name="firstPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
719
719
|
<div class="hiprint-option-item-label">
|
|
720
720
|
\u9996\u9875\u9875\u5C3E
|
|
721
721
|
</div>
|
|
722
722
|
<div class="hiprint-option-item-field">
|
|
723
723
|
<input type="text" placeholder="\u9996\u9875\u9875\u5C3E" class="auto-submit">
|
|
724
724
|
</div>
|
|
725
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),St=function(){function o(){this.name="lastPaperFooter"}return o.prototype.createTarget=function(){return this.target=
|
|
725
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),St=function(){function o(){this.name="lastPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
726
726
|
<div class="hiprint-option-item-label">
|
|
727
727
|
\u5C3E\u9875\u9875\u5C3E
|
|
728
728
|
</div>
|
|
729
729
|
<div class="hiprint-option-item-field">
|
|
730
730
|
<input type="text" placeholder="\u5C3E\u9875\u9875\u5C3E" class="auto-submit">
|
|
731
731
|
</div>
|
|
732
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ut=function(){function o(){this.name="evenPaperFooter"}return o.prototype.createTarget=function(){return this.target=
|
|
732
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ut=function(){function o(){this.name="evenPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
733
733
|
<div class="hiprint-option-item-label">
|
|
734
734
|
\u5076\u6570\u9875\u9875\u5C3E
|
|
735
735
|
</div>
|
|
736
736
|
<div class="hiprint-option-item-field">
|
|
737
737
|
<input type="text" placeholder="\u5076\u6570\u9875\u9875\u5C3E" class="auto-submit">
|
|
738
738
|
</div>
|
|
739
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Zt=function(){function o(){this.name="oddPaperFooter"}return o.prototype.createTarget=function(){return this.target=
|
|
739
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Zt=function(){function o(){this.name="oddPaperFooter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
740
740
|
<div class="hiprint-option-item-label">
|
|
741
741
|
\u5947\u6570\u9875\u9875\u5C3E
|
|
742
742
|
</div>
|
|
743
743
|
<div class="hiprint-option-item-field">
|
|
744
744
|
<input type="text" placeholder="\u5947\u6570\u9875\u9875\u5C3E" class="auto-submit" >
|
|
745
745
|
</div>
|
|
746
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Lt=function(){function o(){this.name="fixed"}return o.prototype.createTarget=function(){return this.target=
|
|
746
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Lt=function(){function o(){this.name="fixed"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
747
747
|
<div class="hiprint-option-item-label">
|
|
748
748
|
\u4F4D\u7F6E\u56FA\u5B9A
|
|
749
749
|
</div>
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
<option value="true" >\u662F</option>
|
|
755
755
|
</select>
|
|
756
756
|
</div>
|
|
757
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),zt=function(){function o(){this.name="axis"}return o.prototype.createTarget=function(){return this.target=
|
|
757
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),zt=function(){function o(){this.name="axis"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
758
758
|
<div class="hiprint-option-item-label">
|
|
759
759
|
\u62D6\u52A8\u65B9\u5411
|
|
760
760
|
</div>
|
|
@@ -765,21 +765,21 @@
|
|
|
765
765
|
<option value="v" >\u7AD6\u5411</option>
|
|
766
766
|
</select>
|
|
767
767
|
</div>
|
|
768
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Wt=function(){function o(){this.name="leftOffset"}return o.prototype.createTarget=function(){return this.target=
|
|
768
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Wt=function(){function o(){this.name="leftOffset"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
769
769
|
<div class="hiprint-option-item-label">
|
|
770
770
|
\u5DE6\u504F\u79FB
|
|
771
771
|
</div>
|
|
772
772
|
<div class="hiprint-option-item-field">
|
|
773
773
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit" >
|
|
774
774
|
</div>
|
|
775
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),kt=function(){function o(){this.name="lHeight"}return o.prototype.createTarget=function(){return this.target=
|
|
775
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),kt=function(){function o(){this.name="lHeight"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
776
776
|
<div class="hiprint-option-item-label">
|
|
777
777
|
\u6700\u4F4E\u9AD8\u5EA6
|
|
778
778
|
</div>
|
|
779
779
|
<div class="hiprint-option-item-field">
|
|
780
780
|
<input type="text" placeholder="\u6587\u672C\u8FC7\u77ED\u6216\u4E3A\u7A7A\u65F6\u7684\u9AD8\u5EA6" class="auto-submit">
|
|
781
781
|
</div>
|
|
782
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Gt=function(){function o(){this.name="unShowInPage"}return o.prototype.createTarget=function(){return this.target=
|
|
782
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Gt=function(){function o(){this.name="unShowInPage"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
783
783
|
<div class="hiprint-option-item-label">
|
|
784
784
|
\u9690\u85CF\u89C4\u5219
|
|
785
785
|
</div>
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
<option value="last" >\u5C3E\u9875</option>
|
|
791
791
|
</select>
|
|
792
792
|
</div>
|
|
793
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Rt=function(){function o(){this.name="tableBodyRowBorder"}return o.prototype.css=function(e,
|
|
793
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Rt=function(){function o(){this.name="tableBodyRowBorder"}return o.prototype.css=function(e,C){if(e.find("tbody tr").length){if(C=="border"||C==null)return e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");C=="noBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):C=="leftBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):C=="rightBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):C=="leftRightBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):C=="topBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):C=="bottomBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):C=="topBottomBorder"?e.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):e.find("tbody tr").removeClass()}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
794
794
|
<div class="hiprint-option-item-label">
|
|
795
795
|
\u8868\u4F53\u884C\u8FB9\u6846
|
|
796
796
|
</div>
|
|
@@ -807,21 +807,21 @@
|
|
|
807
807
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
808
808
|
</select>
|
|
809
809
|
</div>
|
|
810
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Jt=function(){function o(){this.name="transform"}return o.prototype.css=function(e,
|
|
810
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Jt=function(){function o(){this.name="transform"}return o.prototype.css=function(e,C){if(e&&e.length){var Q=e.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(Q.length||(Q=e),C)return Q.css("transform","rotate("+C+"deg)"),Q.css("-ms-transform","rotate("+C+"deg)"),Q.css("-moz-transform","rotate("+C+"deg)"),Q.css("-webkit-transform","rotate("+C+"deg)"),Q.css("-o-transform","rotate("+C+"deg)"),"transform:rotate("+C+"deg)";Q.length&&(Q[0].style.transform="")}return null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
811
811
|
<div class="hiprint-option-item-label">
|
|
812
812
|
\u65CB\u8F6C\u89D2\u5EA6
|
|
813
813
|
</div>
|
|
814
814
|
<div class="hiprint-option-item-field">
|
|
815
815
|
<input type="number" class="auto-submit"/>
|
|
816
816
|
</div>
|
|
817
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
817
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),M=function(){function o(){this.name="zIndex"}return o.prototype.css=function(e,C){return e&&e.length&&C?e.css("z-index",C):null},o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
818
818
|
<div class="hiprint-option-item-label">
|
|
819
819
|
\u5143\u7D20\u5C42\u7EA7
|
|
820
820
|
</div>
|
|
821
821
|
<div class="hiprint-option-item-field">
|
|
822
822
|
<input type="number" class="auto-submit"/>
|
|
823
823
|
</div>
|
|
824
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())>0?parseInt(e.toString()):1},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),i=function(){function o(){this.name="borderTop"}return o.prototype.css=function(e,
|
|
824
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())>0?parseInt(e.toString()):1},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),i=function(){function o(){this.name="borderTop"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-top-style",C),"border-top:1px";e[0].style.borderTopStyle="",e[0].style.borderTopWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
825
825
|
<div class="hiprint-option-item-label">
|
|
826
826
|
\u4E0A\u8FB9\u6846
|
|
827
827
|
</div>
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
833
833
|
</select>
|
|
834
834
|
</div>
|
|
835
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),n=function(){function o(){this.name="borderLeft"}return o.prototype.css=function(e,
|
|
835
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),n=function(){function o(){this.name="borderLeft"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-left-style",C),"border-left:1px";e[0].style.borderLeftStyle="",e[0].style.borderLeftWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
836
836
|
<div class="hiprint-option-item-label">
|
|
837
837
|
\u5DE6\u8FB9\u6846
|
|
838
838
|
</div>
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
844
844
|
</select>
|
|
845
845
|
</div>
|
|
846
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),c=function(){function o(){this.name="borderRight"}return o.prototype.css=function(e,
|
|
846
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),c=function(){function o(){this.name="borderRight"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-right-style",C),"border-right:1px";e[0].style.borderRightStyle="",e[0].style.borderRightWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
847
847
|
<div class="hiprint-option-item-label">
|
|
848
848
|
\u53F3\u8FB9\u6846
|
|
849
849
|
</div>
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
855
855
|
</select>
|
|
856
856
|
</div>
|
|
857
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),b=function(){function o(){this.name="borderBottom"}return o.prototype.css=function(e,
|
|
857
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),b=function(){function o(){this.name="borderBottom"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-bottom-style",C),"border-bottom-style:1px solid";e[0].style.borderBottomStyle="",e[0].style.borderBottomWidth=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
858
858
|
<div class="hiprint-option-item-label">
|
|
859
859
|
\u4E0B\u8FB9\u6846
|
|
860
860
|
</div>
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
866
866
|
</select>
|
|
867
867
|
</div>
|
|
868
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Z=function(){function o(){this.name="contentPaddingLeft"}return o.prototype.css=function(e,
|
|
868
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Z=function(){function o(){this.name="contentPaddingLeft"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-left",C+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
869
869
|
<div class="hiprint-option-item-label">
|
|
870
870
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
871
871
|
</div>
|
|
@@ -903,7 +903,7 @@
|
|
|
903
903
|
<option value="21.75" >21.75pt</option>
|
|
904
904
|
</select>
|
|
905
905
|
</div>
|
|
906
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),z=function(){function o(){this.name="contentPaddingTop"}return o.prototype.css=function(e,
|
|
906
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),z=function(){function o(){this.name="contentPaddingTop"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-top",C+"pt"),"padding-top";Q[0].style.paddingTop=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
907
907
|
<div class="hiprint-option-item-label">
|
|
908
908
|
\u4E0A\u5185\u8FB9\u8DDD
|
|
909
909
|
</div>
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
<option value="21.75" >21.75pt</option>
|
|
942
942
|
</select>
|
|
943
943
|
</div>
|
|
944
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),R=function(){function o(){this.name="contentPaddingRight"}return o.prototype.css=function(e,
|
|
944
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),R=function(){function o(){this.name="contentPaddingRight"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-right",C+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
945
945
|
<div class="hiprint-option-item-label">
|
|
946
946
|
\u53F3\u5185\u8FB9\u8DDD
|
|
947
947
|
</div>
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
<option value="21.75" >21.75pt</option>
|
|
980
980
|
</select>
|
|
981
981
|
</div>
|
|
982
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),et=function(){function o(){this.name="contentPaddingBottom"}return o.prototype.css=function(e,
|
|
982
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),et=function(){function o(){this.name="contentPaddingBottom"}return o.prototype.css=function(e,C){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(C)return Q.css("padding-bottom",C+"pt"),"padding-bottom";Q[0].style.paddingBottom=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
983
983
|
<div class="hiprint-option-item-label">
|
|
984
984
|
\u4E0B\u5185\u8FB9\u8DDD
|
|
985
985
|
</div>
|
|
@@ -1017,9 +1017,9 @@
|
|
|
1017
1017
|
<option value="21.75" >21.75pt</option>
|
|
1018
1018
|
</select>
|
|
1019
1019
|
</div>
|
|
1020
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),K=function(){function o(){this.name="borderStyle"}return o.prototype.css=function(e,
|
|
1020
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),K=function(){function o(){this.name="borderStyle"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("border-style",C),"border-style:1px";e[0].style.borderStyle=""}return null},o.prototype.createTarget=function(e){var C=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1021
1021
|
<div class="hiprint-option-item-label">
|
|
1022
|
-
`+
|
|
1022
|
+
`+C+`
|
|
1023
1023
|
</div>
|
|
1024
1024
|
<div class="hiprint-option-item-field">
|
|
1025
1025
|
<select class="auto-submit">
|
|
@@ -1029,14 +1029,14 @@
|
|
|
1029
1029
|
<option value="dotted" >\u77ED\u865A\u7EBF</option>
|
|
1030
1030
|
</select>
|
|
1031
1031
|
</div>
|
|
1032
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),nt=function(){function o(){this.name="backgroundColor"}return o.prototype.css=function(e,
|
|
1032
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),nt=function(){function o(){this.name="backgroundColor"}return o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.css("background-color",C),"background-color:"+C;e[0].style.backgroundColor=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1033
1033
|
<div class="hiprint-option-item-label">
|
|
1034
1034
|
\u80CC\u666F\u989C\u8272
|
|
1035
1035
|
</div>
|
|
1036
1036
|
<div class="hiprint-option-item-field">
|
|
1037
1037
|
<input type="text" class="auto-submit"/>
|
|
1038
1038
|
</div>
|
|
1039
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),X=function(){function o(){this.name="orient"}return o.prototype.createTarget=function(){return this.target=
|
|
1039
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),X=function(){function o(){this.name="orient"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1040
1040
|
<div class="hiprint-option-item-label">
|
|
1041
1041
|
\u6253\u5370\u65B9\u5411
|
|
1042
1042
|
</div>
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
<option value="2" >\u6A2A\u5411</option>
|
|
1048
1048
|
</select>
|
|
1049
1049
|
</div>
|
|
1050
|
-
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),rt=function(){function o(){this.name="textContentVerticalAlign"}return o.prototype.createTarget=function(){return this.target=
|
|
1050
|
+
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),rt=function(){function o(){this.name="textContentVerticalAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1051
1051
|
<div class="hiprint-option-item-label">
|
|
1052
1052
|
\u4E0A\u4E0B\u5BF9\u9F50
|
|
1053
1053
|
</div>
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
|
|
1060
1060
|
</select>
|
|
1061
1061
|
</div>
|
|
1062
|
-
</div>`),this.target},o.prototype.css=function(e,
|
|
1062
|
+
</div>`),this.target},o.prototype.css=function(e,C){return e&&e.length&&(e.removeClass("hiprint-text-content-middle"),e.removeClass("hiprint-text-content-bottom"),C)?(C==="middle"&&e.addClass("hiprint-text-content-middle"),C==="bottom"&&e.addClass("hiprint-text-content-bottom"),""):null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),q=function(){function o(){this.name="textContentWrap"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1063
1063
|
<div class="hiprint-option-item-label">
|
|
1064
1064
|
\u6587\u672C\u6362\u884C
|
|
1065
1065
|
</div>
|
|
@@ -1071,12 +1071,12 @@
|
|
|
1071
1071
|
<option value="ellipsis" >\u4E0D\u6362\u884C&\u7701\u7565</option>
|
|
1072
1072
|
</select>
|
|
1073
1073
|
</div>
|
|
1074
|
-
</div>`),this.target},o.prototype.css=function(e,
|
|
1074
|
+
</div>`),this.target},o.prototype.css=function(e,C){return e&&e.length&&(e.removeClass("hiprint-text-content-wrap"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),e.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),C)?(e.addClass("hiprint-text-content-wrap"),e.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+C),""):null},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ot=f(5),ct=function(){function o(){this.name="columns"}return o.prototype.createTarget=function(){return S.default('<div class="indicator"></div>').appendTo("body"),this.target=S.default(' <div class="hiprint-option-item hiprint-option-item-row"><ul class="hiprint-option-table-selected-columns"></ul></div>'),this.target},o.prototype.getValue=function(){return this.buildData()},o.prototype.setValue=function(e,C,Q){var at=this,ht=this;this.value=e,this.options=C,this.printElementType=Q;var Mt=Q.columns[0].filter(function(ut){return e[0].columns.filter(function(Ht){return ut.columnId==Ht.columnId}).length==0}).map(function(ut){var Ht=new ot.a(ut);return Ht.checked=!1,Ht});this.allColumns=e[0].columns.concat(Mt),e&&e.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ut,Ht){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|
1075
1075
|
`+(ut.checked?'<input type="checkbox" checked column-id="'+(ut.id||ut.columnId)+'" />':'<input type="checkbox" column-id="'+(ut.id||ut.columnId)+'" />')+`
|
|
1076
1076
|
<div class="state">
|
|
1077
1077
|
<label></label>
|
|
1078
1078
|
</div>
|
|
1079
|
-
</div><span class="column-title">`+(ut.title||ut.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ut){var Ht=ut.target.checked,Dt=ut.target.attributes["column-id"].nodeValue||"",Ot=at.allColumns.findIndex(function(Qt){return Qt.field==Dt||Qt.id==Dt});Ot>=0&&(at.allColumns[Ot].checked=Ht),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(Ht,Dt){
|
|
1079
|
+
</div><span class="column-title">`+(ut.title||ut.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ut){var Ht=ut.target.checked,Dt=ut.target.attributes["column-id"].nodeValue||"",Ot=at.allColumns.findIndex(function(Qt){return Qt.field==Dt||Qt.id==Dt});Ot>=0&&(at.allColumns[Ot].checked=Ht),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(Ht,Dt){S.default(this).css("border-top-color","red")},onDragLeave:function(Ht,Dt){S.default(this).css("border-top-color","")},onDrop:function(Ht,Dt){S.default(Dt).insertBefore(this),S.default(this).css("border-top-color",""),ht.submit()}}))},o.prototype.buildData=function(){var e=this,C=[];return e.options.columns.length>1?this.value:(e.printElementType.makeColumnObj(e.allColumns),this.target.find("input").map(function(Q,at){var ht=S.default(at).attr("column-id"),Mt=e.printElementType.getColumnByColumnId(ht);if(Mt){var ut=new ot.a(Mt);ut.checked=Mt.checked,C.push(ut)}}),this.value[0].columns=C,this.value)},o.prototype.destroy=function(){this.target.remove()},o}(),lt=function(){function o(){this.name="textType"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1080
1080
|
<div class="hiprint-option-item-label">
|
|
1081
1081
|
\u6253\u5370\u7C7B\u578B
|
|
1082
1082
|
</div>
|
|
@@ -1088,7 +1088,7 @@
|
|
|
1088
1088
|
<option value="qrcode" >\u4E8C\u7EF4\u7801</option>
|
|
1089
1089
|
</select>
|
|
1090
1090
|
</div>
|
|
1091
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),
|
|
1091
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ft=function(){function o(){this.name="tableTextType"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1092
1092
|
<div class="hiprint-option-item-label">
|
|
1093
1093
|
\u5B57\u6BB5\u7C7B\u578B
|
|
1094
1094
|
</div>
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
<option value="image" >\u56FE\u7247</option>
|
|
1103
1103
|
</select>
|
|
1104
1104
|
</div>
|
|
1105
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),wt=function(){function o(){this.name="tableBarcodeMode"}return o.prototype.createTarget=function(){return this.target=
|
|
1105
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),wt=function(){function o(){this.name="tableBarcodeMode"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1106
1106
|
<div class="hiprint-option-item-label">
|
|
1107
1107
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
1108
1108
|
</div>
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
<option value="Pharmacode" >Pharmacode</option>
|
|
1129
1129
|
</select>
|
|
1130
1130
|
</div>
|
|
1131
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ct=function(){function o(){this.name="tableQRCodeLevel"}return o.prototype.createTarget=function(){return this.target=
|
|
1131
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ct=function(){function o(){this.name="tableQRCodeLevel"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1132
1132
|
<div class="hiprint-option-item-label">
|
|
1133
1133
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
1134
1134
|
</div>
|
|
@@ -1141,28 +1141,28 @@
|
|
|
1141
1141
|
<option value="2" >30% H</option>
|
|
1142
1142
|
</select>
|
|
1143
1143
|
</div>
|
|
1144
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ft=function(){function o(){this.name="tableColumnHeight"}return o.prototype.createTarget=function(){return this.target=
|
|
1144
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ft=function(){function o(){this.name="tableColumnHeight"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1145
1145
|
<div class="hiprint-option-item-label">
|
|
1146
1146
|
\u5355\u5143\u683C\u9AD8\u5EA6
|
|
1147
1147
|
</div>
|
|
1148
1148
|
<div class="hiprint-option-item-field">
|
|
1149
1149
|
<input type="text" placeholder="\u6761\u5F62\u7801\u3001\u4E8C\u7EF4\u7801\u4EE5\u53CA\u56FE\u7247\u6709\u6548" class="auto-submit" >
|
|
1150
1150
|
</div>
|
|
1151
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Vt=function(){function o(){this.name="tableSummaryTitle"}return o.prototype.createTarget=function(){return this.target=
|
|
1151
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Vt=function(){function o(){this.name="tableSummaryTitle"}return o.prototype.createTarget=function(){return this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u6807\u9898</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u9ED8\u8BA4</option><option value="true">\u663E\u793A</option><option value="false">\u9690\u85CF</option></select></div></div>'),this.target},o.prototype.getValue=function(){return this.target.find("select").val()!="false"},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),te=function(){function o(){this.name="tableSummaryText"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1152
1152
|
<div class="hiprint-option-item-label">
|
|
1153
1153
|
\u5E95\u90E8\u805A\u5408\u6587\u672C
|
|
1154
1154
|
</div>
|
|
1155
1155
|
<div class="hiprint-option-item-field">
|
|
1156
1156
|
<input type="text" placeholder="\u805A\u5408\u7C7B\u578B:" class="auto-submit" >
|
|
1157
1157
|
</div>
|
|
1158
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ee=function(){function o(){this.name="tableSummaryColspan"}return o.prototype.createTarget=function(){return this.target=
|
|
1158
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ee=function(){function o(){this.name="tableSummaryColspan"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1159
1159
|
<div class="hiprint-option-item-label">
|
|
1160
1160
|
\u5E95\u90E8\u805A\u5408\u5408\u5E76\u5217\u6570
|
|
1161
1161
|
</div>
|
|
1162
1162
|
<div class="hiprint-option-item-field">
|
|
1163
1163
|
<input type="number" min="0" step="1" placeholder="\u5408\u5E76\u5217\u6570" class="auto-submit" >
|
|
1164
1164
|
</div>
|
|
1165
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ie=function(){function o(){this.name="tableSummaryAlign"}return o.prototype.createTarget=function(){return this.target=
|
|
1165
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ie=function(){function o(){this.name="tableSummaryAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1166
1166
|
<div class="hiprint-option-item-label">
|
|
1167
1167
|
\u5E95\u90E8\u805A\u5408\u7C7B\u578B\u5DE6\u53F3\u5BF9\u9F50
|
|
1168
1168
|
</div>
|
|
@@ -1175,32 +1175,32 @@
|
|
|
1175
1175
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1176
1176
|
</select>
|
|
1177
1177
|
</div>
|
|
1178
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ne=function(){function o(){this.name="tableSummaryNumFormat"}return o.prototype.createTarget=function(){var e=[{t:"\u6574\u6570",v:"0"}],
|
|
1179
|
-
<option value="" >\u9ED8\u8BA4</option>`;return e.forEach(function(at){
|
|
1180
|
-
<option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=
|
|
1178
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ne=function(){function o(){this.name="tableSummaryNumFormat"}return o.prototype.createTarget=function(){var e=[{t:"\u6574\u6570",v:"0"}],C=[1,2,3,4,5,6];C.forEach(function(at){e.push({t:"\u4FDD\u7559"+at+"\u4F4D",v:""+at})});var Q=`
|
|
1179
|
+
<option value="" >\u9ED8\u8BA4</option>`;return e.forEach(function(at){Q+=`
|
|
1180
|
+
<option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1181
1181
|
<div class="hiprint-option-item-label">
|
|
1182
1182
|
\u5E95\u90E8\u805A\u5408\u5C0F\u6570
|
|
1183
1183
|
</div>
|
|
1184
1184
|
<div class="hiprint-option-item-field">
|
|
1185
1185
|
<select class="auto-submit"></select>
|
|
1186
1186
|
</div>
|
|
1187
|
-
</div>`),this.target.find(".auto-submit").append(
|
|
1188
|
-
<option value="">\u9ED8\u8BA4</option>`;return e.forEach(
|
|
1189
|
-
<option value='${
|
|
1187
|
+
</div>`),this.target.find(".auto-submit").append(S.default(Q)),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),oe=function(){function o(){this.name="upperCase"}return o.prototype.createTarget=function(){var e=[{t:"\u300C\u5C0F\u5199\u300D\u5341\u70B9\u516B",v:"0"},{t:"\u300C\u5C0F\u5199\u300D\u4E00\u5341\u70B9\u516B",v:"1"},{t:"\u300C\u5927\u5199\u300D\u62FE\u70B9\u634C",v:"2"},{t:"\u300C\u5927\u5199\u300D\u58F9\u62FE\u70B9\u634C",v:"3"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u62FE\u5143\u634C\u89D2",v:"4"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2",v:"5"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"6"},{t:"\u300C\u91D1\u989D\u300D\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"7"}],C=`
|
|
1188
|
+
<option value="">\u9ED8\u8BA4</option>`;return e.forEach(Q=>{C+=`
|
|
1189
|
+
<option value='${Q.v}'>${Q.t}</option>`}),this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1190
1190
|
<div class="hiprint-option-item-label">
|
|
1191
1191
|
\u8F6C\u5927\u5C0F\u5199
|
|
1192
1192
|
</div>
|
|
1193
1193
|
<div class="hiprint-option-item-field">
|
|
1194
1194
|
<select class="auto-submit"></select>
|
|
1195
1195
|
</div>
|
|
1196
|
-
</div>`),this.target.find(".auto-submit").append(
|
|
1196
|
+
</div>`),this.target.find(".auto-submit").append(S.default(C)),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ae=function(){function o(){this.name="tableSummary"}return o.prototype.createTarget=function(){return this.target=S.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u7C7B\u578B</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u4E0D\u805A\u5408</option><option value="count">\u8BA1\u6570</option><option value="sum">\u5408\u8BA1</option><option value="avg">\u5E73\u5747\u503C</option><option value="min">\u6700\u5C0F\u503C</option><option value="max">\u6700\u5927\u503C</option></select></div></div>'),this.target},o.prototype.getValue=function(){return this.target.find("select").val()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),re=function(){function o(){this.name="topOffset"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1197
1197
|
<div class="hiprint-option-item-label">
|
|
1198
1198
|
\u9876\u90E8\u504F\u79FB
|
|
1199
1199
|
</div>
|
|
1200
1200
|
<div class="hiprint-option-item-field">
|
|
1201
1201
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit">
|
|
1202
1202
|
</div>
|
|
1203
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),se=function(){function o(){this.name="gridColumns"}return o.prototype.createTarget=function(){return this.target=
|
|
1203
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),se=function(){function o(){this.name="gridColumns"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1204
1204
|
<div class="hiprint-option-item-label">
|
|
1205
1205
|
\u4E00\u884C\u591A\u7EC4
|
|
1206
1206
|
</div>
|
|
@@ -1212,7 +1212,7 @@
|
|
|
1212
1212
|
<option value="4" >\u4E00\u884C\u56DB\u5217</option>
|
|
1213
1213
|
</select>
|
|
1214
1214
|
</div>
|
|
1215
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),le=function(){function o(){this.name="gridColumnsGutter"}return o.prototype.createTarget=function(){return this.target=
|
|
1215
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),le=function(){function o(){this.name="gridColumnsGutter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1216
1216
|
<div class="hiprint-option-item-label">
|
|
1217
1217
|
\u4E00\u884C\u591A\u7EC4\u95F4\u9694
|
|
1218
1218
|
</div>
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
<option value="9" >9pt</option>
|
|
1233
1233
|
</select>
|
|
1234
1234
|
</div>
|
|
1235
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.css=function(e,
|
|
1235
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.css=function(e,C){if(e&&e.length){if(C)return e.find(".table-grid-row").css("margin-left","-"+C+"pt").css("margin-right","-"+C+"pt"),e.find(".tableGridColumnsGutterRow").css("padding-left",C+"pt").css("padding-right",C+"pt"),null;e.find(".table-grid-row").map(function(Q,at){at.style.marginLeft="",at.style.marginRight=""}),e.find(".tableGridColumnsGutterRow").map(function(Q,at){at.style.paddingLeft="",at.style.paddingRight=""})}return null},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),pe=function(){function o(){this.name="tableHeaderRepeat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1236
1236
|
<div class="hiprint-option-item-label">
|
|
1237
1237
|
\u8868\u683C\u5934\u663E\u793A
|
|
1238
1238
|
</div>
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
<option value="none" >\u4E0D\u663E\u793A</option>
|
|
1245
1245
|
</select>
|
|
1246
1246
|
</div>
|
|
1247
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ie=function(){function o(){this.name="paddingLeft"}return o.prototype.css=function(e,
|
|
1247
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ie=function(){function o(){this.name="paddingLeft"}return o.prototype.css=function(e,C){var Q=e;if(Q&&Q.length){if(C)return Q.css("padding-left",C+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1248
1248
|
<div class="hiprint-option-item-label">
|
|
1249
1249
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
1250
1250
|
</div>
|
|
@@ -1282,7 +1282,7 @@
|
|
|
1282
1282
|
<option value="21.75" >21.75pt</option>
|
|
1283
1283
|
</select>
|
|
1284
1284
|
</div>
|
|
1285
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ce=function(){function o(){this.name="paddingRight"}return o.prototype.css=function(e,
|
|
1285
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ce=function(){function o(){this.name="paddingRight"}return o.prototype.css=function(e,C){var Q=e;if(Q&&Q.length){if(C)return Q.css("padding-right",C+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1286
1286
|
<div class="hiprint-option-item-label">
|
|
1287
1287
|
\u53F3\u5185\u8FB9\u8DDD
|
|
1288
1288
|
</div>
|
|
@@ -1320,7 +1320,7 @@
|
|
|
1320
1320
|
<option value="21.75" >21.75pt</option>
|
|
1321
1321
|
</select>
|
|
1322
1322
|
</div>
|
|
1323
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ue=function(){function o(){this.name="dataType"}return o.prototype.createTarget=function(){var e=this;return this.target=
|
|
1323
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},o.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),ue=function(){function o(){this.name="dataType"}return o.prototype.createTarget=function(){var e=this;return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1324
1324
|
<div class="hiprint-option-item-label">
|
|
1325
1325
|
\u6570\u636E\u7C7B\u578B
|
|
1326
1326
|
</div>
|
|
@@ -1343,7 +1343,7 @@
|
|
|
1343
1343
|
</select>
|
|
1344
1344
|
<input class="auto-submit hiprint-option-item-datatype-input-format" type="text" data-type="boolean" placeholder="true:false">
|
|
1345
1345
|
</div>
|
|
1346
|
-
</div>`),
|
|
1346
|
+
</div>`),S.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var C=S.default(e.target.find(".hiprint-option-item-datatype")).val();e.loadFormatSelectByDataType(C),e.submit(e.getValue())}),this.target},o.prototype.getValue=function(){var e=this.target.find(".hiprint-option-item-datatype").val();if(e){var C=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:e,format:C||void 0}}return{dataType:void 0,format:void 0}},o.prototype.setValue=function(e,C){this.target.find(".hiprint-option-item-datatype").val(C.dataType||""),this.loadFormatSelectByDataType(C.dataType),this.target.find(".hiprint-option-item-datatype-format").val(C.format||"")},o.prototype.destroy=function(){this.target.remove()},o.prototype.loadFormatSelectByDataType=function(e){e==="boolean"?(this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()):e==="datetime"?(this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-select-format").html(`
|
|
1347
1347
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1348
1348
|
<option value="M/d" >M/d</option>
|
|
1349
1349
|
<option value="MM/dd" >MM/dd</option>
|
|
@@ -1399,21 +1399,21 @@
|
|
|
1399
1399
|
<div class="hiprint-option-item-field">
|
|
1400
1400
|
<textarea style="height:80px;" placeholder="function(title,value,options,templateData,target){}" class="auto-submit"></textarea>
|
|
1401
1401
|
</div>
|
|
1402
|
-
</div>`;return this.target=
|
|
1402
|
+
</div>`;return this.target=S.default(e),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ge=function(){function o(){this.name="styler"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1403
1403
|
<div class="hiprint-option-item-label">
|
|
1404
1404
|
\u6837\u5F0F\u51FD\u6570
|
|
1405
1405
|
</div>
|
|
1406
1406
|
<div class="hiprint-option-item-field">
|
|
1407
1407
|
<textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
|
|
1408
1408
|
</div>
|
|
1409
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),he=function(){function o(){this.name="rowsColumnsMerge"}return o.prototype.createTarget=function(){return this.target=
|
|
1409
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),he=function(){function o(){this.name="rowsColumnsMerge"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1410
1410
|
<div class="hiprint-option-item-label">
|
|
1411
1411
|
\u884C/\u5217\u5408\u5E76\u51FD\u6570
|
|
1412
1412
|
</div>
|
|
1413
1413
|
<div class="hiprint-option-item-field">
|
|
1414
|
-
<textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex){ return [1,1] }" class="auto-submit"></textarea>
|
|
1414
|
+
<textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex, tableData, printData){ return [1,1] }" class="auto-submit"></textarea>
|
|
1415
1415
|
</div>
|
|
1416
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),me=function(){function o(){this.name="rowsColumnsMergeClean"}return o.prototype.createTarget=function(){return this.target=
|
|
1416
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),me=function(){function o(){this.name="rowsColumnsMergeClean"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1417
1417
|
<div class="hiprint-option-item-label">
|
|
1418
1418
|
\u8DE8\u9875\u5408\u5E76\u662F\u5426\u6E05\u9664
|
|
1419
1419
|
</div>
|
|
@@ -1424,49 +1424,49 @@
|
|
|
1424
1424
|
<option value="false" >\u5426</option>
|
|
1425
1425
|
</select>
|
|
1426
1426
|
</div>
|
|
1427
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),fe=function(){function o(){this.name="footerFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1427
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),fe=function(){function o(){this.name="footerFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1428
1428
|
<div class="hiprint-option-item-label">
|
|
1429
1429
|
\u8868\u683C\u811A\u51FD\u6570
|
|
1430
1430
|
</div>
|
|
1431
1431
|
<div class="hiprint-option-item-field">
|
|
1432
1432
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '<tr></tr>' }" class="auto-submit"></textarea>
|
|
1433
1433
|
</div>
|
|
1434
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),be=function(){function o(){this.name="groupFieldsFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1434
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),be=function(){function o(){this.name="groupFieldsFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1435
1435
|
<div class="hiprint-option-item-label">
|
|
1436
1436
|
\u5206\u7EC4\u5B57\u6BB5\u51FD\u6570
|
|
1437
1437
|
</div>
|
|
1438
1438
|
<div class="hiprint-option-item-field">
|
|
1439
1439
|
<textarea style="height:80px;" placeholder="function(type,options,data){ return [] }" class="auto-submit"></textarea>
|
|
1440
1440
|
</div>
|
|
1441
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ve=function(){function o(){this.name="groupFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1441
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ve=function(){function o(){this.name="groupFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1442
1442
|
<div class="hiprint-option-item-label">
|
|
1443
1443
|
\u5206\u7EC4\u5934\u683C\u5F0F\u5316\u51FD\u6570
|
|
1444
1444
|
</div>
|
|
1445
1445
|
<div class="hiprint-option-item-field">
|
|
1446
1446
|
<textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u5934\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1447
1447
|
</div>
|
|
1448
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ye=function(){function o(){this.name="groupFooterFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1448
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),ye=function(){function o(){this.name="groupFooterFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1449
1449
|
<div class="hiprint-option-item-label">
|
|
1450
1450
|
\u5206\u7EC4\u811A\u683C\u5F0F\u5316\u51FD\u6570
|
|
1451
1451
|
</div>
|
|
1452
1452
|
<div class="hiprint-option-item-field">
|
|
1453
1453
|
<textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u811A\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1454
1454
|
</div>
|
|
1455
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Me=function(){function o(){this.name="gridColumnsFooterFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1455
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Me=function(){function o(){this.name="gridColumnsFooterFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1456
1456
|
<div class="hiprint-option-item-label">
|
|
1457
1457
|
\u591A\u7EC4\u8868\u683C\u811A\u51FD\u6570
|
|
1458
1458
|
</div>
|
|
1459
1459
|
<div class="hiprint-option-item-field">
|
|
1460
1460
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '' }" class="auto-submit"></textarea>
|
|
1461
1461
|
</div>
|
|
1462
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Pe=function(){function o(){this.name="rowStyler"}return o.prototype.createTarget=function(){return this.target=
|
|
1462
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Pe=function(){function o(){this.name="rowStyler"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1463
1463
|
<div class="hiprint-option-item-label">
|
|
1464
1464
|
\u884C\u6837\u5F0F\u51FD\u6570
|
|
1465
1465
|
</div>
|
|
1466
1466
|
<div class="hiprint-option-item-field">
|
|
1467
1467
|
<textarea style="height:80px;" placeholder="function(value,options){ return '' }" class="auto-submit"></textarea>
|
|
1468
1468
|
</div>
|
|
1469
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),je=function(){function o(){this.name="align"}return o.prototype.createTarget=function(){return this.target=
|
|
1469
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),je=function(){function o(){this.name="align"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1470
1470
|
<div class="hiprint-option-item-label">
|
|
1471
1471
|
\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1472
1472
|
</div>
|
|
@@ -1479,7 +1479,7 @@
|
|
|
1479
1479
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1480
1480
|
</select>
|
|
1481
1481
|
</div>
|
|
1482
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Se=function(){function o(){this.name="vAlign"}return o.prototype.createTarget=function(){return this.target=
|
|
1482
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Se=function(){function o(){this.name="vAlign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1483
1483
|
<div class="hiprint-option-item-label">
|
|
1484
1484
|
\u5355\u5143\u683C\u4E0A\u4E0B\u5BF9\u9F50
|
|
1485
1485
|
</div>
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
|
|
1493
1493
|
</select>
|
|
1494
1494
|
</div>
|
|
1495
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Te=function(){function o(){this.name="halign"}return o.prototype.createTarget=function(){return this.target=
|
|
1495
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Te=function(){function o(){this.name="halign"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1496
1496
|
<div class="hiprint-option-item-label">
|
|
1497
1497
|
\u8868\u683C\u5934\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1498
1498
|
</div>
|
|
@@ -1505,35 +1505,35 @@
|
|
|
1505
1505
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1506
1506
|
</select>
|
|
1507
1507
|
</div>
|
|
1508
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),we=function(){function o(){this.name="styler2"}return o.prototype.createTarget=function(){return this.target=
|
|
1508
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),we=function(){function o(){this.name="styler2"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1509
1509
|
<div class="hiprint-option-item-label">
|
|
1510
1510
|
\u5355\u5143\u683C\u6837\u5F0F\u51FD\u6570
|
|
1511
1511
|
</div>
|
|
1512
1512
|
<div class="hiprint-option-item-field">
|
|
1513
1513
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1514
1514
|
</div>
|
|
1515
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),xe=function(){function o(){this.name="stylerHeader"}return o.prototype.createTarget=function(){return this.target=
|
|
1515
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),xe=function(){function o(){this.name="stylerHeader"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1516
1516
|
<div class="hiprint-option-item-label">
|
|
1517
1517
|
\u8868\u683C\u5934\u6837\u5F0F\u51FD\u6570
|
|
1518
1518
|
</div>
|
|
1519
1519
|
<div class="hiprint-option-item-field">
|
|
1520
1520
|
<textarea style="height:80px;" placeholder="function(options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1521
1521
|
</div>
|
|
1522
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),He=function(){function o(){this.name="formatter2"}return o.prototype.createTarget=function(){return this.target=
|
|
1522
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),He=function(){function o(){this.name="formatter2"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1523
1523
|
<div class="hiprint-option-item-label">
|
|
1524
1524
|
\u5355\u5143\u683C\u683C\u5F0F\u5316\u51FD\u6570
|
|
1525
1525
|
</div>
|
|
1526
1526
|
<div class="hiprint-option-item-field">
|
|
1527
1527
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
|
|
1528
1528
|
</div>
|
|
1529
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ce=function(){function o(){this.name="renderFormatter"}return o.prototype.createTarget=function(){return this.target=
|
|
1529
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ce=function(){function o(){this.name="renderFormatter"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1530
1530
|
<div class="hiprint-option-item-label">
|
|
1531
1531
|
\u5355\u5143\u683C\u6E32\u67D3\u51FD\u6570
|
|
1532
1532
|
</div>
|
|
1533
1533
|
<div class="hiprint-option-item-field">
|
|
1534
1534
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|
1535
1535
|
</div>
|
|
1536
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ne=function(){function o(){this.name="autoCompletion"}return o.prototype.createTarget=function(){return this.target=
|
|
1536
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},o.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},o.prototype.destroy=function(){this.target.remove()},o}(),Ne=function(){function o(){this.name="autoCompletion"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1537
1537
|
<div class="hiprint-option-item-label">
|
|
1538
1538
|
\u81EA\u52A8\u8865\u5168
|
|
1539
1539
|
</div>
|
|
@@ -1544,14 +1544,14 @@
|
|
|
1544
1544
|
<option value="false" >\u5426</option>
|
|
1545
1545
|
</select>
|
|
1546
1546
|
</div>
|
|
1547
|
-
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),De=function(){function o(){this.name="maxRows"}return o.prototype.createTarget=function(){return this.target=
|
|
1547
|
+
</div>`),this.target},o.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},o.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},o.prototype.destroy=function(){this.target.remove()},o}(),De=function(){function o(){this.name="maxRows"}return o.prototype.createTarget=function(){return this.target=S.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1548
1548
|
<div class="hiprint-option-item-label">
|
|
1549
1549
|
\u6BCF\u9875\u6700\u5927\u884C\u6570
|
|
1550
1550
|
</div>
|
|
1551
1551
|
<div class="hiprint-option-item-field">
|
|
1552
1552
|
<input type="number" value="1" step="1" min="1" class="auto-submit"/>
|
|
1553
1553
|
</div>
|
|
1554
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ae=function(){function o(){this.name="tableFooterRepeat"}return o.prototype.createTarget=function(){return this.target=
|
|
1554
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())},o.prototype.setValue=function(e){this.target.find("input").val(e)},o.prototype.destroy=function(){this.target.remove()},o}(),Ae=function(){function o(){this.name="tableFooterRepeat"}return o.prototype.createTarget=function(){return this.target=S.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1555
1555
|
<div class="hiprint-option-item-label">
|
|
1556
1556
|
\u8868\u683C\u811A\u663E\u793A
|
|
1557
1557
|
</div>
|
|
@@ -1563,22 +1563,22 @@
|
|
|
1563
1563
|
<option value="last" >\u6700\u540E\u663E\u793A</option>
|
|
1564
1564
|
</select>
|
|
1565
1565
|
</div>
|
|
1566
|
-
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}();m.d(F,"a",function(){return Ee});var Ee=function(){function o(){}return o.init=function(){o.printElementOptionItems||(o.printElementOptionItems={},o._printElementOptionItems.forEach(function(e){o.printElementOptionItems[e.name]=e}))},o.registerItem=function(e){if(!e.name)throw new Error("styleItem must have name");o.init(),o.printElementOptionItems[e.name]=e},o.getItem=function(e){return o.init(),o.printElementOptionItems[e]},o._printElementOptionItems=[new U,new v,new p,new I,new G,new l,new H,new lt,new D,new E,new s,new B,new C,new T,new M,new x,new w,new S,new a,new f,new r,new u,new h,new P,new d,new g,new A,new L,new W,new J,new Q,new V,new Y,new $,new k,new it,new st,new pt,new ct,new bt,new vt,new Mt,new ft,new ht,new dt,new Pt,new jt,new St,new Ut,new Zt,new Lt,new zt,new re,new Wt,new kt,new Gt,new Rt,new Jt,new y,new i,new n,new c,new b,new z,new Z,new R,new et,new K,new nt,new X,new rt,new q,new It,new se,new le,new pe,new Ie,new ce,new ue,new de,new ge,new fe,new he,new me,new be,new ve,new ye,new Me,new Pe,new je,new Te,new Se,new we,new xe,new He,new Ce,new Ne,new De,new Ae,new Ft,new wt,new Ct,new mt,new Vt,new te,new ee,new ae,new ie,new ne,new oe],o}()},function(tt,F,m){m.d(F,"a",function(){return U}),m.d(F,"b",function(){return v});var G=m(14),U=function(){function l(H,D){this.selectedCells=[],this.rows=H,this.tableTatget=D}return l.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},l.prototype.setSingleSelect=function(H){this.startCell=H,this.selectedCells=[]},l.prototype.getSingleSelect=function(){if(this.selectedCells.length){if(this.selectedCells.length==1)return this.selectedCells[0].length==1?this.selectedCells[0][0]:void 0;if(this.selectedCells.length>1)return}return this.startCell},l.prototype.singleSelectByXY=function(H,D){var E=this.getCellByXY(H,D);E&&(this.clear(),E&&(E.cell.select(),this.startCell=E,this.selectedCells=[]))},l.prototype.multipleSelectByXY=function(H,D){this.clear();var E=[];if(this.startCell){var s=this.getCellByXY(H,D);if(s){var x=G.a.mergeRect(this.startCell.cell.getTableRect(),s.cell.getTableRect());this.selectByRect(new p(x),E)}}this.selectedCells=E},l.prototype.selectByRect=function(H,D){this.rows.forEach(function(E,s){var x=[];E.columns.forEach(function(w){w.isInRect(H)&&(x.push(new I(s,w)),w.select())}),x.length&&D.push(x)}),H.changed&&(H.changed=!1,D.splice(0,D.length),this.selectByRect(H,D))},l.prototype.getSelectedCells=function(){return this.selectedCells},l.prototype.getCellByXY=function(H,D){var E;return this.rows.forEach(function(s,x){var w=(s.columns||[]).filter(function(B){return B.checked}).filter(function(B){return B.isXYinCell(H,D)});w.length&&(E=new I(x,w[0]))}),E},l}(),v=function(){return function(l){this.x=l.x,this.y=l.y,this.height=l.height,this.width=l.width}}(),p=function(){return function(l){this.rect=l}}(),I=function(){return function(l,H){this.rowIndex=l,this.cell=H}}()},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){function U(){}return U.createId=function(){return this.id+=1,this.id},U.id=1,U}()},function(tt,F,m){m.d(F,"a",function(){return I});var G,U=m(5),v=m(13),p=(G=function(H,D){return(G=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(E,s){E.__proto__=s}||function(E,s){for(var x in s)s.hasOwnProperty(x)&&(E[x]=s[x])})(H,D)},function(l,H){function D(){this.constructor=l}G(l,H),l.prototype=H===null?Object.create(H):(D.prototype=H.prototype,new D)}),I=function(l){function H(D){var E=l.call(this)||this;return E.columns=[],D&&D.constructor===Array?(D||[]).forEach(function(s){E.columns.push(new U.a(s))}):D.columns&&(D.columns||[]).forEach(function(s){E.columns.push(new U.a(s))}),E}return p(H,l),H.prototype.getPrintElementOptionEntity=function(){var D=[],E=this.allColumns?this.allColumns.filter(function(s){return!s.checked}):[];return[...this.columns,...E].forEach(function(s){D.push(s.getEntity())}),D},H}(v.a)},function(tt,F,m){m.d(F,"a",function(){return v});var G=m(11),U=m(5),v=function(){function p(){this.id=G.a.createId()}return p.prototype.init=function(I,l,H){this.isHead=H,this.target=l||j.default("<tr></tr>"),this.tableOptions=I,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(D){return D.checked}))},p.prototype.getTarget=function(){return this.target},p.prototype.initCells=function(I){var l=this;I?(this.columns=I,I.forEach(function(H,D){H.init(l.target.find("td:eq("+D+")"),l.tableOptions,l.id,l.isHead)})):(this.columns=[],this.target.find("td").map(function(H,D){var E=new U.a;E.init(j.default(D),l.tableOptions,l.id,l.isHead),l.columns.push(E)}))},p.prototype.removeCell=function(I){var l=this.columns.indexOf(I);this.columns[l].getTarget().remove(),this.columns.splice(l,1)},p.prototype.createTableCell=function(I,l){var H=new U.a;return H.init(j.default("<td></td>"),this.tableOptions,this.id,this.isHead),I>1&&(H.getTarget().attr("rowspan",I),H.rowspan=I),l>1&&(H.getTarget().attr("colspan",l),H.colspan=l),H},p.prototype.insertToTargetCellLeft=function(I,l){var H=this.columns.indexOf(I);I.getTarget().before(l.getTarget()),this.columns.splice(H,0,l)},p.prototype.insertToTargetCellRight=function(I,l){var H=this.columns.indexOf(I);this.columns[H].getTarget().after(l.getTarget()),this.columns.splice(H+1,0,l)},p.prototype.insertCellToFirst=function(I){this.target.prepend(I.getTarget()),this.columns.splice(0,0,I)},p.prototype.insertCellToLast=function(I){this.columns.push(I),this.target.append(I.getTarget())},p.prototype.getPrintElementOptionEntity=function(){var I=[];return[...this.columns,...this.allColumns.filter(function(l){return!l.checked})].forEach(function(l){I.push(l.getEntity())}),I},p}()},function(tt,F,m){m.d(F,"a",function(){return U});var G=m(10),U=function(){function v(){}return v.mergeRect=function(p,I){var l=Math.min(p.x,I.x),H=Math.min(p.y,I.y);return new G.b({x:l,y:H,height:Math.max(p.y+p.height,I.y+I.height)-H,width:Math.max(p.x+p.width,I.x+I.width)-l})},v.Rect=function(p,I,l,H){return{minX:p<l?p:l,minY:I<H?I:H,maxX:p<l?l:p,maxY:I<H?H:I}},v}()},function(tt,F,m){m.d(F,"a",function(){return B});var G=m(4),U=m(1),v=m(6),p=m(0),I=m(8),l=m(18),H=m(7),D=m(16),E=m(20),s=m(2),x=(w=function(T,M){return(w=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(S,a){S.__proto__=a}||function(S,a){for(var f in a)a.hasOwnProperty(f)&&(S[f]=a[f])})(T,M)},function(C,T){function M(){this.constructor=C}w(C,T),C.prototype=T===null?Object.create(T):(M.prototype=T.prototype,new M)}),w,B=function(C){function T(M,S){var a=C.call(this,M)||this;return a.gridColumnsFooterCss="hiprint-gridColumnsFooter",a.tableGridRowCss="table-grid-row",a.options=new l.a(S,a.printElementType),a.options.setDefault(new l.a(U.a.instance.table.default).getPrintElementOptionEntity()),a}return x(T,C),T.prototype.getColumns=function(){return this.options.columns},T.prototype.getColumnByColumnId=function(M){return this.options.getColumnByColumnId(M)},T.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var M=this.designTarget.find(".hiprint-printElement-table-content"),S=this.getHtml(this.designPaper);M.html(""),M.append(S[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},T.prototype.css=function(M,S){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return C.prototype.css.call(this,M,S)},T.prototype.getDesignTarget=function(M){return this.designTarget=this.getHtml(M)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=M,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(a,f){},onDragEnter:function(a,f){j.default(f).removeClass("rn-draggable-item")},onDragLeave:function(a,f){j.default(f).addClass("rn-draggable-item")}}),this.designTarget},T.prototype.getConfigOptions=function(){return U.a.instance.table},T.prototype.createTarget=function(M,S,a){for(var f=j.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),r=this.createGridColumnsStructure(a),u=0;u<r.gridColumns;u++)r.getByIndex(u).append(this.getTableHtml(S,a));return f.find(".hiprint-printElement-table-content").append(r.target),f},T.prototype.createGridColumnsStructure=function(M){for(var S=j.default('<div class="hi-grid-row table-grid-row"></div>'),a=0;a<this.options.getGridColumns();a++){var f=j.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');S.append(f)}var r=this.getGridColumnsFooterFormatter();if(r){var u=j.default('<div class="hiprint-gridColumnsFooter"></div>');u.append(r(this.options,this.getData(M),M,[])),S.append(u)}return new E.a(this.options.getGridColumns(),S)},T.prototype.createtempEmptyRowsTargetStructure=function(M){if(this.getField())return this.createTarget(this.printElementType.title,[]);var S=this.createTarget(this.printElementType.title,[]).clone();return S.find(".hiprint-printElement-tableTarget tbody tr").remove(),S},T.prototype.getTableHtml=function(M,S){var a,f;if(!this.getField()&&this.options.content)return(a=j.default("<div></div>")).append(this.options.content),(f=a.find("table")).addClass("hiprint-printElement-tableTarget"),f;if(this.printElementType.formatter)return(a=j.default("<div></div>")).append(this.printElementType.formatter(M)),(f=a.find("table")).addClass("hiprint-printElement-tableTarget"),f;var r=j.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return r.append(H.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),r.append(H.a.createTableRow(this.getColumns(),M,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||H.a.createTableFooter(this.printElementType.columns,M,this.options,this.printElementType,S,M).insertBefore(r.find("tbody")),r},T.prototype.getEmptyRowTarget=function(){return H.a.createEmptyRowTarget(this.getColumns(),this)},T.prototype.getHtml=function(M,S){this.createTempContainer();var a=this.getPaperHtmlResult(M,S);return this.removeTempContainer(),a},T.prototype.getPaperHtmlResult=function(M,S){var a=[],f=this.getData(S),r=this.getTableHtml(f,S),u=this.createtempEmptyRowsTargetStructure(S);S?this.updateTargetWidth(u):this.updateTargetSize(u),this.css(u,f),this.css(r,f),this.getTempContainer().html(""),this.getTempContainer().append(u);var h=u.find("tfoot").outerHeight()||0;u.find("tfoot").remove();for(var P,d=this.getBeginPrintTopInPaperByReferenceElement(M),g=0,A=!1;!A;){var L=0,W=M.getPaperFooter(g);g==0&&d>W&&M.panelPageRule!="none"&&(d=d-W+M.paperHeader,a.push(new v.a({target:void 0,printLine:void 0})),L=M.getContentHeight(g)-(d-M.paperHeader),g++,W=M.getPaperFooter(g));var J=a.length>0?a[a.length-1].target:void 0,Q=this.getRowsInSpecificHeight(S,L>0?L:g==0?W-d:M.getContentHeight(g),u,r,g,J,h);if(A=Q.isEnd,L<0){var V=this.options.top;a[0].target=j.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),a[0].printLine=d,a[0].referenceElement=new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:M.index,bottomInLastPaper:V+this.options.lHeight,printTopInPaper:d}),a[0].target.css("top",V+"pt"),a[0].target.css("left",this.options.displayLeft());break}var Y=void 0;Q.target&&(Q.target.css("left",this.options.displayLeft()),Q.target[0].height=""),g==0||L>0?(Q.target&&(P=d,Q.target.css("top",d+"pt")),Y=A&&this.options.lHeight!=null?d+(Q.height>this.options.lHeight?Q.height:this.options.lHeight):d+Q.height):(Q.target&&(P=M.paperHeader,Q.target.css("top",M.paperHeader+"pt")),Y=M.paperHeader+Q.height),a.push(new v.a({target:Q.target,printLine:Y,referenceElement:new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:M.index,bottomInLastPaper:Y,printTopInPaper:P})})),g++,S&&this.updatePanelHeight(Y+this.options.getHeight(),M)}return a},T.prototype.getRowsInSpecificHeight=function(M,S,a,f,r,u,h){var P=this,d=f.find("tbody"),g=p.a.pt.toPx(S);a.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&a.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&r>0?a.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(M?a.find(".hiprint-printElement-tableTarget thead").remove():(a.find(".hiprint-printElement-tableTarget thead").css("background","firebrick"),a.find(".hiprint-printElement-tableTarget thead tr").css("background","firebrick")));var A=this.panel.panelPageRule=="none",L;if(M&&A){var W=a.find(".hiprint-printElement-tableTarget thead").attr("style");L=a.find(".hiprint-printElement-tableTarget thead tr").clone(),W?L.attr("style",W):L.css({background:"#e8e8e8"}),a.find(".hiprint-printElement-tableTarget thead").remove()}var J=a.outerHeight();if(!A&&J>g)return{target:void 0,length:0,height:0,isEnd:!1};for(var Q=this.options.getGridColumns(),V=[],Y=0;Y<Q;Y++)for(var $=a.find(".hiprint-printElement-tableTarget:eq("+Y+")"),k=void 0,it=[];;){if(A){var st=d.find("tr").length;if(st==0)k={height:p.a.px.toPt(J),isEnd:!0},M&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=a.outerHeight());else{var pt=d.find("tr:lt(1)");it.length==0&&L&&$.find("tbody").append(L),$.find("tbody").append(pt);var ct=pt.data("rowData");V.push(ct),it.push(ct),J=a.outerHeight(),st==0&&(d.prepend(pt),V.pop(),it.pop(),k={height:p.a.px.toPt(J),isEnd:!1})}}else if(J<=g)if(d.find("tr").length==0)k={height:p.a.px.toPt(J),isEnd:!0},M&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=$.outerHeight());else{var pt=d.find("tr:lt(1)");P.options.rowsColumnsMerge&&(r>0||Y>0)&&it.length==0&&(pt=P.fixMergeSpan(pt,d)),$.find("tbody").append(pt);var ct=pt.data("rowData");V.push(ct),it.push(ct),J=$.outerHeight(),((J+=h)>g||this.options.maxRows&&it.length>+this.options.maxRows)&&(d.prepend(pt),V.pop(),it.pop(),J=a.outerHeight(),k={height:p.a.px.toPt(J),isEnd:!1})}if(k){if(this.options.tableFooterRepeat=="last"&&!k.isEnd)break;this.options.tableFooterRepeat!=="no"&&(A?$.find("tbody").append(H.a.createTableFooter(this.printElementType.columns,this.getData(M),this.options,this.printElementType,M,it).children()):H.a.createTableFooter(this.printElementType.columns,this.getData(M),this.options,this.printElementType,M,it).insertBefore($.find("tbody")),P.css($,M));break}}var bt=a.find(".hiprint-printElement-tableTarget tbody tr").length,vt=this.getGridColumnsFooterFormatter();vt&&a.find(this.gridColumnsFooterCss).html(vt(this.options,this.getData(M),M,V)),J=a.outerHeight();var ht=d.find("tr").length==0?bt==0&&u?{target:void 0,length:0,height:0,isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!1};return ht},T.prototype.fixMergeSpan=function(M,S){var a=this;let f=1,r=!1,u=1,h=!1;return M.nextAll().each(function(P){j.default(this).children().filter("td[rowspan=0]").length>0&&!r?f+=1:r=!0,j.default(this).children().filter("td[colspan=0]").length>0&&!h?u+=1:h=!0}),M.children().each(function(P,d){j.default(d).attr("rowspan")<1&&(j.default(d).attr("rowspan",f),j.default(d).css("display",""),a.options.rowsColumnsMergeClean&&j.default(d).text("")),j.default(d).attr("colspan")<1&&(j.default(d).attr("colspan",u),j.default(d).css("display",""),a.options.rowsColumnsMergeClean&&j.default(d).text(""))}),M},T.prototype.autoCompletion=function(M,S,a){for(var f=this,r,u=this.getEmptyRowTarget(),h=S.outerHeight()+a;M>h&&(r=u.clone(),S.find("tbody").append(r),h=S.outerHeight()+a,!(f.options.maxRows&&S.find("tbody").children().length>f.options.maxRows)););r&&r.remove()},T.prototype.getData=function(M){if(!M)return[{}];var S=this.getField(),a=S&&S.split(".").reduce((f,r)=>f?f[r]:M?M[r]:"",!1)||"";return a?JSON.parse(JSON.stringify(a)):[]},T.prototype.onResize=function(M,S,a,f,r){C.prototype.updateSizeAndPositionOptions.call(this,r,f,a,S),H.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},T.prototype.getReizeableShowPoints=function(){return this.options.showPoints||U.a.instance.table.showPoints},T.prototype.design=function(M,S){var a=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:a.options.axis?a.options.axis:void 0,designTarget:a,onDrag:function(r,u,h){a.updateSizeAndPositionOptions(u,h),a.createLineOfPosition(S),s.a.instance.changed=!0},moveUnit:"pt",minMove:U.a.instance.movingDistance,onBeforeDrag:function(r){s.a.instance.draging=!0,a.createLineOfPosition(S)},getScale:function(){return a.designPaper.scale||1},onStopDrag:function(r){s.a.instance.changed&&p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,"\u79FB\u52A8"),s.a.instance.draging=!1,s.a.instance.changed=!1,a.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:a.getReizeableShowPoints(),showSizeBox:U.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){s.a.instance.draging=!0},getScale:function(){return a.designPaper.scale||1},onResize:function(r,u,h,P,d){a.onResize(r,u,h,P,d),a.hitable&&a.hitable.updateColumnGrips(),a.createLineOfPosition(S)},onStopResize:function(r){p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,r?"\u65CB\u8F6C":"\u5927\u5C0F"),s.a.instance.draging=!1,a.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,S)},T.prototype.setHitable=function(){var M=this;this.hitable=new D.a({templateId:M.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),p.a.event.on("updateTable"+this.hitable.id,function(){M.updateDesignViewFromOptions(),p.a.event.trigger("hiprintTemplateDataChanged_"+M.templateId,"\u8C03\u6574\u8868\u5934")})},T.prototype.setColumnsOptions=function(){var M=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(S){var a=j.default(S.target).attr("id")||j.default(S.target).attr("column-id"),f=M.getColumnByColumnId(a);if(f){var r=M.getPrintElementOptionItemsByName("tableColumn");p.a.event.trigger(M.getPrintElementSelectEventKey(),{printElement:M,customOptionsInput:[{title:(f.title||`${f.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:r,options:f,callback:function(h){r.forEach(function(P){var d=P.getValue();if(P.name=="title"&&d&&!d.trim().endsWith("#")&&!d.trim().startsWith("#")){var g=d?d.split("#"):"";f.title=g[0],g.length>1&&(f.columnId=f.field=g[1]),f.columnId&&f.target.attr("column-id",f.columnId),P.target.find("textarea").val(g[0]);return}if(P.name=="columnField"){if(f.columnId=f.field=d,f.columnId&&f.target.attr("column-id",f.columnId),M.options.fields){let A=M.options.fields.find(W=>W.field==d);A&&(f.title=A.text);let L=r.find(W=>W.name=="title");L&&L.target.find("textarea").val(f.title)}return}f[P.name]=d})}}]})}else p.a.event.trigger(t.getPrintElementSelectEventKey(),{printElement:t})})},T.prototype.filterOptionItems=function(M){var S=C.prototype.filterOptionItems.call(this,M);return this.printElementType.editable&&this.options.columns.length==1?S:M.filter(function(a){return a.name!="columns"})},T.prototype.getFooterFormatter=function(){var M=void 0;if(this.printElementType.footerFormatter&&(M=this.printElementType.footerFormatter),this.options.footerFormatter)try{var S="footerFormatter="+this.options.footerFormatter;eval2(S)}catch(a){console.log(a)}return M},T.prototype.getGridColumnsFooterFormatter=function(){var M=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(M=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var S="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;M=eval2(S)}catch(a){console.log(a)}return M},T}(G.a)},function(tt,F,m){var G=function(){return function(S){this.table=S.table,this.templateId=S.templateId,this.fields=S.fields,this.isEnableEdit=S.isEnableEdit,this.trs=S.trs,this.resizeRow=S.resizeRow,this.resizeColumn=S.resizeColumn,this.isEnableEditField=S.isEnableEditField,this.isEnableContextMenu=S.isEnableContextMenu,this.isEnableEditField=S.isEnableEditField,this.isEnableInsertRow=S.isEnableInsertRow,this.isEnableDeleteRow=S.isEnableDeleteRow,this.isEnableInsertColumn=S.isEnableInsertColumn,this.isEnableDeleteColumn=S.isEnableDeleteColumn,this.isEnableMergeCell=S.isEnableMergeCell,this.columnResizable=S.columnResizable,this.columnAlignEditable=S.columnAlignEditable}}(),U=function(){function S(a){this.options=new G(a)}return S.prototype.enableEidt=function(){this.options.isEnableEdit},S.prototype.disableEdit=function(){this.options.isEnableEdit},S.prototype.isEnableEdit=function(){return this.options.isEnableEdit},S}(),v=m(0),p=function(){return function(S){this.cell=S.cell,this.link=S.link,this.linkType=S.linkType,this.bottom=S.bottom,this.rightMost=S.rightMost,this.rowLevel=S.rowLevel,this.columnLevel=S.columnLevel,this.indexInTableGridRow=S.indexInTableGridRow,this.indexInTableGridColumn=S.indexInTableGridColumn}}(),I=m(10),l=function(){function S(){}return S.getLeftTableCell=function(a,f){var r;return a.forEach(function(u,h){u.cell&&h<f&&(r=u.cell)}),r},S.getIndex=function(a,f){var r;return a.forEach(function(u,h){u.cell&&u.cell.id==f&&(r=h)}),r},S}(),H=m(13),D=m(11),E=function(){return function(S,a){this.target=S,this.grips=a}}(),s=function(){return function(S){this.target=S}}(),x=function(){return function(){this.rowColumns=[]}}(),w=function(){function S(){}return S.getColumnsWidth=function(a,f){var r={},u=S.allAutoWidth(a);return a.rowColumns.forEach(function(h){var P=f-0,d=h.width/u*(P>0?P:0);r[h.id]=d}),r},S.resizeTableCellWeight=function(a){a.forEach(function(f){f.columns.forEach(function(r){r.hasWidth&&j.default(r.getTarget()).css("width",r.width+"pt")})})},S.allAutoWidth=function(a){var f=0;return a.rowColumns.forEach(function(r){f+=r.width}),f},S.reconsitutionTableColumnTree=function(a,f,r){for(var u=f||new x,h=function(g){u.totalLayer=g+1,u[g]=a[g].columns,u.rowColumns=u.rowColumns.concat(u[g].filter(function(A){return A.rowspan==a.length-g}))},P=0;P<a.length;P++)h(P);return u},S}(),B=m(2),C=function(){function S(a){this.signature="HiTresizer",this.hitable=a,this.rows=a.rows,this.target=a.target}return S.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},S.prototype.resizeTableCellWidth=function(){w.resizeTableCellWeight(this.rows)},S.prototype.addResizeRowAndColumn=function(){},S.prototype.createColumnGrips=function(){var a=this,f=this,r=[],u=j.default('<div class="columngrips"/>');u.width(this.target.width()),this.rows.forEach(function(h){(h.columns||[]).filter(function(P){return P.checked}).forEach(function(P,d){if(P.getTarget().attr("haswidth")){var g=j.default('<div class="columngrip"><div class="gripResizer"></div></div>');u.append(g);var A=new s(g);r.length>0&&(r[r.length-1].nextGrip=A),r.push(A),a.syncGrips(P,A),j.default(g).hidraggable({axis:"h",onDrag:function(W,J,Q){},moveUnit:"pt",minMove:1,getScale:function(){return j.default(".hiprint-printPaper")[0].style.transform&&parseFloat(j.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(W){if(B.a.instance.draging=!0,!A.nextGrip)return!1;f.dragingGrip=A,f.dragingGrip.left=parseFloat(f.dragingGrip.target.css("left").replace("px","")),A.target.addClass("columngripDraging")},onStopDrag:function(W){B.a.instance.draging=!1;var J=parseFloat(f.dragingGrip.target.css("left").replace("px","")),Q=v.a.px.toPt(J-f.dragingGrip.left);A.cell.width+Q<10?Q=10-A.cell.width:A.nextGrip.cell.width-Q<10&&(Q=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+Q,A.nextGrip.cell.width=A.nextGrip.cell.width-Q,a.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),f.updateColumnGrips()}})}})}),this.target.before(u),this.cgripContariner=new E(u,r)},S.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},S.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},S.prototype.createRowGrips=function(){var a=this,f=this,r=[],u=j.default('<div class="rowgrips"/>');this.rows.forEach(function(h,P){var d=j.default('<div class="rowgrip"><div class="gripResizer"></div></div>');u.append(d);var g=new s(d);r.push(g),P>0&&P<a.rows.length&&j.default(d).hidraggable({axis:"v",onDrag:function(L,W,J){},moveUnit:"pt",minMove:1,onBeforeDrag:function(L){f.dragingGrip=g,f.dragingGrip.top=parseFloat(f.dragingGrip.target.css("top").replace("px","")),g.target.addClass("rowgripDraging")},onStopDrag:function(L){var W=parseFloat(f.dragingGrip.target.css("top").replace("px","")),J=v.a.px.toPt(W-f.dragingGrip.top+f.rows[P].columns[0].getTarget().height());f.rows[P].columns[0].getTarget().css("height",J+"pt"),f.syncRowGrips(),g.target.removeClass("rowgripDraging")}})}),this.target.before(u),this.rgripContariner=new E(u,r),this.syncRowGrips()},S.prototype.syncGrips=function(a,f){var r=a.getTarget();f.cell=a,f.target.css({left:r.offset().left-this.target.offset().left+r.outerWidth(!1),height:30})},S.prototype.syncRowGrips=function(){var a=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(f,r){var u=f.columns[0].getTarget();a.rgripContariner.grips[r].target.css({top:u.offset().top-a.target.offset().top+u.outerHeight(!1),width:30})})},S.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},S}(),T=function(){function S(){}return S.prototype.init=function(){},S.prototype.updateRowGrips=function(){},S.prototype.updateColumnGrips=function(){},S}();m.d(F,"a",function(){return M});var M=function(){function S(a){this.id=D.a.createId(),this.optionsCoat=new U(a),this.handle=a.handle,this.target=a.table,this.initRows(a.rows),this.init(a),this.tableCellSelector=new I.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new C(this):new T,this.resizer.init()}return S.prototype.insertRow=function(a,f,r){var u=f||this.tableCellSelector.getSingleSelect(),h=u.cell,P=this.rows[u.rowIndex],d=u.rowIndex,g=this.getCellGrid(),A=new H.a;if(A.init(this.optionsCoat,void 0,P.isHead),r&&A.getTarget().addClass(r),a=="above")g[d].forEach(function(W){var J=W.link?W.link:W.cell,Q=J.width/J.colspan;if(W.columnLevel==0){var V=A.createTableCell();V.width=Q,A.insertCellToLast(V)}else{if(W.linkType=="column"){var Y=W.link.getTarget();W.link.rowspan+=1,Y.attr("rowspan",W.link.rowspan)}W.linkType}}),this.rows.splice(d,0,A),P.getTarget().before(A.getTarget()),v.a.event.trigger("newRow"+this.id,A);else{var L=d+h.rowspan-1;g[L].forEach(function(W){var J=W.link?W.link:W.cell,Q=J.width/J.colspan;if(W.bottom){var V=A.createTableCell();V.width=Q,A.insertCellToLast(V)}else{if(W.cell){var Y=W.cell.getTarget();W.cell.rowspan+=1,Y.attr("rowspan",W.cell.rowspan)}W.linkType=="column"&&(Y=W.link.getTarget(),W.link.rowspan+=1,Y.attr("rowspan",W.link.rowspan))}}),this.rows.splice(L+1,0,A),this.rows[L].getTarget().after(A.getTarget()),v.a.event.trigger("newRow"+this.id,A)}},S.prototype.insertColumn=function(a,f,r,u){var h=this,P=this.rows.concat(this.trRows),d=f||this.tableCellSelector.getSingleSelect(),g=d.cell,A=d.rowIndex,L=this.getCellGrid(P),W=L[A].filter(function(V){return V.cell&&V.cell.id==g.id||V.link&&V.link.id==g.id});if(a=="left"){var J=W[0].indexInTableGridRow;L.forEach(function(V,Y){var $=V[J],k=V.filter(function(ct,bt){return bt>=J&&ct.cell});if($.rowLevel==0){var it=P[Y],st=P[Y].createTableCell();r&&st.getTarget().addClass(r),u!=null&&(st.width=u),k.length?it.insertToTargetCellLeft(k[0].cell,st):it.insertCellToLast(st),v.a.event.trigger("newCell"+h.id,st)}else if($.linkType=="row"){var pt=$.link.getTarget();$.link.colspan+=1,pt.attr("colspan",$.link.colspan)}})}else{var Q=W[W.length-1].indexInTableGridRow;L.forEach(function(V,Y){var $=V[Q],k=V.filter(function(bt,vt){return vt<=Q&&bt.cell});if($.rightMost){var it=P[Y],st=it.createTableCell();r&&st.getTarget().addClass(r),u!=null&&(st.width=u),k.length?it.insertToTargetCellRight(k[k.length-1].cell,st):it.insertCellToFirst(st),v.a.event.trigger("newCell"+h.id,st)}else{var pt=$.link||$.cell;if($.linkType=="row"){var ct=pt.getTarget();pt.colspan+=1,ct.attr("colspan",pt.colspan)}$.cell&&(ct=pt.getTarget(),pt.colspan+=1,ct.attr("colspan",pt.colspan))}})}},S.prototype.deleteRow=function(){var a=this,f=this.tableCellSelector.getSingleSelect(),r=(f.cell,this.rows[f.rowIndex],f.rowIndex),u=this.getCellGrid(),h=this.rows[r];u[r].forEach(function(P,d){if(P.cell)if(P.cell.rowspan==1)h.removeCell(P.cell);else{h.removeCell(P.cell);var g=u[r+1].filter(function(J,Q){return J.cell&&Q>d}),A=a.rows[r+1],L=A.createTableCell(P.cell.rowspan-1,P.cell.colspan);g.length?A.insertToTargetCellLeft(g[0].cell,L):A.insertCellToLast(L)}else if(P.linkType=="column"){var W=P.link;W.rowspan-=1,W.getTarget().attr("rowspan",W.rowspan)}}),h.getTarget().remove(),this.rows.splice(r,1)},S.prototype.deleteColums=function(){var a=this.rows.concat(this.trRows),f=this.tableCellSelector.getSingleSelect(),r=f.cell,u=f.rowIndex,h=this.getCellGrid(a),P=h[u].filter(function(d){return d.cell&&d.cell.id==r.id||d.link&&d.link.id==r.id})[0].indexInTableGridRow;h.forEach(function(d,g){var A=d[P];A.cell?A.cell.colspan==1?a[g].removeCell(A.cell):(A.cell.colspan-=1,A.cell.getTarget().attr("colspan",A.cell.colspan)):A.linkType=="row"&&(A.link.colspan-=1,A.link.getTarget().attr("colspan",A.link.colspan))})},S.prototype.mergeCell=function(){var a=this,f=this.tableCellSelector.getSelectedCells();if(f.length!=0){var r=f[0][0].cell;f.forEach(function(u,h){u.forEach(function(P,d){h==0?d!=0&&(r.colspan+=P.cell.colspan,a.rows[P.rowIndex].removeCell(P.cell)):a.rows[P.rowIndex].removeCell(P.cell),d==0&&f[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(f[0][0])}},S.prototype.splitCell=function(){var a=this.tableCellSelector.getSingleSelect(),f=this.getCellGrid(),r=l.getIndex(f[a.rowIndex],a.cell.id);if(a){for(var u=a.rowIndex;u<a.rowIndex+a.cell.rowspan;u++)for(var h=this.rows[u],P=u==a.rowIndex?a.cell:l.getLeftTableCell(f[u],r),d=0;d<a.cell.colspan;d++)u==a.rowIndex&&d==0||(P?h.insertToTargetCellRight(P,h.createTableCell()):h.insertCellToFirst(h.createTableCell()));a.cell.rowspan=1,a.cell.colspan=1,a.cell.getTarget().attr("colspan",a.cell.colspan),a.cell.getTarget().attr("rowspan",a.cell.rowspan)}},S.prototype.init=function(a){var f=this;j.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(r){return f.optionsCoat.options.onBeforEdit&&a.onBeforEdit(r)===!1?!1:(f.optionsCoat.editingCell&&f.optionsCoat.editingCell.endEdit(),!0)},j.default(this.target).mousedown(function(r){f.optionsCoat.isLeftMouseButtonDown=!0}),j.default(this.target).mouseup(function(r){f.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(r){r.buttons===1&&f.tableCellSelector.multipleSelectByXY(r.pageX,r.pageY)}).on("mousedown",function(r){r.buttons===1&&f.tableCellSelector.singleSelectByXY(r.pageX,r.pageY)})},S.prototype.initRows=function(a){var f=this;if(this.trRows=[],a){this.rows=a,a.forEach(function(u,h){u.init(f.optionsCoat,f.target.find("tr:eq("+h+")"),!0)});var r=this.optionsCoat.options.trs;r&&this.initRowsByTrs(r).forEach(function(u){f.trRows.push(u)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},S.prototype.initRowsByTrs=function(a){var f=this;return a.map(function(r,u){var h=new H.a;return h.init(f.optionsCoat,j.default(u)),h}).get()},S.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},S.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},S.prototype.getCellGrid=function(a){var f=a||this.rows,r=this.getColumnStep(),u=[];return f.forEach(function(h,P){h.columns.forEach(function(d,g){for(var A=0;A<d.colspan;A++)for(var L=0,W=!1;L<r&&!W;){if(u[P]=u[P]||[],!u[P][L]){u[P][L]=new p({cell:A==0?d:void 0,link:A!=0?d:void 0,linkType:A>0?"row":void 0,rightMost:A==d.colspan-1||void 0,bottom:d.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:L,indexInTableGridColumn:P});for(var J=P+1,Q=1;Q<d.rowspan;Q++)u[J]=u[J]||[],u[J][L]=new p({cell:void 0,link:d,linkType:A>0?"rowColumn":"column",rightMost:A==d.colspan-1||void 0,bottom:Q==d.rowspan-1,rowLevel:A,columnLevel:Q,indexInTableGridRow:L,indexInTableGridColumn:J}),J+=1;W=!0}L++}})}),u},S.prototype.setAlign=function(a){var f=this.tableCellSelector.getSingleSelect();f&&f.cell.setAlign(a)},S.prototype.setVAlign=function(a){var f=this.tableCellSelector.getSingleSelect();f&&f.cell.setVAlign(a)},S.prototype.getColumnStep=function(a){var f=0;return this.rows.length&&this.rows[a||0].columns.forEach(function(r){f+=r.colspan}),f},S.prototype.initContext=function(){var a=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;j.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("above"),a.resizer.updateRowGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5728\u4E0B\u65B9\u63D2\u5165\u884C",borderBottom:!0,enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("below"),a.resizer.updateRowGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u5DE6\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertColumn("left"),a.resizer.updateColumnGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u53F3\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},borderBottom:!0,callback:function(){a.insertColumn("right"),a.resizer.updateColumnGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u884C",enabled:this.optionsCoat.options.isEnableDeleteRow,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length<=1},callback:function(){a.deleteRow(),a.resizer.updateRowGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u5217",borderBottom:!0,enabled:this.optionsCoat.options.isEnableDeleteColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length>0&&a.rows[0].columns.length<=1},callback:function(){a.deleteColums(),a.resizer.updateColumnGrips(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u5BF9\u9F50",borderBottom:!0,enabled:this.optionsCoat.options.columnAlignEditable,menus:[{text:"\u5DE6",callback:function(){a.setAlign("left")}},{text:"\u5DE6\u53F3\u5C45\u4E2D",callback:function(){a.setAlign("center")}},{text:"\u53F3",callback:function(){a.setAlign("right")}},{text:"\u9ED8\u8BA4",borderBottom:!0,callback:function(){a.setAlign("")}},{text:"\u4E0A",callback:function(){a.setVAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){a.setVAlign("middle")}},{text:"\u4E0B",callback:function(){a.setVAlign("bottom")}},{text:"\u9ED8\u8BA4",callback:function(){a.setVAlign("")}}]},{text:"\u5408\u5E76\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){return a.tableCellSelector.getSingleSelect()},callback:function(){a.mergeCell(),v.a.event.trigger("updateTable"+a.id)}},{text:"\u89E3\u5F00\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){var r=a.tableCellSelector.getSingleSelect();return!r||r.cell.rowspan==1&&r.cell.colspan==1},callback:function(){a.splitCell(),v.a.event.trigger("updateTable"+a.id)}}].filter(function(f){return f.enabled})})},S.prototype.getTableWidth=function(){return v.a.px.toPt(this.target.outerWidth(!1))},S.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},S.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},S}()},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){return function(U,v,p){this.tid=U,this.options=v,this.printElementType=p}}()},function(tt,F,m){var G=m(3),U=m(12),v=function(){return function(D){this.width=D.width,this.title=D.title,this.field=D.field,this.checked=D.checked,this.columnId=D.columnId,this.fixed=!1,this.rowspan=D.rowspan||1,this.colspan=D.colspan||1,this.align=D.align,this.halign=D.halign,this.vAlign=D.vAlign,this.renderFormatter=D.renderFormatter,this.formatter2=D.formatter2,this.styler2=D.styler2,this.stylerHeader=D.stylerHeader,this.tableColumnHeight=D.tableColumnHeight,this.tableTextType=D.tableTextType,this.tableBarcodeMode=D.tableBarcodeMode,this.tableQRCodeLevel=D.tableQRCodeLevel,this.tableSummaryTitle=D.tableSummaryTitle,this.tableSummaryText=D.tableSummaryText,this.tableSummaryColspan=D.tableSummaryColspan,this.tableSummary=D.tableSummary,this.tableSummaryAlign=D.tableSummaryAlign,this.tableSummaryNumFormat=D.tableSummaryNumFormat,this.upperCase=D.upperCase}}(),p=m(5);m.d(F,"a",function(){return H});var I,l=(I=function(E,s){return(I=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(x,w){x.__proto__=w}||function(x,w){for(var B in w)w.hasOwnProperty(B)&&(x[B]=w[B])})(E,s)},function(D,E){function s(){this.constructor=D}I(D,E),D.prototype=E===null?Object.create(E):(s.prototype=E.prototype,new s)}),H=function(D){function E(s,x){var w=this;return s=s||{},(w=D.call(this,s)||this).lHeight=s.lHeight,w.autoCompletion=s.autoCompletion,w.tableFooterRepeat=s.tableFooterRepeat,x&&(w.columns=[],x.editable&&s.columns&&s.columns.length?s.columns.forEach(function(B){var C=[];B.forEach(function(T){var M=new v(T),S=x.getColumnByColumnId(M.columnId),a=S?j.default.extend(S,M):new p.a(M);C.push(a)}),w.columns.push(new U.a(C))}):x.columns.forEach(function(B){w.columns.push(new U.a(B))})),w}return l(E,D),E.prototype.getColumnByColumnId=function(s){return this.makeColumnObj()[s]},E.prototype.makeColumnObj=function(){var s={};return this.columns&&this.columns.forEach(function(x){x.columns.forEach(function(w){(w.id||w.columnId)&&(s[w.id||w.columnId]=w)})}),s},E.prototype.getGridColumns=function(){return this.gridColumns||1},E.prototype.getPrintElementOptionEntity=function(){var s=D.prototype.getPrintElementOptionEntity.call(this);return s.fields=this.fields,this.columns&&(s.columns=[],this.columns.forEach(function(x){var w=x.getPrintElementOptionEntity().map(function(B){return new v(B)});s.columns.push(w)})),s},E}(G.a)},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){return function(){this.rowColumns=[]}}()},function(tt,F,m){m.d(F,"a",function(){return G});var G=function(){function U(v,p){this.gridColumns=v,this.target=p}return U.prototype.getByIndex=function(v){return this.target.find(".hi-grid-col:eq("+v+")")},U}()},function(tt,F,m){tt.exports=m(33)},function(tt,F){(function(m){function G(s){var x=m.data(s.data.target,"hidraggable"),w=x.options,B=x.proxy,C=s.data,T=C.startLeft+(s.pageX-C.startX)/(x.options.getScale()||1),M=C.startTop+(s.pageY-C.startY)/(x.options.getScale()||1);B&&(B.parent()[0]==document.body?(T=w.deltaX!=null&&w.deltaX!=null?s.pageX+w.deltaX:s.pageX-s.data.offsetWidth,M=w.deltaY!=null&&w.deltaY!=null?s.pageY+w.deltaY:s.pageY-s.data.offsetHeight):(w.deltaX!=null&&w.deltaX!=null&&(T+=s.data.offsetWidth+w.deltaX),w.deltaY!=null&&w.deltaY!=null&&(M+=s.data.offsetHeight+w.deltaY))),s.data.parent!=document.body&&(T+=m(s.data.parent).scrollLeft(),M+=m(s.data.parent).scrollTop()),w.axis=="h"?C.left=T:w.axis=="v"||s.shiftKey&&s.altKey?C.top=M:s.shiftKey?C.left=T:(C.left=T,C.top=M)}function U(s){var x=m.data(s.data.target,"hidraggable"),w=x.options,B=x.proxy;B||(B=m(s.data.target)),B.css({left:m.fn.dragLengthC(s.data.left,w),top:m.fn.dragLengthC(s.data.top,w)}),m("body").css("cursor",w.cursor)}function v(s){m.fn.hidraggable.isDragging=!0;var x=m.data(s.data.target,"hidraggable"),w=x.options,B=m(".hidroppable").filter(function(){return s.data.target!=this}).filter(function(){var T=m.data(this,"hidroppable")&&m.data(this,"hidroppable").options.accept;return!T||m(T).filter(function(){return this==s.data.target}).length>0});x.hidroppables=B;var C=x.proxy;return C||(w.proxy?(C=w.proxy=="clone"?m(s.data.target).clone().insertAfter(s.data.target):w.proxy.call(s.data.target,s.data.target),x.proxy=C):C=m(s.data.target)),C.css("position","absolute"),G(s),U(s),w.onStartDrag.call(s.data.target,s),!1}function p(s,x,w,B,C,T){Math.abs(s[w]-x[B])<=HIPRINT_CONFIG.adsorbLineMin?s.v.length?s.v.css("left",s[w]+"pt"):(s.v=j.default("<div class='verLine id-"+s.id+"'></div>"),s.v.css("height",C+"pt"),s.v.css("left",s[w]+"pt"),T.append(s.v)):s.v&&s.v.remove()}function I(s){s&&s.v&&s.v.remove(),j.default(".verLine").remove()}function l(s,x,w,B,C,T){Math.abs(s[w]-x[B])<=HIPRINT_CONFIG.adsorbLineMin?s.h.length?s.h.css("top",s[w]+"pt"):(s.h=j.default("<div class='horLine id-"+s.id+"'></div>"),s.h.css("width",C+"pt"),s.h.css("top",s[w]+"pt"),T.append(s.h)):s.h&&s.h.remove()}function H(s){s&&s.h&&s.h.remove(),j.default(".horLine").remove()}function D(s){var x=m.data(s.data.target,"hidraggable");if(G(s),!(s.ctrlKey||s.metaKey)&&(s.data.target.className.startsWith("resize-panel")||s.data.target.style.zIndex=="2"||s.data.target.className.startsWith("hiprint-printElement"))){var w=s.data;if(m(".mouseRect").length==0&&x.options.designTarget&&x.options.designTarget.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&!h.printElementType.type.includes("table")}).length<=1){let h=window.hinnn.px.toPt(w.left),P=window.hinnn.px.toPt(w.top),d=x.options.designTarget.options;d.left=h,d.top=P,d.right=h+d.width,d.bottom=P+d.height,d.vCenter=h+d.width/2,d.hCenter=P+d.height/2,(()=>{let g=x.options.designTarget.panel.printElements.filter($=>$.id!=x.options.designTarget.id).map($=>{let{left:k,top:it,width:st,height:pt}=$.options,ct=k+st,bt=k+st/2,vt=it+pt/2,ht=d.left+d.width/2,Mt=d.top+d.height/2,ft=d.left+d.width,dt,Pt,jt,St;return Pt=Math.sqrt(Math.pow(k-d.left,2)+Math.pow(vt-Mt,2)),jt=Math.sqrt(Math.pow(bt-ht,2)+Math.pow(vt-Mt,2)),St=Math.sqrt(Math.pow(ct-ft,2)+Math.pow(vt-Mt,2)),dt=Math.min(Pt,jt,St),{...$.options,distance:dt,h:j.default(".horLine.id-"+$.id),v:j.default(".verLine.id-"+$.id),bottom:it+pt,right:k+st,vCenter:bt,hCenter:vt}}).sort(($,k)=>$.distance-k.distance).slice(0,1),A=x.options.designTarget.designPaper,L=A.target.find(".hiprint-printPaper-content"),W=A.width,J=A.height,Q=HIPRINT_CONFIG.showAdsorbLine,V=HIPRINT_CONFIG.adsorbMin,Y=HIPRINT_CONFIG.adsorbLineMin;g.forEach(($,k)=>{Math.abs(g[k].left-d.left)<=V?(d.left=g[k].left,I(g[k])):Math.abs(g[k].vCenter-d.left)<=V?(d.left=g[k].vCenter,I(g[k])):Math.abs(g[k].right-d.left)<=V&&(d.left=g[k].right,I(g[k])),Math.abs(g[k].left-d.vCenter)<=V?(d.left=g[k].left-d.width/2,I(g[k])):Math.abs(g[k].vCenter-d.vCenter)<=V?(d.left=g[k].vCenter-d.width/2,I(g[k])):Math.abs(g[k].right-d.vCenter)<=V&&(d.left=g[k].right-d.width/2,I(g[k])),Math.abs(g[k].left-d.right)<=V?(d.left=g[k].left-d.width,I(g[k])):Math.abs(g[k].vCenter-d.right)<=V?(d.left=g[k].vCenter-d.width,I(g[k])):Math.abs(g[k].right-d.right)<=V&&(d.left=g[k].right-d.width,I(g[k])),Math.abs(g[k].top-d.top)<=V?(d.top=g[k].top,H(g[k])):Math.abs(g[k].hCenter-d.top)<=V?(d.top=g[k].hCenter,H(g[k])):Math.abs(g[k].bottom-d.top)<=V&&(d.top=g[k].bottom,H(g[k])),Math.abs(g[k].top-d.hCenter)<=V?(d.top=g[k].top-d.height/2,H(g[k])):Math.abs(g[k].hCenter-d.hCenter)<=V?(d.top=g[k].hCenter-d.height/2,H(g[k])):Math.abs(g[k].bottom-d.hCenter)<=V&&(d.top=g[k].bottom-d.height/2,H(g[k])),Math.abs(g[k].top-d.bottom)<=V?(d.top=g[k].top-d.height,H(g[k])):Math.abs(g[k].hCenter-d.bottom)<=V?(d.top=g[k].hCenter-d.height,H(g[k])):Math.abs(g[k].bottom-d.bottom)<=V&&(d.top=g[k].bottom-d.height,H(g[k])),Q&&(Math.abs(g[k].left-d.left)>V&&Math.abs(g[k].left-d.left)<=Y?p(g[k],d,"left","left",J,L):Math.abs(g[k].vCenter-d.left)>V&&Math.abs(g[k].vCenter-d.left)<=Y?p(g[k],d,"vCenter","left",J,L):Math.abs(g[k].right-d.left)>V&&Math.abs(g[k].right-d.left)<=Y?p(g[k],d,"right","left",J,L):Math.abs(g[k].left-d.vCenter)>V&&Math.abs(g[k].left-d.vCenter)<=Y?p(g[k],d,"left","vCenter",J,L):Math.abs(g[k].vCenter-d.vCenter)>V&&Math.abs(g[k].vCenter-d.vCenter)<=Y?p(g[k],d,"vCenter","vCenter",J,L):Math.abs(g[k].right-d.vCenter)>V&&Math.abs(g[k].right-d.vCenter)<=Y?p(g[k],d,"right","vCenter",J,L):Math.abs(g[k].left-d.right)>V&&Math.abs(g[k].left-d.right)<=Y?p(g[k],d,"left","right",J,L):Math.abs(g[k].vCenter-d.right)>V&&Math.abs(g[k].vCenter-d.right)<=Y?p(g[k],d,"vCenter","right",J,L):Math.abs(g[k].right-d.right)>V&&Math.abs(g[k].right-d.right)<=Y?p(g[k],d,"right","right",J,L):Math.abs(g[k].top-d.top)>V&&Math.abs(g[k].top-d.top)<=Y?l(g[k],d,"top","top",W,L):Math.abs(g[k].hCenter-d.top)>V&&Math.abs(g[k].hCenter-d.top)<=Y?l(g[k],d,"hCenter","top",W,L):Math.abs(g[k].bottom-d.top)>V&&Math.abs(g[k].bottom-d.top)<=Y?l(g[k],d,"bottom","top",W,L):Math.abs(g[k].top-d.hCenter)>V&&Math.abs(g[k].top-d.hCenter)<=Y?l(g[k],d,"top","hCenter",W,L):Math.abs(g[k].hCenter-d.hCenter)>V&&Math.abs(g[k].hCenter-d.hCenter)<=Y?l(g[k],d,"hCenter","hCenter",W,L):Math.abs(g[k].bottom-d.hCenter)>V&&Math.abs(g[k].bottom-d.hCenter)<=Y?l(g[k],d,"bottom","hCenter",W,L):Math.abs(g[k].top-d.bottom)>V&&Math.abs(g[k].top-d.bottom)<=Y?l(g[k],d,"top","bottom",W,L):Math.abs(g[k].hCenter-d.bottom)>V&&Math.abs(g[k].hCenter-d.bottom)<=Y?l(g[k],d,"hCenter","bottom",W,L):Math.abs(g[k].bottom-d.bottom)>V&&Math.abs(g[k].bottom-d.bottom)<=Y?l(g[k],d,"bottom","bottom",W,L):(I(g[k]),H(g[k])))})})(),s.data.left=window.hinnn.pt.toPx(d.left),s.data.top=window.hinnn.pt.toPx(d.top)}var B=w.parent.className.endsWith("design")?w.parent:w.parent.offsetParent,C=B.clientWidth,T=B.clientHeight,M=w.target.clientWidth,S=w.target.clientHeight,a=0,f=0;if(x.options.designTarget&&x.options.designTarget.options.transform){var r=x.options.designTarget.options.getRectInfo();a=window.hinnn.pt.toPx(r.diffW),f=window.hinnn.pt.toPx(r.diffH)}w.left<0-a?w.left=0-a:w.left>=C-M+a&&(w.left=C-M+a),w.top<0-f?w.top=0-f:w.top>=T-S+f&&(w.top=T-S+f),s.data=w}x.options.onDrag.call(s.data.target,s,m.fn.dragLengthCNum(s.data.left,x.options),m.fn.dragLengthCNum(s.data.top,x.options))!=0&&U(s);var u=s.data.target;return x.hidroppables.each(function(){var h=m(this);if(!h.hidroppable("options").disabled){var P=h.offset();s.pageX>P.left&&s.pageX<P.left+h.outerWidth()&&s.pageY>P.top&&s.pageY<P.top+h.outerHeight()?(this.entered||(m(this).trigger("_dragenter",[u]),this.entered=!0),m(this).trigger("_dragover",[u])):this.entered&&(m(this).trigger("_dragleave",[u]),this.entered=!1)}}),!1}function E(s){m.fn.hidraggable.isDragging=!1,I(),H();var x,w,B=m.data(s.data.target,"hidraggable"),C=B.proxy,T=B.options;T.revert?S()==1?m(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}):C?(C.parent()[0]==document.body?(x=s.data.startX-s.data.offsetWidth,w=s.data.startY-s.data.offsetHeight):(x=s.data.startLeft,w=s.data.startTop),C.animate({left:x,top:w},function(){M()})):m(s.data.target).animate({left:s.data.startLeft,top:s.data.startTop},function(){m(s.data.target).css("position",s.data.startPosition)}):(m(s.data.target).css({position:"absolute",left:m.fn.dragLengthC(s.data.left,T),top:m.fn.dragLengthC(s.data.top,T)}),S());function M(){C&&C.remove(),B.proxy=null}function S(){var a=!1;return B.hidroppables.each(function(){var f=m(this);if(!f.hidroppable("options").disabled){var r=f.offset();return s.pageX>r.left&&s.pageX<r.left+f.outerWidth()&&s.pageY>r.top&&s.pageY<r.top+f.outerHeight()?(T.revert&&m(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}),m(this).trigger("_drop",[s.data.target]),M(),a=!0,this.entered=!1,!1):void 0}}),a||T.revert||M(),a}return T.onStopDrag.call(s.data.target,s),m(document).unbind(".hidraggable"),setTimeout(function(){m("body").css("cursor","")},100),!1}m.fn.hidraggable=function(s,x){return typeof s=="string"?m.fn.hidraggable.methods[s](this,x):this.each(function(){var w,B=m.data(this,"hidraggable");B?(B.handle.unbind(".hidraggable"),w=m.extend(B.options,s)):w=m.extend({},m.fn.hidraggable.defaults,m.fn.hidraggable.parseOptions(this),s||{});var C=w.handle?typeof w.handle=="string"?m(w.handle,this):w.handle:m(this);function T(M){var S=m.data(M.data.target,"hidraggable"),a=S.handle,f=m(a).offset(),r=m(a)[0].style.transform&&parseInt(m(a)[0].style.transform.slice(7,-1)),u=S.options.getScale(),h=m(a).outerWidth(),P=m(a).outerHeight();if(r){var d=r*Math.PI/180,g=m(a).outerWidth(),A=m(a).outerHeight(),L=Math.sin(d),W=Math.cos(d);h=Math.abs(g*W)+Math.abs(A*L),P=Math.abs(g*L)+Math.abs(A*W)}u&&(h*=u,P*=u);var J=M.pageY-f.top,Q=f.left+h-M.pageX,V=f.top+P-M.pageY,Y=M.pageX-f.left;return Math.min(J,Q,V,Y)>S.options.edge}m.data(this,"hidraggable",{options:w,handle:C}),w.disabled?m(this).css("cursor",""):C.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(M){if(!m.fn.hidraggable.isDragging){var S=m.data(M.data.target,"hidraggable").options;T(M)?m(this).css("cursor",S.cursor):m(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(M){m(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(M){if(T(M)!=0){m(this).css("cursor","");var S=m(M.data.target).position(),a=m(M.data.target).offset(),f={startPosition:m(M.data.target).css("position"),startLeft:S.left,startTop:S.top,left:S.left,top:S.top,startX:M.pageX,startY:M.pageY,offsetWidth:M.pageX-a.left,offsetHeight:M.pageY-a.top,target:M.data.target,parent:m(M.data.target).parent()[0]},r=m.data(M.data.target,"hidraggable");if(r.options.draggable===!1||M.target.className=="r resizebtn")return;var u=r.options.getScale();u&&(f.left/=u,f.top/=u,f.startLeft/=u,f.startTop/=u);var h=f.target.style.transform&&parseInt(f.target.style.transform.slice(7,-1));if(h){var P=h*Math.PI/180,d=m(M.data.target).outerWidth(),g=m(M.data.target).outerHeight(),A=Math.sin(P),L=Math.cos(P),W=Math.abs(d*L)+Math.abs(g*A),J=Math.abs(d*A)+Math.abs(g*L),Q=(W-d)/2,V=(J-g)/2;f.left+=Q,f.top+=V,f.startLeft+=Q,f.startTop+=V}m.extend(M.data,f),m.data(M.data.target,"hidraggable").options.onBeforeDrag.call(M.data.target,M)!=0&&(m(document).bind("mousedown.hidraggable",M.data,v),m(document).bind("mousemove.hidraggable",M.data,D),m(document).bind("mouseup.hidraggable",M.data,E))}})})},m.fn.hidraggable.methods={options:function(x){return m.data(x[0],"hidraggable").options},update:function(x,w){w&&typeof w=="object"&&m.data(x[0],"hidraggable")&&Object.keys(w).forEach(function(B){m.data(x[0],"hidraggable").options[B]=w[B]})},proxy:function(x){return m.data(x[0],"hidraggable").proxy},enable:function(x){return x.each(function(){m(this).hidraggable({disabled:!1})})},disable:function(x){return x.each(function(){m(this).hidraggable({disabled:!0})})}},m.fn.hidraggable.parseOptions=function(s){var x=m(s);return m.extend({},m.hiprintparser.parseOptions(s,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!x.attr("disabled")||void 0})},m.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(x){},onBeforeDrag:function(x){},onStartDrag:function(x){},onDrag:function(x){},onStopDrag:function(x){}},m.fn.hidraggable.isDragging=!1})(jQuery)},function(tt,F){(function(m){m.fn.hidroppable=function(G,U){return typeof G=="string"?m.fn.hidroppable.methods[G](this,U):(G=G||{},this.each(function(){var v,p=m.data(this,"hidroppable");p?m.extend(p.options,G):(m(v=this).addClass("hidroppable"),m(v).bind("_dragenter",function(I,l){m.data(v,"hidroppable").options.onDragEnter.apply(v,[I,l])}),m(v).bind("_dragleave",function(I,l){m.data(v,"hidroppable").options.onDragLeave.apply(v,[I,l])}),m(v).bind("_dragover",function(I,l){m.data(v,"hidroppable").options.onDragOver.apply(v,[I,l])}),m(v).bind("_drop",function(I,l){m.data(v,"hidroppable").options.onDrop.apply(v,[I,l])}),m.data(this,"hidroppable",{options:m.extend({},m.fn.hidroppable.defaults,m.fn.hidroppable.parseOptions(this),G)}))}))},m.fn.hidroppable.methods={options:function(U){return m.data(U[0],"hidroppable")&&m.data(U[0],"hidroppable").options||{}},enable:function(U){return U.each(function(){m(this).hidroppable({disabled:!1})})},disable:function(U){return U.each(function(){m(this).hidroppable({disabled:!0})})}},m.fn.hidroppable.parseOptions=function(G){var U=m(G);return m.extend({},m.hiprintparser.parseOptions(G,["accept"]),{disabled:!!U.attr("disabled")||void 0})},m.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(U,v){},onDragOver:function(U,v){},onDragLeave:function(U,v){},onDrop:function(U,v){}}})(jQuery)},function(tt,F){var m;(m=jQuery).hiprintparser={parseOptions:function(U,v){var p=m(U),I={},l=m.trim(p.attr("data-options"));if(l&&(l.substring(0,1)!="{"&&(l="{"+l+"}"),I=new Function("return "+l)()),v){for(var H={},D=0;D<v.length;D++){var E=v[D];if(typeof E=="string")H[E]=E=="width"||E=="height"||E=="left"||E=="top"?parseInt(U.style[E])||void 0:p.attr(E);else for(var s in E){var x=E[s];x=="boolean"?H[s]=p.attr(s)?p.attr(s)=="true":void 0:x=="number"&&(H[s]=p.attr(s)=="0"?0:parseFloat(p.attr(s))||void 0)}}m.extend(I,H)}return I}},m.fn.dragLengthC=function(G,U){return U.moveUnit=="pt"?m.fn.dragLengthCNum(G,U)+"pt":m.fn.dragLengthCNum(G,U)},m.fn.dragLengthCNum=function(G,U){var v=3;if(U.moveUnit=="pt"){var p=.75*G;return U.minMove&&(v=U.minMove),Math.round(p/v)*v}return Math.round(p/v)*v}},function(tt,F){var m,G,U;m=jQuery,G={maxPanelIndex:0},(U=function(p){this.options=m.data(p.target,"hireizeable").options,this.init(p.target)}).prototype={numHandlerText:function(p){return this.numHandler(p)+"pt"},numHandler:function(p){var I=1.5,l=.75*p;return this.options.minResize&&(I=this.options.minResize),Math.round(l/I)*I},init:function(p){var I=this;if(p.className.includes("hiprint-printElement")){this.initResizeBox(p);var l=new ResizeObserver((H,D)=>{I.refreshSizeBox(m(p))});l.observe(p)}},initResizeBox:function(p){var I=this;m(p).each(function(){var l;G.maxPanelIndex+=1,I.options.noContainer?l=m(p):l=m("<div panelIndex="+G.maxPanelIndex+' class="resize-panel"></div>'),I.appendHandler(l,m(this));var H={name:"n",target:m('<div class="resizebtn n"/>')},D={name:"s",target:m('<div class="resizebtn s"/>')},E={name:"w",target:m('<div class="resizebtn w"/>')},s={name:"e",target:m('<div class="resizebtn e"/>')},x={name:"ne",target:m('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},w={name:"nw",target:m('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},B={name:"se",target:m('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},C={name:"sw",target:m('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},T={name:"r",target:m('<div class="resizebtn r"/>')},M={name:"why",target:m('<div class="resizebtn why"/>')},S=m('<div class="size-box"></div>'),a=m('<div class="del-btn">\u2715</div>'),f=function(){var h=[M.target],P=I.options.showPoints;return m.each([T,H,D,E,s,x,w,B,C],function(d,g){m.inArray(g.name,P)>-1&&h.push(g.target)}),h};I.refreshSizeBox(void 0,S,l),I.options.draggable!=!1&&(l.append(a),l.on("mousedown",".del-btn",()=>{var u=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});p.dispatchEvent(u)})),I.appendHandler(f(),l),I.bindResizeEvent(l,m(this));var r=m(this);m(l).on("mousedown",".resizebtn",function(){r.addClass("resizeing")}),m(".easyui-droppable").on("mouseup",function(){r.removeClass("resizeing")}),I.bindTrigger(m(this))}),I.bindHidePanel()},addHandlerCss:function(p){for(var I=0;I<p.length;I++)p[I].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(p,I){I.find(".resize-panel").remove();for(var l=0;l<p.length;l++)I.append(p[l])},refreshSizeBox:function(p,I,l){if(!!this.options.showSizeBox){if(I)l.append(I);else if(p&&p.length){var H=p.height(),D=p[0].clientHeight,E=p.width(),s=p[0].clientWidth;H<=40?(m.each([".ne",".nw",".se",".sw"],function(B,C){var T=D-30;p.find(C).css("height",T>0?T:0),p.find(C).css("width",T>0?T:0),T<=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"))}),m.each([".e",".w"],function(B,C){var T=D-30;p.find(C).css("height",T>0?T:10),p.find(C).css("top",D/2-(T>0?T:10)/2)})):m.each([".e",".w"],function(B,C){p.find(C).css("top",D/2-p.find(C).height()/2)}),E<=40?(m.each([".ne",".nw",".se",".sw"],function(B,C){var T=s-30;p.find(C).css("height",T>0?T:0),p.find(C).css("width",T>0?T:0),T<=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"))}),m.each([".n",".s"],function(B,C){let T=s-30;p.find(C).css("width",T>0?T:10),p.find(C).css("left",s/2-(T>0?T:10)/2)})):m.each([".n",".s",".r"],function(B,C){C==".r",p.find(C).css("left",s/2-p.find(C).width()/2)}),D>40&&s>40&&(m.each([".ne",".nw",".se",".sw"],function(B,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","")}),m.each([".n",".s"],function(B,C){p.find(C).css("width","")}))}var x,w;if(p&&p.length)x=p[0].style,w=p.children("div[panelindex]").find(".size-box");else if(l&&l.parent()){var p=l.parent();if(p.hasClass("hiprint-printPaper-content"))return;x=p[0].style,x.width||(x.width=hinnn.px.toPt(p[0].offsetWidth)+"pt"),x.height||(x.height=hinnn.px.toPt(p[0].offsetHeight)+"pt"),w=p.children("div[panelindex]").find(".size-box")}w&&(w.text(x.width+" x "+x.height),w.css("top",-(w.outerHeight()||20)))}},triggerResize:function(p,I){I.ctrlKey||I.metaKey||(p.siblings().children("div[panelindex]").removeClass("selected"),p.siblings().children("div[panelindex]").css({display:"none"})),p.children("div[panelindex]").addClass("selected"),p.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(p)},bindResizeEvent:function(p,I){var l=this,H=0,D=0,E=p.width(),s=p.height(),x=p.offset().left,w=p.offset().top,B=l.options.noContainer?m(I):p.parent(),C=!1;p.on("mousedown",".e",function(d){H=d.pageX,E=p.width(),C=!0,d.stopPropagation()});var T=!1;p.on("mousedown",".s",function(d){D=d.pageY,s=p.height(),T=!0,d.stopPropagation()});var M=!1;p.on("mousedown",".w",function(d){H=d.pageX,E=p.width(),M=!0,x=B.position().left,d.stopPropagation()});var S=!1;p.on("mousedown",".n",function(d){D=d.pageY,s=p.height(),S=!0,w=B.position().top,d.stopPropagation()});var a=!1;p.on("mousedown",".ne",function(d){H=d.pageX,D=d.pageY,E=p.width(),s=p.height(),a=!0,w=B.position().top,d.stopPropagation()});var f=!1;p.on("mousedown",".nw",function(d){H=d.pageX,D=d.pageY,E=p.width(),s=p.height(),w=B.position().top,x=B.position().left,f=!0,d.stopPropagation()});var r=!1;p.on("mousedown",".se",function(d){H=d.pageX,D=d.pageY,E=p.width(),s=p.height(),r=!0,d.stopPropagation()});var u=!1;p.on("mousedown",".sw",function(d){H=d.pageX,D=d.pageY,E=p.width(),s=p.height(),u=!0,x=B.position().left,d.stopPropagation()});var h=!1;p.on("mousedown",".r",function(d){H=d.pageX,D=d.pageY,E=p.width(),s=p.height(),h=!0,x=E/2+B.position().left,w=s/2+B.position().top,d.stopPropagation()}),p.on("dblclick",".r",function(d){B.css({transform:"rotate("+0+"deg)"}),l.options.onResize(d,void 0,void 0,void 0,void 0,0),d.stopPropagation()});var P=!1;p.on("mousedown",function(d){l.options.onBeforeResize(),H=d.pageX,D=d.pageY,w=B.position().top,x=B.position().left,P=!1}),m(l.options.stage).on("mousemove",function(d){if(C){var g=(d.pageX-H)/l.options.getScale();p.css({width:"100%"}),B.css({width:l.numHandlerText(E+g)}),l.options.onResize(d,void 0,l.numHandler(E+g),void 0,void 0)}else if(T){var A=(d.pageY-D)/l.options.getScale();p.css({height:"100%"}),B.css({height:l.numHandlerText(s+A)}),l.options.onResize(d,l.numHandler(s+A),void 0,void 0,void 0)}else if(h){p.css({height:"100%"});var L=d.pageX;d.pageY;var W=(L-H)*360/100;H=d.pageX;var J=B[0].style.transform&&parseInt(B[0].style.transform.slice(7,-1))||0,Q=J+W;Math.abs(Q)>360&&(Q=Q%360),B.css({transform:"rotate("+Q+"deg)"}),l.options.onResize(d,void 0,void 0,void 0,void 0,Q)}else if(M)g=(d.pageX-H)/l.options.getScale(),p.css({width:"100%"}),B.css({width:l.numHandlerText(E-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(d,void 0,l.numHandler(E-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else if(S)A=(d.pageY-D)/l.options.getScale(),p.css({height:"100%"}),B.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:w+A)}),l.options.onResize(d,l.numHandler(s-A),void 0,l.options.noDrag?void 0:l.numHandler(w+A),void 0);else if(a)if(g=(d.pageX-H)/l.options.getScale(),A=(d.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),d.shiftKey)B.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:w+A),width:l.numHandlerText(E+g)}),l.options.onResize(d,l.numHandler(s-A),l.numHandler(E+g),l.options.noDrag?void 0:l.numHandler(w+A),void 0);else{var V=s/E,Y=E+g,$=s-A,k=w+A;$=Y*V,k=w+A+s-A-$,B.css({width:l.numHandlerText(Y),height:l.numHandlerText($),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(d,l.numHandler($),l.numHandler(Y),l.options.noDrag?void 0:l.numHandler(k),void 0)}else if(f)if(g=(d.pageX-H)/l.options.getScale(),A=(d.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),d.shiftKey)B.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:w+A),width:l.numHandlerText(E-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(d,l.numHandler(s-A),l.numHandler(E-g),l.options.noDrag?void 0:l.numHandler(w+A),l.options.noDrag?void 0:l.numHandler(x+g));else{var V=s/E,Y=E-g,$=s-A,it=x+g,k=w+A;$=Y*V,it=x+g,k=w+A+s-A-$,B.css({width:l.numHandlerText(Y),height:l.numHandlerText($),left:l.numHandlerText(l.options.noDrag?void 0:it),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(d,l.numHandler($),l.numHandler(Y),l.options.noDrag?void 0:l.numHandler(k),l.options.noDrag?void 0:l.numHandler(it))}else if(r)if(g=(d.pageX-H)/l.options.getScale(),A=(d.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),d.shiftKey)B.css({width:l.numHandlerText(E+g),height:l.numHandlerText(s+A)}),l.options.onResize(d,l.numHandler(s+A),l.numHandler(E+g),void 0,void 0);else{var V=s/E,Y=E+g,$=s+A;$=Y*V,B.css({width:l.numHandlerText(Y),height:l.numHandlerText($)}),l.options.onResize(d,l.numHandler($),l.numHandler(Y),void 0,void 0)}else if(u)if(g=(d.pageX-H)/l.options.getScale(),A=(d.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),d.shiftKey)B.css({width:l.numHandlerText(E-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g),height:l.numHandlerText(s+A)}),l.options.onResize(d,l.numHandler(s+A),l.numHandler(E-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else{var V=s/E,Y=E-g,$=s+A,it=x+g;$=Y*V,B.css({width:l.numHandlerText(Y),left:l.numHandlerText(l.options.noDrag?void 0:it),height:l.numHandlerText($)}),l.options.onResize(d,l.numHandler($),l.numHandler(Y),void 0,l.options.noDrag?void 0:l.numHandler(it))}else P&&(g=(d.pageX-H)/l.options.getScale(),A=(d.pageY-D)/l.options.getScale(),B.css({left:l.numHandlerText(l.options.noDrag?void 0:x+g),top:l.numHandlerText(l.options.noDrag?void 0:w+A)}),l.options.onResize(d,void 0,void 0,l.options.noDrag?void 0:l.numHandler(w+A),l.options.noDrag?void 0:l.numHandler(x+g)))}).on("mouseup",function(d){(C||T||M||S||a||f||u||r||P||h)&&l.options.onStopResize(h),C=!1,T=!1,M=!1,S=!1,a=!1,f=!1,u=!1,r=!1,P=!1,h=!1})},bindTrigger:function(p){var I=this;p.on("click",function(l){l.stopPropagation(),I.triggerResize(p,l),m(".mouseRect").remove()})},bindHidePanel:function(p){if(G.maxPanelIndex<2){var I=this.options.stage;m(I).bind("click",function(l){l.target.className&&Tt(l.target.className)=="string"&&(l.target.className.includes("design")||l.target.className.includes("hiprint-printPaper-content")||l.target.className.includes("paperBox"))&&(l.stopPropagation(),m("div[panelindex]").css({display:"none"}),m("div[panelindex]").removeClass("selected"))})}}},m.fn.extend({hireizeable:function(p){return this.each(function(){var I,l=m.data(this,"hireizeable");I=l?m.extend({},l.options,p||{}):m.extend({},m.fn.hireizeable.defaults,p||{}),m.data(this,"hireizeable",{options:I}),new U({target:this,onResize:function(D,E,s,x,w){},onStopResize:function(D,E,s,x,w){}})})}}),m.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(p,I,l,H,D){},onResize:function(p,I,l,H,D){},onStopResize:function(p,I,l,H,D){},noDrag:!1}},function(tt,F){var m,G;jQuery,m="connected",G="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(v){return window.io},send:function(v){try{this.socket.emit("news",v)}catch(p){console.log("send data error:"+(v||"")+JSON.stringify(p))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(v){console.log("refreshPrinterList error:"+JSON.stringify(v))}},getAddress:function(v,...p){try{this.socket.emit("address",v,...p)}catch(I){console.log("getAddress error:"+JSON.stringify(I))}},ippPrint:function(v){try{this.socket.emit("ippPrint",v)}catch(p){console.log("ippPrint error:"+JSON.stringify(p))}},ippRequest:function(v){try{this.socket.emit("ippRequest",v)}catch(p){console.log("ippRequest error:"+JSON.stringify(p))}},setHost:function(U,v){window.utools?this.host2=host2:this.host=U,this.stop(),this.start(v)},start:function(v){var p=this,I=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(l){I.opened=!0,console.log("Websocket opened."),p.socket.on("successs",function(H){hinnn.event.trigger("printSuccess_"+H.templateId,H)}),p.socket.on("error",function(H){hinnn.event.trigger("printError_"+H.templateId,H)}),p.socket.on("printerList",function(H){I.printerList=H,hinnn.event.trigger("printerList",H)}),p.socket.on("address",function(H,D,E){hinnn.event.trigger("address_"+H,{addr:D,e:E})}),p.socket.on("ippPrinterConnected",function(H){hinnn.event.trigger("ippPrinterConnected",H)}),p.socket.on("ippPrinterCallback",function(H,D){hinnn.event.trigger("ippPrinterCallback",{err:H,res:D})}),p.socket.on("ippRequestCallback",function(H,D){hinnn.event.trigger("ippRequestCallback",{err:H,res:D})}),I.state=m,v&&v(!0,l)}),this.socket.on("disconnect",function(){I.opened=!1,v&&v(!1)})):console.log("WebSocket start fail"),v&&v(!1)},reconnect:function(){this.state!==m&&this.state!==G||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=G,this.state===G}}},function(tt,F,m){var G=m(28);typeof G=="string"&&(G=[[tt.i,G,""]]);var U={hmr:!0,transform:void 0,insertInto:void 0};m(30)(G,U),G.locals&&(tt.exports=G.locals)},function(tt,F,m){(tt.exports=m(29)(!1)).push([tt.i,"",""])},function(tt,F,m){tt.exports=function(G){var U=[];return U.toString=function(){return this.map(function(v){var p=function(I,l){var H=I[1]||"",D=I[3];if(!D)return H;if(l&&typeof btoa=="function"){var E=(x=D,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(x))))+" */"),s=D.sources.map(function(w){return"/*# sourceURL="+D.sourceRoot+w+" */"});return[H].concat(s).concat([E]).join(`
|
|
1566
|
+
</div>`),this.target},o.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},o.prototype.setValue=function(e){this.target.find("select").val(e)},o.prototype.destroy=function(){this.target.remove()},o}();f.d(V,"a",function(){return Ee});var Ee=function(){function o(){}return o.init=function(){o.printElementOptionItems||(o.printElementOptionItems={},o._printElementOptionItems.forEach(function(e){o.printElementOptionItems[e.name]=e}))},o.registerItem=function(e){if(!e.name)throw new Error("styleItem must have name");o.init(),o.printElementOptionItems[e.name]=e},o.getItem=function(e){return o.init(),o.printElementOptionItems[e]},o._printElementOptionItems=[new B,new y,new p,new I,new G,new l,new H,new lt,new D,new N,new s,new E,new U,new w,new v,new x,new T,new j,new a,new m,new r,new d,new h,new P,new u,new g,new A,new L,new W,new J,new Y,new F,new O,new $,new k,new it,new st,new pt,new It,new bt,new vt,new yt,new mt,new dt,new gt,new Pt,new jt,new St,new Ut,new Zt,new Lt,new zt,new re,new Wt,new kt,new Gt,new Rt,new Jt,new M,new i,new n,new c,new b,new z,new Z,new R,new et,new K,new nt,new X,new rt,new q,new ct,new se,new le,new pe,new Ie,new ce,new ue,new de,new ge,new fe,new he,new me,new be,new ve,new ye,new Me,new Pe,new je,new Te,new Se,new we,new xe,new He,new Ce,new Ne,new De,new Ae,new Ft,new wt,new Ct,new ft,new Vt,new te,new ee,new ae,new ie,new ne,new oe],o}()},function(tt,V,f){f.d(V,"a",function(){return B}),f.d(V,"b",function(){return y});var G=f(14),B=function(){function l(H,D){this.selectedCells=[],this.rows=H,this.tableTatget=D}return l.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},l.prototype.setSingleSelect=function(H){this.startCell=H,this.selectedCells=[]},l.prototype.getSingleSelect=function(){if(this.selectedCells.length){if(this.selectedCells.length==1)return this.selectedCells[0].length==1?this.selectedCells[0][0]:void 0;if(this.selectedCells.length>1)return}return this.startCell},l.prototype.singleSelectByXY=function(H,D){var N=this.getCellByXY(H,D);N&&(this.clear(),N&&(N.cell.select(),this.startCell=N,this.selectedCells=[]))},l.prototype.multipleSelectByXY=function(H,D){this.clear();var N=[];if(this.startCell){var s=this.getCellByXY(H,D);if(s){var x=G.a.mergeRect(this.startCell.cell.getTableRect(),s.cell.getTableRect());this.selectByRect(new p(x),N)}}this.selectedCells=N},l.prototype.selectByRect=function(H,D){this.rows.forEach(function(N,s){var x=[];N.columns.forEach(function(T){T.isInRect(H)&&(x.push(new I(s,T)),T.select())}),x.length&&D.push(x)}),H.changed&&(H.changed=!1,D.splice(0,D.length),this.selectByRect(H,D))},l.prototype.getSelectedCells=function(){return this.selectedCells},l.prototype.getCellByXY=function(H,D){var N;return this.rows.forEach(function(s,x){var T=(s.columns||[]).filter(function(E){return E.checked}).filter(function(E){return E.isXYinCell(H,D)});T.length&&(N=new I(x,T[0]))}),N},l}(),y=function(){return function(l){this.x=l.x,this.y=l.y,this.height=l.height,this.width=l.width}}(),p=function(){return function(l){this.rect=l}}(),I=function(){return function(l,H){this.rowIndex=l,this.cell=H}}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(){}return B.createId=function(){return this.id+=1,this.id},B.id=1,B}()},function(tt,V,f){f.d(V,"a",function(){return I});var G,B=f(5),y=f(13),p=(G=function(H,D){return(G=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(N,s){N.__proto__=s}||function(N,s){for(var x in s)s.hasOwnProperty(x)&&(N[x]=s[x])})(H,D)},function(l,H){function D(){this.constructor=l}G(l,H),l.prototype=H===null?Object.create(H):(D.prototype=H.prototype,new D)}),I=function(l){function H(D){var N=l.call(this)||this;return N.columns=[],D&&D.constructor===Array?(D||[]).forEach(function(s){N.columns.push(new B.a(s))}):D.columns&&(D.columns||[]).forEach(function(s){N.columns.push(new B.a(s))}),N}return p(H,l),H.prototype.getPrintElementOptionEntity=function(){var D=[],N=this.allColumns?this.allColumns.filter(function(s){return!s.checked}):[];return[...this.columns,...N].forEach(function(s){D.push(s.getEntity())}),D},H}(y.a)},function(tt,V,f){f.d(V,"a",function(){return y});var G=f(11),B=f(5),y=function(){function p(){this.id=G.a.createId()}return p.prototype.init=function(I,l,H){this.isHead=H,this.target=l||S.default("<tr></tr>"),this.tableOptions=I,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(D){return D.checked}))},p.prototype.getTarget=function(){return this.target},p.prototype.initCells=function(I){var l=this;I?(this.columns=I,I.forEach(function(H,D){H.init(l.target.find("td:eq("+D+")"),l.tableOptions,l.id,l.isHead)})):(this.columns=[],this.target.find("td").map(function(H,D){var N=new B.a;N.init(S.default(D),l.tableOptions,l.id,l.isHead),l.columns.push(N)}))},p.prototype.removeCell=function(I){var l=this.columns.indexOf(I);this.columns[l].getTarget().remove(),this.columns.splice(l,1)},p.prototype.createTableCell=function(I,l){var H=new B.a;return H.init(S.default("<td></td>"),this.tableOptions,this.id,this.isHead),I>1&&(H.getTarget().attr("rowspan",I),H.rowspan=I),l>1&&(H.getTarget().attr("colspan",l),H.colspan=l),H},p.prototype.insertToTargetCellLeft=function(I,l){var H=this.columns.indexOf(I);I.getTarget().before(l.getTarget()),this.columns.splice(H,0,l)},p.prototype.insertToTargetCellRight=function(I,l){var H=this.columns.indexOf(I);this.columns[H].getTarget().after(l.getTarget()),this.columns.splice(H+1,0,l)},p.prototype.insertCellToFirst=function(I){this.target.prepend(I.getTarget()),this.columns.splice(0,0,I)},p.prototype.insertCellToLast=function(I){this.columns.push(I),this.target.append(I.getTarget())},p.prototype.getPrintElementOptionEntity=function(){var I=[];return[...this.columns,...this.allColumns.filter(function(l){return!l.checked})].forEach(function(l){I.push(l.getEntity())}),I},p}()},function(tt,V,f){f.d(V,"a",function(){return B});var G=f(10),B=function(){function y(){}return y.mergeRect=function(p,I){var l=Math.min(p.x,I.x),H=Math.min(p.y,I.y);return new G.b({x:l,y:H,height:Math.max(p.y+p.height,I.y+I.height)-H,width:Math.max(p.x+p.width,I.x+I.width)-l})},y.Rect=function(p,I,l,H){return{minX:p<l?p:l,minY:I<H?I:H,maxX:p<l?l:p,maxY:I<H?H:I}},y}()},function(tt,V,f){f.d(V,"a",function(){return E});var G=f(4),B=f(1),y=f(6),p=f(0),I=f(8),l=f(18),H=f(7),D=f(16),N=f(20),s=f(2),x=(T=function(w,v){return(T=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(j,a){j.__proto__=a}||function(j,a){for(var m in a)a.hasOwnProperty(m)&&(j[m]=a[m])})(w,v)},function(U,w){function v(){this.constructor=U}T(U,w),U.prototype=w===null?Object.create(w):(v.prototype=w.prototype,new v)}),T,E=function(U){function w(v,j){var a=U.call(this,v)||this;return a.gridColumnsFooterCss="hiprint-gridColumnsFooter",a.tableGridRowCss="table-grid-row",a.options=new l.a(j,a.printElementType),a.options.setDefault(new l.a(B.a.instance.table.default).getPrintElementOptionEntity()),a}return x(w,U),w.prototype.getColumns=function(){return this.options.columns},w.prototype.getColumnByColumnId=function(v){return this.options.getColumnByColumnId(v)},w.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var v=this.designTarget.find(".hiprint-printElement-table-content"),j=this.getHtml(this.designPaper);v.html(""),v.append(j[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},w.prototype.css=function(v,j){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return U.prototype.css.call(this,v,j)},w.prototype.getDesignTarget=function(v){return this.designTarget=this.getHtml(v)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=v,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(a,m){},onDragEnter:function(a,m){S.default(m).removeClass("rn-draggable-item")},onDragLeave:function(a,m){S.default(m).addClass("rn-draggable-item")}}),this.designTarget},w.prototype.getConfigOptions=function(){return B.a.instance.table},w.prototype.createTarget=function(v,j,a){for(var m=S.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),r=this.createGridColumnsStructure(a),d=0;d<r.gridColumns;d++)r.getByIndex(d).append(this.getTableHtml(j,a));return m.find(".hiprint-printElement-table-content").append(r.target),m},w.prototype.createGridColumnsStructure=function(v){for(var j=S.default('<div class="hi-grid-row table-grid-row"></div>'),a=0;a<this.options.getGridColumns();a++){var m=S.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');j.append(m)}var r=this.getGridColumnsFooterFormatter();if(r){var d=S.default('<div class="hiprint-gridColumnsFooter"></div>');d.append(r(this.options,this.getData(v),v,[])),j.append(d)}return new N.a(this.options.getGridColumns(),j)},w.prototype.createtempEmptyRowsTargetStructure=function(v){if(this.getField())return this.createTarget(this.printElementType.title,[]);var j=this.createTarget(this.printElementType.title,[]).clone();return j.find(".hiprint-printElement-tableTarget tbody tr").remove(),j},w.prototype.getTableHtml=function(v,j){var a,m;if(!this.getField()&&this.options.content)return(a=S.default("<div></div>")).append(this.options.content),(m=a.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(a=S.default("<div></div>")).append(this.printElementType.formatter(v)),(m=a.find("table")).addClass("hiprint-printElement-tableTarget"),m;var r=S.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return r.append(H.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),r.append(H.a.createTableRow(this.getColumns(),v,j,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||H.a.createTableFooter(this.printElementType.columns,v,this.options,this.printElementType,j,v).insertBefore(r.find("tbody")),r},w.prototype.getEmptyRowTarget=function(){return H.a.createEmptyRowTarget(this.getColumns(),this)},w.prototype.getHtml=function(v,j){this.createTempContainer();var a=this.getPaperHtmlResult(v,j);return this.removeTempContainer(),a},w.prototype.getPaperHtmlResult=function(v,j){var a=[],m=this.getData(j),r=this.getTableHtml(m,j),d=this.createtempEmptyRowsTargetStructure(j);j?this.updateTargetWidth(d):this.updateTargetSize(d),this.css(d,m),this.css(r,m),this.getTempContainer().html(""),this.getTempContainer().append(d);var h=d.find("tfoot").outerHeight()||0;d.find("tfoot").remove();for(var P,u=this.getBeginPrintTopInPaperByReferenceElement(v),g=0,A=!1;!A;){var L=0,W=v.getPaperFooter(g);g==0&&u>W&&v.panelPageRule!="none"&&(u=u-W+v.paperHeader,a.push(new y.a({target:void 0,printLine:void 0})),L=v.getContentHeight(g)-(u-v.paperHeader),g++,W=v.getPaperFooter(g));var J=a.length>0?a[a.length-1].target:void 0,Y=this.getRowsInSpecificHeight(j,L>0?L:g==0?W-u:v.getContentHeight(g),d,r,g,J,h);if(A=Y.isEnd,L<0){var F=this.options.top;a[0].target=S.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),a[0].printLine=u,a[0].referenceElement=new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:F+this.options.lHeight,printTopInPaper:u}),a[0].target.css("top",F+"pt"),a[0].target.css("left",this.options.displayLeft());break}var O=void 0;Y.target&&(Y.target.css("left",this.options.displayLeft()),Y.target[0].height=""),g==0||L>0?(Y.target&&(P=u,Y.target.css("top",u+"pt")),O=A&&this.options.lHeight!=null?u+(Y.height>this.options.lHeight?Y.height:this.options.lHeight):u+Y.height):(Y.target&&(P=v.paperHeader,Y.target.css("top",v.paperHeader+"pt")),O=v.paperHeader+Y.height),a.push(new y.a({target:Y.target,printLine:O,referenceElement:new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:O,printTopInPaper:P})})),g++,j&&this.updatePanelHeight(O+this.options.getHeight(),v)}return a},w.prototype.getRowsInSpecificHeight=function(v,j,a,m,r,d,h){var P=this,u=m.find("tbody"),g=p.a.pt.toPx(j);a.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&a.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&r>0?a.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(v?a.find(".hiprint-printElement-tableTarget thead").remove():(a.find(".hiprint-printElement-tableTarget thead").css("background","firebrick"),a.find(".hiprint-printElement-tableTarget thead tr").css("background","firebrick")));var A=this.panel.panelPageRule=="none",L;if(v&&A){var W=a.find(".hiprint-printElement-tableTarget thead").attr("style");L=a.find(".hiprint-printElement-tableTarget thead tr").clone(),W?L.attr("style",W):L.css({background:"#e8e8e8"}),a.find(".hiprint-printElement-tableTarget thead").remove()}var J=a.outerHeight();if(!A&&J>g)return{target:void 0,length:0,height:0,isEnd:!1};for(var Y=this.options.getGridColumns(),F=[],O=0;O<Y;O++)for(var $=a.find(".hiprint-printElement-tableTarget:eq("+O+")"),k=void 0,it=[];;){if(A){var st=u.find("tr").length;if(st==0)k={height:p.a.px.toPt(J),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=a.outerHeight());else{var pt=u.find("tr:lt(1)");it.length==0&&L&&$.find("tbody").append(L),$.find("tbody").append(pt);var It=pt.data("rowData");F.push(It),it.push(It),J=a.outerHeight(),st==0&&(u.prepend(pt),F.pop(),it.pop(),k={height:p.a.px.toPt(J),isEnd:!1})}}else if(J<=g)if(u.find("tr").length==0)k={height:p.a.px.toPt(J),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(g,$,h),J=$.outerHeight());else{var pt=u.find("tr:lt(1)");P.options.rowsColumnsMerge&&(r>0||O>0)&&it.length==0&&(pt=P.fixMergeSpan(pt,u)),$.find("tbody").append(pt);var It=pt.data("rowData");F.push(It),it.push(It),J=$.outerHeight(),((J+=h)>g||this.options.maxRows&&it.length>+this.options.maxRows)&&(u.prepend(pt),F.pop(),it.pop(),J=a.outerHeight(),k={height:p.a.px.toPt(J),isEnd:!1})}if(k){if(this.options.tableFooterRepeat=="last"&&!k.isEnd)break;this.options.tableFooterRepeat!=="no"&&(A?$.find("tbody").append(H.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,it).children()):H.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,it).insertBefore($.find("tbody")),P.css($,v));break}}var bt=a.find(".hiprint-printElement-tableTarget tbody tr").length,vt=this.getGridColumnsFooterFormatter();vt&&a.find(this.gridColumnsFooterCss).html(vt(this.options,this.getData(v),v,F)),J=a.outerHeight();let dt=u.find("tr:lt(1)");if(bt==0&&dt.length&&It==dt.data("rowData")){$.find("tbody").append(dt);let mt=$.find("tbody tr").outerHeight();return u.prepend(dt),{target:S.default('<div style="position:absolute;background: red;color: white;padding: 0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4,\u663E\u793A\u4E0B\u65B9\u5185\u5BB9, \u53EF\u5206\u9875\u9AD8\u5EA6: '+g+"px < \u5F53\u524D\u9700\u8981\u9AD8\u5EA6: "+mt+"px</div>").append(dt.css("background","blue")),length:bt,height:p.a.px.toPt(J),isEnd:!1}}var yt=u.find("tr").length==0?bt==0&&d?{target:void 0,length:0,height:0,isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!0}:{target:a.clone(),length:bt,height:p.a.px.toPt(J),isEnd:!1};return yt},w.prototype.fixMergeSpan=function(v,j){var a=this;let m=1,r=!1,d=1,h=!1;return v.nextAll().each(function(P){S.default(this).children().filter("td[rowspan=0]").length>0&&!r?m+=1:r=!0,S.default(this).children().filter("td[colspan=0]").length>0&&!h?d+=1:h=!0}),v.children().each(function(P,u){S.default(u).attr("rowspan")<1&&(S.default(u).attr("rowspan",m),S.default(u).css("display",""),a.options.rowsColumnsMergeClean&&S.default(u).text("")),S.default(u).attr("colspan")<1&&(S.default(u).attr("colspan",d),S.default(u).css("display",""),a.options.rowsColumnsMergeClean&&S.default(u).text(""))}),v},w.prototype.autoCompletion=function(v,j,a){for(var m=this,r,d=this.getEmptyRowTarget(),h=j.outerHeight()+a;v>h&&(r=d.clone(),j.find("tbody").append(r),h=j.outerHeight()+a,!(m.options.maxRows&&j.find("tbody").children().length>m.options.maxRows)););r&&r.remove()},w.prototype.getData=function(v){if(!v)return[{}];var j=this.getField(),a=j&&j.split(".").reduce((m,r)=>m?m[r]:v?v[r]:"",!1)||"";return a?JSON.parse(JSON.stringify(a)):[]},w.prototype.onResize=function(v,j,a,m,r){U.prototype.updateSizeAndPositionOptions.call(this,r,m,a,j),H.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},w.prototype.getReizeableShowPoints=function(){return this.options.showPoints||B.a.instance.table.showPoints},w.prototype.design=function(v,j){var a=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:a.options.axis?a.options.axis:void 0,designTarget:a,onDrag:function(r,d,h){a.updateSizeAndPositionOptions(d,h),a.createLineOfPosition(j),s.a.instance.changed=!0},moveUnit:"pt",minMove:B.a.instance.movingDistance,onBeforeDrag:function(r){s.a.instance.draging=!0,a.createLineOfPosition(j)},getScale:function(){return a.designPaper.scale||1},onStopDrag:function(r){s.a.instance.changed&&p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,"\u79FB\u52A8"),s.a.instance.draging=!1,s.a.instance.changed=!1,a.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:a.getReizeableShowPoints(),showSizeBox:B.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){s.a.instance.draging=!0},getScale:function(){return a.designPaper.scale||1},onResize:function(r,d,h,P,u){a.onResize(r,d,h,P,u),a.hitable&&a.hitable.updateColumnGrips(),a.createLineOfPosition(j)},onStopResize:function(r){p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,r?"\u65CB\u8F6C":"\u5927\u5C0F"),s.a.instance.draging=!1,a.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,j)},w.prototype.setHitable=function(){var v=this;this.hitable=new D.a({templateId:v.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),p.a.event.on("updateTable"+this.hitable.id,function(){v.updateDesignViewFromOptions(),p.a.event.trigger("hiprintTemplateDataChanged_"+v.templateId,"\u8C03\u6574\u8868\u5934")})},w.prototype.setColumnsOptions=function(){var v=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(j){var a=S.default(j.target).attr("id")||S.default(j.target).attr("column-id"),m=v.getColumnByColumnId(a);if(m){var r=v.getPrintElementOptionItemsByName("tableColumn");p.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:r,options:m,callback:function(h){r.forEach(function(P){var u=P.getValue();if(P.name=="title"&&u&&!u.trim().endsWith("#")&&!u.trim().startsWith("#")){var g=u?u.split("#"):"";m.title=g[0],g.length>1&&(m.columnId=m.field=g[1]),m.columnId&&m.target.attr("column-id",m.columnId),P.target.find("textarea").val(g[0]);return}if(P.name=="columnField"){if(m.columnId=m.field=u,m.columnId&&m.target.attr("column-id",m.columnId),v.options.fields){let A=v.options.fields.find(W=>W.field==u);A&&(m.title=A.text);let L=r.find(W=>W.name=="title");L&&L.target.find("textarea").val(m.title)}return}m[P.name]=u})}}]})}else p.a.event.trigger(t.getPrintElementSelectEventKey(),{printElement:t})})},w.prototype.filterOptionItems=function(v){var j=U.prototype.filterOptionItems.call(this,v);return this.printElementType.editable&&this.options.columns.length==1?j:v.filter(function(a){return a.name!="columns"})},w.prototype.getFooterFormatter=function(){var v=void 0;if(this.printElementType.footerFormatter&&(v=this.printElementType.footerFormatter),this.options.footerFormatter)try{var j="footerFormatter="+this.options.footerFormatter;eval2(j)}catch(a){console.log(a)}return v},w.prototype.getGridColumnsFooterFormatter=function(){var v=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(v=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var j="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;v=eval2(j)}catch(a){console.log(a)}return v},w}(G.a)},function(tt,V,f){var G=function(){return function(j){this.table=j.table,this.templateId=j.templateId,this.fields=j.fields,this.isEnableEdit=j.isEnableEdit,this.trs=j.trs,this.resizeRow=j.resizeRow,this.resizeColumn=j.resizeColumn,this.isEnableEditField=j.isEnableEditField,this.isEnableContextMenu=j.isEnableContextMenu,this.isEnableEditField=j.isEnableEditField,this.isEnableInsertRow=j.isEnableInsertRow,this.isEnableDeleteRow=j.isEnableDeleteRow,this.isEnableInsertColumn=j.isEnableInsertColumn,this.isEnableDeleteColumn=j.isEnableDeleteColumn,this.isEnableMergeCell=j.isEnableMergeCell,this.columnResizable=j.columnResizable,this.columnAlignEditable=j.columnAlignEditable}}(),B=function(){function j(a){this.options=new G(a)}return j.prototype.enableEidt=function(){this.options.isEnableEdit},j.prototype.disableEdit=function(){this.options.isEnableEdit},j.prototype.isEnableEdit=function(){return this.options.isEnableEdit},j}(),y=f(0),p=function(){return function(j){this.cell=j.cell,this.link=j.link,this.linkType=j.linkType,this.bottom=j.bottom,this.rightMost=j.rightMost,this.rowLevel=j.rowLevel,this.columnLevel=j.columnLevel,this.indexInTableGridRow=j.indexInTableGridRow,this.indexInTableGridColumn=j.indexInTableGridColumn}}(),I=f(10),l=function(){function j(){}return j.getLeftTableCell=function(a,m){var r;return a.forEach(function(d,h){d.cell&&h<m&&(r=d.cell)}),r},j.getIndex=function(a,m){var r;return a.forEach(function(d,h){d.cell&&d.cell.id==m&&(r=h)}),r},j}(),H=f(13),D=f(11),N=function(){return function(j,a){this.target=j,this.grips=a}}(),s=function(){return function(j){this.target=j}}(),x=function(){return function(){this.rowColumns=[]}}(),T=function(){function j(){}return j.getColumnsWidth=function(a,m){var r={},d=j.allAutoWidth(a);return a.rowColumns.forEach(function(h){var P=m-0,u=h.width/d*(P>0?P:0);r[h.id]=u}),r},j.resizeTableCellWeight=function(a){a.forEach(function(m){m.columns.forEach(function(r){r.hasWidth&&S.default(r.getTarget()).css("width",r.width+"pt")})})},j.allAutoWidth=function(a){var m=0;return a.rowColumns.forEach(function(r){m+=r.width}),m},j.reconsitutionTableColumnTree=function(a,m,r){for(var d=m||new x,h=function(g){d.totalLayer=g+1,d[g]=a[g].columns,d.rowColumns=d.rowColumns.concat(d[g].filter(function(A){return A.rowspan==a.length-g}))},P=0;P<a.length;P++)h(P);return d},j}(),E=f(2),U=function(){function j(a){this.signature="HiTresizer",this.hitable=a,this.rows=a.rows,this.target=a.target}return j.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},j.prototype.resizeTableCellWidth=function(){T.resizeTableCellWeight(this.rows)},j.prototype.addResizeRowAndColumn=function(){},j.prototype.createColumnGrips=function(){var a=this,m=this,r=[],d=S.default('<div class="columngrips"/>');d.width(this.target.width()),this.rows.forEach(function(h){(h.columns||[]).filter(function(P){return P.checked}).forEach(function(P,u){if(P.getTarget().attr("haswidth")){var g=S.default('<div class="columngrip"><div class="gripResizer"></div></div>');d.append(g);var A=new s(g);r.length>0&&(r[r.length-1].nextGrip=A),r.push(A),a.syncGrips(P,A),S.default(g).hidraggable({axis:"h",onDrag:function(W,J,Y){},moveUnit:"pt",minMove:1,getScale:function(){return S.default(".hiprint-printPaper")[0].style.transform&&parseFloat(S.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(W){if(E.a.instance.draging=!0,!A.nextGrip)return!1;m.dragingGrip=A,m.dragingGrip.left=parseFloat(m.dragingGrip.target.css("left").replace("px","")),A.target.addClass("columngripDraging")},onStopDrag:function(W){E.a.instance.draging=!1;var J=parseFloat(m.dragingGrip.target.css("left").replace("px","")),Y=y.a.px.toPt(J-m.dragingGrip.left);A.cell.width+Y<10?Y=10-A.cell.width:A.nextGrip.cell.width-Y<10&&(Y=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+Y,A.nextGrip.cell.width=A.nextGrip.cell.width-Y,a.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(d),this.cgripContariner=new N(d,r)},j.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},j.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},j.prototype.createRowGrips=function(){var a=this,m=this,r=[],d=S.default('<div class="rowgrips"/>');this.rows.forEach(function(h,P){var u=S.default('<div class="rowgrip"><div class="gripResizer"></div></div>');d.append(u);var g=new s(u);r.push(g),P>0&&P<a.rows.length&&S.default(u).hidraggable({axis:"v",onDrag:function(L,W,J){},moveUnit:"pt",minMove:1,onBeforeDrag:function(L){m.dragingGrip=g,m.dragingGrip.top=parseFloat(m.dragingGrip.target.css("top").replace("px","")),g.target.addClass("rowgripDraging")},onStopDrag:function(L){var W=parseFloat(m.dragingGrip.target.css("top").replace("px","")),J=y.a.px.toPt(W-m.dragingGrip.top+m.rows[P].columns[0].getTarget().height());m.rows[P].columns[0].getTarget().css("height",J+"pt"),m.syncRowGrips(),g.target.removeClass("rowgripDraging")}})}),this.target.before(d),this.rgripContariner=new N(d,r),this.syncRowGrips()},j.prototype.syncGrips=function(a,m){var r=a.getTarget();m.cell=a,m.target.css({left:r.offset().left-this.target.offset().left+r.outerWidth(!1),height:30})},j.prototype.syncRowGrips=function(){var a=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(m,r){var d=m.columns[0].getTarget();a.rgripContariner.grips[r].target.css({top:d.offset().top-a.target.offset().top+d.outerHeight(!1),width:30})})},j.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},j}(),w=function(){function j(){}return j.prototype.init=function(){},j.prototype.updateRowGrips=function(){},j.prototype.updateColumnGrips=function(){},j}();f.d(V,"a",function(){return v});var v=function(){function j(a){this.id=D.a.createId(),this.optionsCoat=new B(a),this.handle=a.handle,this.target=a.table,this.initRows(a.rows),this.init(a),this.tableCellSelector=new I.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new U(this):new w,this.resizer.init()}return j.prototype.insertRow=function(a,m,r){var d=m||this.tableCellSelector.getSingleSelect(),h=d.cell,P=this.rows[d.rowIndex],u=d.rowIndex,g=this.getCellGrid(),A=new H.a;if(A.init(this.optionsCoat,void 0,P.isHead),r&&A.getTarget().addClass(r),a=="above")g[u].forEach(function(W){var J=W.link?W.link:W.cell,Y=J.width/J.colspan;if(W.columnLevel==0){var F=A.createTableCell();F.width=Y,A.insertCellToLast(F)}else{if(W.linkType=="column"){var O=W.link.getTarget();W.link.rowspan+=1,O.attr("rowspan",W.link.rowspan)}W.linkType}}),this.rows.splice(u,0,A),P.getTarget().before(A.getTarget()),y.a.event.trigger("newRow"+this.id,A);else{var L=u+h.rowspan-1;g[L].forEach(function(W){var J=W.link?W.link:W.cell,Y=J.width/J.colspan;if(W.bottom){var F=A.createTableCell();F.width=Y,A.insertCellToLast(F)}else{if(W.cell){var O=W.cell.getTarget();W.cell.rowspan+=1,O.attr("rowspan",W.cell.rowspan)}W.linkType=="column"&&(O=W.link.getTarget(),W.link.rowspan+=1,O.attr("rowspan",W.link.rowspan))}}),this.rows.splice(L+1,0,A),this.rows[L].getTarget().after(A.getTarget()),y.a.event.trigger("newRow"+this.id,A)}},j.prototype.insertColumn=function(a,m,r,d){var h=this,P=this.rows.concat(this.trRows),u=m||this.tableCellSelector.getSingleSelect(),g=u.cell,A=u.rowIndex,L=this.getCellGrid(P),W=L[A].filter(function(F){return F.cell&&F.cell.id==g.id||F.link&&F.link.id==g.id});if(a=="left"){var J=W[0].indexInTableGridRow;L.forEach(function(F,O){var $=F[J],k=F.filter(function(It,bt){return bt>=J&&It.cell});if($.rowLevel==0){var it=P[O],st=P[O].createTableCell();r&&st.getTarget().addClass(r),d!=null&&(st.width=d),k.length?it.insertToTargetCellLeft(k[0].cell,st):it.insertCellToLast(st),y.a.event.trigger("newCell"+h.id,st)}else if($.linkType=="row"){var pt=$.link.getTarget();$.link.colspan+=1,pt.attr("colspan",$.link.colspan)}})}else{var Y=W[W.length-1].indexInTableGridRow;L.forEach(function(F,O){var $=F[Y],k=F.filter(function(bt,vt){return vt<=Y&&bt.cell});if($.rightMost){var it=P[O],st=it.createTableCell();r&&st.getTarget().addClass(r),d!=null&&(st.width=d),k.length?it.insertToTargetCellRight(k[k.length-1].cell,st):it.insertCellToFirst(st),y.a.event.trigger("newCell"+h.id,st)}else{var pt=$.link||$.cell;if($.linkType=="row"){var It=pt.getTarget();pt.colspan+=1,It.attr("colspan",pt.colspan)}$.cell&&(It=pt.getTarget(),pt.colspan+=1,It.attr("colspan",pt.colspan))}})}},j.prototype.deleteRow=function(){var a=this,m=this.tableCellSelector.getSingleSelect(),r=(m.cell,this.rows[m.rowIndex],m.rowIndex),d=this.getCellGrid(),h=this.rows[r];d[r].forEach(function(P,u){if(P.cell)if(P.cell.rowspan==1)h.removeCell(P.cell);else{h.removeCell(P.cell);var g=d[r+1].filter(function(J,Y){return J.cell&&Y>u}),A=a.rows[r+1],L=A.createTableCell(P.cell.rowspan-1,P.cell.colspan);g.length?A.insertToTargetCellLeft(g[0].cell,L):A.insertCellToLast(L)}else if(P.linkType=="column"){var W=P.link;W.rowspan-=1,W.getTarget().attr("rowspan",W.rowspan)}}),h.getTarget().remove(),this.rows.splice(r,1)},j.prototype.deleteColums=function(){var a=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),r=m.cell,d=m.rowIndex,h=this.getCellGrid(a),P=h[d].filter(function(u){return u.cell&&u.cell.id==r.id||u.link&&u.link.id==r.id})[0].indexInTableGridRow;h.forEach(function(u,g){var A=u[P];A.cell?A.cell.colspan==1?a[g].removeCell(A.cell):(A.cell.colspan-=1,A.cell.getTarget().attr("colspan",A.cell.colspan)):A.linkType=="row"&&(A.link.colspan-=1,A.link.getTarget().attr("colspan",A.link.colspan))})},j.prototype.mergeCell=function(){var a=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var r=m[0][0].cell;m.forEach(function(d,h){d.forEach(function(P,u){h==0?u!=0&&(r.colspan+=P.cell.colspan,a.rows[P.rowIndex].removeCell(P.cell)):a.rows[P.rowIndex].removeCell(P.cell),u==0&&m[0][0].rowIndex+r.rowspan-1<P.rowIndex&&(r.rowspan+=P.cell.rowspan)})}),r.getTarget().attr("colspan",r.colspan),r.getTarget().attr("rowspan",r.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},j.prototype.splitCell=function(){var a=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),r=l.getIndex(m[a.rowIndex],a.cell.id);if(a){for(var d=a.rowIndex;d<a.rowIndex+a.cell.rowspan;d++)for(var h=this.rows[d],P=d==a.rowIndex?a.cell:l.getLeftTableCell(m[d],r),u=0;u<a.cell.colspan;u++)d==a.rowIndex&&u==0||(P?h.insertToTargetCellRight(P,h.createTableCell()):h.insertCellToFirst(h.createTableCell()));a.cell.rowspan=1,a.cell.colspan=1,a.cell.getTarget().attr("colspan",a.cell.colspan),a.cell.getTarget().attr("rowspan",a.cell.rowspan)}},j.prototype.init=function(a){var m=this;S.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(r){return m.optionsCoat.options.onBeforEdit&&a.onBeforEdit(r)===!1?!1:(m.optionsCoat.editingCell&&m.optionsCoat.editingCell.endEdit(),!0)},S.default(this.target).mousedown(function(r){m.optionsCoat.isLeftMouseButtonDown=!0}),S.default(this.target).mouseup(function(r){m.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(r){r.buttons===1&&m.tableCellSelector.multipleSelectByXY(r.pageX,r.pageY)}).on("mousedown",function(r){r.buttons===1&&m.tableCellSelector.singleSelectByXY(r.pageX,r.pageY)})},j.prototype.initRows=function(a){var m=this;if(this.trRows=[],a){this.rows=a,a.forEach(function(d,h){d.init(m.optionsCoat,m.target.find("tr:eq("+h+")"),!0)});var r=this.optionsCoat.options.trs;r&&this.initRowsByTrs(r).forEach(function(d){m.trRows.push(d)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},j.prototype.initRowsByTrs=function(a){var m=this;return a.map(function(r,d){var h=new H.a;return h.init(m.optionsCoat,S.default(d)),h}).get()},j.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},j.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},j.prototype.getCellGrid=function(a){var m=a||this.rows,r=this.getColumnStep(),d=[];return m.forEach(function(h,P){h.columns.forEach(function(u,g){for(var A=0;A<u.colspan;A++)for(var L=0,W=!1;L<r&&!W;){if(d[P]=d[P]||[],!d[P][L]){d[P][L]=new p({cell:A==0?u:void 0,link:A!=0?u:void 0,linkType:A>0?"row":void 0,rightMost:A==u.colspan-1||void 0,bottom:u.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:L,indexInTableGridColumn:P});for(var J=P+1,Y=1;Y<u.rowspan;Y++)d[J]=d[J]||[],d[J][L]=new p({cell:void 0,link:u,linkType:A>0?"rowColumn":"column",rightMost:A==u.colspan-1||void 0,bottom:Y==u.rowspan-1,rowLevel:A,columnLevel:Y,indexInTableGridRow:L,indexInTableGridColumn:J}),J+=1;W=!0}L++}})}),d},j.prototype.setAlign=function(a){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(a)},j.prototype.setVAlign=function(a){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(a)},j.prototype.getColumnStep=function(a){var m=0;return this.rows.length&&this.rows[a||0].columns.forEach(function(r){m+=r.colspan}),m},j.prototype.initContext=function(){var a=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;S.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("above"),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5728\u4E0B\u65B9\u63D2\u5165\u884C",borderBottom:!0,enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertRow("below"),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u5DE6\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},callback:function(){a.insertColumn("left"),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5411\u53F3\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()},borderBottom:!0,callback:function(){a.insertColumn("right"),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u884C",enabled:this.optionsCoat.options.isEnableDeleteRow,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length<=1},callback:function(){a.deleteRow(),a.resizer.updateRowGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5220\u9664\u5217",borderBottom:!0,enabled:this.optionsCoat.options.isEnableDeleteColumn,disable:function(){return!a.tableCellSelector.getSingleSelect()||a.rows.length>0&&a.rows[0].columns.length<=1},callback:function(){a.deleteColums(),a.resizer.updateColumnGrips(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u5BF9\u9F50",borderBottom:!0,enabled:this.optionsCoat.options.columnAlignEditable,menus:[{text:"\u5DE6",callback:function(){a.setAlign("left")}},{text:"\u5DE6\u53F3\u5C45\u4E2D",callback:function(){a.setAlign("center")}},{text:"\u53F3",callback:function(){a.setAlign("right")}},{text:"\u9ED8\u8BA4",borderBottom:!0,callback:function(){a.setAlign("")}},{text:"\u4E0A",callback:function(){a.setVAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){a.setVAlign("middle")}},{text:"\u4E0B",callback:function(){a.setVAlign("bottom")}},{text:"\u9ED8\u8BA4",callback:function(){a.setVAlign("")}}]},{text:"\u5408\u5E76\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){return a.tableCellSelector.getSingleSelect()},callback:function(){a.mergeCell(),y.a.event.trigger("updateTable"+a.id)}},{text:"\u89E3\u5F00\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){var r=a.tableCellSelector.getSingleSelect();return!r||r.cell.rowspan==1&&r.cell.colspan==1},callback:function(){a.splitCell(),y.a.event.trigger("updateTable"+a.id)}}].filter(function(m){return m.enabled})})},j.prototype.getTableWidth=function(){return y.a.px.toPt(this.target.outerWidth(!1))},j.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},j.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},j}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(B,y,p){this.tid=B,this.options=y,this.printElementType=p}}()},function(tt,V,f){var G=f(3),B=f(12),y=function(){return function(D){this.width=D.width,this.title=D.title,this.field=D.field,this.checked=D.checked,this.columnId=D.columnId,this.fixed=!1,this.rowspan=D.rowspan||1,this.colspan=D.colspan||1,this.align=D.align,this.halign=D.halign,this.vAlign=D.vAlign,this.renderFormatter=D.renderFormatter,this.formatter2=D.formatter2,this.styler2=D.styler2,this.stylerHeader=D.stylerHeader,this.tableColumnHeight=D.tableColumnHeight,this.tableTextType=D.tableTextType,this.tableBarcodeMode=D.tableBarcodeMode,this.tableQRCodeLevel=D.tableQRCodeLevel,this.tableSummaryTitle=D.tableSummaryTitle,this.tableSummaryText=D.tableSummaryText,this.tableSummaryColspan=D.tableSummaryColspan,this.tableSummary=D.tableSummary,this.tableSummaryAlign=D.tableSummaryAlign,this.tableSummaryNumFormat=D.tableSummaryNumFormat,this.upperCase=D.upperCase}}(),p=f(5);f.d(V,"a",function(){return H});var I,l=(I=function(N,s){return(I=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(x,T){x.__proto__=T}||function(x,T){for(var E in T)T.hasOwnProperty(E)&&(x[E]=T[E])})(N,s)},function(D,N){function s(){this.constructor=D}I(D,N),D.prototype=N===null?Object.create(N):(s.prototype=N.prototype,new s)}),H=function(D){function N(s,x){var T=this;return s=s||{},(T=D.call(this,s)||this).lHeight=s.lHeight,T.autoCompletion=s.autoCompletion,T.tableFooterRepeat=s.tableFooterRepeat,x&&(T.columns=[],x.editable&&s.columns&&s.columns.length?s.columns.forEach(function(E){var U=[];E.forEach(function(w){var v=new y(w),j=x.getColumnByColumnId(v.columnId),a=j?S.default.extend(j,v):new p.a(v);U.push(a)}),T.columns.push(new B.a(U))}):x.columns.forEach(function(E){T.columns.push(new B.a(E))})),T}return l(N,D),N.prototype.getColumnByColumnId=function(s){return this.makeColumnObj()[s]},N.prototype.makeColumnObj=function(){var s={};return this.columns&&this.columns.forEach(function(x){x.columns.forEach(function(T){(T.id||T.columnId)&&(s[T.id||T.columnId]=T)})}),s},N.prototype.getGridColumns=function(){return this.gridColumns||1},N.prototype.getPrintElementOptionEntity=function(){var s=D.prototype.getPrintElementOptionEntity.call(this);return s.fields=this.fields,this.columns&&(s.columns=[],this.columns.forEach(function(x){var T=x.getPrintElementOptionEntity().map(function(E){return new y(E)});s.columns.push(T)})),s},N}(G.a)},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){return function(){this.rowColumns=[]}}()},function(tt,V,f){f.d(V,"a",function(){return G});var G=function(){function B(y,p){this.gridColumns=y,this.target=p}return B.prototype.getByIndex=function(y){return this.target.find(".hi-grid-col:eq("+y+")")},B}()},function(tt,V,f){tt.exports=f(33)},function(tt,V){(function(f){function G(s){var x=f.data(s.data.target,"hidraggable"),T=x.options,E=x.proxy,U=s.data,w=U.startLeft+(s.pageX-U.startX)/(x.options.getScale()||1),v=U.startTop+(s.pageY-U.startY)/(x.options.getScale()||1);E&&(E.parent()[0]==document.body?(w=T.deltaX!=null&&T.deltaX!=null?s.pageX+T.deltaX:s.pageX-s.data.offsetWidth,v=T.deltaY!=null&&T.deltaY!=null?s.pageY+T.deltaY:s.pageY-s.data.offsetHeight):(T.deltaX!=null&&T.deltaX!=null&&(w+=s.data.offsetWidth+T.deltaX),T.deltaY!=null&&T.deltaY!=null&&(v+=s.data.offsetHeight+T.deltaY))),s.data.parent!=document.body&&(w+=f(s.data.parent).scrollLeft(),v+=f(s.data.parent).scrollTop()),T.axis=="h"?U.left=w:T.axis=="v"||s.shiftKey&&s.altKey?U.top=v:s.shiftKey?U.left=w:(U.left=w,U.top=v)}function B(s){var x=f.data(s.data.target,"hidraggable"),T=x.options,E=x.proxy;E||(E=f(s.data.target)),E.css({left:f.fn.dragLengthC(s.data.left,T),top:f.fn.dragLengthC(s.data.top,T)}),f("body").css("cursor",T.cursor)}function y(s){f.fn.hidraggable.isDragging=!0;var x=f.data(s.data.target,"hidraggable"),T=x.options,E=f(".hidroppable").filter(function(){return s.data.target!=this}).filter(function(){var w=f.data(this,"hidroppable")&&f.data(this,"hidroppable").options.accept;return!w||f(w).filter(function(){return this==s.data.target}).length>0});x.hidroppables=E;var U=x.proxy;return U||(T.proxy?(U=T.proxy=="clone"?f(s.data.target).clone().insertAfter(s.data.target):T.proxy.call(s.data.target,s.data.target),x.proxy=U):U=f(s.data.target)),U.css("position","absolute"),G(s),B(s),T.onStartDrag.call(s.data.target,s),!1}function p(s,x,T,E,U,w){Math.abs(s[T]-x[E])<=HIPRINT_CONFIG.adsorbLineMin?s.v.length?s.v.css("left",s[T]+"pt"):(s.v=S.default("<div class='verLine id-"+s.id+"'></div>"),s.v.css("height",U+"pt"),s.v.css("left",s[T]+"pt"),w.append(s.v)):s.v&&s.v.remove()}function I(s){s&&s.v&&s.v.remove(),S.default(".verLine").remove()}function l(s,x,T,E,U,w){Math.abs(s[T]-x[E])<=HIPRINT_CONFIG.adsorbLineMin?s.h.length?s.h.css("top",s[T]+"pt"):(s.h=S.default("<div class='horLine id-"+s.id+"'></div>"),s.h.css("width",U+"pt"),s.h.css("top",s[T]+"pt"),w.append(s.h)):s.h&&s.h.remove()}function H(s){s&&s.h&&s.h.remove(),S.default(".horLine").remove()}function D(s){var x=f.data(s.data.target,"hidraggable");if(G(s),!(s.ctrlKey||s.metaKey)&&(s.data.target.className.startsWith("resize-panel")||s.data.target.style.zIndex=="2"||s.data.target.className.startsWith("hiprint-printElement"))){var T=s.data;if(f(".mouseRect").length==0&&x.options.designTarget&&x.options.designTarget.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&!h.printElementType.type.includes("table")}).length<=1){let h=window.hinnn.px.toPt(T.left),P=window.hinnn.px.toPt(T.top),u=x.options.designTarget.options;u.left=h,u.top=P,u.right=h+u.width,u.bottom=P+u.height,u.vCenter=h+u.width/2,u.hCenter=P+u.height/2,(()=>{let g=x.options.designTarget.panel.printElements.filter($=>$.id!=x.options.designTarget.id).map($=>{let{left:k,top:it,width:st,height:pt}=$.options,It=k+st,bt=k+st/2,vt=it+pt/2,dt=u.left+u.width/2,yt=u.top+u.height/2,mt=u.left+u.width,gt,Pt,jt,St;return Pt=Math.sqrt(Math.pow(k-u.left,2)+Math.pow(vt-yt,2)),jt=Math.sqrt(Math.pow(bt-dt,2)+Math.pow(vt-yt,2)),St=Math.sqrt(Math.pow(It-mt,2)+Math.pow(vt-yt,2)),gt=Math.min(Pt,jt,St),{...$.options,distance:gt,h:S.default(".horLine.id-"+$.id),v:S.default(".verLine.id-"+$.id),bottom:it+pt,right:k+st,vCenter:bt,hCenter:vt}}).sort(($,k)=>$.distance-k.distance).slice(0,1),A=x.options.designTarget.designPaper,L=A.target.find(".hiprint-printPaper-content"),W=A.width,J=A.height,Y=HIPRINT_CONFIG.showAdsorbLine,F=HIPRINT_CONFIG.adsorbMin,O=HIPRINT_CONFIG.adsorbLineMin;g.forEach(($,k)=>{Math.abs(g[k].left-u.left)<=F?(u.left=g[k].left,I(g[k])):Math.abs(g[k].vCenter-u.left)<=F?(u.left=g[k].vCenter,I(g[k])):Math.abs(g[k].right-u.left)<=F&&(u.left=g[k].right,I(g[k])),Math.abs(g[k].left-u.vCenter)<=F?(u.left=g[k].left-u.width/2,I(g[k])):Math.abs(g[k].vCenter-u.vCenter)<=F?(u.left=g[k].vCenter-u.width/2,I(g[k])):Math.abs(g[k].right-u.vCenter)<=F&&(u.left=g[k].right-u.width/2,I(g[k])),Math.abs(g[k].left-u.right)<=F?(u.left=g[k].left-u.width,I(g[k])):Math.abs(g[k].vCenter-u.right)<=F?(u.left=g[k].vCenter-u.width,I(g[k])):Math.abs(g[k].right-u.right)<=F&&(u.left=g[k].right-u.width,I(g[k])),Math.abs(g[k].top-u.top)<=F?(u.top=g[k].top,H(g[k])):Math.abs(g[k].hCenter-u.top)<=F?(u.top=g[k].hCenter,H(g[k])):Math.abs(g[k].bottom-u.top)<=F&&(u.top=g[k].bottom,H(g[k])),Math.abs(g[k].top-u.hCenter)<=F?(u.top=g[k].top-u.height/2,H(g[k])):Math.abs(g[k].hCenter-u.hCenter)<=F?(u.top=g[k].hCenter-u.height/2,H(g[k])):Math.abs(g[k].bottom-u.hCenter)<=F&&(u.top=g[k].bottom-u.height/2,H(g[k])),Math.abs(g[k].top-u.bottom)<=F?(u.top=g[k].top-u.height,H(g[k])):Math.abs(g[k].hCenter-u.bottom)<=F?(u.top=g[k].hCenter-u.height,H(g[k])):Math.abs(g[k].bottom-u.bottom)<=F&&(u.top=g[k].bottom-u.height,H(g[k])),Y&&(Math.abs(g[k].left-u.left)>F&&Math.abs(g[k].left-u.left)<=O?p(g[k],u,"left","left",J,L):Math.abs(g[k].vCenter-u.left)>F&&Math.abs(g[k].vCenter-u.left)<=O?p(g[k],u,"vCenter","left",J,L):Math.abs(g[k].right-u.left)>F&&Math.abs(g[k].right-u.left)<=O?p(g[k],u,"right","left",J,L):Math.abs(g[k].left-u.vCenter)>F&&Math.abs(g[k].left-u.vCenter)<=O?p(g[k],u,"left","vCenter",J,L):Math.abs(g[k].vCenter-u.vCenter)>F&&Math.abs(g[k].vCenter-u.vCenter)<=O?p(g[k],u,"vCenter","vCenter",J,L):Math.abs(g[k].right-u.vCenter)>F&&Math.abs(g[k].right-u.vCenter)<=O?p(g[k],u,"right","vCenter",J,L):Math.abs(g[k].left-u.right)>F&&Math.abs(g[k].left-u.right)<=O?p(g[k],u,"left","right",J,L):Math.abs(g[k].vCenter-u.right)>F&&Math.abs(g[k].vCenter-u.right)<=O?p(g[k],u,"vCenter","right",J,L):Math.abs(g[k].right-u.right)>F&&Math.abs(g[k].right-u.right)<=O?p(g[k],u,"right","right",J,L):Math.abs(g[k].top-u.top)>F&&Math.abs(g[k].top-u.top)<=O?l(g[k],u,"top","top",W,L):Math.abs(g[k].hCenter-u.top)>F&&Math.abs(g[k].hCenter-u.top)<=O?l(g[k],u,"hCenter","top",W,L):Math.abs(g[k].bottom-u.top)>F&&Math.abs(g[k].bottom-u.top)<=O?l(g[k],u,"bottom","top",W,L):Math.abs(g[k].top-u.hCenter)>F&&Math.abs(g[k].top-u.hCenter)<=O?l(g[k],u,"top","hCenter",W,L):Math.abs(g[k].hCenter-u.hCenter)>F&&Math.abs(g[k].hCenter-u.hCenter)<=O?l(g[k],u,"hCenter","hCenter",W,L):Math.abs(g[k].bottom-u.hCenter)>F&&Math.abs(g[k].bottom-u.hCenter)<=O?l(g[k],u,"bottom","hCenter",W,L):Math.abs(g[k].top-u.bottom)>F&&Math.abs(g[k].top-u.bottom)<=O?l(g[k],u,"top","bottom",W,L):Math.abs(g[k].hCenter-u.bottom)>F&&Math.abs(g[k].hCenter-u.bottom)<=O?l(g[k],u,"hCenter","bottom",W,L):Math.abs(g[k].bottom-u.bottom)>F&&Math.abs(g[k].bottom-u.bottom)<=O?l(g[k],u,"bottom","bottom",W,L):(I(g[k]),H(g[k])))})})(),s.data.left=window.hinnn.pt.toPx(u.left),s.data.top=window.hinnn.pt.toPx(u.top)}var E=T.parent.className.endsWith("design")?T.parent:T.parent.offsetParent,U=E.clientWidth,w=E.clientHeight,v=T.target.clientWidth,j=T.target.clientHeight,a=0,m=0;if(x.options.designTarget&&x.options.designTarget.options.transform){var r=x.options.designTarget.options.getRectInfo();a=window.hinnn.pt.toPx(r.diffW),m=window.hinnn.pt.toPx(r.diffH)}T.left<0-a?T.left=0-a:T.left>=U-v+a&&(T.left=U-v+a),T.top<0-m?T.top=0-m:T.top>=w-j+m&&(T.top=w-j+m),s.data=T}x.options.onDrag.call(s.data.target,s,f.fn.dragLengthCNum(s.data.left,x.options),f.fn.dragLengthCNum(s.data.top,x.options))!=0&&B(s);var d=s.data.target;return x.hidroppables.each(function(){var h=f(this);if(!h.hidroppable("options").disabled){var P=h.offset();s.pageX>P.left&&s.pageX<P.left+h.outerWidth()&&s.pageY>P.top&&s.pageY<P.top+h.outerHeight()?(this.entered||(f(this).trigger("_dragenter",[d]),this.entered=!0),f(this).trigger("_dragover",[d])):this.entered&&(f(this).trigger("_dragleave",[d]),this.entered=!1)}}),!1}function N(s){f.fn.hidraggable.isDragging=!1,I(),H();var x,T,E=f.data(s.data.target,"hidraggable"),U=E.proxy,w=E.options;w.revert?j()==1?f(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}):U?(U.parent()[0]==document.body?(x=s.data.startX-s.data.offsetWidth,T=s.data.startY-s.data.offsetHeight):(x=s.data.startLeft,T=s.data.startTop),U.animate({left:x,top:T},function(){v()})):f(s.data.target).animate({left:s.data.startLeft,top:s.data.startTop},function(){f(s.data.target).css("position",s.data.startPosition)}):(f(s.data.target).css({position:"absolute",left:f.fn.dragLengthC(s.data.left,w),top:f.fn.dragLengthC(s.data.top,w)}),j());function v(){U&&U.remove(),E.proxy=null}function j(){var a=!1;return E.hidroppables.each(function(){var m=f(this);if(!m.hidroppable("options").disabled){var r=m.offset();return s.pageX>r.left&&s.pageX<r.left+m.outerWidth()&&s.pageY>r.top&&s.pageY<r.top+m.outerHeight()?(w.revert&&f(s.data.target).css({position:s.data.startPosition,left:s.data.startLeft,top:s.data.startTop}),f(this).trigger("_drop",[s.data.target]),v(),a=!0,this.entered=!1,!1):void 0}}),a||w.revert||v(),a}return w.onStopDrag.call(s.data.target,s),f(document).unbind(".hidraggable"),setTimeout(function(){f("body").css("cursor","")},100),!1}f.fn.hidraggable=function(s,x){return typeof s=="string"?f.fn.hidraggable.methods[s](this,x):this.each(function(){var T,E=f.data(this,"hidraggable");E?(E.handle.unbind(".hidraggable"),T=f.extend(E.options,s)):T=f.extend({},f.fn.hidraggable.defaults,f.fn.hidraggable.parseOptions(this),s||{});var U=T.handle?typeof T.handle=="string"?f(T.handle,this):T.handle:f(this);function w(v){var j=f.data(v.data.target,"hidraggable"),a=j.handle,m=f(a).offset(),r=f(a)[0].style.transform&&parseInt(f(a)[0].style.transform.slice(7,-1)),d=j.options.getScale(),h=f(a).outerWidth(),P=f(a).outerHeight();if(r){var u=r*Math.PI/180,g=f(a).outerWidth(),A=f(a).outerHeight(),L=Math.sin(u),W=Math.cos(u);h=Math.abs(g*W)+Math.abs(A*L),P=Math.abs(g*L)+Math.abs(A*W)}d&&(h*=d,P*=d);var J=v.pageY-m.top,Y=m.left+h-v.pageX,F=m.top+P-v.pageY,O=v.pageX-m.left;return Math.min(J,Y,F,O)>j.options.edge}f.data(this,"hidraggable",{options:T,handle:U}),T.disabled?f(this).css("cursor",""):U.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(v){if(!f.fn.hidraggable.isDragging){var j=f.data(v.data.target,"hidraggable").options;w(v)?f(this).css("cursor",j.cursor):f(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(v){f(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(v){if(w(v)!=0){f(this).css("cursor","");var j=f(v.data.target).position(),a=f(v.data.target).offset(),m={startPosition:f(v.data.target).css("position"),startLeft:j.left,startTop:j.top,left:j.left,top:j.top,startX:v.pageX,startY:v.pageY,offsetWidth:v.pageX-a.left,offsetHeight:v.pageY-a.top,target:v.data.target,parent:f(v.data.target).parent()[0]},r=f.data(v.data.target,"hidraggable");if(r.options.draggable===!1||v.target.className=="r resizebtn")return;var d=r.options.getScale();d&&(m.left/=d,m.top/=d,m.startLeft/=d,m.startTop/=d);var h=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(h){var P=h*Math.PI/180,u=f(v.data.target).outerWidth(),g=f(v.data.target).outerHeight(),A=Math.sin(P),L=Math.cos(P),W=Math.abs(u*L)+Math.abs(g*A),J=Math.abs(u*A)+Math.abs(g*L),Y=(W-u)/2,F=(J-g)/2;m.left+=Y,m.top+=F,m.startLeft+=Y,m.startTop+=F}f.extend(v.data,m),f.data(v.data.target,"hidraggable").options.onBeforeDrag.call(v.data.target,v)!=0&&(f(document).bind("mousedown.hidraggable",v.data,y),f(document).bind("mousemove.hidraggable",v.data,D),f(document).bind("mouseup.hidraggable",v.data,N))}})})},f.fn.hidraggable.methods={options:function(x){return f.data(x[0],"hidraggable").options},update:function(x,T){T&&typeof T=="object"&&f.data(x[0],"hidraggable")&&Object.keys(T).forEach(function(E){f.data(x[0],"hidraggable").options[E]=T[E]})},proxy:function(x){return f.data(x[0],"hidraggable").proxy},enable:function(x){return x.each(function(){f(this).hidraggable({disabled:!1})})},disable:function(x){return x.each(function(){f(this).hidraggable({disabled:!0})})}},f.fn.hidraggable.parseOptions=function(s){var x=f(s);return f.extend({},f.hiprintparser.parseOptions(s,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!x.attr("disabled")||void 0})},f.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(x){},onBeforeDrag:function(x){},onStartDrag:function(x){},onDrag:function(x){},onStopDrag:function(x){}},f.fn.hidraggable.isDragging=!1})(jQuery)},function(tt,V){(function(f){f.fn.hidroppable=function(G,B){return typeof G=="string"?f.fn.hidroppable.methods[G](this,B):(G=G||{},this.each(function(){var y,p=f.data(this,"hidroppable");p?f.extend(p.options,G):(f(y=this).addClass("hidroppable"),f(y).bind("_dragenter",function(I,l){f.data(y,"hidroppable").options.onDragEnter.apply(y,[I,l])}),f(y).bind("_dragleave",function(I,l){f.data(y,"hidroppable").options.onDragLeave.apply(y,[I,l])}),f(y).bind("_dragover",function(I,l){f.data(y,"hidroppable").options.onDragOver.apply(y,[I,l])}),f(y).bind("_drop",function(I,l){f.data(y,"hidroppable").options.onDrop.apply(y,[I,l])}),f.data(this,"hidroppable",{options:f.extend({},f.fn.hidroppable.defaults,f.fn.hidroppable.parseOptions(this),G)}))}))},f.fn.hidroppable.methods={options:function(B){return f.data(B[0],"hidroppable")&&f.data(B[0],"hidroppable").options||{}},enable:function(B){return B.each(function(){f(this).hidroppable({disabled:!1})})},disable:function(B){return B.each(function(){f(this).hidroppable({disabled:!0})})}},f.fn.hidroppable.parseOptions=function(G){var B=f(G);return f.extend({},f.hiprintparser.parseOptions(G,["accept"]),{disabled:!!B.attr("disabled")||void 0})},f.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(B,y){},onDragOver:function(B,y){},onDragLeave:function(B,y){},onDrop:function(B,y){}}})(jQuery)},function(tt,V){var f;(f=jQuery).hiprintparser={parseOptions:function(B,y){var p=f(B),I={},l=f.trim(p.attr("data-options"));if(l&&(l.substring(0,1)!="{"&&(l="{"+l+"}"),I=new Function("return "+l)()),y){for(var H={},D=0;D<y.length;D++){var N=y[D];if(typeof N=="string")H[N]=N=="width"||N=="height"||N=="left"||N=="top"?parseInt(B.style[N])||void 0:p.attr(N);else for(var s in N){var x=N[s];x=="boolean"?H[s]=p.attr(s)?p.attr(s)=="true":void 0:x=="number"&&(H[s]=p.attr(s)=="0"?0:parseFloat(p.attr(s))||void 0)}}f.extend(I,H)}return I}},f.fn.dragLengthC=function(G,B){return B.moveUnit=="pt"?f.fn.dragLengthCNum(G,B)+"pt":f.fn.dragLengthCNum(G,B)},f.fn.dragLengthCNum=function(G,B){var y=3;if(B.moveUnit=="pt"){var p=.75*G;return B.minMove&&(y=B.minMove),Math.round(p/y)*y}return Math.round(p/y)*y}},function(tt,V){var f,G,B;f=jQuery,G={maxPanelIndex:0},(B=function(p){this.options=f.data(p.target,"hireizeable").options,this.init(p.target)}).prototype={numHandlerText:function(p){return this.numHandler(p)+"pt"},numHandler:function(p){var I=1.5,l=.75*p;return this.options.minResize&&(I=this.options.minResize),Math.round(l/I)*I},init:function(p){var I=this;if(p.className.includes("hiprint-printElement")){this.initResizeBox(p);var l=new ResizeObserver((H,D)=>{I.refreshSizeBox(f(p))});l.observe(p)}},initResizeBox:function(p){var I=this;f(p).each(function(){var l;G.maxPanelIndex+=1,I.options.noContainer?l=f(p):l=f("<div panelIndex="+G.maxPanelIndex+' class="resize-panel"></div>'),I.appendHandler(l,f(this));var H={name:"n",target:f('<div class="resizebtn n"/>')},D={name:"s",target:f('<div class="resizebtn s"/>')},N={name:"w",target:f('<div class="resizebtn w"/>')},s={name:"e",target:f('<div class="resizebtn e"/>')},x={name:"ne",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},T={name:"nw",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},E={name:"se",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},U={name:"sw",target:f('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},w={name:"r",target:f('<div class="resizebtn r"/>')},v={name:"why",target:f('<div class="resizebtn why"/>')},j=f('<div class="size-box"></div>'),a=f('<div class="del-btn">\u2715</div>'),m=function(){var h=[v.target],P=I.options.showPoints;return f.each([w,H,D,N,s,x,T,E,U],function(u,g){f.inArray(g.name,P)>-1&&h.push(g.target)}),h};I.refreshSizeBox(void 0,j,l),I.options.draggable!=!1&&(l.append(a),l.on("mousedown",".del-btn",()=>{var d=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});p.dispatchEvent(d)})),I.appendHandler(m(),l),I.bindResizeEvent(l,f(this));var r=f(this);f(l).on("mousedown",".resizebtn",function(){r.addClass("resizeing")}),f(".easyui-droppable").on("mouseup",function(){r.removeClass("resizeing")}),I.bindTrigger(f(this))}),I.bindHidePanel()},addHandlerCss:function(p){for(var I=0;I<p.length;I++)p[I].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(p,I){I.find(".resize-panel").remove();for(var l=0;l<p.length;l++)I.append(p[l])},refreshSizeBox:function(p,I,l){if(!!this.options.showSizeBox){if(I)l.append(I);else if(p&&p.length){var H=p.height(),D=p[0].clientHeight,N=p.width(),s=p[0].clientWidth;H<=40?(f.each([".ne",".nw",".se",".sw"],function(E,U){var w=D-30;p.find(U).css("height",w>0?w:0),p.find(U).css("width",w>0?w:0),w<=0&&(U.includes("n")&&p.find(U).css("border-top","none"),U.includes("s")&&p.find(U).css("border-bottom","none"),U.includes("e")&&p.find(U).css("border-right","none"),U.includes("w")&&p.find(U).css("border-left","none"))}),f.each([".e",".w"],function(E,U){var w=D-30;p.find(U).css("height",w>0?w:10),p.find(U).css("top",D/2-(w>0?w:10)/2)})):f.each([".e",".w"],function(E,U){p.find(U).css("top",D/2-p.find(U).height()/2)}),N<=40?(f.each([".ne",".nw",".se",".sw"],function(E,U){var w=s-30;p.find(U).css("height",w>0?w:0),p.find(U).css("width",w>0?w:0),w<=0&&(U.includes("n")&&p.find(U).css("border-top","none"),U.includes("s")&&p.find(U).css("border-bottom","none"),U.includes("e")&&p.find(U).css("border-right","none"),U.includes("w")&&p.find(U).css("border-left","none"))}),f.each([".n",".s"],function(E,U){let w=s-30;p.find(U).css("width",w>0?w:10),p.find(U).css("left",s/2-(w>0?w:10)/2)})):f.each([".n",".s",".r"],function(E,U){U==".r",p.find(U).css("left",s/2-p.find(U).width()/2)}),D>40&&s>40&&(f.each([".ne",".nw",".se",".sw"],function(E,U){U.includes("n")&&p.find(U).css("border-top",""),U.includes("s")&&p.find(U).css("border-bottom",""),U.includes("e")&&p.find(U).css("border-right",""),U.includes("w")&&p.find(U).css("border-left","")}),f.each([".n",".s"],function(E,U){p.find(U).css("width","")}))}var x,T;if(p&&p.length)x=p[0].style,T=p.children("div[panelindex]").find(".size-box");else if(l&&l.parent()){var p=l.parent();if(p.hasClass("hiprint-printPaper-content"))return;x=p[0].style,x.width||(x.width=hinnn.px.toPt(p[0].offsetWidth)+"pt"),x.height||(x.height=hinnn.px.toPt(p[0].offsetHeight)+"pt"),T=p.children("div[panelindex]").find(".size-box")}T&&(T.text(x.width+" x "+x.height),T.css("top",-(T.outerHeight()||20)))}},triggerResize:function(p,I){I.ctrlKey||I.metaKey||(p.siblings().children("div[panelindex]").removeClass("selected"),p.siblings().children("div[panelindex]").css({display:"none"})),p.children("div[panelindex]").addClass("selected"),p.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(p)},bindResizeEvent:function(p,I){var l=this,H=0,D=0,N=p.width(),s=p.height(),x=p.offset().left,T=p.offset().top,E=l.options.noContainer?f(I):p.parent(),U=!1;p.on("mousedown",".e",function(u){H=u.pageX,N=p.width(),U=!0,u.stopPropagation()});var w=!1;p.on("mousedown",".s",function(u){D=u.pageY,s=p.height(),w=!0,u.stopPropagation()});var v=!1;p.on("mousedown",".w",function(u){H=u.pageX,N=p.width(),v=!0,x=E.position().left,u.stopPropagation()});var j=!1;p.on("mousedown",".n",function(u){D=u.pageY,s=p.height(),j=!0,T=E.position().top,u.stopPropagation()});var a=!1;p.on("mousedown",".ne",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),a=!0,T=E.position().top,u.stopPropagation()});var m=!1;p.on("mousedown",".nw",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),T=E.position().top,x=E.position().left,m=!0,u.stopPropagation()});var r=!1;p.on("mousedown",".se",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),r=!0,u.stopPropagation()});var d=!1;p.on("mousedown",".sw",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),d=!0,x=E.position().left,u.stopPropagation()});var h=!1;p.on("mousedown",".r",function(u){H=u.pageX,D=u.pageY,N=p.width(),s=p.height(),h=!0,x=N/2+E.position().left,T=s/2+E.position().top,u.stopPropagation()}),p.on("dblclick",".r",function(u){E.css({transform:"rotate("+0+"deg)"}),l.options.onResize(u,void 0,void 0,void 0,void 0,0),u.stopPropagation()});var P=!1;p.on("mousedown",function(u){l.options.onBeforeResize(),H=u.pageX,D=u.pageY,T=E.position().top,x=E.position().left,P=!1}),f(l.options.stage).on("mousemove",function(u){if(U){var g=(u.pageX-H)/l.options.getScale();p.css({width:"100%"}),E.css({width:l.numHandlerText(N+g)}),l.options.onResize(u,void 0,l.numHandler(N+g),void 0,void 0)}else if(w){var A=(u.pageY-D)/l.options.getScale();p.css({height:"100%"}),E.css({height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),void 0,void 0,void 0)}else if(h){p.css({height:"100%"});var L=u.pageX;u.pageY;var W=(L-H)*360/100;H=u.pageX;var J=E[0].style.transform&&parseInt(E[0].style.transform.slice(7,-1))||0,Y=J+W;Math.abs(Y)>360&&(Y=Y%360),E.css({transform:"rotate("+Y+"deg)"}),l.options.onResize(u,void 0,void 0,void 0,void 0,Y)}else if(v)g=(u.pageX-H)/l.options.getScale(),p.css({width:"100%"}),E.css({width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(u,void 0,l.numHandler(N-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else if(j)A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%"}),E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A)}),l.options.onResize(u,l.numHandler(s-A),void 0,l.options.noDrag?void 0:l.numHandler(T+A),void 0);else if(a)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),u.shiftKey)E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A),width:l.numHandlerText(N+g)}),l.options.onResize(u,l.numHandler(s-A),l.numHandler(N+g),l.options.noDrag?void 0:l.numHandler(T+A),void 0);else{var F=s/N,O=N+g,$=s-A,k=T+A;$=O*F,k=T+A+s-A-$,E.css({width:l.numHandlerText(O),height:l.numHandlerText($),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),l.options.noDrag?void 0:l.numHandler(k),void 0)}else if(m)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({height:"100%",width:"100%"}),u.shiftKey)E.css({height:l.numHandlerText(s-A),top:l.numHandlerText(l.options.noDrag?void 0:T+A),width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g)}),l.options.onResize(u,l.numHandler(s-A),l.numHandler(N-g),l.options.noDrag?void 0:l.numHandler(T+A),l.options.noDrag?void 0:l.numHandler(x+g));else{var F=s/N,O=N-g,$=s-A,it=x+g,k=T+A;$=O*F,it=x+g,k=T+A+s-A-$,E.css({width:l.numHandlerText(O),height:l.numHandlerText($),left:l.numHandlerText(l.options.noDrag?void 0:it),top:l.numHandlerText(l.options.noDrag?void 0:k)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),l.options.noDrag?void 0:l.numHandler(k),l.options.noDrag?void 0:l.numHandler(it))}else if(r)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),u.shiftKey)E.css({width:l.numHandlerText(N+g),height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),l.numHandler(N+g),void 0,void 0);else{var F=s/N,O=N+g,$=s+A;$=O*F,E.css({width:l.numHandlerText(O),height:l.numHandlerText($)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),void 0,void 0)}else if(d)if(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),p.css({width:"100%",height:"100%"}),u.shiftKey)E.css({width:l.numHandlerText(N-g),left:l.numHandlerText(l.options.noDrag?void 0:x+g),height:l.numHandlerText(s+A)}),l.options.onResize(u,l.numHandler(s+A),l.numHandler(N-g),void 0,l.options.noDrag?void 0:l.numHandler(x+g));else{var F=s/N,O=N-g,$=s+A,it=x+g;$=O*F,E.css({width:l.numHandlerText(O),left:l.numHandlerText(l.options.noDrag?void 0:it),height:l.numHandlerText($)}),l.options.onResize(u,l.numHandler($),l.numHandler(O),void 0,l.options.noDrag?void 0:l.numHandler(it))}else P&&(g=(u.pageX-H)/l.options.getScale(),A=(u.pageY-D)/l.options.getScale(),E.css({left:l.numHandlerText(l.options.noDrag?void 0:x+g),top:l.numHandlerText(l.options.noDrag?void 0:T+A)}),l.options.onResize(u,void 0,void 0,l.options.noDrag?void 0:l.numHandler(T+A),l.options.noDrag?void 0:l.numHandler(x+g)))}).on("mouseup",function(u){(U||w||v||j||a||m||d||r||P||h)&&l.options.onStopResize(h),U=!1,w=!1,v=!1,j=!1,a=!1,m=!1,d=!1,r=!1,P=!1,h=!1})},bindTrigger:function(p){var I=this;p.on("click",function(l){l.stopPropagation(),I.triggerResize(p,l),f(".mouseRect").remove()})},bindHidePanel:function(p){if(G.maxPanelIndex<2){var I=this.options.stage;f(I).bind("click",function(l){l.target.className&&Tt(l.target.className)=="string"&&(l.target.className.includes("design")||l.target.className.includes("hiprint-printPaper-content")||l.target.className.includes("paperBox"))&&(l.stopPropagation(),f("div[panelindex]").css({display:"none"}),f("div[panelindex]").removeClass("selected"))})}}},f.fn.extend({hireizeable:function(p){return this.each(function(){var I,l=f.data(this,"hireizeable");I=l?f.extend({},l.options,p||{}):f.extend({},f.fn.hireizeable.defaults,p||{}),f.data(this,"hireizeable",{options:I}),new B({target:this,onResize:function(D,N,s,x,T){},onStopResize:function(D,N,s,x,T){}})})}}),f.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(p,I,l,H,D){},onResize:function(p,I,l,H,D){},onStopResize:function(p,I,l,H,D){},noDrag:!1}},function(tt,V){var f,G;jQuery,f="connected",G="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(y){return window.io},send:function(y){try{this.socket.emit("news",y)}catch(p){console.log("send data error:"+(y||"")+JSON.stringify(p))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(y){console.log("refreshPrinterList error:"+JSON.stringify(y))}},getAddress:function(y,...p){try{this.socket.emit("address",y,...p)}catch(I){console.log("getAddress error:"+JSON.stringify(I))}},ippPrint:function(y){try{this.socket.emit("ippPrint",y)}catch(p){console.log("ippPrint error:"+JSON.stringify(p))}},ippRequest:function(y){try{this.socket.emit("ippRequest",y)}catch(p){console.log("ippRequest error:"+JSON.stringify(p))}},setHost:function(B,y){window.utools?this.host2=host2:this.host=B,this.stop(),this.start(y)},start:function(y){var p=this,I=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(l){I.opened=!0,console.log("Websocket opened."),p.socket.on("successs",function(H){hinnn.event.trigger("printSuccess_"+H.templateId,H)}),p.socket.on("error",function(H){hinnn.event.trigger("printError_"+H.templateId,H)}),p.socket.on("printerList",function(H){I.printerList=H,hinnn.event.trigger("printerList",H)}),p.socket.on("address",function(H,D,N){hinnn.event.trigger("address_"+H,{addr:D,e:N})}),p.socket.on("ippPrinterConnected",function(H){hinnn.event.trigger("ippPrinterConnected",H)}),p.socket.on("ippPrinterCallback",function(H,D){hinnn.event.trigger("ippPrinterCallback",{err:H,res:D})}),p.socket.on("ippRequestCallback",function(H,D){hinnn.event.trigger("ippRequestCallback",{err:H,res:D})}),I.state=f,y&&y(!0,l)}),this.socket.on("disconnect",function(){I.opened=!1,y&&y(!1)})):console.log("WebSocket start fail"),y&&y(!1)},reconnect:function(){this.state!==f&&this.state!==G||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=G,this.state===G}}},function(tt,V,f){var G=f(28);typeof G=="string"&&(G=[[tt.i,G,""]]);var B={hmr:!0,transform:void 0,insertInto:void 0};f(30)(G,B),G.locals&&(tt.exports=G.locals)},function(tt,V,f){(tt.exports=f(29)(!1)).push([tt.i,"",""])},function(tt,V,f){tt.exports=function(G){var B=[];return B.toString=function(){return this.map(function(y){var p=function(I,l){var H=I[1]||"",D=I[3];if(!D)return H;if(l&&typeof btoa=="function"){var N=(x=D,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(x))))+" */"),s=D.sources.map(function(T){return"/*# sourceURL="+D.sourceRoot+T+" */"});return[H].concat(s).concat([N]).join(`
|
|
1567
1567
|
`)}var x;return[H].join(`
|
|
1568
|
-
`)}(
|
|
1568
|
+
`)}(y,G);return y[2]?"@media "+y[2]+"{"+p+"}":p}).join("")},B.i=function(y,p){typeof y=="string"&&(y=[[null,y,""]]);for(var I={},l=0;l<this.length;l++){var H=this[l][0];H!=null&&(I[H]=!0)}for(l=0;l<y.length;l++){var D=y[l];D[0]!=null&&I[D[0]]||(p&&!D[2]?D[2]=p:p&&(D[2]="("+D[2]+") and ("+p+")"),B.push(D))}},B}},function(tt,V,f){var G,B,y={},p=(G=function(){return window&&document&&document.all&&!window.atob},function(){return B===void 0&&(B=G.apply(this,arguments)),B}),I=function(r){var d={};return function(h,P){if(typeof h=="function")return h();if(d[h]===void 0){var u=function(g,A){return A?A.querySelector(g):document.querySelector(g)}.call(this,h,P);if(window.HTMLIFrameElement&&At(u,window.HTMLIFrameElement))try{u=u.contentDocument.head}catch{u=null}d[h]=u}return d[h]}}(),l=null,H=0,D=[],N=f(31);function s(r,d){for(var h=0;h<r.length;h++){var P=r[h],u=y[P.id];if(u){u.refs++;for(var g=0;g<u.parts.length;g++)u.parts[g](P.parts[g]);for(;g<P.parts.length;g++)u.parts.push(v(P.parts[g],d))}else{var A=[];for(g=0;g<P.parts.length;g++)A.push(v(P.parts[g],d));y[P.id]={id:P.id,refs:1,parts:A}}}}function x(r,d){for(var h=[],P={},u=0;u<r.length;u++){var g=r[u],A=d.base?g[0]+d.base:g[0],L={css:g[1],media:g[2],sourceMap:g[3]};P[A]?P[A].parts.push(L):h.push(P[A]={id:A,parts:[L]})}return h}function T(r,d){var h=I(r.insertInto);if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var P=D[D.length-1];if(r.insertAt==="top")P?P.nextSibling?h.insertBefore(d,P.nextSibling):h.appendChild(d):h.insertBefore(d,h.firstChild),D.push(d);else if(r.insertAt==="bottom")h.appendChild(d);else{if(Tt(r.insertAt)!="object"||!r.insertAt.before)throw new Error(`[Style Loader]
|
|
1569
1569
|
|
|
1570
1570
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
|
1571
1571
|
Must be 'top', 'bottom', or Object.
|
|
1572
1572
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
|
1573
|
-
`);var
|
|
1574
|
-
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(
|
|
1575
|
-
`)});function f(r,u,h,P){var d=h?"":P.css;if(r.styleSheet)r.styleSheet.cssText=a(u,d);else{var g=document.createTextNode(d),A=r.childNodes;A[u]&&r.removeChild(A[u]),A.length?r.insertBefore(g,A[u]):r.appendChild(g)}}},function(tt,F){tt.exports=function(m){var G=typeof window<"u"&&window.location;if(!G)throw new Error("fixUrls requires window.location");if(!m||typeof m!="string")return m;var U=G.protocol+"//"+G.host,v=U+G.pathname.replace(/\/[^\/]*$/,"/");return m.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(p,I){var l,H=I.trim().replace(/^"(.*)"$/,function(D,E){return E}).replace(/^'(.*)'$/,function(D,E){return E});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(H)?p:(l=H.indexOf("//")===0?H:H.indexOf("/")===0?U+H:v+H.replace(/^\.\//,""),"url("+JSON.stringify(l)+")")})}},function(tt,F){var m,G;m=jQuery,(G=function(v,p){this.init(v,p)}).prototype={init:function(v,p){this.ele=v,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(l){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=m.extend(!0,{},this.defaults,p),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(v,p){var I=this,l=p;if(v&&v.length){var H=j.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(p){var D=v.length*I.opts.itemHeight-31;H.css({top:-D})}l||(l=H).addClass("hicontextmenuroot"),j.default.each(v,function(E,s){var x='<div class="nav">'+(s.desc||"")+"</div>",w='<i class="svicon '+s.icon+'"></i>';s.menus&&s.menus.length&&(x='<div class="nav">'+(s.desc||"")+"\u203A</div>");var B=!!s.disable&&s.disable(),C=j.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+w+"<span>"+(s.text||"")+"</span></div>"+x+"</a></li>");B&&C.addClass("disable"),s.borderBottom&&C.addClass("borderBottom"),s.menus&&(C.addClass("hicontextsubmenu"),I.renderMenu(s.menus,C)),s.callback&&C.click(function(T){j.default(this).hasClass("disable")||(j.default(".hicontextmenuroot").remove(),s.callback()),T.stopPropagation()}),H.append(C)}),p&&p.append(H)}p||j.default("body").append(l).find(".hicontextmenuroot").hide()},setPosition:function(v){var p=this,I=document.documentElement.clientWidth,l=document.documentElement.clientHeight,H=j.default(".hicontextmenuroot").height(),D=v.pageX,E=v.pageY;D>I-p.opts.width&&(D-=p.opts.width),E>l-H&&(E-=H),j.default(".hicontextmenuroot").css({left:D,top:E}).show()},eventBind:function(){var v=this;this.ele.on("contextmenu",function(p){j.default(".hicontextmenuroot").remove(),p.preventDefault();var I=v.opts.menus.filter(function(H){return typeof H.enabled=="boolean"?H.enabled:H.enabled()});if(!v.opts.table){var l=v.opts.panel.getSelectEls();l.length<=1&&j.default(this).trigger(j.default.Event("click"))}v.renderMenu(I),v.setPosition(p),v.opts.target&&typeof v.opts.target=="function"&&v.opts.target(m(this))}),m("body").on("click",function(){m(".hicontextmenuroot").remove()})}},m.fn.hicontextMenu=function(U){return new G(this,U),this}},function(tt,F,m){m.r(F),m(22),m(23),m(24),m(25);var G,U=m(0);m(26),window.hiLocalStorage=(G=window.localStorage||null,{saveLocalData:function(i,n){return!(!G||!n||(G.setItem(i,n),0))},getLocalData:function(i){return G?G.getItem(i):null},removeItem:function(i){G&&G.removeItem(i)}}),m(27),m(32);var v,p=function(){function y(){this.allElementTypes=[]}return Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y.prototype.addPrintElementType=function(i){var n=this;if(i&&i.tid&&i.type){var c=it.createPrintElementType(i),b=n.allElementTypes.findIndex(function(Z){return Z.tid==c.tid});b>=0&&n.allElementTypes.splice(b,1),n.allElementTypes.push(c)}return n},y.prototype.addPrintElementTypes=function(i,n){var c=this;this[i]?this[i]=this[i].concat(n):this[i]=n,n.forEach(function(b){c.allElementTypes=c.allElementTypes.concat(b.printElementTypes)})},y.prototype.removePrintElementTypes=function(i){var n=this;delete n[i],n.allElementTypes=n.allElementTypes.filter(function(c){return!c.tid.startsWith(i)})},y.prototype.getElementTypeGroups=function(i){return this[this.formatterModule(i)]||[]},y.prototype.getElementType=function(i){var n=this.allElementTypes.filter(function(c){return c.tid==i});if(n.length>0)return n[0]},y.prototype.updateElementType=function(i,n){var c=this.getElementType(i);if(n){var b=n(c),Z=this.allElementTypes.findIndex(function(z){return z.tid==i});if(Z>=0)return this.allElementTypes.splice(Z,1,b),b}return c},y.prototype.formatterModule=function(i){return i||"_default"},y}(),I=m(1),l=m(2),H=function(){function y(){}return y.prototype.createPrintElementTypeHtml=function(i,n){var c=j.default('<ul class="hiprint-printElement-type"></ul>');return n.forEach(function(b){var Z=j.default("<li></li>");Z.append('<span class="title">'+b.name+"</span>");var z=j.default("<ul></ul>");Z.append(z),b.printElementTypes.forEach(function(R){z.append('<li><a class="ep-draggable-item" tid="'+R.tid+'"> '+R.getText()+" </a></li>")}),c.append(Z)}),j.default(i).append(c),c.find(".ep-draggable-item")},y}(),D=m(5),E=m(15),s=function(){return function(y){this.title=y.title,this.type=y.type}}(),x=function(){return function(y){this.title=y.title,this.type=y.type,this.editable=y.editable,this.columnDisplayEditable=y.columnDisplayEditable,this.columnDisplayIndexEditable=y.columnDisplayIndexEditable,this.columnTitleEditable=y.columnTitleEditable,this.columnResizable=y.columnResizable,this.columnAlignEditable=y.columnAlignEditable,this.isEnableEditField=y.isEnableEditField,this.isEnableContextMenu=y.isEnableContextMenu,this.isEnableInsertRow=y.isEnableInsertRow,this.isEnableDeleteRow=y.isEnableDeleteRow,this.isEnableInsertColumn=y.isEnableInsertColumn,this.isEnableDeleteColumn=y.isEnableDeleteColumn,this.isEnableMergeCell=y.isEnableMergeCell}}(),w=function(){function y(i){var n=this;this.text=i.text,this.field=i.field,this.fields=i.fields,this.title=i.title,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.options=i.options,this.editable=i.editable!=null?i.editable:!0,this.columnDisplayEditable=i.columnDisplayEditable!=null?i.columnDisplayEditable:!0,this.columnDisplayIndexEditable=i.columnDisplayIndexEditable!=null?i.columnDisplayIndexEditable:!0,this.columnTitleEditable=i.columnTitleEditable!=null?i.columnTitleEditable:!0,this.columnResizable=i.columnResizable!=null?i.columnResizable:!0,this.columnAlignEditable=i.columnAlignEditable!=null?i.columnAlignEditable:!0,this.columns=[],(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),this.rowStyler=i.rowStyler,this.striped=i.striped,this.groupFields=i.groupFields||[],this.groupFormatter=i.groupFormatter,this.groupFooterFormatter=i.groupFooterFormatter,this.footerFormatter=i.footerFormatter,this.rowsColumnsMerge=i.rowsColumnsMerge,this.rowsColumnsMergeClean=i.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=i.gridColumnsFooterFormatter,this.isEnableEditField=i.isEnableEditField!=null?i.isEnableEditField:!0,this.isEnableContextMenu=i.isEnableContextMenu!=null?i.isEnableContextMenu:!0,this.isEnableInsertRow=i.isEnableInsertRow!=null?i.isEnableInsertRow:!0,this.isEnableDeleteRow=i.isEnableDeleteRow!=null?i.isEnableDeleteRow:!0,this.isEnableInsertColumn=i.isEnableInsertColumn!=null?i.isEnableInsertColumn:!0,this.isEnableDeleteColumn=i.isEnableDeleteColumn!=null?i.isEnableDeleteColumn:!0,this.isEnableMergeCell=i.isEnableMergeCell!=null?i.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return y.prototype.getText=function(){return this.text||this.title||""},y.prototype.createPrintElement=function(i){var n=this;return this.columns&&this.columns.length==0&&(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),new E.a(this,i)},y.prototype.getData=function(){return[{}]},y.prototype.createTableColumnArray=function(i){var n=[];return i.forEach(function(c,b){n.push(new D.a(c))}),n},y.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new x({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new s({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y.prototype.getColumnByColumnId=function(i){return this.columnObj[i]},y.prototype.makeColumnObj=function(i){var n={};return i?i.forEach(function(c){(c.id||c.columnId)&&(n[c.id||c.columnId]=c)}):this.columns&&this.columns.forEach(function(c){c.forEach(function(b){(b.id||b.columnId)&&(n[b.id||b.columnId]=b)})}),this.columnObj=n,n},y}(),B=m(4),C=m(3),T=(v=function(i,n){return(v=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(c,b){c.__proto__=b}||function(c,b){for(var Z in b)b.hasOwnProperty(Z)&&(c[Z]=b[Z])})(i,n)},function(y,i){function n(){this.constructor=y}v(y,i),y.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}),M=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new C.a(c),b.options.setDefault(new C.a(I.a.instance.image.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.image.showPoints},i.prototype.getData=function(n){var c="",b=this.getField();n?c=b?b.split(".").reduce((z,R)=>z?z[R]:n[R],!1)||"":this.options.src||this.printElementType.getData():c=this.options.src||this.printElementType.getData();var Z=this.getFormatter();return Z&&(c=Z(c,this.options,this._currenttemplateData)),c||""},i.prototype.createTarget=function(n,c){var b=j.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(b,n,c),b},i.prototype.initSizeByHtml=function(n){y.prototype.initSizeByHtml.call(this,n),this.css(n,this.getData())},i.prototype.getConfigOptions=function(){return I.a.instance.image},i.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},i.prototype.updateTargetImage=function(n,c,b){var Z=n.find(".hiprint-printElement-image-content");Z.find("img").length?Z.find("img").attr("src",b):Z.html('<img style="width:100%;height:100%;" src="'+b+'">'),b.length?Z.find("img").css("cssText",`width:100%;height:100%;content:url("${b}")!important`):Z.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&Z.find("img").css("object-fit",this.options.fit)},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),S=function(y){function i(n){var c=this;return n=n||{},(c=y.call(this,n)||this).leftSpaceRemoved=n.leftSpaceRemoved,c}return T(i,y),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i}(C.a),a=m(8),f=function(){function y(i,n,c,b,Z,z,R,et,K,nt,X,rt,q,ot,It,lt,mt,wt){this.panelPageRule=Z,this.overPrintOptions=c,this.watermarkOptions=b,this.panelIdx=n,this.scale=z,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=i,this.width=U.a.mm.toPt(R),this.height=U.a.mm.toPt(et),this.mmwidth=R,this.mmheight=et,this.paperHeader=K>=0?K:0,this.paperFooter=nt,this.contentHeight=nt-K,this.index=mt,this.paperNumberLeft=X||parseInt((this.width-30).toString()),this.paperNumberTop=rt||parseInt((this.height-22).toString()),this.paperNumberDisabled=q,this.paperNumberContinue=ot,this.paperNumberFormat=It,this.backgroundColor=lt,this.referenceElement=wt?j.default.extend({},wt):new a.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0}),this.createTarget()}return y.prototype.subscribePaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged=i},y.prototype.triggerOnPaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberContinue:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat,backgroundColor:this.backgroundColor}),U.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,i||"\u6A21\u677F\u8C03\u6574")},y.prototype.setFooter=function(i,n,c,b){this.firstPaperFooter=i,this.evenPaperFooter=n,this.oddPaperFooter=c,this.lastPaperFooter=b},y.prototype.setOffset=function(i,n){this.setLeftOffset(i),this.setTopOffset(n)},y.prototype.setLeftOffset=function(i){i?this.paperContentTarget.css("left",i+"pt"):this.paperContentTarget[0].style.left=""},y.prototype.setTopOffset=function(i){i?this.paperContentTarget.css("top",i+"pt"):this.paperContentTarget[0].style.top=""},y.prototype.createTarget=function(){this.target=j.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},y.prototype.createHeaderLine=function(){var i=this;this.headerLinetarget=j.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(n,c){c>=i.paperFooter&&(c=i.paperFooter-10),i.paperHeader=c>=0?c:0,i.triggerOnPaperBaseInfoChanged()})},y.prototype.createFooterLine=function(){var i=this;this.footerLinetarget=j.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(n,c){c<=i.paperHeader&&(c=i.paperHeader+10),i.paperFooter=c,i.triggerOnPaperBaseInfoChanged()})},y.prototype.createPaperNumber=function(i,n){var c=this,b=this.target.find(".hiprint-paperNumber");if(b.length)return b.html(i),b;var Z=j.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+i+"</span>");return Z.css("top",this.paperNumberTop+"pt"),Z.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(Z),n&&this.dragHeadLineOrFootLine(Z,function(z,R){c.paperNumberTop=R,c.paperNumberLeft=z,c.triggerOnPaperBaseInfoChanged()},!0),Z},y.prototype.getTarget=function(){return this.target},y.prototype.append=function(i){this.paperContentTarget.append(i)},y.prototype.updateReferenceElement=function(i){i&&(this.referenceElement=i)},y.prototype.updatePrintLine=function(i){i>=this.printLine&&(this.printLine=i)},y.prototype.design=function(i){var n=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),i&&i.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),j.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){n.paperNumberDisabled==null&&(n.paperNumberDisabled=!1),n.paperNumberDisabled=!n.paperNumberDisabled,n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged("\u521D\u59CB")}),this.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor),j.default(this.paperNumberTarget).bind("click.hiprint",function(){U.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:{paperNumberFormat:n.paperNumberFormat,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue},callback:function(b){n.paperNumberDisabled=!!b.paperNumberDisabled||void 0,n.paperNumberContinue=b.paperNumberContinue,n.paperNumberFormat=b.paperNumberFormat?b.paperNumberFormat:void 0,n.createPaperNumber(n.formatPaperNumber(1,1),!0),n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged()}})})},y.prototype.resetPaperNumber=function(i){this.paperNumberDisabled?i.addClass("hiprint-paperNumber-disabled"):i.removeClass("hiprint-paperNumber-disabled")},y.prototype.updatePaperNumber=function(i,n,c){var b=this.createPaperNumber(this.formatPaperNumber(i,n));this.paperNumberDisabled?b.hide():c&&this.index%2==1&&(b[0].style.left="",b.css("right",this.paperNumberLeft+"pt"))},y.prototype.formatPaperNumber=function(i,n){return this.createOverPrintOptions(!1,this.overPrintOptions),this.createWaterMark(!1,i,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",i).replace("paperCount",n)+"`")},y.prototype.dragHeadLineOrFootLine=function(i,n,c){var b=this;i.hidraggable({axis:c?void 0:"v",onDrag:function(z,R,et){n(R,et)},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(z){l.a.instance.draging=!0},getScale:function(){return b.scale||1},onStopDrag:function(z){b.headerLinetarget.css("top",b.paperHeader+"pt"),b.footerLinetarget.css("top",b.paperFooter+"pt"),l.a.instance.draging=!1,b.footerLinetarget.removeClass("hidefooterLinetarget"),b.headerLinetarget.removeClass("hideheaderLinetarget")}})},y.prototype.resize=function(i,n){var c=this.paperFooter/this.height;this.width=U.a.mm.toPt(i),this.height=U.a.mm.toPt(n),this.mmwidth=i,this.mmheight=n,this.target.css("width",i+"mm"),this.target.css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",i+"mm"),this.target.parent().parent().css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm");var b=this.height*c;this.paperFooter=b||this.height,this.footerLinetarget.css("top",b+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},y.prototype.zoom=function(i){i&&(this.scale=i,this.target.css("transform","scale("+i+")"),i>1?this.target.css("transform-origin","-"+i+"% -"+i+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},y.prototype.getPaperFooter=function(i){var n=this.index+i;return n==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},y.prototype.getContentHeight=function(i){return this.getPaperFooter(i)-this.paperHeader},y.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1573
|
+
`);var u=I(r.insertAt.before,h);h.insertBefore(d,u)}}function E(r){if(r.parentNode===null)return!1;r.parentNode.removeChild(r);var d=D.indexOf(r);d>=0&&D.splice(d,1)}function U(r){var d=document.createElement("style");if(r.attrs.type===void 0&&(r.attrs.type="text/css"),r.attrs.nonce===void 0){var h=function(){return f.nc}();h&&(r.attrs.nonce=h)}return w(d,r.attrs),T(r,d),d}function w(r,d){Object.keys(d).forEach(function(h){r.setAttribute(h,d[h])})}function v(r,d){var h,P,u,g;if(d.transform&&r.css){if(!(g=typeof d.transform=="function"?d.transform(r.css):d.transform.default(r.css)))return function(){};r.css=g}if(d.singleton){var A=H++;h=l||(l=U(d)),P=m.bind(null,h,A,!1),u=m.bind(null,h,A,!0)}else r.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(h=function(L){var W=document.createElement("link");return L.attrs.type===void 0&&(L.attrs.type="text/css"),L.attrs.rel="stylesheet",w(W,L.attrs),T(L,W),W}(d),P=function(L,W,J){var Y=J.css,F=J.sourceMap,O=W.convertToAbsoluteUrls===void 0&&F;(W.convertToAbsoluteUrls||O)&&(Y=N(Y)),F&&(Y+=`
|
|
1574
|
+
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(F))))+" */");var $=new Blob([Y],{type:"text/css"}),k=L.href;L.href=URL.createObjectURL($),k&&URL.revokeObjectURL(k)}.bind(null,h,d),u=function(){E(h),h.href&&URL.revokeObjectURL(h.href)}):(h=U(d),P=function(L,W){var J=W.css,Y=W.media;if(Y&&L.setAttribute("media",Y),L.styleSheet)L.styleSheet.cssText=J;else{for(;L.firstChild;)L.removeChild(L.firstChild);L.appendChild(document.createTextNode(J))}}.bind(null,h),u=function(){E(h)});return P(r),function(L){if(L){if(L.css===r.css&&L.media===r.media&&L.sourceMap===r.sourceMap)return;P(r=L)}else u()}}tt.exports=function(r,d){if(typeof DEBUG<"u"&&DEBUG&&(typeof document>"u"?"undefined":Tt(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(d=d||{}).attrs=Tt(d.attrs)=="object"?d.attrs:{},d.singleton||typeof d.singleton=="boolean"||(d.singleton=p()),d.insertInto||(d.insertInto="head"),d.insertAt||(d.insertAt="bottom");var h=x(r,d);return s(h,d),function(P){for(var u=[],g=0;g<h.length;g++){var A=h[g];(L=y[A.id]).refs--,u.push(L)}for(P&&s(x(P,d),d),g=0;g<u.length;g++){var L;if((L=u[g]).refs===0){for(var W=0;W<L.parts.length;W++)L.parts[W]();delete y[L.id]}}}};var j,a=(j=[],function(r,d){return j[r]=d,j.filter(Boolean).join(`
|
|
1575
|
+
`)});function m(r,d,h,P){var u=h?"":P.css;if(r.styleSheet)r.styleSheet.cssText=a(d,u);else{var g=document.createTextNode(u),A=r.childNodes;A[d]&&r.removeChild(A[d]),A.length?r.insertBefore(g,A[d]):r.appendChild(g)}}},function(tt,V){tt.exports=function(f){var G=typeof window<"u"&&window.location;if(!G)throw new Error("fixUrls requires window.location");if(!f||typeof f!="string")return f;var B=G.protocol+"//"+G.host,y=B+G.pathname.replace(/\/[^\/]*$/,"/");return f.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(p,I){var l,H=I.trim().replace(/^"(.*)"$/,function(D,N){return N}).replace(/^'(.*)'$/,function(D,N){return N});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(H)?p:(l=H.indexOf("//")===0?H:H.indexOf("/")===0?B+H:y+H.replace(/^\.\//,""),"url("+JSON.stringify(l)+")")})}},function(tt,V){var f,G;f=jQuery,(G=function(y,p){this.init(y,p)}).prototype={init:function(y,p){this.ele=y,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(l){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=f.extend(!0,{},this.defaults,p),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(y,p){var I=this,l=p;if(y&&y.length){var H=S.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(p){var D=y.length*I.opts.itemHeight-31;H.css({top:-D})}l||(l=H).addClass("hicontextmenuroot"),S.default.each(y,function(N,s){var x='<div class="nav">'+(s.desc||"")+"</div>",T='<i class="svicon '+s.icon+'"></i>';s.menus&&s.menus.length&&(x='<div class="nav">'+(s.desc||"")+"\u203A</div>");var E=!!s.disable&&s.disable(),U=S.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+T+"<span>"+(s.text||"")+"</span></div>"+x+"</a></li>");E&&U.addClass("disable"),s.borderBottom&&U.addClass("borderBottom"),s.menus&&(U.addClass("hicontextsubmenu"),I.renderMenu(s.menus,U)),s.callback&&U.click(function(w){S.default(this).hasClass("disable")||(S.default(".hicontextmenuroot").remove(),s.callback()),w.stopPropagation()}),H.append(U)}),p&&p.append(H)}p||S.default("body").append(l).find(".hicontextmenuroot").hide()},setPosition:function(y){var p=this,I=document.documentElement.clientWidth,l=document.documentElement.clientHeight,H=S.default(".hicontextmenuroot").height(),D=y.pageX,N=y.pageY;D>I-p.opts.width&&(D-=p.opts.width),N>l-H&&(N-=H),S.default(".hicontextmenuroot").css({left:D,top:N}).show()},eventBind:function(){var y=this;this.ele.on("contextmenu",function(p){S.default(".hicontextmenuroot").remove(),p.preventDefault();var I=y.opts.menus.filter(function(H){return typeof H.enabled=="boolean"?H.enabled:H.enabled()});if(!y.opts.table){var l=y.opts.panel.getSelectEls();l.length<=1&&S.default(this).trigger(S.default.Event("click"))}y.renderMenu(I),y.setPosition(p),y.opts.target&&typeof y.opts.target=="function"&&y.opts.target(f(this))}),f("body").on("click",function(){f(".hicontextmenuroot").remove()})}},f.fn.hicontextMenu=function(B){return new G(this,B),this}},function(tt,V,f){f.r(V),f(22),f(23),f(24),f(25);var G,B=f(0);f(26),window.hiLocalStorage=(G=window.localStorage||null,{saveLocalData:function(i,n){return!(!G||!n||(G.setItem(i,n),0))},getLocalData:function(i){return G?G.getItem(i):null},removeItem:function(i){G&&G.removeItem(i)}}),f(27),f(32);var y,p=function(){function M(){this.allElementTypes=[]}return Object.defineProperty(M,"instance",{get:function(){return M._instance||(M._instance=new M),M._instance},enumerable:!0,configurable:!0}),M.prototype.addPrintElementType=function(i){var n=this;if(i&&i.tid&&i.type){var c=it.createPrintElementType(i),b=n.allElementTypes.findIndex(function(Z){return Z.tid==c.tid});b>=0&&n.allElementTypes.splice(b,1),n.allElementTypes.push(c)}return n},M.prototype.addPrintElementTypes=function(i,n){var c=this;this[i]?this[i]=this[i].concat(n):this[i]=n,n.forEach(function(b){c.allElementTypes=c.allElementTypes.concat(b.printElementTypes)})},M.prototype.removePrintElementTypes=function(i){var n=this;delete n[i],n.allElementTypes=n.allElementTypes.filter(function(c){return!c.tid.startsWith(i)})},M.prototype.getElementTypeGroups=function(i){return this[this.formatterModule(i)]||[]},M.prototype.getElementType=function(i){var n=this.allElementTypes.filter(function(c){return c.tid==i});if(n.length>0)return n[0]},M.prototype.updateElementType=function(i,n){var c=this.getElementType(i);if(n){var b=n(c),Z=this.allElementTypes.findIndex(function(z){return z.tid==i});if(Z>=0)return this.allElementTypes.splice(Z,1,b),b}return c},M.prototype.formatterModule=function(i){return i||"_default"},M}(),I=f(1),l=f(2),H=function(){function M(){}return M.prototype.createPrintElementTypeHtml=function(i,n){var c=S.default('<ul class="hiprint-printElement-type"></ul>');return n.forEach(function(b){var Z=S.default("<li></li>");Z.append('<span class="title">'+b.name+"</span>");var z=S.default("<ul></ul>");Z.append(z),b.printElementTypes.forEach(function(R){z.append('<li><a class="ep-draggable-item" tid="'+R.tid+'"> '+R.getText()+" </a></li>")}),c.append(Z)}),S.default(i).append(c),c.find(".ep-draggable-item")},M}(),D=f(5),N=f(15),s=function(){return function(M){this.title=M.title,this.type=M.type}}(),x=function(){return function(M){this.title=M.title,this.type=M.type,this.editable=M.editable,this.columnDisplayEditable=M.columnDisplayEditable,this.columnDisplayIndexEditable=M.columnDisplayIndexEditable,this.columnTitleEditable=M.columnTitleEditable,this.columnResizable=M.columnResizable,this.columnAlignEditable=M.columnAlignEditable,this.isEnableEditField=M.isEnableEditField,this.isEnableContextMenu=M.isEnableContextMenu,this.isEnableInsertRow=M.isEnableInsertRow,this.isEnableDeleteRow=M.isEnableDeleteRow,this.isEnableInsertColumn=M.isEnableInsertColumn,this.isEnableDeleteColumn=M.isEnableDeleteColumn,this.isEnableMergeCell=M.isEnableMergeCell}}(),T=function(){function M(i){var n=this;this.text=i.text,this.field=i.field,this.fields=i.fields,this.title=i.title,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.options=i.options,this.editable=i.editable!=null?i.editable:!0,this.columnDisplayEditable=i.columnDisplayEditable!=null?i.columnDisplayEditable:!0,this.columnDisplayIndexEditable=i.columnDisplayIndexEditable!=null?i.columnDisplayIndexEditable:!0,this.columnTitleEditable=i.columnTitleEditable!=null?i.columnTitleEditable:!0,this.columnResizable=i.columnResizable!=null?i.columnResizable:!0,this.columnAlignEditable=i.columnAlignEditable!=null?i.columnAlignEditable:!0,this.columns=[],(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),this.rowStyler=i.rowStyler,this.striped=i.striped,this.groupFields=i.groupFields||[],this.groupFormatter=i.groupFormatter,this.groupFooterFormatter=i.groupFooterFormatter,this.footerFormatter=i.footerFormatter,this.rowsColumnsMerge=i.rowsColumnsMerge,this.rowsColumnsMergeClean=i.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=i.gridColumnsFooterFormatter,this.isEnableEditField=i.isEnableEditField!=null?i.isEnableEditField:!0,this.isEnableContextMenu=i.isEnableContextMenu!=null?i.isEnableContextMenu:!0,this.isEnableInsertRow=i.isEnableInsertRow!=null?i.isEnableInsertRow:!0,this.isEnableDeleteRow=i.isEnableDeleteRow!=null?i.isEnableDeleteRow:!0,this.isEnableInsertColumn=i.isEnableInsertColumn!=null?i.isEnableInsertColumn:!0,this.isEnableDeleteColumn=i.isEnableDeleteColumn!=null?i.isEnableDeleteColumn:!0,this.isEnableMergeCell=i.isEnableMergeCell!=null?i.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return M.prototype.getText=function(){return this.text||this.title||""},M.prototype.createPrintElement=function(i){var n=this;return this.columns&&this.columns.length==0&&(i.columns||[]).forEach(function(c,b){n.columns.push(n.createTableColumnArray(c))}),new N.a(this,i)},M.prototype.getData=function(){return[{}]},M.prototype.createTableColumnArray=function(i){var n=[];return i.forEach(function(c,b){n.push(new D.a(c))}),n},M.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new x({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new s({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M.prototype.getColumnByColumnId=function(i){return this.columnObj[i]},M.prototype.makeColumnObj=function(i){var n={};return i?i.forEach(function(c){(c.id||c.columnId)&&(n[c.id||c.columnId]=c)}):this.columns&&this.columns.forEach(function(c){c.forEach(function(b){(b.id||b.columnId)&&(n[b.id||b.columnId]=b)})}),this.columnObj=n,n},M}(),E=f(4),U=f(3),w=(y=function(i,n){return(y=Object.setPrototypeOf||At({__proto__:[]},Array)&&function(c,b){c.__proto__=b}||function(c,b){for(var Z in b)b.hasOwnProperty(Z)&&(c[Z]=b[Z])})(i,n)},function(M,i){function n(){this.constructor=M}y(M,i),M.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}),v=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.image.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.image.showPoints},i.prototype.getData=function(n){var c="",b=this.getField();n?c=b?b.split(".").reduce((z,R)=>z?z[R]:n[R],!1)||"":this.options.src||this.printElementType.getData():c=this.options.src||this.printElementType.getData();var Z=this.getFormatter();return Z&&(c=Z(c,this.options,this._currenttemplateData)),c||""},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(b,n,c),b},i.prototype.initSizeByHtml=function(n){M.prototype.initSizeByHtml.call(this,n),this.css(n,this.getData())},i.prototype.getConfigOptions=function(){return I.a.instance.image},i.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},i.prototype.updateTargetImage=function(n,c,b){var Z=n.find(".hiprint-printElement-image-content");Z.find("img").length?Z.find("img").attr("src",b):Z.html('<img style="width:100%;height:100%;" src="'+b+'">'),b.length?Z.find("img").css("cssText",`width:100%;height:100%;content:url("${b}")!important`):Z.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&Z.find("img").css("object-fit",this.options.fit)},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),j=function(M){function i(n){var c=this;return n=n||{},(c=M.call(this,n)||this).leftSpaceRemoved=n.leftSpaceRemoved,c}return w(i,M),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i}(U.a),a=f(8),m=function(){function M(i,n,c,b,Z,z,R,et,K,nt,X,rt,q,ot,ct,lt,ft,wt){this.panelPageRule=Z,this.overPrintOptions=c,this.watermarkOptions=b,this.panelIdx=n,this.scale=z,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=i,this.width=B.a.mm.toPt(R),this.height=B.a.mm.toPt(et),this.mmwidth=R,this.mmheight=et,this.paperHeader=K>=0?K:0,this.paperFooter=nt,this.contentHeight=nt-K,this.index=ft,this.paperNumberLeft=X||parseInt((this.width-30).toString()),this.paperNumberTop=rt||parseInt((this.height-22).toString()),this.paperNumberDisabled=q,this.paperNumberContinue=ot,this.paperNumberFormat=ct,this.backgroundColor=lt,this.referenceElement=wt?S.default.extend({},wt):new a.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0}),this.createTarget()}return M.prototype.subscribePaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged=i},M.prototype.triggerOnPaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberContinue:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat,backgroundColor:this.backgroundColor}),B.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,i||"\u6A21\u677F\u8C03\u6574")},M.prototype.setFooter=function(i,n,c,b){this.firstPaperFooter=i,this.evenPaperFooter=n,this.oddPaperFooter=c,this.lastPaperFooter=b},M.prototype.setOffset=function(i,n){this.setLeftOffset(i),this.setTopOffset(n)},M.prototype.setLeftOffset=function(i){i?this.paperContentTarget.css("left",i+"pt"):this.paperContentTarget[0].style.left=""},M.prototype.setTopOffset=function(i){i?this.paperContentTarget.css("top",i+"pt"):this.paperContentTarget[0].style.top=""},M.prototype.createTarget=function(){this.target=S.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},M.prototype.createHeaderLine=function(){var i=this;this.headerLinetarget=S.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(n,c){c>=i.paperFooter&&(c=i.paperFooter-10),i.paperHeader=c>=0?c:0,i.triggerOnPaperBaseInfoChanged()})},M.prototype.createFooterLine=function(){var i=this;this.footerLinetarget=S.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(n,c){c<=i.paperHeader&&(c=i.paperHeader+10),i.paperFooter=c,i.triggerOnPaperBaseInfoChanged()})},M.prototype.createPaperNumber=function(i,n){var c=this,b=this.target.find(".hiprint-paperNumber");if(b.length)return b.html(i),b;var Z=S.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+i+"</span>");return Z.css("top",this.paperNumberTop+"pt"),Z.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(Z),n&&this.dragHeadLineOrFootLine(Z,function(z,R){c.paperNumberTop=R,c.paperNumberLeft=z,c.triggerOnPaperBaseInfoChanged()},!0),Z},M.prototype.getTarget=function(){return this.target},M.prototype.append=function(i){this.paperContentTarget.append(i)},M.prototype.updateReferenceElement=function(i){i&&(this.referenceElement=i)},M.prototype.updatePrintLine=function(i){i>=this.printLine&&(this.printLine=i)},M.prototype.design=function(i){var n=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),i&&i.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),S.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){n.paperNumberDisabled==null&&(n.paperNumberDisabled=!1),n.paperNumberDisabled=!n.paperNumberDisabled,n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged("\u521D\u59CB")}),this.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor),S.default(this.paperNumberTarget).bind("click.hiprint",function(){B.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:{paperNumberFormat:n.paperNumberFormat,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue},callback:function(b){n.paperNumberDisabled=!!b.paperNumberDisabled||void 0,n.paperNumberContinue=b.paperNumberContinue,n.paperNumberFormat=b.paperNumberFormat?b.paperNumberFormat:void 0,n.createPaperNumber(n.formatPaperNumber(1,1),!0),n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged()}})})},M.prototype.resetPaperNumber=function(i){this.paperNumberDisabled?i.addClass("hiprint-paperNumber-disabled"):i.removeClass("hiprint-paperNumber-disabled")},M.prototype.updatePaperNumber=function(i,n,c){var b=this.createPaperNumber(this.formatPaperNumber(i,n));this.paperNumberDisabled?b.hide():c&&this.index%2==1&&(b[0].style.left="",b.css("right",this.paperNumberLeft+"pt"))},M.prototype.formatPaperNumber=function(i,n){return this.createOverPrintOptions(!1,this.overPrintOptions),this.createWaterMark(!1,i,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",i).replace("paperCount",n)+"`")},M.prototype.dragHeadLineOrFootLine=function(i,n,c){var b=this;i.hidraggable({axis:c?void 0:"v",onDrag:function(z,R,et){n(R,et)},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(z){l.a.instance.draging=!0},getScale:function(){return b.scale||1},onStopDrag:function(z){b.headerLinetarget.css("top",b.paperHeader+"pt"),b.footerLinetarget.css("top",b.paperFooter+"pt"),l.a.instance.draging=!1,b.footerLinetarget.removeClass("hidefooterLinetarget"),b.headerLinetarget.removeClass("hideheaderLinetarget")}})},M.prototype.resize=function(i,n){var c=this.paperFooter/this.height;this.width=B.a.mm.toPt(i),this.height=B.a.mm.toPt(n),this.mmwidth=i,this.mmheight=n,this.target.css("width",i+"mm"),this.target.css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",i+"mm"),this.target.parent().parent().css("height",n-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm");var b=this.height*c;this.paperFooter=b||this.height,this.footerLinetarget.css("top",b+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},M.prototype.zoom=function(i){i&&(this.scale=i,this.target.css("transform","scale("+i+")"),i>1?this.target.css("transform-origin","-"+i+"% -"+i+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},M.prototype.getPaperFooter=function(i){var n=this.index+i;return n==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:n%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},M.prototype.getContentHeight=function(i){return this.getPaperFooter(i)-this.paperHeader},M.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1576
1576
|
<img class="h_img" src="`+Ye+`" />
|
|
1577
1577
|
<img class="v_img" src="`+Oe+`" />
|
|
1578
|
-
</div>`)},
|
|
1579
|
-
`,"g"));if(rt.forEach(function(Ct,Ft){var Vt=Z.options.leftSpaceRemoved!=0?(Ct||"").toString().replace(/^\s*/,""):Ct;X=X.concat(Vt.split("")),Ft<rt.length-1&&X.push("<br/>"+Z.getLongTextIndent())}),X.length==0&&(X=[""]),this.isHeaderOrFooter()||this.isFixed()||!c)return(lt=this.getStringBySpecificHeight(X,25e3,nt)).target.css("left",this.options.displayLeft()),lt.target.css("top",this.options.displayTop()),lt.target[0].height="",z.push(new r.a({target:lt.target,printLine:this.options.displayTop()+lt.height,referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:n.index,bottomInLastPaper:this.options.getTop()+lt.height,printTopInPaper:this.options.getTop()})})),z;for(var q=this.getBeginPrintTopInPaperByReferenceElement(n);X.length>0;){var ot=0,
|
|
1580
|
-
|/g`,"g"),n)},
|
|
1581
|
-
| |/g`,"g"),n)},y}(),P=function(y){function i(n){var c=y.call(this,n)||this;return c.title&&(c.title=h.replaceEnterAndNewlineAndTab(c.title,"")),c}return T(i,y),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},i.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},i.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},i.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},i}(C.a),d=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new P(c),b.options.setDefault(new P(I.a.instance.text.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.getDesignTarget=function(n){return y.prototype.getDesignTarget.call(this,n)},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var c=this.getData(),b=this.createTarget(this.printElementType.getText(!0),c);return this.updateTargetSize(b),this.css(b,c),b},i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetText(this.designTarget,this.getTitle(),n)}},i.prototype.getConfigOptions=function(){return I.a.instance.text},i.prototype.getTitle=function(){var n=this.options.title||this.printElementType.title||"";return n&&(n=h.replaceEnterAndNewlineAndTab(n,"")),n},i.prototype.getData=function(n){var c=void 0,b=this.getField();if(c=n?b&&b.split(".").reduce((z,R)=>z?z[R]:n?n[R]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return U.a.dateFormat(c,this.options.format);if(this.options.dataType=="boolen"){var Z=this.options.format.split(":");if(Z.length>0)return c===!0||c==="true"?Z[0]:Z[1]}}return c},i.prototype.updateTargetText=function(n,c,b,Z,z){var R=this.getFormatter(),et=n.find(".hiprint-printElement-text-content"),K="";K=this.getField()?(this.options.getHideTitle()?"":c?c+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,R?R(c,b,this.options,this._currenttemplateData,n):b):b=hinnn.toUpperCase(this.options.upperCase,R?R(c,c,this.options,this._currenttemplateData,n):c);var nt=this.options.getTextType();if(nt=="text")et.html(K);else{if(nt=="barcode"){et.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{b?(Xt.default(et.find(".hibarcode_imgcode")[0],b,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(U.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),et.find(".hibarcode_imgcode").attr("height","100%"),et.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||et.find(".hibarcode_displayValue").html(b)):et.html("")}catch(ot){console.log(ot),et.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(nt=="qrcode"){et.html("");try{if(b){n.css("line-height",0),et.css("text-align","center");var X=this.options.getWidth()||20,rt=this.options.getHeight()||20,q=j.default("<div></div>").css({width:(X>rt?rt:X)+"pt",height:(X>rt?rt:X)+"pt",display:"inline-block"});new QRCode(q[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(b),et.html(q)}}catch(ot){console.log(ot),et.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},i.prototype.onResize=function(n,c,b,Z,z){y.prototype.onResize.call(this,n,c,b,Z,z),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},i.prototype.createTarget=function(n,c,b){var Z=j.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(Z,n,c,b),Z},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),g=function(y){function i(n){return y.call(this,n)||this}return T(i,y),i}(C.a),A=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new g(c),b.options.setDefault(new g(I.a.instance.html.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetHtml()}},i.prototype.updateTargetHtml=function(){var n=this.getFormatter();if(n){var c=n(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(c)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.html.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.html},i.prototype.createTarget=function(n,c){var b=j.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),Z=this.getFormatter();if(Z){var z=Z(this.getData(),this.options,this._currenttemplateData);b.find(".hiprint-printElement-html-content").append(z)}else this.options.content&&b.find(".hiprint-printElement-html-content").append(this.options.content);return b},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),L=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new C.a(c),b.options.setDefault(new C.a(I.a.instance.vline.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.vline},i.prototype.createTarget=function(n,c){return j.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.vline.showPoints},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),W=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new C.a(c),b.options.setDefault(new C.a(I.a.instance.hline.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.hline},i.prototype.createTarget=function(n,c){return j.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.hline.showPoints},i}(B.a),J=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new C.a(c),b.options.setDefault(new C.a(I.a.instance.rect.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.rect.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.rect},i.prototype.createTarget=function(n,c){return j.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),Q=function(y){function i(n,c){var b=y.call(this,n)||this;return b.options=new C.a(c),b.options.setDefault(new C.a(I.a.instance.oval.default).getPrintElementOptionEntity()),b}return T(i,y),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.oval.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.oval},i.prototype.createTarget=function(n,c){return j.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(B.a),V=function(){function y(){}return y.createPrintElement=function(i,n){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(i.type))return i.type=="text"?new d(i,n):i.type=="image"?new M(i,n):i.type=="longText"?new u(i,n):i.type=="table"?new E.a(i,n):i.type=="html"?new A(i,n):i.type=="vline"?new L(i,n):i.type=="hline"?new W(i,n):i.type=="rect"?new J(i,n):i.type=="oval"?new Q(i,n):void 0;for(var c,b=I.a.instance.getHooks("createPrintElement"),Z=b.length,z=0;z<Z&&(c=b[z].run({Config:I.a.instance,BasePrintElement:B.a,Options:C.a,Supper:T,ele:i,eleOpt:n}),!c);z++);return c?new c(i,n):void 0},y}(),Y=function(){function y(i){this.field=i.field,this.fields=i.fields,this.title=i.title,this.text=i.text,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.onRendered=i.onRendered,this.options=i.options}return y.prototype.getText=function(i){return i?this.title||this.text||"":this.text||this.title||""},y.prototype.getData=function(){return this.data},y.prototype.createPrintElement=function(i){var n={};return j.default.extend(n,i||{}),V.createPrintElement(this,n)},y.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y}();m(16);var $=m(12);(function(y){function i(n){var c=y.call(this,n)||this;return(n=n||{}).columns?(c.columns=[],n.columns.forEach(function(b){c.columns.push(new $.a(b))})):c.columns=[new $.a({columns:[new D.a({width:100}),new D.a({width:100})]})],c.lHeight=n.lHeight,c.autoCompletion=n.autoCompletion,c.tableFooterRepeat=n.tableFooterRepeat,c}return T(i,y),i.prototype.getPrintElementOptionEntity=function(){var n=y.prototype.getPrintElementOptionEntity.call(this);return n.fields=this.fields,n.columns=[],this.columns.forEach(function(c){n.columns.push(c.getPrintElementOptionEntity())}),n},i})(C.a);var k=function(y){function i(n){return y.call(this,n)||this}return T(i,y),i.prototype.createPrintElement=function(n){var c={};return j.default.extend(c,n||{}),V.createPrintElement(this,c)},i.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},i}(Y),it=function(){function y(){}return y.createPrintElementType=function(i){return i.type=i.type||"text",i.type=="text"?new k(i):i.type=="table"?new w(i):new Y(i)},y}(),st=function(){function y(){}return y.ElementTypes=p.instance,y.getElementTypeGroups=function(i){var n=y.formatterModule(i);return p.instance[n]||[]},y.getElementType=function(i,n){if(i)return p.instance.getElementType(i);it.createPrintElementType({type:n})},y.build=function(i,n){var c=y.formatterModule(n),b=new H().createPrintElementTypeHtml(i,this.getElementTypeGroups(c));this.enableDrag(b)},y.buildByHtml=function(i){this.enableDrag(i)},y.enableDrag=function(i){i.hidraggable({revert:!0,proxy:function(c){var b=l.a.instance.getDragingPrintElement(),Z=b.printElement.getProxyTarget(b.printElement.printElementType.getOptions());return Z.appendTo("body"),Z.css("z-index","9999"),Z},moveUnit:"pt",minMove:4,onBeforeDrag:function(c){l.a.instance.draging=!0;var b=j.default(c.data.target).attr("tid"),Z=y.getElementType(b,j.default(c.data.target).attr("ptype"));if(!Z)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${b}]`);var z=Z.createPrintElement();if(!z&&Z.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return l.a.instance.setDragingPrintElement(z),!0},onDrag:function(c,b,Z){l.a.instance.getDragingPrintElement().updatePosition(b,Z)},onStopDrag:function(c){l.a.instance.draging=!1}})},y.formatterModule=function(i){return i||"_default"},y}(),pt=function(){return function(y,i){var n=this;this.name=y,this.printElementTypes=[],i.forEach(function(c){n.printElementTypes.push(it.createPrintElementType(c))})}}(),ct=function(){return function(y){if(this.index=y.index,this.name=y.name,this.paperType=y.paperType,this.paperType){var i=l.a.instance[this.paperType];y.height?(this.height=y.height,this.width=y.width):(this.height=i.height,this.width=i.width)}else this.height=y.height,this.width=y.width;this.paperHeader=y.paperHeader||0,this.paperFooter=y.paperFooter||U.a.mm.toPt(this.height),this.printElements=y.printElements||[],this.paperNumberLeft=y.paperNumberLeft,this.paperNumberTop=y.paperNumberTop,this.paperNumberDisabled=y.paperNumberDisabled,this.paperNumberContinue=y.paperNumberContinue,this.paperNumberFormat=y.paperNumberFormat,this.backgroundColor=y.backgroundColor,this.panelPaperRule=y.panelPaperRule,this.panelPageRule=y.panelPageRule,this.rotate=y.rotate||void 0,this.firstPaperFooter=y.firstPaperFooter,this.evenPaperFooter=y.evenPaperFooter,this.oddPaperFooter=y.oddPaperFooter,this.lastPaperFooter=y.lastPaperFooter,this.topOffset=y.topOffset,this.fontFamily=y.fontFamily,this.leftOffset=y.leftOffset,this.orient=y.orient,this.overPrintOptions=y.overPrintOptions,this.watermarkOptions=y.watermarkOptions,this.scale=y.scale}}(),bt=function(){function y(i,n,c,b){this.bx=i,this.by=n,this.ex=i,this.ey=n,this.startX=this.minX=i,this.startY=this.minY=n,this.maxX=i,this.maxY=n,this.lastLeft=c,this.lastTop=b}return y.prototype.updateRect=function(i,n){this.ex=i,this.ey=n,this.minX=this.startX<i?this.startX:i,this.minY=this.startY<n?this.startY:n,this.maxX=this.startX<i?i:this.startX,this.maxY=this.startY<n?n:this.startY},y.prototype.updatePositionByMultipleSelect=function(i,n){i!=null&&(this.lastLeft=this.lastLeft+i),n!=null&&(this.lastTop=this.lastTop+n),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},y}(),vt=function(){function y(i,n){this.templateId=n,this.index=i.index,this.name=i.name,this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.initPrintElements(i.printElements),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue==null?!0:i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.backgroundColor=i.backgroundColor,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.fontFamily=i.fontFamily,this.orient=i.orient,this.target=this.createTarget(),this.rotate=i.rotate,this.overPrintOptions=i.overPrintOptions||{},this.watermarkOptions=i.watermarkOptions||{},this.scale=i.scale}return y.prototype.design=function(i){var n=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(i),this.designPaper.subscribePaperBaseInfoChanged(function(c){n.paperHeader=c.paperHeader,n.paperFooter=c.paperFooter,n.paperNumberLeft=c.paperNumberLeft,n.paperNumberTop=c.paperNumberTop,n.paperNumberDisabled=c.paperNumberDisabled,n.paperNumberFormat=c.paperNumberFormat,n.backgroundColor=c.backgroundColor}),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),this.target.bind("click.hiprint",function(c){let b={paperList:{type:n.paperType,width:n.width,height:n.height},panelPaperRule:n.panelPaperRule,panelPageRule:n.panelPageRule,firstPaperFooter:n.firstPaperFooter,evenPaperFooter:n.evenPaperFooter,oddPaperFooter:n.oddPaperFooter,lastPaperFooter:n.lastPaperFooter,leftOffset:n.leftOffset,topOffset:n.topOffset,fontFamily:n.fontFamily,orient:n.orient,paperDirections:void 0,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue,paperNumberFormat:n.paperNumberFormat,backgroundColor:n.backgroundColor,overPrintOptions:n.overPrintOptions||{},watermarkOptions:n.watermarkOptions||{}};I.a.instance.paperNumberContinue||delete b.paperNumberContinue,U.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:b,callback:function(z){z.paperList&&n.resize(z.paperList.type,z.paperList.width,z.paperList.height,!1),n.overPrintOptions=n.designPaper.overPrintOptions=z.overPrintOptions||void 0,n.watermarkOptions=n.designPaper.watermarkOptions=z.watermarkOptions||void 0,n.panelPaperRule=z.panelPaperRule,n.panelPageRule=z.panelPageRule,n.firstPaperFooter=z.firstPaperFooter,n.evenPaperFooter=z.evenPaperFooter,n.oddPaperFooter=z.oddPaperFooter,n.lastPaperFooter=z.lastPaperFooter,n.leftOffset=z.leftOffset,n.topOffset=z.topOffset,n.fontFamily=z.fontFamily,n.orient=z.orient,n.paperNumberDisabled=n.designPaper.paperNumberDisabled=!!z.paperNumberDisabled||void 0,n.paperNumberContinue=n.designPaper.paperNumberContinue=z.paperNumberContinue,n.paperNumberFormat=z.paperNumberFormat,n.designPaper.paperNumberFormat=z.paperNumberFormat,n.backgroundColor=z.backgroundColor,n.designPaper.backgroundColor=z.backgroundColor,z.paperNumberFormat&&(n.designPaper.paperNumberTarget=n.designPaper.createPaperNumber(n.designPaper.formatPaperNumber(1,1),!0)),n.designPaper.setOffset(n.leftOffset,n.topOffset),n.css(n.target),n.designPaper.resetPaperNumber(n.designPaper.paperNumberTarget),n.designPaper.triggerOnPaperBaseInfoChanged(),z.overPrintOptions&&n.designPaper.createOverPrintOptions(!0,z.overPrintOptions),z.watermarkOptions&&n.designPaper.createWaterMark(!0,1,z.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},y.prototype.update=function(i){try{var n=this;this.index=i.index||0,this.name=i.name||"",this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.designPaper.width=U.a.mm.toPt(i.width),this.designPaper.height=U.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=i.height,this.designPaper.mmwidth=i.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",i.height-I.a.instance.paperHeightTrim+"mm"),this.overPrintOptions=i.overPrintOptions||{},this.designPaper.createOverPrintOptions(!0,this.overPrintOptions),this.watermarkOptions=i.watermarkOptions||{},this.designPaper.createWaterMark(!0,this.index,this.watermarkOptions),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberContinue=this.paperNumberContinue,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.backgroundColor=i.backgroundColor,i.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",i.backgroundColor),this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=i.fontFamily,this.orient=i.orient,this.rotate=i.rotate,this.scale=i.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=this.scale,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",i.width+"mm"),this.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",i.height),this.target.parent().css("width",i.width+"mm"),this.target.parent().css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",i.width+"mm"),this.designPaper.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",i.height),this.zoom(this.scale),this.printElements.forEach(function(c){c.designTarget&&c.designTarget.length&&c.designTarget.remove()}),this.printElements=[],this.initPrintElements(i.printElements),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),U.a.event.trigger("hiprintTemplateUpdate_"+n.templateId)}catch(c){throw console.log("update error: "),console.log(c),new Error(`update error: ${c}`)}},y.prototype.bindShortcutKeyEvent=function(){var i=this;j.default(document).keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==90&&(n.shiftKey?U.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"redo"):U.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"undo"),n.preventDefault());var c=I.a.instance.getHooks("documentShortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},y.prototype.copyJson=function(i){var n=[];try{var c=this,b=j.default("#copyArea");b.length||(b=j.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),j.default("body").append(b)),n=c.getSelectEls();var Z=[];n.forEach(function(R){Z.push({options:R.options,printElementType:R.printElementType,id:R.id,templateId:R.templateId,cut:i||!1})});var z=JSON.stringify(Z);b.text(z),b.css("visibility","visible"),b.focus(),b.setSelectionRange?b.setSelectionRange(0,b.value.length):b.select(),document.execCommand("copy"),b.css("visibility","hidden"),c.designPaper.target.trigger(j.default.Event("click")),c.designPaper.target.focus(),console.log("copyJson success")}catch(R){n=[],console.log("copyJson error",R)}return n},y.prototype.cutJson=function(){try{var i=this,n=i.copyJson(!0);n&&n.forEach(function(c){i.deletePrintElement(c)})}catch(c){console.log("cutJson error",c)}},y.prototype.getSelectEls=function(){var i=this,n=[];return i.mouseRect&&i.mouseRect.target&&j.default(".mouseRect").length?n=i.getElementInRect(i.mouseRect):n=i.printElements.filter(function(c){return c.designTarget.children().last().css("display")=="block"&&!c.printElementType.type.includes("table")}),n},y.prototype.bingPasteEvent=function(){var i=this;i.designPaper.target.attr("tabindex","1"),i.designPaper.target.keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==86&&(i.pasteJson(n),n.preventDefault());var c=I.a.instance.getHooks("shortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},y.prototype.canPaste=function(i){var n=j.default("#copyArea");if(!n.length)return!1;var c=n.text(),b=JSON.parse(c);return Array.isArray(b)?b.some(function(Z){return Z.printElementType&&Z.templateId}):!!(b.printElementType&&b.templateId)},y.prototype.pasteJson=function(i){var n=j.default("#copyArea");if(!!n.length)try{var c=this,b=n.text(),Z=JSON.parse(b),z=!1;Array.isArray(Z)?(z=Z.some(function(R){return R.cut==!0}),Z.forEach(function(R){c.pasteByJson(R,i)})):(z=Z.cut,c.pasteByJson(Z,i)),z&&j.default("#copyArea").text("{}")}catch(R){console.error("pasteJson error",R)}},y.prototype.pasteByJson=function(i,n){if(!(!i.printElementType&&!i.templateId)){var c=this,b=i.options,Z=it.createPrintElementType(i.printElementType),z=Z.createPrintElement(b);if(!!z){var R=n&&n.currentTarget?!0:n,et=R?c.mouseOffsetX&&U.a.px.toPt(c.mouseOffsetX):b.left+=10,K=R?c.mouseOffsetY&&U.a.px.toPt(c.mouseOffsetY):b.top+=10;R||(z.options.setLeft(et),z.options.setTop(K)),z.setTemplateId(c.templateId),z.setPanel(c),c.appendDesignPrintElement(c.designPaper,z,!1),c.printElements.push(z),z.design(void 0,c.designPaper),console.log("pasteJson success"),U.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,i.cut?"\u526A\u5207":"\u590D\u5236"),z.designTarget.trigger(j.default.Event("click"))}}},y.prototype.css=function(i){this.fontFamily?i.css("fontFamily",this.fontFamily):i[0].style.fontFamily="",this.backgroundColor?i.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor):i[0].style.backgroundColor=""},y.prototype.getConfig=function(){return I.a.instance},y.prototype.getHtml=function(i,n,c,b,Z){var z=this;this.orderPrintElements();let R=z.getConfig();var et,K=c||[],nt=b||this,X=void 0;return b?(X=K[K.length-1],et=X.getPanelTarget(),X.updateReferenceElement(new a.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:X.referenceElement.bottomInLastPaper,beginPrintPaperIndex:K.length-1,printTopInPaper:X.referenceElement.bottomInLastPaper,endPrintPaperIndex:K.length-1}))):(et=nt.createTarget(),X=nt.createNewPage(K.length),K.push(X),et.append(X.getTarget())),this.printElements.filter(function(rt){return!rt.isFixed()&&!rt.isHeaderOrFooter()}).forEach(function(rt){var q=[],ot=K[K.length-1];ot.referenceElement.isPositionLeftOrRight(rt.options.getTop())?X=K[ot.referenceElement.beginPrintPaperIndex]:X=K[ot.referenceElement.endPrintPaperIndex],q=rt.getHtml(X,i),q.forEach(function(It,lt){It.referenceElement&&(It.referenceElement.endPrintPaperIndex=It.referenceElement.beginPrintPaperIndex+q.length-1),lt>0&&(X.index<K.length-1?X=K[X.index+1]:(X=nt.createNewPage(K.length,X.referenceElement),K.push(X)),et.append(X.getTarget())),It.target&&(rt.options.showInPage!="none"&&X.append(It.target),X.updatePrintLine(It.printLine),rt.onRendered(X,It.target)),lt==q.length-1&&It.referenceElement&&X.updateReferenceElement(It.referenceElement)})}),Z&&Z.templates.forEach(function(rt,q){var ot=rt.data||{},It=rt.options||{};rt.template.printPanels.forEach(function(lt){lt.getHtml(ot,It,c,z)})}),R.paperNumberContinue&&(z.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...K]:hinnn._paperList=[...K]),b||(this.lastPaperFooter&&K[K.length-1].printLine>this.lastPaperFooter&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&K.length%2==0&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule=="even"&&K.length%2==1&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget()))),K.forEach(function(rt){rt.updatePaperNumber(rt.index+1,K.length,n.paperNumberToggleInEven),z.fillPaperHeaderAndFooter(rt,i,K.length),n&&(n.leftOffset!=null&&rt.setLeftOffset(n.leftOffset),n.topOffset!=null&&rt.setTopOffset(n.topOffset))}),et.prepend(this.getPrintStyle()),R.paperNumberContinue&&hinnn._paperList.forEach(function(rt,q){rt.updatePaperNumber(q+1,hinnn._paperList.length)})),et},y.prototype.resize=function(i,n,c,b){this.width=n,this.height=c,this.paperType=i,this.rotate=b,this.designPaper.resize(n,c)},y.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},y.prototype.zoom=function(i,n){n?this.scale=i:this.scale=void 0,this.designPaper.zoom(i)},y.prototype.getTarget=function(){return this.target},y.prototype.enable=function(){this.target.removeClass("hipanel-disable")},y.prototype.disable=function(){this.target.addClass("hipanel-disable")},y.prototype.getPanelEntity=function(i){var n=[];return this.printElements.forEach(function(c){n.push(c.getPrintElementEntity(i))}),new ct({index:this.index,name:this.name||this.index+1,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberContinue:this.paperNumberContinue==null?!0:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,backgroundColor:this.backgroundColor?this.backgroundColor:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:n,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,overPrintOptions:this.overPrintOptions?this.overPrintOptions:void 0,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},y.prototype.createTarget=function(){var i=j.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(i),i},y.prototype.droppablePaper=function(i){var n=this;i.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(b,Z){var z=l.a.instance.getDragingPrintElement(),R=z.printElement,et=n.designPaper.scale||1,K=(z.left-U.a.px.toPt(n.target.children(".hiprint-printPaper").offset().left))/et,nt=(z.top-U.a.px.toPt(n.target.children(".hiprint-printPaper").offset().top))/et;R.updateSizeAndPositionOptions(n.mathroundToporleft(K),n.mathroundToporleft(nt)),R.setTemplateId(n.templateId),R.setPanel(n),n.appendDesignPrintElement(n.designPaper,R,!0),n.printElements.push(R),R.design(void 0,i),U.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u65B0\u589E")}})},y.prototype.initPrintElements=function(i){var n=this;this.printElements=[],i&&i.forEach(function(c){var b;if(b=c.printElementType?it.createPrintElementType(c.printElementType):p.instance.getElementType(c.tid)){var Z=b.createPrintElement(c.options);Z.setTemplateId(n.templateId),Z.setPanel(n),n.printElements.push(Z)}else console.log("miss "+JSON.stringify(i))})},y.prototype.mathroundToporleft=function(i){var n=I.a.instance.movingDistance;return Math.round(i/n)*n},y.prototype.appendDesignPrintElement=function(i,n,c){n.setCurrenttemplateData(void 0);var b=n.getDesignTarget(i);b.addClass("design"),c&&n.initSizeByHtml(b),i.append(b)},y.prototype.createNewPage=function(i,n){var c=new f(this.templateId,this.index,this.overPrintOptions,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberContinue,this.paperNumberFormat,this.backgroundColor,i,n);return c.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),c.setOffset(this.leftOffset,this.topOffset),c},y.prototype.orderPrintElements=function(){this.printElements=U.a.orderBy(this.printElements,function(i){return i.options.getLeft()}),this.printElements=U.a.orderBy(this.printElements,function(i){return i.options.getTop()})},y.prototype.fillPaperHeaderAndFooter=function(i,n,c){this.printElements.filter(function(b){return b.isFixed()||b.isHeaderOrFooter()}).forEach(function(b){if(b.isFixed(),b.showInPage(i.index,c)){var Z=b.getHtml(i,n);Z.length&&i.append(Z[0].target)}})},y.prototype.clear=function(){this.printElements.forEach(function(i){i.designTarget&&i.designTarget.length&&i.designTarget.remove()}),this.printElements=[],U.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},y.prototype.insertPrintElementToPanel=function(i){var n=this.getPrintElementTypeByEntity(i);if(n){var c=n.createPrintElement(i.options);c.setTemplateId(this.templateId),c.setPanel(this),this.printElements.push(c)}},y.prototype.addPrintText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="text",this.insertPrintElementToPanel(i)},y.prototype.addPrintHtml=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="html",this.insertPrintElementToPanel(i)},y.prototype.addPrintTable=function(i){if(i.printElementType=i.printElementType||{},i.printElementType.type="table",i.options&&i.options.columns){var n=j.default.extend({},i.options.columns);i.printElementType.columns=n.columns,n.columns=void 0}this.insertPrintElementToPanel(i)},y.prototype.addPrintImage=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="image",this.insertPrintElementToPanel(i)},y.prototype.addPrintLongText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="longText",this.insertPrintElementToPanel(i)},y.prototype.addPrintVline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="vline",this.insertPrintElementToPanel(i)},y.prototype.addPrintHline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="hline",this.insertPrintElementToPanel(i)},y.prototype.addPrintRect=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="rect",this.insertPrintElementToPanel(i)},y.prototype.addPrintOval=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="oval",this.insertPrintElementToPanel(i)},y.prototype.getPrintElementTypeByEntity=function(i){var n;return(n=i.tid?p.instance.getElementType(i.tid):it.createPrintElementType(i.printElementType))||console.log("miss "+JSON.stringify(i)),n},y.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1578
|
+
</div>`)},M.prototype.createOverPrintOptions=function(i,n){var c=this;if(!!n)if((n.type||1)==2||i){let b=c.paperBackgroundTarget.find("img");n.content&&n.content.length>1?b&&b.length>0?(b.attr("src",n.content),b.css("opacity",n.opacity||.7)):(b=S.default('<img style="width:100%;height:100%" />'),b.attr("src",n.content),b.css("opacity",n.opacity||.7),c.paperBackgroundTarget.append(b)):c.paperBackgroundTarget.empty()}else c.paperBackgroundTarget.empty()},M.prototype.createWaterMark=function(i,n,c){var b=this,Z=Object.assign({},c||{},{id:`${b.templateId}_${b.panelIdx}_${n||1}_${i?"design":b.index}`,watch:i,container:b.target[0]});!Z.container||(Z.content?(i&&Yt.destroyWatermark(Object.assign({},Z,{id:`${b.templateId}_${b.panelIdx}_${n||1}_${b.index}`})),Yt.createWatermark(Z)):Yt.destroyWatermark(Z))},M.prototype.displayHeight=function(){return this.mmheight-I.a.instance.paperHeightTrim+"mm"},M.prototype.displayWidth=function(){return this.mmwidth+"mm"},M.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},M}(),r=f(6),d=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new j(c),b.options.setDefault(new j(I.a.instance.longText.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getDesignTarget=function(n){var c=M.prototype.getDesignTarget.call(this,n);return c.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),c},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var c=this.getData(),b=this.createTarget(this.printElementType.getText(!0),c);return this.updateTargetSize(b),this.css(b,c),b},i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData(),c=this.getHtml(this.designPaper)[0].target;this.designTarget.find(".hiprint-printElement-longText-content").html(c.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.longText},i.prototype.getTitle=function(){return this.options.title||this.printElementType.title},i.prototype.getData=function(n){var c=this.getField(),b=c&&c.split(".").reduce((Z,z)=>Z?Z[z]:n?n[z]:"",!1)||"";return n?b||"":this.options.testData||this.printElementType.getData()||""},i.prototype.updateTargetText=function(n,c,b){var Z=n.find(".hiprint-printElement-longText-content"),z=this.getText(c,b);Z.html(z)},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-longText" style="position: absolute;"><div class="hiprint-printElement-longText-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(b,n,c),b},i.prototype.getText=function(n,c){var b=this.getFormatter();return c&&(c=this.options.leftSpaceRemoved!=0?c.toString().replace(/^\s*/,""):c),(this.getField()?(this.options.getHideTitle()?"":n?n+"\uFF1A":"")+(b?b(n,c,this.options,this._currenttemplateData):c):b?b(n,n,this.options,this._currenttemplateData):n||"")||""},i.prototype.getHtml=function(n,c){this.setCurrenttemplateData(c),this.createTempContainer();var b=this.getPaperHtmlResult(n,c);return this.removeTempContainer(),b},i.prototype.getHeightByData=function(n){this.createTempContainer();var c=this.getPaperHtmlResult(new m("","",void 0,1e3,1e3,0,25e3,0,0,!0,!0,void 0,0,void 0),{},n);return this.removeTempContainer(),c[0].referenceElement.bottomInLastPaper-c[0].referenceElement.printTopInPaper},i.prototype.getLongTextIndent=function(){return this.options.longTextIndent?'<span class="long-text-indent" style="margin-left:'+this.options.longTextIndent+'pt"></span>':'<span class="long-text-indent"></span>'},i.prototype.getPaperHtmlResult=function(n,c,b){var Z=this,z=[],R=0,et=b||this.getData(c),K=this.getText(this.getTitle(),et),nt=this.createTarget(this.getTitle(),this.options.testData||"");this.css(nt,et),c?this.updateTargetWidth(nt):this.updateTargetSize(nt),this.getTempContainer().html(""),this.getTempContainer().append(nt);var X=[this.getLongTextIndent()],rt=K.split(new RegExp(`\r|
|
|
1579
|
+
`,"g"));if(rt.forEach(function(Ct,Ft){var Vt=Z.options.leftSpaceRemoved!=0?(Ct||"").toString().replace(/^\s*/,""):Ct;X=X.concat(Vt.split("")),Ft<rt.length-1&&X.push("<br/>"+Z.getLongTextIndent())}),X.length==0&&(X=[""]),this.isHeaderOrFooter()||this.isFixed()||!c)return(lt=this.getStringBySpecificHeight(X,25e3,nt)).target.css("left",this.options.displayLeft()),lt.target.css("top",this.options.displayTop()),lt.target[0].height="",z.push(new r.a({target:lt.target,printLine:this.options.displayTop()+lt.height,referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:n.index,bottomInLastPaper:this.options.getTop()+lt.height,printTopInPaper:this.options.getTop()})})),z;for(var q=this.getBeginPrintTopInPaperByReferenceElement(n);X.length>0;){var ot=0,ct=n.getPaperFooter(R);R==0&&q>ct&&n.panelPageRule!="none"&&(q=q-ct+n.paperHeader,z.push(new r.a({target:void 0,printLine:void 0})),R++,ot=n.getContentHeight(R)-(q-n.paperHeader),ct=n.getPaperFooter(R));var lt=this.getStringBySpecificHeight(X,ot>0?ot:R==0?ct-q:n.getContentHeight(R),nt);X.splice(0,lt.length);var ft=void 0,wt=void 0;lt.target.css("left",this.options.displayLeft()),lt.target[0].height="",R==0||ot>0?(wt=q,lt.target.css("top",wt+"pt"),ft=X.length>0?q+lt.height:this.options.lHeight!=null?q+(lt.height>this.options.lHeight?lt.height:this.options.lHeight):q+lt.height):(wt=n.paperHeader,lt.target.css("top",wt+"pt"),ft=wt+lt.height),z.push(new r.a({target:lt.target,printLine:ft,referenceElement:new a.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:n.index,bottomInLastPaper:ft,printTopInPaper:wt})})),R++,c&&this.updatePanelHeight(ft+this.options.getHeight(),n)}return z},i.prototype.getStringBySpecificHeight=function(n,c,b){var Z=B.a.pt.toPx(c),z=void 0,R=this.panel.panelPageRule=="none";return R?z=this.IsPaginationIndex(n,n.length,-1,b):z=this.IsPaginationIndex(n,n.length-1,Z,b),z.IsPagination?z:this.BinarySearch(n,0,n.length-1,Z,b)},i.prototype.BinarySearch=function(n,c,b,Z,z){var R=Math.floor((c+b)/2);if(c>b)return z.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:z.clone()};var et=this.IsPaginationIndex(n,R,Z,z);return et.IsPagination?et:et.move=="l"?this.BinarySearch(n,c,R-1,Z,z):this.BinarySearch(n,R+1,b,Z,z)},i.prototype.IsPaginationIndex=function(n,c,b,Z){if(b==-1){Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c).join(""));var R=Z.height();return{IsPagination:!0,height:B.a.px.toPt(R),length:n.length,target:Z.clone()}}Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c+2).join(""));var z=Z.height();Z.find(".hiprint-printElement-longText-content").html(n.slice(0,c+1).join(""));var R=Z.height();return c>=n.length-1&&R<b?{IsPagination:!0,height:B.a.px.toPt(R),length:n.length,target:Z.clone()}:R<=b&&z>=b?{IsPagination:!0,height:R,length:c+1,target:Z.clone()}:R>=b?{IsPagination:!1,move:"l"}:z<=b?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},i}(E.a),h=function(){function M(){}return M.replaceEnterAndNewline=function(i,n){return i.replace(new RegExp(`\r|
|
|
1580
|
+
|/g`,"g"),n)},M.replaceTab=function(i,n){return i.replace(new RegExp(" /g","g"),n)},M.replaceEnterAndNewlineAndTab=function(i,n){return i.replace(new RegExp(`\r|
|
|
1581
|
+
| |/g`,"g"),n)},M}(),P=function(M){function i(n){var c=M.call(this,n)||this;return c.title&&(c.title=h.replaceEnterAndNewlineAndTab(c.title,"")),c}return w(i,M),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},i.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},i.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},i.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},i}(U.a),u=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new P(c),b.options.setDefault(new P(I.a.instance.text.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.getDesignTarget=function(n){return M.prototype.getDesignTarget.call(this,n)},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var c=this.getData(),b=this.createTarget(this.printElementType.getText(!0),c);return this.updateTargetSize(b),this.css(b,c),b},i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetText(this.designTarget,this.getTitle(),n)}},i.prototype.getConfigOptions=function(){return I.a.instance.text},i.prototype.getTitle=function(){var n=this.options.title||this.printElementType.title||"";return n&&(n=h.replaceEnterAndNewlineAndTab(n,"")),n},i.prototype.getData=function(n){var c=void 0,b=this.getField();if(c=n?b&&b.split(".").reduce((z,R)=>z?z[R]:n?n[R]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return B.a.dateFormat(c,this.options.format);if(this.options.dataType=="boolen"){var Z=this.options.format.split(":");if(Z.length>0)return c===!0||c==="true"?Z[0]:Z[1]}}return c},i.prototype.updateTargetText=function(n,c,b,Z,z){var R=this.getFormatter(),et=n.find(".hiprint-printElement-text-content"),K="";K=this.getField()?(this.options.getHideTitle()?"":c?c+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,R?R(c,b,this.options,this._currenttemplateData,n):b):b=hinnn.toUpperCase(this.options.upperCase,R?R(c,c,this.options,this._currenttemplateData,n):c);var nt=this.options.getTextType();if(nt=="text")et.html(K);else{if(nt=="barcode"){et.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{b?(Xt.default(et.find(".hibarcode_imgcode")[0],b,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(B.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),et.find(".hibarcode_imgcode").attr("height","100%"),et.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||et.find(".hibarcode_displayValue").html(b)):et.html("")}catch(ot){console.log(ot),et.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(nt=="qrcode"){et.html("");try{if(b){n.css("line-height",0),et.css("text-align","center");var X=this.options.getWidth()||20,rt=this.options.getHeight()||20,q=S.default("<div></div>").css({width:(X>rt?rt:X)+"pt",height:(X>rt?rt:X)+"pt",display:"inline-block"});new QRCode(q[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(b),et.html(q)}}catch(ot){console.log(ot),et.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},i.prototype.onResize=function(n,c,b,Z,z){M.prototype.onResize.call(this,n,c,b,Z,z),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},i.prototype.createTarget=function(n,c,b){var Z=S.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(Z,n,c,b),Z},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),g=function(M){function i(n){return M.call(this,n)||this}return w(i,M),i}(U.a),A=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new g(c),b.options.setDefault(new g(I.a.instance.html.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n),this.updateTargetHtml()}},i.prototype.updateTargetHtml=function(){var n=this.getFormatter();if(n){var c=n(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(c)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.html.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.html},i.prototype.createTarget=function(n,c){var b=S.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),Z=this.getFormatter();if(Z){var z=Z(this.getData(),this.options,this._currenttemplateData);b.find(".hiprint-printElement-html-content").append(z)}else this.options.content&&b.find(".hiprint-printElement-html-content").append(this.options.content);return b},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),L=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.vline.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.vline},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.vline.showPoints},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),W=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.hline.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return I.a.instance.hline},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.hline.showPoints},i}(E.a),J=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.rect.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.rect.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.rect},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),Y=function(M){function i(n,c){var b=M.call(this,n)||this;return b.options=new U.a(c),b.options.setDefault(new U.a(I.a.instance.oval.default).getPrintElementOptionEntity()),b}return w(i,M),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.oval.showPoints},i.prototype.getConfigOptions=function(){return I.a.instance.oval},i.prototype.createTarget=function(n,c){return S.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},i.prototype.getHtml=function(n,c,b){return this.getHtml2(n,c,b)},i}(E.a),F=function(){function M(){}return M.createPrintElement=function(i,n){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(i.type))return i.type=="text"?new u(i,n):i.type=="image"?new v(i,n):i.type=="longText"?new d(i,n):i.type=="table"?new N.a(i,n):i.type=="html"?new A(i,n):i.type=="vline"?new L(i,n):i.type=="hline"?new W(i,n):i.type=="rect"?new J(i,n):i.type=="oval"?new Y(i,n):void 0;for(var c,b=I.a.instance.getHooks("createPrintElement"),Z=b.length,z=0;z<Z&&(c=b[z].run({Config:I.a.instance,BasePrintElement:E.a,Options:U.a,Supper:w,ele:i,eleOpt:n}),!c);z++);return c?new c(i,n):void 0},M}(),O=function(){function M(i){this.field=i.field,this.fields=i.fields,this.title=i.title,this.text=i.text,this.tid=i.tid,this.data=i.data,this.styler=i.styler,this.formatter=i.formatter,this.type=i.type,this.onRendered=i.onRendered,this.options=i.options}return M.prototype.getText=function(i){return i?this.title||this.text||"":this.text||this.title||""},M.prototype.getData=function(){return this.data},M.prototype.createPrintElement=function(i){var n={};return S.default.extend(n,i||{}),F.createPrintElement(this,n)},M.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M}();f(16);var $=f(12);(function(M){function i(n){var c=M.call(this,n)||this;return(n=n||{}).columns?(c.columns=[],n.columns.forEach(function(b){c.columns.push(new $.a(b))})):c.columns=[new $.a({columns:[new D.a({width:100}),new D.a({width:100})]})],c.lHeight=n.lHeight,c.autoCompletion=n.autoCompletion,c.tableFooterRepeat=n.tableFooterRepeat,c}return w(i,M),i.prototype.getPrintElementOptionEntity=function(){var n=M.prototype.getPrintElementOptionEntity.call(this);return n.fields=this.fields,n.columns=[],this.columns.forEach(function(c){n.columns.push(c.getPrintElementOptionEntity())}),n},i})(U.a);var k=function(M){function i(n){return M.call(this,n)||this}return w(i,M),i.prototype.createPrintElement=function(n){var c={};return S.default.extend(c,n||{}),F.createPrintElement(this,c)},i.prototype.getPrintElementTypeEntity=function(){return new s({title:this.title,type:this.type})},i}(O),it=function(){function M(){}return M.createPrintElementType=function(i){return i.type=i.type||"text",i.type=="text"?new k(i):i.type=="table"?new T(i):new O(i)},M}(),st=function(){function M(){}return M.ElementTypes=p.instance,M.getElementTypeGroups=function(i){var n=M.formatterModule(i);return p.instance[n]||[]},M.getElementType=function(i,n){if(i)return p.instance.getElementType(i);it.createPrintElementType({type:n})},M.build=function(i,n){var c=M.formatterModule(n),b=new H().createPrintElementTypeHtml(i,this.getElementTypeGroups(c));this.enableDrag(b)},M.buildByHtml=function(i){this.enableDrag(i)},M.enableDrag=function(i){i.hidraggable({revert:!0,proxy:function(c){var b=l.a.instance.getDragingPrintElement(),Z=b.printElement.getProxyTarget(b.printElement.printElementType.getOptions());return Z.appendTo("body"),Z.css("z-index","9999"),Z},moveUnit:"pt",minMove:4,onBeforeDrag:function(c){l.a.instance.draging=!0;var b=S.default(c.data.target).attr("tid"),Z=M.getElementType(b,S.default(c.data.target).attr("ptype"));if(!Z)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${b}]`);var z=Z.createPrintElement();if(!z&&Z.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return l.a.instance.setDragingPrintElement(z),!0},onDrag:function(c,b,Z){l.a.instance.getDragingPrintElement().updatePosition(b,Z)},onStopDrag:function(c){l.a.instance.draging=!1}})},M.formatterModule=function(i){return i||"_default"},M}(),pt=function(){return function(M,i){var n=this;this.name=M,this.printElementTypes=[],i.forEach(function(c){n.printElementTypes.push(it.createPrintElementType(c))})}}(),It=function(){return function(M){if(this.index=M.index,this.name=M.name,this.paperType=M.paperType,this.paperType){var i=l.a.instance[this.paperType];M.height?(this.height=M.height,this.width=M.width):(this.height=i.height,this.width=i.width)}else this.height=M.height,this.width=M.width;this.paperHeader=M.paperHeader||0,this.paperFooter=M.paperFooter||B.a.mm.toPt(this.height),this.printElements=M.printElements||[],this.paperNumberLeft=M.paperNumberLeft,this.paperNumberTop=M.paperNumberTop,this.paperNumberDisabled=M.paperNumberDisabled,this.paperNumberContinue=M.paperNumberContinue,this.paperNumberFormat=M.paperNumberFormat,this.backgroundColor=M.backgroundColor,this.panelPaperRule=M.panelPaperRule,this.panelPageRule=M.panelPageRule,this.rotate=M.rotate||void 0,this.firstPaperFooter=M.firstPaperFooter,this.evenPaperFooter=M.evenPaperFooter,this.oddPaperFooter=M.oddPaperFooter,this.lastPaperFooter=M.lastPaperFooter,this.topOffset=M.topOffset,this.fontFamily=M.fontFamily,this.leftOffset=M.leftOffset,this.orient=M.orient,this.overPrintOptions=M.overPrintOptions,this.watermarkOptions=M.watermarkOptions,this.scale=M.scale}}(),bt=function(){function M(i,n,c,b){this.bx=i,this.by=n,this.ex=i,this.ey=n,this.startX=this.minX=i,this.startY=this.minY=n,this.maxX=i,this.maxY=n,this.lastLeft=c,this.lastTop=b}return M.prototype.updateRect=function(i,n){this.ex=i,this.ey=n,this.minX=this.startX<i?this.startX:i,this.minY=this.startY<n?this.startY:n,this.maxX=this.startX<i?i:this.startX,this.maxY=this.startY<n?n:this.startY},M.prototype.updatePositionByMultipleSelect=function(i,n){i!=null&&(this.lastLeft=this.lastLeft+i),n!=null&&(this.lastTop=this.lastTop+n),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},M}(),vt=function(){function M(i,n){this.templateId=n,this.index=i.index,this.name=i.name,this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.initPrintElements(i.printElements),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue==null?!0:i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.backgroundColor=i.backgroundColor,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.fontFamily=i.fontFamily,this.orient=i.orient,this.target=this.createTarget(),this.rotate=i.rotate,this.overPrintOptions=i.overPrintOptions||{},this.watermarkOptions=i.watermarkOptions||{},this.scale=i.scale}return M.prototype.design=function(i){var n=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(i),this.designPaper.subscribePaperBaseInfoChanged(function(c){n.paperHeader=c.paperHeader,n.paperFooter=c.paperFooter,n.paperNumberLeft=c.paperNumberLeft,n.paperNumberTop=c.paperNumberTop,n.paperNumberDisabled=c.paperNumberDisabled,n.paperNumberFormat=c.paperNumberFormat,n.backgroundColor=c.backgroundColor}),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),this.target.bind("click.hiprint",function(c){let b={paperList:{type:n.paperType,width:n.width,height:n.height},panelPaperRule:n.panelPaperRule,panelPageRule:n.panelPageRule,firstPaperFooter:n.firstPaperFooter,evenPaperFooter:n.evenPaperFooter,oddPaperFooter:n.oddPaperFooter,lastPaperFooter:n.lastPaperFooter,leftOffset:n.leftOffset,topOffset:n.topOffset,fontFamily:n.fontFamily,orient:n.orient,paperDirections:void 0,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue,paperNumberFormat:n.paperNumberFormat,backgroundColor:n.backgroundColor,overPrintOptions:n.overPrintOptions||{},watermarkOptions:n.watermarkOptions||{}};I.a.instance.paperNumberContinue||delete b.paperNumberContinue,B.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:b,callback:function(z){z.paperList&&n.resize(z.paperList.type,z.paperList.width,z.paperList.height,!1),n.overPrintOptions=n.designPaper.overPrintOptions=z.overPrintOptions||void 0,n.watermarkOptions=n.designPaper.watermarkOptions=z.watermarkOptions||void 0,n.panelPaperRule=z.panelPaperRule,n.panelPageRule=z.panelPageRule,n.firstPaperFooter=z.firstPaperFooter,n.evenPaperFooter=z.evenPaperFooter,n.oddPaperFooter=z.oddPaperFooter,n.lastPaperFooter=z.lastPaperFooter,n.leftOffset=z.leftOffset,n.topOffset=z.topOffset,n.fontFamily=z.fontFamily,n.orient=z.orient,n.paperNumberDisabled=n.designPaper.paperNumberDisabled=!!z.paperNumberDisabled||void 0,n.paperNumberContinue=n.designPaper.paperNumberContinue=z.paperNumberContinue,n.paperNumberFormat=z.paperNumberFormat,n.designPaper.paperNumberFormat=z.paperNumberFormat,n.backgroundColor=z.backgroundColor,n.designPaper.backgroundColor=z.backgroundColor,z.paperNumberFormat&&(n.designPaper.paperNumberTarget=n.designPaper.createPaperNumber(n.designPaper.formatPaperNumber(1,1),!0)),n.designPaper.setOffset(n.leftOffset,n.topOffset),n.css(n.target),n.designPaper.resetPaperNumber(n.designPaper.paperNumberTarget),n.designPaper.triggerOnPaperBaseInfoChanged(),z.overPrintOptions&&n.designPaper.createOverPrintOptions(!0,z.overPrintOptions),z.watermarkOptions&&n.designPaper.createWaterMark(!0,1,z.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},M.prototype.update=function(i){try{var n=this;this.index=i.index||0,this.name=i.name||"",this.width=i.width,this.height=i.height,this.paperType=i.paperType,this.paperHeader=i.paperHeader,this.paperFooter=i.paperFooter,this.designPaper.width=B.a.mm.toPt(i.width),this.designPaper.height=B.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=i.height,this.designPaper.mmwidth=i.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",i.height-I.a.instance.paperHeightTrim+"mm"),this.overPrintOptions=i.overPrintOptions||{},this.designPaper.createOverPrintOptions(!0,this.overPrintOptions),this.watermarkOptions=i.watermarkOptions||{},this.designPaper.createWaterMark(!0,this.index,this.watermarkOptions),this.paperNumberLeft=i.paperNumberLeft,this.paperNumberTop=i.paperNumberTop,this.paperNumberDisabled=i.paperNumberDisabled,this.paperNumberContinue=i.paperNumberContinue,this.paperNumberFormat=i.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberContinue=this.paperNumberContinue,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.backgroundColor=i.backgroundColor,i.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",i.backgroundColor),this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=i.fontFamily,this.orient=i.orient,this.rotate=i.rotate,this.scale=i.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=n.designPaper.scale||this.scale,this.panelPaperRule=i.panelPaperRule,this.panelPageRule=i.panelPageRule,this.firstPaperFooter=i.firstPaperFooter,this.evenPaperFooter=i.evenPaperFooter,this.oddPaperFooter=i.oddPaperFooter,this.lastPaperFooter=i.lastPaperFooter,this.topOffset=i.topOffset,this.leftOffset=i.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",i.width+"mm"),this.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",i.height),this.target.parent().css("width",i.width+"mm"),this.target.parent().css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",i.width+"mm"),this.designPaper.target.css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("width",i.width+"mm"),this.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",i.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",i.height),this.zoom(this.scale),this.printElements.forEach(function(c){c.designTarget&&c.designTarget.length&&c.designTarget.remove()}),this.printElements=[],this.initPrintElements(i.printElements),this.printElements.forEach(function(c){n.appendDesignPrintElement(n.designPaper,c),c.design(i,n.designPaper)}),B.a.event.trigger("hiprintTemplateUpdate_"+n.templateId)}catch(c){throw console.log("update error: "),console.log(c),new Error(`update error: ${c}`)}},M.prototype.bindShortcutKeyEvent=function(){var i=this;S.default(document).keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==90&&(n.shiftKey?B.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"redo"):B.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"undo"),n.preventDefault());var c=I.a.instance.getHooks("documentShortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},M.prototype.copyJson=function(i){var n=[];try{var c=this,b=S.default("#copyArea");b.length||(b=S.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),S.default("body").append(b)),n=c.getSelectEls();var Z=[];n.forEach(function(R){Z.push({options:R.options,printElementType:R.printElementType,id:R.id,templateId:R.templateId,cut:i||!1})});var z=JSON.stringify(Z);b.text(z),b.css("visibility","visible"),b.focus(),b.setSelectionRange?b.setSelectionRange(0,b.value.length):b.select(),document.execCommand("copy"),b.css("visibility","hidden"),c.designPaper.target.trigger(S.default.Event("click")),c.designPaper.target.focus(),console.log("copyJson success")}catch(R){n=[],console.log("copyJson error",R)}return n},M.prototype.cutJson=function(){try{var i=this,n=i.copyJson(!0);n&&n.forEach(function(c){i.deletePrintElement(c)})}catch(c){console.log("cutJson error",c)}},M.prototype.getSelectEls=function(){var i=this,n=[];return i.mouseRect&&i.mouseRect.target&&S.default(".mouseRect").length?n=i.getElementInRect(i.mouseRect):n=i.printElements.filter(function(c){return c.designTarget.children().last().css("display")=="block"&&!c.printElementType.type.includes("table")}),n},M.prototype.bingPasteEvent=function(){var i=this;i.designPaper.target.attr("tabindex","1"),i.designPaper.target.keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==86&&(i.pasteJson(n),n.preventDefault());var c=I.a.instance.getHooks("shortcutKeys");c&&c.forEach(b=>{b.run({panel:i,event:n})})}})},M.prototype.canPaste=function(i){var n=S.default("#copyArea");if(!n.length)return!1;var c=n.text(),b=JSON.parse(c);return Array.isArray(b)?b.some(function(Z){return Z.printElementType&&Z.templateId}):!!(b.printElementType&&b.templateId)},M.prototype.pasteJson=function(i){var n=S.default("#copyArea");if(!!n.length)try{var c=this,b=n.text(),Z=JSON.parse(b),z=!1;Array.isArray(Z)?(z=Z.some(function(R){return R.cut==!0}),Z.forEach(function(R){c.pasteByJson(R,i)})):(z=Z.cut,c.pasteByJson(Z,i)),z&&S.default("#copyArea").text("{}")}catch(R){console.error("pasteJson error",R)}},M.prototype.pasteByJson=function(i,n){if(!(!i.printElementType&&!i.templateId)){var c=this,b=i.options,Z=it.createPrintElementType(i.printElementType),z=Z.createPrintElement(b);if(!!z){var R=n&&n.currentTarget?!0:n,et=R?c.mouseOffsetX&&B.a.px.toPt(c.mouseOffsetX):b.left+=10,K=R?c.mouseOffsetY&&B.a.px.toPt(c.mouseOffsetY):b.top+=10;R||(z.options.setLeft(et),z.options.setTop(K)),z.setTemplateId(c.templateId),z.setPanel(c),c.appendDesignPrintElement(c.designPaper,z,!1),c.printElements.push(z),z.design(void 0,c.designPaper),console.log("pasteJson success"),B.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,i.cut?"\u526A\u5207":"\u590D\u5236"),z.designTarget.trigger(S.default.Event("click"))}}},M.prototype.css=function(i){this.fontFamily?i.css("fontFamily",this.fontFamily):i[0].style.fontFamily="",this.backgroundColor?i.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor):i[0].style.backgroundColor=""},M.prototype.getConfig=function(){return I.a.instance},M.prototype.getHtml=function(i,n,c,b,Z){var z=this;this.orderPrintElements();let R=z.getConfig();var et,K=c||[],nt=b||this,X=void 0;return b?(X=K[K.length-1],et=X.getPanelTarget(),X.updateReferenceElement(new a.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:X.referenceElement.bottomInLastPaper,beginPrintPaperIndex:K.length-1,printTopInPaper:X.referenceElement.bottomInLastPaper,endPrintPaperIndex:K.length-1}))):(et=nt.createTarget(),X=nt.createNewPage(K.length),K.push(X),et.append(X.getTarget())),this.printElements.filter(function(rt){return!rt.isFixed()&&!rt.isHeaderOrFooter()}).forEach(function(rt){var q=[],ot=K[K.length-1];ot.referenceElement.isPositionLeftOrRight(rt.options.getTop())?X=K[ot.referenceElement.beginPrintPaperIndex]:X=K[ot.referenceElement.endPrintPaperIndex],q=rt.getHtml(X,i),q.forEach(function(ct,lt){ct.referenceElement&&(ct.referenceElement.endPrintPaperIndex=ct.referenceElement.beginPrintPaperIndex+q.length-1),lt>0&&(X.index<K.length-1?X=K[X.index+1]:(X=nt.createNewPage(K.length,X.referenceElement),K.push(X)),et.append(X.getTarget())),ct.target&&(rt.options.showInPage!="none"&&X.append(ct.target),X.updatePrintLine(ct.printLine),rt.onRendered(X,ct.target)),lt==q.length-1&&ct.referenceElement&&X.updateReferenceElement(ct.referenceElement)})}),Z&&Z.templates.forEach(function(rt,q){var ot=rt.data||{},ct=rt.options||{};rt.template.printPanels.forEach(function(lt){lt.getHtml(ot,ct,c,z)})}),R.paperNumberContinue&&(z.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...K]:hinnn._paperList=[...K]),b||(this.lastPaperFooter&&K[K.length-1].printLine>this.lastPaperFooter&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&K.length%2==0&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget())),this.panelPaperRule=="even"&&K.length%2==1&&(X=nt.createNewPage(K.length,X.referenceElement),K.push(X),et.append(X.getTarget()))),K.forEach(function(rt){rt.updatePaperNumber(rt.index+1,K.length,n.paperNumberToggleInEven),z.fillPaperHeaderAndFooter(rt,i,K.length),n&&(n.leftOffset!=null&&rt.setLeftOffset(n.leftOffset),n.topOffset!=null&&rt.setTopOffset(n.topOffset))}),et.prepend(this.getPrintStyle()),R.paperNumberContinue&&hinnn._paperList.forEach(function(rt,q){rt.updatePaperNumber(q+1,hinnn._paperList.length)})),et},M.prototype.resize=function(i,n,c,b){this.width=n,this.height=c,this.paperType=i,this.rotate=b,this.designPaper.resize(n,c)},M.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},M.prototype.zoom=function(i,n){n?this.scale=i:this.scale=void 0,this.designPaper.zoom(i)},M.prototype.getTarget=function(){return this.target},M.prototype.enable=function(){this.target.removeClass("hipanel-disable")},M.prototype.disable=function(){this.target.addClass("hipanel-disable")},M.prototype.getPanelEntity=function(i){var n=[];return this.printElements.forEach(function(c){n.push(c.getPrintElementEntity(i))}),new It({index:this.index,name:this.name||this.index+1,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberContinue:this.paperNumberContinue==null?!0:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,backgroundColor:this.backgroundColor?this.backgroundColor:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:n,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,overPrintOptions:this.overPrintOptions?this.overPrintOptions:void 0,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},M.prototype.createTarget=function(){var i=S.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(i),i},M.prototype.droppablePaper=function(i){var n=this;i.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(b,Z){var z=l.a.instance.getDragingPrintElement(),R=z.printElement,et=n.designPaper.scale||1,K=(z.left-B.a.px.toPt(n.target.children(".hiprint-printPaper").offset().left))/et,nt=(z.top-B.a.px.toPt(n.target.children(".hiprint-printPaper").offset().top))/et;R.updateSizeAndPositionOptions(n.mathroundToporleft(K),n.mathroundToporleft(nt)),R.setTemplateId(n.templateId),R.setPanel(n),n.appendDesignPrintElement(n.designPaper,R,!0),n.printElements.push(R),R.design(void 0,i),B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u65B0\u589E")}})},M.prototype.initPrintElements=function(i){var n=this;this.printElements=[],i&&i.forEach(function(c){var b;if(b=c.printElementType?it.createPrintElementType(c.printElementType):p.instance.getElementType(c.tid)){var Z=b.createPrintElement(c.options);Z.setTemplateId(n.templateId),Z.setPanel(n),n.printElements.push(Z)}else console.log("miss "+JSON.stringify(i))})},M.prototype.mathroundToporleft=function(i){var n=I.a.instance.movingDistance;return Math.round(i/n)*n},M.prototype.appendDesignPrintElement=function(i,n,c){n.setCurrenttemplateData(void 0);var b=n.getDesignTarget(i);b.addClass("design"),c&&n.initSizeByHtml(b),i.append(b)},M.prototype.createNewPage=function(i,n){var c=new m(this.templateId,this.index,this.overPrintOptions,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberContinue,this.paperNumberFormat,this.backgroundColor,i,n);return c.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),c.setOffset(this.leftOffset,this.topOffset),c},M.prototype.orderPrintElements=function(){this.printElements=B.a.orderBy(this.printElements,function(i){return i.options.getLeft()}),this.printElements=B.a.orderBy(this.printElements,function(i){return i.options.getTop()})},M.prototype.fillPaperHeaderAndFooter=function(i,n,c){this.printElements.filter(function(b){return b.isFixed()||b.isHeaderOrFooter()}).forEach(function(b){if(b.isFixed(),b.showInPage(i.index,c)){var Z=b.getHtml(i,n);Z.length&&i.append(Z[0].target)}})},M.prototype.clear=function(){this.printElements.forEach(function(i){i.designTarget&&i.designTarget.length&&i.designTarget.remove()}),this.printElements=[],B.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},M.prototype.insertPrintElementToPanel=function(i){var n=this.getPrintElementTypeByEntity(i);if(n){var c=n.createPrintElement(i.options);c.setTemplateId(this.templateId),c.setPanel(this),this.printElements.push(c)}},M.prototype.addPrintText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="text",this.insertPrintElementToPanel(i)},M.prototype.addPrintHtml=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="html",this.insertPrintElementToPanel(i)},M.prototype.addPrintTable=function(i){if(i.printElementType=i.printElementType||{},i.printElementType.type="table",i.options&&i.options.columns){var n=S.default.extend({},i.options.columns);i.printElementType.columns=n.columns,n.columns=void 0}this.insertPrintElementToPanel(i)},M.prototype.addPrintImage=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="image",this.insertPrintElementToPanel(i)},M.prototype.addPrintLongText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="longText",this.insertPrintElementToPanel(i)},M.prototype.addPrintVline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="vline",this.insertPrintElementToPanel(i)},M.prototype.addPrintHline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="hline",this.insertPrintElementToPanel(i)},M.prototype.addPrintRect=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="rect",this.insertPrintElementToPanel(i)},M.prototype.addPrintOval=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="oval",this.insertPrintElementToPanel(i)},M.prototype.getPrintElementTypeByEntity=function(i){var n;return(n=i.tid?p.instance.getElementType(i.tid):it.createPrintElementType(i.printElementType))||console.log("miss "+JSON.stringify(i)),n},M.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1582
1582
|
@page
|
|
1583
1583
|
{
|
|
1584
1584
|
border:0;
|
|
@@ -1587,15 +1587,15 @@
|
|
|
1587
1587
|
`+this.getPrintSizeStyle()+`
|
|
1588
1588
|
}
|
|
1589
1589
|
</style>
|
|
1590
|
-
`},y.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":"")+";"},y.prototype.deletePrintElement=function(i){var n=this;this.printElements.filter(function(c,b){c.id==i.id&&(i.delete(),n.printElements.splice(b,1),U.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u5220\u9664"))})},y.prototype.getElementByTid=function(i){return this.printElements.filter(function(n){return n.printElementType.tid===i}).map(function(n,c){return n})},y.prototype.getElementByName=function(i){return this.printElements.filter(function(n){return n.options.name===i}).map(function(n,c){return n})},y.prototype.getElementById=function(i){return this.printElements.find(function(n){return n.id===i})},y.prototype.getFieldsInPanel=function(){var i=[];return this.printElements.forEach(function(n){n.options&&n.options.field?i.push(n.options.field):n.printElementType.field&&i.push(n.printElementType.field)}),i},y.prototype.getTestData=function(){var i={};return this.printElements.forEach(function(n){n.printElementType.type!="table"&&(n.options&&n.options.field?i[n.options.field]=n.options.testData:n.printElementType.field&&(i[n.printElementType.field]=n.printElementType.data||n.options.testData))}),i},y.prototype.bindBatchMoveElement=function(){var i=this;this.designPaper.getTarget().on("mousemove",function(n){n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing")||(n.currentTarget.className==i.designPaper.target[0].className?(i.mouseOffsetX=n.offsetX,i.mouseOffsetY=n.offsetY):i.mouseOffsetX=i.mouseOffsetY=void 0,l.a.instance.draging||n.buttons===1&&l.a.instance.rectDraging&&i.mouseRect&&(i.mouseRect.updateRect(n.pageX,n.pageY),i.updateRectPanel(i.mouseRect)))}).on("mousedown",function(n){l.a.instance.rectDraging=!0,!(n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing"))&&(l.a.instance.draging||(i.mouseRect&&i.mouseRect.target&&i.mouseRect.target.remove(),n.buttons===1&&l.a.instance.rectDraging&&(Tt(n.target.className)=="string"&&n.target.className.includes("hiprint-printPaper hidroppable design")||n.target.className.includes("hiprint-printPaper-content"))&&(i.mouseRect=new bt(n.pageX,n.pageY,l.a.instance.dragLengthCNum(n.pageX-i.designPaper.getTarget().offset().left,I.a.instance.movingDistance),l.a.instance.dragLengthCNum(n.pageY-i.designPaper.getTarget().offset().top,I.a.instance.movingDistance)))))}).on("mouseup",function(n){l.a.instance.rectDraging&&i.mouseRect&&j.default(".mouseRect").length&&(j.default(".mouseRect").height()>10||j.default(".mouseRect").width()>10)&&setTimeout(function(){U.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300),l.a.instance.rectDraging=!1}).on("click",function(n){setTimeout(function(){U.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300)})},y.prototype.getElementInRect=function(i){var n=[];return this.printElements.filter(function(c){return c.options.draggable!==!1}).forEach(function(c){c.inRect(i)&&n.push(c)}),n},y.prototype.updateRectPanel=function(i){var n=this,c=this.designPaper.getTarget(),b=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=j.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),c.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(et,K,nt){n.mouseRect.lastLeft=n.mouseRect.lastLeft?U.a.px.toPt(n.mouseRect.target[0].offsetLeft):K/b,n.mouseRect.lastTop=n.mouseRect.lastTop?U.a.px.toPt(n.mouseRect.target[0].offsetTop):nt/b,(n.mouseRect.mouseRectSelectedElement||[]).forEach(function(X){X.updatePositionByMultipleSelect(K-n.mouseRect.lastLeft,nt-n.mouseRect.lastTop)}),n.mouseRect.lastLeft=K/b,n.mouseRect.lastTop=nt/b,l.a.instance.changed=!0},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(et){n.mouseRect.target.focus(),l.a.instance.draging=!0,n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect)),n.mouseRect.target.css({transform:"unset"})},getScale:function(){return n.designPaper.scale||1},onStopDrag:function(et){l.a.instance.changed&&U.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,"\u6846\u9009\u79FB\u52A8"),l.a.instance.draging=!1,l.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(n.getContextMenuList())),i.ex>=i.bx&&i.ey>=i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"unset"});else if(i.ex<i.bx&&i.ey<i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var Z="",z="rotate(180deg)";i.startX==i.minX||i.startX==i.maxX?i.ey>=i.by?(z="scaleX(-1)",Z="left"):Z="center top":(i.startY==i.minY||i.startY==i.maxY)&&(Z=i.ex>=i.bx?"right":"left"),this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:z,"transform-origin":Z})}i.target.focus()},y.prototype.getContextMenuList=function(i){var n=this,c=l.a.instance.getPrintTemplateById(this.templateId);return{panel:n,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){n.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){n.copyJson(),n.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){n.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){var Z=n.getSelectEls();Z.forEach(z=>{n.deletePrintElement(z)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){c.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u5BBD",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.width;Z.forEach(R=>{R.updateOption("widthHeight",{width:z},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u9AD8",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.height;Z.forEach(R=>{R.updateOption("widthHeight",{height:z},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){i.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)+1;i.updateOption("zIndex",Z)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)-1;i.updateOption("zIndex",Z)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return n.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){i.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return n.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){i.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){i.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){i.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){i.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){i.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","bottom")}}]}]}},y.prototype.bingKeyboardMoveEvent=function(i){var n=this;i.attr("tabindex","1"),i.keydown(function(c){n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect));var b=n.mouseRect.mouseRectSelectedElement||[];switch(c.keyCode){case 8:case 46:b.forEach(function(Z){n.deletePrintElement(Z)}),U.a.event.trigger("clearSettingContainer");break;case 37:n.mouseRect.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0)}),c.preventDefault();break;case 38:n.mouseRect.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance)}),c.preventDefault();break;case 39:n.mouseRect.updatePositionByMultipleSelect(I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(I.a.instance.movingDistance,0)}),c.preventDefault();break;case 40:n.mouseRect.updatePositionByMultipleSelect(0,I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,I.a.instance.movingDistance)}),c.preventDefault()}[37,38,39,40].includes(c.keyCode)&&U.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u6846\u9009\u79FB\u52A8")})},y}(),ht=function(){return function(y){if(y)if(y.panels){this.panels=[];for(var i=0;i<y.panels.length;i++)this.panels.push(new ct(y.panels[i]))}else this.panels=[]}}(),Mt=m(9),ft=function(){function y(i,n){var c=this;this.printElementOptionSettingPanel={},this.printTemplate=i,this.settingContainer=j.default(n),U.a.event.on(i.getPrintElementSelectEventKey(),function(b){c.buildSetting(b)}),U.a.event.on(i.getBuildCustomOptionSettingEventKey(),function(b){c.buildSettingByCustomOptions(b)}),U.a.event.on("clearSettingContainer",function(){c.clearSettingContainer()})}return y.prototype.init=function(){},y.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},y.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(i){i.list&&i.list.forEach(function(n){n.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(i){i.destroy()})),this.lastPrintElement=void 0},y.prototype.buildSetting=function(i){var n=this,c=this,b=i.printElement,Z=i.customOptionsInput,z=b.getPrintElementOptionTabs();n.clearSettingContainer();var R;z.length?(R=j.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),z.forEach(function(X){var rt=j.default('<li class="prop-tab-item"><span class="tab-title">'+X.name+"</span></li>");R.find(".prop-tab-items").append(rt);var q=j.default('<div class="hiprint-option-items" data-title="'+X.name+'"></div>');X.list.forEach(function(ot){ot.submit=function(lt){b.submitOption()};var It=ot.createTarget(b,b.options,b.printElementType);n.printElementOptionSettingPanel[ot.name]=It,q.append(It),["columns","dataType"].includes(ot.name)?ot.setValue(b.options[ot.name],b.options,b.printElementType):["coordinate","widthHeight"].includes(ot.name)?ot.setValue(b.options,b):ot.setValue(b.options[ot.name]||b.printElementType[ot.name]),It.find("textarea").bind("click.textarea",function(lt){n.printTemplate&&n.printTemplate.onFunctionClick&&n.printTemplate.onFunctionClick(ot,n.lastPrintElement,lt)})}),X.list.length==0&&Z&&Z.length&&Z.forEach(function(ot){var It=ot.callback;ot.callback=function(mt){It&&It(mt)};var lt=ot.optionItems;ot.title&&q.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1590
|
+
`},M.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},M.prototype.deletePrintElement=function(i){var n=this;this.printElements.filter(function(c,b){c.id==i.id&&(i.delete(),n.printElements.splice(b,1),B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u5220\u9664"))})},M.prototype.getElementByTid=function(i){return this.printElements.filter(function(n){return n.printElementType.tid===i}).map(function(n,c){return n})},M.prototype.getElementByName=function(i){return this.printElements.filter(function(n){return n.options.name===i}).map(function(n,c){return n})},M.prototype.getElementById=function(i){return this.printElements.find(function(n){return n.id===i})},M.prototype.getFieldsInPanel=function(){var i=[];return this.printElements.forEach(function(n){n.options&&n.options.field?i.push(n.options.field):n.printElementType.field&&i.push(n.printElementType.field)}),i},M.prototype.getTestData=function(){var i={};return this.printElements.forEach(function(n){n.printElementType.type!="table"&&(n.options&&n.options.field?i[n.options.field]=n.options.testData:n.printElementType.field&&(i[n.printElementType.field]=n.printElementType.data||n.options.testData))}),i},M.prototype.bindBatchMoveElement=function(){var i=this;this.designPaper.getTarget().on("mousemove",function(n){n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing")||(n.currentTarget.className==i.designPaper.target[0].className?(i.mouseOffsetX=n.offsetX,i.mouseOffsetY=n.offsetY):i.mouseOffsetX=i.mouseOffsetY=void 0,l.a.instance.draging||n.buttons===1&&l.a.instance.rectDraging&&i.mouseRect&&(i.mouseRect.updateRect(n.pageX,n.pageY),i.updateRectPanel(i.mouseRect)))}).on("mousedown",function(n){l.a.instance.rectDraging=!0,!(n.target.className&&Tt(n.target.className)=="string"&&n.target.className.includes("editing"))&&(l.a.instance.draging||(i.mouseRect&&i.mouseRect.target&&i.mouseRect.target.remove(),n.buttons===1&&l.a.instance.rectDraging&&(Tt(n.target.className)=="string"&&n.target.className.includes("hiprint-printPaper hidroppable design")||n.target.className.includes("hiprint-printPaper-content"))&&(i.mouseRect=new bt(n.pageX,n.pageY,l.a.instance.dragLengthCNum(n.pageX-i.designPaper.getTarget().offset().left,I.a.instance.movingDistance),l.a.instance.dragLengthCNum(n.pageY-i.designPaper.getTarget().offset().top,I.a.instance.movingDistance)))))}).on("mouseup",function(n){l.a.instance.rectDraging&&i.mouseRect&&S.default(".mouseRect").length&&(S.default(".mouseRect").height()>10||S.default(".mouseRect").width()>10)&&setTimeout(function(){B.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300),l.a.instance.rectDraging=!1}).on("click",function(n){setTimeout(function(){B.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300)})},M.prototype.getElementInRect=function(i){var n=[];return this.printElements.filter(function(c){return c.options.draggable!==!1}).forEach(function(c){c.inRect(i)&&n.push(c)}),n},M.prototype.updateRectPanel=function(i){var n=this,c=this.designPaper.getTarget(),b=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=S.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),c.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(et,K,nt){n.mouseRect.lastLeft=n.mouseRect.lastLeft?B.a.px.toPt(n.mouseRect.target[0].offsetLeft):K/b,n.mouseRect.lastTop=n.mouseRect.lastTop?B.a.px.toPt(n.mouseRect.target[0].offsetTop):nt/b,(n.mouseRect.mouseRectSelectedElement||[]).forEach(function(X){X.updatePositionByMultipleSelect(K-n.mouseRect.lastLeft,nt-n.mouseRect.lastTop)}),n.mouseRect.lastLeft=K/b,n.mouseRect.lastTop=nt/b,l.a.instance.changed=!0},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(et){n.mouseRect.target.focus(),l.a.instance.draging=!0,n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect)),n.mouseRect.target.css({transform:"unset"})},getScale:function(){return n.designPaper.scale||1},onStopDrag:function(et){l.a.instance.changed&&B.a.event.trigger("hiprintTemplateDataChanged_"+c.templateId,"\u6846\u9009\u79FB\u52A8"),l.a.instance.draging=!1,l.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(n.getContextMenuList())),i.ex>=i.bx&&i.ey>=i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"unset"});else if(i.ex<i.bx&&i.ey<i.by)this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var Z="",z="rotate(180deg)";i.startX==i.minX||i.startX==i.maxX?i.ey>=i.by?(z="scaleX(-1)",Z="left"):Z="center top":(i.startY==i.minY||i.startY==i.maxY)&&(Z=i.ex>=i.bx?"right":"left"),this.mouseRect.target.css({height:i.maxY-i.minY+"px",width:i.maxX-i.minX+"px",left:i.lastLeft/b+"pt",top:i.lastTop/b+"pt",transform:z,"transform-origin":Z})}i.target.focus()},M.prototype.getContextMenuList=function(i){var n=this,c=l.a.instance.getPrintTemplateById(this.templateId);return{panel:n,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){n.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){n.copyJson(),n.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){n.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){var Z=n.getSelectEls();Z.forEach(z=>{n.deletePrintElement(z)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){c.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){c.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u5BBD",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.width;Z.forEach(R=>{R.updateOption("widthHeight",{width:z},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u9AD8",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var Z=n.getSelectEls(),z=Z[0].options.height;Z.forEach(R=>{R.updateOption("widthHeight",{height:z},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){i.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)+1;i.updateOption("zIndex",Z)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(i.options.zIndex||1)-1;i.updateOption("zIndex",Z)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return n.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){i.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return n.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){i.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){i.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){i.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){i.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){i.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){i.updateOption("textContentVerticalAlign","bottom")}}]}]}},M.prototype.bingKeyboardMoveEvent=function(i){var n=this;i.attr("tabindex","1"),i.keydown(function(c){n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect));var b=n.mouseRect.mouseRectSelectedElement||[];switch(c.keyCode){case 8:case 46:b.forEach(function(Z){n.deletePrintElement(Z)}),B.a.event.trigger("clearSettingContainer");break;case 37:n.mouseRect.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0)}),c.preventDefault();break;case 38:n.mouseRect.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance)}),c.preventDefault();break;case 39:n.mouseRect.updatePositionByMultipleSelect(I.a.instance.movingDistance,0),b.forEach(function(Z){Z.updatePositionByMultipleSelect(I.a.instance.movingDistance,0)}),c.preventDefault();break;case 40:n.mouseRect.updatePositionByMultipleSelect(0,I.a.instance.movingDistance),b.forEach(function(Z){Z.updatePositionByMultipleSelect(0,I.a.instance.movingDistance)}),c.preventDefault()}[37,38,39,40].includes(c.keyCode)&&B.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u6846\u9009\u79FB\u52A8")})},M}(),dt=function(){return function(M){if(M)if(M.panels){this.panels=[];for(var i=0;i<M.panels.length;i++)this.panels.push(new It(M.panels[i]))}else this.panels=[]}}(),yt=f(9),mt=function(){function M(i,n){var c=this;this.printElementOptionSettingPanel={},this.printTemplate=i,this.settingContainer=S.default(n),B.a.event.on(i.getPrintElementSelectEventKey(),function(b){c.buildSetting(b)}),B.a.event.on(i.getBuildCustomOptionSettingEventKey(),function(b){c.buildSettingByCustomOptions(b)}),B.a.event.on("clearSettingContainer",function(){c.clearSettingContainer()})}return M.prototype.init=function(){},M.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},M.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(i){i.list&&i.list.forEach(function(n){n.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(i){i.destroy()})),this.lastPrintElement=void 0},M.prototype.buildSetting=function(i){var n=this,c=this,b=i.printElement,Z=i.customOptionsInput,z=b.getPrintElementOptionTabs();n.clearSettingContainer();var R;z.length?(R=S.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),z.forEach(function(X){var rt=S.default('<li class="prop-tab-item"><span class="tab-title">'+X.name+"</span></li>");R.find(".prop-tab-items").append(rt);var q=S.default('<div class="hiprint-option-items" data-title="'+X.name+'"></div>');X.list.forEach(function(ot){ot.submit=function(lt){b.submitOption()};var ct=ot.createTarget(b,b.options,b.printElementType);n.printElementOptionSettingPanel[ot.name]=ct,q.append(ct),["columns","dataType"].includes(ot.name)?ot.setValue(b.options[ot.name],b.options,b.printElementType):["coordinate","widthHeight"].includes(ot.name)?ot.setValue(b.options,b):ot.setValue(b.options[ot.name]||b.printElementType[ot.name]),ct.find("textarea").bind("click.textarea",function(lt){n.printTemplate&&n.printTemplate.onFunctionClick&&n.printTemplate.onFunctionClick(ot,n.lastPrintElement,lt)})}),X.list.length==0&&Z&&Z.length&&Z.forEach(function(ot){var ct=ot.callback;ot.callback=function(ft){ct&&ct(ft)};var lt=ot.optionItems;ot.title&&q.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1591
1591
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1592
1592
|
`+ot.title+`
|
|
1593
1593
|
</div>
|
|
1594
|
-
</div>`),lt.forEach(function(
|
|
1595
|
-
type="button">\u786E\u5B9A</button>`),K=
|
|
1596
|
-
type="button">\u5220\u9664</button>`);if(R.append(et),b.options.draggable!=!1&&R.append(K),z.length){R.on("click",".prop-tab-item",function(){var X=
|
|
1594
|
+
</div>`),lt.forEach(function(ft){ft.submit=function(Ct){ot.callback(c.getValueByOptionItems(lt))};var wt=ft.createTarget(c.printTemplate,ot.options,b);q.append(wt),ft.name=="columnField"?ft.setValue(ot.options.field,ot.options,void 0):ft.setValue(ot.options[ft.name],ot.options,void 0),wt.find("textarea").bind("click.textarea",function(Ct){c.printTemplate&&c.printTemplate.onFunctionClick&&c.printTemplate.onFunctionClick(ft,c.lastPrintElement,Ct)})}),q.find(".auto-submit").change(function(){ot.callback(c.getValueByOptionItems(lt))}),q.find(".auto-submit:input").bind("keydown.submitOption",function(ft){ft.keyCode===13&&ot.callback(c.getValueByOptionItems(lt))})}),R.append(q)})):(R=S.default('<div class="hiprint-option-items"></div>'),b.getPrintElementOptionItems().forEach(function(X){X.submit=function(q){b.submitOption()};var rt=X.createTarget(b,b.options,b.printElementType);n.printElementOptionSettingPanel[X.name]=rt,R.append(rt),["columns","dataType"].includes(X.name)?X.setValue(b.options[X.name],b.options,b.printElementType):["coordinate","widthHeight"].includes(X.name)?X.setValue(b.options,b):X.setValue(b.options[X.name]||b.printElementType[X.name])}));var et=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1595
|
+
type="button">\u786E\u5B9A</button>`),K=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|
1596
|
+
type="button">\u5220\u9664</button>`);if(R.append(et),b.options.draggable!=!1&&R.append(K),z.length){R.on("click",".prop-tab-item",function(){var X=S.default(this),rt=X.index();n.settingContainer.data("last-index",rt),X.addClass("active"),X.siblings().removeClass("active");var q=R.find(".hiprint-option-items:eq("+rt+")");q.addClass("active"),q.siblings().removeClass("active")});var nt=+(n.settingContainer.data("last-index")||0);nt>=z.length&&(nt=0),R.find(".prop-tab-item:eq("+nt+")").click()}et.bind("click.submitOption",function(){b.submitOption()}),K.bind("click.deleteBtn",function(){c.printTemplate.deletePrintElement(b),n.clearSettingContainer()}),R.find(".auto-submit").change(function(X){b.submitOption()}),R.find(".auto-submit:input").bind("keydown.submitOption",function(X){X.keyCode==13&&b.submitOption()}),this.settingContainer.append(R),z.length<1&&Z&&Z.forEach(function(X){var rt=X.callback;X.callback=function(q){rt&&(rt(q),b.submitOption())},n.buildSettingByCustomOptions(X,n.settingContainer)}),this.lastPrintElement=b},M.prototype.buildSettingByCustomOptions=function(i,n){var c=this;this.clearLastPrintElement();var b=n||this.settingContainer;n||this.settingContainer.html("");var Z=[],z=I.a.instance.panel.supportOptions.filter(function(K){return!K.hidden}).map(function(K){return K.name});i.optionItems?Z=i.optionItems:Object.keys(i.options).filter(function(K){return z.includes(K)}).forEach(function(K){var nt=yt.a.getItem(K);nt&&Z.push(nt)});var R=S.default('<div class="hiprint-option-items"></div>');i.title&&R.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1597
1597
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1598
1598
|
`+i.title+`
|
|
1599
1599
|
</div>
|
|
1600
|
-
</div>`),Z.forEach(function(K){K.submit=function(nt){i.callback(c.getValueByOptionItems(Z))},R.append(K.createTarget(c.printTemplate,i.options,void 0)),K.setValue(i.options[K.name],i.options,void 0)});var et=
|
|
1601
|
-
type="button">\u786E\u5B9A</button>`);R.append(et),et.bind("click.submitOption",function(){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit").change(function(K){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit:input").bind("keydown.submitOption",function(K){K.keyCode==13&&i.callback(c.getValueByOptionItems(Z))}),b.append(R)},y.prototype.getValueByOptionItems=function(i){var n={};return i.forEach(function(c){n[c.name]=c.getValue()}),n},y}(),dt=function(){function y(i,n){this.paginationContainer=i,this.jqPaginationContainer=j.default(this.paginationContainer),this.template=n}return y.prototype.buildPagination=function(i){var n=this.template.getPaneltotal(),c=this;this.jqPaginationContainer.html("");for(var b=j.default('<ul class="hiprint-pagination"></ul>'),Z=function(){var K=z,nt=c.template.printPanels[K].name||K+1,X=j.default("<li><span>"+nt+'</span><a href="javascript:void(0);">x</a></li>');X.find("span").click(function(){c.template.selectPanel(K),X.siblings().removeClass("selected"),j.default(this).parent("li").addClass("selected")}),X.find("a").click(function(){c.template.deletePanel(K),c.buildPagination()}),b.append(X)},z=0;z<n;z++)Z();var R=j.default("<li><span>+</span></li>");b.append(R),this.jqPaginationContainer.append(b),R.click(function(){var et=function(nt){c.template.addPrintPanel(nt||void 0,!0),c.buildPagination(),j.default(".hiprint-pagination li").removeClass("selected"),j.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(c.template.onPanelAddClick){var K={index:c.template.printPanels.length,paperType:"A4"};c.template.onPanelAddClick(K,et)}else et()})},y.prototype.selectPanel=function(i){var n=i||this.template.editingPanel.index,c=j.default(".hiprint-pagination li:nth("+n+")");c.length&&(c.siblings().removeClass("selected"),c.addClass("selected"))},y}(),Pt=function(){function y(i){var n=this;this.tempimageBase64={},this.id=l.a.instance.guid(),l.a.instance.setPrintTemplateById(this.id,this);var c=i||{};this.printPanels=[],this.dataMode=c.dataMode||1,this.history=c.history!=null?c.history:!0,this.onFunctionClick=c.onFunctionClick,this.onDataChanged=c.onDataChanged,this.onUpdateError=c.onUpdateError,this.lastJson=c.template||{},this.historyList=[{id:l.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=c.defaultPanelName,this.designOptions={};var b=new ht(c.template||[]);c.template&&b.panels.forEach(function(Z){n.printPanels.push(new vt(Z,n.id))}),c.fontList&&(this.fontList=c.fontList),c.fields&&(this.fields=c.fields),c.onImageChooseClick&&(this.onImageChooseClick=c.onImageChooseClick),c.onPanelAddClick&&(this.onPanelAddClick=c.onPanelAddClick),c.settingContainer&&new ft(this,c.settingContainer),c.paginationContainer&&(this.printPaginationCreator=new dt(c.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return y.prototype.design=function(i,n){var c=this;if(n||(n={}),this.printPanels.length==0){var b=this.createDefaultPanel();this.printPanels.push(b)}if(!i)throw new Error("options.container can not be empty");c.designOptions=n,this.createContainer(i),this.printPanels.forEach(function(Z,z){c.container.append(Z.getTarget()),z>0&&Z.disable(),Z.design(n)}),this.selectPanel(0)},y.prototype.getSimpleHtml=function(i,n){var c=this;n||(n={});var b=j.default('<div class="hiprint-printTemplate"></div>');return i&&i.constructor===Array?i.forEach(function(Z,z){Z&&c.printPanels.forEach(function(R,et){b.append(R.getHtml(Z,n)),z==i.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(Z,z){b.append(Z.getHtml(i,n)),z==c.printPanels.length-1&&delete hinnn._paperList}),n&&n.imgToBase64&&this.transformImg(b.find("img")),b},y.prototype.getHtml=function(i,n){return i||(i={}),this.getSimpleHtml(i,n)},y.prototype.getJointHtml=function(i,n,c){var b=j.default('<div class="hiprint-printTemplate"></div>'),Z=[];return this.printPanels.forEach(function(z,R){b.append(z.getHtml(i,n,Z,void 0,c))}),b},y.prototype.setPaper=function(i,n){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(i))this.editingPanel.resize(void 0,parseFloat(i),parseFloat(n),!1);else{var c=l.a.instance[i];if(!c)throw new Error("not found pagetype:"+(i||""));this.editingPanel.resize(i,c.width,c.height,!1)}},y.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},y.prototype.zoom=function(i,n){this.editingPanel.zoom(i,n)},y.prototype.addPrintPanel=function(i,n){var c=i?new vt(new ct(i),this.id):this.createDefaultPanel();return i&&(i.index=this.printPanels.length),n&&(this.container.append(c.getTarget()),c.design(this.designOptions)),this.printPanels.push(c),n&&this.selectPanel(c.index),c},y.prototype.selectPanel=function(i){var n=this;i>n.printPanels.length-1&&(i=n.printPanels.length-1),this.printPanels.forEach(function(c,b){i==b?(c.enable(),n.editingPanel=c,n.printPaginationCreator&&n.printPaginationCreator.selectPanel(i)):c.disable()})},y.prototype.deletePanel=function(i){this.printPanels[i].clear(),this.printPanels[i].getTarget().remove(),this.printPanels.splice(i,1)},y.prototype.getPaneltotal=function(){return this.printPanels.length},y.prototype.createDefaultPanel=function(){return new vt(new ct({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},y.prototype.createContainer=function(i){i?(this.container=j.default(i),this.container.addClass("hiprint-printTemplate")):this.container=j.default('<div class="hiprint-printTemplate"></div>')},y.prototype.getJsonTid=function(){var i=[];return this.printPanels.forEach(function(n){n.getPanelEntity().printElements.length&&i.push(n.getPanelEntity())}),new ht({panels:i})},y.prototype.getJson=function(){var i=[];return this.printPanels.forEach(function(n){i.push(n.getPanelEntity(!0))}),new ht({panels:i})},y.prototype.undo=function(i){U.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},y.prototype.redo=function(i){U.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},y.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},y.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},y.prototype.clear=function(){this.printPanels.forEach(function(i){if(i.clear(),i.index>0){var n=i.getTarget();n&&n.length&&n.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},y.prototype.getPaperType=function(i){return this.printPanels[0].paperType},y.prototype.getOrient=function(i){return i==null&&(i=0),this.printPanels[i].height>this.printPanels[i].width?1:2},y.prototype.getPrintStyle=function(i){return this.printPanels[i].getPrintStyle()},y.prototype.print=function(i,n,c){var b=this;i||(i={});var Z=this.getHtml(i,n),z=I.a.instance.getHooks("beforePrint");z&&z.forEach(R=>{var{template:et,info:K,opts:nt}=R.run({template:b,info:Z,opts:c});b=et!=null?et:b,Z=K!=null?K:K,c=nt!=null?nt:c}),Z.hiwprint(c)},y.prototype.print2=function(i,n){if(i||(i={}),n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=j.default('link[media=print][href*="print-lock.css"]'),R="";if(n.styleHandler&&(R+=n.styleHandler()),z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(et,K){var nt=new XMLHttpRequest;nt.open("GET",j.default(K).attr("href")),nt.onreadystatechange=function(){if(nt.readyState===4&&nt.status===200&&(Z[et+""]='<style rel="stylesheet" type="text/css">'+nt.responseText+"</style>",++b==z.length)){for(var X="",rt=0;rt<z.length;rt++)X+=Z[rt+""];R&&(X=R+X),c.sentToClient(X,i,n)}},nt.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.imageToBase64=function(i){var n=j.default(i).attr("src");if(n.indexOf("base64")==-1)try{if(!this.tempimageBase64[n]){var c=document.createElement("canvas"),b=new Image;b.src=i.attr("src"),c.width=b.width,c.height=b.height,c.getContext("2d").drawImage(b,0,0),n&&(this.tempimageBase64[n]=c.toDataURL("image/png"))}i.attr("src",this.tempimageBase64[n])}catch{try{this.xhrLoadImage(i)}catch(z){console.log(z)}}},y.prototype.xhrLoadImage=function(i){},y.prototype.sentToClient=function(i,n,c){n||(n={});var b=j.default.extend({},c||{});b.imgToBase64=!0;var Z=i+this.getHtml(n,b)[0].outerHTML;b.id=l.a.instance.guid(),b.html=Z,b.templateId=this.id;var z=this,R=I.a.instance.getHooks("beforePrint2");R&&R.forEach(et=>{var{template:K,info:nt}=et.run({template:z,info:b});z=K!=null?K:z,b=nt!=null?nt:b}),hiwebSocket.send(b)},y.prototype.printByHtml=function(i){j.default(i).hiwprint()},y.prototype.printByHtml2=function(i,n){if(n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=j.default('link[media=print][href*="print-lock.css"]');if(z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(R,et){var K=new XMLHttpRequest;K.open("GET",j.default(et).attr("href")),K.onreadystatechange=function(){if(K.readyState===4&&K.status===200&&(Z[R+""]='<style rel="stylesheet" type="text/css">'+K.responseText+"</style>",++b==z.length)){for(var nt="",X=0;X<z.length;X++)nt+=Z[X+""];var rt=nt+j.default(i)[0].outerHTML,q=j.default.extend({},n||{});q.id=l.a.instance.guid(),q.html=rt,q.templateId=c.id,hiwebSocket.send(q)}},K.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.deletePrintElement=function(i){this.printPanels.forEach(function(n){n.deletePrintElement(i)})},y.prototype.transformImg=function(i){var n=this;i.map(function(c,b){n.imageToBase64(j.default(b))})},y.prototype.toImage=function(i,n){let c=this,b=j.default.Deferred();if(this.printPanels.length){let Z=U.a.mm.toPt(this.printPanels[0].width);U.a.mm.toPt(this.printPanels[0].height);let z=j.default.extend({scale:2,width:U.a.pt.toPx(Z)},n||{}),R=this.getHtml(i,n);j.default(R).css("width","").css("height",""),this.createTempContainer();let et=this.getTempContainer();this.svg2canvas(R),et.html(R[0]),et.find(".hiprint-printPanel .hiprint-printPaper").length,j.default(R).css("position:fixed"),_t.default(R[0],z).then(function(K){let nt=K.getContext("2d");nt.mozImageSmoothingEnabled=!1,nt.webkitImageSmoothingEnabled=!1,nt.msImageSmoothingEnabled=!1,nt.imageSmoothingEnabled=!1;let X=n.type||"image/jpeg",rt=n.toType||"url",q=n.quality||.8;if(n.isDownload){let ot=K.toDataURL(X,q);c.removeTempContainer();let It=new Image;It.src=ot,It.onload=function(){let lt=document.createElement("a"),mt=n.name||"download.jpg";lt.style.display="none",lt.setAttribute("download",mt),lt.setAttribute("href",ot),document.body.appendChild(lt),lt.click()};return}if(rt=="url"){c.removeTempContainer(),b.resolve(K.toDataURL(X,q));return}if(rt=="blob"){K.toBlob(function(ot){c.removeTempContainer(),b.resolve(ot)},X,q);return}})}return b.promise()},y.prototype.toPdf=function(i,n,c){var b=this,Z=j.default.Deferred(),z=!0;if(this.printPanels.length){var R=U.a.mm.toPt(this.printPanels[0].width),et=U.a.mm.toPt(this.printPanels[0].height),K=j.default.extend({scale:2,width:U.a.pt.toPx(R),x:0,y:0,useCORS:!0},c||{}),nt=new Le.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[R,et]}),X=this.getHtml(i,c);c&&c.isDownload!=null&&(z=m.isDownload),j.default(X).css("width","").css("height",""),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(X),rt.html(X[0]);var q=rt.find(".hiprint-printPanel .hiprint-printPaper").length;j.default(X).css("position:fixed"),_t.default(X[0],K).then(function(ot){var It=ot.getContext("2d");It.mozImageSmoothingEnabled=!1,It.webkitImageSmoothingEnabled=!1,It.msImageSmoothingEnabled=!1,It.imageSmoothingEnabled=!1;for(var lt=ot.toDataURL("image/jpeg"),mt=0;mt<q;mt++)nt.addImage(lt,"JPEG",0,0-mt*et,R,q*et),mt<q-1&&nt.addPage();if(z)b.removeTempContainer(),n.indexOf(".pdf")>-1?nt.save(n):nt.save(n+".pdf");else{b.removeTempContainer();let wt=c.type||"blob",Ct=nt.output(wt);Z.resolve(Ct)}})}return Z.promise()},y.prototype.createTempContainer=function(){this.removeTempContainer(),j.default("body").prepend(j.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},y.prototype.removeTempContainer=function(){j.default(".hiprint_temp_Container").remove()},y.prototype.getTempContainer=function(){return j.default(".hiprint_temp_Container")},y.prototype.svg2canvas=function(i){var n=this;i.find("svg").each(function(c,b){var Z=b.parentNode,z=n.parentWidthHeight(Z),R=document.createElement("canvas");R.width=z.width,R.height=z.height;var et=R.getContext("2d"),K=new XMLSerializer().serializeToString(b);ke.default.fromString(et,K).render(),j.default(b).before(R),Z.removeChild(b)})},y.prototype.parentWidthHeight=function(i){return i.style.width.endsWith("%")||i.style.height.endsWith("%")?i.className!="hiprint-printPaper-content"?this.parentWidthHeight(i.parentNode):{width:10,height:10}:{width:U.a.pt.toPx(parseFloat(i.style.width)),height:U.a.pt.toPx(parseFloat(i.style.height))}},y.prototype.on=function(i,n){U.a.event.clear(i+"_"+this.id),U.a.event.on(i+"_"+this.id,n)},y.prototype.clientIsOpened=function(){return hiwebSocket.opened},y.prototype.getPrinterList=function(){var i=hiwebSocket.getPrinterList();return i||[]},y.prototype.getElementByTid=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByTid(i)},y.prototype.getElementByName=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByName(i)},y.prototype.getPanel=function(i){return i==null&&(i=0),this.printPanels[i]},y.prototype.loadAllImages=function(i,n,c){var b=this;c==null&&(c=0);for(var Z=i[0].getElementsByTagName("img"),z=!0,R=0;R<Z.length;R++){var et=Z[R];et.src&&et.src!==window.location.href&&et.src.indexOf("base64")==-1&&(et&&et.naturalWidth!==void 0&&et.naturalWidth!==0&&et.complete||(z=!1))}c++,!z&&c<10?setTimeout(function(){b.loadAllImages(i,n,c)},500):n()},y.prototype.setPaperList=function(i){this.paperList=i},y.prototype.getPaperList=function(){return this.paperList||[{type:"A1",width:594,height:841},{type:"A2",width:420,height:594},{type:"A3",width:297,height:420},{type:"A4",width:210,height:297},{type:"A5",width:148,height:210},{type:"A6",width:105,height:148},{type:"A7",width:74,height:105},{type:"B1",width:728,height:1030},{type:"B2",width:515,height:728},{type:"B3",width:364,height:515},{type:"B4",width:257,height:364},{type:"B5",width:182,height:257},{type:"B6",width:91,height:182},{type:"B7",width:64,height:91}]},y.prototype.setFontList=function(i){this.fontList=i},y.prototype.getFontList=function(){return this.fontList},y.prototype.setFields=function(i){this.fields=i},y.prototype.getFields=function(){return this.fields},y.prototype.setOnImageChooseClick=function(i){this.onImageChooseClick=i},y.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},y.prototype.getFieldsInPanel=function(){var i=[];return this.printPanels.forEach(function(n){i=i.concat(n.getFieldsInPanel())}),i},y.prototype.getTestData=function(){var i={};return this.printPanels.forEach(function(n){i=Object.assign(i,n.getTestData())}),i},y.prototype.update=function(i,n){var c=this;try{if(i&&Tt(i)=="object"&&i.panels.length>0){var b=c.printPanels.length-1;i.panels.forEach(function(Z,z){if(z>b){c.printPanels.push(new vt(Z,l.a.instance.guid()));var R=c.printPanels[z];c.container.append(R.getTarget()),z>0&&R.disable(),R.design(c.designOptions),c.printPaginationCreator&&c.printPaginationCreator.buildPagination()}var et=new ct(Z);c.editingPanel=c.printPanels[z],c.editingPanel.update(et)}),c.selectPanel(n||0)}}catch(Z){console.log(Z),c.onUpdateError&&c.onUpdateError(Z)}},y.prototype.canPaste=function(){return this.editingPanel.canPaste()},y.prototype.copyJson=function(i){return this.editingPanel.copyJson(i)},y.prototype.cutJson=function(){return this.editingPanel.cutJson()},y.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},y.prototype.updateOption=function(i,n){var c=this.getSelectEls();c&&c.length&&(c.forEach(function(b){b.updateOption(i,n,!0)}),U.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},y.prototype.setElsAlign=function(i){var n=this.getSelectEls();if(n.length){var c=Math.min.apply(null,n.map(function(q){return q.options.left})),b=Math.max.apply(null,n.map(function(q){return q.options.left+q.options.width})),Z=Math.min.apply(null,n.map(function(q){return q.options.top})),z=Math.max.apply(null,n.map(function(q){return q.options.top+q.options.height}));switch(i){case"left":n.forEach(function(q){q.updateSizeAndPositionOptions(c),q.designTarget.css("left",q.options.displayLeft())});break;case"vertical":var R=c+(b-c)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(R-q.options.width/2),q.designTarget.css("left",q.options.displayLeft())});break;case"right":n.forEach(function(q){q.updateSizeAndPositionOptions(b-q.options.width),q.designTarget.css("left",q.options.displayLeft())});break;case"top":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,Z),q.designTarget.css("top",q.options.displayTop())});break;case"horizontal":var et=Z+(z-Z)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,et-q.options.height/2),q.designTarget.css("top",q.options.displayTop())});break;case"bottom":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,z-q.options.height),q.designTarget.css("top",q.options.displayTop())});break;case"distributeHor":var K=[].reduce.call(n,function(q,ot){return q+ot.options.width},0),nt=(b-c-K)/(n.length-1);n.sort(function(q,ot){return q.options.left-ot.options.left}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(n[ot-1].options.left+n[ot-1].options.width+nt),q.designTarget.css("left",q.options.displayLeft()))});break;case"distributeVer":var X=[].reduce.call(n,function(q,ot){return q+ot.options.height},0),rt=(z-Z-X)/(n.length-1);n.sort(function(q,ot){return q.options.top-ot.options.top}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(void 0,n[ot-1].options.top+n[ot-1].options.height+rt),q.designTarget.css("top",q.options.displayTop()))});break}}},y.prototype.setElsSpace=function(i,n){var c=this.getSelectEls();c.length&&(n?(c.sort(function(b,Z){return b.options.left-Z.options.left}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(c[Z-1].options.left+c[Z-1].options.width+i),b.designTarget.css("left",b.options.displayLeft()))})):(c.sort(function(b,Z){return b.options.top-Z.options.top}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(void 0,c[Z-1].options.top+c[Z-1].options.height+i),b.designTarget.css("top",b.options.displayTop()))})))},y.prototype.initAutoSave=function(){var i=this;U.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(n){if(!!i.history)switch(n){case"undo":if(i.historyPos>0){i.historyPos-=1;var c=i.historyList[i.historyPos];i.update(c.json)}break;case"redo":if(i.historyPos<i.historyList.length-1){i.historyPos+=1;var c=i.historyList[i.historyPos];i.update(c.json)}break}}),U.a.event.on("hiprintTemplateDataChanged_"+this.id,function(n){if(i.history){var c=i.dataMode==1?i.getJson():i.getJsonTid();i.lastJson=c,i.historyPos<i.historyList.length-1&&(i.historyList=i.historyList.slice(0,i.historyPos+1)),i.historyList.push({id:l.a.instance.guid(),type:n,json:c}),i.historyList.length>50?i.historyList=i.historyList.slice(0,1).concat(i.historyList.slice(1,50)):i.historyPos+=1,i.onDataChanged&&i.onDataChanged(n,c)}})},y}();function jt(y){this.getHtml(y).hiwprint()}function St(y,i,n){j.default.extend({},y||{}).imgToBase64=!0;var c=new Pt({});c.on("printSuccess",i),c.on("printError",n),c.printByHtml2(this.getHtml(y),y.options)}function Ut(y){var i=void 0;return y&&y.templates.forEach(function(n,c){var b=j.default.extend({},n.options||{});y.imgToBase64&&(b.imgToBase64=!0),i?i.append(n.template.getHtml(n.data,b).html()):i=n.template.getHtml(n.data,b)}),i}function Zt(y){I.a.instance.init(y),I.a.instance.providers&&I.a.instance.providers.forEach(function(i){i.addElementTypes(p.instance)})}function Lt(y){I.a.instance.register(y)}function zt(y){y?y&&Object.keys(y).forEach(function(i){if(i=="optionItems"&&y.optionItems&&y.optionItems.length)I.a.instance.registerItems(y.optionItems);else if(y[i].tabs&&y[i].tabs.length)y[i].tabs.forEach(function(Z,z){if(Z.replace)j.default.extend(I.a.instance[i].tabs[z],Z);else{var R=Z.options,et=I.a.instance[i].tabs[z].options;R.forEach(function(K){var nt=et.findIndex(function(X){return X.name==K.name});nt>-1?et[nt].hidden=K.hidden:K.after?(nt=et.findIndex(function(X){return X.name==K.after}),nt>-1&&et.splice(nt+1,0,K)):et.push(K)}),j.default.extend(I.a.instance[i].tabs[z],{name:Z.name,options:et})}}),delete y[i].tabs;else if(y[i].supportOptions){var n=y[i].supportOptions,c=I.a.instance[i].supportOptions;n.forEach(function(Z){var z=c.findIndex(function(R){return R.name==Z.name});z>-1?c[z].hidden=Z.hidden:Z.after?(z=c.findIndex(function(R){return R.name==Z.after}),z>-1&&c.splice(z+1,0,Z)):c.push(Z)}),j.default.extend(I.a.instance[i].supportOptions,c),delete y[i].supportOptions}else{var b={};b[i]=y[i],j.default.extend(I.a.instance,b)}}):j.default.extend(I.a.instance,HIPRINT_CONFIG)}function Wt(y,i){return p.instance.updateElementType(y,i)}function kt(y){I.a.instance.clear("printerList"),I.a.instance.on("printerList",y),hiwebSocket.refreshPrinterList()}function Gt(y,i,...n){I.a.instance.clear("address_"+y),I.a.instance.on("address_"+y,i),hiwebSocket.getAddress(y,...n)}function Rt(y,i,n){I.a.instance.clear("ippPrinterCallback"),I.a.instance.on("ippPrinterCallback",i),I.a.instance.clear("ippPrinterConnected"),I.a.instance.on("ippPrinterConnected",n),hiwebSocket.ippPrint(y)}function Jt(y,i){I.a.instance.clear("ippRequestCallback"),I.a.instance.on("ippRequestCallback",i),hiwebSocket.ippRequest(y)}m.d(F,"register",function(){return Lt}),m.d(F,"init",function(){return Zt}),m.d(F,"setConfig",function(){return zt}),m.d(F,"updateElementType",function(){return Wt}),m.d(F,"hiwebSocket",function(){return hiwebSocket}),m.d(F,"refreshPrinterList",function(){return kt}),m.d(F,"getAddress",function(){return Gt}),m.d(F,"ippPrint",function(){return Rt}),m.d(F,"ippRequest",function(){return Jt}),m.d(F,"ElementTypes",function(){return p.instance}),m.d(F,"PrintElementTypeManager",function(){return st}),m.d(F,"PrintElementTypeGroup",function(){return pt}),m.d(F,"PrintTemplate",function(){return Pt}),m.d(F,"print",function(){return jt}),m.d(F,"print2",function(){return St}),m.d(F,"getHtml",function(){return Ut}),j.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var y=I.a.instance.getHooks("ready");y&&y.forEach(i=>{i.run({p:I,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let Xe=Qe(Et);(function(tt){tt.fn.hiwprint=function(v){var p=document.getElementById("hiwprint_iframe");p&&p.parentNode.removeChild(p);var I=tt.extend({},tt.fn.hiwprint.defaults,v),l=this,H=tt('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),D="";I.importCss&&(I.styleHandler&&(D+=I.styleHandler()),tt("link[media=print]").length>0&&tt("link[media=print]").each(function(){tt(this).attr("href").indexOf("print-lock.css")>=0&&(D+='<link rel="stylesheet" type="text/css" media="print" href="'+tt(this).attr("href")+'">',D+='<link rel="stylesheet" type="text/css" href="'+tt(this).attr("href")+'">')})),H[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>",H[0].onload=function(){var E=H[0].contentWindow||H[0].contentDocument;E.document&&(E=E.document),H.attr("srcdoc")||E.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>"),I.printContainer?E.body.innerHTML=l[0].outerHTML:E.body.innerHTML=l.html(),U(E,function(){F(H[0],I)})},H.appendTo("body")},tt.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function F(v,p){try{if(v.focus(),G()||m())try{v.contentWindow.document.execCommand("print",!1,null)}catch{v.contentWindow.print()}else v.contentWindow.print();p.callback&&p.callback()}catch(I){console.log(I)}}function m(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function G(){return!m()&&!!window.StyleMedia}function U(v,p,I){I===void 0&&(I=0);for(var l=v.getElementsByTagName("img"),H=!0,D=0;D<l.length;D++){var E=l[D];E.src&&E.src!==window.location.href&&E.src.indexOf("base64")==-1&&(!E||typeof E.naturalWidth>"u"||E.naturalWidth===0||!E.complete)&&(E.complete||(H=!1))}I++,!H&&I<10?setTimeout(function(){U(v,p,I)},500):p()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.15",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const _e=function(tt){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(tt)},Ke=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=Et;exports.autoConnect=_e;exports.defaultElementTypeProvider=Xe;exports.disAutoConnect=Ke;exports.hiprint=Et;
|
|
1600
|
+
</div>`),Z.forEach(function(K){K.submit=function(nt){i.callback(c.getValueByOptionItems(Z))},R.append(K.createTarget(c.printTemplate,i.options,void 0)),K.setValue(i.options[K.name],i.options,void 0)});var et=S.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1601
|
+
type="button">\u786E\u5B9A</button>`);R.append(et),et.bind("click.submitOption",function(){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit").change(function(K){i.callback(c.getValueByOptionItems(Z))}),R.find(".auto-submit:input").bind("keydown.submitOption",function(K){K.keyCode==13&&i.callback(c.getValueByOptionItems(Z))}),b.append(R)},M.prototype.getValueByOptionItems=function(i){var n={};return i.forEach(function(c){n[c.name]=c.getValue()}),n},M}(),gt=function(){function M(i,n){this.paginationContainer=i,this.jqPaginationContainer=S.default(this.paginationContainer),this.template=n}return M.prototype.buildPagination=function(i){var n=this.template.getPaneltotal(),c=this;this.jqPaginationContainer.html("");for(var b=S.default('<ul class="hiprint-pagination"></ul>'),Z=function(){var K=z,nt=c.template.printPanels[K].name||K+1,X=S.default("<li><span>"+nt+'</span><a href="javascript:void(0);">x</a></li>');X.find("span").click(function(){c.template.selectPanel(K),X.siblings().removeClass("selected"),S.default(this).parent("li").addClass("selected")}),X.find("a").click(function(){c.template.deletePanel(K),c.buildPagination()}),b.append(X)},z=0;z<n;z++)Z();var R=S.default("<li><span>+</span></li>");b.append(R),this.jqPaginationContainer.append(b),R.click(function(){var et=function(nt){c.template.addPrintPanel(nt||void 0,!0),c.buildPagination(),S.default(".hiprint-pagination li").removeClass("selected"),S.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(c.template.onPanelAddClick){var K={index:c.template.printPanels.length,paperType:"A4"};c.template.onPanelAddClick(K,et)}else et()})},M.prototype.selectPanel=function(i){var n=i||this.template.editingPanel.index,c=S.default(".hiprint-pagination li:nth("+n+")");c.length&&(c.siblings().removeClass("selected"),c.addClass("selected"))},M}(),Pt=function(){function M(i){var n=this;this.tempimageBase64={},this.id=l.a.instance.guid(),l.a.instance.setPrintTemplateById(this.id,this);var c=i||{};this.printPanels=[],this.dataMode=c.dataMode||1,this.history=c.history!=null?c.history:!0,this.onFunctionClick=c.onFunctionClick,this.onDataChanged=c.onDataChanged,this.onUpdateError=c.onUpdateError,this.lastJson=c.template||{},this.historyList=[{id:l.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=c.defaultPanelName,this.designOptions={};var b=new dt(c.template||[]);c.template&&b.panels.forEach(function(Z){n.printPanels.push(new vt(Z,n.id))}),c.fontList&&(this.fontList=c.fontList),c.fields&&(this.fields=c.fields),c.onImageChooseClick&&(this.onImageChooseClick=c.onImageChooseClick),c.onPanelAddClick&&(this.onPanelAddClick=c.onPanelAddClick),c.settingContainer&&new mt(this,c.settingContainer),c.paginationContainer&&(this.printPaginationCreator=new gt(c.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return M.prototype.design=function(i,n){var c=this;if(n||(n={}),this.printPanels.length==0){var b=this.createDefaultPanel();this.printPanels.push(b)}if(!i)throw new Error("options.container can not be empty");c.designOptions=n,this.createContainer(i),this.printPanels.forEach(function(Z,z){c.container.append(Z.getTarget()),z>0&&Z.disable(),Z.design(n)}),this.selectPanel(0)},M.prototype.getSimpleHtml=function(i,n){var c=this;n||(n={});var b=S.default('<div class="hiprint-printTemplate"></div>');return i&&i.constructor===Array?i.forEach(function(Z,z){Z&&c.printPanels.forEach(function(R,et){b.append(R.getHtml(Z,n)),z==i.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(Z,z){b.append(Z.getHtml(i,n)),z==c.printPanels.length-1&&delete hinnn._paperList}),n&&n.imgToBase64&&this.transformImg(b.find("img")),b},M.prototype.getHtml=function(i,n){return i||(i={}),this.getSimpleHtml(i,n)},M.prototype.getJointHtml=function(i,n,c){var b=S.default('<div class="hiprint-printTemplate"></div>'),Z=[];return this.printPanels.forEach(function(z,R){b.append(z.getHtml(i,n,Z,void 0,c))}),b},M.prototype.setPaper=function(i,n){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(i))this.editingPanel.resize(void 0,parseFloat(i),parseFloat(n),!1);else{var c=l.a.instance[i];if(!c)throw new Error("not found pagetype:"+(i||""));this.editingPanel.resize(i,c.width,c.height,!1)}},M.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},M.prototype.zoom=function(i,n){this.editingPanel.zoom(i,n)},M.prototype.addPrintPanel=function(i,n){var c=i?new vt(new It(i),this.id):this.createDefaultPanel();return i&&(i.index=this.printPanels.length),n&&(this.container.append(c.getTarget()),c.design(this.designOptions)),this.printPanels.push(c),n&&this.selectPanel(c.index),c},M.prototype.selectPanel=function(i){var n=this;i>n.printPanels.length-1&&(i=n.printPanels.length-1),this.printPanels.forEach(function(Z,z){i==z?(Z.enable(),n.editingPanel=Z,n.printPaginationCreator&&n.printPaginationCreator.selectPanel(i)):Z.disable()});const c=i||n.editingPanel.index,b=S.default(".hiprint-pagination li:nth("+c+")");hinnn.event.trigger("onSelectPanel",n.editingPanel,c,b)},M.prototype.deletePanel=function(i){this.printPanels[i].clear(),this.printPanels[i].getTarget().remove(),this.printPanels.splice(i,1)},M.prototype.getPaneltotal=function(){return this.printPanels.length},M.prototype.createDefaultPanel=function(){return new vt(new It({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},M.prototype.createContainer=function(i){i?(this.container=S.default(i),this.container.addClass("hiprint-printTemplate")):this.container=S.default('<div class="hiprint-printTemplate"></div>')},M.prototype.getJsonTid=function(){var i=[];return this.printPanels.forEach(function(n){n.getPanelEntity().printElements.length&&i.push(n.getPanelEntity())}),new dt({panels:i})},M.prototype.getJson=function(){var i=[];return this.printPanels.forEach(function(n){i.push(n.getPanelEntity(!0))}),new dt({panels:i})},M.prototype.undo=function(i){B.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},M.prototype.redo=function(i){B.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},M.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},M.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},M.prototype.clear=function(){this.printPanels.forEach(function(i){if(i.clear(),i.index>0){var n=i.getTarget();n&&n.length&&n.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},M.prototype.getPaperType=function(i){return this.printPanels[0].paperType},M.prototype.getOrient=function(i){return i==null&&(i=0),this.printPanels[i].height>this.printPanels[i].width?1:2},M.prototype.getPrintStyle=function(i){return this.printPanels[i].getPrintStyle()},M.prototype.print=function(i,n,c){var b=this;i||(i={});var Z=this.getHtml(i,n),z=I.a.instance.getHooks("beforePrint");z&&z.forEach(R=>{var{template:et,info:K,opts:nt}=R.run({template:b,info:Z,opts:c});b=et!=null?et:b,Z=K!=null?K:K,c=nt!=null?nt:c}),Z.hiwprint(c)},M.prototype.print2=function(i,n){if(i||(i={}),n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=S.default('link[media=print][href*="print-lock.css"]'),R="";if(n.styleHandler&&(R+=n.styleHandler()),z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(et,K){var nt=new XMLHttpRequest;nt.open("GET",S.default(K).attr("href")),nt.onreadystatechange=function(){if(nt.readyState===4&&nt.status===200&&(Z[et+""]='<style rel="stylesheet" type="text/css">'+nt.responseText+"</style>",++b==z.length)){for(var X="",rt=0;rt<z.length;rt++)X+=Z[rt+""];R&&(X=R+X),c.sentToClient(X,i,n)}},nt.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.imageToBase64=function(i){var n=S.default(i).attr("src");if(n.indexOf("base64")==-1)try{if(!this.tempimageBase64[n]){var c=document.createElement("canvas"),b=new Image;b.src=i.attr("src"),c.width=b.width,c.height=b.height,c.getContext("2d").drawImage(b,0,0),n&&(this.tempimageBase64[n]=c.toDataURL("image/png"))}i.attr("src",this.tempimageBase64[n])}catch{try{this.xhrLoadImage(i)}catch(z){console.log(z)}}},M.prototype.xhrLoadImage=function(i){},M.prototype.sentToClient=function(i,n,c){n||(n={});var b=S.default.extend({},c||{});b.imgToBase64=!0;var Z=i+this.getHtml(n,b)[0].outerHTML;b.id=l.a.instance.guid(),b.html=Z,b.templateId=this.id;var z=this,R=I.a.instance.getHooks("beforePrint2");R&&R.forEach(et=>{var{template:K,info:nt}=et.run({template:z,info:b});z=K!=null?K:z,b=nt!=null?nt:b}),hiwebSocket.send(b)},M.prototype.printByHtml=function(i){S.default(i).hiwprint()},M.prototype.printByHtml2=function(i,n){if(n||(n={}),this.clientIsOpened()){var c=this,b=0,Z={},z=S.default('link[media=print][href*="print-lock.css"]');if(z.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');z.each(function(R,et){var K=new XMLHttpRequest;K.open("GET",S.default(et).attr("href")),K.onreadystatechange=function(){if(K.readyState===4&&K.status===200&&(Z[R+""]='<style rel="stylesheet" type="text/css">'+K.responseText+"</style>",++b==z.length)){for(var nt="",X=0;X<z.length;X++)nt+=Z[X+""];var rt=nt+S.default(i)[0].outerHTML,q=S.default.extend({},n||{});q.id=l.a.instance.guid(),q.html=rt,q.templateId=c.id,hiwebSocket.send(q)}},K.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.deletePrintElement=function(i){this.printPanels.forEach(function(n){n.deletePrintElement(i)})},M.prototype.transformImg=function(i){var n=this;i.map(function(c,b){n.imageToBase64(S.default(b))})},M.prototype.toImage=function(i,n){let c=this,b=S.default.Deferred();if(this.printPanels.length){let Z=B.a.mm.toPt(this.printPanels[0].width);B.a.mm.toPt(this.printPanels[0].height);let z=S.default.extend({scale:2,width:B.a.pt.toPx(Z)},n||{}),R=this.getHtml(i,n);S.default(R).css("width","").css("height",""),this.createTempContainer();let et=this.getTempContainer();this.svg2canvas(R),et.html(R[0]),et.find(".hiprint-printPanel .hiprint-printPaper").length,S.default(R).css("position:fixed"),_t.default(R[0],z).then(function(K){let nt=K.getContext("2d");nt.mozImageSmoothingEnabled=!1,nt.webkitImageSmoothingEnabled=!1,nt.msImageSmoothingEnabled=!1,nt.imageSmoothingEnabled=!1;let X=n.type||"image/jpeg",rt=n.toType||"url",q=n.quality||.8;if(n.isDownload){let ot=K.toDataURL(X,q);c.removeTempContainer();let ct=new Image;ct.src=ot,ct.onload=function(){let lt=document.createElement("a"),ft=n.name||"download.jpg";lt.style.display="none",lt.setAttribute("download",ft),lt.setAttribute("href",ot),document.body.appendChild(lt),lt.click()};return}if(rt=="url"){c.removeTempContainer(),b.resolve(K.toDataURL(X,q));return}if(rt=="blob"){K.toBlob(function(ot){c.removeTempContainer(),b.resolve(ot)},X,q);return}})}return b.promise()},M.prototype.toPdf=function(i,n,c){var b=this,Z=S.default.Deferred(),z=!0;if(this.printPanels.length){var R=B.a.mm.toPt(this.printPanels[0].width),et=B.a.mm.toPt(this.printPanels[0].height),K=S.default.extend({scale:2,width:B.a.pt.toPx(R),x:0,y:0,useCORS:!0},c||{}),nt=new Le.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[R,et]}),X=this.getHtml(i,c);c&&c.isDownload!=null&&(z=f.isDownload),S.default(X).css("width","").css("height",""),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(X),rt.html(X[0]);var q=rt.find(".hiprint-printPanel .hiprint-printPaper").length;S.default(X).css("position:fixed"),_t.default(X[0],K).then(function(ot){var ct=ot.getContext("2d");ct.mozImageSmoothingEnabled=!1,ct.webkitImageSmoothingEnabled=!1,ct.msImageSmoothingEnabled=!1,ct.imageSmoothingEnabled=!1;for(var lt=ot.toDataURL("image/jpeg"),ft=0;ft<q;ft++)nt.addImage(lt,"JPEG",0,0-ft*et,R,q*et),ft<q-1&&nt.addPage();if(z)b.removeTempContainer(),n.indexOf(".pdf")>-1?nt.save(n):nt.save(n+".pdf");else{b.removeTempContainer();let wt=c.type||"blob",Ct=nt.output(wt);Z.resolve(Ct)}})}return Z.promise()},M.prototype.createTempContainer=function(){this.removeTempContainer(),S.default("body").prepend(S.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},M.prototype.removeTempContainer=function(){S.default(".hiprint_temp_Container").remove()},M.prototype.getTempContainer=function(){return S.default(".hiprint_temp_Container")},M.prototype.svg2canvas=function(i){var n=this;i.find("svg").each(function(c,b){var Z=b.parentNode,z=n.parentWidthHeight(Z),R=document.createElement("canvas");R.width=z.width,R.height=z.height;var et=R.getContext("2d"),K=new XMLSerializer().serializeToString(b);ke.default.fromString(et,K).render(),S.default(b).before(R),Z.removeChild(b)})},M.prototype.parentWidthHeight=function(i){return i.style.width.endsWith("%")||i.style.height.endsWith("%")?i.className!="hiprint-printPaper-content"?this.parentWidthHeight(i.parentNode):{width:10,height:10}:{width:B.a.pt.toPx(parseFloat(i.style.width)),height:B.a.pt.toPx(parseFloat(i.style.height))}},M.prototype.on=function(i,n){B.a.event.clear(i+"_"+this.id),B.a.event.on(i+"_"+this.id,n)},M.prototype.clientIsOpened=function(){return hiwebSocket.opened},M.prototype.getPrinterList=function(){var i=hiwebSocket.getPrinterList();return i||[]},M.prototype.getElementByTid=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByTid(i)},M.prototype.getElementByName=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByName(i)},M.prototype.getPanel=function(i){return i==null&&(i=0),this.printPanels[i]},M.prototype.loadAllImages=function(i,n,c){var b=this;c==null&&(c=0);for(var Z=i[0].getElementsByTagName("img"),z=!0,R=0;R<Z.length;R++){var et=Z[R];et.src&&et.src!==window.location.href&&et.src.indexOf("base64")==-1&&(et&&et.naturalWidth!==void 0&&et.naturalWidth!==0&&et.complete||(z=!1))}c++,!z&&c<10?setTimeout(function(){b.loadAllImages(i,n,c)},500):n()},M.prototype.setPaperList=function(i){this.paperList=i},M.prototype.getPaperList=function(){return this.paperList||[{type:"A1",width:594,height:841},{type:"A2",width:420,height:594},{type:"A3",width:297,height:420},{type:"A4",width:210,height:297},{type:"A5",width:148,height:210},{type:"A6",width:105,height:148},{type:"A7",width:74,height:105},{type:"B1",width:728,height:1030},{type:"B2",width:515,height:728},{type:"B3",width:364,height:515},{type:"B4",width:257,height:364},{type:"B5",width:182,height:257},{type:"B6",width:91,height:182},{type:"B7",width:64,height:91}]},M.prototype.setFontList=function(i){this.fontList=i},M.prototype.getFontList=function(){return this.fontList},M.prototype.setFields=function(i){this.fields=i},M.prototype.getFields=function(){return this.fields},M.prototype.setOnImageChooseClick=function(i){this.onImageChooseClick=i},M.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},M.prototype.getFieldsInPanel=function(){var i=[];return this.printPanels.forEach(function(n){i=i.concat(n.getFieldsInPanel())}),i},M.prototype.getTestData=function(){var i={};return this.printPanels.forEach(function(n){i=Object.assign(i,n.getTestData())}),i},M.prototype.update=function(i,n){var c=this;try{if(i&&Tt(i)=="object"&&i.panels.length>0){var b=c.printPanels.length-1;i.panels.forEach(function(Z,z){if(z>b){c.printPanels.push(new vt(Z,l.a.instance.guid()));var R=c.printPanels[z];c.container.append(R.getTarget()),z>0&&R.disable(),R.design(c.designOptions),c.printPaginationCreator&&c.printPaginationCreator.buildPagination()}var et=new It(Z);c.editingPanel=c.printPanels[z],c.editingPanel.update(et)}),c.selectPanel(n||0)}}catch(Z){console.log(Z),c.onUpdateError&&c.onUpdateError(Z)}},M.prototype.canPaste=function(){return this.editingPanel.canPaste()},M.prototype.copyJson=function(i){return this.editingPanel.copyJson(i)},M.prototype.cutJson=function(){return this.editingPanel.cutJson()},M.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},M.prototype.updateOption=function(i,n){var c=this.getSelectEls();c&&c.length&&(c.forEach(function(b){b.updateOption(i,n,!0)}),B.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},M.prototype.setElsAlign=function(i){var n=this.getSelectEls();if(n.length){var c=Math.min.apply(null,n.map(function(q){return q.options.left})),b=Math.max.apply(null,n.map(function(q){return q.options.left+q.options.width})),Z=Math.min.apply(null,n.map(function(q){return q.options.top})),z=Math.max.apply(null,n.map(function(q){return q.options.top+q.options.height}));switch(i){case"left":n.forEach(function(q){q.updateSizeAndPositionOptions(c),q.designTarget.css("left",q.options.displayLeft())});break;case"vertical":var R=c+(b-c)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(R-q.options.width/2),q.designTarget.css("left",q.options.displayLeft())});break;case"right":n.forEach(function(q){q.updateSizeAndPositionOptions(b-q.options.width),q.designTarget.css("left",q.options.displayLeft())});break;case"top":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,Z),q.designTarget.css("top",q.options.displayTop())});break;case"horizontal":var et=Z+(z-Z)/2;n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,et-q.options.height/2),q.designTarget.css("top",q.options.displayTop())});break;case"bottom":n.forEach(function(q){q.updateSizeAndPositionOptions(void 0,z-q.options.height),q.designTarget.css("top",q.options.displayTop())});break;case"distributeHor":var K=[].reduce.call(n,function(q,ot){return q+ot.options.width},0),nt=(b-c-K)/(n.length-1);n.sort(function(q,ot){return q.options.left-ot.options.left}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(n[ot-1].options.left+n[ot-1].options.width+nt),q.designTarget.css("left",q.options.displayLeft()))});break;case"distributeVer":var X=[].reduce.call(n,function(q,ot){return q+ot.options.height},0),rt=(z-Z-X)/(n.length-1);n.sort(function(q,ot){return q.options.top-ot.options.top}),n.forEach(function(q,ot){[0,n.length-1].includes(ot)||(q.updateSizeAndPositionOptions(void 0,n[ot-1].options.top+n[ot-1].options.height+rt),q.designTarget.css("top",q.options.displayTop()))});break}}},M.prototype.setElsSpace=function(i,n){var c=this.getSelectEls();c.length&&(n?(c.sort(function(b,Z){return b.options.left-Z.options.left}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(c[Z-1].options.left+c[Z-1].options.width+i),b.designTarget.css("left",b.options.displayLeft()))})):(c.sort(function(b,Z){return b.options.top-Z.options.top}),c.forEach(function(b,Z){Z>0&&(b.updateSizeAndPositionOptions(void 0,c[Z-1].options.top+c[Z-1].options.height+i),b.designTarget.css("top",b.options.displayTop()))})))},M.prototype.initAutoSave=function(){var i=this;B.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(n){if(!!i.history)switch(n){case"undo":if(i.historyPos>0){i.historyPos-=1;var c=i.historyList[i.historyPos];i.update(c.json)}break;case"redo":if(i.historyPos<i.historyList.length-1){i.historyPos+=1;var c=i.historyList[i.historyPos];i.update(c.json)}break}}),B.a.event.on("hiprintTemplateDataChanged_"+this.id,function(n){if(i.history){var c=i.dataMode==1?i.getJson():i.getJsonTid();i.lastJson=c,i.historyPos<i.historyList.length-1&&(i.historyList=i.historyList.slice(0,i.historyPos+1)),i.historyList.push({id:l.a.instance.guid(),type:n,json:c}),i.historyList.length>50?i.historyList=i.historyList.slice(0,1).concat(i.historyList.slice(1,50)):i.historyPos+=1,i.onDataChanged&&i.onDataChanged(n,c)}})},M}();function jt(M){this.getHtml(M).hiwprint()}function St(M,i,n){S.default.extend({},M||{}).imgToBase64=!0;var c=new Pt({});c.on("printSuccess",i),c.on("printError",n),c.printByHtml2(this.getHtml(M),M.options)}function Ut(M){var i=void 0;return M&&M.templates.forEach(function(n,c){var b=S.default.extend({},n.options||{});M.imgToBase64&&(b.imgToBase64=!0),i?i.append(n.template.getHtml(n.data,b).html()):i=n.template.getHtml(n.data,b)}),i}function Zt(M){I.a.instance.init(M),I.a.instance.providers&&I.a.instance.providers.forEach(function(i){i.addElementTypes(p.instance)})}function Lt(M){I.a.instance.register(M)}function zt(M){M?M&&Object.keys(M).forEach(function(i){if(i=="optionItems"&&M.optionItems&&M.optionItems.length)I.a.instance.registerItems(M.optionItems);else if(M[i].tabs&&M[i].tabs.length)M[i].tabs.forEach(function(Z,z){if(Z.replace)S.default.extend(I.a.instance[i].tabs[z],Z);else{var R=Z.options,et=I.a.instance[i].tabs[z].options;R.forEach(function(K){var nt=et.findIndex(function(X){return X.name==K.name});nt>-1?et[nt].hidden=K.hidden:K.after?(nt=et.findIndex(function(X){return X.name==K.after}),nt>-1&&et.splice(nt+1,0,K)):et.push(K)}),S.default.extend(I.a.instance[i].tabs[z],{name:Z.name,options:et})}}),delete M[i].tabs;else if(M[i].supportOptions){var n=M[i].supportOptions,c=I.a.instance[i].supportOptions;n.forEach(function(Z){var z=c.findIndex(function(R){return R.name==Z.name});z>-1?c[z].hidden=Z.hidden:Z.after?(z=c.findIndex(function(R){return R.name==Z.after}),z>-1&&c.splice(z+1,0,Z)):c.push(Z)}),S.default.extend(I.a.instance[i].supportOptions,c),delete M[i].supportOptions}else{var b={};b[i]=M[i],S.default.extend(I.a.instance,b)}}):S.default.extend(I.a.instance,HIPRINT_CONFIG)}function Wt(M,i){return p.instance.updateElementType(M,i)}function kt(M){I.a.instance.clear("printerList"),I.a.instance.on("printerList",M),hiwebSocket.refreshPrinterList()}function Gt(M,i,...n){I.a.instance.clear("address_"+M),I.a.instance.on("address_"+M,i),hiwebSocket.getAddress(M,...n)}function Rt(M,i,n){I.a.instance.clear("ippPrinterCallback"),I.a.instance.on("ippPrinterCallback",i),I.a.instance.clear("ippPrinterConnected"),I.a.instance.on("ippPrinterConnected",n),hiwebSocket.ippPrint(M)}function Jt(M,i){I.a.instance.clear("ippRequestCallback"),I.a.instance.on("ippRequestCallback",i),hiwebSocket.ippRequest(M)}f.d(V,"register",function(){return Lt}),f.d(V,"init",function(){return Zt}),f.d(V,"setConfig",function(){return zt}),f.d(V,"updateElementType",function(){return Wt}),f.d(V,"hiwebSocket",function(){return hiwebSocket}),f.d(V,"refreshPrinterList",function(){return kt}),f.d(V,"getAddress",function(){return Gt}),f.d(V,"ippPrint",function(){return Rt}),f.d(V,"ippRequest",function(){return Jt}),f.d(V,"ElementTypes",function(){return p.instance}),f.d(V,"PrintElementTypeManager",function(){return st}),f.d(V,"PrintElementTypeGroup",function(){return pt}),f.d(V,"PrintTemplate",function(){return Pt}),f.d(V,"print",function(){return jt}),f.d(V,"print2",function(){return St}),f.d(V,"getHtml",function(){return Ut}),S.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var M=I.a.instance.getHooks("ready");M&&M.forEach(i=>{i.run({p:I,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let Xe=Qe(Et);(function(tt){tt.fn.hiwprint=function(y){var p=document.getElementById("hiwprint_iframe");p&&p.parentNode.removeChild(p);var I=tt.extend({},tt.fn.hiwprint.defaults,y),l=this,H=tt('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),D="";I.importCss&&(I.styleHandler&&(D+=I.styleHandler()),tt("link[media=print]").length>0&&tt("link[media=print]").each(function(){tt(this).attr("href").indexOf("print-lock.css")>=0&&(D+='<link rel="stylesheet" type="text/css" media="print" href="'+tt(this).attr("href")+'">',D+='<link rel="stylesheet" type="text/css" href="'+tt(this).attr("href")+'">')})),H[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>",H[0].onload=function(){var N=H[0].contentWindow||H[0].contentDocument;N.document&&(N=N.document),H.attr("srcdoc")||N.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>"),I.printContainer?N.body.innerHTML=l[0].outerHTML:N.body.innerHTML=l.html(),B(N,function(){V(H[0],I)})},H.appendTo("body")},tt.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function V(y,p){try{if(y.focus(),G()||f())try{y.contentWindow.document.execCommand("print",!1,null)}catch{y.contentWindow.print()}else y.contentWindow.print();p.callback&&p.callback()}catch(I){console.log(I)}}function f(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function G(){return!f()&&!!window.StyleMedia}function B(y,p,I){I===void 0&&(I=0);for(var l=y.getElementsByTagName("img"),H=!0,D=0;D<l.length;D++){var N=l[D];N.src&&N.src!==window.location.href&&N.src.indexOf("base64")==-1&&(!N||typeof N.naturalWidth>"u"||N.naturalWidth===0||!N.complete)&&(N.complete||(H=!1))}I++,!H&&I<10?setTimeout(function(){B(y,p,I)},500):p()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.16",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const _e=function(tt){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(tt)},Ke=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=Et;exports.autoConnect=_e;exports.defaultElementTypeProvider=Xe;exports.disAutoConnect=Ke;exports.hiprint=Et;
|