@univerjs-pro/sheets-print 0.10.12 → 0.10.13-nightly.202510290902
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 +42 -42
- 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 +17 -17
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x41fdb4=_0x394f;(function(_0x1c0ec0,_0x5f072e){const _0x2a7939=_0x394f,_0x3bcdd8=_0x1c0ec0();while(!![]){try{const _0xdb2d1c=-parseInt(_0x2a7939(0x1d3))/0x1*(parseInt(_0x2a7939(0x1d0))/0x2)+-parseInt(_0x2a7939(0x1de))/0x3*(-parseInt(_0x2a7939(0x1cc))/0x4)+parseInt(_0x2a7939(0x1cd))/0x5+-parseInt(_0x2a7939(0x1c3))/0x6+-parseInt(_0x2a7939(0x1dd))/0x7*(-parseInt(_0x2a7939(0x1e0))/0x8)+-parseInt(_0x2a7939(0x1c5))/0x9+parseInt(_0x2a7939(0x1be))/0xa;if(_0xdb2d1c===_0x5f072e)break;else _0x3bcdd8['push'](_0x3bcdd8['shift']());}catch(_0x39d658){_0x3bcdd8['push'](_0x3bcdd8['shift']());}}}(_0x2ff6,0x53d62));function _0x394f(_0x33511b,_0x1fffc5){const _0x2ff6e0=_0x2ff6();return _0x394f=function(_0x394f34,_0x547b5f){_0x394f34=_0x394f34-0x1b8;let _0x587caa=_0x2ff6e0[_0x394f34];return _0x587caa;},_0x394f(_0x33511b,_0x1fffc5);}import{ISheetPrintManagerService as _0x5d3609,ConfirmSheetPrintOperation as _0x2708b6,SheetPrintOpenOperation as _0x5898f6,CancelSheetPrintOperation as _0x501122,hasPrintFacadePermission as _0x30d504,SheetScreenShotOperation as _0xc7667c,SheetPrintClientService as _0x47f6a7,PrintArea as _0x58ce7d,PrintFreeze as _0x3708b2,PrintHeaderFooter as _0x1ca650,PrintHeaderFooterSymbol as _0x163b54}from'@univerjs-pro/sheets-print';import{ICommandService as _0x5886bc,PaperType as _0x54da47,CanceledError as _0x33d6a7}from'@univerjs/core';function _0x2ff6(){const _0x15eb16=['BeforeSheetPrintConfirm','PrintPaperMargin','getActiveUniverSheet','getSheetId','syncExecuteCommand','SheetPrintConfirmed','316772ruvTyR','3320950lSlmea','_worksheet','PrintPaperSize','297102UxUKqU','get','_injector','2dVmUUj','SheetPrintOpen','fireEvent','updatePrintRenderConfig','beforeCommandExecuted','updateLayoutConfig','cancel','updatePrintConfig','_workbook','_range','28ryXmEG','3hRIpOB','registerEventHandler','519368jvISxm','layoutConfig','getRangeImage','closePrintDialog','_initialize','getScreenshot','SheetPrintCanceled','PrintHeaderFooter','onCommandExecuted','extend','renderConfig','BeforeSheetPrintCanceled','BeforeSheetPrintOpen','PrintFreeze','895380Uywwok','Event','updateRenderConfig','print','PrintDirection','1408488kZbtoK','saveScreenshotToClipboard','1956249EHDykE'];_0x2ff6=function(){return _0x15eb16;};return _0x2ff6();}import{FWorkbook as _0x4c9fb6,FRange as _0x40364a}from'@univerjs/sheets/facade';import{FEventName as _0x32a5b4,FEnum as _0x2a22b7,FUniver as _0x218bce}from'@univerjs/core/facade';import{PrintAlign as _0x342b80,PrintPaperMargin as _0x54f4a4,PrintScale as _0x38aefd,PrintDirection as _0x36a64c}from'@univerjs-pro/print';class A extends _0x4c9fb6{[_0x41fdb4(0x1da)](_0x134e2b){const _0x33e053=_0x41fdb4;return this[_0x33e053(0x1d2)][_0x33e053(0x1d1)](_0x5d3609)[_0x33e053(0x1d8)](_0x134e2b),this;}[_0x41fdb4(0x1d6)](_0x507279){const _0x21e5b5=_0x41fdb4;return this[_0x21e5b5(0x1d2)][_0x21e5b5(0x1d1)](_0x5d3609)[_0x21e5b5(0x1c0)](_0x507279),this;}[_0x41fdb4(0x1c1)](){const _0x4caa68=_0x41fdb4;return this[_0x4caa68(0x1d2)][_0x4caa68(0x1d1)](_0x5886bc)[_0x4caa68(0x1ca)](_0x2708b6['id']);}['openPrintDialog'](){const _0x10a1b4=_0x41fdb4;return this[_0x10a1b4(0x1d2)][_0x10a1b4(0x1d1)](_0x5886bc)[_0x10a1b4(0x1ca)](_0x5898f6['id']);}[_0x41fdb4(0x1e3)](){const _0x4581c4=_0x41fdb4;return this[_0x4581c4(0x1d2)]['get'](_0x5886bc)[_0x4581c4(0x1ca)](_0x501122['id']);}async[_0x41fdb4(0x1c4)](){const _0x19ef13=_0x41fdb4;return _0x30d504(this[_0x19ef13(0x1d2)])?this['_injector'][_0x19ef13(0x1d1)](_0x5886bc)['executeCommand'](_0xc7667c['id']):!0x1;}}_0x4c9fb6[_0x41fdb4(0x1b9)](A);class B extends _0x40364a{[_0x41fdb4(0x1e5)](){const _0x3e0f52=_0x41fdb4;return _0x30d504(this[_0x3e0f52(0x1d2)])?this[_0x3e0f52(0x1d2)][_0x3e0f52(0x1d1)](_0x47f6a7)[_0x3e0f52(0x1e2)](this[_0x3e0f52(0x1db)]['getUnitId'](),this[_0x3e0f52(0x1ce)][_0x3e0f52(0x1c9)](),this[_0x3e0f52(0x1dc)]):!0x1;}}_0x40364a[_0x41fdb4(0x1b9)](B);class H{get[_0x41fdb4(0x1bc)](){return'BeforeSheetPrintOpen';}get[_0x41fdb4(0x1c6)](){const _0x4d1c8c=_0x41fdb4;return _0x4d1c8c(0x1c6);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x41fdb4(0x1d4)](){const _0x1c631a=_0x41fdb4;return _0x1c631a(0x1d4);}get[_0x41fdb4(0x1cb)](){const _0x52fc1d=_0x41fdb4;return _0x52fc1d(0x1cb);}get[_0x41fdb4(0x1e6)](){return'SheetPrintCanceled';}}_0x32a5b4['extend'](H);class U{get['PrintArea'](){return _0x58ce7d;}get['PrintAlign'](){return _0x342b80;}get[_0x41fdb4(0x1cf)](){return _0x54da47;}get[_0x41fdb4(0x1c7)](){return _0x54f4a4;}get['PrintScale'](){return _0x38aefd;}get[_0x41fdb4(0x1c2)](){return _0x36a64c;}get[_0x41fdb4(0x1bd)](){return _0x3708b2;}get[_0x41fdb4(0x1e7)](){return _0x1ca650;}get['PrintHeaderFooterSymbol'](){return _0x163b54;}}_0x2a22b7[_0x41fdb4(0x1b9)](U);class M extends _0x218bce{[_0x41fdb4(0x1e4)](_0x1a3d8a){const _0x26042b=_0x41fdb4,_0x558512=_0x1a3d8a[_0x26042b(0x1d1)](_0x5886bc);this[_0x26042b(0x1df)](this['Event']['BeforeSheetPrintOpen'],()=>_0x558512[_0x26042b(0x1d7)](_0x966a2e=>{const _0x13e8e5=_0x26042b;if(_0x966a2e['id']===_0x5898f6['id']){const _0x5c8759=this['getActiveUniverSheet']();if(!_0x5c8759)return;const _0x1d3f09={'workbook':_0x5c8759,'worksheet':_0x5c8759['getActiveSheet']()};if(_0x1d3f09==null)return;if(this[_0x13e8e5(0x1d5)](this[_0x13e8e5(0x1bf)][_0x13e8e5(0x1bc)],_0x1d3f09),_0x1d3f09['cancel'])throw new _0x33d6a7();}})),this[_0x26042b(0x1df)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x558512[_0x26042b(0x1d7)](_0x25788a=>{const _0x579ad6=_0x26042b;if(_0x25788a['id']===_0x2708b6['id']){const _0x355f99=_0x1a3d8a['get'](_0x5d3609);if(!this['getActiveUniverSheet']())return;const _0x26b0de={'layoutConfig':_0x355f99['layoutConfig'],'renderConfig':_0x355f99[_0x579ad6(0x1ba)]};if(_0x26b0de==null)return;if(this[_0x579ad6(0x1d5)](this[_0x579ad6(0x1bf)]['BeforeSheetPrintConfirm'],_0x26b0de),_0x26b0de[_0x579ad6(0x1d9)])throw new _0x33d6a7();}})),this['registerEventHandler'](this[_0x26042b(0x1bf)][_0x26042b(0x1bb)],()=>_0x558512[_0x26042b(0x1d7)](_0x587f85=>{const _0x3ea641=_0x26042b;if(_0x587f85['id']===_0x501122['id']){const _0x1df19a=_0x1a3d8a[_0x3ea641(0x1d1)](_0x5d3609);if(!this[_0x3ea641(0x1c8)]())return;const _0x1b492c={'layoutConfig':_0x1df19a[_0x3ea641(0x1e1)],'renderConfig':_0x1df19a[_0x3ea641(0x1ba)]};if(_0x1b492c==null)return;if(this['fireEvent'](this['Event'][_0x3ea641(0x1bb)],_0x1b492c),_0x1b492c[_0x3ea641(0x1d9)])throw new _0x33d6a7();}})),this[_0x26042b(0x1df)](this[_0x26042b(0x1bf)][_0x26042b(0x1d4)],()=>_0x558512[_0x26042b(0x1b8)](_0x4d55e3=>{const _0x19c49f=_0x26042b;if(_0x4d55e3['id']===_0x5898f6['id']){const _0x15fd96=this['getActiveUniverSheet']();if(!_0x15fd96)return;const _0x59c7fc={'workbook':_0x15fd96,'worksheet':_0x15fd96['getActiveSheet']()};if(_0x59c7fc==null)return;this[_0x19c49f(0x1d5)](this[_0x19c49f(0x1bf)][_0x19c49f(0x1d4)],_0x59c7fc);}})),this['registerEventHandler'](this[_0x26042b(0x1bf)][_0x26042b(0x1cb)],()=>_0x558512['onCommandExecuted'](_0x3823d6=>{const _0x22b0f9=_0x26042b;if(_0x3823d6['id']===_0x2708b6['id']){const _0x4ac207=_0x1a3d8a[_0x22b0f9(0x1d1)](_0x5d3609);if(!this[_0x22b0f9(0x1c8)]())return;const _0x1ece10={'layoutConfig':_0x4ac207['layoutConfig'],'renderConfig':_0x4ac207['renderConfig']};if(_0x1ece10==null)return;this['fireEvent'](this['Event'][_0x22b0f9(0x1cb)],_0x1ece10);}})),this['registerEventHandler'](this[_0x26042b(0x1bf)][_0x26042b(0x1e6)],()=>_0x558512[_0x26042b(0x1b8)](_0x6db622=>{const _0x5adee0=_0x26042b;if(_0x6db622['id']===_0x501122['id']){const _0x96b2cd=_0x1a3d8a[_0x5adee0(0x1d1)](_0x5d3609);if(!this[_0x5adee0(0x1c8)]())return;const _0x539285={'layoutConfig':_0x96b2cd[_0x5adee0(0x1e1)],'renderConfig':_0x96b2cd[_0x5adee0(0x1ba)]};if(_0x539285==null)return;this[_0x5adee0(0x1d5)](this[_0x5adee0(0x1bf)][_0x5adee0(0x1e6)],_0x539285);}}));}}_0x218bce[_0x41fdb4(0x1b9)](M);
|