@univerjs-pro/print 0.6.5 → 0.6.6-nightly.202503141606
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 +3 -3
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x24f503=_0x2e58;function _0x2e58(_0x33fc05,_0x452002){const _0x306e77=_0x306e();return _0x2e58=function(_0x2e58b7,_0x5ce127){_0x2e58b7=_0x2e58b7-0x164;let _0x38741d=_0x306e77[_0x2e58b7];return _0x38741d;},_0x2e58(_0x33fc05,_0x452002);}(function(_0x4ae659,_0x3571d4){const _0x4d613b=_0x2e58,_0x10bfdd=_0x4ae659();while(!![]){try{const _0x3d9e2f=parseInt(_0x4d613b(0x181))/0x1+-parseInt(_0x4d613b(0x18a))/0x2+-parseInt(_0x4d613b(0x168))/0x3*(parseInt(_0x4d613b(0x16d))/0x4)+parseInt(_0x4d613b(0x17d))/0x5*(-parseInt(_0x4d613b(0x176))/0x6)+parseInt(_0x4d613b(0x18d))/0x7+parseInt(_0x4d613b(0x170))/0x8+parseInt(_0x4d613b(0x169))/0x9;if(_0x3d9e2f===_0x3571d4)break;else _0x10bfdd['push'](_0x10bfdd['shift']());}catch(_0x4fd957){_0x10bfdd['push'](_0x10bfdd['shift']());}}}(_0x306e,0xcea0a));Object[_0x24f503(0x178)](exports,Symbol[_0x24f503(0x16c)],{'value':_0x24f503(0x185)});var e=(_0x2b1794=>(_0x2b1794[_0x24f503(0x16a)]=_0x24f503(0x16a),_0x2b1794[_0x24f503(0x16b)]=_0x24f503(0x16b),_0x2b1794['Legal']=_0x24f503(0x188),_0x2b1794['Statement']=_0x24f503(0x197),_0x2b1794[_0x24f503(0x18e)]=_0x24f503(0x18e),_0x2b1794[_0x24f503(0x195)]=_0x24f503(0x195),_0x2b1794['A3']='A3',_0x2b1794['A4']='A4',_0x2b1794['A5']='A5',_0x2b1794['B4']='B4',_0x2b1794['B5']='B5',_0x2b1794))(e||{}),i=(_0x1ea6b9=>(_0x1ea6b9[_0x24f503(0x184)]=_0x24f503(0x184),_0x1ea6b9[_0x24f503(0x180)]=_0x24f503(0x180),_0x1ea6b9))(i||{}),c=(_0x1fb25d=>(_0x1fb25d[_0x24f503(0x18f)]='Origin',_0x1fb25d[_0x24f503(0x186)]=_0x24f503(0x186),_0x1fb25d[_0x24f503(0x192)]=_0x24f503(0x192),_0x1fb25d[_0x24f503(0x17c)]=_0x24f503(0x17c),_0x1fb25d[_0x24f503(0x167)]=_0x24f503(0x167),_0x1fb25d))(c||{}),g=(_0x40af97=>(_0x40af97[_0x24f503(0x191)]='Start',_0x40af97[_0x24f503(0x17f)]=_0x24f503(0x17f),_0x40af97['Middle']=_0x24f503(0x179),_0x40af97))(g||{}),o=(_0x136899=>(_0x136899[_0x24f503(0x189)]=_0x24f503(0x189),_0x136899[_0x24f503(0x171)]='Narrow',_0x136899[_0x24f503(0x16f)]=_0x24f503(0x16f),_0x136899['None']=_0x24f503(0x183),_0x136899))(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[_0x24f503(0x18e)]]:{'w':0x2b8,'h':0x3f0},[e[_0x24f503(0x195)]]:{'w':0x330,'h':0x4e0},[e[_0x24f503(0x188)]]:{'w':0x330,'h':0x540},[e[_0x24f503(0x16a)]]:{'w':0x330,'h':0x420},[e['Statement']]:{'w':0x210,'h':0x330},[e[_0x24f503(0x16b)]]:{'w':0x420,'h':0x660}},N={[o[_0x24f503(0x189)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x24f503(0x16f)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x24f503(0x18b),p=_0x24f503(0x175);function A(_0xf73b5c,_0x2b6274){const _0xe86e72=_0x24f503,{w:_0x32b7bc,h:_0x42fa61}=m[_0xf73b5c],_0x4ea417=_0x2b6274===i[_0xe86e72(0x184)]?_0x32b7bc:_0x42fa61,_0x8335e3=_0x2b6274===i['Portrait']?_0x42fa61:_0x32b7bc,_0x3e69a2=_0xe86e72(0x165)+_0x4ea417+_0xe86e72(0x177)+_0x8335e3+_0xe86e72(0x173)+n+_0xe86e72(0x17e)+n+_0xe86e72(0x190)+p+_0xe86e72(0x172)+_0x8335e3+_0xe86e72(0x17a)+_0x4ea417+_0xe86e72(0x17b),_0x282eb4=document['createElement'](_0xe86e72(0x18c));return _0x282eb4[_0xe86e72(0x16e)]=_0x3e69a2,_0x282eb4[_0xe86e72(0x194)]='offline-printing-css',_0x282eb4;}function _0x306e(){const _0x5871d8=['Start','FitHeight','PrintPaperSize','className','Folio','PaperSizePxMap','Statement','createPrintStyle','\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','PrintAlign','Custom','12vjifEv','13115583fRnLhX','Letter','Tabloid','toStringTag','1524028tNUfUj','innerHTML','Wide','9788480LQuKpu','Narrow','\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.','PrintDirection','printing-canvas','426WoEzdU','px\x20','defineProperty','Middle','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','FitPage','67780vFgJgr',',\x20.','End','Landscape','1345582kIZzHs','PaperMarginMap','None','Portrait','Module','FitWidth','PRINT_CONTAINER_CLASS','Legal','Normal','1462958ooQbar','printing-canvas-container','style','265300UizEfH','Executive','Origin','\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.'];_0x306e=function(){return _0x5871d8;};return _0x306e();}exports['PRINT_CANVAS_CLASS']=p,exports[_0x24f503(0x187)]=n,exports[_0x24f503(0x182)]=N,exports[_0x24f503(0x196)]=m,exports[_0x24f503(0x166)]=g,exports[_0x24f503(0x174)]=i,exports['PrintPaperMargin']=o,exports[_0x24f503(0x193)]=e,exports['PrintScale']=c,exports[_0x24f503(0x164)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b39fd=_0x4d23;(function(_0x1d4b45,_0x39de10){const _0x3ba2b9=_0x4d23,_0x2315d6=_0x1d4b45();while(!![]){try{const _0x5d31e2=parseInt(_0x3ba2b9(0x1b2))/0x1+parseInt(_0x3ba2b9(0x1bb))/0x2*(-parseInt(_0x3ba2b9(0x1ca))/0x3)+parseInt(_0x3ba2b9(0x1b1))/0x4*(-parseInt(_0x3ba2b9(0x1c8))/0x5)+parseInt(_0x3ba2b9(0x1bd))/0x6*(-parseInt(_0x3ba2b9(0x1cc))/0x7)+parseInt(_0x3ba2b9(0x1c4))/0x8*(parseInt(_0x3ba2b9(0x1be))/0x9)+-parseInt(_0x3ba2b9(0x1c1))/0xa+parseInt(_0x3ba2b9(0x1af))/0xb*(parseInt(_0x3ba2b9(0x1b5))/0xc);if(_0x5d31e2===_0x39de10)break;else _0x2315d6['push'](_0x2315d6['shift']());}catch(_0x567df8){_0x2315d6['push'](_0x2315d6['shift']());}}}(_0x5b8b,0x38f08));var o=(_0x4dd665=>(_0x4dd665[_0x5b39fd(0x1ce)]='Letter',_0x4dd665[_0x5b39fd(0x1b6)]=_0x5b39fd(0x1b6),_0x4dd665[_0x5b39fd(0x1c0)]='Legal',_0x4dd665[_0x5b39fd(0x1c7)]=_0x5b39fd(0x1c7),_0x4dd665['Executive']=_0x5b39fd(0x1b9),_0x4dd665[_0x5b39fd(0x1c5)]='Folio',_0x4dd665['A3']='A3',_0x4dd665['A4']='A4',_0x4dd665['A5']='A5',_0x4dd665['B4']='B4',_0x4dd665['B5']='B5',_0x4dd665))(o||{}),i=(_0x1f1bd2=>(_0x1f1bd2['Portrait']='Portrait',_0x1f1bd2[_0x5b39fd(0x1d0)]='Landscape',_0x1f1bd2))(i||{}),w=(_0x1e39c6=>(_0x1e39c6[_0x5b39fd(0x1ad)]='Origin',_0x1e39c6[_0x5b39fd(0x1ab)]=_0x5b39fd(0x1ab),_0x1e39c6[_0x5b39fd(0x1aa)]='FitHeight',_0x1e39c6[_0x5b39fd(0x1cd)]=_0x5b39fd(0x1cd),_0x1e39c6['Custom']=_0x5b39fd(0x1c9),_0x1e39c6))(w||{}),m=(_0x3639c9=>(_0x3639c9['Start']=_0x5b39fd(0x1b0),_0x3639c9[_0x5b39fd(0x1ae)]=_0x5b39fd(0x1ae),_0x3639c9[_0x5b39fd(0x1bf)]=_0x5b39fd(0x1bf),_0x3639c9))(m||{}),e=(_0x3477db=>(_0x3477db[_0x5b39fd(0x1d1)]=_0x5b39fd(0x1d1),_0x3477db[_0x5b39fd(0x1b7)]=_0x5b39fd(0x1b7),_0x3477db['Wide']=_0x5b39fd(0x1b8),_0x3477db['None']=_0x5b39fd(0x1ba),_0x3477db))(e||{});function _0x4d23(_0x563d7d,_0x36fbff){const _0x5b8b76=_0x5b8b();return _0x4d23=function(_0x4d23c6,_0x11a6ec){_0x4d23c6=_0x4d23c6-0x1aa;let _0x4ed07d=_0x5b8b76[_0x4d23c6];return _0x4ed07d;},_0x4d23(_0x563d7d,_0x36fbff);}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[_0x5b39fd(0x1b9)]]:{'w':0x2b8,'h':0x3f0},[o['Folio']]:{'w':0x330,'h':0x4e0},[o[_0x5b39fd(0x1c0)]]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x5b39fd(0x1c7)]]:{'w':0x210,'h':0x330},[o[_0x5b39fd(0x1b6)]]:{'w':0x420,'h':0x660}},v={[e[_0x5b39fd(0x1d1)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x5b39fd(0x1b7)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x5b39fd(0x1b8)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x5b39fd(0x1ba)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l='printing-canvas-container',p='printing-canvas';function N(_0x2fcccd,_0x52a9e5){const _0x477420=_0x5b39fd,{w:_0x309c93,h:_0x260839}=g[_0x2fcccd],_0x2a78ee=_0x52a9e5===i['Portrait']?_0x309c93:_0x260839,_0x530d38=_0x52a9e5===i['Portrait']?_0x260839:_0x309c93,_0x1e7f9d='\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'+_0x2a78ee+_0x477420(0x1cf)+_0x530d38+_0x477420(0x1c6)+l+',\x20.'+l+_0x477420(0x1bc)+p+_0x477420(0x1ac)+_0x530d38+_0x477420(0x1b4)+_0x2a78ee+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x17bd7b=document[_0x477420(0x1b3)]('style');return _0x17bd7b[_0x477420(0x1c3)]=_0x1e7f9d,_0x17bd7b[_0x477420(0x1c2)]=_0x477420(0x1cb),_0x17bd7b;}function _0x5b8b(){const _0x337ebe=['Start','117612EGKWXA','357536YtuAsD','createElement','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','12OCkwld','Tabloid','Narrow','Wide','Executive','None','90854vRKTBU','\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.','126iDhoLd','1388403whAFMJ','Middle','Legal','4098150wPdCCV','className','innerHTML','8OtGeSp','Folio','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.','Statement','5WFCxhp','Custom','21YLuvas','offline-printing-css','83251zAdWFE','FitPage','Letter','px\x20','Landscape','Normal','FitHeight','FitWidth','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Origin','End','8012191naAAFp'];_0x5b8b=function(){return _0x337ebe;};return _0x5b8b();}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(_0x39ba33,_0x13ef7d){const _0x2194bf=_0x1646,_0xcb0894=_0x39ba33();while(!![]){try{const _0x41f4b1=-parseInt(_0x2194bf(0xaf))/0x1*(parseInt(_0x2194bf(0xb4))/0x2)+parseInt(_0x2194bf(0xce))/0x3*(parseInt(_0x2194bf(0xc6))/0x4)+parseInt(_0x2194bf(0xe1))/0x5+parseInt(_0x2194bf(0xbc))/0x6*(-parseInt(_0x2194bf(0xc8))/0x7)+-parseInt(_0x2194bf(0xcf))/0x8*(parseInt(_0x2194bf(0xcc))/0x9)+-parseInt(_0x2194bf(0xd0))/0xa+parseInt(_0x2194bf(0xcb))/0xb;if(_0x41f4b1===_0x13ef7d)break;else _0xcb0894['push'](_0xcb0894['shift']());}catch(_0x3e05dd){_0xcb0894['push'](_0xcb0894['shift']());}}}(_0x30e5,0x6d187),function(_0x55ce35,_0x395166){const _0x4de5ad=_0x1646;typeof exports==_0x4de5ad(0xd2)&&typeof module<'u'?_0x395166(exports):typeof define=='function'&&define[_0x4de5ad(0xd6)]?define(['exports'],_0x395166):(_0x55ce35=typeof globalThis<'u'?globalThis:_0x55ce35||self,_0x395166(_0x55ce35[_0x4de5ad(0xb0)]={}));}(this,function(_0x3eb450){'use strict';const _0x45c35a=_0x1646;var _0x4a4af2=(_0x38e7b2=>(_0x38e7b2[_0x45c35a(0xbe)]=_0x45c35a(0xbe),_0x38e7b2[_0x45c35a(0xcd)]=_0x45c35a(0xcd),_0x38e7b2[_0x45c35a(0xdd)]=_0x45c35a(0xdd),_0x38e7b2[_0x45c35a(0xd9)]=_0x45c35a(0xd9),_0x38e7b2['Executive']='Executive',_0x38e7b2[_0x45c35a(0xda)]='Folio',_0x38e7b2['A3']='A3',_0x38e7b2['A4']='A4',_0x38e7b2['A5']='A5',_0x38e7b2['B4']='B4',_0x38e7b2['B5']='B5',_0x38e7b2))(_0x4a4af2||{}),_0x4e4b05=(_0x4a474b=>(_0x4a474b['Portrait']='Portrait',_0x4a474b['Landscape']=_0x45c35a(0xb2),_0x4a474b))(_0x4e4b05||{}),_0x194c72=(_0x6ea9fe=>(_0x6ea9fe['Origin']=_0x45c35a(0xde),_0x6ea9fe[_0x45c35a(0xad)]=_0x45c35a(0xad),_0x6ea9fe[_0x45c35a(0xd1)]=_0x45c35a(0xd1),_0x6ea9fe['FitPage']=_0x45c35a(0xc9),_0x6ea9fe[_0x45c35a(0xdf)]=_0x45c35a(0xdf),_0x6ea9fe))(_0x194c72||{}),_0x352e1b=(_0x2952cb=>(_0x2952cb[_0x45c35a(0xb6)]='Start',_0x2952cb['End']=_0x45c35a(0xc3),_0x2952cb[_0x45c35a(0xd3)]=_0x45c35a(0xd3),_0x2952cb))(_0x352e1b||{}),_0x34f04f=(_0x1f136f=>(_0x1f136f[_0x45c35a(0xba)]=_0x45c35a(0xba),_0x1f136f[_0x45c35a(0xc2)]='Narrow',_0x1f136f[_0x45c35a(0xd8)]=_0x45c35a(0xd8),_0x1f136f[_0x45c35a(0xbb)]=_0x45c35a(0xbb),_0x1f136f))(_0x34f04f||{});const _0x25800f={[_0x4a4af2['A3']]:{'w':0x463,'h':0x633},[_0x4a4af2['A4']]:{'w':0x31a,'h':0x464},[_0x4a4af2['A5']]:{'w':0x22f,'h':0x31a},[_0x4a4af2['B4']]:{'w':0x3b0,'h':0x540},[_0x4a4af2['B5']]:{'w':0x299,'h':0x3b0},[_0x4a4af2['Executive']]:{'w':0x2b8,'h':0x3f0},[_0x4a4af2['Folio']]:{'w':0x330,'h':0x4e0},[_0x4a4af2[_0x45c35a(0xdd)]]:{'w':0x330,'h':0x540},[_0x4a4af2['Letter']]:{'w':0x330,'h':0x420},[_0x4a4af2[_0x45c35a(0xd9)]]:{'w':0x210,'h':0x330},[_0x4a4af2[_0x45c35a(0xcd)]]:{'w':0x420,'h':0x660}},_0x18c02={[_0x34f04f[_0x45c35a(0xba)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x34f04f['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x34f04f[_0x45c35a(0xd8)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x34f04f[_0x45c35a(0xbb)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x5e1329=_0x45c35a(0xb3),_0x43ac9e=_0x45c35a(0xd4);function _0x18e4f8(_0x5828f2,_0x5b7837){const _0x1d7cb8=_0x45c35a,{w:_0x4bdccb,h:_0x226c4a}=_0x25800f[_0x5828f2],_0x14342d=_0x5b7837===_0x4e4b05[_0x1d7cb8(0xb9)]?_0x4bdccb:_0x226c4a,_0x22eeec=_0x5b7837===_0x4e4b05[_0x1d7cb8(0xb9)]?_0x226c4a:_0x4bdccb,_0x12bf72=_0x1d7cb8(0xbf)+_0x14342d+_0x1d7cb8(0xb1)+_0x22eeec+_0x1d7cb8(0xdc)+_0x5e1329+',\x20.'+_0x5e1329+_0x1d7cb8(0xb7)+_0x43ac9e+_0x1d7cb8(0xc1)+_0x22eeec+_0x1d7cb8(0xb8)+_0x14342d+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x217794=document[_0x1d7cb8(0xc0)](_0x1d7cb8(0xca));return _0x217794[_0x1d7cb8(0xe0)]=_0x12bf72,_0x217794[_0x1d7cb8(0xdb)]=_0x1d7cb8(0xc5),_0x217794;}_0x3eb450[_0x45c35a(0xab)]=_0x43ac9e,_0x3eb450['PRINT_CONTAINER_CLASS']=_0x5e1329,_0x3eb450[_0x45c35a(0xc4)]=_0x18c02,_0x3eb450[_0x45c35a(0xb5)]=_0x25800f,_0x3eb450['PrintAlign']=_0x352e1b,_0x3eb450[_0x45c35a(0xae)]=_0x4e4b05,_0x3eb450[_0x45c35a(0xbd)]=_0x34f04f,_0x3eb450['PrintPaperSize']=_0x4a4af2,_0x3eb450[_0x45c35a(0xd7)]=_0x194c72,_0x3eb450[_0x45c35a(0xc7)]=_0x18e4f8,Object['defineProperty'](_0x3eb450,Symbol[_0x45c35a(0xd5)],{'value':_0x45c35a(0xac)});}));function _0x1646(_0x2293ab,_0x12dd19){const _0x30e5f0=_0x30e5();return _0x1646=function(_0x164629,_0x444506){_0x164629=_0x164629-0xab;let _0x409d84=_0x30e5f0[_0x164629];return _0x409d84;},_0x1646(_0x2293ab,_0x12dd19);}function _0x30e5(){const _0x51e5d7=['Start','\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.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Portrait','Normal','None','9780XzzjVr','PrintPaperMargin','Letter','\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','createElement','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Narrow','End','PaperMarginMap','offline-printing-css','12EAYkWh','createPrintStyle','2555uCnKnN','FitPage','style','6680080FjwTwB','2061xeWoGr','Tabloid','547557tAiINc','13576LqmfoA','1638160pAhawY','FitHeight','object','Middle','printing-canvas','toStringTag','amd','PrintScale','Wide','Statement','Folio','className','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.','Legal','Origin','Custom','innerHTML','3425665buDnsd','PRINT_CANVAS_CLASS','Module','FitWidth','PrintDirection','18vHigmP','UniverProPrint','px\x20','Landscape','printing-canvas-container','27304CRUZjc','PaperSizePxMap'];_0x30e5=function(){return _0x51e5d7;};return _0x30e5();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6-nightly.202503141606",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.8.2",
|
|
46
|
-
"vite": "^6.2.
|
|
46
|
+
"vite": "^6.2.1",
|
|
47
47
|
"vitest": "^3.0.8",
|
|
48
|
-
"@univerjs-infra/shared": "0.6.
|
|
48
|
+
"@univerjs-infra/shared": "0.6.6"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|