@univerjs-pro/print 1.0.0-alpha.1 → 1.0.0-alpha.3

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/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # @univerjs-pro/print
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@univerjs-pro/print?style=flat-square)](https://npmjs.com/package/@univerjs-pro/print)
4
+ [![license](https://img.shields.io/npm/l/@univerjs-pro/print?style=flat-square)](https://npmjs.com/package/@univerjs-pro/print)
4
5
  [![downloads](https://img.shields.io/npm/dm/@univerjs-pro/print?style=flat-square)](https://npmjs.com/package/@univerjs-pro/print)
5
6
 
6
- `@univerjs-pro/print` provides shared print utilities for Univer Pro.
7
+ `@univerjs-pro/print` is part of Univer Pro. Shared print utilities for Univer Pro.
7
8
 
8
9
  ## Package Overview
9
10
 
@@ -24,11 +25,16 @@ Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
24
25
  ## Usage
25
26
 
26
27
  ```ts
27
- import { createPrintStyle, PrintPaperMargin } from '@univerjs-pro/print';
28
+ import * as Print from '@univerjs-pro/print';
29
+
30
+ // Use exported APIs from Print as needed.
28
31
  ```
29
32
 
33
+ ## Integration Notes
34
+
35
+ - Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
36
+
30
37
  ## Resources
31
38
 
32
39
  - [Documentation](https://docs.univer.ai/guides/pro)
33
40
  - [NPM package](https://npmjs.com/package/@univerjs-pro/print)
34
-
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- function _0xe3d4(){const _0x3be0dd=['style','PRINT_CANVAS_CLASS','End','583zvVSvx','className','Module','innerHTML','PrintPaperMargin','PRINT_CONTAINER_CLASS','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.','toStringTag','px\x20','1641774ZGHDSG','7145vBThfo','\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','FitWidth','599988OZSLqa','6000mpQOXi','Origin','defineProperty','Narrow','Normal','5994096aovDMb','Custom','Start','FitPage','Middle','Portrait','PrintScale','Landscape','341001oZPJkO','\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\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.','PrintAlign','PrintDirection','Wide','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','createElement','printing-canvas','232TKsgjc','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}',',\x20.','267407mIlZkM','360qlpAcs','createPrintStyle','\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','1521600WVgafj','None','offline-printing-css','6QweZaY','FitHeight'];_0xe3d4=function(){return _0x3be0dd;};return _0xe3d4();}const _0x52c6ab=_0x47b9;(function(_0x28407d,_0x40d1ae){const _0x5008f3=_0x47b9,_0x120a67=_0x28407d();while(!![]){try{const _0xa4d60d=parseInt(_0x5008f3(0xfc))/0x1+parseInt(_0x5008f3(0xff))/0x2*(parseInt(_0x5008f3(0x10d))/0x3)+parseInt(_0x5008f3(0x117))/0x4+-parseInt(_0x5008f3(0x10e))/0x5*(parseInt(_0x5008f3(0x112))/0x6)+parseInt(_0x5008f3(0xf8))/0x7*(-parseInt(_0x5008f3(0xf5))/0x8)+-parseInt(_0x5008f3(0xed))/0x9*(-parseInt(_0x5008f3(0xf9))/0xa)+-parseInt(_0x5008f3(0x104))/0xb*(parseInt(_0x5008f3(0x111))/0xc);if(_0xa4d60d===_0x40d1ae)break;else _0x120a67['push'](_0x120a67['shift']());}catch(_0x5b9569){_0x120a67['push'](_0x120a67['shift']());}}}(_0xe3d4,0xccdd6),Object[_0x52c6ab(0x114)](exports,Symbol[_0x52c6ab(0x10b)],{'value':_0x52c6ab(0x106)}));let e=function(_0x2fdc40){const _0x11fdd4=_0x52c6ab;return _0x2fdc40[_0x11fdd4(0xea)]=_0x11fdd4(0xea),_0x2fdc40[_0x11fdd4(0xec)]=_0x11fdd4(0xec),_0x2fdc40;}({}),t=function(_0x4b661e){const _0x121087=_0x52c6ab;return _0x4b661e[_0x121087(0x113)]='Origin',_0x4b661e['FitWidth']=_0x121087(0x110),_0x4b661e[_0x121087(0x100)]='FitHeight',_0x4b661e[_0x121087(0xe8)]=_0x121087(0xe8),_0x4b661e[_0x121087(0x118)]='Custom',_0x4b661e;}({}),n=function(_0x3a6b64){const _0x1dc140=_0x52c6ab;return _0x3a6b64[_0x1dc140(0xe7)]='Start',_0x3a6b64[_0x1dc140(0x103)]=_0x1dc140(0x103),_0x3a6b64[_0x1dc140(0xe9)]='Middle',_0x3a6b64;}({}),r=function(_0x4f48d4){const _0xad291a=_0x52c6ab;return _0x4f48d4[_0xad291a(0x116)]='Normal',_0x4f48d4[_0xad291a(0x115)]=_0xad291a(0x115),_0x4f48d4[_0xad291a(0xf1)]=_0xad291a(0xf1),_0x4f48d4[_0xad291a(0xfd)]='None',_0x4f48d4[_0xad291a(0x118)]=_0xad291a(0x118),_0x4f48d4;}({});const i={'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}},a='printing-canvas-container',o=_0x52c6ab(0xf4);function _0x47b9(_0x1f3645,_0x22c6e4){_0x1f3645=_0x1f3645-0xe7;const _0xe3d46f=_0xe3d4();let _0x47b9c1=_0xe3d46f[_0x1f3645];return _0x47b9c1;}function s(_0x1c3ddf,_0x368f9b,_0x24957e){const _0x4ae1dd=_0x52c6ab;let _0x1f043f=_0x24957e===_0x4ae1dd(0xea)?_0x1c3ddf:_0x368f9b,_0x416bdb=_0x24957e===_0x4ae1dd(0xea)?_0x368f9b:_0x1c3ddf,_0xe168de='\x0a\x20\x20\x20\x20.'+o+_0x4ae1dd(0x10f)+_0x1f043f+_0x4ae1dd(0x10c)+_0x416bdb+_0x4ae1dd(0x10a)+a+_0x4ae1dd(0xf7)+a+_0x4ae1dd(0xee)+o+_0x4ae1dd(0xfb)+_0x416bdb+_0x4ae1dd(0xf2)+_0x1f043f+_0x4ae1dd(0xf6),_0x24fe9b=document[_0x4ae1dd(0xf3)](_0x4ae1dd(0x101));return _0x24fe9b[_0x4ae1dd(0x107)]=_0xe168de,_0x24fe9b[_0x4ae1dd(0x105)]=_0x4ae1dd(0xfe),_0x24fe9b;}exports[_0x52c6ab(0x102)]=o,exports[_0x52c6ab(0x109)]=a,exports['PaperMarginMap']=i,exports[_0x52c6ab(0xef)]=n,exports[_0x52c6ab(0xf0)]=e,exports[_0x52c6ab(0x108)]=r,exports[_0x52c6ab(0xeb)]=t,exports[_0x52c6ab(0xfa)]=s;
1
+ const _0x1b4c7a=_0x19a9;(function(_0x3e9a28,_0x4bfb41){const _0x163d78=_0x19a9,_0x2a89e8=_0x3e9a28();while(!![]){try{const _0x4c744d=parseInt(_0x163d78(0x16d))/0x1*(parseInt(_0x163d78(0x18b))/0x2)+-parseInt(_0x163d78(0x17b))/0x3+parseInt(_0x163d78(0x19a))/0x4+parseInt(_0x163d78(0x193))/0x5*(parseInt(_0x163d78(0x195))/0x6)+parseInt(_0x163d78(0x185))/0x7+-parseInt(_0x163d78(0x181))/0x8*(parseInt(_0x163d78(0x174))/0x9)+-parseInt(_0x163d78(0x198))/0xa;if(_0x4c744d===_0x4bfb41)break;else _0x2a89e8['push'](_0x2a89e8['shift']());}catch(_0x3b4ab3){_0x2a89e8['push'](_0x2a89e8['shift']());}}}(_0x20c7,0x96d36),Object[_0x1b4c7a(0x189)](exports,Symbol[_0x1b4c7a(0x192)],{'value':_0x1b4c7a(0x172)}));let e=function(_0x55202a){const _0x230645=_0x1b4c7a;return _0x55202a[_0x230645(0x17a)]=_0x230645(0x17a),_0x55202a['Landscape']=_0x230645(0x17e),_0x55202a;}({}),t=function(_0x43ba03){const _0x5269d2=_0x1b4c7a;return _0x43ba03[_0x5269d2(0x175)]=_0x5269d2(0x175),_0x43ba03[_0x5269d2(0x18d)]=_0x5269d2(0x18d),_0x43ba03[_0x5269d2(0x18a)]=_0x5269d2(0x18a),_0x43ba03['FitPage']=_0x5269d2(0x18f),_0x43ba03[_0x5269d2(0x197)]='Custom',_0x43ba03;}({}),n=function(_0x588660){const _0x235e49=_0x1b4c7a;return _0x588660[_0x235e49(0x188)]=_0x235e49(0x188),_0x588660[_0x235e49(0x18c)]=_0x235e49(0x18c),_0x588660[_0x235e49(0x171)]=_0x235e49(0x171),_0x588660;}({}),r=function(_0x44a846){const _0xbae5ee=_0x1b4c7a;return _0x44a846[_0xbae5ee(0x178)]='Normal',_0x44a846[_0xbae5ee(0x17f)]=_0xbae5ee(0x17f),_0x44a846[_0xbae5ee(0x199)]='Wide',_0x44a846[_0xbae5ee(0x16f)]=_0xbae5ee(0x16f),_0x44a846['Custom']='Custom',_0x44a846;}({});function _0x20c7(){const _0x37b6c9=['Module','createPrintStyle','79407WRWTkR','Origin','\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','createElement','Normal','style','Portrait','331458hqKqAM','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','PrintScale','Landscape','Narrow','\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','872tWHmuJ','printing-canvas','\x0a\x20\x20\x20\x20.',',\x20.','5990663wuduvn','PRINT_CANVAS_CLASS','px\x20','Start','defineProperty','FitHeight','1330126bhSgrW','End','FitWidth','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}','FitPage','PrintDirection','\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\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.','toStringTag','25LRpFQI','PaperMarginMap','892662VtNlvR','PRINT_CONTAINER_CLASS','Custom','12213180Otrxia','Wide','2586144enKjiA','className','PrintPaperMargin','1vbomZb','offline-printing-css','None','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.','Middle'];_0x20c7=function(){return _0x37b6c9;};return _0x20c7();}const i={'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}},a='printing-canvas-container',o=_0x1b4c7a(0x182);function s(_0x582ced,_0x7bec4a,_0x1b5165){const _0x53e202=_0x1b4c7a;let _0x2b66b8=_0x1b5165===_0x53e202(0x17a)?_0x582ced:_0x7bec4a,_0x149438=_0x1b5165===_0x53e202(0x17a)?_0x7bec4a:_0x582ced,_0x12cf2e=_0x53e202(0x183)+o+_0x53e202(0x180)+_0x2b66b8+_0x53e202(0x187)+_0x149438+_0x53e202(0x170)+a+_0x53e202(0x184)+a+_0x53e202(0x191)+o+_0x53e202(0x176)+_0x149438+_0x53e202(0x17c)+_0x2b66b8+_0x53e202(0x18e),_0xd8d14f=document[_0x53e202(0x177)](_0x53e202(0x179));return _0xd8d14f['innerHTML']=_0x12cf2e,_0xd8d14f[_0x53e202(0x19b)]=_0x53e202(0x16e),_0xd8d14f;}function _0x19a9(_0xc9054c,_0x1ced9d){_0xc9054c=_0xc9054c-0x16d;const _0x20c766=_0x20c7();let _0x19a97d=_0x20c766[_0xc9054c];return _0x19a97d;}exports[_0x1b4c7a(0x186)]=o,exports[_0x1b4c7a(0x196)]=a,exports[_0x1b4c7a(0x194)]=i,exports['PrintAlign']=n,exports[_0x1b4c7a(0x190)]=e,exports[_0x1b4c7a(0x19c)]=r,exports[_0x1b4c7a(0x17d)]=t,exports[_0x1b4c7a(0x173)]=s;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x20f4f1=_0x218f;(function(_0x180259,_0x4ceb2f){const _0x499cc0=_0x218f,_0x2fb154=_0x180259();while(!![]){try{const _0x141d85=-parseInt(_0x499cc0(0x1b6))/0x1*(parseInt(_0x499cc0(0x1c1))/0x2)+parseInt(_0x499cc0(0x1af))/0x3*(-parseInt(_0x499cc0(0x1ae))/0x4)+parseInt(_0x499cc0(0x1c2))/0x5*(parseInt(_0x499cc0(0x1a3))/0x6)+-parseInt(_0x499cc0(0x1b7))/0x7+-parseInt(_0x499cc0(0x1bf))/0x8+-parseInt(_0x499cc0(0x1a6))/0x9*(-parseInt(_0x499cc0(0x1a5))/0xa)+parseInt(_0x499cc0(0x1b2))/0xb;if(_0x141d85===_0x4ceb2f)break;else _0x2fb154['push'](_0x2fb154['shift']());}catch(_0x3e90cb){_0x2fb154['push'](_0x2fb154['shift']());}}}(_0x4132,0xf3afd));let e=function(_0x87eea8){const _0x2489df=_0x218f;return _0x87eea8[_0x2489df(0x1bb)]='Portrait',_0x87eea8[_0x2489df(0x1ba)]='Landscape',_0x87eea8;}({}),t=function(_0x4dd7c7){const _0x5d4bec=_0x218f;return _0x4dd7c7[_0x5d4bec(0x1bc)]=_0x5d4bec(0x1bc),_0x4dd7c7[_0x5d4bec(0x1a2)]='FitWidth',_0x4dd7c7['FitHeight']=_0x5d4bec(0x1b3),_0x4dd7c7[_0x5d4bec(0x1bd)]=_0x5d4bec(0x1bd),_0x4dd7c7['Custom']='Custom',_0x4dd7c7;}({}),n=function(_0x17d8ed){const _0x39f197=_0x218f;return _0x17d8ed['Start']=_0x39f197(0x1b4),_0x17d8ed['End']=_0x39f197(0x1c0),_0x17d8ed[_0x39f197(0x1a9)]=_0x39f197(0x1a9),_0x17d8ed;}({}),r=function(_0xa4c55a){const _0x149189=_0x218f;return _0xa4c55a[_0x149189(0x1be)]=_0x149189(0x1be),_0xa4c55a[_0x149189(0x1b9)]=_0x149189(0x1b9),_0xa4c55a['Wide']=_0x149189(0x1a4),_0xa4c55a[_0x149189(0x1b1)]=_0x149189(0x1b1),_0xa4c55a[_0x149189(0x1b8)]='Custom',_0xa4c55a;}({});const i={'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}},a=_0x20f4f1(0x1ad),o=_0x20f4f1(0x1b5);function _0x4132(){const _0x4c273c=['Start','printing-canvas','9014ETyqIn','1848819vVGiMZ','Custom','Narrow','Landscape','Portrait','Origin','FitPage','Normal','10772032mLQKTj','End','298RzguzQ','3695xcJraK','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.','FitWidth','12486kTPyli','Wide','45830DFoWyW','3402yuFvTj','style','innerHTML','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','className','px\x20','printing-canvas-container','3140584qhtuIv','3QbgZbt','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}','None','16134371xYJHUq','FitHeight'];_0x4132=function(){return _0x4c273c;};return _0x4132();}function _0x218f(_0x301b47,_0x7b8b94){_0x301b47=_0x301b47-0x1a1;const _0x4132dc=_0x4132();let _0x218f93=_0x4132dc[_0x301b47];return _0x218f93;}function s(_0x388dde,_0x5b1cbd,_0x5f47d6){const _0x5132f1=_0x20f4f1;let _0x4dd5e8=_0x5f47d6===_0x5132f1(0x1bb)?_0x388dde:_0x5b1cbd,_0x352fc2=_0x5f47d6==='Portrait'?_0x5b1cbd:_0x388dde,_0x77f566='\x0a\x20\x20\x20\x20.'+o+'\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'+_0x4dd5e8+_0x5132f1(0x1ac)+_0x352fc2+_0x5132f1(0x1a1)+a+',\x20.'+a+'\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\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.'+o+_0x5132f1(0x1aa)+_0x352fc2+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x4dd5e8+_0x5132f1(0x1b0),_0xeaab11=document['createElement'](_0x5132f1(0x1a7));return _0xeaab11[_0x5132f1(0x1a8)]=_0x77f566,_0xeaab11[_0x5132f1(0x1ab)]='offline-printing-css',_0xeaab11;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};
1
+ const _0x595682=_0x3d64;(function(_0xb3570d,_0x37e9c0){const _0x2b6a97=_0x3d64,_0x4c1c6d=_0xb3570d();while(!![]){try{const _0x2a2d5d=parseInt(_0x2b6a97(0x10f))/0x1*(-parseInt(_0x2b6a97(0x113))/0x2)+parseInt(_0x2b6a97(0x10b))/0x3*(parseInt(_0x2b6a97(0xf7))/0x4)+-parseInt(_0x2b6a97(0x102))/0x5*(-parseInt(_0x2b6a97(0x112))/0x6)+parseInt(_0x2b6a97(0x103))/0x7*(-parseInt(_0x2b6a97(0x11b))/0x8)+-parseInt(_0x2b6a97(0x117))/0x9*(-parseInt(_0x2b6a97(0xf9))/0xa)+-parseInt(_0x2b6a97(0x11a))/0xb*(-parseInt(_0x2b6a97(0x108))/0xc)+-parseInt(_0x2b6a97(0x114))/0xd*(parseInt(_0x2b6a97(0x116))/0xe);if(_0x2a2d5d===_0x37e9c0)break;else _0x4c1c6d['push'](_0x4c1c6d['shift']());}catch(_0x57d515){_0x4c1c6d['push'](_0x4c1c6d['shift']());}}}(_0x3df9,0x8eb19));let e=function(_0x339e71){const _0x471ae9=_0x3d64;return _0x339e71[_0x471ae9(0x115)]=_0x471ae9(0x115),_0x339e71['Landscape']=_0x471ae9(0x11c),_0x339e71;}({}),t=function(_0x3d7967){const _0x1621d5=_0x3d64;return _0x3d7967['Origin']=_0x1621d5(0xfd),_0x3d7967[_0x1621d5(0xff)]=_0x1621d5(0xff),_0x3d7967['FitHeight']=_0x1621d5(0x101),_0x3d7967[_0x1621d5(0x109)]=_0x1621d5(0x109),_0x3d7967[_0x1621d5(0x105)]=_0x1621d5(0x105),_0x3d7967;}({}),n=function(_0x168379){const _0x215485=_0x3d64;return _0x168379[_0x215485(0x100)]=_0x215485(0x100),_0x168379[_0x215485(0x106)]='End',_0x168379[_0x215485(0xfc)]=_0x215485(0xfc),_0x168379;}({}),r=function(_0x15232a){const _0x1cf09d=_0x3d64;return _0x15232a[_0x1cf09d(0x111)]=_0x1cf09d(0x111),_0x15232a['Narrow']='Narrow',_0x15232a[_0x1cf09d(0x119)]='Wide',_0x15232a[_0x1cf09d(0x104)]='None',_0x15232a[_0x1cf09d(0x105)]=_0x1cf09d(0x105),_0x15232a;}({});const i={'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}},a=_0x595682(0xfb),o=_0x595682(0x10d);function s(_0x2b85fd,_0x7d5678,_0x31dced){const _0x2abf24=_0x595682;let _0xdf0964=_0x31dced==='Portrait'?_0x2b85fd:_0x7d5678,_0x4eaa21=_0x31dced===_0x2abf24(0x115)?_0x7d5678:_0x2b85fd,_0x2ed778='\x0a\x20\x20\x20\x20.'+o+_0x2abf24(0xf8)+_0xdf0964+_0x2abf24(0x10e)+_0x4eaa21+_0x2abf24(0xfa)+a+_0x2abf24(0xfe)+a+_0x2abf24(0x11d)+o+_0x2abf24(0x10a)+_0x4eaa21+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0xdf0964+_0x2abf24(0x107),_0x564998=document[_0x2abf24(0x11e)](_0x2abf24(0x110));return _0x564998['innerHTML']=_0x2ed778,_0x564998[_0x2abf24(0x118)]=_0x2abf24(0x10c),_0x564998;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};function _0x3d64(_0x4c5da8,_0x36dfdd){_0x4c5da8=_0x4c5da8-0xf7;const _0x3df905=_0x3df9();let _0x3d6472=_0x3df905[_0x4c5da8];return _0x3d6472;}function _0x3df9(){const _0x29e81c=['6564eSrjBd','FitPage','\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','2930163dYQZoP','offline-printing-css','printing-canvas','px\x20','4271gZjVHo','style','Normal','6zhvMNB','388nCHaBb','13Wwvlrz','Portrait','15964606WYvujr','1810818DBDWLM','className','Wide','6710sDHCNB','2768fbPOZO','Landscape','\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\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.','createElement','4zYnAvu','\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','50FtDoNk','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.','printing-canvas-container','Middle','Origin',',\x20.','FitWidth','Start','FitHeight','1985865KLRNcu','3241JjzMwI','None','Custom','End','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}'];_0x3df9=function(){return _0x29e81c;};return _0x3df9();}
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x20f4f1=_0x218f;(function(_0x180259,_0x4ceb2f){const _0x499cc0=_0x218f,_0x2fb154=_0x180259();while(!![]){try{const _0x141d85=-parseInt(_0x499cc0(0x1b6))/0x1*(parseInt(_0x499cc0(0x1c1))/0x2)+parseInt(_0x499cc0(0x1af))/0x3*(-parseInt(_0x499cc0(0x1ae))/0x4)+parseInt(_0x499cc0(0x1c2))/0x5*(parseInt(_0x499cc0(0x1a3))/0x6)+-parseInt(_0x499cc0(0x1b7))/0x7+-parseInt(_0x499cc0(0x1bf))/0x8+-parseInt(_0x499cc0(0x1a6))/0x9*(-parseInt(_0x499cc0(0x1a5))/0xa)+parseInt(_0x499cc0(0x1b2))/0xb;if(_0x141d85===_0x4ceb2f)break;else _0x2fb154['push'](_0x2fb154['shift']());}catch(_0x3e90cb){_0x2fb154['push'](_0x2fb154['shift']());}}}(_0x4132,0xf3afd));let e=function(_0x87eea8){const _0x2489df=_0x218f;return _0x87eea8[_0x2489df(0x1bb)]='Portrait',_0x87eea8[_0x2489df(0x1ba)]='Landscape',_0x87eea8;}({}),t=function(_0x4dd7c7){const _0x5d4bec=_0x218f;return _0x4dd7c7[_0x5d4bec(0x1bc)]=_0x5d4bec(0x1bc),_0x4dd7c7[_0x5d4bec(0x1a2)]='FitWidth',_0x4dd7c7['FitHeight']=_0x5d4bec(0x1b3),_0x4dd7c7[_0x5d4bec(0x1bd)]=_0x5d4bec(0x1bd),_0x4dd7c7['Custom']='Custom',_0x4dd7c7;}({}),n=function(_0x17d8ed){const _0x39f197=_0x218f;return _0x17d8ed['Start']=_0x39f197(0x1b4),_0x17d8ed['End']=_0x39f197(0x1c0),_0x17d8ed[_0x39f197(0x1a9)]=_0x39f197(0x1a9),_0x17d8ed;}({}),r=function(_0xa4c55a){const _0x149189=_0x218f;return _0xa4c55a[_0x149189(0x1be)]=_0x149189(0x1be),_0xa4c55a[_0x149189(0x1b9)]=_0x149189(0x1b9),_0xa4c55a['Wide']=_0x149189(0x1a4),_0xa4c55a[_0x149189(0x1b1)]=_0x149189(0x1b1),_0xa4c55a[_0x149189(0x1b8)]='Custom',_0xa4c55a;}({});const i={'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}},a=_0x20f4f1(0x1ad),o=_0x20f4f1(0x1b5);function _0x4132(){const _0x4c273c=['Start','printing-canvas','9014ETyqIn','1848819vVGiMZ','Custom','Narrow','Landscape','Portrait','Origin','FitPage','Normal','10772032mLQKTj','End','298RzguzQ','3695xcJraK','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.','FitWidth','12486kTPyli','Wide','45830DFoWyW','3402yuFvTj','style','innerHTML','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','className','px\x20','printing-canvas-container','3140584qhtuIv','3QbgZbt','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}','None','16134371xYJHUq','FitHeight'];_0x4132=function(){return _0x4c273c;};return _0x4132();}function _0x218f(_0x301b47,_0x7b8b94){_0x301b47=_0x301b47-0x1a1;const _0x4132dc=_0x4132();let _0x218f93=_0x4132dc[_0x301b47];return _0x218f93;}function s(_0x388dde,_0x5b1cbd,_0x5f47d6){const _0x5132f1=_0x20f4f1;let _0x4dd5e8=_0x5f47d6===_0x5132f1(0x1bb)?_0x388dde:_0x5b1cbd,_0x352fc2=_0x5f47d6==='Portrait'?_0x5b1cbd:_0x388dde,_0x77f566='\x0a\x20\x20\x20\x20.'+o+'\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'+_0x4dd5e8+_0x5132f1(0x1ac)+_0x352fc2+_0x5132f1(0x1a1)+a+',\x20.'+a+'\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\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.'+o+_0x5132f1(0x1aa)+_0x352fc2+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0x4dd5e8+_0x5132f1(0x1b0),_0xeaab11=document['createElement'](_0x5132f1(0x1a7));return _0xeaab11[_0x5132f1(0x1a8)]=_0x77f566,_0xeaab11[_0x5132f1(0x1ab)]='offline-printing-css',_0xeaab11;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};
1
+ const _0x595682=_0x3d64;(function(_0xb3570d,_0x37e9c0){const _0x2b6a97=_0x3d64,_0x4c1c6d=_0xb3570d();while(!![]){try{const _0x2a2d5d=parseInt(_0x2b6a97(0x10f))/0x1*(-parseInt(_0x2b6a97(0x113))/0x2)+parseInt(_0x2b6a97(0x10b))/0x3*(parseInt(_0x2b6a97(0xf7))/0x4)+-parseInt(_0x2b6a97(0x102))/0x5*(-parseInt(_0x2b6a97(0x112))/0x6)+parseInt(_0x2b6a97(0x103))/0x7*(-parseInt(_0x2b6a97(0x11b))/0x8)+-parseInt(_0x2b6a97(0x117))/0x9*(-parseInt(_0x2b6a97(0xf9))/0xa)+-parseInt(_0x2b6a97(0x11a))/0xb*(-parseInt(_0x2b6a97(0x108))/0xc)+-parseInt(_0x2b6a97(0x114))/0xd*(parseInt(_0x2b6a97(0x116))/0xe);if(_0x2a2d5d===_0x37e9c0)break;else _0x4c1c6d['push'](_0x4c1c6d['shift']());}catch(_0x57d515){_0x4c1c6d['push'](_0x4c1c6d['shift']());}}}(_0x3df9,0x8eb19));let e=function(_0x339e71){const _0x471ae9=_0x3d64;return _0x339e71[_0x471ae9(0x115)]=_0x471ae9(0x115),_0x339e71['Landscape']=_0x471ae9(0x11c),_0x339e71;}({}),t=function(_0x3d7967){const _0x1621d5=_0x3d64;return _0x3d7967['Origin']=_0x1621d5(0xfd),_0x3d7967[_0x1621d5(0xff)]=_0x1621d5(0xff),_0x3d7967['FitHeight']=_0x1621d5(0x101),_0x3d7967[_0x1621d5(0x109)]=_0x1621d5(0x109),_0x3d7967[_0x1621d5(0x105)]=_0x1621d5(0x105),_0x3d7967;}({}),n=function(_0x168379){const _0x215485=_0x3d64;return _0x168379[_0x215485(0x100)]=_0x215485(0x100),_0x168379[_0x215485(0x106)]='End',_0x168379[_0x215485(0xfc)]=_0x215485(0xfc),_0x168379;}({}),r=function(_0x15232a){const _0x1cf09d=_0x3d64;return _0x15232a[_0x1cf09d(0x111)]=_0x1cf09d(0x111),_0x15232a['Narrow']='Narrow',_0x15232a[_0x1cf09d(0x119)]='Wide',_0x15232a[_0x1cf09d(0x104)]='None',_0x15232a[_0x1cf09d(0x105)]=_0x1cf09d(0x105),_0x15232a;}({});const i={'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}},a=_0x595682(0xfb),o=_0x595682(0x10d);function s(_0x2b85fd,_0x7d5678,_0x31dced){const _0x2abf24=_0x595682;let _0xdf0964=_0x31dced==='Portrait'?_0x2b85fd:_0x7d5678,_0x4eaa21=_0x31dced===_0x2abf24(0x115)?_0x7d5678:_0x2b85fd,_0x2ed778='\x0a\x20\x20\x20\x20.'+o+_0x2abf24(0xf8)+_0xdf0964+_0x2abf24(0x10e)+_0x4eaa21+_0x2abf24(0xfa)+a+_0x2abf24(0xfe)+a+_0x2abf24(0x11d)+o+_0x2abf24(0x10a)+_0x4eaa21+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+_0xdf0964+_0x2abf24(0x107),_0x564998=document[_0x2abf24(0x11e)](_0x2abf24(0x110));return _0x564998['innerHTML']=_0x2ed778,_0x564998[_0x2abf24(0x118)]=_0x2abf24(0x10c),_0x564998;}export{o as PRINT_CANVAS_CLASS,a as PRINT_CONTAINER_CLASS,i as PaperMarginMap,n as PrintAlign,e as PrintDirection,r as PrintPaperMargin,t as PrintScale,s as createPrintStyle};function _0x3d64(_0x4c5da8,_0x36dfdd){_0x4c5da8=_0x4c5da8-0xf7;const _0x3df905=_0x3df9();let _0x3d6472=_0x3df905[_0x4c5da8];return _0x3d6472;}function _0x3df9(){const _0x29e81c=['6564eSrjBd','FitPage','\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','2930163dYQZoP','offline-printing-css','printing-canvas','px\x20','4271gZjVHo','style','Normal','6zhvMNB','388nCHaBb','13Wwvlrz','Portrait','15964606WYvujr','1810818DBDWLM','className','Wide','6710sDHCNB','2768fbPOZO','Landscape','\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\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.','createElement','4zYnAvu','\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','50FtDoNk','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.','printing-canvas-container','Middle','Origin',',\x20.','FitWidth','Start','FitHeight','1985865KLRNcu','3241JjzMwI','None','Custom','End','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}'];_0x3df9=function(){return _0x29e81c;};return _0x3df9();}
@@ -1 +1,4 @@
1
- export * from './common';
1
+ export { PaperMarginMap, PRINT_CANVAS_CLASS, PRINT_CONTAINER_CLASS } from './common/constant';
2
+ export { PrintAlign, PrintDirection, PrintPaperMargin, PrintScale } from './common/types';
3
+ export type { IPrintMargin } from './common/types';
4
+ export { createPrintStyle } from './common/util';
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1ea7(_0x5e8fc0,_0x5ba1a8){_0x5e8fc0=_0x5e8fc0-0x9e;const _0x23f424=_0x23f4();let _0x1ea77c=_0x23f424[_0x5e8fc0];return _0x1ea77c;}(function(_0x3c49cd,_0x2481b4){const _0x3aea21=_0x1ea7,_0x4aca3e=_0x3c49cd();while(!![]){try{const _0x5eaac7=parseInt(_0x3aea21(0xb4))/0x1+-parseInt(_0x3aea21(0xc1))/0x2*(parseInt(_0x3aea21(0xc5))/0x3)+-parseInt(_0x3aea21(0xbc))/0x4+parseInt(_0x3aea21(0xb3))/0x5+parseInt(_0x3aea21(0xc3))/0x6+parseInt(_0x3aea21(0xb7))/0x7+-parseInt(_0x3aea21(0x9e))/0x8;if(_0x5eaac7===_0x2481b4)break;else _0x4aca3e['push'](_0x4aca3e['shift']());}catch(_0x6160d6){_0x4aca3e['push'](_0x4aca3e['shift']());}}}(_0x23f4,0x4b7b3),function(_0x16a93b,_0x4053cd){const _0x9cc85c=_0x1ea7;typeof exports==_0x9cc85c(0xcc)&&typeof module<'u'?_0x4053cd(exports):typeof define==_0x9cc85c(0xbe)&&define[_0x9cc85c(0xa4)]?define([_0x9cc85c(0xac)],_0x4053cd):(_0x16a93b=typeof globalThis<'u'?globalThis:_0x16a93b||self,_0x4053cd(_0x16a93b[_0x9cc85c(0x9f)]={}));}(this,function(_0x28cb5b){const _0x3e805c=_0x1ea7;Object[_0x3e805c(0xaf)](_0x28cb5b,Symbol[_0x3e805c(0xc4)],{'value':_0x3e805c(0xba)});let _0x177eb9=function(_0x12b4cb){const _0x8b0d30=_0x3e805c;return _0x12b4cb[_0x8b0d30(0xa3)]='Portrait',_0x12b4cb[_0x8b0d30(0xc7)]=_0x8b0d30(0xc7),_0x12b4cb;}({}),_0x1d8e81=function(_0x502586){const _0x4ede08=_0x3e805c;return _0x502586['Origin']=_0x4ede08(0xbb),_0x502586[_0x4ede08(0xcd)]=_0x4ede08(0xcd),_0x502586[_0x4ede08(0xb8)]=_0x4ede08(0xb8),_0x502586[_0x4ede08(0xb9)]=_0x4ede08(0xb9),_0x502586[_0x4ede08(0xb0)]='Custom',_0x502586;}({}),_0x17ad25=function(_0xeb9e66){const _0x2cbf3c=_0x3e805c;return _0xeb9e66['Start']='Start',_0xeb9e66[_0x2cbf3c(0xa8)]=_0x2cbf3c(0xa8),_0xeb9e66['Middle']=_0x2cbf3c(0xc8),_0xeb9e66;}({}),_0x35b8f3=function(_0x5bf4d2){const _0xf1d282=_0x3e805c;return _0x5bf4d2[_0xf1d282(0xc2)]=_0xf1d282(0xc2),_0x5bf4d2[_0xf1d282(0xc0)]='Narrow',_0x5bf4d2[_0xf1d282(0xb2)]=_0xf1d282(0xb2),_0x5bf4d2[_0xf1d282(0xa1)]=_0xf1d282(0xa1),_0x5bf4d2['Custom']=_0xf1d282(0xb0),_0x5bf4d2;}({}),_0x2d148e={'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}},_0x4851e8='printing-canvas-container',_0xbda53e=_0x3e805c(0xb1);function _0x4e55fb(_0x3c58d7,_0x4cc40f,_0x3a2e6c){const _0x1b636d=_0x3e805c;let _0x3b2b01=_0x3a2e6c==='Portrait'?_0x3c58d7:_0x4cc40f,_0x10240e=_0x3a2e6c===_0x1b636d(0xa3)?_0x4cc40f:_0x3c58d7,_0x84e44=_0x1b636d(0xbd)+_0xbda53e+_0x1b636d(0xa9)+_0x3b2b01+_0x1b636d(0xad)+_0x10240e+_0x1b636d(0xc9)+_0x4851e8+',\x20.'+_0x4851e8+_0x1b636d(0xc6)+_0xbda53e+'\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'+_0x10240e+_0x1b636d(0xa7)+_0x3b2b01+_0x1b636d(0xb5),_0x280902=document['createElement']('style');return _0x280902[_0x1b636d(0xcb)]=_0x84e44,_0x280902[_0x1b636d(0xae)]=_0x1b636d(0xca),_0x280902;}_0x28cb5b[_0x3e805c(0xab)]=_0xbda53e,_0x28cb5b[_0x3e805c(0xbf)]=_0x4851e8,_0x28cb5b[_0x3e805c(0xa6)]=_0x2d148e,_0x28cb5b[_0x3e805c(0xa0)]=_0x17ad25,_0x28cb5b[_0x3e805c(0xb6)]=_0x177eb9,_0x28cb5b[_0x3e805c(0xa2)]=_0x35b8f3,_0x28cb5b[_0x3e805c(0xaa)]=_0x1d8e81,_0x28cb5b[_0x3e805c(0xa5)]=_0x4e55fb;}));function _0x23f4(){const _0x55f0b2=['function','PRINT_CONTAINER_CLASS','Narrow','58cDfbkI','Normal','3512844ENReeB','toStringTag','53253rlunHR','\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\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','Middle','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.','offline-printing-css','innerHTML','object','FitWidth','7406328xLaTId','UniverProPrint','PrintAlign','None','PrintPaperMargin','Portrait','amd','createPrintStyle','PaperMarginMap','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','End','\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','PrintScale','PRINT_CANVAS_CLASS','exports','px\x20','className','defineProperty','Custom','printing-canvas','Wide','2753935YmabSA','585569YXUjVc','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}','PrintDirection','1028958qxEjEt','FitHeight','FitPage','Module','Origin','476332JAqKOJ','\x0a\x20\x20\x20\x20.'];_0x23f4=function(){return _0x55f0b2;};return _0x23f4();}
1
+ function _0x5e6c(_0x32698f,_0x4f329f){_0x32698f=_0x32698f-0x183;const _0xc6f330=_0xc6f3();let _0x5e6c0c=_0xc6f330[_0x32698f];return _0x5e6c0c;}function _0xc6f3(){const _0x1fbd21=['FitWidth','createElement','3753ulyGMP','Middle','Normal','UniverProPrint','PaperMarginMap','3851183EzPJCs','Custom','FitPage','Wide','10655810UYdEYo','innerHTML','9INTWpL','offline-printing-css','Narrow','className','PrintDirection','amd','PrintScale','Landscape','\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','defineProperty','PrintPaperMargin','9478880txYlQx','1089111sXDkgF','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','function','End','Module','toStringTag','exports','12wQhxyI','printing-canvas','Portrait','Origin','2317645AKgEUt','object','1784DjLMDm','printing-canvas-container','style','FitHeight','40080854EaWHyf','PrintAlign','PRINT_CONTAINER_CLASS','None','Start','px\x20','8VyarSq'];_0xc6f3=function(){return _0x1fbd21;};return _0xc6f3();}(function(_0x26a1e2,_0x13cb3d){const _0x2257e5=_0x5e6c,_0x435e1f=_0x26a1e2();while(!![]){try{const _0x5476fa=-parseInt(_0x2257e5(0x18b))/0x1+-parseInt(_0x2257e5(0x198))/0x2*(-parseInt(_0x2257e5(0x1a5))/0x3)+-parseInt(_0x2257e5(0x1a2))/0x4*(-parseInt(_0x2257e5(0x196))/0x5)+parseInt(_0x2257e5(0x192))/0x6*(parseInt(_0x2257e5(0x1aa))/0x7)+parseInt(_0x2257e5(0x18a))/0x8+-parseInt(_0x2257e5(0x1b0))/0x9*(-parseInt(_0x2257e5(0x1ae))/0xa)+-parseInt(_0x2257e5(0x19c))/0xb;if(_0x5476fa===_0x13cb3d)break;else _0x435e1f['push'](_0x435e1f['shift']());}catch(_0x193ecf){_0x435e1f['push'](_0x435e1f['shift']());}}}(_0xc6f3,0xa15a8),function(_0x25d2f2,_0x11db42){const _0xc820e3=_0x5e6c;typeof exports==_0xc820e3(0x197)&&typeof module<'u'?_0x11db42(exports):typeof define==_0xc820e3(0x18d)&&define[_0xc820e3(0x184)]?define([_0xc820e3(0x191)],_0x11db42):(_0x25d2f2=typeof globalThis<'u'?globalThis:_0x25d2f2||self,_0x11db42(_0x25d2f2[_0xc820e3(0x1a8)]={}));}(this,function(_0x2d02ee){const _0xc05099=_0x5e6c;Object[_0xc05099(0x188)](_0x2d02ee,Symbol[_0xc05099(0x190)],{'value':_0xc05099(0x18f)});let _0x24b097=function(_0x34a279){const _0x416e6c=_0xc05099;return _0x34a279['Portrait']=_0x416e6c(0x194),_0x34a279[_0x416e6c(0x186)]=_0x416e6c(0x186),_0x34a279;}({}),_0x1fb1d9=function(_0x261763){const _0x38156e=_0xc05099;return _0x261763[_0x38156e(0x195)]=_0x38156e(0x195),_0x261763[_0x38156e(0x1a3)]=_0x38156e(0x1a3),_0x261763[_0x38156e(0x19b)]=_0x38156e(0x19b),_0x261763[_0x38156e(0x1ac)]=_0x38156e(0x1ac),_0x261763[_0x38156e(0x1ab)]=_0x38156e(0x1ab),_0x261763;}({}),_0x371217=function(_0xac2a73){const _0xc6b1c9=_0xc05099;return _0xac2a73[_0xc6b1c9(0x1a0)]='Start',_0xac2a73[_0xc6b1c9(0x18e)]=_0xc6b1c9(0x18e),_0xac2a73[_0xc6b1c9(0x1a6)]=_0xc6b1c9(0x1a6),_0xac2a73;}({}),_0x3a9434=function(_0x13b42a){const _0x33feb7=_0xc05099;return _0x13b42a[_0x33feb7(0x1a7)]='Normal',_0x13b42a['Narrow']=_0x33feb7(0x1b2),_0x13b42a[_0x33feb7(0x1ad)]=_0x33feb7(0x1ad),_0x13b42a[_0x33feb7(0x19f)]=_0x33feb7(0x19f),_0x13b42a['Custom']='Custom',_0x13b42a;}({}),_0x245108={'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}},_0x1decd6=_0xc05099(0x199),_0x4d767a=_0xc05099(0x193);function _0x345806(_0x149d60,_0x15cf02,_0x3a6470){const _0x592058=_0xc05099;let _0x40bf33=_0x3a6470===_0x592058(0x194)?_0x149d60:_0x15cf02,_0x31931b=_0x3a6470===_0x592058(0x194)?_0x15cf02:_0x149d60,_0x40abe8='\x0a\x20\x20\x20\x20.'+_0x4d767a+'\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'+_0x40bf33+_0x592058(0x1a1)+_0x31931b+'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.'+_0x1decd6+',\x20.'+_0x1decd6+'\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\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.'+_0x4d767a+_0x592058(0x187)+_0x31931b+_0x592058(0x18c)+_0x40bf33+'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}',_0x1746cf=document[_0x592058(0x1a4)](_0x592058(0x19a));return _0x1746cf[_0x592058(0x1af)]=_0x40abe8,_0x1746cf[_0x592058(0x1b3)]=_0x592058(0x1b1),_0x1746cf;}_0x2d02ee['PRINT_CANVAS_CLASS']=_0x4d767a,_0x2d02ee[_0xc05099(0x19e)]=_0x1decd6,_0x2d02ee[_0xc05099(0x1a9)]=_0x245108,_0x2d02ee[_0xc05099(0x19d)]=_0x371217,_0x2d02ee[_0xc05099(0x183)]=_0x24b097,_0x2d02ee[_0xc05099(0x189)]=_0x3a9434,_0x2d02ee[_0xc05099(0x185)]=_0x1fb1d9,_0x2d02ee['createPrintStyle']=_0x345806;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/print",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "private": false,
5
5
  "description": "Shared print utilities for Univer Pro.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -49,8 +49,8 @@
49
49
  ],
50
50
  "devDependencies": {
51
51
  "typescript": "^6.0.3",
52
- "vitest": "^4.1.9",
53
- "@univerjs-infra/shared": "1.0.0-alpha.1"
52
+ "vitest": "^4.1.10",
53
+ "@univerjs-infra/shared": "1.0.0-alpha.3"
54
54
  },
55
55
  "scripts": {
56
56
  "test": "vitest run",