@univerjs-pro/sheets-print 0.10.11 → 0.10.12
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 +38 -38
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x287764=_0x92af;(function(_0xa6db0d,_0x6d770d){const _0x2e242d=_0x92af,_0x57fea4=_0xa6db0d();while(!![]){try{const _0x14203f=parseInt(_0x2e242d(0x200))/0x1+parseInt(_0x2e242d(0x211))/0x2+-parseInt(_0x2e242d(0x207))/0x3+-parseInt(_0x2e242d(0x1f4))/0x4*(-parseInt(_0x2e242d(0x217))/0x5)+-parseInt(_0x2e242d(0x20b))/0x6*(parseInt(_0x2e242d(0x216))/0x7)+-parseInt(_0x2e242d(0x202))/0x8*(-parseInt(_0x2e242d(0x219))/0x9)+-parseInt(_0x2e242d(0x221))/0xa*(-parseInt(_0x2e242d(0x208))/0xb);if(_0x14203f===_0x6d770d)break;else _0x57fea4['push'](_0x57fea4['shift']());}catch(_0x57e963){_0x57fea4['push'](_0x57fea4['shift']());}}}(_0x5925,0x59384));function _0x5925(){const _0x4d4392=['beforeCommandExecuted','_workbook','SheetPrintCanceled','1651764faElSv','6742021MEEBdg','layoutConfig','_worksheet','47514quhmUm','registerEventHandler','getUnitId','Event','onCommandExecuted','cancel','295842ewkxjv','_injector','closePrintDialog','saveScreenshotToClipboard','BeforeSheetPrintCanceled','175ZJoewm','75SNkqzZ','updateLayoutConfig','982485znFANT','get','SheetPrintOpen','getScreenshot','fireEvent','updatePrintConfig','openPrintDialog','PrintAlign','10oLjdAp','getActiveUniverSheet','_initialize','print','16460pXnTGb','BeforeSheetPrintConfirm','PrintPaperSize','PrintArea','updatePrintRenderConfig','renderConfig','syncExecuteCommand','PrintHeaderFooterSymbol','extend','PrintHeaderFooter','SheetPrintConfirmed','PrintPaperMargin','182285TZRnqm','PrintScale','8aFmugF','BeforeSheetPrintOpen'];_0x5925=function(){return _0x4d4392;};return _0x5925();}import{ISheetPrintManagerService as _0x2298ef,ConfirmSheetPrintOperation as _0x54d719,SheetPrintOpenOperation as _0x5195a7,CancelSheetPrintOperation as _0x1489d5,hasPrintFacadePermission as _0x13353a,SheetScreenShotOperation as _0x1311de,SheetPrintClientService as _0x427368,PrintArea as _0x4b6bdf,PrintFreeze as _0x131a55,PrintHeaderFooter as _0x2aad18,PrintHeaderFooterSymbol as _0x4af93b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5ae3e5,PaperType as _0x4f2048,CanceledError as _0x474972}from'@univerjs/core';import{FWorkbook as _0x1b49b5,FRange as _0xa70605}from'@univerjs/sheets/facade';import{FEventName as _0x422183,FEnum as _0x4c978d,FUniver as _0x135a00}from'@univerjs/core/facade';import{PrintAlign as _0x54a5ed,PrintPaperMargin as _0xc9f8f4,PrintScale as _0x75410e,PrintDirection as _0x434064}from'@univerjs-pro/print';class A extends _0x1b49b5{[_0x287764(0x21e)](_0x3106dc){const _0x1fcc56=_0x287764;return this[_0x1fcc56(0x212)][_0x1fcc56(0x21a)](_0x2298ef)[_0x1fcc56(0x218)](_0x3106dc),this;}[_0x287764(0x1f8)](_0x5d6244){const _0x19052e=_0x287764;return this[_0x19052e(0x212)]['get'](_0x2298ef)['updateRenderConfig'](_0x5d6244),this;}[_0x287764(0x1f3)](){const _0x2b782c=_0x287764;return this[_0x2b782c(0x212)]['get'](_0x5ae3e5)[_0x2b782c(0x1fa)](_0x54d719['id']);}[_0x287764(0x21f)](){const _0x189e4a=_0x287764;return this[_0x189e4a(0x212)][_0x189e4a(0x21a)](_0x5ae3e5)['syncExecuteCommand'](_0x5195a7['id']);}[_0x287764(0x213)](){const _0x10e9ab=_0x287764;return this[_0x10e9ab(0x212)][_0x10e9ab(0x21a)](_0x5ae3e5)[_0x10e9ab(0x1fa)](_0x1489d5['id']);}async[_0x287764(0x214)](){const _0x3d6e14=_0x287764;return _0x13353a(this['_injector'])?this[_0x3d6e14(0x212)][_0x3d6e14(0x21a)](_0x5ae3e5)['executeCommand'](_0x1311de['id']):!0x1;}}function _0x92af(_0x1cb0d1,_0x6716ea){const _0x592591=_0x5925();return _0x92af=function(_0x92afaa,_0xc793c6){_0x92afaa=_0x92afaa-0x1f1;let _0x18aaa2=_0x592591[_0x92afaa];return _0x18aaa2;},_0x92af(_0x1cb0d1,_0x6716ea);}_0x1b49b5[_0x287764(0x1fc)](A);class B extends _0xa70605{[_0x287764(0x21c)](){const _0x330801=_0x287764;return _0x13353a(this[_0x330801(0x212)])?this[_0x330801(0x212)][_0x330801(0x21a)](_0x427368)['getRangeImage'](this[_0x330801(0x205)][_0x330801(0x20d)](),this[_0x330801(0x20a)]['getSheetId'](),this['_range']):!0x1;}}_0xa70605['extend'](B);class H{get[_0x287764(0x203)](){const _0x2f86de=_0x287764;return _0x2f86de(0x203);}get[_0x287764(0x1f5)](){const _0x536e49=_0x287764;return _0x536e49(0x1f5);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x287764(0x21b)](){const _0x3d53e1=_0x287764;return _0x3d53e1(0x21b);}get[_0x287764(0x1fe)](){const _0x57588c=_0x287764;return _0x57588c(0x1fe);}get[_0x287764(0x206)](){return'SheetPrintCanceled';}}_0x422183[_0x287764(0x1fc)](H);class U{get[_0x287764(0x1f7)](){return _0x4b6bdf;}get[_0x287764(0x220)](){return _0x54a5ed;}get[_0x287764(0x1f6)](){return _0x4f2048;}get[_0x287764(0x1ff)](){return _0xc9f8f4;}get[_0x287764(0x201)](){return _0x75410e;}get['PrintDirection'](){return _0x434064;}get['PrintFreeze'](){return _0x131a55;}get[_0x287764(0x1fd)](){return _0x2aad18;}get[_0x287764(0x1fb)](){return _0x4af93b;}}_0x4c978d['extend'](U);class M extends _0x135a00{[_0x287764(0x1f2)](_0x158979){const _0x77a723=_0x287764,_0x2878ab=_0x158979[_0x77a723(0x21a)](_0x5ae3e5);this['registerEventHandler'](this[_0x77a723(0x20e)]['BeforeSheetPrintOpen'],()=>_0x2878ab[_0x77a723(0x204)](_0x37f9e6=>{const _0x14d0c0=_0x77a723;if(_0x37f9e6['id']===_0x5195a7['id']){const _0x3c3206=this[_0x14d0c0(0x1f1)]();if(!_0x3c3206)return;const _0x1bc5a0={'workbook':_0x3c3206,'worksheet':_0x3c3206['getActiveSheet']()};if(_0x1bc5a0==null)return;if(this[_0x14d0c0(0x21d)](this[_0x14d0c0(0x20e)][_0x14d0c0(0x203)],_0x1bc5a0),_0x1bc5a0[_0x14d0c0(0x210)])throw new _0x474972();}})),this[_0x77a723(0x20c)](this[_0x77a723(0x20e)][_0x77a723(0x1f5)],()=>_0x2878ab[_0x77a723(0x204)](_0x3b10fc=>{const _0x1cce4f=_0x77a723;if(_0x3b10fc['id']===_0x54d719['id']){const _0x11f3f0=_0x158979['get'](_0x2298ef);if(!this[_0x1cce4f(0x1f1)]())return;const _0x3b193f={'layoutConfig':_0x11f3f0[_0x1cce4f(0x209)],'renderConfig':_0x11f3f0[_0x1cce4f(0x1f9)]};if(_0x3b193f==null)return;if(this['fireEvent'](this['Event'][_0x1cce4f(0x1f5)],_0x3b193f),_0x3b193f[_0x1cce4f(0x210)])throw new _0x474972();}})),this[_0x77a723(0x20c)](this[_0x77a723(0x20e)][_0x77a723(0x215)],()=>_0x2878ab[_0x77a723(0x204)](_0x40737b=>{const _0x2fc6f4=_0x77a723;if(_0x40737b['id']===_0x1489d5['id']){const _0x4b659d=_0x158979[_0x2fc6f4(0x21a)](_0x2298ef);if(!this['getActiveUniverSheet']())return;const _0x1b6b94={'layoutConfig':_0x4b659d[_0x2fc6f4(0x209)],'renderConfig':_0x4b659d['renderConfig']};if(_0x1b6b94==null)return;if(this[_0x2fc6f4(0x21d)](this[_0x2fc6f4(0x20e)][_0x2fc6f4(0x215)],_0x1b6b94),_0x1b6b94[_0x2fc6f4(0x210)])throw new _0x474972();}})),this[_0x77a723(0x20c)](this[_0x77a723(0x20e)][_0x77a723(0x21b)],()=>_0x2878ab[_0x77a723(0x20f)](_0x53a8ec=>{const _0x3f3b09=_0x77a723;if(_0x53a8ec['id']===_0x5195a7['id']){const _0x52e5d5=this[_0x3f3b09(0x1f1)]();if(!_0x52e5d5)return;const _0x46ee7b={'workbook':_0x52e5d5,'worksheet':_0x52e5d5['getActiveSheet']()};if(_0x46ee7b==null)return;this[_0x3f3b09(0x21d)](this[_0x3f3b09(0x20e)][_0x3f3b09(0x21b)],_0x46ee7b);}})),this[_0x77a723(0x20c)](this[_0x77a723(0x20e)]['SheetPrintConfirmed'],()=>_0x2878ab[_0x77a723(0x20f)](_0x1a8afa=>{const _0x227438=_0x77a723;if(_0x1a8afa['id']===_0x54d719['id']){const _0x3e45b9=_0x158979[_0x227438(0x21a)](_0x2298ef);if(!this[_0x227438(0x1f1)]())return;const _0x576cd3={'layoutConfig':_0x3e45b9[_0x227438(0x209)],'renderConfig':_0x3e45b9['renderConfig']};if(_0x576cd3==null)return;this[_0x227438(0x21d)](this[_0x227438(0x20e)][_0x227438(0x1fe)],_0x576cd3);}})),this[_0x77a723(0x20c)](this[_0x77a723(0x20e)][_0x77a723(0x206)],()=>_0x2878ab[_0x77a723(0x20f)](_0x5f22fe=>{const _0x2d57f6=_0x77a723;if(_0x5f22fe['id']===_0x1489d5['id']){const _0x5cc4d1=_0x158979[_0x2d57f6(0x21a)](_0x2298ef);if(!this[_0x2d57f6(0x1f1)]())return;const _0x1b3f96={'layoutConfig':_0x5cc4d1['layoutConfig'],'renderConfig':_0x5cc4d1['renderConfig']};if(_0x1b3f96==null)return;this[_0x2d57f6(0x21d)](this[_0x2d57f6(0x20e)][_0x2d57f6(0x206)],_0x1b3f96);}}));}}_0x135a00[_0x287764(0x1fc)](M);
|