@sv-print/hiprint 0.1.7-beta3 → 0.1.7-beta5
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 +121 -121
- package/dist/index.mjs +1888 -1884
- package/dist/index.umd.js +121 -121
- 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 Te=require("jquery"),we=require("jsbarcode"),xe=require("socket.io-client"),He=require("jspdf"),Ce=require("html2canvas"),Ne=require("canvg"),Et=$=>$&&typeof $=="object"&&"default"in $?$:{default:$},x=Et(Te),Qt=Et(we),De=Et(Ce),Ae=Et(Ne);var Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Be={exports:{}};(function($,F){(function(g){$.exports=g(x.default)})(function(g){function W(a){var I=a.parent();a.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),I.before(a).remove()}function E(a){var I=a.parent(),h=I.find(".minicolors-panel"),M=a.data("minicolors-settings");!a.data("minicolors-initialized")||a.prop("disabled")||I.hasClass("minicolors-inline")||I.hasClass("minicolors-focus")||(b(),I.addClass("minicolors-focus"),h.animate?h.stop(!0,!0).fadeIn(M.showSpeed,function(){M.show&&M.show.call(a.get(0))}):(h.show(),M.show&&M.show.call(a.get(0))))}function b(){g(".minicolors-focus").each(function(){var a=g(this),I=a.find(".minicolors-input"),h=a.find(".minicolors-panel"),M=I.data("minicolors-settings");h.animate?h.fadeOut(M.hideSpeed,function(){M.hide&&M.hide.call(I.get(0)),a.removeClass("minicolors-focus")}):(h.hide(),M.hide&&M.hide.call(I.get(0)),a.removeClass("minicolors-focus"))})}function l(a,I,h){var M,u,d,A,Z,L=a.parents(".minicolors").find(".minicolors-input"),J=L.data("minicolors-settings"),Y=a.find("[class$=-picker]"),R=a.offset().left,V=a.offset().top,q=Math.round(I.pageX-R),z=Math.round(I.pageY-V),et=h?J.animationSpeed:0;I.originalEvent.changedTouches&&(q=I.originalEvent.changedTouches[0].pageX-R,z=I.originalEvent.changedTouches[0].pageY-V),q<0&&(q=0),z<0&&(z=0),q>a.width()&&(q=a.width()),z>a.height()&&(z=a.height()),a.parent().is(".minicolors-slider-wheel")&&Y.parent().is(".minicolors-grid")&&(M=75-q,u=75-z,d=Math.sqrt(M*M+u*u),(A=Math.atan2(u,M))<0&&(A+=2*Math.PI),75<d&&(q=(d=75)-75*Math.cos(A),z=75-75*Math.sin(A)),q=Math.round(q),z=Math.round(z)),Z={top:z+"px"},a.is(".minicolors-grid")&&(Z.left=q+"px"),Y.animate?Y.stop(!0).animate(Z,et,J.animationEasing,function(){c(L,a)}):(Y.css(Z),c(L,a))}function c(a,I){function h(lt,vt){var yt,Mt;return lt.length&&vt?(yt=lt.offset().left,Mt=lt.offset().top,{x:yt-vt.offset().left+lt.outerWidth()/2,y:Mt-vt.offset().top+lt.outerHeight()/2}):null}var M,u,d,A,Z,L,J,Y=a.val(),R=a.attr("data-opacity"),V=a.parent(),q=a.data("minicolors-settings"),z=V.find(".minicolors-input-swatch"),et=V.find(".minicolors-grid"),ot=V.find(".minicolors-slider"),pt=V.find(".minicolors-opacity-slider"),st=et.find("[class$=-picker]"),ht=ot.find("[class$=-picker]"),mt=pt.find("[class$=-picker]"),ut=h(st,et),bt=h(ht,ot),dt=h(mt,pt);if(I.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(q.control){case"wheel":A=et.width()/2-ut.x,Z=et.height()/2-ut.y,L=Math.sqrt(A*A+Z*Z),(J=Math.atan2(Z,A))<0&&(J+=2*Math.PI),75<L&&(L=75,ut.x=69-75*Math.cos(J),ut.y=69-75*Math.sin(J)),u=D(L/.75,0,100),Y=o({h:M=D(180*J/Math.PI,0,360),s:u,b:d=D(100-Math.floor(bt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:u,b:100}));break;case"saturation":Y=o({h:M=D(parseInt(ut.x*(360/et.width()),10),0,360),s:u=D(100-Math.floor(bt.y*(100/ot.height())),0,100),b:d=D(100-Math.floor(ut.y*(100/et.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:100,b:d})),V.find(".minicolors-grid-inner").css("opacity",u/100);break;case"brightness":Y=o({h:M=D(parseInt(ut.x*(360/et.width()),10),0,360),s:u=D(100-Math.floor(ut.y*(100/et.height())),0,100),b:d=D(100-Math.floor(bt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:u,b:100})),V.find(".minicolors-grid-inner").css("opacity",1-d/100);break;default:Y=o({h:M=D(360-parseInt(bt.y*(360/ot.height()),10),0,360),s:u=D(Math.floor(ut.x*(100/et.width())),0,100),b:d=D(100-Math.floor(ut.y*(100/et.height())),0,100)}),et.css("backgroundColor",o({h:M,s:100,b:100}))}s(a,Y,R=q.opacity?parseFloat(1-dt.y/pt.height()).toFixed(2):1)}else z.find("span").css({backgroundColor:Y,opacity:String(R)}),C(a,Y,R)}function s(a,I,h){var M,u=a.parent(),d=a.data("minicolors-settings"),A=u.find(".minicolors-input-swatch");d.opacity&&a.attr("data-opacity",h),I=d.format==="rgb"?(M=H(I)?T(I,!0):m(r(I,!0)),h=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),!isNaN(h)&&d.opacity||(h=1),a.minicolors("rgbObject").a<=1&&M&&d.opacity?"rgba("+M.r+", "+M.g+", "+M.b+", "+parseFloat(h)+")":"rgb("+M.r+", "+M.g+", "+M.b+")"):(H(I)&&(I=v(I)),N(I,d.letterCase)),a.val(I),A.find("span").css({backgroundColor:I,opacity:String(h)}),C(a,I,h)}function w(a,I){var h,M,u,d,A,Z,L,J,Y,R,V=a.parent(),q=a.data("minicolors-settings"),z=V.find(".minicolors-input-swatch"),et=V.find(".minicolors-grid"),ot=V.find(".minicolors-slider"),pt=V.find(".minicolors-opacity-slider"),st=et.find("[class$=-picker]"),ht=ot.find("[class$=-picker]"),mt=pt.find("[class$=-picker]");switch(H(a.val())?(h=v(a.val()),(A=D(parseFloat(j(a.val())).toFixed(2),0,1))&&a.attr("data-opacity",A)):h=N(r(a.val(),!0),q.letterCase),M=function(ut){var bt=function(dt){var lt={h:0,s:0,b:0},vt=Math.min(dt.r,dt.g,dt.b),yt=Math.max(dt.r,dt.g,dt.b),Mt=yt-vt;return lt.b=yt,lt.s=yt!==0?255*Mt/yt:0,lt.s!==0?dt.r===yt?lt.h=(dt.g-dt.b)/Mt:dt.g===yt?lt.h=2+(dt.b-dt.r)/Mt:lt.h=4+(dt.r-dt.g)/Mt:lt.h=-1,lt.h*=60,lt.h<0&&(lt.h+=360),lt.s*=.39215686274509803,lt.b*=.39215686274509803,lt}(m(ut));return bt.s===0&&(bt.h=360),bt}(h=h||N(S(q.defaultValue,!0),q.letterCase)),d=q.keywords?g.map(q.keywords.split(","),function(ut){return ut.toLowerCase().trim()}):[],Z=a.val()!==""&&-1<g.inArray(a.val().toLowerCase(),d)?N(a.val()):H(a.val())?T(a.val()):h,I||a.val(Z),q.opacity&&(u=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),isNaN(u)&&(u=1),a.attr("data-opacity",u),z.find("span").css("opacity",String(u)),J=D(pt.height()-pt.height()*u,0,pt.height()),mt.css("top",J+"px")),a.val().toLowerCase()==="transparent"&&z.find("span").css("opacity",String(0)),z.find("span").css("backgroundColor",h),q.control){case"wheel":Y=D(Math.ceil(.75*M.s),0,et.height()/2),R=M.h*Math.PI/180,L=D(75-Math.cos(R)*Y,0,et.width()),J=D(75-Math.sin(R)*Y,0,et.height()),st.css({top:J+"px",left:L+"px"}),J=150-M.b/(100/et.height()),h===""&&(J=0),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:M.s,b:100}));break;case"saturation":L=D(5*M.h/12,0,150),J=D(et.height()-Math.ceil(M.b/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.s*(ot.height()/100),0,ot.height()),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:100,b:M.b})),V.find(".minicolors-grid-inner").css("opacity",M.s/100);break;case"brightness":L=D(5*M.h/12,0,150),J=D(et.height()-Math.ceil(M.s/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.b*(ot.height()/100),0,ot.height()),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:M.s,b:100})),V.find(".minicolors-grid-inner").css("opacity",1-M.b/100);break;default:L=D(Math.ceil(M.s/(100/et.width())),0,et.width()),J=D(et.height()-Math.ceil(M.b/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.h/(360/ot.height()),0,ot.height()),ht.css("top",J+"px"),et.css("backgroundColor",o({h:M.h,s:100,b:100}))}a.data("minicolors-initialized")&&C(a,Z,u)}function C(a,I,h){var M,u,d,A=a.data("minicolors-settings"),Z=a.data("minicolors-lastChange");if(!Z||Z.value!==I||Z.opacity!==h){if(a.data("minicolors-lastChange",{value:I,opacity:h}),A.swatches&&A.swatches.length!==0){for(M=H(I)?T(I,!0):m(I),u=-1,d=0;d<A.swatches.length;++d)if(M.r===A.swatches[d].r&&M.g===A.swatches[d].g&&M.b===A.swatches[d].b&&M.a===A.swatches[d].a){u=d;break}a.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),u!==-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,h)},A.changeDelay))):A.change.call(a.get(0),I,h)),a.trigger("change").trigger("input")}}function N(a,I){return I==="uppercase"?a.toUpperCase():a.toLowerCase()}function r(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 T(a,I){var h=a.replace(/[^\d,.]/g,"").split(",");return h[0]=D(parseInt(h[0],10),0,255),h[1]=D(parseInt(h[1],10),0,255),h[2]=D(parseInt(h[2],10),0,255),h[3]!==void 0&&(h[3]=D(parseFloat(h[3],10),0,1)),I?h[3]!==void 0?{r:h[0],g:h[1],b:h[2],a:h[3]}:{r:h[0],g:h[1],b:h[2]}:h[3]!==void 0&&h[3]<=1?"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+h[3]+")":"rgb("+h[0]+", "+h[1]+", "+h[2]+")"}function S(a,I){return H(a)?T(a):r(a,I)}function D(a,I,h){return a<I&&(a=I),h<a&&(a=h),a}function H(a){var I=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!I||I.length!==4)}function j(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 v(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 P(a){var I=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];return g.each(I,function(h,M){M.length===1&&(I[h]="0"+M)}),"#"+I.join("")}function o(a){return P((I=a,d={},A=Math.round(I.h),Z=Math.round(255*I.s/100),L=Math.round(255*I.b/100),Z===0?d.r=d.g=d.b=L:(u=A%60*((h=L)-(M=(255-Z)*L/255))/60,A===360&&(A=0),A<60?(d.r=h,d.b=M,d.g=M+u):A<120?(d.g=h,d.b=M,d.r=h-u):A<180?(d.g=h,d.r=M,d.b=M+u):A<240?(d.b=h,d.r=M,d.g=h-u):A<300?(d.b=h,d.g=M,d.r=M+u):A<360?(d.r=h,d.g=M,d.b=h-u):(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,h,M,u,d,A,Z,L}function m(a){return{r:(a=parseInt(-1<a.indexOf("#")?a.substring(1):a,16))>>16,g:(65280&a)>>8,b:255&a}}g.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:[]}},g.extend(g.fn,{minicolors:function(a,I){switch(a){case"destroy":return g(this).each(function(){W(g(this))}),g(this);case"hide":return b(),g(this);case"opacity":return I===void 0?g(this).attr("data-opacity"):(g(this).each(function(){w(g(this).attr("data-opacity",I))}),g(this));case"rgbObject":return function(h){var M,u=g(h).attr("data-opacity");{var d;M=H(g(h).val())?T(g(h).val(),!0):(d=r(g(h).val(),!0),m(d))}return M?(u!==void 0&&g.extend(M,{a:parseFloat(u)}),M):null}(g(this));case"rgbString":case"rgbaString":return function(h,M){var u,d=g(h).attr("data-opacity");{var A;u=H(g(h).val())?T(g(h).val(),!0):(A=r(g(h).val(),!0),m(A))}return u?(d===void 0&&(d=1),M?"rgba("+u.r+", "+u.g+", "+u.b+", "+parseFloat(d)+")":"rgb("+u.r+", "+u.g+", "+u.b+")"):null}(g(this),a==="rgbaString");case"settings":return I===void 0?g(this).data("minicolors-settings"):(g(this).each(function(){var h=g(this).data("minicolors-settings")||{};W(g(this)),g(this).minicolors(g.extend(!0,h,I))}),g(this));case"show":return E(g(this).eq(0)),g(this);case"value":return I===void 0?g(this).val():(g(this).each(function(){typeof I=="object"&&I!==null?(I.opacity!==void 0&&g(this).attr("data-opacity",D(I.opacity,0,1)),I.color&&g(this).val(I.color)):g(this).val(I),w(g(this))}),g(this));default:return a!=="create"&&(I=a),g(this).each(function(){(function(h,M){var u,d,A,Z,L,J,Y,R=g('<div class="minicolors" />'),V=g.minicolors.defaults;if(!h.data("minicolors-initialized")){if(M=g.extend(!0,{},V,M),R.addClass("minicolors-theme-"+M.theme).toggleClass("minicolors-with-opacity",M.opacity),M.position!==void 0&&g.each(M.position.split(" "),function(){R.addClass("minicolors-position-"+this)}),d=M.format==="rgb"?M.opacity?"25":"20":M.keywords?"11":"7",h.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",M).prop("size",d).wrap(R).after('<div class="minicolors-panel minicolors-slider-'+M.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>'),M.inline||(h.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),h.next(".minicolors-input-swatch").on("click",function(q){q.preventDefault(),h.trigger("focus")})),(J=h.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),M.swatches&&M.swatches.length!==0)for(J.addClass("minicolors-with-swatches"),A=g('<ul class="minicolors-swatches"></ul>').appendTo(J),Y=0;Y<M.swatches.length;++Y)Z=typeof M.swatches[Y]=="object"?(u=M.swatches[Y].name,M.swatches[Y].color):(u="",M.swatches[Y]),Z=H(L=Z)?T(Z,!0):m(r(Z,!0)),g('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",u).appendTo(A).data("swatch-color",L).find(".minicolors-swatch-color").css({backgroundColor:L!=="transparent"?P(Z):"transparent",opacity:String(Z.a)}),M.swatches[Y]=Z;M.inline&&h.parent().addClass("minicolors-inline"),w(h,!1),h.data("minicolors-initialized",!0)}})(g(this),I)}),g(this)}}}),g([document]).on("mousedown.minicolors touchstart.minicolors",function(a){g(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=g(this);a.preventDefault(),g(a.delegateTarget).data("minicolors-target",I),l(I,a,!0)}).on("mousemove.minicolors touchmove.minicolors",function(a){var I=g(a.delegateTarget).data("minicolors-target");I&&l(I,a)}).on("mouseup.minicolors touchend.minicolors",function(){g(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(a){a.preventDefault();var I=g(this),h=I.parents(".minicolors").find(".minicolors-input"),M=I.data("swatch-color");s(h,M,j(M)),w(h)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(a){var I=g(this).parent().find(".minicolors-input");a.preventDefault(),E(I)}).on("focus.minicolors",".minicolors-input",function(){var a=g(this);a.data("minicolors-initialized")&&E(a)}).on("blur.minicolors",".minicolors-input",function(){var a,I,h,M,u,d=g(this),A=d.data("minicolors-settings");d.data("minicolors-initialized")&&(a=A.keywords?g.map(A.keywords.split(","),function(Z){return Z.toLowerCase().trim()}):[],u=d.val()!==""&&-1<g.inArray(d.val().toLowerCase(),a)?d.val():(h=H(d.val())?T(d.val(),!0):(I=r(d.val(),!0))?m(I):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?T("rgba("+h.r+","+h.g+","+h.b+","+d.attr("data-opacity")+")"):T("rgb("+h.r+","+h.g+","+h.b+")"):P(h),M=A.opacity?d.attr("data-opacity"):1,u.toLowerCase()==="transparent"&&(M=0),d.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(M)),d.val(u),d.val()===""&&d.val(S(A.defaultValue,!0)),d.val(N(d.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(a){var I=g(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=g(this);a.data("minicolors-initialized")&&w(a,!0)}).on("paste.minicolors",".minicolors-input",function(){var a=g(this);a.data("minicolors-initialized")&&setTimeout(function(){w(a,!0)},1)})})})(Be);(function(){function $(o){this.mode=g.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var m=0,a=this.data.length;m<a;m++){var I=[],h=this.data.charCodeAt(m);h>65536?(I[0]=240|(h&1835008)>>>18,I[1]=128|(h&258048)>>>12,I[2]=128|(h&4032)>>>6,I[3]=128|h&63):h>2048?(I[0]=224|(h&61440)>>>12,I[1]=128|(h&4032)>>>6,I[2]=128|h&63):h>128?(I[0]=192|(h&1984)>>>6,I[1]=128|h&63):I[0]=h,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))}$.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 F(o,m){this.typeNumber=o,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}F.prototype={addData:function(o){var m=new $(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=F.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),h=1;this.make();for(var M=0;M<this.modules.length;M++)for(var u=M*h,d=0;d<this.modules[M].length;d++){var A=d*h,Z=this.modules[M][d];Z&&(I.beginFill(0,100),I.moveTo(A,u),I.lineTo(A+h,u),I.lineTo(A+h,u+h),I.lineTo(A,u+h),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],h=o[a];if(this.modules[I][h]==null)for(var M=-2;M<=2;M++)for(var u=-2;u<=2;u++)M==-2||M==2||u==-2||u==2||M==0&&u==0?this.modules[I+M][h+u]=!0:this.modules[I+M][h+u]=!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),h=0;h<15;h++){var M=!o&&(I>>h&1)==1;h<6?this.modules[h][8]=M:h<8?this.modules[h+1][8]=M:this.modules[this.moduleCount-15+h][8]=M}for(var h=0;h<15;h++){var M=!o&&(I>>h&1)==1;h<8?this.modules[8][this.moduleCount-h-1]=M:h<9?this.modules[8][15-h-1+1]=M:this.modules[8][15-h-1]=M}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,m){for(var a=-1,I=this.moduleCount-1,h=7,M=0,u=this.moduleCount-1;u>0;u-=2)for(u==6&&u--;;){for(var d=0;d<2;d++)if(this.modules[I][u-d]==null){var A=!1;M<o.length&&(A=(o[M]>>>h&1)==1);var Z=b.getMask(m,I,u-d);Z&&(A=!A),this.modules[I][u-d]=A,h--,h==-1&&(M++,h=7)}if(I+=a,I<0||this.moduleCount<=I){I-=a,a=-a;break}}}},F.PAD0=236,F.PAD1=17,F.createData=function(o,m,a){for(var I=w.getRSBlocks(o,m),h=new C,M=0;M<a.length;M++){var u=a[M];h.put(u.mode,4),h.put(u.getLength(),b.getLengthInBits(u.mode,o)),u.write(h)}for(var d=0,M=0;M<I.length;M++)d+=I[M].dataCount;if(h.getLengthInBits()>d*8)throw new Error("code length overflow. ("+h.getLengthInBits()+">"+d*8+")");for(h.getLengthInBits()+4<=d*8&&h.put(0,4);h.getLengthInBits()%8!=0;)h.putBit(!1);for(;!(h.getLengthInBits()>=d*8||(h.put(F.PAD0,8),h.getLengthInBits()>=d*8));)h.put(F.PAD1,8);return F.createBytes(h,I)},F.createBytes=function(o,m){for(var a=0,I=0,h=0,M=new Array(m.length),u=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),h=Math.max(h,Z),M[d]=new Array(A);for(var L=0;L<M[d].length;L++)M[d][L]=255&o.buffer[L+a];a+=A;var J=b.getErrorCorrectPolynomial(Z),Y=new s(M[d],J.getLength()-1),R=Y.mod(J);u[d]=new Array(J.getLength()-1);for(var L=0;L<u[d].length;L++){var V=L+R.getLength()-u[d].length;u[d][L]=V>=0?R.get(V):0}}for(var q=0,L=0;L<m.length;L++)q+=m[L].totalCount;for(var z=new Array(q),et=0,L=0;L<I;L++)for(var d=0;d<m.length;d++)L<M[d].length&&(z[et++]=M[d][L]);for(var L=0;L<h;L++)for(var d=0;d<m.length;d++)L<u[d].length&&(z[et++]=u[d][L]);return z};for(var g={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},W={L:1,M:0,Q:3,H:2},E={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 E.PATTERN000:return(m+a)%2==0;case E.PATTERN001:return m%2==0;case E.PATTERN010:return a%3==0;case E.PATTERN011:return(m+a)%3==0;case E.PATTERN100:return(Math.floor(m/2)+Math.floor(a/3))%2==0;case E.PATTERN101:return m*a%2+m*a%3==0;case E.PATTERN110:return(m*a%2+m*a%3)%2==0;case E.PATTERN111:return(m*a%3+(m+a)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var m=new s([1],0),a=0;a<o;a++)m=m.multiply(new s([1,l.gexp(a)],0));return m},getLengthInBits:function(o,m){if(1<=m&&m<10)switch(o){case g.MODE_NUMBER:return 10;case g.MODE_ALPHA_NUM:return 9;case g.MODE_8BIT_BYTE:return 8;case g.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(m<27)switch(o){case g.MODE_NUMBER:return 12;case g.MODE_ALPHA_NUM:return 11;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(m<41)switch(o){case g.MODE_NUMBER:return 14;case g.MODE_ALPHA_NUM:return 13;case g.MODE_8BIT_BYTE:return 16;case g.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 h=0;h<m;h++){for(var M=0,u=o.isDark(I,h),d=-1;d<=1;d++)if(!(I+d<0||m<=I+d))for(var A=-1;A<=1;A++)h+A<0||m<=h+A||d==0&&A==0||u==o.isDark(I+d,h+A)&&M++;M>5&&(a+=3+M-5)}for(var I=0;I<m-1;I++)for(var h=0;h<m-1;h++){var Z=0;o.isDark(I,h)&&Z++,o.isDark(I+1,h)&&Z++,o.isDark(I,h+1)&&Z++,o.isDark(I+1,h+1)&&Z++,(Z==0||Z==4)&&(a+=3)}for(var I=0;I<m;I++)for(var h=0;h<m-6;h++)o.isDark(I,h)&&!o.isDark(I,h+1)&&o.isDark(I,h+2)&&o.isDark(I,h+3)&&o.isDark(I,h+4)&&!o.isDark(I,h+5)&&o.isDark(I,h+6)&&(a+=40);for(var h=0;h<m;h++)for(var I=0;I<m-6;I++)o.isDark(I,h)&&!o.isDark(I+1,h)&&o.isDark(I+2,h)&&o.isDark(I+3,h)&&o.isDark(I+4,h)&&!o.isDark(I+5,h)&&o.isDark(I+6,h)&&(a+=40);for(var L=0,h=0;h<m;h++)for(var I=0;I<m;I++)o.isDark(I,h)&&L++;var J=Math.abs(100*L/m/m-50)/5;return a+=J*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)},c=0;c<8;c++)l.EXP_TABLE[c]=1<<c;for(var c=8;c<256;c++)l.EXP_TABLE[c]=l.EXP_TABLE[c-4]^l.EXP_TABLE[c-5]^l.EXP_TABLE[c-6]^l.EXP_TABLE[c-8];for(var c=0;c<255;c++)l.LOG_TABLE[l.EXP_TABLE[c]]=c;function s(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]}s.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 s(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 s(a,0).mod(o)}};function w(o,m){this.totalCount=o,this.dataCount=m}w.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]],w.getRSBlocks=function(o,m){var a=w.getRsBlockTable(o,m);if(a==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+m);for(var I=a.length/3,h=[],M=0;M<I;M++)for(var u=a[M*3+0],d=a[M*3+1],A=a[M*3+2],Z=0;Z<u;Z++)h.push(new w(d,A));return h},w.getRsBlockTable=function(o,m){switch(m){case W.L:return w.RS_BLOCK_TABLE[(o-1)*4+0];case W.M:return w.RS_BLOCK_TABLE[(o-1)*4+1];case W.Q:return w.RS_BLOCK_TABLE[(o-1)*4+2];case W.H:return w.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function C(){this.buffer=[],this.length=0}C.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 N=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function r(){return typeof CanvasRenderingContext2D<"u"}function T(){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 S=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,h=m.getModuleCount();Math.floor(a.width/h),Math.floor(a.height/h),this.clear();function M(L,J){var Y=document.createElementNS("http://www.w3.org/2000/svg",L);for(var R in J)J.hasOwnProperty(R)&&Y.setAttribute(R,J[R]);return Y}var u=M("svg",{viewBox:"0 0 "+String(h)+" "+String(h),width:"100%",height:"100%",fill:a.colorLight});u.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),I.appendChild(u),u.appendChild(M("rect",{fill:a.colorLight,width:"100%",height:"100%"})),u.appendChild(M("rect",{fill:a.colorDark,width:"1",height:"1",id:"template"}));for(var d=0;d<h;d++)for(var A=0;A<h;A++)if(m.isDark(d,A)){var Z=M("use",{x:String(A),y:String(d)});Z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),u.appendChild(Z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),D=document.documentElement.tagName.toLowerCase()==="svg",H=D?S:r()?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(M,u,d,A,Z,L,J,Y,R){if("nodeName"in M&&/img/i.test(M.nodeName))for(var V=arguments.length-1;V>=1;V--)arguments[V]=arguments[V]*m;else typeof Y>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);a.apply(this,arguments)}}function I(M,u){var d=this;if(d._fFail=u,d._fSuccess=M,d._bSupportDataURI===null){var A=document.createElement("img"),Z=function(){d._bSupportDataURI=!1,d._fFail&&d._fFail.call(d)},L=function(){d._bSupportDataURI=!0,d._fSuccess&&d._fSuccess.call(d)};A.onabort=Z,A.onerror=Z,A.onload=L,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 h=function(M,u){this._bIsPainted=!1,this._android=T(),this._htOption=u,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=u.width,this._elCanvas.height=u.height,M.appendChild(this._elCanvas),this._el=M,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return h.prototype.draw=function(M){var u=this._elImage,d=this._oContext,A=this._htOption,Z=M.getModuleCount(),L=A.width/Z,J=A.height/Z,Y=Math.round(L),R=Math.round(J);u.style.display="none",this.clear();for(var V=0;V<Z;V++)for(var q=0;q<Z;q++){var z=M.isDark(V,q),et=q*L,ot=V*J;d.strokeStyle=z?A.colorDark:A.colorLight,d.lineWidth=1,d.fillStyle=z?A.colorDark:A.colorLight,d.fillRect(et,ot,L,J),d.strokeRect(Math.floor(et)+.5,Math.floor(ot)+.5,Y,R),d.strokeRect(Math.ceil(et)-.5,Math.ceil(ot)-.5,Y,R)}this._bIsPainted=!0},h.prototype.makeImage=function(){this._bIsPainted&&I.call(this,o)},h.prototype.isPainted=function(){return this._bIsPainted},h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},h.prototype.round=function(M){return M&&Math.floor(M*1e3)/1e3},h}():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,h=m.getModuleCount(),M=Math.floor(a.width/h),u=Math.floor(a.height/h),d=['<table style="border:0;border-collapse:collapse;">'],A=0;A<h;A++){d.push("<tr>");for(var Z=0;Z<h;Z++)d.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+M+"px;height:"+u+"px;background-color:"+(m.isDark(A,Z)?a.colorDark:a.colorLight)+';"></td>');d.push("</tr>")}d.push("</table>"),I.innerHTML=d.join("");var L=I.childNodes[0],J=(a.width-L.offsetWidth)/2,Y=(a.height-L.offsetHeight)/2;J>0&&Y>0&&(L.style.margin=Y+"px "+J+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function j(o,m){for(var a=1,I=v(o),h=0,M=N.length;h<=M;h++){var u=0;switch(m){case W.L:u=N[h][0];break;case W.M:u=N[h][1];break;case W.Q:u=N[h][2];break;case W.H:u=N[h][3];break}if(I<=u)break;a++}if(a>N.length)throw new Error("Too long data");return a}function v(o){var m=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=o?3:0)}var P=function(o,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:W.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&&(H=S),this._android=T(),this._el=o,this._oQRCode=null,this._oDrawing=new H(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};P.prototype.makeCode=function(o){this._oQRCode=new F(j(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()},P.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},P.prototype.clear=function(){this._oDrawing.clear()},P.CorrectLevel=W,window.QRCode=P})();function Ue($,F="YYYY-MM-DD"){if(!$)return null;typeof $=="number"&&($=new Date($));const g=$.getFullYear(),W=$.getMonth(),E=$.getDate(),b=$.getHours(),l=b%12===0?12:b%12,c=$.getMinutes(),s=$.getSeconds(),w=N=>`0${N}`.slice(-2),C={YYYY:g,MM:w(W+1),MMMM:`${W+1}\u6708`,M:W+1,DD:w(E),D:E,HH:w(b),H:b,hh:w(l),h:l,mm:w(c),m:c,ss:w(s),s};return F.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,N=>String(C[N]))}const Ze={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 St={};function Xt($){const{id:F,watch:g,content:W,container:E,width:b,height:l,textAlign:c,textBaseline:s,fontSize:w,fontFamily:C,fillStyle:N,rotate:r,timestamp:T,format:S,zIndex:D}=$;St[F]={wmMo:null,wmTimer:null};const H=document.createElement("canvas");H.setAttribute("width",`${b}px`),H.setAttribute("height",`${l}px`);let j=typeof E=="string"?document.querySelector(E):E;const v=H.getContext("2d");v.textAlign=c,v.textBaseline=s,v.font=`${w} ${C}`,v.fillStyle=N,v.translate(b/2,l/2),v.rotate(-(Math.PI/180)*r),v.fillText(`${W}`,0,0),T&&v.fillText(`${Ue(new Date,S)}`,0,parseInt(w)+5);let P=j.querySelector(".__vm__"+F);const o=P||document.createElement("div"),a=`position:absolute;user-select:none;top:0;left:0;${j.getAttribute("style")};z-index:${D};pointer-events:none !important;background-repeat:repeat;background-image:url('${H.toDataURL()}')`;if(o.setAttribute("style",a),o.classList.add("__vm__"+F),P||j.insertBefore(o,j.firstChild),g){const I=window.MutationObserver||window.WebKitMutationObserver;I&&(St[F].wmMo=new I(h=>{let M=h.some(u=>u.target.className==j.className&&u.type=="attributes");P=j.querySelector(".__vm__"+F),(P&&P.getAttribute("style")!==a||!P||M)&&(St[F].wmMo.disconnect(),St[F].wmMo=null,delete St[F].wmMo,Xt($))}),St[F].wmMo.observe(j,{attributes:!0,subtree:!0,childList:!0}))}if(S){let I=864e5;S.includes("s")?I=1e3:S.includes("m")?I=1e3*60:(S.includes("h")||S.includes("H"))&&(I=1e3*60*60),St[F].wmTimer=window.setTimeout(()=>{o.style.bottom="0"},I)}}const _t=function($){const{id:F,watch:g,container:W}=$;if(g){let E=typeof W=="string"?document.querySelector(W):W;St[F]&&(St[F].wmMo&&St[F].wmMo.disconnect(),St[F].wmMo=null,St[F].wmTimer&&window.clearTimeout(St[F].wmTimer),St[F].wmTimer=null,delete St[F]);const b=E.querySelector(".__vm__"+F);b&&b.parentNode.removeChild(b)}},Le=function($){let F=Object.assign({},Ze,$);_t(F),Xt(F)},Yt={createWatermark:Le,destroyWatermark:_t},ze="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA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xsaW5lIHgxPSIzNy41IiB5MT0iLTEwIiB4Mj0iMzcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1OS41IiB5MT0iLTEwIiB4Mj0iNTkuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iLTEwIiB4Mj0iMjMuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI0NS41IiB5MT0iLTEwIiB4Mj0iNDUuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI2Ny41IiB5MT0iLTEwIiB4Mj0iNjcuNSIgeTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var Kt={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Te=require("jquery"),we=require("jsbarcode"),xe=require("socket.io-client"),He=require("jspdf"),Ce=require("html2canvas"),Ne=require("canvg"),Et=$=>$&&typeof $=="object"&&"default"in $?$:{default:$},x=Et(Te),Qt=Et(we),De=Et(Ce),Ae=Et(Ne);var Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Be={exports:{}};(function($,F){(function(g){$.exports=g(x.default)})(function(g){function W(a){var c=a.parent();a.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),c.before(a).remove()}function E(a){var c=a.parent(),h=c.find(".minicolors-panel"),M=a.data("minicolors-settings");!a.data("minicolors-initialized")||a.prop("disabled")||c.hasClass("minicolors-inline")||c.hasClass("minicolors-focus")||(b(),c.addClass("minicolors-focus"),h.animate?h.stop(!0,!0).fadeIn(M.showSpeed,function(){M.show&&M.show.call(a.get(0))}):(h.show(),M.show&&M.show.call(a.get(0))))}function b(){g(".minicolors-focus").each(function(){var a=g(this),c=a.find(".minicolors-input"),h=a.find(".minicolors-panel"),M=c.data("minicolors-settings");h.animate?h.fadeOut(M.hideSpeed,function(){M.hide&&M.hide.call(c.get(0)),a.removeClass("minicolors-focus")}):(h.hide(),M.hide&&M.hide.call(c.get(0)),a.removeClass("minicolors-focus"))})}function l(a,c,h){var M,u,d,A,Z,L=a.parents(".minicolors").find(".minicolors-input"),J=L.data("minicolors-settings"),Y=a.find("[class$=-picker]"),R=a.offset().left,V=a.offset().top,q=Math.round(c.pageX-R),z=Math.round(c.pageY-V),et=h?J.animationSpeed:0;c.originalEvent.changedTouches&&(q=c.originalEvent.changedTouches[0].pageX-R,z=c.originalEvent.changedTouches[0].pageY-V),q<0&&(q=0),z<0&&(z=0),q>a.width()&&(q=a.width()),z>a.height()&&(z=a.height()),a.parent().is(".minicolors-slider-wheel")&&Y.parent().is(".minicolors-grid")&&(M=75-q,u=75-z,d=Math.sqrt(M*M+u*u),(A=Math.atan2(u,M))<0&&(A+=2*Math.PI),75<d&&(q=(d=75)-75*Math.cos(A),z=75-75*Math.sin(A)),q=Math.round(q),z=Math.round(z)),Z={top:z+"px"},a.is(".minicolors-grid")&&(Z.left=q+"px"),Y.animate?Y.stop(!0).animate(Z,et,J.animationEasing,function(){I(L,a)}):(Y.css(Z),I(L,a))}function I(a,c){function h(lt,vt){var yt,Mt;return lt.length&&vt?(yt=lt.offset().left,Mt=lt.offset().top,{x:yt-vt.offset().left+lt.outerWidth()/2,y:Mt-vt.offset().top+lt.outerHeight()/2}):null}var M,u,d,A,Z,L,J,Y=a.val(),R=a.attr("data-opacity"),V=a.parent(),q=a.data("minicolors-settings"),z=V.find(".minicolors-input-swatch"),et=V.find(".minicolors-grid"),ot=V.find(".minicolors-slider"),pt=V.find(".minicolors-opacity-slider"),st=et.find("[class$=-picker]"),ht=ot.find("[class$=-picker]"),mt=pt.find("[class$=-picker]"),ut=h(st,et),bt=h(ht,ot),dt=h(mt,pt);if(c.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(q.control){case"wheel":A=et.width()/2-ut.x,Z=et.height()/2-ut.y,L=Math.sqrt(A*A+Z*Z),(J=Math.atan2(Z,A))<0&&(J+=2*Math.PI),75<L&&(L=75,ut.x=69-75*Math.cos(J),ut.y=69-75*Math.sin(J)),u=D(L/.75,0,100),Y=o({h:M=D(180*J/Math.PI,0,360),s:u,b:d=D(100-Math.floor(bt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:u,b:100}));break;case"saturation":Y=o({h:M=D(parseInt(ut.x*(360/et.width()),10),0,360),s:u=D(100-Math.floor(bt.y*(100/ot.height())),0,100),b:d=D(100-Math.floor(ut.y*(100/et.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:100,b:d})),V.find(".minicolors-grid-inner").css("opacity",u/100);break;case"brightness":Y=o({h:M=D(parseInt(ut.x*(360/et.width()),10),0,360),s:u=D(100-Math.floor(ut.y*(100/et.height())),0,100),b:d=D(100-Math.floor(bt.y*(100/ot.height())),0,100)}),ot.css("backgroundColor",o({h:M,s:u,b:100})),V.find(".minicolors-grid-inner").css("opacity",1-d/100);break;default:Y=o({h:M=D(360-parseInt(bt.y*(360/ot.height()),10),0,360),s:u=D(Math.floor(ut.x*(100/et.width())),0,100),b:d=D(100-Math.floor(ut.y*(100/et.height())),0,100)}),et.css("backgroundColor",o({h:M,s:100,b:100}))}s(a,Y,R=q.opacity?parseFloat(1-dt.y/pt.height()).toFixed(2):1)}else z.find("span").css({backgroundColor:Y,opacity:String(R)}),C(a,Y,R)}function s(a,c,h){var M,u=a.parent(),d=a.data("minicolors-settings"),A=u.find(".minicolors-input-swatch");d.opacity&&a.attr("data-opacity",h),c=d.format==="rgb"?(M=H(c)?T(c,!0):m(r(c,!0)),h=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),!isNaN(h)&&d.opacity||(h=1),a.minicolors("rgbObject").a<=1&&M&&d.opacity?"rgba("+M.r+", "+M.g+", "+M.b+", "+parseFloat(h)+")":"rgb("+M.r+", "+M.g+", "+M.b+")"):(H(c)&&(c=v(c)),N(c,d.letterCase)),a.val(c),A.find("span").css({backgroundColor:c,opacity:String(h)}),C(a,c,h)}function w(a,c){var h,M,u,d,A,Z,L,J,Y,R,V=a.parent(),q=a.data("minicolors-settings"),z=V.find(".minicolors-input-swatch"),et=V.find(".minicolors-grid"),ot=V.find(".minicolors-slider"),pt=V.find(".minicolors-opacity-slider"),st=et.find("[class$=-picker]"),ht=ot.find("[class$=-picker]"),mt=pt.find("[class$=-picker]");switch(H(a.val())?(h=v(a.val()),(A=D(parseFloat(j(a.val())).toFixed(2),0,1))&&a.attr("data-opacity",A)):h=N(r(a.val(),!0),q.letterCase),M=function(ut){var bt=function(dt){var lt={h:0,s:0,b:0},vt=Math.min(dt.r,dt.g,dt.b),yt=Math.max(dt.r,dt.g,dt.b),Mt=yt-vt;return lt.b=yt,lt.s=yt!==0?255*Mt/yt:0,lt.s!==0?dt.r===yt?lt.h=(dt.g-dt.b)/Mt:dt.g===yt?lt.h=2+(dt.b-dt.r)/Mt:lt.h=4+(dt.r-dt.g)/Mt:lt.h=-1,lt.h*=60,lt.h<0&&(lt.h+=360),lt.s*=.39215686274509803,lt.b*=.39215686274509803,lt}(m(ut));return bt.s===0&&(bt.h=360),bt}(h=h||N(S(q.defaultValue,!0),q.letterCase)),d=q.keywords?g.map(q.keywords.split(","),function(ut){return ut.toLowerCase().trim()}):[],Z=a.val()!==""&&-1<g.inArray(a.val().toLowerCase(),d)?N(a.val()):H(a.val())?T(a.val()):h,c||a.val(Z),q.opacity&&(u=a.attr("data-opacity")===""?1:D(parseFloat(a.attr("data-opacity")).toFixed(2),0,1),isNaN(u)&&(u=1),a.attr("data-opacity",u),z.find("span").css("opacity",String(u)),J=D(pt.height()-pt.height()*u,0,pt.height()),mt.css("top",J+"px")),a.val().toLowerCase()==="transparent"&&z.find("span").css("opacity",String(0)),z.find("span").css("backgroundColor",h),q.control){case"wheel":Y=D(Math.ceil(.75*M.s),0,et.height()/2),R=M.h*Math.PI/180,L=D(75-Math.cos(R)*Y,0,et.width()),J=D(75-Math.sin(R)*Y,0,et.height()),st.css({top:J+"px",left:L+"px"}),J=150-M.b/(100/et.height()),h===""&&(J=0),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:M.s,b:100}));break;case"saturation":L=D(5*M.h/12,0,150),J=D(et.height()-Math.ceil(M.b/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.s*(ot.height()/100),0,ot.height()),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:100,b:M.b})),V.find(".minicolors-grid-inner").css("opacity",M.s/100);break;case"brightness":L=D(5*M.h/12,0,150),J=D(et.height()-Math.ceil(M.s/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.b*(ot.height()/100),0,ot.height()),ht.css("top",J+"px"),ot.css("backgroundColor",o({h:M.h,s:M.s,b:100})),V.find(".minicolors-grid-inner").css("opacity",1-M.b/100);break;default:L=D(Math.ceil(M.s/(100/et.width())),0,et.width()),J=D(et.height()-Math.ceil(M.b/(100/et.height())),0,et.height()),st.css({top:J+"px",left:L+"px"}),J=D(ot.height()-M.h/(360/ot.height()),0,ot.height()),ht.css("top",J+"px"),et.css("backgroundColor",o({h:M.h,s:100,b:100}))}a.data("minicolors-initialized")&&C(a,Z,u)}function C(a,c,h){var M,u,d,A=a.data("minicolors-settings"),Z=a.data("minicolors-lastChange");if(!Z||Z.value!==c||Z.opacity!==h){if(a.data("minicolors-lastChange",{value:c,opacity:h}),A.swatches&&A.swatches.length!==0){for(M=H(c)?T(c,!0):m(c),u=-1,d=0;d<A.swatches.length;++d)if(M.r===A.swatches[d].r&&M.g===A.swatches[d].g&&M.b===A.swatches[d].b&&M.a===A.swatches[d].a){u=d;break}a.parent().find(".minicolors-swatches .minicolors-swatch").removeClass("selected"),u!==-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),c,h)},A.changeDelay))):A.change.call(a.get(0),c,h)),a.trigger("change").trigger("input")}}function N(a,c){return c==="uppercase"?a.toUpperCase():a.toLowerCase()}function r(a,c){return!(a=a.replace(/^#/g,"")).match(/^[A-F0-9]{3,6}/gi)||a.length!==3&&a.length!==6?"":(a.length===3&&c&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),"#"+a)}function T(a,c){var h=a.replace(/[^\d,.]/g,"").split(",");return h[0]=D(parseInt(h[0],10),0,255),h[1]=D(parseInt(h[1],10),0,255),h[2]=D(parseInt(h[2],10),0,255),h[3]!==void 0&&(h[3]=D(parseFloat(h[3],10),0,1)),c?h[3]!==void 0?{r:h[0],g:h[1],b:h[2],a:h[3]}:{r:h[0],g:h[1],b:h[2]}:h[3]!==void 0&&h[3]<=1?"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+h[3]+")":"rgb("+h[0]+", "+h[1]+", "+h[2]+")"}function S(a,c){return H(a)?T(a):r(a,c)}function D(a,c,h){return a<c&&(a=c),h<a&&(a=h),a}function H(a){var c=a.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!c||c.length!==4)}function j(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 v(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 P(a){var c=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];return g.each(c,function(h,M){M.length===1&&(c[h]="0"+M)}),"#"+c.join("")}function o(a){return P((c=a,d={},A=Math.round(c.h),Z=Math.round(255*c.s/100),L=Math.round(255*c.b/100),Z===0?d.r=d.g=d.b=L:(u=A%60*((h=L)-(M=(255-Z)*L/255))/60,A===360&&(A=0),A<60?(d.r=h,d.b=M,d.g=M+u):A<120?(d.g=h,d.b=M,d.r=h-u):A<180?(d.g=h,d.r=M,d.b=M+u):A<240?(d.b=h,d.r=M,d.g=h-u):A<300?(d.b=h,d.g=M,d.r=M+u):A<360?(d.r=h,d.g=M,d.b=h-u):(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 c,h,M,u,d,A,Z,L}function m(a){return{r:(a=parseInt(-1<a.indexOf("#")?a.substring(1):a,16))>>16,g:(65280&a)>>8,b:255&a}}g.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:[]}},g.extend(g.fn,{minicolors:function(a,c){switch(a){case"destroy":return g(this).each(function(){W(g(this))}),g(this);case"hide":return b(),g(this);case"opacity":return c===void 0?g(this).attr("data-opacity"):(g(this).each(function(){w(g(this).attr("data-opacity",c))}),g(this));case"rgbObject":return function(h){var M,u=g(h).attr("data-opacity");{var d;M=H(g(h).val())?T(g(h).val(),!0):(d=r(g(h).val(),!0),m(d))}return M?(u!==void 0&&g.extend(M,{a:parseFloat(u)}),M):null}(g(this));case"rgbString":case"rgbaString":return function(h,M){var u,d=g(h).attr("data-opacity");{var A;u=H(g(h).val())?T(g(h).val(),!0):(A=r(g(h).val(),!0),m(A))}return u?(d===void 0&&(d=1),M?"rgba("+u.r+", "+u.g+", "+u.b+", "+parseFloat(d)+")":"rgb("+u.r+", "+u.g+", "+u.b+")"):null}(g(this),a==="rgbaString");case"settings":return c===void 0?g(this).data("minicolors-settings"):(g(this).each(function(){var h=g(this).data("minicolors-settings")||{};W(g(this)),g(this).minicolors(g.extend(!0,h,c))}),g(this));case"show":return E(g(this).eq(0)),g(this);case"value":return c===void 0?g(this).val():(g(this).each(function(){typeof c=="object"&&c!==null?(c.opacity!==void 0&&g(this).attr("data-opacity",D(c.opacity,0,1)),c.color&&g(this).val(c.color)):g(this).val(c),w(g(this))}),g(this));default:return a!=="create"&&(c=a),g(this).each(function(){(function(h,M){var u,d,A,Z,L,J,Y,R=g('<div class="minicolors" />'),V=g.minicolors.defaults;if(!h.data("minicolors-initialized")){if(M=g.extend(!0,{},V,M),R.addClass("minicolors-theme-"+M.theme).toggleClass("minicolors-with-opacity",M.opacity),M.position!==void 0&&g.each(M.position.split(" "),function(){R.addClass("minicolors-position-"+this)}),d=M.format==="rgb"?M.opacity?"25":"20":M.keywords?"11":"7",h.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",M).prop("size",d).wrap(R).after('<div class="minicolors-panel minicolors-slider-'+M.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>'),M.inline||(h.after('<span class="minicolors-swatch minicolors-sprite minicolors-input-swatch"><span class="minicolors-swatch-color"></span></span>'),h.next(".minicolors-input-swatch").on("click",function(q){q.preventDefault(),h.trigger("focus")})),(J=h.parent().find(".minicolors-panel")).on("selectstart",function(){return!1}).end(),M.swatches&&M.swatches.length!==0)for(J.addClass("minicolors-with-swatches"),A=g('<ul class="minicolors-swatches"></ul>').appendTo(J),Y=0;Y<M.swatches.length;++Y)Z=typeof M.swatches[Y]=="object"?(u=M.swatches[Y].name,M.swatches[Y].color):(u="",M.swatches[Y]),Z=H(L=Z)?T(Z,!0):m(r(Z,!0)),g('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color"></span></li>').attr("title",u).appendTo(A).data("swatch-color",L).find(".minicolors-swatch-color").css({backgroundColor:L!=="transparent"?P(Z):"transparent",opacity:String(Z.a)}),M.swatches[Y]=Z;M.inline&&h.parent().addClass("minicolors-inline"),w(h,!1),h.data("minicolors-initialized",!0)}})(g(this),c)}),g(this)}}}),g([document]).on("mousedown.minicolors touchstart.minicolors",function(a){g(a.target).parents().add(a.target).hasClass("minicolors")||b()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(a){var c=g(this);a.preventDefault(),g(a.delegateTarget).data("minicolors-target",c),l(c,a,!0)}).on("mousemove.minicolors touchmove.minicolors",function(a){var c=g(a.delegateTarget).data("minicolors-target");c&&l(c,a)}).on("mouseup.minicolors touchend.minicolors",function(){g(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(a){a.preventDefault();var c=g(this),h=c.parents(".minicolors").find(".minicolors-input"),M=c.data("swatch-color");s(h,M,j(M)),w(h)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(a){var c=g(this).parent().find(".minicolors-input");a.preventDefault(),E(c)}).on("focus.minicolors",".minicolors-input",function(){var a=g(this);a.data("minicolors-initialized")&&E(a)}).on("blur.minicolors",".minicolors-input",function(){var a,c,h,M,u,d=g(this),A=d.data("minicolors-settings");d.data("minicolors-initialized")&&(a=A.keywords?g.map(A.keywords.split(","),function(Z){return Z.toLowerCase().trim()}):[],u=d.val()!==""&&-1<g.inArray(d.val().toLowerCase(),a)?d.val():(h=H(d.val())?T(d.val(),!0):(c=r(d.val(),!0))?m(c):null)===null?A.defaultValue:A.format==="rgb"?A.opacity?T("rgba("+h.r+","+h.g+","+h.b+","+d.attr("data-opacity")+")"):T("rgb("+h.r+","+h.g+","+h.b+")"):P(h),M=A.opacity?d.attr("data-opacity"):1,u.toLowerCase()==="transparent"&&(M=0),d.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",String(M)),d.val(u),d.val()===""&&d.val(S(A.defaultValue,!0)),d.val(N(d.val(),A.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(a){var c=g(this);if(c.data("minicolors-initialized"))switch(a.which){case 9:b();break;case 13:case 27:b(),c.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var a=g(this);a.data("minicolors-initialized")&&w(a,!0)}).on("paste.minicolors",".minicolors-input",function(){var a=g(this);a.data("minicolors-initialized")&&setTimeout(function(){w(a,!0)},1)})})})(Be);(function(){function $(o){this.mode=g.MODE_8BIT_BYTE,this.data=o,this.parsedData=[];for(var m=0,a=this.data.length;m<a;m++){var c=[],h=this.data.charCodeAt(m);h>65536?(c[0]=240|(h&1835008)>>>18,c[1]=128|(h&258048)>>>12,c[2]=128|(h&4032)>>>6,c[3]=128|h&63):h>2048?(c[0]=224|(h&61440)>>>12,c[1]=128|(h&4032)>>>6,c[2]=128|h&63):h>128?(c[0]=192|(h&1984)>>>6,c[1]=128|h&63):c[0]=h,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))}$.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 F(o,m){this.typeNumber=o,this.errorCorrectLevel=m,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}F.prototype={addData:function(o){var m=new $(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 c=0;c<this.moduleCount;c++)this.modules[a][c]=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=F.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 c=-1;c<=7;c++)m+c<=-1||this.moduleCount<=m+c||(0<=a&&a<=6&&(c==0||c==6)||0<=c&&c<=6&&(a==0||a==6)||2<=a&&a<=4&&2<=c&&c<=4?this.modules[o+a][m+c]=!0:this.modules[o+a][m+c]=!1)},getBestMaskPattern:function(){for(var o=0,m=0,a=0;a<8;a++){this.makeImpl(!0,a);var c=b.getLostPoint(this);(a==0||o>c)&&(o=c,m=a)}return m},createMovieClip:function(o,m,a){var c=o.createEmptyMovieClip(m,a),h=1;this.make();for(var M=0;M<this.modules.length;M++)for(var u=M*h,d=0;d<this.modules[M].length;d++){var A=d*h,Z=this.modules[M][d];Z&&(c.beginFill(0,100),c.moveTo(A,u),c.lineTo(A+h,u),c.lineTo(A+h,u+h),c.lineTo(A,u+h),c.endFill())}return c},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 c=o[m],h=o[a];if(this.modules[c][h]==null)for(var M=-2;M<=2;M++)for(var u=-2;u<=2;u++)M==-2||M==2||u==-2||u==2||M==0&&u==0?this.modules[c+M][h+u]=!0:this.modules[c+M][h+u]=!1}},setupTypeNumber:function(o){for(var m=b.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var c=!o&&(m>>a&1)==1;this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=c}for(var a=0;a<18;a++){var c=!o&&(m>>a&1)==1;this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=c}},setupTypeInfo:function(o,m){for(var a=this.errorCorrectLevel<<3|m,c=b.getBCHTypeInfo(a),h=0;h<15;h++){var M=!o&&(c>>h&1)==1;h<6?this.modules[h][8]=M:h<8?this.modules[h+1][8]=M:this.modules[this.moduleCount-15+h][8]=M}for(var h=0;h<15;h++){var M=!o&&(c>>h&1)==1;h<8?this.modules[8][this.moduleCount-h-1]=M:h<9?this.modules[8][15-h-1+1]=M:this.modules[8][15-h-1]=M}this.modules[this.moduleCount-8][8]=!o},mapData:function(o,m){for(var a=-1,c=this.moduleCount-1,h=7,M=0,u=this.moduleCount-1;u>0;u-=2)for(u==6&&u--;;){for(var d=0;d<2;d++)if(this.modules[c][u-d]==null){var A=!1;M<o.length&&(A=(o[M]>>>h&1)==1);var Z=b.getMask(m,c,u-d);Z&&(A=!A),this.modules[c][u-d]=A,h--,h==-1&&(M++,h=7)}if(c+=a,c<0||this.moduleCount<=c){c-=a,a=-a;break}}}},F.PAD0=236,F.PAD1=17,F.createData=function(o,m,a){for(var c=w.getRSBlocks(o,m),h=new C,M=0;M<a.length;M++){var u=a[M];h.put(u.mode,4),h.put(u.getLength(),b.getLengthInBits(u.mode,o)),u.write(h)}for(var d=0,M=0;M<c.length;M++)d+=c[M].dataCount;if(h.getLengthInBits()>d*8)throw new Error("code length overflow. ("+h.getLengthInBits()+">"+d*8+")");for(h.getLengthInBits()+4<=d*8&&h.put(0,4);h.getLengthInBits()%8!=0;)h.putBit(!1);for(;!(h.getLengthInBits()>=d*8||(h.put(F.PAD0,8),h.getLengthInBits()>=d*8));)h.put(F.PAD1,8);return F.createBytes(h,c)},F.createBytes=function(o,m){for(var a=0,c=0,h=0,M=new Array(m.length),u=new Array(m.length),d=0;d<m.length;d++){var A=m[d].dataCount,Z=m[d].totalCount-A;c=Math.max(c,A),h=Math.max(h,Z),M[d]=new Array(A);for(var L=0;L<M[d].length;L++)M[d][L]=255&o.buffer[L+a];a+=A;var J=b.getErrorCorrectPolynomial(Z),Y=new s(M[d],J.getLength()-1),R=Y.mod(J);u[d]=new Array(J.getLength()-1);for(var L=0;L<u[d].length;L++){var V=L+R.getLength()-u[d].length;u[d][L]=V>=0?R.get(V):0}}for(var q=0,L=0;L<m.length;L++)q+=m[L].totalCount;for(var z=new Array(q),et=0,L=0;L<c;L++)for(var d=0;d<m.length;d++)L<M[d].length&&(z[et++]=M[d][L]);for(var L=0;L<h;L++)for(var d=0;d<m.length;d++)L<u[d].length&&(z[et++]=u[d][L]);return z};for(var g={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},W={L:1,M:0,Q:3,H:2},E={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 E.PATTERN000:return(m+a)%2==0;case E.PATTERN001:return m%2==0;case E.PATTERN010:return a%3==0;case E.PATTERN011:return(m+a)%3==0;case E.PATTERN100:return(Math.floor(m/2)+Math.floor(a/3))%2==0;case E.PATTERN101:return m*a%2+m*a%3==0;case E.PATTERN110:return(m*a%2+m*a%3)%2==0;case E.PATTERN111:return(m*a%3+(m+a)%2)%2==0;default:throw new Error("bad maskPattern:"+o)}},getErrorCorrectPolynomial:function(o){for(var m=new s([1],0),a=0;a<o;a++)m=m.multiply(new s([1,l.gexp(a)],0));return m},getLengthInBits:function(o,m){if(1<=m&&m<10)switch(o){case g.MODE_NUMBER:return 10;case g.MODE_ALPHA_NUM:return 9;case g.MODE_8BIT_BYTE:return 8;case g.MODE_KANJI:return 8;default:throw new Error("mode:"+o)}else if(m<27)switch(o){case g.MODE_NUMBER:return 12;case g.MODE_ALPHA_NUM:return 11;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 10;default:throw new Error("mode:"+o)}else if(m<41)switch(o){case g.MODE_NUMBER:return 14;case g.MODE_ALPHA_NUM:return 13;case g.MODE_8BIT_BYTE:return 16;case g.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,c=0;c<m;c++)for(var h=0;h<m;h++){for(var M=0,u=o.isDark(c,h),d=-1;d<=1;d++)if(!(c+d<0||m<=c+d))for(var A=-1;A<=1;A++)h+A<0||m<=h+A||d==0&&A==0||u==o.isDark(c+d,h+A)&&M++;M>5&&(a+=3+M-5)}for(var c=0;c<m-1;c++)for(var h=0;h<m-1;h++){var Z=0;o.isDark(c,h)&&Z++,o.isDark(c+1,h)&&Z++,o.isDark(c,h+1)&&Z++,o.isDark(c+1,h+1)&&Z++,(Z==0||Z==4)&&(a+=3)}for(var c=0;c<m;c++)for(var h=0;h<m-6;h++)o.isDark(c,h)&&!o.isDark(c,h+1)&&o.isDark(c,h+2)&&o.isDark(c,h+3)&&o.isDark(c,h+4)&&!o.isDark(c,h+5)&&o.isDark(c,h+6)&&(a+=40);for(var h=0;h<m;h++)for(var c=0;c<m-6;c++)o.isDark(c,h)&&!o.isDark(c+1,h)&&o.isDark(c+2,h)&&o.isDark(c+3,h)&&o.isDark(c+4,h)&&!o.isDark(c+5,h)&&o.isDark(c+6,h)&&(a+=40);for(var L=0,h=0;h<m;h++)for(var c=0;c<m;c++)o.isDark(c,h)&&L++;var J=Math.abs(100*L/m/m-50)/5;return a+=J*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)},I=0;I<8;I++)l.EXP_TABLE[I]=1<<I;for(var I=8;I<256;I++)l.EXP_TABLE[I]=l.EXP_TABLE[I-4]^l.EXP_TABLE[I-5]^l.EXP_TABLE[I-6]^l.EXP_TABLE[I-8];for(var I=0;I<255;I++)l.LOG_TABLE[l.EXP_TABLE[I]]=I;function s(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 c=0;c<o.length-a;c++)this.num[c]=o[c+a]}s.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 c=0;c<o.getLength();c++)m[a+c]^=l.gexp(l.glog(this.get(a))+l.glog(o.get(c)));return new s(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()),c=0;c<this.getLength();c++)a[c]=this.get(c);for(var c=0;c<o.getLength();c++)a[c]^=l.gexp(l.glog(o.get(c))+m);return new s(a,0).mod(o)}};function w(o,m){this.totalCount=o,this.dataCount=m}w.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]],w.getRSBlocks=function(o,m){var a=w.getRsBlockTable(o,m);if(a==null)throw new Error("bad rs block @ typeNumber:"+o+"/errorCorrectLevel:"+m);for(var c=a.length/3,h=[],M=0;M<c;M++)for(var u=a[M*3+0],d=a[M*3+1],A=a[M*3+2],Z=0;Z<u;Z++)h.push(new w(d,A));return h},w.getRsBlockTable=function(o,m){switch(m){case W.L:return w.RS_BLOCK_TABLE[(o-1)*4+0];case W.M:return w.RS_BLOCK_TABLE[(o-1)*4+1];case W.Q:return w.RS_BLOCK_TABLE[(o-1)*4+2];case W.H:return w.RS_BLOCK_TABLE[(o-1)*4+3];default:return}};function C(){this.buffer=[],this.length=0}C.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 N=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function r(){return typeof CanvasRenderingContext2D<"u"}function T(){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 S=function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){var a=this._htOption,c=this._el,h=m.getModuleCount();Math.floor(a.width/h),Math.floor(a.height/h),this.clear();function M(L,J){var Y=document.createElementNS("http://www.w3.org/2000/svg",L);for(var R in J)J.hasOwnProperty(R)&&Y.setAttribute(R,J[R]);return Y}var u=M("svg",{viewBox:"0 0 "+String(h)+" "+String(h),width:"100%",height:"100%",fill:a.colorLight});u.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),c.appendChild(u),u.appendChild(M("rect",{fill:a.colorLight,width:"100%",height:"100%"})),u.appendChild(M("rect",{fill:a.colorDark,width:"1",height:"1",id:"template"}));for(var d=0;d<h;d++)for(var A=0;A<h;A++)if(m.isDark(d,A)){var Z=M("use",{x:String(A),y:String(d)});Z.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),u.appendChild(Z)}},o.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},o}(),D=document.documentElement.tagName.toLowerCase()==="svg",H=D?S:r()?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(M,u,d,A,Z,L,J,Y,R){if("nodeName"in M&&/img/i.test(M.nodeName))for(var V=arguments.length-1;V>=1;V--)arguments[V]=arguments[V]*m;else typeof Y>"u"&&(arguments[1]*=m,arguments[2]*=m,arguments[3]*=m,arguments[4]*=m);a.apply(this,arguments)}}function c(M,u){var d=this;if(d._fFail=u,d._fSuccess=M,d._bSupportDataURI===null){var A=document.createElement("img"),Z=function(){d._bSupportDataURI=!1,d._fFail&&d._fFail.call(d)},L=function(){d._bSupportDataURI=!0,d._fSuccess&&d._fSuccess.call(d)};A.onabort=Z,A.onerror=Z,A.onload=L,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 h=function(M,u){this._bIsPainted=!1,this._android=T(),this._htOption=u,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=u.width,this._elCanvas.height=u.height,M.appendChild(this._elCanvas),this._el=M,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return h.prototype.draw=function(M){var u=this._elImage,d=this._oContext,A=this._htOption,Z=M.getModuleCount(),L=A.width/Z,J=A.height/Z,Y=Math.round(L),R=Math.round(J);u.style.display="none",this.clear();for(var V=0;V<Z;V++)for(var q=0;q<Z;q++){var z=M.isDark(V,q),et=q*L,ot=V*J;d.strokeStyle=z?A.colorDark:A.colorLight,d.lineWidth=1,d.fillStyle=z?A.colorDark:A.colorLight,d.fillRect(et,ot,L,J),d.strokeRect(Math.floor(et)+.5,Math.floor(ot)+.5,Y,R),d.strokeRect(Math.ceil(et)-.5,Math.ceil(ot)-.5,Y,R)}this._bIsPainted=!0},h.prototype.makeImage=function(){this._bIsPainted&&c.call(this,o)},h.prototype.isPainted=function(){return this._bIsPainted},h.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},h.prototype.round=function(M){return M&&Math.floor(M*1e3)/1e3},h}():function(){var o=function(m,a){this._el=m,this._htOption=a};return o.prototype.draw=function(m){for(var a=this._htOption,c=this._el,h=m.getModuleCount(),M=Math.floor(a.width/h),u=Math.floor(a.height/h),d=['<table style="border:0;border-collapse:collapse;">'],A=0;A<h;A++){d.push("<tr>");for(var Z=0;Z<h;Z++)d.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+M+"px;height:"+u+"px;background-color:"+(m.isDark(A,Z)?a.colorDark:a.colorLight)+';"></td>');d.push("</tr>")}d.push("</table>"),c.innerHTML=d.join("");var L=c.childNodes[0],J=(a.width-L.offsetWidth)/2,Y=(a.height-L.offsetHeight)/2;J>0&&Y>0&&(L.style.margin=Y+"px "+J+"px")},o.prototype.clear=function(){this._el.innerHTML=""},o}();function j(o,m){for(var a=1,c=v(o),h=0,M=N.length;h<=M;h++){var u=0;switch(m){case W.L:u=N[h][0];break;case W.M:u=N[h][1];break;case W.Q:u=N[h][2];break;case W.H:u=N[h][3];break}if(c<=u)break;a++}if(a>N.length)throw new Error("Too long data");return a}function v(o){var m=encodeURI(o).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return m.length+(m.length!=o?3:0)}var P=function(o,m){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:W.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&&(H=S),this._android=T(),this._el=o,this._oQRCode=null,this._oDrawing=new H(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)};P.prototype.makeCode=function(o){this._oQRCode=new F(j(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()},P.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},P.prototype.clear=function(){this._oDrawing.clear()},P.CorrectLevel=W,window.QRCode=P})();function Ue($,F="YYYY-MM-DD"){if(!$)return null;typeof $=="number"&&($=new Date($));const g=$.getFullYear(),W=$.getMonth(),E=$.getDate(),b=$.getHours(),l=b%12===0?12:b%12,I=$.getMinutes(),s=$.getSeconds(),w=N=>`0${N}`.slice(-2),C={YYYY:g,MM:w(W+1),MMMM:`${W+1}\u6708`,M:W+1,DD:w(E),D:E,HH:w(b),H:b,hh:w(l),h:l,mm:w(I),m:I,ss:w(s),s};return F.replace(/Y+|M+|D+|H+|h+|m+|s+|S+|Q/g,N=>String(C[N]))}const Ze={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 St={};function Xt($){const{id:F,watch:g,content:W,container:E,width:b,height:l,textAlign:I,textBaseline:s,fontSize:w,fontFamily:C,fillStyle:N,rotate:r,timestamp:T,format:S,zIndex:D}=$;St[F]={wmMo:null,wmTimer:null};const H=document.createElement("canvas");H.setAttribute("width",`${b}px`),H.setAttribute("height",`${l}px`);let j=typeof E=="string"?document.querySelector(E):E;const v=H.getContext("2d");v.textAlign=I,v.textBaseline=s,v.font=`${w} ${C}`,v.fillStyle=N,v.translate(b/2,l/2),v.rotate(-(Math.PI/180)*r),v.fillText(`${W}`,0,0),T&&v.fillText(`${Ue(new Date,S)}`,0,parseInt(w)+5);let P=j.querySelector(".__vm__"+F);const o=P||document.createElement("div"),a=`position:absolute;user-select:none;top:0;left:0;${j.getAttribute("style")};z-index:${D};pointer-events:none !important;background-repeat:repeat;background-image:url('${H.toDataURL()}')`;if(o.setAttribute("style",a),o.classList.add("__vm__"+F),P||j.insertBefore(o,j.firstChild),g){const c=window.MutationObserver||window.WebKitMutationObserver;c&&(St[F].wmMo=new c(h=>{let M=h.some(u=>u.target.className==j.className&&u.type=="attributes");P=j.querySelector(".__vm__"+F),(P&&P.getAttribute("style")!==a||!P||M)&&(St[F].wmMo.disconnect(),St[F].wmMo=null,delete St[F].wmMo,Xt($))}),St[F].wmMo.observe(j,{attributes:!0,subtree:!0,childList:!0}))}if(S){let c=864e5;S.includes("s")?c=1e3:S.includes("m")?c=1e3*60:(S.includes("h")||S.includes("H"))&&(c=1e3*60*60),St[F].wmTimer=window.setTimeout(()=>{o.style.bottom="0"},c)}}const _t=function($){const{id:F,watch:g,container:W}=$;if(g){let E=typeof W=="string"?document.querySelector(W):W;St[F]&&(St[F].wmMo&&St[F].wmMo.disconnect(),St[F].wmMo=null,St[F].wmTimer&&window.clearTimeout(St[F].wmTimer),St[F].wmTimer=null,delete St[F]);const b=E.querySelector(".__vm__"+F);b&&b.parentNode.removeChild(b)}},Le=function($){let F=Object.assign({},Ze,$);_t(F),Xt(F)},Yt={createWatermark:Le,destroyWatermark:_t},ze="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQg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geTI9IjciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjx0ZXh0IGlkPSIzMTAiICBmb250LXNpemU9IjE4IiAgdHJhbnNmb3JtID0gInJvdGF0ZSgxODApIiAgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iLTciPjMxMDwvdHNwYW4+PC90ZXh0PjwvZz48L2c+PC9nPjwvc3ZnPg==";var Kt={exports:{}};/*!
|
|
2
2
|
* nzh v1.0.8
|
|
3
3
|
* Homepage http://cnwhy.github.io/nzh
|
|
4
4
|
* License BSD-2-Clause
|
|
5
|
-
*/(function($,F){(function(g,W){$.exports=W()})(Ee,function(){function g(j,v){return v={exports:{}},j(v,v.exports),v.exports}function W(j,v){var P=c.getNumbResult(j);if(!P)return j;v=v||{};var o=this.ch,m=this.ch_u,a=this.ch_f||"",I=this.ch_d||".",h=o.charAt(0),M=P.int,u=P.decimal,d=P.minus,A="",Z="",L=d?a:"",J=function z(et,ot,pt){et=c.getNumbResult(et).int;var st="",ht=arguments.length>1?arguments[1]:v.tenMin,mt=et.length;if(mt==1)return o.charAt(+et);if(mt<=4)for(var ut=0,bt=mt;bt--;){var dt=+et.charAt(ut);st+=ht&&mt==2&&ut==0&&dt==1?"":o.charAt(dt),st+=dt&&bt?m.charAt(bt):"",ut++}else{for(var lt=et.length/4>>0,vt=et.length%4;vt==0||!m.charAt(3+lt);)vt+=4,lt--;var yt=et.substr(0,vt),Mt=et.substr(vt);st=z(yt,ht)+m.charAt(3+lt)+(Mt.charAt(0)=="0"?h:"")+z(Mt,Mt.length>4&&ht)}return st=c.clearZero(st,h)};if(u){u=c.clearZero(u,"0","$");for(var Y=0;Y<u.length;Y++)Z+=o.charAt(+u.charAt(Y));Z=Z?I+Z:""}if(A=J(M),v.ww&&m.length>5){var R=m.charAt(4),V=m.charAt(5),q=A.lastIndexOf(V);~q&&(A=A.substring(0,q).replace(new RegExp(V,"g"),R+R)+A.substring(q))}return L+A+Z}function E(j){j=j.toString();var v=j.split(this.ch_d),P=v[0].replace(this.ch_f,""),o=v[1],m=!!~v[0].indexOf(this.ch_f),a=this.ch_u.charAt(1),I=this.ch_u.charAt(4),h=this.ch_u.charAt(5);P=P.replace(new RegExp(I+"{2}","g"),h);for(var M=P.split(""),u=0,d=0,A=[],Z=[],L=[],J=0;J<M.length;J++){var Y=M[J],R=0,V=0;if(~(R=this.ch.indexOf(Y)))R>0&&L.unshift(R);else if(~(V=this.ch_u.indexOf(Y))){var q=c.getDigit(V);u>V?(c.unshiftZero(L,q),c.centerArray(Z,L)):V>=d?(J==0&&(L=[1]),c.centerArray(A,Z,L),A.length>0&&c.unshiftZero(A,q),d=V):(L.length==0&&a==Y&&(L=[1]),c.centerArray(Z,L),c.unshiftZero(Z,c.getDigit(V)),u=V)}}c.centerArray(A,Z,L).reverse(),A.length==0&&A.push(0);var z=0;if(o){A.push("."),z="0.";for(var J=0;J<o.length;J++)z+=this.ch.indexOf(o.charAt(J)),A.push(this.ch.indexOf(o.charAt(J)));z=+z}return m&&A.unshift("-"),parseFloat(A.join(""))}function b(j,v){var P={ww:!0,complete:!1,outSymbol:!0},o=c.getNumbResult(j),m=this.ch.charAt(0);if(v=typeof v=="object"?v:{},!o)return j;v=c.extend(P,v);var a=o.num,I=o.decimal||"",h=v.outSymbol?this.m_t:"",M=I?"":this.m_z,u="";if(v.complete){for(var d=1;d<this.m_u.length;d++)u+=W.call(this,I.charAt(d-1)||"0")+this.m_u.charAt(d);M=W.call(this,a,v)+this.m_u.charAt(0)}else{if(I=I.substr(0,this.m_u.length-1),I=c.clearZero(I,"0","$"))for(var A,d=0;d<this.m_u.length-1;d++)I.charAt(d)&&I.charAt(d)!="0"&&(u+=W.call(this,I.charAt(d))+this.m_u.charAt(d+1),A=!1),I.charAt(d)!=="0"||A||(d==0&&a=="0"||(u+=m),A=!0);a=="0"&&!M&&u||(M=W.call(this,a,v)+this.m_u.charAt(0)+M)}return h+M+u}function l(j,v){return{encodeS:function(P,o){return o=c.extend({ww:!0,tenMin:!0},o),s.CL.call(j,P,o)},encodeB:function(P,o){return o=c.extend({ww:!0},o),s.CL.call(v,P,o)},decodeS:function(){return s.unCL.apply(j,arguments)},decodeB:function(){return s.unCL.apply(v,arguments)},toMoney:function(P,o){return o=c.extend({ww:!0},o),s.toMoney.call(v,P,o)}}}var c=g(function(j,v){var P=/^([+-])?0*(\d+)(\.(\d+))?$/,o=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=v.e2ten=function(I){var h=o.exec(I.toString());if(!h)return I;var M=h[2],u=h[4]||"",d=h[5]?+h[5]:0;if(d>0){var A=u.substr(0,d);A=A.length<d?A+new Array(d-A.length+1).join("0"):A,u=u.substr(d),M+=A}else{d=-d;var Z=M.length-d;Z=Z<0?0:Z;var L=M.substr(Z,d);L=L.length<d?new Array(d-L.length+1).join("0")+L:L,M=M.substring(0,Z),u=L+u}return M=M==""?"0":M,(h[1]=="-"?"-":"")+M+(u?"."+u:"")};v.getNumbResult=function(I){var h=P.exec(I.toString());if(!h&&o.test(I.toString())&&(h=P.exec(m(I.toString()))),h)return{int:h[2],decimal:h[4],minus:h[1]=="-",num:h.slice(1,3).join("")}},v.centerArray=function I(h,M){if(h.splice.apply(h,[0,M.length].concat(M.splice(0,M.length))),arguments.length>2){var u=[].slice.call(arguments,2);u.unshift(h),I.apply(null,u)}return h};var a=v.hasAttr=function(I,h){return Object.prototype.hasOwnProperty.call(I,h)};v.extend=function(I){for(var h,M=arguments[0]||{},u=Array.prototype.slice.call(arguments,1),d=0;d<u.length;d++){var A=u[d];for(h in A)a(A,h)&&(M[h]=A[h])}return M},v.getDigit=function(I){return I>=5?4*(I-4)+4:I},v.unshiftZero=function(I,h){if(h==null&&(h=1),!(h<=0))for(;h--;)I.unshift(0)},v.clearZero=function(I,h,M){if(I==null)return"";var u=~"*.?+$^[](){}|\\/".indexOf(h)?"\\"+h:h,d=new RegExp("^"+u+"+"),A=new RegExp(u+"+$"),Z=new RegExp(u+"{2}","g");return I=I.toString(),M=="^"&&(I=I.replace(d,"")),M&&M!="$"||(I=I.replace(A,"")),M&&M!="nto1"||(I=I.replace(Z,h)),I}}),s=(c.e2ten,c.getNumbResult,c.centerArray,c.hasAttr,c.extend,c.getDigit,c.unshiftZero,c.clearZero,{CL:W,unCL:E,toMoney:b}),w=l,C={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},N={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},r={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"},T={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"},S={s:C,b:N,hk_s:r,hk_b:T},D=function(j){this.lang=j,this.encode=function(){return s.CL.apply(j,arguments)},this.decode=function(){return s.unCL.apply(j,arguments)},this.toMoney=function(){return s.toMoney.apply(j,arguments)}};D.langs=S,D.cn=w(S.s,S.b),D.hk=w(S.hk_s,S.hk_b);var H=D;return H})})(Kt);const Ht=Kt.exports;function Ge($){return function(F){var g=function(W){W.removePrintElementTypes("defaultModule"),W.addPrintElementTypes("defaultModule",[new $.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(E,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(E,b){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new $.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:g}}}function Dt($,F){return F!=null&&typeof Symbol<"u"&&F[Symbol.hasInstance]?!!F[Symbol.hasInstance]($):$ instanceof F}function jt($){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jt=function(g){return typeof g}:jt=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},jt($)}window.$=window.jQuery=x.default;window.autoConnect=!0;window.io=xe.io;window.eval2=eval;var At=function($){var F={};function g(E){if(F[E])return F[E].exports;var b=F[E]={i:E,l:!1,exports:{}};return $[E].call(b.exports,b,b.exports,g),b.l=!0,b.exports}var W=(g.m=$,g.c=F,g.d=function(E,b,l){g.o(E,b)||Object.defineProperty(E,b,{enumerable:!0,get:l})},g.r=function(E){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},g.t=function(E,b){if(1&b&&(E=g(E)),8&b||4&b&&jt(E)=="object"&&E&&E.__esModule)return E;var l=Object.create(null);if(g.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:E}),2&b&&typeof E!="string")for(var c in E)g.d(l,c,function(s){return E[s]}.bind(null,c));return l},g.n=function(E){var b=E&&E.__esModule?function(){return E.default}:function(){return E};return g.d(b,"a",b),b},g.o=function(E,b){return Object.prototype.hasOwnProperty.call(E,b)},g.p="/",g(g.s=21));return W.n=g,W}([function($,F,g){var W;g.d(F,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(W={},{on:function(b,l){W[b]||(W[b]=[]),W[b].push(l)},id:0,off:function(b,l){var c=W[b];if(c){for(var s=-1,w=0;w<c.length;w++)if(c[w]===l){s=w;break}s<0||W[b].splice(s,1)}},trigger:function(b){var l=W[b];if(l&&l.length)for(var c=Array.prototype.slice.call(arguments,1),s=0;s<l.length;s++)l[s].apply(this,c)},clear:function(b){W[b]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(b){return b+"-"+this.getId()}}),hinnn.form={serialize:function(b){var l=x.default(b).serializeArray(),c={};return x.default.each(l,function(){c[this.name]?Object.prototype.toString.call(c[this.name])=="[object Array]"?c[this.name].push(this.value):c[this.name]=[c[this.name],this.value]:c[this.name]=this.value}),c}},hinnn.pt={toPx:function(b){return b*(this.getDpi()/72)},toMm:function(b){return hinnn.px.toMm(hinnn.pt.toPx(b))},dpi:0,getDpi:function(){if(!this.dpi){var b=document.createElement("DIV");b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight}return this.dpi}},hinnn.px={toPt:function(b){return b*(72/this.getDpi())},toMm:function(b){return Math.round(b/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var b=document.createElement("DIV");b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight}return this.dpi}},hinnn.mm={toPt:function(b){return 72/25.4*b},toPx:function(b){return hinnn.pt.toPx(hinnn.mm.toPt(b))}},hinnn.throttle=function(E,b,l){var c,s,w,C=null,N=0;l||(l={});var r=function(){N=l.leading===!1?0:_.now(),C=null,w=E.apply(c,s),C||(c=s=null)};return function(){var T=_.now();N||l.leading!==!1||(N=T);var S=b-(T-N);return c=this,s=arguments,S<=0||S>b?(C&&(clearTimeout(C),C=null),N=T,w=E.apply(c,s),C||(c=s=null)):C||l.trailing===!1||(C=setTimeout(r,S)),w}},hinnn.debounce=function(E,b,l){var c,s,w,C,N,r=function T(){var S=_.now()-C;S<b&&S>=0?c=setTimeout(T,b-S):(c=null,l||(N=E.apply(w,s),c||(w=s=null)))};return function(){w=this,s=arguments,C=_.now();var T=l&&!c;return c||(c=setTimeout(r,b)),T&&(N=E.apply(w,s),w=s=null),N}},hinnn.toUtf8=function(E){var b,l,c,s;for(b="",c=E.length,l=0;l<c;l++)(s=E.charCodeAt(l))>=1&&s<=127?b+=E.charAt(l):s>2047?(b+=String.fromCharCode(224|s>>12&15),b+=String.fromCharCode(128|s>>6&63),b+=String.fromCharCode(128|s>>0&63)):(b+=String.fromCharCode(192|s>>6&31),b+=String.fromCharCode(128|s>>0&63));return b},hinnn.groupBy=function(E,b,l){var c={};return E.forEach(function(s){var w=JSON.stringify(l(s));c[w]||(c[w]={rows:[]},b.forEach(function(C){c[w][C]=s[C]})),c[w].rows.push(s)}),Object.keys(c).map(function(s){return c[s]})},hinnn.orderBy=function(E,b){if(E.length<=1)return E;var l=Math.floor(E.length/2),c=E.splice(l,1)[0],s=[],w=[],C=!0,N=!1,r=void 0;try{for(var T=E[Symbol.iterator](),S;!(C=(S=T.next()).done);C=!0){var D=S.value;b(D)<b(c)?s.push(D):w.push(D)}}catch(H){N=!0,r=H}finally{try{!C&&T.return!=null&&T.return()}finally{if(N)throw r}}return this.orderBy(s,b).concat([c],this.orderBy(w,b))},hinnn.dateFormat=function(E,b){if(E)try{var l=typeof E=="string"?new Date(E):E,c={"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 s in/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(l.getFullYear()+"").substr(4-RegExp.$1.length))),c)new RegExp("("+s+")").test(b)&&(b=b.replace(RegExp.$1,RegExp.$1.length==1?c[s]:("00"+c[s]).substr((""+c[s]).length)));return b}catch(w){return console.log(w),""}return""},hinnn.numFormat=function(E,b){if(E!=null)try{var l=typeof E=="string"?parseFloat(E):E,c=parseInt(b);return c>0?l.toFixed(c):parseInt(l.toString())}catch(s){return console.log(s),""}return""},hinnn.toUpperCase=function(E,b){if(!Ht)return b;var l=b;switch(E){case"0":l=Ht.cn.encodeS(b);break;case"1":l=Ht.cn.encodeS(b,{tenMin:!1});break;case"2":l=Ht.cn.encodeB(b,{tenMin:!0});break;case"3":l=Ht.cn.encodeB(b);break;case"4":l=Ht.cn.toMoney(b,{tenMin:!0});break;case"5":l=Ht.cn.toMoney(b);break;case"6":l=Ht.cn.toMoney(b,{complete:!0});break;case"7":l=Ht.cn.toMoney(b,{complete:!0,outSymbol:!1});break}return l}},function($,F,g){g.d(F,"a",function(){return E});var W=g(9),E=function(){function b(){}return b.prototype.init=function(l){l&&x.default.extend(this,l)},b.prototype.register=function(l){this.init(l);var c=this,s=c.getHooks("init");s&&s.forEach(w=>{w.run({Config:c,OptionItems:W,ElementTypes:At.ElementTypes,hinnn,hiprint:At})})},b.prototype.getHooks=function(l){return this.pluginsList().reduce((c,s)=>c.concat(s.hooks.filter(w=>w.hook===l)),[])},b.prototype.pluginsList=function(){var l=this;return this.plugins?this.plugins.filter(c=>l.versionCheck(c)):[]},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 c=b.instance.version.split("."),s=parseInt(c[0]),w=parseInt(c[1]),C=parseInt(c[2]),N=l.leastHiprintVersion.split("."),r=parseInt(N[0]),T=parseInt(N[1]),S=parseInt(N[2]);let D=!1;return s>r&&(D=!0),s===r&&w>T&&(D=!0),s===r&&w===T&&C>=S&&(D=!0),D||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.`),D},b.prototype.on=function(l,c){hinnn.event.on(l,c)},b.prototype.clear=function(l){hinnn.event.clear(l)},b.prototype.registerItems=function(l){l.forEach(function(c){W.a.registerItem(new c)})},Object.defineProperty(b,"instance",{get:function(){return b._instance||(b._instance=new b,window.HIPRINT_CONFIG&&x.default.extend(b._instance,HIPRINT_CONFIG),b._instance.optionItems&&b._instance.optionItems.forEach(function(c){W.a.registerItem(new c)})),b._instance},enumerable:!0,configurable:!0}),b}()},function($,F,g){var W=function(){function b(l){this.printElement=l}return b.prototype.updatePosition=function(l,c){this.left=l,this.top=c},b}();g.d(F,"a",function(){return E});var E=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,c){var s=.75*l;return c&&(c=c),Math.round(s/c)*c}}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 W(l)},b.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var c=16*Math.random()|0;return(l=="x"?c:3&c|8).toString(16)})},b.prototype.imageToBase64=function(l){if(x.default(l).attr("src").indexOf("base64")==-1)try{var c=document.createElement("canvas"),s=new Image;s.src=l.attr("src"),c.width=s.width,c.height=s.height,c.getContext("2d").drawImage(s,0,0),l.attr("src",c.toDataURL("image/png"))}catch{try{this.xhrLoadImage(l)}catch(C){console.log(C)}}},b.prototype.xhrLoadImage=function(l){},b.prototype.transformImg=function(l){var c=this;l.map(function(s,w){c.imageToBase64(x.default(w))})},b.prototype.getPrintTemplateById=function(l){return b.instance.printTemplateContainer[l]},b.prototype.setPrintTemplateById=function(l,c){return b.instance.printTemplateContainer[l]=c},b}()},function($,F,g){var W=function(){return function(){}}();g.d(F,"a",function(){return E});var E=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()},b.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},b.prototype.initSizeByHtml=function(l,c){this.width||this.setWidth(l),this.height||this.setHeight(c)},b.prototype.getRectInfo=function(){var l={w:0,h:0,diffW:0,diffH:0};if(this.transform){var c=this.transform*Math.PI/180,s=this.width,w=this.height,C=Math.sin(c),N=Math.cos(c),r=Math.abs(s*N)+Math.abs(w*C),T=Math.abs(s*C)+Math.abs(w*N),S=(s-r)/2,D=(w-T)/2;l.w=r,l.h=T,l.diffW=S,l.diffH=D}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 W,c=this;return Object.keys(this).filter(function(s){return s!="topInDesign"}).forEach(function(s){if(typeof c[s]!="number"&&typeof c[s]!="string"&&!["fields"].includes(s)&&jt(c[s])!=jt(!0)||(l[s]=c[s]),s=="style"){l.style={};var w=c[s];w&&Object.keys(w).forEach(function(C){typeof w[C]!="number"&&typeof w[C]!="string"||(l.style[C]=w[C])})}}),l},b.prototype.init=function(l){var c=this;l&&Object.keys(l).forEach(function(s){c[s]=l[s]})},b}()},function($,F,g){g.d(F,"a",function(){return C});var W=g(17),E=g(1),b=g(9),l=g(6),c=g(0),s=g(8),w=g(2),C=function(){function N(r){this.printElementType=r,this.id=w.a.instance.guid()}return N.prototype.getConfigOptionsByName=function(r){return E.a.instance[r]},N.prototype.getProxyTarget=function(r){r&&this.SetProxyTargetOption(r);var T=this.getData(),S=this.createTarget(this.getTitle(),T);return this.updateTargetSize(S),this.css(S,T),S},N.prototype.SetProxyTargetOption=function(r){this.options.getPrintElementOptionEntity(),x.default.extend(this.options,r),this.copyFromType()},N.prototype.showInPage=function(r,T){var S=this.options.showInPage,D=this.options.unShowInPage;if(S){if(S=="first")return r==0;if(r==T-1&&D=="last")return!1;if(S=="odd")return(r!=0||D!="first")&&r%2==0;if(S=="even")return r%2==1;if(S=="last")return r==T-1}return(r!=0||D!="first")&&(r!=T-1||D!="last")},N.prototype.setTemplateId=function(r){this.templateId=r},N.prototype.setPanel=function(r){this.panel=r},N.prototype.getField=function(){return this.options.field||this.printElementType.field},N.prototype.getTitle=function(){return this.printElementType.title},N.prototype.updateSizeAndPositionOptions=function(r,T,S,D){this.options.setLeft(r),this.options.setTop(T),this.options.copyDesignTopFromTop(),this.options.setWidth(S),this.options.setHeight(D)},N.prototype.initSizeByHtml=function(r){if(r&&r.length){this.createTempContainer();var T=r.clone();this.getTempContainer().append(T),this.options.initSizeByHtml(parseInt(c.a.px.toPt(T.width()).toString()),parseInt(c.a.px.toPt(T.height()).toString())),this.removeTempContainer()}},N.prototype.updateTargetSize=function(r){r.css("width",this.options.displayWidth()),r.css("height",this.options.displayHeight())},N.prototype.updateTargetWidth=function(r){r.css("width",this.options.displayWidth())},N.prototype.getDesignTarget=function(r){var T=this,S=0;return this.designTarget=this.getHtml(r)[0].target,this.designPaper=r,this.designTarget.click(function(D){D.timeStamp-S>500&&c.a.event.trigger(T.getPrintElementSelectEventKey(),{printElement:T}),S=D.timeStamp}),this.designTarget.dblclick(function(D){var H=T.designTarget.find(".hiprint-printElement-content");if(H){var j=T.designTarget.find(".resize-panel");T.printElementType.type=="text"&&!(T.options.textType&&T.options.textType!="text")&&(T._editing=!0,T.designTarget.hidraggable("update",{draggable:!1}),H.css("cursor","text"),H.addClass("editing"),T.designTarget.addClass("editing"),H.click(function(v){T._editing&&v.stopPropagation()}),H.attr("contenteditable",!0),j&&j.css("display","none"),T.selectEnd(H))}}),this.designTarget},N.prototype.selectEnd=function(r){if(r.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var T=document.createRange();T.selectNodeContents(r[0]),T.collapse(!1);var S=window.getSelection();S.removeAllRanges(),S.addRange(T)}else if(typeof document.body.createTextRange<"u"){var T=document.body.createTextRange();T.moveToElementText(r[0]),T.collapse(!1),T.select()}},N.prototype.updateByContent=function(r){var T=this,S=T.designTarget.find(".hiprint-printElement-content");if(T._editing){S&&S.css("cursor","")&&S.removeClass("editing")&&S.removeAttr("contenteditable"),T.designTarget.removeClass("editing");var D=S.text(),H=T.options.title+"\uFF1A";D.startsWith(H)&&T.options.field?D.length>H.length?T.options.testData=D.split("\uFF1A")[1]:(T.options.title=D,T.options.testData=""):T.options.title=D,r||c.a.event.trigger(T.getPrintElementSelectEventKey(),{printElement:T}),T.updateDesignViewFromOptions(),c.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u7F16\u8F91\u4FEE\u6539"),T._editing=!1;var j=T.options.draggable==null||T.options.draggable==!0;T.designTarget.hidraggable("update",{draggable:j})}},N.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},N.prototype.design=function(r,T){var S=this;this.designTarget.hidraggable({draggable:S.options.draggable,axis:S.options.axis?S.options.axis:void 0,designTarget:S,onDrag:function(H,j,v){var P=S.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&h.designTarget.children().last().hasClass("selected")&&!h.printElementType.type.includes("table")}),o=P.length>1,m=!S.designTarget.children().last().hasClass("selected");if(o){var a=j-S.options.left,I=v-S.options.top;P.forEach(function(h){h.updateSizeAndPositionOptions(a+h.options.getLeft(),I+h.options.getTop()),h.designTarget.css("left",h.options.displayLeft()),h.designTarget.css("top",h.options.displayTop()),h.createLineOfPosition(T)}),m&&(S.updateSizeAndPositionOptions(j,v),S.createLineOfPosition(T))}else S.updateSizeAndPositionOptions(j,v),S.createLineOfPosition(T);w.a.instance.changed=!0},moveUnit:"pt",minMove:E.a.instance.movingDistance,onBeforeDrag:function(H){w.a.instance.draging=!0,S.designTarget.focus(),S.createLineOfPosition(T)},getScale:function(){return S.designPaper.scale||1},onStopDrag:function(H){w.a.instance.changed&&c.a.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u79FB\u52A8"),w.a.instance.draging=!1,w.a.instance.changed=!1;var j=S.panel.printElements.filter(function(v){return v.designTarget.children().last().css("display")=="block"&&!v.printElementType.type.includes("table")});j.length>1?j.forEach(function(v){v.removeLineOfPosition()}):S.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){S.removeLineOfPosition(),c.a.event.trigger("hiprintTemplateMouseUp_"+T.templateId)},300)}),this.designTarget.hicontextMenu(S.panel.getContextMenuList()),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,T)},N.prototype.getPrintElementEntity=function(r){return r?new W.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new W.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},N.prototype.submitOption=function(){var r=this,T=this.getConfigOptions();T&&T.tabs&&T.tabs.length?this.getPrintElementOptionTabs().forEach(function(S){S.list.forEach(function(D){var H=D.getValue(),j=D.name=="textType"&&r.options[D.name]!==H,v=D.name=="axis"&&r.options[D.name]!==H,P=D.name=="draggable"&&r.options[D.name]!==H;H&&jt(H)=="object"?Object.keys(H).forEach(function(o){r.options[o]=H[o]}):r.options[D.name]=H,j&&r.setResizePanel(),v&&r.designTarget.hidraggable("update",{axis:H}),P&&r.designTarget.hidraggable("update",{draggable:H})})}):this.getPrintElementOptionItems().forEach(function(S){var D=S.getValue(),H=S.name=="textType"&&r.options[S.name]!==D,j=S.name=="axis"&&r.options[S.name]!==D,v=S.name=="draggable"&&r.options[S.name]!==D;D&&jt(D)=="object"?Object.keys(D).forEach(function(P){r.options[P]=D[P]}):r.options[S.name]=D,H&&r.setResizePanel(),j&&r.designTarget.hidraggable("update",{axis:D}),v&&r.designTarget.hidraggable("update",{draggable:D})}),this.updateDesignViewFromOptions(),c.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},N.prototype.updateOption=function(r,T,S){try{var D=this,H=this.getConfigOptions(),j=["draggable"];H&&H.tabs&&H.tabs.length?H.tabs.forEach(function(v){v.options.forEach(function(P){j.push(P.name)})}):j=H.supportOptions.map(function(v){return v.name}),j&&j.includes(r)&&(this.options[r]=T,r=="draggable"&&D.designTarget.hidraggable("update",{draggable:T}),r=="widthHeight"&&(T.width&&(this.options.width=T.width),T.height&&(this.options.height=T.height),T.widthHeightSync&&(this.options.widthHeightSync=T.widthHeightSync)),r=="coordinate"&&(T.left&&(this.options.left=T.left),T.top&&(this.options.top=T.top),T.coordinateSync&&(this.options.coordinateSync=T.coordinateSync)),this.updateDesignViewFromOptions(),S||(c.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),c.a.event.trigger(D.getPrintElementSelectEventKey(),{printElement:D})))}catch(v){console.log("updateOption error",v)}},N.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||E.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||E.a.instance.qrcode.showPoints:this.options.showPoints||E.a.instance.text.showPoints},N.prototype.setResizePanel=function(){var r=this,T=this.designPaper;this.designTarget.hireizeable({showPoints:r.getReizeableShowPoints(),draggable:r.options.draggable,showSizeBox:E.a.instance.showSizeBox,getScale:function(){return r.designPaper.scale||1},onBeforeResize:function(){w.a.instance.draging=!0},onResize:function(D,H,j,v,P,o){o!=null?r.onRotate(D,o):r.onResize(D,H,j,v,P),r.createLineOfPosition(T)},onStopResize:function(D){c.a.event.trigger("hiprintTemplateDataChanged_"+r.templateId,D?"\u65CB\u8F6C":"\u5927\u5C0F"),w.a.instance.draging=!1,r.removeLineOfPosition()}}),this.options.draggable==!1&&x.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},N.prototype.onRotate=function(r,T){this.options.setRotate(T)},N.prototype.onResize=function(r,T,S,D,H){this.updateSizeAndPositionOptions(H,D,S,T)},N.prototype.getOrderIndex=function(){return this.options.getTop()},N.prototype.getHtml=function(r,T,S){var D=0;this.setCurrenttemplateData(T);var H=[],j=this.getBeginPrintTopInPaperByReferenceElement(r),v=r.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||j>v&&r.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),j=j-v+r.paperHeader,D++,v=r.getPaperFooter(D));var P=this.getData(T),o=this.createTarget(this.getTitle(),P,S);return this.updateTargetSize(o),this.css(o,P),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",j+"pt"),H.push(new l.a({target:o,printLine:j+this.options.getHeight(),referenceElement:new s.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:r.index,bottomInLastPaper:j+this.options.getHeight(),printTopInPaper:j})})),T&&this.options.pageBreak&&(H[0].target.css("top",r.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-r.paperHeader,H[0].printLine=r.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=r.paperHeader,H.unshift(new l.a({target:o,printLine:r.height,referenceElement:new s.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:r.index,bottomInLastPaper:r.height,printTopInPaper:r.paperHeader})}))),H},N.prototype.getHtml2=function(r,T,S){var D=0;this.setCurrenttemplateData(T);var H=[],j=this.getBeginPrintTopInPaperByReferenceElement(r),v=r.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||(r.panelPageRule!="none"&&j>v&&(H.push(new l.a({target:void 0,printLine:void 0})),j=j-v+r.paperHeader,D++,v=r.getPaperFooter(D)),j<=v&&j+this.options.getHeight()>v&&r.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),j=r.paperHeader,D++,v=r.getPaperFooter(D)));var P=this.getData(T),o=this.createTarget(this.getTitle(),P);return r.panelPageRule=="none"&&j+this.options.getHeight()>v&&this.updatePanelHeight(j+this.options.getHeight(),r),this.updateTargetSize(o),this.css(o,P),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",j+"pt"),H.push(new l.a({target:o,printLine:j+this.options.getHeight(),referenceElement:new s.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:r.index,bottomInLastPaper:j+this.options.getHeight(),printTopInPaper:j})})),T&&this.options.pageBreak&&(H[0].target.css("top",r.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-r.paperHeader,H[0].printLine=r.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=r.paperHeader,H.unshift(new l.a({target:o,printLine:r.height,referenceElement:new s.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:r.index,bottomInLastPaper:r.height,printTopInPaper:r.paperHeader})}))),H},N.prototype.updatePanelHeight=function(r,T){if(this.panel.panelPageRule=="none"){var S=c.a.pt.toMm(r);T.paperFooter=r,T.target.css("height",S+"mm"),T.target.attr("original-height",S)}},N.prototype.getBeginPrintTopInPaperByReferenceElement=function(r){var T=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?T:r.referenceElement.isPositionLeftOrRight(T)?r.referenceElement.printTopInPaper+(T-r.referenceElement.top):r.referenceElement.bottomInLastPaper+(T-(r.referenceElement.top+r.referenceElement.height))},N.prototype.css=function(r,T){var S=this,D=this.getConfigOptions();if(D){var H;D.tabs&&D.tabs.length?(H=[],D.tabs.forEach(function(j){H=H.concat(j.options)})):H=D.supportOptions,H&&H.forEach(function(j){var v=b.a.getItem(j.name);v&&v.css&&v.css(r,S.options.getValueFromOptionsOrDefault(j.name))})}this.stylerCss(r,T)},N.prototype.stylerCss=function(r,T){var S=this.getStyler();if(S){var D=S(T,this.options,r,this._currenttemplateData);D&&Object.keys(D).forEach(function(H){r.css(H,D[H])})}},N.prototype.getData=function(r){var T=this.getField();return r?T&&T.split(".").reduce((S,D)=>S?S[D]:r?r[D]:"",!1)||"":this.printElementType.getData()},N.prototype.copyFromType=function(){var r=this.options,T=this.printElementType,S=this.getConfigOptions(),D=[];return S&&S.tabs&&S.tabs.length?S.tabs.forEach(function(H){H.options.forEach(function(j){D.push(j.name)})}):D=S.supportOptions.map(function(H){return H.name}),Object.keys(T).forEach(function(H){T[H]&&H!="columns"&&D.indexOf(H)>-1&&(r[H]=jt(T[H])=="function"?T[H].toString():T[H])}),r},N.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var r=[],T=this.getConfigOptions();if(T){var S=T.tabs;S&&S.forEach(function(D,H){r.push({name:D.name,list:[]}),D.options.filter(function(j){return!j.hidden}).forEach(function(j){var v=b.a.getItem(j.name);r[H].list.push(v)})})}return this._printElementOptionTabs=r,this._printElementOptionItems=void 0,this._printElementOptionTabs},N.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var r=[],T=this.getConfigOptions();if(T){var S;T.tabs&&T.tabs.length?(S=[],T.tabs.forEach(function(D){D=D.concat(D.options)})):S=T.supportOptions,S&&S.filter(function(D){return!D.hidden}).forEach(function(D){var H=b.a.getItem(D.name);r.push(H)})}return this._printElementOptionItems=this.filterOptionItems(r.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},N.prototype.getPrintElementOptionItemsByName=function(r){var T=[],S=this.getConfigOptionsByName(r);if(S){var D;S.tabs&&S.tabs.length?(D=[],S.tabs.forEach(function(H){D=D.concat(H.options)})):D=S.supportOptions,D&&D.filter(function(H){return!H.hidden}).forEach(function(H){var j=b.a.getItem(H.name);T.push(j)})}return T.concat()},N.prototype.filterOptionItems=function(r){return this.printElementType.field?r.filter(function(T){return T.name!="field"}):r},N.prototype.createTempContainer=function(){this.removeTempContainer(),x.default("body").append(x.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},N.prototype.removeTempContainer=function(){x.default(".hiprint_temp_Container").remove()},N.prototype.getTempContainer=function(){return x.default(".hiprint_temp_Container")},N.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},N.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},N.prototype.setCurrenttemplateData=function(r){this._currenttemplateData=r},N.prototype.isFixed=function(){return this.options.fixed},N.prototype.onRendered=function(r,T){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(T,this.options,r.getTarget())},N.prototype.createLineOfPosition=function(r){var T=x.default(".toplineOfPosition.id"+this.id),S=x.default(".topPosition.id"+this.id),D=x.default(".leftlineOfPosition.id"+this.id),H=x.default(".leftPosition.id"+this.id),j=x.default(".rightlineOfPosition.id"+this.id),v=x.default(".bottomlineOfPosition.id"+this.id),P=E.a.instance;if(T.length)T.css("top",this.options.displayTop(!0));else{var T=x.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');T.css("top",this.options.displayTop(!0)),T.css("width",r.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(T)}if(P.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),S.length)S.toggleClass("topPosition-lineMode",P.positionLineMode),S.text(this.options.posTop()+(P.positionUnit?"pt":"")),S.css("top",this.options.posTop()-S.height()+"pt"),P.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt");else{var S=x.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');S.toggleClass("topPosition-lineMode",P.positionLineMode),S.text(this.options.posTop()+(P.positionUnit?"pt":"")),P.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(D.length)D.css("left",this.options.displayLeft(!0));else{var o=x.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.displayLeft(!0)),o.css("height",r.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(P.showPosition)if(H.length)H.text(this.options.posLeft()+(P.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",P.positionLineMode),H.css("left",this.options.posLeft()-H.width()+"pt"),P.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt");else{var H=x.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');H.text(this.options.posLeft()+(P.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",P.positionLineMode),P.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(H),H.css("left",this.options.posLeft()-H.width()+"pt")}if(j.length)j.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var m=x.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');m.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),m.css("height",r.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}if(v.length)v.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var a=x.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');a.css("top",this.options.getTop()+this.options.getHeight()+"pt"),a.css("width",r.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}},N.prototype.removeLineOfPosition=function(){x.default(".toplineOfPosition.id"+this.id).remove(),x.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),x.default(".leftlineOfPosition.id"+this.id).remove(),x.default(".leftPosition.id"+this.id).remove(),x.default(".rightlineOfPosition.id"+this.id).remove(),x.default(".bottomlineOfPosition.id"+this.id).remove()},N.prototype.getFontList=function(){var r=this.options.fontList;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getFontList())},N.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var r=this.options.fields;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getFields())},N.prototype.getOnImageChooseClick=function(){var r=this.options.onImageChooseClick;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},N.prototype.bingCopyEvent=function(r){var T=this;r.keydown(function(S){if(T._editing&&!S.altKey&&S.keyCode==13){T.updateByContent();return}(S.ctrlKey||S.metaKey)&&S.keyCode==67&&(T.panel.copyJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==68&&(T.panel.copyJson(),T.panel.pasteJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==88&&(T.panel.cutJson(),S.preventDefault())})},N.prototype.clone=function(r){var T=this;let S=T.printElementType.createPrintElement();return Object.keys(T.options).forEach(function(D){S.options[D]=T.options[D]}),S},N.prototype.getFormatter=function(){var r=void 0;if(this.printElementType.formatter&&(r=this.printElementType.formatter),this.options.formatter)try{var T="formatter="+this.options.formatter;r=eval2(T)}catch(S){console.log(S)}return r},N.prototype.getStyler=function(){var r=void 0;if(this.printElementType.styler&&(r=this.printElementType.styler),this.options.styler)try{var T="fnstyler="+this.options.styler;r=eval2(T)}catch(S){console.log(S)}return r},N.prototype.bingKeyboardMoveEvent=function(r,T){var S=this,D=void 0,H=void 0;r.attr("tabindex","1"),r.keydown(function(j){if(j.target.tagName!="INPUT"&&!(S._editing&&!j.altKey)&&S.options.draggable!==!1){var v=S.panel.printElements.filter(function(a){return a.designTarget.children().last().css("display")=="block"&&!a.printElementType.type.includes("table")}),P=v.length>1,o=E.a.instance.movingDistance;switch(j.keyCode){case 8:case 46:var m=S.panel;P?v.forEach(function(a){m.deletePrintElement(a)}):m.deletePrintElement(S),c.a.event.trigger("clearSettingContainer");break;case 37:D=S.options.getLeft(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0-o,0)}):(S.updateSizeAndPositionOptions(D-o),r.css("left",S.options.displayLeft())),j.preventDefault();break;case 38:H=S.options.getTop(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0,0-o)}):(S.updateSizeAndPositionOptions(void 0,H-o),r.css("top",S.options.displayTop())),j.preventDefault();break;case 39:D=S.options.getLeft(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(o,0)}):(S.updateSizeAndPositionOptions(D+o),r.css("left",S.options.displayLeft())),j.preventDefault();break;case 40:H=S.options.getTop(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0,o)}):(S.updateSizeAndPositionOptions(void 0,H+o),r.css("top",S.options.displayTop())),j.preventDefault()}[37,38,39,40].includes(j.keyCode)&&c.a.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u952E\u76D8\u79FB\u52A8")}})},N.prototype.inRect=function(r){var T=this.designPaper.scale||1,S=this.designTarget[0].offsetLeft,D=this.designTarget[0].offsetTop,H=this.designTarget[0].offsetHeight,j=this.designTarget[0].offsetWidth,v=S+j,P=D+H,o=x.default(r.target[0]).position().left/T,m=x.default(r.target[0]).position().top/T,a=r.target[0].offsetHeight,I=r.target[0].offsetWidth,h=o+I,M=m+a;return o<v&&h>S&&D<M&&P>m},N.prototype.multipleSelect=function(r){r?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},N.prototype.updatePositionByMultipleSelect=function(r,T){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(r+this.options.getLeft(),T+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},N}()},function($,F,g){var W=function(){function j(){}return j.prototype.init=function(v){this.target=x.default('<input type="text" class="hitable-editor-text" value="" />'),v.getTarget().append(this.target),this.target.focus()},j.prototype.getValue=function(){return this.target.val()},j.prototype.setValue=function(v){this.target.val(v)},j.prototype.destroy=function(){this.target.remove()},j}(),E=function(){function j(){this.text=new W}return Object.defineProperty(j,"Instance",{get:function(){return j._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j}(),b=function(){function j(){}return j.prototype.init=function(v,P){var o=`<select class="auto-submit" style="width:100%">
|
|
6
|
-
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;v.forEach(function(m,a){m.field==P.field?o+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":o+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),o+=" </select>",this.target=x.default(o),P.getTarget().append(this.target),this.target.focus()},j.prototype.getValue=function(){var v=this.target.val(),P=this.target.find('option[value="'+v+'"]').text();return P+"#"+v},j.prototype.setValue=function(v){v&&(this.target.find('option[value="'+v+'"]').length||this.target.find("select").prepend('<option value="'+v+'" >'+v+"</option>")),this.target.find("select").val(v)},j.prototype.destroy=function(){this.target.remove()},j}(),l=function(){function j(){this.select=new b}return Object.defineProperty(j,"Instance",{get:function(){return j._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j}(),c=function(){function j(){}return Object.defineProperty(j,"Instance",{get:function(){return E._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j.prototype.createEditor=function(v){return x.default.extend({},E.Instance[v])},j.prototype.createSelect=function(v){return x.default.extend({},l.Instance[v])},j}(),s=g(10),w=g(14),C=g(11),N=function(){function j(){}return j.prototype.init=function(v,P){var o=this;this.tableOptions=P,this.title=v.title,this.field=v.field,v.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){v.isEditing=!0,o.beginEdit(v)})},j.prototype.getDisplayHtml=function(){return this.title},j.prototype.beginEdit=function(v){var P=this;P.tableOptions.options.fields&&P.tableOptions.options.fields.length?(this.editor=c.Instance.createSelect("select"),v.getTarget().html(""),this.editor.init(P.tableOptions.options.fields,v),this.editor.setValue(this.field||""),x.default(this.editor.target).keydown(function(o){o.keyCode==13&&P.endEdit(v)}),x.default(this.editor.target).change(function(o){P.endEdit(v)}),x.default(this.editor.target).blur(function(o){P.endEdit(v)})):(this.editor=c.Instance.createEditor("text"),v.getTarget().html(""),this.editor.init(v),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),x.default(this.editor.target).keydown(function(o){o.keyCode==13&&P.endEdit(v)}),x.default(this.editor.target).blur(function(o){P.endEdit(v)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=v.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=v)},j.prototype.endEdit=function(v){v.isEditing=0;var P=this.editor.getValue();if(P)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=P.split("#");v.title=this.title=o[0],o.length>0&&(v.columnId=v.field=this.field=o[1]),v.id&&v.target.attr("id",v.id),v.columnId&&v.target.attr("column-id",v.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else v.title=this.title=P;else this.tableOptions.options.isEnableEditField?(v.title=this.title="",v.field=this.field=""):v.title=this.title="";this.editor.destroy(),v.getTarget().html(this.title)},j}(),r=function(){return function(j){this.title=j.title,this.field=j.field,this.width=j.width,this.align=j.align,this.halign=j.halign,this.vAlign=j.vAlign,this.colspan=j.colspan,this.rowspan=j.rowspan,this.checked=j.checked,this.columnId=j.columnId,this.tableSummaryTitle=j.tableSummaryTitle,this.tableSummaryText=j.tableSummaryText,this.tableSummary=j.tableSummary,this.tableSummaryAlign=j.tableSummaryAlign,this.tableSummaryNumFormat=j.tableSummaryNumFormat,this.upperCase=j.upperCase,this.renderFormatter=j.renderFormatter&&j.renderFormatter.toString(),this.formatter2=j.formatter2&&j.formatter2.toString(),this.styler2=j.styler2&&j.styler2.toString(),this.stylerHeader=j.stylerHeader&&j.stylerHeader.toString(),this.tableColumnHeight=j.tableColumnHeight,this.tableTextType=j.tableTextType,this.tableBarcodeMode=j.tableBarcodeMode,this.tableQRCodeLevel=j.tableQRCodeLevel}}(),T=function(){function j(){this.id=C.a.createId()}return j.prototype.init=function(v,P,o,m){this.isHead=m,this.rowId=o,this.isEditing=!1;var a=/^[0-9]*$/;this.target=v,this.tableOptions=P;var I=this.target.attr("colspan");this.colspan=a.test(I)?parseInt(I):1;var h=this.target.attr("rowspan");this.rowspan=a.test(h)?parseInt(h):1,this.initEvent(),this.isHead&&this.initInnerEelement()},j.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var v=this.getValue();this.editor=c.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(v)}},j.prototype.endEdit=function(){this.isEditing=!1;var v=this.editor.getValue();this.editor.destroy(),this.target.html(v)},j.prototype.getTarget=function(){return this.target},j.prototype.getValue=function(){return this.target.html()},j.prototype.setValue=function(v){},j.prototype.initInnerEelement=function(){this.innerElement=new N,this.innerElement.init(this,this.tableOptions)},j.prototype.initEvent=function(){},j.prototype.isXYinCell=function(v,P){var o=new s.b({x:v,y:P,height:0,width:0});return this.isOverlap(o)},j.prototype.getTableRect=function(){return new s.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},j.prototype.isOverlap=function(v){var P=this.getTableRect();return v.x+v.width>P.x&&P.x+P.width>v.x&&v.y+v.height>P.y&&P.y+P.height>v.y},j.prototype.isInRect=function(v){var P=v.rect,o=this.getTableRect();if(o.x>=P.x&&o.x+o.width<=P.x+P.width&&o.y>=P.y&&o.y+o.height<=P.y+P.height){var m=w.a.mergeRect(P,o);return JSON.stringify(P)==JSON.stringify(m)||(v.changed=!0,v.rect=m,!0)}return!1},j.prototype.isSelected=function(){return this.target.hasClass("selected")},j.prototype.select=function(){this.target.addClass("selected")},j.prototype.isHeader=function(){return!1},j.prototype.setAlign=function(v){this.align=v,v?this.target.css("text-align",v):this.target[0].style.textAlign=""},j.prototype.setVAlign=function(v){this.vAlign=v,v?this.target.css("vertical-align",v):this.target[0].style.verticalAlign=""},j.prototype.getEntity=function(){return new r(this)},j}();g.d(F,"a",function(){return H});var S,D=(S=function(v,P){return(S=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(o,m){o.__proto__=m}||function(o,m){for(var a in m)m.hasOwnProperty(a)&&(o[a]=m[a])})(v,P)},function(j,v){function P(){this.constructor=j}S(j,v),j.prototype=v===null?Object.create(v):(P.prototype=v.prototype,new P)}),H=function(j){function v(P){var o=this;return P=P||{},(o=j.call(this)||this).width=P.width?parseFloat(P.width.toString()):100,o.title=P.title,o.descTitle=P.descTitle,o.field=P.field,o.fixed=P.fixed,o.rowspan=P.rowspan?parseInt(P.rowspan):1,o.colspan=P.colspan?parseInt(P.colspan):1,o.align=P.align,o.halign=P.halign,o.vAlign=P.vAlign,o.formatter=P.formatter,o.styler=P.styler,o.renderFormatter=P.renderFormatter,o.formatter2=P.formatter2,o.styler2=P.styler2,o.stylerHeader=P.stylerHeader,o.checkbox=P.checkbox,o.checked=P.checked!=0,o.columnId=P.columnId||P.field,o.tableColumnHeight=P.tableColumnHeight,o.tableTextType=P.tableTextType,o.tableBarcodeMode=P.tableBarcodeMode,o.tableQRCodeLevel=P.tableQRCodeLevel,this.tableSummaryTitle=P.tableSummaryTitle,this.tableSummaryText=P.tableSummaryText,o.tableSummary=P.tableSummary,o.tableSummaryAlign=P.tableSummaryAlign,o.tableSummaryNumFormat=P.tableSummaryNumFormat,o.upperCase=P.upperCase,o}return D(v,j),v.prototype.css=function(P){},v}(T)},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(E){this.printLine=E.printLine,this.target=E.target,this.referenceElement=E.referenceElement}}()},function($,F,g){g.d(F,"a",function(){return b});var W=g(19),E=g(0),b=function(){function l(){}return l.createTableHead=function(c,s){for(var w=l.reconsitutionTableColumnTree(c),C=x.default("<thead></thead>"),N=l.getColumnsWidth(w,s),r=function(D){var H=x.default("<tr></tr>");w[D].filter(function(j){return j.checked}).forEach(function(j){var v=x.default("<td></td>");j.id&&v.attr("id",j.id),j.columnId&&v.attr("column-id",j.columnId),(j.align||j.halign)&&v.css("text-align",j.halign||j.align),j.vAlign&&v.css("vertical-align",j.vAlign),j.colspan>1&&v.attr("colspan",j.colspan),j.rowspan>1&&v.attr("rowspan",j.rowspan),v.html(j.title),N[j.id]?(j.hasWidth=!0,j.targetWidth=N[j.id],v.attr("haswidth","haswidth"),v.css("width",N[j.id]+"pt")):j.hasWidth=!1;var P=l.getHeaderStyler(j);if(P){var o=P(j);o&&Object.keys(o).forEach(function(m){v.css(m,o[m])})}H.append(v)}),C.append(H)},T=0;T<w.totalLayer;T++)r(T);return l.syncTargetWidthToOption(c),C},l.createTableFooter=function(c,s,w,C,N,r){var T=x.default("<tfoot></tfoot>"),S=this.getFooterFormatter(w,C),D=this.tableSummaryTitle;let H=w.tableFooterRepeat=="last"?s:r,j=w.columns.length-1;var v=this.rowColumns||w.columns[j].columns;if(w.tableFooterRepeat!="no"&&v.some(function(o){return o.tableSummary})){var P=x.default("<tr></tr>");v.filter(function(o){return o.checked}).forEach(function(o){var m=H.filter(function(R){return R&&R[o.field]}).map(function(R){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(R[o.field])?Number(R[o.field]):0}),a=o.tableSummaryText,I=o.tableSummaryNumFormat||2,h=o.upperCase;let{toUpperCase:M,numFormat:u}=E.a;switch(o.tableSummary){case"count":var Y=D(o,a||"\u8BA1\u6570:",N),d=M(h,H.length||0);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${d}</td>`);break;case"sum":var A=parseFloat(Number(m.reduce(function(R,V){return R+V},0)));A=M(h,u(A,I));var Y=D(o,a||"\u5408\u8BA1:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${A}</td>`);break;case"avg":var A=parseFloat(Number(m.reduce(function(R,V){return R+V},0))),Z=parseFloat(Number(A/(m.length||1)));Z=M(h,u(Z,I));var Y=D(o,a||"\u5E73\u5747\u503C:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${Z}</td>`);break;case"min":var L=Math.min(...m);L=M(h,u(L,I));var Y=D(o,a||"\u6700\u5C0F\u503C:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${L||0}</td>`);break;case"max":var J=Math.max(...m),Y=D(o,a||"\u6700\u5927\u503C:",N);J=M(h,u(J,I)),P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${J||0}</td>`);break;case"text":P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${a||""}</td>`);break;default:P.append("<td></td>");break}}),T.append(P)}return S&&T.append(S(w,s,N,r)),T},l.tableSummaryTitle=function(c,s,w){var C=c.tableSummaryTitle==null||c.tableSummaryTitle==!0;return C?`${s}`:w?"":`<span style="color:firebrick">${s}</span>`},l.createTableRow=function(c,s,w,C){var N=this,r=l.reconsitutionTableColumnTree(c),T=x.default("<tbody></tbody>"),S=N.getGroupFieldsFormatter(w,C),D=S?w.groupFields=S(C,w,s):C.groupFields?C.groupFields:[];return s||(s=[]),D.length?E.a.groupBy(s,D,function(H){var j={};return D.forEach(function(v){return j[v]=H[v]}),j}).forEach(function(H){var j=N.getGroupFormatter(w,C);if(j){var v=x.default("<tr><td colspan="+r.colspan+"></td></tr>");v.find("td").append(j(H,w)),T.append(v)}var P=N.getGroupFooterFormatter(w,C);if(H.rows.forEach(function(m,a){var I=l.createRowTarget(r,m,w,C,a);T.append(I)}),P){var o=x.default("<tr><td colspan="+r.colspan+"></td></tr>");o.find("td").append(P(H,w)),T.append(o)}}):s.forEach(function(H,j){var v=l.createRowTarget(r,H,w,C,j);T.append(v)}),T},l.createRowTarget=function(c,s,w,C,N){var r=x.default("<tr></tr>"),T=c.rowColumns.filter(function(H){return H.checked});r.data("rowData",s),c.rowColumns.filter(function(H){return H.checked}).forEach(function(H,j){if(!!H.checked){var v="";if(w.rowsColumnsMerge){v=eval2("rowsColumnsMerge="+w.rowsColumnsMerge);var P=v(s,H,j,N)||[1,1],o=x.default(`<td style = 'display:${P[0]&&P[1]?"":"none"}' rowspan = '${P[0]}' colspan = '${P[1]}'></td>`)}else var o=x.default("<td></td>");if(s&&Object.keys(s).length>0&&(w.tableHeaderRepeat=="first"||w.tableHeaderRepeat=="none")){if(H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign),w.rowsColumnsMerge&&P[1]>1){var m=0;T.forEach((L,J)=>{J>=j&&J<j+P[1]&&(m+=L.width)})}o.css("width",(m||H.width)+"pt")}else H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign);var a=l.getColumnFormatter(H),I=a?a(s[H.field],s,j,w):s[H.field],h=l.getColumnRenderFormatter(H);if(h)o.html(h(s[H.field],s,j,w));else if(H.tableTextType=="text"||H.tableTextType==null)o.html(I);else{if(H.tableTextType=="barcode"){o.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{I?(Qt.default(o.find(".hibarcode_imgcode")[0],I,{format:H.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),o.find(".hibarcode_imgcode").attr("height",H.tableColumnHeight||30+"pt"),o.find(".hibarcode_imgcode").css("margin","5pt 10pt"),o.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):o.html("")}catch(L){console.log(L),o.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(H.tableTextType=="image"&&(o.html(""),I)){var M=x.default('<div><img style = "max-width:100%;max-height:100%"/></div>');M.find("img").attr("src",I),console.log(M.find("img").css("width")),o.html(M)}if(H.tableTextType=="qrcode"){o.html("");try{var u=x.default("<div></div>");if(I){var d=parseInt(H.width||H.targetWidth||20),A=parseInt(H.tableColumnHeight||20);u.css("height",(d>A?A:d)+"pt"),new QRCode(u[0],{width:d>A?A:d,height:d>A?A:d,colorDark:"#000000",useSVG:!0,correctLevel:H.tableQRCodeLevel||0}).makeCode(I),o.html(u)}}catch(L){console.log(L),o.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}H.tableTextType==="sequence"&&o.html(N+1)}var Z=l.getColumnStyler(H);if(Z){var d=Z(s[H.field],s,j,w);d&&Object.keys(d).forEach(function(J){o.css(J,d[J])})}r.append(o)}});var S=l.getRowStyler(w,C);if(S){var D=S(s,w);D&&Object.keys(D).forEach(function(H){r.css(H,D[H])})}return r},l.createEmptyRowTarget=function(c,s){var w=l.reconsitutionTableColumnTree(c),C=x.default("<tr></tr>");return w.rowColumns.filter(function(N){return N.checked}).forEach(function(N,r){var T=x.default("<td></td>");N.field&&T.attr("field",N.field),N.align&&T.css("text-align",N.align),N.vAlign&&T.css("vertical-align",N.vAlign),C.append(T)}),s&&s.options.tableBodyRowHeight&&C.find("td:not([rowspan])").css("height",s.options.tableBodyRowHeight+"pt"),C},l.getColumnsWidth=function(c,s){var w={},C=l.allAutoWidth(c),N=l.allFixedWidth(c);return c.rowColumns.filter(function(r){return r.checked}).forEach(function(r){if(r.fixed)w[r.id]=r.width;else{var T=s-N,S=r.width/C*(T>0?T:0);w[r.id]=S}}),w},l.resizeTableCellWidth=function(c,s,w){var C=l.reconsitutionTableColumnTree(s),N=l.getColumnsWidth(C,w);c.find("thead tr td[haswidth]").map(function(r,T){var S=x.default(T).attr("id"),D=N[S];x.default(T).css("width",D+"pt")})},l.allAutoWidth=function(c){var s=0,w={};return c.rowColumns.filter(function(C){return C.checked}).forEach(function(C){w[C.id]?w[C.id]=0:w[C.id]=C.width,s+=C.fixed?0:w[C.id]}),s},l.allFixedWidth=function(c){var s=0,w={};return c.rowColumns.filter(function(C){return C.checked}).forEach(function(C){w[C.id]?w[C.id]=0:w[C.id]=C.width,s+=C.fixed?w[C.id]:0}),s},l.reconsitutionTableColumnTree=function(c,s,w){var C=s||new W.a;C.colspan=0;for(var N=function(S){C.totalLayer=S+1,C[S]=c[S].columns,S==0&&c[S].columns.forEach(function(D){S==0&&(C.colspan+=D.colspan)})},r=0;r<c.length;r++)N(r);return C.rowColumns=l.getOrderdColumns(C),C},l.syncTargetWidthToOption=function(c){c.forEach(function(s){s.columns.forEach(function(w){w.hasWidth&&(w.width=w.targetWidth)})})},l.getGroupFieldsFormatter=function(c,s){var w=void 0;if(s.groupFields&&s.groupFields.length){var C=typeof s.groupFields=="string"?s.groupFields:JSON.stringify(s.groupFields);c.groupFieldsFormatter="function(groupData,options){ return "+C+" }"}if(s.groupFieldsFormatter&&(w=s.groupFieldsFormatter),c.groupFieldsFormatter)try{var N="groupFieldsFormatter="+c.groupFieldsFormatter;w=eval2(N)}catch(r){console.log(r)}return w},l.getGroupFormatter=function(c,s){var w=void 0;if(s.groupFormatter&&(w=s.groupFormatter),c.groupFormatter)try{var C="groupFormatter="+c.groupFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getGroupFooterFormatter=function(c,s){var w=void 0;if(s.groupFooterFormatter&&(w=s.groupFooterFormatter),c.groupFooterFormatter)try{var C="groupFooterFormatter="+c.groupFooterFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getFooterFormatter=function(c,s){var w=void 0;if(s.footerFormatter&&(w=s.footerFormatter),c.footerFormatter)try{var C="footerFormatter="+c.footerFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getRowStyler=function(c,s){var w=void 0;if(s.rowStyler&&(w=s.rowStyler),c.rowStyler)try{var C="rowStyler="+c.rowStyler;w=eval2(C)}catch(N){console.log(N)}return w},l.getColumnStyler=function(c){var s=void 0;if(c.styler&&(s=c.styler),c.styler2)try{var w="styler="+c.styler2;s=eval2(w)}catch(C){console.log(C)}return s},l.getHeaderStyler=function(c){var s=void 0;if(c.stylerHeader&&(s=c.stylerHeader),c.stylerHeader)try{var w="stylerHeader="+c.stylerHeader;s=eval2(w)}catch(C){console.log(C)}return s},l.getColumnRenderFormatter=function(c){var s=void 0;if(c.renderFormatter&&(s=c.renderFormatter),c.renderFormatter)try{var w="renderFormatter="+c.renderFormatter;s=eval2(w)}catch(C){console.log(C)}return s},l.getColumnFormatter=function(c){var s=void 0;if(c.formatter&&(s=c.formatter),c.formatter2)try{var w="formatter="+c.formatter2;s=eval2(w)}catch(C){console.log(C)}return s},l.getOrderdColumns=function(c){let s={};for(let C=0;C<c.totalLayer;C++)s[C]=[],c[C].forEach((N,r)=>{s[C].push(...new Array(N.colspan).fill({...N,colspan:1}))});for(let C=0;C<c.totalLayer;C++)s[C].forEach((N,r)=>{for(let T=1;T<N.rowspan;T++)s[C+T].splice(r,0,{...N,rowspan:1})});let w=[];for(let C=0;C<c.totalLayer;C++)C>=c.totalLayer-1?s[C].forEach((N,r)=>{N.field||(N.field=w[r])}):s[C].forEach((N,r)=>{C==0?w.push(N.field||""):N.field&&(w[r]=N.field)});return this.rowColumns=s[c.totalLayer-1],s[c.totalLayer-1]},l}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(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 E.prototype.isPositionLeftOrRight=function(b){return this.top<=b&&this.top+this.height>b},E}()},function($,F,g){var W=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(t,B){if(t&&t.length){if(B)return t.css("line-height",B+"pt"),"line-height:"+B+"pt";t[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
5
|
+
*/(function($,F){(function(g,W){$.exports=W()})(Ee,function(){function g(j,v){return v={exports:{}},j(v,v.exports),v.exports}function W(j,v){var P=I.getNumbResult(j);if(!P)return j;v=v||{};var o=this.ch,m=this.ch_u,a=this.ch_f||"",c=this.ch_d||".",h=o.charAt(0),M=P.int,u=P.decimal,d=P.minus,A="",Z="",L=d?a:"",J=function z(et,ot,pt){et=I.getNumbResult(et).int;var st="",ht=arguments.length>1?arguments[1]:v.tenMin,mt=et.length;if(mt==1)return o.charAt(+et);if(mt<=4)for(var ut=0,bt=mt;bt--;){var dt=+et.charAt(ut);st+=ht&&mt==2&&ut==0&&dt==1?"":o.charAt(dt),st+=dt&&bt?m.charAt(bt):"",ut++}else{for(var lt=et.length/4>>0,vt=et.length%4;vt==0||!m.charAt(3+lt);)vt+=4,lt--;var yt=et.substr(0,vt),Mt=et.substr(vt);st=z(yt,ht)+m.charAt(3+lt)+(Mt.charAt(0)=="0"?h:"")+z(Mt,Mt.length>4&&ht)}return st=I.clearZero(st,h)};if(u){u=I.clearZero(u,"0","$");for(var Y=0;Y<u.length;Y++)Z+=o.charAt(+u.charAt(Y));Z=Z?c+Z:""}if(A=J(M),v.ww&&m.length>5){var R=m.charAt(4),V=m.charAt(5),q=A.lastIndexOf(V);~q&&(A=A.substring(0,q).replace(new RegExp(V,"g"),R+R)+A.substring(q))}return L+A+Z}function E(j){j=j.toString();var v=j.split(this.ch_d),P=v[0].replace(this.ch_f,""),o=v[1],m=!!~v[0].indexOf(this.ch_f),a=this.ch_u.charAt(1),c=this.ch_u.charAt(4),h=this.ch_u.charAt(5);P=P.replace(new RegExp(c+"{2}","g"),h);for(var M=P.split(""),u=0,d=0,A=[],Z=[],L=[],J=0;J<M.length;J++){var Y=M[J],R=0,V=0;if(~(R=this.ch.indexOf(Y)))R>0&&L.unshift(R);else if(~(V=this.ch_u.indexOf(Y))){var q=I.getDigit(V);u>V?(I.unshiftZero(L,q),I.centerArray(Z,L)):V>=d?(J==0&&(L=[1]),I.centerArray(A,Z,L),A.length>0&&I.unshiftZero(A,q),d=V):(L.length==0&&a==Y&&(L=[1]),I.centerArray(Z,L),I.unshiftZero(Z,I.getDigit(V)),u=V)}}I.centerArray(A,Z,L).reverse(),A.length==0&&A.push(0);var z=0;if(o){A.push("."),z="0.";for(var J=0;J<o.length;J++)z+=this.ch.indexOf(o.charAt(J)),A.push(this.ch.indexOf(o.charAt(J)));z=+z}return m&&A.unshift("-"),parseFloat(A.join(""))}function b(j,v){var P={ww:!0,complete:!1,outSymbol:!0},o=I.getNumbResult(j),m=this.ch.charAt(0);if(v=typeof v=="object"?v:{},!o)return j;v=I.extend(P,v);var a=o.num,c=o.decimal||"",h=v.outSymbol?this.m_t:"",M=c?"":this.m_z,u="";if(v.complete){for(var d=1;d<this.m_u.length;d++)u+=W.call(this,c.charAt(d-1)||"0")+this.m_u.charAt(d);M=W.call(this,a,v)+this.m_u.charAt(0)}else{if(c=c.substr(0,this.m_u.length-1),c=I.clearZero(c,"0","$"))for(var A,d=0;d<this.m_u.length-1;d++)c.charAt(d)&&c.charAt(d)!="0"&&(u+=W.call(this,c.charAt(d))+this.m_u.charAt(d+1),A=!1),c.charAt(d)!=="0"||A||(d==0&&a=="0"||(u+=m),A=!0);a=="0"&&!M&&u||(M=W.call(this,a,v)+this.m_u.charAt(0)+M)}return h+M+u}function l(j,v){return{encodeS:function(P,o){return o=I.extend({ww:!0,tenMin:!0},o),s.CL.call(j,P,o)},encodeB:function(P,o){return o=I.extend({ww:!0},o),s.CL.call(v,P,o)},decodeS:function(){return s.unCL.apply(j,arguments)},decodeB:function(){return s.unCL.apply(v,arguments)},toMoney:function(P,o){return o=I.extend({ww:!0},o),s.toMoney.call(v,P,o)}}}var I=g(function(j,v){var P=/^([+-])?0*(\d+)(\.(\d+))?$/,o=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,m=v.e2ten=function(c){var h=o.exec(c.toString());if(!h)return c;var M=h[2],u=h[4]||"",d=h[5]?+h[5]:0;if(d>0){var A=u.substr(0,d);A=A.length<d?A+new Array(d-A.length+1).join("0"):A,u=u.substr(d),M+=A}else{d=-d;var Z=M.length-d;Z=Z<0?0:Z;var L=M.substr(Z,d);L=L.length<d?new Array(d-L.length+1).join("0")+L:L,M=M.substring(0,Z),u=L+u}return M=M==""?"0":M,(h[1]=="-"?"-":"")+M+(u?"."+u:"")};v.getNumbResult=function(c){var h=P.exec(c.toString());if(!h&&o.test(c.toString())&&(h=P.exec(m(c.toString()))),h)return{int:h[2],decimal:h[4],minus:h[1]=="-",num:h.slice(1,3).join("")}},v.centerArray=function c(h,M){if(h.splice.apply(h,[0,M.length].concat(M.splice(0,M.length))),arguments.length>2){var u=[].slice.call(arguments,2);u.unshift(h),c.apply(null,u)}return h};var a=v.hasAttr=function(c,h){return Object.prototype.hasOwnProperty.call(c,h)};v.extend=function(c){for(var h,M=arguments[0]||{},u=Array.prototype.slice.call(arguments,1),d=0;d<u.length;d++){var A=u[d];for(h in A)a(A,h)&&(M[h]=A[h])}return M},v.getDigit=function(c){return c>=5?4*(c-4)+4:c},v.unshiftZero=function(c,h){if(h==null&&(h=1),!(h<=0))for(;h--;)c.unshift(0)},v.clearZero=function(c,h,M){if(c==null)return"";var u=~"*.?+$^[](){}|\\/".indexOf(h)?"\\"+h:h,d=new RegExp("^"+u+"+"),A=new RegExp(u+"+$"),Z=new RegExp(u+"{2}","g");return c=c.toString(),M=="^"&&(c=c.replace(d,"")),M&&M!="$"||(c=c.replace(A,"")),M&&M!="nto1"||(c=c.replace(Z,h)),c}}),s=(I.e2ten,I.getNumbResult,I.centerArray,I.hasAttr,I.extend,I.getDigit,I.unshiftZero,I.clearZero,{CL:W,unCL:E,toMoney:b}),w=l,C={ch:"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ch_u:"\u4E2A\u5341\u767E\u5343\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9"},N={ch:"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ch_u:"\u4E2A\u62FE\u4F70\u4EDF\u4E07\u4EBF",ch_f:"\u8D1F",ch_d:"\u70B9",m_t:"\u4EBA\u6C11\u5E01",m_z:"\u6574",m_u:"\u5143\u89D2\u5206"},r={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"},T={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"},S={s:C,b:N,hk_s:r,hk_b:T},D=function(j){this.lang=j,this.encode=function(){return s.CL.apply(j,arguments)},this.decode=function(){return s.unCL.apply(j,arguments)},this.toMoney=function(){return s.toMoney.apply(j,arguments)}};D.langs=S,D.cn=w(S.s,S.b),D.hk=w(S.hk_s,S.hk_b);var H=D;return H})})(Kt);const Ht=Kt.exports;function Ge($){return function(F){var g=function(W){W.removePrintElementTypes("defaultModule"),W.addPrintElementTypes("defaultModule",[new $.PrintElementTypeGroup("\u5E38\u89C4",[{tid:"defaultModule.text",title:"\u6587\u672C",data:"",type:"text"},{tid:"defaultModule.image",title:"\u56FE\u7247",data:"",type:"image"},{tid:"defaultModule.longText",title:"\u957F\u6587",data:"155123456789",type:"longText"},{tid:"defaultModule.table",field:"table",title:"\u8868\u683C",type:"table",groupFields:["name"],groupFooterFormatter:function(E,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(E,b){return'<div style="height:50pt;width:50pt;background:red;border-radius: 50%;"></div>'},type:"html"},{tid:"defaultModule.customText",title:"\u81EA\u5B9A\u4E49\u6587\u672C",customText:"\u81EA\u5B9A\u4E49\u6587\u672C",custom:!0,type:"text"}]),new $.PrintElementTypeGroup("\u8F85\u52A9",[{tid:"defaultModule.hline",title:"\u6A2A\u7EBF",type:"hline"},{tid:"defaultModule.vline",title:"\u7AD6\u7EBF",type:"vline"},{tid:"defaultModule.rect",title:"\u77E9\u5F62",type:"rect"},{tid:"defaultModule.oval",title:"\u692D\u5706",type:"oval"}])])};return{addElementTypes:g}}}function Dt($,F){return F!=null&&typeof Symbol<"u"&&F[Symbol.hasInstance]?!!F[Symbol.hasInstance]($):$ instanceof F}function jt($){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jt=function(g){return typeof g}:jt=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},jt($)}window.$=window.jQuery=x.default;window.autoConnect=!0;window.io=xe.io;window.eval2=eval;var At=function($){var F={};function g(E){if(F[E])return F[E].exports;var b=F[E]={i:E,l:!1,exports:{}};return $[E].call(b.exports,b,b.exports,g),b.l=!0,b.exports}var W=(g.m=$,g.c=F,g.d=function(E,b,l){g.o(E,b)||Object.defineProperty(E,b,{enumerable:!0,get:l})},g.r=function(E){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},g.t=function(E,b){if(1&b&&(E=g(E)),8&b||4&b&&jt(E)=="object"&&E&&E.__esModule)return E;var l=Object.create(null);if(g.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:E}),2&b&&typeof E!="string")for(var I in E)g.d(l,I,function(s){return E[s]}.bind(null,I));return l},g.n=function(E){var b=E&&E.__esModule?function(){return E.default}:function(){return E};return g.d(b,"a",b),b},g.o=function(E,b){return Object.prototype.hasOwnProperty.call(E,b)},g.p="/",g(g.s=21));return W.n=g,W}([function($,F,g){var W;g.d(F,"a",function(){return hinnn}),window.hinnn={},hinnn.event=(W={},{on:function(b,l){W[b]||(W[b]=[]),W[b].push(l)},id:0,off:function(b,l){var I=W[b];if(I){for(var s=-1,w=0;w<I.length;w++)if(I[w]===l){s=w;break}s<0||W[b].splice(s,1)}},trigger:function(b){var l=W[b];if(l&&l.length)for(var I=Array.prototype.slice.call(arguments,1),s=0;s<l.length;s++)l[s].apply(this,I)},clear:function(b){W[b]=[]},getId:function(){return this.id+=1,this.id},getNameWithId:function(b){return b+"-"+this.getId()}}),hinnn.form={serialize:function(b){var l=x.default(b).serializeArray(),I={};return x.default.each(l,function(){I[this.name]?Object.prototype.toString.call(I[this.name])=="[object Array]"?I[this.name].push(this.value):I[this.name]=[I[this.name],this.value]:I[this.name]=this.value}),I}},hinnn.pt={toPx:function(b){return b*(this.getDpi()/72)},toMm:function(b){return hinnn.px.toMm(hinnn.pt.toPx(b))},dpi:0,getDpi:function(){if(!this.dpi){var b=document.createElement("DIV");b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight}return this.dpi}},hinnn.px={toPt:function(b){return b*(72/this.getDpi())},toMm:function(b){return Math.round(b/this.getDpi()*25.4*100)/100},dpi:0,getDpi:function(){if(!this.dpi){var b=document.createElement("DIV");b.style.cssText="width:1in;height:1in;position:absolute;left:0px;top:0px;z-index:99;visibility:hidden",document.body.appendChild(b),this.dpi=b.offsetHeight}return this.dpi}},hinnn.mm={toPt:function(b){return 72/25.4*b},toPx:function(b){return hinnn.pt.toPx(hinnn.mm.toPt(b))}},hinnn.throttle=function(E,b,l){var I,s,w,C=null,N=0;l||(l={});var r=function(){N=l.leading===!1?0:_.now(),C=null,w=E.apply(I,s),C||(I=s=null)};return function(){var T=_.now();N||l.leading!==!1||(N=T);var S=b-(T-N);return I=this,s=arguments,S<=0||S>b?(C&&(clearTimeout(C),C=null),N=T,w=E.apply(I,s),C||(I=s=null)):C||l.trailing===!1||(C=setTimeout(r,S)),w}},hinnn.debounce=function(E,b,l){var I,s,w,C,N,r=function T(){var S=_.now()-C;S<b&&S>=0?I=setTimeout(T,b-S):(I=null,l||(N=E.apply(w,s),I||(w=s=null)))};return function(){w=this,s=arguments,C=_.now();var T=l&&!I;return I||(I=setTimeout(r,b)),T&&(N=E.apply(w,s),w=s=null),N}},hinnn.toUtf8=function(E){var b,l,I,s;for(b="",I=E.length,l=0;l<I;l++)(s=E.charCodeAt(l))>=1&&s<=127?b+=E.charAt(l):s>2047?(b+=String.fromCharCode(224|s>>12&15),b+=String.fromCharCode(128|s>>6&63),b+=String.fromCharCode(128|s>>0&63)):(b+=String.fromCharCode(192|s>>6&31),b+=String.fromCharCode(128|s>>0&63));return b},hinnn.groupBy=function(E,b,l){var I={};return E.forEach(function(s){var w=JSON.stringify(l(s));I[w]||(I[w]={rows:[]},b.forEach(function(C){I[w][C]=s[C]})),I[w].rows.push(s)}),Object.keys(I).map(function(s){return I[s]})},hinnn.orderBy=function(E,b){if(E.length<=1)return E;var l=Math.floor(E.length/2),I=E.splice(l,1)[0],s=[],w=[],C=!0,N=!1,r=void 0;try{for(var T=E[Symbol.iterator](),S;!(C=(S=T.next()).done);C=!0){var D=S.value;b(D)<b(I)?s.push(D):w.push(D)}}catch(H){N=!0,r=H}finally{try{!C&&T.return!=null&&T.return()}finally{if(N)throw r}}return this.orderBy(s,b).concat([I],this.orderBy(w,b))},hinnn.dateFormat=function(E,b){if(E)try{var l=typeof E=="string"?new Date(E):E,I={"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 s in/(y+)/.test(b)&&(b=b.replace(RegExp.$1,(l.getFullYear()+"").substr(4-RegExp.$1.length))),I)new RegExp("("+s+")").test(b)&&(b=b.replace(RegExp.$1,RegExp.$1.length==1?I[s]:("00"+I[s]).substr((""+I[s]).length)));return b}catch(w){return console.log(w),""}return""},hinnn.numFormat=function(E,b){if(E!=null)try{var l=typeof E=="string"?parseFloat(E):E,I=parseInt(b);return I>0?l.toFixed(I):parseInt(l.toString())}catch(s){return console.log(s),""}return""},hinnn.toUpperCase=function(E,b){if(!Ht)return b;var l=b;switch(E){case"0":l=Ht.cn.encodeS(b);break;case"1":l=Ht.cn.encodeS(b,{tenMin:!1});break;case"2":l=Ht.cn.encodeB(b,{tenMin:!0});break;case"3":l=Ht.cn.encodeB(b);break;case"4":l=Ht.cn.toMoney(b,{tenMin:!0});break;case"5":l=Ht.cn.toMoney(b);break;case"6":l=Ht.cn.toMoney(b,{complete:!0});break;case"7":l=Ht.cn.toMoney(b,{complete:!0,outSymbol:!1});break}return l}},function($,F,g){g.d(F,"a",function(){return E});var W=g(9),E=function(){function b(){}return b.prototype.init=function(l){l&&x.default.extend(this,l)},b.prototype.register=function(l){this.init(l);var I=this,s=I.getHooks("init");s&&s.forEach(w=>{w.run({Config:I,OptionItems:W,ElementTypes:At.ElementTypes,hinnn,hiprint:At})})},b.prototype.getHooks=function(l){return this.pluginsList().reduce((I,s)=>I.concat(s.hooks.filter(w=>w.hook===l)),[])},b.prototype.pluginsList=function(){var l=this;return this.plugins?this.plugins.filter(I=>l.versionCheck(I)):[]},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 I=b.instance.version.split("."),s=parseInt(I[0]),w=parseInt(I[1]),C=parseInt(I[2]),N=l.leastHiprintVersion.split("."),r=parseInt(N[0]),T=parseInt(N[1]),S=parseInt(N[2]);let D=!1;return s>r&&(D=!0),s===r&&w>T&&(D=!0),s===r&&w===T&&C>=S&&(D=!0),D||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.`),D},b.prototype.on=function(l,I){hinnn.event.on(l,I)},b.prototype.clear=function(l){hinnn.event.clear(l)},b.prototype.registerItems=function(l){l.forEach(function(I){W.a.registerItem(new I)})},Object.defineProperty(b,"instance",{get:function(){return b._instance||(b._instance=new b,window.HIPRINT_CONFIG&&x.default.extend(b._instance,HIPRINT_CONFIG),b._instance.optionItems&&b._instance.optionItems.forEach(function(I){W.a.registerItem(new I)})),b._instance},enumerable:!0,configurable:!0}),b}()},function($,F,g){var W=function(){function b(l){this.printElement=l}return b.prototype.updatePosition=function(l,I){this.left=l,this.top=I},b}();g.d(F,"a",function(){return E});var E=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,I){var s=.75*l;return I&&(I=I),Math.round(s/I)*I}}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 W(l)},b.prototype.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var I=16*Math.random()|0;return(l=="x"?I:3&I|8).toString(16)})},b.prototype.imageToBase64=function(l){if(x.default(l).attr("src").indexOf("base64")==-1)try{var I=document.createElement("canvas"),s=new Image;s.src=l.attr("src"),I.width=s.width,I.height=s.height,I.getContext("2d").drawImage(s,0,0),l.attr("src",I.toDataURL("image/png"))}catch{try{this.xhrLoadImage(l)}catch(C){console.log(C)}}},b.prototype.xhrLoadImage=function(l){},b.prototype.transformImg=function(l){var I=this;l.map(function(s,w){I.imageToBase64(x.default(w))})},b.prototype.getPrintTemplateById=function(l){return b.instance.printTemplateContainer[l]},b.prototype.setPrintTemplateById=function(l,I){return b.instance.printTemplateContainer[l]=I},b}()},function($,F,g){var W=function(){return function(){}}();g.d(F,"a",function(){return E});var E=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()},b.prototype.initSize=function(){this.width||this.setWidth(this.defaultOptions.width),this.height||this.setHeight(this.defaultOptions.height)},b.prototype.initSizeByHtml=function(l,I){this.width||this.setWidth(l),this.height||this.setHeight(I)},b.prototype.getRectInfo=function(){var l={w:0,h:0,diffW:0,diffH:0};if(this.transform){var I=this.transform*Math.PI/180,s=this.width,w=this.height,C=Math.sin(I),N=Math.cos(I),r=Math.abs(s*N)+Math.abs(w*C),T=Math.abs(s*C)+Math.abs(w*N),S=(s-r)/2,D=(w-T)/2;l.w=r,l.h=T,l.diffW=S,l.diffH=D}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 W,I=this;return Object.keys(this).filter(function(s){return s!="topInDesign"}).forEach(function(s){if(typeof I[s]!="number"&&typeof I[s]!="string"&&!["fields"].includes(s)&&jt(I[s])!=jt(!0)||(l[s]=I[s]),s=="style"){l.style={};var w=I[s];w&&Object.keys(w).forEach(function(C){typeof w[C]!="number"&&typeof w[C]!="string"||(l.style[C]=w[C])})}}),l},b.prototype.init=function(l){var I=this;l&&Object.keys(l).forEach(function(s){I[s]=l[s]})},b}()},function($,F,g){g.d(F,"a",function(){return C});var W=g(17),E=g(1),b=g(9),l=g(6),I=g(0),s=g(8),w=g(2),C=function(){function N(r){this.printElementType=r,this.id=w.a.instance.guid()}return N.prototype.getConfigOptionsByName=function(r){return E.a.instance[r]},N.prototype.getProxyTarget=function(r){r&&this.SetProxyTargetOption(r);var T=this.getData(),S=this.createTarget(this.getTitle(),T);return this.updateTargetSize(S),this.css(S,T),S},N.prototype.SetProxyTargetOption=function(r){this.options.getPrintElementOptionEntity(),x.default.extend(this.options,r),this.copyFromType()},N.prototype.showInPage=function(r,T){var S=this.options.showInPage,D=this.options.unShowInPage;if(S){if(S=="first")return r==0;if(r==T-1&&D=="last")return!1;if(S=="odd")return(r!=0||D!="first")&&r%2==0;if(S=="even")return r%2==1;if(S=="last")return r==T-1}return(r!=0||D!="first")&&(r!=T-1||D!="last")},N.prototype.setTemplateId=function(r){this.templateId=r},N.prototype.setPanel=function(r){this.panel=r},N.prototype.getField=function(){return this.options.field||this.printElementType.field},N.prototype.getTitle=function(){return this.printElementType.title},N.prototype.updateSizeAndPositionOptions=function(r,T,S,D){this.options.setLeft(r),this.options.setTop(T),this.options.copyDesignTopFromTop(),this.options.setWidth(S),this.options.setHeight(D)},N.prototype.initSizeByHtml=function(r){if(r&&r.length){this.createTempContainer();var T=r.clone();this.getTempContainer().append(T),this.options.initSizeByHtml(parseInt(I.a.px.toPt(T.width()).toString()),parseInt(I.a.px.toPt(T.height()).toString())),this.removeTempContainer()}},N.prototype.updateTargetSize=function(r){r.css("width",this.options.displayWidth()),r.css("height",this.options.displayHeight())},N.prototype.updateTargetWidth=function(r){r.css("width",this.options.displayWidth())},N.prototype.getDesignTarget=function(r){var T=this,S=0;return this.designTarget=this.getHtml(r)[0].target,this.designPaper=r,this.designTarget.click(function(D){D.timeStamp-S>500&&I.a.event.trigger(T.getPrintElementSelectEventKey(),{printElement:T}),S=D.timeStamp}),this.designTarget.dblclick(function(D){var H=T.designTarget.find(".hiprint-printElement-content");if(H){var j=T.designTarget.find(".resize-panel");T.printElementType.type=="text"&&!(T.options.textType&&T.options.textType!="text")&&(T._editing=!0,T.designTarget.hidraggable("update",{draggable:!1}),H.css("cursor","text"),H.addClass("editing"),T.designTarget.addClass("editing"),H.click(function(v){T._editing&&v.stopPropagation()}),H.attr("contenteditable",!0),j&&j.css("display","none"),T.selectEnd(H))}}),this.designTarget},N.prototype.selectEnd=function(r){if(r.focus(),typeof window.getSelection<"u"&&typeof document.createRange<"u"){var T=document.createRange();T.selectNodeContents(r[0]),T.collapse(!1);var S=window.getSelection();S.removeAllRanges(),S.addRange(T)}else if(typeof document.body.createTextRange<"u"){var T=document.body.createTextRange();T.moveToElementText(r[0]),T.collapse(!1),T.select()}},N.prototype.updateByContent=function(r){var T=this,S=T.designTarget.find(".hiprint-printElement-content");if(T._editing){S&&S.css("cursor","")&&S.removeClass("editing")&&S.removeAttr("contenteditable"),T.designTarget.removeClass("editing");var D=S.text(),H=T.options.title+"\uFF1A";D.startsWith(H)&&T.options.field?D.length>H.length?T.options.testData=D.split("\uFF1A")[1]:(T.options.title=D,T.options.testData=""):T.options.title=D,r||I.a.event.trigger(T.getPrintElementSelectEventKey(),{printElement:T}),T.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+T.templateId,"\u7F16\u8F91\u4FEE\u6539"),T._editing=!1;var j=T.options.draggable==null||T.options.draggable==!0;T.designTarget.hidraggable("update",{draggable:j})}},N.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.templateId},N.prototype.design=function(r,T){var S=this;this.designTarget.hidraggable({draggable:S.options.draggable,axis:S.options.axis?S.options.axis:void 0,designTarget:S,onDrag:function(H,j,v){var P=S.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&h.designTarget.children().last().hasClass("selected")&&!h.printElementType.type.includes("table")}),o=P.length>1,m=!S.designTarget.children().last().hasClass("selected");if(o){var a=j-S.options.left,c=v-S.options.top;P.forEach(function(h){h.updateSizeAndPositionOptions(a+h.options.getLeft(),c+h.options.getTop()),h.designTarget.css("left",h.options.displayLeft()),h.designTarget.css("top",h.options.displayTop()),h.createLineOfPosition(T)}),m&&(S.updateSizeAndPositionOptions(j,v),S.createLineOfPosition(T))}else S.updateSizeAndPositionOptions(j,v),S.createLineOfPosition(T);w.a.instance.changed=!0},moveUnit:"pt",minMove:E.a.instance.movingDistance,onBeforeDrag:function(H){w.a.instance.draging=!0,S.designTarget.focus(),S.createLineOfPosition(T)},getScale:function(){return S.designPaper.scale||1},onStopDrag:function(H){w.a.instance.changed&&I.a.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u79FB\u52A8"),w.a.instance.draging=!1,w.a.instance.changed=!1;var j=S.panel.printElements.filter(function(v){return v.designTarget.children().last().css("display")=="block"&&!v.printElementType.type.includes("table")});j.length>1?j.forEach(function(v){v.removeLineOfPosition()}):S.removeLineOfPosition()}}),this.designTarget.on("mouseup",function(){setTimeout(function(){S.removeLineOfPosition(),I.a.event.trigger("hiprintTemplateMouseUp_"+T.templateId)},300)}),this.designTarget.hicontextMenu(S.panel.getContextMenuList()),this.setResizePanel(),this.bingCopyEvent(this.designTarget),this.bingKeyboardMoveEvent(this.designTarget,T)},N.prototype.getPrintElementEntity=function(r){return r?new W.a(void 0,this.options.getPrintElementOptionEntity(),this.printElementType.getPrintElementTypeEntity()):new W.a(this.printElementType.tid,this.options.getPrintElementOptionEntity())},N.prototype.submitOption=function(){var r=this,T=this.getConfigOptions();T&&T.tabs&&T.tabs.length?this.getPrintElementOptionTabs().forEach(function(S){S.list.forEach(function(D){var H=D.getValue(),j=D.name=="textType"&&r.options[D.name]!==H,v=D.name=="axis"&&r.options[D.name]!==H,P=D.name=="draggable"&&r.options[D.name]!==H;H&&jt(H)=="object"?Object.keys(H).forEach(function(o){r.options[o]=H[o]}):r.options[D.name]=H,j&&r.setResizePanel(),v&&r.designTarget.hidraggable("update",{axis:H}),P&&r.designTarget.hidraggable("update",{draggable:H})})}):this.getPrintElementOptionItems().forEach(function(S){var D=S.getValue(),H=S.name=="textType"&&r.options[S.name]!==D,j=S.name=="axis"&&r.options[S.name]!==D,v=S.name=="draggable"&&r.options[S.name]!==D;D&&jt(D)=="object"?Object.keys(D).forEach(function(P){r.options[P]=D[P]}):r.options[S.name]=D,H&&r.setResizePanel(),j&&r.designTarget.hidraggable("update",{axis:D}),v&&r.designTarget.hidraggable("update",{draggable:D})}),this.updateDesignViewFromOptions(),I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u5143\u7D20\u4FEE\u6539")},N.prototype.updateOption=function(r,T,S){try{var D=this,H=this.getConfigOptions(),j=["draggable"];H&&H.tabs&&H.tabs.length?H.tabs.forEach(function(v){v.options.forEach(function(P){j.push(P.name)})}):j=H.supportOptions.map(function(v){return v.name}),j&&j.includes(r)&&(this.options[r]=T,r=="draggable"&&D.designTarget.hidraggable("update",{draggable:T}),r=="widthHeight"&&(T.width&&(this.options.width=T.width),T.height&&(this.options.height=T.height),T.widthHeightSync&&(this.options.widthHeightSync=T.widthHeightSync)),r=="coordinate"&&(T.left&&(this.options.left=T.left),T.top&&(this.options.top=T.top),T.coordinateSync&&(this.options.coordinateSync=T.coordinateSync)),this.updateDesignViewFromOptions(),S||(I.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u53C2\u6570\u4FEE\u6539"),I.a.event.trigger(D.getPrintElementSelectEventKey(),{printElement:D})))}catch(v){console.log("updateOption error",v)}},N.prototype.getReizeableShowPoints=function(){return this.options.textType=="barcode"?this.options.showPoints||E.a.instance.barcode.showPoints:this.options.textType=="qrcode"?this.options.showPoints||E.a.instance.qrcode.showPoints:this.options.showPoints||E.a.instance.text.showPoints},N.prototype.setResizePanel=function(){var r=this,T=this.designPaper;this.designTarget.hireizeable({showPoints:r.getReizeableShowPoints(),draggable:r.options.draggable,showSizeBox:E.a.instance.showSizeBox,getScale:function(){return r.designPaper.scale||1},onBeforeResize:function(){w.a.instance.draging=!0},onResize:function(D,H,j,v,P,o){o!=null?r.onRotate(D,o):r.onResize(D,H,j,v,P),r.createLineOfPosition(T)},onStopResize:function(D){I.a.event.trigger("hiprintTemplateDataChanged_"+r.templateId,D?"\u65CB\u8F6C":"\u5927\u5C0F"),w.a.instance.draging=!1,r.removeLineOfPosition()}}),this.options.draggable==!1&&x.default('<i style="position:absolute;font-size:12px;right:-14px;bottom:-14px;z-index:10" class="svicon sv-lock"></i>').insertBefore(this.designTarget.find(".resize-panel"))},N.prototype.onRotate=function(r,T){this.options.setRotate(T)},N.prototype.onResize=function(r,T,S,D,H){this.updateSizeAndPositionOptions(H,D,S,T)},N.prototype.getOrderIndex=function(){return this.options.getTop()},N.prototype.getHtml=function(r,T,S){var D=0;this.setCurrenttemplateData(T);var H=[],j=this.getBeginPrintTopInPaperByReferenceElement(r),v=r.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||j>v&&r.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),j=j-v+r.paperHeader,D++,v=r.getPaperFooter(D));var P=this.getData(T),o=this.createTarget(this.getTitle(),P,S);return this.updateTargetSize(o),this.css(o,P),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",j+"pt"),H.push(new l.a({target:o,printLine:j+this.options.getHeight(),referenceElement:new s.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:r.index,bottomInLastPaper:j+this.options.getHeight(),printTopInPaper:j})})),T&&this.options.pageBreak&&(H[0].target.css("top",r.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-r.paperHeader,H[0].printLine=r.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=r.paperHeader,H.unshift(new l.a({target:o,printLine:r.height,referenceElement:new s.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:r.index,bottomInLastPaper:r.height,printTopInPaper:r.paperHeader})}))),H},N.prototype.getHtml2=function(r,T,S){var D=0;this.setCurrenttemplateData(T);var H=[],j=this.getBeginPrintTopInPaperByReferenceElement(r),v=r.getPaperFooter(D);this.isHeaderOrFooter()||this.isFixed()||(r.panelPageRule!="none"&&j>v&&(H.push(new l.a({target:void 0,printLine:void 0})),j=j-v+r.paperHeader,D++,v=r.getPaperFooter(D)),j<=v&&j+this.options.getHeight()>v&&r.panelPageRule!="none"&&(H.push(new l.a({target:void 0,printLine:void 0})),j=r.paperHeader,D++,v=r.getPaperFooter(D)));var P=this.getData(T),o=this.createTarget(this.getTitle(),P);return r.panelPageRule=="none"&&j+this.options.getHeight()>v&&this.updatePanelHeight(j+this.options.getHeight(),r),this.updateTargetSize(o),this.css(o,P),o.css("position","absolute"),o.css("left",this.options.displayLeft()),o.css("top",j+"pt"),H.push(new l.a({target:o,printLine:j+this.options.getHeight(),referenceElement:new s.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:r.index,bottomInLastPaper:j+this.options.getHeight(),printTopInPaper:j})})),T&&this.options.pageBreak&&(H[0].target.css("top",r.paperHeader+"pt"),H[0].referenceElement.top=this.options.getTop()-this.options.getHeight()-r.paperHeader,H[0].printLine=r.paperHeader,H[0].referenceElement.bottomInLastPaper=0,H[0].referenceElement.printTopInPaper=r.paperHeader,H.unshift(new l.a({target:o,printLine:r.height,referenceElement:new s.a({top:0,left:0,height:0,width:0,beginPrintPaperIndex:r.index,bottomInLastPaper:r.height,printTopInPaper:r.paperHeader})}))),H},N.prototype.updatePanelHeight=function(r,T){if(this.panel.panelPageRule=="none"){var S=I.a.pt.toMm(r);T.paperFooter=r,T.target.css("height",S+"mm"),T.target.attr("original-height",S)}},N.prototype.getBeginPrintTopInPaperByReferenceElement=function(r){var T=this.options.getTop();return this.isHeaderOrFooter()||this.isFixed()?T:r.referenceElement.isPositionLeftOrRight(T)?r.referenceElement.printTopInPaper+(T-r.referenceElement.top):r.referenceElement.bottomInLastPaper+(T-(r.referenceElement.top+r.referenceElement.height))},N.prototype.css=function(r,T){var S=this,D=this.getConfigOptions();if(D){var H;D.tabs&&D.tabs.length?(H=[],D.tabs.forEach(function(j){H=H.concat(j.options)})):H=D.supportOptions,H&&H.forEach(function(j){var v=b.a.getItem(j.name);v&&v.css&&v.css(r,S.options.getValueFromOptionsOrDefault(j.name))})}this.stylerCss(r,T)},N.prototype.stylerCss=function(r,T){var S=this.getStyler();if(S){var D=S(T,this.options,r,this._currenttemplateData);D&&Object.keys(D).forEach(function(H){r.css(H,D[H])})}},N.prototype.getData=function(r){var T=this.getField();return r?T&&T.split(".").reduce((S,D)=>S?S[D]:r?r[D]:"",!1)||"":this.printElementType.getData()},N.prototype.copyFromType=function(){var r=this.options,T=this.printElementType,S=this.getConfigOptions(),D=[];return S&&S.tabs&&S.tabs.length?S.tabs.forEach(function(H){H.options.forEach(function(j){D.push(j.name)})}):D=S.supportOptions.map(function(H){return H.name}),Object.keys(T).forEach(function(H){T[H]&&H!="columns"&&D.indexOf(H)>-1&&(r[H]=jt(T[H])=="function"?T[H].toString():T[H])}),r},N.prototype.getPrintElementOptionTabs=function(){if(this._printElementOptionTabs)return this._printElementOptionTabs;var r=[],T=this.getConfigOptions();if(T){var S=T.tabs;S&&S.forEach(function(D,H){r.push({name:D.name,list:[]}),D.options.filter(function(j){return!j.hidden}).forEach(function(j){var v=b.a.getItem(j.name);r[H].list.push(v)})})}return this._printElementOptionTabs=r,this._printElementOptionItems=void 0,this._printElementOptionTabs},N.prototype.getPrintElementOptionItems=function(){if(this._printElementOptionItems)return this._printElementOptionItems;var r=[],T=this.getConfigOptions();if(T){var S;T.tabs&&T.tabs.length?(S=[],T.tabs.forEach(function(D){D=D.concat(D.options)})):S=T.supportOptions,S&&S.filter(function(D){return!D.hidden}).forEach(function(D){var H=b.a.getItem(D.name);r.push(H)})}return this._printElementOptionItems=this.filterOptionItems(r.concat()),this._printElementOptionTabs=void 0,this._printElementOptionItems},N.prototype.getPrintElementOptionItemsByName=function(r){var T=[],S=this.getConfigOptionsByName(r);if(S){var D;S.tabs&&S.tabs.length?(D=[],S.tabs.forEach(function(H){D=D.concat(H.options)})):D=S.supportOptions,D&&D.filter(function(H){return!H.hidden}).forEach(function(H){var j=b.a.getItem(H.name);T.push(j)})}return T.concat()},N.prototype.filterOptionItems=function(r){return this.printElementType.field?r.filter(function(T){return T.name!="field"}):r},N.prototype.createTempContainer=function(){this.removeTempContainer(),x.default("body").append(x.default('<div class="hiprint_temp_Container hiprint-printPaper" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},N.prototype.removeTempContainer=function(){x.default(".hiprint_temp_Container").remove()},N.prototype.getTempContainer=function(){return x.default(".hiprint_temp_Container")},N.prototype.isHeaderOrFooter=function(){return this.options.getTopInDesign()<this.panel.paperHeader||this.options.getTopInDesign()>=this.panel.paperFooter},N.prototype.delete=function(){this.designTarget&&this.designTarget.remove()},N.prototype.setCurrenttemplateData=function(r){this._currenttemplateData=r},N.prototype.isFixed=function(){return this.options.fixed},N.prototype.onRendered=function(r,T){this.printElementType&&this.printElementType.onRendered&&this.printElementType.onRendered(T,this.options,r.getTarget())},N.prototype.createLineOfPosition=function(r){var T=x.default(".toplineOfPosition.id"+this.id),S=x.default(".topPosition.id"+this.id),D=x.default(".leftlineOfPosition.id"+this.id),H=x.default(".leftPosition.id"+this.id),j=x.default(".rightlineOfPosition.id"+this.id),v=x.default(".bottomlineOfPosition.id"+this.id),P=E.a.instance;if(T.length)T.css("top",this.options.displayTop(!0));else{var T=x.default('<div class="toplineOfPosition id'+this.id+'" style="position: absolute; width: 100%;"></div>');T.css("top",this.options.displayTop(!0)),T.css("width",r.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(T)}if(P.showPosition)if(this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!0),S.length)S.toggleClass("topPosition-lineMode",P.positionLineMode),S.text(this.options.posTop()+(P.positionUnit?"pt":"")),S.css("top",this.options.posTop()-S.height()+"pt"),P.positionLineMode?S.css("left",this.options.posLeft()-S.width()/2+"pt"):S.css("left",this.options.posLeft()+2+"pt");else{var S=x.default('<div class="topPosition id'+this.id+'" style="position: absolute;"></div>');S.toggleClass("topPosition-lineMode",P.positionLineMode),S.text(this.options.posTop()+(P.positionUnit?"pt":"")),P.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(D.length)D.css("left",this.options.displayLeft(!0));else{var o=x.default('<div class="leftlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');o.css("left",this.options.displayLeft(!0)),o.css("height",r.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(o)}if(P.showPosition)if(H.length)H.text(this.options.posLeft()+(P.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",P.positionLineMode),H.css("left",this.options.posLeft()-H.width()+"pt"),P.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt");else{var H=x.default('<div class="leftPosition id'+this.id+'" style="position: absolute;"></div>');H.text(this.options.posLeft()+(P.positionUnit?"pt":"")),H.toggleClass("leftPosition-lineMode",P.positionLineMode),P.positionLineMode?H.css("top",this.options.posTop()-H.height()/3+"pt"):H.css("top",this.options.posTop()+2+"pt"),this.designTarget.parents(".hiprint-printPaper-content").append(H),H.css("left",this.options.posLeft()-H.width()+"pt")}if(j.length)j.css("left",this.options.getLeft()+this.options.getWidth()+"pt");else{var m=x.default('<div class="rightlineOfPosition id'+this.id+'" style="position: absolute;height: 100%;"></div>');m.css("left",this.options.getLeft()+this.options.getWidth()+"pt"),m.css("height",r.displayHeight()),this.designTarget.parents(".hiprint-printPaper-content").append(m)}if(v.length)v.css("top",this.options.getTop()+this.options.getHeight()+"pt");else{var a=x.default('<div class="bottomlineOfPosition id'+this.id+'" style="position: absolute;width: 100%;"></div>');a.css("top",this.options.getTop()+this.options.getHeight()+"pt"),a.css("width",r.displayWidth()),this.designTarget.parents(".hiprint-printPaper-content").append(a)}},N.prototype.removeLineOfPosition=function(){x.default(".toplineOfPosition.id"+this.id).remove(),x.default(".topPosition.id"+this.id).remove(),this.designTarget.find(".size-box")&&this.designTarget.find(".size-box").toggleClass("hide",!1),x.default(".leftlineOfPosition.id"+this.id).remove(),x.default(".leftPosition.id"+this.id).remove(),x.default(".rightlineOfPosition.id"+this.id).remove(),x.default(".bottomlineOfPosition.id"+this.id).remove()},N.prototype.getFontList=function(){var r=this.options.fontList;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getFontList())},N.prototype.getFields=function(){if(this.printElementType.type=="table")return this.options.tableFields;var r=this.options.fields;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getFields())},N.prototype.getOnImageChooseClick=function(){var r=this.options.onImageChooseClick;return r||(r=w.a.instance.getPrintTemplateById(this.templateId).getOnImageChooseClick())},N.prototype.bingCopyEvent=function(r){var T=this;r.keydown(function(S){if(T._editing&&!S.altKey&&S.keyCode==13){T.updateByContent();return}(S.ctrlKey||S.metaKey)&&S.keyCode==67&&(T.panel.copyJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==68&&(T.panel.copyJson(),T.panel.pasteJson(),S.preventDefault()),(S.ctrlKey||S.metaKey)&&S.keyCode==88&&(T.panel.cutJson(),S.preventDefault())})},N.prototype.clone=function(r){var T=this;let S=T.printElementType.createPrintElement();return Object.keys(T.options).forEach(function(D){S.options[D]=T.options[D]}),S},N.prototype.getFormatter=function(){var r=void 0;if(this.printElementType.formatter&&(r=this.printElementType.formatter),this.options.formatter)try{var T="formatter="+this.options.formatter;r=eval2(T)}catch(S){console.log(S)}return r},N.prototype.getStyler=function(){var r=void 0;if(this.printElementType.styler&&(r=this.printElementType.styler),this.options.styler)try{var T="fnstyler="+this.options.styler;r=eval2(T)}catch(S){console.log(S)}return r},N.prototype.bingKeyboardMoveEvent=function(r,T){var S=this,D=void 0,H=void 0;r.attr("tabindex","1"),r.keydown(function(j){if(j.target.tagName!="INPUT"&&!(S._editing&&!j.altKey)&&S.options.draggable!==!1){var v=S.panel.printElements.filter(function(a){return a.designTarget.children().last().css("display")=="block"&&!a.printElementType.type.includes("table")}),P=v.length>1,o=E.a.instance.movingDistance;switch(j.keyCode){case 8:case 46:var m=S.panel;P?v.forEach(function(a){m.deletePrintElement(a)}):m.deletePrintElement(S),I.a.event.trigger("clearSettingContainer");break;case 37:D=S.options.getLeft(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0-o,0)}):(S.updateSizeAndPositionOptions(D-o),r.css("left",S.options.displayLeft())),j.preventDefault();break;case 38:H=S.options.getTop(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0,0-o)}):(S.updateSizeAndPositionOptions(void 0,H-o),r.css("top",S.options.displayTop())),j.preventDefault();break;case 39:D=S.options.getLeft(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(o,0)}):(S.updateSizeAndPositionOptions(D+o),r.css("left",S.options.displayLeft())),j.preventDefault();break;case 40:H=S.options.getTop(),P?v.forEach(function(a){a.updatePositionByMultipleSelect(0,o)}):(S.updateSizeAndPositionOptions(void 0,H+o),r.css("top",S.options.displayTop())),j.preventDefault()}[37,38,39,40].includes(j.keyCode)&&I.a.event.trigger("hiprintTemplateDataChanged_"+S.templateId,"\u952E\u76D8\u79FB\u52A8")}})},N.prototype.inRect=function(r){var T=this.designPaper.scale||1,S=this.designTarget[0].offsetLeft,D=this.designTarget[0].offsetTop,H=this.designTarget[0].offsetHeight,j=this.designTarget[0].offsetWidth,v=S+j,P=D+H,o=x.default(r.target[0]).position().left/T,m=x.default(r.target[0]).position().top/T,a=r.target[0].offsetHeight,c=r.target[0].offsetWidth,h=o+c,M=m+a;return o<v&&h>S&&D<M&&P>m},N.prototype.multipleSelect=function(r){r?this.designTarget.addClass("multipleSelect"):this.designTarget.removeClass("multipleSelect")},N.prototype.updatePositionByMultipleSelect=function(r,T){this.options.draggable!==!1&&(this.updateSizeAndPositionOptions(r+this.options.getLeft(),T+this.options.getTop()),this.designTarget.css("left",this.options.displayLeft()),this.designTarget.css("top",this.options.displayTop()))},N}()},function($,F,g){var W=function(){function j(){}return j.prototype.init=function(v){this.target=x.default('<input type="text" class="hitable-editor-text" value="" />'),v.getTarget().append(this.target),this.target.focus()},j.prototype.getValue=function(){return this.target.val()},j.prototype.setValue=function(v){this.target.val(v)},j.prototype.destroy=function(){this.target.remove()},j}(),E=function(){function j(){this.text=new W}return Object.defineProperty(j,"Instance",{get:function(){return j._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j}(),b=function(){function j(){}return j.prototype.init=function(v,P){var o=`<select class="auto-submit" style="width:100%">
|
|
6
|
+
<option value="" disabled>\u8BF7\u9009\u62E9\u5B57\u6BB5</option>`;v.forEach(function(m,a){m.field==P.field?o+=' <option value="'+(m.field||"")+'" selected >'+(m.text||"")+"</option>":o+=' <option value="'+(m.field||"")+'" >'+(m.text||"")+"</option>"}),o+=" </select>",this.target=x.default(o),P.getTarget().append(this.target),this.target.focus()},j.prototype.getValue=function(){var v=this.target.val(),P=this.target.find('option[value="'+v+'"]').text();return P+"#"+v},j.prototype.setValue=function(v){v&&(this.target.find('option[value="'+v+'"]').length||this.target.find("select").prepend('<option value="'+v+'" >'+v+"</option>")),this.target.find("select").val(v)},j.prototype.destroy=function(){this.target.remove()},j}(),l=function(){function j(){this.select=new b}return Object.defineProperty(j,"Instance",{get:function(){return j._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j}(),I=function(){function j(){}return Object.defineProperty(j,"Instance",{get:function(){return E._instance||(j._instance=new j),j._instance},enumerable:!0,configurable:!0}),j.prototype.createEditor=function(v){return x.default.extend({},E.Instance[v])},j.prototype.createSelect=function(v){return x.default.extend({},l.Instance[v])},j}(),s=g(10),w=g(14),C=g(11),N=function(){function j(){}return j.prototype.init=function(v,P){var o=this;this.tableOptions=P,this.title=v.title,this.field=v.field,v.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){v.isEditing=!0,o.beginEdit(v)})},j.prototype.getDisplayHtml=function(){return this.title},j.prototype.beginEdit=function(v){var P=this;P.tableOptions.options.fields&&P.tableOptions.options.fields.length?(this.editor=I.Instance.createSelect("select"),v.getTarget().html(""),this.editor.init(P.tableOptions.options.fields,v),this.editor.setValue(this.field||""),x.default(this.editor.target).keydown(function(o){o.keyCode==13&&P.endEdit(v)}),x.default(this.editor.target).change(function(o){P.endEdit(v)}),x.default(this.editor.target).blur(function(o){P.endEdit(v)})):(this.editor=I.Instance.createEditor("text"),v.getTarget().html(""),this.editor.init(v),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),x.default(this.editor.target).keydown(function(o){o.keyCode==13&&P.endEdit(v)}),x.default(this.editor.target).blur(function(o){P.endEdit(v)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=v.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=v)},j.prototype.endEdit=function(v){v.isEditing=0;var P=this.editor.getValue();if(P)if(this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields){var o=P.split("#");v.title=this.title=o[0],o.length>0&&(v.columnId=v.field=this.field=o[1]),v.id&&v.target.attr("id",v.id),v.columnId&&v.target.attr("column-id",v.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"\u8C03\u6574\u8868\u683C\u5217\u5B57\u6BB5")}else v.title=this.title=P;else this.tableOptions.options.isEnableEditField?(v.title=this.title="",v.field=this.field=""):v.title=this.title="";this.editor.destroy(),v.getTarget().html(this.title)},j}(),r=function(){return function(j){this.title=j.title,this.field=j.field,this.width=j.width,this.align=j.align,this.halign=j.halign,this.vAlign=j.vAlign,this.colspan=j.colspan,this.rowspan=j.rowspan,this.checked=j.checked,this.columnId=j.columnId,this.tableSummaryTitle=j.tableSummaryTitle,this.tableSummaryText=j.tableSummaryText,this.tableSummary=j.tableSummary,this.tableSummaryAlign=j.tableSummaryAlign,this.tableSummaryNumFormat=j.tableSummaryNumFormat,this.upperCase=j.upperCase,this.renderFormatter=j.renderFormatter&&j.renderFormatter.toString(),this.formatter2=j.formatter2&&j.formatter2.toString(),this.styler2=j.styler2&&j.styler2.toString(),this.stylerHeader=j.stylerHeader&&j.stylerHeader.toString(),this.tableColumnHeight=j.tableColumnHeight,this.tableTextType=j.tableTextType,this.tableBarcodeMode=j.tableBarcodeMode,this.tableQRCodeLevel=j.tableQRCodeLevel}}(),T=function(){function j(){this.id=C.a.createId()}return j.prototype.init=function(v,P,o,m){this.isHead=m,this.rowId=o,this.isEditing=!1;var a=/^[0-9]*$/;this.target=v,this.tableOptions=P;var c=this.target.attr("colspan");this.colspan=a.test(c)?parseInt(c):1;var h=this.target.attr("rowspan");this.rowspan=a.test(h)?parseInt(h):1,this.initEvent(),this.isHead&&this.initInnerEelement()},j.prototype.beginEdit=function(){if(!this.isEditing&&this.tableOptions.isEnableEdit&&this.tableOptions.onBeforEdit(this)){var v=this.getValue();this.editor=I.Instance.createEditor("text"),this.isEditing=!0,this.tableOptions.editingCell=this,this.target.html(""),this.editor.init(this),this.editor.setValue(v)}},j.prototype.endEdit=function(){this.isEditing=!1;var v=this.editor.getValue();this.editor.destroy(),this.target.html(v)},j.prototype.getTarget=function(){return this.target},j.prototype.getValue=function(){return this.target.html()},j.prototype.setValue=function(v){},j.prototype.initInnerEelement=function(){this.innerElement=new N,this.innerElement.init(this,this.tableOptions)},j.prototype.initEvent=function(){},j.prototype.isXYinCell=function(v,P){var o=new s.b({x:v,y:P,height:0,width:0});return this.isOverlap(o)},j.prototype.getTableRect=function(){return new s.b({x:this.target.offset().left,y:this.target.offset().top,height:this.target[0].offsetHeight,width:this.target[0].offsetWidth})},j.prototype.isOverlap=function(v){var P=this.getTableRect();return v.x+v.width>P.x&&P.x+P.width>v.x&&v.y+v.height>P.y&&P.y+P.height>v.y},j.prototype.isInRect=function(v){var P=v.rect,o=this.getTableRect();if(o.x>=P.x&&o.x+o.width<=P.x+P.width&&o.y>=P.y&&o.y+o.height<=P.y+P.height){var m=w.a.mergeRect(P,o);return JSON.stringify(P)==JSON.stringify(m)||(v.changed=!0,v.rect=m,!0)}return!1},j.prototype.isSelected=function(){return this.target.hasClass("selected")},j.prototype.select=function(){this.target.addClass("selected")},j.prototype.isHeader=function(){return!1},j.prototype.setAlign=function(v){this.align=v,v?this.target.css("text-align",v):this.target[0].style.textAlign=""},j.prototype.setVAlign=function(v){this.vAlign=v,v?this.target.css("vertical-align",v):this.target[0].style.verticalAlign=""},j.prototype.getEntity=function(){return new r(this)},j}();g.d(F,"a",function(){return H});var S,D=(S=function(v,P){return(S=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(o,m){o.__proto__=m}||function(o,m){for(var a in m)m.hasOwnProperty(a)&&(o[a]=m[a])})(v,P)},function(j,v){function P(){this.constructor=j}S(j,v),j.prototype=v===null?Object.create(v):(P.prototype=v.prototype,new P)}),H=function(j){function v(P){var o=this;return P=P||{},(o=j.call(this)||this).width=P.width?parseFloat(P.width.toString()):100,o.title=P.title,o.descTitle=P.descTitle,o.field=P.field,o.fixed=P.fixed,o.rowspan=P.rowspan?parseInt(P.rowspan):1,o.colspan=P.colspan?parseInt(P.colspan):1,o.align=P.align,o.halign=P.halign,o.vAlign=P.vAlign,o.formatter=P.formatter,o.styler=P.styler,o.renderFormatter=P.renderFormatter,o.formatter2=P.formatter2,o.styler2=P.styler2,o.stylerHeader=P.stylerHeader,o.checkbox=P.checkbox,o.checked=P.checked!=0,o.columnId=P.columnId||P.field,o.tableColumnHeight=P.tableColumnHeight,o.tableTextType=P.tableTextType,o.tableBarcodeMode=P.tableBarcodeMode,o.tableQRCodeLevel=P.tableQRCodeLevel,this.tableSummaryTitle=P.tableSummaryTitle,this.tableSummaryText=P.tableSummaryText,o.tableSummary=P.tableSummary,o.tableSummaryAlign=P.tableSummaryAlign,o.tableSummaryNumFormat=P.tableSummaryNumFormat,o.upperCase=P.upperCase,o}return D(v,j),v.prototype.css=function(P){},v}(T)},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(E){this.printLine=E.printLine,this.target=E.target,this.referenceElement=E.referenceElement}}()},function($,F,g){g.d(F,"a",function(){return b});var W=g(19),E=g(0),b=function(){function l(){}return l.createTableHead=function(I,s){for(var w=l.reconsitutionTableColumnTree(I),C=x.default("<thead></thead>"),N=l.getColumnsWidth(w,s),r=function(D){var H=x.default("<tr></tr>");w[D].filter(function(j){return j.checked}).forEach(function(j){var v=x.default("<td></td>");j.id&&v.attr("id",j.id),j.columnId&&v.attr("column-id",j.columnId),(j.align||j.halign)&&v.css("text-align",j.halign||j.align),j.vAlign&&v.css("vertical-align",j.vAlign),j.colspan>1&&v.attr("colspan",j.colspan),j.rowspan>1&&v.attr("rowspan",j.rowspan),v.html(j.title),N[j.id]?(j.hasWidth=!0,j.targetWidth=N[j.id],v.attr("haswidth","haswidth"),v.css("width",N[j.id]+"pt")):j.hasWidth=!1;var P=l.getHeaderStyler(j);if(P){var o=P(j);o&&Object.keys(o).forEach(function(m){v.css(m,o[m])})}H.append(v)}),C.append(H)},T=0;T<w.totalLayer;T++)r(T);return l.syncTargetWidthToOption(I),C},l.createTableFooter=function(I,s,w,C,N,r){var T=x.default("<tfoot></tfoot>"),S=this.getFooterFormatter(w,C),D=this.tableSummaryTitle;let H=w.tableFooterRepeat=="last"?s:r,j=w.columns.length-1;var v=this.rowColumns||w.columns[j].columns;if(w.tableFooterRepeat!="no"&&v.some(function(o){return o.tableSummary})){var P=x.default("<tr></tr>");v.filter(function(o){return o.checked}).forEach(function(o){var m=H.filter(function(R){return R&&R[o.field]}).map(function(R){return new RegExp("^-?(0|[1-9]\\d*)(\\.\\d+)?").test(R[o.field])?Number(R[o.field]):0}),a=o.tableSummaryText,c=o.tableSummaryNumFormat||2,h=o.upperCase;let{toUpperCase:M,numFormat:u}=E.a;switch(o.tableSummary){case"count":var Y=D(o,a||"\u8BA1\u6570:",N),d=M(h,H.length||0);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${d}</td>`);break;case"sum":var A=parseFloat(Number(m.reduce(function(R,V){return R+V},0)));A=M(h,u(A,c));var Y=D(o,a||"\u5408\u8BA1:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${A}</td>`);break;case"avg":var A=parseFloat(Number(m.reduce(function(R,V){return R+V},0))),Z=parseFloat(Number(A/(m.length||1)));Z=M(h,u(Z,c));var Y=D(o,a||"\u5E73\u5747\u503C:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${Z}</td>`);break;case"min":var L=Math.min(...m);L=M(h,u(L,c));var Y=D(o,a||"\u6700\u5C0F\u503C:",N);P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${L||0}</td>`);break;case"max":var J=Math.max(...m),Y=D(o,a||"\u6700\u5927\u503C:",N);J=M(h,u(J,c)),P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${Y}${J||0}</td>`);break;case"text":P.append(`<td style="text-align: ${o.tableSummaryAlign||"center"}">${a||""}</td>`);break;default:P.append("<td></td>");break}}),T.append(P)}return S&&T.append(S(w,s,N,r)),T},l.tableSummaryTitle=function(I,s,w){var C=I.tableSummaryTitle==null||I.tableSummaryTitle==!0;return C?`${s}`:w?"":`<span style="color:firebrick">${s}</span>`},l.createTableRow=function(I,s,w,C){var N=this,r=l.reconsitutionTableColumnTree(I),T=x.default("<tbody></tbody>"),S=N.getGroupFieldsFormatter(w,C),D=S?w.groupFields=S(C,w,s):C.groupFields?C.groupFields:[];return s||(s=[]),D.length?E.a.groupBy(s,D,function(H){var j={};return D.forEach(function(v){return j[v]=H[v]}),j}).forEach(function(H){var j=N.getGroupFormatter(w,C);if(j){var v=x.default("<tr><td colspan="+r.colspan+"></td></tr>");v.find("td").append(j(H,w)),T.append(v)}var P=N.getGroupFooterFormatter(w,C);if(H.rows.forEach(function(m,a){var c=l.createRowTarget(r,m,w,C,a);T.append(c)}),P){var o=x.default("<tr><td colspan="+r.colspan+"></td></tr>");o.find("td").append(P(H,w)),T.append(o)}}):s.forEach(function(H,j){var v=l.createRowTarget(r,H,w,C,j);T.append(v)}),T},l.createRowTarget=function(I,s,w,C,N){var r=x.default("<tr></tr>"),T=I.rowColumns.filter(function(H){return H.checked});r.data("rowData",s),I.rowColumns.filter(function(H){return H.checked}).forEach(function(H,j){if(!!H.checked){var v="";if(w.rowsColumnsMerge){v=eval2("rowsColumnsMerge="+w.rowsColumnsMerge);var P=v(s,H,j,N)||[1,1],o=x.default(`<td style = 'display:${P[0]&&P[1]?"":"none"}' rowspan = '${P[0]}' colspan = '${P[1]}'></td>`)}else var o=x.default("<td></td>");if(s&&Object.keys(s).length>0&&(w.tableHeaderRepeat=="first"||w.tableHeaderRepeat=="none")){if(H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign),w.rowsColumnsMerge&&P[1]>1){var m=0;T.forEach((L,J)=>{J>=j&&J<j+P[1]&&(m+=L.width)})}o.css("width",(m||H.width)+"pt")}else H.field&&o.attr("field",H.field),H.align&&o.css("text-align",H.align),H.vAlign&&o.css("vertical-align",H.vAlign);var a=l.getColumnFormatter(H),c=a?a(s[H.field],s,j,w):s[H.field],h=l.getColumnRenderFormatter(H);if(h)o.html(h(s[H.field],s,j,w));else if(H.tableTextType=="text"||H.tableTextType==null)o.html(c);else{if(H.tableTextType=="barcode"){o.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{c?(Qt.default(o.find(".hibarcode_imgcode")[0],c,{format:H.tableBarcodeMode||"CODE128A",width:1,textMargin:-1,lineColor:"#000000",margin:0,height:parseInt(10),displayValue:!1}),o.find(".hibarcode_imgcode").attr("height",H.tableColumnHeight||30+"pt"),o.find(".hibarcode_imgcode").css("margin","5pt 10pt"),o.find(".hibarcode_imgcode").attr("width","calc(100% - 20pt)")):o.html("")}catch(L){console.log(L),o.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(H.tableTextType=="image"&&(o.html(""),c)){var M=x.default('<div><img style = "max-width:100%;max-height:100%"/></div>');M.find("img").attr("src",c),console.log(M.find("img").css("width")),o.html(M)}if(H.tableTextType=="qrcode"){o.html("");try{var u=x.default("<div></div>");if(c){var d=parseInt(H.width||H.targetWidth||20),A=parseInt(H.tableColumnHeight||20);u.css("height",(d>A?A:d)+"pt"),new QRCode(u[0],{width:d>A?A:d,height:d>A?A:d,colorDark:"#000000",useSVG:!0,correctLevel:H.tableQRCodeLevel||0}).makeCode(c),o.html(u)}}catch(L){console.log(L),o.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}H.tableTextType==="sequence"&&o.html(N+1)}var Z=l.getColumnStyler(H);if(Z){var d=Z(s[H.field],s,j,w);d&&Object.keys(d).forEach(function(J){o.css(J,d[J])})}r.append(o)}});var S=l.getRowStyler(w,C);if(S){var D=S(s,w);D&&Object.keys(D).forEach(function(H){r.css(H,D[H])})}return r},l.createEmptyRowTarget=function(I,s){var w=l.reconsitutionTableColumnTree(I),C=x.default("<tr></tr>");return w.rowColumns.filter(function(N){return N.checked}).forEach(function(N,r){var T=x.default("<td></td>");N.field&&T.attr("field",N.field),N.align&&T.css("text-align",N.align),N.vAlign&&T.css("vertical-align",N.vAlign),C.append(T)}),s&&s.options.tableBodyRowHeight&&C.find("td:not([rowspan])").css("height",s.options.tableBodyRowHeight+"pt"),C},l.getColumnsWidth=function(I,s){var w={},C=l.allAutoWidth(I),N=l.allFixedWidth(I);return I.rowColumns.filter(function(r){return r.checked}).forEach(function(r){if(r.fixed)w[r.id]=r.width;else{var T=s-N,S=r.width/C*(T>0?T:0);w[r.id]=S}}),w},l.resizeTableCellWidth=function(I,s,w){var C=l.reconsitutionTableColumnTree(s),N=l.getColumnsWidth(C,w);I.find("thead tr td[haswidth]").map(function(r,T){var S=x.default(T).attr("id"),D=N[S];x.default(T).css("width",D+"pt")})},l.allAutoWidth=function(I){var s=0,w={};return I.rowColumns.filter(function(C){return C.checked}).forEach(function(C){w[C.id]?w[C.id]=0:w[C.id]=C.width,s+=C.fixed?0:w[C.id]}),s},l.allFixedWidth=function(I){var s=0,w={};return I.rowColumns.filter(function(C){return C.checked}).forEach(function(C){w[C.id]?w[C.id]=0:w[C.id]=C.width,s+=C.fixed?w[C.id]:0}),s},l.reconsitutionTableColumnTree=function(I,s,w){var C=s||new W.a;C.colspan=0;for(var N=function(S){C.totalLayer=S+1,C[S]=I[S].columns,S==0&&I[S].columns.forEach(function(D){S==0&&(C.colspan+=D.colspan)})},r=0;r<I.length;r++)N(r);return C.rowColumns=l.getOrderdColumns(C),C},l.syncTargetWidthToOption=function(I){I.forEach(function(s){s.columns.forEach(function(w){w.hasWidth&&(w.width=w.targetWidth)})})},l.getGroupFieldsFormatter=function(I,s){var w=void 0;if(s.groupFields&&s.groupFields.length){var C=typeof s.groupFields=="string"?s.groupFields:JSON.stringify(s.groupFields);I.groupFieldsFormatter="function(groupData,options){ return "+C+" }"}if(s.groupFieldsFormatter&&(w=s.groupFieldsFormatter),I.groupFieldsFormatter)try{var N="groupFieldsFormatter="+I.groupFieldsFormatter;w=eval2(N)}catch(r){console.log(r)}return w},l.getGroupFormatter=function(I,s){var w=void 0;if(s.groupFormatter&&(w=s.groupFormatter),I.groupFormatter)try{var C="groupFormatter="+I.groupFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getGroupFooterFormatter=function(I,s){var w=void 0;if(s.groupFooterFormatter&&(w=s.groupFooterFormatter),I.groupFooterFormatter)try{var C="groupFooterFormatter="+I.groupFooterFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getFooterFormatter=function(I,s){var w=void 0;if(s.footerFormatter&&(w=s.footerFormatter),I.footerFormatter)try{var C="footerFormatter="+I.footerFormatter;w=eval2(C)}catch(N){console.log(N)}return w},l.getRowStyler=function(I,s){var w=void 0;if(s.rowStyler&&(w=s.rowStyler),I.rowStyler)try{var C="rowStyler="+I.rowStyler;w=eval2(C)}catch(N){console.log(N)}return w},l.getColumnStyler=function(I){var s=void 0;if(I.styler&&(s=I.styler),I.styler2)try{var w="styler="+I.styler2;s=eval2(w)}catch(C){console.log(C)}return s},l.getHeaderStyler=function(I){var s=void 0;if(I.stylerHeader&&(s=I.stylerHeader),I.stylerHeader)try{var w="stylerHeader="+I.stylerHeader;s=eval2(w)}catch(C){console.log(C)}return s},l.getColumnRenderFormatter=function(I){var s=void 0;if(I.renderFormatter&&(s=I.renderFormatter),I.renderFormatter)try{var w="renderFormatter="+I.renderFormatter;s=eval2(w)}catch(C){console.log(C)}return s},l.getColumnFormatter=function(I){var s=void 0;if(I.formatter&&(s=I.formatter),I.formatter2)try{var w="formatter="+I.formatter2;s=eval2(w)}catch(C){console.log(C)}return s},l.getOrderdColumns=function(I){let s={};for(let C=0;C<I.totalLayer;C++)s[C]=[],I[C].forEach((N,r)=>{s[C].push(...new Array(N.colspan).fill({...N,colspan:1}))});for(let C=0;C<I.totalLayer;C++)s[C].forEach((N,r)=>{for(let T=1;T<N.rowspan;T++)s[C+T].splice(r,0,{...N,rowspan:1})});let w=[];for(let C=0;C<I.totalLayer;C++)C>=I.totalLayer-1?s[C].forEach((N,r)=>{N.field||(N.field=w[r])}):s[C].forEach((N,r)=>{C==0?w.push(N.field||""):N.field&&(w[r]=N.field)});return this.rowColumns=s[I.totalLayer-1],s[I.totalLayer-1]},l}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(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 E.prototype.isPositionLeftOrRight=function(b){return this.top<=b&&this.top+this.height>b},E}()},function($,F,g){var W=function(){function n(){this.name="lineHeight"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("line-height",B+"pt"),"line-height:"+B+"pt";e[0].style.lineHeight=""}return null},n.prototype.createTarget=function(){return this.target=x.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,7 +53,7 @@
|
|
|
53
53
|
<option value="36" >36pt</option>
|
|
54
54
|
</select>
|
|
55
55
|
</div>
|
|
56
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
56
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),E=function(){function n(){this.name="fontFamily"}return n.prototype.createTarget=function(e){var B=void 0;if(e&&(B=e.getFontList()),B){var Q=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
57
57
|
<div class="hiprint-option-item-label">
|
|
58
58
|
\u5B57\u4F53
|
|
59
59
|
</div>
|
|
@@ -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},n.prototype.css=function(
|
|
75
|
+
</div>`);return this.target},n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("font-family",B),"font-family:"+B;e[0].style.fontFamily="inherit"}return null},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),b=function(){function n(){this.name="fontSize"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("font-size",B+"pt"),"font-size:"+B+"pt";e[0].style.fontSize=""}return null},n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){var
|
|
106
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),l=function(){function n(){this.name="fontWeight"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("font-weight",B),"font-weight:"+B;e[0].style.fontWeight=""}return null},n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){var
|
|
127
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),I=function(){function n(){this.name="letterSpacing"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("letter-spacing",B+"pt"),"letter-spacing:"+B+"pt";e[0].style.letterSpacing=""}return null},n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){var
|
|
152
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),s=function(){function n(){this.name="textAlign"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("text-align",B),B=="justify"?(e.css("text-align-last","justify"),e.css("text-justify","distribute-all-lines")):(e[0].style.textAlignLast="",e[0].style.textJustify=""),"text-align:"+B;e[0].style.textAlign="",e[0].style.textAlignLast="",e[0].style.textJustify=""}return null},n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){var
|
|
165
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),w=function(){function n(){this.name="hideTitle"}return n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
176
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),C=function(){function n(){this.name="tableBorder"}return n.prototype.css=function(e,B){if(e.find("table").length){if(B=="border"||B==null)return e.find("table").css("border","1px solid"),"border:1px solid";B=="noBorder"?e.find("table").css("border","0px solid"):e.find("table")[0].style.border=""}return null},n.prototype.createTarget=function(){return this.target=x.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},n.prototype.getValue=function(){var
|
|
187
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),N=function(){function n(){this.name="tableHeaderBorder"}return n.prototype.css=function(e,B){if(e.find("thead tr").length){if(B=="border"||B==null)return e.find("thead tr").css("border","1px solid"),"border:1pt solid";B=="noBorder"?e.find("thead tr").css("border","0px solid"):B=="topBorder"?(e.find("thead tr").css("border","0px solid"),e.find("thead tr").css("border-top","1px solid")):B=="bottomBorder"?(e.find("thead tr").css("border","0px solid"),e.find("thead tr").css("border-bottom","1px solid")):B=="topBottomBorder"?(e.find("thead tr").css("border","0px solid"),e.find("thead tr").css("border-top","1px solid"),e.find("thead tr").css("border-bottom","1px solid")):e.find("thead tr").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.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>
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
199
199
|
</select>
|
|
200
200
|
</div>
|
|
201
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
201
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),r=function(){function n(){this.name="tableHeaderCellBorder"}return n.prototype.css=function(e,B){if(e.find("thead tr td").length){if(B=="border"||B==null)return e.find("thead tr td").css("border","1px solid"),"border:1px solid";B=="noBorder"?e.find("thead tr td").css("border","0px solid"):e.find("thead tr td").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
202
202
|
<div class="hiprint-option-item-label">
|
|
203
203
|
\u8868\u5934\u5355\u5143\u683C\u8FB9\u6846
|
|
204
204
|
</div>
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
|
|
211
211
|
</select>
|
|
212
212
|
</div>
|
|
213
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
213
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),T=function(){function n(){this.name="tableFooterBorder"}return n.prototype.css=function(e,B){if(e.find("tfoot tr").length){if(B=="border"||B==null)return e.find("tfoot tr").css("border","1px solid"),"border:1pt solid";B=="noBorder"?e.find("tfoot tr").css("border","0px solid"):B=="topBorder"?(e.find("tfoot tr").css("border","0px solid"),e.find("tfoot tr").css("border-top","1px solid")):B=="bottomBorder"?(e.find("tfoot tr").css("border","0px solid"),e.find("tfoot tr").css("border-bottom","1px solid")):B=="topBottomBorder"?(e.find("tfoot tr").css("border","0px solid"),e.find("tfoot tr").css("border-top","1px solid"),e.find("tfoot tr").css("border-bottom","1px solid")):e.find("tfoot tr").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
214
214
|
<div class="hiprint-option-item-label">
|
|
215
215
|
\u8868\u5C3E\u8FB9\u6846
|
|
216
216
|
</div>
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
225
225
|
</select>
|
|
226
226
|
</div>
|
|
227
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
227
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),S=function(){function n(){this.name="tableFooterCellBorder"}return n.prototype.css=function(e,B){if(e.find("tfoot tr td").length){if(B=="border"||B==null)return e.find("tfoot tr td").css("border","1px solid"),"border:1px solid";B=="noBorder"?e.find("tfoot tr td").css("border","0px solid"):e.find("tfoot tr td").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
228
228
|
<div class="hiprint-option-item-label">
|
|
229
229
|
\u8868\u5C3E\u5355\u5143\u683C\u8FB9\u6846
|
|
230
230
|
</div>
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
|
|
237
237
|
</select>
|
|
238
238
|
</div>
|
|
239
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
239
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),D=function(){function n(){this.name="tableHeaderRowHeight"}return n.prototype.css=function(e,B){if(e.find("thead tr td").length){if(B)return e.find("thead tr td:not([rowspan])").css("height",B+"pt"),"height:"+B+"pt";e.find("thead tr td").map(function(Q,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
240
240
|
<div class="hiprint-option-item-label">
|
|
241
241
|
\u8868\u5934\u884C\u9AD8
|
|
242
242
|
</div>
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
<option value="36" >36pt</option>
|
|
288
288
|
</select>
|
|
289
289
|
</div>
|
|
290
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
290
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),H=function(){function n(){this.name="tableHeaderFontSize"}return n.prototype.css=function(e,B){if(e.find("thead").length){if(B)return e.find("thead").css("font-size",B+"pt"),"font-size:"+B+"pt";e.find("thead").map(function(Q,at){at.style.fontSize=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
291
291
|
<div class="hiprint-option-item-label">
|
|
292
292
|
\u8868\u5934\u5B57\u4F53\u5927\u5C0F
|
|
293
293
|
</div>
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
<option value="21.75" >21.75pt</option>
|
|
319
319
|
</select>
|
|
320
320
|
</div>
|
|
321
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
321
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),j=function(){function n(){this.name="tableHeaderFontWeight"}return n.prototype.css=function(e,B){if(e.find("thead").length){if(B)return e.find("thead tr td").css("font-weight",B),"font-weight:"+B;e.find("thead tr td").map(function(Q,at){at.style.fontWeight=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
322
322
|
<div class="hiprint-option-item-label">
|
|
323
323
|
\u8868\u5934\u5B57\u4F53\u7C97\u7EC6
|
|
324
324
|
</div>
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
<option value="900" >900</option>
|
|
340
340
|
</select>
|
|
341
341
|
</div>
|
|
342
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
342
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),v=function(){function n(){this.name="tableBodyCellBorder"}return n.prototype.css=function(e,B){if(e.find("tbody tr td").length){if(B=="border"||B==null)return e.find("tbody tr td").css("border","1px solid"),"border:1px solid";B=="noBorder"?e.find("tbody tr td").css("border","0px solid"):e.find("tbody tr td").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
343
343
|
<div class="hiprint-option-item-label">
|
|
344
344
|
\u8868\u4F53\u5355\u5143\u683C\u8FB9\u6846
|
|
345
345
|
</div>
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
<option value="noBorder" >\u65E0\u8FB9\u6846</option>
|
|
351
351
|
</select>
|
|
352
352
|
</div>
|
|
353
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
353
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),P=function(){function n(){this.name="tableBodyRowHeight"}return n.prototype.css=function(e,B){if(e.find("tbody tr td").length){if(B)return e.find("tbody tr td").css("height",B+"pt"),"height:"+B+"pt";e.find("tbody tr td").map(function(Q,at){at.style.height=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
354
354
|
<div class="hiprint-option-item-label">
|
|
355
355
|
\u8868\u4F53\u884C\u9AD8
|
|
356
356
|
</div>
|
|
@@ -400,14 +400,14 @@
|
|
|
400
400
|
<option value="36" >36pt</option>
|
|
401
401
|
</select>
|
|
402
402
|
</div>
|
|
403
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
403
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),o=function(){function n(){this.name="tableHeaderBackground"}return n.prototype.css=function(e,B){if(e.find("thead").length){if(B)return e.find("thead").css("background",B),"background:"+B;e.find("thead").map(function(Q,at){at.style.background=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
404
404
|
<div class="hiprint-option-item-label">
|
|
405
405
|
\u8868\u5934\u80CC\u666F
|
|
406
406
|
</div>
|
|
407
407
|
<div class="hiprint-option-item-field">
|
|
408
408
|
<input type="text" class="auto-submit" />
|
|
409
409
|
</div>
|
|
410
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
410
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),m=function(){function n(){this.name="borderWidth"}return n.prototype.createTarget=function(e){var B=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u7EBF\u5BBD":"\u8FB9\u6846\u5927\u5C0F";return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
411
411
|
<div class="hiprint-option-item-label">
|
|
412
412
|
`+B+`
|
|
413
413
|
</div>
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
<option value="6.75" >6.75pt</option>
|
|
426
426
|
</select>
|
|
427
427
|
</div>
|
|
428
|
-
</div>`),this.target},n.prototype.css=function(
|
|
428
|
+
</div>`),this.target},n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-width",B+"pt"),"border-width:"+B+"pt";e[0].style.borderWidth=""}return null},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),a=function(){function n(){this.name="barcodeMode"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
429
429
|
<div class="hiprint-option-item-label">
|
|
430
430
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
431
431
|
</div>
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
<option value="Pharmacode" >Pharmacode</option>
|
|
452
452
|
</select>
|
|
453
453
|
</div>
|
|
454
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
454
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),c=function(){function n(){this.name="qrCodeLevel"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
455
455
|
<div class="hiprint-option-item-label">
|
|
456
456
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
457
457
|
</div>
|
|
@@ -464,14 +464,14 @@
|
|
|
464
464
|
<option value="2" >30% H</option>
|
|
465
465
|
</select>
|
|
466
466
|
</div>
|
|
467
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
467
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),h=function(){function n(){this.name="color"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("color",B),"color:"+B;e[0].style.color=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
468
468
|
<div class="hiprint-option-item-label">
|
|
469
469
|
\u5B57\u4F53\u989C\u8272
|
|
470
470
|
</div>
|
|
471
471
|
<div class="hiprint-option-item-field">
|
|
472
472
|
<input type="text" class="auto-submit"/>
|
|
473
473
|
</div>
|
|
474
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
474
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),M=function(){function n(){this.name="textDecoration"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
475
475
|
<div class="hiprint-option-item-label">
|
|
476
476
|
\u6587\u672C\u4FEE\u9970
|
|
477
477
|
</div>
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
|
|
485
485
|
</select>
|
|
486
486
|
</div>
|
|
487
|
-
</div>`),this.target},n.prototype.css=function(
|
|
487
|
+
</div>`),this.target},n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("text-decoration",B),"text-decoration:"+B;e[0].style.textDecoration=""}return null},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),u=function(){function n(){this.name="field"}return n.prototype.createTarget=function(e){var B=void 0;if(e&&(B=e.getFields()),B){this.isSelect=!0;var Q=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
488
488
|
<div class="hiprint-option-item-label">
|
|
489
489
|
\u5B57\u6BB5\u540D
|
|
490
490
|
</div>
|
|
@@ -499,40 +499,40 @@
|
|
|
499
499
|
<div class="hiprint-option-item-field">
|
|
500
500
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D" class="auto-submit">
|
|
501
501
|
</div>
|
|
502
|
-
</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(
|
|
502
|
+
</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(e){this.isSelect?e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>"),this.target.find("select").val(e)):this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),d=function(){function n(){this.name="title"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
503
503
|
<div class="hiprint-option-item-label">
|
|
504
504
|
\u6807\u9898
|
|
505
505
|
</div>
|
|
506
506
|
<div class="hiprint-option-item-field">
|
|
507
507
|
<textarea style="height:50px;" placeholder="\u8BF7\u8F93\u5165\u6807\u9898" class="auto-submit"></textarea>
|
|
508
508
|
</div>
|
|
509
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
509
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),A=function(){function n(){this.name="testData"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
510
510
|
<div class="hiprint-option-item-label">
|
|
511
511
|
\u6D4B\u8BD5\u6570\u636E
|
|
512
512
|
</div>
|
|
513
513
|
<div class="hiprint-option-item-field">
|
|
514
514
|
<input type="text" placeholder="\u4EC5\u5B57\u6BB5\u540D\u79F0\u5B58\u5728\u65F6\u6709\u6548" class="auto-submit" >
|
|
515
515
|
</div>
|
|
516
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
516
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Z=function(){function n(){this.name="coordinate"}return n.prototype.createTarget=function(e,B){var Q=this;return Q.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
517
517
|
\u4F4D\u7F6E\u5750\u6807
|
|
518
518
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
519
519
|
<input type="number" style="width:48%" placeholder="X\u4F4D\u7F6E(\u5DE6)" class="auto-submit" />
|
|
520
520
|
<input type="number" style="width:48%" placeholder="Y\u4F4D\u7F6E(\u4E0A)" class="auto-submit" />
|
|
521
521
|
</div>
|
|
522
|
-
</div>`),Q.syncLock=B.coordinateSync||!1,Q.createSyncLock(Q.syncLock),Q.target},n.prototype.createSyncLock=function(
|
|
522
|
+
</div>`),Q.syncLock=B.coordinateSync||!1,Q.createSyncLock(Q.syncLock),Q.target},n.prototype.createSyncLock=function(e){var B=this;return B.lockTarget=B.syncLock?x.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):x.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),B.lockTarget.click(function(){B.syncLock?B.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):B.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),B.syncLock=!B.syncLock}),B.target.find("input:first").after(B.lockTarget),B.target.find("input:first").change(function(){B.syncLock&&B.target.find("input:last").val(x.default(this).val())}),B.target.find("input:last").change(function(){B.syncLock&&B.target.find("input:first").val(x.default(this).val())}),B.lockTarget},n.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var B=this.getValue();return e.css("left",B.left+"pt").css("top",B.top+"pt")}return null},n.prototype.getValue=function(){var e={coordinateSync:this.syncLock,left:0,top:0};return e.left=parseFloat(this.target.find("input:first").val()||0),e.top=parseFloat(this.target.find("input:last").val()||0),e},n.prototype.setValue=function(e,B){this.el=B.designTarget||B,B.options.coordinate&&B.designTarget&&B.designTarget.css("left",B.options.left+"pt").css("top",B.options.top+"pt"),this.target.find("input:first").val(e.left),this.target.find("input:last").val(e.top)},n.prototype.destroy=function(){this.target.remove()},n}(),L=function(){function n(){this.name="widthHeight"}return n.prototype.createTarget=function(e,B){var Q=this;return Q.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">
|
|
523
523
|
\u5BBD\u9AD8\u5927\u5C0F
|
|
524
524
|
</div><div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
525
525
|
<input type="number" style="width:48%" placeholder="\u5BBD" class="auto-submit" />
|
|
526
526
|
<input type="number" style="width:48%" placeholder="\u9AD8" class="auto-submit" />
|
|
527
527
|
</div>
|
|
528
|
-
</div>`),Q.syncLock=B.widthHeightSync||!1,Q.createSyncLock(Q.syncLock),Q.target},n.prototype.createSyncLock=function(
|
|
528
|
+
</div>`),Q.syncLock=B.widthHeightSync||!1,Q.createSyncLock(Q.syncLock),Q.target},n.prototype.createSyncLock=function(e){var B=this;return B.lockTarget=B.syncLock?x.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u540C\u6B65">\u{1F517}</label>'):x.default('<label style="margin: 0 4px;text-align:center;width: 8%" title="\u4E0D\u540C\u6B65">\u{1F513}</label>'),B.lockTarget.click(function(){B.syncLock?B.lockTarget.text("\u{1F513}").attr("title","\u4E0D\u540C\u6B65"):B.lockTarget.text("\u{1F517}").attr("title","\u540C\u6B65"),B.syncLock=!B.syncLock}),B.target.find("input:first").after(B.lockTarget),B.target.find("input:first").change(function(){B.syncLock&&B.target.find("input:last").val(x.default(this).val())}),B.target.find("input:last").change(function(){B.syncLock&&B.target.find("input:first").val(x.default(this).val())}),B.lockTarget},n.prototype.css=function(e){if(e&&e.length&&this.target&&(e.find(".resize-panel").css("display")=="block"||e[0].className.includes("table"))&&this.el==e){var B=this.getValue();return e.css("width",B.width+"pt").css("height",B.height+"pt")}return null},n.prototype.getValue=function(){var e={widthHeightSync:this.syncLock,width:0,height:0};return e.width=parseFloat(this.target.find("input:first").val()||0),e.height=parseFloat(this.target.find("input:last").val()||0),e},n.prototype.setValue=function(e,B){this.el=B.designTarget||B,B.options.widthHeight&&B.designTarget&&B.designTarget.css("width",B.options.width+"pt").css("height",B.options.height+"pt"),this.target.find("input:first").val(e.width),this.target.find("input:last").val(e.height)},n.prototype.destroy=function(){this.target.remove()},n}(),J=function(){function n(){this.name="src"}return n.prototype.createTarget=function(e){this.el=e;var B=void 0,Q=this;return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
529
529
|
<div class="hiprint-option-item-label">
|
|
530
530
|
\u56FE\u7247\u5730\u5740
|
|
531
531
|
</div>
|
|
532
532
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|
533
533
|
<input type="text" placeholder="\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740" class="auto-submit" style="width:70%">
|
|
534
534
|
<button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">\u9009\u62E9</button> </div>
|
|
535
|
-
</div>`),
|
|
535
|
+
</div>`),e&&(B=e.getOnImageChooseClick()),B&&this.target.find("button").click(function(){B&&B(Q)}),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.refresh=function(e,B,Q){this.setValue(e),this.target.find("input").change();var at=this;if(this.el&&B){var Pt=new Image;Pt.src=e,Pt.complete?at.updateEl(Pt.width,Pt.height,B,Q):Pt.onload=function(){at.updateEl(Pt.width,Pt.height,B,Q)}}},n.prototype.updateEl=function(e,B,Q,at){if(Q){var Pt,Tt,ct;(Q||Q.auto)&&(e>=B?Q.width=!0:Q.height=!0),Q.width?(Pt=B/e,Tt=this.el.options.width,ct=Math.floor(Tt*Pt*10)/10,this.el.options.height=ct,this.el.designTarget.css("height",ct+"pt")):Q.height?(Pt=e/B,ct=this.el.options.height,Tt=Math.floor(ct*Pt*10)/10,this.el.options.width=Tt,this.el.designTarget.css("width",Tt+"pt")):Q.real&&(Tt=hinnn.px.toPt(e),ct=hinnn.px.toPt(B),this.el.options.width=Tt,this.el.options.height=ct,this.el.designTarget.css("width",Tt+"pt"),this.el.designTarget.css("height",ct+"pt")),this.el.designTarget.children(".resize-panel").trigger(x.default.Event("click"))}else at&&at(this.el,e,B)},n.prototype.destroy=function(){this.target.remove()},n}(),Y=function(){function n(){this.name="fit"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.find("img").css("object-fit",B),"object-fit:"+B;e.find("img")[0].style["object-fit"]=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
536
536
|
<div class="hiprint-option-item-label">
|
|
537
537
|
\u56FE\u7247\u7F29\u653E
|
|
538
538
|
</div>
|
|
@@ -545,23 +545,23 @@
|
|
|
545
545
|
<option value="none" >\u539F\u59CB\u5C3A\u5BF8</option>
|
|
546
546
|
</select>
|
|
547
547
|
</div>
|
|
548
|
-
</div>`),this.target,this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(
|
|
548
|
+
</div>`),this.target,this.target},n.prototype.getValue=function(){return this.target.find("select").val()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),R=function(){function n(){this.name="borderColor"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-color",B),"border-color:"+B;e[0].style.borderColor=""}return null},n.prototype.createTarget=function(e){var B=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u989C\u8272":"\u8FB9\u6846\u989C\u8272";return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
549
549
|
<div class="hiprint-option-item-label">
|
|
550
550
|
`+B+`
|
|
551
551
|
</div>
|
|
552
552
|
<div class="hiprint-option-item-field">
|
|
553
553
|
<input type="text" class="auto-submit" />
|
|
554
554
|
</div>
|
|
555
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
556
|
-
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return
|
|
557
|
-
<option value="`+Q+'">'+Q+"</option>"}),this.format=x.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(x.default(B)),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
|
|
555
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),V=function(){function n(){this.name="watermarkOptions"}return n.prototype.createTarget=function(){this.target=x.default(' <div class="hiprint-option-item"><div class="hiprint-option-item-label hiprint-option-title"> \u6C34\u5370\u529F\u80FD </div></div>'),this.content=x.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=x.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=x.default('<div class="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=x.default('<div class="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=x.default('<div class="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=x.default('<div class="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=x.default('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">\u6C34\u5370\u65F6\u95F4 </div><div class="hiprint-option-item-field"><input style="width:18px;height:18px;" type="checkbox" placeholder="\u6C34\u5370\u65F6\u95F4" class="auto-submit bt-checkbox"></div></div>');let e=["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"],B=`
|
|
556
|
+
<option value="" >\u9ED8\u8BA4(YYYY-MM-DD HH:mm)</option>`;return e.forEach(function(Q){B+=`
|
|
557
|
+
<option value="`+Q+'">'+Q+"</option>"}),this.format=x.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(x.default(B)),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 e={content:this.content.find("input").val(),fillStyle:this.fillStyle.find("input").val()||"rgba(184, 184, 184, 0.3)",fontSize:parseInt(this.fontSize.find("input").val()||"14")+"px",rotate:parseInt(this.rotate.find("input").val()||"25"),width:parseInt(this.width.find("input").val()||"200"),height:parseInt(this.height.find("input").val()||"200"),timestamp:this.timestamp.find("input").is(":checked"),format:this.format.find("select").val()==""?"YYYY-MM-DD HH:mm":this.format.find("select").val()};return Object.assign({},this.options,e)},n.prototype.setValue=function(e){this.options=e,this.content.find("input").val(e.content||""),this.fillStyle.find("input").val(e.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"}),this.fillStyle.parent().css({width:"100%"});const B=parseInt(e.fontSize||"14");this.fontSize.find("input").val(B),this.rotate.find("input").val(e.rotate||25),this.width.find("input").val(e.width||200),this.height.find("input").val(e.height||200),this.timestamp.find("input").attr("checked",e.timestamp==null?!1:e.timestamp),this.format.find("select").val(e.format||"YYYY-MM-DD HH:mm")},n.prototype.destroy=function(){this.target.remove()},n}(),q=function(){function n(){this.name="paperNumberFormat"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
558
558
|
<div class="hiprint-option-item-label">
|
|
559
559
|
\u9875\u7801\u683C\u5F0F
|
|
560
560
|
</div>
|
|
561
561
|
<div class="hiprint-option-item-field">
|
|
562
562
|
<input type="text" placeholder="\${paperNo}-\${paperCount}" class="auto-submit">
|
|
563
563
|
</div>
|
|
564
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
564
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),z=function(){function n(){this.name="paperNumberDisabled"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
565
565
|
<div class="hiprint-option-item-label">
|
|
566
566
|
\u663E\u793A\u9875\u7801
|
|
567
567
|
</div>
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
<option value="true" >\u9690\u85CF</option>
|
|
572
572
|
</select>
|
|
573
573
|
</div>
|
|
574
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
574
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),et=function(){function n(){this.name="longTextIndent"}return n.prototype.css=function(e,B){return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
575
575
|
<div class="hiprint-option-item-label">
|
|
576
576
|
\u6BCF\u884C\u7F29\u8FDB
|
|
577
577
|
</div>
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
<option value="36" >36pt</option>
|
|
622
622
|
</select>
|
|
623
623
|
</div>
|
|
624
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
624
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ot=function(){function n(){this.name="showInPage"}return n.prototype.css=function(e,B){if(e&&e.length){if(B&&B=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
625
625
|
<div class="hiprint-option-item-label">
|
|
626
626
|
\u663E\u793A\u89C4\u5219
|
|
627
627
|
</div>
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
<option value="last" >\u5C3E\u9875</option>
|
|
636
636
|
</select>
|
|
637
637
|
</div>
|
|
638
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
638
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),pt=function(){function n(){this.name="pageBreak"}return n.prototype.css=function(e,B){if(e&&e.length){if(B&&B=="none")return e.addClass("alwaysHide");e.removeClass("alwaysHide")}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
639
639
|
<div class="hiprint-option-item-label">
|
|
640
640
|
\u5F3A\u5236\u5206\u9875
|
|
641
641
|
</div>
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
<option value="true" >\u662F</option>
|
|
646
646
|
</select>
|
|
647
647
|
</div>
|
|
648
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
648
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),st=function(){function n(){this.name="panelPaperRule"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
649
649
|
<div class="hiprint-option-item-label">
|
|
650
650
|
\u6253\u5370\u89C4\u5219
|
|
651
651
|
</div>
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
<option value="even" >\u4FDD\u6301\u5076\u6570</option>
|
|
657
657
|
</select>
|
|
658
658
|
</div>
|
|
659
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
659
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ht=function(){function n(){this.name="panelPageRule"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
660
660
|
<div class="hiprint-option-item-label">
|
|
661
661
|
\u5206\u9875\u89C4\u5219
|
|
662
662
|
</div>
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
<option value="none" >\u4E0D\u5206\u9875</option>
|
|
667
667
|
</select>
|
|
668
668
|
</div>
|
|
669
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
669
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),mt=function(){function n(){this.name="leftSpaceRemoved"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
670
670
|
<div class="hiprint-option-item-label">
|
|
671
671
|
\u79FB\u9664\u6BB5\u843D\u5DE6\u4FA7\u7A7A\u767D
|
|
672
672
|
</div>
|
|
@@ -677,35 +677,35 @@
|
|
|
677
677
|
<option value="false" >\u4E0D\u79FB\u9664</option>
|
|
678
678
|
</select>
|
|
679
679
|
</div>
|
|
680
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},n.prototype.setValue=function(
|
|
680
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),ut=function(){function n(){this.name="firstPaperFooter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
681
681
|
<div class="hiprint-option-item-label">
|
|
682
682
|
\u9996\u9875\u9875\u5C3E
|
|
683
683
|
</div>
|
|
684
684
|
<div class="hiprint-option-item-field">
|
|
685
685
|
<input type="text" placeholder="\u9996\u9875\u9875\u5C3E" class="auto-submit">
|
|
686
686
|
</div>
|
|
687
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
687
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),bt=function(){function n(){this.name="lastPaperFooter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
688
688
|
<div class="hiprint-option-item-label">
|
|
689
689
|
\u5C3E\u9875\u9875\u5C3E
|
|
690
690
|
</div>
|
|
691
691
|
<div class="hiprint-option-item-field">
|
|
692
692
|
<input type="text" placeholder="\u5C3E\u9875\u9875\u5C3E" class="auto-submit">
|
|
693
693
|
</div>
|
|
694
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
694
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),dt=function(){function n(){this.name="evenPaperFooter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
695
695
|
<div class="hiprint-option-item-label">
|
|
696
696
|
\u5076\u6570\u9875\u9875\u5C3E
|
|
697
697
|
</div>
|
|
698
698
|
<div class="hiprint-option-item-field">
|
|
699
699
|
<input type="text" placeholder="\u5076\u6570\u9875\u9875\u5C3E" class="auto-submit">
|
|
700
700
|
</div>
|
|
701
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
701
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),lt=function(){function n(){this.name="oddPaperFooter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
702
702
|
<div class="hiprint-option-item-label">
|
|
703
703
|
\u5947\u6570\u9875\u9875\u5C3E
|
|
704
704
|
</div>
|
|
705
705
|
<div class="hiprint-option-item-field">
|
|
706
706
|
<input type="text" placeholder="\u5947\u6570\u9875\u9875\u5C3E" class="auto-submit" >
|
|
707
707
|
</div>
|
|
708
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
708
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),vt=function(){function n(){this.name="fixed"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
709
709
|
<div class="hiprint-option-item-label">
|
|
710
710
|
\u4F4D\u7F6E\u56FA\u5B9A
|
|
711
711
|
</div>
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
<option value="true" >\u662F</option>
|
|
717
717
|
</select>
|
|
718
718
|
</div>
|
|
719
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
719
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),yt=function(){function n(){this.name="axis"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
720
720
|
<div class="hiprint-option-item-label">
|
|
721
721
|
\u62D6\u52A8\u65B9\u5411
|
|
722
722
|
</div>
|
|
@@ -727,21 +727,21 @@
|
|
|
727
727
|
<option value="v" >\u7AD6\u5411</option>
|
|
728
728
|
</select>
|
|
729
729
|
</div>
|
|
730
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
730
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Mt=function(){function n(){this.name="leftOffset"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
731
731
|
<div class="hiprint-option-item-label">
|
|
732
732
|
\u5DE6\u504F\u79FB
|
|
733
733
|
</div>
|
|
734
734
|
<div class="hiprint-option-item-field">
|
|
735
735
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit" >
|
|
736
736
|
</div>
|
|
737
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
737
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Bt=function(){function n(){this.name="lHeight"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
738
738
|
<div class="hiprint-option-item-label">
|
|
739
739
|
\u6700\u4F4E\u9AD8\u5EA6
|
|
740
740
|
</div>
|
|
741
741
|
<div class="hiprint-option-item-field">
|
|
742
742
|
<input type="text" placeholder="\u6587\u672C\u8FC7\u77ED\u6216\u4E3A\u7A7A\u65F6\u7684\u9AD8\u5EA6" class="auto-submit">
|
|
743
743
|
</div>
|
|
744
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
744
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Ut=function(){function n(){this.name="unShowInPage"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
745
745
|
<div class="hiprint-option-item-label">
|
|
746
746
|
\u9690\u85CF\u89C4\u5219
|
|
747
747
|
</div>
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
<option value="last" >\u5C3E\u9875</option>
|
|
753
753
|
</select>
|
|
754
754
|
</div>
|
|
755
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
755
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Zt=function(){function n(){this.name="tableBodyRowBorder"}return n.prototype.css=function(e,B){if(e.find("tbody tr").length){if(B=="border"||B==null)return e.find("tbody tr").css("border","1px solid"),"border:1pt solid";B=="noBorder"?e.find("tbody tr").css("border","0px solid"):B=="topBorder"?(e.find("tbody tr").css("border","0px solid"),e.find("tbody tr").css("border-top","1px solid")):B=="bottomBorder"?(e.find("tbody tr").css("border","0px solid"),e.find("tbody tr").css("border-bottom","1px solid")):B=="topBottomBorder"?(e.find("tbody tr").css("border","0px solid"),e.find("tbody tr").css("border-top","1px solid"),e.find("tbody tr").css("border-bottom","1px solid")):e.find("tbody tr").map(function(Q,at){at.style.border=""})}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
756
756
|
<div class="hiprint-option-item-label">
|
|
757
757
|
\u8868\u4F53\u884C\u8FB9\u6846
|
|
758
758
|
</div>
|
|
@@ -766,21 +766,21 @@
|
|
|
766
766
|
<option value="topBottomBorder" >\u4E0A\u4E0B\u8FB9\u6846</option>
|
|
767
767
|
</select>
|
|
768
768
|
</div>
|
|
769
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
769
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Lt=function(){function n(){this.name="transform"}return n.prototype.css=function(e,B){if(e&&e.length){var Q=e.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(!Q.length&&(e.hasClass("hiprint-printElement-hline")||e.hasClass("hiprint-printElement-vline"))&&(Q=e),!Q.length&&e.hasClass("hiprint-printElement-image")&&(Q=e),B)return Q.css("transform","rotate("+B+"deg)"),Q.css("-ms-transform","rotate("+B+"deg)"),Q.css("-moz-transform","rotate("+B+"deg)"),Q.css("-webkit-transform","rotate("+B+"deg)"),Q.css("-o-transform","rotate("+B+"deg)"),"transform:rotate("+B+"deg)";Q.length&&(Q[0].style.transform="")}return null},n.prototype.createTarget=function(){return this.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
770
770
|
<div class="hiprint-option-item-label">
|
|
771
771
|
\u65CB\u8F6C\u89D2\u5EA6
|
|
772
772
|
</div>
|
|
773
773
|
<div class="hiprint-option-item-field">
|
|
774
774
|
<input type="text" class="auto-submit"/>
|
|
775
775
|
</div>
|
|
776
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
776
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),zt=function(){function n(){this.name="zIndex"}return n.prototype.css=function(e,B){return e&&e.length&&B?e.css("z-index",B):null},n.prototype.createTarget=function(){return this.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
777
777
|
<div class="hiprint-option-item-label">
|
|
778
778
|
\u5143\u7D20\u5C42\u7EA7
|
|
779
779
|
</div>
|
|
780
780
|
<div class="hiprint-option-item-field">
|
|
781
781
|
<input type="number" class="auto-submit"/>
|
|
782
782
|
</div>
|
|
783
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
783
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())>0?parseInt(e.toString()):1},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Wt=function(){function n(){this.name="borderTop"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-top-style",B),"border-top:1px";e[0].style.borderTopStyle="",e[0].style.borderTopWidth=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
784
784
|
<div class="hiprint-option-item-label">
|
|
785
785
|
\u4E0A\u8FB9\u6846
|
|
786
786
|
</div>
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
792
792
|
</select>
|
|
793
793
|
</div>
|
|
794
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
794
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Gt=function(){function n(){this.name="borderLeft"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-left-style",B),"border-left:1px";e[0].style.borderLeftStyle="",e[0].style.borderLeftWidth=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
795
795
|
<div class="hiprint-option-item-label">
|
|
796
796
|
\u5DE6\u8FB9\u6846
|
|
797
797
|
</div>
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
803
803
|
</select>
|
|
804
804
|
</div>
|
|
805
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
805
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),kt=function(){function n(){this.name="borderRight"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-right-style",B),"border-right:1px";e[0].style.borderRightStyle="",e[0].style.borderRightWidth=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
806
806
|
<div class="hiprint-option-item-label">
|
|
807
807
|
\u53F3\u8FB9\u6846
|
|
808
808
|
</div>
|
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
814
814
|
</select>
|
|
815
815
|
</div>
|
|
816
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
816
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Rt=function(){function n(){this.name="borderBottom"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-bottom-style",B),"border-bottom-style:1px solid";e[0].style.borderBottomStyle="",e[0].style.borderBottomWidth=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
817
817
|
<div class="hiprint-option-item-label">
|
|
818
818
|
\u4E0B\u8FB9\u6846
|
|
819
819
|
</div>
|
|
@@ -824,7 +824,7 @@
|
|
|
824
824
|
<option value="dotted" >\u865A\u7EBF</option>
|
|
825
825
|
</select>
|
|
826
826
|
</div>
|
|
827
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
827
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),y=function(){function n(){this.name="contentPaddingLeft"}return n.prototype.css=function(e,B){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(B)return Q.css("padding-left",B+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
828
828
|
<div class="hiprint-option-item-label">
|
|
829
829
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
830
830
|
</div>
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
<option value="21.75" >21.75pt</option>
|
|
863
863
|
</select>
|
|
864
864
|
</div>
|
|
865
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
865
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),t=function(){function n(){this.name="contentPaddingTop"}return n.prototype.css=function(e,B){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(B)return Q.css("padding-top",B+"pt"),"padding-top";Q[0].style.paddingTop=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
866
866
|
<div class="hiprint-option-item-label">
|
|
867
867
|
\u4E0A\u5185\u8FB9\u8DDD
|
|
868
868
|
</div>
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
<option value="21.75" >21.75pt</option>
|
|
901
901
|
</select>
|
|
902
902
|
</div>
|
|
903
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
903
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),i=function(){function n(){this.name="contentPaddingRight"}return n.prototype.css=function(e,B){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(B)return Q.css("padding-right",B+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
904
904
|
<div class="hiprint-option-item-label">
|
|
905
905
|
\u53F3\u5185\u8FB9\u8DDD
|
|
906
906
|
</div>
|
|
@@ -938,7 +938,7 @@
|
|
|
938
938
|
<option value="21.75" >21.75pt</option>
|
|
939
939
|
</select>
|
|
940
940
|
</div>
|
|
941
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
941
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),p=function(){function n(){this.name="contentPaddingBottom"}return n.prototype.css=function(e,B){var Q=e.find(".hiprint-printElement-content");if(Q&&Q.length){if(B)return Q.css("padding-bottom",B+"pt"),"padding-bottom";Q[0].style.paddingBottom=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
942
942
|
<div class="hiprint-option-item-label">
|
|
943
943
|
\u4E0B\u5185\u8FB9\u8DDD
|
|
944
944
|
</div>
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
<option value="21.75" >21.75pt</option>
|
|
977
977
|
</select>
|
|
978
978
|
</div>
|
|
979
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
979
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),f=function(){function n(){this.name="borderStyle"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("border-style",B),"border-style:1px";e[0].style.borderStyle=""}return null},n.prototype.createTarget=function(e){var B=["hline","vline","rect","oval"].includes(e.printElementType.type)?"\u6837\u5F0F":"\u8FB9\u6846\u6837\u5F0F";return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
980
980
|
<div class="hiprint-option-item-label">
|
|
981
981
|
`+B+`
|
|
982
982
|
</div>
|
|
@@ -988,14 +988,14 @@
|
|
|
988
988
|
<option value="dotted" >\u77ED\u865A\u7EBF</option>
|
|
989
989
|
</select>
|
|
990
990
|
</div>
|
|
991
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
991
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),U=function(){function n(){this.name="backgroundColor"}return n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.css("background-color",B),"background-color:"+B;e[0].style.backgroundColor=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
992
992
|
<div class="hiprint-option-item-label">
|
|
993
993
|
\u80CC\u666F\u989C\u8272
|
|
994
994
|
</div>
|
|
995
995
|
<div class="hiprint-option-item-field">
|
|
996
996
|
<input type="text" class="auto-submit"/>
|
|
997
997
|
</div>
|
|
998
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
998
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").minicolors({defaultValue:e||"",theme:"bootstrap"}),this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),k=function(){function n(){this.name="orient"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
999
999
|
<div class="hiprint-option-item-label">
|
|
1000
1000
|
\u7EB8\u5F20\u65B9\u5411
|
|
1001
1001
|
</div>
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
<option value="2" >\u6A2A\u5411</option>
|
|
1007
1007
|
</select>
|
|
1008
1008
|
</div>
|
|
1009
|
-
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},n.prototype.getValue=function(){var
|
|
1009
|
+
</div><div class="hiprint-option-item-desc">(\u4EC5\u81EA\u5B9A\u4E49\u7EB8\u8D28\u6709\u6548)</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),G=function(){function n(){this.name="textContentVerticalAlign"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1010
1010
|
<div class="hiprint-option-item-label">
|
|
1011
1011
|
\u4E0A\u4E0B\u5BF9\u9F50
|
|
1012
1012
|
</div>
|
|
@@ -1018,12 +1018,12 @@
|
|
|
1018
1018
|
|
|
1019
1019
|
</select>
|
|
1020
1020
|
</div>
|
|
1021
|
-
</div>`),this.target},n.prototype.css=function(
|
|
1021
|
+
</div>`),this.target},n.prototype.css=function(e,B){return e&&e.length&&(e.removeClass("hiprint-text-content-middle"),e.removeClass("hiprint-text-content-bottom"),B)?(B==="middle"&&e.addClass("hiprint-text-content-middle"),B==="bottom"&&e.addClass("hiprint-text-content-bottom"),""):null},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),O=g(5),it=function(){function n(){this.name="columns"}return n.prototype.createTarget=function(){return x.default('<div class="indicator"></div>').appendTo("body"),this.target=x.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(e,B,Q){var at=this,Pt=this;this.value=e,this.options=B,this.printElementType=Q;var Tt=Q.columns[0].filter(function(ct){return e[0].columns.filter(function(xt){return ct.columnId==xt.columnId}).length==0}).map(function(ct){var xt=new O.a(ct);return xt.checked=!1,xt});this.allColumns=e[0].columns.concat(Tt),e&&e.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ct,xt){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|
1022
1022
|
`+(ct.checked?'<input type="checkbox" checked column-id="'+(ct.id||ct.columnId)+'" />':'<input type="checkbox" column-id="'+(ct.id||ct.columnId)+'" />')+`
|
|
1023
1023
|
<div class="state">
|
|
1024
1024
|
<label></label>
|
|
1025
1025
|
</div>
|
|
1026
|
-
</div><span class="column-title">`+(ct.title||ct.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ct){var xt=ct.target.checked,Nt=ct.target.attributes["column-id"].nodeValue||"",Vt=at.allColumns.findIndex(function(Ot){return Ot.field==Nt||Ot.id==Nt});Vt>=0&&(at.allColumns[Vt].checked=xt),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(xt,Nt){x.default(this).css("border-top-color","red")},onDragLeave:function(xt,Nt){x.default(this).css("border-top-color","")},onDrop:function(xt,Nt){x.default(Nt).insertBefore(this),x.default(this).css("border-top-color",""),Pt.submit()}}))},n.prototype.buildData=function(){var
|
|
1026
|
+
</div><span class="column-title">`+(ct.title||ct.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(ct){var xt=ct.target.checked,Nt=ct.target.attributes["column-id"].nodeValue||"",Vt=at.allColumns.findIndex(function(Ot){return Ot.field==Nt||Ot.id==Nt});Vt>=0&&(at.allColumns[Vt].checked=xt),at.submit()}),this.printElementType.columnDisplayIndexEditable&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(xt,Nt){x.default(this).css("border-top-color","red")},onDragLeave:function(xt,Nt){x.default(this).css("border-top-color","")},onDrop:function(xt,Nt){x.default(Nt).insertBefore(this),x.default(this).css("border-top-color",""),Pt.submit()}}))},n.prototype.buildData=function(){var e=this,B=[];return e.options.columns.length>1?this.value:(e.printElementType.makeColumnObj(e.allColumns),this.target.find("input").map(function(Q,at){var Pt=x.default(at).attr("column-id"),Tt=e.printElementType.getColumnByColumnId(Pt);if(Tt){var ct=new O.a(Tt);ct.checked=Tt.checked,B.push(ct)}}),this.value[0].columns=B,this.value)},n.prototype.destroy=function(){this.target.remove()},n}(),K=function(){function n(){this.name="textType"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1027
1027
|
<div class="hiprint-option-item-label">
|
|
1028
1028
|
\u6253\u5370\u7C7B\u578B
|
|
1029
1029
|
</div>
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
<option value="qrcode" >\u4E8C\u7EF4\u7801</option>
|
|
1036
1036
|
</select>
|
|
1037
1037
|
</div>
|
|
1038
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1038
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),tt=function(){function n(){this.name="tableTextType"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1039
1039
|
<div class="hiprint-option-item-label">
|
|
1040
1040
|
\u5B57\u6BB5\u7C7B\u578B
|
|
1041
1041
|
</div>
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
<option value="image" >\u56FE\u7247</option>
|
|
1050
1050
|
</select>
|
|
1051
1051
|
</div>
|
|
1052
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1052
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),rt=function(){function n(){this.name="tableBarcodeMode"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1053
1053
|
<div class="hiprint-option-item-label">
|
|
1054
1054
|
\u6761\u5F62\u7801\u683C\u5F0F
|
|
1055
1055
|
</div>
|
|
@@ -1075,7 +1075,7 @@
|
|
|
1075
1075
|
<option value="Pharmacode" >Pharmacode</option>
|
|
1076
1076
|
</select>
|
|
1077
1077
|
</div>
|
|
1078
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1078
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();return e||void 0},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),X=function(){function n(){this.name="tableQRCodeLevel"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1079
1079
|
<div class="hiprint-option-item-label">
|
|
1080
1080
|
\u4E8C\u7EF4\u7801\u5BB9\u9519\u7387
|
|
1081
1081
|
</div>
|
|
@@ -1088,21 +1088,21 @@
|
|
|
1088
1088
|
<option value="2" >30% H</option>
|
|
1089
1089
|
</select>
|
|
1090
1090
|
</div>
|
|
1091
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1091
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();return parseInt(e||0)},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),nt=function(){function n(){this.name="tableColumnHeight"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1092
1092
|
<div class="hiprint-option-item-label">
|
|
1093
1093
|
\u5355\u5143\u683C\u9AD8\u5EA6
|
|
1094
1094
|
</div>
|
|
1095
1095
|
<div class="hiprint-option-item-field">
|
|
1096
1096
|
<input type="text" placeholder="\u6761\u5F62\u7801\u3001\u4E8C\u7EF4\u7801\u4EE5\u53CA\u56FE\u7247\u6709\u6548" class="auto-submit" >
|
|
1097
1097
|
</div>
|
|
1098
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1098
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),gt=function(){function n(){this.name="tableSummaryTitle"}return n.prototype.createTarget=function(){return this.target=x.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(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),It=function(){function n(){this.name="tableSummaryText"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1099
1099
|
<div class="hiprint-option-item-label">
|
|
1100
1100
|
\u5E95\u90E8\u805A\u5408\u6587\u672C
|
|
1101
1101
|
</div>
|
|
1102
1102
|
<div class="hiprint-option-item-field">
|
|
1103
1103
|
<input type="text" placeholder="\u805A\u5408\u7C7B\u578B:" class="auto-submit" >
|
|
1104
1104
|
</div>
|
|
1105
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1105
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ft=function(){function n(){this.name="tableSummaryAlign"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1106
1106
|
<div class="hiprint-option-item-label">
|
|
1107
1107
|
\u5E95\u90E8\u805A\u5408\u7C7B\u578B\u5DE6\u53F3\u5BF9\u9F50
|
|
1108
1108
|
</div>
|
|
@@ -1115,8 +1115,8 @@
|
|
|
1115
1115
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1116
1116
|
</select>
|
|
1117
1117
|
</div>
|
|
1118
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1119
|
-
<option value="" >\u9ED8\u8BA4</option>`;return
|
|
1118
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),wt=function(){function n(){this.name="tableSummaryNumFormat"}return n.prototype.createTarget=function(){var e=[{t:"\u6574\u6570",v:"0"}],B=[1,2,3,4,5,6];B.forEach(function(at){e.push({t:"\u4FDD\u7559"+at+"\u4F4D",v:""+at})});var Q=`
|
|
1119
|
+
<option value="" >\u9ED8\u8BA4</option>`;return e.forEach(function(at){Q+=`
|
|
1120
1120
|
<option value="`+(at.v||"")+'">'+(at.t||"")+"</option>"}),this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1121
1121
|
<div class="hiprint-option-item-label">
|
|
1122
1122
|
\u5E95\u90E8\u805A\u5408\u5C0F\u6570
|
|
@@ -1124,8 +1124,8 @@
|
|
|
1124
1124
|
<div class="hiprint-option-item-field">
|
|
1125
1125
|
<select class="auto-submit"></select>
|
|
1126
1126
|
</div>
|
|
1127
|
-
</div>`),this.target.find(".auto-submit").append(x.default(Q)),this.target},n.prototype.getValue=function(){var
|
|
1128
|
-
<option value="">\u9ED8\u8BA4</option>`;return
|
|
1127
|
+
</div>`),this.target.find(".auto-submit").append(x.default(Q)),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Ct=function(){function n(){this.name="upperCase"}return n.prototype.createTarget=function(){var e=[{t:"\u300C\u5C0F\u5199\u300D\u5341\u70B9\u516B",v:"0"},{t:"\u300C\u5C0F\u5199\u300D\u4E00\u5341\u70B9\u516B",v:"1"},{t:"\u300C\u5927\u5199\u300D\u62FE\u70B9\u634C",v:"2"},{t:"\u300C\u5927\u5199\u300D\u58F9\u62FE\u70B9\u634C",v:"3"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u62FE\u5143\u634C\u89D2",v:"4"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2",v:"5"},{t:"\u300C\u91D1\u989D\u300D\u4EBA\u6C11\u5E01\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"6"},{t:"\u300C\u91D1\u989D\u300D\u58F9\u62FE\u5143\u634C\u89D2\u96F6\u5206",v:"7"}],B=`
|
|
1128
|
+
<option value="">\u9ED8\u8BA4</option>`;return e.forEach(Q=>{B+=`
|
|
1129
1129
|
<option value='${Q.v}'>${Q.t}</option>`}),this.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1130
1130
|
<div class="hiprint-option-item-label">
|
|
1131
1131
|
\u8F6C\u5927\u5C0F\u5199
|
|
@@ -1133,14 +1133,14 @@
|
|
|
1133
1133
|
<div class="hiprint-option-item-field">
|
|
1134
1134
|
<select class="auto-submit"></select>
|
|
1135
1135
|
</div>
|
|
1136
|
-
</div>`),this.target.find(".auto-submit").append(x.default(B)),this.target},n.prototype.getValue=function(){var
|
|
1136
|
+
</div>`),this.target.find(".auto-submit").append(x.default(B)),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Jt=function(){function n(){this.name="tableSummary"}return n.prototype.createTarget=function(){return this.target=x.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(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),Ft=function(){function n(){this.name="topOffset"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1137
1137
|
<div class="hiprint-option-item-label">
|
|
1138
1138
|
\u9876\u90E8\u504F\u79FB
|
|
1139
1139
|
</div>
|
|
1140
1140
|
<div class="hiprint-option-item-field">
|
|
1141
1141
|
<input type="text" placeholder="\u504F\u79FB\u91CFpt" class="auto-submit">
|
|
1142
1142
|
</div>
|
|
1143
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1143
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),$t=function(){function n(){this.name="gridColumns"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1144
1144
|
<div class="hiprint-option-item-label">
|
|
1145
1145
|
\u4E00\u884C\u591A\u7EC4
|
|
1146
1146
|
</div>
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
<option value="4" >\u4E00\u884C\u56DB\u5217</option>
|
|
1153
1153
|
</select>
|
|
1154
1154
|
</div>
|
|
1155
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1155
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),qt=function(){function n(){this.name="gridColumnsGutter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1156
1156
|
<div class="hiprint-option-item-label">
|
|
1157
1157
|
\u4E00\u884C\u591A\u7EC4\u95F4\u9694
|
|
1158
1158
|
</div>
|
|
@@ -1172,7 +1172,7 @@
|
|
|
1172
1172
|
<option value="9" >9pt</option>
|
|
1173
1173
|
</select>
|
|
1174
1174
|
</div>
|
|
1175
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1175
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.css=function(e,B){if(e&&e.length){if(B)return e.find(".table-grid-row").css("margin-left","-"+B+"pt").css("margin-right","-"+B+"pt"),e.find(".tableGridColumnsGutterRow").css("padding-left",B+"pt").css("padding-right",B+"pt"),null;e.find(".table-grid-row").map(function(Q,at){at.style.marginLeft="",at.style.marginRight=""}),e.find(".tableGridColumnsGutterRow").map(function(Q,at){at.style.paddingLeft="",at.style.paddingRight=""})}return null},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),te=function(){function n(){this.name="tableHeaderRepeat"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1176
1176
|
<div class="hiprint-option-item-label">
|
|
1177
1177
|
\u8868\u683C\u5934\u663E\u793A
|
|
1178
1178
|
</div>
|
|
@@ -1184,7 +1184,7 @@
|
|
|
1184
1184
|
<option value="none" >\u4E0D\u663E\u793A</option>
|
|
1185
1185
|
</select>
|
|
1186
1186
|
</div>
|
|
1187
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1187
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ee=function(){function n(){this.name="paddingLeft"}return n.prototype.css=function(e,B){var Q=e;if(Q&&Q.length){if(B)return Q.css("padding-left",B+"pt"),"padding-left";Q[0].style.paddingLeft=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1188
1188
|
<div class="hiprint-option-item-label">
|
|
1189
1189
|
\u5DE6\u5185\u8FB9\u8DDD
|
|
1190
1190
|
</div>
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
<option value="21.75" >21.75pt</option>
|
|
1223
1223
|
</select>
|
|
1224
1224
|
</div>
|
|
1225
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1225
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ie=function(){function n(){this.name="paddingRight"}return n.prototype.css=function(e,B){var Q=e;if(Q&&Q.length){if(B)return Q.css("padding-right",B+"pt"),"padding-right";Q[0].style.paddingRight=""}return null},n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1226
1226
|
<div class="hiprint-option-item-label">
|
|
1227
1227
|
\u53F3\u5185\u8FB9\u8DDD
|
|
1228
1228
|
</div>
|
|
@@ -1260,7 +1260,7 @@
|
|
|
1260
1260
|
<option value="21.75" >21.75pt</option>
|
|
1261
1261
|
</select>
|
|
1262
1262
|
</div>
|
|
1263
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1263
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return parseFloat(e.toString())},n.prototype.setValue=function(e){e&&(this.target.find('option[value="'+e+'"]').length||this.target.find("select").prepend('<option value="'+e+'" >'+e+"</option>")),this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),ne=function(){function n(){this.name="dataType"}return n.prototype.createTarget=function(){var e=this;return this.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1264
1264
|
<div class="hiprint-option-item-label">
|
|
1265
1265
|
\u6570\u636E\u7C7B\u578B
|
|
1266
1266
|
</div>
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
</select>
|
|
1284
1284
|
<input class="auto-submit hiprint-option-item-datatype-input-format" type="text" data-type="boolean" placeholder="true:false">
|
|
1285
1285
|
</div>
|
|
1286
|
-
</div>`),x.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var B=x.default(
|
|
1286
|
+
</div>`),x.default(this.target.find(".hiprint-option-item-datatype")).change(function(){var B=x.default(e.target.find(".hiprint-option-item-datatype")).val();e.loadFormatSelectByDataType(B),e.submit(e.getValue())}),this.target},n.prototype.getValue=function(){var e=this.target.find(".hiprint-option-item-datatype").val();if(e){var B=this.target.find(".hiprint-option-item-datatype-format").val();return{dataType:e,format:B||void 0}}return{dataType:void 0,format:void 0}},n.prototype.setValue=function(e,B){this.target.find(".hiprint-option-item-datatype").val(B.dataType||""),this.loadFormatSelectByDataType(B.dataType),this.target.find(".hiprint-option-item-datatype-format").val(B.format||"")},n.prototype.destroy=function(){this.target.remove()},n.prototype.loadFormatSelectByDataType=function(e){e==="boolean"?(this.target.find(".hiprint-option-item-datatype-select-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").show()):e==="datetime"?(this.target.find(".hiprint-option-item-datatype-select-format").addClass("hiprint-option-item-datatype-format").show(),this.target.find(".hiprint-option-item-datatype-input-format").removeClass("hiprint-option-item-datatype-format").hide().val(""),this.target.find(".hiprint-option-item-datatype-select-format").html(`
|
|
1287
1287
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1288
1288
|
<option value="M/d" >M/d</option>
|
|
1289
1289
|
<option value="MM/dd" >MM/dd</option>
|
|
@@ -1332,28 +1332,28 @@
|
|
|
1332
1332
|
<option value="yyyy-MM-dd HH:mm:ss" >yyyy-MM-dd HH:mm:ss</option>
|
|
1333
1333
|
`)):(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(`
|
|
1334
1334
|
<option value="" >\u9ED8\u8BA4</option>
|
|
1335
|
-
`))},n}(),oe=function(){function n(){this.name="formatter"}return n.prototype.createTarget=function(){var
|
|
1335
|
+
`))},n}(),oe=function(){function n(){this.name="formatter"}return n.prototype.createTarget=function(){var e=` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1336
1336
|
<div class="hiprint-option-item-label">
|
|
1337
1337
|
\u683C\u5F0F\u5316\u51FD\u6570
|
|
1338
1338
|
</div>
|
|
1339
1339
|
<div class="hiprint-option-item-field">
|
|
1340
1340
|
<textarea style="height:80px;" placeholder="function(value, options,templateData){}" class="auto-submit"></textarea>
|
|
1341
1341
|
</div>
|
|
1342
|
-
</div>`;return this.target=x.default(
|
|
1342
|
+
</div>`;return this.target=x.default(e),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ae=function(){function n(){this.name="styler"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1343
1343
|
<div class="hiprint-option-item-label">
|
|
1344
1344
|
\u6837\u5F0F\u51FD\u6570
|
|
1345
1345
|
</div>
|
|
1346
1346
|
<div class="hiprint-option-item-field">
|
|
1347
1347
|
<textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
|
|
1348
1348
|
</div>
|
|
1349
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1349
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),re=function(){function n(){this.name="rowsColumnsMerge"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1350
1350
|
<div class="hiprint-option-item-label">
|
|
1351
1351
|
\u884C/\u5217\u5408\u5E76\u51FD\u6570
|
|
1352
1352
|
</div>
|
|
1353
1353
|
<div class="hiprint-option-item-field">
|
|
1354
1354
|
<textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex){ return [1,1] }" class="auto-submit"></textarea>
|
|
1355
1355
|
</div>
|
|
1356
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1356
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),se=function(){function n(){this.name="rowsColumnsMergeClean"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1357
1357
|
<div class="hiprint-option-item-label">
|
|
1358
1358
|
\u8DE8\u9875\u5408\u5E76\u662F\u5426\u6E05\u9664
|
|
1359
1359
|
</div>
|
|
@@ -1364,49 +1364,49 @@
|
|
|
1364
1364
|
<option value="false" >\u5426</option>
|
|
1365
1365
|
</select>
|
|
1366
1366
|
</div>
|
|
1367
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
1367
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),le=function(){function n(){this.name="footerFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1368
1368
|
<div class="hiprint-option-item-label">
|
|
1369
1369
|
\u8868\u683C\u811A\u51FD\u6570
|
|
1370
1370
|
</div>
|
|
1371
1371
|
<div class="hiprint-option-item-field">
|
|
1372
1372
|
<textarea style="height:80px;" placeholder="function(options,rows,data){ return '<tr></tr>' }" class="auto-submit"></textarea>
|
|
1373
1373
|
</div>
|
|
1374
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1374
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),pe=function(){function n(){this.name="groupFieldsFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1375
1375
|
<div class="hiprint-option-item-label">
|
|
1376
1376
|
\u5206\u7EC4\u5B57\u6BB5\u51FD\u6570
|
|
1377
1377
|
</div>
|
|
1378
1378
|
<div class="hiprint-option-item-field">
|
|
1379
1379
|
<textarea style="height:80px;" placeholder="function(type,options,data){ return [] }" class="auto-submit"></textarea>
|
|
1380
1380
|
</div>
|
|
1381
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1381
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Ie=function(){function n(){this.name="groupFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1382
1382
|
<div class="hiprint-option-item-label">
|
|
1383
1383
|
\u5206\u7EC4\u5934\u683C\u5F0F\u5316\u51FD\u6570
|
|
1384
1384
|
</div>
|
|
1385
1385
|
<div class="hiprint-option-item-field">
|
|
1386
1386
|
<textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u5934\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1387
1387
|
</div>
|
|
1388
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1388
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ce=function(){function n(){this.name="groupFooterFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1389
1389
|
<div class="hiprint-option-item-label">
|
|
1390
1390
|
\u5206\u7EC4\u811A\u683C\u5F0F\u5316\u51FD\u6570
|
|
1391
1391
|
</div>
|
|
1392
1392
|
<div class="hiprint-option-item-field">
|
|
1393
1393
|
<textarea style="height:80px;" placeholder="function(groupData,options){ return '\u5206\u7EC4\u811A\u4FE1\u606F(html)' }" class="auto-submit"></textarea>
|
|
1394
1394
|
</div>
|
|
1395
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1395
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ue=function(){function n(){this.name="gridColumnsFooterFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1396
1396
|
<div class="hiprint-option-item-label">
|
|
1397
1397
|
\u591A\u7EC4\u8868\u683C\u811A\u51FD\u6570
|
|
1398
1398
|
</div>
|
|
1399
1399
|
<div class="hiprint-option-item-field">
|
|
1400
1400
|
<textarea style="height:80px;" placeholder="function(options,rows,data){ return '' }" class="auto-submit"></textarea>
|
|
1401
1401
|
</div>
|
|
1402
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1402
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),de=function(){function n(){this.name="rowStyler"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1403
1403
|
<div class="hiprint-option-item-label">
|
|
1404
1404
|
\u884C\u6837\u5F0F\u51FD\u6570
|
|
1405
1405
|
</div>
|
|
1406
1406
|
<div class="hiprint-option-item-field">
|
|
1407
1407
|
<textarea style="height:80px;" placeholder="function(value,options){ return '' }" class="auto-submit"></textarea>
|
|
1408
1408
|
</div>
|
|
1409
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1409
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ge=function(){function n(){this.name="align"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1410
1410
|
<div class="hiprint-option-item-label">
|
|
1411
1411
|
\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1412
1412
|
</div>
|
|
@@ -1419,7 +1419,7 @@
|
|
|
1419
1419
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1420
1420
|
</select>
|
|
1421
1421
|
</div>
|
|
1422
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1422
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),he=function(){function n(){this.name="vAlign"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1423
1423
|
<div class="hiprint-option-item-label">
|
|
1424
1424
|
\u5355\u5143\u683C\u4E0A\u4E0B\u5BF9\u9F50
|
|
1425
1425
|
</div>
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
|
|
1433
1433
|
</select>
|
|
1434
1434
|
</div>
|
|
1435
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1435
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),me=function(){function n(){this.name="halign"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1436
1436
|
<div class="hiprint-option-item-label">
|
|
1437
1437
|
\u8868\u683C\u5934\u5355\u5143\u683C\u5DE6\u53F3\u5BF9\u9F50
|
|
1438
1438
|
</div>
|
|
@@ -1445,35 +1445,35 @@
|
|
|
1445
1445
|
<option value="justify" >\u4E24\u7AEF\u5BF9\u9F50</option>
|
|
1446
1446
|
</select>
|
|
1447
1447
|
</div>
|
|
1448
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1448
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),fe=function(){function n(){this.name="styler2"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1449
1449
|
<div class="hiprint-option-item-label">
|
|
1450
1450
|
\u5355\u5143\u683C\u6837\u5F0F\u51FD\u6570
|
|
1451
1451
|
</div>
|
|
1452
1452
|
<div class="hiprint-option-item-field">
|
|
1453
1453
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1454
1454
|
</div>
|
|
1455
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1455
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),be=function(){function n(){this.name="stylerHeader"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1456
1456
|
<div class="hiprint-option-item-label">
|
|
1457
1457
|
\u8868\u683C\u5934\u6837\u5F0F\u51FD\u6570
|
|
1458
1458
|
</div>
|
|
1459
1459
|
<div class="hiprint-option-item-field">
|
|
1460
1460
|
<textarea style="height:80px;" placeholder="function(options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|
1461
1461
|
</div>
|
|
1462
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1462
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ve=function(){function n(){this.name="formatter2"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1463
1463
|
<div class="hiprint-option-item-label">
|
|
1464
1464
|
\u5355\u5143\u683C\u683C\u5F0F\u5316\u51FD\u6570
|
|
1465
1465
|
</div>
|
|
1466
1466
|
<div class="hiprint-option-item-field">
|
|
1467
1467
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
|
|
1468
1468
|
</div>
|
|
1469
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1469
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),ye=function(){function n(){this.name="renderFormatter"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1470
1470
|
<div class="hiprint-option-item-label">
|
|
1471
1471
|
\u5355\u5143\u683C\u6E32\u67D3\u51FD\u6570
|
|
1472
1472
|
</div>
|
|
1473
1473
|
<div class="hiprint-option-item-field">
|
|
1474
1474
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|
1475
1475
|
</div>
|
|
1476
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1476
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("textarea").val();if(e)return e},n.prototype.setValue=function(e){this.target.find("textarea").val(e?e.toString():null)},n.prototype.destroy=function(){this.target.remove()},n}(),Me=function(){function n(){this.name="autoCompletion"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1477
1477
|
<div class="hiprint-option-item-label">
|
|
1478
1478
|
\u81EA\u52A8\u8865\u5168
|
|
1479
1479
|
</div>
|
|
@@ -1484,14 +1484,14 @@
|
|
|
1484
1484
|
<option value="false" >\u5426</option>
|
|
1485
1485
|
</select>
|
|
1486
1486
|
</div>
|
|
1487
|
-
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(
|
|
1487
|
+
</div>`),this.target},n.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},n.prototype.setValue=function(e){this.target.find("select").val((e==null?"":e).toString())},n.prototype.destroy=function(){this.target.remove()},n}(),Pe=function(){function n(){this.name="maxRows"}return n.prototype.createTarget=function(){return this.target=x.default(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1488
1488
|
<div class="hiprint-option-item-label">
|
|
1489
1489
|
\u6BCF\u9875\u6700\u5927\u884C\u6570
|
|
1490
1490
|
</div>
|
|
1491
1491
|
<div class="hiprint-option-item-field">
|
|
1492
1492
|
<input type="number" value="1" step="1" min="1" class="auto-submit"/>
|
|
1493
1493
|
</div>
|
|
1494
|
-
</div>`),this.target},n.prototype.getValue=function(){var
|
|
1494
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("input").val();if(e)return parseInt(e.toString())},n.prototype.setValue=function(e){this.target.find("input").val(e)},n.prototype.destroy=function(){this.target.remove()},n}(),je=function(){function n(){this.name="tableFooterRepeat"}return n.prototype.createTarget=function(){return this.target=x.default(` <div class="hiprint-option-item hiprint-option-item-row">
|
|
1495
1495
|
<div class="hiprint-option-item-label">
|
|
1496
1496
|
\u8868\u683C\u811A\u663E\u793A
|
|
1497
1497
|
</div>
|
|
@@ -1503,22 +1503,22 @@
|
|
|
1503
1503
|
<option value="last" >\u6700\u540E\u663E\u793A</option>
|
|
1504
1504
|
</select>
|
|
1505
1505
|
</div>
|
|
1506
|
-
</div>`),this.target},n.prototype.getValue=function(){var t=this.target.find("select").val();if(t)return t.toString()},n.prototype.setValue=function(t){this.target.find("select").val(t)},n.prototype.destroy=function(){this.target.remove()},n}();g.d(F,"a",function(){return Se});var Se=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 E,new b,new l,new c,new W,new s,new w,new K,new C,new N,new r,new D,new H,new j,new v,new T,new S,new P,new o,new m,new a,new I,new h,new M,new u,new d,new A,new Z,new L,new J,new Y,new R,new V,new q,new z,new et,new ot,new pt,new st,new ht,new mt,new ut,new bt,new dt,new lt,new vt,new yt,new Ft,new Mt,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new Gt,new kt,new Rt,new e,new y,new i,new p,new f,new U,new k,new G,new it,new $t,new qt,new te,new ee,new ie,new ne,new oe,new ae,new le,new re,new se,new pe,new Ie,new ce,new ue,new de,new ge,new me,new he,new fe,new be,new ve,new ye,new Me,new Pe,new je,new nt,new rt,new X,new tt,new gt,new It,new Jt,new ft,new wt,new Ct],n}()},function($,F,g){g.d(F,"a",function(){return E}),g.d(F,"b",function(){return b});var W=g(14),E=function(){function s(w,C){this.selectedCells=[],this.rows=w,this.tableTatget=C}return s.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},s.prototype.setSingleSelect=function(w){this.startCell=w,this.selectedCells=[]},s.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},s.prototype.singleSelectByXY=function(w,C){var N=this.getCellByXY(w,C);N&&(this.clear(),N&&(N.cell.select(),this.startCell=N,this.selectedCells=[]))},s.prototype.multipleSelectByXY=function(w,C){this.clear();var N=[];if(this.startCell){var r=this.getCellByXY(w,C);if(r){var T=W.a.mergeRect(this.startCell.cell.getTableRect(),r.cell.getTableRect());this.selectByRect(new l(T),N)}}this.selectedCells=N},s.prototype.selectByRect=function(w,C){this.rows.forEach(function(N,r){var T=[];N.columns.forEach(function(S){S.isInRect(w)&&(T.push(new c(r,S)),S.select())}),T.length&&C.push(T)}),w.changed&&(w.changed=!1,C.splice(0,C.length),this.selectByRect(w,C))},s.prototype.getSelectedCells=function(){return this.selectedCells},s.prototype.getCellByXY=function(w,C){var N;return this.rows.forEach(function(r,T){var S=(r.columns||[]).filter(function(D){return D.checked}).filter(function(D){return D.isXYinCell(w,C)});S.length&&(N=new c(T,S[0]))}),N},s}(),b=function(){return function(s){this.x=s.x,this.y=s.y,this.height=s.height,this.width=s.width}}(),l=function(){return function(s){this.rect=s}}(),c=function(){return function(s,w){this.rowIndex=s,this.cell=w}}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(){}return E.createId=function(){return this.id+=1,this.id},E.id=1,E}()},function($,F,g){g.d(F,"a",function(){return c});var W,E=g(5),b=g(13),l=(W=function(w,C){return(W=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(N,r){N.__proto__=r}||function(N,r){for(var T in r)r.hasOwnProperty(T)&&(N[T]=r[T])})(w,C)},function(s,w){function C(){this.constructor=s}W(s,w),s.prototype=w===null?Object.create(w):(C.prototype=w.prototype,new C)}),c=function(s){function w(C){var N=s.call(this)||this;return N.columns=[],C&&C.constructor===Array?(C||[]).forEach(function(r){N.columns.push(new E.a(r))}):C.columns&&(C.columns||[]).forEach(function(r){N.columns.push(new E.a(r))}),N}return l(w,s),w.prototype.getPrintElementOptionEntity=function(){var C=[],N=this.allColumns?this.allColumns.filter(function(r){return!r.checked}):[];return[...this.columns,...N].forEach(function(r){C.push(r.getEntity())}),C},w}(b.a)},function($,F,g){g.d(F,"a",function(){return b});var W=g(11),E=g(5),b=function(){function l(){this.id=W.a.createId()}return l.prototype.init=function(c,s,w){this.isHead=w,this.target=s||x.default("<tr></tr>"),this.tableOptions=c,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(C){return C.checked}))},l.prototype.getTarget=function(){return this.target},l.prototype.initCells=function(c){var s=this;c?(this.columns=c,c.forEach(function(w,C){w.init(s.target.find("td:eq("+C+")"),s.tableOptions,s.id,s.isHead)})):(this.columns=[],this.target.find("td").map(function(w,C){var N=new E.a;N.init(x.default(C),s.tableOptions,s.id,s.isHead),s.columns.push(N)}))},l.prototype.removeCell=function(c){var s=this.columns.indexOf(c);this.columns[s].getTarget().remove(),this.columns.splice(s,1)},l.prototype.createTableCell=function(c,s){var w=new E.a;return w.init(x.default("<td></td>"),this.tableOptions,this.id,this.isHead),c>1&&(w.getTarget().attr("rowspan",c),w.rowspan=c),s>1&&(w.getTarget().attr("colspan",s),w.colspan=s),w},l.prototype.insertToTargetCellLeft=function(c,s){var w=this.columns.indexOf(c);c.getTarget().before(s.getTarget()),this.columns.splice(w,0,s)},l.prototype.insertToTargetCellRight=function(c,s){var w=this.columns.indexOf(c);this.columns[w].getTarget().after(s.getTarget()),this.columns.splice(w+1,0,s)},l.prototype.insertCellToFirst=function(c){this.target.prepend(c.getTarget()),this.columns.splice(0,0,c)},l.prototype.insertCellToLast=function(c){this.columns.push(c),this.target.append(c.getTarget())},l.prototype.getPrintElementOptionEntity=function(){var c=[];return[...this.columns,...this.allColumns.filter(function(s){return!s.checked})].forEach(function(s){c.push(s.getEntity())}),c},l}()},function($,F,g){g.d(F,"a",function(){return E});var W=g(10),E=function(){function b(){}return b.mergeRect=function(l,c){var s=Math.min(l.x,c.x),w=Math.min(l.y,c.y);return new W.b({x:s,y:w,height:Math.max(l.y+l.height,c.y+c.height)-w,width:Math.max(l.x+l.width,c.x+c.width)-s})},b.Rect=function(l,c,s,w){return{minX:l<s?l:s,minY:c<w?c:w,maxX:l<s?s:l,maxY:c<w?w:c}},b}()},function($,F,g){g.d(F,"a",function(){return D});var W=g(4),E=g(1),b=g(6),l=g(0),c=g(8),s=g(18),w=g(7),C=g(16),N=g(20),r=g(2),T=(S=function(j,v){return(S=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(P,o){P.__proto__=o}||function(P,o){for(var m in o)o.hasOwnProperty(m)&&(P[m]=o[m])})(j,v)},function(H,j){function v(){this.constructor=H}S(H,j),H.prototype=j===null?Object.create(j):(v.prototype=j.prototype,new v)}),S,D=function(H){function j(v,P){var o=H.call(this,v)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new s.a(P,o.printElementType),o.options.setDefault(new s.a(E.a.instance.table.default).getPrintElementOptionEntity()),o}return T(j,H),j.prototype.getColumns=function(){return this.options.columns},j.prototype.getColumnByColumnId=function(v){return this.options.getColumnByColumnId(v)},j.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var v=this.designTarget.find(".hiprint-printElement-table-content"),P=this.getHtml(this.designPaper);v.html(""),v.append(P[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},j.prototype.css=function(v,P){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return H.prototype.css.call(this,v,P)},j.prototype.getDesignTarget=function(v){return this.designTarget=this.getHtml(v)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=v,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,m){},onDragEnter:function(o,m){x.default(m).removeClass("rn-draggable-item")},onDragLeave:function(o,m){x.default(m).addClass("rn-draggable-item")}}),this.designTarget},j.prototype.getConfigOptions=function(){return E.a.instance.table},j.prototype.createTarget=function(v,P,o){for(var m=x.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(P,o));return m.find(".hiprint-printElement-table-content").append(a.target),m},j.prototype.createGridColumnsStructure=function(v){for(var P=x.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var m=x.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');P.append(m)}var a=this.getGridColumnsFooterFormatter();if(a){var I=x.default('<div class="hiprint-gridColumnsFooter"></div>');I.append(a(this.options,this.getData(v),v,[])),P.append(I)}return new N.a(this.options.getGridColumns(),P)},j.prototype.createtempEmptyRowsTargetStructure=function(v){if(this.getField())return this.createTarget(this.printElementType.title,[]);var P=this.createTarget(this.printElementType.title,[]).clone();return P.find(".hiprint-printElement-tableTarget tbody tr").remove(),P},j.prototype.getTableHtml=function(v,P){var o,m;if(!this.getField()&&this.options.content)return(o=x.default("<div></div>")).append(this.options.content),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(o=x.default("<div></div>")).append(this.printElementType.formatter(v)),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;var a=x.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return a.append(w.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),a.append(w.a.createTableRow(this.getColumns(),v,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||w.a.createTableFooter(this.printElementType.columns,v,this.options,this.printElementType,P,v).insertBefore(a.find("tbody")),a},j.prototype.getEmptyRowTarget=function(){return w.a.createEmptyRowTarget(this.getColumns(),this)},j.prototype.getHtml=function(v,P){this.createTempContainer();var o=this.getPaperHtmlResult(v,P);return this.removeTempContainer(),o},j.prototype.getPaperHtmlResult=function(v,P){var o=[],m=this.getData(P),a=this.getTableHtml(m,P),I=this.createtempEmptyRowsTargetStructure(P);P?this.updateTargetWidth(I):this.updateTargetSize(I),this.css(I,m),this.css(a,m),this.getTempContainer().html(""),this.getTempContainer().append(I);var h=I.find("tfoot").outerHeight()||0;I.find("tfoot").remove();for(var M,u=this.getBeginPrintTopInPaperByReferenceElement(v),d=0,A=!1;!A;){var Z=0,L=v.getPaperFooter(d);d==0&&u>L&&v.panelPageRule!="none"&&(u=u-L+v.paperHeader,o.push(new b.a({target:void 0,printLine:void 0})),Z=v.getContentHeight(d)-(u-v.paperHeader),d++,L=v.getPaperFooter(d));var J=o.length>0?o[o.length-1].target:void 0,Y=this.getRowsInSpecificHeight(P,Z>0?Z:d==0?L-u:v.getContentHeight(d),I,a,d,J,h);if(A=Y.isEnd,Z<0){var R=this.options.top;o[0].target=x.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=u,o[0].referenceElement=new c.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:R+this.options.lHeight,printTopInPaper:u}),o[0].target.css("top",R+"pt"),o[0].target.css("left",this.options.displayLeft());break}var V=void 0;Y.target&&(Y.target.css("left",this.options.displayLeft()),Y.target[0].height=""),d==0||Z>0?(Y.target&&(M=u,Y.target.css("top",u+"pt")),V=A&&this.options.lHeight!=null?u+(Y.height>this.options.lHeight?Y.height:this.options.lHeight):u+Y.height):(Y.target&&(M=v.paperHeader,Y.target.css("top",v.paperHeader+"pt")),V=v.paperHeader+Y.height),o.push(new b.a({target:Y.target,printLine:V,referenceElement:new c.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:V,printTopInPaper:M})})),d++,P&&this.updatePanelHeight(V+this.options.getHeight(),v)}return o},j.prototype.getRowsInSpecificHeight=function(v,P,o,m,a,I,h){var M=this,u=m.find("tbody"),d=l.a.pt.toPx(P);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"&&(v?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=o.outerHeight();if(!A&&Z>d)return{target:void 0,length:0,height:0,isEnd:!1};for(var L=this.options.getGridColumns(),J=[],Y=0;Y<L;Y++)for(var R=o.find(".hiprint-printElement-tableTarget:eq("+Y+")"),V=void 0,q=[];;){if(A){var z=u.find("tr").length;if(z==0)V={height:l.a.px.toPt(Z),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(d,R,h),Z=o.outerHeight());else{var et=u.find("tr:lt(1)");R.find("tbody").append(et);var ot=et.data("rowData");J.push(ot),q.push(ot),Z=o.outerHeight(),z==0&&(u.prepend(et),J.pop(),q.pop(),V={height:l.a.px.toPt(Z),isEnd:!1})}}else if(Z<=d)if(u.find("tr").length==0)V={height:l.a.px.toPt(Z),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(d,R,h),Z=R.outerHeight());else{var et=u.find("tr:lt(1)");M.options.rowsColumnsMerge&&(a>0||Y>0)&&q.length==0&&(et=M.fixMergeSpan(et,u)),R.find("tbody").append(et);var ot=et.data("rowData");J.push(ot),q.push(ot),Z=R.outerHeight(),((Z+=h)>d||this.options.maxRows&&q.length>+this.options.maxRows)&&(u.prepend(et),J.pop(),q.pop(),Z=o.outerHeight(),V={height:l.a.px.toPt(Z),isEnd:!1})}if(V){if(this.options.tableFooterRepeat=="last"&&!V.isEnd)break;this.options.tableFooterRepeat!=="no"&&(w.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,q).insertBefore(R.find("tbody")),M.css(R,v));break}}var pt=o.find(".hiprint-printElement-tableTarget tbody tr").length,st=this.getGridColumnsFooterFormatter();st&&o.find(this.gridColumnsFooterCss).html(st(this.options,this.getData(v),v,J)),Z=o.outerHeight();var ht=u.find("tr").length==0?pt==0&&I?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!1};return ht},j.prototype.fixMergeSpan=function(v,P){var o=this;let m=1,a=!1,I=1,h=!1;return v.nextAll().each(function(M){x.default(this).children().filter("td[rowspan=0]").length>0&&!a?m+=1:a=!0,x.default(this).children().filter("td[colspan=0]").length>0&&!h?I+=1:h=!0}),v.children().each(function(M,u){x.default(u).attr("rowspan")<1&&(x.default(u).attr("rowspan",m),x.default(u).css("display",""),o.options.rowsColumnsMergeClean&&x.default(u).text("")),x.default(u).attr("colspan")<1&&(x.default(u).attr("colspan",I),x.default(u).css("display",""),o.options.rowsColumnsMergeClean&&x.default(u).text(""))}),v},j.prototype.autoCompletion=function(v,P){for(var o=this,m,a=this.getEmptyRowTarget(),I=P.outerHeight()+tfh;v>I&&(m=a.clone(),P.find("tbody").append(m),I=P.outerHeight()+tfh,!(o.options.maxRows&&P.find("tbody").children().length>o.options.maxRows)););m&&m.remove()},j.prototype.getData=function(v){if(!v)return[{}];var P=this.getField(),o=P&&P.split(".").reduce((m,a)=>m?m[a]:v?v[a]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},j.prototype.onResize=function(v,P,o,m,a){H.prototype.updateSizeAndPositionOptions.call(this,a,m,o,P),w.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},j.prototype.getReizeableShowPoints=function(){return this.options.showPoints||E.a.instance.table.showPoints},j.prototype.design=function(v,P){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,h){o.updateSizeAndPositionOptions(I,h),o.createLineOfPosition(P),r.a.instance.changed=!0},moveUnit:"pt",minMove:E.a.instance.movingDistance,onBeforeDrag:function(a){r.a.instance.draging=!0,o.createLineOfPosition(P)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(a){r.a.instance.changed&&l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),r.a.instance.draging=!1,r.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:E.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){r.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(a,I,h,M,u){o.onResize(a,I,h,M,u),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(P)},onStopResize:function(a){l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,a?"\u65CB\u8F6C":"\u5927\u5C0F"),r.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,P)},j.prototype.setHitable=function(){var v=this;this.hitable=new C.a({templateId:v.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),l.a.event.on("updateTable"+this.hitable.id,function(){v.updateDesignViewFromOptions(),l.a.event.trigger("hiprintTemplateDataChanged_"+v.templateId,"\u8C03\u6574\u8868\u5934")})},j.prototype.setColumnsOptions=function(){var v=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(P){var o=x.default(P.target).attr("id")||x.default(P.target).attr("column-id"),m=v.getColumnByColumnId(o);if(m){var a=v.getPrintElementOptionItemsByName("tableColumn");l.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:a,options:m,callback:function(h){a.forEach(function(M){var u=M.getValue();if(M.name=="title"&&u&&!u.trim().endsWith("#")&&!u.trim().startsWith("#")){var d=u?u.split("#"):"";m.title=d[0],d.length>1&&(m.columnId=m.field=d[1]),m.columnId&&m.target.attr("column-id",m.columnId),M.target.find("textarea").val(d[0]);return}m[M.name]=u})}}]})}else l.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v})})},j.prototype.filterOptionItems=function(v){var P=H.prototype.filterOptionItems.call(this,v);return this.printElementType.editable&&this.options.columns.length==1?P:v.filter(function(o){return o.name!="columns"})},j.prototype.getFooterFormatter=function(){var v=void 0;if(this.printElementType.footerFormatter&&(v=this.printElementType.footerFormatter),this.options.footerFormatter)try{var P="footerFormatter="+this.options.footerFormatter;eval2(P)}catch(o){console.log(o)}return v},j.prototype.getGridColumnsFooterFormatter=function(){var v=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(v=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var P="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;v=eval2(P)}catch(o){console.log(o)}return v},j}(W.a)},function($,F,g){var W=function(){return function(P){this.table=P.table,this.templateId=P.templateId,this.fields=P.fields,this.isEnableEdit=P.isEnableEdit,this.trs=P.trs,this.resizeRow=P.resizeRow,this.resizeColumn=P.resizeColumn,this.isEnableEditField=P.isEnableEditField,this.isEnableContextMenu=P.isEnableContextMenu,this.isEnableEditField=P.isEnableEditField,this.isEnableInsertRow=P.isEnableInsertRow,this.isEnableDeleteRow=P.isEnableDeleteRow,this.isEnableInsertColumn=P.isEnableInsertColumn,this.isEnableDeleteColumn=P.isEnableDeleteColumn,this.isEnableMergeCell=P.isEnableMergeCell,this.columnResizable=P.columnResizable,this.columnAlignEditable=P.columnAlignEditable}}(),E=function(){function P(o){this.options=new W(o)}return P.prototype.enableEidt=function(){this.options.isEnableEdit},P.prototype.disableEdit=function(){this.options.isEnableEdit},P.prototype.isEnableEdit=function(){return this.options.isEnableEdit},P}(),b=g(0),l=function(){return function(P){this.cell=P.cell,this.link=P.link,this.linkType=P.linkType,this.bottom=P.bottom,this.rightMost=P.rightMost,this.rowLevel=P.rowLevel,this.columnLevel=P.columnLevel,this.indexInTableGridRow=P.indexInTableGridRow,this.indexInTableGridColumn=P.indexInTableGridColumn}}(),c=g(10),s=function(){function P(){}return P.getLeftTableCell=function(o,m){var a;return o.forEach(function(I,h){I.cell&&h<m&&(a=I.cell)}),a},P.getIndex=function(o,m){var a;return o.forEach(function(I,h){I.cell&&I.cell.id==m&&(a=h)}),a},P}(),w=g(13),C=g(11),N=function(){return function(P,o){this.target=P,this.grips=o}}(),r=function(){return function(P){this.target=P}}(),T=function(){return function(){this.rowColumns=[]}}(),S=function(){function P(){}return P.getColumnsWidth=function(o,m){var a={},I=P.allAutoWidth(o);return o.rowColumns.forEach(function(h){var M=m-0,u=h.width/I*(M>0?M:0);a[h.id]=u}),a},P.resizeTableCellWeight=function(o){o.forEach(function(m){m.columns.forEach(function(a){a.hasWidth&&x.default(a.getTarget()).css("width",a.width+"pt")})})},P.allAutoWidth=function(o){var m=0;return o.rowColumns.forEach(function(a){m+=a.width}),m},P.reconsitutionTableColumnTree=function(o,m,a){for(var I=m||new T,h=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}))},M=0;M<o.length;M++)h(M);return I},P}(),D=g(2),H=function(){function P(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return P.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},P.prototype.resizeTableCellWidth=function(){S.resizeTableCellWeight(this.rows)},P.prototype.addResizeRowAndColumn=function(){},P.prototype.createColumnGrips=function(){var o=this,m=this,a=[],I=x.default('<div class="columngrips"/>');I.width(this.target.width()),this.rows.forEach(function(h){(h.columns||[]).filter(function(M){return M.checked}).forEach(function(M,u){if(M.getTarget().attr("haswidth")){var d=x.default('<div class="columngrip"><div class="gripResizer"></div></div>');I.append(d);var A=new r(d);a.length>0&&(a[a.length-1].nextGrip=A),a.push(A),o.syncGrips(M,A),x.default(d).hidraggable({axis:"h",onDrag:function(L,J,Y){},moveUnit:"pt",minMove:1,getScale:function(){return x.default(".hiprint-printPaper")[0].style.transform&&parseFloat(x.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(L){if(D.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(L){D.a.instance.draging=!1;var J=parseFloat(m.dragingGrip.target.css("left").replace("px","")),Y=b.a.px.toPt(J-m.dragingGrip.left);A.cell.width+Y<10?Y=10-A.cell.width:A.nextGrip.cell.width-Y<10&&(Y=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+Y,A.nextGrip.cell.width=A.nextGrip.cell.width-Y,o.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(I),this.cgripContariner=new N(I,a)},P.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},P.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},P.prototype.createRowGrips=function(){var o=this,m=this,a=[],I=x.default('<div class="rowgrips"/>');this.rows.forEach(function(h,M){var u=x.default('<div class="rowgrip"><div class="gripResizer"></div></div>');I.append(u);var d=new r(u);a.push(d),M>0&&M<o.rows.length&&x.default(u).hidraggable({axis:"v",onDrag:function(Z,L,J){},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 L=parseFloat(m.dragingGrip.target.css("top").replace("px","")),J=b.a.px.toPt(L-m.dragingGrip.top+m.rows[M].columns[0].getTarget().height());m.rows[M].columns[0].getTarget().css("height",J+"pt"),m.syncRowGrips(),d.target.removeClass("rowgripDraging")}})}),this.target.before(I),this.rgripContariner=new N(I,a),this.syncRowGrips()},P.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})},P.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})})},P.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},P}(),j=function(){function P(){}return P.prototype.init=function(){},P.prototype.updateRowGrips=function(){},P.prototype.updateColumnGrips=function(){},P}();g.d(F,"a",function(){return v});var v=function(){function P(o){this.id=C.a.createId(),this.optionsCoat=new E(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new c.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new H(this):new j,this.resizer.init()}return P.prototype.insertRow=function(o,m,a){var I=m||this.tableCellSelector.getSingleSelect(),h=I.cell,M=this.rows[I.rowIndex],u=I.rowIndex,d=this.getCellGrid(),A=new w.a;if(A.init(this.optionsCoat,void 0,M.isHead),a&&A.getTarget().addClass(a),o=="above")d[u].forEach(function(L){var J=L.link?L.link:L.cell,Y=J.width/J.colspan;if(L.columnLevel==0){var R=A.createTableCell();R.width=Y,A.insertCellToLast(R)}else{if(L.linkType=="column"){var V=L.link.getTarget();L.link.rowspan+=1,V.attr("rowspan",L.link.rowspan)}L.linkType}}),this.rows.splice(u,0,A),M.getTarget().before(A.getTarget()),b.a.event.trigger("newRow"+this.id,A);else{var Z=u+h.rowspan-1;d[Z].forEach(function(L){var J=L.link?L.link:L.cell,Y=J.width/J.colspan;if(L.bottom){var R=A.createTableCell();R.width=Y,A.insertCellToLast(R)}else{if(L.cell){var V=L.cell.getTarget();L.cell.rowspan+=1,V.attr("rowspan",L.cell.rowspan)}L.linkType=="column"&&(V=L.link.getTarget(),L.link.rowspan+=1,V.attr("rowspan",L.link.rowspan))}}),this.rows.splice(Z+1,0,A),this.rows[Z].getTarget().after(A.getTarget()),b.a.event.trigger("newRow"+this.id,A)}},P.prototype.insertColumn=function(o,m,a,I){var h=this,M=this.rows.concat(this.trRows),u=m||this.tableCellSelector.getSingleSelect(),d=u.cell,A=u.rowIndex,Z=this.getCellGrid(M),L=Z[A].filter(function(R){return R.cell&&R.cell.id==d.id||R.link&&R.link.id==d.id});if(o=="left"){var J=L[0].indexInTableGridRow;Z.forEach(function(R,V){var q=R[J],z=R.filter(function(st,ht){return ht>=J&&st.cell});if(q.rowLevel==0){var et=M[V],ot=M[V].createTableCell();a&&ot.getTarget().addClass(a),I!=null&&(ot.width=I),z.length?et.insertToTargetCellLeft(z[0].cell,ot):et.insertCellToLast(ot),b.a.event.trigger("newCell"+h.id,ot)}else if(q.linkType=="row"){var pt=q.link.getTarget();q.link.colspan+=1,pt.attr("colspan",q.link.colspan)}})}else{var Y=L[L.length-1].indexInTableGridRow;Z.forEach(function(R,V){var q=R[Y],z=R.filter(function(ht,mt){return mt<=Y&&ht.cell});if(q.rightMost){var et=M[V],ot=et.createTableCell();a&&ot.getTarget().addClass(a),I!=null&&(ot.width=I),z.length?et.insertToTargetCellRight(z[z.length-1].cell,ot):et.insertCellToFirst(ot),b.a.event.trigger("newCell"+h.id,ot)}else{var pt=q.link||q.cell;if(q.linkType=="row"){var st=pt.getTarget();pt.colspan+=1,st.attr("colspan",pt.colspan)}q.cell&&(st=pt.getTarget(),pt.colspan+=1,st.attr("colspan",pt.colspan))}})}},P.prototype.deleteRow=function(){var o=this,m=this.tableCellSelector.getSingleSelect(),a=(m.cell,this.rows[m.rowIndex],m.rowIndex),I=this.getCellGrid(),h=this.rows[a];I[a].forEach(function(M,u){if(M.cell)if(M.cell.rowspan==1)h.removeCell(M.cell);else{h.removeCell(M.cell);var d=I[a+1].filter(function(J,Y){return J.cell&&Y>u}),A=o.rows[a+1],Z=A.createTableCell(M.cell.rowspan-1,M.cell.colspan);d.length?A.insertToTargetCellLeft(d[0].cell,Z):A.insertCellToLast(Z)}else if(M.linkType=="column"){var L=M.link;L.rowspan-=1,L.getTarget().attr("rowspan",L.rowspan)}}),h.getTarget().remove(),this.rows.splice(a,1)},P.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),a=m.cell,I=m.rowIndex,h=this.getCellGrid(o),M=h[I].filter(function(u){return u.cell&&u.cell.id==a.id||u.link&&u.link.id==a.id})[0].indexInTableGridRow;h.forEach(function(u,d){var A=u[M];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))})},P.prototype.mergeCell=function(){var o=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var a=m[0][0].cell;m.forEach(function(I,h){I.forEach(function(M,u){h==0?u!=0&&(a.colspan+=M.cell.colspan,o.rows[M.rowIndex].removeCell(M.cell)):o.rows[M.rowIndex].removeCell(M.cell),u==0&&m[0][0].rowIndex+a.rowspan-1<M.rowIndex&&(a.rowspan+=M.cell.rowspan)})}),a.getTarget().attr("colspan",a.colspan),a.getTarget().attr("rowspan",a.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},P.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),a=s.getIndex(m[o.rowIndex],o.cell.id);if(o){for(var I=o.rowIndex;I<o.rowIndex+o.cell.rowspan;I++)for(var h=this.rows[I],M=I==o.rowIndex?o.cell:s.getLeftTableCell(m[I],a),u=0;u<o.cell.colspan;u++)I==o.rowIndex&&u==0||(M?h.insertToTargetCellRight(M,h.createTableCell()):h.insertCellToFirst(h.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)}},P.prototype.init=function(o){var m=this;x.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)},x.default(this.target).mousedown(function(a){m.optionsCoat.isLeftMouseButtonDown=!0}),x.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)})},P.prototype.initRows=function(o){var m=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(I,h){I.init(m.optionsCoat,m.target.find("tr:eq("+h+")"),!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"))},P.prototype.initRowsByTrs=function(o){var m=this;return o.map(function(a,I){var h=new w.a;return h.init(m.optionsCoat,x.default(I)),h}).get()},P.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},P.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},P.prototype.getCellGrid=function(o){var m=o||this.rows,a=this.getColumnStep(),I=[];return m.forEach(function(h,M){h.columns.forEach(function(u,d){for(var A=0;A<u.colspan;A++)for(var Z=0,L=!1;Z<a&&!L;){if(I[M]=I[M]||[],!I[M][Z]){I[M][Z]=new l({cell:A==0?u:void 0,link:A!=0?u:void 0,linkType:A>0?"row":void 0,rightMost:A==u.colspan-1||void 0,bottom:u.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:Z,indexInTableGridColumn:M});for(var J=M+1,Y=1;Y<u.rowspan;Y++)I[J]=I[J]||[],I[J][Z]=new l({cell:void 0,link:u,linkType:A>0?"rowColumn":"column",rightMost:A==u.colspan-1||void 0,bottom:Y==u.rowspan-1,rowLevel:A,columnLevel:Y,indexInTableGridRow:Z,indexInTableGridColumn:J}),J+=1;L=!0}Z++}})}),I},P.prototype.setAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(o)},P.prototype.setVAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(o)},P.prototype.getColumnStep=function(o){var m=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(a){m+=a.colspan}),m},P.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;x.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})})},P.prototype.getTableWidth=function(){return b.a.px.toPt(this.target.outerWidth(!1))},P.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},P.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},P}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(E,b,l){this.tid=E,this.options=b,this.printElementType=l}}()},function($,F,g){var W=g(3),E=g(12),b=function(){return function(C){this.width=C.width,this.title=C.title,this.field=C.field,this.checked=C.checked,this.columnId=C.columnId,this.fixed=!1,this.rowspan=C.rowspan||1,this.colspan=C.colspan||1,this.align=C.align,this.halign=C.halign,this.vAlign=C.vAlign,this.renderFormatter=C.renderFormatter,this.formatter2=C.formatter2,this.styler2=C.styler2,this.stylerHeader=C.stylerHeader,this.tableColumnHeight=C.tableColumnHeight,this.tableTextType=C.tableTextType,this.tableBarcodeMode=C.tableBarcodeMode,this.tableQRCodeLevel=C.tableQRCodeLevel,this.tableSummaryTitle=C.tableSummaryTitle,this.tableSummaryText=C.tableSummaryText,this.tableSummary=C.tableSummary,this.tableSummaryAlign=C.tableSummaryAlign,this.tableSummaryNumFormat=C.tableSummaryNumFormat,this.upperCase=C.upperCase}}(),l=g(5);g.d(F,"a",function(){return w});var c,s=(c=function(N,r){return(c=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(T,S){T.__proto__=S}||function(T,S){for(var D in S)S.hasOwnProperty(D)&&(T[D]=S[D])})(N,r)},function(C,N){function r(){this.constructor=C}c(C,N),C.prototype=N===null?Object.create(N):(r.prototype=N.prototype,new r)}),w=function(C){function N(r,T){var S=this;return r=r||{},(S=C.call(this,r)||this).lHeight=r.lHeight,S.autoCompletion=r.autoCompletion,S.tableFooterRepeat=r.tableFooterRepeat,T&&(S.columns=[],T.editable&&r.columns&&r.columns.length?r.columns.forEach(function(D){var H=[];D.forEach(function(j){var v=new b(j),P=T.getColumnByColumnId(v.columnId),o=P?x.default.extend(P,v):new l.a(v);H.push(o)}),S.columns.push(new E.a(H))}):T.columns.forEach(function(D){S.columns.push(new E.a(D))})),S}return s(N,C),N.prototype.getColumnByColumnId=function(r){return this.makeColumnObj()[r]},N.prototype.makeColumnObj=function(){var r={};return this.columns&&this.columns.forEach(function(T){T.columns.forEach(function(S){(S.id||S.columnId)&&(r[S.id||S.columnId]=S)})}),r},N.prototype.getGridColumns=function(){return this.gridColumns||1},N.prototype.getPrintElementOptionEntity=function(){var r=C.prototype.getPrintElementOptionEntity.call(this);return r.fields=this.fields,this.columns&&(r.columns=[],this.columns.forEach(function(T){var S=T.getPrintElementOptionEntity().map(function(D){return new b(D)});r.columns.push(S)})),r},N}(W.a)},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(){this.rowColumns=[]}}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(b,l){this.gridColumns=b,this.target=l}return E.prototype.getByIndex=function(b){return this.target.find(".hi-grid-col:eq("+b+")")},E}()},function($,F,g){$.exports=g(33)},function($,F){(function(g){function W(r){var T=g.data(r.data.target,"hidraggable"),S=T.options,D=T.proxy,H=r.data,j=H.startLeft+(r.pageX-H.startX)/(T.options.getScale()||1),v=H.startTop+(r.pageY-H.startY)/(T.options.getScale()||1);D&&(D.parent()[0]==document.body?(j=S.deltaX!=null&&S.deltaX!=null?r.pageX+S.deltaX:r.pageX-r.data.offsetWidth,v=S.deltaY!=null&&S.deltaY!=null?r.pageY+S.deltaY:r.pageY-r.data.offsetHeight):(S.deltaX!=null&&S.deltaX!=null&&(j+=r.data.offsetWidth+S.deltaX),S.deltaY!=null&&S.deltaY!=null&&(v+=r.data.offsetHeight+S.deltaY))),r.data.parent!=document.body&&(j+=g(r.data.parent).scrollLeft(),v+=g(r.data.parent).scrollTop()),S.axis=="h"?H.left=j:S.axis=="v"||r.shiftKey&&r.altKey?H.top=v:r.shiftKey?H.left=j:(H.left=j,H.top=v)}function E(r){var T=g.data(r.data.target,"hidraggable"),S=T.options,D=T.proxy;D||(D=g(r.data.target)),D.css({left:g.fn.dragLengthC(r.data.left,S),top:g.fn.dragLengthC(r.data.top,S)}),g("body").css("cursor",S.cursor)}function b(r){g.fn.hidraggable.isDragging=!0;var T=g.data(r.data.target,"hidraggable"),S=T.options,D=g(".hidroppable").filter(function(){return r.data.target!=this}).filter(function(){var j=g.data(this,"hidroppable")&&g.data(this,"hidroppable").options.accept;return!j||g(j).filter(function(){return this==r.data.target}).length>0});T.hidroppables=D;var H=T.proxy;return H||(S.proxy?(H=S.proxy=="clone"?g(r.data.target).clone().insertAfter(r.data.target):S.proxy.call(r.data.target,r.data.target),T.proxy=H):H=g(r.data.target)),H.css("position","absolute"),W(r),E(r),S.onStartDrag.call(r.data.target,r),!1}function l(r,T,S,D,H,j){Math.abs(r[S]-T[D])<=HIPRINT_CONFIG.adsorbLineMin?r.v.length?r.v.css("left",r[S]+"pt"):(r.v=x.default("<div class='verLine id-"+r.id+"'></div>"),r.v.css("height",H+"pt"),r.v.css("left",r[S]+"pt"),j.append(r.v)):r.v&&r.v.remove()}function c(r){r&&r.v&&r.v.remove(),x.default(".verLine").remove()}function s(r,T,S,D,H,j){Math.abs(r[S]-T[D])<=HIPRINT_CONFIG.adsorbLineMin?r.h.length?r.h.css("top",r[S]+"pt"):(r.h=x.default("<div class='horLine id-"+r.id+"'></div>"),r.h.css("width",H+"pt"),r.h.css("top",r[S]+"pt"),j.append(r.h)):r.h&&r.h.remove()}function w(r){r&&r.h&&r.h.remove(),x.default(".horLine").remove()}function C(r){var T=g.data(r.data.target,"hidraggable");if(W(r),!(r.ctrlKey||r.metaKey)&&(r.data.target.className.startsWith("resize-panel")||r.data.target.style.zIndex=="2"||r.data.target.className.startsWith("hiprint-printElement"))){var S=r.data;if(g(".mouseRect").length==0&&T.options.designTarget&&T.options.designTarget.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&!h.printElementType.type.includes("table")}).length<=1){let h=window.hinnn.px.toPt(S.left),M=window.hinnn.px.toPt(S.top),u=T.options.designTarget.options;u.left=h,u.top=M,u.right=h+u.width,u.bottom=M+u.height,u.vCenter=h+u.width/2,u.hCenter=M+u.height/2,(()=>{let d=T.options.designTarget.panel.printElements.filter(q=>q.id!=T.options.designTarget.id).map(q=>{let{left:z,top:et,width:ot,height:pt}=q.options,st=z+ot,ht=z+ot/2,mt=et+pt/2,ut=u.left+u.width/2,bt=u.top+u.height/2,dt=u.left+u.width,lt,vt,yt,Mt;return vt=Math.sqrt(Math.pow(z-u.left,2)+Math.pow(mt-bt,2)),yt=Math.sqrt(Math.pow(ht-ut,2)+Math.pow(mt-bt,2)),Mt=Math.sqrt(Math.pow(st-dt,2)+Math.pow(mt-bt,2)),lt=Math.min(vt,yt,Mt),{...q.options,distance:lt,h:x.default(".horLine.id-"+q.id),v:x.default(".verLine.id-"+q.id),bottom:et+pt,right:z+ot,vCenter:ht,hCenter:mt}}).sort((q,z)=>q.distance-z.distance).slice(0,1),A=T.options.designTarget.designPaper,Z=A.target.find(".hiprint-printPaper-content"),L=A.width,J=A.height,Y=HIPRINT_CONFIG.showAdsorbLine,R=HIPRINT_CONFIG.adsorbMin,V=HIPRINT_CONFIG.adsorbLineMin;d.forEach((q,z)=>{Math.abs(d[z].left-u.left)<=R?(u.left=d[z].left,c(d[z])):Math.abs(d[z].vCenter-u.left)<=R?(u.left=d[z].vCenter,c(d[z])):Math.abs(d[z].right-u.left)<=R&&(u.left=d[z].right,c(d[z])),Math.abs(d[z].left-u.vCenter)<=R?(u.left=d[z].left-u.width/2,c(d[z])):Math.abs(d[z].vCenter-u.vCenter)<=R?(u.left=d[z].vCenter-u.width/2,c(d[z])):Math.abs(d[z].right-u.vCenter)<=R&&(u.left=d[z].right-u.width/2,c(d[z])),Math.abs(d[z].left-u.right)<=R?(u.left=d[z].left-u.width,c(d[z])):Math.abs(d[z].vCenter-u.right)<=R?(u.left=d[z].vCenter-u.width,c(d[z])):Math.abs(d[z].right-u.right)<=R&&(u.left=d[z].right-u.width,c(d[z])),Math.abs(d[z].top-u.top)<=R?(u.top=d[z].top,w(d[z])):Math.abs(d[z].hCenter-u.top)<=R?(u.top=d[z].hCenter,w(d[z])):Math.abs(d[z].bottom-u.top)<=R&&(u.top=d[z].bottom,w(d[z])),Math.abs(d[z].top-u.hCenter)<=R?(u.top=d[z].top-u.height/2,w(d[z])):Math.abs(d[z].hCenter-u.hCenter)<=R?(u.top=d[z].hCenter-u.height/2,w(d[z])):Math.abs(d[z].bottom-u.hCenter)<=R&&(u.top=d[z].bottom-u.height/2,w(d[z])),Math.abs(d[z].top-u.bottom)<=R?(u.top=d[z].top-u.height,w(d[z])):Math.abs(d[z].hCenter-u.bottom)<=R?(u.top=d[z].hCenter-u.height,w(d[z])):Math.abs(d[z].bottom-u.bottom)<=R&&(u.top=d[z].bottom-u.height,w(d[z])),Y&&(Math.abs(d[z].left-u.left)>R&&Math.abs(d[z].left-u.left)<=V?l(d[z],u,"left","left",J,Z):Math.abs(d[z].vCenter-u.left)>R&&Math.abs(d[z].vCenter-u.left)<=V?l(d[z],u,"vCenter","left",J,Z):Math.abs(d[z].right-u.left)>R&&Math.abs(d[z].right-u.left)<=V?l(d[z],u,"right","left",J,Z):Math.abs(d[z].left-u.vCenter)>R&&Math.abs(d[z].left-u.vCenter)<=V?l(d[z],u,"left","vCenter",J,Z):Math.abs(d[z].vCenter-u.vCenter)>R&&Math.abs(d[z].vCenter-u.vCenter)<=V?l(d[z],u,"vCenter","vCenter",J,Z):Math.abs(d[z].right-u.vCenter)>R&&Math.abs(d[z].right-u.vCenter)<=V?l(d[z],u,"right","vCenter",J,Z):Math.abs(d[z].left-u.right)>R&&Math.abs(d[z].left-u.right)<=V?l(d[z],u,"left","right",J,Z):Math.abs(d[z].vCenter-u.right)>R&&Math.abs(d[z].vCenter-u.right)<=V?l(d[z],u,"vCenter","right",J,Z):Math.abs(d[z].right-u.right)>R&&Math.abs(d[z].right-u.right)<=V?l(d[z],u,"right","right",J,Z):Math.abs(d[z].top-u.top)>R&&Math.abs(d[z].top-u.top)<=V?s(d[z],u,"top","top",L,Z):Math.abs(d[z].hCenter-u.top)>R&&Math.abs(d[z].hCenter-u.top)<=V?s(d[z],u,"hCenter","top",L,Z):Math.abs(d[z].bottom-u.top)>R&&Math.abs(d[z].bottom-u.top)<=V?s(d[z],u,"bottom","top",L,Z):Math.abs(d[z].top-u.hCenter)>R&&Math.abs(d[z].top-u.hCenter)<=V?s(d[z],u,"top","hCenter",L,Z):Math.abs(d[z].hCenter-u.hCenter)>R&&Math.abs(d[z].hCenter-u.hCenter)<=V?s(d[z],u,"hCenter","hCenter",L,Z):Math.abs(d[z].bottom-u.hCenter)>R&&Math.abs(d[z].bottom-u.hCenter)<=V?s(d[z],u,"bottom","hCenter",L,Z):Math.abs(d[z].top-u.bottom)>R&&Math.abs(d[z].top-u.bottom)<=V?s(d[z],u,"top","bottom",L,Z):Math.abs(d[z].hCenter-u.bottom)>R&&Math.abs(d[z].hCenter-u.bottom)<=V?s(d[z],u,"hCenter","bottom",L,Z):Math.abs(d[z].bottom-u.bottom)>R&&Math.abs(d[z].bottom-u.bottom)<=V?s(d[z],u,"bottom","bottom",L,Z):(c(d[z]),w(d[z])))})})(),r.data.left=window.hinnn.pt.toPx(u.left),r.data.top=window.hinnn.pt.toPx(u.top)}var D=S.parent.className.endsWith("design")?S.parent:S.parent.offsetParent,H=D.clientWidth,j=D.clientHeight,v=S.target.clientWidth,P=S.target.clientHeight,o=0,m=0;if(T.options.designTarget&&T.options.designTarget.options.transform){var a=T.options.designTarget.options.getRectInfo();o=window.hinnn.pt.toPx(a.diffW),m=window.hinnn.pt.toPx(a.diffH)}S.left<0-o?S.left=0-o:S.left>=H-v+o&&(S.left=H-v+o),S.top<0-m?S.top=0-m:S.top>=j-P+m&&(S.top=j-P+m),r.data=S}T.options.onDrag.call(r.data.target,r,g.fn.dragLengthCNum(r.data.left,T.options),g.fn.dragLengthCNum(r.data.top,T.options))!=0&&E(r);var I=r.data.target;return T.hidroppables.each(function(){var h=g(this);if(!h.hidroppable("options").disabled){var M=h.offset();r.pageX>M.left&&r.pageX<M.left+h.outerWidth()&&r.pageY>M.top&&r.pageY<M.top+h.outerHeight()?(this.entered||(g(this).trigger("_dragenter",[I]),this.entered=!0),g(this).trigger("_dragover",[I])):this.entered&&(g(this).trigger("_dragleave",[I]),this.entered=!1)}}),!1}function N(r){g.fn.hidraggable.isDragging=!1;var T,S,D=g.data(r.data.target,"hidraggable"),H=D.proxy,j=D.options;j.revert?P()==1?g(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}):H?(H.parent()[0]==document.body?(T=r.data.startX-r.data.offsetWidth,S=r.data.startY-r.data.offsetHeight):(T=r.data.startLeft,S=r.data.startTop),H.animate({left:T,top:S},function(){v()})):g(r.data.target).animate({left:r.data.startLeft,top:r.data.startTop},function(){g(r.data.target).css("position",r.data.startPosition)}):(g(r.data.target).css({position:"absolute",left:g.fn.dragLengthC(r.data.left,j),top:g.fn.dragLengthC(r.data.top,j)}),P());function v(){H&&H.remove(),D.proxy=null}function P(){var o=!1;return D.hidroppables.each(function(){var m=g(this);if(!m.hidroppable("options").disabled){var a=m.offset();return r.pageX>a.left&&r.pageX<a.left+m.outerWidth()&&r.pageY>a.top&&r.pageY<a.top+m.outerHeight()?(j.revert&&g(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}),g(this).trigger("_drop",[r.data.target]),v(),o=!0,this.entered=!1,!1):void 0}}),o||j.revert||v(),o}return j.onStopDrag.call(r.data.target,r),g(document).unbind(".hidraggable"),setTimeout(function(){g("body").css("cursor","")},100),!1}g.fn.hidraggable=function(r,T){return typeof r=="string"?g.fn.hidraggable.methods[r](this,T):this.each(function(){var S,D=g.data(this,"hidraggable");D?(D.handle.unbind(".hidraggable"),S=g.extend(D.options,r)):S=g.extend({},g.fn.hidraggable.defaults,g.fn.hidraggable.parseOptions(this),r||{});var H=S.handle?typeof S.handle=="string"?g(S.handle,this):S.handle:g(this);function j(v){var P=g.data(v.data.target,"hidraggable"),o=P.handle,m=g(o).offset(),a=g(o)[0].style.transform&&parseInt(g(o)[0].style.transform.slice(7,-1)),I=P.options.getScale(),h=g(o).outerWidth(),M=g(o).outerHeight();if(a){var u=a*Math.PI/180,d=g(o).outerWidth(),A=g(o).outerHeight(),Z=Math.sin(u),L=Math.cos(u);h=Math.abs(d*L)+Math.abs(A*Z),M=Math.abs(d*Z)+Math.abs(A*L)}I&&(h*=I,M*=I);var J=v.pageY-m.top,Y=m.left+h-v.pageX,R=m.top+M-v.pageY,V=v.pageX-m.left;return Math.min(J,Y,R,V)>P.options.edge}g.data(this,"hidraggable",{options:S,handle:H}),S.disabled?g(this).css("cursor",""):H.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(v){if(!g.fn.hidraggable.isDragging){var P=g.data(v.data.target,"hidraggable").options;j(v)?g(this).css("cursor",P.cursor):g(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(v){g(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(v){if(j(v)!=0){g(this).css("cursor","");var P=g(v.data.target).position(),o=g(v.data.target).offset(),m={startPosition:g(v.data.target).css("position"),startLeft:P.left,startTop:P.top,left:P.left,top:P.top,startX:v.pageX,startY:v.pageY,offsetWidth:v.pageX-o.left,offsetHeight:v.pageY-o.top,target:v.data.target,parent:g(v.data.target).parent()[0]},a=g.data(v.data.target,"hidraggable");if(a.options.draggable===!1||v.target.className=="r resizebtn")return;var I=a.options.getScale();I&&(m.left/=I,m.top/=I,m.startLeft/=I,m.startTop/=I);var h=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(h){var M=h*Math.PI/180,u=g(v.data.target).outerWidth(),d=g(v.data.target).outerHeight(),A=Math.sin(M),Z=Math.cos(M),L=Math.abs(u*Z)+Math.abs(d*A),J=Math.abs(u*A)+Math.abs(d*Z),Y=(L-u)/2,R=(J-d)/2;m.left+=Y,m.top+=R,m.startLeft+=Y,m.startTop+=R}g.extend(v.data,m),g.data(v.data.target,"hidraggable").options.onBeforeDrag.call(v.data.target,v)!=0&&(g(document).bind("mousedown.hidraggable",v.data,b),g(document).bind("mousemove.hidraggable",v.data,C),g(document).bind("mouseup.hidraggable",v.data,N))}})})},g.fn.hidraggable.methods={options:function(T){return g.data(T[0],"hidraggable").options},update:function(T,S){S&&typeof S=="object"&&g.data(T[0],"hidraggable")&&Object.keys(S).forEach(function(D){g.data(T[0],"hidraggable").options[D]=S[D]})},proxy:function(T){return g.data(T[0],"hidraggable").proxy},enable:function(T){return T.each(function(){g(this).hidraggable({disabled:!1})})},disable:function(T){return T.each(function(){g(this).hidraggable({disabled:!0})})}},g.fn.hidraggable.parseOptions=function(r){var T=g(r);return g.extend({},g.hiprintparser.parseOptions(r,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!T.attr("disabled")||void 0})},g.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(T){},onBeforeDrag:function(T){},onStartDrag:function(T){},onDrag:function(T){},onStopDrag:function(T){}},g.fn.hidraggable.isDragging=!1})(jQuery)},function($,F){(function(g){g.fn.hidroppable=function(W,E){return typeof W=="string"?g.fn.hidroppable.methods[W](this,E):(W=W||{},this.each(function(){var b,l=g.data(this,"hidroppable");l?g.extend(l.options,W):(g(b=this).addClass("hidroppable"),g(b).bind("_dragenter",function(c,s){g.data(b,"hidroppable").options.onDragEnter.apply(b,[c,s])}),g(b).bind("_dragleave",function(c,s){g.data(b,"hidroppable").options.onDragLeave.apply(b,[c,s])}),g(b).bind("_dragover",function(c,s){g.data(b,"hidroppable").options.onDragOver.apply(b,[c,s])}),g(b).bind("_drop",function(c,s){g.data(b,"hidroppable").options.onDrop.apply(b,[c,s])}),g.data(this,"hidroppable",{options:g.extend({},g.fn.hidroppable.defaults,g.fn.hidroppable.parseOptions(this),W)}))}))},g.fn.hidroppable.methods={options:function(E){return g.data(E[0],"hidroppable")&&g.data(E[0],"hidroppable").options||{}},enable:function(E){return E.each(function(){g(this).hidroppable({disabled:!1})})},disable:function(E){return E.each(function(){g(this).hidroppable({disabled:!0})})}},g.fn.hidroppable.parseOptions=function(W){var E=g(W);return g.extend({},g.hiprintparser.parseOptions(W,["accept"]),{disabled:!!E.attr("disabled")||void 0})},g.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(E,b){},onDragOver:function(E,b){},onDragLeave:function(E,b){},onDrop:function(E,b){}}})(jQuery)},function($,F){var g;(g=jQuery).hiprintparser={parseOptions:function(E,b){var l=g(E),c={},s=g.trim(l.attr("data-options"));if(s&&(s.substring(0,1)!="{"&&(s="{"+s+"}"),c=new Function("return "+s)()),b){for(var w={},C=0;C<b.length;C++){var N=b[C];if(typeof N=="string")w[N]=N=="width"||N=="height"||N=="left"||N=="top"?parseInt(E.style[N])||void 0:l.attr(N);else for(var r in N){var T=N[r];T=="boolean"?w[r]=l.attr(r)?l.attr(r)=="true":void 0:T=="number"&&(w[r]=l.attr(r)=="0"?0:parseFloat(l.attr(r))||void 0)}}g.extend(c,w)}return c}},g.fn.dragLengthC=function(W,E){return E.moveUnit=="pt"?g.fn.dragLengthCNum(W,E)+"pt":g.fn.dragLengthCNum(W,E)},g.fn.dragLengthCNum=function(W,E){var b=3;if(E.moveUnit=="pt"){var l=.75*W;return E.minMove&&(b=E.minMove),Math.round(l/b)*b}return Math.round(l/b)*b}},function($,F){var g,W,E;g=jQuery,W={maxPanelIndex:0},(E=function(l){this.options=g.data(l.target,"hireizeable").options,this.init(l.target)}).prototype={numHandlerText:function(l){return this.numHandler(l)+"pt"},numHandler:function(l){var c=1.5,s=.75*l;return this.options.minResize&&(c=this.options.minResize),Math.round(s/c)*c},init:function(l){var c=this;if(l.className.includes("hiprint-printElement")){this.initResizeBox(l);var s=new ResizeObserver((w,C)=>{c.refreshSizeBox(g(l))});s.observe(l)}},initResizeBox:function(l){var c=this;g(l).each(function(){var s;W.maxPanelIndex+=1,c.options.noContainer?s=g(l):s=g("<div panelIndex="+W.maxPanelIndex+' class="resize-panel"></div>'),c.appendHandler(s,g(this));var w={name:"n",target:g('<div class="resizebtn n"/>')},C={name:"s",target:g('<div class="resizebtn s"/>')},N={name:"w",target:g('<div class="resizebtn w"/>')},r={name:"e",target:g('<div class="resizebtn e"/>')},T={name:"ne",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},S={name:"nw",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},D={name:"se",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},H={name:"sw",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},j={name:"r",target:g('<div class="resizebtn r"/>')},v={name:"why",target:g('<div class="resizebtn why"/>')},P=g('<div class="size-box"></div>'),o=g('<div class="del-btn">\u2715</div>'),m=function(){var h=[v.target],M=c.options.showPoints;return g.each([j,w,C,N,r,T,S,D,H],function(u,d){g.inArray(d.name,M)>-1&&h.push(d.target)}),h};c.refreshSizeBox(void 0,P,s),c.options.draggable!=!1&&(s.append(o),s.on("mousedown",".del-btn",()=>{var I=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});l.dispatchEvent(I)})),c.appendHandler(m(),s),c.bindResizeEvent(s,g(this));var a=g(this);g(s).on("mousedown",".resizebtn",function(){a.addClass("resizeing")}),g(".easyui-droppable").on("mouseup",function(){a.removeClass("resizeing")}),c.bindTrigger(g(this))}),c.bindHidePanel()},addHandlerCss:function(l){for(var c=0;c<l.length;c++)l[c].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(l,c){c.find(".resize-panel").remove();for(var s=0;s<l.length;s++)c.append(l[s])},refreshSizeBox:function(l,c,s){if(!!this.options.showSizeBox){if(c)s.append(c);else if(l&&l.length){var w=l.height(),C=l[0].clientHeight,N=l.width(),r=l[0].clientWidth;w<=40?(g.each([".ne",".nw",".se",".sw"],function(D,H){var j=C-30;l.find(H).css("height",j>0?j:0),l.find(H).css("width",j>0?j:0),j<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),g.each([".e",".w"],function(D,H){var j=C-30;l.find(H).css("height",j>0?j:10),l.find(H).css("top",C/2-(j>0?j:10)/2)})):g.each([".e",".w"],function(D,H){l.find(H).css("top",C/2-l.find(H).height()/2)}),N<=40?(g.each([".ne",".nw",".se",".sw"],function(D,H){var j=r-30;l.find(H).css("height",j>0?j:0),l.find(H).css("width",j>0?j:0),j<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),g.each([".n",".s"],function(D,H){let j=r-30;l.find(H).css("width",j>0?j:10),l.find(H).css("left",r/2-(j>0?j:10)/2)})):g.each([".n",".s",".r"],function(D,H){H==".r",l.find(H).css("left",r/2-l.find(H).width()/2)}),C>40&&r>40&&(g.each([".ne",".nw",".se",".sw"],function(D,H){H.includes("n")&&l.find(H).css("border-top",""),H.includes("s")&&l.find(H).css("border-bottom",""),H.includes("e")&&l.find(H).css("border-right",""),H.includes("w")&&l.find(H).css("border-left","")}),g.each([".n",".s"],function(D,H){l.find(H).css("width","")}))}var T,S;if(l&&l.length)T=l[0].style,S=l.children("div[panelindex]").find(".size-box");else if(s&&s.parent()){var l=s.parent();if(l.hasClass("hiprint-printPaper-content"))return;T=l[0].style,T.width||(T.width=hinnn.px.toPt(l[0].offsetWidth)+"pt"),T.height||(T.height=hinnn.px.toPt(l[0].offsetHeight)+"pt"),S=l.children("div[panelindex]").find(".size-box")}S&&(S.text(T.width+" x "+T.height),S.css("top",-(S.outerHeight()||20)))}},triggerResize:function(l,c){c.ctrlKey||c.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,c){var s=this,w=0,C=0,N=l.width(),r=l.height(),T=l.offset().left,S=l.offset().top,D=s.options.noContainer?g(c):l.parent(),H=!1;l.on("mousedown",".e",function(u){w=u.pageX,N=l.width(),H=!0,u.stopPropagation()});var j=!1;l.on("mousedown",".s",function(u){C=u.pageY,r=l.height(),j=!0,u.stopPropagation()});var v=!1;l.on("mousedown",".w",function(u){w=u.pageX,N=l.width(),v=!0,T=D.position().left,u.stopPropagation()});var P=!1;l.on("mousedown",".n",function(u){C=u.pageY,r=l.height(),P=!0,S=D.position().top,u.stopPropagation()});var o=!1;l.on("mousedown",".ne",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),o=!0,S=D.position().top,u.stopPropagation()});var m=!1;l.on("mousedown",".nw",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),S=D.position().top,T=D.position().left,m=!0,u.stopPropagation()});var a=!1;l.on("mousedown",".se",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),a=!0,u.stopPropagation()});var I=!1;l.on("mousedown",".sw",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),I=!0,T=D.position().left,u.stopPropagation()});var h=!1;l.on("mousedown",".r",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),h=!0,T=N/2+D.position().left,S=r/2+D.position().top,u.stopPropagation()}),l.on("dblclick",".r",function(u){D.css({transform:"rotate("+0+"deg)"}),s.options.onResize(u,void 0,void 0,void 0,void 0,0),u.stopPropagation()});var M=!1;l.on("mousedown",function(u){s.options.onBeforeResize(),w=u.pageX,C=u.pageY,S=D.position().top,T=D.position().left,M=!1}),g(s.options.stage).on("mousemove",function(u){if(H){var d=(u.pageX-w)/s.options.getScale();l.css({width:"100%"}),D.css({width:s.numHandlerText(N+d)}),s.options.onResize(u,void 0,s.numHandler(N+d),void 0,void 0)}else if(j){var A=(u.pageY-C)/s.options.getScale();l.css({height:"100%"}),D.css({height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),void 0,void 0,void 0)}else if(h){l.css({height:"100%"});var Z=u.pageX;u.pageY;var L=(Z-w)*360/100;w=u.pageX;var J=D[0].style.transform&&parseInt(D[0].style.transform.slice(7,-1))||0,Y=J+L;Math.abs(Y)>360&&(Y=Y%360),D.css({transform:"rotate("+Y+"deg)"}),s.options.onResize(u,void 0,void 0,void 0,void 0,Y)}else if(v)d=(u.pageX-w)/s.options.getScale(),l.css({width:"100%"}),D.css({width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d)}),s.options.onResize(u,void 0,s.numHandler(N-d),void 0,s.options.noDrag?void 0:s.numHandler(T+d));else if(P)A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%"}),D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A)}),s.options.onResize(u,s.numHandler(r-A),void 0,s.options.noDrag?void 0:s.numHandler(S+A),void 0);else if(o)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%",width:"100%"}),u.shiftKey)D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A),width:s.numHandlerText(N+d)}),s.options.onResize(u,s.numHandler(r-A),s.numHandler(N+d),s.options.noDrag?void 0:s.numHandler(S+A),void 0);else{var R=r/N,V=N+d,q=r-A,z=S+A;q=V*R,z=S+A+r-A-q,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q),top:s.numHandlerText(s.options.noDrag?void 0:z)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),s.options.noDrag?void 0:s.numHandler(z),void 0)}else if(m)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%",width:"100%"}),u.shiftKey)D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A),width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d)}),s.options.onResize(u,s.numHandler(r-A),s.numHandler(N-d),s.options.noDrag?void 0:s.numHandler(S+A),s.options.noDrag?void 0:s.numHandler(T+d));else{var R=r/N,V=N-d,q=r-A,et=T+d,z=S+A;q=V*R,et=T+d,z=S+A+r-A-q,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q),left:s.numHandlerText(s.options.noDrag?void 0:et),top:s.numHandlerText(s.options.noDrag?void 0:z)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),s.options.noDrag?void 0:s.numHandler(z),s.options.noDrag?void 0:s.numHandler(et))}else if(a)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({width:"100%",height:"100%"}),u.shiftKey)D.css({width:s.numHandlerText(N+d),height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),s.numHandler(N+d),void 0,void 0);else{var R=r/N,V=N+d,q=r+A;q=V*R,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),void 0,void 0)}else if(I)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({width:"100%",height:"100%"}),u.shiftKey)D.css({width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d),height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),s.numHandler(N-d),void 0,s.options.noDrag?void 0:s.numHandler(T+d));else{var R=r/N,V=N-d,q=r+A,et=T+d;q=V*R,D.css({width:s.numHandlerText(V),left:s.numHandlerText(s.options.noDrag?void 0:et),height:s.numHandlerText(q)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),void 0,s.options.noDrag?void 0:s.numHandler(et))}else M&&(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),D.css({left:s.numHandlerText(s.options.noDrag?void 0:T+d),top:s.numHandlerText(s.options.noDrag?void 0:S+A)}),s.options.onResize(u,void 0,void 0,s.options.noDrag?void 0:s.numHandler(S+A),s.options.noDrag?void 0:s.numHandler(T+d)))}).on("mouseup",function(u){(H||j||v||P||o||m||I||a||M||h)&&s.options.onStopResize(h),H=!1,j=!1,v=!1,P=!1,o=!1,m=!1,I=!1,a=!1,M=!1,h=!1})},bindTrigger:function(l){var c=this;l.on("click",function(s){s.stopPropagation(),c.triggerResize(l,s),g(".mouseRect").remove()})},bindHidePanel:function(l){if(W.maxPanelIndex<2){var c=this.options.stage;g(c).bind("click",function(s){s.target.className&&jt(s.target.className)=="string"&&(s.target.className.includes("design")||s.target.className.includes("hiprint-printPaper-content")||s.target.className.includes("paperBox"))&&(s.stopPropagation(),g("div[panelindex]").css({display:"none"}),g("div[panelindex]").removeClass("selected"))})}}},g.fn.extend({hireizeable:function(l){return this.each(function(){var c,s=g.data(this,"hireizeable");c=s?g.extend({},s.options,l||{}):g.extend({},g.fn.hireizeable.defaults,l||{}),g.data(this,"hireizeable",{options:c}),new E({target:this,onResize:function(C,N,r,T,S){},onStopResize:function(C,N,r,T,S){}})})}}),g.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(l,c,s,w,C){},onResize:function(l,c,s,w,C){},onStopResize:function(l,c,s,w,C){},noDrag:!1}},function($,F){var g,W;jQuery,g="connected",W="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(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))}},getAddress:function(b,...l){try{this.socket.emit("address",b,...l)}catch(c){console.log("getAddress error:"+JSON.stringify(c))}},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(E,b){window.utools?this.host2=host2:this.host=E,this.stop(),this.start(b)},start:function(b){var l=this,c=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(s){c.opened=!0,console.log("Websocket opened."),l.socket.on("successs",function(w){hinnn.event.trigger("printSuccess_"+w.templateId,w)}),l.socket.on("error",function(w){hinnn.event.trigger("printError_"+w.templateId,w)}),l.socket.on("printerList",function(w){c.printerList=w,hinnn.event.trigger("printerList",w)}),l.socket.on("address",function(w,C,N){hinnn.event.trigger("address_"+w,{addr:C,e:N})}),l.socket.on("ippPrinterConnected",function(w){hinnn.event.trigger("ippPrinterConnected",w)}),l.socket.on("ippPrinterCallback",function(w,C){hinnn.event.trigger("ippPrinterCallback",{err:w,res:C})}),l.socket.on("ippRequestCallback",function(w,C){hinnn.event.trigger("ippRequestCallback",{err:w,res:C})}),c.state=g,b&&b(!0,s)}),this.socket.on("disconnect",function(){c.opened=!1,b&&b(!1)})):console.log("WebSocket start fail"),b&&b(!1)},reconnect:function(){this.state!==g&&this.state!==W||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=W,this.state===W}}},function($,F,g){var W=g(28);typeof W=="string"&&(W=[[$.i,W,""]]);var E={hmr:!0,transform:void 0,insertInto:void 0};g(30)(W,E),W.locals&&($.exports=W.locals)},function($,F,g){($.exports=g(29)(!1)).push([$.i,"",""])},function($,F,g){$.exports=function(W){var E=[];return E.toString=function(){return this.map(function(b){var l=function(c,s){var w=c[1]||"",C=c[3];if(!C)return w;if(s&&typeof btoa=="function"){var N=(T=C,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(T))))+" */"),r=C.sources.map(function(S){return"/*# sourceURL="+C.sourceRoot+S+" */"});return[w].concat(r).concat([N]).join(`
|
|
1506
|
+
</div>`),this.target},n.prototype.getValue=function(){var e=this.target.find("select").val();if(e)return e.toString()},n.prototype.setValue=function(e){this.target.find("select").val(e)},n.prototype.destroy=function(){this.target.remove()},n}();g.d(F,"a",function(){return Se});var Se=function(){function n(){}return n.init=function(){n.printElementOptionItems||(n.printElementOptionItems={},n._printElementOptionItems.forEach(function(e){n.printElementOptionItems[e.name]=e}))},n.registerItem=function(e){if(!e.name)throw new Error("styleItem must have name");n.init(),n.printElementOptionItems[e.name]=e},n.getItem=function(e){return n.init(),n.printElementOptionItems[e]},n._printElementOptionItems=[new E,new b,new l,new I,new W,new s,new w,new K,new C,new N,new r,new D,new H,new j,new v,new T,new S,new P,new o,new m,new a,new c,new h,new M,new u,new d,new A,new Z,new L,new J,new Y,new R,new V,new q,new z,new et,new ot,new pt,new st,new ht,new mt,new ut,new bt,new dt,new lt,new vt,new yt,new Ft,new Mt,new Bt,new Ut,new Zt,new Lt,new zt,new Wt,new Gt,new kt,new Rt,new t,new y,new i,new p,new f,new U,new k,new G,new it,new $t,new qt,new te,new ee,new ie,new ne,new oe,new ae,new le,new re,new se,new pe,new Ie,new ce,new ue,new de,new ge,new me,new he,new fe,new be,new ve,new ye,new Me,new Pe,new je,new nt,new rt,new X,new tt,new gt,new It,new Jt,new ft,new wt,new Ct],n}()},function($,F,g){g.d(F,"a",function(){return E}),g.d(F,"b",function(){return b});var W=g(14),E=function(){function s(w,C){this.selectedCells=[],this.rows=w,this.tableTatget=C}return s.prototype.clear=function(){this.tableTatget.find("td").removeClass("selected")},s.prototype.setSingleSelect=function(w){this.startCell=w,this.selectedCells=[]},s.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},s.prototype.singleSelectByXY=function(w,C){var N=this.getCellByXY(w,C);N&&(this.clear(),N&&(N.cell.select(),this.startCell=N,this.selectedCells=[]))},s.prototype.multipleSelectByXY=function(w,C){this.clear();var N=[];if(this.startCell){var r=this.getCellByXY(w,C);if(r){var T=W.a.mergeRect(this.startCell.cell.getTableRect(),r.cell.getTableRect());this.selectByRect(new l(T),N)}}this.selectedCells=N},s.prototype.selectByRect=function(w,C){this.rows.forEach(function(N,r){var T=[];N.columns.forEach(function(S){S.isInRect(w)&&(T.push(new I(r,S)),S.select())}),T.length&&C.push(T)}),w.changed&&(w.changed=!1,C.splice(0,C.length),this.selectByRect(w,C))},s.prototype.getSelectedCells=function(){return this.selectedCells},s.prototype.getCellByXY=function(w,C){var N;return this.rows.forEach(function(r,T){var S=(r.columns||[]).filter(function(D){return D.checked}).filter(function(D){return D.isXYinCell(w,C)});S.length&&(N=new I(T,S[0]))}),N},s}(),b=function(){return function(s){this.x=s.x,this.y=s.y,this.height=s.height,this.width=s.width}}(),l=function(){return function(s){this.rect=s}}(),I=function(){return function(s,w){this.rowIndex=s,this.cell=w}}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(){}return E.createId=function(){return this.id+=1,this.id},E.id=1,E}()},function($,F,g){g.d(F,"a",function(){return I});var W,E=g(5),b=g(13),l=(W=function(w,C){return(W=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(N,r){N.__proto__=r}||function(N,r){for(var T in r)r.hasOwnProperty(T)&&(N[T]=r[T])})(w,C)},function(s,w){function C(){this.constructor=s}W(s,w),s.prototype=w===null?Object.create(w):(C.prototype=w.prototype,new C)}),I=function(s){function w(C){var N=s.call(this)||this;return N.columns=[],C&&C.constructor===Array?(C||[]).forEach(function(r){N.columns.push(new E.a(r))}):C.columns&&(C.columns||[]).forEach(function(r){N.columns.push(new E.a(r))}),N}return l(w,s),w.prototype.getPrintElementOptionEntity=function(){var C=[],N=this.allColumns?this.allColumns.filter(function(r){return!r.checked}):[];return[...this.columns,...N].forEach(function(r){C.push(r.getEntity())}),C},w}(b.a)},function($,F,g){g.d(F,"a",function(){return b});var W=g(11),E=g(5),b=function(){function l(){this.id=W.a.createId()}return l.prototype.init=function(I,s,w){this.isHead=w,this.target=s||x.default("<tr></tr>"),this.tableOptions=I,this.allColumns=this.columns||[],this.initCells((this.columns||[]).filter(function(C){return C.checked}))},l.prototype.getTarget=function(){return this.target},l.prototype.initCells=function(I){var s=this;I?(this.columns=I,I.forEach(function(w,C){w.init(s.target.find("td:eq("+C+")"),s.tableOptions,s.id,s.isHead)})):(this.columns=[],this.target.find("td").map(function(w,C){var N=new E.a;N.init(x.default(C),s.tableOptions,s.id,s.isHead),s.columns.push(N)}))},l.prototype.removeCell=function(I){var s=this.columns.indexOf(I);this.columns[s].getTarget().remove(),this.columns.splice(s,1)},l.prototype.createTableCell=function(I,s){var w=new E.a;return w.init(x.default("<td></td>"),this.tableOptions,this.id,this.isHead),I>1&&(w.getTarget().attr("rowspan",I),w.rowspan=I),s>1&&(w.getTarget().attr("colspan",s),w.colspan=s),w},l.prototype.insertToTargetCellLeft=function(I,s){var w=this.columns.indexOf(I);I.getTarget().before(s.getTarget()),this.columns.splice(w,0,s)},l.prototype.insertToTargetCellRight=function(I,s){var w=this.columns.indexOf(I);this.columns[w].getTarget().after(s.getTarget()),this.columns.splice(w+1,0,s)},l.prototype.insertCellToFirst=function(I){this.target.prepend(I.getTarget()),this.columns.splice(0,0,I)},l.prototype.insertCellToLast=function(I){this.columns.push(I),this.target.append(I.getTarget())},l.prototype.getPrintElementOptionEntity=function(){var I=[];return[...this.columns,...this.allColumns.filter(function(s){return!s.checked})].forEach(function(s){I.push(s.getEntity())}),I},l}()},function($,F,g){g.d(F,"a",function(){return E});var W=g(10),E=function(){function b(){}return b.mergeRect=function(l,I){var s=Math.min(l.x,I.x),w=Math.min(l.y,I.y);return new W.b({x:s,y:w,height:Math.max(l.y+l.height,I.y+I.height)-w,width:Math.max(l.x+l.width,I.x+I.width)-s})},b.Rect=function(l,I,s,w){return{minX:l<s?l:s,minY:I<w?I:w,maxX:l<s?s:l,maxY:I<w?w:I}},b}()},function($,F,g){g.d(F,"a",function(){return D});var W=g(4),E=g(1),b=g(6),l=g(0),I=g(8),s=g(18),w=g(7),C=g(16),N=g(20),r=g(2),T=(S=function(j,v){return(S=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(P,o){P.__proto__=o}||function(P,o){for(var m in o)o.hasOwnProperty(m)&&(P[m]=o[m])})(j,v)},function(H,j){function v(){this.constructor=H}S(H,j),H.prototype=j===null?Object.create(j):(v.prototype=j.prototype,new v)}),S,D=function(H){function j(v,P){var o=H.call(this,v)||this;return o.gridColumnsFooterCss="hiprint-gridColumnsFooter",o.tableGridRowCss="table-grid-row",o.options=new s.a(P,o.printElementType),o.options.setDefault(new s.a(E.a.instance.table.default).getPrintElementOptionEntity()),o}return T(j,H),j.prototype.getColumns=function(){return this.options.columns},j.prototype.getColumnByColumnId=function(v){return this.options.getColumnByColumnId(v)},j.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var v=this.designTarget.find(".hiprint-printElement-table-content"),P=this.getHtml(this.designPaper);v.html(""),v.append(P[0].target.find(".table-grid-row")),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.css(this.designTarget,this.getData())}},j.prototype.css=function(v,P){if((this.getField()||!this.options.content)&&!this.printElementType.formatter)return H.prototype.css.call(this,v,P)},j.prototype.getDesignTarget=function(v){return this.designTarget=this.getHtml(v)[0].target,this.css(this.designTarget,this.getData()),this.designPaper=v,this.designTarget.find("td").hidroppable({accept:".rn-draggable-item",onDrop:function(o,m){},onDragEnter:function(o,m){x.default(m).removeClass("rn-draggable-item")},onDragLeave:function(o,m){x.default(m).addClass("rn-draggable-item")}}),this.designTarget},j.prototype.getConfigOptions=function(){return E.a.instance.table},j.prototype.createTarget=function(v,P,o){for(var m=x.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),c=0;c<a.gridColumns;c++)a.getByIndex(c).append(this.getTableHtml(P,o));return m.find(".hiprint-printElement-table-content").append(a.target),m},j.prototype.createGridColumnsStructure=function(v){for(var P=x.default('<div class="hi-grid-row table-grid-row"></div>'),o=0;o<this.options.getGridColumns();o++){var m=x.default('<div class="tableGridColumnsGutterRow hi-grid-col" style="width:'+100/this.options.getGridColumns()+'%;"></div>');P.append(m)}var a=this.getGridColumnsFooterFormatter();if(a){var c=x.default('<div class="hiprint-gridColumnsFooter"></div>');c.append(a(this.options,this.getData(v),v,[])),P.append(c)}return new N.a(this.options.getGridColumns(),P)},j.prototype.createtempEmptyRowsTargetStructure=function(v){if(this.getField())return this.createTarget(this.printElementType.title,[]);var P=this.createTarget(this.printElementType.title,[]).clone();return P.find(".hiprint-printElement-tableTarget tbody tr").remove(),P},j.prototype.getTableHtml=function(v,P){var o,m;if(!this.getField()&&this.options.content)return(o=x.default("<div></div>")).append(this.options.content),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;if(this.printElementType.formatter)return(o=x.default("<div></div>")).append(this.printElementType.formatter(v)),(m=o.find("table")).addClass("hiprint-printElement-tableTarget"),m;var a=x.default('<table class="hiprint-printElement-tableTarget" style="border-collapse: collapse;"></table>');return a.append(w.a.createTableHead(this.getColumns(),this.options.getWidth()/this.options.getGridColumns())),a.append(w.a.createTableRow(this.getColumns(),v,this.options,this.printElementType)),this.options.tableFooterRepeat=="no"||w.a.createTableFooter(this.printElementType.columns,v,this.options,this.printElementType,P,v).insertBefore(a.find("tbody")),a},j.prototype.getEmptyRowTarget=function(){return w.a.createEmptyRowTarget(this.getColumns(),this)},j.prototype.getHtml=function(v,P){this.createTempContainer();var o=this.getPaperHtmlResult(v,P);return this.removeTempContainer(),o},j.prototype.getPaperHtmlResult=function(v,P){var o=[],m=this.getData(P),a=this.getTableHtml(m,P),c=this.createtempEmptyRowsTargetStructure(P);P?this.updateTargetWidth(c):this.updateTargetSize(c),this.css(c,m),this.css(a,m),this.getTempContainer().html(""),this.getTempContainer().append(c);var h=c.find("tfoot").outerHeight()||0;c.find("tfoot").remove();for(var M,u=this.getBeginPrintTopInPaperByReferenceElement(v),d=0,A=!1;!A;){var Z=0,L=v.getPaperFooter(d);d==0&&u>L&&v.panelPageRule!="none"&&(u=u-L+v.paperHeader,o.push(new b.a({target:void 0,printLine:void 0})),Z=v.getContentHeight(d)-(u-v.paperHeader),d++,L=v.getPaperFooter(d));var J=o.length>0?o[o.length-1].target:void 0,Y=this.getRowsInSpecificHeight(P,Z>0?Z:d==0?L-u:v.getContentHeight(d),c,a,d,J,h);if(A=Y.isEnd,Z<0){var R=this.options.top;o[0].target=x.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=u,o[0].referenceElement=new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:R+this.options.lHeight,printTopInPaper:u}),o[0].target.css("top",R+"pt"),o[0].target.css("left",this.options.displayLeft());break}var V=void 0;Y.target&&(Y.target.css("left",this.options.displayLeft()),Y.target[0].height=""),d==0||Z>0?(Y.target&&(M=u,Y.target.css("top",u+"pt")),V=A&&this.options.lHeight!=null?u+(Y.height>this.options.lHeight?Y.height:this.options.lHeight):u+Y.height):(Y.target&&(M=v.paperHeader,Y.target.css("top",v.paperHeader+"pt")),V=v.paperHeader+Y.height),o.push(new b.a({target:Y.target,printLine:V,referenceElement:new I.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:v.index,bottomInLastPaper:V,printTopInPaper:M})})),d++,P&&this.updatePanelHeight(V+this.options.getHeight(),v)}return o},j.prototype.getRowsInSpecificHeight=function(v,P,o,m,a,c,h){var M=this,u=m.find("tbody"),d=l.a.pt.toPx(P);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"&&(v?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=o.outerHeight();if(!A&&Z>d)return{target:void 0,length:0,height:0,isEnd:!1};for(var L=this.options.getGridColumns(),J=[],Y=0;Y<L;Y++)for(var R=o.find(".hiprint-printElement-tableTarget:eq("+Y+")"),V=void 0,q=[];;){if(A){var z=u.find("tr").length;if(z==0)V={height:l.a.px.toPt(Z),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(d,R,h),Z=o.outerHeight());else{var et=u.find("tr:lt(1)");R.find("tbody").append(et);var ot=et.data("rowData");J.push(ot),q.push(ot),Z=o.outerHeight(),z==0&&(u.prepend(et),J.pop(),q.pop(),V={height:l.a.px.toPt(Z),isEnd:!1})}}else if(Z<=d)if(u.find("tr").length==0)V={height:l.a.px.toPt(Z),isEnd:!0},v&&this.options.autoCompletion&&(this.autoCompletion(d,R,h),Z=R.outerHeight());else{var et=u.find("tr:lt(1)");M.options.rowsColumnsMerge&&(a>0||Y>0)&&q.length==0&&(et=M.fixMergeSpan(et,u)),R.find("tbody").append(et);var ot=et.data("rowData");J.push(ot),q.push(ot),Z=R.outerHeight(),((Z+=h)>d||this.options.maxRows&&q.length>+this.options.maxRows)&&(u.prepend(et),J.pop(),q.pop(),Z=o.outerHeight(),V={height:l.a.px.toPt(Z),isEnd:!1})}if(V){if(this.options.tableFooterRepeat=="last"&&!V.isEnd)break;this.options.tableFooterRepeat!=="no"&&(w.a.createTableFooter(this.printElementType.columns,this.getData(v),this.options,this.printElementType,v,q).insertBefore(R.find("tbody")),M.css(R,v));break}}var pt=o.find(".hiprint-printElement-tableTarget tbody tr").length,st=this.getGridColumnsFooterFormatter();st&&o.find(this.gridColumnsFooterCss).html(st(this.options,this.getData(v),v,J)),Z=o.outerHeight();var ht=u.find("tr").length==0?pt==0&&c?{target:void 0,length:0,height:0,isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!0}:{target:o.clone(),length:pt,height:l.a.px.toPt(Z),isEnd:!1};return ht},j.prototype.fixMergeSpan=function(v,P){var o=this;let m=1,a=!1,c=1,h=!1;return v.nextAll().each(function(M){x.default(this).children().filter("td[rowspan=0]").length>0&&!a?m+=1:a=!0,x.default(this).children().filter("td[colspan=0]").length>0&&!h?c+=1:h=!0}),v.children().each(function(M,u){x.default(u).attr("rowspan")<1&&(x.default(u).attr("rowspan",m),x.default(u).css("display",""),o.options.rowsColumnsMergeClean&&x.default(u).text("")),x.default(u).attr("colspan")<1&&(x.default(u).attr("colspan",c),x.default(u).css("display",""),o.options.rowsColumnsMergeClean&&x.default(u).text(""))}),v},j.prototype.autoCompletion=function(v,P){for(var o=this,m,a=this.getEmptyRowTarget(),c=P.outerHeight()+tfh;v>c&&(m=a.clone(),P.find("tbody").append(m),c=P.outerHeight()+tfh,!(o.options.maxRows&&P.find("tbody").children().length>o.options.maxRows)););m&&m.remove()},j.prototype.getData=function(v){if(!v)return[{}];var P=this.getField(),o=P&&P.split(".").reduce((m,a)=>m?m[a]:v?v[a]:"",!1)||"";return o?JSON.parse(JSON.stringify(o)):[]},j.prototype.onResize=function(v,P,o,m,a){H.prototype.updateSizeAndPositionOptions.call(this,a,m,o,P),w.a.resizeTableCellWidth(this.designTarget,this.getColumns(),this.options.getWidth())},j.prototype.getReizeableShowPoints=function(){return this.options.showPoints||E.a.instance.table.showPoints},j.prototype.design=function(v,P){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,c,h){o.updateSizeAndPositionOptions(c,h),o.createLineOfPosition(P),r.a.instance.changed=!0},moveUnit:"pt",minMove:E.a.instance.movingDistance,onBeforeDrag:function(a){r.a.instance.draging=!0,o.createLineOfPosition(P)},getScale:function(){return o.designPaper.scale||1},onStopDrag:function(a){r.a.instance.changed&&l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,"\u79FB\u52A8"),r.a.instance.draging=!1,r.a.instance.changed=!1,o.removeLineOfPosition()}}),this.printElementType.editable&&this.setHitable(),this.setColumnsOptions(),this.designTarget.hireizeable({showPoints:o.getReizeableShowPoints(),showSizeBox:E.a.instance.showSizeBox,noContainer:!0,onBeforeResize:function(){r.a.instance.draging=!0},getScale:function(){return o.designPaper.scale||1},onResize:function(a,c,h,M,u){o.onResize(a,c,h,M,u),o.hitable&&o.hitable.updateColumnGrips(),o.createLineOfPosition(P)},onStopResize:function(a){l.a.event.trigger("hiprintTemplateDataChanged_"+o.templateId,a?"\u65CB\u8F6C":"\u5927\u5C0F"),r.a.instance.draging=!1,o.removeLineOfPosition()}}),this.bingKeyboardMoveEvent(this.designTarget,P)},j.prototype.setHitable=function(){var v=this;this.hitable=new C.a({templateId:v.templateId,table:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)"),rows:this.getColumns(),resizeRow:!1,resizeColumn:!0,fields:this.options.fields,trs:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("tbody tr"),handle:this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead"),isEnableEdit:this.printElementType.editable?this.printElementType.editable:!0,columnDisplayEditable:this.printElementType.columnDisplayEditable!=null?this.printElementType.columnDisplayEditable:!0,columnDisplayIndexEditable:this.printElementType.columnDisplayIndexEditable!=null?this.printElementType.columnDisplayIndexEditable:!0,columnResizable:this.printElementType.columnResizable!=null?this.printElementType.columnResizable:!0,columnAlignEditable:this.printElementType.columnAlignEditable!=null?this.printElementType.columnAlignEditable:!0,isEnableEditText:this.printElementType.columnTitleEditable!=null?this.printElementType.columnTitleEditable:!0,isEnableEditField:this.printElementType.isEnableEditField!=null?this.printElementType.isEnableEditField:!0,isEnableContextMenu:this.printElementType.isEnableContextMenu!=null?this.printElementType.isEnableContextMenu:!0,isEnableInsertRow:this.printElementType.isEnableInsertRow!=null?this.printElementType.isEnableInsertRow:!0,isEnableDeleteRow:this.printElementType.isEnableDeleteRow!=null?this.printElementType.isEnableDeleteRow:!0,isEnableInsertColumn:this.printElementType.isEnableInsertColumn!=null?this.printElementType.isEnableInsertColumn:!0,isEnableDeleteColumn:this.printElementType.isEnableDeleteColumn!=null?this.printElementType.isEnableDeleteColumn:!0,isEnableMergeCell:this.printElementType.isEnableMergeCell!=null?this.printElementType.isEnableMergeCell:!0}),l.a.event.on("updateTable"+this.hitable.id,function(){v.updateDesignViewFromOptions(),l.a.event.trigger("hiprintTemplateDataChanged_"+v.templateId,"\u8C03\u6574\u8868\u5934")})},j.prototype.setColumnsOptions=function(){var v=this;this.designTarget.find(".hiprint-printElement-tableTarget:eq(0)").find("thead td").bind("click.hiprint",function(P){var o=x.default(P.target).attr("id")||x.default(P.target).attr("column-id"),m=v.getColumnByColumnId(o);if(m){var a=v.getPrintElementOptionItemsByName("tableColumn");l.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v,customOptionsInput:[{title:(m.title||`${m.id}(id)`)+"-\u5217\u5C5E\u6027",optionItems:a,options:m,callback:function(h){a.forEach(function(M){var u=M.getValue();if(M.name=="title"&&u&&!u.trim().endsWith("#")&&!u.trim().startsWith("#")){var d=u?u.split("#"):"";m.title=d[0],d.length>1&&(m.columnId=m.field=d[1]),m.columnId&&m.target.attr("column-id",m.columnId),M.target.find("textarea").val(d[0]);return}m[M.name]=u})}}]})}else l.a.event.trigger(v.getPrintElementSelectEventKey(),{printElement:v})})},j.prototype.filterOptionItems=function(v){var P=H.prototype.filterOptionItems.call(this,v);return this.printElementType.editable&&this.options.columns.length==1?P:v.filter(function(o){return o.name!="columns"})},j.prototype.getFooterFormatter=function(){var v=void 0;if(this.printElementType.footerFormatter&&(v=this.printElementType.footerFormatter),this.options.footerFormatter)try{var P="footerFormatter="+this.options.footerFormatter;eval2(P)}catch(o){console.log(o)}return v},j.prototype.getGridColumnsFooterFormatter=function(){var v=void 0;if(this.printElementType.gridColumnsFooterFormatter&&(v=this.printElementType.gridColumnsFooterFormatter),this.options.gridColumnsFooterFormatter)try{var P="gridColumnsFooterFormatter="+this.options.gridColumnsFooterFormatter;v=eval2(P)}catch(o){console.log(o)}return v},j}(W.a)},function($,F,g){var W=function(){return function(P){this.table=P.table,this.templateId=P.templateId,this.fields=P.fields,this.isEnableEdit=P.isEnableEdit,this.trs=P.trs,this.resizeRow=P.resizeRow,this.resizeColumn=P.resizeColumn,this.isEnableEditField=P.isEnableEditField,this.isEnableContextMenu=P.isEnableContextMenu,this.isEnableEditField=P.isEnableEditField,this.isEnableInsertRow=P.isEnableInsertRow,this.isEnableDeleteRow=P.isEnableDeleteRow,this.isEnableInsertColumn=P.isEnableInsertColumn,this.isEnableDeleteColumn=P.isEnableDeleteColumn,this.isEnableMergeCell=P.isEnableMergeCell,this.columnResizable=P.columnResizable,this.columnAlignEditable=P.columnAlignEditable}}(),E=function(){function P(o){this.options=new W(o)}return P.prototype.enableEidt=function(){this.options.isEnableEdit},P.prototype.disableEdit=function(){this.options.isEnableEdit},P.prototype.isEnableEdit=function(){return this.options.isEnableEdit},P}(),b=g(0),l=function(){return function(P){this.cell=P.cell,this.link=P.link,this.linkType=P.linkType,this.bottom=P.bottom,this.rightMost=P.rightMost,this.rowLevel=P.rowLevel,this.columnLevel=P.columnLevel,this.indexInTableGridRow=P.indexInTableGridRow,this.indexInTableGridColumn=P.indexInTableGridColumn}}(),I=g(10),s=function(){function P(){}return P.getLeftTableCell=function(o,m){var a;return o.forEach(function(c,h){c.cell&&h<m&&(a=c.cell)}),a},P.getIndex=function(o,m){var a;return o.forEach(function(c,h){c.cell&&c.cell.id==m&&(a=h)}),a},P}(),w=g(13),C=g(11),N=function(){return function(P,o){this.target=P,this.grips=o}}(),r=function(){return function(P){this.target=P}}(),T=function(){return function(){this.rowColumns=[]}}(),S=function(){function P(){}return P.getColumnsWidth=function(o,m){var a={},c=P.allAutoWidth(o);return o.rowColumns.forEach(function(h){var M=m-0,u=h.width/c*(M>0?M:0);a[h.id]=u}),a},P.resizeTableCellWeight=function(o){o.forEach(function(m){m.columns.forEach(function(a){a.hasWidth&&x.default(a.getTarget()).css("width",a.width+"pt")})})},P.allAutoWidth=function(o){var m=0;return o.rowColumns.forEach(function(a){m+=a.width}),m},P.reconsitutionTableColumnTree=function(o,m,a){for(var c=m||new T,h=function(d){c.totalLayer=d+1,c[d]=o[d].columns,c.rowColumns=c.rowColumns.concat(c[d].filter(function(A){return A.rowspan==o.length-d}))},M=0;M<o.length;M++)h(M);return c},P}(),D=g(2),H=function(){function P(o){this.signature="HiTresizer",this.hitable=o,this.rows=o.rows,this.target=o.target}return P.prototype.init=function(){this.addResizeRowAndColumn(),this.hitable.optionsCoat.options.resizeColumn&&this.createColumnGrips(),this.hitable.optionsCoat.options.resizeRow&&this.createRowGrips()},P.prototype.resizeTableCellWidth=function(){S.resizeTableCellWeight(this.rows)},P.prototype.addResizeRowAndColumn=function(){},P.prototype.createColumnGrips=function(){var o=this,m=this,a=[],c=x.default('<div class="columngrips"/>');c.width(this.target.width()),this.rows.forEach(function(h){(h.columns||[]).filter(function(M){return M.checked}).forEach(function(M,u){if(M.getTarget().attr("haswidth")){var d=x.default('<div class="columngrip"><div class="gripResizer"></div></div>');c.append(d);var A=new r(d);a.length>0&&(a[a.length-1].nextGrip=A),a.push(A),o.syncGrips(M,A),x.default(d).hidraggable({axis:"h",onDrag:function(L,J,Y){},moveUnit:"pt",minMove:1,getScale:function(){return x.default(".hiprint-printPaper")[0].style.transform&&parseFloat(x.default(".hiprint-printPaper")[0].style.transform.slice(6,-1))||1},onBeforeDrag:function(L){if(D.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(L){D.a.instance.draging=!1;var J=parseFloat(m.dragingGrip.target.css("left").replace("px","")),Y=b.a.px.toPt(J-m.dragingGrip.left);A.cell.width+Y<10?Y=10-A.cell.width:A.nextGrip.cell.width-Y<10&&(Y=A.nextGrip.cell.width-10),A.cell.width=A.cell.width+Y,A.nextGrip.cell.width=A.nextGrip.cell.width-Y,o.resizeTableCellWidth(),A.target.removeClass("columngripDraging"),m.updateColumnGrips()}})}})}),this.target.before(c),this.cgripContariner=new N(c,a)},P.prototype.updateColumnGrips=function(){this.cgripContariner&&(this.cgripContariner.target.remove(),this.createColumnGrips())},P.prototype.updateRowGrips=function(){this.rgripContariner&&(this.rgripContariner.target.remove(),this.createRowGrips())},P.prototype.createRowGrips=function(){var o=this,m=this,a=[],c=x.default('<div class="rowgrips"/>');this.rows.forEach(function(h,M){var u=x.default('<div class="rowgrip"><div class="gripResizer"></div></div>');c.append(u);var d=new r(u);a.push(d),M>0&&M<o.rows.length&&x.default(u).hidraggable({axis:"v",onDrag:function(Z,L,J){},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 L=parseFloat(m.dragingGrip.target.css("top").replace("px","")),J=b.a.px.toPt(L-m.dragingGrip.top+m.rows[M].columns[0].getTarget().height());m.rows[M].columns[0].getTarget().css("height",J+"pt"),m.syncRowGrips(),d.target.removeClass("rowgripDraging")}})}),this.target.before(c),this.rgripContariner=new N(c,a),this.syncRowGrips()},P.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})},P.prototype.syncRowGrips=function(){var o=this;this.rgripContariner.target.height(this.target.height()),this.rows.forEach(function(m,a){var c=m.columns[0].getTarget();o.rgripContariner.grips[a].target.css({top:c.offset().top-o.target.offset().top+c.outerHeight(!1),width:30})})},P.prototype.addResizerHeadRow=function(){this.target.find("thead").prepend()},P}(),j=function(){function P(){}return P.prototype.init=function(){},P.prototype.updateRowGrips=function(){},P.prototype.updateColumnGrips=function(){},P}();g.d(F,"a",function(){return v});var v=function(){function P(o){this.id=C.a.createId(),this.optionsCoat=new E(o),this.handle=o.handle,this.target=o.table,this.initRows(o.rows),this.init(o),this.tableCellSelector=new I.a(this.rows,this.target),this.resizer=this.optionsCoat.options.columnResizable?new H(this):new j,this.resizer.init()}return P.prototype.insertRow=function(o,m,a){var c=m||this.tableCellSelector.getSingleSelect(),h=c.cell,M=this.rows[c.rowIndex],u=c.rowIndex,d=this.getCellGrid(),A=new w.a;if(A.init(this.optionsCoat,void 0,M.isHead),a&&A.getTarget().addClass(a),o=="above")d[u].forEach(function(L){var J=L.link?L.link:L.cell,Y=J.width/J.colspan;if(L.columnLevel==0){var R=A.createTableCell();R.width=Y,A.insertCellToLast(R)}else{if(L.linkType=="column"){var V=L.link.getTarget();L.link.rowspan+=1,V.attr("rowspan",L.link.rowspan)}L.linkType}}),this.rows.splice(u,0,A),M.getTarget().before(A.getTarget()),b.a.event.trigger("newRow"+this.id,A);else{var Z=u+h.rowspan-1;d[Z].forEach(function(L){var J=L.link?L.link:L.cell,Y=J.width/J.colspan;if(L.bottom){var R=A.createTableCell();R.width=Y,A.insertCellToLast(R)}else{if(L.cell){var V=L.cell.getTarget();L.cell.rowspan+=1,V.attr("rowspan",L.cell.rowspan)}L.linkType=="column"&&(V=L.link.getTarget(),L.link.rowspan+=1,V.attr("rowspan",L.link.rowspan))}}),this.rows.splice(Z+1,0,A),this.rows[Z].getTarget().after(A.getTarget()),b.a.event.trigger("newRow"+this.id,A)}},P.prototype.insertColumn=function(o,m,a,c){var h=this,M=this.rows.concat(this.trRows),u=m||this.tableCellSelector.getSingleSelect(),d=u.cell,A=u.rowIndex,Z=this.getCellGrid(M),L=Z[A].filter(function(R){return R.cell&&R.cell.id==d.id||R.link&&R.link.id==d.id});if(o=="left"){var J=L[0].indexInTableGridRow;Z.forEach(function(R,V){var q=R[J],z=R.filter(function(st,ht){return ht>=J&&st.cell});if(q.rowLevel==0){var et=M[V],ot=M[V].createTableCell();a&&ot.getTarget().addClass(a),c!=null&&(ot.width=c),z.length?et.insertToTargetCellLeft(z[0].cell,ot):et.insertCellToLast(ot),b.a.event.trigger("newCell"+h.id,ot)}else if(q.linkType=="row"){var pt=q.link.getTarget();q.link.colspan+=1,pt.attr("colspan",q.link.colspan)}})}else{var Y=L[L.length-1].indexInTableGridRow;Z.forEach(function(R,V){var q=R[Y],z=R.filter(function(ht,mt){return mt<=Y&&ht.cell});if(q.rightMost){var et=M[V],ot=et.createTableCell();a&&ot.getTarget().addClass(a),c!=null&&(ot.width=c),z.length?et.insertToTargetCellRight(z[z.length-1].cell,ot):et.insertCellToFirst(ot),b.a.event.trigger("newCell"+h.id,ot)}else{var pt=q.link||q.cell;if(q.linkType=="row"){var st=pt.getTarget();pt.colspan+=1,st.attr("colspan",pt.colspan)}q.cell&&(st=pt.getTarget(),pt.colspan+=1,st.attr("colspan",pt.colspan))}})}},P.prototype.deleteRow=function(){var o=this,m=this.tableCellSelector.getSingleSelect(),a=(m.cell,this.rows[m.rowIndex],m.rowIndex),c=this.getCellGrid(),h=this.rows[a];c[a].forEach(function(M,u){if(M.cell)if(M.cell.rowspan==1)h.removeCell(M.cell);else{h.removeCell(M.cell);var d=c[a+1].filter(function(J,Y){return J.cell&&Y>u}),A=o.rows[a+1],Z=A.createTableCell(M.cell.rowspan-1,M.cell.colspan);d.length?A.insertToTargetCellLeft(d[0].cell,Z):A.insertCellToLast(Z)}else if(M.linkType=="column"){var L=M.link;L.rowspan-=1,L.getTarget().attr("rowspan",L.rowspan)}}),h.getTarget().remove(),this.rows.splice(a,1)},P.prototype.deleteColums=function(){var o=this.rows.concat(this.trRows),m=this.tableCellSelector.getSingleSelect(),a=m.cell,c=m.rowIndex,h=this.getCellGrid(o),M=h[c].filter(function(u){return u.cell&&u.cell.id==a.id||u.link&&u.link.id==a.id})[0].indexInTableGridRow;h.forEach(function(u,d){var A=u[M];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))})},P.prototype.mergeCell=function(){var o=this,m=this.tableCellSelector.getSelectedCells();if(m.length!=0){var a=m[0][0].cell;m.forEach(function(c,h){c.forEach(function(M,u){h==0?u!=0&&(a.colspan+=M.cell.colspan,o.rows[M.rowIndex].removeCell(M.cell)):o.rows[M.rowIndex].removeCell(M.cell),u==0&&m[0][0].rowIndex+a.rowspan-1<M.rowIndex&&(a.rowspan+=M.cell.rowspan)})}),a.getTarget().attr("colspan",a.colspan),a.getTarget().attr("rowspan",a.rowspan),this.tableCellSelector.setSingleSelect(m[0][0])}},P.prototype.splitCell=function(){var o=this.tableCellSelector.getSingleSelect(),m=this.getCellGrid(),a=s.getIndex(m[o.rowIndex],o.cell.id);if(o){for(var c=o.rowIndex;c<o.rowIndex+o.cell.rowspan;c++)for(var h=this.rows[c],M=c==o.rowIndex?o.cell:s.getLeftTableCell(m[c],a),u=0;u<o.cell.colspan;u++)c==o.rowIndex&&u==0||(M?h.insertToTargetCellRight(M,h.createTableCell()):h.insertCellToFirst(h.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)}},P.prototype.init=function(o){var m=this;x.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)},x.default(this.target).mousedown(function(a){m.optionsCoat.isLeftMouseButtonDown=!0}),x.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)})},P.prototype.initRows=function(o){var m=this;if(this.trRows=[],o){this.rows=o,o.forEach(function(c,h){c.init(m.optionsCoat,m.target.find("tr:eq("+h+")"),!0)});var a=this.optionsCoat.options.trs;a&&this.initRowsByTrs(a).forEach(function(c){m.trRows.push(c)})}else this.rows=this.initRowsByTrs(this.target.find("tr"))},P.prototype.initRowsByTrs=function(o){var m=this;return o.map(function(a,c){var h=new w.a;return h.init(m.optionsCoat,x.default(c)),h}).get()},P.prototype.enableEidt=function(){this.optionsCoat.enableEidt()},P.prototype.disableEdit=function(){this.optionsCoat.disableEdit()},P.prototype.getCellGrid=function(o){var m=o||this.rows,a=this.getColumnStep(),c=[];return m.forEach(function(h,M){h.columns.forEach(function(u,d){for(var A=0;A<u.colspan;A++)for(var Z=0,L=!1;Z<a&&!L;){if(c[M]=c[M]||[],!c[M][Z]){c[M][Z]=new l({cell:A==0?u:void 0,link:A!=0?u:void 0,linkType:A>0?"row":void 0,rightMost:A==u.colspan-1||void 0,bottom:u.rowspan-1==0,rowLevel:A,columnLevel:0,indexInTableGridRow:Z,indexInTableGridColumn:M});for(var J=M+1,Y=1;Y<u.rowspan;Y++)c[J]=c[J]||[],c[J][Z]=new l({cell:void 0,link:u,linkType:A>0?"rowColumn":"column",rightMost:A==u.colspan-1||void 0,bottom:Y==u.rowspan-1,rowLevel:A,columnLevel:Y,indexInTableGridRow:Z,indexInTableGridColumn:J}),J+=1;L=!0}Z++}})}),c},P.prototype.setAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setAlign(o)},P.prototype.setVAlign=function(o){var m=this.tableCellSelector.getSingleSelect();m&&m.cell.setVAlign(o)},P.prototype.getColumnStep=function(o){var m=0;return this.rows.length&&this.rows[o||0].columns.forEach(function(a){m+=a.colspan}),m},P.prototype.initContext=function(){var o=this;if(!this.optionsCoat.options.isEnableContextMenu)return!1;x.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})})},P.prototype.getTableWidth=function(){return b.a.px.toPt(this.target.outerWidth(!1))},P.prototype.updateColumnGrips=function(){this.resizer.updateColumnGrips()},P.prototype.updateRowGrips=function(){this.resizer.updateRowGrips()},P}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(E,b,l){this.tid=E,this.options=b,this.printElementType=l}}()},function($,F,g){var W=g(3),E=g(12),b=function(){return function(C){this.width=C.width,this.title=C.title,this.field=C.field,this.checked=C.checked,this.columnId=C.columnId,this.fixed=!1,this.rowspan=C.rowspan||1,this.colspan=C.colspan||1,this.align=C.align,this.halign=C.halign,this.vAlign=C.vAlign,this.renderFormatter=C.renderFormatter,this.formatter2=C.formatter2,this.styler2=C.styler2,this.stylerHeader=C.stylerHeader,this.tableColumnHeight=C.tableColumnHeight,this.tableTextType=C.tableTextType,this.tableBarcodeMode=C.tableBarcodeMode,this.tableQRCodeLevel=C.tableQRCodeLevel,this.tableSummaryTitle=C.tableSummaryTitle,this.tableSummaryText=C.tableSummaryText,this.tableSummary=C.tableSummary,this.tableSummaryAlign=C.tableSummaryAlign,this.tableSummaryNumFormat=C.tableSummaryNumFormat,this.upperCase=C.upperCase}}(),l=g(5);g.d(F,"a",function(){return w});var I,s=(I=function(N,r){return(I=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(T,S){T.__proto__=S}||function(T,S){for(var D in S)S.hasOwnProperty(D)&&(T[D]=S[D])})(N,r)},function(C,N){function r(){this.constructor=C}I(C,N),C.prototype=N===null?Object.create(N):(r.prototype=N.prototype,new r)}),w=function(C){function N(r,T){var S=this;return r=r||{},(S=C.call(this,r)||this).lHeight=r.lHeight,S.autoCompletion=r.autoCompletion,S.tableFooterRepeat=r.tableFooterRepeat,T&&(S.columns=[],T.editable&&r.columns&&r.columns.length?r.columns.forEach(function(D){var H=[];D.forEach(function(j){var v=new b(j),P=T.getColumnByColumnId(v.columnId),o=P?x.default.extend(P,v):new l.a(v);H.push(o)}),S.columns.push(new E.a(H))}):T.columns.forEach(function(D){S.columns.push(new E.a(D))})),S}return s(N,C),N.prototype.getColumnByColumnId=function(r){return this.makeColumnObj()[r]},N.prototype.makeColumnObj=function(){var r={};return this.columns&&this.columns.forEach(function(T){T.columns.forEach(function(S){(S.id||S.columnId)&&(r[S.id||S.columnId]=S)})}),r},N.prototype.getGridColumns=function(){return this.gridColumns||1},N.prototype.getPrintElementOptionEntity=function(){var r=C.prototype.getPrintElementOptionEntity.call(this);return r.fields=this.fields,this.columns&&(r.columns=[],this.columns.forEach(function(T){var S=T.getPrintElementOptionEntity().map(function(D){return new b(D)});r.columns.push(S)})),r},N}(W.a)},function($,F,g){g.d(F,"a",function(){return W});var W=function(){return function(){this.rowColumns=[]}}()},function($,F,g){g.d(F,"a",function(){return W});var W=function(){function E(b,l){this.gridColumns=b,this.target=l}return E.prototype.getByIndex=function(b){return this.target.find(".hi-grid-col:eq("+b+")")},E}()},function($,F,g){$.exports=g(33)},function($,F){(function(g){function W(r){var T=g.data(r.data.target,"hidraggable"),S=T.options,D=T.proxy,H=r.data,j=H.startLeft+(r.pageX-H.startX)/(T.options.getScale()||1),v=H.startTop+(r.pageY-H.startY)/(T.options.getScale()||1);D&&(D.parent()[0]==document.body?(j=S.deltaX!=null&&S.deltaX!=null?r.pageX+S.deltaX:r.pageX-r.data.offsetWidth,v=S.deltaY!=null&&S.deltaY!=null?r.pageY+S.deltaY:r.pageY-r.data.offsetHeight):(S.deltaX!=null&&S.deltaX!=null&&(j+=r.data.offsetWidth+S.deltaX),S.deltaY!=null&&S.deltaY!=null&&(v+=r.data.offsetHeight+S.deltaY))),r.data.parent!=document.body&&(j+=g(r.data.parent).scrollLeft(),v+=g(r.data.parent).scrollTop()),S.axis=="h"?H.left=j:S.axis=="v"||r.shiftKey&&r.altKey?H.top=v:r.shiftKey?H.left=j:(H.left=j,H.top=v)}function E(r){var T=g.data(r.data.target,"hidraggable"),S=T.options,D=T.proxy;D||(D=g(r.data.target)),D.css({left:g.fn.dragLengthC(r.data.left,S),top:g.fn.dragLengthC(r.data.top,S)}),g("body").css("cursor",S.cursor)}function b(r){g.fn.hidraggable.isDragging=!0;var T=g.data(r.data.target,"hidraggable"),S=T.options,D=g(".hidroppable").filter(function(){return r.data.target!=this}).filter(function(){var j=g.data(this,"hidroppable")&&g.data(this,"hidroppable").options.accept;return!j||g(j).filter(function(){return this==r.data.target}).length>0});T.hidroppables=D;var H=T.proxy;return H||(S.proxy?(H=S.proxy=="clone"?g(r.data.target).clone().insertAfter(r.data.target):S.proxy.call(r.data.target,r.data.target),T.proxy=H):H=g(r.data.target)),H.css("position","absolute"),W(r),E(r),S.onStartDrag.call(r.data.target,r),!1}function l(r,T,S,D,H,j){Math.abs(r[S]-T[D])<=HIPRINT_CONFIG.adsorbLineMin?r.v.length?r.v.css("left",r[S]+"pt"):(r.v=x.default("<div class='verLine id-"+r.id+"'></div>"),r.v.css("height",H+"pt"),r.v.css("left",r[S]+"pt"),j.append(r.v)):r.v&&r.v.remove()}function I(r){r&&r.v&&r.v.remove(),x.default(".verLine").remove()}function s(r,T,S,D,H,j){Math.abs(r[S]-T[D])<=HIPRINT_CONFIG.adsorbLineMin?r.h.length?r.h.css("top",r[S]+"pt"):(r.h=x.default("<div class='horLine id-"+r.id+"'></div>"),r.h.css("width",H+"pt"),r.h.css("top",r[S]+"pt"),j.append(r.h)):r.h&&r.h.remove()}function w(r){r&&r.h&&r.h.remove(),x.default(".horLine").remove()}function C(r){var T=g.data(r.data.target,"hidraggable");if(W(r),!(r.ctrlKey||r.metaKey)&&(r.data.target.className.startsWith("resize-panel")||r.data.target.style.zIndex=="2"||r.data.target.className.startsWith("hiprint-printElement"))){var S=r.data;if(g(".mouseRect").length==0&&T.options.designTarget&&T.options.designTarget.panel.printElements.filter(function(h){return h.designTarget.children().last().css("display")=="block"&&!h.printElementType.type.includes("table")}).length<=1){let h=window.hinnn.px.toPt(S.left),M=window.hinnn.px.toPt(S.top),u=T.options.designTarget.options;u.left=h,u.top=M,u.right=h+u.width,u.bottom=M+u.height,u.vCenter=h+u.width/2,u.hCenter=M+u.height/2,(()=>{let d=T.options.designTarget.panel.printElements.filter(q=>q.id!=T.options.designTarget.id).map(q=>{let{left:z,top:et,width:ot,height:pt}=q.options,st=z+ot,ht=z+ot/2,mt=et+pt/2,ut=u.left+u.width/2,bt=u.top+u.height/2,dt=u.left+u.width,lt,vt,yt,Mt;return vt=Math.sqrt(Math.pow(z-u.left,2)+Math.pow(mt-bt,2)),yt=Math.sqrt(Math.pow(ht-ut,2)+Math.pow(mt-bt,2)),Mt=Math.sqrt(Math.pow(st-dt,2)+Math.pow(mt-bt,2)),lt=Math.min(vt,yt,Mt),{...q.options,distance:lt,h:x.default(".horLine.id-"+q.id),v:x.default(".verLine.id-"+q.id),bottom:et+pt,right:z+ot,vCenter:ht,hCenter:mt}}).sort((q,z)=>q.distance-z.distance).slice(0,1),A=T.options.designTarget.designPaper,Z=A.target.find(".hiprint-printPaper-content"),L=A.width,J=A.height,Y=HIPRINT_CONFIG.showAdsorbLine,R=HIPRINT_CONFIG.adsorbMin,V=HIPRINT_CONFIG.adsorbLineMin;d.forEach((q,z)=>{Math.abs(d[z].left-u.left)<=R?(u.left=d[z].left,I(d[z])):Math.abs(d[z].vCenter-u.left)<=R?(u.left=d[z].vCenter,I(d[z])):Math.abs(d[z].right-u.left)<=R&&(u.left=d[z].right,I(d[z])),Math.abs(d[z].left-u.vCenter)<=R?(u.left=d[z].left-u.width/2,I(d[z])):Math.abs(d[z].vCenter-u.vCenter)<=R?(u.left=d[z].vCenter-u.width/2,I(d[z])):Math.abs(d[z].right-u.vCenter)<=R&&(u.left=d[z].right-u.width/2,I(d[z])),Math.abs(d[z].left-u.right)<=R?(u.left=d[z].left-u.width,I(d[z])):Math.abs(d[z].vCenter-u.right)<=R?(u.left=d[z].vCenter-u.width,I(d[z])):Math.abs(d[z].right-u.right)<=R&&(u.left=d[z].right-u.width,I(d[z])),Math.abs(d[z].top-u.top)<=R?(u.top=d[z].top,w(d[z])):Math.abs(d[z].hCenter-u.top)<=R?(u.top=d[z].hCenter,w(d[z])):Math.abs(d[z].bottom-u.top)<=R&&(u.top=d[z].bottom,w(d[z])),Math.abs(d[z].top-u.hCenter)<=R?(u.top=d[z].top-u.height/2,w(d[z])):Math.abs(d[z].hCenter-u.hCenter)<=R?(u.top=d[z].hCenter-u.height/2,w(d[z])):Math.abs(d[z].bottom-u.hCenter)<=R&&(u.top=d[z].bottom-u.height/2,w(d[z])),Math.abs(d[z].top-u.bottom)<=R?(u.top=d[z].top-u.height,w(d[z])):Math.abs(d[z].hCenter-u.bottom)<=R?(u.top=d[z].hCenter-u.height,w(d[z])):Math.abs(d[z].bottom-u.bottom)<=R&&(u.top=d[z].bottom-u.height,w(d[z])),Y&&(Math.abs(d[z].left-u.left)>R&&Math.abs(d[z].left-u.left)<=V?l(d[z],u,"left","left",J,Z):Math.abs(d[z].vCenter-u.left)>R&&Math.abs(d[z].vCenter-u.left)<=V?l(d[z],u,"vCenter","left",J,Z):Math.abs(d[z].right-u.left)>R&&Math.abs(d[z].right-u.left)<=V?l(d[z],u,"right","left",J,Z):Math.abs(d[z].left-u.vCenter)>R&&Math.abs(d[z].left-u.vCenter)<=V?l(d[z],u,"left","vCenter",J,Z):Math.abs(d[z].vCenter-u.vCenter)>R&&Math.abs(d[z].vCenter-u.vCenter)<=V?l(d[z],u,"vCenter","vCenter",J,Z):Math.abs(d[z].right-u.vCenter)>R&&Math.abs(d[z].right-u.vCenter)<=V?l(d[z],u,"right","vCenter",J,Z):Math.abs(d[z].left-u.right)>R&&Math.abs(d[z].left-u.right)<=V?l(d[z],u,"left","right",J,Z):Math.abs(d[z].vCenter-u.right)>R&&Math.abs(d[z].vCenter-u.right)<=V?l(d[z],u,"vCenter","right",J,Z):Math.abs(d[z].right-u.right)>R&&Math.abs(d[z].right-u.right)<=V?l(d[z],u,"right","right",J,Z):Math.abs(d[z].top-u.top)>R&&Math.abs(d[z].top-u.top)<=V?s(d[z],u,"top","top",L,Z):Math.abs(d[z].hCenter-u.top)>R&&Math.abs(d[z].hCenter-u.top)<=V?s(d[z],u,"hCenter","top",L,Z):Math.abs(d[z].bottom-u.top)>R&&Math.abs(d[z].bottom-u.top)<=V?s(d[z],u,"bottom","top",L,Z):Math.abs(d[z].top-u.hCenter)>R&&Math.abs(d[z].top-u.hCenter)<=V?s(d[z],u,"top","hCenter",L,Z):Math.abs(d[z].hCenter-u.hCenter)>R&&Math.abs(d[z].hCenter-u.hCenter)<=V?s(d[z],u,"hCenter","hCenter",L,Z):Math.abs(d[z].bottom-u.hCenter)>R&&Math.abs(d[z].bottom-u.hCenter)<=V?s(d[z],u,"bottom","hCenter",L,Z):Math.abs(d[z].top-u.bottom)>R&&Math.abs(d[z].top-u.bottom)<=V?s(d[z],u,"top","bottom",L,Z):Math.abs(d[z].hCenter-u.bottom)>R&&Math.abs(d[z].hCenter-u.bottom)<=V?s(d[z],u,"hCenter","bottom",L,Z):Math.abs(d[z].bottom-u.bottom)>R&&Math.abs(d[z].bottom-u.bottom)<=V?s(d[z],u,"bottom","bottom",L,Z):(I(d[z]),w(d[z])))})})(),r.data.left=window.hinnn.pt.toPx(u.left),r.data.top=window.hinnn.pt.toPx(u.top)}var D=S.parent.className.endsWith("design")?S.parent:S.parent.offsetParent,H=D.clientWidth,j=D.clientHeight,v=S.target.clientWidth,P=S.target.clientHeight,o=0,m=0;if(T.options.designTarget&&T.options.designTarget.options.transform){var a=T.options.designTarget.options.getRectInfo();o=window.hinnn.pt.toPx(a.diffW),m=window.hinnn.pt.toPx(a.diffH)}S.left<0-o?S.left=0-o:S.left>=H-v+o&&(S.left=H-v+o),S.top<0-m?S.top=0-m:S.top>=j-P+m&&(S.top=j-P+m),r.data=S}T.options.onDrag.call(r.data.target,r,g.fn.dragLengthCNum(r.data.left,T.options),g.fn.dragLengthCNum(r.data.top,T.options))!=0&&E(r);var c=r.data.target;return T.hidroppables.each(function(){var h=g(this);if(!h.hidroppable("options").disabled){var M=h.offset();r.pageX>M.left&&r.pageX<M.left+h.outerWidth()&&r.pageY>M.top&&r.pageY<M.top+h.outerHeight()?(this.entered||(g(this).trigger("_dragenter",[c]),this.entered=!0),g(this).trigger("_dragover",[c])):this.entered&&(g(this).trigger("_dragleave",[c]),this.entered=!1)}}),!1}function N(r){g.fn.hidraggable.isDragging=!1;var T,S,D=g.data(r.data.target,"hidraggable"),H=D.proxy,j=D.options;j.revert?P()==1?g(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}):H?(H.parent()[0]==document.body?(T=r.data.startX-r.data.offsetWidth,S=r.data.startY-r.data.offsetHeight):(T=r.data.startLeft,S=r.data.startTop),H.animate({left:T,top:S},function(){v()})):g(r.data.target).animate({left:r.data.startLeft,top:r.data.startTop},function(){g(r.data.target).css("position",r.data.startPosition)}):(g(r.data.target).css({position:"absolute",left:g.fn.dragLengthC(r.data.left,j),top:g.fn.dragLengthC(r.data.top,j)}),P());function v(){H&&H.remove(),D.proxy=null}function P(){var o=!1;return D.hidroppables.each(function(){var m=g(this);if(!m.hidroppable("options").disabled){var a=m.offset();return r.pageX>a.left&&r.pageX<a.left+m.outerWidth()&&r.pageY>a.top&&r.pageY<a.top+m.outerHeight()?(j.revert&&g(r.data.target).css({position:r.data.startPosition,left:r.data.startLeft,top:r.data.startTop}),g(this).trigger("_drop",[r.data.target]),v(),o=!0,this.entered=!1,!1):void 0}}),o||j.revert||v(),o}return j.onStopDrag.call(r.data.target,r),g(document).unbind(".hidraggable"),setTimeout(function(){g("body").css("cursor","")},100),!1}g.fn.hidraggable=function(r,T){return typeof r=="string"?g.fn.hidraggable.methods[r](this,T):this.each(function(){var S,D=g.data(this,"hidraggable");D?(D.handle.unbind(".hidraggable"),S=g.extend(D.options,r)):S=g.extend({},g.fn.hidraggable.defaults,g.fn.hidraggable.parseOptions(this),r||{});var H=S.handle?typeof S.handle=="string"?g(S.handle,this):S.handle:g(this);function j(v){var P=g.data(v.data.target,"hidraggable"),o=P.handle,m=g(o).offset(),a=g(o)[0].style.transform&&parseInt(g(o)[0].style.transform.slice(7,-1)),c=P.options.getScale(),h=g(o).outerWidth(),M=g(o).outerHeight();if(a){var u=a*Math.PI/180,d=g(o).outerWidth(),A=g(o).outerHeight(),Z=Math.sin(u),L=Math.cos(u);h=Math.abs(d*L)+Math.abs(A*Z),M=Math.abs(d*Z)+Math.abs(A*L)}c&&(h*=c,M*=c);var J=v.pageY-m.top,Y=m.left+h-v.pageX,R=m.top+M-v.pageY,V=v.pageX-m.left;return Math.min(J,Y,R,V)>P.options.edge}g.data(this,"hidraggable",{options:S,handle:H}),S.disabled?g(this).css("cursor",""):H.unbind(".hidraggable").bind("mousemove.hidraggable",{target:this},function(v){if(!g.fn.hidraggable.isDragging){var P=g.data(v.data.target,"hidraggable").options;j(v)?g(this).css("cursor",P.cursor):g(this).css("cursor","")}}).bind("mouseleave.hidraggable",{target:this},function(v){g(this).css("cursor","")}).bind("mousedown.hidraggable",{target:this},function(v){if(j(v)!=0){g(this).css("cursor","");var P=g(v.data.target).position(),o=g(v.data.target).offset(),m={startPosition:g(v.data.target).css("position"),startLeft:P.left,startTop:P.top,left:P.left,top:P.top,startX:v.pageX,startY:v.pageY,offsetWidth:v.pageX-o.left,offsetHeight:v.pageY-o.top,target:v.data.target,parent:g(v.data.target).parent()[0]},a=g.data(v.data.target,"hidraggable");if(a.options.draggable===!1||v.target.className=="r resizebtn")return;var c=a.options.getScale();c&&(m.left/=c,m.top/=c,m.startLeft/=c,m.startTop/=c);var h=m.target.style.transform&&parseInt(m.target.style.transform.slice(7,-1));if(h){var M=h*Math.PI/180,u=g(v.data.target).outerWidth(),d=g(v.data.target).outerHeight(),A=Math.sin(M),Z=Math.cos(M),L=Math.abs(u*Z)+Math.abs(d*A),J=Math.abs(u*A)+Math.abs(d*Z),Y=(L-u)/2,R=(J-d)/2;m.left+=Y,m.top+=R,m.startLeft+=Y,m.startTop+=R}g.extend(v.data,m),g.data(v.data.target,"hidraggable").options.onBeforeDrag.call(v.data.target,v)!=0&&(g(document).bind("mousedown.hidraggable",v.data,b),g(document).bind("mousemove.hidraggable",v.data,C),g(document).bind("mouseup.hidraggable",v.data,N))}})})},g.fn.hidraggable.methods={options:function(T){return g.data(T[0],"hidraggable").options},update:function(T,S){S&&typeof S=="object"&&g.data(T[0],"hidraggable")&&Object.keys(S).forEach(function(D){g.data(T[0],"hidraggable").options[D]=S[D]})},proxy:function(T){return g.data(T[0],"hidraggable").proxy},enable:function(T){return T.each(function(){g(this).hidraggable({disabled:!1})})},disable:function(T){return T.each(function(){g(this).hidraggable({disabled:!0})})}},g.fn.hidraggable.parseOptions=function(r){var T=g(r);return g.extend({},g.hiprintparser.parseOptions(r,["cursor","handle","axis",{revert:"boolean",deltaX:"number",deltaY:"number",edge:"number"}]),{disabled:!!T.attr("disabled")||void 0})},g.fn.hidraggable.defaults={proxy:null,revert:!1,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:!1,edge:0,axis:null,getScale:function(T){},onBeforeDrag:function(T){},onStartDrag:function(T){},onDrag:function(T){},onStopDrag:function(T){}},g.fn.hidraggable.isDragging=!1})(jQuery)},function($,F){(function(g){g.fn.hidroppable=function(W,E){return typeof W=="string"?g.fn.hidroppable.methods[W](this,E):(W=W||{},this.each(function(){var b,l=g.data(this,"hidroppable");l?g.extend(l.options,W):(g(b=this).addClass("hidroppable"),g(b).bind("_dragenter",function(I,s){g.data(b,"hidroppable").options.onDragEnter.apply(b,[I,s])}),g(b).bind("_dragleave",function(I,s){g.data(b,"hidroppable").options.onDragLeave.apply(b,[I,s])}),g(b).bind("_dragover",function(I,s){g.data(b,"hidroppable").options.onDragOver.apply(b,[I,s])}),g(b).bind("_drop",function(I,s){g.data(b,"hidroppable").options.onDrop.apply(b,[I,s])}),g.data(this,"hidroppable",{options:g.extend({},g.fn.hidroppable.defaults,g.fn.hidroppable.parseOptions(this),W)}))}))},g.fn.hidroppable.methods={options:function(E){return g.data(E[0],"hidroppable")&&g.data(E[0],"hidroppable").options||{}},enable:function(E){return E.each(function(){g(this).hidroppable({disabled:!1})})},disable:function(E){return E.each(function(){g(this).hidroppable({disabled:!0})})}},g.fn.hidroppable.parseOptions=function(W){var E=g(W);return g.extend({},g.hiprintparser.parseOptions(W,["accept"]),{disabled:!!E.attr("disabled")||void 0})},g.fn.hidroppable.defaults={accept:null,disabled:!1,onDragEnter:function(E,b){},onDragOver:function(E,b){},onDragLeave:function(E,b){},onDrop:function(E,b){}}})(jQuery)},function($,F){var g;(g=jQuery).hiprintparser={parseOptions:function(E,b){var l=g(E),I={},s=g.trim(l.attr("data-options"));if(s&&(s.substring(0,1)!="{"&&(s="{"+s+"}"),I=new Function("return "+s)()),b){for(var w={},C=0;C<b.length;C++){var N=b[C];if(typeof N=="string")w[N]=N=="width"||N=="height"||N=="left"||N=="top"?parseInt(E.style[N])||void 0:l.attr(N);else for(var r in N){var T=N[r];T=="boolean"?w[r]=l.attr(r)?l.attr(r)=="true":void 0:T=="number"&&(w[r]=l.attr(r)=="0"?0:parseFloat(l.attr(r))||void 0)}}g.extend(I,w)}return I}},g.fn.dragLengthC=function(W,E){return E.moveUnit=="pt"?g.fn.dragLengthCNum(W,E)+"pt":g.fn.dragLengthCNum(W,E)},g.fn.dragLengthCNum=function(W,E){var b=3;if(E.moveUnit=="pt"){var l=.75*W;return E.minMove&&(b=E.minMove),Math.round(l/b)*b}return Math.round(l/b)*b}},function($,F){var g,W,E;g=jQuery,W={maxPanelIndex:0},(E=function(l){this.options=g.data(l.target,"hireizeable").options,this.init(l.target)}).prototype={numHandlerText:function(l){return this.numHandler(l)+"pt"},numHandler:function(l){var I=1.5,s=.75*l;return this.options.minResize&&(I=this.options.minResize),Math.round(s/I)*I},init:function(l){var I=this;if(l.className.includes("hiprint-printElement")){this.initResizeBox(l);var s=new ResizeObserver((w,C)=>{I.refreshSizeBox(g(l))});s.observe(l)}},initResizeBox:function(l){var I=this;g(l).each(function(){var s;W.maxPanelIndex+=1,I.options.noContainer?s=g(l):s=g("<div panelIndex="+W.maxPanelIndex+' class="resize-panel"></div>'),I.appendHandler(s,g(this));var w={name:"n",target:g('<div class="resizebtn n"/>')},C={name:"s",target:g('<div class="resizebtn s"/>')},N={name:"w",target:g('<div class="resizebtn w"/>')},r={name:"e",target:g('<div class="resizebtn e"/>')},T={name:"ne",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn ne"/>')},S={name:"nw",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn nw"/>')},D={name:"se",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn se"/>')},H={name:"sw",target:g('<div title="\u6309\u4E0Bshift\u81EA\u7531\u7F29\u653E" class="resizebtn sw"/>')},j={name:"r",target:g('<div class="resizebtn r"/>')},v={name:"why",target:g('<div class="resizebtn why"/>')},P=g('<div class="size-box"></div>'),o=g('<div class="del-btn">\u2715</div>'),m=function(){var h=[v.target],M=I.options.showPoints;return g.each([j,w,C,N,r,T,S,D,H],function(u,d){g.inArray(d.name,M)>-1&&h.push(d.target)}),h};I.refreshSizeBox(void 0,P,s),I.options.draggable!=!1&&(s.append(o),s.on("mousedown",".del-btn",()=>{var c=new KeyboardEvent("keydown",{bubbles:!0,keyCode:46});l.dispatchEvent(c)})),I.appendHandler(m(),s),I.bindResizeEvent(s,g(this));var a=g(this);g(s).on("mousedown",".resizebtn",function(){a.addClass("resizeing")}),g(".easyui-droppable").on("mouseup",function(){a.removeClass("resizeing")}),I.bindTrigger(g(this))}),I.bindHidePanel()},addHandlerCss:function(l){for(var I=0;I<l.length;I++)l[I].css({position:"absolute",width:"8px",height:"8px",background:"#ff6600","border-radius":"50%"})},appendHandler:function(l,I){I.find(".resize-panel").remove();for(var s=0;s<l.length;s++)I.append(l[s])},refreshSizeBox:function(l,I,s){if(!!this.options.showSizeBox){if(I)s.append(I);else if(l&&l.length){var w=l.height(),C=l[0].clientHeight,N=l.width(),r=l[0].clientWidth;w<=40?(g.each([".ne",".nw",".se",".sw"],function(D,H){var j=C-30;l.find(H).css("height",j>0?j:0),l.find(H).css("width",j>0?j:0),j<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),g.each([".e",".w"],function(D,H){var j=C-30;l.find(H).css("height",j>0?j:10),l.find(H).css("top",C/2-(j>0?j:10)/2)})):g.each([".e",".w"],function(D,H){l.find(H).css("top",C/2-l.find(H).height()/2)}),N<=40?(g.each([".ne",".nw",".se",".sw"],function(D,H){var j=r-30;l.find(H).css("height",j>0?j:0),l.find(H).css("width",j>0?j:0),j<=0&&(H.includes("n")&&l.find(H).css("border-top","none"),H.includes("s")&&l.find(H).css("border-bottom","none"),H.includes("e")&&l.find(H).css("border-right","none"),H.includes("w")&&l.find(H).css("border-left","none"))}),g.each([".n",".s"],function(D,H){let j=r-30;l.find(H).css("width",j>0?j:10),l.find(H).css("left",r/2-(j>0?j:10)/2)})):g.each([".n",".s",".r"],function(D,H){H==".r",l.find(H).css("left",r/2-l.find(H).width()/2)}),C>40&&r>40&&(g.each([".ne",".nw",".se",".sw"],function(D,H){H.includes("n")&&l.find(H).css("border-top",""),H.includes("s")&&l.find(H).css("border-bottom",""),H.includes("e")&&l.find(H).css("border-right",""),H.includes("w")&&l.find(H).css("border-left","")}),g.each([".n",".s"],function(D,H){l.find(H).css("width","")}))}var T,S;if(l&&l.length)T=l[0].style,S=l.children("div[panelindex]").find(".size-box");else if(s&&s.parent()){var l=s.parent();if(l.hasClass("hiprint-printPaper-content"))return;T=l[0].style,T.width||(T.width=hinnn.px.toPt(l[0].offsetWidth)+"pt"),T.height||(T.height=hinnn.px.toPt(l[0].offsetHeight)+"pt"),S=l.children("div[panelindex]").find(".size-box")}S&&(S.text(T.width+" x "+T.height),S.css("top",-(S.outerHeight()||20)))}},triggerResize:function(l,I){I.ctrlKey||I.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,I){var s=this,w=0,C=0,N=l.width(),r=l.height(),T=l.offset().left,S=l.offset().top,D=s.options.noContainer?g(I):l.parent(),H=!1;l.on("mousedown",".e",function(u){w=u.pageX,N=l.width(),H=!0,u.stopPropagation()});var j=!1;l.on("mousedown",".s",function(u){C=u.pageY,r=l.height(),j=!0,u.stopPropagation()});var v=!1;l.on("mousedown",".w",function(u){w=u.pageX,N=l.width(),v=!0,T=D.position().left,u.stopPropagation()});var P=!1;l.on("mousedown",".n",function(u){C=u.pageY,r=l.height(),P=!0,S=D.position().top,u.stopPropagation()});var o=!1;l.on("mousedown",".ne",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),o=!0,S=D.position().top,u.stopPropagation()});var m=!1;l.on("mousedown",".nw",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),S=D.position().top,T=D.position().left,m=!0,u.stopPropagation()});var a=!1;l.on("mousedown",".se",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),a=!0,u.stopPropagation()});var c=!1;l.on("mousedown",".sw",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),c=!0,T=D.position().left,u.stopPropagation()});var h=!1;l.on("mousedown",".r",function(u){w=u.pageX,C=u.pageY,N=l.width(),r=l.height(),h=!0,T=N/2+D.position().left,S=r/2+D.position().top,u.stopPropagation()}),l.on("dblclick",".r",function(u){D.css({transform:"rotate("+0+"deg)"}),s.options.onResize(u,void 0,void 0,void 0,void 0,0),u.stopPropagation()});var M=!1;l.on("mousedown",function(u){s.options.onBeforeResize(),w=u.pageX,C=u.pageY,S=D.position().top,T=D.position().left,M=!1}),g(s.options.stage).on("mousemove",function(u){if(H){var d=(u.pageX-w)/s.options.getScale();l.css({width:"100%"}),D.css({width:s.numHandlerText(N+d)}),s.options.onResize(u,void 0,s.numHandler(N+d),void 0,void 0)}else if(j){var A=(u.pageY-C)/s.options.getScale();l.css({height:"100%"}),D.css({height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),void 0,void 0,void 0)}else if(h){l.css({height:"100%"});var Z=u.pageX;u.pageY;var L=(Z-w)*360/100;w=u.pageX;var J=D[0].style.transform&&parseInt(D[0].style.transform.slice(7,-1))||0,Y=J+L;Math.abs(Y)>360&&(Y=Y%360),D.css({transform:"rotate("+Y+"deg)"}),s.options.onResize(u,void 0,void 0,void 0,void 0,Y)}else if(v)d=(u.pageX-w)/s.options.getScale(),l.css({width:"100%"}),D.css({width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d)}),s.options.onResize(u,void 0,s.numHandler(N-d),void 0,s.options.noDrag?void 0:s.numHandler(T+d));else if(P)A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%"}),D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A)}),s.options.onResize(u,s.numHandler(r-A),void 0,s.options.noDrag?void 0:s.numHandler(S+A),void 0);else if(o)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%",width:"100%"}),u.shiftKey)D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A),width:s.numHandlerText(N+d)}),s.options.onResize(u,s.numHandler(r-A),s.numHandler(N+d),s.options.noDrag?void 0:s.numHandler(S+A),void 0);else{var R=r/N,V=N+d,q=r-A,z=S+A;q=V*R,z=S+A+r-A-q,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q),top:s.numHandlerText(s.options.noDrag?void 0:z)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),s.options.noDrag?void 0:s.numHandler(z),void 0)}else if(m)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({height:"100%",width:"100%"}),u.shiftKey)D.css({height:s.numHandlerText(r-A),top:s.numHandlerText(s.options.noDrag?void 0:S+A),width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d)}),s.options.onResize(u,s.numHandler(r-A),s.numHandler(N-d),s.options.noDrag?void 0:s.numHandler(S+A),s.options.noDrag?void 0:s.numHandler(T+d));else{var R=r/N,V=N-d,q=r-A,et=T+d,z=S+A;q=V*R,et=T+d,z=S+A+r-A-q,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q),left:s.numHandlerText(s.options.noDrag?void 0:et),top:s.numHandlerText(s.options.noDrag?void 0:z)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),s.options.noDrag?void 0:s.numHandler(z),s.options.noDrag?void 0:s.numHandler(et))}else if(a)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({width:"100%",height:"100%"}),u.shiftKey)D.css({width:s.numHandlerText(N+d),height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),s.numHandler(N+d),void 0,void 0);else{var R=r/N,V=N+d,q=r+A;q=V*R,D.css({width:s.numHandlerText(V),height:s.numHandlerText(q)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),void 0,void 0)}else if(c)if(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),l.css({width:"100%",height:"100%"}),u.shiftKey)D.css({width:s.numHandlerText(N-d),left:s.numHandlerText(s.options.noDrag?void 0:T+d),height:s.numHandlerText(r+A)}),s.options.onResize(u,s.numHandler(r+A),s.numHandler(N-d),void 0,s.options.noDrag?void 0:s.numHandler(T+d));else{var R=r/N,V=N-d,q=r+A,et=T+d;q=V*R,D.css({width:s.numHandlerText(V),left:s.numHandlerText(s.options.noDrag?void 0:et),height:s.numHandlerText(q)}),s.options.onResize(u,s.numHandler(q),s.numHandler(V),void 0,s.options.noDrag?void 0:s.numHandler(et))}else M&&(d=(u.pageX-w)/s.options.getScale(),A=(u.pageY-C)/s.options.getScale(),D.css({left:s.numHandlerText(s.options.noDrag?void 0:T+d),top:s.numHandlerText(s.options.noDrag?void 0:S+A)}),s.options.onResize(u,void 0,void 0,s.options.noDrag?void 0:s.numHandler(S+A),s.options.noDrag?void 0:s.numHandler(T+d)))}).on("mouseup",function(u){(H||j||v||P||o||m||c||a||M||h)&&s.options.onStopResize(h),H=!1,j=!1,v=!1,P=!1,o=!1,m=!1,c=!1,a=!1,M=!1,h=!1})},bindTrigger:function(l){var I=this;l.on("click",function(s){s.stopPropagation(),I.triggerResize(l,s),g(".mouseRect").remove()})},bindHidePanel:function(l){if(W.maxPanelIndex<2){var I=this.options.stage;g(I).bind("click",function(s){s.target.className&&jt(s.target.className)=="string"&&(s.target.className.includes("design")||s.target.className.includes("hiprint-printPaper-content")||s.target.className.includes("paperBox"))&&(s.stopPropagation(),g("div[panelindex]").css({display:"none"}),g("div[panelindex]").removeClass("selected"))})}}},g.fn.extend({hireizeable:function(l){return this.each(function(){var I,s=g.data(this,"hireizeable");I=s?g.extend({},s.options,l||{}):g.extend({},g.fn.hireizeable.defaults,l||{}),g.data(this,"hireizeable",{options:I}),new E({target:this,onResize:function(C,N,r,T,S){},onStopResize:function(C,N,r,T,S){}})})}}),g.fn.hireizeable.defaults={stage:document,reizeUnit:"pt",minResize:1.5,showSizeBox:!0,showPoints:["s","e"],noContainer:!1,onBeforeResize:function(l,I,s,w,C){},onResize:function(l,I,s,w,C){},onStopResize:function(l,I,s,w,C){},noDrag:!1}},function($,F){var g,W;jQuery,g="connected",W="reconnecting",window.hiwebSocket={opened:!1,name:"webSockets",host:"http://localhost:17521",host2:"http://localhost:17520",reconnectTimeout:6e4,reconnectWindowSetTimeout:null,reconnectDelay:2e3,supportsKeepAlive:function(){return!0},hasIo:function(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))}},getAddress:function(b,...l){try{this.socket.emit("address",b,...l)}catch(I){console.log("getAddress error:"+JSON.stringify(I))}},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(E,b){window.utools?this.host2=host2:this.host=E,this.stop(),this.start(b)},start:function(b){var l=this,I=this;window.WebSocket?this.socket||(this.socket=window.io(window.utools?this.host2:this.host,{reconnectionAttempts:5}),this.socket.on("connect",function(s){I.opened=!0,console.log("Websocket opened."),l.socket.on("successs",function(w){hinnn.event.trigger("printSuccess_"+w.templateId,w)}),l.socket.on("error",function(w){hinnn.event.trigger("printError_"+w.templateId,w)}),l.socket.on("printerList",function(w){I.printerList=w,hinnn.event.trigger("printerList",w)}),l.socket.on("address",function(w,C,N){hinnn.event.trigger("address_"+w,{addr:C,e:N})}),l.socket.on("ippPrinterConnected",function(w){hinnn.event.trigger("ippPrinterConnected",w)}),l.socket.on("ippPrinterCallback",function(w,C){hinnn.event.trigger("ippPrinterCallback",{err:w,res:C})}),l.socket.on("ippRequestCallback",function(w,C){hinnn.event.trigger("ippRequestCallback",{err:w,res:C})}),I.state=g,b&&b(!0,s)}),this.socket.on("disconnect",function(){I.opened=!1,b&&b(!1)})):console.log("WebSocket start fail"),b&&b(!1)},reconnect:function(){this.state!==g&&this.state!==W||(this.stop(),this.ensureReconnectingState()&&(console.log("Websocket reconnecting."),this.start()))},stop:function(){this.socket&&(console.log("Closing the Websocket."),this.socket.close(),this.socket=null,this.printerList=[])},ensureReconnectingState:function(){return this.state=W,this.state===W}}},function($,F,g){var W=g(28);typeof W=="string"&&(W=[[$.i,W,""]]);var E={hmr:!0,transform:void 0,insertInto:void 0};g(30)(W,E),W.locals&&($.exports=W.locals)},function($,F,g){($.exports=g(29)(!1)).push([$.i,"",""])},function($,F,g){$.exports=function(W){var E=[];return E.toString=function(){return this.map(function(b){var l=function(I,s){var w=I[1]||"",C=I[3];if(!C)return w;if(s&&typeof btoa=="function"){var N=(T=C,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(T))))+" */"),r=C.sources.map(function(S){return"/*# sourceURL="+C.sourceRoot+S+" */"});return[w].concat(r).concat([N]).join(`
|
|
1507
1507
|
`)}var T;return[w].join(`
|
|
1508
|
-
`)}(b,W);return b[2]?"@media "+b[2]+"{"+l+"}":l}).join("")},E.i=function(b,l){typeof b=="string"&&(b=[[null,b,""]]);for(var
|
|
1508
|
+
`)}(b,W);return b[2]?"@media "+b[2]+"{"+l+"}":l}).join("")},E.i=function(b,l){typeof b=="string"&&(b=[[null,b,""]]);for(var I={},s=0;s<this.length;s++){var w=this[s][0];w!=null&&(I[w]=!0)}for(s=0;s<b.length;s++){var C=b[s];C[0]!=null&&I[C[0]]||(l&&!C[2]?C[2]=l:l&&(C[2]="("+C[2]+") and ("+l+")"),E.push(C))}},E}},function($,F,g){var W,E,b={},l=(W=function(){return window&&document&&document.all&&!window.atob},function(){return E===void 0&&(E=W.apply(this,arguments)),E}),I=function(a){var c={};return function(h,M){if(typeof h=="function")return h();if(c[h]===void 0){var u=function(d,A){return A?A.querySelector(d):document.querySelector(d)}.call(this,h,M);if(window.HTMLIFrameElement&&Dt(u,window.HTMLIFrameElement))try{u=u.contentDocument.head}catch{u=null}c[h]=u}return c[h]}}(),s=null,w=0,C=[],N=g(31);function r(a,c){for(var h=0;h<a.length;h++){var M=a[h],u=b[M.id];if(u){u.refs++;for(var d=0;d<u.parts.length;d++)u.parts[d](M.parts[d]);for(;d<M.parts.length;d++)u.parts.push(v(M.parts[d],c))}else{var A=[];for(d=0;d<M.parts.length;d++)A.push(v(M.parts[d],c));b[M.id]={id:M.id,refs:1,parts:A}}}}function T(a,c){for(var h=[],M={},u=0;u<a.length;u++){var d=a[u],A=c.base?d[0]+c.base:d[0],Z={css:d[1],media:d[2],sourceMap:d[3]};M[A]?M[A].parts.push(Z):h.push(M[A]={id:A,parts:[Z]})}return h}function S(a,c){var h=I(a.insertInto);if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var M=C[C.length-1];if(a.insertAt==="top")M?M.nextSibling?h.insertBefore(c,M.nextSibling):h.appendChild(c):h.insertBefore(c,h.firstChild),C.push(c);else if(a.insertAt==="bottom")h.appendChild(c);else{if(jt(a.insertAt)!="object"||!a.insertAt.before)throw new Error(`[Style Loader]
|
|
1509
1509
|
|
|
1510
1510
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
|
1511
1511
|
Must be 'top', 'bottom', or Object.
|
|
1512
1512
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
|
1513
|
-
`);var u=
|
|
1514
|
-
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(R))))+" */");var q=new Blob([Y],{type:"text/css"}),z=Z.href;Z.href=URL.createObjectURL(q),z&&URL.revokeObjectURL(z)}.bind(null,h,
|
|
1515
|
-
`)});function m(a,I,h,M){var u=h?"":M.css;if(a.styleSheet)a.styleSheet.cssText=o(I,u);else{var d=document.createTextNode(u),A=a.childNodes;A[I]&&a.removeChild(A[I]),A.length?a.insertBefore(d,A[I]):a.appendChild(d)}}},function($,F){$.exports=function(g){var W=typeof window<"u"&&window.location;if(!W)throw new Error("fixUrls requires window.location");if(!g||typeof g!="string")return g;var E=W.protocol+"//"+W.host,b=E+W.pathname.replace(/\/[^\/]*$/,"/");return g.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,c){var s,w=c.trim().replace(/^"(.*)"$/,function(C,N){return N}).replace(/^'(.*)'$/,function(C,N){return N});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(w)?l:(s=w.indexOf("//")===0?w:w.indexOf("/")===0?E+w:b+w.replace(/^\.\//,""),"url("+JSON.stringify(s)+")")})}},function($,F){var g,W;g=jQuery,(W=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(s){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=g.extend(!0,{},this.defaults,l),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(b,l){var c=this,s=l;if(b&&b.length){var w=x.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(l){var C=b.length*c.opts.itemHeight-31;w.css({top:-C})}s||(s=w).addClass("hicontextmenuroot"),x.default.each(b,function(N,r){var T='<div class="nav">'+(r.desc||"")+"</div>",S='<i class="svicon '+r.icon+'"></i>';r.menus&&r.menus.length&&(T='<div class="nav">'+(r.desc||"")+"\u203A</div>");var D=!!r.disable&&r.disable(),H=x.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+S+"<span>"+(r.text||"")+"</span></div>"+T+"</a></li>");D&&H.addClass("disable"),r.borderBottom&&H.addClass("borderBottom"),r.menus&&(H.addClass("hicontextsubmenu"),c.renderMenu(r.menus,H)),r.callback&&H.click(function(j){x.default(this).hasClass("disable")||(x.default(".hicontextmenuroot").remove(),r.callback()),j.stopPropagation()}),w.append(H)}),l&&l.append(w)}l||x.default("body").append(s).find(".hicontextmenuroot").hide()},setPosition:function(b){var l=this,c=document.documentElement.clientWidth,s=document.documentElement.clientHeight,w=x.default(".hicontextmenuroot").height(),C=b.pageX,N=b.pageY;C>c-l.opts.width&&(C-=l.opts.width),N>s-w&&(N-=w),x.default(".hicontextmenuroot").css({left:C,top:N}).show()},eventBind:function(){var b=this;this.ele.on("contextmenu",function(l){x.default(".hicontextmenuroot").remove(),l.preventDefault();var c=b.opts.menus.filter(function(w){return typeof w.enabled=="boolean"?w.enabled:w.enabled()});if(!b.opts.table){var s=b.opts.panel.getSelectEls();s.length<=1&&x.default(this).trigger(x.default.Event("click"))}b.renderMenu(c),b.setPosition(l),b.opts.target&&typeof b.opts.target=="function"&&b.opts.target(g(this))}),g("body").on("click",function(){g(".hicontextmenuroot").remove()})}},g.fn.hicontextMenu=function(E){return new W(this,E),this}},function($,F,g){g.r(F),g(22),g(23),g(24),g(25);var W,E=g(0);g(26),window.hiLocalStorage=(W=window.localStorage||null,{saveLocalData:function(e,i){return!(!W||!i||(W.setItem(e,i),0))},getLocalData:function(e){return W?W.getItem(e):null},removeItem:function(e){W&&W.removeItem(e)}}),g(27),g(32);var b,l=function(){function y(){this.allElementTypes=[]}return Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y.prototype.addPrintElementType=function(e){var i=this;if(e&&e.tid&&e.type){var p=et.createPrintElementType(e),f=i.allElementTypes.findIndex(function(U){return U.tid==p.tid});f>=0&&i.allElementTypes.splice(f,1),i.allElementTypes.push(p)}return i},y.prototype.addPrintElementTypes=function(e,i){var p=this;this[e]?this[e]=this[e].concat(i):this[e]=i,i.forEach(function(f){p.allElementTypes=p.allElementTypes.concat(f.printElementTypes)})},y.prototype.removePrintElementTypes=function(e){var i=this;delete i[e],i.allElementTypes=i.allElementTypes.filter(function(p){return!p.tid.startsWith(e)})},y.prototype.getElementTypeGroups=function(e){return this[this.formatterModule(e)]||[]},y.prototype.getElementType=function(e){var i=this.allElementTypes.filter(function(p){return p.tid==e});if(i.length>0)return i[0]},y.prototype.updateElementType=function(e,i){var p=this.getElementType(e);if(i){var f=i(p),U=this.allElementTypes.findIndex(function(k){return k.tid==e});if(U>=0)return this.allElementTypes.splice(U,1,f),f}return p},y.prototype.formatterModule=function(e){return e||"_default"},y}(),c=g(1),s=g(2),w=function(){function y(){}return y.prototype.createPrintElementTypeHtml=function(e,i){var p=x.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(f){var U=x.default("<li></li>");U.append('<span class="title">'+f.name+"</span>");var k=x.default("<ul></ul>");U.append(k),f.printElementTypes.forEach(function(G){k.append('<li><a class="ep-draggable-item" tid="'+G.tid+'"> '+G.getText()+" </a></li>")}),p.append(U)}),x.default(e).append(p),p.find(".ep-draggable-item")},y}(),C=g(5),N=g(15),r=function(){return function(y){this.title=y.title,this.type=y.type}}(),T=function(){return function(y){this.title=y.title,this.type=y.type,this.editable=y.editable,this.columnDisplayEditable=y.columnDisplayEditable,this.columnDisplayIndexEditable=y.columnDisplayIndexEditable,this.columnTitleEditable=y.columnTitleEditable,this.columnResizable=y.columnResizable,this.columnAlignEditable=y.columnAlignEditable,this.isEnableEditField=y.isEnableEditField,this.isEnableContextMenu=y.isEnableContextMenu,this.isEnableInsertRow=y.isEnableInsertRow,this.isEnableDeleteRow=y.isEnableDeleteRow,this.isEnableInsertColumn=y.isEnableInsertColumn,this.isEnableDeleteColumn=y.isEnableDeleteColumn,this.isEnableMergeCell=y.isEnableMergeCell}}(),S=function(){function y(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,f){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 y.prototype.getText=function(){return this.text||this.title||""},y.prototype.createPrintElement=function(e){var i=this;return this.columns&&this.columns.length==0&&(e.columns||[]).forEach(function(p,f){i.columns.push(i.createTableColumnArray(p))}),new N.a(this,e)},y.prototype.getData=function(){return[{}]},y.prototype.createTableColumnArray=function(e){var i=[];return e.forEach(function(p,f){i.push(new C.a(p))}),i},y.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new T({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 r({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y.prototype.getColumnByColumnId=function(e){return this.columnObj[e]},y.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(f){(f.id||f.columnId)&&(i[f.id||f.columnId]=f)})}),this.columnObj=i,i},y}(),D=g(4),H=g(3),j=(b=function(e,i){return(b=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(p,f){p.__proto__=f}||function(p,f){for(var U in f)f.hasOwnProperty(U)&&(p[U]=f[U])})(e,i)},function(y,e){function i(){this.constructor=y}b(y,e),y.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}),v=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(c.a.instance.image.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||c.a.instance.image.showPoints},e.prototype.getData=function(i){var p="",f=this.getField();i?p=f?f.split(".").reduce((k,G)=>k?k[G]:i[G],!1)||"":this.options.src||this.printElementType.getData():p=this.options.src||this.printElementType.getData();var U=this.getFormatter();return U&&(p=U(p,this.options,this._currenttemplateData)),p||""},e.prototype.createTarget=function(i,p){var f=x.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(f,i,p),f},e.prototype.initSizeByHtml=function(i){y.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},e.prototype.getConfigOptions=function(){return c.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,f){var U=i.find(".hiprint-printElement-image-content");U.find("img").length?U.find("img").attr("src",f):U.html('<img style="width:100%;height:100%;" src="'+f+'">'),f.length?U.find("img").css("cssText",`width:100%;height:100%;content:url("${f}")!important`):U.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&U.find("img").css("object-fit",this.options.fit)},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),P=function(y){function e(i){var p=this;return i=i||{},(p=y.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,p}return j(e,y),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e}(H.a),o=g(8),m=function(){function y(e,i,p,f,U,k,G,O,it,K,tt,rt,X,nt,gt){this.panelPageRule=f,this.watermarkOptions=p,this.panelIdx=i,this.scale=U,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=e,this.width=E.a.mm.toPt(k),this.height=E.a.mm.toPt(G),this.mmwidth=k,this.mmheight=G,this.paperHeader=O>=0?O:0,this.paperFooter=it,this.contentHeight=it-O,this.createTarget(),this.index=nt,this.paperNumberLeft=K||parseInt((this.width-30).toString()),this.paperNumberTop=tt||parseInt((this.height-22).toString()),this.paperNumberDisabled=rt,this.paperNumberFormat=X,this.referenceElement=gt?x.default.extend({},gt):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0})}return y.prototype.subscribePaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged=e},y.prototype.triggerOnPaperBaseInfoChanged=function(e){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberFormat:this.paperNumberFormat}),E.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,e||"\u6A21\u677F\u8C03\u6574")},y.prototype.setFooter=function(e,i,p,f){this.firstPaperFooter=e,this.evenPaperFooter=i,this.oddPaperFooter=p,this.lastPaperFooter=f},y.prototype.setOffset=function(e,i){this.setLeftOffset(e),this.setTopOffset(i)},y.prototype.setLeftOffset=function(e){e?this.paperContentTarget.css("left",e+"pt"):this.paperContentTarget[0].style.left=""},y.prototype.setTopOffset=function(e){e?this.paperContentTarget.css("top",e+"pt"):this.paperContentTarget[0].style.top=""},y.prototype.createTarget=function(){this.target=x.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-c.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale)},y.prototype.createHeaderLine=function(){var e=this;this.headerLinetarget=x.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()})},y.prototype.createFooterLine=function(){var e=this;this.footerLinetarget=x.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-c.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()})},y.prototype.createPaperNumber=function(e,i){var p=this,f=this.target.find(".hiprint-paperNumber");if(f.length)return f.html(e),f;var U=x.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+e+"</span>");return U.css("top",this.paperNumberTop+"pt"),U.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(U),i&&this.dragHeadLineOrFootLine(U,function(k,G){p.paperNumberTop=G,p.paperNumberLeft=k,p.triggerOnPaperBaseInfoChanged()},!0),U},y.prototype.getTarget=function(){return this.target},y.prototype.append=function(e){this.paperContentTarget.append(e)},y.prototype.updateReferenceElement=function(e){e&&(this.referenceElement=e)},y.prototype.updatePrintLine=function(e){e>=this.printLine&&(this.printLine=e)},y.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+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),x.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")}),x.default(this.paperNumberTarget).bind("click.hiprint",function(){E.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled},callback:function(f){i.paperNumberDisabled=!!f.paperNumberDisabled||void 0,i.paperNumberFormat=f.paperNumberFormat?f.paperNumberFormat:void 0,i.createPaperNumber(i.formatPaperNumber(1,1),!0),i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged()}})})},y.prototype.resetPaperNumber=function(e){this.paperNumberDisabled?e.addClass("hiprint-paperNumber-disabled"):e.removeClass("hiprint-paperNumber-disabled")},y.prototype.updatePaperNumber=function(e,i,p){var f=this.createPaperNumber(this.formatPaperNumber(e,i));this.paperNumberDisabled?f.hide():p&&this.index%2==1&&(f[0].style.left="",f.css("right",this.paperNumberLeft+"pt"))},y.prototype.formatPaperNumber=function(e,i){return this.createWaterMark(!1,e,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",e).replace("paperCount",i)+"`")},y.prototype.dragHeadLineOrFootLine=function(e,i,p){var f=this;e.hidraggable({axis:p?void 0:"v",onDrag:function(k,G,O){i(G,O)},moveUnit:"pt",minMove:c.a.instance.movingDistance,onBeforeDrag:function(k){s.a.instance.draging=!0},getScale:function(){return f.scale||1},onStopDrag:function(k){f.headerLinetarget.css("top",f.paperHeader+"pt"),f.footerLinetarget.css("top",f.paperFooter+"pt"),s.a.instance.draging=!1,f.footerLinetarget.removeClass("hidefooterLinetarget"),f.headerLinetarget.removeClass("hideheaderLinetarget")}})},y.prototype.resize=function(e,i){var p=this.paperFooter/this.height;this.width=E.a.mm.toPt(e),this.height=E.a.mm.toPt(i),this.mmwidth=e,this.mmheight=i,this.target.css("width",e+"mm"),this.target.css("height",i-c.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",e+"mm"),this.target.parent().parent().css("height",i+"mm"),this.target.attr("original-height",this.mmheight);var f=this.height*p;this.paperFooter=f||this.height,this.footerLinetarget.css("top",f+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},y.prototype.zoom=function(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"))},y.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},y.prototype.getContentHeight=function(e){return this.getPaperFooter(e)-this.paperHeader},y.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1513
|
+
`);var u=I(a.insertAt.before,h);h.insertBefore(c,u)}}function D(a){if(a.parentNode===null)return!1;a.parentNode.removeChild(a);var c=C.indexOf(a);c>=0&&C.splice(c,1)}function H(a){var c=document.createElement("style");if(a.attrs.type===void 0&&(a.attrs.type="text/css"),a.attrs.nonce===void 0){var h=function(){return g.nc}();h&&(a.attrs.nonce=h)}return j(c,a.attrs),S(a,c),c}function j(a,c){Object.keys(c).forEach(function(h){a.setAttribute(h,c[h])})}function v(a,c){var h,M,u,d;if(c.transform&&a.css){if(!(d=typeof c.transform=="function"?c.transform(a.css):c.transform.default(a.css)))return function(){};a.css=d}if(c.singleton){var A=w++;h=s||(s=H(c)),M=m.bind(null,h,A,!1),u=m.bind(null,h,A,!0)}else a.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(h=function(Z){var L=document.createElement("link");return Z.attrs.type===void 0&&(Z.attrs.type="text/css"),Z.attrs.rel="stylesheet",j(L,Z.attrs),S(Z,L),L}(c),M=function(Z,L,J){var Y=J.css,R=J.sourceMap,V=L.convertToAbsoluteUrls===void 0&&R;(L.convertToAbsoluteUrls||V)&&(Y=N(Y)),R&&(Y+=`
|
|
1514
|
+
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(R))))+" */");var q=new Blob([Y],{type:"text/css"}),z=Z.href;Z.href=URL.createObjectURL(q),z&&URL.revokeObjectURL(z)}.bind(null,h,c),u=function(){D(h),h.href&&URL.revokeObjectURL(h.href)}):(h=H(c),M=function(Z,L){var J=L.css,Y=L.media;if(Y&&Z.setAttribute("media",Y),Z.styleSheet)Z.styleSheet.cssText=J;else{for(;Z.firstChild;)Z.removeChild(Z.firstChild);Z.appendChild(document.createTextNode(J))}}.bind(null,h),u=function(){D(h)});return M(a),function(Z){if(Z){if(Z.css===a.css&&Z.media===a.media&&Z.sourceMap===a.sourceMap)return;M(a=Z)}else u()}}$.exports=function(a,c){if(typeof DEBUG<"u"&&DEBUG&&(typeof document>"u"?"undefined":jt(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(c=c||{}).attrs=jt(c.attrs)=="object"?c.attrs:{},c.singleton||typeof c.singleton=="boolean"||(c.singleton=l()),c.insertInto||(c.insertInto="head"),c.insertAt||(c.insertAt="bottom");var h=T(a,c);return r(h,c),function(M){for(var u=[],d=0;d<h.length;d++){var A=h[d];(Z=b[A.id]).refs--,u.push(Z)}for(M&&r(T(M,c),c),d=0;d<u.length;d++){var Z;if((Z=u[d]).refs===0){for(var L=0;L<Z.parts.length;L++)Z.parts[L]();delete b[Z.id]}}}};var P,o=(P=[],function(a,c){return P[a]=c,P.filter(Boolean).join(`
|
|
1515
|
+
`)});function m(a,c,h,M){var u=h?"":M.css;if(a.styleSheet)a.styleSheet.cssText=o(c,u);else{var d=document.createTextNode(u),A=a.childNodes;A[c]&&a.removeChild(A[c]),A.length?a.insertBefore(d,A[c]):a.appendChild(d)}}},function($,F){$.exports=function(g){var W=typeof window<"u"&&window.location;if(!W)throw new Error("fixUrls requires window.location");if(!g||typeof g!="string")return g;var E=W.protocol+"//"+W.host,b=E+W.pathname.replace(/\/[^\/]*$/,"/");return g.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(l,I){var s,w=I.trim().replace(/^"(.*)"$/,function(C,N){return N}).replace(/^'(.*)'$/,function(C,N){return N});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(w)?l:(s=w.indexOf("//")===0?w:w.indexOf("/")===0?E+w:b+w.replace(/^\.\//,""),"url("+JSON.stringify(s)+")")})}},function($,F){var g,W;g=jQuery,(W=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(s){},width:220,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=g.extend(!0,{},this.defaults,l),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(b,l){var I=this,s=l;if(b&&b.length){var w=x.default('<ul class="hicontextmenu" style="z-index: 9999;"></ul>');if(l){var C=b.length*I.opts.itemHeight-31;w.css({top:-C})}s||(s=w).addClass("hicontextmenuroot"),x.default.each(b,function(N,r){var T='<div class="nav">'+(r.desc||"")+"</div>",S='<i class="svicon '+r.icon+'"></i>';r.menus&&r.menus.length&&(T='<div class="nav">'+(r.desc||"")+"\u203A</div>");var D=!!r.disable&&r.disable(),H=x.default('<li class="hicontextmenuitem"><a href="javascript:void(0);"><div class="title">'+S+"<span>"+(r.text||"")+"</span></div>"+T+"</a></li>");D&&H.addClass("disable"),r.borderBottom&&H.addClass("borderBottom"),r.menus&&(H.addClass("hicontextsubmenu"),I.renderMenu(r.menus,H)),r.callback&&H.click(function(j){x.default(this).hasClass("disable")||(x.default(".hicontextmenuroot").remove(),r.callback()),j.stopPropagation()}),w.append(H)}),l&&l.append(w)}l||x.default("body").append(s).find(".hicontextmenuroot").hide()},setPosition:function(b){var l=this,I=document.documentElement.clientWidth,s=document.documentElement.clientHeight,w=x.default(".hicontextmenuroot").height(),C=b.pageX,N=b.pageY;C>I-l.opts.width&&(C-=l.opts.width),N>s-w&&(N-=w),x.default(".hicontextmenuroot").css({left:C,top:N}).show()},eventBind:function(){var b=this;this.ele.on("contextmenu",function(l){x.default(".hicontextmenuroot").remove(),l.preventDefault();var I=b.opts.menus.filter(function(w){return typeof w.enabled=="boolean"?w.enabled:w.enabled()});if(!b.opts.table){var s=b.opts.panel.getSelectEls();s.length<=1&&x.default(this).trigger(x.default.Event("click"))}b.renderMenu(I),b.setPosition(l),b.opts.target&&typeof b.opts.target=="function"&&b.opts.target(g(this))}),g("body").on("click",function(){g(".hicontextmenuroot").remove()})}},g.fn.hicontextMenu=function(E){return new W(this,E),this}},function($,F,g){g.r(F),g(22),g(23),g(24),g(25);var W,E=g(0);g(26),window.hiLocalStorage=(W=window.localStorage||null,{saveLocalData:function(t,i){return!(!W||!i||(W.setItem(t,i),0))},getLocalData:function(t){return W?W.getItem(t):null},removeItem:function(t){W&&W.removeItem(t)}}),g(27),g(32);var b,l=function(){function y(){this.allElementTypes=[]}return Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y.prototype.addPrintElementType=function(t){var i=this;if(t&&t.tid&&t.type){var p=et.createPrintElementType(t),f=i.allElementTypes.findIndex(function(U){return U.tid==p.tid});f>=0&&i.allElementTypes.splice(f,1),i.allElementTypes.push(p)}return i},y.prototype.addPrintElementTypes=function(t,i){var p=this;this[t]?this[t]=this[t].concat(i):this[t]=i,i.forEach(function(f){p.allElementTypes=p.allElementTypes.concat(f.printElementTypes)})},y.prototype.removePrintElementTypes=function(t){var i=this;delete i[t],i.allElementTypes=i.allElementTypes.filter(function(p){return!p.tid.startsWith(t)})},y.prototype.getElementTypeGroups=function(t){return this[this.formatterModule(t)]||[]},y.prototype.getElementType=function(t){var i=this.allElementTypes.filter(function(p){return p.tid==t});if(i.length>0)return i[0]},y.prototype.updateElementType=function(t,i){var p=this.getElementType(t);if(i){var f=i(p),U=this.allElementTypes.findIndex(function(k){return k.tid==t});if(U>=0)return this.allElementTypes.splice(U,1,f),f}return p},y.prototype.formatterModule=function(t){return t||"_default"},y}(),I=g(1),s=g(2),w=function(){function y(){}return y.prototype.createPrintElementTypeHtml=function(t,i){var p=x.default('<ul class="hiprint-printElement-type"></ul>');return i.forEach(function(f){var U=x.default("<li></li>");U.append('<span class="title">'+f.name+"</span>");var k=x.default("<ul></ul>");U.append(k),f.printElementTypes.forEach(function(G){k.append('<li><a class="ep-draggable-item" tid="'+G.tid+'"> '+G.getText()+" </a></li>")}),p.append(U)}),x.default(t).append(p),p.find(".ep-draggable-item")},y}(),C=g(5),N=g(15),r=function(){return function(y){this.title=y.title,this.type=y.type}}(),T=function(){return function(y){this.title=y.title,this.type=y.type,this.editable=y.editable,this.columnDisplayEditable=y.columnDisplayEditable,this.columnDisplayIndexEditable=y.columnDisplayIndexEditable,this.columnTitleEditable=y.columnTitleEditable,this.columnResizable=y.columnResizable,this.columnAlignEditable=y.columnAlignEditable,this.isEnableEditField=y.isEnableEditField,this.isEnableContextMenu=y.isEnableContextMenu,this.isEnableInsertRow=y.isEnableInsertRow,this.isEnableDeleteRow=y.isEnableDeleteRow,this.isEnableInsertColumn=y.isEnableInsertColumn,this.isEnableDeleteColumn=y.isEnableDeleteColumn,this.isEnableMergeCell=y.isEnableMergeCell}}(),S=function(){function y(t){var i=this;this.text=t.text,this.field=t.field,this.fields=t.fields,this.title=t.title,this.tid=t.tid,this.data=t.data,this.styler=t.styler,this.formatter=t.formatter,this.type=t.type,this.options=t.options,this.editable=t.editable!=null?t.editable:!0,this.columnDisplayEditable=t.columnDisplayEditable!=null?t.columnDisplayEditable:!0,this.columnDisplayIndexEditable=t.columnDisplayIndexEditable!=null?t.columnDisplayIndexEditable:!0,this.columnTitleEditable=t.columnTitleEditable!=null?t.columnTitleEditable:!0,this.columnResizable=t.columnResizable!=null?t.columnResizable:!0,this.columnAlignEditable=t.columnAlignEditable!=null?t.columnAlignEditable:!0,this.columns=[],(t.columns||[]).forEach(function(p,f){i.columns.push(i.createTableColumnArray(p))}),this.rowStyler=t.rowStyler,this.striped=t.striped,this.groupFields=t.groupFields||[],this.groupFormatter=t.groupFormatter,this.groupFooterFormatter=t.groupFooterFormatter,this.footerFormatter=t.footerFormatter,this.rowsColumnsMerge=t.rowsColumnsMerge,this.rowsColumnsMergeClean=t.rowsColumnsMergeClean,this.gridColumnsFooterFormatter=t.gridColumnsFooterFormatter,this.isEnableEditField=t.isEnableEditField!=null?t.isEnableEditField:!0,this.isEnableContextMenu=t.isEnableContextMenu!=null?t.isEnableContextMenu:!0,this.isEnableInsertRow=t.isEnableInsertRow!=null?t.isEnableInsertRow:!0,this.isEnableDeleteRow=t.isEnableDeleteRow!=null?t.isEnableDeleteRow:!0,this.isEnableInsertColumn=t.isEnableInsertColumn!=null?t.isEnableInsertColumn:!0,this.isEnableDeleteColumn=t.isEnableDeleteColumn!=null?t.isEnableDeleteColumn:!0,this.isEnableMergeCell=t.isEnableMergeCell!=null?t.isEnableMergeCell:!0,this.columnObj=this.makeColumnObj()}return y.prototype.getText=function(){return this.text||this.title||""},y.prototype.createPrintElement=function(t){var i=this;return this.columns&&this.columns.length==0&&(t.columns||[]).forEach(function(p,f){i.columns.push(i.createTableColumnArray(p))}),new N.a(this,t)},y.prototype.getData=function(){return[{}]},y.prototype.createTableColumnArray=function(t){var i=[];return t.forEach(function(p,f){i.push(new C.a(p))}),i},y.prototype.getPrintElementTypeEntity=function(){return this.type=="table"?new T({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 r({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y.prototype.getColumnByColumnId=function(t){return this.columnObj[t]},y.prototype.makeColumnObj=function(t){var i={};return t?t.forEach(function(p){(p.id||p.columnId)&&(i[p.id||p.columnId]=p)}):this.columns&&this.columns.forEach(function(p){p.forEach(function(f){(f.id||f.columnId)&&(i[f.id||f.columnId]=f)})}),this.columnObj=i,i},y}(),D=g(4),H=g(3),j=(b=function(t,i){return(b=Object.setPrototypeOf||Dt({__proto__:[]},Array)&&function(p,f){p.__proto__=f}||function(p,f){for(var U in f)f.hasOwnProperty(U)&&(p[U]=f[U])})(t,i)},function(y,t){function i(){this.constructor=y}b(y,t),y.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}),v=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(I.a.instance.image.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.image.showPoints},t.prototype.getData=function(i){var p="",f=this.getField();i?p=f?f.split(".").reduce((k,G)=>k?k[G]:i[G],!1)||"":this.options.src||this.printElementType.getData():p=this.options.src||this.printElementType.getData();var U=this.getFormatter();return U&&(p=U(p,this.options,this._currenttemplateData)),p||""},t.prototype.createTarget=function(i,p){var f=x.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(f,i,p),f},t.prototype.initSizeByHtml=function(i){y.prototype.initSizeByHtml.call(this,i),this.css(i,this.getData())},t.prototype.getConfigOptions=function(){return I.a.instance.image},t.prototype.updateDesignViewFromOptions=function(){this.designTarget&&(this.css(this.designTarget,this.getData()),this.updateTargetImage(this.designTarget,this.getTitle(),this.getData()))},t.prototype.updateTargetImage=function(i,p,f){var U=i.find(".hiprint-printElement-image-content");U.find("img").length?U.find("img").attr("src",f):U.html('<img style="width:100%;height:100%;" src="'+f+'">'),f.length?U.find("img").css("cssText",`width:100%;height:100%;content:url("${f}")!important`):U.find("img").css("cssText","width:100%;height:100%;"),this.options.fit&&U.find("img").css("object-fit",this.options.fit)},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),P=function(y){function t(i){var p=this;return i=i||{},(p=y.call(this,i)||this).leftSpaceRemoved=i.leftSpaceRemoved,p}return j(t,y),t.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},t}(H.a),o=g(8),m=function(){function y(t,i,p,f,U,k,G,O,it,K,tt,rt,X,nt,gt){this.panelPageRule=f,this.watermarkOptions=p,this.panelIdx=i,this.scale=U,this.defaultPaperNumberFormat="${paperNo}-${paperCount}",this.printLine=0,this.templateId=t,this.width=E.a.mm.toPt(k),this.height=E.a.mm.toPt(G),this.mmwidth=k,this.mmheight=G,this.paperHeader=O>=0?O:0,this.paperFooter=it,this.contentHeight=it-O,this.createTarget(),this.index=nt,this.paperNumberLeft=K||parseInt((this.width-30).toString()),this.paperNumberTop=tt||parseInt((this.height-22).toString()),this.paperNumberDisabled=rt,this.paperNumberFormat=X,this.referenceElement=gt?x.default.extend({},gt):new o.a({top:0,left:0,height:0,width:0,bottomInLastPaper:0,beginPrintPaperIndex:0,printTopInPaper:0,endPrintPaperIndex:0})}return y.prototype.subscribePaperBaseInfoChanged=function(t){this.onPaperBaseInfoChanged=t},y.prototype.triggerOnPaperBaseInfoChanged=function(t){this.onPaperBaseInfoChanged&&this.onPaperBaseInfoChanged({panelPageRule:this.panelPageRule,scale:this.scale,paperHeader:this.paperHeader,paperFooter:this.paperFooter,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,paperNumberDisabled:this.paperNumberDisabled,paperNumberFormat:this.paperNumberFormat}),E.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,t||"\u6A21\u677F\u8C03\u6574")},y.prototype.setFooter=function(t,i,p,f){this.firstPaperFooter=t,this.evenPaperFooter=i,this.oddPaperFooter=p,this.lastPaperFooter=f},y.prototype.setOffset=function(t,i){this.setLeftOffset(t),this.setTopOffset(i)},y.prototype.setLeftOffset=function(t){t?this.paperContentTarget.css("left",t+"pt"):this.paperContentTarget[0].style.left=""},y.prototype.setTopOffset=function(t){t?this.paperContentTarget.css("top",t+"pt"):this.paperContentTarget[0].style.top=""},y.prototype.createTarget=function(){this.target=x.default('<div class="hiprint-printPaper"><div class="hiprint-printPaper-content"></div></div>'),this.paperContentTarget=this.target.find(".hiprint-printPaper-content"),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale)},y.prototype.createHeaderLine=function(){var t=this;this.headerLinetarget=x.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>=t.paperFooter&&(p=t.paperFooter-10),t.paperHeader=p>=0?p:0,t.triggerOnPaperBaseInfoChanged()})},y.prototype.createFooterLine=function(){var t=this;this.footerLinetarget=x.default('<div class="hiprint-footerLine" style="position: absolute;width: 100%;border-top: 1px dashed #c9bebe;height: 7pt;"></div>'),this.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&(this.footerLinetarget.css("top",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.footerLinetarget.addClass("hidefooterLinetarget")),this.paperContentTarget.append(this.footerLinetarget),this.dragHeadLineOrFootLine(this.footerLinetarget,function(i,p){p<=t.paperHeader&&(p=t.paperHeader+10),t.paperFooter=p,t.triggerOnPaperBaseInfoChanged()})},y.prototype.createPaperNumber=function(t,i){var p=this,f=this.target.find(".hiprint-paperNumber");if(f.length)return f.html(t),f;var U=x.default('<span class="hiprint-paperNumber" style="width:max-content;position: absolute">'+t+"</span>");return U.css("top",this.paperNumberTop+"pt"),U.css("left",this.paperNumberLeft+"pt"),this.paperContentTarget.append(U),i&&this.dragHeadLineOrFootLine(U,function(k,G){p.paperNumberTop=G,p.paperNumberLeft=k,p.triggerOnPaperBaseInfoChanged()},!0),U},y.prototype.getTarget=function(){return this.target},y.prototype.append=function(t){this.paperContentTarget.append(t)},y.prototype.updateReferenceElement=function(t){t&&(this.referenceElement=t)},y.prototype.updatePrintLine=function(t){t>=this.printLine&&(this.printLine=t)},y.prototype.design=function(t){var i=this;this.createHeaderLine(),this.createFooterLine(),this.target.addClass("design"),t&&t.grid&&this.target.addClass("grid"),this.target.parent().parent().css("width",this.mmwidth+"mm"),this.target.parent().parent().css("height",this.mmheight-I.a.instance.paperHeightTrim+"mm"),this.paperNumberTarget=this.createPaperNumber(this.formatPaperNumber(1,1),!0),this.createRuler(),this.createWaterMark(!0,this.panelIdx,this.watermarkOptions),this.resetPaperNumber(this.paperNumberTarget),x.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")}),x.default(this.paperNumberTarget).bind("click.hiprint",function(){E.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{paperNumberFormat:i.paperNumberFormat,paperNumberDisabled:i.paperNumberDisabled},callback:function(f){i.paperNumberDisabled=!!f.paperNumberDisabled||void 0,i.paperNumberFormat=f.paperNumberFormat?f.paperNumberFormat:void 0,i.createPaperNumber(i.formatPaperNumber(1,1),!0),i.resetPaperNumber(i.paperNumberTarget),i.triggerOnPaperBaseInfoChanged()}})})},y.prototype.resetPaperNumber=function(t){this.paperNumberDisabled?t.addClass("hiprint-paperNumber-disabled"):t.removeClass("hiprint-paperNumber-disabled")},y.prototype.updatePaperNumber=function(t,i,p){var f=this.createPaperNumber(this.formatPaperNumber(t,i));this.paperNumberDisabled?f.hide():p&&this.index%2==1&&(f[0].style.left="",f.css("right",this.paperNumberLeft+"pt"))},y.prototype.formatPaperNumber=function(t,i){return this.createWaterMark(!1,t,this.watermarkOptions),eval2("`"+(this.paperNumberFormat?this.paperNumberFormat:this.defaultPaperNumberFormat).replace("paperNo",t).replace("paperCount",i)+"`")},y.prototype.dragHeadLineOrFootLine=function(t,i,p){var f=this;t.hidraggable({axis:p?void 0:"v",onDrag:function(k,G,O){i(G,O)},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(k){s.a.instance.draging=!0},getScale:function(){return f.scale||1},onStopDrag:function(k){f.headerLinetarget.css("top",f.paperHeader+"pt"),f.footerLinetarget.css("top",f.paperFooter+"pt"),s.a.instance.draging=!1,f.footerLinetarget.removeClass("hidefooterLinetarget"),f.headerLinetarget.removeClass("hideheaderLinetarget")}})},y.prototype.resize=function(t,i){var p=this.paperFooter/this.height;this.width=E.a.mm.toPt(t),this.height=E.a.mm.toPt(i),this.mmwidth=t,this.mmheight=i,this.target.css("width",t+"mm"),this.target.css("height",i-I.a.instance.paperHeightTrim+"mm"),this.target.parent().parent().css("width",t+"mm"),this.target.parent().parent().css("height",i-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight);var f=this.height*p;this.paperFooter=f||this.height,this.footerLinetarget.css("top",f+"pt"),this.contentHeight=this.paperFooter-this.paperHeader,this.paperNumberLeft=this.paperNumberLeft>this.width?parseInt((this.width-30).toString()):this.paperNumberLeft,this.paperNumberTop=this.paperNumberTop>this.height?this.paperNumberTop=parseInt((this.height-22).toString()):this.paperNumberTop,this.paperNumberTarget.css("top",this.paperNumberTop+"pt"),this.paperNumberTarget.css("left",this.paperNumberLeft+"pt"),this.triggerOnPaperBaseInfoChanged("\u8C03\u6574\u5927\u5C0F")},y.prototype.zoom=function(t){t&&(this.scale=t,this.target.css("transform","scale("+t+")"),t>1?this.target.css("transform-origin","-"+t+"% -"+t+"%"):this.target.css("transform-origin","0 0"),this.triggerOnPaperBaseInfoChanged("\u7F29\u653E"))},y.prototype.getPaperFooter=function(t){var i=this.index+t;return i==0?this.firstPaperFooter?this.firstPaperFooter:this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==0?this.oddPaperFooter?this.oddPaperFooter:this.paperFooter:i%2==1?this.evenPaperFooter?this.evenPaperFooter:this.paperFooter:void 0},y.prototype.getContentHeight=function(t){return this.getPaperFooter(t)-this.paperHeader},y.prototype.createRuler=function(){this.target.append(`<div class="hiprint_rul_wrapper">
|
|
1516
1516
|
<img class="h_img" src="`+ze+`" />
|
|
1517
1517
|
<img class="v_img" src="`+We+`" />
|
|
1518
|
-
</div>`)},y.prototype.createWaterMark=function(
|
|
1519
|
-
`,"g"));if(rt.forEach(function(Ct,Jt){var Ft=U.options.leftSpaceRemoved!=0?(Ct||"").toString().replace(/^\s*/,""):Ct;tt=tt.concat(Ft.split("")),Jt<rt.length-1&&tt.push("<br/>"+U.getLongTextIndent())}),tt.length==0&&(tt=[""]),this.isHeaderOrFooter()||this.isFixed()||!p)return(It=this.getStringBySpecificHeight(tt,25e3,K)).target.css("left",this.options.displayLeft()),It.target.css("top",this.options.displayTop()),It.target[0].height="",k.push(new a.a({target:It.target,printLine:this.options.displayTop()+It.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()+It.height,printTopInPaper:this.options.getTop()})})),k;for(var X=this.getBeginPrintTopInPaperByReferenceElement(i);tt.length>0;){var nt=0,gt=i.getPaperFooter(G);G==0&&X>gt&&i.panelPageRule!="none"&&(X=X-gt+i.paperHeader,k.push(new a.a({target:void 0,printLine:void 0})),G++,nt=i.getContentHeight(G)-(X-i.paperHeader),gt=i.getPaperFooter(G));var It=this.getStringBySpecificHeight(tt,nt>0?nt:G==0?gt-X:i.getContentHeight(G),K);tt.splice(0,It.length);var ft=void 0,wt=void 0;It.target.css("left",this.options.displayLeft()),It.target[0].height="",G==0||nt>0?(wt=X,It.target.css("top",wt+"pt"),ft=tt.length>0?X+It.height:this.options.lHeight!=null?X+(It.height>this.options.lHeight?It.height:this.options.lHeight):X+It.height):(wt=i.paperHeader,It.target.css("top",wt+"pt"),ft=wt+It.height),k.push(new a.a({target:It.target,printLine:ft,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:ft,printTopInPaper:wt})})),G++,p&&this.updatePanelHeight(ft+this.options.getHeight(),i)}return k},
|
|
1520
|
-
|/g`,"g"),i)},y.replaceTab=function(
|
|
1521
|
-
| |/g`,"g"),i)},y}(),M=function(y){function e(i){var p=y.call(this,i)||this;return p.title&&(p.title=h.replaceEnterAndNewlineAndTab(p.title,"")),p}return j(e,y),e.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},e.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},e.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},e.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},e.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},e}(H.a),u=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new M(p),f.options.setDefault(new M(c.a.instance.text.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.getDesignTarget=function(i){return y.prototype.getDesignTarget.call(this,i)},e.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),f=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(f),this.css(f,p),f},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 c.a.instance.text},e.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=h.replaceEnterAndNewlineAndTab(i,"")),i},e.prototype.getData=function(i){var p=void 0,f=this.getField();if(p=i?f&&f.split(".").reduce((k,G)=>k?k[G]:i?i[G]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return E.a.dateFormat(p,this.options.format);if(this.options.dataType=="boolen"){var U=this.options.format.split(":");if(U.length>0)return p===!0||p==="true"?U[0]:U[1]}}return p},e.prototype.updateTargetText=function(i,p,f,U,k){var G=this.getFormatter(),O=i.find(".hiprint-printElement-text-content"),it="";it=this.getField()?(this.options.getHideTitle()?"":p?p+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,G?G(p,f,this.options,this._currenttemplateData,i):f):f=hinnn.toUpperCase(this.options.upperCase,G?G(p,p,this.options,this._currenttemplateData,i):p);var K=this.options.getTextType();if(K=="text")O.html(it);else{if(K=="barcode"){O.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{f?(Qt.default(O.find(".hibarcode_imgcode")[0],f,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(E.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),O.find(".hibarcode_imgcode").attr("height","100%"),O.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||O.find(".hibarcode_displayValue").html(f)):O.html("")}catch(nt){console.log(nt),O.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(K=="qrcode"){O.html("");try{if(f){i.css("line-height",0),O.css("text-align","center");var tt=this.options.getWidth()||20,rt=this.options.getHeight()||20,X=x.default("<div></div>").css({width:(tt>rt?rt:tt)+"pt",height:(tt>rt?rt:tt)+"pt",display:"inline-block"});new QRCode(X[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(f),O.html(X)}}catch(nt){console.log(nt),O.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},e.prototype.onResize=function(i,p,f,U,k){y.prototype.onResize.call(this,i,p,f,U,k),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},e.prototype.createTarget=function(i,p,f){var U=x.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(U,i,p,f),U},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),d=function(y){function e(i){return y.call(this,i)||this}return j(e,y),e}(H.a),A=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new d(p),f.options.setDefault(new d(c.a.instance.html.default).getPrintElementOptionEntity()),f}return j(e,y),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||c.a.instance.html.showPoints},e.prototype.getConfigOptions=function(){return c.a.instance.html},e.prototype.createTarget=function(i,p){var f=x.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),U=this.getFormatter();if(U){var k=U(this.getData(),this.options,this._currenttemplateData);f.find(".hiprint-printElement-html-content").append(k)}else this.options.content&&f.find(".hiprint-printElement-html-content").append(this.options.content);return f},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),Z=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(c.a.instance.vline.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return c.a.instance.vline},e.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||c.a.instance.vline.showPoints},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),L=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(c.a.instance.hline.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getConfigOptions=function(){return c.a.instance.hline},e.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||c.a.instance.hline.showPoints},e}(D.a),J=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(c.a.instance.rect.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||c.a.instance.rect.showPoints},e.prototype.getConfigOptions=function(){return c.a.instance.rect},e.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),Y=function(y){function e(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(c.a.instance.oval.default).getPrintElementOptionEntity()),f}return j(e,y),e.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},e.prototype.getReizeableShowPoints=function(){return this.options.showPoints||c.a.instance.oval.showPoints},e.prototype.getConfigOptions=function(){return c.a.instance.oval},e.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},e.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},e}(D.a),R=function(){function y(){}return y.createPrintElement=function(e,i){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(e.type))return e.type=="text"?new u(e,i):e.type=="image"?new v(e,i):e.type=="longText"?new I(e,i):e.type=="table"?new N.a(e,i):e.type=="html"?new A(e,i):e.type=="vline"?new Z(e,i):e.type=="hline"?new L(e,i):e.type=="rect"?new J(e,i):e.type=="oval"?new Y(e,i):void 0;var p,f=c.a.instance.getHooks("createPrintElement");return f&&f.forEach(U=>{p=U.run({Config:c.a.instance,BasePrintElement:D.a,Options:H.a,Supper:j,ele:e,eleOpt:i})}),p?new p(e,i):void 0},y}(),V=function(){function y(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 y.prototype.getText=function(e){return e?this.title||this.text||"":this.text||this.title||""},y.prototype.getData=function(){return this.data},y.prototype.createPrintElement=function(e){var i={};return x.default.extend(i,e||{}),R.createPrintElement(this,i)},y.prototype.getPrintElementTypeEntity=function(){return new r({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y}();g(16);var q=g(12);(function(y){function e(i){var p=y.call(this,i)||this;return(i=i||{}).columns?(p.columns=[],i.columns.forEach(function(f){p.columns.push(new q.a(f))})):p.columns=[new q.a({columns:[new C.a({width:100}),new C.a({width:100})]})],p.lHeight=i.lHeight,p.autoCompletion=i.autoCompletion,p.tableFooterRepeat=i.tableFooterRepeat,p}return j(e,y),e.prototype.getPrintElementOptionEntity=function(){var i=y.prototype.getPrintElementOptionEntity.call(this);return i.fields=this.fields,i.columns=[],this.columns.forEach(function(p){i.columns.push(p.getPrintElementOptionEntity())}),i},e})(H.a);var z=function(y){function e(i){return y.call(this,i)||this}return j(e,y),e.prototype.createPrintElement=function(i){var p={};return x.default.extend(p,i||{}),R.createPrintElement(this,p)},e.prototype.getPrintElementTypeEntity=function(){return new r({title:this.title,type:this.type})},e}(V),et=function(){function y(){}return y.createPrintElementType=function(e){return e.type=e.type||"text",e.type=="text"?new z(e):e.type=="table"?new S(e):new V(e)},y}(),ot=function(){function y(){}return y.ElementTypes=l.instance,y.getElementTypeGroups=function(e){var i=y.formatterModule(e);return l.instance[i]||[]},y.getElementType=function(e,i){if(e)return l.instance.getElementType(e);et.createPrintElementType({type:i})},y.build=function(e,i){var p=y.formatterModule(i),f=new w().createPrintElementTypeHtml(e,this.getElementTypeGroups(p));this.enableDrag(f)},y.buildByHtml=function(e){this.enableDrag(e)},y.enableDrag=function(e){e.hidraggable({revert:!0,proxy:function(p){var f=s.a.instance.getDragingPrintElement(),U=f.printElement.getProxyTarget(f.printElement.printElementType.getOptions());return U.appendTo("body"),U.css("z-index","9999"),U},moveUnit:"pt",minMove:4,onBeforeDrag:function(p){s.a.instance.draging=!0;var f=x.default(p.data.target).attr("tid"),U=y.getElementType(f,x.default(p.data.target).attr("ptype"));if(!U)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${f}]`);var k=U.createPrintElement();if(!k&&U.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return s.a.instance.setDragingPrintElement(k),!0},onDrag:function(p,f,U){s.a.instance.getDragingPrintElement().updatePosition(f,U)},onStopDrag:function(p){s.a.instance.draging=!1}})},y.formatterModule=function(e){return e||"_default"},y}(),pt=function(){return function(y,e){var i=this;this.name=y,this.printElementTypes=[],e.forEach(function(p){i.printElementTypes.push(et.createPrintElementType(p))})}}(),st=function(){return function(y){if(this.index=y.index,this.name=y.name,this.paperType=y.paperType,this.paperType){var e=s.a.instance[this.paperType];y.height?(this.height=y.height,this.width=y.width):(this.height=e.height,this.width=e.width)}else this.height=y.height,this.width=y.width;this.paperHeader=y.paperHeader||0,this.paperFooter=y.paperFooter||E.a.mm.toPt(this.height),this.printElements=y.printElements||[],this.paperNumberLeft=y.paperNumberLeft,this.paperNumberTop=y.paperNumberTop,this.paperNumberDisabled=y.paperNumberDisabled,this.paperNumberFormat=y.paperNumberFormat,this.panelPaperRule=y.panelPaperRule,this.panelPageRule=y.panelPageRule,this.rotate=y.rotate||void 0,this.firstPaperFooter=y.firstPaperFooter,this.evenPaperFooter=y.evenPaperFooter,this.oddPaperFooter=y.oddPaperFooter,this.lastPaperFooter=y.lastPaperFooter,this.topOffset=y.topOffset,this.fontFamily=y.fontFamily,this.leftOffset=y.leftOffset,this.orient=y.orient,this.watermarkOptions=y.watermarkOptions,this.scale=y.scale}}(),ht=function(){function y(e,i,p,f){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=f}return y.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},y.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"})},y}(),mt=function(){function y(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.paperNumberFormat=e.paperNumberFormat,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.fontFamily=e.fontFamily,this.orient=e.orient,this.target=this.createTarget(),this.rotate=e.rotate,this.watermarkOptions=e.watermarkOptions||{},this.scale=e.scale}return y.prototype.design=function(e){var i=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(e),this.designPaper.subscribePaperBaseInfoChanged(function(p){i.paperHeader=p.paperHeader,i.paperFooter=p.paperFooter,i.paperNumberLeft=p.paperNumberLeft,i.paperNumberTop=p.paperNumberTop,i.paperNumberDisabled=p.paperNumberDisabled,i.paperNumberFormat=p.paperNumberFormat}),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(e,i.designPaper)}),this.target.bind("click.hiprint",function(p){E.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{panelPaperRule:i.panelPaperRule,panelPageRule:i.panelPageRule,firstPaperFooter:i.firstPaperFooter,evenPaperFooter:i.evenPaperFooter,oddPaperFooter:i.oddPaperFooter,lastPaperFooter:i.lastPaperFooter,leftOffset:i.leftOffset,topOffset:i.topOffset,fontFamily:i.fontFamily,orient:i.orient,paperNumberDisabled:i.paperNumberDisabled,paperNumberFormat:i.paperNumberFormat,watermarkOptions:i.watermarkOptions||{}},callback:function(U){i.watermarkOptions=U.watermarkOptions||void 0,U.watermarkOptions&&i.designPaper.createWaterMark(!0,1,U.watermarkOptions),i.panelPaperRule=U.panelPaperRule,i.panelPageRule=U.panelPageRule,i.firstPaperFooter=U.firstPaperFooter,i.evenPaperFooter=U.evenPaperFooter,i.oddPaperFooter=U.oddPaperFooter,i.lastPaperFooter=U.lastPaperFooter,i.leftOffset=U.leftOffset,i.topOffset=U.topOffset,i.fontFamily=U.fontFamily,i.orient=U.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!U.paperNumberDisabled||void 0,i.paperNumberFormat=U.paperNumberFormat,i.designPaper.paperNumberFormat=U.paperNumberFormat,U.paperNumberFormat&&(i.designPaper.paperNumberTarget=i.designPaper.createPaperNumber(i.designPaper.formatPaperNumber(1,1),!0)),i.designPaper.setOffset(i.leftOffset,i.topOffset),i.css(i.target),i.designPaper.resetPaperNumber(i.designPaper.paperNumberTarget),i.designPaper.triggerOnPaperBaseInfoChanged()}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},y.prototype.update=function(e){try{console.log("update ------>"),console.log(e);var i=Date.now();console.log("start",i);var p=this;this.index=e.index,this.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=E.a.mm.toPt(e.width),this.designPaper.height=E.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-c.a.instance.paperHeightTrim+"mm"),this.watermarkOptions=e.watermarkOptions||{},this.paperNumberLeft=e.paperNumberLeft,this.paperNumberTop=e.paperNumberTop,this.paperNumberDisabled=e.paperNumberDisabled,this.paperNumberFormat=e.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=e.fontFamily,this.orient=e.orient,this.rotate=e.rotate,this.scale=e.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=this.scale,this.panelPaperRule=e.panelPaperRule,this.panelPageRule=e.panelPageRule,this.firstPaperFooter=e.firstPaperFooter,this.evenPaperFooter=e.evenPaperFooter,this.oddPaperFooter=e.oddPaperFooter,this.lastPaperFooter=e.lastPaperFooter,this.topOffset=e.topOffset,this.leftOffset=e.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",this.mmwidth+"mm"),this.target.css("height",this.mmheight-c.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",this.mmheight),this.zoom(this.scale);var f=Date.now();console.log("\u66F4\u65B0\u53C2\u6570 end",f),console.log("\u66F4\u65B0\u53C2\u6570 time:",f-i),this.printElements.forEach(function(U){U.designTarget&&U.designTarget.length&&U.designTarget.remove()}),this.printElements=[];var f=Date.now();console.log("\u6E05\u7A7A\u9762\u677F end",f),console.log("\u6E05\u7A7A\u9762\u677F time:",f-i),this.initPrintElements(e.printElements);var f=Date.now();console.log("\u521D\u59CB\u5316\u5143\u7D20 end",f),console.log("\u521D\u59CB\u5316\u5143\u7D20 time:",f-i),this.printElements.forEach(function(U){p.appendDesignPrintElement(p.designPaper,U),U.design(e,p.designPaper)});var f=Date.now();console.log("\u63D2\u5165\u9762\u677F end",f),console.log("\u63D2\u5165\u9762\u677F time:",f-i)}catch(U){console.log("???????"),console.log(U)}},y.prototype.bindShortcutKeyEvent=function(){var e=this;x.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?E.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"redo"):E.a.event.trigger("hiprintTemplateDataShortcutKey_"+e.templateId,"undo"),i.preventDefault());var p=c.a.instance.getHooks("documentShortcutKeys");p&&p.forEach(f=>{f.run({panel:e,event:i})})}})},y.prototype.copyJson=function(e){var i=[];try{var p=this,f=x.default("#copyArea");f.length||(f=x.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),x.default("body").append(f)),i=p.getSelectEls();var U=[];i.forEach(function(G){U.push({options:G.options,printElementType:G.printElementType,id:G.id,templateId:G.templateId,cut:e||!1})});var k=JSON.stringify(U);f.text(k),f.css("visibility","visible"),f.focus(),f.setSelectionRange?f.setSelectionRange(0,f.value.length):f.select(),document.execCommand("copy"),f.css("visibility","hidden"),p.designPaper.target.trigger(x.default.Event("click")),p.designPaper.target.focus(),console.log("copyJson success")}catch(G){i=[],console.log("copyJson error",G)}return i},y.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)}},y.prototype.getSelectEls=function(){var e=this,i=[];return e.mouseRect&&e.mouseRect.target&&x.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},y.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=c.a.instance.getHooks("shortcutKeys");p&&p.forEach(f=>{f.run({panel:e,event:i})})}})},y.prototype.canPaste=function(e){var i=x.default("#copyArea");if(!i.length)return!1;var p=i.text(),f=JSON.parse(p);return Array.isArray(f)?f.some(function(U){return U.printElementType&&U.templateId}):!!(f.printElementType&&f.templateId)},y.prototype.pasteJson=function(e){var i=x.default("#copyArea");if(!!i.length)try{var p=this,f=i.text(),U=JSON.parse(f),k=!1;Array.isArray(U)?(k=U.some(function(G){return G.cut==!0}),U.forEach(function(G){p.pasteByJson(G,e)})):(k=U.cut,p.pasteByJson(U,e)),k&&x.default("#copyArea").text("{}")}catch(G){console.error("pasteJson error",G)}},y.prototype.pasteByJson=function(e,i){if(!(!e.printElementType&&!e.templateId)){var p=this,f=e.options,U=et.createPrintElementType(e.printElementType),k=U.createPrintElement(f);if(!!k){var G=i&&i.currentTarget?!0:i,O=G?p.mouseOffsetX&&E.a.px.toPt(p.mouseOffsetX):f.left+=10,it=G?p.mouseOffsetY&&E.a.px.toPt(p.mouseOffsetY):f.top+=10;G||(k.options.setLeft(O),k.options.setTop(it)),k.setTemplateId(p.templateId),k.setPanel(p),p.appendDesignPrintElement(p.designPaper,k,!1),p.printElements.push(k),k.design(void 0,p.designPaper),console.log("pasteJson success"),E.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,e.cut?"\u526A\u5207":"\u590D\u5236"),k.designTarget.trigger(x.default.Event("click"))}}},y.prototype.css=function(e){this.fontFamily?e.css("fontFamily",this.fontFamily):e[0].style.fontFamily=""},y.prototype.getHtml=function(e,i,p,f,U){var k=this;this.orderPrintElements();var G,O=p||[],it=f||this,K=void 0;return f?(K=O[O.length-1],G=K.getPanelTarget(),K.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:K.referenceElement.bottomInLastPaper,beginPrintPaperIndex:O.length-1,printTopInPaper:K.referenceElement.bottomInLastPaper,endPrintPaperIndex:O.length-1}))):(G=it.createTarget(),K=it.createNewPage(O.length),O.push(K),G.append(K.getTarget())),this.printElements.filter(function(tt){return!tt.isFixed()&&!tt.isHeaderOrFooter()}).forEach(function(tt){var rt=[],X=O[O.length-1];X.referenceElement.isPositionLeftOrRight(tt.options.getTop())?K=O[X.referenceElement.beginPrintPaperIndex]:K=O[X.referenceElement.endPrintPaperIndex],rt=tt.getHtml(K,e),rt.forEach(function(nt,gt){nt.referenceElement&&(nt.referenceElement.endPrintPaperIndex=nt.referenceElement.beginPrintPaperIndex+rt.length-1),gt>0&&(K.index<O.length-1?K=O[K.index+1]:(K=it.createNewPage(O.length,K.referenceElement),O.push(K)),G.append(K.getTarget())),nt.target&&(tt.options.showInPage!="none"&&K.append(nt.target),K.updatePrintLine(nt.printLine),tt.onRendered(K,nt.target)),gt==rt.length-1&&nt.referenceElement&&K.updateReferenceElement(nt.referenceElement)})}),U&&U.templates.forEach(function(tt,rt){var X=tt.data||{},nt=tt.options||{};tt.template.printPanels.forEach(function(gt){gt.getHtml(X,nt,p,k)})}),f||(this.lastPaperFooter&&O[O.length-1].printLine>this.lastPaperFooter&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&O.length%2==0&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget())),this.panelPaperRule=="even"&&O.length%2==1&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget()))),O.forEach(function(tt){tt.updatePaperNumber(tt.index+1,O.length,i.paperNumberToggleInEven),k.fillPaperHeaderAndFooter(tt,e,O.length),i&&(i.leftOffset!=null&&tt.setLeftOffset(i.leftOffset),i.topOffset!=null&&tt.setTopOffset(i.topOffset))}),G.prepend(this.getPrintStyle())),G},y.prototype.resize=function(e,i,p,f){this.width=i,this.height=p,this.paperType=e,this.rotate=f,this.designPaper.resize(i,p)},y.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},y.prototype.zoom=function(e,i){i?this.scale=e:this.scale=void 0,this.designPaper.zoom(e)},y.prototype.getTarget=function(){return this.target},y.prototype.enable=function(){this.target.removeClass("hipanel-disable")},y.prototype.disable=function(){this.target.addClass("hipanel-disable")},y.prototype.getPanelEntity=function(e){var i=[];return this.printElements.forEach(function(p){i.push(p.getPrintElementEntity(e))}),new st({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,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:i,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},y.prototype.createTarget=function(){var e=x.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(e),e},y.prototype.droppablePaper=function(e){var i=this;e.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(f,U){var k=s.a.instance.getDragingPrintElement(),G=k.printElement,O=i.designPaper.scale||1,it=(k.left-E.a.px.toPt(i.target.children(".hiprint-printPaper").offset().left))/O,K=(k.top-E.a.px.toPt(i.target.children(".hiprint-printPaper").offset().top))/O;G.updateSizeAndPositionOptions(i.mathroundToporleft(it),i.mathroundToporleft(K)),G.setTemplateId(i.templateId),G.setPanel(i),i.appendDesignPrintElement(i.designPaper,G,!0),i.printElements.push(G),G.design(void 0,e),E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},y.prototype.initPrintElements=function(e){var i=this;this.printElements=[],e&&e.forEach(function(p){var f;if(f=p.printElementType?et.createPrintElementType(p.printElementType):l.instance.getElementType(p.tid)){var U=f.createPrintElement(p.options);U.setTemplateId(i.templateId),U.setPanel(i),i.printElements.push(U)}else console.log("miss "+JSON.stringify(e))})},y.prototype.mathroundToporleft=function(e){var i=c.a.instance.movingDistance;return Math.round(e/i)*i},y.prototype.appendDesignPrintElement=function(e,i,p){i.setCurrenttemplateData(void 0);var f=i.getDesignTarget(e);f.addClass("design"),p&&i.initSizeByHtml(f),e.append(f)},y.prototype.createNewPage=function(e,i){var p=new m(this.templateId,this.index,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberFormat,e,i);return p.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),p.setOffset(this.leftOffset,this.topOffset),p},y.prototype.orderPrintElements=function(){this.printElements=E.a.orderBy(this.printElements,function(e){return e.options.getLeft()}),this.printElements=E.a.orderBy(this.printElements,function(e){return e.options.getTop()})},y.prototype.fillPaperHeaderAndFooter=function(e,i,p){this.printElements.filter(function(f){return f.isFixed()||f.isHeaderOrFooter()}).forEach(function(f){if(f.isFixed(),f.showInPage(e.index,p)){var U=f.getHtml(e,i);U.length&&e.append(U[0].target)}})},y.prototype.clear=function(){this.printElements.forEach(function(e){e.designTarget&&e.designTarget.length&&e.designTarget.remove()}),this.printElements=[],E.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},y.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)}},y.prototype.addPrintText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="text",this.insertPrintElementToPanel(e)},y.prototype.addPrintHtml=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="html",this.insertPrintElementToPanel(e)},y.prototype.addPrintTable=function(e){if(e.printElementType=e.printElementType||{},e.printElementType.type="table",e.options&&e.options.columns){var i=x.default.extend({},e.options.columns);e.printElementType.columns=i.columns,i.columns=void 0}this.insertPrintElementToPanel(e)},y.prototype.addPrintImage=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="image",this.insertPrintElementToPanel(e)},y.prototype.addPrintLongText=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="longText",this.insertPrintElementToPanel(e)},y.prototype.addPrintVline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="vline",this.insertPrintElementToPanel(e)},y.prototype.addPrintHline=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="hline",this.insertPrintElementToPanel(e)},y.prototype.addPrintRect=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="rect",this.insertPrintElementToPanel(e)},y.prototype.addPrintOval=function(e){e.printElementType=e.printElementType||{},e.printElementType.type="oval",this.insertPrintElementToPanel(e)},y.prototype.getPrintElementTypeByEntity=function(e){var i;return(i=e.tid?l.instance.getElementType(e.tid):et.createPrintElementType(e.printElementType))||console.log("miss "+JSON.stringify(e)),i},y.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1518
|
+
</div>`)},y.prototype.createWaterMark=function(t,i,p){var f=this,U=Object.assign({},p||{},{id:`${f.templateId}_${f.panelIdx}_${i||1}_${t?"design":f.index}`,watch:t,container:f.target[0]});!U.container||(U.content?(t&&Yt.destroyWatermark(Object.assign({},U,{id:`${f.templateId}_${f.panelIdx}_${i||1}_${f.index}`})),Yt.createWatermark(U)):Yt.destroyWatermark(U))},y.prototype.displayHeight=function(){return this.mmheight-I.a.instance.paperHeightTrim+"mm"},y.prototype.displayWidth=function(){return this.mmwidth+"mm"},y.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},y}(),a=g(6),c=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new P(p),f.options.setDefault(new P(I.a.instance.longText.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.getDesignTarget=function(i){var p=y.prototype.getDesignTarget.call(this,i);return p.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),p},t.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),f=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(f),this.css(f,p),f},t.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)}},t.prototype.getConfigOptions=function(){return I.a.instance.longText},t.prototype.getTitle=function(){return this.options.title||this.printElementType.title},t.prototype.getData=function(i){var p=this.getField(),f=p&&p.split(".").reduce((U,k)=>U?U[k]:i?i[k]:"",!1)||"";return i?f||"":this.options.testData||this.printElementType.getData()||""},t.prototype.updateTargetText=function(i,p,f){var U=i.find(".hiprint-printElement-longText-content"),k=this.getText(p,f);U.html(k)},t.prototype.createTarget=function(i,p){var f=x.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(f,i,p),f},t.prototype.getText=function(i,p){var f=this.getFormatter();return p&&(p=this.options.leftSpaceRemoved!=0?p.toString().replace(/^\s*/,""):p),(this.getField()?(this.options.getHideTitle()?"":i?i+"\uFF1A":"")+(f?f(i,p,this.options,this._currenttemplateData):p):f?f(i,i,this.options,this._currenttemplateData):i||"")||""},t.prototype.getHtml=function(i,p){this.setCurrenttemplateData(p),this.createTempContainer();var f=this.getPaperHtmlResult(i,p);return this.removeTempContainer(),f},t.prototype.getHeightByData=function(i){this.createTempContainer();var p=this.getPaperHtmlResult(new m("","",void 0,1e3,1e3,0,25e3,0,0,!0,void 0,0,void 0),{},i);return this.removeTempContainer(),p[0].referenceElement.bottomInLastPaper-p[0].referenceElement.printTopInPaper},t.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>'},t.prototype.getPaperHtmlResult=function(i,p,f){var U=this,k=[],G=0,O=f||this.getData(p),it=this.getText(this.getTitle(),O),K=this.createTarget(this.getTitle(),this.options.testData||"");this.css(K,O),p?this.updateTargetWidth(K):this.updateTargetSize(K),this.getTempContainer().html(""),this.getTempContainer().append(K);var tt=[this.getLongTextIndent()],rt=it.split(new RegExp(`\r|
|
|
1519
|
+
`,"g"));if(rt.forEach(function(Ct,Jt){var Ft=U.options.leftSpaceRemoved!=0?(Ct||"").toString().replace(/^\s*/,""):Ct;tt=tt.concat(Ft.split("")),Jt<rt.length-1&&tt.push("<br/>"+U.getLongTextIndent())}),tt.length==0&&(tt=[""]),this.isHeaderOrFooter()||this.isFixed()||!p)return(It=this.getStringBySpecificHeight(tt,25e3,K)).target.css("left",this.options.displayLeft()),It.target.css("top",this.options.displayTop()),It.target[0].height="",k.push(new a.a({target:It.target,printLine:this.options.displayTop()+It.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()+It.height,printTopInPaper:this.options.getTop()})})),k;for(var X=this.getBeginPrintTopInPaperByReferenceElement(i);tt.length>0;){var nt=0,gt=i.getPaperFooter(G);G==0&&X>gt&&i.panelPageRule!="none"&&(X=X-gt+i.paperHeader,k.push(new a.a({target:void 0,printLine:void 0})),G++,nt=i.getContentHeight(G)-(X-i.paperHeader),gt=i.getPaperFooter(G));var It=this.getStringBySpecificHeight(tt,nt>0?nt:G==0?gt-X:i.getContentHeight(G),K);tt.splice(0,It.length);var ft=void 0,wt=void 0;It.target.css("left",this.options.displayLeft()),It.target[0].height="",G==0||nt>0?(wt=X,It.target.css("top",wt+"pt"),ft=tt.length>0?X+It.height:this.options.lHeight!=null?X+(It.height>this.options.lHeight?It.height:this.options.lHeight):X+It.height):(wt=i.paperHeader,It.target.css("top",wt+"pt"),ft=wt+It.height),k.push(new a.a({target:It.target,printLine:ft,referenceElement:new o.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:i.index,bottomInLastPaper:ft,printTopInPaper:wt})})),G++,p&&this.updatePanelHeight(ft+this.options.getHeight(),i)}return k},t.prototype.getStringBySpecificHeight=function(i,p,f){var U=E.a.pt.toPx(p),k=void 0,G=this.panel.panelPageRule=="none";return G?k=this.IsPaginationIndex(i,i.length,-1,f):k=this.IsPaginationIndex(i,i.length-1,U,f),k.IsPagination?k:this.BinarySearch(i,0,i.length-1,U,f)},t.prototype.BinarySearch=function(i,p,f,U,k){var G=Math.floor((p+f)/2);if(p>f)return k.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:k.clone()};var O=this.IsPaginationIndex(i,G,U,k);return O.IsPagination?O:O.move=="l"?this.BinarySearch(i,p,G-1,U,k):this.BinarySearch(i,G+1,f,U,k)},t.prototype.IsPaginationIndex=function(i,p,f,U){if(f==-1){U.find(".hiprint-printElement-longText-content").html(i.slice(0,p).join(""));var G=U.height();return{IsPagination:!0,height:E.a.px.toPt(G),length:i.length,target:U.clone()}}U.find(".hiprint-printElement-longText-content").html(i.slice(0,p+2).join(""));var k=U.height();U.find(".hiprint-printElement-longText-content").html(i.slice(0,p+1).join(""));var G=U.height();return p>=i.length-1&&G<f?{IsPagination:!0,height:E.a.px.toPt(G),length:i.length,target:U.clone()}:G<=f&&k>=f?{IsPagination:!0,height:G,length:p+1,target:U.clone()}:G>=f?{IsPagination:!1,move:"l"}:k<=f?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},t}(D.a),h=function(){function y(){}return y.replaceEnterAndNewline=function(t,i){return t.replace(new RegExp(`\r|
|
|
1520
|
+
|/g`,"g"),i)},y.replaceTab=function(t,i){return t.replace(new RegExp(" /g","g"),i)},y.replaceEnterAndNewlineAndTab=function(t,i){return t.replace(new RegExp(`\r|
|
|
1521
|
+
| |/g`,"g"),i)},y}(),M=function(y){function t(i){var p=y.call(this,i)||this;return p.title&&(p.title=h.replaceEnterAndNewlineAndTab(p.title,"")),p}return j(t,y),t.prototype.getHideTitle=function(){return this.hideTitle==null?this.defaultOptions.hideTitle:this.hideTitle},t.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions.textType:this.textType)||"text"},t.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions.fontSize:this.fontSize)||9},t.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions.barcodeMode:this.barcodeMode)||"CODE128"},t.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions.qrCodeLevel:this.qrCodeLevel)||0},t}(H.a),u=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new M(p),f.options.setDefault(new M(I.a.instance.text.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.getDesignTarget=function(i){return y.prototype.getDesignTarget.call(this,i)},t.prototype.getProxyTarget=function(i){i&&this.SetProxyTargetOption(i);var p=this.getData(),f=this.createTarget(this.printElementType.getText(!0),p);return this.updateTargetSize(f),this.css(f,p),f},t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetText(this.designTarget,this.getTitle(),i)}},t.prototype.getConfigOptions=function(){return I.a.instance.text},t.prototype.getTitle=function(){var i=this.options.title||this.printElementType.title||"";return i&&(i=h.replaceEnterAndNewlineAndTab(i,"")),i},t.prototype.getData=function(i){var p=void 0,f=this.getField();if(p=i?f&&f.split(".").reduce((k,G)=>k?k[G]:i?i[G]:"",!1)||"":this.options.testData||this.printElementType.getData()||"",this.options.format){if(this.options.dataType=="datetime")return E.a.dateFormat(p,this.options.format);if(this.options.dataType=="boolen"){var U=this.options.format.split(":");if(U.length>0)return p===!0||p==="true"?U[0]:U[1]}}return p},t.prototype.updateTargetText=function(i,p,f,U,k){var G=this.getFormatter(),O=i.find(".hiprint-printElement-text-content"),it="";it=this.getField()?(this.options.getHideTitle()?"":p?p+"\uFF1A":"")+hinnn.toUpperCase(this.options.upperCase,G?G(p,f,this.options,this._currenttemplateData,i):f):f=hinnn.toUpperCase(this.options.upperCase,G?G(p,p,this.options,this._currenttemplateData,i):p);var K=this.options.getTextType();if(K=="text")O.html(it);else{if(K=="barcode"){O.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg ><div class="hibarcode_displayValue"></div>');try{f?(Qt.default(O.find(".hibarcode_imgcode")[0],f,{format:this.options.getbarcodeMode(),width:1,textMargin:-1,lineColor:this.options.color||"#000000",margin:0,height:parseInt(E.a.pt.toPx(this.options.getHeight()||10).toString()),displayValue:!1}),O.find(".hibarcode_imgcode").attr("height","100%"),O.find(".hibarcode_imgcode").attr("width","100%"),this.options.hideTitle||O.find(".hibarcode_displayValue").html(f)):O.html("")}catch(nt){console.log(nt),O.html("\u6B64\u683C\u5F0F\u4E0D\u652F\u6301\u8BE5\u6587\u672C")}}if(K=="qrcode"){O.html("");try{if(f){i.css("line-height",0),O.css("text-align","center");var tt=this.options.getWidth()||20,rt=this.options.getHeight()||20,X=x.default("<div></div>").css({width:(tt>rt?rt:tt)+"pt",height:(tt>rt?rt:tt)+"pt",display:"inline-block"});new QRCode(X[0],{width:"100%",height:"100%",colorDark:this.options.color||"#000000",useSVG:!0,correctLevel:this.options.getQRcodeLevel()}).makeCode(f),O.html(X)}}catch(nt){console.log(nt),O.html("\u4E8C\u7EF4\u7801\u751F\u6210\u5931\u8D25")}}}},t.prototype.onResize=function(i,p,f,U,k){y.prototype.onResize.call(this,i,p,f,U,k),this.options.getTextType()!="barcode"&&this.options.getTextType()!="qrcode"||this.updateTargetText(this.designTarget,this.getTitle(),this.getData())},t.prototype.createTarget=function(i,p,f){var U=x.default('<div tabindex="1" class="hiprint-printElement hiprint-printElement-text" style="position: absolute;"><div class="hiprint-printElement-text-content hiprint-printElement-content" style="height:100%;width:100%"></div></div>');return this.updateTargetText(U,i,p,f),U},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),d=function(y){function t(i){return y.call(this,i)||this}return j(t,y),t}(H.a),A=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new d(p),f.options.setDefault(new d(I.a.instance.html.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i),this.updateTargetHtml()}},t.prototype.updateTargetHtml=function(){var i=this.getFormatter();if(i){var p=i(this.getData(),this.options,this._currenttemplateData);this.designTarget.find(".hiprint-printElement-html-content").html(p)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.html.showPoints},t.prototype.getConfigOptions=function(){return I.a.instance.html},t.prototype.createTarget=function(i,p){var f=x.default('<div class="hiprint-printElement hiprint-printElement-html" style="position: absolute;"><div class="hiprint-printElement-html-content" style="height:100%;width:100%"></div></div>'),U=this.getFormatter();if(U){var k=U(this.getData(),this.options,this._currenttemplateData);f.find(".hiprint-printElement-html-content").append(k)}else this.options.content&&f.find(".hiprint-printElement-html-content").append(this.options.content);return f},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),Z=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(I.a.instance.vline.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getConfigOptions=function(){return I.a.instance.vline},t.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-vline" style="border-left:1px solid;position: absolute;"></div>')},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.vline.showPoints},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),L=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(I.a.instance.hline.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getConfigOptions=function(){return I.a.instance.hline},t.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-hline" style="border-top:1px solid;position: absolute;"></div>')},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.hline.showPoints},t}(D.a),J=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(I.a.instance.rect.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.rect.showPoints},t.prototype.getConfigOptions=function(){return I.a.instance.rect},t.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-rect" style="border:1px solid;position: absolute;"></div>')},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),Y=function(y){function t(i,p){var f=y.call(this,i)||this;return f.options=new H.a(p),f.options.setDefault(new H.a(I.a.instance.oval.default).getPrintElementOptionEntity()),f}return j(t,y),t.prototype.updateDesignViewFromOptions=function(){if(this.designTarget){var i=this.getData();this.css(this.designTarget,i)}},t.prototype.getReizeableShowPoints=function(){return this.options.showPoints||I.a.instance.oval.showPoints},t.prototype.getConfigOptions=function(){return I.a.instance.oval},t.prototype.createTarget=function(i,p){return x.default('<div class="hiprint-printElement hiprint-printElement-oval" style="border:1px solid;position: absolute;border-radius: 50%;"></div>')},t.prototype.getHtml=function(i,p,f){return this.getHtml2(i,p,f)},t}(D.a),R=function(){function y(){}return y.createPrintElement=function(t,i){if(["text","image","longText","table","html","vline","hline","rect","oval"].includes(t.type))return t.type=="text"?new u(t,i):t.type=="image"?new v(t,i):t.type=="longText"?new c(t,i):t.type=="table"?new N.a(t,i):t.type=="html"?new A(t,i):t.type=="vline"?new Z(t,i):t.type=="hline"?new L(t,i):t.type=="rect"?new J(t,i):t.type=="oval"?new Y(t,i):void 0;var p,f=I.a.instance.getHooks("createPrintElement");return f&&f.forEach(U=>{p=U.run({Config:I.a.instance,BasePrintElement:D.a,Options:H.a,Supper:j,ele:t,eleOpt:i})}),p?new p(t,i):void 0},y}(),V=function(){function y(t){this.field=t.field,this.fields=t.fields,this.title=t.title,this.text=t.text,this.tid=t.tid,this.data=t.data,this.styler=t.styler,this.formatter=t.formatter,this.type=t.type,this.onRendered=t.onRendered,this.options=t.options}return y.prototype.getText=function(t){return t?this.title||this.text||"":this.text||this.title||""},y.prototype.getData=function(){return this.data},y.prototype.createPrintElement=function(t){var i={};return x.default.extend(i,t||{}),R.createPrintElement(this,i)},y.prototype.getPrintElementTypeEntity=function(){return new r({title:this.title,type:this.type})},y.prototype.getFields=function(){return this.fields},y.prototype.getOptions=function(){return this.options||{}},y}();g(16);var q=g(12);(function(y){function t(i){var p=y.call(this,i)||this;return(i=i||{}).columns?(p.columns=[],i.columns.forEach(function(f){p.columns.push(new q.a(f))})):p.columns=[new q.a({columns:[new C.a({width:100}),new C.a({width:100})]})],p.lHeight=i.lHeight,p.autoCompletion=i.autoCompletion,p.tableFooterRepeat=i.tableFooterRepeat,p}return j(t,y),t.prototype.getPrintElementOptionEntity=function(){var i=y.prototype.getPrintElementOptionEntity.call(this);return i.fields=this.fields,i.columns=[],this.columns.forEach(function(p){i.columns.push(p.getPrintElementOptionEntity())}),i},t})(H.a);var z=function(y){function t(i){return y.call(this,i)||this}return j(t,y),t.prototype.createPrintElement=function(i){var p={};return x.default.extend(p,i||{}),R.createPrintElement(this,p)},t.prototype.getPrintElementTypeEntity=function(){return new r({title:this.title,type:this.type})},t}(V),et=function(){function y(){}return y.createPrintElementType=function(t){return t.type=t.type||"text",t.type=="text"?new z(t):t.type=="table"?new S(t):new V(t)},y}(),ot=function(){function y(){}return y.ElementTypes=l.instance,y.getElementTypeGroups=function(t){var i=y.formatterModule(t);return l.instance[i]||[]},y.getElementType=function(t,i){if(t)return l.instance.getElementType(t);et.createPrintElementType({type:i})},y.build=function(t,i){var p=y.formatterModule(i),f=new w().createPrintElementTypeHtml(t,this.getElementTypeGroups(p));this.enableDrag(f)},y.buildByHtml=function(t){this.enableDrag(t)},y.enableDrag=function(t){t.hidraggable({revert:!0,proxy:function(p){var f=s.a.instance.getDragingPrintElement(),U=f.printElement.getProxyTarget(f.printElement.printElementType.getOptions());return U.appendTo("body"),U.css("z-index","9999"),U},moveUnit:"pt",minMove:4,onBeforeDrag:function(p){s.a.instance.draging=!0;var f=x.default(p.data.target).attr("tid"),U=y.getElementType(f,x.default(p.data.target).attr("ptype"));if(!U)throw new Error(`\u8BF7\u68C0\u67E5 hiprint.init \u7684 provider \u662F\u5426\u914D\u7F6E\u4E86 [${f}]`);var k=U.createPrintElement();if(!k&&U.type=="tableCustom")throw new Error('\u5DF2\u79FB\u9664"tableCustom",\u8BF7\u66FF\u6362\u4F7F\u7528"table".\u8BE6\u60C5\u89C1\u66F4\u65B0\u8BB0\u5F55');return s.a.instance.setDragingPrintElement(k),!0},onDrag:function(p,f,U){s.a.instance.getDragingPrintElement().updatePosition(f,U)},onStopDrag:function(p){s.a.instance.draging=!1}})},y.formatterModule=function(t){return t||"_default"},y}(),pt=function(){return function(y,t){var i=this;this.name=y,this.printElementTypes=[],t.forEach(function(p){i.printElementTypes.push(et.createPrintElementType(p))})}}(),st=function(){return function(y){if(this.index=y.index,this.name=y.name,this.paperType=y.paperType,this.paperType){var t=s.a.instance[this.paperType];y.height?(this.height=y.height,this.width=y.width):(this.height=t.height,this.width=t.width)}else this.height=y.height,this.width=y.width;this.paperHeader=y.paperHeader||0,this.paperFooter=y.paperFooter||E.a.mm.toPt(this.height),this.printElements=y.printElements||[],this.paperNumberLeft=y.paperNumberLeft,this.paperNumberTop=y.paperNumberTop,this.paperNumberDisabled=y.paperNumberDisabled,this.paperNumberFormat=y.paperNumberFormat,this.panelPaperRule=y.panelPaperRule,this.panelPageRule=y.panelPageRule,this.rotate=y.rotate||void 0,this.firstPaperFooter=y.firstPaperFooter,this.evenPaperFooter=y.evenPaperFooter,this.oddPaperFooter=y.oddPaperFooter,this.lastPaperFooter=y.lastPaperFooter,this.topOffset=y.topOffset,this.fontFamily=y.fontFamily,this.leftOffset=y.leftOffset,this.orient=y.orient,this.watermarkOptions=y.watermarkOptions,this.scale=y.scale}}(),ht=function(){function y(t,i,p,f){this.bx=t,this.by=i,this.ex=t,this.ey=i,this.startX=this.minX=t,this.startY=this.minY=i,this.maxX=t,this.maxY=i,this.lastLeft=p,this.lastTop=f}return y.prototype.updateRect=function(t,i){this.ex=t,this.ey=i,this.minX=this.startX<t?this.startX:t,this.minY=this.startY<i?this.startY:i,this.maxX=this.startX<t?t:this.startX,this.maxY=this.startY<i?i:this.startY},y.prototype.updatePositionByMultipleSelect=function(t,i){t!=null&&(this.lastLeft=this.lastLeft+t),i!=null&&(this.lastTop=this.lastTop+i),this.target.css({left:this.lastLeft+"pt",top:this.lastTop+"pt"})},y}(),mt=function(){function y(t,i){this.templateId=i,this.index=t.index,this.name=t.name,this.width=t.width,this.height=t.height,this.paperType=t.paperType,this.paperHeader=t.paperHeader,this.paperFooter=t.paperFooter,this.initPrintElements(t.printElements),this.paperNumberLeft=t.paperNumberLeft,this.paperNumberTop=t.paperNumberTop,this.paperNumberDisabled=t.paperNumberDisabled,this.paperNumberFormat=t.paperNumberFormat,this.panelPaperRule=t.panelPaperRule,this.panelPageRule=t.panelPageRule,this.firstPaperFooter=t.firstPaperFooter,this.evenPaperFooter=t.evenPaperFooter,this.oddPaperFooter=t.oddPaperFooter,this.lastPaperFooter=t.lastPaperFooter,this.topOffset=t.topOffset,this.leftOffset=t.leftOffset,this.fontFamily=t.fontFamily,this.orient=t.orient,this.target=this.createTarget(),this.rotate=t.rotate,this.watermarkOptions=t.watermarkOptions||{},this.scale=t.scale}return y.prototype.design=function(t){var i=this;this.orderPrintElements(),this.designPaper=this.createNewPage(0),this.target.html(""),this.target.append(this.designPaper.getTarget()),this.droppablePaper(this.designPaper),this.designPaper.design(t),this.designPaper.subscribePaperBaseInfoChanged(function(p){i.paperHeader=p.paperHeader,i.paperFooter=p.paperFooter,i.paperNumberLeft=p.paperNumberLeft,i.paperNumberTop=p.paperNumberTop,i.paperNumberDisabled=p.paperNumberDisabled,i.paperNumberFormat=p.paperNumberFormat}),this.printElements.forEach(function(p){i.appendDesignPrintElement(i.designPaper,p),p.design(t,i.designPaper)}),this.target.bind("click.hiprint",function(p){E.a.event.trigger("BuildCustomOptionSettingEventKey_"+i.templateId,{options:{panelPaperRule:i.panelPaperRule,panelPageRule:i.panelPageRule,firstPaperFooter:i.firstPaperFooter,evenPaperFooter:i.evenPaperFooter,oddPaperFooter:i.oddPaperFooter,lastPaperFooter:i.lastPaperFooter,leftOffset:i.leftOffset,topOffset:i.topOffset,fontFamily:i.fontFamily,orient:i.orient,paperNumberDisabled:i.paperNumberDisabled,paperNumberFormat:i.paperNumberFormat,watermarkOptions:i.watermarkOptions||{}},callback:function(U){i.watermarkOptions=U.watermarkOptions||void 0,U.watermarkOptions&&i.designPaper.createWaterMark(!0,1,U.watermarkOptions),i.panelPaperRule=U.panelPaperRule,i.panelPageRule=U.panelPageRule,i.firstPaperFooter=U.firstPaperFooter,i.evenPaperFooter=U.evenPaperFooter,i.oddPaperFooter=U.oddPaperFooter,i.lastPaperFooter=U.lastPaperFooter,i.leftOffset=U.leftOffset,i.topOffset=U.topOffset,i.fontFamily=U.fontFamily,i.orient=U.orient,i.paperNumberDisabled=i.designPaper.paperNumberDisabled=!!U.paperNumberDisabled||void 0,i.paperNumberFormat=U.paperNumberFormat,i.designPaper.paperNumberFormat=U.paperNumberFormat,U.paperNumberFormat&&(i.designPaper.paperNumberTarget=i.designPaper.createPaperNumber(i.designPaper.formatPaperNumber(1,1),!0)),i.designPaper.setOffset(i.leftOffset,i.topOffset),i.css(i.target),i.designPaper.resetPaperNumber(i.designPaper.paperNumberTarget),i.designPaper.triggerOnPaperBaseInfoChanged()}})}),this.bindShortcutKeyEvent(),this.bingPasteEvent(),this.bindBatchMoveElement()},y.prototype.update=function(t){try{console.log("update ------>"),console.log(t);var i=Date.now();console.log("start",i);var p=this;this.index=t.index,this.name=t.name,this.width=t.width,this.height=t.height,this.paperType=t.paperType,this.paperHeader=t.paperHeader,this.paperFooter=t.paperFooter,this.designPaper.width=E.a.mm.toPt(t.width),this.designPaper.height=E.a.mm.toPt(this.height),this.designPaper.paperType=this.paperType,this.designPaper.paperHeader=this.paperHeader,this.designPaper.paperFooter=this.paperFooter,this.designPaper.mmheight=t.height,this.designPaper.mmwidth=t.width,this.designPaper.headerLinetarget.css("top",(this.paperHeader||-1)+"pt"),this.paperHeader==0&&this.designPaper.headerLinetarget.addClass("hideheaderLinetarget"),this.designPaper.footerLinetarget.css("top",parseInt(this.paperFooter.toString())+"pt"),this.paperFooter==this.height&&this.designPaper.footerLinetarget.css("top",t.height-I.a.instance.paperHeightTrim+"mm"),this.watermarkOptions=t.watermarkOptions||{},this.paperNumberLeft=t.paperNumberLeft,this.paperNumberTop=t.paperNumberTop,this.paperNumberDisabled=t.paperNumberDisabled,this.paperNumberFormat=t.paperNumberFormat,this.designPaper.paperNumberLeft=this.paperNumberLeft,this.designPaper.paperNumberTop=this.paperNumberTop,this.designPaper.paperNumberDisabled=this.paperNumberDisabled,this.designPaper.paperNumberFormat=this.paperNumberFormat,this.designPaper.paperNumberTarget.css("top",this.paperNumberTop+"pt").css("left",this.paperNumberLeft+"pt"),this.designPaper.resetPaperNumber(this.designPaper.paperNumberTarget),this.fontFamily=t.fontFamily,this.orient=t.orient,this.rotate=t.rotate,this.scale=t.scale,this.designPaper.fontFamily=this.fontFamily,this.designPaper.orient=this.orient,this.designPaper.scale=this.scale,this.panelPaperRule=t.panelPaperRule,this.panelPageRule=t.panelPageRule,this.firstPaperFooter=t.firstPaperFooter,this.evenPaperFooter=t.evenPaperFooter,this.oddPaperFooter=t.oddPaperFooter,this.lastPaperFooter=t.lastPaperFooter,this.topOffset=t.topOffset,this.leftOffset=t.leftOffset,this.designPaper.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),this.designPaper.setOffset(this.leftOffset,this.topOffset),this.target.css("width",t.width+"mm"),this.target.css("height",t.height-I.a.instance.paperHeightTrim+"mm"),this.target.attr("original-height",t.height),this.target.parent().css("width",t.width+"mm"),this.target.parent().css("height",t.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.css("width",t.width+"mm"),this.designPaper.target.css("height",t.height-I.a.instance.paperHeightTrim+"mm"),this.designPaper.target.attr("original-height",t.height),this.zoom(this.scale);var f=Date.now();console.log("\u66F4\u65B0\u53C2\u6570 end",f),console.log("\u66F4\u65B0\u53C2\u6570 time:",f-i),this.printElements.forEach(function(U){U.designTarget&&U.designTarget.length&&U.designTarget.remove()}),this.printElements=[];var f=Date.now();console.log("\u6E05\u7A7A\u9762\u677F end",f),console.log("\u6E05\u7A7A\u9762\u677F time:",f-i),this.initPrintElements(t.printElements);var f=Date.now();console.log("\u521D\u59CB\u5316\u5143\u7D20 end",f),console.log("\u521D\u59CB\u5316\u5143\u7D20 time:",f-i),this.printElements.forEach(function(U){p.appendDesignPrintElement(p.designPaper,U),U.design(t,p.designPaper)});var f=Date.now();console.log("\u63D2\u5165\u9762\u677F end",f),console.log("\u63D2\u5165\u9762\u677F time:",f-i)}catch(U){console.log("???????"),console.log(U)}},y.prototype.bindShortcutKeyEvent=function(){var t=this;x.default(document).keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==90&&(i.shiftKey?E.a.event.trigger("hiprintTemplateDataShortcutKey_"+t.templateId,"redo"):E.a.event.trigger("hiprintTemplateDataShortcutKey_"+t.templateId,"undo"),i.preventDefault());var p=I.a.instance.getHooks("documentShortcutKeys");p&&p.forEach(f=>{f.run({panel:t,event:i})})}})},y.prototype.copyJson=function(t){var i=[];try{var p=this,f=x.default("#copyArea");f.length||(f=x.default('<textarea id="copyArea" style="position: absolute; left: 0px; top: 0px;opacity: 0"></textarea>'),x.default("body").append(f)),i=p.getSelectEls();var U=[];i.forEach(function(G){U.push({options:G.options,printElementType:G.printElementType,id:G.id,templateId:G.templateId,cut:t||!1})});var k=JSON.stringify(U);f.text(k),f.css("visibility","visible"),f.focus(),f.setSelectionRange?f.setSelectionRange(0,f.value.length):f.select(),document.execCommand("copy"),f.css("visibility","hidden"),p.designPaper.target.trigger(x.default.Event("click")),p.designPaper.target.focus(),console.log("copyJson success")}catch(G){i=[],console.log("copyJson error",G)}return i},y.prototype.cutJson=function(){try{var t=this,i=t.copyJson(!0);i&&i.forEach(function(p){t.deletePrintElement(p)})}catch(p){console.log("cutJson error",p)}},y.prototype.getSelectEls=function(){var t=this,i=[];return t.mouseRect&&t.mouseRect.target&&x.default(".mouseRect").length?i=t.getElementInRect(t.mouseRect):i=t.printElements.filter(function(p){return p.designTarget.children().last().css("display")=="block"&&!p.printElementType.type.includes("table")}),i},y.prototype.bingPasteEvent=function(){var t=this;t.designPaper.target.attr("tabindex","1"),t.designPaper.target.keydown(function(i){if(i.target.tagName!="INPUT"){(i.ctrlKey||i.metaKey)&&i.keyCode==86&&(t.pasteJson(i),i.preventDefault());var p=I.a.instance.getHooks("shortcutKeys");p&&p.forEach(f=>{f.run({panel:t,event:i})})}})},y.prototype.canPaste=function(t){var i=x.default("#copyArea");if(!i.length)return!1;var p=i.text(),f=JSON.parse(p);return Array.isArray(f)?f.some(function(U){return U.printElementType&&U.templateId}):!!(f.printElementType&&f.templateId)},y.prototype.pasteJson=function(t){var i=x.default("#copyArea");if(!!i.length)try{var p=this,f=i.text(),U=JSON.parse(f),k=!1;Array.isArray(U)?(k=U.some(function(G){return G.cut==!0}),U.forEach(function(G){p.pasteByJson(G,t)})):(k=U.cut,p.pasteByJson(U,t)),k&&x.default("#copyArea").text("{}")}catch(G){console.error("pasteJson error",G)}},y.prototype.pasteByJson=function(t,i){if(!(!t.printElementType&&!t.templateId)){var p=this,f=t.options,U=et.createPrintElementType(t.printElementType),k=U.createPrintElement(f);if(!!k){var G=i&&i.currentTarget?!0:i,O=G?p.mouseOffsetX&&E.a.px.toPt(p.mouseOffsetX):f.left+=10,it=G?p.mouseOffsetY&&E.a.px.toPt(p.mouseOffsetY):f.top+=10;G||(k.options.setLeft(O),k.options.setTop(it)),k.setTemplateId(p.templateId),k.setPanel(p),p.appendDesignPrintElement(p.designPaper,k,!1),p.printElements.push(k),k.design(void 0,p.designPaper),console.log("pasteJson success"),E.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,t.cut?"\u526A\u5207":"\u590D\u5236"),k.designTarget.trigger(x.default.Event("click"))}}},y.prototype.css=function(t){this.fontFamily?t.css("fontFamily",this.fontFamily):t[0].style.fontFamily=""},y.prototype.getHtml=function(t,i,p,f,U){var k=this;this.orderPrintElements();var G,O=p||[],it=f||this,K=void 0;return f?(K=O[O.length-1],G=K.getPanelTarget(),K.updateReferenceElement(new o.a({top:this.paperHeader,left:0,height:0,width:0,bottomInLastPaper:K.referenceElement.bottomInLastPaper,beginPrintPaperIndex:O.length-1,printTopInPaper:K.referenceElement.bottomInLastPaper,endPrintPaperIndex:O.length-1}))):(G=it.createTarget(),K=it.createNewPage(O.length),O.push(K),G.append(K.getTarget())),this.printElements.filter(function(tt){return!tt.isFixed()&&!tt.isHeaderOrFooter()}).forEach(function(tt){var rt=[],X=O[O.length-1];X.referenceElement.isPositionLeftOrRight(tt.options.getTop())?K=O[X.referenceElement.beginPrintPaperIndex]:K=O[X.referenceElement.endPrintPaperIndex],rt=tt.getHtml(K,t),rt.forEach(function(nt,gt){nt.referenceElement&&(nt.referenceElement.endPrintPaperIndex=nt.referenceElement.beginPrintPaperIndex+rt.length-1),gt>0&&(K.index<O.length-1?K=O[K.index+1]:(K=it.createNewPage(O.length,K.referenceElement),O.push(K)),G.append(K.getTarget())),nt.target&&(tt.options.showInPage!="none"&&K.append(nt.target),K.updatePrintLine(nt.printLine),tt.onRendered(K,nt.target)),gt==rt.length-1&&nt.referenceElement&&K.updateReferenceElement(nt.referenceElement)})}),U&&U.templates.forEach(function(tt,rt){var X=tt.data||{},nt=tt.options||{};tt.template.printPanels.forEach(function(gt){gt.getHtml(X,nt,p,k)})}),f||(this.lastPaperFooter&&O[O.length-1].printLine>this.lastPaperFooter&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget())),this.panelPaperRule&&(this.panelPaperRule=="odd"&&O.length%2==0&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget())),this.panelPaperRule=="even"&&O.length%2==1&&(K=it.createNewPage(O.length,K.referenceElement),O.push(K),G.append(K.getTarget()))),O.forEach(function(tt){tt.updatePaperNumber(tt.index+1,O.length,i.paperNumberToggleInEven),k.fillPaperHeaderAndFooter(tt,t,O.length),i&&(i.leftOffset!=null&&tt.setLeftOffset(i.leftOffset),i.topOffset!=null&&tt.setTopOffset(i.topOffset))}),G.prepend(this.getPrintStyle())),G},y.prototype.resize=function(t,i,p,f){this.width=i,this.height=p,this.paperType=t,this.rotate=f,this.designPaper.resize(i,p)},y.prototype.rotatePaper=function(){this.rotate==null&&(this.rotate=!1),this.rotate=!this.rotate,this.resize(this.paperType,this.height,this.width,this.rotate)},y.prototype.zoom=function(t,i){i?this.scale=t:this.scale=void 0,this.designPaper.zoom(t)},y.prototype.getTarget=function(){return this.target},y.prototype.enable=function(){this.target.removeClass("hipanel-disable")},y.prototype.disable=function(){this.target.addClass("hipanel-disable")},y.prototype.getPanelEntity=function(t){var i=[];return this.printElements.forEach(function(p){i.push(p.getPrintElementEntity(t))}),new st({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,paperNumberFormat:this.paperNumberFormat?this.paperNumberFormat:void 0,panelPaperRule:this.panelPaperRule?this.panelPaperRule:void 0,panelPageRule:this.panelPageRule?this.panelPageRule:void 0,paperNumberLeft:this.paperNumberLeft,paperNumberTop:this.paperNumberTop,printElements:i,rotate:this.rotate,firstPaperFooter:this.firstPaperFooter,evenPaperFooter:this.evenPaperFooter,oddPaperFooter:this.oddPaperFooter,lastPaperFooter:this.lastPaperFooter,topOffset:this.topOffset,fontFamily:this.fontFamily,orient:this.orient,scale:this.scale,watermarkOptions:this.watermarkOptions?this.watermarkOptions:void 0,leftOffset:this.leftOffset})},y.prototype.createTarget=function(){var t=x.default('<div class="hiprint-printPanel panel-index-'+this.index+'"></div>');return this.css(t),t},y.prototype.droppablePaper=function(t){var i=this;t.getTarget().hidroppable({accept:".ep-draggable-item",onDrop:function(f,U){var k=s.a.instance.getDragingPrintElement(),G=k.printElement,O=i.designPaper.scale||1,it=(k.left-E.a.px.toPt(i.target.children(".hiprint-printPaper").offset().left))/O,K=(k.top-E.a.px.toPt(i.target.children(".hiprint-printPaper").offset().top))/O;G.updateSizeAndPositionOptions(i.mathroundToporleft(it),i.mathroundToporleft(K)),G.setTemplateId(i.templateId),G.setPanel(i),i.appendDesignPrintElement(i.designPaper,G,!0),i.printElements.push(G),G.design(void 0,t),E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u65B0\u589E")}})},y.prototype.initPrintElements=function(t){var i=this;this.printElements=[],t&&t.forEach(function(p){var f;if(f=p.printElementType?et.createPrintElementType(p.printElementType):l.instance.getElementType(p.tid)){var U=f.createPrintElement(p.options);U.setTemplateId(i.templateId),U.setPanel(i),i.printElements.push(U)}else console.log("miss "+JSON.stringify(t))})},y.prototype.mathroundToporleft=function(t){var i=I.a.instance.movingDistance;return Math.round(t/i)*i},y.prototype.appendDesignPrintElement=function(t,i,p){i.setCurrenttemplateData(void 0);var f=i.getDesignTarget(t);f.addClass("design"),p&&i.initSizeByHtml(f),t.append(f)},y.prototype.createNewPage=function(t,i){var p=new m(this.templateId,this.index,this.watermarkOptions,this.panelPageRule,this.scale,this.width,this.height,this.paperHeader,this.paperFooter,this.paperNumberLeft,this.paperNumberTop,this.paperNumberDisabled,this.paperNumberFormat,t,i);return p.setFooter(this.firstPaperFooter,this.evenPaperFooter,this.oddPaperFooter,this.lastPaperFooter),p.setOffset(this.leftOffset,this.topOffset),p},y.prototype.orderPrintElements=function(){this.printElements=E.a.orderBy(this.printElements,function(t){return t.options.getLeft()}),this.printElements=E.a.orderBy(this.printElements,function(t){return t.options.getTop()})},y.prototype.fillPaperHeaderAndFooter=function(t,i,p){this.printElements.filter(function(f){return f.isFixed()||f.isHeaderOrFooter()}).forEach(function(f){if(f.isFixed(),f.showInPage(t.index,p)){var U=f.getHtml(t,i);U.length&&t.append(U[0].target)}})},y.prototype.clear=function(){this.printElements.forEach(function(t){t.designTarget&&t.designTarget.length&&t.designTarget.remove()}),this.printElements=[],E.a.event.trigger("hiprintTemplateDataChanged_"+this.templateId,"\u6E05\u7A7A")},y.prototype.insertPrintElementToPanel=function(t){var i=this.getPrintElementTypeByEntity(t);if(i){var p=i.createPrintElement(t.options);p.setTemplateId(this.templateId),p.setPanel(this),this.printElements.push(p)}},y.prototype.addPrintText=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="text",this.insertPrintElementToPanel(t)},y.prototype.addPrintHtml=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="html",this.insertPrintElementToPanel(t)},y.prototype.addPrintTable=function(t){if(t.printElementType=t.printElementType||{},t.printElementType.type="table",t.options&&t.options.columns){var i=x.default.extend({},t.options.columns);t.printElementType.columns=i.columns,i.columns=void 0}this.insertPrintElementToPanel(t)},y.prototype.addPrintImage=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="image",this.insertPrintElementToPanel(t)},y.prototype.addPrintLongText=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="longText",this.insertPrintElementToPanel(t)},y.prototype.addPrintVline=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="vline",this.insertPrintElementToPanel(t)},y.prototype.addPrintHline=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="hline",this.insertPrintElementToPanel(t)},y.prototype.addPrintRect=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="rect",this.insertPrintElementToPanel(t)},y.prototype.addPrintOval=function(t){t.printElementType=t.printElementType||{},t.printElementType.type="oval",this.insertPrintElementToPanel(t)},y.prototype.getPrintElementTypeByEntity=function(t){var i;return(i=t.tid?l.instance.getElementType(t.tid):et.createPrintElementType(t.printElementType))||console.log("miss "+JSON.stringify(t)),i},y.prototype.getPrintStyle=function(){return` <style printStyle>
|
|
1522
1522
|
@page
|
|
1523
1523
|
{
|
|
1524
1524
|
border:0;
|
|
@@ -1527,15 +1527,15 @@
|
|
|
1527
1527
|
`+this.getPrintSizeStyle()+`
|
|
1528
1528
|
}
|
|
1529
1529
|
</style>
|
|
1530
|
-
`},y.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},y.prototype.deletePrintElement=function(e){var i=this;this.printElements.filter(function(p,f){p.id==e.id&&(e.delete(),i.printElements.splice(f,1),E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u5220\u9664"))})},y.prototype.getElementByTid=function(e){return this.printElements.filter(function(i){return i.printElementType.tid===e}).map(function(i,p){return i})},y.prototype.getElementByName=function(e){return this.printElements.filter(function(i){return i.options.name===e}).map(function(i,p){return i})},y.prototype.getElementById=function(e){return this.printElements.find(function(i){return i.id===e})},y.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},y.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},y.prototype.bindBatchMoveElement=function(){var e=this;this.designPaper.getTarget().on("mousemove",function(i){i.target.className&&jt(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,s.a.instance.draging||i.buttons===1&&s.a.instance.rectDraging&&e.mouseRect&&(e.mouseRect.updateRect(i.pageX,i.pageY),e.updateRectPanel(e.mouseRect)))}).on("mousedown",function(i){s.a.instance.rectDraging=!0,!(i.target.className&&jt(i.target.className)=="string"&&i.target.className.includes("editing"))&&(s.a.instance.draging||(e.mouseRect&&e.mouseRect.target&&e.mouseRect.target.remove(),i.buttons===1&&s.a.instance.rectDraging&&(jt(i.target.className)=="string"&&i.target.className.includes("hiprint-printPaper hidroppable design")||i.target.className.includes("hiprint-printPaper-content"))&&(e.mouseRect=new ht(i.pageX,i.pageY,s.a.instance.dragLengthCNum(i.pageX-e.designPaper.getTarget().offset().left,c.a.instance.movingDistance),s.a.instance.dragLengthCNum(i.pageY-e.designPaper.getTarget().offset().top,c.a.instance.movingDistance)))))}).on("mouseup",function(i){s.a.instance.rectDraging&&e.mouseRect&&x.default(".mouseRect").length&&(x.default(".mouseRect").height()>10||x.default(".mouseRect").width()>10)&&setTimeout(function(){E.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300),s.a.instance.rectDraging=!1}).on("click",function(i){setTimeout(function(){E.a.event.trigger("hiprintTemplateMouseUp_"+e.templateId)},300)})},y.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},y.prototype.updateRectPanel=function(e){var i=this,p=this.designPaper.getTarget(),f=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=x.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(O,it,K){i.mouseRect.lastLeft=i.mouseRect.lastLeft?E.a.px.toPt(i.mouseRect.target[0].offsetLeft):it/f,i.mouseRect.lastTop=i.mouseRect.lastTop?E.a.px.toPt(i.mouseRect.target[0].offsetTop):K/f,(i.mouseRect.mouseRectSelectedElement||[]).forEach(function(tt){tt.updatePositionByMultipleSelect(it-i.mouseRect.lastLeft,K-i.mouseRect.lastTop)}),i.mouseRect.lastLeft=it/f,i.mouseRect.lastTop=K/f,s.a.instance.changed=!0},moveUnit:"pt",minMove:c.a.instance.movingDistance,onBeforeDrag:function(O){i.mouseRect.target.focus(),s.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(O){s.a.instance.changed&&E.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,"\u6846\u9009\u79FB\u52A8"),s.a.instance.draging=!1,s.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/f+"pt",top:e.lastTop/f+"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/f+"pt",top:e.lastTop/f+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var U="",k="rotate(180deg)";e.startX==e.minX||e.startX==e.maxX?e.ey>=e.by?(k="scaleX(-1)",U="left"):U="center top":(e.startY==e.minY||e.startY==e.maxY)&&(U=e.ex>=e.bx?"right":"left"),this.mouseRect.target.css({height:e.maxY-e.minY+"px",width:e.maxX-e.minX+"px",left:e.lastLeft/f+"pt",top:e.lastTop/f+"pt",transform:k,"transform-origin":U})}e.target.focus()},y.prototype.getContextMenuList=function(){var e=this,i=s.a.instance.getPrintTemplateById(this.templateId);return{panel:e,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){e.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){e.copyJson(),e.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){e.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){e.deletePrintElement(g)}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return e.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){i.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u9996\u9009\u5143\u7D20\u7684\u5BBD",enabled:function(){return e.getSelectEls().length>1},disable:!1,callback:function(){var f=e.getSelectEls(),U=f[0].options.width;f.forEach(k=>{k.updateOption("widthHeight",{width:U},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u9996\u9009\u5143\u7D20\u7684\u9AD8",enabled:function(){return e.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var f=e.getSelectEls(),U=f[0].options.height;f.forEach(k=>{k.updateOption("widthHeight",{height:U},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return e.getSelectEls().length<=1},disable:!1,callback:function(){g.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return e.getSelectEls().length<=1},disable:!1,callback:function(){let f=(g.options.zIndex||1)+1;g.updateOption("zIndex",f)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return e.getSelectEls().length<=1},disable:!1,callback:function(){let f=(g.options.zIndex||1)-1;g.updateOption("zIndex",f)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return e.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){g.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return e.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){g.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){g.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){g.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){g.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){g.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){g.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){g.updateOption("textContentVerticalAlign","bottom")}}]}]}},y.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 f=i.mouseRect.mouseRectSelectedElement||[];switch(p.keyCode){case 8:case 46:f.forEach(function(U){i.deletePrintElement(U)}),E.a.event.trigger("clearSettingContainer");break;case 37:i.mouseRect.updatePositionByMultipleSelect(0-c.a.instance.movingDistance,0),f.forEach(function(U){U.updatePositionByMultipleSelect(0-c.a.instance.movingDistance,0)}),p.preventDefault();break;case 38:i.mouseRect.updatePositionByMultipleSelect(0,0-c.a.instance.movingDistance),f.forEach(function(U){U.updatePositionByMultipleSelect(0,0-c.a.instance.movingDistance)}),p.preventDefault();break;case 39:i.mouseRect.updatePositionByMultipleSelect(c.a.instance.movingDistance,0),f.forEach(function(U){U.updatePositionByMultipleSelect(c.a.instance.movingDistance,0)}),p.preventDefault();break;case 40:i.mouseRect.updatePositionByMultipleSelect(0,c.a.instance.movingDistance),f.forEach(function(U){U.updatePositionByMultipleSelect(0,c.a.instance.movingDistance)}),p.preventDefault()}[37,38,39,40].includes(p.keyCode)&&E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u6846\u9009\u79FB\u52A8")})},y}(),ut=function(){return function(y){if(y)if(y.panels){this.panels=[];for(var e=0;e<y.panels.length;e++)this.panels.push(new st(y.panels[e]))}else this.panels=[]}}(),bt=g(9),dt=function(){function y(e,i){var p=this;this.printElementOptionSettingPanel={},this.printTemplate=e,this.settingContainer=x.default(i),E.a.event.on(e.getPrintElementSelectEventKey(),function(f){p.buildSetting(f)}),E.a.event.on(e.getBuildCustomOptionSettingEventKey(),function(f){p.buildSettingByCustomOptions(f)}),E.a.event.on("clearSettingContainer",function(){p.clearSettingContainer()})}return y.prototype.init=function(){},y.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},y.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(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},y.prototype.buildSetting=function(e){var i=this,p=this,f=e.printElement,U=e.customOptionsInput,k=f.getPrintElementOptionTabs();i.clearSettingContainer();var G;k.length?(G=x.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),k.forEach(function(tt){var rt=x.default('<li class="prop-tab-item"><span class="tab-title">'+tt.name+"</span></li>");G.find(".prop-tab-items").append(rt);var X=x.default('<div class="hiprint-option-items" data-title="'+tt.name+'"></div>');tt.list.forEach(function(nt){nt.submit=function(It){f.submitOption()};var gt=nt.createTarget(f,f.options,f.printElementType);i.printElementOptionSettingPanel[nt.name]=gt,X.append(gt),["columns","dataType"].includes(nt.name)?nt.setValue(f.options[nt.name],f.options,f.printElementType):["coordinate","widthHeight"].includes(nt.name)?nt.setValue(f.options,f):nt.setValue(f.options[nt.name]||f.printElementType[nt.name]),gt.find("textarea").bind("click.textarea",function(It){i.printTemplate&&i.printTemplate.onFunctionClick&&i.printTemplate.onFunctionClick(nt,i.lastPrintElement,It)})}),tt.list.length==0&&U&&U.length&&U.forEach(function(nt){var gt=nt.callback;nt.callback=function(ft){gt&>(ft)};var It=nt.optionItems;nt.title&&X.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1530
|
+
`},y.prototype.getPrintSizeStyle=function(){return this.paperType?"size:"+this.paperType+" "+(this.height>this.width?"portrait":"landscape")+";":"size: "+this.width+"mm "+this.height+"mm "+(this.orient?this.orient==1?"portrait":"landscape":"")+";"},y.prototype.deletePrintElement=function(t){var i=this;this.printElements.filter(function(p,f){p.id==t.id&&(t.delete(),i.printElements.splice(f,1),E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u5220\u9664"))})},y.prototype.getElementByTid=function(t){return this.printElements.filter(function(i){return i.printElementType.tid===t}).map(function(i,p){return i})},y.prototype.getElementByName=function(t){return this.printElements.filter(function(i){return i.options.name===t}).map(function(i,p){return i})},y.prototype.getElementById=function(t){return this.printElements.find(function(i){return i.id===t})},y.prototype.getFieldsInPanel=function(){var t=[];return this.printElements.forEach(function(i){i.options&&i.options.field?t.push(i.options.field):i.printElementType.field&&t.push(i.printElementType.field)}),t},y.prototype.getTestData=function(){var t={};return this.printElements.forEach(function(i){i.printElementType.type!="table"&&(i.options&&i.options.field?t[i.options.field]=i.options.testData:i.printElementType.field&&(t[i.printElementType.field]=i.printElementType.data||i.options.testData))}),t},y.prototype.bindBatchMoveElement=function(){var t=this;this.designPaper.getTarget().on("mousemove",function(i){i.target.className&&jt(i.target.className)=="string"&&i.target.className.includes("editing")||(i.currentTarget.className==t.designPaper.target[0].className?(t.mouseOffsetX=i.offsetX,t.mouseOffsetY=i.offsetY):t.mouseOffsetX=t.mouseOffsetY=void 0,s.a.instance.draging||i.buttons===1&&s.a.instance.rectDraging&&t.mouseRect&&(t.mouseRect.updateRect(i.pageX,i.pageY),t.updateRectPanel(t.mouseRect)))}).on("mousedown",function(i){s.a.instance.rectDraging=!0,!(i.target.className&&jt(i.target.className)=="string"&&i.target.className.includes("editing"))&&(s.a.instance.draging||(t.mouseRect&&t.mouseRect.target&&t.mouseRect.target.remove(),i.buttons===1&&s.a.instance.rectDraging&&(jt(i.target.className)=="string"&&i.target.className.includes("hiprint-printPaper hidroppable design")||i.target.className.includes("hiprint-printPaper-content"))&&(t.mouseRect=new ht(i.pageX,i.pageY,s.a.instance.dragLengthCNum(i.pageX-t.designPaper.getTarget().offset().left,I.a.instance.movingDistance),s.a.instance.dragLengthCNum(i.pageY-t.designPaper.getTarget().offset().top,I.a.instance.movingDistance)))))}).on("mouseup",function(i){s.a.instance.rectDraging&&t.mouseRect&&x.default(".mouseRect").length&&(x.default(".mouseRect").height()>10||x.default(".mouseRect").width()>10)&&setTimeout(function(){E.a.event.trigger("hiprintTemplateMouseUp_"+t.templateId)},300),s.a.instance.rectDraging=!1}).on("click",function(i){setTimeout(function(){E.a.event.trigger("hiprintTemplateMouseUp_"+t.templateId)},300)})},y.prototype.getElementInRect=function(t){var i=[];return this.printElements.filter(function(p){return p.options.draggable!==!1}).forEach(function(p){p.inRect(t)&&i.push(p)}),i},y.prototype.updateRectPanel=function(t){var i=this,p=this.designPaper.getTarget(),f=this.designPaper.scale||1;if(this.mouseRect.target||(this.mouseRect.target=x.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(O,it,K){i.mouseRect.lastLeft=i.mouseRect.lastLeft?E.a.px.toPt(i.mouseRect.target[0].offsetLeft):it/f,i.mouseRect.lastTop=i.mouseRect.lastTop?E.a.px.toPt(i.mouseRect.target[0].offsetTop):K/f,(i.mouseRect.mouseRectSelectedElement||[]).forEach(function(tt){tt.updatePositionByMultipleSelect(it-i.mouseRect.lastLeft,K-i.mouseRect.lastTop)}),i.mouseRect.lastLeft=it/f,i.mouseRect.lastTop=K/f,s.a.instance.changed=!0},moveUnit:"pt",minMove:I.a.instance.movingDistance,onBeforeDrag:function(O){i.mouseRect.target.focus(),s.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(O){s.a.instance.changed&&E.a.event.trigger("hiprintTemplateDataChanged_"+p.templateId,"\u6846\u9009\u79FB\u52A8"),s.a.instance.draging=!1,s.a.instance.changed=!1}}),this.mouseRect.target.hicontextMenu(i.getContextMenuList())),t.ex>=t.bx&&t.ey>=t.by)this.mouseRect.target.css({height:t.maxY-t.minY+"px",width:t.maxX-t.minX+"px",left:t.lastLeft/f+"pt",top:t.lastTop/f+"pt",transform:"unset"});else if(t.ex<t.bx&&t.ey<t.by)this.mouseRect.target.css({height:t.maxY-t.minY+"px",width:t.maxX-t.minX+"px",left:t.lastLeft/f+"pt",top:t.lastTop/f+"pt",transform:"rotate(180deg)","transform-origin":"0 0"});else{var U="",k="rotate(180deg)";t.startX==t.minX||t.startX==t.maxX?t.ey>=t.by?(k="scaleX(-1)",U="left"):U="center top":(t.startY==t.minY||t.startY==t.maxY)&&(U=t.ex>=t.bx?"right":"left"),this.mouseRect.target.css({height:t.maxY-t.minY+"px",width:t.maxX-t.minX+"px",left:t.lastLeft/f+"pt",top:t.lastTop/f+"pt",transform:k,"transform-origin":U})}t.target.focus()},y.prototype.getContextMenuList=function(){var t=this,i=s.a.instance.getPrintTemplateById(this.templateId);return{panel:t,menus:[{text:"\u590D\u5236",icon:"sv-copy",desc:"Ctrl/\u2318+C",enabled:!0,disable:!1,callback:function(){t.copyJson()}},{text:"\u514B\u9686",icon:"sv-clone",desc:"Ctrl/\u2318+D",enabled:!0,disable:!1,callback:function(){t.copyJson(),t.pasteJson()}},{text:"\u526A\u5207",icon:"sv-cut",desc:"Ctrl/\u2318+X",enabled:!0,disable:!1,callback:function(){t.cutJson()}},{text:"\u5220\u9664",icon:"sv-delete",desc:"delete/\u232B",enabled:!0,borderBottom:!0,disable:!1,callback:function(){t.deletePrintElement(g)}},{text:"\u5DE6\u5BF9\u9F50",icon:"sv-left",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("left")}},{text:"\u6C34\u5E73\u5C45\u4E2D",icon:"sv-vertical",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("vertical")}},{text:"\u53F3\u5BF9\u9F50",icon:"sv-right",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("right")}},{text:"\u9876\u90E8\u5BF9\u9F50",icon:"sv-top",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("top")}},{text:"\u5782\u76F4\u5C45\u4E2D",icon:"sv-horizontal",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){i.setElsAlign("horizontal")}},{text:"\u5E95\u90E8\u5BF9\u9F50",icon:"sv-bottom",enabled:function(){return t.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){i.setElsAlign("bottom")}},{text:"\u7B49\u5BBD",icon:"sv-sync-width",desc:"\u53D6\u9996\u9009\u5143\u7D20\u7684\u5BBD",enabled:function(){return t.getSelectEls().length>1},disable:!1,callback:function(){var f=t.getSelectEls(),U=f[0].options.width;f.forEach(k=>{k.updateOption("widthHeight",{width:U},!1)})}},{text:"\u7B49\u9AD8",icon:"sv-sync-height",desc:"\u53D6\u9996\u9009\u5143\u7D20\u7684\u9AD8",enabled:function(){return t.getSelectEls().length>1},disable:!1,borderBottom:!0,callback:function(){var f=t.getSelectEls(),U=f[0].options.height;f.forEach(k=>{k.updateOption("widthHeight",{height:U},!1)})}},{text:"\u79FB\u81F3\u9876\u5C42",icon:"sv-zIndex-top",enabled:function(){return t.getSelectEls().length<=1},disable:!1,callback:function(){g.updateOption("zIndex",999)}},{text:"\u4E0A\u79FB\u4E00\u5C42",icon:"sv-zIndex-plus",enabled:function(){return t.getSelectEls().length<=1},disable:!1,callback:function(){let f=(g.options.zIndex||1)+1;g.updateOption("zIndex",f)}},{text:"\u4E0B\u79FB\u4E00\u5C42",icon:"sv-zIndex-minus",enabled:function(){return t.getSelectEls().length<=1},disable:!1,callback:function(){let f=(g.options.zIndex||1)-1;g.updateOption("zIndex",f)}},{text:"\u79FB\u81F3\u5E95\u5C42",icon:"sv-zIndex-bottom",enabled:function(){return t.getSelectEls().length<=1},borderBottom:!0,disable:!1,callback:function(){g.updateOption("zIndex",0)}},{text:"\u5BF9\u9F50",icon:"sv-more",borderBottom:!0,enabled:function(){return t.getSelectEls().length<=1},menus:[{text:"\u9ED8\u8BA4/\u5C45\u5DE6",callback:function(){g.updateOption("textAlign","")}},{text:"\u5C45\u4E2D",callback:function(){g.updateOption("textAlign","center")}},{text:"\u5C45\u53F3",callback:function(){g.updateOption("textAlign","right")}},{text:"\u4E24\u7AEF\u5BF9\u9F50",borderBottom:!0,callback:function(){g.updateOption("textAlign","justify")}},{text:"\u9ED8\u8BA4/\u9876\u90E8",callback:function(){g.updateOption("textContentVerticalAlign","")}},{text:"\u5782\u76F4\u5C45\u4E2D",callback:function(){g.updateOption("textContentVerticalAlign","middle")}},{text:"\u5E95\u90E8",callback:function(){g.updateOption("textContentVerticalAlign","bottom")}}]}]}},y.prototype.bingKeyboardMoveEvent=function(t){var i=this;t.attr("tabindex","1"),t.keydown(function(p){i.mouseRect.mouseRectSelectedElement||(i.mouseRect.mouseRectSelectedElement=i.getElementInRect(i.mouseRect));var f=i.mouseRect.mouseRectSelectedElement||[];switch(p.keyCode){case 8:case 46:f.forEach(function(U){i.deletePrintElement(U)}),E.a.event.trigger("clearSettingContainer");break;case 37:i.mouseRect.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0),f.forEach(function(U){U.updatePositionByMultipleSelect(0-I.a.instance.movingDistance,0)}),p.preventDefault();break;case 38:i.mouseRect.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance),f.forEach(function(U){U.updatePositionByMultipleSelect(0,0-I.a.instance.movingDistance)}),p.preventDefault();break;case 39:i.mouseRect.updatePositionByMultipleSelect(I.a.instance.movingDistance,0),f.forEach(function(U){U.updatePositionByMultipleSelect(I.a.instance.movingDistance,0)}),p.preventDefault();break;case 40:i.mouseRect.updatePositionByMultipleSelect(0,I.a.instance.movingDistance),f.forEach(function(U){U.updatePositionByMultipleSelect(0,I.a.instance.movingDistance)}),p.preventDefault()}[37,38,39,40].includes(p.keyCode)&&E.a.event.trigger("hiprintTemplateDataChanged_"+i.templateId,"\u6846\u9009\u79FB\u52A8")})},y}(),ut=function(){return function(y){if(y)if(y.panels){this.panels=[];for(var t=0;t<y.panels.length;t++)this.panels.push(new st(y.panels[t]))}else this.panels=[]}}(),bt=g(9),dt=function(){function y(t,i){var p=this;this.printElementOptionSettingPanel={},this.printTemplate=t,this.settingContainer=x.default(i),E.a.event.on(t.getPrintElementSelectEventKey(),function(f){p.buildSetting(f)}),E.a.event.on(t.getBuildCustomOptionSettingEventKey(),function(f){p.buildSettingByCustomOptions(f)}),E.a.event.on("clearSettingContainer",function(){p.clearSettingContainer()})}return y.prototype.init=function(){},y.prototype.clearSettingContainer=function(){this.clearLastPrintElement(),this.settingContainer.html("")},y.prototype.clearLastPrintElement=function(){this.lastPrintElement&&(this.lastPrintElement._editing&&this.lastPrintElement.updateByContent(!0),this.lastPrintElement._printElementOptionTabs&&this.lastPrintElement._printElementOptionTabs.forEach(function(t){t.list&&t.list.forEach(function(i){i.destroy()})}),this.lastPrintElement._printElementOptionItems&&this.lastPrintElement._printElementOptionItems.forEach(function(t){t.destroy()})),this.lastPrintElement=void 0},y.prototype.buildSetting=function(t){var i=this,p=this,f=t.printElement,U=t.customOptionsInput,k=f.getPrintElementOptionTabs();i.clearSettingContainer();var G;k.length?(G=x.default('<div class="prop-tabs"><ul class="prop-tab-items"></ul></div>'),k.forEach(function(tt){var rt=x.default('<li class="prop-tab-item"><span class="tab-title">'+tt.name+"</span></li>");G.find(".prop-tab-items").append(rt);var X=x.default('<div class="hiprint-option-items" data-title="'+tt.name+'"></div>');tt.list.forEach(function(nt){nt.submit=function(It){f.submitOption()};var gt=nt.createTarget(f,f.options,f.printElementType);i.printElementOptionSettingPanel[nt.name]=gt,X.append(gt),["columns","dataType"].includes(nt.name)?nt.setValue(f.options[nt.name],f.options,f.printElementType):["coordinate","widthHeight"].includes(nt.name)?nt.setValue(f.options,f):nt.setValue(f.options[nt.name]||f.printElementType[nt.name]),gt.find("textarea").bind("click.textarea",function(It){i.printTemplate&&i.printTemplate.onFunctionClick&&i.printTemplate.onFunctionClick(nt,i.lastPrintElement,It)})}),tt.list.length==0&&U&&U.length&&U.forEach(function(nt){var gt=nt.callback;nt.callback=function(ft){gt&>(ft)};var It=nt.optionItems;nt.title&&X.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1531
1531
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1532
1532
|
`+nt.title+`
|
|
1533
1533
|
</div>
|
|
1534
1534
|
</div>`),It.forEach(function(ft){ft.submit=function(Ct){nt.callback(p.getValueByOptionItems(It))};var wt=ft.createTarget(p.printTemplate,nt.options,void 0);X.append(wt),ft.setValue(nt.options[ft.name],nt.options,void 0),wt.find("textarea").bind("click.textarea",function(Ct){p.printTemplate&&p.printTemplate.onFunctionClick&&p.printTemplate.onFunctionClick(ft,p.lastPrintElement,Ct)})}),X.find(".auto-submit").change(function(){nt.callback(p.getValueByOptionItems(It))}),X.find(".auto-submit:input").bind("keydown.submitOption",function(ft){ft.keyCode===13&&nt.callback(p.getValueByOptionItems(It))})}),G.append(X)})):(G=x.default('<div class="hiprint-option-items"></div>'),f.getPrintElementOptionItems().forEach(function(tt){tt.submit=function(X){f.submitOption()};var rt=tt.createTarget(f,f.options,f.printElementType);i.printElementOptionSettingPanel[tt.name]=rt,G.append(rt),["columns","dataType"].includes(tt.name)?tt.setValue(f.options[tt.name],f.options,f.printElementType):["coordinate","widthHeight"].includes(tt.name)?tt.setValue(f.options,f):tt.setValue(f.options[tt.name]||f.printElementType[tt.name])}));var O=x.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1535
1535
|
type="button">\u786E\u5B9A</button>`),it=x.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|
1536
|
-
type="button">\u5220\u9664</button>`);if(G.append(O),f.options.draggable!=!1&&G.append(it),k.length){G.on("click",".prop-tab-item",function(){var tt=x.default(this),rt=tt.index();i.settingContainer.data("last-index",rt),tt.addClass("active"),tt.siblings().removeClass("active");var X=G.find(".hiprint-option-items:eq("+rt+")");X.addClass("active"),X.siblings().removeClass("active")});var K=+(i.settingContainer.data("last-index")||0);K>=k.length&&(K=0),G.find(".prop-tab-item:eq("+K+")").click()}O.bind("click.submitOption",function(){f.submitOption()}),it.bind("click.deleteBtn",function(){p.printTemplate.deletePrintElement(f),i.clearSettingContainer()}),G.find(".auto-submit").change(function(tt){f.submitOption()}),G.find(".auto-submit:input").bind("keydown.submitOption",function(tt){tt.keyCode==13&&f.submitOption()}),this.settingContainer.append(G),k.length<1&&U&&U.forEach(function(tt){var rt=tt.callback;tt.callback=function(X){rt&&(rt(X),f.submitOption())},i.buildSettingByCustomOptions(tt,i.settingContainer)}),this.lastPrintElement=f},y.prototype.buildSettingByCustomOptions=function(
|
|
1536
|
+
type="button">\u5220\u9664</button>`);if(G.append(O),f.options.draggable!=!1&&G.append(it),k.length){G.on("click",".prop-tab-item",function(){var tt=x.default(this),rt=tt.index();i.settingContainer.data("last-index",rt),tt.addClass("active"),tt.siblings().removeClass("active");var X=G.find(".hiprint-option-items:eq("+rt+")");X.addClass("active"),X.siblings().removeClass("active")});var K=+(i.settingContainer.data("last-index")||0);K>=k.length&&(K=0),G.find(".prop-tab-item:eq("+K+")").click()}O.bind("click.submitOption",function(){f.submitOption()}),it.bind("click.deleteBtn",function(){p.printTemplate.deletePrintElement(f),i.clearSettingContainer()}),G.find(".auto-submit").change(function(tt){f.submitOption()}),G.find(".auto-submit:input").bind("keydown.submitOption",function(tt){tt.keyCode==13&&f.submitOption()}),this.settingContainer.append(G),k.length<1&&U&&U.forEach(function(tt){var rt=tt.callback;tt.callback=function(X){rt&&(rt(X),f.submitOption())},i.buildSettingByCustomOptions(tt,i.settingContainer)}),this.lastPrintElement=f},y.prototype.buildSettingByCustomOptions=function(t,i){var p=this;this.clearLastPrintElement();var f=i||this.settingContainer;i||this.settingContainer.html("");var U=[],k=I.a.instance.panel.supportOptions.filter(function(it){return!it.hidden}).map(function(it){return it.name});t.optionItems?U=t.optionItems:Object.keys(t.options).filter(function(it){return k.includes(it)}).forEach(function(it){var K=bt.a.getItem(it);K&&U.push(K)});var G=x.default('<div class="hiprint-option-items"></div>');t.title&&G.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|
1537
1537
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|
1538
|
-
`+
|
|
1538
|
+
`+t.title+`
|
|
1539
1539
|
</div>
|
|
1540
|
-
</div>`),U.forEach(function(it){it.submit=function(K){
|
|
1541
|
-
type="button">\u786E\u5B9A</button>`);G.append(O),O.bind("click.submitOption",function(){e.callback(p.getValueByOptionItems(U))}),G.find(".auto-submit").change(function(it){e.callback(p.getValueByOptionItems(U))}),G.find(".auto-submit:input").bind("keydown.submitOption",function(it){it.keyCode==13&&e.callback(p.getValueByOptionItems(U))}),f.append(G)},y.prototype.getValueByOptionItems=function(e){var i={};return e.forEach(function(p){i[p.name]=p.getValue()}),i},y}(),lt=function(){function y(e,i){this.paginationContainer=e,this.jqPaginationContainer=x.default(this.paginationContainer),this.template=i}return y.prototype.buildPagination=function(e){var i=this.template.getPaneltotal(),p=this;this.jqPaginationContainer.html("");for(var f=x.default('<ul class="hiprint-pagination"></ul>'),U=function(){var it=k,K=p.template.printPanels[it].name||it+1,tt=x.default("<li><span>"+K+'</span><a href="javascript:void(0);">x</a></li>');tt.find("span").click(function(){p.template.selectPanel(it),tt.siblings().removeClass("selected"),x.default(this).parent("li").addClass("selected")}),tt.find("a").click(function(){p.template.deletePanel(it),p.buildPagination()}),f.append(tt)},k=0;k<i;k++)U();var G=x.default("<li><span>+</span></li>");f.append(G),this.jqPaginationContainer.append(f),G.click(function(){var O=function(K){p.template.addPrintPanel(K||void 0,!0),p.buildPagination(),x.default(".hiprint-pagination li").removeClass("selected"),x.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(p.template.onPanelAddClick){var it={index:p.template.printPanels.length,paperType:"A4"};p.template.onPanelAddClick(it,O)}else O()})},y.prototype.selectPanel=function(e){var i=e||this.template.editingPanel.index,p=x.default(".hiprint-pagination li:nth("+i+")");p.length&&(p.siblings().removeClass("selected"),p.addClass("selected"))},y}(),vt=function(){function y(e){var i=this;this.tempimageBase64={},this.id=s.a.instance.guid(),s.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:s.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=p.defaultPanelName,this.designOptions={};var f=new ut(p.template||[]);p.template&&f.panels.forEach(function(U){i.printPanels.push(new mt(U,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 dt(this,p.settingContainer),p.paginationContainer&&(this.printPaginationCreator=new lt(p.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return y.prototype.design=function(e,i){var p=this;if(i||(i={}),this.printPanels.length==0){var f=this.createDefaultPanel();this.printPanels.push(f)}if(!e)throw new Error("options.container can not be empty");p.designOptions=i,this.createContainer(e),this.printPanels.forEach(function(U,k){p.container.append(U.getTarget()),k>0&&U.disable(),U.design(i)}),this.selectPanel(0)},y.prototype.getSimpleHtml=function(e,i){var p=this;i||(i={});var f="height:"+p.editingPanel.height+"mm;",U="width:"+p.editingPanel.width+"mm;",k=x.default('<div class="hiprint-printTemplate" style="'+f+U+'"></div>');return e&&e.constructor===Array?e.forEach(function(G){G&&p.printPanels.forEach(function(O,it){k.append(O.getHtml(G,i))})}):this.printPanels.forEach(function(G,O){k.append(G.getHtml(e,i))}),i&&i.imgToBase64&&this.transformImg(k.find("img")),k},y.prototype.getHtml=function(e,i){return e||(e={}),this.getSimpleHtml(e,i)},y.prototype.getJointHtml=function(e,i,p){var f=x.default('<div class="hiprint-printTemplate"></div>'),U=[];return this.printPanels.forEach(function(k,G){f.append(k.getHtml(e,i,U,void 0,p))}),f},y.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=s.a.instance[e];if(!p)throw new Error("not found pagetype:"+(e||""));this.editingPanel.resize(e,p.width,p.height,!1)}},y.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},y.prototype.zoom=function(e,i){this.editingPanel.zoom(e,i)},y.prototype.addPrintPanel=function(e,i){var p=e?new mt(new st(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},y.prototype.selectPanel=function(e){var i=this;e>i.printPanels.length-1&&(e=i.printPanels.length-1),this.printPanels.forEach(function(p,f){e==f?(p.enable(),i.editingPanel=p,i.printPaginationCreator&&i.printPaginationCreator.selectPanel(e)):p.disable()})},y.prototype.deletePanel=function(e){this.printPanels[e].clear(),this.printPanels[e].getTarget().remove(),this.printPanels.splice(e,1)},y.prototype.getPaneltotal=function(){return this.printPanels.length},y.prototype.createDefaultPanel=function(){return new mt(new st({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},y.prototype.createContainer=function(e){e?(this.container=x.default(e),this.container.addClass("hiprint-printTemplate")):this.container=x.default('<div class="hiprint-printTemplate"></div>')},y.prototype.getJsonTid=function(){var e=[];return this.printPanels.forEach(function(i){i.getPanelEntity().printElements.length&&e.push(i.getPanelEntity())}),new ut({panels:e})},y.prototype.getJson=function(){var e=[];return this.printPanels.forEach(function(i){e.push(i.getPanelEntity(!0))}),new ut({panels:e})},y.prototype.undo=function(e){E.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},y.prototype.redo=function(e){E.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},y.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},y.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},y.prototype.clear=function(){this.printPanels.forEach(function(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()},y.prototype.getPaperType=function(e){return this.printPanels[0].paperType},y.prototype.getOrient=function(e){return e==null&&(e=0),this.printPanels[e].height>this.printPanels[e].width?1:2},y.prototype.getPrintStyle=function(e){return this.printPanels[e].getPrintStyle()},y.prototype.print=function(e,i,p){var f=this;e||(e={});var U=this.getHtml(e,i),k=c.a.instance.getHooks("beforePrint");k&&k.forEach(G=>{var{template:O,info:it,opts:K}=G.run({template:f,info:U,opts:p});f=O!=null?O:f,U=it!=null?it:it,p=K!=null?K:p}),U.hiwprint(p)},y.prototype.print2=function(e,i){if(e||(e={}),i||(i={}),this.clientIsOpened()){var p=this,f=0,U={},k=x.default('link[media=print][href*="print-lock.css"]'),G="";if(i.styleHandler&&(G+=i.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(O,it){var K=new XMLHttpRequest;K.open("GET",x.default(it).attr("href")),K.onreadystatechange=function(){if(K.readyState===4&&K.status===200&&(U[O+""]='<style rel="stylesheet" type="text/css">'+K.responseText+"</style>",++f==k.length)){for(var tt="",rt=0;rt<k.length;rt++)tt+=U[rt+""];G&&(tt=G+tt),p.sentToClient(tt,e,i)}},K.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.imageToBase64=function(e){var i=x.default(e).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var p=document.createElement("canvas"),f=new Image;f.src=e.attr("src"),p.width=f.width,p.height=f.height,p.getContext("2d").drawImage(f,0,0),i&&(this.tempimageBase64[i]=p.toDataURL("image/png"))}e.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(e)}catch(k){console.log(k)}}},y.prototype.xhrLoadImage=function(e){},y.prototype.sentToClient=function(e,i,p){i||(i={});var f=x.default.extend({},p||{});f.imgToBase64=!0;var U=e+this.getHtml(i,f)[0].outerHTML;f.id=s.a.instance.guid(),f.html=U,f.templateId=this.id;var k=this,G=c.a.instance.getHooks("beforePrint2");G&&G.forEach(O=>{var{template:it,info:K}=O.run({template:k,info:f});k=it!=null?it:k,f=K!=null?K:f}),hiwebSocket.send(f)},y.prototype.printByHtml=function(e){x.default(e).hiwprint()},y.prototype.printByHtml2=function(e,i){if(i||(i={}),this.clientIsOpened()){var p=this,f=0,U={},k=x.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(G,O){var it=new XMLHttpRequest;it.open("GET",x.default(O).attr("href")),it.onreadystatechange=function(){if(it.readyState===4&&it.status===200&&(U[G+""]='<style rel="stylesheet" type="text/css">'+it.responseText+"</style>",++f==k.length)){for(var K="",tt=0;tt<k.length;tt++)K+=U[tt+""];var rt=K+x.default(e)[0].outerHTML,X=x.default.extend({},i||{});X.id=s.a.instance.guid(),X.html=rt,X.templateId=p.id,hiwebSocket.send(X)}},it.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.deletePrintElement=function(e){this.printPanels.forEach(function(i){i.deletePrintElement(e)})},y.prototype.transformImg=function(e){var i=this;e.map(function(p,f){i.imageToBase64(x.default(f))})},y.prototype.toPdf=function(e,i,p){var f=this,U=x.default.Deferred(),k=!0;if(this.printPanels.length){var G=E.a.mm.toPt(this.printPanels[0].width),O=E.a.mm.toPt(this.printPanels[0].height),it=x.default.extend({scale:2,width:E.a.pt.toPx(G),x:0,y:0,useCORS:!0},p||{}),K=new He.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[G,O]}),tt=this.getHtml(e,p);p&&p.isDownload!=null&&(k=p.isDownload),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(tt),rt.html(tt[0]);var X=rt.find(".hiprint-printPanel .hiprint-printPaper").length;x.default(tt).css("position:fixed"),De.default(tt[0],it).then(function(nt){var gt=nt.getContext("2d");gt.mozImageSmoothingEnabled=!1,gt.webkitImageSmoothingEnabled=!1,gt.msImageSmoothingEnabled=!1,gt.imageSmoothingEnabled=!1;for(var It=nt.toDataURL("image/jpeg"),ft=0;ft<X;ft++)K.addImage(It,"JPEG",0,0-ft*O,G,X*O),ft<X-1&&K.addPage();if(k)f.removeTempContainer(),i.indexOf(".pdf")>-1?K.save(i):K.save(i+".pdf");else{f.removeTempContainer();var wt=K.output("blob");U.resolve(wt)}})}return U.promise()},y.prototype.createTempContainer=function(){this.removeTempContainer(),x.default("body").prepend(x.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},y.prototype.removeTempContainer=function(){x.default(".hiprint_temp_Container").remove()},y.prototype.getTempContainer=function(){return x.default(".hiprint_temp_Container")},y.prototype.svg2canvas=function(e){var i=this;e.find("svg").each(function(p,f){var U=f.parentNode,k=i.parentWidthHeight(U),G=document.createElement("canvas");G.width=k.width,G.height=k.height;var O=G.getContext("2d"),it=new XMLSerializer().serializeToString(f);Ae.default.fromString(O,it).render(),x.default(f).before(G),U.removeChild(f)})},y.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:E.a.pt.toPx(parseFloat(e.style.width)),height:E.a.pt.toPx(parseFloat(e.style.height))}},y.prototype.on=function(e,i){E.a.event.clear(e+"_"+this.id),E.a.event.on(e+"_"+this.id,i)},y.prototype.clientIsOpened=function(){return hiwebSocket.opened},y.prototype.getPrinterList=function(){var e=hiwebSocket.getPrinterList();return e||[]},y.prototype.getElementByTid=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByTid(e)},y.prototype.getElementByName=function(e,i){return i==null&&(i=0),this.printPanels[i].getElementByName(e)},y.prototype.getPanel=function(e){return e==null&&(e=0),this.printPanels[e]},y.prototype.loadAllImages=function(e,i,p){var f=this;p==null&&(p=0);for(var U=e[0].getElementsByTagName("img"),k=!0,G=0;G<U.length;G++){var O=U[G];O.src&&O.src!==window.location.href&&O.src.indexOf("base64")==-1&&(O&&O.naturalWidth!==void 0&&O.naturalWidth!==0&&O.complete||(k=!1))}p++,!k&&p<10?setTimeout(function(){f.loadAllImages(e,i,p)},500):i()},y.prototype.setFontList=function(e){this.fontList=e},y.prototype.getFontList=function(){return this.fontList},y.prototype.setFields=function(e){this.fields=e},y.prototype.getFields=function(){return this.fields},y.prototype.setOnImageChooseClick=function(e){this.onImageChooseClick=e},y.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},y.prototype.getFieldsInPanel=function(){var e=[];return this.printPanels.forEach(function(i){e=e.concat(i.getFieldsInPanel())}),e},y.prototype.getTestData=function(){var e={};return this.printPanels.forEach(function(i){e=Object.assign(e,i.getTestData())}),e},y.prototype.update=function(e,i){var p=this;try{if(e&&jt(e)=="object"&&e.panels.length>0){var f=p.printPanels.length-1;e.panels.forEach(function(U,k){if(k>f){p.printPanels.push(new mt(U,s.a.instance.guid()));var G=p.printPanels[k];p.container.append(G.getTarget()),k>0&&G.disable(),G.design(p.designOptions),p.printPaginationCreator&&p.printPaginationCreator.buildPagination()}var O=new st(U);p.editingPanel=p.printPanels[k],p.editingPanel.update(O)}),p.selectPanel(i||0)}}catch(U){console.log(U),p.onUpdateError&&p.onUpdateError(U)}},y.prototype.canPaste=function(){return this.editingPanel.canPaste()},y.prototype.copyJson=function(e){return this.editingPanel.copyJson(e)},y.prototype.cutJson=function(){return this.editingPanel.cutJson()},y.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},y.prototype.updateOption=function(e,i){var p=this.getSelectEls();p&&p.length&&(p.forEach(function(f){f.updateOption(e,i,!0)}),E.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},y.prototype.setElsAlign=function(e){var i=this.getSelectEls();if(i.length){var p=Math.min.apply(null,i.map(function(X){return X.options.left})),f=Math.max.apply(null,i.map(function(X){return X.options.left+X.options.width})),U=Math.min.apply(null,i.map(function(X){return X.options.top})),k=Math.max.apply(null,i.map(function(X){return X.options.top+X.options.height}));switch(e){case"left":i.forEach(function(X){X.updateSizeAndPositionOptions(p),X.designTarget.css("left",X.options.displayLeft())});break;case"vertical":var G=p+(f-p)/2;i.forEach(function(X){X.updateSizeAndPositionOptions(G-X.options.width/2),X.designTarget.css("left",X.options.displayLeft())});break;case"right":i.forEach(function(X){X.updateSizeAndPositionOptions(f-X.options.width),X.designTarget.css("left",X.options.displayLeft())});break;case"top":i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,U),X.designTarget.css("top",X.options.displayTop())});break;case"horizontal":var O=U+(k-U)/2;i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,O-X.options.height/2),X.designTarget.css("top",X.options.displayTop())});break;case"bottom":i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,k-X.options.height),X.designTarget.css("top",X.options.displayTop())});break;case"distributeHor":var it=[].reduce.call(i,function(X,nt){return X+nt.options.width},0),K=(f-p-it)/(i.length-1);i.sort(function(X,nt){return X.options.left-nt.options.left}),i.forEach(function(X,nt){[0,i.length-1].includes(nt)||(X.updateSizeAndPositionOptions(i[nt-1].options.left+i[nt-1].options.width+K),X.designTarget.css("left",X.options.displayLeft()))});break;case"distributeVer":var tt=[].reduce.call(i,function(X,nt){return X+nt.options.height},0),rt=(k-U-tt)/(i.length-1);i.sort(function(X,nt){return X.options.top-nt.options.top}),i.forEach(function(X,nt){[0,i.length-1].includes(nt)||(X.updateSizeAndPositionOptions(void 0,i[nt-1].options.top+i[nt-1].options.height+rt),X.designTarget.css("top",X.options.displayTop()))});break}}},y.prototype.setElsSpace=function(e,i){var p=this.getSelectEls();p.length&&(i?(p.sort(function(f,U){return f.options.left-U.options.left}),p.forEach(function(f,U){U>0&&(f.updateSizeAndPositionOptions(p[U-1].options.left+p[U-1].options.width+e),f.designTarget.css("left",f.options.displayLeft()))})):(p.sort(function(f,U){return f.options.top-U.options.top}),p.forEach(function(f,U){U>0&&(f.updateSizeAndPositionOptions(void 0,p[U-1].options.top+p[U-1].options.height+e),f.designTarget.css("top",f.options.displayTop()))})))},y.prototype.initAutoSave=function(){var e=this;E.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}}),E.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:s.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)}})},y}();function yt(y){this.getHtml(y).hiwprint()}function Mt(y,e,i){x.default.extend({},y||{}).imgToBase64=!0;var p=new vt({});p.on("printSuccess",e),p.on("printError",i),p.printByHtml2(this.getHtml(y),y.options)}function Bt(y){var e=void 0;return y&&y.templates.forEach(function(i,p){var f=x.default.extend({},i.options||{});y.imgToBase64&&(f.imgToBase64=!0),e?e.append(i.template.getHtml(i.data,f).html()):e=i.template.getHtml(i.data,f)}),e}function Ut(y){c.a.instance.init(y),c.a.instance.providers&&c.a.instance.providers.forEach(function(e){e.addElementTypes(l.instance)})}function Zt(y){c.a.instance.register(y)}function Lt(y){y?y&&Object.keys(y).forEach(function(e){if(e=="optionItems"&&y.optionItems&&y.optionItems.length&&c.a.instance.registerItems(y.optionItems),y[e].tabs&&y[e].tabs.length&&(y[e].tabs.forEach(function(f,U){if(f.replace)x.default.extend(c.a.instance[e].tabs[U],f);else{var k=f.options,G=c.a.instance[e].tabs[U].options;k.forEach(function(O){var it=G.findIndex(function(K){return K.name==O.name});it>-1?G[it].hidden=O.hidden:O.after?(it=G.findIndex(function(K){return K.name==O.after}),it>-1&&G.splice(it+1,0,O)):G.push(O)}),x.default.extend(c.a.instance[e].tabs[U],{name:f.name,options:G})}}),delete y[e].tabs),y[e].supportOptions){var i=y[e].supportOptions,p=c.a.instance[e].supportOptions;i.forEach(function(f){var U=p.findIndex(function(k){return k.name==f.name});U>-1?p[U].hidden=f.hidden:f.after?(U=p.findIndex(function(k){return k.name==f.after}),U>-1&&p.splice(U+1,0,f)):p.push(f)}),x.default.extend(c.a.instance[e].supportOptions,p),delete y[e].supportOptions}x.default.extend(c.a.instance[e],y[e])}):x.default.extend(c.a.instance,HIPRINT_CONFIG)}function zt(y,e){return l.instance.updateElementType(y,e)}function Wt(y){c.a.instance.clear("printerList"),c.a.instance.on("printerList",y),hiwebSocket.refreshPrinterList()}function Gt(y,e,...i){c.a.instance.clear("address_"+y),c.a.instance.on("address_"+y,e),hiwebSocket.getAddress(y,...i)}function kt(y,e,i){c.a.instance.clear("ippPrinterCallback"),c.a.instance.on("ippPrinterCallback",e),c.a.instance.clear("ippPrinterConnected"),c.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(y)}function Rt(y,e){c.a.instance.clear("ippRequestCallback"),c.a.instance.on("ippRequestCallback",e),hiwebSocket.ippRequest(y)}g.d(F,"register",function(){return Zt}),g.d(F,"init",function(){return Ut}),g.d(F,"setConfig",function(){return Lt}),g.d(F,"updateElementType",function(){return zt}),g.d(F,"hiwebSocket",function(){return hiwebSocket}),g.d(F,"refreshPrinterList",function(){return Wt}),g.d(F,"getAddress",function(){return Gt}),g.d(F,"ippPrint",function(){return kt}),g.d(F,"ippRequest",function(){return Rt}),g.d(F,"ElementTypes",function(){return l.instance}),g.d(F,"PrintElementTypeManager",function(){return ot}),g.d(F,"PrintElementTypeGroup",function(){return pt}),g.d(F,"PrintTemplate",function(){return vt}),g.d(F,"print",function(){return yt}),g.d(F,"print2",function(){return Mt}),g.d(F,"getHtml",function(){return Bt}),x.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var y=c.a.instance.getHooks("ready");y&&y.forEach(e=>{e.run({p:c,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let ke=Ge(At);(function($){$.fn.hiwprint=function(b){var l=document.getElementById("hiwprint_iframe");l&&l.parentNode.removeChild(l);var c=$.extend({},$.fn.hiwprint.defaults,b),s=this,w=$('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),C="";c.importCss&&(c.styleHandler&&(C+=c.styleHandler()),$("link[media=print]").length>0&&$("link[media=print]").each(function(){$(this).attr("href").indexOf("print-lock.css")>=0&&(C+='<link rel="stylesheet" type="text/css" media="print" href="'+$(this).attr("href")+'">',C+='<link rel="stylesheet" type="text/css" href="'+$(this).attr("href")+'">')})),w[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+C+"</head><body></body></html>",w[0].onload=function(){var N=w[0].contentWindow||w[0].contentDocument;N.document&&(N=N.document),w.attr("srcdoc")||N.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+C+"</head><body></body></html>"),c.printContainer?N.body.innerHTML=s[0].outerHTML:N.body.innerHTML=s.html(),E(N,function(){F(w[0],c)})},w.appendTo("body")},$.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function F(b,l){try{if(b.focus(),W()||g())try{b.contentWindow.document.execCommand("print",!1,null)}catch{b.contentWindow.print()}else b.contentWindow.print();l.callback&&l.callback()}catch(c){console.log(c)}}function g(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function W(){return!g()&&!!window.StyleMedia}function E(b,l,c){c===void 0&&(c=0);for(var s=b.getElementsByTagName("img"),w=!0,C=0;C<s.length;C++){var N=s[C];N.src&&N.src!==window.location.href&&N.src.indexOf("base64")==-1&&(!N||typeof N.naturalWidth>"u"||N.naturalWidth===0||!N.complete)&&(N.complete||(w=!1))}c++,!w&&c<10?setTimeout(function(){E(b,l,c)},500):l()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.7-beta3",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,panel:{supportOptions:[{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberFormat",hidden:!1},{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:"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:"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:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"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 Re=function($){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start($)},Je=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=At;exports.autoConnect=Re;exports.defaultElementTypeProvider=ke;exports.disAutoConnect=Je;exports.hiprint=At;
|
|
1540
|
+
</div>`),U.forEach(function(it){it.submit=function(K){t.callback(p.getValueByOptionItems(U))},G.append(it.createTarget(p.printTemplate,t.options,void 0)),it.setValue(t.options[it.name],t.options,void 0)});var O=x.default(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|
1541
|
+
type="button">\u786E\u5B9A</button>`);G.append(O),O.bind("click.submitOption",function(){t.callback(p.getValueByOptionItems(U))}),G.find(".auto-submit").change(function(it){t.callback(p.getValueByOptionItems(U))}),G.find(".auto-submit:input").bind("keydown.submitOption",function(it){it.keyCode==13&&t.callback(p.getValueByOptionItems(U))}),f.append(G)},y.prototype.getValueByOptionItems=function(t){var i={};return t.forEach(function(p){i[p.name]=p.getValue()}),i},y}(),lt=function(){function y(t,i){this.paginationContainer=t,this.jqPaginationContainer=x.default(this.paginationContainer),this.template=i}return y.prototype.buildPagination=function(t){var i=this.template.getPaneltotal(),p=this;this.jqPaginationContainer.html("");for(var f=x.default('<ul class="hiprint-pagination"></ul>'),U=function(){var it=k,K=p.template.printPanels[it].name||it+1,tt=x.default("<li><span>"+K+'</span><a href="javascript:void(0);">x</a></li>');tt.find("span").click(function(){p.template.selectPanel(it),tt.siblings().removeClass("selected"),x.default(this).parent("li").addClass("selected")}),tt.find("a").click(function(){p.template.deletePanel(it),p.buildPagination()}),f.append(tt)},k=0;k<i;k++)U();var G=x.default("<li><span>+</span></li>");f.append(G),this.jqPaginationContainer.append(f),G.click(function(){var O=function(K){p.template.addPrintPanel(K||void 0,!0),p.buildPagination(),x.default(".hiprint-pagination li").removeClass("selected"),x.default(".hiprint-pagination li:nth-last-child(2)").addClass("selected")};if(p.template.onPanelAddClick){var it={index:p.template.printPanels.length,paperType:"A4"};p.template.onPanelAddClick(it,O)}else O()})},y.prototype.selectPanel=function(t){var i=t||this.template.editingPanel.index,p=x.default(".hiprint-pagination li:nth("+i+")");p.length&&(p.siblings().removeClass("selected"),p.addClass("selected"))},y}(),vt=function(){function y(t){var i=this;this.tempimageBase64={},this.id=s.a.instance.guid(),s.a.instance.setPrintTemplateById(this.id,this);var p=t||{};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:s.a.instance.guid(),type:"\u521D\u59CB",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=p.defaultPanelName,this.designOptions={};var f=new ut(p.template||[]);p.template&&f.panels.forEach(function(U){i.printPanels.push(new mt(U,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 dt(this,p.settingContainer),p.paginationContainer&&(this.printPaginationCreator=new lt(p.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave()}return y.prototype.design=function(t,i){var p=this;if(i||(i={}),this.printPanels.length==0){var f=this.createDefaultPanel();this.printPanels.push(f)}if(!t)throw new Error("options.container can not be empty");p.designOptions=i,this.createContainer(t),this.printPanels.forEach(function(U,k){p.container.append(U.getTarget()),k>0&&U.disable(),U.design(i)}),this.selectPanel(0)},y.prototype.getSimpleHtml=function(t,i){var p=this;i||(i={});var f=x.default('<div class="hiprint-printTemplate"></div>');if(p.editingPanel){var U="height:"+(p.editingPanel.height-I.a.instance.paperHeightTrim)+"mm;",k="width:"+p.editingPanel.width+"mm;";f=x.default('<div class="hiprint-printTemplate" style="'+U+k+'"></div>')}return t&&t.constructor===Array?t.forEach(function(G){G&&p.printPanels.forEach(function(O,it){f.append(O.getHtml(G,i))})}):this.printPanels.forEach(function(G,O){f.append(G.getHtml(t,i))}),i&&i.imgToBase64&&this.transformImg(f.find("img")),f},y.prototype.getHtml=function(t,i){return t||(t={}),this.getSimpleHtml(t,i)},y.prototype.getJointHtml=function(t,i,p){var f=x.default('<div class="hiprint-printTemplate"></div>'),U=[];return this.printPanels.forEach(function(k,G){f.append(k.getHtml(t,i,U,void 0,p))}),f},y.prototype.setPaper=function(t,i){if(/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(t))this.editingPanel.resize(void 0,parseFloat(t),parseFloat(i),!1);else{var p=s.a.instance[t];if(!p)throw new Error("not found pagetype:"+(t||""));this.editingPanel.resize(t,p.width,p.height,!1)}},y.prototype.rotatePaper=function(){this.editingPanel.rotatePaper()},y.prototype.zoom=function(t,i){this.editingPanel.zoom(t,i)},y.prototype.addPrintPanel=function(t,i){var p=t?new mt(new st(t),this.id):this.createDefaultPanel();return t&&(t.index=this.printPanels.length),i&&(this.container.append(p.getTarget()),p.design(this.designOptions)),this.printPanels.push(p),i&&this.selectPanel(p.index),p},y.prototype.selectPanel=function(t){var i=this;t>i.printPanels.length-1&&(t=i.printPanels.length-1),this.printPanels.forEach(function(p,f){t==f?(p.enable(),i.editingPanel=p,i.printPaginationCreator&&i.printPaginationCreator.selectPanel(t)):p.disable()})},y.prototype.deletePanel=function(t){this.printPanels[t].clear(),this.printPanels[t].getTarget().remove(),this.printPanels.splice(t,1)},y.prototype.getPaneltotal=function(){return this.printPanels.length},y.prototype.createDefaultPanel=function(){return new mt(new st({index:this.printPanels.length,name:this.defaultPanelName,paperType:"A4"}),this.id)},y.prototype.createContainer=function(t){t?(this.container=x.default(t),this.container.addClass("hiprint-printTemplate")):this.container=x.default('<div class="hiprint-printTemplate"></div>')},y.prototype.getJsonTid=function(){var t=[];return this.printPanels.forEach(function(i){i.getPanelEntity().printElements.length&&t.push(i.getPanelEntity())}),new ut({panels:t})},y.prototype.getJson=function(){var t=[];return this.printPanels.forEach(function(i){t.push(i.getPanelEntity(!0))}),new ut({panels:t})},y.prototype.undo=function(t){E.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"undo")},y.prototype.redo=function(t){E.a.event.trigger("hiprintTemplateDataShortcutKey_"+this.id,"redo")},y.prototype.getPrintElementSelectEventKey=function(){return"PrintElementSelectEventKey_"+this.id},y.prototype.getBuildCustomOptionSettingEventKey=function(){return"BuildCustomOptionSettingEventKey_"+this.id},y.prototype.clear=function(){this.printPanels.forEach(function(t){if(t.clear(),t.index>0){var i=t.getTarget();i&&i.length&&i.remove()}}),this.printPanels=[this.printPanels[0]],this.printPaginationCreator&&this.printPaginationCreator.buildPagination()},y.prototype.getPaperType=function(t){return this.printPanels[0].paperType},y.prototype.getOrient=function(t){return t==null&&(t=0),this.printPanels[t].height>this.printPanels[t].width?1:2},y.prototype.getPrintStyle=function(t){return this.printPanels[t].getPrintStyle()},y.prototype.print=function(t,i,p){var f=this;t||(t={});var U=this.getHtml(t,i),k=I.a.instance.getHooks("beforePrint");k&&k.forEach(G=>{var{template:O,info:it,opts:K}=G.run({template:f,info:U,opts:p});f=O!=null?O:f,U=it!=null?it:it,p=K!=null?K:p}),U.hiwprint(p)},y.prototype.print2=function(t,i){if(t||(t={}),i||(i={}),this.clientIsOpened()){var p=this,f=0,U={},k=x.default('link[media=print][href*="print-lock.css"]'),G="";if(i.styleHandler&&(G+=i.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(O,it){var K=new XMLHttpRequest;K.open("GET",x.default(it).attr("href")),K.onreadystatechange=function(){if(K.readyState===4&&K.status===200&&(U[O+""]='<style rel="stylesheet" type="text/css">'+K.responseText+"</style>",++f==k.length)){for(var tt="",rt=0;rt<k.length;rt++)tt+=U[rt+""];G&&(tt=G+tt),p.sentToClient(tt,t,i)}},K.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.imageToBase64=function(t){var i=x.default(t).attr("src");if(i.indexOf("base64")==-1)try{if(!this.tempimageBase64[i]){var p=document.createElement("canvas"),f=new Image;f.src=t.attr("src"),p.width=f.width,p.height=f.height,p.getContext("2d").drawImage(f,0,0),i&&(this.tempimageBase64[i]=p.toDataURL("image/png"))}t.attr("src",this.tempimageBase64[i])}catch{try{this.xhrLoadImage(t)}catch(k){console.log(k)}}},y.prototype.xhrLoadImage=function(t){},y.prototype.sentToClient=function(t,i,p){i||(i={});var f=x.default.extend({},p||{});f.imgToBase64=!0;var U=t+this.getHtml(i,f)[0].outerHTML;f.id=s.a.instance.guid(),f.html=U,f.templateId=this.id;var k=this,G=I.a.instance.getHooks("beforePrint2");G&&G.forEach(O=>{var{template:it,info:K}=O.run({template:k,info:f});k=it!=null?it:k,f=K!=null?K:f}),hiwebSocket.send(f)},y.prototype.printByHtml=function(t){x.default(t).hiwprint()},y.prototype.printByHtml2=function(t,i){if(i||(i={}),this.clientIsOpened()){var p=this,f=0,U={},k=x.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(G,O){var it=new XMLHttpRequest;it.open("GET",x.default(O).attr("href")),it.onreadystatechange=function(){if(it.readyState===4&&it.status===200&&(U[G+""]='<style rel="stylesheet" type="text/css">'+it.responseText+"</style>",++f==k.length)){for(var K="",tt=0;tt<k.length;tt++)K+=U[tt+""];var rt=K+x.default(t)[0].outerHTML,X=x.default.extend({},i||{});X.id=s.a.instance.guid(),X.html=rt,X.templateId=p.id,hiwebSocket.send(X)}},it.send()})}else alert("\u8FDE\u63A5\u5BA2\u6237\u7AEF\u5931\u8D25")},y.prototype.deletePrintElement=function(t){this.printPanels.forEach(function(i){i.deletePrintElement(t)})},y.prototype.transformImg=function(t){var i=this;t.map(function(p,f){i.imageToBase64(x.default(f))})},y.prototype.toPdf=function(t,i,p){var f=this,U=x.default.Deferred(),k=!0;if(this.printPanels.length){var G=E.a.mm.toPt(this.printPanels[0].width),O=E.a.mm.toPt(this.printPanels[0].height),it=x.default.extend({scale:2,width:E.a.pt.toPx(G),x:0,y:0,useCORS:!0},p||{}),K=new He.jsPDF({orientation:this.getOrient(0)==1?"portrait":"landscape",unit:"pt",format:this.printPanels[0].paperType?this.printPanels[0].paperType.toLocaleLowerCase():[G,O]}),tt=this.getHtml(t,p);p&&p.isDownload!=null&&(k=p.isDownload),this.createTempContainer();var rt=this.getTempContainer();this.svg2canvas(tt),rt.html(tt[0]);var X=rt.find(".hiprint-printPanel .hiprint-printPaper").length;x.default(tt).css("position:fixed"),De.default(tt[0],it).then(function(nt){var gt=nt.getContext("2d");gt.mozImageSmoothingEnabled=!1,gt.webkitImageSmoothingEnabled=!1,gt.msImageSmoothingEnabled=!1,gt.imageSmoothingEnabled=!1;for(var It=nt.toDataURL("image/jpeg"),ft=0;ft<X;ft++)K.addImage(It,"JPEG",0,0-ft*O,G,X*O),ft<X-1&&K.addPage();if(k)f.removeTempContainer(),i.indexOf(".pdf")>-1?K.save(i):K.save(i+".pdf");else{f.removeTempContainer();var wt=K.output("blob");U.resolve(wt)}})}return U.promise()},y.prototype.createTempContainer=function(){this.removeTempContainer(),x.default("body").prepend(x.default('<div class="hiprint_temp_Container" style="overflow:hidden;height: 0px;box-sizing: border-box;"></div>'))},y.prototype.removeTempContainer=function(){x.default(".hiprint_temp_Container").remove()},y.prototype.getTempContainer=function(){return x.default(".hiprint_temp_Container")},y.prototype.svg2canvas=function(t){var i=this;t.find("svg").each(function(p,f){var U=f.parentNode,k=i.parentWidthHeight(U),G=document.createElement("canvas");G.width=k.width,G.height=k.height;var O=G.getContext("2d"),it=new XMLSerializer().serializeToString(f);Ae.default.fromString(O,it).render(),x.default(f).before(G),U.removeChild(f)})},y.prototype.parentWidthHeight=function(t){return t.style.width.endsWith("%")||t.style.height.endsWith("%")?t.className!="hiprint-printPaper-content"?this.parentWidthHeight(t.parentNode):{width:10,height:10}:{width:E.a.pt.toPx(parseFloat(t.style.width)),height:E.a.pt.toPx(parseFloat(t.style.height))}},y.prototype.on=function(t,i){E.a.event.clear(t+"_"+this.id),E.a.event.on(t+"_"+this.id,i)},y.prototype.clientIsOpened=function(){return hiwebSocket.opened},y.prototype.getPrinterList=function(){var t=hiwebSocket.getPrinterList();return t||[]},y.prototype.getElementByTid=function(t,i){return i==null&&(i=0),this.printPanels[i].getElementByTid(t)},y.prototype.getElementByName=function(t,i){return i==null&&(i=0),this.printPanels[i].getElementByName(t)},y.prototype.getPanel=function(t){return t==null&&(t=0),this.printPanels[t]},y.prototype.loadAllImages=function(t,i,p){var f=this;p==null&&(p=0);for(var U=t[0].getElementsByTagName("img"),k=!0,G=0;G<U.length;G++){var O=U[G];O.src&&O.src!==window.location.href&&O.src.indexOf("base64")==-1&&(O&&O.naturalWidth!==void 0&&O.naturalWidth!==0&&O.complete||(k=!1))}p++,!k&&p<10?setTimeout(function(){f.loadAllImages(t,i,p)},500):i()},y.prototype.setFontList=function(t){this.fontList=t},y.prototype.getFontList=function(){return this.fontList},y.prototype.setFields=function(t){this.fields=t},y.prototype.getFields=function(){return this.fields},y.prototype.setOnImageChooseClick=function(t){this.onImageChooseClick=t},y.prototype.getOnImageChooseClick=function(){return this.onImageChooseClick},y.prototype.getFieldsInPanel=function(){var t=[];return this.printPanels.forEach(function(i){t=t.concat(i.getFieldsInPanel())}),t},y.prototype.getTestData=function(){var t={};return this.printPanels.forEach(function(i){t=Object.assign(t,i.getTestData())}),t},y.prototype.update=function(t,i){var p=this;try{if(t&&jt(t)=="object"&&t.panels.length>0){var f=p.printPanels.length-1;t.panels.forEach(function(U,k){if(k>f){p.printPanels.push(new mt(U,s.a.instance.guid()));var G=p.printPanels[k];p.container.append(G.getTarget()),k>0&&G.disable(),G.design(p.designOptions),p.printPaginationCreator&&p.printPaginationCreator.buildPagination()}var O=new st(U);p.editingPanel=p.printPanels[k],p.editingPanel.update(O)}),p.selectPanel(i||0)}}catch(U){console.log(U),p.onUpdateError&&p.onUpdateError(U)}},y.prototype.canPaste=function(){return this.editingPanel.canPaste()},y.prototype.copyJson=function(t){return this.editingPanel.copyJson(t)},y.prototype.cutJson=function(){return this.editingPanel.cutJson()},y.prototype.getSelectEls=function(){return this.editingPanel.getSelectEls()},y.prototype.updateOption=function(t,i){var p=this.getSelectEls();p&&p.length&&(p.forEach(function(f){f.updateOption(t,i,!0)}),E.a.event.trigger("hiprintTemplateDataChanged_"+this.id,"\u6279\u91CF\u4FEE\u6539"))},y.prototype.setElsAlign=function(t){var i=this.getSelectEls();if(i.length){var p=Math.min.apply(null,i.map(function(X){return X.options.left})),f=Math.max.apply(null,i.map(function(X){return X.options.left+X.options.width})),U=Math.min.apply(null,i.map(function(X){return X.options.top})),k=Math.max.apply(null,i.map(function(X){return X.options.top+X.options.height}));switch(t){case"left":i.forEach(function(X){X.updateSizeAndPositionOptions(p),X.designTarget.css("left",X.options.displayLeft())});break;case"vertical":var G=p+(f-p)/2;i.forEach(function(X){X.updateSizeAndPositionOptions(G-X.options.width/2),X.designTarget.css("left",X.options.displayLeft())});break;case"right":i.forEach(function(X){X.updateSizeAndPositionOptions(f-X.options.width),X.designTarget.css("left",X.options.displayLeft())});break;case"top":i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,U),X.designTarget.css("top",X.options.displayTop())});break;case"horizontal":var O=U+(k-U)/2;i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,O-X.options.height/2),X.designTarget.css("top",X.options.displayTop())});break;case"bottom":i.forEach(function(X){X.updateSizeAndPositionOptions(void 0,k-X.options.height),X.designTarget.css("top",X.options.displayTop())});break;case"distributeHor":var it=[].reduce.call(i,function(X,nt){return X+nt.options.width},0),K=(f-p-it)/(i.length-1);i.sort(function(X,nt){return X.options.left-nt.options.left}),i.forEach(function(X,nt){[0,i.length-1].includes(nt)||(X.updateSizeAndPositionOptions(i[nt-1].options.left+i[nt-1].options.width+K),X.designTarget.css("left",X.options.displayLeft()))});break;case"distributeVer":var tt=[].reduce.call(i,function(X,nt){return X+nt.options.height},0),rt=(k-U-tt)/(i.length-1);i.sort(function(X,nt){return X.options.top-nt.options.top}),i.forEach(function(X,nt){[0,i.length-1].includes(nt)||(X.updateSizeAndPositionOptions(void 0,i[nt-1].options.top+i[nt-1].options.height+rt),X.designTarget.css("top",X.options.displayTop()))});break}}},y.prototype.setElsSpace=function(t,i){var p=this.getSelectEls();p.length&&(i?(p.sort(function(f,U){return f.options.left-U.options.left}),p.forEach(function(f,U){U>0&&(f.updateSizeAndPositionOptions(p[U-1].options.left+p[U-1].options.width+t),f.designTarget.css("left",f.options.displayLeft()))})):(p.sort(function(f,U){return f.options.top-U.options.top}),p.forEach(function(f,U){U>0&&(f.updateSizeAndPositionOptions(void 0,p[U-1].options.top+p[U-1].options.height+t),f.designTarget.css("top",f.options.displayTop()))})))},y.prototype.initAutoSave=function(){var t=this;E.a.event.on("hiprintTemplateDataShortcutKey_"+this.id,function(i){if(!!t.history)switch(i){case"undo":if(t.historyPos>0){t.historyPos-=1;var p=t.historyList[t.historyPos];t.update(p.json)}break;case"redo":if(t.historyPos<t.historyList.length-1){t.historyPos+=1;var p=t.historyList[t.historyPos];t.update(p.json)}break}}),E.a.event.on("hiprintTemplateDataChanged_"+this.id,function(i){if(t.history){var p=t.dataMode==1?t.getJson():t.getJsonTid();t.lastJson=p,t.historyPos<t.historyList.length-1&&(t.historyList=t.historyList.slice(0,t.historyPos+1)),t.historyList.push({id:s.a.instance.guid(),type:i,json:p}),t.historyList.length>50?t.historyList=t.historyList.slice(0,1).concat(t.historyList.slice(1,50)):t.historyPos+=1,t.onDataChanged&&t.onDataChanged(i,p)}})},y}();function yt(y){this.getHtml(y).hiwprint()}function Mt(y,t,i){x.default.extend({},y||{}).imgToBase64=!0;var p=new vt({});p.on("printSuccess",t),p.on("printError",i),p.printByHtml2(this.getHtml(y),y.options)}function Bt(y){var t=void 0;return y&&y.templates.forEach(function(i,p){var f=x.default.extend({},i.options||{});y.imgToBase64&&(f.imgToBase64=!0),t?t.append(i.template.getHtml(i.data,f).html()):t=i.template.getHtml(i.data,f)}),t}function Ut(y){I.a.instance.init(y),I.a.instance.providers&&I.a.instance.providers.forEach(function(t){t.addElementTypes(l.instance)})}function Zt(y){I.a.instance.register(y)}function Lt(y){y?y&&Object.keys(y).forEach(function(t){if(t=="optionItems"&&y.optionItems&&y.optionItems.length&&I.a.instance.registerItems(y.optionItems),y[t].tabs&&y[t].tabs.length&&(y[t].tabs.forEach(function(f,U){if(f.replace)x.default.extend(I.a.instance[t].tabs[U],f);else{var k=f.options,G=I.a.instance[t].tabs[U].options;k.forEach(function(O){var it=G.findIndex(function(K){return K.name==O.name});it>-1?G[it].hidden=O.hidden:O.after?(it=G.findIndex(function(K){return K.name==O.after}),it>-1&&G.splice(it+1,0,O)):G.push(O)}),x.default.extend(I.a.instance[t].tabs[U],{name:f.name,options:G})}}),delete y[t].tabs),y[t].supportOptions){var i=y[t].supportOptions,p=I.a.instance[t].supportOptions;i.forEach(function(f){var U=p.findIndex(function(k){return k.name==f.name});U>-1?p[U].hidden=f.hidden:f.after?(U=p.findIndex(function(k){return k.name==f.after}),U>-1&&p.splice(U+1,0,f)):p.push(f)}),x.default.extend(I.a.instance[t].supportOptions,p),delete y[t].supportOptions}x.default.extend(I.a.instance[t],y[t])}):x.default.extend(I.a.instance,HIPRINT_CONFIG)}function zt(y,t){return l.instance.updateElementType(y,t)}function Wt(y){I.a.instance.clear("printerList"),I.a.instance.on("printerList",y),hiwebSocket.refreshPrinterList()}function Gt(y,t,...i){I.a.instance.clear("address_"+y),I.a.instance.on("address_"+y,t),hiwebSocket.getAddress(y,...i)}function kt(y,t,i){I.a.instance.clear("ippPrinterCallback"),I.a.instance.on("ippPrinterCallback",t),I.a.instance.clear("ippPrinterConnected"),I.a.instance.on("ippPrinterConnected",i),hiwebSocket.ippPrint(y)}function Rt(y,t){I.a.instance.clear("ippRequestCallback"),I.a.instance.on("ippRequestCallback",t),hiwebSocket.ippRequest(y)}g.d(F,"register",function(){return Zt}),g.d(F,"init",function(){return Ut}),g.d(F,"setConfig",function(){return Lt}),g.d(F,"updateElementType",function(){return zt}),g.d(F,"hiwebSocket",function(){return hiwebSocket}),g.d(F,"refreshPrinterList",function(){return Wt}),g.d(F,"getAddress",function(){return Gt}),g.d(F,"ippPrint",function(){return kt}),g.d(F,"ippRequest",function(){return Rt}),g.d(F,"ElementTypes",function(){return l.instance}),g.d(F,"PrintElementTypeManager",function(){return ot}),g.d(F,"PrintElementTypeGroup",function(){return pt}),g.d(F,"PrintTemplate",function(){return vt}),g.d(F,"print",function(){return yt}),g.d(F,"print2",function(){return Mt}),g.d(F,"getHtml",function(){return Bt}),x.default(document).ready(function(){console.log("document ready"),console.log(window.autoConnect);var y=I.a.instance.getHooks("ready");y&&y.forEach(t=>{t.run({p:I,window})}),hiwebSocket.hasIo()&&window.autoConnect&&hiwebSocket.start()})}]);let ke=Ge(At);(function($){$.fn.hiwprint=function(b){var l=document.getElementById("hiwprint_iframe");l&&l.parentNode.removeChild(l);var I=$.extend({},$.fn.hiwprint.defaults,b),s=this,w=$('<iframe id="hiwprint_iframe" style="visibility: hidden; height: 0; width: 0; position: absolute;"></iframe>'),C="";I.importCss&&(I.styleHandler&&(C+=I.styleHandler()),$("link[media=print]").length>0&&$("link[media=print]").each(function(){$(this).attr("href").indexOf("print-lock.css")>=0&&(C+='<link rel="stylesheet" type="text/css" media="print" href="'+$(this).attr("href")+'">',C+='<link rel="stylesheet" type="text/css" href="'+$(this).attr("href")+'">')})),w[0].srcdoc='<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+C+"</head><body></body></html>",w[0].onload=function(){var N=w[0].contentWindow||w[0].contentDocument;N.document&&(N=N.document),w.attr("srcdoc")||N.write('<!DOCTYPE html><html><head><title></title><meta charset="UTF-8">'+C+"</head><body></body></html>"),I.printContainer?N.body.innerHTML=s[0].outerHTML:N.body.innerHTML=s.html(),E(N,function(){F(w[0],I)})},w.appendTo("body")},$.fn.hiwprint.defaults={importCss:!0,printContainer:!0,callback:null,styleHandler:null};function F(b,l){try{if(b.focus(),W()||g())try{b.contentWindow.document.execCommand("print",!1,null)}catch{b.contentWindow.print()}else b.contentWindow.print();l.callback&&l.callback()}catch(I){console.log(I)}}function g(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode}function W(){return!g()&&!!window.StyleMedia}function E(b,l,I){I===void 0&&(I=0);for(var s=b.getElementsByTagName("img"),w=!0,C=0;C<s.length;C++){var N=s[C];N.src&&N.src!==window.location.href&&N.src.indexOf("base64")==-1&&(!N||typeof N.naturalWidth>"u"||N.naturalWidth===0||!N.complete)&&(N.complete||(w=!1))}I++,!w&&I<10?setTimeout(function(){E(b,l,I)},500):l()}})(jQuery);(function(){window.HIPRINT_CONFIG={version:"0.1.7-beta5",movingDistance:1.5,paperHeightTrim:1,showPosition:!0,positionLineMode:!1,positionUnit:!0,showSizeBox:!0,adsorbMin:3,showAdsorbLine:!0,adsorbLineMin:6,panel:{supportOptions:[{name:"panelPaperRule",hidden:!1},{name:"panelPageRule",hidden:!1},{name:"firstPaperFooter",hidden:!1},{name:"evenPaperFooter",hidden:!1},{name:"oddPaperFooter",hidden:!1},{name:"lastPaperFooter",hidden:!1},{name:"leftOffset",hidden:!1},{name:"topOffset",hidden:!1},{name:"fontFamily",hidden:!1},{name:"orient",hidden:!1},{name:"paperNumberDisabled",hidden:!1},{name:"paperNumberFormat",hidden:!1},{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:"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:"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:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"src",hidden:!1},{name:"fit",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{}},longText:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"hideTitle",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}]}],supportOptions:[{name:"title",hidden:!1},{name:"field",hidden:!1},{name:"testData",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"fontWeight",hidden:!1},{name:"letterSpacing",hidden:!1},{name:"textAlign",hidden:!1},{name:"lineHeight",hidden:!1},{name:"color",hidden:!1},{name:"hideTitle",hidden:!1},{name:"longTextIndent",hidden:!1},{name:"leftSpaceRemoved",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1},{name:"borderLeft",hidden:!1},{name:"borderTop",hidden:!1},{name:"borderRight",hidden:!1},{name:"borderBottom",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderColor",hidden:!1},{name:"contentPaddingLeft",hidden:!1},{name:"contentPaddingTop",hidden:!1},{name:"contentPaddingRight",hidden:!1},{name:"contentPaddingBottom",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"formatter",hidden:!1},{name:"styler",hidden:!1}],default:{height:42,width:550}},table:{showPoints:["s","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"lHeight",hidden:!1}]},{name:"\u5217",options:[]},{name:"\u9AD8\u7EA7",options:[{name:"axis",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"rowsColumnsMergeClean",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}]}],supportOptions:[{name:"field",hidden:!1},{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"fontFamily",hidden:!1},{name:"fontSize",hidden:!1},{name:"lineHeight",hidden:!1},{name:"textAlign",hidden:!1},{name:"gridColumns",hidden:!1},{name:"gridColumnsGutter",hidden:!1},{name:"tableHeaderRepeat",hidden:!1},{name:"tableBorder",hidden:!1},{name:"tableHeaderBorder",hidden:!1},{name:"tableHeaderCellBorder",hidden:!1},{name:"tableHeaderRowHeight",hidden:!1},{name:"tableHeaderBackground",hidden:!1},{name:"tableHeaderFontSize",hidden:!1},{name:"tableHeaderFontWeight",hidden:!1},{name:"tableBodyRowHeight",hidden:!1},{name:"tableBodyRowBorder",hidden:!1},{name:"tableBodyCellBorder",hidden:!1},{name:"tableFooterBorder",hidden:!1},{name:"tableFooterCellBorder",hidden:!1},{name:"axis",hidden:!1},{name:"lHeight",hidden:!1},{name:"autoCompletion",hidden:!1},{name:"maxRows",hidden:!1},{name:"columns",hidden:!1},{name:"styler",hidden:!1},{name:"rowStyler",hidden:!1},{name:"tableFooterRepeat",hidden:!1},{name:"footerFormatter",hidden:!1},{name:"rowsColumnsMerge",hidden:!1},{name:"groupFieldsFormatter",hidden:!1},{name:"groupFormatter",hidden:!1},{name:"groupFooterFormatter",hidden:!1},{name:"gridColumnsFooterFormatter",hidden:!1}],default:{width:550}},hline:{showPoints:["r","w","e"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:.75,height:9,width:90}},vline:{showPoints:["r","n","s"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:9}},rect:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},oval:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"borderWidth",hidden:!1},{name:"borderStyle",hidden:!1},{name:"borderColor",hidden:!1},{name:"backgroundColor",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"axis",hidden:!1},{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}],default:{borderWidth:void 0,height:90,width:90}},html:{showPoints:["r","s","e","n","w","ne","nw","se","sw"],tabs:[{name:"\u57FA\u7840",options:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1}]},{name:"\u6837\u5F0F",options:[{name:"transform",hidden:!1},{name:"zIndex",hidden:!1}]},{name:"\u9AD8\u7EA7",options:[{name:"pageBreak",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}]}],supportOptions:[{name:"coordinate",hidden:!1},{name:"widthHeight",hidden:!1},{name:"pageBreak",hidden:!1},{name:"showInPage",hidden:!1},{name:"unShowInPage",hidden:!1},{name:"fixed",hidden:!1},{name:"zIndex",hidden:!1},{name:"axis",hidden:!1},{name:"formatter",hidden:!1}],default:{height:90,width:90}},tableColumn:{supportOptions:[{name:"title",hidden:!1},{name:"align",hidden:!1},{name:"halign",hidden:!1},{name:"vAlign",hidden:!1},{name:"tableTextType",hidden:!1},{name:"tableBarcodeMode",hidden:!1},{name:"tableQRCodeLevel",hidden:!1},{name:"tableColumnHeight",hidden:!1},{name:"paddingLeft",hidden:!1},{name:"paddingRight",hidden:!1},{name:"tableSummaryTitle",hidden:!1},{name:"tableSummaryText",hidden:!1},{name:"tableSummary",hidden:!1},{name:"tableSummaryAlign",hidden:!1},{name:"tableSummaryNumFormat",hidden:!1},{name:"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 Re=function($){console.log("autoConnect"),globalThis.autoConnect=!0,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.start($)},Je=function(){console.log("disAutoConnect"),globalThis.autoConnect=!1,globalThis.hiwebSocket&&globalThis.hiwebSocket.hasIo()&&globalThis.hiwebSocket.stop()};globalThis.hiprint=At;exports.autoConnect=Re;exports.defaultElementTypeProvider=ke;exports.disAutoConnect=Je;exports.hiprint=At;
|