@univerjs-pro/print 0.20.1 → 0.21.0

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 CHANGED
@@ -1 +1 @@
1
- const _0x2b1873=_0x9ab0;(function(_0x48bf54,_0xf72337){const _0x5908a2=_0x9ab0,_0x2a6d7a=_0x48bf54();while(!![]){try{const _0x1e666b=-parseInt(_0x5908a2(0x8f))/0x1+parseInt(_0x5908a2(0x94))/0x2+parseInt(_0x5908a2(0x9b))/0x3*(parseInt(_0x5908a2(0x76))/0x4)+parseInt(_0x5908a2(0x92))/0x5*(-parseInt(_0x5908a2(0x7e))/0x6)+parseInt(_0x5908a2(0x83))/0x7*(-parseInt(_0x5908a2(0x7f))/0x8)+parseInt(_0x5908a2(0x7b))/0x9+-parseInt(_0x5908a2(0x84))/0xa*(-parseInt(_0x5908a2(0x79))/0xb);if(_0x1e666b===_0xf72337)break;else _0x2a6d7a['push'](_0x2a6d7a['shift']());}catch(_0x37b3b5){_0x2a6d7a['push'](_0x2a6d7a['shift']());}}}(_0x396b,0xc0cb0),Object[_0x2b1873(0x9e)](exports,Symbol['toStringTag'],{'value':_0x2b1873(0x8d)}));let e=function(_0x3951ad){const _0x4e2752=_0x2b1873;return _0x3951ad[_0x4e2752(0x9a)]=_0x4e2752(0x9a),_0x3951ad[_0x4e2752(0x93)]=_0x4e2752(0x93),_0x3951ad;}({}),t=function(_0x65d985){const _0xb3baa6=_0x2b1873;return _0x65d985['Origin']=_0xb3baa6(0x7a),_0x65d985[_0xb3baa6(0x89)]='FitWidth',_0x65d985[_0xb3baa6(0x72)]=_0xb3baa6(0x72),_0x65d985['FitPage']=_0xb3baa6(0x77),_0x65d985[_0xb3baa6(0x9d)]='Custom',_0x65d985;}({}),n=function(_0x5dcfca){const _0x1437fe=_0x2b1873;return _0x5dcfca[_0x1437fe(0x99)]=_0x1437fe(0x99),_0x5dcfca[_0x1437fe(0x7c)]=_0x1437fe(0x7c),_0x5dcfca[_0x1437fe(0x8a)]='Middle',_0x5dcfca;}({}),r=function(_0x4cda89){const _0x1ff7aa=_0x2b1873;return _0x4cda89[_0x1ff7aa(0x73)]=_0x1ff7aa(0x73),_0x4cda89['Narrow']='Narrow',_0x4cda89['Wide']=_0x1ff7aa(0x91),_0x4cda89[_0x1ff7aa(0x97)]=_0x1ff7aa(0x97),_0x4cda89[_0x1ff7aa(0x9d)]='Custom',_0x4cda89;}({});const i={[r['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[r['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[r[_0x2b1873(0x91)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[r['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[r[_0x2b1873(0x9d)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},a=_0x2b1873(0x8e),o=_0x2b1873(0x74);function s(_0x3d7268,_0x102e77,_0x4f7dc1){const _0xfe5d1a=_0x2b1873;let _0x21fba0=_0x4f7dc1===e[_0xfe5d1a(0x9a)]?_0x3d7268:_0x102e77,_0x5eff98=_0x4f7dc1===e[_0xfe5d1a(0x9a)]?_0x102e77:_0x3d7268,_0x15aca9='\x0a\x20\x20\x20\x20.'+o+_0xfe5d1a(0x7d)+_0x21fba0+'px\x20'+_0x5eff98+_0xfe5d1a(0x98)+a+_0xfe5d1a(0x75)+a+_0xfe5d1a(0x90)+o+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x5eff98+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x21fba0+_0xfe5d1a(0x9c),_0x4078e7=document[_0xfe5d1a(0x81)](_0xfe5d1a(0x78));return _0x4078e7[_0xfe5d1a(0x8c)]=_0x15aca9,_0x4078e7[_0xfe5d1a(0x86)]=_0xfe5d1a(0x85),_0x4078e7;}function _0x9ab0(_0x1ddbe5,_0x4cdc68){_0x1ddbe5=_0x1ddbe5-0x72;const _0x396bf4=_0x396b();let _0x9ab05c=_0x396bf4[_0x1ddbe5];return _0x9ab05c;}exports[_0x2b1873(0x82)]=o,exports[_0x2b1873(0x8b)]=a,exports[_0x2b1873(0x95)]=i,exports['PrintAlign']=n,exports[_0x2b1873(0x87)]=e,exports[_0x2b1873(0x80)]=r,exports[_0x2b1873(0x96)]=t,exports[_0x2b1873(0x88)]=s;function _0x396b(){const _0x2247bb=['Middle','PRINT_CONTAINER_CLASS','innerHTML','Module','printing-canvas-container','1086450Fyswic','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Wide','11785qGJhoy','Landscape','2201592XEtfYO','PaperMarginMap','PrintScale','None','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Start','Portrait','3qqFaUv','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','Custom','defineProperty','FitHeight','Normal','printing-canvas',',\x20.','3310876otFKIO','FitPage','style','8657858ooLzwG','Origin','9774360wrvjAW','End','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','3162IbftJc','1366728CAeQnv','PrintPaperMargin','createElement','PRINT_CANVAS_CLASS','28PvFisp','10ZudDvK','offline-printing-css','className','PrintDirection','createPrintStyle','FitWidth'];_0x396b=function(){return _0x2247bb;};return _0x396b();}
1
+ const _0x4ec85b=_0x2af4;(function(_0x1a8a82,_0x10bd8d){const _0x3ca086=_0x2af4,_0x130210=_0x1a8a82();while(!![]){try{const _0x4f874b=-parseInt(_0x3ca086(0x212))/0x1+parseInt(_0x3ca086(0x1fa))/0x2+-parseInt(_0x3ca086(0x1f7))/0x3*(-parseInt(_0x3ca086(0x210))/0x4)+parseInt(_0x3ca086(0x206))/0x5+parseInt(_0x3ca086(0x1ef))/0x6+-parseInt(_0x3ca086(0x20c))/0x7*(parseInt(_0x3ca086(0x20d))/0x8)+-parseInt(_0x3ca086(0x202))/0x9;if(_0x4f874b===_0x10bd8d)break;else _0x130210['push'](_0x130210['shift']());}catch(_0x48e336){_0x130210['push'](_0x130210['shift']());}}}(_0x567b,0xc691e),Object['defineProperty'](exports,Symbol[_0x4ec85b(0x1f3)],{'value':_0x4ec85b(0x20f)}));let PrintDirection=function(_0x2a2854){const _0x29925e=_0x4ec85b;return _0x2a2854[_0x29925e(0x207)]=_0x29925e(0x207),_0x2a2854['Landscape']=_0x29925e(0x205),_0x2a2854;}({}),PrintScale=function(_0x182bf8){const _0x2f7cf3=_0x4ec85b;return _0x182bf8[_0x2f7cf3(0x203)]=_0x2f7cf3(0x203),_0x182bf8[_0x2f7cf3(0x20a)]=_0x2f7cf3(0x20a),_0x182bf8[_0x2f7cf3(0x1fe)]=_0x2f7cf3(0x1fe),_0x182bf8[_0x2f7cf3(0x216)]=_0x2f7cf3(0x216),_0x182bf8[_0x2f7cf3(0x1fd)]=_0x2f7cf3(0x1fd),_0x182bf8;}({}),PrintAlign=function(_0x2d0b57){const _0x6fa10b=_0x4ec85b;return _0x2d0b57['Start']=_0x6fa10b(0x209),_0x2d0b57['End']=_0x6fa10b(0x1fb),_0x2d0b57[_0x6fa10b(0x1f4)]=_0x6fa10b(0x1f4),_0x2d0b57;}({}),PrintPaperMargin=function(_0x461d5c){const _0x4d7214=_0x4ec85b;return _0x461d5c[_0x4d7214(0x1fc)]=_0x4d7214(0x1fc),_0x461d5c[_0x4d7214(0x20e)]=_0x4d7214(0x20e),_0x461d5c[_0x4d7214(0x20b)]='Wide',_0x461d5c[_0x4d7214(0x211)]=_0x4d7214(0x211),_0x461d5c[_0x4d7214(0x1fd)]=_0x4d7214(0x1fd),_0x461d5c;}({});const PaperMarginMap={[PrintPaperMargin[_0x4ec85b(0x1fc)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4ec85b(0x20e)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4ec85b(0x20b)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin[_0x4ec85b(0x211)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin[_0x4ec85b(0x1fd)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS='printing-canvas-container',PRINT_CANVAS_CLASS=_0x4ec85b(0x201);function createPrintStyle(_0x12648a,_0x9b8b0b,_0x3661bd){const _0xafbb7=_0x4ec85b,_0xa7f9bf=_0x3661bd===PrintDirection[_0xafbb7(0x207)]?_0x12648a:_0x9b8b0b,_0x3017d8=_0x3661bd===PrintDirection[_0xafbb7(0x207)]?_0x9b8b0b:_0x12648a,_0x1a2d58=_0xafbb7(0x215)+PRINT_CANVAS_CLASS+_0xafbb7(0x1f2)+_0xa7f9bf+'px\x20'+_0x3017d8+_0xafbb7(0x1f0)+PRINT_CONTAINER_CLASS+',\x20.'+PRINT_CONTAINER_CLASS+_0xafbb7(0x204)+PRINT_CANVAS_CLASS+_0xafbb7(0x213)+_0x3017d8+_0xafbb7(0x1f6)+_0xa7f9bf+_0xafbb7(0x1f9),_0x18596a=document[_0xafbb7(0x208)](_0xafbb7(0x1f5));return _0x18596a[_0xafbb7(0x1ee)]=_0x1a2d58,_0x18596a['className']=_0xafbb7(0x1f1),_0x18596a;}function _0x2af4(_0x373adf,_0x4192ed){_0x373adf=_0x373adf-0x1ee;const _0x567b7b=_0x567b();let _0x2af46f=_0x567b7b[_0x373adf];return _0x2af46f;}exports['PRINT_CANVAS_CLASS']=PRINT_CANVAS_CLASS,exports['PRINT_CONTAINER_CLASS']=PRINT_CONTAINER_CLASS,exports[_0x4ec85b(0x1f8)]=PaperMarginMap,exports[_0x4ec85b(0x214)]=PrintAlign,exports[_0x4ec85b(0x200)]=PrintDirection,exports[_0x4ec85b(0x1ff)]=PrintPaperMargin,exports['PrintScale']=PrintScale,exports['createPrintStyle']=createPrintStyle;function _0x567b(){const _0x51a08a=['582377gPOijt','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','PrintAlign','\x0a\x20\x20\x20\x20.','FitPage','innerHTML','6171306glvFaE','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','offline-printing-css','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','toStringTag','Middle','style','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','3akZTbW','PaperMarginMap','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','1669710iXUpAn','End','Normal','Custom','FitHeight','PrintPaperMargin','PrintDirection','printing-canvas','10181250QpqFbW','Origin','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Landscape','5507300SIQlAV','Portrait','createElement','Start','FitWidth','Wide','504nMVqSv','152936ftszWF','Narrow','Module','3754108cJQJxh','None'];_0x567b=function(){return _0x51a08a;};return _0x567b();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x13e8(_0x4743fc,_0x16db21){_0x4743fc=_0x4743fc-0xc6;const _0x4bcde2=_0x4bcd();let _0x13e814=_0x4bcde2[_0x4743fc];return _0x13e814;}const _0x363f15=_0x13e8;(function(_0x5f16ec,_0x11d616){const _0x2a3b25=_0x13e8,_0x573f50=_0x5f16ec();while(!![]){try{const _0x3f9c56=parseInt(_0x2a3b25(0xd0))/0x1*(-parseInt(_0x2a3b25(0xe0))/0x2)+parseInt(_0x2a3b25(0xe1))/0x3*(-parseInt(_0x2a3b25(0xdb))/0x4)+parseInt(_0x2a3b25(0xdf))/0x5*(-parseInt(_0x2a3b25(0xe6))/0x6)+parseInt(_0x2a3b25(0xd5))/0x7+parseInt(_0x2a3b25(0xe8))/0x8+-parseInt(_0x2a3b25(0xda))/0x9*(parseInt(_0x2a3b25(0xc6))/0xa)+-parseInt(_0x2a3b25(0xe4))/0xb*(-parseInt(_0x2a3b25(0xd8))/0xc);if(_0x3f9c56===_0x11d616)break;else _0x573f50['push'](_0x573f50['shift']());}catch(_0x6f9f8b){_0x573f50['push'](_0x573f50['shift']());}}}(_0x4bcd,0xc80a8));let e=function(_0x5b9e03){const _0x256331=_0x13e8;return _0x5b9e03[_0x256331(0xcb)]=_0x256331(0xcb),_0x5b9e03[_0x256331(0xe5)]=_0x256331(0xe5),_0x5b9e03;}({}),t=function(_0x498374){const _0x5aa8ed=_0x13e8;return _0x498374['Origin']=_0x5aa8ed(0xcc),_0x498374['FitWidth']=_0x5aa8ed(0xdc),_0x498374['FitHeight']=_0x5aa8ed(0xce),_0x498374[_0x5aa8ed(0xc7)]=_0x5aa8ed(0xc7),_0x498374[_0x5aa8ed(0xd6)]='Custom',_0x498374;}({}),n=function(_0x225846){const _0x16943d=_0x13e8;return _0x225846['Start']='Start',_0x225846[_0x16943d(0xd7)]=_0x16943d(0xd7),_0x225846['Middle']=_0x16943d(0xe9),_0x225846;}({}),r=function(_0x2c0a43){const _0x58f61e=_0x13e8;return _0x2c0a43[_0x58f61e(0xe7)]=_0x58f61e(0xe7),_0x2c0a43[_0x58f61e(0xd2)]=_0x58f61e(0xd2),_0x2c0a43[_0x58f61e(0xcf)]=_0x58f61e(0xcf),_0x2c0a43[_0x58f61e(0xc9)]=_0x58f61e(0xc9),_0x2c0a43[_0x58f61e(0xd6)]=_0x58f61e(0xd6),_0x2c0a43;}({});const i={[r[_0x363f15(0xe7)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[r['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[r[_0x363f15(0xcf)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[r[_0x363f15(0xc9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[r['Custom']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},a=_0x363f15(0xca),o='printing-canvas';function s(_0xcbd78,_0x26e545,_0x3dbd7b){const _0x55e8b7=_0x363f15;let _0x5375f7=_0x3dbd7b===e[_0x55e8b7(0xcb)]?_0xcbd78:_0x26e545,_0x37b550=_0x3dbd7b===e[_0x55e8b7(0xcb)]?_0x26e545:_0xcbd78,_0x2a6946='\x0a\x20\x20\x20\x20.'+o+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x5375f7+_0x55e8b7(0xcd)+_0x37b550+_0x55e8b7(0xe2)+a+',\x20.'+a+_0x55e8b7(0xd1)+o+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x37b550+_0x55e8b7(0xe3)+_0x5375f7+_0x55e8b7(0xc8),_0x560b96=document[_0x55e8b7(0xdd)](_0x55e8b7(0xd3));return _0x560b96[_0x55e8b7(0xde)]=_0x2a6946,_0x560b96[_0x55e8b7(0xd9)]=_0x55e8b7(0xd4),_0x560b96;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};function _0x4bcd(){const _0x40dd03=['px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','2087151GyFgxV','Landscape','478320VAxHqs','Normal','9565056SgZwkE','Middle','481160TynfFp','FitPage','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','None','printing-canvas-container','Portrait','Origin','px\x20','FitHeight','Wide','2502AyYDsa','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Narrow','style','offline-printing-css','3708313roADnd','Custom','End','144XWTbQn','className','153DkCYwp','100tPftrP','FitWidth','createElement','innerHTML','25aSBQfi','368ieqhsd','180717KusDos','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.'];_0x4bcd=function(){return _0x40dd03;};return _0x4bcd();}
1
+ function _0x1c8c(_0x143745,_0x1d5c0f){_0x143745=_0x143745-0x1a2;const _0x44fe66=_0x44fe();let _0x1c8cab=_0x44fe66[_0x143745];return _0x1c8cab;}const _0x8a449f=_0x1c8c;function _0x44fe(){const _0x347d69=['printing-canvas-container','innerHTML','8rNcObE','createElement','3150978eltuQv','Narrow','387LlFMlu','Start','Landscape','Middle','FitHeight','49317015xaZaoS','Wide','Custom','272858UgQIrq','3766257upYklz','FitWidth','64LXouob','491885FxAqLJ','offline-printing-css','px\x20','Normal','Portrait',',\x20.','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','Origin','\x0a\x20\x20\x20\x20.','1BRDgxv','36410hDLQYX','None','FitPage','printing-canvas','End','9502808KlfPVo','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','style'];_0x44fe=function(){return _0x347d69;};return _0x44fe();}(function(_0x247fa2,_0x45c642){const _0x203fc1=_0x1c8c,_0xb41d30=_0x247fa2();while(!![]){try{const _0x482af2=-parseInt(_0x203fc1(0x1b7))/0x1*(parseInt(_0x203fc1(0x1aa))/0x2)+-parseInt(_0x203fc1(0x1ab))/0x3+-parseInt(_0x203fc1(0x1ad))/0x4*(parseInt(_0x203fc1(0x1ae))/0x5)+parseInt(_0x203fc1(0x1c4))/0x6+-parseInt(_0x203fc1(0x1bd))/0x7*(parseInt(_0x203fc1(0x1c2))/0x8)+parseInt(_0x203fc1(0x1a2))/0x9*(parseInt(_0x203fc1(0x1b8))/0xa)+parseInt(_0x203fc1(0x1a7))/0xb;if(_0x482af2===_0x45c642)break;else _0xb41d30['push'](_0xb41d30['shift']());}catch(_0x7474ea){_0xb41d30['push'](_0xb41d30['shift']());}}}(_0x44fe,0xcd7c3));let PrintDirection=function(_0x313f92){const _0xa4fe91=_0x1c8c;return _0x313f92['Portrait']=_0xa4fe91(0x1b2),_0x313f92['Landscape']=_0xa4fe91(0x1a4),_0x313f92;}({}),PrintScale=function(_0x14951f){const _0x5d3b5f=_0x1c8c;return _0x14951f['Origin']=_0x5d3b5f(0x1b5),_0x14951f[_0x5d3b5f(0x1ac)]=_0x5d3b5f(0x1ac),_0x14951f[_0x5d3b5f(0x1a6)]=_0x5d3b5f(0x1a6),_0x14951f[_0x5d3b5f(0x1ba)]=_0x5d3b5f(0x1ba),_0x14951f[_0x5d3b5f(0x1a9)]=_0x5d3b5f(0x1a9),_0x14951f;}({}),PrintAlign=function(_0x142252){const _0x75e8c9=_0x1c8c;return _0x142252[_0x75e8c9(0x1a3)]='Start',_0x142252[_0x75e8c9(0x1bc)]='End',_0x142252[_0x75e8c9(0x1a5)]=_0x75e8c9(0x1a5),_0x142252;}({}),PrintPaperMargin=function(_0x2ba75e){const _0x4112d3=_0x1c8c;return _0x2ba75e[_0x4112d3(0x1b1)]=_0x4112d3(0x1b1),_0x2ba75e['Narrow']=_0x4112d3(0x1c5),_0x2ba75e[_0x4112d3(0x1a8)]=_0x4112d3(0x1a8),_0x2ba75e[_0x4112d3(0x1b9)]=_0x4112d3(0x1b9),_0x2ba75e[_0x4112d3(0x1a9)]=_0x4112d3(0x1a9),_0x2ba75e;}({});const PaperMarginMap={[PrintPaperMargin[_0x8a449f(0x1b1)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x8a449f(0x1a8)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin[_0x8a449f(0x1a9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS=_0x8a449f(0x1c0),PRINT_CANVAS_CLASS=_0x8a449f(0x1bb);function createPrintStyle(_0x5c8ca5,_0x21605f,_0x23e8ca){const _0x2242e7=_0x8a449f,_0x355a70=_0x23e8ca===PrintDirection[_0x2242e7(0x1b2)]?_0x5c8ca5:_0x21605f,_0x410f5e=_0x23e8ca===PrintDirection[_0x2242e7(0x1b2)]?_0x21605f:_0x5c8ca5,_0x5315b9=_0x2242e7(0x1b6)+PRINT_CANVAS_CLASS+_0x2242e7(0x1b4)+_0x355a70+_0x2242e7(0x1b0)+_0x410f5e+_0x2242e7(0x1be)+PRINT_CONTAINER_CLASS+_0x2242e7(0x1b3)+PRINT_CONTAINER_CLASS+'\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.'+PRINT_CANVAS_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x410f5e+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x355a70+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}',_0x376a57=document[_0x2242e7(0x1c3)](_0x2242e7(0x1bf));return _0x376a57[_0x2242e7(0x1c1)]=_0x5315b9,_0x376a57['className']=_0x2242e7(0x1af),_0x376a57;}export{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PaperMarginMap,PrintAlign,PrintDirection,PrintPaperMargin,PrintScale,createPrintStyle};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- function _0x13e8(_0x4743fc,_0x16db21){_0x4743fc=_0x4743fc-0xc6;const _0x4bcde2=_0x4bcd();let _0x13e814=_0x4bcde2[_0x4743fc];return _0x13e814;}const _0x363f15=_0x13e8;(function(_0x5f16ec,_0x11d616){const _0x2a3b25=_0x13e8,_0x573f50=_0x5f16ec();while(!![]){try{const _0x3f9c56=parseInt(_0x2a3b25(0xd0))/0x1*(-parseInt(_0x2a3b25(0xe0))/0x2)+parseInt(_0x2a3b25(0xe1))/0x3*(-parseInt(_0x2a3b25(0xdb))/0x4)+parseInt(_0x2a3b25(0xdf))/0x5*(-parseInt(_0x2a3b25(0xe6))/0x6)+parseInt(_0x2a3b25(0xd5))/0x7+parseInt(_0x2a3b25(0xe8))/0x8+-parseInt(_0x2a3b25(0xda))/0x9*(parseInt(_0x2a3b25(0xc6))/0xa)+-parseInt(_0x2a3b25(0xe4))/0xb*(-parseInt(_0x2a3b25(0xd8))/0xc);if(_0x3f9c56===_0x11d616)break;else _0x573f50['push'](_0x573f50['shift']());}catch(_0x6f9f8b){_0x573f50['push'](_0x573f50['shift']());}}}(_0x4bcd,0xc80a8));let e=function(_0x5b9e03){const _0x256331=_0x13e8;return _0x5b9e03[_0x256331(0xcb)]=_0x256331(0xcb),_0x5b9e03[_0x256331(0xe5)]=_0x256331(0xe5),_0x5b9e03;}({}),t=function(_0x498374){const _0x5aa8ed=_0x13e8;return _0x498374['Origin']=_0x5aa8ed(0xcc),_0x498374['FitWidth']=_0x5aa8ed(0xdc),_0x498374['FitHeight']=_0x5aa8ed(0xce),_0x498374[_0x5aa8ed(0xc7)]=_0x5aa8ed(0xc7),_0x498374[_0x5aa8ed(0xd6)]='Custom',_0x498374;}({}),n=function(_0x225846){const _0x16943d=_0x13e8;return _0x225846['Start']='Start',_0x225846[_0x16943d(0xd7)]=_0x16943d(0xd7),_0x225846['Middle']=_0x16943d(0xe9),_0x225846;}({}),r=function(_0x2c0a43){const _0x58f61e=_0x13e8;return _0x2c0a43[_0x58f61e(0xe7)]=_0x58f61e(0xe7),_0x2c0a43[_0x58f61e(0xd2)]=_0x58f61e(0xd2),_0x2c0a43[_0x58f61e(0xcf)]=_0x58f61e(0xcf),_0x2c0a43[_0x58f61e(0xc9)]=_0x58f61e(0xc9),_0x2c0a43[_0x58f61e(0xd6)]=_0x58f61e(0xd6),_0x2c0a43;}({});const i={[r[_0x363f15(0xe7)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[r['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[r[_0x363f15(0xcf)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[r[_0x363f15(0xc9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[r['Custom']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},a=_0x363f15(0xca),o='printing-canvas';function s(_0xcbd78,_0x26e545,_0x3dbd7b){const _0x55e8b7=_0x363f15;let _0x5375f7=_0x3dbd7b===e[_0x55e8b7(0xcb)]?_0xcbd78:_0x26e545,_0x37b550=_0x3dbd7b===e[_0x55e8b7(0xcb)]?_0x26e545:_0xcbd78,_0x2a6946='\x0a\x20\x20\x20\x20.'+o+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x5375f7+_0x55e8b7(0xcd)+_0x37b550+_0x55e8b7(0xe2)+a+',\x20.'+a+_0x55e8b7(0xd1)+o+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x37b550+_0x55e8b7(0xe3)+_0x5375f7+_0x55e8b7(0xc8),_0x560b96=document[_0x55e8b7(0xdd)](_0x55e8b7(0xd3));return _0x560b96[_0x55e8b7(0xde)]=_0x2a6946,_0x560b96[_0x55e8b7(0xd9)]=_0x55e8b7(0xd4),_0x560b96;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};function _0x4bcd(){const _0x40dd03=['px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','2087151GyFgxV','Landscape','478320VAxHqs','Normal','9565056SgZwkE','Middle','481160TynfFp','FitPage','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','None','printing-canvas-container','Portrait','Origin','px\x20','FitHeight','Wide','2502AyYDsa','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Narrow','style','offline-printing-css','3708313roADnd','Custom','End','144XWTbQn','className','153DkCYwp','100tPftrP','FitWidth','createElement','innerHTML','25aSBQfi','368ieqhsd','180717KusDos','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.'];_0x4bcd=function(){return _0x40dd03;};return _0x4bcd();}
1
+ function _0x1c8c(_0x143745,_0x1d5c0f){_0x143745=_0x143745-0x1a2;const _0x44fe66=_0x44fe();let _0x1c8cab=_0x44fe66[_0x143745];return _0x1c8cab;}const _0x8a449f=_0x1c8c;function _0x44fe(){const _0x347d69=['printing-canvas-container','innerHTML','8rNcObE','createElement','3150978eltuQv','Narrow','387LlFMlu','Start','Landscape','Middle','FitHeight','49317015xaZaoS','Wide','Custom','272858UgQIrq','3766257upYklz','FitWidth','64LXouob','491885FxAqLJ','offline-printing-css','px\x20','Normal','Portrait',',\x20.','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','Origin','\x0a\x20\x20\x20\x20.','1BRDgxv','36410hDLQYX','None','FitPage','printing-canvas','End','9502808KlfPVo','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','style'];_0x44fe=function(){return _0x347d69;};return _0x44fe();}(function(_0x247fa2,_0x45c642){const _0x203fc1=_0x1c8c,_0xb41d30=_0x247fa2();while(!![]){try{const _0x482af2=-parseInt(_0x203fc1(0x1b7))/0x1*(parseInt(_0x203fc1(0x1aa))/0x2)+-parseInt(_0x203fc1(0x1ab))/0x3+-parseInt(_0x203fc1(0x1ad))/0x4*(parseInt(_0x203fc1(0x1ae))/0x5)+parseInt(_0x203fc1(0x1c4))/0x6+-parseInt(_0x203fc1(0x1bd))/0x7*(parseInt(_0x203fc1(0x1c2))/0x8)+parseInt(_0x203fc1(0x1a2))/0x9*(parseInt(_0x203fc1(0x1b8))/0xa)+parseInt(_0x203fc1(0x1a7))/0xb;if(_0x482af2===_0x45c642)break;else _0xb41d30['push'](_0xb41d30['shift']());}catch(_0x7474ea){_0xb41d30['push'](_0xb41d30['shift']());}}}(_0x44fe,0xcd7c3));let PrintDirection=function(_0x313f92){const _0xa4fe91=_0x1c8c;return _0x313f92['Portrait']=_0xa4fe91(0x1b2),_0x313f92['Landscape']=_0xa4fe91(0x1a4),_0x313f92;}({}),PrintScale=function(_0x14951f){const _0x5d3b5f=_0x1c8c;return _0x14951f['Origin']=_0x5d3b5f(0x1b5),_0x14951f[_0x5d3b5f(0x1ac)]=_0x5d3b5f(0x1ac),_0x14951f[_0x5d3b5f(0x1a6)]=_0x5d3b5f(0x1a6),_0x14951f[_0x5d3b5f(0x1ba)]=_0x5d3b5f(0x1ba),_0x14951f[_0x5d3b5f(0x1a9)]=_0x5d3b5f(0x1a9),_0x14951f;}({}),PrintAlign=function(_0x142252){const _0x75e8c9=_0x1c8c;return _0x142252[_0x75e8c9(0x1a3)]='Start',_0x142252[_0x75e8c9(0x1bc)]='End',_0x142252[_0x75e8c9(0x1a5)]=_0x75e8c9(0x1a5),_0x142252;}({}),PrintPaperMargin=function(_0x2ba75e){const _0x4112d3=_0x1c8c;return _0x2ba75e[_0x4112d3(0x1b1)]=_0x4112d3(0x1b1),_0x2ba75e['Narrow']=_0x4112d3(0x1c5),_0x2ba75e[_0x4112d3(0x1a8)]=_0x4112d3(0x1a8),_0x2ba75e[_0x4112d3(0x1b9)]=_0x4112d3(0x1b9),_0x2ba75e[_0x4112d3(0x1a9)]=_0x4112d3(0x1a9),_0x2ba75e;}({});const PaperMarginMap={[PrintPaperMargin[_0x8a449f(0x1b1)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x8a449f(0x1a8)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin[_0x8a449f(0x1a9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS=_0x8a449f(0x1c0),PRINT_CANVAS_CLASS=_0x8a449f(0x1bb);function createPrintStyle(_0x5c8ca5,_0x21605f,_0x23e8ca){const _0x2242e7=_0x8a449f,_0x355a70=_0x23e8ca===PrintDirection[_0x2242e7(0x1b2)]?_0x5c8ca5:_0x21605f,_0x410f5e=_0x23e8ca===PrintDirection[_0x2242e7(0x1b2)]?_0x21605f:_0x5c8ca5,_0x5315b9=_0x2242e7(0x1b6)+PRINT_CANVAS_CLASS+_0x2242e7(0x1b4)+_0x355a70+_0x2242e7(0x1b0)+_0x410f5e+_0x2242e7(0x1be)+PRINT_CONTAINER_CLASS+_0x2242e7(0x1b3)+PRINT_CONTAINER_CLASS+'\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.'+PRINT_CANVAS_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x410f5e+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x355a70+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}',_0x376a57=document[_0x2242e7(0x1c3)](_0x2242e7(0x1bf));return _0x376a57[_0x2242e7(0x1c1)]=_0x5315b9,_0x376a57['className']=_0x2242e7(0x1af),_0x376a57;}export{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PaperMarginMap,PrintAlign,PrintDirection,PrintPaperMargin,PrintScale,createPrintStyle};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5d5a(_0x36e5b8,_0xc55d82){_0x36e5b8=_0x36e5b8-0x142;const _0x39c1a8=_0x39c1();let _0x5d5ac4=_0x39c1a8[_0x36e5b8];return _0x5d5ac4;}(function(_0x397f4d,_0x820dad){const _0x283ad8=_0x5d5a,_0x46142b=_0x397f4d();while(!![]){try{const _0x58e77c=parseInt(_0x283ad8(0x151))/0x1*(parseInt(_0x283ad8(0x150))/0x2)+-parseInt(_0x283ad8(0x146))/0x3+parseInt(_0x283ad8(0x148))/0x4+-parseInt(_0x283ad8(0x153))/0x5+-parseInt(_0x283ad8(0x14c))/0x6+-parseInt(_0x283ad8(0x162))/0x7*(parseInt(_0x283ad8(0x160))/0x8)+-parseInt(_0x283ad8(0x161))/0x9*(-parseInt(_0x283ad8(0x142))/0xa);if(_0x58e77c===_0x820dad)break;else _0x46142b['push'](_0x46142b['shift']());}catch(_0x67f4cb){_0x46142b['push'](_0x46142b['shift']());}}}(_0x39c1,0x7ade8),function(_0x3cabf4,_0x20b7b5){const _0x3cfec4=_0x5d5a;typeof exports=='object'&&typeof module<'u'?_0x20b7b5(exports):typeof define=='function'&&define[_0x3cfec4(0x14e)]?define([_0x3cfec4(0x15d)],_0x20b7b5):(_0x3cabf4=typeof globalThis<'u'?globalThis:_0x3cabf4||self,_0x20b7b5(_0x3cabf4[_0x3cfec4(0x170)]={}));}(this,function(_0x24212e){const _0x2e422b=_0x5d5a;Object[_0x2e422b(0x169)](_0x24212e,Symbol[_0x2e422b(0x16c)],{'value':_0x2e422b(0x14f)});let _0x385768=function(_0x1d290a){const _0x1ee1c8=_0x2e422b;return _0x1d290a['Portrait']=_0x1ee1c8(0x16e),_0x1d290a[_0x1ee1c8(0x144)]=_0x1ee1c8(0x144),_0x1d290a;}({}),_0x5a64df=function(_0xff03d4){const _0x42d211=_0x2e422b;return _0xff03d4['Origin']='Origin',_0xff03d4[_0x42d211(0x154)]=_0x42d211(0x154),_0xff03d4[_0x42d211(0x15c)]=_0x42d211(0x15c),_0xff03d4[_0x42d211(0x16d)]=_0x42d211(0x16d),_0xff03d4[_0x42d211(0x155)]=_0x42d211(0x155),_0xff03d4;}({}),_0x329429=function(_0x3d95fb){const _0x3d74d0=_0x2e422b;return _0x3d95fb['Start']=_0x3d74d0(0x14d),_0x3d95fb[_0x3d74d0(0x164)]=_0x3d74d0(0x164),_0x3d95fb['Middle']=_0x3d74d0(0x171),_0x3d95fb;}({}),_0x451234=function(_0x56c596){const _0x3310e0=_0x2e422b;return _0x56c596[_0x3310e0(0x152)]=_0x3310e0(0x152),_0x56c596[_0x3310e0(0x16b)]=_0x3310e0(0x16b),_0x56c596[_0x3310e0(0x165)]=_0x3310e0(0x165),_0x56c596[_0x3310e0(0x149)]='None',_0x56c596[_0x3310e0(0x155)]=_0x3310e0(0x155),_0x56c596;}({}),_0x55dbd9={[_0x451234[_0x2e422b(0x152)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x451234['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x451234[_0x2e422b(0x165)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x451234['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[_0x451234[_0x2e422b(0x155)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x5d2b21=_0x2e422b(0x15b),_0x5301e4='printing-canvas';function _0x203ee9(_0x2a38ee,_0x5a5191,_0x912e88){const _0x2f49fa=_0x2e422b;let _0x14a8e6=_0x912e88===_0x385768['Portrait']?_0x2a38ee:_0x5a5191,_0x310665=_0x912e88===_0x385768[_0x2f49fa(0x16e)]?_0x5a5191:_0x2a38ee,_0x3e2cbc=_0x2f49fa(0x15a)+_0x5301e4+_0x2f49fa(0x15e)+_0x14a8e6+_0x2f49fa(0x15f)+_0x310665+_0x2f49fa(0x163)+_0x5d2b21+_0x2f49fa(0x143)+_0x5d2b21+_0x2f49fa(0x14a)+_0x5301e4+_0x2f49fa(0x167)+_0x310665+_0x2f49fa(0x166)+_0x14a8e6+_0x2f49fa(0x145),_0x4587dd=document[_0x2f49fa(0x168)](_0x2f49fa(0x158));return _0x4587dd[_0x2f49fa(0x147)]=_0x3e2cbc,_0x4587dd[_0x2f49fa(0x159)]=_0x2f49fa(0x156),_0x4587dd;}_0x24212e['PRINT_CANVAS_CLASS']=_0x5301e4,_0x24212e['PRINT_CONTAINER_CLASS']=_0x5d2b21,_0x24212e[_0x2e422b(0x16f)]=_0x55dbd9,_0x24212e[_0x2e422b(0x16a)]=_0x329429,_0x24212e['PrintDirection']=_0x385768,_0x24212e['PrintPaperMargin']=_0x451234,_0x24212e[_0x2e422b(0x157)]=_0x5a64df,_0x24212e[_0x2e422b(0x14b)]=_0x203ee9;}));function _0x39c1(){const _0x42e778=['14790uBjIud',',\x20.','Landscape','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','1501545bWNloD','innerHTML','3711540WEmIZQ','None','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','createPrintStyle','5926386GVXXgz','Start','amd','Module','28PzyCbU','24946nvnLrz','Normal','1770265DIoGdo','FitWidth','Custom','offline-printing-css','PrintScale','style','className','\x0a\x20\x20\x20\x20.','printing-canvas-container','FitHeight','exports','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','px\x20','991472oRVzqn','8010qyHbTM','14lyQhdj','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','End','Wide','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','createElement','defineProperty','PrintAlign','Narrow','toStringTag','FitPage','Portrait','PaperMarginMap','UniverProPrint','Middle'];_0x39c1=function(){return _0x42e778;};return _0x39c1();}
1
+ function _0x57b1(_0x258854,_0x5bad84){_0x258854=_0x258854-0x6c;const _0x301725=_0x3017();let _0x57b129=_0x301725[_0x258854];return _0x57b129;}(function(_0x368fad,_0x1a1b74){const _0x496705=_0x57b1,_0x3e16bb=_0x368fad();while(!![]){try{const _0x2a85d7=parseInt(_0x496705(0x82))/0x1+parseInt(_0x496705(0x97))/0x2*(parseInt(_0x496705(0x7c))/0x3)+-parseInt(_0x496705(0x6d))/0x4*(-parseInt(_0x496705(0x81))/0x5)+-parseInt(_0x496705(0x8e))/0x6+-parseInt(_0x496705(0x86))/0x7*(-parseInt(_0x496705(0x96))/0x8)+-parseInt(_0x496705(0x85))/0x9+-parseInt(_0x496705(0x8b))/0xa;if(_0x2a85d7===_0x1a1b74)break;else _0x3e16bb['push'](_0x3e16bb['shift']());}catch(_0x1540d8){_0x3e16bb['push'](_0x3e16bb['shift']());}}}(_0x3017,0xe995e),function(_0x3f8a33,_0x7d0c31){const _0x2772c1=_0x57b1;typeof exports=='object'&&typeof module<'u'?_0x7d0c31(exports):typeof define==_0x2772c1(0x83)&&define[_0x2772c1(0x73)]?define([_0x2772c1(0x89)],_0x7d0c31):(_0x3f8a33=typeof globalThis<'u'?globalThis:_0x3f8a33||self,_0x7d0c31(_0x3f8a33['UniverProPrint']={}));}(this,function(_0x20ca09){const _0x484e91=_0x57b1;Object[_0x484e91(0x72)](_0x20ca09,Symbol[_0x484e91(0x88)],{'value':'Module'});let _0x229f89=function(_0x3a9776){const _0x57a833=_0x484e91;return _0x3a9776[_0x57a833(0x92)]=_0x57a833(0x92),_0x3a9776[_0x57a833(0x7d)]=_0x57a833(0x7d),_0x3a9776;}({}),_0x3ae449=function(_0x48281b){const _0x24731e=_0x484e91;return _0x48281b[_0x24731e(0x6c)]=_0x24731e(0x6c),_0x48281b[_0x24731e(0x91)]=_0x24731e(0x91),_0x48281b['FitHeight']='FitHeight',_0x48281b[_0x24731e(0x70)]=_0x24731e(0x70),_0x48281b[_0x24731e(0x6e)]=_0x24731e(0x6e),_0x48281b;}({}),_0x1ce7eb=function(_0x5e08a1){const _0x37d02d=_0x484e91;return _0x5e08a1[_0x37d02d(0x8c)]=_0x37d02d(0x8c),_0x5e08a1[_0x37d02d(0x74)]=_0x37d02d(0x74),_0x5e08a1['Middle']=_0x37d02d(0x87),_0x5e08a1;}({}),_0x21bffd=function(_0x543b77){const _0x559ef0=_0x484e91;return _0x543b77['Normal']=_0x559ef0(0x76),_0x543b77[_0x559ef0(0x94)]='Narrow',_0x543b77[_0x559ef0(0x7f)]='Wide',_0x543b77[_0x559ef0(0x93)]=_0x559ef0(0x93),_0x543b77[_0x559ef0(0x6e)]=_0x559ef0(0x6e),_0x543b77;}({}),_0x428349={[_0x21bffd['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x21bffd[_0x484e91(0x94)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x21bffd[_0x484e91(0x7f)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x21bffd[_0x484e91(0x93)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[_0x21bffd[_0x484e91(0x6e)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x2c4979=_0x484e91(0x84),_0x20a648=_0x484e91(0x95);function _0xbbf32f(_0x21c051,_0x2773a2,_0x16e487){const _0x545777=_0x484e91;let _0x39002b=_0x16e487===_0x229f89[_0x545777(0x92)]?_0x21c051:_0x2773a2,_0x5a82c0=_0x16e487===_0x229f89[_0x545777(0x92)]?_0x2773a2:_0x21c051,_0x1da204=_0x545777(0x80)+_0x20a648+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x39002b+_0x545777(0x7b)+_0x5a82c0+_0x545777(0x8f)+_0x2c4979+_0x545777(0x9a)+_0x2c4979+_0x545777(0x99)+_0x20a648+_0x545777(0x75)+_0x5a82c0+_0x545777(0x98)+_0x39002b+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}',_0x37cbe2=document[_0x545777(0x90)](_0x545777(0x7e));return _0x37cbe2['innerHTML']=_0x1da204,_0x37cbe2[_0x545777(0x7a)]=_0x545777(0x8a),_0x37cbe2;}_0x20ca09[_0x484e91(0x71)]=_0x20a648,_0x20ca09[_0x484e91(0x79)]=_0x2c4979,_0x20ca09[_0x484e91(0x8d)]=_0x428349,_0x20ca09[_0x484e91(0x6f)]=_0x1ce7eb,_0x20ca09[_0x484e91(0x78)]=_0x229f89,_0x20ca09[_0x484e91(0x9b)]=_0x21bffd,_0x20ca09[_0x484e91(0x77)]=_0x3ae449,_0x20ca09['createPrintStyle']=_0xbbf32f;}));function _0x3017(){const _0x31374a=['PrintAlign','FitPage','PRINT_CANVAS_CLASS','defineProperty','amd','End','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Normal','PrintScale','PrintDirection','PRINT_CONTAINER_CLASS','className','px\x20','3dvkrLS','Landscape','style','Wide','\x0a\x20\x20\x20\x20.','5827790payTQb','1329735nJgUKq','function','printing-canvas-container','6070896PRBATQ','10354897oTxvJY','Middle','toStringTag','exports','offline-printing-css','19854650bopdhX','Start','PaperMarginMap','10124232GXwtYI','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','createElement','FitWidth','Portrait','None','Narrow','printing-canvas','8NjyBgF','2659166ytSRbp','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.',',\x20.','PrintPaperMargin','Origin','4XqNDgD','Custom'];_0x3017=function(){return _0x31374a;};return _0x3017();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/print",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "private": false,
5
5
  "description": "Print module for UniverJS",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -42,9 +42,9 @@
42
42
  "lib"
43
43
  ],
44
44
  "devDependencies": {
45
- "typescript": "^6.0.2",
46
- "vitest": "^4.1.1",
47
- "@univerjs-infra/shared": "0.20.1"
45
+ "typescript": "^6.0.3",
46
+ "vitest": "^4.1.4",
47
+ "@univerjs-infra/shared": "0.21.0"
48
48
  },
49
49
  "scripts": {
50
50
  "test": "vitest run",