@univerjs-pro/sheets-print 0.7.0-nightly.202505031606 → 0.7.0-nightly.202505041606
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +37 -37
- 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/en-US.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/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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x2596d4=_0x4686;(function(_0xd61aa8,_0x413b2d){const _0x9e94ae=_0x4686,_0x585408=_0xd61aa8();while(!![]){try{const _0x293aef=-parseInt(_0x9e94ae(0x1d2))/0x1*(parseInt(_0x9e94ae(0x1a1))/0x2)+-parseInt(_0x9e94ae(0x1b7))/0x3*(-parseInt(_0x9e94ae(0x1a6))/0x4)+parseInt(_0x9e94ae(0x1b4))/0x5+-parseInt(_0x9e94ae(0x1c8))/0x6*(-parseInt(_0x9e94ae(0x1d4))/0x7)+parseInt(_0x9e94ae(0x1da))/0x8+parseInt(_0x9e94ae(0x1be))/0x9+-parseInt(_0x9e94ae(0x1b1))/0xa;if(_0x293aef===_0x413b2d)break;else _0x585408['push'](_0x585408['shift']());}catch(_0x4980cf){_0x585408['push'](_0x585408['shift']());}}}(_0x227f,0x8c91c));const e=require(_0x2596d4(0x1a5)),a=require(_0x2596d4(0x1b9)),d=require(_0x2596d4(0x1ba)),g=require(_0x2596d4(0x1cd)),c=require('@univerjs-pro/print');function _0x227f(){const _0x1e82a9=['@univerjs/core/facade','FEventName','extend','CanceledError','FWorkbook','1pstHab','ConfirmSheetPrintOperation','952091yKAQAe','onCommandExecuted','getUnitId','PrintPaperMargin','CancelSheetPrintOperation','getActiveSheet','4330864XVnfpH','saveScreenshotToClipboard','beforeCommandExecuted','BeforeSheetPrintOpen','getActiveUniverSheet','SheetPrintCanceled','_injector','PrintScale','PrintHeaderFooter','PrintArea','SheetPrintOpenOperation','1724744CvfuuF','closePrintDialog','get','renderConfig','@univerjs-pro/sheets-print','4BIaQvT','ICommandService','ISheetPrintManagerService','FUniver','layoutConfig','BeforeSheetPrintCanceled','syncExecuteCommand','print','PrintPaperSize','getSheetId','SheetPrintOpen','24714020gHVbER','SheetPrintConfirmed','PrintDirection','4658390igpOOA','_worksheet','Event','2993277gMxXOa','_workbook','@univerjs/core','@univerjs/sheets/facade','updateLayoutConfig','FRange','updatePrintConfig','9276408wNXTtC','cancel','_initialize','getRangeImage','PrintHeaderFooterSymbol','fireEvent','getScreenshot','PrintFreeze','registerEventHandler','BeforeSheetPrintConfirm','18BYISRF','SheetPrintClientService','SheetScreenShotOperation','executeCommand','PaperType'];_0x227f=function(){return _0x1e82a9;};return _0x227f();}class S extends d[_0x2596d4(0x1d1)]{[_0x2596d4(0x1bd)](_0x30978d){const _0x5b5638=_0x2596d4;return this[_0x5b5638(0x19c)][_0x5b5638(0x1a3)](e[_0x5b5638(0x1a8)])[_0x5b5638(0x1bb)](_0x30978d),this;}['updatePrintRenderConfig'](_0x46ce09){const _0x36f8e0=_0x2596d4;return this[_0x36f8e0(0x19c)][_0x36f8e0(0x1a3)](e['ISheetPrintManagerService'])['updateRenderConfig'](_0x46ce09),this;}[_0x2596d4(0x1ad)](){const _0x43d3a6=_0x2596d4;return this[_0x43d3a6(0x19c)]['get'](a[_0x43d3a6(0x1a7)])['syncExecuteCommand'](e[_0x43d3a6(0x1d3)]['id']);}['openPrintDialog'](){const _0x271651=_0x2596d4;return this[_0x271651(0x19c)]['get'](a[_0x271651(0x1a7)])[_0x271651(0x1ac)](e[_0x271651(0x1a0)]['id']);}[_0x2596d4(0x1a2)](){const _0x3ba275=_0x2596d4;return this['_injector'][_0x3ba275(0x1a3)](a['ICommandService'])[_0x3ba275(0x1ac)](e[_0x3ba275(0x1d8)]['id']);}async[_0x2596d4(0x197)](){const _0x2f732a=_0x2596d4;return e['hasPrintFacadePermission'](this[_0x2f732a(0x19c)])?this[_0x2f732a(0x19c)]['get'](a[_0x2f732a(0x1a7)])[_0x2f732a(0x1cb)](e[_0x2f732a(0x1ca)]['id']):!0x1;}}d[_0x2596d4(0x1d1)][_0x2596d4(0x1cf)](S);class f extends d[_0x2596d4(0x1bc)]{[_0x2596d4(0x1c4)](){const _0x383536=_0x2596d4;return e['hasPrintFacadePermission'](this[_0x383536(0x19c)])?this[_0x383536(0x19c)][_0x383536(0x1a3)](e[_0x383536(0x1c9)])[_0x383536(0x1c1)](this[_0x383536(0x1b8)][_0x383536(0x1d6)](),this[_0x383536(0x1b5)][_0x383536(0x1af)](),this['_range']):!0x1;}}d[_0x2596d4(0x1bc)][_0x2596d4(0x1cf)](f);class P{get[_0x2596d4(0x199)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x13c52f=_0x2596d4;return _0x13c52f(0x1c7);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x2596d4(0x1b0)](){const _0x28a36d=_0x2596d4;return _0x28a36d(0x1b0);}get[_0x2596d4(0x1b2)](){const _0xec8336=_0x2596d4;return _0xec8336(0x1b2);}get['SheetPrintCanceled'](){const _0x1afb09=_0x2596d4;return _0x1afb09(0x19b);}}g[_0x2596d4(0x1ce)][_0x2596d4(0x1cf)](P);class u{get[_0x2596d4(0x19f)](){const _0x22fed3=_0x2596d4;return e[_0x22fed3(0x19f)];}get['PrintAlign'](){return c['PrintAlign'];}get[_0x2596d4(0x1ae)](){const _0x3a05a6=_0x2596d4;return a[_0x3a05a6(0x1cc)];}get[_0x2596d4(0x1d7)](){const _0x3ce95d=_0x2596d4;return c[_0x3ce95d(0x1d7)];}get[_0x2596d4(0x19d)](){return c['PrintScale'];}get[_0x2596d4(0x1b3)](){const _0x50aef9=_0x2596d4;return c[_0x50aef9(0x1b3)];}get[_0x2596d4(0x1c5)](){const _0x58b2a4=_0x2596d4;return e[_0x58b2a4(0x1c5)];}get[_0x2596d4(0x19e)](){const _0x8f71d5=_0x2596d4;return e[_0x8f71d5(0x19e)];}get[_0x2596d4(0x1c2)](){return e['PrintHeaderFooterSymbol'];}}g['FEnum'][_0x2596d4(0x1cf)](u);class l extends g[_0x2596d4(0x1a9)]{[_0x2596d4(0x1c0)](_0x5812d1){const _0x53dacc=_0x2596d4,_0x1658b5=_0x5812d1[_0x53dacc(0x1a3)](a['ICommandService']);this[_0x53dacc(0x1c6)](this['Event'][_0x53dacc(0x199)],()=>_0x1658b5[_0x53dacc(0x198)](_0x1fc725=>{const _0x20a657=_0x53dacc;if(_0x1fc725['id']===e[_0x20a657(0x1a0)]['id']){const _0x554ebf=this[_0x20a657(0x19a)]();if(!_0x554ebf)return;const _0x4379f9={'workbook':_0x554ebf,'worksheet':_0x554ebf[_0x20a657(0x1d9)]()};if(_0x4379f9==null)return;if(this['fireEvent'](this[_0x20a657(0x1b6)][_0x20a657(0x199)],_0x4379f9),_0x4379f9['cancel'])throw new a[(_0x20a657(0x1d0))]();}})),this[_0x53dacc(0x1c6)](this[_0x53dacc(0x1b6)][_0x53dacc(0x1c7)],()=>_0x1658b5[_0x53dacc(0x198)](_0x1ddd0e=>{const _0x545cad=_0x53dacc;if(_0x1ddd0e['id']===e[_0x545cad(0x1d3)]['id']){const _0x1f4b31=_0x5812d1['get'](e[_0x545cad(0x1a8)]);if(!this[_0x545cad(0x19a)]())return;const _0x1f63da={'layoutConfig':_0x1f4b31['layoutConfig'],'renderConfig':_0x1f4b31[_0x545cad(0x1a4)]};if(_0x1f63da==null)return;if(this[_0x545cad(0x1c3)](this['Event'][_0x545cad(0x1c7)],_0x1f63da),_0x1f63da[_0x545cad(0x1bf)])throw new a[(_0x545cad(0x1d0))]();}})),this[_0x53dacc(0x1c6)](this[_0x53dacc(0x1b6)][_0x53dacc(0x1ab)],()=>_0x1658b5[_0x53dacc(0x198)](_0x2af777=>{const _0x50c396=_0x53dacc;if(_0x2af777['id']===e[_0x50c396(0x1d8)]['id']){const _0x3d62c4=_0x5812d1[_0x50c396(0x1a3)](e[_0x50c396(0x1a8)]);if(!this[_0x50c396(0x19a)]())return;const _0xcfa3a3={'layoutConfig':_0x3d62c4[_0x50c396(0x1aa)],'renderConfig':_0x3d62c4[_0x50c396(0x1a4)]};if(_0xcfa3a3==null)return;if(this[_0x50c396(0x1c3)](this['Event'][_0x50c396(0x1ab)],_0xcfa3a3),_0xcfa3a3[_0x50c396(0x1bf)])throw new a[(_0x50c396(0x1d0))]();}})),this[_0x53dacc(0x1c6)](this[_0x53dacc(0x1b6)]['SheetPrintOpen'],()=>_0x1658b5['onCommandExecuted'](_0x33db66=>{const _0x15b3ef=_0x53dacc;if(_0x33db66['id']===e[_0x15b3ef(0x1a0)]['id']){const _0x87bd85=this[_0x15b3ef(0x19a)]();if(!_0x87bd85)return;const _0xc21808={'workbook':_0x87bd85,'worksheet':_0x87bd85[_0x15b3ef(0x1d9)]()};if(_0xc21808==null)return;this[_0x15b3ef(0x1c3)](this[_0x15b3ef(0x1b6)][_0x15b3ef(0x1b0)],_0xc21808);}})),this[_0x53dacc(0x1c6)](this['Event'][_0x53dacc(0x1b2)],()=>_0x1658b5[_0x53dacc(0x1d5)](_0x14e8fb=>{const _0x1eaf96=_0x53dacc;if(_0x14e8fb['id']===e[_0x1eaf96(0x1d3)]['id']){const _0x381baf=_0x5812d1[_0x1eaf96(0x1a3)](e[_0x1eaf96(0x1a8)]);if(!this[_0x1eaf96(0x19a)]())return;const _0xd8738c={'layoutConfig':_0x381baf['layoutConfig'],'renderConfig':_0x381baf['renderConfig']};if(_0xd8738c==null)return;this[_0x1eaf96(0x1c3)](this[_0x1eaf96(0x1b6)]['SheetPrintConfirmed'],_0xd8738c);}})),this[_0x53dacc(0x1c6)](this[_0x53dacc(0x1b6)][_0x53dacc(0x19b)],()=>_0x1658b5[_0x53dacc(0x1d5)](_0x3c490c=>{const _0x2591d9=_0x53dacc;if(_0x3c490c['id']===e['CancelSheetPrintOperation']['id']){const _0x321457=_0x5812d1['get'](e[_0x2591d9(0x1a8)]);if(!this[_0x2591d9(0x19a)]())return;const _0xbcd952={'layoutConfig':_0x321457[_0x2591d9(0x1aa)],'renderConfig':_0x321457['renderConfig']};if(_0xbcd952==null)return;this[_0x2591d9(0x1c3)](this[_0x2591d9(0x1b6)]['SheetPrintCanceled'],_0xbcd952);}}));}}function _0x4686(_0x5b3218,_0x476aa9){const _0x227f0a=_0x227f();return _0x4686=function(_0x4686f0,_0x93da1c){_0x4686f0=_0x4686f0-0x197;let _0x158c9d=_0x227f0a[_0x4686f0];return _0x158c9d;},_0x4686(_0x5b3218,_0x476aa9);}g[_0x2596d4(0x1a9)][_0x2596d4(0x1cf)](l);
|