@univerjs-pro/sheets-print 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507161608
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 +14 -14
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1da064=_0x348c;(function(_0x2c1738,_0x4e82ef){const _0xd29624=_0x348c,_0x3d547e=_0x2c1738();while(!![]){try{const _0x396239=-parseInt(_0xd29624(0x1af))/0x1+-parseInt(_0xd29624(0x18f))/0x2+-parseInt(_0xd29624(0x192))/0x3+-parseInt(_0xd29624(0x1a4))/0x4+-parseInt(_0xd29624(0x1aa))/0x5*(parseInt(_0xd29624(0x1a3))/0x6)+-parseInt(_0xd29624(0x196))/0x7+parseInt(_0xd29624(0x193))/0x8*(parseInt(_0xd29624(0x1b5))/0x9);if(_0x396239===_0x4e82ef)break;else _0x3d547e['push'](_0x3d547e['shift']());}catch(_0x251ef0){_0x3d547e['push'](_0x3d547e['shift']());}}}(_0x4a7a,0x34312));import{ISheetPrintManagerService as _0x363b51,ConfirmSheetPrintOperation as _0x400d35,SheetPrintOpenOperation as _0x28db15,CancelSheetPrintOperation as _0x635205,hasPrintFacadePermission as _0x518a53,SheetScreenShotOperation as _0x1dd633,SheetPrintClientService as _0xe4aef0,PrintArea as _0x570dba,PrintFreeze as _0x763eaf,PrintHeaderFooter as _0x44e481,PrintHeaderFooterSymbol as _0x25dc0b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x290211,PaperType as _0x273742,CanceledError as _0x1e40b9}from'@univerjs/core';import{FWorkbook as _0x37c89e,FRange as _0x5788f4}from'@univerjs/sheets/facade';import{FEventName as _0x260bb2,FEnum as _0x2d8504,FUniver as _0x4b52fb}from'@univerjs/core/facade';function _0x4a7a(){const _0xed49f8=['Event','_worksheet','getRangeImage','closePrintDialog','PrintScale','20TSGmKq','beforeCommandExecuted','openPrintDialog','PrintDirection','extend','405703PAAPEP','registerEventHandler','PrintHeaderFooter','getActiveUniverSheet','updatePrintRenderConfig','print','22293ZXMplq','getActiveSheet','BeforeSheetPrintCanceled','saveScreenshotToClipboard','cancel','executeCommand','syncExecuteCommand','onCommandExecuted','updateLayoutConfig','769094eSktWC','_injector','getUnitId','1202706riVRqZ','6544YcXLEL','BeforeSheetPrintOpen','getSheetId','1462853tWHUbx','layoutConfig','SheetPrintOpen','BeforeSheetPrintConfirm','PrintFreeze','_range','PrintArea','SheetPrintConfirmed','get','renderConfig','PrintAlign','fireEvent','SheetPrintCanceled','411174RJWLKg','552644xJgfYK'];_0x4a7a=function(){return _0xed49f8;};return _0x4a7a();}import{PrintAlign as _0x327816,PrintPaperMargin as _0x4f1e5f,PrintScale as _0x18746f,PrintDirection as _0x2ce8fd}from'@univerjs-pro/print';class A extends _0x37c89e{['updatePrintConfig'](_0x4a3277){const _0x393571=_0x348c;return this[_0x393571(0x190)]['get'](_0x363b51)[_0x393571(0x18e)](_0x4a3277),this;}[_0x1da064(0x1b3)](_0xcd0cc){const _0x54659c=_0x1da064;return this[_0x54659c(0x190)][_0x54659c(0x19e)](_0x363b51)['updateRenderConfig'](_0xcd0cc),this;}[_0x1da064(0x1b4)](){const _0x547e1a=_0x1da064;return this[_0x547e1a(0x190)]['get'](_0x290211)[_0x547e1a(0x1bb)](_0x400d35['id']);}[_0x1da064(0x1ac)](){const _0x34376b=_0x1da064;return this[_0x34376b(0x190)][_0x34376b(0x19e)](_0x290211)[_0x34376b(0x1bb)](_0x28db15['id']);}[_0x1da064(0x1a8)](){const _0x6835c3=_0x1da064;return this[_0x6835c3(0x190)][_0x6835c3(0x19e)](_0x290211)['syncExecuteCommand'](_0x635205['id']);}async[_0x1da064(0x1b8)](){const _0x5cd9b6=_0x1da064;return _0x518a53(this[_0x5cd9b6(0x190)])?this[_0x5cd9b6(0x190)][_0x5cd9b6(0x19e)](_0x290211)[_0x5cd9b6(0x1ba)](_0x1dd633['id']):!0x1;}}function _0x348c(_0x45148a,_0x1decce){const _0x4a7afa=_0x4a7a();return _0x348c=function(_0x348c3d,_0x29b2b3){_0x348c3d=_0x348c3d-0x18e;let _0xd0f899=_0x4a7afa[_0x348c3d];return _0xd0f899;},_0x348c(_0x45148a,_0x1decce);}_0x37c89e['extend'](A);class B extends _0x5788f4{['getScreenshot'](){const _0x3ff845=_0x1da064;return _0x518a53(this[_0x3ff845(0x190)])?this[_0x3ff845(0x190)][_0x3ff845(0x19e)](_0xe4aef0)[_0x3ff845(0x1a7)](this['_workbook'][_0x3ff845(0x191)](),this[_0x3ff845(0x1a6)][_0x3ff845(0x195)](),this[_0x3ff845(0x19b)]):!0x1;}}_0x5788f4[_0x1da064(0x1ae)](B);class H{get[_0x1da064(0x194)](){const _0x5e2b8b=_0x1da064;return _0x5e2b8b(0x194);}get[_0x1da064(0x199)](){const _0x40dabe=_0x1da064;return _0x40dabe(0x199);}get[_0x1da064(0x1b7)](){const _0xfdf3d9=_0x1da064;return _0xfdf3d9(0x1b7);}get[_0x1da064(0x198)](){const _0xe8c737=_0x1da064;return _0xe8c737(0x198);}get[_0x1da064(0x19d)](){const _0xd09eb6=_0x1da064;return _0xd09eb6(0x19d);}get[_0x1da064(0x1a2)](){const _0x57648c=_0x1da064;return _0x57648c(0x1a2);}}_0x260bb2[_0x1da064(0x1ae)](H);class U{get[_0x1da064(0x19c)](){return _0x570dba;}get[_0x1da064(0x1a0)](){return _0x327816;}get['PrintPaperSize'](){return _0x273742;}get['PrintPaperMargin'](){return _0x4f1e5f;}get[_0x1da064(0x1a9)](){return _0x18746f;}get[_0x1da064(0x1ad)](){return _0x2ce8fd;}get[_0x1da064(0x19a)](){return _0x763eaf;}get[_0x1da064(0x1b1)](){return _0x44e481;}get['PrintHeaderFooterSymbol'](){return _0x25dc0b;}}_0x2d8504[_0x1da064(0x1ae)](U);class M extends _0x4b52fb{['_initialize'](_0x248fdd){const _0x1ad2e4=_0x1da064,_0x346a9d=_0x248fdd[_0x1ad2e4(0x19e)](_0x290211);this[_0x1ad2e4(0x1b0)](this['Event']['BeforeSheetPrintOpen'],()=>_0x346a9d[_0x1ad2e4(0x1ab)](_0x34080d=>{const _0x3547a8=_0x1ad2e4;if(_0x34080d['id']===_0x28db15['id']){const _0x2810de=this['getActiveUniverSheet']();if(!_0x2810de)return;const _0x4c9667={'workbook':_0x2810de,'worksheet':_0x2810de['getActiveSheet']()};if(_0x4c9667==null)return;if(this[_0x3547a8(0x1a1)](this[_0x3547a8(0x1a5)][_0x3547a8(0x194)],_0x4c9667),_0x4c9667[_0x3547a8(0x1b9)])throw new _0x1e40b9();}})),this[_0x1ad2e4(0x1b0)](this[_0x1ad2e4(0x1a5)]['BeforeSheetPrintConfirm'],()=>_0x346a9d['beforeCommandExecuted'](_0x4e7ca2=>{const _0x206725=_0x1ad2e4;if(_0x4e7ca2['id']===_0x400d35['id']){const _0x481b0c=_0x248fdd[_0x206725(0x19e)](_0x363b51);if(!this[_0x206725(0x1b2)]())return;const _0x49bb65={'layoutConfig':_0x481b0c['layoutConfig'],'renderConfig':_0x481b0c[_0x206725(0x19f)]};if(_0x49bb65==null)return;if(this[_0x206725(0x1a1)](this[_0x206725(0x1a5)][_0x206725(0x199)],_0x49bb65),_0x49bb65[_0x206725(0x1b9)])throw new _0x1e40b9();}})),this[_0x1ad2e4(0x1b0)](this[_0x1ad2e4(0x1a5)][_0x1ad2e4(0x1b7)],()=>_0x346a9d['beforeCommandExecuted'](_0x1178de=>{const _0x46f512=_0x1ad2e4;if(_0x1178de['id']===_0x635205['id']){const _0x301f2d=_0x248fdd[_0x46f512(0x19e)](_0x363b51);if(!this[_0x46f512(0x1b2)]())return;const _0x4706f9={'layoutConfig':_0x301f2d['layoutConfig'],'renderConfig':_0x301f2d['renderConfig']};if(_0x4706f9==null)return;if(this[_0x46f512(0x1a1)](this[_0x46f512(0x1a5)][_0x46f512(0x1b7)],_0x4706f9),_0x4706f9['cancel'])throw new _0x1e40b9();}})),this['registerEventHandler'](this[_0x1ad2e4(0x1a5)][_0x1ad2e4(0x198)],()=>_0x346a9d[_0x1ad2e4(0x1bc)](_0x293768=>{const _0x408561=_0x1ad2e4;if(_0x293768['id']===_0x28db15['id']){const _0x4b253c=this[_0x408561(0x1b2)]();if(!_0x4b253c)return;const _0x30e90b={'workbook':_0x4b253c,'worksheet':_0x4b253c[_0x408561(0x1b6)]()};if(_0x30e90b==null)return;this[_0x408561(0x1a1)](this['Event'][_0x408561(0x198)],_0x30e90b);}})),this[_0x1ad2e4(0x1b0)](this['Event']['SheetPrintConfirmed'],()=>_0x346a9d[_0x1ad2e4(0x1bc)](_0x43145a=>{const _0x4e42d0=_0x1ad2e4;if(_0x43145a['id']===_0x400d35['id']){const _0x5768a0=_0x248fdd[_0x4e42d0(0x19e)](_0x363b51);if(!this[_0x4e42d0(0x1b2)]())return;const _0x20f82d={'layoutConfig':_0x5768a0[_0x4e42d0(0x197)],'renderConfig':_0x5768a0[_0x4e42d0(0x19f)]};if(_0x20f82d==null)return;this[_0x4e42d0(0x1a1)](this[_0x4e42d0(0x1a5)][_0x4e42d0(0x19d)],_0x20f82d);}})),this[_0x1ad2e4(0x1b0)](this['Event'][_0x1ad2e4(0x1a2)],()=>_0x346a9d[_0x1ad2e4(0x1bc)](_0x5c023c=>{const _0x440838=_0x1ad2e4;if(_0x5c023c['id']===_0x635205['id']){const _0x382519=_0x248fdd[_0x440838(0x19e)](_0x363b51);if(!this['getActiveUniverSheet']())return;const _0x4c3e38={'layoutConfig':_0x382519[_0x440838(0x197)],'renderConfig':_0x382519['renderConfig']};if(_0x4c3e38==null)return;this[_0x440838(0x1a1)](this[_0x440838(0x1a5)][_0x440838(0x1a2)],_0x4c3e38);}}));}}_0x4b52fb['extend'](M);
|