@univerjs-pro/print 0.20.1 → 0.21.0-insiders.20260422-d7fcb4d

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 _0x21cf85=_0x2420;(function(_0x3f38d2,_0x19d5af){const _0x5cff2c=_0x2420,_0x590284=_0x3f38d2();while(!![]){try{const _0x2bbd5b=parseInt(_0x5cff2c(0x1a7))/0x1+-parseInt(_0x5cff2c(0x19e))/0x2*(parseInt(_0x5cff2c(0x1ab))/0x3)+-parseInt(_0x5cff2c(0x19b))/0x4*(-parseInt(_0x5cff2c(0x1b8))/0x5)+parseInt(_0x5cff2c(0x1b3))/0x6*(-parseInt(_0x5cff2c(0x198))/0x7)+-parseInt(_0x5cff2c(0x1b4))/0x8*(-parseInt(_0x5cff2c(0x1b6))/0x9)+-parseInt(_0x5cff2c(0x1ba))/0xa+parseInt(_0x5cff2c(0x1a4))/0xb;if(_0x2bbd5b===_0x19d5af)break;else _0x590284['push'](_0x590284['shift']());}catch(_0x5e7ef5){_0x590284['push'](_0x590284['shift']());}}}(_0x1109,0xa0448),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x21cf85(0x1ae)}));function _0x2420(_0x55021d,_0x2e36e0){_0x55021d=_0x55021d-0x193;const _0x11099e=_0x1109();let _0x242034=_0x11099e[_0x55021d];return _0x242034;}let PrintDirection=function(_0x409041){return _0x409041['Portrait']='Portrait',_0x409041['Landscape']='Landscape',_0x409041;}({}),PrintScale=function(_0x11cd78){const _0x453ff8=_0x21cf85;return _0x11cd78[_0x453ff8(0x196)]='Origin',_0x11cd78[_0x453ff8(0x1bb)]=_0x453ff8(0x1bb),_0x11cd78[_0x453ff8(0x1b7)]=_0x453ff8(0x1b7),_0x11cd78['FitPage']='FitPage',_0x11cd78[_0x453ff8(0x1a5)]=_0x453ff8(0x1a5),_0x11cd78;}({}),PrintAlign=function(_0x2339be){const _0x5cd4b8=_0x21cf85;return _0x2339be[_0x5cd4b8(0x1a6)]='Start',_0x2339be[_0x5cd4b8(0x1a2)]=_0x5cd4b8(0x1a2),_0x2339be[_0x5cd4b8(0x1b9)]=_0x5cd4b8(0x1b9),_0x2339be;}({}),PrintPaperMargin=function(_0x516dd5){const _0x5be145=_0x21cf85;return _0x516dd5[_0x5be145(0x1a8)]=_0x5be145(0x1a8),_0x516dd5['Narrow']=_0x5be145(0x1aa),_0x516dd5['Wide']='Wide',_0x516dd5[_0x5be145(0x1b5)]=_0x5be145(0x1b5),_0x516dd5[_0x5be145(0x1a5)]=_0x5be145(0x1a5),_0x516dd5;}({});const PaperMarginMap={[PrintPaperMargin[_0x21cf85(0x1a8)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x21cf85(0x1aa)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x21cf85(0x193)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin[_0x21cf85(0x1b5)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin['Custom']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS=_0x21cf85(0x194),PRINT_CANVAS_CLASS=_0x21cf85(0x19a);function createPrintStyle(_0x175b38,_0x21ea55,_0x2bac81){const _0x21112b=_0x21cf85,_0x4887cf=_0x2bac81===PrintDirection[_0x21112b(0x19c)]?_0x175b38:_0x21ea55,_0x2a3d89=_0x2bac81===PrintDirection[_0x21112b(0x19c)]?_0x21ea55:_0x175b38,_0x49696e='\x0a\x20\x20\x20\x20.'+PRINT_CANVAS_CLASS+_0x21112b(0x1a3)+_0x4887cf+_0x21112b(0x1ac)+_0x2a3d89+_0x21112b(0x1a0)+PRINT_CONTAINER_CLASS+_0x21112b(0x1b1)+PRINT_CONTAINER_CLASS+_0x21112b(0x19f)+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'+_0x2a3d89+_0x21112b(0x1b2)+_0x4887cf+'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}',_0x53023a=document['createElement'](_0x21112b(0x1b0));return _0x53023a[_0x21112b(0x1af)]=_0x49696e,_0x53023a[_0x21112b(0x1ad)]=_0x21112b(0x195),_0x53023a;}exports['PRINT_CANVAS_CLASS']=PRINT_CANVAS_CLASS,exports[_0x21cf85(0x197)]=PRINT_CONTAINER_CLASS,exports[_0x21cf85(0x199)]=PaperMarginMap,exports['PrintAlign']=PrintAlign,exports[_0x21cf85(0x1a9)]=PrintDirection,exports[_0x21cf85(0x19d)]=PrintPaperMargin,exports['PrintScale']=PrintScale,exports[_0x21cf85(0x1a1)]=createPrintStyle;function _0x1109(){const _0x3ea1a5=['Origin','PRINT_CONTAINER_CLASS','7075628MYjyDY','PaperMarginMap','printing-canvas','4MLOlug','Portrait','PrintPaperMargin','24202qSdLev','\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.','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.','createPrintStyle','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','15297084XaToKM','Custom','Start','607767OSTlwc','Normal','PrintDirection','Narrow','294HeRKIH','px\x20','className','Module','innerHTML','style',',\x20.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','6OxzaqO','744tWBgFI','None','114687ANSsQo','FitHeight','2583085aOVyaf','Middle','8469690kDPFyo','FitWidth','Wide','printing-canvas-container','offline-printing-css'];_0x1109=function(){return _0x3ea1a5;};return _0x1109();}
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
+ const _0x4d3844=_0x43df;(function(_0x52a237,_0x23ace2){const _0x141bcc=_0x43df,_0x351600=_0x52a237();while(!![]){try{const _0xd36ab6=-parseInt(_0x141bcc(0x1b6))/0x1+-parseInt(_0x141bcc(0x1c8))/0x2+parseInt(_0x141bcc(0x1c5))/0x3+parseInt(_0x141bcc(0x1ac))/0x4*(parseInt(_0x141bcc(0x1ba))/0x5)+parseInt(_0x141bcc(0x1bb))/0x6+parseInt(_0x141bcc(0x1c6))/0x7*(-parseInt(_0x141bcc(0x1ae))/0x8)+parseInt(_0x141bcc(0x1a9))/0x9*(-parseInt(_0x141bcc(0x1bf))/0xa);if(_0xd36ab6===_0x23ace2)break;else _0x351600['push'](_0x351600['shift']());}catch(_0x346679){_0x351600['push'](_0x351600['shift']());}}}(_0x5a02,0x27283));let PrintDirection=function(_0x5ad380){const _0xe6f9b5=_0x43df;return _0x5ad380['Portrait']=_0xe6f9b5(0x1af),_0x5ad380[_0xe6f9b5(0x1b2)]=_0xe6f9b5(0x1b2),_0x5ad380;}({}),PrintScale=function(_0x5a0b06){const _0x21670c=_0x43df;return _0x5a0b06['Origin']=_0x21670c(0x1b3),_0x5a0b06['FitWidth']='FitWidth',_0x5a0b06[_0x21670c(0x1c7)]='FitHeight',_0x5a0b06[_0x21670c(0x1b9)]=_0x21670c(0x1b9),_0x5a0b06[_0x21670c(0x1b0)]=_0x21670c(0x1b0),_0x5a0b06;}({}),PrintAlign=function(_0x543220){const _0x34534c=_0x43df;return _0x543220[_0x34534c(0x1b1)]=_0x34534c(0x1b1),_0x543220[_0x34534c(0x1c2)]=_0x34534c(0x1c2),_0x543220[_0x34534c(0x1c4)]=_0x34534c(0x1c4),_0x543220;}({}),PrintPaperMargin=function(_0x4e05ce){const _0x42ee3b=_0x43df;return _0x4e05ce[_0x42ee3b(0x1b5)]='Normal',_0x4e05ce[_0x42ee3b(0x1ad)]=_0x42ee3b(0x1ad),_0x4e05ce[_0x42ee3b(0x1b7)]=_0x42ee3b(0x1b7),_0x4e05ce[_0x42ee3b(0x1c0)]=_0x42ee3b(0x1c0),_0x4e05ce[_0x42ee3b(0x1b0)]=_0x42ee3b(0x1b0),_0x4e05ce;}({});function _0x43df(_0x4f6e24,_0x54f44d){_0x4f6e24=_0x4f6e24-0x1a8;const _0x5a0262=_0x5a02();let _0x43df03=_0x5a0262[_0x4f6e24];return _0x43df03;}const PaperMarginMap={[PrintPaperMargin[_0x4d3844(0x1b5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4d3844(0x1ad)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4d3844(0x1b7)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin[_0x4d3844(0x1b0)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS='printing-canvas-container',PRINT_CANVAS_CLASS=_0x4d3844(0x1ab);function createPrintStyle(_0x2db7a1,_0x2d5cdf,_0x9967c){const _0x581b6e=_0x4d3844,_0xd2074=_0x9967c===PrintDirection['Portrait']?_0x2db7a1:_0x2d5cdf,_0x40eae2=_0x9967c===PrintDirection[_0x581b6e(0x1af)]?_0x2d5cdf:_0x2db7a1,_0x47572c=_0x581b6e(0x1aa)+PRINT_CANVAS_CLASS+'\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'+_0xd2074+_0x581b6e(0x1b8)+_0x40eae2+'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.'+PRINT_CONTAINER_CLASS+_0x581b6e(0x1b4)+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+_0x581b6e(0x1be)+_0x40eae2+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0xd2074+_0x581b6e(0x1bd),_0x27a089=document[_0x581b6e(0x1a8)](_0x581b6e(0x1bc));return _0x27a089['innerHTML']=_0x47572c,_0x27a089[_0x581b6e(0x1c3)]=_0x581b6e(0x1c1),_0x27a089;}function _0x5a02(){const _0x1c235f=['style','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}','\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','802190aeUEAR','None','offline-printing-css','End','className','Middle','538512VWQOgd','259RxXfbB','FitHeight','106794nZFnUc','createElement','9ewTtAP','\x0a\x20\x20\x20\x20.','printing-canvas','4fWnYOk','Narrow','51928ZoPwEi','Portrait','Custom','Start','Landscape','Origin',',\x20.','Normal','83228ghSJwA','Wide','px\x20','FitPage','1315695OOmzMb','1048530hYZIDy'];_0x5a02=function(){return _0x1c235f;};return _0x5a02();}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
+ const _0x4d3844=_0x43df;(function(_0x52a237,_0x23ace2){const _0x141bcc=_0x43df,_0x351600=_0x52a237();while(!![]){try{const _0xd36ab6=-parseInt(_0x141bcc(0x1b6))/0x1+-parseInt(_0x141bcc(0x1c8))/0x2+parseInt(_0x141bcc(0x1c5))/0x3+parseInt(_0x141bcc(0x1ac))/0x4*(parseInt(_0x141bcc(0x1ba))/0x5)+parseInt(_0x141bcc(0x1bb))/0x6+parseInt(_0x141bcc(0x1c6))/0x7*(-parseInt(_0x141bcc(0x1ae))/0x8)+parseInt(_0x141bcc(0x1a9))/0x9*(-parseInt(_0x141bcc(0x1bf))/0xa);if(_0xd36ab6===_0x23ace2)break;else _0x351600['push'](_0x351600['shift']());}catch(_0x346679){_0x351600['push'](_0x351600['shift']());}}}(_0x5a02,0x27283));let PrintDirection=function(_0x5ad380){const _0xe6f9b5=_0x43df;return _0x5ad380['Portrait']=_0xe6f9b5(0x1af),_0x5ad380[_0xe6f9b5(0x1b2)]=_0xe6f9b5(0x1b2),_0x5ad380;}({}),PrintScale=function(_0x5a0b06){const _0x21670c=_0x43df;return _0x5a0b06['Origin']=_0x21670c(0x1b3),_0x5a0b06['FitWidth']='FitWidth',_0x5a0b06[_0x21670c(0x1c7)]='FitHeight',_0x5a0b06[_0x21670c(0x1b9)]=_0x21670c(0x1b9),_0x5a0b06[_0x21670c(0x1b0)]=_0x21670c(0x1b0),_0x5a0b06;}({}),PrintAlign=function(_0x543220){const _0x34534c=_0x43df;return _0x543220[_0x34534c(0x1b1)]=_0x34534c(0x1b1),_0x543220[_0x34534c(0x1c2)]=_0x34534c(0x1c2),_0x543220[_0x34534c(0x1c4)]=_0x34534c(0x1c4),_0x543220;}({}),PrintPaperMargin=function(_0x4e05ce){const _0x42ee3b=_0x43df;return _0x4e05ce[_0x42ee3b(0x1b5)]='Normal',_0x4e05ce[_0x42ee3b(0x1ad)]=_0x42ee3b(0x1ad),_0x4e05ce[_0x42ee3b(0x1b7)]=_0x42ee3b(0x1b7),_0x4e05ce[_0x42ee3b(0x1c0)]=_0x42ee3b(0x1c0),_0x4e05ce[_0x42ee3b(0x1b0)]=_0x42ee3b(0x1b0),_0x4e05ce;}({});function _0x43df(_0x4f6e24,_0x54f44d){_0x4f6e24=_0x4f6e24-0x1a8;const _0x5a0262=_0x5a02();let _0x43df03=_0x5a0262[_0x4f6e24];return _0x43df03;}const PaperMarginMap={[PrintPaperMargin[_0x4d3844(0x1b5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4d3844(0x1ad)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[PrintPaperMargin[_0x4d3844(0x1b7)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[PrintPaperMargin['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[PrintPaperMargin[_0x4d3844(0x1b0)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},PRINT_CONTAINER_CLASS='printing-canvas-container',PRINT_CANVAS_CLASS=_0x4d3844(0x1ab);function createPrintStyle(_0x2db7a1,_0x2d5cdf,_0x9967c){const _0x581b6e=_0x4d3844,_0xd2074=_0x9967c===PrintDirection['Portrait']?_0x2db7a1:_0x2d5cdf,_0x40eae2=_0x9967c===PrintDirection[_0x581b6e(0x1af)]?_0x2d5cdf:_0x2db7a1,_0x47572c=_0x581b6e(0x1aa)+PRINT_CANVAS_CLASS+'\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'+_0xd2074+_0x581b6e(0x1b8)+_0x40eae2+'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.'+PRINT_CONTAINER_CLASS+_0x581b6e(0x1b4)+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+_0x581b6e(0x1be)+_0x40eae2+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0xd2074+_0x581b6e(0x1bd),_0x27a089=document[_0x581b6e(0x1a8)](_0x581b6e(0x1bc));return _0x27a089['innerHTML']=_0x47572c,_0x27a089[_0x581b6e(0x1c3)]=_0x581b6e(0x1c1),_0x27a089;}function _0x5a02(){const _0x1c235f=['style','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}','\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','802190aeUEAR','None','offline-printing-css','End','className','Middle','538512VWQOgd','259RxXfbB','FitHeight','106794nZFnUc','createElement','9ewTtAP','\x0a\x20\x20\x20\x20.','printing-canvas','4fWnYOk','Narrow','51928ZoPwEi','Portrait','Custom','Start','Landscape','Origin',',\x20.','Normal','83228ghSJwA','Wide','px\x20','FitPage','1315695OOmzMb','1048530hYZIDy'];_0x5a02=function(){return _0x1c235f;};return _0x5a02();}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 _0x3a95(_0x51df8a,_0x412e76){_0x51df8a=_0x51df8a-0x19e;const _0x38e21d=_0x38e2();let _0x3a9574=_0x38e21d[_0x51df8a];return _0x3a9574;}function _0x38e2(){const _0x37f551=['Portrait','object','PaperMarginMap','FitWidth','Start','5237885MTHdpo','487287qQIyfa','Landscape','50940padfyS','701512zThJkH','3435058tHhOWl','End','Custom','PRINT_CONTAINER_CLASS','Normal',',\x20.','None','PrintScale','PrintAlign','\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','Wide','printing-canvas-container','7iDrnjm','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','4fuEwqB','PrintDirection','Origin','\x0a\x20\x20\x20\x20.','189zbMxBk','exports','FitPage','Narrow','function','40ZHhHFE','defineProperty','className','createElement','printing-canvas','toStringTag','6000954ASnVPR','249810WvfnXf','px\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','PRINT_CANVAS_CLASS','Module','offline-printing-css','FitHeight','amd'];_0x38e2=function(){return _0x37f551;};return _0x38e2();}(function(_0x577d64,_0x34cbf8){const _0x43a745=_0x3a95,_0x7b7d2c=_0x577d64();while(!![]){try{const _0x2d8923=parseInt(_0x43a745(0x1ba))/0x1*(parseInt(_0x43a745(0x1ca))/0x2)+-parseInt(_0x43a745(0x1be))/0x3*(-parseInt(_0x43a745(0x1aa))/0x4)+-parseInt(_0x43a745(0x1a7))/0x5+-parseInt(_0x43a745(0x1c9))/0x6+parseInt(_0x43a745(0x1b8))/0x7*(parseInt(_0x43a745(0x1ab))/0x8)+parseInt(_0x43a745(0x1a8))/0x9+parseInt(_0x43a745(0x1c3))/0xa*(parseInt(_0x43a745(0x1ac))/0xb);if(_0x2d8923===_0x34cbf8)break;else _0x7b7d2c['push'](_0x7b7d2c['shift']());}catch(_0x3575f8){_0x7b7d2c['push'](_0x7b7d2c['shift']());}}}(_0x38e2,0x9d80d),function(_0x57411a,_0xabe1ba){const _0x2c60de=_0x3a95;typeof exports==_0x2c60de(0x1a3)&&typeof module<'u'?_0xabe1ba(exports):typeof define==_0x2c60de(0x1c2)&&define[_0x2c60de(0x1a1)]?define([_0x2c60de(0x1bf)],_0xabe1ba):(_0x57411a=typeof globalThis<'u'?globalThis:_0x57411a||self,_0xabe1ba(_0x57411a['UniverProPrint']={}));}(this,function(_0x3176c8){const _0x53bdb1=_0x3a95;Object[_0x53bdb1(0x1c4)](_0x3176c8,Symbol[_0x53bdb1(0x1c8)],{'value':_0x53bdb1(0x19e)});let _0x44658a=function(_0x4fa887){const _0x37f6d7=_0x53bdb1;return _0x4fa887[_0x37f6d7(0x1a2)]='Portrait',_0x4fa887[_0x37f6d7(0x1a9)]=_0x37f6d7(0x1a9),_0x4fa887;}({}),_0x9998a6=function(_0x2613ef){const _0x3baad6=_0x53bdb1;return _0x2613ef[_0x3baad6(0x1bc)]=_0x3baad6(0x1bc),_0x2613ef[_0x3baad6(0x1a5)]=_0x3baad6(0x1a5),_0x2613ef[_0x3baad6(0x1a0)]=_0x3baad6(0x1a0),_0x2613ef[_0x3baad6(0x1c0)]=_0x3baad6(0x1c0),_0x2613ef[_0x3baad6(0x1ae)]=_0x3baad6(0x1ae),_0x2613ef;}({}),_0x44e752=function(_0x401e94){const _0x295db2=_0x53bdb1;return _0x401e94[_0x295db2(0x1a6)]=_0x295db2(0x1a6),_0x401e94[_0x295db2(0x1ad)]=_0x295db2(0x1ad),_0x401e94['Middle']='Middle',_0x401e94;}({}),_0x3c3c04=function(_0x12a8a8){const _0x9d13ea=_0x53bdb1;return _0x12a8a8[_0x9d13ea(0x1b0)]=_0x9d13ea(0x1b0),_0x12a8a8[_0x9d13ea(0x1c1)]='Narrow',_0x12a8a8['Wide']='Wide',_0x12a8a8[_0x9d13ea(0x1b2)]='None',_0x12a8a8[_0x9d13ea(0x1ae)]='Custom',_0x12a8a8;}({}),_0x51291a={[_0x3c3c04[_0x53bdb1(0x1b0)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x3c3c04[_0x53bdb1(0x1c1)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x3c3c04[_0x53bdb1(0x1b6)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x3c3c04[_0x53bdb1(0x1b2)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},[_0x3c3c04[_0x53bdb1(0x1ae)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x75a122=_0x53bdb1(0x1b7),_0x447876=_0x53bdb1(0x1c7);function _0x5c632e(_0x15036f,_0x442d90,_0x318738){const _0x406c15=_0x53bdb1;let _0x3d2006=_0x318738===_0x44658a[_0x406c15(0x1a2)]?_0x15036f:_0x442d90,_0x24e32b=_0x318738===_0x44658a[_0x406c15(0x1a2)]?_0x442d90:_0x15036f,_0x29ac07=_0x406c15(0x1bd)+_0x447876+_0x406c15(0x1b5)+_0x3d2006+_0x406c15(0x1cb)+_0x24e32b+'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.'+_0x75a122+_0x406c15(0x1b1)+_0x75a122+'\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.'+_0x447876+_0x406c15(0x1cc)+_0x24e32b+_0x406c15(0x1b9)+_0x3d2006+'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}',_0x301d8b=document[_0x406c15(0x1c6)]('style');return _0x301d8b['innerHTML']=_0x29ac07,_0x301d8b[_0x406c15(0x1c5)]=_0x406c15(0x19f),_0x301d8b;}_0x3176c8[_0x53bdb1(0x1cd)]=_0x447876,_0x3176c8[_0x53bdb1(0x1af)]=_0x75a122,_0x3176c8[_0x53bdb1(0x1a4)]=_0x51291a,_0x3176c8[_0x53bdb1(0x1b4)]=_0x44e752,_0x3176c8[_0x53bdb1(0x1bb)]=_0x44658a,_0x3176c8['PrintPaperMargin']=_0x3c3c04,_0x3176c8[_0x53bdb1(0x1b3)]=_0x9998a6,_0x3176c8['createPrintStyle']=_0x5c632e;}));
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-insiders.20260422-d7fcb4d",
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",