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-BzL5PZg7.js","js/stackblur-es-DK4L4ctA.js","js/emoji-mart-vue-fast-R0uJEDq-.js","js/index-X7Y8jykP.js","js/vue-vendor-DNhG1Cve.js","assets/index-GuhSw_Yp.css"])))=>i.map(i=>d[i]);
|
|||
|
|
import{a as getAugmentedNamespace,g as getDefaultExportFromCjs}from"./emoji-mart-vue-fast-R0uJEDq-.js";import{r as requireJsBarcode}from"./JsBarcode-9Xoda2fA.js";import{it as _typeof$1,_ as __vitePreload}from"./index-X7Y8jykP.js";import{z as zlibSync,u as unzlibSync}from"./browser-CC9DCAWJ.js";import{q as requireToStringTagSupport,s as requireClassof,t as requireDefineBuiltIn,u as require_export,v as requireObjectGetOwnPropertyDescriptor,w as requireAnObject,x as requireIsArray,y as requireIsConstructor,z as requireIsObject,A as requireWellKnownSymbol,B as requireFunctionBindContext,C as requireFunctionUncurryThis,D as requireIndexedObject,E as requireToObject,F as requireLengthOfArrayLike,G as requireEnvironmentV8Version,H as requireFails,I as requireGlobalThis,J as requireToString,K as requireStringTrim,L as requireWhitespaces,M as requireToIndexedObject,N as requireArrayMethodIsStrict,O as requireDescriptors,P as requireObjectDefineProperty,Q as requireCreatePropertyDescriptor,R as requireFunctionName,S as requireDefineBuiltInAccessor,T as requireDomTokenListPrototype,U as requireCreateNonEnumerableProperty,V as requireDomIterables,W as requireIteratorClose,X as requireFunctionCall,Y as requireIsArrayIteratorMethod,Z as requireGetIterator,_ as requireGetIteratorMethod,$ as requireCheckCorrectnessOfIteration,a0 as requireArrayIncludes,a1 as requireAddToUnscopables,a2 as requireStringMultibyte,a3 as requireInternalState,a4 as requireIteratorDefine,a5 as requireCreateIterResultObject,a6 as requireIsCallable,a7 as requireObjectSetPrototypeOf,a8 as requirePath,a9 as requireHasOwnProperty,aa as requireObjectIsPrototypeOf,ab as requireIsSymbol,ac as requireToPrimitive$1,ad as requireObjectGetOwnPropertyNames,ae as requireIsForced,af as requireIsPure,ag as requireToAbsoluteIndex,ah as requireClassofRaw,ai as requireArraySlice,aj as requireHiddenKeys,ak as requireUid,al as requireIterate,am as requireAnInstance,an as requireIsNullOrUndefined,ao as requireSetToStringTag,ap as requireObjectCreate,aq as requireSetSpecies,ar as requireFunctionApply,as as requireACallable,at as requireObjectGetPrototypeOf,au as requireCorrectPrototypeGetter,av as stackblurEs,r as requireEs_promise,aw as requireEs_regexp_exec,a as requireEs_string_match,b as requireEs_string_replace,c as requireEs_string_startsWith,f as requireEs_array_reduce,g as requireEs_string_endsWith,h as requireEs_string_split,i as requireRaf,j as requireEs_string_trim,l as requireEs_array_indexOf,m as requireEs_string_includes,n as requireEs_array_reverse,o as requireEs_regexp_toString,d as requireEs_array_iterator,e as requireWeb_domCollections_iterator,k as requireRgbcolor}from"./stackblur-es-DK4L4ctA.js";function _mergeNamespaces(Pe,Me){for(var Be=0;Be<Me.length;Be++){const Ee=Me[Be];if(typeof Ee!="string"&&!Array.isArray(Ee)){for(const Te in Ee)if(Te!=="default"&&!(Te in Pe)){const Se=Object.getOwnPropertyDescriptor(Ee,Te);Se&&Object.defineProperty(Pe,Te,Se.get?Se:{enumerable:!0,get:()=>Ee[Te]})}}}return Object.freeze(Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"}))}var vuePluginHiprint$2={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(Me,Be){Pe.exports=Me.document?Be(Me,!0):function(Ee){if(!Ee.document)throw new Error("jQuery requires a window with a document");return Be(Ee)}})(typeof window!="undefined"?window:jquery,function(Me,Be){var Ee=[],Te=Object.getPrototypeOf,Se=Ee.slice,je=Ee.flat?function(We){return Ee.flat.call(We)}:function(We){return Ee.concat.apply([],We)},Ue=Ee.push,ke=Ee.indexOf,De={},ze=De.toString,Fe=De.hasOwnProperty,Ie=Fe.toString,_e=Ie.call(Object),Ae={},Je=function(ar){return typeof ar=="function"&&typeof ar.nodeType!="number"&&typeof ar.item!="function"},ir=function(ar){return ar!=null&&ar===ar.window},$e=Me.document,cr={type:!0,src:!0,nonce:!0,noModule:!0};function xr(We,ar,yr){yr=yr||$e;var kr,Jr,$r=yr.createElement("script");if($r.text=We,ar)for(kr in cr)Jr=ar[kr]||ar.getAttribute&&ar.getAttribute(kr),Jr&&$r.setAttribute(kr,Jr);yr.head.appendChild($r).parentNode.removeChild($r)}function Tr(We){return We==null?We+"":typeof We=="object"||typeof We=="function"?De[ze.call(We)]||"object":typeof We}var Mr="3.7.1",mr=/HTML$/i,Ze=function(We,ar){return new Ze.fn.init(We,ar)};Ze.fn=Ze.prototype={jquery:Mr,constructor:Ze,length:0,toArray:function(){return Se.call(this)},get:function(We){return We==null?Se.call(this):We<0?this[We+this.length]:this[We]},pushStack:function(We){var ar=Ze.merge(this.constructor(),We);return ar.prevObject=this,ar},each:function(We){return Ze.each(this,We)},map:function(We){return this.pushStack(Ze.map(this,function(ar,yr){return We.call(ar,yr,ar)}))},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(Ze.grep(this,function(We,ar){return(ar+1)%2}))},odd:function(){return this.pushStack(Ze.grep(this,function(We,ar){return ar%2}))},eq:function(We){var ar=this.length,yr=+We+(We<0?ar:0);return this.pushStack(yr>=0&&yr<ar?[this[yr]]:[])},end:function(){return this.prevObject||this.constructor()},push:Ue,sort:Ee.sort,splice:Ee.splice},Ze.extend=Ze.fn.extend=function(){var We,ar,yr,kr,Jr,$r,mn=arguments[0]||{},ai=1,Zn=arguments.length,Mi=!1;for(typeof mn=="boolean"&&(Mi=mn,mn=arguments[ai]||{},ai++),typeof mn!="object"&&!Je(mn)&&(mn={}),ai===Zn&&(mn=this,ai--);ai<Zn;ai++)if((We=arguments[ai])!=null)for(ar in We)kr=We[ar],!(ar==="__proto__"||mn===kr)&&(Mi&&kr&&(Ze.isPlainObject(kr)||(Jr=Array.isArray(kr)))?(yr=mn[ar],Jr&&!Array.isArray(yr)?$r=[]:!Jr&&!Ze.isPlainObject(yr)?$r={}:$r=yr,Jr=!1,mn[ar]=Ze.extend(Mi,$r,kr)):kr!==void 0&&(mn[ar]=kr));return mn},Ze.extend({expando:"jQuery"+(Mr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(We){throw new Error(We)},noop:function(){},isPlainObject:function(We){var ar,yr;return!We||ze.call(We)!=="[object Object]"?!1:(ar=Te(We),ar?(yr=Fe.call(ar,"constructor")&&ar.constructor,typeof yr=="function"&&Ie.call(yr)===_e):!0)},isEmptyObject:function(We){var ar;for(ar in We)return!1;return!0},globalEval:function(We,ar,yr){xr(We,{nonce:ar&&ar.nonce},yr)},each:function(We,ar){var yr,kr=0;if(xe(We))for(yr=We.length;kr<yr&&ar.call(We[kr],kr,We[kr])!==!1;kr++);else for(kr in We)if(ar.call(We[kr],kr,We[kr])===!1)break;return We},text:function(We){var ar,yr="",kr=0,Jr=We.nodeType;if(!Jr)for(;ar=We[kr++];)yr+=Ze.text(ar);return Jr===1||Jr===11?We.textContent:Jr===9?We.documentElement.textContent:Jr===3||Jr===4?We.nodeValue:yr},makeArray:function(We,ar){var yr=ar||[];return We!=null&&(xe(Object(We))?Ze.merge(yr,typeof We=="string"?[We]:We):Ue.call(yr,We)),yr},inArray:function(We,ar,yr){return ar==null?-1:ke.call(ar,We,yr)},isXMLDoc:function(We){var ar=We&&We.namespaceURI,yr=We&&(We.ownerDocument||We).documentElement;return!mr.test(ar||yr&&yr.nodeName||"HTML")},merge:function(We,ar){for(var yr=+ar.length,kr=0,Jr=We.length;kr<yr;kr++)We[Jr++]=ar[kr];return We.length=Jr,We},grep:function(We,ar,yr){for(var kr,Jr=[],$r=0,mn=We.length,ai=!yr;$r<mn;$r++)kr=!ar(We[$r],$r),kr!==ai&&Jr.push(We[$r]);return Jr},map:function(We,ar
|
|||
|
|
`):We)),ar};var W1=/^(?:focusinfocus|focusoutblur)$/,Ol=function(We){We.stopPropagation()};Ze.extend(Ze.event,{trigger:function(We,ar,yr,kr){var Jr,$r,mn,ai,Zn,Mi,Ki,da,hi=[yr||$e],Oi=Fe.call(We,"type")?We.type:We,Jo=Fe.call(We,"namespace")?We.namespace.split("."):[];if($r=da=mn=yr=yr||$e,!(yr.nodeType===3||yr.nodeType===8)&&!W1.test(Oi+Ze.event.triggered)&&(Oi.indexOf(".")>-1&&(Jo=Oi.split("."),Oi=Jo.shift(),Jo.sort()),Zn=Oi.indexOf(":")<0&&"on"+Oi,We=We[Ze.expando]?We:new Ze.Event(Oi,typeof We=="object"&&We),We.isTrigger=kr?2:3,We.namespace=Jo.join("."),We.rnamespace=We.namespace?new RegExp("(^|\\.)"+Jo.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,We.result=void 0,We.target||(We.target=yr),ar=ar==null?[We]:Ze.makeArray(ar,[We]),Ki=Ze.event.special[Oi]||{},!(!kr&&Ki.trigger&&Ki.trigger.apply(yr,ar)===!1))){if(!kr&&!Ki.noBubble&&!ir(yr)){for(ai=Ki.delegateType||Oi,W1.test(ai+Oi)||($r=$r.parentNode);$r;$r=$r.parentNode)hi.push($r),mn=$r;mn===(yr.ownerDocument||$e)&&hi.push(mn.defaultView||mn.parentWindow||Me)}for(Jr=0;($r=hi[Jr++])&&!We.isPropagationStopped();)da=$r,We.type=Jr>1?ai:Ki.bindType||Oi,Mi=(ha.get($r,"events")||Object.create(null))[We.type]&&ha.get($r,"handle"),Mi&&Mi.apply($r,ar),Mi=Zn&&$r[Zn],Mi&&Mi.apply&&lr($r)&&(We.result=Mi.apply($r,ar),We.result===!1&&We.preventDefault());return We.type=Oi,!kr&&!We.isDefaultPrevented()&&(!Ki._default||Ki._default.apply(hi.pop(),ar)===!1)&&lr(yr)&&Zn&&Je(yr[Oi])&&!ir(yr)&&(mn=yr[Zn],mn&&(yr[Zn]=null),Ze.event.triggered=Oi,We.isPropagationStopped()&&da.addEventListener(Oi,Ol),yr[Oi](),We.isPropagationStopped()&&da.removeEventListener(Oi,Ol),Ze.event.triggered=void 0,mn&&(yr[Zn]=mn)),We.result}},simulate:function(We,ar,yr){var kr=Ze.extend(new Ze.Event,yr,{type:We,isSimulated:!0});Ze.event.trigger(kr,null,ar)}}),Ze.fn.extend({trigger:function(We,ar){return this.each(function(){Ze.event.trigger(We,ar,this)})},triggerHandler:function(We,ar){var yr=this[0];if(yr)return Ze.event.trigger(We,ar,yr,!0)}});var $l=/\[\]$/,Vo=/\r?\n/g,nl=/^(?:submit|button|image|reset|file)$/i,hc=/^(?:input|select|textarea|keygen)/i;function _A(We,ar,yr,kr){var Jr;if(Array.isArray(ar))Ze.each(ar,function($r,mn){yr||$l.test(We)?kr(We,mn):_A(We+"["+(typeof mn=="object"&&mn!=null?$r:"")+"]",mn,yr,kr)});else if(!yr&&Tr(ar)==="object")for(Jr in ar)_A(We+"["+Jr+"]",ar[Jr],yr,kr);else kr(We,ar)}Ze.param=function(We,ar){var yr,kr=[],Jr=function($r,mn){var ai=Je(mn)?mn():mn;kr[kr.length]=encodeURIComponent($r)+"="+encodeURIComponent(ai==null?"":ai)};if(We==null)return"";if(Array.isArray(We)||We.jquery&&!Ze.isPlainObject(We))Ze.each(We,function(){Jr(this.name,this.value)});else for(yr in We)_A(yr,We[yr],ar,Jr);return kr.join("&")},Ze.fn.extend({serialize:function(){return Ze.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var We=Ze.prop(this,"elements");return We?Ze.makeArray(We):this}).filter(function(){var We=this.type;return this.name&&!Ze(this).is(":disabled")&&hc.test(this.nodeName)&&!nl.test(We)&&(this.checked||!Ps.test(We))}).map(function(We,ar){var yr=Ze(this).val();return yr==null?null:Array.isArray(yr)?Ze.map(yr,function(kr){return{name:ar.name,value:kr.replace(Vo,`\r
|
|||
|
|
`)}}):{name:ar.name,value:yr.replace(Vo,`\r
|
|||
|
|
`)}}).get()}});var Ul=/%20/g,zl=/#.*$/,il=/([?&])_=[^&]*/,P1=/^(.*?):[ \t]*([^\r\n]*)$/mg,L1=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,gc=/^(?:GET|HEAD)$/,Gl=/^\/\//,Wl={},al={},xA="*/".concat("*"),vl=$e.createElement("a");vl.href=PA.href;function SA(We){return function(ar,yr){typeof ar!="string"&&(yr=ar,ar="*");var kr,Jr=0,$r=ar.toLowerCase().match(xi)||[];if(Je(yr))for(;kr=$r[Jr++];)kr[0]==="+"?(kr=kr.slice(1)||"*",(We[kr]=We[kr]||[]).unshift(yr)):(We[kr]=We[kr]||[]).push(yr)}}function QA(We,ar,yr,kr){var Jr={},$r=We===al;function mn(ai){var Zn;return Jr[ai]=!0,Ze.each(We[ai]||[],function(Mi,Ki){var da=Ki(ar,yr,kr);if(typeof da=="string"&&!$r&&!Jr[da])return ar.dataTypes.unshift(da),mn(da),!1;if($r)return!(Zn=da)}),Zn}return mn(ar.dataTypes[0])||!Jr["*"]&&mn("*")}function OA(We,ar){var yr,kr,Jr=Ze.ajaxSettings.flatOptions||{};for(yr in ar)ar[yr]!==void 0&&((Jr[yr]?We:kr||(kr={}))[yr]=ar[yr]);return kr&&Ze.extend(!0,We,kr),We}function vc(We,ar,yr){for(var kr,Jr,$r,mn,ai=We.contents,Zn=We.dataTypes;Zn[0]==="*";)Zn.shift(),kr===void 0&&(kr=We.mimeType||ar.getResponseHeader("Content-Type"));if(kr){for(Jr in ai)if(ai[Jr]&&ai[Jr].test(kr)){Zn.unshift(Jr);break}}if(Zn[0]in yr)$r=Zn[0];else{for(Jr in yr){if(!Zn[0]||We.converters[Jr+" "+Zn[0]]){$r=Jr;break}mn||(mn=Jr)}$r=$r||mn}if($r)return $r!==Zn[0]&&Zn.unshift($r),yr[$r]}function g1(We,ar,yr,kr){var Jr,$r,mn,ai,Zn,Mi={},Ki=We.dataTypes.slice();if(Ki[1])for(mn in We.converters)Mi[mn.toLowerCase()]=We.converters[mn];for($r=Ki.shift();$r;)if(We.responseFields[$r]&&(yr[We.responseFields[$r]]=ar),!Zn&&kr&&We.dataFilter&&(ar=We.dataFilter(ar,We.dataType)),Zn=$r,$r=Ki.shift(),$r){if($r==="*")$r=Zn;else if(Zn!=="*"&&Zn!==$r){if(mn=Mi[Zn+" "+$r]||Mi["* "+$r],!mn){for(Jr in Mi)if(ai=Jr.split(" "),ai[1]===$r&&(mn=Mi[Zn+" "+ai[0]]||Mi["* "+ai[0]],mn)){mn===!0?mn=Mi[Jr]:Mi[Jr]!==!0&&($r=ai[0],Ki.unshift(ai[1]));break}}if(mn!==!0)if(mn&&We.throws)ar=mn(ar);else try{ar=mn(ar)}catch(da){return{state:"parsererror",error:mn?da:"No conversion from "+Zn+" to "+$r}}}}return{state:"success",data:ar}}Ze.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:PA.href,type:"GET",isLocal:L1.test(PA.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xA,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":Ze.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(We,ar){return ar?OA(OA(We,Ze.ajaxSettings),ar):OA(Ze.ajaxSettings,We)},ajaxPrefilter:SA(Wl),ajaxTransport:SA(al),ajax:function(We,ar){typeof We=="object"&&(ar=We,We=void 0),ar=ar||{};var yr,kr,Jr,$r,mn,ai,Zn,Mi,Ki,da,hi=Ze.ajaxSetup({},ar),Oi=hi.context||hi,Jo=hi.context&&(Oi.nodeType||Oi.jquery)?Ze(Oi):Ze.event,gs=Ze.Deferred(),ns=Ze.Callbacks("once memory"),l1=hi.statusCode||{},hr={},nn={},Rn="canceled",$n={readyState:0,getResponseHeader:function(Di){var ga;if(Zn){if(!$r)for($r={};ga=P1.exec(Jr);)$r[ga[1].toLowerCase()+" "]=($r[ga[1].toLowerCase()+" "]||[]).concat(ga[2]);ga=$r[Di.toLowerCase()+" "]}return ga==null?null:ga.join(", ")},getAllResponseHeaders:function(){return Zn?Jr:null},setRequestHeader:function(Di,ga){return Zn==null&&(Di=nn[Di.toLowerCase()]=nn[Di.toLowerCase()]||Di,hr[Di]=ga),this},overrideMimeType:function(Di){return Zn==null&&(hi.mimeType=Di),this},statusCode:function(Di){var ga;if(Di)if(Zn)$n.always(Di[$n.status]);else for(ga in Di)l1[ga]=[l1[ga],Di[ga]];return this},abort:function(Di){var ga=Di||Rn;return yr&&yr.abort(ga),Ui(0,ga),this}};if(gs.promise($n),hi.url=((We||hi.url||PA.href)+"").replace(Gl,PA.protocol+"//"),hi.type=ar.method||ar.type||hi.method||hi.type,hi.dataTypes=(hi.dataType||"*").toLowerCase().match(xi)||[""],hi.crossDomain==null){ai=$e.createElement("a");try{ai.href=hi.url,ai.href=ai.href,hi.crossDomain=vl.protocol+"//"+vl.host!=ai.protocol+"//"+ai.ho
|
|||
|
|
`,Ae.p2],[". ",Ae.p3],[", ",Ae.p4],[": ",Ae.p5]]);Ae.azteccode_pcomp=gr,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 eo=0,so=Ae.rsnc;eo<so;eo++)_e[Ie++]=0;Ae.coeffs=xe();for(var za=1,Po=Ae.rsnc;za<=Po;za+=1){var wo=Ae.coeffs;He(wo,za,Ce(wo,za-1)),_e[Ie++]=Ce(Ae.rsalog,za);for(var Ho=za-1;Ho>=1;Ho-=1){var Go=Ae.coeffs,es=_e[Ie-1];_e[Ie++]=Go,_e[Ie++]=Ho,_e[Ie++]=Ce(Go,Ho),_e[Ie++]=es,Ae.rsprod();var To=_e[--Ie],Yo=_e[--Ie],Ko=_e[--Ie];He(Ko,Yo,ya(To,Ce(Ae.coeffs,Yo-1)))}var ts=Ae.coeffs,Lo=_e[Ie-1];_e[Ie++]=ts,_e[Ie++]=0,_e[Ie++]=Ce(ts,0),_e[Ie++]=Lo,Ae.rsprod();var fs=_e[--Ie],Qe=_e[--Ie],nr=_e[--Ie];He(nr,Qe,fs),Ie--}_e[Ie++]=Ae.coeffs},_e[Ie++]=Ae.azteccode_coeffscachemax,_e[Ie++]=Ae.azteccode_coeffscachelimit,Ya();var jr=_e[--Ie];Ae.azteccode_coeffscache=jr,Ae.azteccode_coeffscachefetch=function(){var eo=_e[--Ie],so=_e[--Ie],za=Ce(Ae.azteccode_coeffscache,"fetch");if(_e[Ie++]=lr(so+eo*1e5),_e[Ie++]=function(){Ae.azteccode_gencoeffs()},_e[Ie++]=function(){var Po=_e[--Ie];_e[Ie++]=Po.length
|
|||
|
|
`,Vr=null)},clip:function(Hn){var On='<clipPath id="clip'+sn.length+'"><path d="';for(let Xn=0;Xn<Hn.length;Xn++){let Yn=Hn[Xn];On+="M"+zn(Yn[0][0],Yn[0][1]);for(var qn=1,pi=Yn.length;qn<pi;qn++){var Ln=Yn[qn];On+="L"+zn(Ln[0],Ln[1])}On+="Z"}On+='" clip-rule="nonzero" /></clipPath>',bn="clip"+sn.length,sn.push(On)},unclip:function(){bn=""},text(Hn,On,qn,pi,Ln){Hn=Hn|0,On=On|0;for(var Xn=Hn,Yn=On,Jn=Ja.lookup(Ln.name),mi=Ln.width|0,Ii=Ln.height|0,Wr=Ln.dx|0,vn="",_n=0;_n<qn.length;_n++){var Un=qn.charCodeAt(_n),Qn=Ja.getpaths(Jn,Un,mi,Ii);if(Qn){if(Qn.length){for(var ii=0,li=Qn.length;ii<li;ii++){let ui=Qn[ii];ui.type=="M"||ui.type=="L"?vn+=ui.type+zn(ui.x+Hn,On-ui.y):ui.type=="Q"?vn+=ui.type+zn(ui.cx+Hn,On-ui.cy)+" "+zn(ui.x+Hn,On-ui.y):ui.type=="C"&&(vn+=ui.type+zn(ui.cx1+Hn,On-ui.cy1)+" "+zn(ui.cx2+Hn,On-ui.cy2)+" "+zn(ui.x+Hn,On-ui.y))}vn+="Z"}Hn+=Ja.getglyph(Jn,Un,mi,Ii).advance+Wr}}vn&&(Ln.rotate?en+='<path d="'+vn+'" fill="#'+pi+'" transform="rotate(-'+Ln.rotate+" "+zn(Xn,Yn)+`)" />
|
|||
|
|
`:en+='<path d="'+vn+'" fill="#'+pi+`" />
|
|||
|
|
`)},end(){var Hn="";for(var On in pn)Hn+=pn[On]+`" />
|
|||
|
|
`;var qn=Kr.backgroundcolor;return'<svg viewBox="0 0 '+Sn+" "+Wn+`" xmlns="http://www.w3.org/2000/svg">
|
|||
|
|
`+(sn.length?"<defs>"+sn.join("")+"</defs>":"")+(/^[0-9A-Fa-f]{6}$/.test(""+qn)?'<rect width="100%" height="100%" fill="#'+qn+`" />
|
|||
|
|
`:"")+Hn+en+`</svg>
|
|||
|
|
`}};function zn(Hn,On){Hn+=ri,On+=ni;var qn=gr*Hn+jr*On+Gr*(Sn-1)+zr*(Wn-1),pi=rn*Hn+Yr*On+Lr*(Sn-1)+Rr*(Wn-1);return""+((qn|0)==qn?qn:qn.toFixed(2))+" "+((pi|0)==pi?pi:pi.toFixed(2))}}var Ja=(function(){var gr=[],jr={},Gr={},zr={},rn=0;return zr.next=zr,zr.prev=zr,{lookup:Lr,monochrome:Rr,getglyph:Kr,getpaths:en,loadFont:Yr};function Yr(Vr){var bn=100,sn=100,pn=null;if(arguments.length==2)pn=arguments[1];else if(arguments.length==3)bn=sn=+arguments[1]||100,pn=arguments[2];else if(arguments.length==4)sn=+arguments[1]||100,bn=+arguments[2]||100,pn=arguments[3];else throw new Error("bwipjs: loadFont: invalid number of arguments");var Pn=ko.InitFont(is(pn));Pn.bwipjs_name=Vr,Pn.bwipjs_multx=bn,Pn.bwipjs_multy=sn;var wn=gr.push(Pn)-1;return jr[Vr.toUpperCase()]=wn,wn}function Lr(Vr){var bn=jr[Vr.toUpperCase()];return bn===void 0?1:bn}function Rr(Vr){if(Vr)throw new Error("bwipjs: monochrome fonts not implemented")}function Kr(Vr,bn,sn,pn){Vr=Vr|0,bn=bn|0,sn=+sn,pn=+pn,(!sn||sn<8)&&(sn=8),(!pn||pn<8)&&(pn=sn),(Vr<0||Vr>=gr.length)&&(Vr=1),(!bn||bn<32)&&(bn=32);var Pn=""+Vr+"c"+bn+"w"+sn+"h"+pn,kn=Gr[Pn];if(kn){kn.prev.next=kn.next,kn.next.prev=kn.prev;var Wn=zr;return Wn.next.prev=kn,kn.next=Wn.next,kn.prev=Wn,Wn.next=kn,kn}var wn=gr[Vr],kn=ko.GetGlyph(wn,bn,sn*wn.bwipjs_multx/100,pn*wn.bwipjs_multy/100)||ko.GetGlyph(wn,0,sn*wn.bwipjs_multx/100,pn*wn.bwipjs_multy/100);if(kn.bytes=kn.pixels,kn.cachekey=Pn,kn.offset=0,rn>250){var Wn=zr,Sn=Wn.prev;Sn.prev.next=Wn,Wn.prev=Sn.prev,Sn.next=Sn.prev=null,delete Gr[Sn.cachekey]}else rn++;Gr[Pn]=kn;var Wn=zr;return Wn.next.prev=kn,kn.next=Wn.next,kn.prev=Wn,Wn.next=kn,kn}function en(Vr,bn,sn,pn){Vr=Vr|0,bn=bn|0,sn=+sn,pn=+pn,(!sn||sn<8)&&(sn=8),(!pn||pn<8)&&(pn=sn),(Vr<0||Vr>=gr.length)&&(Vr=1),(!bn||bn<32)&&(bn=32);var Pn=gr[Vr];return ko.GetPaths(Pn,bn,sn*Pn.bwipjs_multx/100,pn*Pn.bwipjs_multy/100)}})();function Fo(){return Ja.loadFont.apply(Ja,Array.prototype.slice.call(arguments))}var ko=(function(){var gr=1,jr=2,Gr=3,zr=4,rn=0,Yr=3,Lr=1,Rr=10,Kr=Math.floor,en=Math.ceil,Vr=Math.sqrt,bn=Math.abs;function sn(Nr){for(var un=[],dn=0;dn<Nr;dn++)un.push({});return un}function pn(Nr){return Nr[Nr.cursor++]||0}function Pn(Nr){return Nr[Nr.cursor]}function wn(Nr,un){Nr.cursor=un>Nr.length||un<0?Nr.length:un}function kn(Nr,un){wn(Nr,Nr.cursor+un)}function Sn(Nr,un){for(var dn=0,yn=0;yn<un;yn++)dn=dn<<8|pn(Nr);return dn}function Wn(){return{length:0}}function ri(Nr,un,dn){if(un<0||dn<0||un>Nr.length||dn>Nr.length-un)return Wn();var yn=Nr.subarray(un,un+dn);return yn.cursor=0,yn}function ni(Nr){var un=Nr.cursor,dn=Sn(Nr,2);if(dn){var yn=pn(Nr);kn(Nr,yn*dn),kn(Nr,Sn(Nr,yn)-1)}return ri(Nr,un,Nr.cursor-un)}function zn(Nr){var un=pn(Nr);return un>=32&&un<=246?un-139:un>=247&&un<=250?(un-247)*256+pn(Nr)+108:un>=251&&un<=254?-(un-251)*256-pn(Nr)-108:un==28?Sn(Nr,2):un==29?Sn(Nr,4):0}function Hn(Nr){var un=Pn(Nr);if(un==30)for(kn(Nr,1);Nr.cursor<Nr.length;){var dn=pn(Nr);if((dn&15)==15||dn>>4==15)break}else zn(Nr)}function On(Nr,un){for(wn(Nr,0);Nr.cursor<Nr.length;){for(var dn=Nr.cursor,yn,Gn;Pn(Nr)>=28;)Hn(Nr);if(yn=Nr.cursor,Gn=pn(Nr),Gn==12&&(Gn=pn(Nr)|256),Gn==un)return ri(Nr,dn,yn-dn)}return ri(Nr,0,0)}function qn(Nr,un,dn,yn){for(var Gn=On(Nr,un),oi=0;oi<dn&&Gn.cursor<Gn.length;oi++)yn[oi]=zn(Gn)}function pi(Nr,un,dn){var yn=On(Nr,un);return yn.cursor<yn.length&&(dn=zn(yn)),dn}function Ln(Nr){return wn(Nr,0),Sn(Nr,2)}function Xn(Nr,un){var dn,yn,Gn,oi;return wn(Nr,0),dn=Sn(Nr,2),yn=pn(Nr),kn(Nr,un*yn),Gn=Sn(Nr,yn),oi=Sn(Nr,yn),ri(Nr,2+(dn+1)*yn+Gn,oi-Gn)}function Yn(Nr){return Nr&32768?(4294901760|Nr)>>0:Nr}function Jn(Nr,un){return Nr[un]*256+Nr[un+1]}function mi(Nr,un){var dn=Nr[un]*256+Nr[un+1];return dn&32768?(4294901760|dn)>>0:dn}function Ii(Nr,un){return(Nr[un]<<24)+(Nr[un+1]<<16)+(Nr[un+2]<<8)+Nr[un+3]}function Wr(Nr,un,dn){for(var yn=Jn(Nr,un+4),Gn=un+12,oi=0;oi<yn;++oi){var Cn=Gn+16*oi;if(Nr[Cn]==dn[0]&&Nr[Cn+1]==dn[1]&&Nr[Cn+2]==dn[2]&&Nr[Cn+3]==dn[3])return Ii(Nr,Cn+8)}return 0}function vn(Nr,un){var dn=[0,0];if(qn(un,18,2,dn),!dn[1]||!dn[0])return Wn();var yn=ri(Nr,dn[1],dn[0]),G
|
|||
|
|
* 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 Me;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(Ue){return[parseInt(Ue[1]),parseInt(Ue[2]),parseInt(Ue[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ue){return[parseInt(Ue[1],16),parseInt(Ue[2],16),parseInt(Ue[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ue){return[parseInt(Ue[1]+Ue[1],16),parseInt(Ue[2]+Ue[2],16),parseInt(Ue[3]+Ue[3],16)]}}],Ee=0;Ee<Be.length;Ee++){var Te=Be[Ee].re,Se=Be[Ee].process,je=Te.exec(Pe);je&&(Me=Se(je),this.r=Me[0],this.g=Me[1],this.b=Me[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 Ue=this.r.toString(16),ke=this.g.toString(16),De=this.b.toString(16);return Ue.length==1&&(Ue="0"+Ue),ke.length==1&&(ke="0"+ke),De.length==1&&(De="0"+De),"#"+Ue+ke+De}}/**
|
|||
|
|
* @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,Me){var Be=Pe[0],Ee=Pe[1],Te=Pe[2],Se=Pe[3];Be=g(Be,Ee,Te,Se,Me[0],7,-680876936),Se=g(Se,Be,Ee,Te,Me[1],12,-389564586),Te=g(Te,Se,Be,Ee,Me[2],17,606105819),Ee=g(Ee,Te,Se,Be,Me[3],22,-1044525330),Be=g(Be,Ee,Te,Se,Me[4],7,-176418897),Se=g(Se,Be,Ee,Te,Me[5],12,1200080426),Te=g(Te,Se,Be,Ee,Me[6],17,-1473231341),Ee=g(Ee,Te,Se,Be,Me[7],22,-45705983),Be=g(Be,Ee,Te,Se,Me[8],7,1770035416),Se=g(Se,Be,Ee,Te,Me[9],12,-1958414417),Te=g(Te,Se,Be,Ee,Me[10],17,-42063),Ee=g(Ee,Te,Se,Be,Me[11],22,-1990404162),Be=g(Be,Ee,Te,Se,Me[12],7,1804603682),Se=g(Se,Be,Ee,Te,Me[13],12,-40341101),Te=g(Te,Se,Be,Ee,Me[14],17,-1502002290),Be=m(Be,Ee=g(Ee,Te,Se,Be,Me[15],22,1236535329),Te,Se,Me[1],5,-165796510),Se=m(Se,Be,Ee,Te,Me[6],9,-1069501632),Te=m(Te,Se,Be,Ee,Me[11],14,643717713),Ee=m(Ee,Te,Se,Be,Me[0],20,-373897302),Be=m(Be,Ee,Te,Se,Me[5],5,-701558691),Se=m(Se,Be,Ee,Te,Me[10],9,38016083),Te=m(Te,Se,Be,Ee,Me[15],14,-660478335),Ee=m(Ee,Te,Se,Be,Me[4],20,-405537848),Be=m(Be,Ee,Te,Se,Me[9],5,568446438),Se=m(Se,Be,Ee,Te,Me[14],9,-1019803690),Te=m(Te,Se,Be,Ee,Me[3],14,-187363961),Ee=m(Ee,Te,Se,Be,Me[8],20,1163531501),Be=m(Be,Ee,Te,Se,Me[13],5,-1444681467),Se=m(Se,Be,Ee,Te,Me[2],9,-51403784),Te=m(Te,Se,Be,Ee,Me[7],14,1735328473),Be=v(Be,Ee=m(Ee,Te,Se,Be,Me[12],20,-1926607734),Te,Se,Me[5],4,-378558),Se=v(Se,Be,Ee,Te,Me[8],11,-2022574463),Te=v(Te,Se,Be,Ee,Me[11],16,1839030562),Ee=v(Ee,Te,Se,Be,Me[14],23,-35309556),Be=v(Be,Ee,Te,Se,Me[1],4,-1530992060),Se=v(Se,Be,Ee,Te,Me[4],11,1272893353),Te=v(Te,Se,Be,Ee,Me[7],16,-155497632),Ee=v(Ee,Te,Se,Be,Me[10],23,-1094730640),Be=v(Be,Ee,Te,Se,Me[13],4,681279174),Se=v(Se,Be,Ee,Te,Me[0],11,-358537222),Te=v(Te,Se,Be,Ee,Me[3],16,-722521979),Ee=v(Ee,Te,Se,Be,Me[6],23,76029189),Be=v(Be,Ee,Te,Se,Me[9],4,-640364487),Se=v(Se,Be,Ee,Te,Me[12],11,-421815835),Te=v(Te,Se,Be,Ee,Me[15],16,530742520),Be=b(Be,Ee=v(Ee,Te,Se,Be,Me[2],23,-995338651),Te,Se,Me[0],6,-198630844),Se=b(Se,Be,Ee,Te,Me[7],10,1126891415),Te=b(Te,Se,Be,Ee,Me[14],15,-1416354905),Ee=b(Ee,Te,Se,Be,Me[5],21,-57434055),Be=b(Be,Ee,Te,Se,Me[12],6,1700485571),Se=b(Se,Be,Ee,Te,Me[3],10,-1894986606),Te=b(Te,Se,Be,Ee,Me[10],15,-1051523),Ee=b(Ee,Te,Se,Be,Me[1],21,-2054922799),Be=b(Be,Ee,Te,Se,Me[8],6,1873313359),Se=b(Se,Be,Ee,Te,Me[15],10,-30611744),Te=b(Te,Se,Be,Ee,Me[6],15,-1560198380),Ee=b(Ee,Te,Se,Be,Me[13],21,1309151649),Be=b(Be,Ee,Te,Se,Me[4],6,-145523070),Se=b(Se,Be,Ee,Te,Me[11],10,-1120210379),Te=b(Te,Se,Be,Ee,Me[2],15,718787259),Ee=b(Ee,Te,Se,Be,Me[9],21,-343485551),Pe[0]=_$1(Be,Pe[0]),Pe[1]=_$1(Ee,Pe[1]),Pe[2]=_$1(Te,Pe[2]),Pe[3]=_$1(Se,Pe[3])}function p(Pe,Me,Be,Ee,Te,Se){return Me=_$1(_$1(Me,Pe),_$1(Ee,Se)),_$1(Me<<Te|Me>>>32-Te,Be)}function g(Pe,Me,Be,Ee,Te,Se,je){return p(Me&Be|~Me&Ee,Pe,Me,Te,Se,je)}function m(Pe,Me,Be,Ee,Te,Se,je){return p(Me&Ee|Be&~Ee,Pe,Me,Te,Se,je)}function v(Pe,Me,Be,Ee,Te,Se,je){return p(Me^Be^Ee,Pe,Me,Te,Se,je)}function b(Pe,Me,Be,Ee,Te,Se,je){return p(Be^(Me|~Ee),Pe,Me,Te,Se,je)}function y(Pe){var Me,Be=Pe.length,Ee=[1732584193,-271733879,-1732584194,271733878];for(Me=64;Me<=Pe.length;Me+=64)d(Ee,w(Pe.substring(Me-64,Me)));Pe=Pe.substring(Me-64);var Te=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Me=0;Me<Pe.length;Me++)Te[Me>>2]|=Pe.charCodeAt(Me)<<(Me%4<<3);if(Te[Me>>2]|=128<<(Me%4<<3),Me>55)for(d(Ee,Te),Me=0;Me<16;Me++)Te[Me]=0;return Te[14]=8*Be,d(Ee,Te),Ee}function w(Pe){var Me,Be=[];for(Me=0;Me<64;Me+=4)Be[Me>>2]=Pe.charCodeAt(Me)+(Pe.charCodeAt(Me+1)<<8)+(Pe.charCodeAt(Me+2)<<16)+(Pe.charCodeAt(Me+3)<<24);return Be}u=n.atob.bind(n),h=n.btoa.bind(n);var N="0123456789abcdef".split("");function L(Pe){for(var Me="",Be=0;Be<4;Be++)Me+=N[Pe>>8*Be+4&15]+N[Pe>>8*Be&15];return Me}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 Me=0;Me<Pe.length;Me++)Pe[Me]=L(Pe[Me]);return Pe.join("")})(y("hello"))!="5d41402abc4b2a76b9719d911017c592";function _$1(Pe,Me){if(S){var Be=(65535&Pe)+(65535&Me);return(Pe>>16)+(Me>>16)+(Be>>16)<<16|65535&Be}return Pe+Me&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,Me){var Be,Ee,Te,Se;if(Pe!==Be){for(var je=(Te=Pe,Se=1+(256/Pe.length>>0),new Array(Se+1).join(Te)),Ue=[],ke=0;ke<256;ke++)Ue[ke]=ke;var De=0;for(ke=0;ke<256;ke++){var ze=Ue[ke];De=(De+ze+je.charCodeAt(ke))%256,Ue[ke]=Ue[De],Ue[De]=ze}Be=Pe,Ee=Ue}else Ue=Ee;var Fe=Me.length,Ie=0,_e=0,Ae="";for(ke=0;ke<Fe;ke++)_e=(_e+(ze=Ue[Ie=(Ie+1)%256]))%256,Ue[Ie]=Ue[_e],Ue[_e]=ze,je=Ue[(Ue[Ie]+Ue[_e])%256],Ae+=String.fromCharCode(Me.charCodeAt(ke)^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,Me,Be,Ee){this.v=1,this.r=2;var Te=192;Pe.forEach((function(Ue){if(k.perm!==void 0)throw new Error("Invalid permission: "+Ue);Te+=k[Ue]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var Se=(Me+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(Ee)).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 Me="",Be=Pe.length,Ee=0;Ee<Be;Ee++){var Te=Pe.charCodeAt(Ee);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?Me+="#"+("0"+Te.toString(16)).slice(-2):Me+=Pe[Ee]}return Me}function C(Pe){if(_typeof$1(Pe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Me={};this.subscribe=function(Be,Ee,Te){if(Te=Te||!1,typeof Be!="string"||typeof Ee!="function"||typeof Te!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Me.hasOwnProperty(Be)||(Me[Be]={});var Se=Math.random().toString(35);return Me[Be][Se]=[Ee,!!Te],Se},this.unsubscribe=function(Be){for(var Ee in Me)if(Me[Ee][Be])return delete Me[Ee][Be],Object.keys(Me[Ee]).length===0&&delete Me[Ee],!0;return!1},this.publish=function(Be){if(Me.hasOwnProperty(Be)){var Ee=Array.prototype.slice.call(arguments,1),Te=[];for(var Se in Me[Be]){var je=Me[Be][Se];try{je[0].apply(Pe,Ee)}catch(Ue){n.console&&a.error("jsPDF PubSub Error",Ue.message,Ue)}je[1]&&Te.push(Se)}Te.length&&Te.forEach(this.unsubscribe)}},this.getTopics=function(){return Me}}function j(Pe){if(!(this instanceof j))return new j(Pe);var Me="opacity,stroke-opacity".split(",");for(var Be in Pe)Pe.hasOwnProperty(Be)&&Me.indexOf(Be)>=0&&(this[Be]=Pe[Be]);this.id="",this.objectNumber=-1}function O(Pe,Me){this.gState=Pe,this.matrix=Me,this.id="",this.objectNumber=-1}function B(Pe,Me,Be,Ee,Te){if(!(this instanceof B))return new B(Pe,Me,Be,Ee,Te);this.type=Pe==="axial"?2:3,this.coords=Me,this.colors=Be,O.call(this,Ee,Te)}function M(Pe,Me,Be,Ee,Te){if(!(this instanceof M))return new M(Pe,Me,Be,Ee,Te);this.boundingBox=Pe,this.xStep=Me,this.yStep=Be,this.stream="",this.cloneIndex=0,O.call(this,Ee,Te)}function E(Pe){var Me,Be=typeof arguments[0]=="string"?arguments[0]:"p",Ee=arguments[1],Te=arguments[2],Se=arguments[3],je=[],Ue=1,ke=16,De="S",ze=null;_typeof$1(Pe=Pe||{})==="object"&&(Be=Pe.orientation,Ee=Pe.unit||Ee,Te=Pe.format||Te,Se=Pe.compress||Pe.compressPdf||Se,(ze=Pe.encryption||null)!==null&&(ze.userPassword=ze.userPassword||"",ze.ownerPassword=ze.ownerPassword||"",ze.userPermissions=ze.userPermissions||[]),Ue=typeof Pe.userUnit=="number"?Math.abs(Pe.userUnit):1,Pe.precision!==void 0&&(Me=Pe.precision),Pe.floatPrecision!==void 0&&(ke=Pe.floatPrecision),De=Pe.defaultPathOperation||"S"),je=Pe.filters||(Se===!0?["FlateEncode"]:je),Ee=Ee||"mm",Be=(""+(Be||"P")).toLowerCase();var Fe=Pe.putOnlyUsedFonts||!1,Ie={},_e={internal:{},__private__:{}};_e.__private__.PubSub=C;var Ae="1.3",Je=_e.__private__.getPdfVersion=function(){return Ae};_e.__private__.setPdfVersion=function(hr){Ae=hr};var ir={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
|
|||
|
|
`),us(hr,nn),Qo.publish("endTilingPattern",nn),cA.pop().restore()};var yo=_e.__private__.newObject=function(){var hr=Ys();return Fs(hr,!0),hr},Ys=_e.__private__.newObjectDeferred=function(){return Vn++,Nn[Vn]=function(){return fi},Vn},Fs=function(hr,nn){return nn=typeof nn=="boolean"&&nn,Nn[hr]=fi,nn&&Fn(hr+" 0 obj"),hr},ra=_e.__private__.newAdditionalObject=function(){var hr={objId:Ys(),content:""};return xi.push(hr),hr},Ka=Ys(),Fa=Ys(),Xo=_e.__private__.decodeColorString=function(hr){var nn=hr.split(" ");if(nn.length!==2||nn[1]!=="g"&&nn[1]!=="G")nn.length===5&&(nn[4]==="k"||nn[4]==="K")&&(nn=[(1-nn[0])*(1-nn[3]),(1-nn[1])*(1-nn[3]),(1-nn[2])*(1-nn[3]),"r"]);else{var Rn=parseFloat(nn[0]);nn=[Rn,Rn,Rn,"r"]}for(var $n="#",Ui=0;Ui<3;Ui++)$n+=("0"+Math.floor(255*parseFloat(nn[Ui])).toString(16)).slice(-2);return $n},oa=_e.__private__.encodeColorString=function(hr){var nn;typeof hr=="string"&&(hr={ch1:hr});var Rn=hr.ch1,$n=hr.ch2,Ui=hr.ch3,Di=hr.ch4,ga=hr.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Rn=="string"&&Rn.charAt(0)!=="#"){var Ja=new f(Rn);if(Ja.ok)Rn=Ja.toHex();else if(!/^\d*\.?\d*$/.test(Rn))throw new Error('Invalid color "'+Rn+'" passed to jsPDF.encodeColorString.')}if(typeof Rn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Rn)&&(Rn="#"+Rn[1]+Rn[1]+Rn[2]+Rn[2]+Rn[3]+Rn[3]),typeof Rn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Rn)){var Fo=parseInt(Rn.substr(1),16);Rn=Fo>>16&255,$n=Fo>>8&255,Ui=255&Fo}if($n===void 0||Di===void 0&&Rn===$n&&$n===Ui)if(typeof Rn=="string")nn=Rn+" "+ga[0];else switch(hr.precision){case 2:nn=Ge(Rn/255)+" "+ga[0];break;case 3:default:nn=tr(Rn/255)+" "+ga[0]}else if(Di===void 0||_typeof$1(Di)==="object"){if(Di&&!isNaN(Di.a)&&Di.a===0)return nn=["1.","1.","1.",ga[1]].join(" ");if(typeof Rn=="string")nn=[Rn,$n,Ui,ga[1]].join(" ");else switch(hr.precision){case 2:nn=[Ge(Rn/255),Ge($n/255),Ge(Ui/255),ga[1]].join(" ");break;default:case 3:nn=[tr(Rn/255),tr($n/255),tr(Ui/255),ga[1]].join(" ")}}else if(typeof Rn=="string")nn=[Rn,$n,Ui,Di,ga[2]].join(" ");else switch(hr.precision){case 2:nn=[Ge(Rn),Ge($n),Ge(Ui),Ge(Di),ga[2]].join(" ");break;case 3:default:nn=[tr(Rn),tr($n),tr(Ui),tr(Di),ga[2]].join(" ")}return nn},No=_e.__private__.getFilters=function(){return je},Ss=_e.__private__.putStream=function(hr){var nn=(hr=hr||{}).data||"",Rn=hr.filters||No(),$n=hr.alreadyAppliedFilters||[],Ui=hr.addLength1||!1,Di=nn.length,ga=hr.objectId,Ja=function(rn){return rn};if(ze!==null&&ga===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");ze!==null&&(Ja=W1.encryptor(ga,0));var Fo={};Rn===!0&&(Rn=["FlateEncode"]);var ko=hr.additionalKeyValues||[],is=(Fo=E.API.processDataByFilters!==void 0?E.API.processDataByFilters(nn,Rn):{data:nn,reverseChain:[]}).reverseChain+(Array.isArray($n)?$n.join(" "):$n.toString());if(Fo.data.length!==0&&(ko.push({key:"Length",value:Fo.data.length}),Ui===!0&&ko.push({key:"Length1",value:Di})),is.length!=0)if(is.split("/").length-1==1)ko.push({key:"Filter",value:is});else{ko.push({key:"Filter",value:"["+is+"]"});for(var gr=0;gr<ko.length;gr+=1)if(ko[gr].key==="DecodeParms"){for(var jr=[],Gr=0;Gr<Fo.reverseChain.split("/").length-1;Gr+=1)jr.push("null");jr.push(ko[gr].value),ko[gr].value="["+jr.join(" ")+"]"}}Fn("<<");for(var zr=0;zr<ko.length;zr++)Fn("/"+ko[zr].key+" "+ko[zr].value);Fn(">>"),Fo.data.length!==0&&(Fn("stream"),Fn(Ja(Fo.data)),Fn("endstream"))},Fi=_e.__private__.putPage=function(hr){var nn=hr.number,Rn=hr.data,$n=hr.objId,Ui=hr.contentsObjId;Fs($n,!0),Fn("<</Type /Page"),Fn("/Parent "+hr.rootDictionaryObjId+" 0 R"),Fn("/Resources "+hr.resourceDictionaryObjId+" 0 R"),Fn("/MediaBox ["+parseFloat(Ze(hr.mediaBox.bottomLeftX))+" "+parseFloat(Ze(hr.mediaBox.bottomLeftY))+" "+Ze(hr.mediaBox.topRightX)+" "+Ze(hr.mediaBox.topRightY)+"]"),hr.cropBox!==null&&Fn("/CropBox ["+Ze(hr.cropBox.bottomLeftX)+" "+Ze(hr.cropBox.bottomLeftY)+" "+Ze(hr.cropBox.topRightX)+" "+Ze(hr.cropBox.topRightY)+"]"),hr.bleedBox!==null&&Fn("/BleedBox ["+Ze(hr.bleedBox.bottomLeftX)+" "+Ze(hr.bleedBox.bottomLeftY)+" "+Ze(hr.bleedBox.topRightX)+" "+Ze(hr.bleedBox.topRightY)+"
|
|||
|
|
`);return xr===cr.ADVANCED&&(Di+=`
|
|||
|
|
Q`),Fs(Ui,!0),Ss({data:Di,filters:No(),objectId:Ui}),Fn("endobj"),$n},pa=_e.__private__.putPages=function(){var hr,nn,Rn=[];for(hr=1;hr<=hs;hr++)Uo[hr].objId=Ys(),Uo[hr].contentsObjId=Ys();for(hr=1;hr<=hs;hr++)Rn.push(Fi({number:hr,data:Ur[hr],objId:Uo[hr].objId,contentsObjId:Uo[hr].contentsObjId,mediaBox:Uo[hr].mediaBox,cropBox:Uo[hr].cropBox,bleedBox:Uo[hr].bleedBox,trimBox:Uo[hr].trimBox,artBox:Uo[hr].artBox,userUnit:Uo[hr].userUnit,rootDictionaryObjId:Ka,resourceDictionaryObjId:Fa}));Fs(Ka,!0),Fn("<</Type /Pages");var $n="/Kids [";for(nn=0;nn<hs;nn++)$n+=Rn[nn]+" 0 R ";Fn($n+"]"),Fn("/Count "+hs),Fn(">>"),Fn("endobj"),Qo.publish("postPutPages")},Zo=function(hr){Qo.publish("putFont",{font:hr,out:Fn,newObject:yo,putStream:Ss}),hr.isAlreadyPutted!==!0&&(hr.objectNumber=yo(),Fn("<<"),Fn("/Type /Font"),Fn("/BaseFont /"+F(hr.postScriptName)),Fn("/Subtype /Type1"),typeof hr.encoding=="string"&&Fn("/Encoding /"+hr.encoding),Fn("/FirstChar 32"),Fn("/LastChar 255"),Fn(">>"),Fn("endobj"))},Bo=function(){for(var hr in qo)qo.hasOwnProperty(hr)&&(Fe===!1||Fe===!0&&Ie.hasOwnProperty(hr))&&Zo(qo[hr])},A1=function(hr){hr.objectNumber=yo();var nn=[];nn.push({key:"Type",value:"/XObject"}),nn.push({key:"Subtype",value:"/Form"}),nn.push({key:"BBox",value:"["+[Ze(hr.x),Ze(hr.y),Ze(hr.x+hr.width),Ze(hr.y+hr.height)].join(" ")+"]"}),nn.push({key:"Matrix",value:"["+hr.matrix.toString()+"]"});var Rn=hr.pages[1].join(`
|
|||
|
|
`);Ss({data:Rn,additionalKeyValues:nn,objectId:hr.objectNumber}),Fn("endobj")},M1=function(){for(var hr in Ns)Ns.hasOwnProperty(hr)&&A1(Ns[hr])},i1=function(hr,nn){var Rn,$n=[],Ui=1/(nn-1);for(Rn=0;Rn<1;Rn+=Ui)$n.push(Rn);if($n.push(1),hr[0].offset!=0){var Di={offset:0,color:hr[0].color};hr.unshift(Di)}if(hr[hr.length-1].offset!=1){var ga={offset:1,color:hr[hr.length-1].color};hr.push(ga)}for(var Ja="",Fo=0,ko=0;ko<$n.length;ko++){for(Rn=$n[ko];Rn>hr[Fo+1].offset;)Fo++;var is=hr[Fo].offset,gr=(Rn-is)/(hr[Fo+1].offset-is),jr=hr[Fo].color,Gr=hr[Fo+1].color;Ja+=Mn(Math.round((1-gr)*jr[0]+gr*Gr[0]).toString(16))+Mn(Math.round((1-gr)*jr[1]+gr*Gr[1]).toString(16))+Mn(Math.round((1-gr)*jr[2]+gr*Gr[2]).toString(16))}return Ja.trim()},Ts=function(hr,nn){nn||(nn=21);var Rn=yo(),$n=i1(hr.colors,nn),Ui=[];Ui.push({key:"FunctionType",value:"0"}),Ui.push({key:"Domain",value:"[0.0 1.0]"}),Ui.push({key:"Size",value:"["+nn+"]"}),Ui.push({key:"BitsPerSample",value:"8"}),Ui.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ui.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ss({data:$n,additionalKeyValues:Ui,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Rn}),Fn("endobj"),hr.objectNumber=yo(),Fn("<< /ShadingType "+hr.type),Fn("/ColorSpace /DeviceRGB");var Di="/Coords ["+Ze(parseFloat(hr.coords[0]))+" "+Ze(parseFloat(hr.coords[1]))+" ";hr.type===2?Di+=Ze(parseFloat(hr.coords[2]))+" "+Ze(parseFloat(hr.coords[3])):Di+=Ze(parseFloat(hr.coords[2]))+" "+Ze(parseFloat(hr.coords[3]))+" "+Ze(parseFloat(hr.coords[4]))+" "+Ze(parseFloat(hr.coords[5])),Fn(Di+="]"),hr.matrix&&Fn("/Matrix ["+hr.matrix.toString()+"]"),Fn("/Function "+Rn+" 0 R"),Fn("/Extend [true true]"),Fn(">>"),Fn("endobj")},wA=function(hr,nn){var Rn=Ys(),$n=yo();nn.push({resourcesOid:Rn,objectOid:$n}),hr.objectNumber=$n;var Ui=[];Ui.push({key:"Type",value:"/Pattern"}),Ui.push({key:"PatternType",value:"1"}),Ui.push({key:"PaintType",value:"1"}),Ui.push({key:"TilingType",value:"1"}),Ui.push({key:"BBox",value:"["+hr.boundingBox.map(Ze).join(" ")+"]"}),Ui.push({key:"XStep",value:Ze(hr.xStep)}),Ui.push({key:"YStep",value:Ze(hr.yStep)}),Ui.push({key:"Resources",value:Rn+" 0 R"}),hr.matrix&&Ui.push({key:"Matrix",value:"["+hr.matrix.toString()+"]"}),Ss({data:hr.stream,additionalKeyValues:Ui,objectId:hr.objectNumber}),Fn("endobj")},d1=function(hr){var nn;for(nn in no)no.hasOwnProperty(nn)&&(no[nn]instanceof B?Ts(no[nn]):no[nn]instanceof M&&wA(no[nn],hr))},gA=function(hr){for(var nn in hr.objectNumber=yo(),Fn("<<"),hr)switch(nn){case"opacity":Fn("/ca "+Ge(hr[nn]));break;case"stroke-opacity":Fn("/CA "+Ge(hr[nn]))}Fn(">>"),Fn("endobj")},jc=function(){var hr;for(hr in Co)Co.hasOwnProperty(hr)&&gA(Co[hr])},Ql=function(){for(var hr in Fn("/XObject <<"),Ns)Ns.hasOwnProperty(hr)&&Ns[hr].objectNumber>=0&&Fn("/"+hr+" "+Ns[hr].objectNumber+" 0 R");Qo.publish("putXobjectDict"),Fn(">>")},LA=function(){W1.oid=yo(),Fn("<<"),Fn("/Filter /Standard"),Fn("/V "+W1.v),Fn("/R "+W1.r),Fn("/U <"+W1.toHexString(W1.U)+">"),Fn("/O <"+W1.toHexString(W1.O)+">"),Fn("/P "+W1.P),Fn(">>"),Fn("endobj")},Uc=function(){for(var hr in Fn("/Font <<"),qo)qo.hasOwnProperty(hr)&&(Fe===!1||Fe===!0&&Ie.hasOwnProperty(hr))&&Fn("/"+hr+" "+qo[hr].objectNumber+" 0 R");Fn(">>")},kc=function(){if(Object.keys(no).length>0){for(var hr in Fn("/Shading <<"),no)no.hasOwnProperty(hr)&&no[hr]instanceof B&&no[hr].objectNumber>=0&&Fn("/"+hr+" "+no[hr].objectNumber+" 0 R");Qo.publish("putShadingPatternDict"),Fn(">>")}},RA=function(hr){if(Object.keys(no).length>0){for(var nn in Fn("/Pattern <<"),no)no.hasOwnProperty(nn)&&no[nn]instanceof _e.TilingPattern&&no[nn].objectNumber>=0&&no[nn].objectNumber<hr&&Fn("/"+nn+" "+no[nn].objectNumber+" 0 R");Qo.publish("putTilingPatternDict"),Fn(">>")}},Sl=function(){if(Object.keys(Co).length>0){var hr;for(hr in Fn("/ExtGState <<"),Co)Co.hasOwnProperty(hr)&&Co[hr].objectNumber>=0&&Fn("/"+hr+" "+Co[hr].objectNumber+" 0 R");Qo.publish("putGStateDict"),Fn(">>")}},y1=function(hr){Fs(hr.resourcesOid,!0),Fn("<<"),Fn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Uc(),kc(),RA(hr.objectOid),Sl(),Ql(),Fn(">>"),F
|
|||
|
|
`)[0].split("<")[0]+": "+$n.message;if(!n.console)throw new Error(Rn);n.console.error(Rn,$n),n.alert&&alert(Rn)}},hr.foo.bar=hr,hr.foo},h1=function(hr,nn){var Rn,$n,Ui,Di,ga,Ja,Fo,ko,is;if(Ui=(nn=nn||{}).sourceEncoding||"Unicode",ga=nn.outputEncoding,(nn.autoencode||ga)&&qo[Ya].metadata&&qo[Ya].metadata[Ui]&&qo[Ya].metadata[Ui].encoding&&(Di=qo[Ya].metadata[Ui].encoding,!ga&&qo[Ya].encoding&&(ga=qo[Ya].encoding),!ga&&Di.codePages&&(ga=Di.codePages[0]),typeof ga=="string"&&(ga=Di[ga]),ga)){for(Fo=!1,Ja=[],Rn=0,$n=hr.length;Rn<$n;Rn++)(ko=ga[hr.charCodeAt(Rn)])?Ja.push(String.fromCharCode(ko)):Ja.push(hr[Rn]),Ja[Rn].charCodeAt(0)>>8&&(Fo=!0);hr=Ja.join("")}for(Rn=hr.length;Fo===void 0&&Rn!==0;)hr.charCodeAt(Rn-1)>>8&&(Fo=!0),Rn--;if(!Fo)return hr;for(Ja=nn.noBOM?[]:[254,255],Rn=0,$n=hr.length;Rn<$n;Rn++){if((is=(ko=hr.charCodeAt(Rn))>>8)>>8)throw new Error("Character at position "+Rn+" of string '"+hr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ja.push(is),Ja.push(ko-(is<<8))}return String.fromCharCode.apply(void 0,Ja)},E1=_e.__private__.pdfEscape=_e.pdfEscape=function(hr,nn){return h1(hr,nn).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},el=_e.__private__.beginPage=function(hr){Ur[++hs]=[],Uo[hs]={objId:0,contentsObjId:0,userUnit:Number(Ue),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(hr[0]),topRightY:Number(hr[1])}},J1(hs),Pi(Ur[rr])},jl=function(hr,nn){var Rn,$n,Ui;switch(Be=nn||Be,typeof hr=="string"&&(Rn=$e(hr.toLowerCase()),Array.isArray(Rn)&&($n=Rn[0],Ui=Rn[1])),Array.isArray(hr)&&($n=hr[0]*xa,Ui=hr[1]*xa),isNaN($n)&&($n=Te[0],Ui=Te[1]),($n>14400||Ui>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),$n=Math.min(14400,$n),Ui=Math.min(14400,Ui)),Te=[$n,Ui],Be.substr(0,1)){case"l":Ui>$n&&(Te=[Ui,$n]);break;case"p":$n>Ui&&(Te=[Ui,$n])}el(Te),vc(QA),Fn(aA),$r!==0&&Fn($r+" J"),mn!==0&&Fn(mn+" j"),Qo.publish("addPage",{pageNumber:hs})},Kl=function(hr){hr>0&&hr<=hs&&(Ur.splice(hr,1),Uo.splice(hr,1),hs--,rr>hs&&(rr=hs),this.setPage(rr))},J1=function(hr){hr>0&&hr<=hs&&(rr=hr)},Jl=_e.__private__.getNumberOfPages=_e.getNumberOfPages=function(){return Ur.length-1},gl=function(hr,nn,Rn){var $n,Ui=void 0;return Rn=Rn||{},hr=hr!==void 0?hr:qo[Ya].fontName,nn=nn!==void 0?nn:qo[Ya].fontStyle,$n=hr.toLowerCase(),fa[$n]!==void 0&&fa[$n][nn]!==void 0?Ui=fa[$n][nn]:fa[hr]!==void 0&&fa[hr][nn]!==void 0?Ui=fa[hr][nn]:Rn.disableWarning===!1&&a.warn("Unable to look up font label for font '"+hr+"', '"+nn+"'. Refer to getFontList() for available fonts."),Ui||Rn.noFallback||(Ui=fa.times[nn])==null&&(Ui=fa.times.normal),Ui},Xl=_e.__private__.putInfo=function(){var hr=yo(),nn=function($n){return $n};for(var Rn in ze!==null&&(nn=W1.encryptor(hr,0)),Fn("<<"),Fn("/Producer ("+E1(nn("jsPDF "+E.version))+")"),Ti)Ti.hasOwnProperty(Rn)&&Ti[Rn]&&Fn("/"+Rn.substr(0,1).toUpperCase()+Rn.substr(1)+" ("+E1(nn(Ti[Rn]))+")");Fn("/CreationDate ("+E1(nn(Pr))+")"),Fn(">>"),Fn("endobj")},uA=_e.__private__.putCatalog=function(hr){var nn=(hr=hr||{}).rootDictionaryObjId||Ka;switch(yo(),Fn("<<"),Fn("/Type /Catalog"),Fn("/Pages "+nn+" 0 R"),ya||(ya="fullwidth"),ya){case"fullwidth":Fn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Fn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Fn("/OpenAction [3 0 R /Fit]");break;case"original":Fn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Rn=""+ya;Rn.substr(Rn.length-1)==="%"&&(ya=parseInt(ya)/100),typeof ya=="number"&&Fn("/OpenAction [3 0 R /XYZ null null "+Ge(ya)+"]")}switch(oo||(oo="continuous"),oo){case"continuous":Fn("/PageLayout /OneColumn");break;case"single":Fn("/PageLayout /SinglePage");break;case"two":case"twoleft":Fn("/PageLayout /TwoColumnLeft");break;case"tworight":Fn("/PageLayout /TwoColumnRight")}Sr&&Fn("/PageMode /"+Sr),Qo.publish("putCatalog"),Fn(">>"),Fn("endobj")},tl=_e.__private__.putTrailer=function(){Fn("trailer"),Fn("<<"),Fn("/Size "+(Vn+1)),Fn("/Root "+Vn+" 0 R"),Fn("/Info "+(Vn-1)+" 0 R"),ze!==null&&Fn("/Encrypt "+W1.
|
|||
|
|
`)},PA=_e.__private__.getBlob=function(hr){return new Blob([Sa(hr)],{type:"application/pdf"})},yA=_e.output=_e.__private__.output=K1((function(hr,nn){switch(typeof(nn=nn||{})=="string"?nn={filename:nn}:nn.filename=nn.filename||"generated.pdf",hr){case void 0:return rl();case"save":_e.save(nn.filename);break;case"arraybuffer":return Sa(rl());case"blob":return PA(rl());case"bloburi":case"bloburl":if(n.URL!==void 0&&typeof n.URL.createObjectURL=="function")return n.URL&&n.URL.createObjectURL(PA(rl()))||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 Rn="",$n=rl();try{Rn=h($n)}catch(Gr){Rn=h(unescape(encodeURIComponent($n)))}return"data:application/pdf;filename="+nn.filename+";base64,"+Rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(n)==="[object Window]"){var Ui="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Di=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';nn.pdfObjectUrl&&(Ui=nn.pdfObjectUrl,Di="");var ga='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Ui+'"'+Di+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(nn)+");<\/script></body></html>",Ja=n.open();return Ja!==null&&Ja.document.write(ga),Ja}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(n)==="[object Window]"){var Fo='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(nn.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+nn.filename+'" width="500px" height="400px" /></body></html>',ko=n.open();if(ko!==null){ko.document.write(Fo);var is=this;ko.document.documentElement.querySelector("#pdfViewer").onload=function(){ko.document.title=nn.filename,ko.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(is.output("bloburl"))}}return ko}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 gr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",nn)+'"></iframe></body></html>',jr=n.open();if(jr!==null&&(jr.document.write(gr),jr.document.title=nn.filename),jr||typeof safari=="undefined")return jr;break;case"datauri":case"dataurl":return n.document.location.href=this.output("datauristring",nn);default:return null}})),_1=function(hr){return Array.isArray(cs)===!0&&cs.indexOf(hr)>-1};switch(Ee){case"pt":xa=1;break;case"mm":xa=72/25.4;break;case"cm":xa=72/2.54;break;case"in":xa=72;break;case"px":xa=_1("px_scaling")==1?.75:96/72;break;case"pc":case"em":xa=12;break;case"ex":xa=6;break;default:if(typeof Ee!="number")throw new Error("Invalid unit: "+Ee);xa=Ee}var W1=null;He(),Ce();var Ol=function(hr){return ze!==null?W1.encryptor(hr,0):function(nn){return nn}},$l=_e.__private__.getPageInfo=_e.getPageInfo=function(hr){if(isNaN(hr)||hr%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Uo[hr].objId,pageNumber:hr,pageContext:Uo[hr]}},Vo=_e.__private__.getPageInfoByObjId=function(hr){if(isNaN(hr)||hr%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var nn in Uo)if(Uo[nn].objId===hr)break;return $l(nn)},nl=_e.__private__.getCurrentPageInfo=_e.getCurrentPageInfo=function(){return{objId:Uo[rr].objId,pageNumber:rr,pageContext:Uo[rr]}};_e.addPage=function(){return jl.apply(this,arguments),this},_e.setPage=function(){return J1.apply(this,arguments),Pi.call(this,Ur[rr]),this},_e.insertPage=function(hr){return this.addPage(),this.
|
|||
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(jr=$n.horizontalScale)!==void 0&&(Yr+=Ze(100*jr)+` Tz
|
|||
|
|
`),$n.lang;var zn=-1,Hn=$n.renderingMode!==void 0?$n.renderingMode:$n.stroke,On=zr.internal.getCurrentPageInfo().pageContext;switch(Hn){case 0:case!1:case"fill":zn=0;break;case 1:case!0:case"stroke":zn=1;break;case 2:case"fillThenStroke":zn=2;break;case 3:case"invisible":zn=3;break;case 4:case"fillAndAddForClipping":zn=4;break;case 5:case"strokeAndAddPathForClipping":zn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":zn=6;break;case 7:case"addToPathForClipping":zn=7}var qn=On.usedRenderingMode!==void 0?On.usedRenderingMode:-1;zn!==-1?Yr+=zn+` Tr
|
|||
|
|
`:qn!==-1&&(Yr+=`0 Tr
|
|||
|
|
`),zn!==-1&&(On.usedRenderingMode=zn),Fo=$n.align||"left";var pi,Ln=Na*Rr,Xn=zr.internal.pageSize.getWidth(),Yn=qo[Ya];ko=$n.charSpace||kr,is=$n.maxWidth||0,gr=Object.assign({autoencode:!0,noBOM:!0},$n.flags);var Jn=[],mi=function(Ma){return zr.getStringUnitWidth(Ma,{font:Yn,charSpace:ko,fontSize:Na,doKerning:!1})*Na/Kr};if(Object.prototype.toString.call(hr)==="[object Array]"){var Ii;ga=Vr(hr),Fo!=="left"&&(pi=ga.map(mi));var Wr,vn=0;if(Fo==="right"){nn-=pi[0],hr=[],kn=ga.length;for(var _n=0;_n<kn;_n++)_n===0?(Wr=iA(nn),Ii=TA(Rn)):(Wr=sr(vn-pi[_n]),Ii=-Ln),hr.push([ga[_n],Wr,Ii]),vn=pi[_n]}else if(Fo==="center"){nn-=pi[0]/2,hr=[],kn=ga.length;for(var Un=0;Un<kn;Un++)Un===0?(Wr=iA(nn),Ii=TA(Rn)):(Wr=sr((vn-pi[Un])/2),Ii=-Ln),hr.push([ga[Un],Wr,Ii]),vn=pi[Un]}else if(Fo==="left"){hr=[],kn=ga.length;for(var Qn=0;Qn<kn;Qn++)hr.push(ga[Qn])}else if(Fo==="justify"&&Yn.encoding==="Identity-H"){hr=[],kn=ga.length,is=is!==0?is:Xn;for(var ii=0,li=0;li<kn;li++)if(Ii=li===0?TA(Rn):-Ln,Wr=li===0?iA(nn):ii,li<kn-1){var ui=sr((is-pi[li])/(ga[li].split(" ").length-1)),wi=ga[li].split(" ");hr.push([wi[0]+" ",Wr,Ii]),ii=0;for(var Ve=1;Ve<wi.length;Ve++){var Zr=(mi(wi[Ve-1]+" "+wi[Ve])-mi(wi[Ve]))*Kr+ui;Ve==wi.length-1?hr.push([wi[Ve],Zr,0]):hr.push([wi[Ve]+" ",Zr,0]),ii-=Zr}}else hr.push([ga[li],Wr,Ii]);hr.push(["",ii,0])}else{if(Fo!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(hr=[],kn=ga.length,is=is!==0?is:Xn,li=0;li<kn;li++)Ii=li===0?TA(Rn):-Ln,Wr=li===0?iA(nn):0,li<kn-1?Jn.push(Ze(sr((is-pi[li])/(ga[li].split(" ").length-1)))):Jn.push(0),hr.push([ga[li],Wr,Ii])}}var Ai=typeof $n.R2L=="boolean"?$n.R2L:lr;Ai===!0&&(hr=bn(hr,(function(Ma,Ta,Ca){return[Ma.split("").reverse().join(""),Ta,Ca]}))),Di={text:hr,x:nn,y:Rn,options:$n,mutex:{pdfEscape:E1,activeFontKey:Ya,fonts:qo,activeFontSize:Na}},Qo.publish("postProcessText",Di),hr=Di.text,Lr=Di.mutex.isHex||!1;var Bi=qo[Ya].encoding;Bi!=="WinAnsiEncoding"&&Bi!=="StandardEncoding"||(hr=bn(hr,(function(Ma,Ta,Ca){return[en(Ma),Ta,Ca]}))),ga=Vr(hr),hr=[];for(var ki,Ei,Wi,ma=0,Ba=1,va=Array.isArray(ga[0])?Ba:ma,Aa="",Ua=function(Ma,Ta,Ca){var Er="";return Ca instanceof So?(Ca=typeof $n.angle=="number"?r1(Ca,new So(1,0,0,1,Ma,Ta)):r1(new So(1,0,0,1,Ma,Ta),Ca),xr===cr.ADVANCED&&(Ca=r1(new So(1,0,0,-1,0,0),Ca)),Er=Ca.join(" ")+` Tm
|
|||
|
|
`):Er=Ze(Ma)+" "+Ze(Ta)+` Td
|
|||
|
|
`,Er},Ea=0;Ea<ga.length;Ea++){switch(Aa="",va){case Ba:Wi=(Lr?"<":"(")+ga[Ea][0]+(Lr?">":")"),ki=parseFloat(ga[Ea][1]),Ei=parseFloat(ga[Ea][2]);break;case ma:Wi=(Lr?"<":"(")+ga[Ea]+(Lr?">":")"),ki=iA(nn),Ei=TA(Rn)}Jn!==void 0&&Jn[Ea]!==void 0&&(Aa=Jn[Ea]+` Tw
|
|||
|
|
`),Ea===0?hr.push(Aa+Ua(ki,Ei,Gr)+Wi):va===ma?hr.push(Aa+Wi):va===Ba&&hr.push(Aa+Ua(ki,Ei,Gr)+Wi)}hr=va===ma?hr.join(` Tj
|
|||
|
|
T* `):hr.join(` Tj
|
|||
|
|
`),hr+=` Tj
|
|||
|
|
`;var la=`BT
|
|||
|
|
/`;return la+=Ya+" "+Na+` Tf
|
|||
|
|
`,la+=Ze(Na*Rr)+` TL
|
|||
|
|
`,la+=ar+`
|
|||
|
|
`,la+=Yr,la+=hr,Fn(la+="ET"),Ie[Ya]=!0,zr};var hc=_e.__private__.clip=_e.clip=function(hr){return Fn(hr==="evenodd"?"W*":"W"),this};_e.clipEvenOdd=function(){return hc("evenodd")},_e.__private__.discardPath=_e.discardPath=function(){return Fn("n"),this};var _A=_e.__private__.isValidStyle=function(hr){var nn=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(hr)!==-1&&(nn=!0),nn};_e.__private__.setDefaultPathOperation=_e.setDefaultPathOperation=function(hr){return _A(hr)&&(De=hr),this};var Ul=_e.__private__.getStyle=_e.getStyle=function(hr){var nn=De;switch(hr){case"D":case"S":nn="S";break;case"F":nn="f";break;case"FD":case"DF":nn="B";break;case"f":case"f*":case"B":case"B*":nn=hr}return nn},zl=_e.close=function(){return Fn("h"),this};_e.stroke=function(){return Fn("S"),this},_e.fill=function(hr){return il("f",hr),this},_e.fillEvenOdd=function(hr){return il("f*",hr),this},_e.fillStroke=function(hr){return il("B",hr),this},_e.fillStrokeEvenOdd=function(hr){return il("B*",hr),this};var il=function(hr,nn){_typeof$1(nn)==="object"?gc(nn,hr):Fn(hr)},P1=function(hr){hr===null||xr===cr.ADVANCED&&hr===void 0||(hr=Ul(hr),Fn(hr))};function L1(hr,nn,Rn,$n,Ui){var Di=new M(nn||this.boundingBox,Rn||this.xStep,$n||this.yStep,this.gState,Ui||this.matrix);Di.stream=this.stream;var ga=hr+"$$"+this.cloneIndex+++"$$";return us(ga,Di),Di}var gc=function(hr,nn){var Rn=mo[hr.key],$n=no[Rn];if($n instanceof B)Fn("q"),Fn(Gl(nn)),$n.gState&&_e.setGState($n.gState),Fn(hr.matrix.toString()+" cm"),Fn("/"+Rn+" sh"),Fn("Q");else if($n instanceof M){var Ui=new So(1,0,0,-1,0,ns());hr.matrix&&(Ui=Ui.multiply(hr.matrix||H1),Rn=L1.call($n,hr.key,hr.boundingBox,hr.xStep,hr.yStep,Ui).id),Fn("q"),Fn("/Pattern cs"),Fn("/"+Rn+" scn"),$n.gState&&_e.setGState($n.gState),Fn(nn),Fn("Q")}},Gl=function(hr){switch(hr){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"}},Wl=_e.moveTo=function(hr,nn){return Fn(Ze(sr(hr))+" "+Ze(Ir(nn))+" m"),this},al=_e.lineTo=function(hr,nn){return Fn(Ze(sr(hr))+" "+Ze(Ir(nn))+" l"),this},xA=_e.curveTo=function(hr,nn,Rn,$n,Ui,Di){return Fn([Ze(sr(hr)),Ze(Ir(nn)),Ze(sr(Rn)),Ze(Ir($n)),Ze(sr(Ui)),Ze(Ir(Di)),"c"].join(" ")),this};_e.__private__.line=_e.line=function(hr,nn,Rn,$n,Ui){if(isNaN(hr)||isNaN(nn)||isNaN(Rn)||isNaN($n)||!_A(Ui))throw new Error("Invalid arguments passed to jsPDF.line");return xr===cr.COMPAT?this.lines([[Rn-hr,$n-nn]],hr,nn,[1,1],Ui||"S"):this.lines([[Rn-hr,$n-nn]],hr,nn,[1,1]).stroke()},_e.__private__.lines=_e.lines=function(hr,nn,Rn,$n,Ui,Di){var ga,Ja,Fo,ko,is,gr,jr,Gr,zr,rn,Yr,Lr;if(typeof hr=="number"&&(Lr=Rn,Rn=nn,nn=hr,hr=Lr),$n=$n||[1,1],Di=Di||!1,isNaN(nn)||isNaN(Rn)||!Array.isArray(hr)||!Array.isArray($n)||!_A(Ui)||typeof Di!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Wl(nn,Rn),ga=$n[0],Ja=$n[1],ko=hr.length,rn=nn,Yr=Rn,Fo=0;Fo<ko;Fo++)(is=hr[Fo]).length===2?(rn=is[0]*ga+rn,Yr=is[1]*Ja+Yr,al(rn,Yr)):(gr=is[0]*ga+rn,jr=is[1]*Ja+Yr,Gr=is[2]*ga+rn,zr=is[3]*Ja+Yr,rn=is[4]*ga+rn,Yr=is[5]*Ja+Yr,xA(gr,jr,Gr,zr,rn,Yr));return Di&&zl(),P1(Ui),this},_e.path=function(hr){for(var nn=0;nn<hr.length;nn++){var Rn=hr[nn],$n=Rn.c;switch(Rn.op){case"m":Wl($n[0],$n[1]);break;case"l":al($n[0],$n[1]);break;case"c":xA.apply(this,$n);break;case"h":zl()}}return this},_e.__private__.rect=_e.rect=function(hr,nn,Rn,$n,Ui){if(isNaN(hr)||isNaN(nn)||isNaN(Rn)||isNaN($n)||!_A(Ui))throw new Error("Invalid arguments passed to jsPDF.rect");return xr===cr.COMPAT&&($n=-$n),Fn([Ze(sr(hr)),Ze(Ir(nn)),Ze(sr(Rn)),Ze(sr($n)),"re"].join(" ")),P1(Ui),this},_e.__private__.triangle=_e.triangle=function(hr,nn,Rn,$n,Ui,Di,ga){if(isNaN(hr)||isNaN(nn)||isNaN(Rn)||isNaN($n)||isNaN(Ui)||isNaN(Di)||!_A(ga))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Rn-hr,$n-nn],[Ui-Rn,Di-$n],[hr-Ui,nn-Di]],hr,nn,[1,1],ga,!0),this},_e.__private__.roundedRect=_e.roundedRect=function(hr,nn,Rn,$n,Ui,Di,ga){if(isNaN(hr)||isNaN(nn)||isNaN(Rn)||isNaN($n)||isNaN(Ui)||isNaN(Di)||!_A(ga))throw new Error("Invalid
|
|||
|
|
`),Se}},tt=function(Pe,Me){var Be=Pe.fontSize===0?Pe.maxFontSize:Pe.fontSize,Ee={text:"",fontSize:""},Te=(Me=(Me=Me.substr(0,1)=="("?Me.substr(1):Me).substr(Me.length-1)==")"?Me.substr(0,Me.length-1):Me).split(" ");Te=Pe.multiline?Te.map((function(tr){return tr.split(`
|
|||
|
|
`)})):Te.map((function(tr){return[tr]}));var Se=Be,je=At.internal.getHeight(Pe)||0;je=je<0?-je:je;var Ue=At.internal.getWidth(Pe)||0;Ue=Ue<0?-Ue:Ue;var ke=function(tr,sr,pr){if(tr+1<Te.length){var Ir=sr+" "+Te[tr+1][0];return et(Ir,Pe,pr).width<=Ue-4}return!1};Se++;e:for(;Se>0;){Me="",Se--;var De,ze,Fe=et("3",Pe,Se).height,Ie=Pe.multiline?je-Se:(je-Fe)/2,_e=Ie+=2,Ae=0,Je=0,ir=0;if(Se<=0){Me=`(...) Tj
|
|||
|
|
`,Me+="% Width of Text: "+et(Me,Pe,Se=12).width+", FieldWidth:"+Ue+`
|
|||
|
|
`;break}for(var $e="",cr=0,xr=0;xr<Te.length;xr++)if(Te.hasOwnProperty(xr)){var Tr=!1;if(Te[xr].length!==1&&ir!==Te[xr].length-1){if((Fe+2)*(cr+2)+2>je)continue e;$e+=Te[xr][ir],Tr=!0,Je=xr,xr--}else{$e=($e+=Te[xr][ir]+" ").substr($e.length-1)==" "?$e.substr(0,$e.length-1):$e;var Mr=parseInt(xr),mr=ke(Mr,$e,Se),Ze=xr>=Te.length-1;if(mr&&!Ze){$e+=" ",ir=0;continue}if(mr||Ze){if(Ze)Je=Mr;else if(Pe.multiline&&(Fe+2)*(cr+2)+2>je)continue e}else{if(!Pe.multiline||(Fe+2)*(cr+2)+2>je)continue e;Je=Mr}}for(var xe="",er=Ae;er<=Je;er++){var Ge=Te[er];if(Pe.multiline){if(er===Je){xe+=Ge[ir]+" ",ir=(ir+1)%Ge.length;continue}if(er===Ae){xe+=Ge[Ge.length-1]+" ";continue}}xe+=Ge[0]+" "}switch(xe=xe.substr(xe.length-1)==" "?xe.substr(0,xe.length-1):xe,ze=et(xe,Pe,Se).width,Pe.textAlign){case"right":De=Ue-ze-2;break;case"center":De=(Ue-ze)/2;break;case"left":default:De=2}Me+=U(De)+" "+U(_e)+` Td
|
|||
|
|
`,Me+="("+R(xe)+`) Tj
|
|||
|
|
`,Me+=-U(De)+` 0 Td
|
|||
|
|
`,_e=-(Se+2),ze=0,Ae=Tr?Je:Je+1,cr++,$e=""}break}return Ee.text=Me,Ee.fontSize=Se,Ee},et=function(Pe,Me,Be){var Ee=Me.scope.internal.getFont(Me.fontName,Me.fontStyle),Te=Me.scope.getStringUnitWidth(Pe,{font:Ee,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be);return{height:Me.scope.getStringUnitWidth("3",{font:Ee,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,Me){var Be={type:"reference",object:Pe};Me.internal.getPageInfo(Pe.page).pageContext.annotations.find((function(Ee){return Ee.type===Be.type&&Ee.object===Be.object}))===void 0&&Me.internal.getPageInfo(Pe.page).pageContext.annotations.push(Be)},it=function(Pe,Me){for(var Be in Pe)if(Pe.hasOwnProperty(Be)){var Ee=Be,Te=Pe[Be];Me.internal.newObjectDeferredBegin(Te.objId,!0),_typeof$1(Te)==="object"&&typeof Te.putStream=="function"&&Te.putStream(),delete Pe[Ee]}},at=function(Pe,Me){if(Me.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 Ee=Be.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Te in Ee)if(Ee.hasOwnProperty(Te)){var Se=Ee[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(Ee,Te){var Se=!Ee;for(var je in Ee||(Te.internal.newObjectDeferredBegin(Te.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Te.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ee=Ee||Te.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ee.hasOwnProperty(je)){var Ue=Ee[je],ke=[],De=Ue.Rect;if(Ue.Rect&&(Ue.Rect=$(Ue.Rect,Te)),Te.internal.newObjectDeferredBegin(Ue.objId,!0),Ue.DA=At.createDefaultAppearanceStream(Ue),_typeof$1(Ue)==="object"&&typeof Ue.getKeyValueListForStream=="function"&&(ke=Ue.getKeyValueListForStream()),Ue.Rect=De,Ue.hasAppearanceStream&&!Ue.appearanceStreamContent){var ze=Q(Ue);ke.push({key:"AP",value:"<</N "+ze+">>"}),Te.internal.acroformPlugin.xForms.push(ze)}if(Ue.appearanceStreamContent){var Fe="";for(var Ie in Ue.appearanceStreamContent)if(Ue.appearanceStreamContent.hasOwnProperty(Ie)){var _e=Ue.appearanceStreamContent[Ie];if(Fe+="/"+Ie+" ",Fe+="<<",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,Ue)),Fe+="/"+je+" "+Ae+" ",Te.internal.acroformPlugin.xForms.indexOf(Ae)>=0||Te.internal.acroformPlugin.xForms.push(Ae)}}else typeof(Ae=_e)=="function"&&(Ae=Ae.call(Te,Ue)),Fe+="/"+je+" "+Ae,Te.internal.acroformPlugin.xForms.indexOf(Ae)>=0||Te.internal.acroformPlugin.xForms.push(Ae);Fe+=">>"}ke.push({key:"AP",value:`<<
|
|||
|
|
`+Fe+">>"})}Te.internal.putStream({additionalKeyValues:ke,objectId:Ue.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,Me,Be){var Ee=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)!=="/"?(Me!==void 0&&Be&&(Ee=Be.internal.getEncryptor(Me)),Te+="("+R(Ee(Pe[Se].toString()))+")"):Te+=Pe[Se].toString()}return Te+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},st=function(Pe,Me,Be){var Ee=function(Te){return Te};return Me!==void 0&&Be&&(Ee=Be.internal.getEncryptor(Me)),(Pe=Pe||"").toString(),Pe="("+R(Ee(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=[],Me=Object.getOwnPropertyNames(this).filter((function(Se){return Se!="content"&&Se!="appearanceStreamContent"&&Se!="scope"&&Se!="objId"&&Se.substring(0,1)!="_"}));for(var Be in Me)if(Object.getOwnPropertyDescriptor(this,Me[Be]).configurable===!1){var Ee=Me[Be],Te=this[Ee];Te&&(Array.isArray(Te)?Pe.push({key:Ee,value:ot(Te,this.objId,this.scope)}):Te instanceof ct?(Te.scope=this.scope,Pe.push({key:Ee,value:Te.objId+" 0 R"})):typeof Te!="function"&&Pe.push({key:Ee,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,Me=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Me},set:function(Be){Me=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,Me=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Me.length>0?Me:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Me}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Pe){var Be=function(Ee){return Ee};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 Me=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Me},set:function($e){if(isNaN($e))throw new Error('Invalid value "'+$e+'" for attribute F supplied.');Me=$e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!X(Me,3)},set:function($e){$e?this.F=K(Me,3):this.F=Z(Me,3)}});var Be=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Be},set:function($e){if(isNaN($e))throw new Error('Invalid value "'+$e+'" for attribute Ff supplied.');Be=$e}});var Ee=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Ee.length!==0)return Ee},set:function($e){Ee=$e!==void 0?$e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Ee||isNaN(Ee[0])?0:Ee[0]},set:function($e){Ee[0]=$e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(
|
|||
|
|
`)}},set:function(Be){_typeof$1(Be)==="object"&&(Me=Be)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Me.CA||""},set:function(Be){typeof Be=="string"&&(Me.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(Me){Pe=Me!==void 0?Me:[]}})};H(bt,mt);var yt=function(){var Pe,Me;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 Me},set:function(Te){Me=Te}});var Be,Ee={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Te=function(Ue){return Ue};this.scope&&(Te=this.scope.internal.getEncryptor(this.objId));var Se,je=[];for(Se in je.push("<<"),Ee)je.push("/"+Se+" ("+R(Te(Ee[Se]))+")");return je.push(">>"),je.join(`
|
|||
|
|
`)},set:function(Te){_typeof$1(Te)==="object"&&(Ee=Te)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ee.CA||""},set:function(Te){typeof Te=="string"&&(Ee.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 Me in this.Kids)if(this.Kids.hasOwnProperty(Me)){var Be=this.Kids[Me];Be.appearanceStreamContent=Pe.createAppearanceStream(Be.optionName),Be.caption=Pe.getCA()}},bt.prototype.createOption=function(Pe){var Me=new yt;return Me.Parent=this,Me.optionName=Pe,this.Kids.push(Me),xt.call(this.scope,Me),Me};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(Me){Me?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(Me){Me?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(Me){Me?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(Me){Me?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(Me){Me?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(Me){Me?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(Me){Pe=Me}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Pe},set:function(Me){Number.isInteger(Me)&&(Pe=Me)}}),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 Me=V(Pe);Me.scope=Pe.scope;var Be=[],Ee=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("/"+Ee+" "+U(Se.fontSize)+" Tf "+Te),Be.push("BT"),Be.push(Se.text),Be.push("ET"),Be.push("Q"),Be.push("EMC"),Me.stream=Be.join(`
|
|||
|
|
`),Me},YesNormal:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle).id,Ee=Pe.scope.__private__.encodeColorString(Pe.color),Te=[],Se=At.internal.getHeight(Pe),je=At.internal.getWidth(Pe),Ue=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(Ue.fontSize)+" Tf "+Ee),Te.push(Ue.text),Te.push("ET"),Te.push("Q"),Me.stream=Te.join(`
|
|||
|
|
`),Me},OffPushDown:function(Pe){var Me=V(Pe);Me.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"),Me.stream=Be.join(`
|
|||
|
|
`),Me}},RadioButton:{Circle:{createAppearanceStream:function(Pe){var Me={D:{Off:At.RadioButton.Circle.OffPushDown},N:{}};return Me.N[Pe]=At.RadioButton.Circle.YesNormal,Me.D[Pe]=At.RadioButton.Circle.YesPushDown,Me},getCA:function(){return"l"},YesNormal:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=[],Ee=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Ee=Number((.9*Ee).toFixed(5));var Te=At.internal.Bezier_C,Se=Number((Ee*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(Ee+" 0 m"),Be.push(Ee+" "+Se+" "+Se+" "+Ee+" 0 "+Ee+" c"),Be.push("-"+Se+" "+Ee+" -"+Ee+" "+Se+" -"+Ee+" 0 c"),Be.push("-"+Ee+" -"+Se+" -"+Se+" -"+Ee+" 0 -"+Ee+" c"),Be.push(Se+" -"+Ee+" "+Ee+" -"+Se+" "+Ee+" 0 c"),Be.push("f"),Be.push("Q"),Me.stream=Be.join(`
|
|||
|
|
`),Me},YesPushDown:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=[],Ee=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Ee=Number((.9*Ee).toFixed(5));var Te=Number((2*Ee).toFixed(5)),Se=Number((Te*At.internal.Bezier_C).toFixed(5)),je=Number((Ee*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(Ee+" 0 m"),Be.push(Ee+" "+je+" "+je+" "+Ee+" 0 "+Ee+" c"),Be.push("-"+je+" "+Ee+" -"+Ee+" "+je+" -"+Ee+" 0 c"),Be.push("-"+Ee+" -"+je+" -"+je+" -"+Ee+" 0 -"+Ee+" c"),Be.push(je+" -"+Ee+" "+Ee+" -"+je+" "+Ee+" 0 c"),Be.push("f"),Be.push("Q"),Me.stream=Be.join(`
|
|||
|
|
`),Me},OffPushDown:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=[],Ee=At.internal.getWidth(Pe)<=At.internal.getHeight(Pe)?At.internal.getWidth(Pe)/4:At.internal.getHeight(Pe)/4;Ee=Number((.9*Ee).toFixed(5));var Te=Number((2*Ee).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"),Me.stream=Be.join(`
|
|||
|
|
`),Me}},Cross:{createAppearanceStream:function(Pe){var Me={D:{Off:At.RadioButton.Cross.OffPushDown},N:{}};return Me.N[Pe]=At.RadioButton.Cross.YesNormal,Me.D[Pe]=At.RadioButton.Cross.YesPushDown,Me},getCA:function(){return"8"},YesNormal:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=[],Ee=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(Ee.x1.x)+" "+U(Ee.x1.y)+" m"),Be.push(U(Ee.x2.x)+" "+U(Ee.x2.y)+" l"),Be.push(U(Ee.x4.x)+" "+U(Ee.x4.y)+" m"),Be.push(U(Ee.x3.x)+" "+U(Ee.x3.y)+" l"),Be.push("s"),Be.push("Q"),Me.stream=Be.join(`
|
|||
|
|
`),Me},YesPushDown:function(Pe){var Me=V(Pe);Me.scope=Pe.scope;var Be=At.internal.calculateCross(Pe),Ee=[];return Ee.push("0.749023 g"),Ee.push("0 0 "+U(At.internal.getWidth(Pe))+" "+U(At.internal.getHeight(Pe))+" re"),Ee.push("f"),Ee.push("q"),Ee.push("1 1 "+U(At.internal.getWidth(Pe)-2)+" "+U(At.internal.getHeight(Pe)-2)+" re"),Ee.push("W"),Ee.push("n"),Ee.push(U(Be.x1.x)+" "+U(Be.x1.y)+" m"),Ee.push(U(Be.x2.x)+" "+U(Be.x2.y)+" l"),Ee.push(U(Be.x4.x)+" "+U(Be.x4.y)+" m"),Ee.push(U(Be.x3.x)+" "+U(Be.x3.y)+" l"),Ee.push("s"),Ee.push("Q"),Me.stream=Ee.join(`
|
|||
|
|
`),Me},OffPushDown:function(Pe){var Me=V(Pe);Me.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"),Me.stream=Be.join(`
|
|||
|
|
`),Me}}},createDefaultAppearanceStream:function(Pe){var Me=Pe.scope.internal.getFont(Pe.fontName,Pe.fontStyle).id,Be=Pe.scope.__private__.encodeColorString(Pe.color);return"/"+Me+" "+Pe.fontSize+" Tf "+Be}};At.internal={Bezier_C:.551915024494,calculateCross:function(Pe){var Me=At.internal.getWidth(Pe),Be=At.internal.getHeight(Pe),Ee=Math.min(Me,Be);return{x1:{x:(Me-Ee)/2,y:(Be-Ee)/2+Ee},x2:{x:(Me-Ee)/2+Ee,y:(Be-Ee)/2},x3:{x:(Me-Ee)/2,y:(Be-Ee)/2},x4:{x:(Me-Ee)/2+Ee,y:(Be-Ee)/2+Ee}}}},At.internal.getWidth=function(Pe){var Me=0;return _typeof$1(Pe)==="object"&&(Me=W(Pe.Rect[2])),Me},At.internal.getHeight=function(Pe){var Me=0;return _typeof$1(Pe)==="object"&&(Me=W(Pe.Rect[3])),Me};var xt=q.addField=function(Pe){if(at(this,Pe),!(Pe instanceof lt))throw new Error("Invalid argument passed to jsPDF.addField.");var Me;return(Me=Pe).scope.internal.acroformPlugin.printedOut&&(Me.scope.internal.acroformPlugin.printedOut=!1,Me.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Me.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Me),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(Me,Be,Ee){return Me[Be]=Ee,Me}),{})}(function(Pe){Pe.__addimage__={};var Me="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]]},Ee=Pe.__addimage__.getImageFileTypeByImageData=function(tr,sr){var pr,Ir,Pr,dr,wr,Ce=Me;if((sr=sr||Me)==="RGBA"||tr.data!==void 0&&tr.data instanceof Uint8ClampedArray&&"height"in tr&&"width"in tr)return"RGBA";if(mr(tr))for(wr in Be)for(Pr=Be[wr],pr=0;pr<Pr.length;pr+=1){for(dr=!0,Ir=0;Ir<Pr[pr].length;Ir+=1)if(Pr[pr][Ir]!==void 0&&Pr[pr][Ir]!==tr[Ir]){dr=!1;break}if(dr===!0){Ce=wr;break}}else for(wr in Be)for(Pr=Be[wr],pr=0;pr<Pr.length;pr+=1){for(dr=!0,Ir=0;Ir<Pr[pr].length;Ir+=1)if(Pr[pr][Ir]!==void 0&&Pr[pr][Ir]!==tr.charCodeAt(Ir)){dr=!1;break}if(dr===!0){Ce=wr;break}}return Ce===Me&&sr!==Me&&(Ce=sr),Ce},Te=function tr(sr){for(var pr=this.internal.write,Ir=this.internal.putStream,Pr=(0,this.internal.getFilters)();Pr.indexOf("FlateEncode")!==-1;)Pr.splice(Pr.indexOf("FlateEncode"),1);sr.objectId=this.internal.newObject();var dr=[];if(dr.push({key:"Type",value:"/XObject"}),dr.push({key:"Subtype",value:"/Image"}),dr.push({key:"Width",value:sr.width}),dr.push({key:"Height",value:sr.height}),sr.colorSpace===ir.INDEXED?dr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(sr.palette.length/3-1)+" "+("sMask"in sr&&sr.sMask!==void 0?sr.objectId+2:sr.objectId+1)+" 0 R]"}):(dr.push({key:"ColorSpace",value:"/"+sr.colorSpace}),sr.colorSpace===ir.DEVICE_CMYK&&dr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),dr.push({key:"BitsPerComponent",value:sr.bitsPerComponent}),"decodeParameters"in sr&&sr.decodeParameters!==void 0&&dr.push({key:"DecodeParms",value:"<<"+sr.decodeParameters+">>"}),"transparency"in sr&&Array.isArray(sr.transparency)){for(var wr="",Ce=0,vr=sr.transparency.length;Ce<vr;Ce++)wr+=sr.transparency[Ce]+" "+sr.transparency[Ce]+" ";dr.push({key:"Mask",value:"["+wr+"]"})}sr.sMask!==void 0&&dr.push({key:"SMask",value:sr.objectId+1+" 0 R"});var qr=sr.filter!==void 0?["/"+sr.filter]:void 0;if(Ir({data:sr.data,addi
|
|||
|
|
`},Be.outline.makeRef=function(Ee){return Ee.id+" 0 R"},Be.outline.makeString=function(Ee){return"("+Be.internal.pdfEscape(Ee)+")"},Be.outline.objStart=function(Ee){this.ctx.val+=`\r
|
|||
|
|
`+Ee.id+` 0 obj\r
|
|||
|
|
<<\r
|
|||
|
|
`},Be.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|||
|
|
endobj\r
|
|||
|
|
`},Be.outline.count_r=function(Ee,Te){for(var Se=0;Se<Te.children.length;Se++)Ee.count++,this.count_r(Ee,Te.children[Se]);return Ee.count}}])})(E.API),(function(Pe){var Me=[192,193,194,195,196,197,198,199];Pe.processJPEG=function(Be,Ee,Te,Se,je,Ue){var ke,De=this.decode.DCT_DECODE,ze=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,(ke=(function(Fe){for(var Ie,_e=256*Fe.charCodeAt(4)+Fe.charCodeAt(5),Ae=Fe.length,Je={width:0,height:0,numcomponents:1},ir=4;ir<Ae;ir+=2){if(ir+=_e,Me.indexOf(Fe.charCodeAt(ir+1))!==-1){Ie=256*Fe.charCodeAt(ir+5)+Fe.charCodeAt(ir+6),Je={width:256*Fe.charCodeAt(ir+7)+Fe.charCodeAt(ir+8),height:Ie,numcomponents:Fe.charCodeAt(ir+9)};break}_e=256*Fe.charCodeAt(ir+2)+Fe.charCodeAt(ir+3)}return Je})(Be=this.__addimage__.isArrayBufferView(Be)?this.__addimage__.arrayBufferToBinaryString(Be):Be)).numcomponents){case 1:Ue=this.color_spaces.DEVICE_GRAY;break;case 4:Ue=this.color_spaces.DEVICE_CMYK;break;case 3:Ue=this.color_spaces.DEVICE_RGB}ze={data:Be,width:ke.width,height:ke.height,colorSpace:Ue,bitsPerComponent:8,filter:De,index:Ee,alias:Te}}return ze}})(E.API);var Vt,Gt,Yt,Jt,Xt,Kt=(function(){var Pe,Me,Be;function Ee(Se){var je,Ue,ke,De,ze,Fe,Ie,_e,Ae,Je,ir,$e,cr,xr;for(this.data=Se,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Fe=null;;){switch(je=this.readUInt32(),Ae=function(){var Tr,Mr;for(Mr=[],Tr=0;Tr<4;++Tr)Mr.push(String.fromCharCode(this.data[this.pos++]));return Mr}.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":Fe&&this.animation.frames.push(Fe),this.pos+=4,Fe={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ze=this.readUInt16(),De=this.readUInt16()||100,Fe.delay=1e3*ze/De,Fe.disposeOp=this.data[this.pos++],Fe.blendOp=this.data[this.pos++],Fe.data=[];break;case"IDAT":case"fdAT":for(Ae==="fdAT"&&(this.pos+=4,je-=4),Se=(Fe!=null?Fe.data:void 0)||this.imgData,$e=0;0<=je?$e<je:$e>je;0<=je?++$e:--$e)Se.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ke=this.palette.length/3,this.transparency.indexed=this.read(je),this.transparency.indexed.length>ke)throw new Error("More transparent colors than palette size");if((Je=ke-this.transparency.indexed.length)>0)for(cr=0;0<=Je?cr<Je:cr>Je;0<=Je?++cr:--cr)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=(ir=this.read(je)).indexOf(0),_e=String.fromCharCode.apply(String,ir.slice(0,Ie)),this.text[_e]=String.fromCharCode.apply(String,ir.slice(Ie+1));break;case"IEND":return Fe&&this.animation.frames.push(Fe),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(xr=this.colorType)===4||xr===6,Ue=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ue,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")}}Ee.prototype.read=function(Se){var je,Ue;for(Ue=[],je=0;0<=Se?je<Se:je>Se;0<=Se?++je:--je)Ue.push(this.data[this.pos++]);return Ue},Ee.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Ee.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 Me=0;if(Pe[Me++]!==71||Pe[Me++]!==73||Pe[Me++]!==70||Pe[Me++]!==56||(Pe[Me++]+1&253)!=56||Pe[Me++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Be=Pe[Me++]|Pe[Me++]<<8,Ee=Pe[Me++]|Pe[Me++]<<8,Te=Pe[Me++],Se=Te>>7,je=1<<(7&Te)+1;Pe[Me++],Pe[Me++];var Ue=null,ke=null;Se&&(Ue=Me,ke=je,Me+=3*je);var De=!0,ze=[],Fe=0,Ie=null,_e=0,Ae=null;for(this.width=Be,this.height=Ee;De&&Me<Pe.length;)switch(Pe[Me++]){case 33:switch(Pe[Me++]){case 255:if(Pe[Me]!==11||Pe[Me+1]==78&&Pe[Me+2]==69&&Pe[Me+3]==84&&Pe[Me+4]==83&&Pe[Me+5]==67&&Pe[Me+6]==65&&Pe[Me+7]==80&&Pe[Me+8]==69&&Pe[Me+9]==50&&Pe[Me+10]==46&&Pe[Me+11]==48&&Pe[Me+12]==3&&Pe[Me+13]==1&&Pe[Me+16]==0)Me+=14,Ae=Pe[Me++]|Pe[Me++]<<8,Me++;else for(Me+=12;;){if(!((tr=Pe[Me++])>=0))throw Error("Invalid block size");if(tr===0)break;Me+=tr}break;case 249:if(Pe[Me++]!==4||Pe[Me+4]!==0)throw new Error("Invalid graphics extension block.");var Je=Pe[Me++];Fe=Pe[Me++]|Pe[Me++]<<8,Ie=Pe[Me++],(1&Je)==0&&(Ie=null),_e=Je>>2&7,Me++;break;case 254:for(;;){if(!((tr=Pe[Me++])>=0))throw Error("Invalid block size");if(tr===0)break;Me+=tr}break;default:throw new Error("Unknown graphic control label: 0x"+Pe[Me-1].toString(16))}break;case 44:var ir=Pe[Me++]|Pe[Me++]<<8,$e=Pe[Me++]|Pe[Me++]<<8,cr=Pe[Me++]|Pe[Me++]<<8,xr=Pe[Me++]|Pe[Me++]<<8,Tr=Pe[Me++],Mr=Tr>>6&1,mr=1<<(7&Tr)+1,Ze=Ue,xe=ke,er=!1;Tr>>7&&(er=!0,Ze=Me,xe=mr,Me+=3*mr);var Ge=Me;for(Me++;;){var tr;if(!((tr=Pe[Me++])>=0))throw Error("Invalid block size");if(tr===0)break;Me+=tr}ze.push({x:ir,y:$e,width:cr,height:xr,has_local_palette:er,palette_offset:Ze,palette_size:xe,data_offset:Ge,data_length:Me-Ge,transparent_index:Ie,interlaced:!!Mr,delay:Fe,disposal:_e});break;case 59:De=!1;break;default:throw new Error("Unknown gif block: 0x"+Pe[Me-1].toString(16))}this.numFrames=function(){return ze.length},this.loopCount=function(){return Ae},this.frameInfo=function(sr){if(sr<0||sr>=ze.length)throw new Error("Frame index out of range.");return ze[sr]},this.decodeAndBlitFrameBGRA=function(sr,pr){var Ir=this.frameInfo(sr),Pr=Ir.width*Ir.height,dr=new Uint8Array(Pr);$t(Pe,Ir.data_offset,dr,Pr);var wr=Ir.palette_offset,Ce=Ir.transparent_index;Ce===null&&(Ce=256);var vr=Ir.width,qr=Be-vr,He=vr,Oe=4*(Ir.y*Be+Ir.x),rr=4*((Ir.y+Ir.height)*Be+Ir.x),xn=Oe,Mn=4*qr;Ir.interlaced===!0&&(Mn+=4*Be*7);for(var Vn=8,Nn=0,tn=dr.length;Nn<tn;++Nn){var fi=dr[Nn];if(He===0&&(He=vr,(xn+=Mn)>=rr&&(Mn=4*qr+4*Be*(Vn-1),xn=Oe+(vr+qr)*(Vn<<1),Vn>>=1)),fi===Ce)xn+=4;else{var xi=Pe[wr+3*fi],Ur=Pe[wr+3*fi+1],di=Pe[wr+3*fi+2];pr[xn++]=di,pr[xn++]=Ur,pr[xn++]=xi,pr[xn++]=255}--He}},this.decodeAndBlitFrameRGBA=function(sr,pr){var Ir=this.frameInfo(sr),Pr=Ir.width*Ir.height,dr=new Uint8Array(Pr);$t(Pe,Ir.data_offset,dr,Pr);var wr=Ir.palette_offset,Ce=Ir.transparent_index;Ce===null&&(Ce=256);var vr=Ir.width,qr=Be-vr,He=vr,Oe=4*(Ir.y*Be+Ir.x),rr=4*((Ir.y+Ir.height)*Be+Ir.x),xn=Oe,Mn=4*qr;Ir.interlaced===!0&&(Mn+=4*Be*7);for(var Vn=8,Nn=0,tn=dr.length;Nn<tn;++Nn){var fi=dr[Nn];if(He===0&&(He=vr,(xn+=Mn)>=rr&&(Mn=4*qr+4*Be*(Vn-1),xn=Oe+(vr+qr)*(Vn<<1),Vn>>=1)),fi===Ce)xn+=4;else{var xi=Pe[wr+3*fi],Ur=Pe[wr+3*fi+1],di=Pe[wr+3*fi+2];pr[xn++]=xi,pr[xn++]=Ur,pr[xn++]=di,pr[xn++]=255}--He}}}function $t(Pe,Me,Be,Ee){for(var Te=Pe[Me++],Se=1<<Te,je=Se+1,Ue=je+1,ke=Te+1,De=(1<<ke)-1,ze=0,Fe=0,Ie=0,_e=Pe[Me++],Ae=new Int32Array(4096),Je=null;;){for(;ze<16&&_e!==0;)Fe|=Pe[Me++]<<ze,ze+=8,_e===1?_e=Pe[Me++]:--_e;if(ze<ke)break;var ir=Fe&De;if(Fe>>=ke,ze-=ke,ir!==Se){if(ir===je)break;for(var $e=ir<Ue?ir:Je,cr=0,xr=$e;xr>Se;)xr=Ae[xr]>>8,++cr;var Tr=xr;if(Ie+cr+($e!==ir?1:0)>Ee)return void a.log("Warning, gif stream longer than expected.");Be[Ie++]=Tr;var Mr=Ie+=cr;for($e!==ir&&(Be[Ie++]=Tr),xr=$e;cr--;)xr=Ae[xr],Be[--Mr]=255&xr,xr>>=8;Je!==null&&Ue<4096&&(Ae[Ue++]=Je<<8|Tr,Ue>=De+1&&ke<12&&(++ke,De=De<<1|1)),Je=ir}else Ue=je+1,De=(1<<(ke=Te+1))-1,Je=null}return Ie!==Ee&&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 Me,Be,Ee,Te,Se,je=Math.floor,Ue=new Array(64),ke=new Array(64),De=new Array(64),ze=new Array(64),Fe=new Array(65535),Ie=new Array(65535),_e=new Array(64),Ae=new Array(64),Je=[],ir=0,$e=7,cr=new Array(64),xr=new Array(64),Tr=new Array(64),Mr=new Array(256),mr=new Array(2048),Ze=[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],xe=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],Ge=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tr=[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],sr=[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],Ir=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Pr=[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 dr(Oe,rr){for(var xn=0,Mn=0,Vn=new Array,Nn=1;Nn<=16;Nn++){for(var tn=1;tn<=Oe[Nn];tn++)Vn[rr[Mn]]=[],Vn[rr[Mn]][0]=xn,Vn[rr[Mn]][1]=Nn,Mn++,xn++;xn*=2}return Vn}function wr(Oe){for(var rr=Oe[0],xn=Oe[1]-1;xn>=0;)rr&1<<xn&&(ir|=1<<$e),xn--,--$e<0&&(ir==255?(Ce(255),Ce(0)):Ce(ir),$e=7,ir=0)}function Ce(Oe){Je.push(Oe)}function vr(Oe){Ce(Oe>>8&255),Ce(255&Oe)}function qr(Oe,rr,xn,Mn,Vn){for(var Nn,tn=Vn[0],fi=Vn[240],xi=(function(na,Na){var ya,_a,lr,Sr,ha,oo,Qa,xs,Ti,Ya,xa=0;for(Ti=0;Ti<8;++Ti){ya=na[xa],_a=na[xa+1],lr=na[xa+2],Sr=na[xa+3],ha=na[xa+4],oo=na[xa+5],Qa=na[xa+6];var Za=ya+(xs=na[xa+7]),ka=ya-xs,Ro=_a+Qa,qo=_a-Qa,fa=lr+oo,fo=lr-oo,no=Sr+ha,mo=Sr-ha,Co=Za+no,os=Za-no,Ps=Ro+fa,hs=Ro-fa;na[xa]=Co+Ps,na[xa+4]=Co-Ps;var Uo=.707106781*(hs+os);na[xa+2]=os+Uo,na[xa+6]=os-Uo;var Qo=.382683433*((Co=mo+fo)-(hs=qo+ka)),cs=.5411961*Co+Qo,Ns=1.306562965*hs+Qo,Y1=.707106781*(Ps=fo+qo),cA=ka+Y1,So=ka-Y1;na[xa+5]=So+cs,na[xa+3]=So-cs,na[xa+1]=cA+Ns,na[xa+7]=cA-Ns,xa+=8}for(xa=0,Ti=0;Ti<8;++Ti){ya=na[xa],_a=na[xa+8],lr=na[xa+16],Sr=na[xa+24],ha=na[xa+32],oo=na[xa+40],Qa=na[xa+48];var r1=ya+(xs=na[xa+56]),H1=ya-xs,us=_a+Qa,yo=_a-Qa,Ys=lr+oo,Fs=lr-oo,ra=Sr+ha,Ka=Sr-ha,Fa=r1+ra,Xo=r1-ra,oa=us+Ys,No=us-Ys;na[xa]=Fa+oa,na[xa+32]=Fa-oa;var Ss=.707106781*(No+Xo);na[xa+16]=Xo+Ss,na[xa+48]=Xo-Ss;var Fi=.382683433*((Fa=Ka+Fs)-(No=yo+H1)),pa=.5411961*Fa+Fi,Zo=1.306562965*No+Fi,Bo=.707106781*(oa=Fs+yo),A1=H1+Bo,M1=H1-Bo;na[xa+40]=M1+pa,na[xa+24]=M1-pa,na[xa+8]=A1+Zo,na[xa+56]=A1-Zo,xa++}for(Ti=0;Ti<64;++Ti)Ya=na[Ti]*Na[Ti],_e[Ti]=Ya>0?Ya+.5|0:Ya-.5|0;return _e})(Oe,rr),Ur=0;Ur<64;++Ur)Ae[Ze[Ur]]=xi[Ur];var di=Ae[0]-xn;xn=Ae[0],di==0?wr(Mn[0]):(wr(Mn[Ie[Nn=32767+di]]),wr(Fe[Nn]));for(var gn=63;gn>0&&Ae[gn]==0;)gn--;if(gn==0)return wr(tn),xn;for(var si,Pi=1;Pi<=gn;){for(var Fn=Pi;Ae[Pi]==0&&Pi<=gn;)++Pi;var Xa=Pi-Fn;if(Xa>=16){si=Xa>>4;for(var Sa=1;Sa<=si;++Sa)wr(fi);Xa&=15}Nn=32767+Ae[Pi],wr(Vn[(Xa<<4)+Ie[Nn]]),wr(Fe[Nn]),Pi++}return gn!=63&&wr(tn),xn}function He(Oe){Oe=Math.min(Math.max(Oe,1),100),Se!=Oe&&((function(rr){for(var xn=[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,Me){if(this.pos=0,this.buffer=Pe,this.datav=new DataView(Pe.buffer),this.is_with_alpha=!!Me,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 Me(xe){if(!xe)throw Error("assert :P")}function Be(xe,er,Ge){for(var tr=0;4>tr;tr++)if(xe[er+tr]!=Ge.charCodeAt(tr))return!0;return!1}function Ee(xe,er,Ge,tr,sr){for(var pr=0;pr<sr;pr++)xe[er+pr]=Ge[tr+pr]}function Te(xe,er,Ge,tr){for(var sr=0;sr<tr;sr++)xe[er+sr]=Ge}function Se(xe){return new Int32Array(xe)}function je(xe,er){for(var Ge=[],tr=0;tr<xe;tr++)Ge.push(new er);return Ge}function Ue(xe,er){var Ge=[];return(function tr(sr,pr,Ir){for(var Pr=Ir[pr],dr=0;dr<Pr&&(sr.push(Ir.length>pr+1?[]:new er),!(Ir.length<pr+1));dr++)tr(sr[dr],pr+1,Ir)})(Ge,0,xe),Ge}var ke=function(){var xe=this;function er(Qe,nr){for(var br=1<<nr-1>>>0;Qe&br;)br>>>=1;return br?(Qe&br-1)+br:Qe}function Ge(Qe,nr,br,Fr,Xr){Me(!(Fr%br));do Qe[nr+(Fr-=br)]=Xr;while(0<Fr)}function tr(Qe,nr,br,Fr,Xr){if(Me(2328>=Xr),512>=Xr)var An=Se(512);else if((An=Se(Xr))==null)return 0;return(function(ln,an,In,En,ti,Ci){var _i,bi,qi=an,Gi=1<<In,ci=Se(16),vi=Se(16);for(Me(ti!=0),Me(En!=null),Me(ln!=null),Me(0<In),bi=0;bi<ti;++bi){if(15<En[bi])return 0;++ci[En[bi]]}if(ci[0]==ti)return 0;for(vi[1]=0,_i=1;15>_i;++_i){if(ci[_i]>1<<_i)return 0;vi[_i+1]=vi[_i]+ci[_i]}for(bi=0;bi<ti;++bi)_i=En[bi],0<En[bi]&&(Ci[vi[_i]++]=bi);if(vi[15]==1)return(En=new sr).g=0,En.value=Ci[0],Ge(ln,qi,1,Gi,En),Gi;var Xi,ba=-1,$i=Gi-1,Wa=0,Da=1,_o=1,Ra=1<<In;for(bi=0,_i=1,ti=2;_i<=In;++_i,ti<<=1){if(Da+=_o<<=1,0>(_o-=ci[_i]))return 0;for(;0<ci[_i];--ci[_i])(En=new sr).g=_i,En.value=Ci[bi++],Ge(ln,qi+Wa,ti,Ra,En),Wa=er(Wa,_i)}for(_i=In+1,ti=2;15>=_i;++_i,ti<<=1){if(Da+=_o<<=1,0>(_o-=ci[_i]))return 0;for(;0<ci[_i];--ci[_i]){if(En=new sr,(Wa&$i)!=ba){for(qi+=Ra,Xi=1<<(ba=_i)-In;15>ba&&!(0>=(Xi-=ci[ba]));)++ba,Xi<<=1;Gi+=Ra=1<<(Xi=ba-In),ln[an+(ba=Wa&$i)].g=Xi+In,ln[an+ba].value=qi-an-ba}En.g=_i-In,En.value=Ci[bi++],Ge(ln,qi+(Wa>>In),ti,Ra,En),Wa=er(Wa,_i)}}return Da!=2*vi[15]-1?0:Gi})(Qe,nr,br,Fr,Xr,An)}function sr(){this.value=this.g=0}function pr(){this.value=this.g=0}function Ir(){this.G=je(5,sr),this.H=Se(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=je(kn,pr)}function Pr(Qe,nr,br,Fr){Me(Qe!=null),Me(nr!=null),Me(2147483648>Fr),Qe.Ca=254,Qe.I=0,Qe.b=-8,Qe.Ka=0,Qe.oa=nr,Qe.pa=br,Qe.Jd=nr,Qe.Yc=br+Fr,Qe.Zc=4<=Fr?br+Fr-4+1:br,Nn(Qe)}function dr(Qe,nr){for(var br=0;0<nr--;)br|=fi(Qe,128)<<nr;return br}function wr(Qe,nr){var br=dr(Qe,nr);return tn(Qe)?-br:br}function Ce(Qe,nr,br,Fr){var Xr,An=0;for(Me(Qe!=null),Me(nr!=null),Me(4294967288>Fr),Qe.Sb=Fr,Qe.Ra=0,Qe.u=0,Qe.h=0,4<Fr&&(Fr=4),Xr=0;Xr<Fr;++Xr)An+=nr[br+Xr]<<8*Xr;Qe.Ra=An,Qe.bb=Fr,Qe.oa=nr,Qe.pa=br}function vr(Qe){for(;8<=Qe.u&&Qe.bb<Qe.Sb;)Qe.Ra>>>=8,Qe.Ra+=Qe.oa[Qe.pa+Qe.bb]<<ri-8>>>0,++Qe.bb,Qe.u-=8;xn(Qe)&&(Qe.h=1,Qe.u=0)}function qr(Qe,nr){if(Me(0<=nr),!Qe.h&&nr<=Wn){var br=rr(Qe)&Sn[nr];return Qe.u+=nr,vr(Qe),br}return Qe.h=1,Qe.u=0}function He(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Oe(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function rr(Qe){return Qe.Ra>>>(Qe.u&ri-1)>>>0}function xn(Qe){return Me(Qe.bb<=Qe.Sb),Qe.h||Qe.bb==Qe.Sb&&Qe.u>ri}function Mn(Qe,nr){Qe.u=nr,Qe.h=xn(Qe)}function Vn(Qe){Qe.u>=ni&&(Me(Qe.u>=ni),vr(Qe))}function Nn(Qe){Me(Qe!=null&&Qe.oa!=null),Qe.pa<Qe.Zc?(Qe.I=(Qe.oa[Qe.pa++]|Qe.I<<8)>>>0,Qe.b+=8):(Me(Qe!=null&&Qe.oa!=null),Qe.pa<Qe.Yc?(Qe.b+=8,Qe.I=Qe.oa[Qe.pa++]|Qe.I<<8):Qe.Ka?Qe.b=0:(Qe.I<<=8,Qe.b+=8,Qe.Ka=1))}function tn(Qe){return dr(Qe,1)}function fi(Qe,nr){var br=Qe.Ca;0>Qe.b&&Nn(Qe);var Fr=Qe.b,Xr=br*nr>>>8,An=(Qe.I>>>Fr>Xr)+0;for(An?(br-=Xr,Qe.I-=Xr+1<<Fr>>>0):br=Xr+1,Fr=br,Xr=0;256<=Fr;)Xr+=8,Fr>>=8;return Fr=7^Xr+zn[Fr],Qe.b-=Fr,Qe.Ca=(br<<Fr)-1,An}function xi(Qe,nr,br){Qe[nr+0]=br>>24&255,Qe[nr+1]=br>>16&255,Qe[nr+2]=br>>8&255,Qe[nr+3]=br>>0&255}functi
|
|||
|
|
`:"")+Mr}))):cr.push(Tr[0])})),Je=cr,ke=Yt.apply(this,[$e,Be])}for(Se=0,je=Je.length;Se<je;Se++){var xr=0;if(Ee=Je[Se],ke&&Ee[0]==`
|
|||
|
|
`&&(Ee=Ee.substr(1),xr=1),Ie+_e+(Ae=(Te=Gt.apply(this,[Ee,Be])).reduce((function(Tr,Mr){return Tr+Mr}),0))>Me||xr){if(Ae>Me){for(Ue=Jt.apply(this,[Ee,Te,Me-(Ie+_e),Me]),ze.push(Ue.shift()),ze=[Ue.pop()];Ue.length;)Fe.push([Ue.shift()]);Ae=Te.slice(Ee.length-(ze[0]?ze[0].length:0)).reduce((function(Tr,Mr){return Tr+Mr}),0)}else ze=[Ee];Fe.push(ze),Ie=Ae+ke,_e=ir}else ze.push(Ee),Ie+=_e+Ae,_e=ir}return De=ke?function(Tr,Mr){return(Mr?$e:"")+Tr.join(" ")}:function(Tr){return Tr.join(" ")},Fe.map(De)},Vt.splitTextToSize=function(Pe,Me,Be){var Ee,Te=(Be=Be||{}).fontSize||this.internal.getFontSize(),Se=function(ze){if(ze.widths&&ze.kerning)return{widths:ze.widths,kerning:ze.kerning};var Fe=this.internal.getFont(ze.fontName,ze.fontStyle);return Fe.metadata.Unicode?{widths:Fe.metadata.Unicode.widths||{0:1},kerning:Fe.metadata.Unicode.kerning||{}}:{font:Fe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Be);Ee=Array.isArray(Pe)?Pe:String(Pe).split(/\r?\n/);var je=1*this.internal.scaleFactor*Me/Te;Se.textIndent=Be.textIndent?1*Be.textIndent*this.internal.scaleFactor/Te:0,Se.lineIndent=Be.lineIndent;var Ue,ke,De=[];for(Ue=0,ke=Ee.length;Ue<ke;Ue++)De=De.concat(Xt.apply(this,[Ee[Ue],je,Se]));return De},(function(Pe){Pe.__fontmetrics__=Pe.__fontmetrics__||{};for(var Me="klmnopqrstuvwxyz",Be={},Ee={},Te=0;Te<Me.length;Te++)Be[Me[Te]]="0123456789abcdef"[Te],Ee["0123456789abcdef"[Te]]=Me[Te];var Se=function(Fe){return"0x"+parseInt(Fe,10).toString(16)},je=Pe.__fontmetrics__.compress=function(Fe){var Ie,_e,Ae,Je,ir=["{"];for(var $e in Fe){if(Ie=Fe[$e],isNaN(parseInt($e,10))?_e="'"+$e+"'":($e=parseInt($e,10),_e=(_e=Se($e).slice(2)).slice(0,-1)+Ee[_e.slice(-1)]),typeof Ie=="number")Ie<0?(Ae=Se(Ie).slice(3),Je="-"):(Ae=Se(Ie).slice(2),Je=""),Ae=Je+Ae.slice(0,-1)+Ee[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)}ir.push(_e+Ae)}return ir.push("}"),ir.join("")},Ue=Pe.__fontmetrics__.uncompress=function(Fe){if(typeof Fe!="string")throw new Error("Invalid argument passed to uncompress.");for(var Ie,_e,Ae,Je,ir={},$e=1,cr=ir,xr=[],Tr="",Mr="",mr=Fe.length-1,Ze=1;Ze<mr;Ze+=1)(Je=Fe[Ze])=="'"?Ie?(Ae=Ie.join(""),Ie=void 0):Ie=[]:Ie?Ie.push(Je):Je=="{"?(xr.push([cr,Ae]),cr={},Ae=void 0):Je=="}"?((_e=xr.pop())[0][_e[1]]=cr,Ae=void 0,cr=_e[0]):Je=="-"?$e=-1:Ae===void 0?Be.hasOwnProperty(Je)?(Tr+=Be[Je],Ae=parseInt(Tr,16)*$e,$e=1,Tr=""):Tr+=Je:Be.hasOwnProperty(Je)?(Mr+=Be[Je],cr[Ae]=parseInt(Mr,16)*$e,$e=1,Ae=void 0,Mr=""):Mr+=Je;return ir},ke={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Ue("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},De={Unicode:{Courier:ke,"Courier-Bold":ke,"Courier-BoldOblique":ke,"Courier-Oblique":ke,Helvetica:ke,"Helvetica-Bold":ke,"Helvetica-BoldOblique":ke,"Helvetica-Oblique":ke,"Times-Roman":ke,"Times-Bold":ke,"Times-BoldItalic":ke,"Times-Italic":ke}},ze={Unicode:{"Courier-Oblique":Ue("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Ue("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5k
|
|||
|
|
<<
|
|||
|
|
`+Je.join(`
|
|||
|
|
`)+`
|
|||
|
|
>>`)})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Be,this},(function(Pe){var Me=function(){var Ee='<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(Ee)),je=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Ue=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ke=unescape(encodeURIComponent("</x:xmpmeta>")),De=Se.length+je.length+Ue.length+Te.length+ke.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+De+" >>"),this.internal.write("stream"),this.internal.write(Te+Se+je+Ue+ke),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(Ee,Te){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Ee,namespaceuri:Te||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Be),this.internal.events.subscribe("postPutResources",Me)),this}})(E.API),(function(Pe){var Me=Pe.API,Be=Me.pdfEscape16=function(Se,je){for(var Ue,ke=je.metadata.Unicode.widths,De=["","0","00","000","0000"],ze=[""],Fe=0,Ie=Se.length;Fe<Ie;++Fe){if(Ue=je.metadata.characterToGlyph(Se.charCodeAt(Fe)),je.metadata.glyIdsUsed.push(Ue),je.metadata.toUnicode[Ue]=Se.charCodeAt(Fe),ke.indexOf(Ue)==-1&&(ke.push(Ue),ke.push([parseInt(je.metadata.widthOfGlyph(Ue),10)])),Ue=="0")return ze.join("");Ue=Ue.toString(16),ze.push(De[4-Ue.length],Ue)}return ze.join("")},Ee=function(Se){var je,Ue,ke,De,ze,Fe,Ie;for(ze=`/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`,ke=[],Fe=0,Ie=(Ue=Object.keys(Se).sort((function(_e,Ae){return _e-Ae}))).length;Fe<Ie;Fe++)je=Ue[Fe],ke.length>=100&&(ze+=`
|
|||
|
|
`+ke.length+` beginbfchar
|
|||
|
|
`+ke.join(`
|
|||
|
|
`)+`
|
|||
|
|
endbfchar`,ke=[]),Se[je]!==void 0&&Se[je]!==null&&typeof Se[je].toString=="function"&&(De=("0000"+Se[je].toString(16)).slice(-4),je=("0000"+(+je).toString(16)).slice(-4),ke.push("<"+je+"><"+De+">"));return ke.length&&(ze+=`
|
|||
|
|
`+ke.length+` beginbfchar
|
|||
|
|
`+ke.join(`
|
|||
|
|
`)+`
|
|||
|
|
endbfchar
|
|||
|
|
`),ze+=`endcmap
|
|||
|
|
CMapName currentdict /CMap defineresource pop
|
|||
|
|
end
|
|||
|
|
end`};Me.events.push(["putFont",function(Se){(function(je){var Ue=je.font,ke=je.out,De=je.newObject,ze=je.putStream;if(Ue.metadata instanceof Pe.API.TTFFont&&Ue.encoding==="Identity-H"){for(var Fe=Ue.metadata.Unicode.widths,Ie=Ue.metadata.subset.encode(Ue.metadata.glyIdsUsed,1),_e="",Ae=0;Ae<Ie.length;Ae++)_e+=String.fromCharCode(Ie[Ae]);var Je=De();ze({data:_e,addLength1:!0,objectId:Je}),ke("endobj");var ir=De();ze({data:Ee(Ue.metadata.toUnicode),addLength1:!0,objectId:ir}),ke("endobj");var $e=De();ke("<<"),ke("/Type /FontDescriptor"),ke("/FontName /"+F(Ue.fontName)),ke("/FontFile2 "+Je+" 0 R"),ke("/FontBBox "+Pe.API.PDFObject.convert(Ue.metadata.bbox)),ke("/Flags "+Ue.metadata.flags),ke("/StemV "+Ue.metadata.stemV),ke("/ItalicAngle "+Ue.metadata.italicAngle),ke("/Ascent "+Ue.metadata.ascender),ke("/Descent "+Ue.metadata.decender),ke("/CapHeight "+Ue.metadata.capHeight),ke(">>"),ke("endobj");var cr=De();ke("<<"),ke("/Type /Font"),ke("/BaseFont /"+F(Ue.fontName)),ke("/FontDescriptor "+$e+" 0 R"),ke("/W "+Pe.API.PDFObject.convert(Fe)),ke("/CIDToGIDMap /Identity"),ke("/DW 1000"),ke("/Subtype /CIDFontType2"),ke("/CIDSystemInfo"),ke("<<"),ke("/Supplement 0"),ke("/Registry (Adobe)"),ke("/Ordering ("+Ue.encoding+")"),ke(">>"),ke(">>"),ke("endobj"),Ue.objectNumber=De(),ke("<<"),ke("/Type /Font"),ke("/Subtype /Type0"),ke("/ToUnicode "+ir+" 0 R"),ke("/BaseFont /"+F(Ue.fontName)),ke("/Encoding /"+Ue.encoding),ke("/DescendantFonts ["+cr+" 0 R]"),ke(">>"),ke("endobj"),Ue.isAlreadyPutted=!0}})(Se)}]),Me.events.push(["putFont",function(Se){(function(je){var Ue=je.font,ke=je.out,De=je.newObject,ze=je.putStream;if(Ue.metadata instanceof Pe.API.TTFFont&&Ue.encoding==="WinAnsiEncoding"){for(var Fe=Ue.metadata.rawData,Ie="",_e=0;_e<Fe.length;_e++)Ie+=String.fromCharCode(Fe[_e]);var Ae=De();ze({data:Ie,addLength1:!0,objectId:Ae}),ke("endobj");var Je=De();ze({data:Ee(Ue.metadata.toUnicode),addLength1:!0,objectId:Je}),ke("endobj");var ir=De();ke("<<"),ke("/Descent "+Ue.metadata.decender),ke("/CapHeight "+Ue.metadata.capHeight),ke("/StemV "+Ue.metadata.stemV),ke("/Type /FontDescriptor"),ke("/FontFile2 "+Ae+" 0 R"),ke("/Flags 96"),ke("/FontBBox "+Pe.API.PDFObject.convert(Ue.metadata.bbox)),ke("/FontName /"+F(Ue.fontName)),ke("/ItalicAngle "+Ue.metadata.italicAngle),ke("/Ascent "+Ue.metadata.ascender),ke(">>"),ke("endobj"),Ue.objectNumber=De();for(var $e=0;$e<Ue.metadata.hmtx.widths.length;$e++)Ue.metadata.hmtx.widths[$e]=parseInt(Ue.metadata.hmtx.widths[$e]*(1e3/Ue.metadata.head.unitsPerEm));ke("<</Subtype/TrueType/Type/Font/ToUnicode "+Je+" 0 R/BaseFont/"+F(Ue.fontName)+"/FontDescriptor "+ir+" 0 R/Encoding/"+Ue.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Pe.API.PDFObject.convert(Ue.metadata.hmtx.widths)+">>"),ke("endobj"),Ue.isAlreadyPutted=!0}})(Se)}]);var Te=function(Se){var je,Ue=Se.text||"",ke=Se.x,De=Se.y,ze=Se.options||{},Fe=Se.mutex||{},Ie=Fe.pdfEscape,_e=Fe.activeFontKey,Ae=Fe.fonts,Je=_e,ir="",$e=0,cr="",xr=Ae[Je].encoding;if(Ae[Je].encoding!=="Identity-H")return{text:Ue,x:ke,y:De,options:ze,mutex:Fe};for(cr=Ue,Je=_e,Array.isArray(Ue)&&(cr=Ue[0]),$e=0;$e<cr.length;$e+=1)Ae[Je].metadata.hasOwnProperty("cmap")&&(je=Ae[Je].metadata.cmap.unicode.codeMap[cr[$e].charCodeAt(0)]),je||cr[$e].charCodeAt(0)<256&&Ae[Je].metadata.hasOwnProperty("Unicode")?ir+=cr[$e]:ir+="";var Tr="";return parseInt(Je.slice(1))<14||xr==="WinAnsiEncoding"?Tr=Ie(ir,Je).split("").map((function(Mr){return Mr.charCodeAt(0).toString(16)})).join(""):xr==="Identity-H"&&(Tr=Be(ir,Ae[Je])),Fe.isHex=!0,{text:Tr,x:ke,y:De,options:ze,mutex:Fe}};Me.events.push(["postProcessText",function(Se){var je=Se.text||"",Ue=[],ke={text:je,x:Se.x,y:Se.y,options:Se.options,mutex:Se.mutex};if(Array.isArray(je)){var De=0;for(De=0;De<je.length;De+=1)Array.isArray(je[De])&&je[De].length===3?Ue.push([Te(Object.assign({},ke,{text:je[De][0]})).text,je[De][1],je[De][2]]):Ue.push(Te(Object.assign({},ke,{text:je[De]})).text);Se.text=Ue}else Se.text=Te(Object.assign({},ke,{text:je})).text}])})(E),(function(Pe){var Me=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Pe.exi
|
|||
|
|
`)}return""+Be},Me})();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,Me){(function(Be,Ee){Pe.exports=Ee()})(html2canvas,(function(){/*! *****************************************************************************
|
|||
|
|
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(qe,Re){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ke,Xe){Ke.__proto__=Xe}||function(Ke,Xe){for(var Cr in Xe)Object.prototype.hasOwnProperty.call(Xe,Cr)&&(Ke[Cr]=Xe[Cr])},Be(qe,Re)};function Ee(qe,Re){if(typeof Re!="function"&&Re!==null)throw new TypeError("Class extends value "+String(Re)+" is not a constructor or null");Be(qe,Re);function Ke(){this.constructor=qe}qe.prototype=Re===null?Object.create(Re):(Ke.prototype=Re.prototype,new Ke)}var Te=function(){return Te=Object.assign||function(Re){for(var Ke,Xe=1,Cr=arguments.length;Xe<Cr;Xe++){Ke=arguments[Xe];for(var Or in Ke)Object.prototype.hasOwnProperty.call(Ke,Or)&&(Re[Or]=Ke[Or])}return Re},Te.apply(this,arguments)};function Se(qe,Re,Ke,Xe){function Cr(Or){return Or instanceof Ke?Or:new Ke(function(hn){hn(Or)})}return new(Ke||(Ke=Promise))(function(Or,hn){function Tn(Si){try{yi(Xe.next(Si))}catch(Ri){hn(Ri)}}function jn(Si){try{yi(Xe.throw(Si))}catch(Ri){hn(Ri)}}function yi(Si){Si.done?Or(Si.value):Cr(Si.value).then(Tn,jn)}yi((Xe=Xe.apply(qe,[])).next())})}function je(qe,Re){var Ke={label:0,sent:function(){if(Or[0]&1)throw Or[1];return Or[1]},trys:[],ops:[]},Xe,Cr,Or,hn;return hn={next:Tn(0),throw:Tn(1),return:Tn(2)},typeof Symbol=="function"&&(hn[Symbol.iterator]=function(){return this}),hn;function Tn(yi){return function(Si){return jn([yi,Si])}}function jn(yi){if(Xe)throw new TypeError("Generator is already executing.");for(;Ke;)try{if(Xe=1,Cr&&(Or=yi[0]&2?Cr.return:yi[0]?Cr.throw||((Or=Cr.return)&&Or.call(Cr),0):Cr.next)&&!(Or=Or.call(Cr,yi[1])).done)return Or;switch(Cr=0,Or&&(yi=[yi[0]&2,Or.value]),yi[0]){case 0:case 1:Or=yi;break;case 4:return Ke.label++,{value:yi[1],done:!1};case 5:Ke.label++,Cr=yi[1],yi=[0];continue;case 7:yi=Ke.ops.pop(),Ke.trys.pop();continue;default:if(Or=Ke.trys,!(Or=Or.length>0&&Or[Or.length-1])&&(yi[0]===6||yi[0]===2)){Ke=0;continue}if(yi[0]===3&&(!Or||yi[1]>Or[0]&&yi[1]<Or[3])){Ke.label=yi[1];break}if(yi[0]===6&&Ke.label<Or[1]){Ke.label=Or[1],Or=yi;break}if(Or&&Ke.label<Or[2]){Ke.label=Or[2],Ke.ops.push(yi);break}Or[2]&&Ke.ops.pop(),Ke.trys.pop();continue}yi=Re.call(qe,Ke)}catch(Si){yi=[6,Si],Cr=0}finally{Xe=Or=0}if(yi[0]&5)throw yi[1];return{value:yi[0]?yi[1]:void 0,done:!0}}}function Ue(qe,Re,Ke){if(arguments.length===2)for(var Xe=0,Cr=Re.length,Or;Xe<Cr;Xe++)(Or||!(Xe in Re))&&(Or||(Or=Array.prototype.slice.call(Re,0,Xe)),Or[Xe]=Re[Xe]);return qe.concat(Or||Re)}for(var ke=(function(){function qe(Re,Ke,Xe,Cr){this.left=Re,this.top=Ke,this.width=Xe,this.height=Cr}return qe.prototype.add=function(Re,Ke,Xe,Cr){return new qe(this.left+Re,this.top+Ke,this.width+Xe,this.height+Cr)},qe.fromClientRect=function(Re,Ke){return new qe(Ke.left+Re.windowBounds.left,Ke.top+Re.windowBounds.top,Ke.width,Ke.height)},qe.fromDOMRectList=function(Re,Ke){var Xe=Array.from(Ke).find(function(Cr){return Cr.width!==0});return Xe?new qe(Xe.left+Re.windowBounds.left,Xe.top+Re.windowBounds.top,Xe.width,Xe.height):qe.EMPTY},qe.EMPTY=new qe(0,0,0,0),qe})(),De=function(qe,Re){return ke.fromClientRect(qe,Re.getBoundingClientRect())},ze=function(qe){var Re=qe.body,Ke=qe.documentElement;if(!Re||!Ke)throw new Error("Unable to get document size");var Xe=Math.max(Math.max(Re.scrollWidth,Ke.scrollWidth),Math.max(Re.offsetWidth,Ke.offsetWidth),Math.max(Re.clientWidth,Ke.clientWidth)),Cr=Math.max(Math.max(Re.scrollHeight,Ke.scrollHeight),Math.max(Re.offsetHeight,Ke.offsetHeight),Math.max(Re.clientHeight,Ke.clientHeight));return new ke(0,0,Xe,Cr)},Fe=function(qe){for(var Re=[],Ke=0,Xe=qe.length;Ke<Xe;){var Cr=qe.charCodeAt(Ke++);if(Cr>=55296&&Cr<=56319&&Ke<Xe){var Or=qe.charCodeAt(Ke++);(Or&64512)===56320?Re.push(((Cr&1023)<<10)+(Or&1023)+65536):(Re.push(Cr),Ke--)}else Re.push(Cr)}return Re},Ie=function(){for(var qe=[],Re=0;Re<arguments.length;Re++)qe[Re]=arguments[Re];if(String.fromCodePoint)return String.fromCodePoint.apply(String,qe);var Ke=qe.length;if(!Ke)return"";for(var Xe=[],Cr=-1,Or="";++Cr<Ke;){var hn=qe[Cr];hn<=65535?Xe.push(hn):(hn-
|
|||
|
|
content: "" !important;
|
|||
|
|
display: none !important;
|
|||
|
|
}`,iu=function(qe){Ou(qe,"."+Fc+Pc+Hc+`
|
|||
|
|
.`+Gc+Nc+Hc)},Ou=function(qe,Re){var Ke=qe.ownerDocument;if(Ke){var Xe=Ke.createElement("style");Xe.textContent=Re,qe.appendChild(Xe)}},xu=(function(){function qe(){}return qe.getOrigin=function(Re){var Ke=qe._link;return Ke?(Ke.href=Re,Ke.href=Ke.href,Ke.protocol+Ke.hostname+Ke.port):"about:blank"},qe.isSameOrigin=function(Re){return qe.getOrigin(Re)===qe._origin},qe.setContext=function(Re){qe._link=Re.document.createElement("a"),qe._origin=qe.getOrigin(Re.location.href)},qe._origin="about:blank",qe})(),Bu=(function(){function qe(Re,Ke){this.context=Re,this._options=Ke,this._cache={}}return qe.prototype.addImage=function(Re){var Ke=Promise.resolve();return this.has(Re)||(bu(Re)||mu(Re))&&(this._cache[Re]=this.loadImage(Re)).catch(function(){}),Ke},qe.prototype.match=function(Re){return this._cache[Re]},qe.prototype.loadImage=function(Re){return Se(this,void 0,void 0,function(){var Ke,Xe,Cr,Or,hn=this;return je(this,function(Tn){switch(Tn.label){case 0:return Ke=xu.isSameOrigin(Re),Xe=!Wc(Re)&&this._options.useCORS===!0&&b1.SUPPORT_CORS_IMAGES&&!Ke,Cr=!Wc(Re)&&!Ke&&!bu(Re)&&typeof this._options.proxy=="string"&&b1.SUPPORT_CORS_XHR&&!Xe,!Ke&&this._options.allowTaint===!1&&!Wc(Re)&&!bu(Re)&&!Cr&&!Xe?[2]:(Or=Re,Cr?[4,this.proxy(Or)]:[3,2]);case 1:Or=Tn.sent(),Tn.label=2;case 2:return this.context.logger.debug("Added image "+Re.substring(0,256)),[4,new Promise(function(jn,yi){var Si=new Image;Si.onload=function(){return jn(Si)},Si.onerror=yi,(Eu(Or)||Xe)&&(Si.crossOrigin="anonymous"),Si.src=Or,Si.complete===!0&&setTimeout(function(){return jn(Si)},500),hn._options.imageTimeout>0&&setTimeout(function(){return yi("Timed out ("+hn._options.imageTimeout+"ms) loading image")},hn._options.imageTimeout)})];case 3:return[2,Tn.sent()]}})})},qe.prototype.has=function(Re){return typeof this._cache[Re]!="undefined"},qe.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},qe.prototype.proxy=function(Re){var Ke=this,Xe=this._options.proxy;if(!Xe)throw new Error("No proxy defined");var Cr=Re.substring(0,256);return new Promise(function(Or,hn){var Tn=b1.SUPPORT_RESPONSE_TYPE?"blob":"text",jn=new XMLHttpRequest;jn.onload=function(){if(jn.status===200)if(Tn==="text")Or(jn.response);else{var Ri=new FileReader;Ri.addEventListener("load",function(){return Or(Ri.result)},!1),Ri.addEventListener("error",function(ua){return hn(ua)},!1),Ri.readAsDataURL(jn.response)}else hn("Failed to proxy resource "+Cr+" with status code "+jn.status)},jn.onerror=hn;var yi=Xe.indexOf("?")>-1?"&":"?";if(jn.open("GET",""+Xe+yi+"url="+encodeURIComponent(Re)+"&responseType="+Tn),Tn!=="text"&&jn instanceof XMLHttpRequest&&(jn.responseType=Tn),Ke._options.imageTimeout){var Si=Ke._options.imageTimeout;jn.timeout=Si,jn.ontimeout=function(){return hn("Timed out ("+Si+"ms) proxying "+Cr)}}jn.send()})},qe})(),Cu=/^data:image\/svg\+xml/i,vu=/^data:image\/.*;base64,/i,Mu=/^data:image\/.*/i,mu=function(qe){return b1.SUPPORT_SVG_DRAWING||!au(qe)},Wc=function(qe){return Mu.test(qe)},Eu=function(qe){return vu.test(qe)},bu=function(qe){return qe.substr(0,4)==="blob"},au=function(qe){return qe.substr(-3).toLowerCase()==="svg"||Cu.test(qe)},go=(function(){function qe(Re,Ke){this.type=0,this.x=Re,this.y=Ke}return qe.prototype.add=function(Re,Ke){return new qe(this.x+Re,this.y+Ke)},qe})(),Lc=function(qe,Re,Ke){return new go(qe.x+(Re.x-qe.x)*Ke,qe.y+(Re.y-qe.y)*Ke)},Vc=(function(){function qe(Re,Ke,Xe,Cr){this.type=1,this.start=Re,this.startControl=Ke,this.endControl=Xe,this.end=Cr}return qe.prototype.subdivide=function(Re,Ke){var Xe=Lc(this.start,this.startControl,Re),Cr=Lc(this.startControl,this.endControl,Re),Or=Lc(this.endControl,this.end,Re),hn=Lc(Xe,Cr,Re),Tn=Lc(Cr,Or,Re),jn=Lc(hn,Tn,Re);return Ke?new qe(this.start,Xe,hn,jn):new qe(jn,Tn,Or,this.end)},qe.prototype.add=function(Re,Ke){return new qe(this.start.add(Re,Ke),this.startControl.add(Re,Ke),this.endControl.add(Re,Ke),this.end.add(Re,Ke))},qe.prototype.reverse=function(){return new qe(this.end,this.endControl,this.startControl,this.start)},qe})(),xc=function(qe){return qe.type===1},Xu=(functio
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}Pe.exports=Me,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(nonIterableRest)),nonIterableRest.exports}var hasRequiredSlicedToArray;function requireSlicedToArray(){return hasRequiredSlicedToArray||(hasRequiredSlicedToArray=1,(function(Pe){var Me=requireArrayWithHoles(),Be=requireIterableToArrayLimit(),Ee=requireUnsupportedIterableToArray(),Te=requireNonIterableRest();function Se(je,Ue){return Me(je)||Be(je,Ue)||Ee(je,Ue)||Te()}Pe.exports=Se,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(slicedToArray)),slicedToArray.exports}var defineProperty={exports:{}},toPropertyKey={exports:{}},toPrimitive={exports:{}},hasRequiredToPrimitive;function requireToPrimitive(){return hasRequiredToPrimitive||(hasRequiredToPrimitive=1,(function(Pe){var Me=require_typeof().default;function Be(Ee,Te){if(Me(Ee)!="object"||!Ee)return Ee;var Se=Ee[Symbol.toPrimitive];if(Se!==void 0){var je=Se.call(Ee,Te||"default");if(Me(je)!="object")return je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(Ee)}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toPrimitive)),toPrimitive.exports}var hasRequiredToPropertyKey;function requireToPropertyKey(){return hasRequiredToPropertyKey||(hasRequiredToPropertyKey=1,(function(Pe){var Me=require_typeof().default,Be=requireToPrimitive();function Ee(Te){var Se=Be(Te,"string");return Me(Se)=="symbol"?Se:Se+""}Pe.exports=Ee,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toPropertyKey)),toPropertyKey.exports}var hasRequiredDefineProperty;function requireDefineProperty(){return hasRequiredDefineProperty||(hasRequiredDefineProperty=1,(function(Pe){var Me=requireToPropertyKey();function Be(Ee,Te,Se){return(Te=Me(Te))in Ee?Object.defineProperty(Ee,Te,{value:Se,enumerable:!0,configurable:!0,writable:!0}):Ee[Te]=Se,Ee}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(defineProperty)),defineProperty.exports}var classCallCheck={exports:{}},hasRequiredClassCallCheck;function requireClassCallCheck(){return hasRequiredClassCallCheck||(hasRequiredClassCallCheck=1,(function(Pe){function Me(Be,Ee){if(!(Be instanceof Ee))throw new TypeError("Cannot call a class as a function")}Pe.exports=Me,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(classCallCheck)),classCallCheck.exports}var createClass={exports:{}},hasRequiredCreateClass;function requireCreateClass(){return hasRequiredCreateClass||(hasRequiredCreateClass=1,(function(Pe){var Me=requireToPropertyKey();function Be(Te,Se){for(var je=0;je<Se.length;je++){var Ue=Se[je];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(Te,Me(Ue.key),Ue)}}function Ee(Te,Se,je){return Se&&Be(Te.prototype,Se),je&&Be(Te,je),Object.defineProperty(Te,"prototype",{writable:!1}),Te}Pe.exports=Ee,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(createClass)),createClass.exports}var es_array_concat={},doesNotExceedSafeInteger,hasRequiredDoesNotExceedSafeInteger;function requireDoesNotExceedSafeInteger(){if(hasRequiredDoesNotExceedSafeInteger)return doesNotExceedSafeInteger;hasRequiredDoesNotExceedSafeInteger=1;var Pe=TypeError,Me=9007199254740991;return doesNotExceedSafeInteger=function(Be){if(Be>Me)throw Pe("Maximum allowed index exceeded");return Be},doesNotExceedSafeInteger}var createProperty,hasRequiredCreateProperty;function requireCreateProperty(){if(hasRequiredCreateProperty)return createProperty;hasRequiredCreateProperty=1;var Pe=requireDescriptors(),Me=requireObjectDefineProperty(),Be=requireCreatePropertyDescriptor();return createProperty=function(Ee,Te,Se){Pe?Me.f(Ee,Te,Be(0,Se)):Ee[Te]=Se},createProperty}var hasRequiredEs_array_concat;function requireEs_array_concat(){if(hasRequiredEs_array_concat)return es_array_concat;hasRequiredEs_array_concat=1;var Pe=require_export(),Me=requireFails(),Be=requireIsArray(),Ee=requireIsObject(),Te=requireToObject(),Se=requireLengthOfArrayLike(),je=requireDoesNotExceedSafeInteger(),Ue=r
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}Pe.exports=Me,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(nonIterableSpread)),nonIterableSpread.exports}var hasRequiredToConsumableArray;function requireToConsumableArray(){return hasRequiredToConsumableArray||(hasRequiredToConsumableArray=1,(function(Pe){var Me=requireArrayWithoutHoles(),Be=requireIterableToArray(),Ee=requireUnsupportedIterableToArray(),Te=requireNonIterableSpread();function Se(je){return Me(je)||Be(je)||Ee(je)||Te()}Pe.exports=Se,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(toConsumableArray)),toConsumableArray.exports}var es_number_constructor={},inheritIfRequired,hasRequiredInheritIfRequired;function requireInheritIfRequired(){if(hasRequiredInheritIfRequired)return inheritIfRequired;hasRequiredInheritIfRequired=1;var Pe=requireIsCallable(),Me=requireIsObject(),Be=requireObjectSetPrototypeOf();return inheritIfRequired=function(Ee,Te,Se){var je,Ue;return Be&&Pe(je=Te.constructor)&&je!==Se&&Me(Ue=je.prototype)&&Ue!==Se.prototype&&Be(Ee,Ue),Ee},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(),Me=requireIsPure(),Be=requireDescriptors(),Ee=requireGlobalThis(),Te=requirePath(),Se=requireFunctionUncurryThis(),je=requireIsForced(),Ue=requireHasOwnProperty(),ke=requireInheritIfRequired(),De=requireObjectIsPrototypeOf(),ze=requireIsSymbol(),Fe=requireToPrimitive$1(),Ie=requireFails(),_e=requireObjectGetOwnPropertyNames().f,Ae=requireObjectGetOwnPropertyDescriptor().f,Je=requireObjectDefineProperty().f,ir=requireThisNumberValue(),$e=requireStringTrim().trim,cr="Number",xr=Ee[cr],Tr=Te[cr],Mr=xr.prototype,mr=Ee.TypeError,Ze=Se("".slice),xe=Se("".charCodeAt),er=function(Pr){var dr=Fe(Pr,"number");return typeof dr=="bigint"?dr:Ge(dr)},Ge=function(Pr){var dr=Fe(Pr,"number"),wr,Ce,vr,qr,He,Oe,rr,xn;if(ze(dr))throw new mr("Cannot convert a Symbol value to a number");if(typeof dr=="string"&&dr.length>2){if(dr=$e(dr),wr=xe(dr,0),wr===43||wr===45){if(Ce=xe(dr,2),Ce===88||Ce===120)return NaN}else if(wr===48){switch(xe(dr,1)){case 66:case 98:vr=2,qr=49;break;case 79:case 111:vr=8,qr=55;break;default:return+dr}for(He=Ze(dr,2),Oe=He.length,rr=0;rr<Oe;rr++)if(xn=xe(He,rr),xn<48||xn>qr)return NaN;return parseInt(He,vr)}}return+dr},tr=je(cr,!xr(" 0o1")||!xr("0b1")||xr("+0x1")),sr=function(Pr){return De(Mr,Pr)&&Ie(function(){ir(Pr)})},pr=function(dr){var wr=arguments.length<1?0:xr(er(dr));return sr(this)?ke(Object(wr),this,pr):wr};pr.prototype=Mr,tr&&!Me&&(Mr.constructor=pr),Pe({global:!0,constructor:!0,wrap:!0,forced:tr},{Number:pr});var Ir=function(Pr,dr){for(var wr=Be?_e(dr):"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(","),Ce=0,vr;wr.length>Ce;Ce++)Ue(dr,vr=wr[Ce])&&!Ue(Pr,vr)&&Je(Pr,vr,Ae(dr,vr))};return Me&&Tr&&Ir(Te[cr],Tr),(tr||Me)&&Ir(Te[cr],xr),es_number_constructor}var get={exports:{}},superPropBase={exports:{}},hasRequiredSuperPropBase;function requireSuperPropBase(){return hasRequiredSuperPropBase||(hasRequiredSuperPropBase=1,(function(Pe){var Me=requireGetPrototypeOf();function Be(Ee,Te){for(;!{}.hasOwnProperty.call(Ee,Te)&&(Ee=Me(Ee))!==null;);return Ee}Pe.exports=Be,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports})(superPropBase)),superPropBase.exports}var hasRequiredGet;function requireGet(){return hasRequiredGet||(hasRequiredGet=1,(function(Pe){var Me=requireSuperPropBase();function Be(){return Pe.exports=Be=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(Ee,Te,Se){var je=Me(Ee,Te);if(je){var Ue=Object.getOwnPropertyDesc
|
|||
|
|
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 Ee=function(xe,er){return(Ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ge,tr){Ge.__proto__=tr}||function(Ge,tr){for(var sr in tr)Object.prototype.hasOwnProperty.call(tr,sr)&&(Ge[sr]=tr[sr])})(xe,er)};function Te(xe,er){if(typeof er!="function"&&er!==null)throw new TypeError("Class extends value "+String(er)+" is not a constructor or null");function Ge(){this.constructor=xe}Ee(xe,er),xe.prototype=er===null?Object.create(er):(Ge.prototype=er.prototype,new Ge)}var Se=" ";function je(xe){var er="";Array.isArray(xe)||(xe=[xe]);for(var Ge=0;Ge<xe.length;Ge++){var tr=xe[Ge];if(tr.type===mr.CLOSE_PATH)er+="z";else if(tr.type===mr.HORIZ_LINE_TO)er+=(tr.relative?"h":"H")+tr.x;else if(tr.type===mr.VERT_LINE_TO)er+=(tr.relative?"v":"V")+tr.y;else if(tr.type===mr.MOVE_TO)er+=(tr.relative?"m":"M")+tr.x+Se+tr.y;else if(tr.type===mr.LINE_TO)er+=(tr.relative?"l":"L")+tr.x+Se+tr.y;else if(tr.type===mr.CURVE_TO)er+=(tr.relative?"c":"C")+tr.x1+Se+tr.y1+Se+tr.x2+Se+tr.y2+Se+tr.x+Se+tr.y;else if(tr.type===mr.SMOOTH_CURVE_TO)er+=(tr.relative?"s":"S")+tr.x2+Se+tr.y2+Se+tr.x+Se+tr.y;else if(tr.type===mr.QUAD_TO)er+=(tr.relative?"q":"Q")+tr.x1+Se+tr.y1+Se+tr.x+Se+tr.y;else if(tr.type===mr.SMOOTH_QUAD_TO)er+=(tr.relative?"t":"T")+tr.x+Se+tr.y;else{if(tr.type!==mr.ARC)throw new Error('Unexpected command type "'+tr.type+'" at index '+Ge+".");er+=(tr.relative?"a":"A")+tr.rX+Se+tr.rY+Se+tr.xRot+Se+ +tr.lArcFlag+Se+ +tr.sweepFlag+Se+tr.x+Se+tr.y}}return er}function Ue(xe,er){var Ge=xe[0],tr=xe[1];return[Ge*Math.cos(er)-tr*Math.sin(er),Ge*Math.sin(er)+tr*Math.cos(er)]}function ke(){for(var xe=[],er=0;er<arguments.length;er++)xe[er]=arguments[er];for(var Ge=0;Ge<xe.length;Ge++)if(typeof xe[Ge]!="number")throw new Error("assertNumbers arguments["+Ge+"] is not a number. "+typeof xe[Ge]+" == typeof "+xe[Ge]);return!0}var De=Math.PI;function ze(xe,er,Ge){xe.lArcFlag=xe.lArcFlag===0?0:1,xe.sweepFlag=xe.sweepFlag===0?0:1;var tr=xe.rX,sr=xe.rY,pr=xe.x,Ir=xe.y;tr=Math.abs(xe.rX),sr=Math.abs(xe.rY);var Pr=Ue([(er-pr)/2,(Ge-Ir)/2],-xe.xRot/180*De),dr=Pr[0],wr=Pr[1],Ce=Math.pow(dr,2)/Math.pow(tr,2)+Math.pow(wr,2)/Math.pow(sr,2);1<Ce&&(tr*=Math.sqrt(Ce),sr*=Math.sqrt(Ce)),xe.rX=tr,xe.rY=sr;var vr=Math.pow(tr,2)*Math.pow(wr,2)+Math.pow(sr,2)*Math.pow(dr,2),qr=(xe.lArcFlag!==xe.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(tr,2)*Math.pow(sr,2)-vr)/vr)),He=tr*wr/sr*qr,Oe=-sr*dr/tr*qr,rr=Ue([He,Oe],xe.xRot/180*De);xe.cX=rr[0]+(er+pr)/2,xe.cY=rr[1]+(Ge+Ir)/2,xe.phi1=Math.atan2((wr-Oe)/sr,(dr-He)/tr),xe.phi2=Math.atan2((-wr-Oe)/sr,(-dr-He)/tr),xe.sweepFlag===0&&xe.phi2>xe.phi1&&(xe.phi2-=2*De),xe.sweepFlag===1&&xe.phi2<xe.phi1&&(xe.phi2+=2*De),xe.phi1*=180/De,xe.phi2*=180/De}function Fe(xe,er,Ge){ke(xe,er,Ge);var tr=xe*xe+er*er-Ge*Ge;if(0>tr)return[];if(tr===0)return[[xe*Ge/(xe*xe+er*er),er*Ge/(xe*xe+er*er)]];var sr=Math.sqrt(tr);return[[(xe*Ge+er*sr)/(xe*xe+er*er),(er*Ge-xe*sr)/(xe*xe+er*er)],[(xe*Ge-er*sr)/(xe*xe+er*er),(er*Ge+xe*sr)/(xe*xe+er*er)]]}var Ie=Math.PI/180;function _e(xe,er,Ge){return(1-Ge)*xe+Ge*er}function Ae(xe,er,Ge,tr){return xe+Math.cos(tr/180*De)*er+Math.sin(tr/180*De)*Ge}function Je(xe,er,Ge,tr){var sr=1e-6,pr=er-xe,Ir=Ge-er,Pr=3*pr+3*(tr-Ge)-6*Ir,dr=6*(Ir-pr),wr=3*pr;return Math.abs(Pr)<sr?[-wr/dr]:(function(Ce,vr,qr){var He=Ce*Ce/4-vr;if(He<-qr)return[];if(He<=qr)return[-Ce/2];var Oe=Math.sqrt(He);return[-Ce/2-Oe,-Ce/2+Oe]})(dr/Pr,wr/Pr,sr)}function ir(xe,er,Ge,tr,sr){var pr=1-sr;return xe*(pr*pr*pr)+er*(3*pr*pr*sr)+Ge*(3*pr*sr*sr)+tr*(sr*sr*sr)}Be.SVGPathDataTransformer=void 0,(function(xe){function er(){return sr((function(Pr,dr,wr){return Pr.relative&&(Pr.x1!==void 0&&(Pr.x1+=dr),Pr.y1!==void 0&&(Pr.y1+=wr),Pr.x2!==void 0&&(Pr.x2+=dr),Pr.y2!==void 0&&(Pr.y2+=wr),Pr.x!==void 0&&(Pr.x+=dr),Pr.y!==void 0&&(Pr.y+=wr),Pr.relative=!1),Pr}))}function Ge(){var Pr=NaN,dr=NaN,wr=NaN,Ce=NaN;return sr((function(vr,qr,He){return vr.type&mr.SMOOTH_CURVE_TO&&(vr.type=mr.CURVE_TO,Pr=isNaN(Pr)?qr:Pr,dr=isNaN(dr)?He:dr,vr.x1=vr.relative?qr-Pr:2*qr-Pr,
|
|||
|
|
`},Tr=function(xe){return 48<=xe.charCodeAt(0)&&xe.charCodeAt(0)<=57},Mr=(function(xe){function er(){var Ge=xe.call(this)||this;return Ge.curNumber="",Ge.curCommandType=-1,Ge.curCommandRelative=!1,Ge.canParseCommandOrComma=!0,Ge.curNumberHasExp=!1,Ge.curNumberHasExpDigits=!1,Ge.curNumberHasDecimal=!1,Ge.curArgs=[],Ge}return Te(er,xe),er.prototype.finish=function(Ge){if(Ge===void 0&&(Ge=[]),this.parse(" ",Ge),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return Ge},er.prototype.parse=function(Ge,tr){var sr=this;tr===void 0&&(tr=[]);for(var pr=function(vr){tr.push(vr),sr.curArgs.length=0,sr.canParseCommandOrComma=!0},Ir=0;Ir<Ge.length;Ir++){var Pr=Ge[Ir],dr=!(this.curCommandType!==mr.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),wr=Tr(Pr)&&(this.curNumber==="0"&&Pr==="0"||dr);if(!Tr(Pr)||wr)if(Pr!=="e"&&Pr!=="E")if(Pr!=="-"&&Pr!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(Pr!=="."||this.curNumberHasExp||this.curNumberHasDecimal||dr){if(this.curNumber&&this.curCommandType!==-1){var Ce=Number(this.curNumber);if(isNaN(Ce))throw new SyntaxError("Invalid number ending at "+Ir);if(this.curCommandType===mr.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>Ce)throw new SyntaxError('Expected positive number, got "'+Ce+'" at index "'+Ir+'"')}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 "'+Ir+'"')}this.curArgs.push(Ce),this.curArgs.length===Ze[this.curCommandType]&&(mr.HORIZ_LINE_TO===this.curCommandType?pr({type:mr.HORIZ_LINE_TO,relative:this.curCommandRelative,x:Ce}):mr.VERT_LINE_TO===this.curCommandType?pr({type:mr.VERT_LINE_TO,relative:this.curCommandRelative,y:Ce}):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(!xr(Pr))if(Pr===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(Pr!=="+"&&Pr!=="-"&&Pr!==".")if(wr)this.curNumber=Pr,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+Ir+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+Pr+'" at index '+Ir+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,Pr!=="z"&&Pr!=="Z")if(Pr==="h"||Pr==="H")this.curCommandType=mr.HORIZ_LINE_TO,this.curCommandRelative=Pr==="h";else if(Pr==="v"||Pr==="V")this.curCommandType=mr.VERT_LINE_TO,this.curCommandRelative=Pr==="v";else if(Pr==="m"||Pr==="M")this.curCommandType=mr.MOVE_TO,this.curCommandRelative=Pr==="m";else if(Pr==="l"||Pr==="L")this.curCommandType=mr.LINE_TO,this.curCommandRelative=Pr==="l";else if(Pr==="c"||Pr==="C")this.curCommandType=mr.CURVE_TO,this.curCommandRelative=Pr==="c";else if(Pr==="s"||Pr==="S")this.curCommandType=mr.SMOOTH_CURVE_TO,this.curCommandRelative=Pr==="s";else if(P
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var fr=!0,ur=!1,Br;return{s:function(){or=or.call(Er)},n:function(){var Qr=or.next();return fr=Qr.done,Qr},e:function(Qr){ur=!0,Br=Qr},f:function(){try{!fr&&or.return!=null&&or.return()}finally{if(ur)throw Br}}}}function kr(Er,Hr){if(Er){if(typeof Er=="string")return Jr(Er,Hr);var or=Object.prototype.toString.call(Er).slice(8,-1);if(or==="Object"&&Er.constructor&&(or=Er.constructor.name),or==="Map"||or==="Set")return Array.from(Er);if(or==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(or))return Jr(Er,Hr)}}function Jr(Er,Hr){(Hr==null||Hr>Er.length)&&(Hr=Er.length);for(var or=0,Ar=new Array(Hr);or<Hr;or++)Ar[or]=Er[or];return Ar}function $r(Er){var Hr=mn();return function(){var Ar=sr.default(Er),Ye;if(Hr){var fr=sr.default(this).constructor;Ye=Reflect.construct(Ar,arguments,fr)}else Ye=Ar.apply(this,arguments);return tr.default(this,Ye)}}function mn(){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(Er){return!1}}var ai=(function(Er){Ge.default(or,Er);var Hr=$r(or);function or(Ar,Ye,fr){var ur;mr.default(this,or),ur=Hr.call(this,Ar,Ye,fr),ur.type="font",ur.glyphs=Object.create(null),ur.horizAdvX=ur.getAttribute("horiz-adv-x").getNumber();var Br=Ar.definitions,Dr=Pr.default(ur),Qr=Dr.children,fn=yr(Qr),cn;try{for(fn.s();!(cn=fn.n()).done;){var Bn=cn.value;switch(Bn.type){case"font-face":{ur.fontFace=Bn;var Kn=Bn.getStyle("font-family");Kn.hasValue()&&(Br[Kn.getString()]=Pr.default(ur));break}case"missing-glyph":ur.missingGlyph=Bn;break;case"glyph":{var Nr=Bn;Nr.arabicForm?(ur.isRTL=!0,ur.isArabic=!0,typeof ur.glyphs[Nr.unicode]=="undefined"&&(ur.glyphs[Nr.unicode]=Object.create(null)),ur.glyphs[Nr.unicode][Nr.arabicForm]=Nr):ur.glyphs[Nr.unicode]=Nr;break}default:}}}catch(un){fn.e(un)}finally{fn.f()}return ur}return Ze.default(or,[{key:"render",value:function(){}}]),or})(us);function Zn(Er){var Hr=Mi();return function(){var Ar=sr.default(Er),Ye;if(Hr){var fr=sr.default(this).constructor;Ye=Reflect.construct(Ar,arguments,fr)}else Ye=Ar.apply(this,arguments);return tr.default(this,Ye)}}function Mi(){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(Er){return!1}}var Ki=(function(Er){Ge.default(or,Er);var Hr=Zn(or);function or(Ar,Ye,fr){var ur;return mr.default(this,or),ur=Hr.call(this,Ar,Ye,fr),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 or})(us);function da(Er){var Hr=hi();return function(){var Ar=sr.default(Er),Ye;if(Hr){var fr=sr.default(this).constructor;Ye=Reflect.construct(Ar,arguments,fr)}else Ye=Ar.apply(this,arguments);return tr.default(this,Ye)}}function hi(){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(Er){return!1}}var Oi=(function(Er){Ge.default(or,Er);var Hr=da(or);function or(){var Ar;return mr.default(this,or),Ar=Hr.apply(this,arguments),Ar.type="missing-glyph",Ar.horizAdvX=0,Ar}return or})(Ts);function Jo(Er){var Hr=gs();return function(){var Ar=sr.default(Er),Ye;if(Hr){var fr=sr.default(this).constructor;Ye=Reflect.construct(Ar,arguments,fr)}else Ye=Ar.apply(this,arguments);return tr.default(this,Ye)}}function gs(){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(Er){return!1}}var ns=(function(Er){Ge.default(or,Er);var Hr=Jo(or);function or(){var Ar;return mr.default(this,or),Ar=Hr.apply(this,arguments),Ar.typ
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var fr=!0,ur=!1,Br;return{s:function(){or=or.call(Er)},n:function(){var Qr=or.next();return fr=Qr.done,Qr},e:function(Qr){ur=!0,Br=Qr},f:function(){try{!fr&&or.return!=null&&or.return()}finally{if(ur)throw Br}}}}function $n(Er,Hr){if(Er){if(typeof Er=="string")return Ui(Er,Hr);var or=Object.prototype.toString.call(Er).slice(8,-1);if(or==="Object"&&Er.constructor&&(or=Er.constructor.name),or==="Map"||or==="Set")return Array.from(Er);if(or==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(or))return Ui(Er,Hr)}}function Ui(Er,Hr){(Hr==null||Hr>Er.length)&&(Hr=Er.length);for(var or=0,Ar=new Array(Hr);or<Hr;or++)Ar[or]=Er[or];return Ar}function Di(Er,Hr){var or=Object.keys(Er);if(Object.getOwnPropertySymbols){var Ar=Object.getOwnPropertySymbols(Er);Hr&&(Ar=Ar.filter(function(Ye){return Object.getOwnPropertyDescriptor(Er,Ye).enumerable})),or.push.apply(or,Ar)}return or}function ga(Er){for(var Hr=1;Hr<arguments.length;Hr++){var or=arguments[Hr]!=null?arguments[Hr]:{};Hr%2?Di(Object(or),!0).forEach(function(Ar){Mr.default(Er,Ar,or[Ar])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Er,Object.getOwnPropertyDescriptors(or)):Di(Object(or)).forEach(function(Ar){Object.defineProperty(Er,Ar,Object.getOwnPropertyDescriptor(or,Ar))})}return Er}function Ja(Er){var Hr=Fo();return function(){var Ar=sr.default(Er),Ye;if(Hr){var fr=sr.default(this).constructor;Ye=Reflect.construct(Ar,arguments,fr)}else Ye=Ar.apply(this,arguments);return tr.default(this,Ye)}}function Fo(){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(Er){return!1}}var ko=(function(Er){Ge.default(or,Er);var Hr=Ja(or);function or(Ar,Ye,fr){var ur;mr.default(this,or),ur=Hr.call(this,Ar,Ye,fr),ur.type="textPath",ur.textWidth=0,ur.textHeight=0,ur.pathLength=-1,ur.glyphInfo=null,ur.letterSpacingCache=[],ur.measuresCache=new Map([["",0]]);var Br=ur.getHrefAttribute().getDefinition();return ur.text=ur.getTextFromNode(),ur.dataArray=ur.parsePathData(Br),ur}return Ze.default(or,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(Ye){var fr=this.dataArray;Ye&&Ye.beginPath(),fr.forEach(function(ur){var Br=ur.type,Dr=ur.points;switch(Br){case pa.LINE_TO:Ye&&Ye.lineTo(Dr[0],Dr[1]);break;case pa.MOVE_TO:Ye&&Ye.moveTo(Dr[0],Dr[1]);break;case pa.CURVE_TO:Ye&&Ye.bezierCurveTo(Dr[0],Dr[1],Dr[2],Dr[3],Dr[4],Dr[5]);break;case pa.QUAD_TO:Ye&&Ye.quadraticCurveTo(Dr[0],Dr[1],Dr[2],Dr[3]);break;case pa.ARC:{var Qr=Tr.default(Dr,8),fn=Qr[0],cn=Qr[1],Bn=Qr[2],Kn=Qr[3],Nr=Qr[4],un=Qr[5],dn=Qr[6],yn=Qr[7],Gn=Bn>Kn?Bn:Kn,oi=Bn>Kn?1:Bn/Kn,Cn=Bn>Kn?Kn/Bn:1;Ye&&(Ye.translate(fn,cn),Ye.rotate(dn),Ye.scale(oi,Cn),Ye.arc(0,0,Gn,Nr,Nr+un,!!(1-yn)),Ye.scale(1/oi,1/Cn),Ye.rotate(-dn),Ye.translate(-fn,-cn));break}case pa.CLOSE_PATH:Ye&&Ye.closePath();break}})}},{key:"renderChildren",value:function(Ye){this.setTextData(Ye),Ye.save();var fr=this.parent.getStyle("text-decoration").getString(),ur=this.getFontSize(),Br=this.glyphInfo,Dr=Ye.fillStyle;fr==="underline"&&Ye.beginPath(),Br.forEach(function(Qr,fn){var cn=Qr.p0,Bn=Qr.p1,Kn=Qr.rotation,Nr=Qr.text;Ye.save(),Ye.translate(cn.x,cn.y),Ye.rotate(Kn),Ye.fillStyle&&Ye.fillText(Nr,0,0),Ye.strokeStyle&&Ye.strokeText(Nr,0,0),Ye.restore(),fr==="underline"&&(fn===0&&Ye.moveTo(cn.x,cn.y+ur/8),Ye.lineTo(Bn.x,Bn.y+ur/5))}),fr==="underline"&&(Ye.lineWidth=ur/20,Ye.strokeStyle=Dr,Ye.stroke(),Ye.closePath()),Ye.restore()}},{key:"getLetterSpacingAt",value:function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[Ye]||0}},{key:"findSegmentToFitChar",value:function(Ye,fr,ur,Br,Dr,Qr,fn,cn,Bn){var Kn=Qr,Nr=this.measureText(Ye,cn);cn===" "&&fr==="justify"&&ur<Br&&(Nr+=(Br-ur)/Dr),Bn>-1&&(Kn+=this.getLetterSpacingAt(Bn));var un=this.textHeight/20,dn=this.getEquidistantPointOnPath(Kn,un,0),yn=this.getEquidistantPointOnPath(Kn+Nr,un,0),Gn
|
|||
|
|
<option value="" disabled>`.concat(i18n.__("请选择字段"),"</option>");Ge.forEach(function(pr,Ir){pr.field==tr.field?sr+=' <option value="'+(pr.field||"")+'" selected >'+(pr.text||"")+"</option>":sr+=' <option value="'+(pr.field||"")+'" >'+(pr.text||"")+"</option>"}),sr+=" </select>",this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(sr),tr.getTarget().append(this.target),this.target.focus()},cr.prototype.getValue=function(){var Ge=this.target.val();return this.target.find('option[value="'+Ge+'"]').text()+"#"+Ge},cr.prototype.setValue=function(Ge){Ge&&!this.target.find('option[value="'+Ge+'"]').length&&this.target.find("select").prepend('<option value="'+Ge+'" >'+Ge+"</option>"),this.target.find("select").val(Ge)},cr.prototype.destroy=function(){this.target.remove()},cr),je=(Object.defineProperty($e,"Instance",{get:function(){return $e._instance=$e._instance?$e._instance:new $e},enumerable:!0,configurable:!0}),$e),Ue=(Object.defineProperty(ir,"Instance",{get:function(){return ir._instance=Te._instance?ir._instance:new ir},enumerable:!0,configurable:!0}),ir.prototype.createEditor=function(Ge){return jquery__WEBPACK_IMPORTED_MODULE_72___default.a.extend({},Te.Instance[Ge])},ir.prototype.createSelect=function(Ge){return jquery__WEBPACK_IMPORTED_MODULE_72___default.a.extend({},je.Instance[Ge])},ir),ke=Be(10),De=Be(14),ze=Be(11),Fe=(Je.prototype.init=function(Ge,tr){var sr=this;this.tableOptions=tr,this.title=Ge.title,this.field=Ge.field,Ge.getTarget().unbind("dblclick.hitable").bind("dblclick.hitable",function(){Ge.isEditing=!0,sr.beginEdit(Ge)})},Je.prototype.getDisplayHtml=function(){return this.title},Je.prototype.beginEdit=function(Ge){var tr=this;tr.tableOptions.options.fields&&tr.tableOptions.options.fields.length?(this.editor=Ue.Instance.createSelect("select"),Ge.getTarget().html(""),this.editor.init(tr.tableOptions.options.fields,Ge),this.editor.setValue(this.field||""),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).keydown(function(sr){sr.keyCode==13&&tr.endEdit(Ge)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).change(function(sr){tr.endEdit(Ge)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).blur(function(sr){tr.endEdit(Ge)})):(this.editor=Ue.Instance.createEditor("text"),Ge.getTarget().html(""),this.editor.init(Ge),(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(sr){sr.keyCode==13&&tr.endEdit(Ge)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.editor.target).blur(function(sr){tr.endEdit(Ge)}),this.tableOptions.editingCell&&this.tableOptions.editingCell.id!=Ge.id&&this.tableOptions.editingCell.innerElement.endEdit(this.tableOptions.editingCell),this.tableOptions.editingCell=Ge)},Je.prototype.endEdit=function(Ge){Ge.isEditing=0;var tr,sr=this.editor.getValue();sr?this.tableOptions.options.isEnableEditField||this.tableOptions.options.fields?(tr=sr.split("#"),Ge.title=this.title=tr[0],0<tr.length&&(Ge.columnId=Ge.field=this.field=tr[1]),Ge.id&&Ge.target.attr("id",Ge.id),Ge.columnId&&Ge.target.attr("column-id",Ge.columnId),hinnn.event.trigger("hiprintTemplateDataChanged_"+this.tableOptions.options.templateId,"调整表格列字段")):Ge.title=this.title=sr:this.tableOptions.options.isEnableEditField?(Ge.title=this.title="",Ge.field=this.field=""):Ge.title=this.title="",this.editor.destroy(),Ge.getTarget().html(this.title)},Je),Ie=function(Ge){this.title=Ge.title,this.field=Ge.field,this.width=Ge.width,this.align=Ge.align,this.halign=Ge.halign,this.vAlign=Ge.vAlign,this.colspan=Ge.colspan,this.rowspan=Ge.rowspan,this.checked=Ge.checked,this.columnId=Ge.columnId,this.tableSummaryTitle=Ge.tableSummaryTitle,this.tableSummaryText=Ge.tableSummaryText,this.tableSummaryColspan=Ge.tableSummaryColspan,this.tableSummary=Ge.tableSummary,this.tableSummaryAlign=Ge.tableSummaryAlign,this.tableSummaryNumFormat=Ge.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},li.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},li.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},li.prototype.destroy=function(){this.target.remove()};var Ee=li,Te=(ii.prototype.createTarget=function(Ve){var Zr,Ai=void 0;return(Ai=Ve?Ve.getFontList():Ai)?(Zr=`<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>"),Ai.forEach(function(Bi,ki){Zr+=' <option value="'+(Bi.value||"")+'" >'+(Bi.title||"")+"</option>"}),Zr+=` </select>
|
|||
|
|
</div>
|
|||
|
|
</div>`,this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Zr)):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},ii.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("font-family",Zr),"font-family:"+Zr;Ve[0].style.fontFamily="inherit"}return null},ii.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},ii.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},ii.prototype.destroy=function(){this.target.remove()},ii),Se=(Qn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("font-size",Zr+"pt"),"font-size:"+Zr+"pt";Ve[0].style.fontSize=""}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>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Qn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},Qn.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},Qn.prototype.destroy=function(){this.target.remove()},Qn),je=(Un.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("font-weight",Zr),"font-weight:"+Zr;Ve[0].style.fontWeight=""}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="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},Un.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Un.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},Un.prototype.destroy=function(){this.target.remove()},Un),Ue=(_n.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("letter-spacing",Zr+"pt"),"letter-spacing:"+Zr+"pt";Ve[0].style.letterSpacing=""}return null},_n.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},_n.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},_n.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},_n.prototype.destroy=function(){this.target.remove()},_n),ke=(vn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("text-align",Zr),Zr=="justify"?(Ve.css("text-align-last","justify"),Ve.css("text-justify","distribute-all-lines")):(Ve[0].style.textAlignLast="",Ve[0].style.textJustify=""),"text-align:"+Zr;Ve[0].style.textAlign="",Ve[0].style.textAlignLast="",Ve[0].style.textJustify=""}return null},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="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},vn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},vn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},vn.prototype.destroy=function(){this.target.remove()},vn),De=(Wr.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},Wr.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},Wr.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},Wr.prototype.destroy=function(){this.target.remove()},Wr),ze=(Ii.prototype.css=function(Ve,Zr){if(Ve.find("table").length){if(Zr=="border"||Zr==null)return Ve.find("table").css("border","1px solid"),"border:1px solid";Zr=="noBorder"?Ve.find("table").css("border","0px solid"):Ve.find("table")[0].style.border=""}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 Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Ii.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Ii.prototype.destroy=function(){this.target.remove()},Ii),Fe=(mi.prototype.css=function(Ve,Zr){if(Ve.find("thead tr").length){if(Zr=="border"||Zr==null)return Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-all");Zr=="noBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-none"):Zr=="leftBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-left"):Zr=="rightBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-right"):Zr=="leftRightBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-lr"):Zr=="topBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-top"):Zr=="bottomBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-bottom"):Zr=="topBottomBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ve.find("thead tr").removeClass()}return null},mi.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},mi.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},mi.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},mi.prototype.destroy=function(){this.target.remove()},mi),Ie=(Jn.prototype.css=function(Ve,Zr){if(Ve.find("thead tr").length){if(Zr=="border"||Zr==null)return Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-all");Zr=="noBorder"?Ve.find("thead tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ve.find("thead tr").removeClass()}return null},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="border" >`).concat(i18n.__("有边框"),`</option>
|
|||
|
|
<option value="noBorder" >`).concat(i18n.__("无边框"),`</option>
|
|||
|
|
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Jn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Jn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Jn.prototype.destroy=function(){this.target.remove()},Jn),_e=(Yn.prototype.css=function(Ve,Zr){if(Ve.find("tfoot tr").length){if(Zr=="border"||Zr==null)return Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-all");Zr=="noBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-none"):Zr=="leftBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-left"):Zr=="rightBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-right"):Zr=="leftRightBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-lr"):Zr=="topBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-top"):Zr=="bottomBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-bottom"):Zr=="topBottomBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ve.find("tfoot 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>
|
|||
|
|
<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},Yn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Yn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Yn.prototype.destroy=function(){this.target.remove()},Yn),Ae=(Xn.prototype.css=function(Ve,Zr){if(Ve.find("tfoot tr").length){if(Zr=="border"||Zr==null)return Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-all");Zr=="noBorder"?Ve.find("tfoot tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ve.find("tfoot tr").removeClass()}return null},Xn.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},Xn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Xn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Xn.prototype.destroy=function(){this.target.remove()},Xn),Je=(Ln.prototype.css=function(Ve,Zr){if(Ve.find("thead tr td").length){if(Zr)return Ve.find("thead tr td:not([rowspan])").css("height",Zr+"pt"),"height:"+Zr+"pt";Ve.find("thead tr td").map(function(Ai,Bi){Bi.style.height=""})}return null},Ln.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},Ln.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},Ln.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},Ln.prototype.destroy=function(){this.target.remove()},Ln),ir=(pi.prototype.css=function(Ve,Zr){if(Ve.find("thead").length){if(Zr)return Ve.find("thead").css("font-size",Zr+"pt"),"font-size:"+Zr+"pt";Ve.find("thead").map(function(Ai,Bi){Bi.style.fontSize=""})}return null},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="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},pi.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},pi.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},pi.prototype.destroy=function(){this.target.remove()},pi),$e=(qn.prototype.css=function(Ve,Zr){if(Ve.find("thead").length){if(Zr)return Ve.find("thead tr td").css("font-weight",Zr),"font-weight:"+Zr;Ve.find("thead tr td").map(function(Ai,Bi){Bi.style.fontWeight=""})}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="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},qn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},qn.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},qn.prototype.destroy=function(){this.target.remove()},qn),cr=(On.prototype.css=function(Ve,Zr){if(Ve.find("tbody tr").length){if(Zr=="border"||Zr==null)return Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-all");Zr=="noBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-td-none"):Ve.find("tbody tr").removeClass()}return null},On.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},On.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},On.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},On.prototype.destroy=function(){this.target.remove()},On),xr=(Hn.prototype.css=function(Ve,Zr){if(Ve.find("tbody tr td").length){if(Zr)return Ve.find("tbody tr td").css("height",Zr+"pt"),"height:"+Zr+"pt";Ve.find("tbody tr td").map(function(Ai,Bi){Bi.style.height=""})}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="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},Hn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},Hn.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},Hn.prototype.destroy=function(){this.target.remove()},Hn),Tr=(zn.prototype.css=function(Ve,Zr){if(Ve.find("thead").length){if(Zr)return Ve.find("thead").css("background",Zr),"background:"+Zr;Ve.find("thead").map(function(Ai,Bi){Bi.style.background=""})}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">
|
|||
|
|
<input type="text" class="auto-submit" />
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},zn.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},zn.prototype.setValue=function(Ve){this.target.find("input").minicolors({defaultValue:Ve||"",theme:"bootstrap"}),this.target.find("input").val(Ve)},zn.prototype.destroy=function(){this.target.remove()},zn),Mr=(ni.prototype.createTarget=function(Ve){return Ve=["hline","vline","rect","oval"].includes(Ve.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(Ve,`
|
|||
|
|
</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},ni.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-width",Zr+"pt"),"border-width:"+Zr+"pt";Ve[0].style.borderWidth=""}return null},ni.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},ni.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},ni.prototype.destroy=function(){this.target.remove()},ni),mr=(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">
|
|||
|
|
<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},ri.prototype.getValue=function(){return this.target.find("select").val()||void 0},ri.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},ri.prototype.destroy=function(){this.target.remove()},ri),Ze=(Wn.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},Wn.prototype.getValue=function(){return this.target.find("select").val()||void 0},Wn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Wn.prototype.destroy=function(){this.target.remove()},Wn),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="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option></select></div></div>')),this.target},Sn.prototype.getValue=function(){return this.target.find("select").val()||void 0},Sn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Sn.prototype.destroy=function(){this.target.remove()},Sn),er=(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="true">').concat(i18n.__("自动"),'</option><option value="false">').concat(i18n.__("不自动"),"</option></select></div></div>")),this.target},kn.prototype.getValue=function(){return this.target.find("select").val()||void 0},kn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},kn.prototype.destroy=function(){this.target.remove()},kn),Ge=(wn.prototype.createTarget=function(){var Ve=[{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},pn.prototype.getValue=function(){var Ve=this.target.find("select").val();return parseInt(Ve||0)},pn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},pn.prototype.destroy=function(){this.target.remove()},pn),pr=(sn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("color",Zr),"color:"+Zr;Ve[0].style.color=""}return null},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">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},sn.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},sn.prototype.setValue=function(Ve){this.target.find("input").minicolors({defaultValue:Ve||"",theme:"bootstrap"}),this.target.find("input").val(Ve)},sn.prototype.destroy=function(){this.target.remove()},sn),Ir=(bn.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},bn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("text-decoration",Zr),"text-decoration:"+Zr;Ve[0].style.textDecoration=""}return null},bn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},bn.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},bn.prototype.destroy=function(){this.target.remove()},bn),Pr=(Vr.prototype.createTarget=function(Ve){var Zr,Ai=void 0;return(Ai=Ve?Ve.getFields():Ai)?(this.isSelect=!0,Zr=`<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>"),Ai.forEach(function(Bi,ki){Zr+=' <option value="'+(Bi.field||"")+'" >'+(Bi.text||"")+"</option>"}),Zr+=` </select>
|
|||
|
|
</div>
|
|||
|
|
</div>`,this.target=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Zr)):(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},Vr.prototype.getValue=function(){return(this.isSelect?this.target.find("select"):this.target.find("input")).val()||void 0},Vr.prototype.setValue=function(Ve){this.isSelect?Ve&&(this.target.find('option[value="'+Ve+'"]').length||this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)):this.target.find("input").val(Ve)},Vr.prototype.destroy=function(){this.target.remove()},Vr),dr=(en.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},en.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},en.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve)},en.prototype.destroy=function(){this.target.remove()},en),wr=(Kr.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},Kr.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},Kr.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Kr.prototype.destroy=function(){this.target.remove()},Kr),Ce=(Rr.prototype.createTarget=function(Ve,Zr){var Ai=this;return Ai.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>`)),Ai.syncLock=Zr.coordinateSync||!1,Ai.createSyncLock(Ai.syncLock),Ai.target},Rr.prototype.createSyncLock=function(Ve){var Zr=this;return Zr.lockTarget=Zr.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>')),Zr.lockTarget.click(function(){Zr.syncLock?Zr.lockTarget.text("🔓").attr("title","".concat(i18n.__("不同步"))):Zr.lockTarget.text("🔗").attr("title","".concat(i18n.__("同步"))),Zr.syncLock=!Zr.syncLock}),Zr.target.find("input:first").after(Zr.lockTarget),Zr.target.find("input:first").change(function(){Zr.syncLock&&Zr.target.find("input:last").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),Zr.target.find("input:last").change(function(){Zr.syncLock&&Zr.target.find("input:first").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),Zr.lockTarget},Rr.prototype.css=function(Ve){var Zr;return Ve&&Ve.length&&this.target&&(Ve.find(".resize-panel").css("display")=="block"||Ve[0].className.includes("table"))&&this.el==Ve?(Zr=this.getValue(),Ve.css("left",Zr.left+"pt").css("top",Zr.top+"pt")):null},Rr.prototype.getValue=function(){var Ve={coordinateSync:this.syncLock,left:0,top:0};return Ve.left=parseFloat(this.target.find("input:first").val()||0),Ve.top=parseFloat(this.target.find("input:last").val()||0),Ve},Rr.prototype.setValue=function(Ve,Zr){this.el=Zr.designTarget||Zr,this.target.find("input:first").val(Ve.left),this.target.find("input:last").val(Ve.top)},Rr.prototype.destroy=function(){this.target.remove()},Rr),vr=(Lr.prototype.createTarget=function(Ve,Zr){var Ai=this;return Ai.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>`)),Ai.syncLock=Zr.widthHeightSync||!1,Ai.createSyncLock(Ai.syncLock),Ai.target},Lr.prototype.createSyncLock=function(Ve){var Zr=this;return Zr.lockTarget=Zr.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>')),Zr.lockTarget.click(function(){Zr.syncLock?Zr.lockTarget.text("🔓").attr("title","".concat(i18n.__("不同步"))):Zr.lockTarget.text("🔗").attr("title","".concat(i18n.__("同步"))),Zr.syncLock=!Zr.syncLock}),Zr.target.find("input:first").after(Zr.lockTarget),Zr.target.find("input:first").change(function(){Zr.syncLock&&Zr.target.find("input:last").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),Zr.target.find("input:last").change(function(){Zr.syncLock&&Zr.target.find("input:first").val(jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val())}),Zr.lockTarget},Lr.prototype.css=function(Ve){var Zr;return Ve&&Ve.length&&this.target&&(Ve.find(".resize-panel").css("display")=="block"||Ve[0].className.includes("table"))&&this.el==Ve?(Zr=this.getValue(),Ve.css("width",Zr.width+"pt").css("height",Zr.height+"pt")):null},Lr.prototype.getValue=function(){var Ve={widthHeightSync:this.syncLock,width:0,height:0};return Ve.width=parseFloat(this.target.find("input:first").val()||0),Ve.height=parseFloat(this.target.find("input:last").val()||0),Ve},Lr.prototype.setValue=function(Ve,Zr){this.el=Zr.designTarget||Zr,this.target.find("input:first").val(Ve.width),this.target.find("input:last").val(Ve.height)},Lr.prototype.destroy=function(){this.target.remove()},Lr),qr=(Yr.prototype.createTarget=function(Ve){this.el=Ve;var Zr=void 0,Ai=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>`)),(Zr=Ve?Ve.getOnImageChooseClick():Zr)&&this.target.find("button").click(function(){Zr&&Zr(Ai)}),this.target},Yr.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},Yr.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Yr.prototype.refresh=function(Ve,Zr,Ai){var Bi,ki=this;this.setValue(Ve),this.target.find("input").change(),this.el&&Zr&&((Bi=new Image).src=Ve,Bi.complete?ki.updateEl(Bi.width,Bi.height,Zr,Ai):Bi.onload=function(){ki.updateEl(Bi.width,Bi.height,Zr,Ai)})},Yr.prototype.updateEl=function(Ve,Zr,Ai,Bi){var ki,Ei,Wi;Ai&&(Ai&&Ai.auto&&(Zr<=Ve?Ai.width=!0:Ai.height=!0),Ai.width?(ki=Zr/Ve,Ei=this.el.options.width,Wi=Math.floor(Ei*ki*10)/10,this.el.options.height=Wi,this.el.designTarget.css("height",Wi+"pt")):Ai.height?(ki=Ve/Zr,Wi=this.el.options.height,Ei=Math.floor(Wi*ki*10)/10,this.el.options.width=Ei,this.el.designTarget.css("width",Ei+"pt")):Ai.real&&(Ei=hinnn.px.toPt(Ve),Wi=hinnn.px.toPt(Zr),this.el.options.width=Ei,this.el.options.height=Wi,this.el.designTarget.css("width",Ei+"pt"),this.el.designTarget.css("height",Wi+"pt")),this.el.designTarget.children(".resize-panel").trigger(jquery__WEBPACK_IMPORTED_MODULE_72___default.a.Event("click"))),Bi&&Bi(this.el,Ve,Zr)},Yr.prototype.destroy=function(){this.target.remove()},Yr),He=(rn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.find("img").css("object-fit",Zr),"object-fit:"+Zr;Ve.find("img")[0].style["object-fit"]=""}return null},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">
|
|||
|
|
<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},rn.prototype.getValue=function(){return this.target.find("select").val()},rn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},rn.prototype.destroy=function(){this.target.remove()},rn),Oe=(zr.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-color",Zr),"border-color:"+Zr;Ve[0].style.borderColor=""}return null},zr.prototype.createTarget=function(Ve){return Ve=["hline","vline","rect","oval"].includes(Ve.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(Ve,`
|
|||
|
|
</div>
|
|||
|
|
<div class="hiprint-option-item-field">
|
|||
|
|
<input type="text" class="auto-submit" />
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},zr.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},zr.prototype.setValue=function(Ve){this.target.find("input").minicolors({defaultValue:Ve||"",theme:"bootstrap"}),this.target.find("input").val(Ve)},zr.prototype.destroy=function(){this.target.remove()},zr),rr=(Gr.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 Ve=`
|
|||
|
|
<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(Zr){Ve+=`
|
|||
|
|
<option value="`+Zr+'">'+Zr+"</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()(Ve)),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},Gr.prototype.getValue=function(){var Ve={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,Ve)},Gr.prototype.setValue=function(Ve){this.options=Ve,this.content.find("input").val(Ve.content||""),this.fillStyle.find("input").val(Ve.fillStyle||"rgba(184, 184, 184, 0.3)"),this.fillStyle.find("input").minicolors({format:"rgb",opacity:!0,theme:"bootstrap"});var Zr=parseInt(Ve.fontSize||"14");this.fontSize.find("input").val(Zr),this.rotate.find("input").val(Ve.rotate||25),this.width.find("input").val(Ve.width||200),this.height.find("input").val(Ve.height||200),this.timestamp.find("input").attr("checked",Ve.timestamp!=null&&Ve.timestamp),this.format.find("select").val(Ve.format||"YYYY-MM-DD HH:mm")},Gr.prototype.destroy=function(){this.target.remove()},Gr),xn=(jr.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},jr.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},jr.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},jr.prototype.destroy=function(){this.target.remove()},jr),Mn=(gr.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},gr.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},gr.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},gr.prototype.destroy=function(){this.target.remove()},gr),Vn=(is.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},is.prototype.getValue=function(){return this.target.find("select").val()=="true"},is.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null||Ve?"true":"reset").toString())},is.prototype.destroy=function(){this.target.remove()},is),Nn=(ko.prototype.css=function(Ve,Zr){return null},ko.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},ko.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},ko.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},ko.prototype.destroy=function(){this.target.remove()},ko),tn=(Fo.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr&&Zr=="none")return Ve.addClass("alwaysHide");Ve.removeClass("alwaysHide")}return null},Fo.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},Fo.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Fo.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Fo.prototype.destroy=function(){this.target.remove()},Fo),fi=(Ja.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr&&Zr=="none")return Ve.addClass("alwaysHide");Ve.removeClass("alwaysHide")}return null},Ja.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},Ja.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},Ja.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},Ja.prototype.destroy=function(){this.target.remove()},Ja),xi=(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="odd" >`).concat(i18n.__("保持奇数"),`</option>
|
|||
|
|
<option value="even" >`).concat(i18n.__("保持偶数"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},ga.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},ga.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},ga.prototype.destroy=function(){this.target.remove()},ga),Ur=(Di.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},Di.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Di.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Di.prototype.destroy=function(){this.target.remove()},Di),di=(Ui.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},Ui.prototype.getValue=function(){if(this.target.find("select").val()=="false")return!1},Ui.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},Ui.prototype.destroy=function(){this.target.remove()},Ui),gn=($n.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},$n.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},$n.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},$n.prototype.destroy=function(){this.target.remove()},$n),si=(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 Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},Rn.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Rn.prototype.destroy=function(){this.target.remove()},Rn),Pi=(nn.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},nn.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},nn.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},nn.prototype.destroy=function(){this.target.remove()},nn),Fn=(hr.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},hr.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},hr.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},hr.prototype.destroy=function(){this.target.remove()},hr),Xa=(l1.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},l1.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},l1.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},l1.prototype.destroy=function(){this.target.remove()},l1),Sa=(ns.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},ns.prototype.getValue=function(){return this.target.find("select").val()||void 0},ns.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},ns.prototype.destroy=function(){this.target.remove()},ns),na=(gs.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},gs.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},gs.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},gs.prototype.destroy=function(){this.target.remove()},gs),Na=(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 Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},Jo.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Jo.prototype.destroy=function(){this.target.remove()},Jo),ya=(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="first" >`).concat(i18n.__("首页"),`</option>
|
|||
|
|
<option value="last" >`).concat(i18n.__("尾页"),`</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},Oi.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},Oi.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Oi.prototype.destroy=function(){this.target.remove()},Oi),_a=(hi.prototype.css=function(Ve,Zr){if(Ve.find("tbody tr").length){if(Zr=="border"||Zr==null)return Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-all");Zr=="noBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-none"):Zr=="leftBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-left"):Zr=="rightBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-right"):Zr=="leftRightBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-lr"):Zr=="topBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-top"):Zr=="bottomBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-bottom"):Zr=="topBottomBorder"?Ve.find("tbody tr").addClass("hiprint-printElement-tableTarget-border-tb"):Ve.find("tbody tr").removeClass()}return null},hi.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},hi.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},hi.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},hi.prototype.destroy=function(){this.target.remove()},hi),lr=(da.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){var Ai=Ve.find(".hiprint-printElement-content").parent(".hiprint-printElement");if(Ai.length||(Ai=Ve),Zr)return Ai.css("transform","rotate("+Zr+"deg)"),Ai.css("-ms-transform","rotate("+Zr+"deg)"),Ai.css("-moz-transform","rotate("+Zr+"deg)"),Ai.css("-webkit-transform","rotate("+Zr+"deg)"),Ai.css("-o-transform","rotate("+Zr+"deg)"),"transform:rotate("+Zr+"deg)";Ai.length&&(Ai[0].style.transform="")}return null},da.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},da.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},da.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},da.prototype.destroy=function(){this.target.remove()},da),Sr=(Ki.prototype.css=function(Ve,Zr){return Ve&&Ve.length&&Zr?Ve.css("z-index",Zr):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 Ve=this.target.find("input").val();if(Ve)return parseInt(Ve.toString())},Ki.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Ki.prototype.destroy=function(){this.target.remove()},Ki),ha=(Mi.prototype.css=function(Ve,Zr){return Ve&&Ve.length&&Zr?Ve.css("border-raduis",Zr):null},Mi.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},Mi.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve},Mi.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},Mi.prototype.destroy=function(){this.target.remove()},Mi),oo=(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(Ve){},Zn.prototype.destroy=function(){this.target.remove()},Zn),Qa=(ai.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-top-style",Zr),"border-top:1px";Ve[0].style.borderTopStyle="",Ve[0].style.borderTopWidth=""}return null},ai.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},ai.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},ai.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},ai.prototype.destroy=function(){this.target.remove()},ai),xs=(mn.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-left-style",Zr),"border-left:1px";Ve[0].style.borderLeftStyle="",Ve[0].style.borderLeftWidth=""}return null},mn.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},mn.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},mn.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},mn.prototype.destroy=function(){this.target.remove()},mn),Ti=($r.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-right-style",Zr),"border-right:1px";Ve[0].style.borderRightStyle="",Ve[0].style.borderRightWidth=""}return null},$r.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},$r.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},$r.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},$r.prototype.destroy=function(){this.target.remove()},$r),Ya=(Jr.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-bottom-style",Zr),"border-bottom-style:1px solid";Ve[0].style.borderBottomStyle="",Ve[0].style.borderBottomWidth=""}return null},Jr.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},Jr.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},Jr.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Jr.prototype.destroy=function(){this.target.remove()},Jr),xa=(kr.prototype.css=function(Ve,Zr){if(Ve=Ve.find(".hiprint-printElement-content"),Ve&&Ve.length){if(Zr)return Ve.css("padding-left",Zr+"pt"),"padding-left";Ve[0].style.paddingLeft=""}return null},kr.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},kr.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},kr.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},kr.prototype.destroy=function(){this.target.remove()},kr),Za=(yr.prototype.css=function(Ve,Zr){if(Ve=Ve.find(".hiprint-printElement-content"),Ve&&Ve.length){if(Zr)return Ve.css("padding-top",Zr+"pt"),"padding-top";Ve[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 Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},yr.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},yr.prototype.destroy=function(){this.target.remove()},yr),ka=(ar.prototype.css=function(Ve,Zr){if(Ve=Ve.find(".hiprint-printElement-content"),Ve&&Ve.length){if(Zr)return Ve.css("padding-right",Zr+"pt"),"padding-right";Ve[0].style.paddingRight=""}return null},ar.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},ar.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},ar.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},ar.prototype.destroy=function(){this.target.remove()},ar),Ro=(We.prototype.css=function(Ve,Zr){if(Ve=Ve.find(".hiprint-printElement-content"),Ve&&Ve.length){if(Zr)return Ve.css("padding-bottom",Zr+"pt"),"padding-bottom";Ve[0].style.paddingBottom=""}return null},We.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},We.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},We.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},We.prototype.destroy=function(){this.target.remove()},We),qo=(aA.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("border-style",Zr),"border-style:1px";Ve[0].style.borderStyle=""}return null},aA.prototype.createTarget=function(Ve){return Ve=["hline","vline","rect","oval"].includes(Ve.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(Ve,`
|
|||
|
|
</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},aA.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},aA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},aA.prototype.destroy=function(){this.target.remove()},aA),fa=(zA.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("background-color",Zr),"background-color:"+Zr;Ve[0].style.backgroundColor=""}return null},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">
|
|||
|
|
<input type="text" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},zA.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},zA.prototype.setValue=function(Ve){this.target.find("input").minicolors({defaultValue:Ve||"",theme:"bootstrap"}),this.target.find("input").val(Ve)},zA.prototype.destroy=function(){this.target.remove()},zA),fo=(mc.prototype.css=function(Ve,Zr){return Ve&&Ve.length,null},mc.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},mc.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},mc.prototype.setValue=function(Ve){this.target.find("input").minicolors({defaultValue:Ve||"",theme:"bootstrap"}),this.target.find("input").val(Ve)},mc.prototype.destroy=function(){this.target.remove()},mc),no=(TA.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},TA.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},TA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},TA.prototype.destroy=function(){this.target.remove()},TA),mo=(iA.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},iA.prototype.css=function(Ve,Zr){return Ve&&Ve.length&&(Ve.removeClass("hiprint-text-content-middle"),Ve.removeClass("hiprint-text-content-bottom"),Zr)?(Zr==="middle"&&Ve.addClass("hiprint-text-content-middle"),Zr==="bottom"&&Ve.addClass("hiprint-text-content-bottom"),""):null},iA.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},iA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},iA.prototype.destroy=function(){this.target.remove()},iA),Co=(fA.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},fA.prototype.css=function(Ve,Zr){return Ve&&Ve.length&&(Ve.removeClass("hiprint-text-content-wrap"),Ve.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-nowrap"),Ve.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-clip"),Ve.find(".hiprint-printElement-text-content").removeClass("hiprint-text-content-wrap-ellipsis"),Zr)?(Ve.addClass("hiprint-text-content-wrap"),Ve.find(".hiprint-printElement-text-content").addClass("hiprint-text-content-wrap-"+Zr),""):null},fA.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},fA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},fA.prototype.destroy=function(){this.target.remove()},fA),os=Be(5),Ps=(ec.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},ec.prototype.getValue=function(){return this.buildData()},ec.prototype.setValue=function(Ve,Ei,Ai){var Bi=this,ki=this,Ei=(this.value=Ve,this.options=Ei,(this.printElementType=Ai).columns[0].filter(function(Wi){return Ve[0].columns.filter(function(ma){return Wi.columnId==ma.columnId}).length==0}).map(function(Wi){return Wi=new os.a(Wi),Wi.checked=!1,Wi}));this.allColumns=Ve[0].columns.concat(Ei),Ve&&Ve.length==1&&(this.target.find("ul").html(this.allColumns.map(function(Wi,ma){return`<li class="hiprint-option-table-selected-item"> <div class="hi-pretty p-default">
|
|||
|
|
`+(Wi.checked?'<input type="checkbox" checked column-id="'+(Wi.id||Wi.columnId)+'" />':'<input type="checkbox" column-id="'+(Wi.id||Wi.columnId)+'" />')+`
|
|||
|
|
<div class="state">
|
|||
|
|
<label></label>
|
|||
|
|
</div>
|
|||
|
|
</div><span class="column-title">`+(Wi.title||Wi.descTitle||"")+"</span></li>"}).join("")),this.target.find("input").change(function(va){var ma=va.target.checked,Ba=va.target.attributes["column-id"].nodeValue||"",va=Bi.allColumns.findIndex(function(Aa){return Aa.field==Ba||Aa.id==Ba});0<=va&&(Bi.allColumns[va].checked=ma),Bi.submit()}),this.printElementType.columnDisplayIndexEditable)&&this.target.find("li").hidraggable({revert:!0,handle:".column-title",moveUnit:"pt",deltaX:0,deltaY:0}).hidroppable({onDragOver:function(Wi,ma){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color","red")},onDragLeave:function(Wi,ma){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color","")},onDrop:function(Wi,ma){jquery__WEBPACK_IMPORTED_MODULE_72___default()(ma).insertBefore(this),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).css("border-top-color",""),ki.submit()}})},ec.prototype.buildData=function(){var Ve=this,Zr=[];return 1<Ve.options.columns.length||(Ve.printElementType.makeColumnObj(Ve.allColumns),this.target.find("input").map(function(Ai,Ei){var ki,Ei=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ei).attr("column-id"),Ei=Ve.printElementType.getColumnByColumnId(Ei);Ei&&((ki=new os.a(Ei)).checked=Ei.checked,Zr.push(ki))}),this.value[0].columns=Zr),this.value},ec.prototype.destroy=function(){this.target.remove()},ec),hs=(g1.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},g1.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},g1.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},g1.prototype.destroy=function(){this.target.remove()},g1),Uo=(vc.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},vc.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve},vc.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},vc.prototype.destroy=function(){this.target.remove()},vc),Qo=(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">
|
|||
|
|
<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},OA.prototype.getValue=function(){return this.target.find("select").val()||void 0},OA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},OA.prototype.destroy=function(){this.target.remove()},OA),cs=(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">
|
|||
|
|
<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},QA.prototype.getValue=function(){var Ve=this.target.find("select").val();return parseInt(Ve||0)},QA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},QA.prototype.destroy=function(){this.target.remove()},QA),Ns=(SA.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},SA.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},SA.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},SA.prototype.destroy=function(){this.target.remove()},SA),Y1=(vl.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},vl.prototype.getValue=function(){return this.target.find("select").val()!="false"},vl.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},vl.prototype.destroy=function(){this.target.remove()},vl),cA=(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">
|
|||
|
|
<input type="text" placeholder="`).concat(i18n.__("聚合类型"),`:" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},xA.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},xA.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},xA.prototype.destroy=function(){this.target.remove()},xA),So=(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">
|
|||
|
|
<input type="number" min="0" step="1" placeholder="`).concat(i18n.__("合并列数"),`" class="auto-submit" >
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},al.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return Ve.toString()},al.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},al.prototype.destroy=function(){this.target.remove()},al),r1=(Wl.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},Wl.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Wl.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Wl.prototype.destroy=function(){this.target.remove()},Wl),H1=(Gl.prototype.createTarget=function(){var Ve=[{t:"".concat(i18n.__("整数")),v:"0"}],Zr=([1,2,3,4,5,6].forEach(function(Ai){Ve.push({t:i18n.__n("保留%s位",Ai),v:""+Ai})}),`
|
|||
|
|
<option value="" >`.concat(i18n.__("默认"),"</option>"));return Ve.forEach(function(Ai){Zr+=`
|
|||
|
|
<option value="`+(Ai.v||"")+'">'+(Ai.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()(Zr)),this.target},Gl.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Gl.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Gl.prototype.destroy=function(){this.target.remove()},Gl),us=(gc.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},gc.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},gc.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},gc.prototype.destroy=function(){this.target.remove()},gc),yo=(L1.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},L1.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},L1.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},L1.prototype.destroy=function(){this.target.remove()},L1),Ys=(P1.prototype.createTarget=function(){var Ve=`
|
|||
|
|
<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(Zr){Ve+=`
|
|||
|
|
<option value='`.concat(Zr.v,"'>").concat(Zr.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()(Ve)),this.target},P1.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},P1.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},P1.prototype.destroy=function(){this.target.remove()},P1),Fs=(il.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},il.prototype.getValue=function(){return this.target.find("select").val()},il.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},il.prototype.destroy=function(){this.target.remove()},il),ra=(zl.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},zl.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseFloat(Ve.toString())},zl.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},zl.prototype.destroy=function(){this.target.remove()},zl),Ka=(Ul.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},Ul.prototype.getValue=function(){var Ve={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,Ve)},Ul.prototype.setValue=function(Ve){this.options=Ve,this.layoutType.find("select").val(Ve.layoutType||"column"),this.layoutRowGap.find("input").val(Ve.layoutRowGap),this.layoutColumnGap.find("input").val(Ve.layoutColumnGap)},Ul.prototype.destroy=function(){this.target.remove()},Ul),Fa=(_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">
|
|||
|
|
<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},_A.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},_A.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},_A.prototype.destroy=function(){this.target.remove()},_A),Xo=(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="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},hc.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},hc.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.find(".table-grid-row").css("margin-left","-"+Zr+"pt").css("margin-right","-"+Zr+"pt"),Ve.find(".tableGridColumnsGutterRow").css("padding-left",Zr+"pt").css("padding-right",Zr+"pt"),null;Ve.find(".table-grid-row").map(function(Ai,Bi){Bi.style.marginLeft="",Bi.style.marginRight=""}),Ve.find(".tableGridColumnsGutterRow").map(function(Ai,Bi){Bi.style.paddingLeft="",Bi.style.paddingRight=""})}return null},hc.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},hc.prototype.destroy=function(){this.target.remove()},hc),oa=(nl.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},nl.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},nl.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},nl.prototype.destroy=function(){this.target.remove()},nl),No=(Vo.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("padding-left",Zr+"pt"),"padding-left";Ve[0].style.paddingLeft=""}return null},Vo.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},Vo.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},Vo.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},Vo.prototype.destroy=function(){this.target.remove()},Vo),Ss=($l.prototype.css=function(Ve,Zr){if(Ve&&Ve.length){if(Zr)return Ve.css("padding-right",Zr+"pt"),"padding-right";Ve[0].style.paddingRight=""}return null},$l.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},$l.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return parseFloat(Ve.toString())},$l.prototype.setValue=function(Ve){Ve&&!this.target.find('option[value="'+Ve+'"]').length&&this.target.find("select").prepend('<option value="'+Ve+'" >'+Ve+"</option>"),this.target.find("select").val(Ve)},$l.prototype.destroy=function(){this.target.remove()},$l),Fi=(Ol.prototype.createTarget=function(){var Ve=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 Zr=jquery__WEBPACK_IMPORTED_MODULE_72___default()(Ve.target.find(".hiprint-option-item-datatype")).val();Ve.loadFormatSelectByDataType(Zr),Ve.submit(Ve.getValue())}),this.target},Ol.prototype.getValue=function(){var Ve=this.target.find(".hiprint-option-item-datatype").val();return Ve?{dataType:Ve,format:this.target.find(".hiprint-option-item-datatype-format").val()||void 0}:{dataType:void 0,format:void 0}},Ol.prototype.setValue=function(Ve,Zr){this.target.find(".hiprint-option-item-datatype").val(Zr.dataType||""),this.loadFormatSelectByDataType(Zr.dataType),this.target.find(".hiprint-option-item-datatype-format").val(Zr.format||"")},Ol.prototype.destroy=function(){this.target.remove()},Ol.prototype.loadFormatSelectByDataType=function(Ve){Ve==="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()):Ve==="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>
|
|||
|
|
`)))},Ol),pa=(W1.prototype.createTarget=function(){var Ve=`<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()(Ve),this.target},W1.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},W1.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},W1.prototype.destroy=function(){this.target.remove()},W1),Zo=(_1.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},_1.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},_1.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},_1.prototype.destroy=function(){this.target.remove()},_1),Bo=(yA.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},yA.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},yA.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},yA.prototype.destroy=function(){this.target.remove()},yA),A1=(PA.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},PA.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},PA.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},PA.prototype.destroy=function(){this.target.remove()},PA),M1=(rl.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},rl.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},rl.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},rl.prototype.destroy=function(){this.target.remove()},rl),i1=(G1.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},G1.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},G1.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},G1.prototype.destroy=function(){this.target.remove()},G1),Ts=(nA.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},nA.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},nA.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},nA.prototype.destroy=function(){this.target.remove()},nA),wA=(tl.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},tl.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},tl.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},tl.prototype.destroy=function(){this.target.remove()},tl),d1=(uA.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},uA.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},uA.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},uA.prototype.destroy=function(){this.target.remove()},uA),gA=(Xl.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},Xl.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},Xl.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},Xl.prototype.destroy=function(){this.target.remove()},Xl),jc=(gl.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},gl.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},gl.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},gl.prototype.destroy=function(){this.target.remove()},gl),Ql=(Jl.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},Jl.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Jl.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Jl.prototype.destroy=function(){this.target.remove()},Jl),LA=(J1.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},J1.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},J1.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},J1.prototype.destroy=function(){this.target.remove()},J1),Uc=(Kl.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},Kl.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},Kl.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},Kl.prototype.destroy=function(){this.target.remove()},Kl),kc=(jl.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},jl.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},jl.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},jl.prototype.destroy=function(){this.target.remove()},jl),RA=(el.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},el.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},el.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},el.prototype.destroy=function(){this.target.remove()},el),Sl=(E1.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},E1.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},E1.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},E1.prototype.destroy=function(){this.target.remove()},E1),y1=(h1.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},h1.prototype.getValue=function(){var Ve=this.target.find("textarea").val();if(Ve)return Ve},h1.prototype.setValue=function(Ve){this.target.find("textarea").val(Ve?Ve.toString():null)},h1.prototype.destroy=function(){this.target.remove()},h1),tA=(K1.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},K1.prototype.getValue=function(){if(this.target.find("select").val()=="true")return!0},K1.prototype.setValue=function(Ve){this.target.find("select").val((Ve==null?"":Ve).toString())},K1.prototype.destroy=function(){this.target.remove()},K1),Tl=($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="number" value="1" step="1" min="1" class="auto-submit"/>
|
|||
|
|
</div>
|
|||
|
|
</div>`)),this.target},$A.prototype.getValue=function(){var Ve=this.target.find("input").val();if(Ve)return parseInt(Ve.toString())},$A.prototype.setValue=function(Ve){this.target.find("input").val(Ve)},$A.prototype.destroy=function(){this.target.remove()},$A),hl=(rA.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},rA.prototype.getValue=function(){var Ve=this.target.find("select").val();if(Ve)return Ve.toString()},rA.prototype.setValue=function(Ve){this.target.find("select").val(Ve)},rA.prototype.destroy=function(){this.target.remove()},rA);function rA(){this.name="tableFooterRepeat"}function $A(){this.name="maxRows"}function K1(){this.name="autoCompletion"}function h1(){this.name="renderFormatter"}function E1(){this.name="formatter2"}function el(){this.name="stylerHeader"}function jl(){this.name="styler2"}function Kl(){this.name="halign"}function J1(){this.name="vAlign"}function Jl(){this.name="align"}function gl(){this.name="rowStyler"}function Xl(){this.name="gridColumnsFooterFormatter"}function uA(){this.name="groupFooterFormatter"}function tl(){this.name="groupFormatter"}function nA(){this.name="groupFieldsFormatter"}function G1(){this.name="groupSequenceContinue"}function rl(){this.name="footerFormatter"}function PA(){this.name="rowsColumnsMergeClean"}function yA(){this.name="rowsColumnsMerge"}function _1(){this.name="styler"}function W1(){this.name="formatter"}function Ol(){this.name="dataType"}function $l(){this.name="paddingRight"}function Vo(){this.name="paddingLeft"}function nl(){this.name="tableHeaderRepeat"}function hc(){this.name="gridColumnsGutter"}function _A(){this.name="gridColumns"}function Ul(){this.name="panelLayoutOptions"}function zl(){this.name="topOffset"}function il(){this.name="tableSummary"}function P1(){this.name="upperCase"}function L1(){this.name="tableSummaryFormatter"}function gc(){this.name="showCodeTitle"}function Gl(){this.name="tableSummaryNumFormat"}function Wl(){this.name="tableSummaryAlign"}function al(){this.name="tableSummaryColspan"}function xA(){this.name="tableSummaryText"}function vl(){this.name="tableSummaryTitle"}function SA(){this.name="tableColumnHeight"}function QA(){this.name="tableQRCodeLevel"}function OA(){this.name="tableBarcodeMode"}function vc(){this.name="tableTextType"}function g1(){this.name="textType"}function ec(){this.name="columns"}function fA(){this.name="textContentWrap"}function iA(){this.name="textContentVerticalAlign"}function TA(){this.name="orient"}function mc(){this.name="barColor"}function zA(){this.name="backgroundColor"}function aA(){this.name="borderStyle"}function We(){this.name="contentPaddingBottom"}function ar(){this.name="contentPaddingRight"}function yr(){this.name="contentPaddingTop"}function kr(){this.name="contentPaddingLeft"}function Jr(){this.name="borderBottom"}function $r(){this.name="borderRight"}function mn(){this.name="borderLeft"}function ai(){this.name="borderTop"}function Zn(){this.name="optionsGroup"}function Mi(){this.name="borderRadius"}function Ki(){this.name="zIndex"}function da(){this.name="transform"}function hi(){this.name="tableBodyRowBorder"}function Oi(){this.name="unShowInPage"}function Jo(){this.name="lHeight"}function gs(){this.name="leftOffset"}function ns(){this.name="axis"}function l1(){this.name="fixed"}function hr(){this.name="oddPaperFooter"}function nn(){this.name="evenPaperFooter"}function Rn(){this.name="lastPaperFooter"}function $n(){this.name="firstPaperFooter"}function Ui(){this.name="leftSpaceRemoved"}function Di(){this.name="panelPageRule"}function ga(){this.name="panelPaperRule"}function Ja(){this.name="pageBreak"}function Fo(){this.name="showInPage"}function ko(){this.name="longTextIndent"}function is(){this.name="paperNumberContinue"}function gr(){this.name="paperNumberDisabled"}function jr(){this.name="paperNumberFormat"}function Gr(){this.name="watermarkOptions"}function zr(){this.name="borderColor"}function rn(){this.name="fit"}function Yr(){this.name="src"}function Lr(){this.name="widthHeight"}function Rr(){this.name="coordinate"}function Kr(){this.name="testData"}function en(){this.name="title"}function Vr(){this.name="field"}function bn(){this.name="textDecoration"}function sn(){this.name="color"}function pn(){this.name="qrCodeLevel"}function Pn(){this.name="qrcodeType"}function wn(){this.name="barcodeType"}function kn(){this.name="barAutoWidth"}function Sn(){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,Me,Be){Pe.exports=function(Ee){var Te=[];return Te.toString=function(){return this.map(function(Se){Ue=Se[1]||"";var je,Ue,ke,De=(ke=Se[3])?(Ee&&typeof btoa=="function"?(je="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(ke))))+" */",De=ke.sources.map(function(ze){return"/*# sourceURL="+ke.sourceRoot+ze+" */"}),[Ue].concat(De).concat([je])):[Ue]).join(`
|
|||
|
|
`):Ue;return Se[2]?"@media "+Se[2]+"{"+De+"}":De}).join("")},Te.i=function(Se,je){typeof Se=="string"&&(Se=[[null,Se,""]]);for(var Ue={},ke=0;ke<this.length;ke++){var De=this[ke][0];De!=null&&(Ue[De]=!0)}for(ke=0;ke<Se.length;ke++){var ze=Se[ke];ze[0]!=null&&Ue[ze[0]]||(je&&!ze[2]?ze[2]=je:je&&(ze[2]="("+ze[2]+") and ("+je+")"),Te.push(ze))}},Te}},function(Pe,Me,Be){var Ee,Te,Se,je={},Ue=(Ee=function(){return window&&document&&document.all&&!window.atob},Se={},function(mr,Ze){if(typeof mr=="function")return mr();if(Se[mr]===void 0){if(Ze=function(xe,er){return(er||document).querySelector(xe)}.call(this,mr,Ze),window.HTMLIFrameElement&&_instanceof(Ze,window.HTMLIFrameElement))try{Ze=Ze.contentDocument.head}catch(xe){Ze=null}Se[mr]=Ze}return Se[mr]}),ke=null,De=0,ze=[],Fe=Be(31);function Ie(mr,Ze){for(var xe=0;xe<mr.length;xe++){var er=mr[xe],Ge=je[er.id];if(Ge){Ge.refs++;for(var tr=0;tr<Ge.parts.length;tr++)Ge.parts[tr](er.parts[tr]);for(;tr<er.parts.length;tr++)Ge.parts.push(cr(er.parts[tr],Ze))}else{for(var sr=[],tr=0;tr<er.parts.length;tr++)sr.push(cr(er.parts[tr],Ze));je[er.id]={id:er.id,refs:1,parts:sr}}}}function _e(mr,Ze){for(var xe=[],er={},Ge=0;Ge<mr.length;Ge++){var sr=mr[Ge],tr=Ze.base?sr[0]+Ze.base:sr[0],sr={css:sr[1],media:sr[2],sourceMap:sr[3]};er[tr]?er[tr].parts.push(sr):xe.push(er[tr]={id:tr,parts:[sr]})}return xe}function Ae(mr,Ze){var xe=Ue(mr.insertInto);if(!xe)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var er=ze[ze.length-1];if(mr.insertAt==="top")er?er.nextSibling?xe.insertBefore(Ze,er.nextSibling):xe.appendChild(Ze):xe.insertBefore(Ze,xe.firstChild),ze.push(Ze);else if(mr.insertAt==="bottom")xe.appendChild(Ze);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)
|
|||
|
|
`);er=Ue(mr.insertAt.before,xe),xe.insertBefore(Ze,er)}}function Je(mr){mr.parentNode!==null&&(mr.parentNode.removeChild(mr),0<=(mr=ze.indexOf(mr)))&&ze.splice(mr,1)}function ir(mr){var Ze,xe=document.createElement("style");return mr.attrs.type===void 0&&(mr.attrs.type="text/css"),mr.attrs.nonce===void 0&&(Ze=Be.nc)&&(mr.attrs.nonce=Ze),$e(xe,mr.attrs),Ae(mr,xe),xe}function $e(mr,Ze){Object.keys(Ze).forEach(function(xe){mr.setAttribute(xe,Ze[xe])})}function cr(mr,Ze){var xe,er,Ge,tr,sr;if(Ze.transform&&mr.css){if(!(tr=typeof Ze.transform=="function"?Ze.transform(mr.css):Ze.transform.default(mr.css)))return function(){};mr.css=tr}return Ge=Ze.singleton?(tr=De++,xe=ke=ke||ir(Ze),er=Mr.bind(null,xe,tr,!1),Mr.bind(null,xe,tr,!0)):mr.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(tr=Ze,sr=document.createElement("link"),tr.attrs.type===void 0&&(tr.attrs.type="text/css"),tr.attrs.rel="stylesheet",$e(sr,tr.attrs),Ae(tr,sr),xe=sr,er=function(pr,Ce,wr){var dr=wr.css,wr=wr.sourceMap,vr=Ce.convertToAbsoluteUrls===void 0&&wr,Ce=((Ce.convertToAbsoluteUrls||vr)&&(dr=Fe(dr)),wr&&(dr+=`
|
|||
|
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(wr))))+" */"),new Blob([dr],{type:"text/css"})),vr=pr.href;pr.href=URL.createObjectURL(Ce),vr&&URL.revokeObjectURL(vr)}.bind(null,xe,Ze),function(){Je(xe),xe.href&&URL.revokeObjectURL(xe.href)}):(xe=ir(Ze),er=function(pr,dr){var Pr=dr.css,dr=dr.media;if(dr&&pr.setAttribute("media",dr),pr.styleSheet)pr.styleSheet.cssText=Pr;else{for(;pr.firstChild;)pr.removeChild(pr.firstChild);pr.appendChild(document.createTextNode(Pr))}}.bind(null,xe),function(){Je(xe)}),er(mr),function(pr){pr?pr.css===mr.css&&pr.media===mr.media&&pr.sourceMap===mr.sourceMap||er(mr=pr):Ge()}}Pe.exports=function(mr,Ze){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");(Ze=Ze||{}).attrs=_typeof(Ze.attrs)=="object"?Ze.attrs:{},Ze.singleton||typeof Ze.singleton=="boolean"||(Ze.singleton=(function(){return Te=Te===void 0?Ee.apply(this,arguments):Te})()),Ze.insertInto||(Ze.insertInto="head"),Ze.insertAt||(Ze.insertAt="bottom");var xe=_e(mr,Ze);return Ie(xe,Ze),function(er){for(var Ge,tr=[],sr=0;sr<xe.length;sr++){var pr=xe[sr];(Ge=je[pr.id]).refs--,tr.push(Ge)}for(er&&Ie(_e(er,Ze),Ze),sr=0;sr<tr.length;sr++)if((Ge=tr[sr]).refs===0){for(var Ir=0;Ir<Ge.parts.length;Ir++)Ge.parts[Ir]();delete je[Ge.id]}}},xr=[];var xr,Tr=function(mr,Ze){return xr[mr]=Ze,xr.filter(Boolean).join(`
|
|||
|
|
`)};function Mr(mr,Ze,Ge,er){var Ge=Ge?"":er.css;mr.styleSheet?mr.styleSheet.cssText=Tr(Ze,Ge):(er=document.createTextNode(Ge),(Ge=mr.childNodes)[Ze]&&mr.removeChild(Ge[Ze]),Ge.length?mr.insertBefore(er,Ge[Ze]):mr.appendChild(er))}},function(Pe,Me){Pe.exports=function(Be){var Ee,Te,Se=typeof window!="undefined"&&window.location;if(Se)return Be&&typeof Be=="string"?(Ee=Se.protocol+"//"+Se.host,Te=Ee+Se.pathname.replace(/\/[^\/]*$/,"/"),Be.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(je,Ue){return Ue=Ue.trim().replace(/^"(.*)"$/,function(ke,De){return De}).replace(/^'(.*)'$/,function(ke,De){return De}),/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(Ue)?je:(je=Ue.indexOf("//")===0?Ue:Ue.indexOf("/")===0?Ee+Ue:Te+Ue.replace(/^\.\//,""),"url("+JSON.stringify(je)+")")})):Be;throw new Error("fixUrls requires window.location")}},function(Pe,Me){var Be,Ee;Be=jQuery,(Ee=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,Ue=this,ke=Se;Te&&Te.length&&(je=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<ul class="hicontextmenu" style="z-index: 9999;"></ul>'),ke||(ke=je).addClass("hicontextmenuroot"),jquery__WEBPACK_IMPORTED_MODULE_72___default.a.each(Te,function(De,ze){var Fe=!!ze.disable&&ze.disable(),Ie=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<li class="hicontextmenuitem"><a href="javascript:void(0);"><span>'+(ze.text||"")+"</span></a></li>");Fe&&Ie.addClass("disable"),ze.borderBottom&&Ie.addClass("borderBottom"),ze.menus&&(Ie.addClass("hicontextsubmenu"),Ue.renderMenu(ze.menus,Ie)),ze.callback&&Ie.click(function(_e){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).hasClass("disable")||(jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hicontextmenuroot").remove(),ze.callback()),_e.stopPropagation()}),je.append(Ie)}),Se)&&Se.append(je),Se||jquery__WEBPACK_IMPORTED_MODULE_72___default()("body").append(ke).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 Ee(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,Me){return!(!i||!Me||(i.setItem(Pe,Me),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(Me,Be){var Ee=this;this[Me]?this[Me]=this[Me].concat(Be):this[Me]=Be,Be.forEach(function(Te){Ee.allElementTypes=Ee.allElementTypes.concat(Te.printElementTypes)})},Pe.prototype.removePrintElementTypes=function(Me){delete this[Me],this.allElementTypes=this.allElementTypes.filter(function(Be){return!Be.tid.startsWith(Me)})},Pe.prototype.getElementTypeGroups=function(Me){return this[this.formatterModule(Me)]||[]},Pe.prototype.getElementType=function(Me){var Be=this.allElementTypes.filter(function(Ee){return Ee.tid==Me});if(0<Be.length)return Be[0]},Pe.prototype.updateElementType=function(Me,Be){var Ee=this.getElementType(Me);if(Be){var Be=Be(Ee),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,Me,Te){var Ee=this,Te=Object.assign({},Te||{},{id:"".concat(Ee.templateId,"_").concat(Ee.panelIdx,"_").concat(Me||1,"_").concat(Pe?"design":Ee.index),watch:Pe,container:Ee.target[0]});Te.container&&(Te.content?(Pe&&_plugins_watermark_js__WEBPACK_IMPORTED_MODULE_77__.a.destroyWatermark(Object.assign({},Te,{id:"".concat(Ee.templateId,"_").concat(Ee.panelIdx,"_").concat(Me||1,"_").concat(Ee.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(Me,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Ee,Te){Ee.__proto__=Te}:function(Ee,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Ee[Se]=Te[Se])}))(Me,Be)};return function(Me,Be){function Ee(){this.constructor=Me}Pe(Me,Be),Me.prototype=Be===null?Object.create(Be):(Ee.prototype=Be.prototype,new Ee)}})(),w=(Pe=>{function Me(Be,Ee){return Be=Pe.call(this,Be)||this,Be.options=new b(Ee),Be.options.setDefault(new b(p.a.instance.longText.default).getPrintElementOptionEntity()),Be}return _(Me,Pe),Me.prototype.getDesignTarget=function(Be){return Be=Pe.prototype.getDesignTarget.call(this,Be),Be.find(".hiprint-printElement-longText-content").css("border","1px dashed #cebcbc"),Be},Me.prototype.getProxyTarget=function(Ee){Ee&&this.SetProxyTargetOption(Ee);var Ee=this.getData(),Te=this.createTarget(this.printElementType.getText(!0),Ee);return this.updateTargetSize(Te),this.css(Te,Ee),Te},Me.prototype.updateDesignViewFromOptions=function(){var Be,Ee;this.designTarget&&(Be=this.getData(),Ee=this.getHtml(this.designPaper)[0].target,this.designTarget.find(".hiprint-printElement-longText-content").html(Ee.find(".hiprint-printElement-longText-content").html()),this.css(this.designTarget,Be))},Me.prototype.getConfigOptions=function(){return p.a.instance.longText},Me.prototype.getTitle=function(){return this.options.title||this.printElementType.title},Me.prototype.getData=function(Be){var Ee=this.getField(),Ee=Ee&&Ee.split(".").reduce(function(Te,Se){return Te?Te[Se]:Be?Be[Se]:""},!1)||"";return Be?Ee||"":this.options.testData||this.printElementType.getData()||""},Me.prototype.updateTargetText=function(Be,Ee,Te){Be=Be.find(".hiprint-printElement-longText-content"),Ee=this.getText(Ee,Te),Be.html(Ee)},Me.prototype.createTarget=function(Be,Ee){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,Ee),Te},Me.prototype.getText=function(Be,Ee){var Te=this.getFormatter();return Ee=Ee&&(this.options.leftSpaceRemoved!=0?Ee.toString().replace(/^\s*/,""):Ee),(this.getField()?(!this.options.getHideTitle()&&Be?Be+":":"")+(Te?Te(Be,Ee,this.options,this._currenttemplateData):Ee):Te?Te(Be,Be,this.options,this._currenttemplateData):Be||"")||""},Me.prototype.getHtml=function(Be,Ee){return this.setCurrenttemplateData(Ee),this.createTempContainer(),Be=this.getPaperHtmlResult(Be,Ee),this.removeTempContainer(),Be},Me.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},Me.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>'},Me.prototype.getPaperHtmlResult=function(Be,Ee,ke){var Se=this,je=[],Ue=0,ke=ke||this.getData(
|
|||
|
|
`,"g"));if(Ie.forEach(function(cr,xr){cr=Se.options.leftSpaceRemoved!=0?(cr||"").toString().replace(/^\s*/,""):cr,Fe=Fe.concat(cr.split("")),xr<Ie.length-1&&Fe.push("<br/>"+Se.getLongTextIndent())}),Fe.length==0&&(Fe=[""]),this.isHeaderOrFooter()||this.isFixed()||!Ee)(Je=this.getStringBySpecificHeight(Fe,25e3,ze)).target.css("left",this.options.displayLeft()),Je.target.css("top",this.options.displayTop()),Je.target[0].height="",je.push(new P.a({target:Je.target,printLine:this.options.displayTop()+Je.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()+Je.height,printTopInPaper:this.options.getTop()})}));else for(var _e=this.getBeginPrintTopInPaperByReferenceElement(Be);0<Fe.length;){var Ae=0,ir=Be.getPaperFooter(Ue),Je=(Ue==0&&ir<_e&&Be.panelPageRule!="none"&&(_e=_e-ir+Be.paperHeader,je.push(new P.a({target:void 0,printLine:void 0})),Ue++,Ae=Be.getContentHeight(Ue)-(_e-Be.paperHeader),ir=Be.getPaperFooter(Ue)),this.getStringBySpecificHeight(Fe,0<Ae?Ae:Ue==0?ir-_e:Be.getContentHeight(Ue),ze)),ir=(Fe.splice(0,Je.length),void 0),$e=void 0;Je.target.css("left",this.options.displayLeft()),Je.target[0].height="",ir=Ue==0||0<Ae?($e=_e,Je.target.css("top",$e+"pt"),!(0<Fe.length)&&this.options.lHeight!=null?_e+(Je.height>this.options.lHeight?Je.height:this.options.lHeight):_e+Je.height):($e=Be.paperHeader,Je.target.css("top",$e+"pt"),$e+Je.height),je.push(new P.a({target:Je.target,printLine:ir,referenceElement:new E.a({top:this.options.getTop(),left:this.options.getLeft(),height:this.options.getHeight(),width:this.options.getWidth(),beginPrintPaperIndex:Be.index,bottomInLastPaper:ir,printTopInPaper:$e})})),Ue++,Ee&&this.updatePanelHeight(ir+this.options.getHeight(),Be)}return je},Me.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)},Me.prototype.BinarySearch=function(Be,Ee,Te,Se,je){var Ue,ke=Math.floor((Ee+Te)/2);return Te<Ee?(je.find(".hiprint-printElement-longText-content").html(""),{IsPagination:!0,height:0,length:0,target:je.clone()}):(Ue=this.IsPaginationIndex(Be,ke,Se,je)).IsPagination?Ue:Ue.move=="l"?this.BinarySearch(Be,Ee,ke-1,Se,je):this.BinarySearch(Be,ke+1,Te,Se,je)},Me.prototype.IsPaginationIndex=function(Be,Ee,Te,Se){if(Te==-1)return Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Ee).join("")),Ue=Se.height(),{IsPagination:!0,height:o.a.px.toPt(Ue),length:Be.length,target:Se.clone()};Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Ee+2).join(""));var je=Se.height(),Ue=(Se.find(".hiprint-printElement-longText-content").html(Be.slice(0,Ee+1).join("")),Se.height());return Ee>=Be.length-1&&Ue<Te?{IsPagination:!0,height:o.a.px.toPt(Ue),length:Be.length,target:Se.clone()}:Ue<=Te&&Te<=je?{IsPagination:!0,height:Ue,length:Ee+1,target:Se.clone()}:Te<=Ue?{IsPagination:!1,move:"l"}:je<=Te?{IsPagination:!1,move:"r"}:{IsPagination:!0,result:1}},Me})(f.a),x=(()=>{function Pe(){}return Pe.replaceEnterAndNewline=function(Me,Be){return Me.replace(new RegExp(`\r|
|
|||
|
|
|/g`,"g"),Be)},Pe.replaceTab=function(Me,Be){return Me.replace(new RegExp(" /g","g"),Be)},Pe.replaceEnterAndNewlineAndTab=function(Me,Be){return Me.replace(new RegExp(`\r|
|
|||
|
|
| |/g`,"g"),Be)},Pe})(),C=(()=>{var Pe=function(Me,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Ee,Te){Ee.__proto__=Te}:function(Ee,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Ee[Se]=Te[Se])}))(Me,Be)};return function(Me,Be){function Ee(){this.constructor=Me}Pe(Me,Be),Me.prototype=Be===null?Object.create(Be):(Ee.prototype=Be.prototype,new Ee)}})(),O=(Pe=>{function Me(Be){return Be=Pe.call(this,Be)||this,Be.title&&(Be.title=x.replaceEnterAndNewlineAndTab(Be.title,"")),Be}return C(Me,Pe),Me.prototype.getHideTitle=function(){return(this.hideTitle==null?this.defaultOptions:this).hideTitle},Me.prototype.getTextType=function(){return(this.textType==null?this.defaultOptions:this).textType||"text"},Me.prototype.getFontSize=function(){return(this.fontSize==null?this.defaultOptions:this).fontSize||9},Me.prototype.getbarcodeMode=function(){return(this.barcodeMode==null?this.defaultOptions:this).barcodeMode||"CODE128"},Me.prototype.getBarTextMode=function(){return(this.barTextMode==null?this.defaultOptions:this).barTextMode||"text"},Me.prototype.getBarWidth=function(){return(this.barWidth==null?this.defaultOptions:this).barWidth||1},Me.prototype.getBarAutoWidth=function(){var Be;return(Be=this.barAutoWidth==null?this.defaultOptions.barAutoWidth==="true":this.barAutoWidth==="true")===null||Be},Me.prototype.getQRcodeLevel=function(){return(this.qrCodeLevel==null?this.defaultOptions:this).qrCodeLevel||0},Me})(g.a),H=(()=>{var Pe=function(Me,Be){return(Pe=Object.setPrototypeOf||(_instanceof({__proto__:[]},Array)?function(Ee,Te){Ee.__proto__=Te}:function(Ee,Te){for(var Se in Te)Te.hasOwnProperty(Se)&&(Ee[Se]=Te[Se])}))(Me,Be)};return function(Me,Be){function Ee(){this.constructor=Me}Pe(Me,Be),Me.prototype=Be===null?Object.create(Be):(Ee.prototype=Be.prototype,new Ee)}})(),D=(Pe=>{function Me(Be,Ee){return Be=Pe.call(this,Be)||this,Be.options=new O(Ee),Be.options.setDefault(new O(p.a.instance.text.default).getPrintElementOptionEntity()),Be}return H(Me,Pe),Me.prototype.getDesignTarget=function(Be){return Pe.prototype.getDesignTarget.call(this,Be)},Me.prototype.getProxyTarget=function(Ee){Ee&&this.SetProxyTargetOption(Ee);var Ee=this.getData(),Te=this.createTarget(this.printElementType.getText(!0),Ee);return this.updateTargetSize(Te),this.css(Te,Ee),Te},Me.prototype.updateDesignViewFromOptions=function(){var Be;this.designTarget&&(Be=this.getData(),this.css(this.designTarget,Be),this.updateTargetText(this.designTarget,this.getTitle(),Be))},Me.prototype.getConfigOptions=function(){return p.a.instance.text},Me.prototype.getTitle=function(){var Be=this.options.title||this.printElementType.title||"";return Be=Be&&x.replaceEnterAndNewlineAndTab(Be,"")},Me.prototype.getData=function(Be){var Ee=this.getField(),Ee=Be?Ee&&Ee.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(Ee,this.options.format);if(this.options.dataType=="boolean"){var Te=this.options.format.split(":");if(0<Te.length)return Ee===!0||Ee==="true"?Te[0]:Te[1]}}return Ee},Me.prototype.updateTargetText=function(Be,Ae,Te,Se,je){var Ue,ke,De,ze,Fe,_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>
|
|||
|
|
`):Me)+` <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(Me){var Be=this;this.printElements.filter(function(Ee,Te){Ee.id==Me.id&&(Me.delete(),Be.printElements.splice(Te,1))})},Pe.prototype.getElementByTid=function(Me){return this.printElements.filter(function(Be){return Be.printElementType.tid===Me}).map(function(Be,Ee){return Be})},Pe.prototype.getElementByName=function(Me){return this.printElements.filter(function(Be){return Be.options.name===Me}).map(function(Be,Ee){return Be})},Pe.prototype.getElementById=function(Me){return this.printElements.find(function(Be){return Be.id===Me})},Pe.prototype.getFieldsInPanel=function(){var Me=[];return this.printElements.forEach(function(Be){Be.options&&Be.options.field?Me.push(Be.options.field):Be.printElementType.field&&Me.push(Be.printElementType.field)}),Me},Pe.prototype.getTestData=function(){var Me={};return this.printElements.forEach(function(Be){Be.printElementType.type!="table"&&(Be.options&&Be.options.field?Me[Be.options.field]=Be.options.testData:Be.printElementType.field&&(Me[Be.printElementType.field]=Be.printElementType.data||Be.options.testData))}),Me},Pe.prototype.bindBatchMoveElement=function(){var Me=this;this.designPaper.getTarget().on("mousemove",function(Be){Be.target.className&&_typeof(Be.target.className)=="string"&&Be.target.className.includes("editing")||(Be.currentTarget.className==Me.designPaper.target[0].className?(Me.mouseOffsetX=Be.offsetX,Me.mouseOffsetY=Be.offsetY):Me.mouseOffsetX=Me.mouseOffsetY=void 0,s.a.instance.draging)||Be.buttons===1&&s.a.instance.rectDraging&&Me.mouseRect&&(Me.mouseRect.updateRect(Be.pageX,Be.pageY,Me),Me.updateRectPanel(Me.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||(Me.mouseRect&&Me.mouseRect.target&&Me.mouseRect.target.remove(),Be.buttons===1&&_typeof(Be.target.className)=="string"&&Be.target.className.includes("hiprint-printPaper hidroppable design")&&(Me.mouseRect=new at(Be.pageX,Be.pageY,s.a.instance.dragLengthCNum(Be.pageX-Me.designPaper.getTarget().offset().left,p.a.instance.movingDistance),s.a.instance.dragLengthCNum(Be.pageY-Me.designPaper.getTarget().offset().top,p.a.instance.movingDistance))))}).on("mouseup",function(Be){s.a.instance.rectDraging=!1})},Pe.prototype.getElementInRect=function(Me){var Be=[];return this.printElements.filter(function(Ee){return Ee.options.draggable!==!1}).forEach(function(Ee){Ee.inRect(Me)&&Be.push(Ee)}),Be},Pe.prototype.updateRectPanel=function(Me){var Be=this,Ee=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>'),Ee.find(".hiprint-printPaper-content").append(this.mouseRect.target),this.bingKeyboardMoveEvent(this.mouseRect.target),this.mouseRect.target.hidraggable({onDrag:function(Se,je,Ue){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):Ue/Te,(Be.mouseRect.mouseRectSelectedElement||[]).forEach(function(ke){ke.updatePositionByMultipleSelect(je-Be.mouseRect.lastLeft,Ue-Be.mouseRect.lastTop)}),Be.mouseRect.lastLeft=je/Te,Be.mouseRect.lastTop=Ue/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>`),ir.forEach(function($e){$e.submit=function(cr){Ae.callback(Se.getValueByOptionItems(ir))},_e.append($e.createTarget(Se.printTemplate,Ae.options,void 0)),$e.setValue(Ae.options[$e.name],Ae.options,void 0)}),_e.find(".auto-submit").change(function(){Ae.callback(Se.getValueByOptionItems(ir))}),_e.find(".auto-submit:input").bind("keydown.submitOption",function($e){$e.keyCode===13&&Ae.callback(Se.getValueByOptionItems(ir))}),_e.find("textarea").bind("dblclick.textarea",function($e){jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val()||($e=$e.target.placeholder||"",jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).val($e))})}),Be.append(_e)})):(Be=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-items"></div>'),je.getPrintElementOptionItems().forEach(function(Fe){Fe.submit=function(_e){je.submitOption()};var Ie=Fe.createTarget(je,je.options,je.printElementType);Te.printElementOptionSettingPanel[Fe.name]=Ie,Be.append(Ie),["columns","dataType"].includes(Fe.name)?Fe.setValue(je.options[Fe.name],je.options,je.printElementType):["coordinate","widthHeight"].includes(Fe.name)?Fe.setValue(je.options,je):Fe.setValue(je.options[Fe.name]||je.printElementType[Fe.name])})),jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|||
|
|
type="button">`.concat(i18n.__("确定"),"</button>"))),ze=jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-deleteBtn"
|
|||
|
|
type="button">`.concat(i18n.__("删除"),"</button>"));Be.append(De),je.options.draggable!=0&&Be.append(ze),ke.length&&(Be.on("click",".prop-tab-item",function(){var Ie=jquery__WEBPACK_IMPORTED_MODULE_72___default()(this),Fe=Ie.index(),Ie=(Te.settingContainer.data("last-index",Fe),Ie.addClass("active"),Ie.siblings().removeClass("active"),Be.find(".hiprint-option-items:eq("+Fe+")"));Ie.addClass("active"),Ie.siblings().removeClass("active")}),(Ee=+(Te.settingContainer.data("last-index")||0))>=ke.length&&(Ee=0),Be.find(".prop-tab-item:eq("+Ee+")").click()),De.bind("click.submitOption",function(){je.submitOption()}),ze.bind("click.deleteBtn",function(){hinnn.event.trigger("hiprintTemplateDataChanged_"+je.templateId,"删除"),Se.printTemplate.deletePrintElement(je),Te.clearSettingContainer()}),Be.find(".auto-submit").change(function(Fe){je.submitOption()}),Be.find(".auto-submit:input").bind("keydown.submitOption",function(Fe){Fe.keyCode==13&&je.submitOption()}),this.settingContainer.append(Be),ke.length<1&&Ue&&Ue.forEach(function(Fe){var Ie=Fe.callback;Fe.callback=function(_e){Ie&&(Ie(_e),je.submitOption())},Te.buildSettingByCustomOptions(Fe,Te.settingContainer)}),this.lastPrintElement=je},Pe.prototype.buildSettingByCustomOptions=function(Me,ke){var Ee=this,Te=(this.clearLastPrintElement(),ke||this.settingContainer),Se=(ke||this.settingContainer.html(""),[]),je=p.a.instance.panel.supportOptions.filter(function(De){return!De.hidden}).map(function(De){return De.name}),Ue=(Me.optionItems?Se=Me.optionItems:Object.keys(Me.options).filter(function(De){return je.includes(De)}).forEach(function(De){De=lt.a.getItem(De),De&&Se.push(De)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()('<div class="hiprint-option-items"></div>')),ke=(Me.title&&Ue.append(`<div class="hiprint-option-item hiprint-option-item-row">
|
|||
|
|
<div class="hiprint-option-item-label hiprint-option-title">
|
|||
|
|
`+Me.title+`
|
|||
|
|
</div>
|
|||
|
|
</div>`),Se.forEach(function(De){De.submit=function(ze){Me.callback(Ee.getValueByOptionItems(Se))},Ue.append(De.createTarget(Ee.printTemplate,Me.options,void 0)),De.setValue(Me.options[De.name],Me.options,void 0)}),jquery__WEBPACK_IMPORTED_MODULE_72___default()(`<button class="hiprint-option-item-settingBtn hiprint-option-item-submitBtn"
|
|||
|
|
type="button">`.concat(i18n.__("确定"),"</button>")));Ue.append(ke),ke.bind("click.submitOption",function(){Me.callback(Ee.getValueByOptionItems(Se))}),Ue.find(".auto-submit").change(function(De){Me.callback(Ee.getValueByOptionItems(Se))}),Ue.find(".auto-submit:input").bind("keydown.submitOption",function(De){De.keyCode==13&&Me.callback(Ee.getValueByOptionItems(Se))}),Te.append(Ue)},Pe.prototype.getValueByOptionItems=function(Me){var Be={};return Me.forEach(function(Ee){Be[Ee.name]=Ee.getValue()}),Be},Pe})(),dt=(()=>{function Pe(Me,Be){this.paginationContainer=Me,this.jqPaginationContainer=jquery__WEBPACK_IMPORTED_MODULE_72___default()(this.paginationContainer),this.template=Be}return Pe.prototype.buildPagination=function(Me){var Be=this.template.getPaneltotal(),Ee=this;this.jqPaginationContainer.html("");for(var Te=jquery__WEBPACK_IMPORTED_MODULE_72___default()('<ul class="hiprint-pagination"></ul>'),Se=0;Se<Be;Se++)(()=>{var Ue=Se,ke=Ee.template.printPanels[Ue].name||Ue+1,De=jquery__WEBPACK_IMPORTED_MODULE_72___default()("<li><span>"+ke+'</span><a href="javascript:void(0);">x</a></li>');De.find("span").click(function(){Ee.template.selectPanel(Ue),De.siblings().removeClass("selected"),jquery__WEBPACK_IMPORTED_MODULE_72___default()(this).parent("li").addClass("selected")}),De.find("a").click(function(){Ee.template.deletePanel(Ue),Ee.buildPagination()}),Te.append(De)})();var je=jquery__WEBPACK_IMPORTED_MODULE_72___default()("<li><span>+</span></li>");Te.append(je),this.jqPaginationContainer.append(Te),je.click(function(){function Ue(De){Ee.template.addPrintPanel(De||void 0,!0),Ee.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 ke;Ee.template.onPanelAddClick?(ke={index:Ee.template.printPanels.length,paperType:"A4"},Ee.template.onPanelAddClick(ke,Ue)):Ue()})},Pe.prototype.selectPanel=function(Be){var Be=Be||this.template.editingPanel.index,Ee=jquery__WEBPACK_IMPORTED_MODULE_72___default()(".hiprint-pagination li:nth("+Be+")");Ee.length&&(Ee.siblings().removeClass("selected"),Ee.addClass("selected")),hinnn.event.trigger("onSelectPanel",this.template.editingPanel,Be,Ee)},Pe})(),ct=(()=>{function Pe(Ee){var Be=this,Ee=(this.tempimageBase64={},this.id=s.a.instance.guid(),s.a.instance.setPrintTemplateById(this.id,this),Ee||{}),Te=(this.printPanels=[],this.dataMode=Ee.dataMode||1,this.history=Ee.history==null||Ee.history,this.willOutOfBounds=Ee.willOutOfBounds==null||Ee.willOutOfBounds,this.onDataChanged=Ee.onDataChanged,this.onUpdateError=Ee.onUpdateError,this.lastJson=Ee.template||{},this.historyList=[{id:s.a.instance.guid(),type:"初始",json:this.lastJson}],this.historyPos=0,this.defaultPanelName=Ee.defaultPanelName,this.designOptions={},this.qtDesigner=Ee.qtDesigner==null||Ee.qtDesigner,this.qtDesignerMap={},this.qtDesignderFunction=function(Ue){this.qtDesignerMap={};var je,Ue=Ue.split("_")[0],ke=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(ke.s();!(je=ke.n()).done;){var De,ze=je.value;ze.options.field!==void 0&&(De=ze.options.field.split("_")[0],this.qtDesignerMap[De]===void 0?this.qtDesignerMap[De]=1:this.qtDesignerMap[De]+=1)}}catch(Fe){ke.e(Fe)}finally{ke.f()}return this.qtDesignerMap[Ue]===0||this.qtDesignerMap[Ue]===void 0?Ue:Ue+"_"+this.qtDesignerMap[Ue]},new st(Ee.template||[]));Ee.template&&Te.panels.forEach(function(Se){Be.printPanels.push(new pt(Se,Be.id))}),Ee.fontList&&(this.fontList=Ee.fontList),Ee.fields&&(this.fields=Ee.fields),Ee.onImageChooseClick&&(this.onImageChooseClick=Ee.onImageChooseClick),Ee.onPanelAddClick&&(this.onPanelAddClick=Ee.onPanelAddClick),Ee.settingContainer&&new ut(this,Ee.settingContainer),Ee.paginationContainer&&(this.printPaginationCreator=new dt(Ee.paginationContainer,this),this.printPaginationCreator.buildPagination()),this.initAutoSave(
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}},function(Pe,Me,Be){Be=Be(2),Pe.exports=Be({}.isPrototypeOf)},function(Pe,Me,Be){var Ee=Be(44);Pe.exports=function(Te){return Ee(Te.length)}},function(Pe,Me,Ie){function Ee(){}function Te(Tr){Tr.write(cr("")),Tr.close();var Mr=Tr.parentWindow.Object;return Tr=null,Mr}var Se,je=Ie(8),Ue=Ie(124),ke=Ie(90),De=Ie(54),ze=Ie(189),Fe=Ie(87),Ie=Ie(71),_e=">",Ae="<",Je="prototype",ir="script",$e=Ie("IE_PROTO"),cr=function(Tr){return Ae+ir+_e+Tr+Ae+"/"+ir+_e},xr=function(){try{Se=new ActiveXObject("htmlfile")}catch(Ze){}xr=typeof document=="undefined"||document.domain&&Se?Te(Se):(Tr=Fe("iframe"),Mr="java"+ir+":",Tr.style.display="none",ze.appendChild(Tr),Tr.src=String(Mr),(Mr=Tr.contentWindow.document).open(),Mr.write(cr("document.F=Object")),Mr.close(),Mr.F);for(var Tr,Mr,mr=ke.length;mr--;)delete xr[Je][ke[mr]];return xr()};De[$e]=!0,Pe.exports=Object.create||function(Tr,Mr){var mr;return Tr!==null?(Ee[Je]=je(Tr),mr=new Ee,Ee[Je]=null,mr[$e]=Tr):mr=xr(),Mr===void 0?mr:Ue.f(mr,Mr)}},function(Pe,Me,Be){function Ee(Te){return(Ee=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(Me,"a",function(){return Ee})},function(Pe,Me,Be){Pe.exports=(()=>{function Ee(_e,ze){var Tr=Se.getNumbResult(_e);if(!Tr)return _e;ze=ze||{};var Fe=this.ch,Ie=this.ch_u,_e=this.ch_f||"",Ae=this.ch_d||".",Je=Fe.charAt(0),ir=Tr.int,$e=Tr.decimal,cr="",xr="",Tr=Tr.minus?_e:"";if($e){for(var $e=Se.clearZero($e,"0","$"),Mr=0;Mr<$e.length;Mr++)xr+=Fe.charAt(+$e.charAt(Mr));xr=xr?Ae+xr:""}return cr=(function mr(Ze,xe,er){Ze=Se.getNumbResult(Ze).int;var Ge="",tr=1<arguments.length?xe:ze.tenMin,sr=Ze.length;if(sr==1)return Fe.charAt(+Ze);if(sr<=4)for(var pr=0,Ir=sr;Ir--;){var Pr=+Ze.charAt(pr),Ge=(Ge+=tr&&sr==2&&pr==0&&Pr==1?"":Fe.charAt(Pr))+(Pr&&Ir?Ie.charAt(Ir):"");pr++}else{for(var dr=Ze.length/4>>0,wr=Ze.length%4;wr==0||!Ie.charAt(3+dr);)wr+=4,dr--;var xe=Ze.substr(0,wr),Ce=Ze.substr(wr);Ge=mr(xe,tr)+Ie.charAt(3+dr)+(Ce.charAt(0)=="0"?Je:"")+mr(Ce,4<Ce.length&&tr)}return Se.clearZero(Ge,Je)})(ir),Tr+(cr=ze.ww&&5<Ie.length&&(_e=Ie.charAt(4),Ae=Ie.charAt(5),~(ir=cr.lastIndexOf(Ae)))?cr.substring(0,ir).replace(new RegExp(Ae,"g"),_e+_e)+cr.substring(ir):cr)+xr}function Te(De){this.lang=De,this.encode=function(){return je.CL.apply(De,arguments)},this.decode=function(){return je.unCL.apply(De,arguments)},this.toMoney=function(){return je.toMoney.apply(De,arguments)}}var Se=(De=>{return Fe=/^([+-])?0*(\d+)(\.(\d+))?$/,Ie=/^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i,_e=(ze=(De={exports:{}}).exports).e2ten=function(Je){var ir,$e,cr,xr,Tr,Mr=Ie.exec(Je.toString());return Mr?(Tr=Mr[2],ir=Mr[4]||"",0<($e=Mr[5]?+Mr[5]:0)?(cr=(cr=ir.substr(0,$e)).length<$e?cr+new Array($e-cr.length+1).join("0"):cr,ir=ir.substr($e),Tr+=cr):(cr=Tr.length-($e=-$e),xr=(xr=Tr.substr(cr=cr<0?0:cr,$e)).length<$e?new Array($e-xr.length+1).join("0")+xr:xr,Tr=Tr.substring(0,cr),ir=xr+ir),(Mr[1]=="-"?"-":"")+(Tr=Tr==""?"0":Tr)+(ir?"."+ir:"")):Je},ze.getNumbResult=function(Je){var ir=Fe.exec(Je.toString());if(ir=!ir&&Ie.test(Je.toString())?Fe.exec(_e(Je.toString())):ir)return{int:ir[2],decimal:ir[4],minus:ir[1]=="-",num:ir.slice(1,3).join("")}},ze.centerArray=function Je(ir,$e){return ir.splice.apply(ir,[0,$e.length].concat($e.splice(0,$e.length))),2<arguments.length&&(($e=[].slice.call(arguments,2)).unshift(ir),Je.apply(null,$e)),ir},Ae=ze.hasAttr=function(Je,ir){return Object.prototype.hasOwnProperty.call(Je,ir)},ze.extend=function(Je){for(var ir,$e=Je||{},cr=Array.prototype.slice.call(arguments,1),xr=0;xr<cr.length;xr++){var Tr=cr[xr];for(ir in Tr)Ae(Tr,ir)&&($e[ir]=Tr[ir])}return $e},ze.getDigit=function(Je){return 5<=Je?4*(Je-4)+4:Je},ze.unshiftZero=function(Je,ir){if(!((ir=ir==null?1:ir)<=0))for(;ir--;)Je.unshift(0)},ze.clearZero=function(Je,ir,$e){var cr,xr,Tr;return Je==null?"":(Tr=~"*.?+$^[](){}|\\/".indexOf(ir)?"\\"+ir:ir,cr=new RegExp("^"
|
|||
|
|
`)&&Se.flags==="s")})},function(Pe,Me,Ie){var Ee=Ie(7),Te=Ie(2),Se=Ie(9),je=Ie(152),Ue=Ie(81),ke=Ie(42),De=Ie(30),ze=Ie(19).get,Fe=Ie(106),Ie=Ie(153),_e=ke("native-string-replace",String.prototype.replace),Ae=RegExp.prototype.exec,Je=Ae,ir=Te("".charAt),$e=Te("".indexOf),cr=Te("".replace),xr=Te("".slice),Tr=(ke=/b*/g,Ee(Ae,Te=/a/,"a"),Ee(Ae,ke,"a"),Te.lastIndex!==0||ke.lastIndex!==0),Mr=Ue.BROKEN_CARET,mr=/()??/.exec("")[1]!==void 0;(Tr||mr||Mr||Fe||Ie)&&(Je=function(Pr){var xe,er,Ge,tr,sr,pr,Ir=this,vr=ze(Ir),Pr=Se(Pr),wr=vr.raw;if(wr)return wr.lastIndex=Ir.lastIndex,Ce=Ee(Je,wr,Pr),Ir.lastIndex=wr.lastIndex,Ce;var dr=vr.groups,wr=Mr&&Ir.sticky,Ce=Ee(je,Ir),vr=Ir.source,qr=0,He=Pr;if(wr&&(Ce=cr(Ce,"y",""),$e(Ce,"g")===-1&&(Ce+="g"),He=xr(Pr,Ir.lastIndex),0<Ir.lastIndex&&(!Ir.multiline||(Ir.multiline,ir(Pr,Ir.lastIndex-1)!==`
|
|||
|
|
`))&&(vr="(?: "+vr+")",He=" "+He,qr++),xe=new RegExp("^(?:"+vr+")",Ce)),mr&&(xe=new RegExp("^"+vr+"$(?!\\s)",Ce)),Tr&&(er=Ir.lastIndex),Ge=Ee(Ae,wr?xe:Ir,He),wr?Ge?(Ge.input=xr(Ge.input,qr),Ge[0]=xr(Ge[0],qr),Ge.index=Ir.lastIndex,Ir.lastIndex+=Ge[0].length):Ir.lastIndex=0:Tr&&Ge&&(Ir.lastIndex=Ir.global?Ge.index+Ge[0].length:er),mr&&Ge&&1<Ge.length&&Ee(_e,Ge[0],xe,function(){for(tr=1;tr<arguments.length-2;tr++)arguments[tr]===void 0&&(Ge[tr]=void 0)}),Ge&&dr)for(Ge.groups=sr=De(null),tr=0;tr<dr.length;tr++)sr[(pr=dr[tr])[0]]=Ge[pr[1]];return Ge}),Pe.exports=Je},function(Pe,Me,Be){var Ee=Be(150),Te=TypeError;Pe.exports=function(Se){if(Ee(Se))throw new Te("The method doesn't accept regular expressions");return Se}},function(Pe,Me,Be){var Ee=Be(6)("match");Pe.exports=function(Te){var Se=/./;try{"/./"[Te](Se)}catch(je){try{return Se[Ee]=!1,"/./"[Te](Se)}catch(Ue){}}return!1}},function(Pe,Me,Be){function Ee(Fe){return function(Je,ir){var Ae,Je=je(Ue(Je)),ir=Se(ir),$e=Je.length;return ir<0||$e<=ir?Fe?"":void 0:(Ae=De(Je,ir))<55296||56319<Ae||ir+1===$e||($e=De(Je,ir+1))<56320||57343<$e?Fe?ke(Je,ir):Ae:Fe?ze(Je,ir,ir+2):$e-56320+(Ae-55296<<10)+65536}}var Te=Be(2),Se=Be(37),je=Be(9),Ue=Be(17),ke=Te("".charAt),De=Te("".charCodeAt),ze=Te("".slice);Pe.exports={codeAt:Ee(!1),charAt:Ee(!0)}},function(Pe,Me,Be){Be(65);var Ee=Be(7),Te=Be(15),Se=Be(107),je=Be(3),Ue=Be(6),ke=Be(24),De=Ue("species"),ze=RegExp.prototype;Pe.exports=function(Fe,Ie,_e,Ae){var Je,ir=Ue(Fe),$e=!je(function(){var xr={};return xr[ir]=function(){return 7},""[Fe](xr)!==7}),cr=$e&&!je(function(){var xr=!1,Tr=/a/;return Fe==="split"&&((Tr={constructor:{}}).constructor[De]=function(){return Tr},Tr.flags="",Tr[ir]=/./[ir]),Tr.exec=function(){return xr=!0,null},Tr[ir](""),!xr});$e&&cr&&!_e||(Je=/./[ir],cr=Ie(ir,""[Fe],function(xr,Tr,Mr,mr,Ze){var xe=Tr.exec;return xe===Se||xe===ze.exec?$e&&!Ze?{done:!0,value:Ee(Je,Tr,Mr,mr)}:{done:!0,value:Ee(xr,Mr,Tr,mr)}:{done:!1}}),Te(String.prototype,Fe,cr[0]),Te(ze,ir,cr[1])),Ae&&ke(ze[ir],"sham",!0)}},function(Pe,Me,Be){var Ee=Be(110).charAt;Pe.exports=function(Te,Se,je){return Se+(je?Ee(Te,Se).length:1)}},function(Pe,Me,Be){var Ee=Be(7),Te=Be(8),Se=Be(10),je=Be(21),Ue=Be(107),ke=TypeError;Pe.exports=function(De,ze){var Fe=De.exec;if(Se(Fe))return(Fe=Ee(Fe,De,ze))!==null&&Te(Fe),Fe;if(je(De)==="RegExp")return Ee(Ue,De,ze);throw new ke("RegExp#exec called on incompatible receiver")}},function(Pe,Me,Ge){var Ee=Ge(94),Te=Ge(7),Se=Ge(2),je=Ge(111),Ue=Ge(3),ke=Ge(8),De=Ge(10),ze=Ge(35),Fe=Ge(37),Ie=Ge(44),_e=Ge(9),Ae=Ge(17),Je=Ge(112),ir=Ge(36),$e=Ge(247),cr=Ge(113),xr=Ge(6)("replace"),Tr=Math.max,Mr=Math.min,mr=Se([].concat),Ze=Se([].push),xe=Se("".indexOf),er=Se("".slice),Ge="a".replace(/./,"$0")==="$0",tr=!!/./[xr]&&/./[xr]("a","$0")==="";je("replace",function(sr,pr,Ir){var Pr=tr?"$":"$0";return[function(dr,wr){var Ce=Ae(this),vr=ze(dr)?void 0:ir(dr,xr);return vr?Te(vr,dr,Ce,wr):Te(pr,_e(Ce),dr,wr)},function(dr,wr){var Ce=ke(this),vr=_e(dr);if(typeof wr=="string"&&xe(wr,Pr)===-1&&xe(wr,"$<")===-1&&(dr=Ir(pr,Ce,vr,wr),dr.done))return dr.value;for(var qr,He=De(wr),Oe=(He||(wr=_e(wr)),Ce.global),rr=(Oe&&(qr=Ce.unicode,Ce.lastIndex=0),[]);(tn=cr(Ce,vr))!==null&&(Ze(rr,tn),Oe);)_e(tn[0])===""&&(Ce.lastIndex=Je(vr,Ie(Ce.lastIndex),qr));for(var xn,Mn="",Vn=0,Nn=0;Nn<rr.length;Nn++){for(var tn,fi=_e((tn=rr[Nn])[0]),xi=Tr(Mr(Fe(tn.index),vr.length),0),Ur=[],di=1;di<tn.length;di++)Ze(Ur,(xn=tn[di])===void 0?xn:String(xn));var gn=tn.groups,si=He?(si=mr([fi],Ur,xi,vr),gn!==void 0&&Ze(si,gn),_e(Ee(wr,void 0,si))):$e(fi,vr,xi,Ur,gn,wr);Vn<=xi&&(Mn+=er(vr,Vn,xi)+si,Vn=xi+fi.length)}return Mn+er(vr,Vn)}]},!!Ue(function(){var sr=/./;return sr.exec=function(){var pr=[];return pr.groups={a:"7"},pr},"".replace(sr,"$<a>")!=="7"})||!Ge||tr)},function(Pe,Me){Pe.exports=__WEBPACK_EXTERNAL_MODULE__115__},function(Pe,Me){Pe.exports=__WEBPACK_EXTERNAL_MODULE__116__},function(Pe,Me,ke){var Ee=ke(7),Te=ke(12),Se=ke(51),je=ke(36),Ue=ke(185),ke=ke(6),De=TypeError,ze=ke("toPrimitive");Pe.exports=function(Fe,Ie){if(!Te(Fe)||Se(Fe))return Fe;var _e=je(Fe,ze);if(_e)
|
|||
|
|
\v\f\r \u2028\u2029\uFEFF`},function(Pe,Me,Be){var Ee=Be(12),Te=Be(21),Se=Be(6)("match");Pe.exports=function(je){var Ue;return Ee(je)&&((Ue=je[Se])!==void 0?!!Ue:Te(je)==="RegExp")}},function(Pe,Me,Be){var Ee=Be(7),Te=Be(11),Se=Be(28),je=Be(152),Ue=RegExp.prototype;Pe.exports=function(ke){var De=ke.flags;return De!==void 0||"flags"in Ue||Te(ke,"flags")||!Se(Ue,ke)?De:Ee(je,ke)}},function(Pe,Me,Be){var Ee=Be(8);Pe.exports=function(){var Te=Ee(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,Me,Be){var Ee=Be(3),Te=Be(4).RegExp;Pe.exports=Ee(function(){var Se=Te("(?<a>b)","g");return Se.exec("b").groups.a!=="b"||"b".replace(Se,"$<a>c")!=="bc"})},function(Pe,Me,De){De(65);var Ee,Te=De(1),Se=De(7),je=De(10),Ue=De(8),ke=De(9),De=(Ee=!1,(De=/[ac]/).exec=function(){return Ee=!0,/./.exec.apply(this,arguments)},De.test("abc")===!0&&Ee),ze=/./.test;Te({target:"RegExp",proto:!0,forced:!De},{test:function(_e){var Ie=Ue(this),_e=ke(_e),Ae=Ie.exec;return je(Ae)?(Ae=Se(Ae,Ie,_e))!==null&&(Ue(Ae),!0):Se(ze,Ie,_e)}})},function(Pe,Me,Ue){var Fe=Ue(53).PROPER,Ee=Ue(15),Te=Ue(8),Se=Ue(9),ze=Ue(3),je=Ue(151),Ue="toString",ke=RegExp.prototype,De=ke[Ue],ze=ze(function(){return De.call({source:"a",flags:"b"})!=="/a/b"}),Fe=Fe&&De.name!==Ue;(ze||Fe)&&Ee(ke,Ue,function(){var Ie=Te(this);return"/"+Se(Ie.source)+"/"+Se(je(Ie))},{unsafe:!0})},function(Pe,Me,ke){var Ee=ke(1),Te=ke(2),Se=ke(108),je=ke(17),Ue=ke(9),ke=ke(109),De=Te("".indexOf);Ee({target:"String",proto:!0,forced:!ke("includes")},{includes:function(ze){return!!~De(Ue(je(this)),Ue(Se(ze)),1<arguments.length?arguments[1]:void 0)}})},function(Pe,Me,Be){var Ee=Be(110).charAt,Te=Be(9),Se=Be(19),je=Be(104),Ue=Be(63),ke="String Iterator",De=Se.set,ze=Se.getterFor(ke);je(String,"String",function(Fe){De(this,{type:ke,string:Te(Fe),index:0})},function(){var Fe=ze(this),Ie=Fe.string,_e=Fe.index;return _e>=Ie.length?Ue(void 0,!0):(Ie=Ee(Ie,_e),Fe.index+=Ie.length,Ue(Ie,!1))})},function(Pe,Me,Be){var Ee=Be(7),Te=Be(111),Se=Be(8),je=Be(35),Ue=Be(44),ke=Be(9),De=Be(17),ze=Be(36),Fe=Be(112),Ie=Be(113);Te("match",function(_e,Ae,Je){return[function(ir){var $e=De(this),cr=je(ir)?void 0:ze(ir,_e);return cr?Ee(cr,ir,$e):new RegExp(ir)[_e](ke($e))},function(xr){var $e=Se(this),cr=ke(xr),xr=Je(Ae,$e,cr);if(xr.done)return xr.value;if(!$e.global)return Ie($e,cr);for(var Tr=$e.unicode,Mr=[],mr=$e.lastIndex=0;(Ze=Ie($e,cr))!==null;){var Ze=ke(Ze[0]);(Mr[mr]=Ze)===""&&($e.lastIndex=Fe(cr,Ue($e.lastIndex),Tr)),mr++}return mr===0?null:Mr}]})},function(Pe,Me,Be){var Ee=Be(2),Te=Be(17),Se=Be(9),je=/"/g,Ue=Ee("".replace);Pe.exports=function(Ie,De,ze,Fe){var Ie=Se(Te(Ie)),_e="<"+De;return ze!==""&&(_e+=" "+ze+'="'+Ue(Se(Fe),je,""")+'"'),_e+">"+Ie+"</"+De+">"}},function(Pe,Me,Be){var Ee=Be(3);Pe.exports=function(Te){return Ee(function(){var Se=""[Te]('"');return Se!==Se.toLowerCase()||3<Se.split('"').length})}},function(Pe,Me,Be){function Ee(je){for(var Ue={},ke=0;ke<64;ke++)Ue[je.charAt(ke)]=ke;return Ue}var Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",Te=Se+"+/",Se=Se+"-_";Pe.exports={i2c:Te,c2i:Ee(Te),i2cUrl:Se,c2iUrl:Ee(Se)}},function(Pe,Me,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,Me,Be){Be=Be(87)("span").classList,Be=Be&&Be.constructor&&Be.constructor.prototype,Pe.exports=Be===Object.prototype?void 0:Be},function(Pe,Me,ze){var Ee=ze(34),Te=ze(62),Se=ze(64),Ae=ze(19),je=ze(13).f,Ue=ze(104),ke=ze
|
|||
|
|
`):De})(Se,Ee);return Se[2]?"@media ".concat(Se[2]," {").concat(je,"}"):je}).join("")},Te.i=function(Se,je,Ue){typeof Se=="string"&&(Se=[[null,Se,""]]);var ke={};if(Ue)for(var De=0;De<this.length;De++){var ze=this[De][0];ze!=null&&(ke[ze]=!0)}for(var Fe=0;Fe<Se.length;Fe++){var Ie=[].concat(Se[Fe]);Ue&&ke[Ie[0]]||(je&&(Ie[2]?Ie[2]="".concat(je," and ").concat(Ie[2]):Ie[2]=je),Te.push(Ie))}},Te}},function(Pe,Me,Be){function Ee(Tr,Mr){for(var mr=[],Ze={},xe=0;xe<Mr.length;xe++){var Ge=Mr[xe],er=Ge[0],Ge={id:Tr+":"+xe,css:Ge[1],media:Ge[2],sourceMap:Ge[3]};Ze[er]?Ze[er].parts.push(Ge):mr.push(Ze[er]={id:er,parts:[Ge]})}return mr}if(Be.r(Me),Be.d(Me,"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,Ue=0,ke=!1,De=function(){},ze=null,Fe="data-vue-ssr-id",Ie=typeof navigator!="undefined"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _e(Tr,Mr,mr,Ze){ke=mr,ze=Ze||{};var xe=Ee(Tr,Mr);return Ae(xe),function(er){for(var Ge=[],tr=0;tr<xe.length;tr++){var sr=xe[tr];(pr=Te[sr.id]).refs--,Ge.push(pr)}er?Ae(xe=Ee(Tr,er)):xe=[];for(var pr,tr=0;tr<Ge.length;tr++)if((pr=Ge[tr]).refs===0){for(var Ir=0;Ir<pr.parts.length;Ir++)pr.parts[Ir]();delete Te[pr.id]}}}function Ae(Tr){for(var Mr=0;Mr<Tr.length;Mr++){var mr=Tr[Mr],Ze=Te[mr.id];if(Ze){Ze.refs++;for(var xe=0;xe<Ze.parts.length;xe++)Ze.parts[xe](mr.parts[xe]);for(;xe<mr.parts.length;xe++)Ze.parts.push(ir(mr.parts[xe]));Ze.parts.length>mr.parts.length&&(Ze.parts.length=mr.parts.length)}else{for(var er=[],xe=0;xe<mr.parts.length;xe++)er.push(ir(mr.parts[xe]));Te[mr.id]={id:mr.id,refs:1,parts:er}}}}function Je(){var Tr=document.createElement("style");return Tr.type="text/css",Se.appendChild(Tr),Tr}function ir(Tr){var Mr,mr,Ze,xe=document.querySelector("style["+Fe+'~="'+Tr.id+'"]');if(xe){if(ke)return De;xe.parentNode.removeChild(xe)}return Ze=Ie?(Mr=Ue++,xe=je=je||Je(),mr=xr.bind(null,xe,Mr,!1),xr.bind(null,xe,Mr,!0)):(xe=Je(),mr=function(er,Ge){var tr=Ge.css,sr=Ge.media,pr=Ge.sourceMap;if(sr&&er.setAttribute("media",sr),ze.ssrId&&er.setAttribute(Fe,Ge.id),pr&&(tr=(tr+=`
|
|||
|
|
/*# sourceURL=`+pr.sources[0]+" */")+`
|
|||
|
|
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(pr))))+" */"),er.styleSheet)er.styleSheet.cssText=tr;else{for(;er.firstChild;)er.removeChild(er.firstChild);er.appendChild(document.createTextNode(tr))}}.bind(null,xe),function(){xe.parentNode.removeChild(xe)}),mr(Tr),function(er){er?er.css===Tr.css&&er.media===Tr.media&&er.sourceMap===Tr.sourceMap||mr(Tr=er):Ze()}}$e=[];var $e,cr=function(Tr,Mr){return $e[Tr]=Mr,$e.filter(Boolean).join(`
|
|||
|
|
`)};function xr(Tr,Mr,xe,Ze){var xe=xe?"":Ze.css;Tr.styleSheet?Tr.styleSheet.cssText=cr(Mr,xe):(Ze=document.createTextNode(xe),(xe=Tr.childNodes)[Mr]&&Tr.removeChild(xe[Mr]),xe.length?Tr.insertBefore(Ze,xe[Mr]):Tr.appendChild(Ze))}},function(Pe,Me,Be){Be.d(Me,"a",function(){return Te});var Ee=Be(50);function Te(Se,je){var Ue,ke,De,ze,Fe=typeof Symbol!="undefined"&&Se[Symbol.iterator]||Se["@@iterator"];if(Fe)return De=!(ke=!0),{s:function(){Fe=Fe.call(Se)},n:function(){var Ie=Fe.next();return ke=Ie.done,Ie},e:function(Ie){De=!0,Ue=Ie},f:function(){try{ke||Fe.return==null||Fe.return()}finally{if(De)throw Ue}}};if(Array.isArray(Se)||(Fe=Object(Ee.a)(Se))||je&&Se&&typeof Se.length=="number")return Fe&&(Se=Fe),ze=0,{s:je=function(){},n:function(){return ze>=Se.length?{done:!0}:{done:!1,value:Se[ze++]}},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,Me){Pe.exports=__WEBPACK_EXTERNAL_MODULE__171__},function(Pe,Me){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,Me,Be){function Ee(Te,Se){if(Te==null)return{};var je,Ue=((ze,Fe)=>{if(ze==null)return{};var Ie,_e={};for(Ie in ze)if({}.hasOwnProperty.call(ze,Ie)){if(Fe.indexOf(Ie)!==-1)continue;_e[Ie]=ze[Ie]}return _e})(Te,Se);if(Object.getOwnPropertySymbols)for(var ke=Object.getOwnPropertySymbols(Te),De=0;De<ke.length;De++)je=ke[De],Se.indexOf(je)===-1&&{}.propertyIsEnumerable.call(Te,je)&&(Ue[je]=Te[je]);return Ue}Be.d(Me,"a",function(){return Ee})},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 Ue});var Ee=Be(22),Te=(Be.d(Te,"hiprint",function(){return Ee.b}),Be.d(Te,"defaultElementTypeProvider",function(){return Ee.a}),Be(292),Be(293),Be(294),Be(298),Be(178)),Se=function(ke){window.autoConnect=!0,window.hiwebSocket&&window.hiwebSocket.hasIo()&&window.hiwebSocket.start(ke)},je=function(){window.autoConnect=!1,window.hiwebSocket&&window.hiwebSocket.hasIo()&&window.hiwebSocket.stop()},Ue={disAutoConnect:je,install:function(ze){var De=1<arguments.length&&arguments[1]!==void 0?arguments[1]:"$hiPrint",ze=(!(2<arguments.length&&arguments[2]!==void 0)||arguments[2]||je(),ze.prototype||ze.config.globalProperties);ze[De]=Ee.b,ze.$print=function(){for(var Ie=0<arguments.length&&arguments[0]!==void 0?arguments[0]:Ee.a,Fe=1<arguments.length?arguments[1]:void 0,Ie=(Ee.b.init({providers:[new Ie]}),new Ee.b.PrintTemplate({template:Fe})),_e=arguments.length,Ae=new Array(2<_e?_e-2:0),Je=2;Je<_e;Je++)Ae[Je-2]=arguments[Je];return Ie.print.apply(Ie,Ae),Ie},ze.$print2=function(){for(var Ie=0<arguments.length&&arguments[0]!==void 0?arguments[0]:Ee.a,Fe=1<arguments.length?arguments[1]:void 0,Ie=(Ee.b.init({providers:[new Ie]}),new Ee.b.PrintTemplate({template:Fe})),_e=arguments.length,Ae=new Array(2<_e?_e-2:0),Je=2;Je<_e;Je++)Ae[Je-2]=arguments[Je];return Ie.print2.apply(Ie,Ae),Ie}}};Ee.b.version=Te.a,window.hiprint=Ee.b},function(Pe,Me,Be){Be(183),Be(192),Be(193),Be(129),Be(195)},function(Pe,Me,Ur){function Ee(Ya,xa,Za){var ka=Na(si,xa);ka&&delete si[xa],ya(Ya,xa,Za),ka&&Ya!==si&&ya(si,xa,ka)}function Te(Ya,xa){var Za=ha[Ya]=er(Fn);return di(Za,{type:xi,tag:Ya,description:xa}),Je||(Za.description=xa),Za}function Se(Ya,xa,Za){return Ya===si&&Se(oo,xa,Za),Tr(Ya),xa=mr(xa),Tr(Za),(cr(ha,xa)?(Za.enumerable?(cr(Ya,fi)&&Ya[fi][xa]&&(Ya[fi][xa]=!1),Za=er(Za,{enumerable:xe(0,!1)})):(cr(Ya,fi)||ya(Ya,fi,xe(1,er(null))),Ya[fi][xa]=!0),Ti):ya)(Ya,xa,Za)}function je(Ya,ka){Tr(Ya);var Za=Mr(ka),ka=Ge(Za).concat(ze(Za));return tn(ka,function(Ro){Je&&!_e(Ue,Za,Ro)||Se(Ya,Ro,Za[Ro])}),Ya}function Ue(xa){var xa=mr(xa),Za=_e(lr,this,xa);return!(this===si&&cr(ha,xa)&&!cr(oo,xa))&&(!(Za||!cr(this,xa)||!cr(ha,xa)||cr(this,fi)&&this[fi][xa])||Za)}function ke(ka,Ro){var Za,ka=Mr(ka),Ro=mr(Ro);if(ka!==si||!cr(ha,Ro)||cr(oo,Ro))return!(Za=Na(ka,Ro))||!cr(ha,Ro)||cr(ka,fi)&&ka[fi][Ro]||(Za.enumerable=!0),Za}function De(xa){var xa=_a(Mr(xa)),Za=[];return tn(xa,function(ka){cr(ha,ka)||cr(He,ka)||Sr(Za,ka)}),Za}function ze(Za){var xa=Za===si,Za=_a(xa?oo:Mr(Za)),ka=[];return tn(Za,function(Ro){!cr(ha,Ro)||xa&&!cr(si,Ro)||Sr(ka,ha[Ro])}),ka}var Fe=Ur(1),Ie=Ur(4),_e=Ur(7),Qa=Ur(2),Ae=Ur(16),Je=Ur(5),ir=Ur(40),$e=Ur(3),cr=Ur(11),xr=Ur(28),Tr=Ur(8),Mr=Ur(34),mr=Ur(84),Ze=Ur(9),xe=Ur(33),er=Ur(30),Ge=Ur(74),tr=Ur(43),sr=Ur(125),pr=Ur(72),Ir=Ur(39),Pr=Ur(13),dr=Ur(124),wr=Ur(83),Ce=Ur(15),vr=Ur(20),qr=Ur(42),Pi=Ur(71),He=Ur(54),Oe=Ur(70),rr=Ur(6),xn=Ur(126),Mn=Ur(75),Vn=Ur(190),Nn=Ur(25),na=Ur(19),tn=Ur(45).forEach,fi=Pi("hidden"),xi="Symbol",Ur="prototype",di=na.set,gn=na.getterFor(xi),si=Object[Ur],Pi=Ie.Symbol,Fn=Pi&&Pi[Ur],Xa=Ie.RangeError,Sa=Ie.TypeError,na=Ie.QObject,Na=Ir.f,ya=Pr.f,_a=sr.f,lr=wr.f,Sr=Qa([].push),ha=qr("symbols"),oo=qr("op-symbols"),Qa=qr("wks"),xs=!na||!na[Ur]||!na[Ur].findChild,Ti=Je&&$e(function(){return er(ya({},"a",{get:function(){return ya(this,"a",{value:7}).a}})).a!==7})?Ee:ya;ir||(Ce(Fn=(Pi=function(){if(xr(Fn,this))throw new Sa("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=Me},function(Pe,Me,Be){Pe.exports=function(Ee,Te){return Te=Te||{},typeof(Ee=Ee&&Ee.__esModule?Ee.default:Ee)=="string"&&(/^['"].*['"]$/.test(Ee)&&(Ee=Ee.slice(1,-1)),Te.hash&&(Ee+=Te.hash),/["'() \t\n]/.test(Ee)||Te.needQuotes)?'"'.concat(Ee.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):Ee}},function(Pe,Me){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=Me}])})})(vuePluginHiprint$2)),vuePluginHiprint$2.exports}var vuePluginHiprintExports=requireVuePluginHiprint();const vuePluginHiprint=getDefaultExportFromCjs(vuePluginHiprintExports),vuePluginHiprint$1=_mergeNamespaces({__proto__:null,default:vuePluginHiprint},[vuePluginHiprintExports]);export{vuePluginHiprint$1 as v};
|