@univerjs-pro/print 0.6.3 → 0.6.4
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 _0x26c974=_0x2d8d;function _0x58b2(){const _0x3f0f0d=['offline-printing-css','7956756JwuwzE','3873138WqyRrN','Start','5091548tpiNUL','45072zhJcAU','End','printing-canvas','Letter','px\x20','5WYzSNX','printing-canvas-container','Statement','PRINT_CONTAINER_CLASS','1982196ZsVPZc','50ynQAMX','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.','PrintPaperMargin','PaperSizePxMap','12845tGNYbB','createElement','PaperMarginMap','Portrait','Origin','Middle','Landscape','Legal','FitHeight','Executive','Tabloid','toStringTag','FitPage','None','Custom',',\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','\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','FitWidth','PrintPaperSize','style','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','1544MUXAQs','Narrow','437166wRmIbK','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.','PrintAlign','Folio','createPrintStyle'];_0x58b2=function(){return _0x3f0f0d;};return _0x58b2();}(function(_0x1e3a80,_0x9e65c6){const _0x21d409=_0x2d8d,_0x396542=_0x1e3a80();while(!![]){try{const _0x48851f=-parseInt(_0x21d409(0x1ba))/0x1+-parseInt(_0x21d409(0x191))/0x2+-parseInt(_0x21d409(0x1b7))/0x3+parseInt(_0x21d409(0x1b9))/0x4*(parseInt(_0x21d409(0x1bf))/0x5)+parseInt(_0x21d409(0x1b6))/0x6+-parseInt(_0x21d409(0x197))/0x7*(-parseInt(_0x21d409(0x1ae))/0x8)+parseInt(_0x21d409(0x1b0))/0x9*(parseInt(_0x21d409(0x192))/0xa);if(_0x48851f===_0x9e65c6)break;else _0x396542['push'](_0x396542['shift']());}catch(_0x76a1f0){_0x396542['push'](_0x396542['shift']());}}}(_0x58b2,0xd41d6));Object['defineProperty'](exports,Symbol[_0x26c974(0x1a2)],{'value':'Module'});var e=(_0x547b9d=>(_0x547b9d['Letter']=_0x26c974(0x1bd),_0x547b9d[_0x26c974(0x1a1)]=_0x26c974(0x1a1),_0x547b9d[_0x26c974(0x19e)]=_0x26c974(0x19e),_0x547b9d[_0x26c974(0x1c1)]=_0x26c974(0x1c1),_0x547b9d[_0x26c974(0x1a0)]=_0x26c974(0x1a0),_0x547b9d[_0x26c974(0x1b3)]=_0x26c974(0x1b3),_0x547b9d['A3']='A3',_0x547b9d['A4']='A4',_0x547b9d['A5']='A5',_0x547b9d['B4']='B4',_0x547b9d['B5']='B5',_0x547b9d))(e||{}),i=(_0x1209be=>(_0x1209be['Portrait']=_0x26c974(0x19a),_0x1209be[_0x26c974(0x19d)]='Landscape',_0x1209be))(i||{}),c=(_0x4a523e=>(_0x4a523e['Origin']=_0x26c974(0x19b),_0x4a523e[_0x26c974(0x1aa)]=_0x26c974(0x1aa),_0x4a523e[_0x26c974(0x19f)]=_0x26c974(0x19f),_0x4a523e[_0x26c974(0x1a3)]='FitPage',_0x4a523e[_0x26c974(0x1a5)]='Custom',_0x4a523e))(c||{}),g=(_0x1a45b6=>(_0x1a45b6[_0x26c974(0x1b8)]=_0x26c974(0x1b8),_0x1a45b6[_0x26c974(0x1bb)]=_0x26c974(0x1bb),_0x1a45b6[_0x26c974(0x19c)]=_0x26c974(0x19c),_0x1a45b6))(g||{}),o=(_0x52ccdb=>(_0x52ccdb['Normal']=_0x26c974(0x1a9),_0x52ccdb[_0x26c974(0x1af)]=_0x26c974(0x1af),_0x52ccdb[_0x26c974(0x193)]=_0x26c974(0x193),_0x52ccdb[_0x26c974(0x1a4)]=_0x26c974(0x1a4),_0x52ccdb))(o||{});function _0x2d8d(_0x4a166d,_0x5756f4){const _0x58b28f=_0x58b2();return _0x2d8d=function(_0x2d8dfa,_0x3f0cf3){_0x2d8dfa=_0x2d8dfa-0x191;let _0x59a4ce=_0x58b28f[_0x2d8dfa];return _0x59a4ce;},_0x2d8d(_0x4a166d,_0x5756f4);}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[_0x26c974(0x1a0)]]:{'w':0x2b8,'h':0x3f0},[e[_0x26c974(0x1b3)]]:{'w':0x330,'h':0x4e0},[e[_0x26c974(0x19e)]]:{'w':0x330,'h':0x540},[e[_0x26c974(0x1bd)]]:{'w':0x330,'h':0x420},[e[_0x26c974(0x1c1)]]:{'w':0x210,'h':0x330},[e[_0x26c974(0x1a1)]]:{'w':0x420,'h':0x660}},N={[o[_0x26c974(0x1a9)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[o[_0x26c974(0x1af)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[o[_0x26c974(0x193)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[o[_0x26c974(0x1a4)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},n=_0x26c974(0x1c0),p=_0x26c974(0x1bc);function A(_0xf7f8bf,_0x4bb472){const _0x4318d5=_0x26c974,{w:_0x3684b1,h:_0x2c7bd8}=m[_0xf7f8bf],_0x269fc9=_0x4bb472===i[_0x4318d5(0x19a)]?_0x3684b1:_0x2c7bd8,_0x4d002b=_0x4bb472===i[_0x4318d5(0x19a)]?_0x2c7bd8:_0x3684b1,_0x563bda=_0x4318d5(0x1a8)+_0x269fc9+_0x4318d5(0x1be)+_0x4d002b+_0x4318d5(0x1b1)+n+_0x4318d5(0x1a6)+n+_0x4318d5(0x194)+p+_0x4318d5(0x1a7)+_0x4d002b+_0x4318d5(0x1ad)+_0x269fc9+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}',_0x52e430=document[_0x4318d5(0x198)](_0x4318d5(0x1ac));return _0x52e430['innerHTML']=_0x563bda,_0x52e430['className']=_0x4318d5(0x1b5),_0x52e430;}exports['PRINT_CANVAS_CLASS']=p,exports[_0x26c974(0x1c2)]=n,exports[_0x26c974(0x199)]=N,exports[_0x26c974(0x196)]=m,exports[_0x26c974(0x1b2)]=g,exports['PrintDirection']=i,exports[_0x26c974(0x195)]=o,exports[_0x26c974(0x1ab)]=e,exports['PrintScale']=c,exports[_0x26c974(0x1b4)]=A;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4a27(){const _0x29c32f=['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','Custom','310OmOzUA','Executive','printing-canvas-container','FitHeight','Statement','px\x20','288652CNZBBa','Start','Narrow','1745920mMIqxi','FitWidth','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','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\x20width:\x20','156013cfTdEN','Legal','5959908aVsqdl','printing-canvas','1517886UMpiXG','40YJKBiZ','931oMWrUb','Origin','Folio','None','Middle','4212JOEqhb','Wide','offline-printing-css','49299Leiqpd','className','Landscape','Portrait','End','8hfYusD','Tabloid','Normal','style'];_0x4a27=function(){return _0x29c32f;};return _0x4a27();}const _0x34387a=_0x463b;(function(_0xee6ed0,_0x1c90ac){const _0x59075a=_0x463b,_0x21bb6c=_0xee6ed0();while(!![]){try{const _0x3ea514=-parseInt(_0x59075a(0x191))/0x1*(-parseInt(_0x59075a(0x196))/0x2)+-parseInt(_0x59075a(0x1af))/0x3+parseInt(_0x59075a(0x1a3))/0x4*(parseInt(_0x59075a(0x1b0))/0x5)+parseInt(_0x59075a(0x1b6))/0x6*(parseInt(_0x59075a(0x1b1))/0x7)+-parseInt(_0x59075a(0x1a6))/0x8+parseInt(_0x59075a(0x1ad))/0x9+-parseInt(_0x59075a(0x19d))/0xa*(parseInt(_0x59075a(0x1ab))/0xb);if(_0x3ea514===_0x1c90ac)break;else _0x21bb6c['push'](_0x21bb6c['shift']());}catch(_0xd4e890){_0x21bb6c['push'](_0x21bb6c['shift']());}}}(_0x4a27,0x5967b));var o=(_0x1b9885=>(_0x1b9885[_0x34387a(0x19a)]=_0x34387a(0x19a),_0x1b9885[_0x34387a(0x197)]=_0x34387a(0x197),_0x1b9885[_0x34387a(0x1ac)]=_0x34387a(0x1ac),_0x1b9885['Statement']='Statement',_0x1b9885[_0x34387a(0x19e)]=_0x34387a(0x19e),_0x1b9885[_0x34387a(0x1b3)]=_0x34387a(0x1b3),_0x1b9885['A3']='A3',_0x1b9885['A4']='A4',_0x1b9885['A5']='A5',_0x1b9885['B4']='B4',_0x1b9885['B5']='B5',_0x1b9885))(o||{}),i=(_0x1822a9=>(_0x1822a9[_0x34387a(0x194)]=_0x34387a(0x194),_0x1822a9[_0x34387a(0x193)]=_0x34387a(0x193),_0x1822a9))(i||{}),w=(_0x2de43b=>(_0x2de43b[_0x34387a(0x1b2)]=_0x34387a(0x1b2),_0x2de43b[_0x34387a(0x1a7)]=_0x34387a(0x1a7),_0x2de43b[_0x34387a(0x1a0)]=_0x34387a(0x1a0),_0x2de43b['FitPage']='FitPage',_0x2de43b['Custom']=_0x34387a(0x19c),_0x2de43b))(w||{}),m=(_0x34add5=>(_0x34add5[_0x34387a(0x1a4)]='Start',_0x34add5[_0x34387a(0x195)]=_0x34387a(0x195),_0x34add5[_0x34387a(0x1b5)]=_0x34387a(0x1b5),_0x34add5))(m||{}),e=(_0x58889f=>(_0x58889f[_0x34387a(0x198)]=_0x34387a(0x198),_0x58889f[_0x34387a(0x1a5)]=_0x34387a(0x1a5),_0x58889f[_0x34387a(0x1b7)]=_0x34387a(0x1b7),_0x58889f[_0x34387a(0x1b4)]=_0x34387a(0x1b4),_0x58889f))(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[_0x34387a(0x19e)]]:{'w':0x2b8,'h':0x3f0},[o[_0x34387a(0x1b3)]]:{'w':0x330,'h':0x4e0},[o[_0x34387a(0x1ac)]]:{'w':0x330,'h':0x540},[o['Letter']]:{'w':0x330,'h':0x420},[o[_0x34387a(0x1a1)]]:{'w':0x210,'h':0x330},[o['Tabloid']]:{'w':0x420,'h':0x660}},v={[e[_0x34387a(0x198)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[e[_0x34387a(0x1a5)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[e[_0x34387a(0x1b7)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[e['None']]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},l=_0x34387a(0x19f),p=_0x34387a(0x1ae);function _0x463b(_0x4783d8,_0x565157){const _0x4a27e5=_0x4a27();return _0x463b=function(_0x463b19,_0x4ff854){_0x463b19=_0x463b19-0x191;let _0x4eef99=_0x4a27e5[_0x463b19];return _0x4eef99;},_0x463b(_0x4783d8,_0x565157);}function N(_0x409d2a,_0x262d50){const _0x5a59d3=_0x34387a,{w:_0x373e03,h:_0x4a02cd}=g[_0x409d2a],_0x20e314=_0x262d50===i[_0x5a59d3(0x194)]?_0x373e03:_0x4a02cd,_0x1215da=_0x262d50===i['Portrait']?_0x4a02cd:_0x373e03,_0x5624b3=_0x5a59d3(0x19b)+_0x20e314+_0x5a59d3(0x1a2)+_0x1215da+_0x5a59d3(0x1a9)+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+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x1215da+_0x5a59d3(0x1aa)+_0x20e314+_0x5a59d3(0x1a8),_0x51b349=document['createElement'](_0x5a59d3(0x199));return _0x51b349['innerHTML']=_0x5624b3,_0x51b349[_0x5a59d3(0x192)]=_0x5a59d3(0x1b8),_0x51b349;}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 _0x5a30(){const _0x56378c=['offline-printing-css','className','FitHeight','printing-canvas','4578396MyVwXz','Landscape','Executive','Origin','\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','None','createPrintStyle',',\x20.','Tabloid','PrintPaperSize','Wide','Letter','innerHTML','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a}','4IJPYPU','349500eSgqpj','PaperMarginMap','2111841YlallQ','Start','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','End','Normal','Portrait','4MLcHXW','Custom','1372168XHWjpO','\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.','function','PrintDirection','PrintPaperMargin','Folio','Narrow','Module','exports','amd','Legal','toStringTag','1026273nyOwMo','FitWidth','2479029gxSbRX','PrintScale','PaperSizePxMap','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','PRINT_CONTAINER_CLASS','2959400ssngfL','style','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','px\x20','defineProperty','UniverProPrint','FitPage','Statement'];_0x5a30=function(){return _0x56378c;};return _0x5a30();}function _0x42c4(_0x20b569,_0x1a05fb){const _0x5a308a=_0x5a30();return _0x42c4=function(_0x42c41e,_0x294daa){_0x42c41e=_0x42c41e-0x9d;let _0x3da41f=_0x5a308a[_0x42c41e];return _0x3da41f;},_0x42c4(_0x20b569,_0x1a05fb);}(function(_0x166e5d,_0x2cfcd6){const _0x1ca293=_0x42c4,_0x3a3df9=_0x166e5d();while(!![]){try{const _0x1ff178=-parseInt(_0x1ca293(0x9e))/0x1+-parseInt(_0x1ca293(0x9d))/0x2*(-parseInt(_0x1ca293(0xb5))/0x3)+parseInt(_0x1ca293(0xa7))/0x4*(parseInt(_0x1ca293(0xbc))/0x5)+-parseInt(_0x1ca293(0xc8))/0x6+parseInt(_0x1ca293(0xb7))/0x7+-parseInt(_0x1ca293(0xa9))/0x8+parseInt(_0x1ca293(0xa0))/0x9;if(_0x1ff178===_0x2cfcd6)break;else _0x3a3df9['push'](_0x3a3df9['shift']());}catch(_0x4feef4){_0x3a3df9['push'](_0x3a3df9['shift']());}}}(_0x5a30,0x8dca3),function(_0x5c343a,_0x5d03d9){const _0x57d441=_0x42c4;typeof exports=='object'&&typeof module<'u'?_0x5d03d9(exports):typeof define==_0x57d441(0xab)&&define[_0x57d441(0xb2)]?define([_0x57d441(0xb1)],_0x5d03d9):(_0x5c343a=typeof globalThis<'u'?globalThis:_0x5c343a||self,_0x5d03d9(_0x5c343a[_0x57d441(0xc1)]={}));}(this,function(_0x1c25b7){'use strict';const _0x332490=_0x42c4;var _0x309992=(_0x1b854a=>(_0x1b854a[_0x332490(0xd3)]=_0x332490(0xd3),_0x1b854a[_0x332490(0xd0)]=_0x332490(0xd0),_0x1b854a[_0x332490(0xb3)]=_0x332490(0xb3),_0x1b854a['Statement']=_0x332490(0xc3),_0x1b854a[_0x332490(0xca)]=_0x332490(0xca),_0x1b854a['Folio']=_0x332490(0xae),_0x1b854a['A3']='A3',_0x1b854a['A4']='A4',_0x1b854a['A5']='A5',_0x1b854a['B4']='B4',_0x1b854a['B5']='B5',_0x1b854a))(_0x309992||{}),_0x1f62d7=(_0x49d58=>(_0x49d58[_0x332490(0xa6)]=_0x332490(0xa6),_0x49d58[_0x332490(0xc9)]=_0x332490(0xc9),_0x49d58))(_0x1f62d7||{}),_0x271acc=(_0x20432c=>(_0x20432c[_0x332490(0xcb)]=_0x332490(0xcb),_0x20432c[_0x332490(0xb6)]=_0x332490(0xb6),_0x20432c[_0x332490(0xc6)]=_0x332490(0xc6),_0x20432c['FitPage']=_0x332490(0xc2),_0x20432c[_0x332490(0xa8)]=_0x332490(0xa8),_0x20432c))(_0x271acc||{}),_0x3b60d3=(_0x11249d=>(_0x11249d[_0x332490(0xa1)]=_0x332490(0xa1),_0x11249d[_0x332490(0xa4)]=_0x332490(0xa4),_0x11249d['Middle']=_0x332490(0xa3),_0x11249d))(_0x3b60d3||{}),_0xbbb2fa=(_0x1d6579=>(_0x1d6579['Normal']=_0x332490(0xa5),_0x1d6579[_0x332490(0xaf)]=_0x332490(0xaf),_0x1d6579[_0x332490(0xd2)]=_0x332490(0xd2),_0x1d6579[_0x332490(0xcd)]=_0x332490(0xcd),_0x1d6579))(_0xbbb2fa||{});const _0x291ae6={[_0x309992['A3']]:{'w':0x463,'h':0x633},[_0x309992['A4']]:{'w':0x31a,'h':0x464},[_0x309992['A5']]:{'w':0x22f,'h':0x31a},[_0x309992['B4']]:{'w':0x3b0,'h':0x540},[_0x309992['B5']]:{'w':0x299,'h':0x3b0},[_0x309992[_0x332490(0xca)]]:{'w':0x2b8,'h':0x3f0},[_0x309992[_0x332490(0xae)]]:{'w':0x330,'h':0x4e0},[_0x309992[_0x332490(0xb3)]]:{'w':0x330,'h':0x540},[_0x309992[_0x332490(0xd3)]]:{'w':0x330,'h':0x420},[_0x309992[_0x332490(0xc3)]]:{'w':0x210,'h':0x330},[_0x309992[_0x332490(0xd0)]]:{'w':0x420,'h':0x660}},_0x17424d={[_0xbbb2fa[_0x332490(0xa5)]]:{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},[_0xbbb2fa[_0x332490(0xaf)]]:{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},[_0xbbb2fa[_0x332490(0xd2)]]:{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},[_0xbbb2fa[_0x332490(0xcd)]]:{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x2ceb03='printing-canvas-container',_0x37cdb1=_0x332490(0xc7);function _0x263c2e(_0x2ee250,_0x406975){const _0x1f267e=_0x332490,{w:_0x3f3054,h:_0x173ae5}=_0x291ae6[_0x2ee250],_0x320bea=_0x406975===_0x1f62d7[_0x1f267e(0xa6)]?_0x3f3054:_0x173ae5,_0x2fa331=_0x406975===_0x1f62d7[_0x1f267e(0xa6)]?_0x173ae5:_0x3f3054,_0x437d46=_0x1f267e(0xcc)+_0x320bea+_0x1f267e(0xbf)+_0x2fa331+_0x1f267e(0xa2)+_0x2ceb03+_0x1f267e(0xcf)+_0x2ceb03+_0x1f267e(0xaa)+_0x37cdb1+_0x1f267e(0xbe)+_0x2fa331+_0x1f267e(0xba)+_0x320bea+_0x1f267e(0xd5),_0x929fef=document['createElement'](_0x1f267e(0xbd));return _0x929fef[_0x1f267e(0xd4)]=_0x437d46,_0x929fef[_0x1f267e(0xc5)]=_0x1f267e(0xc4),_0x929fef;}_0x1c25b7['PRINT_CANVAS_CLASS']=_0x37cdb1,_0x1c25b7[_0x332490(0xbb)]=_0x2ceb03,_0x1c25b7[_0x332490(0x9f)]=_0x17424d,_0x1c25b7[_0x332490(0xb9)]=_0x291ae6,_0x1c25b7['PrintAlign']=_0x3b60d3,_0x1c25b7[_0x332490(0xac)]=_0x1f62d7,_0x1c25b7[_0x332490(0xad)]=_0xbbb2fa,_0x1c25b7[_0x332490(0xd1)]=_0x309992,_0x1c25b7[_0x332490(0xb8)]=_0x271acc,_0x1c25b7[_0x332490(0xce)]=_0x263c2e,Object[_0x332490(0xc0)](_0x1c25b7,Symbol[_0x332490(0xb4)],{'value':_0x332490(0xb0)});}));
|
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",
|
|
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",
|