@univerjs-pro/sheets-print 0.14.0-insiders.20251222-4efcfbb → 0.14.0-insiders.20251227-b250a8d
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 +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/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 +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x56ceb5=_0x253e;(function(_0x2e0aad,_0x1555d3){const _0x65d525=_0x253e,_0x186368=_0x2e0aad();while(!![]){try{const _0x2d92d9=parseInt(_0x65d525(0x153))/0x1+-parseInt(_0x65d525(0x13c))/0x2*(-parseInt(_0x65d525(0x163))/0x3)+parseInt(_0x65d525(0x155))/0x4*(-parseInt(_0x65d525(0x13f))/0x5)+-parseInt(_0x65d525(0x146))/0x6*(-parseInt(_0x65d525(0x14c))/0x7)+parseInt(_0x65d525(0x15a))/0x8*(-parseInt(_0x65d525(0x156))/0x9)+-parseInt(_0x65d525(0x139))/0xa*(parseInt(_0x65d525(0x14f))/0xb)+parseInt(_0x65d525(0x148))/0xc;if(_0x2d92d9===_0x1555d3)break;else _0x186368['push'](_0x186368['shift']());}catch(_0x5c70cb){_0x186368['push'](_0x186368['shift']());}}}(_0x5866,0x3930b));function _0x253e(_0x43f901,_0x4de806){_0x43f901=_0x43f901-0x126;const _0x5866fe=_0x5866();let _0x253e39=_0x5866fe[_0x43f901];return _0x253e39;}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[_0x56ceb5(0x143)]{[_0x56ceb5(0x138)](_0x37eeaf){const _0x345820=_0x56ceb5;return this[_0x345820(0x151)][_0x345820(0x140)](e['ISheetPrintManagerService'])[_0x345820(0x15c)](_0x37eeaf),this;}[_0x56ceb5(0x152)](_0x3c1381){const _0x57331a=_0x56ceb5;return this[_0x57331a(0x151)][_0x57331a(0x140)](e['ISheetPrintManagerService'])[_0x57331a(0x145)](_0x3c1381),this;}[_0x56ceb5(0x134)](){const _0x51f4c1=_0x56ceb5;return this[_0x51f4c1(0x151)]['get'](a[_0x51f4c1(0x133)])[_0x51f4c1(0x12e)](e[_0x51f4c1(0x12a)]['id']);}[_0x56ceb5(0x12b)](){const _0x21ba9c=_0x56ceb5;return this[_0x21ba9c(0x151)][_0x21ba9c(0x140)](a[_0x21ba9c(0x133)])['syncExecuteCommand'](e['SheetPrintOpenOperation']['id']);}[_0x56ceb5(0x162)](){const _0x430b08=_0x56ceb5;return this[_0x430b08(0x151)][_0x430b08(0x140)](a['ICommandService'])[_0x430b08(0x12e)](e[_0x430b08(0x13e)]['id']);}async['saveScreenshotToClipboard'](){const _0x15c010=_0x56ceb5;return e[_0x15c010(0x135)](this[_0x15c010(0x151)])?this[_0x15c010(0x151)][_0x15c010(0x140)](a[_0x15c010(0x133)])[_0x15c010(0x13a)](e[_0x15c010(0x150)]['id']):!0x1;}}function _0x5866(){const _0x5ac7e8=['getActiveUniverSheet','updatePrintConfig','61780ofWqEZ','executeCommand','PrintFreeze','464098zxLKGX','BeforeSheetPrintOpen','CancelSheetPrintOperation','110NAosyv','get','FUniver','onCommandExecuted','FWorkbook','BeforeSheetPrintConfirm','updateRenderConfig','6sbVKMm','SheetPrintCanceled','6190104CFwJmH','beforeCommandExecuted','getSheetId','ISheetPrintManagerService','484631tVjsQY','Event','registerEventHandler','473wcuxKq','SheetScreenShotOperation','_injector','updatePrintRenderConfig','6942ezQkrg','FEnum','39972gBObel','9fYdRor','layoutConfig','_initialize','getActiveSheet','834520CFAzti','SheetPrintOpenOperation','updateLayoutConfig','PrintPaperMargin','cancel','FRange','fireEvent','PrintAlign','closePrintDialog','3mxXqac','CanceledError','SheetPrintConfirmed','PrintScale','FEventName','_range','SheetPrintOpen','PaperType','PrintHeaderFooterSymbol','PrintPaperSize','ConfirmSheetPrintOperation','openPrintDialog','_workbook','getUnitId','syncExecuteCommand','getScreenshot','BeforeSheetPrintCanceled','getRangeImage','extend','ICommandService','print','hasPrintFacadePermission','SheetPrintClientService'];_0x5866=function(){return _0x5ac7e8;};return _0x5866();}d[_0x56ceb5(0x143)][_0x56ceb5(0x132)](S);class f extends d['FRange']{[_0x56ceb5(0x12f)](){const _0x24ae9c=_0x56ceb5;return e[_0x24ae9c(0x135)](this[_0x24ae9c(0x151)])?this[_0x24ae9c(0x151)]['get'](e[_0x24ae9c(0x136)])[_0x24ae9c(0x131)](this[_0x24ae9c(0x12c)][_0x24ae9c(0x12d)](),this['_worksheet'][_0x24ae9c(0x14a)](),this[_0x24ae9c(0x168)]):!0x1;}}d[_0x56ceb5(0x15f)][_0x56ceb5(0x132)](f);class P{get[_0x56ceb5(0x13d)](){const _0x4e9494=_0x56ceb5;return _0x4e9494(0x13d);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x56ceb5(0x130)](){return'BeforeSheetPrintCanceled';}get[_0x56ceb5(0x126)](){const _0x36aabe=_0x56ceb5;return _0x36aabe(0x126);}get[_0x56ceb5(0x165)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x34cd9d=_0x56ceb5;return _0x34cd9d(0x147);}}g[_0x56ceb5(0x167)][_0x56ceb5(0x132)](P);class u{get['PrintArea'](){return e['PrintArea'];}get[_0x56ceb5(0x161)](){const _0x35d5a2=_0x56ceb5;return c[_0x35d5a2(0x161)];}get[_0x56ceb5(0x129)](){const _0x10a8b6=_0x56ceb5;return a[_0x10a8b6(0x127)];}get['PrintPaperMargin'](){const _0x22e707=_0x56ceb5;return c[_0x22e707(0x15d)];}get['PrintScale'](){const _0x32448d=_0x56ceb5;return c[_0x32448d(0x166)];}get['PrintDirection'](){return c['PrintDirection'];}get[_0x56ceb5(0x13b)](){const _0x51aa9e=_0x56ceb5;return e[_0x51aa9e(0x13b)];}get['PrintHeaderFooter'](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x1f485c=_0x56ceb5;return e[_0x1f485c(0x128)];}}g[_0x56ceb5(0x154)]['extend'](u);class l extends g[_0x56ceb5(0x141)]{[_0x56ceb5(0x158)](_0x2a0a48){const _0x46f551=_0x56ceb5,_0x30fd56=_0x2a0a48[_0x46f551(0x140)](a['ICommandService']);this[_0x46f551(0x14e)](this[_0x46f551(0x14d)][_0x46f551(0x13d)],()=>_0x30fd56['beforeCommandExecuted'](_0x20aa10=>{const _0x5604d1=_0x46f551;if(_0x20aa10['id']===e[_0x5604d1(0x15b)]['id']){const _0x780292=this[_0x5604d1(0x137)]();if(!_0x780292)return;const _0x49a2b5={'workbook':_0x780292,'worksheet':_0x780292[_0x5604d1(0x159)]()};if(_0x49a2b5==null)return;if(this[_0x5604d1(0x160)](this[_0x5604d1(0x14d)][_0x5604d1(0x13d)],_0x49a2b5),_0x49a2b5[_0x5604d1(0x15e)])throw new a[(_0x5604d1(0x164))]();}})),this[_0x46f551(0x14e)](this[_0x46f551(0x14d)][_0x46f551(0x144)],()=>_0x30fd56[_0x46f551(0x149)](_0x2829f8=>{const _0x490ca7=_0x46f551;if(_0x2829f8['id']===e[_0x490ca7(0x12a)]['id']){const _0x1e0d9c=_0x2a0a48['get'](e['ISheetPrintManagerService']);if(!this[_0x490ca7(0x137)]())return;const _0x404ab3={'layoutConfig':_0x1e0d9c['layoutConfig'],'renderConfig':_0x1e0d9c['renderConfig']};if(_0x404ab3==null)return;if(this[_0x490ca7(0x160)](this[_0x490ca7(0x14d)][_0x490ca7(0x144)],_0x404ab3),_0x404ab3[_0x490ca7(0x15e)])throw new a[(_0x490ca7(0x164))]();}})),this[_0x46f551(0x14e)](this['Event'][_0x46f551(0x130)],()=>_0x30fd56[_0x46f551(0x149)](_0x277309=>{const _0x2fd696=_0x46f551;if(_0x277309['id']===e[_0x2fd696(0x13e)]['id']){const _0x4e88a6=_0x2a0a48['get'](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x3ad5fe={'layoutConfig':_0x4e88a6['layoutConfig'],'renderConfig':_0x4e88a6['renderConfig']};if(_0x3ad5fe==null)return;if(this[_0x2fd696(0x160)](this[_0x2fd696(0x14d)][_0x2fd696(0x130)],_0x3ad5fe),_0x3ad5fe[_0x2fd696(0x15e)])throw new a['CanceledError']();}})),this[_0x46f551(0x14e)](this[_0x46f551(0x14d)]['SheetPrintOpen'],()=>_0x30fd56[_0x46f551(0x142)](_0x6fabfd=>{const _0xdc2845=_0x46f551;if(_0x6fabfd['id']===e[_0xdc2845(0x15b)]['id']){const _0x9b6a4f=this[_0xdc2845(0x137)]();if(!_0x9b6a4f)return;const _0x3e6075={'workbook':_0x9b6a4f,'worksheet':_0x9b6a4f[_0xdc2845(0x159)]()};if(_0x3e6075==null)return;this[_0xdc2845(0x160)](this['Event'][_0xdc2845(0x126)],_0x3e6075);}})),this[_0x46f551(0x14e)](this[_0x46f551(0x14d)][_0x46f551(0x165)],()=>_0x30fd56[_0x46f551(0x142)](_0x52850a=>{const _0x1d54f6=_0x46f551;if(_0x52850a['id']===e[_0x1d54f6(0x12a)]['id']){const _0x551312=_0x2a0a48[_0x1d54f6(0x140)](e[_0x1d54f6(0x14b)]);if(!this['getActiveUniverSheet']())return;const _0x39bda5={'layoutConfig':_0x551312['layoutConfig'],'renderConfig':_0x551312['renderConfig']};if(_0x39bda5==null)return;this[_0x1d54f6(0x160)](this[_0x1d54f6(0x14d)][_0x1d54f6(0x165)],_0x39bda5);}})),this[_0x46f551(0x14e)](this[_0x46f551(0x14d)][_0x46f551(0x147)],()=>_0x30fd56['onCommandExecuted'](_0x159345=>{const _0x134954=_0x46f551;if(_0x159345['id']===e[_0x134954(0x13e)]['id']){const _0x276e68=_0x2a0a48[_0x134954(0x140)](e['ISheetPrintManagerService']);if(!this[_0x134954(0x137)]())return;const _0x309472={'layoutConfig':_0x276e68[_0x134954(0x157)],'renderConfig':_0x276e68['renderConfig']};if(_0x309472==null)return;this['fireEvent'](this[_0x134954(0x14d)][_0x134954(0x147)],_0x309472);}}));}}g[_0x56ceb5(0x141)]['extend'](l);
|