@univerjs-pro/sheets-print 0.21.0 → 0.21.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 _0x92f4e4=_0x180a;(function(_0x1d8e7d,_0x571bbd){const _0x37fbbc=_0x180a,_0x2101b8=_0x1d8e7d();while(!![]){try{const _0x573728=parseInt(_0x37fbbc(0xc6))/0x1+-parseInt(_0x37fbbc(0xac))/0x2+-parseInt(_0x37fbbc(0xa6))/0x3+parseInt(_0x37fbbc(0x92))/0x4*(parseInt(_0x37fbbc(0xb3))/0x5)+-parseInt(_0x37fbbc(0x8f))/0x6*(-parseInt(_0x37fbbc(0xd2))/0x7)+-parseInt(_0x37fbbc(0xbd))/0x8*(parseInt(_0x37fbbc(0x9f))/0x9)+-parseInt(_0x37fbbc(0x9a))/0xa*(parseInt(_0x37fbbc(0xbf))/0xb);if(_0x573728===_0x571bbd)break;else _0x2101b8['push'](_0x2101b8['shift']());}catch(_0x47db3b){_0x2101b8['push'](_0x2101b8['shift']());}}}(_0xc2aa,0x55dda));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[_0x92f4e4(0xd0)]{[_0x92f4e4(0xbb)](_0x34ba50){const _0x37b10a=_0x92f4e4;return this[_0x37b10a(0xa8)][_0x37b10a(0xa1)](_univerjs_pro_sheets_print['ISheetPrintManagerService'])[_0x37b10a(0x95)](_0x34ba50),this;}[_0x92f4e4(0x9d)](_0x94f48b){const _0x563498=_0x92f4e4;return this[_0x563498(0xa8)]['get'](_univerjs_pro_sheets_print[_0x563498(0xc5)])[_0x563498(0xaa)](_0x94f48b),this;}[_0x92f4e4(0xb2)](){const _0x27d52c=_0x92f4e4;return this[_0x27d52c(0xa8)][_0x27d52c(0xa1)](_univerjs_core['ICommandService'])[_0x27d52c(0xa3)](_univerjs_pro_sheets_print['ConfirmSheetPrintOperation']['id']);}[_0x92f4e4(0xab)](){const _0x37e65f=_0x92f4e4;return this['_injector'][_0x37e65f(0xa1)](_univerjs_core['ICommandService'])[_0x37e65f(0xa3)](_univerjs_pro_sheets_print[_0x37e65f(0xcf)]['id']);}[_0x92f4e4(0x9c)](){const _0x4df6c1=_0x92f4e4;return this['_injector'][_0x4df6c1(0xa1)](_univerjs_core[_0x4df6c1(0xa9)])[_0x4df6c1(0xa3)](_univerjs_pro_sheets_print[_0x4df6c1(0x8d)]['id']);}async[_0x92f4e4(0xc3)](){const _0x5c3e42=_0x92f4e4;if(!(0x0,_univerjs_pro_sheets_print[_0x5c3e42(0x94)])(this[_0x5c3e42(0xa8)]))return![];return this['_injector']['get'](_univerjs_core['ICommandService'])[_0x5c3e42(0x99)](_univerjs_pro_sheets_print[_0x5c3e42(0xa7)]['id']);}};function _0xc2aa(){const _0x45a837=['ICommandService','updateRenderConfig','openPrintDialog','344118lBJHaO','getActiveUniverSheet','FRange','_worksheet','disposeWithMe','BeforeSheetPrintOpen','print','49870kVfgBE','beforeCommandExecuted','FUniver','PrintDirection','PrintArea','PrintFreeze','CanceledError','PrintScale','updatePrintConfig','SheetPrintOpen','64568lycufS','includeHeaders','25883yqRzrr','PrintHeaderFooter','PrintPaperMargin','getActiveSheet','saveScreenshotToClipboard','onCommandExecuted','ISheetPrintManagerService','416629fHNaaf','PrintHeaderFooterSymbol','FEnum','BeforeSheetPrintConfirm','ConfirmSheetPrintOperation','renderConfig','fireEvent','PrintAlign','SheetPrintCanceled','SheetPrintOpenOperation','FWorkbook','SheetPrintConfirmed','105ZXJDzg','PaperType','CancelSheetPrintOperation','cancel','280338NijdcR','_range','layoutConfig','12byMmja','getScreenshot','hasPrintFacadePermission','updateLayoutConfig','registerEventHandler','FEventName','getSheetId','executeCommand','70AJXwYt','_workbook','closePrintDialog','updatePrintRenderConfig','extend','459TTDdHF','BeforeSheetPrintCanceled','get','getUnitId','syncExecuteCommand','Event','getRangeImage','586617EHfhnQ','SheetScreenShotOperation','_injector'];_0xc2aa=function(){return _0x45a837;};return _0xc2aa();}_univerjs_sheets_facade[_0x92f4e4(0xd0)]['extend'](FWorkbookSheetsPrintMixin);var FRangeSheetsPrint=class extends _univerjs_sheets_facade[_0x92f4e4(0xae)]{[_0x92f4e4(0x93)](_0x13ff02){const _0x567149=_0x92f4e4;if(!(0x0,_univerjs_pro_sheets_print[_0x567149(0x94)])(this[_0x567149(0xa8)]))return![];return this['_injector']['get'](_univerjs_pro_sheets_print['SheetPrintClientService'])[_0x567149(0xa5)](this[_0x567149(0x9b)][_0x567149(0xa2)](),this[_0x567149(0xaf)][_0x567149(0x98)](),this[_0x567149(0x90)],_0x13ff02===null||_0x13ff02===void 0x0?void 0x0:_0x13ff02[_0x567149(0xbe)]);}};_univerjs_sheets_facade['FRange'][_0x92f4e4(0x9e)](FRangeSheetsPrint);function _0x180a(_0x5800f3,_0x31c647){_0x5800f3=_0x5800f3-0x8c;const _0xc2aaac=_0xc2aa();let _0x180a33=_0xc2aaac[_0x5800f3];return _0x180a33;}var FSheetsPrintEventNameMixin=class extends _univerjs_core_facade['FEventName']{get[_0x92f4e4(0xb1)](){const _0x55effe=_0x92f4e4;return _0x55effe(0xb1);}get[_0x92f4e4(0xc9)](){const _0x55d7a8=_0x92f4e4;return _0x55d7a8(0xc9);}get[_0x92f4e4(0xa0)](){const _0x105c7f=_0x92f4e4;return _0x105c7f(0xa0);}get[_0x92f4e4(0xbc)](){const _0x21f4f8=_0x92f4e4;return _0x21f4f8(0xbc);}get['SheetPrintConfirmed'](){const _0x4c6a15=_0x92f4e4;return _0x4c6a15(0xd1);}get[_0x92f4e4(0xce)](){const _0x479861=_0x92f4e4;return _0x479861(0xce);}};_univerjs_core_facade[_0x92f4e4(0x97)][_0x92f4e4(0x9e)](FSheetsPrintEventNameMixin);var FSheetsPrintEnumMixin=class extends _univerjs_core_facade['FEnum']{get[_0x92f4e4(0xb7)](){const _0x4bb681=_0x92f4e4;return _univerjs_pro_sheets_print[_0x4bb681(0xb7)];}get[_0x92f4e4(0xcd)](){const _0x1b9c0a=_0x92f4e4;return _univerjs_pro_print[_0x1b9c0a(0xcd)];}get['PrintPaperSize'](){const _0x38cd37=_0x92f4e4;return _univerjs_core[_0x38cd37(0x8c)];}get[_0x92f4e4(0xc1)](){const _0x991a3f=_0x92f4e4;return _univerjs_pro_print[_0x991a3f(0xc1)];}get[_0x92f4e4(0xba)](){const _0x12f80e=_0x92f4e4;return _univerjs_pro_print[_0x12f80e(0xba)];}get[_0x92f4e4(0xb6)](){const _0x4f6f96=_0x92f4e4;return _univerjs_pro_print[_0x4f6f96(0xb6)];}get[_0x92f4e4(0xb8)](){const _0x64aa3a=_0x92f4e4;return _univerjs_pro_sheets_print[_0x64aa3a(0xb8)];}get[_0x92f4e4(0xc0)](){const _0x5e6c58=_0x92f4e4;return _univerjs_pro_sheets_print[_0x5e6c58(0xc0)];}get[_0x92f4e4(0xc7)](){const _0x3d43b5=_0x92f4e4;return _univerjs_pro_sheets_print[_0x3d43b5(0xc7)];}};_univerjs_core_facade[_0x92f4e4(0xc8)][_0x92f4e4(0x9e)](FSheetsPrintEnumMixin);var FUniverSheetsPrintMixin=class extends _univerjs_core_facade[_0x92f4e4(0xb5)]{['_initialize'](_0x4b37e9){const _0x4f04b5=_0x92f4e4,_0x403dec=_0x4b37e9[_0x4f04b5(0xa1)](_univerjs_core[_0x4f04b5(0xa9)]);this['disposeWithMe'](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xb1)],()=>_0x403dec['beforeCommandExecuted'](_0x156141=>{const _0x56b594=_0x4f04b5;if(_0x156141['id']===_univerjs_pro_sheets_print[_0x56b594(0xcf)]['id']){const _0x540d92=this[_0x56b594(0xad)]();if(!_0x540d92)return;const _0x5292a2={'workbook':_0x540d92,'worksheet':_0x540d92['getActiveSheet']()};if(_0x5292a2==null)return;this[_0x56b594(0xcc)](this[_0x56b594(0xa4)][_0x56b594(0xb1)],_0x5292a2);if(_0x5292a2[_0x56b594(0x8e)])throw new _univerjs_core['CanceledError']();}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xc9)],()=>_0x403dec[_0x4f04b5(0xb4)](_0x47a32d=>{const _0x695296=_0x4f04b5;if(_0x47a32d['id']===_univerjs_pro_sheets_print[_0x695296(0xca)]['id']){const _0x5f0943=_0x4b37e9[_0x695296(0xa1)](_univerjs_pro_sheets_print[_0x695296(0xc5)]);if(!this[_0x695296(0xad)]())return;const _0x5baf4c={'layoutConfig':_0x5f0943[_0x695296(0x91)],'renderConfig':_0x5f0943[_0x695296(0xcb)]};if(_0x5baf4c==null)return;this[_0x695296(0xcc)](this['Event']['BeforeSheetPrintConfirm'],_0x5baf4c);if(_0x5baf4c[_0x695296(0x8e)])throw new _univerjs_core['CanceledError']();}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xa0)],()=>_0x403dec['beforeCommandExecuted'](_0xb9dc01=>{const _0x30f48a=_0x4f04b5;if(_0xb9dc01['id']===_univerjs_pro_sheets_print['CancelSheetPrintOperation']['id']){const _0x15ecbb=_0x4b37e9[_0x30f48a(0xa1)](_univerjs_pro_sheets_print['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x481cbf={'layoutConfig':_0x15ecbb['layoutConfig'],'renderConfig':_0x15ecbb[_0x30f48a(0xcb)]};if(_0x481cbf==null)return;this[_0x30f48a(0xcc)](this[_0x30f48a(0xa4)][_0x30f48a(0xa0)],_0x481cbf);if(_0x481cbf[_0x30f48a(0x8e)])throw new _univerjs_core[(_0x30f48a(0xb9))]();}}))),this[_0x4f04b5(0xb0)](this['registerEventHandler'](this[_0x4f04b5(0xa4)][_0x4f04b5(0xbc)],()=>_0x403dec['onCommandExecuted'](_0x436a86=>{const _0xda7cbf=_0x4f04b5;if(_0x436a86['id']===_univerjs_pro_sheets_print[_0xda7cbf(0xcf)]['id']){const _0x354642=this['getActiveUniverSheet']();if(!_0x354642)return;const _0x199cee={'workbook':_0x354642,'worksheet':_0x354642[_0xda7cbf(0xc2)]()};if(_0x199cee==null)return;this['fireEvent'](this[_0xda7cbf(0xa4)][_0xda7cbf(0xbc)],_0x199cee);}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this[_0x4f04b5(0xa4)][_0x4f04b5(0xd1)],()=>_0x403dec['onCommandExecuted'](_0x47aa25=>{const _0x5327c0=_0x4f04b5;if(_0x47aa25['id']===_univerjs_pro_sheets_print['ConfirmSheetPrintOperation']['id']){const _0x20f0bc=_0x4b37e9['get'](_univerjs_pro_sheets_print[_0x5327c0(0xc5)]);if(!this[_0x5327c0(0xad)]())return;const _0x1f4284={'layoutConfig':_0x20f0bc['layoutConfig'],'renderConfig':_0x20f0bc[_0x5327c0(0xcb)]};if(_0x1f4284==null)return;this[_0x5327c0(0xcc)](this[_0x5327c0(0xa4)][_0x5327c0(0xd1)],_0x1f4284);}}))),this[_0x4f04b5(0xb0)](this[_0x4f04b5(0x96)](this['Event'][_0x4f04b5(0xce)],()=>_0x403dec[_0x4f04b5(0xc4)](_0x26535b=>{const _0x4c5a03=_0x4f04b5;if(_0x26535b['id']===_univerjs_pro_sheets_print[_0x4c5a03(0x8d)]['id']){const _0x16249e=_0x4b37e9[_0x4c5a03(0xa1)](_univerjs_pro_sheets_print[_0x4c5a03(0xc5)]);if(!this[_0x4c5a03(0xad)]())return;const _0x241658={'layoutConfig':_0x16249e[_0x4c5a03(0x91)],'renderConfig':_0x16249e[_0x4c5a03(0xcb)]};if(_0x241658==null)return;this[_0x4c5a03(0xcc)](this[_0x4c5a03(0xa4)][_0x4c5a03(0xce)],_0x241658);}})));}};_univerjs_core_facade['FUniver'][_0x92f4e4(0x9e)](FUniverSheetsPrintMixin);
|