@univerjs-pro/sheets-print 0.22.0 → 0.22.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/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c5e2f=_0x213e;function _0x213e(_0x251fdf,_0x254eb8){_0x251fdf=_0x251fdf-0x1f0;const _0x30c026=_0x30c0();let _0x213e10=_0x30c026[_0x251fdf];return _0x213e10;}(function(_0x1419af,_0x1fdbb6){const _0x395f5c=_0x213e,_0x4a368c=_0x1419af();while(!![]){try{const _0x12a338=parseInt(_0x395f5c(0x201))/0x1*(parseInt(_0x395f5c(0x213))/0x2)+-parseInt(_0x395f5c(0x220))/0x3*(parseInt(_0x395f5c(0x202))/0x4)+-parseInt(_0x395f5c(0x218))/0x5+-parseInt(_0x395f5c(0x214))/0x6+-parseInt(_0x395f5c(0x21c))/0x7+parseInt(_0x395f5c(0x235))/0x8*(-parseInt(_0x395f5c(0x22a))/0x9)+parseInt(_0x395f5c(0x1ff))/0xa*(parseInt(_0x395f5c(0x20e))/0xb);if(_0x12a338===_0x1fdbb6)break;else _0x4a368c['push'](_0x4a368c['shift']());}catch(_0x1d1460){_0x4a368c['push'](_0x4a368c['shift']());}}}(_0x30c0,0x9978b));let _univerjs_pro_sheets_print=require('@univerjs-pro/sheets-print'),_univerjs_core=require('@univerjs/core'),_univerjs_sheets_facade=require('@univerjs/sheets/facade'),_univerjs_core_facade=require('@univerjs/core/facade'),_univerjs_pro_print=require('@univerjs-pro/print');var FWorkbookSheetsPrintMixin=class extends _univerjs_sheets_facade[_0x2c5e2f(0x205)]{[_0x2c5e2f(0x225)](_0x26c749){const _0x27dad3=_0x2c5e2f;return this[_0x27dad3(0x210)][_0x27dad3(0x209)](_univerjs_pro_sheets_print[_0x27dad3(0x1fe)])[_0x27dad3(0x20c)](_0x26c749),this;}['updatePrintRenderConfig'](_0x4200cf){const _0x3c27da=_0x2c5e2f;return this[_0x3c27da(0x210)][_0x3c27da(0x209)](_univerjs_pro_sheets_print[_0x3c27da(0x1fe)])[_0x3c27da(0x231)](_0x4200cf),this;}[_0x2c5e2f(0x22b)](){const _0x5dd4b4=_0x2c5e2f;return this[_0x5dd4b4(0x210)][_0x5dd4b4(0x209)](_univerjs_core[_0x5dd4b4(0x1f1)])[_0x5dd4b4(0x22f)](_univerjs_pro_sheets_print[_0x5dd4b4(0x232)]['id']);}[_0x2c5e2f(0x200)](){const _0x5b2566=_0x2c5e2f;return this[_0x5b2566(0x210)]['get'](_univerjs_core[_0x5b2566(0x1f1)])['syncExecuteCommand'](_univerjs_pro_sheets_print['SheetPrintOpenOperation']['id']);}['closePrintDialog'](){const _0x49e150=_0x2c5e2f;return this[_0x49e150(0x210)][_0x49e150(0x209)](_univerjs_core[_0x49e150(0x1f1)])[_0x49e150(0x22f)](_univerjs_pro_sheets_print['CancelSheetPrintOperation']['id']);}async[_0x2c5e2f(0x206)](){const _0x3d1f8c=_0x2c5e2f;if(!(0x0,_univerjs_pro_sheets_print[_0x3d1f8c(0x226)])(this[_0x3d1f8c(0x210)]))return![];return this[_0x3d1f8c(0x210)][_0x3d1f8c(0x209)](_univerjs_core[_0x3d1f8c(0x1f1)])[_0x3d1f8c(0x22d)](_univerjs_pro_sheets_print[_0x3d1f8c(0x223)]['id']);}};_univerjs_sheets_facade[_0x2c5e2f(0x205)][_0x2c5e2f(0x224)](FWorkbookSheetsPrintMixin);var FRangeSheetsPrint=class extends _univerjs_sheets_facade['FRange']{['getScreenshot'](_0x1580e1){const _0xa69c2b=_0x2c5e2f;if(!(0x0,_univerjs_pro_sheets_print[_0xa69c2b(0x226)])(this['_injector']))return![];return this[_0xa69c2b(0x210)][_0xa69c2b(0x209)](_univerjs_pro_sheets_print[_0xa69c2b(0x219)])[_0xa69c2b(0x21b)](this[_0xa69c2b(0x227)][_0xa69c2b(0x20b)](),this[_0xa69c2b(0x229)][_0xa69c2b(0x21e)](),this[_0xa69c2b(0x22c)],_0x1580e1===null||_0x1580e1===void 0x0?void 0x0:_0x1580e1[_0xa69c2b(0x233)]);}};_univerjs_sheets_facade[_0x2c5e2f(0x211)][_0x2c5e2f(0x224)](FRangeSheetsPrint);var FSheetsPrintEventNameMixin=class extends _univerjs_core_facade['FEventName']{get[_0x2c5e2f(0x1f8)](){const _0x236e84=_0x2c5e2f;return _0x236e84(0x1f8);}get['BeforeSheetPrintConfirm'](){const _0x4705bc=_0x2c5e2f;return _0x4705bc(0x236);}get[_0x2c5e2f(0x20f)](){const _0x3fadd4=_0x2c5e2f;return _0x3fadd4(0x20f);}get[_0x2c5e2f(0x222)](){const _0x59492c=_0x2c5e2f;return _0x59492c(0x222);}get['SheetPrintConfirmed'](){const _0x557922=_0x2c5e2f;return _0x557922(0x1fd);}get[_0x2c5e2f(0x204)](){const _0x19b637=_0x2c5e2f;return _0x19b637(0x204);}};_univerjs_core_facade[_0x2c5e2f(0x216)][_0x2c5e2f(0x224)](FSheetsPrintEventNameMixin);var FSheetsPrintEnumMixin=class extends _univerjs_core_facade[_0x2c5e2f(0x1f4)]{get['PrintArea'](){const _0xd80855=_0x2c5e2f;return _univerjs_pro_sheets_print[_0xd80855(0x1f3)];}get[_0x2c5e2f(0x1f2)](){const _0x3f048a=_0x2c5e2f;return _univerjs_pro_print[_0x3f048a(0x1f2)];}get[_0x2c5e2f(0x22e)](){const _0x48f9c5=_0x2c5e2f;return _univerjs_core[_0x48f9c5(0x20d)];}get[_0x2c5e2f(0x1f5)](){const _0x5c9962=_0x2c5e2f;return _univerjs_pro_print[_0x5c9962(0x1f5)];}get['PrintScale'](){const _0x3b0c52=_0x2c5e2f;return _univerjs_pro_print[_0x3b0c52(0x207)];}get[_0x2c5e2f(0x230)](){const _0x3eb03c=_0x2c5e2f;return _univerjs_pro_print[_0x3eb03c(0x230)];}get['PrintFreeze'](){const _0x36ac82=_0x2c5e2f;return _univerjs_pro_sheets_print[_0x36ac82(0x1fb)];}get[_0x2c5e2f(0x21d)](){const _0x5504dd=_0x2c5e2f;return _univerjs_pro_sheets_print[_0x5504dd(0x21d)];}get['PrintHeaderFooterSymbol'](){const _0x382d41=_0x2c5e2f;return _univerjs_pro_sheets_print[_0x382d41(0x228)];}};_univerjs_core_facade['FEnum']['extend'](FSheetsPrintEnumMixin);var FUniverSheetsPrintMixin=class extends _univerjs_core_facade[_0x2c5e2f(0x1f9)]{[_0x2c5e2f(0x21f)](_0x114a0d){const _0x38e789=_0x2c5e2f,_0x3e9328=_0x114a0d[_0x38e789(0x209)](_univerjs_core[_0x38e789(0x1f1)]);this[_0x38e789(0x203)](this[_0x38e789(0x215)](this[_0x38e789(0x217)]['BeforeSheetPrintOpen'],()=>_0x3e9328[_0x38e789(0x21a)](_0x2cf5b6=>{const _0x2cf2e6=_0x38e789;if(_0x2cf5b6['id']===_univerjs_pro_sheets_print[_0x2cf2e6(0x20a)]['id']){const _0x20fe01=this[_0x2cf2e6(0x1f7)]();if(!_0x20fe01)return;const _0x377a1b={'workbook':_0x20fe01,'worksheet':_0x20fe01[_0x2cf2e6(0x1f6)]()};if(_0x377a1b==null)return;this[_0x2cf2e6(0x234)](this[_0x2cf2e6(0x217)][_0x2cf2e6(0x1f8)],_0x377a1b);if(_0x377a1b[_0x2cf2e6(0x221)])throw new _univerjs_core[(_0x2cf2e6(0x1fa))]();}}))),this['disposeWithMe'](this[_0x38e789(0x215)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x3e9328['beforeCommandExecuted'](_0x32c8dc=>{const _0x165c63=_0x38e789;if(_0x32c8dc['id']===_univerjs_pro_sheets_print[_0x165c63(0x232)]['id']){const _0x4c209b=_0x114a0d[_0x165c63(0x209)](_univerjs_pro_sheets_print[_0x165c63(0x1fe)]);if(!this['getActiveUniverSheet']())return;const _0x3f4a5c={'layoutConfig':_0x4c209b[_0x165c63(0x1fc)],'renderConfig':_0x4c209b['renderConfig']};if(_0x3f4a5c==null)return;this['fireEvent'](this[_0x165c63(0x217)]['BeforeSheetPrintConfirm'],_0x3f4a5c);if(_0x3f4a5c[_0x165c63(0x221)])throw new _univerjs_core[(_0x165c63(0x1fa))]();}}))),this['disposeWithMe'](this[_0x38e789(0x215)](this[_0x38e789(0x217)][_0x38e789(0x20f)],()=>_0x3e9328[_0x38e789(0x21a)](_0x208190=>{const _0x53bba5=_0x38e789;if(_0x208190['id']===_univerjs_pro_sheets_print['CancelSheetPrintOperation']['id']){const _0x4dac9c=_0x114a0d[_0x53bba5(0x209)](_univerjs_pro_sheets_print[_0x53bba5(0x1fe)]);if(!this['getActiveUniverSheet']())return;const _0x39feb6={'layoutConfig':_0x4dac9c[_0x53bba5(0x1fc)],'renderConfig':_0x4dac9c[_0x53bba5(0x208)]};if(_0x39feb6==null)return;this['fireEvent'](this[_0x53bba5(0x217)][_0x53bba5(0x20f)],_0x39feb6);if(_0x39feb6[_0x53bba5(0x221)])throw new _univerjs_core['CanceledError']();}}))),this['disposeWithMe'](this[_0x38e789(0x215)](this[_0x38e789(0x217)][_0x38e789(0x222)],()=>_0x3e9328[_0x38e789(0x1f0)](_0x3a2d24=>{const _0x2dfbed=_0x38e789;if(_0x3a2d24['id']===_univerjs_pro_sheets_print['SheetPrintOpenOperation']['id']){const _0x556813=this['getActiveUniverSheet']();if(!_0x556813)return;const _0x2cd367={'workbook':_0x556813,'worksheet':_0x556813['getActiveSheet']()};if(_0x2cd367==null)return;this[_0x2dfbed(0x234)](this['Event'][_0x2dfbed(0x222)],_0x2cd367);}}))),this[_0x38e789(0x203)](this[_0x38e789(0x215)](this[_0x38e789(0x217)][_0x38e789(0x1fd)],()=>_0x3e9328[_0x38e789(0x1f0)](_0x1d7c97=>{const _0x2d9725=_0x38e789;if(_0x1d7c97['id']===_univerjs_pro_sheets_print[_0x2d9725(0x232)]['id']){const _0x5eba1a=_0x114a0d[_0x2d9725(0x209)](_univerjs_pro_sheets_print['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0xc2d25f={'layoutConfig':_0x5eba1a[_0x2d9725(0x1fc)],'renderConfig':_0x5eba1a[_0x2d9725(0x208)]};if(_0xc2d25f==null)return;this['fireEvent'](this[_0x2d9725(0x217)][_0x2d9725(0x1fd)],_0xc2d25f);}}))),this[_0x38e789(0x203)](this[_0x38e789(0x215)](this[_0x38e789(0x217)][_0x38e789(0x204)],()=>_0x3e9328[_0x38e789(0x1f0)](_0x405104=>{const _0x554c23=_0x38e789;if(_0x405104['id']===_univerjs_pro_sheets_print[_0x554c23(0x212)]['id']){const _0x667de0=_0x114a0d['get'](_univerjs_pro_sheets_print['ISheetPrintManagerService']);if(!this[_0x554c23(0x1f7)]())return;const _0x28a1fe={'layoutConfig':_0x667de0['layoutConfig'],'renderConfig':_0x667de0['renderConfig']};if(_0x28a1fe==null)return;this[_0x554c23(0x234)](this[_0x554c23(0x217)][_0x554c23(0x204)],_0x28a1fe);}})));}};_univerjs_core_facade[_0x2c5e2f(0x1f9)][_0x2c5e2f(0x224)](FUniverSheetsPrintMixin);function _0x30c0(){const _0x4efacb=['FEventName','Event','3288300xTRDcz','SheetPrintClientService','beforeCommandExecuted','getRangeImage','113932vAfoXe','PrintHeaderFooter','getSheetId','_initialize','3yCrvWJ','cancel','SheetPrintOpen','SheetScreenShotOperation','extend','updatePrintConfig','hasPrintFacadePermission','_workbook','PrintHeaderFooterSymbol','_worksheet','9883449bsxZXY','print','_range','executeCommand','PrintPaperSize','syncExecuteCommand','PrintDirection','updateRenderConfig','ConfirmSheetPrintOperation','includeHeaders','fireEvent','8JtYtsl','BeforeSheetPrintConfirm','onCommandExecuted','ICommandService','PrintAlign','PrintArea','FEnum','PrintPaperMargin','getActiveSheet','getActiveUniverSheet','BeforeSheetPrintOpen','FUniver','CanceledError','PrintFreeze','layoutConfig','SheetPrintConfirmed','ISheetPrintManagerService','320JjQIHX','openPrintDialog','269683tFQydn','3453544uwtwYD','disposeWithMe','SheetPrintCanceled','FWorkbook','saveScreenshotToClipboard','PrintScale','renderConfig','get','SheetPrintOpenOperation','getUnitId','updateLayoutConfig','PaperType','1124288RDtjTx','BeforeSheetPrintCanceled','_injector','FRange','CancelSheetPrintOperation','4igZvXT','3275520IuUsXx','registerEventHandler'];_0x30c0=function(){return _0x4efacb;};return _0x30c0();}
|