@univerjs-pro/print 1.3.0 → 1.3.1

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 CHANGED
@@ -1 +1 @@
1
- var _0x15ab43=_0x1f20;(function(_0x1f5969,_0x54820e){var _0x4a478b=_0x1f20,_0x3b0226=_0x1f5969();while(!![]){try{var _0x1a545c=-parseInt(_0x4a478b(0x1c3))/0x1*(-parseInt(_0x4a478b(0x1a5))/0x2)+parseInt(_0x4a478b(0x1b0))/0x3*(-parseInt(_0x4a478b(0x198))/0x4)+parseInt(_0x4a478b(0x1af))/0x5*(-parseInt(_0x4a478b(0x1cf))/0x6)+parseInt(_0x4a478b(0x19c))/0x7+parseInt(_0x4a478b(0x1a2))/0x8+parseInt(_0x4a478b(0x19b))/0x9*(parseInt(_0x4a478b(0x1d7))/0xa)+-parseInt(_0x4a478b(0x1a0))/0xb;if(_0x1a545c===_0x54820e)break;else _0x3b0226['push'](_0x3b0226['shift']());}catch(_0x5f01b1){_0x3b0226['push'](_0x3b0226['shift']());}}}(_0x1a79,0x4d020),Object[_0x15ab43(0x197)](exports,Symbol[_0x15ab43(0x1c8)],{'value':_0x15ab43(0x19e)}));let e=require('@univerjs/core'),t=function(_0x2d93a2){var _0x389e2c=_0x15ab43;return _0x2d93a2[_0x389e2c(0x19f)]=_0x389e2c(0x19f),_0x2d93a2[_0x389e2c(0x1a4)]='Landscape',_0x2d93a2;}({}),n=function(_0x178996){var _0x352834=_0x15ab43;return _0x178996['Origin']='Origin',_0x178996[_0x352834(0x1ad)]='FitWidth',_0x178996['FitHeight']=_0x352834(0x1c2),_0x178996['FitPage']=_0x352834(0x1cc),_0x178996['Custom']=_0x352834(0x1c7),_0x178996;}({}),r=function(_0x54c32e){var _0x559491=_0x15ab43;return _0x54c32e['Start']=_0x559491(0x1a6),_0x54c32e[_0x559491(0x1d8)]=_0x559491(0x1d8),_0x54c32e[_0x559491(0x1b6)]='Middle',_0x54c32e;}({}),i=function(_0x2a52fc){var _0x2ad77e=_0x15ab43;return _0x2a52fc['Normal']=_0x2ad77e(0x1cb),_0x2a52fc[_0x2ad77e(0x1c4)]=_0x2ad77e(0x1c4),_0x2a52fc[_0x2ad77e(0x196)]=_0x2ad77e(0x196),_0x2a52fc[_0x2ad77e(0x199)]=_0x2ad77e(0x199),_0x2a52fc[_0x2ad77e(0x1c7)]=_0x2ad77e(0x1c7),_0x2a52fc;}({});const a={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},o=_0x15ab43(0x1d9),s=_0x15ab43(0x1c6);function c(_0x2e1ed7,_0x8e0dd5,_0x586d72){var _0x293e9f=_0x15ab43;let _0x369c7b=_0x586d72==='Portrait'?_0x2e1ed7:_0x8e0dd5,_0x450aa8=_0x586d72===_0x293e9f(0x19f)?_0x8e0dd5:_0x2e1ed7,_0x278baa=_0x293e9f(0x1da)+s+_0x293e9f(0x1c9)+_0x369c7b+_0x293e9f(0x19d)+_0x450aa8+'px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.'+o+_0x293e9f(0x1d6)+o+_0x293e9f(0x1b8)+s+_0x293e9f(0x1b7)+_0x450aa8+_0x293e9f(0x1be)+_0x369c7b+_0x293e9f(0x1d2),_0x24f8bc=document[_0x293e9f(0x19a)](_0x293e9f(0x1aa));return _0x24f8bc[_0x293e9f(0x1c0)]=_0x278baa,_0x24f8bc[_0x293e9f(0x1d0)]=_0x293e9f(0x1bf),_0x24f8bc;}function l(_0x4234be){'@babel/helpers - typeof';var _0x286135=_0x15ab43;return l=typeof Symbol==_0x286135(0x1a3)&&typeof Symbol[_0x286135(0x1ab)]==_0x286135(0x1a1)?function(_0x200e14){return typeof _0x200e14;}:function(_0x5f2f4f){var _0x2e3238=_0x286135;return _0x5f2f4f&&typeof Symbol=='function'&&_0x5f2f4f['constructor']===Symbol&&_0x5f2f4f!==Symbol[_0x2e3238(0x1ce)]?_0x2e3238(0x1a1):typeof _0x5f2f4f;},l(_0x4234be);}function u(_0x1ba8ba,_0x49b97){var _0x268d9e=_0x15ab43;if(l(_0x1ba8ba)!=_0x268d9e(0x1a9)||!_0x1ba8ba)return _0x1ba8ba;var _0x5b8ab7=_0x1ba8ba[Symbol[_0x268d9e(0x1cd)]];if(_0x5b8ab7!==void 0x0){var _0x37f947=_0x5b8ab7[_0x268d9e(0x1a7)](_0x1ba8ba,_0x49b97||'default');if(l(_0x37f947)!=_0x268d9e(0x1a9))return _0x37f947;throw TypeError(_0x268d9e(0x1d1));}return(_0x49b97===_0x268d9e(0x1ac)?String:Number)(_0x1ba8ba);}function d(_0x53f955){var _0x3616d8=_0x15ab43,_0x2b7e1e=u(_0x53f955,'string');return l(_0x2b7e1e)==_0x3616d8(0x1a1)?_0x2b7e1e:_0x2b7e1e+'';}function f(_0x17a58a,_0x5c0137,_0xf6a2a1){var _0x10cb28=_0x15ab43;return(_0x5c0137=d(_0x5c0137))in _0x17a58a?Object[_0x10cb28(0x197)](_0x17a58a,_0x5c0137,{'value':_0xf6a2a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17a58a[_0x5c0137]=_0xf6a2a1,_0x17a58a;}function _0x1f20(_0x22b9f1,_0x418d84){_0x22b9f1=_0x22b9f1-0x196;var _0x1a7984=_0x1a79();var _0x1f2090=_0x1a7984[_0x22b9f1];return _0x1f2090;}const p=(0x0,e[_0x15ab43(0x1bd)])(_0x15ab43(0x1ca));function _0x1a79(){var _0x3fc284=['offline-printing-css','innerHTML','all','FitHeight','15bUYtQF','Narrow','IPrintPreparationService','printing-canvas','Custom','toStringTag','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','pro.print-preparation.service','Normal','FitPage','toPrimitive','prototype','17106QjdfBU','className','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','add','PrintPreparationService','PrintScale','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','10UByIgQ','End','printing-canvas-container','\x0a\x20\x20\x20\x20.','Wide','defineProperty','792QDQRqG','None','createElement','2554506sRPFFK','3147893WHWfBt','px\x20','Module','Portrait','2876995COAeyi','symbol','1347176FbNnzg','function','Landscape','60904ZVPEwL','Start','call','PRINT_CONTAINER_CLASS','object','style','iterator','string','FitWidth','PrintAlign','1055KhSrpf','2730yKawun','toDisposable','PrintPaperMargin','prepare','_contributions','PRINT_CANVAS_CLASS','Middle','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','PaperMarginMap','registerContribution','from','PrintDirection','createIdentifier','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'];_0x1a79=function(){return _0x3fc284;};return _0x1a79();}var m=class{constructor(){var _0x22678b=_0x15ab43;f(this,_0x22678b(0x1b4),new Set());}[_0x15ab43(0x1ba)](_0x37fa30){var _0x4cb5ea=_0x15ab43;return this['_contributions'][_0x4cb5ea(0x1d3)](_0x37fa30),(0x0,e[_0x4cb5ea(0x1b1)])(()=>this[_0x4cb5ea(0x1b4)]['delete'](_0x37fa30));}async[_0x15ab43(0x1b3)](_0x20a51b){var _0x5e5555=_0x15ab43;await Promise[_0x5e5555(0x1c1)](Array[_0x5e5555(0x1bb)](this[_0x5e5555(0x1b4)],_0x3cc049=>_0x3cc049[_0x5e5555(0x1b3)](_0x20a51b)));}};exports[_0x15ab43(0x1c5)]=p,exports[_0x15ab43(0x1b5)]=s,exports[_0x15ab43(0x1a8)]=o,exports[_0x15ab43(0x1b9)]=a,exports[_0x15ab43(0x1ae)]=r,exports[_0x15ab43(0x1bc)]=t,exports[_0x15ab43(0x1b2)]=i,exports[_0x15ab43(0x1d4)]=m,exports[_0x15ab43(0x1d5)]=n,exports['createPrintStyle']=c;
1
+ function _0x49a1(_0x3ba694,_0x30fe35){_0x3ba694=_0x3ba694-0x7f;var _0x191971=_0x1919();var _0x49a19c=_0x191971[_0x3ba694];return _0x49a19c;}var _0x2bad91=_0x49a1;(function(_0x4f3437,_0x3c48b0){var _0x53e5c7=_0x49a1,_0x1edbe6=_0x4f3437();while(!![]){try{var _0x17e30f=-parseInt(_0x53e5c7(0x95))/0x1*(-parseInt(_0x53e5c7(0xbc))/0x2)+parseInt(_0x53e5c7(0x97))/0x3*(parseInt(_0x53e5c7(0xac))/0x4)+parseInt(_0x53e5c7(0xa7))/0x5+parseInt(_0x53e5c7(0xb2))/0x6+-parseInt(_0x53e5c7(0x9d))/0x7+parseInt(_0x53e5c7(0x98))/0x8+-parseInt(_0x53e5c7(0x8d))/0x9;if(_0x17e30f===_0x3c48b0)break;else _0x1edbe6['push'](_0x1edbe6['shift']());}catch(_0x48d764){_0x1edbe6['push'](_0x1edbe6['shift']());}}}(_0x1919,0xb5cd7),Object[_0x2bad91(0xa6)](exports,Symbol[_0x2bad91(0xbb)],{'value':_0x2bad91(0x90)}));let e=require('@univerjs/core'),t=function(_0x91cdc8){var _0x609ae9=_0x2bad91;return _0x91cdc8[_0x609ae9(0xb3)]=_0x609ae9(0xb3),_0x91cdc8[_0x609ae9(0xb8)]=_0x609ae9(0xb8),_0x91cdc8;}({}),n=function(_0x240df6){var _0x150067=_0x2bad91;return _0x240df6[_0x150067(0x86)]=_0x150067(0x86),_0x240df6[_0x150067(0x89)]=_0x150067(0x89),_0x240df6[_0x150067(0xaa)]=_0x150067(0xaa),_0x240df6['FitPage']=_0x150067(0xa1),_0x240df6[_0x150067(0xb6)]=_0x150067(0xb6),_0x240df6;}({}),r=function(_0x430b1f){var _0x51be61=_0x2bad91;return _0x430b1f[_0x51be61(0x9a)]=_0x51be61(0x9a),_0x430b1f[_0x51be61(0x9c)]=_0x51be61(0x9c),_0x430b1f[_0x51be61(0xba)]=_0x51be61(0xba),_0x430b1f;}({}),i=function(_0x4053c4){var _0x36f960=_0x2bad91;return _0x4053c4['Normal']=_0x36f960(0x81),_0x4053c4['Narrow']=_0x36f960(0x8f),_0x4053c4[_0x36f960(0x8c)]=_0x36f960(0x8c),_0x4053c4['None']=_0x36f960(0xa5),_0x4053c4['Custom']=_0x36f960(0xb6),_0x4053c4;}({});const a={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},o=_0x2bad91(0x9f),s=_0x2bad91(0x91);function c(_0x2d37f0,_0x2fcb17,_0x59c9b5){var _0xfc8247=_0x2bad91;let _0x4f1043=_0x59c9b5===_0xfc8247(0xb3)?_0x2d37f0:_0x2fcb17,_0x14c1a8=_0x59c9b5===_0xfc8247(0xb3)?_0x2fcb17:_0x2d37f0,_0x349715='\x0a\x20\x20\x20\x20.'+s+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x4f1043+_0xfc8247(0x92)+_0x14c1a8+_0xfc8247(0x96)+o+_0xfc8247(0x8b)+o+_0xfc8247(0x88)+s+_0xfc8247(0xa9)+_0x14c1a8+_0xfc8247(0xa8)+_0x4f1043+_0xfc8247(0xad),_0x14c9c8=document[_0xfc8247(0xa2)](_0xfc8247(0xab));return _0x14c9c8[_0xfc8247(0x83)]=_0x349715,_0x14c9c8[_0xfc8247(0x99)]=_0xfc8247(0x82),_0x14c9c8;}function l(_0x218004){'@babel/helpers - typeof';var _0x2bdfc9=_0x2bad91;return l=typeof Symbol==_0x2bdfc9(0xa3)&&typeof Symbol[_0x2bdfc9(0x94)]==_0x2bdfc9(0x8e)?function(_0x31439d){return typeof _0x31439d;}:function(_0x18d416){var _0x1517f2=_0x2bdfc9;return _0x18d416&&typeof Symbol==_0x1517f2(0xa3)&&_0x18d416[_0x1517f2(0x9e)]===Symbol&&_0x18d416!==Symbol[_0x1517f2(0xa4)]?_0x1517f2(0x8e):typeof _0x18d416;},l(_0x218004);}function u(_0x19a883,_0x4b8bff){var _0x50978c=_0x2bad91;if(l(_0x19a883)!=_0x50978c(0xb1)||!_0x19a883)return _0x19a883;var _0x3bf933=_0x19a883[Symbol[_0x50978c(0x9b)]];if(_0x3bf933!==void 0x0){var _0x2cb6f1=_0x3bf933[_0x50978c(0xb5)](_0x19a883,_0x4b8bff||'default');if(l(_0x2cb6f1)!='object')return _0x2cb6f1;throw TypeError(_0x50978c(0x7f));}return(_0x4b8bff===_0x50978c(0xb4)?String:Number)(_0x19a883);}function d(_0x692f22){var _0x30fd88=_0x2bad91,_0x5bc1a7=u(_0x692f22,_0x30fd88(0xb4));return l(_0x5bc1a7)==_0x30fd88(0x8e)?_0x5bc1a7:_0x5bc1a7+'';}function f(_0x3015c1,_0x187d62,_0x3f7bcc){var _0x16a353=_0x2bad91;return(_0x187d62=d(_0x187d62))in _0x3015c1?Object[_0x16a353(0xa6)](_0x3015c1,_0x187d62,{'value':_0x3f7bcc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3015c1[_0x187d62]=_0x3f7bcc,_0x3015c1;}function _0x1919(){var _0x3a90db=['\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','FitHeight','style','222140ZDafae','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','PrintPreparationService','toDisposable','IPrintPreparationService','object','5327418SuVHah','Portrait','string','call','Custom','delete','Landscape','PrintAlign','Middle','toStringTag','2FxrTFU','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','PrintScale','Normal','offline-printing-css','innerHTML','PrintDirection','createIdentifier','Origin','prepare','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','FitWidth','_contributions','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Wide','21965355VYZdRn','symbol','Narrow','Module','printing-canvas','px\x20','PRINT_CONTAINER_CLASS','iterator','1155183TnqIxw','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','51khCHQb','7148152NGgHoO','className','Start','toPrimitive','End','7230090ZqVftP','constructor','printing-canvas-container','createPrintStyle','FitPage','createElement','function','prototype','None','defineProperty','1687140MeCUst','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'];_0x1919=function(){return _0x3a90db;};return _0x1919();}const p=(0x0,e[_0x2bad91(0x85)])('pro.print-preparation.service');var m=class{constructor(){var _0x3753e=_0x2bad91;f(this,_0x3753e(0x8a),new Set());}['registerContribution'](_0x1f6df4){var _0x1ffa16=_0x2bad91;return this['_contributions']['add'](_0x1f6df4),(0x0,e[_0x1ffa16(0xaf)])(()=>this['_contributions'][_0x1ffa16(0xb7)](_0x1f6df4));}async[_0x2bad91(0x87)](_0xe5ff3f){var _0x89340e=_0x2bad91;await Promise['all'](Array['from'](this['_contributions'],_0x4aff41=>_0x4aff41[_0x89340e(0x87)](_0xe5ff3f)));}};exports[_0x2bad91(0xb0)]=p,exports['PRINT_CANVAS_CLASS']=s,exports[_0x2bad91(0x93)]=o,exports['PaperMarginMap']=a,exports[_0x2bad91(0xb9)]=r,exports[_0x2bad91(0x84)]=t,exports['PrintPaperMargin']=i,exports[_0x2bad91(0xae)]=m,exports[_0x2bad91(0x80)]=n,exports[_0x2bad91(0xa0)]=c;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x361d16=_0x694f;(function(_0x5865d7,_0x322035){var _0x133cc9=_0x694f,_0x541a34=_0x5865d7();while(!![]){try{var _0x565a0d=-parseInt(_0x133cc9(0xcf))/0x1+parseInt(_0x133cc9(0xb4))/0x2*(-parseInt(_0x133cc9(0xce))/0x3)+-parseInt(_0x133cc9(0xb0))/0x4+parseInt(_0x133cc9(0xd7))/0x5+parseInt(_0x133cc9(0xaa))/0x6*(parseInt(_0x133cc9(0xc4))/0x7)+-parseInt(_0x133cc9(0xc8))/0x8*(-parseInt(_0x133cc9(0xb6))/0x9)+parseInt(_0x133cc9(0xab))/0xa*(-parseInt(_0x133cc9(0xc7))/0xb);if(_0x565a0d===_0x322035)break;else _0x541a34['push'](_0x541a34['shift']());}catch(_0x34a214){_0x541a34['push'](_0x541a34['shift']());}}}(_0x336b,0x9ad38));import{createIdentifier as _0x4efcad,toDisposable as _0x57f944}from'@univerjs/core';let n=function(_0x3b1faa){var _0x16bcfd=_0x694f;return _0x3b1faa[_0x16bcfd(0xcb)]=_0x16bcfd(0xcb),_0x3b1faa[_0x16bcfd(0xbd)]=_0x16bcfd(0xbd),_0x3b1faa;}({}),r=function(_0x157ec4){var _0x15fe8d=_0x694f;return _0x157ec4[_0x15fe8d(0xbe)]=_0x15fe8d(0xbe),_0x157ec4[_0x15fe8d(0xd0)]=_0x15fe8d(0xd0),_0x157ec4[_0x15fe8d(0xe0)]=_0x15fe8d(0xe0),_0x157ec4[_0x15fe8d(0xaf)]=_0x15fe8d(0xaf),_0x157ec4[_0x15fe8d(0xc2)]=_0x15fe8d(0xc2),_0x157ec4;}({}),i=function(_0x804104){var _0x3a0b27=_0x694f;return _0x804104[_0x3a0b27(0xd6)]=_0x3a0b27(0xd6),_0x804104[_0x3a0b27(0xac)]=_0x3a0b27(0xac),_0x804104[_0x3a0b27(0xb1)]=_0x3a0b27(0xb1),_0x804104;}({}),a=function(_0x1181cb){var _0x2e42c5=_0x694f;return _0x1181cb[_0x2e42c5(0xc3)]=_0x2e42c5(0xc3),_0x1181cb[_0x2e42c5(0xad)]=_0x2e42c5(0xad),_0x1181cb['Wide']=_0x2e42c5(0xb7),_0x1181cb[_0x2e42c5(0xca)]=_0x2e42c5(0xca),_0x1181cb[_0x2e42c5(0xc2)]=_0x2e42c5(0xc2),_0x1181cb;}({});const o={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},s='printing-canvas-container',c='printing-canvas';function l(_0xe6ae6,_0x360764,_0x484df6){var _0x1b5f3b=_0x694f;let _0x1225ea=_0x484df6===_0x1b5f3b(0xcb)?_0xe6ae6:_0x360764,_0x185a96=_0x484df6===_0x1b5f3b(0xcb)?_0x360764:_0xe6ae6,_0x2f3b3b=_0x1b5f3b(0xb3)+c+_0x1b5f3b(0xcc)+_0x1225ea+_0x1b5f3b(0xd4)+_0x185a96+_0x1b5f3b(0xd9)+s+_0x1b5f3b(0xbc)+s+_0x1b5f3b(0xd5)+c+_0x1b5f3b(0xdc)+_0x185a96+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x1225ea+_0x1b5f3b(0xc5),_0x2dcba2=document[_0x1b5f3b(0xbf)](_0x1b5f3b(0xd3));return _0x2dcba2[_0x1b5f3b(0xd8)]=_0x2f3b3b,_0x2dcba2[_0x1b5f3b(0xc0)]=_0x1b5f3b(0xbb),_0x2dcba2;}function u(_0x41877b){'@babel/helpers - typeof';var _0x2ac0cf=_0x694f;return u=typeof Symbol==_0x2ac0cf(0xd1)&&typeof Symbol[_0x2ac0cf(0xdf)]==_0x2ac0cf(0xdd)?function(_0xe67a90){return typeof _0xe67a90;}:function(_0x2f3d60){var _0x28998b=_0x2ac0cf;return _0x2f3d60&&typeof Symbol==_0x28998b(0xd1)&&_0x2f3d60[_0x28998b(0xc6)]===Symbol&&_0x2f3d60!==Symbol[_0x28998b(0xc1)]?_0x28998b(0xdd):typeof _0x2f3d60;},u(_0x41877b);}function d(_0x24620d,_0x11c477){var _0x369005=_0x694f;if(u(_0x24620d)!=_0x369005(0xe1)||!_0x24620d)return _0x24620d;var _0x3ca1bf=_0x24620d[Symbol[_0x369005(0xdb)]];if(_0x3ca1bf!==void 0x0){var _0x38df73=_0x3ca1bf[_0x369005(0xb8)](_0x24620d,_0x11c477||_0x369005(0xd2));if(u(_0x38df73)!=_0x369005(0xe1))return _0x38df73;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x11c477===_0x369005(0xcd)?String:Number)(_0x24620d);}function _0x336b(){var _0x2f3273=['1016030OVImIv','prepare','117AvboSs','Wide','call','defineProperty','from','offline-printing-css','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Landscape','Origin','createElement','className','prototype','Custom','Normal','8918YfEfUl','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','constructor','345741QhQQLs','751752PEqHQI','add','None','Portrait','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','string','3XQzmJb','4938VIYPtZ','FitWidth','function','default','style','px\x20','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Start','385710GqarAu','innerHTML','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','registerContribution','toPrimitive','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','symbol','delete','iterator','FitHeight','object','_contributions','5604IyHQtr','250xjAwoQ','End','Narrow','all','FitPage','2223036efdtZn','Middle','pro.print-preparation.service','\x0a\x20\x20\x20\x20.'];_0x336b=function(){return _0x2f3273;};return _0x336b();}function f(_0x32f97a){var _0x4fcdf7=_0x694f,_0x455b23=d(_0x32f97a,_0x4fcdf7(0xcd));return u(_0x455b23)==_0x4fcdf7(0xdd)?_0x455b23:_0x455b23+'';}function _0x694f(_0x334907,_0x3f6af4){_0x334907=_0x334907-0xa9;var _0x336bf7=_0x336b();var _0x694f29=_0x336bf7[_0x334907];return _0x694f29;}function p(_0x74b66e,_0x419135,_0x5b760b){var _0x4ee5ee=_0x694f;return(_0x419135=f(_0x419135))in _0x74b66e?Object[_0x4ee5ee(0xb9)](_0x74b66e,_0x419135,{'value':_0x5b760b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x74b66e[_0x419135]=_0x5b760b,_0x74b66e;}const m=_0x4efcad(_0x361d16(0xb2));var h=class{constructor(){var _0x213088=_0x361d16;p(this,_0x213088(0xa9),new Set());}[_0x361d16(0xda)](_0x2dff5d){var _0x51c45e=_0x361d16;return this['_contributions'][_0x51c45e(0xc9)](_0x2dff5d),_0x57f944(()=>this[_0x51c45e(0xa9)][_0x51c45e(0xde)](_0x2dff5d));}async[_0x361d16(0xb5)](_0x29f111){var _0x4cfbbe=_0x361d16;await Promise[_0x4cfbbe(0xae)](Array[_0x4cfbbe(0xba)](this[_0x4cfbbe(0xa9)],_0x1388cc=>_0x1388cc[_0x4cfbbe(0xb5)](_0x29f111)));}};export{m as IPrintPreparationService,c as PRINT_CANVAS_CLASS,s as PRINT_CONTAINER_CLASS,o as PaperMarginMap,i as PrintAlign,n as PrintDirection,a as PrintPaperMargin,h as PrintPreparationService,r as PrintScale,l as createPrintStyle};
1
+ var _0x53c0f4=_0xd56e;function _0x42b8(){var _0x19c03c=['function','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','147012KeQWQu','symbol','2522763bOOepQ','16agYvMV','FitHeight','object','Narrow','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','36MyRDda','offline-printing-css','None','delete','iterator','Normal','prepare','FitPage','Middle','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','316680oaOlxY','registerContribution','call','from','default','Portrait','style','10pUYaUO','printing-canvas-container','16IcdulG','Custom','End','Wide','string','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','px\x20','pro.print-preparation.service','12poaUcI','_contributions','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','668048fPiHEq','9902csiBPk','Landscape','add','1804396FDrMBW','\x0a\x20\x20\x20\x20.','innerHTML','FitWidth','Start','649586floTOf','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','toPrimitive','createElement','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','Origin'];_0x42b8=function(){return _0x19c03c;};return _0x42b8();}function _0xd56e(_0x19b2ef,_0x1968b8){_0x19b2ef=_0x19b2ef-0xc7;var _0x42b8a9=_0x42b8();var _0xd56e3d=_0x42b8a9[_0x19b2ef];return _0xd56e3d;}(function(_0x336dbd,_0x32cde8){var _0x4ba9e7=_0xd56e,_0x2465d7=_0x336dbd();while(!![]){try{var _0x3c395f=parseInt(_0x4ba9e7(0xd6))/0x1*(-parseInt(_0x4ba9e7(0xe2))/0x2)+-parseInt(_0x4ba9e7(0xf2))/0x3*(parseInt(_0x4ba9e7(0xf5))/0x4)+-parseInt(_0x4ba9e7(0xcd))/0x5+-parseInt(_0x4ba9e7(0xde))/0x6*(parseInt(_0x4ba9e7(0xea))/0x7)+-parseInt(_0x4ba9e7(0xe1))/0x8+parseInt(_0x4ba9e7(0xf4))/0x9*(parseInt(_0x4ba9e7(0xd4))/0xa)+parseInt(_0x4ba9e7(0xe5))/0xb*(parseInt(_0x4ba9e7(0xfa))/0xc);if(_0x3c395f===_0x32cde8)break;else _0x2465d7['push'](_0x2465d7['shift']());}catch(_0x475d10){_0x2465d7['push'](_0x2465d7['shift']());}}}(_0x42b8,0x28389));import{createIdentifier as _0x2fd7f2,toDisposable as _0x2dc87b}from'@univerjs/core';let n=function(_0x410842){var _0x4d0f65=_0xd56e;return _0x410842['Portrait']=_0x4d0f65(0xd2),_0x410842[_0x4d0f65(0xe3)]=_0x4d0f65(0xe3),_0x410842;}({}),r=function(_0x555567){var _0x136e64=_0xd56e;return _0x555567[_0x136e64(0xef)]=_0x136e64(0xef),_0x555567[_0x136e64(0xe8)]='FitWidth',_0x555567[_0x136e64(0xf6)]=_0x136e64(0xf6),_0x555567[_0x136e64(0xca)]=_0x136e64(0xca),_0x555567['Custom']='Custom',_0x555567;}({}),i=function(_0x5b01ef){var _0x5695a1=_0xd56e;return _0x5b01ef[_0x5695a1(0xe9)]='Start',_0x5b01ef[_0x5695a1(0xd8)]=_0x5695a1(0xd8),_0x5b01ef[_0x5695a1(0xcb)]=_0x5695a1(0xcb),_0x5b01ef;}({}),a=function(_0x191081){var _0x2d1e28=_0xd56e;return _0x191081[_0x2d1e28(0xc8)]=_0x2d1e28(0xc8),_0x191081[_0x2d1e28(0xf8)]='Narrow',_0x191081[_0x2d1e28(0xd9)]=_0x2d1e28(0xd9),_0x191081[_0x2d1e28(0xfc)]=_0x2d1e28(0xfc),_0x191081[_0x2d1e28(0xd7)]=_0x2d1e28(0xd7),_0x191081;}({});const o={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},s=_0x53c0f4(0xd5),c='printing-canvas';function l(_0x291a71,_0x2ca053,_0x1793cf){var _0xb2ec40=_0x53c0f4;let _0x43061e=_0x1793cf===_0xb2ec40(0xd2)?_0x291a71:_0x2ca053,_0x27b476=_0x1793cf===_0xb2ec40(0xd2)?_0x2ca053:_0x291a71,_0x3e20f5=_0xb2ec40(0xe6)+c+_0xb2ec40(0xee)+_0x43061e+_0xb2ec40(0xdc)+_0x27b476+_0xb2ec40(0xeb)+s+_0xb2ec40(0xcc)+s+_0xb2ec40(0xdb)+c+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x27b476+_0xb2ec40(0xe0)+_0x43061e+_0xb2ec40(0xf9),_0x499946=document[_0xb2ec40(0xed)](_0xb2ec40(0xd3));return _0x499946[_0xb2ec40(0xe7)]=_0x3e20f5,_0x499946['className']=_0xb2ec40(0xfb),_0x499946;}function u(_0x3d4dc3){'@babel/helpers - typeof';var _0x281209=_0x53c0f4;return u=typeof Symbol=='function'&&typeof Symbol[_0x281209(0xc7)]==_0x281209(0xf3)?function(_0x3275fc){return typeof _0x3275fc;}:function(_0x201291){var _0x5480c6=_0x281209;return _0x201291&&typeof Symbol==_0x5480c6(0xf0)&&_0x201291['constructor']===Symbol&&_0x201291!==Symbol['prototype']?_0x5480c6(0xf3):typeof _0x201291;},u(_0x3d4dc3);}function d(_0x3f84c6,_0x17c5f5){var _0x133658=_0x53c0f4;if(u(_0x3f84c6)!=_0x133658(0xf7)||!_0x3f84c6)return _0x3f84c6;var _0x56ceb8=_0x3f84c6[Symbol[_0x133658(0xec)]];if(_0x56ceb8!==void 0x0){var _0x13bf88=_0x56ceb8[_0x133658(0xcf)](_0x3f84c6,_0x17c5f5||_0x133658(0xd1));if(u(_0x13bf88)!=_0x133658(0xf7))return _0x13bf88;throw TypeError(_0x133658(0xf1));}return(_0x17c5f5==='string'?String:Number)(_0x3f84c6);}function f(_0x2abeed){var _0x2c3574=_0x53c0f4,_0x2d1082=d(_0x2abeed,_0x2c3574(0xda));return u(_0x2d1082)==_0x2c3574(0xf3)?_0x2d1082:_0x2d1082+'';}function p(_0x26e331,_0x335ead,_0x3658d5){return(_0x335ead=f(_0x335ead))in _0x26e331?Object['defineProperty'](_0x26e331,_0x335ead,{'value':_0x3658d5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26e331[_0x335ead]=_0x3658d5,_0x26e331;}const m=_0x2fd7f2(_0x53c0f4(0xdd));var h=class{constructor(){var _0x128e21=_0x53c0f4;p(this,_0x128e21(0xdf),new Set());}[_0x53c0f4(0xce)](_0x2bbb94){var _0x4b313f=_0x53c0f4;return this[_0x4b313f(0xdf)][_0x4b313f(0xe4)](_0x2bbb94),_0x2dc87b(()=>this[_0x4b313f(0xdf)][_0x4b313f(0xfd)](_0x2bbb94));}async['prepare'](_0x305a94){var _0x4025ee=_0x53c0f4;await Promise['all'](Array[_0x4025ee(0xd0)](this[_0x4025ee(0xdf)],_0x2cc5f8=>_0x2cc5f8[_0x4025ee(0xc9)](_0x305a94)));}};export{m as IPrintPreparationService,c as PRINT_CANVAS_CLASS,s as PRINT_CONTAINER_CLASS,o as PaperMarginMap,i as PrintAlign,n as PrintDirection,a as PrintPaperMargin,h as PrintPreparationService,r as PrintScale,l as createPrintStyle};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x361d16=_0x694f;(function(_0x5865d7,_0x322035){var _0x133cc9=_0x694f,_0x541a34=_0x5865d7();while(!![]){try{var _0x565a0d=-parseInt(_0x133cc9(0xcf))/0x1+parseInt(_0x133cc9(0xb4))/0x2*(-parseInt(_0x133cc9(0xce))/0x3)+-parseInt(_0x133cc9(0xb0))/0x4+parseInt(_0x133cc9(0xd7))/0x5+parseInt(_0x133cc9(0xaa))/0x6*(parseInt(_0x133cc9(0xc4))/0x7)+-parseInt(_0x133cc9(0xc8))/0x8*(-parseInt(_0x133cc9(0xb6))/0x9)+parseInt(_0x133cc9(0xab))/0xa*(-parseInt(_0x133cc9(0xc7))/0xb);if(_0x565a0d===_0x322035)break;else _0x541a34['push'](_0x541a34['shift']());}catch(_0x34a214){_0x541a34['push'](_0x541a34['shift']());}}}(_0x336b,0x9ad38));import{createIdentifier as _0x4efcad,toDisposable as _0x57f944}from'@univerjs/core';let n=function(_0x3b1faa){var _0x16bcfd=_0x694f;return _0x3b1faa[_0x16bcfd(0xcb)]=_0x16bcfd(0xcb),_0x3b1faa[_0x16bcfd(0xbd)]=_0x16bcfd(0xbd),_0x3b1faa;}({}),r=function(_0x157ec4){var _0x15fe8d=_0x694f;return _0x157ec4[_0x15fe8d(0xbe)]=_0x15fe8d(0xbe),_0x157ec4[_0x15fe8d(0xd0)]=_0x15fe8d(0xd0),_0x157ec4[_0x15fe8d(0xe0)]=_0x15fe8d(0xe0),_0x157ec4[_0x15fe8d(0xaf)]=_0x15fe8d(0xaf),_0x157ec4[_0x15fe8d(0xc2)]=_0x15fe8d(0xc2),_0x157ec4;}({}),i=function(_0x804104){var _0x3a0b27=_0x694f;return _0x804104[_0x3a0b27(0xd6)]=_0x3a0b27(0xd6),_0x804104[_0x3a0b27(0xac)]=_0x3a0b27(0xac),_0x804104[_0x3a0b27(0xb1)]=_0x3a0b27(0xb1),_0x804104;}({}),a=function(_0x1181cb){var _0x2e42c5=_0x694f;return _0x1181cb[_0x2e42c5(0xc3)]=_0x2e42c5(0xc3),_0x1181cb[_0x2e42c5(0xad)]=_0x2e42c5(0xad),_0x1181cb['Wide']=_0x2e42c5(0xb7),_0x1181cb[_0x2e42c5(0xca)]=_0x2e42c5(0xca),_0x1181cb[_0x2e42c5(0xc2)]=_0x2e42c5(0xc2),_0x1181cb;}({});const o={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},s='printing-canvas-container',c='printing-canvas';function l(_0xe6ae6,_0x360764,_0x484df6){var _0x1b5f3b=_0x694f;let _0x1225ea=_0x484df6===_0x1b5f3b(0xcb)?_0xe6ae6:_0x360764,_0x185a96=_0x484df6===_0x1b5f3b(0xcb)?_0x360764:_0xe6ae6,_0x2f3b3b=_0x1b5f3b(0xb3)+c+_0x1b5f3b(0xcc)+_0x1225ea+_0x1b5f3b(0xd4)+_0x185a96+_0x1b5f3b(0xd9)+s+_0x1b5f3b(0xbc)+s+_0x1b5f3b(0xd5)+c+_0x1b5f3b(0xdc)+_0x185a96+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x1225ea+_0x1b5f3b(0xc5),_0x2dcba2=document[_0x1b5f3b(0xbf)](_0x1b5f3b(0xd3));return _0x2dcba2[_0x1b5f3b(0xd8)]=_0x2f3b3b,_0x2dcba2[_0x1b5f3b(0xc0)]=_0x1b5f3b(0xbb),_0x2dcba2;}function u(_0x41877b){'@babel/helpers - typeof';var _0x2ac0cf=_0x694f;return u=typeof Symbol==_0x2ac0cf(0xd1)&&typeof Symbol[_0x2ac0cf(0xdf)]==_0x2ac0cf(0xdd)?function(_0xe67a90){return typeof _0xe67a90;}:function(_0x2f3d60){var _0x28998b=_0x2ac0cf;return _0x2f3d60&&typeof Symbol==_0x28998b(0xd1)&&_0x2f3d60[_0x28998b(0xc6)]===Symbol&&_0x2f3d60!==Symbol[_0x28998b(0xc1)]?_0x28998b(0xdd):typeof _0x2f3d60;},u(_0x41877b);}function d(_0x24620d,_0x11c477){var _0x369005=_0x694f;if(u(_0x24620d)!=_0x369005(0xe1)||!_0x24620d)return _0x24620d;var _0x3ca1bf=_0x24620d[Symbol[_0x369005(0xdb)]];if(_0x3ca1bf!==void 0x0){var _0x38df73=_0x3ca1bf[_0x369005(0xb8)](_0x24620d,_0x11c477||_0x369005(0xd2));if(u(_0x38df73)!=_0x369005(0xe1))return _0x38df73;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x11c477===_0x369005(0xcd)?String:Number)(_0x24620d);}function _0x336b(){var _0x2f3273=['1016030OVImIv','prepare','117AvboSs','Wide','call','defineProperty','from','offline-printing-css','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Landscape','Origin','createElement','className','prototype','Custom','Normal','8918YfEfUl','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','constructor','345741QhQQLs','751752PEqHQI','add','None','Portrait','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','string','3XQzmJb','4938VIYPtZ','FitWidth','function','default','style','px\x20','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Start','385710GqarAu','innerHTML','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','registerContribution','toPrimitive','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','symbol','delete','iterator','FitHeight','object','_contributions','5604IyHQtr','250xjAwoQ','End','Narrow','all','FitPage','2223036efdtZn','Middle','pro.print-preparation.service','\x0a\x20\x20\x20\x20.'];_0x336b=function(){return _0x2f3273;};return _0x336b();}function f(_0x32f97a){var _0x4fcdf7=_0x694f,_0x455b23=d(_0x32f97a,_0x4fcdf7(0xcd));return u(_0x455b23)==_0x4fcdf7(0xdd)?_0x455b23:_0x455b23+'';}function _0x694f(_0x334907,_0x3f6af4){_0x334907=_0x334907-0xa9;var _0x336bf7=_0x336b();var _0x694f29=_0x336bf7[_0x334907];return _0x694f29;}function p(_0x74b66e,_0x419135,_0x5b760b){var _0x4ee5ee=_0x694f;return(_0x419135=f(_0x419135))in _0x74b66e?Object[_0x4ee5ee(0xb9)](_0x74b66e,_0x419135,{'value':_0x5b760b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x74b66e[_0x419135]=_0x5b760b,_0x74b66e;}const m=_0x4efcad(_0x361d16(0xb2));var h=class{constructor(){var _0x213088=_0x361d16;p(this,_0x213088(0xa9),new Set());}[_0x361d16(0xda)](_0x2dff5d){var _0x51c45e=_0x361d16;return this['_contributions'][_0x51c45e(0xc9)](_0x2dff5d),_0x57f944(()=>this[_0x51c45e(0xa9)][_0x51c45e(0xde)](_0x2dff5d));}async[_0x361d16(0xb5)](_0x29f111){var _0x4cfbbe=_0x361d16;await Promise[_0x4cfbbe(0xae)](Array[_0x4cfbbe(0xba)](this[_0x4cfbbe(0xa9)],_0x1388cc=>_0x1388cc[_0x4cfbbe(0xb5)](_0x29f111)));}};export{m as IPrintPreparationService,c as PRINT_CANVAS_CLASS,s as PRINT_CONTAINER_CLASS,o as PaperMarginMap,i as PrintAlign,n as PrintDirection,a as PrintPaperMargin,h as PrintPreparationService,r as PrintScale,l as createPrintStyle};
1
+ var _0x53c0f4=_0xd56e;function _0x42b8(){var _0x19c03c=['function','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','147012KeQWQu','symbol','2522763bOOepQ','16agYvMV','FitHeight','object','Narrow','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','36MyRDda','offline-printing-css','None','delete','iterator','Normal','prepare','FitPage','Middle','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','316680oaOlxY','registerContribution','call','from','default','Portrait','style','10pUYaUO','printing-canvas-container','16IcdulG','Custom','End','Wide','string','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','px\x20','pro.print-preparation.service','12poaUcI','_contributions','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','668048fPiHEq','9902csiBPk','Landscape','add','1804396FDrMBW','\x0a\x20\x20\x20\x20.','innerHTML','FitWidth','Start','649586floTOf','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','toPrimitive','createElement','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','Origin'];_0x42b8=function(){return _0x19c03c;};return _0x42b8();}function _0xd56e(_0x19b2ef,_0x1968b8){_0x19b2ef=_0x19b2ef-0xc7;var _0x42b8a9=_0x42b8();var _0xd56e3d=_0x42b8a9[_0x19b2ef];return _0xd56e3d;}(function(_0x336dbd,_0x32cde8){var _0x4ba9e7=_0xd56e,_0x2465d7=_0x336dbd();while(!![]){try{var _0x3c395f=parseInt(_0x4ba9e7(0xd6))/0x1*(-parseInt(_0x4ba9e7(0xe2))/0x2)+-parseInt(_0x4ba9e7(0xf2))/0x3*(parseInt(_0x4ba9e7(0xf5))/0x4)+-parseInt(_0x4ba9e7(0xcd))/0x5+-parseInt(_0x4ba9e7(0xde))/0x6*(parseInt(_0x4ba9e7(0xea))/0x7)+-parseInt(_0x4ba9e7(0xe1))/0x8+parseInt(_0x4ba9e7(0xf4))/0x9*(parseInt(_0x4ba9e7(0xd4))/0xa)+parseInt(_0x4ba9e7(0xe5))/0xb*(parseInt(_0x4ba9e7(0xfa))/0xc);if(_0x3c395f===_0x32cde8)break;else _0x2465d7['push'](_0x2465d7['shift']());}catch(_0x475d10){_0x2465d7['push'](_0x2465d7['shift']());}}}(_0x42b8,0x28389));import{createIdentifier as _0x2fd7f2,toDisposable as _0x2dc87b}from'@univerjs/core';let n=function(_0x410842){var _0x4d0f65=_0xd56e;return _0x410842['Portrait']=_0x4d0f65(0xd2),_0x410842[_0x4d0f65(0xe3)]=_0x4d0f65(0xe3),_0x410842;}({}),r=function(_0x555567){var _0x136e64=_0xd56e;return _0x555567[_0x136e64(0xef)]=_0x136e64(0xef),_0x555567[_0x136e64(0xe8)]='FitWidth',_0x555567[_0x136e64(0xf6)]=_0x136e64(0xf6),_0x555567[_0x136e64(0xca)]=_0x136e64(0xca),_0x555567['Custom']='Custom',_0x555567;}({}),i=function(_0x5b01ef){var _0x5695a1=_0xd56e;return _0x5b01ef[_0x5695a1(0xe9)]='Start',_0x5b01ef[_0x5695a1(0xd8)]=_0x5695a1(0xd8),_0x5b01ef[_0x5695a1(0xcb)]=_0x5695a1(0xcb),_0x5b01ef;}({}),a=function(_0x191081){var _0x2d1e28=_0xd56e;return _0x191081[_0x2d1e28(0xc8)]=_0x2d1e28(0xc8),_0x191081[_0x2d1e28(0xf8)]='Narrow',_0x191081[_0x2d1e28(0xd9)]=_0x2d1e28(0xd9),_0x191081[_0x2d1e28(0xfc)]=_0x2d1e28(0xfc),_0x191081[_0x2d1e28(0xd7)]=_0x2d1e28(0xd7),_0x191081;}({});const o={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},s=_0x53c0f4(0xd5),c='printing-canvas';function l(_0x291a71,_0x2ca053,_0x1793cf){var _0xb2ec40=_0x53c0f4;let _0x43061e=_0x1793cf===_0xb2ec40(0xd2)?_0x291a71:_0x2ca053,_0x27b476=_0x1793cf===_0xb2ec40(0xd2)?_0x2ca053:_0x291a71,_0x3e20f5=_0xb2ec40(0xe6)+c+_0xb2ec40(0xee)+_0x43061e+_0xb2ec40(0xdc)+_0x27b476+_0xb2ec40(0xeb)+s+_0xb2ec40(0xcc)+s+_0xb2ec40(0xdb)+c+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+_0x27b476+_0xb2ec40(0xe0)+_0x43061e+_0xb2ec40(0xf9),_0x499946=document[_0xb2ec40(0xed)](_0xb2ec40(0xd3));return _0x499946[_0xb2ec40(0xe7)]=_0x3e20f5,_0x499946['className']=_0xb2ec40(0xfb),_0x499946;}function u(_0x3d4dc3){'@babel/helpers - typeof';var _0x281209=_0x53c0f4;return u=typeof Symbol=='function'&&typeof Symbol[_0x281209(0xc7)]==_0x281209(0xf3)?function(_0x3275fc){return typeof _0x3275fc;}:function(_0x201291){var _0x5480c6=_0x281209;return _0x201291&&typeof Symbol==_0x5480c6(0xf0)&&_0x201291['constructor']===Symbol&&_0x201291!==Symbol['prototype']?_0x5480c6(0xf3):typeof _0x201291;},u(_0x3d4dc3);}function d(_0x3f84c6,_0x17c5f5){var _0x133658=_0x53c0f4;if(u(_0x3f84c6)!=_0x133658(0xf7)||!_0x3f84c6)return _0x3f84c6;var _0x56ceb8=_0x3f84c6[Symbol[_0x133658(0xec)]];if(_0x56ceb8!==void 0x0){var _0x13bf88=_0x56ceb8[_0x133658(0xcf)](_0x3f84c6,_0x17c5f5||_0x133658(0xd1));if(u(_0x13bf88)!=_0x133658(0xf7))return _0x13bf88;throw TypeError(_0x133658(0xf1));}return(_0x17c5f5==='string'?String:Number)(_0x3f84c6);}function f(_0x2abeed){var _0x2c3574=_0x53c0f4,_0x2d1082=d(_0x2abeed,_0x2c3574(0xda));return u(_0x2d1082)==_0x2c3574(0xf3)?_0x2d1082:_0x2d1082+'';}function p(_0x26e331,_0x335ead,_0x3658d5){return(_0x335ead=f(_0x335ead))in _0x26e331?Object['defineProperty'](_0x26e331,_0x335ead,{'value':_0x3658d5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26e331[_0x335ead]=_0x3658d5,_0x26e331;}const m=_0x2fd7f2(_0x53c0f4(0xdd));var h=class{constructor(){var _0x128e21=_0x53c0f4;p(this,_0x128e21(0xdf),new Set());}[_0x53c0f4(0xce)](_0x2bbb94){var _0x4b313f=_0x53c0f4;return this[_0x4b313f(0xdf)][_0x4b313f(0xe4)](_0x2bbb94),_0x2dc87b(()=>this[_0x4b313f(0xdf)][_0x4b313f(0xfd)](_0x2bbb94));}async['prepare'](_0x305a94){var _0x4025ee=_0x53c0f4;await Promise['all'](Array[_0x4025ee(0xd0)](this[_0x4025ee(0xdf)],_0x2cc5f8=>_0x2cc5f8[_0x4025ee(0xc9)](_0x305a94)));}};export{m as IPrintPreparationService,c as PRINT_CANVAS_CLASS,s as PRINT_CONTAINER_CLASS,o as PaperMarginMap,i as PrintAlign,n as PrintDirection,a as PrintPaperMargin,h as PrintPreparationService,r as PrintScale,l as createPrintStyle};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1dbd33,_0x2d8f5d){var _0x24b7ce=_0x464c,_0x2446e7=_0x1dbd33();while(!![]){try{var _0x42814a=parseInt(_0x24b7ce(0x1cd))/0x1*(parseInt(_0x24b7ce(0x1c6))/0x2)+-parseInt(_0x24b7ce(0x1e0))/0x3+-parseInt(_0x24b7ce(0x20b))/0x4*(-parseInt(_0x24b7ce(0x1ef))/0x5)+parseInt(_0x24b7ce(0x1d5))/0x6+-parseInt(_0x24b7ce(0x1fb))/0x7*(parseInt(_0x24b7ce(0x20c))/0x8)+parseInt(_0x24b7ce(0x1d7))/0x9+parseInt(_0x24b7ce(0x201))/0xa*(-parseInt(_0x24b7ce(0x200))/0xb);if(_0x42814a===_0x2d8f5d)break;else _0x2446e7['push'](_0x2446e7['shift']());}catch(_0x2b6110){_0x2446e7['push'](_0x2446e7['shift']());}}}(_0x110c,0xb6572),function(_0x172924,_0x413de1){var _0x4f1764=_0x464c;typeof exports==_0x4f1764(0x1d8)&&typeof module<'u'?_0x413de1(exports,require('@univerjs/core')):typeof define==_0x4f1764(0x1fa)&&define[_0x4f1764(0x1d2)]?define(['exports',_0x4f1764(0x1d3)],_0x413de1):(_0x172924=typeof globalThis<'u'?globalThis:_0x172924||self,_0x413de1(_0x172924[_0x4f1764(0x202)]={},_0x172924[_0x4f1764(0x1e1)]));}(this,function(_0x3afd09,_0xf449a0){var _0x2fad7a=_0x464c;Object[_0x2fad7a(0x1ea)](_0x3afd09,Symbol[_0x2fad7a(0x1ec)],{'value':_0x2fad7a(0x1fe)});let _0x4d6cc3=function(_0x5cfd8f){var _0x8eb8ff=_0x2fad7a;return _0x5cfd8f[_0x8eb8ff(0x1d9)]=_0x8eb8ff(0x1d9),_0x5cfd8f[_0x8eb8ff(0x1e5)]=_0x8eb8ff(0x1e5),_0x5cfd8f;}({}),_0x30ab6a=function(_0x496a13){var _0x28b45c=_0x2fad7a;return _0x496a13['Origin']=_0x28b45c(0x1cf),_0x496a13['FitWidth']='FitWidth',_0x496a13[_0x28b45c(0x1cc)]=_0x28b45c(0x1cc),_0x496a13[_0x28b45c(0x1f7)]=_0x28b45c(0x1f7),_0x496a13[_0x28b45c(0x203)]=_0x28b45c(0x203),_0x496a13;}({}),_0x385652=function(_0x5ca892){var _0xd4674f=_0x2fad7a;return _0x5ca892[_0xd4674f(0x1e4)]='Start',_0x5ca892[_0xd4674f(0x1c7)]=_0xd4674f(0x1c7),_0x5ca892[_0xd4674f(0x1eb)]=_0xd4674f(0x1eb),_0x5ca892;}({}),_0xd59767=function(_0x2329c8){var _0x700948=_0x2fad7a;return _0x2329c8[_0x700948(0x1e6)]=_0x700948(0x1e6),_0x2329c8[_0x700948(0x1d6)]=_0x700948(0x1d6),_0x2329c8[_0x700948(0x1f1)]='Wide',_0x2329c8[_0x700948(0x1ee)]=_0x700948(0x1ee),_0x2329c8[_0x700948(0x203)]='Custom',_0x2329c8;}({}),_0x43efd2={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x3cf8ae=_0x2fad7a(0x1f0),_0x271dbe=_0x2fad7a(0x1c5);function _0x262667(_0x420fdf,_0x125e83,_0xc6ac25){var _0x3e5d6c=_0x2fad7a;let _0x2430e4=_0xc6ac25==='Portrait'?_0x420fdf:_0x125e83,_0x1e5ef9=_0xc6ac25===_0x3e5d6c(0x1d9)?_0x125e83:_0x420fdf,_0x42c110=_0x3e5d6c(0x1ed)+_0x271dbe+_0x3e5d6c(0x1f4)+_0x2430e4+_0x3e5d6c(0x1df)+_0x1e5ef9+_0x3e5d6c(0x1cb)+_0x3cf8ae+_0x3e5d6c(0x1e3)+_0x3cf8ae+_0x3e5d6c(0x1e7)+_0x271dbe+_0x3e5d6c(0x1c9)+_0x1e5ef9+_0x3e5d6c(0x1da)+_0x2430e4+_0x3e5d6c(0x1f9),_0xd5fcb8=document[_0x3e5d6c(0x1e8)]('style');return _0xd5fcb8[_0x3e5d6c(0x207)]=_0x42c110,_0xd5fcb8['className']=_0x3e5d6c(0x209),_0xd5fcb8;}function _0x4f4a4b(_0x5c12c4){'@babel/helpers - typeof';var _0x13266a=_0x2fad7a;return _0x4f4a4b=typeof Symbol==_0x13266a(0x1fa)&&typeof Symbol['iterator']=='symbol'?function(_0x281798){return typeof _0x281798;}:function(_0x128fe7){var _0x5473ea=_0x13266a;return _0x128fe7&&typeof Symbol==_0x5473ea(0x1fa)&&_0x128fe7[_0x5473ea(0x1f5)]===Symbol&&_0x128fe7!==Symbol[_0x5473ea(0x1d4)]?_0x5473ea(0x208):typeof _0x128fe7;},_0x4f4a4b(_0x5c12c4);}function _0x29c501(_0x4b7172,_0x14e5bb){var _0x42a725=_0x2fad7a;if(_0x4f4a4b(_0x4b7172)!=_0x42a725(0x1d8)||!_0x4b7172)return _0x4b7172;var _0x5b1634=_0x4b7172[Symbol[_0x42a725(0x1db)]];if(_0x5b1634!==void 0x0){var _0x38c66e=_0x5b1634[_0x42a725(0x1ca)](_0x4b7172,_0x14e5bb||'default');if(_0x4f4a4b(_0x38c66e)!='object')return _0x38c66e;throw TypeError(_0x42a725(0x1d0));}return(_0x14e5bb===_0x42a725(0x1c8)?String:Number)(_0x4b7172);}function _0x1ae4f2(_0xc64d9){var _0x4ebe4d=_0x2fad7a,_0x10eaa5=_0x29c501(_0xc64d9,_0x4ebe4d(0x1c8));return _0x4f4a4b(_0x10eaa5)==_0x4ebe4d(0x208)?_0x10eaa5:_0x10eaa5+'';}function _0x515317(_0x61d953,_0x2139c4,_0x2e5b47){var _0x284cbf=_0x2fad7a;return(_0x2139c4=_0x1ae4f2(_0x2139c4))in _0x61d953?Object[_0x284cbf(0x1ea)](_0x61d953,_0x2139c4,{'value':_0x2e5b47,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x61d953[_0x2139c4]=_0x2e5b47,_0x61d953;}let _0xd4f7aa=(0x0,_0xf449a0[_0x2fad7a(0x1de)])(_0x2fad7a(0x204));var _0x4c2da0=class{constructor(){_0x515317(this,'_contributions',new Set());}[_0x2fad7a(0x206)](_0x4e4f9b){var _0x1a3d29=_0x2fad7a;return this[_0x1a3d29(0x1e9)][_0x1a3d29(0x20a)](_0x4e4f9b),(0x0,_0xf449a0[_0x1a3d29(0x1f3)])(()=>this[_0x1a3d29(0x1e9)][_0x1a3d29(0x1fc)](_0x4e4f9b));}async[_0x2fad7a(0x1ff)](_0x1dc605){var _0x1c78e1=_0x2fad7a;await Promise[_0x1c78e1(0x1dc)](Array[_0x1c78e1(0x1dd)](this[_0x1c78e1(0x1e9)],_0x2f1ac7=>_0x2f1ac7[_0x1c78e1(0x1ff)](_0x1dc605)));}};_0x3afd09[_0x2fad7a(0x205)]=_0xd4f7aa,_0x3afd09['PRINT_CANVAS_CLASS']=_0x271dbe,_0x3afd09[_0x2fad7a(0x1ce)]=_0x3cf8ae,_0x3afd09[_0x2fad7a(0x1fd)]=_0x43efd2,_0x3afd09[_0x2fad7a(0x1f2)]=_0x385652,_0x3afd09['PrintDirection']=_0x4d6cc3,_0x3afd09[_0x2fad7a(0x1f6)]=_0xd59767,_0x3afd09[_0x2fad7a(0x1f8)]=_0x4c2da0,_0x3afd09[_0x2fad7a(0x1e2)]=_0x30ab6a,_0x3afd09[_0x2fad7a(0x1d1)]=_0x262667;}));function _0x464c(_0x1ea26d,_0x57a7cf){_0x1ea26d=_0x1ea26d-0x1c5;var _0x110c5e=_0x110c();var _0x464caf=_0x110c5e[_0x1ea26d];return _0x464caf;}function _0x110c(){var _0x1097da=['call','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','FitHeight','30MuxjSM','PRINT_CONTAINER_CLASS','Origin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','createPrintStyle','amd','@univerjs/core','prototype','6434550gVEnTZ','Narrow','896868eJivrx','object','Portrait','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','toPrimitive','all','from','createIdentifier','px\x20','4447809OtSXsV','UniverCore','PrintScale','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','Start','Landscape','Normal','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','createElement','_contributions','defineProperty','Middle','toStringTag','\x0a\x20\x20\x20\x20.','None','4709725daZUEM','printing-canvas-container','Wide','PrintAlign','toDisposable','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20','constructor','PrintPaperMargin','FitPage','PrintPreparationService','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','function','7IAEmHR','delete','PaperMarginMap','Module','prepare','2002RBznUU','2310qCYUMi','UniverProPrint','Custom','pro.print-preparation.service','IPrintPreparationService','registerContribution','innerHTML','symbol','offline-printing-css','add','4JgQzFC','194248XNlEeX','printing-canvas','12118rbBlux','End','string','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'];_0x110c=function(){return _0x1097da;};return _0x110c();}
1
+ function _0x3b58(_0x4a6db9,_0x323aa4){_0x4a6db9=_0x4a6db9-0x174;var _0x36d743=_0x36d7();var _0x3b588a=_0x36d743[_0x4a6db9];return _0x3b588a;}function _0x36d7(){var _0x3345ac=['642cxnIQu','Narrow','Portrait','PrintPaperMargin','amd','offline-printing-css','1078420ROokNf','symbol','registerContribution','Wide','all','createIdentifier','136623yuIobs','1882110oiKPWH','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20page-break-after:\x20always!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','FitHeight','string','1256941kPnfCH','\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','style','_contributions','exports','toDisposable','FitPage','from','toPrimitive','PaperMarginMap','printing-canvas','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20visible;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','9wZuShK','function','1690359UWPeuw','Custom','Normal','Middle','UniverProPrint','1QXLuaq','iterator','toStringTag','FitWidth','End','createPrintStyle','object','prepare','9867128kOQlKz','8IpIedX','defineProperty','Origin','printing-canvas-container','21155vHfzuK','IPrintPreparationService','className','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','prototype','innerHTML','px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20>\x20*\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.','call','PrintAlign','Landscape','Start','UniverCore','px\x20'];_0x36d7=function(){return _0x3345ac;};return _0x36d7();}(function(_0x9ccb6e,_0x1a222f){var _0x49e6b5=_0x3b58,_0x4812f8=_0x9ccb6e();while(!![]){try{var _0x336468=parseInt(_0x49e6b5(0x186))/0x1*(-parseInt(_0x49e6b5(0x1a6))/0x2)+parseInt(_0x49e6b5(0x1ac))/0x3*(-parseInt(_0x49e6b5(0x18f))/0x4)+parseInt(_0x49e6b5(0x193))/0x5*(-parseInt(_0x49e6b5(0x1a0))/0x6)+parseInt(_0x49e6b5(0x1b1))/0x7+parseInt(_0x49e6b5(0x18e))/0x8+-parseInt(_0x49e6b5(0x17f))/0x9*(-parseInt(_0x49e6b5(0x1ad))/0xa)+parseInt(_0x49e6b5(0x181))/0xb;if(_0x336468===_0x1a222f)break;else _0x4812f8['push'](_0x4812f8['shift']());}catch(_0x310fe2){_0x4812f8['push'](_0x4812f8['shift']());}}}(_0x36d7,0xa4051),function(_0x3421de,_0x3ceb85){var _0x636569=_0x3b58;typeof exports==_0x636569(0x18c)&&typeof module<'u'?_0x3ceb85(exports,require('@univerjs/core')):typeof define==_0x636569(0x180)&&define[_0x636569(0x1a4)]?define([_0x636569(0x176),'@univerjs/core'],_0x3ceb85):(_0x3421de=typeof globalThis<'u'?globalThis:_0x3421de||self,_0x3ceb85(_0x3421de[_0x636569(0x185)]={},_0x3421de[_0x636569(0x19e)]));}(this,function(_0x35c88f,_0x137a95){var _0x3d6bf8=_0x3b58;Object[_0x3d6bf8(0x190)](_0x35c88f,Symbol[_0x3d6bf8(0x188)],{'value':'Module'});let _0x2a29db=function(_0x4dbfbc){var _0x4273c7=_0x3d6bf8;return _0x4dbfbc['Portrait']=_0x4273c7(0x1a2),_0x4dbfbc['Landscape']=_0x4273c7(0x19c),_0x4dbfbc;}({}),_0x33d1d3=function(_0x221a0a){var _0x2bb0a5=_0x3d6bf8;return _0x221a0a[_0x2bb0a5(0x191)]=_0x2bb0a5(0x191),_0x221a0a[_0x2bb0a5(0x189)]=_0x2bb0a5(0x189),_0x221a0a[_0x2bb0a5(0x1af)]=_0x2bb0a5(0x1af),_0x221a0a[_0x2bb0a5(0x178)]=_0x2bb0a5(0x178),_0x221a0a[_0x2bb0a5(0x182)]=_0x2bb0a5(0x182),_0x221a0a;}({}),_0x5311aa=function(_0x1804f6){var _0x175cfc=_0x3d6bf8;return _0x1804f6[_0x175cfc(0x19d)]=_0x175cfc(0x19d),_0x1804f6['End']=_0x175cfc(0x18a),_0x1804f6[_0x175cfc(0x184)]=_0x175cfc(0x184),_0x1804f6;}({}),_0x426db9=function(_0x329a2e){var _0x2f8f7f=_0x3d6bf8;return _0x329a2e['Normal']=_0x2f8f7f(0x183),_0x329a2e[_0x2f8f7f(0x1a1)]=_0x2f8f7f(0x1a1),_0x329a2e[_0x2f8f7f(0x1a9)]=_0x2f8f7f(0x1a9),_0x329a2e['None']='None',_0x329a2e[_0x2f8f7f(0x182)]='Custom',_0x329a2e;}({}),_0x37438d={'Normal':{'left':0x35,'right':0x35,'top':0x38,'bottom':0x38},'Narrow':{'left':0x13,'right':0x13,'top':0x38,'bottom':0x38},'Wide':{'left':0x4b,'right':0x4b,'top':0x4b,'bottom':0x4b},'None':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0},'Custom':{'left':0x0,'right':0x0,'top':0x0,'bottom':0x0}},_0x45459e=_0x3d6bf8(0x192),_0x1c9c2=_0x3d6bf8(0x17c);function _0x2f99c5(_0x16dae7,_0xdd66c2,_0x593979){var _0x9a3249=_0x3d6bf8;let _0x4de879=_0x593979===_0x9a3249(0x1a2)?_0x16dae7:_0xdd66c2,_0x589344=_0x593979===_0x9a3249(0x1a2)?_0xdd66c2:_0x16dae7,_0x12955e='\x0a\x20\x20\x20\x20.'+_0x1c9c2+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@media\x20print\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20html\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20fit-content;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20@page\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size:\x20'+_0x4de879+_0x9a3249(0x19f)+_0x589344+_0x9a3249(0x199)+_0x45459e+_0x9a3249(0x17d)+_0x45459e+_0x9a3249(0x1b2)+_0x1c9c2+_0x9a3249(0x1ae)+_0x589344+_0x9a3249(0x196)+_0x4de879+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}',_0x3451d3=document['createElement'](_0x9a3249(0x174));return _0x3451d3[_0x9a3249(0x198)]=_0x12955e,_0x3451d3[_0x9a3249(0x195)]=_0x9a3249(0x1a5),_0x3451d3;}function _0x430918(_0x2d2fa3){'@babel/helpers - typeof';var _0x3d6ff2=_0x3d6bf8;return _0x430918=typeof Symbol==_0x3d6ff2(0x180)&&typeof Symbol[_0x3d6ff2(0x187)]==_0x3d6ff2(0x1a7)?function(_0x3ca1ae){return typeof _0x3ca1ae;}:function(_0x51fc37){var _0x298d11=_0x3d6ff2;return _0x51fc37&&typeof Symbol==_0x298d11(0x180)&&_0x51fc37['constructor']===Symbol&&_0x51fc37!==Symbol[_0x298d11(0x197)]?_0x298d11(0x1a7):typeof _0x51fc37;},_0x430918(_0x2d2fa3);}function _0x4bb80b(_0x38f0e9,_0xb162da){var _0x47dff5=_0x3d6bf8;if(_0x430918(_0x38f0e9)!=_0x47dff5(0x18c)||!_0x38f0e9)return _0x38f0e9;var _0x3f3e25=_0x38f0e9[Symbol[_0x47dff5(0x17a)]];if(_0x3f3e25!==void 0x0){var _0x57cc9d=_0x3f3e25[_0x47dff5(0x19a)](_0x38f0e9,_0xb162da||'default');if(_0x430918(_0x57cc9d)!=_0x47dff5(0x18c))return _0x57cc9d;throw TypeError(_0x47dff5(0x17e));}return(_0xb162da===_0x47dff5(0x1b0)?String:Number)(_0x38f0e9);}function _0x5060cb(_0x7b134e){var _0x5c0969=_0x3d6bf8,_0x330618=_0x4bb80b(_0x7b134e,_0x5c0969(0x1b0));return _0x430918(_0x330618)==_0x5c0969(0x1a7)?_0x330618:_0x330618+'';}function _0x3abdf0(_0x6a6c2a,_0x3e26fb,_0x3bc725){return(_0x3e26fb=_0x5060cb(_0x3e26fb))in _0x6a6c2a?Object['defineProperty'](_0x6a6c2a,_0x3e26fb,{'value':_0x3bc725,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x6a6c2a[_0x3e26fb]=_0x3bc725,_0x6a6c2a;}let _0x487a34=(0x0,_0x137a95[_0x3d6bf8(0x1ab)])('pro.print-preparation.service');var _0x5db42d=class{constructor(){_0x3abdf0(this,'_contributions',new Set());}[_0x3d6bf8(0x1a8)](_0x102623){var _0x4ad7c4=_0x3d6bf8;return this[_0x4ad7c4(0x175)]['add'](_0x102623),(0x0,_0x137a95[_0x4ad7c4(0x177)])(()=>this[_0x4ad7c4(0x175)]['delete'](_0x102623));}async[_0x3d6bf8(0x18d)](_0x49f34f){var _0x13d270=_0x3d6bf8;await Promise[_0x13d270(0x1aa)](Array[_0x13d270(0x179)](this[_0x13d270(0x175)],_0x4b751e=>_0x4b751e[_0x13d270(0x18d)](_0x49f34f)));}};_0x35c88f[_0x3d6bf8(0x194)]=_0x487a34,_0x35c88f['PRINT_CANVAS_CLASS']=_0x1c9c2,_0x35c88f['PRINT_CONTAINER_CLASS']=_0x45459e,_0x35c88f[_0x3d6bf8(0x17b)]=_0x37438d,_0x35c88f[_0x3d6bf8(0x19b)]=_0x5311aa,_0x35c88f['PrintDirection']=_0x2a29db,_0x35c88f[_0x3d6bf8(0x1a3)]=_0x426db9,_0x35c88f['PrintPreparationService']=_0x5db42d,_0x35c88f['PrintScale']=_0x33d1d3,_0x35c88f[_0x3d6bf8(0x18b)]=_0x2f99c5;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/print",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "private": false,
5
5
  "description": "Shared print utilities for Univer Pro.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -48,10 +48,10 @@
48
48
  "lib"
49
49
  ],
50
50
  "dependencies": {
51
- "@univerjs/core": "1.3.0"
51
+ "@univerjs/core": "1.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@univerjs-infra/shared": "1.3.0",
54
+ "@univerjs-infra/shared": "1.3.1",
55
55
  "typescript": "^6.0.3",
56
56
  "vitest": "^5.0.4"
57
57
  },