@sv-print/hiprint 0.1.17 → 0.1.19
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 +142 -142
- package/dist/index.mjs +6691 -6671
- package/dist/index.umd.js +142 -142
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const $=require("jquery"),JsBarcode=require("jsbarcode"),socket_ioClient=require("socket.io-client"),jspdf=require("jspdf"),html2canvas=require("html2canvas"),Canvg=require("canvg"),_interopDefaultLegacy=J=>J&&typeof J=="object"&&"default"in J?J:{default:J},$__default=_interopDefaultLegacy($),JsBarcode__default=_interopDefaultLegacy(JsBarcode),html2canvas__default=_interopDefaultLegacy(html2canvas),Canvg__default=_interopDefaultLegacy(Canvg);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jquery_minicolors_min={exports:{}};(function(J,z){(function(l){J.exports=l($__default.default)})(function(l){function U(r){var c=r.parent();r.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),c.before(r).remove()}function x(r){var c=r.parent(),b=c.find(".minicolors-panel"),j=r.data("minicolors-settings");!r.data("minicolors-initialized")||r.prop("disabled")||c.hasClass("minicolors-inline")||c.hasClass("minicolors-focus")||(v(),c.addClass("minicolors-focus"),b.animate?b.stop(!0,!0).fadeIn(j.showSpeed,function(){j.show&&j.show.call(r.get(0))}):(b.show(),j.show&&j.show.call(r.get(0))))}function v(){l(".minicolors-focus").each(function(){var r=l(this),c=r.find(".minicolors-input"),b=r.find(".minicolors-panel"),j=c.data("minicolors-settings");b.animate?b.fadeOut(j.hideSpeed,function(){j.hide&&j.hide.call(c.get(0)),r.removeClass("minicolors-focus")}):(b.hide(),j.hide&&j.hide.call(c.get(0)),r.removeClass("minicolors-focus"))})}function p(r,c,b){var j,d,g,E,W,G=r.parents(".minicolors").find(".minicolors-input"),V=G.data("minicolors-settings"),K=r.find("[class$=-picker]"),Y=r.offset().left,q=r.offset().top,et=Math.round(c.pageX-Y),R=Math.round(c.pageY-q),nt=b?V.animationSpeed:0;c.originalEvent.changedTouches&&(et=c.originalEvent.changedTouches[0].pageX-Y,R=c.originalEvent.changedTouches[0].pageY-q),et<0&&(et=0),R<0&&(R=0),et>r.width()&&(et=r.width()),R>r.height()&&(R=r.height()),r.parent().is(".minicolors-slider-wheel")&&K.parent().is(".minicolors-grid")&&(j=75-et,d=75-R,g=Math.sqrt(j*j+d*d),(E=Math.atan2(d,j))<0&&(E+=2*Math.PI),75<g&&(et=(g=75)-75*Math.cos(E),R=75-75*Math.sin(E)),et=Math.round(et),R=Math.round(R)),W={top:R+"px"},r.is(".minicolors-grid")&&(W.left=et+"px"),K.animate?K.stop(!0).animate(W,nt,V.animationEasing,function(){m(G,r)}):(K.css(W),m(G,r))}function m(r,c){function b(ht,jt){var St,Tt;return ht.length&&jt?(St=ht.offset().left,Tt=ht.offset().top,{x:St-jt.offset().left+ht.outerWidth()/2,y:Tt-jt.offset().top+ht.outerHeight()/2}):null}var j,d,g,E,W,G,V,K=r.val(),Y=r.attr("data-opacity"),q=r.parent(),et=r.data("minicolors-settings"),R=q.find(".minicolors-input-swatch"),nt=q.find(".minicolors-grid"),st=q.find(".minicolors-slider"),ut=q.find(".minicolors-opacity-slider"),It=nt.find("[class$=-picker]"),vt=st.find("[class$=-picker]"),yt=ut.find("[class$=-picker]"),gt=b(It,nt),Mt=b(vt,st),ft=b(yt,ut);if(c.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(et.control){case"wheel":E=nt.width()/2-gt.x,W=nt.height()/2-gt.y,G=Math.sqrt(E*E+W*W),(V=Math.atan2(W,E))<0&&(V+=2*Math.PI),75<G&&(G=75,gt.x=69-75*Math.cos(V),gt.y=69-75*Math.sin(V)),d=D(G/.75,0,100),K=a({h:j=D(180*V/Math.PI,0,360),s:d,b:g=D(100-Math.floor(Mt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:j,s:d,b:100}));break;case"saturation":K=a({h:j=D(parseInt(gt.x*(360/nt.width()),10),0,360),s:d=D(100-Math.floor(Mt.y*(100/st.height())),0,100),b:g=D(100-Math.floor(gt.y*(100/nt.height())),0,100)}),st.css("backgroundColor",a({h:j,s:100,b:g})),q.find(".minicolors-grid-inner").css("opacity",d/100);break;case"brightness":K=a({h:j=D(parseInt(gt.x*(360/nt.width()),10),0,360),s:d=D(100-Math.floor(gt.y*(100/nt.height())),0,100),b:g=D(100-Math.floor(Mt.y*(100/st.height())),0,100)}),st.css("backgroundColor",a({h:j,s:d,b:100})),q.find(".minicolors-grid-inner").css("opacity",1-g/100);break;default:K=a({h:j=D(360-parseInt(Mt.y*(360/st.height()),10),0,360),s:d=D(Math.floor(gt.x*(100/nt.width())),0,100),b:g=D(100-Math.floor(gt.y*(100/nt.height())),0,100)}),nt.css("backgroundColor",a({h:j,s:100,b:100}))}h(r,K,Y=et.opacity?parseFloat(1-ft.y/ut.height()).toFixed(2):1)}else R.find("span").css({backgroundColor:K,opacity:String(Y)}),A(r,K,Y)}function h(r,c,b){var j,d=r.parent(),g=r.data("minicolors-settings"),E=d.find(".minicolors-input-swatch");g.opacity&&r.attr("data-opacity",b),c=g.format==="rgb"?(j=Z(c)?S(c,!0):f(I(c,!0)),b=r.attr("data-opacity")===""?1:D(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),!isNaN(b)&&g.opacity||(b=1),r.minicolors("rgbObject").a<=1&&j&&g.opacity?"rgba("+j.r+", "+j.g+", "+j.b+", "+parseFloat(b)+")":"rgb("+j.r+", "+j.g+", "+j.b+")"):(Z(c)&&(c=T(c)),y(c,g.letterCase)),r.val(c),E.find("span").css({backgroundColor:c,opacity:String(b)}),A(r,c,b)}function B(r,c){var b,j,d,g,E,W,G,V,K,Y,q=r.parent(),et=r.data("minicolors-settings"),R=q.find(".minicolors-input-swatch"),nt=q.find(".minicolors-grid"),st=q.find(".minicolors-slider"),ut=q.find(".minicolors-opacity-slider"),It=nt.find("[class$=-picker]"),vt=st.find("[class$=-picker]"),yt=ut.find("[class$=-picker]");switch(Z(r.val())?(b=T(r.val()),(E=D(parseFloat(H(r.val())).toFixed(2),0,1))&&r.attr("data-opacity",E)):b=y(I(r.val(),!0),et.letterCase),j=function(gt){var Mt=function(ft){var ht={h:0,s:0,b:0},jt=Math.min(ft.r,ft.g,ft.b),St=Math.max(ft.r,ft.g,ft.b),Tt=St-jt;return ht.b=St,ht.s=St!==0?255*Tt/St:0,ht.s!==0?ft.r===St?ht.h=(ft.g-ft.b)/Tt:ft.g===St?ht.h=2+(ft.b-ft.r)/Tt:ht.h=4+(ft.r-ft.g)/Tt:ht.h=-1,ht.h*=60,ht.h<0&&(ht.h+=360),ht.s*=.39215686274509803,ht.b*=.39215686274509803,ht}(f(gt));return Mt.s===0&&(Mt.h=360),Mt}(b=b||y(N(et.defaultValue,!0),et.letterCase)),g=et.keywords?l.map(et.keywords.split(","),function(gt){return gt.toLowerCase().trim()}):[],W=r.val()!==""&&-1<l.inArray(r.val().toLowerCase(),g)?y(r.val()):Z(r.val())?S(r.val()):b,c||r.val(W),et.opacity&&(d=r.attr("data-opacity")===""?1:D(parseFloat(r.attr("data-opacity")).toFixed(2),0,1),isNaN(d)&&(d=1),r.attr("data-opacity",d),R.find("span").css("opacity",String(d)),V=D(ut.height()-ut.height()*d,0,ut.height()),yt.css("top",V+"px")),r.val().toLowerCase()==="transparent"&&R.find("span").css("opacity",String(0)),R.find("span").css("backgroundColor",b),et.control){case"wheel":K=D(Math.ceil(.75*j.s),0,nt.height()/2),Y=j.h*Math.PI/180,G=D(75-Math.cos(Y)*K,0,nt.width()),V=D(75-Math.sin(Y)*K,0,nt.height()),It.css({top:V+"px",left:G+"px"}),V=150-j.b/(100/nt.height()),b===""&&(V=0),vt.css("top",V+"px"),st.css("backgroundColor",a({h:j.h,s:j.s,b:100}));break;case"saturation":G=D(5*j.h/12,0,150),V=D(nt.height()-Math.ceil(j.b/(100/nt.height())),0,nt.height()),It.css({top:V+"px",left:G+"px"}),V=D(st.height()-j.s*(st.height()/100),0,st.height()),vt.css("top",V+"px"),st.css("backgroundColor",a({h:j.h,s:100,b:j.b})),q.find(".minicolors-grid-inner").css("opacity",j.s/100);break;case"brightness":G=D(5*j.h/12,0,150),V=D(nt.height()-Math.ceil(j.s/(100/nt.height())),0,nt.height()),It.css({top:V+"px",left:G+"px"}),V=D(st.height()-j.b*(st.height()/100),0,st.height()),vt.css("top",V+"px"),st.css("backgroundColor",a({h:j.h,s:j.s,b:100})),q.find(".minicolors-grid-inner").css("opacity",1-j.b/100);break;default:G=D(Math.ceil(j.s/(100/nt.width())),0,nt.width()),V=D(nt.height()-Math.ceil(j.b/(100/nt.height())),0,nt.height()),It.css({top:V+"px",left:G+"px"}),V=D(st.height()-j.h/(360/st.height()),0,st.height()),vt.css("top",V+"px"),nt.css("backgroundColor",a({h:j.h,s:100,b:100}))}r.data("minicolors-initialized")&&A(r,W,d)}function A(r,c,b){var j,d,g,E=r.data("minicolors-settings"),W=r.data("minicolors-lastChange");if(!W||W.value!==c||W.opacity!==b){if(r.data("minicolors-lastChange",{value:c,opacity:b}),E.swatches&&E.swatches.length!==0){for(j=Z(c)?S(c,!0):f(c),d=-1,g=0;g<E.swatches.length;++g)if(j.r===E.swatches[g].r&&j.g===E.swatches[g].g&&j.b===E.swatches[g].b&&j.a===E.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")}E.change&&(E.changeDelay?(clearTimeout(r.data("minicolors-changeTimeout")),r.data("minicolors-changeTimeout",setTimeout(function(){E.change.call(r.get(0),c,b)},E.changeDelay))):E.change.call(r.get(0),c,b)),r.trigger("change").trigger("input")}}function y(r,c){return c==="uppercase"?r.toUpperCase():r.toLowerCase()}function I(r,c){return!(r=r.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||r.length!==3&&r.length!==6?"":(r.length===3&&c&&(r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]),"#"+r)}function S(r,c){var b=r.replace(/[^\d,.]/g,"").split(",");return b[0]=D(parseInt(b[0],10),0,255),b[1]=D(parseInt(b[1],10),0,255),b[2]=D(parseInt(b[2],10),0,255),b[3]!==void 0&&(b[3]=D(parseFloat(b[3],10),0,1)),c?b[3]!==void 0?{r:b[0],g:b[1],b:b[2],a:b[3]}:{r:b[0],g:b[1],b:b[2]}:b[3]!==void 0&&b[3]<=1?"rgba("+b[0]+", "+b[1]+", "+b[2]+", "+b[3]+")":"rgb("+b[0]+", "+b[1]+", "+b[2]+")"}function N(r,c){return Z(r)?S(r):I(r,c)}function D(r,c,b){return r<c&&(r=c),b<r&&(r=b),r}function Z(r){var c=r.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!c||c.length!==4)}function H(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 T(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 w(r){var c=[r.r.toString(16),r.g.toString(16),r.b.toString(16)];return l.each(c,function(b,j){j.length===1&&(c[b]="0"+j)}),"#"+c.join("")}function a(r){return w((c=r,g={},E=Math.round(c.h),W=Math.round(255*c.s/100),G=Math.round(255*c.b/100),W===0?g.r=g.g=g.b=G:(d=E%60*((b=G)-(j=(255-W)*G/255))/60,E===360&&(E=0),E<60?(g.r=b,g.b=j,g.g=j+d):E<120?(g.g=b,g.b=j,g.r=b-d):E<180?(g.g=b,g.r=j,g.b=j+d):E<240?(g.b=b,g.r=j,g.g=b-d):E<300?(g.b=b,g.g=j,g.r=j+d):E<360?(g.r=b,g.g=j,g.b=b-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 c,b,j,d,g,E,W,G}function f(r){return{r:(r=parseInt(-1<r.indexOf("#")?r.substring(1):r,16))>>16,g:(65280&r)>>8,b:255&r}}l.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:[]}},l.extend(l.fn,{minicolors:function(r,c){switch(r){case"destroy":return l(this).each(function(){U(l(this))}),l(this);case"hide":return v(),l(this);case"opacity":return c===void 0?l(this).attr("data-opacity"):(l(this).each(function(){B(l(this).attr("data-opacity",c))}),l(this));case"rgbObject":return function(b){var j,d=l(b).attr("data-opacity");{var g;j=Z(l(b).val())?S(l(b).val(),!0):(g=I(l(b).val(),!0),f(g))}return j?(d!==void 0&&l.extend(j,{a:parseFloat(d)}),j):null}(l(this));case"rgbString":case"rgbaString":return function(b,j){var d,g=l(b).attr("data-opacity");{var E;d=Z(l(b).val())?S(l(b).val(),!0):(E=I(l(b).val(),!0),f(E))}return d?(g===void 0&&(g=1),j?"rgba("+d.r+", "+d.g+", "+d.b+", "+parseFloat(g)+")":"rgb("+d.r+", "+d.g+", "+d.b+")"):null}(l(this),r==="rgbaString");case"settings":return c===void 0?l(this).data("minicolors-settings"):(l(this).each(function(){var b=l(this).data("minicolors-settings")||{};U(l(this)),l(this).minicolors(l.extend(!0,b,c))}),l(this));case"show":return x(l(this).eq(0)),l(this);case"value":return c===void 0?l(this).val():(l(this).each(function(){typeof c=="object"&&c!==null?(c.opacity!==void 0&&l(this).attr("data-opacity",D(c.opacity,0,1)),c.color&&l(this).val(c.color)):l(this).val(c),B(l(this))}),l(this));default:return r!=="create"&&(c=r),l(this).each(function(){(function(b,j){var d,g,E,W,G,V,K,Y=l('<div class="minicolors" />'),q=l.minicolors.defaults;if(!b.data("minicolors-initialized")){if(j=l.extend(!0,{},q,j),Y.addClass("minicolors-theme-"+j.theme).toggleClass("minicolors-with-opacity",j.opacity),j.position!==void 0&&l.each(j.position.split(" "),function(){Y.addClass("minicolors-position-"+this)}),g=j.format==="rgb"?j.opacity?"25":"20":j.keywords?"11":"7",b.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",j).prop("size",g).wrap(Y).after('<div class="minicolors-panel minicolors-slider-'+j.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>'),j.inline||(b.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),b.next(".minicolors-input-swatch").on("click",function(et){et.preventDefault(),b.trigger("focus")})),(V=b.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),j.swatches&&j.swatches.length!==0)for(V.addClass("minicolors-with-swatches"),E=l('<ul class="minicolors-swatches"></ul>').appendTo(V),K=0;K<j.swatches.length;++K)W=typeof j.swatches[K]=="object"?(d=j.swatches[K].name,j.swatches[K].color):(d="",j.swatches[K]),W=Z(G=W)?S(W,!0):f(I(W,!0)),l('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",d).appendTo(E).data("swatch-color",G).find(".minicolors-swatch-color").css({backgroundColor:G!=="transparent"?w(W):"transparent",opacity:String(W.a)}),j.swatches[K]=W;j.inline&&b.parent().addClass("minicolors-inline"),B(b,!1),b.data("minicolors-initialized",!0)}})(l(this),c)}),l(this)}}}),l([document]).on("mousedown.minicolors touchstart.minicolors",function(r){l(r.target).parents().add(r.target).hasClass("minicolors")||v()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(r){var c=l(this);r.preventDefault(),l(r.delegateTarget).data("minicolors-target",c),p(c,r,!0)}).on("mousemove.minicolors touchmove.minicolors",function(r){var c=l(r.delegateTarget).data("minicolors-target");c&&p(c,r)}).on("mouseup.minicolors touchend.minicolors",function(){l(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(r){r.preventDefault();var c=l(this),b=c.parents(".minicolors").find(".minicolors-input"),j=c.data("swatch-color");h(b,j,H(j)),B(b)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(r){var c=l(this).parent().find(".minicolors-input");r.preventDefault(),x(c)}).on("focus.minicolors",".minicolors-input",function(){var r=l(this);r.data("minicolors-initialized")&&x(r)}).on("blur.minicolors",".minicolors-input",function(){var r,c,b,j,d,g=l(this),E=g.data("minicolors-settings");g.data("minicolors-initialized")&&(r=E.keywords?l.map(E.keywords.split(","),function(W){return W.toLowerCase().trim()}):[],d=g.val()!==""&&-1<l.inArray(g.val().toLowerCase(),r)?g.val():(b=Z(g.val())?S(g.val(),!0):(c=I(g.val(),!0))?f(c):null)===null?E.defaultValue:E.format==="rgb"?E.opacity?S("rgba("+b.r+","+b.g+","+b.b+","+g.attr("data-opacity")+")"):S("rgb("+b.r+","+b.g+","+b.b+")"):w(b),j=E.opacity?g.attr("data-opacity"):1,d.toLowerCase()==="transparent"&&(j=0),g.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(j)),g.val(d),g.val()===""&&g.val(N(E.defaultValue,!0)),g.val(y(g.val(),E.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(r){var c=l(this);if(c.data("minicolors-initialized"))switch(r.which){case 9:v();break;case 13:case 27:v(),c.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var r=l(this);r.data("minicolors-initialized")&&B(r,!0)}).on("paste.minicolors",".minicolors-input",function(){var r=l(this);r.data("minicolors-initialized")&&setTimeout(function(){B(r,!0)},1)})})})(jquery_minicolors_min);(function(){function J(a){this.mode=l.MODE_8BIT_BYTE,this.data=a,this.parsedData=[];for(var f=0,r=this.data.length;f<r;f++){var c=[],b=this.data.charCodeAt(f);b>65536?(c[0]=240|(b&1835008)>>>18,c[1]=128|(b&258048)>>>12,c[2]=128|(b&4032)>>>6,c[3]=128|b&63):b>2048?(c[0]=224|(b&61440)>>>12,c[1]=128|(b&4032)>>>6,c[2]=128|b&63):b>128?(c[0]=192|(b&1984)>>>6,c[1]=128|b&63):c[0]=b,this.parsedData.push(c)}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))}J.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 z(a,f){this.typeNumber=a,this.errorCorrectLevel=f,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}z.prototype={addData:function(a){var f=new J(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 c=0;c<this.moduleCount;c++)this.modules[r][c]=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=z.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 c=-1;c<=7;c++)f+c<=-1||this.moduleCount<=f+c||(0<=r&&r<=6&&(c==0||c==6)||0<=c&&c<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=c&&c<=4?this.modules[a+r][f+c]=!0:this.modules[a+r][f+c]=!1)},getBestMaskPattern:function(){for(var a=0,f=0,r=0;r<8;r++){this.makeImpl(!0,r);var c=v.getLostPoint(this);(r==0||a>c)&&(a=c,f=r)}return f},createMovieClip:function(a,f,r){var c=a.createEmptyMovieClip(f,r),b=1;this.make();for(var j=0;j<this.modules.length;j++)for(var d=j*b,g=0;g<this.modules[j].length;g++){var E=g*b,W=this.modules[j][g];W&&(c.beginFill(0,100),c.moveTo(E,d),c.lineTo(E+b,d),c.lineTo(E+b,d+b),c.lineTo(E,d+b),c.endFill())}return c},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 c=a[f],b=a[r];if(this.modules[c][b]==null)for(var j=-2;j<=2;j++)for(var d=-2;d<=2;d++)j==-2||j==2||d==-2||d==2||j==0&&d==0?this.modules[c+j][b+d]=!0:this.modules[c+j][b+d]=!1}},setupTypeNumber:function(a){for(var f=v.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var c=!a&&(f>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=c}for(var r=0;r<18;r++){var c=!a&&(f>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=c}},setupTypeInfo:function(a,f){for(var r=this.errorCorrectLevel<<3|f,c=v.getBCHTypeInfo(r),b=0;b<15;b++){var j=!a&&(c>>b&1)==1;b<6?this.modules[b][8]=j:b<8?this.modules[b+1][8]=j:this.modules[this.moduleCount-15+b][8]=j}for(var b=0;b<15;b++){var j=!a&&(c>>b&1)==1;b<8?this.modules[8][this.moduleCount-b-1]=j:b<9?this.modules[8][15-b-1+1]=j:this.modules[8][15-b-1]=j}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,f){for(var r=-1,c=this.moduleCount-1,b=7,j=0,d=this.moduleCount-1;d>0;d-=2)for(d==6&&d--;;){for(var g=0;g<2;g++)if(this.modules[c][d-g]==null){var E=!1;j<a.length&&(E=(a[j]>>>b&1)==1);var W=v.getMask(f,c,d-g);W&&(E=!E),this.modules[c][d-g]=E,b--,b==-1&&(j++,b=7)}if(c+=r,c<0||this.moduleCount<=c){c-=r,r=-r;break}}}},z.PAD0=236,z.PAD1=17,z.createData=function(a,f,r){for(var c=B.getRSBlocks(a,f),b=new A,j=0;j<r.length;j++){var d=r[j];b.put(d.mode,4),b.put(d.getLength(),v.getLengthInBits(d.mode,a)),d.write(b)}for(var g=0,j=0;j<c.length;j++)g+=c[j].dataCount;if(b.getLengthInBits()>g*8)throw new Error("code length overflow. ("+b.getLengthInBits()+">"+g*8+")");for(b.getLengthInBits()+4<=g*8&&b.put(0,4);b.getLengthInBits()%8!=0;)b.putBit(!1);for(;!(b.getLengthInBits()>=g*8||(b.put(z.PAD0,8),b.getLengthInBits()>=g*8));)b.put(z.PAD1,8);return z.createBytes(b,c)},z.createBytes=function(a,f){for(var r=0,c=0,b=0,j=new Array(f.length),d=new Array(f.length),g=0;g<f.length;g++){var E=f[g].dataCount,W=f[g].totalCount-E;c=Math.max(c,E),b=Math.max(b,W),j[g]=new Array(E);for(var G=0;G<j[g].length;G++)j[g][G]=255&a.buffer[G+r];r+=E;var V=v.getErrorCorrectPolynomial(W),K=new h(j[g],V.getLength()-1),Y=K.mod(V);d[g]=new Array(V.getLength()-1);for(var G=0;G<d[g].length;G++){var q=G+Y.getLength()-d[g].length;d[g][G]=q>=0?Y.get(q):0}}for(var et=0,G=0;G<f.length;G++)et+=f[G].totalCount;for(var R=new Array(et),nt=0,G=0;G<c;G++)for(var g=0;g<f.length;g++)G<j[g].length&&(R[nt++]=j[g][G]);for(var G=0;G<b;G++)for(var g=0;g<f.length;g++)G<d[g].length&&(R[nt++]=d[g][G]);return R};for(var l={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},U={L:1,M:0,Q:3,H:2},x={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 x.PATTERN000:return(f+r)%2==0;case x.PATTERN001:return f%2==0;case x.PATTERN010:return r%3==0;case x.PATTERN011:return(f+r)%3==0;case x.PATTERN100:return(Math.floor(f/2)+Math.floor(r/3))%2==0;case x.PATTERN101:return f*r%2+f*r%3==0;case x.PATTERN110:return(f*r%2+f*r%3)%2==0;case x.PATTERN111:return(f*r%3+(f+r)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var f=new h([1],0),r=0;r<a;r++)f=f.multiply(new h([1,p.gexp(r)],0));return f},getLengthInBits:function(a,f){if(1<=f&&f<10)switch(a){case l.MODE_NUMBER:return 10;case l.MODE_ALPHA_NUM:return 9;case l.MODE_8BIT_BYTE:return 8;case l.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(f<27)switch(a){case l.MODE_NUMBER:return 12;case l.MODE_ALPHA_NUM:return 11;case l.MODE_8BIT_BYTE:return 16;case l.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else if(f<41)switch(a){case l.MODE_NUMBER:return 14;case l.MODE_ALPHA_NUM:return 13;case l.MODE_8BIT_BYTE:return 16;case l.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,c=0;c<f;c++)for(var b=0;b<f;b++){for(var j=0,d=a.isDark(c,b),g=-1;g<=1;g++)if(!(c+g<0||f<=c+g))for(var E=-1;E<=1;E++)b+E<0||f<=b+E||g==0&&E==0||d==a.isDark(c+g,b+E)&&j++;j>5&&(r+=3+j-5)}for(var c=0;c<f-1;c++)for(var b=0;b<f-1;b++){var W=0;a.isDark(c,b)&&W++,a.isDark(c+1,b)&&W++,a.isDark(c,b+1)&&W++,a.isDark(c+1,b+1)&&W++,(W==0||W==4)&&(r+=3)}for(var c=0;c<f;c++)for(var b=0;b<f-6;b++)a.isDark(c,b)&&!a.isDark(c,b+1)&&a.isDark(c,b+2)&&a.isDark(c,b+3)&&a.isDark(c,b+4)&&!a.isDark(c,b+5)&&a.isDark(c,b+6)&&(r+=40);for(var b=0;b<f;b++)for(var c=0;c<f-6;c++)a.isDark(c,b)&&!a.isDark(c+1,b)&&a.isDark(c+2,b)&&a.isDark(c+3,b)&&a.isDark(c+4,b)&&!a.isDark(c+5,b)&&a.isDark(c+6,b)&&(r+=40);for(var G=0,b=0;b<f;b++)for(var c=0;c<f;c++)a.isDark(c,b)&&G++;var V=Math.abs(100*G/f/f-50)/5;return r+=V*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)},m=0;m<8;m++)p.EXP_TABLE[m]=1<<m;for(var m=8;m<256;m++)p.EXP_TABLE[m]=p.EXP_TABLE[m-4]^p.EXP_TABLE[m-5]^p.EXP_TABLE[m-6]^p.EXP_TABLE[m-8];for(var m=0;m<255;m++)p.LOG_TABLE[p.EXP_TABLE[m]]=m;function h(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 c=0;c<a.length-r;c++)this.num[c]=a[c+r]}h.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 c=0;c<a.getLength();c++)f[r+c]^=p.gexp(p.glog(this.get(r))+p.glog(a.get(c)));return new h(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()),c=0;c<this.getLength();c++)r[c]=this.get(c);for(var c=0;c<a.getLength();c++)r[c]^=p.gexp(p.glog(a.get(c))+f);return new h(r,0).mod(a)}};function B(a,f){this.totalCount=a,this.dataCount=f}B.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],B.getRSBlocks=function(a,f){var r=B.getRsBlockTable(a,f);if(r==null)throw new Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+f);for(var c=r.length/3,b=[],j=0;j<c;j++)for(var d=r[j*3+0],g=r[j*3+1],E=r[j*3+2],W=0;W<d;W++)b.push(new B(g,E));return b},B.getRsBlockTable=function(a,f){switch(f){case U.L:return B.RS_BLOCK_TABLE[(a-1)*4+0];case U.M:return B.RS_BLOCK_TABLE[(a-1)*4+1];case U.Q:return B.RS_BLOCK_TABLE[(a-1)*4+2];case U.H:return B.RS_BLOCK_TABLE[(a-1)*4+3];default:return}};function A(){this.buffer=[],this.length=0}A.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 y=[[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 I(){return typeof CanvasRenderingContext2D<"u"}function S(){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 N=function(){var a=function(f,r){this._el=f,this._htOption=r};return a.prototype.draw=function(f){var r=this._htOption,c=this._el,b=f.getModuleCount();Math.floor(r.width/b),Math.floor(r.height/b),this.clear();function j(G,V){var K=document.createElementNS("http://www.w3.org/2000/svg",G);for(var Y in V)V.hasOwnProperty(Y)&&K.setAttribute(Y,V[Y]);return K}var d=j("svg",{viewBox:"0 0 "+String(b)+" "+String(b),width:"100%",height:"100%",fill:r.colorLight});d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),c.appendChild(d),d.appendChild(j("rect",{fill:r.colorLight,width:"100%",height:"100%"})),d.appendChild(j("rect",{fill:r.colorDark,width:"1",height:"1",id:"template"}));for(var g=0;g<b;g++)for(var E=0;E<b;E++)if(f.isDark(g,E)){var W=j("use",{x:String(E),y:String(g)});W.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),d.appendChild(W)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),D=document.documentElement.tagName.toLowerCase()==="svg",Z=D?N:I()?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(j,d,g,E,W,G,V,K,Y){if("nodeName"in j&&/img/i.test(j.nodeName))for(var q=arguments.length-1;q>=1;q--)arguments[q]=arguments[q]*f;else typeof K>"u"&&(arguments[1]*=f,arguments[2]*=f,arguments[3]*=f,arguments[4]*=f);r.apply(this,arguments)}}function c(j,d){var g=this;if(g._fFail=d,g._fSuccess=j,g._bSupportDataURI===null){var E=document.createElement("img"),W=function(){g._bSupportDataURI=!1,g._fFail&&g._fFail.call(g)},G=function(){g._bSupportDataURI=!0,g._fSuccess&&g._fSuccess.call(g)};E.onabort=W,E.onerror=W,E.onload=G,E.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 b=function(j,d){this._bIsPainted=!1,this._android=S(),this._htOption=d,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=d.width,this._elCanvas.height=d.height,j.appendChild(this._elCanvas),this._el=j,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 b.prototype.draw=function(j){var d=this._elImage,g=this._oContext,E=this._htOption,W=j.getModuleCount(),G=E.width/W,V=E.height/W,K=Math.round(G),Y=Math.round(V);d.style.display="none",this.clear();for(var q=0;q<W;q++)for(var et=0;et<W;et++){var R=j.isDark(q,et),nt=et*G,st=q*V;g.strokeStyle=R?E.colorDark:E.colorLight,g.lineWidth=1,g.fillStyle=R?E.colorDark:E.colorLight,g.fillRect(nt,st,G,V),g.strokeRect(Math.floor(nt)+.5,Math.floor(st)+.5,K,Y),g.strokeRect(Math.ceil(nt)-.5,Math.ceil(st)-.5,K,Y)}this._bIsPainted=!0},b.prototype.makeImage=function(){this._bIsPainted&&c.call(this,a)},b.prototype.isPainted=function(){return this._bIsPainted},b.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},b.prototype.round=function(j){return j&&Math.floor(j*1e3)/1e3},b}():function(){var a=function(f,r){this._el=f,this._htOption=r};return a.prototype.draw=function(f){for(var r=this._htOption,c=this._el,b=f.getModuleCount(),j=Math.floor(r.width/b),d=Math.floor(r.height/b),g=['<table style="border:0;border-collapse:collapse;">'],E=0;E<b;E++){g.push("<tr>");for(var W=0;W<b;W++)g.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+j+"px;height:"+d+"px;background-color:"+(f.isDark(E,W)?r.colorDark:r.colorLight)+';"></td>');g.push("</tr>")}g.push("</table>"),c.innerHTML=g.join("");var G=c.childNodes[0],V=(r.width-G.offsetWidth)/2,K=(r.height-G.offsetHeight)/2;V>0&&K>0&&(G.style.margin=K+"px "+V+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();function H(a,f){for(var r=1,c=T(a),b=0,j=y.length;b<=j;b++){var d=0;switch(f){case U.L:d=y[b][0];break;case U.M:d=y[b][1];break;case U.Q:d=y[b][2];break;case U.H:d=y[b][3];break}if(c<=d)break;r++}if(r>y.length)throw new Error("Too long data");return r}function T(a){var f=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return f.length+(f.length!=a?3:0)}var w=function(a,f){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:U.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&&(Z=N),this._android=S(),this._el=a,this._oQRCode=null,this._oDrawing=new Z(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};w.prototype.makeCode=function(a){this._oQRCode=new z(H(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()},w.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},w.prototype.clear=function(){this._oDrawing.clear()},w.CorrectLevel=U,window.QRCode=w})();function timeFormat(J,z="YYYY-MM-DD"){if(!J)return null;typeof J=="number"&&(J=new Date(J));const l=J.getFullYear(),U=J.getMonth(),x=J.getDate(),v=J.getHours(),p=v%12===0?12:v%12,m=J.getMinutes(),h=J.getSeconds(),B=y=>`0${y}`.slice(-2),A={YYYY:l,MM:B(U+1),MMMM:`${U+1}\u6708`,M:U+1,DD:B(x),D:x,HH:B(v),H:v,hh:B(p),h:p,mm:B(m),m,ss:B(h),s:h};return z.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,y=>String(A[y]))}const defaultOption={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let observerMap={};function _createWatermark(J){const{id:z,watch:l,content:U,container:x,width:v,height:p,textAlign:m,textBaseline:h,fontSize:B,fontFamily:A,fillStyle:y,rotate:I,timestamp:S,format:N,zIndex:D}=J;observerMap[z]={wmMo:null,wmTimer:null};const Z=document.createElement("canvas");Z.setAttribute("width",`${v}px`),Z.setAttribute("height",`${p}px`);let H=typeof x=="string"?document.querySelector(x):x;const T=Z.getContext("2d");T.textAlign=m,T.textBaseline=h,T.font=`${B} ${A}`,T.fillStyle=y,T.translate(v/2,p/2),T.rotate(-(Math.PI/180)*I),T.fillText(`${U}`,0,0),S&&T.fillText(`${timeFormat(new Date,N)}`,0,parseInt(B)+5);let w=H.querySelector(".__vm__"+z);const a=w||document.createElement("div"),r=`position:absolute;user-select:none;top:0;left:0;${H.getAttribute("style")};z-index:${D};pointer-events:none !important;background-repeat:repeat;background-image:url('${Z.toDataURL()}')`;if(a.setAttribute("style",r),a.classList.add("__vm__"+z),w||H.insertBefore(a,H.children[1]),l){const c=window.MutationObserver||window.WebKitMutationObserver;c&&(observerMap[z].wmMo=new c(b=>{let j=b.some(d=>d.target.className==H.className&&d.type=="attributes");w=H.querySelector(".__vm__"+z),(w&&w.getAttribute("style")!==r||!w||j)&&(observerMap[z].wmMo.disconnect(),observerMap[z].wmMo=null,delete observerMap[z].wmMo,_createWatermark(J))}),observerMap[z].wmMo.observe(H,{attributes:!0,subtree:!0,childList:!0}))}if(N){let c=864e5;N.includes("s")?c=1e3:N.includes("m")?c=1e3*60:(N.includes("h")||N.includes("H"))&&(c=1e3*60*60),observerMap[z].wmTimer=window.setTimeout(()=>{a.style.bottom="0"},c)}}const destroyWatermark=function(J){const{id:z,watch:l,container:U}=J;if(l){let x=typeof U=="string"?document.querySelector(U):U;observerMap[z]&&(observerMap[z].wmMo&&observerMap[z].wmMo.disconnect(),observerMap[z].wmMo=null,observerMap[z].wmTimer&&window.clearTimeout(observerMap[z].wmTimer),observerMap[z].wmTimer=null,delete observerMap[z]);const v=x.querySelector(".__vm__"+z);v&&v.parentNode.removeChild(v)}},createWatermark=function(J){let z=Object.assign({},defaultOption,J);destroyWatermark(z),_createWatermark(z)},watermark={createWatermark,destroyWatermark},lImg="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2t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yb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIxNS41IiB5MT0iLTEwIiB4Mj0iMTUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIzNy41IiB5MT0iLTEwIiB4Mj0iMzcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1OS41IiB5MT0iLTEwIiB4Mj0iNTkuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var nzh_min={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const $=require("jquery"),JsBarcode=require("jsbarcode"),socket_ioClient=require("socket.io-client"),jspdf=require("jspdf"),html2canvas=require("html2canvas"),Canvg=require("canvg"),_interopDefaultLegacy=R=>R&&typeof R=="object"&&"default"in R?R:{default:R},$__default=_interopDefaultLegacy($),JsBarcode__default=_interopDefaultLegacy(JsBarcode),html2canvas__default=_interopDefaultLegacy(html2canvas),Canvg__default=_interopDefaultLegacy(Canvg);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jquery_minicolors_min={exports:{}};(function(R,L){(function(r){R.exports=r($__default.default)})(function(r){function B(a){var I=a.parent();a.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),I.before(a).remove()}function w(a){var I=a.parent(),f=I.find(".minicolors-panel"),P=a.data("minicolors-settings");!a.data("minicolors-initialized")||a.prop("disabled")||I.hasClass("minicolors-inline")||I.hasClass("minicolors-focus")||(b(),I.addClass("minicolors-focus"),f.animate?f.stop(!0,!0).fadeIn(P.showSpeed,function(){P.show&&P.show.call(a.get(0))}):(f.show(),P.show&&P.show.call(a.get(0))))}function b(){r(".minicolors-focus").each(function(){var a=r(this),I=a.find(".minicolors-input"),f=a.find(".minicolors-panel"),P=I.data("minicolors-settings");f.animate?f.fadeOut(P.hideSpeed,function(){P.hide&&P.hide.call(I.get(0)),a.removeClass("minicolors-focus")}):(f.hide(),P.hide&&P.hide.call(I.get(0)),a.removeClass("minicolors-focus"))})}function l(a,I,f){var P,c,d,A,z,k=a.parents(".minicolors").find(".minicolors-input"),F=k.data("minicolors-settings"),X=a.find("[class$=-picker]"),V=a.offset().left,K=a.offset().top,tt=Math.round(I.pageX-V),G=Math.round(I.pageY-K),it=f?F.animationSpeed:0;I.originalEvent.changedTouches&&(tt=I.originalEvent.changedTouches[0].pageX-V,G=I.originalEvent.changedTouches[0].pageY-K),tt<0&&(tt=0),G<0&&(G=0),tt>a.width()&&(tt=a.width()),G>a.height()&&(G=a.height()),a.parent().is(".minicolors-slider-wheel")&&X.parent().is(".minicolors-grid")&&(P=75-tt,c=75-G,d=Math.sqrt(P*P+c*c),(A=Math.atan2(c,P))<0&&(A+=2*Math.PI),75<d&&(tt=(d=75)-75*Math.cos(A),G=75-75*Math.sin(A)),tt=Math.round(tt),G=Math.round(G)),z={top:G+"px"},a.is(".minicolors-grid")&&(z.left=tt+"px"),X.animate?X.stop(!0).animate(z,it,F.animationEasing,function(){h(k,a)}):(X.css(z),h(k,a))}function h(a,I){function f(gt,Pt){var jt,St;return gt.length&&Pt?(jt=gt.offset().left,St=gt.offset().top,{x:jt-Pt.offset().left+gt.outerWidth()/2,y:St-Pt.offset().top+gt.outerHeight()/2}):null}var P,c,d,A,z,k,F,X=a.val(),V=a.attr("data-opacity"),K=a.parent(),tt=a.data("minicolors-settings"),G=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),lt=K.find(".minicolors-slider"),pt=K.find(".minicolors-opacity-slider"),ut=it.find("[class$=-picker]"),bt=lt.find("[class$=-picker]"),vt=pt.find("[class$=-picker]"),dt=f(ut,it),yt=f(bt,lt),ft=f(vt,pt);if(I.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(tt.control){case"wheel":A=it.width()/2-dt.x,z=it.height()/2-dt.y,k=Math.sqrt(A*A+z*z),(F=Math.atan2(z,A))<0&&(F+=2*Math.PI),75<k&&(k=75,dt.x=69-75*Math.cos(F),dt.y=69-75*Math.sin(F)),c=N(k/.75,0,100),X=o({h:P=N(180*F/Math.PI,0,360),s:c,b:d=N(100-Math.floor(yt.y*(100/lt.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:c,b:100}));break;case"saturation":X=o({h:P=N(parseInt(dt.x*(360/it.width()),10),0,360),s:c=N(100-Math.floor(yt.y*(100/lt.height())),0,100),b:d=N(100-Math.floor(dt.y*(100/it.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:100,b:d})),K.find(".minicolors-grid-inner").css("opacity",c/100);break;case"brightness":X=o({h:P=N(parseInt(dt.x*(360/it.width()),10),0,360),s:c=N(100-Math.floor(dt.y*(100/it.height())),0,100),b:d=N(100-Math.floor(yt.y*(100/lt.height())),0,100)}),lt.css("backgroundColor",o({h:P,s:c,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-d/100);break;default:X=o({h:P=N(360-parseInt(yt.y*(360/lt.height()),10),0,360),s:c=N(Math.floor(dt.x*(100/it.width())),0,100),b:d=N(100-Math.floor(dt.y*(100/it.height())),0,100)}),it.css("backgroundColor",o({h:P,s:100,b:100}))}g(a,X,V=tt.opacity?parseFloat(1-ft.y/pt.height()).toFixed(2):1)}else G.find("span").css({backgroundColor:X,opacity:String(V)}),D(a,X,V)}function g(a,I,f){var P,c=a.parent(),d=a.data("minicolors-settings"),A=c.find(".minicolors-input-swatch");d.opacity&&a.attr("data-opacity",f),I=d.format==="rgb"?(P=U(I)?S(I,!0):m(u(I,!0)),f=a.attr("data-opacity")===""?1:N(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),!isNaN(f)&&d.opacity||(f=1),a.minicolors("rgbObject").a<=1&&P&&d.opacity?"rgba("+P.r+", "+P.g+", "+P.b+", "+parseFloat(f)+")":"rgb("+P.r+", "+P.g+", "+P.b+")"):(U(I)&&(I=j(I)),v(I,d.letterCase)),a.val(I),A.find("span").css({backgroundColor:I,opacity:String(f)}),D(a,I,f)}function E(a,I){var f,P,c,d,A,z,k,F,X,V,K=a.parent(),tt=a.data("minicolors-settings"),G=K.find(".minicolors-input-swatch"),it=K.find(".minicolors-grid"),lt=K.find(".minicolors-slider"),pt=K.find(".minicolors-opacity-slider"),ut=it.find("[class$=-picker]"),bt=lt.find("[class$=-picker]"),vt=pt.find("[class$=-picker]");switch(U(a.val())?(f=j(a.val()),(A=N(parseFloat(x(a.val())).toFixed(2),0,1))&&a.attr("data-opacity",A)):f=v(u(a.val(),!0),tt.letterCase),P=function(dt){var yt=function(ft){var gt={h:0,s:0,b:0},Pt=Math.min(ft.r,ft.g,ft.b),jt=Math.max(ft.r,ft.g,ft.b),St=jt-Pt;return gt.b=jt,gt.s=jt!==0?255*St/jt:0,gt.s!==0?ft.r===jt?gt.h=(ft.g-ft.b)/St:ft.g===jt?gt.h=2+(ft.b-ft.r)/St:gt.h=4+(ft.r-ft.g)/St:gt.h=-1,gt.h*=60,gt.h<0&&(gt.h+=360),gt.s*=.39215686274509803,gt.b*=.39215686274509803,gt}(m(dt));return yt.s===0&&(yt.h=360),yt}(f=f||v(C(tt.defaultValue,!0),tt.letterCase)),d=tt.keywords?r.map(tt.keywords.split(","),function(dt){return dt.toLowerCase().trim()}):[],z=a.val()!==""&&-1<r.inArray(a.val().toLowerCase(),d)?v(a.val()):U(a.val())?S(a.val()):f,I||a.val(z),tt.opacity&&(c=a.attr("data-opacity")===""?1:N(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),isNaN(c)&&(c=1),a.attr("data-opacity",c),G.find("span").css("opacity",String(c)),F=N(pt.height()-pt.height()*c,0,pt.height()),vt.css("top",F+"px")),a.val().toLowerCase()==="transparent"&&G.find("span").css("opacity",String(0)),G.find("span").css("backgroundColor",f),tt.control){case"wheel":X=N(Math.ceil(.75*P.s),0,it.height()/2),V=P.h*Math.PI/180,k=N(75-Math.cos(V)*X,0,it.width()),F=N(75-Math.sin(V)*X,0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=150-P.b/(100/it.height()),f===""&&(F=0),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:P.s,b:100}));break;case"saturation":k=N(5*P.h/12,0,150),F=N(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.s*(lt.height()/100),0,lt.height()),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:100,b:P.b})),K.find(".minicolors-grid-inner").css("opacity",P.s/100);break;case"brightness":k=N(5*P.h/12,0,150),F=N(it.height()-Math.ceil(P.s/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.b*(lt.height()/100),0,lt.height()),bt.css("top",F+"px"),lt.css("backgroundColor",o({h:P.h,s:P.s,b:100})),K.find(".minicolors-grid-inner").css("opacity",1-P.b/100);break;default:k=N(Math.ceil(P.s/(100/it.width())),0,it.width()),F=N(it.height()-Math.ceil(P.b/(100/it.height())),0,it.height()),ut.css({top:F+"px",left:k+"px"}),F=N(lt.height()-P.h/(360/lt.height()),0,lt.height()),bt.css("top",F+"px"),it.css("backgroundColor",o({h:P.h,s:100,b:100}))}a.data("minicolors-initialized")&&D(a,z,c)}function D(a,I,f){var P,c,d,A=a.data("minicolors-settings"),z=a.data("minicolors-lastChange");if(!z||z.value!==I||z.opacity!==f){if(a.data("minicolors-lastChange",{value:I,opacity:f}),A.swatches&&A.swatches.length!==0){for(P=U(I)?S(I,!0):m(I),c=-1,d=0;d<A.swatches.length;++d)if(P.r===A.swatches[d].r&&P.g===A.swatches[d].g&&P.b===A.swatches[d].b&&P.a===A.swatches[d].a){c=d;break}a.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),c!==-1&&a.parent().find(".minicolors-swatches .minicolors-swatch").eq(d).addClass("selected")}A.change&&(A.changeDelay?(clearTimeout(a.data("minicolors-changeTimeout")),a.data("minicolors-changeTimeout",setTimeout(function(){A.change.call(a.get(0),I,f)},A.changeDelay))):A.change.call(a.get(0),I,f)),a.trigger("change").trigger("input")}}function v(a,I){return I==="uppercase"?a.toUpperCase():a.toLowerCase()}function u(a,I){return!(a=a.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||a.length!==3&&a.length!==6?"":(a.length===3&&I&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),"#"+a)}function S(a,I){var f=a.replace(/[^\d,.]/g,"").split(",");return f[0]=N(parseInt(f[0],10),0,255),f[1]=N(parseInt(f[1],10),0,255),f[2]=N(parseInt(f[2],10),0,255),f[3]!==void 0&&(f[3]=N(parseFloat(f[3],10),0,1)),I?f[3]!==void 0?{r:f[0],g:f[1],b:f[2],a:f[3]}:{r:f[0],g:f[1],b:f[2]}:f[3]!==void 0&&f[3]<=1?"rgba("+f[0]+", "+f[1]+", "+f[2]+", "+f[3]+")":"rgb("+f[0]+", "+f[1]+", "+f[2]+")"}function C(a,I){return U(a)?S(a):u(a,I)}function N(a,I,f){return a<I&&(a=I),f<a&&(a=f),a}function U(a){var I=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!I||I.length!==4)}function x(a){return(a=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&a.length===6?a[4]:"1"}function j(a){return(a=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&a.length===4?"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+("0"+parseInt(a[3],10).toString(16)).slice(-2):""}function T(a){var I=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];return r.each(I,function(f,P){P.length===1&&(I[f]="0"+P)}),"#"+I.join("")}function o(a){return T((I=a,d={},A=Math.round(I.h),z=Math.round(255*I.s/100),k=Math.round(255*I.b/100),z===0?d.r=d.g=d.b=k:(c=A%60*((f=k)-(P=(255-z)*k/255))/60,A===360&&(A=0),A<60?(d.r=f,d.b=P,d.g=P+c):A<120?(d.g=f,d.b=P,d.r=f-c):A<180?(d.g=f,d.r=P,d.b=P+c):A<240?(d.b=f,d.r=P,d.g=f-c):A<300?(d.b=f,d.g=P,d.r=P+c):A<360?(d.r=f,d.g=P,d.b=f-c):(d.r=0,d.g=0,d.b=0)),{r:Math.round(d.r),g:Math.round(d.g),b:Math.round(d.b)}));var I,f,P,c,d,A,z,k}function m(a){return{r:(a=parseInt(-1<a.indexOf("#")?a.substring(1):a,16))>>16,g:(65280&a)>>8,b:255&a}}r.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},r.extend(r.fn,{minicolors:function(a,I){switch(a){case"destroy":return r(this).each(function(){B(r(this))}),r(this);case"hide":return b(),r(this);case"opacity":return I===void 0?r(this).attr("data-opacity"):(r(this).each(function(){E(r(this).attr("data-opacity",I))}),r(this));case"rgbObject":return function(f){var P,c=r(f).attr("data-opacity");{var d;P=U(r(f).val())?S(r(f).val(),!0):(d=u(r(f).val(),!0),m(d))}return P?(c!==void 0&&r.extend(P,{a:parseFloat(c)}),P):null}(r(this));case"rgbString":case"rgbaString":return function(f,P){var c,d=r(f).attr("data-opacity");{var A;c=U(r(f).val())?S(r(f).val(),!0):(A=u(r(f).val(),!0),m(A))}return c?(d===void 0&&(d=1),P?"rgba("+c.r+", "+c.g+", "+c.b+", "+parseFloat(d)+")":"rgb("+c.r+", "+c.g+", "+c.b+")"):null}(r(this),a==="rgbaString");case"settings":return I===void 0?r(this).data("minicolors-settings"):(r(this).each(function(){var f=r(this).data("minicolors-settings")||{};B(r(this)),r(this).minicolors(r.extend(!0,f,I))}),r(this));case"show":return w(r(this).eq(0)),r(this);case"value":return I===void 0?r(this).val():(r(this).each(function(){typeof I=="object"&&I!==null?(I.opacity!==void 0&&r(this).attr("data-opacity",N(I.opacity,0,1)),I.color&&r(this).val(I.color)):r(this).val(I),E(r(this))}),r(this));default:return a!=="create"&&(I=a),r(this).each(function(){(function(f,P){var c,d,A,z,k,F,X,V=r('<div class="minicolors" />'),K=r.minicolors.defaults;if(!f.data("minicolors-initialized")){if(P=r.extend(!0,{},K,P),V.addClass("minicolors-theme-"+P.theme).toggleClass("minicolors-with-opacity",P.opacity),P.position!==void 0&&r.each(P.position.split(" "),function(){V.addClass("minicolors-position-"+this)}),d=P.format==="rgb"?P.opacity?"25":"20":P.keywords?"11":"7",f.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",P).prop("size",d).wrap(V).after('<div class="minicolors-panel minicolors-slider-'+P.control+'"><div class="minicolors-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-opacity-slider minicolors-sprite"><div class="minicolors-picker"></div></div><div class="minicolors-grid minicolors-sprite"><div class="minicolors-grid-inner"></div><div class="minicolors-picker"><div></div></div></div></div>'),P.inline||(f.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),f.next(".minicolors-input-swatch").on("click",function(tt){tt.preventDefault(),f.trigger("focus")})),(F=f.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),P.swatches&&P.swatches.length!==0)for(F.addClass("minicolors-with-swatches"),A=r('<ul class="minicolors-swatches"></ul>').appendTo(F),X=0;X<P.swatches.length;++X)z=typeof P.swatches[X]=="object"?(c=P.swatches[X].name,P.swatches[X].color):(c="",P.swatches[X]),z=U(k=z)?S(z,!0):m(u(z,!0)),r('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",c).appendTo(A).data("swatch-color",k).find(".minicolors-swatch-color").css({backgroundColor:k!=="transparent"?T(z):"transparent",opacity:String(z.a)}),P.swatches[X]=z;P.inline&&f.parent().addClass("minicolors-inline"),E(f,!1),f.data("minicolors-initialized",!0)}})(r(this),I)}),r(this)}}}),r([document]).on("mousedown.minicolors touchstart.minicolors",function(a){r(a.target).parents().add(a.target).hasClass("minicolors")||b()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(a){var I=r(this);a.preventDefault(),r(a.delegateTarget).data("minicolors-target",I),l(I,a,!0)}).on("mousemove.minicolors touchmove.minicolors",function(a){var I=r(a.delegateTarget).data("minicolors-target");I&&l(I,a)}).on("mouseup.minicolors touchend.minicolors",function(){r(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(a){a.preventDefault();var I=r(this),f=I.parents(".minicolors").find(".minicolors-input"),P=I.data("swatch-color");g(f,P,x(P)),E(f)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(a){var I=r(this).parent().find(".minicolors-input");a.preventDefault(),w(I)}).on("focus.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&w(a)}).on("blur.minicolors",".minicolors-input",function(){var a,I,f,P,c,d=r(this),A=d.data("minicolors-settings");d.data("minicolors-initialized")&&(a=A.keywords?r.map(A.keywords.split(","),function(z){return z.toLowerCase().trim()}):[],c=d.val()!==""&&-1<r.inArray(d.val().toLowerCase(),a)?d.val():(f=U(d.val())?S(d.val(),!0):(I=u(d.val(),!0))?m(I):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?S("rgba("+f.r+","+f.g+","+f.b+","+d.attr("data-opacity")+")"):S("rgb("+f.r+","+f.g+","+f.b+")"):T(f),P=A.opacity?d.attr("data-opacity"):1,c.toLowerCase()==="transparent"&&(P=0),d.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(P)),d.val(c),d.val()===""&&d.val(C(A.defaultValue,!0)),d.val(v(d.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(a){var I=r(this);if(I.data("minicolors-initialized"))switch(a.which){case 9:b();break;case 13:case 27:b(),I.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&E(a,!0)}).on("paste.minicolors",".minicolors-input",function(){var a=r(this);a.data("minicolors-initialized")&&setTimeout(function(){E(a,!0)},1)})})})(jquery_minicolors_min);(function(){function R(o){this.mode=r.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var m=0,a=this.data.length;m<a;m++){var I=[],f=this.data.charCodeAt(m);f>65536?(I[0]=240|(f&1835008)>>>18,I[1]=128|(f&258048)>>>12,I[2]=128|(f&4032)>>>6,I[3]=128|f&63):f>2048?(I[0]=224|(f&61440)>>>12,I[1]=128|(f&4032)>>>6,I[2]=128|f&63):f>128?(I[0]=192|(f&1984)>>>6,I[1]=128|f&63):I[0]=f,this.parsedData.push(I)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}R.prototype={getLength:function(o){return this.parsedData.length},write:function(o){for(var m=0,a=this.parsedData.length;m<a;m++)o.put(this.parsedData[m],8)}};function L(o,m){this.typeNumber=o,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}L.prototype={addData:function(o){var m=new R(o);this.dataList.push(m),this.dataCache=null},isDark:function(o,m){if(o<0||this.moduleCount<=o||m<0||this.moduleCount<=m)throw new Error(o+","+m);return this.modules[o][m]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(o,m){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var a=0;a<this.moduleCount;a++){this.modules[a]=new Array(this.moduleCount);for(var I=0;I<this.moduleCount;I++)this.modules[a][I]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(o,m),this.typeNumber>=7&&this.setupTypeNumber(o),this.dataCache==null&&(this.dataCache=L.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,m)},setupPositionProbePattern:function(o,m){for(var a=-1;a<=7;a++)if(!(o+a<=-1||this.moduleCount<=o+a))for(var I=-1;I<=7;I++)m+I<=-1||this.moduleCount<=m+I||(0<=a&&a<=6&&(I==0||I==6)||0<=I&&I<=6&&(a==0||a==6)||2<=a&&a<=4&&2<=I&&I<=4?this.modules[o+a][m+I]=!0:this.modules[o+a][m+I]=!1)},getBestMaskPattern:function(){for(var o=0,m=0,a=0;a<8;a++){this.makeImpl(!0,a);var I=b.getLostPoint(this);(a==0||o>I)&&(o=I,m=a)}return m},createMovieClip:function(o,m,a){var I=o.createEmptyMovieClip(m,a),f=1;this.make();for(var P=0;P<this.modules.length;P++)for(var c=P*f,d=0;d<this.modules[P].length;d++){var A=d*f,z=this.modules[P][d];z&&(I.beginFill(0,100),I.moveTo(A,c),I.lineTo(A+f,c),I.lineTo(A+f,c+f),I.lineTo(A,c+f),I.endFill())}return I},setupTimingPattern:function(){for(var o=8;o<this.moduleCount-8;o++)this.modules[o][6]==null&&(this.modules[o][6]=o%2==0);for(var m=8;m<this.moduleCount-8;m++)this.modules[6][m]==null&&(this.modules[6][m]=m%2==0)},setupPositionAdjustPattern:function(){for(var o=b.getPatternPosition(this.typeNumber),m=0;m<o.length;m++)for(var a=0;a<o.length;a++){var I=o[m],f=o[a];if(this.modules[I][f]==null)for(var P=-2;P<=2;P++)for(var c=-2;c<=2;c++)P==-2||P==2||c==-2||c==2||P==0&&c==0?this.modules[I+P][f+c]=!0:this.modules[I+P][f+c]=!1}},setupTypeNumber:function(o){for(var m=b.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var I=!o&&(m>>a&1)==1;this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=I}for(var a=0;a<18;a++){var I=!o&&(m>>a&1)==1;this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=I}},setupTypeInfo:function(o,m){for(var a=this.errorCorrectLevel<<3|m,I=b.getBCHTypeInfo(a),f=0;f<15;f++){var P=!o&&(I>>f&1)==1;f<6?this.modules[f][8]=P:f<8?this.modules[f+1][8]=P:this.modules[this.moduleCount-15+f][8]=P}for(var f=0;f<15;f++){var P=!o&&(I>>f&1)==1;f<8?this.modules[8][this.moduleCount-f-1]=P:f<9?this.modules[8][15-f-1+1]=P:this.modules[8][15-f-1]=P}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,m){for(var a=-1,I=this.moduleCount-1,f=7,P=0,c=this.moduleCount-1;c>0;c-=2)for(c==6&&c--;;){for(var d=0;d<2;d++)if(this.modules[I][c-d]==null){var A=!1;P<o.length&&(A=(o[P]>>>f&1)==1);var z=b.getMask(m,I,c-d);z&&(A=!A),this.modules[I][c-d]=A,f--,f==-1&&(P++,f=7)}if(I+=a,I<0||this.moduleCount<=I){I-=a,a=-a;break}}}},L.PAD0=236,L.PAD1=17,L.createData=function(o,m,a){for(var I=E.getRSBlocks(o,m),f=new D,P=0;P<a.length;P++){var c=a[P];f.put(c.mode,4),f.put(c.getLength(),b.getLengthInBits(c.mode,o)),c.write(f)}for(var d=0,P=0;P<I.length;P++)d+=I[P].dataCount;if(f.getLengthInBits()>d*8)throw new Error("code length overflow. ("+f.getLengthInBits()+">"+d*8+")");for(f.getLengthInBits()+4<=d*8&&f.put(0,4);f.getLengthInBits()%8!=0;)f.putBit(!1);for(;!(f.getLengthInBits()>=d*8||(f.put(L.PAD0,8),f.getLengthInBits()>=d*8));)f.put(L.PAD1,8);return L.createBytes(f,I)},L.createBytes=function(o,m){for(var a=0,I=0,f=0,P=new Array(m.length),c=new Array(m.length),d=0;d<m.length;d++){var A=m[d].dataCount,z=m[d].totalCount-A;I=Math.max(I,A),f=Math.max(f,z),P[d]=new Array(A);for(var k=0;k<P[d].length;k++)P[d][k]=255&o.buffer[k+a];a+=A;var F=b.getErrorCorrectPolynomial(z),X=new g(P[d],F.getLength()-1),V=X.mod(F);c[d]=new Array(F.getLength()-1);for(var k=0;k<c[d].length;k++){var K=k+V.getLength()-c[d].length;c[d][k]=K>=0?V.get(K):0}}for(var tt=0,k=0;k<m.length;k++)tt+=m[k].totalCount;for(var G=new Array(tt),it=0,k=0;k<I;k++)for(var d=0;d<m.length;d++)k<P[d].length&&(G[it++]=P[d][k]);for(var k=0;k<f;k++)for(var d=0;d<m.length;d++)k<c[d].length&&(G[it++]=c[d][k]);return G};for(var r={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},B={L:1,M:0,Q:3,H:2},w={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},b={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,G18:1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,G15_MASK:1<<14|1<<12|1<<10|1<<4|1<<1,getBCHTypeInfo:function(o){for(var m=o<<10;b.getBCHDigit(m)-b.getBCHDigit(b.G15)>=0;)m^=b.G15<<b.getBCHDigit(m)-b.getBCHDigit(b.G15);return(o<<10|m)^b.G15_MASK},getBCHTypeNumber:function(o){for(var m=o<<12;b.getBCHDigit(m)-b.getBCHDigit(b.G18)>=0;)m^=b.G18<<b.getBCHDigit(m)-b.getBCHDigit(b.G18);return o<<12|m},getBCHDigit:function(o){for(var m=0;o!=0;)m++,o>>>=1;return m},getPatternPosition:function(o){return b.PATTERN_POSITION_TABLE[o-1]},getMask:function(o,m,a){switch(o){case w.PATTERN000:return(m+a)%2==0;case w.PATTERN001:return m%2==0;case w.PATTERN010:return a%3==0;case w.PATTERN011:return(m+a)%3==0;case w.PATTERN100:return(Math.floor(m/2)+Math.floor(a/3))%2==0;case w.PATTERN101:return m*a%2+m*a%3==0;case w.PATTERN110:return(m*a%2+m*a%3)%2==0;case w.PATTERN111:return(m*a%3+(m+a)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var m=new g([1],0),a=0;a<o;a++)m=m.multiply(new g([1,l.gexp(a)],0));return m},getLengthInBits:function(o,m){if(1<=m&&m<10)switch(o){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:return 8;case r.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(m<27)switch(o){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(m<41)switch(o){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+o)}else throw new Error("type:"+m)},getLostPoint:function(o){for(var m=o.getModuleCount(),a=0,I=0;I<m;I++)for(var f=0;f<m;f++){for(var P=0,c=o.isDark(I,f),d=-1;d<=1;d++)if(!(I+d<0||m<=I+d))for(var A=-1;A<=1;A++)f+A<0||m<=f+A||d==0&&A==0||c==o.isDark(I+d,f+A)&&P++;P>5&&(a+=3+P-5)}for(var I=0;I<m-1;I++)for(var f=0;f<m-1;f++){var z=0;o.isDark(I,f)&&z++,o.isDark(I+1,f)&&z++,o.isDark(I,f+1)&&z++,o.isDark(I+1,f+1)&&z++,(z==0||z==4)&&(a+=3)}for(var I=0;I<m;I++)for(var f=0;f<m-6;f++)o.isDark(I,f)&&!o.isDark(I,f+1)&&o.isDark(I,f+2)&&o.isDark(I,f+3)&&o.isDark(I,f+4)&&!o.isDark(I,f+5)&&o.isDark(I,f+6)&&(a+=40);for(var f=0;f<m;f++)for(var I=0;I<m-6;I++)o.isDark(I,f)&&!o.isDark(I+1,f)&&o.isDark(I+2,f)&&o.isDark(I+3,f)&&o.isDark(I+4,f)&&!o.isDark(I+5,f)&&o.isDark(I+6,f)&&(a+=40);for(var k=0,f=0;f<m;f++)for(var I=0;I<m;I++)o.isDark(I,f)&&k++;var F=Math.abs(100*k/m/m-50)/5;return a+=F*10,a}},l={glog:function(o){if(o<1)throw new Error("glog("+o+")");return l.LOG_TABLE[o]},gexp:function(o){for(;o<0;)o+=255;for(;o>=256;)o-=255;return l.EXP_TABLE[o]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)l.EXP_TABLE[h]=1<<h;for(var h=8;h<256;h++)l.EXP_TABLE[h]=l.EXP_TABLE[h-4]^l.EXP_TABLE[h-5]^l.EXP_TABLE[h-6]^l.EXP_TABLE[h-8];for(var h=0;h<255;h++)l.LOG_TABLE[l.EXP_TABLE[h]]=h;function g(o,m){if(o.length==null)throw new Error(o.length+"/"+m);for(var a=0;a<o.length&&o[a]==0;)a++;this.num=new Array(o.length-a+m);for(var I=0;I<o.length-a;I++)this.num[I]=o[I+a]}g.prototype={get:function(o){return this.num[o]},getLength:function(){return this.num.length},multiply:function(o){for(var m=new Array(this.getLength()+o.getLength()-1),a=0;a<this.getLength();a++)for(var I=0;I<o.getLength();I++)m[a+I]^=l.gexp(l.glog(this.get(a))+l.glog(o.get(I)));return new g(m,0)},mod:function(o){if(this.getLength()-o.getLength()<0)return this;for(var m=l.glog(this.get(0))-l.glog(o.get(0)),a=new Array(this.getLength()),I=0;I<this.getLength();I++)a[I]=this.get(I);for(var I=0;I<o.getLength();I++)a[I]^=l.gexp(l.glog(o.get(I))+m);return new g(a,0).mod(o)}};function E(o,m){this.totalCount=o,this.dataCount=m}E.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],E.getRSBlocks=function(o,m){var a=E.getRsBlockTable(o,m);if(a==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+m);for(var I=a.length/3,f=[],P=0;P<I;P++)for(var c=a[P*3+0],d=a[P*3+1],A=a[P*3+2],z=0;z<c;z++)f.push(new E(d,A));return f},E.getRsBlockTable=function(o,m){switch(m){case B.L:return E.RS_BLOCK_TABLE[(o-1)*4+0];case B.M:return E.RS_BLOCK_TABLE[(o-1)*4+1];case B.Q:return E.RS_BLOCK_TABLE[(o-1)*4+2];case B.H:return E.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function D(){this.buffer=[],this.length=0}D.prototype={get:function(o){var m=Math.floor(o/8);return(this.buffer[m]>>>7-o%8&1)==1},put:function(o,m){for(var a=0;a<m;a++)this.putBit((o>>>m-a-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(o){var m=Math.floor(this.length/8);this.buffer.length<=m&&this.buffer.push(0),o&&(this.buffer[m]|=128>>>this.length%8),this.length++}};var v=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function u(){return typeof CanvasRenderingContext2D<"u"}function S(){var o=!1,m=navigator.userAgent;if(/android/i.test(m)){o=!0;var a=m.toString().match(/android ([0-9]\.[0-9])/i);a&&a[1]&&(o=parseFloat(a[1]))}return o}var C=function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){var a=this._htOption,I=this._el,f=m.getModuleCount();Math.floor(a.width/f),Math.floor(a.height/f),this.clear();function P(k,F){var X=document.createElementNS("http://www.w3.org/2000/svg",k);for(var V in F)F.hasOwnProperty(V)&&X.setAttribute(V,F[V]);return X}var c=P("svg",{viewBox:"0 0 "+String(f)+" "+String(f),width:"100%",height:"100%",fill:a.colorLight});c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),I.appendChild(c),c.appendChild(P("rect",{fill:a.colorLight,width:"100%",height:"100%"})),c.appendChild(P("rect",{fill:a.colorDark,width:"1",height:"1",id:"template"}));for(var d=0;d<f;d++)for(var A=0;A<f;A++)if(m.isDark(d,A)){var z=P("use",{x:String(A),y:String(d)});z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),c.appendChild(z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),N=document.documentElement.tagName.toLowerCase()==="svg",U=N?C:u()?function(){function o(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var m=1/window.devicePixelRatio,a=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(P,c,d,A,z,k,F,X,V){if("nodeName"in P&&/img/i.test(P.nodeName))for(var K=arguments.length-1;K>=1;K--)arguments[K]=arguments[K]*m;else typeof X>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);a.apply(this,arguments)}}function I(P,c){var d=this;if(d._fFail=c,d._fSuccess=P,d._bSupportDataURI===null){var A=document.createElement("img"),z=function(){d._bSupportDataURI=!1,d._fFail&&d._fFail.call(d)},k=function(){d._bSupportDataURI=!0,d._fSuccess&&d._fSuccess.call(d)};A.onabort=z,A.onerror=z,A.onload=k,A.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else d._bSupportDataURI===!0&&d._fSuccess?d._fSuccess.call(d):d._bSupportDataURI===!1&&d._fFail&&d._fFail.call(d)}var f=function(P,c){this._bIsPainted=!1,this._android=S(),this._htOption=c,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=c.width,this._elCanvas.height=c.height,P.appendChild(this._elCanvas),this._el=P,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return f.prototype.draw=function(P){var c=this._elImage,d=this._oContext,A=this._htOption,z=P.getModuleCount(),k=A.width/z,F=A.height/z,X=Math.round(k),V=Math.round(F);c.style.display="none",this.clear();for(var K=0;K<z;K++)for(var tt=0;tt<z;tt++){var G=P.isDark(K,tt),it=tt*k,lt=K*F;d.strokeStyle=G?A.colorDark:A.colorLight,d.lineWidth=1,d.fillStyle=G?A.colorDark:A.colorLight,d.fillRect(it,lt,k,F),d.strokeRect(Math.floor(it)+.5,Math.floor(lt)+.5,X,V),d.strokeRect(Math.ceil(it)-.5,Math.ceil(lt)-.5,X,V)}this._bIsPainted=!0},f.prototype.makeImage=function(){this._bIsPainted&&I.call(this,o)},f.prototype.isPainted=function(){return this._bIsPainted},f.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},f.prototype.round=function(P){return P&&Math.floor(P*1e3)/1e3},f}():function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){for(var a=this._htOption,I=this._el,f=m.getModuleCount(),P=Math.floor(a.width/f),c=Math.floor(a.height/f),d=['<table style="border:0;border-collapse:collapse;">'],A=0;A<f;A++){d.push("<tr>");for(var z=0;z<f;z++)d.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+P+"px;height:"+c+"px;background-color:"+(m.isDark(A,z)?a.colorDark:a.colorLight)+';"></td>');d.push("</tr>")}d.push("</table>"),I.innerHTML=d.join("");var k=I.childNodes[0],F=(a.width-k.offsetWidth)/2,X=(a.height-k.offsetHeight)/2;F>0&&X>0&&(k.style.margin=X+"px "+F+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function x(o,m){for(var a=1,I=j(o),f=0,P=v.length;f<=P;f++){var c=0;switch(m){case B.L:c=v[f][0];break;case B.M:c=v[f][1];break;case B.Q:c=v[f][2];break;case B.H:c=v[f][3];break}if(I<=c)break;a++}if(a>v.length)throw new Error("Too long data");return a}function j(o){var m=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=o?3:0)}var T=function(o,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:B.H},typeof m=="string"&&(m={text:m}),m)for(var a in m)this._htOption[a]=m[a];typeof o=="string"&&(o=document.getElementById(o)),this._htOption.useSVG&&(U=C),this._android=S(),this._el=o,this._oQRCode=null,this._oDrawing=new U(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};T.prototype.makeCode=function(o){this._oQRCode=new L(x(o,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(o),this._oQRCode.make(),this._el.title=o,this._oDrawing.draw(this._oQRCode),this.makeImage()},T.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},T.prototype.clear=function(){this._oDrawing.clear()},T.CorrectLevel=B,window.QRCode=T})();function timeFormat(R,L="YYYY-MM-DD"){if(!R)return null;typeof R=="number"&&(R=new Date(R));const r=R.getFullYear(),B=R.getMonth(),w=R.getDate(),b=R.getHours(),l=b%12===0?12:b%12,h=R.getMinutes(),g=R.getSeconds(),E=v=>`0${v}`.slice(-2),D={YYYY:r,MM:E(B+1),MMMM:`${B+1}\u6708`,M:B+1,DD:E(w),D:w,HH:E(b),H:b,hh:E(l),h:l,mm:E(h),m:h,ss:E(g),s:g};return L.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,v=>String(D[v]))}const defaultOption={id:"watermark",watch:!1,content:"vue-plugin-hiprint",container:".hiprint-printPaper",width:200,height:200,textAlign:"center",textBaseline:"middle",fontSize:"14px",fontFamily:"Microsoft Yahei",fillStyle:"rgba(184, 184, 184, 0.3)",rotate:25,timestamp:!1,format:"YYYY-MM-DD HH:mm",zIndex:0};let observerMap={};function _createWatermark(R){const{id:L,watch:r,content:B,container:w,width:b,height:l,textAlign:h,textBaseline:g,fontSize:E,fontFamily:D,fillStyle:v,rotate:u,timestamp:S,format:C,zIndex:N}=R;observerMap[L]={wmMo:null,wmTimer:null};const U=document.createElement("canvas");U.setAttribute("width",`${b}px`),U.setAttribute("height",`${l}px`);let x=typeof w=="string"?document.querySelector(w):w;const j=U.getContext("2d");j.textAlign=h,j.textBaseline=g,j.font=`${E} ${D}`,j.fillStyle=v,j.translate(b/2,l/2),j.rotate(-(Math.PI/180)*u),j.fillText(`${B}`,0,0),S&&j.fillText(`${timeFormat(new Date,C)}`,0,parseInt(E)+5);let T=x.querySelector(".__vm__"+L);const o=T||document.createElement("div"),a=`position:absolute;user-select:none;top:0;left:0;${x.getAttribute("style")};z-index:${N};pointer-events:none !important;background-repeat:repeat;background-image:url('${U.toDataURL()}')`;if(o.setAttribute("style",a),o.classList.add("__vm__"+L),T||x.insertBefore(o,x.children[1]),r){const I=window.MutationObserver||window.WebKitMutationObserver;I&&(observerMap[L].wmMo=new I(f=>{let P=f.some(c=>c.target.className==x.className&&c.type=="attributes");T=x.querySelector(".__vm__"+L),(T&&T.getAttribute("style")!==a||!T||P)&&(observerMap[L].wmMo.disconnect(),observerMap[L].wmMo=null,delete observerMap[L].wmMo,_createWatermark(R))}),observerMap[L].wmMo.observe(x,{attributes:!0,subtree:!0,childList:!0}))}if(C){let I=864e5;C.includes("s")?I=1e3:C.includes("m")?I=1e3*60:(C.includes("h")||C.includes("H"))&&(I=1e3*60*60),observerMap[L].wmTimer=window.setTimeout(()=>{o.style.bottom="0"},I)}}const destroyWatermark=function(R){const{id:L,watch:r,container:B}=R;if(r){let w=typeof B=="string"?document.querySelector(B):B;observerMap[L]&&(observerMap[L].wmMo&&observerMap[L].wmMo.disconnect(),observerMap[L].wmMo=null,observerMap[L].wmTimer&&window.clearTimeout(observerMap[L].wmTimer),observerMap[L].wmTimer=null,delete observerMap[L]);const b=w.querySelector(".__vm__"+L);b&&b.parentNode.removeChild(b)}},createWatermark=function(R){let L=Object.assign({},defaultOption,R);destroyWatermark(L),_createWatermark(L)},watermark={createWatermark,destroyWatermark},lImg="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjUxLjUiIHkxPSIxMCIgeDI9IjUxLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjE1LjUiIHkxPSIxMCIgeDI9IjE1LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU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iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var nzh_min={exports:{}};/*!
|
|
2
2
|
* nzh v1.0.8
|
|
3
3
|
* Homepage http://cnwhy.github.io/nzh
|
|
4
4
|
* License BSD-2-Clause
|
|
5
|
-
*/(function(J,z){(function(l,U){J.exports=U()})(commonjsGlobal,function(){function l(H,T){return T={exports:{}},H(T,T.exports),T.exports}function U(H,T){var w=m.getNumbResult(H);if(!w)return H;T=T||{};var a=this.ch,f=this.ch_u,r=this.ch_f||"",c=this.ch_d||".",b=a.charAt(0),j=w.int,d=w.decimal,g=w.minus,E="",W="",G=g?r:"",V=function R(nt,st,ut){nt=m.getNumbResult(nt).int;var It="",vt=arguments.length>1?arguments[1]:T.tenMin,yt=nt.length;if(yt==1)return a.charAt(+nt);if(yt<=4)for(var gt=0,Mt=yt;Mt--;){var ft=+nt.charAt(gt);It+=vt&&yt==2&>==0&&ft==1?"":a.charAt(ft),It+=ft&&Mt?f.charAt(Mt):"",gt++}else{for(var ht=nt.length/4>>0,jt=nt.length%4;jt==0||!f.charAt(3+ht);)jt+=4,ht--;var St=nt.substr(0,jt),Tt=nt.substr(jt);It=R(St,vt)+f.charAt(3+ht)+(Tt.charAt(0)=="0"?b:"")+R(Tt,Tt.length>4&&vt)}return It=m.clearZero(It,b)};if(d){d=m.clearZero(d,"0","$");for(var K=0;K<d.length;K++)W+=a.charAt(+d.charAt(K));W=W?c+W:""}if(E=V(j),T.ww&&f.length>5){var Y=f.charAt(4),q=f.charAt(5),et=E.lastIndexOf(q);~et&&(E=E.substring(0,et).replace(new RegExp(q,"g"),Y+Y)+E.substring(et))}return G+E+W}function x(H){H=H.toString();var T=H.split(this.ch_d),w=T[0].replace(this.ch_f,""),a=T[1],f=!!~T[0].indexOf(this.ch_f),r=this.ch_u.charAt(1),c=this.ch_u.charAt(4),b=this.ch_u.charAt(5);w=w.replace(new RegExp(c+"{2}","g"),b);for(var j=w.split(""),d=0,g=0,E=[],W=[],G=[],V=0;V<j.length;V++){var K=j[V],Y=0,q=0;if(~(Y=this.ch.indexOf(K)))Y>0&&G.unshift(Y);else if(~(q=this.ch_u.indexOf(K))){var et=m.getDigit(q);d>q?(m.unshiftZero(G,et),m.centerArray(W,G)):q>=g?(V==0&&(G=[1]),m.centerArray(E,W,G),E.length>0&&m.unshiftZero(E,et),g=q):(G.length==0&&r==K&&(G=[1]),m.centerArray(W,G),m.unshiftZero(W,m.getDigit(q)),d=q)}}m.centerArray(E,W,G).reverse(),E.length==0&&E.push(0);var R=0;if(a){E.push("."),R="0.";for(var V=0;V<a.length;V++)R+=this.ch.indexOf(a.charAt(V)),E.push(this.ch.indexOf(a.charAt(V)));R=+R}return f&&E.unshift("-"),parseFloat(E.join(""))}function v(H,T){var w={ww:!0,complete:!1,outSymbol:!0},a=m.getNumbResult(H),f=this.ch.charAt(0);if(T=typeof T=="object"?T:{},!a)return H;T=m.extend(w,T);var r=a.num,c=a.decimal||"",b=T.outSymbol?this.m_t:"",j=c?"":this.m_z,d="";if(T.complete){for(var g=1;g<this.m_u.length;g++)d+=U.call(this,c.charAt(g-1)||"0")+this.m_u.charAt(g);j=U.call(this,r,T)+this.m_u.charAt(0)}else{if(c=c.substr(0,this.m_u.length-1),c=m.clearZero(c,"0","$"))for(var E,g=0;g<this.m_u.length-1;g++)c.charAt(g)&&c.charAt(g)!="0"&&(d+=U.call(this,c.charAt(g))+this.m_u.charAt(g+1),E=!1),c.charAt(g)!=="0"||E||(g==0&&r=="0"||(d+=f),E=!0);r=="0"&&!j&&d||(j=U.call(this,r,T)+this.m_u.charAt(0)+j)}return b+j+d}function p(H,T){return{encodeS:function(w,a){return a=m.extend({ww:!0,tenMin:!0},a),h.CL.call(H,w,a)},encodeB:function(w,a){return a=m.extend({ww:!0},a),h.CL.call(T,w,a)},decodeS:function(){return h.unCL.apply(H,arguments)},decodeB:function(){return h.unCL.apply(T,arguments)},toMoney:function(w,a){return a=m.extend({ww:!0},a),h.toMoney.call(T,w,a)}}}var m=l(function(H,T){var w=/^([+-])?0*(\d+)(\.(\d+))?$/,a=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,f=T.e2ten=function(c){var b=a.exec(c.toString());if(!b)return c;var j=b[2],d=b[4]||"",g=b[5]?+b[5]:0;if(g>0){var E=d.substr(0,g);E=E.length<g?E+new Array(g-E.length+1).join("0"):E,d=d.substr(g),j+=E}else{g=-g;var W=j.length-g;W=W<0?0:W;var G=j.substr(W,g);G=G.length<g?new Array(g-G.length+1).join("0")+G:G,j=j.substring(0,W),d=G+d}return j=j==""?"0":j,(b[1]=="-"?"-":"")+j+(d?"."+d:"")};T.getNumbResult=function(c){var b=w.exec(c.toString());if(!b&&a.test(c.toString())&&(b=w.exec(f(c.toString()))),b)return{int:b[2],decimal:b[4],minus:b[1]=="-",num:b.slice(1,3).join("")}},T.centerArray=function c(b,j){if(b.splice.apply(b,[0,j.length].concat(j.splice(0,j.length))),arguments.length>2){var d=[].slice.call(arguments,2);d.unshift(b),c.apply(null,d)}return b};var r=T.hasAttr=function(c,b){return Object.prototype.hasOwnProperty.call(c,b)};T.extend=function(c){for(var b,j=arguments[0]||{},d=Array.prototype.slice.call(arguments,1),g=0;g<d.length;g++){var E=d[g];for(b in E)r(E,b)&&(j[b]=E[b])}return j},T.getDigit=function(c){return c>=5?4*(c-4)+4:c},T.unshiftZero=function(c,b){if(b==null&&(b=1),!(b<=0))for(;b--;)c.unshift(0)},T.clearZero=function(c,b,j){if(c==null)return"";var d=~"*.?+$^[](){}|\\/".indexOf(b)?"\\"+b:b,g=new RegExp("^"+d+"+"),E=new RegExp(d+"+$"),W=new RegExp(d+"{2}","g");return c=c.toString(),j=="^"&&(c=c.replace(g,"")),j&&j!="$"||(c=c.replace(E,"")),j&&j!="nto1"||(c=c.replace(W,b)),c}}),h=(m.e2ten,m.getNumbResult,m.centerArray,m.hasAttr,m.extend,m.getDigit,m.unshiftZero,m.clearZero,{CL:U,unCL:x,toMoney:v}),B=p,A={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"},y={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"},I={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},S={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},N={s:A,b:y,hk_s:I,hk_b:S},D=function(H){this.lang=H,this.encode=function(){return h.CL.apply(H,arguments)},this.decode=function(){return h.unCL.apply(H,arguments)},this.toMoney=function(){return h.toMoney.apply(H,arguments)}};D.langs=N,D.cn=B(N.s,N.b),D.hk=B(N.hk_s,N.hk_b);var Z=D;return Z})})(nzh_min);const Nzh=nzh_min.exports;function defaultTypeProvider(J){return function(z){var l=function(U){U.removePrintElementTypes("defaultModule"),U.addPrintElementTypes("defaultModule",[new J.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(x,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(x,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 J.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:l}}}function _instanceof(J,z){return z!=null&&typeof Symbol<"u"&&z[Symbol.hasInstance]?!!z[Symbol.hasInstance](J):J instanceof z}function _typeof(J){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(l){return typeof l}:_typeof=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},_typeof(J)}window.$=window.jQuery=$__default.default;window.autoConnect=!0;window.io=socket_ioClient.io;window.eval2=eval;var hiprint$1=function(J){var z={};function l(x){if(z[x])return z[x].exports;var v=z[x]={i:x,l:!1,exports:{}};return J[x].call(v.exports,v,v.exports,l),v.l=!0,v.exports}var U=(l.m=J,l.c=z,l.d=function(x,v,p){l.o(x,v)||Object.defineProperty(x,v,{enumerable:!0,get:p})},l.r=function(x){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})},l.t=function(x,v){if(1&v&&(x=l(x)),8&v||4&v&&_typeof(x)=="object"&&x&&x.__esModule)return x;var p=Object.create(null);if(l.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:x}),2&v&&typeof x!="string")for(var m in x)l.d(p,m,function(h){return x[h]}.bind(null,m));return p},l.n=function(x){var v=x&&x.__esModule?function(){return x.default}:function(){return x};return l.d(v,"a",v),v},l.o=function(x,v){return Object.prototype.hasOwnProperty.call(x,v)},l.p="/",l(l.s=21));return U.n=l,U}([function(J,z,l){var U;l.d(z,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(U={},{on:function(v,p){U[v]||(U[v]=[]),U[v].push(p)},id:0,off:function(v,p){var m=U[v];if(m){for(var h=-1,B=0;B<m.length;B++)if(m[B]===p){h=B;break}h<0||U[v].splice(h,1)}},trigger:function(v){var p=U[v];if(p&&p.length)for(var m=Array.prototype.slice.call(arguments,1),h=0;h<p.length;h++)p[h].apply(this,m)},clear:function(v){U[v]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(v){return v+"-"+this.getId()}}),hinnn.form={serialize:function(v){var p=$__default.default(v).serializeArray(),m={};return $__default.default.each(p,function(){m[this.name]?Object.prototype.toString.call(m[this.name])=="[object Array]"?m[this.name].push(this.value):m[this.name]=[m[this.name],this.value]:m[this.name]=this.value}),m}},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(x,v,p){var m,h,B,A=null,y=0;p||(p={});var I=function(){y=p.leading===!1?0:_.now(),A=null,B=x.apply(m,h),A||(m=h=null)};return function(){var S=_.now();y||p.leading!==!1||(y=S);var N=v-(S-y);return m=this,h=arguments,N<=0||N>v?(A&&(clearTimeout(A),A=null),y=S,B=x.apply(m,h),A||(m=h=null)):A||p.trailing===!1||(A=setTimeout(I,N)),B}},hinnn.debounce=function(x,v,p){var m,h,B,A,y,I=function S(){var N=_.now()-A;N<v&&N>=0?m=setTimeout(S,v-N):(m=null,p||(y=x.apply(B,h),m||(B=h=null)))};return function(){B=this,h=arguments,A=_.now();var S=p&&!m;return m||(m=setTimeout(I,v)),S&&(y=x.apply(B,h),B=h=null),y}},hinnn.toUtf8=function(x){var v,p,m,h;for(v="",m=x.length,p=0;p<m;p++)(h=x.charCodeAt(p))>=1&&h<=127?v+=x.charAt(p):h>2047?(v+=String.fromCharCode(224|h>>12&15),v+=String.fromCharCode(128|h>>6&63),v+=String.fromCharCode(128|h>>0&63)):(v+=String.fromCharCode(192|h>>6&31),v+=String.fromCharCode(128|h>>0&63));return v},hinnn.groupBy=function(x,v,p){var m={};return x.forEach(function(h){var B=JSON.stringify(p(h));m[B]||(m[B]={rows:[]},v.forEach(function(A){m[B][A]=h[A]})),m[B].rows.push(h)}),Object.keys(m).map(function(h){return m[h]})},hinnn.orderBy=function(x,v){if(x.length<=1)return x;var p=Math.floor(x.length/2),m=x.splice(p,1)[0],h=[],B=[],A=!0,y=!1,I=void 0;try{for(var S=x[Symbol.iterator](),N;!(A=(N=S.next()).done);A=!0){var D=N.value;v(D)<v(m)?h.push(D):B.push(D)}}catch(Z){y=!0,I=Z}finally{try{!A&&S.return!=null&&S.return()}finally{if(y)throw I}}return this.orderBy(h,v).concat([m],this.orderBy(B,v))},hinnn.dateFormat=function(x,v){if(x)try{var p=typeof x=="string"?new Date(x):x,m={"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 h in/(y+)/.test(v)&&(v=v.replace(RegExp.$1,(p.getFullYear()+"").substr(4-RegExp.$1.length))),m)new RegExp("("+h+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?m[h]:("00"+m[h]).substr((""+m[h]).length)));return v}catch(B){return console.log(B),""}return""},hinnn.numFormat=function(x,v){if(x!=null)try{var p=typeof x=="string"?parseFloat(x):x,m=parseInt(v);return m>0?p.toFixed(m):parseInt(p.toString())}catch(h){return console.log(h),""}return""},hinnn.toUpperCase=function(x,v){if(!Nzh)return v;var p=v;switch(x){case"0":p=Nzh.cn.encodeS(v);break;case"1":p=Nzh.cn.encodeS(v,{tenMin:!1});break;case"2":p=Nzh.cn.encodeB(v,{tenMin:!0});break;case"3":p=Nzh.cn.encodeB(v);break;case"4":p=Nzh.cn.toMoney(v,{tenMin:!0});break;case"5":p=Nzh.cn.toMoney(v);break;case"6":p=Nzh.cn.toMoney(v,{complete:!0});break;case"7":p=Nzh.cn.toMoney(v,{complete:!0,outSymbol:!1});break}return p}},function(J,z,l){l.d(z,"a",function(){return x});var U=l(9),x=function(){function v(){}return v.prototype.init=function(p){p&&$__default.default.extend(this,p)},v.prototype.register=function(p){this.init(p);var m=this,h=m.getHooks("init");h&&h.forEach(B=>{B.run({Config:m,OptionItems:U,ElementTypes:hiprint$1.ElementTypes,hinnn,hiprint:hiprint$1})})},v.prototype.getHooks=function(p){return this.pluginsList().reduce((m,h)=>m.concat(h.hooks.filter(B=>B.hook===p)),[])},v.prototype.pluginsList=function(){var p=this;return this.plugins?this.plugins.filter(m=>p.versionCheck(m)):[]},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 m=v.instance.version.split("."),h=parseInt(m[0]),B=parseInt(m[1]),A=parseInt(m[2]),y=p.leastHiprintVersion.split("."),I=parseInt(y[0]),S=parseInt(y[1]),N=parseInt(y[2]);let D=!1;return h>I&&(D=!0),h===I&&B>S&&(D=!0),h===I&&B===S&&A>=N&&(D=!0),D||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.`),D},v.prototype.on=function(p,m){hinnn.event.on(p,m)},v.prototype.clear=function(p){hinnn.event.clear(p)},v.prototype.registerItems=function(p){p.forEach(function(m){U.a.registerItem(new m)})},Object.defineProperty(v,"instance",{get:function(){return v._instance||(v._instance=new v,window.HIPRINT_CONFIG&&$__default.default.extend(v._instance,HIPRINT_CONFIG),v._instance.optionItems&&v._instance.optionItems.forEach(function(m){U.a.registerItem(new m)})),v._instance},enumerable:!0,configurable:!0}),v}()},function(J,z,l){var U=function(){function v(p){this.printElement=p}return v.prototype.updatePosition=function(p,m){this.left=p,this.top=m},v}();l.d(z,"a",function(){return x});var x=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,m){var h=.75*p;return m&&(m=m),Math.round(h/m)*m}}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 U(p)},v.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var m=16*Math.random()|0;return(p=="x"?m:3&m|8).toString(16)})},v.prototype.imageToBase64=function(p){if($__default.default(p).attr("src").indexOf("base64")==-1)try{var m=document.createElement("canvas"),h=new Image;h.src=p.attr("src"),m.width=h.width,m.height=h.height,m.getContext("2d").drawImage(h,0,0),p.attr("src",m.toDataURL("image/png"))}catch{try{this.xhrLoadImage(p)}catch(A){console.log(A)}}},v.prototype.xhrLoadImage=function(p){},v.prototype.transformImg=function(p){var m=this;p.map(function(h,B){m.imageToBase64($__default.default(B))})},v.prototype.getPrintTemplateById=function(p){return v.instance.printTemplateContainer[p]},v.prototype.setPrintTemplateById=function(p,m){return v.instance.printTemplateContainer[p]=m},v}()},function(J,z,l){var U=function(){return function(){}}();l.d(z,"a",function(){return x});var x=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(),Object.keys(this.defaultOptions).forEach(m=>{this[m]=this[m]||this.defaultOptions[m]})},v.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},v.prototype.initSizeByHtml=function(p,m){this.width||this.setWidth(p),this.height||this.setHeight(m)},v.prototype.getRectInfo=function(){var p={w:0,h:0,diffW:0,diffH:0};if(this.transform){var m=this.transform*Math.PI/180,h=this.width,B=this.height,A=Math.sin(m),y=Math.cos(m),I=Math.abs(h*y)+Math.abs(B*A),S=Math.abs(h*A)+Math.abs(B*y),N=(h-I)/2,D=(B-S)/2;p.w=I,p.h=S,p.diffW=N,p.diffH=D}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 U,m=this;return Object.keys(this).filter(function(h){return h!="topInDesign"}).forEach(function(h){if(typeof m[h]!="number"&&typeof m[h]!="string"&&!["fields"].includes(h)&&_typeof(m[h])!=_typeof(!0)||(p[h]=m[h]),h=="style"){p.style={};var B=m[h];B&&Object.keys(B).forEach(function(A){typeof B[A]!="number"&&typeof B[A]!="string"||(p.style[A]=B[A])})}}),p},v.prototype.init=function(p){var m=this;p&&Object.keys(p).forEach(function(h){m[h]=p[h]})},v}()},function(J,z,l){l.d(z,"a",function(){return B});var U=l(17),x=l(1),v=l(9),p=l(6);l(0);var m=l(8),h=l(2),B=function(){function A(y){this.printElementType=y,this.id=h.a.instance.guid()}return A.prototype.getConfigOptionsByName=function(y){return x.a.instance[y]},A.prototype.getProxyTarget=function(y){y&&this.SetProxyTargetOption(y);var I=this.getData(),S=this.createTarget(this.getTitle(),I);return this.updateTargetSize(S),this.css(S,I),S},A.prototype.SetProxyTargetOption=function(y){this.options.getPrintElementOptionEntity(),$__default.default.extend(this.options,y),this.copyFromType()},A.prototype.showInPage=function(y,I){var S=this.options.showInPage,N=this.options.unShowInPage;if(S){if(S=="first")return y==0;if(y==I-1&&N=="last")return!1;if(S=="odd")return(y!=0||N!="first")&&y%2==0;if(S=="even")return y%2==1;if(S=="last")return y==I-1}return(y!=0||N!="first")&&(y!=I-1||N!="last")},A.prototype.setTemplateId=function(y){this.templateId=y},A.prototype.setPanel=function(y){this.panel=y},A.prototype.getField=function(){return this.options.field||this.printElementType.field},A.prototype.getTitle=function(){return this.printElementType.title},A.prototype.updateSizeAndPositionOptions=function(y,I,S,N){this.options.setLeft(y),this.options.setTop(I),this.options.copyDesignTopFromTop(),this.options.setWidth(S),this.options.setHeight(N)},A.prototype.initSizeByHtml=function(y){if(y&&y.length){this.createTempContainer();var I=y.clone();this.getTempContainer().append(I),this.options.initSizeByHtml(parseInt(hinnn.px.toPt(I.width()).toString()),parseInt(hinnn.px.toPt(I.height()).toString())),this.removeTempContainer()}},A.prototype.updateTargetSize=function(y){y.css("width",this.options.displayWidth()),y.css("height",this.options.displayHeight())},A.prototype.updateTargetWidth=function(y){y.css("width",this.options.displayWidth())},A.prototype.getDesignTarget=function(y){var I=this,S=0;return this.designTarget=this.getHtml(y)[0].target,this.designPaper=y,this.designTarget.click(function(N){N.timeStamp-S>500&&hinnn.event.trigger(I.getPrintElementSelectEventKey(),{printElement:I}),S=N.timeStamp}),this.designTarget.dblclick(function(N){var D=I.designTarget.find(".hiprint-printElement-content");if(D){var Z=I.designTarget.find(".resize-panel");I.printElementType.type=="text"&&!(I.options.textType&&I.options.textType!="text")&&(I._editing=!0,I.designTarget.hidraggable("update",{draggable:!1}),D.css("cursor","text"),D.addClass("editing"),I.designTarget.addClass("editing"),D.click(function(H){I._editing&&H.stopPropagation()}),D.attr("contenteditable",!0),Z&&Z.css("display","none"),I.selectEnd(D))}}),this.designTarget},A.prototype.selectEnd=function(y){if(y.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var I=document.createRange();I.selectNodeContents(y[0]),I.collapse(!1);var S=window.getSelection();S.removeAllRanges(),S.addRange(I)}else if(typeof document.body.createTextRange<"u"){var I=document.body.createTextRange();I.moveToElementText(y[0]),I.collapse(!1),I.select()}},A.prototype.updateByContent=function(y){var I=this,S=I.designTarget.find(".hiprint-printElement-content");if(I._editing){S&&S.css("cursor","")&&S.removeClass("editing")&&S.removeAttr("contenteditable"),I.designTarget.removeClass("editing");var N=S.text(),D=I.options.title+"\uFF1A";N.startsWith(D)&&I.options.field?N.length>D.length?I.options.testData=N.split("\uFF1A")[1]:(I.options.title=N,I.options.testData=""):I.options.title=N,y||hinnn.event.trigger(I.getPrintElementSelectEventKey(),{printElement:I}),I.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+I.templateId,"\u7F16\u8F91\u4FEE\u6539"),I._editing=!1;var Z=I.options.draggable==null||I.options.draggable==!0;I.designTarget.hidraggable("update",{draggable:Z})}},A.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},A.prototype.design=function(y,I){var S=this;this.designTarget.hidraggable({draggable:S.options.draggable,axis:S.options.axis?S.options.axis:void 0,designTarget:S,onDrag:function(D,Z,H){var T=S.panel.printElements.filter(function(c){return c.designTarget.children().last().css("display")=="block"&&c.designTarget.children().last().hasClass("selected")&&!c.printElementType.type.includes("table")}),w=T.length>1,a=!S.designTarget.children().last().hasClass("selected");if(w){var f=Z-S.options.left,r=H-S.options.top;T.forEach(function(c){c.updateSizeAndPositionOptions(f+c.options.getLeft(),r+c.options.getTop()),c.designTarget.css("left",c.options.displayLeft()),c.designTarget.css("top",c.options.displayTop()),c.createLineOfPosition(I)}),a&&(S.updateSizeAndPositionOptions(Z,H),S.createLineOfPosition(I))}else S.updateSizeAndPositionOptions(Z,H),S.createLineOfPosition(I);h.a.instance.changed=!0},moveUnit:"pt",minMove:x.a.instance.movingDistance,onBeforeDrag:function(D){h.a.instance.draging=!0,S.designTarget.focus(),S.createLineOfPosition(I)},getScale:function(){return S.designPaper.scale||1},onStopDrag:function(D){h.a.instance.changed&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u79FB\u52A8"),h.a.instance.draging=!1,h.a.instance.changed=!1;var Z=S.panel.printElements.filter(function(H){return H.designTarget.children().last().css("display")=="block"&&!H.printElementType.type.includes("table")});Z.length>1?Z.forEach(function(H){H.removeLineOfPosition()}):S.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){S.removeLineOfPosition(),hinnn.event.trigger("hiprintTemplateMouseUp_"+I.templateId)},300)}),this.designTarget.hicontextMenu(S.panel.getContextMenuList(S)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,I)},A.prototype.getPrintElementEntity=function(y){return y?new U.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new U.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},A.prototype.submitOption=function(){var y=this,I=this.getConfigOptions();I&&I.tabs&&I.tabs.length?this.getPrintElementOptionTabs().forEach(function(S){S.list.forEach(function(N){var D=N.getValue(),Z=N.name=="textType"&&y.options[N.name]!==D,H=N.name=="axis"&&y.options[N.name]!==D,T=N.name=="draggable"&&y.options[N.name]!==D;D&&_typeof(D)=="object"?Object.keys(D).forEach(function(w){y.options[w]=D[w]}):y.options[N.name]=D,Z&&y.setResizePanel(),H&&y.designTarget.hidraggable("update",{axis:D}),T&&y.designTarget.hidraggable("update",{draggable:D})})}):this.getPrintElementOptionItems().forEach(function(S){var N=S.getValue(),D=S.name=="textType"&&y.options[S.name]!==N,Z=S.name=="axis"&&y.options[S.name]!==N,H=S.name=="draggable"&&y.options[S.name]!==N;N&&_typeof(N)=="object"?Object.keys(N).forEach(function(T){y.options[T]=N[T]}):y.options[S.name]=N,D&&y.setResizePanel(),Z&&y.designTarget.hidraggable("update",{axis:N}),H&&y.designTarget.hidraggable("update",{draggable:N})}),this.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},A.prototype.updateOption=function(y,I,S){try{var N=this,D=this.getConfigOptions(),Z=["draggable"];D&&D.tabs&&D.tabs.length?D.tabs.forEach(function(H){H.options.forEach(function(T){Z.push(T.name)})}):Z=D.supportOptions.map(function(H){return H.name}),Z&&Z.includes(y)&&(this.options[y]=I,y=="draggable"&&N.designTarget.hidraggable("update",{draggable:I}),y=="widthHeight"&&(I.width&&(this.options.width=I.width),I.height&&(this.options.height=I.height),I.widthHeightSync&&(this.options.widthHeightSync=I.widthHeightSync)),y=="coordinate"&&(I.left&&(this.options.left=I.left),I.top&&(this.options.top=I.top),I.coordinateSync&&(this.options.coordinateSync=I.coordinateSync)),this.updateDesignViewFromOptions(),S||(hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),hinnn.event.trigger(N.getPrintElementSelectEventKey(),{printElement:N})))}catch(H){console.log("updateOption error",H)}},A.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||x.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||x.a.instance.qrcode.showPoints:this.options.showPoints||x.a.instance.text.showPoints},A.prototype.setResizePanel=function(){var y=this,I=this.designPaper;this.designTarget.hireizeable({showPoints:y.getReizeableShowPoints(),draggable:y.options.draggable,showSizeBox:x.a.instance.showSizeBox,getScale:function(){return y.designPaper.scale||1},onBeforeResize:function(){h.a.instance.draging=!0},onResize:function(N,D,Z,H,T,w){w!=null?y.onRotate(N,w):y.onResize(N,D,Z,H,T),y.createLineOfPosition(I)},onStopResize:function(N){hinnn.event.trigger("hiprintTemplateDataChanged_"+y.templateId,N?"\u65CB\u8F6C":"\u5927\u5C0F"),h.a.instance.draging=!1,y.removeLineOfPosition()}}),this.options.draggable==!1&&$__default.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},A.prototype.onRotate=function(y,I){this.options.setRotate(I)},A.prototype.onResize=function(y,I,S,N,D){this.updateSizeAndPositionOptions(D,N,S,I)},A.prototype.getOrderIndex=function(){return this.options.getTop()},A.prototype.getHtml=function(y,I,S){var N=0;this.setCurrenttemplateData(I);var D=[],Z=this.getBeginPrintTopInPaperByReferenceElement(y),H=y.getPaperFooter(N);this.isHeaderOrFooter()||this.isFixed()||Z>H&&y.panelPageRule!="none"&&(D.push(new p.a({target:void 0,printLine:void 0})),Z=Z-H+y.paperHeader,N++,H=y.getPaperFooter(N));var T=this.getData(I),w=this.createTarget(this.getTitle(),T,S);return this.updateTargetSize(w),this.css(w,T),w.css("position","absolute"),w.css("left",this.options.displayLeft()),w.css("top",Z+"pt"),D.push(new p.a({target:w,printLine:Z+this.options.getHeight(),referenceElement:new m.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:y.index,bottomInLastPaper:Z+this.options.getHeight(),printTopInPaper:Z})})),I&&this.options.pageBreak&&(D[0].target.css("top",y.paperHeader+"pt"),D[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-y.paperHeader,D[0].printLine=y.paperHeader,D[0].referenceElement.bottomInLastPaper=0,D[0].referenceElement.printTopInPaper=y.paperHeader,D.unshift(new p.a({target:w,printLine:y.height,referenceElement:new m.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:y.index,bottomInLastPaper:y.height,printTopInPaper:y.paperHeader})}))),D},A.prototype.getHtml2=function(y,I,S){var N=0;this.setCurrenttemplateData(I);var D=[],Z=this.getBeginPrintTopInPaperByReferenceElement(y),H=y.getPaperFooter(N);this.isHeaderOrFooter()||this.isFixed()||(y.panelPageRule!="none"&&Z>H&&(D.push(new p.a({target:void 0,printLine:void 0})),Z=Z-H+y.paperHeader,N++,H=y.getPaperFooter(N)),Z<=H&&Z+this.options.getHeight()>H&&y.panelPageRule!="none"&&(D.push(new p.a({target:void 0,printLine:void 0})),Z=y.paperHeader,N++,H=y.getPaperFooter(N)));var T=this.getData(I),w=this.createTarget(this.getTitle(),T);return y.panelPageRule=="none"&&Z+this.options.getHeight()>H&&this.updatePanelHeight(Z+this.options.getHeight(),y),this.updateTargetSize(w),this.css(w,T),w.css("position","absolute"),w.css("left",this.options.displayLeft()),w.css("top",Z+"pt"),D.push(new p.a({target:w,printLine:Z+this.options.getHeight(),referenceElement:new m.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:y.index,bottomInLastPaper:Z+this.options.getHeight(),printTopInPaper:Z})})),I&&this.options.pageBreak&&(D[0].target.css("top",y.paperHeader+"pt"),D[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-y.paperHeader,D[0].printLine=y.paperHeader,D[0].referenceElement.bottomInLastPaper=0,D[0].referenceElement.printTopInPaper=y.paperHeader,D.unshift(new p.a({target:w,printLine:y.height,referenceElement:new m.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:y.index,bottomInLastPaper:y.height,printTopInPaper:y.paperHeader})}))),D},A.prototype.updatePanelHeight=function(y,I){if(this.panel.panelPageRule=="none"){var S=hinnn.pt.toMm(y);I.paperFooter=y,I.target.css("height",S+"mm"),I.target.attr("original-height",S)}},A.prototype.getBeginPrintTopInPaperByReferenceElement=function(y){var I=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?I:y.referenceElement.isPositionLeftOrRight(I)?y.referenceElement.printTopInPaper+(I-y.referenceElement.top):y.referenceElement.bottomInLastPaper+(I-(y.referenceElement.top+y.referenceElement.height))},A.prototype.css=function(y,I){var S=this,N=this.getConfigOptions();if(N){var D;N.tabs&&N.tabs.length?(D=[],N.tabs.forEach(function(Z){D=D.concat(Z.options)})):D=N.supportOptions,D&&D.forEach(function(Z){var H=v.a.getItem(Z.name);H&&H.css&&H.css(y,S.options.getValueFromOptionsOrDefault(Z.name))})}this.stylerCss(y,I)},A.prototype.stylerCss=function(y,I){var S=this.getStyler();if(S){var N=S(I,this.options,y,this._currenttemplateData);N&&Object.keys(N).forEach(function(D){y.css(D,N[D])})}},A.prototype.getData=function(y){var I=this.getField();return y?I&&I.split(".").reduce((S,N)=>S?S[N]:y?y[N]:"",!1)||"":this.printElementType.getData()},A.prototype.copyFromType=function(){var y=this.options,I=this.printElementType,S=this.getConfigOptions(),N=[];return S&&S.tabs&&S.tabs.length?S.tabs.forEach(function(D){D.options.forEach(function(Z){N.push(Z.name)})}):N=S.supportOptions.map(function(D){return D.name}),Object.keys(I).forEach(function(D){I[D]&&D!="columns"&&N.indexOf(D)>-1&&(y[D]=_typeof(I[D])=="function"?I[D].toString():I[D])}),y},A.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var y=[],I=this.getConfigOptions();if(I){var S=I.tabs;S&&S.forEach(function(N,D){y.push({name:N.name,list:[]}),N.options.filter(function(Z){return!Z.hidden}).forEach(function(Z){var H=v.a.getItem(Z.name);y[D].list.push(H)})})}return this._printElementOptionTabs=y,this._printElementOptionItems=void 0,this._printElementOptionTabs},A.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var y=[],I=this.getConfigOptions();if(I){var S;I.tabs&&I.tabs.length?(S=[],I.tabs.forEach(function(N){N=N.concat(N.options)})):S=I.supportOptions,S&&S.filter(function(N){return!N.hidden}).forEach(function(N){var D=v.a.getItem(N.name);y.push(D)})}return this._printElementOptionItems=this.filterOptionItems(y.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},A.prototype.getPrintElementOptionItemsByName=function(y){var I=[],S=this.getConfigOptionsByName(y);if(S){var N;S.tabs&&S.tabs.length?(N=[],S.tabs.forEach(function(D){N=N.concat(D.options)})):N=S.supportOptions,N&&N.filter(function(D){return!D.hidden}).forEach(function(D){var Z=v.a.getItem(D.name);I.push(Z)})}return I.concat()},A.prototype.filterOptionItems=function(y){return this.printElementType.field?y.filter(function(I){return I.name!="field"}):y},A.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").append($__default.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},A.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},A.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},A.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},A.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},A.prototype.setCurrenttemplateData=function(y){this._currenttemplateData=y},A.prototype.isFixed=function(){return this.options.fixed},A.prototype.onRendered=function(y,I){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(I,this.options,y.getTarget())},A.prototype.createLineOfPosition=function(y){var I=$__default.default(".toplineOfPosition.id"+this.id),S=$__default.default(".topPosition.id"+this.id),N=$__default.default(".leftlineOfPosition.id"+this.id),D=$__default.default(".leftPosition.id"+this.id),Z=$__default.default(".rightlineOfPosition.id"+this.id),H=$__default.default(".bottomlineOfPosition.id"+this.id),T=x.a.instance;if(I.length)I.css("top",this.options.displayTop(!0));else{var I=$__default.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');I.css("top",this.options.displayTop(!0)),I.css("width",y.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(I)}if(T.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),S.length)S.toggleClass("topPosition-lineMode",T.positionLineMode),S.text(this.options.posTop()+(T.positionUnit?"pt":"")),S.css("top",this.options.posTop()-S.height()+"pt"),T.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt");else{var S=$__default.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');S.toggleClass("topPosition-lineMode",T.positionLineMode),S.text(this.options.posTop()+(T.positionUnit?"pt":"")),T.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(S),S.css("top",this.options.posTop()-S.height()+"pt")}if(N.length)N.css("left",this.options.displayLeft(!0));else{var w=$__default.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');w.css("left",this.options.displayLeft(!0)),w.css("height",y.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(w)}if(T.showPosition)if(D.length)D.text(this.options.posLeft()+(T.positionUnit?"pt":"")),D.toggleClass("leftPosition-lineMode",T.positionLineMode),D.css("left",this.options.posLeft()-D.width()+"pt"),T.positionLineMode?D.css("top",this.options.posTop()-D.height()/3+"pt"):D.css("top",this.options.posTop()+2+"pt");else{var D=$__default.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');D.text(this.options.posLeft()+(T.positionUnit?"pt":"")),D.toggleClass("leftPosition-lineMode",T.positionLineMode),T.positionLineMode?D.css("top",this.options.posTop()-D.height()/3+"pt"):D.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(D),D.css("left",this.options.posLeft()-D.width()+"pt")}if(Z.length)Z.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var a=$__default.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');a.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),a.css("height",y.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}if(H.length)H.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var f=$__default.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');f.css("top",this.options.getTop()+this.options.getHeight()+"pt"),f.css("width",y.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(f)}},A.prototype.removeLineOfPosition=function(){$__default.default(".toplineOfPosition.id"+this.id).remove(),$__default.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),$__default.default(".leftlineOfPosition.id"+this.id).remove(),$__default.default(".leftPosition.id"+this.id).remove(),$__default.default(".rightlineOfPosition.id"+this.id).remove(),$__default.default(".bottomlineOfPosition.id"+this.id).remove()},A.prototype.getFontList=function(){var y=this.options.fontList;return y||(y=h.a.instance.getPrintTemplateById(this.templateId).getFontList())},A.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var y=this.options.fields;return y||(y=h.a.instance.getPrintTemplateById(this.templateId).getFields())},A.prototype.getOnImageChooseClick=function(){var y=this.options.onImageChooseClick;return y||(y=h.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},A.prototype.bingCopyEvent=function(y){var I=this;y.keydown(function(S){if(I._editing&&!S.altKey&&S.keyCode==13){I.updateByContent();return}(S.ctrlKey||S.metaKey)&&S.keyCode==67&&(I.panel.copyJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==68&&(I.panel.copyJson(),I.panel.pasteJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==88&&(I.panel.cutJson(),S.preventDefault())})},A.prototype.clone=function(y){var I=this;let S=I.printElementType.createPrintElement();return Object.keys(I.options).forEach(function(N){S.options[N]=I.options[N]}),S},A.prototype.getFormatter=function(){var y=void 0;if(this.printElementType.formatter&&(y=this.printElementType.formatter),this.options.formatter)try{var I="formatter="+this.options.formatter;y=eval2(I)}catch(S){console.log(S)}return y},A.prototype.getStyler=function(){var y=void 0;if(this.printElementType.styler&&(y=this.printElementType.styler),this.options.styler)try{var I="fnstyler="+this.options.styler;y=eval2(I)}catch(S){console.log(S)}return y},A.prototype.bingKeyboardMoveEvent=function(y,I){var S=this,N=void 0,D=void 0;y.attr("tabindex","1"),y.keydown(function(Z){if(Z.target.tagName!="INPUT"&&!(S._editing&&!Z.altKey)&&S.options.draggable!==!1){var H=S.panel.printElements.filter(function(f){return f.designTarget.children().last().css("display")=="block"&&!f.printElementType.type.includes("table")}),T=H.length>1,w=x.a.instance.movingDistance;switch(Z.keyCode){case 8:case 46:var a=S.panel;T?H.forEach(function(f){a.deletePrintElement(f)}):a.deletePrintElement(S),hinnn.event.trigger("clearSettingContainer");break;case 37:N=S.options.getLeft(),T?H.forEach(function(f){f.updatePositionByMultipleSelect(0-w,0)}):(S.updateSizeAndPositionOptions(N-w),y.css("left",S.options.displayLeft())),Z.preventDefault();break;case 38:D=S.options.getTop(),T?H.forEach(function(f){f.updatePositionByMultipleSelect(0,0-w)}):(S.updateSizeAndPositionOptions(void 0,D-w),y.css("top",S.options.displayTop())),Z.preventDefault();break;case 39:N=S.options.getLeft(),T?H.forEach(function(f){f.updatePositionByMultipleSelect(w,0)}):(S.updateSizeAndPositionOptions(N+w),y.css("left",S.options.displayLeft())),Z.preventDefault();break;case 40:D=S.options.getTop(),T?H.forEach(function(f){f.updatePositionByMultipleSelect(0,w)}):(S.updateSizeAndPositionOptions(void 0,D+w),y.css("top",S.options.displayTop())),Z.preventDefault()}[37,38,39,40].includes(Z.keyCode)&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u952E\u76D8\u79FB\u52A8")}})},A.prototype.inRect=function(y){var I=this.designPaper.scale||1,S=this.designTarget[0].offsetLeft,N=this.designTarget[0].offsetTop,D=this.designTarget[0].offsetHeight,Z=this.designTarget[0].offsetWidth,H=S+Z,T=N+D,w=$__default.default(y.target[0]).position().left/I,a=$__default.default(y.target[0]).position().top/I,f=y.target[0].offsetHeight,r=y.target[0].offsetWidth,c=w+r,b=a+f;return w<H&&c>S&&N<b&&T>a},A.prototype.multipleSelect=function(y){y?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},A.prototype.updatePositionByMultipleSelect=function(y,I){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(y+this.options.getLeft(),I+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},A}()},function(J,z,l){var U=function(){function H(){}return H.prototype.init=function(T){this.target=$__default.default('<input type="text" class="hitable-editor-text" value="" />'),T.getTarget().append(this.target),this.target.focus()},H.prototype.getValue=function(){return this.target.val()},H.prototype.setValue=function(T){this.target.val(T)},H.prototype.destroy=function(){this.target.remove()},H}(),x=function(){function H(){this.text=new U}return Object.defineProperty(H,"Instance",{get:function(){return H._instance||(H._instance=new H),H._instance},enumerable:!0,configurable:!0}),H}(),v=function(){function H(){}return H.prototype.init=function(T,w){var a=`<select class="auto-submit" style="width:100%">
|
|
6
|
-
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;T.forEach(function(f,r){f.field==w.field?a+=' <option value="'+(f.field||"")+'" selected >'+(f.text||"")+"</option>":a+=' <option value="'+(f.field||"")+'" >'+(f.text||"")+"</option>"}),a+=" </select>",this.target=$__default.default(a),w.getTarget().append(this.target),this.target.focus()},H.prototype.getValue=function(){var T=this.target.val(),w=this.target.find('option[value="'+T+'"]').text();return w+"#"+T},H.prototype.setValue=function(T){T&&(this.target.find('option[value="'+T+'"]').length||this.target.find("select").prepend('<option value="'+T+'" >'+T+"</option>")),this.target.find("select").val(T)},H.prototype.destroy=function(){this.target.remove()},H}(),p=function(){function H(){this.select=new v}return Object.defineProperty(H,"Instance",{get:function(){return H._instance||(H._instance=new H),H._instance},enumerable:!0,configurable:!0}),H}(),m=function(){function H(){}return Object.defineProperty(H,"Instance",{get:function(){return x._instance||(H._instance=new H),H._instance},enumerable:!0,configurable:!0}),H.prototype.createEditor=function(T){return $__default.default.extend({},x.Instance[T])},H.prototype.createSelect=function(T){return $__default.default.extend({},p.Instance[T])},H}(),h=l(10),B=l(14),A=l(11),y=function(){function H(){}return H.prototype.init=function(T,w){var a=this;this.tableOptions=w,this.title=T.title,this.field=T.field,T.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){T.isEditing=!0,a.beginEdit(T)})},H.prototype.getDisplayHtml=function(){return this.title},H.prototype.beginEdit=function(T){var w=this;w.tableOptions.options.fields&&w.tableOptions.options.fields.length?(this.editor=m.Instance.createSelect("select"),T.getTarget().html(""),this.editor.init(w.tableOptions.options.fields,T),this.editor.setValue(this.field||""),$__default.default(this.editor.target).keydown(function(a){a.keyCode==13&&w.endEdit(T)}),$__default.default(this.editor.target).change(function(a){w.endEdit(T)}),$__default.default(this.editor.target).blur(function(a){w.endEdit(T)})):(this.editor=m.Instance.createEditor("text"),T.getTarget().html(""),this.editor.init(T),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),$__default.default(this.editor.target).keydown(function(a){a.keyCode==13&&w.endEdit(T)}),$__default.default(this.editor.target).blur(function(a){w.endEdit(T)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=T.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=T)},H.prototype.endEdit=function(T){T.isEditing=0;var w=this.editor.getValue();if(w)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var a=w.split("#");T.title=this.title=a[0],a.length>0&&(T.columnId=T.field=this.field=a[1]),T.id&&T.target.attr("id",T.id),T.columnId&&T.target.attr("column-id",T.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else T.title=this.title=w;else this.tableOptions.options.isEnableEditField?(T.title=this.title="",T.field=this.field=""):T.title=this.title="";this.editor.destroy(),T.getTarget().html(this.title)},H}(),I=function(){return function(H){this.title=H.title,this.field=H.field,this.width=H.width,this.align=H.align,this.halign=H.halign,this.vAlign=H.vAlign,this.colspan=H.colspan,this.rowspan=H.rowspan,this.checked=H.checked,this.columnId=H.columnId,this.tableSummaryTitle=H.tableSummaryTitle,this.tableSummaryText=H.tableSummaryText,this.tableSummaryColspan=H.tableSummaryColspan,this.tableSummary=H.tableSummary,this.tableSummaryAlign=H.tableSummaryAlign,this.tableSummaryNumFormat=H.tableSummaryNumFormat,this.tableSummaryFormatter=H.tableSummaryFormatter,this.upperCase=H.upperCase,this.renderFormatter=H.renderFormatter&&H.renderFormatter.toString(),this.formatter2=H.formatter2&&H.formatter2.toString(),this.styler2=H.styler2&&H.styler2.toString(),this.stylerHeader=H.stylerHeader&&H.stylerHeader.toString(),this.tableColumnHeight=H.tableColumnHeight,this.tableTextType=H.tableTextType,this.tableBarcodeMode=H.tableBarcodeMode,this.tableQRCodeLevel=H.tableQRCodeLevel}}(),S=function(){function H(){this.id=A.a.createId()}return H.prototype.init=function(T,w,a,f){this.isHead=f,this.rowId=a,this.isEditing=!1;var r=/^[0-9]*$/;this.target=T,this.tableOptions=w;var c=this.target.attr("colspan");this.colspan=r.test(c)?parseInt(c):1;var b=this.target.attr("rowspan");this.rowspan=r.test(b)?parseInt(b):1,this.initEvent(),this.isHead&&this.initInnerEelement()},H.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var T=this.getValue();this.editor=m.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(T)}},H.prototype.endEdit=function(){this.isEditing=!1;var T=this.editor.getValue();this.editor.destroy(),this.target.html(T)},H.prototype.getTarget=function(){return this.target},H.prototype.getValue=function(){return this.target.html()},H.prototype.setValue=function(T){},H.prototype.initInnerEelement=function(){this.innerElement=new y,this.innerElement.init(this,this.tableOptions)},H.prototype.initEvent=function(){},H.prototype.isXYinCell=function(T,w){var a=new h.b({x:T,y:w,height:0,width:0});return this.isOverlap(a)},H.prototype.getTableRect=function(){return new h.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},H.prototype.isOverlap=function(T){var w=this.getTableRect();return T.x+T.width>w.x&&w.x+w.width>T.x&&T.y+T.height>w.y&&w.y+w.height>T.y},H.prototype.isInRect=function(T){var w=T.rect,a=this.getTableRect();if(a.x>=w.x&&a.x+a.width<=w.x+w.width&&a.y>=w.y&&a.y+a.height<=w.y+w.height){var f=B.a.mergeRect(w,a);return JSON.stringify(w)==JSON.stringify(f)||(T.changed=!0,T.rect=f,!0)}return!1},H.prototype.isSelected=function(){return this.target.hasClass("selected")},H.prototype.select=function(){this.target.addClass("selected")},H.prototype.isHeader=function(){return!1},H.prototype.setAlign=function(T){this.align=T,T?this.target.css("text-align",T):this.target[0].style.textAlign=""},H.prototype.setVAlign=function(T){this.vAlign=T,T?this.target.css("vertical-align",T):this.target[0].style.verticalAlign=""},H.prototype.getEntity=function(){return new I(this)},H}();l.d(z,"a",function(){return Z});var N,D=(N=function(T,w){return(N=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(a,f){a.__proto__=f}||function(a,f){for(var r in f)f.hasOwnProperty(r)&&(a[r]=f[r])})(T,w)},function(H,T){function w(){this.constructor=H}N(H,T),H.prototype=T===null?Object.create(T):(w.prototype=T.prototype,new w)}),Z=function(H){function T(w){var a=this;return w=w||{},(a=H.call(this)||this).width=w.width?parseFloat(w.width.toString()):100,a.title=w.title,a.descTitle=w.descTitle,a.field=w.field,a.fixed=w.fixed,a.rowspan=w.rowspan?parseInt(w.rowspan):1,a.colspan=w.colspan?parseInt(w.colspan):1,a.align=w.align,a.halign=w.halign,a.vAlign=w.vAlign,a.formatter=w.formatter,a.styler=w.styler,a.renderFormatter=w.renderFormatter,a.formatter2=w.formatter2,a.styler2=w.styler2,a.stylerHeader=w.stylerHeader,a.checkbox=w.checkbox,a.checked=w.checked!=0,a.columnId=w.columnId||w.field,a.tableColumnHeight=w.tableColumnHeight,a.tableTextType=w.tableTextType,a.tableBarcodeMode=w.tableBarcodeMode,a.tableQRCodeLevel=w.tableQRCodeLevel,a.tableSummaryTitle=w.tableSummaryTitle,a.tableSummaryText=w.tableSummaryText,a.tableSummaryColspan=w.tableSummaryColspan,a.tableSummary=w.tableSummary,a.tableSummaryAlign=w.tableSummaryAlign,a.tableSummaryNumFormat=w.tableSummaryNumFormat,a.tableSummaryFormatter=w.tableSummaryFormatter,a.upperCase=w.upperCase,a}return D(T,H),T.prototype.css=function(w){},T}(S)},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){return function(x){this.printLine=x.printLine,this.target=x.target,this.referenceElement=x.referenceElement}}()},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,"a",function(){return TableExcelHelper});var _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(19),_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),TableExcelHelper=function(){function TableExcelHelper(){}return TableExcelHelper.createTableHead=function(J,z){for(var l=TableExcelHelper.reconsitutionTableColumnTree(J),U=$__default.default("<thead></thead>"),x=TableExcelHelper.getColumnsWidth(l,z),v=function(h){var B=$__default.default("<tr></tr>");l[h].filter(function(A){return A.checked}).forEach(function(A){var y=$__default.default("<td></td>");A.id&&y.attr("id",A.id),A.columnId&&y.attr("column-id",A.columnId),(A.align||A.halign)&&y.css("text-align",A.halign||A.align),A.vAlign&&y.css("vertical-align",A.vAlign),A.colspan>1&&y.attr("colspan",A.colspan),A.rowspan>1&&y.attr("rowspan",A.rowspan),y.html(A.title),x[A.id]?(A.hasWidth=!0,A.targetWidth=x[A.id],y.attr("haswidth","haswidth"),y.css("width",x[A.id]+"pt")):A.hasWidth=!1;var I=TableExcelHelper.getHeaderStyler(A);if(I){var S=I(A);S&&Object.keys(S).forEach(function(N){y.css(N,S[N])})}B.append(y)}),U.append(B)},p=0;p<l.totalLayer;p++)v(p);return TableExcelHelper.syncTargetWidthToOption(J),U},TableExcelHelper.createTableFooter=function(J,z,l,U,x,v){var p=$__default.default("<tfoot></tfoot>"),m=this.getFooterFormatter(l,U),h=this.tableSummaryTitle;let B=l.tableFooterRepeat=="last"?z:v,A=l.columns.length-1;var y=this.rowColumns||l.columns[A].columns;if(l.tableFooterRepeat!="no"&&y.some(function(S){return S.tableSummary})){var I=$__default.default("<tr></tr>");y.filter(function(S){return S.checked}).forEach(function(S){var N=B.filter(function(G){return G&&G[S.field]}).map(function(G){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(G[S.field])?Number(G[S.field]):0}),D=S.tableSummaryText,Z=S.tableSummaryNumFormat||2,H=`text-align: ${S.tableSummaryAlign||"center"}`,T=S.tableSummaryColspan==null?1:S.tableSummaryColspan,w=S.upperCase;let{toUpperCase:a,numFormat:f}=_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a;var r=TableExcelHelper.getColumnTableSummaryFormatter(S),c=r?r(S,N,z,l):"";if(c){I.append(c);return}switch(S.tableSummary){case"count":var W=h(S,D||"\u8BA1\u6570:",x),b=a(w,B.filter(G=>G).length||0);I.append(`<td style="${H}" colspan="${T}">${W}${b}</td>`);break;case"sum":var j=parseFloat(Number(N.reduce(function(G,V){return G+V},0)));j=a(w,f(j,Z));var W=h(S,D||"\u5408\u8BA1:",x);I.append(`<td style="${H}" colspan="${T}">${W}${j}</td>`);break;case"avg":var j=parseFloat(Number(N.reduce(function(G,V){return G+V},0))),d=parseFloat(Number(j/(N.length||1)));d=a(w,f(d,Z));var W=h(S,D||"\u5E73\u5747\u503C:",x);I.append(`<td style="${H}" colspan="${T}">${W}${d}</td>`);break;case"min":var g=Math.min(...N);g==1/0&&(g=0),g=a(w,f(g,Z));var W=h(S,D||"\u6700\u5C0F\u503C:",x);I.append(`<td style="${H}" colspan="${T}">${W}${g||0}</td>`);break;case"max":var E=Math.max(...N);E==-1/0&&(E=0);var W=h(S,D||"\u6700\u5927\u503C:",x);E=a(w,f(E,Z)),I.append(`<td style="${H}" colspan="${T}">${W}${E||0}</td>`);break;case"text":I.append(`<td style="${H}" colspan="${T}">${D||""}</td>`);break;default:T>=1&&I.append(`<td style="${H}" colspan="${T}">${D||""}</td>`);break}}),p.append(I)}return m&&p.append(m(l,z,x,v)),p},TableExcelHelper.tableSummaryTitle=function(J,z,l){var U=J.tableSummaryTitle==null||J.tableSummaryTitle==!0;return U?`${z}`:l?"":`<span style="color:firebrick">${z}</span>`},TableExcelHelper.createTableRow=function(J,z,l,U,x){var v=this,p=TableExcelHelper.reconsitutionTableColumnTree(J),m=$__default.default("<tbody></tbody>"),h=v.getGroupFieldsFormatter(U,x),B=h?U.groupFields=h(x,U,z):x.groupFields?x.groupFields:[];return z||(z=[]),B.length?_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a.groupBy(z,B,function(A){var y={};return B.forEach(function(I){return y[I]=A[I]}),y}).forEach(function(A){var y=v.getGroupFormatter(U,x);if(y){var I=$__default.default("<tr></tr>");I.append(y(p.colspan,z,l,A,U)),m.append(I)}var S=v.getGroupFooterFormatter(U,x),N=A;if(N.rows.forEach(function(Z,H){var T=TableExcelHelper.createRowTarget(p,Z,U,x,H,N.rows,l);m.append(T)}),S){var D=$__default.default("<tr></tr>");D.append(S(p.colspan,z,l,A,U)),m.append(D)}}):z.forEach(function(A,y){var I=TableExcelHelper.createRowTarget(p,A,U,x,y,I,l);m.append(I)}),m},TableExcelHelper.createRowTarget=function(J,z,l,U,x,v,p){var m=$__default.default("<tr></tr>"),h=J.rowColumns.filter(function(y){return y.checked});m.data("rowData",z),J.rowColumns.filter(function(y){return y.checked}).forEach(function(y,I){if(!!y.checked){var S="";if(l.rowsColumnsMerge){S=eval2("rowsColumnsMerge="+l.rowsColumnsMerge);var N=S(z,y,I,x,v,p)||[1,1],D=$__default.default(`<td style = 'display:${N[0]&&N[1]?"":"none"}' rowspan = '${N[0]}' colspan = '${N[1]}'></td>`)}else var D=$__default.default("<td></td>");if(z&&Object.keys(z).length>0&&(l.tableHeaderRepeat=="first"||l.tableHeaderRepeat=="none")){if(y.field&&D.attr("field",y.field),y.align&&D.css("text-align",y.align),y.vAlign&&D.css("vertical-align",y.vAlign),l.rowsColumnsMerge&&N[1]>1){var Z=0;h.forEach((j,d)=>{d>=I&&d<I+N[1]&&(Z+=j.width)})}D.css("width",(Z||y.width)+"pt")}else y.field&&D.attr("field",y.field),y.align&&D.css("text-align",y.align),y.vAlign&&D.css("vertical-align",y.vAlign);var H=TableExcelHelper.getColumnFormatter(y),T=H?H(z[y.field],z,I,l):z[y.field],w=TableExcelHelper.getColumnRenderFormatter(y);if(w)D.html(w(z[y.field],z,I,l,x));else if(y.tableTextType=="text"||y.tableTextType==null)D.html(T);else{if(y.tableTextType=="barcode"){D.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{T?(JsBarcode__default.default(D.find(".hibarcode_imgcode")[0],T,{format:y.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),D.find(".hibarcode_imgcode").attr("height",y.tableColumnHeight||30+"pt"),D.find(".hibarcode_imgcode").css("margin","5pt 10pt"),D.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):D.html("")}catch(j){console.log(j),D.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(y.tableTextType=="image"&&(D.html(""),T)){var a=$__default.default('<div><img style = "max-width:100%;max-height:100%"/></div>');a.find("img").attr("src",T),console.log(a.find("img").css("width")),D.html(a)}if(y.tableTextType=="qrcode"){D.html("");try{var f=$__default.default("<div></div>");if(T){var r=parseInt(y.width||y.targetWidth||20),c=parseInt(y.tableColumnHeight||20);f.css("height",(r>c?c:r)+"pt"),new QRCode(f[0],{width:r>c?c:r,height:r>c?c:r,colorDark:"#000000",useSVG:!0,correctLevel:y.tableQRCodeLevel||0}).makeCode(T),D.html(f)}}catch(j){console.log(j),D.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}y.tableTextType==="sequence"&&D.html(x+1)}var b=TableExcelHelper.getColumnStyler(y);if(b){var r=b(z[y.field],z,I,l);r&&Object.keys(r).forEach(function(d){D.css(d,r[d])})}m.append(D)}});var B=TableExcelHelper.getRowStyler(l,U);if(B){var A=B(z,l);A&&Object.keys(A).forEach(function(y){m.css(y,A[y])})}return m},TableExcelHelper.createEmptyRowTarget=function(J,z){var l=TableExcelHelper.reconsitutionTableColumnTree(J),U=$__default.default("<tr></tr>");return l.rowColumns.filter(function(x){return x.checked}).forEach(function(x,v){var p=$__default.default("<td></td>");x.field&&p.attr("field",x.field),x.align&&p.css("text-align",x.align),x.vAlign&&p.css("vertical-align",x.vAlign),U.append(p)}),z&&z.options.tableBodyRowHeight&&U.find("td:not([rowspan])").css("height",z.options.tableBodyRowHeight+"pt"),U},TableExcelHelper.getColumnsWidth=function(J,z){var l={},U=TableExcelHelper.allAutoWidth(J),x=TableExcelHelper.allFixedWidth(J);return J.rowColumns.filter(function(v){return v.checked}).forEach(function(v){if(v.fixed)l[v.id]=v.width;else{var p=z-x,m=v.width/U*(p>0?p:0);l[v.id]=m}}),l},TableExcelHelper.resizeTableCellWidth=function(J,z,l){var U=TableExcelHelper.reconsitutionTableColumnTree(z),x=TableExcelHelper.getColumnsWidth(U,l);J.find("thead tr td[haswidth]").map(function(v,p){var m=$__default.default(p).attr("id"),h=x[m];$__default.default(p).css("width",h+"pt")})},TableExcelHelper.allAutoWidth=function(J){var z=0,l={};return J.rowColumns.filter(function(U){return U.checked}).forEach(function(U){l[U.id]?l[U.id]=0:l[U.id]=U.width,z+=U.fixed?0:l[U.id]}),z},TableExcelHelper.allFixedWidth=function(J){var z=0,l={};return J.rowColumns.filter(function(U){return U.checked}).forEach(function(U){l[U.id]?l[U.id]=0:l[U.id]=U.width,z+=U.fixed?l[U.id]:0}),z},TableExcelHelper.reconsitutionTableColumnTree=function(J,z,l){var U=z||new _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__.a;U.colspan=0;for(var x=function(m){U.totalLayer=m+1,U[m]=J[m].columns,m==0&&J[m].columns.forEach(function(h){m==0&&(U.colspan+=h.colspan)})},v=0;v<J.length;v++)x(v);return U.rowColumns=TableExcelHelper.getOrderdColumns(U),U},TableExcelHelper.syncTargetWidthToOption=function(J){J.forEach(function(z){z.columns.forEach(function(l){l.hasWidth&&(l.width=l.targetWidth)})})},TableExcelHelper.getGroupFieldsFormatter=function(J,z){var l=void 0;if(z.groupFields&&z.groupFields.length){var U=typeof z.groupFields=="string"?z.groupFields:JSON.stringify(z.groupFields);J.groupFieldsFormatter="function(groupData,options){ return "+U+" }"}if(z.groupFieldsFormatter&&(l=z.groupFieldsFormatter),J.groupFieldsFormatter)try{var x="groupFieldsFormatter="+J.groupFieldsFormatter;l=eval2(x)}catch(v){console.log(v)}return l},TableExcelHelper.getGroupFormatter=function(J,z){var l=void 0;if(z.groupFormatter&&(l=z.groupFormatter),J.groupFormatter)try{var U="groupFormatter="+J.groupFormatter;l=eval2(U)}catch(x){console.log(x)}return l},TableExcelHelper.getGroupFooterFormatter=function(J,z){var l=void 0;if(z.groupFooterFormatter&&(l=z.groupFooterFormatter),J.groupFooterFormatter)try{var U="groupFooterFormatter="+J.groupFooterFormatter;l=eval2(U)}catch(x){console.log(x)}return l},TableExcelHelper.getFooterFormatter=function(J,z){var l=void 0;if(z.footerFormatter&&(l=z.footerFormatter),J.footerFormatter)try{var U="footerFormatter="+J.footerFormatter;l=eval2(U)}catch(x){console.log(x)}return l},TableExcelHelper.getRowStyler=function(J,z){var l=void 0;if(z.rowStyler&&(l=z.rowStyler),J.rowStyler)try{var U="rowStyler="+J.rowStyler;l=eval2(U)}catch(x){console.log(x)}return l},TableExcelHelper.getColumnTableSummaryFormatter=function(column){var tableSummaryFormatter=void 0;if(column.tableSummaryFormatter&&(tableSummaryFormatter=column.tableSummaryFormatter),column.tableSummaryFormatter)try{var s="tableSummaryFormatter="+column.tableSummaryFormatter;eval(s)}catch(J){console.log(J)}return tableSummaryFormatter},TableExcelHelper.getColumnStyler=function(J){var z=void 0;if(J.styler&&(z=J.styler),J.styler2)try{var l="styler="+J.styler2;z=eval2(l)}catch(U){console.log(U)}return z},TableExcelHelper.getHeaderStyler=function(J){var z=void 0;if(J.stylerHeader&&(z=J.stylerHeader),J.stylerHeader)try{var l="stylerHeader="+J.stylerHeader;z=eval2(l)}catch(U){console.log(U)}return z},TableExcelHelper.getColumnRenderFormatter=function(J){var z=void 0;if(J.renderFormatter&&(z=J.renderFormatter),J.renderFormatter)try{var l="renderFormatter="+J.renderFormatter;z=eval2(l)}catch(U){console.log(U)}return z},TableExcelHelper.getColumnFormatter=function(J){var z=void 0;if(J.formatter&&(z=J.formatter),J.formatter2)try{var l="formatter="+J.formatter2;z=eval2(l)}catch(U){console.log(U)}return z},TableExcelHelper.getOrderdColumns=function(J){let z={};for(let U=0;U<J.totalLayer;U++)z[U]=[],J[U].forEach((x,v)=>{z[U].push(...new Array(x.colspan).fill({...x,colspan:1}))});for(let U=0;U<J.totalLayer;U++)z[U].forEach((x,v)=>{for(let p=1;p<x.rowspan;p++)z[U+p].splice(v,0,{...x,rowspan:1})});let l=[];for(let U=0;U<J.totalLayer;U++)U>=J.totalLayer-1?z[U].forEach((x,v)=>{x.field||(x.field=l[v])}):z[U].forEach((x,v)=>{U==0?l.push(x.field||""):x.field&&(l[v]=x.field)});return this.rowColumns=z[J.totalLayer-1],z[J.totalLayer-1]},TableExcelHelper}()},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){function x(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 x.prototype.isPositionLeftOrRight=function(v){return this.top<=v&&this.top+this.height>v},x}()},function(J,z,l){var U=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=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
5
|
+
*/(function(R,L){(function(r,B){R.exports=B()})(commonjsGlobal,function(){function r(x,j){return j={exports:{}},x(j,j.exports),j.exports}function B(x,j){var T=h.getNumbResult(x);if(!T)return x;j=j||{};var o=this.ch,m=this.ch_u,a=this.ch_f||"",I=this.ch_d||".",f=o.charAt(0),P=T.int,c=T.decimal,d=T.minus,A="",z="",k=d?a:"",F=function G(it,lt,pt){it=h.getNumbResult(it).int;var ut="",bt=arguments.length>1?arguments[1]:j.tenMin,vt=it.length;if(vt==1)return o.charAt(+it);if(vt<=4)for(var dt=0,yt=vt;yt--;){var ft=+it.charAt(dt);ut+=bt&&vt==2&&dt==0&&ft==1?"":o.charAt(ft),ut+=ft&&yt?m.charAt(yt):"",dt++}else{for(var gt=it.length/4>>0,Pt=it.length%4;Pt==0||!m.charAt(3+gt);)Pt+=4,gt--;var jt=it.substr(0,Pt),St=it.substr(Pt);ut=G(jt,bt)+m.charAt(3+gt)+(St.charAt(0)=="0"?f:"")+G(St,St.length>4&&bt)}return ut=h.clearZero(ut,f)};if(c){c=h.clearZero(c,"0","$");for(var X=0;X<c.length;X++)z+=o.charAt(+c.charAt(X));z=z?I+z:""}if(A=F(P),j.ww&&m.length>5){var V=m.charAt(4),K=m.charAt(5),tt=A.lastIndexOf(K);~tt&&(A=A.substring(0,tt).replace(new RegExp(K,"g"),V+V)+A.substring(tt))}return k+A+z}function w(x){x=x.toString();var j=x.split(this.ch_d),T=j[0].replace(this.ch_f,""),o=j[1],m=!!~j[0].indexOf(this.ch_f),a=this.ch_u.charAt(1),I=this.ch_u.charAt(4),f=this.ch_u.charAt(5);T=T.replace(new RegExp(I+"{2}","g"),f);for(var P=T.split(""),c=0,d=0,A=[],z=[],k=[],F=0;F<P.length;F++){var X=P[F],V=0,K=0;if(~(V=this.ch.indexOf(X)))V>0&&k.unshift(V);else if(~(K=this.ch_u.indexOf(X))){var tt=h.getDigit(K);c>K?(h.unshiftZero(k,tt),h.centerArray(z,k)):K>=d?(F==0&&(k=[1]),h.centerArray(A,z,k),A.length>0&&h.unshiftZero(A,tt),d=K):(k.length==0&&a==X&&(k=[1]),h.centerArray(z,k),h.unshiftZero(z,h.getDigit(K)),c=K)}}h.centerArray(A,z,k).reverse(),A.length==0&&A.push(0);var G=0;if(o){A.push("."),G="0.";for(var F=0;F<o.length;F++)G+=this.ch.indexOf(o.charAt(F)),A.push(this.ch.indexOf(o.charAt(F)));G=+G}return m&&A.unshift("-"),parseFloat(A.join(""))}function b(x,j){var T={ww:!0,complete:!1,outSymbol:!0},o=h.getNumbResult(x),m=this.ch.charAt(0);if(j=typeof j=="object"?j:{},!o)return x;j=h.extend(T,j);var a=o.num,I=o.decimal||"",f=j.outSymbol?this.m_t:"",P=I?"":this.m_z,c="";if(j.complete){for(var d=1;d<this.m_u.length;d++)c+=B.call(this,I.charAt(d-1)||"0")+this.m_u.charAt(d);P=B.call(this,a,j)+this.m_u.charAt(0)}else{if(I=I.substr(0,this.m_u.length-1),I=h.clearZero(I,"0","$"))for(var A,d=0;d<this.m_u.length-1;d++)I.charAt(d)&&I.charAt(d)!="0"&&(c+=B.call(this,I.charAt(d))+this.m_u.charAt(d+1),A=!1),I.charAt(d)!=="0"||A||(d==0&&a=="0"||(c+=m),A=!0);a=="0"&&!P&&c||(P=B.call(this,a,j)+this.m_u.charAt(0)+P)}return f+P+c}function l(x,j){return{encodeS:function(T,o){return o=h.extend({ww:!0,tenMin:!0},o),g.CL.call(x,T,o)},encodeB:function(T,o){return o=h.extend({ww:!0},o),g.CL.call(j,T,o)},decodeS:function(){return g.unCL.apply(x,arguments)},decodeB:function(){return g.unCL.apply(j,arguments)},toMoney:function(T,o){return o=h.extend({ww:!0},o),g.toMoney.call(j,T,o)}}}var h=r(function(x,j){var T=/^([+-])?0*(\d+)(\.(\d+))?$/,o=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=j.e2ten=function(I){var f=o.exec(I.toString());if(!f)return I;var P=f[2],c=f[4]||"",d=f[5]?+f[5]:0;if(d>0){var A=c.substr(0,d);A=A.length<d?A+new Array(d-A.length+1).join("0"):A,c=c.substr(d),P+=A}else{d=-d;var z=P.length-d;z=z<0?0:z;var k=P.substr(z,d);k=k.length<d?new Array(d-k.length+1).join("0")+k:k,P=P.substring(0,z),c=k+c}return P=P==""?"0":P,(f[1]=="-"?"-":"")+P+(c?"."+c:"")};j.getNumbResult=function(I){var f=T.exec(I.toString());if(!f&&o.test(I.toString())&&(f=T.exec(m(I.toString()))),f)return{int:f[2],decimal:f[4],minus:f[1]=="-",num:f.slice(1,3).join("")}},j.centerArray=function I(f,P){if(f.splice.apply(f,[0,P.length].concat(P.splice(0,P.length))),arguments.length>2){var c=[].slice.call(arguments,2);c.unshift(f),I.apply(null,c)}return f};var a=j.hasAttr=function(I,f){return Object.prototype.hasOwnProperty.call(I,f)};j.extend=function(I){for(var f,P=arguments[0]||{},c=Array.prototype.slice.call(arguments,1),d=0;d<c.length;d++){var A=c[d];for(f in A)a(A,f)&&(P[f]=A[f])}return P},j.getDigit=function(I){return I>=5?4*(I-4)+4:I},j.unshiftZero=function(I,f){if(f==null&&(f=1),!(f<=0))for(;f--;)I.unshift(0)},j.clearZero=function(I,f,P){if(I==null)return"";var c=~"*.?+$^[](){}|\\/".indexOf(f)?"\\"+f:f,d=new RegExp("^"+c+"+"),A=new RegExp(c+"+$"),z=new RegExp(c+"{2}","g");return I=I.toString(),P=="^"&&(I=I.replace(d,"")),P&&P!="$"||(I=I.replace(A,"")),P&&P!="nto1"||(I=I.replace(z,f)),I}}),g=(h.e2ten,h.getNumbResult,h.centerArray,h.hasAttr,h.extend,h.getDigit,h.unshiftZero,h.clearZero,{CL:B,unCL:w,toMoney:b}),E=l,D={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},v={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},u={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u500B\u5341\u767E\u5343\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE"},S={ch:"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ch_u:"\u500B\u62FE\u4F70\u4EDF\u842C\u5104",ch_f:"\u8CA0",ch_d:"\u9EDE",m_t:"$",m_z:"\u6574",m_u:"\u5713\u89D2\u5206"},C={s:D,b:v,hk_s:u,hk_b:S},N=function(x){this.lang=x,this.encode=function(){return g.CL.apply(x,arguments)},this.decode=function(){return g.unCL.apply(x,arguments)},this.toMoney=function(){return g.toMoney.apply(x,arguments)}};N.langs=C,N.cn=E(C.s,C.b),N.hk=E(C.hk_s,C.hk_b);var U=N;return U})})(nzh_min);const Nzh=nzh_min.exports;function defaultTypeProvider(R){return function(L){var r=function(B){B.removePrintElementTypes("defaultModule"),B.addPrintElementTypes("defaultModule",[new R.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(w,b){return"\u8FD9\u91CC\u81EA\u5B9A\u4E49\u7EDF\u8BA1\u811A\u4FE1\u606F"},columns:[[{title:"\u884C\u53F7",fixed:!0,rowspan:2,field:"id",width:70},{title:"\u4EBA\u5458\u4FE1\u606F",colspan:2},{title:"\u9500\u552E\u7EDF\u8BA1",colspan:2}],[{title:"\u59D3\u540D",align:"left",field:"name",width:100},{title:"\u6027\u522B",field:"gender",width:100},{title:"\u9500\u552E\u6570\u91CF",field:"count",width:100},{title:"\u9500\u552E\u91D1\u989D",field:"amount",width:100}]]},{tid:"defaultModule.html",title:"html",formatter:function(w,b){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new R.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:r}}}function _instanceof(R,L){return L!=null&&typeof Symbol<"u"&&L[Symbol.hasInstance]?!!L[Symbol.hasInstance](R):R instanceof L}function _typeof(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(R)}window.$=window.jQuery=$__default.default;window.autoConnect=!0;window.io=socket_ioClient.io;window.eval2=eval;var hiprint$1=function(R){var L={};function r(w){if(L[w])return L[w].exports;var b=L[w]={i:w,l:!1,exports:{}};return R[w].call(b.exports,b,b.exports,r),b.l=!0,b.exports}var B=(r.m=R,r.c=L,r.d=function(w,b,l){r.o(w,b)||Object.defineProperty(w,b,{enumerable:!0,get:l})},r.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},r.t=function(w,b){if(1&b&&(w=r(w)),8&b||4&b&&_typeof(w)=="object"&&w&&w.__esModule)return w;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:w}),2&b&&typeof w!="string")for(var h in w)r.d(l,h,function(g){return w[g]}.bind(null,h));return l},r.n=function(w){var b=w&&w.__esModule?function(){return w.default}:function(){return w};return r.d(b,"a",b),b},r.o=function(w,b){return Object.prototype.hasOwnProperty.call(w,b)},r.p="/",r(r.s=21));return B.n=r,B}([function(R,L,r){var B;r.d(L,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(B={},{on:function(b,l){B[b]||(B[b]=[]),B[b].push(l)},id:0,off:function(b,l){var h=B[b];if(h){for(var g=-1,E=0;E<h.length;E++)if(h[E]===l){g=E;break}g<0||B[b].splice(g,1)}},trigger:function(b){var l=B[b];if(l&&l.length)for(var h=Array.prototype.slice.call(arguments,1),g=0;g<l.length;g++)l[g].apply(this,h)},clear:function(b){B[b]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(b){return b+"-"+this.getId()}}),hinnn.form={serialize:function(b){var l=$__default.default(b).serializeArray(),h={};return $__default.default.each(l,function(){h[this.name]?Object.prototype.toString.call(h[this.name])=="[object Array]"?h[this.name].push(this.value):h[this.name]=[h[this.name],this.value]:h[this.name]=this.value}),h}},hinnn.pt={toPx:function(b){return b*(this.getDpi()/72)},toMm:function(b){return hinnn.px.toMm(hinnn.pt.toPx(b))},dpi:0,getDpi:function(){if(!this.dpi){var b=document.getElementById("hinnnDpi");b?this.dpi=b.offsetHeight:(b=document.createElement("DIV"),b.id="hinnnDpi",b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.pt.getDpi()" ');return this.dpi}},hinnn.px={toPt:function(b){return b*(72/this.getDpi())},toMm:function(b){return Math.round(b/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var b=document.getElementById("hinnnDpi");b?this.dpi=b.offsetHeight:(b=document.createElement("DIV"),b.id="hinnnDpi",b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight)}if(this.dpi==0)throw this.dpi=96,new Error('dpi \u83B7\u53D6\u5931\u8D25! \u5DF2\u8BBE\u7F6E\u9ED8\u8BA4\u503C 96; \u8BA1\u7B97\u53EF\u80FD\u4E0D\u51C6\u786E,\u8BF7\u5148\u624B\u52A8\u6267\u884C "hinnn.px.getDpi()" ');return this.dpi}},hinnn.mm={toPt:function(b){return 72/25.4*b},toPx:function(b){return hinnn.pt.toPx(hinnn.mm.toPt(b))}},hinnn.throttle=function(w,b,l){var h,g,E,D=null,v=0;l||(l={});var u=function(){v=l.leading===!1?0:_.now(),D=null,E=w.apply(h,g),D||(h=g=null)};return function(){var S=_.now();v||l.leading!==!1||(v=S);var C=b-(S-v);return h=this,g=arguments,C<=0||C>b?(D&&(clearTimeout(D),D=null),v=S,E=w.apply(h,g),D||(h=g=null)):D||l.trailing===!1||(D=setTimeout(u,C)),E}},hinnn.debounce=function(w,b,l){var h,g,E,D,v,u=function S(){var C=_.now()-D;C<b&&C>=0?h=setTimeout(S,b-C):(h=null,l||(v=w.apply(E,g),h||(E=g=null)))};return function(){E=this,g=arguments,D=_.now();var S=l&&!h;return h||(h=setTimeout(u,b)),S&&(v=w.apply(E,g),E=g=null),v}},hinnn.toUtf8=function(w){var b,l,h,g;for(b="",h=w.length,l=0;l<h;l++)(g=w.charCodeAt(l))>=1&&g<=127?b+=w.charAt(l):g>2047?(b+=String.fromCharCode(224|g>>12&15),b+=String.fromCharCode(128|g>>6&63),b+=String.fromCharCode(128|g>>0&63)):(b+=String.fromCharCode(192|g>>6&31),b+=String.fromCharCode(128|g>>0&63));return b},hinnn.groupBy=function(w,b,l){var h={};return w.forEach(function(g){var E=JSON.stringify(l(g));h[E]||(h[E]={rows:[]},b.forEach(function(D){h[E][D]=g[D]})),h[E].rows.push(g)}),Object.keys(h).map(function(g){return h[g]})},hinnn.orderBy=function(w,b){if(w.length<=1)return w;var l=Math.floor(w.length/2),h=w.splice(l,1)[0],g=[],E=[],D=!0,v=!1,u=void 0;try{for(var S=w[Symbol.iterator](),C;!(D=(C=S.next()).done);D=!0){var N=C.value;b(N)<b(h)?g.push(N):E.push(N)}}catch(U){v=!0,u=U}finally{try{!D&&S.return!=null&&S.return()}finally{if(v)throw u}}return this.orderBy(g,b).concat([h],this.orderBy(E,b))},hinnn.dateFormat=function(w,b){if(w)try{var l=typeof w=="string"?new Date(w):w,h={"M+":l.getMonth()+1,"d+":l.getDate(),"H+":l.getHours(),"m+":l.getMinutes(),"s+":l.getSeconds(),"q+":Math.floor((l.getMonth()+3)/3),S:l.getMilliseconds()};for(var g in/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(l.getFullYear()+"").substr(4-RegExp.$1.length))),h)new RegExp("("+g+")").test(b)&&(b=b.replace(RegExp.$1,RegExp.$1.length==1?h[g]:("00"+h[g]).substr((""+h[g]).length)));return b}catch(E){return console.log(E),""}return""},hinnn.numFormat=function(w,b){if(w!=null)try{var l=typeof w=="string"?parseFloat(w):w,h=parseInt(b);return h>0?l.toFixed(h):parseInt(l.toString())}catch(g){return console.log(g),""}return""},hinnn.toUpperCase=function(w,b){if(!Nzh)return b;var l=b;switch(w){case"0":l=Nzh.cn.encodeS(b);break;case"1":l=Nzh.cn.encodeS(b,{tenMin:!1});break;case"2":l=Nzh.cn.encodeB(b,{tenMin:!0});break;case"3":l=Nzh.cn.encodeB(b);break;case"4":l=Nzh.cn.toMoney(b,{tenMin:!0});break;case"5":l=Nzh.cn.toMoney(b);break;case"6":l=Nzh.cn.toMoney(b,{complete:!0});break;case"7":l=Nzh.cn.toMoney(b,{complete:!0,outSymbol:!1});break}return l}},function(R,L,r){r.d(L,"a",function(){return w});var B=r(9),w=function(){function b(){}return b.prototype.init=function(l){l&&$__default.default.extend(this,l)},b.prototype.register=function(l){this.init(l);var h=this,g=h.getHooks("init");g&&g.forEach(E=>{E.run({Config:h,OptionItems:B,ElementTypes:hiprint$1.ElementTypes,hinnn,hiprint:hiprint$1})})},b.prototype.getHooks=function(l){return this.pluginsList().reduce((h,g)=>h.concat(g.hooks.filter(E=>E.hook===l)),[])},b.prototype.pluginsList=function(){var l=this;return this.plugins?this.plugins.filter(h=>l.versionCheck(h)):[]},b.prototype.versionCheck=function(l){l.leastHiprintVersion.split(".").length!==3&&console.error(`[${l.name}] has a malformed leastHiprintVersion of ${l.leastHiprintVersion}. Please tell the developer to update.`);const h=b.instance.version.split("."),g=parseInt(h[0]),E=parseInt(h[1]),D=parseInt(h[2]),v=l.leastHiprintVersion.split("."),u=parseInt(v[0]),S=parseInt(v[1]),C=parseInt(v[2]);let N=!1;return g>u&&(N=!0),g===u&&E>S&&(N=!0),g===u&&E===S&&D>=C&&(N=!0),N||console.error(`Plugin [${l.name}] requires "@svelte-hiprint/hiprint" version ${l.leastHiprintVersion} and you are using ${b.instance.version}. Disabling plugin. If you want to use this plugin, please update to the required version.`),N},b.prototype.on=function(l,h){hinnn.event.on(l,h)},b.prototype.clear=function(l){hinnn.event.clear(l)},b.prototype.registerItems=function(l){l.forEach(function(h){B.a.registerItem(new h)})},Object.defineProperty(b,"instance",{get:function(){return b._instance||(b._instance=new b,window.HIPRINT_CONFIG&&$__default.default.extend(b._instance,HIPRINT_CONFIG),b._instance.optionItems&&b._instance.optionItems.forEach(function(h){B.a.registerItem(new h)})),b._instance},enumerable:!0,configurable:!0}),b}()},function(R,L,r){var B=function(){function b(l){this.printElement=l}return b.prototype.updatePosition=function(l,h){this.left=l,this.top=h},b}();r.d(L,"a",function(){return w});var w=function(){function b(){this.printTemplateContainer={},this.A1={width:841,height:594},this.A2={width:420,height:594},this.A3={width:420,height:297},this.A4={width:210,height:297},this.A5={width:210,height:148},this.A6={width:105,height:148},this.A7={width:105,height:74},this.A8={width:52,height:74},this.B1={width:1e3,height:707},this.B2={width:500,height:707},this.B3={width:500,height:353},this.B4={width:250,height:353},this.B5={width:250,height:176},this.B6={width:125,height:176},this.B7={width:125,height:88},this.B8={width:62,height:88},this.dragLengthCNum=function(l,h){var g=.75*l;return h&&(h=h),Math.round(g/h)*h}}return Object.defineProperty(b,"instance",{get:function(){return this._instance||(this._instance=new b),this._instance},enumerable:!0,configurable:!0}),b.prototype.getDragingPrintElement=function(){return b.instance.dragingPrintElement},b.prototype.setDragingPrintElement=function(l){b.instance.dragingPrintElement=new B(l)},b.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var h=16*Math.random()|0;return(l=="x"?h:3&h|8).toString(16)})},b.prototype.imageToBase64=function(l){if($__default.default(l).attr("src").indexOf("base64")==-1)try{var h=document.createElement("canvas"),g=new Image;g.src=l.attr("src"),h.width=g.width,h.height=g.height,h.getContext("2d").drawImage(g,0,0),l.attr("src",h.toDataURL("image/png"))}catch{try{this.xhrLoadImage(l)}catch(D){console.log(D)}}},b.prototype.xhrLoadImage=function(l){},b.prototype.transformImg=function(l){var h=this;l.map(function(g,E){h.imageToBase64($__default.default(E))})},b.prototype.getPrintTemplateById=function(l){return b.instance.printTemplateContainer[l]},b.prototype.setPrintTemplateById=function(l,h){return b.instance.printTemplateContainer[l]=h},b}()},function(R,L,r){var B=function(){return function(){}}();r.d(L,"a",function(){return w});var w=function(){function b(l){l=l||{},this.left=l.left,this.top=l.top,this.topInDesign=this.top,this.height=l.height,this.width=l.width,this.transform=l.transform,this.init(l)}return b.prototype.setDefault=function(l){this.defaultOptions=l,this.initSize(),Object.keys(this.defaultOptions).forEach(h=>{this[h]=this[h]||this.defaultOptions[h]})},b.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},b.prototype.initSizeByHtml=function(l,h){this.width||this.setWidth(l),this.height||this.setHeight(h)},b.prototype.getRectInfo=function(){var l={w:0,h:0,diffW:0,diffH:0};if(this.transform){var h=this.transform*Math.PI/180,g=this.width,E=this.height,D=Math.sin(h),v=Math.cos(h),u=Math.abs(g*v)+Math.abs(E*D),S=Math.abs(g*D)+Math.abs(E*v),C=(g-u)/2,N=(E-S)/2;l.w=u,l.h=S,l.diffW=C,l.diffH=N}return l},b.prototype.getLeft=function(){return this.left},b.prototype.posLeft=function(){var l=this.left;return this.transform&&(l+=this.getRectInfo().diffW),Math.floor(l*10)/10},b.prototype.setRotate=function(l){l!=null&&(this.transform=l)},b.prototype.displayLeft=function(l){return this.transform&&l?this.left+this.getRectInfo().diffW+"pt":this.left+"pt"},b.prototype.setLeft=function(l){l!=null&&(this.left=l)},b.prototype.getTop=function(){return this.top},b.prototype.posTop=function(){var l=this.top;return this.transform&&(l+=this.getRectInfo().diffH),Math.floor(l*10)/10},b.prototype.getTopInDesign=function(){return this.topInDesign},b.prototype.displayTop=function(l){return this.transform&&l?this.top+this.getRectInfo().diffH+"pt":this.top+"pt"},b.prototype.setTop=function(l){l!=null&&(this.top=l)},b.prototype.copyDesignTopFromTop=function(){this.topInDesign=this.top},b.prototype.getHeight=function(){if(this.transform){var l=this.getRectInfo();return l.h+l.diffH}return this.height},b.prototype.displayHeight=function(){return this.height+"pt"},b.prototype.setHeight=function(l){l!=null&&(this.height=l)},b.prototype.getWidth=function(){if(this.transform){var l=this.getRectInfo();return l.w+l.diffW}return this.width},b.prototype.displayWidth=function(){return this.width+"pt"},b.prototype.setWidth=function(l){l!=null&&(this.width=l)},b.prototype.getValueFromOptionsOrDefault=function(l){return this[l]==null?this.defaultOptions[l]:this[l]},b.prototype.getPrintElementOptionEntity=function(){var l=new B,h=this;return Object.keys(this).filter(function(g){return g!="topInDesign"}).forEach(function(g){if(typeof h[g]!="number"&&typeof h[g]!="string"&&!["fields"].includes(g)&&_typeof(h[g])!=_typeof(!0)||(l[g]=h[g]),g=="style"){l.style={};var E=h[g];E&&Object.keys(E).forEach(function(D){typeof E[D]!="number"&&typeof E[D]!="string"||(l.style[D]=E[D])})}}),l},b.prototype.init=function(l){var h=this;l&&Object.keys(l).forEach(function(g){h[g]=l[g]})},b}()},function(R,L,r){r.d(L,"a",function(){return E});var B=r(17),w=r(1),b=r(9),l=r(6);r(0);var h=r(8),g=r(2),E=function(){function D(v){this.printElementType=v,this.id=g.a.instance.guid()}return D.prototype.getConfigOptionsByName=function(v){return w.a.instance[v]},D.prototype.getProxyTarget=function(v){v&&this.SetProxyTargetOption(v);var u=this.getData(),S=this.createTarget(this.getTitle(),u);return this.updateTargetSize(S),this.css(S,u),S},D.prototype.SetProxyTargetOption=function(v){this.options.getPrintElementOptionEntity(),$__default.default.extend(this.options,v),this.copyFromType()},D.prototype.showInPage=function(v,u){var S=this.options.showInPage,C=this.options.unShowInPage;if(S){if(S=="first")return v==0;if(v==u-1&&C=="last")return!1;if(S=="odd")return(v!=0||C!="first")&&v%2==0;if(S=="even")return v%2==1;if(S=="last")return v==u-1}return(v!=0||C!="first")&&(v!=u-1||C!="last")},D.prototype.setTemplateId=function(v){this.templateId=v},D.prototype.setPanel=function(v){this.panel=v},D.prototype.getField=function(){return this.options.field||this.printElementType.field},D.prototype.getTitle=function(){return this.printElementType.title},D.prototype.updateSizeAndPositionOptions=function(v,u,S,C){this.options.setLeft(v),this.options.setTop(u),this.options.copyDesignTopFromTop(),this.options.setWidth(S),this.options.setHeight(C)},D.prototype.initSizeByHtml=function(v){if(v&&v.length){this.createTempContainer();var u=v.clone();this.getTempContainer().append(u),this.options.initSizeByHtml(parseInt(hinnn.px.toPt(u.width()).toString()),parseInt(hinnn.px.toPt(u.height()).toString())),this.removeTempContainer()}},D.prototype.updateTargetSize=function(v){v.css("width",this.options.displayWidth()),v.css("height",this.options.displayHeight())},D.prototype.updateTargetWidth=function(v){v.css("width",this.options.displayWidth())},D.prototype.getDesignTarget=function(v){var u=this,S=0;return this.designTarget=this.getHtml(v)[0].target,this.designPaper=v,this.designTarget.click(function(C){C.timeStamp-S>500&&hinnn.event.trigger(u.getPrintElementSelectEventKey(),{printElement:u}),S=C.timeStamp}),this.designTarget.dblclick(function(C){var N=u.designTarget.find(".hiprint-printElement-content");if(N){var U=u.designTarget.find(".resize-panel");u.printElementType.type=="text"&&!(u.options.textType&&u.options.textType!="text")&&(u._editing=!0,u.designTarget.hidraggable("update",{draggable:!1}),N.css("cursor","text"),N.addClass("editing"),u.designTarget.addClass("editing"),N.click(function(x){u._editing&&x.stopPropagation()}),N.attr("contenteditable",!0),U&&U.css("display","none"),u.selectEnd(N))}}),this.designTarget},D.prototype.selectEnd=function(v){if(v.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var u=document.createRange();u.selectNodeContents(v[0]),u.collapse(!1);var S=window.getSelection();S.removeAllRanges(),S.addRange(u)}else if(typeof document.body.createTextRange<"u"){var u=document.body.createTextRange();u.moveToElementText(v[0]),u.collapse(!1),u.select()}},D.prototype.updateByContent=function(v){var u=this,S=u.designTarget.find(".hiprint-printElement-content");if(u._editing){S&&S.css("cursor","")&&S.removeClass("editing")&&S.removeAttr("contenteditable"),u.designTarget.removeClass("editing");var C=S.text(),N=u.options.title+"\uFF1A";C.startsWith(N)&&u.options.field?C.length>N.length?u.options.testData=C.split("\uFF1A")[1]:(u.options.title=C,u.options.testData=""):u.options.title=C,v||hinnn.event.trigger(u.getPrintElementSelectEventKey(),{printElement:u}),u.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+u.templateId,"\u7F16\u8F91\u4FEE\u6539"),u._editing=!1;var U=u.options.draggable==null||u.options.draggable==!0;u.designTarget.hidraggable("update",{draggable:U})}},D.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},D.prototype.design=function(v,u){var S=this;this.designTarget.hidraggable({draggable:S.options.draggable,axis:S.options.axis?S.options.axis:void 0,designTarget:S,onDrag:function(N,U,x){var j=S.panel.printElements.filter(function(I){return I.designTarget.children().last().css("display")=="block"&&I.designTarget.children().last().hasClass("selected")&&!I.printElementType.type.includes("table")}),T=j.length>1,o=!S.designTarget.children().last().hasClass("selected");if(T){var m=U-S.options.left,a=x-S.options.top;j.forEach(function(I){I.updateSizeAndPositionOptions(m+I.options.getLeft(),a+I.options.getTop()),I.designTarget.css("left",I.options.displayLeft()),I.designTarget.css("top",I.options.displayTop()),I.createLineOfPosition(u)}),o&&(S.updateSizeAndPositionOptions(U,x),S.createLineOfPosition(u))}else S.updateSizeAndPositionOptions(U,x),S.createLineOfPosition(u);g.a.instance.changed=!0},moveUnit:"pt",minMove:w.a.instance.movingDistance,onBeforeDrag:function(N){g.a.instance.draging=!0,S.designTarget.focus(),S.createLineOfPosition(u)},getScale:function(){return S.designPaper.scale||1},onStopDrag:function(N){g.a.instance.changed&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u79FB\u52A8"),g.a.instance.draging=!1,g.a.instance.changed=!1;var U=S.panel.printElements.filter(function(x){return x.designTarget.children().last().css("display")=="block"&&!x.printElementType.type.includes("table")});U.length>1?U.forEach(function(x){x.removeLineOfPosition()}):S.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){S.removeLineOfPosition(),hinnn.event.trigger("hiprintTemplateMouseUp_"+u.templateId)},300)}),this.designTarget.hicontextMenu(S.panel.getContextMenuList(S)),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,u)},D.prototype.getPrintElementEntity=function(v){return v?new B.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new B.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},D.prototype.submitOption=function(){var v=this,u=this.getConfigOptions();u&&u.tabs&&u.tabs.length?this.getPrintElementOptionTabs().forEach(function(S){S.list.forEach(function(C){var N=C.getValue(),U=C.name=="textType"&&v.options[C.name]!==N,x=C.name=="axis"&&v.options[C.name]!==N,j=C.name=="draggable"&&v.options[C.name]!==N;N&&_typeof(N)=="object"?Object.keys(N).forEach(function(T){v.options[T]=N[T]}):v.options[C.name]=N,U&&v.setResizePanel(),x&&v.designTarget.hidraggable("update",{axis:N}),j&&v.designTarget.hidraggable("update",{draggable:N})})}):this.getPrintElementOptionItems().forEach(function(S){var C=S.getValue(),N=S.name=="textType"&&v.options[S.name]!==C,U=S.name=="axis"&&v.options[S.name]!==C,x=S.name=="draggable"&&v.options[S.name]!==C;C&&_typeof(C)=="object"?Object.keys(C).forEach(function(j){v.options[j]=C[j]}):v.options[S.name]=C,N&&v.setResizePanel(),U&&v.designTarget.hidraggable("update",{axis:C}),x&&v.designTarget.hidraggable("update",{draggable:C})}),this.updateDesignViewFromOptions(),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},D.prototype.updateOption=function(v,u,S){try{var C=this,N=this.getConfigOptions(),U=["draggable"];N&&N.tabs&&N.tabs.length?N.tabs.forEach(function(x){x.options.forEach(function(j){U.push(j.name)})}):U=N.supportOptions.map(function(x){return x.name}),U&&U.includes(v)&&(this.options[v]=u,v=="draggable"&&C.designTarget.hidraggable("update",{draggable:u}),v=="widthHeight"&&(u.width&&(this.options.width=u.width),u.height&&(this.options.height=u.height),u.widthHeightSync&&(this.options.widthHeightSync=u.widthHeightSync)),v=="coordinate"&&(u.left&&(this.options.left=u.left),u.top&&(this.options.top=u.top),u.coordinateSync&&(this.options.coordinateSync=u.coordinateSync)),this.updateDesignViewFromOptions(),S||(hinnn.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),hinnn.event.trigger(C.getPrintElementSelectEventKey(),{printElement:C})))}catch(x){console.log("updateOption error",x)}},D.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||w.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||w.a.instance.qrcode.showPoints:this.options.showPoints||w.a.instance.text.showPoints},D.prototype.setResizePanel=function(){var v=this,u=this.designPaper;this.designTarget.hireizeable({showPoints:v.getReizeableShowPoints(),draggable:v.options.draggable,showSizeBox:w.a.instance.showSizeBox,getScale:function(){return v.designPaper.scale||1},onBeforeResize:function(){g.a.instance.draging=!0},onResize:function(C,N,U,x,j,T){T!=null?v.onRotate(C,T):v.onResize(C,N,U,x,j),v.createLineOfPosition(u)},onStopResize:function(C){hinnn.event.trigger("hiprintTemplateDataChanged_"+v.templateId,C?"\u65CB\u8F6C":"\u5927\u5C0F"),g.a.instance.draging=!1,v.removeLineOfPosition()}}),this.options.draggable==!1&&$__default.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},D.prototype.onRotate=function(v,u){this.options.setRotate(u)},D.prototype.onResize=function(v,u,S,C,N){this.updateSizeAndPositionOptions(N,C,S,u)},D.prototype.getOrderIndex=function(){return this.options.getTop()},D.prototype.getHtml=function(v,u,S){var C=0;this.setCurrenttemplateData(u);var N=[],U=this.getBeginPrintTopInPaperByReferenceElement(v),x=v.getPaperFooter(C);this.isHeaderOrFooter()||this.isFixed()||U>x&&v.panelPageRule!="none"&&(N.push(new l.a({target:void 0,printLine:void 0})),U=U-x+v.paperHeader,C++,x=v.getPaperFooter(C));var j=this.getData(u),T=this.createTarget(this.getTitle(),j,S);return this.updateTargetSize(T),this.css(T,j),T.css("position","absolute"),T.css("left",this.options.displayLeft()),T.css("top",U+"pt"),N.push(new l.a({target:T,printLine:U+this.options.getHeight(),referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:U+this.options.getHeight(),printTopInPaper:U})})),u&&this.options.pageBreak&&(N[0].target.css("top",v.paperHeader+"pt"),N[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-v.paperHeader,N[0].printLine=v.paperHeader,N[0].referenceElement.bottomInLastPaper=0,N[0].referenceElement.printTopInPaper=v.paperHeader,N.unshift(new l.a({target:T,printLine:v.height,referenceElement:new h.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:v.index,bottomInLastPaper:v.height,printTopInPaper:v.paperHeader})}))),N},D.prototype.getHtml2=function(v,u,S){var C=0;this.setCurrenttemplateData(u);var N=[],U=this.getBeginPrintTopInPaperByReferenceElement(v),x=v.getPaperFooter(C);this.isHeaderOrFooter()||this.isFixed()||(v.panelPageRule!="none"&&U>x&&(N.push(new l.a({target:void 0,printLine:void 0})),U=U-x+v.paperHeader,C++,x=v.getPaperFooter(C)),U<=x&&U+this.options.getHeight()>x&&v.panelPageRule!="none"&&(N.push(new l.a({target:void 0,printLine:void 0})),U=v.paperHeader,C++,x=v.getPaperFooter(C)));var j=this.getData(u),T=this.createTarget(this.getTitle(),j);return v.panelPageRule=="none"&&U+this.options.getHeight()>x&&this.updatePanelHeight(U+this.options.getHeight(),v),this.updateTargetSize(T),this.css(T,j),T.css("position","absolute"),T.css("left",this.options.displayLeft()),T.css("top",U+"pt"),N.push(new l.a({target:T,printLine:U+this.options.getHeight(),referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:U+this.options.getHeight(),printTopInPaper:U})})),u&&this.options.pageBreak&&(N[0].target.css("top",v.paperHeader+"pt"),N[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-v.paperHeader,N[0].printLine=v.paperHeader,N[0].referenceElement.bottomInLastPaper=0,N[0].referenceElement.printTopInPaper=v.paperHeader,N.unshift(new l.a({target:T,printLine:v.height,referenceElement:new h.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:v.index,bottomInLastPaper:v.height,printTopInPaper:v.paperHeader})}))),N},D.prototype.updatePanelHeight=function(v,u){if(this.panel.panelPageRule=="none"){var S=hinnn.pt.toMm(v);u.paperFooter=v,u.target.css("height",S+"mm"),u.target.attr("original-height",S)}},D.prototype.getBeginPrintTopInPaperByReferenceElement=function(v){var u=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?u:v.referenceElement.isPositionLeftOrRight(u)?v.referenceElement.printTopInPaper+(u-v.referenceElement.top):v.referenceElement.bottomInLastPaper+(u-(v.referenceElement.top+v.referenceElement.height))},D.prototype.css=function(v,u){var S=this,C=this.getConfigOptions();if(C){var N;C.tabs&&C.tabs.length?(N=[],C.tabs.forEach(function(U){N=N.concat(U.options)})):N=C.supportOptions,N&&N.forEach(function(U){var x=b.a.getItem(U.name);x&&x.css&&x.css(v,S.options.getValueFromOptionsOrDefault(U.name))})}this.stylerCss(v,u)},D.prototype.stylerCss=function(v,u){var S=this.getStyler();if(S){var C=S(u,this.options,v,this._currenttemplateData);C&&Object.keys(C).forEach(function(N){v.css(N,C[N])})}},D.prototype.getData=function(v){var u=this.getField();return v?u&&u.split(".").reduce((S,C)=>S?S[C]:v?v[C]:"",!1)||"":this.printElementType.getData()},D.prototype.copyFromType=function(){var v=this.options,u=this.printElementType,S=this.getConfigOptions(),C=[];return S&&S.tabs&&S.tabs.length?S.tabs.forEach(function(N){N.options.forEach(function(U){C.push(U.name)})}):C=S.supportOptions.map(function(N){return N.name}),Object.keys(u).forEach(function(N){u[N]&&N!="columns"&&C.indexOf(N)>-1&&(v[N]=_typeof(u[N])=="function"?u[N].toString():u[N])}),v},D.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var v=[],u=this.getConfigOptions();if(u){var S=u.tabs;S&&S.forEach(function(C,N){v.push({name:C.name,list:[]}),C.options.filter(function(U){return!U.hidden}).forEach(function(U){var x=b.a.getItem(U.name);v[N].list.push(x)})})}return this._printElementOptionTabs=v,this._printElementOptionItems=void 0,this._printElementOptionTabs},D.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var v=[],u=this.getConfigOptions();if(u){var S;u.tabs&&u.tabs.length?(S=[],u.tabs.forEach(function(C){C=C.concat(C.options)})):S=u.supportOptions,S&&S.filter(function(C){return!C.hidden}).forEach(function(C){var N=b.a.getItem(C.name);v.push(N)})}return this._printElementOptionItems=this.filterOptionItems(v.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},D.prototype.getPrintElementOptionItemsByName=function(v){var u=[],S=this.getConfigOptionsByName(v);if(S){var C;S.tabs&&S.tabs.length?(C=[],S.tabs.forEach(function(N){C=C.concat(N.options)})):C=S.supportOptions,C&&C.filter(function(N){return!N.hidden}).forEach(function(N){var U=b.a.getItem(N.name);u.push(U)})}return u.concat()},D.prototype.filterOptionItems=function(v){return this.printElementType.field?v.filter(function(u){return u.name!="field"}):v},D.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").append($__default.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},D.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},D.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},D.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},D.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},D.prototype.setCurrenttemplateData=function(v){this._currenttemplateData=v},D.prototype.isFixed=function(){return this.options.fixed},D.prototype.onRendered=function(v,u){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(u,this.options,v.getTarget())},D.prototype.createLineOfPosition=function(v){var u=$__default.default(".toplineOfPosition.id"+this.id),S=$__default.default(".topPosition.id"+this.id),C=$__default.default(".leftlineOfPosition.id"+this.id),N=$__default.default(".leftPosition.id"+this.id),U=$__default.default(".rightlineOfPosition.id"+this.id),x=$__default.default(".bottomlineOfPosition.id"+this.id),j=w.a.instance;if(u.length)u.css("top",this.options.displayTop(!0));else{var u=$__default.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');u.css("top",this.options.displayTop(!0)),u.css("width",v.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(u)}if(j.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),S.length)S.toggleClass("topPosition-lineMode",j.positionLineMode),S.text(this.options.posTop()+(j.positionUnit?"pt":"")),S.css("top",this.options.posTop()-S.height()+"pt"),j.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt");else{var S=$__default.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');S.toggleClass("topPosition-lineMode",j.positionLineMode),S.text(this.options.posTop()+(j.positionUnit?"pt":"")),j.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(S),S.css("top",this.options.posTop()-S.height()+"pt")}if(C.length)C.css("left",this.options.displayLeft(!0));else{var T=$__default.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');T.css("left",this.options.displayLeft(!0)),T.css("height",v.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(T)}if(j.showPosition)if(N.length)N.text(this.options.posLeft()+(j.positionUnit?"pt":"")),N.toggleClass("leftPosition-lineMode",j.positionLineMode),N.css("left",this.options.posLeft()-N.width()+"pt"),j.positionLineMode?N.css("top",this.options.posTop()-N.height()/3+"pt"):N.css("top",this.options.posTop()+2+"pt");else{var N=$__default.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');N.text(this.options.posLeft()+(j.positionUnit?"pt":"")),N.toggleClass("leftPosition-lineMode",j.positionLineMode),j.positionLineMode?N.css("top",this.options.posTop()-N.height()/3+"pt"):N.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(N),N.css("left",this.options.posLeft()-N.width()+"pt")}if(U.length)U.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var o=$__default.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),o.css("height",v.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(x.length)x.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var m=$__default.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');m.css("top",this.options.getTop()+this.options.getHeight()+"pt"),m.css("width",v.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}},D.prototype.removeLineOfPosition=function(){$__default.default(".toplineOfPosition.id"+this.id).remove(),$__default.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),$__default.default(".leftlineOfPosition.id"+this.id).remove(),$__default.default(".leftPosition.id"+this.id).remove(),$__default.default(".rightlineOfPosition.id"+this.id).remove(),$__default.default(".bottomlineOfPosition.id"+this.id).remove()},D.prototype.getFontList=function(){var v=this.options.fontList;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getFontList())},D.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var v=this.options.fields;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getFields())},D.prototype.getOnImageChooseClick=function(){var v=this.options.onImageChooseClick;return v||(v=g.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},D.prototype.bingCopyEvent=function(v){var u=this;v.keydown(function(S){if(u._editing&&!S.altKey&&S.keyCode==13){u.updateByContent();return}(S.ctrlKey||S.metaKey)&&S.keyCode==67&&(u.panel.copyJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==68&&(u.panel.copyJson(),u.panel.pasteJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==88&&(u.panel.cutJson(),S.preventDefault())})},D.prototype.clone=function(v){var u=this;let S=u.printElementType.createPrintElement();return Object.keys(u.options).forEach(function(C){S.options[C]=u.options[C]}),S},D.prototype.getFormatter=function(){var v=void 0;if(this.printElementType.formatter&&(v=this.printElementType.formatter),this.options.formatter)try{var u="formatter="+this.options.formatter;v=eval2(u)}catch(S){console.log(S)}return v},D.prototype.getStyler=function(){var v=void 0;if(this.printElementType.styler&&(v=this.printElementType.styler),this.options.styler)try{var u="fnstyler="+this.options.styler;v=eval2(u)}catch(S){console.log(S)}return v},D.prototype.bingKeyboardMoveEvent=function(v,u){var S=this,C=void 0,N=void 0;v.attr("tabindex","1"),v.keydown(function(U){if(U.target.tagName!="INPUT"&&!(S._editing&&!U.altKey)&&S.options.draggable!==!1){var x=S.panel.printElements.filter(function(m){return m.designTarget.children().last().css("display")=="block"&&!m.printElementType.type.includes("table")}),j=x.length>1,T=w.a.instance.movingDistance;switch(U.keyCode){case 8:case 46:var o=S.panel;j?x.forEach(function(m){o.deletePrintElement(m)}):o.deletePrintElement(S),hinnn.event.trigger("clearSettingContainer");break;case 37:C=S.options.getLeft(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0-T,0)}):(S.updateSizeAndPositionOptions(C-T),v.css("left",S.options.displayLeft())),U.preventDefault();break;case 38:N=S.options.getTop(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0,0-T)}):(S.updateSizeAndPositionOptions(void 0,N-T),v.css("top",S.options.displayTop())),U.preventDefault();break;case 39:C=S.options.getLeft(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(T,0)}):(S.updateSizeAndPositionOptions(C+T),v.css("left",S.options.displayLeft())),U.preventDefault();break;case 40:N=S.options.getTop(),j?x.forEach(function(m){m.updatePositionByMultipleSelect(0,T)}):(S.updateSizeAndPositionOptions(void 0,N+T),v.css("top",S.options.displayTop())),U.preventDefault()}[37,38,39,40].includes(U.keyCode)&&hinnn.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u952E\u76D8\u79FB\u52A8")}})},D.prototype.inRect=function(v){var u=this.designPaper.scale||1,S=this.designTarget[0].offsetLeft,C=this.designTarget[0].offsetTop,N=this.designTarget[0].offsetHeight,U=this.designTarget[0].offsetWidth,x=S+U,j=C+N,T=$__default.default(v.target[0]).position().left/u,o=$__default.default(v.target[0]).position().top/u,m=v.target[0].offsetHeight,a=v.target[0].offsetWidth,I=T+a,f=o+m;return T<x&&I>S&&C<f&&j>o},D.prototype.multipleSelect=function(v){v?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},D.prototype.updatePositionByMultipleSelect=function(v,u){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(v+this.options.getLeft(),u+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},D}()},function(R,L,r){var B=function(){function x(){}return x.prototype.init=function(j){this.target=$__default.default('<input type="text" class="hitable-editor-text" value="" />'),j.getTarget().append(this.target),this.target.focus()},x.prototype.getValue=function(){return this.target.val()},x.prototype.setValue=function(j){this.target.val(j)},x.prototype.destroy=function(){this.target.remove()},x}(),w=function(){function x(){this.text=new B}return Object.defineProperty(x,"Instance",{get:function(){return x._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x}(),b=function(){function x(){}return x.prototype.init=function(j,T){var o=`<select class="auto-submit" style="width:100%">
|
|
6
|
+
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;j.forEach(function(m,a){m.field==T.field?o+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":o+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),o+=" </select>",this.target=$__default.default(o),T.getTarget().append(this.target),this.target.focus()},x.prototype.getValue=function(){var j=this.target.val(),T=this.target.find('option[value="'+j+'"]').text();return T+"#"+j},x.prototype.setValue=function(j){j&&(this.target.find('option[value="'+j+'"]').length||this.target.find("select").prepend('<option value="'+j+'" >'+j+"</option>")),this.target.find("select").val(j)},x.prototype.destroy=function(){this.target.remove()},x}(),l=function(){function x(){this.select=new b}return Object.defineProperty(x,"Instance",{get:function(){return x._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x}(),h=function(){function x(){}return Object.defineProperty(x,"Instance",{get:function(){return w._instance||(x._instance=new x),x._instance},enumerable:!0,configurable:!0}),x.prototype.createEditor=function(j){return $__default.default.extend({},w.Instance[j])},x.prototype.createSelect=function(j){return $__default.default.extend({},l.Instance[j])},x}(),g=r(10),E=r(14),D=r(11),v=function(){function x(){}return x.prototype.init=function(j,T){var o=this;this.tableOptions=T,this.title=j.title,this.field=j.field,j.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){j.isEditing=!0,o.beginEdit(j)})},x.prototype.getDisplayHtml=function(){return this.title},x.prototype.beginEdit=function(j){var T=this;T.tableOptions.options.fields&&T.tableOptions.options.fields.length?(this.editor=h.Instance.createSelect("select"),j.getTarget().html(""),this.editor.init(T.tableOptions.options.fields,j),this.editor.setValue(this.field||""),$__default.default(this.editor.target).keydown(function(o){o.keyCode==13&&T.endEdit(j)}),$__default.default(this.editor.target).change(function(o){T.endEdit(j)}),$__default.default(this.editor.target).blur(function(o){T.endEdit(j)})):(this.editor=h.Instance.createEditor("text"),j.getTarget().html(""),this.editor.init(j),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),$__default.default(this.editor.target).keydown(function(o){o.keyCode==13&&T.endEdit(j)}),$__default.default(this.editor.target).blur(function(o){T.endEdit(j)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=j.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=j)},x.prototype.endEdit=function(j){j.isEditing=0;var T=this.editor.getValue();if(T)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=T.split("#");j.title=this.title=o[0],o.length>0&&(j.columnId=j.field=this.field=o[1]),j.id&&j.target.attr("id",j.id),j.columnId&&j.target.attr("column-id",j.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else j.title=this.title=T;else this.tableOptions.options.isEnableEditField?(j.title=this.title="",j.field=this.field=""):j.title=this.title="";this.editor.destroy(),j.getTarget().html(this.title)},x}(),u=function(){return function(x){this.title=x.title,this.titleSync=x.titleSync,this.field=x.field,this.width=x.width,this.align=x.align,this.halign=x.halign,this.vAlign=x.vAlign,this.colspan=x.colspan,this.rowspan=x.rowspan,this.checked=x.checked,this.columnId=x.columnId,this.tableSummaryTitle=x.tableSummaryTitle,this.tableSummaryText=x.tableSummaryText,this.tableSummaryColspan=x.tableSummaryColspan,this.tableSummary=x.tableSummary,this.tableSummaryAlign=x.tableSummaryAlign,this.tableSummaryNumFormat=x.tableSummaryNumFormat,this.tableSummaryFormatter=x.tableSummaryFormatter,this.upperCase=x.upperCase,this.renderFormatter=x.renderFormatter&&x.renderFormatter.toString(),this.formatter2=x.formatter2&&x.formatter2.toString(),this.styler2=x.styler2&&x.styler2.toString(),this.stylerHeader=x.stylerHeader&&x.stylerHeader.toString(),this.tableColumnHeight=x.tableColumnHeight,this.tableTextType=x.tableTextType,this.tableBarcodeMode=x.tableBarcodeMode,this.tableQRCodeLevel=x.tableQRCodeLevel}}(),S=function(){function x(){this.id=D.a.createId()}return x.prototype.init=function(j,T,o,m){this.isHead=m,this.rowId=o,this.isEditing=!1;var a=/^[0-9]*$/;this.target=j,this.tableOptions=T;var I=this.target.attr("colspan");this.colspan=a.test(I)?parseInt(I):1;var f=this.target.attr("rowspan");this.rowspan=a.test(f)?parseInt(f):1,this.initEvent(),this.isHead&&this.initInnerEelement()},x.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var j=this.getValue();this.editor=h.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(j)}},x.prototype.endEdit=function(){this.isEditing=!1;var j=this.editor.getValue();this.editor.destroy(),this.target.html(j)},x.prototype.getTarget=function(){return this.target},x.prototype.getValue=function(){return this.target.html()},x.prototype.setValue=function(j){},x.prototype.initInnerEelement=function(){this.innerElement=new v,this.innerElement.init(this,this.tableOptions)},x.prototype.initEvent=function(){},x.prototype.isXYinCell=function(j,T){var o=new g.b({x:j,y:T,height:0,width:0});return this.isOverlap(o)},x.prototype.getTableRect=function(){return new g.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},x.prototype.isOverlap=function(j){var T=this.getTableRect();return j.x+j.width>T.x&&T.x+T.width>j.x&&j.y+j.height>T.y&&T.y+T.height>j.y},x.prototype.isInRect=function(j){var T=j.rect,o=this.getTableRect();if(o.x>=T.x&&o.x+o.width<=T.x+T.width&&o.y>=T.y&&o.y+o.height<=T.y+T.height){var m=E.a.mergeRect(T,o);return JSON.stringify(T)==JSON.stringify(m)||(j.changed=!0,j.rect=m,!0)}return!1},x.prototype.isSelected=function(){return this.target.hasClass("selected")},x.prototype.select=function(){this.target.addClass("selected")},x.prototype.isHeader=function(){return!1},x.prototype.setAlign=function(j){this.align=j,j?this.target.css("text-align",j):this.target[0].style.textAlign=""},x.prototype.setVAlign=function(j){this.vAlign=j,j?this.target.css("vertical-align",j):this.target[0].style.verticalAlign=""},x.prototype.getEntity=function(){return new u(this)},x}();r.d(L,"a",function(){return U});var C,N=(C=function(j,T){return(C=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(o,m){o.__proto__=m}||function(o,m){for(var a in m)m.hasOwnProperty(a)&&(o[a]=m[a])})(j,T)},function(x,j){function T(){this.constructor=x}C(x,j),x.prototype=j===null?Object.create(j):(T.prototype=j.prototype,new T)}),U=function(x){function j(T){var o=this;return T=T||{},(o=x.call(this)||this).width=T.width?parseFloat(T.width.toString()):100,o.title=T.title,o.titleSync=T.titleSync,o.descTitle=T.descTitle,o.field=T.field,o.fixed=T.fixed,o.rowspan=T.rowspan?parseInt(T.rowspan):1,o.colspan=T.colspan?parseInt(T.colspan):1,o.align=T.align,o.halign=T.halign,o.vAlign=T.vAlign,o.formatter=T.formatter,o.styler=T.styler,o.renderFormatter=T.renderFormatter,o.formatter2=T.formatter2,o.styler2=T.styler2,o.stylerHeader=T.stylerHeader,o.checkbox=T.checkbox,o.checked=T.checked!=0,o.columnId=T.columnId||T.field,o.tableColumnHeight=T.tableColumnHeight,o.tableTextType=T.tableTextType,o.tableBarcodeMode=T.tableBarcodeMode,o.tableQRCodeLevel=T.tableQRCodeLevel,o.tableSummaryTitle=T.tableSummaryTitle,o.tableSummaryText=T.tableSummaryText,o.tableSummaryColspan=T.tableSummaryColspan,o.tableSummary=T.tableSummary,o.tableSummaryAlign=T.tableSummaryAlign,o.tableSummaryNumFormat=T.tableSummaryNumFormat,o.tableSummaryFormatter=T.tableSummaryFormatter,o.upperCase=T.upperCase,o}return N(j,x),j.prototype.css=function(T){},j}(S)},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(w){this.printLine=w.printLine,this.target=w.target,this.referenceElement=w.referenceElement}}()},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,"a",function(){return TableExcelHelper});var _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(19),_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),TableExcelHelper=function(){function TableExcelHelper(){}return TableExcelHelper.createTableHead=function(R,L){for(var r=TableExcelHelper.reconsitutionTableColumnTree(R),B=$__default.default("<thead></thead>"),w=TableExcelHelper.getColumnsWidth(r,L),b=function(g){var E=$__default.default("<tr></tr>");r[g].filter(function(D){return D.checked}).forEach(function(D){var v=$__default.default("<td></td>");D.id&&v.attr("id",D.id),D.columnId&&v.attr("column-id",D.columnId),(D.align||D.halign)&&v.css("text-align",D.halign||D.align),D.vAlign&&v.css("vertical-align",D.vAlign),D.colspan>1&&v.attr("colspan",D.colspan),D.rowspan>1&&v.attr("rowspan",D.rowspan),v.html(D.title),w[D.id]?(D.hasWidth=!0,D.targetWidth=w[D.id],v.attr("haswidth","haswidth"),v.css("width",w[D.id]+"pt")):D.hasWidth=!1;var u=TableExcelHelper.getHeaderStyler(D);if(u){var S=u(D);S&&Object.keys(S).forEach(function(C){v.css(C,S[C])})}E.append(v)}),B.append(E)},l=0;l<r.totalLayer;l++)b(l);return TableExcelHelper.syncTargetWidthToOption(R),B},TableExcelHelper.createTableFooter=function(R,L,r,B,w,b){var l=$__default.default("<tfoot></tfoot>"),h=this.getFooterFormatter(r,B),g=this.tableSummaryTitle;let E=r.tableFooterRepeat=="last"?L:b,D=r.columns.length-1;var v=this.rowColumns||r.columns[D].columns;if(r.tableFooterRepeat!="no"&&v.some(function(S){return S.tableSummary})){var u=$__default.default("<tr></tr>");v.filter(function(S){return S.checked}).forEach(function(S){var C=E.filter(function(k){return k&&k[S.field]}).map(function(k){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(k[S.field])?Number(k[S.field]):0}),N=S.tableSummaryText,U=S.tableSummaryNumFormat||2,x=`text-align: ${S.tableSummaryAlign||"center"}`,j=S.tableSummaryColspan==null?1:S.tableSummaryColspan,T=S.upperCase;let{toUpperCase:o,numFormat:m}=_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a;var a=TableExcelHelper.getColumnTableSummaryFormatter(S),I=a?a(S,C,L,r):"";if(I){u.append(I);return}switch(S.tableSummary){case"count":var z=g(S,N||"\u8BA1\u6570:",w),f=o(T,E.filter(k=>k).length||0);u.append(`<td style="${x}" colspan="${j}">${z}${f}</td>`);break;case"sum":var P=parseFloat(Number(C.reduce(function(k,F){return k+F},0)));P=o(T,m(P,U));var z=g(S,N||"\u5408\u8BA1:",w);u.append(`<td style="${x}" colspan="${j}">${z}${P}</td>`);break;case"avg":var P=parseFloat(Number(C.reduce(function(k,F){return k+F},0))),c=parseFloat(Number(P/(C.length||1)));c=o(T,m(c,U));var z=g(S,N||"\u5E73\u5747\u503C:",w);u.append(`<td style="${x}" colspan="${j}">${z}${c}</td>`);break;case"min":var d=Math.min(...C);d==1/0&&(d=0),d=o(T,m(d,U));var z=g(S,N||"\u6700\u5C0F\u503C:",w);u.append(`<td style="${x}" colspan="${j}">${z}${d||0}</td>`);break;case"max":var A=Math.max(...C);A==-1/0&&(A=0);var z=g(S,N||"\u6700\u5927\u503C:",w);A=o(T,m(A,U)),u.append(`<td style="${x}" colspan="${j}">${z}${A||0}</td>`);break;case"text":u.append(`<td style="${x}" colspan="${j}">${N||""}</td>`);break;default:j>=1&&u.append(`<td style="${x}" colspan="${j}">${N||""}</td>`);break}}),l.append(u)}return h&&l.append(h(r,L,w,b)),l},TableExcelHelper.tableSummaryTitle=function(R,L,r){var B=R.tableSummaryTitle==null||R.tableSummaryTitle==!0;return B?`${L}`:r?"":`<span style="color:firebrick">${L}</span>`},TableExcelHelper.createTableRow=function(R,L,r,B,w){var b=this,l=TableExcelHelper.reconsitutionTableColumnTree(R),h=$__default.default("<tbody></tbody>"),g=b.getGroupFieldsFormatter(B,w),E=g?B.groupFields=g(w,B,L):w.groupFields?w.groupFields:[];return L||(L=[]),E.length?_assets_plugins_hinnn__WEBPACK_IMPORTED_MODULE_1__.a.groupBy(L,E,function(D){var v={};return E.forEach(function(u){return v[u]=D[u]}),v}).forEach(function(D){var v=b.getGroupFormatter(B,w);if(v){var u=$__default.default("<tr></tr>");u.append(v(l.colspan,L,r,D,B)),h.append(u)}var S=b.getGroupFooterFormatter(B,w),C=D;if(C.rows.forEach(function(U,x){var j=TableExcelHelper.createRowTarget(l,U,B,w,x,C.rows,r);h.append(j)}),S){var N=$__default.default("<tr></tr>");N.append(S(l.colspan,L,r,D,B)),h.append(N)}}):L.forEach(function(D,v){var u=TableExcelHelper.createRowTarget(l,D,B,w,v,u,r);h.append(u)}),h},TableExcelHelper.createRowTarget=function(R,L,r,B,w,b,l){var h=$__default.default("<tr></tr>"),g=R.rowColumns.filter(function(v){return v.checked});h.data("rowData",L),R.rowColumns.filter(function(v){return v.checked}).forEach(function(v,u){if(!!v.checked){var S="";if(r.rowsColumnsMerge){S=eval2("rowsColumnsMerge="+r.rowsColumnsMerge);var C=S(L,v,u,w,b,l)||[1,1],N=$__default.default(`<td style = 'display:${C[0]&&C[1]?"":"none"}' rowspan = '${C[0]}' colspan = '${C[1]}'></td>`)}else var N=$__default.default("<td></td>");if(L&&Object.keys(L).length>0&&(r.tableHeaderRepeat=="first"||r.tableHeaderRepeat=="none")){if(v.field&&N.attr("field",v.field),v.align&&N.css("text-align",v.align),v.vAlign&&N.css("vertical-align",v.vAlign),r.rowsColumnsMerge&&C[1]>1){var U=0;g.forEach((P,c)=>{c>=u&&c<u+C[1]&&(U+=P.width)})}N.css("width",(U||v.width)+"pt")}else v.field&&N.attr("field",v.field),v.align&&N.css("text-align",v.align),v.vAlign&&N.css("vertical-align",v.vAlign);var x=TableExcelHelper.getColumnFormatter(v),j=x?x(L[v.field],L,u,r):L[v.field],T=TableExcelHelper.getColumnRenderFormatter(v);if(T)N.html(T(L[v.field],L,u,r,w));else if(v.tableTextType=="text"||v.tableTextType==null)N.html(j);else{if(v.tableTextType=="barcode"){N.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{j?(JsBarcode__default.default(N.find(".hibarcode_imgcode")[0],j,{format:v.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),N.find(".hibarcode_imgcode").attr("height",v.tableColumnHeight||30+"pt"),N.find(".hibarcode_imgcode").css("margin","5pt 10pt"),N.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):N.html("")}catch(P){console.log(P),N.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(v.tableTextType=="image"&&(N.html(""),j)){var o=$__default.default('<div><img style = "max-width:100%;max-height:100%"/></div>');o.find("img").attr("src",j),console.log(o.find("img").css("width")),N.html(o)}if(v.tableTextType=="qrcode"){N.html("");try{var m=$__default.default("<div></div>");if(j){var a=parseInt(v.width||v.targetWidth||20),I=parseInt(v.tableColumnHeight||20);m.css("height",(a>I?I:a)+"pt"),new QRCode(m[0],{width:a>I?I:a,height:a>I?I:a,colorDark:"#000000",useSVG:!0,correctLevel:v.tableQRCodeLevel||0}).makeCode(j),N.html(m)}}catch(P){console.log(P),N.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}v.tableTextType==="sequence"&&N.html(w+1)}var f=TableExcelHelper.getColumnStyler(v);if(f){var a=f(L[v.field],L,u,r);a&&Object.keys(a).forEach(function(c){N.css(c,a[c])})}h.append(N)}});var E=TableExcelHelper.getRowStyler(r,B);if(E){var D=E(L,r);D&&Object.keys(D).forEach(function(v){h.css(v,D[v])})}return h},TableExcelHelper.createEmptyRowTarget=function(R,L){var r=TableExcelHelper.reconsitutionTableColumnTree(R),B=$__default.default("<tr></tr>");return r.rowColumns.filter(function(w){return w.checked}).forEach(function(w,b){var l=$__default.default("<td></td>");w.field&&l.attr("field",w.field),w.align&&l.css("text-align",w.align),w.vAlign&&l.css("vertical-align",w.vAlign),B.append(l)}),L&&L.options.tableBodyRowHeight&&B.find("td:not([rowspan])").css("height",L.options.tableBodyRowHeight+"pt"),B},TableExcelHelper.getColumnsWidth=function(R,L){var r={},B=TableExcelHelper.allAutoWidth(R),w=TableExcelHelper.allFixedWidth(R);return R.rowColumns.filter(function(b){return b.checked}).forEach(function(b){if(b.fixed)r[b.id]=b.width;else{var l=L-w,h=b.width/B*(l>0?l:0);r[b.id]=h}}),r},TableExcelHelper.resizeTableCellWidth=function(R,L,r){var B=TableExcelHelper.reconsitutionTableColumnTree(L),w=TableExcelHelper.getColumnsWidth(B,r);R.find("thead tr td[haswidth]").map(function(b,l){var h=$__default.default(l).attr("id"),g=w[h];$__default.default(l).css("width",g+"pt")})},TableExcelHelper.allAutoWidth=function(R){var L=0,r={};return R.rowColumns.filter(function(B){return B.checked}).forEach(function(B){r[B.id]?r[B.id]=0:r[B.id]=B.width,L+=B.fixed?0:r[B.id]}),L},TableExcelHelper.allFixedWidth=function(R){var L=0,r={};return R.rowColumns.filter(function(B){return B.checked}).forEach(function(B){r[B.id]?r[B.id]=0:r[B.id]=B.width,L+=B.fixed?r[B.id]:0}),L},TableExcelHelper.reconsitutionTableColumnTree=function(R,L,r){var B=L||new _ReconsitutionTableColumns__WEBPACK_IMPORTED_MODULE_0__.a;B.colspan=0;for(var w=function(h){B.totalLayer=h+1,B[h]=R[h].columns,h==0&&R[h].columns.forEach(function(g){h==0&&(B.colspan+=g.colspan)})},b=0;b<R.length;b++)w(b);return B.rowColumns=TableExcelHelper.getOrderdColumns(B),B},TableExcelHelper.syncTargetWidthToOption=function(R){R.forEach(function(L){L.columns.forEach(function(r){r.hasWidth&&(r.width=r.targetWidth)})})},TableExcelHelper.getGroupFieldsFormatter=function(R,L){var r=void 0;if(L.groupFields&&L.groupFields.length){var B=typeof L.groupFields=="string"?L.groupFields:JSON.stringify(L.groupFields);R.groupFieldsFormatter="function(groupData,options){ return "+B+" }"}if(L.groupFieldsFormatter&&(r=L.groupFieldsFormatter),R.groupFieldsFormatter)try{var w="groupFieldsFormatter="+R.groupFieldsFormatter;r=eval2(w)}catch(b){console.log(b)}return r},TableExcelHelper.getGroupFormatter=function(R,L){var r=void 0;if(L.groupFormatter&&(r=L.groupFormatter),R.groupFormatter)try{var B="groupFormatter="+R.groupFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getGroupFooterFormatter=function(R,L){var r=void 0;if(L.groupFooterFormatter&&(r=L.groupFooterFormatter),R.groupFooterFormatter)try{var B="groupFooterFormatter="+R.groupFooterFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getFooterFormatter=function(R,L){var r=void 0;if(L.footerFormatter&&(r=L.footerFormatter),R.footerFormatter)try{var B="footerFormatter="+R.footerFormatter;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getRowStyler=function(R,L){var r=void 0;if(L.rowStyler&&(r=L.rowStyler),R.rowStyler)try{var B="rowStyler="+R.rowStyler;r=eval2(B)}catch(w){console.log(w)}return r},TableExcelHelper.getColumnTableSummaryFormatter=function(column){var tableSummaryFormatter=void 0;if(column.tableSummaryFormatter&&(tableSummaryFormatter=column.tableSummaryFormatter),column.tableSummaryFormatter)try{var s="tableSummaryFormatter="+column.tableSummaryFormatter;eval(s)}catch(R){console.log(R)}return tableSummaryFormatter},TableExcelHelper.getColumnStyler=function(R){var L=void 0;if(R.styler&&(L=R.styler),R.styler2)try{var r="styler="+R.styler2;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getHeaderStyler=function(R){var L=void 0;if(R.stylerHeader&&(L=R.stylerHeader),R.stylerHeader)try{var r="stylerHeader="+R.stylerHeader;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getColumnRenderFormatter=function(R){var L=void 0;if(R.renderFormatter&&(L=R.renderFormatter),R.renderFormatter)try{var r="renderFormatter="+R.renderFormatter;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getColumnFormatter=function(R){var L=void 0;if(R.formatter&&(L=R.formatter),R.formatter2)try{var r="formatter="+R.formatter2;L=eval2(r)}catch(B){console.log(B)}return L},TableExcelHelper.getOrderdColumns=function(R){let L={};for(let B=0;B<R.totalLayer;B++)L[B]=[],R[B].forEach((w,b)=>{L[B].push(...new Array(w.colspan).fill({...w,colspan:1}))});for(let B=0;B<R.totalLayer;B++)L[B].forEach((w,b)=>{for(let l=1;l<w.rowspan;l++)L[B+l].splice(b,0,{...w,rowspan:1})});let r=[];for(let B=0;B<R.totalLayer;B++)B>=R.totalLayer-1?L[B].forEach((w,b)=>{w.field||(w.field=r[b])}):L[B].forEach((w,b)=>{B==0?r.push(w.field||""):w.field&&(r[b]=w.field)});return this.rowColumns=L[R.totalLayer-1],L[R.totalLayer-1]},TableExcelHelper}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(b){this.top=b.top,this.left=b.left,this.height=b.height,this.width=b.width,this.bottomInLastPaper=b.bottomInLastPaper,this.beginPrintPaperIndex=b.beginPrintPaperIndex,this.printTopInPaper=b.printTopInPaper,this.endPrintPaperIndex=b.endPrintPaperIndex}return w.prototype.isPositionLeftOrRight=function(b){return this.top<=b&&this.top+this.height>b},w}()},function(R,L,r){var B=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("line-height",H+"pt"),"line-height:"+H+"pt";t[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
7
7
|
<div class="hiprint-option-item-label">
|
|
8
8
|
\u5B57\u4F53\u884C\u9AD8
|
|
9
9
|
</div>
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
<option value="36" >36pt</option>
|
|
54
54
|
</select>
|
|
55
55
|
</div>
|
|
56
|
-
</div>`),this.target},
|
|
56
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),w=function(){function n(){this.name="fontFamily"}return n.prototype.createTarget=function(t){var H=void 0;if(t&&(H=t.getFontList()),H){var Y=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
57
57
|
<div class="hiprint-option-item-label">
|
|
58
58
|
\u5B57\u4F53
|
|
59
59
|
</div>
|
|
60
60
|
<div class="hiprint-option-item-field">
|
|
61
61
|
<select class="auto-submit">
|
|
62
|
-
<option value="" >\u9ED8\u8BA4</option>`;
|
|
62
|
+
<option value="" >\u9ED8\u8BA4</option>`;H.forEach(function(at,mt){Y+=' <option value="'+(at.value||"")+'" >'+(at.title||"")+"</option>"}),Y+=` </select>
|
|
63
63
|
</div>
|
|
64
|
-
</div>`,this.target=$__default.default(
|
|
64
|
+
</div>`,this.target=$__default.default(Y)}else this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
65
65
|
<div class="hiprint-option-item-label">
|
|
66
66
|
\u5B57\u4F53
|
|
67
67
|
</div>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<option value="Microsoft YaHei" >\u5FAE\u8F6F\u96C5\u9ED1</option>
|
|
73
73
|
</select>
|
|
74
74
|
</div>
|
|
75
|
-
</div>`);return this.target},
|
|
75
|
+
</div>`);return this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-family",H),"font-family:"+H;t[0].style.fontFamily="inherit"}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),b=function(){function n(){this.name="fontSize"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-size",H+"pt"),"font-size:"+H+"pt";t[0].style.fontSize=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
76
76
|
<div class="hiprint-option-item-label">
|
|
77
77
|
\u5B57\u4F53\u5927\u5C0F
|
|
78
78
|
</div>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<option value="21.75" >21.75pt</option>
|
|
104
104
|
</select>
|
|
105
105
|
</div>
|
|
106
|
-
</div>`),this.target},
|
|
106
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),l=function(){function n(){this.name="fontWeight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("font-weight",H),"font-weight:"+H;t[0].style.fontWeight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
107
107
|
<div class="hiprint-option-item-label">
|
|
108
108
|
\u5B57\u4F53\u7C97\u7EC6
|
|
109
109
|
</div>
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<option value="900" >900</option>
|
|
125
125
|
</select>
|
|
126
126
|
</div>
|
|
127
|
-
</div>`),this.target},
|
|
127
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),h=function(){function n(){this.name="letterSpacing"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("letter-spacing",H+"pt"),"letter-spacing:"+H+"pt";t[0].style.letterSpacing=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
128
128
|
<div class="hiprint-option-item-label">
|
|
129
129
|
\u5B57\u95F4\u8DDD
|
|
130
130
|
</div>
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
<option value="12" >12pt</option>
|
|
150
150
|
</select>
|
|
151
151
|
</div>
|
|
152
|
-
</div>`),this.target},
|
|
152
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),g=function(){function n(){this.name="textAlign"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("text-align",H),H=="justify"?(t.css("text-align-last","justify"),t.css("text-justify","distribute-all-lines")):(t[0].style.textAlignLast="",t[0].style.textJustify=""),"text-align:"+H;t[0].style.textAlign="",t[0].style.textAlignLast="",t[0].style.textJustify=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
153
153
|
<div class="hiprint-option-item-label">
|
|
154
154
|
\u5DE6\u53F3\u5BF9\u9F50
|
|
155
155
|
</div>
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
163
163
|
</select>
|
|
164
164
|
</div>
|
|
165
|
-
</div>`),this.target},
|
|
165
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),E=function(){function n(){this.name="hideTitle"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
166
166
|
<div class="hiprint-option-item-label">
|
|
167
167
|
\u6807\u9898\u663E\u793A\u9690\u85CF
|
|
168
168
|
</div>
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
<option value="true" >\u9690\u85CF</option>
|
|
174
174
|
</select>
|
|
175
175
|
</div>
|
|
176
|
-
</div>`),this.target},
|
|
176
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),D=function(){function n(){this.name="tableBorder"}return n.prototype.css=function(t,H){if(t.find("table").length){if(H=="border"||H==null)return t.find("table").css("border","1px solid"),"border:1px solid";H=="noBorder"?t.find("table").css("border","0px solid"):t.find("table")[0].style.border=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
177
177
|
<div class="hiprint-option-item-label">
|
|
178
178
|
\u8868\u683C\u8FB9\u6846
|
|
179
179
|
</div>
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
185
185
|
</select>
|
|
186
186
|
</div>
|
|
187
|
-
</div>`),this.target},
|
|
187
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),v=function(){function n(){this.name="tableHeaderBorder"}return n.prototype.css=function(t,H){if(t.find("thead tr").length){if(H=="border"||H==null)return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("thead tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
188
188
|
<div class="hiprint-option-item-label">
|
|
189
189
|
\u8868\u5934\u8FB9\u6846
|
|
190
190
|
</div>
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
202
202
|
</select>
|
|
203
203
|
</div>
|
|
204
|
-
</div>`),this.target},
|
|
204
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),u=function(){function n(){this.name="tableHeaderCellBorder"}return n.prototype.css=function(t,H){if(t.find("thead tr").length){if(H=="border"||H==null)return t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("thead tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
205
205
|
<div class="hiprint-option-item-label">
|
|
206
206
|
\u8868\u5934\u5355\u5143\u683C\u8FB9\u6846
|
|
207
207
|
</div>
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
|
|
214
214
|
</select>
|
|
215
215
|
</div>
|
|
216
|
-
</div>`),this.target},
|
|
216
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),S=function(){function n(){this.name="tableFooterBorder"}return n.prototype.css=function(t,H){if(t.find("tfoot tr").length){if(H=="border"||H==null)return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("tfoot tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
217
217
|
<div class="hiprint-option-item-label">
|
|
218
218
|
\u8868\u5C3E\u8FB9\u6846
|
|
219
219
|
</div>
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
231
231
|
</select>
|
|
232
232
|
</div>
|
|
233
|
-
</div>`),this.target},
|
|
233
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),C=function(){function n(){this.name="tableFooterCellBorder"}return n.prototype.css=function(t,H){if(t.find("tfoot tr").length){if(H=="border"||H==null)return t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("tfoot tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
234
234
|
<div class="hiprint-option-item-label">
|
|
235
235
|
\u8868\u5C3E\u5355\u5143\u683C\u8FB9\u6846
|
|
236
236
|
</div>
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
|
|
243
243
|
</select>
|
|
244
244
|
</div>
|
|
245
|
-
</div>`),this.target},
|
|
245
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),N=function(){function n(){this.name="tableHeaderRowHeight"}return n.prototype.css=function(t,H){if(t.find("thead tr td").length){if(H)return t.find("thead tr td:not([rowspan])").css("height",H+"pt"),"height:"+H+"pt";t.find("thead tr td").map(function(Y,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
246
246
|
<div class="hiprint-option-item-label">
|
|
247
247
|
\u8868\u5934\u884C\u9AD8
|
|
248
248
|
</div>
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
<option value="36" >36pt</option>
|
|
294
294
|
</select>
|
|
295
295
|
</div>
|
|
296
|
-
</div>`),this.target},
|
|
296
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),U=function(){function n(){this.name="tableHeaderFontSize"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead").css("font-size",H+"pt"),"font-size:"+H+"pt";t.find("thead").map(function(Y,at){at.style.fontSize=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
297
297
|
<div class="hiprint-option-item-label">
|
|
298
298
|
\u8868\u5934\u5B57\u4F53\u5927\u5C0F
|
|
299
299
|
</div>
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
<option value="21.75" >21.75pt</option>
|
|
325
325
|
</select>
|
|
326
326
|
</div>
|
|
327
|
-
</div>`),this.target},
|
|
327
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),x=function(){function n(){this.name="tableHeaderFontWeight"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead tr td").css("font-weight",H),"font-weight:"+H;t.find("thead tr td").map(function(Y,at){at.style.fontWeight=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
328
328
|
<div class="hiprint-option-item-label">
|
|
329
329
|
\u8868\u5934\u5B57\u4F53\u7C97\u7EC6
|
|
330
330
|
</div>
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
<option value="900" >900</option>
|
|
346
346
|
</select>
|
|
347
347
|
</div>
|
|
348
|
-
</div>`),this.target},
|
|
348
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),j=function(){function n(){this.name="tableBodyCellBorder"}return n.prototype.css=function(t,H){if(t.find("tbody tr").length){if(H=="border"||H==null)return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");H=="noBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):t.find("tbody tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
349
349
|
<div class="hiprint-option-item-label">
|
|
350
350
|
\u8868\u4F53\u5355\u5143\u683C\u8FB9\u6846
|
|
351
351
|
</div>
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
357
357
|
</select>
|
|
358
358
|
</div>
|
|
359
|
-
</div>`),this.target},
|
|
359
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),T=function(){function n(){this.name="tableBodyRowHeight"}return n.prototype.css=function(t,H){if(t.find("tbody tr td").length){if(H)return t.find("tbody tr td").css("height",H+"pt"),"height:"+H+"pt";t.find("tbody tr td").map(function(Y,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
360
360
|
<div class="hiprint-option-item-label">
|
|
361
361
|
\u8868\u4F53\u884C\u9AD8
|
|
362
362
|
</div>
|
|
@@ -406,16 +406,16 @@
|
|
|
406
406
|
<option value="36" >36pt</option>
|
|
407
407
|
</select>
|
|
408
408
|
</div>
|
|
409
|
-
</div>`),this.target},
|
|
409
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),o=function(){function n(){this.name="tableHeaderBackground"}return n.prototype.css=function(t,H){if(t.find("thead").length){if(H)return t.find("thead").css("background",H),"background:"+H;t.find("thead").map(function(Y,at){at.style.background=""})}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
410
410
|
<div class="hiprint-option-item-label">
|
|
411
411
|
\u8868\u5934\u80CC\u666F
|
|
412
412
|
</div>
|
|
413
413
|
<div class="hiprint-option-item-field">
|
|
414
414
|
<input type="text" class="auto-submit" />
|
|
415
415
|
</div>
|
|
416
|
-
</div>`),this.target},
|
|
416
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),m=function(){function n(){this.name="borderWidth"}return n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
417
417
|
<div class="hiprint-option-item-label">
|
|
418
|
-
`+
|
|
418
|
+
`+H+`
|
|
419
419
|
</div>
|
|
420
420
|
<div class="hiprint-option-item-field">
|
|
421
421
|
<select class="auto-submit">
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
<option value="6.75" >6.75pt</option>
|
|
432
432
|
</select>
|
|
433
433
|
</div>
|
|
434
|
-
</div>`),this.target},
|
|
434
|
+
</div>`),this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-width",H+"pt"),"border-width:"+H+"pt";t[0].style.borderWidth=""}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),a=function(){function n(){this.name="barcodeMode"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
435
435
|
<div class="hiprint-option-item-label">
|
|
436
436
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
437
437
|
</div>
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
<option value="Pharmacode" >Pharmacode</option>
|
|
458
458
|
</select>
|
|
459
459
|
</div>
|
|
460
|
-
</div>`),this.target},
|
|
460
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),I=function(){function n(){this.name="qrCodeLevel"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
461
461
|
<div class="hiprint-option-item-label">
|
|
462
462
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
463
463
|
</div>
|
|
@@ -470,14 +470,14 @@
|
|
|
470
470
|
<option value="2" >30% H</option>
|
|
471
471
|
</select>
|
|
472
472
|
</div>
|
|
473
|
-
</div>`),this.target},
|
|
473
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return parseInt(t||0)},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),f=function(){function n(){this.name="color"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("color",H),"color:"+H;t[0].style.color=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
474
474
|
<div class="hiprint-option-item-label">
|
|
475
475
|
\u5B57\u4F53\u989C\u8272
|
|
476
476
|
</div>
|
|
477
477
|
<div class="hiprint-option-item-field">
|
|
478
478
|
<input type="text" class="auto-submit"/>
|
|
479
479
|
</div>
|
|
480
|
-
</div>`),this.target},
|
|
480
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),P=function(){function n(){this.name="textDecoration"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
481
481
|
<div class="hiprint-option-item-label">
|
|
482
482
|
\u6587\u672C\u4FEE\u9970
|
|
483
483
|
</div>
|
|
@@ -490,28 +490,28 @@
|
|
|
490
490
|
|
|
491
491
|
</select>
|
|
492
492
|
</div>
|
|
493
|
-
</div>`),this.target},
|
|
493
|
+
</div>`),this.target},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("text-decoration",H),"text-decoration:"+H;t[0].style.textDecoration=""}return null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),c=function(){function n(){this.name="field"}return n.prototype.createTarget=function(t){var H=void 0;if(t&&(H=t.getFields()),H){this.isSelect=!0;var Y=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
494
494
|
<div class="hiprint-option-item-label">
|
|
495
495
|
\u5B57\u6BB5\u540D
|
|
496
496
|
</div>
|
|
497
497
|
<div class="hiprint-option-item-field">
|
|
498
498
|
<select class="auto-submit">
|
|
499
|
-
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;
|
|
499
|
+
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;H.forEach(function(at,mt){Y+=' <option value="'+(at.field||"")+'" >'+(at.text||"")+"</option>"}),Y+=` </select>
|
|
500
500
|
</div>
|
|
501
|
-
</div>`,this.target=$__default.default(
|
|
501
|
+
</div>`,this.target=$__default.default(Y)}else this.isSelect=!1,this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
502
502
|
<div class="hiprint-option-item-label">
|
|
503
503
|
\u5B57\u6BB5\u540D
|
|
504
504
|
</div>
|
|
505
505
|
<div class="hiprint-option-item-field">
|
|
506
506
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
|
|
507
507
|
</div>
|
|
508
|
-
</div>`);return this.target},
|
|
508
|
+
</div>`);return this.target},n.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},n.prototype.setValue=function(t){this.isSelect?t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>"),this.target.find("select").val(t)):this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),d=function(){function n(){this.name="titleSync"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6807\u9898\u540C\u6B65 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6807\u9898\u540C\u6B65" class="auto-submit bt-checkbox"></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("input").is(":checked")},n.prototype.setValue=function(t){this.target.find("input").attr("checked",t==null?!1:t)},n.prototype.destroy=function(){this.target.remove()},n}(),A=function(){function n(){this.name="columnField"}return n.prototype.createTarget=function(t,H,Y){var at=void 0;if(Y&&(at=Y.options.fields),at){this.isSelect=!0;var mt=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
509
509
|
<div class="hiprint-option-item-label">
|
|
510
510
|
\u5217\u5B57\u6BB5\u540D
|
|
511
511
|
</div>
|
|
512
512
|
<div class="hiprint-option-item-field">
|
|
513
513
|
<select class="auto-submit">
|
|
514
|
-
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;
|
|
514
|
+
<option value="" >\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;at.forEach(function(Mt,ct){mt+=' <option value="'+(Mt.field||"")+'" >'+(Mt.text||"")+"</option>"}),mt+=` </select>
|
|
515
515
|
</div>
|
|
516
516
|
</div>`,this.target=$__default.default(mt)}else this.isSelect=!1,this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
517
517
|
<div class="hiprint-option-item-label">
|
|
@@ -520,40 +520,40 @@
|
|
|
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},
|
|
523
|
+
</div>`);return this.target},n.prototype.getValue=function(){return(this.isSelect?this.target.find("select").val():this.target.find("input").val())||void 0},n.prototype.setValue=function(t){this.isSelect?t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>"),this.target.find("select").val(t)):this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),z=function(){function n(){this.name="title"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
524
524
|
<div class="hiprint-option-item-label">
|
|
525
525
|
\u6807\u9898
|
|
526
526
|
</div>
|
|
527
527
|
<div class="hiprint-option-item-field">
|
|
528
528
|
<textarea style="height:50px;" placeholder="\u8BF7\u8F93\u5165\u6807\u9898" class="auto-submit"></textarea>
|
|
529
529
|
</div>
|
|
530
|
-
</div>`),this.target},
|
|
530
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),k=function(){function n(){this.name="testData"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
531
531
|
<div class="hiprint-option-item-label">
|
|
532
532
|
\u6D4B\u8BD5\u6570\u636E
|
|
533
533
|
</div>
|
|
534
534
|
<div class="hiprint-option-item-field">
|
|
535
535
|
<input type="text" placeholder="\u4EC5\u5B57\u6BB5\u540D\u79F0\u5B58\u5728\u65F6\u6709\u6548" class="auto-submit" >
|
|
536
536
|
</div>
|
|
537
|
-
</div>`),this.target},
|
|
537
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),F=function(){function n(){this.name="coordinate"}return n.prototype.createTarget=function(t,H){var Y=this;return Y.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
538
538
|
\u4F4D\u7F6E\u5750\u6807
|
|
539
539
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
540
540
|
<input type="number" style="width:48%" placeholder="X\u4F4D\u7F6E(\u5DE6)" class="auto-submit" />
|
|
541
541
|
<input type="number" style="width:48%" placeholder="Y\u4F4D\u7F6E(\u4E0A)" class="auto-submit" />
|
|
542
542
|
</div>
|
|
543
|
-
</div>`),
|
|
543
|
+
</div>`),Y.syncLock=H.coordinateSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var H=this;return H.lockTarget=H.syncLock?$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),H.lockTarget.click(function(){H.syncLock?H.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):H.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),H.syncLock=!H.syncLock}),H.target.find("input:first").after(H.lockTarget),H.target.find("input:first").change(function(){H.syncLock&&H.target.find("input:last").val($__default.default(this).val())}),H.target.find("input:last").change(function(){H.syncLock&&H.target.find("input:first").val($__default.default(this).val())}),H.lockTarget},n.prototype.css=function(t){if(t&&t.length&&this.target&&(t.find(".resize-panel").css("display")=="block"||t[0].className.includes("table"))&&this.el==t){var H=this.getValue();return t.css("left",H.left+"pt").css("top",H.top+"pt")}return null},n.prototype.getValue=function(){var t={coordinateSync:this.syncLock,left:0,top:0};return t.left=parseFloat(this.target.find("input:first").val()||0),t.top=parseFloat(this.target.find("input:last").val()||0),t},n.prototype.setValue=function(t,H){this.el=H.designTarget||H,H.options.coordinate&&H.designTarget&&H.designTarget.css("left",H.options.left+"pt").css("top",H.options.top+"pt"),this.target.find("input:first").val(t.left),this.target.find("input:last").val(t.top)},n.prototype.destroy=function(){this.target.remove()},n}(),X=function(){function n(){this.name="widthHeight"}return n.prototype.createTarget=function(t,H){var Y=this;return Y.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
544
544
|
\u5BBD\u9AD8\u5927\u5C0F
|
|
545
545
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
546
546
|
<input type="number" style="width:48%" placeholder="\u5BBD" class="auto-submit" />
|
|
547
547
|
<input type="number" style="width:48%" placeholder="\u9AD8" class="auto-submit" />
|
|
548
548
|
</div>
|
|
549
|
-
</div>`),
|
|
549
|
+
</div>`),Y.syncLock=H.widthHeightSync||!1,Y.createSyncLock(Y.syncLock),Y.target},n.prototype.createSyncLock=function(t){var H=this;return H.lockTarget=H.syncLock?$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):$__default.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),H.lockTarget.click(function(){H.syncLock?H.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):H.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),H.syncLock=!H.syncLock}),H.target.find("input:first").after(H.lockTarget),H.target.find("input:first").change(function(){H.syncLock&&H.target.find("input:last").val($__default.default(this).val())}),H.target.find("input:last").change(function(){H.syncLock&&H.target.find("input:first").val($__default.default(this).val())}),H.lockTarget},n.prototype.css=function(t){if(t&&t.length&&this.target&&(t.find(".resize-panel").css("display")=="block"||t[0].className.includes("table"))&&this.el==t){var H=this.getValue();return t.css("width",H.width+"pt").css("height",H.height+"pt")}return null},n.prototype.getValue=function(){var t={widthHeightSync:this.syncLock,width:0,height:0};return t.width=parseFloat(this.target.find("input:first").val()||0),t.height=parseFloat(this.target.find("input:last").val()||0),t},n.prototype.setValue=function(t,H){this.el=H.designTarget||H,H.options.widthHeight&&H.designTarget&&H.designTarget.css("width",H.options.width+"pt").css("height",H.options.height+"pt"),this.target.find("input:first").val(t.width),this.target.find("input:last").val(t.height)},n.prototype.destroy=function(){this.target.remove()},n}(),V=function(){function n(){this.name="src"}return n.prototype.createTarget=function(t){this.el=t;var H=void 0,Y=this;return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
550
550
|
<div class="hiprint-option-item-label">
|
|
551
551
|
\u56FE\u7247\u5730\u5740
|
|
552
552
|
</div>
|
|
553
553
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
554
554
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740" class="auto-submit" style="width:70%">
|
|
555
555
|
<button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button> </div>
|
|
556
|
-
</div>`),
|
|
556
|
+
</div>`),t&&(H=t.getOnImageChooseClick()),H&&this.target.find("button").click(function(){H&&H(Y)}),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.refresh=function(t,H,Y){this.setValue(t),this.target.find("input").change();var at=this;if(this.el&&H){var mt=new Image;mt.src=t,mt.complete?at.updateEl(mt.width,mt.height,H,Y):mt.onload=function(){at.updateEl(mt.width,mt.height,H,Y)}}},n.prototype.updateEl=function(t,H,Y,at){if(Y){var mt,Mt,ct;(Y||Y.auto)&&(t>=H?Y.width=!0:Y.height=!0),Y.width?(mt=H/t,Mt=this.el.options.width,ct=Math.floor(Mt*mt*10)/10,this.el.options.height=ct,this.el.designTarget.css("height",ct+"pt")):Y.height?(mt=t/H,ct=this.el.options.height,Mt=Math.floor(ct*mt*10)/10,this.el.options.width=Mt,this.el.designTarget.css("width",Mt+"pt")):Y.real&&(Mt=hinnn.px.toPt(t),ct=hinnn.px.toPt(H),this.el.options.width=Mt,this.el.options.height=ct,this.el.designTarget.css("width",Mt+"pt"),this.el.designTarget.css("height",ct+"pt")),this.el.designTarget.children(".resize-panel").trigger($__default.default.Event("click"))}else at&&at(this.el,t,H)},n.prototype.destroy=function(){this.target.remove()},n}(),K=function(){function n(){this.name="fit"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.find("img").css("object-fit",H),"object-fit:"+H;t.find("img")[0].style["object-fit"]=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
557
557
|
<div class="hiprint-option-item-label">
|
|
558
558
|
\u56FE\u7247\u7F29\u653E
|
|
559
559
|
</div>
|
|
@@ -566,30 +566,30 @@
|
|
|
566
566
|
<option value="none" >\u539F\u59CB\u5C3A\u5BF8</option>
|
|
567
567
|
</select>
|
|
568
568
|
</div>
|
|
569
|
-
</div>`),this.target,this.target},
|
|
569
|
+
</div>`),this.target,this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),tt=function(){function n(){this.name="borderColor"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-color",H),"border-color:"+H;t[0].style.borderColor=""}return null},n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
570
570
|
<div class="hiprint-option-item-label">
|
|
571
|
-
`+
|
|
571
|
+
`+H+`
|
|
572
572
|
</div>
|
|
573
573
|
<div class="hiprint-option-item-field">
|
|
574
574
|
<input type="text" class="auto-submit" />
|
|
575
575
|
</div>
|
|
576
|
-
</div>`),this.target},
|
|
576
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),G=function(){function n(){this.name="overPrintOptions"}return n.prototype.createTarget=function(){this.target=$__default.default(' <div class="hiprint-option-item" style="width: 100%;"><div class="hiprint-option-item-label hiprint-option-title"> \u5957\u6253\u529F\u80FD </div></div>'),this.content=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u80CC\u666F\u56FE\u7247 </div><div class="hiprint-option-item-field"><input style="width:65%" type="text" placeholder="\u8BF7\u9009\u62E9\u56FE\u7247" class="auto-submit"><button class="hiprint-option-item-settingBtn" style="width:30%;padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button></div></div>'),this.opacity=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u900F\u660E\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="1" max="100" step="1" placeholder="\u900F\u660E\u5EA6" class="auto-submit bt-range"></div></div>'),this.type=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
577
577
|
<div class="hiprint-option-item-label"> \u5957\u6253\u6A21\u5F0F </div>
|
|
578
578
|
<input type="radio" id="overPrintType1" name="type" value="1" class="auto-submit">
|
|
579
579
|
<label for="overPrintType1">\u4EC5\u8BBE\u8BA1</label>
|
|
580
580
|
<input type="radio" id="overPrintType2" name="type" value="2" class="auto-submit">
|
|
581
581
|
<label for="overPrintType2">\u540C\u65F6\u6253\u5370</label>
|
|
582
582
|
</div>
|
|
583
|
-
</div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let
|
|
584
|
-
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return
|
|
585
|
-
<option value="`+
|
|
583
|
+
</div>`),this.target.append(this.content),this.target.append(this.opacity),this.target.append(this.type);let t=this;return this.content.find("button").click(function(){let H=document.createElement("input");H.setAttribute("accept","image/*"),H.setAttribute("type","file"),H.click(),H.onchange=function(){var Y=this.files[0],at=new FileReader;if(Y){var at=new FileReader;at.readAsDataURL(Y),at.onloadend=function(){t.content.find("input").val(at.result||""),t.content.find("input").trigger("change")}}H.remove()}}),this.type.find("input").change(function(H){$__default.default(this).siblings().removeAttr("checked"),$__default.default(this).attr("checked",!0)}),this.target},n.prototype.getValue=function(){let t={content:this.content.find("input").val(),opacity:parseFloat(this.opacity.find("input").val()||"70")/100,type:parseInt(this.type.find("input[checked]").val()||1)};return Object.assign({},this.options,t)},n.prototype.setValue=function(t){this.options=t,this.content.find("input").val(t.content||""),this.opacity.find("input").val((t.opacity||.7)*100),this.type.find("input[value="+(t.type||1)+"]").attr("checked",!0)},n.prototype.destroy=function(){this.target.remove()},n}(),it=function(){function n(){this.name="watermarkOptions"}return n.prototype.createTarget=function(){this.target=$__default.default(' <div class="hiprint-option-item"><div class="hiprint-option-item-label hiprint-option-title"> \u6C34\u5370\u529F\u80FD </div></div>'),this.content=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u5185\u5BB9 </div><div class="hiprint-option-item-field"><input style="width:100%" type="text" placeholder="\u6C34\u5370\u5185\u5BB9" class="auto-submit"></div></div>'),this.fillStyle=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u989C\u8272 </div><div class="hiprint-option-item-field"><input style="width:100%" data-format="rgb" data-opacity="0.3" type="text" placeholder="\u5B57\u4F53\u989C\u8272" class="auto-submit"></div></div>'),this.fontSize=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5B57\u4F53\u5927\u5C0F </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="10" max="80" placeholder="\u5B57\u4F53\u5927\u5C0F" class="auto-submit bt-range"></div></div>'),this.rotate=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65CB\u8F6C\u89D2\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="0" max="180" placeholder="\u65CB\u8F6C\u89D2\u5EA6" class="auto-submit bt-range"></div></div>'),this.width=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5E73\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u6C34\u5E73\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.height=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5782\u76F4\u5BC6\u5EA6 </div><div class="hiprint-option-item-field"><input style="width:100%" type="range" min="100" max="800" placeholder="\u5782\u76F4\u5BC6\u5EA6" class="auto-submit bt-range"></div></div>'),this.timestamp=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u6C34\u5370\u65F6\u95F4 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6C34\u5370\u65F6\u95F4" class="auto-submit bt-checkbox"></div></div>');let t=["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"],H=`
|
|
584
|
+
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return t.forEach(function(Y){H+=`
|
|
585
|
+
<option value="`+Y+'">'+Y+"</option>"}),this.format=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u65F6\u95F4\u683C\u5F0F </div><div class="hiprint-option-item-field"><select style="width:100%" class="auto-submit"></select></div></div>'),this.format.find(".auto-submit").append($__default.default(H)),this.target.append(this.content),this.target.append(this.fillStyle),this.target.append(this.fontSize),this.target.append(this.rotate),this.target.append(this.width),this.target.append(this.height),this.target.append(this.timestamp),this.target.append(this.format),this.target},n.prototype.getValue=function(){let t={content:this.content.find("input").val(),fillStyle:this.fillStyle.find("input").val()||"rgba(184, 184, 184, 0.3)",fontSize:parseInt(this.fontSize.find("input").val()||"14")+"px",rotate:parseInt(this.rotate.find("input").val()||"25"),width:parseInt(this.width.find("input").val()||"200"),height:parseInt(this.height.find("input").val()||"200"),timestamp:this.timestamp.find("input").is(":checked"),format:this.format.find("select").val()==""?"YYYY-MM-DD HH:mm":this.format.find("select").val()};return Object.assign({},this.options,t)},n.prototype.setValue=function(t){this.options=t,this.content.find("input").val(t.content||""),this.fillStyle.find("input").val(t.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"}),this.fillStyle.parent().css({width:"100%"});const H=parseInt(t.fontSize||"14");this.fontSize.find("input").val(H),this.rotate.find("input").val(t.rotate||25),this.width.find("input").val(t.width||200),this.height.find("input").val(t.height||200),this.timestamp.find("input").attr("checked",t.timestamp==null?!1:t.timestamp),this.format.find("select").val(t.format||"YYYY-MM-DD HH:mm")},n.prototype.destroy=function(){this.target.remove()},n}(),lt=function(){function n(){this.name="paperNumberFormat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
586
586
|
<div class="hiprint-option-item-label">
|
|
587
587
|
\u9875\u7801\u683C\u5F0F
|
|
588
588
|
</div>
|
|
589
589
|
<div class="hiprint-option-item-field">
|
|
590
590
|
<input type="text" placeholder="\${paperNo}-\${paperCount}" class="auto-submit">
|
|
591
591
|
</div>
|
|
592
|
-
</div>`),this.target},
|
|
592
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),pt=function(){function n(){this.name="paperNumberDisabled"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
593
593
|
<div class="hiprint-option-item-label">
|
|
594
594
|
\u663E\u793A\u9875\u7801
|
|
595
595
|
</div>
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
<option value="true" >\u9690\u85CF</option>
|
|
600
600
|
</select>
|
|
601
601
|
</div>
|
|
602
|
-
</div>`),this.target},
|
|
602
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),ut=function(){function n(){this.name="paperNumberContinue"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
603
603
|
<div class="hiprint-option-item-label">
|
|
604
604
|
\u9875\u7801\u7EED\u6392
|
|
605
605
|
</div>
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
<option value="reset" >\u91CD\u6392</option>
|
|
610
610
|
</select>
|
|
611
611
|
</div>
|
|
612
|
-
</div>`),this.target},
|
|
612
|
+
</div>`),this.target},n.prototype.getValue=function(){return this.target.find("select").val()=="true"},n.prototype.setValue=function(t){this.target.find("select").val((t==null||t?"true":"reset").toString())},n.prototype.destroy=function(){this.target.remove()},n}(),bt=function(){function n(){this.name="longTextIndent"}return n.prototype.css=function(t,H){return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
613
613
|
<div class="hiprint-option-item-label">
|
|
614
614
|
\u6BCF\u884C\u7F29\u8FDB
|
|
615
615
|
</div>
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
<option value="36" >36pt</option>
|
|
660
660
|
</select>
|
|
661
661
|
</div>
|
|
662
|
-
</div>`),this.target},
|
|
662
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),vt=function(){function n(){this.name="showInPage"}return n.prototype.css=function(t,H){if(t&&t.length){if(H&&H=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
663
663
|
<div class="hiprint-option-item-label">
|
|
664
664
|
\u663E\u793A\u89C4\u5219
|
|
665
665
|
</div>
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
<option value="last" >\u5C3E\u9875</option>
|
|
674
674
|
</select>
|
|
675
675
|
</div>
|
|
676
|
-
</div>`),this.target},
|
|
676
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),dt=function(){function n(){this.name="pageBreak"}return n.prototype.css=function(t,H){if(t&&t.length){if(H&&H=="none")return t.addClass("alwaysHide");t.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
677
677
|
<div class="hiprint-option-item-label">
|
|
678
678
|
\u5F3A\u5236\u5206\u9875
|
|
679
679
|
</div>
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
<option value="true" >\u662F</option>
|
|
684
684
|
</select>
|
|
685
685
|
</div>
|
|
686
|
-
</div>`),this.target},
|
|
686
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),yt=function(){function n(){this.name="panelPaperRule"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
687
687
|
<div class="hiprint-option-item-label">
|
|
688
688
|
\u6253\u5370\u89C4\u5219
|
|
689
689
|
</div>
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
<option value="even" >\u4FDD\u6301\u5076\u6570</option>
|
|
695
695
|
</select>
|
|
696
696
|
</div>
|
|
697
|
-
</div>`),this.target},
|
|
697
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ft=function(){function n(){this.name="paperList"}return n.prototype.createTarget=function(t){let H=t.getPaperList();this.paperList=H,this.target=$__default.default("<div></div>"),this.list=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u5217\u8868 </div><div class="hiprint-option-item-field"><select class="auto-submit"><option>\u81EA\u5B9A\u4E49</option>/select></div></div>');let Y="";H.forEach(function(mt){Y+=`<option value="${mt.type}">${mt.type}</option>`}),this.list.find(".auto-submit").append($__default.default(Y)),this.width=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u5BBD </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u5BBD(mm)" class="auto-submit"></div></div>'),this.height=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u9AD8 </div><div class="hiprint-option-item-field"><input style="width:100%" type="number" min="1" placeholder="\u9AD8(mm)" class="auto-submit"></div></div>'),this.target.append(this.list),this.target.append(this.width),this.target.append(this.height);let at=this;return this.list.find("select").change(function(mt){let Mt=mt.target.value,ct=at.paperList.find(wt=>wt.type==Mt);ct&&(at.width.find("input").val(ct.width),at.height.find("input").val(ct.height))}),this.target.find("input").change(function(){let mt=parseInt(at.width.find("input").val()),Mt=parseInt(at.height.find("input").val());at.chagePaperType(mt,Mt)}),this.target},n.prototype.getValue=function(){return{type:this.list.find("select").val(),width:parseInt(this.width.find("input").val()),height:parseInt(this.height.find("input").val())}},n.prototype.setValue=function(t){const{type:H,width:Y,height:at}=t;H?this.list.find("select").val(H):this.chagePaperType(Y,at),this.width.find("input").val(Y),this.height.find("input").val(at)},n.prototype.chagePaperType=function(t,H){let Y=this.paperList.find(at=>at.width==t&&at.height==H);Y?this.list.find("select").val(Y.type):this.list.find("select").val("\u81EA\u5B9A\u4E49")},n.prototype.destroy=function(){this.target.remove()},n}(),gt=function(){function n(){this.name="paperDirections"}return n.prototype.createTarget=function(t){let H=t.getOrient();return this.option1=$__default.default(`<div class="option ${H==1?"checked":""}">\u7EB5\u5411</div>`),this.option2=$__default.default(`<div class="option ${H==2?"checked":""}">\u6A2A\u5411</div>`),this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label"> \u7EB8\u5F20\u65B9\u5411 </div><div class="hiprint-option-item-field options"></div></div>'),this.target.find(".hiprint-option-item-field").append(this.option1),this.target.find(".hiprint-option-item-field").append(this.option2),this.target.find(".option").click(Y=>{Y.target.textContent=="\u7EB5\u5411",!$__default.default(Y.target).hasClass("checked")&&t.rotatePaper(),$__default.default(Y.target).addClass("checked"),$__default.default(Y.target).siblings().removeClass("checked")}),this.target},n.prototype.getValue=function(){},n.prototype.setValue=function(){},n.prototype.destroy=function(){this.target.remove()},n}(),Pt=function(){function n(){this.name="panelPageRule"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
698
698
|
<div class="hiprint-option-item-label">
|
|
699
699
|
\u5206\u9875\u89C4\u5219
|
|
700
700
|
</div>
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
<option value="none" >\u4E0D\u5206\u9875</option>
|
|
705
705
|
</select>
|
|
706
706
|
</div>
|
|
707
|
-
</div>`),this.target},
|
|
707
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),jt=function(){function n(){this.name="leftSpaceRemoved"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
708
708
|
<div class="hiprint-option-item-label">
|
|
709
709
|
\u79FB\u9664\u6BB5\u843D\u5DE6\u4FA7\u7A7A\u767D
|
|
710
710
|
</div>
|
|
@@ -715,35 +715,35 @@
|
|
|
715
715
|
<option value="false" >\u4E0D\u79FB\u9664</option>
|
|
716
716
|
</select>
|
|
717
717
|
</div>
|
|
718
|
-
</div>`),this.target},
|
|
718
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),St=function(){function n(){this.name="firstPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
719
719
|
<div class="hiprint-option-item-label">
|
|
720
720
|
\u9996\u9875\u9875\u5C3E
|
|
721
721
|
</div>
|
|
722
722
|
<div class="hiprint-option-item-field">
|
|
723
723
|
<input type="text" placeholder="\u9996\u9875\u9875\u5C3E" class="auto-submit">
|
|
724
724
|
</div>
|
|
725
|
-
</div>`),this.target},
|
|
725
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ct=function(){function n(){this.name="lastPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
726
726
|
<div class="hiprint-option-item-label">
|
|
727
727
|
\u5C3E\u9875\u9875\u5C3E
|
|
728
728
|
</div>
|
|
729
729
|
<div class="hiprint-option-item-field">
|
|
730
730
|
<input type="text" placeholder="\u5C3E\u9875\u9875\u5C3E" class="auto-submit">
|
|
731
731
|
</div>
|
|
732
|
-
</div>`),this.target},
|
|
732
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Nt=function(){function n(){this.name="evenPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
733
733
|
<div class="hiprint-option-item-label">
|
|
734
734
|
\u5076\u6570\u9875\u9875\u5C3E
|
|
735
735
|
</div>
|
|
736
736
|
<div class="hiprint-option-item-field">
|
|
737
737
|
<input type="text" placeholder="\u5076\u6570\u9875\u9875\u5C3E" class="auto-submit">
|
|
738
738
|
</div>
|
|
739
|
-
</div>`),this.target},
|
|
739
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Dt=function(){function n(){this.name="oddPaperFooter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
740
740
|
<div class="hiprint-option-item-label">
|
|
741
741
|
\u5947\u6570\u9875\u9875\u5C3E
|
|
742
742
|
</div>
|
|
743
743
|
<div class="hiprint-option-item-field">
|
|
744
744
|
<input type="text" placeholder="\u5947\u6570\u9875\u9875\u5C3E" class="auto-submit" >
|
|
745
745
|
</div>
|
|
746
|
-
</div>`),this.target},
|
|
746
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),At=function(){function n(){this.name="fixed"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
747
747
|
<div class="hiprint-option-item-label">
|
|
748
748
|
\u4F4D\u7F6E\u56FA\u5B9A
|
|
749
749
|
</div>
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
<option value="true" >\u662F</option>
|
|
755
755
|
</select>
|
|
756
756
|
</div>
|
|
757
|
-
</div>`),this.target},
|
|
757
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Et=function(){function n(){this.name="axis"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
758
758
|
<div class="hiprint-option-item-label">
|
|
759
759
|
\u62D6\u52A8\u65B9\u5411
|
|
760
760
|
</div>
|
|
@@ -765,21 +765,21 @@
|
|
|
765
765
|
<option value="v" >\u7AD6\u5411</option>
|
|
766
766
|
</select>
|
|
767
767
|
</div>
|
|
768
|
-
</div>`),this.target},
|
|
768
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Bt=function(){function n(){this.name="leftOffset"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
769
769
|
<div class="hiprint-option-item-label">
|
|
770
770
|
\u5DE6\u504F\u79FB
|
|
771
771
|
</div>
|
|
772
772
|
<div class="hiprint-option-item-field">
|
|
773
773
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit" >
|
|
774
774
|
</div>
|
|
775
|
-
</div>`),this.target},
|
|
775
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ut=function(){function n(){this.name="lHeight"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
776
776
|
<div class="hiprint-option-item-label">
|
|
777
777
|
\u6700\u4F4E\u9AD8\u5EA6
|
|
778
778
|
</div>
|
|
779
779
|
<div class="hiprint-option-item-field">
|
|
780
780
|
<input type="text" placeholder="\u6587\u672C\u8FC7\u77ED\u6216\u4E3A\u7A7A\u65F6\u7684\u9AD8\u5EA6" class="auto-submit">
|
|
781
781
|
</div>
|
|
782
|
-
</div>`),this.target},
|
|
782
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Zt=function(){function n(){this.name="unShowInPage"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
783
783
|
<div class="hiprint-option-item-label">
|
|
784
784
|
\u9690\u85CF\u89C4\u5219
|
|
785
785
|
</div>
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
<option value="last" >\u5C3E\u9875</option>
|
|
791
791
|
</select>
|
|
792
792
|
</div>
|
|
793
|
-
</div>`),this.target},
|
|
793
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Lt=function(){function n(){this.name="tableBodyRowBorder"}return n.prototype.css=function(t,H){if(t.find("tbody tr").length){if(H=="border"||H==null)return t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");H=="noBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):H=="leftBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):H=="rightBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):H=="leftRightBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):H=="topBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):H=="bottomBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):H=="topBottomBorder"?t.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):t.find("tbody tr").removeClass()}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
794
794
|
<div class="hiprint-option-item-label">
|
|
795
795
|
\u8868\u4F53\u884C\u8FB9\u6846
|
|
796
796
|
</div>
|
|
@@ -807,21 +807,21 @@
|
|
|
807
807
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
808
808
|
</select>
|
|
809
809
|
</div>
|
|
810
|
-
</div>`),this.target},
|
|
810
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),zt=function(){function n(){this.name="transform"}return n.prototype.css=function(t,H){if(t&&t.length){var Y=t.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(Y.length||(Y=t),H)return Y.css("transform","rotate("+H+"deg)"),Y.css("-ms-transform","rotate("+H+"deg)"),Y.css("-moz-transform","rotate("+H+"deg)"),Y.css("-webkit-transform","rotate("+H+"deg)"),Y.css("-o-transform","rotate("+H+"deg)"),"transform:rotate("+H+"deg)";Y.length&&(Y[0].style.transform="")}return null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
811
811
|
<div class="hiprint-option-item-label">
|
|
812
812
|
\u65CB\u8F6C\u89D2\u5EA6
|
|
813
813
|
</div>
|
|
814
814
|
<div class="hiprint-option-item-field">
|
|
815
815
|
<input type="number" class="auto-submit"/>
|
|
816
816
|
</div>
|
|
817
|
-
</div>`),this.target},
|
|
817
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Wt=function(){function n(){this.name="zIndex"}return n.prototype.css=function(t,H){return t&&t.length&&H?t.css("z-index",H):null},n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
818
818
|
<div class="hiprint-option-item-label">
|
|
819
819
|
\u5143\u7D20\u5C42\u7EA7
|
|
820
820
|
</div>
|
|
821
821
|
<div class="hiprint-option-item-field">
|
|
822
822
|
<input type="number" class="auto-submit"/>
|
|
823
823
|
</div>
|
|
824
|
-
</div>`),this.target},
|
|
824
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseInt(t.toString())>0?parseInt(t.toString()):1},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),M=function(){function n(){this.name="borderTop"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-top-style",H),"border-top:1px";t[0].style.borderTopStyle="",t[0].style.borderTopWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
825
825
|
<div class="hiprint-option-item-label">
|
|
826
826
|
\u4E0A\u8FB9\u6846
|
|
827
827
|
</div>
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
833
833
|
</select>
|
|
834
834
|
</div>
|
|
835
|
-
</div>`),this.target},
|
|
835
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),e=function(){function n(){this.name="borderLeft"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-left-style",H),"border-left:1px";t[0].style.borderLeftStyle="",t[0].style.borderLeftWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
836
836
|
<div class="hiprint-option-item-label">
|
|
837
837
|
\u5DE6\u8FB9\u6846
|
|
838
838
|
</div>
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
844
844
|
</select>
|
|
845
845
|
</div>
|
|
846
|
-
</div>`),this.target},
|
|
846
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),i=function(){function n(){this.name="borderRight"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-right-style",H),"border-right:1px";t[0].style.borderRightStyle="",t[0].style.borderRightWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
847
847
|
<div class="hiprint-option-item-label">
|
|
848
848
|
\u53F3\u8FB9\u6846
|
|
849
849
|
</div>
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
855
855
|
</select>
|
|
856
856
|
</div>
|
|
857
|
-
</div>`),this.target},
|
|
857
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),p=function(){function n(){this.name="borderBottom"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-bottom-style",H),"border-bottom-style:1px solid";t[0].style.borderBottomStyle="",t[0].style.borderBottomWidth=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
858
858
|
<div class="hiprint-option-item-label">
|
|
859
859
|
\u4E0B\u8FB9\u6846
|
|
860
860
|
</div>
|
|
@@ -865,7 +865,7 @@
|
|
|
865
865
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
866
866
|
</select>
|
|
867
867
|
</div>
|
|
868
|
-
</div>`),this.target},
|
|
868
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),y=function(){function n(){this.name="contentPaddingLeft"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-left",H+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
869
869
|
<div class="hiprint-option-item-label">
|
|
870
870
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
871
871
|
</div>
|
|
@@ -903,7 +903,7 @@
|
|
|
903
903
|
<option value="21.75" >21.75pt</option>
|
|
904
904
|
</select>
|
|
905
905
|
</div>
|
|
906
|
-
</div>`),this.target},
|
|
906
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Z=function(){function n(){this.name="contentPaddingTop"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-top",H+"pt"),"padding-top";Y[0].style.paddingTop=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
907
907
|
<div class="hiprint-option-item-label">
|
|
908
908
|
\u4E0A\u5185\u8FB9\u8DDD
|
|
909
909
|
</div>
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
<option value="21.75" >21.75pt</option>
|
|
942
942
|
</select>
|
|
943
943
|
</div>
|
|
944
|
-
</div>`),this.target},
|
|
944
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),W=function(){function n(){this.name="contentPaddingRight"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-right",H+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
945
945
|
<div class="hiprint-option-item-label">
|
|
946
946
|
\u53F3\u5185\u8FB9\u8DDD
|
|
947
947
|
</div>
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
<option value="21.75" >21.75pt</option>
|
|
980
980
|
</select>
|
|
981
981
|
</div>
|
|
982
|
-
</div>`),this.target},
|
|
982
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),J=function(){function n(){this.name="contentPaddingBottom"}return n.prototype.css=function(t,H){var Y=t.find(".hiprint-printElement-content");if(Y&&Y.length){if(H)return Y.css("padding-bottom",H+"pt"),"padding-bottom";Y[0].style.paddingBottom=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
983
983
|
<div class="hiprint-option-item-label">
|
|
984
984
|
\u4E0B\u5185\u8FB9\u8DDD
|
|
985
985
|
</div>
|
|
@@ -1017,9 +1017,9 @@
|
|
|
1017
1017
|
<option value="21.75" >21.75pt</option>
|
|
1018
1018
|
</select>
|
|
1019
1019
|
</div>
|
|
1020
|
-
</div>`),this.target},
|
|
1020
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),et=function(){function n(){this.name="borderStyle"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("border-style",H),"border-style:1px";t[0].style.borderStyle=""}return null},n.prototype.createTarget=function(t){var H=["hline","vline","rect","oval"].includes(t.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1021
1021
|
<div class="hiprint-option-item-label">
|
|
1022
|
-
`+
|
|
1022
|
+
`+H+`
|
|
1023
1023
|
</div>
|
|
1024
1024
|
<div class="hiprint-option-item-field">
|
|
1025
1025
|
<select class="auto-submit">
|
|
@@ -1029,14 +1029,14 @@
|
|
|
1029
1029
|
<option value="dotted" >\u77ED\u865A\u7EBF</option>
|
|
1030
1030
|
</select>
|
|
1031
1031
|
</div>
|
|
1032
|
-
</div>`),this.target},
|
|
1032
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Q=function(){function n(){this.name="backgroundColor"}return n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.css("background-color",H),"background-color:"+H;t[0].style.backgroundColor=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1033
1033
|
<div class="hiprint-option-item-label">
|
|
1034
1034
|
\u80CC\u666F\u989C\u8272
|
|
1035
1035
|
</div>
|
|
1036
1036
|
<div class="hiprint-option-item-field">
|
|
1037
1037
|
<input type="text" class="auto-submit"/>
|
|
1038
1038
|
</div>
|
|
1039
|
-
</div>`),this.target},
|
|
1039
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").minicolors({defaultValue:t||"",theme:"bootstrap"}),this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),nt=function(){function n(){this.name="orient"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1040
1040
|
<div class="hiprint-option-item-label">
|
|
1041
1041
|
\u6253\u5370\u65B9\u5411
|
|
1042
1042
|
</div>
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
<option value="2" >\u6A2A\u5411</option>
|
|
1048
1048
|
</select>
|
|
1049
1049
|
</div>
|
|
1050
|
-
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},
|
|
1050
|
+
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),O=function(){function n(){this.name="textContentVerticalAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1051
1051
|
<div class="hiprint-option-item-label">
|
|
1052
1052
|
\u4E0A\u4E0B\u5BF9\u9F50
|
|
1053
1053
|
</div>
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
|
|
1060
1060
|
</select>
|
|
1061
1061
|
</div>
|
|
1062
|
-
</div>`),this.target},
|
|
1062
|
+
</div>`),this.target},n.prototype.css=function(t,H){return t&&t.length&&(t.removeClass("hiprint-text-content-middle"),t.removeClass("hiprint-text-content-bottom"),H)?(H==="middle"&&t.addClass("hiprint-text-content-middle"),H==="bottom"&&t.addClass("hiprint-text-content-bottom"),""):null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),rt=function(){function n(){this.name="textContentWrap"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1063
1063
|
<div class="hiprint-option-item-label">
|
|
1064
1064
|
\u6587\u672C\u6362\u884C
|
|
1065
1065
|
</div>
|
|
@@ -1071,12 +1071,12 @@
|
|
|
1071
1071
|
<option value="ellipsis" >\u4E0D\u6362\u884C&\u7701\u7565</option>
|
|
1072
1072
|
</select>
|
|
1073
1073
|
</div>
|
|
1074
|
-
</div>`),this.target},
|
|
1075
|
-
`+(
|
|
1074
|
+
</div>`),this.target},n.prototype.css=function(t,H){return t&&t.length&&(t.removeClass("hiprint-text-content-wrap"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),t.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),H)?(t.addClass("hiprint-text-content-wrap"),t.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+H),""):null},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),q=r(5),ot=function(){function n(){this.name="columns"}return n.prototype.createTarget=function(){return $__default.default('<div class="indicator"></div>').appendTo("body"),this.target=$__default.default(' <div class="hiprint-option-item hiprint-option-item-row"><ul class="hiprint-option-table-selected-columns"></ul></div>'),this.target},n.prototype.getValue=function(){return this.buildData()},n.prototype.setValue=function(t,H,Y){var at=this,mt=this;this.value=t,this.options=H,this.printElementType=Y;var Mt=Y.columns[0].filter(function(ct){return t[0].columns.filter(function(wt){return ct.columnId==wt.columnId}).length==0}).map(function(ct){var wt=new q.a(ct);return wt.checked=!1,wt});this.allColumns=t[0].columns.concat(Mt),t&&t.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ct,wt){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|
1075
|
+
`+(ct.checked?'<input type="checkbox" checked column-id="'+(ct.id||ct.columnId)+'" />':'<input type="checkbox" column-id="'+(ct.id||ct.columnId)+'" />')+`
|
|
1076
1076
|
<div class="state">
|
|
1077
1077
|
<label></label>
|
|
1078
1078
|
</div>
|
|
1079
|
-
</div><span class="column-title">`+(
|
|
1079
|
+
</div><span class="column-title">`+(ct.title||ct.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ct){var wt=ct.target.checked,Ht=ct.target.attributes["column-id"].nodeValue||"",Rt=at.allColumns.findIndex(function(_t){return _t.field==Ht||_t.id==Ht});Rt>=0&&(at.allColumns[Rt].checked=wt),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(wt,Ht){$__default.default(this).css("border-top-color","red")},onDragLeave:function(wt,Ht){$__default.default(this).css("border-top-color","")},onDrop:function(wt,Ht){$__default.default(Ht).insertBefore(this),$__default.default(this).css("border-top-color",""),mt.submit()}}))},n.prototype.buildData=function(){var t=this,H=[];return t.options.columns.length>1?this.value:(t.printElementType.makeColumnObj(t.allColumns),this.target.find("input").map(function(Y,at){var mt=$__default.default(at).attr("column-id"),Mt=t.printElementType.getColumnByColumnId(mt);if(Mt){var ct=new q.a(Mt);ct.checked=Mt.checked,H.push(ct)}}),this.value[0].columns=H,this.value)},n.prototype.destroy=function(){this.target.remove()},n}(),It=function(){function n(){this.name="textType"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1080
1080
|
<div class="hiprint-option-item-label">
|
|
1081
1081
|
\u6253\u5370\u7C7B\u578B
|
|
1082
1082
|
</div>
|
|
@@ -1088,7 +1088,7 @@
|
|
|
1088
1088
|
<option value="qrcode" >\u4E8C\u7EF4\u7801</option>
|
|
1089
1089
|
</select>
|
|
1090
1090
|
</div>
|
|
1091
|
-
</div>`),this.target},
|
|
1091
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),st=function(){function n(){this.name="tableTextType"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1092
1092
|
<div class="hiprint-option-item-label">
|
|
1093
1093
|
\u5B57\u6BB5\u7C7B\u578B
|
|
1094
1094
|
</div>
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
<option value="image" >\u56FE\u7247</option>
|
|
1103
1103
|
</select>
|
|
1104
1104
|
</div>
|
|
1105
|
-
</div>`),this.target},
|
|
1105
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ht=function(){function n(){this.name="tableBarcodeMode"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1106
1106
|
<div class="hiprint-option-item-label">
|
|
1107
1107
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
1108
1108
|
</div>
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
<option value="Pharmacode" >Pharmacode</option>
|
|
1129
1129
|
</select>
|
|
1130
1130
|
</div>
|
|
1131
|
-
</div>`),this.target},
|
|
1131
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return t||void 0},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Tt=function(){function n(){this.name="tableQRCodeLevel"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1132
1132
|
<div class="hiprint-option-item-label">
|
|
1133
1133
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
1134
1134
|
</div>
|
|
@@ -1141,28 +1141,28 @@
|
|
|
1141
1141
|
<option value="2" >30% H</option>
|
|
1142
1142
|
</select>
|
|
1143
1143
|
</div>
|
|
1144
|
-
</div>`),this.target},
|
|
1144
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();return parseInt(t||0)},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),xt=function(){function n(){this.name="tableColumnHeight"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1145
1145
|
<div class="hiprint-option-item-label">
|
|
1146
1146
|
\u5355\u5143\u683C\u9AD8\u5EA6
|
|
1147
1147
|
</div>
|
|
1148
1148
|
<div class="hiprint-option-item-field">
|
|
1149
1149
|
<input type="text" placeholder="\u6761\u5F62\u7801\u3001\u4E8C\u7EF4\u7801\u4EE5\u53CA\u56FE\u7247\u6709\u6548" class="auto-submit" >
|
|
1150
1150
|
</div>
|
|
1151
|
-
</div>`),this.target},
|
|
1151
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),kt=function(){function n(){this.name="tableSummaryTitle"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u6807\u9898</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u9ED8\u8BA4</option><option value="true">\u663E\u793A</option><option value="false">\u9690\u85CF</option></select></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("select").val()!="false"},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Gt=function(){function n(){this.name="tableSummaryText"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1152
1152
|
<div class="hiprint-option-item-label">
|
|
1153
1153
|
\u5E95\u90E8\u805A\u5408\u6587\u672C
|
|
1154
1154
|
</div>
|
|
1155
1155
|
<div class="hiprint-option-item-field">
|
|
1156
1156
|
<input type="text" placeholder="\u805A\u5408\u7C7B\u578B:" class="auto-submit" >
|
|
1157
1157
|
</div>
|
|
1158
|
-
</div>`),this.target},
|
|
1158
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Jt=function(){function n(){this.name="tableSummaryColspan"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1159
1159
|
<div class="hiprint-option-item-label">
|
|
1160
1160
|
\u5E95\u90E8\u805A\u5408\u5408\u5E76\u5217\u6570
|
|
1161
1161
|
</div>
|
|
1162
1162
|
<div class="hiprint-option-item-field">
|
|
1163
1163
|
<input type="number" min="0" step="1" placeholder="\u5408\u5E76\u5217\u6570" class="auto-submit" >
|
|
1164
1164
|
</div>
|
|
1165
|
-
</div>`),this.target},
|
|
1165
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Ft=function(){function n(){this.name="tableSummaryAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1166
1166
|
<div class="hiprint-option-item-label">
|
|
1167
1167
|
\u5E95\u90E8\u805A\u5408\u7C7B\u578B\u5DE6\u53F3\u5BF9\u9F50
|
|
1168
1168
|
</div>
|
|
@@ -1175,37 +1175,37 @@
|
|
|
1175
1175
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1176
1176
|
</select>
|
|
1177
1177
|
</div>
|
|
1178
|
-
</div>`),this.target},
|
|
1179
|
-
<option value="" >\u9ED8\u8BA4</option>`;return
|
|
1180
|
-
<option value="`+(
|
|
1178
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Vt=function(){function n(){this.name="tableSummaryNumFormat"}return n.prototype.createTarget=function(){var t=[{t:"\u6574\u6570",v:"0"}],H=[1,2,3,4,5,6];H.forEach(function(at){t.push({t:"\u4FDD\u7559"+at+"\u4F4D",v:""+at})});var Y=`
|
|
1179
|
+
<option value="" >\u9ED8\u8BA4</option>`;return t.forEach(function(at){Y+=`
|
|
1180
|
+
<option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1181
1181
|
<div class="hiprint-option-item-label">
|
|
1182
1182
|
\u5E95\u90E8\u805A\u5408\u5C0F\u6570
|
|
1183
1183
|
</div>
|
|
1184
1184
|
<div class="hiprint-option-item-field">
|
|
1185
1185
|
<select class="auto-submit"></select>
|
|
1186
1186
|
</div>
|
|
1187
|
-
</div>`),this.target.find(".auto-submit").append($__default.default(
|
|
1187
|
+
</div>`),this.target.find(".auto-submit").append($__default.default(Y)),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Yt=function(){function n(){this.name="tableSummaryFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
1188
1188
|
\u5E95\u90E8\u805A\u5408\u683C\u5F0F\u5316\u51FD\u6570</div>
|
|
1189
1189
|
<div class="hiprint-option-item-field">
|
|
1190
1190
|
<textarea style="height:80px;" placeholder="function(column,fieldPageData,tableData,options){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|
1191
1191
|
</div>
|
|
1192
|
-
</div>`),this.target},
|
|
1193
|
-
<option value="">\u9ED8\u8BA4</option>`;return
|
|
1194
|
-
<option value='${
|
|
1192
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Ot=function(){function n(){this.name="upperCase"}return n.prototype.createTarget=function(){var t=[{t:"\u300C\u5C0F\u5199\u300D\u5341\u70B9\u516B",v:"0"},{t:"\u300C\u5C0F\u5199\u300D\u4E00\u5341\u70B9\u516B",v:"1"},{t:"\u300C\u5927\u5199\u300D\u62FE\u70B9\u634C",v:"2"},{t:"\u300C\u5927\u5199\u300D\u58F9\u62FE\u70B9\u634C",v:"3"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u62FE\u5143\u634C\u89D2",v:"4"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2",v:"5"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"6"},{t:"\u300C\u91D1\u989D\u300D\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"7"}],H=`
|
|
1193
|
+
<option value="">\u9ED8\u8BA4</option>`;return t.forEach(Y=>{H+=`
|
|
1194
|
+
<option value='${Y.v}'>${Y.t}</option>`}),this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1195
1195
|
<div class="hiprint-option-item-label">
|
|
1196
1196
|
\u8F6C\u5927\u5C0F\u5199
|
|
1197
1197
|
</div>
|
|
1198
1198
|
<div class="hiprint-option-item-field">
|
|
1199
1199
|
<select class="auto-submit"></select>
|
|
1200
1200
|
</div>
|
|
1201
|
-
</div>`),this.target.find(".auto-submit").append($__default.default(
|
|
1201
|
+
</div>`),this.target.find(".auto-submit").append($__default.default(H)),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Qt=function(){function n(){this.name="tableSummary"}return n.prototype.createTarget=function(){return this.target=$__default.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u5E95\u90E8\u805A\u5408\u7C7B\u578B</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">\u4E0D\u805A\u5408</option><option value="count">\u8BA1\u6570</option><option value="sum">\u5408\u8BA1</option><option value="avg">\u5E73\u5747\u503C</option><option value="min">\u6700\u5C0F\u503C</option><option value="max">\u6700\u5927\u503C</option></select></div></div>'),this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Xt=function(){function n(){this.name="topOffset"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1202
1202
|
<div class="hiprint-option-item-label">
|
|
1203
1203
|
\u9876\u90E8\u504F\u79FB
|
|
1204
1204
|
</div>
|
|
1205
1205
|
<div class="hiprint-option-item-field">
|
|
1206
1206
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit">
|
|
1207
1207
|
</div>
|
|
1208
|
-
</div>`),this.target},
|
|
1208
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),$t=function(){function n(){this.name="gridColumns"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1209
1209
|
<div class="hiprint-option-item-label">
|
|
1210
1210
|
\u4E00\u884C\u591A\u7EC4
|
|
1211
1211
|
</div>
|
|
@@ -1217,7 +1217,7 @@
|
|
|
1217
1217
|
<option value="4" >\u4E00\u884C\u56DB\u5217</option>
|
|
1218
1218
|
</select>
|
|
1219
1219
|
</div>
|
|
1220
|
-
</div>`),this.target},
|
|
1220
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Kt=function(){function n(){this.name="gridColumnsGutter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1221
1221
|
<div class="hiprint-option-item-label">
|
|
1222
1222
|
\u4E00\u884C\u591A\u7EC4\u95F4\u9694
|
|
1223
1223
|
</div>
|
|
@@ -1237,7 +1237,7 @@
|
|
|
1237
1237
|
<option value="9" >9pt</option>
|
|
1238
1238
|
</select>
|
|
1239
1239
|
</div>
|
|
1240
|
-
</div>`),this.target},
|
|
1240
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.css=function(t,H){if(t&&t.length){if(H)return t.find(".table-grid-row").css("margin-left","-"+H+"pt").css("margin-right","-"+H+"pt"),t.find(".tableGridColumnsGutterRow").css("padding-left",H+"pt").css("padding-right",H+"pt"),null;t.find(".table-grid-row").map(function(Y,at){at.style.marginLeft="",at.style.marginRight=""}),t.find(".tableGridColumnsGutterRow").map(function(Y,at){at.style.paddingLeft="",at.style.paddingRight=""})}return null},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),qt=function(){function n(){this.name="tableHeaderRepeat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1241
1241
|
<div class="hiprint-option-item-label">
|
|
1242
1242
|
\u8868\u683C\u5934\u663E\u793A
|
|
1243
1243
|
</div>
|
|
@@ -1249,7 +1249,7 @@
|
|
|
1249
1249
|
<option value="none" >\u4E0D\u663E\u793A</option>
|
|
1250
1250
|
</select>
|
|
1251
1251
|
</div>
|
|
1252
|
-
</div>`),this.target},
|
|
1252
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),te=function(){function n(){this.name="paddingLeft"}return n.prototype.css=function(t,H){var Y=t;if(Y&&Y.length){if(H)return Y.css("padding-left",H+"pt"),"padding-left";Y[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1253
1253
|
<div class="hiprint-option-item-label">
|
|
1254
1254
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
1255
1255
|
</div>
|
|
@@ -1287,7 +1287,7 @@
|
|
|
1287
1287
|
<option value="21.75" >21.75pt</option>
|
|
1288
1288
|
</select>
|
|
1289
1289
|
</div>
|
|
1290
|
-
</div>`),this.target},
|
|
1290
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ee=function(){function n(){this.name="paddingRight"}return n.prototype.css=function(t,H){var Y=t;if(Y&&Y.length){if(H)return Y.css("padding-right",H+"pt"),"padding-right";Y[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1291
1291
|
<div class="hiprint-option-item-label">
|
|
1292
1292
|
\u53F3\u5185\u8FB9\u8DDD
|
|
1293
1293
|
</div>
|
|
@@ -1325,7 +1325,7 @@
|
|
|
1325
1325
|
<option value="21.75" >21.75pt</option>
|
|
1326
1326
|
</select>
|
|
1327
1327
|
</div>
|
|
1328
|
-
</div>`),this.target},
|
|
1328
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return parseFloat(t.toString())},n.prototype.setValue=function(t){t&&(this.target.find('option[value="'+t+'"]').length||this.target.find("select").prepend('<option value="'+t+'" >'+t+"</option>")),this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ie=function(){function n(){this.name="dataType"}return n.prototype.createTarget=function(){var t=this;return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1329
1329
|
<div class="hiprint-option-item-label">
|
|
1330
1330
|
\u6570\u636E\u7C7B\u578B
|
|
1331
1331
|
</div>
|
|
@@ -1348,7 +1348,7 @@
|
|
|
1348
1348
|
</select>
|
|
1349
1349
|
<input class="auto-submit hiprint-option-item-datatype-input-format" type="text" data-type="boolean" placeholder="true:false">
|
|
1350
1350
|
</div>
|
|
1351
|
-
</div>`),$__default.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var
|
|
1351
|
+
</div>`),$__default.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var H=$__default.default(t.target.find(".hiprint-option-item-datatype")).val();t.loadFormatSelectByDataType(H),t.submit(t.getValue())}),this.target},n.prototype.getValue=function(){var t=this.target.find(".hiprint-option-item-datatype").val();if(t){var H=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:t,format:H||void 0}}return{dataType:void 0,format:void 0}},n.prototype.setValue=function(t,H){this.target.find(".hiprint-option-item-datatype").val(H.dataType||""),this.loadFormatSelectByDataType(H.dataType),this.target.find(".hiprint-option-item-datatype-format").val(H.format||"")},n.prototype.destroy=function(){this.target.remove()},n.prototype.loadFormatSelectByDataType=function(t){t==="boolean"?(this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()):t==="datetime"?(this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-select-format").html(`
|
|
1352
1352
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1353
1353
|
<option value="M/d" >M/d</option>
|
|
1354
1354
|
<option value="MM/dd" >MM/dd</option>
|
|
@@ -1397,28 +1397,28 @@
|
|
|
1397
1397
|
<option value="yyyy-MM-dd HH:mm:ss" >yyyy-MM-dd HH:mm:ss</option>
|
|
1398
1398
|
`)):(this.target.find(".hiprint-option-item-datatype-select-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-format").html(`
|
|
1399
1399
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1400
|
-
`))},
|
|
1400
|
+
`))},n}(),ne=function(){function n(){this.name="formatter"}return n.prototype.createTarget=function(){var t=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1401
1401
|
<div class="hiprint-option-item-label">
|
|
1402
1402
|
\u683C\u5F0F\u5316\u51FD\u6570
|
|
1403
1403
|
</div>
|
|
1404
1404
|
<div class="hiprint-option-item-field">
|
|
1405
1405
|
<textarea style="height:80px;" placeholder="function(title,value,options,templateData,target){}" class="auto-submit"></textarea>
|
|
1406
1406
|
</div>
|
|
1407
|
-
</div>`;return this.target=$__default.default(
|
|
1407
|
+
</div>`;return this.target=$__default.default(t),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),oe=function(){function n(){this.name="styler"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1408
1408
|
<div class="hiprint-option-item-label">
|
|
1409
1409
|
\u6837\u5F0F\u51FD\u6570
|
|
1410
1410
|
</div>
|
|
1411
1411
|
<div class="hiprint-option-item-field">
|
|
1412
1412
|
<textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
|
|
1413
1413
|
</div>
|
|
1414
|
-
</div>`),this.target},
|
|
1414
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ae=function(){function n(){this.name="rowsColumnsMerge"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1415
1415
|
<div class="hiprint-option-item-label">
|
|
1416
1416
|
\u884C/\u5217\u5408\u5E76\u51FD\u6570
|
|
1417
1417
|
</div>
|
|
1418
1418
|
<div class="hiprint-option-item-field">
|
|
1419
1419
|
<textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex, tableData, printData){ return [1,1] }" class="auto-submit"></textarea>
|
|
1420
1420
|
</div>
|
|
1421
|
-
</div>`),this.target},
|
|
1421
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),re=function(){function n(){this.name="rowsColumnsMergeClean"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1422
1422
|
<div class="hiprint-option-item-label">
|
|
1423
1423
|
\u8DE8\u9875\u5408\u5E76\u662F\u5426\u6E05\u9664
|
|
1424
1424
|
</div>
|
|
@@ -1429,49 +1429,49 @@
|
|
|
1429
1429
|
<option value="false" >\u5426</option>
|
|
1430
1430
|
</select>
|
|
1431
1431
|
</div>
|
|
1432
|
-
</div>`),this.target},
|
|
1432
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),le=function(){function n(){this.name="footerFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1433
1433
|
<div class="hiprint-option-item-label">
|
|
1434
1434
|
\u8868\u683C\u811A\u51FD\u6570
|
|
1435
1435
|
</div>
|
|
1436
1436
|
<div class="hiprint-option-item-field">
|
|
1437
1437
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '<tr></tr>' }" class="auto-submit"></textarea>
|
|
1438
1438
|
</div>
|
|
1439
|
-
</div>`),this.target},
|
|
1439
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),se=function(){function n(){this.name="groupFieldsFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1440
1440
|
<div class="hiprint-option-item-label">
|
|
1441
1441
|
\u5206\u7EC4\u5B57\u6BB5\u51FD\u6570
|
|
1442
1442
|
</div>
|
|
1443
1443
|
<div class="hiprint-option-item-field">
|
|
1444
1444
|
<textarea style="height:80px;" placeholder="function(type,options,data){ return [] }" class="auto-submit"></textarea>
|
|
1445
1445
|
</div>
|
|
1446
|
-
</div>`),this.target},
|
|
1446
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),pe=function(){function n(){this.name="groupFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1447
1447
|
<div class="hiprint-option-item-label">
|
|
1448
1448
|
\u5206\u7EC4\u5934\u683C\u5F0F\u5316\u51FD\u6570
|
|
1449
1449
|
</div>
|
|
1450
1450
|
<div class="hiprint-option-item-field">
|
|
1451
1451
|
<textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '\u5206\u7EC4\u5934\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1452
1452
|
</div>
|
|
1453
|
-
</div>`),this.target},
|
|
1453
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ue=function(){function n(){this.name="groupFooterFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1454
1454
|
<div class="hiprint-option-item-label">
|
|
1455
1455
|
\u5206\u7EC4\u811A\u683C\u5F0F\u5316\u51FD\u6570
|
|
1456
1456
|
</div>
|
|
1457
1457
|
<div class="hiprint-option-item-field">
|
|
1458
1458
|
<textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '\u5206\u7EC4\u811A\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1459
1459
|
</div>
|
|
1460
|
-
</div>`),this.target},
|
|
1460
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Ie=function(){function n(){this.name="gridColumnsFooterFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1461
1461
|
<div class="hiprint-option-item-label">
|
|
1462
1462
|
\u591A\u7EC4\u8868\u683C\u811A\u51FD\u6570
|
|
1463
1463
|
</div>
|
|
1464
1464
|
<div class="hiprint-option-item-field">
|
|
1465
1465
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '' }" class="auto-submit"></textarea>
|
|
1466
1466
|
</div>
|
|
1467
|
-
</div>`),this.target},
|
|
1467
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ce=function(){function n(){this.name="rowStyler"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1468
1468
|
<div class="hiprint-option-item-label">
|
|
1469
1469
|
\u884C\u6837\u5F0F\u51FD\u6570
|
|
1470
1470
|
</div>
|
|
1471
1471
|
<div class="hiprint-option-item-field">
|
|
1472
1472
|
<textarea style="height:80px;" placeholder="function(value,options){ return '' }" class="auto-submit"></textarea>
|
|
1473
1473
|
</div>
|
|
1474
|
-
</div>`),this.target},
|
|
1474
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),de=function(){function n(){this.name="align"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1475
1475
|
<div class="hiprint-option-item-label">
|
|
1476
1476
|
\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1477
1477
|
</div>
|
|
@@ -1484,7 +1484,7 @@
|
|
|
1484
1484
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1485
1485
|
</select>
|
|
1486
1486
|
</div>
|
|
1487
|
-
</div>`),this.target},
|
|
1487
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),ge=function(){function n(){this.name="vAlign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1488
1488
|
<div class="hiprint-option-item-label">
|
|
1489
1489
|
\u5355\u5143\u683C\u4E0A\u4E0B\u5BF9\u9F50
|
|
1490
1490
|
</div>
|
|
@@ -1497,7 +1497,7 @@
|
|
|
1497
1497
|
|
|
1498
1498
|
</select>
|
|
1499
1499
|
</div>
|
|
1500
|
-
</div>`),this.target},
|
|
1500
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),he=function(){function n(){this.name="halign"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1501
1501
|
<div class="hiprint-option-item-label">
|
|
1502
1502
|
\u8868\u683C\u5934\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1503
1503
|
</div>
|
|
@@ -1510,35 +1510,35 @@
|
|
|
1510
1510
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1511
1511
|
</select>
|
|
1512
1512
|
</div>
|
|
1513
|
-
</div>`),this.target},
|
|
1513
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),me=function(){function n(){this.name="styler2"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1514
1514
|
<div class="hiprint-option-item-label">
|
|
1515
1515
|
\u5355\u5143\u683C\u6837\u5F0F\u51FD\u6570
|
|
1516
1516
|
</div>
|
|
1517
1517
|
<div class="hiprint-option-item-field">
|
|
1518
1518
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1519
1519
|
</div>
|
|
1520
|
-
</div>`),this.target},
|
|
1520
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),fe=function(){function n(){this.name="stylerHeader"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1521
1521
|
<div class="hiprint-option-item-label">
|
|
1522
1522
|
\u8868\u683C\u5934\u6837\u5F0F\u51FD\u6570
|
|
1523
1523
|
</div>
|
|
1524
1524
|
<div class="hiprint-option-item-field">
|
|
1525
1525
|
<textarea style="height:80px;" placeholder="function(options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1526
1526
|
</div>
|
|
1527
|
-
</div>`),this.target},
|
|
1527
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),be=function(){function n(){this.name="formatter2"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1528
1528
|
<div class="hiprint-option-item-label">
|
|
1529
1529
|
\u5355\u5143\u683C\u683C\u5F0F\u5316\u51FD\u6570
|
|
1530
1530
|
</div>
|
|
1531
1531
|
<div class="hiprint-option-item-field">
|
|
1532
1532
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
|
|
1533
1533
|
</div>
|
|
1534
|
-
</div>`),this.target},
|
|
1534
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ve=function(){function n(){this.name="renderFormatter"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1535
1535
|
<div class="hiprint-option-item-label">
|
|
1536
1536
|
\u5355\u5143\u683C\u6E32\u67D3\u51FD\u6570
|
|
1537
1537
|
</div>
|
|
1538
1538
|
<div class="hiprint-option-item-field">
|
|
1539
1539
|
<textarea style="height:80px;" placeholder="function(value,row,colIndex,options,rowIndex){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|
1540
1540
|
</div>
|
|
1541
|
-
</div>`),this.target},
|
|
1541
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("textarea").val();if(t)return t},n.prototype.setValue=function(t){this.target.find("textarea").val(t?t.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ye=function(){function n(){this.name="autoCompletion"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1542
1542
|
<div class="hiprint-option-item-label">
|
|
1543
1543
|
\u81EA\u52A8\u8865\u5168
|
|
1544
1544
|
</div>
|
|
@@ -1549,14 +1549,14 @@
|
|
|
1549
1549
|
<option value="false" >\u5426</option>
|
|
1550
1550
|
</select>
|
|
1551
1551
|
</div>
|
|
1552
|
-
</div>`),this.target},
|
|
1552
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(t){this.target.find("select").val((t==null?"":t).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Me=function(){function n(){this.name="maxRows"}return n.prototype.createTarget=function(){return this.target=$__default.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1553
1553
|
<div class="hiprint-option-item-label">
|
|
1554
1554
|
\u6BCF\u9875\u6700\u5927\u884C\u6570
|
|
1555
1555
|
</div>
|
|
1556
1556
|
<div class="hiprint-option-item-field">
|
|
1557
1557
|
<input type="number" value="1" step="1" min="1" class="auto-submit"/>
|
|
1558
1558
|
</div>
|
|
1559
|
-
</div>`),this.target},
|
|
1559
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("input").val();if(t)return parseInt(t.toString())},n.prototype.setValue=function(t){this.target.find("input").val(t)},n.prototype.destroy=function(){this.target.remove()},n}(),Pe=function(){function n(){this.name="tableFooterRepeat"}return n.prototype.createTarget=function(){return this.target=$__default.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1560
1560
|
<div class="hiprint-option-item-label">
|
|
1561
1561
|
\u8868\u683C\u811A\u663E\u793A
|
|
1562
1562
|
</div>
|
|
@@ -1568,22 +1568,22 @@
|
|
|
1568
1568
|
<option value="last" >\u6700\u540E\u663E\u793A</option>
|
|
1569
1569
|
</select>
|
|
1570
1570
|
</div>
|
|
1571
|
-
</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}();l.d(z,"a",function(){return je});var je=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 x,new v,new p,new m,new U,new h,new B,new at,new A,new y,new I,new D,new Z,new H,new T,new S,new N,new w,new a,new f,new r,new c,new b,new j,new d,new g,new E,new W,new G,new V,new K,new Y,new q,new et,new R,new nt,new st,new ut,new It,new vt,new yt,new Mt,new ft,new gt,new ht,new jt,new St,new Tt,new Nt,new Dt,new At,new Et,new Xt,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new kt,new P,new i,new n,new M,new u,new L,new k,new F,new it,new X,new ot,new Q,new tt,new $t,new Kt,new qt,new te,new ee,new ie,new ne,new oe,new le,new ae,new re,new se,new pe,new ue,new Ie,new ce,new de,new he,new ge,new me,new fe,new be,new ve,new ye,new Me,new Pe,new wt,new pt,new bt,new ct,new Ht,new Gt,new Rt,new Qt,new Ft,new Vt,new Yt,new Ot],o}()},function(J,z,l){l.d(z,"a",function(){return x}),l.d(z,"b",function(){return v});var U=l(14),x=function(){function h(B,A){this.selectedCells=[],this.rows=B,this.tableTatget=A}return h.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},h.prototype.setSingleSelect=function(B){this.startCell=B,this.selectedCells=[]},h.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},h.prototype.singleSelectByXY=function(B,A){var y=this.getCellByXY(B,A);y&&(this.clear(),y&&(y.cell.select(),this.startCell=y,this.selectedCells=[]))},h.prototype.multipleSelectByXY=function(B,A){this.clear();var y=[];if(this.startCell){var I=this.getCellByXY(B,A);if(I){var S=U.a.mergeRect(this.startCell.cell.getTableRect(),I.cell.getTableRect());this.selectByRect(new p(S),y)}}this.selectedCells=y},h.prototype.selectByRect=function(B,A){this.rows.forEach(function(y,I){var S=[];y.columns.forEach(function(N){N.isInRect(B)&&(S.push(new m(I,N)),N.select())}),S.length&&A.push(S)}),B.changed&&(B.changed=!1,A.splice(0,A.length),this.selectByRect(B,A))},h.prototype.getSelectedCells=function(){return this.selectedCells},h.prototype.getCellByXY=function(B,A){var y;return this.rows.forEach(function(I,S){var N=(I.columns||[]).filter(function(D){return D.checked}).filter(function(D){return D.isXYinCell(B,A)});N.length&&(y=new m(S,N[0]))}),y},h}(),v=function(){return function(h){this.x=h.x,this.y=h.y,this.height=h.height,this.width=h.width}}(),p=function(){return function(h){this.rect=h}}(),m=function(){return function(h,B){this.rowIndex=h,this.cell=B}}()},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){function x(){}return x.createId=function(){return this.id+=1,this.id},x.id=1,x}()},function(J,z,l){l.d(z,"a",function(){return m});var U,x=l(5),v=l(13),p=(U=function(B,A){return(U=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(y,I){y.__proto__=I}||function(y,I){for(var S in I)I.hasOwnProperty(S)&&(y[S]=I[S])})(B,A)},function(h,B){function A(){this.constructor=h}U(h,B),h.prototype=B===null?Object.create(B):(A.prototype=B.prototype,new A)}),m=function(h){function B(A){var y=h.call(this)||this;return y.columns=[],A&&A.constructor===Array?(A||[]).forEach(function(I){y.columns.push(new x.a(I))}):A.columns&&(A.columns||[]).forEach(function(I){y.columns.push(new x.a(I))}),y}return p(B,h),B.prototype.getPrintElementOptionEntity=function(){var A=[],y=this.allColumns?this.allColumns.filter(function(I){return!I.checked}):[];return[...this.columns,...y].forEach(function(I){A.push(I.getEntity())}),A},B}(v.a)},function(J,z,l){l.d(z,"a",function(){return v});var U=l(11),x=l(5),v=function(){function p(){this.id=U.a.createId()}return p.prototype.init=function(m,h,B){this.isHead=B,this.target=h||$__default.default("<tr></tr>"),this.tableOptions=m,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(A){return A.checked}))},p.prototype.getTarget=function(){return this.target},p.prototype.initCells=function(m){var h=this;m?(this.columns=m,m.forEach(function(B,A){B.init(h.target.find("td:eq("+A+")"),h.tableOptions,h.id,h.isHead)})):(this.columns=[],this.target.find("td").map(function(B,A){var y=new x.a;y.init($__default.default(A),h.tableOptions,h.id,h.isHead),h.columns.push(y)}))},p.prototype.removeCell=function(m){var h=this.columns.indexOf(m);this.columns[h].getTarget().remove(),this.columns.splice(h,1)},p.prototype.createTableCell=function(m,h){var B=new x.a;return B.init($__default.default("<td></td>"),this.tableOptions,this.id,this.isHead),m>1&&(B.getTarget().attr("rowspan",m),B.rowspan=m),h>1&&(B.getTarget().attr("colspan",h),B.colspan=h),B},p.prototype.insertToTargetCellLeft=function(m,h){var B=this.columns.indexOf(m);m.getTarget().before(h.getTarget()),this.columns.splice(B,0,h)},p.prototype.insertToTargetCellRight=function(m,h){var B=this.columns.indexOf(m);this.columns[B].getTarget().after(h.getTarget()),this.columns.splice(B+1,0,h)},p.prototype.insertCellToFirst=function(m){this.target.prepend(m.getTarget()),this.columns.splice(0,0,m)},p.prototype.insertCellToLast=function(m){this.columns.push(m),this.target.append(m.getTarget())},p.prototype.getPrintElementOptionEntity=function(){var m=[];return[...this.columns,...this.allColumns.filter(function(h){return!h.checked})].forEach(function(h){m.push(h.getEntity())}),m},p}()},function(J,z,l){l.d(z,"a",function(){return x});var U=l(10),x=function(){function v(){}return v.mergeRect=function(p,m){var h=Math.min(p.x,m.x),B=Math.min(p.y,m.y);return new U.b({x:h,y:B,height:Math.max(p.y+p.height,m.y+m.height)-B,width:Math.max(p.x+p.width,m.x+m.width)-h})},v.Rect=function(p,m,h,B){return{minX:p<h?p:h,minY:m<B?m:B,maxX:p<h?h:p,maxY:m<B?B:m}},v}()},function(J,z,l){l.d(z,"a",function(){return D});var U=l(4),x=l(1),v=l(6),p=l(0),m=l(8),h=l(18),B=l(7),A=l(16),y=l(20),I=l(2),S=(N=function(H,T){return(N=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(w,a){w.__proto__=a}||function(w,a){for(var f in a)a.hasOwnProperty(f)&&(w[f]=a[f])})(H,T)},function(Z,H){function T(){this.constructor=Z}N(Z,H),Z.prototype=H===null?Object.create(H):(T.prototype=H.prototype,new T)}),N,D=function(Z){function H(T,w){var a=Z.call(this,T)||this;return a.gridColumnsFooterCss="hiprint-gridColumnsFooter",a.tableGridRowCss="table-grid-row",a.options=new h.a(w,a.printElementType),a.options.setDefault(new h.a(x.a.instance.table.default).getPrintElementOptionEntity()),a}return S(H,Z),H.prototype.getColumns=function(){return this.options.columns},H.prototype.getColumnByColumnId=function(T){return this.options.getColumnByColumnId(T)},H.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var T=this.designTarget.find(".hiprint-printElement-table-content"),w=this.getHtml(this.designPaper);T.html(""),T.append(w[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},H.prototype.css=function(T,w){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return Z.prototype.css.call(this,T,w)},H.prototype.getDesignTarget=function(T){return this.designTarget=this.getHtml(T)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=T,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(a,f){},onDragEnter:function(a,f){$__default.default(f).removeClass("rn-draggable-item")},onDragLeave:function(a,f){$__default.default(f).addClass("rn-draggable-item")}}),this.designTarget},H.prototype.getConfigOptions=function(){return x.a.instance.table},H.prototype.createTarget=function(T,w,a){for(var f=$__default.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),r=this.createGridColumnsStructure(a),c=0;c<r.gridColumns;c++)r.getByIndex(c).append(this.getTableHtml(w,a));return f.find(".hiprint-printElement-table-content").append(r.target),f},H.prototype.createGridColumnsStructure=function(T){for(var w=$__default.default('<div class="hi-grid-row table-grid-row"></div>'),a=0;a<this.options.getGridColumns();a++){var f=$__default.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');w.append(f)}var r=this.getGridColumnsFooterFormatter();if(r){var c=$__default.default('<div class="hiprint-gridColumnsFooter"></div>');c.append(r(this.options,this.getData(T),T,[])),w.append(c)}return new y.a(this.options.getGridColumns(),w)},H.prototype.createtempEmptyRowsTargetStructure=function(T){if(this.getField())return this.createTarget(this.printElementType.title,[]);var w=this.createTarget(this.printElementType.title,[]).clone();return w.find(".hiprint-printElement-tableTarget tbody tr").remove(),w},H.prototype.getTableHtml=function(T,w){var a,f;if(!this.getField()&&this.options.content)return(a=$__default.default("<div></div>")).append(this.options.content),(f=a.find("table")).addClass("hiprint-printElement-tableTarget"),f;if(this.printElementType.formatter)return(a=$__default.default("<div></div>")).append(this.printElementType.formatter(T)),(f=a.find("table")).addClass("hiprint-printElement-tableTarget"),f;var r=$__default.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return r.append(B.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),r.append(B.a.createTableRow(this.getColumns(),T,w,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||B.a.createTableFooter(this.printElementType.columns,T,this.options,this.printElementType,w,T).insertBefore(r.find("tbody")),r},H.prototype.getEmptyRowTarget=function(){return B.a.createEmptyRowTarget(this.getColumns(),this)},H.prototype.getHtml=function(T,w){this.createTempContainer();var a=this.getPaperHtmlResult(T,w);return this.removeTempContainer(),a},H.prototype.getPaperHtmlResult=function(T,w){var a=[],f=this.getData(w),r=this.getTableHtml(f,w),c=this.createtempEmptyRowsTargetStructure(w);w?this.updateTargetWidth(c):this.updateTargetSize(c),this.css(c,f),this.css(r,f),this.getTempContainer().html(""),this.getTempContainer().append(c);var b=c.find("tfoot").outerHeight()||0;c.find("tfoot").remove();for(var j,d=this.getBeginPrintTopInPaperByReferenceElement(T),g=0,E=!1;!E;){var W=0,G=T.getPaperFooter(g);g==0&&d>G&&T.panelPageRule!="none"&&(d=d-G+T.paperHeader,a.push(new v.a({target:void 0,printLine:void 0})),W=T.getContentHeight(g)-(d-T.paperHeader),g++,G=T.getPaperFooter(g));var V=a.length>0?a[a.length-1].target:void 0,K=this.getRowsInSpecificHeight(w,W>0?W:g==0?G-d:T.getContentHeight(g),c,r,g,V,b);if(E=K.isEnd,W<0){var Y=this.options.top;a[0].target=$__default.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),a[0].printLine=d,a[0].referenceElement=new m.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:T.index,bottomInLastPaper:Y+this.options.lHeight,printTopInPaper:d}),a[0].target.css("top",Y+"pt"),a[0].target.css("left",this.options.displayLeft());break}var q=void 0;K.target&&(K.target.css("left",this.options.displayLeft()),K.target[0].height=""),g==0||W>0?(K.target&&(j=d,K.target.css("top",d+"pt")),q=E&&this.options.lHeight!=null?d+(K.height>this.options.lHeight?K.height:this.options.lHeight):d+K.height):(K.target&&(j=T.paperHeader,K.target.css("top",T.paperHeader+"pt")),q=T.paperHeader+K.height),a.push(new v.a({target:K.target,printLine:q,referenceElement:new m.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:T.index,bottomInLastPaper:q,printTopInPaper:j})})),g++,w&&this.updatePanelHeight(q+this.options.getHeight(),T)}return a},H.prototype.getRowsInSpecificHeight=function(T,w,a,f,r,c,b){var j=this,d=f.find("tbody"),g=p.a.pt.toPx(w);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"&&(T?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 E=this.panel.panelPageRule=="none",W;if(T&&E){var G=a.find(".hiprint-printElement-tableTarget thead").attr("style");W=a.find(".hiprint-printElement-tableTarget thead tr").clone(),G?W.attr("style",G):W.css({background:"#e8e8e8"}),a.find(".hiprint-printElement-tableTarget thead").remove()}var V=a.outerHeight();if(!E&&V>g)return{target:void 0,length:0,height:0,isEnd:!1};for(var K=this.options.getGridColumns(),Y=[],q=0;q<K;q++)for(var et=a.find(".hiprint-printElement-tableTarget:eq("+q+")"),R=void 0,nt=[];;){if(E){var st=d.find("tr").length;if(st==0)R={height:p.a.px.toPt(V),isEnd:!0},T&&this.options.autoCompletion&&(this.autoCompletion(g,et,b),V=a.outerHeight());else{var ut=d.find("tr:lt(1)");nt.length==0&&W&&et.find("tbody").append(W),et.find("tbody").append(ut);var It=ut.data("rowData");Y.push(It),nt.push(It),V=a.outerHeight(),st==0&&(d.prepend(ut),Y.pop(),nt.pop(),R={height:p.a.px.toPt(V),isEnd:!1})}}else if(V<=g)if(d.find("tr").length==0)R={height:p.a.px.toPt(V),isEnd:!0},T&&this.options.autoCompletion&&(this.autoCompletion(g,et,b),V=et.outerHeight());else{var ut=d.find("tr:lt(1)");j.options.rowsColumnsMerge&&(r>0||q>0)&&nt.length==0&&(ut=j.fixMergeSpan(ut,d)),et.find("tbody").append(ut);var It=ut.data("rowData");Y.push(It),nt.push(It),V=et.outerHeight(),((this.options.tableFooterRepeat=="last"?V:V+=b)>g||this.options.maxRows&&nt.length>+this.options.maxRows)&&(d.prepend(ut),Y.pop(),nt.pop(),V=a.outerHeight(),R={height:p.a.px.toPt(V),isEnd:!1})}if(R){if(this.options.tableFooterRepeat=="last"&&!R.isEnd)break;this.options.tableFooterRepeat!=="no"&&(E?et.find("tbody").append(B.a.createTableFooter(this.printElementType.columns,this.getData(T),this.options,this.printElementType,T,nt).children()):B.a.createTableFooter(this.printElementType.columns,this.getData(T),this.options,this.printElementType,T,nt).insertBefore(et.find("tbody")),j.css(et,T));break}}var vt=a.find(".hiprint-printElement-tableTarget tbody tr").length,yt=this.getGridColumnsFooterFormatter();yt&&a.find(this.gridColumnsFooterCss).html(yt(this.options,this.getData(T),T,Y)),V=a.outerHeight();let gt=d.find("tr:lt(1)");if(vt==0&>.length&&It==gt.data("rowData")){et.find("tbody").append(gt);let ft=et.find("tbody tr").outerHeight();return d.prepend(gt),{target:$__default.default('<div style="position:absolute;background: red;color: white;padding: 0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4,\u663E\u793A\u4E0B\u65B9\u5185\u5BB9, \u53EF\u5206\u9875\u9AD8\u5EA6: '+g+"px < \u5F53\u524D\u9700\u8981\u9AD8\u5EA6: "+ft+"px</div>").append(gt.css("background","blue")),length:vt,height:p.a.px.toPt(V),isEnd:!1}}var Mt=d.find("tr").length==0?vt==0&&c?{target:void 0,length:0,height:0,isEnd:!0}:{target:a.clone(),length:vt,height:p.a.px.toPt(V),isEnd:!0}:{target:a.clone(),length:vt,height:p.a.px.toPt(V),isEnd:!1};return Mt},H.prototype.fixMergeSpan=function(T,w){var a=this;let f=1,r=!1,c=1,b=!1;return T.nextAll().each(function(j){$__default.default(this).children().filter("td[rowspan=0]").length>0&&!r?f+=1:r=!0,$__default.default(this).children().filter("td[colspan=0]").length>0&&!b?c+=1:b=!0}),T.children().each(function(j,d){$__default.default(d).attr("rowspan")<1&&($__default.default(d).attr("rowspan",f),$__default.default(d).css("display",""),a.options.rowsColumnsMergeClean&&$__default.default(d).text("")),$__default.default(d).attr("colspan")<1&&($__default.default(d).attr("colspan",c),$__default.default(d).css("display",""),a.options.rowsColumnsMergeClean&&$__default.default(d).text(""))}),T},H.prototype.autoCompletion=function(T,w,a){for(var f=this,r,c=this.getEmptyRowTarget(),b=w.outerHeight()+a;T>b&&(r=c.clone(),w.find("tbody").append(r),b=w.outerHeight()+a,!(f.options.maxRows&&w.find("tbody").children().length>f.options.maxRows)););r&&r.remove()},H.prototype.getData=function(T){if(!T)try{let f=this.options.testData||"[{}]";return JSON.parse(f)}catch(f){return console.log("table testData parse error",f),[{}]}var w=this.getField(),a=w&&w.split(".").reduce((f,r)=>f?f[r]:T?T[r]:"",!1)||"";return a?JSON.parse(JSON.stringify(a)):[]},H.prototype.onResize=function(T,w,a,f,r){Z.prototype.updateSizeAndPositionOptions.call(this,r,f,a,w),B.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},H.prototype.getReizeableShowPoints=function(){return this.options.showPoints||x.a.instance.table.showPoints},H.prototype.design=function(T,w){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,c,b){a.updateSizeAndPositionOptions(c,b),a.createLineOfPosition(w),I.a.instance.changed=!0},moveUnit:"pt",minMove:x.a.instance.movingDistance,onBeforeDrag:function(r){I.a.instance.draging=!0,a.createLineOfPosition(w)},getScale:function(){return a.designPaper.scale||1},onStopDrag:function(r){I.a.instance.changed&&p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,"\u79FB\u52A8"),I.a.instance.draging=!1,I.a.instance.changed=!1,a.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:a.getReizeableShowPoints(),showSizeBox:x.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){I.a.instance.draging=!0},getScale:function(){return a.designPaper.scale||1},onResize:function(r,c,b,j,d){a.onResize(r,c,b,j,d),a.hitable&&a.hitable.updateColumnGrips(),a.createLineOfPosition(w)},onStopResize:function(r){p.a.event.trigger("hiprintTemplateDataChanged_"+a.templateId,r?"\u65CB\u8F6C":"\u5927\u5C0F"),I.a.instance.draging=!1,a.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,w)},H.prototype.setHitable=function(){var T=this;this.hitable=new A.a({templateId:T.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(){T.updateDesignViewFromOptions(),p.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u8C03\u6574\u8868\u5934")})},H.prototype.setColumnsOptions=function(){var T=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(w){var a=$__default.default(w.target).attr("id")||$__default.default(w.target).attr("column-id"),f=T.getColumnByColumnId(a);if(f){var r=T.getPrintElementOptionItemsByName("tableColumn");p.a.event.trigger(T.getPrintElementSelectEventKey(),{printElement:T,customOptionsInput:[{title:(f.title||`${f.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:r,options:f,callback:function(b){r.forEach(function(j){var d=j.getValue();if(j.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),j.target.find("textarea").val(g[0]);return}if(j.name=="columnField"){if(f.columnId=f.field=d,f.columnId&&f.target.attr("column-id",f.columnId),T.options.fields){let E=T.options.fields.find(G=>G.field==d);E&&(f.title=E.text);let W=r.find(G=>G.name=="title");W&&W.target.find("textarea").val(f.title)}return}f[j.name]=d})}}]})}else p.a.event.trigger(t.getPrintElementSelectEventKey(),{printElement:t})})},H.prototype.filterOptionItems=function(T){var w=Z.prototype.filterOptionItems.call(this,T);return this.printElementType.editable&&this.options.columns.length==1?w:T.filter(function(a){return a.name!="columns"})},H.prototype.getFooterFormatter=function(){var T=void 0;if(this.printElementType.footerFormatter&&(T=this.printElementType.footerFormatter),this.options.footerFormatter)try{var w="footerFormatter="+this.options.footerFormatter;eval2(w)}catch(a){console.log(a)}return T},H.prototype.getGridColumnsFooterFormatter=function(){var T=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(T=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var w="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;T=eval2(w)}catch(a){console.log(a)}return T},H}(U.a)},function(J,z,l){var U=function(){return function(w){this.table=w.table,this.templateId=w.templateId,this.fields=w.fields,this.isEnableEdit=w.isEnableEdit,this.trs=w.trs,this.resizeRow=w.resizeRow,this.resizeColumn=w.resizeColumn,this.isEnableEditField=w.isEnableEditField,this.isEnableContextMenu=w.isEnableContextMenu,this.isEnableEditField=w.isEnableEditField,this.isEnableInsertRow=w.isEnableInsertRow,this.isEnableDeleteRow=w.isEnableDeleteRow,this.isEnableInsertColumn=w.isEnableInsertColumn,this.isEnableDeleteColumn=w.isEnableDeleteColumn,this.isEnableMergeCell=w.isEnableMergeCell,this.columnResizable=w.columnResizable,this.columnAlignEditable=w.columnAlignEditable}}(),x=function(){function w(a){this.options=new U(a)}return w.prototype.enableEidt=function(){this.options.isEnableEdit},w.prototype.disableEdit=function(){this.options.isEnableEdit},w.prototype.isEnableEdit=function(){return this.options.isEnableEdit},w}(),v=l(0),p=function(){return function(w){this.cell=w.cell,this.link=w.link,this.linkType=w.linkType,this.bottom=w.bottom,this.rightMost=w.rightMost,this.rowLevel=w.rowLevel,this.columnLevel=w.columnLevel,this.indexInTableGridRow=w.indexInTableGridRow,this.indexInTableGridColumn=w.indexInTableGridColumn}}(),m=l(10),h=function(){function w(){}return w.getLeftTableCell=function(a,f){var r;return a.forEach(function(c,b){c.cell&&b<f&&(r=c.cell)}),r},w.getIndex=function(a,f){var r;return a.forEach(function(c,b){c.cell&&c.cell.id==f&&(r=b)}),r},w}(),B=l(13),A=l(11),y=function(){return function(w,a){this.target=w,this.grips=a}}(),I=function(){return function(w){this.target=w}}(),S=function(){return function(){this.rowColumns=[]}}(),N=function(){function w(){}return w.getColumnsWidth=function(a,f){var r={},c=w.allAutoWidth(a);return a.rowColumns.forEach(function(b){var j=f-0,d=b.width/c*(j>0?j:0);r[b.id]=d}),r},w.resizeTableCellWeight=function(a){a.forEach(function(f){f.columns.forEach(function(r){r.hasWidth&&$__default.default(r.getTarget()).css("width",r.width+"pt")})})},w.allAutoWidth=function(a){var f=0;return a.rowColumns.forEach(function(r){f+=r.width}),f},w.reconsitutionTableColumnTree=function(a,f,r){for(var c=f||new S,b=function(g){c.totalLayer=g+1,c[g]=a[g].columns,c.rowColumns=c.rowColumns.concat(c[g].filter(function(E){return E.rowspan==a.length-g}))},j=0;j<a.length;j++)b(j);return c},w}(),D=l(2),Z=function(){function w(a){this.signature="HiTresizer",this.hitable=a,this.rows=a.rows,this.target=a.target}return w.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},w.prototype.resizeTableCellWidth=function(){N.resizeTableCellWeight(this.rows)},w.prototype.addResizeRowAndColumn=function(){},w.prototype.createColumnGrips=function(){var a=this,f=this,r=[],c=$__default.default('<div class="columngrips"/>');c.width(this.target.width()),this.rows.forEach(function(b){(b.columns||[]).filter(function(j){return j.checked}).forEach(function(j,d){if(j.getTarget().attr("haswidth")){var g=$__default.default('<div class="columngrip"><div class="gripResizer"></div></div>');c.append(g);var E=new I(g);r.length>0&&(r[r.length-1].nextGrip=E),r.push(E),a.syncGrips(j,E),$__default.default(g).hidraggable({axis:"h",onDrag:function(G,V,K){},moveUnit:"pt",minMove:1,getScale:function(){return $__default.default(".hiprint-printPaper")[0].style.transform&&parseFloat($__default.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(G){if(D.a.instance.draging=!0,!E.nextGrip)return!1;f.dragingGrip=E,f.dragingGrip.left=parseFloat(f.dragingGrip.target.css("left").replace("px","")),E.target.addClass("columngripDraging")},onStopDrag:function(G){D.a.instance.draging=!1;var V=parseFloat(f.dragingGrip.target.css("left").replace("px","")),K=v.a.px.toPt(V-f.dragingGrip.left);E.cell.width+K<10?K=10-E.cell.width:E.nextGrip.cell.width-K<10&&(K=E.nextGrip.cell.width-10),E.cell.width=E.cell.width+K,E.nextGrip.cell.width=E.nextGrip.cell.width-K,a.resizeTableCellWidth(),E.target.removeClass("columngripDraging"),f.updateColumnGrips()}})}})}),this.target.before(c),this.cgripContariner=new y(c,r)},w.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},w.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},w.prototype.createRowGrips=function(){var a=this,f=this,r=[],c=$__default.default('<div class="rowgrips"/>');this.rows.forEach(function(b,j){var d=$__default.default('<div class="rowgrip"><div class="gripResizer"></div></div>');c.append(d);var g=new I(d);r.push(g),j>0&&j<a.rows.length&&$__default.default(d).hidraggable({axis:"v",onDrag:function(W,G,V){},moveUnit:"pt",minMove:1,onBeforeDrag:function(W){f.dragingGrip=g,f.dragingGrip.top=parseFloat(f.dragingGrip.target.css("top").replace("px","")),g.target.addClass("rowgripDraging")},onStopDrag:function(W){var G=parseFloat(f.dragingGrip.target.css("top").replace("px","")),V=v.a.px.toPt(G-f.dragingGrip.top+f.rows[j].columns[0].getTarget().height());f.rows[j].columns[0].getTarget().css("height",V+"pt"),f.syncRowGrips(),g.target.removeClass("rowgripDraging")}})}),this.target.before(c),this.rgripContariner=new y(c,r),this.syncRowGrips()},w.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})},w.prototype.syncRowGrips=function(){var a=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(f,r){var c=f.columns[0].getTarget();a.rgripContariner.grips[r].target.css({top:c.offset().top-a.target.offset().top+c.outerHeight(!1),width:30})})},w.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},w}(),H=function(){function w(){}return w.prototype.init=function(){},w.prototype.updateRowGrips=function(){},w.prototype.updateColumnGrips=function(){},w}();l.d(z,"a",function(){return T});var T=function(){function w(a){this.id=A.a.createId(),this.optionsCoat=new x(a),this.handle=a.handle,this.target=a.table,this.initRows(a.rows),this.init(a),this.tableCellSelector=new m.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new Z(this):new H,this.resizer.init()}return w.prototype.insertRow=function(a,f,r){var c=f||this.tableCellSelector.getSingleSelect(),b=c.cell,j=this.rows[c.rowIndex],d=c.rowIndex,g=this.getCellGrid(),E=new B.a;if(E.init(this.optionsCoat,void 0,j.isHead),r&&E.getTarget().addClass(r),a=="above")g[d].forEach(function(G){var V=G.link?G.link:G.cell,K=V.width/V.colspan;if(G.columnLevel==0){var Y=E.createTableCell();Y.width=K,E.insertCellToLast(Y)}else{if(G.linkType=="column"){var q=G.link.getTarget();G.link.rowspan+=1,q.attr("rowspan",G.link.rowspan)}G.linkType}}),this.rows.splice(d,0,E),j.getTarget().before(E.getTarget()),v.a.event.trigger("newRow"+this.id,E);else{var W=d+b.rowspan-1;g[W].forEach(function(G){var V=G.link?G.link:G.cell,K=V.width/V.colspan;if(G.bottom){var Y=E.createTableCell();Y.width=K,E.insertCellToLast(Y)}else{if(G.cell){var q=G.cell.getTarget();G.cell.rowspan+=1,q.attr("rowspan",G.cell.rowspan)}G.linkType=="column"&&(q=G.link.getTarget(),G.link.rowspan+=1,q.attr("rowspan",G.link.rowspan))}}),this.rows.splice(W+1,0,E),this.rows[W].getTarget().after(E.getTarget()),v.a.event.trigger("newRow"+this.id,E)}},w.prototype.insertColumn=function(a,f,r,c){var b=this,j=this.rows.concat(this.trRows),d=f||this.tableCellSelector.getSingleSelect(),g=d.cell,E=d.rowIndex,W=this.getCellGrid(j),G=W[E].filter(function(Y){return Y.cell&&Y.cell.id==g.id||Y.link&&Y.link.id==g.id});if(a=="left"){var V=G[0].indexInTableGridRow;W.forEach(function(Y,q){var et=Y[V],R=Y.filter(function(It,vt){return vt>=V&&It.cell});if(et.rowLevel==0){var nt=j[q],st=j[q].createTableCell();r&&st.getTarget().addClass(r),c!=null&&(st.width=c),R.length?nt.insertToTargetCellLeft(R[0].cell,st):nt.insertCellToLast(st),v.a.event.trigger("newCell"+b.id,st)}else if(et.linkType=="row"){var ut=et.link.getTarget();et.link.colspan+=1,ut.attr("colspan",et.link.colspan)}})}else{var K=G[G.length-1].indexInTableGridRow;W.forEach(function(Y,q){var et=Y[K],R=Y.filter(function(vt,yt){return yt<=K&&vt.cell});if(et.rightMost){var nt=j[q],st=nt.createTableCell();r&&st.getTarget().addClass(r),c!=null&&(st.width=c),R.length?nt.insertToTargetCellRight(R[R.length-1].cell,st):nt.insertCellToFirst(st),v.a.event.trigger("newCell"+b.id,st)}else{var ut=et.link||et.cell;if(et.linkType=="row"){var It=ut.getTarget();ut.colspan+=1,It.attr("colspan",ut.colspan)}et.cell&&(It=ut.getTarget(),ut.colspan+=1,It.attr("colspan",ut.colspan))}})}},w.prototype.deleteRow=function(){var a=this,f=this.tableCellSelector.getSingleSelect(),r=(f.cell,this.rows[f.rowIndex],f.rowIndex),c=this.getCellGrid(),b=this.rows[r];c[r].forEach(function(j,d){if(j.cell)if(j.cell.rowspan==1)b.removeCell(j.cell);else{b.removeCell(j.cell);var g=c[r+1].filter(function(V,K){return V.cell&&K>d}),E=a.rows[r+1],W=E.createTableCell(j.cell.rowspan-1,j.cell.colspan);g.length?E.insertToTargetCellLeft(g[0].cell,W):E.insertCellToLast(W)}else if(j.linkType=="column"){var G=j.link;G.rowspan-=1,G.getTarget().attr("rowspan",G.rowspan)}}),b.getTarget().remove(),this.rows.splice(r,1)},w.prototype.deleteColums=function(){var a=this.rows.concat(this.trRows),f=this.tableCellSelector.getSingleSelect(),r=f.cell,c=f.rowIndex,b=this.getCellGrid(a),j=b[c].filter(function(d){return d.cell&&d.cell.id==r.id||d.link&&d.link.id==r.id})[0].indexInTableGridRow;b.forEach(function(d,g){var E=d[j];E.cell?E.cell.colspan==1?a[g].removeCell(E.cell):(E.cell.colspan-=1,E.cell.getTarget().attr("colspan",E.cell.colspan)):E.linkType=="row"&&(E.link.colspan-=1,E.link.getTarget().attr("colspan",E.link.colspan))})},w.prototype.mergeCell=function(){var a=this,f=this.tableCellSelector.getSelectedCells();if(f.length!=0){var r=f[0][0].cell;f.forEach(function(c,b){c.forEach(function(j,d){b==0?d!=0&&(r.colspan+=j.cell.colspan,a.rows[j.rowIndex].removeCell(j.cell)):a.rows[j.rowIndex].removeCell(j.cell),d==0&&f[0][0].rowIndex+r.rowspan-1<j.rowIndex&&(r.rowspan+=j.cell.rowspan)})}),r.getTarget().attr("colspan",r.colspan),r.getTarget().attr("rowspan",r.rowspan),this.tableCellSelector.setSingleSelect(f[0][0])}},w.prototype.splitCell=function(){var a=this.tableCellSelector.getSingleSelect(),f=this.getCellGrid(),r=h.getIndex(f[a.rowIndex],a.cell.id);if(a){for(var c=a.rowIndex;c<a.rowIndex+a.cell.rowspan;c++)for(var b=this.rows[c],j=c==a.rowIndex?a.cell:h.getLeftTableCell(f[c],r),d=0;d<a.cell.colspan;d++)c==a.rowIndex&&d==0||(j?b.insertToTargetCellRight(j,b.createTableCell()):b.insertCellToFirst(b.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)}},w.prototype.init=function(a){var f=this;$__default.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)},$__default.default(this.target).mousedown(function(r){f.optionsCoat.isLeftMouseButtonDown=!0}),$__default.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)})},w.prototype.initRows=function(a){var f=this;if(this.trRows=[],a){this.rows=a,a.forEach(function(c,b){c.init(f.optionsCoat,f.target.find("tr:eq("+b+")"),!0)});var r=this.optionsCoat.options.trs;r&&this.initRowsByTrs(r).forEach(function(c){f.trRows.push(c)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},w.prototype.initRowsByTrs=function(a){var f=this;return a.map(function(r,c){var b=new B.a;return b.init(f.optionsCoat,$__default.default(c)),b}).get()},w.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},w.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},w.prototype.getCellGrid=function(a){var f=a||this.rows,r=this.getColumnStep(),c=[];return f.forEach(function(b,j){b.columns.forEach(function(d,g){for(var E=0;E<d.colspan;E++)for(var W=0,G=!1;W<r&&!G;){if(c[j]=c[j]||[],!c[j][W]){c[j][W]=new p({cell:E==0?d:void 0,link:E!=0?d:void 0,linkType:E>0?"row":void 0,rightMost:E==d.colspan-1||void 0,bottom:d.rowspan-1==0,rowLevel:E,columnLevel:0,indexInTableGridRow:W,indexInTableGridColumn:j});for(var V=j+1,K=1;K<d.rowspan;K++)c[V]=c[V]||[],c[V][W]=new p({cell:void 0,link:d,linkType:E>0?"rowColumn":"column",rightMost:E==d.colspan-1||void 0,bottom:K==d.rowspan-1,rowLevel:E,columnLevel:K,indexInTableGridRow:W,indexInTableGridColumn:V}),V+=1;G=!0}W++}})}),c},w.prototype.setAlign=function(a){var f=this.tableCellSelector.getSingleSelect();f&&f.cell.setAlign(a)},w.prototype.setVAlign=function(a){var f=this.tableCellSelector.getSingleSelect();f&&f.cell.setVAlign(a)},w.prototype.getColumnStep=function(a){var f=0;return this.rows.length&&this.rows[a||0].columns.forEach(function(r){f+=r.colspan}),f},w.prototype.initContext=function(){var a=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;$__default.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!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})})},w.prototype.getTableWidth=function(){return v.a.px.toPt(this.target.outerWidth(!1))},w.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},w.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},w}()},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){return function(x,v,p){this.tid=x,this.options=v,this.printElementType=p}}()},function(J,z,l){var U=l(3),x=l(12),v=function(){return function(A){this.width=A.width,this.title=A.title,this.field=A.field,this.checked=A.checked,this.columnId=A.columnId,this.fixed=!1,this.rowspan=A.rowspan||1,this.colspan=A.colspan||1,this.align=A.align,this.halign=A.halign,this.vAlign=A.vAlign,this.renderFormatter=A.renderFormatter,this.formatter2=A.formatter2,this.styler2=A.styler2,this.stylerHeader=A.stylerHeader,this.tableColumnHeight=A.tableColumnHeight,this.tableTextType=A.tableTextType,this.tableBarcodeMode=A.tableBarcodeMode,this.tableQRCodeLevel=A.tableQRCodeLevel,this.tableSummaryTitle=A.tableSummaryTitle,this.tableSummaryText=A.tableSummaryText,this.tableSummaryColspan=A.tableSummaryColspan,this.tableSummary=A.tableSummary,this.tableSummaryAlign=A.tableSummaryAlign,this.tableSummaryNumFormat=A.tableSummaryNumFormat,this.tableSummaryFormatter=A.tableSummaryFormatter,this.upperCase=A.upperCase}}(),p=l(5);l.d(z,"a",function(){return B});var m,h=(m=function(y,I){return(m=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(S,N){S.__proto__=N}||function(S,N){for(var D in N)N.hasOwnProperty(D)&&(S[D]=N[D])})(y,I)},function(A,y){function I(){this.constructor=A}m(A,y),A.prototype=y===null?Object.create(y):(I.prototype=y.prototype,new I)}),B=function(A){function y(I,S){var N=this;return I=I||{},(N=A.call(this,I)||this).lHeight=I.lHeight,N.autoCompletion=I.autoCompletion,N.tableFooterRepeat=I.tableFooterRepeat,S&&(N.columns=[],S.editable&&I.columns&&I.columns.length?I.columns.forEach(function(D){var Z=[];D.forEach(function(H){var T=new v(H),w=S.getColumnByColumnId(T.columnId),a=w?$__default.default.extend(w,T):new p.a(T);Z.push(a)}),N.columns.push(new x.a(Z))}):S.columns.forEach(function(D){N.columns.push(new x.a(D))})),N}return h(y,A),y.prototype.getColumnByColumnId=function(I){return this.makeColumnObj()[I]},y.prototype.makeColumnObj=function(){var I={};return this.columns&&this.columns.forEach(function(S){S.columns.forEach(function(N){(N.id||N.columnId)&&(I[N.id||N.columnId]=N)})}),I},y.prototype.getGridColumns=function(){return this.gridColumns||1},y.prototype.getPrintElementOptionEntity=function(){var I=A.prototype.getPrintElementOptionEntity.call(this);return I.fields=this.fields,this.columns&&(I.columns=[],this.columns.forEach(function(S){var N=S.getPrintElementOptionEntity().map(function(D){return new v(D)});I.columns.push(N)})),I},y}(U.a)},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){return function(){this.rowColumns=[]}}()},function(J,z,l){l.d(z,"a",function(){return U});var U=function(){function x(v,p){this.gridColumns=v,this.target=p}return x.prototype.getByIndex=function(v){return this.target.find(".hi-grid-col:eq("+v+")")},x}()},function(J,z,l){J.exports=l(33)},function(J,z){(function(l){function U(I){var S=l.data(I.data.target,"hidraggable"),N=S.options,D=S.proxy,Z=I.data,H=Z.startLeft+(I.pageX-Z.startX)/(S.options.getScale()||1),T=Z.startTop+(I.pageY-Z.startY)/(S.options.getScale()||1);D&&(D.parent()[0]==document.body?(H=N.deltaX!=null&&N.deltaX!=null?I.pageX+N.deltaX:I.pageX-I.data.offsetWidth,T=N.deltaY!=null&&N.deltaY!=null?I.pageY+N.deltaY:I.pageY-I.data.offsetHeight):(N.deltaX!=null&&N.deltaX!=null&&(H+=I.data.offsetWidth+N.deltaX),N.deltaY!=null&&N.deltaY!=null&&(T+=I.data.offsetHeight+N.deltaY))),I.data.parent!=document.body&&(H+=l(I.data.parent).scrollLeft(),T+=l(I.data.parent).scrollTop()),N.axis=="h"?Z.left=H:N.axis=="v"||I.shiftKey&&I.altKey?Z.top=T:I.shiftKey?Z.left=H:(Z.left=H,Z.top=T)}function x(I){var S=l.data(I.data.target,"hidraggable"),N=S.options,D=S.proxy;D||(D=l(I.data.target)),D.css({left:l.fn.dragLengthC(I.data.left,N),top:l.fn.dragLengthC(I.data.top,N)}),l("body").css("cursor",N.cursor)}function v(I){l.fn.hidraggable.isDragging=!0;var S=l.data(I.data.target,"hidraggable"),N=S.options,D=l(".hidroppable").filter(function(){return I.data.target!=this}).filter(function(){var H=l.data(this,"hidroppable")&&l.data(this,"hidroppable").options.accept;return!H||l(H).filter(function(){return this==I.data.target}).length>0});S.hidroppables=D;var Z=S.proxy;return Z||(N.proxy?(Z=N.proxy=="clone"?l(I.data.target).clone().insertAfter(I.data.target):N.proxy.call(I.data.target,I.data.target),S.proxy=Z):Z=l(I.data.target)),Z.css("position","absolute"),U(I),x(I),N.onStartDrag.call(I.data.target,I),!1}function p(I,S,N,D,Z,H){Math.abs(I[N]-S[D])<=HIPRINT_CONFIG.adsorbLineMin?I.v.length?I.v.css("left",I[N]+"pt"):(I.v=$__default.default("<div class='verLine id-"+I.id+"'></div>"),I.v.css("height",Z+"pt"),I.v.css("left",I[N]+"pt"),H.append(I.v)):I.v&&I.v.remove()}function m(I){I&&I.v&&I.v.remove(),$__default.default(".verLine").remove()}function h(I,S,N,D,Z,H){Math.abs(I[N]-S[D])<=HIPRINT_CONFIG.adsorbLineMin?I.h.length?I.h.css("top",I[N]+"pt"):(I.h=$__default.default("<div class='horLine id-"+I.id+"'></div>"),I.h.css("width",Z+"pt"),I.h.css("top",I[N]+"pt"),H.append(I.h)):I.h&&I.h.remove()}function B(I){I&&I.h&&I.h.remove(),$__default.default(".horLine").remove()}function A(I){var S=l.data(I.data.target,"hidraggable");if(U(I),!(I.ctrlKey||I.metaKey)&&(I.data.target.className.startsWith("resize-panel")||I.data.target.style.zIndex=="2"||I.data.target.className.startsWith("hiprint-printElement"))){var N=I.data;if(l(".mouseRect").length==0&&S.options.designTarget&&S.options.designTarget.panel.printElements.filter(function(b){return b.designTarget.children().last().css("display")=="block"&&!b.printElementType.type.includes("table")}).length<=1){let b=window.hinnn.px.toPt(N.left),j=window.hinnn.px.toPt(N.top),d=S.options.designTarget.options;d.left=b,d.top=j,d.right=b+d.width,d.bottom=j+d.height,d.vCenter=b+d.width/2,d.hCenter=j+d.height/2,(()=>{let g=S.options.designTarget.panel.printElements.filter(et=>et.id!=S.options.designTarget.id).map(et=>{let{left:R,top:nt,width:st,height:ut}=et.options,It=R+st,vt=R+st/2,yt=nt+ut/2,gt=d.left+d.width/2,Mt=d.top+d.height/2,ft=d.left+d.width,ht,jt,St,Tt;return jt=Math.sqrt(Math.pow(R-d.left,2)+Math.pow(yt-Mt,2)),St=Math.sqrt(Math.pow(vt-gt,2)+Math.pow(yt-Mt,2)),Tt=Math.sqrt(Math.pow(It-ft,2)+Math.pow(yt-Mt,2)),ht=Math.min(jt,St,Tt),{...et.options,distance:ht,h:$__default.default(".horLine.id-"+et.id),v:$__default.default(".verLine.id-"+et.id),bottom:nt+ut,right:R+st,vCenter:vt,hCenter:yt}}).sort((et,R)=>et.distance-R.distance).slice(0,1),E=S.options.designTarget.designPaper,W=E.target.find(".hiprint-printPaper-content"),G=E.width,V=E.height,K=HIPRINT_CONFIG.showAdsorbLine,Y=HIPRINT_CONFIG.adsorbMin,q=HIPRINT_CONFIG.adsorbLineMin;g.forEach((et,R)=>{Math.abs(g[R].left-d.left)<=Y?(d.left=g[R].left,m(g[R])):Math.abs(g[R].vCenter-d.left)<=Y?(d.left=g[R].vCenter,m(g[R])):Math.abs(g[R].right-d.left)<=Y&&(d.left=g[R].right,m(g[R])),Math.abs(g[R].left-d.vCenter)<=Y?(d.left=g[R].left-d.width/2,m(g[R])):Math.abs(g[R].vCenter-d.vCenter)<=Y?(d.left=g[R].vCenter-d.width/2,m(g[R])):Math.abs(g[R].right-d.vCenter)<=Y&&(d.left=g[R].right-d.width/2,m(g[R])),Math.abs(g[R].left-d.right)<=Y?(d.left=g[R].left-d.width,m(g[R])):Math.abs(g[R].vCenter-d.right)<=Y?(d.left=g[R].vCenter-d.width,m(g[R])):Math.abs(g[R].right-d.right)<=Y&&(d.left=g[R].right-d.width,m(g[R])),Math.abs(g[R].top-d.top)<=Y?(d.top=g[R].top,B(g[R])):Math.abs(g[R].hCenter-d.top)<=Y?(d.top=g[R].hCenter,B(g[R])):Math.abs(g[R].bottom-d.top)<=Y&&(d.top=g[R].bottom,B(g[R])),Math.abs(g[R].top-d.hCenter)<=Y?(d.top=g[R].top-d.height/2,B(g[R])):Math.abs(g[R].hCenter-d.hCenter)<=Y?(d.top=g[R].hCenter-d.height/2,B(g[R])):Math.abs(g[R].bottom-d.hCenter)<=Y&&(d.top=g[R].bottom-d.height/2,B(g[R])),Math.abs(g[R].top-d.bottom)<=Y?(d.top=g[R].top-d.height,B(g[R])):Math.abs(g[R].hCenter-d.bottom)<=Y?(d.top=g[R].hCenter-d.height,B(g[R])):Math.abs(g[R].bottom-d.bottom)<=Y&&(d.top=g[R].bottom-d.height,B(g[R])),K&&(Math.abs(g[R].left-d.left)>Y&&Math.abs(g[R].left-d.left)<=q?p(g[R],d,"left","left",V,W):Math.abs(g[R].vCenter-d.left)>Y&&Math.abs(g[R].vCenter-d.left)<=q?p(g[R],d,"vCenter","left",V,W):Math.abs(g[R].right-d.left)>Y&&Math.abs(g[R].right-d.left)<=q?p(g[R],d,"right","left",V,W):Math.abs(g[R].left-d.vCenter)>Y&&Math.abs(g[R].left-d.vCenter)<=q?p(g[R],d,"left","vCenter",V,W):Math.abs(g[R].vCenter-d.vCenter)>Y&&Math.abs(g[R].vCenter-d.vCenter)<=q?p(g[R],d,"vCenter","vCenter",V,W):Math.abs(g[R].right-d.vCenter)>Y&&Math.abs(g[R].right-d.vCenter)<=q?p(g[R],d,"right","vCenter",V,W):Math.abs(g[R].left-d.right)>Y&&Math.abs(g[R].left-d.right)<=q?p(g[R],d,"left","right",V,W):Math.abs(g[R].vCenter-d.right)>Y&&Math.abs(g[R].vCenter-d.right)<=q?p(g[R],d,"vCenter","right",V,W):Math.abs(g[R].right-d.right)>Y&&Math.abs(g[R].right-d.right)<=q?p(g[R],d,"right","right",V,W):Math.abs(g[R].top-d.top)>Y&&Math.abs(g[R].top-d.top)<=q?h(g[R],d,"top","top",G,W):Math.abs(g[R].hCenter-d.top)>Y&&Math.abs(g[R].hCenter-d.top)<=q?h(g[R],d,"hCenter","top",G,W):Math.abs(g[R].bottom-d.top)>Y&&Math.abs(g[R].bottom-d.top)<=q?h(g[R],d,"bottom","top",G,W):Math.abs(g[R].top-d.hCenter)>Y&&Math.abs(g[R].top-d.hCenter)<=q?h(g[R],d,"top","hCenter",G,W):Math.abs(g[R].hCenter-d.hCenter)>Y&&Math.abs(g[R].hCenter-d.hCenter)<=q?h(g[R],d,"hCenter","hCenter",G,W):Math.abs(g[R].bottom-d.hCenter)>Y&&Math.abs(g[R].bottom-d.hCenter)<=q?h(g[R],d,"bottom","hCenter",G,W):Math.abs(g[R].top-d.bottom)>Y&&Math.abs(g[R].top-d.bottom)<=q?h(g[R],d,"top","bottom",G,W):Math.abs(g[R].hCenter-d.bottom)>Y&&Math.abs(g[R].hCenter-d.bottom)<=q?h(g[R],d,"hCenter","bottom",G,W):Math.abs(g[R].bottom-d.bottom)>Y&&Math.abs(g[R].bottom-d.bottom)<=q?h(g[R],d,"bottom","bottom",G,W):(m(g[R]),B(g[R])))})})(),I.data.left=window.hinnn.pt.toPx(d.left),I.data.top=window.hinnn.pt.toPx(d.top)}var D=N.parent.className.endsWith("design")?N.parent:N.parent.offsetParent,Z=D.clientWidth,H=D.clientHeight,T=N.target.clientWidth,w=N.target.clientHeight,a=0,f=0;if(S.options.designTarget&&S.options.designTarget.options.transform){var r=S.options.designTarget.options.getRectInfo();a=window.hinnn.pt.toPx(r.diffW),f=window.hinnn.pt.toPx(r.diffH)}N.left<0-a?N.left=0-a:N.left>=Z-T+a&&(N.left=Z-T+a),N.top<0-f?N.top=0-f:N.top>=H-w+f&&(N.top=H-w+f),I.data=N}S.options.onDrag.call(I.data.target,I,l.fn.dragLengthCNum(I.data.left,S.options),l.fn.dragLengthCNum(I.data.top,S.options))!=0&&x(I);var c=I.data.target;return S.hidroppables.each(function(){var b=l(this);if(!b.hidroppable("options").disabled){var j=b.offset();I.pageX>j.left&&I.pageX<j.left+b.outerWidth()&&I.pageY>j.top&&I.pageY<j.top+b.outerHeight()?(this.entered||(l(this).trigger("_dragenter",[c]),this.entered=!0),l(this).trigger("_dragover",[c])):this.entered&&(l(this).trigger("_dragleave",[c]),this.entered=!1)}}),!1}function y(I){l.fn.hidraggable.isDragging=!1,m(),B();var S,N,D=l.data(I.data.target,"hidraggable"),Z=D.proxy,H=D.options;H.revert?w()==1?l(I.data.target).css({position:I.data.startPosition,left:I.data.startLeft,top:I.data.startTop}):Z?(Z.parent()[0]==document.body?(S=I.data.startX-I.data.offsetWidth,N=I.data.startY-I.data.offsetHeight):(S=I.data.startLeft,N=I.data.startTop),Z.animate({left:S,top:N},function(){T()})):l(I.data.target).animate({left:I.data.startLeft,top:I.data.startTop},function(){l(I.data.target).css("position",I.data.startPosition)}):(l(I.data.target).css({position:"absolute",left:l.fn.dragLengthC(I.data.left,H),top:l.fn.dragLengthC(I.data.top,H)}),w());function T(){Z&&Z.remove(),D.proxy=null}function w(){var a=!1;return D.hidroppables.each(function(){var f=l(this);if(!f.hidroppable("options").disabled){var r=f.offset();return I.pageX>r.left&&I.pageX<r.left+f.outerWidth()&&I.pageY>r.top&&I.pageY<r.top+f.outerHeight()?(H.revert&&l(I.data.target).css({position:I.data.startPosition,left:I.data.startLeft,top:I.data.startTop}),l(this).trigger("_drop",[I.data.target]),T(),a=!0,this.entered=!1,!1):void 0}}),a||H.revert||T(),a}return H.onStopDrag.call(I.data.target,I),l(document).unbind(".hidraggable"),setTimeout(function(){l("body").css("cursor","")},100),!1}l.fn.hidraggable=function(I,S){return typeof I=="string"?l.fn.hidraggable.methods[I](this,S):this.each(function(){var N,D=l.data(this,"hidraggable");D?(D.handle.unbind(".hidraggable"),N=l.extend(D.options,I)):N=l.extend({},l.fn.hidraggable.defaults,l.fn.hidraggable.parseOptions(this),I||{});var Z=N.handle?typeof N.handle=="string"?l(N.handle,this):N.handle:l(this);function H(T){var w=l.data(T.data.target,"hidraggable"),a=w.handle,f=l(a).offset(),r=l(a)[0].style.transform&&parseInt(l(a)[0].style.transform.slice(7,-1)),c=w.options.getScale(),b=l(a).outerWidth(),j=l(a).outerHeight();if(r){var d=r*Math.PI/180,g=l(a).outerWidth(),E=l(a).outerHeight(),W=Math.sin(d),G=Math.cos(d);b=Math.abs(g*G)+Math.abs(E*W),j=Math.abs(g*W)+Math.abs(E*G)}c&&(b*=c,j*=c);var V=T.pageY-f.top,K=f.left+b-T.pageX,Y=f.top+j-T.pageY,q=T.pageX-f.left;return Math.min(V,K,Y,q)>w.options.edge}l.data(this,"hidraggable",{options:N,handle:Z}),N.disabled?l(this).css("cursor",""):Z.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(T){if(!l.fn.hidraggable.isDragging){var w=l.data(T.data.target,"hidraggable").options;H(T)?l(this).css("cursor",w.cursor):l(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(T){l(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(T){if(H(T)!=0){l(this).css("cursor","");var w=l(T.data.target).position(),a=l(T.data.target).offset(),f={startPosition:l(T.data.target).css("position"),startLeft:w.left,startTop:w.top,left:w.left,top:w.top,startX:T.pageX,startY:T.pageY,offsetWidth:T.pageX-a.left,offsetHeight:T.pageY-a.top,target:T.data.target,parent:l(T.data.target).parent()[0]},r=l.data(T.data.target,"hidraggable");if(r.options.draggable===!1||T.target.className=="r resizebtn")return;var c=r.options.getScale();c&&(f.left/=c,f.top/=c,f.startLeft/=c,f.startTop/=c);var b=f.target.style.transform&&parseInt(f.target.style.transform.slice(7,-1));if(b){var j=b*Math.PI/180,d=l(T.data.target).outerWidth(),g=l(T.data.target).outerHeight(),E=Math.sin(j),W=Math.cos(j),G=Math.abs(d*W)+Math.abs(g*E),V=Math.abs(d*E)+Math.abs(g*W),K=(G-d)/2,Y=(V-g)/2;f.left+=K,f.top+=Y,f.startLeft+=K,f.startTop+=Y}l.extend(T.data,f),l.data(T.data.target,"hidraggable").options.onBeforeDrag.call(T.data.target,T)!=0&&(l(document).bind("mousedown.hidraggable",T.data,v),l(document).bind("mousemove.hidraggable",T.data,A),l(document).bind("mouseup.hidraggable",T.data,y))}})})},l.fn.hidraggable.methods={options:function(S){return l.data(S[0],"hidraggable").options},update:function(S,N){N&&typeof N=="object"&&l.data(S[0],"hidraggable")&&Object.keys(N).forEach(function(D){l.data(S[0],"hidraggable").options[D]=N[D]})},proxy:function(S){return l.data(S[0],"hidraggable").proxy},enable:function(S){return S.each(function(){l(this).hidraggable({disabled:!1})})},disable:function(S){return S.each(function(){l(this).hidraggable({disabled:!0})})}},l.fn.hidraggable.parseOptions=function(I){var S=l(I);return l.extend({},l.hiprintparser.parseOptions(I,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!S.attr("disabled")||void 0})},l.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(S){},onBeforeDrag:function(S){},onStartDrag:function(S){},onDrag:function(S){},onStopDrag:function(S){}},l.fn.hidraggable.isDragging=!1})(jQuery)},function(J,z){(function(l){l.fn.hidroppable=function(U,x){return typeof U=="string"?l.fn.hidroppable.methods[U](this,x):(U=U||{},this.each(function(){var v,p=l.data(this,"hidroppable");p?l.extend(p.options,U):(l(v=this).addClass("hidroppable"),l(v).bind("_dragenter",function(m,h){l.data(v,"hidroppable").options.onDragEnter.apply(v,[m,h])}),l(v).bind("_dragleave",function(m,h){l.data(v,"hidroppable").options.onDragLeave.apply(v,[m,h])}),l(v).bind("_dragover",function(m,h){l.data(v,"hidroppable").options.onDragOver.apply(v,[m,h])}),l(v).bind("_drop",function(m,h){l.data(v,"hidroppable").options.onDrop.apply(v,[m,h])}),l.data(this,"hidroppable",{options:l.extend({},l.fn.hidroppable.defaults,l.fn.hidroppable.parseOptions(this),U)}))}))},l.fn.hidroppable.methods={options:function(x){return l.data(x[0],"hidroppable")&&l.data(x[0],"hidroppable").options||{}},enable:function(x){return x.each(function(){l(this).hidroppable({disabled:!1})})},disable:function(x){return x.each(function(){l(this).hidroppable({disabled:!0})})}},l.fn.hidroppable.parseOptions=function(U){var x=l(U);return l.extend({},l.hiprintparser.parseOptions(U,["accept"]),{disabled:!!x.attr("disabled")||void 0})},l.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(x,v){},onDragOver:function(x,v){},onDragLeave:function(x,v){},onDrop:function(x,v){}}})(jQuery)},function(J,z){var l;(l=jQuery).hiprintparser={parseOptions:function(x,v){var p=l(x),m={},h=l.trim(p.attr("data-options"));if(h&&(h.substring(0,1)!="{"&&(h="{"+h+"}"),m=new Function("return "+h)()),v){for(var B={},A=0;A<v.length;A++){var y=v[A];if(typeof y=="string")B[y]=y=="width"||y=="height"||y=="left"||y=="top"?parseInt(x.style[y])||void 0:p.attr(y);else for(var I in y){var S=y[I];S=="boolean"?B[I]=p.attr(I)?p.attr(I)=="true":void 0:S=="number"&&(B[I]=p.attr(I)=="0"?0:parseFloat(p.attr(I))||void 0)}}l.extend(m,B)}return m}},l.fn.dragLengthC=function(U,x){return x.moveUnit=="pt"?l.fn.dragLengthCNum(U,x)+"pt":l.fn.dragLengthCNum(U,x)},l.fn.dragLengthCNum=function(U,x){var v=3;if(x.moveUnit=="pt"){var p=.75*U;return x.minMove&&(v=x.minMove),Math.round(p/v)*v}return Math.round(p/v)*v}},function(J,z){var l,U,x;l=jQuery,U={maxPanelIndex:0},(x=function(p){this.options=l.data(p.target,"hireizeable").options,this.init(p.target)}).prototype={numHandlerText:function(p){return this.numHandler(p)+"pt"},numHandler:function(p){var m=1.5,h=.75*p;return this.options.minResize&&(m=this.options.minResize),Math.round(h/m)*m},init:function(p){var m=this;if(p.className.includes("hiprint-printElement")){this.initResizeBox(p);var h=new ResizeObserver((B,A)=>{m.refreshSizeBox(l(p))});h.observe(p)}},initResizeBox:function(p){var m=this;l(p).each(function(){var h;U.maxPanelIndex+=1,m.options.noContainer?h=l(p):h=l("<div panelIndex="+U.maxPanelIndex+' class="resize-panel"></div>'),m.appendHandler(h,l(this));var B={name:"n",target:l('<div class="resizebtn n"/>')},A={name:"s",target:l('<div class="resizebtn s"/>')},y={name:"w",target:l('<div class="resizebtn w"/>')},I={name:"e",target:l('<div class="resizebtn e"/>')},S={name:"ne",target:l('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},N={name:"nw",target:l('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},D={name:"se",target:l('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},Z={name:"sw",target:l('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},H={name:"r",target:l('<div class="resizebtn r"/>')},T={name:"why",target:l('<div class="resizebtn why"/>')},w=l('<div class="size-box"></div>'),a=l('<div class="del-btn">\u2715</div>'),f=function(){var b=[T.target],j=m.options.showPoints;return l.each([H,B,A,y,I,S,N,D,Z],function(d,g){l.inArray(g.name,j)>-1&&b.push(g.target)}),b};m.refreshSizeBox(void 0,w,h),m.options.draggable!=!1&&(h.append(a),h.on("mousedown",".del-btn",()=>{var c=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});p.dispatchEvent(c)})),m.appendHandler(f(),h),m.bindResizeEvent(h,l(this));var r=l(this);l(h).on("mousedown",".resizebtn",function(){r.addClass("resizeing")}),l(".easyui-droppable").on("mouseup",function(){r.removeClass("resizeing")}),m.bindTrigger(l(this))}),m.bindHidePanel()},addHandlerCss:function(p){for(var m=0;m<p.length;m++)p[m].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(p,m){m.find(".resize-panel").remove();for(var h=0;h<p.length;h++)m.append(p[h])},refreshSizeBox:function(p,m,h){if(!!this.options.showSizeBox){if(m)h.append(m);else if(p&&p.length){var B=p.height(),A=p[0].clientHeight,y=p.width(),I=p[0].clientWidth;B<=40?(l.each([".ne",".nw",".se",".sw"],function(D,Z){var H=A-30;p.find(Z).css("height",H>0?H:0),p.find(Z).css("width",H>0?H:0),H<=0&&(Z.includes("n")&&p.find(Z).css("border-top","none"),Z.includes("s")&&p.find(Z).css("border-bottom","none"),Z.includes("e")&&p.find(Z).css("border-right","none"),Z.includes("w")&&p.find(Z).css("border-left","none"))}),l.each([".e",".w"],function(D,Z){var H=A-30;p.find(Z).css("height",H>0?H:10),p.find(Z).css("top",A/2-(H>0?H:10)/2)})):l.each([".e",".w"],function(D,Z){p.find(Z).css("top",A/2-p.find(Z).height()/2)}),y<=40?(l.each([".ne",".nw",".se",".sw"],function(D,Z){var H=I-30;p.find(Z).css("height",H>0?H:0),p.find(Z).css("width",H>0?H:0),H<=0&&(Z.includes("n")&&p.find(Z).css("border-top","none"),Z.includes("s")&&p.find(Z).css("border-bottom","none"),Z.includes("e")&&p.find(Z).css("border-right","none"),Z.includes("w")&&p.find(Z).css("border-left","none"))}),l.each([".n",".s"],function(D,Z){let H=I-30;p.find(Z).css("width",H>0?H:10),p.find(Z).css("left",I/2-(H>0?H:10)/2)})):l.each([".n",".s",".r"],function(D,Z){Z==".r",p.find(Z).css("left",I/2-p.find(Z).width()/2)}),A>40&&I>40&&(l.each([".ne",".nw",".se",".sw"],function(D,Z){Z.includes("n")&&p.find(Z).css("border-top",""),Z.includes("s")&&p.find(Z).css("border-bottom",""),Z.includes("e")&&p.find(Z).css("border-right",""),Z.includes("w")&&p.find(Z).css("border-left","")}),l.each([".n",".s"],function(D,Z){p.find(Z).css("width","")}))}var S,N;if(p&&p.length)S=p[0].style,N=p.children("div[panelindex]").find(".size-box");else if(h&&h.parent()){var p=h.parent();if(p.hasClass("hiprint-printPaper-content"))return;S=p[0].style,S.width||(S.width=hinnn.px.toPt(p[0].offsetWidth)+"pt"),S.height||(S.height=hinnn.px.toPt(p[0].offsetHeight)+"pt"),N=p.children("div[panelindex]").find(".size-box")}N&&(N.text(S.width+" x "+S.height),N.css("top",-(N.outerHeight()||20)))}},triggerResize:function(p,m){m.ctrlKey||m.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,m){var h=this,B=0,A=0,y=p.width(),I=p.height(),S=p.offset().left,N=p.offset().top,D=h.options.noContainer?l(m):p.parent(),Z=!1;p.on("mousedown",".e",function(d){B=d.pageX,y=p.width(),Z=!0,d.stopPropagation()});var H=!1;p.on("mousedown",".s",function(d){A=d.pageY,I=p.height(),H=!0,d.stopPropagation()});var T=!1;p.on("mousedown",".w",function(d){B=d.pageX,y=p.width(),T=!0,S=D.position().left,d.stopPropagation()});var w=!1;p.on("mousedown",".n",function(d){A=d.pageY,I=p.height(),w=!0,N=D.position().top,d.stopPropagation()});var a=!1;p.on("mousedown",".ne",function(d){B=d.pageX,A=d.pageY,y=p.width(),I=p.height(),a=!0,N=D.position().top,d.stopPropagation()});var f=!1;p.on("mousedown",".nw",function(d){B=d.pageX,A=d.pageY,y=p.width(),I=p.height(),N=D.position().top,S=D.position().left,f=!0,d.stopPropagation()});var r=!1;p.on("mousedown",".se",function(d){B=d.pageX,A=d.pageY,y=p.width(),I=p.height(),r=!0,d.stopPropagation()});var c=!1;p.on("mousedown",".sw",function(d){B=d.pageX,A=d.pageY,y=p.width(),I=p.height(),c=!0,S=D.position().left,d.stopPropagation()});var b=!1;p.on("mousedown",".r",function(d){B=d.pageX,A=d.pageY,y=p.width(),I=p.height(),b=!0,S=y/2+D.position().left,N=I/2+D.position().top,d.stopPropagation()}),p.on("dblclick",".r",function(d){D.css({transform:"rotate("+0+"deg)"}),h.options.onResize(d,void 0,void 0,void 0,void 0,0),d.stopPropagation()});var j=!1;p.on("mousedown",function(d){h.options.onBeforeResize(),B=d.pageX,A=d.pageY,N=D.position().top,S=D.position().left,j=!1}),l(h.options.stage).on("mousemove",function(d){if(Z){var g=(d.pageX-B)/h.options.getScale();p.css({width:"100%"}),D.css({width:h.numHandlerText(y+g)}),h.options.onResize(d,void 0,h.numHandler(y+g),void 0,void 0)}else if(H){var E=(d.pageY-A)/h.options.getScale();p.css({height:"100%"}),D.css({height:h.numHandlerText(I+E)}),h.options.onResize(d,h.numHandler(I+E),void 0,void 0,void 0)}else if(b){p.css({height:"100%"});var W=d.pageX;d.pageY;var G=(W-B)*360/100;B=d.pageX;var V=D[0].style.transform&&parseInt(D[0].style.transform.slice(7,-1))||0,K=V+G;Math.abs(K)>360&&(K=K%360),D.css({transform:"rotate("+K+"deg)"}),h.options.onResize(d,void 0,void 0,void 0,void 0,K)}else if(T)g=(d.pageX-B)/h.options.getScale(),p.css({width:"100%"}),D.css({width:h.numHandlerText(y-g),left:h.numHandlerText(h.options.noDrag?void 0:S+g)}),h.options.onResize(d,void 0,h.numHandler(y-g),void 0,h.options.noDrag?void 0:h.numHandler(S+g));else if(w)E=(d.pageY-A)/h.options.getScale(),p.css({height:"100%"}),D.css({height:h.numHandlerText(I-E),top:h.numHandlerText(h.options.noDrag?void 0:N+E)}),h.options.onResize(d,h.numHandler(I-E),void 0,h.options.noDrag?void 0:h.numHandler(N+E),void 0);else if(a)if(g=(d.pageX-B)/h.options.getScale(),E=(d.pageY-A)/h.options.getScale(),p.css({height:"100%",width:"100%"}),d.shiftKey)D.css({height:h.numHandlerText(I-E),top:h.numHandlerText(h.options.noDrag?void 0:N+E),width:h.numHandlerText(y+g)}),h.options.onResize(d,h.numHandler(I-E),h.numHandler(y+g),h.options.noDrag?void 0:h.numHandler(N+E),void 0);else{var Y=I/y,q=y+g,et=I-E,R=N+E;et=q*Y,R=N+E+I-E-et,D.css({width:h.numHandlerText(q),height:h.numHandlerText(et),top:h.numHandlerText(h.options.noDrag?void 0:R)}),h.options.onResize(d,h.numHandler(et),h.numHandler(q),h.options.noDrag?void 0:h.numHandler(R),void 0)}else if(f)if(g=(d.pageX-B)/h.options.getScale(),E=(d.pageY-A)/h.options.getScale(),p.css({height:"100%",width:"100%"}),d.shiftKey)D.css({height:h.numHandlerText(I-E),top:h.numHandlerText(h.options.noDrag?void 0:N+E),width:h.numHandlerText(y-g),left:h.numHandlerText(h.options.noDrag?void 0:S+g)}),h.options.onResize(d,h.numHandler(I-E),h.numHandler(y-g),h.options.noDrag?void 0:h.numHandler(N+E),h.options.noDrag?void 0:h.numHandler(S+g));else{var Y=I/y,q=y-g,et=I-E,nt=S+g,R=N+E;et=q*Y,nt=S+g,R=N+E+I-E-et,D.css({width:h.numHandlerText(q),height:h.numHandlerText(et),left:h.numHandlerText(h.options.noDrag?void 0:nt),top:h.numHandlerText(h.options.noDrag?void 0:R)}),h.options.onResize(d,h.numHandler(et),h.numHandler(q),h.options.noDrag?void 0:h.numHandler(R),h.options.noDrag?void 0:h.numHandler(nt))}else if(r)if(g=(d.pageX-B)/h.options.getScale(),E=(d.pageY-A)/h.options.getScale(),p.css({width:"100%",height:"100%"}),d.shiftKey)D.css({width:h.numHandlerText(y+g),height:h.numHandlerText(I+E)}),h.options.onResize(d,h.numHandler(I+E),h.numHandler(y+g),void 0,void 0);else{var Y=I/y,q=y+g,et=I+E;et=q*Y,D.css({width:h.numHandlerText(q),height:h.numHandlerText(et)}),h.options.onResize(d,h.numHandler(et),h.numHandler(q),void 0,void 0)}else if(c)if(g=(d.pageX-B)/h.options.getScale(),E=(d.pageY-A)/h.options.getScale(),p.css({width:"100%",height:"100%"}),d.shiftKey)D.css({width:h.numHandlerText(y-g),left:h.numHandlerText(h.options.noDrag?void 0:S+g),height:h.numHandlerText(I+E)}),h.options.onResize(d,h.numHandler(I+E),h.numHandler(y-g),void 0,h.options.noDrag?void 0:h.numHandler(S+g));else{var Y=I/y,q=y-g,et=I+E,nt=S+g;et=q*Y,D.css({width:h.numHandlerText(q),left:h.numHandlerText(h.options.noDrag?void 0:nt),height:h.numHandlerText(et)}),h.options.onResize(d,h.numHandler(et),h.numHandler(q),void 0,h.options.noDrag?void 0:h.numHandler(nt))}else j&&(g=(d.pageX-B)/h.options.getScale(),E=(d.pageY-A)/h.options.getScale(),D.css({left:h.numHandlerText(h.options.noDrag?void 0:S+g),top:h.numHandlerText(h.options.noDrag?void 0:N+E)}),h.options.onResize(d,void 0,void 0,h.options.noDrag?void 0:h.numHandler(N+E),h.options.noDrag?void 0:h.numHandler(S+g)))}).on("mouseup",function(d){(Z||H||T||w||a||f||c||r||j||b)&&h.options.onStopResize(b),Z=!1,H=!1,T=!1,w=!1,a=!1,f=!1,c=!1,r=!1,j=!1,b=!1})},bindTrigger:function(p){var m=this;p.on("click",function(h){h.stopPropagation(),m.triggerResize(p,h),l(".mouseRect").remove()})},bindHidePanel:function(p){if(U.maxPanelIndex<2){var m=this.options.stage;l(m).bind("click",function(h){h.target.className&&_typeof(h.target.className)=="string"&&(h.target.className.includes("design")||h.target.className.includes("hiprint-printPaper-content")||h.target.className.includes("paperBox"))&&(h.stopPropagation(),l("div[panelindex]").css({display:"none"}),l("div[panelindex]").removeClass("selected"))})}}},l.fn.extend({hireizeable:function(p){return this.each(function(){var m,h=l.data(this,"hireizeable");m=h?l.extend({},h.options,p||{}):l.extend({},l.fn.hireizeable.defaults,p||{}),l.data(this,"hireizeable",{options:m}),new x({target:this,onResize:function(A,y,I,S,N){},onStopResize:function(A,y,I,S,N){}})})}}),l.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(p,m,h,B,A){},onResize:function(p,m,h,B,A){},onStopResize:function(p,m,h,B,A){},noDrag:!1}},function(J,z){var l,U;jQuery,l="connected",U="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",token:null,reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(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))}},getClients:function(){try{this.socket.emit("getClients")}catch(v){console.log("getClients error:"+JSON.stringify(v))}},getAddress:function(v,...p){try{this.socket.emit("address",v,...p)}catch(m){console.log("getAddress error:"+JSON.stringify(m))}},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(x,v,p){window.utools?this.host2=host2:this.host=x,typeof v=="function"&&(p=v,v=void 0),this.token=v,this.stop(),this.start(p)},start:function(v){var p=this,m=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{transports:["websocket"],reconnectionAttempts:5,auth:{token:this.token}}),this.socket.on("connect",function(h){m.opened=!0,console.log("Websocket opened."),p.socket.on("successs",function(B){hinnn.event.trigger("printSuccess_"+B.templateId,B)}),p.socket.on("error",function(B){hinnn.event.trigger("printError_"+B.templateId,B)}),p.socket.on("clients",function(B){m.clients=B,hinnn.event.trigger("clients",B)}),p.socket.on("clientInfo",function(B){m.clientInfo=B,hinnn.event.trigger("clientInfo",B)}),p.socket.on("printerList",function(B){m.printerList=B,hinnn.event.trigger("printerList",B)}),p.socket.on("address",function(B,A,y){hinnn.event.trigger("address_"+B,{addr:A,e:y})}),p.socket.on("ippPrinterConnected",function(B){hinnn.event.trigger("ippPrinterConnected",B)}),p.socket.on("ippPrinterCallback",function(B,A){hinnn.event.trigger("ippPrinterCallback",{err:B,res:A})}),p.socket.on("ippRequestCallback",function(B,A){hinnn.event.trigger("ippRequestCallback",{err:B,res:A})}),m.state=l,v&&v(!0,h)}),this.socket.on("connect_error",function(h){console.error(h),hinnn.event.trigger("connect_error",h)}),this.socket.on("disconnect",function(){m.opened=!1,v&&v(!1)})):console.log("WebSocket start fail"),v&&v(!1)},reconnect:function(){this.state!==l&&this.state!==U||(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=U,this.state===U}}},function(J,z,l){var U=l(28);typeof U=="string"&&(U=[[J.i,U,""]]);var x={hmr:!0,transform:void 0,insertInto:void 0};l(30)(U,x),U.locals&&(J.exports=U.locals)},function(J,z,l){(J.exports=l(29)(!1)).push([J.i,"",""])},function(J,z,l){J.exports=function(U){var x=[];return x.toString=function(){return this.map(function(v){var p=function(m,h){var B=m[1]||"",A=m[3];if(!A)return B;if(h&&typeof btoa=="function"){var y=(S=A,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(S))))+" */"),I=A.sources.map(function(N){return"/*# sourceURL="+A.sourceRoot+N+" */"});return[B].concat(I).concat([y]).join(`
|
|
1572
|
-
`)}var S;return[
|
|
1573
|
-
`)}(
|
|
1571
|
+
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}();r.d(L,"a",function(){return je});var je=function(){function n(){}return n.init=function(){n.printElementOptionItems||(n.printElementOptionItems={},n._printElementOptionItems.forEach(function(t){n.printElementOptionItems[t.name]=t}))},n.registerItem=function(t){if(!t.name)throw new Error("styleItem must have name");n.init(),n.printElementOptionItems[t.name]=t},n.getItem=function(t){return n.init(),n.printElementOptionItems[t]},n._printElementOptionItems=[new w,new b,new l,new h,new B,new g,new E,new It,new D,new v,new u,new N,new U,new x,new j,new S,new C,new T,new o,new m,new a,new I,new f,new P,new c,new d,new A,new z,new k,new F,new X,new V,new K,new tt,new G,new it,new lt,new pt,new ut,new bt,new vt,new dt,new ft,new gt,new yt,new Pt,new jt,new St,new Ct,new Nt,new Dt,new At,new Et,new Xt,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new M,new e,new i,new p,new Z,new y,new W,new J,new et,new Q,new nt,new O,new rt,new ot,new $t,new Kt,new qt,new te,new ee,new ie,new ne,new oe,new le,new ae,new re,new se,new pe,new ue,new Ie,new ce,new de,new he,new ge,new me,new fe,new be,new ve,new ye,new Me,new Pe,new xt,new ht,new Tt,new st,new kt,new Gt,new Jt,new Qt,new Ft,new Vt,new Yt,new Ot],n}()},function(R,L,r){r.d(L,"a",function(){return w}),r.d(L,"b",function(){return b});var B=r(14),w=function(){function g(E,D){this.selectedCells=[],this.rows=E,this.tableTatget=D}return g.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},g.prototype.setSingleSelect=function(E){this.startCell=E,this.selectedCells=[]},g.prototype.getSingleSelect=function(){if(this.selectedCells.length){if(this.selectedCells.length==1)return this.selectedCells[0].length==1?this.selectedCells[0][0]:void 0;if(this.selectedCells.length>1)return}return this.startCell},g.prototype.singleSelectByXY=function(E,D){var v=this.getCellByXY(E,D);v&&(this.clear(),v&&(v.cell.select(),this.startCell=v,this.selectedCells=[]))},g.prototype.multipleSelectByXY=function(E,D){this.clear();var v=[];if(this.startCell){var u=this.getCellByXY(E,D);if(u){var S=B.a.mergeRect(this.startCell.cell.getTableRect(),u.cell.getTableRect());this.selectByRect(new l(S),v)}}this.selectedCells=v},g.prototype.selectByRect=function(E,D){this.rows.forEach(function(v,u){var S=[];v.columns.forEach(function(C){C.isInRect(E)&&(S.push(new h(u,C)),C.select())}),S.length&&D.push(S)}),E.changed&&(E.changed=!1,D.splice(0,D.length),this.selectByRect(E,D))},g.prototype.getSelectedCells=function(){return this.selectedCells},g.prototype.getCellByXY=function(E,D){var v;return this.rows.forEach(function(u,S){var C=(u.columns||[]).filter(function(N){return N.checked}).filter(function(N){return N.isXYinCell(E,D)});C.length&&(v=new h(S,C[0]))}),v},g}(),b=function(){return function(g){this.x=g.x,this.y=g.y,this.height=g.height,this.width=g.width}}(),l=function(){return function(g){this.rect=g}}(),h=function(){return function(g,E){this.rowIndex=g,this.cell=E}}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(){}return w.createId=function(){return this.id+=1,this.id},w.id=1,w}()},function(R,L,r){r.d(L,"a",function(){return h});var B,w=r(5),b=r(13),l=(B=function(E,D){return(B=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(v,u){v.__proto__=u}||function(v,u){for(var S in u)u.hasOwnProperty(S)&&(v[S]=u[S])})(E,D)},function(g,E){function D(){this.constructor=g}B(g,E),g.prototype=E===null?Object.create(E):(D.prototype=E.prototype,new D)}),h=function(g){function E(D){var v=g.call(this)||this;return v.columns=[],D&&D.constructor===Array?(D||[]).forEach(function(u){v.columns.push(new w.a(u))}):D.columns&&(D.columns||[]).forEach(function(u){v.columns.push(new w.a(u))}),v}return l(E,g),E.prototype.getPrintElementOptionEntity=function(){var D=[],v=this.allColumns?this.allColumns.filter(function(u){return!u.checked}):[];return[...this.columns,...v].forEach(function(u){D.push(u.getEntity())}),D},E}(b.a)},function(R,L,r){r.d(L,"a",function(){return b});var B=r(11),w=r(5),b=function(){function l(){this.id=B.a.createId()}return l.prototype.init=function(h,g,E){this.isHead=E,this.target=g||$__default.default("<tr></tr>"),this.tableOptions=h,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(D){return D.checked}))},l.prototype.getTarget=function(){return this.target},l.prototype.initCells=function(h){var g=this;h?(this.columns=h,h.forEach(function(E,D){E.init(g.target.find("td:eq("+D+")"),g.tableOptions,g.id,g.isHead)})):(this.columns=[],this.target.find("td").map(function(E,D){var v=new w.a;v.init($__default.default(D),g.tableOptions,g.id,g.isHead),g.columns.push(v)}))},l.prototype.removeCell=function(h){var g=this.columns.indexOf(h);this.columns[g].getTarget().remove(),this.columns.splice(g,1)},l.prototype.createTableCell=function(h,g){var E=new w.a;return E.init($__default.default("<td></td>"),this.tableOptions,this.id,this.isHead),h>1&&(E.getTarget().attr("rowspan",h),E.rowspan=h),g>1&&(E.getTarget().attr("colspan",g),E.colspan=g),E},l.prototype.insertToTargetCellLeft=function(h,g){var E=this.columns.indexOf(h);h.getTarget().before(g.getTarget()),this.columns.splice(E,0,g)},l.prototype.insertToTargetCellRight=function(h,g){var E=this.columns.indexOf(h);this.columns[E].getTarget().after(g.getTarget()),this.columns.splice(E+1,0,g)},l.prototype.insertCellToFirst=function(h){this.target.prepend(h.getTarget()),this.columns.splice(0,0,h)},l.prototype.insertCellToLast=function(h){this.columns.push(h),this.target.append(h.getTarget())},l.prototype.getPrintElementOptionEntity=function(){var h=[];return[...this.columns,...this.allColumns.filter(function(g){return!g.checked})].forEach(function(g){h.push(g.getEntity())}),h},l}()},function(R,L,r){r.d(L,"a",function(){return w});var B=r(10),w=function(){function b(){}return b.mergeRect=function(l,h){var g=Math.min(l.x,h.x),E=Math.min(l.y,h.y);return new B.b({x:g,y:E,height:Math.max(l.y+l.height,h.y+h.height)-E,width:Math.max(l.x+l.width,h.x+h.width)-g})},b.Rect=function(l,h,g,E){return{minX:l<g?l:g,minY:h<E?h:E,maxX:l<g?g:l,maxY:h<E?E:h}},b}()},function(R,L,r){r.d(L,"a",function(){return N});var B=r(4),w=r(1),b=r(6),l=r(0),h=r(8),g=r(18),E=r(7),D=r(16),v=r(20),u=r(2),S=(C=function(x,j){return(C=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(T,o){T.__proto__=o}||function(T,o){for(var m in o)o.hasOwnProperty(m)&&(T[m]=o[m])})(x,j)},function(U,x){function j(){this.constructor=U}C(U,x),U.prototype=x===null?Object.create(x):(j.prototype=x.prototype,new j)}),C,N=function(U){function x(j,T){var o=U.call(this,j)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new g.a(T,o.printElementType),o.options.setDefault(new g.a(w.a.instance.table.default).getPrintElementOptionEntity()),o}return S(x,U),x.prototype.getColumns=function(){return this.options.columns},x.prototype.getColumnByColumnId=function(j){return this.options.getColumnByColumnId(j)},x.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var j=this.designTarget.find(".hiprint-printElement-table-content"),T=this.getHtml(this.designPaper);j.html(""),j.append(T[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},x.prototype.css=function(j,T){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return U.prototype.css.call(this,j,T)},x.prototype.getDesignTarget=function(j){return this.designTarget=this.getHtml(j)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=j,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,m){},onDragEnter:function(o,m){$__default.default(m).removeClass("rn-draggable-item")},onDragLeave:function(o,m){$__default.default(m).addClass("rn-draggable-item")}}),this.designTarget},x.prototype.getConfigOptions=function(){return w.a.instance.table},x.prototype.createTarget=function(j,T,o){for(var m=$__default.default('<div class="hiprint-printElement hiprint-printElement-table" style="position: absolute;"><div class="hiprint-printElement-table-handle"></div><div class="hiprint-printElement-table-content" style="height:100%;width:100%"></span></div>'),a=this.createGridColumnsStructure(o),I=0;I<a.gridColumns;I++)a.getByIndex(I).append(this.getTableHtml(T,o));return m.find(".hiprint-printElement-table-content").append(a.target),m},x.prototype.createGridColumnsStructure=function(j){for(var T=$__default.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var m=$__default.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');T.append(m)}var a=this.getGridColumnsFooterFormatter();if(a){var I=$__default.default('<div class="hiprint-gridColumnsFooter"></div>');I.append(a(this.options,this.getData(j),j,[])),T.append(I)}return new v.a(this.options.getGridColumns(),T)},x.prototype.createtempEmptyRowsTargetStructure=function(j){if(this.getField())return this.createTarget(this.printElementType.title,[]);var T=this.createTarget(this.printElementType.title,[]).clone();return T.find(".hiprint-printElement-tableTarget tbody tr").remove(),T},x.prototype.getTableHtml=function(j,T){var o,m;if(!this.getField()&&this.options.content)return(o=$__default.default("<div></div>")).append(this.options.content),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(o=$__default.default("<div></div>")).append(this.printElementType.formatter(j)),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;var a=$__default.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return a.append(E.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),a.append(E.a.createTableRow(this.getColumns(),j,T,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||E.a.createTableFooter(this.printElementType.columns,j,this.options,this.printElementType,T,j).insertBefore(a.find("tbody")),a},x.prototype.getEmptyRowTarget=function(){return E.a.createEmptyRowTarget(this.getColumns(),this)},x.prototype.getHtml=function(j,T){this.createTempContainer();var o=this.getPaperHtmlResult(j,T);return this.removeTempContainer(),o},x.prototype.getPaperHtmlResult=function(j,T){var o=[],m=this.getData(T),a=this.getTableHtml(m,T),I=this.createtempEmptyRowsTargetStructure(T);T?this.updateTargetWidth(I):this.updateTargetSize(I),this.css(I,m),this.css(a,m),this.getTempContainer().html(""),this.getTempContainer().append(I);var f=I.find("tfoot").outerHeight()||0;I.find("tfoot").remove();for(var P,c=this.getBeginPrintTopInPaperByReferenceElement(j),d=0,A=!1;!A;){var z=0,k=j.getPaperFooter(d);d==0&&c>k&&j.panelPageRule!="none"&&(c=c-k+j.paperHeader,o.push(new b.a({target:void 0,printLine:void 0})),z=j.getContentHeight(d)-(c-j.paperHeader),d++,k=j.getPaperFooter(d));var F=o.length>0?o[o.length-1].target:void 0,X=this.getRowsInSpecificHeight(T,z>0?z:d==0?k-c:j.getContentHeight(d),I,a,d,F,f);if(A=X.isEnd,z<0){var V=this.options.top;o[0].target=$__default.default('<div style="position:absolute;background:red;color:white;padding:0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4\u8FDB\u884C\u8868\u683C\u5206\u9875\uFF0C\u8BF7\u8C03\u6574\u9875\u7709/\u9875\u811A\u7EBF\u7EBF\u6216\u8C03\u6574\u7EB8\u5F20\u5927\u5C0F</div>'),o[0].printLine=c,o[0].referenceElement=new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:j.index,bottomInLastPaper:V+this.options.lHeight,printTopInPaper:c}),o[0].target.css("top",V+"pt"),o[0].target.css("left",this.options.displayLeft());break}var K=void 0;X.target&&(X.target.css("left",this.options.displayLeft()),X.target[0].height=""),d==0||z>0?(X.target&&(P=c,X.target.css("top",c+"pt")),K=A&&this.options.lHeight!=null?c+(X.height>this.options.lHeight?X.height:this.options.lHeight):c+X.height):(X.target&&(P=j.paperHeader,X.target.css("top",j.paperHeader+"pt")),K=j.paperHeader+X.height),o.push(new b.a({target:X.target,printLine:K,referenceElement:new h.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:j.index,bottomInLastPaper:K,printTopInPaper:P})})),d++,T&&this.updatePanelHeight(K+this.options.getHeight(),j)}return o},x.prototype.getRowsInSpecificHeight=function(j,T,o,m,a,I,f){var P=this,c=m.find("tbody"),d=l.a.pt.toPx(T);o.find(".hiprint-printElement-tableTarget tbody").html(""),this.options.tableFooterRepeat!="last"&&o.find(".hiprint-printElement-tableTarget tfoot").remove(),this.options.tableHeaderRepeat=="first"&&a>0?o.find(".hiprint-printElement-tableTarget thead").remove():this.options.tableHeaderRepeat=="none"&&(j?o.find(".hiprint-printElement-tableTarget thead").remove():(o.find(".hiprint-printElement-tableTarget thead").css("background","firebrick"),o.find(".hiprint-printElement-tableTarget thead tr").css("background","firebrick")));var A=this.panel.panelPageRule=="none",z;if(j&&A){var k=o.find(".hiprint-printElement-tableTarget thead").attr("style");z=o.find(".hiprint-printElement-tableTarget thead tr").clone(),k?z.attr("style",k):z.css({background:"#e8e8e8"}),o.find(".hiprint-printElement-tableTarget thead").remove()}var F=o.outerHeight();if(!A&&F>d)return{target:void 0,length:0,height:0,isEnd:!1};for(var X=this.options.getGridColumns(),V=[],K=0;K<X;K++)for(var tt=o.find(".hiprint-printElement-tableTarget:eq("+K+")"),G=void 0,it=[];;){if(A){var lt=c.find("tr").length;if(lt==0)G={height:l.a.px.toPt(F),isEnd:!0},j&&this.options.autoCompletion&&(this.autoCompletion(d,tt,f),F=o.outerHeight());else{var pt=c.find("tr:lt(1)");it.length==0&&z&&tt.find("tbody").append(z),tt.find("tbody").append(pt);var ut=pt.data("rowData");V.push(ut),it.push(ut),F=o.outerHeight(),lt==0&&(c.prepend(pt),V.pop(),it.pop(),G={height:l.a.px.toPt(F),isEnd:!1})}}else if(F<=d)if(c.find("tr").length==0)G={height:l.a.px.toPt(F),isEnd:!0},j&&this.options.autoCompletion&&(this.autoCompletion(d,tt,f),F=tt.outerHeight());else{var pt=c.find("tr:lt(1)");P.options.rowsColumnsMerge&&(a>0||K>0)&&it.length==0&&(pt=P.fixMergeSpan(pt,c)),tt.find("tbody").append(pt);var ut=pt.data("rowData");V.push(ut),it.push(ut),F=tt.outerHeight(),((this.options.tableFooterRepeat=="last"?F:F+=f)>d||this.options.maxRows&&it.length>+this.options.maxRows)&&(c.prepend(pt),V.pop(),it.pop(),F=o.outerHeight(),G={height:l.a.px.toPt(F),isEnd:!1})}if(G){if(this.options.tableFooterRepeat=="last"&&!G.isEnd)break;this.options.tableFooterRepeat!=="no"&&(A?tt.find("tbody").append(E.a.createTableFooter(this.printElementType.columns,this.getData(j),this.options,this.printElementType,j,it).children()):E.a.createTableFooter(this.printElementType.columns,this.getData(j),this.options,this.printElementType,j,it).insertBefore(tt.find("tbody")),P.css(tt,j));break}}var bt=o.find(".hiprint-printElement-tableTarget tbody tr").length,vt=this.getGridColumnsFooterFormatter();vt&&o.find(this.gridColumnsFooterCss).html(vt(this.options,this.getData(j),j,V)),F=o.outerHeight();let dt=c.find("tr:lt(1)");if(bt==0&&dt.length&&ut==dt.data("rowData")){tt.find("tbody").append(dt);let ft=tt.find("tbody tr").outerHeight();return c.prepend(dt),{target:$__default.default('<div style="position:absolute;background: red;color: white;padding: 0px 4px;">\u6CA1\u6709\u8DB3\u591F\u7A7A\u95F4,\u663E\u793A\u4E0B\u65B9\u5185\u5BB9, \u53EF\u5206\u9875\u9AD8\u5EA6: '+d+"px < \u5F53\u524D\u9700\u8981\u9AD8\u5EA6: "+ft+"px</div>").append(dt.css("background","blue")),length:bt,height:l.a.px.toPt(F),isEnd:!1}}var yt=c.find("tr").length==0?bt==0&&I?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:bt,height:l.a.px.toPt(F),isEnd:!0}:{target:o.clone(),length:bt,height:l.a.px.toPt(F),isEnd:!1};return yt},x.prototype.fixMergeSpan=function(j,T){var o=this;let m=1,a=!1,I=1,f=!1;return j.nextAll().each(function(P){$__default.default(this).children().filter("td[rowspan=0]").length>0&&!a?m+=1:a=!0,$__default.default(this).children().filter("td[colspan=0]").length>0&&!f?I+=1:f=!0}),j.children().each(function(P,c){$__default.default(c).attr("rowspan")<1&&($__default.default(c).attr("rowspan",m),$__default.default(c).css("display",""),o.options.rowsColumnsMergeClean&&$__default.default(c).text("")),$__default.default(c).attr("colspan")<1&&($__default.default(c).attr("colspan",I),$__default.default(c).css("display",""),o.options.rowsColumnsMergeClean&&$__default.default(c).text(""))}),j},x.prototype.autoCompletion=function(j,T,o){for(var m=this,a,I=this.getEmptyRowTarget(),f=T.outerHeight()+o;j>f&&(a=I.clone(),T.find("tbody").append(a),f=T.outerHeight()+o,!(m.options.maxRows&&T.find("tbody").children().length>m.options.maxRows)););a&&a.remove()},x.prototype.getData=function(j){if(!j)try{let m=this.options.testData||"[{}]";return JSON.parse(m)}catch(m){return console.log("table testData parse error",m),[{}]}var T=this.getField(),o=T&&T.split(".").reduce((m,a)=>m?m[a]:j?j[a]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},x.prototype.onResize=function(j,T,o,m,a){U.prototype.updateSizeAndPositionOptions.call(this,a,m,o,T),E.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},x.prototype.getReizeableShowPoints=function(){return this.options.showPoints||w.a.instance.table.showPoints},x.prototype.design=function(j,T){var o=this;this.designTarget.hidraggable({handle:this.designTarget.find(".hiprint-printElement-table-handle"),axis:o.options.axis?o.options.axis:void 0,designTarget:o,onDrag:function(a,I,f){o.updateSizeAndPositionOptions(I,f),o.createLineOfPosition(T),u.a.instance.changed=!0},moveUnit:"pt",minMove:w.a.instance.movingDistance,onBeforeDrag:function(a){u.a.instance.draging=!0,o.createLineOfPosition(T)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(a){u.a.instance.changed&&l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),u.a.instance.draging=!1,u.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:w.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){u.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(a,I,f,P,c){o.onResize(a,I,f,P,c),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(T)},onStopResize:function(a){l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,a?"\u65CB\u8F6C":"\u5927\u5C0F"),u.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,T)},x.prototype.setHitable=function(){var j=this;this.hitable=new D.a({templateId:j.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),l.a.event.on("updateTable"+this.hitable.id,function(){j.updateDesignViewFromOptions(),l.a.event.trigger("hiprintTemplateDataChanged_"+j.templateId,"\u8C03\u6574\u8868\u5934")})},x.prototype.setColumnsOptions=function(){var j=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(T){var o=$__default.default(T.target).attr("id")||$__default.default(T.target).attr("column-id"),m=j.getColumnByColumnId(o);if(m){var a=j.getPrintElementOptionItemsByName("tableColumn");l.a.event.trigger(j.getPrintElementSelectEventKey(),{printElement:j,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:a,options:m,callback:function(f){a.forEach(function(P){var c=P.getValue();if(P.name=="title"&&c&&!c.trim().endsWith("#")&&!c.trim().startsWith("#")){var d=c?c.split("#"):"";m.title=d[0],d.length>1&&(m.columnId=m.field=d[1]),m.columnId&&m.target.attr("column-id",m.columnId),P.target.find("textarea").val(d[0]);return}if(P.name=="columnField"){if(m.columnId=m.field=c,m.columnId&&m.target.attr("column-id",m.columnId),j.options.fields){let A=j.options.fields.find(k=>k.field==c);A&&m.titleSync&&(m.title=A.text);let z=a.find(k=>k.name=="title");z&&m.titleSync&&z.target.find("textarea").val(m.title)}return}m[P.name]=c})}}]})}else l.a.event.trigger(j.getPrintElementSelectEventKey(),{printElement:j})})},x.prototype.filterOptionItems=function(j){var T=U.prototype.filterOptionItems.call(this,j);return this.printElementType.editable&&this.options.columns.length==1?T:j.filter(function(o){return o.name!="columns"})},x.prototype.getFooterFormatter=function(){var j=void 0;if(this.printElementType.footerFormatter&&(j=this.printElementType.footerFormatter),this.options.footerFormatter)try{var T="footerFormatter="+this.options.footerFormatter;eval2(T)}catch(o){console.log(o)}return j},x.prototype.getGridColumnsFooterFormatter=function(){var j=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(j=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var T="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;j=eval2(T)}catch(o){console.log(o)}return j},x}(B.a)},function(R,L,r){var B=function(){return function(T){this.table=T.table,this.templateId=T.templateId,this.fields=T.fields,this.isEnableEdit=T.isEnableEdit,this.trs=T.trs,this.resizeRow=T.resizeRow,this.resizeColumn=T.resizeColumn,this.isEnableEditField=T.isEnableEditField,this.isEnableContextMenu=T.isEnableContextMenu,this.isEnableEditField=T.isEnableEditField,this.isEnableInsertRow=T.isEnableInsertRow,this.isEnableDeleteRow=T.isEnableDeleteRow,this.isEnableInsertColumn=T.isEnableInsertColumn,this.isEnableDeleteColumn=T.isEnableDeleteColumn,this.isEnableMergeCell=T.isEnableMergeCell,this.columnResizable=T.columnResizable,this.columnAlignEditable=T.columnAlignEditable}}(),w=function(){function T(o){this.options=new B(o)}return T.prototype.enableEidt=function(){this.options.isEnableEdit},T.prototype.disableEdit=function(){this.options.isEnableEdit},T.prototype.isEnableEdit=function(){return this.options.isEnableEdit},T}(),b=r(0),l=function(){return function(T){this.cell=T.cell,this.link=T.link,this.linkType=T.linkType,this.bottom=T.bottom,this.rightMost=T.rightMost,this.rowLevel=T.rowLevel,this.columnLevel=T.columnLevel,this.indexInTableGridRow=T.indexInTableGridRow,this.indexInTableGridColumn=T.indexInTableGridColumn}}(),h=r(10),g=function(){function T(){}return T.getLeftTableCell=function(o,m){var a;return o.forEach(function(I,f){I.cell&&f<m&&(a=I.cell)}),a},T.getIndex=function(o,m){var a;return o.forEach(function(I,f){I.cell&&I.cell.id==m&&(a=f)}),a},T}(),E=r(13),D=r(11),v=function(){return function(T,o){this.target=T,this.grips=o}}(),u=function(){return function(T){this.target=T}}(),S=function(){return function(){this.rowColumns=[]}}(),C=function(){function T(){}return T.getColumnsWidth=function(o,m){var a={},I=T.allAutoWidth(o);return o.rowColumns.forEach(function(f){var P=m-0,c=f.width/I*(P>0?P:0);a[f.id]=c}),a},T.resizeTableCellWeight=function(o){o.forEach(function(m){m.columns.forEach(function(a){a.hasWidth&&$__default.default(a.getTarget()).css("width",a.width+"pt")})})},T.allAutoWidth=function(o){var m=0;return o.rowColumns.forEach(function(a){m+=a.width}),m},T.reconsitutionTableColumnTree=function(o,m,a){for(var I=m||new S,f=function(d){I.totalLayer=d+1,I[d]=o[d].columns,I.rowColumns=I.rowColumns.concat(I[d].filter(function(A){return A.rowspan==o.length-d}))},P=0;P<o.length;P++)f(P);return I},T}(),N=r(2),U=function(){function T(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return T.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},T.prototype.resizeTableCellWidth=function(){C.resizeTableCellWeight(this.rows)},T.prototype.addResizeRowAndColumn=function(){},T.prototype.createColumnGrips=function(){var o=this,m=this,a=[],I=$__default.default('<div class="columngrips"/>');I.width(this.target.width()),this.rows.forEach(function(f){(f.columns||[]).filter(function(P){return P.checked}).forEach(function(P,c){if(P.getTarget().attr("haswidth")){var d=$__default.default('<div class="columngrip"><div class="gripResizer"></div></div>');I.append(d);var A=new u(d);a.length>0&&(a[a.length-1].nextGrip=A),a.push(A),o.syncGrips(P,A),$__default.default(d).hidraggable({axis:"h",onDrag:function(k,F,X){},moveUnit:"pt",minMove:1,getScale:function(){return $__default.default(".hiprint-printPaper")[0].style.transform&&parseFloat($__default.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(k){if(N.a.instance.draging=!0,!A.nextGrip)return!1;m.dragingGrip=A,m.dragingGrip.left=parseFloat(m.dragingGrip.target.css("left").replace("px","")),A.target.addClass("columngripDraging")},onStopDrag:function(k){N.a.instance.draging=!1;var F=parseFloat(m.dragingGrip.target.css("left").replace("px","")),X=b.a.px.toPt(F-m.dragingGrip.left);A.cell.width+X<10?X=10-A.cell.width:A.nextGrip.cell.width-X<10&&(X=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+X,A.nextGrip.cell.width=A.nextGrip.cell.width-X,o.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(I),this.cgripContariner=new v(I,a)},T.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},T.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},T.prototype.createRowGrips=function(){var o=this,m=this,a=[],I=$__default.default('<div class="rowgrips"/>');this.rows.forEach(function(f,P){var c=$__default.default('<div class="rowgrip"><div class="gripResizer"></div></div>');I.append(c);var d=new u(c);a.push(d),P>0&&P<o.rows.length&&$__default.default(c).hidraggable({axis:"v",onDrag:function(z,k,F){},moveUnit:"pt",minMove:1,onBeforeDrag:function(z){m.dragingGrip=d,m.dragingGrip.top=parseFloat(m.dragingGrip.target.css("top").replace("px","")),d.target.addClass("rowgripDraging")},onStopDrag:function(z){var k=parseFloat(m.dragingGrip.target.css("top").replace("px","")),F=b.a.px.toPt(k-m.dragingGrip.top+m.rows[P].columns[0].getTarget().height());m.rows[P].columns[0].getTarget().css("height",F+"pt"),m.syncRowGrips(),d.target.removeClass("rowgripDraging")}})}),this.target.before(I),this.rgripContariner=new v(I,a),this.syncRowGrips()},T.prototype.syncGrips=function(o,m){var a=o.getTarget();m.cell=o,m.target.css({left:a.offset().left-this.target.offset().left+a.outerWidth(!1),height:30})},T.prototype.syncRowGrips=function(){var o=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(m,a){var I=m.columns[0].getTarget();o.rgripContariner.grips[a].target.css({top:I.offset().top-o.target.offset().top+I.outerHeight(!1),width:30})})},T.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},T}(),x=function(){function T(){}return T.prototype.init=function(){},T.prototype.updateRowGrips=function(){},T.prototype.updateColumnGrips=function(){},T}();r.d(L,"a",function(){return j});var j=function(){function T(o){this.id=D.a.createId(),this.optionsCoat=new w(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new h.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new U(this):new x,this.resizer.init()}return T.prototype.insertRow=function(o,m,a){var I=m||this.tableCellSelector.getSingleSelect(),f=I.cell,P=this.rows[I.rowIndex],c=I.rowIndex,d=this.getCellGrid(),A=new E.a;if(A.init(this.optionsCoat,void 0,P.isHead),a&&A.getTarget().addClass(a),o=="above")d[c].forEach(function(k){var F=k.link?k.link:k.cell,X=F.width/F.colspan;if(k.columnLevel==0){var V=A.createTableCell();V.width=X,A.insertCellToLast(V)}else{if(k.linkType=="column"){var K=k.link.getTarget();k.link.rowspan+=1,K.attr("rowspan",k.link.rowspan)}k.linkType}}),this.rows.splice(c,0,A),P.getTarget().before(A.getTarget()),b.a.event.trigger("newRow"+this.id,A);else{var z=c+f.rowspan-1;d[z].forEach(function(k){var F=k.link?k.link:k.cell,X=F.width/F.colspan;if(k.bottom){var V=A.createTableCell();V.width=X,A.insertCellToLast(V)}else{if(k.cell){var K=k.cell.getTarget();k.cell.rowspan+=1,K.attr("rowspan",k.cell.rowspan)}k.linkType=="column"&&(K=k.link.getTarget(),k.link.rowspan+=1,K.attr("rowspan",k.link.rowspan))}}),this.rows.splice(z+1,0,A),this.rows[z].getTarget().after(A.getTarget()),b.a.event.trigger("newRow"+this.id,A)}},T.prototype.insertColumn=function(o,m,a,I){var f=this,P=this.rows.concat(this.trRows),c=m||this.tableCellSelector.getSingleSelect(),d=c.cell,A=c.rowIndex,z=this.getCellGrid(P),k=z[A].filter(function(V){return V.cell&&V.cell.id==d.id||V.link&&V.link.id==d.id});if(o=="left"){var F=k[0].indexInTableGridRow;z.forEach(function(V,K){var tt=V[F],G=V.filter(function(ut,bt){return bt>=F&&ut.cell});if(tt.rowLevel==0){var it=P[K],lt=P[K].createTableCell();a&<.getTarget().addClass(a),I!=null&&(lt.width=I),G.length?it.insertToTargetCellLeft(G[0].cell,lt):it.insertCellToLast(lt),b.a.event.trigger("newCell"+f.id,lt)}else if(tt.linkType=="row"){var pt=tt.link.getTarget();tt.link.colspan+=1,pt.attr("colspan",tt.link.colspan)}})}else{var X=k[k.length-1].indexInTableGridRow;z.forEach(function(V,K){var tt=V[X],G=V.filter(function(bt,vt){return vt<=X&&bt.cell});if(tt.rightMost){var it=P[K],lt=it.createTableCell();a&<.getTarget().addClass(a),I!=null&&(lt.width=I),G.length?it.insertToTargetCellRight(G[G.length-1].cell,lt):it.insertCellToFirst(lt),b.a.event.trigger("newCell"+f.id,lt)}else{var pt=tt.link||tt.cell;if(tt.linkType=="row"){var ut=pt.getTarget();pt.colspan+=1,ut.attr("colspan",pt.colspan)}tt.cell&&(ut=pt.getTarget(),pt.colspan+=1,ut.attr("colspan",pt.colspan))}})}},T.prototype.deleteRow=function(){var o=this,m=this.tableCellSelector.getSingleSelect(),a=(m.cell,this.rows[m.rowIndex],m.rowIndex),I=this.getCellGrid(),f=this.rows[a];I[a].forEach(function(P,c){if(P.cell)if(P.cell.rowspan==1)f.removeCell(P.cell);else{f.removeCell(P.cell);var d=I[a+1].filter(function(F,X){return F.cell&&X>c}),A=o.rows[a+1],z=A.createTableCell(P.cell.rowspan-1,P.cell.colspan);d.length?A.insertToTargetCellLeft(d[0].cell,z):A.insertCellToLast(z)}else if(P.linkType=="column"){var k=P.link;k.rowspan-=1,k.getTarget().attr("rowspan",k.rowspan)}}),f.getTarget().remove(),this.rows.splice(a,1)},T.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),a=m.cell,I=m.rowIndex,f=this.getCellGrid(o),P=f[I].filter(function(c){return c.cell&&c.cell.id==a.id||c.link&&c.link.id==a.id})[0].indexInTableGridRow;f.forEach(function(c,d){var A=c[P];A.cell?A.cell.colspan==1?o[d].removeCell(A.cell):(A.cell.colspan-=1,A.cell.getTarget().attr("colspan",A.cell.colspan)):A.linkType=="row"&&(A.link.colspan-=1,A.link.getTarget().attr("colspan",A.link.colspan))})},T.prototype.mergeCell=function(){var o=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var a=m[0][0].cell;m.forEach(function(I,f){I.forEach(function(P,c){f==0?c!=0&&(a.colspan+=P.cell.colspan,o.rows[P.rowIndex].removeCell(P.cell)):o.rows[P.rowIndex].removeCell(P.cell),c==0&&m[0][0].rowIndex+a.rowspan-1<P.rowIndex&&(a.rowspan+=P.cell.rowspan)})}),a.getTarget().attr("colspan",a.colspan),a.getTarget().attr("rowspan",a.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},T.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),a=g.getIndex(m[o.rowIndex],o.cell.id);if(o){for(var I=o.rowIndex;I<o.rowIndex+o.cell.rowspan;I++)for(var f=this.rows[I],P=I==o.rowIndex?o.cell:g.getLeftTableCell(m[I],a),c=0;c<o.cell.colspan;c++)I==o.rowIndex&&c==0||(P?f.insertToTargetCellRight(P,f.createTableCell()):f.insertCellToFirst(f.createTableCell()));o.cell.rowspan=1,o.cell.colspan=1,o.cell.getTarget().attr("colspan",o.cell.colspan),o.cell.getTarget().attr("rowspan",o.cell.rowspan)}},T.prototype.init=function(o){var m=this;$__default.default(this.target).addClass("hitable"),this.optionsCoat.onBeforEdit=function(a){return m.optionsCoat.options.onBeforEdit&&o.onBeforEdit(a)===!1?!1:(m.optionsCoat.editingCell&&m.optionsCoat.editingCell.endEdit(),!0)},$__default.default(this.target).mousedown(function(a){m.optionsCoat.isLeftMouseButtonDown=!0}),$__default.default(this.target).mouseup(function(a){m.optionsCoat.isLeftMouseButtonDown=!1}),this.initContext(),this.target.on("mousemove",function(a){a.buttons===1&&m.tableCellSelector.multipleSelectByXY(a.pageX,a.pageY)}).on("mousedown",function(a){a.buttons===1&&m.tableCellSelector.singleSelectByXY(a.pageX,a.pageY)})},T.prototype.initRows=function(o){var m=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(I,f){I.init(m.optionsCoat,m.target.find("tr:eq("+f+")"),!0)});var a=this.optionsCoat.options.trs;a&&this.initRowsByTrs(a).forEach(function(I){m.trRows.push(I)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},T.prototype.initRowsByTrs=function(o){var m=this;return o.map(function(a,I){var f=new E.a;return f.init(m.optionsCoat,$__default.default(I)),f}).get()},T.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},T.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},T.prototype.getCellGrid=function(o){var m=o||this.rows,a=this.getColumnStep(),I=[];return m.forEach(function(f,P){f.columns.forEach(function(c,d){for(var A=0;A<c.colspan;A++)for(var z=0,k=!1;z<a&&!k;){if(I[P]=I[P]||[],!I[P][z]){I[P][z]=new l({cell:A==0?c:void 0,link:A!=0?c:void 0,linkType:A>0?"row":void 0,rightMost:A==c.colspan-1||void 0,bottom:c.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:z,indexInTableGridColumn:P});for(var F=P+1,X=1;X<c.rowspan;X++)I[F]=I[F]||[],I[F][z]=new l({cell:void 0,link:c,linkType:A>0?"rowColumn":"column",rightMost:A==c.colspan-1||void 0,bottom:X==c.rowspan-1,rowLevel:A,columnLevel:X,indexInTableGridRow:z,indexInTableGridColumn:F}),F+=1;k=!0}z++}})}),I},T.prototype.setAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(o)},T.prototype.setVAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(o)},T.prototype.getColumnStep=function(o){var m=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(a){m+=a.colspan}),m},T.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;$__default.default(this.handle).hicontextMenu({table:!0,menus:[{text:"\u5728\u4E0A\u65B9\u63D2\u5165\u884C",enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertRow("above"),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5728\u4E0B\u65B9\u63D2\u5165\u884C",borderBottom:!0,enabled:this.optionsCoat.options.isEnableInsertRow,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertRow("below"),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5411\u5DE6\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()},callback:function(){o.insertColumn("left"),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5411\u53F3\u65B9\u63D2\u5165\u5217",enabled:this.optionsCoat.options.isEnableInsertColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()},borderBottom:!0,callback:function(){o.insertColumn("right"),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5220\u9664\u884C",enabled:this.optionsCoat.options.isEnableDeleteRow,disable:function(){return!o.tableCellSelector.getSingleSelect()||o.rows.length<=1},callback:function(){o.deleteRow(),o.resizer.updateRowGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5220\u9664\u5217",borderBottom:!0,enabled:this.optionsCoat.options.isEnableDeleteColumn,disable:function(){return!o.tableCellSelector.getSingleSelect()||o.rows.length>0&&o.rows[0].columns.length<=1},callback:function(){o.deleteColums(),o.resizer.updateColumnGrips(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u5BF9\u9F50",borderBottom:!0,enabled:this.optionsCoat.options.columnAlignEditable,menus:[{text:"\u5DE6",callback:function(){o.setAlign("left")}},{text:"\u5DE6\u53F3\u5C45\u4E2D",callback:function(){o.setAlign("center")}},{text:"\u53F3",callback:function(){o.setAlign("right")}},{text:"\u9ED8\u8BA4",borderBottom:!0,callback:function(){o.setAlign("")}},{text:"\u4E0A",callback:function(){o.setVAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){o.setVAlign("middle")}},{text:"\u4E0B",callback:function(){o.setVAlign("bottom")}},{text:"\u9ED8\u8BA4",callback:function(){o.setVAlign("")}}]},{text:"\u5408\u5E76\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){return o.tableCellSelector.getSingleSelect()},callback:function(){o.mergeCell(),b.a.event.trigger("updateTable"+o.id)}},{text:"\u89E3\u5F00\u5355\u5143\u683C",enabled:this.optionsCoat.options.isEnableMergeCell,disable:function(){var a=o.tableCellSelector.getSingleSelect();return!a||a.cell.rowspan==1&&a.cell.colspan==1},callback:function(){o.splitCell(),b.a.event.trigger("updateTable"+o.id)}}].filter(function(m){return m.enabled})})},T.prototype.getTableWidth=function(){return b.a.px.toPt(this.target.outerWidth(!1))},T.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},T.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},T}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(w,b,l){this.tid=w,this.options=b,this.printElementType=l}}()},function(R,L,r){var B=r(3),w=r(12),b=function(){return function(D){this.width=D.width,this.title=D.title,this.titleSync=D.titleSync,this.field=D.field,this.checked=D.checked,this.columnId=D.columnId,this.fixed=!1,this.rowspan=D.rowspan||1,this.colspan=D.colspan||1,this.align=D.align,this.halign=D.halign,this.vAlign=D.vAlign,this.renderFormatter=D.renderFormatter,this.formatter2=D.formatter2,this.styler2=D.styler2,this.stylerHeader=D.stylerHeader,this.tableColumnHeight=D.tableColumnHeight,this.tableTextType=D.tableTextType,this.tableBarcodeMode=D.tableBarcodeMode,this.tableQRCodeLevel=D.tableQRCodeLevel,this.tableSummaryTitle=D.tableSummaryTitle,this.tableSummaryText=D.tableSummaryText,this.tableSummaryColspan=D.tableSummaryColspan,this.tableSummary=D.tableSummary,this.tableSummaryAlign=D.tableSummaryAlign,this.tableSummaryNumFormat=D.tableSummaryNumFormat,this.tableSummaryFormatter=D.tableSummaryFormatter,this.upperCase=D.upperCase}}(),l=r(5);r.d(L,"a",function(){return E});var h,g=(h=function(v,u){return(h=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(S,C){S.__proto__=C}||function(S,C){for(var N in C)C.hasOwnProperty(N)&&(S[N]=C[N])})(v,u)},function(D,v){function u(){this.constructor=D}h(D,v),D.prototype=v===null?Object.create(v):(u.prototype=v.prototype,new u)}),E=function(D){function v(u,S){var C=this;return u=u||{},(C=D.call(this,u)||this).lHeight=u.lHeight,C.autoCompletion=u.autoCompletion,C.tableFooterRepeat=u.tableFooterRepeat,S&&(C.columns=[],S.editable&&u.columns&&u.columns.length?u.columns.forEach(function(N){var U=[];N.forEach(function(x){var j=new b(x),T=S.getColumnByColumnId(j.columnId),o=T?$__default.default.extend(T,j):new l.a(j);U.push(o)}),C.columns.push(new w.a(U))}):S.columns.forEach(function(N){C.columns.push(new w.a(N))})),C}return g(v,D),v.prototype.getColumnByColumnId=function(u){return this.makeColumnObj()[u]},v.prototype.makeColumnObj=function(){var u={};return this.columns&&this.columns.forEach(function(S){S.columns.forEach(function(C){(C.id||C.columnId)&&(u[C.id||C.columnId]=C)})}),u},v.prototype.getGridColumns=function(){return this.gridColumns||1},v.prototype.getPrintElementOptionEntity=function(){var u=D.prototype.getPrintElementOptionEntity.call(this);return u.fields=this.fields,this.columns&&(u.columns=[],this.columns.forEach(function(S){var C=S.getPrintElementOptionEntity().map(function(N){return new b(N)});u.columns.push(C)})),u},v}(B.a)},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){return function(){this.rowColumns=[]}}()},function(R,L,r){r.d(L,"a",function(){return B});var B=function(){function w(b,l){this.gridColumns=b,this.target=l}return w.prototype.getByIndex=function(b){return this.target.find(".hi-grid-col:eq("+b+")")},w}()},function(R,L,r){R.exports=r(33)},function(R,L){(function(r){function B(u){var S=r.data(u.data.target,"hidraggable"),C=S.options,N=S.proxy,U=u.data,x=U.startLeft+(u.pageX-U.startX)/(S.options.getScale()||1),j=U.startTop+(u.pageY-U.startY)/(S.options.getScale()||1);N&&(N.parent()[0]==document.body?(x=C.deltaX!=null&&C.deltaX!=null?u.pageX+C.deltaX:u.pageX-u.data.offsetWidth,j=C.deltaY!=null&&C.deltaY!=null?u.pageY+C.deltaY:u.pageY-u.data.offsetHeight):(C.deltaX!=null&&C.deltaX!=null&&(x+=u.data.offsetWidth+C.deltaX),C.deltaY!=null&&C.deltaY!=null&&(j+=u.data.offsetHeight+C.deltaY))),u.data.parent!=document.body&&(x+=r(u.data.parent).scrollLeft(),j+=r(u.data.parent).scrollTop()),C.axis=="h"?U.left=x:C.axis=="v"||u.shiftKey&&u.altKey?U.top=j:u.shiftKey?U.left=x:(U.left=x,U.top=j)}function w(u){var S=r.data(u.data.target,"hidraggable"),C=S.options,N=S.proxy;N||(N=r(u.data.target)),N.css({left:r.fn.dragLengthC(u.data.left,C),top:r.fn.dragLengthC(u.data.top,C)}),r("body").css("cursor",C.cursor)}function b(u){r.fn.hidraggable.isDragging=!0;var S=r.data(u.data.target,"hidraggable"),C=S.options,N=r(".hidroppable").filter(function(){return u.data.target!=this}).filter(function(){var x=r.data(this,"hidroppable")&&r.data(this,"hidroppable").options.accept;return!x||r(x).filter(function(){return this==u.data.target}).length>0});S.hidroppables=N;var U=S.proxy;return U||(C.proxy?(U=C.proxy=="clone"?r(u.data.target).clone().insertAfter(u.data.target):C.proxy.call(u.data.target,u.data.target),S.proxy=U):U=r(u.data.target)),U.css("position","absolute"),B(u),w(u),C.onStartDrag.call(u.data.target,u),!1}function l(u,S,C,N,U,x){Math.abs(u[C]-S[N])<=HIPRINT_CONFIG.adsorbLineMin?u.v.length?u.v.css("left",u[C]+"pt"):(u.v=$__default.default("<div class='verLine id-"+u.id+"'></div>"),u.v.css("height",U+"pt"),u.v.css("left",u[C]+"pt"),x.append(u.v)):u.v&&u.v.remove()}function h(u){u&&u.v&&u.v.remove(),$__default.default(".verLine").remove()}function g(u,S,C,N,U,x){Math.abs(u[C]-S[N])<=HIPRINT_CONFIG.adsorbLineMin?u.h.length?u.h.css("top",u[C]+"pt"):(u.h=$__default.default("<div class='horLine id-"+u.id+"'></div>"),u.h.css("width",U+"pt"),u.h.css("top",u[C]+"pt"),x.append(u.h)):u.h&&u.h.remove()}function E(u){u&&u.h&&u.h.remove(),$__default.default(".horLine").remove()}function D(u){var S=r.data(u.data.target,"hidraggable");if(B(u),!(u.ctrlKey||u.metaKey)&&(u.data.target.className.startsWith("resize-panel")||u.data.target.style.zIndex=="2"||u.data.target.className.startsWith("hiprint-printElement"))){var C=u.data;if(r(".mouseRect").length==0&&S.options.designTarget&&S.options.designTarget.panel.printElements.filter(function(f){return f.designTarget.children().last().css("display")=="block"&&!f.printElementType.type.includes("table")}).length<=1){let f=window.hinnn.px.toPt(C.left),P=window.hinnn.px.toPt(C.top),c=S.options.designTarget.options;c.left=f,c.top=P,c.right=f+c.width,c.bottom=P+c.height,c.vCenter=f+c.width/2,c.hCenter=P+c.height/2,(()=>{let d=S.options.designTarget.panel.printElements.filter(tt=>tt.id!=S.options.designTarget.id).map(tt=>{let{left:G,top:it,width:lt,height:pt}=tt.options,ut=G+lt,bt=G+lt/2,vt=it+pt/2,dt=c.left+c.width/2,yt=c.top+c.height/2,ft=c.left+c.width,gt,Pt,jt,St;return Pt=Math.sqrt(Math.pow(G-c.left,2)+Math.pow(vt-yt,2)),jt=Math.sqrt(Math.pow(bt-dt,2)+Math.pow(vt-yt,2)),St=Math.sqrt(Math.pow(ut-ft,2)+Math.pow(vt-yt,2)),gt=Math.min(Pt,jt,St),{...tt.options,distance:gt,h:$__default.default(".horLine.id-"+tt.id),v:$__default.default(".verLine.id-"+tt.id),bottom:it+pt,right:G+lt,vCenter:bt,hCenter:vt}}).sort((tt,G)=>tt.distance-G.distance).slice(0,1),A=S.options.designTarget.designPaper,z=A.target.find(".hiprint-printPaper-content"),k=A.width,F=A.height,X=HIPRINT_CONFIG.showAdsorbLine,V=HIPRINT_CONFIG.adsorbMin,K=HIPRINT_CONFIG.adsorbLineMin;d.forEach((tt,G)=>{Math.abs(d[G].left-c.left)<=V?(c.left=d[G].left,h(d[G])):Math.abs(d[G].vCenter-c.left)<=V?(c.left=d[G].vCenter,h(d[G])):Math.abs(d[G].right-c.left)<=V&&(c.left=d[G].right,h(d[G])),Math.abs(d[G].left-c.vCenter)<=V?(c.left=d[G].left-c.width/2,h(d[G])):Math.abs(d[G].vCenter-c.vCenter)<=V?(c.left=d[G].vCenter-c.width/2,h(d[G])):Math.abs(d[G].right-c.vCenter)<=V&&(c.left=d[G].right-c.width/2,h(d[G])),Math.abs(d[G].left-c.right)<=V?(c.left=d[G].left-c.width,h(d[G])):Math.abs(d[G].vCenter-c.right)<=V?(c.left=d[G].vCenter-c.width,h(d[G])):Math.abs(d[G].right-c.right)<=V&&(c.left=d[G].right-c.width,h(d[G])),Math.abs(d[G].top-c.top)<=V?(c.top=d[G].top,E(d[G])):Math.abs(d[G].hCenter-c.top)<=V?(c.top=d[G].hCenter,E(d[G])):Math.abs(d[G].bottom-c.top)<=V&&(c.top=d[G].bottom,E(d[G])),Math.abs(d[G].top-c.hCenter)<=V?(c.top=d[G].top-c.height/2,E(d[G])):Math.abs(d[G].hCenter-c.hCenter)<=V?(c.top=d[G].hCenter-c.height/2,E(d[G])):Math.abs(d[G].bottom-c.hCenter)<=V&&(c.top=d[G].bottom-c.height/2,E(d[G])),Math.abs(d[G].top-c.bottom)<=V?(c.top=d[G].top-c.height,E(d[G])):Math.abs(d[G].hCenter-c.bottom)<=V?(c.top=d[G].hCenter-c.height,E(d[G])):Math.abs(d[G].bottom-c.bottom)<=V&&(c.top=d[G].bottom-c.height,E(d[G])),X&&(Math.abs(d[G].left-c.left)>V&&Math.abs(d[G].left-c.left)<=K?l(d[G],c,"left","left",F,z):Math.abs(d[G].vCenter-c.left)>V&&Math.abs(d[G].vCenter-c.left)<=K?l(d[G],c,"vCenter","left",F,z):Math.abs(d[G].right-c.left)>V&&Math.abs(d[G].right-c.left)<=K?l(d[G],c,"right","left",F,z):Math.abs(d[G].left-c.vCenter)>V&&Math.abs(d[G].left-c.vCenter)<=K?l(d[G],c,"left","vCenter",F,z):Math.abs(d[G].vCenter-c.vCenter)>V&&Math.abs(d[G].vCenter-c.vCenter)<=K?l(d[G],c,"vCenter","vCenter",F,z):Math.abs(d[G].right-c.vCenter)>V&&Math.abs(d[G].right-c.vCenter)<=K?l(d[G],c,"right","vCenter",F,z):Math.abs(d[G].left-c.right)>V&&Math.abs(d[G].left-c.right)<=K?l(d[G],c,"left","right",F,z):Math.abs(d[G].vCenter-c.right)>V&&Math.abs(d[G].vCenter-c.right)<=K?l(d[G],c,"vCenter","right",F,z):Math.abs(d[G].right-c.right)>V&&Math.abs(d[G].right-c.right)<=K?l(d[G],c,"right","right",F,z):Math.abs(d[G].top-c.top)>V&&Math.abs(d[G].top-c.top)<=K?g(d[G],c,"top","top",k,z):Math.abs(d[G].hCenter-c.top)>V&&Math.abs(d[G].hCenter-c.top)<=K?g(d[G],c,"hCenter","top",k,z):Math.abs(d[G].bottom-c.top)>V&&Math.abs(d[G].bottom-c.top)<=K?g(d[G],c,"bottom","top",k,z):Math.abs(d[G].top-c.hCenter)>V&&Math.abs(d[G].top-c.hCenter)<=K?g(d[G],c,"top","hCenter",k,z):Math.abs(d[G].hCenter-c.hCenter)>V&&Math.abs(d[G].hCenter-c.hCenter)<=K?g(d[G],c,"hCenter","hCenter",k,z):Math.abs(d[G].bottom-c.hCenter)>V&&Math.abs(d[G].bottom-c.hCenter)<=K?g(d[G],c,"bottom","hCenter",k,z):Math.abs(d[G].top-c.bottom)>V&&Math.abs(d[G].top-c.bottom)<=K?g(d[G],c,"top","bottom",k,z):Math.abs(d[G].hCenter-c.bottom)>V&&Math.abs(d[G].hCenter-c.bottom)<=K?g(d[G],c,"hCenter","bottom",k,z):Math.abs(d[G].bottom-c.bottom)>V&&Math.abs(d[G].bottom-c.bottom)<=K?g(d[G],c,"bottom","bottom",k,z):(h(d[G]),E(d[G])))})})(),u.data.left=window.hinnn.pt.toPx(c.left),u.data.top=window.hinnn.pt.toPx(c.top)}var N=C.parent.className.endsWith("design")?C.parent:C.parent.offsetParent,U=N.clientWidth,x=N.clientHeight,j=C.target.clientWidth,T=C.target.clientHeight,o=0,m=0;if(S.options.designTarget&&S.options.designTarget.options.transform){var a=S.options.designTarget.options.getRectInfo();o=window.hinnn.pt.toPx(a.diffW),m=window.hinnn.pt.toPx(a.diffH)}C.left<0-o?C.left=0-o:C.left>=U-j+o&&(C.left=U-j+o),C.top<0-m?C.top=0-m:C.top>=x-T+m&&(C.top=x-T+m),u.data=C}S.options.onDrag.call(u.data.target,u,r.fn.dragLengthCNum(u.data.left,S.options),r.fn.dragLengthCNum(u.data.top,S.options))!=0&&w(u);var I=u.data.target;return S.hidroppables.each(function(){var f=r(this);if(!f.hidroppable("options").disabled){var P=f.offset();u.pageX>P.left&&u.pageX<P.left+f.outerWidth()&&u.pageY>P.top&&u.pageY<P.top+f.outerHeight()?(this.entered||(r(this).trigger("_dragenter",[I]),this.entered=!0),r(this).trigger("_dragover",[I])):this.entered&&(r(this).trigger("_dragleave",[I]),this.entered=!1)}}),!1}function v(u){r.fn.hidraggable.isDragging=!1,h(),E();var S,C,N=r.data(u.data.target,"hidraggable"),U=N.proxy,x=N.options;x.revert?T()==1?r(u.data.target).css({position:u.data.startPosition,left:u.data.startLeft,top:u.data.startTop}):U?(U.parent()[0]==document.body?(S=u.data.startX-u.data.offsetWidth,C=u.data.startY-u.data.offsetHeight):(S=u.data.startLeft,C=u.data.startTop),U.animate({left:S,top:C},function(){j()})):r(u.data.target).animate({left:u.data.startLeft,top:u.data.startTop},function(){r(u.data.target).css("position",u.data.startPosition)}):(r(u.data.target).css({position:"absolute",left:r.fn.dragLengthC(u.data.left,x),top:r.fn.dragLengthC(u.data.top,x)}),T());function j(){U&&U.remove(),N.proxy=null}function T(){var o=!1;return N.hidroppables.each(function(){var m=r(this);if(!m.hidroppable("options").disabled){var a=m.offset();return u.pageX>a.left&&u.pageX<a.left+m.outerWidth()&&u.pageY>a.top&&u.pageY<a.top+m.outerHeight()?(x.revert&&r(u.data.target).css({position:u.data.startPosition,left:u.data.startLeft,top:u.data.startTop}),r(this).trigger("_drop",[u.data.target]),j(),o=!0,this.entered=!1,!1):void 0}}),o||x.revert||j(),o}return x.onStopDrag.call(u.data.target,u),r(document).unbind(".hidraggable"),setTimeout(function(){r("body").css("cursor","")},100),!1}r.fn.hidraggable=function(u,S){return typeof u=="string"?r.fn.hidraggable.methods[u](this,S):this.each(function(){var C,N=r.data(this,"hidraggable");N?(N.handle.unbind(".hidraggable"),C=r.extend(N.options,u)):C=r.extend({},r.fn.hidraggable.defaults,r.fn.hidraggable.parseOptions(this),u||{});var U=C.handle?typeof C.handle=="string"?r(C.handle,this):C.handle:r(this);function x(j){var T=r.data(j.data.target,"hidraggable"),o=T.handle,m=r(o).offset(),a=r(o)[0].style.transform&&parseInt(r(o)[0].style.transform.slice(7,-1)),I=T.options.getScale(),f=r(o).outerWidth(),P=r(o).outerHeight();if(a){var c=a*Math.PI/180,d=r(o).outerWidth(),A=r(o).outerHeight(),z=Math.sin(c),k=Math.cos(c);f=Math.abs(d*k)+Math.abs(A*z),P=Math.abs(d*z)+Math.abs(A*k)}I&&(f*=I,P*=I);var F=j.pageY-m.top,X=m.left+f-j.pageX,V=m.top+P-j.pageY,K=j.pageX-m.left;return Math.min(F,X,V,K)>T.options.edge}r.data(this,"hidraggable",{options:C,handle:U}),C.disabled?r(this).css("cursor",""):U.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(j){if(!r.fn.hidraggable.isDragging){var T=r.data(j.data.target,"hidraggable").options;x(j)?r(this).css("cursor",T.cursor):r(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(j){r(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(j){if(x(j)!=0){r(this).css("cursor","");var T=r(j.data.target).position(),o=r(j.data.target).offset(),m={startPosition:r(j.data.target).css("position"),startLeft:T.left,startTop:T.top,left:T.left,top:T.top,startX:j.pageX,startY:j.pageY,offsetWidth:j.pageX-o.left,offsetHeight:j.pageY-o.top,target:j.data.target,parent:r(j.data.target).parent()[0]},a=r.data(j.data.target,"hidraggable");if(a.options.draggable===!1||j.target.className=="r resizebtn")return;var I=a.options.getScale();I&&(m.left/=I,m.top/=I,m.startLeft/=I,m.startTop/=I);var f=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(f){var P=f*Math.PI/180,c=r(j.data.target).outerWidth(),d=r(j.data.target).outerHeight(),A=Math.sin(P),z=Math.cos(P),k=Math.abs(c*z)+Math.abs(d*A),F=Math.abs(c*A)+Math.abs(d*z),X=(k-c)/2,V=(F-d)/2;m.left+=X,m.top+=V,m.startLeft+=X,m.startTop+=V}r.extend(j.data,m),r.data(j.data.target,"hidraggable").options.onBeforeDrag.call(j.data.target,j)!=0&&(r(document).bind("mousedown.hidraggable",j.data,b),r(document).bind("mousemove.hidraggable",j.data,D),r(document).bind("mouseup.hidraggable",j.data,v))}})})},r.fn.hidraggable.methods={options:function(S){return r.data(S[0],"hidraggable").options},update:function(S,C){C&&typeof C=="object"&&r.data(S[0],"hidraggable")&&Object.keys(C).forEach(function(N){r.data(S[0],"hidraggable").options[N]=C[N]})},proxy:function(S){return r.data(S[0],"hidraggable").proxy},enable:function(S){return S.each(function(){r(this).hidraggable({disabled:!1})})},disable:function(S){return S.each(function(){r(this).hidraggable({disabled:!0})})}},r.fn.hidraggable.parseOptions=function(u){var S=r(u);return r.extend({},r.hiprintparser.parseOptions(u,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!S.attr("disabled")||void 0})},r.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(S){},onBeforeDrag:function(S){},onStartDrag:function(S){},onDrag:function(S){},onStopDrag:function(S){}},r.fn.hidraggable.isDragging=!1})(jQuery)},function(R,L){(function(r){r.fn.hidroppable=function(B,w){return typeof B=="string"?r.fn.hidroppable.methods[B](this,w):(B=B||{},this.each(function(){var b,l=r.data(this,"hidroppable");l?r.extend(l.options,B):(r(b=this).addClass("hidroppable"),r(b).bind("_dragenter",function(h,g){r.data(b,"hidroppable").options.onDragEnter.apply(b,[h,g])}),r(b).bind("_dragleave",function(h,g){r.data(b,"hidroppable").options.onDragLeave.apply(b,[h,g])}),r(b).bind("_dragover",function(h,g){r.data(b,"hidroppable").options.onDragOver.apply(b,[h,g])}),r(b).bind("_drop",function(h,g){r.data(b,"hidroppable").options.onDrop.apply(b,[h,g])}),r.data(this,"hidroppable",{options:r.extend({},r.fn.hidroppable.defaults,r.fn.hidroppable.parseOptions(this),B)}))}))},r.fn.hidroppable.methods={options:function(w){return r.data(w[0],"hidroppable")&&r.data(w[0],"hidroppable").options||{}},enable:function(w){return w.each(function(){r(this).hidroppable({disabled:!1})})},disable:function(w){return w.each(function(){r(this).hidroppable({disabled:!0})})}},r.fn.hidroppable.parseOptions=function(B){var w=r(B);return r.extend({},r.hiprintparser.parseOptions(B,["accept"]),{disabled:!!w.attr("disabled")||void 0})},r.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(w,b){},onDragOver:function(w,b){},onDragLeave:function(w,b){},onDrop:function(w,b){}}})(jQuery)},function(R,L){var r;(r=jQuery).hiprintparser={parseOptions:function(w,b){var l=r(w),h={},g=r.trim(l.attr("data-options"));if(g&&(g.substring(0,1)!="{"&&(g="{"+g+"}"),h=new Function("return "+g)()),b){for(var E={},D=0;D<b.length;D++){var v=b[D];if(typeof v=="string")E[v]=v=="width"||v=="height"||v=="left"||v=="top"?parseInt(w.style[v])||void 0:l.attr(v);else for(var u in v){var S=v[u];S=="boolean"?E[u]=l.attr(u)?l.attr(u)=="true":void 0:S=="number"&&(E[u]=l.attr(u)=="0"?0:parseFloat(l.attr(u))||void 0)}}r.extend(h,E)}return h}},r.fn.dragLengthC=function(B,w){return w.moveUnit=="pt"?r.fn.dragLengthCNum(B,w)+"pt":r.fn.dragLengthCNum(B,w)},r.fn.dragLengthCNum=function(B,w){var b=3;if(w.moveUnit=="pt"){var l=.75*B;return w.minMove&&(b=w.minMove),Math.round(l/b)*b}return Math.round(l/b)*b}},function(R,L){var r,B,w;r=jQuery,B={maxPanelIndex:0},(w=function(l){this.options=r.data(l.target,"hireizeable").options,this.init(l.target)}).prototype={numHandlerText:function(l){return this.numHandler(l)+"pt"},numHandler:function(l){var h=1.5,g=.75*l;return this.options.minResize&&(h=this.options.minResize),Math.round(g/h)*h},init:function(l){var h=this;if(l.className.includes("hiprint-printElement")){this.initResizeBox(l);var g=new ResizeObserver((E,D)=>{h.refreshSizeBox(r(l))});g.observe(l)}},initResizeBox:function(l){var h=this;r(l).each(function(){var g;B.maxPanelIndex+=1,h.options.noContainer?g=r(l):g=r("<div panelIndex="+B.maxPanelIndex+' class="resize-panel"></div>'),h.appendHandler(g,r(this));var E={name:"n",target:r('<div class="resizebtn n"/>')},D={name:"s",target:r('<div class="resizebtn s"/>')},v={name:"w",target:r('<div class="resizebtn w"/>')},u={name:"e",target:r('<div class="resizebtn e"/>')},S={name:"ne",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},C={name:"nw",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},N={name:"se",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},U={name:"sw",target:r('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},x={name:"r",target:r('<div class="resizebtn r"/>')},j={name:"why",target:r('<div class="resizebtn why"/>')},T=r('<div class="size-box"></div>'),o=r('<div class="del-btn">\u2715</div>'),m=function(){var f=[j.target],P=h.options.showPoints;return r.each([x,E,D,v,u,S,C,N,U],function(c,d){r.inArray(d.name,P)>-1&&f.push(d.target)}),f};h.refreshSizeBox(void 0,T,g),h.options.draggable!=!1&&(g.append(o),g.on("mousedown",".del-btn",()=>{var I=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});l.dispatchEvent(I)})),h.appendHandler(m(),g),h.bindResizeEvent(g,r(this));var a=r(this);r(g).on("mousedown",".resizebtn",function(){a.addClass("resizeing")}),r(".easyui-droppable").on("mouseup",function(){a.removeClass("resizeing")}),h.bindTrigger(r(this))}),h.bindHidePanel()},addHandlerCss:function(l){for(var h=0;h<l.length;h++)l[h].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(l,h){h.find(".resize-panel").remove();for(var g=0;g<l.length;g++)h.append(l[g])},refreshSizeBox:function(l,h,g){if(!!this.options.showSizeBox){if(h)g.append(h);else if(l&&l.length){var E=l.height(),D=l[0].clientHeight,v=l.width(),u=l[0].clientWidth;E<=40?(r.each([".ne",".nw",".se",".sw"],function(N,U){var x=D-30;l.find(U).css("height",x>0?x:0),l.find(U).css("width",x>0?x:0),x<=0&&(U.includes("n")&&l.find(U).css("border-top","none"),U.includes("s")&&l.find(U).css("border-bottom","none"),U.includes("e")&&l.find(U).css("border-right","none"),U.includes("w")&&l.find(U).css("border-left","none"))}),r.each([".e",".w"],function(N,U){var x=D-30;l.find(U).css("height",x>0?x:10),l.find(U).css("top",D/2-(x>0?x:10)/2)})):r.each([".e",".w"],function(N,U){l.find(U).css("top",D/2-l.find(U).height()/2)}),v<=40?(r.each([".ne",".nw",".se",".sw"],function(N,U){var x=u-30;l.find(U).css("height",x>0?x:0),l.find(U).css("width",x>0?x:0),x<=0&&(U.includes("n")&&l.find(U).css("border-top","none"),U.includes("s")&&l.find(U).css("border-bottom","none"),U.includes("e")&&l.find(U).css("border-right","none"),U.includes("w")&&l.find(U).css("border-left","none"))}),r.each([".n",".s"],function(N,U){let x=u-30;l.find(U).css("width",x>0?x:10),l.find(U).css("left",u/2-(x>0?x:10)/2)})):r.each([".n",".s",".r"],function(N,U){U==".r",l.find(U).css("left",u/2-l.find(U).width()/2)}),D>40&&u>40&&(r.each([".ne",".nw",".se",".sw"],function(N,U){U.includes("n")&&l.find(U).css("border-top",""),U.includes("s")&&l.find(U).css("border-bottom",""),U.includes("e")&&l.find(U).css("border-right",""),U.includes("w")&&l.find(U).css("border-left","")}),r.each([".n",".s"],function(N,U){l.find(U).css("width","")}))}var S,C;if(l&&l.length)S=l[0].style,C=l.children("div[panelindex]").find(".size-box");else if(g&&g.parent()){var l=g.parent();if(l.hasClass("hiprint-printPaper-content"))return;S=l[0].style,S.width||(S.width=hinnn.px.toPt(l[0].offsetWidth)+"pt"),S.height||(S.height=hinnn.px.toPt(l[0].offsetHeight)+"pt"),C=l.children("div[panelindex]").find(".size-box")}C&&(C.text(S.width+" x "+S.height),C.css("top",-(C.outerHeight()||20)))}},triggerResize:function(l,h){h.ctrlKey||h.metaKey||(l.siblings().children("div[panelindex]").removeClass("selected"),l.siblings().children("div[panelindex]").css({display:"none"})),l.children("div[panelindex]").addClass("selected"),l.children("div[panelindex]").css({display:"block"}),this.refreshSizeBox(l)},bindResizeEvent:function(l,h){var g=this,E=0,D=0,v=l.width(),u=l.height(),S=l.offset().left,C=l.offset().top,N=g.options.noContainer?r(h):l.parent(),U=!1;l.on("mousedown",".e",function(c){E=c.pageX,v=l.width(),U=!0,c.stopPropagation()});var x=!1;l.on("mousedown",".s",function(c){D=c.pageY,u=l.height(),x=!0,c.stopPropagation()});var j=!1;l.on("mousedown",".w",function(c){E=c.pageX,v=l.width(),j=!0,S=N.position().left,c.stopPropagation()});var T=!1;l.on("mousedown",".n",function(c){D=c.pageY,u=l.height(),T=!0,C=N.position().top,c.stopPropagation()});var o=!1;l.on("mousedown",".ne",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),o=!0,C=N.position().top,c.stopPropagation()});var m=!1;l.on("mousedown",".nw",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),C=N.position().top,S=N.position().left,m=!0,c.stopPropagation()});var a=!1;l.on("mousedown",".se",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),a=!0,c.stopPropagation()});var I=!1;l.on("mousedown",".sw",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),I=!0,S=N.position().left,c.stopPropagation()});var f=!1;l.on("mousedown",".r",function(c){E=c.pageX,D=c.pageY,v=l.width(),u=l.height(),f=!0,S=v/2+N.position().left,C=u/2+N.position().top,c.stopPropagation()}),l.on("dblclick",".r",function(c){N.css({transform:"rotate("+0+"deg)"}),g.options.onResize(c,void 0,void 0,void 0,void 0,0),c.stopPropagation()});var P=!1;l.on("mousedown",function(c){g.options.onBeforeResize(),E=c.pageX,D=c.pageY,C=N.position().top,S=N.position().left,P=!1}),r(g.options.stage).on("mousemove",function(c){if(U){var d=(c.pageX-E)/g.options.getScale();l.css({width:"100%"}),N.css({width:g.numHandlerText(v+d)}),g.options.onResize(c,void 0,g.numHandler(v+d),void 0,void 0)}else if(x){var A=(c.pageY-D)/g.options.getScale();l.css({height:"100%"}),N.css({height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),void 0,void 0,void 0)}else if(f){l.css({height:"100%"});var z=c.pageX;c.pageY;var k=(z-E)*360/100;E=c.pageX;var F=N[0].style.transform&&parseInt(N[0].style.transform.slice(7,-1))||0,X=F+k;Math.abs(X)>360&&(X=X%360),N.css({transform:"rotate("+X+"deg)"}),g.options.onResize(c,void 0,void 0,void 0,void 0,X)}else if(j)d=(c.pageX-E)/g.options.getScale(),l.css({width:"100%"}),N.css({width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d)}),g.options.onResize(c,void 0,g.numHandler(v-d),void 0,g.options.noDrag?void 0:g.numHandler(S+d));else if(T)A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%"}),N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A)}),g.options.onResize(c,g.numHandler(u-A),void 0,g.options.noDrag?void 0:g.numHandler(C+A),void 0);else if(o)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%",width:"100%"}),c.shiftKey)N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A),width:g.numHandlerText(v+d)}),g.options.onResize(c,g.numHandler(u-A),g.numHandler(v+d),g.options.noDrag?void 0:g.numHandler(C+A),void 0);else{var V=u/v,K=v+d,tt=u-A,G=C+A;tt=K*V,G=C+A+u-A-tt,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt),top:g.numHandlerText(g.options.noDrag?void 0:G)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),g.options.noDrag?void 0:g.numHandler(G),void 0)}else if(m)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({height:"100%",width:"100%"}),c.shiftKey)N.css({height:g.numHandlerText(u-A),top:g.numHandlerText(g.options.noDrag?void 0:C+A),width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d)}),g.options.onResize(c,g.numHandler(u-A),g.numHandler(v-d),g.options.noDrag?void 0:g.numHandler(C+A),g.options.noDrag?void 0:g.numHandler(S+d));else{var V=u/v,K=v-d,tt=u-A,it=S+d,G=C+A;tt=K*V,it=S+d,G=C+A+u-A-tt,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt),left:g.numHandlerText(g.options.noDrag?void 0:it),top:g.numHandlerText(g.options.noDrag?void 0:G)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),g.options.noDrag?void 0:g.numHandler(G),g.options.noDrag?void 0:g.numHandler(it))}else if(a)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({width:"100%",height:"100%"}),c.shiftKey)N.css({width:g.numHandlerText(v+d),height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),g.numHandler(v+d),void 0,void 0);else{var V=u/v,K=v+d,tt=u+A;tt=K*V,N.css({width:g.numHandlerText(K),height:g.numHandlerText(tt)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),void 0,void 0)}else if(I)if(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),l.css({width:"100%",height:"100%"}),c.shiftKey)N.css({width:g.numHandlerText(v-d),left:g.numHandlerText(g.options.noDrag?void 0:S+d),height:g.numHandlerText(u+A)}),g.options.onResize(c,g.numHandler(u+A),g.numHandler(v-d),void 0,g.options.noDrag?void 0:g.numHandler(S+d));else{var V=u/v,K=v-d,tt=u+A,it=S+d;tt=K*V,N.css({width:g.numHandlerText(K),left:g.numHandlerText(g.options.noDrag?void 0:it),height:g.numHandlerText(tt)}),g.options.onResize(c,g.numHandler(tt),g.numHandler(K),void 0,g.options.noDrag?void 0:g.numHandler(it))}else P&&(d=(c.pageX-E)/g.options.getScale(),A=(c.pageY-D)/g.options.getScale(),N.css({left:g.numHandlerText(g.options.noDrag?void 0:S+d),top:g.numHandlerText(g.options.noDrag?void 0:C+A)}),g.options.onResize(c,void 0,void 0,g.options.noDrag?void 0:g.numHandler(C+A),g.options.noDrag?void 0:g.numHandler(S+d)))}).on("mouseup",function(c){(U||x||j||T||o||m||I||a||P||f)&&g.options.onStopResize(f),U=!1,x=!1,j=!1,T=!1,o=!1,m=!1,I=!1,a=!1,P=!1,f=!1})},bindTrigger:function(l){var h=this;l.on("click",function(g){g.stopPropagation(),h.triggerResize(l,g),r(".mouseRect").remove()})},bindHidePanel:function(l){if(B.maxPanelIndex<2){var h=this.options.stage;r(h).bind("click",function(g){g.target.className&&_typeof(g.target.className)=="string"&&(g.target.className.includes("design")||g.target.className.includes("hiprint-printPaper-content")||g.target.className.includes("paperBox"))&&(g.stopPropagation(),r("div[panelindex]").css({display:"none"}),r("div[panelindex]").removeClass("selected"))})}}},r.fn.extend({hireizeable:function(l){return this.each(function(){var h,g=r.data(this,"hireizeable");h=g?r.extend({},g.options,l||{}):r.extend({},r.fn.hireizeable.defaults,l||{}),r.data(this,"hireizeable",{options:h}),new w({target:this,onResize:function(D,v,u,S,C){},onStopResize:function(D,v,u,S,C){}})})}}),r.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(l,h,g,E,D){},onResize:function(l,h,g,E,D){},onStopResize:function(l,h,g,E,D){},noDrag:!1}},function(R,L){var r,B;jQuery,r="connected",B="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",token:null,reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(b){return window.io},send:function(b){try{this.socket.emit("news",b)}catch(l){console.log("send data error:"+(b||"")+JSON.stringify(l))}},getPrinterList:function(){return this.printerList},refreshPrinterList:function(){try{this.socket.emit("refreshPrinterList")}catch(b){console.log("refreshPrinterList error:"+JSON.stringify(b))}},getClients:function(){try{this.socket.emit("getClients")}catch(b){console.log("getClients error:"+JSON.stringify(b))}},getAddress:function(b,...l){try{this.socket.emit("address",b,...l)}catch(h){console.log("getAddress error:"+JSON.stringify(h))}},ippPrint:function(b){try{this.socket.emit("ippPrint",b)}catch(l){console.log("ippPrint error:"+JSON.stringify(l))}},ippRequest:function(b){try{this.socket.emit("ippRequest",b)}catch(l){console.log("ippRequest error:"+JSON.stringify(l))}},setHost:function(w,b,l){window.utools?this.host2=host2:this.host=w,typeof b=="function"&&(l=b,b=void 0),this.token=b,this.stop(),this.start(l)},start:function(b){var l=this,h=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{transports:["websocket"],reconnectionAttempts:5,auth:{token:this.token}}),this.socket.on("connect",function(g){h.opened=!0,console.log("Websocket opened."),l.socket.on("successs",function(E){hinnn.event.trigger("printSuccess_"+E.templateId,E)}),l.socket.on("error",function(E){hinnn.event.trigger("printError_"+E.templateId,E)}),l.socket.on("clients",function(E){h.clients=E,hinnn.event.trigger("clients",E)}),l.socket.on("clientInfo",function(E){h.clientInfo=E,hinnn.event.trigger("clientInfo",E)}),l.socket.on("printerList",function(E){h.printerList=E,hinnn.event.trigger("printerList",E)}),l.socket.on("address",function(E,D,v){hinnn.event.trigger("address_"+E,{addr:D,e:v})}),l.socket.on("ippPrinterConnected",function(E){hinnn.event.trigger("ippPrinterConnected",E)}),l.socket.on("ippPrinterCallback",function(E,D){hinnn.event.trigger("ippPrinterCallback",{err:E,res:D})}),l.socket.on("ippRequestCallback",function(E,D){hinnn.event.trigger("ippRequestCallback",{err:E,res:D})}),h.state=r,b&&b(!0,g)}),this.socket.on("connect_error",function(g){console.error(g),hinnn.event.trigger("connect_error",g)}),this.socket.on("disconnect",function(){h.opened=!1,b&&b(!1)})):console.log("WebSocket start fail"),b&&b(!1)},reconnect:function(){this.state!==r&&this.state!==B||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=B,this.state===B}}},function(R,L,r){var B=r(28);typeof B=="string"&&(B=[[R.i,B,""]]);var w={hmr:!0,transform:void 0,insertInto:void 0};r(30)(B,w),B.locals&&(R.exports=B.locals)},function(R,L,r){(R.exports=r(29)(!1)).push([R.i,"",""])},function(R,L,r){R.exports=function(B){var w=[];return w.toString=function(){return this.map(function(b){var l=function(h,g){var E=h[1]||"",D=h[3];if(!D)return E;if(g&&typeof btoa=="function"){var v=(S=D,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(S))))+" */"),u=D.sources.map(function(C){return"/*# sourceURL="+D.sourceRoot+C+" */"});return[E].concat(u).concat([v]).join(`
|
|
1572
|
+
`)}var S;return[E].join(`
|
|
1573
|
+
`)}(b,B);return b[2]?"@media "+b[2]+"{"+l+"}":l}).join("")},w.i=function(b,l){typeof b=="string"&&(b=[[null,b,""]]);for(var h={},g=0;g<this.length;g++){var E=this[g][0];E!=null&&(h[E]=!0)}for(g=0;g<b.length;g++){var D=b[g];D[0]!=null&&h[D[0]]||(l&&!D[2]?D[2]=l:l&&(D[2]="("+D[2]+") and ("+l+")"),w.push(D))}},w}},function(R,L,r){var B,w,b={},l=(B=function(){return window&&document&&document.all&&!window.atob},function(){return w===void 0&&(w=B.apply(this,arguments)),w}),h=function(a){var I={};return function(f,P){if(typeof f=="function")return f();if(I[f]===void 0){var c=function(d,A){return A?A.querySelector(d):document.querySelector(d)}.call(this,f,P);if(window.HTMLIFrameElement&&_instanceof(c,window.HTMLIFrameElement))try{c=c.contentDocument.head}catch{c=null}I[f]=c}return I[f]}}(),g=null,E=0,D=[],v=r(31);function u(a,I){for(var f=0;f<a.length;f++){var P=a[f],c=b[P.id];if(c){c.refs++;for(var d=0;d<c.parts.length;d++)c.parts[d](P.parts[d]);for(;d<P.parts.length;d++)c.parts.push(j(P.parts[d],I))}else{var A=[];for(d=0;d<P.parts.length;d++)A.push(j(P.parts[d],I));b[P.id]={id:P.id,refs:1,parts:A}}}}function S(a,I){for(var f=[],P={},c=0;c<a.length;c++){var d=a[c],A=I.base?d[0]+I.base:d[0],z={css:d[1],media:d[2],sourceMap:d[3]};P[A]?P[A].parts.push(z):f.push(P[A]={id:A,parts:[z]})}return f}function C(a,I){var f=h(a.insertInto);if(!f)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var P=D[D.length-1];if(a.insertAt==="top")P?P.nextSibling?f.insertBefore(I,P.nextSibling):f.appendChild(I):f.insertBefore(I,f.firstChild),D.push(I);else if(a.insertAt==="bottom")f.appendChild(I);else{if(_typeof(a.insertAt)!="object"||!a.insertAt.before)throw new Error(`[Style Loader]
|
|
1574
1574
|
|
|
1575
1575
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
|
1576
1576
|
Must be 'top', 'bottom', or Object.
|
|
1577
1577
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
|
1578
|
-
`);var
|
|
1579
|
-
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(
|
|
1580
|
-
`)});function f(r,c,b,j){var d=b?"":j.css;if(r.styleSheet)r.styleSheet.cssText=a(c,d);else{var g=document.createTextNode(d),E=r.childNodes;E[c]&&r.removeChild(E[c]),E.length?r.insertBefore(g,E[c]):r.appendChild(g)}}},function(J,z){J.exports=function(l){var U=typeof window<"u"&&window.location;if(!U)throw new Error("fixUrls requires window.location");if(!l||typeof l!="string")return l;var x=U.protocol+"//"+U.host,v=x+U.pathname.replace(/\/[^\/]*$/,"/");return l.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(p,m){var h,B=m.trim().replace(/^"(.*)"$/,function(A,y){return y}).replace(/^'(.*)'$/,function(A,y){return y});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(B)?p:(h=B.indexOf("//")===0?B:B.indexOf("/")===0?x+B:v+B.replace(/^\.\//,""),"url("+JSON.stringify(h)+")")})}},function(J,z){var l,U;l=jQuery,(U=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(h){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=l.extend(!0,{},this.defaults,p),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(v,p){var m=this,h=p;if(v&&v.length){var B=$__default.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(p){var A=v.length*m.opts.itemHeight-31;B.css({top:-A})}h||(h=B).addClass("hicontextmenuroot"),$__default.default.each(v,function(y,I){var S='<div class="nav">'+(I.desc||"")+"</div>",N='<i class="svicon '+I.icon+'"></i>';I.menus&&I.menus.length&&(S='<div class="nav">'+(I.desc||"")+"\u203A</div>");var D=!!I.disable&&I.disable(),Z=$__default.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+N+"<span>"+(I.text||"")+"</span></div>"+S+"</a></li>");D&&Z.addClass("disable"),I.borderBottom&&Z.addClass("borderBottom"),I.menus&&(Z.addClass("hicontextsubmenu"),m.renderMenu(I.menus,Z)),I.callback&&Z.click(function(H){$__default.default(this).hasClass("disable")||($__default.default(".hicontextmenuroot").remove(),I.callback()),H.stopPropagation()}),B.append(Z)}),p&&p.append(B)}p||$__default.default("body").append(h).find(".hicontextmenuroot").hide()},setPosition:function(v){var p=this,m=document.documentElement.clientWidth,h=document.documentElement.clientHeight,B=$__default.default(".hicontextmenuroot").height(),A=v.pageX,y=v.pageY;A>m-p.opts.width&&(A-=p.opts.width),y>h-B&&(y-=B),$__default.default(".hicontextmenuroot").css({left:A,top:y}).show()},eventBind:function(){var v=this;this.ele.on("contextmenu",function(p){$__default.default(".hicontextmenuroot").remove(),p.preventDefault();var m=v.opts.menus.filter(function(B){return typeof B.enabled=="boolean"?B.enabled:B.enabled()});if(!v.opts.table){var h=v.opts.panel.getSelectEls();h.length<=1&&$__default.default(this).trigger($__default.default.Event("click"))}v.renderMenu(m),v.setPosition(p),v.opts.target&&typeof v.opts.target=="function"&&v.opts.target(l(this))}),l("body").on("click",function(){l(".hicontextmenuroot").remove()})}},l.fn.hicontextMenu=function(x){return new U(this,x),this}},function(J,z,l){l.r(z),l(22),l(23),l(24),l(25);var U,x=l(0);l(26),window.hiLocalStorage=(U=window.localStorage||null,{saveLocalData:function(i,n){return!(!U||!n||(U.setItem(i,n),0))},getLocalData:function(i){return U?U.getItem(i):null},removeItem:function(i){U&&U.removeItem(i)}}),l(27),l(32);var v,p=function(){function P(){this.allElementTypes=[]}return Object.defineProperty(P,"instance",{get:function(){return P._instance||(P._instance=new P),P._instance},enumerable:!0,configurable:!0}),P.prototype.addPrintElementType=function(i){var n=this;if(i&&i.tid&&i.type){var u=nt.createPrintElementType(i),M=n.allElementTypes.findIndex(function(L){return L.tid==u.tid});M>=0&&n.allElementTypes.splice(M,1),n.allElementTypes.push(u)}return n},P.prototype.addPrintElementTypes=function(i,n){var u=this;this[i]?this[i]=this[i].concat(n):this[i]=n,n.forEach(function(M){u.allElementTypes=u.allElementTypes.concat(M.printElementTypes)})},P.prototype.removePrintElementTypes=function(i){var n=this;delete n[i],n.allElementTypes=n.allElementTypes.filter(function(u){return!u.tid.startsWith(i)})},P.prototype.getElementTypeGroups=function(i){return this[this.formatterModule(i)]||[]},P.prototype.getElementType=function(i){var n=this.allElementTypes.filter(function(u){return u.tid==i});if(n.length>0)return n[0]},P.prototype.updateElementType=function(i,n){var u=this.getElementType(i);if(n){var M=n(u),L=this.allElementTypes.findIndex(function(k){return k.tid==i});if(L>=0)return this.allElementTypes.splice(L,1,M),M}return u},P.prototype.formatterModule=function(i){return i||"_default"},P}(),m=l(1),h=l(2),B=function(){function P(){}return P.prototype.createPrintElementTypeHtml=function(i,n){var u=$__default.default('<ul class="hiprint-printElement-type"></ul>');return n.forEach(function(M){var L=$__default.default("<li></li>");L.append('<span class="title">'+M.name+"</span>");var k=$__default.default("<ul></ul>");L.append(k),M.printElementTypes.forEach(function(F){k.append('<li><a class="ep-draggable-item" tid="'+F.tid+'"> '+F.getText()+" </a></li>")}),u.append(L)}),$__default.default(i).append(u),u.find(".ep-draggable-item")},P}(),A=l(5),y=l(15),I=function(){return function(P){this.title=P.title,this.type=P.type}}(),S=function(){return function(P){this.title=P.title,this.type=P.type,this.editable=P.editable,this.columnDisplayEditable=P.columnDisplayEditable,this.columnDisplayIndexEditable=P.columnDisplayIndexEditable,this.columnTitleEditable=P.columnTitleEditable,this.columnResizable=P.columnResizable,this.columnAlignEditable=P.columnAlignEditable,this.isEnableEditField=P.isEnableEditField,this.isEnableContextMenu=P.isEnableContextMenu,this.isEnableInsertRow=P.isEnableInsertRow,this.isEnableDeleteRow=P.isEnableDeleteRow,this.isEnableInsertColumn=P.isEnableInsertColumn,this.isEnableDeleteColumn=P.isEnableDeleteColumn,this.isEnableMergeCell=P.isEnableMergeCell}}(),N=function(){function P(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(u,M){n.columns.push(n.createTableColumnArray(u))}),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 P.prototype.getText=function(){return this.text||this.title||""},P.prototype.createPrintElement=function(i){var n=this;return this.columns&&this.columns.length==0&&(i.columns||[]).forEach(function(u,M){n.columns.push(n.createTableColumnArray(u))}),new y.a(this,i)},P.prototype.getData=function(){return[{}]},P.prototype.createTableColumnArray=function(i){var n=[];return i.forEach(function(u,M){n.push(new A.a(u))}),n},P.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new S({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new I({title:this.title,type:this.type})},P.prototype.getFields=function(){return this.fields},P.prototype.getOptions=function(){return this.options||{}},P.prototype.getColumnByColumnId=function(i){return this.columnObj[i]},P.prototype.makeColumnObj=function(i){var n={};return i?i.forEach(function(u){(u.id||u.columnId)&&(n[u.id||u.columnId]=u)}):this.columns&&this.columns.forEach(function(u){u.forEach(function(M){(M.id||M.columnId)&&(n[M.id||M.columnId]=M)})}),this.columnObj=n,n},P}(),D=l(4),Z=l(3),H=(v=function(i,n){return(v=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(u,M){u.__proto__=M}||function(u,M){for(var L in M)M.hasOwnProperty(L)&&(u[L]=M[L])})(i,n)},function(P,i){function n(){this.constructor=P}v(P,i),P.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}),T=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new Z.a(u),M.options.setDefault(new Z.a(m.a.instance.image.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.image.showPoints},i.prototype.getData=function(n){var u="",M=this.getField();n?u=M?M.split(".").reduce((k,F)=>k?k[F]:n[F],!1)||"":this.options.src||this.printElementType.getData():u=this.options.src||this.printElementType.getData();var L=this.getFormatter();return L&&(u=L(u,this.options,this._currenttemplateData)),u||""},i.prototype.createTarget=function(n,u){var M=$__default.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(M,n,u),M},i.prototype.initSizeByHtml=function(n){P.prototype.initSizeByHtml.call(this,n),this.css(n,this.getData())},i.prototype.getConfigOptions=function(){return m.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,u,M){var L=n.find(".hiprint-printElement-image-content");L.find("img").length?L.find("img").attr("src",M):L.html('<img style="width:100%;height:100%;" src="'+M+'">'),M.length?L.find("img").css("cssText",`width:100%;height:100%;content:url("${M}")!important`):L.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&L.find("img").css("object-fit",this.options.fit)},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),w=function(P){function i(n){var u=this;return n=n||{},(u=P.call(this,n)||this).leftSpaceRemoved=n.leftSpaceRemoved,u}return H(i,P),i.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},i}(Z.a),a=l(8),f=function(){function P(i,n,u,M,L,k,F,it,X,ot,Q,lt,tt,at,ct,pt,bt,wt){this.panelPageRule=L,this.overPrintOptions=u,this.watermarkOptions=M,this.panelIdx=n,this.scale=k,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=i,this.width=x.a.mm.toPt(F),this.height=x.a.mm.toPt(it),this.mmwidth=F,this.mmheight=it,this.paperHeader=X>=0?X:0,this.paperFooter=ot,this.contentHeight=ot-X,this.index=bt,this.paperNumberLeft=Q||parseInt((this.width-30).toString()),this.paperNumberTop=lt||parseInt((this.height-22).toString()),this.paperNumberDisabled=tt,this.paperNumberContinue=at,this.paperNumberFormat=ct,this.backgroundColor=pt,this.referenceElement=wt?$__default.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 P.prototype.subscribePaperBaseInfoChanged=function(i){this.onPaperBaseInfoChanged=i},P.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}),x.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,i||"\u6A21\u677F\u8C03\u6574")},P.prototype.setFooter=function(i,n,u,M){this.firstPaperFooter=i,this.evenPaperFooter=n,this.oddPaperFooter=u,this.lastPaperFooter=M},P.prototype.setOffset=function(i,n){this.setLeftOffset(i),this.setTopOffset(n)},P.prototype.setLeftOffset=function(i){i?this.paperContentTarget.css("left",i+"pt"):this.paperContentTarget[0].style.left=""},P.prototype.setTopOffset=function(i){i?this.paperContentTarget.css("top",i+"pt"):this.paperContentTarget[0].style.top=""},P.prototype.createTarget=function(){this.target=$__default.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-m.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-m.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},P.prototype.createHeaderLine=function(){var i=this;this.headerLinetarget=$__default.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(n,u){u>=i.paperFooter&&(u=i.paperFooter-10),i.paperHeader=u>=0?u:0,i.triggerOnPaperBaseInfoChanged()})},P.prototype.createFooterLine=function(){var i=this;this.footerLinetarget=$__default.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-m.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(n,u){u<=i.paperHeader&&(u=i.paperHeader+10),i.paperFooter=u,i.triggerOnPaperBaseInfoChanged()})},P.prototype.createPaperNumber=function(i,n){var u=this,M=this.target.find(".hiprint-paperNumber");if(M.length)return M.html(i),M;var L=$__default.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+i+"</span>");return L.css("top",this.paperNumberTop+"pt"),L.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(L),n&&this.dragHeadLineOrFootLine(L,function(k,F){u.paperNumberTop=F,u.paperNumberLeft=k,u.triggerOnPaperBaseInfoChanged()},!0),L},P.prototype.getTarget=function(){return this.target},P.prototype.append=function(i){this.paperContentTarget.append(i)},P.prototype.updateReferenceElement=function(i){i&&(this.referenceElement=i)},P.prototype.updatePrintLine=function(i){i>=this.printLine&&(this.printLine=i)},P.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-m.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),$__default.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){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),$__default.default(this.paperNumberTarget).bind("click.hiprint",function(){x.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:{paperNumberFormat:n.paperNumberFormat,paperNumberDisabled:n.paperNumberDisabled,paperNumberContinue:n.paperNumberContinue},callback:function(M){n.paperNumberDisabled=!!M.paperNumberDisabled||void 0,n.paperNumberContinue=M.paperNumberContinue,n.paperNumberFormat=M.paperNumberFormat?M.paperNumberFormat:void 0,n.createPaperNumber(n.formatPaperNumber(1,1),!0),n.resetPaperNumber(n.paperNumberTarget),n.triggerOnPaperBaseInfoChanged()}})})},P.prototype.resetPaperNumber=function(i){this.paperNumberDisabled?i.addClass("hiprint-paperNumber-disabled"):i.removeClass("hiprint-paperNumber-disabled")},P.prototype.updatePaperNumber=function(i,n,u){var M=this.createPaperNumber(this.formatPaperNumber(i,n));this.paperNumberDisabled?M.hide():u&&this.index%2==1&&(M[0].style.left="",M.css("right",this.paperNumberLeft+"pt"))},P.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)+"`")},P.prototype.dragHeadLineOrFootLine=function(i,n,u){var M=this;i.hidraggable({axis:u?void 0:"v",onDrag:function(k,F,it){n(F,it)},moveUnit:"pt",minMove:m.a.instance.movingDistance,onBeforeDrag:function(k){h.a.instance.draging=!0},getScale:function(){return M.scale||1},onStopDrag:function(k){M.headerLinetarget.css("top",M.paperHeader+"pt"),M.footerLinetarget.css("top",M.paperFooter+"pt"),h.a.instance.draging=!1,M.footerLinetarget.removeClass("hidefooterLinetarget"),M.headerLinetarget.removeClass("hideheaderLinetarget")}})},P.prototype.resize=function(i,n){var u=this.paperFooter/this.height;this.width=x.a.mm.toPt(i),this.height=x.a.mm.toPt(n),this.mmwidth=i,this.mmheight=n,this.target.css("width",i+"mm"),this.target.css("height",n-m.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",i+"mm"),this.target.parent().parent().css("height",n-m.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-m.a.instance.paperHeightTrim+"mm");var M=this.height*u;this.paperFooter=M||this.height,this.footerLinetarget.css("top",M+"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")},P.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"))},P.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},P.prototype.getContentHeight=function(i){return this.getPaperFooter(i)-this.paperHeader},P.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1578
|
+
`);var c=h(a.insertAt.before,f);f.insertBefore(I,c)}}function N(a){if(a.parentNode===null)return!1;a.parentNode.removeChild(a);var I=D.indexOf(a);I>=0&&D.splice(I,1)}function U(a){var I=document.createElement("style");if(a.attrs.type===void 0&&(a.attrs.type="text/css"),a.attrs.nonce===void 0){var f=function(){return r.nc}();f&&(a.attrs.nonce=f)}return x(I,a.attrs),C(a,I),I}function x(a,I){Object.keys(I).forEach(function(f){a.setAttribute(f,I[f])})}function j(a,I){var f,P,c,d;if(I.transform&&a.css){if(!(d=typeof I.transform=="function"?I.transform(a.css):I.transform.default(a.css)))return function(){};a.css=d}if(I.singleton){var A=E++;f=g||(g=U(I)),P=m.bind(null,f,A,!1),c=m.bind(null,f,A,!0)}else a.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(f=function(z){var k=document.createElement("link");return z.attrs.type===void 0&&(z.attrs.type="text/css"),z.attrs.rel="stylesheet",x(k,z.attrs),C(z,k),k}(I),P=function(z,k,F){var X=F.css,V=F.sourceMap,K=k.convertToAbsoluteUrls===void 0&&V;(k.convertToAbsoluteUrls||K)&&(X=v(X)),V&&(X+=`
|
|
1579
|
+
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(V))))+" */");var tt=new Blob([X],{type:"text/css"}),G=z.href;z.href=URL.createObjectURL(tt),G&&URL.revokeObjectURL(G)}.bind(null,f,I),c=function(){N(f),f.href&&URL.revokeObjectURL(f.href)}):(f=U(I),P=function(z,k){var F=k.css,X=k.media;if(X&&z.setAttribute("media",X),z.styleSheet)z.styleSheet.cssText=F;else{for(;z.firstChild;)z.removeChild(z.firstChild);z.appendChild(document.createTextNode(F))}}.bind(null,f),c=function(){N(f)});return P(a),function(z){if(z){if(z.css===a.css&&z.media===a.media&&z.sourceMap===a.sourceMap)return;P(a=z)}else c()}}R.exports=function(a,I){if(typeof DEBUG<"u"&&DEBUG&&(typeof document>"u"?"undefined":_typeof(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(I=I||{}).attrs=_typeof(I.attrs)=="object"?I.attrs:{},I.singleton||typeof I.singleton=="boolean"||(I.singleton=l()),I.insertInto||(I.insertInto="head"),I.insertAt||(I.insertAt="bottom");var f=S(a,I);return u(f,I),function(P){for(var c=[],d=0;d<f.length;d++){var A=f[d];(z=b[A.id]).refs--,c.push(z)}for(P&&u(S(P,I),I),d=0;d<c.length;d++){var z;if((z=c[d]).refs===0){for(var k=0;k<z.parts.length;k++)z.parts[k]();delete b[z.id]}}}};var T,o=(T=[],function(a,I){return T[a]=I,T.filter(Boolean).join(`
|
|
1580
|
+
`)});function m(a,I,f,P){var c=f?"":P.css;if(a.styleSheet)a.styleSheet.cssText=o(I,c);else{var d=document.createTextNode(c),A=a.childNodes;A[I]&&a.removeChild(A[I]),A.length?a.insertBefore(d,A[I]):a.appendChild(d)}}},function(R,L){R.exports=function(r){var B=typeof window<"u"&&window.location;if(!B)throw new Error("fixUrls requires window.location");if(!r||typeof r!="string")return r;var w=B.protocol+"//"+B.host,b=w+B.pathname.replace(/\/[^\/]*$/,"/");return r.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,h){var g,E=h.trim().replace(/^"(.*)"$/,function(D,v){return v}).replace(/^'(.*)'$/,function(D,v){return v});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(E)?l:(g=E.indexOf("//")===0?E:E.indexOf("/")===0?w+E:b+E.replace(/^\.\//,""),"url("+JSON.stringify(g)+")")})}},function(R,L){var r,B;r=jQuery,(B=function(b,l){this.init(b,l)}).prototype={init:function(b,l){this.ele=b,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(g){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=r.extend(!0,{},this.defaults,l),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(b,l){var h=this,g=l;if(b&&b.length){var E=$__default.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(l){var D=b.length*h.opts.itemHeight-31;E.css({top:-D})}g||(g=E).addClass("hicontextmenuroot"),$__default.default.each(b,function(v,u){var S='<div class="nav">'+(u.desc||"")+"</div>",C='<i class="svicon '+u.icon+'"></i>';u.menus&&u.menus.length&&(S='<div class="nav">'+(u.desc||"")+"\u203A</div>");var N=!!u.disable&&u.disable(),U=$__default.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+C+"<span>"+(u.text||"")+"</span></div>"+S+"</a></li>");N&&U.addClass("disable"),u.borderBottom&&U.addClass("borderBottom"),u.menus&&(U.addClass("hicontextsubmenu"),h.renderMenu(u.menus,U)),u.callback&&U.click(function(x){$__default.default(this).hasClass("disable")||($__default.default(".hicontextmenuroot").remove(),u.callback()),x.stopPropagation()}),E.append(U)}),l&&l.append(E)}l||$__default.default("body").append(g).find(".hicontextmenuroot").hide()},setPosition:function(b){var l=this,h=document.documentElement.clientWidth,g=document.documentElement.clientHeight,E=$__default.default(".hicontextmenuroot").height(),D=b.pageX,v=b.pageY;D>h-l.opts.width&&(D-=l.opts.width),v>g-E&&(v-=E),$__default.default(".hicontextmenuroot").css({left:D,top:v}).show()},eventBind:function(){var b=this;this.ele.on("contextmenu",function(l){$__default.default(".hicontextmenuroot").remove(),l.preventDefault();var h=b.opts.menus.filter(function(E){return typeof E.enabled=="boolean"?E.enabled:E.enabled()});if(!b.opts.table){var g=b.opts.panel.getSelectEls();g.length<=1&&$__default.default(this).trigger($__default.default.Event("click"))}b.renderMenu(h),b.setPosition(l),b.opts.target&&typeof b.opts.target=="function"&&b.opts.target(r(this))}),r("body").on("click",function(){r(".hicontextmenuroot").remove()})}},r.fn.hicontextMenu=function(w){return new B(this,w),this}},function(R,L,r){r.r(L),r(22),r(23),r(24),r(25);var B,w=r(0);r(26),window.hiLocalStorage=(B=window.localStorage||null,{saveLocalData:function(e,i){return!(!B||!i||(B.setItem(e,i),0))},getLocalData:function(e){return B?B.getItem(e):null},removeItem:function(e){B&&B.removeItem(e)}}),r(27),r(32);var b,l=function(){function M(){this.allElementTypes=[]}return Object.defineProperty(M,"instance",{get:function(){return M._instance||(M._instance=new M),M._instance},enumerable:!0,configurable:!0}),M.prototype.addPrintElementType=function(e){var i=this;if(e&&e.tid&&e.type){var p=it.createPrintElementType(e),y=i.allElementTypes.findIndex(function(Z){return Z.tid==p.tid});y>=0&&i.allElementTypes.splice(y,1),i.allElementTypes.push(p)}return i},M.prototype.addPrintElementTypes=function(e,i){var p=this;this[e]?this[e]=this[e].concat(i):this[e]=i,i.forEach(function(y){p.allElementTypes=p.allElementTypes.concat(y.printElementTypes)})},M.prototype.removePrintElementTypes=function(e){var i=this;delete i[e],i.allElementTypes=i.allElementTypes.filter(function(p){return!p.tid.startsWith(e)})},M.prototype.getElementTypeGroups=function(e){return this[this.formatterModule(e)]||[]},M.prototype.getElementType=function(e){var i=this.allElementTypes.filter(function(p){return p.tid==e});if(i.length>0)return i[0]},M.prototype.updateElementType=function(e,i){var p=this.getElementType(e);if(i){var y=i(p),Z=this.allElementTypes.findIndex(function(W){return W.tid==e});if(Z>=0)return this.allElementTypes.splice(Z,1,y),y}return p},M.prototype.formatterModule=function(e){return e||"_default"},M}(),h=r(1),g=r(2),E=function(){function M(){}return M.prototype.createPrintElementTypeHtml=function(e,i){var p=$__default.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(y){var Z=$__default.default("<li></li>");Z.append('<span class="title">'+y.name+"</span>");var W=$__default.default("<ul></ul>");Z.append(W),y.printElementTypes.forEach(function(J){W.append('<li><a class="ep-draggable-item" tid="'+J.tid+'"> '+J.getText()+" </a></li>")}),p.append(Z)}),$__default.default(e).append(p),p.find(".ep-draggable-item")},M}(),D=r(5),v=r(15),u=function(){return function(M){this.title=M.title,this.type=M.type}}(),S=function(){return function(M){this.title=M.title,this.type=M.type,this.editable=M.editable,this.columnDisplayEditable=M.columnDisplayEditable,this.columnDisplayIndexEditable=M.columnDisplayIndexEditable,this.columnTitleEditable=M.columnTitleEditable,this.columnResizable=M.columnResizable,this.columnAlignEditable=M.columnAlignEditable,this.isEnableEditField=M.isEnableEditField,this.isEnableContextMenu=M.isEnableContextMenu,this.isEnableInsertRow=M.isEnableInsertRow,this.isEnableDeleteRow=M.isEnableDeleteRow,this.isEnableInsertColumn=M.isEnableInsertColumn,this.isEnableDeleteColumn=M.isEnableDeleteColumn,this.isEnableMergeCell=M.isEnableMergeCell}}(),C=function(){function M(e){var i=this;this.text=e.text,this.field=e.field,this.fields=e.fields,this.title=e.title,this.tid=e.tid,this.data=e.data,this.styler=e.styler,this.formatter=e.formatter,this.type=e.type,this.options=e.options,this.editable=e.editable!=null?e.editable:!0,this.columnDisplayEditable=e.columnDisplayEditable!=null?e.columnDisplayEditable:!0,this.columnDisplayIndexEditable=e.columnDisplayIndexEditable!=null?e.columnDisplayIndexEditable:!0,this.columnTitleEditable=e.columnTitleEditable!=null?e.columnTitleEditable:!0,this.columnResizable=e.columnResizable!=null?e.columnResizable:!0,this.columnAlignEditable=e.columnAlignEditable!=null?e.columnAlignEditable:!0,this.columns=[],(e.columns||[]).forEach(function(p,y){i.columns.push(i.createTableColumnArray(p))}),this.rowStyler=e.rowStyler,this.striped=e.striped,this.groupFields=e.groupFields||[],this.groupFormatter=e.groupFormatter,this.groupFooterFormatter=e.groupFooterFormatter,this.footerFormatter=e.footerFormatter,this.rowsColumnsMerge=e.rowsColumnsMerge,this.rowsColumnsMergeClean=e.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=e.gridColumnsFooterFormatter,this.isEnableEditField=e.isEnableEditField!=null?e.isEnableEditField:!0,this.isEnableContextMenu=e.isEnableContextMenu!=null?e.isEnableContextMenu:!0,this.isEnableInsertRow=e.isEnableInsertRow!=null?e.isEnableInsertRow:!0,this.isEnableDeleteRow=e.isEnableDeleteRow!=null?e.isEnableDeleteRow:!0,this.isEnableInsertColumn=e.isEnableInsertColumn!=null?e.isEnableInsertColumn:!0,this.isEnableDeleteColumn=e.isEnableDeleteColumn!=null?e.isEnableDeleteColumn:!0,this.isEnableMergeCell=e.isEnableMergeCell!=null?e.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return M.prototype.getText=function(){return this.text||this.title||""},M.prototype.createPrintElement=function(e){var i=this;return this.columns&&this.columns.length==0&&(e.columns||[]).forEach(function(p,y){i.columns.push(i.createTableColumnArray(p))}),new v.a(this,e)},M.prototype.getData=function(){return[{}]},M.prototype.createTableColumnArray=function(e){var i=[];return e.forEach(function(p,y){i.push(new D.a(p))}),i},M.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new S({title:this.title,type:this.type,editable:this.editable,columnDisplayEditable:this.columnDisplayEditable,columnDisplayIndexEditable:this.columnDisplayIndexEditable,columnResizable:this.columnResizable,columnAlignEditable:this.columnAlignEditable,columnTitleEditable:this.columnTitleEditable,isEnableEditField:this.isEnableEditField,isEnableContextMenu:this.isEnableContextMenu,isEnableInsertRow:this.isEnableInsertRow,isEnableDeleteRow:this.isEnableDeleteRow,isEnableInsertColumn:this.isEnableInsertColumn,isEnableDeleteColumn:this.isEnableDeleteColumn,isEnableMergeCell:this.isEnableMergeCell}):new u({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M.prototype.getColumnByColumnId=function(e){return this.columnObj[e]},M.prototype.makeColumnObj=function(e){var i={};return e?e.forEach(function(p){(p.id||p.columnId)&&(i[p.id||p.columnId]=p)}):this.columns&&this.columns.forEach(function(p){p.forEach(function(y){(y.id||y.columnId)&&(i[y.id||y.columnId]=y)})}),this.columnObj=i,i},M}(),N=r(4),U=r(3),x=(b=function(e,i){return(b=Object.setPrototypeOf||_instanceof({__proto__:[]},Array)&&function(p,y){p.__proto__=y}||function(p,y){for(var Z in y)y.hasOwnProperty(Z)&&(p[Z]=y[Z])})(e,i)},function(M,e){function i(){this.constructor=M}b(M,e),M.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}),j=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.image.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.image.showPoints},e.prototype.getData=function(i){var p="",y=this.getField();i?p=y?y.split(".").reduce((W,J)=>W?W[J]:i[J],!1)||"":this.options.src||this.printElementType.getData():p=this.options.src||this.printElementType.getData();var Z=this.getFormatter();return Z&&(p=Z(p,this.options,this._currenttemplateData)),p||""},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-image" style="position: absolute;"><div class="hiprint-printElement-image-content" style="height:100%;width:100%"></div></div>');return this.updateTargetImage(y,i,p),y},e.prototype.initSizeByHtml=function(i){M.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},e.prototype.getConfigOptions=function(){return h.a.instance.image},e.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},e.prototype.updateTargetImage=function(i,p,y){var Z=i.find(".hiprint-printElement-image-content");Z.find("img").length?Z.find("img").attr("src",y):Z.html('<img style="width:100%;height:100%;" src="'+y+'">'),y.length?Z.find("img").css("cssText",`width:100%;height:100%;content:url("${y}")!important`):Z.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&Z.find("img").css("object-fit",this.options.fit)},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),T=function(M){function e(i){var p=this;return i=i||{},(p=M.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,p}return x(e,M),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e}(U.a),o=r(8),m=function(){function M(e,i,p,y,Z,W,J,et,Q,nt,O,rt,q,ot,It,st,ht,Tt){this.panelPageRule=Z,this.overPrintOptions=p,this.watermarkOptions=y,this.panelIdx=i,this.scale=W,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=e,this.width=w.a.mm.toPt(J),this.height=w.a.mm.toPt(et),this.mmwidth=J,this.mmheight=et,this.paperHeader=Q>=0?Q:0,this.paperFooter=nt,this.contentHeight=nt-Q,this.index=ht,this.paperNumberLeft=O||parseInt((this.width-30).toString()),this.paperNumberTop=rt||parseInt((this.height-22).toString()),this.paperNumberDisabled=q,this.paperNumberContinue=ot,this.paperNumberFormat=It,this.backgroundColor=st,this.referenceElement=Tt?$__default.default.extend({},Tt):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0}),this.createTarget()}return M.prototype.subscribePaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged=e},M.prototype.triggerOnPaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberContinue:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat,backgroundColor:this.backgroundColor}),w.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,e||"\u6A21\u677F\u8C03\u6574")},M.prototype.setFooter=function(e,i,p,y){this.firstPaperFooter=e,this.evenPaperFooter=i,this.oddPaperFooter=p,this.lastPaperFooter=y},M.prototype.setOffset=function(e,i){this.setLeftOffset(e),this.setTopOffset(i)},M.prototype.setLeftOffset=function(e){e?this.paperContentTarget.css("left",e+"pt"):this.paperContentTarget[0].style.left=""},M.prototype.setTopOffset=function(e){e?this.paperContentTarget.css("top",e+"pt"):this.paperContentTarget[0].style.top=""},M.prototype.createTarget=function(){this.target=$__default.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-background"></div><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.paperBackgroundTarget=this.target.find(".hiprint-printPaper-background"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.backgroundColor&&this.paperBackgroundTarget.css("background-color",this.backgroundColor),this.zoom(this.scale)},M.prototype.createHeaderLine=function(){var e=this;this.headerLinetarget=$__default.default('<div class="hiprint-headerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.headerLinetarget.addClass("hideheaderLinetarget"),this.paperContentTarget.append(this.headerLinetarget),this.dragHeadLineOrFootLine(this.headerLinetarget,function(i,p){p>=e.paperFooter&&(p=e.paperFooter-10),e.paperHeader=p>=0?p:0,e.triggerOnPaperBaseInfoChanged()})},M.prototype.createFooterLine=function(){var e=this;this.footerLinetarget=$__default.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(i,p){p<=e.paperHeader&&(p=e.paperHeader+10),e.paperFooter=p,e.triggerOnPaperBaseInfoChanged()})},M.prototype.createPaperNumber=function(e,i){var p=this,y=this.target.find(".hiprint-paperNumber");if(y.length)return y.html(e),y;var Z=$__default.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+e+"</span>");return Z.css("top",this.paperNumberTop+"pt"),Z.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(Z),i&&this.dragHeadLineOrFootLine(Z,function(W,J){p.paperNumberTop=J,p.paperNumberLeft=W,p.triggerOnPaperBaseInfoChanged()},!0),Z},M.prototype.getTarget=function(){return this.target},M.prototype.append=function(e){this.paperContentTarget.append(e)},M.prototype.updateReferenceElement=function(e){e&&(this.referenceElement=e)},M.prototype.updatePrintLine=function(e){e>=this.printLine&&(this.printLine=e)},M.prototype.design=function(e){var i=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),e&&e.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createOverPrintOptions(!0,this.overPrintOptions),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),$__default.default(this.paperNumberTarget).bind("dblclick.hiprint",function(){i.paperNumberDisabled==null&&(i.paperNumberDisabled=!1),i.paperNumberDisabled=!i.paperNumberDisabled,i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged("\u521D\u59CB")}),this.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor),$__default.default(this.paperNumberTarget).bind("click.hiprint",function(){w.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled,paperNumberContinue:i.paperNumberContinue},callback:function(y){i.paperNumberDisabled=!!y.paperNumberDisabled||void 0,i.paperNumberContinue=y.paperNumberContinue,i.paperNumberFormat=y.paperNumberFormat?y.paperNumberFormat:void 0,i.createPaperNumber(i.formatPaperNumber(1,1),!0),i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged()}})})},M.prototype.resetPaperNumber=function(e){this.paperNumberDisabled?e.addClass("hiprint-paperNumber-disabled"):e.removeClass("hiprint-paperNumber-disabled")},M.prototype.updatePaperNumber=function(e,i,p){var y=this.createPaperNumber(this.formatPaperNumber(e,i));this.paperNumberDisabled?y.hide():p&&this.index%2==1&&(y[0].style.left="",y.css("right",this.paperNumberLeft+"pt"))},M.prototype.formatPaperNumber=function(e,i){return this.createOverPrintOptions(!1,this.overPrintOptions),this.createWaterMark(!1,e,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",e).replace("paperCount",i)+"`")},M.prototype.dragHeadLineOrFootLine=function(e,i,p){var y=this;e.hidraggable({axis:p?void 0:"v",onDrag:function(W,J,et){i(J,et)},moveUnit:"pt",minMove:h.a.instance.movingDistance,onBeforeDrag:function(W){g.a.instance.draging=!0},getScale:function(){return y.scale||1},onStopDrag:function(W){y.headerLinetarget.css("top",y.paperHeader+"pt"),y.footerLinetarget.css("top",y.paperFooter+"pt"),g.a.instance.draging=!1,y.footerLinetarget.removeClass("hidefooterLinetarget"),y.headerLinetarget.removeClass("hideheaderLinetarget")}})},M.prototype.resize=function(e,i){var p=this.paperFooter/this.height;this.width=w.a.mm.toPt(e),this.height=w.a.mm.toPt(i),this.mmwidth=e,this.mmheight=i,this.target.css("width",e+"mm"),this.target.css("height",i-h.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",e+"mm"),this.target.parent().parent().css("height",i-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.paperBackgroundTarget.css("width",this.mmwidth+"mm"),this.paperBackgroundTarget.css("height",this.mmheight-h.a.instance.paperHeightTrim+"mm");var y=this.height*p;this.paperFooter=y||this.height,this.footerLinetarget.css("top",y+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},M.prototype.zoom=function(e){e&&(this.scale=e,this.target.css("transform","scale("+e+")"),e>1?this.target.css("transform-origin","-"+e+"% -"+e+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},M.prototype.getPaperFooter=function(e){var i=this.index+e;return i==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},M.prototype.getContentHeight=function(e){return this.getPaperFooter(e)-this.paperHeader},M.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1581
1581
|
<img class="h_img" src="`+lImg+`" />
|
|
1582
1582
|
<img class="v_img" src="`+vImg+`" />
|
|
1583
|
-
</div>`)},
|
|
1584
|
-
`,"g"));if(
|
|
1585
|
-
|/g`,"g"),
|
|
1586
|
-
| |/g`,"g"),n)},P}(),j=function(P){function i(n){var u=P.call(this,n)||this;return u.title&&(u.title=b.replaceEnterAndNewlineAndTab(u.title,"")),u}return H(i,P),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}(Z.a),d=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new j(u),M.options.setDefault(new j(m.a.instance.text.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.getDesignTarget=function(n){return P.prototype.getDesignTarget.call(this,n)},i.prototype.getProxyTarget=function(n){n&&this.SetProxyTargetOption(n);var u=this.getData(),M=this.createTarget(this.printElementType.getText(!0),u);return this.updateTargetSize(M),this.css(M,u),M},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 m.a.instance.text},i.prototype.getTitle=function(){var n=this.options.title||this.printElementType.title||"";return n&&(n=b.replaceEnterAndNewlineAndTab(n,"")),n},i.prototype.getData=function(n){var u=void 0,M=this.getField();if(u=n?M&&M.split(".").reduce((k,F)=>k?k[F]:n?n[F]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return x.a.dateFormat(u,this.options.format);if(this.options.dataType=="boolen"){var L=this.options.format.split(":");if(L.length>0)return u===!0||u==="true"?L[0]:L[1]}}return u},i.prototype.updateTargetText=function(n,u,M,L,k){var F=this.getFormatter(),it=n.find(".hiprint-printElement-text-content"),X="";X=this.getField()?(this.options.getHideTitle()?"":u?u+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,F?F(u,M,this.options,this._currenttemplateData,n):M):M=hinnn.toUpperCase(this.options.upperCase,F?F(u,u,this.options,this._currenttemplateData,n):u);var ot=this.options.getTextType();if(ot=="text")it.html(X);else{if(ot=="barcode"){it.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{M?(JsBarcode__default.default(it.find(".hibarcode_imgcode")[0],M,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(x.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),it.find(".hibarcode_imgcode").attr("height","100%"),it.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||it.find(".hibarcode_displayValue").html(M)):it.html("")}catch(at){console.log(at),it.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(ot=="qrcode"){it.html("");try{if(M){n.css("line-height",0),it.css("text-align","center");var Q=this.options.getWidth()||20,lt=this.options.getHeight()||20,tt=$__default.default("<div></div>").css({width:(Q>lt?lt:Q)+"pt",height:(Q>lt?lt:Q)+"pt",display:"inline-block"});new QRCode(tt[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(M),it.html(tt)}}catch(at){console.log(at),it.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},i.prototype.onResize=function(n,u,M,L,k){P.prototype.onResize.call(this,n,u,M,L,k),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},i.prototype.createTarget=function(n,u,M){var L=$__default.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(L,n,u,M),L},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),g=function(P){function i(n){return P.call(this,n)||this}return H(i,P),i}(Z.a),E=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new g(u),M.options.setDefault(new g(m.a.instance.html.default).getPrintElementOptionEntity()),M}return H(i,P),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 u=n(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(u)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.html.showPoints},i.prototype.getConfigOptions=function(){return m.a.instance.html},i.prototype.createTarget=function(n,u){var M=$__default.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),L=this.getFormatter();if(L){var k=L(this.getData(),this.options,this._currenttemplateData);M.find(".hiprint-printElement-html-content").append(k)}else this.options.content&&M.find(".hiprint-printElement-html-content").append(this.options.content);return M},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),W=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new Z.a(u),M.options.setDefault(new Z.a(m.a.instance.vline.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return m.a.instance.vline},i.prototype.createTarget=function(n,u){return $__default.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.vline.showPoints},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),G=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new Z.a(u),M.options.setDefault(new Z.a(m.a.instance.hline.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getConfigOptions=function(){return m.a.instance.hline},i.prototype.createTarget=function(n,u){return $__default.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.hline.showPoints},i}(D.a),V=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new Z.a(u),M.options.setDefault(new Z.a(m.a.instance.rect.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.rect.showPoints},i.prototype.getConfigOptions=function(){return m.a.instance.rect},i.prototype.createTarget=function(n,u){return $__default.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),K=function(P){function i(n,u){var M=P.call(this,n)||this;return M.options=new Z.a(u),M.options.setDefault(new Z.a(m.a.instance.oval.default).getPrintElementOptionEntity()),M}return H(i,P),i.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var n=this.getData();this.css(this.designTarget,n)}},i.prototype.getReizeableShowPoints=function(){return this.options.showPoints||m.a.instance.oval.showPoints},i.prototype.getConfigOptions=function(){return m.a.instance.oval},i.prototype.createTarget=function(n,u){return $__default.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},i.prototype.getHtml=function(n,u,M){return this.getHtml2(n,u,M)},i}(D.a),Y=function(){function P(){}return P.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 T(i,n):i.type=="longText"?new c(i,n):i.type=="table"?new y.a(i,n):i.type=="html"?new E(i,n):i.type=="vline"?new W(i,n):i.type=="hline"?new G(i,n):i.type=="rect"?new V(i,n):i.type=="oval"?new K(i,n):void 0;for(var u,M=m.a.instance.getHooks("createPrintElement"),L=M.length,k=0;k<L&&(u=M[k].run({Config:m.a.instance,BasePrintElement:D.a,Options:Z.a,Supper:H,ele:i,eleOpt:n}),!u);k++);return u?new u(i,n):void 0},P}(),q=function(){function P(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 P.prototype.getText=function(i){return i?this.title||this.text||"":this.text||this.title||""},P.prototype.getData=function(){return this.data},P.prototype.createPrintElement=function(i){var n={};return $__default.default.extend(n,i||{}),Y.createPrintElement(this,n)},P.prototype.getPrintElementTypeEntity=function(){return new I({title:this.title,type:this.type})},P.prototype.getFields=function(){return this.fields},P.prototype.getOptions=function(){return this.options||{}},P}();l(16);var et=l(12);(function(P){function i(n){var u=P.call(this,n)||this;return(n=n||{}).columns?(u.columns=[],n.columns.forEach(function(M){u.columns.push(new et.a(M))})):u.columns=[new et.a({columns:[new A.a({width:100}),new A.a({width:100})]})],u.lHeight=n.lHeight,u.autoCompletion=n.autoCompletion,u.tableFooterRepeat=n.tableFooterRepeat,u}return H(i,P),i.prototype.getPrintElementOptionEntity=function(){var n=P.prototype.getPrintElementOptionEntity.call(this);return n.fields=this.fields,n.columns=[],this.columns.forEach(function(u){n.columns.push(u.getPrintElementOptionEntity())}),n},i})(Z.a);var R=function(P){function i(n){return P.call(this,n)||this}return H(i,P),i.prototype.createPrintElement=function(n){var u={};return $__default.default.extend(u,n||{}),Y.createPrintElement(this,u)},i.prototype.getPrintElementTypeEntity=function(){return new I({title:this.title,type:this.type})},i}(q),nt=function(){function P(){}return P.createPrintElementType=function(i){return i.type=i.type||"text",i.type=="text"?new R(i):i.type=="table"?new N(i):new q(i)},P}(),st=function(){function P(){}return P.ElementTypes=p.instance,P.getElementTypeGroups=function(i){var n=P.formatterModule(i);return p.instance[n]||[]},P.getElementType=function(i,n){if(i)return p.instance.getElementType(i);nt.createPrintElementType({type:n})},P.build=function(i,n){var u=P.formatterModule(n),M=new B().createPrintElementTypeHtml(i,this.getElementTypeGroups(u));this.enableDrag(M)},P.buildByHtml=function(i){this.enableDrag(i)},P.enableDrag=function(i){i.hidraggable({revert:!0,proxy:function(u){var M=h.a.instance.getDragingPrintElement(),L=M.printElement.getProxyTarget(M.printElement.printElementType.getOptions());return L.appendTo("body"),L.css("z-index","9999"),L},moveUnit:"pt",minMove:4,onBeforeDrag:function(u){h.a.instance.draging=!0;var M=$__default.default(u.data.target).attr("tid"),L=P.getElementType(M,$__default.default(u.data.target).attr("ptype"));if(!L)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${M}]`);var k=L.createPrintElement();if(!k&&L.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return h.a.instance.setDragingPrintElement(k),!0},onDrag:function(u,M,L){h.a.instance.getDragingPrintElement().updatePosition(M,L)},onStopDrag:function(u){h.a.instance.draging=!1}})},P.formatterModule=function(i){return i||"_default"},P}(),ut=function(){return function(P,i){var n=this;this.name=P,this.printElementTypes=[],i.forEach(function(u){n.printElementTypes.push(nt.createPrintElementType(u))})}}(),It=function(){return function(P){if(this.index=P.index,this.name=P.name,this.paperType=P.paperType,this.paperType){var i=h.a.instance[this.paperType];P.height?(this.height=P.height,this.width=P.width):(this.height=i.height,this.width=i.width)}else this.height=P.height,this.width=P.width;this.paperHeader=P.paperHeader||0,this.paperFooter=P.paperFooter||x.a.mm.toPt(this.height),this.printElements=P.printElements||[],this.paperNumberLeft=P.paperNumberLeft,this.paperNumberTop=P.paperNumberTop,this.paperNumberDisabled=P.paperNumberDisabled,this.paperNumberContinue=P.paperNumberContinue,this.paperNumberFormat=P.paperNumberFormat,this.backgroundColor=P.backgroundColor,this.panelPaperRule=P.panelPaperRule,this.panelPageRule=P.panelPageRule,this.rotate=P.rotate||void 0,this.firstPaperFooter=P.firstPaperFooter,this.evenPaperFooter=P.evenPaperFooter,this.oddPaperFooter=P.oddPaperFooter,this.lastPaperFooter=P.lastPaperFooter,this.topOffset=P.topOffset,this.fontFamily=P.fontFamily,this.leftOffset=P.leftOffset,this.orient=P.orient,this.overPrintOptions=P.overPrintOptions,this.watermarkOptions=P.watermarkOptions,this.scale=P.scale}}(),vt=function(){function P(i,n,u,M){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=u,this.lastTop=M}return P.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},P.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"})},P}(),yt=function(){function P(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 P.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(u){n.paperHeader=u.paperHeader,n.paperFooter=u.paperFooter,n.paperNumberLeft=u.paperNumberLeft,n.paperNumberTop=u.paperNumberTop,n.paperNumberDisabled=u.paperNumberDisabled,n.paperNumberFormat=u.paperNumberFormat,n.backgroundColor=u.backgroundColor}),this.printElements.forEach(function(u){n.appendDesignPrintElement(n.designPaper,u),u.design(i,n.designPaper)}),this.target.bind("click.hiprint",function(u){let M={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||{}};m.a.instance.paperNumberContinue||delete M.paperNumberContinue,x.a.event.trigger("BuildCustomOptionSettingEventKey_"+n.templateId,{options:M,callback:function(k){k.paperList&&n.resize(k.paperList.type,k.paperList.width,k.paperList.height,!1),n.overPrintOptions=n.designPaper.overPrintOptions=k.overPrintOptions||void 0,n.watermarkOptions=n.designPaper.watermarkOptions=k.watermarkOptions||void 0,n.panelPaperRule=k.panelPaperRule,n.panelPageRule=k.panelPageRule,n.firstPaperFooter=k.firstPaperFooter,n.evenPaperFooter=k.evenPaperFooter,n.oddPaperFooter=k.oddPaperFooter,n.lastPaperFooter=k.lastPaperFooter,n.leftOffset=k.leftOffset,n.topOffset=k.topOffset,n.fontFamily=k.fontFamily,n.orient=k.orient,n.paperNumberDisabled=n.designPaper.paperNumberDisabled=!!k.paperNumberDisabled||void 0,n.paperNumberContinue=n.designPaper.paperNumberContinue=k.paperNumberContinue,n.paperNumberFormat=k.paperNumberFormat,n.designPaper.paperNumberFormat=k.paperNumberFormat,n.backgroundColor=k.backgroundColor,n.designPaper.backgroundColor=k.backgroundColor,k.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(),k.overPrintOptions&&n.designPaper.createOverPrintOptions(!0,k.overPrintOptions),k.watermarkOptions&&n.designPaper.createWaterMark(!0,1,k.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},P.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=x.a.mm.toPt(i.width),this.designPaper.height=x.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-m.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-m.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-m.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",i.width+"mm"),this.designPaper.target.css("height",i.height-m.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-m.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",i.height-m.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",i.height),this.zoom(this.scale),this.printElements.forEach(function(u){u.designTarget&&u.designTarget.length&&u.designTarget.remove()}),this.printElements=[],this.initPrintElements(i.printElements),this.printElements.forEach(function(u){n.appendDesignPrintElement(n.designPaper,u),u.design(i,n.designPaper)}),x.a.event.trigger("hiprintTemplateUpdate_"+n.templateId)}catch(u){throw console.log("update error: "),console.log(u),new Error(`update error: ${u}`)}},P.prototype.bindShortcutKeyEvent=function(){var i=this;$__default.default(document).keydown(function(n){if(n.target.tagName!="INPUT"){(n.ctrlKey||n.metaKey)&&n.keyCode==90&&(n.shiftKey?x.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"redo"):x.a.event.trigger("hiprintTemplateDataShortcutKey_"+i.templateId,"undo"),n.preventDefault());var u=m.a.instance.getHooks("documentShortcutKeys");u&&u.forEach(M=>{M.run({panel:i,event:n})})}})},P.prototype.copyJson=function(i){var n=[];try{var u=this,M=$__default.default("#copyArea");M.length||(M=$__default.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),$__default.default("body").append(M)),n=u.getSelectEls();var L=[];n.forEach(function(F){L.push({options:F.options,printElementType:F.printElementType,id:F.id,templateId:F.templateId,cut:i||!1})});var k=JSON.stringify(L);M.text(k),M.css("visibility","visible"),M.focus(),M.setSelectionRange?M.setSelectionRange(0,M.value.length):M.select(),document.execCommand("copy"),M.css("visibility","hidden"),u.designPaper.target.trigger($__default.default.Event("click")),u.designPaper.target.focus(),console.log("copyJson success")}catch(F){n=[],console.log("copyJson error",F)}return n},P.prototype.cutJson=function(){try{var i=this,n=i.copyJson(!0);n&&n.forEach(function(u){i.deletePrintElement(u)})}catch(u){console.log("cutJson error",u)}},P.prototype.getSelectEls=function(){var i=this,n=[];return i.mouseRect&&i.mouseRect.target&&$__default.default(".mouseRect").length?n=i.getElementInRect(i.mouseRect):n=i.printElements.filter(function(u){return u.designTarget.children().last().css("display")=="block"&&!u.printElementType.type.includes("table")}),n},P.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 u=m.a.instance.getHooks("shortcutKeys");u&&u.forEach(M=>{M.run({panel:i,event:n})})}})},P.prototype.canPaste=function(i){var n=$__default.default("#copyArea");if(!n.length)return!1;var u=n.text(),M=JSON.parse(u);return Array.isArray(M)?M.some(function(L){return L.printElementType&&L.templateId}):!!(M.printElementType&&M.templateId)},P.prototype.pasteJson=function(i){var n=$__default.default("#copyArea");if(!!n.length)try{var u=this,M=n.text(),L=JSON.parse(M),k=!1;Array.isArray(L)?(k=L.some(function(F){return F.cut==!0}),L.forEach(function(F){u.pasteByJson(F,i)})):(k=L.cut,u.pasteByJson(L,i)),k&&$__default.default("#copyArea").text("{}")}catch(F){console.error("pasteJson error",F)}},P.prototype.pasteByJson=function(i,n){if(!(!i.printElementType&&!i.templateId)){var u=this,M=i.options,L=nt.createPrintElementType(i.printElementType),k=L.createPrintElement(M);if(!!k){var F=n&&n.currentTarget?!0:n,it=F?u.mouseOffsetX&&x.a.px.toPt(u.mouseOffsetX):M.left+=10,X=F?u.mouseOffsetY&&x.a.px.toPt(u.mouseOffsetY):M.top+=10;F||(k.options.setLeft(it),k.options.setTop(X)),k.setTemplateId(u.templateId),k.setPanel(u),u.appendDesignPrintElement(u.designPaper,k,!1),u.printElements.push(k),k.design(void 0,u.designPaper),console.log("pasteJson success"),x.a.event.trigger("hiprintTemplateDataChanged_"+u.templateId,i.cut?"\u526A\u5207":"\u590D\u5236"),k.designTarget.trigger($__default.default.Event("click"))}}},P.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=""},P.prototype.getConfig=function(){return m.a.instance},P.prototype.getHtml=function(i,n,u,M,L){var k=this;this.orderPrintElements();let F=k.getConfig();var it,X=u||[],ot=M||this,Q=void 0;return M?(Q=X[X.length-1],it=Q.getPanelTarget(),Q.updateReferenceElement(new a.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:Q.referenceElement.bottomInLastPaper,beginPrintPaperIndex:X.length-1,printTopInPaper:Q.referenceElement.bottomInLastPaper,endPrintPaperIndex:X.length-1}))):(it=ot.createTarget(),Q=ot.createNewPage(X.length),X.push(Q),it.append(Q.getTarget())),this.printElements.filter(function(lt){return!lt.isFixed()&&!lt.isHeaderOrFooter()}).forEach(function(lt){var tt=[],at=X[X.length-1];at.referenceElement.isPositionLeftOrRight(lt.options.getTop())?Q=X[at.referenceElement.beginPrintPaperIndex]:Q=X[at.referenceElement.endPrintPaperIndex],tt=lt.getHtml(Q,i),tt.forEach(function(ct,pt){ct.referenceElement&&(ct.referenceElement.endPrintPaperIndex=ct.referenceElement.beginPrintPaperIndex+tt.length-1),pt>0&&(Q.index<X.length-1?Q=X[Q.index+1]:(Q=ot.createNewPage(X.length,Q.referenceElement),X.push(Q)),it.append(Q.getTarget())),ct.target&&(lt.options.showInPage!="none"&&Q.append(ct.target),Q.updatePrintLine(ct.printLine),lt.onRendered(Q,ct.target)),pt==tt.length-1&&ct.referenceElement&&Q.updateReferenceElement(ct.referenceElement)})}),L&&L.templates.forEach(function(lt,tt){var at=lt.data||{},ct=lt.options||{};lt.template.printPanels.forEach(function(pt){pt.getHtml(at,ct,u,k)})}),F.paperNumberContinue&&(k.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...X]:hinnn._paperList=[...X]),M||(this.lastPaperFooter&&X[X.length-1].printLine>this.lastPaperFooter&&(Q=ot.createNewPage(X.length,Q.referenceElement),X.push(Q),it.append(Q.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&X.length%2==0&&(Q=ot.createNewPage(X.length,Q.referenceElement),X.push(Q),it.append(Q.getTarget())),this.panelPaperRule=="even"&&X.length%2==1&&(Q=ot.createNewPage(X.length,Q.referenceElement),X.push(Q),it.append(Q.getTarget()))),X.forEach(function(lt){lt.updatePaperNumber(lt.index+1,X.length,n.paperNumberToggleInEven),k.fillPaperHeaderAndFooter(lt,i,X.length),n&&(n.leftOffset!=null&<.setLeftOffset(n.leftOffset),n.topOffset!=null&<.setTopOffset(n.topOffset))}),it.prepend(this.getPrintStyle()),F.paperNumberContinue&&hinnn._paperList.forEach(function(lt,tt){lt.updatePaperNumber(tt+1,hinnn._paperList.length)})),it},P.prototype.resize=function(i,n,u,M){this.width=n,this.height=u,this.paperType=i,this.rotate=M,this.designPaper.resize(n,u)},P.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},P.prototype.zoom=function(i,n){n?this.scale=i:this.scale=void 0,this.designPaper.zoom(i)},P.prototype.getTarget=function(){return this.target},P.prototype.enable=function(){this.target.removeClass("hipanel-disable")},P.prototype.disable=function(){this.target.addClass("hipanel-disable")},P.prototype.getPanelEntity=function(i){var n=[];return this.printElements.forEach(function(u){n.push(u.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})},P.prototype.createTarget=function(){var i=$__default.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(i),i},P.prototype.droppablePaper=function(i){var n=this;i.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(M,L){var k=h.a.instance.getDragingPrintElement(),F=k.printElement,it=n.designPaper.scale||1,X=(k.left-x.a.px.toPt(n.target.children(".hiprint-printPaper").offset().left))/it,ot=(k.top-x.a.px.toPt(n.target.children(".hiprint-printPaper").offset().top))/it;F.updateSizeAndPositionOptions(n.mathroundToporleft(X),n.mathroundToporleft(ot)),F.setTemplateId(n.templateId),F.setPanel(n),n.appendDesignPrintElement(n.designPaper,F,!0),n.printElements.push(F),F.design(void 0,i),x.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u65B0\u589E")}})},P.prototype.initPrintElements=function(i){var n=this;this.printElements=[],i&&i.forEach(function(u){var M;if(M=u.printElementType?nt.createPrintElementType(u.printElementType):p.instance.getElementType(u.tid)){var L=M.createPrintElement(u.options);L.setTemplateId(n.templateId),L.setPanel(n),n.printElements.push(L)}else console.log("miss "+JSON.stringify(i))})},P.prototype.mathroundToporleft=function(i){var n=m.a.instance.movingDistance;return Math.round(i/n)*n},P.prototype.appendDesignPrintElement=function(i,n,u){n.setCurrenttemplateData(void 0);var M=n.getDesignTarget(i);M.addClass("design"),u&&n.initSizeByHtml(M),i.append(M)},P.prototype.createNewPage=function(i,n){var u=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 u.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),u.setOffset(this.leftOffset,this.topOffset),u},P.prototype.orderPrintElements=function(){this.printElements=x.a.orderBy(this.printElements,function(i){return i.options.getLeft()}),this.printElements=x.a.orderBy(this.printElements,function(i){return i.options.getTop()})},P.prototype.fillPaperHeaderAndFooter=function(i,n,u){this.printElements.filter(function(M){return M.isFixed()||M.isHeaderOrFooter()}).forEach(function(M){if(M.isFixed(),M.showInPage(i.index,u)){var L=M.getHtml(i,n);L.length&&i.append(L[0].target)}})},P.prototype.clear=function(){this.printElements.forEach(function(i){i.designTarget&&i.designTarget.length&&i.designTarget.remove()}),this.printElements=[],x.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},P.prototype.insertPrintElementToPanel=function(i){var n=this.getPrintElementTypeByEntity(i);if(n){var u=n.createPrintElement(i.options);u.setTemplateId(this.templateId),u.setPanel(this),this.printElements.push(u)}},P.prototype.addPrintText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="text",this.insertPrintElementToPanel(i)},P.prototype.addPrintHtml=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="html",this.insertPrintElementToPanel(i)},P.prototype.addPrintTable=function(i){if(i.printElementType=i.printElementType||{},i.printElementType.type="table",i.options&&i.options.columns){var n=$__default.default.extend({},i.options.columns);i.printElementType.columns=n.columns,n.columns=void 0}this.insertPrintElementToPanel(i)},P.prototype.addPrintImage=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="image",this.insertPrintElementToPanel(i)},P.prototype.addPrintLongText=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="longText",this.insertPrintElementToPanel(i)},P.prototype.addPrintVline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="vline",this.insertPrintElementToPanel(i)},P.prototype.addPrintHline=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="hline",this.insertPrintElementToPanel(i)},P.prototype.addPrintRect=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="rect",this.insertPrintElementToPanel(i)},P.prototype.addPrintOval=function(i){i.printElementType=i.printElementType||{},i.printElementType.type="oval",this.insertPrintElementToPanel(i)},P.prototype.getPrintElementTypeByEntity=function(i){var n;return(n=i.tid?p.instance.getElementType(i.tid):nt.createPrintElementType(i.printElementType))||console.log("miss "+JSON.stringify(i)),n},P.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1583
|
+
</div>`)},M.prototype.createOverPrintOptions=function(e,i){var p=this;if(!!i)if((i.type||1)==2||e){let y=p.paperBackgroundTarget.find("img");i.content&&i.content.length>1?y&&y.length>0?(y.attr("src",i.content),y.css("opacity",i.opacity||.7)):(y=$__default.default('<img style="width:100%;height:100%" />'),y.attr("src",i.content),y.css("opacity",i.opacity||.7),p.paperBackgroundTarget.append(y)):p.paperBackgroundTarget.empty()}else p.paperBackgroundTarget.empty()},M.prototype.createWaterMark=function(e,i,p){var y=this,Z=Object.assign({},p||{},{id:`${y.templateId}_${y.panelIdx}_${i||1}_${e?"design":y.index}`,watch:e,container:y.target[0]});!Z.container||(Z.content?(e&&watermark.destroyWatermark(Object.assign({},Z,{id:`${y.templateId}_${y.panelIdx}_${i||1}_${y.index}`})),watermark.createWatermark(Z)):watermark.destroyWatermark(Z))},M.prototype.displayHeight=function(){return this.mmheight-h.a.instance.paperHeightTrim+"mm"},M.prototype.displayWidth=function(){return this.mmwidth+"mm"},M.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},M}(),a=r(6),I=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new T(p),y.options.setDefault(new T(h.a.instance.longText.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getDesignTarget=function(i){var p=M.prototype.getDesignTarget.call(this,i);return p.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),p},e.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),y=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(y),this.css(y,p),y},e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData(),p=this.getHtml(this.designPaper)[0].target;this.designTarget.find(".hiprint-printElement-longText-content").html(p.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.longText},e.prototype.getTitle=function(){return this.options.title||this.printElementType.title},e.prototype.getData=function(i){var p=this.getField(),y=p&&p.split(".").reduce((Z,W)=>Z?Z[W]:i?i[W]:"",!1)||"";return i?y||"":this.options.testData||this.printElementType.getData()||""},e.prototype.updateTargetText=function(i,p,y){var Z=i.find(".hiprint-printElement-longText-content"),W=this.getText(p,y);Z.html(W)},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-longText" style="position: absolute;"><div class="hiprint-printElement-longText-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(y,i,p),y},e.prototype.getText=function(i,p){var y=this.getFormatter();return p&&(p=this.options.leftSpaceRemoved!=0?p.toString().replace(/^\s*/,""):p),(this.getField()?(this.options.getHideTitle()?"":i?i+"\uFF1A":"")+(y?y(i,p,this.options,this._currenttemplateData):p):y?y(i,i,this.options,this._currenttemplateData):i||"")||""},e.prototype.getHtml=function(i,p){this.setCurrenttemplateData(p),this.createTempContainer();var y=this.getPaperHtmlResult(i,p);return this.removeTempContainer(),y},e.prototype.getHeightByData=function(i){this.createTempContainer();var p=this.getPaperHtmlResult(new m("","",void 0,1e3,1e3,0,25e3,0,0,!0,!0,void 0,0,void 0),{},i);return this.removeTempContainer(),p[0].referenceElement.bottomInLastPaper-p[0].referenceElement.printTopInPaper},e.prototype.getLongTextIndent=function(){return this.options.longTextIndent?'<span class="long-text-indent" style="margin-left:'+this.options.longTextIndent+'pt"></span>':'<span class="long-text-indent"></span>'},e.prototype.getPaperHtmlResult=function(i,p,y){var Z=this,W=[],J=0,et=y||this.getData(p),Q=this.getText(this.getTitle(),et),nt=this.createTarget(this.getTitle(),this.options.testData||"");this.css(nt,et),p?this.updateTargetWidth(nt):this.updateTargetSize(nt),this.getTempContainer().html(""),this.getTempContainer().append(nt);var O=[this.getLongTextIndent()],rt=Q.split(new RegExp(`\r|
|
|
1584
|
+
`,"g"));if(rt.forEach(function(xt,kt){var Gt=Z.options.leftSpaceRemoved!=0?(xt||"").toString().replace(/^\s*/,""):xt;O=O.concat(Gt.split("")),kt<rt.length-1&&O.push("<br/>"+Z.getLongTextIndent())}),O.length==0&&(O=[""]),this.isHeaderOrFooter()||this.isFixed()||!p)return(st=this.getStringBySpecificHeight(O,25e3,nt)).target.css("left",this.options.displayLeft()),st.target.css("top",this.options.displayTop()),st.target[0].height="",W.push(new a.a({target:st.target,printLine:this.options.displayTop()+st.height,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:this.options.getTop()+st.height,printTopInPaper:this.options.getTop()})})),W;for(var q=this.getBeginPrintTopInPaperByReferenceElement(i);O.length>0;){var ot=0,It=i.getPaperFooter(J);J==0&&q>It&&i.panelPageRule!="none"&&(q=q-It+i.paperHeader,W.push(new a.a({target:void 0,printLine:void 0})),J++,ot=i.getContentHeight(J)-(q-i.paperHeader),It=i.getPaperFooter(J));var st=this.getStringBySpecificHeight(O,ot>0?ot:J==0?It-q:i.getContentHeight(J),nt);O.splice(0,st.length);var ht=void 0,Tt=void 0;st.target.css("left",this.options.displayLeft()),st.target[0].height="",J==0||ot>0?(Tt=q,st.target.css("top",Tt+"pt"),ht=O.length>0?q+st.height:this.options.lHeight!=null?q+(st.height>this.options.lHeight?st.height:this.options.lHeight):q+st.height):(Tt=i.paperHeader,st.target.css("top",Tt+"pt"),ht=Tt+st.height),W.push(new a.a({target:st.target,printLine:ht,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:ht,printTopInPaper:Tt})})),J++,p&&this.updatePanelHeight(ht+this.options.getHeight(),i)}return W},e.prototype.getStringBySpecificHeight=function(i,p,y){var Z=w.a.pt.toPx(p),W=void 0,J=this.panel.panelPageRule=="none";return J?W=this.IsPaginationIndex(i,i.length,-1,y):W=this.IsPaginationIndex(i,i.length-1,Z,y),W.IsPagination?W:this.BinarySearch(i,0,i.length-1,Z,y)},e.prototype.BinarySearch=function(i,p,y,Z,W){var J=Math.floor((p+y)/2);if(p>y)return W.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:W.clone()};var et=this.IsPaginationIndex(i,J,Z,W);return et.IsPagination?et:et.move=="l"?this.BinarySearch(i,p,J-1,Z,W):this.BinarySearch(i,J+1,y,Z,W)},e.prototype.IsPaginationIndex=function(i,p,y,Z){if(y==-1){Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p).join(""));var J=Z.height();return{IsPagination:!0,height:w.a.px.toPt(J),length:i.length,target:Z.clone()}}Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p+2).join(""));var W=Z.height();Z.find(".hiprint-printElement-longText-content").html(i.slice(0,p+1).join(""));var J=Z.height();return p>=i.length-1&&J<y?{IsPagination:!0,height:w.a.px.toPt(J),length:i.length,target:Z.clone()}:J<=y&&W>=y?{IsPagination:!0,height:J,length:p+1,target:Z.clone()}:J>=y?{IsPagination:!1,move:"l"}:W<=y?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},e}(N.a),f=function(){function M(){}return M.replaceEnterAndNewline=function(e,i){return e.replace(new RegExp(`\r|
|
|
1585
|
+
|/g`,"g"),i)},M.replaceTab=function(e,i){return e.replace(new RegExp(" /g","g"),i)},M.replaceEnterAndNewlineAndTab=function(e,i){return e.replace(new RegExp(`\r|
|
|
1586
|
+
| |/g`,"g"),i)},M}(),P=function(M){function e(i){var p=M.call(this,i)||this;return p.title&&(p.title=f.replaceEnterAndNewlineAndTab(p.title,"")),p}return x(e,M),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},e.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},e.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},e.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},e}(U.a),c=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new P(p),y.options.setDefault(new P(h.a.instance.text.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.getDesignTarget=function(i){return M.prototype.getDesignTarget.call(this,i)},e.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),y=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(y),this.css(y,p),y},e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetText(this.designTarget,this.getTitle(),i)}},e.prototype.getConfigOptions=function(){return h.a.instance.text},e.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=f.replaceEnterAndNewlineAndTab(i,"")),i},e.prototype.getData=function(i){var p=void 0,y=this.getField();if(p=i?y&&y.split(".").reduce((W,J)=>W?W[J]:i?i[J]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return w.a.dateFormat(p,this.options.format);if(this.options.dataType=="boolen"){var Z=this.options.format.split(":");if(Z.length>0)return p===!0||p==="true"?Z[0]:Z[1]}}return p},e.prototype.updateTargetText=function(i,p,y,Z,W){var J=this.getFormatter(),et=i.find(".hiprint-printElement-text-content"),Q="";Q=this.getField()?(this.options.getHideTitle()?"":p?p+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,J?J(p,y,this.options,this._currenttemplateData,i):y):y=hinnn.toUpperCase(this.options.upperCase,J?J(p,p,this.options,this._currenttemplateData,i):p);var nt=this.options.getTextType();if(nt=="text")et.html(Q);else{if(nt=="barcode"){et.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{y?(JsBarcode__default.default(et.find(".hibarcode_imgcode")[0],y,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(w.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),et.find(".hibarcode_imgcode").attr("height","100%"),et.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||et.find(".hibarcode_displayValue").html(y)):et.html("")}catch(ot){console.log(ot),et.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(nt=="qrcode"){et.html("");try{if(y){i.css("line-height",0),et.css("text-align","center");var O=this.options.getWidth()||20,rt=this.options.getHeight()||20,q=$__default.default("<div></div>").css({width:(O>rt?rt:O)+"pt",height:(O>rt?rt:O)+"pt",display:"inline-block"});new QRCode(q[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(y),et.html(q)}}catch(ot){console.log(ot),et.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},e.prototype.onResize=function(i,p,y,Z,W){M.prototype.onResize.call(this,i,p,y,Z,W),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},e.prototype.createTarget=function(i,p,y){var Z=$__default.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(Z,i,p,y),Z},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),d=function(M){function e(i){return M.call(this,i)||this}return x(e,M),e}(U.a),A=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new d(p),y.options.setDefault(new d(h.a.instance.html.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetHtml()}},e.prototype.updateTargetHtml=function(){var i=this.getFormatter();if(i){var p=i(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(p)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.html.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.html},e.prototype.createTarget=function(i,p){var y=$__default.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),Z=this.getFormatter();if(Z){var W=Z(this.getData(),this.options,this._currenttemplateData);y.find(".hiprint-printElement-html-content").append(W)}else this.options.content&&y.find(".hiprint-printElement-html-content").append(this.options.content);return y},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),z=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.vline.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.vline},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.vline.showPoints},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),k=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.hline.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return h.a.instance.hline},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.hline.showPoints},e}(N.a),F=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.rect.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.rect.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.rect},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),X=function(M){function e(i,p){var y=M.call(this,i)||this;return y.options=new U.a(p),y.options.setDefault(new U.a(h.a.instance.oval.default).getPrintElementOptionEntity()),y}return x(e,M),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||h.a.instance.oval.showPoints},e.prototype.getConfigOptions=function(){return h.a.instance.oval},e.prototype.createTarget=function(i,p){return $__default.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},e.prototype.getHtml=function(i,p,y){return this.getHtml2(i,p,y)},e}(N.a),V=function(){function M(){}return M.createPrintElement=function(e,i){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(e.type))return e.type=="text"?new c(e,i):e.type=="image"?new j(e,i):e.type=="longText"?new I(e,i):e.type=="table"?new v.a(e,i):e.type=="html"?new A(e,i):e.type=="vline"?new z(e,i):e.type=="hline"?new k(e,i):e.type=="rect"?new F(e,i):e.type=="oval"?new X(e,i):void 0;for(var p,y=h.a.instance.getHooks("createPrintElement"),Z=y.length,W=0;W<Z&&(p=y[W].run({Config:h.a.instance,BasePrintElement:N.a,Options:U.a,Supper:x,ele:e,eleOpt:i}),!p);W++);return p?new p(e,i):void 0},M}(),K=function(){function M(e){this.field=e.field,this.fields=e.fields,this.title=e.title,this.text=e.text,this.tid=e.tid,this.data=e.data,this.styler=e.styler,this.formatter=e.formatter,this.type=e.type,this.onRendered=e.onRendered,this.options=e.options}return M.prototype.getText=function(e){return e?this.title||this.text||"":this.text||this.title||""},M.prototype.getData=function(){return this.data},M.prototype.createPrintElement=function(e){var i={};return $__default.default.extend(i,e||{}),V.createPrintElement(this,i)},M.prototype.getPrintElementTypeEntity=function(){return new u({title:this.title,type:this.type})},M.prototype.getFields=function(){return this.fields},M.prototype.getOptions=function(){return this.options||{}},M}();r(16);var tt=r(12);(function(M){function e(i){var p=M.call(this,i)||this;return(i=i||{}).columns?(p.columns=[],i.columns.forEach(function(y){p.columns.push(new tt.a(y))})):p.columns=[new tt.a({columns:[new D.a({width:100}),new D.a({width:100})]})],p.lHeight=i.lHeight,p.autoCompletion=i.autoCompletion,p.tableFooterRepeat=i.tableFooterRepeat,p}return x(e,M),e.prototype.getPrintElementOptionEntity=function(){var i=M.prototype.getPrintElementOptionEntity.call(this);return i.fields=this.fields,i.columns=[],this.columns.forEach(function(p){i.columns.push(p.getPrintElementOptionEntity())}),i},e})(U.a);var G=function(M){function e(i){return M.call(this,i)||this}return x(e,M),e.prototype.createPrintElement=function(i){var p={};return $__default.default.extend(p,i||{}),V.createPrintElement(this,p)},e.prototype.getPrintElementTypeEntity=function(){return new u({title:this.title,type:this.type})},e}(K),it=function(){function M(){}return M.createPrintElementType=function(e){return e.type=e.type||"text",e.type=="text"?new G(e):e.type=="table"?new C(e):new K(e)},M}(),lt=function(){function M(){}return M.ElementTypes=l.instance,M.getElementTypeGroups=function(e){var i=M.formatterModule(e);return l.instance[i]||[]},M.getElementType=function(e,i){if(e)return l.instance.getElementType(e);it.createPrintElementType({type:i})},M.build=function(e,i){var p=M.formatterModule(i),y=new E().createPrintElementTypeHtml(e,this.getElementTypeGroups(p));this.enableDrag(y)},M.buildByHtml=function(e){this.enableDrag(e)},M.enableDrag=function(e){e.hidraggable({revert:!0,proxy:function(p){var y=g.a.instance.getDragingPrintElement(),Z=y.printElement.getProxyTarget(y.printElement.printElementType.getOptions());return Z.appendTo("body"),Z.css("z-index","9999"),Z},moveUnit:"pt",minMove:4,onBeforeDrag:function(p){g.a.instance.draging=!0;var y=$__default.default(p.data.target).attr("tid"),Z=M.getElementType(y,$__default.default(p.data.target).attr("ptype"));if(!Z)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${y}]`);var W=Z.createPrintElement();if(!W&&Z.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return g.a.instance.setDragingPrintElement(W),!0},onDrag:function(p,y,Z){g.a.instance.getDragingPrintElement().updatePosition(y,Z)},onStopDrag:function(p){g.a.instance.draging=!1}})},M.formatterModule=function(e){return e||"_default"},M}(),pt=function(){return function(M,e){var i=this;this.name=M,this.printElementTypes=[],e.forEach(function(p){i.printElementTypes.push(it.createPrintElementType(p))})}}(),ut=function(){return function(M){if(this.index=M.index,this.name=M.name,this.paperType=M.paperType,this.paperType){var e=g.a.instance[this.paperType];M.height?(this.height=M.height,this.width=M.width):(this.height=e.height,this.width=e.width)}else this.height=M.height,this.width=M.width;this.paperHeader=M.paperHeader||0,this.paperFooter=M.paperFooter||w.a.mm.toPt(this.height),this.printElements=M.printElements||[],this.paperNumberLeft=M.paperNumberLeft,this.paperNumberTop=M.paperNumberTop,this.paperNumberDisabled=M.paperNumberDisabled,this.paperNumberContinue=M.paperNumberContinue,this.paperNumberFormat=M.paperNumberFormat,this.backgroundColor=M.backgroundColor,this.panelPaperRule=M.panelPaperRule,this.panelPageRule=M.panelPageRule,this.rotate=M.rotate||void 0,this.firstPaperFooter=M.firstPaperFooter,this.evenPaperFooter=M.evenPaperFooter,this.oddPaperFooter=M.oddPaperFooter,this.lastPaperFooter=M.lastPaperFooter,this.topOffset=M.topOffset,this.fontFamily=M.fontFamily,this.leftOffset=M.leftOffset,this.orient=M.orient,this.overPrintOptions=M.overPrintOptions,this.watermarkOptions=M.watermarkOptions,this.scale=M.scale}}(),bt=function(){function M(e,i,p,y){this.bx=e,this.by=i,this.ex=e,this.ey=i,this.startX=this.minX=e,this.startY=this.minY=i,this.maxX=e,this.maxY=i,this.lastLeft=p,this.lastTop=y}return M.prototype.updateRect=function(e,i){this.ex=e,this.ey=i,this.minX=this.startX<e?this.startX:e,this.minY=this.startY<i?this.startY:i,this.maxX=this.startX<e?e:this.startX,this.maxY=this.startY<i?i:this.startY},M.prototype.updatePositionByMultipleSelect=function(e,i){e!=null&&(this.lastLeft=this.lastLeft+e),i!=null&&(this.lastTop=this.lastTop+i),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},M}(),vt=function(){function M(e,i){this.templateId=i,this.index=e.index,this.name=e.name,this.width=e.width,this.height=e.height,this.paperType=e.paperType,this.paperHeader=e.paperHeader,this.paperFooter=e.paperFooter,this.initPrintElements(e.printElements),this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberContinue=e.paperNumberContinue==null?!0:e.paperNumberContinue,this.paperNumberFormat=e.paperNumberFormat,this.backgroundColor=e.backgroundColor,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.fontFamily=e.fontFamily,this.orient=e.orient,this.target=this.createTarget(),this.rotate=e.rotate,this.overPrintOptions=e.overPrintOptions||{},this.watermarkOptions=e.watermarkOptions||{},this.scale=e.scale}return M.prototype.design=function(e){var i=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(e),this.designPaper.subscribePaperBaseInfoChanged(function(p){i.paperHeader=p.paperHeader,i.paperFooter=p.paperFooter,i.paperNumberLeft=p.paperNumberLeft,i.paperNumberTop=p.paperNumberTop,i.paperNumberDisabled=p.paperNumberDisabled,i.paperNumberFormat=p.paperNumberFormat,i.backgroundColor=p.backgroundColor}),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),this.target.bind("click.hiprint",function(p){let y={paperList:{type:i.paperType,width:i.width,height:i.height},panelPaperRule:i.panelPaperRule,panelPageRule:i.panelPageRule,firstPaperFooter:i.firstPaperFooter,evenPaperFooter:i.evenPaperFooter,oddPaperFooter:i.oddPaperFooter,lastPaperFooter:i.lastPaperFooter,leftOffset:i.leftOffset,topOffset:i.topOffset,fontFamily:i.fontFamily,orient:i.orient,paperDirections:void 0,paperNumberDisabled:i.paperNumberDisabled,paperNumberContinue:i.paperNumberContinue,paperNumberFormat:i.paperNumberFormat,backgroundColor:i.backgroundColor,overPrintOptions:i.overPrintOptions||{},watermarkOptions:i.watermarkOptions||{}};h.a.instance.paperNumberContinue||delete y.paperNumberContinue,w.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:y,callback:function(W){W.paperList&&i.resize(W.paperList.type,W.paperList.width,W.paperList.height,!1),i.overPrintOptions=i.designPaper.overPrintOptions=W.overPrintOptions||void 0,i.watermarkOptions=i.designPaper.watermarkOptions=W.watermarkOptions||void 0,i.panelPaperRule=W.panelPaperRule,i.panelPageRule=W.panelPageRule,i.firstPaperFooter=W.firstPaperFooter,i.evenPaperFooter=W.evenPaperFooter,i.oddPaperFooter=W.oddPaperFooter,i.lastPaperFooter=W.lastPaperFooter,i.leftOffset=W.leftOffset,i.topOffset=W.topOffset,i.fontFamily=W.fontFamily,i.orient=W.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!W.paperNumberDisabled||void 0,i.paperNumberContinue=i.designPaper.paperNumberContinue=W.paperNumberContinue,i.paperNumberFormat=W.paperNumberFormat,i.designPaper.paperNumberFormat=W.paperNumberFormat,i.backgroundColor=W.backgroundColor,i.designPaper.backgroundColor=W.backgroundColor,W.paperNumberFormat&&(i.designPaper.paperNumberTarget=i.designPaper.createPaperNumber(i.designPaper.formatPaperNumber(1,1),!0)),i.designPaper.setOffset(i.leftOffset,i.topOffset),i.css(i.target),i.designPaper.resetPaperNumber(i.designPaper.paperNumberTarget),i.designPaper.triggerOnPaperBaseInfoChanged(),W.overPrintOptions&&i.designPaper.createOverPrintOptions(!0,W.overPrintOptions),W.watermarkOptions&&i.designPaper.createWaterMark(!0,1,W.watermarkOptions)}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},M.prototype.update=function(e){try{var i=this;this.index=e.index||0,this.name=e.name||"",this.width=e.width,this.height=e.height,this.paperType=e.paperType,this.paperHeader=e.paperHeader,this.paperFooter=e.paperFooter,this.designPaper.width=w.a.mm.toPt(e.width),this.designPaper.height=w.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=e.height,this.designPaper.mmwidth=e.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",e.height-h.a.instance.paperHeightTrim+"mm"),this.overPrintOptions=e.overPrintOptions||{},this.designPaper.createOverPrintOptions(!0,this.overPrintOptions),this.watermarkOptions=e.watermarkOptions||{},this.designPaper.createWaterMark(!0,this.index,this.watermarkOptions),this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberContinue=e.paperNumberContinue,this.paperNumberFormat=e.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberContinue=this.paperNumberContinue,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.backgroundColor=e.backgroundColor,e.backgroundColor&&this.target.find(".hiprint-printPaper-background").css("background-color",e.backgroundColor),this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=e.fontFamily,this.orient=e.orient,this.rotate=e.rotate,this.scale=e.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=i.designPaper.scale||this.scale,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",e.width+"mm"),this.target.css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",e.height),this.target.parent().css("width",e.width+"mm"),this.target.parent().css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",e.width+"mm"),this.designPaper.target.css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.target.find(".hiprint-printPaper-background").css("width",e.width+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("width",e.width+"mm"),this.target.find(".hiprint-printPaper-background").css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.find(".hiprint-printPaper-background").css("height",e.height-h.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",e.height),this.zoom(this.scale),this.printElements.forEach(function(p){p.designTarget&&p.designTarget.length&&p.designTarget.remove()}),this.printElements=[],this.initPrintElements(e.printElements),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),w.a.event.trigger("hiprintTemplateUpdate_"+i.templateId)}catch(p){throw console.log("update error: "),console.log(p),new Error(`update error: ${p}`)}},M.prototype.bindShortcutKeyEvent=function(){var e=this;$__default.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?w.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"redo"):w.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"undo"),i.preventDefault());var p=h.a.instance.getHooks("documentShortcutKeys");p&&p.forEach(y=>{y.run({panel:e,event:i})})}})},M.prototype.copyJson=function(e){var i=[];try{var p=this,y=$__default.default("#copyArea");y.length||(y=$__default.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),$__default.default("body").append(y)),i=p.getSelectEls();var Z=[];i.forEach(function(J){Z.push({options:J.options,printElementType:J.printElementType,id:J.id,templateId:J.templateId,cut:e||!1})});var W=JSON.stringify(Z);y.text(W),y.css("visibility","visible"),y.focus(),y.setSelectionRange?y.setSelectionRange(0,y.value.length):y.select(),document.execCommand("copy"),y.css("visibility","hidden"),p.designPaper.target.trigger($__default.default.Event("click")),p.designPaper.target.focus(),console.log("copyJson success")}catch(J){i=[],console.log("copyJson error",J)}return i},M.prototype.cutJson=function(){try{var e=this,i=e.copyJson(!0);i&&i.forEach(function(p){e.deletePrintElement(p)})}catch(p){console.log("cutJson error",p)}},M.prototype.getSelectEls=function(){var e=this,i=[];return e.mouseRect&&e.mouseRect.target&&$__default.default(".mouseRect").length?i=e.getElementInRect(e.mouseRect):i=e.printElements.filter(function(p){return p.designTarget.children().last().css("display")=="block"&&!p.printElementType.type.includes("table")}),i},M.prototype.bingPasteEvent=function(){var e=this;e.designPaper.target.attr("tabindex","1"),e.designPaper.target.keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==86&&(e.pasteJson(i),i.preventDefault());var p=h.a.instance.getHooks("shortcutKeys");p&&p.forEach(y=>{y.run({panel:e,event:i})})}})},M.prototype.canPaste=function(e){var i=$__default.default("#copyArea");if(!i.length)return!1;var p=i.text(),y=JSON.parse(p);return Array.isArray(y)?y.some(function(Z){return Z.printElementType&&Z.templateId}):!!(y.printElementType&&y.templateId)},M.prototype.pasteJson=function(e){var i=$__default.default("#copyArea");if(!!i.length)try{var p=this,y=i.text(),Z=JSON.parse(y),W=!1;Array.isArray(Z)?(W=Z.some(function(J){return J.cut==!0}),Z.forEach(function(J){p.pasteByJson(J,e)})):(W=Z.cut,p.pasteByJson(Z,e)),W&&$__default.default("#copyArea").text("{}")}catch(J){console.error("pasteJson error",J)}},M.prototype.pasteByJson=function(e,i){if(!(!e.printElementType&&!e.templateId)){var p=this,y=e.options,Z=it.createPrintElementType(e.printElementType),W=Z.createPrintElement(y);if(!!W){var J=i&&i.currentTarget?!0:i,et=J?p.mouseOffsetX&&w.a.px.toPt(p.mouseOffsetX):y.left+=10,Q=J?p.mouseOffsetY&&w.a.px.toPt(p.mouseOffsetY):y.top+=10;J||(W.options.setLeft(et),W.options.setTop(Q)),W.setTemplateId(p.templateId),W.setPanel(p),p.appendDesignPrintElement(p.designPaper,W,!1),p.printElements.push(W),W.design(void 0,p.designPaper),console.log("pasteJson success"),w.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,e.cut?"\u526A\u5207":"\u590D\u5236"),W.designTarget.trigger($__default.default.Event("click"))}}},M.prototype.css=function(e){this.fontFamily?e.css("fontFamily",this.fontFamily):e[0].style.fontFamily="",this.backgroundColor?e.find(".hiprint-printPaper-background").css("background-color",this.backgroundColor):e[0].style.backgroundColor=""},M.prototype.getConfig=function(){return h.a.instance},M.prototype.getHtml=function(e,i,p,y,Z){var W=this;this.orderPrintElements();let J=W.getConfig();var et,Q=p||[],nt=y||this,O=void 0;return y?(O=Q[Q.length-1],et=O.getPanelTarget(),O.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:O.referenceElement.bottomInLastPaper,beginPrintPaperIndex:Q.length-1,printTopInPaper:O.referenceElement.bottomInLastPaper,endPrintPaperIndex:Q.length-1}))):(et=nt.createTarget(),O=nt.createNewPage(Q.length),Q.push(O),et.append(O.getTarget())),this.printElements.filter(function(rt){return!rt.isFixed()&&!rt.isHeaderOrFooter()}).forEach(function(rt){var q=[],ot=Q[Q.length-1];ot.referenceElement.isPositionLeftOrRight(rt.options.getTop())?O=Q[ot.referenceElement.beginPrintPaperIndex]:O=Q[ot.referenceElement.endPrintPaperIndex],q=rt.getHtml(O,e),q.forEach(function(It,st){It.referenceElement&&(It.referenceElement.endPrintPaperIndex=It.referenceElement.beginPrintPaperIndex+q.length-1),st>0&&(O.index<Q.length-1?O=Q[O.index+1]:(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O)),et.append(O.getTarget())),It.target&&(rt.options.showInPage!="none"&&O.append(It.target),O.updatePrintLine(It.printLine),rt.onRendered(O,It.target)),st==q.length-1&&It.referenceElement&&O.updateReferenceElement(It.referenceElement)})}),Z&&Z.templates.forEach(function(rt,q){var ot=rt.data||{},It=rt.options||{};rt.template.printPanels.forEach(function(st){st.getHtml(ot,It,p,W)})}),J.paperNumberContinue&&(W.paperNumberContinue?hinnn._paperList=[...hinnn._paperList||[],...Q]:hinnn._paperList=[...Q]),y||(this.lastPaperFooter&&Q[Q.length-1].printLine>this.lastPaperFooter&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&Q.length%2==0&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget())),this.panelPaperRule=="even"&&Q.length%2==1&&(O=nt.createNewPage(Q.length,O.referenceElement),Q.push(O),et.append(O.getTarget()))),Q.forEach(function(rt){rt.updatePaperNumber(rt.index+1,Q.length,i.paperNumberToggleInEven),W.fillPaperHeaderAndFooter(rt,e,Q.length),i&&(i.leftOffset!=null&&rt.setLeftOffset(i.leftOffset),i.topOffset!=null&&rt.setTopOffset(i.topOffset))}),et.prepend(this.getPrintStyle()),J.paperNumberContinue&&hinnn._paperList.forEach(function(rt,q){rt.updatePaperNumber(q+1,hinnn._paperList.length)})),et},M.prototype.resize=function(e,i,p,y){this.width=i,this.height=p,this.paperType=e,this.rotate=y,this.designPaper.resize(i,p)},M.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},M.prototype.zoom=function(e,i){i?this.scale=e:this.scale=void 0,this.designPaper.zoom(e)},M.prototype.getTarget=function(){return this.target},M.prototype.enable=function(){this.target.removeClass("hipanel-disable")},M.prototype.disable=function(){this.target.addClass("hipanel-disable")},M.prototype.getPanelEntity=function(e){var i=[];return this.printElements.forEach(function(p){i.push(p.getPrintElementEntity(e))}),new ut({index:this.index,name:this.name||this.index+1,width:this.width,height:this.height,paperType:this.paperType,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberDisabled:!!this.paperNumberDisabled||void 0,paperNumberContinue:this.paperNumberContinue==null?!0:this.paperNumberContinue,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,backgroundColor:this.backgroundColor?this.backgroundColor:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:i,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,overPrintOptions:this.overPrintOptions?this.overPrintOptions:void 0,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},M.prototype.createTarget=function(){var e=$__default.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(e),e},M.prototype.droppablePaper=function(e){var i=this;e.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(y,Z){var W=g.a.instance.getDragingPrintElement(),J=W.printElement,et=i.designPaper.scale||1,Q=(W.left-w.a.px.toPt(i.target.children(".hiprint-printPaper").offset().left))/et,nt=(W.top-w.a.px.toPt(i.target.children(".hiprint-printPaper").offset().top))/et;J.updateSizeAndPositionOptions(i.mathroundToporleft(Q),i.mathroundToporleft(nt)),J.setTemplateId(i.templateId),J.setPanel(i),i.appendDesignPrintElement(i.designPaper,J,!0),i.printElements.push(J),J.design(void 0,e),w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},M.prototype.initPrintElements=function(e){var i=this;this.printElements=[],e&&e.forEach(function(p){var y;if(y=p.printElementType?it.createPrintElementType(p.printElementType):l.instance.getElementType(p.tid)){var Z=y.createPrintElement(p.options);Z.setTemplateId(i.templateId),Z.setPanel(i),i.printElements.push(Z)}else console.log("miss "+JSON.stringify(e))})},M.prototype.mathroundToporleft=function(e){var i=h.a.instance.movingDistance;return Math.round(e/i)*i},M.prototype.appendDesignPrintElement=function(e,i,p){i.setCurrenttemplateData(void 0);var y=i.getDesignTarget(e);y.addClass("design"),p&&i.initSizeByHtml(y),e.append(y)},M.prototype.createNewPage=function(e,i){var p=new m(this.templateId,this.index,this.overPrintOptions,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberContinue,this.paperNumberFormat,this.backgroundColor,e,i);return p.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),p.setOffset(this.leftOffset,this.topOffset),p},M.prototype.orderPrintElements=function(){this.printElements=w.a.orderBy(this.printElements,function(e){return e.options.getLeft()}),this.printElements=w.a.orderBy(this.printElements,function(e){return e.options.getTop()})},M.prototype.fillPaperHeaderAndFooter=function(e,i,p){this.printElements.filter(function(y){return y.isFixed()||y.isHeaderOrFooter()}).forEach(function(y){if(y.isFixed(),y.showInPage(e.index,p)){var Z=y.getHtml(e,i);Z.length&&e.append(Z[0].target)}})},M.prototype.clear=function(){this.printElements.forEach(function(e){e.designTarget&&e.designTarget.length&&e.designTarget.remove()}),this.printElements=[],w.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},M.prototype.insertPrintElementToPanel=function(e){var i=this.getPrintElementTypeByEntity(e);if(i){var p=i.createPrintElement(e.options);p.setTemplateId(this.templateId),p.setPanel(this),this.printElements.push(p)}},M.prototype.addPrintText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="text",this.insertPrintElementToPanel(e)},M.prototype.addPrintHtml=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="html",this.insertPrintElementToPanel(e)},M.prototype.addPrintTable=function(e){if(e.printElementType=e.printElementType||{},e.printElementType.type="table",e.options&&e.options.columns){var i=$__default.default.extend({},e.options.columns);e.printElementType.columns=i.columns,i.columns=void 0}this.insertPrintElementToPanel(e)},M.prototype.addPrintImage=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="image",this.insertPrintElementToPanel(e)},M.prototype.addPrintLongText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="longText",this.insertPrintElementToPanel(e)},M.prototype.addPrintVline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="vline",this.insertPrintElementToPanel(e)},M.prototype.addPrintHline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="hline",this.insertPrintElementToPanel(e)},M.prototype.addPrintRect=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="rect",this.insertPrintElementToPanel(e)},M.prototype.addPrintOval=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="oval",this.insertPrintElementToPanel(e)},M.prototype.getPrintElementTypeByEntity=function(e){var i;return(i=e.tid?l.instance.getElementType(e.tid):it.createPrintElementType(e.printElementType))||console.log("miss "+JSON.stringify(e)),i},M.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1587
1587
|
@page
|
|
1588
1588
|
{
|
|
1589
1589
|
border:0;
|
|
@@ -1592,15 +1592,15 @@
|
|
|
1592
1592
|
`+this.getPrintSizeStyle()+`
|
|
1593
1593
|
}
|
|
1594
1594
|
</style>
|
|
1595
|
-
`},P.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":"")+";"},P.prototype.deletePrintElement=function(i){var n=this;this.printElements.filter(function(u,M){u.id==i.id&&(i.delete(),n.printElements.splice(M,1),x.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u5220\u9664"))})},P.prototype.getElementByTid=function(i){return this.printElements.filter(function(n){return n.printElementType.tid===i}).map(function(n,u){return n})},P.prototype.getElementByName=function(i){return this.printElements.filter(function(n){return n.options.name===i}).map(function(n,u){return n})},P.prototype.getElementById=function(i){return this.printElements.find(function(n){return n.id===i})},P.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},P.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},P.prototype.bindBatchMoveElement=function(){var i=this;this.designPaper.getTarget().on("mousemove",function(n){n.target.className&&_typeof(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,h.a.instance.draging||n.buttons===1&&h.a.instance.rectDraging&&i.mouseRect&&(i.mouseRect.updateRect(n.pageX,n.pageY),i.updateRectPanel(i.mouseRect)))}).on("mousedown",function(n){h.a.instance.rectDraging=!0,!(n.target.className&&_typeof(n.target.className)=="string"&&n.target.className.includes("editing"))&&(h.a.instance.draging||(i.mouseRect&&i.mouseRect.target&&i.mouseRect.target.remove(),n.buttons===1&&h.a.instance.rectDraging&&(_typeof(n.target.className)=="string"&&n.target.className.includes("hiprint-printPaper hidroppable design")||n.target.className.includes("hiprint-printPaper-content"))&&(i.mouseRect=new vt(n.pageX,n.pageY,h.a.instance.dragLengthCNum(n.pageX-i.designPaper.getTarget().offset().left,m.a.instance.movingDistance),h.a.instance.dragLengthCNum(n.pageY-i.designPaper.getTarget().offset().top,m.a.instance.movingDistance)))))}).on("mouseup",function(n){h.a.instance.rectDraging&&i.mouseRect&&$__default.default(".mouseRect").length&&($__default.default(".mouseRect").height()>10||$__default.default(".mouseRect").width()>10)&&setTimeout(function(){x.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300),h.a.instance.rectDraging=!1}).on("click",function(n){setTimeout(function(){x.a.event.trigger("hiprintTemplateMouseUp_"+i.templateId)},300)})},P.prototype.getElementInRect=function(i){var n=[];return this.printElements.filter(function(u){return u.options.draggable!==!1}).forEach(function(u){u.inRect(i)&&n.push(u)}),n},P.prototype.updateRectPanel=function(i){var n=this,u=this.designPaper.getTarget(),M=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=$__default.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),u.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(it,X,ot){n.mouseRect.lastLeft=n.mouseRect.lastLeft?x.a.px.toPt(n.mouseRect.target[0].offsetLeft):X/M,n.mouseRect.lastTop=n.mouseRect.lastTop?x.a.px.toPt(n.mouseRect.target[0].offsetTop):ot/M,(n.mouseRect.mouseRectSelectedElement||[]).forEach(function(Q){Q.updatePositionByMultipleSelect(X-n.mouseRect.lastLeft,ot-n.mouseRect.lastTop)}),n.mouseRect.lastLeft=X/M,n.mouseRect.lastTop=ot/M,h.a.instance.changed=!0},moveUnit:"pt",minMove:m.a.instance.movingDistance,onBeforeDrag:function(it){n.mouseRect.target.focus(),h.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(it){h.a.instance.changed&&x.a.event.trigger("hiprintTemplateDataChanged_"+u.templateId,"\u6846\u9009\u79FB\u52A8"),h.a.instance.draging=!1,h.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/M+"pt",top:i.lastTop/M+"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/M+"pt",top:i.lastTop/M+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var L="",k="rotate(180deg)";i.startX==i.minX||i.startX==i.maxX?i.ey>=i.by?(k="scaleX(-1)",L="left"):L="center top":(i.startY==i.minY||i.startY==i.maxY)&&(L=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/M+"pt",top:i.lastTop/M+"pt",transform:k,"transform-origin":L})}i.target.focus()},P.prototype.getContextMenuList=function(i){var n=this,u=h.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 L=n.getSelectEls();L.forEach(k=>{n.deletePrintElement(k)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){u.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){u.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){u.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){u.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return n.getSelectEls().length>1},disable:!1,callback:function(){u.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return n.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){u.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 L=n.getSelectEls(),k=L[0].options.width;L.forEach(F=>{F.updateOption("widthHeight",{width:k},!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 L=n.getSelectEls(),k=L[0].options.height;L.forEach(F=>{F.updateOption("widthHeight",{height:k},!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 L=(i.options.zIndex||1)+1;i.updateOption("zIndex",L)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return n.getSelectEls().length<=1},disable:!1,callback:function(){let L=(i.options.zIndex||1)-1;i.updateOption("zIndex",L)}},{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")}}]}]}},P.prototype.bingKeyboardMoveEvent=function(i){var n=this;i.attr("tabindex","1"),i.keydown(function(u){n.mouseRect.mouseRectSelectedElement||(n.mouseRect.mouseRectSelectedElement=n.getElementInRect(n.mouseRect));var M=n.mouseRect.mouseRectSelectedElement||[];switch(u.keyCode){case 8:case 46:M.forEach(function(L){n.deletePrintElement(L)}),x.a.event.trigger("clearSettingContainer");break;case 37:n.mouseRect.updatePositionByMultipleSelect(0-m.a.instance.movingDistance,0),M.forEach(function(L){L.updatePositionByMultipleSelect(0-m.a.instance.movingDistance,0)}),u.preventDefault();break;case 38:n.mouseRect.updatePositionByMultipleSelect(0,0-m.a.instance.movingDistance),M.forEach(function(L){L.updatePositionByMultipleSelect(0,0-m.a.instance.movingDistance)}),u.preventDefault();break;case 39:n.mouseRect.updatePositionByMultipleSelect(m.a.instance.movingDistance,0),M.forEach(function(L){L.updatePositionByMultipleSelect(m.a.instance.movingDistance,0)}),u.preventDefault();break;case 40:n.mouseRect.updatePositionByMultipleSelect(0,m.a.instance.movingDistance),M.forEach(function(L){L.updatePositionByMultipleSelect(0,m.a.instance.movingDistance)}),u.preventDefault()}[37,38,39,40].includes(u.keyCode)&&x.a.event.trigger("hiprintTemplateDataChanged_"+n.templateId,"\u6846\u9009\u79FB\u52A8")})},P}(),gt=function(){return function(P){if(P)if(P.panels){this.panels=[];for(var i=0;i<P.panels.length;i++)this.panels.push(new It(P.panels[i]))}else this.panels=[]}}(),Mt=l(9),ft=function(){function P(i,n){var u=this;this.printElementOptionSettingPanel={},this.printTemplate=i,this.settingContainer=$__default.default(n),x.a.event.on(i.getPrintElementSelectEventKey(),function(M){u.buildSetting(M)}),x.a.event.on(i.getBuildCustomOptionSettingEventKey(),function(M){u.buildSettingByCustomOptions(M)}),x.a.event.on("clearSettingContainer",function(){u.clearSettingContainer()})}return P.prototype.init=function(){},P.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},P.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},P.prototype.buildSetting=function(i){var n=this,u=this,M=i.printElement,L=i.customOptionsInput,k=M.getPrintElementOptionTabs();n.clearSettingContainer();var F;k.length?(F=$__default.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),k.forEach(function(Q){var lt=$__default.default('<li class="prop-tab-item"><span class="tab-title">'+Q.name+"</span></li>");F.find(".prop-tab-items").append(lt);var tt=$__default.default('<div class="hiprint-option-items" data-title="'+Q.name+'"></div>');Q.list.forEach(function(at){at.submit=function(pt){M.submitOption()};var ct=at.createTarget(M,M.options,M.printElementType);n.printElementOptionSettingPanel[at.name]=ct,tt.append(ct),["columns","dataType"].includes(at.name)?at.setValue(M.options[at.name],M.options,M.printElementType):["coordinate","widthHeight"].includes(at.name)?at.setValue(M.options,M):at.setValue(M.options[at.name]||M.printElementType[at.name]),ct.find("textarea").bind("click.textarea",function(pt){n.printTemplate&&n.printTemplate.onFunctionClick&&n.printTemplate.onFunctionClick(at,n.lastPrintElement,pt)})}),Q.list.length==0&&L&&L.length&&L.forEach(function(at){var ct=at.callback;at.callback=function(bt){ct&&ct(bt)};var pt=at.optionItems;at.title&&tt.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1595
|
+
`},M.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},M.prototype.deletePrintElement=function(e){var i=this;this.printElements.filter(function(p,y){p.id==e.id&&(e.delete(),i.printElements.splice(y,1),w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u5220\u9664"))})},M.prototype.getElementByTid=function(e){return this.printElements.filter(function(i){return i.printElementType.tid===e}).map(function(i,p){return i})},M.prototype.getElementByName=function(e){return this.printElements.filter(function(i){return i.options.name===e}).map(function(i,p){return i})},M.prototype.getElementById=function(e){return this.printElements.find(function(i){return i.id===e})},M.prototype.getFieldsInPanel=function(){var e=[];return this.printElements.forEach(function(i){i.options&&i.options.field?e.push(i.options.field):i.printElementType.field&&e.push(i.printElementType.field)}),e},M.prototype.getTestData=function(){var e={};return this.printElements.forEach(function(i){i.printElementType.type!="table"&&(i.options&&i.options.field?e[i.options.field]=i.options.testData:i.printElementType.field&&(e[i.printElementType.field]=i.printElementType.data||i.options.testData))}),e},M.prototype.bindBatchMoveElement=function(){var e=this;this.designPaper.getTarget().on("mousemove",function(i){i.target.className&&_typeof(i.target.className)=="string"&&i.target.className.includes("editing")||(i.currentTarget.className==e.designPaper.target[0].className?(e.mouseOffsetX=i.offsetX,e.mouseOffsetY=i.offsetY):e.mouseOffsetX=e.mouseOffsetY=void 0,g.a.instance.draging||i.buttons===1&&g.a.instance.rectDraging&&e.mouseRect&&(e.mouseRect.updateRect(i.pageX,i.pageY),e.updateRectPanel(e.mouseRect)))}).on("mousedown",function(i){g.a.instance.rectDraging=!0,!(i.target.className&&_typeof(i.target.className)=="string"&&i.target.className.includes("editing"))&&(g.a.instance.draging||(e.mouseRect&&e.mouseRect.target&&e.mouseRect.target.remove(),i.buttons===1&&g.a.instance.rectDraging&&(_typeof(i.target.className)=="string"&&i.target.className.includes("hiprint-printPaper hidroppable design")||i.target.className.includes("hiprint-printPaper-content"))&&(e.mouseRect=new bt(i.pageX,i.pageY,g.a.instance.dragLengthCNum(i.pageX-e.designPaper.getTarget().offset().left,h.a.instance.movingDistance),g.a.instance.dragLengthCNum(i.pageY-e.designPaper.getTarget().offset().top,h.a.instance.movingDistance)))))}).on("mouseup",function(i){g.a.instance.rectDraging&&e.mouseRect&&$__default.default(".mouseRect").length&&($__default.default(".mouseRect").height()>10||$__default.default(".mouseRect").width()>10)&&setTimeout(function(){w.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300),g.a.instance.rectDraging=!1}).on("click",function(i){setTimeout(function(){w.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300)})},M.prototype.getElementInRect=function(e){var i=[];return this.printElements.filter(function(p){return p.options.draggable!==!1}).forEach(function(p){p.inRect(e)&&i.push(p)}),i},M.prototype.updateRectPanel=function(e){var i=this,p=this.designPaper.getTarget(),y=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=$__default.default('<div tabindex="1" class="mouseRect" style="z-index:2;position: absolute;opacity:0.2;border: 1px dashed #000;background-color:#31676f;"><span></span></div>'),p.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(et,Q,nt){i.mouseRect.lastLeft=i.mouseRect.lastLeft?w.a.px.toPt(i.mouseRect.target[0].offsetLeft):Q/y,i.mouseRect.lastTop=i.mouseRect.lastTop?w.a.px.toPt(i.mouseRect.target[0].offsetTop):nt/y,(i.mouseRect.mouseRectSelectedElement||[]).forEach(function(O){O.updatePositionByMultipleSelect(Q-i.mouseRect.lastLeft,nt-i.mouseRect.lastTop)}),i.mouseRect.lastLeft=Q/y,i.mouseRect.lastTop=nt/y,g.a.instance.changed=!0},moveUnit:"pt",minMove:h.a.instance.movingDistance,onBeforeDrag:function(et){i.mouseRect.target.focus(),g.a.instance.draging=!0,i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect)),i.mouseRect.target.css({transform:"unset"})},getScale:function(){return i.designPaper.scale||1},onStopDrag:function(et){g.a.instance.changed&&w.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,"\u6846\u9009\u79FB\u52A8"),g.a.instance.draging=!1,g.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(i.getContextMenuList())),e.ex>=e.bx&&e.ey>=e.by)this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:"unset"});else if(e.ex<e.bx&&e.ey<e.by)this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var Z="",W="rotate(180deg)";e.startX==e.minX||e.startX==e.maxX?e.ey>=e.by?(W="scaleX(-1)",Z="left"):Z="center top":(e.startY==e.minY||e.startY==e.maxY)&&(Z=e.ex>=e.bx?"right":"left"),this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/y+"pt",top:e.lastTop/y+"pt",transform:W,"transform-origin":Z})}e.target.focus()},M.prototype.getContextMenuList=function(e){var i=this,p=g.a.instance.getPrintTemplateById(this.templateId);return{panel:i,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){i.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){i.copyJson(),i.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){i.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){var Z=i.getSelectEls();Z.forEach(W=>{i.deletePrintElement(W)})}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){p.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return i.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){p.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u5BBD",enabled:function(){return i.getSelectEls().length>1},disable:!1,callback:function(){var Z=i.getSelectEls(),W=Z[0].options.width;Z.forEach(J=>{J.updateOption("widthHeight",{width:W},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u5143\u7D20\u6392\u5E8F\u7B2C\u4E00\u7684\u9AD8",enabled:function(){return i.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var Z=i.getSelectEls(),W=Z[0].options.height;Z.forEach(J=>{J.updateOption("widthHeight",{height:W},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){e.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(e.options.zIndex||1)+1;e.updateOption("zIndex",Z)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return i.getSelectEls().length<=1},disable:!1,callback:function(){let Z=(e.options.zIndex||1)-1;e.updateOption("zIndex",Z)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return i.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){e.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return i.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){e.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){e.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){e.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){e.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){e.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){e.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){e.updateOption("textContentVerticalAlign","bottom")}}]}]}},M.prototype.bingKeyboardMoveEvent=function(e){var i=this;e.attr("tabindex","1"),e.keydown(function(p){i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect));var y=i.mouseRect.mouseRectSelectedElement||[];switch(p.keyCode){case 8:case 46:y.forEach(function(Z){i.deletePrintElement(Z)}),w.a.event.trigger("clearSettingContainer");break;case 37:i.mouseRect.updatePositionByMultipleSelect(0-h.a.instance.movingDistance,0),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0-h.a.instance.movingDistance,0)}),p.preventDefault();break;case 38:i.mouseRect.updatePositionByMultipleSelect(0,0-h.a.instance.movingDistance),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0,0-h.a.instance.movingDistance)}),p.preventDefault();break;case 39:i.mouseRect.updatePositionByMultipleSelect(h.a.instance.movingDistance,0),y.forEach(function(Z){Z.updatePositionByMultipleSelect(h.a.instance.movingDistance,0)}),p.preventDefault();break;case 40:i.mouseRect.updatePositionByMultipleSelect(0,h.a.instance.movingDistance),y.forEach(function(Z){Z.updatePositionByMultipleSelect(0,h.a.instance.movingDistance)}),p.preventDefault()}[37,38,39,40].includes(p.keyCode)&&w.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u6846\u9009\u79FB\u52A8")})},M}(),dt=function(){return function(M){if(M)if(M.panels){this.panels=[];for(var e=0;e<M.panels.length;e++)this.panels.push(new ut(M.panels[e]))}else this.panels=[]}}(),yt=r(9),ft=function(){function M(e,i){var p=this;this.printElementOptionSettingPanel={},this.printTemplate=e,this.settingContainer=$__default.default(i),w.a.event.on(e.getPrintElementSelectEventKey(),function(y){p.buildSetting(y)}),w.a.event.on(e.getBuildCustomOptionSettingEventKey(),function(y){p.buildSettingByCustomOptions(y)}),w.a.event.on("clearSettingContainer",function(){p.clearSettingContainer()})}return M.prototype.init=function(){},M.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},M.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(e){e.list&&e.list.forEach(function(i){i.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(e){e.destroy()})),this.lastPrintElement=void 0},M.prototype.buildSetting=function(e){var i=this,p=this,y=e.printElement,Z=e.customOptionsInput,W=y.getPrintElementOptionTabs();i.clearSettingContainer();var J;W.length?(J=$__default.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),W.forEach(function(O){var rt=$__default.default('<li class="prop-tab-item"><span class="tab-title">'+O.name+"</span></li>");J.find(".prop-tab-items").append(rt);var q=$__default.default('<div class="hiprint-option-items" data-title="'+O.name+'"></div>');O.list.forEach(function(ot){ot.submit=function(st){y.submitOption()};var It=ot.createTarget(y,y.options,y.printElementType);i.printElementOptionSettingPanel[ot.name]=It,q.append(It),["columns","dataType"].includes(ot.name)?ot.setValue(y.options[ot.name],y.options,y.printElementType):["coordinate","widthHeight"].includes(ot.name)?ot.setValue(y.options,y):ot.setValue(y.options[ot.name]||y.printElementType[ot.name]),It.find("textarea").bind("click.textarea",function(st){i.printTemplate&&i.printTemplate.onFunctionClick&&i.printTemplate.onFunctionClick(ot,i.lastPrintElement,st)})}),O.list.length==0&&Z&&Z.length&&Z.forEach(function(ot){var It=ot.callback;ot.callback=function(ht){It&&It(ht)};var st=ot.optionItems;ot.title&&q.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1596
1596
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1597
|
-
`+
|
|
1597
|
+
`+ot.title+`
|
|
1598
1598
|
</div>
|
|
1599
|
-
</div>`),
|
|
1600
|
-
type="button">\u786E\u5B9A</button>`),
|
|
1601
|
-
type="button">\u5220\u9664</button>`);if(
|
|
1599
|
+
</div>`),st.forEach(function(ht){ht.submit=function(xt){ot.callback(p.getValueByOptionItems(st))};var Tt=ht.createTarget(p.printTemplate,ot.options,y);q.append(Tt),ht.name=="columnField"?ht.setValue(ot.options.field,ot.options,void 0):ht.setValue(ot.options[ht.name],ot.options,void 0),Tt.find("textarea").bind("click.textarea",function(xt){ht.name!="title"&&p.printTemplate&&p.printTemplate.onFunctionClick&&p.printTemplate.onFunctionClick(ht,p.lastPrintElement,xt)})}),q.find(".auto-submit").change(function(){ot.callback(p.getValueByOptionItems(st))}),q.find(".auto-submit:input").bind("keydown.submitOption",function(ht){ht.keyCode===13&&ot.callback(p.getValueByOptionItems(st))})}),J.append(q)})):(J=$__default.default('<div class="hiprint-option-items"></div>'),y.getPrintElementOptionItems().forEach(function(O){O.submit=function(q){y.submitOption()};var rt=O.createTarget(y,y.options,y.printElementType);i.printElementOptionSettingPanel[O.name]=rt,J.append(rt),["columns","dataType"].includes(O.name)?O.setValue(y.options[O.name],y.options,y.printElementType):["coordinate","widthHeight"].includes(O.name)?O.setValue(y.options,y):O.setValue(y.options[O.name]||y.printElementType[O.name])}));var et=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1600
|
+
type="button">\u786E\u5B9A</button>`),Q=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|
1601
|
+
type="button">\u5220\u9664</button>`);if(J.append(et),y.options.draggable!=!1&&J.append(Q),W.length){J.on("click",".prop-tab-item",function(){var O=$__default.default(this),rt=O.index();i.settingContainer.data("last-index",rt),O.addClass("active"),O.siblings().removeClass("active");var q=J.find(".hiprint-option-items:eq("+rt+")");q.addClass("active"),q.siblings().removeClass("active")});var nt=+(i.settingContainer.data("last-index")||0);nt>=W.length&&(nt=0),J.find(".prop-tab-item:eq("+nt+")").click()}et.bind("click.submitOption",function(){y.submitOption()}),Q.bind("click.deleteBtn",function(){p.printTemplate.deletePrintElement(y),i.clearSettingContainer()}),J.find(".auto-submit").change(function(O){y.submitOption()}),J.find(".auto-submit:input").bind("keydown.submitOption",function(O){O.keyCode==13&&y.submitOption()}),this.settingContainer.append(J),W.length<1&&Z&&Z.forEach(function(O){var rt=O.callback;O.callback=function(q){rt&&(rt(q),y.submitOption())},i.buildSettingByCustomOptions(O,i.settingContainer)}),this.lastPrintElement=y},M.prototype.buildSettingByCustomOptions=function(e,i){var p=this;this.clearLastPrintElement();var y=i||this.settingContainer;i||this.settingContainer.html("");var Z=[],W=h.a.instance.panel.supportOptions.filter(function(Q){return!Q.hidden}).map(function(Q){return Q.name});e.optionItems?Z=e.optionItems:Object.keys(e.options).filter(function(Q){return W.includes(Q)}).forEach(function(Q){var nt=yt.a.getItem(Q);nt&&Z.push(nt)});var J=$__default.default('<div class="hiprint-option-items"></div>');e.title&&J.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1602
1602
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1603
|
-
`+
|
|
1603
|
+
`+e.title+`
|
|
1604
1604
|
</div>
|
|
1605
|
-
</div>`),
|
|
1606
|
-
type="button">\u786E\u5B9A</button>`);F.append(it),it.bind("click.submitOption",function(){i.callback(u.getValueByOptionItems(L))}),F.find(".auto-submit").change(function(X){i.callback(u.getValueByOptionItems(L))}),F.find(".auto-submit:input").bind("keydown.submitOption",function(X){X.keyCode==13&&i.callback(u.getValueByOptionItems(L))}),M.append(F)},P.prototype.getValueByOptionItems=function(i){var n={};return i.forEach(function(u){n[u.name]=u.getValue()}),n},P}(),ht=function(){function P(i,n){this.paginationContainer=i,this.jqPaginationContainer=$__default.default(this.paginationContainer),this.template=n}return P.prototype.buildPagination=function(i){var n=this.template.getPaneltotal(),u=this;this.jqPaginationContainer.html("");for(var M=$__default.default('<ul class="hiprint-pagination"></ul>'),L=function(){var X=k,ot=u.template.printPanels[X].name||X+1,Q=$__default.default("<li><span>"+ot+'</span><a href="javascript:void(0);">x</a></li>');Q.find("span").click(function(){u.template.selectPanel(X),Q.siblings().removeClass("selected"),$__default.default(this).parent("li").addClass("selected")}),Q.find("a").click(function(){u.template.deletePanel(X),u.buildPagination()}),M.append(Q)},k=0;k<n;k++)L();var F=$__default.default("<li><span>+</span></li>");M.append(F),this.jqPaginationContainer.append(M),F.click(function(){var it=function(ot){u.template.addPrintPanel(ot||void 0,!0),u.buildPagination(),$__default.default(".hiprint-pagination li").removeClass("selected"),$__default.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(u.template.onPanelAddClick){var X={index:u.template.printPanels.length,paperType:"A4"};u.template.onPanelAddClick(X,it)}else it()})},P.prototype.selectPanel=function(i){var n=i||this.template.editingPanel.index,u=$__default.default(".hiprint-pagination li:nth("+n+")");u.length&&(u.siblings().removeClass("selected"),u.addClass("selected"))},P}(),jt=function(){function P(i){var n=this;this.tempimageBase64={},this.id=h.a.instance.guid(),h.a.instance.setPrintTemplateById(this.id,this);var u=i||{};this.printPanels=[],this.dataMode=u.dataMode||1,this.history=u.history!=null?u.history:!0,this.onFunctionClick=u.onFunctionClick,this.onDataChanged=u.onDataChanged,this.onUpdateError=u.onUpdateError,this.lastJson=u.template||{},this.historyList=[{id:h.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=u.defaultPanelName,this.designOptions={};var M=new gt(u.template||[]);u.template&&M.panels.forEach(function(L){n.printPanels.push(new yt(L,n.id))}),u.fontList&&(this.fontList=u.fontList),u.fields&&(this.fields=u.fields),u.onImageChooseClick&&(this.onImageChooseClick=u.onImageChooseClick),u.onPanelAddClick&&(this.onPanelAddClick=u.onPanelAddClick),u.settingContainer&&new ft(this,u.settingContainer),u.paginationContainer&&(this.printPaginationCreator=new ht(u.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return P.prototype.design=function(i,n){var u=this;if(n||(n={}),this.printPanels.length==0){var M=this.createDefaultPanel();this.printPanels.push(M)}if(!i)throw new Error("options.container can not be empty");u.designOptions=n,this.createContainer(i),this.printPanels.forEach(function(L,k){u.container.append(L.getTarget()),k>0&&L.disable(),L.design(n)}),this.selectPanel(0)},P.prototype.getSimpleHtml=function(i,n){var u=this;n||(n={});var M=$__default.default('<div class="hiprint-printTemplate"></div>');return i&&i.constructor===Array?i.forEach(function(L,k){L&&u.printPanels.forEach(function(F,it){M.append(F.getHtml(L,n)),k==i.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(L,k){M.append(L.getHtml(i,n)),k==u.printPanels.length-1&&delete hinnn._paperList}),n&&n.imgToBase64&&this.transformImg(M.find("img")),M},P.prototype.getHtml=function(i,n){return i||(i={}),this.getSimpleHtml(i,n)},P.prototype.getJointHtml=function(i,n,u){var M=$__default.default('<div class="hiprint-printTemplate"></div>'),L=[];return this.printPanels.forEach(function(k,F){M.append(k.getHtml(i,n,L,void 0,u))}),M},P.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 u=h.a.instance[i];if(!u)throw new Error("not found pagetype:"+(i||""));this.editingPanel.resize(i,u.width,u.height,!1)}},P.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},P.prototype.zoom=function(i,n){this.editingPanel.zoom(i,n)},P.prototype.addPrintPanel=function(i,n){var u=i?new yt(new It(i),this.id):this.createDefaultPanel();return i&&(i.index=this.printPanels.length),n&&(this.container.append(u.getTarget()),u.design(this.designOptions)),this.printPanels.push(u),n&&this.selectPanel(u.index),u},P.prototype.selectPanel=function(i){var n=this;i>n.printPanels.length-1&&(i=n.printPanels.length-1),this.printPanels.forEach(function(L,k){i==k?(L.enable(),n.editingPanel=L,n.printPaginationCreator&&n.printPaginationCreator.selectPanel(i)):L.disable()});const u=i||n.editingPanel.index,M=$__default.default(".hiprint-pagination li:nth("+u+")");hinnn.event.trigger("onSelectPanel",n.editingPanel,u,M)},P.prototype.deletePanel=function(i){this.printPanels[i].clear(),this.printPanels[i].getTarget().remove(),this.printPanels.splice(i,1)},P.prototype.getPaneltotal=function(){return this.printPanels.length},P.prototype.createDefaultPanel=function(){return new yt(new It({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},P.prototype.createContainer=function(i){i?(this.container=$__default.default(i),this.container.addClass("hiprint-printTemplate")):this.container=$__default.default('<div class="hiprint-printTemplate"></div>')},P.prototype.getJsonTid=function(){var i=[];return this.printPanels.forEach(function(n){n.getPanelEntity().printElements.length&&i.push(n.getPanelEntity())}),new gt({panels:i})},P.prototype.getJson=function(){var i=[];return this.printPanels.forEach(function(n){i.push(n.getPanelEntity(!0))}),new gt({panels:i})},P.prototype.undo=function(i){x.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},P.prototype.redo=function(i){x.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},P.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},P.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},P.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()},P.prototype.getPaperType=function(i){return this.printPanels[0].paperType},P.prototype.getOrient=function(i){return i==null&&(i=0),this.printPanels[i].height>this.printPanels[i].width?1:2},P.prototype.getPrintStyle=function(i){return this.printPanels[i].getPrintStyle()},P.prototype.print=function(i,n,u){var M=this;i||(i={});var L=this.getHtml(i,n),k=m.a.instance.getHooks("beforePrint");k&&k.forEach(F=>{var{template:it,info:X,opts:ot}=F.run({template:M,info:L,opts:u});M=it!=null?it:M,L=X!=null?X:X,u=ot!=null?ot:u}),L.hiwprint(u)},P.prototype.print2=function(i,n){if(i||(i={}),n||(n={}),this.clientIsOpened()){var u=this,M=0,L={},k=$__default.default('link[media=print][href*="print-lock.css"]'),F="";if(n.styleHandler&&(F+=n.styleHandler()),k.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');k.each(function(it,X){var ot=new XMLHttpRequest;ot.open("GET",$__default.default(X).attr("href")),ot.onreadystatechange=function(){if(ot.readyState===4&&ot.status===200&&(L[it+""]='<style rel="stylesheet" type="text/css">'+ot.responseText+"</style>",++M==k.length)){for(var Q="",lt=0;lt<k.length;lt++)Q+=L[lt+""];F&&(Q=F+Q),u.sentToClient(Q,i,n)}},ot.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},P.prototype.imageToBase64=function(i){var n=$__default.default(i).attr("src");if(n.indexOf("base64")==-1)try{if(!this.tempimageBase64[n]){var u=document.createElement("canvas"),M=new Image;M.src=i.attr("src"),u.width=M.width,u.height=M.height,u.getContext("2d").drawImage(M,0,0),n&&(this.tempimageBase64[n]=u.toDataURL("image/png"))}i.attr("src",this.tempimageBase64[n])}catch{try{this.xhrLoadImage(i)}catch(k){console.log(k)}}},P.prototype.xhrLoadImage=function(i){},P.prototype.sentToClient=function(i,n,u){n||(n={});var M=$__default.default.extend({},u||{});M.imgToBase64=!0;var L=i+this.getHtml(n,M)[0].outerHTML;M.id=h.a.instance.guid(),M.html=L,M.templateId=this.id;var k=this,F=m.a.instance.getHooks("beforePrint2");F&&F.forEach(it=>{var{template:X,info:ot}=it.run({template:k,info:M});k=X!=null?X:k,M=ot!=null?ot:M}),hiwebSocket.send(M)},P.prototype.printByHtml=function(i){$__default.default(i).hiwprint()},P.prototype.printByHtml2=function(i,n){if(n||(n={}),this.clientIsOpened()){var u=this,M=0,L={},k=$__default.default('link[media=print][href*="print-lock.css"]');if(k.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');k.each(function(F,it){var X=new XMLHttpRequest;X.open("GET",$__default.default(it).attr("href")),X.onreadystatechange=function(){if(X.readyState===4&&X.status===200&&(L[F+""]='<style rel="stylesheet" type="text/css">'+X.responseText+"</style>",++M==k.length)){for(var ot="",Q=0;Q<k.length;Q++)ot+=L[Q+""];var lt=ot+$__default.default(i)[0].outerHTML,tt=$__default.default.extend({},n||{});tt.id=h.a.instance.guid(),tt.html=lt,tt.templateId=u.id,hiwebSocket.send(tt)}},X.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},P.prototype.deletePrintElement=function(i){this.printPanels.forEach(function(n){n.deletePrintElement(i)})},P.prototype.transformImg=function(i){var n=this;i.map(function(u,M){n.imageToBase64($__default.default(M))})},P.prototype.toImage=function(i,n){let u=this,M=$__default.default.Deferred();if(this.printPanels.length){let L=x.a.mm.toPt(this.printPanels[0].width);x.a.mm.toPt(this.printPanels[0].height);let k=$__default.default.extend({scale:2,width:x.a.pt.toPx(L)},n||{}),F=this.getHtml(i,n);$__default.default(F).css("width","").css("height",""),this.createTempContainer();let it=this.getTempContainer();this.svg2canvas(F),it.html(F[0]),it.find(".hiprint-printPanel .hiprint-printPaper").length,$__default.default(F).css("position:fixed"),html2canvas__default.default(F[0],k).then(function(X){let ot=X.getContext("2d");ot.mozImageSmoothingEnabled=!1,ot.webkitImageSmoothingEnabled=!1,ot.msImageSmoothingEnabled=!1,ot.imageSmoothingEnabled=!1;let Q=n.type||"image/jpeg",lt=n.toType||"url",tt=n.quality||.8;if(n.isDownload){let at=X.toDataURL(Q,tt);u.removeTempContainer();let ct=new Image;ct.src=at,ct.onload=function(){let pt=document.createElement("a"),bt=n.name||"download.jpg";pt.style.display="none",pt.setAttribute("download",bt),pt.setAttribute("href",at),document.body.appendChild(pt),pt.click()};return}if(lt=="url"){u.removeTempContainer(),M.resolve(X.toDataURL(Q,tt));return}if(lt=="blob"){X.toBlob(function(at){u.removeTempContainer(),M.resolve(at)},Q,tt);return}})}return M.promise()},P.prototype.toPdf=function(i,n,u){var M=this,L=$__default.default.Deferred(),k=!0;if(this.printPanels.length){var F=x.a.mm.toPt(this.printPanels[0].width),it=x.a.mm.toPt(this.printPanels[0].height),X=$__default.default.extend({scale:2,width:x.a.pt.toPx(F),x:0,y:0,useCORS:!0},u||{}),ot=new jspdf.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[F,it]}),Q=this.getHtml(i,u);u&&u.isDownload!=null&&(k=l.isDownload),$__default.default(Q).css("width","").css("height",""),this.createTempContainer();var lt=this.getTempContainer();this.svg2canvas(Q),lt.html(Q[0]);var tt=lt.find(".hiprint-printPanel .hiprint-printPaper").length;$__default.default(Q).css("position:fixed"),html2canvas__default.default(Q[0],X).then(function(at){var ct=at.getContext("2d");ct.mozImageSmoothingEnabled=!1,ct.webkitImageSmoothingEnabled=!1,ct.msImageSmoothingEnabled=!1,ct.imageSmoothingEnabled=!1;for(var pt=at.toDataURL("image/jpeg"),bt=0;bt<tt;bt++)ot.addImage(pt,"JPEG",0,0-bt*it,F,tt*it),bt<tt-1&&ot.addPage();if(k)M.removeTempContainer(),n.indexOf(".pdf")>-1?ot.save(n):ot.save(n+".pdf");else{M.removeTempContainer();let wt=u.type||"blob",Ht=ot.output(wt);L.resolve(Ht)}})}return L.promise()},P.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").prepend($__default.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},P.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},P.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},P.prototype.svg2canvas=function(i){var n=this;i.find("svg").each(function(u,M){var L=M.parentNode,k=n.parentWidthHeight(L),F=document.createElement("canvas");F.width=k.width,F.height=k.height;var it=F.getContext("2d"),X=new XMLSerializer().serializeToString(M);Canvg__default.default.fromString(it,X).render(),$__default.default(M).before(F),L.removeChild(M)})},P.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:x.a.pt.toPx(parseFloat(i.style.width)),height:x.a.pt.toPx(parseFloat(i.style.height))}},P.prototype.on=function(i,n){x.a.event.clear(i+"_"+this.id),x.a.event.on(i+"_"+this.id,n)},P.prototype.clientIsOpened=function(){return hiwebSocket.opened},P.prototype.getPrinterList=function(){var i=hiwebSocket.getPrinterList();return i||[]},P.prototype.getElementByTid=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByTid(i)},P.prototype.getElementByName=function(i,n){return n==null&&(n=0),this.printPanels[n].getElementByName(i)},P.prototype.getPanel=function(i){return i==null&&(i=0),this.printPanels[i]},P.prototype.loadAllImages=function(i,n,u){var M=this;u==null&&(u=0);for(var L=i[0].getElementsByTagName("img"),k=!0,F=0;F<L.length;F++){var it=L[F];it.src&&it.src!==window.location.href&&it.src.indexOf("base64")==-1&&(it&&it.naturalWidth!==void 0&&it.naturalWidth!==0&&it.complete||(k=!1))}u++,!k&&u<10?setTimeout(function(){M.loadAllImages(i,n,u)},500):n()},P.prototype.setPaperList=function(i){this.paperList=i},P.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}]},P.prototype.setFontList=function(i){this.fontList=i},P.prototype.getFontList=function(){return this.fontList},P.prototype.setFields=function(i){this.fields=i},P.prototype.getFields=function(){return this.fields},P.prototype.setOnImageChooseClick=function(i){this.onImageChooseClick=i},P.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},P.prototype.getFieldsInPanel=function(){var i=[];return this.printPanels.forEach(function(n){i=i.concat(n.getFieldsInPanel())}),i},P.prototype.getTestData=function(){var i={};return this.printPanels.forEach(function(n){i=Object.assign(i,n.getTestData())}),i},P.prototype.update=function(i,n){var u=this;try{if(i&&_typeof(i)=="object"&&i.panels.length>0){var M=u.printPanels.length-1;i.panels.forEach(function(L,k){if(k>M){u.printPanels.push(new yt(L,u.id));var F=u.printPanels[k];u.container.append(F.getTarget()),k>0&&F.disable(),F.design(u.designOptions),u.printPaginationCreator&&u.printPaginationCreator.buildPagination()}var it=new It(L);u.editingPanel=u.printPanels[k],u.editingPanel.update(it)}),u.selectPanel(n||0)}}catch(L){console.log(L),u.onUpdateError&&u.onUpdateError(L)}},P.prototype.canPaste=function(){return this.editingPanel.canPaste()},P.prototype.copyJson=function(i){return this.editingPanel.copyJson(i)},P.prototype.cutJson=function(){return this.editingPanel.cutJson()},P.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},P.prototype.updateOption=function(i,n){var u=this.getSelectEls();u&&u.length&&(u.forEach(function(M){M.updateOption(i,n,!0)}),x.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},P.prototype.setElsAlign=function(i){var n=this.getSelectEls();if(n.length){var u=Math.min.apply(null,n.map(function(tt){return tt.options.left})),M=Math.max.apply(null,n.map(function(tt){return tt.options.left+tt.options.width})),L=Math.min.apply(null,n.map(function(tt){return tt.options.top})),k=Math.max.apply(null,n.map(function(tt){return tt.options.top+tt.options.height}));switch(i){case"left":n.forEach(function(tt){tt.updateSizeAndPositionOptions(u),tt.designTarget.css("left",tt.options.displayLeft())});break;case"vertical":var F=u+(M-u)/2;n.forEach(function(tt){tt.updateSizeAndPositionOptions(F-tt.options.width/2),tt.designTarget.css("left",tt.options.displayLeft())});break;case"right":n.forEach(function(tt){tt.updateSizeAndPositionOptions(M-tt.options.width),tt.designTarget.css("left",tt.options.displayLeft())});break;case"top":n.forEach(function(tt){tt.updateSizeAndPositionOptions(void 0,L),tt.designTarget.css("top",tt.options.displayTop())});break;case"horizontal":var it=L+(k-L)/2;n.forEach(function(tt){tt.updateSizeAndPositionOptions(void 0,it-tt.options.height/2),tt.designTarget.css("top",tt.options.displayTop())});break;case"bottom":n.forEach(function(tt){tt.updateSizeAndPositionOptions(void 0,k-tt.options.height),tt.designTarget.css("top",tt.options.displayTop())});break;case"distributeHor":var X=[].reduce.call(n,function(tt,at){return tt+at.options.width},0),ot=(M-u-X)/(n.length-1);n.sort(function(tt,at){return tt.options.left-at.options.left}),n.forEach(function(tt,at){[0,n.length-1].includes(at)||(tt.updateSizeAndPositionOptions(n[at-1].options.left+n[at-1].options.width+ot),tt.designTarget.css("left",tt.options.displayLeft()))});break;case"distributeVer":var Q=[].reduce.call(n,function(tt,at){return tt+at.options.height},0),lt=(k-L-Q)/(n.length-1);n.sort(function(tt,at){return tt.options.top-at.options.top}),n.forEach(function(tt,at){[0,n.length-1].includes(at)||(tt.updateSizeAndPositionOptions(void 0,n[at-1].options.top+n[at-1].options.height+lt),tt.designTarget.css("top",tt.options.displayTop()))});break}}},P.prototype.setElsSpace=function(i,n){var u=this.getSelectEls();u.length&&(n?(u.sort(function(M,L){return M.options.left-L.options.left}),u.forEach(function(M,L){L>0&&(M.updateSizeAndPositionOptions(u[L-1].options.left+u[L-1].options.width+i),M.designTarget.css("left",M.options.displayLeft()))})):(u.sort(function(M,L){return M.options.top-L.options.top}),u.forEach(function(M,L){L>0&&(M.updateSizeAndPositionOptions(void 0,u[L-1].options.top+u[L-1].options.height+i),M.designTarget.css("top",M.options.displayTop()))})))},P.prototype.initAutoSave=function(){var i=this;x.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(n){if(!!i.history)switch(n){case"undo":if(i.historyPos>0){i.historyPos-=1;var u=i.historyList[i.historyPos];i.update(u.json)}break;case"redo":if(i.historyPos<i.historyList.length-1){i.historyPos+=1;var u=i.historyList[i.historyPos];i.update(u.json)}break}}),x.a.event.on("hiprintTemplateDataChanged_"+this.id,function(n){if(i.history){var u=i.dataMode==1?i.getJson():i.getJsonTid();i.lastJson=u,i.historyPos<i.historyList.length-1&&(i.historyList=i.historyList.slice(0,i.historyPos+1)),i.historyList.push({id:h.a.instance.guid(),type:n,json:u}),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,u)}})},P}();function St(P){this.getHtml(P).hiwprint()}function Tt(P,i,n){$__default.default.extend({},P||{}).imgToBase64=!0;var u=new jt({});u.on("printSuccess",i),u.on("printError",n),u.printByHtml2(this.getHtml(P),P.options)}function Nt(P){var i=void 0;return P&&P.templates.forEach(function(n,u){var M=$__default.default.extend({},n.options||{});P.imgToBase64&&(M.imgToBase64=!0),i?i.append(n.template.getHtml(n.data,M).html()):i=n.template.getHtml(n.data,M)}),i}function Dt(P){m.a.instance.init(P),m.a.instance.providers&&m.a.instance.providers.forEach(function(i){i.addElementTypes(p.instance)}),window.autoConnect&&(m.a.instance.host!=hiwebSocket.host||m.a.instance.token!=hiwebSocket.token)&&(hiwebSocket.stop(),m.a.instance.host&&(hiwebSocket.host=m.a.instance.host),m.a.instance.token&&(hiwebSocket.token=m.a.instance.token),hiwebSocket.start())}function At(P){m.a.instance.register(P)}function Et(P){P?P&&Object.keys(P).forEach(function(i){if(i=="optionItems"&&P.optionItems&&P.optionItems.length)m.a.instance.registerItems(P.optionItems);else if(P[i].tabs&&P[i].tabs.length)P[i].tabs.forEach(function(L,k){if(L.replace)$__default.default.extend(m.a.instance[i].tabs[k],L);else{var F=L.options,it=m.a.instance[i].tabs[k].options;F.forEach(function(X){var ot=it.findIndex(function(Q){return Q.name==X.name});ot>-1?it[ot].hidden=X.hidden:X.after?(ot=it.findIndex(function(Q){return Q.name==X.after}),ot>-1&&it.splice(ot+1,0,X)):it.push(X)}),$__default.default.extend(m.a.instance[i].tabs[k],{name:L.name,options:it})}}),delete P[i].tabs;else if(P[i].supportOptions){var n=P[i].supportOptions,u=m.a.instance[i].supportOptions;n.forEach(function(L){var k=u.findIndex(function(F){return F.name==L.name});k>-1?u[k].hidden=L.hidden:L.after?(k=u.findIndex(function(F){return F.name==L.after}),k>-1&&u.splice(k+1,0,L)):u.push(L)}),$__default.default.extend(m.a.instance[i].supportOptions,u),delete P[i].supportOptions}else{var M={};M[i]=P[i],$__default.default.extend(m.a.instance,M)}}):$__default.default.extend(m.a.instance,HIPRINT_CONFIG)}function Bt(P,i){return p.instance.updateElementType(P,i)}function Ut(P){m.a.instance.clear("printerList"),m.a.instance.on("printerList",P),hiwebSocket.refreshPrinterList()}function Zt(P){m.a.instance.clear("clients"),m.a.instance.on("clients",P),hiwebSocket.getClients()}function Lt(P){m.a.instance.clear("clientInfo"),m.a.instance.on("getClientInfo",P),hiwebSocket.getClientInfo()}function zt(P,i,...n){m.a.instance.clear("address_"+P),m.a.instance.on("address_"+P,i),hiwebSocket.getAddress(P,...n)}function Wt(P,i,n){m.a.instance.clear("ippPrinterCallback"),m.a.instance.on("ippPrinterCallback",i),m.a.instance.clear("ippPrinterConnected"),m.a.instance.on("ippPrinterConnected",n),hiwebSocket.ippPrint(P)}function kt(P,i){m.a.instance.clear("ippRequestCallback"),m.a.instance.on("ippRequestCallback",i),hiwebSocket.ippRequest(P)}l.d(z,"register",function(){return At}),l.d(z,"init",function(){return Dt}),l.d(z,"setConfig",function(){return Et}),l.d(z,"updateElementType",function(){return Bt}),l.d(z,"hiwebSocket",function(){return hiwebSocket}),l.d(z,"refreshPrinterList",function(){return Ut}),l.d(z,"getClients",function(){return Zt}),l.d(z,"getClientInfo",function(){return Lt}),l.d(z,"getAddress",function(){return zt}),l.d(z,"ippPrint",function(){return Wt}),l.d(z,"ippRequest",function(){return kt}),l.d(z,"ElementTypes",function(){return p.instance}),l.d(z,"PrintElementTypeManager",function(){return st}),l.d(z,"PrintElementTypeGroup",function(){return ut}),l.d(z,"PrintTemplate",function(){return jt}),l.d(z,"print",function(){return St}),l.d(z,"print2",function(){return Tt}),l.d(z,"getHtml",function(){return Nt}),$__default.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var P=m.a.instance.getHooks("ready");P&&P.forEach(i=>{i.run({p:m,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let defaultElementTypeProvider=defaultTypeProvider(hiprint$1);(function(J){J.fn.hiwprint=function(v){var p=document.getElementById("hiwprint_iframe");p&&p.parentNode.removeChild(p);var m=J.extend({},J.fn.hiwprint.defaults,v),h=this,B=J('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),A="";m.importCss&&(m.styleHandler&&(A+=m.styleHandler()),J("link[media=print]").length>0&&J("link[media=print]").each(function(){J(this).attr("href").indexOf("print-lock.css")>=0&&(A+='<link rel="stylesheet" type="text/css" media="print" href="'+J(this).attr("href")+'">',A+='<link rel="stylesheet" type="text/css" href="'+J(this).attr("href")+'">')})),B[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+A+"</head><body></body></html>",B[0].onload=function(){var y=B[0].contentWindow||B[0].contentDocument;y.document&&(y=y.document),B.attr("srcdoc")||y.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+A+"</head><body></body></html>"),m.printContainer?y.body.innerHTML=h[0].outerHTML:y.body.innerHTML=h.html(),x(y,function(){z(B[0],m)})},B.appendTo("body")},J.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function z(v,p){try{if(v.focus(),U()||l())try{v.contentWindow.document.execCommand("print",!1,null)}catch{v.contentWindow.print()}else v.contentWindow.print();p.callback&&p.callback()}catch(m){console.log(m)}}function l(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function U(){return!l()&&!!window.StyleMedia}function x(v,p,m){m===void 0&&(m=0);for(var h=v.getElementsByTagName("img"),B=!0,A=0;A<h.length;A++){var y=h[A];y.src&&y.src!==window.location.href&&y.src.indexOf("base64")==-1&&(!y||typeof y.naturalWidth>"u"||y.naturalWidth===0||!y.complete)&&(y.complete||(B=!1))}m++,!B&&m<10?setTimeout(function(){x(v,p,m)},500):p()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.17",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"tableSummaryFormatter",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const hiprint="",printLock="",autoConnect=function(J){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(J)},disAutoConnect=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=hiprint$1;exports.autoConnect=autoConnect;exports.defaultElementTypeProvider=defaultElementTypeProvider;exports.disAutoConnect=disAutoConnect;exports.hiprint=hiprint$1;
|
|
1605
|
+
</div>`),Z.forEach(function(Q){Q.submit=function(nt){e.callback(p.getValueByOptionItems(Z))},J.append(Q.createTarget(p.printTemplate,e.options,void 0)),Q.setValue(e.options[Q.name],e.options,void 0)});var et=$__default.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1606
|
+
type="button">\u786E\u5B9A</button>`);J.append(et),et.bind("click.submitOption",function(){e.callback(p.getValueByOptionItems(Z))}),J.find(".auto-submit").change(function(Q){e.callback(p.getValueByOptionItems(Z))}),J.find(".auto-submit:input").bind("keydown.submitOption",function(Q){Q.keyCode==13&&e.callback(p.getValueByOptionItems(Z))}),y.append(J)},M.prototype.getValueByOptionItems=function(e){var i={};return e.forEach(function(p){i[p.name]=p.getValue()}),i},M}(),gt=function(){function M(e,i){this.paginationContainer=e,this.jqPaginationContainer=$__default.default(this.paginationContainer),this.template=i}return M.prototype.buildPagination=function(e){var i=this.template.getPaneltotal(),p=this;this.jqPaginationContainer.html("");for(var y=$__default.default('<ul class="hiprint-pagination"></ul>'),Z=function(){var Q=W,nt=p.template.printPanels[Q].name||Q+1,O=$__default.default("<li><span>"+nt+'</span><a href="javascript:void(0);">x</a></li>');O.find("span").click(function(){p.template.selectPanel(Q),O.siblings().removeClass("selected"),$__default.default(this).parent("li").addClass("selected")}),O.find("a").click(function(){p.template.deletePanel(Q),p.buildPagination()}),y.append(O)},W=0;W<i;W++)Z();var J=$__default.default("<li><span>+</span></li>");y.append(J),this.jqPaginationContainer.append(y),J.click(function(){var et=function(nt){p.template.addPrintPanel(nt||void 0,!0),p.buildPagination(),$__default.default(".hiprint-pagination li").removeClass("selected"),$__default.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(p.template.onPanelAddClick){var Q={index:p.template.printPanels.length,paperType:"A4"};p.template.onPanelAddClick(Q,et)}else et()})},M.prototype.selectPanel=function(e){var i=e||this.template.editingPanel.index,p=$__default.default(".hiprint-pagination li:nth("+i+")");p.length&&(p.siblings().removeClass("selected"),p.addClass("selected"))},M}(),Pt=function(){function M(e){var i=this;this.tempimageBase64={},this.id=g.a.instance.guid(),g.a.instance.setPrintTemplateById(this.id,this);var p=e||{};this.printPanels=[],this.dataMode=p.dataMode||1,this.history=p.history!=null?p.history:!0,this.onFunctionClick=p.onFunctionClick,this.onDataChanged=p.onDataChanged,this.onUpdateError=p.onUpdateError,this.lastJson=p.template||{},this.historyList=[{id:g.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=p.defaultPanelName,this.designOptions={};var y=new dt(p.template||[]);p.template&&y.panels.forEach(function(Z){i.printPanels.push(new vt(Z,i.id))}),p.fontList&&(this.fontList=p.fontList),p.fields&&(this.fields=p.fields),p.onImageChooseClick&&(this.onImageChooseClick=p.onImageChooseClick),p.onPanelAddClick&&(this.onPanelAddClick=p.onPanelAddClick),p.settingContainer&&new ft(this,p.settingContainer),p.paginationContainer&&(this.printPaginationCreator=new gt(p.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return M.prototype.design=function(e,i){var p=this;if(i||(i={}),this.printPanels.length==0){var y=this.createDefaultPanel();this.printPanels.push(y)}if(!e)throw new Error("options.container can not be empty");p.designOptions=i,this.createContainer(e),this.printPanels.forEach(function(Z,W){p.container.append(Z.getTarget()),W>0&&Z.disable(),Z.design(i)}),this.selectPanel(0)},M.prototype.getSimpleHtml=function(e,i){var p=this;i||(i={});var y=$__default.default('<div class="hiprint-printTemplate"></div>');return e&&e.constructor===Array?e.forEach(function(Z,W){Z&&p.printPanels.forEach(function(J,et){y.append(J.getHtml(Z,i)),W==e.length-1&&delete hinnn._paperList})}):this.printPanels.forEach(function(Z,W){y.append(Z.getHtml(e,i)),W==p.printPanels.length-1&&delete hinnn._paperList}),i&&i.imgToBase64&&this.transformImg(y.find("img")),y},M.prototype.getHtml=function(e,i){return e||(e={}),this.getSimpleHtml(e,i)},M.prototype.getJointHtml=function(e,i,p){var y=$__default.default('<div class="hiprint-printTemplate"></div>'),Z=[];return this.printPanels.forEach(function(W,J){y.append(W.getHtml(e,i,Z,void 0,p))}),y},M.prototype.setPaper=function(e,i){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(e))this.editingPanel.resize(void 0,parseFloat(e),parseFloat(i),!1);else{var p=g.a.instance[e];if(!p)throw new Error("not found pagetype:"+(e||""));this.editingPanel.resize(e,p.width,p.height,!1)}},M.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},M.prototype.zoom=function(e,i){this.editingPanel.zoom(e,i)},M.prototype.addPrintPanel=function(e,i){var p=e?new vt(new ut(e),this.id):this.createDefaultPanel();return e&&(e.index=this.printPanels.length),i&&(this.container.append(p.getTarget()),p.design(this.designOptions)),this.printPanels.push(p),i&&this.selectPanel(p.index),p},M.prototype.selectPanel=function(e){var i=this;e>i.printPanels.length-1&&(e=i.printPanels.length-1),this.printPanels.forEach(function(Z,W){e==W?(Z.enable(),i.editingPanel=Z,i.printPaginationCreator&&i.printPaginationCreator.selectPanel(e)):Z.disable()});const p=e||i.editingPanel.index,y=$__default.default(".hiprint-pagination li:nth("+p+")");hinnn.event.trigger("onSelectPanel",i.editingPanel,p,y)},M.prototype.deletePanel=function(e){this.printPanels[e].clear(),this.printPanels[e].getTarget().remove(),this.printPanels.splice(e,1)},M.prototype.getPaneltotal=function(){return this.printPanels.length},M.prototype.createDefaultPanel=function(){return new vt(new ut({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},M.prototype.createContainer=function(e){e?(this.container=$__default.default(e),this.container.addClass("hiprint-printTemplate")):this.container=$__default.default('<div class="hiprint-printTemplate"></div>')},M.prototype.getJsonTid=function(){var e=[];return this.printPanels.forEach(function(i){i.getPanelEntity().printElements.length&&e.push(i.getPanelEntity())}),new dt({panels:e})},M.prototype.getJson=function(){var e=[];return this.printPanels.forEach(function(i){e.push(i.getPanelEntity(!0))}),new dt({panels:e})},M.prototype.undo=function(e){w.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},M.prototype.redo=function(e){w.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},M.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},M.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},M.prototype.clear=function(){this.printPanels.forEach(function(e){if(e.clear(),e.index>0){var i=e.getTarget();i&&i.length&&i.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},M.prototype.getPaperType=function(e){return this.printPanels[0].paperType},M.prototype.getOrient=function(e){return e==null&&(e=0),this.printPanels[e].height>this.printPanels[e].width?1:2},M.prototype.getPrintStyle=function(e){return this.printPanels[e].getPrintStyle()},M.prototype.print=function(e,i,p){var y=this;e||(e={});var Z=this.getHtml(e,i),W=h.a.instance.getHooks("beforePrint");W&&W.forEach(J=>{var{template:et,info:Q,opts:nt}=J.run({template:y,info:Z,opts:p});y=et!=null?et:y,Z=Q!=null?Q:Q,p=nt!=null?nt:p}),Z.hiwprint(p)},M.prototype.print2=function(e,i){if(e||(e={}),i||(i={}),this.clientIsOpened()){var p=this,y=0,Z={},W=$__default.default('link[media=print][href*="print-lock.css"]'),J="";if(i.styleHandler&&(J+=i.styleHandler()),W.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');W.each(function(et,Q){var nt=new XMLHttpRequest;nt.open("GET",$__default.default(Q).attr("href")),nt.onreadystatechange=function(){if(nt.readyState===4&&nt.status===200&&(Z[et+""]='<style rel="stylesheet" type="text/css">'+nt.responseText+"</style>",++y==W.length)){for(var O="",rt=0;rt<W.length;rt++)O+=Z[rt+""];J&&(O=J+O),p.sentToClient(O,e,i)}},nt.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.imageToBase64=function(e){var i=$__default.default(e).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var p=document.createElement("canvas"),y=new Image;y.src=e.attr("src"),p.width=y.width,p.height=y.height,p.getContext("2d").drawImage(y,0,0),i&&(this.tempimageBase64[i]=p.toDataURL("image/png"))}e.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(e)}catch(W){console.log(W)}}},M.prototype.xhrLoadImage=function(e){},M.prototype.sentToClient=function(e,i,p){i||(i={});var y=$__default.default.extend({},p||{});y.imgToBase64=!0;var Z=e+this.getHtml(i,y)[0].outerHTML;y.id=g.a.instance.guid(),y.html=Z,y.templateId=this.id;var W=this,J=h.a.instance.getHooks("beforePrint2");J&&J.forEach(et=>{var{template:Q,info:nt}=et.run({template:W,info:y});W=Q!=null?Q:W,y=nt!=null?nt:y}),hiwebSocket.send(y)},M.prototype.printByHtml=function(e){$__default.default(e).hiwprint()},M.prototype.printByHtml2=function(e,i){if(i||(i={}),this.clientIsOpened()){var p=this,y=0,Z={},W=$__default.default('link[media=print][href*="print-lock.css"]');if(W.length<=0)throw new Error('\u8BF7\u5728 \u5165\u53E3\u6587\u4EF6(index.html) \u4E2D\u5F15\u5165 print-lock.css. \u6CE8\u610F: link[media="print"]');W.each(function(J,et){var Q=new XMLHttpRequest;Q.open("GET",$__default.default(et).attr("href")),Q.onreadystatechange=function(){if(Q.readyState===4&&Q.status===200&&(Z[J+""]='<style rel="stylesheet" type="text/css">'+Q.responseText+"</style>",++y==W.length)){for(var nt="",O=0;O<W.length;O++)nt+=Z[O+""];var rt=nt+$__default.default(e)[0].outerHTML,q=$__default.default.extend({},i||{});q.id=g.a.instance.guid(),q.html=rt,q.templateId=p.id,hiwebSocket.send(q)}},Q.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},M.prototype.deletePrintElement=function(e){this.printPanels.forEach(function(i){i.deletePrintElement(e)})},M.prototype.transformImg=function(e){var i=this;e.map(function(p,y){i.imageToBase64($__default.default(y))})},M.prototype.toImage=function(e,i){let p=this,y=$__default.default.Deferred();if(this.printPanels.length){let Z=w.a.mm.toPt(this.printPanels[0].width);w.a.mm.toPt(this.printPanels[0].height);let W=$__default.default.extend({scale:2,width:w.a.pt.toPx(Z)},i||{}),J=this.getHtml(e,i);$__default.default(J).css("width","").css("height",""),this.createTempContainer();let et=this.getTempContainer();this.svg2canvas(J),et.html(J[0]),et.find(".hiprint-printPanel .hiprint-printPaper").length,$__default.default(J).css("position:fixed"),html2canvas__default.default(J[0],W).then(function(Q){let nt=Q.getContext("2d");nt.mozImageSmoothingEnabled=!1,nt.webkitImageSmoothingEnabled=!1,nt.msImageSmoothingEnabled=!1,nt.imageSmoothingEnabled=!1;let O=i.type||"image/jpeg",rt=i.toType||"url",q=i.quality||.8;if(i.isDownload){let ot=Q.toDataURL(O,q);p.removeTempContainer();let It=new Image;It.src=ot,It.onload=function(){let st=document.createElement("a"),ht=i.name||"download.jpg";st.style.display="none",st.setAttribute("download",ht),st.setAttribute("href",ot),document.body.appendChild(st),st.click()};return}if(rt=="url"){p.removeTempContainer(),y.resolve(Q.toDataURL(O,q));return}if(rt=="blob"){Q.toBlob(function(ot){p.removeTempContainer(),y.resolve(ot)},O,q);return}})}return y.promise()},M.prototype.toPdf=function(e,i,p){var y=this,Z=$__default.default.Deferred(),W=!0;if(this.printPanels.length){var J=w.a.mm.toPt(this.printPanels[0].width),et=w.a.mm.toPt(this.printPanels[0].height),Q=$__default.default.extend({scale:2,width:w.a.pt.toPx(J),x:0,y:0,useCORS:!0},p||{}),nt=new jspdf.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[J,et]}),O=this.getHtml(e,p);p&&p.isDownload!=null&&(W=r.isDownload),$__default.default(O).css("width","").css("height",""),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(O),rt.html(O[0]);var q=rt.find(".hiprint-printPanel .hiprint-printPaper").length;$__default.default(O).css("position:fixed"),html2canvas__default.default(O[0],Q).then(function(ot){var It=ot.getContext("2d");It.mozImageSmoothingEnabled=!1,It.webkitImageSmoothingEnabled=!1,It.msImageSmoothingEnabled=!1,It.imageSmoothingEnabled=!1;for(var st=ot.toDataURL("image/jpeg"),ht=0;ht<q;ht++)nt.addImage(st,"JPEG",0,0-ht*et,J,q*et),ht<q-1&&nt.addPage();if(W)y.removeTempContainer(),i.indexOf(".pdf")>-1?nt.save(i):nt.save(i+".pdf");else{y.removeTempContainer();let Tt=p.type||"blob",xt=nt.output(Tt);Z.resolve(xt)}})}return Z.promise()},M.prototype.createTempContainer=function(){this.removeTempContainer(),$__default.default("body").prepend($__default.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},M.prototype.removeTempContainer=function(){$__default.default(".hiprint_temp_Container").remove()},M.prototype.getTempContainer=function(){return $__default.default(".hiprint_temp_Container")},M.prototype.svg2canvas=function(e){var i=this;e.find("svg").each(function(p,y){var Z=y.parentNode,W=i.parentWidthHeight(Z),J=document.createElement("canvas");J.width=W.width,J.height=W.height;var et=J.getContext("2d"),Q=new XMLSerializer().serializeToString(y);Canvg__default.default.fromString(et,Q).render(),$__default.default(y).before(J),Z.removeChild(y)})},M.prototype.parentWidthHeight=function(e){return e.style.width.endsWith("%")||e.style.height.endsWith("%")?e.className!="hiprint-printPaper-content"?this.parentWidthHeight(e.parentNode):{width:10,height:10}:{width:w.a.pt.toPx(parseFloat(e.style.width)),height:w.a.pt.toPx(parseFloat(e.style.height))}},M.prototype.on=function(e,i){w.a.event.clear(e+"_"+this.id),w.a.event.on(e+"_"+this.id,i)},M.prototype.clientIsOpened=function(){return hiwebSocket.opened},M.prototype.getPrinterList=function(){var e=hiwebSocket.getPrinterList();return e||[]},M.prototype.getElementByTid=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByTid(e)},M.prototype.getElementByName=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByName(e)},M.prototype.getPanel=function(e){return e==null&&(e=0),this.printPanels[e]},M.prototype.loadAllImages=function(e,i,p){var y=this;p==null&&(p=0);for(var Z=e[0].getElementsByTagName("img"),W=!0,J=0;J<Z.length;J++){var et=Z[J];et.src&&et.src!==window.location.href&&et.src.indexOf("base64")==-1&&(et&&et.naturalWidth!==void 0&&et.naturalWidth!==0&&et.complete||(W=!1))}p++,!W&&p<10?setTimeout(function(){y.loadAllImages(e,i,p)},500):i()},M.prototype.setPaperList=function(e){this.paperList=e},M.prototype.getPaperList=function(){return this.paperList||[{type:"A1",width:594,height:841},{type:"A2",width:420,height:594},{type:"A3",width:297,height:420},{type:"A4",width:210,height:297},{type:"A5",width:148,height:210},{type:"A6",width:105,height:148},{type:"A7",width:74,height:105},{type:"B1",width:728,height:1030},{type:"B2",width:515,height:728},{type:"B3",width:364,height:515},{type:"B4",width:257,height:364},{type:"B5",width:182,height:257},{type:"B6",width:91,height:182},{type:"B7",width:64,height:91}]},M.prototype.setFontList=function(e){this.fontList=e},M.prototype.getFontList=function(){return this.fontList},M.prototype.setFields=function(e){this.fields=e},M.prototype.getFields=function(){return this.fields},M.prototype.setOnImageChooseClick=function(e){this.onImageChooseClick=e},M.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},M.prototype.getFieldsInPanel=function(){var e=[];return this.printPanels.forEach(function(i){e=e.concat(i.getFieldsInPanel())}),e},M.prototype.getTestData=function(){var e={};return this.printPanels.forEach(function(i){e=Object.assign(e,i.getTestData())}),e},M.prototype.update=function(e,i){var p=this;try{if(e&&_typeof(e)=="object"&&e.panels.length>0){var y=p.printPanels.length-1;e.panels.forEach(function(Z,W){if(W>y){p.printPanels.push(new vt(Z,p.id));var J=p.printPanels[W];p.container.append(J.getTarget()),W>0&&J.disable(),J.design(p.designOptions),p.printPaginationCreator&&p.printPaginationCreator.buildPagination()}var et=new ut(Z);p.editingPanel=p.printPanels[W],p.editingPanel.update(et)}),p.selectPanel(i||0)}}catch(Z){console.log(Z),p.onUpdateError&&p.onUpdateError(Z)}},M.prototype.canPaste=function(){return this.editingPanel.canPaste()},M.prototype.copyJson=function(e){return this.editingPanel.copyJson(e)},M.prototype.cutJson=function(){return this.editingPanel.cutJson()},M.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},M.prototype.updateOption=function(e,i){var p=this.getSelectEls();p&&p.length&&(p.forEach(function(y){y.updateOption(e,i,!0)}),w.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},M.prototype.setElsAlign=function(e){var i=this.getSelectEls();if(i.length){var p=Math.min.apply(null,i.map(function(q){return q.options.left})),y=Math.max.apply(null,i.map(function(q){return q.options.left+q.options.width})),Z=Math.min.apply(null,i.map(function(q){return q.options.top})),W=Math.max.apply(null,i.map(function(q){return q.options.top+q.options.height}));switch(e){case"left":i.forEach(function(q){q.updateSizeAndPositionOptions(p),q.designTarget.css("left",q.options.displayLeft())});break;case"vertical":var J=p+(y-p)/2;i.forEach(function(q){q.updateSizeAndPositionOptions(J-q.options.width/2),q.designTarget.css("left",q.options.displayLeft())});break;case"right":i.forEach(function(q){q.updateSizeAndPositionOptions(y-q.options.width),q.designTarget.css("left",q.options.displayLeft())});break;case"top":i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,Z),q.designTarget.css("top",q.options.displayTop())});break;case"horizontal":var et=Z+(W-Z)/2;i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,et-q.options.height/2),q.designTarget.css("top",q.options.displayTop())});break;case"bottom":i.forEach(function(q){q.updateSizeAndPositionOptions(void 0,W-q.options.height),q.designTarget.css("top",q.options.displayTop())});break;case"distributeHor":var Q=[].reduce.call(i,function(q,ot){return q+ot.options.width},0),nt=(y-p-Q)/(i.length-1);i.sort(function(q,ot){return q.options.left-ot.options.left}),i.forEach(function(q,ot){[0,i.length-1].includes(ot)||(q.updateSizeAndPositionOptions(i[ot-1].options.left+i[ot-1].options.width+nt),q.designTarget.css("left",q.options.displayLeft()))});break;case"distributeVer":var O=[].reduce.call(i,function(q,ot){return q+ot.options.height},0),rt=(W-Z-O)/(i.length-1);i.sort(function(q,ot){return q.options.top-ot.options.top}),i.forEach(function(q,ot){[0,i.length-1].includes(ot)||(q.updateSizeAndPositionOptions(void 0,i[ot-1].options.top+i[ot-1].options.height+rt),q.designTarget.css("top",q.options.displayTop()))});break}}},M.prototype.setElsSpace=function(e,i){var p=this.getSelectEls();p.length&&(i?(p.sort(function(y,Z){return y.options.left-Z.options.left}),p.forEach(function(y,Z){Z>0&&(y.updateSizeAndPositionOptions(p[Z-1].options.left+p[Z-1].options.width+e),y.designTarget.css("left",y.options.displayLeft()))})):(p.sort(function(y,Z){return y.options.top-Z.options.top}),p.forEach(function(y,Z){Z>0&&(y.updateSizeAndPositionOptions(void 0,p[Z-1].options.top+p[Z-1].options.height+e),y.designTarget.css("top",y.options.displayTop()))})))},M.prototype.initAutoSave=function(){var e=this;w.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(i){if(!!e.history)switch(i){case"undo":if(e.historyPos>0){e.historyPos-=1;var p=e.historyList[e.historyPos];e.update(p.json)}break;case"redo":if(e.historyPos<e.historyList.length-1){e.historyPos+=1;var p=e.historyList[e.historyPos];e.update(p.json)}break}}),w.a.event.on("hiprintTemplateDataChanged_"+this.id,function(i){if(e.history){var p=e.dataMode==1?e.getJson():e.getJsonTid();e.lastJson=p,e.historyPos<e.historyList.length-1&&(e.historyList=e.historyList.slice(0,e.historyPos+1)),e.historyList.push({id:g.a.instance.guid(),type:i,json:p}),e.historyList.length>50?e.historyList=e.historyList.slice(0,1).concat(e.historyList.slice(1,50)):e.historyPos+=1,e.onDataChanged&&e.onDataChanged(i,p)}})},M}();function jt(M){this.getHtml(M).hiwprint()}function St(M,e,i){$__default.default.extend({},M||{}).imgToBase64=!0;var p=new Pt({});p.on("printSuccess",e),p.on("printError",i),p.printByHtml2(this.getHtml(M),M.options)}function Ct(M){var e=void 0;return M&&M.templates.forEach(function(i,p){var y=$__default.default.extend({},i.options||{});M.imgToBase64&&(y.imgToBase64=!0),e?e.append(i.template.getHtml(i.data,y).html()):e=i.template.getHtml(i.data,y)}),e}function Nt(M){h.a.instance.init(M),h.a.instance.providers&&h.a.instance.providers.forEach(function(e){e.addElementTypes(l.instance)}),window.autoConnect&&(h.a.instance.host!=hiwebSocket.host||h.a.instance.token!=hiwebSocket.token)&&(hiwebSocket.stop(),h.a.instance.host&&(hiwebSocket.host=h.a.instance.host),h.a.instance.token&&(hiwebSocket.token=h.a.instance.token),hiwebSocket.start())}function Dt(M){h.a.instance.register(M)}function At(M){M?M&&Object.keys(M).forEach(function(e){if(e=="optionItems"&&M.optionItems&&M.optionItems.length)h.a.instance.registerItems(M.optionItems);else if(M[e].tabs&&M[e].tabs.length)M[e].tabs.forEach(function(Z,W){if(Z.replace)$__default.default.extend(h.a.instance[e].tabs[W],Z);else{var J=Z.options,et=h.a.instance[e].tabs[W].options;J.forEach(function(Q){var nt=et.findIndex(function(O){return O.name==Q.name});nt>-1?et[nt].hidden=Q.hidden:Q.after?(nt=et.findIndex(function(O){return O.name==Q.after}),nt>-1&&et.splice(nt+1,0,Q)):et.push(Q)}),$__default.default.extend(h.a.instance[e].tabs[W],{name:Z.name,options:et})}}),delete M[e].tabs;else if(M[e].supportOptions){var i=M[e].supportOptions,p=h.a.instance[e].supportOptions;i.forEach(function(Z){var W=p.findIndex(function(J){return J.name==Z.name});W>-1?p[W].hidden=Z.hidden:Z.after?(W=p.findIndex(function(J){return J.name==Z.after}),W>-1&&p.splice(W+1,0,Z)):p.push(Z)}),$__default.default.extend(h.a.instance[e].supportOptions,p),delete M[e].supportOptions}else{var y={};y[e]=M[e],$__default.default.extend(h.a.instance,y)}}):$__default.default.extend(h.a.instance,HIPRINT_CONFIG)}function Et(M,e){return l.instance.updateElementType(M,e)}function Bt(M){h.a.instance.clear("printerList"),h.a.instance.on("printerList",M),hiwebSocket.refreshPrinterList()}function Ut(M){h.a.instance.clear("clients"),h.a.instance.on("clients",M),hiwebSocket.getClients()}function Zt(M){h.a.instance.clear("clientInfo"),h.a.instance.on("getClientInfo",M),hiwebSocket.getClientInfo()}function Lt(M,e,...i){h.a.instance.clear("address_"+M),h.a.instance.on("address_"+M,e),hiwebSocket.getAddress(M,...i)}function zt(M,e,i){h.a.instance.clear("ippPrinterCallback"),h.a.instance.on("ippPrinterCallback",e),h.a.instance.clear("ippPrinterConnected"),h.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(M)}function Wt(M,e){h.a.instance.clear("ippRequestCallback"),h.a.instance.on("ippRequestCallback",e),hiwebSocket.ippRequest(M)}r.d(L,"register",function(){return Dt}),r.d(L,"init",function(){return Nt}),r.d(L,"setConfig",function(){return At}),r.d(L,"updateElementType",function(){return Et}),r.d(L,"hiwebSocket",function(){return hiwebSocket}),r.d(L,"refreshPrinterList",function(){return Bt}),r.d(L,"getClients",function(){return Ut}),r.d(L,"getClientInfo",function(){return Zt}),r.d(L,"getAddress",function(){return Lt}),r.d(L,"ippPrint",function(){return zt}),r.d(L,"ippRequest",function(){return Wt}),r.d(L,"ElementTypes",function(){return l.instance}),r.d(L,"PrintElementTypeManager",function(){return lt}),r.d(L,"PrintElementTypeGroup",function(){return pt}),r.d(L,"PrintTemplate",function(){return Pt}),r.d(L,"print",function(){return jt}),r.d(L,"print2",function(){return St}),r.d(L,"getHtml",function(){return Ct}),$__default.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var M=h.a.instance.getHooks("ready");M&&M.forEach(e=>{e.run({p:h,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let defaultElementTypeProvider=defaultTypeProvider(hiprint$1);(function(R){R.fn.hiwprint=function(b){var l=document.getElementById("hiwprint_iframe");l&&l.parentNode.removeChild(l);var h=R.extend({},R.fn.hiwprint.defaults,b),g=this,E=R('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),D="";h.importCss&&(h.styleHandler&&(D+=h.styleHandler()),R("link[media=print]").length>0&&R("link[media=print]").each(function(){R(this).attr("href").indexOf("print-lock.css")>=0&&(D+='<link rel="stylesheet" type="text/css" media="print" href="'+R(this).attr("href")+'">',D+='<link rel="stylesheet" type="text/css" href="'+R(this).attr("href")+'">')})),E[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>",E[0].onload=function(){var v=E[0].contentWindow||E[0].contentDocument;v.document&&(v=v.document),E.attr("srcdoc")||v.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+D+"</head><body></body></html>"),h.printContainer?v.body.innerHTML=g[0].outerHTML:v.body.innerHTML=g.html(),w(v,function(){L(E[0],h)})},E.appendTo("body")},R.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function L(b,l){try{if(b.focus(),B()||r())try{b.contentWindow.document.execCommand("print",!1,null)}catch{b.contentWindow.print()}else b.contentWindow.print();l.callback&&l.callback()}catch(h){console.log(h)}}function r(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function B(){return!r()&&!!window.StyleMedia}function w(b,l,h){h===void 0&&(h=0);for(var g=b.getElementsByTagName("img"),E=!0,D=0;D<g.length;D++){var v=g[D];v.src&&v.src!==window.location.href&&v.src.indexOf("base64")==-1&&(!v||typeof v.naturalWidth>"u"||v.naturalWidth===0||!v.complete)&&(v.complete||(E=!1))}h++,!E&&h<10?setTimeout(function(){w(b,l,h)},500):l()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.19",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,paperNumberContinue:!0,panel:{supportOptions:[{name:"paperList",hidden:!1},{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperDirections",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberContinue",hidden:!1},{name:"paperNumberFormat",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"overPrintOptions",hidden:!1},{name:"watermarkOptions",hidden:!1}],default:{}},barcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},qrcode:{showPoints:["r","s","e","n","w","ne","nw","se","sw"]},text:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u8FB9\u6846",options:[{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"upperCase",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"dataType",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"color",hidden:!1},{name:"textDecoration",hidden:!1},{name:"textAlign",hidden:!1},{name:"textContentVerticalAlign",hidden:!1},{name:"textContentWrap",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textType",hidden:!1},{name:"barcodeMode",hidden:!1},{name:"qrCodeLevel",hidden:!1},{name:"hideTitle",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{width:120,height:9.75}},image:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"titleSync",hidden:!1},{name:"columnField",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummaryColspan",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"tableSummaryFormatter",hidden:!1},{name:"upperCase",hidden:!1},{name:"renderFormatter",hidden:!1},{name:"formatter2",hidden:!1},{name:"styler2",hidden:!1},{name:"stylerHeader",hidden:!1}],default:{height:90,width:90}}}})();const hiprint="",printLock="",autoConnect=function(R){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start(R)},disAutoConnect=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=hiprint$1;exports.autoConnect=autoConnect;exports.defaultElementTypeProvider=defaultElementTypeProvider;exports.disAutoConnect=disAutoConnect;exports.hiprint=hiprint$1;
|