@univerjs-pro/sheets-print 1.0.3 → 1.0.4
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 +13 -13
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x228eb2,_0x44e3a8){const _0x1f4bef=_0x5cf2,_0x275db6=_0x228eb2();while(!![]){try{const _0x3e812b=-parseInt(_0x1f4bef(0x202))/0x1+parseInt(_0x1f4bef(0x229))/0x2+parseInt(_0x1f4bef(0x1f9))/0x3+parseInt(_0x1f4bef(0x20f))/0x4*(-parseInt(_0x1f4bef(0x219))/0x5)+-parseInt(_0x1f4bef(0x22d))/0x6*(parseInt(_0x1f4bef(0x22b))/0x7)+parseInt(_0x1f4bef(0x217))/0x8*(-parseInt(_0x1f4bef(0x21d))/0x9)+parseInt(_0x1f4bef(0x222))/0xa;if(_0x3e812b===_0x44e3a8)break;else _0x275db6['push'](_0x275db6['shift']());}catch(_0x4acc6e){_0x275db6['push'](_0x275db6['shift']());}}}(_0x3dfd,0xbc7dd),function(_0x133703,_0x2d6efd){const _0x45e8d1=_0x5cf2;typeof exports=='object'&&typeof module<'u'?_0x2d6efd(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x45e8d1(0x211)&&define[_0x45e8d1(0x203)]?define(['@univerjs-pro/sheets-print',_0x45e8d1(0x238),_0x45e8d1(0x208),_0x45e8d1(0x22f),_0x45e8d1(0x21e)],_0x2d6efd):(_0x133703=typeof globalThis<'u'?globalThis:_0x133703||self,_0x2d6efd(_0x133703['UniverProSheetsPrint'],_0x133703[_0x45e8d1(0x20c)],_0x133703[_0x45e8d1(0x20e)],_0x133703[_0x45e8d1(0x21a)],_0x133703[_0x45e8d1(0x23b)]));}(this,function(_0x5a3032,_0x4248ab,_0x473d4c,_0x317281,_0x110f21){const _0x3aa06e=_0x5cf2;var _0x159838=class extends _0x473d4c[_0x3aa06e(0x205)]{[_0x3aa06e(0x235)](_0x37aa43){const _0x15b60d=_0x3aa06e;return this[_0x15b60d(0x228)][_0x15b60d(0x227)](_0x5a3032[_0x15b60d(0x1f7)])[_0x15b60d(0x210)](_0x37aa43),this;}['updatePrintRenderConfig'](_0x56fee3){const _0x20f252=_0x3aa06e;return this['_injector'][_0x20f252(0x227)](_0x5a3032[_0x20f252(0x1f7)])[_0x20f252(0x212)](_0x56fee3),this;}[_0x3aa06e(0x200)](){const _0x17677e=_0x3aa06e;return this[_0x17677e(0x228)]['get'](_0x4248ab[_0x17677e(0x218)])[_0x17677e(0x224)](_0x5a3032[_0x17677e(0x1f5)]['id']);}['openPrintDialog'](){const _0x523470=_0x3aa06e;return this[_0x523470(0x228)]['get'](_0x4248ab['ICommandService'])[_0x523470(0x224)](_0x5a3032[_0x523470(0x236)]['id']);}['closePrintDialog'](){const _0xd54681=_0x3aa06e;return this['_injector'][_0xd54681(0x227)](_0x4248ab[_0xd54681(0x218)])['syncExecuteCommand'](_0x5a3032['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x3755db=_0x3aa06e;return(0x0,_0x5a3032[_0x3755db(0x1fb)])(this[_0x3755db(0x228)])?this[_0x3755db(0x228)]['get'](_0x4248ab['ICommandService'])[_0x3755db(0x20a)](_0x5a3032['SheetScreenShotOperation']['id']):!0x1;}};_0x473d4c[_0x3aa06e(0x205)]['extend'](_0x159838);var _0x4b39b4=class extends _0x473d4c[_0x3aa06e(0x22c)]{[_0x3aa06e(0x21b)](_0x447f1){const _0x3a43ba=_0x3aa06e;return(0x0,_0x5a3032['hasPrintFacadePermission'])(this[_0x3a43ba(0x228)])?this[_0x3a43ba(0x228)][_0x3a43ba(0x227)](_0x5a3032['SheetPrintClientService'])[_0x3a43ba(0x1fc)](this['_workbook']['getUnitId'](),this[_0x3a43ba(0x206)]['getSheetId'](),this[_0x3a43ba(0x223)],_0x447f1==null?void 0x0:_0x447f1[_0x3a43ba(0x220)]):!0x1;}};_0x473d4c['FRange']['extend'](_0x4b39b4);var _0x223c0e=class extends _0x317281[_0x3aa06e(0x209)]{get[_0x3aa06e(0x226)](){const _0x78cca9=_0x3aa06e;return _0x78cca9(0x226);}get[_0x3aa06e(0x1f8)](){const _0x106f4f=_0x3aa06e;return _0x106f4f(0x1f8);}get[_0x3aa06e(0x201)](){const _0x1b0857=_0x3aa06e;return _0x1b0857(0x201);}get[_0x3aa06e(0x23c)](){return'SheetPrintOpen';}get['SheetPrintConfirmed'](){const _0x1c105b=_0x3aa06e;return _0x1c105b(0x23a);}get[_0x3aa06e(0x1f4)](){const _0x2bf61c=_0x3aa06e;return _0x2bf61c(0x1f4);}};_0x317281[_0x3aa06e(0x209)][_0x3aa06e(0x216)](_0x223c0e);var _0x1866ce=class extends _0x317281[_0x3aa06e(0x239)]{get[_0x3aa06e(0x1fa)](){const _0x127b78=_0x3aa06e;return _0x5a3032[_0x127b78(0x1fa)];}get[_0x3aa06e(0x237)](){const _0x66fc0d=_0x3aa06e;return _0x110f21[_0x66fc0d(0x237)];}get['PrintPaperSize'](){const _0x565ba5=_0x3aa06e;return _0x4248ab[_0x565ba5(0x1fe)];}get[_0x3aa06e(0x207)](){const _0x27e7d2=_0x3aa06e;return _0x110f21[_0x27e7d2(0x207)];}get[_0x3aa06e(0x230)](){const _0x1b314d=_0x3aa06e;return _0x110f21[_0x1b314d(0x230)];}get[_0x3aa06e(0x225)](){const _0x446d44=_0x3aa06e;return _0x110f21[_0x446d44(0x225)];}get['PrintFreeze'](){const _0x45b387=_0x3aa06e;return _0x5a3032[_0x45b387(0x221)];}get[_0x3aa06e(0x20d)](){const _0x2508f0=_0x3aa06e;return _0x5a3032[_0x2508f0(0x20d)];}get[_0x3aa06e(0x213)](){const _0x164f4b=_0x3aa06e;return _0x5a3032[_0x164f4b(0x213)];}};_0x317281[_0x3aa06e(0x239)]['extend'](_0x1866ce);var _0x2369e3=class extends _0x317281[_0x3aa06e(0x22e)]{[_0x3aa06e(0x233)](_0x1eab81){const _0x3a2d1a=_0x3aa06e;let _0x19a7ad=_0x1eab81[_0x3a2d1a(0x227)](_0x4248ab['ICommandService']);this['disposeWithMe'](this[_0x3a2d1a(0x215)](this[_0x3a2d1a(0x1fd)][_0x3a2d1a(0x226)],()=>_0x19a7ad['beforeCommandExecuted'](_0x1b6044=>{const _0x4b9f5e=_0x3a2d1a;if(_0x1b6044['id']===_0x5a3032[_0x4b9f5e(0x236)]['id']){let _0x4d59a0=this[_0x4b9f5e(0x232)]();if(!_0x4d59a0)return;let _0x94107d={'workbook':_0x4d59a0,'worksheet':_0x4d59a0[_0x4b9f5e(0x21f)]()};if(_0x94107d==null)return;if(this[_0x4b9f5e(0x204)](this[_0x4b9f5e(0x1fd)][_0x4b9f5e(0x226)],_0x94107d),_0x94107d[_0x4b9f5e(0x1ff)])throw new _0x4248ab['CanceledError']();}}))),this['disposeWithMe'](this[_0x3a2d1a(0x215)](this['Event'][_0x3a2d1a(0x1f8)],()=>_0x19a7ad[_0x3a2d1a(0x1f6)](_0x369edb=>{const _0x1b4cc4=_0x3a2d1a;if(_0x369edb['id']===_0x5a3032[_0x1b4cc4(0x1f5)]['id']){let _0x498478=_0x1eab81[_0x1b4cc4(0x227)](_0x5a3032[_0x1b4cc4(0x1f7)]);if(!this['getActiveWorkbook']())return;let _0x80a973={'layoutConfig':_0x498478['layoutConfig'],'renderConfig':_0x498478[_0x1b4cc4(0x231)]};if(_0x80a973==null)return;if(this[_0x1b4cc4(0x204)](this['Event'][_0x1b4cc4(0x1f8)],_0x80a973),_0x80a973[_0x1b4cc4(0x1ff)])throw new _0x4248ab[(_0x1b4cc4(0x20b))]();}}))),this[_0x3a2d1a(0x234)](this[_0x3a2d1a(0x215)](this[_0x3a2d1a(0x1fd)]['BeforeSheetPrintCanceled'],()=>_0x19a7ad[_0x3a2d1a(0x1f6)](_0x3cee0a=>{const _0x47f43c=_0x3a2d1a;if(_0x3cee0a['id']===_0x5a3032[_0x47f43c(0x214)]['id']){let _0x59b835=_0x1eab81['get'](_0x5a3032[_0x47f43c(0x1f7)]);if(!this[_0x47f43c(0x232)]())return;let _0x4ed5d5={'layoutConfig':_0x59b835[_0x47f43c(0x21c)],'renderConfig':_0x59b835[_0x47f43c(0x231)]};if(_0x4ed5d5==null)return;if(this[_0x47f43c(0x204)](this['Event']['BeforeSheetPrintCanceled'],_0x4ed5d5),_0x4ed5d5[_0x47f43c(0x1ff)])throw new _0x4248ab[(_0x47f43c(0x20b))]();}}))),this['disposeWithMe'](this[_0x3a2d1a(0x215)](this[_0x3a2d1a(0x1fd)][_0x3a2d1a(0x23c)],()=>_0x19a7ad['onCommandExecuted'](_0x54e687=>{const _0xaf97e4=_0x3a2d1a;if(_0x54e687['id']===_0x5a3032['SheetPrintOpenOperation']['id']){let _0xd4f771=this[_0xaf97e4(0x232)]();if(!_0xd4f771)return;let _0x3bf5c9={'workbook':_0xd4f771,'worksheet':_0xd4f771[_0xaf97e4(0x21f)]()};if(_0x3bf5c9==null)return;this[_0xaf97e4(0x204)](this[_0xaf97e4(0x1fd)][_0xaf97e4(0x23c)],_0x3bf5c9);}}))),this[_0x3a2d1a(0x234)](this[_0x3a2d1a(0x215)](this[_0x3a2d1a(0x1fd)][_0x3a2d1a(0x23a)],()=>_0x19a7ad[_0x3a2d1a(0x22a)](_0x495c8e=>{const _0x395a41=_0x3a2d1a;if(_0x495c8e['id']===_0x5a3032[_0x395a41(0x1f5)]['id']){let _0x474e9a=_0x1eab81[_0x395a41(0x227)](_0x5a3032['ISheetPrintManagerService']);if(!this[_0x395a41(0x232)]())return;let _0x161b04={'layoutConfig':_0x474e9a[_0x395a41(0x21c)],'renderConfig':_0x474e9a['renderConfig']};if(_0x161b04==null)return;this[_0x395a41(0x204)](this[_0x395a41(0x1fd)]['SheetPrintConfirmed'],_0x161b04);}}))),this[_0x3a2d1a(0x234)](this[_0x3a2d1a(0x215)](this['Event'][_0x3a2d1a(0x1f4)],()=>_0x19a7ad[_0x3a2d1a(0x22a)](_0x213b9d=>{const _0x20690b=_0x3a2d1a;if(_0x213b9d['id']===_0x5a3032[_0x20690b(0x214)]['id']){let _0x51776e=_0x1eab81[_0x20690b(0x227)](_0x5a3032['ISheetPrintManagerService']);if(!this[_0x20690b(0x232)]())return;let _0x247a6e={'layoutConfig':_0x51776e[_0x20690b(0x21c)],'renderConfig':_0x51776e[_0x20690b(0x231)]};if(_0x247a6e==null)return;this[_0x20690b(0x204)](this[_0x20690b(0x1fd)]['SheetPrintCanceled'],_0x247a6e);}})));}};_0x317281[_0x3aa06e(0x22e)]['extend'](_0x2369e3);}));function _0x5cf2(_0x265806,_0x82f762){_0x265806=_0x265806-0x1f4;const _0x3dfd42=_0x3dfd();let _0x5cf2f7=_0x3dfd42[_0x265806];return _0x5cf2f7;}function _0x3dfd(){const _0x257b35=['PrintArea','hasPrintFacadePermission','getRangeImage','Event','PaperType','cancel','print','BeforeSheetPrintCanceled','1013721TJKUUB','amd','fireEvent','FWorkbook','_worksheet','PrintPaperMargin','@univerjs/sheets/facade','FEventName','executeCommand','CanceledError','UniverCore','PrintHeaderFooter','UniverSheetsFacade','1954772ZndVXX','updateLayoutConfig','function','updateRenderConfig','PrintHeaderFooterSymbol','CancelSheetPrintOperation','registerEventHandler','extend','389176nkbOwc','ICommandService','15dJWrsO','UniverCoreFacade','getScreenshot','layoutConfig','243MgQFOu','@univerjs-pro/print','getActiveSheet','includeHeaders','PrintFreeze','29254560DtTMZb','_range','syncExecuteCommand','PrintDirection','BeforeSheetPrintOpen','get','_injector','424688WabLgf','onCommandExecuted','64365yDtbbt','FRange','42TEMXaZ','FUniver','@univerjs/core/facade','PrintScale','renderConfig','getActiveWorkbook','_initialize','disposeWithMe','updatePrintConfig','SheetPrintOpenOperation','PrintAlign','@univerjs/core','FEnum','SheetPrintConfirmed','UniverProPrint','SheetPrintOpen','SheetPrintCanceled','ConfirmSheetPrintOperation','beforeCommandExecuted','ISheetPrintManagerService','BeforeSheetPrintConfirm','4475685lOKhQM'];_0x3dfd=function(){return _0x257b35;};return _0x3dfd();}
|