@univerjs-pro/sheets-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/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 +14 -14
- package/lib/types/controllers/config.schema.d.ts +0 -12
- package/lib/types/controllers/menu.schema.d.ts +0 -2
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x49969d=_0x122f;(function(_0x10f784,_0x22b0fa){const _0x29cbef=_0x122f,_0x2e2df6=_0x10f784();while(!![]){try{const _0x16bb3f=parseInt(_0x29cbef(0xbd))/0x1+-parseInt(_0x29cbef(0x97))/0x2+-parseInt(_0x29cbef(0xaf))/0x3*(parseInt(_0x29cbef(0xb1))/0x4)+-parseInt(_0x29cbef(0xb4))/0x5*(-parseInt(_0x29cbef(0xb8))/0x6)+-parseInt(_0x29cbef(0xa1))/0x7*(-parseInt(_0x29cbef(0x98))/0x8)+parseInt(_0x29cbef(0x9f))/0x9*(-parseInt(_0x29cbef(0x91))/0xa)+parseInt(_0x29cbef(0x96))/0xb;if(_0x16bb3f===_0x22b0fa)break;else _0x2e2df6['push'](_0x2e2df6['shift']());}catch(_0x2f0d0a){_0x2e2df6['push'](_0x2e2df6['shift']());}}}(_0xc852,0x5c534));import{CancelSheetPrintOperation as _0x3660c3,ConfirmSheetPrintOperation as _0x464314,ISheetPrintManagerService as _0x499795,PrintArea as _0x47a4fa,PrintFreeze as _0x5017fd,PrintHeaderFooter as _0x40d10d,PrintHeaderFooterSymbol as _0xf87875,SheetPrintClientService as _0x546777,SheetPrintOpenOperation as _0x33575,SheetScreenShotOperation as _0x209733,hasPrintFacadePermission as _0x56a5b7}from'@univerjs-pro/sheets-print';import{CanceledError as _0x3a9939,ICommandService as _0x5d9d8a,PaperType as _0x2ada74}from'@univerjs/core';import{FRange as _0x5178bd,FWorkbook as _0x6facb0}from'@univerjs/sheets/facade';import{FEnum as _0x2b2f74,FEventName as _0x45541a,FUniver as _0x7166a3}from'@univerjs/core/facade';function _0xc852(){const _0x3d4f41=['1638605fXTZAR','BeforeSheetPrintConfirm','cancel','PrintPaperSize','6JIZUag','fireEvent','SheetPrintConfirmed','get','_initialize','114539wDreaf','PrintPaperMargin','_worksheet','getScreenshot','BeforeSheetPrintOpen','updatePrintRenderConfig','PrintScale','10kqWfdy','syncExecuteCommand','layoutConfig','updateRenderConfig','getActiveSheet','8296882YozLTF','726210eTAufo','19984fkeMBf','_injector','PrintHeaderFooterSymbol','extend','_range','PrintFreeze','onCommandExecuted','3231387OkJgbj','getActiveWorkbook','105qKKAyO','PrintArea','closePrintDialog','BeforeSheetPrintCanceled','saveScreenshotToClipboard','registerEventHandler','Event','updateLayoutConfig','SheetPrintCanceled','renderConfig','print','PrintDirection','beforeCommandExecuted','disposeWithMe','401040tShRNY','SheetPrintOpen','4GstgOr','PrintHeaderFooter','_workbook'];_0xc852=function(){return _0x3d4f41;};return _0xc852();}import{PrintAlign as _0x40e347,PrintDirection as _0x27b8f5,PrintPaperMargin as _0x448e62,PrintScale as _0x1e615e}from'@univerjs-pro/print';var C=class extends _0x6facb0{['updatePrintConfig'](_0x8152c1){const _0x3ff1be=_0x122f;return this[_0x3ff1be(0x99)][_0x3ff1be(0xbb)](_0x499795)[_0x3ff1be(0xa8)](_0x8152c1),this;}[_0x49969d(0x8f)](_0x33ba10){const _0x322b31=_0x49969d;return this[_0x322b31(0x99)][_0x322b31(0xbb)](_0x499795)[_0x322b31(0x94)](_0x33ba10),this;}[_0x49969d(0xab)](){const _0x3d46e5=_0x49969d;return this['_injector'][_0x3d46e5(0xbb)](_0x5d9d8a)['syncExecuteCommand'](_0x464314['id']);}['openPrintDialog'](){const _0x29cbff=_0x49969d;return this[_0x29cbff(0x99)][_0x29cbff(0xbb)](_0x5d9d8a)['syncExecuteCommand'](_0x33575['id']);}[_0x49969d(0xa3)](){const _0x2e7b60=_0x49969d;return this[_0x2e7b60(0x99)]['get'](_0x5d9d8a)[_0x2e7b60(0x92)](_0x3660c3['id']);}async[_0x49969d(0xa5)](){const _0x575785=_0x49969d;return _0x56a5b7(this['_injector'])?this['_injector'][_0x575785(0xbb)](_0x5d9d8a)['executeCommand'](_0x209733['id']):!0x1;}};_0x6facb0[_0x49969d(0x9b)](C);function _0x122f(_0x252ca9,_0x1d2a6b){_0x252ca9=_0x252ca9-0x8d;const _0xc852b6=_0xc852();let _0x122f60=_0xc852b6[_0x252ca9];return _0x122f60;}var w=class extends _0x5178bd{[_0x49969d(0x8d)](_0x1dac28){const _0x55efa7=_0x49969d;return _0x56a5b7(this[_0x55efa7(0x99)])?this[_0x55efa7(0x99)][_0x55efa7(0xbb)](_0x546777)['getRangeImage'](this[_0x55efa7(0xb3)]['getUnitId'](),this[_0x55efa7(0xbf)]['getSheetId'](),this[_0x55efa7(0x9c)],_0x1dac28==null?void 0x0:_0x1dac28['includeHeaders']):!0x1;}};_0x5178bd[_0x49969d(0x9b)](w);var T=class extends _0x45541a{get[_0x49969d(0x8e)](){return'BeforeSheetPrintOpen';}get[_0x49969d(0xb5)](){const _0xb6ba2=_0x49969d;return _0xb6ba2(0xb5);}get[_0x49969d(0xa4)](){const _0x65b8d5=_0x49969d;return _0x65b8d5(0xa4);}get[_0x49969d(0xb0)](){return'SheetPrintOpen';}get[_0x49969d(0xba)](){const _0x512a09=_0x49969d;return _0x512a09(0xba);}get[_0x49969d(0xa9)](){return'SheetPrintCanceled';}};_0x45541a[_0x49969d(0x9b)](T);var E=class extends _0x2b2f74{get[_0x49969d(0xa2)](){return _0x47a4fa;}get['PrintAlign'](){return _0x40e347;}get[_0x49969d(0xb7)](){return _0x2ada74;}get[_0x49969d(0xbe)](){return _0x448e62;}get[_0x49969d(0x90)](){return _0x1e615e;}get[_0x49969d(0xac)](){return _0x27b8f5;}get[_0x49969d(0x9d)](){return _0x5017fd;}get[_0x49969d(0xb2)](){return _0x40d10d;}get[_0x49969d(0x9a)](){return _0xf87875;}};_0x2b2f74[_0x49969d(0x9b)](E);var D=class extends _0x7166a3{[_0x49969d(0xbc)](_0x58f75e){const _0x214b45=_0x49969d;let _0x5e472a=_0x58f75e[_0x214b45(0xbb)](_0x5d9d8a);this[_0x214b45(0xae)](this[_0x214b45(0xa6)](this['Event'][_0x214b45(0x8e)],()=>_0x5e472a[_0x214b45(0xad)](_0x1cd39d=>{const _0x3c156c=_0x214b45;if(_0x1cd39d['id']===_0x33575['id']){let _0x1f4ff2=this[_0x3c156c(0xa0)]();if(!_0x1f4ff2)return;let _0x6708fe={'workbook':_0x1f4ff2,'worksheet':_0x1f4ff2[_0x3c156c(0x95)]()};if(_0x6708fe==null)return;if(this[_0x3c156c(0xb9)](this[_0x3c156c(0xa7)][_0x3c156c(0x8e)],_0x6708fe),_0x6708fe[_0x3c156c(0xb6)])throw new _0x3a9939();}}))),this[_0x214b45(0xae)](this[_0x214b45(0xa6)](this[_0x214b45(0xa7)][_0x214b45(0xb5)],()=>_0x5e472a[_0x214b45(0xad)](_0x444c46=>{const _0x38a6dd=_0x214b45;if(_0x444c46['id']===_0x464314['id']){let _0x455ac5=_0x58f75e[_0x38a6dd(0xbb)](_0x499795);if(!this[_0x38a6dd(0xa0)]())return;let _0x3d171d={'layoutConfig':_0x455ac5[_0x38a6dd(0x93)],'renderConfig':_0x455ac5[_0x38a6dd(0xaa)]};if(_0x3d171d==null)return;if(this[_0x38a6dd(0xb9)](this['Event']['BeforeSheetPrintConfirm'],_0x3d171d),_0x3d171d[_0x38a6dd(0xb6)])throw new _0x3a9939();}}))),this[_0x214b45(0xae)](this[_0x214b45(0xa6)](this['Event']['BeforeSheetPrintCanceled'],()=>_0x5e472a[_0x214b45(0xad)](_0x487273=>{const _0x588dc6=_0x214b45;if(_0x487273['id']===_0x3660c3['id']){let _0x44c663=_0x58f75e[_0x588dc6(0xbb)](_0x499795);if(!this[_0x588dc6(0xa0)]())return;let _0x1d24a0={'layoutConfig':_0x44c663[_0x588dc6(0x93)],'renderConfig':_0x44c663[_0x588dc6(0xaa)]};if(_0x1d24a0==null)return;if(this[_0x588dc6(0xb9)](this[_0x588dc6(0xa7)]['BeforeSheetPrintCanceled'],_0x1d24a0),_0x1d24a0[_0x588dc6(0xb6)])throw new _0x3a9939();}}))),this['disposeWithMe'](this[_0x214b45(0xa6)](this[_0x214b45(0xa7)][_0x214b45(0xb0)],()=>_0x5e472a[_0x214b45(0x9e)](_0x1bb6e6=>{const _0x21e96f=_0x214b45;if(_0x1bb6e6['id']===_0x33575['id']){let _0x2d8c57=this[_0x21e96f(0xa0)]();if(!_0x2d8c57)return;let _0x5adb2d={'workbook':_0x2d8c57,'worksheet':_0x2d8c57[_0x21e96f(0x95)]()};if(_0x5adb2d==null)return;this['fireEvent'](this[_0x21e96f(0xa7)][_0x21e96f(0xb0)],_0x5adb2d);}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x214b45(0xa7)][_0x214b45(0xba)],()=>_0x5e472a[_0x214b45(0x9e)](_0x320279=>{const _0x36f61c=_0x214b45;if(_0x320279['id']===_0x464314['id']){let _0x292052=_0x58f75e[_0x36f61c(0xbb)](_0x499795);if(!this[_0x36f61c(0xa0)]())return;let _0x5048d8={'layoutConfig':_0x292052[_0x36f61c(0x93)],'renderConfig':_0x292052[_0x36f61c(0xaa)]};if(_0x5048d8==null)return;this[_0x36f61c(0xb9)](this[_0x36f61c(0xa7)]['SheetPrintConfirmed'],_0x5048d8);}}))),this[_0x214b45(0xae)](this[_0x214b45(0xa6)](this[_0x214b45(0xa7)][_0x214b45(0xa9)],()=>_0x5e472a[_0x214b45(0x9e)](_0x1b3fee=>{const _0x1c54e=_0x214b45;if(_0x1b3fee['id']===_0x3660c3['id']){let _0x1273c4=_0x58f75e[_0x1c54e(0xbb)](_0x499795);if(!this['getActiveWorkbook']())return;let _0x3928e2={'layoutConfig':_0x1273c4[_0x1c54e(0x93)],'renderConfig':_0x1273c4[_0x1c54e(0xaa)]};if(_0x3928e2==null)return;this[_0x1c54e(0xb9)](this[_0x1c54e(0xa7)][_0x1c54e(0xa9)],_0x3928e2);}})));}};_0x7166a3[_0x49969d(0x9b)](D);export{};
|