@univerjs-pro/sheets-print 0.15.3 → 0.15.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/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 -0
- 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 -0
- 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.css +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 -0
- 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/types/license/encrypted-func.d.ts +1 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- 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 -0
- 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 +16 -16
- package/lib/types/controllers/const.d.ts +0 -1
- package/lib/types/{common/const.d.ts → license/reverse-mapping.d.ts} +42 -42
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x54a079=_0x4ccb;(function(_0x2aa40d,_0x3ec4f8){const _0x463ac1=_0x4ccb,_0x209ed3=_0x2aa40d();while(!![]){try{const _0x30c4c9=-parseInt(_0x463ac1(0x1cb))/0x1+-parseInt(_0x463ac1(0x1c5))/0x2*(-parseInt(_0x463ac1(0x1bc))/0x3)+parseInt(_0x463ac1(0x1ce))/0x4+-parseInt(_0x463ac1(0x1d0))/0x5+parseInt(_0x463ac1(0x1aa))/0x6*(-parseInt(_0x463ac1(0x19c))/0x7)+parseInt(_0x463ac1(0x19b))/0x8*(-parseInt(_0x463ac1(0x1a4))/0x9)+parseInt(_0x463ac1(0x1c1))/0xa*(parseInt(_0x463ac1(0x1c4))/0xb);if(_0x30c4c9===_0x3ec4f8)break;else _0x209ed3['push'](_0x209ed3['shift']());}catch(_0x577c46){_0x209ed3['push'](_0x209ed3['shift']());}}}(_0x4707,0xadd07));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');class S extends d[_0x54a079(0x1b7)]{[_0x54a079(0x1cd)](_0xd6e021){const _0x547a9c=_0x54a079;return this[_0x547a9c(0x1c9)][_0x547a9c(0x1b8)](e[_0x547a9c(0x1d2)])['updateLayoutConfig'](_0xd6e021),this;}['updatePrintRenderConfig'](_0x3e2a2a){const _0x4179ff=_0x54a079;return this[_0x4179ff(0x1c9)]['get'](e[_0x4179ff(0x1d2)])['updateRenderConfig'](_0x3e2a2a),this;}[_0x54a079(0x1c7)](){const _0x40836f=_0x54a079;return this['_injector'][_0x40836f(0x1b8)](a[_0x40836f(0x1c2)])[_0x40836f(0x1cc)](e['ConfirmSheetPrintOperation']['id']);}[_0x54a079(0x19d)](){const _0x50bf1b=_0x54a079;return this['_injector'][_0x50bf1b(0x1b8)](a['ICommandService'])['syncExecuteCommand'](e[_0x50bf1b(0x1d4)]['id']);}[_0x54a079(0x1ac)](){const _0x5ea59e=_0x54a079;return this[_0x5ea59e(0x1c9)][_0x5ea59e(0x1b8)](a[_0x5ea59e(0x1c2)])['syncExecuteCommand'](e['CancelSheetPrintOperation']['id']);}async[_0x54a079(0x1a7)](){const _0x41e6c1=_0x54a079;return e[_0x41e6c1(0x1b0)](this[_0x41e6c1(0x1c9)])?this[_0x41e6c1(0x1c9)][_0x41e6c1(0x1b8)](a[_0x41e6c1(0x1c2)])[_0x41e6c1(0x1a9)](e[_0x41e6c1(0x1c0)]['id']):!0x1;}}d[_0x54a079(0x1b7)][_0x54a079(0x1d8)](S);class f extends d['FRange']{[_0x54a079(0x1a2)](_0x42304c){const _0x4efc2b=_0x54a079;return e['hasPrintFacadePermission'](this[_0x4efc2b(0x1c9)])?this[_0x4efc2b(0x1c9)][_0x4efc2b(0x1b8)](e[_0x4efc2b(0x1b1)])[_0x4efc2b(0x1dc)](this[_0x4efc2b(0x1d1)][_0x4efc2b(0x1a5)](),this[_0x4efc2b(0x1c6)]['getSheetId'](),this['_range'],_0x42304c==null?void 0x0:_0x42304c[_0x4efc2b(0x1ab)]):!0x1;}}d[_0x54a079(0x1d6)]['extend'](f);class P{get[_0x54a079(0x1bd)](){return'BeforeSheetPrintOpen';}get[_0x54a079(0x1bb)](){const _0x1a2c0e=_0x54a079;return _0x1a2c0e(0x1bb);}get[_0x54a079(0x1b6)](){const _0x5a96cf=_0x54a079;return _0x5a96cf(0x1b6);}get[_0x54a079(0x1a8)](){const _0x79dd76=_0x54a079;return _0x79dd76(0x1a8);}get['SheetPrintConfirmed'](){const _0x4de918=_0x54a079;return _0x4de918(0x19f);}get[_0x54a079(0x19e)](){const _0x3e36b8=_0x54a079;return _0x3e36b8(0x19e);}}g[_0x54a079(0x1a1)][_0x54a079(0x1d8)](P);function _0x4ccb(_0x307a3d,_0xb01353){_0x307a3d=_0x307a3d-0x19a;const _0x4707ed=_0x4707();let _0x4ccb6b=_0x4707ed[_0x307a3d];return _0x4ccb6b;}class u{get[_0x54a079(0x1c3)](){const _0x896413=_0x54a079;return e[_0x896413(0x1c3)];}get[_0x54a079(0x1ca)](){const _0x365cef=_0x54a079;return c[_0x365cef(0x1ca)];}get['PrintPaperSize'](){const _0x552d33=_0x54a079;return a[_0x552d33(0x1a3)];}get[_0x54a079(0x1d9)](){const _0x3308a2=_0x54a079;return c[_0x3308a2(0x1d9)];}get[_0x54a079(0x1db)](){const _0x3bf3f5=_0x54a079;return c[_0x3bf3f5(0x1db)];}get[_0x54a079(0x1d3)](){const _0x34c69c=_0x54a079;return c[_0x34c69c(0x1d3)];}get[_0x54a079(0x1ad)](){const _0x4d8099=_0x54a079;return e[_0x4d8099(0x1ad)];}get['PrintHeaderFooter'](){const _0x10014a=_0x54a079;return e[_0x10014a(0x19a)];}get[_0x54a079(0x1b9)](){return e['PrintHeaderFooterSymbol'];}}g[_0x54a079(0x1ba)]['extend'](u);class l extends g[_0x54a079(0x1b4)]{[_0x54a079(0x1b2)](_0x215b1d){const _0x31c268=_0x54a079,_0x40128b=_0x215b1d[_0x31c268(0x1b8)](a['ICommandService']);this['disposeWithMe'](this[_0x31c268(0x1d5)](this['Event'][_0x31c268(0x1bd)],()=>_0x40128b['beforeCommandExecuted'](_0x2134f8=>{const _0x258457=_0x31c268;if(_0x2134f8['id']===e['SheetPrintOpenOperation']['id']){const _0x3d830c=this[_0x258457(0x1af)]();if(!_0x3d830c)return;const _0x259b24={'workbook':_0x3d830c,'worksheet':_0x3d830c[_0x258457(0x1da)]()};if(_0x259b24==null)return;if(this[_0x258457(0x1cf)](this[_0x258457(0x1b5)][_0x258457(0x1bd)],_0x259b24),_0x259b24['cancel'])throw new a[(_0x258457(0x1bf))]();}}))),this['disposeWithMe'](this[_0x31c268(0x1d5)](this[_0x31c268(0x1b5)][_0x31c268(0x1bb)],()=>_0x40128b['beforeCommandExecuted'](_0x3c204d=>{const _0x57ebdc=_0x31c268;if(_0x3c204d['id']===e[_0x57ebdc(0x1a0)]['id']){const _0x2ab7e4=_0x215b1d[_0x57ebdc(0x1b8)](e[_0x57ebdc(0x1d2)]);if(!this[_0x57ebdc(0x1af)]())return;const _0x4fe54c={'layoutConfig':_0x2ab7e4['layoutConfig'],'renderConfig':_0x2ab7e4[_0x57ebdc(0x1c8)]};if(_0x4fe54c==null)return;if(this[_0x57ebdc(0x1cf)](this[_0x57ebdc(0x1b5)][_0x57ebdc(0x1bb)],_0x4fe54c),_0x4fe54c['cancel'])throw new a['CanceledError']();}}))),this[_0x31c268(0x1b3)](this[_0x31c268(0x1d5)](this[_0x31c268(0x1b5)][_0x31c268(0x1b6)],()=>_0x40128b[_0x31c268(0x1dd)](_0x2a35ef=>{const _0xfe4196=_0x31c268;if(_0x2a35ef['id']===e[_0xfe4196(0x1be)]['id']){const _0x5b4fd4=_0x215b1d[_0xfe4196(0x1b8)](e[_0xfe4196(0x1d2)]);if(!this['getActiveUniverSheet']())return;const _0x1af426={'layoutConfig':_0x5b4fd4['layoutConfig'],'renderConfig':_0x5b4fd4['renderConfig']};if(_0x1af426==null)return;if(this[_0xfe4196(0x1cf)](this['Event'][_0xfe4196(0x1b6)],_0x1af426),_0x1af426[_0xfe4196(0x1d7)])throw new a['CanceledError']();}}))),this[_0x31c268(0x1b3)](this[_0x31c268(0x1d5)](this['Event'][_0x31c268(0x1a8)],()=>_0x40128b['onCommandExecuted'](_0x4678b5=>{const _0x5b84b5=_0x31c268;if(_0x4678b5['id']===e[_0x5b84b5(0x1d4)]['id']){const _0xbdc20a=this[_0x5b84b5(0x1af)]();if(!_0xbdc20a)return;const _0xe608ab={'workbook':_0xbdc20a,'worksheet':_0xbdc20a['getActiveSheet']()};if(_0xe608ab==null)return;this[_0x5b84b5(0x1cf)](this[_0x5b84b5(0x1b5)]['SheetPrintOpen'],_0xe608ab);}}))),this['disposeWithMe'](this[_0x31c268(0x1d5)](this[_0x31c268(0x1b5)][_0x31c268(0x19f)],()=>_0x40128b['onCommandExecuted'](_0x31ce92=>{const _0x28e795=_0x31c268;if(_0x31ce92['id']===e[_0x28e795(0x1a0)]['id']){const _0x32debf=_0x215b1d['get'](e[_0x28e795(0x1d2)]);if(!this['getActiveUniverSheet']())return;const _0x1ae19e={'layoutConfig':_0x32debf[_0x28e795(0x1ae)],'renderConfig':_0x32debf[_0x28e795(0x1c8)]};if(_0x1ae19e==null)return;this['fireEvent'](this[_0x28e795(0x1b5)][_0x28e795(0x19f)],_0x1ae19e);}}))),this[_0x31c268(0x1b3)](this[_0x31c268(0x1d5)](this[_0x31c268(0x1b5)][_0x31c268(0x19e)],()=>_0x40128b[_0x31c268(0x1a6)](_0x5a3ccb=>{const _0x224618=_0x31c268;if(_0x5a3ccb['id']===e[_0x224618(0x1be)]['id']){const _0x1b792e=_0x215b1d['get'](e[_0x224618(0x1d2)]);if(!this[_0x224618(0x1af)]())return;const _0x4a0b5c={'layoutConfig':_0x1b792e['layoutConfig'],'renderConfig':_0x1b792e['renderConfig']};if(_0x4a0b5c==null)return;this[_0x224618(0x1cf)](this[_0x224618(0x1b5)][_0x224618(0x19e)],_0x4a0b5c);}})));}}function _0x4707(){const _0x1ddf71=['407024JtRfFA','fireEvent','3479720Mdosco','_workbook','ISheetPrintManagerService','PrintDirection','SheetPrintOpenOperation','registerEventHandler','FRange','cancel','extend','PrintPaperMargin','getActiveSheet','PrintScale','getRangeImage','beforeCommandExecuted','PrintHeaderFooter','592544hQhqrN','7xgLpTv','openPrintDialog','SheetPrintCanceled','SheetPrintConfirmed','ConfirmSheetPrintOperation','FEventName','getScreenshot','PaperType','36HdiyVE','getUnitId','onCommandExecuted','saveScreenshotToClipboard','SheetPrintOpen','executeCommand','6479166Fhcjac','includeHeaders','closePrintDialog','PrintFreeze','layoutConfig','getActiveUniverSheet','hasPrintFacadePermission','SheetPrintClientService','_initialize','disposeWithMe','FUniver','Event','BeforeSheetPrintCanceled','FWorkbook','get','PrintHeaderFooterSymbol','FEnum','BeforeSheetPrintConfirm','138rCqQoX','BeforeSheetPrintOpen','CancelSheetPrintOperation','CanceledError','SheetScreenShotOperation','50PxUTpK','ICommandService','PrintArea','6073309tGeObz','52754qavdHw','_worksheet','print','renderConfig','_injector','PrintAlign','1291673WjKBZi','syncExecuteCommand','updatePrintConfig'];_0x4707=function(){return _0x1ddf71;};return _0x4707();}g['FUniver'][_0x54a079(0x1d8)](l);
|