@univerjs-pro/sheets-print 1.0.0-alpha.0 → 1.0.0-alpha.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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1daee7=_0x5e60;(function(_0x264d10,_0x206187){const _0x316597=_0x5e60,_0x247ba2=_0x264d10();while(!![]){try{const _0x53f963=parseInt(_0x316597(0xf3))/0x1+parseInt(_0x316597(0xfb))/0x2*(parseInt(_0x316597(0xd2))/0x3)+parseInt(_0x316597(0xed))/0x4+parseInt(_0x316597(0xf4))/0x5+parseInt(_0x316597(0xde))/0x6*(-parseInt(_0x316597(0x102))/0x7)+-parseInt(_0x316597(0xd1))/0x8*(-parseInt(_0x316597(0xe2))/0x9)+-parseInt(_0x316597(0xda))/0xa*(parseInt(_0x316597(0xf2))/0xb);if(_0x53f963===_0x206187)break;else _0x247ba2['push'](_0x247ba2['shift']());}catch(_0x5ce46a){_0x247ba2['push'](_0x247ba2['shift']());}}}(_0x1f6a,0x62675));let e=require('@univerjs-pro/sheets-print'),t=require('@univerjs/core'),n=require('@univerjs/sheets/facade'),r=require('@univerjs/core/facade'),i=require('@univerjs-pro/print');var a=class extends n[_0x1daee7(0xe1)]{['updatePrintConfig'](_0x318030){const _0x2c5cf6=_0x1daee7;return this[_0x2c5cf6(0x107)][_0x2c5cf6(0x109)](e[_0x2c5cf6(0xd0)])[_0x2c5cf6(0x104)](_0x318030),this;}[_0x1daee7(0xe5)](_0x34b11c){const _0x48dcb8=_0x1daee7;return this[_0x48dcb8(0x107)][_0x48dcb8(0x109)](e[_0x48dcb8(0xd0)])[_0x48dcb8(0x10a)](_0x34b11c),this;}['print'](){const _0xbc15ac=_0x1daee7;return this[_0xbc15ac(0x107)][_0xbc15ac(0x109)](t[_0xbc15ac(0xf7)])[_0xbc15ac(0xec)](e[_0xbc15ac(0xdc)]['id']);}[_0x1daee7(0xd5)](){const _0x308e30=_0x1daee7;return this[_0x308e30(0x107)][_0x308e30(0x109)](t[_0x308e30(0xf7)])[_0x308e30(0xec)](e['SheetPrintOpenOperation']['id']);}[_0x1daee7(0xe4)](){const _0x4e579a=_0x1daee7;return this[_0x4e579a(0x107)][_0x4e579a(0x109)](t[_0x4e579a(0xf7)])[_0x4e579a(0xec)](e[_0x4e579a(0xef)]['id']);}async['saveScreenshotToClipboard'](){const _0x59c124=_0x1daee7;return(0x0,e['hasPrintFacadePermission'])(this['_injector'])?this[_0x59c124(0x107)][_0x59c124(0x109)](t['ICommandService'])[_0x59c124(0xe3)](e[_0x59c124(0xf5)]['id']):!0x1;}};function _0x5e60(_0x4fa737,_0x509cc5){_0x4fa737=_0x4fa737-0xc9;const _0x1f6a2d=_0x1f6a();let _0x5e60a8=_0x1f6a2d[_0x4fa737];return _0x5e60a8;}n[_0x1daee7(0xe1)][_0x1daee7(0xff)](a);var o=class extends n['FRange']{[_0x1daee7(0xf0)](_0x42bce1){const _0x1f52a9=_0x1daee7;return(0x0,e[_0x1f52a9(0xe8)])(this['_injector'])?this[_0x1f52a9(0x107)][_0x1f52a9(0x109)](e[_0x1f52a9(0xca)])[_0x1f52a9(0xf9)](this['_workbook'][_0x1f52a9(0xdf)](),this[_0x1f52a9(0xd6)][_0x1f52a9(0xd3)](),this[_0x1f52a9(0xd7)],_0x42bce1==null?void 0x0:_0x42bce1['includeHeaders']):!0x1;}};n[_0x1daee7(0x106)][_0x1daee7(0xff)](o);var s=class extends r[_0x1daee7(0xf6)]{get[_0x1daee7(0xe6)](){const _0x28e449=_0x1daee7;return _0x28e449(0xe6);}get[_0x1daee7(0xc9)](){const _0x66aac9=_0x1daee7;return _0x66aac9(0xc9);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x1daee7(0xf8)](){return'SheetPrintOpen';}get[_0x1daee7(0xe9)](){const _0x237499=_0x1daee7;return _0x237499(0xe9);}get[_0x1daee7(0xea)](){return'SheetPrintCanceled';}};r[_0x1daee7(0xf6)][_0x1daee7(0xff)](s);var c=class extends r['FEnum']{get[_0x1daee7(0xfe)](){const _0xe73ad9=_0x1daee7;return e[_0xe73ad9(0xfe)];}get[_0x1daee7(0xe7)](){const _0x3bc090=_0x1daee7;return i[_0x3bc090(0xe7)];}get['PrintPaperSize'](){return t['PaperType'];}get['PrintPaperMargin'](){const _0x24db24=_0x1daee7;return i[_0x24db24(0x10b)];}get[_0x1daee7(0x105)](){const _0x12f89d=_0x1daee7;return i[_0x12f89d(0x105)];}get[_0x1daee7(0xce)](){const _0x3384eb=_0x1daee7;return i[_0x3384eb(0xce)];}get[_0x1daee7(0xcf)](){const _0x3167ad=_0x1daee7;return e[_0x3167ad(0xcf)];}get['PrintHeaderFooter'](){const _0x1d394f=_0x1daee7;return e[_0x1d394f(0xf1)];}get[_0x1daee7(0xd9)](){const _0x188d48=_0x1daee7;return e[_0x188d48(0xd9)];}};r[_0x1daee7(0xee)][_0x1daee7(0xff)](c);var l=class extends r[_0x1daee7(0xfd)]{[_0x1daee7(0x103)](_0x181e66){const _0x579c04=_0x1daee7;let _0x470b55=_0x181e66['get'](t[_0x579c04(0xf7)]);this[_0x579c04(0xcd)](this[_0x579c04(0x108)](this[_0x579c04(0xeb)][_0x579c04(0xe6)],()=>_0x470b55[_0x579c04(0xd4)](_0x11858e=>{const _0x21b767=_0x579c04;if(_0x11858e['id']===e[_0x21b767(0xfa)]['id']){let _0x5ddaf7=this[_0x21b767(0xcb)]();if(!_0x5ddaf7)return;let _0x28fc67={'workbook':_0x5ddaf7,'worksheet':_0x5ddaf7[_0x21b767(0xdd)]()};if(_0x28fc67==null)return;if(this['fireEvent'](this[_0x21b767(0xeb)]['BeforeSheetPrintOpen'],_0x28fc67),_0x28fc67['cancel'])throw new t['CanceledError']();}}))),this[_0x579c04(0xcd)](this[_0x579c04(0x108)](this[_0x579c04(0xeb)][_0x579c04(0xc9)],()=>_0x470b55['beforeCommandExecuted'](_0x306be8=>{const _0x44a800=_0x579c04;if(_0x306be8['id']===e[_0x44a800(0xdc)]['id']){let _0x527744=_0x181e66[_0x44a800(0x109)](e[_0x44a800(0xd0)]);if(!this['getActiveWorkbook']())return;let _0x4a17a6={'layoutConfig':_0x527744['layoutConfig'],'renderConfig':_0x527744[_0x44a800(0x100)]};if(_0x4a17a6==null)return;if(this[_0x44a800(0xdb)](this[_0x44a800(0xeb)]['BeforeSheetPrintConfirm'],_0x4a17a6),_0x4a17a6['cancel'])throw new t['CanceledError']();}}))),this[_0x579c04(0xcd)](this[_0x579c04(0x108)](this[_0x579c04(0xeb)][_0x579c04(0xd8)],()=>_0x470b55['beforeCommandExecuted'](_0x2817d9=>{const _0x9fa357=_0x579c04;if(_0x2817d9['id']===e[_0x9fa357(0xef)]['id']){let _0x1b5d85=_0x181e66['get'](e['ISheetPrintManagerService']);if(!this['getActiveWorkbook']())return;let _0x59eb8b={'layoutConfig':_0x1b5d85[_0x9fa357(0xcc)],'renderConfig':_0x1b5d85[_0x9fa357(0x100)]};if(_0x59eb8b==null)return;if(this[_0x9fa357(0xdb)](this[_0x9fa357(0xeb)][_0x9fa357(0xd8)],_0x59eb8b),_0x59eb8b[_0x9fa357(0xe0)])throw new t[(_0x9fa357(0xfc))]();}}))),this[_0x579c04(0xcd)](this[_0x579c04(0x108)](this[_0x579c04(0xeb)][_0x579c04(0xf8)],()=>_0x470b55[_0x579c04(0x101)](_0x55a3df=>{const _0x3f1210=_0x579c04;if(_0x55a3df['id']===e[_0x3f1210(0xfa)]['id']){let _0x2c6e62=this[_0x3f1210(0xcb)]();if(!_0x2c6e62)return;let _0x4a45d7={'workbook':_0x2c6e62,'worksheet':_0x2c6e62[_0x3f1210(0xdd)]()};if(_0x4a45d7==null)return;this['fireEvent'](this[_0x3f1210(0xeb)]['SheetPrintOpen'],_0x4a45d7);}}))),this[_0x579c04(0xcd)](this[_0x579c04(0x108)](this['Event']['SheetPrintConfirmed'],()=>_0x470b55[_0x579c04(0x101)](_0x30b637=>{const _0x2ce177=_0x579c04;if(_0x30b637['id']===e['ConfirmSheetPrintOperation']['id']){let _0x2f92bc=_0x181e66[_0x2ce177(0x109)](e[_0x2ce177(0xd0)]);if(!this[_0x2ce177(0xcb)]())return;let _0x35d324={'layoutConfig':_0x2f92bc[_0x2ce177(0xcc)],'renderConfig':_0x2f92bc['renderConfig']};if(_0x35d324==null)return;this[_0x2ce177(0xdb)](this[_0x2ce177(0xeb)]['SheetPrintConfirmed'],_0x35d324);}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x579c04(0xeb)][_0x579c04(0xea)],()=>_0x470b55[_0x579c04(0x101)](_0xacbd18=>{const _0xf8329a=_0x579c04;if(_0xacbd18['id']===e[_0xf8329a(0xef)]['id']){let _0x12fa3a=_0x181e66[_0xf8329a(0x109)](e[_0xf8329a(0xd0)]);if(!this[_0xf8329a(0xcb)]())return;let _0xa852d={'layoutConfig':_0x12fa3a[_0xf8329a(0xcc)],'renderConfig':_0x12fa3a[_0xf8329a(0x100)]};if(_0xa852d==null)return;this[_0xf8329a(0xdb)](this[_0xf8329a(0xeb)][_0xf8329a(0xea)],_0xa852d);}})));}};function _0x1f6a(){const _0x4a9dbf=['openPrintDialog','_worksheet','_range','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','20WNQSrC','fireEvent','ConfirmSheetPrintOperation','getActiveSheet','4575834CmkONS','getUnitId','cancel','FWorkbook','332343eboFAi','executeCommand','closePrintDialog','updatePrintRenderConfig','BeforeSheetPrintOpen','PrintAlign','hasPrintFacadePermission','SheetPrintConfirmed','SheetPrintCanceled','Event','syncExecuteCommand','2719568bgSkZG','FEnum','CancelSheetPrintOperation','getScreenshot','PrintHeaderFooter','6783095BtyliT','579809HoUgOH','3295545LjkNnA','SheetScreenShotOperation','FEventName','ICommandService','SheetPrintOpen','getRangeImage','SheetPrintOpenOperation','1830zBsosF','CanceledError','FUniver','PrintArea','extend','renderConfig','onCommandExecuted','7UBkvjl','_initialize','updateLayoutConfig','PrintScale','FRange','_injector','registerEventHandler','get','updateRenderConfig','PrintPaperMargin','BeforeSheetPrintConfirm','SheetPrintClientService','getActiveWorkbook','layoutConfig','disposeWithMe','PrintDirection','PrintFreeze','ISheetPrintManagerService','40cthmHT','969GLNHnN','getSheetId','beforeCommandExecuted'];_0x1f6a=function(){return _0x4a9dbf;};return _0x1f6a();}r[_0x1daee7(0xfd)][_0x1daee7(0xff)](l);
|