@univerjs-pro/sheets-print 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x193794=_0x9c21;(function(_0x3ded7e,_0x53b384){const _0x3cc605=_0x9c21,_0x543d2d=_0x3ded7e();while(!![]){try{const _0x1825fb=-parseInt(_0x3cc605(0x12f))/0x1+-parseInt(_0x3cc605(0x13d))/0x2+parseInt(_0x3cc605(0x117))/0x3*(parseInt(_0x3cc605(0x10c))/0x4)+-parseInt(_0x3cc605(0x12d))/0x5+-parseInt(_0x3cc605(0x143))/0x6+-parseInt(_0x3cc605(0x12c))/0x7*(parseInt(_0x3cc605(0x145))/0x8)+-parseInt(_0x3cc605(0x140))/0x9*(-parseInt(_0x3cc605(0x142))/0xa);if(_0x1825fb===_0x53b384)break;else _0x543d2d['push'](_0x543d2d['shift']());}catch(_0x41d3f1){_0x543d2d['push'](_0x543d2d['shift']());}}}(_0x3f7e,0xc6c7a));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[_0x193794(0x148)]{['updatePrintConfig'](_0x4fcafb){const _0x3d70c5=_0x193794;return this['_injector'][_0x3d70c5(0x146)](e[_0x3d70c5(0x12b)])[_0x3d70c5(0x134)](_0x4fcafb),this;}[_0x193794(0x137)](_0x896f9a){const _0x28a50b=_0x193794;return this[_0x28a50b(0x147)][_0x28a50b(0x146)](e['ISheetPrintManagerService'])[_0x28a50b(0x13c)](_0x896f9a),this;}[_0x193794(0x113)](){const _0x1abf26=_0x193794;return this[_0x1abf26(0x147)][_0x1abf26(0x146)](a[_0x1abf26(0x132)])[_0x1abf26(0x10d)](e['ConfirmSheetPrintOperation']['id']);}[_0x193794(0x131)](){const _0xa3809d=_0x193794;return this['_injector'][_0xa3809d(0x146)](a['ICommandService'])[_0xa3809d(0x10d)](e[_0xa3809d(0x11d)]['id']);}['closePrintDialog'](){const _0x1a43f3=_0x193794;return this[_0x1a43f3(0x147)][_0x1a43f3(0x146)](a[_0x1a43f3(0x132)])[_0x1a43f3(0x10d)](e['CancelSheetPrintOperation']['id']);}async[_0x193794(0x12e)](){const _0x4ab6ee=_0x193794;return e[_0x4ab6ee(0x13a)](this[_0x4ab6ee(0x147)])?this['_injector'][_0x4ab6ee(0x146)](a['ICommandService'])['executeCommand'](e[_0x4ab6ee(0x141)]['id']):!0x1;}}d[_0x193794(0x148)][_0x193794(0x122)](S);class f extends d['FRange']{[_0x193794(0x11f)](){const _0x423522=_0x193794;return e[_0x423522(0x13a)](this[_0x423522(0x147)])?this[_0x423522(0x147)][_0x423522(0x146)](e[_0x423522(0x118)])[_0x423522(0x112)](this[_0x423522(0x124)][_0x423522(0x139)](),this[_0x423522(0x13e)][_0x423522(0x110)](),this[_0x423522(0x125)]):!0x1;}}d['FRange'][_0x193794(0x122)](f);class P{get[_0x193794(0x116)](){const _0x172635=_0x193794;return _0x172635(0x116);}get['BeforeSheetPrintConfirm'](){const _0x2be784=_0x193794;return _0x2be784(0x127);}get[_0x193794(0x11c)](){const _0x1abead=_0x193794;return _0x1abead(0x11c);}get[_0x193794(0x133)](){const _0x599c8f=_0x193794;return _0x599c8f(0x133);}get[_0x193794(0x11e)](){const _0x578d77=_0x193794;return _0x578d77(0x11e);}get[_0x193794(0x144)](){const _0x5f2c5e=_0x193794;return _0x5f2c5e(0x144);}}g[_0x193794(0x10b)][_0x193794(0x122)](P);class u{get[_0x193794(0x13f)](){const _0x2b2ef9=_0x193794;return e[_0x2b2ef9(0x13f)];}get[_0x193794(0x14a)](){const _0x5dc9cf=_0x193794;return c[_0x5dc9cf(0x14a)];}get['PrintPaperSize'](){const _0x249041=_0x193794;return a[_0x249041(0x129)];}get[_0x193794(0x11a)](){return c['PrintPaperMargin'];}get[_0x193794(0x13b)](){return c['PrintScale'];}get[_0x193794(0x115)](){const _0x48218e=_0x193794;return c[_0x48218e(0x115)];}get['PrintFreeze'](){const _0x26bb63=_0x193794;return e[_0x26bb63(0x114)];}get[_0x193794(0x119)](){const _0x2d9fc2=_0x193794;return e[_0x2d9fc2(0x119)];}get[_0x193794(0x121)](){const _0x1d7285=_0x193794;return e[_0x1d7285(0x121)];}}function _0x3f7e(){const _0x18f0e8=['SheetPrintConfirmed','getScreenshot','layoutConfig','PrintHeaderFooterSymbol','extend','beforeCommandExecuted','_workbook','_range','Event','BeforeSheetPrintConfirm','FUniver','PaperType','cancel','ISheetPrintManagerService','7vtLVek','2921490gIlskp','saveScreenshotToClipboard','458891MEZBRH','fireEvent','openPrintDialog','ICommandService','SheetPrintOpen','updateLayoutConfig','onCommandExecuted','CancelSheetPrintOperation','updatePrintRenderConfig','registerEventHandler','getUnitId','hasPrintFacadePermission','PrintScale','updateRenderConfig','1174480gfVtiN','_worksheet','PrintArea','306llzMjO','SheetScreenShotOperation','1004450MAMKLb','231486zhpUKL','SheetPrintCanceled','9756808JCfHZS','get','_injector','FWorkbook','_initialize','PrintAlign','FEventName','4hBFuYh','syncExecuteCommand','getActiveSheet','renderConfig','getSheetId','FEnum','getRangeImage','print','PrintFreeze','PrintDirection','BeforeSheetPrintOpen','863049StWrhl','SheetPrintClientService','PrintHeaderFooter','PrintPaperMargin','CanceledError','BeforeSheetPrintCanceled','SheetPrintOpenOperation'];_0x3f7e=function(){return _0x18f0e8;};return _0x3f7e();}g[_0x193794(0x111)][_0x193794(0x122)](u);class l extends g[_0x193794(0x128)]{[_0x193794(0x149)](_0x1e2fbb){const _0x27263e=_0x193794,_0x115ccf=_0x1e2fbb[_0x27263e(0x146)](a[_0x27263e(0x132)]);this['registerEventHandler'](this['Event'][_0x27263e(0x116)],()=>_0x115ccf[_0x27263e(0x123)](_0x4a4eed=>{const _0x316b59=_0x27263e;if(_0x4a4eed['id']===e[_0x316b59(0x11d)]['id']){const _0x42378e=this['getActiveUniverSheet']();if(!_0x42378e)return;const _0x5ce588={'workbook':_0x42378e,'worksheet':_0x42378e['getActiveSheet']()};if(_0x5ce588==null)return;if(this[_0x316b59(0x130)](this[_0x316b59(0x126)][_0x316b59(0x116)],_0x5ce588),_0x5ce588[_0x316b59(0x12a)])throw new a[(_0x316b59(0x11b))]();}})),this[_0x27263e(0x138)](this[_0x27263e(0x126)][_0x27263e(0x127)],()=>_0x115ccf[_0x27263e(0x123)](_0x3db944=>{const _0x1f0a8e=_0x27263e;if(_0x3db944['id']===e['ConfirmSheetPrintOperation']['id']){const _0x322abb=_0x1e2fbb[_0x1f0a8e(0x146)](e[_0x1f0a8e(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x13155d={'layoutConfig':_0x322abb['layoutConfig'],'renderConfig':_0x322abb[_0x1f0a8e(0x10f)]};if(_0x13155d==null)return;if(this['fireEvent'](this['Event'][_0x1f0a8e(0x127)],_0x13155d),_0x13155d[_0x1f0a8e(0x12a)])throw new a['CanceledError']();}})),this[_0x27263e(0x138)](this[_0x27263e(0x126)][_0x27263e(0x11c)],()=>_0x115ccf[_0x27263e(0x123)](_0x2165b2=>{const _0x379c90=_0x27263e;if(_0x2165b2['id']===e[_0x379c90(0x136)]['id']){const _0x5ea5c5=_0x1e2fbb[_0x379c90(0x146)](e[_0x379c90(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x2cd71e={'layoutConfig':_0x5ea5c5['layoutConfig'],'renderConfig':_0x5ea5c5[_0x379c90(0x10f)]};if(_0x2cd71e==null)return;if(this[_0x379c90(0x130)](this['Event'][_0x379c90(0x11c)],_0x2cd71e),_0x2cd71e[_0x379c90(0x12a)])throw new a[(_0x379c90(0x11b))]();}})),this[_0x27263e(0x138)](this[_0x27263e(0x126)][_0x27263e(0x133)],()=>_0x115ccf[_0x27263e(0x135)](_0x385faa=>{const _0x57d1a9=_0x27263e;if(_0x385faa['id']===e['SheetPrintOpenOperation']['id']){const _0x5b7da2=this['getActiveUniverSheet']();if(!_0x5b7da2)return;const _0x139f6a={'workbook':_0x5b7da2,'worksheet':_0x5b7da2[_0x57d1a9(0x10e)]()};if(_0x139f6a==null)return;this[_0x57d1a9(0x130)](this[_0x57d1a9(0x126)][_0x57d1a9(0x133)],_0x139f6a);}})),this[_0x27263e(0x138)](this[_0x27263e(0x126)][_0x27263e(0x11e)],()=>_0x115ccf['onCommandExecuted'](_0x44a924=>{const _0x34be9b=_0x27263e;if(_0x44a924['id']===e['ConfirmSheetPrintOperation']['id']){const _0x232e85=_0x1e2fbb[_0x34be9b(0x146)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x472742={'layoutConfig':_0x232e85['layoutConfig'],'renderConfig':_0x232e85['renderConfig']};if(_0x472742==null)return;this[_0x34be9b(0x130)](this[_0x34be9b(0x126)][_0x34be9b(0x11e)],_0x472742);}})),this[_0x27263e(0x138)](this['Event'][_0x27263e(0x144)],()=>_0x115ccf['onCommandExecuted'](_0x544f11=>{const _0x1dd048=_0x27263e;if(_0x544f11['id']===e[_0x1dd048(0x136)]['id']){const _0x19ca95=_0x1e2fbb[_0x1dd048(0x146)](e[_0x1dd048(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x48ae96={'layoutConfig':_0x19ca95[_0x1dd048(0x120)],'renderConfig':_0x19ca95[_0x1dd048(0x10f)]};if(_0x48ae96==null)return;this[_0x1dd048(0x130)](this[_0x1dd048(0x126)]['SheetPrintCanceled'],_0x48ae96);}}));}}function _0x9c21(_0x1066fd,_0x4e3b0d){_0x1066fd=_0x1066fd-0x10b;const _0x3f7e35=_0x3f7e();let _0x9c210f=_0x3f7e35[_0x1066fd];return _0x9c210f;}g[_0x193794(0x128)]['extend'](l);
|