@univerjs-pro/print 0.4.0 → 0.4.1-nightly.202410191605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +2 -2
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x40c7a4=_0x2623;(function(_0x86d632,_0x2e8ece){const _0x1a829b=_0x2623,_0x3390d7=_0x86d632();while(!![]){try{const _0x2626f3=-parseInt(_0x1a829b(0x1d5))/0x1*(parseInt(_0x1a829b(0x1d4))/0x2)+parseInt(_0x1a829b(0x1b4))/0x3*(-parseInt(_0x1a829b(0x1b9))/0x4)+-parseInt(_0x1a829b(0x1b8))/0x5*(parseInt(_0x1a829b(0x1bb))/0x6)+-parseInt(_0x1a829b(0x1db))/0x7+parseInt(_0x1a829b(0x1bc))/0x8+-parseInt(_0x1a829b(0x1b5))/0x9+parseInt(_0x1a829b(0x1c0))/0xa;if(_0x2626f3===_0x2e8ece)break;else _0x3390d7['push'](_0x3390d7['shift']());}catch(_0x18aae0){_0x3390d7['push'](_0x3390d7['shift']());}}}(_0x1d66,0xeb7d0));function _0x1d66(){const _0x7a476f=['35CrUbAJ','24uBjkER','toStringTag','284478JnXEfu','11438728PgJgEI','Narrow','Folio','Wide','45752900lYoMNl','Middle','Letter','Executive','Statement','defineProperty','Portrait','Normal','createPrintStyle','printing-canvas','Tabloid','printing-canvas-container','Module','Origin','innerHTML','FitWidth','FitHeight','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','FitPage','PrintScale','2XGXGRR','1066016qUhKFa','PrintPaperMargin','PaperSizePxMap','PRINT_CONTAINER_CLASS','Custom','PrintPaperSize','10961706tQGXic','End','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','PrintDirection','Landscape','None','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','296715hfLviV','13349484PEEHnC','Legal','Start'];_0x1d66=function(){return _0x7a476f;};return _0x1d66();}function _0x2623(_0x3a9b19,_0x1cf265){const _0x1d6609=_0x1d66();return _0x2623=function(_0x262357,_0x1f580e){_0x262357=_0x262357-0x1b2;let _0x5e2e6e=_0x1d6609[_0x262357];return _0x5e2e6e;},_0x2623(_0x3a9b19,_0x1cf265);}Object[_0x40c7a4(0x1c5)](exports,Symbol[_0x40c7a4(0x1ba)],{'value':_0x40c7a4(0x1cc)});var e=(_0x4ac447=>(_0x4ac447[_0x40c7a4(0x1c2)]=_0x40c7a4(0x1c2),_0x4ac447[_0x40c7a4(0x1ca)]='Tabloid',_0x4ac447[_0x40c7a4(0x1b6)]=_0x40c7a4(0x1b6),_0x4ac447['Statement']=_0x40c7a4(0x1c4),_0x4ac447['Executive']=_0x40c7a4(0x1c3),_0x4ac447[_0x40c7a4(0x1be)]=_0x40c7a4(0x1be),_0x4ac447['A3']='A3',_0x4ac447['A4']='A4',_0x4ac447['A5']='A5',_0x4ac447['B4']='B4',_0x4ac447['B5']='B5',_0x4ac447))(e||{}),i=(_0x3bee8b=>(_0x3bee8b[_0x40c7a4(0x1c6)]=_0x40c7a4(0x1c6),_0x3bee8b[_0x40c7a4(0x1df)]=_0x40c7a4(0x1df),_0x3bee8b))(i||{}),c=(_0x3d5323=>(_0x3d5323[_0x40c7a4(0x1cd)]=_0x40c7a4(0x1cd),_0x3d5323[_0x40c7a4(0x1cf)]=_0x40c7a4(0x1cf),_0x3d5323[_0x40c7a4(0x1d0)]=_0x40c7a4(0x1d0),_0x3d5323[_0x40c7a4(0x1d2)]=_0x40c7a4(0x1d2),_0x3d5323[_0x40c7a4(0x1d9)]=_0x40c7a4(0x1d9),_0x3d5323))(c||{}),g=(_0x4a47f2=>(_0x4a47f2[_0x40c7a4(0x1b7)]=_0x40c7a4(0x1b7),_0x4a47f2[_0x40c7a4(0x1dc)]='End',_0x4a47f2[_0x40c7a4(0x1c1)]=_0x40c7a4(0x1c1),_0x4a47f2))(g||{}),o=(_0x267251=>(_0x267251[_0x40c7a4(0x1c7)]=_0x40c7a4(0x1c7),_0x267251['Narrow']=_0x40c7a4(0x1bd),_0x267251['Wide']='Wide',_0x267251[_0x40c7a4(0x1b2)]=_0x40c7a4(0x1b2),_0x267251))(o||{});const m={[e['A3']]:{'w':0x463,'h':0x633},[e['A4']]:{'w':0x31a,'h':0x464},[e['A5']]:{'w':0x22f,'h':0x31a},[e['B4']]:{'w':0x3b0,'h':0x540},[e['B5']]:{'w':0x299,'h':0x3b0},[e[_0x40c7a4(0x1c3)]]:{'w':0x2b8,'h':0x3f0},[e['Folio']]:{'w':0x330,'h':0x4e0},[e[_0x40c7a4(0x1b6)]]:{'w':0x330,'h':0x540},[e[_0x40c7a4(0x1c2)]]:{'w':0x330,'h':0x420},[e[_0x40c7a4(0x1c4)]]:{'w':0x210,'h':0x330},[e[_0x40c7a4(0x1ca)]]:{'w':0x420,'h':0x660}},N={[o['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x40c7a4(0x1bd)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x40c7a4(0x1bf)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x40c7a4(0x1cb),p=_0x40c7a4(0x1c9);function A(_0x4b4d07,_0x4895d6){const _0x252ca2=_0x40c7a4,{w:_0x3e48c2,h:_0xaf3b49}=m[_0x4b4d07],_0x1a120e=_0x4895d6===i[_0x252ca2(0x1c6)]?_0x3e48c2:_0xaf3b49,_0x24cde2=_0x4895d6===i[_0x252ca2(0x1c6)]?_0xaf3b49:_0x3e48c2,_0x28b4dc='\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x1a120e+'px\x20'+_0x24cde2+'px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.'+n+',\x20.'+n+'\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.'+p+_0x252ca2(0x1b3)+_0x24cde2+_0x252ca2(0x1dd)+_0x1a120e+_0x252ca2(0x1d1),_0x16ce9a=document['createElement']('style');return _0x16ce9a[_0x252ca2(0x1ce)]=_0x28b4dc,_0x16ce9a['className']='offline-printing-css',_0x16ce9a;}exports['PRINT_CANVAS_CLASS']=p,exports[_0x40c7a4(0x1d8)]=n,exports['PaperMarginMap']=N,exports[_0x40c7a4(0x1d7)]=m,exports['PrintAlign']=g,exports[_0x40c7a4(0x1de)]=i,exports[_0x40c7a4(0x1d6)]=o,exports[_0x40c7a4(0x1da)]=e,exports[_0x40c7a4(0x1d3)]=c,exports[_0x40c7a4(0x1c8)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x206586=_0x7829;(function(_0x4e974a,_0x3f7013){const _0x262b75=_0x7829,_0x5b65e7=_0x4e974a();while(!![]){try{const _0x3bf068=-parseInt(_0x262b75(0xfe))/0x1*(-parseInt(_0x262b75(0x103))/0x2)+parseInt(_0x262b75(0xf9))/0x3*(parseInt(_0x262b75(0xfd))/0x4)+parseInt(_0x262b75(0x112))/0x5+parseInt(_0x262b75(0x111))/0x6*(parseInt(_0x262b75(0xf5))/0x7)+parseInt(_0x262b75(0xf0))/0x8*(parseInt(_0x262b75(0x102))/0x9)+-parseInt(_0x262b75(0x10f))/0xa*(-parseInt(_0x262b75(0x10c))/0xb)+-parseInt(_0x262b75(0xf1))/0xc;if(_0x3bf068===_0x3f7013)break;else _0x5b65e7['push'](_0x5b65e7['shift']());}catch(_0x5e8684){_0x5b65e7['push'](_0x5b65e7['shift']());}}}(_0x1b3d,0x27760));function _0x1b3d(){const _0xa485d7=['39WQrmkC',',\x20.','className','Landscape','4004LbkdGB','6pZGpBu','px\x20','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','45YPtRkS','29102dpHBmT','None','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','End','style','Wide','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Tabloid','Portrait','530134KyVWfa','Executive','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','60UErDIT','Middle','6aszMMy','494875PPyFQz','Origin','Legal','Normal','Start','Narrow','Letter','createElement','437872WiTpVv','7875900jMUXhJ','FitHeight','FitWidth','Folio','390803qiKlMP','Statement','Custom','FitPage'];_0x1b3d=function(){return _0xa485d7;};return _0x1b3d();}var o=(_0x9d51a3=>(_0x9d51a3[_0x206586(0xee)]='Letter',_0x9d51a3[_0x206586(0x10a)]=_0x206586(0x10a),_0x9d51a3[_0x206586(0x114)]=_0x206586(0x114),_0x9d51a3[_0x206586(0xf6)]='Statement',_0x9d51a3[_0x206586(0x10d)]=_0x206586(0x10d),_0x9d51a3[_0x206586(0xf4)]=_0x206586(0xf4),_0x9d51a3['A3']='A3',_0x9d51a3['A4']='A4',_0x9d51a3['A5']='A5',_0x9d51a3['B4']='B4',_0x9d51a3['B5']='B5',_0x9d51a3))(o||{}),i=(_0xa6869f=>(_0xa6869f[_0x206586(0x10b)]=_0x206586(0x10b),_0xa6869f[_0x206586(0xfc)]=_0x206586(0xfc),_0xa6869f))(i||{}),w=(_0x26b9bc=>(_0x26b9bc[_0x206586(0x113)]='Origin',_0x26b9bc['FitWidth']=_0x206586(0xf3),_0x26b9bc[_0x206586(0xf2)]=_0x206586(0xf2),_0x26b9bc[_0x206586(0xf8)]=_0x206586(0xf8),_0x26b9bc[_0x206586(0xf7)]='Custom',_0x26b9bc))(w||{}),m=(_0x12a3fc=>(_0x12a3fc[_0x206586(0x116)]=_0x206586(0x116),_0x12a3fc[_0x206586(0x106)]=_0x206586(0x106),_0x12a3fc[_0x206586(0x110)]=_0x206586(0x110),_0x12a3fc))(m||{}),e=(_0x4dee28=>(_0x4dee28[_0x206586(0x115)]='Normal',_0x4dee28[_0x206586(0xed)]='Narrow',_0x4dee28[_0x206586(0x108)]='Wide',_0x4dee28['None']=_0x206586(0x104),_0x4dee28))(e||{});const g={[o['A3']]:{'w':0x463,'h':0x633},[o['A4']]:{'w':0x31a,'h':0x464},[o['A5']]:{'w':0x22f,'h':0x31a},[o['B4']]:{'w':0x3b0,'h':0x540},[o['B5']]:{'w':0x299,'h':0x3b0},[o[_0x206586(0x10d)]]:{'w':0x2b8,'h':0x3f0},[o[_0x206586(0xf4)]]:{'w':0x330,'h':0x4e0},[o['Legal']]:{'w':0x330,'h':0x540},[o[_0x206586(0xee)]]:{'w':0x330,'h':0x420},[o['Statement']]:{'w':0x210,'h':0x330},[o['Tabloid']]:{'w':0x420,'h':0x660}},v={[e[_0x206586(0x115)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x206586(0xed)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x206586(0x108)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x206586(0x104)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l='printing-canvas-container',p='printing-canvas';function _0x7829(_0x4e3de7,_0x4dcc15){const _0x1b3de9=_0x1b3d();return _0x7829=function(_0x7829c3,_0x120fad){_0x7829c3=_0x7829c3-0xed;let _0x58cd07=_0x1b3de9[_0x7829c3];return _0x58cd07;},_0x7829(_0x4e3de7,_0x4dcc15);}function N(_0x370258,_0x6bb05d){const _0x34c340=_0x206586,{w:_0x2703f2,h:_0x59760f}=g[_0x370258],_0xcdfee1=_0x6bb05d===i[_0x34c340(0x10b)]?_0x2703f2:_0x59760f,_0x26878c=_0x6bb05d===i[_0x34c340(0x10b)]?_0x59760f:_0x2703f2,_0x4687d4=_0x34c340(0x10e)+_0xcdfee1+_0x34c340(0xff)+_0x26878c+_0x34c340(0x101)+l+_0x34c340(0xfa)+l+_0x34c340(0x105)+p+_0x34c340(0x100)+_0x26878c+_0x34c340(0x109)+_0xcdfee1+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x12070e=document[_0x34c340(0xef)](_0x34c340(0x107));return _0x12070e['innerHTML']=_0x4687d4,_0x12070e[_0x34c340(0xfb)]='offline-printing-css',_0x12070e;}export{p as PRINT_CANVAS_CLASS,l as PRINT_CONTAINER_CLASS,v as PaperMarginMap,g as PaperSizePxMap,m as PrintAlign,i as PrintDirection,e as PrintPaperMargin,o as PrintPaperSize,w as PrintScale,N as createPrintStyle};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x56a4(){const _0x496241=['PRINT_CONTAINER_CLASS','Legal','defineProperty','style','503216sRinKL','558120QUwast','FitPage','FitWidth','End','Start','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','printing-canvas-container','Normal','FitHeight','Portrait','794856PlJZmO','createPrintStyle','PrintPaperMargin','printing-canvas','Middle','PrintAlign','24WbMvle','Letter','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','Tabloid','Wide','UniverPrint','PaperSizePxMap','PrintScale','px\x20','PrintDirection','PrintPaperSize','2788905jgGkAj','className','616KCMUJF','Custom','Narrow','PaperMarginMap','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','3644570SYSwGR','2GOjNTg','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','offline-printing-css','exports','createElement',',\x20.','Executive','2313496acdnJu','Landscape','64845OIXJNn','Module','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','None','Statement','amd','Folio','Origin'];_0x56a4=function(){return _0x496241;};return _0x56a4();}function _0xb31f(_0x3c0075,_0x2b6dce){const _0x56a409=_0x56a4();return _0xb31f=function(_0xb31ff9,_0x3ede2f){_0xb31ff9=_0xb31ff9-0xed;let _0x47e063=_0x56a409[_0xb31ff9];return _0x47e063;},_0xb31f(_0x3c0075,_0x2b6dce);}(function(_0x20abd6,_0x40ef09){const _0x17ac67=_0xb31f,_0x4f7e4d=_0x20abd6();while(!![]){try{const _0xad0a54=parseInt(_0x17ac67(0xfb))/0x1*(parseInt(_0x17ac67(0x110))/0x2)+parseInt(_0x17ac67(0x11b))/0x3+parseInt(_0x17ac67(0x102))/0x4+parseInt(_0x17ac67(0x111))/0x5*(-parseInt(_0x17ac67(0x121))/0x6)+parseInt(_0x17ac67(0xf2))/0x7+parseInt(_0x17ac67(0xf4))/0x8*(-parseInt(_0x17ac67(0x104))/0x9)+-parseInt(_0x17ac67(0xfa))/0xa;if(_0xad0a54===_0x40ef09)break;else _0x4f7e4d['push'](_0x4f7e4d['shift']());}catch(_0xc289c2){_0x4f7e4d['push'](_0x4f7e4d['shift']());}}}(_0x56a4,0x5c953),function(_0x29771d,_0x553dda){const _0x3802c4=_0xb31f;typeof exports=='object'&&typeof module<'u'?_0x553dda(exports):typeof define=='function'&&define[_0x3802c4(0x109)]?define([_0x3802c4(0xfe)],_0x553dda):(_0x29771d=typeof globalThis<'u'?globalThis:_0x29771d||self,_0x553dda(_0x29771d[_0x3802c4(0x126)]={}));}(this,function(_0x5a7e0f){'use strict';const _0x10bad3=_0xb31f;var _0xfcc7f8=(_0x2ec309=>(_0x2ec309['Letter']=_0x10bad3(0x122),_0x2ec309[_0x10bad3(0x124)]='Tabloid',_0x2ec309[_0x10bad3(0x10d)]=_0x10bad3(0x10d),_0x2ec309['Statement']=_0x10bad3(0x108),_0x2ec309[_0x10bad3(0x101)]=_0x10bad3(0x101),_0x2ec309[_0x10bad3(0x10a)]=_0x10bad3(0x10a),_0x2ec309['A3']='A3',_0x2ec309['A4']='A4',_0x2ec309['A5']='A5',_0x2ec309['B4']='B4',_0x2ec309['B5']='B5',_0x2ec309))(_0xfcc7f8||{}),_0x1a876c=(_0x5e577d=>(_0x5e577d['Portrait']='Portrait',_0x5e577d[_0x10bad3(0x103)]='Landscape',_0x5e577d))(_0x1a876c||{}),_0x41d9b2=(_0x3bc9f4=>(_0x3bc9f4[_0x10bad3(0x10b)]=_0x10bad3(0x10b),_0x3bc9f4[_0x10bad3(0x113)]=_0x10bad3(0x113),_0x3bc9f4['FitHeight']=_0x10bad3(0x119),_0x3bc9f4['FitPage']=_0x10bad3(0x112),_0x3bc9f4[_0x10bad3(0xf5)]=_0x10bad3(0xf5),_0x3bc9f4))(_0x41d9b2||{}),_0x24cc9f=(_0x3687e8=>(_0x3687e8[_0x10bad3(0x115)]=_0x10bad3(0x115),_0x3687e8['End']=_0x10bad3(0x114),_0x3687e8[_0x10bad3(0x11f)]=_0x10bad3(0x11f),_0x3687e8))(_0x24cc9f||{}),_0xf64a8d=(_0x3af11b=>(_0x3af11b['Normal']=_0x10bad3(0x118),_0x3af11b[_0x10bad3(0xf6)]=_0x10bad3(0xf6),_0x3af11b['Wide']=_0x10bad3(0x125),_0x3af11b[_0x10bad3(0x107)]=_0x10bad3(0x107),_0x3af11b))(_0xf64a8d||{});const _0x384e84={[_0xfcc7f8['A3']]:{'w':0x463,'h':0x633},[_0xfcc7f8['A4']]:{'w':0x31a,'h':0x464},[_0xfcc7f8['A5']]:{'w':0x22f,'h':0x31a},[_0xfcc7f8['B4']]:{'w':0x3b0,'h':0x540},[_0xfcc7f8['B5']]:{'w':0x299,'h':0x3b0},[_0xfcc7f8[_0x10bad3(0x101)]]:{'w':0x2b8,'h':0x3f0},[_0xfcc7f8[_0x10bad3(0x10a)]]:{'w':0x330,'h':0x4e0},[_0xfcc7f8['Legal']]:{'w':0x330,'h':0x540},[_0xfcc7f8[_0x10bad3(0x122)]]:{'w':0x330,'h':0x420},[_0xfcc7f8[_0x10bad3(0x108)]]:{'w':0x210,'h':0x330},[_0xfcc7f8[_0x10bad3(0x124)]]:{'w':0x420,'h':0x660}},_0x27ef0f={[_0xf64a8d[_0x10bad3(0x118)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0xf64a8d[_0x10bad3(0xf6)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0xf64a8d[_0x10bad3(0x125)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0xf64a8d['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x468af6=_0x10bad3(0x117),_0x29713a=_0x10bad3(0x11e);function _0x589878(_0x9a42f2,_0x1dff77){const _0x5f104b=_0x10bad3,{w:_0x547cec,h:_0xad316f}=_0x384e84[_0x9a42f2],_0x38a6cc=_0x1dff77===_0x1a876c[_0x5f104b(0x11a)]?_0x547cec:_0xad316f,_0x2d7669=_0x1dff77===_0x1a876c['Portrait']?_0xad316f:_0x547cec,_0x414b76=_0x5f104b(0x106)+_0x38a6cc+_0x5f104b(0xef)+_0x2d7669+_0x5f104b(0x123)+_0x468af6+_0x5f104b(0x100)+_0x468af6+_0x5f104b(0xfc)+_0x29713a+_0x5f104b(0x116)+_0x2d7669+_0x5f104b(0xf9)+_0x38a6cc+_0x5f104b(0xf8),_0x18e2f4=document[_0x5f104b(0xff)](_0x5f104b(0x10f));return _0x18e2f4['innerHTML']=_0x414b76,_0x18e2f4[_0x5f104b(0xf3)]=_0x5f104b(0xfd),_0x18e2f4;}_0x5a7e0f['PRINT_CANVAS_CLASS']=_0x29713a,_0x5a7e0f[_0x10bad3(0x10c)]=_0x468af6,_0x5a7e0f[_0x10bad3(0xf7)]=_0x27ef0f,_0x5a7e0f[_0x10bad3(0xed)]=_0x384e84,_0x5a7e0f[_0x10bad3(0x120)]=_0x24cc9f,_0x5a7e0f[_0x10bad3(0xf0)]=_0x1a876c,_0x5a7e0f[_0x10bad3(0x11d)]=_0xf64a8d,_0x5a7e0f[_0x10bad3(0xf1)]=_0xfcc7f8,_0x5a7e0f[_0x10bad3(0xee)]=_0x41d9b2,_0x5a7e0f[_0x10bad3(0x11c)]=_0x589878,Object[_0x10bad3(0x10e)](_0x5a7e0f,Symbol['toStringTag'],{'value':_0x10bad3(0x105)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-nightly.202410191605",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typescript": "5.6.3",
|
|
47
47
|
"vite": "^5.4.8",
|
|
48
48
|
"vitest": "^2.1.2",
|
|
49
|
-
"@univerjs-infra/shared": "0.4.
|
|
49
|
+
"@univerjs-infra/shared": "0.4.1"
|
|
50
50
|
},
|
|
51
51
|
"univerSpace": {
|
|
52
52
|
".": {
|