@univerjs-pro/print 1.0.0 → 1.0.2
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/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0xa19c70=_0x1a5d;(function(_0x3a128f,_0x1c7f30){var _0x3d4c69=_0x1a5d,_0x476b72=_0x3a128f();while(!![]){try{var _0x1355ba=parseInt(_0x3d4c69(0x1fd))/0x1*(parseInt(_0x3d4c69(0x1e2))/0x2)+parseInt(_0x3d4c69(0x203))/0x3*(parseInt(_0x3d4c69(0x21f))/0x4)+parseInt(_0x3d4c69(0x1e8))/0x5*(-parseInt(_0x3d4c69(0x1fa))/0x6)+parseInt(_0x3d4c69(0x20c))/0x7+-parseInt(_0x3d4c69(0x21b))/0x8*(-parseInt(_0x3d4c69(0x1ee))/0x9)+-parseInt(_0x3d4c69(0x20a))/0xa+parseInt(_0x3d4c69(0x1e6))/0xb;if(_0x1355ba===_0x1c7f30)break;else _0x476b72['push'](_0x476b72['shift']());}catch(_0x13bc31){_0x476b72['push'](_0x476b72['shift']());}}}(_0x49aa,0x8be50),Object[_0xa19c70(0x1f9)](exports,Symbol[_0xa19c70(0x1ff)],{'value':'Module'}));let e=require('@univerjs/core'),t=function(_0x47ca17){var _0x5f9e72=_0xa19c70;return _0x47ca17[_0x5f9e72(0x1e4)]=_0x5f9e72(0x1e4),_0x47ca17[_0x5f9e72(0x1ef)]=_0x5f9e72(0x1ef),_0x47ca17;}({}),n=function(_0x4ac3f3){var _0xfda334=_0xa19c70;return _0x4ac3f3['Origin']=_0xfda334(0x1e7),_0x4ac3f3[_0xfda334(0x209)]=_0xfda334(0x209),_0x4ac3f3[_0xfda334(0x21d)]='FitHeight',_0x4ac3f3[_0xfda334(0x213)]=_0xfda334(0x213),_0x4ac3f3[_0xfda334(0x219)]=_0xfda334(0x219),_0x4ac3f3;}({}),r=function(_0x3cbc20){var _0x6e2764=_0xa19c70;return _0x3cbc20[_0x6e2764(0x214)]='Start',_0x3cbc20[_0x6e2764(0x1ec)]=_0x6e2764(0x1ec),_0x3cbc20['Middle']=_0x6e2764(0x206),_0x3cbc20;}({}),i=function(_0xbf3bbc){var _0x5a5ecd=_0xa19c70;return _0xbf3bbc['Normal']=_0x5a5ecd(0x21a),_0xbf3bbc[_0x5a5ecd(0x204)]=_0x5a5ecd(0x204),_0xbf3bbc[_0x5a5ecd(0x218)]=_0x5a5ecd(0x218),_0xbf3bbc['None']='None',_0xbf3bbc[_0x5a5ecd(0x219)]='Custom',_0xbf3bbc;}({});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=_0xa19c70(0x201),s='printing-canvas';function c(_0x1be063,_0xdfb32,_0x1c0743){var _0x237820=_0xa19c70;let _0x2d9581=_0x1c0743===_0x237820(0x1e4)?_0x1be063:_0xdfb32,_0x29f0f0=_0x1c0743===_0x237820(0x1e4)?_0xdfb32:_0x1be063,_0x573418=_0x237820(0x1f0)+s+_0x237820(0x216)+_0x2d9581+'px\x20'+_0x29f0f0+'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+_0x237820(0x1f6)+o+_0x237820(0x1e9)+s+'\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'+_0x29f0f0+_0x237820(0x1fe)+_0x2d9581+_0x237820(0x1e5),_0x489d33=document[_0x237820(0x1f2)]('style');return _0x489d33[_0x237820(0x1f3)]=_0x573418,_0x489d33[_0x237820(0x202)]=_0x237820(0x1fc),_0x489d33;}function l(_0x40a62){'@babel/helpers - typeof';var _0x46a929=_0xa19c70;return l=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x46a929(0x21e)?function(_0x14dada){return typeof _0x14dada;}:function(_0x537d33){var _0x3421d5=_0x46a929;return _0x537d33&&typeof Symbol==_0x3421d5(0x20b)&&_0x537d33[_0x3421d5(0x20e)]===Symbol&&_0x537d33!==Symbol[_0x3421d5(0x207)]?_0x3421d5(0x21e):typeof _0x537d33;},l(_0x40a62);}function u(_0x33f852,_0x55da8e){var _0x7f1332=_0xa19c70;if(l(_0x33f852)!='object'||!_0x33f852)return _0x33f852;var _0x517dd8=_0x33f852[Symbol[_0x7f1332(0x1e3)]];if(_0x517dd8!==void 0x0){var _0x32ba87=_0x517dd8[_0x7f1332(0x1f4)](_0x33f852,_0x55da8e||'default');if(l(_0x32ba87)!=_0x7f1332(0x1f1))return _0x32ba87;throw TypeError(_0x7f1332(0x208));}return(_0x55da8e===_0x7f1332(0x1ea)?String:Number)(_0x33f852);}function d(_0x28d46a){var _0xe9b04a=_0xa19c70,_0x2f1762=u(_0x28d46a,'string');return l(_0x2f1762)==_0xe9b04a(0x21e)?_0x2f1762:_0x2f1762+'';}function f(_0xfd04d6,_0x2b28ae,_0x4817f6){var _0x4f2a6e=_0xa19c70;return(_0x2b28ae=d(_0x2b28ae))in _0xfd04d6?Object[_0x4f2a6e(0x1f9)](_0xfd04d6,_0x2b28ae,{'value':_0x4817f6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xfd04d6[_0x2b28ae]=_0x4817f6,_0xfd04d6;}function _0x49aa(){var _0x2beb7d=['PRINT_CANVAS_CLASS','add','all','PrintAlign','FitPage','Start','IPrintPreparationService','\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','PRINT_CONTAINER_CLASS','Wide','Custom','Normal','8EVsWUN','PrintDirection','FitHeight','symbol','964dkCcRh','PrintScale','_contributions','4lAMljo','toPrimitive','Portrait','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}','5494170OFirOI','Origin','425lDyFvQ','\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.','string','PrintPaperMargin','End','createPrintStyle','5479119JoDejH','Landscape','\x0a\x20\x20\x20\x20.','object','createElement','innerHTML','call','pro.print-preparation.service','\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.','createIdentifier','PrintPreparationService','defineProperty','2346lWgZya','from','offline-printing-css','207731OCihCU','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','toStringTag','PaperMarginMap','printing-canvas-container','className','1578ynUJSN','Narrow','registerContribution','Middle','prototype','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FitWidth','10454440SDTuzX','function','8386dFMvFo','prepare','constructor'];_0x49aa=function(){return _0x2beb7d;};return _0x49aa();}const p=(0x0,e[_0xa19c70(0x1f7)])(_0xa19c70(0x1f5));function _0x1a5d(_0x7e3962,_0x1d2b61){_0x7e3962=_0x7e3962-0x1e1;var _0x49aae9=_0x49aa();var _0x1a5da3=_0x49aae9[_0x7e3962];return _0x1a5da3;}var m=class{constructor(){var _0x131104=_0xa19c70;f(this,_0x131104(0x1e1),new Set());}[_0xa19c70(0x205)](_0x382f05){var _0x1ea48b=_0xa19c70;return this[_0x1ea48b(0x1e1)][_0x1ea48b(0x210)](_0x382f05),(0x0,e['toDisposable'])(()=>this[_0x1ea48b(0x1e1)]['delete'](_0x382f05));}async[_0xa19c70(0x20d)](_0x5a9988){var _0x579c3a=_0xa19c70;await Promise[_0x579c3a(0x211)](Array[_0x579c3a(0x1fb)](this[_0x579c3a(0x1e1)],_0x56508b=>_0x56508b[_0x579c3a(0x20d)](_0x5a9988)));}};exports[_0xa19c70(0x215)]=p,exports[_0xa19c70(0x20f)]=s,exports[_0xa19c70(0x217)]=o,exports[_0xa19c70(0x200)]=a,exports[_0xa19c70(0x212)]=r,exports[_0xa19c70(0x21c)]=t,exports[_0xa19c70(0x1eb)]=i,exports[_0xa19c70(0x1f8)]=m,exports[_0xa19c70(0x220)]=n,exports[_0xa19c70(0x1ed)]=c;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x13db52=_0x5422;(function(_0x4dfe0c,_0x4ece8c){var _0x5571f4=_0x5422,_0x52e2fa=_0x4dfe0c();while(!![]){try{var _0x440362=-parseInt(_0x5571f4(0x172))/0x1*(-parseInt(_0x5571f4(0x155))/0x2)+-parseInt(_0x5571f4(0x15d))/0x3*(parseInt(_0x5571f4(0x150))/0x4)+parseInt(_0x5571f4(0x16e))/0x5+-parseInt(_0x5571f4(0x176))/0x6*(-parseInt(_0x5571f4(0x16b))/0x7)+-parseInt(_0x5571f4(0x162))/0x8*(-parseInt(_0x5571f4(0x15e))/0x9)+-parseInt(_0x5571f4(0x15b))/0xa*(-parseInt(_0x5571f4(0x15f))/0xb)+-parseInt(_0x5571f4(0x166))/0xc*(parseInt(_0x5571f4(0x167))/0xd);if(_0x440362===_0x4ece8c)break;else _0x52e2fa['push'](_0x52e2fa['shift']());}catch(_0x162ecb){_0x52e2fa['push'](_0x52e2fa['shift']());}}}(_0x1840,0x1e9f3));import{createIdentifier as _0x4310fb,toDisposable as _0x3a9945}from'@univerjs/core';let n=function(_0x5f4a54){var _0x419d2b=_0x5422;return _0x5f4a54[_0x419d2b(0x158)]=_0x419d2b(0x158),_0x5f4a54[_0x419d2b(0x171)]='Landscape',_0x5f4a54;}({}),r=function(_0x1e8020){var _0x5d4002=_0x5422;return _0x1e8020[_0x5d4002(0x147)]='Origin',_0x1e8020[_0x5d4002(0x15c)]=_0x5d4002(0x15c),_0x1e8020[_0x5d4002(0x157)]=_0x5d4002(0x157),_0x1e8020['FitPage']=_0x5d4002(0x161),_0x1e8020[_0x5d4002(0x151)]=_0x5d4002(0x151),_0x1e8020;}({}),i=function(_0x560d79){var _0x5cda97=_0x5422;return _0x560d79[_0x5cda97(0x164)]='Start',_0x560d79[_0x5cda97(0x16c)]=_0x5cda97(0x16c),_0x560d79[_0x5cda97(0x168)]=_0x5cda97(0x168),_0x560d79;}({}),a=function(_0x5bb274){var _0x14e523=_0x5422;return _0x5bb274[_0x14e523(0x14b)]=_0x14e523(0x14b),_0x5bb274[_0x14e523(0x170)]='Narrow',_0x5bb274[_0x14e523(0x146)]=_0x14e523(0x146),_0x5bb274[_0x14e523(0x145)]=_0x14e523(0x145),_0x5bb274[_0x14e523(0x151)]=_0x14e523(0x151),_0x5bb274;}({});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=_0x13db52(0x154),c='printing-canvas';function l(_0x2819b4,_0x1948a2,_0x5a5503){var _0x3a7933=_0x13db52;let _0x5abf0e=_0x5a5503===_0x3a7933(0x158)?_0x2819b4:_0x1948a2,_0x23ea48=_0x5a5503===_0x3a7933(0x158)?_0x1948a2:_0x2819b4,_0xcf77ba=_0x3a7933(0x163)+c+_0x3a7933(0x178)+_0x5abf0e+_0x3a7933(0x14a)+_0x23ea48+'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.'+s+'\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.'+s+_0x3a7933(0x169)+c+_0x3a7933(0x177)+_0x23ea48+_0x3a7933(0x16f)+_0x5abf0e+'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}',_0x27e38d=document['createElement'](_0x3a7933(0x159));return _0x27e38d[_0x3a7933(0x165)]=_0xcf77ba,_0x27e38d['className']=_0x3a7933(0x14e),_0x27e38d;}function u(_0x555adf){'@babel/helpers - typeof';var _0x5a7a34=_0x13db52;return u=typeof Symbol==_0x5a7a34(0x14f)&&typeof Symbol[_0x5a7a34(0x175)]==_0x5a7a34(0x160)?function(_0x2d3c22){return typeof _0x2d3c22;}:function(_0x3f56a8){var _0x8313ba=_0x5a7a34;return _0x3f56a8&&typeof Symbol==_0x8313ba(0x14f)&&_0x3f56a8[_0x8313ba(0x16a)]===Symbol&&_0x3f56a8!==Symbol[_0x8313ba(0x152)]?_0x8313ba(0x160):typeof _0x3f56a8;},u(_0x555adf);}function d(_0x1c01be,_0x2e0acc){var _0x498326=_0x13db52;if(u(_0x1c01be)!='object'||!_0x1c01be)return _0x1c01be;var _0x57ad59=_0x1c01be[Symbol[_0x498326(0x15a)]];if(_0x57ad59!==void 0x0){var _0x145cd8=_0x57ad59[_0x498326(0x16d)](_0x1c01be,_0x2e0acc||_0x498326(0x14c));if(u(_0x145cd8)!=_0x498326(0x156))return _0x145cd8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e0acc==='string'?String:Number)(_0x1c01be);}function f(_0x4e6a7b){var _0xc67e5f=_0x13db52,_0x3a8645=d(_0x4e6a7b,_0xc67e5f(0x173));return u(_0x3a8645)==_0xc67e5f(0x160)?_0x3a8645:_0x3a8645+'';}function p(_0x30119b,_0x7a709e,_0x1798fd){var _0x5bec1c=_0x13db52;return(_0x7a709e=f(_0x7a709e))in _0x30119b?Object[_0x5bec1c(0x149)](_0x30119b,_0x7a709e,{'value':_0x1798fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x30119b[_0x7a709e]=_0x1798fd,_0x30119b;}function _0x5422(_0x22b546,_0x363975){_0x22b546=_0x22b546-0x143;var _0x18404b=_0x1840();var _0x54223e=_0x18404b[_0x22b546];return _0x54223e;}function _0x1840(){var _0x13ff80=['defineProperty','px\x20','Normal','default','registerContribution','offline-printing-css','function','524mxYWNQ','Custom','prototype','add','printing-canvas-container','10GGKtiH','object','FitHeight','Portrait','style','toPrimitive','3930BtFbgI','FitWidth','906eRzSxK','603boxpFd','5918tgTWga','symbol','FitPage','5288QClXwq','\x0a\x20\x20\x20\x20.','Start','innerHTML','132cDFUHg','290979VJpXPw','Middle','\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.','constructor','85043sNcchx','End','call','171840kuRxJa','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Narrow','Landscape','7214miADgs','string','prepare','iterator','42HcsiBl','\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{\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','delete','None','Wide','Origin','_contributions'];_0x1840=function(){return _0x13ff80;};return _0x1840();}const m=_0x4310fb(_0x13db52(0x143));var h=class{constructor(){var _0x159223=_0x13db52;p(this,_0x159223(0x148),new Set());}[_0x13db52(0x14d)](_0x3a9250){var _0x1b11ae=_0x13db52;return this[_0x1b11ae(0x148)][_0x1b11ae(0x153)](_0x3a9250),_0x3a9945(()=>this[_0x1b11ae(0x148)][_0x1b11ae(0x144)](_0x3a9250));}async[_0x13db52(0x174)](_0x38de01){var _0x44e3d7=_0x13db52;await Promise['all'](Array['from'](this['_contributions'],_0x790f91=>_0x790f91[_0x44e3d7(0x174)](_0x38de01)));}};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
|
-
|
|
1
|
+
var _0x13db52=_0x5422;(function(_0x4dfe0c,_0x4ece8c){var _0x5571f4=_0x5422,_0x52e2fa=_0x4dfe0c();while(!![]){try{var _0x440362=-parseInt(_0x5571f4(0x172))/0x1*(-parseInt(_0x5571f4(0x155))/0x2)+-parseInt(_0x5571f4(0x15d))/0x3*(parseInt(_0x5571f4(0x150))/0x4)+parseInt(_0x5571f4(0x16e))/0x5+-parseInt(_0x5571f4(0x176))/0x6*(-parseInt(_0x5571f4(0x16b))/0x7)+-parseInt(_0x5571f4(0x162))/0x8*(-parseInt(_0x5571f4(0x15e))/0x9)+-parseInt(_0x5571f4(0x15b))/0xa*(-parseInt(_0x5571f4(0x15f))/0xb)+-parseInt(_0x5571f4(0x166))/0xc*(parseInt(_0x5571f4(0x167))/0xd);if(_0x440362===_0x4ece8c)break;else _0x52e2fa['push'](_0x52e2fa['shift']());}catch(_0x162ecb){_0x52e2fa['push'](_0x52e2fa['shift']());}}}(_0x1840,0x1e9f3));import{createIdentifier as _0x4310fb,toDisposable as _0x3a9945}from'@univerjs/core';let n=function(_0x5f4a54){var _0x419d2b=_0x5422;return _0x5f4a54[_0x419d2b(0x158)]=_0x419d2b(0x158),_0x5f4a54[_0x419d2b(0x171)]='Landscape',_0x5f4a54;}({}),r=function(_0x1e8020){var _0x5d4002=_0x5422;return _0x1e8020[_0x5d4002(0x147)]='Origin',_0x1e8020[_0x5d4002(0x15c)]=_0x5d4002(0x15c),_0x1e8020[_0x5d4002(0x157)]=_0x5d4002(0x157),_0x1e8020['FitPage']=_0x5d4002(0x161),_0x1e8020[_0x5d4002(0x151)]=_0x5d4002(0x151),_0x1e8020;}({}),i=function(_0x560d79){var _0x5cda97=_0x5422;return _0x560d79[_0x5cda97(0x164)]='Start',_0x560d79[_0x5cda97(0x16c)]=_0x5cda97(0x16c),_0x560d79[_0x5cda97(0x168)]=_0x5cda97(0x168),_0x560d79;}({}),a=function(_0x5bb274){var _0x14e523=_0x5422;return _0x5bb274[_0x14e523(0x14b)]=_0x14e523(0x14b),_0x5bb274[_0x14e523(0x170)]='Narrow',_0x5bb274[_0x14e523(0x146)]=_0x14e523(0x146),_0x5bb274[_0x14e523(0x145)]=_0x14e523(0x145),_0x5bb274[_0x14e523(0x151)]=_0x14e523(0x151),_0x5bb274;}({});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=_0x13db52(0x154),c='printing-canvas';function l(_0x2819b4,_0x1948a2,_0x5a5503){var _0x3a7933=_0x13db52;let _0x5abf0e=_0x5a5503===_0x3a7933(0x158)?_0x2819b4:_0x1948a2,_0x23ea48=_0x5a5503===_0x3a7933(0x158)?_0x1948a2:_0x2819b4,_0xcf77ba=_0x3a7933(0x163)+c+_0x3a7933(0x178)+_0x5abf0e+_0x3a7933(0x14a)+_0x23ea48+'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.'+s+'\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.'+s+_0x3a7933(0x169)+c+_0x3a7933(0x177)+_0x23ea48+_0x3a7933(0x16f)+_0x5abf0e+'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}',_0x27e38d=document['createElement'](_0x3a7933(0x159));return _0x27e38d[_0x3a7933(0x165)]=_0xcf77ba,_0x27e38d['className']=_0x3a7933(0x14e),_0x27e38d;}function u(_0x555adf){'@babel/helpers - typeof';var _0x5a7a34=_0x13db52;return u=typeof Symbol==_0x5a7a34(0x14f)&&typeof Symbol[_0x5a7a34(0x175)]==_0x5a7a34(0x160)?function(_0x2d3c22){return typeof _0x2d3c22;}:function(_0x3f56a8){var _0x8313ba=_0x5a7a34;return _0x3f56a8&&typeof Symbol==_0x8313ba(0x14f)&&_0x3f56a8[_0x8313ba(0x16a)]===Symbol&&_0x3f56a8!==Symbol[_0x8313ba(0x152)]?_0x8313ba(0x160):typeof _0x3f56a8;},u(_0x555adf);}function d(_0x1c01be,_0x2e0acc){var _0x498326=_0x13db52;if(u(_0x1c01be)!='object'||!_0x1c01be)return _0x1c01be;var _0x57ad59=_0x1c01be[Symbol[_0x498326(0x15a)]];if(_0x57ad59!==void 0x0){var _0x145cd8=_0x57ad59[_0x498326(0x16d)](_0x1c01be,_0x2e0acc||_0x498326(0x14c));if(u(_0x145cd8)!=_0x498326(0x156))return _0x145cd8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e0acc==='string'?String:Number)(_0x1c01be);}function f(_0x4e6a7b){var _0xc67e5f=_0x13db52,_0x3a8645=d(_0x4e6a7b,_0xc67e5f(0x173));return u(_0x3a8645)==_0xc67e5f(0x160)?_0x3a8645:_0x3a8645+'';}function p(_0x30119b,_0x7a709e,_0x1798fd){var _0x5bec1c=_0x13db52;return(_0x7a709e=f(_0x7a709e))in _0x30119b?Object[_0x5bec1c(0x149)](_0x30119b,_0x7a709e,{'value':_0x1798fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x30119b[_0x7a709e]=_0x1798fd,_0x30119b;}function _0x5422(_0x22b546,_0x363975){_0x22b546=_0x22b546-0x143;var _0x18404b=_0x1840();var _0x54223e=_0x18404b[_0x22b546];return _0x54223e;}function _0x1840(){var _0x13ff80=['defineProperty','px\x20','Normal','default','registerContribution','offline-printing-css','function','524mxYWNQ','Custom','prototype','add','printing-canvas-container','10GGKtiH','object','FitHeight','Portrait','style','toPrimitive','3930BtFbgI','FitWidth','906eRzSxK','603boxpFd','5918tgTWga','symbol','FitPage','5288QClXwq','\x0a\x20\x20\x20\x20.','Start','innerHTML','132cDFUHg','290979VJpXPw','Middle','\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.','constructor','85043sNcchx','End','call','171840kuRxJa','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','Narrow','Landscape','7214miADgs','string','prepare','iterator','42HcsiBl','\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{\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','delete','None','Wide','Origin','_contributions'];_0x1840=function(){return _0x13ff80;};return _0x1840();}const m=_0x4310fb(_0x13db52(0x143));var h=class{constructor(){var _0x159223=_0x13db52;p(this,_0x159223(0x148),new Set());}[_0x13db52(0x14d)](_0x3a9250){var _0x1b11ae=_0x13db52;return this[_0x1b11ae(0x148)][_0x1b11ae(0x153)](_0x3a9250),_0x3a9945(()=>this[_0x1b11ae(0x148)][_0x1b11ae(0x144)](_0x3a9250));}async[_0x13db52(0x174)](_0x38de01){var _0x44e3d7=_0x13db52;await Promise['all'](Array['from'](this['_contributions'],_0x790f91=>_0x790f91[_0x44e3d7(0x174)](_0x38de01)));}};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(
|
|
1
|
+
function _0x31eb(){var _0x5dfc6b=['1203902fkaQWw','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverProPrint','printing-canvas-container','Module','px\x20','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','object','registerContribution','Wide','symbol','2884020MbuzAp','188822eVMZgf','IPrintPreparationService','\x0a\x20\x20\x20\x20.','9OzSYbp','Origin','FitHeight','string','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.','\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','PRINT_CONTAINER_CLASS','offline-printing-css','prepare','Landscape','printing-canvas','PrintAlign','default','className','PrintDirection','Portrait','createIdentifier','10PseOxs','all','PrintScale','prototype','exports','Start','None','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}','Middle','innerHTML','Narrow','add','\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.','@univerjs/core','call','function','FitWidth','from','PaperMarginMap','15059290Oflzim','12YQwTrL','650202vGaKDs','toStringTag','PrintPaperMargin','iterator','defineProperty','_contributions','FitPage','toPrimitive','createPrintStyle','Normal','958632xhSwmw','Custom','delete','6545928WyOghB','amd','createElement','\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.','End','PRINT_CANVAS_CLASS'];_0x31eb=function(){return _0x5dfc6b;};return _0x31eb();}function _0x4cb1(_0x4852ad,_0x1e09d1){_0x4852ad=_0x4852ad-0x7f;var _0x31eb0b=_0x31eb();var _0x4cb1bc=_0x31eb0b[_0x4852ad];return _0x4cb1bc;}(function(_0x2d7a53,_0x47b556){var _0x5235db=_0x4cb1,_0x1877a2=_0x2d7a53();while(!![]){try{var _0x5a7bad=parseInt(_0x5235db(0xbf))/0x1+-parseInt(_0x5235db(0xaa))/0x2+-parseInt(_0x5235db(0xa0))/0x3*(parseInt(_0x5235db(0x9f))/0x4)+-parseInt(_0x5235db(0x8b))/0x5*(-parseInt(_0x5235db(0xbe))/0x6)+parseInt(_0x5235db(0xb3))/0x7+-parseInt(_0x5235db(0xad))/0x8+parseInt(_0x5235db(0xc2))/0x9*(parseInt(_0x5235db(0x9e))/0xa);if(_0x5a7bad===_0x47b556)break;else _0x1877a2['push'](_0x1877a2['shift']());}catch(_0x26ffd3){_0x1877a2['push'](_0x1877a2['shift']());}}}(_0x31eb,0xd6ebe),function(_0x2066dd,_0x3b8012){var _0x2cdea0=_0x4cb1;typeof exports==_0x2cdea0(0xba)&&typeof module<'u'?_0x3b8012(exports,require('@univerjs/core')):typeof define==_0x2cdea0(0x9a)&&define[_0x2cdea0(0xae)]?define([_0x2cdea0(0x8f),_0x2cdea0(0x98)],_0x3b8012):(_0x2066dd=typeof globalThis<'u'?globalThis:_0x2066dd||self,_0x3b8012(_0x2066dd[_0x2cdea0(0xb5)]={},_0x2066dd['UniverCore']));}(this,function(_0x3191c0,_0x2fb4ae){var _0xe8a03=_0x4cb1;Object['defineProperty'](_0x3191c0,Symbol[_0xe8a03(0xa1)],{'value':_0xe8a03(0xb7)});let _0x30bcda=function(_0x137453){var _0x2eba25=_0xe8a03;return _0x137453[_0x2eba25(0x89)]='Portrait',_0x137453[_0x2eba25(0x83)]='Landscape',_0x137453;}({}),_0x4b7863=function(_0x1172e8){var _0xca68d8=_0xe8a03;return _0x1172e8[_0xca68d8(0xc3)]=_0xca68d8(0xc3),_0x1172e8['FitWidth']=_0xca68d8(0x9b),_0x1172e8['FitHeight']=_0xca68d8(0xc4),_0x1172e8['FitPage']=_0xca68d8(0xa6),_0x1172e8[_0xca68d8(0xab)]=_0xca68d8(0xab),_0x1172e8;}({}),_0x16d820=function(_0x5658dc){var _0x2a9dc1=_0xe8a03;return _0x5658dc['Start']=_0x2a9dc1(0x90),_0x5658dc[_0x2a9dc1(0xb1)]=_0x2a9dc1(0xb1),_0x5658dc[_0x2a9dc1(0x93)]=_0x2a9dc1(0x93),_0x5658dc;}({}),_0x50b2ce=function(_0x5c3d62){var _0x406ab3=_0xe8a03;return _0x5c3d62[_0x406ab3(0xa9)]=_0x406ab3(0xa9),_0x5c3d62[_0x406ab3(0x95)]=_0x406ab3(0x95),_0x5c3d62[_0x406ab3(0xbc)]='Wide',_0x5c3d62[_0x406ab3(0x91)]='None',_0x5c3d62[_0x406ab3(0xab)]=_0x406ab3(0xab),_0x5c3d62;}({}),_0x39feff={'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}},_0x58ef95=_0xe8a03(0xb6),_0x1d75be=_0xe8a03(0x84);function _0x122e62(_0x39a0dc,_0xc53447,_0x5b5c26){var _0x1f9229=_0xe8a03;let _0x217ff3=_0x5b5c26===_0x1f9229(0x89)?_0x39a0dc:_0xc53447,_0x3b33aa=_0x5b5c26==='Portrait'?_0xc53447:_0x39a0dc,_0x4b2e68=_0x1f9229(0xc1)+_0x1d75be+_0x1f9229(0x7f)+_0x217ff3+_0x1f9229(0xb8)+_0x3b33aa+_0x1f9229(0xc6)+_0x58ef95+_0x1f9229(0x97)+_0x58ef95+_0x1f9229(0xb0)+_0x1d75be+'\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'+_0x3b33aa+_0x1f9229(0xb9)+_0x217ff3+_0x1f9229(0x92),_0x312cee=document[_0x1f9229(0xaf)]('style');return _0x312cee[_0x1f9229(0x94)]=_0x4b2e68,_0x312cee[_0x1f9229(0x87)]=_0x1f9229(0x81),_0x312cee;}function _0x47985e(_0x79a6c0){'@babel/helpers - typeof';var _0x1b864c=_0xe8a03;return _0x47985e=typeof Symbol==_0x1b864c(0x9a)&&typeof Symbol[_0x1b864c(0xa3)]==_0x1b864c(0xbd)?function(_0x40de1a){return typeof _0x40de1a;}:function(_0x3008b9){var _0x36d9dd=_0x1b864c;return _0x3008b9&&typeof Symbol==_0x36d9dd(0x9a)&&_0x3008b9['constructor']===Symbol&&_0x3008b9!==Symbol[_0x36d9dd(0x8e)]?_0x36d9dd(0xbd):typeof _0x3008b9;},_0x47985e(_0x79a6c0);}function _0x4dbf1d(_0x1ae268,_0x34bb6c){var _0x16cafe=_0xe8a03;if(_0x47985e(_0x1ae268)!='object'||!_0x1ae268)return _0x1ae268;var _0x315e62=_0x1ae268[Symbol[_0x16cafe(0xa7)]];if(_0x315e62!==void 0x0){var _0xb81a5e=_0x315e62[_0x16cafe(0x99)](_0x1ae268,_0x34bb6c||_0x16cafe(0x86));if(_0x47985e(_0xb81a5e)!='object')return _0xb81a5e;throw TypeError(_0x16cafe(0xb4));}return(_0x34bb6c==='string'?String:Number)(_0x1ae268);}function _0x241326(_0x5a9824){var _0x19fcf4=_0xe8a03,_0x2aad16=_0x4dbf1d(_0x5a9824,_0x19fcf4(0xc5));return _0x47985e(_0x2aad16)==_0x19fcf4(0xbd)?_0x2aad16:_0x2aad16+'';}function _0x1051d0(_0x4f5f8b,_0x40fb4f,_0x2a3993){var _0x2f9c3d=_0xe8a03;return(_0x40fb4f=_0x241326(_0x40fb4f))in _0x4f5f8b?Object[_0x2f9c3d(0xa4)](_0x4f5f8b,_0x40fb4f,{'value':_0x2a3993,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f5f8b[_0x40fb4f]=_0x2a3993,_0x4f5f8b;}let _0x433d0a=(0x0,_0x2fb4ae[_0xe8a03(0x8a)])('pro.print-preparation.service');var _0x4ec9e9=class{constructor(){var _0x1879ab=_0xe8a03;_0x1051d0(this,_0x1879ab(0xa5),new Set());}[_0xe8a03(0xbb)](_0x52f249){var _0x3f83cb=_0xe8a03;return this[_0x3f83cb(0xa5)][_0x3f83cb(0x96)](_0x52f249),(0x0,_0x2fb4ae['toDisposable'])(()=>this[_0x3f83cb(0xa5)][_0x3f83cb(0xac)](_0x52f249));}async[_0xe8a03(0x82)](_0x1e2613){var _0x4ff953=_0xe8a03;await Promise[_0x4ff953(0x8c)](Array[_0x4ff953(0x9c)](this[_0x4ff953(0xa5)],_0x16350d=>_0x16350d['prepare'](_0x1e2613)));}};_0x3191c0[_0xe8a03(0xc0)]=_0x433d0a,_0x3191c0[_0xe8a03(0xb2)]=_0x1d75be,_0x3191c0[_0xe8a03(0x80)]=_0x58ef95,_0x3191c0[_0xe8a03(0x9d)]=_0x39feff,_0x3191c0[_0xe8a03(0x85)]=_0x16d820,_0x3191c0[_0xe8a03(0x88)]=_0x30bcda,_0x3191c0[_0xe8a03(0xa2)]=_0x50b2ce,_0x3191c0['PrintPreparationService']=_0x4ec9e9,_0x3191c0[_0xe8a03(0x8d)]=_0x4b7863,_0x3191c0[_0xe8a03(0xa8)]=_0x122e62;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/print",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
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.0.
|
|
51
|
+
"@univerjs/core": "1.0.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@univerjs-infra/shared": "1.0.
|
|
54
|
+
"@univerjs-infra/shared": "1.0.2",
|
|
55
55
|
"typescript": "^6.0.3",
|
|
56
56
|
"vitest": "^5.0.0"
|
|
57
57
|
},
|