@univerjs-pro/sheets-print 0.10.10 → 0.10.11-nightly.202510220308
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 +18 -18
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1cec58=_0x33ff;(function(_0x50cd78,_0x32e1e8){const _0x3f2a16=_0x33ff,_0x3647c3=_0x50cd78();while(!![]){try{const _0x4a6026=-parseInt(_0x3f2a16(0x169))/0x1*(parseInt(_0x3f2a16(0x165))/0x2)+parseInt(_0x3f2a16(0x135))/0x3*(parseInt(_0x3f2a16(0x12b))/0x4)+-parseInt(_0x3f2a16(0x14c))/0x5*(parseInt(_0x3f2a16(0x159))/0x6)+-parseInt(_0x3f2a16(0x166))/0x7*(parseInt(_0x3f2a16(0x150))/0x8)+-parseInt(_0x3f2a16(0x167))/0x9+parseInt(_0x3f2a16(0x15c))/0xa*(parseInt(_0x3f2a16(0x131))/0xb)+parseInt(_0x3f2a16(0x14e))/0xc;if(_0x4a6026===_0x32e1e8)break;else _0x3647c3['push'](_0x3647c3['shift']());}catch(_0x3b603e){_0x3647c3['push'](_0x3647c3['shift']());}}}(_0x217b,0x2ee86));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']{[_0x1cec58(0x14a)](_0x3b103a){const _0x24fa3d=_0x1cec58;return this[_0x24fa3d(0x15e)]['get'](e[_0x24fa3d(0x149)])['updateLayoutConfig'](_0x3b103a),this;}[_0x1cec58(0x13c)](_0xaf6f7c){const _0x479392=_0x1cec58;return this['_injector'][_0x479392(0x153)](e[_0x479392(0x149)])[_0x479392(0x168)](_0xaf6f7c),this;}[_0x1cec58(0x156)](){const _0x10db1c=_0x1cec58;return this['_injector'][_0x10db1c(0x153)](a[_0x10db1c(0x12e)])[_0x10db1c(0x133)](e[_0x10db1c(0x13d)]['id']);}['openPrintDialog'](){const _0x419d73=_0x1cec58;return this[_0x419d73(0x15e)][_0x419d73(0x153)](a[_0x419d73(0x12e)])[_0x419d73(0x133)](e[_0x419d73(0x163)]['id']);}[_0x1cec58(0x137)](){const _0x109fc4=_0x1cec58;return this[_0x109fc4(0x15e)][_0x109fc4(0x153)](a[_0x109fc4(0x12e)])[_0x109fc4(0x133)](e[_0x109fc4(0x154)]['id']);}async[_0x1cec58(0x13e)](){const _0x271237=_0x1cec58;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x271237(0x15e)][_0x271237(0x153)](a[_0x271237(0x12e)])[_0x271237(0x15a)](e[_0x271237(0x14d)]['id']):!0x1;}}d['FWorkbook']['extend'](S);class f extends d[_0x1cec58(0x148)]{[_0x1cec58(0x134)](){const _0x27f4e1=_0x1cec58;return e[_0x27f4e1(0x155)](this['_injector'])?this[_0x27f4e1(0x15e)][_0x27f4e1(0x153)](e[_0x27f4e1(0x142)])[_0x27f4e1(0x12f)](this['_workbook'][_0x27f4e1(0x144)](),this[_0x27f4e1(0x138)][_0x27f4e1(0x16a)](),this['_range']):!0x1;}}d['FRange'][_0x1cec58(0x147)](f);function _0x217b(){const _0x133a24=['PrintPaperMargin','fireEvent','18BMBOlC','executeCommand','registerEventHandler','3590WncDaU','PrintFreeze','_injector','BeforeSheetPrintCanceled','Event','beforeCommandExecuted','SheetPrintConfirmed','SheetPrintOpenOperation','_initialize','394uBVajy','759619VUYjHo','3021264KSXsFw','updateRenderConfig','373xVDpHI','getSheetId','cancel','getActiveSheet','32dfQgrh','SheetPrintOpen','FUniver','ICommandService','getRangeImage','SheetPrintCanceled','5995GZVzDu','layoutConfig','syncExecuteCommand','getScreenshot','16947WMTyFx','getActiveUniverSheet','closePrintDialog','_worksheet','onCommandExecuted','CanceledError','PrintHeaderFooter','updatePrintRenderConfig','ConfirmSheetPrintOperation','saveScreenshotToClipboard','renderConfig','PrintScale','PrintHeaderFooterSymbol','SheetPrintClientService','PrintArea','getUnitId','PrintPaperSize','BeforeSheetPrintOpen','extend','FRange','ISheetPrintManagerService','updatePrintConfig','PrintAlign','252165FKqzWt','SheetScreenShotOperation','10047768wemZNt','PrintDirection','24QNXqTO','BeforeSheetPrintConfirm','PaperType','get','CancelSheetPrintOperation','hasPrintFacadePermission','print'];_0x217b=function(){return _0x133a24;};return _0x217b();}class P{get[_0x1cec58(0x146)](){const _0xc24c67=_0x1cec58;return _0xc24c67(0x146);}get[_0x1cec58(0x151)](){const _0x32f48b=_0x1cec58;return _0x32f48b(0x151);}get[_0x1cec58(0x15f)](){return'BeforeSheetPrintCanceled';}get[_0x1cec58(0x12c)](){const _0x15c946=_0x1cec58;return _0x15c946(0x12c);}get[_0x1cec58(0x162)](){const _0x5c62d6=_0x1cec58;return _0x5c62d6(0x162);}get[_0x1cec58(0x130)](){const _0x374405=_0x1cec58;return _0x374405(0x130);}}function _0x33ff(_0x4893ee,_0x282e0a){const _0x217bf7=_0x217b();return _0x33ff=function(_0x33ff02,_0x4ab547){_0x33ff02=_0x33ff02-0x12b;let _0x1232aa=_0x217bf7[_0x33ff02];return _0x1232aa;},_0x33ff(_0x4893ee,_0x282e0a);}g['FEventName'][_0x1cec58(0x147)](P);class u{get[_0x1cec58(0x143)](){return e['PrintArea'];}get['PrintAlign'](){const _0x51ae35=_0x1cec58;return c[_0x51ae35(0x14b)];}get[_0x1cec58(0x145)](){const _0x45900a=_0x1cec58;return a[_0x45900a(0x152)];}get['PrintPaperMargin'](){const _0x46191e=_0x1cec58;return c[_0x46191e(0x157)];}get['PrintScale'](){const _0x4a26a5=_0x1cec58;return c[_0x4a26a5(0x140)];}get['PrintDirection'](){const _0x3d4b10=_0x1cec58;return c[_0x3d4b10(0x14f)];}get['PrintFreeze'](){const _0x373d5f=_0x1cec58;return e[_0x373d5f(0x15d)];}get[_0x1cec58(0x13b)](){return e['PrintHeaderFooter'];}get[_0x1cec58(0x141)](){const _0x5ae13d=_0x1cec58;return e[_0x5ae13d(0x141)];}}g['FEnum']['extend'](u);class l extends g[_0x1cec58(0x12d)]{[_0x1cec58(0x164)](_0x2c17c5){const _0x3d9b9d=_0x1cec58,_0x601616=_0x2c17c5[_0x3d9b9d(0x153)](a[_0x3d9b9d(0x12e)]);this[_0x3d9b9d(0x15b)](this[_0x3d9b9d(0x160)]['BeforeSheetPrintOpen'],()=>_0x601616[_0x3d9b9d(0x161)](_0x2876fa=>{const _0xdf8c43=_0x3d9b9d;if(_0x2876fa['id']===e[_0xdf8c43(0x163)]['id']){const _0x596ac6=this[_0xdf8c43(0x136)]();if(!_0x596ac6)return;const _0x27be6a={'workbook':_0x596ac6,'worksheet':_0x596ac6[_0xdf8c43(0x16c)]()};if(_0x27be6a==null)return;if(this[_0xdf8c43(0x158)](this[_0xdf8c43(0x160)][_0xdf8c43(0x146)],_0x27be6a),_0x27be6a['cancel'])throw new a[(_0xdf8c43(0x13a))]();}})),this[_0x3d9b9d(0x15b)](this[_0x3d9b9d(0x160)][_0x3d9b9d(0x151)],()=>_0x601616[_0x3d9b9d(0x161)](_0xbdabb=>{const _0x180ab0=_0x3d9b9d;if(_0xbdabb['id']===e['ConfirmSheetPrintOperation']['id']){const _0x53bf70=_0x2c17c5['get'](e['ISheetPrintManagerService']);if(!this[_0x180ab0(0x136)]())return;const _0x12d624={'layoutConfig':_0x53bf70[_0x180ab0(0x132)],'renderConfig':_0x53bf70['renderConfig']};if(_0x12d624==null)return;if(this[_0x180ab0(0x158)](this[_0x180ab0(0x160)][_0x180ab0(0x151)],_0x12d624),_0x12d624[_0x180ab0(0x16b)])throw new a[(_0x180ab0(0x13a))]();}})),this['registerEventHandler'](this['Event'][_0x3d9b9d(0x15f)],()=>_0x601616[_0x3d9b9d(0x161)](_0x15c2a7=>{const _0x11e648=_0x3d9b9d;if(_0x15c2a7['id']===e[_0x11e648(0x154)]['id']){const _0x4e5ac9=_0x2c17c5['get'](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x4b0d92={'layoutConfig':_0x4e5ac9[_0x11e648(0x132)],'renderConfig':_0x4e5ac9[_0x11e648(0x13f)]};if(_0x4b0d92==null)return;if(this['fireEvent'](this['Event']['BeforeSheetPrintCanceled'],_0x4b0d92),_0x4b0d92[_0x11e648(0x16b)])throw new a[(_0x11e648(0x13a))]();}})),this[_0x3d9b9d(0x15b)](this[_0x3d9b9d(0x160)]['SheetPrintOpen'],()=>_0x601616[_0x3d9b9d(0x139)](_0x181702=>{const _0x45b161=_0x3d9b9d;if(_0x181702['id']===e[_0x45b161(0x163)]['id']){const _0x176ce3=this[_0x45b161(0x136)]();if(!_0x176ce3)return;const _0x1ecd16={'workbook':_0x176ce3,'worksheet':_0x176ce3[_0x45b161(0x16c)]()};if(_0x1ecd16==null)return;this[_0x45b161(0x158)](this[_0x45b161(0x160)][_0x45b161(0x12c)],_0x1ecd16);}})),this[_0x3d9b9d(0x15b)](this['Event'][_0x3d9b9d(0x162)],()=>_0x601616[_0x3d9b9d(0x139)](_0x4c52f1=>{const _0x243500=_0x3d9b9d;if(_0x4c52f1['id']===e[_0x243500(0x13d)]['id']){const _0x3ff2f8=_0x2c17c5[_0x243500(0x153)](e[_0x243500(0x149)]);if(!this[_0x243500(0x136)]())return;const _0x363f51={'layoutConfig':_0x3ff2f8['layoutConfig'],'renderConfig':_0x3ff2f8['renderConfig']};if(_0x363f51==null)return;this[_0x243500(0x158)](this[_0x243500(0x160)][_0x243500(0x162)],_0x363f51);}})),this[_0x3d9b9d(0x15b)](this[_0x3d9b9d(0x160)][_0x3d9b9d(0x130)],()=>_0x601616[_0x3d9b9d(0x139)](_0x263386=>{const _0xdcf596=_0x3d9b9d;if(_0x263386['id']===e[_0xdcf596(0x154)]['id']){const _0x14a62c=_0x2c17c5[_0xdcf596(0x153)](e['ISheetPrintManagerService']);if(!this[_0xdcf596(0x136)]())return;const _0x1f1818={'layoutConfig':_0x14a62c['layoutConfig'],'renderConfig':_0x14a62c[_0xdcf596(0x13f)]};if(_0x1f1818==null)return;this[_0xdcf596(0x158)](this[_0xdcf596(0x160)][_0xdcf596(0x130)],_0x1f1818);}}));}}g['FUniver']['extend'](l);
|