@univerjs-pro/print 0.4.0 → 0.4.1-nightly.202410201605
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 _0x128164=_0x5e82;(function(_0x893de9,_0x382825){const _0x40243d=_0x5e82,_0x41ac67=_0x893de9();while(!![]){try{const _0x52e618=-parseInt(_0x40243d(0x142))/0x1+parseInt(_0x40243d(0x151))/0x2*(parseInt(_0x40243d(0x164))/0x3)+parseInt(_0x40243d(0x168))/0x4*(-parseInt(_0x40243d(0x154))/0x5)+-parseInt(_0x40243d(0x13e))/0x6*(-parseInt(_0x40243d(0x169))/0x7)+parseInt(_0x40243d(0x136))/0x8*(parseInt(_0x40243d(0x141))/0x9)+-parseInt(_0x40243d(0x144))/0xa+-parseInt(_0x40243d(0x15b))/0xb*(-parseInt(_0x40243d(0x166))/0xc);if(_0x52e618===_0x382825)break;else _0x41ac67['push'](_0x41ac67['shift']());}catch(_0xc3431a){_0x41ac67['push'](_0x41ac67['shift']());}}}(_0x5de5,0x1a361));Object[_0x128164(0x15a)](exports,Symbol[_0x128164(0x13b)],{'value':_0x128164(0x15c)});var e=(_0x195d7a=>(_0x195d7a[_0x128164(0x149)]=_0x128164(0x149),_0x195d7a[_0x128164(0x158)]=_0x128164(0x158),_0x195d7a[_0x128164(0x152)]=_0x128164(0x152),_0x195d7a[_0x128164(0x163)]=_0x128164(0x163),_0x195d7a[_0x128164(0x14a)]=_0x128164(0x14a),_0x195d7a[_0x128164(0x155)]=_0x128164(0x155),_0x195d7a['A3']='A3',_0x195d7a['A4']='A4',_0x195d7a['A5']='A5',_0x195d7a['B4']='B4',_0x195d7a['B5']='B5',_0x195d7a))(e||{}),i=(_0xbe5e51=>(_0xbe5e51[_0x128164(0x13f)]='Portrait',_0xbe5e51['Landscape']=_0x128164(0x147),_0xbe5e51))(i||{}),c=(_0xa79563=>(_0xa79563[_0x128164(0x146)]='Origin',_0xa79563[_0x128164(0x13c)]=_0x128164(0x13c),_0xa79563[_0x128164(0x15d)]=_0x128164(0x15d),_0xa79563['FitPage']=_0x128164(0x16b),_0xa79563['Custom']=_0x128164(0x162),_0xa79563))(c||{}),g=(_0x2a0e88=>(_0x2a0e88[_0x128164(0x14c)]=_0x128164(0x14c),_0x2a0e88[_0x128164(0x137)]='End',_0x2a0e88[_0x128164(0x159)]='Middle',_0x2a0e88))(g||{}),o=(_0x4a422a=>(_0x4a422a[_0x128164(0x148)]='Normal',_0x4a422a['Narrow']=_0x128164(0x167),_0x4a422a[_0x128164(0x150)]=_0x128164(0x150),_0x4a422a[_0x128164(0x14b)]=_0x128164(0x14b),_0x4a422a))(o||{});function _0x5e82(_0x4282e1,_0x14652a){const _0x5de599=_0x5de5();return _0x5e82=function(_0x5e8210,_0x3a9ad){_0x5e8210=_0x5e8210-0x136;let _0x2d312c=_0x5de599[_0x5e8210];return _0x2d312c;},_0x5e82(_0x4282e1,_0x14652a);}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['Folio']]:{'w':0x330,'h':0x4e0},[e[_0x128164(0x152)]]:{'w':0x330,'h':0x540},[e[_0x128164(0x149)]]:{'w':0x330,'h':0x420},[e[_0x128164(0x163)]]:{'w':0x210,'h':0x330},[e[_0x128164(0x158)]]:{'w':0x420,'h':0x660}},N={[o[_0x128164(0x148)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x128164(0x167)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x128164(0x14b)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x128164(0x145),p='printing-canvas';function A(_0x488f9c,_0x211eb9){const _0x50968e=_0x128164,{w:_0x4648de,h:_0x29437e}=m[_0x488f9c],_0x24ded7=_0x211eb9===i[_0x50968e(0x13f)]?_0x4648de:_0x29437e,_0x332c86=_0x211eb9===i['Portrait']?_0x29437e:_0x4648de,_0x4e5d04=_0x50968e(0x13d)+_0x24ded7+_0x50968e(0x15e)+_0x332c86+_0x50968e(0x14d)+n+_0x50968e(0x140)+n+_0x50968e(0x156)+p+_0x50968e(0x13a)+_0x332c86+_0x50968e(0x165)+_0x24ded7+_0x50968e(0x15f),_0xdf9719=document[_0x50968e(0x14f)](_0x50968e(0x14e));return _0xdf9719[_0x50968e(0x153)]=_0x4e5d04,_0xdf9719[_0x50968e(0x161)]=_0x50968e(0x157),_0xdf9719;}function _0x5de5(){const _0x4e877f=['Folio','\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','Tabloid','Middle','defineProperty','1991RzlPXS','Module','FitHeight','px\x20','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','PrintAlign','className','Custom','Statement','3qjwTND','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','10632rIFYVR','Narrow','225464ZsPJQG','150983iSarUU','PrintPaperMargin','FitPage','336656JetYxT','End','createPrintStyle','PRINT_CONTAINER_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','toStringTag','FitWidth','\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','6PkrgbH','Portrait',',\x20.','45OWFpOZ','104718dvDLlD','PRINT_CANVAS_CLASS','2013870wTPZVR','printing-canvas-container','Origin','Landscape','Normal','Letter','Executive','None','Start','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.','style','createElement','Wide','267706wDWrJE','Legal','innerHTML','10eeuIeA'];_0x5de5=function(){return _0x4e877f;};return _0x5de5();}exports[_0x128164(0x143)]=p,exports[_0x128164(0x139)]=n,exports['PaperMarginMap']=N,exports['PaperSizePxMap']=m,exports[_0x128164(0x160)]=g,exports['PrintDirection']=i,exports[_0x128164(0x16a)]=o,exports['PrintPaperSize']=e,exports['PrintScale']=c,exports[_0x128164(0x138)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x558fb7=_0x3a82;(function(_0x33b87f,_0x6d2656){const _0x56beda=_0x3a82,_0x16bd0c=_0x33b87f();while(!![]){try{const _0x1c41ad=-parseInt(_0x56beda(0xfd))/0x1+parseInt(_0x56beda(0x109))/0x2*(-parseInt(_0x56beda(0x104))/0x3)+-parseInt(_0x56beda(0xeb))/0x4+parseInt(_0x56beda(0xf5))/0x5+-parseInt(_0x56beda(0xfa))/0x6*(-parseInt(_0x56beda(0xe8))/0x7)+parseInt(_0x56beda(0x100))/0x8+parseInt(_0x56beda(0xe5))/0x9;if(_0x1c41ad===_0x6d2656)break;else _0x16bd0c['push'](_0x16bd0c['shift']());}catch(_0x26fd9c){_0x16bd0c['push'](_0x16bd0c['shift']());}}}(_0x1f7d,0xc1fea));function _0x3a82(_0x585657,_0x4c3be3){const _0x1f7dd2=_0x1f7d();return _0x3a82=function(_0x3a8269,_0x187788){_0x3a8269=_0x3a8269-0xe4;let _0xea10ea=_0x1f7dd2[_0x3a8269];return _0xea10ea;},_0x3a82(_0x585657,_0x4c3be3);}var o=(_0xc38960=>(_0xc38960['Letter']=_0x558fb7(0xfe),_0xc38960[_0x558fb7(0x107)]='Tabloid',_0xc38960[_0x558fb7(0xe6)]='Legal',_0xc38960[_0x558fb7(0xed)]=_0x558fb7(0xed),_0xc38960[_0x558fb7(0xe4)]=_0x558fb7(0xe4),_0xc38960[_0x558fb7(0xf7)]='Folio',_0xc38960['A3']='A3',_0xc38960['A4']='A4',_0xc38960['A5']='A5',_0xc38960['B4']='B4',_0xc38960['B5']='B5',_0xc38960))(o||{}),i=(_0x2ae49c=>(_0x2ae49c[_0x558fb7(0xee)]=_0x558fb7(0xee),_0x2ae49c[_0x558fb7(0xf1)]=_0x558fb7(0xf1),_0x2ae49c))(i||{}),w=(_0x8a5ad8=>(_0x8a5ad8['Origin']=_0x558fb7(0xf9),_0x8a5ad8[_0x558fb7(0xec)]=_0x558fb7(0xec),_0x8a5ad8['FitHeight']=_0x558fb7(0xf0),_0x8a5ad8['FitPage']='FitPage',_0x8a5ad8['Custom']=_0x558fb7(0xf8),_0x8a5ad8))(w||{}),m=(_0x23eb5a=>(_0x23eb5a[_0x558fb7(0xe7)]=_0x558fb7(0xe7),_0x23eb5a[_0x558fb7(0xf2)]=_0x558fb7(0xf2),_0x23eb5a['Middle']=_0x558fb7(0x106),_0x23eb5a))(m||{}),e=(_0x55364c=>(_0x55364c['Normal']=_0x558fb7(0xea),_0x55364c[_0x558fb7(0xf6)]=_0x558fb7(0xf6),_0x55364c[_0x558fb7(0x10b)]=_0x558fb7(0x10b),_0x55364c[_0x558fb7(0x103)]=_0x558fb7(0x103),_0x55364c))(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['Executive']]:{'w':0x2b8,'h':0x3f0},[o[_0x558fb7(0xf7)]]:{'w':0x330,'h':0x4e0},[o[_0x558fb7(0xe6)]]:{'w':0x330,'h':0x540},[o[_0x558fb7(0xfe)]]:{'w':0x330,'h':0x420},[o[_0x558fb7(0xed)]]:{'w':0x210,'h':0x330},[o[_0x558fb7(0x107)]]:{'w':0x420,'h':0x660}},v={[e[_0x558fb7(0xea)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x558fb7(0xf6)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x558fb7(0x10b)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x558fb7(0x103)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x558fb7(0x10a),p='printing-canvas';function N(_0x1551f5,_0x1b302){const _0xbeda0a=_0x558fb7,{w:_0xd3b42,h:_0x583e7d}=g[_0x1551f5],_0x4cafff=_0x1b302===i[_0xbeda0a(0xee)]?_0xd3b42:_0x583e7d,_0x6486d7=_0x1b302===i['Portrait']?_0x583e7d:_0xd3b42,_0x1c71c9=_0xbeda0a(0xef)+_0x4cafff+_0xbeda0a(0x108)+_0x6486d7+_0xbeda0a(0x102)+l+_0xbeda0a(0xe9)+l+_0xbeda0a(0x101)+p+_0xbeda0a(0xf3)+_0x6486d7+_0xbeda0a(0xfc)+_0x4cafff+_0xbeda0a(0xf4),_0x4d745f=document['createElement'](_0xbeda0a(0x105));return _0x4d745f[_0xbeda0a(0xff)]=_0x1c71c9,_0x4d745f[_0xbeda0a(0xfb)]='offline-printing-css',_0x4d745f;}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 _0x1f7d(){const _0x1bf664=['Folio','Custom','Origin','994680KYxxuz','className','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','520554ePJDYG','Letter','innerHTML','11421472psdQrd','\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;\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','7941bvfGsf','style','Middle','Tabloid','px\x20','254wdUdQA','printing-canvas-container','Wide','Executive','5619492jrJGuw','Legal','Start','21gzcxRD',',\x20.','Normal','3710196adktkG','FitWidth','Statement','Portrait','\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','FitHeight','Landscape','End','\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;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','147310ADfOgg','Narrow'];_0x1f7d=function(){return _0x1bf664;};return _0x1f7d();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4480(_0x435b9a,_0x383c14){const _0xebc17c=_0xebc1();return _0x4480=function(_0x448073,_0x116a8a){_0x448073=_0x448073-0x1a8;let _0x252170=_0xebc17c[_0x448073];return _0x252170;},_0x4480(_0x435b9a,_0x383c14);}(function(_0x19fa95,_0x347a1e){const _0x2db6f5=_0x4480,_0x650b97=_0x19fa95();while(!![]){try{const _0x420e29=parseInt(_0x2db6f5(0x1d4))/0x1+parseInt(_0x2db6f5(0x1d3))/0x2*(parseInt(_0x2db6f5(0x1c8))/0x3)+parseInt(_0x2db6f5(0x1c9))/0x4*(-parseInt(_0x2db6f5(0x1b4))/0x5)+parseInt(_0x2db6f5(0x1d9))/0x6*(-parseInt(_0x2db6f5(0x1dd))/0x7)+-parseInt(_0x2db6f5(0x1b9))/0x8+parseInt(_0x2db6f5(0x1b3))/0x9*(-parseInt(_0x2db6f5(0x1ab))/0xa)+-parseInt(_0x2db6f5(0x1c1))/0xb*(-parseInt(_0x2db6f5(0x1da))/0xc);if(_0x420e29===_0x347a1e)break;else _0x650b97['push'](_0x650b97['shift']());}catch(_0x765628){_0x650b97['push'](_0x650b97['shift']());}}}(_0xebc1,0xe7cd0),function(_0x3dd55b,_0x1aa34b){const _0x5a7f16=_0x4480;typeof exports==_0x5a7f16(0x1d2)&&typeof module<'u'?_0x1aa34b(exports):typeof define==_0x5a7f16(0x1cf)&&define['amd']?define([_0x5a7f16(0x1b5)],_0x1aa34b):(_0x3dd55b=typeof globalThis<'u'?globalThis:_0x3dd55b||self,_0x1aa34b(_0x3dd55b['UniverPrint']={}));}(this,function(_0x39a504){'use strict';const _0x30b133=_0x4480;var _0x194162=(_0x140abf=>(_0x140abf[_0x30b133(0x1d1)]=_0x30b133(0x1d1),_0x140abf['Tabloid']=_0x30b133(0x1b7),_0x140abf[_0x30b133(0x1c7)]=_0x30b133(0x1c7),_0x140abf[_0x30b133(0x1ce)]=_0x30b133(0x1ce),_0x140abf[_0x30b133(0x1ca)]=_0x30b133(0x1ca),_0x140abf[_0x30b133(0x1dc)]='Folio',_0x140abf['A3']='A3',_0x140abf['A4']='A4',_0x140abf['A5']='A5',_0x140abf['B4']='B4',_0x140abf['B5']='B5',_0x140abf))(_0x194162||{}),_0xed3a59=(_0x3e3130=>(_0x3e3130[_0x30b133(0x1d0)]='Portrait',_0x3e3130['Landscape']=_0x30b133(0x1b0),_0x3e3130))(_0xed3a59||{}),_0x169734=(_0x334b40=>(_0x334b40['Origin']=_0x30b133(0x1a9),_0x334b40[_0x30b133(0x1c3)]='FitWidth',_0x334b40[_0x30b133(0x1ae)]='FitHeight',_0x334b40[_0x30b133(0x1c6)]=_0x30b133(0x1c6),_0x334b40[_0x30b133(0x1bb)]=_0x30b133(0x1bb),_0x334b40))(_0x169734||{}),_0x599e17=(_0x31cdab=>(_0x31cdab['Start']=_0x30b133(0x1aa),_0x31cdab[_0x30b133(0x1b1)]=_0x30b133(0x1b1),_0x31cdab[_0x30b133(0x1d7)]=_0x30b133(0x1d7),_0x31cdab))(_0x599e17||{}),_0x186376=(_0x14b152=>(_0x14b152[_0x30b133(0x1c5)]=_0x30b133(0x1c5),_0x14b152[_0x30b133(0x1c2)]=_0x30b133(0x1c2),_0x14b152[_0x30b133(0x1cb)]='Wide',_0x14b152[_0x30b133(0x1ac)]='None',_0x14b152))(_0x186376||{});const _0x4b4035={[_0x194162['A3']]:{'w':0x463,'h':0x633},[_0x194162['A4']]:{'w':0x31a,'h':0x464},[_0x194162['A5']]:{'w':0x22f,'h':0x31a},[_0x194162['B4']]:{'w':0x3b0,'h':0x540},[_0x194162['B5']]:{'w':0x299,'h':0x3b0},[_0x194162['Executive']]:{'w':0x2b8,'h':0x3f0},[_0x194162[_0x30b133(0x1dc)]]:{'w':0x330,'h':0x4e0},[_0x194162[_0x30b133(0x1c7)]]:{'w':0x330,'h':0x540},[_0x194162[_0x30b133(0x1d1)]]:{'w':0x330,'h':0x420},[_0x194162[_0x30b133(0x1ce)]]:{'w':0x210,'h':0x330},[_0x194162[_0x30b133(0x1b7)]]:{'w':0x420,'h':0x660}},_0x5da199={[_0x186376[_0x30b133(0x1c5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x186376[_0x30b133(0x1c2)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x186376[_0x30b133(0x1cb)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x186376['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x414e91=_0x30b133(0x1be),_0x46d4d4=_0x30b133(0x1bf);function _0xe6da91(_0xc85cc1,_0x354de7){const _0x53abe7=_0x30b133,{w:_0x3b9884,h:_0x5737b7}=_0x4b4035[_0xc85cc1],_0x5d930c=_0x354de7===_0xed3a59[_0x53abe7(0x1d0)]?_0x3b9884:_0x5737b7,_0x186818=_0x354de7===_0xed3a59[_0x53abe7(0x1d0)]?_0x5737b7:_0x3b9884,_0x51e20d=_0x53abe7(0x1a8)+_0x5d930c+_0x53abe7(0x1de)+_0x186818+_0x53abe7(0x1c4)+_0x414e91+',\x20.'+_0x414e91+_0x53abe7(0x1ba)+_0x46d4d4+_0x53abe7(0x1ad)+_0x186818+_0x53abe7(0x1c0)+_0x5d930c+_0x53abe7(0x1db),_0x50f698=document['createElement'](_0x53abe7(0x1bd));return _0x50f698['innerHTML']=_0x51e20d,_0x50f698[_0x53abe7(0x1df)]='offline-printing-css',_0x50f698;}_0x39a504[_0x30b133(0x1b2)]=_0x46d4d4,_0x39a504[_0x30b133(0x1af)]=_0x414e91,_0x39a504[_0x30b133(0x1d8)]=_0x5da199,_0x39a504[_0x30b133(0x1b8)]=_0x4b4035,_0x39a504[_0x30b133(0x1d6)]=_0x599e17,_0x39a504['PrintDirection']=_0xed3a59,_0x39a504['PrintPaperMargin']=_0x186376,_0x39a504[_0x30b133(0x1b6)]=_0x194162,_0x39a504[_0x30b133(0x1bc)]=_0x169734,_0x39a504[_0x30b133(0x1d5)]=_0xe6da91,Object[_0x30b133(0x1cc)](_0x39a504,Symbol['toStringTag'],{'value':_0x30b133(0x1cd)});}));function _0xebc1(){const _0x5efc71=['36JwOUTm','2437348VAffhj','Executive','Wide','defineProperty','Module','Statement','function','Portrait','Letter','object','127814usUzpz','550265jLlyqB','createPrintStyle','PrintAlign','Middle','PaperMarginMap','156126fyShkV','36828TqvTej','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Folio','189XNZgYG','px\x20','className','\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','Start','47870Dbjsue','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','FitHeight','PRINT_CONTAINER_CLASS','Landscape','End','PRINT_CANVAS_CLASS','2241PbxfwQ','5vPCCbk','exports','PrintPaperSize','Tabloid','PaperSizePxMap','14091648unLEfJ','\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.','Custom','PrintScale','style','printing-canvas-container','printing-canvas','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','13970IEVsLf','Narrow','FitWidth','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.','Normal','FitPage','Legal'];_0xebc1=function(){return _0x5efc71;};return _0xebc1();}
|
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.202410201605",
|
|
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
|
".": {
|