@univerjs-pro/print 0.6.1 → 0.6.2-nightly.202503031606
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 +5 -5
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3de262=_0x4e3f;function _0x4e3f(_0x3200c8,_0x4e2c1a){const _0x533175=_0x5331();return _0x4e3f=function(_0x4e3f95,_0x5c731f){_0x4e3f95=_0x4e3f95-0x135;let _0x57fe5d=_0x533175[_0x4e3f95];return _0x57fe5d;},_0x4e3f(_0x3200c8,_0x4e2c1a);}(function(_0x175fc1,_0x204286){const _0x302174=_0x4e3f,_0xb319bd=_0x175fc1();while(!![]){try{const _0x4f0cd4=-parseInt(_0x302174(0x135))/0x1*(parseInt(_0x302174(0x15d))/0x2)+parseInt(_0x302174(0x13d))/0x3+parseInt(_0x302174(0x153))/0x4+-parseInt(_0x302174(0x157))/0x5*(parseInt(_0x302174(0x14f))/0x6)+parseInt(_0x302174(0x152))/0x7*(-parseInt(_0x302174(0x15c))/0x8)+-parseInt(_0x302174(0x156))/0x9*(parseInt(_0x302174(0x13e))/0xa)+parseInt(_0x302174(0x160))/0xb;if(_0x4f0cd4===_0x204286)break;else _0xb319bd['push'](_0xb319bd['shift']());}catch(_0x8acd0a){_0xb319bd['push'](_0xb319bd['shift']());}}}(_0x5331,0xcc212));Object[_0x3de262(0x149)](exports,Symbol[_0x3de262(0x139)],{'value':_0x3de262(0x136)});function _0x5331(){const _0xcdd669=['offline-printing-css','3448389UzyHxK','89410MQuywy','Narrow','\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.','Tabloid','Legal','createElement','Custom','className','None','FitWidth','Middle','defineProperty','FitHeight','Start','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.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','6119706HVMPRL','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','PrintPaperSize','38941xNdjTW','4764704qANBMf','PrintPaperMargin','Executive','1584oETZKv','5dcOLek','Landscape','PrintDirection','px\x20','Folio','1016BrDeXQ','2226532zteeQh','FitPage','Wide','31996899Ypznwq','Normal','Statement','Portrait','Origin','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','PRINT_CANVAS_CLASS','1IbEgWp','Module','createPrintStyle','End','toStringTag','PRINT_CONTAINER_CLASS','printing-canvas'];_0x5331=function(){return _0xcdd669;};return _0x5331();}var e=(_0x2b8bd8=>(_0x2b8bd8[_0x3de262(0x14c)]=_0x3de262(0x14c),_0x2b8bd8[_0x3de262(0x141)]=_0x3de262(0x141),_0x2b8bd8[_0x3de262(0x142)]='Legal',_0x2b8bd8['Statement']=_0x3de262(0x162),_0x2b8bd8['Executive']=_0x3de262(0x155),_0x2b8bd8[_0x3de262(0x15b)]=_0x3de262(0x15b),_0x2b8bd8['A3']='A3',_0x2b8bd8['A4']='A4',_0x2b8bd8['A5']='A5',_0x2b8bd8['B4']='B4',_0x2b8bd8['B5']='B5',_0x2b8bd8))(e||{}),i=(_0x140b58=>(_0x140b58[_0x3de262(0x163)]='Portrait',_0x140b58[_0x3de262(0x158)]=_0x3de262(0x158),_0x140b58))(i||{}),c=(_0x46d9bf=>(_0x46d9bf['Origin']=_0x3de262(0x164),_0x46d9bf['FitWidth']=_0x3de262(0x147),_0x46d9bf[_0x3de262(0x14a)]=_0x3de262(0x14a),_0x46d9bf[_0x3de262(0x15e)]=_0x3de262(0x15e),_0x46d9bf[_0x3de262(0x144)]=_0x3de262(0x144),_0x46d9bf))(c||{}),g=(_0x31ae94=>(_0x31ae94['Start']=_0x3de262(0x14b),_0x31ae94[_0x3de262(0x138)]=_0x3de262(0x138),_0x31ae94[_0x3de262(0x148)]=_0x3de262(0x148),_0x31ae94))(g||{}),o=(_0x6197ae=>(_0x6197ae['Normal']=_0x3de262(0x161),_0x6197ae[_0x3de262(0x13f)]=_0x3de262(0x13f),_0x6197ae[_0x3de262(0x15f)]=_0x3de262(0x15f),_0x6197ae['None']=_0x3de262(0x146),_0x6197ae))(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[_0x3de262(0x155)]]:{'w':0x2b8,'h':0x3f0},[e[_0x3de262(0x15b)]]:{'w':0x330,'h':0x4e0},[e['Legal']]:{'w':0x330,'h':0x540},[e['Letter']]:{'w':0x330,'h':0x420},[e[_0x3de262(0x162)]]:{'w':0x210,'h':0x330},[e[_0x3de262(0x141)]]:{'w':0x420,'h':0x660}},N={[o['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x3de262(0x15f)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x3de262(0x146)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n='printing-canvas-container',p=_0x3de262(0x13b);function A(_0x2ffe49,_0x46bf3){const _0x4784c3=_0x3de262,{w:_0x89cb3c,h:_0xe6dc45}=m[_0x2ffe49],_0x303f50=_0x46bf3===i['Portrait']?_0x89cb3c:_0xe6dc45,_0x56953d=_0x46bf3===i[_0x4784c3(0x163)]?_0xe6dc45:_0x89cb3c,_0x4b9aff='\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'+_0x303f50+_0x4784c3(0x15a)+_0x56953d+_0x4784c3(0x14d)+n+',\x20.'+n+_0x4784c3(0x140)+p+_0x4784c3(0x165)+_0x56953d+_0x4784c3(0x14e)+_0x303f50+_0x4784c3(0x150),_0x23943f=document[_0x4784c3(0x143)]('style');return _0x23943f['innerHTML']=_0x4b9aff,_0x23943f[_0x4784c3(0x145)]=_0x4784c3(0x13c),_0x23943f;}exports[_0x3de262(0x166)]=p,exports[_0x3de262(0x13a)]=n,exports['PaperMarginMap']=N,exports['PaperSizePxMap']=m,exports['PrintAlign']=g,exports[_0x3de262(0x159)]=i,exports[_0x3de262(0x154)]=o,exports[_0x3de262(0x151)]=e,exports['PrintScale']=c,exports[_0x3de262(0x137)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x375197=_0x5804;(function(_0x5e7a6d,_0x4ed486){const _0x1cd41d=_0x5804,_0x3a9fd2=_0x5e7a6d();while(!![]){try{const _0x631a78=parseInt(_0x1cd41d(0x173))/0x1*(-parseInt(_0x1cd41d(0x18a))/0x2)+-parseInt(_0x1cd41d(0x189))/0x3*(parseInt(_0x1cd41d(0x178))/0x4)+parseInt(_0x1cd41d(0x16e))/0x5*(-parseInt(_0x1cd41d(0x187))/0x6)+-parseInt(_0x1cd41d(0x179))/0x7+-parseInt(_0x1cd41d(0x16a))/0x8*(parseInt(_0x1cd41d(0x16f))/0x9)+parseInt(_0x1cd41d(0x172))/0xa*(-parseInt(_0x1cd41d(0x186))/0xb)+parseInt(_0x1cd41d(0x17a))/0xc*(parseInt(_0x1cd41d(0x18c))/0xd);if(_0x631a78===_0x4ed486)break;else _0x3a9fd2['push'](_0x3a9fd2['shift']());}catch(_0x1d9f0a){_0x3a9fd2['push'](_0x3a9fd2['shift']());}}}(_0x575c,0x83cc1));var o=(_0x280723=>(_0x280723[_0x375197(0x193)]=_0x375197(0x193),_0x280723['Tabloid']=_0x375197(0x196),_0x280723[_0x375197(0x174)]='Legal',_0x280723['Statement']='Statement',_0x280723[_0x375197(0x171)]='Executive',_0x280723[_0x375197(0x16b)]=_0x375197(0x16b),_0x280723['A3']='A3',_0x280723['A4']='A4',_0x280723['A5']='A5',_0x280723['B4']='B4',_0x280723['B5']='B5',_0x280723))(o||{}),i=(_0x80cdd8=>(_0x80cdd8['Portrait']='Portrait',_0x80cdd8[_0x375197(0x184)]='Landscape',_0x80cdd8))(i||{}),w=(_0x4bd398=>(_0x4bd398[_0x375197(0x180)]=_0x375197(0x180),_0x4bd398[_0x375197(0x18d)]=_0x375197(0x18d),_0x4bd398[_0x375197(0x17d)]=_0x375197(0x17d),_0x4bd398[_0x375197(0x17f)]='FitPage',_0x4bd398[_0x375197(0x181)]=_0x375197(0x181),_0x4bd398))(w||{}),m=(_0x49ae4b=>(_0x49ae4b['Start']=_0x375197(0x16c),_0x49ae4b[_0x375197(0x183)]='End',_0x49ae4b[_0x375197(0x17c)]=_0x375197(0x17c),_0x49ae4b))(m||{}),e=(_0x4ada66=>(_0x4ada66[_0x375197(0x16d)]='Normal',_0x4ada66[_0x375197(0x195)]='Narrow',_0x4ada66['Wide']=_0x375197(0x192),_0x4ada66[_0x375197(0x177)]=_0x375197(0x177),_0x4ada66))(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[_0x375197(0x171)]]:{'w':0x2b8,'h':0x3f0},[o[_0x375197(0x16b)]]:{'w':0x330,'h':0x4e0},[o[_0x375197(0x174)]]:{'w':0x330,'h':0x540},[o[_0x375197(0x193)]]:{'w':0x330,'h':0x420},[o[_0x375197(0x175)]]:{'w':0x210,'h':0x330},[o['Tabloid']]:{'w':0x420,'h':0x660}},v={[e[_0x375197(0x16d)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x375197(0x195)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x375197(0x17e),p=_0x375197(0x18b);function N(_0x5c3218,_0x40f7e2){const _0xa96ec9=_0x375197,{w:_0x44b3e4,h:_0x48400f}=g[_0x5c3218],_0x2dd81d=_0x40f7e2===i[_0xa96ec9(0x194)]?_0x44b3e4:_0x48400f,_0x63212a=_0x40f7e2===i[_0xa96ec9(0x194)]?_0x48400f:_0x44b3e4,_0x115bb7=_0xa96ec9(0x190)+_0x2dd81d+_0xa96ec9(0x185)+_0x63212a+_0xa96ec9(0x17b)+l+_0xa96ec9(0x191)+l+_0xa96ec9(0x18f)+p+_0xa96ec9(0x170)+_0x63212a+_0xa96ec9(0x176)+_0x2dd81d+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x21ed3b=document[_0xa96ec9(0x188)]('style');return _0x21ed3b['innerHTML']=_0x115bb7,_0x21ed3b[_0xa96ec9(0x182)]=_0xa96ec9(0x18e),_0x21ed3b;}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};function _0x5804(_0xa42a82,_0x5c9b78){const _0x575c85=_0x575c();return _0x5804=function(_0x580402,_0x19c498){_0x580402=_0x580402-0x16a;let _0x3dbb14=_0x575c85[_0x580402];return _0x3dbb14;},_0x5804(_0xa42a82,_0x5c9b78);}function _0x575c(){const _0x37196e=['px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','None','95896tedFQm','856107YZvVPG','4794324rjVbLq','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','FitHeight','printing-canvas-container','FitPage','Origin','Custom','className','End','Landscape','px\x20','76747LpLKkN','22944jOsiwM','createElement','45fkcLYK','790026MvozXt','printing-canvas','91naPJPP','FitWidth','offline-printing-css','\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.','\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',',\x20.','Wide','Letter','Portrait','Narrow','Tabloid','48rgXdfx','Folio','Start','Normal','430xeKlyz','1430073EdHQPo','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Executive','140AsfEhH','1jtIVbL','Legal','Statement'];_0x575c=function(){return _0x37196e;};return _0x575c();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5b97(_0x5be0db,_0x3be469){const _0x12772c=_0x1277();return _0x5b97=function(_0x5b977b,_0x3c012e){_0x5b977b=_0x5b977b-0xef;let _0x29fc19=_0x12772c[_0x5b977b];return _0x29fc19;},_0x5b97(_0x5be0db,_0x3be469);}(function(_0x24fb0e,_0x262bd2){const _0x143d21=_0x5b97,_0x5d4596=_0x24fb0e();while(!![]){try{const _0x22d56b=parseInt(_0x143d21(0x108))/0x1*(parseInt(_0x143d21(0xf8))/0x2)+parseInt(_0x143d21(0x10f))/0x3*(parseInt(_0x143d21(0x127))/0x4)+-parseInt(_0x143d21(0xf6))/0x5*(parseInt(_0x143d21(0x10e))/0x6)+parseInt(_0x143d21(0xfb))/0x7*(-parseInt(_0x143d21(0xfc))/0x8)+parseInt(_0x143d21(0xfd))/0x9*(parseInt(_0x143d21(0x109))/0xa)+parseInt(_0x143d21(0x11c))/0xb+parseInt(_0x143d21(0x10c))/0xc*(-parseInt(_0x143d21(0x120))/0xd);if(_0x22d56b===_0x262bd2)break;else _0x5d4596['push'](_0x5d4596['shift']());}catch(_0x48a928){_0x5d4596['push'](_0x5d4596['shift']());}}}(_0x1277,0x7b327),function(_0xe5d802,_0x169ca0){const _0x88a5e8=_0x5b97;typeof exports=='object'&&typeof module<'u'?_0x169ca0(exports):typeof define==_0x88a5e8(0x126)&&define['amd']?define([_0x88a5e8(0x123)],_0x169ca0):(_0xe5d802=typeof globalThis<'u'?globalThis:_0xe5d802||self,_0x169ca0(_0xe5d802[_0x88a5e8(0xff)]={}));}(this,function(_0x1be374){'use strict';const _0x11f9d9=_0x5b97;var _0x41c06c=(_0x4592f8=>(_0x4592f8[_0x11f9d9(0x10b)]=_0x11f9d9(0x10b),_0x4592f8[_0x11f9d9(0xf3)]=_0x11f9d9(0xf3),_0x4592f8[_0x11f9d9(0xef)]=_0x11f9d9(0xef),_0x4592f8[_0x11f9d9(0x128)]=_0x11f9d9(0x128),_0x4592f8[_0x11f9d9(0x114)]=_0x11f9d9(0x114),_0x4592f8[_0x11f9d9(0x121)]=_0x11f9d9(0x121),_0x4592f8['A3']='A3',_0x4592f8['A4']='A4',_0x4592f8['A5']='A5',_0x4592f8['B4']='B4',_0x4592f8['B5']='B5',_0x4592f8))(_0x41c06c||{}),_0x3a91c2=(_0x4f09cb=>(_0x4f09cb[_0x11f9d9(0x110)]=_0x11f9d9(0x110),_0x4f09cb[_0x11f9d9(0xfe)]='Landscape',_0x4f09cb))(_0x3a91c2||{}),_0x32ffe5=(_0x59fb50=>(_0x59fb50['Origin']=_0x11f9d9(0x104),_0x59fb50[_0x11f9d9(0x11a)]=_0x11f9d9(0x11a),_0x59fb50['FitHeight']='FitHeight',_0x59fb50['FitPage']=_0x11f9d9(0x122),_0x59fb50[_0x11f9d9(0x119)]=_0x11f9d9(0x119),_0x59fb50))(_0x32ffe5||{}),_0x17377a=(_0x1f456c=>(_0x1f456c[_0x11f9d9(0xfa)]=_0x11f9d9(0xfa),_0x1f456c[_0x11f9d9(0xf1)]=_0x11f9d9(0xf1),_0x1f456c[_0x11f9d9(0x11d)]=_0x11f9d9(0x11d),_0x1f456c))(_0x17377a||{}),_0x2d362c=(_0x58aa24=>(_0x58aa24[_0x11f9d9(0x10a)]=_0x11f9d9(0x10a),_0x58aa24[_0x11f9d9(0x112)]=_0x11f9d9(0x112),_0x58aa24['Wide']=_0x11f9d9(0xf2),_0x58aa24[_0x11f9d9(0x117)]=_0x11f9d9(0x117),_0x58aa24))(_0x2d362c||{});const _0x5d3991={[_0x41c06c['A3']]:{'w':0x463,'h':0x633},[_0x41c06c['A4']]:{'w':0x31a,'h':0x464},[_0x41c06c['A5']]:{'w':0x22f,'h':0x31a},[_0x41c06c['B4']]:{'w':0x3b0,'h':0x540},[_0x41c06c['B5']]:{'w':0x299,'h':0x3b0},[_0x41c06c[_0x11f9d9(0x114)]]:{'w':0x2b8,'h':0x3f0},[_0x41c06c['Folio']]:{'w':0x330,'h':0x4e0},[_0x41c06c['Legal']]:{'w':0x330,'h':0x540},[_0x41c06c[_0x11f9d9(0x10b)]]:{'w':0x330,'h':0x420},[_0x41c06c[_0x11f9d9(0x128)]]:{'w':0x210,'h':0x330},[_0x41c06c[_0x11f9d9(0xf3)]]:{'w':0x420,'h':0x660}},_0x44dfb5={[_0x2d362c[_0x11f9d9(0x10a)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x2d362c[_0x11f9d9(0x112)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x2d362c[_0x11f9d9(0xf2)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x2d362c['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x2473d2=_0x11f9d9(0xf0),_0x5d16dc=_0x11f9d9(0x125);function _0xe989ca(_0x31f82b,_0x6a98f6){const _0x5092ef=_0x11f9d9,{w:_0x3d95fb,h:_0x1f205b}=_0x5d3991[_0x31f82b],_0xd8fecd=_0x6a98f6===_0x3a91c2[_0x5092ef(0x110)]?_0x3d95fb:_0x1f205b,_0x28857f=_0x6a98f6===_0x3a91c2[_0x5092ef(0x110)]?_0x1f205b:_0x3d95fb,_0xaadee1=_0x5092ef(0x103)+_0xd8fecd+_0x5092ef(0x102)+_0x28857f+_0x5092ef(0x116)+_0x2473d2+_0x5092ef(0x100)+_0x2473d2+_0x5092ef(0x105)+_0x5d16dc+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x28857f+_0x5092ef(0xf9)+_0xd8fecd+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x46f0ee=document[_0x5092ef(0x11e)](_0x5092ef(0x113));return _0x46f0ee[_0x5092ef(0x118)]=_0xaadee1,_0x46f0ee[_0x5092ef(0xf4)]=_0x5092ef(0xf7),_0x46f0ee;}_0x1be374[_0x11f9d9(0x11f)]=_0x5d16dc,_0x1be374[_0x11f9d9(0x124)]=_0x2473d2,_0x1be374['PaperMarginMap']=_0x44dfb5,_0x1be374[_0x11f9d9(0x107)]=_0x5d3991,_0x1be374[_0x11f9d9(0x10d)]=_0x17377a,_0x1be374[_0x11f9d9(0x111)]=_0x3a91c2,_0x1be374[_0x11f9d9(0x115)]=_0x2d362c,_0x1be374[_0x11f9d9(0x11b)]=_0x41c06c,_0x1be374[_0x11f9d9(0x101)]=_0x32ffe5,_0x1be374[_0x11f9d9(0x129)]=_0xe989ca,Object['defineProperty'](_0x1be374,Symbol[_0x11f9d9(0x106)],{'value':_0x11f9d9(0xf5)});}));function _0x1277(){const _0x501689=['737816mzgLyv','63BJvhhl','Landscape','UniverProPrint',',\x20.','PrintScale','px\x20','\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','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.','toStringTag','PaperSizePxMap','2usvdPA','188960Tmbnce','Normal','Letter','108XaBtFg','PrintAlign','30fBixVd','60018qNomGr','Portrait','PrintDirection','Narrow','style','Executive','PrintPaperMargin','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.','None','innerHTML','Custom','FitWidth','PrintPaperSize','9519059VjHYFe','Middle','createElement','PRINT_CANVAS_CLASS','1212757meBMUx','Folio','FitPage','exports','PRINT_CONTAINER_CLASS','printing-canvas','function','92VlGbUL','Statement','createPrintStyle','Legal','printing-canvas-container','End','Wide','Tabloid','className','Module','577370Qmizmq','offline-printing-css','924942vnUDKs','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Start','35dSpvUi'];_0x1277=function(){return _0x501689;};return _0x1277();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2-nightly.202503031606",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"typescript": "^5.
|
|
46
|
-
"vite": "^6.
|
|
47
|
-
"vitest": "^3.0.
|
|
48
|
-
"@univerjs-infra/shared": "0.6.
|
|
45
|
+
"typescript": "^5.8.2",
|
|
46
|
+
"vite": "^6.2.0",
|
|
47
|
+
"vitest": "^3.0.7",
|
|
48
|
+
"@univerjs-infra/shared": "0.6.2"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|