@univerjs-pro/sheets-print 0.10.0 → 0.10.1-nightly.202508020912
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/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/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/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 +40 -40
- 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/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 _0x192a04=_0x2bb6;(function(_0x25799b,_0x50eac9){const _0x512bbb=_0x2bb6,_0x42e923=_0x25799b();while(!![]){try{const _0x2742d3=parseInt(_0x512bbb(0x1d7))/0x1*(parseInt(_0x512bbb(0x1c8))/0x2)+-parseInt(_0x512bbb(0x1ad))/0x3*(-parseInt(_0x512bbb(0x1b6))/0x4)+-parseInt(_0x512bbb(0x1c9))/0x5*(-parseInt(_0x512bbb(0x1e1))/0x6)+-parseInt(_0x512bbb(0x1cf))/0x7*(parseInt(_0x512bbb(0x1e2))/0x8)+-parseInt(_0x512bbb(0x1b7))/0x9+parseInt(_0x512bbb(0x1e8))/0xa*(parseInt(_0x512bbb(0x1c5))/0xb)+-parseInt(_0x512bbb(0x1ba))/0xc*(parseInt(_0x512bbb(0x1d5))/0xd);if(_0x2742d3===_0x50eac9)break;else _0x42e923['push'](_0x42e923['shift']());}catch(_0x5df317){_0x42e923['push'](_0x42e923['shift']());}}}(_0x4e0c,0x5cb77));function _0x4e0c(){const _0x48ed25=['executeCommand','SheetScreenShotOperation','FEventName','onCommandExecuted','getActiveSheet','711084MpMBxw','BeforeSheetPrintConfirm','Event','2pyQAit','12695WvOVcV','PrintPaperSize','updatePrintRenderConfig','PrintAlign','renderConfig','SheetPrintCanceled','739354rFWaFe','ICommandService','getScreenshot','ConfirmSheetPrintOperation','_range','SheetPrintOpen','27365iUndMb','PrintArea','705723KxjTmS','cancel','PrintDirection','updateLayoutConfig','FWorkbook','PrintHeaderFooterSymbol','syncExecuteCommand','getSheetId','extend','closePrintDialog','726mrwhIR','8IlayZI','ISheetPrintManagerService','beforeCommandExecuted','PrintFreeze','PrintPaperMargin','SheetPrintConfirmed','10LdcyQl','openPrintDialog','_initialize','layoutConfig','CanceledError','hasPrintFacadePermission','BeforeSheetPrintCanceled','PaperType','get','_workbook','177RnxkQG','_injector','registerEventHandler','FEnum','SheetPrintClientService','getUnitId','updateRenderConfig','BeforeSheetPrintOpen','print','17156bWorwQ','4235022sYPQPj','fireEvent','getActiveUniverSheet','2136kWnasU','FUniver','CancelSheetPrintOperation','SheetPrintOpenOperation','_worksheet','updatePrintConfig'];_0x4e0c=function(){return _0x48ed25;};return _0x4e0c();}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['FWorkbook']{[_0x192a04(0x1bf)](_0x49d6aa){const _0x2c9df0=_0x192a04;return this[_0x2c9df0(0x1ae)]['get'](e[_0x2c9df0(0x1e3)])[_0x2c9df0(0x1da)](_0x49d6aa),this;}[_0x192a04(0x1cb)](_0x1677ba){const _0x16872e=_0x192a04;return this[_0x16872e(0x1ae)]['get'](e[_0x16872e(0x1e3)])[_0x16872e(0x1b3)](_0x1677ba),this;}[_0x192a04(0x1b5)](){const _0x393e49=_0x192a04;return this[_0x393e49(0x1ae)][_0x393e49(0x1ab)](a[_0x393e49(0x1d0)])[_0x393e49(0x1dd)](e[_0x393e49(0x1d2)]['id']);}[_0x192a04(0x1e9)](){const _0x1f6450=_0x192a04;return this[_0x1f6450(0x1ae)]['get'](a[_0x1f6450(0x1d0)])[_0x1f6450(0x1dd)](e[_0x1f6450(0x1bd)]['id']);}[_0x192a04(0x1e0)](){const _0x46a492=_0x192a04;return this[_0x46a492(0x1ae)][_0x46a492(0x1ab)](a['ICommandService'])['syncExecuteCommand'](e[_0x46a492(0x1bc)]['id']);}async['saveScreenshotToClipboard'](){const _0x59c640=_0x192a04;return e[_0x59c640(0x1a8)](this[_0x59c640(0x1ae)])?this[_0x59c640(0x1ae)]['get'](a['ICommandService'])[_0x59c640(0x1c0)](e[_0x59c640(0x1c1)]['id']):!0x1;}}d[_0x192a04(0x1db)]['extend'](S);class f extends d['FRange']{[_0x192a04(0x1d1)](){const _0x4cadfc=_0x192a04;return e[_0x4cadfc(0x1a8)](this[_0x4cadfc(0x1ae)])?this[_0x4cadfc(0x1ae)]['get'](e[_0x4cadfc(0x1b1)])['getRangeImage'](this[_0x4cadfc(0x1ac)][_0x4cadfc(0x1b2)](),this[_0x4cadfc(0x1be)][_0x4cadfc(0x1de)](),this[_0x4cadfc(0x1d3)]):!0x1;}}d['FRange'][_0x192a04(0x1df)](f);class P{get[_0x192a04(0x1b4)](){return'BeforeSheetPrintOpen';}get[_0x192a04(0x1c6)](){return'BeforeSheetPrintConfirm';}get[_0x192a04(0x1a9)](){const _0x52981d=_0x192a04;return _0x52981d(0x1a9);}get[_0x192a04(0x1d4)](){const _0x4d6c4f=_0x192a04;return _0x4d6c4f(0x1d4);}get[_0x192a04(0x1e7)](){const _0xc13a91=_0x192a04;return _0xc13a91(0x1e7);}get[_0x192a04(0x1ce)](){const _0xff0f5f=_0x192a04;return _0xff0f5f(0x1ce);}}g[_0x192a04(0x1c2)][_0x192a04(0x1df)](P);class u{get[_0x192a04(0x1d6)](){const _0x4e1501=_0x192a04;return e[_0x4e1501(0x1d6)];}get[_0x192a04(0x1cc)](){return c['PrintAlign'];}get[_0x192a04(0x1ca)](){const _0x5ae825=_0x192a04;return a[_0x5ae825(0x1aa)];}get['PrintPaperMargin'](){const _0x189b2a=_0x192a04;return c[_0x189b2a(0x1e6)];}get['PrintScale'](){return c['PrintScale'];}get[_0x192a04(0x1d9)](){const _0x48d08b=_0x192a04;return c[_0x48d08b(0x1d9)];}get['PrintFreeze'](){const _0x52c793=_0x192a04;return e[_0x52c793(0x1e5)];}get['PrintHeaderFooter'](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x11c784=_0x192a04;return e[_0x11c784(0x1dc)];}}g[_0x192a04(0x1b0)][_0x192a04(0x1df)](u);class l extends g['FUniver']{[_0x192a04(0x1a5)](_0x4180b9){const _0x475f7f=_0x192a04,_0x526113=_0x4180b9[_0x475f7f(0x1ab)](a[_0x475f7f(0x1d0)]);this[_0x475f7f(0x1af)](this[_0x475f7f(0x1c7)][_0x475f7f(0x1b4)],()=>_0x526113[_0x475f7f(0x1e4)](_0x172c03=>{const _0x3b06b3=_0x475f7f;if(_0x172c03['id']===e[_0x3b06b3(0x1bd)]['id']){const _0x505d75=this[_0x3b06b3(0x1b9)]();if(!_0x505d75)return;const _0x2c186d={'workbook':_0x505d75,'worksheet':_0x505d75[_0x3b06b3(0x1c4)]()};if(_0x2c186d==null)return;if(this['fireEvent'](this[_0x3b06b3(0x1c7)][_0x3b06b3(0x1b4)],_0x2c186d),_0x2c186d['cancel'])throw new a['CanceledError']();}})),this[_0x475f7f(0x1af)](this[_0x475f7f(0x1c7)]['BeforeSheetPrintConfirm'],()=>_0x526113[_0x475f7f(0x1e4)](_0x36187b=>{const _0x295b25=_0x475f7f;if(_0x36187b['id']===e['ConfirmSheetPrintOperation']['id']){const _0x39378d=_0x4180b9['get'](e[_0x295b25(0x1e3)]);if(!this['getActiveUniverSheet']())return;const _0x8a5635={'layoutConfig':_0x39378d[_0x295b25(0x1a6)],'renderConfig':_0x39378d[_0x295b25(0x1cd)]};if(_0x8a5635==null)return;if(this[_0x295b25(0x1b8)](this[_0x295b25(0x1c7)][_0x295b25(0x1c6)],_0x8a5635),_0x8a5635[_0x295b25(0x1d8)])throw new a[(_0x295b25(0x1a7))]();}})),this[_0x475f7f(0x1af)](this[_0x475f7f(0x1c7)][_0x475f7f(0x1a9)],()=>_0x526113['beforeCommandExecuted'](_0x3907e7=>{const _0x3217d9=_0x475f7f;if(_0x3907e7['id']===e[_0x3217d9(0x1bc)]['id']){const _0x43f824=_0x4180b9[_0x3217d9(0x1ab)](e[_0x3217d9(0x1e3)]);if(!this[_0x3217d9(0x1b9)]())return;const _0xca6839={'layoutConfig':_0x43f824['layoutConfig'],'renderConfig':_0x43f824['renderConfig']};if(_0xca6839==null)return;if(this['fireEvent'](this['Event'][_0x3217d9(0x1a9)],_0xca6839),_0xca6839[_0x3217d9(0x1d8)])throw new a[(_0x3217d9(0x1a7))]();}})),this['registerEventHandler'](this[_0x475f7f(0x1c7)][_0x475f7f(0x1d4)],()=>_0x526113[_0x475f7f(0x1c3)](_0x291ccb=>{const _0x4bd483=_0x475f7f;if(_0x291ccb['id']===e[_0x4bd483(0x1bd)]['id']){const _0x28978c=this[_0x4bd483(0x1b9)]();if(!_0x28978c)return;const _0x435b95={'workbook':_0x28978c,'worksheet':_0x28978c[_0x4bd483(0x1c4)]()};if(_0x435b95==null)return;this[_0x4bd483(0x1b8)](this[_0x4bd483(0x1c7)][_0x4bd483(0x1d4)],_0x435b95);}})),this[_0x475f7f(0x1af)](this[_0x475f7f(0x1c7)][_0x475f7f(0x1e7)],()=>_0x526113[_0x475f7f(0x1c3)](_0x35fd71=>{const _0x262259=_0x475f7f;if(_0x35fd71['id']===e[_0x262259(0x1d2)]['id']){const _0x234bde=_0x4180b9['get'](e[_0x262259(0x1e3)]);if(!this[_0x262259(0x1b9)]())return;const _0x407c20={'layoutConfig':_0x234bde[_0x262259(0x1a6)],'renderConfig':_0x234bde[_0x262259(0x1cd)]};if(_0x407c20==null)return;this[_0x262259(0x1b8)](this[_0x262259(0x1c7)][_0x262259(0x1e7)],_0x407c20);}})),this[_0x475f7f(0x1af)](this[_0x475f7f(0x1c7)][_0x475f7f(0x1ce)],()=>_0x526113[_0x475f7f(0x1c3)](_0x2d5f54=>{const _0x150a48=_0x475f7f;if(_0x2d5f54['id']===e[_0x150a48(0x1bc)]['id']){const _0x3da7b5=_0x4180b9[_0x150a48(0x1ab)](e[_0x150a48(0x1e3)]);if(!this[_0x150a48(0x1b9)]())return;const _0xf18442={'layoutConfig':_0x3da7b5[_0x150a48(0x1a6)],'renderConfig':_0x3da7b5[_0x150a48(0x1cd)]};if(_0xf18442==null)return;this[_0x150a48(0x1b8)](this[_0x150a48(0x1c7)][_0x150a48(0x1ce)],_0xf18442);}}));}}function _0x2bb6(_0x20e6e9,_0x5a6749){const _0x4e0c73=_0x4e0c();return _0x2bb6=function(_0x2bb6b7,_0x491ffb){_0x2bb6b7=_0x2bb6b7-0x1a5;let _0x471b44=_0x4e0c73[_0x2bb6b7];return _0x471b44;},_0x2bb6(_0x20e6e9,_0x5a6749);}g[_0x192a04(0x1bb)]['extend'](l);
|