@univerjs-pro/print 0.6.6 → 0.6.7-experimental.20250326-6499c07
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 _0x1b3733=_0x196d;function _0x54a1(){const _0x491c30=['PRINT_CONTAINER_CLASS','Middle','Executive','printing-canvas','Legal',',\x20.','Letter','Statement','FitPage','PrintAlign','3870dTVCSZ','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','FitWidth','createElement','End','2eIKiQZ','Portrait','Custom','34341710dqyJlO','PrintScale','PaperMarginMap','22tEGdpg','2952868HzJroV','139991XGgFOe','className','Landscape','9128xWpKLM','offline-printing-css','9567LBZMJA','Wide','361236twtUgi','style','createPrintStyle','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Module','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','PrintDirection','Normal','Narrow','px\x20','6qgPajr','PRINT_CANVAS_CLASS','Folio','FitHeight','2885nBPDwS','\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.','10158BtDBVY','None','9933cpywff','Tabloid'];_0x54a1=function(){return _0x491c30;};return _0x54a1();}(function(_0x58a956,_0x3c7b96){const _0x220375=_0x196d,_0x472e31=_0x58a956();while(!![]){try{const _0x16b224=parseInt(_0x220375(0xb3))/0x1*(-parseInt(_0x220375(0xab))/0x2)+parseInt(_0x220375(0x92))/0x3*(parseInt(_0x220375(0xb2))/0x4)+parseInt(_0x220375(0x96))/0x5*(-parseInt(_0x220375(0x98))/0x6)+parseInt(_0x220375(0x9a))/0x7*(-parseInt(_0x220375(0xb6))/0x8)+parseInt(_0x220375(0xb8))/0x9*(-parseInt(_0x220375(0xa6))/0xa)+parseInt(_0x220375(0xb1))/0xb*(-parseInt(_0x220375(0xba))/0xc)+parseInt(_0x220375(0xae))/0xd;if(_0x16b224===_0x3c7b96)break;else _0x472e31['push'](_0x472e31['shift']());}catch(_0x3f16e5){_0x472e31['push'](_0x472e31['shift']());}}}(_0x54a1,0xde4fa));function _0x196d(_0x2574dd,_0x274243){const _0x54a18a=_0x54a1();return _0x196d=function(_0x196d46,_0x306121){_0x196d46=_0x196d46-0x8e;let _0x591a15=_0x54a18a[_0x196d46];return _0x591a15;},_0x196d(_0x2574dd,_0x274243);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x1b3733(0xbe)});var e=(_0x5c0bd0=>(_0x5c0bd0[_0x1b3733(0xa2)]=_0x1b3733(0xa2),_0x5c0bd0[_0x1b3733(0x9b)]=_0x1b3733(0x9b),_0x5c0bd0[_0x1b3733(0xa0)]=_0x1b3733(0xa0),_0x5c0bd0[_0x1b3733(0xa3)]=_0x1b3733(0xa3),_0x5c0bd0[_0x1b3733(0x9e)]='Executive',_0x5c0bd0[_0x1b3733(0x94)]=_0x1b3733(0x94),_0x5c0bd0['A3']='A3',_0x5c0bd0['A4']='A4',_0x5c0bd0['A5']='A5',_0x5c0bd0['B4']='B4',_0x5c0bd0['B5']='B5',_0x5c0bd0))(e||{}),i=(_0x30bd65=>(_0x30bd65[_0x1b3733(0xac)]='Portrait',_0x30bd65['Landscape']=_0x1b3733(0xb5),_0x30bd65))(i||{}),c=(_0xa4c9ae=>(_0xa4c9ae['Origin']='Origin',_0xa4c9ae[_0x1b3733(0xa8)]='FitWidth',_0xa4c9ae[_0x1b3733(0x95)]='FitHeight',_0xa4c9ae[_0x1b3733(0xa4)]=_0x1b3733(0xa4),_0xa4c9ae[_0x1b3733(0xad)]='Custom',_0xa4c9ae))(c||{}),g=(_0x2849e3=>(_0x2849e3['Start']='Start',_0x2849e3[_0x1b3733(0xaa)]=_0x1b3733(0xaa),_0x2849e3[_0x1b3733(0x9d)]=_0x1b3733(0x9d),_0x2849e3))(g||{}),o=(_0x5edbe8=>(_0x5edbe8['Normal']=_0x1b3733(0x8f),_0x5edbe8[_0x1b3733(0x90)]=_0x1b3733(0x90),_0x5edbe8[_0x1b3733(0xb9)]=_0x1b3733(0xb9),_0x5edbe8['None']=_0x1b3733(0x99),_0x5edbe8))(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[_0x1b3733(0x9e)]]:{'w':0x2b8,'h':0x3f0},[e[_0x1b3733(0x94)]]:{'w':0x330,'h':0x4e0},[e[_0x1b3733(0xa0)]]:{'w':0x330,'h':0x540},[e[_0x1b3733(0xa2)]]:{'w':0x330,'h':0x420},[e[_0x1b3733(0xa3)]]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x1b3733(0x8f)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o['Narrow']]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x1b3733(0xb9)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x1b3733(0xbf),p=_0x1b3733(0x9f);function A(_0x24aec8,_0x2fbb06){const _0x5bf750=_0x1b3733,{w:_0x2df9e3,h:_0x32ddfa}=m[_0x24aec8],_0x220444=_0x2fbb06===i['Portrait']?_0x2df9e3:_0x32ddfa,_0x1232f4=_0x2fbb06===i[_0x5bf750(0xac)]?_0x32ddfa:_0x2df9e3,_0x53657c='\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'+_0x220444+_0x5bf750(0x91)+_0x1232f4+'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+_0x5bf750(0xa1)+n+_0x5bf750(0x97)+p+_0x5bf750(0xc0)+_0x1232f4+_0x5bf750(0xbd)+_0x220444+_0x5bf750(0xa7),_0x467b6e=document[_0x5bf750(0xa9)](_0x5bf750(0xbb));return _0x467b6e['innerHTML']=_0x53657c,_0x467b6e[_0x5bf750(0xb4)]=_0x5bf750(0xb7),_0x467b6e;}exports[_0x1b3733(0x93)]=p,exports[_0x1b3733(0x9c)]=n,exports[_0x1b3733(0xb0)]=N,exports['PaperSizePxMap']=m,exports[_0x1b3733(0xa5)]=g,exports[_0x1b3733(0x8e)]=i,exports['PrintPaperMargin']=o,exports['PrintPaperSize']=e,exports[_0x1b3733(0xaf)]=c,exports[_0x1b3733(0xbc)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x9d889c=_0x48f0;function _0x2bab(){const _0x268775=['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.','Middle','Portrait','px\x20','17946558ykxrcf','Statement','None','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Landscape','FitWidth','FitPage','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','printing-canvas-container','Tabloid','Letter','Start','3weLqvw','Normal','2288376qnFPed','Wide','\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.','className','3250112EZgYFY','Executive','Custom','printing-canvas','194132GuXrLb','Folio','340850qKowIx','Legal','4UiEVyv','End','184796mIRVzo',',\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','2969260QWqGLi'];_0x2bab=function(){return _0x268775;};return _0x2bab();}(function(_0x5b62a3,_0x1a458e){const _0x5b7aa3=_0x48f0,_0x341bdb=_0x5b62a3();while(!![]){try{const _0x123122=parseInt(_0x5b7aa3(0x141))/0x1*(-parseInt(_0x5b7aa3(0x13d))/0x2)+-parseInt(_0x5b7aa3(0x133))/0x3*(parseInt(_0x5b7aa3(0x143))/0x4)+-parseInt(_0x5b7aa3(0x13f))/0x5+-parseInt(_0x5b7aa3(0x135))/0x6+-parseInt(_0x5b7aa3(0x121))/0x7+-parseInt(_0x5b7aa3(0x139))/0x8+parseInt(_0x5b7aa3(0x126))/0x9;if(_0x123122===_0x1a458e)break;else _0x341bdb['push'](_0x341bdb['shift']());}catch(_0x5ef4ff){_0x341bdb['push'](_0x341bdb['shift']());}}}(_0x2bab,0x44425));var o=(_0x411038=>(_0x411038['Letter']=_0x9d889c(0x131),_0x411038[_0x9d889c(0x130)]=_0x9d889c(0x130),_0x411038[_0x9d889c(0x140)]=_0x9d889c(0x140),_0x411038[_0x9d889c(0x127)]=_0x9d889c(0x127),_0x411038[_0x9d889c(0x13a)]=_0x9d889c(0x13a),_0x411038[_0x9d889c(0x13e)]=_0x9d889c(0x13e),_0x411038['A3']='A3',_0x411038['A4']='A4',_0x411038['A5']='A5',_0x411038['B4']='B4',_0x411038['B5']='B5',_0x411038))(o||{}),i=(_0x332eba=>(_0x332eba[_0x9d889c(0x124)]=_0x9d889c(0x124),_0x332eba[_0x9d889c(0x12a)]=_0x9d889c(0x12a),_0x332eba))(i||{}),w=(_0xdbfc8d=>(_0xdbfc8d['Origin']='Origin',_0xdbfc8d[_0x9d889c(0x12b)]='FitWidth',_0xdbfc8d['FitHeight']='FitHeight',_0xdbfc8d[_0x9d889c(0x12c)]=_0x9d889c(0x12c),_0xdbfc8d[_0x9d889c(0x13b)]=_0x9d889c(0x13b),_0xdbfc8d))(w||{}),m=(_0x6acecd=>(_0x6acecd[_0x9d889c(0x132)]=_0x9d889c(0x132),_0x6acecd[_0x9d889c(0x142)]=_0x9d889c(0x142),_0x6acecd['Middle']=_0x9d889c(0x123),_0x6acecd))(m||{}),e=(_0x25b648=>(_0x25b648[_0x9d889c(0x134)]=_0x9d889c(0x134),_0x25b648['Narrow']=_0x9d889c(0x12d),_0x25b648['Wide']=_0x9d889c(0x136),_0x25b648['None']='None',_0x25b648))(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[_0x9d889c(0x13a)]]:{'w':0x2b8,'h':0x3f0},[o['Folio']]:{'w':0x330,'h':0x4e0},[o[_0x9d889c(0x140)]]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x9d889c(0x127)]]:{'w':0x210,'h':0x330},[o[_0x9d889c(0x130)]]:{'w':0x420,'h':0x660}},v={[e[_0x9d889c(0x134)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x9d889c(0x12d)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e['Wide']]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x9d889c(0x128)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x9d889c(0x12f),p=_0x9d889c(0x13c);function _0x48f0(_0x149a68,_0x34b57c){const _0x2babab=_0x2bab();return _0x48f0=function(_0x48f0f7,_0x199c6b){_0x48f0f7=_0x48f0f7-0x121;let _0x22338e=_0x2babab[_0x48f0f7];return _0x22338e;},_0x48f0(_0x149a68,_0x34b57c);}function N(_0x442e62,_0x5954ea){const _0xbc42f=_0x9d889c,{w:_0x1c4a20,h:_0x440e6d}=g[_0x442e62],_0x5dc850=_0x5954ea===i[_0xbc42f(0x124)]?_0x1c4a20:_0x440e6d,_0x38b1b0=_0x5954ea===i[_0xbc42f(0x124)]?_0x440e6d:_0x1c4a20,_0x12819b=_0xbc42f(0x12e)+_0x5dc850+_0xbc42f(0x125)+_0x38b1b0+_0xbc42f(0x122)+l+_0xbc42f(0x144)+l+_0xbc42f(0x137)+p+_0xbc42f(0x145)+_0x38b1b0+_0xbc42f(0x129)+_0x5dc850+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x2876d9=document['createElement']('style');return _0x2876d9['innerHTML']=_0x12819b,_0x2876d9[_0xbc42f(0x138)]='offline-printing-css',_0x2876d9;}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 _0x5545(_0x2c7ace,_0x557f3d){const _0x1f82a9=_0x1f82();return _0x5545=function(_0x5545a5,_0x4cc0a7){_0x5545a5=_0x5545a5-0xb8;let _0xf77e55=_0x1f82a9[_0x5545a5];return _0xf77e55;},_0x5545(_0x2c7ace,_0x557f3d);}(function(_0x4c5fd6,_0x19486e){const _0x543a39=_0x5545,_0x527e8c=_0x4c5fd6();while(!![]){try{const _0x1da68c=-parseInt(_0x543a39(0xc6))/0x1+-parseInt(_0x543a39(0xb8))/0x2+parseInt(_0x543a39(0xda))/0x3+-parseInt(_0x543a39(0xe0))/0x4*(parseInt(_0x543a39(0xca))/0x5)+-parseInt(_0x543a39(0xe7))/0x6*(-parseInt(_0x543a39(0xbb))/0x7)+-parseInt(_0x543a39(0xc4))/0x8*(-parseInt(_0x543a39(0xec))/0x9)+-parseInt(_0x543a39(0xed))/0xa;if(_0x1da68c===_0x19486e)break;else _0x527e8c['push'](_0x527e8c['shift']());}catch(_0x159433){_0x527e8c['push'](_0x527e8c['shift']());}}}(_0x1f82,0x30c40),function(_0x3ea195,_0x57348f){const _0x2a3516=_0x5545;typeof exports=='object'&&typeof module<'u'?_0x57348f(exports):typeof define==_0x2a3516(0xd9)&&define[_0x2a3516(0xc5)]?define([_0x2a3516(0xcf)],_0x57348f):(_0x3ea195=typeof globalThis<'u'?globalThis:_0x3ea195||self,_0x57348f(_0x3ea195[_0x2a3516(0xee)]={}));}(this,function(_0x36db9f){'use strict';const _0x2676ae=_0x5545;var _0x58cf82=(_0x3b9941=>(_0x3b9941['Letter']='Letter',_0x3b9941[_0x2676ae(0xe4)]=_0x2676ae(0xe4),_0x3b9941[_0x2676ae(0xe6)]='Legal',_0x3b9941[_0x2676ae(0xeb)]=_0x2676ae(0xeb),_0x3b9941[_0x2676ae(0xe5)]='Executive',_0x3b9941[_0x2676ae(0xd5)]=_0x2676ae(0xd5),_0x3b9941['A3']='A3',_0x3b9941['A4']='A4',_0x3b9941['A5']='A5',_0x3b9941['B4']='B4',_0x3b9941['B5']='B5',_0x3b9941))(_0x58cf82||{}),_0x2b5baf=(_0x558931=>(_0x558931['Portrait']=_0x2676ae(0xbc),_0x558931[_0x2676ae(0xc2)]=_0x2676ae(0xc2),_0x558931))(_0x2b5baf||{}),_0x48d73d=(_0x3ea246=>(_0x3ea246['Origin']=_0x2676ae(0xba),_0x3ea246[_0x2676ae(0xc7)]=_0x2676ae(0xc7),_0x3ea246['FitHeight']=_0x2676ae(0xc8),_0x3ea246[_0x2676ae(0xef)]='FitPage',_0x3ea246[_0x2676ae(0xc9)]='Custom',_0x3ea246))(_0x48d73d||{}),_0x1613cf=(_0x5bbf92=>(_0x5bbf92[_0x2676ae(0xb9)]=_0x2676ae(0xb9),_0x5bbf92['End']='End',_0x5bbf92[_0x2676ae(0xd4)]=_0x2676ae(0xd4),_0x5bbf92))(_0x1613cf||{}),_0x55094b=(_0x5e4268=>(_0x5e4268[_0x2676ae(0xd2)]=_0x2676ae(0xd2),_0x5e4268[_0x2676ae(0xc1)]='Narrow',_0x5e4268[_0x2676ae(0xe9)]=_0x2676ae(0xe9),_0x5e4268[_0x2676ae(0xcb)]='None',_0x5e4268))(_0x55094b||{});const _0x23b6d7={[_0x58cf82['A3']]:{'w':0x463,'h':0x633},[_0x58cf82['A4']]:{'w':0x31a,'h':0x464},[_0x58cf82['A5']]:{'w':0x22f,'h':0x31a},[_0x58cf82['B4']]:{'w':0x3b0,'h':0x540},[_0x58cf82['B5']]:{'w':0x299,'h':0x3b0},[_0x58cf82[_0x2676ae(0xe5)]]:{'w':0x2b8,'h':0x3f0},[_0x58cf82[_0x2676ae(0xd5)]]:{'w':0x330,'h':0x4e0},[_0x58cf82[_0x2676ae(0xe6)]]:{'w':0x330,'h':0x540},[_0x58cf82[_0x2676ae(0xe2)]]:{'w':0x330,'h':0x420},[_0x58cf82[_0x2676ae(0xeb)]]:{'w':0x210,'h':0x330},[_0x58cf82[_0x2676ae(0xe4)]]:{'w':0x420,'h':0x660}},_0x2193fc={[_0x55094b['Normal']]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x55094b[_0x2676ae(0xc1)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x55094b[_0x2676ae(0xe9)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x55094b[_0x2676ae(0xcb)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x55fcc4=_0x2676ae(0xbe),_0x5cfad6=_0x2676ae(0xbf);function _0x295369(_0x4e285f,_0x1008ba){const _0x52b271=_0x2676ae,{w:_0x34251b,h:_0x47ccc8}=_0x23b6d7[_0x4e285f],_0x3c581f=_0x1008ba===_0x2b5baf[_0x52b271(0xbc)]?_0x34251b:_0x47ccc8,_0x2cabed=_0x1008ba===_0x2b5baf['Portrait']?_0x47ccc8:_0x34251b,_0x3b6d08=_0x52b271(0xd1)+_0x3c581f+_0x52b271(0xcd)+_0x2cabed+_0x52b271(0xe3)+_0x55fcc4+_0x52b271(0xcc)+_0x55fcc4+_0x52b271(0xdc)+_0x5cfad6+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x2cabed+_0x52b271(0xbd)+_0x3c581f+_0x52b271(0xc3),_0x2bab3d=document[_0x52b271(0xce)](_0x52b271(0xd8));return _0x2bab3d[_0x52b271(0xf0)]=_0x3b6d08,_0x2bab3d[_0x52b271(0xea)]=_0x52b271(0xdf),_0x2bab3d;}_0x36db9f[_0x2676ae(0xdd)]=_0x5cfad6,_0x36db9f[_0x2676ae(0xe8)]=_0x55fcc4,_0x36db9f[_0x2676ae(0xd0)]=_0x2193fc,_0x36db9f['PaperSizePxMap']=_0x23b6d7,_0x36db9f[_0x2676ae(0xdb)]=_0x1613cf,_0x36db9f[_0x2676ae(0xc0)]=_0x2b5baf,_0x36db9f[_0x2676ae(0xd7)]=_0x55094b,_0x36db9f['PrintPaperSize']=_0x58cf82,_0x36db9f[_0x2676ae(0xde)]=_0x48d73d,_0x36db9f[_0x2676ae(0xe1)]=_0x295369,Object[_0x2676ae(0xd6)](_0x36db9f,Symbol[_0x2676ae(0xd3)],{'value':'Module'});}));function _0x1f82(){const _0x20b1ae=['PRINT_CANVAS_CLASS','PrintScale','offline-printing-css','244bHTJfB','createPrintStyle','Letter','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','Executive','Legal','18miLFOO','PRINT_CONTAINER_CLASS','Wide','className','Statement','2052711ICZZGX','505710gWiCzb','UniverProPrint','FitPage','innerHTML','25612ZjMAnp','Start','Origin','18837OQnYZs','Portrait','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','printing-canvas-container','printing-canvas','PrintDirection','Narrow','Landscape','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','8Fiaytd','amd','16124nNNQsC','FitWidth','FitHeight','Custom','4435kDcMtH','None',',\x20.','px\x20','createElement','exports','PaperMarginMap','\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','Normal','toStringTag','Middle','Folio','defineProperty','PrintPaperMargin','style','function','291600IxVOCM','PrintAlign','\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.'];_0x1f82=function(){return _0x20b1ae;};return _0x1f82();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7-experimental.20250326-6499c07",
|
|
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.8.2",
|
|
46
|
-
"vite": "^6.2.
|
|
47
|
-
"vitest": "^3.0.
|
|
48
|
-
"@univerjs-infra/shared": "0.6.
|
|
46
|
+
"vite": "^6.2.2",
|
|
47
|
+
"vitest": "^3.0.9",
|
|
48
|
+
"@univerjs-infra/shared": "0.6.7"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|