@univerjs-pro/print 0.6.0 → 0.6.1-nightly.202502211606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3126be=_0x205b;(function(_0x321fcb,_0x11ccc2){const _0x253bd6=_0x205b,_0x1d81cf=_0x321fcb();while(!![]){try{const _0x465f0c=-parseInt(_0x253bd6(0x15c))/0x1+parseInt(_0x253bd6(0x152))/0x2*(-parseInt(_0x253bd6(0x15a))/0x3)+-parseInt(_0x253bd6(0x150))/0x4+parseInt(_0x253bd6(0x144))/0x5*(-parseInt(_0x253bd6(0x151))/0x6)+-parseInt(_0x253bd6(0x165))/0x7+parseInt(_0x253bd6(0x167))/0x8*(-parseInt(_0x253bd6(0x164))/0x9)+parseInt(_0x253bd6(0x142))/0xa;if(_0x465f0c===_0x11ccc2)break;else _0x1d81cf['push'](_0x1d81cf['shift']());}catch(_0x2e115e){_0x1d81cf['push'](_0x1d81cf['shift']());}}}(_0x28a2,0x8cc6b));function _0x28a2(){const _0x187103=['Statement','style','Normal','printing-canvas','9udFAFi','7671279NrdhEr','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.','7823192eJchzr','\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.','Legal','Folio','Narrow','Letter','Executive','toStringTag','Wide','55098270mzsmqw','Portrait','1436170hoHetX','className','Middle','printing-canvas-container','FitHeight','None','px\x20','PaperSizePxMap','Custom','PrintPaperSize','Tabloid','FitPage','4182944KohoLr','6YkisEm','13188QcIxaO','PrintDirection','PaperMarginMap','PrintScale','FitWidth','Origin','PrintPaperMargin',',\x20.','228eysPPl','innerHTML','1025298EYEezx','\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','PrintAlign','offline-printing-css'];_0x28a2=function(){return _0x187103;};return _0x28a2();}Object['defineProperty'](exports,Symbol[_0x3126be(0x16e)],{'value':'Module'});function _0x205b(_0x16620c,_0x49f12a){const _0x28a2d0=_0x28a2();return _0x205b=function(_0x205b8a,_0x1ec448){_0x205b8a=_0x205b8a-0x142;let _0x494cd1=_0x28a2d0[_0x205b8a];return _0x494cd1;},_0x205b(_0x16620c,_0x49f12a);}var e=(_0x376ea0=>(_0x376ea0[_0x3126be(0x16c)]='Letter',_0x376ea0[_0x3126be(0x14e)]=_0x3126be(0x14e),_0x376ea0[_0x3126be(0x169)]=_0x3126be(0x169),_0x376ea0[_0x3126be(0x160)]=_0x3126be(0x160),_0x376ea0[_0x3126be(0x16d)]='Executive',_0x376ea0[_0x3126be(0x16a)]=_0x3126be(0x16a),_0x376ea0['A3']='A3',_0x376ea0['A4']='A4',_0x376ea0['A5']='A5',_0x376ea0['B4']='B4',_0x376ea0['B5']='B5',_0x376ea0))(e||{}),i=(_0x2a9847=>(_0x2a9847['Portrait']='Portrait',_0x2a9847['Landscape']='Landscape',_0x2a9847))(i||{}),c=(_0x4535ee=>(_0x4535ee[_0x3126be(0x157)]=_0x3126be(0x157),_0x4535ee['FitWidth']=_0x3126be(0x156),_0x4535ee[_0x3126be(0x148)]=_0x3126be(0x148),_0x4535ee['FitPage']=_0x3126be(0x14f),_0x4535ee[_0x3126be(0x14c)]=_0x3126be(0x14c),_0x4535ee))(c||{}),g=(_0x38c084=>(_0x38c084['Start']='Start',_0x38c084['End']='End',_0x38c084[_0x3126be(0x146)]=_0x3126be(0x146),_0x38c084))(g||{}),o=(_0xefec6e=>(_0xefec6e[_0x3126be(0x162)]=_0x3126be(0x162),_0xefec6e['Narrow']='Narrow',_0xefec6e[_0x3126be(0x16f)]=_0x3126be(0x16f),_0xefec6e[_0x3126be(0x149)]=_0x3126be(0x149),_0xefec6e))(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[_0x3126be(0x16d)]]:{'w':0x2b8,'h':0x3f0},[e['Folio']]:{'w':0x330,'h':0x4e0},[e[_0x3126be(0x169)]]:{'w':0x330,'h':0x540},[e[_0x3126be(0x16c)]]:{'w':0x330,'h':0x420},[e['Statement']]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x3126be(0x162)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x3126be(0x16b)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x3126be(0x16f)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x3126be(0x147),p=_0x3126be(0x163);function A(_0x2b53e6,_0x385d5b){const _0x305c70=_0x3126be,{w:_0x1ac69b,h:_0x2b0020}=m[_0x2b53e6],_0x3d612f=_0x385d5b===i[_0x305c70(0x143)]?_0x1ac69b:_0x2b0020,_0x3f4fe6=_0x385d5b===i['Portrait']?_0x2b0020:_0x1ac69b,_0x340dc1=_0x305c70(0x15d)+_0x3d612f+_0x305c70(0x14a)+_0x3f4fe6+_0x305c70(0x166)+n+_0x305c70(0x159)+n+_0x305c70(0x168)+p+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x3f4fe6+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x3d612f+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x503e34=document['createElement'](_0x305c70(0x161));return _0x503e34[_0x305c70(0x15b)]=_0x340dc1,_0x503e34[_0x305c70(0x145)]=_0x305c70(0x15f),_0x503e34;}exports['PRINT_CANVAS_CLASS']=p,exports['PRINT_CONTAINER_CLASS']=n,exports[_0x3126be(0x154)]=N,exports[_0x3126be(0x14b)]=m,exports[_0x3126be(0x15e)]=g,exports[_0x3126be(0x153)]=i,exports[_0x3126be(0x158)]=o,exports[_0x3126be(0x14d)]=e,exports[_0x3126be(0x155)]=c,exports['createPrintStyle']=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x42e72c=_0x3465;(function(_0x189584,_0x8d6498){const _0x28eb66=_0x3465,_0x3bc4ef=_0x189584();while(!![]){try{const _0x4c7850=-parseInt(_0x28eb66(0x168))/0x1*(-parseInt(_0x28eb66(0x18c))/0x2)+-parseInt(_0x28eb66(0x16d))/0x3*(-parseInt(_0x28eb66(0x181))/0x4)+-parseInt(_0x28eb66(0x186))/0x5*(parseInt(_0x28eb66(0x18a))/0x6)+parseInt(_0x28eb66(0x17f))/0x7*(parseInt(_0x28eb66(0x180))/0x8)+-parseInt(_0x28eb66(0x177))/0x9+parseInt(_0x28eb66(0x18b))/0xa+parseInt(_0x28eb66(0x185))/0xb;if(_0x4c7850===_0x8d6498)break;else _0x3bc4ef['push'](_0x3bc4ef['shift']());}catch(_0x5ec585){_0x3bc4ef['push'](_0x3bc4ef['shift']());}}}(_0x1d83,0x72d69));var o=(_0x404f4e=>(_0x404f4e['Letter']=_0x42e72c(0x17b),_0x404f4e[_0x42e72c(0x171)]=_0x42e72c(0x171),_0x404f4e['Legal']='Legal',_0x404f4e[_0x42e72c(0x178)]=_0x42e72c(0x178),_0x404f4e[_0x42e72c(0x187)]=_0x42e72c(0x187),_0x404f4e[_0x42e72c(0x183)]='Folio',_0x404f4e['A3']='A3',_0x404f4e['A4']='A4',_0x404f4e['A5']='A5',_0x404f4e['B4']='B4',_0x404f4e['B5']='B5',_0x404f4e))(o||{}),i=(_0x41dda8=>(_0x41dda8[_0x42e72c(0x179)]=_0x42e72c(0x179),_0x41dda8[_0x42e72c(0x17e)]=_0x42e72c(0x17e),_0x41dda8))(i||{}),w=(_0x13a2e4=>(_0x13a2e4['Origin']=_0x42e72c(0x189),_0x13a2e4[_0x42e72c(0x175)]=_0x42e72c(0x175),_0x13a2e4[_0x42e72c(0x17d)]=_0x42e72c(0x17d),_0x13a2e4['FitPage']=_0x42e72c(0x173),_0x13a2e4[_0x42e72c(0x174)]=_0x42e72c(0x174),_0x13a2e4))(w||{}),m=(_0x1669ae=>(_0x1669ae[_0x42e72c(0x16b)]=_0x42e72c(0x16b),_0x1669ae['End']=_0x42e72c(0x17a),_0x1669ae[_0x42e72c(0x172)]=_0x42e72c(0x172),_0x1669ae))(m||{}),e=(_0x32a953=>(_0x32a953[_0x42e72c(0x16f)]=_0x42e72c(0x16f),_0x32a953[_0x42e72c(0x16e)]=_0x42e72c(0x16e),_0x32a953[_0x42e72c(0x184)]=_0x42e72c(0x184),_0x32a953['None']=_0x42e72c(0x17c),_0x32a953))(e||{});const g={[o['A3']]:{'w':0x463,'h':0x633},[o['A4']]:{'w':0x31a,'h':0x464},[o['A5']]:{'w':0x22f,'h':0x31a},[o['B4']]:{'w':0x3b0,'h':0x540},[o['B5']]:{'w':0x299,'h':0x3b0},[o['Executive']]:{'w':0x2b8,'h':0x3f0},[o[_0x42e72c(0x183)]]:{'w':0x330,'h':0x4e0},[o[_0x42e72c(0x170)]]:{'w':0x330,'h':0x540},[o[_0x42e72c(0x17b)]]:{'w':0x330,'h':0x420},[o[_0x42e72c(0x178)]]:{'w':0x210,'h':0x330},[o[_0x42e72c(0x171)]]:{'w':0x420,'h':0x660}},v={[e['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x42e72c(0x16e)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x42e72c(0x17c)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x42e72c(0x18d),p=_0x42e72c(0x188);function _0x3465(_0x5e7b95,_0x2eba3d){const _0x1d8321=_0x1d83();return _0x3465=function(_0x3465a7,_0x451e74){_0x3465a7=_0x3465a7-0x166;let _0x13d912=_0x1d8321[_0x3465a7];return _0x13d912;},_0x3465(_0x5e7b95,_0x2eba3d);}function N(_0x1d2e04,_0x4d5bca){const _0x61bb30=_0x42e72c,{w:_0x51cf85,h:_0x5f2301}=g[_0x1d2e04],_0x526aef=_0x4d5bca===i[_0x61bb30(0x179)]?_0x51cf85:_0x5f2301,_0x2f7cd7=_0x4d5bca===i[_0x61bb30(0x179)]?_0x5f2301:_0x51cf85,_0x31d994='\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'+_0x526aef+'px\x20'+_0x2f7cd7+_0x61bb30(0x18e)+l+',\x20.'+l+_0x61bb30(0x167)+p+_0x61bb30(0x176)+_0x2f7cd7+_0x61bb30(0x16a)+_0x526aef+_0x61bb30(0x166),_0x5e3183=document['createElement'](_0x61bb30(0x169));return _0x5e3183['innerHTML']=_0x31d994,_0x5e3183[_0x61bb30(0x182)]=_0x61bb30(0x16c),_0x5e3183;}function _0x1d83(){const _0x2a4950=['Statement','Portrait','End','Letter','None','FitHeight','Landscape','312991gwWDrN','8KzvTNi','684520exlJKm','className','Folio','Wide','446578NgfDTz','1702130hALQZv','Executive','printing-canvas','Origin','6oHcvey','1194370ixDckJ','478moXxIb','printing-canvas-container','px;\x20\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','\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.','1851EtiSaP','style','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Start','offline-printing-css','6RnoDtD','Narrow','Normal','Legal','Tabloid','Middle','FitPage','Custom','FitWidth','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','1607346CyXmsH'];_0x1d83=function(){return _0x2a4950;};return _0x1d83();}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
|
|
1
|
+
function _0x5133(){const _0x34ed0c=['Letter','468GjSWMg','function','PrintPaperSize','Custom','Normal','3131272tRYEdf','printing-canvas','\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','Tabloid','PrintScale','3020JdFIYn','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','className','PrintAlign','defineProperty','End','16JVVfZN','Folio','PRINT_CONTAINER_CLASS','\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.','UniverProPrint','printing-canvas-container','exports','amd','PaperMarginMap','createPrintStyle','Narrow','PaperSizePxMap','object','innerHTML','150jEZELq','9Votzmz',',\x20.','Legal','11851790XSghZC','Executive','createElement','Module','None','102606HnoCZe','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','FitHeight','6372490UenZvR','Middle','FitWidth','Wide','PRINT_CANVAS_CLASS','FitPage','Origin','Statement','43854204BobdcD','401723qstTBL','Portrait','style','11nHklAf','offline-printing-css'];_0x5133=function(){return _0x34ed0c;};return _0x5133();}function _0x4fa2(_0x28f3ac,_0x3274ed){const _0x5133f3=_0x5133();return _0x4fa2=function(_0x4fa21c,_0x55bbf4){_0x4fa21c=_0x4fa21c-0x1b0;let _0x51135e=_0x5133f3[_0x4fa21c];return _0x51135e;},_0x4fa2(_0x28f3ac,_0x3274ed);}(function(_0x5befe3,_0x2c7e17){const _0x5b0b10=_0x4fa2,_0x2f16b6=_0x5befe3();while(!![]){try{const _0x91a3b5=-parseInt(_0x5b0b10(0x1e8))/0x1*(-parseInt(_0x5b0b10(0x1b9))/0x2)+parseInt(_0x5b0b10(0x1d6))/0x3*(-parseInt(_0x5b0b10(0x1bf))/0x4)+-parseInt(_0x5b0b10(0x1d9))/0x5+-parseInt(_0x5b0b10(0x1cd))/0x6*(parseInt(_0x5b0b10(0x1e2))/0x7)+parseInt(_0x5b0b10(0x1b4))/0x8+parseInt(_0x5b0b10(0x1ce))/0x9*(-parseInt(_0x5b0b10(0x1d1))/0xa)+parseInt(_0x5b0b10(0x1e5))/0xb*(parseInt(_0x5b0b10(0x1e1))/0xc);if(_0x91a3b5===_0x2c7e17)break;else _0x2f16b6['push'](_0x2f16b6['shift']());}catch(_0x575726){_0x2f16b6['push'](_0x2f16b6['shift']());}}}(_0x5133,0xb01f4),function(_0x216d4f,_0x3cf4be){const _0xf1ca0=_0x4fa2;typeof exports==_0xf1ca0(0x1cb)&&typeof module<'u'?_0x3cf4be(exports):typeof define==_0xf1ca0(0x1b0)&&define[_0xf1ca0(0x1c6)]?define([_0xf1ca0(0x1c5)],_0x3cf4be):(_0x216d4f=typeof globalThis<'u'?globalThis:_0x216d4f||self,_0x3cf4be(_0x216d4f[_0xf1ca0(0x1c3)]={}));}(this,function(_0xc67670){'use strict';const _0x1131b4=_0x4fa2;var _0x2bb98c=(_0x38b8bf=>(_0x38b8bf[_0x1131b4(0x1e7)]=_0x1131b4(0x1e7),_0x38b8bf['Tabloid']=_0x1131b4(0x1b7),_0x38b8bf['Legal']=_0x1131b4(0x1d0),_0x38b8bf[_0x1131b4(0x1e0)]='Statement',_0x38b8bf[_0x1131b4(0x1d2)]=_0x1131b4(0x1d2),_0x38b8bf[_0x1131b4(0x1c0)]=_0x1131b4(0x1c0),_0x38b8bf['A3']='A3',_0x38b8bf['A4']='A4',_0x38b8bf['A5']='A5',_0x38b8bf['B4']='B4',_0x38b8bf['B5']='B5',_0x38b8bf))(_0x2bb98c||{}),_0x5efbb0=(_0x10ef0a=>(_0x10ef0a[_0x1131b4(0x1e3)]='Portrait',_0x10ef0a['Landscape']='Landscape',_0x10ef0a))(_0x5efbb0||{}),_0xbb6e49=(_0x2c5c78=>(_0x2c5c78[_0x1131b4(0x1df)]=_0x1131b4(0x1df),_0x2c5c78[_0x1131b4(0x1db)]=_0x1131b4(0x1db),_0x2c5c78[_0x1131b4(0x1d8)]='FitHeight',_0x2c5c78[_0x1131b4(0x1de)]='FitPage',_0x2c5c78[_0x1131b4(0x1b2)]='Custom',_0x2c5c78))(_0xbb6e49||{}),_0x565f9f=(_0x32b023=>(_0x32b023['Start']='Start',_0x32b023['End']=_0x1131b4(0x1be),_0x32b023[_0x1131b4(0x1da)]=_0x1131b4(0x1da),_0x32b023))(_0x565f9f||{}),_0x5613c6=(_0x216fe5=>(_0x216fe5['Normal']=_0x1131b4(0x1b3),_0x216fe5[_0x1131b4(0x1c9)]=_0x1131b4(0x1c9),_0x216fe5[_0x1131b4(0x1dc)]=_0x1131b4(0x1dc),_0x216fe5[_0x1131b4(0x1d5)]=_0x1131b4(0x1d5),_0x216fe5))(_0x5613c6||{});const _0x4db8b7={[_0x2bb98c['A3']]:{'w':0x463,'h':0x633},[_0x2bb98c['A4']]:{'w':0x31a,'h':0x464},[_0x2bb98c['A5']]:{'w':0x22f,'h':0x31a},[_0x2bb98c['B4']]:{'w':0x3b0,'h':0x540},[_0x2bb98c['B5']]:{'w':0x299,'h':0x3b0},[_0x2bb98c[_0x1131b4(0x1d2)]]:{'w':0x2b8,'h':0x3f0},[_0x2bb98c[_0x1131b4(0x1c0)]]:{'w':0x330,'h':0x4e0},[_0x2bb98c[_0x1131b4(0x1d0)]]:{'w':0x330,'h':0x540},[_0x2bb98c[_0x1131b4(0x1e7)]]:{'w':0x330,'h':0x420},[_0x2bb98c[_0x1131b4(0x1e0)]]:{'w':0x210,'h':0x330},[_0x2bb98c[_0x1131b4(0x1b7)]]:{'w':0x420,'h':0x660}},_0x948668={[_0x5613c6[_0x1131b4(0x1b3)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x5613c6[_0x1131b4(0x1c9)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x5613c6['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x5613c6[_0x1131b4(0x1d5)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x4806aa=_0x1131b4(0x1c4),_0x3949f3=_0x1131b4(0x1b5);function _0x38d743(_0x3faf8d,_0x3e7fa1){const _0x28aa40=_0x1131b4,{w:_0x34d42e,h:_0xb190fd}=_0x4db8b7[_0x3faf8d],_0x33ac25=_0x3e7fa1===_0x5efbb0[_0x28aa40(0x1e3)]?_0x34d42e:_0xb190fd,_0x168dd0=_0x3e7fa1===_0x5efbb0[_0x28aa40(0x1e3)]?_0xb190fd:_0x34d42e,_0x4f38b6=_0x28aa40(0x1b6)+_0x33ac25+'px\x20'+_0x168dd0+'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.'+_0x4806aa+_0x28aa40(0x1cf)+_0x4806aa+_0x28aa40(0x1c2)+_0x3949f3+_0x28aa40(0x1ba)+_0x168dd0+_0x28aa40(0x1d7)+_0x33ac25+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x51ee31=document[_0x28aa40(0x1d3)](_0x28aa40(0x1e4));return _0x51ee31[_0x28aa40(0x1cc)]=_0x4f38b6,_0x51ee31[_0x28aa40(0x1bb)]=_0x28aa40(0x1e6),_0x51ee31;}_0xc67670[_0x1131b4(0x1dd)]=_0x3949f3,_0xc67670[_0x1131b4(0x1c1)]=_0x4806aa,_0xc67670[_0x1131b4(0x1c7)]=_0x948668,_0xc67670[_0x1131b4(0x1ca)]=_0x4db8b7,_0xc67670[_0x1131b4(0x1bc)]=_0x565f9f,_0xc67670['PrintDirection']=_0x5efbb0,_0xc67670['PrintPaperMargin']=_0x5613c6,_0xc67670[_0x1131b4(0x1b1)]=_0x2bb98c,_0xc67670[_0x1131b4(0x1b8)]=_0xbb6e49,_0xc67670[_0x1131b4(0x1c8)]=_0x38d743,Object[_0x1131b4(0x1bd)](_0xc67670,Symbol['toStringTag'],{'value':_0x1131b4(0x1d4)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1-nightly.202502211606",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.7.3",
|
|
46
|
-
"vite": "^6.1.
|
|
47
|
-
"vitest": "^3.0.
|
|
48
|
-
"@univerjs-infra/shared": "0.6.
|
|
46
|
+
"vite": "^6.1.1",
|
|
47
|
+
"vitest": "^3.0.6",
|
|
48
|
+
"@univerjs-infra/shared": "0.6.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|