@univerjs-pro/sheets-print 0.25.0 → 0.25.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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x34f0(){const _0x2e2848=['getSheetId','amd','FRange','beforeCommandExecuted','PrintHeaderFooterSymbol','extend','closePrintDialog','_injector','syncExecuteCommand','updateRenderConfig','SheetPrintCanceled','_workbook','function','updatePrintRenderConfig','14481yyJPcH','8048691RbOvcp','PrintScale','@univerjs-pro/sheets-print','SheetPrintOpenOperation','3506505kSjLvb','getActiveUniverSheet','renderConfig','PrintDirection','CancelSheetPrintOperation','saveScreenshotToClipboard','@univerjs-pro/print','openPrintDialog','registerEventHandler','BeforeSheetPrintCanceled','SheetPrintOpen','1195665xTjEmo','PrintHeaderFooter','BeforeSheetPrintConfirm','cancel','_initialize','4584ksZMVn','FWorkbook','12xWsrza','7998672fsHVOe','ICommandService','ISheetPrintManagerService','SheetScreenShotOperation','1833726MWhGRg','SheetPrintConfirmed','PrintFreeze','PaperType','updatePrintConfig','1039908HjdEQc','layoutConfig','CanceledError','Event','FEventName','disposeWithMe','fireEvent','hasPrintFacadePermission','UniverSheetsFacade','UniverCore','PrintAlign','UniverProSheetsPrint','getRangeImage','_range','@univerjs/sheets/facade','getActiveSheet','ConfirmSheetPrintOperation','FUniver','PrintArea','get','PrintPaperMargin','onCommandExecuted','FEnum','BeforeSheetPrintOpen','getUnitId','PrintPaperSize','includeHeaders','executeCommand'];_0x34f0=function(){return _0x2e2848;};return _0x34f0();}function _0x41ef(_0x579d9d,_0x29345b){_0x579d9d=_0x579d9d-0x8b;const _0x34f0d6=_0x34f0();let _0x41ef3f=_0x34f0d6[_0x579d9d];return _0x41ef3f;}(function(_0x4dd7e2,_0x573d54){const _0x1ade33=_0x41ef,_0x51a1c1=_0x4dd7e2();while(!![]){try{const _0x468ea2=-parseInt(_0x1ade33(0xb6))/0x1+-parseInt(_0x1ade33(0xb1))/0x2+parseInt(_0x1ade33(0x9a))/0x3+parseInt(_0x1ade33(0xac))/0x4*(parseInt(_0x1ade33(0xa5))/0x5)+-parseInt(_0x1ade33(0xad))/0x6+parseInt(_0x1ade33(0x96))/0x7+-parseInt(_0x1ade33(0xaa))/0x8*(-parseInt(_0x1ade33(0x95))/0x9);if(_0x468ea2===_0x573d54)break;else _0x51a1c1['push'](_0x51a1c1['shift']());}catch(_0x35a546){_0x51a1c1['push'](_0x51a1c1['shift']());}}}(_0x34f0,0xa31d9),function(_0x7b9ecc,_0x3b5c8c){const _0x1161b3=_0x41ef;typeof exports=='object'&&typeof module<'u'?_0x3b5c8c(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x1161b3(0x93)&&define[_0x1161b3(0xd3)]?define([_0x1161b3(0x98),'@univerjs/core',_0x1161b3(0xc4),'@univerjs/core/facade',_0x1161b3(0xa0)],_0x3b5c8c):(_0x7b9ecc=typeof globalThis<'u'?globalThis:_0x7b9ecc||self,_0x3b5c8c(_0x7b9ecc[_0x1161b3(0xc1)],_0x7b9ecc[_0x1161b3(0xbf)],_0x7b9ecc[_0x1161b3(0xbe)],_0x7b9ecc['UniverCoreFacade'],_0x7b9ecc['UniverProPrint']));}(this,function(_0x45ce98,_0x36151e,_0x33971a,_0x3bf42f,_0x1f6a55){const _0x3a5ffd=_0x41ef;var _0x13a586=class extends _0x33971a['FWorkbook']{[_0x3a5ffd(0xb5)](_0x53d0ff){const _0xb3722d=_0x3a5ffd;return this[_0xb3722d(0x8e)][_0xb3722d(0xc9)](_0x45ce98[_0xb3722d(0xaf)])['updateLayoutConfig'](_0x53d0ff),this;}[_0x3a5ffd(0x94)](_0x85a2ae){const _0x1af247=_0x3a5ffd;return this[_0x1af247(0x8e)]['get'](_0x45ce98['ISheetPrintManagerService'])[_0x1af247(0x90)](_0x85a2ae),this;}['print'](){const _0x15ea4f=_0x3a5ffd;return this[_0x15ea4f(0x8e)]['get'](_0x36151e[_0x15ea4f(0xae)])[_0x15ea4f(0x8f)](_0x45ce98[_0x15ea4f(0xc6)]['id']);}[_0x3a5ffd(0xa1)](){const _0xe941a0=_0x3a5ffd;return this[_0xe941a0(0x8e)][_0xe941a0(0xc9)](_0x36151e[_0xe941a0(0xae)])[_0xe941a0(0x8f)](_0x45ce98[_0xe941a0(0x99)]['id']);}[_0x3a5ffd(0x8d)](){const _0x4e0ad0=_0x3a5ffd;return this[_0x4e0ad0(0x8e)][_0x4e0ad0(0xc9)](_0x36151e[_0x4e0ad0(0xae)])[_0x4e0ad0(0x8f)](_0x45ce98[_0x4e0ad0(0x9e)]['id']);}async[_0x3a5ffd(0x9f)](){const _0x220a20=_0x3a5ffd;return(0x0,_0x45ce98[_0x220a20(0xbd)])(this[_0x220a20(0x8e)])?this['_injector'][_0x220a20(0xc9)](_0x36151e[_0x220a20(0xae)])[_0x220a20(0xd1)](_0x45ce98[_0x220a20(0xb0)]['id']):!0x1;}};_0x33971a[_0x3a5ffd(0xab)][_0x3a5ffd(0x8c)](_0x13a586);var _0x48f627=class extends _0x33971a[_0x3a5ffd(0xd4)]{['getScreenshot'](_0x250aa1){const _0xc630f2=_0x3a5ffd;return(0x0,_0x45ce98[_0xc630f2(0xbd)])(this[_0xc630f2(0x8e)])?this['_injector'][_0xc630f2(0xc9)](_0x45ce98['SheetPrintClientService'])[_0xc630f2(0xc2)](this[_0xc630f2(0x92)][_0xc630f2(0xce)](),this['_worksheet'][_0xc630f2(0xd2)](),this[_0xc630f2(0xc3)],_0x250aa1==null?void 0x0:_0x250aa1[_0xc630f2(0xd0)]):!0x1;}};_0x33971a[_0x3a5ffd(0xd4)][_0x3a5ffd(0x8c)](_0x48f627);var _0x36250b=class extends _0x3bf42f[_0x3a5ffd(0xba)]{get[_0x3a5ffd(0xcd)](){const _0x1af3fd=_0x3a5ffd;return _0x1af3fd(0xcd);}get[_0x3a5ffd(0xa7)](){const _0x3f64c1=_0x3a5ffd;return _0x3f64c1(0xa7);}get[_0x3a5ffd(0xa3)](){const _0x5ba741=_0x3a5ffd;return _0x5ba741(0xa3);}get['SheetPrintOpen'](){const _0x5f3771=_0x3a5ffd;return _0x5f3771(0xa4);}get[_0x3a5ffd(0xb2)](){const _0x469031=_0x3a5ffd;return _0x469031(0xb2);}get[_0x3a5ffd(0x91)](){const _0x2e51bf=_0x3a5ffd;return _0x2e51bf(0x91);}};_0x3bf42f[_0x3a5ffd(0xba)][_0x3a5ffd(0x8c)](_0x36250b);var _0x137831=class extends _0x3bf42f[_0x3a5ffd(0xcc)]{get[_0x3a5ffd(0xc8)](){const _0x5b8b56=_0x3a5ffd;return _0x45ce98[_0x5b8b56(0xc8)];}get[_0x3a5ffd(0xc0)](){const _0x540ca7=_0x3a5ffd;return _0x1f6a55[_0x540ca7(0xc0)];}get[_0x3a5ffd(0xcf)](){const _0x27c612=_0x3a5ffd;return _0x36151e[_0x27c612(0xb4)];}get[_0x3a5ffd(0xca)](){const _0x550550=_0x3a5ffd;return _0x1f6a55[_0x550550(0xca)];}get[_0x3a5ffd(0x97)](){return _0x1f6a55['PrintScale'];}get[_0x3a5ffd(0x9d)](){const _0x5a5ccb=_0x3a5ffd;return _0x1f6a55[_0x5a5ccb(0x9d)];}get[_0x3a5ffd(0xb3)](){const _0x144f82=_0x3a5ffd;return _0x45ce98[_0x144f82(0xb3)];}get[_0x3a5ffd(0xa6)](){const _0x24b6d6=_0x3a5ffd;return _0x45ce98[_0x24b6d6(0xa6)];}get[_0x3a5ffd(0x8b)](){const _0x4f36f1=_0x3a5ffd;return _0x45ce98[_0x4f36f1(0x8b)];}};_0x3bf42f['FEnum'][_0x3a5ffd(0x8c)](_0x137831);var _0x36d928=class extends _0x3bf42f['FUniver']{[_0x3a5ffd(0xa9)](_0x4b3c54){const _0x10974e=_0x3a5ffd;let _0x12ec90=_0x4b3c54[_0x10974e(0xc9)](_0x36151e[_0x10974e(0xae)]);this[_0x10974e(0xbb)](this['registerEventHandler'](this[_0x10974e(0xb9)]['BeforeSheetPrintOpen'],()=>_0x12ec90[_0x10974e(0xd5)](_0x47d7c3=>{const _0x3c2548=_0x10974e;if(_0x47d7c3['id']===_0x45ce98[_0x3c2548(0x99)]['id']){let _0x388ee4=this['getActiveUniverSheet']();if(!_0x388ee4)return;let _0x59c7f2={'workbook':_0x388ee4,'worksheet':_0x388ee4[_0x3c2548(0xc5)]()};if(_0x59c7f2==null)return;if(this[_0x3c2548(0xbc)](this[_0x3c2548(0xb9)][_0x3c2548(0xcd)],_0x59c7f2),_0x59c7f2[_0x3c2548(0xa8)])throw new _0x36151e[(_0x3c2548(0xb8))]();}}))),this['disposeWithMe'](this[_0x10974e(0xa2)](this[_0x10974e(0xb9)][_0x10974e(0xa7)],()=>_0x12ec90[_0x10974e(0xd5)](_0x328f4d=>{const _0x237033=_0x10974e;if(_0x328f4d['id']===_0x45ce98[_0x237033(0xc6)]['id']){let _0xf9a56c=_0x4b3c54['get'](_0x45ce98[_0x237033(0xaf)]);if(!this['getActiveUniverSheet']())return;let _0x383d02={'layoutConfig':_0xf9a56c[_0x237033(0xb7)],'renderConfig':_0xf9a56c[_0x237033(0x9c)]};if(_0x383d02==null)return;if(this[_0x237033(0xbc)](this[_0x237033(0xb9)][_0x237033(0xa7)],_0x383d02),_0x383d02[_0x237033(0xa8)])throw new _0x36151e['CanceledError']();}}))),this['disposeWithMe'](this[_0x10974e(0xa2)](this['Event'][_0x10974e(0xa3)],()=>_0x12ec90[_0x10974e(0xd5)](_0xbe1920=>{const _0x36a4c5=_0x10974e;if(_0xbe1920['id']===_0x45ce98[_0x36a4c5(0x9e)]['id']){let _0x25c06a=_0x4b3c54[_0x36a4c5(0xc9)](_0x45ce98['ISheetPrintManagerService']);if(!this[_0x36a4c5(0x9b)]())return;let _0x76206e={'layoutConfig':_0x25c06a[_0x36a4c5(0xb7)],'renderConfig':_0x25c06a[_0x36a4c5(0x9c)]};if(_0x76206e==null)return;if(this[_0x36a4c5(0xbc)](this[_0x36a4c5(0xb9)]['BeforeSheetPrintCanceled'],_0x76206e),_0x76206e[_0x36a4c5(0xa8)])throw new _0x36151e[(_0x36a4c5(0xb8))]();}}))),this[_0x10974e(0xbb)](this['registerEventHandler'](this['Event'][_0x10974e(0xa4)],()=>_0x12ec90[_0x10974e(0xcb)](_0x3d9c79=>{const _0x26e319=_0x10974e;if(_0x3d9c79['id']===_0x45ce98[_0x26e319(0x99)]['id']){let _0x1bfe30=this[_0x26e319(0x9b)]();if(!_0x1bfe30)return;let _0x98e4a1={'workbook':_0x1bfe30,'worksheet':_0x1bfe30[_0x26e319(0xc5)]()};if(_0x98e4a1==null)return;this[_0x26e319(0xbc)](this['Event'][_0x26e319(0xa4)],_0x98e4a1);}}))),this[_0x10974e(0xbb)](this[_0x10974e(0xa2)](this[_0x10974e(0xb9)]['SheetPrintConfirmed'],()=>_0x12ec90[_0x10974e(0xcb)](_0x4439d1=>{const _0x22a90b=_0x10974e;if(_0x4439d1['id']===_0x45ce98[_0x22a90b(0xc6)]['id']){let _0x5e1289=_0x4b3c54['get'](_0x45ce98[_0x22a90b(0xaf)]);if(!this['getActiveUniverSheet']())return;let _0xe2c0d={'layoutConfig':_0x5e1289['layoutConfig'],'renderConfig':_0x5e1289[_0x22a90b(0x9c)]};if(_0xe2c0d==null)return;this[_0x22a90b(0xbc)](this[_0x22a90b(0xb9)][_0x22a90b(0xb2)],_0xe2c0d);}}))),this[_0x10974e(0xbb)](this[_0x10974e(0xa2)](this[_0x10974e(0xb9)][_0x10974e(0x91)],()=>_0x12ec90['onCommandExecuted'](_0x554e78=>{const _0x151fe7=_0x10974e;if(_0x554e78['id']===_0x45ce98[_0x151fe7(0x9e)]['id']){let _0x525f5e=_0x4b3c54['get'](_0x45ce98[_0x151fe7(0xaf)]);if(!this[_0x151fe7(0x9b)]())return;let _0xc06afb={'layoutConfig':_0x525f5e['layoutConfig'],'renderConfig':_0x525f5e[_0x151fe7(0x9c)]};if(_0xc06afb==null)return;this[_0x151fe7(0xbc)](this[_0x151fe7(0xb9)][_0x151fe7(0x91)],_0xc06afb);}})));}};_0x3bf42f[_0x3a5ffd(0xc7)][_0x3a5ffd(0x8c)](_0x36d928);}));
|