@univerjs-pro/print 0.4.0-alpha.0 → 0.4.0-nightly.202410121605
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';const
|
|
1
|
+
'use strict';const _0x374fa7=_0x4d9d;(function(_0x3bfe59,_0x35dbcd){const _0x136391=_0x4d9d,_0x125f34=_0x3bfe59();while(!![]){try{const _0x253f63=parseInt(_0x136391(0x9d))/0x1+-parseInt(_0x136391(0xbe))/0x2*(-parseInt(_0x136391(0xc6))/0x3)+parseInt(_0x136391(0xbb))/0x4*(parseInt(_0x136391(0xaa))/0x5)+parseInt(_0x136391(0xab))/0x6+parseInt(_0x136391(0xac))/0x7*(parseInt(_0x136391(0xb2))/0x8)+parseInt(_0x136391(0xb6))/0x9+-parseInt(_0x136391(0xa6))/0xa;if(_0x253f63===_0x35dbcd)break;else _0x125f34['push'](_0x125f34['shift']());}catch(_0x49a03b){_0x125f34['push'](_0x125f34['shift']());}}}(_0x45a2,0xbaba5));Object[_0x374fa7(0xa7)](exports,Symbol[_0x374fa7(0x9a)],{'value':_0x374fa7(0x9e)});var e=(_0x2808b3=>(_0x2808b3[_0x374fa7(0x9c)]=_0x374fa7(0x9c),_0x2808b3[_0x374fa7(0xaf)]=_0x374fa7(0xaf),_0x2808b3[_0x374fa7(0xa4)]=_0x374fa7(0xa4),_0x2808b3[_0x374fa7(0xb4)]=_0x374fa7(0xb4),_0x2808b3[_0x374fa7(0xbc)]='Executive',_0x2808b3[_0x374fa7(0xb0)]=_0x374fa7(0xb0),_0x2808b3['A3']='A3',_0x2808b3['A4']='A4',_0x2808b3['A5']='A5',_0x2808b3['B4']='B4',_0x2808b3['B5']='B5',_0x2808b3))(e||{}),i=(_0x2b8e3f=>(_0x2b8e3f[_0x374fa7(0xb7)]='Portrait',_0x2b8e3f[_0x374fa7(0xc4)]=_0x374fa7(0xc4),_0x2b8e3f))(i||{}),c=(_0x3bb4cb=>(_0x3bb4cb[_0x374fa7(0x9f)]=_0x374fa7(0x9f),_0x3bb4cb[_0x374fa7(0xa9)]=_0x374fa7(0xa9),_0x3bb4cb['FitHeight']='FitHeight',_0x3bb4cb[_0x374fa7(0xb9)]=_0x374fa7(0xb9),_0x3bb4cb[_0x374fa7(0x96)]=_0x374fa7(0x96),_0x3bb4cb))(c||{}),g=(_0x3e9777=>(_0x3e9777[_0x374fa7(0xba)]=_0x374fa7(0xba),_0x3e9777['End']=_0x374fa7(0xa8),_0x3e9777[_0x374fa7(0x98)]=_0x374fa7(0x98),_0x3e9777))(g||{}),o=(_0x150867=>(_0x150867[_0x374fa7(0xa2)]=_0x374fa7(0xa2),_0x150867[_0x374fa7(0x9b)]=_0x374fa7(0x9b),_0x150867['Wide']=_0x374fa7(0x99),_0x150867['None']=_0x374fa7(0xa0),_0x150867))(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['Executive']]:{'w':0x2b8,'h':0x3f0},[e[_0x374fa7(0xb0)]]:{'w':0x330,'h':0x4e0},[e[_0x374fa7(0xa4)]]:{'w':0x330,'h':0x540},[e[_0x374fa7(0x9c)]]:{'w':0x330,'h':0x420},[e['Statement']]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x374fa7(0xa2)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x374fa7(0x9b)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x374fa7(0x99)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x374fa7(0xa0)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x374fa7(0xc8),p=_0x374fa7(0xad);function _0x4d9d(_0x1a10c1,_0x54622d){const _0x45a210=_0x45a2();return _0x4d9d=function(_0x4d9d3b,_0x2172f7){_0x4d9d3b=_0x4d9d3b-0x95;let _0x50db56=_0x45a210[_0x4d9d3b];return _0x50db56;},_0x4d9d(_0x1a10c1,_0x54622d);}function A(_0x167a5d,_0x551930){const _0x38c14a=_0x374fa7,{w:_0x53b1a9,h:_0x1f8ff7}=m[_0x167a5d],_0x6b91db=_0x551930===i[_0x38c14a(0xb7)]?_0x53b1a9:_0x1f8ff7,_0x568c86=_0x551930===i[_0x38c14a(0xb7)]?_0x1f8ff7:_0x53b1a9,_0x29e79a=_0x38c14a(0xc2)+_0x6b91db+_0x38c14a(0xc3)+_0x568c86+'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+_0x38c14a(0xa1)+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+_0x38c14a(0x97)+_0x568c86+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x6b91db+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x3b5cb4=document[_0x38c14a(0xb1)](_0x38c14a(0xa3));return _0x3b5cb4[_0x38c14a(0xc7)]=_0x29e79a,_0x3b5cb4[_0x38c14a(0xb3)]=_0x38c14a(0xb5),_0x3b5cb4;}function _0x45a2(){const _0x21283b=['defineProperty','End','FitWidth','15LSkaGn','5934036Gjlpkz','7HTtEOe','printing-canvas','PrintScale','Tabloid','Folio','createElement','10438552eTDrax','className','Statement','offline-printing-css','11214783zWtkGt','Portrait','PaperSizePxMap','FitPage','Start','210804NcHqOT','Executive','createPrintStyle','64AUJqnl','PrintPaperMargin','PaperMarginMap','PRINT_CANVAS_CLASS','\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\x20','Landscape','PRINT_CONTAINER_CLASS','2385AEnkLg','innerHTML','printing-canvas-container','PrintAlign','Custom','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Middle','Wide','toStringTag','Narrow','Letter','268032xUPJMF','Module','Origin','None',',\x20.','Normal','style','Legal','PrintDirection','32266500OpgjAH'];_0x45a2=function(){return _0x21283b;};return _0x45a2();}exports[_0x374fa7(0xc1)]=p,exports[_0x374fa7(0xc5)]=n,exports[_0x374fa7(0xc0)]=N,exports[_0x374fa7(0xb8)]=m,exports[_0x374fa7(0x95)]=g,exports[_0x374fa7(0xa5)]=i,exports[_0x374fa7(0xbf)]=o,exports['PrintPaperSize']=e,exports[_0x374fa7(0xae)]=c,exports[_0x374fa7(0xbd)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x310a(_0x14e362,_0x84ef11){const _0x25ddbf=_0x25dd();return _0x310a=function(_0x310af6,_0x172225){_0x310af6=_0x310af6-0x11c;let _0x1a68b1=_0x25ddbf[_0x310af6];return _0x1a68b1;},_0x310a(_0x14e362,_0x84ef11);}const _0x37b889=_0x310a;function _0x25dd(){const _0x3d14d2=['printing-canvas','Folio','Statement','324153GKnzgF','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Portrait','714149jnJcWA','4814070YCOpoe','Letter','Normal','Start','7MPZAlr','Custom','3skRmYY','innerHTML','330XNAHUR','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Narrow','printing-canvas-container','Legal','Executive','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.','FitHeight','className','FitPage','1573155wCEIyc','Landscape','FitWidth','Wide','1402220NOUjJt','style','\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.','Origin','createElement','End','Tabloid','150900jdzRuP','\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\x20','4015312pfYMJx'];_0x25dd=function(){return _0x3d14d2;};return _0x25dd();}(function(_0x34ab97,_0xa67dec){const _0x328840=_0x310a,_0x31811b=_0x34ab97();while(!![]){try{const _0x21dc4a=-parseInt(_0x328840(0x120))/0x1+parseInt(_0x328840(0x137))/0x2+parseInt(_0x328840(0x127))/0x3*(parseInt(_0x328840(0x13e))/0x4)+parseInt(_0x328840(0x133))/0x5+-parseInt(_0x328840(0x121))/0x6*(-parseInt(_0x328840(0x125))/0x7)+parseInt(_0x328840(0x141))/0x8+-parseInt(_0x328840(0x11d))/0x9*(parseInt(_0x328840(0x129))/0xa);if(_0x21dc4a===_0xa67dec)break;else _0x31811b['push'](_0x31811b['shift']());}catch(_0x3a7c1b){_0x31811b['push'](_0x31811b['shift']());}}}(_0x25dd,0x6f167));var o=(_0x188e71=>(_0x188e71[_0x37b889(0x122)]=_0x37b889(0x122),_0x188e71[_0x37b889(0x13d)]=_0x37b889(0x13d),_0x188e71[_0x37b889(0x12d)]=_0x37b889(0x12d),_0x188e71['Statement']=_0x37b889(0x11c),_0x188e71['Executive']=_0x37b889(0x12e),_0x188e71[_0x37b889(0x143)]=_0x37b889(0x143),_0x188e71['A3']='A3',_0x188e71['A4']='A4',_0x188e71['A5']='A5',_0x188e71['B4']='B4',_0x188e71['B5']='B5',_0x188e71))(o||{}),i=(_0x118795=>(_0x118795[_0x37b889(0x11f)]=_0x37b889(0x11f),_0x118795[_0x37b889(0x134)]=_0x37b889(0x134),_0x118795))(i||{}),w=(_0x17c244=>(_0x17c244[_0x37b889(0x13a)]=_0x37b889(0x13a),_0x17c244['FitWidth']=_0x37b889(0x135),_0x17c244[_0x37b889(0x130)]='FitHeight',_0x17c244['FitPage']=_0x37b889(0x132),_0x17c244['Custom']=_0x37b889(0x126),_0x17c244))(w||{}),m=(_0x209fd0=>(_0x209fd0[_0x37b889(0x124)]=_0x37b889(0x124),_0x209fd0[_0x37b889(0x13c)]=_0x37b889(0x13c),_0x209fd0['Middle']='Middle',_0x209fd0))(m||{}),e=(_0x1a7b1b=>(_0x1a7b1b[_0x37b889(0x123)]='Normal',_0x1a7b1b[_0x37b889(0x12b)]='Narrow',_0x1a7b1b['Wide']=_0x37b889(0x136),_0x1a7b1b['None']='None',_0x1a7b1b))(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[_0x37b889(0x12e)]]:{'w':0x2b8,'h':0x3f0},[o[_0x37b889(0x143)]]:{'w':0x330,'h':0x4e0},[o[_0x37b889(0x12d)]]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x37b889(0x11c)]]:{'w':0x210,'h':0x330},[o[_0x37b889(0x13d)]]:{'w':0x420,'h':0x660}},v={[e[_0x37b889(0x123)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x37b889(0x12b)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x37b889(0x136)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x37b889(0x12c),p=_0x37b889(0x142);function N(_0x32163d,_0x510785){const _0x504779=_0x37b889,{w:_0x4427f2,h:_0x16c97d}=g[_0x32163d],_0x3741cb=_0x510785===i[_0x504779(0x11f)]?_0x4427f2:_0x16c97d,_0x746bc1=_0x510785===i[_0x504779(0x11f)]?_0x16c97d:_0x4427f2,_0x663230=_0x504779(0x13f)+_0x3741cb+_0x504779(0x140)+_0x746bc1+_0x504779(0x12f)+l+',\x20.'+l+_0x504779(0x139)+p+_0x504779(0x11e)+_0x746bc1+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x3741cb+_0x504779(0x12a),_0x53e1ae=document[_0x504779(0x13b)](_0x504779(0x138));return _0x53e1ae[_0x504779(0x128)]=_0x663230,_0x53e1ae[_0x504779(0x131)]='offline-printing-css',_0x53e1ae;}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(_0x321c6d,_0x55abf8){const _0x57dc4d=_0x33c4,_0x1f8a0e=_0x321c6d();while(!![]){try{const _0x3b44c5=-parseInt(_0x57dc4d(0x20f))/0x1*(parseInt(_0x57dc4d(0x200))/0x2)+-parseInt(_0x57dc4d(0x205))/0x3+-parseInt(_0x57dc4d(0x1e6))/0x4*(parseInt(_0x57dc4d(0x1ec))/0x5)+parseInt(_0x57dc4d(0x1f9))/0x6*(parseInt(_0x57dc4d(0x212))/0x7)+parseInt(_0x57dc4d(0x1f2))/0x8*(parseInt(_0x57dc4d(0x1f6))/0x9)+parseInt(_0x57dc4d(0x1ee))/0xa+-parseInt(_0x57dc4d(0x1e2))/0xb*(parseInt(_0x57dc4d(0x1e9))/0xc);if(_0x3b44c5===_0x55abf8)break;else _0x1f8a0e['push'](_0x1f8a0e['shift']());}catch(_0x5687d7){_0x1f8a0e['push'](_0x1f8a0e['shift']());}}}(_0x211a,0x864e8),function(_0x373162,_0x51ae72){const _0xae60b2=_0x33c4;typeof exports=='object'&&typeof module<'u'?_0x51ae72(exports):typeof define==_0xae60b2(0x206)&&define[_0xae60b2(0x1e7)]?define([_0xae60b2(0x1dd)],_0x51ae72):(_0x373162=typeof globalThis<'u'?globalThis:_0x373162||self,_0x51ae72(_0x373162['UniverPrint']={}));}(this,function(_0x4bcaef){'use strict';const _0x3072e0=_0x33c4;var _0x52552f=(_0x29268e=>(_0x29268e[_0x3072e0(0x1fa)]=_0x3072e0(0x1fa),_0x29268e[_0x3072e0(0x1df)]=_0x3072e0(0x1df),_0x29268e[_0x3072e0(0x1e8)]='Legal',_0x29268e[_0x3072e0(0x1fd)]='Statement',_0x29268e[_0x3072e0(0x1e4)]=_0x3072e0(0x1e4),_0x29268e[_0x3072e0(0x1f8)]='Folio',_0x29268e['A3']='A3',_0x29268e['A4']='A4',_0x29268e['A5']='A5',_0x29268e['B4']='B4',_0x29268e['B5']='B5',_0x29268e))(_0x52552f||{}),_0x15e760=(_0x12a438=>(_0x12a438['Portrait']=_0x3072e0(0x1e3),_0x12a438[_0x3072e0(0x20d)]=_0x3072e0(0x20d),_0x12a438))(_0x15e760||{}),_0x511aa7=(_0x2f59b7=>(_0x2f59b7[_0x3072e0(0x1fc)]='Origin',_0x2f59b7[_0x3072e0(0x208)]=_0x3072e0(0x208),_0x2f59b7['FitHeight']=_0x3072e0(0x1f7),_0x2f59b7[_0x3072e0(0x203)]=_0x3072e0(0x203),_0x2f59b7['Custom']=_0x3072e0(0x211),_0x2f59b7))(_0x511aa7||{}),_0xfc4904=(_0x1e7239=>(_0x1e7239['Start']=_0x3072e0(0x204),_0x1e7239[_0x3072e0(0x201)]=_0x3072e0(0x201),_0x1e7239['Middle']=_0x3072e0(0x1f0),_0x1e7239))(_0xfc4904||{}),_0xf870f2=(_0x281b65=>(_0x281b65['Normal']=_0x3072e0(0x202),_0x281b65[_0x3072e0(0x207)]=_0x3072e0(0x207),_0x281b65['Wide']=_0x3072e0(0x216),_0x281b65[_0x3072e0(0x215)]=_0x3072e0(0x215),_0x281b65))(_0xf870f2||{});const _0x46466a={[_0x52552f['A3']]:{'w':0x463,'h':0x633},[_0x52552f['A4']]:{'w':0x31a,'h':0x464},[_0x52552f['A5']]:{'w':0x22f,'h':0x31a},[_0x52552f['B4']]:{'w':0x3b0,'h':0x540},[_0x52552f['B5']]:{'w':0x299,'h':0x3b0},[_0x52552f['Executive']]:{'w':0x2b8,'h':0x3f0},[_0x52552f[_0x3072e0(0x1f8)]]:{'w':0x330,'h':0x4e0},[_0x52552f[_0x3072e0(0x1e8)]]:{'w':0x330,'h':0x540},[_0x52552f[_0x3072e0(0x1fa)]]:{'w':0x330,'h':0x420},[_0x52552f[_0x3072e0(0x1fd)]]:{'w':0x210,'h':0x330},[_0x52552f[_0x3072e0(0x1df)]]:{'w':0x420,'h':0x660}},_0x20dd1c={[_0xf870f2['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0xf870f2[_0x3072e0(0x207)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0xf870f2['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0xf870f2[_0x3072e0(0x215)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x5a3469=_0x3072e0(0x20e),_0x320c84=_0x3072e0(0x1ed);function _0xa535b5(_0x3a4a42,_0x3dc7b8){const _0x263cab=_0x3072e0,{w:_0x3c8cc7,h:_0x3f67d9}=_0x46466a[_0x3a4a42],_0x54f3b3=_0x3dc7b8===_0x15e760['Portrait']?_0x3c8cc7:_0x3f67d9,_0x59eed7=_0x3dc7b8===_0x15e760['Portrait']?_0x3f67d9:_0x3c8cc7,_0x22103a=_0x263cab(0x1e1)+_0x54f3b3+_0x263cab(0x214)+_0x59eed7+_0x263cab(0x1f3)+_0x5a3469+_0x263cab(0x20a)+_0x5a3469+'\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.'+_0x320c84+_0x263cab(0x1ff)+_0x59eed7+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x54f3b3+_0x263cab(0x1f5),_0x578eb4=document['createElement'](_0x263cab(0x1e0));return _0x578eb4['innerHTML']=_0x22103a,_0x578eb4[_0x263cab(0x210)]='offline-printing-css',_0x578eb4;}_0x4bcaef[_0x3072e0(0x1ea)]=_0x320c84,_0x4bcaef[_0x3072e0(0x1e5)]=_0x5a3469,_0x4bcaef[_0x3072e0(0x20b)]=_0x20dd1c,_0x4bcaef[_0x3072e0(0x209)]=_0x46466a,_0x4bcaef[_0x3072e0(0x1fb)]=_0xfc4904,_0x4bcaef[_0x3072e0(0x213)]=_0x15e760,_0x4bcaef[_0x3072e0(0x1eb)]=_0xf870f2,_0x4bcaef[_0x3072e0(0x1f1)]=_0x52552f,_0x4bcaef[_0x3072e0(0x1fe)]=_0x511aa7,_0x4bcaef[_0x3072e0(0x1de)]=_0xa535b5,Object[_0x3072e0(0x1ef)](_0x4bcaef,Symbol[_0x3072e0(0x1f4)],{'value':_0x3072e0(0x20c)});}));function _0x33c4(_0x333e2a,_0x3674fb){const _0x211ada=_0x211a();return _0x33c4=function(_0x33c4a8,_0x16f2c7){_0x33c4a8=_0x33c4a8-0x1dd;let _0xe65258=_0x211ada[_0x33c4a8];return _0xe65258;},_0x33c4(_0x333e2a,_0x3674fb);}function _0x211a(){const _0x5339dd=['Legal','444pWqVJO','PRINT_CANVAS_CLASS','PrintPaperMargin','2350MdlStD','printing-canvas','750430ebOnio','defineProperty','Middle','PrintPaperSize','392xneGQS','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.','toStringTag','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','178191YkaFdl','FitHeight','Folio','18VbdKBB','Letter','PrintAlign','Origin','Statement','PrintScale','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','2dgUvgs','End','Normal','FitPage','Start','628734xfLBmP','function','Narrow','FitWidth','PaperSizePxMap',',\x20.','PaperMarginMap','Module','Landscape','printing-canvas-container','209744ZcKIRq','className','Custom','1538439RHnOtl','PrintDirection','px\x20','None','Wide','exports','createPrintStyle','Tabloid','style','\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','114719zmatLm','Portrait','Executive','PRINT_CONTAINER_CLASS','2972wuGZGL','amd'];_0x211a=function(){return _0x5339dd;};return _0x211a();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.4.0-
|
|
3
|
+
"version": "0.4.0-nightly.202410121605",
|
|
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.0-alpha.
|
|
49
|
+
"@univerjs-infra/shared": "0.4.0-alpha.1"
|
|
50
50
|
},
|
|
51
51
|
"univerSpace": {
|
|
52
52
|
".": {
|