@univerjs-pro/print 0.4.1 → 0.4.2-nightly.202410291606
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 _0x33deae=_0x57b4;(function(_0x149dce,_0x329342){const _0x2117d6=_0x57b4,_0x512e3c=_0x149dce();while(!![]){try{const _0x17250f=parseInt(_0x2117d6(0x91))/0x1*(-parseInt(_0x2117d6(0xc0))/0x2)+-parseInt(_0x2117d6(0xaf))/0x3*(parseInt(_0x2117d6(0xb7))/0x4)+-parseInt(_0x2117d6(0xaa))/0x5+parseInt(_0x2117d6(0xbb))/0x6*(-parseInt(_0x2117d6(0xa7))/0x7)+parseInt(_0x2117d6(0xb4))/0x8*(parseInt(_0x2117d6(0x97))/0x9)+-parseInt(_0x2117d6(0x93))/0xa*(parseInt(_0x2117d6(0x92))/0xb)+parseInt(_0x2117d6(0xa6))/0xc;if(_0x17250f===_0x329342)break;else _0x512e3c['push'](_0x512e3c['shift']());}catch(_0x33b279){_0x512e3c['push'](_0x512e3c['shift']());}}}(_0x39e3,0x72e74));function _0x57b4(_0x2a4b1e,_0x476c64){const _0x39e335=_0x39e3();return _0x57b4=function(_0x57b441,_0x52fb87){_0x57b441=_0x57b441-0x91;let _0x6c10a8=_0x39e335[_0x57b441];return _0x6c10a8;},_0x57b4(_0x2a4b1e,_0x476c64);}Object[_0x33deae(0xb6)](exports,Symbol[_0x33deae(0xb8)],{'value':_0x33deae(0xbc)});var e=(_0x13ed4f=>(_0x13ed4f[_0x33deae(0x98)]=_0x33deae(0x98),_0x13ed4f[_0x33deae(0xb3)]=_0x33deae(0xb3),_0x13ed4f[_0x33deae(0x9e)]=_0x33deae(0x9e),_0x13ed4f['Statement']=_0x33deae(0xb1),_0x13ed4f[_0x33deae(0xae)]=_0x33deae(0xae),_0x13ed4f[_0x33deae(0xc5)]=_0x33deae(0xc5),_0x13ed4f['A3']='A3',_0x13ed4f['A4']='A4',_0x13ed4f['A5']='A5',_0x13ed4f['B4']='B4',_0x13ed4f['B5']='B5',_0x13ed4f))(e||{}),i=(_0x519fda=>(_0x519fda[_0x33deae(0x95)]='Portrait',_0x519fda[_0x33deae(0x96)]=_0x33deae(0x96),_0x519fda))(i||{}),c=(_0x4b4a0c=>(_0x4b4a0c[_0x33deae(0xab)]=_0x33deae(0xab),_0x4b4a0c['FitWidth']='FitWidth',_0x4b4a0c[_0x33deae(0x9b)]=_0x33deae(0x9b),_0x4b4a0c[_0x33deae(0xb2)]=_0x33deae(0xb2),_0x4b4a0c['Custom']=_0x33deae(0x9c),_0x4b4a0c))(c||{}),g=(_0x402c80=>(_0x402c80[_0x33deae(0xa8)]='Start',_0x402c80['End']='End',_0x402c80[_0x33deae(0xc2)]=_0x33deae(0xc2),_0x402c80))(g||{}),o=(_0x5e4139=>(_0x5e4139['Normal']=_0x33deae(0xc3),_0x5e4139[_0x33deae(0xa1)]=_0x33deae(0xa1),_0x5e4139[_0x33deae(0x9d)]=_0x33deae(0x9d),_0x5e4139[_0x33deae(0xac)]=_0x33deae(0xac),_0x5e4139))(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[_0x33deae(0xae)]]:{'w':0x2b8,'h':0x3f0},[e[_0x33deae(0xc5)]]:{'w':0x330,'h':0x4e0},[e['Legal']]:{'w':0x330,'h':0x540},[e[_0x33deae(0x98)]]:{'w':0x330,'h':0x420},[e[_0x33deae(0xb1)]]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x33deae(0xc3)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x33deae(0xa1)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x33deae(0xa2),p=_0x33deae(0x9f);function _0x39e3(){const _0x483a0e=['110kDoxfb','74190DlRVJG',',\x20.','Portrait','Landscape','2259kAxIfE','Letter','className','PaperSizePxMap','FitHeight','Custom','Wide','Legal','printing-canvas','offline-printing-css','Narrow','printing-canvas-container','innerHTML','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','PrintAlign','31233804kItCHi','371GpjIvA','Start','\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','2778860rXAvyx','Origin','None','PRINT_CONTAINER_CLASS','Executive','960kNAfKN','createPrintStyle','Statement','FitPage','Tabloid','20872KiUccv','style','defineProperty','10912VmZonO','toStringTag','PrintDirection','PaperMarginMap','68202ksQkqA','Module','PrintPaperMargin','PRINT_CANVAS_CLASS','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','682PuKNcH','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.','Middle','Normal','PrintPaperSize','Folio','1999dMvHCf'];_0x39e3=function(){return _0x483a0e;};return _0x39e3();}function A(_0x1ba8be,_0x394f6c){const _0x4cbf0b=_0x33deae,{w:_0x262cd1,h:_0x429968}=m[_0x1ba8be],_0xcf2c24=_0x394f6c===i[_0x4cbf0b(0x95)]?_0x262cd1:_0x429968,_0x2f584b=_0x394f6c===i[_0x4cbf0b(0x95)]?_0x429968:_0x262cd1,_0x42e23b=_0x4cbf0b(0xa9)+_0xcf2c24+'px\x20'+_0x2f584b+_0x4cbf0b(0xc1)+n+_0x4cbf0b(0x94)+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+_0x4cbf0b(0xbf)+_0x2f584b+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0xcf2c24+_0x4cbf0b(0xa4),_0x2fcd20=document['createElement'](_0x4cbf0b(0xb5));return _0x2fcd20[_0x4cbf0b(0xa3)]=_0x42e23b,_0x2fcd20[_0x4cbf0b(0x99)]=_0x4cbf0b(0xa0),_0x2fcd20;}exports[_0x33deae(0xbe)]=p,exports[_0x33deae(0xad)]=n,exports[_0x33deae(0xba)]=N,exports[_0x33deae(0x9a)]=m,exports[_0x33deae(0xa5)]=g,exports[_0x33deae(0xb9)]=i,exports[_0x33deae(0xbd)]=o,exports[_0x33deae(0xc4)]=e,exports['PrintScale']=c,exports[_0x33deae(0xb0)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x6e4a(){const _0x2d687f=['FitPage','Letter','createElement','innerHTML','Custom','Folio','188176GABXKK','20626drwkrA','849085JUjbWk','\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','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Middle','Tabloid',',\x20.','Portrait','Executive','Legal','End','offline-printing-css','Wide','13278vuODIC','style','Normal','Landscape','None','Statement','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.','FitWidth','printing-canvas','45llbhOI','581MfNbHD','FitHeight','235076RWGRwT','961616GIAiVE','57UooobZ','px\x20','Origin','Narrow','2905640XHOVJg'];_0x6e4a=function(){return _0x2d687f;};return _0x6e4a();}const _0x26beb7=_0x3907;(function(_0x39f9e6,_0x3e7244){const _0x291a90=_0x3907,_0x408f4c=_0x39f9e6();while(!![]){try{const _0x771369=parseInt(_0x291a90(0x169))/0x1+parseInt(_0x291a90(0x150))/0x2*(-parseInt(_0x291a90(0x144))/0x3)+parseInt(_0x291a90(0x143))/0x4+-parseInt(_0x291a90(0x151))/0x5+-parseInt(_0x291a90(0x15d))/0x6*(-parseInt(_0x291a90(0x167))/0x7)+-parseInt(_0x291a90(0x14f))/0x8*(-parseInt(_0x291a90(0x166))/0x9)+-parseInt(_0x291a90(0x148))/0xa;if(_0x771369===_0x3e7244)break;else _0x408f4c['push'](_0x408f4c['shift']());}catch(_0x5dd194){_0x408f4c['push'](_0x408f4c['shift']());}}}(_0x6e4a,0x1d679));var o=(_0x12d13d=>(_0x12d13d[_0x26beb7(0x14a)]=_0x26beb7(0x14a),_0x12d13d[_0x26beb7(0x155)]=_0x26beb7(0x155),_0x12d13d[_0x26beb7(0x159)]=_0x26beb7(0x159),_0x12d13d['Statement']=_0x26beb7(0x162),_0x12d13d['Executive']=_0x26beb7(0x158),_0x12d13d[_0x26beb7(0x14e)]=_0x26beb7(0x14e),_0x12d13d['A3']='A3',_0x12d13d['A4']='A4',_0x12d13d['A5']='A5',_0x12d13d['B4']='B4',_0x12d13d['B5']='B5',_0x12d13d))(o||{}),i=(_0x2e5c40=>(_0x2e5c40[_0x26beb7(0x157)]='Portrait',_0x2e5c40[_0x26beb7(0x160)]=_0x26beb7(0x160),_0x2e5c40))(i||{}),w=(_0x56515f=>(_0x56515f[_0x26beb7(0x146)]='Origin',_0x56515f[_0x26beb7(0x164)]=_0x26beb7(0x164),_0x56515f[_0x26beb7(0x168)]=_0x26beb7(0x168),_0x56515f[_0x26beb7(0x149)]=_0x26beb7(0x149),_0x56515f[_0x26beb7(0x14d)]=_0x26beb7(0x14d),_0x56515f))(w||{}),m=(_0x440333=>(_0x440333['Start']='Start',_0x440333[_0x26beb7(0x15a)]=_0x26beb7(0x15a),_0x440333[_0x26beb7(0x154)]=_0x26beb7(0x154),_0x440333))(m||{}),e=(_0x3452e0=>(_0x3452e0['Normal']=_0x26beb7(0x15f),_0x3452e0['Narrow']='Narrow',_0x3452e0[_0x26beb7(0x15c)]='Wide',_0x3452e0[_0x26beb7(0x161)]=_0x26beb7(0x161),_0x3452e0))(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[_0x26beb7(0x158)]]:{'w':0x2b8,'h':0x3f0},[o[_0x26beb7(0x14e)]]:{'w':0x330,'h':0x4e0},[o[_0x26beb7(0x159)]]:{'w':0x330,'h':0x540},[o[_0x26beb7(0x14a)]]:{'w':0x330,'h':0x420},[o[_0x26beb7(0x162)]]:{'w':0x210,'h':0x330},[o[_0x26beb7(0x155)]]:{'w':0x420,'h':0x660}},v={[e[_0x26beb7(0x15f)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x26beb7(0x147)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x26beb7(0x15c)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x26beb7(0x161)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l='printing-canvas-container',p=_0x26beb7(0x165);function _0x3907(_0x3951d8,_0x29a158){const _0x6e4ac5=_0x6e4a();return _0x3907=function(_0x39076d,_0x2d5b97){_0x39076d=_0x39076d-0x143;let _0x104e44=_0x6e4ac5[_0x39076d];return _0x104e44;},_0x3907(_0x3951d8,_0x29a158);}function N(_0x3fcf98,_0x57c300){const _0x27eb21=_0x26beb7,{w:_0x1d3637,h:_0x3e6081}=g[_0x3fcf98],_0xebcccb=_0x57c300===i['Portrait']?_0x1d3637:_0x3e6081,_0x62088d=_0x57c300===i[_0x27eb21(0x157)]?_0x3e6081:_0x1d3637,_0xfdec2c=_0x27eb21(0x152)+_0xebcccb+_0x27eb21(0x145)+_0x62088d+_0x27eb21(0x163)+l+_0x27eb21(0x156)+l+'\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+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x62088d+_0x27eb21(0x153)+_0xebcccb+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x4ffd7d=document[_0x27eb21(0x14b)](_0x27eb21(0x15e));return _0x4ffd7d[_0x27eb21(0x14c)]=_0xfdec2c,_0x4ffd7d['className']=_0x27eb21(0x15b),_0x4ffd7d;}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
|
-
|
|
1
|
+
(function(_0x2c8cea,_0x3411d6){const _0x11b87a=_0x2b72,_0x16e20b=_0x2c8cea();while(!![]){try{const _0x2fa86f=parseInt(_0x11b87a(0x20f))/0x1+-parseInt(_0x11b87a(0x1e1))/0x2+-parseInt(_0x11b87a(0x1e7))/0x3*(parseInt(_0x11b87a(0x20e))/0x4)+parseInt(_0x11b87a(0x1e2))/0x5+-parseInt(_0x11b87a(0x1ef))/0x6*(-parseInt(_0x11b87a(0x1f1))/0x7)+-parseInt(_0x11b87a(0x20a))/0x8*(-parseInt(_0x11b87a(0x215))/0x9)+-parseInt(_0x11b87a(0x1fc))/0xa*(parseInt(_0x11b87a(0x202))/0xb);if(_0x2fa86f===_0x3411d6)break;else _0x16e20b['push'](_0x16e20b['shift']());}catch(_0x2ab9b4){_0x16e20b['push'](_0x16e20b['shift']());}}}(_0x5b20,0x54fcf),function(_0xa7e025,_0xc27663){const _0x69e52f=_0x2b72;typeof exports=='object'&&typeof module<'u'?_0xc27663(exports):typeof define==_0x69e52f(0x1eb)&&define[_0x69e52f(0x1e4)]?define([_0x69e52f(0x211)],_0xc27663):(_0xa7e025=typeof globalThis<'u'?globalThis:_0xa7e025||self,_0xc27663(_0xa7e025[_0x69e52f(0x20b)]={}));}(this,function(_0x1205aa){'use strict';const _0x2d5e02=_0x2b72;var _0xa59c6c=(_0x1e0b5f=>(_0x1e0b5f[_0x2d5e02(0x1f7)]='Letter',_0x1e0b5f[_0x2d5e02(0x210)]='Tabloid',_0x1e0b5f[_0x2d5e02(0x1ff)]=_0x2d5e02(0x1ff),_0x1e0b5f['Statement']=_0x2d5e02(0x1e8),_0x1e0b5f[_0x2d5e02(0x1f2)]=_0x2d5e02(0x1f2),_0x1e0b5f['Folio']=_0x2d5e02(0x1fd),_0x1e0b5f['A3']='A3',_0x1e0b5f['A4']='A4',_0x1e0b5f['A5']='A5',_0x1e0b5f['B4']='B4',_0x1e0b5f['B5']='B5',_0x1e0b5f))(_0xa59c6c||{}),_0x1ca9f0=(_0x4c53b9=>(_0x4c53b9['Portrait']=_0x2d5e02(0x214),_0x4c53b9[_0x2d5e02(0x1e6)]=_0x2d5e02(0x1e6),_0x4c53b9))(_0x1ca9f0||{}),_0x4dd408=(_0x2f5afe=>(_0x2f5afe['Origin']=_0x2d5e02(0x1fb),_0x2f5afe[_0x2d5e02(0x213)]=_0x2d5e02(0x213),_0x2f5afe[_0x2d5e02(0x201)]=_0x2d5e02(0x201),_0x2f5afe['FitPage']=_0x2d5e02(0x212),_0x2f5afe['Custom']=_0x2d5e02(0x1ed),_0x2f5afe))(_0x4dd408||{}),_0x200bad=(_0x2ed7c1=>(_0x2ed7c1[_0x2d5e02(0x1f8)]=_0x2d5e02(0x1f8),_0x2ed7c1[_0x2d5e02(0x1fe)]=_0x2d5e02(0x1fe),_0x2ed7c1[_0x2d5e02(0x1f0)]=_0x2d5e02(0x1f0),_0x2ed7c1))(_0x200bad||{}),_0x2d2131=(_0x908779=>(_0x908779[_0x2d5e02(0x1f5)]=_0x2d5e02(0x1f5),_0x908779['Narrow']=_0x2d5e02(0x1ee),_0x908779[_0x2d5e02(0x1e0)]=_0x2d5e02(0x1e0),_0x908779[_0x2d5e02(0x1f9)]=_0x2d5e02(0x1f9),_0x908779))(_0x2d2131||{});const _0xd9030e={[_0xa59c6c['A3']]:{'w':0x463,'h':0x633},[_0xa59c6c['A4']]:{'w':0x31a,'h':0x464},[_0xa59c6c['A5']]:{'w':0x22f,'h':0x31a},[_0xa59c6c['B4']]:{'w':0x3b0,'h':0x540},[_0xa59c6c['B5']]:{'w':0x299,'h':0x3b0},[_0xa59c6c['Executive']]:{'w':0x2b8,'h':0x3f0},[_0xa59c6c[_0x2d5e02(0x1fd)]]:{'w':0x330,'h':0x4e0},[_0xa59c6c[_0x2d5e02(0x1ff)]]:{'w':0x330,'h':0x540},[_0xa59c6c['Letter']]:{'w':0x330,'h':0x420},[_0xa59c6c[_0x2d5e02(0x1e8)]]:{'w':0x210,'h':0x330},[_0xa59c6c[_0x2d5e02(0x210)]]:{'w':0x420,'h':0x660}},_0x5cae5c={[_0x2d2131[_0x2d5e02(0x1f5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x2d2131[_0x2d5e02(0x1ee)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x2d2131[_0x2d5e02(0x1e0)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x2d2131[_0x2d5e02(0x1f9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x53e312=_0x2d5e02(0x20d),_0x1077e7=_0x2d5e02(0x1fa);function _0x54ca6d(_0x40ed19,_0x5703d2){const _0x1cb64a=_0x2d5e02,{w:_0x34f833,h:_0x4c8aea}=_0xd9030e[_0x40ed19],_0x2c9ec5=_0x5703d2===_0x1ca9f0[_0x1cb64a(0x214)]?_0x34f833:_0x4c8aea,_0x4b98ef=_0x5703d2===_0x1ca9f0[_0x1cb64a(0x214)]?_0x4c8aea:_0x34f833,_0x2edce3=_0x1cb64a(0x217)+_0x2c9ec5+_0x1cb64a(0x1f3)+_0x4b98ef+_0x1cb64a(0x1e5)+_0x53e312+_0x1cb64a(0x1f6)+_0x53e312+'\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.'+_0x1077e7+_0x1cb64a(0x1f4)+_0x4b98ef+_0x1cb64a(0x204)+_0x2c9ec5+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x2b9d91=document[_0x1cb64a(0x216)](_0x1cb64a(0x209));return _0x2b9d91[_0x1cb64a(0x1ec)]=_0x2edce3,_0x2b9d91[_0x1cb64a(0x1ea)]='offline-printing-css',_0x2b9d91;}_0x1205aa[_0x2d5e02(0x1e3)]=_0x1077e7,_0x1205aa[_0x2d5e02(0x207)]=_0x53e312,_0x1205aa[_0x2d5e02(0x206)]=_0x5cae5c,_0x1205aa['PaperSizePxMap']=_0xd9030e,_0x1205aa[_0x2d5e02(0x208)]=_0x200bad,_0x1205aa['PrintDirection']=_0x1ca9f0,_0x1205aa[_0x2d5e02(0x1df)]=_0x2d2131,_0x1205aa['PrintPaperSize']=_0xa59c6c,_0x1205aa[_0x2d5e02(0x205)]=_0x4dd408,_0x1205aa[_0x2d5e02(0x203)]=_0x54ca6d,Object[_0x2d5e02(0x20c)](_0x1205aa,Symbol[_0x2d5e02(0x200)],{'value':_0x2d5e02(0x1e9)});}));function _0x2b72(_0x5b0948,_0x27338d){const _0x5b206a=_0x5b20();return _0x2b72=function(_0x2b72ee,_0x1ae93c){_0x2b72ee=_0x2b72ee-0x1df;let _0x58c333=_0x5b206a[_0x2b72ee];return _0x58c333;},_0x2b72(_0x5b0948,_0x27338d);}function _0x5b20(){const _0x35b4f6=['px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','PrintScale','PaperMarginMap','PRINT_CONTAINER_CLASS','PrintAlign','style','8BUoxhJ','UniverPrint','defineProperty','printing-canvas-container','356rNaTsq','476196BFAMMc','Tabloid','exports','FitPage','FitWidth','Portrait','6027228HMoYEO','createElement','\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','PrintPaperMargin','Wide','1029620gEBDKu','2755625TQciAg','PRINT_CANVAS_CLASS','amd','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.','Landscape','1731XnEaGW','Statement','Module','className','function','innerHTML','Custom','Narrow','6brFknG','Middle','1848238CWZqhD','Executive','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','Normal',',\x20.','Letter','Start','None','printing-canvas','Origin','910IWqeZc','Folio','End','Legal','toStringTag','FitHeight','126533DfcIaT','createPrintStyle'];_0x5b20=function(){return _0x35b4f6;};return _0x5b20();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2-nightly.202410291606",
|
|
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.2"
|
|
50
50
|
},
|
|
51
51
|
"univerSpace": {
|
|
52
52
|
".": {
|