@univerjs-pro/print 0.6.3 → 0.6.4-nightly.202503111607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +2 -2
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3f42d5=_0x3f13;(function(_0x284746,_0x7d7d4f){const _0x36fe39=_0x3f13,_0x4d0f10=_0x284746();while(!![]){try{const _0x3f72e8=parseInt(_0x36fe39(0x81))/0x1*(-parseInt(_0x36fe39(0x87))/0x2)+-parseInt(_0x36fe39(0x7c))/0x3+-parseInt(_0x36fe39(0x98))/0x4+-parseInt(_0x36fe39(0x79))/0x5*(parseInt(_0x36fe39(0x9d))/0x6)+parseInt(_0x36fe39(0x9f))/0x7+-parseInt(_0x36fe39(0x7e))/0x8+parseInt(_0x36fe39(0x7b))/0x9;if(_0x3f72e8===_0x7d7d4f)break;else _0x4d0f10['push'](_0x4d0f10['shift']());}catch(_0x24e99b){_0x4d0f10['push'](_0x4d0f10['shift']());}}}(_0x3016,0x8e630));Object['defineProperty'](exports,Symbol[_0x3f42d5(0xa3)],{'value':'Module'});var e=(_0x505969=>(_0x505969[_0x3f42d5(0x92)]='Letter',_0x505969[_0x3f42d5(0x8d)]=_0x3f42d5(0x8d),_0x505969[_0x3f42d5(0xa2)]=_0x3f42d5(0xa2),_0x505969[_0x3f42d5(0x9e)]=_0x3f42d5(0x9e),_0x505969[_0x3f42d5(0x95)]='Executive',_0x505969[_0x3f42d5(0x93)]=_0x3f42d5(0x93),_0x505969['A3']='A3',_0x505969['A4']='A4',_0x505969['A5']='A5',_0x505969['B4']='B4',_0x505969['B5']='B5',_0x505969))(e||{}),i=(_0x2c4a01=>(_0x2c4a01[_0x3f42d5(0xa7)]=_0x3f42d5(0xa7),_0x2c4a01[_0x3f42d5(0x99)]=_0x3f42d5(0x99),_0x2c4a01))(i||{}),c=(_0x15682c=>(_0x15682c[_0x3f42d5(0x9a)]=_0x3f42d5(0x9a),_0x15682c['FitWidth']=_0x3f42d5(0x97),_0x15682c['FitHeight']='FitHeight',_0x15682c[_0x3f42d5(0x80)]='FitPage',_0x15682c['Custom']=_0x3f42d5(0x91),_0x15682c))(c||{}),g=(_0x2e4bd6=>(_0x2e4bd6[_0x3f42d5(0xa6)]=_0x3f42d5(0xa6),_0x2e4bd6[_0x3f42d5(0x82)]=_0x3f42d5(0x82),_0x2e4bd6[_0x3f42d5(0xa9)]=_0x3f42d5(0xa9),_0x2e4bd6))(g||{}),o=(_0x486f5a=>(_0x486f5a[_0x3f42d5(0x7a)]=_0x3f42d5(0x7a),_0x486f5a[_0x3f42d5(0x89)]=_0x3f42d5(0x89),_0x486f5a['Wide']=_0x3f42d5(0xa5),_0x486f5a[_0x3f42d5(0x90)]=_0x3f42d5(0x90),_0x486f5a))(o||{});function _0x3016(){const _0x44c791=['Executive','PaperMarginMap','FitWidth','3030512SpzFVi','Landscape','Origin','createElement','offline-printing-css','17184LKKAjX','Statement','6324507xhAYXY','PRINT_CONTAINER_CLASS',',\x20.','Legal','toStringTag','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Wide','Start','Portrait','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','Middle','PrintScale','1495EvTKnQ','Normal','25603857FdiEvo','601392oCvqPs','PRINT_CANVAS_CLASS','7891200KclUeu','PrintAlign','FitPage','5nCMNrC','End','style','px\x20','printing-canvas','PrintPaperSize','145732TDhZwp','className','Narrow','printing-canvas-container','innerHTML','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.','Tabloid','\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.','PrintDirection','None','Custom','Letter','Folio','PaperSizePxMap'];_0x3016=function(){return _0x44c791;};return _0x3016();}function _0x3f13(_0x2813d8,_0x508b28){const _0x3016a3=_0x3016();return _0x3f13=function(_0x3f1306,_0x3336ac){_0x3f1306=_0x3f1306-0x78;let _0x75644a=_0x3016a3[_0x3f1306];return _0x75644a;},_0x3f13(_0x2813d8,_0x508b28);}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[_0x3f42d5(0x95)]]:{'w':0x2b8,'h':0x3f0},[e['Folio']]:{'w':0x330,'h':0x4e0},[e[_0x3f42d5(0xa2)]]:{'w':0x330,'h':0x540},[e['Letter']]:{'w':0x330,'h':0x420},[e[_0x3f42d5(0x9e)]]:{'w':0x210,'h':0x330},[e[_0x3f42d5(0x8d)]]:{'w':0x420,'h':0x660}},N={[o[_0x3f42d5(0x7a)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x3f42d5(0x89)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x3f42d5(0x8a),p=_0x3f42d5(0x85);function A(_0x1770b5,_0xd5c2a5){const _0x40e196=_0x3f42d5,{w:_0x5de340,h:_0xe0efb0}=m[_0x1770b5],_0x225a59=_0xd5c2a5===i[_0x40e196(0xa7)]?_0x5de340:_0xe0efb0,_0x134410=_0xd5c2a5===i[_0x40e196(0xa7)]?_0xe0efb0:_0x5de340,_0x36dd4a='\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'+_0x225a59+_0x40e196(0x84)+_0x134410+_0x40e196(0x8c)+n+_0x40e196(0xa1)+n+_0x40e196(0x8e)+p+_0x40e196(0xa8)+_0x134410+_0x40e196(0xa4)+_0x225a59+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x55fbff=document[_0x40e196(0x9b)](_0x40e196(0x83));return _0x55fbff[_0x40e196(0x8b)]=_0x36dd4a,_0x55fbff[_0x40e196(0x88)]=_0x40e196(0x9c),_0x55fbff;}exports[_0x3f42d5(0x7d)]=p,exports[_0x3f42d5(0xa0)]=n,exports[_0x3f42d5(0x96)]=N,exports[_0x3f42d5(0x94)]=m,exports[_0x3f42d5(0x7f)]=g,exports[_0x3f42d5(0x8f)]=i,exports['PrintPaperMargin']=o,exports[_0x3f42d5(0x86)]=e,exports[_0x3f42d5(0x78)]=c,exports['createPrintStyle']=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x507602=_0x31e1;function _0x3b39(){const _0x1a0958=['Executive','21567jYEvMG','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','Middle','Tabloid','FitHeight','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','1345746XaIiHM','Wide','Normal','86xTALdM','3421QzaysG','1842440rsUDpN','12494619ysUPFT','Legal','px\x20','End','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.','72132xREQhu','5ejbtAq','9059460qZFDmh','None','style','Origin','FitPage','Folio','1048PIlflV','Statement','Narrow','8oDgsqG','Custom','Letter','\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','Landscape','26138KwjvBx','Portrait','FitWidth'];_0x3b39=function(){return _0x1a0958;};return _0x3b39();}(function(_0x4917cf,_0x456b93){const _0x25e99b=_0x31e1,_0x2570b4=_0x4917cf();while(!![]){try{const _0x38f8a0=parseInt(_0x25e99b(0x7a))/0x1*(-parseInt(_0x25e99b(0x88))/0x2)+-parseInt(_0x25e99b(0x85))/0x3*(-parseInt(_0x25e99b(0x74))/0x4)+parseInt(_0x25e99b(0x91))/0x5*(-parseInt(_0x25e99b(0x92))/0x6)+-parseInt(_0x25e99b(0x7e))/0x7*(parseInt(_0x25e99b(0x98))/0x8)+parseInt(_0x25e99b(0x8b))/0x9+-parseInt(_0x25e99b(0x8a))/0xa+-parseInt(_0x25e99b(0x89))/0xb*(-parseInt(_0x25e99b(0x90))/0xc);if(_0x38f8a0===_0x456b93)break;else _0x2570b4['push'](_0x2570b4['shift']());}catch(_0x33277d){_0x2570b4['push'](_0x2570b4['shift']());}}}(_0x3b39,0xe3d39));var o=(_0x23a43d=>(_0x23a43d[_0x507602(0x76)]=_0x507602(0x76),_0x23a43d[_0x507602(0x82)]=_0x507602(0x82),_0x23a43d[_0x507602(0x8c)]='Legal',_0x23a43d[_0x507602(0x72)]='Statement',_0x23a43d[_0x507602(0x7d)]=_0x507602(0x7d),_0x23a43d[_0x507602(0x97)]=_0x507602(0x97),_0x23a43d['A3']='A3',_0x23a43d['A4']='A4',_0x23a43d['A5']='A5',_0x23a43d['B4']='B4',_0x23a43d['B5']='B5',_0x23a43d))(o||{}),i=(_0x3e320a=>(_0x3e320a[_0x507602(0x7b)]=_0x507602(0x7b),_0x3e320a[_0x507602(0x79)]=_0x507602(0x79),_0x3e320a))(i||{}),w=(_0x24207a=>(_0x24207a[_0x507602(0x95)]='Origin',_0x24207a[_0x507602(0x7c)]=_0x507602(0x7c),_0x24207a[_0x507602(0x83)]=_0x507602(0x83),_0x24207a[_0x507602(0x96)]='FitPage',_0x24207a[_0x507602(0x75)]=_0x507602(0x75),_0x24207a))(w||{}),m=(_0x21dcf2=>(_0x21dcf2['Start']='Start',_0x21dcf2[_0x507602(0x8e)]=_0x507602(0x8e),_0x21dcf2['Middle']=_0x507602(0x81),_0x21dcf2))(m||{}),e=(_0x4053ba=>(_0x4053ba['Normal']=_0x507602(0x87),_0x4053ba[_0x507602(0x73)]=_0x507602(0x73),_0x4053ba[_0x507602(0x86)]=_0x507602(0x86),_0x4053ba[_0x507602(0x93)]=_0x507602(0x93),_0x4053ba))(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[_0x507602(0x7d)]]:{'w':0x2b8,'h':0x3f0},[o[_0x507602(0x97)]]:{'w':0x330,'h':0x4e0},[o[_0x507602(0x8c)]]:{'w':0x330,'h':0x540},[o[_0x507602(0x76)]]:{'w':0x330,'h':0x420},[o[_0x507602(0x72)]]:{'w':0x210,'h':0x330},[o['Tabloid']]:{'w':0x420,'h':0x660}},v={[e['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x507602(0x73)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x507602(0x86)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x507602(0x93)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l='printing-canvas-container',p=_0x507602(0x7f);function N(_0x6885c6,_0xd12db0){const _0x231553=_0x507602,{w:_0x232370,h:_0x355456}=g[_0x6885c6],_0x398a6c=_0xd12db0===i[_0x231553(0x7b)]?_0x232370:_0x355456,_0x187e75=_0xd12db0===i[_0x231553(0x7b)]?_0x355456:_0x232370,_0x47b0a9=_0x231553(0x80)+_0x398a6c+_0x231553(0x8d)+_0x187e75+_0x231553(0x8f)+l+',\x20.'+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+_0x231553(0x77)+_0x187e75+_0x231553(0x84)+_0x398a6c+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x1ba536=document['createElement'](_0x231553(0x94));return _0x1ba536['innerHTML']=_0x47b0a9,_0x1ba536[_0x231553(0x78)]='offline-printing-css',_0x1ba536;}function _0x31e1(_0xa9c3be,_0x47b9b2){const _0x3b39f0=_0x3b39();return _0x31e1=function(_0x31e140,_0x59718e){_0x31e140=_0x31e140-0x72;let _0x153066=_0x3b39f0[_0x31e140];return _0x153066;},_0x31e1(_0xa9c3be,_0x47b9b2);}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(_0x1747b9,_0x6a90d7){const _0xbcf0=_0x480b,_0x4e3c5c=_0x1747b9();while(!![]){try{const _0x5023dd=parseInt(_0xbcf0(0xe7))/0x1+-parseInt(_0xbcf0(0xcf))/0x2+parseInt(_0xbcf0(0xcb))/0x3+parseInt(_0xbcf0(0xcc))/0x4+parseInt(_0xbcf0(0xd3))/0x5*(parseInt(_0xbcf0(0xd0))/0x6)+-parseInt(_0xbcf0(0xbf))/0x7+-parseInt(_0xbcf0(0xbe))/0x8;if(_0x5023dd===_0x6a90d7)break;else _0x4e3c5c['push'](_0x4e3c5c['shift']());}catch(_0x131a90){_0x4e3c5c['push'](_0x4e3c5c['shift']());}}}(_0x1a5f,0x70582),function(_0x556dbb,_0x3c692f){const _0x20b041=_0x480b;typeof exports=='object'&&typeof module<'u'?_0x3c692f(exports):typeof define==_0x20b041(0xc4)&&define[_0x20b041(0xbc)]?define([_0x20b041(0xc8)],_0x3c692f):(_0x556dbb=typeof globalThis<'u'?globalThis:_0x556dbb||self,_0x3c692f(_0x556dbb[_0x20b041(0xbb)]={}));}(this,function(_0x30c9cd){'use strict';const _0x39ebfd=_0x480b;var _0x18472d=(_0x53c681=>(_0x53c681[_0x39ebfd(0xd1)]='Letter',_0x53c681[_0x39ebfd(0xd6)]=_0x39ebfd(0xd6),_0x53c681['Legal']='Legal',_0x53c681['Statement']=_0x39ebfd(0xd2),_0x53c681['Executive']=_0x39ebfd(0xe3),_0x53c681[_0x39ebfd(0xe1)]=_0x39ebfd(0xe1),_0x53c681['A3']='A3',_0x53c681['A4']='A4',_0x53c681['A5']='A5',_0x53c681['B4']='B4',_0x53c681['B5']='B5',_0x53c681))(_0x18472d||{}),_0x10d3bb=(_0x5e389a=>(_0x5e389a['Portrait']=_0x39ebfd(0xe6),_0x5e389a[_0x39ebfd(0xc3)]=_0x39ebfd(0xc3),_0x5e389a))(_0x10d3bb||{}),_0x410d2a=(_0x510726=>(_0x510726['Origin']='Origin',_0x510726['FitWidth']='FitWidth',_0x510726[_0x39ebfd(0xc6)]=_0x39ebfd(0xc6),_0x510726['FitPage']=_0x39ebfd(0xdd),_0x510726['Custom']=_0x39ebfd(0xbd),_0x510726))(_0x410d2a||{}),_0x4bb092=(_0x5294db=>(_0x5294db[_0x39ebfd(0xdf)]=_0x39ebfd(0xdf),_0x5294db[_0x39ebfd(0xd8)]=_0x39ebfd(0xd8),_0x5294db['Middle']=_0x39ebfd(0xba),_0x5294db))(_0x4bb092||{}),_0xa36142=(_0x4f9194=>(_0x4f9194[_0x39ebfd(0xd9)]=_0x39ebfd(0xd9),_0x4f9194[_0x39ebfd(0xe0)]=_0x39ebfd(0xe0),_0x4f9194[_0x39ebfd(0xea)]=_0x39ebfd(0xea),_0x4f9194['None']=_0x39ebfd(0xd7),_0x4f9194))(_0xa36142||{});const _0x25ee95={[_0x18472d['A3']]:{'w':0x463,'h':0x633},[_0x18472d['A4']]:{'w':0x31a,'h':0x464},[_0x18472d['A5']]:{'w':0x22f,'h':0x31a},[_0x18472d['B4']]:{'w':0x3b0,'h':0x540},[_0x18472d['B5']]:{'w':0x299,'h':0x3b0},[_0x18472d[_0x39ebfd(0xe3)]]:{'w':0x2b8,'h':0x3f0},[_0x18472d['Folio']]:{'w':0x330,'h':0x4e0},[_0x18472d[_0x39ebfd(0xdb)]]:{'w':0x330,'h':0x540},[_0x18472d[_0x39ebfd(0xd1)]]:{'w':0x330,'h':0x420},[_0x18472d[_0x39ebfd(0xd2)]]:{'w':0x210,'h':0x330},[_0x18472d['Tabloid']]:{'w':0x420,'h':0x660}},_0x99bc94={[_0xa36142[_0x39ebfd(0xd9)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0xa36142[_0x39ebfd(0xe0)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0xa36142[_0x39ebfd(0xea)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0xa36142[_0x39ebfd(0xd7)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x393fbe='printing-canvas-container',_0x8c9cb1='printing-canvas';function _0x16ea0f(_0x13805e,_0x1c3245){const _0x936077=_0x39ebfd,{w:_0x4c7f03,h:_0x3f4c38}=_0x25ee95[_0x13805e],_0x1fd50f=_0x1c3245===_0x10d3bb[_0x936077(0xe6)]?_0x4c7f03:_0x3f4c38,_0x2a2a68=_0x1c3245===_0x10d3bb[_0x936077(0xe6)]?_0x3f4c38:_0x4c7f03,_0x2b0d8d=_0x936077(0xc7)+_0x1fd50f+_0x936077(0xcd)+_0x2a2a68+'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.'+_0x393fbe+_0x936077(0xe9)+_0x393fbe+_0x936077(0xd5)+_0x8c9cb1+_0x936077(0xc0)+_0x2a2a68+_0x936077(0xe4)+_0x1fd50f+_0x936077(0xde),_0x45e198=document[_0x936077(0xc2)](_0x936077(0xc9));return _0x45e198[_0x936077(0xe8)]=_0x2b0d8d,_0x45e198[_0x936077(0xdc)]='offline-printing-css',_0x45e198;}_0x30c9cd['PRINT_CANVAS_CLASS']=_0x8c9cb1,_0x30c9cd['PRINT_CONTAINER_CLASS']=_0x393fbe,_0x30c9cd[_0x39ebfd(0xd4)]=_0x99bc94,_0x30c9cd[_0x39ebfd(0xe5)]=_0x25ee95,_0x30c9cd['PrintAlign']=_0x4bb092,_0x30c9cd[_0x39ebfd(0xe2)]=_0x10d3bb,_0x30c9cd[_0x39ebfd(0xda)]=_0xa36142,_0x30c9cd[_0x39ebfd(0xb9)]=_0x18472d,_0x30c9cd['PrintScale']=_0x410d2a,_0x30c9cd[_0x39ebfd(0xca)]=_0x16ea0f,Object[_0x39ebfd(0xc1)](_0x30c9cd,Symbol[_0x39ebfd(0xc5)],{'value':_0x39ebfd(0xce)});}));function _0x480b(_0x203cc5,_0x352cec){const _0x1a5f9f=_0x1a5f();return _0x480b=function(_0x480be9,_0x597d2c){_0x480be9=_0x480be9-0xb9;let _0x1972bd=_0x1a5f9f[_0x480be9];return _0x1972bd;},_0x480b(_0x203cc5,_0x352cec);}function _0x1a5f(){const _0x461c1d=['\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.','Tabloid','None','End','Normal','PrintPaperMargin','Legal','className','FitPage','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','Start','Narrow','Folio','PrintDirection','Executive','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','PaperSizePxMap','Portrait','631407jZPCFb','innerHTML',',\x20.','Wide','PrintPaperSize','Middle','UniverProPrint','amd','Custom','8034112wcSgGJ','5416250SZaapI','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','defineProperty','createElement','Landscape','function','toStringTag','FitHeight','\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','exports','style','createPrintStyle','563739MZjdwZ','3465316XSeRQn','px\x20','Module','35160oMDppX','3420642YAPSho','Letter','Statement','5xVseeF','PaperMarginMap'];_0x1a5f=function(){return _0x461c1d;};return _0x1a5f();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4-nightly.202503111607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Print module for UniverJS",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "^5.8.2",
|
|
46
46
|
"vite": "^6.2.0",
|
|
47
47
|
"vitest": "^3.0.7",
|
|
48
|
-
"@univerjs-infra/shared": "0.6.
|
|
48
|
+
"@univerjs-infra/shared": "0.6.4"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|