Files
qhmes/web-dist/js/NativePrintDesigner-CzoxOIE9.js

2 lines
40 KiB
Java
Raw Normal View History

2026-06-16 18:19:57 +08:00
var Ea=Object.defineProperty;var yt=Object.getOwnPropertySymbols;var Fa=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable;var bt=(L,g,M)=>g in L?Ea(L,g,{enumerable:!0,configurable:!0,writable:!0,value:M}):L[g]=M,W=(L,g)=>{for(var M in g||(g={}))Fa.call(g,M)&&bt(L,M,g[M]);if(yt)for(var M of yt(g))Ha.call(g,M)&&bt(L,M,g[M]);return L};var K=(L,g,M)=>new Promise((h,m)=>{var A=k=>{try{E(M.next(k))}catch(F){m(F)}},V=k=>{try{E(M.throw(k))}catch(F){m(F)}},E=k=>k.done?h(k.value):Promise.resolve(k.value).then(A,V);E((M=M.apply(L,g)).next())});import{e as Ba,r as d,h as De,o as Oa,d as Ra,C as ae,z as U,Q as p,f as l,H as q,G as Ee,A as f,b as Wa,u as I,K as Ua,T as Ae,J as wt,c as B,R as ie,W as Ja,p as ja,E as S,y as Mt,n as Ze}from"./vue-vendor-DNhG1Cve.js";import{ft as $a,aE as Ya,aG as Ka,M as qa,s as Va,av as Xa,aU as Za,aX as Ga,bR as Qa,dQ as en,T as tn,x as xt,J as an,au as nn}from"./index-X7Y8jykP.js";import{f as on,e as rn,a as sn,b as ln,h as un}from"./printTemplate.api-Dfuyi-ab.js";import mn from"./DesignerCanvas-CVUk93NN.js";import dn from"./FreeTableCellEditModal-p8rtTQ6C.js";import fn from"./PageConfigModal-bGksSBy0.js";import pn from"./PropertiesPanel-BORTtea0.js";import vn from"./ToolbarPalette-BPSHXZtR.js";import{P as Ge,f as cn,p as gn}from"./printNativeViaPrintDot-hFBchMti.js";import{u as hn,r as Qe,b as yn,c as bn,n as wn,a as St}from"./nativeSchemaNormalize-WzV7gGZh.js";import{g as Mn,b as xn}from"./nativeMockData-D5nIVXYv.js";import{n as Sn}from"./freeTableGrid-BXWKfNhh.js";import{m as An}from"./freeTableTracks--U1Y5u-V.js";import _n from"./index-DklMb9Qc.js";import zn from"./index-saD4h7VJ.js";import{D as Cn}from"./index-DZJwICFr.js";import{b as Nn}from"./index-CeNCCWzL.js";import"./emoji-mart-vue-fast-R0uJEDq-.js";import"./ElementWrapper-CA62vlXa.js";import"./TextElement.vue_vue_type_script_setup_true_lang-Dp44opX3.js";import"./ImageElement-CjUO2lPv.js";import"./TableElement-kNOZl-_Z.js";import"./browser-D2DxMZOB.js";import"./tableMerge-CpKVscEF.js";import"./tableBuilder-lOY0L2dW.js";import"./FreeTableElement-BlpUN_ga.js";import"./freeTableBorders-i5ck0FPH.js";import"./QrcodeElement-DB89VUPw.js";import"./BarcodeElement-CA6dHxwg.js";import"./barcodeRenderer-cjxjmb-t.js";import"./index-CuWaQdlK.js";import"./index-DO7ZhK45.js";import"./UpOutlined-B1UMbtrP.js";import"./TableHeaderConfigEditor-hIJ4y7ro.js";import"./index-DSsDi_fL.js";import"./Group-UHkub2tu.js";import"./Checkbox-Dbxs4we4.js";import"./index-BuONesFs.js";import"./index-DsixALRt.js";import"./BindingDetailFieldsEditor-ilFMi7Vw.js";import"./index-DTjkSGYl.js";import"./eagerComputed-BTlOruLW.js";import"./fromPairs-Dx9PT-t0.js";import"./useMaxLevel-DE205ncc.js";import"./index-CfNJyBRj.js";import"./dropdown-jkliuVyN.js";import"./index-DfHu-LAS.js";import"./Group-DBzJABA_.js";import"./RadioButton-DRBix2Fq.js";import"./index-C7ckZv9Z.js";import"./DirectoryTree-nk_YTTIy.js";import"./FolderOpenOutlined-SzIPA7z0.js";import"./index-Cl-8Hzo4.js";import"./scrollTo-D49dA-9c.js";import"./operationUnit-vCu2co3e.js";import"./BindingParamsEditor-CYr4nMsu.js";import"./isNumeric-DjvBa-1E.js";let et=!1;function Tn(L){if(et)return;et=!0;const g=document.createElement("iframe");g.style.position="fixed",g.style.right="0",g.style.bottom="0",g.style.width="0",g.style.height="0",g.style.border="0",g.style.opacity="0",g.setAttribute("aria-hidden","true"),g.setAttribute("sandbox","allow-modals allow-same-origin");let M=!1,h=!1,m=0;const A=()=>{h||(h=!0,m&&window.clearTimeout(m),g.removeEventListener("load",V),setTimeout(()=>{g.remove(),et=!1},0))},V=()=>{if(M)return;M=!0;const E=g.contentWindow;if(!E){A();return}const k=()=>{E.removeEventListener("afterprint",k),A()};E.addEventListener("afterprint",k),setTimeout(()=>{E.focus(),E.print()},50)};g.addEventListener("load",V),g.srcdoc=L,document.body.appendChild(g),m=window.setTimeout(()=>{A()},60*1e3)}const In={class:"native-designer-page"},Pn={class:"designer-toolbar"},Ln={class:"toolbar-left"},kn={key:0,class:"tip"},Dn={class:"designer-meta"},En={class:"designer-meta__grid"},Fn={class:"designer-meta__act