@univerjs-pro/print 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504121606

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
- 'use strict';function _0x2eb4(_0x38e856,_0x391e33){const _0x3ec7db=_0x3ec7();return _0x2eb4=function(_0x2eb4c2,_0x57365f){_0x2eb4c2=_0x2eb4c2-0x1b6;let _0x1fb218=_0x3ec7db[_0x2eb4c2];return _0x1fb218;},_0x2eb4(_0x38e856,_0x391e33);}const _0x4dd5eb=_0x2eb4;(function(_0x4a5fa5,_0x5b465c){const _0x32eb79=_0x2eb4,_0x28f69e=_0x4a5fa5();while(!![]){try{const _0x3fcc26=-parseInt(_0x32eb79(0x1c7))/0x1*(parseInt(_0x32eb79(0x1e4))/0x2)+-parseInt(_0x32eb79(0x1ba))/0x3+-parseInt(_0x32eb79(0x1db))/0x4+parseInt(_0x32eb79(0x1e9))/0x5*(parseInt(_0x32eb79(0x1d1))/0x6)+parseInt(_0x32eb79(0x1ca))/0x7+parseInt(_0x32eb79(0x1d9))/0x8*(-parseInt(_0x32eb79(0x1cd))/0x9)+parseInt(_0x32eb79(0x1be))/0xa;if(_0x3fcc26===_0x5b465c)break;else _0x28f69e['push'](_0x28f69e['shift']());}catch(_0x317e2d){_0x28f69e['push'](_0x28f69e['shift']());}}}(_0x3ec7,0x4e1fe));Object['defineProperty'](exports,Symbol[_0x4dd5eb(0x1d8)],{'value':_0x4dd5eb(0x1df)});var e=(_0x522381=>(_0x522381['Letter']='Letter',_0x522381[_0x4dd5eb(0x1ea)]='Tabloid',_0x522381[_0x4dd5eb(0x1e3)]=_0x4dd5eb(0x1e3),_0x522381[_0x4dd5eb(0x1e8)]=_0x4dd5eb(0x1e8),_0x522381['Executive']=_0x4dd5eb(0x1e7),_0x522381[_0x4dd5eb(0x1c0)]=_0x4dd5eb(0x1c0),_0x522381['A3']='A3',_0x522381['A4']='A4',_0x522381['A5']='A5',_0x522381['B4']='B4',_0x522381['B5']='B5',_0x522381))(e||{}),i=(_0x1c13b5=>(_0x1c13b5[_0x4dd5eb(0x1bf)]=_0x4dd5eb(0x1bf),_0x1c13b5[_0x4dd5eb(0x1d2)]=_0x4dd5eb(0x1d2),_0x1c13b5))(i||{}),c=(_0x1f7eba=>(_0x1f7eba[_0x4dd5eb(0x1e6)]=_0x4dd5eb(0x1e6),_0x1f7eba[_0x4dd5eb(0x1c2)]=_0x4dd5eb(0x1c2),_0x1f7eba[_0x4dd5eb(0x1cb)]=_0x4dd5eb(0x1cb),_0x1f7eba[_0x4dd5eb(0x1ce)]=_0x4dd5eb(0x1ce),_0x1f7eba[_0x4dd5eb(0x1c9)]=_0x4dd5eb(0x1c9),_0x1f7eba))(c||{}),g=(_0x57f84e=>(_0x57f84e[_0x4dd5eb(0x1c4)]=_0x4dd5eb(0x1c4),_0x57f84e[_0x4dd5eb(0x1c3)]=_0x4dd5eb(0x1c3),_0x57f84e[_0x4dd5eb(0x1d0)]='Middle',_0x57f84e))(g||{}),o=(_0x1329ab=>(_0x1329ab[_0x4dd5eb(0x1e5)]=_0x4dd5eb(0x1e5),_0x1329ab['Narrow']=_0x4dd5eb(0x1e1),_0x1329ab[_0x4dd5eb(0x1b7)]=_0x4dd5eb(0x1b7),_0x1329ab[_0x4dd5eb(0x1bb)]=_0x4dd5eb(0x1bb),_0x1329ab))(o||{});function _0x3ec7(){const _0x5a85ef=['Origin','Executive','Statement','285185bXpTKQ','Tabloid','PrintAlign','PrintDirection','Wide','createPrintStyle','PaperSizePxMap','1909425XZovDs','None','\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','offline-printing-css','9654380PDVaWv','Portrait','Folio','PRINT_CANVAS_CLASS','FitWidth','End','Start','printing-canvas-container','className','767fmVxVx','PRINT_CONTAINER_CLASS','Custom','301616jBPSsk','FitHeight','PaperMarginMap','351tNZRZq','FitPage','PrintScale','Middle','42zjNnQu','Landscape','printing-canvas','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','style','px\x20','\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','42464KgcoKl',',\x20.','161112zOtdex','Letter','createElement','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Module','\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.','Narrow','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','Legal','532jaiIBU','Normal'];_0x3ec7=function(){return _0x5a85ef;};return _0x3ec7();}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[_0x4dd5eb(0x1e7)]]:{'w':0x2b8,'h':0x3f0},[e[_0x4dd5eb(0x1c0)]]:{'w':0x330,'h':0x4e0},[e['Legal']]:{'w':0x330,'h':0x540},[e[_0x4dd5eb(0x1dc)]]:{'w':0x330,'h':0x420},[e[_0x4dd5eb(0x1e8)]]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x4dd5eb(0x1e5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x4dd5eb(0x1e1)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x4dd5eb(0x1b7)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x4dd5eb(0x1bb)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x4dd5eb(0x1c5),p=_0x4dd5eb(0x1d3);function A(_0x523c1e,_0x2547ac){const _0x52e362=_0x4dd5eb,{w:_0x38fdd9,h:_0x429238}=m[_0x523c1e],_0x3c67b1=_0x2547ac===i[_0x52e362(0x1bf)]?_0x38fdd9:_0x429238,_0x4c4077=_0x2547ac===i['Portrait']?_0x429238:_0x38fdd9,_0x4f5fa0=_0x52e362(0x1bc)+_0x3c67b1+_0x52e362(0x1d6)+_0x4c4077+_0x52e362(0x1e2)+n+_0x52e362(0x1da)+n+_0x52e362(0x1e0)+p+_0x52e362(0x1d7)+_0x4c4077+_0x52e362(0x1de)+_0x3c67b1+_0x52e362(0x1d4),_0xb10b6e=document[_0x52e362(0x1dd)](_0x52e362(0x1d5));return _0xb10b6e['innerHTML']=_0x4f5fa0,_0xb10b6e[_0x52e362(0x1c6)]=_0x52e362(0x1bd),_0xb10b6e;}exports[_0x4dd5eb(0x1c1)]=p,exports[_0x4dd5eb(0x1c8)]=n,exports[_0x4dd5eb(0x1cc)]=N,exports[_0x4dd5eb(0x1b9)]=m,exports[_0x4dd5eb(0x1eb)]=g,exports[_0x4dd5eb(0x1b6)]=i,exports['PrintPaperMargin']=o,exports['PrintPaperSize']=e,exports[_0x4dd5eb(0x1cf)]=c,exports[_0x4dd5eb(0x1b8)]=A;
1
+ 'use strict';const _0x19c2c1=_0x24aa;(function(_0x343680,_0x43f7f9){const _0x51cf73=_0x24aa,_0x51bdd5=_0x343680();while(!![]){try{const _0x38fad3=-parseInt(_0x51cf73(0x206))/0x1*(-parseInt(_0x51cf73(0x219))/0x2)+parseInt(_0x51cf73(0x1fc))/0x3*(parseInt(_0x51cf73(0x202))/0x4)+-parseInt(_0x51cf73(0x201))/0x5*(parseInt(_0x51cf73(0x205))/0x6)+-parseInt(_0x51cf73(0x1f4))/0x7+-parseInt(_0x51cf73(0x1f3))/0x8*(-parseInt(_0x51cf73(0x215))/0x9)+parseInt(_0x51cf73(0x210))/0xa+parseInt(_0x51cf73(0x1f8))/0xb*(parseInt(_0x51cf73(0x20b))/0xc);if(_0x38fad3===_0x43f7f9)break;else _0x51bdd5['push'](_0x51bdd5['shift']());}catch(_0x4e40f4){_0x51bdd5['push'](_0x51bdd5['shift']());}}}(_0x1a46,0xe9bf3));function _0x24aa(_0x14ced9,_0xfc29fb){const _0x1a463d=_0x1a46();return _0x24aa=function(_0x24aa17,_0x579eab){_0x24aa17=_0x24aa17-0x1ea;let _0x5c67f9=_0x1a463d[_0x24aa17];return _0x5c67f9;},_0x24aa(_0x14ced9,_0xfc29fb);}function _0x1a46(){const _0x58a3db=['None','108hpaUZV','PrintDirection','className','printing-canvas','PaperMarginMap','3904280XYlmij','innerHTML','printing-canvas-container','Executive','createElement','35829VzQgvc','Legal','Tabloid','PrintPaperSize','2IvRmQU','Portrait','px\x20','PrintAlign','Wide','Folio','Origin',',\x20.','Narrow','Normal','Start','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','FitHeight','Middle','Letter','1296WnTyUC','7753746gWAppv','Landscape','PrintScale','style','1319857jrvIlu','FitWidth','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','defineProperty','2886cDAsRF','offline-printing-css','toStringTag','PrintPaperMargin','Statement','2323340dwiUUS','1660spMLdC','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Custom','6AQsjQL','15310SmAbYb','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','PRINT_CONTAINER_CLASS','\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'];_0x1a46=function(){return _0x58a3db;};return _0x1a46();}Object[_0x19c2c1(0x1fb)](exports,Symbol[_0x19c2c1(0x1fe)],{'value':'Module'});var e=(_0x5692ad=>(_0x5692ad[_0x19c2c1(0x1f2)]=_0x19c2c1(0x1f2),_0x5692ad[_0x19c2c1(0x217)]='Tabloid',_0x5692ad[_0x19c2c1(0x216)]=_0x19c2c1(0x216),_0x5692ad['Statement']=_0x19c2c1(0x200),_0x5692ad['Executive']=_0x19c2c1(0x213),_0x5692ad[_0x19c2c1(0x21e)]=_0x19c2c1(0x21e),_0x5692ad['A3']='A3',_0x5692ad['A4']='A4',_0x5692ad['A5']='A5',_0x5692ad['B4']='B4',_0x5692ad['B5']='B5',_0x5692ad))(e||{}),i=(_0x2ee1c2=>(_0x2ee1c2[_0x19c2c1(0x21a)]=_0x19c2c1(0x21a),_0x2ee1c2[_0x19c2c1(0x1f5)]=_0x19c2c1(0x1f5),_0x2ee1c2))(i||{}),c=(_0x39f53b=>(_0x39f53b[_0x19c2c1(0x1ea)]=_0x19c2c1(0x1ea),_0x39f53b['FitWidth']=_0x19c2c1(0x1f9),_0x39f53b[_0x19c2c1(0x1f0)]=_0x19c2c1(0x1f0),_0x39f53b['FitPage']='FitPage',_0x39f53b[_0x19c2c1(0x204)]=_0x19c2c1(0x204),_0x39f53b))(c||{}),g=(_0x1134b9=>(_0x1134b9[_0x19c2c1(0x1ee)]=_0x19c2c1(0x1ee),_0x1134b9['End']='End',_0x1134b9[_0x19c2c1(0x1f1)]=_0x19c2c1(0x1f1),_0x1134b9))(g||{}),o=(_0x9f9562=>(_0x9f9562[_0x19c2c1(0x1ed)]=_0x19c2c1(0x1ed),_0x9f9562[_0x19c2c1(0x1ec)]=_0x19c2c1(0x1ec),_0x9f9562[_0x19c2c1(0x21d)]='Wide',_0x9f9562[_0x19c2c1(0x20a)]=_0x19c2c1(0x20a),_0x9f9562))(o||{});const m={[e['A3']]:{'w':0x463,'h':0x633},[e['A4']]:{'w':0x31a,'h':0x464},[e['A5']]:{'w':0x22f,'h':0x31a},[e['B4']]:{'w':0x3b0,'h':0x540},[e['B5']]:{'w':0x299,'h':0x3b0},[e[_0x19c2c1(0x213)]]:{'w':0x2b8,'h':0x3f0},[e[_0x19c2c1(0x21e)]]:{'w':0x330,'h':0x4e0},[e[_0x19c2c1(0x216)]]:{'w':0x330,'h':0x540},[e[_0x19c2c1(0x1f2)]]:{'w':0x330,'h':0x420},[e['Statement']]:{'w':0x210,'h':0x330},[e[_0x19c2c1(0x217)]]:{'w':0x420,'h':0x660}},N={[o[_0x19c2c1(0x1ed)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x19c2c1(0x1ec)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x19c2c1(0x20a)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x19c2c1(0x212),p=_0x19c2c1(0x20e);function A(_0x353717,_0x1bd6eb){const _0x1fa8fb=_0x19c2c1,{w:_0xf5ef08,h:_0x2e195c}=m[_0x353717],_0x3fdede=_0x1bd6eb===i[_0x1fa8fb(0x21a)]?_0xf5ef08:_0x2e195c,_0x5856d5=_0x1bd6eb===i[_0x1fa8fb(0x21a)]?_0x2e195c:_0xf5ef08,_0x56564c=_0x1fa8fb(0x209)+_0x3fdede+_0x1fa8fb(0x21b)+_0x5856d5+'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.'+n+_0x1fa8fb(0x1eb)+n+_0x1fa8fb(0x1ef)+p+_0x1fa8fb(0x203)+_0x5856d5+_0x1fa8fb(0x1fa)+_0x3fdede+_0x1fa8fb(0x207),_0x50f8c9=document[_0x1fa8fb(0x214)](_0x1fa8fb(0x1f7));return _0x50f8c9[_0x1fa8fb(0x211)]=_0x56564c,_0x50f8c9[_0x1fa8fb(0x20d)]=_0x1fa8fb(0x1fd),_0x50f8c9;}exports['PRINT_CANVAS_CLASS']=p,exports[_0x19c2c1(0x208)]=n,exports[_0x19c2c1(0x20f)]=N,exports['PaperSizePxMap']=m,exports[_0x19c2c1(0x21c)]=g,exports[_0x19c2c1(0x20c)]=i,exports[_0x19c2c1(0x1ff)]=o,exports[_0x19c2c1(0x218)]=e,exports[_0x19c2c1(0x1f6)]=c,exports['createPrintStyle']=A;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x6af9a1=_0x5897;(function(_0x23a777,_0x5de8a6){const _0x18a402=_0x5897,_0xf6650=_0x23a777();while(!![]){try{const _0xef116d=-parseInt(_0x18a402(0x1a0))/0x1*(-parseInt(_0x18a402(0x1a2))/0x2)+-parseInt(_0x18a402(0x1c1))/0x3+parseInt(_0x18a402(0x1b7))/0x4*(parseInt(_0x18a402(0x19f))/0x5)+parseInt(_0x18a402(0x1b9))/0x6+parseInt(_0x18a402(0x1a4))/0x7+-parseInt(_0x18a402(0x1bc))/0x8*(-parseInt(_0x18a402(0x1a9))/0x9)+parseInt(_0x18a402(0x1bb))/0xa*(-parseInt(_0x18a402(0x1a1))/0xb);if(_0xef116d===_0x5de8a6)break;else _0xf6650['push'](_0xf6650['shift']());}catch(_0x250709){_0xf6650['push'](_0xf6650['shift']());}}}(_0x3bcc,0x4f81d));var o=(_0x231e0a=>(_0x231e0a[_0x6af9a1(0x1aa)]=_0x6af9a1(0x1aa),_0x231e0a['Tabloid']=_0x6af9a1(0x1b8),_0x231e0a[_0x6af9a1(0x1a3)]=_0x6af9a1(0x1a3),_0x231e0a['Statement']=_0x6af9a1(0x1ae),_0x231e0a[_0x6af9a1(0x1ad)]=_0x6af9a1(0x1ad),_0x231e0a[_0x6af9a1(0x1c3)]='Folio',_0x231e0a['A3']='A3',_0x231e0a['A4']='A4',_0x231e0a['A5']='A5',_0x231e0a['B4']='B4',_0x231e0a['B5']='B5',_0x231e0a))(o||{}),i=(_0x48c738=>(_0x48c738['Portrait']=_0x6af9a1(0x1ba),_0x48c738['Landscape']=_0x6af9a1(0x1a6),_0x48c738))(i||{}),w=(_0xa26d6a=>(_0xa26d6a[_0x6af9a1(0x1bd)]='Origin',_0xa26d6a['FitWidth']=_0x6af9a1(0x19c),_0xa26d6a[_0x6af9a1(0x1a5)]=_0x6af9a1(0x1a5),_0xa26d6a[_0x6af9a1(0x19b)]='FitPage',_0xa26d6a[_0x6af9a1(0x1b4)]=_0x6af9a1(0x1b4),_0xa26d6a))(w||{}),m=(_0x267b62=>(_0x267b62[_0x6af9a1(0x1c4)]=_0x6af9a1(0x1c4),_0x267b62['End']=_0x6af9a1(0x1a7),_0x267b62[_0x6af9a1(0x1b2)]=_0x6af9a1(0x1b2),_0x267b62))(m||{}),e=(_0x2c3d8a=>(_0x2c3d8a['Normal']=_0x6af9a1(0x1b1),_0x2c3d8a[_0x6af9a1(0x1be)]=_0x6af9a1(0x1be),_0x2c3d8a['Wide']='Wide',_0x2c3d8a[_0x6af9a1(0x1ac)]='None',_0x2c3d8a))(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[_0x6af9a1(0x1ad)]]:{'w':0x2b8,'h':0x3f0},[o[_0x6af9a1(0x1c3)]]:{'w':0x330,'h':0x4e0},[o[_0x6af9a1(0x1a3)]]:{'w':0x330,'h':0x540},[o[_0x6af9a1(0x1aa)]]:{'w':0x330,'h':0x420},[o[_0x6af9a1(0x1ae)]]:{'w':0x210,'h':0x330},[o[_0x6af9a1(0x1b8)]]:{'w':0x420,'h':0x660}},v={[e[_0x6af9a1(0x1b1)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x6af9a1(0x1be)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x6af9a1(0x1ab)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x6af9a1(0x1ac)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x6af9a1(0x1a8),p=_0x6af9a1(0x1b5);function _0x5897(_0x247120,_0x1cb8a0){const _0x3bcc76=_0x3bcc();return _0x5897=function(_0x5897e4,_0x1cabb6){_0x5897e4=_0x5897e4-0x19a;let _0x1b10ae=_0x3bcc76[_0x5897e4];return _0x1b10ae;},_0x5897(_0x247120,_0x1cb8a0);}function N(_0x303285,_0x47cca7){const _0x3a4707=_0x6af9a1,{w:_0x352fb6,h:_0x36dc31}=g[_0x303285],_0x2965c1=_0x47cca7===i[_0x3a4707(0x1ba)]?_0x352fb6:_0x36dc31,_0x78dfe9=_0x47cca7===i[_0x3a4707(0x1ba)]?_0x36dc31:_0x352fb6,_0x3b06b2=_0x3a4707(0x1bf)+_0x2965c1+_0x3a4707(0x19d)+_0x78dfe9+_0x3a4707(0x1c0)+l+_0x3a4707(0x1af)+l+_0x3a4707(0x1b3)+p+_0x3a4707(0x1b6)+_0x78dfe9+_0x3a4707(0x1c2)+_0x2965c1+_0x3a4707(0x1b0),_0x5022db=document[_0x3a4707(0x19e)](_0x3a4707(0x19a));return _0x5022db['innerHTML']=_0x3b06b2,_0x5022db['className']='offline-printing-css',_0x5022db;}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 _0x3bcc(){const _0x3fa354=['Start','style','FitPage','FitWidth','px\x20','createElement','30SAjcIA','201endwas','2812007IMvHuv','2870cPpPzz','Legal','206731RskuTx','FitHeight','Landscape','End','printing-canvas-container','1230597pxXLMZ','Letter','Wide','None','Executive','Statement',',\x20.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Normal','Middle','\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','printing-canvas','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','221756vvPKOx','Tabloid','2005704FiiMgA','Portrait','30WUaydR','8HlAdRW','Origin','Narrow','\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','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.','87141bmraoR','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Folio'];_0x3bcc=function(){return _0x3fa354;};return _0x3bcc();}
1
+ const _0x14c936=_0x54f1;(function(_0x38aaf9,_0x526aa3){const _0x596ac1=_0x54f1,_0x3f58ce=_0x38aaf9();while(!![]){try{const _0x42db65=-parseInt(_0x596ac1(0xbb))/0x1*(parseInt(_0x596ac1(0xd9))/0x2)+-parseInt(_0x596ac1(0xc0))/0x3*(parseInt(_0x596ac1(0xce))/0x4)+-parseInt(_0x596ac1(0xda))/0x5*(-parseInt(_0x596ac1(0xd2))/0x6)+parseInt(_0x596ac1(0xc5))/0x7+-parseInt(_0x596ac1(0xc3))/0x8*(parseInt(_0x596ac1(0xb9))/0x9)+parseInt(_0x596ac1(0xd5))/0xa*(-parseInt(_0x596ac1(0xb8))/0xb)+parseInt(_0x596ac1(0xcf))/0xc;if(_0x42db65===_0x526aa3)break;else _0x3f58ce['push'](_0x3f58ce['shift']());}catch(_0x851e07){_0x3f58ce['push'](_0x3f58ce['shift']());}}}(_0x4fd3,0x32bba));function _0x4fd3(){const _0x3bbc7d=['208BtJoBY','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.','1177554lYnYCh',',\x20.','style','Executive','FitWidth','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Start','Origin','innerHTML','180ktaKvo','8252712sTtXQf','className','Tabloid','30AEUWib','FitPage','printing-canvas','30JOOYLX','Folio','Middle','End','32KuSEHB','44115MHFoEw','Wide','Normal','createElement','offline-printing-css','Narrow','Landscape','Custom','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','FitHeight','380094IxxxYN','75879rjXEsh','px\x20','13308iyBPCX','printing-canvas-container','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Statement','Portrait','10431qiVHyD','None','Letter'];_0x4fd3=function(){return _0x3bbc7d;};return _0x4fd3();}var o=(_0x4a6c8c=>(_0x4a6c8c['Letter']=_0x14c936(0xc2),_0x4a6c8c['Tabloid']=_0x14c936(0xd1),_0x4a6c8c['Legal']='Legal',_0x4a6c8c[_0x14c936(0xbe)]=_0x14c936(0xbe),_0x4a6c8c[_0x14c936(0xc8)]=_0x14c936(0xc8),_0x4a6c8c[_0x14c936(0xd6)]=_0x14c936(0xd6),_0x4a6c8c['A3']='A3',_0x4a6c8c['A4']='A4',_0x4a6c8c['A5']='A5',_0x4a6c8c['B4']='B4',_0x4a6c8c['B5']='B5',_0x4a6c8c))(o||{}),i=(_0x30991f=>(_0x30991f['Portrait']='Portrait',_0x30991f[_0x14c936(0xb3)]=_0x14c936(0xb3),_0x30991f))(i||{}),w=(_0x38f6f3=>(_0x38f6f3[_0x14c936(0xcc)]=_0x14c936(0xcc),_0x38f6f3[_0x14c936(0xc9)]=_0x14c936(0xc9),_0x38f6f3[_0x14c936(0xb7)]=_0x14c936(0xb7),_0x38f6f3[_0x14c936(0xd3)]=_0x14c936(0xd3),_0x38f6f3[_0x14c936(0xb4)]=_0x14c936(0xb4),_0x38f6f3))(w||{}),m=(_0x221c94=>(_0x221c94[_0x14c936(0xcb)]=_0x14c936(0xcb),_0x221c94['End']=_0x14c936(0xd8),_0x221c94['Middle']=_0x14c936(0xd7),_0x221c94))(m||{}),e=(_0x3dc152=>(_0x3dc152['Normal']='Normal',_0x3dc152['Narrow']=_0x14c936(0xb2),_0x3dc152[_0x14c936(0xdb)]=_0x14c936(0xdb),_0x3dc152[_0x14c936(0xc1)]=_0x14c936(0xc1),_0x3dc152))(e||{});function _0x54f1(_0x12e966,_0x43a6ee){const _0x4fd31a=_0x4fd3();return _0x54f1=function(_0x54f1bf,_0xab75d6){_0x54f1bf=_0x54f1bf-0xb0;let _0x407eca=_0x4fd31a[_0x54f1bf];return _0x407eca;},_0x54f1(_0x12e966,_0x43a6ee);}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[_0x14c936(0xc8)]]:{'w':0x2b8,'h':0x3f0},[o[_0x14c936(0xd6)]]:{'w':0x330,'h':0x4e0},[o['Legal']]:{'w':0x330,'h':0x540},[o[_0x14c936(0xc2)]]:{'w':0x330,'h':0x420},[o[_0x14c936(0xbe)]]:{'w':0x210,'h':0x330},[o[_0x14c936(0xd1)]]:{'w':0x420,'h':0x660}},v={[e[_0x14c936(0xdc)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x14c936(0xb2)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x14c936(0xc1)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x14c936(0xbc),p=_0x14c936(0xd4);function N(_0x581fdb,_0x2e178f){const _0x25ef53=_0x14c936,{w:_0x8b396c,h:_0x169da5}=g[_0x581fdb],_0x230e77=_0x2e178f===i[_0x25ef53(0xbf)]?_0x8b396c:_0x169da5,_0xa78cd8=_0x2e178f===i[_0x25ef53(0xbf)]?_0x169da5:_0x8b396c,_0x1f304e=_0x25ef53(0xb6)+_0x230e77+_0x25ef53(0xba)+_0xa78cd8+_0x25ef53(0xc4)+l+_0x25ef53(0xc6)+l+'\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.'+p+_0x25ef53(0xbd)+_0xa78cd8+_0x25ef53(0xb5)+_0x230e77+_0x25ef53(0xca),_0x4964ab=document[_0x25ef53(0xb0)](_0x25ef53(0xc7));return _0x4964ab[_0x25ef53(0xcd)]=_0x1f304e,_0x4964ab[_0x25ef53(0xd0)]=_0x25ef53(0xb1),_0x4964ab;}export{p as PRINT_CANVAS_CLASS,l as PRINT_CONTAINER_CLASS,v as PaperMarginMap,g as PaperSizePxMap,m as PrintAlign,i as PrintDirection,e as PrintPaperMargin,o as PrintPaperSize,w as PrintScale,N as createPrintStyle};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x6af9a1=_0x5897;(function(_0x23a777,_0x5de8a6){const _0x18a402=_0x5897,_0xf6650=_0x23a777();while(!![]){try{const _0xef116d=-parseInt(_0x18a402(0x1a0))/0x1*(-parseInt(_0x18a402(0x1a2))/0x2)+-parseInt(_0x18a402(0x1c1))/0x3+parseInt(_0x18a402(0x1b7))/0x4*(parseInt(_0x18a402(0x19f))/0x5)+parseInt(_0x18a402(0x1b9))/0x6+parseInt(_0x18a402(0x1a4))/0x7+-parseInt(_0x18a402(0x1bc))/0x8*(-parseInt(_0x18a402(0x1a9))/0x9)+parseInt(_0x18a402(0x1bb))/0xa*(-parseInt(_0x18a402(0x1a1))/0xb);if(_0xef116d===_0x5de8a6)break;else _0xf6650['push'](_0xf6650['shift']());}catch(_0x250709){_0xf6650['push'](_0xf6650['shift']());}}}(_0x3bcc,0x4f81d));var o=(_0x231e0a=>(_0x231e0a[_0x6af9a1(0x1aa)]=_0x6af9a1(0x1aa),_0x231e0a['Tabloid']=_0x6af9a1(0x1b8),_0x231e0a[_0x6af9a1(0x1a3)]=_0x6af9a1(0x1a3),_0x231e0a['Statement']=_0x6af9a1(0x1ae),_0x231e0a[_0x6af9a1(0x1ad)]=_0x6af9a1(0x1ad),_0x231e0a[_0x6af9a1(0x1c3)]='Folio',_0x231e0a['A3']='A3',_0x231e0a['A4']='A4',_0x231e0a['A5']='A5',_0x231e0a['B4']='B4',_0x231e0a['B5']='B5',_0x231e0a))(o||{}),i=(_0x48c738=>(_0x48c738['Portrait']=_0x6af9a1(0x1ba),_0x48c738['Landscape']=_0x6af9a1(0x1a6),_0x48c738))(i||{}),w=(_0xa26d6a=>(_0xa26d6a[_0x6af9a1(0x1bd)]='Origin',_0xa26d6a['FitWidth']=_0x6af9a1(0x19c),_0xa26d6a[_0x6af9a1(0x1a5)]=_0x6af9a1(0x1a5),_0xa26d6a[_0x6af9a1(0x19b)]='FitPage',_0xa26d6a[_0x6af9a1(0x1b4)]=_0x6af9a1(0x1b4),_0xa26d6a))(w||{}),m=(_0x267b62=>(_0x267b62[_0x6af9a1(0x1c4)]=_0x6af9a1(0x1c4),_0x267b62['End']=_0x6af9a1(0x1a7),_0x267b62[_0x6af9a1(0x1b2)]=_0x6af9a1(0x1b2),_0x267b62))(m||{}),e=(_0x2c3d8a=>(_0x2c3d8a['Normal']=_0x6af9a1(0x1b1),_0x2c3d8a[_0x6af9a1(0x1be)]=_0x6af9a1(0x1be),_0x2c3d8a['Wide']='Wide',_0x2c3d8a[_0x6af9a1(0x1ac)]='None',_0x2c3d8a))(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[_0x6af9a1(0x1ad)]]:{'w':0x2b8,'h':0x3f0},[o[_0x6af9a1(0x1c3)]]:{'w':0x330,'h':0x4e0},[o[_0x6af9a1(0x1a3)]]:{'w':0x330,'h':0x540},[o[_0x6af9a1(0x1aa)]]:{'w':0x330,'h':0x420},[o[_0x6af9a1(0x1ae)]]:{'w':0x210,'h':0x330},[o[_0x6af9a1(0x1b8)]]:{'w':0x420,'h':0x660}},v={[e[_0x6af9a1(0x1b1)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x6af9a1(0x1be)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x6af9a1(0x1ab)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x6af9a1(0x1ac)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x6af9a1(0x1a8),p=_0x6af9a1(0x1b5);function _0x5897(_0x247120,_0x1cb8a0){const _0x3bcc76=_0x3bcc();return _0x5897=function(_0x5897e4,_0x1cabb6){_0x5897e4=_0x5897e4-0x19a;let _0x1b10ae=_0x3bcc76[_0x5897e4];return _0x1b10ae;},_0x5897(_0x247120,_0x1cb8a0);}function N(_0x303285,_0x47cca7){const _0x3a4707=_0x6af9a1,{w:_0x352fb6,h:_0x36dc31}=g[_0x303285],_0x2965c1=_0x47cca7===i[_0x3a4707(0x1ba)]?_0x352fb6:_0x36dc31,_0x78dfe9=_0x47cca7===i[_0x3a4707(0x1ba)]?_0x36dc31:_0x352fb6,_0x3b06b2=_0x3a4707(0x1bf)+_0x2965c1+_0x3a4707(0x19d)+_0x78dfe9+_0x3a4707(0x1c0)+l+_0x3a4707(0x1af)+l+_0x3a4707(0x1b3)+p+_0x3a4707(0x1b6)+_0x78dfe9+_0x3a4707(0x1c2)+_0x2965c1+_0x3a4707(0x1b0),_0x5022db=document[_0x3a4707(0x19e)](_0x3a4707(0x19a));return _0x5022db['innerHTML']=_0x3b06b2,_0x5022db['className']='offline-printing-css',_0x5022db;}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 _0x3bcc(){const _0x3fa354=['Start','style','FitPage','FitWidth','px\x20','createElement','30SAjcIA','201endwas','2812007IMvHuv','2870cPpPzz','Legal','206731RskuTx','FitHeight','Landscape','End','printing-canvas-container','1230597pxXLMZ','Letter','Wide','None','Executive','Statement',',\x20.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Normal','Middle','\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','printing-canvas','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','221756vvPKOx','Tabloid','2005704FiiMgA','Portrait','30WUaydR','8HlAdRW','Origin','Narrow','\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','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.','87141bmraoR','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Folio'];_0x3bcc=function(){return _0x3fa354;};return _0x3bcc();}
1
+ const _0x14c936=_0x54f1;(function(_0x38aaf9,_0x526aa3){const _0x596ac1=_0x54f1,_0x3f58ce=_0x38aaf9();while(!![]){try{const _0x42db65=-parseInt(_0x596ac1(0xbb))/0x1*(parseInt(_0x596ac1(0xd9))/0x2)+-parseInt(_0x596ac1(0xc0))/0x3*(parseInt(_0x596ac1(0xce))/0x4)+-parseInt(_0x596ac1(0xda))/0x5*(-parseInt(_0x596ac1(0xd2))/0x6)+parseInt(_0x596ac1(0xc5))/0x7+-parseInt(_0x596ac1(0xc3))/0x8*(parseInt(_0x596ac1(0xb9))/0x9)+parseInt(_0x596ac1(0xd5))/0xa*(-parseInt(_0x596ac1(0xb8))/0xb)+parseInt(_0x596ac1(0xcf))/0xc;if(_0x42db65===_0x526aa3)break;else _0x3f58ce['push'](_0x3f58ce['shift']());}catch(_0x851e07){_0x3f58ce['push'](_0x3f58ce['shift']());}}}(_0x4fd3,0x32bba));function _0x4fd3(){const _0x3bbc7d=['208BtJoBY','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.','1177554lYnYCh',',\x20.','style','Executive','FitWidth','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Start','Origin','innerHTML','180ktaKvo','8252712sTtXQf','className','Tabloid','30AEUWib','FitPage','printing-canvas','30JOOYLX','Folio','Middle','End','32KuSEHB','44115MHFoEw','Wide','Normal','createElement','offline-printing-css','Narrow','Landscape','Custom','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','\x0a@media\x20print\x20{\x0a\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','FitHeight','380094IxxxYN','75879rjXEsh','px\x20','13308iyBPCX','printing-canvas-container','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Statement','Portrait','10431qiVHyD','None','Letter'];_0x4fd3=function(){return _0x3bbc7d;};return _0x4fd3();}var o=(_0x4a6c8c=>(_0x4a6c8c['Letter']=_0x14c936(0xc2),_0x4a6c8c['Tabloid']=_0x14c936(0xd1),_0x4a6c8c['Legal']='Legal',_0x4a6c8c[_0x14c936(0xbe)]=_0x14c936(0xbe),_0x4a6c8c[_0x14c936(0xc8)]=_0x14c936(0xc8),_0x4a6c8c[_0x14c936(0xd6)]=_0x14c936(0xd6),_0x4a6c8c['A3']='A3',_0x4a6c8c['A4']='A4',_0x4a6c8c['A5']='A5',_0x4a6c8c['B4']='B4',_0x4a6c8c['B5']='B5',_0x4a6c8c))(o||{}),i=(_0x30991f=>(_0x30991f['Portrait']='Portrait',_0x30991f[_0x14c936(0xb3)]=_0x14c936(0xb3),_0x30991f))(i||{}),w=(_0x38f6f3=>(_0x38f6f3[_0x14c936(0xcc)]=_0x14c936(0xcc),_0x38f6f3[_0x14c936(0xc9)]=_0x14c936(0xc9),_0x38f6f3[_0x14c936(0xb7)]=_0x14c936(0xb7),_0x38f6f3[_0x14c936(0xd3)]=_0x14c936(0xd3),_0x38f6f3[_0x14c936(0xb4)]=_0x14c936(0xb4),_0x38f6f3))(w||{}),m=(_0x221c94=>(_0x221c94[_0x14c936(0xcb)]=_0x14c936(0xcb),_0x221c94['End']=_0x14c936(0xd8),_0x221c94['Middle']=_0x14c936(0xd7),_0x221c94))(m||{}),e=(_0x3dc152=>(_0x3dc152['Normal']='Normal',_0x3dc152['Narrow']=_0x14c936(0xb2),_0x3dc152[_0x14c936(0xdb)]=_0x14c936(0xdb),_0x3dc152[_0x14c936(0xc1)]=_0x14c936(0xc1),_0x3dc152))(e||{});function _0x54f1(_0x12e966,_0x43a6ee){const _0x4fd31a=_0x4fd3();return _0x54f1=function(_0x54f1bf,_0xab75d6){_0x54f1bf=_0x54f1bf-0xb0;let _0x407eca=_0x4fd31a[_0x54f1bf];return _0x407eca;},_0x54f1(_0x12e966,_0x43a6ee);}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[_0x14c936(0xc8)]]:{'w':0x2b8,'h':0x3f0},[o[_0x14c936(0xd6)]]:{'w':0x330,'h':0x4e0},[o['Legal']]:{'w':0x330,'h':0x540},[o[_0x14c936(0xc2)]]:{'w':0x330,'h':0x420},[o[_0x14c936(0xbe)]]:{'w':0x210,'h':0x330},[o[_0x14c936(0xd1)]]:{'w':0x420,'h':0x660}},v={[e[_0x14c936(0xdc)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x14c936(0xb2)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x14c936(0xc1)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x14c936(0xbc),p=_0x14c936(0xd4);function N(_0x581fdb,_0x2e178f){const _0x25ef53=_0x14c936,{w:_0x8b396c,h:_0x169da5}=g[_0x581fdb],_0x230e77=_0x2e178f===i[_0x25ef53(0xbf)]?_0x8b396c:_0x169da5,_0xa78cd8=_0x2e178f===i[_0x25ef53(0xbf)]?_0x169da5:_0x8b396c,_0x1f304e=_0x25ef53(0xb6)+_0x230e77+_0x25ef53(0xba)+_0xa78cd8+_0x25ef53(0xc4)+l+_0x25ef53(0xc6)+l+'\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.'+p+_0x25ef53(0xbd)+_0xa78cd8+_0x25ef53(0xb5)+_0x230e77+_0x25ef53(0xca),_0x4964ab=document[_0x25ef53(0xb0)](_0x25ef53(0xc7));return _0x4964ab[_0x25ef53(0xcd)]=_0x1f304e,_0x4964ab[_0x25ef53(0xd0)]=_0x25ef53(0xb1),_0x4964ab;}export{p as PRINT_CANVAS_CLASS,l as PRINT_CONTAINER_CLASS,v as PaperMarginMap,g as PaperSizePxMap,m as PrintAlign,i as PrintDirection,e as PrintPaperMargin,o as PrintPaperSize,w as PrintScale,N as createPrintStyle};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1d9c(){const _0x23eb2b=['PaperSizePxMap','Executive','PrintAlign','2768101OApSYx','50ynZsNP','12090lpckLe','exports','1453205cpMLaQ','Legal','61572gqumfM','className','Landscape','Narrow','createPrintStyle','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','FitHeight','UniverProPrint',',\x20.','Wide','Statement','style','End','innerHTML','Origin','Letter','Start','PrintScale','6657145IrqsFP','Middle','PrintPaperSize','object','10EtjCgN','Portrait','Module','11372031qDyymp','126OBewuG','Normal','None','PRINT_CONTAINER_CLASS','Custom','PRINT_CANVAS_CLASS','PaperMarginMap','printing-canvas','defineProperty','FitPage','function','createElement','Folio','Tabloid','360BEDOde','1655NTNoik','32tMahRk','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.','61918uPlxkf','toStringTag','FitWidth'];_0x1d9c=function(){return _0x23eb2b;};return _0x1d9c();}function _0x185b(_0x151ede,_0x17fc13){const _0x1d9c6f=_0x1d9c();return _0x185b=function(_0x185b4c,_0x15824f){_0x185b4c=_0x185b4c-0x9d;let _0x50ad3e=_0x1d9c6f[_0x185b4c];return _0x50ad3e;},_0x185b(_0x151ede,_0x17fc13);}(function(_0x29724b,_0x4509dc){const _0x375f88=_0x185b,_0x22a5b0=_0x29724b();while(!![]){try{const _0x492cc3=-parseInt(_0x375f88(0xc7))/0x1*(parseInt(_0x375f88(0xce))/0x2)+-parseInt(_0x375f88(0xb5))/0x3*(-parseInt(_0x375f88(0xd3))/0x4)+parseInt(_0x375f88(0xc4))/0x5*(-parseInt(_0x375f88(0xcf))/0x6)+parseInt(_0x375f88(0xcd))/0x7*(-parseInt(_0x375f88(0xc5))/0x8)+parseInt(_0x375f88(0xb4))/0x9*(parseInt(_0x375f88(0xb1))/0xa)+-parseInt(_0x375f88(0xad))/0xb+parseInt(_0x375f88(0xc3))/0xc*(parseInt(_0x375f88(0xd1))/0xd);if(_0x492cc3===_0x4509dc)break;else _0x22a5b0['push'](_0x22a5b0['shift']());}catch(_0xf1515d){_0x22a5b0['push'](_0x22a5b0['shift']());}}}(_0x1d9c,0xd2625),function(_0x5ef772,_0x3736f0){const _0x6ac8d6=_0x185b;typeof exports==_0x6ac8d6(0xb0)&&typeof module<'u'?_0x3736f0(exports):typeof define==_0x6ac8d6(0xbf)&&define['amd']?define([_0x6ac8d6(0xd0)],_0x3736f0):(_0x5ef772=typeof globalThis<'u'?globalThis:_0x5ef772||self,_0x3736f0(_0x5ef772[_0x6ac8d6(0xa2)]={}));}(this,function(_0x3abdbb){'use strict';const _0x57b5f0=_0x185b;var _0x4a22f0=(_0x5c360f=>(_0x5c360f[_0x57b5f0(0xaa)]=_0x57b5f0(0xaa),_0x5c360f['Tabloid']=_0x57b5f0(0xc2),_0x5c360f[_0x57b5f0(0xd2)]=_0x57b5f0(0xd2),_0x5c360f[_0x57b5f0(0xa5)]=_0x57b5f0(0xa5),_0x5c360f['Executive']=_0x57b5f0(0xcb),_0x5c360f[_0x57b5f0(0xc1)]=_0x57b5f0(0xc1),_0x5c360f['A3']='A3',_0x5c360f['A4']='A4',_0x5c360f['A5']='A5',_0x5c360f['B4']='B4',_0x5c360f['B5']='B5',_0x5c360f))(_0x4a22f0||{}),_0x49ea93=(_0x4e0c72=>(_0x4e0c72[_0x57b5f0(0xb2)]='Portrait',_0x4e0c72[_0x57b5f0(0x9d)]=_0x57b5f0(0x9d),_0x4e0c72))(_0x49ea93||{}),_0x5ada9a=(_0x4562fb=>(_0x4562fb[_0x57b5f0(0xa9)]=_0x57b5f0(0xa9),_0x4562fb[_0x57b5f0(0xc9)]=_0x57b5f0(0xc9),_0x4562fb[_0x57b5f0(0xa1)]=_0x57b5f0(0xa1),_0x4562fb[_0x57b5f0(0xbe)]='FitPage',_0x4562fb[_0x57b5f0(0xb9)]='Custom',_0x4562fb))(_0x5ada9a||{}),_0x3bdb17=(_0x33d51e=>(_0x33d51e[_0x57b5f0(0xab)]=_0x57b5f0(0xab),_0x33d51e[_0x57b5f0(0xa7)]='End',_0x33d51e['Middle']=_0x57b5f0(0xae),_0x33d51e))(_0x3bdb17||{}),_0x3558e9=(_0x1972d4=>(_0x1972d4[_0x57b5f0(0xb6)]=_0x57b5f0(0xb6),_0x1972d4[_0x57b5f0(0x9e)]='Narrow',_0x1972d4[_0x57b5f0(0xa4)]=_0x57b5f0(0xa4),_0x1972d4[_0x57b5f0(0xb7)]=_0x57b5f0(0xb7),_0x1972d4))(_0x3558e9||{});const _0x4d426c={[_0x4a22f0['A3']]:{'w':0x463,'h':0x633},[_0x4a22f0['A4']]:{'w':0x31a,'h':0x464},[_0x4a22f0['A5']]:{'w':0x22f,'h':0x31a},[_0x4a22f0['B4']]:{'w':0x3b0,'h':0x540},[_0x4a22f0['B5']]:{'w':0x299,'h':0x3b0},[_0x4a22f0[_0x57b5f0(0xcb)]]:{'w':0x2b8,'h':0x3f0},[_0x4a22f0['Folio']]:{'w':0x330,'h':0x4e0},[_0x4a22f0[_0x57b5f0(0xd2)]]:{'w':0x330,'h':0x540},[_0x4a22f0['Letter']]:{'w':0x330,'h':0x420},[_0x4a22f0['Statement']]:{'w':0x210,'h':0x330},[_0x4a22f0[_0x57b5f0(0xc2)]]:{'w':0x420,'h':0x660}},_0x5df607={[_0x3558e9[_0x57b5f0(0xb6)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x3558e9[_0x57b5f0(0x9e)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x3558e9[_0x57b5f0(0xa4)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x3558e9[_0x57b5f0(0xb7)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0xc62a55='printing-canvas-container',_0x37c1f7=_0x57b5f0(0xbc);function _0x11b9b8(_0x1b2a00,_0x1ced13){const _0x4637bd=_0x57b5f0,{w:_0x280777,h:_0x1bc00f}=_0x4d426c[_0x1b2a00],_0x56b4a4=_0x1ced13===_0x49ea93[_0x4637bd(0xb2)]?_0x280777:_0x1bc00f,_0x2d3aeb=_0x1ced13===_0x49ea93[_0x4637bd(0xb2)]?_0x1bc00f:_0x280777,_0x35dca7='\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'+_0x56b4a4+'px\x20'+_0x2d3aeb+_0x4637bd(0xc6)+_0xc62a55+_0x4637bd(0xa3)+_0xc62a55+'\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.'+_0x37c1f7+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x2d3aeb+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x56b4a4+_0x4637bd(0xa0),_0x2a4871=document[_0x4637bd(0xc0)](_0x4637bd(0xa6));return _0x2a4871[_0x4637bd(0xa8)]=_0x35dca7,_0x2a4871[_0x4637bd(0xd4)]='offline-printing-css',_0x2a4871;}_0x3abdbb[_0x57b5f0(0xba)]=_0x37c1f7,_0x3abdbb[_0x57b5f0(0xb8)]=_0xc62a55,_0x3abdbb[_0x57b5f0(0xbb)]=_0x5df607,_0x3abdbb[_0x57b5f0(0xca)]=_0x4d426c,_0x3abdbb[_0x57b5f0(0xcc)]=_0x3bdb17,_0x3abdbb['PrintDirection']=_0x49ea93,_0x3abdbb['PrintPaperMargin']=_0x3558e9,_0x3abdbb[_0x57b5f0(0xaf)]=_0x4a22f0,_0x3abdbb[_0x57b5f0(0xac)]=_0x5ada9a,_0x3abdbb[_0x57b5f0(0x9f)]=_0x11b9b8,Object[_0x57b5f0(0xbd)](_0x3abdbb,Symbol[_0x57b5f0(0xc8)],{'value':_0x57b5f0(0xb3)});}));
1
+ (function(_0x1f5c13,_0x5cfccd){const _0x1bb2af=_0x516e,_0xf4c33d=_0x1f5c13();while(!![]){try{const _0x9feb42=parseInt(_0x1bb2af(0xad))/0x1*(parseInt(_0x1bb2af(0x9b))/0x2)+parseInt(_0x1bb2af(0xaa))/0x3*(parseInt(_0x1bb2af(0xa3))/0x4)+-parseInt(_0x1bb2af(0xc2))/0x5*(parseInt(_0x1bb2af(0x90))/0x6)+parseInt(_0x1bb2af(0xc1))/0x7*(-parseInt(_0x1bb2af(0x9f))/0x8)+-parseInt(_0x1bb2af(0xae))/0x9+parseInt(_0x1bb2af(0x9c))/0xa*(-parseInt(_0x1bb2af(0xb0))/0xb)+parseInt(_0x1bb2af(0xb3))/0xc;if(_0x9feb42===_0x5cfccd)break;else _0xf4c33d['push'](_0xf4c33d['shift']());}catch(_0x4f1310){_0xf4c33d['push'](_0xf4c33d['shift']());}}}(_0x54c1,0x49e2b),function(_0x24d232,_0x85a2ff){const _0x1fe31b=_0x516e;typeof exports==_0x1fe31b(0xa0)&&typeof module<'u'?_0x85a2ff(exports):typeof define=='function'&&define[_0x1fe31b(0xb1)]?define([_0x1fe31b(0xbe)],_0x85a2ff):(_0x24d232=typeof globalThis<'u'?globalThis:_0x24d232||self,_0x85a2ff(_0x24d232['UniverProPrint']={}));}(this,function(_0xa99324){'use strict';const _0x5e0996=_0x516e;var _0x44af9c=(_0x425002=>(_0x425002[_0x5e0996(0xbb)]=_0x5e0996(0xbb),_0x425002[_0x5e0996(0xb8)]=_0x5e0996(0xb8),_0x425002[_0x5e0996(0x94)]=_0x5e0996(0x94),_0x425002[_0x5e0996(0xbf)]=_0x5e0996(0xbf),_0x425002['Executive']=_0x5e0996(0x92),_0x425002[_0x5e0996(0xc0)]=_0x5e0996(0xc0),_0x425002['A3']='A3',_0x425002['A4']='A4',_0x425002['A5']='A5',_0x425002['B4']='B4',_0x425002['B5']='B5',_0x425002))(_0x44af9c||{}),_0x539a4e=(_0x5da6ca=>(_0x5da6ca[_0x5e0996(0x9e)]=_0x5e0996(0x9e),_0x5da6ca['Landscape']=_0x5e0996(0x8f),_0x5da6ca))(_0x539a4e||{}),_0x5c2b7e=(_0x4052af=>(_0x4052af['Origin']=_0x5e0996(0xbd),_0x4052af[_0x5e0996(0xa8)]=_0x5e0996(0xa8),_0x4052af[_0x5e0996(0xb6)]=_0x5e0996(0xb6),_0x4052af[_0x5e0996(0xb9)]=_0x5e0996(0xb9),_0x4052af['Custom']=_0x5e0996(0xb4),_0x4052af))(_0x5c2b7e||{}),_0x48639e=(_0x5cdf47=>(_0x5cdf47[_0x5e0996(0xaf)]=_0x5e0996(0xaf),_0x5cdf47[_0x5e0996(0x99)]=_0x5e0996(0x99),_0x5cdf47[_0x5e0996(0xab)]='Middle',_0x5cdf47))(_0x48639e||{}),_0x57caf8=(_0x582e33=>(_0x582e33[_0x5e0996(0x8e)]='Normal',_0x582e33['Narrow']='Narrow',_0x582e33[_0x5e0996(0xa2)]='Wide',_0x582e33[_0x5e0996(0x98)]=_0x5e0996(0x98),_0x582e33))(_0x57caf8||{});const _0x22b2a6={[_0x44af9c['A3']]:{'w':0x463,'h':0x633},[_0x44af9c['A4']]:{'w':0x31a,'h':0x464},[_0x44af9c['A5']]:{'w':0x22f,'h':0x31a},[_0x44af9c['B4']]:{'w':0x3b0,'h':0x540},[_0x44af9c['B5']]:{'w':0x299,'h':0x3b0},[_0x44af9c['Executive']]:{'w':0x2b8,'h':0x3f0},[_0x44af9c[_0x5e0996(0xc0)]]:{'w':0x330,'h':0x4e0},[_0x44af9c[_0x5e0996(0x94)]]:{'w':0x330,'h':0x540},[_0x44af9c[_0x5e0996(0xbb)]]:{'w':0x330,'h':0x420},[_0x44af9c[_0x5e0996(0xbf)]]:{'w':0x210,'h':0x330},[_0x44af9c[_0x5e0996(0xb8)]]:{'w':0x420,'h':0x660}},_0xe9de8d={[_0x57caf8[_0x5e0996(0x8e)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x57caf8[_0x5e0996(0xc3)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x57caf8[_0x5e0996(0xa2)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x57caf8[_0x5e0996(0x98)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x3ba3c9=_0x5e0996(0xa9),_0x117060=_0x5e0996(0x93);function _0x2c9512(_0xc72406,_0x522be3){const _0xaa59a0=_0x5e0996,{w:_0xd13d11,h:_0x45eaf8}=_0x22b2a6[_0xc72406],_0x20bdb3=_0x522be3===_0x539a4e[_0xaa59a0(0x9e)]?_0xd13d11:_0x45eaf8,_0x5977d1=_0x522be3===_0x539a4e[_0xaa59a0(0x9e)]?_0x45eaf8:_0xd13d11,_0x47077b=_0xaa59a0(0x96)+_0x20bdb3+'px\x20'+_0x5977d1+'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.'+_0x3ba3c9+',\x20.'+_0x3ba3c9+_0xaa59a0(0x91)+_0x117060+_0xaa59a0(0xa4)+_0x5977d1+_0xaa59a0(0x9d)+_0x20bdb3+_0xaa59a0(0x97),_0x3f8cde=document[_0xaa59a0(0x8d)](_0xaa59a0(0x8c));return _0x3f8cde['innerHTML']=_0x47077b,_0x3f8cde[_0xaa59a0(0xb7)]=_0xaa59a0(0xbc),_0x3f8cde;}_0xa99324[_0x5e0996(0xa7)]=_0x117060,_0xa99324[_0x5e0996(0xa6)]=_0x3ba3c9,_0xa99324['PaperMarginMap']=_0xe9de8d,_0xa99324['PaperSizePxMap']=_0x22b2a6,_0xa99324[_0x5e0996(0xac)]=_0x48639e,_0xa99324[_0x5e0996(0xa1)]=_0x539a4e,_0xa99324[_0x5e0996(0xba)]=_0x57caf8,_0xa99324[_0x5e0996(0xa5)]=_0x44af9c,_0xa99324[_0x5e0996(0x95)]=_0x5c2b7e,_0xa99324[_0x5e0996(0x9a)]=_0x2c9512,Object[_0x5e0996(0xb5)](_0xa99324,Symbol['toStringTag'],{'value':_0x5e0996(0xb2)});}));function _0x516e(_0x5de850,_0x3dec9f){const _0x54c10c=_0x54c1();return _0x516e=function(_0x516ee9,_0x541403){_0x516ee9=_0x516ee9-0x8c;let _0x1f30c1=_0x54c10c[_0x516ee9];return _0x1f30c1;},_0x516e(_0x5de850,_0x3dec9f);}function _0x54c1(){const _0x2fecd5=['Start','76813nHMorX','amd','Module','17677680CMxWhR','Custom','defineProperty','FitHeight','className','Tabloid','FitPage','PrintPaperMargin','Letter','offline-printing-css','Origin','exports','Statement','Folio','98PxsrIJ','5nSxTXZ','Narrow','style','createElement','Normal','Landscape','3217740dxbawF','\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.','Executive','printing-canvas','Legal','PrintScale','\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','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','None','End','createPrintStyle','138682uGrzpx','490RZTFMK','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Portrait','303376BaYFlg','object','PrintDirection','Wide','4UmvDgg','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','PrintPaperSize','PRINT_CONTAINER_CLASS','PRINT_CANVAS_CLASS','FitWidth','printing-canvas-container','957867mTEOoY','Middle','PrintAlign','6JcJlFS','4468275IiamMl'];_0x54c1=function(){return _0x2fecd5;};return _0x54c1();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/print",
3
- "version": "0.6.10-nightly.202504101607",
3
+ "version": "0.6.10-nightly.202504121606",
4
4
  "private": false,
5
5
  "description": "Print module for UniverJS",
6
6
  "author": "DreamNum <developer@univer.ai>",