@univerjs-pro/sheets-print 0.15.0-insiders.20251227-dafc157 → 0.15.0-insiders.20251227-453e4ff
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/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/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/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +43 -43
- package/lib/types/controllers/const.d.ts +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/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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x433ab6=_0x4b8d;(function(_0x46eb1d,_0x470b2d){const _0x296997=_0x4b8d,_0x418ffc=_0x46eb1d();while(!![]){try{const _0x5e5228=-parseInt(_0x296997(0xa7))/0x1+-parseInt(_0x296997(0xa6))/0x2*(-parseInt(_0x296997(0xc0))/0x3)+-parseInt(_0x296997(0xae))/0x4+parseInt(_0x296997(0xbf))/0x5*(-parseInt(_0x296997(0xb2))/0x6)+-parseInt(_0x296997(0x96))/0x7+parseInt(_0x296997(0x86))/0x8+-parseInt(_0x296997(0xb7))/0x9*(-parseInt(_0x296997(0xa4))/0xa);if(_0x5e5228===_0x470b2d)break;else _0x418ffc['push'](_0x418ffc['shift']());}catch(_0x4174c2){_0x418ffc['push'](_0x418ffc['shift']());}}}(_0xee74,0x27b6a));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[_0x433ab6(0x98)]{[_0x433ab6(0x87)](_0xea5972){const _0x4ac18a=_0x433ab6;return this[_0x4ac18a(0xb8)][_0x4ac18a(0xb5)](e[_0x4ac18a(0xb9)])[_0x4ac18a(0x84)](_0xea5972),this;}['updatePrintRenderConfig'](_0x3ec761){const _0x95637d=_0x433ab6;return this[_0x95637d(0xb8)][_0x95637d(0xb5)](e[_0x95637d(0xb9)])[_0x95637d(0x99)](_0x3ec761),this;}[_0x433ab6(0x9c)](){const _0x31adb3=_0x433ab6;return this[_0x31adb3(0xb8)][_0x31adb3(0xb5)](a['ICommandService'])[_0x31adb3(0xa9)](e[_0x31adb3(0xa5)]['id']);}[_0x433ab6(0x8c)](){const _0x59ab63=_0x433ab6;return this[_0x59ab63(0xb8)][_0x59ab63(0xb5)](a[_0x59ab63(0x9b)])[_0x59ab63(0xa9)](e[_0x59ab63(0x95)]['id']);}[_0x433ab6(0x8d)](){const _0x480644=_0x433ab6;return this[_0x480644(0xb8)][_0x480644(0xb5)](a[_0x480644(0x9b)])[_0x480644(0xa9)](e[_0x480644(0xbe)]['id']);}async['saveScreenshotToClipboard'](){const _0xb996b8=_0x433ab6;return e[_0xb996b8(0xad)](this[_0xb996b8(0xb8)])?this['_injector'][_0xb996b8(0xb5)](a['ICommandService'])['executeCommand'](e[_0xb996b8(0x8f)]['id']):!0x1;}}d[_0x433ab6(0x98)][_0x433ab6(0xab)](S);class f extends d[_0x433ab6(0xaf)]{[_0x433ab6(0x8b)](){const _0x4a7bad=_0x433ab6;return e[_0x4a7bad(0xad)](this[_0x4a7bad(0xb8)])?this[_0x4a7bad(0xb8)][_0x4a7bad(0xb5)](e[_0x4a7bad(0x8e)])[_0x4a7bad(0xbc)](this[_0x4a7bad(0x92)]['getUnitId'](),this[_0x4a7bad(0x94)][_0x4a7bad(0x9f)](),this['_range']):!0x1;}}d[_0x433ab6(0xaf)][_0x433ab6(0xab)](f);function _0x4b8d(_0xb65d79,_0x2a10e5){_0xb65d79=_0xb65d79-0x82;const _0xee7460=_0xee74();let _0x4b8d95=_0xee7460[_0xb65d79];return _0x4b8d95;}class P{get[_0x433ab6(0xa8)](){return'BeforeSheetPrintOpen';}get[_0x433ab6(0xac)](){const _0x5efe9d=_0x433ab6;return _0x5efe9d(0xac);}get[_0x433ab6(0x93)](){const _0x4d5b8e=_0x433ab6;return _0x4d5b8e(0x93);}get[_0x433ab6(0xb1)](){return'SheetPrintOpen';}get[_0x433ab6(0x90)](){const _0x8cd26=_0x433ab6;return _0x8cd26(0x90);}get[_0x433ab6(0x85)](){const _0x5d39cf=_0x433ab6;return _0x5d39cf(0x85);}}function _0xee74(){const _0x15de0d=['10IVzZIK','ConfirmSheetPrintOperation','104IqAJGD','203011mwzuHS','BeforeSheetPrintOpen','syncExecuteCommand','PrintAlign','extend','BeforeSheetPrintConfirm','hasPrintFacadePermission','1151164CuueLd','FRange','PrintHeaderFooter','SheetPrintOpen','1734wzWEhv','PrintScale','getActiveUniverSheet','get','onCommandExecuted','7034634exrCvL','_injector','ISheetPrintManagerService','PrintPaperSize','FUniver','getRangeImage','layoutConfig','CancelSheetPrintOperation','5030Ftrwxc','6909IbPPow','PrintFreeze','PrintArea','PaperType','cancel','updateLayoutConfig','SheetPrintCanceled','1163984BhiQpG','updatePrintConfig','PrintDirection','PrintPaperMargin','fireEvent','getScreenshot','openPrintDialog','closePrintDialog','SheetPrintClientService','SheetScreenShotOperation','SheetPrintConfirmed','_initialize','_workbook','BeforeSheetPrintCanceled','_worksheet','SheetPrintOpenOperation','718746NGKGMW','beforeCommandExecuted','FWorkbook','updateRenderConfig','PrintHeaderFooterSymbol','ICommandService','print','FEnum','Event','getSheetId','FEventName','renderConfig','registerEventHandler','CanceledError'];_0xee74=function(){return _0x15de0d;};return _0xee74();}g[_0x433ab6(0xa0)]['extend'](P);class u{get[_0x433ab6(0xc2)](){const _0xc29706=_0x433ab6;return e[_0xc29706(0xc2)];}get[_0x433ab6(0xaa)](){const _0x3c82e7=_0x433ab6;return c[_0x3c82e7(0xaa)];}get[_0x433ab6(0xba)](){const _0x5cc2c7=_0x433ab6;return a[_0x5cc2c7(0x82)];}get['PrintPaperMargin'](){const _0x28089e=_0x433ab6;return c[_0x28089e(0x89)];}get['PrintScale'](){const _0x176f9f=_0x433ab6;return c[_0x176f9f(0xb3)];}get['PrintDirection'](){const _0x900415=_0x433ab6;return c[_0x900415(0x88)];}get[_0x433ab6(0xc1)](){const _0x5e6e23=_0x433ab6;return e[_0x5e6e23(0xc1)];}get['PrintHeaderFooter'](){const _0x593829=_0x433ab6;return e[_0x593829(0xb0)];}get[_0x433ab6(0x9a)](){const _0x2e82d1=_0x433ab6;return e[_0x2e82d1(0x9a)];}}g[_0x433ab6(0x9d)][_0x433ab6(0xab)](u);class l extends g[_0x433ab6(0xbb)]{[_0x433ab6(0x91)](_0x55749c){const _0x1d35c4=_0x433ab6,_0x395e84=_0x55749c[_0x1d35c4(0xb5)](a[_0x1d35c4(0x9b)]);this[_0x1d35c4(0xa2)](this[_0x1d35c4(0x9e)]['BeforeSheetPrintOpen'],()=>_0x395e84[_0x1d35c4(0x97)](_0x51359a=>{const _0x54b4f3=_0x1d35c4;if(_0x51359a['id']===e[_0x54b4f3(0x95)]['id']){const _0x1d9fde=this[_0x54b4f3(0xb4)]();if(!_0x1d9fde)return;const _0xe0748e={'workbook':_0x1d9fde,'worksheet':_0x1d9fde['getActiveSheet']()};if(_0xe0748e==null)return;if(this[_0x54b4f3(0x8a)](this[_0x54b4f3(0x9e)][_0x54b4f3(0xa8)],_0xe0748e),_0xe0748e[_0x54b4f3(0x83)])throw new a[(_0x54b4f3(0xa3))]();}})),this[_0x1d35c4(0xa2)](this[_0x1d35c4(0x9e)][_0x1d35c4(0xac)],()=>_0x395e84[_0x1d35c4(0x97)](_0x2e9095=>{const _0x309d30=_0x1d35c4;if(_0x2e9095['id']===e['ConfirmSheetPrintOperation']['id']){const _0x258db3=_0x55749c[_0x309d30(0xb5)](e[_0x309d30(0xb9)]);if(!this['getActiveUniverSheet']())return;const _0x1f0caa={'layoutConfig':_0x258db3[_0x309d30(0xbd)],'renderConfig':_0x258db3[_0x309d30(0xa1)]};if(_0x1f0caa==null)return;if(this[_0x309d30(0x8a)](this[_0x309d30(0x9e)][_0x309d30(0xac)],_0x1f0caa),_0x1f0caa[_0x309d30(0x83)])throw new a[(_0x309d30(0xa3))]();}})),this[_0x1d35c4(0xa2)](this['Event']['BeforeSheetPrintCanceled'],()=>_0x395e84[_0x1d35c4(0x97)](_0x3c11f3=>{const _0x2c6c0d=_0x1d35c4;if(_0x3c11f3['id']===e[_0x2c6c0d(0xbe)]['id']){const _0x434fd6=_0x55749c[_0x2c6c0d(0xb5)](e['ISheetPrintManagerService']);if(!this[_0x2c6c0d(0xb4)]())return;const _0x4b290c={'layoutConfig':_0x434fd6[_0x2c6c0d(0xbd)],'renderConfig':_0x434fd6['renderConfig']};if(_0x4b290c==null)return;if(this[_0x2c6c0d(0x8a)](this['Event'][_0x2c6c0d(0x93)],_0x4b290c),_0x4b290c[_0x2c6c0d(0x83)])throw new a['CanceledError']();}})),this['registerEventHandler'](this[_0x1d35c4(0x9e)][_0x1d35c4(0xb1)],()=>_0x395e84[_0x1d35c4(0xb6)](_0x34cdf5=>{const _0x550f6b=_0x1d35c4;if(_0x34cdf5['id']===e[_0x550f6b(0x95)]['id']){const _0x364f53=this['getActiveUniverSheet']();if(!_0x364f53)return;const _0x2ba685={'workbook':_0x364f53,'worksheet':_0x364f53['getActiveSheet']()};if(_0x2ba685==null)return;this[_0x550f6b(0x8a)](this['Event']['SheetPrintOpen'],_0x2ba685);}})),this[_0x1d35c4(0xa2)](this[_0x1d35c4(0x9e)][_0x1d35c4(0x90)],()=>_0x395e84['onCommandExecuted'](_0x4f61d3=>{const _0x2d3bee=_0x1d35c4;if(_0x4f61d3['id']===e[_0x2d3bee(0xa5)]['id']){const _0x344b24=_0x55749c['get'](e[_0x2d3bee(0xb9)]);if(!this['getActiveUniverSheet']())return;const _0x386952={'layoutConfig':_0x344b24[_0x2d3bee(0xbd)],'renderConfig':_0x344b24['renderConfig']};if(_0x386952==null)return;this[_0x2d3bee(0x8a)](this[_0x2d3bee(0x9e)][_0x2d3bee(0x90)],_0x386952);}})),this[_0x1d35c4(0xa2)](this[_0x1d35c4(0x9e)][_0x1d35c4(0x85)],()=>_0x395e84[_0x1d35c4(0xb6)](_0x3cd2a1=>{const _0x11f659=_0x1d35c4;if(_0x3cd2a1['id']===e[_0x11f659(0xbe)]['id']){const _0x42bfb3=_0x55749c[_0x11f659(0xb5)](e[_0x11f659(0xb9)]);if(!this[_0x11f659(0xb4)]())return;const _0x7ada8={'layoutConfig':_0x42bfb3[_0x11f659(0xbd)],'renderConfig':_0x42bfb3[_0x11f659(0xa1)]};if(_0x7ada8==null)return;this['fireEvent'](this['Event'][_0x11f659(0x85)],_0x7ada8);}}));}}g[_0x433ab6(0xbb)][_0x433ab6(0xab)](l);
|