@univerjs-pro/print 0.5.4 → 0.5.5-nightly.202501201336
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 _0x4f812f=_0x502a;(function(_0x2030dd,_0x51d80c){const _0x196dd6=_0x502a,_0x33389b=_0x2030dd();while(!![]){try{const _0xf2f79=-parseInt(_0x196dd6(0xa7))/0x1+-parseInt(_0x196dd6(0x91))/0x2*(-parseInt(_0x196dd6(0x9b))/0x3)+-parseInt(_0x196dd6(0xa6))/0x4+parseInt(_0x196dd6(0xb1))/0x5+-parseInt(_0x196dd6(0x8d))/0x6*(parseInt(_0x196dd6(0x99))/0x7)+parseInt(_0x196dd6(0xb7))/0x8*(-parseInt(_0x196dd6(0xb6))/0x9)+-parseInt(_0x196dd6(0xac))/0xa*(-parseInt(_0x196dd6(0xba))/0xb);if(_0xf2f79===_0x51d80c)break;else _0x33389b['push'](_0x33389b['shift']());}catch(_0x352b87){_0x33389b['push'](_0x33389b['shift']());}}}(_0x53a2,0x9ec6e));function _0x53a2(){const _0x4ac701=['PRINT_CANVAS_CLASS','171smiSYc','451144sdEjWn','PaperMarginMap','PaperSizePxMap','33RkZBjr',',\x20.','PrintAlign','createElement','Executive','762BackZv','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.','Custom','Statement','1074AgxefT','Narrow','Landscape','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','Letter','FitPage','innerHTML','44387XqJavH','Module','348AlMvyF','className','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','offline-printing-css','PrintPaperSize','FitHeight','defineProperty','Folio','Wide','Tabloid','End','404964rSWWBx','75988UkyUQo','Legal','Middle','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','7786600kXiLeV','Portrait','None','FitWidth','Normal','1530405mMSxna','printing-canvas','style','toStringTag'];_0x53a2=function(){return _0x4ac701;};return _0x53a2();}Object[_0x4f812f(0xa1)](exports,Symbol[_0x4f812f(0xb4)],{'value':_0x4f812f(0x9a)});function _0x502a(_0x2519a4,_0x1daa58){const _0x53a296=_0x53a2();return _0x502a=function(_0x502ac0,_0x481924){_0x502ac0=_0x502ac0-0x8a;let _0x51a15a=_0x53a296[_0x502ac0];return _0x51a15a;},_0x502a(_0x2519a4,_0x1daa58);}var e=(_0x44a940=>(_0x44a940[_0x4f812f(0x96)]=_0x4f812f(0x96),_0x44a940[_0x4f812f(0xa4)]=_0x4f812f(0xa4),_0x44a940[_0x4f812f(0xa8)]=_0x4f812f(0xa8),_0x44a940[_0x4f812f(0x90)]=_0x4f812f(0x90),_0x44a940[_0x4f812f(0x8c)]='Executive',_0x44a940[_0x4f812f(0xa2)]=_0x4f812f(0xa2),_0x44a940['A3']='A3',_0x44a940['A4']='A4',_0x44a940['A5']='A5',_0x44a940['B4']='B4',_0x44a940['B5']='B5',_0x44a940))(e||{}),i=(_0x33c184=>(_0x33c184['Portrait']=_0x4f812f(0xad),_0x33c184[_0x4f812f(0x93)]=_0x4f812f(0x93),_0x33c184))(i||{}),c=(_0x10515a=>(_0x10515a['Origin']='Origin',_0x10515a[_0x4f812f(0xaf)]=_0x4f812f(0xaf),_0x10515a[_0x4f812f(0xa0)]='FitHeight',_0x10515a[_0x4f812f(0x97)]=_0x4f812f(0x97),_0x10515a[_0x4f812f(0x8f)]='Custom',_0x10515a))(c||{}),g=(_0x16d371=>(_0x16d371['Start']='Start',_0x16d371[_0x4f812f(0xa5)]='End',_0x16d371[_0x4f812f(0xa9)]=_0x4f812f(0xa9),_0x16d371))(g||{}),o=(_0x48a1ac=>(_0x48a1ac[_0x4f812f(0xb0)]='Normal',_0x48a1ac[_0x4f812f(0x92)]=_0x4f812f(0x92),_0x48a1ac[_0x4f812f(0xa3)]=_0x4f812f(0xa3),_0x48a1ac[_0x4f812f(0xae)]='None',_0x48a1ac))(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[_0x4f812f(0x8c)]]:{'w':0x2b8,'h':0x3f0},[e[_0x4f812f(0xa2)]]:{'w':0x330,'h':0x4e0},[e[_0x4f812f(0xa8)]]:{'w':0x330,'h':0x540},[e[_0x4f812f(0x96)]]:{'w':0x330,'h':0x420},[e[_0x4f812f(0x90)]]:{'w':0x210,'h':0x330},[e['Tabloid']]:{'w':0x420,'h':0x660}},N={[o[_0x4f812f(0xb0)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x4f812f(0x92)]]:{'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='printing-canvas-container',p=_0x4f812f(0xb2);function A(_0x4d359f,_0x43bab5){const _0xd38f43=_0x4f812f,{w:_0x2f47e3,h:_0x3d4794}=m[_0x4d359f],_0x2bedd=_0x43bab5===i[_0xd38f43(0xad)]?_0x2f47e3:_0x3d4794,_0x435c77=_0x43bab5===i[_0xd38f43(0xad)]?_0x3d4794:_0x2f47e3,_0xccefa3=_0xd38f43(0x95)+_0x2bedd+_0xd38f43(0xaa)+_0x435c77+_0xd38f43(0x8e)+n+_0xd38f43(0xbb)+n+'\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+_0xd38f43(0xab)+_0x435c77+_0xd38f43(0x9d)+_0x2bedd+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x2380db=document[_0xd38f43(0x8b)](_0xd38f43(0xb3));return _0x2380db[_0xd38f43(0x98)]=_0xccefa3,_0x2380db[_0xd38f43(0x9c)]=_0xd38f43(0x9e),_0x2380db;}exports[_0x4f812f(0xb5)]=p,exports['PRINT_CONTAINER_CLASS']=n,exports[_0x4f812f(0xb8)]=N,exports[_0x4f812f(0xb9)]=m,exports[_0x4f812f(0x8a)]=g,exports['PrintDirection']=i,exports['PrintPaperMargin']=o,exports[_0x4f812f(0x9f)]=e,exports[_0x4f812f(0x94)]=c,exports['createPrintStyle']=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x47ed7b=_0x5a94;function _0x3153(){const _0x3150bb=['className','2484884hDJeBn','Wide','printing-canvas-container','Portrait','Normal','FitHeight','Custom','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','innerHTML','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Middle','Legal','7431632RGJNJG','None','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','style','6SDnlWn','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.','offline-printing-css','Executive','FitWidth','createElement','301392WbEWnN','573CUDsYf','Start','7328fMwarb','4806565ygFZVE','Letter','\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','Landscape','534766MlcgpG','Statement','Tabloid','FitPage','13385995YJpWpG','End','Origin',',\x20.','Folio','720yNvqhO','Narrow'];_0x3153=function(){return _0x3150bb;};return _0x3153();}(function(_0x2e108b,_0x2f8ab4){const _0x324a68=_0x5a94,_0x2b0a6e=_0x2e108b();while(!![]){try{const _0xaafe93=parseInt(_0x324a68(0x82))/0x1+parseInt(_0x324a68(0x8e))/0x2+-parseInt(_0x324a68(0x7a))/0x3*(parseInt(_0x324a68(0x7c))/0x4)+parseInt(_0x324a68(0x7d))/0x5*(parseInt(_0x324a68(0x73))/0x6)+parseInt(_0x324a68(0x86))/0x7+-parseInt(_0x324a68(0x6f))/0x8+parseInt(_0x324a68(0x79))/0x9*(-parseInt(_0x324a68(0x8b))/0xa);if(_0xaafe93===_0x2f8ab4)break;else _0x2b0a6e['push'](_0x2b0a6e['shift']());}catch(_0x45703d){_0x2b0a6e['push'](_0x2b0a6e['shift']());}}}(_0x3153,0xea924));function _0x5a94(_0xf6de0a,_0x3ebef9){const _0x315326=_0x3153();return _0x5a94=function(_0x5a945c,_0x2a8c0f){_0x5a945c=_0x5a945c-0x69;let _0x46701b=_0x315326[_0x5a945c];return _0x46701b;},_0x5a94(_0xf6de0a,_0x3ebef9);}var o=(_0x11f81f=>(_0x11f81f[_0x47ed7b(0x7e)]='Letter',_0x11f81f['Tabloid']=_0x47ed7b(0x84),_0x11f81f[_0x47ed7b(0x6e)]='Legal',_0x11f81f['Statement']='Statement',_0x11f81f[_0x47ed7b(0x76)]=_0x47ed7b(0x76),_0x11f81f[_0x47ed7b(0x8a)]='Folio',_0x11f81f['A3']='A3',_0x11f81f['A4']='A4',_0x11f81f['A5']='A5',_0x11f81f['B4']='B4',_0x11f81f['B5']='B5',_0x11f81f))(o||{}),i=(_0x25fd4f=>(_0x25fd4f[_0x47ed7b(0x91)]=_0x47ed7b(0x91),_0x25fd4f[_0x47ed7b(0x81)]='Landscape',_0x25fd4f))(i||{}),w=(_0xcf3d8d=>(_0xcf3d8d[_0x47ed7b(0x88)]=_0x47ed7b(0x88),_0xcf3d8d[_0x47ed7b(0x77)]=_0x47ed7b(0x77),_0xcf3d8d[_0x47ed7b(0x93)]='FitHeight',_0xcf3d8d[_0x47ed7b(0x85)]=_0x47ed7b(0x85),_0xcf3d8d[_0x47ed7b(0x69)]='Custom',_0xcf3d8d))(w||{}),m=(_0x2ac51a=>(_0x2ac51a[_0x47ed7b(0x7b)]=_0x47ed7b(0x7b),_0x2ac51a[_0x47ed7b(0x87)]=_0x47ed7b(0x87),_0x2ac51a[_0x47ed7b(0x6d)]=_0x47ed7b(0x6d),_0x2ac51a))(m||{}),e=(_0x23e61e=>(_0x23e61e[_0x47ed7b(0x92)]=_0x47ed7b(0x92),_0x23e61e[_0x47ed7b(0x8c)]=_0x47ed7b(0x8c),_0x23e61e['Wide']=_0x47ed7b(0x8f),_0x23e61e[_0x47ed7b(0x70)]=_0x47ed7b(0x70),_0x23e61e))(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[_0x47ed7b(0x76)]]:{'w':0x2b8,'h':0x3f0},[o['Folio']]:{'w':0x330,'h':0x4e0},[o['Legal']]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x47ed7b(0x83)]]:{'w':0x210,'h':0x330},[o[_0x47ed7b(0x84)]]:{'w':0x420,'h':0x660}},v={[e[_0x47ed7b(0x92)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x47ed7b(0x8c)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x47ed7b(0x8f)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e[_0x47ed7b(0x70)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x47ed7b(0x90),p=_0x47ed7b(0x80);function N(_0x8b94a6,_0x50c375){const _0x5839f5=_0x47ed7b,{w:_0x1be19c,h:_0x37a629}=g[_0x8b94a6],_0x31c1f5=_0x50c375===i[_0x5839f5(0x91)]?_0x1be19c:_0x37a629,_0x2c166b=_0x50c375===i[_0x5839f5(0x91)]?_0x37a629:_0x1be19c,_0x58cc6f=_0x5839f5(0x7f)+_0x31c1f5+'px\x20'+_0x2c166b+_0x5839f5(0x74)+l+_0x5839f5(0x89)+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+_0x5839f5(0x71)+_0x2c166b+_0x5839f5(0x6c)+_0x31c1f5+_0x5839f5(0x6a),_0x192ee1=document[_0x5839f5(0x78)](_0x5839f5(0x72));return _0x192ee1[_0x5839f5(0x6b)]=_0x58cc6f,_0x192ee1[_0x5839f5(0x8d)]=_0x5839f5(0x75),_0x192ee1;}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(_0xb50e33,_0x4c6b40){const _0xd13c56=_0x2648,_0x1bd3c3=_0xb50e33();while(!![]){try{const _0x4e7158=parseInt(_0xd13c56(0xb1))/0x1+parseInt(_0xd13c56(0xad))/0x2*(parseInt(_0xd13c56(0x92))/0x3)+-parseInt(_0xd13c56(0x95))/0x4+parseInt(_0xd13c56(0x9b))/0x5+-parseInt(_0xd13c56(0x8e))/0x6*(-parseInt(_0xd13c56(0xa0))/0x7)+-parseInt(_0xd13c56(0xc6))/0x8+-parseInt(_0xd13c56(0x90))/0x9;if(_0x4e7158===_0x4c6b40)break;else _0x1bd3c3['push'](_0x1bd3c3['shift']());}catch(_0x12386f){_0x1bd3c3['push'](_0x1bd3c3['shift']());}}}(_0xd474,0xd62d1),function(_0x1980ae,_0x4a58e0){const _0x47b298=_0x2648;typeof exports==_0x47b298(0xb2)&&typeof module<'u'?_0x4a58e0(exports):typeof define==_0x47b298(0xb4)&&define[_0x47b298(0xba)]?define([_0x47b298(0xc1)],_0x4a58e0):(_0x1980ae=typeof globalThis<'u'?globalThis:_0x1980ae||self,_0x4a58e0(_0x1980ae[_0x47b298(0x93)]={}));}(this,function(_0x2e24dd){'use strict';const _0x41cebf=_0x2648;var _0x52e9ea=(_0x58458c=>(_0x58458c[_0x41cebf(0xb5)]=_0x41cebf(0xb5),_0x58458c['Tabloid']=_0x41cebf(0xb6),_0x58458c['Legal']='Legal',_0x58458c[_0x41cebf(0xc5)]=_0x41cebf(0xc5),_0x58458c[_0x41cebf(0xbe)]='Executive',_0x58458c[_0x41cebf(0x9e)]=_0x41cebf(0x9e),_0x58458c['A3']='A3',_0x58458c['A4']='A4',_0x58458c['A5']='A5',_0x58458c['B4']='B4',_0x58458c['B5']='B5',_0x58458c))(_0x52e9ea||{}),_0x1a1345=(_0x40af45=>(_0x40af45[_0x41cebf(0xa1)]=_0x41cebf(0xa1),_0x40af45[_0x41cebf(0x98)]='Landscape',_0x40af45))(_0x1a1345||{}),_0x324f6d=(_0xd44f57=>(_0xd44f57[_0x41cebf(0xa5)]=_0x41cebf(0xa5),_0xd44f57[_0x41cebf(0x91)]=_0x41cebf(0x91),_0xd44f57[_0x41cebf(0xa7)]='FitHeight',_0xd44f57[_0x41cebf(0xac)]=_0x41cebf(0xac),_0xd44f57[_0x41cebf(0xbb)]=_0x41cebf(0xbb),_0xd44f57))(_0x324f6d||{}),_0x2a95ca=(_0x5672f0=>(_0x5672f0[_0x41cebf(0xbd)]=_0x41cebf(0xbd),_0x5672f0[_0x41cebf(0xc4)]=_0x41cebf(0xc4),_0x5672f0['Middle']='Middle',_0x5672f0))(_0x2a95ca||{}),_0x2bbcc2=(_0x19fc99=>(_0x19fc99['Normal']=_0x41cebf(0x96),_0x19fc99[_0x41cebf(0xb9)]=_0x41cebf(0xb9),_0x19fc99[_0x41cebf(0xab)]=_0x41cebf(0xab),_0x19fc99['None']=_0x41cebf(0xa9),_0x19fc99))(_0x2bbcc2||{});const _0x10c51c={[_0x52e9ea['A3']]:{'w':0x463,'h':0x633},[_0x52e9ea['A4']]:{'w':0x31a,'h':0x464},[_0x52e9ea['A5']]:{'w':0x22f,'h':0x31a},[_0x52e9ea['B4']]:{'w':0x3b0,'h':0x540},[_0x52e9ea['B5']]:{'w':0x299,'h':0x3b0},[_0x52e9ea[_0x41cebf(0xbe)]]:{'w':0x2b8,'h':0x3f0},[_0x52e9ea['Folio']]:{'w':0x330,'h':0x4e0},[_0x52e9ea[_0x41cebf(0xb7)]]:{'w':0x330,'h':0x540},[_0x52e9ea[_0x41cebf(0xb5)]]:{'w':0x330,'h':0x420},[_0x52e9ea['Statement']]:{'w':0x210,'h':0x330},[_0x52e9ea[_0x41cebf(0xb6)]]:{'w':0x420,'h':0x660}},_0xa04559={[_0x2bbcc2[_0x41cebf(0x96)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0x2bbcc2[_0x41cebf(0xb9)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0x2bbcc2[_0x41cebf(0xab)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0x2bbcc2[_0x41cebf(0xa9)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x410c1=_0x41cebf(0xa3),_0x5ec4d8=_0x41cebf(0x9a);function _0x392cba(_0x4b246a,_0x301785){const _0x47aedb=_0x41cebf,{w:_0xdc7736,h:_0x18f715}=_0x10c51c[_0x4b246a],_0x171d39=_0x301785===_0x1a1345[_0x47aedb(0xa1)]?_0xdc7736:_0x18f715,_0x2d3734=_0x301785===_0x1a1345[_0x47aedb(0xa1)]?_0x18f715:_0xdc7736,_0x5e8838=_0x47aedb(0x99)+_0x171d39+_0x47aedb(0xb3)+_0x2d3734+_0x47aedb(0xa4)+_0x410c1+_0x47aedb(0x9d)+_0x410c1+_0x47aedb(0xa8)+_0x5ec4d8+_0x47aedb(0x9f)+_0x2d3734+_0x47aedb(0xb8)+_0x171d39+_0x47aedb(0x94),_0x536f52=document[_0x47aedb(0xae)](_0x47aedb(0xaf));return _0x536f52['innerHTML']=_0x5e8838,_0x536f52[_0x47aedb(0xbc)]=_0x47aedb(0xa6),_0x536f52;}_0x2e24dd[_0x41cebf(0xc0)]=_0x5ec4d8,_0x2e24dd[_0x41cebf(0xa2)]=_0x410c1,_0x2e24dd['PaperMarginMap']=_0xa04559,_0x2e24dd[_0x41cebf(0x97)]=_0x10c51c,_0x2e24dd['PrintAlign']=_0x2a95ca,_0x2e24dd[_0x41cebf(0x8f)]=_0x1a1345,_0x2e24dd[_0x41cebf(0xaa)]=_0x2bbcc2,_0x2e24dd['PrintPaperSize']=_0x52e9ea,_0x2e24dd[_0x41cebf(0xc2)]=_0x324f6d,_0x2e24dd[_0x41cebf(0xb0)]=_0x392cba,Object[_0x41cebf(0x9c)](_0x2e24dd,Symbol[_0x41cebf(0xbf)],{'value':_0x41cebf(0xc3)});}));function _0x2648(_0x4c52b5,_0x1daba9){const _0xd47429=_0xd474();return _0x2648=function(_0x2648c9,_0x2f1a84){_0x2648c9=_0x2648c9-0x8e;let _0x1e394a=_0xd47429[_0x2648c9];return _0x1e394a;},_0x2648(_0x4c52b5,_0x1daba9);}function _0xd474(){const _0x27db1e=['function','Letter','Tabloid','Legal','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Narrow','amd','Custom','className','Start','Executive','toStringTag','PRINT_CANVAS_CLASS','exports','PrintScale','Module','End','Statement','13209240uYmfaH','3053124HEFdTa','PrintDirection','19763775XQtunx','FitWidth','21SPAlnp','UniverProPrint','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','313656UuIado','Normal','PaperSizePxMap','Landscape','\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','5037220tGeRMV','defineProperty',',\x20.','Folio','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','14RrVrGM','Portrait','PRINT_CONTAINER_CLASS','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.','Origin','offline-printing-css','FitHeight','\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.','None','PrintPaperMargin','Wide','FitPage','447622giQMaq','createElement','style','createPrintStyle','1210980nCpNuZ','object','px\x20'];_0xd474=function(){return _0x27db1e;};return _0xd474();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5-nightly.202501201336",
|
|
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.7.2",
|
|
46
46
|
"vite": "^6.0.7",
|
|
47
47
|
"vitest": "^2.1.8",
|
|
48
|
-
"@univerjs-infra/shared": "0.5.
|
|
48
|
+
"@univerjs-infra/shared": "0.5.5"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run",
|