3336 lines
2.8 MiB
Java
3336 lines
2.8 MiB
Java
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index.es-Dv2Hmdq3.js","js/antd-vue-vendor-BPnV8VqP.js","js/vue-vendor-C7Zq48Yl.js","js/stackblur-es-AyqGX0Lm.js"])))=>i.map(i=>d[i]);
|
|||
|
|
import{g as getAugmentedNamespace,cj as _typeof$1,a as getDefaultExportFromCjs}from"./antd-vue-vendor-BPnV8VqP.js";import{r as requireJsBarcode}from"./JsBarcode-Cs4ZrpMU.js";import{_ as __vitePreload}from"./index-BI6CMai0.js";import{z as zlibSync,u as unzlibSync}from"./browser-B0xVgIeL.js";import{r as requireToStringTagSupport,a as requireClassof,b as requireDefineBuiltIn,c as require_export,d as requireAnObject,e as requireObjectGetOwnPropertyDescriptor,f as requireToPropertyKey$1,g as requireIsArray,h as requireIsConstructor,i as requireIsObject,j as requireWellKnownSymbol,k as requireDescriptors,l as requireObjectDefineProperty,m as requireCreatePropertyDescriptor,n as requireFunctionBindContext,o as requireIndexedObject,p as requireToObject,q as requireLengthOfArrayLike,s as requireFails,t as requireEnvironmentV8Version,u as requireGlobalThis,v as requireFunctionUncurryThis,w as requireToString,x as requireStringTrim,y as requireWhitespaces,z as requireToIndexedObject,A as requireArrayMethodIsStrict,B as requireFunctionName,C as requireDefineBuiltInAccessor,D as requireDomIterables,E as requireDomTokenListPrototype,F as requireCreateNonEnumerableProperty,G as requireIteratorClose,H as requireFunctionCall,I as requireIsArrayIteratorMethod,J as requireGetIterator,K as requireGetIteratorMethod,L as requireCheckCorrectnessOfIteration,M as requireArrayIncludes,N as requireAddToUnscopables,O as requireStringMultibyte,P as requireInternalState,Q as requireIteratorDefine,R as requireCreateIterResultObject,S as requireIsCallable,T as requireObjectSetPrototypeOf,U as requireIsPure,V as requirePath,W as requireIsForced,X as requireHasOwnProperty,Y as requireObjectIsPrototypeOf,Z as requireIsSymbol,_ as requireToPrimitive$1,$ as requireObjectGetOwnPropertyNames,a0 as requireToAbsoluteIndex,a1 as requireClassofRaw,a2 as requireArraySlice,a3 as requireHiddenKeys,a4 as requireUid,a5 as requireIterate,a6 as requireAnInstance,a7 as requireIsNullOrUndefined,a8 as requireSetToStringTag,a9 as requireObjectCreate,aa as requireSetSpecies,ab as requireFunctionApply,ac as requireACallable,ad as requireObjectGetPrototypeOf,ae as requireCorrectPrototypeGetter,af as stackblurEs,ag as requireEs_promise,ah as requireEs_regexp_exec,ai as requireEs_string_match,aj as requireEs_string_replace,ak as requireEs_string_startsWith,al as requireEs_array_reduce,am as requireEs_string_endsWith,an as requireEs_string_split,ao as requireRaf,ap as requireEs_string_trim,aq as requireRgbcolor,ar as requireEs_array_indexOf,as as requireEs_string_includes,at as requireEs_array_reverse,au as requireEs_regexp_toString,av as requireEs_array_iterator,aw as requireWeb_domCollections_iterator}from"./stackblur-es-AyqGX0Lm.js";function _mergeNamespaces(Pe,Ee){for(var Be=0;Be<Ee.length;Be++){const Me=Ee[Be];if(typeof Me!="string"&&!Array.isArray(Me)){for(const Te in Me)if(Te!=="default"&&!(Te in Pe)){const Se=Object.getOwnPropertyDescriptor(Me,Te);Se&&Object.defineProperty(Pe,Te,Se.get?Se:{enumerable:!0,get:()=>Me[Te]})}}}return Object.freeze(Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"}))}var vuePluginHiprint$3={exports:{}},jquery$1={exports:{}};/*!
|
|||
|
|
* jQuery JavaScript Library v3.7.1
|
|||
|
|
* https://jquery.com/
|
|||
|
|
*
|
|||
|
|
* Copyright OpenJS Foundation and other contributors
|
|||
|
|
* Released under the MIT license
|
|||
|
|
* https://jquery.org/license
|
|||
|
|
*
|
|||
|
|
* Date: 2023-08-28T13:37Z
|
|||
|
|
*/var jquery=jquery$1.exports,hasRequiredJquery;function requireJquery(){return hasRequiredJquery||(hasRequiredJquery=1,(function(Pe){(function(Ee,Be){"use strict";Pe.exports=Ee.document?Be(Ee,!0):function(Me){if(!Me.document)throw new Error("jQuery requires a window with a document");return Be(Me)}})(typeof window!="undefined"?window:jquery,function(Ee,Be){"use strict";var Me=[],Te=Object.getPrototypeOf,Se=Me.slice,je=Me.flat?function(ze){return Me.flat.call(ze)}:function(ze){return Me.concat.apply([],ze)},ke=Me.push,Ue=Me.indexOf,Fe={},Qe=Fe.toString,He=Fe.hasOwnProperty,Ie=He.toString,_e=Ie.call(Object),Ae={},Ye=function(nr){return typeof nr=="function"&&typeof nr.nodeType!="number"&&typeof nr.item!="function"},rr=function(nr){return nr!=null&&nr===nr.window},Je=Ee.document,sr={type:!0,src:!0,nonce:!0,noModule:!0};function wr(ze,nr,yr){yr=yr||Je;var Tr,qr,Vr=yr.createElement("script");if(Vr.text=ze,nr)for(Tr in sr)qr=nr[Tr]||nr.getAttribute&&nr.getAttribute(Tr),qr&&Vr.setAttribute(Tr,qr);yr.head.appendChild(Vr).parentNode.removeChild(Vr)}function Sr(ze){return ze==null?ze+"":typeof ze=="object"||typeof ze=="function"?Fe[Qe.call(ze)]||"object":typeof ze}var xr="3.7.1",mr=/HTML$/i,qe=function(ze,nr){return new qe.fn.init(ze,nr)};qe.fn=qe.prototype={jquery:xr,constructor:qe,length:0,toArray:function(){return Se.call(this)},get:function(ze){return ze==null?Se.call(this):ze<0?this[ze+this.length]:this[ze]},pushStack:function(ze){var nr=qe.merge(this.constructor(),ze);return nr.prevObject=this,nr},each:function(ze){return qe.each(this,ze)},map:function(ze){return this.pushStack(qe.map(this,function(nr,yr){return ze.call(nr,yr,nr)}))},slice:function(){return this.pushStack(Se.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(qe.grep(this,function(ze,nr){return(nr+1)%2}))},odd:function(){return this.pushStack(qe.grep(this,function(ze,nr){return nr%2}))},eq:function(ze){var nr=this.length,yr=+ze+(ze<0?nr:0);return this.pushStack(yr>=0&&yr<nr?[this[yr]]:[])},end:function(){return this.prevObject||this.constructor()},push:ke,sort:Me.sort,splice:Me.splice},qe.extend=qe.fn.extend=function(){var ze,nr,yr,Tr,qr,Vr,un=arguments[0]||{},Kn=1,zn=arguments.length,bi=!1;for(typeof un=="boolean"&&(bi=un,un=arguments[Kn]||{},Kn++),typeof un!="object"&&!Ye(un)&&(un={}),Kn===zn&&(un=this,Kn--);Kn<zn;Kn++)if((ze=arguments[Kn])!=null)for(nr in ze)Tr=ze[nr],!(nr==="__proto__"||un===Tr)&&(bi&&Tr&&(qe.isPlainObject(Tr)||(qr=Array.isArray(Tr)))?(yr=un[nr],qr&&!Array.isArray(yr)?Vr=[]:!qr&&!qe.isPlainObject(yr)?Vr={}:Vr=yr,qr=!1,un[nr]=qe.extend(bi,Vr,Tr)):Tr!==void 0&&(un[nr]=Tr));return un},qe.extend({expando:"jQuery"+(xr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(ze){throw new Error(ze)},noop:function(){},isPlainObject:function(ze){var nr,yr;return!ze||Qe.call(ze)!=="[object Object]"?!1:(nr=Te(ze),nr?(yr=He.call(nr,"constructor")&&nr.constructor,typeof yr=="function"&&Ie.call(yr)===_e):!0)},isEmptyObject:function(ze){var nr;for(nr in ze)return!1;return!0},globalEval:function(ze,nr,yr){wr(ze,{nonce:nr&&nr.nonce},yr)},each:function(ze,nr){var yr,Tr=0;if(lr(ze))for(yr=ze.length;Tr<yr&&nr.call(ze[Tr],Tr,ze[Tr])!==!1;Tr++);else for(Tr in ze)if(nr.call(ze[Tr],Tr,ze[Tr])===!1)break;return ze},text:function(ze){var nr,yr="",Tr=0,qr=ze.nodeType;if(!qr)for(;nr=ze[Tr++];)yr+=qe.text(nr);return qr===1||qr===11?ze.textContent:qr===9?ze.documentElement.textContent:qr===3||qr===4?ze.nodeValue:yr},makeArray:function(ze,nr){var yr=nr||[];return ze!=null&&(lr(Object(ze))?qe.merge(yr,typeof ze=="string"?[ze]:ze):ke.call(yr,ze)),yr},inArray:function(ze,nr,yr){return nr==null?-1:Ue.call(nr,ze,yr)},isXMLDoc:function(ze){var nr=ze&&ze.namespaceURI,yr=ze&&(ze.ownerDocument||ze).documentElement;return!mr.test(nr||yr&&yr.nodeName||"HTML")},merge:function(ze,nr){for(var yr=+nr.length,Tr=0,qr=ze.length;Tr<yr;Tr++)ze[qr++]=nr[Tr];return ze.length=qr,ze},grep:function(ze,nr,yr){for(var Tr,qr=[],Vr=0,un=ze.length,Kn=!yr;Vr<un;Vr++)Tr=!nr(ze[Vr],Vr),Tr!==Kn&&qr.push(ze[Vr]);ret
|
|||
|
|
`):ze)),nr};var uA=/^(?:focusinfocus|focusoutblur)$/,Kc=function(ze){ze.stopPropagation()};qe.extend(qe.event,{trigger:function(ze,nr,yr,Tr){var qr,Vr,un,Kn,zn,bi,Ki,oa,ti=[yr||Je],xi=He.call(ze,"type")?ze.type:ze,Jo=He.call(ze,"namespace")?ze.namespace.split("."):[];if(Vr=oa=un=yr=yr||Je,!(yr.nodeType===3||yr.nodeType===8)&&!uA.test(xi+qe.event.triggered)&&(xi.indexOf(".")>-1&&(Jo=xi.split("."),xi=Jo.shift(),Jo.sort()),zn=xi.indexOf(":")<0&&"on"+xi,ze=ze[qe.expando]?ze:new qe.Event(xi,typeof ze=="object"&&ze),ze.isTrigger=Tr?2:3,ze.namespace=Jo.join("."),ze.rnamespace=ze.namespace?new RegExp("(^|\\.)"+Jo.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,ze.result=void 0,ze.target||(ze.target=yr),nr=nr==null?[ze]:qe.makeArray(nr,[ze]),Ki=qe.event.special[xi]||{},!(!Tr&&Ki.trigger&&Ki.trigger.apply(yr,nr)===!1))){if(!Tr&&!Ki.noBubble&&!rr(yr)){for(Kn=Ki.delegateType||xi,uA.test(Kn+xi)||(Vr=Vr.parentNode);Vr;Vr=Vr.parentNode)ti.push(Vr),un=Vr;un===(yr.ownerDocument||Je)&&ti.push(un.defaultView||un.parentWindow||Ee)}for(qr=0;(Vr=ti[qr++])&&!ze.isPropagationStopped();)oa=Vr,ze.type=qr>1?Kn:Ki.bindType||xi,bi=(or.get(Vr,"events")||Object.create(null))[ze.type]&&or.get(Vr,"handle"),bi&&bi.apply(Vr,nr),bi=zn&&Vr[zn],bi&&bi.apply&&Ta(Vr)&&(ze.result=bi.apply(Vr,nr),ze.result===!1&&ze.preventDefault());return ze.type=xi,!Tr&&!ze.isDefaultPrevented()&&(!Ki._default||Ki._default.apply(ti.pop(),nr)===!1)&&Ta(yr)&&zn&&Ye(yr[xi])&&!rr(yr)&&(un=yr[zn],un&&(yr[zn]=null),qe.event.triggered=xi,ze.isPropagationStopped()&&oa.addEventListener(xi,Kc),yr[xi](),ze.isPropagationStopped()&&oa.removeEventListener(xi,Kc),qe.event.triggered=void 0,un&&(yr[zn]=un)),ze.result}},simulate:function(ze,nr,yr){var Tr=qe.extend(new qe.Event,yr,{type:ze,isSimulated:!0});qe.event.trigger(Tr,null,nr)}}),qe.fn.extend({trigger:function(ze,nr){return this.each(function(){qe.event.trigger(ze,nr,this)})},triggerHandler:function(ze,nr){var yr=this[0];if(yr)return qe.event.trigger(ze,nr,yr,!0)}});var ll=/\[\]$/,Yo=/\r?\n/g,dc=/^(?:submit|button|image|reset|file)$/i,hl=/^(?:input|select|textarea|keygen)/i;function NA(ze,nr,yr,Tr){var qr;if(Array.isArray(nr))qe.each(nr,function(Vr,un){yr||ll.test(ze)?Tr(ze,un):NA(ze+"["+(typeof un=="object"&&un!=null?Vr:"")+"]",un,yr,Tr)});else if(!yr&&Sr(nr)==="object")for(qr in nr)NA(ze+"["+qr+"]",nr[qr],yr,Tr);else Tr(ze,nr)}qe.param=function(ze,nr){var yr,Tr=[],qr=function(Vr,un){var Kn=Ye(un)?un():un;Tr[Tr.length]=encodeURIComponent(Vr)+"="+encodeURIComponent(Kn==null?"":Kn)};if(ze==null)return"";if(Array.isArray(ze)||ze.jquery&&!qe.isPlainObject(ze))qe.each(ze,function(){qr(this.name,this.value)});else for(yr in ze)NA(yr,ze[yr],nr,qr);return Tr.join("&")},qe.fn.extend({serialize:function(){return qe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var ze=qe.prop(this,"elements");return ze?qe.makeArray(ze):this}).filter(function(){var ze=this.type;return this.name&&!qe(this).is(":disabled")&&hl.test(this.nodeName)&&!dc.test(ze)&&(this.checked||!js.test(ze))}).map(function(ze,nr){var yr=qe(this).val();return yr==null?null:Array.isArray(yr)?qe.map(yr,function(Tr){return{name:nr.name,value:Tr.replace(Yo,`\r
|
|||
|
|
`)}}):{name:nr.name,value:yr.replace(Yo,`\r
|
|||
|
|
`)}}).get()}});var Oc=/%20/g,Jc=/#.*$/,hc=/([?&])_=[^&]*/,tA=/^(.*?):[ \t]*([^\r\n]*)$/mg,Xc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,e1=/^(?:GET|HEAD)$/,$c=/^\/\//,el={},gc={},$A="*/".concat("*"),Pc=Je.createElement("a");Pc.href=OA.href;function QA(ze){return function(nr,yr){typeof nr!="string"&&(yr=nr,nr="*");var Tr,qr=0,Vr=nr.toLowerCase().match(Oi)||[];if(Ye(yr))for(;Tr=Vr[qr++];)Tr[0]==="+"?(Tr=Tr.slice(1)||"*",(ze[Tr]=ze[Tr]||[]).unshift(yr)):(ze[Tr]=ze[Tr]||[]).push(yr)}}function ec(ze,nr,yr,Tr){var qr={},Vr=ze===gc;function un(Kn){var zn;return qr[Kn]=!0,qe.each(ze[Kn]||[],function(bi,Ki){var oa=Ki(nr,yr,Tr);if(typeof oa=="string"&&!Vr&&!qr[oa])return nr.dataTypes.unshift(oa),un(oa),!1;if(Vr)return!(zn=oa)}),zn}return un(nr.dataTypes[0])||!qr["*"]&&un("*")}function tc(ze,nr){var yr,Tr,qr=qe.ajaxSettings.flatOptions||{};for(yr in nr)nr[yr]!==void 0&&((qr[yr]?ze:Tr||(Tr={}))[yr]=nr[yr]);return Tr&&qe.extend(!0,ze,Tr),ze}function tl(ze,nr,yr){for(var Tr,qr,Vr,un,Kn=ze.contents,zn=ze.dataTypes;zn[0]==="*";)zn.shift(),Tr===void 0&&(Tr=ze.mimeType||nr.getResponseHeader("Content-Type"));if(Tr){for(qr in Kn)if(Kn[qr]&&Kn[qr].test(Tr)){zn.unshift(qr);break}}if(zn[0]in yr)Vr=zn[0];else{for(qr in yr){if(!zn[0]||ze.converters[qr+" "+zn[0]]){Vr=qr;break}un||(un=qr)}Vr=Vr||un}if(Vr)return Vr!==zn[0]&&zn.unshift(Vr),yr[Vr]}function q1(ze,nr,yr,Tr){var qr,Vr,un,Kn,zn,bi={},Ki=ze.dataTypes.slice();if(Ki[1])for(un in ze.converters)bi[un.toLowerCase()]=ze.converters[un];for(Vr=Ki.shift();Vr;)if(ze.responseFields[Vr]&&(yr[ze.responseFields[Vr]]=nr),!zn&&Tr&&ze.dataFilter&&(nr=ze.dataFilter(nr,ze.dataType)),zn=Vr,Vr=Ki.shift(),Vr){if(Vr==="*")Vr=zn;else if(zn!=="*"&&zn!==Vr){if(un=bi[zn+" "+Vr]||bi["* "+Vr],!un){for(qr in bi)if(Kn=qr.split(" "),Kn[1]===Vr&&(un=bi[zn+" "+Kn[0]]||bi["* "+Kn[0]],un)){un===!0?un=bi[qr]:bi[qr]!==!0&&(Vr=Kn[0],Ki.unshift(Kn[1]));break}}if(un!==!0)if(un&&ze.throws)nr=un(nr);else try{nr=un(nr)}catch(oa){return{state:"parsererror",error:un?oa:"No conversion from "+zn+" to "+Vr}}}}return{state:"success",data:nr}}qe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:OA.href,type:"GET",isLocal:Xc.test(OA.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$A,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":qe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(ze,nr){return nr?tc(tc(ze,qe.ajaxSettings),nr):tc(qe.ajaxSettings,ze)},ajaxPrefilter:QA(el),ajaxTransport:QA(gc),ajax:function(ze,nr){typeof ze=="object"&&(nr=ze,ze=void 0),nr=nr||{};var yr,Tr,qr,Vr,un,Kn,zn,bi,Ki,oa,ti=qe.ajaxSetup({},nr),xi=ti.context||ti,Jo=ti.context&&(xi.nodeType||xi.jquery)?qe(xi):qe.event,ws=qe.Deferred(),ts=qe.Callbacks("once memory"),T1=ti.statusCode||{},fr={},Xr={},Ln="canceled",qn={readyState:0,getResponseHeader:function(Fi){var ua;if(zn){if(!Vr)for(Vr={};ua=tA.exec(qr);)Vr[ua[1].toLowerCase()+" "]=(Vr[ua[1].toLowerCase()+" "]||[]).concat(ua[2]);ua=Vr[Fi.toLowerCase()+" "]}return ua==null?null:ua.join(", ")},getAllResponseHeaders:function(){return zn?qr:null},setRequestHeader:function(Fi,ua){return zn==null&&(Fi=Xr[Fi.toLowerCase()]=Xr[Fi.toLowerCase()]||Fi,fr[Fi]=ua),this},overrideMimeType:function(Fi){return zn==null&&(ti.mimeType=Fi),this},statusCode:function(Fi){var ua;if(Fi)if(zn)qn.always(Fi[qn.status]);else for(ua in Fi)T1[ua]=[T1[ua],Fi[ua]];return this},abort:function(Fi){var ua=Fi||Ln;return yr&&yr.abort(ua),Pi(0,ua),this}};if(ws.promise(qn),ti.url=((ze||ti.url||OA.href)+"").replace($c,OA.protocol+"//"),ti.type=nr.method||nr.type||ti.method||ti.type,ti.dataTypes=(ti.dataType||"*").toLowerCase().match(Oi)||[""],ti.crossDomain==null){Kn=Je.createElement("a");try{Kn.href=ti.url,Kn.href=Kn.href,ti.crossDomain=Pc.protocol+"//"+Pc.host!=Kn.protocol+"//"+Kn.ho
|
|||
|
|
`,Ae.p2],[". ",Ae.p3],[", ",Ae.p4],[": ",Ae.p5]]);Ae.azteccode_pcomp=hr,Ae.azteccode_latlen=xe([xe([0,5,5,10,5,10]),xe([9,0,5,10,5,10]),xe([5,5,0,5,10,10]),xe([5,10,10,0,10,15]),xe([4,9,9,14,0,14]),xe([0,0,0,0,0,0])]),Ae.azteccode_latseq=xe([xe([xe([]),xe([Ae.ll]),xe([Ae.lm]),xe([Ae.lm,Ae.lp]),xe([Ae.ld]),xe([Ae.sb])]),xe([xe([Ae.ld,Ae.lu]),xe([]),xe([Ae.lm]),xe([Ae.lm,Ae.lp]),xe([Ae.ld]),xe([Ae.sb])]),xe([xe([Ae.lu]),xe([Ae.ll]),xe([]),xe([Ae.lp]),xe([Ae.lu,Ae.ld]),xe([Ae.sb])]),xe([xe([Ae.lu]),xe([Ae.lu,Ae.ll]),xe([Ae.lu,Ae.lm]),xe([]),xe([Ae.lu,Ae.ld]),xe([Ae.lu,Ae.sb])]),xe([xe([Ae.lu]),xe([Ae.lu,Ae.ll]),xe([Ae.lu,Ae.lm]),xe([Ae.lu,Ae.lm,Ae.lp]),xe([]),xe([Ae.lu,Ae.sb])]),xe([xe([Ae.lu]),xe([Ae.ll]),xe([Ae.lm]),xe([]),xe([]),xe([])])]),Ae.azteccode_e=1e6,Ae.e=Ae.azteccode_e,Ae.azteccode_shftlen=xe([xe([Ae.e,Ae.e,Ae.e,5,Ae.e]),xe([5,Ae.e,Ae.e,5,Ae.e]),xe([Ae.e,Ae.e,Ae.e,5,Ae.e]),xe([Ae.e,Ae.e,Ae.e,Ae.e,Ae.e]),xe([4,Ae.e,Ae.e,4,Ae.e])]),Ae.azteccode_metrics=xe([xe(["rune",0,0,0,6]),xe(["compact",1,1,17,6]),xe(["full",1,1,21,6]),xe(["compact",2,0,40,6]),xe(["full",2,1,48,6]),xe(["compact",3,0,51,8]),xe(["full",3,1,60,8]),xe(["compact",4,0,76,8]),xe(["full",4,1,88,8]),xe(["full",5,1,120,8]),xe(["full",6,1,156,8]),xe(["full",7,1,196,8]),xe(["full",8,1,240,8]),xe(["full",9,1,230,10]),xe(["full",10,1,272,10]),xe(["full",11,1,316,10]),xe(["full",12,1,364,10]),xe(["full",13,1,416,10]),xe(["full",14,1,470,10]),xe(["full",15,1,528,10]),xe(["full",16,1,588,10]),xe(["full",17,1,652,10]),xe(["full",18,1,720,10]),xe(["full",19,1,790,10]),xe(["full",20,1,864,10]),xe(["full",21,1,940,10]),xe(["full",22,1,1020,10]),xe(["full",23,0,920,12]),xe(["full",24,0,992,12]),xe(["full",25,0,1066,12]),xe(["full",26,0,1144,12]),xe(["full",27,0,1224,12]),xe(["full",28,0,1306,12]),xe(["full",29,0,1392,12]),xe(["full",30,0,1480,12]),xe(["full",31,0,1570,12]),xe(["full",32,0,1664,12])]),Ae.azteccode_rsparams=xe([xe([]),xe([]),xe([]),xe([]),xe([16,19]),xe([]),xe([64,67]),xe([]),xe([256,301]),xe([]),xe([1024,1033]),xe([]),xe([4096,4201])]),Ae.azteccode_modemapfull=xe([xe([-5,7]),xe([-4,7]),xe([-3,7]),xe([-2,7]),xe([-1,7]),xe([1,7]),xe([2,7]),xe([3,7]),xe([4,7]),xe([5,7]),xe([7,5]),xe([7,4]),xe([7,3]),xe([7,2]),xe([7,1]),xe([7,-1]),xe([7,-2]),xe([7,-3]),xe([7,-4]),xe([7,-5]),xe([5,-7]),xe([4,-7]),xe([3,-7]),xe([2,-7]),xe([1,-7]),xe([-1,-7]),xe([-2,-7]),xe([-3,-7]),xe([-4,-7]),xe([-5,-7]),xe([-7,-5]),xe([-7,-4]),xe([-7,-3]),xe([-7,-2]),xe([-7,-1]),xe([-7,1]),xe([-7,2]),xe([-7,3]),xe([-7,4]),xe([-7,5])]),Ae.azteccode_modemapcompact=xe([xe([-3,5]),xe([-2,5]),xe([-1,5]),xe([0,5]),xe([1,5]),xe([2,5]),xe([3,5]),xe([5,3]),xe([5,2]),xe([5,1]),xe([5,0]),xe([5,-1]),xe([5,-2]),xe([5,-3]),xe([3,-5]),xe([2,-5]),xe([1,-5]),xe([0,-5]),xe([-1,-5]),xe([-2,-5]),xe([-3,-5]),xe([-5,-3]),xe([-5,-2]),xe([-5,-1]),xe([-5,0]),xe([-5,1]),xe([-5,2]),xe([-5,3])]),Ae.azteccode_encfuncs=xe(["encu","encl","encm","encp","encd"]),Ae.azteccode_states=xe([Ae.azteccode_u,Ae.azteccode_l,Ae.azteccode_m,Ae.azteccode_p,Ae.azteccode_d,Ae.azteccode_b]),Ae.azteccode_charsizes=xe([5,5,5,5,4,8]),Ae.azteccode_coeffscachemax=551,Ae.azteccode_coeffscachelimit=6e3,Ae.azteccode_gencoeffs=function(){_e[Ie++]=1/0,_e[Ie++]=1;for(var Bi=0,kn=Ae.rsnc;Bi<kn;Bi++)_e[Ie++]=0;Ae.coeffs=xe();for(var Ti=1,Fn=Ae.rsnc;Ti<=Fn;Ti+=1){var Di=Ae.coeffs;De(Di,Ti,Ce(Di,Ti-1)),_e[Ie++]=Ce(Ae.rsalog,Ti);for(var Mi=Ti-1;Mi>=1;Mi-=1){var ji=Ae.coeffs,Vn=_e[Ie-1];_e[Ie++]=ji,_e[Ie++]=Mi,_e[Ie++]=Ce(ji,Mi),_e[Ie++]=Vn,Ae.rsprod();var na=_e[--Ie],Xi=_e[--Ie];De(_e[--Ie],Xi,Aa(na,Ce(Ae.coeffs,Xi-1)))}var Ri=Ae.coeffs,Yi=_e[Ie-1];_e[Ie++]=Ri,_e[Ie++]=0,_e[Ie++]=Ce(Ri,0),_e[Ie++]=Yi,Ae.rsprod();var ga=_e[--Ie],ya=_e[--Ie];De(_e[--Ie],ya,ga),Ie--}_e[Ie++]=Ae.coeffs},_e[Ie++]=Ae.azteccode_coeffscachemax,_e[Ie++]=Ae.azteccode_coeffscachelimit,fo(),Ae.azteccode_coeffscache=_e[--Ie],Ae.azteccode_coeffscachefetch=function(){var Bi=_e[--Ie],kn=_e[--Ie],Ti=Ce(Ae.azteccode_coeffscache,"fetch");if(_e[Ie++]=or(kn+Bi*1e5),_e[Ie++]=function(){Ae.azteccode_gencoeffs()},_e[Ie++]=function(){var Fn=_e[--Ie];_e[Ie++]=Fn.length},Ti()===!0)return!0},
|
|||
|
|
`,tn=null)},clip:function(Qn){var Yn='<clipPath id="clip'+fn.length+'"><path d="';for(let zi=0;zi<Qn.length;zi++){let Zn=Qn[zi];Yn+="M"+ri(Zn[0][0],Zn[0][1]);for(var ni=1,ci=Zn.length;ni<ci;ni++){var Li=Zn[ni];Yn+="L"+ri(Li[0],Li[1])}Yn+="Z"}Yn+='" clip-rule="nonzero" /></clipPath>',vn="clip"+fn.length,fn.push(Yn)},unclip:function(){vn=""},text(Qn,Yn,ni,ci,Li){Qn=Qn|0,Yn=Yn|0;for(var zi=Qn,Zn=Yn,ii=Ha.lookup(Li.name),vi=Li.width|0,Si=Li.height|0,Yr=Li.dx|0,hn="",En=0;En<ni.length;En++){var Dn=ni.charCodeAt(En),Rn=Ha.getpaths(ii,Dn,vi,Si);if(Rn){if(Rn.length){for(var pi=0,ui=Rn.length;pi<ui;pi++){let hi=Rn[pi];hi.type=="M"||hi.type=="L"?hn+=hi.type+ri(hi.x+Qn,Yn-hi.y):hi.type=="Q"?hn+=hi.type+ri(hi.cx+Qn,Yn-hi.cy)+" "+ri(hi.x+Qn,Yn-hi.y):hi.type=="C"&&(hn+=hi.type+ri(hi.cx1+Qn,Yn-hi.cy1)+" "+ri(hi.cx2+Qn,Yn-hi.cy2)+" "+ri(hi.x+Qn,Yn-hi.y))}hn+="Z"}Qn+=Ha.getglyph(ii,Dn,vi,Si).advance+Yr}}hn&&(Li.rotate?An+='<path d="'+hn+'" fill="#'+ci+'" transform="rotate(-'+Li.rotate+" "+ri(zi,Zn)+`)" />
|
|||
|
|
`:An+='<path d="'+hn+'" fill="#'+ci+`" />
|
|||
|
|
`)},end(){var Qn="";for(var Yn in dn)Qn+=dn[Yn]+`" />
|
|||
|
|
`;var ni=rn.backgroundcolor;return'<svg viewBox="0 0 '+Nn+" "+oi+`" xmlns="http://www.w3.org/2000/svg">
|
|||
|
|
`+(fn.length?"<defs>"+fn.join("")+"</defs>":"")+(/^[0-9A-Fa-f]{6}$/.test(""+ni)?'<rect width="100%" height="100%" fill="#'+ni+`" />
|
|||
|
|
`:"")+Qn+An+`</svg>
|
|||
|
|
`}};function ri(Qn,Yn){Qn+=Jn,Yn+=fi;var ni=hr*Qn+Br*Yn+Nr*(Nn-1)+Or*(oi-1),ci=an*Qn+Zr*Yn+Rr*(Nn-1)+Jr*(oi-1);return""+((ni|0)==ni?ni:ni.toFixed(2))+" "+((ci|0)==ci?ci:ci.toFixed(2))}}var Ha=(function(){var hr=[],Br={},Nr={},Or={},an=0;return Or.next=Or,Or.prev=Or,{lookup:Rr,monochrome:Jr,getglyph:rn,getpaths:An,loadFont:Zr};function Zr(tn){var vn=100,fn=100,dn=null;if(arguments.length==2)dn=arguments[1];else if(arguments.length==3)vn=fn=+arguments[1]||100,dn=arguments[2];else if(arguments.length==4)fn=+arguments[1]||100,vn=+arguments[2]||100,dn=arguments[3];else throw new Error("bwipjs: loadFont: invalid number of arguments");var Mn=No.InitFont(rs(dn));Mn.bwipjs_name=tn,Mn.bwipjs_multx=vn,Mn.bwipjs_multy=fn;var wn=hr.push(Mn)-1;return Br[tn.toUpperCase()]=wn,wn}function Rr(tn){var vn=Br[tn.toUpperCase()];return vn===void 0?1:vn}function Jr(tn){if(tn)throw new Error("bwipjs: monochrome fonts not implemented")}function rn(tn,vn,fn,dn){tn=tn|0,vn=vn|0,fn=+fn,dn=+dn,(!fn||fn<8)&&(fn=8),(!dn||dn<8)&&(dn=fn),(tn<0||tn>=hr.length)&&(tn=1),(!vn||vn<32)&&(vn=32);var Mn=""+tn+"c"+vn+"w"+fn+"h"+dn,Sn=Nr[Mn];if(Sn){Sn.prev.next=Sn.next,Sn.next.prev=Sn.prev;var oi=Or;return oi.next.prev=Sn,Sn.next=oi.next,Sn.prev=oi,oi.next=Sn,Sn}var wn=hr[tn],Sn=No.GetGlyph(wn,vn,fn*wn.bwipjs_multx/100,dn*wn.bwipjs_multy/100)||No.GetGlyph(wn,0,fn*wn.bwipjs_multx/100,dn*wn.bwipjs_multy/100);if(Sn.bytes=Sn.pixels,Sn.cachekey=Mn,Sn.offset=0,an>250){var oi=Or,Nn=oi.prev;Nn.prev.next=oi,oi.prev=Nn.prev,Nn.next=Nn.prev=null,delete Nr[Nn.cachekey]}else an++;Nr[Mn]=Sn;var oi=Or;return oi.next.prev=Sn,Sn.next=oi.next,Sn.prev=oi,oi.next=Sn,Sn}function An(tn,vn,fn,dn){tn=tn|0,vn=vn|0,fn=+fn,dn=+dn,(!fn||fn<8)&&(fn=8),(!dn||dn<8)&&(dn=fn),(tn<0||tn>=hr.length)&&(tn=1),(!vn||vn<32)&&(vn=32);var Mn=hr[tn];return No.GetPaths(Mn,vn,fn*Mn.bwipjs_multx/100,dn*Mn.bwipjs_multy/100)}})();function Lo(){return Ha.loadFont.apply(Ha,Array.prototype.slice.call(arguments))}var No=(function(){var hr=1,Br=2,Nr=3,Or=4,an=0,Zr=1,Rr=2,Jr=3,rn=0,An=1,tn=2,vn=3,fn=4,dn=0,Mn=1,wn=2,Sn=10,Nn=Math.floor,oi=Math.ceil,Jn=Math.sqrt,fi=Math.abs;function ri(zr){for(var yn=[],In=0;In<zr;In++)yn.push({});return yn}function Qn(zr){return zr[zr.cursor++]||0}function Yn(zr){return zr[zr.cursor]}function ni(zr,yn){zr.cursor=yn>zr.length||yn<0?zr.length:yn}function ci(zr,yn){ni(zr,zr.cursor+yn)}function Li(zr,yn){for(var In=0,On=0;On<yn;On++)In=In<<8|Qn(zr);return In}function zi(){return{length:0}}function Zn(zr,yn,In){if(yn<0||In<0||yn>zr.length||In>zr.length-yn)return zi();var On=zr.subarray(yn,yn+In);return On.cursor=0,On}function ii(zr){var yn=zr.cursor,In=Li(zr,2);if(In){var On=Qn(zr);ci(zr,On*In),ci(zr,Li(zr,On)-1)}return Zn(zr,yn,zr.cursor-yn)}function vi(zr){var yn=Qn(zr);return yn>=32&&yn<=246?yn-139:yn>=247&&yn<=250?(yn-247)*256+Qn(zr)+108:yn>=251&&yn<=254?-(yn-251)*256-Qn(zr)-108:yn==28?Li(zr,2):yn==29?Li(zr,4):0}function Si(zr){var yn=Yn(zr);if(yn==30)for(ci(zr,1);zr.cursor<zr.length;){var In=Qn(zr);if((In&15)==15||In>>4==15)break}else vi(zr)}function Yr(zr,yn){for(ni(zr,0);zr.cursor<zr.length;){for(var In=zr.cursor,On,Gn;Yn(zr)>=28;)Si(zr);if(On=zr.cursor,Gn=Qn(zr),Gn==12&&(Gn=Qn(zr)|256),Gn==yn)return Zn(zr,In,On-In)}return Zn(zr,0,0)}function hn(zr,yn,In,On){for(var Gn=Yr(zr,yn),Bi=0;Bi<In&&Gn.cursor<Gn.length;Bi++)On[Bi]=vi(Gn)}function En(zr,yn,In){var On=Yr(zr,yn);return On.cursor<On.length&&(In=vi(On)),In}function Dn(zr){return ni(zr,0),Li(zr,2)}function Rn(zr,yn){var In,On,Gn,Bi;return ni(zr,0),In=Li(zr,2),On=Qn(zr),ci(zr,yn*On),Gn=Li(zr,On),Bi=Li(zr,On),Zn(zr,2+(In+1)*On+Gn,Bi-Gn)}function pi(zr){return zr&32768?(4294901760|zr)>>0:zr}function ui(zr,yn){return zr[yn]*256+zr[yn+1]}function hi(zr,yn){var In=zr[yn]*256+zr[yn+1];return In&32768?(4294901760|In)>>0:In}function gi(zr,yn){return(zr[yn]<<24)+(zr[yn+1]<<16)+(zr[yn+2]<<8)+zr[yn+3]}function Ze(zr,yn,In){for(var On=ui(zr,yn+4),Gn=yn+12,Bi=0;Bi<On;++Bi){var kn=Gn+16*Bi;if(zr[kn]==In[0]&&zr[kn+1]==In[1]&&zr[kn+2]==In[2]&&zr[kn+3]==In[3])return gi(zr,kn+8)}return 0}function en(zr,yn){var In=[0,0];if(hn(yn,18,2,In),!In[1]||!
|
|||
|
|
* A class to parse color values
|
|||
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|||
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|||
|
|
* @license Use it if you like it
|
|||
|
|
*/function f(Pe){var Ee;Pe=Pe||"",this.ok=!1,Pe.charAt(0)=="#"&&(Pe=Pe.substr(1,6)),Pe={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[Pe=(Pe=Pe.replace(/ /g,"")).toLowerCase()]||Pe;for(var Be=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ke){return[parseInt(ke[1]),parseInt(ke[2]),parseInt(ke[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ke){return[parseInt(ke[1],16),parseInt(ke[2],16),parseInt(ke[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ke){return[parseInt(ke[1]+ke[1],16),parseInt(ke[2]+ke[2],16),parseInt(ke[3]+ke[3],16)]}}],Me=0;Me<Be.length;Me++){var Te=Be[Me].re,Se=Be[Me].process,je=Te.exec(Pe);je&&(Ee=Se(je),this.r=Ee[0],this.g=Ee[1],this.b=Ee[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),Ue=this.g.toString(16),Fe=this.b.toString(16);return ke.length==1&&(ke="0"+ke),Ue.length==1&&(Ue="0"+Ue),Fe.length==1&&(Fe="0"+Fe),"#"+ke+Ue+Fe}}/**
|
|||
|
|
* @license
|
|||
|
|
* Joseph Myers does not specify a particular license for his work.
|
|||
|
|
*
|
|||
|
|
* Author: Joseph Myers
|
|||
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|||
|
|
*
|
|||
|
|
* Modified by: Owen Leong
|
|||
|
|
*/function d(Pe,Ee){var Be=Pe[0],Me=Pe[1],Te=Pe[2],Se=Pe[3];Be=g(Be,Me,Te,Se,Ee[0],7,-680876936),Se=g(Se,Be,Me,Te,Ee[1],12,-389564586),Te=g(Te,Se,Be,Me,Ee[2],17,606105819),Me=g(Me,Te,Se,Be,Ee[3],22,-1044525330),Be=g(Be,Me,Te,Se,Ee[4],7,-176418897),Se=g(Se,Be,Me,Te,Ee[5],12,1200080426),Te=g(Te,Se,Be,Me,Ee[6],17,-1473231341),Me=g(Me,Te,Se,Be,Ee[7],22,-45705983),Be=g(Be,Me,Te,Se,Ee[8],7,1770035416),Se=g(Se,Be,Me,Te,Ee[9],12,-1958414417),Te=g(Te,Se,Be,Me,Ee[10],17,-42063),Me=g(Me,Te,Se,Be,Ee[11],22,-1990404162),Be=g(Be,Me,Te,Se,Ee[12],7,1804603682),Se=g(Se,Be,Me,Te,Ee[13],12,-40341101),Te=g(Te,Se,Be,Me,Ee[14],17,-1502002290),Be=m(Be,Me=g(Me,Te,Se,Be,Ee[15],22,1236535329),Te,Se,Ee[1],5,-165796510),Se=m(Se,Be,Me,Te,Ee[6],9,-1069501632),Te=m(Te,Se,Be,Me,Ee[11],14,643717713),Me=m(Me,Te,Se,Be,Ee[0],20,-373897302),Be=m(Be,Me,Te,Se,Ee[5],5,-701558691),Se=m(Se,Be,Me,Te,Ee[10],9,38016083),Te=m(Te,Se,Be,Me,Ee[15],14,-660478335),Me=m(Me,Te,Se,Be,Ee[4],20,-405537848),Be=m(Be,Me,Te,Se,Ee[9],5,568446438),Se=m(Se,Be,Me,Te,Ee[14],9,-1019803690),Te=m(Te,Se,Be,Me,Ee[3],14,-187363961),Me=m(Me,Te,Se,Be,Ee[8],20,1163531501),Be=m(Be,Me,Te,Se,Ee[13],5,-1444681467),Se=m(Se,Be,Me,Te,Ee[2],9,-51403784),Te=m(Te,Se,Be,Me,Ee[7],14,1735328473),Be=v(Be,Me=m(Me,Te,Se,Be,Ee[12],20,-1926607734),Te,Se,Ee[5],4,-378558),Se=v(Se,Be,Me,Te,Ee[8],11,-2022574463),Te=v(Te,Se,Be,Me,Ee[11],16,1839030562),Me=v(Me,Te,Se,Be,Ee[14],23,-35309556),Be=v(Be,Me,Te,Se,Ee[1],4,-1530992060),Se=v(Se,Be,Me,Te,Ee[4],11,1272893353),Te=v(Te,Se,Be,Me,Ee[7],16,-155497632),Me=v(Me,Te,Se,Be,Ee[10],23,-1094730640),Be=v(Be,Me,Te,Se,Ee[13],4,681279174),Se=v(Se,Be,Me,Te,Ee[0],11,-358537222),Te=v(Te,Se,Be,Me,Ee[3],16,-722521979),Me=v(Me,Te,Se,Be,Ee[6],23,76029189),Be=v(Be,Me,Te,Se,Ee[9],4,-640364487),Se=v(Se,Be,Me,Te,Ee[12],11,-421815835),Te=v(Te,Se,Be,Me,Ee[15],16,530742520),Be=b(Be,Me=v(Me,Te,Se,Be,Ee[2],23,-995338651),Te,Se,Ee[0],6,-198630844),Se=b(Se,Be,Me,Te,Ee[7],10,1126891415),Te=b(Te,Se,Be,Me,Ee[14],15,-1416354905),Me=b(Me,Te,Se,Be,Ee[5],21,-57434055),Be=b(Be,Me,Te,Se,Ee[12],6,1700485571),Se=b(Se,Be,Me,Te,Ee[3],10,-1894986606),Te=b(Te,Se,Be,Me,Ee[10],15,-1051523),Me=b(Me,Te,Se,Be,Ee[1],21,-2054922799),Be=b(Be,Me,Te,Se,Ee[8],6,1873313359),Se=b(Se,Be,Me,Te,Ee[15],10,-30611744),Te=b(Te,Se,Be,Me,Ee[6],15,-1560198380),Me=b(Me,Te,Se,Be,Ee[13],21,1309151649),Be=b(Be,Me,Te,Se,Ee[4],6,-145523070),Se=b(Se,Be,Me,Te,Ee[11],10,-1120210379),Te=b(Te,Se,Be,Me,Ee[2],15,718787259),Me=b(Me,Te,Se,Be,Ee[9],21,-343485551),Pe[0]=_$1(Be,Pe[0]),Pe[1]=_$1(Me,Pe[1]),Pe[2]=_$1(Te,Pe[2]),Pe[3]=_$1(Se,Pe[3])}function p(Pe,Ee,Be,Me,Te,Se){return Ee=_$1(_$1(Ee,Pe),_$1(Me,Se)),_$1(Ee<<Te|Ee>>>32-Te,Be)}function g(Pe,Ee,Be,Me,Te,Se,je){return p(Ee&Be|~Ee&Me,Pe,Ee,Te,Se,je)}function m(Pe,Ee,Be,Me,Te,Se,je){return p(Ee&Me|Be&~Me,Pe,Ee,Te,Se,je)}function v(Pe,Ee,Be,Me,Te,Se,je){return p(Ee^Be^Me,Pe,Ee,Te,Se,je)}function b(Pe,Ee,Be,Me,Te,Se,je){return p(Be^(Ee|~Me),Pe,Ee,Te,Se,je)}function y(Pe){var Ee,Be=Pe.length,Me=[1732584193,-271733879,-1732584194,271733878];for(Ee=64;Ee<=Pe.length;Ee+=64)d(Me,w(Pe.substring(Ee-64,Ee)));Pe=Pe.substring(Ee-64);var Te=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Ee=0;Ee<Pe.length;Ee++)Te[Ee>>2]|=Pe.charCodeAt(Ee)<<(Ee%4<<3);if(Te[Ee>>2]|=128<<(Ee%4<<3),Ee>55)for(d(Me,Te),Ee=0;Ee<16;Ee++)Te[Ee]=0;return Te[14]=8*Be,d(Me,Te),Me}function w(Pe){var Ee,Be=[];for(Ee=0;Ee<64;Ee+=4)Be[Ee>>2]=Pe.charCodeAt(Ee)+(Pe.charCodeAt(Ee+1)<<8)+(Pe.charCodeAt(Ee+2)<<16)+(Pe.charCodeAt(Ee+3)<<24);return Be}u=n.atob.bind(n),h=n.btoa.bind(n);var N="0123456789abcdef".split("");function L(Pe){for(var Ee="",Be=0;Be<4;Be++)Ee+=N[Pe>>8*Be+4&15]+N[Pe>>8*Be&15];return Ee}function A(Pe){return String.fromCharCode((255&Pe)>>0,(65280&Pe)>>8,(16711680&Pe)>>16,(4278190080&Pe)>>24)}function x(Pe){return y(Pe).map(A).join("")}var S=(function(Pe){for(var Ee=0;Ee<Pe.length;Ee++)Pe[Ee]=L(Pe[Ee]);return Pe.join("")})(y("hello"))!="5d41402abc4b2a76b9719d911017c592";function _$1(Pe,Ee){if(S){var Be=(65535&Pe)+(65535&Ee);return(Pe>>16)+(Ee>>16)+(Be>>16)<<16|65535&Be}return Pe+Ee&4294967295}/**
|
|||
|
|
* @license
|
|||
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|||
|
|
* You may embed it freely in your application (commercial or not), with or
|
|||
|
|
* without modifications.
|
|||
|
|
*
|
|||
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/function P(Pe,Ee){var Be,Me,Te,Se;if(Pe!==Be){for(var je=(Te=Pe,Se=1+(256/Pe.length>>0),new Array(Se+1).join(Te)),ke=[],Ue=0;Ue<256;Ue++)ke[Ue]=Ue;var Fe=0;for(Ue=0;Ue<256;Ue++){var Qe=ke[Ue];Fe=(Fe+Qe+je.charCodeAt(Ue))%256,ke[Ue]=ke[Fe],ke[Fe]=Qe}Be=Pe,Me=ke}else ke=Me;var He=Ee.length,Ie=0,_e=0,Ae="";for(Ue=0;Ue<He;Ue++)_e=(_e+(Qe=ke[Ie=(Ie+1)%256]))%256,ke[Ie]=ke[_e],ke[_e]=Qe,je=ke[(ke[Ie]+ke[_e])%256],Ae+=String.fromCharCode(Ee.charCodeAt(Ue)^je);return Ae}/**
|
|||
|
|
* @license
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
* Author: Owen Leong (@owenl131)
|
|||
|
|
* Date: 15 Oct 2020
|
|||
|
|
* References:
|
|||
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|||
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|||
|
|
* http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/var k={print:4,modify:8,copy:16,"annot-forms":32};function I(Pe,Ee,Be,Me){this.v=1,this.r=2;var Te=192;Pe.forEach((function(ke){if(k.perm!==void 0)throw new Error("Invalid permission: "+ke);Te+=k[ke]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var Se=(Ee+this.padding).substr(0,32),je=(Be+this.padding).substr(0,32);this.O=this.processOwnerPassword(Se,je),this.P=-(1+(255^Te)),this.encryptionKey=x(Se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Me)).substr(0,5),this.U=P(this.encryptionKey,this.padding)}function F(Pe){if(/[^\u0000-\u00ff]/.test(Pe))throw new Error("Invalid PDF Name Object: "+Pe+", Only accept ASCII characters.");for(var Ee="",Be=Pe.length,Me=0;Me<Be;Me++){var Te=Pe.charCodeAt(Me);Te<33||Te===35||Te===37||Te===40||Te===41||Te===47||Te===60||Te===62||Te===91||Te===93||Te===123||Te===125||Te>126?Ee+="#"+("0"+Te.toString(16)).slice(-2):Ee+=Pe[Me]}return Ee}function C(Pe){if(_typeof$1(Pe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Ee={};this.subscribe=function(Be,Me,Te){if(Te=Te||!1,typeof Be!="string"||typeof Me!="function"||typeof Te!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Ee.hasOwnProperty(Be)||(Ee[Be]={});var Se=Math.random().toString(35);return Ee[Be][Se]=[Me,!!Te],Se},this.unsubscribe=function(Be){for(var Me in Ee)if(Ee[Me][Be])return delete Ee[Me][Be],Object.keys(Ee[Me]).length===0&&delete Ee[Me],!0;return!1},this.publish=function(Be){if(Ee.hasOwnProperty(Be)){var Me=Array.prototype.slice.call(arguments,1),Te=[];for(var Se in Ee[Be]){var je=Ee[Be][Se];try{je[0].apply(Pe,Me)}catch(ke){n.console&&a.error("jsPDF PubSub Error",ke.message,ke)}je[1]&&Te.push(Se)}Te.length&&Te.forEach(this.unsubscribe)}},this.getTopics=function(){return Ee}}function j(Pe){if(!(this instanceof j))return new j(Pe);var Ee="opacity,stroke-opacity".split(",");for(var Be in Pe)Pe.hasOwnProperty(Be)&&Ee.indexOf(Be)>=0&&(this[Be]=Pe[Be]);this.id="",this.objectNumber=-1}function O(Pe,Ee){this.gState=Pe,this.matrix=Ee,this.id="",this.objectNumber=-1}function B(Pe,Ee,Be,Me,Te){if(!(this instanceof B))return new B(Pe,Ee,Be,Me,Te);this.type=Pe==="axial"?2:3,this.coords=Ee,this.colors=Be,O.call(this,Me,Te)}function M(Pe,Ee,Be,Me,Te){if(!(this instanceof M))return new M(Pe,Ee,Be,Me,Te);this.boundingBox=Pe,this.xStep=Ee,this.yStep=Be,this.stream="",this.cloneIndex=0,O.call(this,Me,Te)}function E(Pe){var Ee,Be=typeof arguments[0]=="string"?arguments[0]:"p",Me=arguments[1],Te=arguments[2],Se=arguments[3],je=[],ke=1,Ue=16,Fe="S",Qe=null;_typeof$1(Pe=Pe||{})==="object"&&(Be=Pe.orientation,Me=Pe.unit||Me,Te=Pe.format||Te,Se=Pe.compress||Pe.compressPdf||Se,(Qe=Pe.encryption||null)!==null&&(Qe.userPassword=Qe.userPassword||"",Qe.ownerPassword=Qe.ownerPassword||"",Qe.userPermissions=Qe.userPermissions||[]),ke=typeof Pe.userUnit=="number"?Math.abs(Pe.userUnit):1,Pe.precision!==void 0&&(Ee=Pe.precision),Pe.floatPrecision!==void 0&&(Ue=Pe.floatPrecision),Fe=Pe.defaultPathOperation||"S"),je=Pe.filters||(Se===!0?["FlateEncode"]:je),Me=Me||"mm",Be=(""+(Be||"P")).toLowerCase();var He=Pe.putOnlyUsedFonts||!1,Ie={},_e={internal:{},__private__:{}};_e.__private__.PubSub=C;var Ae="1.3",Ye=_e.__private__.getPdfVersion=function(){return Ae};_e.__private__.setPdfVersion=function(fr){Ae=fr};var rr={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger
|
|||
|
|
`),hs(fr,Xr),zo.publish("endTilingPattern",Xr),EA.pop().restore()};var Co=_e.__private__.newObject=function(){var fr=i1();return Gs(fr,!0),fr},i1=_e.__private__.newObjectDeferred=function(){return Hn++,$n[Hn]=function(){return $r},Hn},Gs=function(fr,Xr){return Xr=typeof Xr=="boolean"&&Xr,$n[fr]=$r,Xr&&Pn(fr+" 0 obj"),fr},ea=_e.__private__.newAdditionalObject=function(){var fr={objId:i1(),content:""};return Oi.push(fr),fr},La=i1(),Ma=i1(),Xo=_e.__private__.decodeColorString=function(fr){var Xr=fr.split(" ");if(Xr.length!==2||Xr[1]!=="g"&&Xr[1]!=="G")Xr.length===5&&(Xr[4]==="k"||Xr[4]==="K")&&(Xr=[(1-Xr[0])*(1-Xr[3]),(1-Xr[1])*(1-Xr[3]),(1-Xr[2])*(1-Xr[3]),"r"]);else{var Ln=parseFloat(Xr[0]);Xr=[Ln,Ln,Ln,"r"]}for(var qn="#",Pi=0;Pi<3;Pi++)qn+=("0"+Math.floor(255*parseFloat(Xr[Pi])).toString(16)).slice(-2);return qn},ra=_e.__private__.encodeColorString=function(fr){var Xr;typeof fr=="string"&&(fr={ch1:fr});var Ln=fr.ch1,qn=fr.ch2,Pi=fr.ch3,Fi=fr.ch4,ua=fr.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Ln=="string"&&Ln.charAt(0)!=="#"){var Ha=new f(Ln);if(Ha.ok)Ln=Ha.toHex();else if(!/^\d*\.?\d*$/.test(Ln))throw new Error('Invalid color "'+Ln+'" passed to jsPDF.encodeColorString.')}if(typeof Ln=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Ln)&&(Ln="#"+Ln[1]+Ln[1]+Ln[2]+Ln[2]+Ln[3]+Ln[3]),typeof Ln=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ln)){var Lo=parseInt(Ln.substr(1),16);Ln=Lo>>16&255,qn=Lo>>8&255,Pi=255&Lo}if(qn===void 0||Fi===void 0&&Ln===qn&&qn===Pi)if(typeof Ln=="string")Xr=Ln+" "+ua[0];else switch(fr.precision){case 2:Xr=Xe(Ln/255)+" "+ua[0];break;case 3:default:Xr=Re(Ln/255)+" "+ua[0]}else if(Fi===void 0||_typeof$1(Fi)==="object"){if(Fi&&!isNaN(Fi.a)&&Fi.a===0)return Xr=["1.","1.","1.",ua[1]].join(" ");if(typeof Ln=="string")Xr=[Ln,qn,Pi,ua[1]].join(" ");else switch(fr.precision){case 2:Xr=[Xe(Ln/255),Xe(qn/255),Xe(Pi/255),ua[1]].join(" ");break;default:case 3:Xr=[Re(Ln/255),Re(qn/255),Re(Pi/255),ua[1]].join(" ")}}else if(typeof Ln=="string")Xr=[Ln,qn,Pi,Fi,ua[2]].join(" ");else switch(fr.precision){case 2:Xr=[Xe(Ln),Xe(qn),Xe(Pi),Xe(Fi),ua[2]].join(" ");break;case 3:default:Xr=[Re(Ln),Re(qn),Re(Pi),Re(Fi),ua[2]].join(" ")}return Xr},Fo=_e.__private__.getFilters=function(){return je},ks=_e.__private__.putStream=function(fr){var Xr=(fr=fr||{}).data||"",Ln=fr.filters||Fo(),qn=fr.alreadyAppliedFilters||[],Pi=fr.addLength1||!1,Fi=Xr.length,ua=fr.objectId,Ha=function(an){return an};if(Qe!==null&&ua===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Qe!==null&&(Ha=uA.encryptor(ua,0));var Lo={};Ln===!0&&(Ln=["FlateEncode"]);var No=fr.additionalKeyValues||[],rs=(Lo=E.API.processDataByFilters!==void 0?E.API.processDataByFilters(Xr,Ln):{data:Xr,reverseChain:[]}).reverseChain+(Array.isArray(qn)?qn.join(" "):qn.toString());if(Lo.data.length!==0&&(No.push({key:"Length",value:Lo.data.length}),Pi===!0&&No.push({key:"Length1",value:Fi})),rs.length!=0)if(rs.split("/").length-1==1)No.push({key:"Filter",value:rs});else{No.push({key:"Filter",value:"["+rs+"]"});for(var hr=0;hr<No.length;hr+=1)if(No[hr].key==="DecodeParms"){for(var Br=[],Nr=0;Nr<Lo.reverseChain.split("/").length-1;Nr+=1)Br.push("null");Br.push(No[hr].value),No[hr].value="["+Br.join(" ")+"]"}}Pn("<<");for(var Or=0;Or<No.length;Or++)Pn("/"+No[Or].key+" "+No[Or].value);Pn(">>"),Lo.data.length!==0&&(Pn("stream"),Pn(Ha(Lo.data)),Pn("endstream"))},Hi=_e.__private__.putPage=function(fr){var Xr=fr.number,Ln=fr.data,qn=fr.objId,Pi=fr.contentsObjId;Gs(qn,!0),Pn("<</Type /Page"),Pn("/Parent "+fr.rootDictionaryObjId+" 0 R"),Pn("/Resources "+fr.resourceDictionaryObjId+" 0 R"),Pn("/MediaBox ["+parseFloat(qe(fr.mediaBox.bottomLeftX))+" "+parseFloat(qe(fr.mediaBox.bottomLeftY))+" "+qe(fr.mediaBox.topRightX)+" "+qe(fr.mediaBox.topRightY)+"]"),fr.cropBox!==null&&Pn("/CropBox ["+qe(fr.cropBox.bottomLeftX)+" "+qe(fr.cropBox.bottomLeftY)+" "+qe(fr.cropBox.topRightX)+" "+qe(fr.cropBox.topRightY)+"]"),fr.bleedBox!==null&&Pn("/BleedBox ["+qe(fr.bleedBox.bottomLeftX)+" "+qe(fr.bleedBox.bottomLeftY)+" "+qe(fr.bleedBox.topRightX)+" "+qe(fr.bleedBox.topRightY)+"
|
|||
|
|
`);return wr===sr.ADVANCED&&(Fi+=`
|
|||
|
|
Q`),Gs(Pi,!0),ks({data:Fi,filters:Fo(),objectId:Pi}),Pn("endobj"),qn},aa=_e.__private__.putPages=function(){var fr,Xr,Ln=[];for(fr=1;fr<=ys;fr++)Do[fr].objId=i1(),Do[fr].contentsObjId=i1();for(fr=1;fr<=ys;fr++)Ln.push(Hi({number:fr,data:Wn[fr],objId:Do[fr].objId,contentsObjId:Do[fr].contentsObjId,mediaBox:Do[fr].mediaBox,cropBox:Do[fr].cropBox,bleedBox:Do[fr].bleedBox,trimBox:Do[fr].trimBox,artBox:Do[fr].artBox,userUnit:Do[fr].userUnit,rootDictionaryObjId:La,resourceDictionaryObjId:Ma}));Gs(La,!0),Pn("<</Type /Pages");var qn="/Kids [";for(Xr=0;Xr<ys;Xr++)qn+=Ln[Xr]+" 0 R ";Pn(qn+"]"),Pn("/Count "+ys),Pn(">>"),Pn("endobj"),zo.publish("postPutPages")},Vo=function(fr){zo.publish("putFont",{font:fr,out:Pn,newObject:Co,putStream:ks}),fr.isAlreadyPutted!==!0&&(fr.objectNumber=Co(),Pn("<<"),Pn("/Type /Font"),Pn("/BaseFont /"+F(fr.postScriptName)),Pn("/Subtype /Type1"),typeof fr.encoding=="string"&&Pn("/Encoding /"+fr.encoding),Pn("/FirstChar 32"),Pn("/LastChar 255"),Pn(">>"),Pn("endobj"))},Po=function(){for(var fr in mo)mo.hasOwnProperty(fr)&&(He===!1||He===!0&&Ie.hasOwnProperty(fr))&&Vo(mo[fr])},S1=function(fr){fr.objectNumber=Co();var Xr=[];Xr.push({key:"Type",value:"/XObject"}),Xr.push({key:"Subtype",value:"/Form"}),Xr.push({key:"BBox",value:"["+[qe(fr.x),qe(fr.y),qe(fr.x+fr.width),qe(fr.y+fr.height)].join(" ")+"]"}),Xr.push({key:"Matrix",value:"["+fr.matrix.toString()+"]"});var Ln=fr.pages[1].join(`
|
|||
|
|
`);ks({data:Ln,additionalKeyValues:Xr,objectId:fr.objectNumber}),Pn("endobj")},$1=function(){for(var fr in Os)Os.hasOwnProperty(fr)&&S1(Os[fr])},C1=function(fr,Xr){var Ln,qn=[],Pi=1/(Xr-1);for(Ln=0;Ln<1;Ln+=Pi)qn.push(Ln);if(qn.push(1),fr[0].offset!=0){var Fi={offset:0,color:fr[0].color};fr.unshift(Fi)}if(fr[fr.length-1].offset!=1){var ua={offset:1,color:fr[fr.length-1].color};fr.push(ua)}for(var Ha="",Lo=0,No=0;No<qn.length;No++){for(Ln=qn[No];Ln>fr[Lo+1].offset;)Lo++;var rs=fr[Lo].offset,hr=(Ln-rs)/(fr[Lo+1].offset-rs),Br=fr[Lo].color,Nr=fr[Lo+1].color;Ha+=xn(Math.round((1-hr)*Br[0]+hr*Nr[0]).toString(16))+xn(Math.round((1-hr)*Br[1]+hr*Nr[1]).toString(16))+xn(Math.round((1-hr)*Br[2]+hr*Nr[2]).toString(16))}return Ha.trim()},Us=function(fr,Xr){Xr||(Xr=21);var Ln=Co(),qn=C1(fr.colors,Xr),Pi=[];Pi.push({key:"FunctionType",value:"0"}),Pi.push({key:"Domain",value:"[0.0 1.0]"}),Pi.push({key:"Size",value:"["+Xr+"]"}),Pi.push({key:"BitsPerSample",value:"8"}),Pi.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Pi.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ks({data:qn,additionalKeyValues:Pi,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Ln}),Pn("endobj"),fr.objectNumber=Co(),Pn("<< /ShadingType "+fr.type),Pn("/ColorSpace /DeviceRGB");var Fi="/Coords ["+qe(parseFloat(fr.coords[0]))+" "+qe(parseFloat(fr.coords[1]))+" ";fr.type===2?Fi+=qe(parseFloat(fr.coords[2]))+" "+qe(parseFloat(fr.coords[3])):Fi+=qe(parseFloat(fr.coords[2]))+" "+qe(parseFloat(fr.coords[3]))+" "+qe(parseFloat(fr.coords[4]))+" "+qe(parseFloat(fr.coords[5])),Pn(Fi+="]"),fr.matrix&&Pn("/Matrix ["+fr.matrix.toString()+"]"),Pn("/Function "+Ln+" 0 R"),Pn("/Extend [true true]"),Pn(">>"),Pn("endobj")},UA=function(fr,Xr){var Ln=i1(),qn=Co();Xr.push({resourcesOid:Ln,objectOid:qn}),fr.objectNumber=qn;var Pi=[];Pi.push({key:"Type",value:"/Pattern"}),Pi.push({key:"PatternType",value:"1"}),Pi.push({key:"PaintType",value:"1"}),Pi.push({key:"TilingType",value:"1"}),Pi.push({key:"BBox",value:"["+fr.boundingBox.map(qe).join(" ")+"]"}),Pi.push({key:"XStep",value:qe(fr.xStep)}),Pi.push({key:"YStep",value:qe(fr.yStep)}),Pi.push({key:"Resources",value:Ln+" 0 R"}),fr.matrix&&Pi.push({key:"Matrix",value:"["+fr.matrix.toString()+"]"}),ks({data:fr.stream,additionalKeyValues:Pi,objectId:fr.objectNumber}),Pn("endobj")},N1=function(fr){var Xr;for(Xr in qa)qa.hasOwnProperty(Xr)&&(qa[Xr]instanceof B?Us(qa[Xr]):qa[Xr]instanceof M&&UA(qa[Xr],fr))},jA=function(fr){for(var Xr in fr.objectNumber=Co(),Pn("<<"),fr)switch(Xr){case"opacity":Pn("/ca "+Xe(fr[Xr]));break;case"stroke-opacity":Pn("/CA "+Xe(fr[Xr]))}Pn(">>"),Pn("endobj")},Tl=function(){var fr;for(fr in So)So.hasOwnProperty(fr)&&jA(So[fr])},Yc=function(){for(var fr in Pn("/XObject <<"),Os)Os.hasOwnProperty(fr)&&Os[fr].objectNumber>=0&&Pn("/"+fr+" "+Os[fr].objectNumber+" 0 R");zo.publish("putXobjectDict"),Pn(">>")},JA=function(){uA.oid=Co(),Pn("<<"),Pn("/Filter /Standard"),Pn("/V "+uA.v),Pn("/R "+uA.r),Pn("/U <"+uA.toHexString(uA.U)+">"),Pn("/O <"+uA.toHexString(uA.O)+">"),Pn("/P "+uA.P),Pn(">>"),Pn("endobj")},jl=function(){for(var fr in Pn("/Font <<"),mo)mo.hasOwnProperty(fr)&&(He===!1||He===!0&&Ie.hasOwnProperty(fr))&&Pn("/"+fr+" "+mo[fr].objectNumber+" 0 R");Pn(">>")},kl=function(){if(Object.keys(qa).length>0){for(var fr in Pn("/Shading <<"),qa)qa.hasOwnProperty(fr)&&qa[fr]instanceof B&&qa[fr].objectNumber>=0&&Pn("/"+fr+" "+qa[fr].objectNumber+" 0 R");zo.publish("putShadingPatternDict"),Pn(">>")}},XA=function(fr){if(Object.keys(qa).length>0){for(var Xr in Pn("/Pattern <<"),qa)qa.hasOwnProperty(Xr)&&qa[Xr]instanceof _e.TilingPattern&&qa[Xr].objectNumber>=0&&qa[Xr].objectNumber<fr&&Pn("/"+Xr+" "+qa[Xr].objectNumber+" 0 R");zo.publish("putTilingPatternDict"),Pn(">>")}},Lc=function(){if(Object.keys(So).length>0){var fr;for(fr in Pn("/ExtGState <<"),So)So.hasOwnProperty(fr)&&So[fr].objectNumber>=0&&Pn("/"+fr+" "+So[fr].objectNumber+" 0 R");zo.publish("putGStateDict"),Pn(">>")}},G1=function(fr){Gs(fr.resourcesOid,!0),Pn("<<"),Pn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),jl(),kl(),XA(fr.objectOid),Lc(),Yc(),Pn(">>"),P
|
|||
|
|
`)[0].split("<")[0]+": "+qn.message;if(!n.console)throw new Error(Ln);n.console.error(Ln,qn),n.alert&&alert(Ln)}},fr.foo.bar=fr,fr.foo},F1=function(fr,Xr){var Ln,qn,Pi,Fi,ua,Ha,Lo,No,rs;if(Pi=(Xr=Xr||{}).sourceEncoding||"Unicode",ua=Xr.outputEncoding,(Xr.autoencode||ua)&&mo[$a].metadata&&mo[$a].metadata[Pi]&&mo[$a].metadata[Pi].encoding&&(Fi=mo[$a].metadata[Pi].encoding,!ua&&mo[$a].encoding&&(ua=mo[$a].encoding),!ua&&Fi.codePages&&(ua=Fi.codePages[0]),typeof ua=="string"&&(ua=Fi[ua]),ua)){for(Lo=!1,Ha=[],Ln=0,qn=fr.length;Ln<qn;Ln++)(No=ua[fr.charCodeAt(Ln)])?Ha.push(String.fromCharCode(No)):Ha.push(fr[Ln]),Ha[Ln].charCodeAt(0)>>8&&(Lo=!0);fr=Ha.join("")}for(Ln=fr.length;Lo===void 0&&Ln!==0;)fr.charCodeAt(Ln-1)>>8&&(Lo=!0),Ln--;if(!Lo)return fr;for(Ha=Xr.noBOM?[]:[254,255],Ln=0,qn=fr.length;Ln<qn;Ln++){if((rs=(No=fr.charCodeAt(Ln))>>8)>>8)throw new Error("Character at position "+Ln+" of string '"+fr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ha.push(rs),Ha.push(No-(rs<<8))}return String.fromCharCode.apply(void 0,Ha)},eA=_e.__private__.pdfEscape=_e.pdfEscape=function(fr,Xr){return F1(fr,Xr).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},uc=_e.__private__.beginPage=function(fr){Wn[++ys]=[],Do[ys]={objId:0,contentsObjId:0,userUnit:Number(ke),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(fr[0]),topRightY:Number(fr[1])}},mA(ys),Bn(Wn[Ge])},Rc=function(fr,Xr){var Ln,qn,Pi;switch(Be=Xr||Be,typeof fr=="string"&&(Ln=Je(fr.toLowerCase()),Array.isArray(Ln)&&(qn=Ln[0],Pi=Ln[1])),Array.isArray(fr)&&(qn=fr[0]*Xn,Pi=fr[1]*Xn),isNaN(qn)&&(qn=Te[0],Pi=Te[1]),(qn>14400||Pi>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),qn=Math.min(14400,qn),Pi=Math.min(14400,Pi)),Te=[qn,Pi],Be.substr(0,1)){case"l":Pi>qn&&(Te=[Pi,qn]);break;case"p":qn>Pi&&(Te=[Pi,qn])}uc(Te),tl(ec),Pn(BA),Vr!==0&&Pn(Vr+" J"),un!==0&&Pn(un+" j"),zo.publish("addPage",{pageNumber:ys})},sl=function(fr){fr>0&&fr<=ys&&(Wn.splice(fr,1),Do.splice(fr,1),ys--,Ge>ys&&(Ge=ys),this.setPage(Ge))},mA=function(fr){fr>0&&fr<=ys&&(Ge=fr)},Al=_e.__private__.getNumberOfPages=_e.getNumberOfPages=function(){return Wn.length-1},Mc=function(fr,Xr,Ln){var qn,Pi=void 0;return Ln=Ln||{},fr=fr!==void 0?fr:mo[$a].fontName,Xr=Xr!==void 0?Xr:mo[$a].fontStyle,qn=fr.toLowerCase(),ia[qn]!==void 0&&ia[qn][Xr]!==void 0?Pi=ia[qn][Xr]:ia[fr]!==void 0&&ia[fr][Xr]!==void 0?Pi=ia[fr][Xr]:Ln.disableWarning===!1&&a.warn("Unable to look up font label for font '"+fr+"', '"+Xr+"'. Refer to getFontList() for available fonts."),Pi||Ln.noFallback||(Pi=ia.times[Xr])==null&&(Pi=ia.times.normal),Pi},cl=_e.__private__.putInfo=function(){var fr=Co(),Xr=function(qn){return qn};for(var Ln in Qe!==null&&(Xr=uA.encryptor(fr,0)),Pn("<<"),Pn("/Producer ("+eA(Xr("jsPDF "+E.version))+")"),oo)oo.hasOwnProperty(Ln)&&oo[Ln]&&Pn("/"+Ln.substr(0,1).toUpperCase()+Ln.substr(1)+" ("+eA(Xr(oo[Ln]))+")");Pn("/CreationDate ("+eA(Xr(Cr))+")"),Pn(">>"),Pn("endobj")},MA=_e.__private__.putCatalog=function(fr){var Xr=(fr=fr||{}).rootDictionaryObjId||La;switch(Co(),Pn("<<"),Pn("/Type /Catalog"),Pn("/Pages "+Xr+" 0 R"),xa||(xa="fullwidth"),xa){case"fullwidth":Pn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Pn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Pn("/OpenAction [3 0 R /Fit]");break;case"original":Pn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Ln=""+xa;Ln.substr(Ln.length-1)==="%"&&(xa=parseInt(xa)/100),typeof xa=="number"&&Pn("/OpenAction [3 0 R /XYZ null null "+Xe(xa)+"]")}switch(Pr||(Pr="continuous"),Pr){case"continuous":Pn("/PageLayout /OneColumn");break;case"single":Pn("/PageLayout /SinglePage");break;case"two":case"twoleft":Pn("/PageLayout /TwoColumnLeft");break;case"tworight":Pn("/PageLayout /TwoColumnRight")}Ia&&Pn("/PageMode /"+Ia),zo.publish("putCatalog"),Pn(">>"),Pn("endobj")},fc=_e.__private__.putTrailer=function(){Pn("trailer"),Pn("<<"),Pn("/Size "+(Hn+1)),Pn("/Root "+Hn+" 0 R"),Pn("/Info "+(Hn-1)+" 0 R"),Qe!==null&&Pn("/Encrypt "+uA.
|
|||
|
|
`)},OA=_e.__private__.getBlob=function(fr){return new Blob([Ca(fr)],{type:"application/pdf"})},DA=_e.output=_e.__private__.output=gA((function(fr,Xr){switch(typeof(Xr=Xr||{})=="string"?Xr={filename:Xr}:Xr.filename=Xr.filename||"generated.pdf",fr){case void 0:return pc();case"save":_e.save(Xr.filename);break;case"arraybuffer":return Ca(pc());case"blob":return OA(pc());case"bloburi":case"bloburl":if(n.URL!==void 0&&typeof n.URL.createObjectURL=="function")return n.URL&&n.URL.createObjectURL(OA(pc()))||void 0;a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Ln="",qn=pc();try{Ln=h(qn)}catch(Nr){Ln=h(unescape(encodeURIComponent(qn)))}return"data:application/pdf;filename="+Xr.filename+";base64,"+Ln;case"pdfobjectnewwindow":if(Object.prototype.toString.call(n)==="[object Window]"){var Pi="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Fi=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Xr.pdfObjectUrl&&(Pi=Xr.pdfObjectUrl,Fi="");var ua='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Pi+'"'+Fi+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Xr)+");<\/script></body></html>",Ha=n.open();return Ha!==null&&Ha.document.write(ua),Ha}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(n)==="[object Window]"){var Lo='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Xr.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Xr.filename+'" width="500px" height="400px" /></body></html>',No=n.open();if(No!==null){No.document.write(Lo);var rs=this;No.document.documentElement.querySelector("#pdfViewer").onload=function(){No.document.title=Xr.filename,No.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(rs.output("bloburl"))}}return No}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(n)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var hr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Xr)+'"></iframe></body></html>',Br=n.open();if(Br!==null&&(Br.document.write(hr),Br.document.title=Xr.filename),Br||typeof safari=="undefined")return Br;break;case"datauri":case"dataurl":return n.document.location.href=this.output("datauristring",Xr);default:return null}})),W1=function(fr){return Array.isArray(ds)===!0&&ds.indexOf(fr)>-1};switch(Me){case"pt":Xn=1;break;case"mm":Xn=72/25.4;break;case"cm":Xn=72/2.54;break;case"in":Xn=72;break;case"px":Xn=W1("px_scaling")==1?.75:96/72;break;case"pc":case"em":Xn=12;break;case"ex":Xn=6;break;default:if(typeof Me!="number")throw new Error("Invalid unit: "+Me);Xn=Me}var uA=null;Hr(),kr();var Kc=function(fr){return Qe!==null?uA.encryptor(fr,0):function(Xr){return Xr}},ll=_e.__private__.getPageInfo=_e.getPageInfo=function(fr){if(isNaN(fr)||fr%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Do[fr].objId,pageNumber:fr,pageContext:Do[fr]}},Yo=_e.__private__.getPageInfoByObjId=function(fr){if(isNaN(fr)||fr%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Xr in Do)if(Do[Xr].objId===fr)break;return ll(Xr)},dc=_e.__private__.getCurrentPageInfo=_e.getCurrentPageInfo=function(){return{objId:Do[Ge].objId,pageNumber:Ge,pageContext:Do[Ge]}};_e.addPage=function(){return Rc.apply(this,arguments),this},_e.setPage=function(){return mA.apply(this,arguments),Bn.call(this,Wn[Ge]),this},_e.insertPage=function(fr){return this.addPage(),this.
|
|||
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(Br=qn.horizontalScale)!==void 0&&(Zr+=qe(100*Br)+` Tz
|
|||
|
|
`),qn.lang;var ri=-1,Qn=qn.renderingMode!==void 0?qn.renderingMode:qn.stroke,Yn=Or.internal.getCurrentPageInfo().pageContext;switch(Qn){case 0:case!1:case"fill":ri=0;break;case 1:case!0:case"stroke":ri=1;break;case 2:case"fillThenStroke":ri=2;break;case 3:case"invisible":ri=3;break;case 4:case"fillAndAddForClipping":ri=4;break;case 5:case"strokeAndAddPathForClipping":ri=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ri=6;break;case 7:case"addToPathForClipping":ri=7}var ni=Yn.usedRenderingMode!==void 0?Yn.usedRenderingMode:-1;ri!==-1?Zr+=ri+` Tr
|
|||
|
|
`:ni!==-1&&(Zr+=`0 Tr
|
|||
|
|
`),ri!==-1&&(Yn.usedRenderingMode=ri),Lo=qn.align||"left";var ci,Li=wa*Jr,zi=Or.internal.pageSize.getWidth(),Zn=mo[$a];No=qn.charSpace||Tr,rs=qn.maxWidth||0,hr=Object.assign({autoencode:!0,noBOM:!0},qn.flags);var ii=[],vi=function(va){return Or.getStringUnitWidth(va,{font:Zn,charSpace:No,fontSize:wa,doKerning:!1})*wa/rn};if(Object.prototype.toString.call(fr)==="[object Array]"){var Si;ua=tn(fr),Lo!=="left"&&(ci=ua.map(vi));var Yr,hn=0;if(Lo==="right"){Xr-=ci[0],fr=[],Sn=ua.length;for(var En=0;En<Sn;En++)En===0?(Yr=xA(Xr),Si=zA(Ln)):(Yr=ir(hn-ci[En]),Si=-Li),fr.push([ua[En],Yr,Si]),hn=ci[En]}else if(Lo==="center"){Xr-=ci[0]/2,fr=[],Sn=ua.length;for(var Dn=0;Dn<Sn;Dn++)Dn===0?(Yr=xA(Xr),Si=zA(Ln)):(Yr=ir((hn-ci[Dn])/2),Si=-Li),fr.push([ua[Dn],Yr,Si]),hn=ci[Dn]}else if(Lo==="left"){fr=[],Sn=ua.length;for(var Rn=0;Rn<Sn;Rn++)fr.push(ua[Rn])}else if(Lo==="justify"&&Zn.encoding==="Identity-H"){fr=[],Sn=ua.length,rs=rs!==0?rs:zi;for(var pi=0,ui=0;ui<Sn;ui++)if(Si=ui===0?zA(Ln):-Li,Yr=ui===0?xA(Xr):pi,ui<Sn-1){var hi=ir((rs-ci[ui])/(ua[ui].split(" ").length-1)),gi=ua[ui].split(" ");fr.push([gi[0]+" ",Yr,Si]),pi=0;for(var Ze=1;Ze<gi.length;Ze++){var en=(vi(gi[Ze-1]+" "+gi[Ze])-vi(gi[Ze]))*rn+hi;Ze==gi.length-1?fr.push([gi[Ze],en,0]):fr.push([gi[Ze]+" ",en,0]),pi-=en}}else fr.push([ua[ui],Yr,Si]);fr.push(["",pi,0])}else{if(Lo!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(fr=[],Sn=ua.length,rs=rs!==0?rs:zi,ui=0;ui<Sn;ui++)Si=ui===0?zA(Ln):-Li,Yr=ui===0?xA(Xr):0,ui<Sn-1?ii.push(qe(ir((rs-ci[ui])/(ua[ui].split(" ").length-1)))):ii.push(0),fr.push([ua[ui],Yr,Si])}}var mi=typeof qn.R2L=="boolean"?qn.R2L:Ta;mi===!0&&(fr=vn(fr,(function(va,Ba,Ya){return[va.split("").reverse().join(""),Ba,Ya]}))),Fi={text:fr,x:Xr,y:Ln,options:qn,mutex:{pdfEscape:eA,activeFontKey:$a,fonts:mo,activeFontSize:wa}},zo.publish("postProcessText",Fi),fr=Fi.text,Rr=Fi.mutex.isHex||!1;var Ni=mo[$a].encoding;Ni!=="WinAnsiEncoding"&&Ni!=="StandardEncoding"||(fr=vn(fr,(function(va,Ba,Ya){return[An(va),Ba,Ya]}))),ua=tn(fr),fr=[];for(var Vi,ca,ha,Pa=0,Ra=1,to=Array.isArray(ua[0])?Ra:Pa,Fa="",Oa=function(va,Ba,Ya){var jr="";return Ya instanceof ko?(Ya=typeof qn.angle=="number"?y1(Ya,new ko(1,0,0,1,va,Ba)):y1(new ko(1,0,0,1,va,Ba),Ya),wr===sr.ADVANCED&&(Ya=y1(new ko(1,0,0,-1,0,0),Ya)),jr=Ya.join(" ")+` Tm
|
|||
|
|
`):jr=qe(va)+" "+qe(Ba)+` Td
|
|||
|
|
`,jr},no=0;no<ua.length;no++){switch(Fa="",to){case Ra:ha=(Rr?"<":"(")+ua[no][0]+(Rr?">":")"),Vi=parseFloat(ua[no][1]),ca=parseFloat(ua[no][2]);break;case Pa:ha=(Rr?"<":"(")+ua[no]+(Rr?">":")"),Vi=xA(Xr),ca=zA(Ln)}ii!==void 0&&ii[no]!==void 0&&(Fa=ii[no]+` Tw
|
|||
|
|
`),no===0?fr.push(Fa+Oa(Vi,ca,Nr)+ha):to===Pa?fr.push(Fa+ha):to===Ra&&fr.push(Fa+Oa(Vi,ca,Nr)+ha)}fr=to===Pa?fr.join(` Tj
|
|||
|
|
T* `):fr.join(` Tj
|
|||
|
|
`),fr+=` Tj
|
|||
|
|
`;var ro=`BT
|
|||
|
|
/`;return ro+=$a+" "+wa+` Tf
|
|||
|
|
`,ro+=qe(wa*Jr)+` TL
|
|||
|
|
`,ro+=nr+`
|
|||
|
|
`,ro+=Zr,ro+=fr,Pn(ro+="ET"),Ie[$a]=!0,Or};var hl=_e.__private__.clip=_e.clip=function(fr){return Pn(fr==="evenodd"?"W*":"W"),this};_e.clipEvenOdd=function(){return hl("evenodd")},_e.__private__.discardPath=_e.discardPath=function(){return Pn("n"),this};var NA=_e.__private__.isValidStyle=function(fr){var Xr=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(fr)!==-1&&(Xr=!0),Xr};_e.__private__.setDefaultPathOperation=_e.setDefaultPathOperation=function(fr){return NA(fr)&&(Fe=fr),this};var Oc=_e.__private__.getStyle=_e.getStyle=function(fr){var Xr=Fe;switch(fr){case"D":case"S":Xr="S";break;case"F":Xr="f";break;case"FD":case"DF":Xr="B";break;case"f":case"f*":case"B":case"B*":Xr=fr}return Xr},Jc=_e.close=function(){return Pn("h"),this};_e.stroke=function(){return Pn("S"),this},_e.fill=function(fr){return hc("f",fr),this},_e.fillEvenOdd=function(fr){return hc("f*",fr),this},_e.fillStroke=function(fr){return hc("B",fr),this},_e.fillStrokeEvenOdd=function(fr){return hc("B*",fr),this};var hc=function(fr,Xr){_typeof$1(Xr)==="object"?e1(Xr,fr):Pn(fr)},tA=function(fr){fr===null||wr===sr.ADVANCED&&fr===void 0||(fr=Oc(fr),Pn(fr))};function Xc(fr,Xr,Ln,qn,Pi){var Fi=new M(Xr||this.boundingBox,Ln||this.xStep,qn||this.yStep,this.gState,Pi||this.matrix);Fi.stream=this.stream;var ua=fr+"$$"+this.cloneIndex+++"$$";return hs(ua,Fi),Fi}var e1=function(fr,Xr){var Ln=_o[fr.key],qn=qa[Ln];if(qn instanceof B)Pn("q"),Pn($c(Xr)),qn.gState&&_e.setGState(qn.gState),Pn(fr.matrix.toString()+" cm"),Pn("/"+Ln+" sh"),Pn("Q");else if(qn instanceof M){var Pi=new ko(1,0,0,-1,0,ts());fr.matrix&&(Pi=Pi.multiply(fr.matrix||iA),Ln=Xc.call(qn,fr.key,fr.boundingBox,fr.xStep,fr.yStep,Pi).id),Pn("q"),Pn("/Pattern cs"),Pn("/"+Ln+" scn"),qn.gState&&_e.setGState(qn.gState),Pn(Xr),Pn("Q")}},$c=function(fr){switch(fr){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},el=_e.moveTo=function(fr,Xr){return Pn(qe(ir(fr))+" "+qe(vr(Xr))+" m"),this},gc=_e.lineTo=function(fr,Xr){return Pn(qe(ir(fr))+" "+qe(vr(Xr))+" l"),this},$A=_e.curveTo=function(fr,Xr,Ln,qn,Pi,Fi){return Pn([qe(ir(fr)),qe(vr(Xr)),qe(ir(Ln)),qe(vr(qn)),qe(ir(Pi)),qe(vr(Fi)),"c"].join(" ")),this};_e.__private__.line=_e.line=function(fr,Xr,Ln,qn,Pi){if(isNaN(fr)||isNaN(Xr)||isNaN(Ln)||isNaN(qn)||!NA(Pi))throw new Error("Invalid arguments passed to jsPDF.line");return wr===sr.COMPAT?this.lines([[Ln-fr,qn-Xr]],fr,Xr,[1,1],Pi||"S"):this.lines([[Ln-fr,qn-Xr]],fr,Xr,[1,1]).stroke()},_e.__private__.lines=_e.lines=function(fr,Xr,Ln,qn,Pi,Fi){var ua,Ha,Lo,No,rs,hr,Br,Nr,Or,an,Zr,Rr;if(typeof fr=="number"&&(Rr=Ln,Ln=Xr,Xr=fr,fr=Rr),qn=qn||[1,1],Fi=Fi||!1,isNaN(Xr)||isNaN(Ln)||!Array.isArray(fr)||!Array.isArray(qn)||!NA(Pi)||typeof Fi!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(el(Xr,Ln),ua=qn[0],Ha=qn[1],No=fr.length,an=Xr,Zr=Ln,Lo=0;Lo<No;Lo++)(rs=fr[Lo]).length===2?(an=rs[0]*ua+an,Zr=rs[1]*Ha+Zr,gc(an,Zr)):(hr=rs[0]*ua+an,Br=rs[1]*Ha+Zr,Nr=rs[2]*ua+an,Or=rs[3]*Ha+Zr,an=rs[4]*ua+an,Zr=rs[5]*Ha+Zr,$A(hr,Br,Nr,Or,an,Zr));return Fi&&Jc(),tA(Pi),this},_e.path=function(fr){for(var Xr=0;Xr<fr.length;Xr++){var Ln=fr[Xr],qn=Ln.c;switch(Ln.op){case"m":el(qn[0],qn[1]);break;case"l":gc(qn[0],qn[1]);break;case"c":$A.apply(this,qn);break;case"h":Jc()}}return this},_e.__private__.rect=_e.rect=function(fr,Xr,Ln,qn,Pi){if(isNaN(fr)||isNaN(Xr)||isNaN(Ln)||isNaN(qn)||!NA(Pi))throw new Error("Invalid arguments passed to jsPDF.rect");return wr===sr.COMPAT&&(qn=-qn),Pn([qe(ir(fr)),qe(vr(Xr)),qe(ir(Ln)),qe(ir(qn)),"re"].join(" ")),tA(Pi),this},_e.__private__.triangle=_e.triangle=function(fr,Xr,Ln,qn,Pi,Fi,ua){if(isNaN(fr)||isNaN(Xr)||isNaN(Ln)||isNaN(qn)||isNaN(Pi)||isNaN(Fi)||!NA(ua))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Ln-fr,qn-Xr],[Pi-Ln,Fi-qn],[fr-Pi,Xr-Fi]],fr,Xr,[1,1],ua,!0),this},_e.__private__.roundedRect=_e.roundedRect=function(fr,Xr,Ln,qn,Pi,Fi,ua){if(isNaN(fr)||isNaN(Xr)||isNaN(Ln)||isNaN(qn)||isNaN(Pi)||isNaN(Fi)||!NA(ua))throw new Error("Invalid
|
|||
|
|
`),Se}},tt=function(Pe,Ee){var Be=Pe.fontSize===0?Pe.maxFontSize:Pe.fontSize,Me={text:"",fontSize:""},Te=(Ee=(Ee=Ee.substr(0,1)=="("?Ee.substr(1):Ee).substr(Ee.length-1)==")"?Ee.substr(0,Ee.length-1):Ee).split(" ");Te=Pe.multiline?Te.map((function(Re){return Re.split(`
|
|||
|
|
`)})):Te.map((function(Re){return[Re]}));var Se=Be,je=At.internal.getHeight(Pe)||0;je=je<0?-je:je;var ke=At.internal.getWidth(Pe)||0;ke=ke<0?-ke:ke;var Ue=function(Re,ir,pr){if(Re+1<Te.length){var vr=ir+" "+Te[Re+1][0];return et(vr,Pe,pr).width<=ke-4}return!1};Se++;e:for(;Se>0;){Ee="",Se--;var Fe,Qe,He=et("3",Pe,Se).height,Ie=Pe.multiline?je-Se:(je-He)/2,_e=Ie+=2,Ae=0,Ye=0,rr=0;if(Se<=0){Ee=`(...) Tj
|
|||
|
|
`,Ee+="% Width of Text: "+et(Ee,Pe,Se=12).width+", FieldWidth:"+ke+`
|
|||
|
|
`;break}for(var Je="",sr=0,wr=0;wr<Te.length;wr++)if(Te.hasOwnProperty(wr)){var Sr=!1;if(Te[wr].length!==1&&rr!==Te[wr].length-1){if((He+2)*(sr+2)+2>je)continue e;Je+=Te[wr][rr],Sr=!0,Ye=wr,wr--}else{Je=(Je+=Te[wr][rr]+" ").substr(Je.length-1)==" "?Je.substr(0,Je.length-1):Je;var xr=parseInt(wr),mr=Ue(xr,Je,Se),qe=wr>=Te.length-1;if(mr&&!qe){Je+=" ",rr=0;continue}if(mr||qe){if(qe)Ye=xr;else if(Pe.multiline&&(He+2)*(sr+2)+2>je)continue e}else{if(!Pe.multiline||(He+2)*(sr+2)+2>je)continue e;Ye=xr}}for(var lr="",xe=Ae;xe<=Ye;xe++){var Xe=Te[xe];if(Pe.multiline){if(xe===Ye){lr+=Xe[rr]+" ",rr=(rr+1)%Xe.length;continue}if(xe===Ae){lr+=Xe[Xe.length-1]+" ";continue}}lr+=Xe[0]+" "}switch(lr=lr.substr(lr.length-1)==" "?lr.substr(0,lr.length-1):lr,Qe=et(lr,Pe,Se).width,Pe.textAlign){case"right":Fe=ke-Qe-2;break;case"center":Fe=(ke-Qe)/2;break;case"left":default:Fe=2}Ee+=U(Fe)+" "+U(_e)+` Td
|
|||
|
|
`,Ee+="("+R(lr)+`) Tj
|
|||
|
|
`,Ee+=-U(Fe)+` 0 Td
|
|||
|
|
`,_e=-(Se+2),Qe=0,Ae=Sr?Ye:Ye+1,sr++,Je=""}break}return Me.text=Ee,Me.fontSize=Se,Me},et=function(Pe,Ee,Be){var Me=Ee.scope.internal.getFont(Ee.fontName,Ee.fontStyle),Te=Ee.scope.getStringUnitWidth(Pe,{font:Me,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be);return{height:Ee.scope.getStringUnitWidth("3",{font:Me,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be)*1.5,width:Te}},rt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},nt=function(Pe,Ee){var Be={type:"reference",object:Pe};Ee.internal.getPageInfo(Pe.page).pageContext.annotations.find((function(Me){return Me.type===Be.type&&Me.object===Be.object}))===void 0&&Ee.internal.getPageInfo(Pe.page).pageContext.annotations.push(Be)},it=function(Pe,Ee){for(var Be in Pe)if(Pe.hasOwnProperty(Be)){var Me=Be,Te=Pe[Be];Ee.internal.newObjectDeferredBegin(Te.objId,!0),_typeof$1(Te)==="object"&&typeof Te.putStream=="function"&&Te.putStream(),delete Pe[Me]}},at=function(Pe,Ee){if(Ee.scope=Pe,Pe.internal!==void 0&&(Pe.internal.acroformPlugin===void 0||Pe.internal.acroformPlugin.isInitialized===!1)){if(lt.FieldNum=0,Pe.internal.acroformPlugin=JSON.parse(JSON.stringify(rt)),Pe.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");D=Pe.internal.scaleFactor,Pe.internal.acroformPlugin.acroFormDictionaryRoot=new ht,Pe.internal.acroformPlugin.acroFormDictionaryRoot.scope=Pe,Pe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Pe.internal.events.subscribe("postPutResources",(function(){(function(Be){Be.internal.events.unsubscribe(Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Be.internal.acroformPlugin.printedOut=!0})(Pe)})),Pe.internal.events.subscribe("buildDocument",(function(){(function(Be){Be.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Me=Be.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Te in Me)if(Me.hasOwnProperty(Te)){var Se=Me[Te];Se.objId=void 0,Se.hasAnnotation&&nt(Se,Be)}})(Pe)})),Pe.internal.events.subscribe("putCatalog",(function(){(function(Be){if(Be.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Be.internal.write("/AcroForm "+Be.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(Pe)})),Pe.internal.events.subscribe("postPutPages",(function(Be){(function(Me,Te){var Se=!Me;for(var je in Me||(Te.internal.newObjectDeferredBegin(Te.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Te.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Me=Me||Te.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Me.hasOwnProperty(je)){var ke=Me[je],Ue=[],Fe=ke.Rect;if(ke.Rect&&(ke.Rect=$(ke.Rect,Te)),Te.internal.newObjectDeferredBegin(ke.objId,!0),ke.DA=At.createDefaultAppearanceStream(ke),_typeof$1(ke)==="object"&&typeof ke.getKeyValueListForStream=="function"&&(Ue=ke.getKeyValueListForStream()),ke.Rect=Fe,ke.hasAppearanceStream&&!ke.appearanceStreamContent){var Qe=Q(ke);Ue.push({key:"AP",value:"<</N "+Qe+">>"}),Te.internal.acroformPlugin.xForms.push(Qe)}if(ke.appearanceStreamContent){var He="";for(var Ie in ke.appearanceStreamContent)if(ke.appearanceStreamContent.hasOwnProperty(Ie)){var _e=ke.appearanceStreamContent[Ie];if(He+="/"+Ie+" ",He+="<<",Object.keys(_e).length>=1||Array.isArray(_e)){for(var je in _e)if(_e.hasOwnProperty(je)){var Ae=_e[je];typeof Ae=="function"&&(Ae=Ae.call(Te,ke)),He+="/"+je+" "+Ae+" ",Te.internal.acroformPlugin.xForms.indexOf(Ae)>=0||Te.internal.acroformPlugin.xForms.push(Ae)}}else typeof(Ae=_e)=="function"&&(Ae=Ae.call(Te,ke)),He+="/"+je+" "+Ae,Te.internal.acroformPlugin.xForms.indexOf(Ae)>=0||Te.internal.acroformPlugin.xForms.push(Ae);He+=">>"}Ue.push({key:"AP",value:`<<
|
|||
|
|
`+He+">>"})}Te.internal.putStream({additionalKeyValues:Ue,objectId:ke.objId}),Te.internal.out("endobj")}Se&&it(Te.internal.acroformPlugin.xForms,Te)})(Be,Pe)})),Pe.internal.acroformPlugin.isInitialized=!0}},ot=q.__acroform__.arrayToPdfArray=function(Pe,Ee,Be){var Me=function(je){return je};if(Array.isArray(Pe)){for(var Te="[",Se=0;Se<Pe.length;Se++)switch(Se!==0&&(Te+=" "),_typeof$1(Pe[Se])){case"boolean":case"number":case"object":Te+=Pe[Se].toString();break;case"string":Pe[Se].substr(0,1)!=="/"?(Ee!==void 0&&Be&&(Me=Be.internal.getEncryptor(Ee)),Te+="("+R(Me(Pe[Se].toString()))+")"):Te+=Pe[Se].toString()}return Te+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},st=function(Pe,Ee,Be){var Me=function(Te){return Te};return Ee!==void 0&&Be&&(Me=Be.internal.getEncryptor(Ee)),(Pe=Pe||"").toString(),Pe="("+R(Me(Pe))+")"},ct=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Pe){this._objId=Pe}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ct.prototype.toString=function(){return this.objId+" 0 R"},ct.prototype.putStream=function(){var Pe=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Pe,objectId:this.objId}),this.scope.internal.out("endobj")},ct.prototype.getKeyValueListForStream=function(){var Pe=[],Ee=Object.getOwnPropertyNames(this).filter((function(Se){return Se!="content"&&Se!="appearanceStreamContent"&&Se!="scope"&&Se!="objId"&&Se.substring(0,1)!="_"}));for(var Be in Ee)if(Object.getOwnPropertyDescriptor(this,Ee[Be]).configurable===!1){var Me=Ee[Be],Te=this[Me];Te&&(Array.isArray(Te)?Pe.push({key:Me,value:ot(Te,this.objId,this.scope)}):Te instanceof ct?(Te.scope=this.scope,Pe.push({key:Me,value:Te.objId+" 0 R"})):typeof Te!="function"&&Pe.push({key:Me,value:Te}))}return Pe};var ut=function(){ct.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var Pe,Ee=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Ee},set:function(Be){Ee=Be}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Be){Pe=Be.trim()},get:function(){return Pe||null}})};H(ut,ct);var ht=function(){ct.call(this);var Pe,Ee=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Ee.length>0?Ee:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Ee}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Pe){var Be=function(Me){return Me};return this.scope&&(Be=this.scope.internal.getEncryptor(this.objId)),"("+R(Be(Pe))+")"}},set:function(Be){Pe=Be}})};H(ht,ct);var lt=function Pe(){ct.call(this);var Ee=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Ee},set:function(Je){if(isNaN(Je))throw new Error('Invalid value "'+Je+'" for attribute F supplied.');Ee=Je}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!X(Ee,3)},set:function(Je){Je?this.F=K(Ee,3):this.F=Z(Ee,3)}});var Be=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Be},set:function(Je){if(isNaN(Je))throw new Error('Invalid value "'+Je+'" for attribute Ff supplied.');Be=Je}});var Me=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Me.length!==0)return Me},set:function(Je){Me=Je!==void 0?Je:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Me||isNaN(Me[0])?0:Me[0]},set:function(Je){Me[0]=Je}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(
|
|||
|
|
`)}},set:function(Be){_typeof$1(Be)==="object"&&(Ee=Be)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ee.CA||""},set:function(Be){typeof Be=="string"&&(Ee.CA=Be)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Pe},set:function(Be){Pe=Be}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Pe.substr(1,Pe.length-1)},set:function(Be){Pe="/"+Be}})};H(mt,lt);var vt=function(){mt.call(this),this.pushButton=!0};H(vt,mt);var bt=function(){mt.call(this),this.radio=!0,this.pushButton=!1;var Pe=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Pe},set:function(Ee){Pe=Ee!==void 0?Ee:[]}})};H(bt,mt);var yt=function(){var Pe,Ee;lt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Pe},set:function(Te){Pe=Te}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Te){Ee=Te}});var Be,Me={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Te=function(ke){return ke};this.scope&&(Te=this.scope.internal.getEncryptor(this.objId));var Se,je=[];for(Se in je.push("<<"),Me)je.push("/"+Se+" ("+R(Te(Me[Se]))+")");return je.push(">>"),je.join(`
|
|||
|
|
`)},set:function(Te){_typeof$1(Te)==="object"&&(Me=Te)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Me.CA||""},set:function(Te){typeof Te=="string"&&(Me.CA=Te)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Be},set:function(Te){Be=Te}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Be.substr(1,Be.length-1)},set:function(Te){Be="/"+Te}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=At.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};H(yt,lt),bt.prototype.setAppearance=function(Pe){if(!("createAppearanceStream"in Pe)||!("getCA"in Pe))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Ee in this.Kids)if(this.Kids.hasOwnProperty(Ee)){var Be=this.Kids[Ee];Be.appearanceStreamContent=Pe.createAppearanceStream(Be.optionName),Be.caption=Pe.getCA()}},bt.prototype.createOption=function(Pe){var Ee=new yt;return Ee.Parent=this,Ee.optionName=Pe,this.Kids.push(Ee),xt.call(this.scope,Ee),Ee};var wt=function(){mt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=At.CheckBox.createAppearanceStream()};H(wt,mt);var Nt=function(){lt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,13)},set:function(Ee){Ee?this.Ff=K(this.Ff,13):this.Ff=Z(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,21)},set:function(Ee){Ee?this.Ff=K(this.Ff,21):this.Ff=Z(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,23)},set:function(Ee){Ee?this.Ff=K(this.Ff,23):this.Ff=Z(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,24)},set:function(Ee){Ee?this.Ff=K(this.Ff,24):this.Ff=Z(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,25)},set:function(Ee){Ee?this.Ff=K(this.Ff,25):this.Ff=Z(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,26)},set:function(Ee){Ee?this.Ff=K(this.Ff,26):this.Ff=Z(this.Ff,26)}});var Pe=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Pe},set:function(Ee){Pe=Ee}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Pe},set:function(Ee){Number.isInteger(Ee)&&(Pe=Ee)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};H(Nt,lt);var Lt=function(){Nt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!X(this.Ff,14)},set:function(Pe){Pe?this.Ff=K(this.Ff,14):this.Ff=Z(this.Ff,14)}}),this.password=!0};H(Lt,Nt);var At={CheckBox:{createAppearanceStream:function(){return{N:{On:At.CheckBox.YesNormal},D:{On:At.CheckBox.YesPushDown,Off:At.CheckBox.OffPushDown}}},YesPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[],Me=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle).id,Te=Pe.scope.__private__.encodeColorString(Pe.color),Se=tt(Pe,Pe.caption);return Be.push("0.749023 g"),Be.push("0 0 "+U(At.internal.getWidth(Pe))+" "+U(At.internal.getHeight(Pe))+" re"),Be.push("f"),Be.push("BMC"),Be.push("q"),Be.push("0 0 1 rg"),Be.push("/"+Me+" "+U(Se.fontSize)+" Tf "+Te),Be.push("BT"),Be.push(Se.text),Be.push("ET"),Be.push("Q"),Be.push("EMC"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee},YesNormal:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle).id,Me=Pe.scope.__private__.encodeColorString(Pe.color),Te=[],Se=At.internal.getHeight(Pe),je=At.internal.getWidth(Pe),ke=tt(Pe,Pe.caption);return Te.push("1 g"),Te.push("0 0 "+U(je)+" "+U(Se)+" re"),Te.push("f"),Te.push("q"),Te.push("0 0 1 rg"),Te.push("0 0 "+U(je-1)+" "+U(Se-1)+" re"),Te.push("W"),Te.push("n"),Te.push("0 g"),Te.push("BT"),Te.push("/"+Be+" "+U(ke.fontSize)+" Tf "+Me),Te.push(ke.text),Te.push("ET"),Te.push("Q"),Ee.stream=Te.join(`
|
|||
|
|
`),Ee},OffPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+U(At.internal.getWidth(Pe))+" "+U(At.internal.getHeight(Pe))+" re"),Be.push("f"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee}},RadioButton:{Circle:{createAppearanceStream:function(Pe){var Ee={D:{Off:At.RadioButton.Circle.OffPushDown},N:{}};return Ee.N[Pe]=At.RadioButton.Circle.YesNormal,Ee.D[Pe]=At.RadioButton.Circle.YesPushDown,Ee},getCA:function(){return"l"},YesNormal:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[],Me=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Me=Number((.9*Me).toFixed(5));var Te=At.internal.Bezier_C,Se=Number((Me*Te).toFixed(5));return Be.push("q"),Be.push("1 0 0 1 "+z(At.internal.getWidth(Pe)/2)+" "+z(At.internal.getHeight(Pe)/2)+" cm"),Be.push(Me+" 0 m"),Be.push(Me+" "+Se+" "+Se+" "+Me+" 0 "+Me+" c"),Be.push("-"+Se+" "+Me+" -"+Me+" "+Se+" -"+Me+" 0 c"),Be.push("-"+Me+" -"+Se+" -"+Se+" -"+Me+" 0 -"+Me+" c"),Be.push(Se+" -"+Me+" "+Me+" -"+Se+" "+Me+" 0 c"),Be.push("f"),Be.push("Q"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee},YesPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[],Me=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Me=Number((.9*Me).toFixed(5));var Te=Number((2*Me).toFixed(5)),Se=Number((Te*At.internal.Bezier_C).toFixed(5)),je=Number((Me*At.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+z(At.internal.getWidth(Pe)/2)+" "+z(At.internal.getHeight(Pe)/2)+" cm"),Be.push(Te+" 0 m"),Be.push(Te+" "+Se+" "+Se+" "+Te+" 0 "+Te+" c"),Be.push("-"+Se+" "+Te+" -"+Te+" "+Se+" -"+Te+" 0 c"),Be.push("-"+Te+" -"+Se+" -"+Se+" -"+Te+" 0 -"+Te+" c"),Be.push(Se+" -"+Te+" "+Te+" -"+Se+" "+Te+" 0 c"),Be.push("f"),Be.push("Q"),Be.push("0 g"),Be.push("q"),Be.push("1 0 0 1 "+z(At.internal.getWidth(Pe)/2)+" "+z(At.internal.getHeight(Pe)/2)+" cm"),Be.push(Me+" 0 m"),Be.push(Me+" "+je+" "+je+" "+Me+" 0 "+Me+" c"),Be.push("-"+je+" "+Me+" -"+Me+" "+je+" -"+Me+" 0 c"),Be.push("-"+Me+" -"+je+" -"+je+" -"+Me+" 0 -"+Me+" c"),Be.push(je+" -"+Me+" "+Me+" -"+je+" "+Me+" 0 c"),Be.push("f"),Be.push("Q"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee},OffPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[],Me=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Me=Number((.9*Me).toFixed(5));var Te=Number((2*Me).toFixed(5)),Se=Number((Te*At.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+z(At.internal.getWidth(Pe)/2)+" "+z(At.internal.getHeight(Pe)/2)+" cm"),Be.push(Te+" 0 m"),Be.push(Te+" "+Se+" "+Se+" "+Te+" 0 "+Te+" c"),Be.push("-"+Se+" "+Te+" -"+Te+" "+Se+" -"+Te+" 0 c"),Be.push("-"+Te+" -"+Se+" -"+Se+" -"+Te+" 0 -"+Te+" c"),Be.push(Se+" -"+Te+" "+Te+" -"+Se+" "+Te+" 0 c"),Be.push("f"),Be.push("Q"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee}},Cross:{createAppearanceStream:function(Pe){var Ee={D:{Off:At.RadioButton.Cross.OffPushDown},N:{}};return Ee.N[Pe]=At.RadioButton.Cross.YesNormal,Ee.D[Pe]=At.RadioButton.Cross.YesPushDown,Ee},getCA:function(){return"8"},YesNormal:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[],Me=At.internal.calculateCross(Pe);return Be.push("q"),Be.push("1 1 "+U(At.internal.getWidth(Pe)-2)+" "+U(At.internal.getHeight(Pe)-2)+" re"),Be.push("W"),Be.push("n"),Be.push(U(Me.x1.x)+" "+U(Me.x1.y)+" m"),Be.push(U(Me.x2.x)+" "+U(Me.x2.y)+" l"),Be.push(U(Me.x4.x)+" "+U(Me.x4.y)+" m"),Be.push(U(Me.x3.x)+" "+U(Me.x3.y)+" l"),Be.push("s"),Be.push("Q"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee},YesPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=At.internal.calculateCross(Pe),Me=[];return Me.push("0.749023 g"),Me.push("0 0 "+U(At.internal.getWidth(Pe))+" "+U(At.internal.getHeight(Pe))+" re"),Me.push("f"),Me.push("q"),Me.push("1 1 "+U(At.internal.getWidth(Pe)-2)+" "+U(At.internal.getHeight(Pe)-2)+" re"),Me.push("W"),Me.push("n"),Me.push(U(Be.x1.x)+" "+U(Be.x1.y)+" m"),Me.push(U(Be.x2.x)+" "+U(Be.x2.y)+" l"),Me.push(U(Be.x4.x)+" "+U(Be.x4.y)+" m"),Me.push(U(Be.x3.x)+" "+U(Be.x3.y)+" l"),Me.push("s"),Me.push("Q"),Ee.stream=Me.join(`
|
|||
|
|
`),Ee},OffPushDown:function(Pe){var Ee=V(Pe);Ee.scope=Pe.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+U(At.internal.getWidth(Pe))+" "+U(At.internal.getHeight(Pe))+" re"),Be.push("f"),Ee.stream=Be.join(`
|
|||
|
|
`),Ee}}},createDefaultAppearanceStream:function(Pe){var Ee=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle).id,Be=Pe.scope.__private__.encodeColorString(Pe.color);return"/"+Ee+" "+Pe.fontSize+" Tf "+Be}};At.internal={Bezier_C:.551915024494,calculateCross:function(Pe){var Ee=At.internal.getWidth(Pe),Be=At.internal.getHeight(Pe),Me=Math.min(Ee,Be);return{x1:{x:(Ee-Me)/2,y:(Be-Me)/2+Me},x2:{x:(Ee-Me)/2+Me,y:(Be-Me)/2},x3:{x:(Ee-Me)/2,y:(Be-Me)/2},x4:{x:(Ee-Me)/2+Me,y:(Be-Me)/2+Me}}}},At.internal.getWidth=function(Pe){var Ee=0;return _typeof$1(Pe)==="object"&&(Ee=W(Pe.Rect[2])),Ee},At.internal.getHeight=function(Pe){var Ee=0;return _typeof$1(Pe)==="object"&&(Ee=W(Pe.Rect[3])),Ee};var xt=q.addField=function(Pe){if(at(this,Pe),!(Pe instanceof lt))throw new Error("Invalid argument passed to jsPDF.addField.");var Ee;return(Ee=Pe).scope.internal.acroformPlugin.printedOut&&(Ee.scope.internal.acroformPlugin.printedOut=!1,Ee.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Ee.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Ee),Pe.page=Pe.scope.internal.getCurrentPageInfo().pageNumber,this};q.AcroFormChoiceField=ft,q.AcroFormListBox=dt,q.AcroFormComboBox=pt,q.AcroFormEditBox=gt,q.AcroFormButton=mt,q.AcroFormPushButton=vt,q.AcroFormRadioButton=bt,q.AcroFormCheckBox=wt,q.AcroFormTextField=Nt,q.AcroFormPasswordField=Lt,q.AcroFormAppearance=At,q.AcroForm={ChoiceField:ft,ListBox:dt,ComboBox:pt,EditBox:gt,Button:mt,PushButton:vt,RadioButton:bt,CheckBox:wt,TextField:Nt,PasswordField:Lt,Appearance:At},E.AcroForm={ChoiceField:ft,ListBox:dt,ComboBox:pt,EditBox:gt,Button:mt,PushButton:vt,RadioButton:bt,CheckBox:wt,TextField:Nt,PasswordField:Lt,Appearance:At};var St=E.AcroForm;function _t(Pe){return Pe.reduce((function(Ee,Be,Me){return Ee[Be]=Me,Ee}),{})}(function(Pe){Pe.__addimage__={};var Ee="UNKNOWN",Be={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Me=Pe.__addimage__.getImageFileTypeByImageData=function(Re,ir){var pr,vr,Cr,Ir,gr,kr=Ee;if((ir=ir||Ee)==="RGBA"||Re.data!==void 0&&Re.data instanceof Uint8ClampedArray&&"height"in Re&&"width"in Re)return"RGBA";if(mr(Re))for(gr in Be)for(Cr=Be[gr],pr=0;pr<Cr.length;pr+=1){for(Ir=!0,vr=0;vr<Cr[pr].length;vr+=1)if(Cr[pr][vr]!==void 0&&Cr[pr][vr]!==Re[vr]){Ir=!1;break}if(Ir===!0){kr=gr;break}}else for(gr in Be)for(Cr=Be[gr],pr=0;pr<Cr.length;pr+=1){for(Ir=!0,vr=0;vr<Cr[pr].length;vr+=1)if(Cr[pr][vr]!==void 0&&Cr[pr][vr]!==Re.charCodeAt(vr)){Ir=!1;break}if(Ir===!0){kr=gr;break}}return kr===Ee&&ir!==Ee&&(kr=ir),kr},Te=function Re(ir){for(var pr=this.internal.write,vr=this.internal.putStream,Cr=(0,this.internal.getFilters)();Cr.indexOf("FlateEncode")!==-1;)Cr.splice(Cr.indexOf("FlateEncode"),1);ir.objectId=this.internal.newObject();var Ir=[];if(Ir.push({key:"Type",value:"/XObject"}),Ir.push({key:"Subtype",value:"/Image"}),Ir.push({key:"Width",value:ir.width}),Ir.push({key:"Height",value:ir.height}),ir.colorSpace===rr.INDEXED?Ir.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ir.palette.length/3-1)+" "+("sMask"in ir&&ir.sMask!==void 0?ir.objectId+2:ir.objectId+1)+" 0 R]"}):(Ir.push({key:"ColorSpace",value:"/"+ir.colorSpace}),ir.colorSpace===rr.DEVICE_CMYK&&Ir.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ir.push({key:"BitsPerComponent",value:ir.bitsPerComponent}),"decodeParameters"in ir&&ir.decodeParameters!==void 0&&Ir.push({key:"DecodeParms",value:"<<"+ir.decodeParameters+">>"}),"transparency"in ir&&Array.isArray(ir.transparency)){for(var gr="",kr=0,Wr=ir.transparency.length;kr<Wr;kr++)gr+=ir.transparency[kr]+" "+ir.transparency[kr]+" ";Ir.push({key:"Mask",value:"["+gr+"]"})}ir.sMask!==void 0&&Ir.push({key:"SMask",value:ir.objectId+1+" 0 R"});var Ce=ir.filter!==void 0?["/"+ir.filter]:void 0;if(vr({data:ir.data,addi
|
|||
|
|
`},Be.outline.makeRef=function(Me){return Me.id+" 0 R"},Be.outline.makeString=function(Me){return"("+Be.internal.pdfEscape(Me)+")"},Be.outline.objStart=function(Me){this.ctx.val+=`\r
|
|||
|
|
`+Me.id+` 0 obj\r
|
|||
|
|
<<\r
|
|||
|
|
`},Be.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|||
|
|
endobj\r
|
|||
|
|
`},Be.outline.count_r=function(Me,Te){for(var Se=0;Se<Te.children.length;Se++)Me.count++,this.count_r(Me,Te.children[Se]);return Me.count}}])})(E.API),(function(Pe){var Ee=[192,193,194,195,196,197,198,199];Pe.processJPEG=function(Be,Me,Te,Se,je,ke){var Ue,Fe=this.decode.DCT_DECODE,Qe=null;if(typeof Be=="string"||this.__addimage__.isArrayBuffer(Be)||this.__addimage__.isArrayBufferView(Be)){switch(Be=je||Be,Be=this.__addimage__.isArrayBuffer(Be)?new Uint8Array(Be):Be,(Ue=(function(He){for(var Ie,_e=256*He.charCodeAt(4)+He.charCodeAt(5),Ae=He.length,Ye={width:0,height:0,numcomponents:1},rr=4;rr<Ae;rr+=2){if(rr+=_e,Ee.indexOf(He.charCodeAt(rr+1))!==-1){Ie=256*He.charCodeAt(rr+5)+He.charCodeAt(rr+6),Ye={width:256*He.charCodeAt(rr+7)+He.charCodeAt(rr+8),height:Ie,numcomponents:He.charCodeAt(rr+9)};break}_e=256*He.charCodeAt(rr+2)+He.charCodeAt(rr+3)}return Ye})(Be=this.__addimage__.isArrayBufferView(Be)?this.__addimage__.arrayBufferToBinaryString(Be):Be)).numcomponents){case 1:ke=this.color_spaces.DEVICE_GRAY;break;case 4:ke=this.color_spaces.DEVICE_CMYK;break;case 3:ke=this.color_spaces.DEVICE_RGB}Qe={data:Be,width:Ue.width,height:Ue.height,colorSpace:ke,bitsPerComponent:8,filter:Fe,index:Me,alias:Te}}return Qe}})(E.API);var Vt,Gt,Yt,Jt,Xt,Kt=(function(){var Pe,Ee,Be;function Me(Se){var je,ke,Ue,Fe,Qe,He,Ie,_e,Ae,Ye,rr,Je,sr,wr;for(this.data=Se,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},He=null;;){switch(je=this.readUInt32(),Ae=function(){var Sr,xr;for(xr=[],Sr=0;Sr<4;++Sr)xr.push(String.fromCharCode(this.data[this.pos++]));return xr}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(je);break;case"fcTL":He&&this.animation.frames.push(He),this.pos+=4,He={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},Qe=this.readUInt16(),Fe=this.readUInt16()||100,He.delay=1e3*Qe/Fe,He.disposeOp=this.data[this.pos++],He.blendOp=this.data[this.pos++],He.data=[];break;case"IDAT":case"fdAT":for(Ae==="fdAT"&&(this.pos+=4,je-=4),Se=(He!=null?He.data:void 0)||this.imgData,Je=0;0<=je?Je<je:Je>je;0<=je?++Je:--Je)Se.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Ue=this.palette.length/3,this.transparency.indexed=this.read(je),this.transparency.indexed.length>Ue)throw new Error("More transparent colors than palette size");if((Ye=Ue-this.transparency.indexed.length)>0)for(sr=0;0<=Ye?sr<Ye:sr>Ye;0<=Ye?++sr:--sr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(je)[0];break;case 2:this.transparency.rgb=this.read(je)}break;case"tEXt":Ie=(rr=this.read(je)).indexOf(0),_e=String.fromCharCode.apply(String,rr.slice(0,Ie)),this.text[_e]=String.fromCharCode.apply(String,rr.slice(Ie+1));break;case"IEND":return He&&this.animation.frames.push(He),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(wr=this.colorType)===4||wr===6,ke=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*ke,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=je}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Me.prototype.read=function(Se){var je,ke;for(ke=[],je=0;0<=Se?je<Se:je>Se;0<=Se?++je:--je)ke.push(this.data[this.pos++]);return ke},Me.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Me.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this
|
|||
|
|
* @license
|
|||
|
|
*
|
|||
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|||
|
|
* a copy of this software and associated documentation files (the
|
|||
|
|
* "Software"), to deal in the Software without restriction, including
|
|||
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|||
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|||
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|||
|
|
* the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be
|
|||
|
|
* included in all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|||
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|||
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|||
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
* ====================================================================
|
|||
|
|
*//**
|
|||
|
|
* @license
|
|||
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|||
|
|
*
|
|||
|
|
* https://github.com/deanm/omggif
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|||
|
|
* of this software and associated documentation files (the "Software"), to
|
|||
|
|
* deal in the Software without restriction, including without limitation the
|
|||
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|||
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|||
|
|
* furnished to do so, subject to the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be included in
|
|||
|
|
* all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|||
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|||
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|||
|
|
* IN THE SOFTWARE.
|
|||
|
|
*
|
|||
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|||
|
|
* including animation and compression. It does not rely on any specific
|
|||
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|||
|
|
*/function Zt(Pe){var Ee=0;if(Pe[Ee++]!==71||Pe[Ee++]!==73||Pe[Ee++]!==70||Pe[Ee++]!==56||(Pe[Ee++]+1&253)!=56||Pe[Ee++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Be=Pe[Ee++]|Pe[Ee++]<<8,Me=Pe[Ee++]|Pe[Ee++]<<8,Te=Pe[Ee++],Se=Te>>7,je=1<<(7&Te)+1;Pe[Ee++],Pe[Ee++];var ke=null,Ue=null;Se&&(ke=Ee,Ue=je,Ee+=3*je);var Fe=!0,Qe=[],He=0,Ie=null,_e=0,Ae=null;for(this.width=Be,this.height=Me;Fe&&Ee<Pe.length;)switch(Pe[Ee++]){case 33:switch(Pe[Ee++]){case 255:if(Pe[Ee]!==11||Pe[Ee+1]==78&&Pe[Ee+2]==69&&Pe[Ee+3]==84&&Pe[Ee+4]==83&&Pe[Ee+5]==67&&Pe[Ee+6]==65&&Pe[Ee+7]==80&&Pe[Ee+8]==69&&Pe[Ee+9]==50&&Pe[Ee+10]==46&&Pe[Ee+11]==48&&Pe[Ee+12]==3&&Pe[Ee+13]==1&&Pe[Ee+16]==0)Ee+=14,Ae=Pe[Ee++]|Pe[Ee++]<<8,Ee++;else for(Ee+=12;;){if(!((Re=Pe[Ee++])>=0))throw Error("Invalid block size");if(Re===0)break;Ee+=Re}break;case 249:if(Pe[Ee++]!==4||Pe[Ee+4]!==0)throw new Error("Invalid graphics extension block.");var Ye=Pe[Ee++];He=Pe[Ee++]|Pe[Ee++]<<8,Ie=Pe[Ee++],(1&Ye)==0&&(Ie=null),_e=Ye>>2&7,Ee++;break;case 254:for(;;){if(!((Re=Pe[Ee++])>=0))throw Error("Invalid block size");if(Re===0)break;Ee+=Re}break;default:throw new Error("Unknown graphic control label: 0x"+Pe[Ee-1].toString(16))}break;case 44:var rr=Pe[Ee++]|Pe[Ee++]<<8,Je=Pe[Ee++]|Pe[Ee++]<<8,sr=Pe[Ee++]|Pe[Ee++]<<8,wr=Pe[Ee++]|Pe[Ee++]<<8,Sr=Pe[Ee++],xr=Sr>>6&1,mr=1<<(7&Sr)+1,qe=ke,lr=Ue,xe=!1;Sr>>7&&(xe=!0,qe=Ee,lr=mr,Ee+=3*mr);var Xe=Ee;for(Ee++;;){var Re;if(!((Re=Pe[Ee++])>=0))throw Error("Invalid block size");if(Re===0)break;Ee+=Re}Qe.push({x:rr,y:Je,width:sr,height:wr,has_local_palette:xe,palette_offset:qe,palette_size:lr,data_offset:Xe,data_length:Ee-Xe,transparent_index:Ie,interlaced:!!xr,delay:He,disposal:_e});break;case 59:Fe=!1;break;default:throw new Error("Unknown gif block: 0x"+Pe[Ee-1].toString(16))}this.numFrames=function(){return Qe.length},this.loopCount=function(){return Ae},this.frameInfo=function(ir){if(ir<0||ir>=Qe.length)throw new Error("Frame index out of range.");return Qe[ir]},this.decodeAndBlitFrameBGRA=function(ir,pr){var vr=this.frameInfo(ir),Cr=vr.width*vr.height,Ir=new Uint8Array(Cr);$t(Pe,vr.data_offset,Ir,Cr);var gr=vr.palette_offset,kr=vr.transparent_index;kr===null&&(kr=256);var Wr=vr.width,Ce=Be-Wr,Hr=Wr,De=4*(vr.y*Be+vr.x),Ge=4*((vr.y+vr.height)*Be+vr.x),ar=De,xn=4*Ce;vr.interlaced===!0&&(xn+=4*Be*7);for(var Hn=8,$n=0,Un=Ir.length;$n<Un;++$n){var $r=Ir[$n];if(Hr===0&&(Hr=Wr,(ar+=xn)>=Ge&&(xn=4*Ce+4*Be*(Hn-1),ar=De+(Wr+Ce)*(Hn<<1),Hn>>=1)),$r===kr)ar+=4;else{var Oi=Pe[gr+3*$r],Wn=Pe[gr+3*$r+1],Lr=Pe[gr+3*$r+2];pr[ar++]=Lr,pr[ar++]=Wn,pr[ar++]=Oi,pr[ar++]=255}--Hr}},this.decodeAndBlitFrameRGBA=function(ir,pr){var vr=this.frameInfo(ir),Cr=vr.width*vr.height,Ir=new Uint8Array(Cr);$t(Pe,vr.data_offset,Ir,Cr);var gr=vr.palette_offset,kr=vr.transparent_index;kr===null&&(kr=256);var Wr=vr.width,Ce=Be-Wr,Hr=Wr,De=4*(vr.y*Be+vr.x),Ge=4*((vr.y+vr.height)*Be+vr.x),ar=De,xn=4*Ce;vr.interlaced===!0&&(xn+=4*Be*7);for(var Hn=8,$n=0,Un=Ir.length;$n<Un;++$n){var $r=Ir[$n];if(Hr===0&&(Hr=Wr,(ar+=xn)>=Ge&&(xn=4*Ce+4*Be*(Hn-1),ar=De+(Wr+Ce)*(Hn<<1),Hn>>=1)),$r===kr)ar+=4;else{var Oi=Pe[gr+3*$r],Wn=Pe[gr+3*$r+1],Lr=Pe[gr+3*$r+2];pr[ar++]=Oi,pr[ar++]=Wn,pr[ar++]=Lr,pr[ar++]=255}--Hr}}}function $t(Pe,Ee,Be,Me){for(var Te=Pe[Ee++],Se=1<<Te,je=Se+1,ke=je+1,Ue=Te+1,Fe=(1<<Ue)-1,Qe=0,He=0,Ie=0,_e=Pe[Ee++],Ae=new Int32Array(4096),Ye=null;;){for(;Qe<16&&_e!==0;)He|=Pe[Ee++]<<Qe,Qe+=8,_e===1?_e=Pe[Ee++]:--_e;if(Qe<Ue)break;var rr=He&Fe;if(He>>=Ue,Qe-=Ue,rr!==Se){if(rr===je)break;for(var Je=rr<ke?rr:Ye,sr=0,wr=Je;wr>Se;)wr=Ae[wr]>>8,++sr;var Sr=wr;if(Ie+sr+(Je!==rr?1:0)>Me)return void a.log("Warning, gif stream longer than expected.");Be[Ie++]=Sr;var xr=Ie+=sr;for(Je!==rr&&(Be[Ie++]=Sr),wr=Je;sr--;)wr=Ae[wr],Be[--xr]=255&wr,wr>>=8;Ye!==null&&ke<4096&&(Ae[ke++]=Ye<<8|Sr,ke>=Fe+1&&Ue<12&&(++Ue,Fe=Fe<<1|1)),Ye=rr}else ke=je+1,Fe=(1<<(Ue=Te+1))-1,Ye=null}return Ie!==Me&&a.log("Warning, gif stream shorter than expected."),Be}/**
|
|||
|
|
* @license
|
|||
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|||
|
|
All rights reserved.
|
|||
|
|
|
|||
|
|
Redistribution and use in source and binary forms, with or without
|
|||
|
|
modification, are permitted provided that the following conditions are
|
|||
|
|
met:
|
|||
|
|
|
|||
|
|
* Redistributions of source code must retain the above copyright notice,
|
|||
|
|
this list of conditions and the following disclaimer.
|
|||
|
|
|
|||
|
|
* Redistributions in binary form must reproduce the above copyright
|
|||
|
|
notice, this list of conditions and the following disclaimer in the
|
|||
|
|
documentation and/or other materials provided with the distribution.
|
|||
|
|
|
|||
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|||
|
|
contributors may be used to endorse or promote products derived from
|
|||
|
|
this software without specific prior written permission.
|
|||
|
|
|
|||
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|||
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|||
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|||
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|||
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|||
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|||
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|||
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|||
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|
*/function Qt(Pe){var Ee,Be,Me,Te,Se,je=Math.floor,ke=new Array(64),Ue=new Array(64),Fe=new Array(64),Qe=new Array(64),He=new Array(65535),Ie=new Array(65535),_e=new Array(64),Ae=new Array(64),Ye=[],rr=0,Je=7,sr=new Array(64),wr=new Array(64),Sr=new Array(64),xr=new Array(256),mr=new Array(2048),qe=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],lr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xe=[0,1,2,3,4,5,6,7,8,9,10,11],Xe=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Re=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ir=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],pr=[0,1,2,3,4,5,6,7,8,9,10,11],vr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Cr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Ir(De,Ge){for(var ar=0,xn=0,Hn=new Array,$n=1;$n<=16;$n++){for(var Un=1;Un<=De[$n];Un++)Hn[Ge[xn]]=[],Hn[Ge[xn]][0]=ar,Hn[Ge[xn]][1]=$n,xn++,ar++;ar*=2}return Hn}function gr(De){for(var Ge=De[0],ar=De[1]-1;ar>=0;)Ge&1<<ar&&(rr|=1<<Je),ar--,--Je<0&&(rr==255?(kr(255),kr(0)):kr(rr),Je=7,rr=0)}function kr(De){Ye.push(De)}function Wr(De){kr(De>>8&255),kr(255&De)}function Ce(De,Ge,ar,xn,Hn){for(var $n,Un=Hn[0],$r=Hn[240],Oi=(function(Zi,wa){var xa,Aa,Ta,Ia,or,Pr,ja,Ps,oo,$a,Xn=0;for(oo=0;oo<8;++oo){xa=Zi[Xn],Aa=Zi[Xn+1],Ta=Zi[Xn+2],Ia=Zi[Xn+3],or=Zi[Xn+4],Pr=Zi[Xn+5],ja=Zi[Xn+6];var fo=xa+(Ps=Zi[Xn+7]),eo=xa-Ps,lo=Aa+ja,mo=Aa-ja,ia=Ta+Pr,po=Ta-Pr,qa=Ia+or,_o=Ia-or,So=fo+qa,ls=fo-qa,js=lo+ia,ys=lo-ia;Zi[Xn]=So+js,Zi[Xn+4]=So-js;var Do=.707106781*(ys+ls);Zi[Xn+2]=ls+Do,Zi[Xn+6]=ls-Do;var zo=.382683433*((So=_o+po)-(ys=mo+eo)),ds=.5411961*So+zo,Os=1.306562965*ys+zo,hA=.707106781*(js=po+mo),EA=eo+hA,ko=eo-hA;Zi[Xn+5]=ko+ds,Zi[Xn+3]=ko-ds,Zi[Xn+1]=EA+Os,Zi[Xn+7]=EA-Os,Xn+=8}for(Xn=0,oo=0;oo<8;++oo){xa=Zi[Xn],Aa=Zi[Xn+8],Ta=Zi[Xn+16],Ia=Zi[Xn+24],or=Zi[Xn+32],Pr=Zi[Xn+40],ja=Zi[Xn+48];var y1=xa+(Ps=Zi[Xn+56]),iA=xa-Ps,hs=Aa+ja,Co=Aa-ja,i1=Ta+Pr,Gs=Ta-Pr,ea=Ia+or,La=Ia-or,Ma=y1+ea,Xo=y1-ea,ra=hs+i1,Fo=hs-i1;Zi[Xn]=Ma+ra,Zi[Xn+32]=Ma-ra;var ks=.707106781*(Fo+Xo);Zi[Xn+16]=Xo+ks,Zi[Xn+48]=Xo-ks;var Hi=.382683433*((Ma=La+Gs)-(Fo=Co+iA)),aa=.5411961*Ma+Hi,Vo=1.306562965*Fo+Hi,Po=.707106781*(ra=Gs+Co),S1=iA+Po,$1=iA-Po;Zi[Xn+40]=$1+aa,Zi[Xn+24]=$1-aa,Zi[Xn+8]=S1+Vo,Zi[Xn+56]=S1-Vo,Xn++}for(oo=0;oo<64;++oo)$a=Zi[oo]*wa[oo],_e[oo]=$a>0?$a+.5|0:$a-.5|0;return _e})(De,Ge),Wn=0;Wn<64;++Wn)Ae[qe[Wn]]=Oi[Wn];var Lr=Ae[0]-ar;ar=Ae[0],Lr==0?gr(xn[0]):(gr(xn[Ie[$n=32767+Lr]]),gr(He[$n]));for(var Ii=63;Ii>0&&Ae[Ii]==0;)Ii--;if(Ii==0)return gr(Un),ar;for(var cn,Bn=1;Bn<=Ii;){for(var Pn=Bn;Ae[Bn]==0&&Bn<=Ii;)++Bn;var Va=Bn-Pn;if(Va>=16){cn=Va>>4;for(var Ca=1;Ca<=cn;++Ca)gr($r);Va&=15}$n=32767+Ae[Bn],gr(Hn[(Va<<4)+Ie[$n]]),gr(He[$n]),Bn++}return Ii!=63&&gr(Un),ar}function Hr(De){De=Math.min(Math.max(De,1),100),Se!=De&&((function(Ge){for(var ar=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,10
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2017 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/function te(Pe,Ee){if(this.pos=0,this.buffer=Pe,this.datav=new DataView(Pe.buffer),this.is_with_alpha=!!Ee,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ee(Pe){function Ee(lr){if(!lr)throw Error("assert :P")}function Be(lr,xe,Xe){for(var Re=0;4>Re;Re++)if(lr[xe+Re]!=Xe.charCodeAt(Re))return!0;return!1}function Me(lr,xe,Xe,Re,ir){for(var pr=0;pr<ir;pr++)lr[xe+pr]=Xe[Re+pr]}function Te(lr,xe,Xe,Re){for(var ir=0;ir<Re;ir++)lr[xe+ir]=Xe}function Se(lr){return new Int32Array(lr)}function je(lr,xe){for(var Xe=[],Re=0;Re<lr;Re++)Xe.push(new xe);return Xe}function ke(lr,xe){var Xe=[];return(function Re(ir,pr,vr){for(var Cr=vr[pr],Ir=0;Ir<Cr&&(ir.push(vr.length>pr+1?[]:new xe),!(vr.length<pr+1));Ir++)Re(ir[Ir],pr+1,vr)})(Xe,0,lr),Xe}var Ue=function(){var lr=this;function xe(Oe,tr){for(var br=1<<tr-1>>>0;Oe&br;)br>>>=1;return br?(Oe&br-1)+br:Oe}function Xe(Oe,tr,br,Dr,Kr){Ee(!(Dr%br));do Oe[tr+(Dr-=br)]=Kr;while(0<Dr)}function Re(Oe,tr,br,Dr,Kr){if(Ee(2328>=Kr),512>=Kr)var nn=Se(512);else if((nn=Se(Kr))==null)return 0;return(function(ln,gn,bn,Cn,si,Ei){var Ui,ai,fa=gn,Gi=1<<bn,Ai=Se(16),li=Se(16);for(Ee(si!=0),Ee(Cn!=null),Ee(ln!=null),Ee(0<bn),ai=0;ai<si;++ai){if(15<Cn[ai])return 0;++Ai[Cn[ai]]}if(Ai[0]==si)return 0;for(li[1]=0,Ui=1;15>Ui;++Ui){if(Ai[Ui]>1<<Ui)return 0;li[Ui+1]=li[Ui]+Ai[Ui]}for(ai=0;ai<si;++ai)Ui=Cn[ai],0<Cn[ai]&&(Ei[li[Ui]++]=ai);if(li[15]==1)return(Cn=new ir).g=0,Cn.value=Ei[0],Xe(ln,fa,1,Gi,Cn),Gi;var sa,pa=-1,la=Gi-1,Ga=0,Ua=1,Io=1,Wa=1<<bn;for(ai=0,Ui=1,si=2;Ui<=bn;++Ui,si<<=1){if(Ua+=Io<<=1,0>(Io-=Ai[Ui]))return 0;for(;0<Ai[Ui];--Ai[Ui])(Cn=new ir).g=Ui,Cn.value=Ei[ai++],Xe(ln,fa+Ga,si,Wa,Cn),Ga=xe(Ga,Ui)}for(Ui=bn+1,si=2;15>=Ui;++Ui,si<<=1){if(Ua+=Io<<=1,0>(Io-=Ai[Ui]))return 0;for(;0<Ai[Ui];--Ai[Ui]){if(Cn=new ir,(Ga&la)!=pa){for(fa+=Wa,sa=1<<(pa=Ui)-bn;15>pa&&!(0>=(sa-=Ai[pa]));)++pa,sa<<=1;Gi+=Wa=1<<(sa=pa-bn),ln[gn+(pa=Ga&la)].g=sa+bn,ln[gn+pa].value=fa-gn-pa}Cn.g=Ui-bn,Cn.value=Ei[ai++],Xe(ln,fa+(Ga>>bn),si,Wa,Cn),Ga=xe(Ga,Ui)}}return Ua!=2*li[15]-1?0:Gi})(Oe,tr,br,Dr,Kr,nn)}function ir(){this.value=this.g=0}function pr(){this.value=this.g=0}function vr(){this.G=je(5,ir),this.H=Se(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=je(Sn,pr)}function Cr(Oe,tr,br,Dr){Ee(Oe!=null),Ee(tr!=null),Ee(2147483648>Dr),Oe.Ca=254,Oe.I=0,Oe.b=-8,Oe.Ka=0,Oe.oa=tr,Oe.pa=br,Oe.Jd=tr,Oe.Yc=br+Dr,Oe.Zc=4<=Dr?br+Dr-4+1:br,$n(Oe)}function Ir(Oe,tr){for(var br=0;0<tr--;)br|=$r(Oe,128)<<tr;return br}function gr(Oe,tr){var br=Ir(Oe,tr);return Un(Oe)?-br:br}function kr(Oe,tr,br,Dr){var Kr,nn=0;for(Ee(Oe!=null),Ee(tr!=null),Ee(4294967288>Dr),Oe.Sb=Dr,Oe.Ra=0,Oe.u=0,Oe.h=0,4<Dr&&(Dr=4),Kr=0;Kr<Dr;++Kr)nn+=tr[br+Kr]<<8*Kr;Oe.Ra=nn,Oe.bb=Dr,Oe.oa=tr,Oe.pa=br}function Wr(Oe){for(;8<=Oe.u&&Oe.bb<Oe.Sb;)Oe.Ra>>>=8,Oe.Ra+=Oe.oa[Oe.pa+Oe.bb]<<Jn-8>>>0,++Oe.bb,Oe.u-=8;ar(Oe)&&(Oe.h=1,Oe.u=0)}function Ce(Oe,tr){if(Ee(0<=tr),!Oe.h&&tr<=oi){var br=Ge(Oe)&Nn[tr];return Oe.u+=tr,Wr(Oe),br}return Oe.h=1,Oe.u=0}function Hr(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function De(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ge(Oe){return Oe.Ra>>>(Oe.u&Jn-1)>>>0}function ar(Oe){return Ee(Oe.bb<=Oe.Sb),Oe.h||Oe.bb==Oe.Sb&&Oe.u>Jn}function xn(Oe,tr){Oe.u=tr,Oe.h=ar(Oe)}function Hn(Oe){Oe.u>=fi&&(Ee(Oe.u>=fi),Wr(Oe))}function $n(Oe){Ee(Oe!=null&&Oe.oa!=null),Oe.pa<Oe.Zc?(Oe.I=(Oe.oa[Oe.pa++]|Oe.I<<8)>>>0,Oe.b+=8):(Ee(Oe!=null&&Oe.oa!=null),Oe.pa<Oe.Yc?(Oe.b+=8,Oe.I=Oe.oa[Oe.pa++]|Oe.I<<8):Oe.Ka?Oe.b=0:(Oe.I<<=8,Oe.b+=8,Oe.Ka=1))}function Un(Oe){return Ir(Oe,1)}function $r(Oe,tr){var br=Oe.Ca;0>Oe.b&&$n(Oe);var Dr=Oe.b,Kr=br*tr>>>8,nn=(Oe.I>>>Dr>Kr)+0;for(nn?(br-=Kr,Oe.I-=Kr+1<<Dr>>>0):br=Kr+1,Dr=br,Kr=0;256<=Dr;)Kr+=8,Dr>>=8;return Dr=7^Kr+ri[Dr],Oe.b-=Dr,Oe.Ca=(br<<Dr)-1,nn}function Oi(Oe,tr,br){Oe[tr+0]=br>>24&255,Oe[tr+1]=br>>16&255,Oe[tr+2]=br>>8&255,Oe[tr+3]=br>>0&255}functi
|
|||
|
|
`:"")+xr}))):sr.push(Sr[0])})),Ye=sr,Ue=Yt.apply(this,[Je,Be])}for(Se=0,je=Ye.length;Se<je;Se++){var wr=0;if(Me=Ye[Se],Ue&&Me[0]==`
|
|||
|
|
`&&(Me=Me.substr(1),wr=1),Ie+_e+(Ae=(Te=Gt.apply(this,[Me,Be])).reduce((function(Sr,xr){return Sr+xr}),0))>Ee||wr){if(Ae>Ee){for(ke=Jt.apply(this,[Me,Te,Ee-(Ie+_e),Ee]),Qe.push(ke.shift()),Qe=[ke.pop()];ke.length;)He.push([ke.shift()]);Ae=Te.slice(Me.length-(Qe[0]?Qe[0].length:0)).reduce((function(Sr,xr){return Sr+xr}),0)}else Qe=[Me];He.push(Qe),Ie=Ae+Ue,_e=rr}else Qe.push(Me),Ie+=_e+Ae,_e=rr}return Fe=Ue?function(Sr,xr){return(xr?Je:"")+Sr.join(" ")}:function(Sr){return Sr.join(" ")},He.map(Fe)},Vt.splitTextToSize=function(Pe,Ee,Be){var Me,Te=(Be=Be||{}).fontSize||this.internal.getFontSize(),Se=function(Qe){if(Qe.widths&&Qe.kerning)return{widths:Qe.widths,kerning:Qe.kerning};var He=this.internal.getFont(Qe.fontName,Qe.fontStyle);return He.metadata.Unicode?{widths:He.metadata.Unicode.widths||{0:1},kerning:He.metadata.Unicode.kerning||{}}:{font:He.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Be);Me=Array.isArray(Pe)?Pe:String(Pe).split(/\r?\n/);var je=1*this.internal.scaleFactor*Ee/Te;Se.textIndent=Be.textIndent?1*Be.textIndent*this.internal.scaleFactor/Te:0,Se.lineIndent=Be.lineIndent;var ke,Ue,Fe=[];for(ke=0,Ue=Me.length;ke<Ue;ke++)Fe=Fe.concat(Xt.apply(this,[Me[ke],je,Se]));return Fe},(function(Pe){Pe.__fontmetrics__=Pe.__fontmetrics__||{};for(var Ee="klmnopqrstuvwxyz",Be={},Me={},Te=0;Te<Ee.length;Te++)Be[Ee[Te]]="0123456789abcdef"[Te],Me["0123456789abcdef"[Te]]=Ee[Te];var Se=function(He){return"0x"+parseInt(He,10).toString(16)},je=Pe.__fontmetrics__.compress=function(He){var Ie,_e,Ae,Ye,rr=["{"];for(var Je in He){if(Ie=He[Je],isNaN(parseInt(Je,10))?_e="'"+Je+"'":(Je=parseInt(Je,10),_e=(_e=Se(Je).slice(2)).slice(0,-1)+Me[_e.slice(-1)]),typeof Ie=="number")Ie<0?(Ae=Se(Ie).slice(3),Ye="-"):(Ae=Se(Ie).slice(2),Ye=""),Ae=Ye+Ae.slice(0,-1)+Me[Ae.slice(-1)];else{if(_typeof$1(Ie)!=="object")throw new Error("Don't know what to do with value type "+_typeof$1(Ie)+".");Ae=je(Ie)}rr.push(_e+Ae)}return rr.push("}"),rr.join("")},ke=Pe.__fontmetrics__.uncompress=function(He){if(typeof He!="string")throw new Error("Invalid argument passed to uncompress.");for(var Ie,_e,Ae,Ye,rr={},Je=1,sr=rr,wr=[],Sr="",xr="",mr=He.length-1,qe=1;qe<mr;qe+=1)(Ye=He[qe])=="'"?Ie?(Ae=Ie.join(""),Ie=void 0):Ie=[]:Ie?Ie.push(Ye):Ye=="{"?(wr.push([sr,Ae]),sr={},Ae=void 0):Ye=="}"?((_e=wr.pop())[0][_e[1]]=sr,Ae=void 0,sr=_e[0]):Ye=="-"?Je=-1:Ae===void 0?Be.hasOwnProperty(Ye)?(Sr+=Be[Ye],Ae=parseInt(Sr,16)*Je,Je=1,Sr=""):Sr+=Ye:Be.hasOwnProperty(Ye)?(xr+=Be[Ye],sr[Ae]=parseInt(xr,16)*Je,Je=1,Ae=void 0,xr=""):xr+=Ye;return rr},Ue={codePages:["WinAnsiEncoding"],WinAnsiEncoding:ke("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Fe={Unicode:{Courier:Ue,"Courier-Bold":Ue,"Courier-BoldOblique":Ue,"Courier-Oblique":Ue,Helvetica:Ue,"Helvetica-Bold":Ue,"Helvetica-BoldOblique":Ue,"Helvetica-Oblique":Ue,"Times-Roman":Ue,"Times-Bold":Ue,"Times-BoldItalic":Ue,"Times-Italic":Ue}},Qe={Unicode:{"Courier-Oblique":ke("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ke("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5k
|
|||
|
|
<<
|
|||
|
|
`+Ye.join(`
|
|||
|
|
`)+`
|
|||
|
|
>>`)})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Be,this},(function(Pe){var Ee=function(){var Me='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',Te=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Se=unescape(encodeURIComponent(Me)),je=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),ke=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ue=unescape(encodeURIComponent("</x:xmpmeta>")),Fe=Se.length+je.length+ke.length+Te.length+Ue.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Fe+" >>"),this.internal.write("stream"),this.internal.write(Te+Se+je+ke+Ue),this.internal.write("endstream"),this.internal.write("endobj")},Be=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Pe.addMetadata=function(Me,Te){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Me,namespaceuri:Te||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Be),this.internal.events.subscribe("postPutResources",Ee)),this}})(E.API),(function(Pe){var Ee=Pe.API,Be=Ee.pdfEscape16=function(Se,je){for(var ke,Ue=je.metadata.Unicode.widths,Fe=["","0","00","000","0000"],Qe=[""],He=0,Ie=Se.length;He<Ie;++He){if(ke=je.metadata.characterToGlyph(Se.charCodeAt(He)),je.metadata.glyIdsUsed.push(ke),je.metadata.toUnicode[ke]=Se.charCodeAt(He),Ue.indexOf(ke)==-1&&(Ue.push(ke),Ue.push([parseInt(je.metadata.widthOfGlyph(ke),10)])),ke=="0")return Qe.join("");ke=ke.toString(16),Qe.push(Fe[4-ke.length],ke)}return Qe.join("")},Me=function(Se){var je,ke,Ue,Fe,Qe,He,Ie;for(Qe=`/CIDInit /ProcSet findresource begin
|
|||
|
|
12 dict begin
|
|||
|
|
begincmap
|
|||
|
|
/CIDSystemInfo <<
|
|||
|
|
/Registry (Adobe)
|
|||
|
|
/Ordering (UCS)
|
|||
|
|
/Supplement 0
|
|||
|
|
>> def
|
|||
|
|
/CMapName /Adobe-Identity-UCS def
|
|||
|
|
/CMapType 2 def
|
|||
|
|
1 begincodespacerange
|
|||
|
|
<0000><ffff>
|
|||
|
|
endcodespacerange`,Ue=[],He=0,Ie=(ke=Object.keys(Se).sort((function(_e,Ae){return _e-Ae}))).length;He<Ie;He++)je=ke[He],Ue.length>=100&&(Qe+=`
|
|||
|
|
`+Ue.length+` beginbfchar
|
|||
|
|
`+Ue.join(`
|
|||
|
|
`)+`
|
|||
|
|
endbfchar`,Ue=[]),Se[je]!==void 0&&Se[je]!==null&&typeof Se[je].toString=="function"&&(Fe=("0000"+Se[je].toString(16)).slice(-4),je=("0000"+(+je).toString(16)).slice(-4),Ue.push("<"+je+"><"+Fe+">"));return Ue.length&&(Qe+=`
|
|||
|
|
`+Ue.length+` beginbfchar
|
|||
|
|
`+Ue.join(`
|
|||
|
|
`)+`
|
|||
|
|
endbfchar
|
|||
|
|
`),Qe+=`endcmap
|
|||
|
|
CMapName currentdict /CMap defineresource pop
|
|||
|
|
end
|
|||
|
|
end`};Ee.events.push(["putFont",function(Se){(function(je){var ke=je.font,Ue=je.out,Fe=je.newObject,Qe=je.putStream;if(ke.metadata instanceof Pe.API.TTFFont&&ke.encoding==="Identity-H"){for(var He=ke.metadata.Unicode.widths,Ie=ke.metadata.subset.encode(ke.metadata.glyIdsUsed,1),_e="",Ae=0;Ae<Ie.length;Ae++)_e+=String.fromCharCode(Ie[Ae]);var Ye=Fe();Qe({data:_e,addLength1:!0,objectId:Ye}),Ue("endobj");var rr=Fe();Qe({data:Me(ke.metadata.toUnicode),addLength1:!0,objectId:rr}),Ue("endobj");var Je=Fe();Ue("<<"),Ue("/Type /FontDescriptor"),Ue("/FontName /"+F(ke.fontName)),Ue("/FontFile2 "+Ye+" 0 R"),Ue("/FontBBox "+Pe.API.PDFObject.convert(ke.metadata.bbox)),Ue("/Flags "+ke.metadata.flags),Ue("/StemV "+ke.metadata.stemV),Ue("/ItalicAngle "+ke.metadata.italicAngle),Ue("/Ascent "+ke.metadata.ascender),Ue("/Descent "+ke.metadata.decender),Ue("/CapHeight "+ke.metadata.capHeight),Ue(">>"),Ue("endobj");var sr=Fe();Ue("<<"),Ue("/Type /Font"),Ue("/BaseFont /"+F(ke.fontName)),Ue("/FontDescriptor "+Je+" 0 R"),Ue("/W "+Pe.API.PDFObject.convert(He)),Ue("/CIDToGIDMap /Identity"),Ue("/DW 1000"),Ue("/Subtype /CIDFontType2"),Ue("/CIDSystemInfo"),Ue("<<"),Ue("/Supplement 0"),Ue("/Registry (Adobe)"),Ue("/Ordering ("+ke.encoding+")"),Ue(">>"),Ue(">>"),Ue("endobj"),ke.objectNumber=Fe(),Ue("<<"),Ue("/Type /Font"),Ue("/Subtype /Type0"),Ue("/ToUnicode "+rr+" 0 R"),Ue("/BaseFont /"+F(ke.fontName)),Ue("/Encoding /"+ke.encoding),Ue("/DescendantFonts ["+sr+" 0 R]"),Ue(">>"),Ue("endobj"),ke.isAlreadyPutted=!0}})(Se)}]),Ee.events.push(["putFont",function(Se){(function(je){var ke=je.font,Ue=je.out,Fe=je.newObject,Qe=je.putStream;if(ke.metadata instanceof Pe.API.TTFFont&&ke.encoding==="WinAnsiEncoding"){for(var He=ke.metadata.rawData,Ie="",_e=0;_e<He.length;_e++)Ie+=String.fromCharCode(He[_e]);var Ae=Fe();Qe({data:Ie,addLength1:!0,objectId:Ae}),Ue("endobj");var Ye=Fe();Qe({data:Me(ke.metadata.toUnicode),addLength1:!0,objectId:Ye}),Ue("endobj");var rr=Fe();Ue("<<"),Ue("/Descent "+ke.metadata.decender),Ue("/CapHeight "+ke.metadata.capHeight),Ue("/StemV "+ke.metadata.stemV),Ue("/Type /FontDescriptor"),Ue("/FontFile2 "+Ae+" 0 R"),Ue("/Flags 96"),Ue("/FontBBox "+Pe.API.PDFObject.convert(ke.metadata.bbox)),Ue("/FontName /"+F(ke.fontName)),Ue("/ItalicAngle "+ke.metadata.italicAngle),Ue("/Ascent "+ke.metadata.ascender),Ue(">>"),Ue("endobj"),ke.objectNumber=Fe();for(var Je=0;Je<ke.metadata.hmtx.widths.length;Je++)ke.metadata.hmtx.widths[Je]=parseInt(ke.metadata.hmtx.widths[Je]*(1e3/ke.metadata.head.unitsPerEm));Ue("<</Subtype/TrueType/Type/Font/ToUnicode "+Ye+" 0 R/BaseFont/"+F(ke.fontName)+"/FontDescriptor "+rr+" 0 R/Encoding/"+ke.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Pe.API.PDFObject.convert(ke.metadata.hmtx.widths)+">>"),Ue("endobj"),ke.isAlreadyPutted=!0}})(Se)}]);var Te=function(Se){var je,ke=Se.text||"",Ue=Se.x,Fe=Se.y,Qe=Se.options||{},He=Se.mutex||{},Ie=He.pdfEscape,_e=He.activeFontKey,Ae=He.fonts,Ye=_e,rr="",Je=0,sr="",wr=Ae[Ye].encoding;if(Ae[Ye].encoding!=="Identity-H")return{text:ke,x:Ue,y:Fe,options:Qe,mutex:He};for(sr=ke,Ye=_e,Array.isArray(ke)&&(sr=ke[0]),Je=0;Je<sr.length;Je+=1)Ae[Ye].metadata.hasOwnProperty("cmap")&&(je=Ae[Ye].metadata.cmap.unicode.codeMap[sr[Je].charCodeAt(0)]),je||sr[Je].charCodeAt(0)<256&&Ae[Ye].metadata.hasOwnProperty("Unicode")?rr+=sr[Je]:rr+="";var Sr="";return parseInt(Ye.slice(1))<14||wr==="WinAnsiEncoding"?Sr=Ie(rr,Ye).split("").map((function(xr){return xr.charCodeAt(0).toString(16)})).join(""):wr==="Identity-H"&&(Sr=Be(rr,Ae[Ye])),He.isHex=!0,{text:Sr,x:Ue,y:Fe,options:Qe,mutex:He}};Ee.events.push(["postProcessText",function(Se){var je=Se.text||"",ke=[],Ue={text:je,x:Se.x,y:Se.y,options:Se.options,mutex:Se.mutex};if(Array.isArray(je)){var Fe=0;for(Fe=0;Fe<je.length;Fe+=1)Array.isArray(je[Fe])&&je[Fe].length===3?ke.push([Te(Object.assign({},Ue,{text:je[Fe][0]})).text,je[Fe][1],je[Fe][2]]):ke.push(Te(Object.assign({},Ue,{text:je[Fe]})).text);Se.text=ke}else Se.text=Te(Object.assign({},Ue,{text:je})).text}])})(E),(function(Pe){var Ee=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Pe.exi
|
|||
|
|
`)}return""+Be},Ee})();const jspdf_es_min=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:St,AcroFormAppearance:At,AcroFormButton:mt,AcroFormCheckBox:wt,AcroFormChoiceField:ft,AcroFormComboBox:pt,AcroFormEditBox:gt,AcroFormListBox:dt,AcroFormPasswordField:Lt,AcroFormPushButton:vt,AcroFormRadioButton:bt,AcroFormTextField:Nt,GState:j,ShadingPattern:B,TilingPattern:M,default:E,jsPDF:E},Symbol.toStringTag,{value:"Module"})),require$$4=getAugmentedNamespace(jspdf_es_min);var html2canvas$1={exports:{}};/*!
|
|||
|
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|||
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|||
|
|
* Released under MIT License
|
|||
|
|
*/var html2canvas=html2canvas$1.exports,hasRequiredHtml2canvas;function requireHtml2canvas(){return hasRequiredHtml2canvas||(hasRequiredHtml2canvas=1,(function(Pe,Ee){(function(Be,Me){Pe.exports=Me()})(html2canvas,(function(){"use strict";/*! *****************************************************************************
|
|||
|
|
Copyright (c) Microsoft Corporation.
|
|||
|
|
|
|||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|||
|
|
purpose with or without fee is hereby granted.
|
|||
|
|
|
|||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|||
|
|
***************************************************************************** */var Be=function(Ke,We){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(er,$e){er.__proto__=$e}||function(er,$e){for(var Mr in $e)Object.prototype.hasOwnProperty.call($e,Mr)&&(er[Mr]=$e[Mr])},Be(Ke,We)};function Me(Ke,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Be(Ke,We);function er(){this.constructor=Ke}Ke.prototype=We===null?Object.create(We):(er.prototype=We.prototype,new er)}var Te=function(){return Te=Object.assign||function(We){for(var er,$e=1,Mr=arguments.length;$e<Mr;$e++){er=arguments[$e];for(var Qr in er)Object.prototype.hasOwnProperty.call(er,Qr)&&(We[Qr]=er[Qr])}return We},Te.apply(this,arguments)};function Se(Ke,We,er,$e){function Mr(Qr){return Qr instanceof er?Qr:new er(function(mn){mn(Qr)})}return new(er||(er=Promise))(function(Qr,mn){function jn(ki){try{yi($e.next(ki))}catch(Qi){mn(Qi)}}function Tn(ki){try{yi($e.throw(ki))}catch(Qi){mn(Qi)}}function yi(ki){ki.done?Qr(ki.value):Mr(ki.value).then(jn,Tn)}yi(($e=$e.apply(Ke,We||[])).next())})}function je(Ke,We){var er={label:0,sent:function(){if(Qr[0]&1)throw Qr[1];return Qr[1]},trys:[],ops:[]},$e,Mr,Qr,mn;return mn={next:jn(0),throw:jn(1),return:jn(2)},typeof Symbol=="function"&&(mn[Symbol.iterator]=function(){return this}),mn;function jn(yi){return function(ki){return Tn([yi,ki])}}function Tn(yi){if($e)throw new TypeError("Generator is already executing.");for(;er;)try{if($e=1,Mr&&(Qr=yi[0]&2?Mr.return:yi[0]?Mr.throw||((Qr=Mr.return)&&Qr.call(Mr),0):Mr.next)&&!(Qr=Qr.call(Mr,yi[1])).done)return Qr;switch(Mr=0,Qr&&(yi=[yi[0]&2,Qr.value]),yi[0]){case 0:case 1:Qr=yi;break;case 4:return er.label++,{value:yi[1],done:!1};case 5:er.label++,Mr=yi[1],yi=[0];continue;case 7:yi=er.ops.pop(),er.trys.pop();continue;default:if(Qr=er.trys,!(Qr=Qr.length>0&&Qr[Qr.length-1])&&(yi[0]===6||yi[0]===2)){er=0;continue}if(yi[0]===3&&(!Qr||yi[1]>Qr[0]&&yi[1]<Qr[3])){er.label=yi[1];break}if(yi[0]===6&&er.label<Qr[1]){er.label=Qr[1],Qr=yi;break}if(Qr&&er.label<Qr[2]){er.label=Qr[2],er.ops.push(yi);break}Qr[2]&&er.ops.pop(),er.trys.pop();continue}yi=We.call(Ke,er)}catch(ki){yi=[6,ki],Mr=0}finally{$e=Qr=0}if(yi[0]&5)throw yi[1];return{value:yi[0]?yi[1]:void 0,done:!0}}}function ke(Ke,We,er){if(er||arguments.length===2)for(var $e=0,Mr=We.length,Qr;$e<Mr;$e++)(Qr||!($e in We))&&(Qr||(Qr=Array.prototype.slice.call(We,0,$e)),Qr[$e]=We[$e]);return Ke.concat(Qr||We)}for(var Ue=(function(){function Ke(We,er,$e,Mr){this.left=We,this.top=er,this.width=$e,this.height=Mr}return Ke.prototype.add=function(We,er,$e,Mr){return new Ke(this.left+We,this.top+er,this.width+$e,this.height+Mr)},Ke.fromClientRect=function(We,er){return new Ke(er.left+We.windowBounds.left,er.top+We.windowBounds.top,er.width,er.height)},Ke.fromDOMRectList=function(We,er){var $e=Array.from(er).find(function(Mr){return Mr.width!==0});return $e?new Ke($e.left+We.windowBounds.left,$e.top+We.windowBounds.top,$e.width,$e.height):Ke.EMPTY},Ke.EMPTY=new Ke(0,0,0,0),Ke})(),Fe=function(Ke,We){return Ue.fromClientRect(Ke,We.getBoundingClientRect())},Qe=function(Ke){var We=Ke.body,er=Ke.documentElement;if(!We||!er)throw new Error("Unable to get document size");var $e=Math.max(Math.max(We.scrollWidth,er.scrollWidth),Math.max(We.offsetWidth,er.offsetWidth),Math.max(We.clientWidth,er.clientWidth)),Mr=Math.max(Math.max(We.scrollHeight,er.scrollHeight),Math.max(We.offsetHeight,er.offsetHeight),Math.max(We.clientHeight,er.clientHeight));return new Ue(0,0,$e,Mr)},He=function(Ke){for(var We=[],er=0,$e=Ke.length;er<$e;){var Mr=Ke.charCodeAt(er++);if(Mr>=55296&&Mr<=56319&&er<$e){var Qr=Ke.charCodeAt(er++);(Qr&64512)===56320?We.push(((Mr&1023)<<10)+(Qr&1023)+65536):(We.push(Mr),er--)}else We.push(Mr)}return We},Ie=function(){for(var Ke=[],We=0;We<arguments.length;We++)Ke[We]=arguments[We];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Ke);var er=Ke.length;if(!er)return"";for(var $e=[],Mr=-1,Qr="";++Mr<er;){var mn=Ke[Mr];mn<=65535?$e.push(
|
|||
|
|
content: "" !important;
|
|||
|
|
display: none !important;
|
|||
|
|
}`,ou=function(Ke){xu(Ke,"."+$l+Qu+_u+`
|
|||
|
|
.`+Wl+au+_u)},xu=function(Ke,We){var er=Ke.ownerDocument;if(er){var $e=er.createElement("style");$e.textContent=We,Ke.appendChild($e)}},eu=(function(){function Ke(){}return Ke.getOrigin=function(We){var er=Ke._link;return er?(er.href=We,er.href=er.href,er.protocol+er.hostname+er.port):"about:blank"},Ke.isSameOrigin=function(We){return Ke.getOrigin(We)===Ke._origin},Ke.setContext=function(We){Ke._link=We.document.createElement("a"),Ke._origin=Ke.getOrigin(We.location.href)},Ke._origin="about:blank",Ke})(),zu=(function(){function Ke(We,er){this.context=We,this._options=er,this._cache={}}return Ke.prototype.addImage=function(We){var er=Promise.resolve();return this.has(We)||(di(We)||Wu(We))&&(this._cache[We]=this.loadImage(We)).catch(function(){}),er},Ke.prototype.match=function(We){return this._cache[We]},Ke.prototype.loadImage=function(We){return Se(this,void 0,void 0,function(){var er,$e,Mr,Qr,mn=this;return je(this,function(jn){switch(jn.label){case 0:return er=eu.isSameOrigin(We),$e=!tu(We)&&this._options.useCORS===!0&&os.SUPPORT_CORS_IMAGES&&!er,Mr=!tu(We)&&!er&&!di(We)&&typeof this._options.proxy=="string"&&os.SUPPORT_CORS_XHR&&!$e,!er&&this._options.allowTaint===!1&&!tu(We)&&!di(We)&&!Mr&&!$e?[2]:(Qr=We,Mr?[4,this.proxy(Qr)]:[3,2]);case 1:Qr=jn.sent(),jn.label=2;case 2:return this.context.logger.debug("Added image "+We.substring(0,256)),[4,new Promise(function(Tn,yi){var ki=new Image;ki.onload=function(){return Tn(ki)},ki.onerror=yi,(bo(Qr)||$e)&&(ki.crossOrigin="anonymous"),ki.src=Qr,ki.complete===!0&&setTimeout(function(){return Tn(ki)},500),mn._options.imageTimeout>0&&setTimeout(function(){return yi("Timed out ("+mn._options.imageTimeout+"ms) loading image")},mn._options.imageTimeout)})];case 3:return[2,jn.sent()]}})})},Ke.prototype.has=function(We){return typeof this._cache[We]!="undefined"},Ke.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ke.prototype.proxy=function(We){var er=this,$e=this._options.proxy;if(!$e)throw new Error("No proxy defined");var Mr=We.substring(0,256);return new Promise(function(Qr,mn){var jn=os.SUPPORT_RESPONSE_TYPE?"blob":"text",Tn=new XMLHttpRequest;Tn.onload=function(){if(Tn.status===200)if(jn==="text")Qr(Tn.response);else{var Qi=new FileReader;Qi.addEventListener("load",function(){return Qr(Qi.result)},!1),Qi.addEventListener("error",function(ma){return mn(ma)},!1),Qi.readAsDataURL(Tn.response)}else mn("Failed to proxy resource "+Mr+" with status code "+Tn.status)},Tn.onerror=mn;var yi=$e.indexOf("?")>-1?"&":"?";if(Tn.open("GET",""+$e+yi+"url="+encodeURIComponent(We)+"&responseType="+jn),jn!=="text"&&Tn instanceof XMLHttpRequest&&(Tn.responseType=jn),er._options.imageTimeout){var ki=er._options.imageTimeout;Tn.timeout=ki,Tn.ontimeout=function(){return mn("Timed out ("+ki+"ms) proxying "+Mr)}}Tn.send()})},Ke})(),Gu=/^data:image\/svg\+xml/i,Bu=/^data:image\/.*;base64,/i,ql=/^data:image\/.*/i,Wu=function(Ke){return os.SUPPORT_SVG_DRAWING||!Za(Ke)},tu=function(Ke){return ql.test(Ke)},bo=function(Ke){return Bu.test(Ke)},di=function(Ke){return Ke.substr(0,4)==="blob"},Za=function(Ke){return Ke.substr(-3).toLowerCase()==="svg"||Gu.test(Ke)},Sa=(function(){function Ke(We,er){this.type=0,this.x=We,this.y=er}return Ke.prototype.add=function(We,er){return new Ke(this.x+We,this.y+er)},Ke})(),A1=function(Ke,We,er){return new Sa(Ke.x+(We.x-Ke.x)*er,Ke.y+(We.y-Ke.y)*er)},IA=(function(){function Ke(We,er,$e,Mr){this.type=1,this.start=We,this.startControl=er,this.endControl=$e,this.end=Mr}return Ke.prototype.subdivide=function(We,er){var $e=A1(this.start,this.startControl,We),Mr=A1(this.startControl,this.endControl,We),Qr=A1(this.endControl,this.end,We),mn=A1($e,Mr,We),jn=A1(Mr,Qr,We),Tn=A1(mn,jn,We);return er?new Ke(this.start,$e,mn,Tn):new Ke(Tn,jn,Qr,this.end)},Ke.prototype.add=function(We,er){return new Ke(this.start.add(We,er),this.startControl.add(We,er),this.endControl.add(We,er),this.end.add(We,er))},Ke.prototype.reverse=function(){return new Ke(this.end,this.endControl,this.startControl,this.start)},Ke})(),b1=function(Ke){return Ke.type===1},Bc=(functio
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}Pe.exports=Ee,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(nonIterableRest$1)),nonIterableRest$1.exports}var slicedToArray=slicedToArray$1.exports,hasRequiredSlicedToArray;function requireSlicedToArray(){return hasRequiredSlicedToArray||(hasRequiredSlicedToArray=1,(function(Pe){var Ee=requireArrayWithHoles(),Be=requireIterableToArrayLimit(),Me=requireUnsupportedIterableToArray(),Te=requireNonIterableRest();function Se(je,ke){return Ee(je)||Be(je,ke)||Me(je,ke)||Te()}Pe.exports=Se,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(slicedToArray$1)),slicedToArray$1.exports}var defineProperty$1={exports:{}},toPropertyKey={exports:{}},toPrimitive={exports:{}},toPrimitive_1=toPrimitive.exports,hasRequiredToPrimitive;function requireToPrimitive(){return hasRequiredToPrimitive||(hasRequiredToPrimitive=1,(function(Pe){var Ee=require_typeof().default;function Be(Me,Te){if(Ee(Me)!="object"||!Me)return Me;var Se=Me[Symbol.toPrimitive];if(Se!==void 0){var je=Se.call(Me,Te||"default");if(Ee(je)!="object")return je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(Me)}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toPrimitive)),toPrimitive.exports}var toPropertyKey_1=toPropertyKey.exports,hasRequiredToPropertyKey;function requireToPropertyKey(){return hasRequiredToPropertyKey||(hasRequiredToPropertyKey=1,(function(Pe){var Ee=require_typeof().default,Be=requireToPrimitive();function Me(Te){var Se=Be(Te,"string");return Ee(Se)=="symbol"?Se:Se+""}Pe.exports=Me,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toPropertyKey)),toPropertyKey.exports}var defineProperty=defineProperty$1.exports,hasRequiredDefineProperty;function requireDefineProperty(){return hasRequiredDefineProperty||(hasRequiredDefineProperty=1,(function(Pe){var Ee=requireToPropertyKey();function Be(Me,Te,Se){return(Te=Ee(Te))in Me?Object.defineProperty(Me,Te,{value:Se,enumerable:!0,configurable:!0,writable:!0}):Me[Te]=Se,Me}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(defineProperty$1)),defineProperty$1.exports}var classCallCheck$1={exports:{}},classCallCheck=classCallCheck$1.exports,hasRequiredClassCallCheck;function requireClassCallCheck(){return hasRequiredClassCallCheck||(hasRequiredClassCallCheck=1,(function(Pe){function Ee(Be,Me){if(!(Be instanceof Me))throw new TypeError("Cannot call a class as a function")}Pe.exports=Ee,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(classCallCheck$1)),classCallCheck$1.exports}var createClass$1={exports:{}},createClass=createClass$1.exports,hasRequiredCreateClass;function requireCreateClass(){return hasRequiredCreateClass||(hasRequiredCreateClass=1,(function(Pe){var Ee=requireToPropertyKey();function Be(Te,Se){for(var je=0;je<Se.length;je++){var ke=Se[je];ke.enumerable=ke.enumerable||!1,ke.configurable=!0,"value"in ke&&(ke.writable=!0),Object.defineProperty(Te,Ee(ke.key),ke)}}function Me(Te,Se,je){return Se&&Be(Te.prototype,Se),je&&Be(Te,je),Object.defineProperty(Te,"prototype",{writable:!1}),Te}Pe.exports=Me,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(createClass$1)),createClass$1.exports}var es_array_concat={},doesNotExceedSafeInteger,hasRequiredDoesNotExceedSafeInteger;function requireDoesNotExceedSafeInteger(){if(hasRequiredDoesNotExceedSafeInteger)return doesNotExceedSafeInteger;hasRequiredDoesNotExceedSafeInteger=1;var Pe=TypeError,Ee=9007199254740991;return doesNotExceedSafeInteger=function(Be){if(Be>Ee)throw new Pe("Maximum allowed index exceeded");return Be},doesNotExceedSafeInteger}var arraySetLength,hasRequiredArraySetLength;function requireArraySetLength(){if(hasRequiredArraySetLength)return arraySetLength;hasRequiredArraySetLength=1;var Pe=requireDescriptors(),Ee=requireIsArray(),Be=TypeError,Me=Object.getOwnPropertyDescriptor,Te=Pe&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(Se){return Se instanceof TypeError}})();return
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}Pe.exports=Ee,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(nonIterableSpread$1)),nonIterableSpread$1.exports}var toConsumableArray=toConsumableArray$1.exports,hasRequiredToConsumableArray;function requireToConsumableArray(){return hasRequiredToConsumableArray||(hasRequiredToConsumableArray=1,(function(Pe){var Ee=requireArrayWithoutHoles(),Be=requireIterableToArray(),Me=requireUnsupportedIterableToArray(),Te=requireNonIterableSpread();function Se(je){return Ee(je)||Be(je)||Me(je)||Te()}Pe.exports=Se,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toConsumableArray$1)),toConsumableArray$1.exports}var es_number_constructor={},inheritIfRequired,hasRequiredInheritIfRequired;function requireInheritIfRequired(){if(hasRequiredInheritIfRequired)return inheritIfRequired;hasRequiredInheritIfRequired=1;var Pe=requireIsCallable(),Ee=requireIsObject(),Be=requireObjectSetPrototypeOf();return inheritIfRequired=function(Me,Te,Se){var je,ke;return Be&&Pe(je=Te.constructor)&&je!==Se&&Ee(ke=je.prototype)&&ke!==Se.prototype&&Be(Me,ke),Me},inheritIfRequired}var thisNumberValue,hasRequiredThisNumberValue;function requireThisNumberValue(){if(hasRequiredThisNumberValue)return thisNumberValue;hasRequiredThisNumberValue=1;var Pe=requireFunctionUncurryThis();return thisNumberValue=Pe(1.1.valueOf),thisNumberValue}var hasRequiredEs_number_constructor;function requireEs_number_constructor(){if(hasRequiredEs_number_constructor)return es_number_constructor;hasRequiredEs_number_constructor=1;var Pe=require_export(),Ee=requireIsPure(),Be=requireDescriptors(),Me=requireGlobalThis(),Te=requirePath(),Se=requireFunctionUncurryThis(),je=requireIsForced(),ke=requireHasOwnProperty(),Ue=requireInheritIfRequired(),Fe=requireObjectIsPrototypeOf(),Qe=requireIsSymbol(),He=requireToPrimitive$1(),Ie=requireFails(),_e=requireObjectGetOwnPropertyNames().f,Ae=requireObjectGetOwnPropertyDescriptor().f,Ye=requireObjectDefineProperty().f,rr=requireThisNumberValue(),Je=requireStringTrim().trim,sr="Number",wr=Me[sr],Sr=Te[sr],xr=wr.prototype,mr=Me.TypeError,qe=Se("".slice),lr=Se("".charCodeAt),xe=function(Cr){var Ir=He(Cr,"number");return typeof Ir=="bigint"?Ir:Xe(Ir)},Xe=function(Cr){var Ir=He(Cr,"number"),gr,kr,Wr,Ce,Hr,De,Ge,ar;if(Qe(Ir))throw new mr("Cannot convert a Symbol value to a number");if(typeof Ir=="string"&&Ir.length>2){if(Ir=Je(Ir),gr=lr(Ir,0),gr===43||gr===45){if(kr=lr(Ir,2),kr===88||kr===120)return NaN}else if(gr===48){switch(lr(Ir,1)){case 66:case 98:Wr=2,Ce=49;break;case 79:case 111:Wr=8,Ce=55;break;default:return+Ir}for(Hr=qe(Ir,2),De=Hr.length,Ge=0;Ge<De;Ge++)if(ar=lr(Hr,Ge),ar<48||ar>Ce)return NaN;return parseInt(Hr,Wr)}}return+Ir},Re=je(sr,!wr(" 0o1")||!wr("0b1")||wr("+0x1")),ir=function(Cr){return Fe(xr,Cr)&&Ie(function(){rr(Cr)})},pr=function(Ir){var gr=arguments.length<1?0:wr(xe(Ir));return ir(this)?Ue(Object(gr),this,pr):gr};pr.prototype=xr,Re&&!Ee&&(xr.constructor=pr),Pe({global:!0,constructor:!0,wrap:!0,forced:Re},{Number:pr});var vr=function(Cr,Ir){for(var gr=Be?_e(Ir):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),kr=0,Wr;gr.length>kr;kr++)ke(Ir,Wr=gr[kr])&&!ke(Cr,Wr)&&Ye(Cr,Wr,Ae(Ir,Wr))};return Ee&&Sr&&vr(Te[sr],Sr),(Re||Ee)&&vr(Te[sr],wr),es_number_constructor}var get$1={exports:{}},superPropBase$1={exports:{}},superPropBase=superPropBase$1.exports,hasRequiredSuperPropBase;function requireSuperPropBase(){return hasRequiredSuperPropBase||(hasRequiredSuperPropBase=1,(function(Pe){var Ee=requireGetPrototypeOf();function Be(Me,Te){for(;!{}.hasOwnProperty.call(Me,Te)&&(Me=Ee(Me))!==null;);return Me}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(superPropBase$1)),superPropBase$1.exports}var get=get$1.exports,hasRequiredGet;function requireGet(){return hasRequiredGet||(hasRequiredGet=1,(function(Pe){var Ee=requireSuperPropBase();function Be(){return Pe.exports=Be=typeof Reflect!="
|
|||
|
|
Copyright (c) Microsoft Corporation.
|
|||
|
|
|
|||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|||
|
|
purpose with or without fee is hereby granted.
|
|||
|
|
|
|||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|||
|
|
***************************************************************************** */var Me=function(lr,xe){return(Me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Xe,Re){Xe.__proto__=Re}||function(Xe,Re){for(var ir in Re)Object.prototype.hasOwnProperty.call(Re,ir)&&(Xe[ir]=Re[ir])})(lr,xe)};function Te(lr,xe){if(typeof xe!="function"&&xe!==null)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function Xe(){this.constructor=lr}Me(lr,xe),lr.prototype=xe===null?Object.create(xe):(Xe.prototype=xe.prototype,new Xe)}var Se=" ";function je(lr){var xe="";Array.isArray(lr)||(lr=[lr]);for(var Xe=0;Xe<lr.length;Xe++){var Re=lr[Xe];if(Re.type===mr.CLOSE_PATH)xe+="z";else if(Re.type===mr.HORIZ_LINE_TO)xe+=(Re.relative?"h":"H")+Re.x;else if(Re.type===mr.VERT_LINE_TO)xe+=(Re.relative?"v":"V")+Re.y;else if(Re.type===mr.MOVE_TO)xe+=(Re.relative?"m":"M")+Re.x+Se+Re.y;else if(Re.type===mr.LINE_TO)xe+=(Re.relative?"l":"L")+Re.x+Se+Re.y;else if(Re.type===mr.CURVE_TO)xe+=(Re.relative?"c":"C")+Re.x1+Se+Re.y1+Se+Re.x2+Se+Re.y2+Se+Re.x+Se+Re.y;else if(Re.type===mr.SMOOTH_CURVE_TO)xe+=(Re.relative?"s":"S")+Re.x2+Se+Re.y2+Se+Re.x+Se+Re.y;else if(Re.type===mr.QUAD_TO)xe+=(Re.relative?"q":"Q")+Re.x1+Se+Re.y1+Se+Re.x+Se+Re.y;else if(Re.type===mr.SMOOTH_QUAD_TO)xe+=(Re.relative?"t":"T")+Re.x+Se+Re.y;else{if(Re.type!==mr.ARC)throw new Error('Unexpected command type "'+Re.type+'" at index '+Xe+".");xe+=(Re.relative?"a":"A")+Re.rX+Se+Re.rY+Se+Re.xRot+Se+ +Re.lArcFlag+Se+ +Re.sweepFlag+Se+Re.x+Se+Re.y}}return xe}function ke(lr,xe){var Xe=lr[0],Re=lr[1];return[Xe*Math.cos(xe)-Re*Math.sin(xe),Xe*Math.sin(xe)+Re*Math.cos(xe)]}function Ue(){for(var lr=[],xe=0;xe<arguments.length;xe++)lr[xe]=arguments[xe];for(var Xe=0;Xe<lr.length;Xe++)if(typeof lr[Xe]!="number")throw new Error("assertNumbers arguments["+Xe+"] is not a number. "+typeof lr[Xe]+" == typeof "+lr[Xe]);return!0}var Fe=Math.PI;function Qe(lr,xe,Xe){lr.lArcFlag=lr.lArcFlag===0?0:1,lr.sweepFlag=lr.sweepFlag===0?0:1;var Re=lr.rX,ir=lr.rY,pr=lr.x,vr=lr.y;Re=Math.abs(lr.rX),ir=Math.abs(lr.rY);var Cr=ke([(xe-pr)/2,(Xe-vr)/2],-lr.xRot/180*Fe),Ir=Cr[0],gr=Cr[1],kr=Math.pow(Ir,2)/Math.pow(Re,2)+Math.pow(gr,2)/Math.pow(ir,2);1<kr&&(Re*=Math.sqrt(kr),ir*=Math.sqrt(kr)),lr.rX=Re,lr.rY=ir;var Wr=Math.pow(Re,2)*Math.pow(gr,2)+Math.pow(ir,2)*Math.pow(Ir,2),Ce=(lr.lArcFlag!==lr.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(Re,2)*Math.pow(ir,2)-Wr)/Wr)),Hr=Re*gr/ir*Ce,De=-ir*Ir/Re*Ce,Ge=ke([Hr,De],lr.xRot/180*Fe);lr.cX=Ge[0]+(xe+pr)/2,lr.cY=Ge[1]+(Xe+vr)/2,lr.phi1=Math.atan2((gr-De)/ir,(Ir-Hr)/Re),lr.phi2=Math.atan2((-gr-De)/ir,(-Ir-Hr)/Re),lr.sweepFlag===0&&lr.phi2>lr.phi1&&(lr.phi2-=2*Fe),lr.sweepFlag===1&&lr.phi2<lr.phi1&&(lr.phi2+=2*Fe),lr.phi1*=180/Fe,lr.phi2*=180/Fe}function He(lr,xe,Xe){Ue(lr,xe,Xe);var Re=lr*lr+xe*xe-Xe*Xe;if(0>Re)return[];if(Re===0)return[[lr*Xe/(lr*lr+xe*xe),xe*Xe/(lr*lr+xe*xe)]];var ir=Math.sqrt(Re);return[[(lr*Xe+xe*ir)/(lr*lr+xe*xe),(xe*Xe-lr*ir)/(lr*lr+xe*xe)],[(lr*Xe-xe*ir)/(lr*lr+xe*xe),(xe*Xe+lr*ir)/(lr*lr+xe*xe)]]}var Ie=Math.PI/180;function _e(lr,xe,Xe){return(1-Xe)*lr+Xe*xe}function Ae(lr,xe,Xe,Re){return lr+Math.cos(Re/180*Fe)*xe+Math.sin(Re/180*Fe)*Xe}function Ye(lr,xe,Xe,Re){var ir=1e-6,pr=xe-lr,vr=Xe-xe,Cr=3*pr+3*(Re-Xe)-6*vr,Ir=6*(vr-pr),gr=3*pr;return Math.abs(Cr)<ir?[-gr/Ir]:(function(kr,Wr,Ce){Ce===void 0&&(Ce=1e-6);var Hr=kr*kr/4-Wr;if(Hr<-Ce)return[];if(Hr<=Ce)return[-kr/2];var De=Math.sqrt(Hr);return[-kr/2-De,-kr/2+De]})(Ir/Cr,gr/Cr,ir)}function rr(lr,xe,Xe,Re,ir){var pr=1-ir;return lr*(pr*pr*pr)+xe*(3*pr*pr*ir)+Xe*(3*pr*ir*ir)+Re*(ir*ir*ir)}Be.SVGPathDataTransformer=void 0,(function(lr){function xe(){return ir((function(Cr,Ir,gr){return Cr.relative&&(Cr.x1!==void 0&&(Cr.x1+=Ir),Cr.y1!==void 0&&(Cr.y1+=gr),Cr.x2!==void 0&&(Cr.x2+=Ir),Cr.y2!==void 0&&(Cr.y2+=gr),Cr.x!==void 0&&(Cr.x+=Ir),Cr.y!==void 0&&(Cr.y+=gr),Cr.relative=!1),Cr}))}function Xe(){var Cr=NaN,Ir=NaN,gr=NaN,kr=NaN;return ir((function(Wr,Ce,Hr){return Wr.type&mr.SMOOTH_CURVE_TO&&(Wr.type=mr.CURVE_TO,Cr=isNaN(Cr)?Ce:Cr,Ir=isNaN(Ir)?Hr:Ir,Wr.x1=Wr.
|
|||
|
|
`},Sr=function(lr){return 48<=lr.charCodeAt(0)&&lr.charCodeAt(0)<=57},xr=(function(lr){function xe(){var Xe=lr.call(this)||this;return Xe.curNumber="",Xe.curCommandType=-1,Xe.curCommandRelative=!1,Xe.canParseCommandOrComma=!0,Xe.curNumberHasExp=!1,Xe.curNumberHasExpDigits=!1,Xe.curNumberHasDecimal=!1,Xe.curArgs=[],Xe}return Te(xe,lr),xe.prototype.finish=function(Xe){if(Xe===void 0&&(Xe=[]),this.parse(" ",Xe),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return Xe},xe.prototype.parse=function(Xe,Re){var ir=this;Re===void 0&&(Re=[]);for(var pr=function(Wr){Re.push(Wr),ir.curArgs.length=0,ir.canParseCommandOrComma=!0},vr=0;vr<Xe.length;vr++){var Cr=Xe[vr],Ir=!(this.curCommandType!==mr.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),gr=Sr(Cr)&&(this.curNumber==="0"&&Cr==="0"||Ir);if(!Sr(Cr)||gr)if(Cr!=="e"&&Cr!=="E")if(Cr!=="-"&&Cr!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(Cr!=="."||this.curNumberHasExp||this.curNumberHasDecimal||Ir){if(this.curNumber&&this.curCommandType!==-1){var kr=Number(this.curNumber);if(isNaN(kr))throw new SyntaxError("Invalid number ending at "+vr);if(this.curCommandType===mr.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>kr)throw new SyntaxError('Expected positive number, got "'+kr+'" at index "'+vr+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+vr+'"')}this.curArgs.push(kr),this.curArgs.length===qe[this.curCommandType]&&(mr.HORIZ_LINE_TO===this.curCommandType?pr({type:mr.HORIZ_LINE_TO,relative:this.curCommandRelative,x:kr}):mr.VERT_LINE_TO===this.curCommandType?pr({type:mr.VERT_LINE_TO,relative:this.curCommandRelative,y:kr}):this.curCommandType===mr.MOVE_TO||this.curCommandType===mr.LINE_TO||this.curCommandType===mr.SMOOTH_QUAD_TO?(pr({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),mr.MOVE_TO===this.curCommandType&&(this.curCommandType=mr.LINE_TO)):this.curCommandType===mr.CURVE_TO?pr({type:mr.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===mr.SMOOTH_CURVE_TO?pr({type:mr.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===mr.QUAD_TO?pr({type:mr.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===mr.ARC&&pr({type:mr.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!wr(Cr))if(Cr===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(Cr!=="+"&&Cr!=="-"&&Cr!==".")if(gr)this.curNumber=Cr,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+vr+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+Cr+'" at index '+vr+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,Cr!=="z"&&Cr!=="Z")if(Cr==="h"||Cr==="H")this.curCommandType=mr.HORIZ_LINE_TO,this.curCommandRelative=Cr==="h";else if(Cr==="v"||Cr==="V")this.curCommandType=mr.VERT_LINE_TO,this.curCommandRelative=Cr==="v";else if(Cr==="m"||Cr==="M")this.curCommandType=mr.MOVE_TO,this.curCommandRelative=Cr==="m";else if(Cr==="l"||Cr==="L")this.curCommandType=mr.LINE_TO,this.curCommandRelative=Cr==="l";else if(Cr==="c"||Cr==="C")this.curCommandType=mr.CURVE_TO,this.curCommandRelative=Cr==="c";else if(Cr==="s"||Cr==="S")this.curCommandType=mr.SMOOTH_CURVE_TO,this.curCommandRelative=Cr==="s";else if(C
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dr=!0,ur=!1,Er;return{s:function(){Ar=Ar.call(jr)},n:function(){var Gr=Ar.next();return dr=Gr.done,Gr},e:function(Gr){ur=!0,Er=Gr},f:function(){try{!dr&&Ar.return!=null&&Ar.return()}finally{if(ur)throw Er}}}}function Tr(jr,Fr){if(jr){if(typeof jr=="string")return qr(jr,Fr);var Ar=Object.prototype.toString.call(jr).slice(8,-1);if(Ar==="Object"&&jr.constructor&&(Ar=jr.constructor.name),Ar==="Map"||Ar==="Set")return Array.from(jr);if(Ar==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ar))return qr(jr,Fr)}}function qr(jr,Fr){(Fr==null||Fr>jr.length)&&(Fr=jr.length);for(var Ar=0,cr=new Array(Fr);Ar<Fr;Ar++)cr[Ar]=jr[Ar];return cr}function Vr(jr){var Fr=un();return function(){var cr=ir.default(jr),Ve;if(Fr){var dr=ir.default(this).constructor;Ve=Reflect.construct(cr,arguments,dr)}else Ve=cr.apply(this,arguments);return Re.default(this,Ve)}}function un(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(jr){return!1}}var Kn=(function(jr){Xe.default(Ar,jr);var Fr=Vr(Ar);function Ar(cr,Ve,dr){var ur;mr.default(this,Ar),ur=Fr.call(this,cr,Ve,dr),ur.type="font",ur.glyphs=Object.create(null),ur.horizAdvX=ur.getAttribute("horiz-adv-x").getNumber();var Er=cr.definitions,Ur=Cr.default(ur),Gr=Ur.children,sn=yr(Gr),pn;try{for(sn.s();!(pn=sn.n()).done;){var _n=pn.value;switch(_n.type){case"font-face":{ur.fontFace=_n;var ei=_n.getStyle("font-family");ei.hasValue()&&(Er[ei.getString()]=Cr.default(ur));break}case"missing-glyph":ur.missingGlyph=_n;break;case"glyph":{var wi=_n;wi.arabicForm?(ur.isRTL=!0,ur.isArabic=!0,typeof ur.glyphs[wi.unicode]=="undefined"&&(ur.glyphs[wi.unicode]=Object.create(null)),ur.glyphs[wi.unicode][wi.arabicForm]=wi):ur.glyphs[wi.unicode]=wi;break}default:}}}catch(Wi){sn.e(Wi)}finally{sn.f()}return ur}return qe.default(Ar,[{key:"render",value:function(){}}]),Ar})(hs);function zn(jr){var Fr=bi();return function(){var cr=ir.default(jr),Ve;if(Fr){var dr=ir.default(this).constructor;Ve=Reflect.construct(cr,arguments,dr)}else Ve=cr.apply(this,arguments);return Re.default(this,Ve)}}function bi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(jr){return!1}}var Ki=(function(jr){Xe.default(Ar,jr);var Fr=zn(Ar);function Ar(cr,Ve,dr){var ur;return mr.default(this,Ar),ur=Fr.call(this,cr,Ve,dr),ur.type="font-face",ur.ascent=ur.getAttribute("ascent").getNumber(),ur.descent=ur.getAttribute("descent").getNumber(),ur.unitsPerEm=ur.getAttribute("units-per-em").getNumber(),ur}return Ar})(hs);function oa(jr){var Fr=ti();return function(){var cr=ir.default(jr),Ve;if(Fr){var dr=ir.default(this).constructor;Ve=Reflect.construct(cr,arguments,dr)}else Ve=cr.apply(this,arguments);return Re.default(this,Ve)}}function ti(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(jr){return!1}}var xi=(function(jr){Xe.default(Ar,jr);var Fr=oa(Ar);function Ar(){var cr;return mr.default(this,Ar),cr=Fr.apply(this,arguments),cr.type="missing-glyph",cr.horizAdvX=0,cr}return Ar})(Us);function Jo(jr){var Fr=ws();return function(){var cr=ir.default(jr),Ve;if(Fr){var dr=ir.default(this).constructor;Ve=Reflect.construct(cr,arguments,dr)}else Ve=cr.apply(this,arguments);return Re.default(this,Ve)}}function ws(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(jr){return!1}}var ts=(function(jr){Xe.default(Ar,jr);var Fr=Jo(Ar);function Ar(){var cr;return mr.default(this,Ar),cr=Fr.apply(this,arguments),cr.typ
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dr=!0,ur=!1,Er;return{s:function(){Ar=Ar.call(jr)},n:function(){var Gr=Ar.next();return dr=Gr.done,Gr},e:function(Gr){ur=!0,Er=Gr},f:function(){try{!dr&&Ar.return!=null&&Ar.return()}finally{if(ur)throw Er}}}}function qn(jr,Fr){if(jr){if(typeof jr=="string")return Pi(jr,Fr);var Ar=Object.prototype.toString.call(jr).slice(8,-1);if(Ar==="Object"&&jr.constructor&&(Ar=jr.constructor.name),Ar==="Map"||Ar==="Set")return Array.from(jr);if(Ar==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ar))return Pi(jr,Fr)}}function Pi(jr,Fr){(Fr==null||Fr>jr.length)&&(Fr=jr.length);for(var Ar=0,cr=new Array(Fr);Ar<Fr;Ar++)cr[Ar]=jr[Ar];return cr}function Fi(jr,Fr){var Ar=Object.keys(jr);if(Object.getOwnPropertySymbols){var cr=Object.getOwnPropertySymbols(jr);Fr&&(cr=cr.filter(function(Ve){return Object.getOwnPropertyDescriptor(jr,Ve).enumerable})),Ar.push.apply(Ar,cr)}return Ar}function ua(jr){for(var Fr=1;Fr<arguments.length;Fr++){var Ar=arguments[Fr]!=null?arguments[Fr]:{};Fr%2?Fi(Object(Ar),!0).forEach(function(cr){xr.default(jr,cr,Ar[cr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jr,Object.getOwnPropertyDescriptors(Ar)):Fi(Object(Ar)).forEach(function(cr){Object.defineProperty(jr,cr,Object.getOwnPropertyDescriptor(Ar,cr))})}return jr}function Ha(jr){var Fr=Lo();return function(){var cr=ir.default(jr),Ve;if(Fr){var dr=ir.default(this).constructor;Ve=Reflect.construct(cr,arguments,dr)}else Ve=cr.apply(this,arguments);return Re.default(this,Ve)}}function Lo(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(jr){return!1}}var No=(function(jr){Xe.default(Ar,jr);var Fr=Ha(Ar);function Ar(cr,Ve,dr){var ur;mr.default(this,Ar),ur=Fr.call(this,cr,Ve,dr),ur.type="textPath",ur.textWidth=0,ur.textHeight=0,ur.pathLength=-1,ur.glyphInfo=null,ur.letterSpacingCache=[],ur.measuresCache=new Map([["",0]]);var Er=ur.getHrefAttribute().getDefinition();return ur.text=ur.getTextFromNode(),ur.dataArray=ur.parsePathData(Er),ur}return qe.default(Ar,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(Ve){var dr=this.dataArray;Ve&&Ve.beginPath(),dr.forEach(function(ur){var Er=ur.type,Ur=ur.points;switch(Er){case aa.LINE_TO:Ve&&Ve.lineTo(Ur[0],Ur[1]);break;case aa.MOVE_TO:Ve&&Ve.moveTo(Ur[0],Ur[1]);break;case aa.CURVE_TO:Ve&&Ve.bezierCurveTo(Ur[0],Ur[1],Ur[2],Ur[3],Ur[4],Ur[5]);break;case aa.QUAD_TO:Ve&&Ve.quadraticCurveTo(Ur[0],Ur[1],Ur[2],Ur[3]);break;case aa.ARC:{var Gr=Sr.default(Ur,8),sn=Gr[0],pn=Gr[1],_n=Gr[2],ei=Gr[3],wi=Gr[4],Wi=Gr[5],ta=Gr[6],$i=Gr[7],Da=_n>ei?_n:ei,ba=_n>ei?1:_n/ei,Ci=_n>ei?ei/_n:1;Ve&&(Ve.translate(sn,pn),Ve.rotate(ta),Ve.scale(ba,Ci),Ve.arc(0,0,Da,wi,wi+Wi,!!(1-$i)),Ve.scale(1/ba,1/Ci),Ve.rotate(-ta),Ve.translate(-sn,-pn));break}case aa.CLOSE_PATH:Ve&&Ve.closePath();break}})}},{key:"renderChildren",value:function(Ve){this.setTextData(Ve),Ve.save();var dr=this.parent.getStyle("text-decoration").getString(),ur=this.getFontSize(),Er=this.glyphInfo,Ur=Ve.fillStyle;dr==="underline"&&Ve.beginPath(),Er.forEach(function(Gr,sn){var pn=Gr.p0,_n=Gr.p1,ei=Gr.rotation,wi=Gr.text;Ve.save(),Ve.translate(pn.x,pn.y),Ve.rotate(ei),Ve.fillStyle&&Ve.fillText(wi,0,0),Ve.strokeStyle&&Ve.strokeText(wi,0,0),Ve.restore(),dr==="underline"&&(sn===0&&Ve.moveTo(pn.x,pn.y+ur/8),Ve.lineTo(_n.x,_n.y+ur/5))}),dr==="underline"&&(Ve.lineWidth=ur/20,Ve.strokeStyle=Ur,Ve.stroke(),Ve.closePath()),Ve.restore()}},{key:"getLetterSpacingAt",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[Ve]||0}},{key:"findSegmentToFitChar",value:function(Ve,dr,ur,Er,Ur,Gr,sn,pn,_n){var ei=Gr,wi=this.measureText(Ve,pn);pn===" "&&dr==="justify"&&ur<Er&&(wi+=(Er-ur)/Ur),_n>-1&&(ei+=this.getLetterSpacingAt(_n));var Wi=this.textHeight/20,ta=this.getEquidistantPointOnPath(ei,Wi,0),$i=this.getEquidistantPointOnPath(ei+wi,Wi,0),Da
|
|||
|
|
<option value="" disabled>`.concat(i18n.__("请选择字段"),"</option>");Xe.forEach(function(pr,vr){pr.field==Re.field?ir+=' <option value="'+(pr.field||"")+'" selected >'+(pr.text||"")+"</option>":ir+=' <option value="'+(pr.field||"")+'" >'+(pr.text||"")+"</option>"}),ir+=" </select>",this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(ir),Re.getTarget().append(this.target),this.target.focus()},sr.prototype.getValue=function(){var Xe=this.target.val();return this.target.find('option[value="'+Xe+'"]').text()+"#"+Xe},sr.prototype.setValue=function(Xe){Xe&&!this.target.find('option[value="'+Xe+'"]').length&&this.target.find("select").prepend('<option value="'+Xe+'" >'+Xe+"</option>"),this.target.find("select").val(Xe)},sr.prototype.destroy=function(){this.target.remove()},sr),je=(Object.defineProperty(Je,"Instance",{get:function(){return Je._instance=Je._instance?Je._instance:new Je},enumerable:!0,configurable:!0}),Je),ke=(Object.defineProperty(rr,"Instance",{get:function(){return rr._instance=Te._instance?rr._instance:new rr},enumerable:!0,configurable:!0}),rr.prototype.createEditor=function(Xe){return jquery__WEBPACK_IMPORTED_MODULE_72___default.a.extend({},Te.Instance[Xe])},rr.prototype.createSelect=function(Xe){return jquery__WEBPACK_IMPORTED_MODULE_72___default.a.extend({},je.Instance[Xe])},rr),Ue=Be(10),Fe=Be(14),Qe=Be(11),He=(Ye.prototype.init=function(Xe,Re){var ir=this;this.tableOptions=Re,this.title=Xe.title,this.field=Xe.field,Xe.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){Xe.isEditing=!0,ir.beginEdit(Xe)})},Ye.prototype.getDisplayHtml=function(){return this.title},Ye.prototype.beginEdit=function(Xe){var Re=this;Re.tableOptions.options.fields&&Re.tableOptions.options.fields.length?(this.editor=ke.Instance.createSelect("select"),Xe.getTarget().html(""),this.editor.init(Re.tableOptions.options.fields,Xe),this.editor.setValue(this.field||""),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).keydown(function(ir){ir.keyCode==13&&Re.endEdit(Xe)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).change(function(ir){Re.endEdit(Xe)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).blur(function(ir){Re.endEdit(Xe)})):(this.editor=ke.Instance.createEditor("text"),Xe.getTarget().html(""),this.editor.init(Xe),(this.title||this.field)&&(this.tableOptions.options.isEnableEditField?this.editor.setValue((this.title||"")+"#"+(this.field||"")):this.editor.setValue(this.title||"")),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).keydown(function(ir){ir.keyCode==13&&Re.endEdit(Xe)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).blur(function(ir){Re.endEdit(Xe)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=Xe.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=Xe)},Ye.prototype.endEdit=function(Xe){Xe.isEditing=0;var Re,ir=this.editor.getValue();ir?this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields?(Re=ir.split("#"),Xe.title=this.title=Re[0],0<Re.length&&(Xe.columnId=Xe.field=this.field=Re[1]),Xe.id&&Xe.target.attr("id",Xe.id),Xe.columnId&&Xe.target.attr("column-id",Xe.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"调整表格列字段")):Xe.title=this.title=ir:this.tableOptions.options.isEnableEditField?(Xe.title=this.title="",Xe.field=this.field=""):Xe.title=this.title="",this.editor.destroy(),Xe.getTarget().html(this.title)},Ye),Ie=function(Xe){this.title=Xe.title,this.field=Xe.field,this.width=Xe.width,this.align=Xe.align,this.halign=Xe.halign,this.vAlign=Xe.vAlign,this.colspan=Xe.colspan,this.rowspan=Xe.rowspan,this.checked=Xe.checked,this.columnId=Xe.columnId,this.tableSummaryTitle=Xe.tableSummaryTitle,this.tableSummaryText=Xe.tableSummaryText,this.tableSummaryColspan=Xe.tableSummaryColspan,this.tableSummary=Xe.tableSummary,this.tableSummaryAlign=Xe.tableSummaryAlign,this.tableSummaryNumFormat=Xe.tableSummaryNumFormat,t
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体行高"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
<option value="22.5" >22.5pt</option>
|
|||
|
|
<option value="23.25" >23.25pt</option>
|
|||
|
|
<option value="24" >24pt</option>
|
|||
|
|
<option value="24.75" >24.75pt</option>
|
|||
|
|
<option value="25.5" >25.5pt</option>
|
|||
|
|
<option value="26.25" >26.25pt</option>
|
|||
|
|
<option value="27" >27pt</option>
|
|||
|
|
<option value="27.75" >27.75pt</option>
|
|||
|
|
<option value="28.5" >28.5pt</option>
|
|||
|
|
<option value="29.25" >29.25pt</option>
|
|||
|
|
<option value="30" >30pt</option>
|
|||
|
|
<option value="30.75" >30.75pt</option>
|
|||
|
|
<option value="31.5" >31.5pt</option>
|
|||
|
|
<option value="32.25" >32.25pt</option>
|
|||
|
|
<option value="33" >33pt</option>
|
|||
|
|
<option value="33.75" >33.75pt</option>
|
|||
|
|
<option value="34.5" >34.5pt</option>
|
|||
|
|
<option value="35.25" >35.25pt</option>
|
|||
|
|
<option value="36" >36pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ui.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},ui.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},ui.prototype.destroy=function(){this.target.remove()};var Me=ui,Te=(pi.prototype.createTarget=function(Ze){var en,mi=void 0;return(mi=Ze?Ze.getFontList():mi)?(en=`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),"</option>"),mi.forEach(function(Ni,Vi){en+=' <option value="'+(Ni.value||"")+'" >'+(Ni.title||"")+"</option>"}),en+=` </select>
|
|||
|
|
</div>
|
|||
|
|
</div>`,this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(en)):this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="SimSun" >`).concat(i18n.__("宋体"),`</option>
|
|||
|
|
<option value="Microsoft YaHei" >`).concat(i18n.__("微软雅黑"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},pi.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("font-family",en),"font-family:"+en;Ze[0].style.fontFamily="inherit"}return null},pi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},pi.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},pi.prototype.destroy=function(){this.target.remove()},pi),Se=(Rn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("font-size",en+"pt"),"font-size:"+en+"pt";Ze[0].style.fontSize=""}return null},Rn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体大小"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Rn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},Rn.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Rn.prototype.destroy=function(){this.target.remove()},Rn),je=(Dn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("font-weight",en),"font-weight:"+en;Ze[0].style.fontWeight=""}return null},Dn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体粗细"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="lighter" >`).concat(i18n.__("更细"),`</option>
|
|||
|
|
<option value="bold" >`).concat(i18n.__("粗体"),`</option>
|
|||
|
|
<option value="bolder" >`).concat(i18n.__("粗体+"),`</option>
|
|||
|
|
<option value="100" >100</option>
|
|||
|
|
<option value="200" >200</option>
|
|||
|
|
<option value="300" >300</option>
|
|||
|
|
<option value="400" >400</option>
|
|||
|
|
<option value="500" >500</option>
|
|||
|
|
<option value="600" >600</option>
|
|||
|
|
<option value="700" >700</option>
|
|||
|
|
<option value="800" >800</option>
|
|||
|
|
<option value="900" >900</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Dn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Dn.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Dn.prototype.destroy=function(){this.target.remove()},Dn),ke=(En.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("letter-spacing",en+"pt"),"letter-spacing:"+en+"pt";Ze[0].style.letterSpacing=""}return null},En.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字间距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},En.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},En.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},En.prototype.destroy=function(){this.target.remove()},En),Ue=(hn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("text-align",en),en=="justify"?(Ze.css("text-align-last","justify"),Ze.css("text-justify","distribute-all-lines")):(Ze[0].style.textAlignLast="",Ze[0].style.textJustify=""),"text-align:"+en;Ze[0].style.textAlign="",Ze[0].style.textAlignLast="",Ze[0].style.textJustify=""}return null},hn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("左右对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="left" >`).concat(i18n.__("居左"),`</option>
|
|||
|
|
<option value="center" >`).concat(i18n.__("居中"),`</option>
|
|||
|
|
<option value="right" >`).concat(i18n.__("居右"),`</option>
|
|||
|
|
<option value="justify" >`).concat(i18n.__("两端对齐"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},hn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},hn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},hn.prototype.destroy=function(){this.target.remove()},hn),Fe=(Yr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("标题显示隐藏"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("显示"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("隐藏"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Yr.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},Yr.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},Yr.prototype.destroy=function(){this.target.remove()},Yr),Qe=(Si.prototype.css=function(Ze,en){if(Ze.find("table").length){if(en=="border"||en==null)return Ze.find("table").css("border","1px solid"),"border:1px solid";en=="noBorder"?Ze.find("table").css("border","0px solid"):Ze.find("table")[0].style.border=""}return null},Si.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Si.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Si.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Si.prototype.destroy=function(){this.target.remove()},Si),He=(vi.prototype.css=function(Ze,en){if(Ze.find("thead tr").length){if(en=="border"||en==null)return Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");en=="noBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):en=="leftBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):en=="rightBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):en=="leftRightBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):en=="topBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):en=="bottomBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):en=="topBottomBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ze.find("thead tr").removeClass()}return null},vi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
<option value="leftBorder" >`).concat(i18n.__("左边框"),`</option>
|
|||
|
|
<option value="rightBorder" >`).concat(i18n.__("右边框"),`</option>
|
|||
|
|
<option value="leftRightBorder" >`).concat(i18n.__("左右边框"),`</option>
|
|||
|
|
<option value="topBorder" >`).concat(i18n.__("上边框"),`</option>
|
|||
|
|
<option value="bottomBorder" >`).concat(i18n.__("下边框"),`</option>
|
|||
|
|
<option value="topBottomBorder" >`).concat(i18n.__("上下边框"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},vi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},vi.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},vi.prototype.destroy=function(){this.target.remove()},vi),Ie=(ii.prototype.css=function(Ze,en){if(Ze.find("thead tr").length){if(en=="border"||en==null)return Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");en=="noBorder"?Ze.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ze.find("thead tr").removeClass()}return null},ii.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头单元格边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ii.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},ii.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},ii.prototype.destroy=function(){this.target.remove()},ii),_e=(Zn.prototype.css=function(Ze,en){if(Ze.find("tfoot tr").length){if(en=="border"||en==null)return Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");en=="noBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):en=="leftBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):en=="rightBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):en=="leftRightBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):en=="topBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):en=="bottomBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):en=="topBottomBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ze.find("tfoot tr").removeClass()}return null},Zn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表尾边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
<option value="leftBorder" >`).concat(i18n.__("左边框"),`</option>
|
|||
|
|
<option value="rightBorder" >`).concat(i18n.__("右边框"),`</option>
|
|||
|
|
<option value="leftRightBorder" >`).concat(i18n.__("左右边框"),`</option>
|
|||
|
|
<option value="topBorder" >`).concat(i18n.__("上边框"),`</option>
|
|||
|
|
<option value="bottomBorder" >`).concat(i18n.__("下边框"),`</option>
|
|||
|
|
<option value="topBottomBorder" >`).concat(i18n.__("上下边框"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Zn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Zn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Zn.prototype.destroy=function(){this.target.remove()},Zn),Ae=(zi.prototype.css=function(Ze,en){if(Ze.find("tfoot tr").length){if(en=="border"||en==null)return Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");en=="noBorder"?Ze.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ze.find("tfoot tr").removeClass()}return null},zi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表尾单元格边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},zi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},zi.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},zi.prototype.destroy=function(){this.target.remove()},zi),Ye=(Li.prototype.css=function(Ze,en){if(Ze.find("thead tr td").length){if(en)return Ze.find("thead tr td:not([rowspan])").css("height",en+"pt"),"height:"+en+"pt";Ze.find("thead tr td").map(function(mi,Ni){Ni.style.height=""})}return null},Li.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头行高"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
<option value="22.5" >22.5pt</option>
|
|||
|
|
<option value="23.25" >23.25pt</option>
|
|||
|
|
<option value="24" >24pt</option>
|
|||
|
|
<option value="24.75" >24.75pt</option>
|
|||
|
|
<option value="25.5" >25.5pt</option>
|
|||
|
|
<option value="26.25" >26.25pt</option>
|
|||
|
|
<option value="27" >27pt</option>
|
|||
|
|
<option value="27.75" >27.75pt</option>
|
|||
|
|
<option value="28.5" >28.5pt</option>
|
|||
|
|
<option value="29.25" >29.25pt</option>
|
|||
|
|
<option value="30" >30pt</option>
|
|||
|
|
<option value="30.75" >30.75pt</option>
|
|||
|
|
<option value="31.5" >31.5pt</option>
|
|||
|
|
<option value="32.25" >32.25pt</option>
|
|||
|
|
<option value="33" >33pt</option>
|
|||
|
|
<option value="33.75" >33.75pt</option>
|
|||
|
|
<option value="34.5" >34.5pt</option>
|
|||
|
|
<option value="35.25" >35.25pt</option>
|
|||
|
|
<option value="36" >36pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Li.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},Li.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Li.prototype.destroy=function(){this.target.remove()},Li),rr=(ci.prototype.css=function(Ze,en){if(Ze.find("thead").length){if(en)return Ze.find("thead").css("font-size",en+"pt"),"font-size:"+en+"pt";Ze.find("thead").map(function(mi,Ni){Ni.style.fontSize=""})}return null},ci.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头字体大小"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ci.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},ci.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},ci.prototype.destroy=function(){this.target.remove()},ci),Je=(ni.prototype.css=function(Ze,en){if(Ze.find("thead").length){if(en)return Ze.find("thead tr td").css("font-weight",en),"font-weight:"+en;Ze.find("thead tr td").map(function(mi,Ni){Ni.style.fontWeight=""})}return null},ni.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头字体粗细"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="lighter" >`).concat(i18n.__("更细"),`</option>
|
|||
|
|
<option value="bold" >`).concat(i18n.__("粗体"),`</option>
|
|||
|
|
<option value="bolder" >`).concat(i18n.__("粗体+"),`</option>
|
|||
|
|
<option value="100" >100</option>
|
|||
|
|
<option value="200" >200</option>
|
|||
|
|
<option value="300" >300</option>
|
|||
|
|
<option value="400" >400</option>
|
|||
|
|
<option value="500" >500</option>
|
|||
|
|
<option value="600" >600</option>
|
|||
|
|
<option value="700" >700</option>
|
|||
|
|
<option value="800" >800</option>
|
|||
|
|
<option value="900" >900</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ni.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},ni.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},ni.prototype.destroy=function(){this.target.remove()},ni),sr=(Yn.prototype.css=function(Ze,en){if(Ze.find("tbody tr").length){if(en=="border"||en==null)return Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");en=="noBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ze.find("tbody tr").removeClass()}return null},Yn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表体单元格边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Yn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Yn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Yn.prototype.destroy=function(){this.target.remove()},Yn),wr=(Qn.prototype.css=function(Ze,en){if(Ze.find("tbody tr td").length){if(en)return Ze.find("tbody tr td").css("height",en+"pt"),"height:"+en+"pt";Ze.find("tbody tr td").map(function(mi,Ni){Ni.style.height=""})}return null},Qn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表体行高"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
<option value="22.5" >22.5pt</option>
|
|||
|
|
<option value="23.25" >23.25pt</option>
|
|||
|
|
<option value="24" >24pt</option>
|
|||
|
|
<option value="24.75" >24.75pt</option>
|
|||
|
|
<option value="25.5" >25.5pt</option>
|
|||
|
|
<option value="26.25" >26.25pt</option>
|
|||
|
|
<option value="27" >27pt</option>
|
|||
|
|
<option value="27.75" >27.75pt</option>
|
|||
|
|
<option value="28.5" >28.5pt</option>
|
|||
|
|
<option value="29.25" >29.25pt</option>
|
|||
|
|
<option value="30" >30pt</option>
|
|||
|
|
<option value="30.75" >30.75pt</option>
|
|||
|
|
<option value="31.5" >31.5pt</option>
|
|||
|
|
<option value="32.25" >32.25pt</option>
|
|||
|
|
<option value="33" >33pt</option>
|
|||
|
|
<option value="33.75" >33.75pt</option>
|
|||
|
|
<option value="34.5" >34.5pt</option>
|
|||
|
|
<option value="35.25" >35.25pt</option>
|
|||
|
|
<option value="36" >36pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Qn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},Qn.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Qn.prototype.destroy=function(){this.target.remove()},Qn),Sr=(ri.prototype.css=function(Ze,en){if(Ze.find("thead").length){if(en)return Ze.find("thead").css("background",en),"background:"+en;Ze.find("thead").map(function(mi,Ni){Ni.style.background=""})}return null},ri.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表头背景"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit" />
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ri.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},ri.prototype.setValue=function(Ze){this.target.find("input").minicolors({defaultValue:Ze||"",theme:"bootstrap"}),this.target.find("input").val(Ze)},ri.prototype.destroy=function(){this.target.remove()},ri),xr=(fi.prototype.createTarget=function(Ze){return Ze=["hline","vline","rect","oval"].includes(Ze.printElementType.type)?"".concat(i18n.__("线宽")):"".concat(i18n.__("边框大小")),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(Ze,`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},fi.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-width",en+"pt"),"border-width:"+en+"pt";Ze[0].style.borderWidth=""}return null},fi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},fi.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},fi.prototype.destroy=function(){this.target.remove()},fi),mr=(Jn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("条形码格式"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="CODE128A" >CODE128A</option>
|
|||
|
|
<option value="CODE128B" >CODE128B</option>
|
|||
|
|
<option value="CODE128C" >CODE128C</option>
|
|||
|
|
<option value="CODE39" >CODE39</option>
|
|||
|
|
<option value="EAN13" >EAN-13</option>
|
|||
|
|
<option value="EAN8" >EAN-8</option>
|
|||
|
|
<option value="EAN5" >EAN-5</option>
|
|||
|
|
<option value="EAN2" >EAN-2</option>
|
|||
|
|
<option value="UPC" >UPC(A)</option>
|
|||
|
|
<option value="ITF" >ITF</option>
|
|||
|
|
<option value="ITF14" >ITF-14</option>
|
|||
|
|
<option value="MSI" >MSI</option>
|
|||
|
|
<option value="MSI10" >MSI10</option>
|
|||
|
|
<option value="MSI11" >MSI11</option>
|
|||
|
|
<option value="MSI1010" >MSI1010</option>
|
|||
|
|
<option value="MSI1110" >MSI1110</option>
|
|||
|
|
<option value="Pharmacode" >Pharmacode</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Jn.prototype.getValue=function(){return this.target.find("select").val()||void 0},Jn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Jn.prototype.destroy=function(){this.target.remove()},Jn),qe=(oi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item"><div class="hiprint-option-item-label">'.concat(i18n.__("条码文本模式"),'</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">').concat(i18n.__("默认"),'</option><option value="text">单独文本</option><option value="svg">svg文本</option></select></div></div>')),this.target},oi.prototype.getValue=function(){return this.target.find("select").val()||void 0},oi.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},oi.prototype.destroy=function(){this.target.remove()},oi),lr=(Nn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item"><div class="hiprint-option-item-label">'.concat(i18n.__("条码宽度"),'</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">').concat(i18n.__("默认"),'</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option></select></div></div>')),this.target},Nn.prototype.getValue=function(){return this.target.find("select").val()||void 0},Nn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Nn.prototype.destroy=function(){this.target.remove()},Nn),xe=(Sn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item"><div class="hiprint-option-item-label">'.concat(i18n.__("条码自动增宽"),'</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">').concat(i18n.__("默认"),'</option><option value="true">').concat(i18n.__("自动"),'</option><option value="false">').concat(i18n.__("不自动"),"</option></select></div></div>")),this.target},Sn.prototype.getValue=function(){return this.target.find("select").val()||void 0},Sn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Sn.prototype.destroy=function(){this.target.remove()},Sn),Xe=(wn.prototype.createTarget=function(){var Ze=[{label:"".concat(i18n.__("默认"),"(Code 128)"),value:""},{label:"".concat(i18n.__("商品条码")),children:[{label:"EAN-13",value:"ean13"},{label:"EAN-8",value:"ean8"},{label:"UPC-A",value:"upca"},{label:"UPC-E",value:"upce"},{label:"ISBN",value:"isbn"},{label:"ISMN",value:"ismn"},{label:"ISSN",value:"issn"}]},{label:"".concat(i18n.__("条形码")),children:[{label:"Code 39",value:"code39"},{label:"Code 39 Extended",value:"code39ext"},{label:"Code 93",value:"code93"},{label:"Code 93 Extended",value:"code93ext"},{label:"Code 128",value:"code128"},{label:"Interleaved 2 of 5 (ITF)",value:"interleaved2of5"}]},{label:"".concat(i18n.__("物流")),children:[{label:"EAN-14",value:"ean14"},{label:"GS1-128",value:"gs1-128"},{label:"ITF-14",value:"itf14"},{label:"SSCC-18",value:"sscc18"}]},{label:"GS1 DataBar",children:[{label:"扩展式 GS1 DataBar",value:"databarexpanded"},{label:"层排扩展式 GS1 DataBar",value:"databarexpandedstacked"},{label:"限定式 GS1 DataBar",value:"databarlimited"},{label:"全向式 GS1 DataBar",value:"databaromni"},{label:"层排式 GS1 DataBar",value:"databarstacked"},{label:"全向层排式 GS1 DataBar",value:"databarstackedomni"},{label:"截短式 GS1 DataBar",value:"databartruncated"},{label:"GS1 北美优惠券码",value:"gs1northamericancoupon"}]},{label:"".concat(i18n.__("邮政和快递编码")),children:[{label:"AusPost 4 State Customer Code",value:"auspost"},{label:"Deutsche Post Identcode",value:"identcode"},{label:"Deutsche Post Leitcode",value:"leitcode"},{label:"Japan Post 4 State Customer Code",value:"japanpost"},{label:"Royal TNT Post",value:"kix"},{label:"Royal Mail 4 State Customer Code",value:"royalmail"},{label:"Royal Mail Mailmark",val
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("二维码容错率"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="1" >7% L</option>
|
|||
|
|
<option value="0" >15% M</option>
|
|||
|
|
<option value="3" >25% Q</option>
|
|||
|
|
<option value="2" >30% H</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},dn.prototype.getValue=function(){var Ze=this.target.find("select").val();return parseInt(Ze||0)},dn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},dn.prototype.destroy=function(){this.target.remove()},dn),pr=(fn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("color",en),"color:"+en;Ze[0].style.color=""}return null},fn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字体颜色"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},fn.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},fn.prototype.setValue=function(Ze){this.target.find("input").minicolors({defaultValue:Ze||"",theme:"bootstrap"}),this.target.find("input").val(Ze)},fn.prototype.destroy=function(){this.target.remove()},fn),vr=(vn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("文本修饰"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="underline" >`).concat(i18n.__("下划线"),`</option>
|
|||
|
|
<option value="overline" >`).concat(i18n.__("上划线"),`</option>
|
|||
|
|
<option value="line-through" >`).concat(i18n.__("穿梭线"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},vn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("text-decoration",en),"text-decoration:"+en;Ze[0].style.textDecoration=""}return null},vn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},vn.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},vn.prototype.destroy=function(){this.target.remove()},vn),Cr=(tn.prototype.createTarget=function(Ze){var en,mi=void 0;return(mi=Ze?Ze.getFields():mi)?(this.isSelect=!0,en=`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字段名"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("请选择字段"),"</option>"),mi.forEach(function(Ni,Vi){en+=' <option value="'+(Ni.field||"")+'" >'+(Ni.text||"")+"</option>"}),en+=` </select>
|
|||
|
|
</div>
|
|||
|
|
</div>`,this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(en)):(this.isSelect=!1,this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字段名"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("请输入字段名"),`" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`))),this.target},tn.prototype.getValue=function(){return(this.isSelect?this.target.find("select"):this.target.find("input")).val()||void 0},tn.prototype.setValue=function(Ze){this.isSelect?Ze&&(this.target.find('option[value="'+Ze+'"]').length||this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)):this.target.find("input").val(Ze)},tn.prototype.destroy=function(){this.target.remove()},tn),Ir=(An.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("标题"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:50px;" placeholder="`).concat(i18n.__("请输入标题"),`" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},An.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},An.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze)},An.prototype.destroy=function(){this.target.remove()},An),gr=(rn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("测试数据"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("仅字段名称存在时有效"),`" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},rn.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},rn.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},rn.prototype.destroy=function(){this.target.remove()},rn),kr=(Jr.prototype.createTarget=function(Ze,en){var mi=this;return mi.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("位置坐标"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|||
|
|
|
|||
|
|
<input type="number" style="width:48%" placeholder="`).concat(i18n.__("X位置(左)"),`" class="auto-submit" />
|
|||
|
|
|
|||
|
|
<input type="number" style="width:48%" placeholder="`).concat(i18n.__("Y位置(上)"),`" class="auto-submit" />
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>`)),mi.syncLock=en.coordinateSync||!1,mi.createSyncLock(mi.syncLock),mi.target},Jr.prototype.createSyncLock=function(Ze){var en=this;return en.lockTarget=en.syncLock?jquery__WEBPACK_IMPORTED_MODULE_72___default()('<label style="margin: 0 4px;text-align:center;width: 8%" title="'.concat(i18n.__("同步"),'">🔗</label>')):jquery__WEBPACK_IMPORTED_MODULE_72___default()('<label style="margin: 0 4px;text-align:center;width: 8%" title="'.concat(i18n.__("不同步"),'">🔓</label>')),en.lockTarget.click(function(){en.syncLock?en.lockTarget.text("🔓").attr("title","".concat(i18n.__("不同步"))):en.lockTarget.text("🔗").attr("title","".concat(i18n.__("同步"))),en.syncLock=!en.syncLock}),en.target.find("input:first").after(en.lockTarget),en.target.find("input:first").change(function(){en.syncLock&&en.target.find("input:last").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),en.target.find("input:last").change(function(){en.syncLock&&en.target.find("input:first").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),en.lockTarget},Jr.prototype.css=function(Ze){var en;return Ze&&Ze.length&&this.target&&(Ze.find(".resize-panel").css("display")=="block"||Ze[0].className.includes("table"))&&this.el==Ze?(en=this.getValue(),Ze.css("left",en.left+"pt").css("top",en.top+"pt")):null},Jr.prototype.getValue=function(){var Ze={coordinateSync:this.syncLock,left:0,top:0};return Ze.left=parseFloat(this.target.find("input:first").val()||0),Ze.top=parseFloat(this.target.find("input:last").val()||0),Ze},Jr.prototype.setValue=function(Ze,en){this.el=en.designTarget||en,this.target.find("input:first").val(Ze.left),this.target.find("input:last").val(Ze.top)},Jr.prototype.destroy=function(){this.target.remove()},Jr),Wr=(Rr.prototype.createTarget=function(Ze,en){var mi=this;return mi.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("宽高大小"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|||
|
|
|
|||
|
|
<input type="number" style="width:48%" placeholder="`).concat(i18n.__("宽"),`" class="auto-submit" />
|
|||
|
|
|
|||
|
|
<input type="number" style="width:48%" placeholder="`).concat(i18n.__("高"),`" class="auto-submit" />
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>`)),mi.syncLock=en.widthHeightSync||!1,mi.createSyncLock(mi.syncLock),mi.target},Rr.prototype.createSyncLock=function(Ze){var en=this;return en.lockTarget=en.syncLock?jquery__WEBPACK_IMPORTED_MODULE_72___default()('<label style="margin: 0 4px;text-align:center;width: 8%" title="'.concat(i18n.__("同步"),'">🔗</label>')):jquery__WEBPACK_IMPORTED_MODULE_72___default()('<label style="margin: 0 4px;text-align:center;width: 8%" title="'.concat(i18n.__("不同步"),'">🔓</label>')),en.lockTarget.click(function(){en.syncLock?en.lockTarget.text("🔓").attr("title","".concat(i18n.__("不同步"))):en.lockTarget.text("🔗").attr("title","".concat(i18n.__("同步"))),en.syncLock=!en.syncLock}),en.target.find("input:first").after(en.lockTarget),en.target.find("input:first").change(function(){en.syncLock&&en.target.find("input:last").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),en.target.find("input:last").change(function(){en.syncLock&&en.target.find("input:first").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),en.lockTarget},Rr.prototype.css=function(Ze){var en;return Ze&&Ze.length&&this.target&&(Ze.find(".resize-panel").css("display")=="block"||Ze[0].className.includes("table"))&&this.el==Ze?(en=this.getValue(),Ze.css("width",en.width+"pt").css("height",en.height+"pt")):null},Rr.prototype.getValue=function(){var Ze={widthHeightSync:this.syncLock,width:0,height:0};return Ze.width=parseFloat(this.target.find("input:first").val()||0),Ze.height=parseFloat(this.target.find("input:last").val()||0),Ze},Rr.prototype.setValue=function(Ze,en){this.el=en.designTarget||en,this.target.find("input:first").val(Ze.width),this.target.find("input:last").val(Ze.height)},Rr.prototype.destroy=function(){this.target.remove()},Rr),Ce=(Zr.prototype.createTarget=function(Ze){this.el=Ze;var en=void 0,mi=this;return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("图片地址"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("请输入图片地址"),`" class="auto-submit" style="width:70%">
|
|||
|
|
<button class="hiprint-option-item-settingBtn" style="padding:0 10px;margin:0 0 0 5px" type="button">`).concat(i18n.__("选择"),`</button> </div>
|
|||
|
|
</div>`)),(en=Ze?Ze.getOnImageChooseClick():en)&&this.target.find("button").click(function(){en&&en(mi)}),this.target},Zr.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},Zr.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Zr.prototype.refresh=function(Ze,en,mi){var Ni,Vi=this;this.setValue(Ze),this.target.find("input").change(),this.el&&en&&((Ni=new Image).src=Ze,Ni.complete?Vi.updateEl(Ni.width,Ni.height,en,mi):Ni.onload=function(){Vi.updateEl(Ni.width,Ni.height,en,mi)})},Zr.prototype.updateEl=function(Ze,en,mi,Ni){var Vi,ca,ha;mi&&(mi&&mi.auto&&(en<=Ze?mi.width=!0:mi.height=!0),mi.width?(Vi=en/Ze,ca=this.el.options.width,ha=Math.floor(ca*Vi*10)/10,this.el.options.height=ha,this.el.designTarget.css("height",ha+"pt")):mi.height?(Vi=Ze/en,ha=this.el.options.height,ca=Math.floor(ha*Vi*10)/10,this.el.options.width=ca,this.el.designTarget.css("width",ca+"pt")):mi.real&&(ca=hinnn.px.toPt(Ze),ha=hinnn.px.toPt(en),this.el.options.width=ca,this.el.options.height=ha,this.el.designTarget.css("width",ca+"pt"),this.el.designTarget.css("height",ha+"pt")),this.el.designTarget.children(".resize-panel").trigger(jquery__WEBPACK_IMPORTED_MODULE_72___default.a.Event("click"))),Ni&&Ni(this.el,Ze,en)},Zr.prototype.destroy=function(){this.target.remove()},Zr),Hr=(an.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.find("img").css("object-fit",en),"object-fit:"+en;Ze.find("img")[0].style["object-fit"]=""}return null},an.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("图片缩放"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="contain" >`).concat(i18n.__("等比"),`</option>
|
|||
|
|
<option value="cover" >`).concat(i18n.__("剪裁"),`</option>
|
|||
|
|
<option value="fill" >`).concat(i18n.__("填充"),`</option>
|
|||
|
|
<option value="none" >`).concat(i18n.__("原始尺寸"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target,this.target},an.prototype.getValue=function(){return this.target.find("select").val()},an.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},an.prototype.destroy=function(){this.target.remove()},an),De=(Or.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-color",en),"border-color:"+en;Ze[0].style.borderColor=""}return null},Or.prototype.createTarget=function(Ze){return Ze=["hline","vline","rect","oval"].includes(Ze.printElementType.type)?"".concat(i18n.__("颜色")):"".concat(i18n.__("边框颜色")),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(Ze,`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit" />
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Or.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},Or.prototype.setValue=function(Ze){this.target.find("input").minicolors({defaultValue:Ze||"",theme:"bootstrap"}),this.target.find("input").val(Ze)},Or.prototype.destroy=function(){this.target.remove()},Or),Ge=(Nr.prototype.createTarget=function(){this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">'.concat(i18n.__("水印功能"),"</div></div>")),this.content=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;"><div style="width:25%">'.concat(i18n.__("水印内容"),':</div><input style="width:75%" type="text" placeholder="').concat(i18n.__("水印内容"),'" class="auto-submit"></div>')),this.fillStyle=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;margin-top: 4px"><div style="width:25%">'.concat(i18n.__("字体颜色"),':</div><input style="width:110%" data-format="rgb" data-opacity="0.3" type="text" placeholder="').concat(i18n.__("字体颜色"),'" class="auto-submit"></div>')),this.fontSize=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;"><div style="width:25%">'.concat(i18n.__("字体大小"),':</div><input style="width:75%" type="range" min="10" max="80" placeholder="').concat(i18n.__("字体大小"),'" class="auto-submit"></div>')),this.rotate=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;"><div style="width:25%">'.concat(i18n.__("旋转角度"),':</div><input style="width:75%" type="range" min="0" max="180" placeholder="').concat(i18n.__("旋转角度"),'" class="auto-submit"></div>')),this.width=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;"><div style="width:25%">'.concat(i18n.__("水平密度"),':</div><input style="width:75%" type="range" min="100" max="800" placeholder="').concat(i18n.__("水平密度"),'" class="auto-submit"></div>')),this.height=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;"><div style="width:25%">'.concat(i18n.__("垂直密度"),':</div><input style="width:75%" type="range" min="100" max="800" placeholder="').concat(i18n.__("垂直密度"),'" class="auto-submit"></div>')),this.timestamp=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: center;"><div style="width:25%">'.concat(i18n.__("水印时间"),':</div><input style="width:18px;height:18px;margin:0 0 4px 0;" type="checkbox" placeholder="').concat(i18n.__("水印时间"),'" class="auto-submit"></div>'));var Ze=`
|
|||
|
|
<option value="" >`.concat(i18n.__("默认"),"(YYYY-MM-DD HH:mm)</option>");return["YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm","YYYY-MM-DD HH","YYYY-MM-DD","YYYY-MMMM","YYYY-MM","YYYY"].forEach(function(en){Ze+=`
|
|||
|
|
<option value="`+en+'">'+en+"</option>"}),this.format=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;"><div style="width:25%">'.concat(i18n.__("时间格式"),':</div><select style="width:75%" class="auto-submit"></select></div>')),this.format.find(".auto-submit").append(jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ze)),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},Nr.prototype.getValue=function(){var Ze={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,Ze)},Nr.prototype.setValue=function(Ze){this.options=Ze,this.content.find("input").val(Ze.content||""),this.fillStyle.find("input").val(Ze.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"});var en=parseInt(Ze.fontSize||"14");this.fontSize.find("input").val(en),this.rotate.find("input").val(Ze.rotate||25),this.width.find("input").val(Ze.width||200),this.height.find("input").val(Ze.height||200),this.timestamp.find("input").attr("checked",Ze.timestamp!=null&&Ze.timestamp),this.format.find("select").val(Ze.format||"YYYY-MM-DD HH:mm")},Nr.prototype.destroy=function(){this.target.remove()},Nr),ar=(Br.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("页码格式"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="\${paperNo}-\${paperCount}" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Br.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},Br.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Br.prototype.destroy=function(){this.target.remove()},Br),xn=(hr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("显示页码"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("显示"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("隐藏"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},hr.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},hr.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},hr.prototype.destroy=function(){this.target.remove()},hr),Hn=(rs.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("页码续排"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="true" >`).concat(i18n.__("续排"),`</option>
|
|||
|
|
<option value="reset" >`).concat(i18n.__("重排"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},rs.prototype.getValue=function(){return this.target.find("select").val()=="true"},rs.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null||Ze?"true":"reset").toString())},rs.prototype.destroy=function(){this.target.remove()},rs),$n=(No.prototype.css=function(Ze,en){return null},No.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("每行缩进"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
<option value="22.5" >22.5pt</option>
|
|||
|
|
<option value="23.25" >23.25pt</option>
|
|||
|
|
<option value="24" >24pt</option>
|
|||
|
|
<option value="24.75" >24.75pt</option>
|
|||
|
|
<option value="25.5" >25.5pt</option>
|
|||
|
|
<option value="26.25" >26.25pt</option>
|
|||
|
|
<option value="27" >27pt</option>
|
|||
|
|
<option value="27.75" >27.75pt</option>
|
|||
|
|
<option value="28.5" >28.5pt</option>
|
|||
|
|
<option value="29.25" >29.25pt</option>
|
|||
|
|
<option value="30" >30pt</option>
|
|||
|
|
<option value="30.75" >30.75pt</option>
|
|||
|
|
<option value="31.5" >31.5pt</option>
|
|||
|
|
<option value="32.25" >32.25pt</option>
|
|||
|
|
<option value="33" >33pt</option>
|
|||
|
|
<option value="33.75" >33.75pt</option>
|
|||
|
|
<option value="34.5" >34.5pt</option>
|
|||
|
|
<option value="35.25" >35.25pt</option>
|
|||
|
|
<option value="36" >36pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},No.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},No.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},No.prototype.destroy=function(){this.target.remove()},No),Un=(Lo.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en&&en=="none")return Ze.addClass("alwaysHide");Ze.removeClass("alwaysHide")}return null},Lo.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("显示规则"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="none" >`).concat(i18n.__("始终隐藏"),`</option>
|
|||
|
|
<option value="first" >`).concat(i18n.__("首页"),`</option>
|
|||
|
|
<option value="odd" >`).concat(i18n.__("奇数页"),`</option>
|
|||
|
|
<option value="even" >`).concat(i18n.__("偶数页"),`</option>
|
|||
|
|
<option value="last" >`).concat(i18n.__("尾页"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Lo.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Lo.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Lo.prototype.destroy=function(){this.target.remove()},Lo),$r=(Ha.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en&&en=="none")return Ze.addClass("alwaysHide");Ze.removeClass("alwaysHide")}return null},Ha.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("强制分页"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("是"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Ha.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},Ha.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},Ha.prototype.destroy=function(){this.target.remove()},Ha),Oi=(ua.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("打印规则"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="odd" >`).concat(i18n.__("保持奇数"),`</option>
|
|||
|
|
<option value="even" >`).concat(i18n.__("保持偶数"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ua.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},ua.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},ua.prototype.destroy=function(){this.target.remove()},ua),Wn=(Fi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("分页规则"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="none" >`).concat(i18n.__("不分页"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Fi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Fi.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Fi.prototype.destroy=function(){this.target.remove()},Fi),Lr=(Pi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("移除段落左侧空白"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("移除"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("不移除"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Pi.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},Pi.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},Pi.prototype.destroy=function(){this.target.remove()},Pi),Ii=(qn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("首页页尾"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("首页页尾"),`" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},qn.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},qn.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},qn.prototype.destroy=function(){this.target.remove()},qn),cn=(Ln.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("尾页页尾"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("尾页页尾"),`" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Ln.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},Ln.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Ln.prototype.destroy=function(){this.target.remove()},Ln),Bn=(Xr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("偶数页页尾"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("偶数页页尾"),`" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Xr.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},Xr.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Xr.prototype.destroy=function(){this.target.remove()},Xr),Pn=(fr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("奇数页页尾"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("奇数页页尾"),`" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},fr.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},fr.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},fr.prototype.destroy=function(){this.target.remove()},fr),Va=(T1.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("位置固定"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("是"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},T1.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},T1.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},T1.prototype.destroy=function(){this.target.remove()},T1),Ca=(ts.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("拖动方向"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="h" >`).concat(i18n.__("横向"),`</option>
|
|||
|
|
<option value="v" >`).concat(i18n.__("竖向"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ts.prototype.getValue=function(){return this.target.find("select").val()||void 0},ts.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},ts.prototype.destroy=function(){this.target.remove()},ts),Zi=(ws.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("左偏移"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("偏移量"),`pt" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ws.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},ws.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},ws.prototype.destroy=function(){this.target.remove()},ws),wa=(Jo.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("最低高度"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("文本过短或为空时的高度"),`" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Jo.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},Jo.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Jo.prototype.destroy=function(){this.target.remove()},Jo),xa=(xi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("隐藏规则"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="first" >`).concat(i18n.__("首页"),`</option>
|
|||
|
|
<option value="last" >`).concat(i18n.__("尾页"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},xi.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},xi.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},xi.prototype.destroy=function(){this.target.remove()},xi),Aa=(ti.prototype.css=function(Ze,en){if(Ze.find("tbody tr").length){if(en=="border"||en==null)return Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");en=="noBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):en=="leftBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):en=="rightBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):en=="leftRightBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):en=="topBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):en=="bottomBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):en=="topBottomBorder"?Ze.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ze.find("tbody tr").removeClass()}return null},ti.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表体行边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
<option value="leftBorder" >`).concat(i18n.__("左边框"),`</option>
|
|||
|
|
<option value="rightBorder" >`).concat(i18n.__("右边框"),`</option>
|
|||
|
|
<option value="leftRightBorder" >`).concat(i18n.__("左右边框"),`</option>
|
|||
|
|
<option value="topBorder" >`).concat(i18n.__("上边框"),`</option>
|
|||
|
|
<option value="bottomBorder" >`).concat(i18n.__("下边框"),`</option>
|
|||
|
|
<option value="topBottomBorder" >`).concat(i18n.__("上下边框"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ti.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},ti.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},ti.prototype.destroy=function(){this.target.remove()},ti),Ta=(oa.prototype.css=function(Ze,en){if(Ze&&Ze.length){var mi=Ze.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(mi.length||(mi=Ze),en)return mi.css("transform","rotate("+en+"deg)"),mi.css("-ms-transform","rotate("+en+"deg)"),mi.css("-moz-transform","rotate("+en+"deg)"),mi.css("-webkit-transform","rotate("+en+"deg)"),mi.css("-o-transform","rotate("+en+"deg)"),"transform:rotate("+en+"deg)";mi.length&&(mi[0].style.transform="")}return null},oa.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("旋转角度"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="number" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},oa.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},oa.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},oa.prototype.destroy=function(){this.target.remove()},oa),Ia=(Ki.prototype.css=function(Ze,en){return Ze&&Ze.length&&en?Ze.css("z-index",en):null},Ki.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("元素层级"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="number" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Ki.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseInt(Ze.toString())},Ki.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Ki.prototype.destroy=function(){this.target.remove()},Ki),or=(bi.prototype.css=function(Ze,en){return Ze&&Ze.length&&en?Ze.css("border-raduis",en):null},bi.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("边框圆角"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},bi.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze},bi.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},bi.prototype.destroy=function(){this.target.remove()},bi),Pr=(zn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("边框设置"),`
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>`)),this.target},zn.prototype.getValue=function(){},zn.prototype.setValue=function(Ze){},zn.prototype.destroy=function(){this.target.remove()},zn),ja=(Kn.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-top-style",en),"border-top:1px";Ze[0].style.borderTopStyle="",Ze[0].style.borderTopWidth=""}return null},Kn.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("上边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
<option value="solid" >`).concat(i18n.__("实线"),`</option>
|
|||
|
|
<option value="dotted" >`).concat(i18n.__("虚线"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Kn.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},Kn.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Kn.prototype.destroy=function(){this.target.remove()},Kn),Ps=(un.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-left-style",en),"border-left:1px";Ze[0].style.borderLeftStyle="",Ze[0].style.borderLeftWidth=""}return null},un.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("左边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
<option value="solid" >`).concat(i18n.__("实线"),`</option>
|
|||
|
|
<option value="dotted" >`).concat(i18n.__("虚线"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},un.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},un.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},un.prototype.destroy=function(){this.target.remove()},un),oo=(Vr.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-right-style",en),"border-right:1px";Ze[0].style.borderRightStyle="",Ze[0].style.borderRightWidth=""}return null},Vr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("右边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
<option value="solid" >`).concat(i18n.__("实线"),`</option>
|
|||
|
|
<option value="dotted" >`).concat(i18n.__("虚线"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Vr.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},Vr.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Vr.prototype.destroy=function(){this.target.remove()},Vr),$a=(qr.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-bottom-style",en),"border-bottom-style:1px solid";Ze[0].style.borderBottomStyle="",Ze[0].style.borderBottomWidth=""}return null},qr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("下边框"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
<option value="solid" >`).concat(i18n.__("实线"),`</option>
|
|||
|
|
<option value="dotted" >`).concat(i18n.__("虚线"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},qr.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},qr.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},qr.prototype.destroy=function(){this.target.remove()},qr),Xn=(Tr.prototype.css=function(Ze,en){if(Ze=Ze.find(".hiprint-printElement-content"),Ze&&Ze.length){if(en)return Ze.css("padding-left",en+"pt"),"padding-left";Ze[0].style.paddingLeft=""}return null},Tr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("左内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Tr.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},Tr.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Tr.prototype.destroy=function(){this.target.remove()},Tr),fo=(yr.prototype.css=function(Ze,en){if(Ze=Ze.find(".hiprint-printElement-content"),Ze&&Ze.length){if(en)return Ze.css("padding-top",en+"pt"),"padding-top";Ze[0].style.paddingTop=""}return null},yr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("上内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},yr.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},yr.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},yr.prototype.destroy=function(){this.target.remove()},yr),eo=(nr.prototype.css=function(Ze,en){if(Ze=Ze.find(".hiprint-printElement-content"),Ze&&Ze.length){if(en)return Ze.css("padding-right",en+"pt"),"padding-right";Ze[0].style.paddingRight=""}return null},nr.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("右内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},nr.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},nr.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},nr.prototype.destroy=function(){this.target.remove()},nr),lo=(ze.prototype.css=function(Ze,en){if(Ze=Ze.find(".hiprint-printElement-content"),Ze&&Ze.length){if(en)return Ze.css("padding-bottom",en+"pt"),"padding-bottom";Ze[0].style.paddingBottom=""}return null},ze.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("下内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ze.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},ze.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},ze.prototype.destroy=function(){this.target.remove()},ze),mo=(BA.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("border-style",en),"border-style:1px";Ze[0].style.borderStyle=""}return null},BA.prototype.createTarget=function(Ze){return Ze=["hline","vline","rect","oval"].includes(Ze.printElementType.type)?"".concat(i18n.__("样式")):"".concat(i18n.__("边框样式")),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(Ze,`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="solid" >`).concat(i18n.__("实线"),`</option>
|
|||
|
|
<option value="dashed" >`).concat(i18n.__("长虚线"),`</option>
|
|||
|
|
<option value="dotted" >`).concat(i18n.__("短虚线"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},BA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},BA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},BA.prototype.destroy=function(){this.target.remove()},BA),ia=(rc.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("background-color",en),"background-color:"+en;Ze[0].style.backgroundColor=""}return null},rc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("背景颜色"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},rc.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},rc.prototype.setValue=function(Ze){this.target.find("input").minicolors({defaultValue:Ze||"",theme:"bootstrap"}),this.target.find("input").val(Ze)},rc.prototype.destroy=function(){this.target.remove()},rc),po=(gl.prototype.css=function(Ze,en){return Ze&&Ze.length,null},gl.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("条码颜色"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},gl.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},gl.prototype.setValue=function(Ze){this.target.find("input").minicolors({defaultValue:Ze||"",theme:"bootstrap"}),this.target.find("input").val(Ze)},gl.prototype.destroy=function(){this.target.remove()},gl),qa=(zA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("纸张方向(仅自定义纸质有效)"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="1" >`).concat(i18n.__("纵向"),`</option>
|
|||
|
|
<option value="2" >`).concat(i18n.__("横向"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},zA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},zA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},zA.prototype.destroy=function(){this.target.remove()},zA),_o=(xA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("上下对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="middle" >`).concat(i18n.__("垂直居中"),`</option>
|
|||
|
|
<option value="bottom" >`).concat(i18n.__("底部"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},xA.prototype.css=function(Ze,en){return Ze&&Ze.length&&(Ze.removeClass("hiprint-text-content-middle"),Ze.removeClass("hiprint-text-content-bottom"),en)?(en==="middle"&&Ze.addClass("hiprint-text-content-middle"),en==="bottom"&&Ze.addClass("hiprint-text-content-bottom"),""):null},xA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},xA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},xA.prototype.destroy=function(){this.target.remove()},xA),So=(PA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("文本换行"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="nowrap" >`).concat(i18n.__("不换行"),`</option>
|
|||
|
|
<option value="clip" >`).concat(i18n.__("不换行&隐藏"),`</option>
|
|||
|
|
<option value="ellipsis" >`).concat(i18n.__("不换行&省略"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},PA.prototype.css=function(Ze,en){return Ze&&Ze.length&&(Ze.removeClass("hiprint-text-content-wrap"),Ze.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),Ze.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),Ze.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),en)?(Ze.addClass("hiprint-text-content-wrap"),Ze.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+en),""):null},PA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},PA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},PA.prototype.destroy=function(){this.target.remove()},PA),ls=Be(5),js=(Qc.prototype.createTarget=function(){return jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="indicator"></div>').appendTo("body"),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(` <div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div>
|
|||
|
|
<ul class="hiprint-option-table-selected-columns"> </ul>
|
|||
|
|
</div>
|
|||
|
|
</div>`),this.target},Qc.prototype.getValue=function(){return this.buildData()},Qc.prototype.setValue=function(Ze,ca,mi){var Ni=this,Vi=this,ca=(this.value=Ze,this.options=ca,(this.printElementType=mi).columns[0].filter(function(ha){return Ze[0].columns.filter(function(Pa){return ha.columnId==Pa.columnId}).length==0}).map(function(ha){return ha=new ls.a(ha),ha.checked=!1,ha}));this.allColumns=Ze[0].columns.concat(ca),Ze&&Ze.length==1&&(this.target.find("ul").html(this.allColumns.map(function(ha,Pa){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|||
|
|
`+(ha.checked?'<input type="checkbox" checked column-id="'+(ha.id||ha.columnId)+'" />':'<input type="checkbox" column-id="'+(ha.id||ha.columnId)+'" />')+`
|
|||
|
|
<div class="state">
|
|||
|
|
<label></label>
|
|||
|
|
</div>
|
|||
|
|
</div><span class="column-title">`+(ha.title||ha.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(to){var Pa=to.target.checked,Ra=to.target.attributes["column-id"].nodeValue||"",to=Ni.allColumns.findIndex(function(Fa){return Fa.field==Ra||Fa.id==Ra});0<=to&&(Ni.allColumns[to].checked=Pa),Ni.submit()}),this.printElementType.columnDisplayIndexEditable)&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(ha,Pa){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color","red")},onDragLeave:function(ha,Pa){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color","")},onDrop:function(ha,Pa){jquery__WEBPACK_IMPORTED_MODULE_72___default()(Pa).insertBefore(this),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color",""),Vi.submit()}})},Qc.prototype.buildData=function(){var Ze=this,en=[];return 1<Ze.options.columns.length||(Ze.printElementType.makeColumnObj(Ze.allColumns),this.target.find("input").map(function(mi,ca){var Vi,ca=jquery__WEBPACK_IMPORTED_MODULE_72___default()(ca).attr("column-id"),ca=Ze.printElementType.getColumnByColumnId(ca);ca&&((Vi=new ls.a(ca)).checked=ca.checked,en.push(Vi))}),this.value[0].columns=en),this.value},Qc.prototype.destroy=function(){this.target.remove()},Qc),ys=(q1.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("打印类型"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="" >`).concat(i18n.__("文本"),`</option>
|
|||
|
|
<option value="barcode" >`).concat(i18n.__("条形码"),`</option>
|
|||
|
|
<option value="qrcode" >`).concat(i18n.__("二维码"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},q1.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},q1.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},q1.prototype.destroy=function(){this.target.remove()},q1),Do=(tl.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("字段类型"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认(文本)"),`</option>
|
|||
|
|
<option value="text" >`).concat(i18n.__("文本"),`</option>
|
|||
|
|
<option value="sequence" >`).concat(i18n.__("序号"),`</option>
|
|||
|
|
<option value="barcode" >`).concat(i18n.__("条形码"),`</option>
|
|||
|
|
<option value="qrcode" >`).concat(i18n.__("二维码"),`</option>
|
|||
|
|
<option value="image" >`).concat(i18n.__("图片"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},tl.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze},tl.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},tl.prototype.destroy=function(){this.target.remove()},tl),zo=(tc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("条形码格式"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`(CODE128A)</option>
|
|||
|
|
<option value="CODE128A" >CODE128A</option>
|
|||
|
|
<option value="CODE128B" >CODE128B</option>
|
|||
|
|
<option value="CODE128C" >CODE128C</option>
|
|||
|
|
<option value="CODE39" >CODE39</option>
|
|||
|
|
<option value="EAN-13" >EAN-13</option>
|
|||
|
|
<option value="EAN-8" >EAN-8</option>
|
|||
|
|
<option value="EAN-5" >EAN-5</option>
|
|||
|
|
<option value="EAN-2" >EAN-2</option>
|
|||
|
|
<option value="UPC(A)" >UPC(A)</option>
|
|||
|
|
<option value="ITF" >ITF</option>
|
|||
|
|
<option value="ITF-14" >ITF-14</option>
|
|||
|
|
<option value="MSI" >MSI</option>
|
|||
|
|
<option value="MSI10" >MSI10</option>
|
|||
|
|
<option value="MSI11" >MSI11</option>
|
|||
|
|
<option value="MSI1010" >MSI1010</option>
|
|||
|
|
<option value="MSI1110" >MSI1110</option>
|
|||
|
|
<option value="Pharmacode" >Pharmacode</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},tc.prototype.getValue=function(){return this.target.find("select").val()||void 0},tc.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},tc.prototype.destroy=function(){this.target.remove()},tc),ds=(ec.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("二维码容错率"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="1" >7% L</option>
|
|||
|
|
<option value="0" >15% M</option>
|
|||
|
|
<option value="3" >25% Q</option>
|
|||
|
|
<option value="2" >30% H</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ec.prototype.getValue=function(){var Ze=this.target.find("select").val();return parseInt(Ze||0)},ec.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},ec.prototype.destroy=function(){this.target.remove()},ec),Os=(QA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item ">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格高度"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("条形码、二维码以及图片有效"),`" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},QA.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},QA.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},QA.prototype.destroy=function(){this.target.remove()},QA),hA=(Pc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item"><div class="hiprint-option-item-label">'.concat(i18n.__("底部聚合标题"),'</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">').concat(i18n.__("默认"),'</option><option value="true">').concat(i18n.__("显示"),'</option><option value="false">').concat(i18n.__("隐藏"),"</option></select></div></div>")),this.target},Pc.prototype.getValue=function(){return this.target.find("select").val()!="false"},Pc.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},Pc.prototype.destroy=function(){this.target.remove()},Pc),EA=($A.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("底部聚合文本"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("聚合类型"),`:" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},$A.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},$A.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},$A.prototype.destroy=function(){this.target.remove()},$A),ko=(gc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("底部聚合合并列数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="number" min="0" step="1" placeholder="`).concat(i18n.__("合并列数"),`" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},gc.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return Ze.toString()},gc.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},gc.prototype.destroy=function(){this.target.remove()},gc),y1=(el.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("底部聚合类型左右对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="left" >`).concat(i18n.__("居左"),`</option>
|
|||
|
|
<option value="center" >`).concat(i18n.__("居中"),`</option>
|
|||
|
|
<option value="right" >`).concat(i18n.__("居右"),`</option>
|
|||
|
|
<option value="justify" >`).concat(i18n.__("两端对齐"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},el.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},el.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},el.prototype.destroy=function(){this.target.remove()},el),iA=($c.prototype.createTarget=function(){var Ze=[{t:"".concat(i18n.__("整数")),v:"0"}],en=([1,2,3,4,5,6].forEach(function(mi){Ze.push({t:i18n.__n("保留%s位",mi),v:""+mi})}),`
|
|||
|
|
<option value="" >`.concat(i18n.__("默认"),"</option>"));return Ze.forEach(function(mi){en+=`
|
|||
|
|
<option value="`+(mi.v||"")+'">'+(mi.t||"")+"</option>"}),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("底部聚合小数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit"></select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target.find(".auto-submit").append(jquery__WEBPACK_IMPORTED_MODULE_72___default()(en)),this.target},$c.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},$c.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},$c.prototype.destroy=function(){this.target.remove()},$c),hs=(e1.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(` <div class="hiprint-option-item" title="条形码底部是否显示内容">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("显示码值"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("显示"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("隐藏"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},e1.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},e1.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},e1.prototype.destroy=function(){this.target.remove()},e1),Co=(Xc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("底部聚合格式化函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(column,fieldPageData,tableData,options){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Xc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},Xc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},Xc.prototype.destroy=function(){this.target.remove()},Xc),i1=(tA.prototype.createTarget=function(){var Ze=`
|
|||
|
|
<option value="">`.concat(i18n.__("默认"),"</option>");return[{t:"「小写」十点八",v:"0"},{t:"「小写」一十点八",v:"1"},{t:"「大写」拾点捌",v:"2"},{t:"「大写」壹拾点捌",v:"3"},{t:"「金额」人民币拾元捌角",v:"4"},{t:"「金额」人民币壹拾元捌角",v:"5"},{t:"「金额」人民币壹拾元捌角零分",v:"6"},{t:"「金额」壹拾元捌角零分",v:"7"}].forEach(function(en){Ze+=`
|
|||
|
|
<option value='`.concat(en.v,"'>").concat(en.t,"</option>")}),this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("转大小写"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit"></select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target.find(".auto-submit").append(jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ze)),this.target},tA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},tA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},tA.prototype.destroy=function(){this.target.remove()},tA),Gs=(hc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item"><div class="hiprint-option-item-label">'.concat(i18n.__("底部聚合类型"),'</div><div class="hiprint-option-item-field"><select class="auto-submit"><option value="">').concat(i18n.__("不聚合"),'</option><option value="count">').concat(i18n.__("计数"),'</option><option value="sum">').concat(i18n.__("合计"),'</option><option value="avg">').concat(i18n.__("平均值"),'</option><option value="min">').concat(i18n.__("最小值"),'</option><option value="max">').concat(i18n.__("最大值"),'</option><option value="text">').concat(i18n.__("仅文本"),"</option></select></div></div>")),this.target},hc.prototype.getValue=function(){return this.target.find("select").val()},hc.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},hc.prototype.destroy=function(){this.target.remove()},hc),ea=(Jc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("顶部偏移"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("偏移量"),`pt" class="auto-submit">
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Jc.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseFloat(Ze.toString())},Jc.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},Jc.prototype.destroy=function(){this.target.remove()},Jc),La=(Oc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item hiprint-option-item-row"><div class="hiprint-option-item-label">'.concat(i18n.__("面板排列"),"</div></div>")),this.layoutType=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;"><div style="width:25%">'.concat(i18n.__("排列方式"),':</div><select style="width:75%" class="auto-submit"><option value="column" >').concat(i18n.__("纵向"),'</option><option value="row" >').concat(i18n.__("横向"),"</option></select></div></div>")),this.layoutRowGap=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;margin-top: 4px"><div style="width:25%">'.concat(i18n.__("垂直间距"),':</div><input style="width:75%" type="text" placeholder="').concat(i18n.__("垂直间距mm"),'" class="auto-submit"></div>')),this.layoutColumnGap=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-item-field" style="display: flex;align-items: baseline;margin-top: 4px"><div style="width:25%">'.concat(i18n.__("水平间距"),':</div><input style="width:75%" type="text" placeholder="').concat(i18n.__("水平间距mm"),'" class="auto-submit"></div>')),this.target.append(this.layoutType),this.target.append(this.layoutRowGap),this.target.append(this.layoutColumnGap),this.target},Oc.prototype.getValue=function(){var Ze={layoutType:this.layoutType.find("select").val()||"column",layoutRowGap:parseInt(this.layoutRowGap.find("input").val()||0),layoutColumnGap:parseInt(this.layoutColumnGap.find("input").val()||0)};return Object.assign({},this.options,Ze)},Oc.prototype.setValue=function(Ze){this.options=Ze,this.layoutType.find("select").val(Ze.layoutType||"column"),this.layoutRowGap.find("input").val(Ze.layoutRowGap),this.layoutColumnGap.find("input").val(Ze.layoutColumnGap)},Oc.prototype.destroy=function(){this.target.remove()},Oc),Ma=(NA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("一行多组"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="2" >`).concat(i18n.__("一行二列"),`</option>
|
|||
|
|
<option value="3" >`).concat(i18n.__("一行三列"),`</option>
|
|||
|
|
<option value="4" >`).concat(i18n.__("一行四列"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},NA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},NA.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},NA.prototype.destroy=function(){this.target.remove()},NA),Xo=(hl.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("一行多组间隔"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.25" >7.25pt</option>
|
|||
|
|
<option value="8.5" >8.5pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},hl.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},hl.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.find(".table-grid-row").css("margin-left","-"+en+"pt").css("margin-right","-"+en+"pt"),Ze.find(".tableGridColumnsGutterRow").css("padding-left",en+"pt").css("padding-right",en+"pt"),null;Ze.find(".table-grid-row").map(function(mi,Ni){Ni.style.marginLeft="",Ni.style.marginRight=""}),Ze.find(".tableGridColumnsGutterRow").map(function(mi,Ni){Ni.style.paddingLeft="",Ni.style.paddingRight=""})}return null},hl.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},hl.prototype.destroy=function(){this.target.remove()},hl),ra=(dc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格头显示"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="page" >`).concat(i18n.__("每页显示"),`</option>
|
|||
|
|
<option value="first" >`).concat(i18n.__("首页显示"),`</option>
|
|||
|
|
<option value="none" >`).concat(i18n.__("不显示"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},dc.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},dc.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},dc.prototype.destroy=function(){this.target.remove()},dc),Fo=(Yo.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("padding-left",en+"pt"),"padding-left";Ze[0].style.paddingLeft=""}return null},Yo.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("左内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Yo.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},Yo.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},Yo.prototype.destroy=function(){this.target.remove()},Yo),ks=(ll.prototype.css=function(Ze,en){if(Ze&&Ze.length){if(en)return Ze.css("padding-right",en+"pt"),"padding-right";Ze[0].style.paddingRight=""}return null},ll.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("右内边距"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="0.75" >0.75pt</option>
|
|||
|
|
<option value="1.5" >1.5pt</option>
|
|||
|
|
<option value="2.25" >2.25pt</option>
|
|||
|
|
<option value="3" >3pt</option>
|
|||
|
|
<option value="3.75" >3.75pt</option>
|
|||
|
|
<option value="4.5" >4.5pt</option>
|
|||
|
|
<option value="5.25" >5.25pt</option>
|
|||
|
|
<option value="6" >6pt</option>
|
|||
|
|
<option value="6.75" >6.75pt</option>
|
|||
|
|
<option value="7.5" >7.5pt</option>
|
|||
|
|
<option value="8.25" >8.25pt</option>
|
|||
|
|
<option value="9" >9pt</option>
|
|||
|
|
<option value="9.75" >9.75pt</option>
|
|||
|
|
<option value="10.5" >10.5pt</option>
|
|||
|
|
<option value="11.25" >11.25pt</option>
|
|||
|
|
<option value="12" >12pt</option>
|
|||
|
|
<option value="12.75" >12.75pt</option>
|
|||
|
|
<option value="13.5" >13.5pt</option>
|
|||
|
|
<option value="14.25" >14.25pt</option>
|
|||
|
|
<option value="15" >15pt</option>
|
|||
|
|
<option value="15.75" >15.75pt</option>
|
|||
|
|
<option value="16.5" >16.5pt</option>
|
|||
|
|
<option value="17.25" >17.25pt</option>
|
|||
|
|
<option value="18" >18pt</option>
|
|||
|
|
<option value="18.75" >18.75pt</option>
|
|||
|
|
<option value="19.5" >19.5pt</option>
|
|||
|
|
<option value="20.25" >20.25pt</option>
|
|||
|
|
<option value="21" >21pt</option>
|
|||
|
|
<option value="21.75" >21.75pt</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ll.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return parseFloat(Ze.toString())},ll.prototype.setValue=function(Ze){Ze&&!this.target.find('option[value="'+Ze+'"]').length&&this.target.find("select").prepend('<option value="'+Ze+'" >'+Ze+"</option>"),this.target.find("select").val(Ze)},ll.prototype.destroy=function(){this.target.remove()},ll),Hi=(Kc.prototype.createTarget=function(){var Ze=this;return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`
|
|||
|
|
<div class="hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("数据类型"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="hiprint-option-item-datatype">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="datetime" >`).concat(i18n.__("日期时间"),`</option>
|
|||
|
|
<option value="boolean" >`).concat(i18n.__("布尔"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item ">
|
|||
|
|
<div class="hiprint-option-item-label ">
|
|||
|
|
`).concat(i18n.__("格式"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit hiprint-option-item-datatype-select-format">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
<input class="auto-submit hiprint-option-item-datatype-input-format" type="text" data-type="boolean" placeholder="true:false">
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
`)),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.target.find(".hiprint-option-item-datatype")).change(function(){var en=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ze.target.find(".hiprint-option-item-datatype")).val();Ze.loadFormatSelectByDataType(en),Ze.submit(Ze.getValue())}),this.target},Kc.prototype.getValue=function(){var Ze=this.target.find(".hiprint-option-item-datatype").val();return Ze?{dataType:Ze,format:this.target.find(".hiprint-option-item-datatype-format").val()||void 0}:{dataType:void 0,format:void 0}},Kc.prototype.setValue=function(Ze,en){this.target.find(".hiprint-option-item-datatype").val(en.dataType||""),this.loadFormatSelectByDataType(en.dataType),this.target.find(".hiprint-option-item-datatype-format").val(en.format||"")},Kc.prototype.destroy=function(){this.target.remove()},Kc.prototype.loadFormatSelectByDataType=function(Ze){Ze==="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()):Ze==="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(`
|
|||
|
|
<option value="" >`.concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="M/d" >M/d</option>
|
|||
|
|
<option value="MM/dd" >MM/dd</option>
|
|||
|
|
<option value="yy/M/d" >yy/M/d</option>
|
|||
|
|
<option value="yy/MM/dd" >yy/MM/dd</option>
|
|||
|
|
<option value="yyyy/M/d" >yyyy/M/d</option>
|
|||
|
|
<option value="yyyy/MM/dd" >yyyy/MM/dd</option>
|
|||
|
|
<option value="yy/M/d H:m" >yy/M/d H:m</option>
|
|||
|
|
<option value="yy/M/d H:m:s" >yy/M/d H:m:s</option>
|
|||
|
|
<option value="yy/M/d HH:mm" >yy/M/d HH:mm</option>
|
|||
|
|
<option value="yy/M/d HH:mm:ss" >yy/M/d HH:mm:ss</option>
|
|||
|
|
<option value="yy/MM/dd H:m" >yy/MM/dd H:m</option>
|
|||
|
|
<option value="yy/MM/dd H:m:s" >yy/MM/dd H:m:s</option>
|
|||
|
|
<option value="yy/MM/dd HH:mm" >yy/MM/dd HH:mm</option>
|
|||
|
|
<option value="yy/MM/dd HH:mm:ss" >yy/MM/dd HH:mm:ss</option>
|
|||
|
|
<option value="yyyy/M/d H:m" >yyyy/M/dd H:m</option>
|
|||
|
|
<option value="yyyy/M/d H:m:s" >yyyy/M/d H:m:s</option>
|
|||
|
|
<option value="yyyy/M/d HH:mm" >yyyy/M/d HH:mm</option>
|
|||
|
|
<option value="yyyy/M/d HH:mm:ss" >yyyy/M/d HH:mm:ss</option>
|
|||
|
|
<option value="yyyy/MM/dd H:m" >yyyy/MM/dd H:m</option>
|
|||
|
|
<option value="yyyy/MM/dd H:m:s" >yyyy/MM/dd H:m:s</option>
|
|||
|
|
<option value="yyyy/MM/dd HH:mm" >yyyy/MM/dd HH:mm</option>
|
|||
|
|
<option value="yyyy/MM/dd HH:mm:ss" >yyyy/MM/dd HH:mm:ss</option>
|
|||
|
|
|
|||
|
|
<option value="M-d" >M-d</option>
|
|||
|
|
<option value="MM-dd" >MM-dd</option>
|
|||
|
|
<option value="yy-M-d" >yy-M-d</option>
|
|||
|
|
<option value="yy-MM-dd" >yy-MM-dd</option>
|
|||
|
|
<option value="yyyy-M-d" >yyyy-M-d</option>
|
|||
|
|
<option value="yyyy-MM-dd" >yyyy-MM-dd</option>
|
|||
|
|
<option value="yy-M-d H:m" >yy-M-d H:m</option>
|
|||
|
|
<option value="yy-M-d H:m:s" >yy-M-d H:m:s</option>
|
|||
|
|
<option value="yy-M-d HH:mm" >yy-M-d HH:mm</option>
|
|||
|
|
<option value="yy-M-d HH:mm:ss" >yy-M-d HH:mm:ss</option>
|
|||
|
|
<option value="yy-MM-dd H:m" >yy-MM-dd H:m</option>
|
|||
|
|
<option value="yy-MM-dd H:m:s" >yy-MM-dd H:m:s</option>
|
|||
|
|
<option value="yy-MM-dd HH:mm" >yy-MM-dd HH:mm</option>
|
|||
|
|
<option value="yy-MM-dd HH:mm:ss" >yy-MM-dd HH:mm:ss</option>
|
|||
|
|
<option value="yyyy-M-d H:m" >yyyy-M-d H:m</option>
|
|||
|
|
<option value="yyyy-M-d H:m:s" >yyyy-M-d H:m:s</option>
|
|||
|
|
<option value="yyyy-M-d HH:mm" >yyyy-M-d HH:mm</option>
|
|||
|
|
<option value="yyyy-M-d HH:mm:ss" >yyyy-M-d HH:mm:ss</option>
|
|||
|
|
<option value="yyyy-MM-dd H:m" >yyyy-MM-dd H:m</option>
|
|||
|
|
<option value="yyyy-MM-dd H:m:s" >yyyy-MM-dd H:m:s</option>
|
|||
|
|
<option value="yyyy-MM-dd HH:mm" >yyyy-MM-dd HH:mm</option>
|
|||
|
|
<option value="yyyy-MM-dd HH:mm:ss" >yyyy-MM-dd HH:mm:ss</option>
|
|||
|
|
`))):(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(`
|
|||
|
|
<option value="" >`.concat(i18n.__("默认"),`</option>
|
|||
|
|
`)))},Kc),aa=(uA.prototype.createTarget=function(){var Ze=`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("格式化函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(title,value,options,templateData,target){}" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`);return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ze),this.target},uA.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},uA.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},uA.prototype.destroy=function(){this.target.remove()},uA),Vo=(W1.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("样式函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(value, options, target,templateData){}" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},W1.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},W1.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},W1.prototype.destroy=function(){this.target.remove()},W1),Po=(DA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("行/列合并函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(data, col, colIndex, rowIndex, tableData, printData){ return [1,1] }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},DA.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},DA.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},DA.prototype.destroy=function(){this.target.remove()},DA),S1=(OA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("跨页合并是否清除"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("是"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},OA.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},OA.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},OA.prototype.destroy=function(){this.target.remove()},OA),$1=(pc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格脚函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData,pageIndex){ return '<tr></tr>' }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},pc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},pc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},pc.prototype.destroy=function(){this.target.remove()},pc),C1=(lA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("分组序号续编"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("是"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},lA.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},lA.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},lA.prototype.destroy=function(){this.target.remove()},lA),Us=(_A.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("分组字段函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(type,options,data){ return [] }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},_A.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},_A.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},_A.prototype.destroy=function(){this.target.remove()},_A),UA=(fc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("分组头格式化函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '`).concat(i18n.__("分组头信息"),`(html)' }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},fc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},fc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},fc.prototype.destroy=function(){this.target.remove()},fc),N1=(MA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("分组脚格式化函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(colTotal,tableData,printData,groupData,options){ return '`).concat(i18n.__("分组脚信息"),`(html)' }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},MA.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},MA.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},MA.prototype.destroy=function(){this.target.remove()},MA),jA=(cl.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("多组表格脚函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(options,rows,data,pageData){ return '' }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},cl.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},cl.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},cl.prototype.destroy=function(){this.target.remove()},cl),Tl=(Mc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("行样式函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(value,options){ return '' }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Mc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},Mc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},Mc.prototype.destroy=function(){this.target.remove()},Mc),Yc=(Al.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格左右对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="left" >`).concat(i18n.__("居左"),`</option>
|
|||
|
|
<option value="center" >`).concat(i18n.__("居中"),`</option>
|
|||
|
|
<option value="right" >`).concat(i18n.__("居右"),`</option>
|
|||
|
|
<option value="justify" >`).concat(i18n.__("两端对齐"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Al.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},Al.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},Al.prototype.destroy=function(){this.target.remove()},Al),JA=(mA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格上下对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="top" >`).concat(i18n.__("上"),`</option>
|
|||
|
|
<option value="middle" >`).concat(i18n.__("中"),`</option>
|
|||
|
|
<option value="bottom" >`).concat(i18n.__("下"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},mA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},mA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},mA.prototype.destroy=function(){this.target.remove()},mA),jl=(sl.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格头单元格左右对齐"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="left" >`).concat(i18n.__("居左"),`</option>
|
|||
|
|
<option value="center" >`).concat(i18n.__("居中"),`</option>
|
|||
|
|
<option value="right" >`).concat(i18n.__("居右"),`</option>
|
|||
|
|
<option value="justify" >`).concat(i18n.__("两端对齐"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},sl.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},sl.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},sl.prototype.destroy=function(){this.target.remove()},sl),kl=(Rc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格样式函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Rc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},Rc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},Rc.prototype.destroy=function(){this.target.remove()},Rc),XA=(uc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格头样式函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(options){ return {color:'red' }; }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},uc.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},uc.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},uc.prototype.destroy=function(){this.target.remove()},uc),Lc=(eA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格格式化函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(value,row,index,options){ return ''; }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},eA.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},eA.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},eA.prototype.destroy=function(){this.target.remove()},eA),G1=(F1.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("单元格渲染函数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<textarea style="height:80px;" placeholder="function(value,row,colIndex,options,rowIndex){ return '<td></td>'; }" class="auto-submit"></textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},F1.prototype.getValue=function(){var Ze=this.target.find("textarea").val();if(Ze)return Ze},F1.prototype.setValue=function(Ze){this.target.find("textarea").val(Ze?Ze.toString():null)},F1.prototype.destroy=function(){this.target.remove()},F1),yA=(gA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("自动补全"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="true" >`).concat(i18n.__("是"),`</option>
|
|||
|
|
<option value="false" >`).concat(i18n.__("否"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},gA.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},gA.prototype.setValue=function(Ze){this.target.find("select").val((Ze==null?"":Ze).toString())},gA.prototype.destroy=function(){this.target.remove()},gA),Hc=(lc.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("每页最大行数"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="number" value="1" step="1" min="1" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},lc.prototype.getValue=function(){var Ze=this.target.find("input").val();if(Ze)return parseInt(Ze.toString())},lc.prototype.setValue=function(Ze){this.target.find("input").val(Ze)},lc.prototype.destroy=function(){this.target.remove()},lc),Ec=(wA.prototype.createTarget=function(){return this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<div class="hiprint-option-item">
|
|||
|
|
<div class="hiprint-option-item-label">
|
|||
|
|
`.concat(i18n.__("表格脚显示"),`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<select class="auto-submit">
|
|||
|
|
<option value="" >`).concat(i18n.__("默认"),`</option>
|
|||
|
|
<option value="no" >`).concat(i18n.__("不显示"),`</option>
|
|||
|
|
<option value="page" >`).concat(i18n.__("每页显示"),`</option>
|
|||
|
|
<option value="last" >`).concat(i18n.__("最后显示"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},wA.prototype.getValue=function(){var Ze=this.target.find("select").val();if(Ze)return Ze.toString()},wA.prototype.setValue=function(Ze){this.target.find("select").val(Ze)},wA.prototype.destroy=function(){this.target.remove()},wA);function wA(){this.name="tableFooterRepeat"}function lc(){this.name="maxRows"}function gA(){this.name="autoCompletion"}function F1(){this.name="renderFormatter"}function eA(){this.name="formatter2"}function uc(){this.name="stylerHeader"}function Rc(){this.name="styler2"}function sl(){this.name="halign"}function mA(){this.name="vAlign"}function Al(){this.name="align"}function Mc(){this.name="rowStyler"}function cl(){this.name="gridColumnsFooterFormatter"}function MA(){this.name="groupFooterFormatter"}function fc(){this.name="groupFormatter"}function _A(){this.name="groupFieldsFormatter"}function lA(){this.name="groupSequenceContinue"}function pc(){this.name="footerFormatter"}function OA(){this.name="rowsColumnsMergeClean"}function DA(){this.name="rowsColumnsMerge"}function W1(){this.name="styler"}function uA(){this.name="formatter"}function Kc(){this.name="dataType"}function ll(){this.name="paddingRight"}function Yo(){this.name="paddingLeft"}function dc(){this.name="tableHeaderRepeat"}function hl(){this.name="gridColumnsGutter"}function NA(){this.name="gridColumns"}function Oc(){this.name="panelLayoutOptions"}function Jc(){this.name="topOffset"}function hc(){this.name="tableSummary"}function tA(){this.name="upperCase"}function Xc(){this.name="tableSummaryFormatter"}function e1(){this.name="showCodeTitle"}function $c(){this.name="tableSummaryNumFormat"}function el(){this.name="tableSummaryAlign"}function gc(){this.name="tableSummaryColspan"}function $A(){this.name="tableSummaryText"}function Pc(){this.name="tableSummaryTitle"}function QA(){this.name="tableColumnHeight"}function ec(){this.name="tableQRCodeLevel"}function tc(){this.name="tableBarcodeMode"}function tl(){this.name="tableTextType"}function q1(){this.name="textType"}function Qc(){this.name="columns"}function PA(){this.name="textContentWrap"}function xA(){this.name="textContentVerticalAlign"}function zA(){this.name="orient"}function gl(){this.name="barColor"}function rc(){this.name="backgroundColor"}function BA(){this.name="borderStyle"}function ze(){this.name="contentPaddingBottom"}function nr(){this.name="contentPaddingRight"}function yr(){this.name="contentPaddingTop"}function Tr(){this.name="contentPaddingLeft"}function qr(){this.name="borderBottom"}function Vr(){this.name="borderRight"}function un(){this.name="borderLeft"}function Kn(){this.name="borderTop"}function zn(){this.name="optionsGroup"}function bi(){this.name="borderRadius"}function Ki(){this.name="zIndex"}function oa(){this.name="transform"}function ti(){this.name="tableBodyRowBorder"}function xi(){this.name="unShowInPage"}function Jo(){this.name="lHeight"}function ws(){this.name="leftOffset"}function ts(){this.name="axis"}function T1(){this.name="fixed"}function fr(){this.name="oddPaperFooter"}function Xr(){this.name="evenPaperFooter"}function Ln(){this.name="lastPaperFooter"}function qn(){this.name="firstPaperFooter"}function Pi(){this.name="leftSpaceRemoved"}function Fi(){this.name="panelPageRule"}function ua(){this.name="panelPaperRule"}function Ha(){this.name="pageBreak"}function Lo(){this.name="showInPage"}function No(){this.name="longTextIndent"}function rs(){this.name="paperNumberContinue"}function hr(){this.name="paperNumberDisabled"}function Br(){this.name="paperNumberFormat"}function Nr(){this.name="watermarkOptions"}function Or(){this.name="borderColor"}function an(){this.name="fit"}function Zr(){this.name="src"}function Rr(){this.name="widthHeight"}function Jr(){this.name="coordinate"}function rn(){this.name="testData"}function An(){this.name="title"}function tn(){this.name="field"}function vn(){this.name="textDecoration"}function fn(){this.name="color"}function dn(){this.name="qrCodeLevel"}function Mn(){this.name="qrcodeType"}function wn(){this.name="barcodeType"}function Sn(){this.name="barAutoWidth"}function Nn(){this.name="barW
|
|||
|
|
position: absolute;\r
|
|||
|
|
display: inline-block;\r
|
|||
|
|
width: 215px;\r
|
|||
|
|
padding: 0 0;\r
|
|||
|
|
margin: 0;\r
|
|||
|
|
font-family: inherit;\r
|
|||
|
|
font-size: inherit;\r
|
|||
|
|
list-style-type: none;\r
|
|||
|
|
list-style: none;\r
|
|||
|
|
background: #fff;\r
|
|||
|
|
border: 1px solid #bebebe;\r
|
|||
|
|
border-radius: 2px;\r
|
|||
|
|
font-size: 13px;\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .hicontextmenuitem {\r
|
|||
|
|
position: relative;\r
|
|||
|
|
-webkit-box-sizing: content-box;\r
|
|||
|
|
-moz-box-sizing: content-box;\r
|
|||
|
|
box-sizing: content-box;\r
|
|||
|
|
padding: .2em 12px;\r
|
|||
|
|
color: #2f2f2f;\r
|
|||
|
|
-webkit-user-select: none;\r
|
|||
|
|
-moz-user-select: none;\r
|
|||
|
|
-ms-user-select: none;\r
|
|||
|
|
text-decoration: none;\r
|
|||
|
|
\r
|
|||
|
|
user-select: none;\r
|
|||
|
|
background-color: #fff;\r
|
|||
|
|
\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot>.hicontextmenuitem:hover,\r
|
|||
|
|
.hicontextmenuroot .hicontextmenuitem > a:hover {\r
|
|||
|
|
background-color: #f3f3f3;\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .hicontextmenuitem>a {\r
|
|||
|
|
text-decoration: none;\r
|
|||
|
|
color: #363636;\r
|
|||
|
|
line-height: 22px;\r
|
|||
|
|
\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .hicontextsubmenu>ul {\r
|
|||
|
|
display: none;\r
|
|||
|
|
position: absolute;\r
|
|||
|
|
\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .hicontextsubmenu:hover>ul {\r
|
|||
|
|
display: block;\r
|
|||
|
|
left: 100%;\r
|
|||
|
|
top: -1px;\r
|
|||
|
|
margin-left: 0px;\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .borderBottom {\r
|
|||
|
|
border-bottom: 1px solid #efe6e6;\r
|
|||
|
|
}\r
|
|||
|
|
\r
|
|||
|
|
.hicontextmenuroot .disable> a {\r
|
|||
|
|
\r
|
|||
|
|
color: #ccc;\r
|
|||
|
|
\r
|
|||
|
|
}\r
|
|||
|
|
.hicontextmenuroot>.disable:hover,\r
|
|||
|
|
.hicontextmenuroot .disable> a:hover {\r
|
|||
|
|
background-color:#fff;\r
|
|||
|
|
}`,""])},function(Pe,Ee,Be){Pe.exports=function(Me){var Te=[];return Te.toString=function(){return this.map(function(Se){ke=Se[1]||"";var je,ke,Ue,Fe=(Ue=Se[3])?(Me&&typeof btoa=="function"?(je="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(Ue))))+" */",Fe=Ue.sources.map(function(Qe){return"/*# sourceURL="+Ue.sourceRoot+Qe+" */"}),[ke].concat(Fe).concat([je])):[ke]).join(`
|
|||
|
|
`):ke;return Se[2]?"@media "+Se[2]+"{"+Fe+"}":Fe}).join("")},Te.i=function(Se,je){typeof Se=="string"&&(Se=[[null,Se,""]]);for(var ke={},Ue=0;Ue<this.length;Ue++){var Fe=this[Ue][0];Fe!=null&&(ke[Fe]=!0)}for(Ue=0;Ue<Se.length;Ue++){var Qe=Se[Ue];Qe[0]!=null&&ke[Qe[0]]||(je&&!Qe[2]?Qe[2]=je:je&&(Qe[2]="("+Qe[2]+") and ("+je+")"),Te.push(Qe))}},Te}},function(Pe,Ee,Be){var Me,Te,Se,je={},ke=(Me=function(){return window&&document&&document.all&&!window.atob},Se={},function(mr,qe){if(typeof mr=="function")return mr();if(Se[mr]===void 0){if(qe=function(lr,xe){return(xe||document).querySelector(lr)}.call(this,mr,qe),window.HTMLIFrameElement&&_instanceof(qe,window.HTMLIFrameElement))try{qe=qe.contentDocument.head}catch(lr){qe=null}Se[mr]=qe}return Se[mr]}),Ue=null,Fe=0,Qe=[],He=Be(31);function Ie(mr,qe){for(var lr=0;lr<mr.length;lr++){var xe=mr[lr],Xe=je[xe.id];if(Xe){Xe.refs++;for(var Re=0;Re<Xe.parts.length;Re++)Xe.parts[Re](xe.parts[Re]);for(;Re<xe.parts.length;Re++)Xe.parts.push(sr(xe.parts[Re],qe))}else{for(var ir=[],Re=0;Re<xe.parts.length;Re++)ir.push(sr(xe.parts[Re],qe));je[xe.id]={id:xe.id,refs:1,parts:ir}}}}function _e(mr,qe){for(var lr=[],xe={},Xe=0;Xe<mr.length;Xe++){var ir=mr[Xe],Re=qe.base?ir[0]+qe.base:ir[0],ir={css:ir[1],media:ir[2],sourceMap:ir[3]};xe[Re]?xe[Re].parts.push(ir):lr.push(xe[Re]={id:Re,parts:[ir]})}return lr}function Ae(mr,qe){var lr=ke(mr.insertInto);if(!lr)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var xe=Qe[Qe.length-1];if(mr.insertAt==="top")xe?xe.nextSibling?lr.insertBefore(qe,xe.nextSibling):lr.appendChild(qe):lr.insertBefore(qe,lr.firstChild),Qe.push(qe);else if(mr.insertAt==="bottom")lr.appendChild(qe);else{if(_typeof(mr.insertAt)!="object"||!mr.insertAt.before)throw new Error(`[Style Loader]
|
|||
|
|
|
|||
|
|
Invalid value for parameter 'insertAt' ('options.insertAt') found.
|
|||
|
|
Must be 'top', 'bottom', or Object.
|
|||
|
|
(https://github.com/webpack-contrib/style-loader#insertat)
|
|||
|
|
`);xe=ke(mr.insertAt.before,lr),lr.insertBefore(qe,xe)}}function Ye(mr){mr.parentNode!==null&&(mr.parentNode.removeChild(mr),0<=(mr=Qe.indexOf(mr)))&&Qe.splice(mr,1)}function rr(mr){var qe,lr=document.createElement("style");return mr.attrs.type===void 0&&(mr.attrs.type="text/css"),mr.attrs.nonce===void 0&&(qe=Be.nc)&&(mr.attrs.nonce=qe),Je(lr,mr.attrs),Ae(mr,lr),lr}function Je(mr,qe){Object.keys(qe).forEach(function(lr){mr.setAttribute(lr,qe[lr])})}function sr(mr,qe){var lr,xe,Xe,Re,ir;if(qe.transform&&mr.css){if(!(Re=typeof qe.transform=="function"?qe.transform(mr.css):qe.transform.default(mr.css)))return function(){};mr.css=Re}return Xe=qe.singleton?(Re=Fe++,lr=Ue=Ue||rr(qe),xe=xr.bind(null,lr,Re,!1),xr.bind(null,lr,Re,!0)):mr.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(Re=qe,ir=document.createElement("link"),Re.attrs.type===void 0&&(Re.attrs.type="text/css"),Re.attrs.rel="stylesheet",Je(ir,Re.attrs),Ae(Re,ir),lr=ir,xe=function(pr,kr,gr){var Ir=gr.css,gr=gr.sourceMap,Wr=kr.convertToAbsoluteUrls===void 0&&gr,kr=((kr.convertToAbsoluteUrls||Wr)&&(Ir=He(Ir)),gr&&(Ir+=`
|
|||
|
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(gr))))+" */"),new Blob([Ir],{type:"text/css"})),Wr=pr.href;pr.href=URL.createObjectURL(kr),Wr&&URL.revokeObjectURL(Wr)}.bind(null,lr,qe),function(){Ye(lr),lr.href&&URL.revokeObjectURL(lr.href)}):(lr=rr(qe),xe=function(pr,Ir){var Cr=Ir.css,Ir=Ir.media;if(Ir&&pr.setAttribute("media",Ir),pr.styleSheet)pr.styleSheet.cssText=Cr;else{for(;pr.firstChild;)pr.removeChild(pr.firstChild);pr.appendChild(document.createTextNode(Cr))}}.bind(null,lr),function(){Ye(lr)}),xe(mr),function(pr){pr?pr.css===mr.css&&pr.media===mr.media&&pr.sourceMap===mr.sourceMap||xe(mr=pr):Xe()}}Pe.exports=function(mr,qe){if(typeof DEBUG!="undefined"&&DEBUG&&(typeof document=="undefined"?"undefined":_typeof(document))!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(qe=qe||{}).attrs=_typeof(qe.attrs)=="object"?qe.attrs:{},qe.singleton||typeof qe.singleton=="boolean"||(qe.singleton=(function(){return Te=Te===void 0?Me.apply(this,arguments):Te})()),qe.insertInto||(qe.insertInto="head"),qe.insertAt||(qe.insertAt="bottom");var lr=_e(mr,qe);return Ie(lr,qe),function(xe){for(var Xe,Re=[],ir=0;ir<lr.length;ir++){var pr=lr[ir];(Xe=je[pr.id]).refs--,Re.push(Xe)}for(xe&&Ie(_e(xe,qe),qe),ir=0;ir<Re.length;ir++)if((Xe=Re[ir]).refs===0){for(var vr=0;vr<Xe.parts.length;vr++)Xe.parts[vr]();delete je[Xe.id]}}},wr=[];var wr,Sr=function(mr,qe){return wr[mr]=qe,wr.filter(Boolean).join(`
|
|||
|
|
`)};function xr(mr,qe,Xe,xe){var Xe=Xe?"":xe.css;mr.styleSheet?mr.styleSheet.cssText=Sr(qe,Xe):(xe=document.createTextNode(Xe),(Xe=mr.childNodes)[qe]&&mr.removeChild(Xe[qe]),Xe.length?mr.insertBefore(xe,Xe[qe]):mr.appendChild(xe))}},function(Pe,Ee){Pe.exports=function(Be){var Me,Te,Se=typeof window!="undefined"&&window.location;if(Se)return Be&&typeof Be=="string"?(Me=Se.protocol+"//"+Se.host,Te=Me+Se.pathname.replace(/\/[^\/]*$/,"/"),Be.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(je,ke){return ke=ke.trim().replace(/^"(.*)"$/,function(Ue,Fe){return Fe}).replace(/^'(.*)'$/,function(Ue,Fe){return Fe}),/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(ke)?je:(je=ke.indexOf("//")===0?ke:ke.indexOf("/")===0?Me+ke:Te+ke.replace(/^\.\//,""),"url("+JSON.stringify(je)+")")})):Be;throw new Error("fixUrls requires window.location")}},function(Pe,Ee){var Be,Me;Be=jQuery,(Me=function(Te,Se){this.init(Te,Se)}).prototype={init:function(Te,Se){this.ele=Te,this.defaults={menu:[{text:"text",menus:[{},{}],callback:function(){}}],target:function(je){},width:100,itemHeight:28,bgColor:"#fff",color:"#333",fontSize:14,hoverBgColor:"#f5f5f5"},this.opts=Be.extend(!0,{},this.defaults,Se),this.random=new Date().getTime()+parseInt(1e3*Math.random()),this.eventBind()},renderMenu:function(Te,Se){var je,ke=this,Ue=Se;Te&&Te.length&&(je=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<ul class="hicontextmenu" style="z-index: 9999;"></ul>'),Ue||(Ue=je).addClass("hicontextmenuroot"),jquery__WEBPACK_IMPORTED_MODULE_72___default.a.each(Te,function(Fe,Qe){var He=!!Qe.disable&&Qe.disable(),Ie=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<li class="hicontextmenuitem"><a href="javascript:void(0);"><span>'+(Qe.text||"")+"</span></a></li>");He&&Ie.addClass("disable"),Qe.borderBottom&&Ie.addClass("borderBottom"),Qe.menus&&(Ie.addClass("hicontextsubmenu"),ke.renderMenu(Qe.menus,Ie)),Qe.callback&&Ie.click(function(_e){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).hasClass("disable")||(jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hicontextmenuroot").remove(),Qe.callback()),_e.stopPropagation()}),je.append(Ie)}),Se)&&Se.append(je),Se||jquery__WEBPACK_IMPORTED_MODULE_72___default()("body").append(Ue).find(".hicontextmenuroot").hide()},setPosition:function(Te){jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hicontextmenuroot").css({left:Te.pageX+2,top:Te.pageY+2}).show()},eventBind:function(){var Te=this;this.ele.on("contextmenu",function(Se){jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hicontextmenuroot").remove(),Se.preventDefault(),Te.renderMenu(Te.opts.menus),Te.setPosition(Se),Te.opts.target&&typeof Te.opts.target=="function"&&Te.opts.target(Be(this))}),Be("body").on("click",function(){Be(".hicontextmenuroot").remove()})}},Be.fn.hicontextMenu=function(Te){return new Me(this,Te),this}},function(t,e,n){n.r(e),n(22),n(23),n(24),n(25);var i,o=n(0);n(26),window.hiLocalStorage=(i=window.localStorage||null,{saveLocalData:function(Pe,Ee){return!(!i||!Ee||(i.setItem(Pe,Ee),0))},getLocalData:function(Pe){return i?i.getItem(Pe):null},removeItem:function(Pe){i&&i.removeItem(Pe)}}),n(27),n(32);var _r,a=(()=>{function Pe(){this.allElementTypes=[]}return Object.defineProperty(Pe,"instance",{get:function(){return Pe._instance=Pe._instance?Pe._instance:new Pe},enumerable:!0,configurable:!0}),Pe.prototype.addPrintElementTypes=function(Ee,Be){var Me=this;this[Ee]?this[Ee]=this[Ee].concat(Be):this[Ee]=Be,Be.forEach(function(Te){Me.allElementTypes=Me.allElementTypes.concat(Te.printElementTypes)})},Pe.prototype.removePrintElementTypes=function(Ee){delete this[Ee],this.allElementTypes=this.allElementTypes.filter(function(Be){return!Be.tid.startsWith(Ee)})},Pe.prototype.getElementTypeGroups=function(Ee){return this[this.formatterModule(Ee)]||[]},Pe.prototype.getElementType=function(Ee){var Be=this.allElementTypes.filter(function(Me){return Me.tid==Ee});if(0<Be.length)return Be[0]},Pe.prototype.updateElementType=function(Ee,Be){var Me=this.getElementType(Ee);if(Be){var Be=Be(Me),Te=this.allElementTypes.findIndex(function(je){return je.t
|
|||
|
|
<img class="h_img" src="`+_css_image_l_img_svg__WEBPACK_IMPORTED_MODULE_79___default.a+`" />
|
|||
|
|
<img class="v_img" src="`+_css_image_v_img_svg__WEBPACK_IMPORTED_MODULE_80___default.a+`" />
|
|||
|
|
</div>`)},t.prototype.createWaterMark=function(Pe,Ee,Te){var Me=this,Te=Object.assign({},Te||{},{id:"".concat(Me.templateId,"_").concat(Me.panelIdx,"_").concat(Ee||1,"_").concat(Pe?"design":Me.index),watch:Pe,container:Me.target[0]});Te.container&&(Te.content?(Pe&&_plugins_watermark_js__WEBPACK_IMPORTED_MODULE_77__.a.destroyWatermark(Object.assign({},Te,{id:"".concat(Me.templateId,"_").concat(Me.panelIdx,"_").concat(Ee||1,"_").concat(Me.index)})),_plugins_watermark_js__WEBPACK_IMPORTED_MODULE_77__.a.createWatermark(Te)):_plugins_watermark_js__WEBPACK_IMPORTED_MODULE_77__.a.destroyWatermark(Te))},t.prototype.displayHeight=function(){return this.mmheight-p.a.instance.paperHeightTrim+"mm"},t.prototype.displayWidth=function(){return this.mmwidth+"mm"},t.prototype.getPanelTarget=function(){return this.target.parent(".hiprint-printPanel ")},t})(),P=n(6),_=(()=>{var Pe=function(Ee,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Me,Te){Me.__proto__=Te}:function(Me,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Me[Se]=Te[Se])}))(Ee,Be)};return function(Ee,Be){function Me(){this.constructor=Ee}Pe(Ee,Be),Ee.prototype=Be===null?Object.create(Be):(Me.prototype=Be.prototype,new Me)}})(),w=(Pe=>{function Ee(Be,Me){return Be=Pe.call(this,Be)||this,Be.options=new b(Me),Be.options.setDefault(new b(p.a.instance.longText.default).getPrintElementOptionEntity()),Be}return _(Ee,Pe),Ee.prototype.getDesignTarget=function(Be){return Be=Pe.prototype.getDesignTarget.call(this,Be),Be.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),Be},Ee.prototype.getProxyTarget=function(Me){Me&&this.SetProxyTargetOption(Me);var Me=this.getData(),Te=this.createTarget(this.printElementType.getText(!0),Me);return this.updateTargetSize(Te),this.css(Te,Me),Te},Ee.prototype.updateDesignViewFromOptions=function(){var Be,Me;this.designTarget&&(Be=this.getData(),Me=this.getHtml(this.designPaper)[0].target,this.designTarget.find(".hiprint-printElement-longText-content").html(Me.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,Be))},Ee.prototype.getConfigOptions=function(){return p.a.instance.longText},Ee.prototype.getTitle=function(){return this.options.title||this.printElementType.title},Ee.prototype.getData=function(Be){var Me=this.getField(),Me=Me&&Me.split(".").reduce(function(Te,Se){return Te?Te[Se]:Be?Be[Se]:""},!1)||"";return Be?Me||"":this.options.testData||this.printElementType.getData()||""},Ee.prototype.updateTargetText=function(Be,Me,Te){Be=Be.find(".hiprint-printElement-longText-content"),Me=this.getText(Me,Te),Be.html(Me)},Ee.prototype.createTarget=function(Be,Me){var Te=jquery__WEBPACK_IMPORTED_MODULE_72___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(Te,Be,Me),Te},Ee.prototype.getText=function(Be,Me){var Te=this.getFormatter();return Me=Me&&(this.options.leftSpaceRemoved!=0?Me.toString().replace(/^\s*/,""):Me),(this.getField()?(!this.options.getHideTitle()&&Be?Be+":":"")+(Te?Te(Be,Me,this.options,this._currenttemplateData):Me):Te?Te(Be,Be,this.options,this._currenttemplateData):Be||"")||""},Ee.prototype.getHtml=function(Be,Me){return this.setCurrenttemplateData(Me),this.createTempContainer(),Be=this.getPaperHtmlResult(Be,Me),this.removeTempContainer(),Be},Ee.prototype.getHeightByData=function(Be){return this.createTempContainer(),Be=this.getPaperHtmlResult(new T("","",void 0,1e3,1e3,0,25e3,0,0,!0,!0,void 0,0,void 0),{},Be),this.removeTempContainer(),Be[0].referenceElement.bottomInLastPaper-Be[0].referenceElement.printTopInPaper},Ee.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>'},Ee.prototype.getPaperHtmlResult=function(Be,Me,Ue){var Se=this,je=[],ke=0,Ue=Ue||this.getData(
|
|||
|
|
`,"g"));if(Ie.forEach(function(sr,wr){sr=Se.options.leftSpaceRemoved!=0?(sr||"").toString().replace(/^\s*/,""):sr,He=He.concat(sr.split("")),wr<Ie.length-1&&He.push("<br/>"+Se.getLongTextIndent())}),He.length==0&&(He=[""]),this.isHeaderOrFooter()||this.isFixed()||!Me)(Ye=this.getStringBySpecificHeight(He,25e3,Qe)).target.css("left",this.options.displayLeft()),Ye.target.css("top",this.options.displayTop()),Ye.target[0].height="",je.push(new P.a({target:Ye.target,printLine:this.options.displayTop()+Ye.height,referenceElement:new E.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:Be.index,bottomInLastPaper:this.options.getTop()+Ye.height,printTopInPaper:this.options.getTop()})}));else for(var _e=this.getBeginPrintTopInPaperByReferenceElement(Be);0<He.length;){var Ae=0,rr=Be.getPaperFooter(ke),Ye=(ke==0&&rr<_e&&Be.panelPageRule!="none"&&(_e=_e-rr+Be.paperHeader,je.push(new P.a({target:void 0,printLine:void 0})),ke++,Ae=Be.getContentHeight(ke)-(_e-Be.paperHeader),rr=Be.getPaperFooter(ke)),this.getStringBySpecificHeight(He,0<Ae?Ae:ke==0?rr-_e:Be.getContentHeight(ke),Qe)),rr=(He.splice(0,Ye.length),void 0),Je=void 0;Ye.target.css("left",this.options.displayLeft()),Ye.target[0].height="",rr=ke==0||0<Ae?(Je=_e,Ye.target.css("top",Je+"pt"),!(0<He.length)&&this.options.lHeight!=null?_e+(Ye.height>this.options.lHeight?Ye.height:this.options.lHeight):_e+Ye.height):(Je=Be.paperHeader,Ye.target.css("top",Je+"pt"),Je+Ye.height),je.push(new P.a({target:Ye.target,printLine:rr,referenceElement:new E.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:Be.index,bottomInLastPaper:rr,printTopInPaper:Je})})),ke++,Me&&this.updatePanelHeight(rr+this.options.getHeight(),Be)}return je},Ee.prototype.getStringBySpecificHeight=function(Be,Se,Te){var Se=o.a.pt.toPx(Se),je=void 0;return(je=this.panel.panelPageRule=="none"?this.IsPaginationIndex(Be,Be.length,-1,Te):this.IsPaginationIndex(Be,Be.length-1,Se,Te)).IsPagination?je:this.BinarySearch(Be,0,Be.length-1,Se,Te)},Ee.prototype.BinarySearch=function(Be,Me,Te,Se,je){var ke,Ue=Math.floor((Me+Te)/2);return Te<Me?(je.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:je.clone()}):(ke=this.IsPaginationIndex(Be,Ue,Se,je)).IsPagination?ke:ke.move=="l"?this.BinarySearch(Be,Me,Ue-1,Se,je):this.BinarySearch(Be,Ue+1,Te,Se,je)},Ee.prototype.IsPaginationIndex=function(Be,Me,Te,Se){if(Te==-1)return Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Me).join("")),ke=Se.height(),{IsPagination:!0,height:o.a.px.toPt(ke),length:Be.length,target:Se.clone()};Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Me+2).join(""));var je=Se.height(),ke=(Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Me+1).join("")),Se.height());return Me>=Be.length-1&&ke<Te?{IsPagination:!0,height:o.a.px.toPt(ke),length:Be.length,target:Se.clone()}:ke<=Te&&Te<=je?{IsPagination:!0,height:ke,length:Me+1,target:Se.clone()}:Te<=ke?{IsPagination:!1,move:"l"}:je<=Te?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},Ee})(f.a),x=(()=>{function Pe(){}return Pe.replaceEnterAndNewline=function(Ee,Be){return Ee.replace(new RegExp(`\r|
|
|||
|
|
|/g`,"g"),Be)},Pe.replaceTab=function(Ee,Be){return Ee.replace(new RegExp(" /g","g"),Be)},Pe.replaceEnterAndNewlineAndTab=function(Ee,Be){return Ee.replace(new RegExp(`\r|
|
|||
|
|
| |/g`,"g"),Be)},Pe})(),C=(()=>{var Pe=function(Ee,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Me,Te){Me.__proto__=Te}:function(Me,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Me[Se]=Te[Se])}))(Ee,Be)};return function(Ee,Be){function Me(){this.constructor=Ee}Pe(Ee,Be),Ee.prototype=Be===null?Object.create(Be):(Me.prototype=Be.prototype,new Me)}})(),O=(Pe=>{function Ee(Be){return Be=Pe.call(this,Be)||this,Be.title&&(Be.title=x.replaceEnterAndNewlineAndTab(Be.title,"")),Be}return C(Ee,Pe),Ee.prototype.getHideTitle=function(){return(this.hideTitle==null?this.defaultOptions:this).hideTitle},Ee.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions:this).textType||"text"},Ee.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions:this).fontSize||9},Ee.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions:this).barcodeMode||"CODE128"},Ee.prototype.getBarTextMode=function(){return(this.barTextMode==null?this.defaultOptions:this).barTextMode||"text"},Ee.prototype.getBarWidth=function(){return(this.barWidth==null?this.defaultOptions:this).barWidth||1},Ee.prototype.getBarAutoWidth=function(){var Be;return(Be=this.barAutoWidth==null?this.defaultOptions.barAutoWidth==="true":this.barAutoWidth==="true")===null||Be},Ee.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions:this).qrCodeLevel||0},Ee})(g.a),H=(()=>{var Pe=function(Ee,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Me,Te){Me.__proto__=Te}:function(Me,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Me[Se]=Te[Se])}))(Ee,Be)};return function(Ee,Be){function Me(){this.constructor=Ee}Pe(Ee,Be),Ee.prototype=Be===null?Object.create(Be):(Me.prototype=Be.prototype,new Me)}})(),D=(Pe=>{function Ee(Be,Me){return Be=Pe.call(this,Be)||this,Be.options=new O(Me),Be.options.setDefault(new O(p.a.instance.text.default).getPrintElementOptionEntity()),Be}return H(Ee,Pe),Ee.prototype.getDesignTarget=function(Be){return Pe.prototype.getDesignTarget.call(this,Be)},Ee.prototype.getProxyTarget=function(Me){Me&&this.SetProxyTargetOption(Me);var Me=this.getData(),Te=this.createTarget(this.printElementType.getText(!0),Me);return this.updateTargetSize(Te),this.css(Te,Me),Te},Ee.prototype.updateDesignViewFromOptions=function(){var Be;this.designTarget&&(Be=this.getData(),this.css(this.designTarget,Be),this.updateTargetText(this.designTarget,this.getTitle(),Be))},Ee.prototype.getConfigOptions=function(){return p.a.instance.text},Ee.prototype.getTitle=function(){var Be=this.options.title||this.printElementType.title||"";return Be=Be&&x.replaceEnterAndNewlineAndTab(Be,"")},Ee.prototype.getData=function(Be){var Me=this.getField(),Me=Be?Me&&Me.split(".").reduce(function(Se,je){return Se?Se[je]:Be?Be[je]:""},!1)||"":this.options.testData||this.printElementType.getData()||"";if(this.options.format){if(this.options.dataType=="datetime")return o.a.dateFormat(Me,this.options.format);if(this.options.dataType=="boolean"){var Te=this.options.format.split(":");if(0<Te.length)return Me===!0||Me==="true"?Te[0]:Te[1]}}return Me},Ee.prototype.updateTargetText=function(Be,Ae,Te,Se,je){var ke,Ue,Fe,Qe,He,_e=this.getFormatter(),Ie=Be.find(".hiprint-printElement-text-content"),_e=this.getField()?(!this.options.getHideTitle()&&Ae?Ae+":":"")+hinnn.toUpperCase(this.options.upperCase,_e?_e(Ae,Te,this.options,this._currenttemplateData,Be):Te):Te=hinnn.toUpperCase(this.options.upperCase,_e?_e(Ae,Ae,this.options,this._currenttemplateData,Be):Ae),Ae=this.options.getTextType();if(Ae=="text")Ie.html(_e);else{if(Ae=="barcode"){Ie.css({display:"flex","flex-direction":"column"}),_e=this.options.getBarTextMode()=="text",Ie.html('<svg width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg>'),_e&&Ie.append('<div class="hibarcode_displayValue" style="white-space:nowrap">');try{Te?(jsbarcode__WEBPACK_IMPORTED_MODULE_74___default()(Ie.find(".hibarcode_imgcode")[0],Te,{format:this.options.getbarcodeMode(),width:t
|
|||
|
|
<style>
|
|||
|
|
.hiprint-printTemplate{
|
|||
|
|
margin: -`.concat((Number(this.panelLayoutOptions.layoutRowGap)||0)/2,"mm -").concat((Number(this.panelLayoutOptions.layoutColumnGap)||0)/2,`mm;
|
|||
|
|
}
|
|||
|
|
.hiprint-printTemplate .hiprint-printPanel {
|
|||
|
|
display:inline-block;
|
|||
|
|
padding: `).concat((Number(this.panelLayoutOptions.layoutRowGap)||0)/2,"mm ").concat((Number(this.panelLayoutOptions.layoutColumnGap)||0)/2,`mm;
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
`):Ee)+` <style printStyle>
|
|||
|
|
@page
|
|||
|
|
{
|
|||
|
|
border:0;
|
|||
|
|
padding:0cm;
|
|||
|
|
margin:0cm;
|
|||
|
|
`+this.getPrintSizeStyle()+`
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
`},Pe.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":"")+";"},Pe.prototype.deletePrintElement=function(Ee){var Be=this;this.printElements.filter(function(Me,Te){Me.id==Ee.id&&(Ee.delete(),Be.printElements.splice(Te,1))})},Pe.prototype.getElementByTid=function(Ee){return this.printElements.filter(function(Be){return Be.printElementType.tid===Ee}).map(function(Be,Me){return Be})},Pe.prototype.getElementByName=function(Ee){return this.printElements.filter(function(Be){return Be.options.name===Ee}).map(function(Be,Me){return Be})},Pe.prototype.getElementById=function(Ee){return this.printElements.find(function(Be){return Be.id===Ee})},Pe.prototype.getFieldsInPanel=function(){var Ee=[];return this.printElements.forEach(function(Be){Be.options&&Be.options.field?Ee.push(Be.options.field):Be.printElementType.field&&Ee.push(Be.printElementType.field)}),Ee},Pe.prototype.getTestData=function(){var Ee={};return this.printElements.forEach(function(Be){Be.printElementType.type!="table"&&(Be.options&&Be.options.field?Ee[Be.options.field]=Be.options.testData:Be.printElementType.field&&(Ee[Be.printElementType.field]=Be.printElementType.data||Be.options.testData))}),Ee},Pe.prototype.bindBatchMoveElement=function(){var Ee=this;this.designPaper.getTarget().on("mousemove",function(Be){Be.target.className&&_typeof(Be.target.className)=="string"&&Be.target.className.includes("editing")||(Be.currentTarget.className==Ee.designPaper.target[0].className?(Ee.mouseOffsetX=Be.offsetX,Ee.mouseOffsetY=Be.offsetY):Ee.mouseOffsetX=Ee.mouseOffsetY=void 0,s.a.instance.draging)||Be.buttons===1&&s.a.instance.rectDraging&&Ee.mouseRect&&(Ee.mouseRect.updateRect(Be.pageX,Be.pageY,Ee),Ee.updateRectPanel(Ee.mouseRect))}).on("mousedown",function(Be){s.a.instance.rectDraging=!0,Be.target.className&&_typeof(Be.target.className)=="string"&&Be.target.className.includes("editing")||s.a.instance.draging||(Ee.mouseRect&&Ee.mouseRect.target&&Ee.mouseRect.target.remove(),Be.buttons===1&&_typeof(Be.target.className)=="string"&&Be.target.className.includes("hiprint-printPaper hidroppable design")&&(Ee.mouseRect=new at(Be.pageX,Be.pageY,s.a.instance.dragLengthCNum(Be.pageX-Ee.designPaper.getTarget().offset().left,p.a.instance.movingDistance),s.a.instance.dragLengthCNum(Be.pageY-Ee.designPaper.getTarget().offset().top,p.a.instance.movingDistance))))}).on("mouseup",function(Be){s.a.instance.rectDraging=!1})},Pe.prototype.getElementInRect=function(Ee){var Be=[];return this.printElements.filter(function(Me){return Me.options.draggable!==!1}).forEach(function(Me){Me.inRect(Ee)&&Be.push(Me)}),Be},Pe.prototype.updateRectPanel=function(Ee){var Be=this,Me=this.designPaper.getTarget(),Te=this.designPaper.scale||1;this.mouseRect.target||(this.mouseRect.target=jquery__WEBPACK_IMPORTED_MODULE_72___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>'),Me.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(Se,je,ke){Be.mouseRect.lastLeft=Be.mouseRect.lastLeft?o.a.px.toPt(Be.mouseRect.target[0].offsetLeft):je/Te,Be.mouseRect.lastTop=Be.mouseRect.lastTop?o.a.px.toPt(Be.mouseRect.target[0].offsetTop):ke/Te,(Be.mouseRect.mouseRectSelectedElement||[]).forEach(function(Ue){Ue.updatePositionByMultipleSelect(je-Be.mouseRect.lastLeft,ke-Be.mouseRect.lastTop)}),Be.mouseRect.lastLeft=je/Te,Be.mouseRect.lastTop=ke/Te,s.a.instance.changed=!0},moveUnit:"pt",minMove:p.a.instance.movingDistance,onBeforeDrag:function(Se){Be.mouseRect.target.focus(),s.a.instance.draging=!0,Be.mouseRect.mouseRectSelectedElement||(Be.mouseRect.mouseRectSelectedElement=Be.getElementInRect(Be.mouseRect)),Be.mouseRect.target.css({transform:"unset"})},getScale:function(){return Be.designPaper.scale||1},onStopDrag:functio
|
|||
|
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|||
|
|
`+Ae.title+`
|
|||
|
|
</div>
|
|||
|
|
</div>`),rr.forEach(function(Je){Je.submit=function(sr){Ae.callback(Se.getValueByOptionItems(rr))},_e.append(Je.createTarget(Se.printTemplate,Ae.options,void 0)),Je.setValue(Ae.options[Je.name],Ae.options,void 0)}),_e.find(".auto-submit").change(function(){Ae.callback(Se.getValueByOptionItems(rr))}),_e.find(".auto-submit:input").bind("keydown.submitOption",function(Je){Je.keyCode===13&&Ae.callback(Se.getValueByOptionItems(rr))}),_e.find("textarea").bind("dblclick.textarea",function(Je){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val()||(Je=Je.target.placeholder||"",jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val(Je))})}),Be.append(_e)})):(Be=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-items"></div>'),je.getPrintElementOptionItems().forEach(function(He){He.submit=function(_e){je.submitOption()};var Ie=He.createTarget(je,je.options,je.printElementType);Te.printElementOptionSettingPanel[He.name]=Ie,Be.append(Ie),["columns","dataType"].includes(He.name)?He.setValue(je.options[He.name],je.options,je.printElementType):["coordinate","widthHeight"].includes(He.name)?He.setValue(je.options,je):He.setValue(je.options[He.name]||je.printElementType[He.name])})),jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|||
|
|
type="button">`.concat(i18n.__("确定"),"</button>"))),Qe=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|||
|
|
type="button">`.concat(i18n.__("删除"),"</button>"));Be.append(Fe),je.options.draggable!=0&&Be.append(Qe),Ue.length&&(Be.on("click",".prop-tab-item",function(){var Ie=jquery__WEBPACK_IMPORTED_MODULE_72___default()(this),He=Ie.index(),Ie=(Te.settingContainer.data("last-index",He),Ie.addClass("active"),Ie.siblings().removeClass("active"),Be.find(".hiprint-option-items:eq("+He+")"));Ie.addClass("active"),Ie.siblings().removeClass("active")}),(Me=+(Te.settingContainer.data("last-index")||0))>=Ue.length&&(Me=0),Be.find(".prop-tab-item:eq("+Me+")").click()),Fe.bind("click.submitOption",function(){je.submitOption()}),Qe.bind("click.deleteBtn",function(){hinnn.event.trigger("hiprintTemplateDataChanged_"+je.templateId,"删除"),Se.printTemplate.deletePrintElement(je),Te.clearSettingContainer()}),Be.find(".auto-submit").change(function(He){je.submitOption()}),Be.find(".auto-submit:input").bind("keydown.submitOption",function(He){He.keyCode==13&&je.submitOption()}),this.settingContainer.append(Be),Ue.length<1&&ke&&ke.forEach(function(He){var Ie=He.callback;He.callback=function(_e){Ie&&(Ie(_e),je.submitOption())},Te.buildSettingByCustomOptions(He,Te.settingContainer)}),this.lastPrintElement=je},Pe.prototype.buildSettingByCustomOptions=function(Ee,Ue){var Me=this,Te=(this.clearLastPrintElement(),Ue||this.settingContainer),Se=(Ue||this.settingContainer.html(""),[]),je=p.a.instance.panel.supportOptions.filter(function(Fe){return!Fe.hidden}).map(function(Fe){return Fe.name}),ke=(Ee.optionItems?Se=Ee.optionItems:Object.keys(Ee.options).filter(function(Fe){return je.includes(Fe)}).forEach(function(Fe){Fe=lt.a.getItem(Fe),Fe&&Se.push(Fe)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-items"></div>')),Ue=(Ee.title&&ke.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|||
|
|
`+Ee.title+`
|
|||
|
|
</div>
|
|||
|
|
</div>`),Se.forEach(function(Fe){Fe.submit=function(Qe){Ee.callback(Me.getValueByOptionItems(Se))},ke.append(Fe.createTarget(Me.printTemplate,Ee.options,void 0)),Fe.setValue(Ee.options[Fe.name],Ee.options,void 0)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|||
|
|
type="button">`.concat(i18n.__("确定"),"</button>")));ke.append(Ue),Ue.bind("click.submitOption",function(){Ee.callback(Me.getValueByOptionItems(Se))}),ke.find(".auto-submit").change(function(Fe){Ee.callback(Me.getValueByOptionItems(Se))}),ke.find(".auto-submit:input").bind("keydown.submitOption",function(Fe){Fe.keyCode==13&&Ee.callback(Me.getValueByOptionItems(Se))}),Te.append(ke)},Pe.prototype.getValueByOptionItems=function(Ee){var Be={};return Ee.forEach(function(Me){Be[Me.name]=Me.getValue()}),Be},Pe})(),dt=(()=>{function Pe(Ee,Be){this.paginationContainer=Ee,this.jqPaginationContainer=jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.paginationContainer),this.template=Be}return Pe.prototype.buildPagination=function(Ee){var Be=this.template.getPaneltotal(),Me=this;this.jqPaginationContainer.html("");for(var Te=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<ul class="hiprint-pagination"></ul>'),Se=0;Se<Be;Se++)(()=>{var ke=Se,Ue=Me.template.printPanels[ke].name||ke+1,Fe=jquery__WEBPACK_IMPORTED_MODULE_72___default()("<li><span>"+Ue+'</span><a href="javascript:void(0);">x</a></li>');Fe.find("span").click(function(){Me.template.selectPanel(ke),Fe.siblings().removeClass("selected"),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).parent("li").addClass("selected")}),Fe.find("a").click(function(){Me.template.deletePanel(ke),Me.buildPagination()}),Te.append(Fe)})();var je=jquery__WEBPACK_IMPORTED_MODULE_72___default()("<li><span>+</span></li>");Te.append(je),this.jqPaginationContainer.append(Te),je.click(function(){function ke(Fe){Me.template.addPrintPanel(Fe||void 0,!0),Me.buildPagination(),jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hiprint-pagination li").removeClass("selected"),jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hiprint-pagination li:nth-last-child(2)").addClass("selected")}var Ue;Me.template.onPanelAddClick?(Ue={index:Me.template.printPanels.length,paperType:"A4"},Me.template.onPanelAddClick(Ue,ke)):ke()})},Pe.prototype.selectPanel=function(Be){var Be=Be||this.template.editingPanel.index,Me=jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hiprint-pagination li:nth("+Be+")");Me.length&&(Me.siblings().removeClass("selected"),Me.addClass("selected")),hinnn.event.trigger("onSelectPanel",this.template.editingPanel,Be,Me)},Pe})(),ct=(()=>{function Pe(Me){var Be=this,Me=(this.tempimageBase64={},this.id=s.a.instance.guid(),s.a.instance.setPrintTemplateById(this.id,this),Me||{}),Te=(this.printPanels=[],this.dataMode=Me.dataMode||1,this.history=Me.history==null||Me.history,this.willOutOfBounds=Me.willOutOfBounds==null||Me.willOutOfBounds,this.onDataChanged=Me.onDataChanged,this.onUpdateError=Me.onUpdateError,this.lastJson=Me.template||{},this.historyList=[{id:s.a.instance.guid(),type:"初始",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=Me.defaultPanelName,this.designOptions={},this.qtDesigner=Me.qtDesigner==null||Me.qtDesigner,this.qtDesignerMap={},this.qtDesignderFunction=function(ke){this.qtDesignerMap={};var je,ke=ke.split("_")[0],Ue=Object(_home_runner_work_vue_plugin_hiprint_vue_plugin_hiprint_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__.a)(this.editingPanel.printElements);try{for(Ue.s();!(je=Ue.n()).done;){var Fe,Qe=je.value;Qe.options.field!==void 0&&(Fe=Qe.options.field.split("_")[0],this.qtDesignerMap[Fe]===void 0?this.qtDesignerMap[Fe]=1:this.qtDesignerMap[Fe]+=1)}}catch(He){Ue.e(He)}finally{Ue.f()}return this.qtDesignerMap[ke]===0||this.qtDesignerMap[ke]===void 0?ke:ke+"_"+this.qtDesignerMap[ke]},new st(Me.template||[]));Me.template&&Te.panels.forEach(function(Se){Be.printPanels.push(new pt(Se,Be.id))}),Me.fontList&&(this.fontList=Me.fontList),Me.fields&&(this.fields=Me.fields),Me.onImageChooseClick&&(this.onImageChooseClick=Me.onImageChooseClick),Me.onPanelAddClick&&(this.onPanelAddClick=Me.onPanelAddClick),Me.settingContainer&&new ut(this,Me.settingContainer),Me.paginationContainer&&(this.printPaginationCreator=new dt(Me.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave(
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}},function(Pe,Ee,Be){Be=Be(2),Pe.exports=Be({}.isPrototypeOf)},function(Pe,Ee,Be){var Me=Be(44);Pe.exports=function(Te){return Me(Te.length)}},function(Pe,Ee,Ie){function Me(){}function Te(Sr){Sr.write(sr("")),Sr.close();var xr=Sr.parentWindow.Object;return Sr=null,xr}var Se,je=Ie(8),ke=Ie(124),Ue=Ie(90),Fe=Ie(54),Qe=Ie(189),He=Ie(87),Ie=Ie(71),_e=">",Ae="<",Ye="prototype",rr="script",Je=Ie("IE_PROTO"),sr=function(Sr){return Ae+rr+_e+Sr+Ae+"/"+rr+_e},wr=function(){try{Se=new ActiveXObject("htmlfile")}catch(qe){}wr=typeof document=="undefined"||document.domain&&Se?Te(Se):(Sr=He("iframe"),xr="java"+rr+":",Sr.style.display="none",Qe.appendChild(Sr),Sr.src=String(xr),(xr=Sr.contentWindow.document).open(),xr.write(sr("document.F=Object")),xr.close(),xr.F);for(var Sr,xr,mr=Ue.length;mr--;)delete wr[Ye][Ue[mr]];return wr()};Fe[Je]=!0,Pe.exports=Object.create||function(Sr,xr){var mr;return Sr!==null?(Me[Ye]=je(Sr),mr=new Me,Me[Ye]=null,mr[Je]=Sr):mr=wr(),xr===void 0?mr:ke.f(mr,xr)}},function(Pe,Ee,Be){function Me(Te){return(Me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Se){return typeof Se}:function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se})(Te)}Be.d(Ee,"a",function(){return Me})},function(Pe,Ee,Be){Pe.exports=(()=>{function Me(_e,Qe){var Sr=Se.getNumbResult(_e);if(!Sr)return _e;Qe=Qe||{};var He=this.ch,Ie=this.ch_u,_e=this.ch_f||"",Ae=this.ch_d||".",Ye=He.charAt(0),rr=Sr.int,Je=Sr.decimal,sr="",wr="",Sr=Sr.minus?_e:"";if(Je){for(var Je=Se.clearZero(Je,"0","$"),xr=0;xr<Je.length;xr++)wr+=He.charAt(+Je.charAt(xr));wr=wr?Ae+wr:""}return sr=(function mr(qe,lr,xe){qe=Se.getNumbResult(qe).int;var Xe="",Re=1<arguments.length?lr:Qe.tenMin,ir=qe.length;if(ir==1)return He.charAt(+qe);if(ir<=4)for(var pr=0,vr=ir;vr--;){var Cr=+qe.charAt(pr),Xe=(Xe+=Re&&ir==2&&pr==0&&Cr==1?"":He.charAt(Cr))+(Cr&&vr?Ie.charAt(vr):"");pr++}else{for(var Ir=qe.length/4>>0,gr=qe.length%4;gr==0||!Ie.charAt(3+Ir);)gr+=4,Ir--;var lr=qe.substr(0,gr),kr=qe.substr(gr);Xe=mr(lr,Re)+Ie.charAt(3+Ir)+(kr.charAt(0)=="0"?Ye:"")+mr(kr,4<kr.length&&Re)}return Se.clearZero(Xe,Ye)})(rr),Sr+(sr=Qe.ww&&5<Ie.length&&(_e=Ie.charAt(4),Ae=Ie.charAt(5),~(rr=sr.lastIndexOf(Ae)))?sr.substring(0,rr).replace(new RegExp(Ae,"g"),_e+_e)+sr.substring(rr):sr)+wr}function Te(Fe){this.lang=Fe,this.encode=function(){return je.CL.apply(Fe,arguments)},this.decode=function(){return je.unCL.apply(Fe,arguments)},this.toMoney=function(){return je.toMoney.apply(Fe,arguments)}}var Se=(Fe=>{return He=/^([+-])?0*(\d+)(\.(\d+))?$/,Ie=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,_e=(Qe=(Fe={exports:{}}).exports).e2ten=function(Ye){var rr,Je,sr,wr,Sr,xr=Ie.exec(Ye.toString());return xr?(Sr=xr[2],rr=xr[4]||"",0<(Je=xr[5]?+xr[5]:0)?(sr=(sr=rr.substr(0,Je)).length<Je?sr+new Array(Je-sr.length+1).join("0"):sr,rr=rr.substr(Je),Sr+=sr):(sr=Sr.length-(Je=-Je),wr=(wr=Sr.substr(sr=sr<0?0:sr,Je)).length<Je?new Array(Je-wr.length+1).join("0")+wr:wr,Sr=Sr.substring(0,sr),rr=wr+rr),(xr[1]=="-"?"-":"")+(Sr=Sr==""?"0":Sr)+(rr?"."+rr:"")):Ye},Qe.getNumbResult=function(Ye){var rr=He.exec(Ye.toString());if(rr=!rr&&Ie.test(Ye.toString())?He.exec(_e(Ye.toString())):rr)return{int:rr[2],decimal:rr[4],minus:rr[1]=="-",num:rr.slice(1,3).join("")}},Qe.centerArray=function Ye(rr,Je){return rr.splice.apply(rr,[0,Je.length].concat(Je.splice(0,Je.length))),2<arguments.length&&((Je=[].slice.call(arguments,2)).unshift(rr),Ye.apply(null,Je)),rr},Ae=Qe.hasAttr=function(Ye,rr){return Object.prototype.hasOwnProperty.call(Ye,rr)},Qe.extend=function(Ye){for(var rr,Je=Ye||{},sr=Array.prototype.slice.call(arguments,1),wr=0;wr<sr.length;wr++){var Sr=sr[wr];for(rr in Sr)Ae(Sr,rr)&&(Je[rr]=Sr[rr])}return Je},Qe.getDigit=function(Ye){return 5<=Ye?4*(Ye-4)+4:Ye},Qe.unshiftZero=function(Ye,rr){if(!((rr=rr==null?1:rr)<=0))for(;rr--;)Ye.unshift(0)},Qe.clearZero=function(Ye,rr,Je){var sr,wr,Sr;return Ye==null?"":(Sr=~"*.?+$^[](){}|\\/".indexOf(rr)?"\\"+rr:rr,sr=new RegExp("^"
|
|||
|
|
`)&&Se.flags==="s")})},function(Pe,Ee,Ie){var Me=Ie(7),Te=Ie(2),Se=Ie(9),je=Ie(152),ke=Ie(81),Ue=Ie(42),Fe=Ie(30),Qe=Ie(19).get,He=Ie(106),Ie=Ie(153),_e=Ue("native-string-replace",String.prototype.replace),Ae=RegExp.prototype.exec,Ye=Ae,rr=Te("".charAt),Je=Te("".indexOf),sr=Te("".replace),wr=Te("".slice),Sr=(Ue=/b*/g,Me(Ae,Te=/a/,"a"),Me(Ae,Ue,"a"),Te.lastIndex!==0||Ue.lastIndex!==0),xr=ke.BROKEN_CARET,mr=/()??/.exec("")[1]!==void 0;(Sr||mr||xr||He||Ie)&&(Ye=function(Cr){var lr,xe,Xe,Re,ir,pr,vr=this,Wr=Qe(vr),Cr=Se(Cr),gr=Wr.raw;if(gr)return gr.lastIndex=vr.lastIndex,kr=Me(Ye,gr,Cr),vr.lastIndex=gr.lastIndex,kr;var Ir=Wr.groups,gr=xr&&vr.sticky,kr=Me(je,vr),Wr=vr.source,Ce=0,Hr=Cr;if(gr&&(kr=sr(kr,"y",""),Je(kr,"g")===-1&&(kr+="g"),Hr=wr(Cr,vr.lastIndex),0<vr.lastIndex&&(!vr.multiline||(vr.multiline,rr(Cr,vr.lastIndex-1)!==`
|
|||
|
|
`))&&(Wr="(?: "+Wr+")",Hr=" "+Hr,Ce++),lr=new RegExp("^(?:"+Wr+")",kr)),mr&&(lr=new RegExp("^"+Wr+"$(?!\\s)",kr)),Sr&&(xe=vr.lastIndex),Xe=Me(Ae,gr?lr:vr,Hr),gr?Xe?(Xe.input=wr(Xe.input,Ce),Xe[0]=wr(Xe[0],Ce),Xe.index=vr.lastIndex,vr.lastIndex+=Xe[0].length):vr.lastIndex=0:Sr&&Xe&&(vr.lastIndex=vr.global?Xe.index+Xe[0].length:xe),mr&&Xe&&1<Xe.length&&Me(_e,Xe[0],lr,function(){for(Re=1;Re<arguments.length-2;Re++)arguments[Re]===void 0&&(Xe[Re]=void 0)}),Xe&&Ir)for(Xe.groups=ir=Fe(null),Re=0;Re<Ir.length;Re++)ir[(pr=Ir[Re])[0]]=Xe[pr[1]];return Xe}),Pe.exports=Ye},function(Pe,Ee,Be){var Me=Be(150),Te=TypeError;Pe.exports=function(Se){if(Me(Se))throw new Te("The method doesn't accept regular expressions");return Se}},function(Pe,Ee,Be){var Me=Be(6)("match");Pe.exports=function(Te){var Se=/./;try{"/./"[Te](Se)}catch(je){try{return Se[Me]=!1,"/./"[Te](Se)}catch(ke){}}return!1}},function(Pe,Ee,Be){function Me(He){return function(Ye,rr){var Ae,Ye=je(ke(Ye)),rr=Se(rr),Je=Ye.length;return rr<0||Je<=rr?He?"":void 0:(Ae=Fe(Ye,rr))<55296||56319<Ae||rr+1===Je||(Je=Fe(Ye,rr+1))<56320||57343<Je?He?Ue(Ye,rr):Ae:He?Qe(Ye,rr,rr+2):Je-56320+(Ae-55296<<10)+65536}}var Te=Be(2),Se=Be(37),je=Be(9),ke=Be(17),Ue=Te("".charAt),Fe=Te("".charCodeAt),Qe=Te("".slice);Pe.exports={codeAt:Me(!1),charAt:Me(!0)}},function(Pe,Ee,Be){Be(65);var Me=Be(7),Te=Be(15),Se=Be(107),je=Be(3),ke=Be(6),Ue=Be(24),Fe=ke("species"),Qe=RegExp.prototype;Pe.exports=function(He,Ie,_e,Ae){var Ye,rr=ke(He),Je=!je(function(){var wr={};return wr[rr]=function(){return 7},""[He](wr)!==7}),sr=Je&&!je(function(){var wr=!1,Sr=/a/;return He==="split"&&((Sr={constructor:{}}).constructor[Fe]=function(){return Sr},Sr.flags="",Sr[rr]=/./[rr]),Sr.exec=function(){return wr=!0,null},Sr[rr](""),!wr});Je&&sr&&!_e||(Ye=/./[rr],sr=Ie(rr,""[He],function(wr,Sr,xr,mr,qe){var lr=Sr.exec;return lr===Se||lr===Qe.exec?Je&&!qe?{done:!0,value:Me(Ye,Sr,xr,mr)}:{done:!0,value:Me(wr,xr,Sr,mr)}:{done:!1}}),Te(String.prototype,He,sr[0]),Te(Qe,rr,sr[1])),Ae&&Ue(Qe[rr],"sham",!0)}},function(Pe,Ee,Be){var Me=Be(110).charAt;Pe.exports=function(Te,Se,je){return Se+(je?Me(Te,Se).length:1)}},function(Pe,Ee,Be){var Me=Be(7),Te=Be(8),Se=Be(10),je=Be(21),ke=Be(107),Ue=TypeError;Pe.exports=function(Fe,Qe){var He=Fe.exec;if(Se(He))return(He=Me(He,Fe,Qe))!==null&&Te(He),He;if(je(Fe)==="RegExp")return Me(ke,Fe,Qe);throw new Ue("RegExp#exec called on incompatible receiver")}},function(Pe,Ee,Xe){var Me=Xe(94),Te=Xe(7),Se=Xe(2),je=Xe(111),ke=Xe(3),Ue=Xe(8),Fe=Xe(10),Qe=Xe(35),He=Xe(37),Ie=Xe(44),_e=Xe(9),Ae=Xe(17),Ye=Xe(112),rr=Xe(36),Je=Xe(247),sr=Xe(113),wr=Xe(6)("replace"),Sr=Math.max,xr=Math.min,mr=Se([].concat),qe=Se([].push),lr=Se("".indexOf),xe=Se("".slice),Xe="a".replace(/./,"$0")==="$0",Re=!!/./[wr]&&/./[wr]("a","$0")==="";je("replace",function(ir,pr,vr){var Cr=Re?"$":"$0";return[function(Ir,gr){var kr=Ae(this),Wr=Qe(Ir)?void 0:rr(Ir,wr);return Wr?Te(Wr,Ir,kr,gr):Te(pr,_e(kr),Ir,gr)},function(Ir,gr){var kr=Ue(this),Wr=_e(Ir);if(typeof gr=="string"&&lr(gr,Cr)===-1&&lr(gr,"$<")===-1&&(Ir=vr(pr,kr,Wr,gr),Ir.done))return Ir.value;for(var Ce,Hr=Fe(gr),De=(Hr||(gr=_e(gr)),kr.global),Ge=(De&&(Ce=kr.unicode,kr.lastIndex=0),[]);(Un=sr(kr,Wr))!==null&&(qe(Ge,Un),De);)_e(Un[0])===""&&(kr.lastIndex=Ye(Wr,Ie(kr.lastIndex),Ce));for(var ar,xn="",Hn=0,$n=0;$n<Ge.length;$n++){for(var Un,$r=_e((Un=Ge[$n])[0]),Oi=Sr(xr(He(Un.index),Wr.length),0),Wn=[],Lr=1;Lr<Un.length;Lr++)qe(Wn,(ar=Un[Lr])===void 0?ar:String(ar));var Ii=Un.groups,cn=Hr?(cn=mr([$r],Wn,Oi,Wr),Ii!==void 0&&qe(cn,Ii),_e(Me(gr,void 0,cn))):Je($r,Wr,Oi,Wn,Ii,gr);Hn<=Oi&&(xn+=xe(Wr,Hn,Oi)+cn,Hn=Oi+$r.length)}return xn+xe(Wr,Hn)}]},!!ke(function(){var ir=/./;return ir.exec=function(){var pr=[];return pr.groups={a:"7"},pr},"".replace(ir,"$<a>")!=="7"})||!Xe||Re)},function(Pe,Ee){Pe.exports=__WEBPACK_EXTERNAL_MODULE__115__},function(Pe,Ee){Pe.exports=__WEBPACK_EXTERNAL_MODULE__116__},function(Pe,Ee,Ue){var Me=Ue(7),Te=Ue(12),Se=Ue(51),je=Ue(36),ke=Ue(185),Ue=Ue(6),Fe=TypeError,Qe=Ue("toPrimitive");Pe.exports=function(He,Ie){if(!Te(He)||Se(He))return He;var _e=je(He,Qe);if(_e)
|
|||
|
|
\v\f\r \u2028\u2029\uFEFF`},function(Pe,Ee,Be){var Me=Be(12),Te=Be(21),Se=Be(6)("match");Pe.exports=function(je){var ke;return Me(je)&&((ke=je[Se])!==void 0?!!ke:Te(je)==="RegExp")}},function(Pe,Ee,Be){var Me=Be(7),Te=Be(11),Se=Be(28),je=Be(152),ke=RegExp.prototype;Pe.exports=function(Ue){var Fe=Ue.flags;return Fe!==void 0||"flags"in ke||Te(Ue,"flags")||!Se(ke,Ue)?Fe:Me(je,Ue)}},function(Pe,Ee,Be){var Me=Be(8);Pe.exports=function(){var Te=Me(this),Se="";return Te.hasIndices&&(Se+="d"),Te.global&&(Se+="g"),Te.ignoreCase&&(Se+="i"),Te.multiline&&(Se+="m"),Te.dotAll&&(Se+="s"),Te.unicode&&(Se+="u"),Te.unicodeSets&&(Se+="v"),Te.sticky&&(Se+="y"),Se}},function(Pe,Ee,Be){var Me=Be(3),Te=Be(4).RegExp;Pe.exports=Me(function(){var Se=Te("(?<a>b)","g");return Se.exec("b").groups.a!=="b"||"b".replace(Se,"$<a>c")!=="bc"})},function(Pe,Ee,Fe){Fe(65);var Me,Te=Fe(1),Se=Fe(7),je=Fe(10),ke=Fe(8),Ue=Fe(9),Fe=(Me=!1,(Fe=/[ac]/).exec=function(){return Me=!0,/./.exec.apply(this,arguments)},Fe.test("abc")===!0&&Me),Qe=/./.test;Te({target:"RegExp",proto:!0,forced:!Fe},{test:function(_e){var Ie=ke(this),_e=Ue(_e),Ae=Ie.exec;return je(Ae)?(Ae=Se(Ae,Ie,_e))!==null&&(ke(Ae),!0):Se(Qe,Ie,_e)}})},function(Pe,Ee,ke){var He=ke(53).PROPER,Me=ke(15),Te=ke(8),Se=ke(9),Qe=ke(3),je=ke(151),ke="toString",Ue=RegExp.prototype,Fe=Ue[ke],Qe=Qe(function(){return Fe.call({source:"a",flags:"b"})!=="/a/b"}),He=He&&Fe.name!==ke;(Qe||He)&&Me(Ue,ke,function(){var Ie=Te(this);return"/"+Se(Ie.source)+"/"+Se(je(Ie))},{unsafe:!0})},function(Pe,Ee,Ue){var Me=Ue(1),Te=Ue(2),Se=Ue(108),je=Ue(17),ke=Ue(9),Ue=Ue(109),Fe=Te("".indexOf);Me({target:"String",proto:!0,forced:!Ue("includes")},{includes:function(Qe){return!!~Fe(ke(je(this)),ke(Se(Qe)),1<arguments.length?arguments[1]:void 0)}})},function(Pe,Ee,Be){var Me=Be(110).charAt,Te=Be(9),Se=Be(19),je=Be(104),ke=Be(63),Ue="String Iterator",Fe=Se.set,Qe=Se.getterFor(Ue);je(String,"String",function(He){Fe(this,{type:Ue,string:Te(He),index:0})},function(){var He=Qe(this),Ie=He.string,_e=He.index;return _e>=Ie.length?ke(void 0,!0):(Ie=Me(Ie,_e),He.index+=Ie.length,ke(Ie,!1))})},function(Pe,Ee,Be){var Me=Be(7),Te=Be(111),Se=Be(8),je=Be(35),ke=Be(44),Ue=Be(9),Fe=Be(17),Qe=Be(36),He=Be(112),Ie=Be(113);Te("match",function(_e,Ae,Ye){return[function(rr){var Je=Fe(this),sr=je(rr)?void 0:Qe(rr,_e);return sr?Me(sr,rr,Je):new RegExp(rr)[_e](Ue(Je))},function(wr){var Je=Se(this),sr=Ue(wr),wr=Ye(Ae,Je,sr);if(wr.done)return wr.value;if(!Je.global)return Ie(Je,sr);for(var Sr=Je.unicode,xr=[],mr=Je.lastIndex=0;(qe=Ie(Je,sr))!==null;){var qe=Ue(qe[0]);(xr[mr]=qe)===""&&(Je.lastIndex=He(sr,ke(Je.lastIndex),Sr)),mr++}return mr===0?null:xr}]})},function(Pe,Ee,Be){var Me=Be(2),Te=Be(17),Se=Be(9),je=/"/g,ke=Me("".replace);Pe.exports=function(Ie,Fe,Qe,He){var Ie=Se(Te(Ie)),_e="<"+Fe;return Qe!==""&&(_e+=" "+Qe+'="'+ke(Se(He),je,""")+'"'),_e+">"+Ie+"</"+Fe+">"}},function(Pe,Ee,Be){var Me=Be(3);Pe.exports=function(Te){return Me(function(){var Se=""[Te]('"');return Se!==Se.toLowerCase()||3<Se.split('"').length})}},function(Pe,Ee,Be){function Me(je){for(var ke={},Ue=0;Ue<64;Ue++)ke[je.charAt(Ue)]=Ue;return ke}var Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",Te=Se+"+/",Se=Se+"-_";Pe.exports={i2c:Te,c2i:Me(Te),i2cUrl:Se,c2iUrl:Me(Se)}},function(Pe,Ee,Be){Pe.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(Pe,Ee,Be){Be=Be(87)("span").classList,Be=Be&&Be.constructor&&Be.constructor.prototype,Pe.exports=Be===Object.prototype?void 0:Be},function(Pe,Ee,Qe){var Me=Qe(34),Te=Qe(62),Se=Qe(64),Ae=Qe(19),je=Qe(13).f,ke=Qe(104),Ue=Qe
|
|||
|
|
`):Fe})(Se,Me);return Se[2]?"@media ".concat(Se[2]," {").concat(je,"}"):je}).join("")},Te.i=function(Se,je,ke){typeof Se=="string"&&(Se=[[null,Se,""]]);var Ue={};if(ke)for(var Fe=0;Fe<this.length;Fe++){var Qe=this[Fe][0];Qe!=null&&(Ue[Qe]=!0)}for(var He=0;He<Se.length;He++){var Ie=[].concat(Se[He]);ke&&Ue[Ie[0]]||(je&&(Ie[2]?Ie[2]="".concat(je," and ").concat(Ie[2]):Ie[2]=je),Te.push(Ie))}},Te}},function(Pe,Ee,Be){function Me(Sr,xr){for(var mr=[],qe={},lr=0;lr<xr.length;lr++){var Xe=xr[lr],xe=Xe[0],Xe={id:Sr+":"+lr,css:Xe[1],media:Xe[2],sourceMap:Xe[3]};qe[xe]?qe[xe].parts.push(Xe):mr.push(qe[xe]={id:xe,parts:[Xe]})}return mr}if(Be.r(Ee),Be.d(Ee,"default",function(){return _e}),Be=typeof document!="undefined",typeof DEBUG!="undefined"&&DEBUG&&!Be)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var Te={},Se=Be&&(document.head||document.getElementsByTagName("head")[0]),je=null,ke=0,Ue=!1,Fe=function(){},Qe=null,He="data-vue-ssr-id",Ie=typeof navigator!="undefined"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _e(Sr,xr,mr,qe){Ue=mr,Qe=qe||{};var lr=Me(Sr,xr);return Ae(lr),function(xe){for(var Xe=[],Re=0;Re<lr.length;Re++){var ir=lr[Re];(pr=Te[ir.id]).refs--,Xe.push(pr)}xe?Ae(lr=Me(Sr,xe)):lr=[];for(var pr,Re=0;Re<Xe.length;Re++)if((pr=Xe[Re]).refs===0){for(var vr=0;vr<pr.parts.length;vr++)pr.parts[vr]();delete Te[pr.id]}}}function Ae(Sr){for(var xr=0;xr<Sr.length;xr++){var mr=Sr[xr],qe=Te[mr.id];if(qe){qe.refs++;for(var lr=0;lr<qe.parts.length;lr++)qe.parts[lr](mr.parts[lr]);for(;lr<mr.parts.length;lr++)qe.parts.push(rr(mr.parts[lr]));qe.parts.length>mr.parts.length&&(qe.parts.length=mr.parts.length)}else{for(var xe=[],lr=0;lr<mr.parts.length;lr++)xe.push(rr(mr.parts[lr]));Te[mr.id]={id:mr.id,refs:1,parts:xe}}}}function Ye(){var Sr=document.createElement("style");return Sr.type="text/css",Se.appendChild(Sr),Sr}function rr(Sr){var xr,mr,qe,lr=document.querySelector("style["+He+'~="'+Sr.id+'"]');if(lr){if(Ue)return Fe;lr.parentNode.removeChild(lr)}return qe=Ie?(xr=ke++,lr=je=je||Ye(),mr=wr.bind(null,lr,xr,!1),wr.bind(null,lr,xr,!0)):(lr=Ye(),mr=function(xe,Xe){var Re=Xe.css,ir=Xe.media,pr=Xe.sourceMap;if(ir&&xe.setAttribute("media",ir),Qe.ssrId&&xe.setAttribute(He,Xe.id),pr&&(Re=(Re+=`
|
|||
|
|
/*# sourceURL=`+pr.sources[0]+" */")+`
|
|||
|
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(pr))))+" */"),xe.styleSheet)xe.styleSheet.cssText=Re;else{for(;xe.firstChild;)xe.removeChild(xe.firstChild);xe.appendChild(document.createTextNode(Re))}}.bind(null,lr),function(){lr.parentNode.removeChild(lr)}),mr(Sr),function(xe){xe?xe.css===Sr.css&&xe.media===Sr.media&&xe.sourceMap===Sr.sourceMap||mr(Sr=xe):qe()}}Je=[];var Je,sr=function(Sr,xr){return Je[Sr]=xr,Je.filter(Boolean).join(`
|
|||
|
|
`)};function wr(Sr,xr,lr,qe){var lr=lr?"":qe.css;Sr.styleSheet?Sr.styleSheet.cssText=sr(xr,lr):(qe=document.createTextNode(lr),(lr=Sr.childNodes)[xr]&&Sr.removeChild(lr[xr]),lr.length?Sr.insertBefore(qe,lr[xr]):Sr.appendChild(qe))}},function(Pe,Ee,Be){Be.d(Ee,"a",function(){return Te});var Me=Be(50);function Te(Se,je){var ke,Ue,Fe,Qe,He=typeof Symbol!="undefined"&&Se[Symbol.iterator]||Se["@@iterator"];if(He)return Fe=!(Ue=!0),{s:function(){He=He.call(Se)},n:function(){var Ie=He.next();return Ue=Ie.done,Ie},e:function(Ie){Fe=!0,ke=Ie},f:function(){try{Ue||He.return==null||He.return()}finally{if(Fe)throw ke}}};if(Array.isArray(Se)||(He=Object(Me.a)(Se))||je&&Se&&typeof Se.length=="number")return He&&(Se=He),Qe=0,{s:je=function(){},n:function(){return Qe>=Se.length?{done:!0}:{done:!1,value:Se[Qe++]}},e:function(Ie){throw Ie},f:je};throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},function(Pe,Ee){Pe.exports=__WEBPACK_EXTERNAL_MODULE__171__},function(Pe,Ee){Pe.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHN0eWxlID0gInBvc2l0aW9uOmFic29sdXRlO3RvcDowO2xlZnQ6MCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDI5NTQgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnID48ZyA+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjUxLjUiIHkxPSIxMCIgeDI9IjUxLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjE1LjUiIHkxPSIxMCIgeDI9IjE1LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjM3LjUiIHkxPSIxMCIgeDI9IjM3LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjU5LjUiIHkxPSIxMCIgeDI9IjU5LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjIzLjUiIHkxPSIxMCIgeDI9IjIzLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjQ1LjUiIHkxPSIxMCIgeDI9IjQ1LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjY3LjUiIHkxPSIxMCIgeDI9IjY3LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PHRleHQgaWQ9IjgwIiAgZm9udC1zaXplPSIxOCIgICBmaWxsPSIjMDAwIj48dHNwYW4geD0iMSIgeT0iOCI+MDwvdHNwYW4+PC90ZXh0PjwvZz48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTkyLCAwKSI+PGxpbmUgeDE9IjAuNSIgeTE9Ii0xMCIgeDI9IjAuNSIgeTI9IjM3IiAgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiPjwvbGluZT48bGluZSB4MT0iOC41IiB5MT0iMTAiIHgyPSI4LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjMwLjUiIHkxPSIxMCIgeDI9IjMwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjUxLjUiIHkxPSIxMCIgeDI9IjUxLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjE1LjUiIHkxPSIxMCIgeDI9IjE1LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjM3LjUiIHkxPSIxMCIgeDI9IjM3LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjU5LjUiIHkxPSIxMCIgeDI9IjU5LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjIzLjUiIHkxPSIxMCIgeDI9IjIzLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjQ1LjUiIHkxPSIxMCIgeDI9IjQ1LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjY3LjUiIHkxPSIxMCIgeDI9IjY3LjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PHRleHQgaWQ9IjgwIiAgZm9udC1zaXplPSIxOCIgIGZpbGw9IiMwMDAiPjx0c3BhbiB4PSIxIiB5PSI4Ij44MDwvdHNwYW4+PC90ZXh0PjwvZz48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTE4NCwgMCkiPjxsaW5lIHgxPSIwLjUiIHkxPSItMTAiIHgyPSIwLjUiIHkyPSIzNyIgIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48L2xpbmU+PGxpbmUgeDE9IjguNSIgeTE9IjEwIiB4Mj0iOC41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIzMC41IiB5MT0iMTAiIHgyPSIzMC41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1MS41IiB5MT0iMTAiIHgyPSI1MS41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIxNS41IiB5MT0iMTAiIHgyPSIxNS41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIzNy41IiB5MT0iMTAiIHgyPSIzNy41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSI1OS41IiB5MT0iMTAiIHgyPSI1OS41IiB5Mj0iMzciICBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PC9saW5lPjxsaW5lIHgxPSIyMy41IiB5MT0iMTAiIHgyPSIyMy41IiB5Mj0iMzciICBzd
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}},function(Pe,Ee,Be){function Me(Te,Se){if(Te==null)return{};var je,ke=((Qe,He)=>{if(Qe==null)return{};var Ie,_e={};for(Ie in Qe)if({}.hasOwnProperty.call(Qe,Ie)){if(He.indexOf(Ie)!==-1)continue;_e[Ie]=Qe[Ie]}return _e})(Te,Se);if(Object.getOwnPropertySymbols)for(var Ue=Object.getOwnPropertySymbols(Te),Fe=0;Fe<Ue.length;Fe++)je=Ue[Fe],Se.indexOf(je)===-1&&{}.propertyIsEnumerable.call(Te,je)&&(ke[je]=Te[je]);return ke}Be.d(Ee,"a",function(){return Me})},function(Pe,Te,Be){Be.r(Te),Be.d(Te,"autoConnect",function(){return Se}),Be.d(Te,"disAutoConnect",function(){return je}),Be.d(Te,"hiPrintPlugin",function(){return ke});var Me=Be(22),Te=(Be.d(Te,"hiprint",function(){return Me.b}),Be.d(Te,"defaultElementTypeProvider",function(){return Me.a}),Be(292),Be(293),Be(294),Be(298),Be(178)),Se=function(Ue){window.autoConnect=!0,window.hiwebSocket&&window.hiwebSocket.hasIo()&&window.hiwebSocket.start(Ue)},je=function(){window.autoConnect=!1,window.hiwebSocket&&window.hiwebSocket.hasIo()&&window.hiwebSocket.stop()},ke={disAutoConnect:je,install:function(Qe){var Fe=1<arguments.length&&arguments[1]!==void 0?arguments[1]:"$hiPrint",Qe=(!(2<arguments.length&&arguments[2]!==void 0)||arguments[2]||je(),Qe.prototype||Qe.config.globalProperties);Qe[Fe]=Me.b,Qe.$print=function(){for(var Ie=0<arguments.length&&arguments[0]!==void 0?arguments[0]:Me.a,He=1<arguments.length?arguments[1]:void 0,Ie=(Me.b.init({providers:[new Ie]}),new Me.b.PrintTemplate({template:He})),_e=arguments.length,Ae=new Array(2<_e?_e-2:0),Ye=2;Ye<_e;Ye++)Ae[Ye-2]=arguments[Ye];return Ie.print.apply(Ie,Ae),Ie},Qe.$print2=function(){for(var Ie=0<arguments.length&&arguments[0]!==void 0?arguments[0]:Me.a,He=1<arguments.length?arguments[1]:void 0,Ie=(Me.b.init({providers:[new Ie]}),new Me.b.PrintTemplate({template:He})),_e=arguments.length,Ae=new Array(2<_e?_e-2:0),Ye=2;Ye<_e;Ye++)Ae[Ye-2]=arguments[Ye];return Ie.print2.apply(Ie,Ae),Ie}}};Me.b.version=Te.a,window.hiprint=Me.b},function(Pe,Ee,Be){Be(183),Be(192),Be(193),Be(129),Be(195)},function(Pe,Ee,Wn){function Me($a,Xn,fo){var eo=wa(cn,Xn);eo&&delete cn[Xn],xa($a,Xn,fo),eo&&$a!==cn&&xa(cn,Xn,eo)}function Te($a,Xn){var fo=or[$a]=xe(Pn);return Lr(fo,{type:Oi,tag:$a,description:Xn}),Ye||(fo.description=Xn),fo}function Se($a,Xn,fo){return $a===cn&&Se(Pr,Xn,fo),Sr($a),Xn=mr(Xn),Sr(fo),(sr(or,Xn)?(fo.enumerable?(sr($a,$r)&&$a[$r][Xn]&&($a[$r][Xn]=!1),fo=xe(fo,{enumerable:lr(0,!1)})):(sr($a,$r)||xa($a,$r,lr(1,xe(null))),$a[$r][Xn]=!0),oo):xa)($a,Xn,fo)}function je($a,eo){Sr($a);var fo=xr(eo),eo=Xe(fo).concat(Qe(fo));return Un(eo,function(lo){Ye&&!_e(ke,fo,lo)||Se($a,lo,fo[lo])}),$a}function ke(Xn){var Xn=mr(Xn),fo=_e(Ta,this,Xn);return!(this===cn&&sr(or,Xn)&&!sr(Pr,Xn))&&(!(fo||!sr(this,Xn)||!sr(or,Xn)||sr(this,$r)&&this[$r][Xn])||fo)}function Ue(eo,lo){var fo,eo=xr(eo),lo=mr(lo);if(eo!==cn||!sr(or,lo)||sr(Pr,lo))return!(fo=wa(eo,lo))||!sr(or,lo)||sr(eo,$r)&&eo[$r][lo]||(fo.enumerable=!0),fo}function Fe(Xn){var Xn=Aa(xr(Xn)),fo=[];return Un(Xn,function(eo){sr(or,eo)||sr(Hr,eo)||Ia(fo,eo)}),fo}function Qe(fo){var Xn=fo===cn,fo=Aa(Xn?Pr:xr(fo)),eo=[];return Un(fo,function(lo){!sr(or,lo)||Xn&&!sr(cn,lo)||Ia(eo,or[lo])}),eo}var He=Wn(1),Ie=Wn(4),_e=Wn(7),ja=Wn(2),Ae=Wn(16),Ye=Wn(5),rr=Wn(40),Je=Wn(3),sr=Wn(11),wr=Wn(28),Sr=Wn(8),xr=Wn(34),mr=Wn(84),qe=Wn(9),lr=Wn(33),xe=Wn(30),Xe=Wn(74),Re=Wn(43),ir=Wn(125),pr=Wn(72),vr=Wn(39),Cr=Wn(13),Ir=Wn(124),gr=Wn(83),kr=Wn(15),Wr=Wn(20),Ce=Wn(42),Bn=Wn(71),Hr=Wn(54),De=Wn(70),Ge=Wn(6),ar=Wn(126),xn=Wn(75),Hn=Wn(190),$n=Wn(25),Zi=Wn(19),Un=Wn(45).forEach,$r=Bn("hidden"),Oi="Symbol",Wn="prototype",Lr=Zi.set,Ii=Zi.getterFor(Oi),cn=Object[Wn],Bn=Ie.Symbol,Pn=Bn&&Bn[Wn],Va=Ie.RangeError,Ca=Ie.TypeError,Zi=Ie.QObject,wa=vr.f,xa=Cr.f,Aa=ir.f,Ta=gr.f,Ia=ja([].push),or=Ce("symbols"),Pr=Ce("op-symbols"),ja=Ce("wks"),Ps=!Zi||!Zi[Wn]||!Zi[Wn].findChild,oo=Ye&&Je(function(){return xe(xa({},"a",{get:function(){return xa(this,"a",{value:7}).a}})).a!==7})?Me:xa;rr||(kr(Pn=(Bn=function(){if(wr(Pn,this))throw new Ca("Symbol is
|
|||
|
|
background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(0, 0, 0, 0.1) 3%, rgba(0, 0, 0, 0) 3%);
|
|||
|
|
background-size: 5mm 5mm;
|
|||
|
|
background-position: left top;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.horLine {
|
|||
|
|
position: absolute;
|
|||
|
|
border: 0;
|
|||
|
|
border-top: 1px solid rgb(241, 110, 110);
|
|||
|
|
}
|
|||
|
|
.verLine {
|
|||
|
|
position: absolute;
|
|||
|
|
border: 0;
|
|||
|
|
border-left: 1px solid rgb(241, 110, 110);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 拖拽时元素辅助线 */
|
|||
|
|
.toplineOfPosition, .bottomlineOfPosition {
|
|||
|
|
border: 0;
|
|||
|
|
border-top: 1px dashed rgb(169, 169, 169);
|
|||
|
|
}
|
|||
|
|
.leftlineOfPosition, .rightlineOfPosition {
|
|||
|
|
border: 0;
|
|||
|
|
border-left: 1px dashed rgb(169, 169, 169);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 拖拽时的坐标位置 */
|
|||
|
|
.topPosition {
|
|||
|
|
background: red;
|
|||
|
|
color: white;
|
|||
|
|
border-radius: 20rem;
|
|||
|
|
min-width: 10px;
|
|||
|
|
padding: 0 2px;
|
|||
|
|
font-size: 12px;
|
|||
|
|
line-height: normal;
|
|||
|
|
z-index: 9;
|
|||
|
|
}
|
|||
|
|
.topPosition-lineMode {
|
|||
|
|
color: red;
|
|||
|
|
background: unset;
|
|||
|
|
line-height: normal;
|
|||
|
|
z-index: 9;
|
|||
|
|
}
|
|||
|
|
.leftPosition {
|
|||
|
|
background: red;
|
|||
|
|
color: white;
|
|||
|
|
border-radius: 20rem;
|
|||
|
|
min-width: 10px;
|
|||
|
|
padding: 0 2px;
|
|||
|
|
font-size: 12px;
|
|||
|
|
line-height: normal;
|
|||
|
|
z-index: 9;
|
|||
|
|
}
|
|||
|
|
.leftPosition-lineMode {
|
|||
|
|
color: red;
|
|||
|
|
background: unset;
|
|||
|
|
line-height: normal;
|
|||
|
|
z-index: 9;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 元素始终隐藏 */
|
|||
|
|
.alwaysHide {
|
|||
|
|
background-color: gray !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 元素宽高 */
|
|||
|
|
.resize-panel .size-box {
|
|||
|
|
border: 1px solid;
|
|||
|
|
min-height: 19px;
|
|||
|
|
padding: 0px 4px;
|
|||
|
|
background: red;
|
|||
|
|
color: white;
|
|||
|
|
font-size: 12px;
|
|||
|
|
border-radius: 6px 6px 0 0;
|
|||
|
|
white-space: nowrap;
|
|||
|
|
line-height: normal;
|
|||
|
|
font-family: unset;
|
|||
|
|
letter-spacing: normal;
|
|||
|
|
z-index: 9;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement:not(.editing):hover .resize-panel {
|
|||
|
|
display: block !important;
|
|||
|
|
/* hover 强制背景色 可重写 */
|
|||
|
|
background-color: rgba(0, 0, 0, 0.5) !important;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement:hover .resize-panel .resizebtn {
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement:hover .resize-panel.selected .resizebtn {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement.design .del-btn {
|
|||
|
|
position: absolute;
|
|||
|
|
visibility: hidden;
|
|||
|
|
z-index: 10;
|
|||
|
|
width: 16px;
|
|||
|
|
height: 16px;
|
|||
|
|
line-height: 12px;
|
|||
|
|
top: -8px;
|
|||
|
|
right: -8px;
|
|||
|
|
border-radius: 50%;
|
|||
|
|
padding: 2px;
|
|||
|
|
background: red;
|
|||
|
|
color: white;
|
|||
|
|
font-size: 12px;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
cursor: pointer;
|
|||
|
|
text-align: center;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement.design:hover .del-btn {
|
|||
|
|
visibility: visible;
|
|||
|
|
}
|
|||
|
|
.resize-panel .size-box .hide {
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 参数tab */
|
|||
|
|
.prop-tabs {
|
|||
|
|
background-color: #FFF;
|
|||
|
|
border-style: none;
|
|||
|
|
box-shadow: none;
|
|||
|
|
border-color: #e6e6e6;
|
|||
|
|
}
|
|||
|
|
.prop-tabs .prop-tab-items {
|
|||
|
|
height: 31px;
|
|||
|
|
line-height: 31px;
|
|||
|
|
padding: 2px 0 1px 2px;
|
|||
|
|
list-style: none;
|
|||
|
|
outline: 0;
|
|||
|
|
border: 0;
|
|||
|
|
text-decoration: none;
|
|||
|
|
font-size: 100%;
|
|||
|
|
margin: 0;
|
|||
|
|
border-bottom: 1px solid #ddd;
|
|||
|
|
/*box-shadow: 0 1px 3px rgba(26, 26, 26, .1);*/
|
|||
|
|
box-sizing: content-box;
|
|||
|
|
}
|
|||
|
|
.prop-tabs .prop-tab-items .prop-tab-item {
|
|||
|
|
background-color: #FFF;
|
|||
|
|
border-radius: 0;
|
|||
|
|
padding: 0;
|
|||
|
|
margin: 0 -1px 0 0;
|
|||
|
|
display: inline-block;
|
|||
|
|
cursor: pointer;
|
|||
|
|
list-style-type: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.prop-tabs .prop-tab-items .prop-tab-item .tab-title {
|
|||
|
|
height: 30px;
|
|||
|
|
line-height: 30px;
|
|||
|
|
padding: 0 10px;
|
|||
|
|
font-weight: bold;
|
|||
|
|
font-size: 14px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.prop-tabs .prop-tab-items li.active {
|
|||
|
|
border: none;
|
|||
|
|
border-bottom: 2px solid #2196f3;
|
|||
|
|
color: #2196f3;
|
|||
|
|
height: 31px;
|
|||
|
|
line-height: 30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.prop-tabs .hiprint-option-items.active {
|
|||
|
|
display: flex;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.prop-tabs .hiprint-option-items {
|
|||
|
|
display: none;
|
|||
|
|
margin-top: 1px;
|
|||
|
|
border: none;
|
|||
|
|
background-color: #FFF;
|
|||
|
|
overflow: auto;
|
|||
|
|
/*height: calc(100vh - 150px);*/
|
|||
|
|
padding: 0;
|
|||
|
|
}
|
|||
|
|
/* 元素双击编辑 */
|
|||
|
|
.design .editing {
|
|||
|
|
border: 1px solid red !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* hiprint-pagination */
|
|||
|
|
.hiprint-pagination {
|
|||
|
|
display: inline-block;
|
|||
|
|
padding-left: 0;
|
|||
|
|
}
|
|||
|
|
.hiprint-pagination > li {
|
|||
|
|
border: 1px solid #bdc3c7;
|
|||
|
|
-moz-border-radius: 2px;
|
|||
|
|
-webkit-border-radius: 2px;
|
|||
|
|
display: block;
|
|||
|
|
float: left;
|
|||
|
|
padding: 5px;
|
|||
|
|
text-decoration: none;
|
|||
|
|
margin-right: 5px;
|
|||
|
|
margin-bottom: 5px;
|
|||
|
|
font-family: helvetica;
|
|||
|
|
font-size: 13px;
|
|||
|
|
cursor: pointer
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-pagination > li > span {
|
|||
|
|
padding: 0 10px 0 10px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-pagination > li > a {
|
|||
|
|
color: #bdc3c7;
|
|||
|
|
font-weight: bold;
|
|||
|
|
text-decoration: none;
|
|||
|
|
font-size: 11px;
|
|||
|
|
padding: 3px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-pagination > li > a:hover {
|
|||
|
|
color: red;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-pagination .selected {
|
|||
|
|
border: #2196f3 1px solid;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-pagination-sm > li > a {
|
|||
|
|
padding: 5px 10px;
|
|||
|
|
font-size: 12px;
|
|||
|
|
line-height: 1.5;
|
|||
|
|
}
|
|||
|
|
/*rect-printElement-type hiprint-printElement-type */
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type {
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
list-style: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type > li > .title {
|
|||
|
|
display: block;
|
|||
|
|
padding: 4px 0px;
|
|||
|
|
clear: both;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type > li > ul {
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
display: block;
|
|||
|
|
list-style: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type > li > ul > li {
|
|||
|
|
display: block;
|
|||
|
|
width: 50%;
|
|||
|
|
float: left;
|
|||
|
|
max-width: 100px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rect-printElement-types .hiprint-printElement-type > li > ul > li > a {
|
|||
|
|
height: 92px;
|
|||
|
|
padding: 12px 6px;
|
|||
|
|
margin-left: -1px;
|
|||
|
|
line-height: 1.42857143;
|
|||
|
|
color: #337ab7;
|
|||
|
|
text-decoration: none;
|
|||
|
|
background-color: #fff;
|
|||
|
|
border: 1px solid #ddd;
|
|||
|
|
margin-right: 5px;
|
|||
|
|
width: 95%;
|
|||
|
|
max-width: 100px;
|
|||
|
|
display: inline-block;
|
|||
|
|
text-align: center;
|
|||
|
|
margin-bottom: 7px;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
color: #b9a5a6;
|
|||
|
|
border: 1px solid rgba(0,0,0,0.2);
|
|||
|
|
border-radius: 3px;
|
|||
|
|
box-shadow: 0 1px 0 0 rgba(0,0,0,0.15);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/*small-printElement-type hiprint-printElement-type */
|
|||
|
|
.small-printElement-types .hiprint-printElement-type {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.small-printElement-types .hiprint-printElement-type {
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
list-style: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.small-printElement-types .hiprint-printElement-type > li > .title {
|
|||
|
|
display: block;
|
|||
|
|
padding: 4px 0px;
|
|||
|
|
clear: both;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.small-printElement-types .hiprint-printElement-type > li > ul {
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
display: block;
|
|||
|
|
list-style: none;
|
|||
|
|
width: 100%;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.small-printElement-types .hiprint-printElement-type > li > ul > li {
|
|||
|
|
display: block;
|
|||
|
|
width: 50%;
|
|||
|
|
float: left;
|
|||
|
|
padding: 0 4px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.small-printElement-types .hiprint-printElement-type > li > ul > li > a {
|
|||
|
|
height: 22px;
|
|||
|
|
/* padding: 12px 6px; */
|
|||
|
|
/* margin-left: -1px; */
|
|||
|
|
line-height: 20px;
|
|||
|
|
color: #337ab7;
|
|||
|
|
text-decoration: none;
|
|||
|
|
background-color: #fff;
|
|||
|
|
border: 1px solid #ddd;
|
|||
|
|
margin-right: 5px;
|
|||
|
|
width: 100%;
|
|||
|
|
display: block;
|
|||
|
|
text-align: center;
|
|||
|
|
margin-bottom: 7px;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
color: #b9a5a6;
|
|||
|
|
border: 1px solid rgba(0,0,0,0.2);
|
|||
|
|
border-radius: 3px;
|
|||
|
|
box-shadow: 0 1px 0 0 rgba(0,0,0,0.15);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* hiprint-toolbar*/
|
|||
|
|
|
|||
|
|
.hiprint-toolbar {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-toolbar > ul {
|
|||
|
|
padding: 0px;
|
|||
|
|
margin-bottom: 5px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-toolbar > ul > li {
|
|||
|
|
display: inline-block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-toolbar > ul > li > a {
|
|||
|
|
position: relative;
|
|||
|
|
float: left;
|
|||
|
|
padding: 3px 10px;
|
|||
|
|
margin-left: -1px;
|
|||
|
|
line-height: 1.42857143;
|
|||
|
|
color: #337ab7;
|
|||
|
|
text-decoration: none;
|
|||
|
|
background-color: #fff;
|
|||
|
|
border: 1px solid #ddd;
|
|||
|
|
margin-right: 4px;
|
|||
|
|
cursor: pointer;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-printElement-type .glyphicon-class {
|
|||
|
|
display: block;
|
|||
|
|
text-align: center;
|
|||
|
|
word-wrap: break-word;
|
|||
|
|
/*font-size: 0.65rem;
|
|||
|
|
font-weight: normal;*/
|
|||
|
|
font-family: Helvetica, sans-serif;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-type .glyphicon {
|
|||
|
|
margin-top: 5px;
|
|||
|
|
margin-bottom: 10px;
|
|||
|
|
font-size: 37px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
/*option css*/
|
|||
|
|
/*option css*/
|
|||
|
|
.hiprint-option-items {
|
|||
|
|
padding: 10px 5px;
|
|||
|
|
display: flex;
|
|||
|
|
flex-wrap: wrap;
|
|||
|
|
align-items: flex-end;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 100%;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .hiprint-option-item {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
float: left;
|
|||
|
|
width: 50%;
|
|||
|
|
margin-bottom: 5px;
|
|||
|
|
padding: 0 5px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .hiprint-option-item-row {
|
|||
|
|
width: 100%;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-item-label {
|
|||
|
|
margin: 5px 5px 3px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .hiprint-option-item-field input, .hiprint-option-items .hiprint-option-item-field select, .hiprint-option-items .hiprint-option-item-field textarea {
|
|||
|
|
color: inherit;
|
|||
|
|
background-color: transparent;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 100%;
|
|||
|
|
position: relative;
|
|||
|
|
padding: 3px;
|
|||
|
|
z-index: 1;
|
|||
|
|
border: 1px solid rgb(169, 169, 169);
|
|||
|
|
height: 19pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-item-settingBtn {
|
|||
|
|
height: 19pt;
|
|||
|
|
line-height: 19pt;
|
|||
|
|
font-size: 12px;
|
|||
|
|
padding: 0 24px;
|
|||
|
|
background: #00c1de;
|
|||
|
|
border-color: transparent;
|
|||
|
|
color: #fff;
|
|||
|
|
display: inline-block;
|
|||
|
|
margin: 5px;
|
|||
|
|
font-weight: 400;
|
|||
|
|
border: 1px solid transparent;
|
|||
|
|
font-family: PingFangSC, helvetica neue, hiragino sans gb, arial, microsoft yahei ui, microsoft yahei, simsun, "sans-serif";
|
|||
|
|
vertical-align: middle;
|
|||
|
|
transition: .3s cubic-bezier(.4, 0, .2, 1);
|
|||
|
|
transform: translateZ(0);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-item-deleteBtn {
|
|||
|
|
background: red;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors {
|
|||
|
|
position: relative;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-sprite {
|
|||
|
|
background-image: url(`+Se+`);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-swatch {
|
|||
|
|
position: absolute;
|
|||
|
|
vertical-align: middle;
|
|||
|
|
background-position: -80px 0;
|
|||
|
|
cursor: text;
|
|||
|
|
padding: 0;
|
|||
|
|
margin: 0;
|
|||
|
|
display: inline-block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-swatch-color {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 0;
|
|||
|
|
left: 0;
|
|||
|
|
right: 0;
|
|||
|
|
bottom: 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors input[type=hidden] + .minicolors-swatch {
|
|||
|
|
width: 28px;
|
|||
|
|
position: static;
|
|||
|
|
cursor: pointer;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors input[type=hidden][disabled] + .minicolors-swatch {
|
|||
|
|
cursor: default;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Panel */
|
|||
|
|
.hiprint-option-items .minicolors-panel {
|
|||
|
|
position: absolute;
|
|||
|
|
width: 173px;
|
|||
|
|
background: white;
|
|||
|
|
border: solid 1px #CCC;
|
|||
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, .2);
|
|||
|
|
z-index: 99999;
|
|||
|
|
box-sizing: content-box;
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-panel.minicolors-visible {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Panel positioning */
|
|||
|
|
.hiprint-option-items .minicolors-position-top .minicolors-panel {
|
|||
|
|
top: -154px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-position-right .minicolors-panel {
|
|||
|
|
right: 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-position-bottom .minicolors-panel {
|
|||
|
|
top: auto;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-position-left .minicolors-panel {
|
|||
|
|
left: 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-with-opacity .minicolors-panel {
|
|||
|
|
width: 194px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors .minicolors-grid {
|
|||
|
|
position: relative;
|
|||
|
|
top: 1px;
|
|||
|
|
left: 1px; /* LTR */
|
|||
|
|
width: 150px;
|
|||
|
|
height: 150px;
|
|||
|
|
margin-bottom: 2px;
|
|||
|
|
background-position: -120px 0;
|
|||
|
|
cursor: crosshair;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors .minicolors-grid-inner {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 0;
|
|||
|
|
left: 0;
|
|||
|
|
width: 150px;
|
|||
|
|
height: 150px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-saturation .minicolors-grid {
|
|||
|
|
background-position: -420px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-saturation .minicolors-grid-inner {
|
|||
|
|
background-position: -270px 0;
|
|||
|
|
background-image: inherit;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-brightness .minicolors-grid {
|
|||
|
|
background-position: -570px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-brightness .minicolors-grid-inner {
|
|||
|
|
background-color: black;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-wheel .minicolors-grid {
|
|||
|
|
background-position: -720px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider,
|
|||
|
|
.hiprint-option-items .minicolors-opacity-slider {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 1px;
|
|||
|
|
left: 152px; /* LTR */
|
|||
|
|
width: 20px;
|
|||
|
|
height: 150px;
|
|||
|
|
background-color: white;
|
|||
|
|
background-position: 0 0;
|
|||
|
|
cursor: row-resize;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-saturation .minicolors-slider {
|
|||
|
|
background-position: -60px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-brightness .minicolors-slider {
|
|||
|
|
background-position: -20px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-slider-wheel .minicolors-slider {
|
|||
|
|
background-position: -20px 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-opacity-slider {
|
|||
|
|
left: 173px; /* LTR */
|
|||
|
|
background-position: -40px 0;
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-with-opacity .minicolors-opacity-slider {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Pickers */
|
|||
|
|
.hiprint-option-items .minicolors-grid .minicolors-picker {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 70px;
|
|||
|
|
left: 70px;
|
|||
|
|
width: 12px;
|
|||
|
|
height: 12px;
|
|||
|
|
border: solid 1px black;
|
|||
|
|
border-radius: 10px;
|
|||
|
|
margin-top: -6px;
|
|||
|
|
margin-left: -6px;
|
|||
|
|
background: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-grid .minicolors-picker > div {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 0;
|
|||
|
|
left: 0;
|
|||
|
|
width: 8px;
|
|||
|
|
height: 8px;
|
|||
|
|
border-radius: 8px;
|
|||
|
|
border: solid 2px white;
|
|||
|
|
box-sizing: content-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-picker {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 0;
|
|||
|
|
left: 0;
|
|||
|
|
width: 18px;
|
|||
|
|
height: 2px;
|
|||
|
|
background: white;
|
|||
|
|
border: solid 1px black;
|
|||
|
|
margin-top: -2px;
|
|||
|
|
box-sizing: content-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Swatches */
|
|||
|
|
.hiprint-option-items .minicolors-swatches,
|
|||
|
|
.hiprint-option-items .minicolors-swatches li {
|
|||
|
|
margin: 5px 0 3px 5px; /* LTR */
|
|||
|
|
padding: 0;
|
|||
|
|
list-style: none;
|
|||
|
|
overflow: hidden;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-swatches .minicolors-swatch {
|
|||
|
|
position: relative;
|
|||
|
|
float: left; /* LTR */
|
|||
|
|
cursor: pointer;
|
|||
|
|
margin: 0 4px 0 0; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
|
|||
|
|
margin-right: 7px; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-swatch.selected {
|
|||
|
|
border-color: #000;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Inline controls */
|
|||
|
|
.hiprint-option-items .minicolors-inline {
|
|||
|
|
display: inline-block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-inline .minicolors-input {
|
|||
|
|
display: none !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-inline .minicolors-panel {
|
|||
|
|
position: relative;
|
|||
|
|
top: auto;
|
|||
|
|
left: auto; /* LTR */
|
|||
|
|
box-shadow: none;
|
|||
|
|
z-index: auto;
|
|||
|
|
display: inline-block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* Bootstrap theme */
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatch {
|
|||
|
|
z-index: 2;
|
|||
|
|
top: 3px;
|
|||
|
|
left: 3px;
|
|||
|
|
width: 17px;
|
|||
|
|
height: 17px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
|
|||
|
|
margin-bottom: 2px;
|
|||
|
|
top: 0;
|
|||
|
|
left: 0; /* LTR */
|
|||
|
|
width: 20px;
|
|||
|
|
height: 20px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-swatch-color {
|
|||
|
|
border-radius: inherit;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap.minicolors-position-right > .minicolors-swatch {
|
|||
|
|
left: auto; /* LTR */
|
|||
|
|
right: 3px; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input {
|
|||
|
|
float: none;
|
|||
|
|
padding-left: 23px; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
|
|||
|
|
padding-right: 44px; /* LTR */
|
|||
|
|
padding-left: 12px; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
|
|||
|
|
top: 4px;
|
|||
|
|
left: 4px; /* LTR */
|
|||
|
|
width: 37px;
|
|||
|
|
height: 37px;
|
|||
|
|
border-radius: 5px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
|
|||
|
|
width: 24px;
|
|||
|
|
height: 24px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch {
|
|||
|
|
width: 18px;
|
|||
|
|
height: 18px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-items .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
|
|||
|
|
border-top-left-radius: 0; /* LTR */
|
|||
|
|
border-bottom-left-radius: 0; /* LTR */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/*hitable reizer*/
|
|||
|
|
.hitable {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hitable .selected {
|
|||
|
|
background: #3e66ad;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/*resizer*/
|
|||
|
|
.hitable tr.resizerRow,
|
|||
|
|
.hitable .resizerRow td {
|
|||
|
|
border: 0pt dashed;
|
|||
|
|
height: 0pt;
|
|||
|
|
background: #fff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hitable tr.resizerRow + tr,
|
|||
|
|
.hitable tr.resizerRow + tr td {
|
|||
|
|
border-top: 0px !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hitable td.resizerColumn {
|
|||
|
|
border: 0pt dashed;
|
|||
|
|
width: 0.000001px !important;
|
|||
|
|
background: #fff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hitable td.resizerColumn + td {
|
|||
|
|
border-left: 0px !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/*GRIP*/
|
|||
|
|
|
|||
|
|
.columngrips {
|
|||
|
|
height: 0px;
|
|||
|
|
position: absolute;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.columngrip {
|
|||
|
|
margin-left: -5px;
|
|||
|
|
position: absolute;
|
|||
|
|
z-index: 5;
|
|||
|
|
width: 10px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.columngrip .gripResizer {
|
|||
|
|
position: absolute;
|
|||
|
|
filter: alpha(opacity=1);
|
|||
|
|
opacity: 0;
|
|||
|
|
width: 10px;
|
|||
|
|
height: 100%;
|
|||
|
|
cursor: col-resize;
|
|||
|
|
top: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.columngripDraging {
|
|||
|
|
border-left: 1px dotted black;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rowgrips {
|
|||
|
|
height: 0px;
|
|||
|
|
width: 0px;
|
|||
|
|
position: absolute;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rowgrip {
|
|||
|
|
margin-top: -5px;
|
|||
|
|
position: absolute;
|
|||
|
|
z-index: 5;
|
|||
|
|
height: 10px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rowgrip .gripResizer {
|
|||
|
|
position: absolute;
|
|||
|
|
filter: alpha(opacity=1);
|
|||
|
|
opacity: 0;
|
|||
|
|
height: 10px;
|
|||
|
|
width: 100%;
|
|||
|
|
cursor: row-resize;
|
|||
|
|
left: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.rowgripDraging {
|
|||
|
|
border-top: 1px dotted black;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hitable .hitable-editor-text {
|
|||
|
|
border: 1px solid;
|
|||
|
|
width: 95%;
|
|||
|
|
height: 80%;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hipanel-disable {
|
|||
|
|
height: 0px;
|
|||
|
|
display: block !important;
|
|||
|
|
top: 8500px;
|
|||
|
|
width: 0px;
|
|||
|
|
overflow: hidden;
|
|||
|
|
position: absolute;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint_rul_wrapper {
|
|||
|
|
position: absolute;
|
|||
|
|
height: 100%;
|
|||
|
|
width: 100%;
|
|||
|
|
overflow: hidden;
|
|||
|
|
pointer-events: none;
|
|||
|
|
border: 0;
|
|||
|
|
border-top: 1px solid rgb(201, 190, 190);
|
|||
|
|
border-left: 1px solid rgb(201, 190, 190);
|
|||
|
|
padding-left: 15px;
|
|||
|
|
padding-top:15px;
|
|||
|
|
margin: -16px;
|
|||
|
|
box-sizing: content-box!important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint_rul_wrapper .h_img {
|
|||
|
|
position: absolute;
|
|||
|
|
top: 0px;
|
|||
|
|
left: 15px;
|
|||
|
|
width: 400mm;
|
|||
|
|
height: 15px;
|
|||
|
|
max-width: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint_rul_wrapper .v_img {
|
|||
|
|
width: 400mm;
|
|||
|
|
max-width: none;
|
|||
|
|
transform: rotate(90deg);
|
|||
|
|
transform-origin: 0 100%;
|
|||
|
|
height: 15px;
|
|||
|
|
position: absolute;
|
|||
|
|
top: -2px;
|
|||
|
|
left: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/*hiprint-option-table*/
|
|||
|
|
|
|||
|
|
.hiprint-option-table-selected-columns {
|
|||
|
|
color: inherit;
|
|||
|
|
background-color: transparent;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 100%;
|
|||
|
|
position: relative;
|
|||
|
|
padding: 0px;
|
|||
|
|
list-style: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-option-table-selected-columns .hiprint-option-table-selected-item {
|
|||
|
|
color: inherit;
|
|||
|
|
background-color: transparent;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 100%;
|
|||
|
|
padding: 0 3px;
|
|||
|
|
border: 1px solid rgb(169, 169, 169);
|
|||
|
|
line-height: 19pt;
|
|||
|
|
margin: 3px 0;
|
|||
|
|
}
|
|||
|
|
.hiprint-option-table-selected-columns .hiprint-option-table-selected-item .column-title {
|
|||
|
|
display: inline-block;
|
|||
|
|
min-width: calc(100% - 3rem);
|
|||
|
|
}
|
|||
|
|
/*hi-pretty */
|
|||
|
|
.hi-pretty * {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty input:not([type='checkbox']):not([type='radio']) {
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty {
|
|||
|
|
position: relative;
|
|||
|
|
display: inline-block;
|
|||
|
|
margin-right: 1em;
|
|||
|
|
white-space: nowrap;
|
|||
|
|
line-height: 1;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty input {
|
|||
|
|
position: absolute;
|
|||
|
|
left: 0;
|
|||
|
|
top: 0;
|
|||
|
|
min-width: 1em;
|
|||
|
|
width: 100%;
|
|||
|
|
height: 100%;
|
|||
|
|
z-index: 2;
|
|||
|
|
opacity: 0;
|
|||
|
|
margin: 0;
|
|||
|
|
padding: 0;
|
|||
|
|
cursor: pointer;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty .state label {
|
|||
|
|
position: initial;
|
|||
|
|
display: inline-block;
|
|||
|
|
font-weight: normal;
|
|||
|
|
margin: 0;
|
|||
|
|
text-indent: 1.5em;
|
|||
|
|
min-width: calc(1em + 2px);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty .state label:before,
|
|||
|
|
.hi-pretty .state label:after {
|
|||
|
|
content: '';
|
|||
|
|
width: calc(1em + 2px);
|
|||
|
|
height: calc(1em + 2px);
|
|||
|
|
display: block;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
border-radius: 0;
|
|||
|
|
border: 1px solid transparent;
|
|||
|
|
z-index: 0;
|
|||
|
|
position: absolute;
|
|||
|
|
left: 0;
|
|||
|
|
top: 0;
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty .state label:before {
|
|||
|
|
border-color: #bdc3c7;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty .state.p-is-hover,
|
|||
|
|
.hi-pretty .state.p-is-indeterminate {
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hi-pretty.p-default.p-fill .state label:after {
|
|||
|
|
-webkit-transform: scale(1);
|
|||
|
|
-ms-transform: scale(1);
|
|||
|
|
transform: scale(1);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty.p-default .state label:after {
|
|||
|
|
-webkit-transform: scale(0.6);
|
|||
|
|
-ms-transform: scale(0.6);
|
|||
|
|
transform: scale(0.6);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty.p-default input:checked ~ .state label:after {
|
|||
|
|
background-color: #bdc3c7 !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty.p-default.p-thick .state label:before,
|
|||
|
|
.hi-pretty.p-default.p-thick .state label:after {
|
|||
|
|
border-width: calc(1em / 7);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-pretty.p-default.p-thick .state label:after {
|
|||
|
|
-webkit-transform: scale(0.4) !important;
|
|||
|
|
-ms-transform: scale(0.4) !important;
|
|||
|
|
transform: scale(0.4) !important;
|
|||
|
|
}
|
|||
|
|
`,""]),Pe.exports=Ee},function(Pe,Ee,Be){Pe.exports=function(Me,Te){return Te=Te||{},typeof(Me=Me&&Me.__esModule?Me.default:Me)=="string"&&(/^['"].*['"]$/.test(Me)&&(Me=Me.slice(1,-1)),Te.hash&&(Me+=Te.hash),/["'() \t\n]/.test(Me)||Te.needQuotes)?'"'.concat(Me.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):Me}},function(Pe,Ee){Pe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA2YAAACWCAYAAAC1r5t6AAEL2klEQVR4AeSaBY8czxHFqw6SW3vvz4yiMDMnojB9pESsfI8wMzNzRGFmMhz6aGcq1btvck/PM31eec0tlYp6eqp2fOP+ba//7cm3x7K35jYbEWHd8BItieNQmmHubhGWmuLpN7ZkD/96w22B40c/+tES+y960Ys0b3PmW1vsCA385Cc/MR0veMEL7FrMe97znsd1tiQhdlPJIQ+7vk4bEYM5iA3EG/YrttZVrTEi6uvUbe3tkmqp3LthH+tBBq8zjWtN0P+/fxmIdfnAaMhvy4DBIyaTSds0TXt0dBQHBwft3t5eu7Oz0545cyZ+85vftO941zuP7LTZVE6Rhmhs7tya2d6S2W6aFyx1TAU2xDsfOmWn8z1t+Nspmyn/xjxz/evl2Chj96e+I2O3pb2OgljGFzcSKT7uYlgHdrM6K6gUtudFqGg0sZeCZhFPKXFuDLKVspFyDvXLWEq5CzKeSqS4Pq6USPH0A92kPYvBD30ktmwHKIKKTvG0A3FHEzGLI3+BNaR7OhuQ1qJp+fks/k3tV2mxevqaNHj9l4EL2ZzrKljQPHx9qefPVvyRxCVfja2ZHeifMOma3f0l6PvqP7Dr47aU+1Nuh72eMtb3FRXbozU2WaYGehvSmDaHZuBv4111Hv9ryXhCyn3oYJ0qHkuF9Igg9CjUx7pmh72Fw7/EJ7aj7ys0k+NjC/yDWyniZqsGKX5Ae7FFG2yDILfs1njYxCwl7am21AHtyEXalFfNc6DJX4H/8tRjzH196sdlTRJdn+9hf8jrvgx/O+3v4Z6Tidyb+qA1+tZ0xOqfRdiKeUrRZstm8FNDVi0y7tDpF5sfkkXRmVvU8HjyWpi1c7xhEfPOpZ1NuPlvD5ZsgeOHP/zh9Q5m7fUMZs95znOKmtSA5OQcNCTHfOvMb9dBReoR6Ik5ALECbXPDXeRQMJNa6j3BV1vhi/2geJFgG5rnRsJWaJ5BrOiUSCBrDw8Pi0QHZZubm+2//vWvKZi952PvPaiA2eAmJ4pWUZYZzzY6+4ArbP8JwGD7xf/d7gTykG2ssZHx/4B15FXGNop5QDY6WVyMM4+GAVwKZshTowxmKGgPRaB4Eo0zffazzNl+MFtOuTvlzpQxySnZpo0KeAHYBMgojhwe6RJtP6EhAmQCb5iPOAtvdMLapsGXfujNex/TAriA149UvmjUqdB/fWHOXwMuq3zg8y4APXexC3jWyHT5pTuWzcays6+9rxTYNKb+E3vArIICigA78LchWwCzDTtp3AUwYygbK5CJPZoXzNiWhirN8fvqPOBsIuXjzvcqVlYrhK7YAmaQPbFr5Mnzdo59p/eVN2YfuWXA7FTqO9J/Ter7Mvd2QNBL8x6jRkCpDmcKUFpf7Kb+IeZ8LOecyfW+lnor9YVbBMweuhjM3Dvogi2jLxc4Y/vNPxZVHW4TS5cJYlWQWsBormcwe/azn33JYMbwQLFQ6HH3yzsxq19jlJsXhtjmazCvfx29d70XzTGs9p+Yqa81IW4KYFofdLQ5kDOGL6wXsKfzoNrAaHIgV+xpCjZDWSSQNeWkbH9/P3Z3d9vt7e12Y2Oj/fe//x2///3v289/64v7Nu7fwETaPhJuga8SA5AWALMpl8TAPgG5oncCcZIdxLtvoP9bYnbC8FLUSd9An2LUkaYJ3JAjMBMgcyZMFmkGjaKhaRPn0z43L5hBA7QIytCJT+2RbnbkxCywjfSegkssKrs2PTErmo//YjKxwG7aHe1FcYqOqYKT4ZntEbN5lDMvcdqeT8NpZRAXpm7LvNny3ZTuelO2cPyfp2mHHZiK2oqFmJGNOrBAmJfgwH3dsRbsCNyBerfgK2HBdnwAYbO+l6j1DFLl0hdiuD0+n+NYaP+OgCHJa3QLc40e1F+aMfTJ0edEewwG6aBna4jjGdO/n7Dlu1fMTleBCzHRyjGa1xMzSI1fdjiu37mQPgMZHg6kuUfBDKINQxRnOA4wmxvI9qQZbWwTzRz2n/ndDY1K0h6sDnb9cPPkE7M9iWsjknM04kU28a3YxOzDNy2YraV+yuwUzJ+W9htTl9jtqQmK2FZYYl+hLOSeCmjwj+2N1AeZ/2zmf5H6S7n2LzN+eJOC2dPCvC1mjY4w2+uwZm7+61+u3GJgNrmeweyZz3xmHcwIHub7KWP9J35zQFbkqJ5SAQR1XiDGwNjgmlqvtfqrYAZ/8LOjWqRW8mEXcXeGLs71glkZWi9iHYCVHINYSwNgNh3BMFZ8/ukipMVPGKOclm1tbZUTsymY/fnPf26/+bPvXrAxwRU2OU4bmD4wc8znTY76xQaYMYBBa0y+5wzmGWxyYrb1/y84iPaKbMMfzU7MAmAm3z73fpfLjTg08lN/skKFQvYYzBTYYOvvNUGbIM3qidldALP14e/NCdA6cVQd0G5rFkWnBE7M9vknil0j5mkHGoNNIEYnacg5/YArshnvfuc0OTJjCAh5QDLcHFn5P0rnIH/SwN1q98IIvUjtoTy5MBCRjLSjw8kKC54PQBquR/MyieDJBkG12PhktchKubRm9dPvf/bk61PhEhBjWF25b3V4J6/wxT5rvUZOzA4ZuhQFqmAGITDbwlcV/61uWJZT7iOs4b/2cQXIRhIfDZ+Y7VUakTn9R4FCmnsXP/E7IeuQ09WqEav/UKNyYnYCoGlzDigDmM3sLbx8D8w+eFOB2Sj1q1K/JfXrMveUtsxNKRpzqxrrVICMbQW0GNJUb9rH8qvMfyHl05n/TsrezQNmT3lJ0NdnA+9Ll0CwEjD7weotBmZH1zOYPf3p/2PvLIDjSrKsnVllkNSy283cw8zMzDwTsPTvz7TMzMzMzBg4zMzMM83M3bZkC8uW6+Vmlu6JPX3m6qq0lrvLoVVsRuJ79VIa976vzr0nH65gpkAUggzNe9Ch148LbT7A+ffWe0XPVSLAC+7DCtRWwYzn9Dl4T1jP/cJgRWvBXARvBGbWZhDD9RjHM5gq1gHGWtNCFxnMRiDG4YuAs5WVlQZmTTEbgdmdd95Zbrrppu6TV3x+CaFB8g20WzBX3HGCNwK7VUrBGoBNmFtUbGrz2d4HrL1EoUF32Log/sk+/DwDs32tUAijgVaxvptnJvllub3o7MEDQwbEAztAVhDuyBvE2xw2FOeY2XfoBxzFzH1yLRTWOB2GMnoF0LUKAHNlQBRQJnLM8rFjwau4jE7cz6Q+13/+7L5gjx+OOO3DmQ9kvlKWZt1QRi1xNpOTZzZn4YzHwzf58w3MZgVtZjbMh1UY034DM4pEVgCTuUAWRH/RyiEbl38xZyM+QbFy/BRm3ZWCmUKYFAlxBJAxlGUizbxYy9z6tf9yyoPZnjr/lNr/+tp+RS33XYebXmLgQunsnp3AWKSaxaGMY8CZC2YY63CPa9dSecuwonItn6jza6c2mD30BUJZQmg8ljHsfO2M1uXv2bNDwAwwdGxSIMxbV8PQFMx8CBkTzEJ1zQcW1FtWzAQEixiEhKGMDoy5apqsC8EsaBf9DCcnTMGsjAFtfD2DWVEwYxMPVKyWURmaQla8nDJTyspgMACkJQazZv5x6623dp+7/qsLxeLbMpgFPOJAl9cvOjYtoYw9CErwy6i1Bp6UWvfAOcYvpJgtWgTgQssxs3H/SyjKMSvn1vaBWss30G4oEAMZ2k6OGR56NQPAQJ7BewLGCNRAm0imj8DMn
|
|||
|
|
body {
|
|||
|
|
margin: 0px;
|
|||
|
|
padding: 0px;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@page {
|
|||
|
|
margin: 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper * {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
-moz-box-sizing: border-box; /* Firefox */
|
|||
|
|
-webkit-box-sizing: border-box; /* Safari */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper *:focus {
|
|||
|
|
outline: -webkit-focus-ring-color auto 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper {
|
|||
|
|
position: relative;
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
page-break-after: always;
|
|||
|
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|||
|
|
-moz-user-select: none; /* Firefox */
|
|||
|
|
user-select: none;
|
|||
|
|
overflow-x: hidden;
|
|||
|
|
overflow: hidden;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper .hiprint-printPaper-content {
|
|||
|
|
position: relative;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 火狐浏览器打印 第一页过后 重叠问题 */
|
|||
|
|
@-moz-document url-prefix() {
|
|||
|
|
.hiprint-printPaper .hiprint-printPaper-content {
|
|||
|
|
position: relative;
|
|||
|
|
margin-top: 20px;
|
|||
|
|
top: -20px
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper.design {
|
|||
|
|
overflow: visible;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-printTemplate .hiprint-printPanel {
|
|||
|
|
page-break-after: always;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper, hiprint-printPanel {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
border: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPanel .hiprint-printPaper:last-child {
|
|||
|
|
page-break-after: avoid;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printTemplate .hiprint-printPanel:last-child {
|
|||
|
|
page-break-after: avoid;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper .hideheaderLinetarget {
|
|||
|
|
border-top: 0px dashed rgb(201, 190, 190) !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper .hidefooterLinetarget {
|
|||
|
|
border-top: 0px dashed rgb(201, 190, 190) !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper.design {
|
|||
|
|
border: 1px dashed rgba(170, 170, 170, 0.7);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content {
|
|||
|
|
overflow: hidden;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.design .resize-panel {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
border: 1px dotted;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-text {
|
|||
|
|
background-color: transparent;
|
|||
|
|
background-repeat: repeat;
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
border: 0.75pt none rgb(0, 0, 0);
|
|||
|
|
direction: ltr;
|
|||
|
|
font-family: 'SimSun';
|
|||
|
|
font-size: 9pt;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-weight: normal;
|
|||
|
|
padding-bottom: 0pt;
|
|||
|
|
padding-left: 0pt;
|
|||
|
|
padding-right: 0pt;
|
|||
|
|
padding-top: 0pt;
|
|||
|
|
text-align: left;
|
|||
|
|
text-decoration: none;
|
|||
|
|
line-height: 9.75pt;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
word-wrap: break-word;
|
|||
|
|
word-break: break-all;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.design .hiprint-printElement-text-content {
|
|||
|
|
border: 1px dashed rgb(206, 188, 188);
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-longText {
|
|||
|
|
background-color: transparent;
|
|||
|
|
background-repeat: repeat;
|
|||
|
|
border: 0.75pt none rgb(0, 0, 0);
|
|||
|
|
direction: ltr;
|
|||
|
|
font-family: 'SimSun';
|
|||
|
|
font-size: 9pt;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-weight: normal;
|
|||
|
|
padding-bottom: 0pt;
|
|||
|
|
padding-left: 0pt;
|
|||
|
|
padding-right: 0pt;
|
|||
|
|
padding-top: 0pt;
|
|||
|
|
text-align: left;
|
|||
|
|
text-decoration: none;
|
|||
|
|
line-height: 9.75pt;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
word-wrap: break-word;
|
|||
|
|
word-break: break-all;
|
|||
|
|
/*white-space: pre-wrap*/
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
.hiprint-printElement-table {
|
|||
|
|
background-color: transparent;
|
|||
|
|
background-repeat: repeat;
|
|||
|
|
color: rgb(0, 0, 0);
|
|||
|
|
border-color: rgb(0, 0, 0);
|
|||
|
|
border-style: none;
|
|||
|
|
direction: ltr;
|
|||
|
|
font-family: 'SimSun';
|
|||
|
|
font-size: 9pt;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-weight: normal;
|
|||
|
|
padding-bottom: 0pt;
|
|||
|
|
padding-left: 0pt;
|
|||
|
|
padding-right: 0pt;
|
|||
|
|
padding-top: 0pt;
|
|||
|
|
text-align: left;
|
|||
|
|
text-decoration: none;
|
|||
|
|
padding: 0 0 0 0;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
line-height: 9.75pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-table thead {
|
|||
|
|
background: #e8e8e8;
|
|||
|
|
font-weight: 700;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
table.hiprint-printElement-tableTarget {
|
|||
|
|
width: 100%;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {
|
|||
|
|
border-color: rgb(0, 0, 0);
|
|||
|
|
/*border-style: none;*/
|
|||
|
|
/*border: 1px solid rgb(0, 0, 0);*/
|
|||
|
|
font-weight: normal;
|
|||
|
|
direction: ltr;
|
|||
|
|
padding-bottom: 0pt;
|
|||
|
|
padding-left: 4pt;
|
|||
|
|
padding-right: 4pt;
|
|||
|
|
padding-top: 0pt;
|
|||
|
|
text-decoration: none;
|
|||
|
|
vertical-align: middle;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
word-wrap: break-word;
|
|||
|
|
word-break: break-all;
|
|||
|
|
/*line-height: 9.75pt;
|
|||
|
|
font-size: 9pt;*/
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-tableTarget-border-all {
|
|||
|
|
border: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-none {
|
|||
|
|
border: 0px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-lr {
|
|||
|
|
border-left: 1px solid;
|
|||
|
|
border-right: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-left {
|
|||
|
|
border-left: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-right {
|
|||
|
|
border-right: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-tb {
|
|||
|
|
border-top: 1px solid;
|
|||
|
|
border-bottom: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-top {
|
|||
|
|
border-top: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-bottom {
|
|||
|
|
border-bottom: 1px solid;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-tableTarget-border-td-none td {
|
|||
|
|
border: 0px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) {
|
|||
|
|
border-right: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-td-all td:not(last-child) {
|
|||
|
|
border-right: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-td-all td:last-child {
|
|||
|
|
border-left: 1px solid;
|
|||
|
|
}
|
|||
|
|
.hiprint-printElement-tableTarget-border-td-all td:last-child:first-child {
|
|||
|
|
border-left: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/*.hiprint-printElement-tableTarget tr,*/
|
|||
|
|
.hiprint-printElement-tableTarget td {
|
|||
|
|
height: 18pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper .hiprint-paperNumber {
|
|||
|
|
font-size: 9pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.design .hiprint-printElement-table-handle {
|
|||
|
|
position: absolute;
|
|||
|
|
height: 21pt;
|
|||
|
|
width: 21pt;
|
|||
|
|
background: red;
|
|||
|
|
z-index: 1;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printPaper .hiprint-paperNumber-disabled {
|
|||
|
|
float: right !important;
|
|||
|
|
right: 0 !important;
|
|||
|
|
color: gainsboro !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-vline, .hiprint-printElement-hline {
|
|||
|
|
border: 0px none rgb(0, 0, 0);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-vline {
|
|||
|
|
border-left: 0.75pt solid #000;
|
|||
|
|
border-right: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
border-bottom: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
border-top: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-hline {
|
|||
|
|
border-top: 0.75pt solid #000;
|
|||
|
|
border-right: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
border-bottom: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
border-left: 0px none rgb(0, 0, 0) !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-printElement-oval, .hiprint-printElement-rect {
|
|||
|
|
border: 0.75pt solid #000;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-middle {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-middle > div {
|
|||
|
|
display: grid;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-bottom {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-bottom > div {
|
|||
|
|
display: grid;
|
|||
|
|
align-items: flex-end;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-wrap {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap {
|
|||
|
|
white-space: nowrap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-clip {
|
|||
|
|
white-space: nowrap;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: clip;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis {
|
|||
|
|
white-space: nowrap;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/*hi-grid-row */
|
|||
|
|
.hi-grid-row {
|
|||
|
|
position: relative;
|
|||
|
|
height: auto;
|
|||
|
|
margin-right: 0;
|
|||
|
|
margin-left: 0;
|
|||
|
|
zoom: 1;
|
|||
|
|
display: block;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-grid-row::after, .hi-grid-row::before {
|
|||
|
|
display: table;
|
|||
|
|
content: '';
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hi-grid-col {
|
|||
|
|
display: block;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
position: relative;
|
|||
|
|
float: left;
|
|||
|
|
flex: 0 0 auto;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.table-grid-row {
|
|||
|
|
margin-left: -0pt;
|
|||
|
|
margin-right: -0pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.tableGridColumnsGutterRow {
|
|||
|
|
padding-left: 0pt;
|
|||
|
|
padding-right: 0pt;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.hiprint-gridColumnsFooter {
|
|||
|
|
text-align: left;
|
|||
|
|
clear: both;
|
|||
|
|
}
|
|||
|
|
`,""]),Pe.exports=Ee}])})})(vuePluginHiprint$3,vuePluginHiprint$3.exports)),vuePluginHiprint$3.exports}var vuePluginHiprintExports=requireVuePluginHiprint();const vuePluginHiprint=getDefaultExportFromCjs(vuePluginHiprintExports),vuePluginHiprint$1=_mergeNamespaces({__proto__:null,default:vuePluginHiprint},[vuePluginHiprintExports]);export{vuePluginHiprint$1 as v};
|