@univerjs-pro/sheets-print 0.10.8 → 0.10.9-nightly.202509260614
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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x91e8a2=_0xe3fa;(function(_0x3f1159,_0x30494b){const _0x43ecd9=_0xe3fa,_0x224453=_0x3f1159();while(!![]){try{const _0x598c5b=-parseInt(_0x43ecd9(0x11e))/0x1+-parseInt(_0x43ecd9(0x117))/0x2+-parseInt(_0x43ecd9(0x14b))/0x3*(-parseInt(_0x43ecd9(0x148))/0x4)+-parseInt(_0x43ecd9(0x133))/0x5*(-parseInt(_0x43ecd9(0x14e))/0x6)+parseInt(_0x43ecd9(0x129))/0x7+parseInt(_0x43ecd9(0x144))/0x8*(parseInt(_0x43ecd9(0x147))/0x9)+-parseInt(_0x43ecd9(0x13c))/0xa;if(_0x598c5b===_0x30494b)break;else _0x224453['push'](_0x224453['shift']());}catch(_0x3f363e){_0x224453['push'](_0x224453['shift']());}}}(_0x1048,0x7473c));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']{[_0x91e8a2(0x153)](_0x1073a4){const _0x558e54=_0x91e8a2;return this['_injector'][_0x558e54(0x13f)](e[_0x558e54(0x134)])[_0x558e54(0x12d)](_0x1073a4),this;}['updatePrintRenderConfig'](_0x3ed7bc){const _0x323224=_0x91e8a2;return this['_injector']['get'](e[_0x323224(0x134)])[_0x323224(0x12f)](_0x3ed7bc),this;}[_0x91e8a2(0x12c)](){const _0x4995c0=_0x91e8a2;return this[_0x4995c0(0x11f)][_0x4995c0(0x13f)](a[_0x4995c0(0x13d)])[_0x4995c0(0x145)](e[_0x4995c0(0x14d)]['id']);}['openPrintDialog'](){const _0x228778=_0x91e8a2;return this[_0x228778(0x11f)][_0x228778(0x13f)](a['ICommandService'])['syncExecuteCommand'](e[_0x228778(0x149)]['id']);}[_0x91e8a2(0x14f)](){const _0x294480=_0x91e8a2;return this[_0x294480(0x11f)][_0x294480(0x13f)](a[_0x294480(0x13d)])[_0x294480(0x145)](e[_0x294480(0x132)]['id']);}async[_0x91e8a2(0x120)](){const _0x4ecdb2=_0x91e8a2;return e[_0x4ecdb2(0x152)](this['_injector'])?this[_0x4ecdb2(0x11f)][_0x4ecdb2(0x13f)](a[_0x4ecdb2(0x13d)])[_0x4ecdb2(0x137)](e[_0x4ecdb2(0x14c)]['id']):!0x1;}}d[_0x91e8a2(0x130)][_0x91e8a2(0x116)](S);class f extends d[_0x91e8a2(0x136)]{[_0x91e8a2(0x124)](){const _0x509579=_0x91e8a2;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x509579(0x11f)][_0x509579(0x13f)](e['SheetPrintClientService'])[_0x509579(0x138)](this[_0x509579(0x142)][_0x509579(0x11d)](),this[_0x509579(0x151)][_0x509579(0x150)](),this[_0x509579(0x12b)]):!0x1;}}d[_0x91e8a2(0x136)][_0x91e8a2(0x116)](f);class P{get[_0x91e8a2(0x115)](){return'BeforeSheetPrintOpen';}get[_0x91e8a2(0x146)](){const _0x2f726a=_0x91e8a2;return _0x2f726a(0x146);}get[_0x91e8a2(0x13b)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x5f18b7=_0x91e8a2;return _0x5f18b7(0x140);}get[_0x91e8a2(0x13e)](){const _0x9ee2ca=_0x91e8a2;return _0x9ee2ca(0x13e);}get[_0x91e8a2(0x155)](){return'SheetPrintCanceled';}}function _0xe3fa(_0x3a91f7,_0x3656b4){const _0x1048ad=_0x1048();return _0xe3fa=function(_0xe3fa78,_0x456cac){_0xe3fa78=_0xe3fa78-0x115;let _0x5e0ce5=_0x1048ad[_0xe3fa78];return _0x5e0ce5;},_0xe3fa(_0x3a91f7,_0x3656b4);}g[_0x91e8a2(0x118)][_0x91e8a2(0x116)](P);class u{get[_0x91e8a2(0x141)](){const _0x4ef162=_0x91e8a2;return e[_0x4ef162(0x141)];}get['PrintAlign'](){const _0x3e2085=_0x91e8a2;return c[_0x3e2085(0x131)];}get[_0x91e8a2(0x135)](){const _0x4b53f5=_0x91e8a2;return a[_0x4b53f5(0x127)];}get[_0x91e8a2(0x11a)](){const _0x13fb7a=_0x91e8a2;return c[_0x13fb7a(0x11a)];}get[_0x91e8a2(0x143)](){const _0x5a6e7a=_0x91e8a2;return c[_0x5a6e7a(0x143)];}get['PrintDirection'](){const _0x17bce8=_0x91e8a2;return c[_0x17bce8(0x139)];}get['PrintFreeze'](){const _0x3ed209=_0x91e8a2;return e[_0x3ed209(0x14a)];}get[_0x91e8a2(0x122)](){const _0x16b0c1=_0x91e8a2;return e[_0x16b0c1(0x122)];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}g['FEnum'][_0x91e8a2(0x116)](u);class l extends g['FUniver']{['_initialize'](_0x540689){const _0x39fcaa=_0x91e8a2,_0x33a66a=_0x540689[_0x39fcaa(0x13f)](a['ICommandService']);this['registerEventHandler'](this[_0x39fcaa(0x11b)]['BeforeSheetPrintOpen'],()=>_0x33a66a[_0x39fcaa(0x154)](_0x5e5585=>{const _0x478e88=_0x39fcaa;if(_0x5e5585['id']===e[_0x478e88(0x149)]['id']){const _0x3a78bc=this[_0x478e88(0x119)]();if(!_0x3a78bc)return;const _0x46355b={'workbook':_0x3a78bc,'worksheet':_0x3a78bc[_0x478e88(0x123)]()};if(_0x46355b==null)return;if(this[_0x478e88(0x11c)](this[_0x478e88(0x11b)][_0x478e88(0x115)],_0x46355b),_0x46355b['cancel'])throw new a['CanceledError']();}})),this['registerEventHandler'](this[_0x39fcaa(0x11b)][_0x39fcaa(0x146)],()=>_0x33a66a[_0x39fcaa(0x154)](_0x4c48d2=>{const _0x55407c=_0x39fcaa;if(_0x4c48d2['id']===e['ConfirmSheetPrintOperation']['id']){const _0x5132bd=_0x540689[_0x55407c(0x13f)](e[_0x55407c(0x134)]);if(!this[_0x55407c(0x119)]())return;const _0x3165ec={'layoutConfig':_0x5132bd['layoutConfig'],'renderConfig':_0x5132bd[_0x55407c(0x126)]};if(_0x3165ec==null)return;if(this[_0x55407c(0x11c)](this[_0x55407c(0x11b)][_0x55407c(0x146)],_0x3165ec),_0x3165ec[_0x55407c(0x13a)])throw new a[(_0x55407c(0x128))]();}})),this['registerEventHandler'](this[_0x39fcaa(0x11b)][_0x39fcaa(0x13b)],()=>_0x33a66a[_0x39fcaa(0x154)](_0x33753a=>{const _0x1952a4=_0x39fcaa;if(_0x33753a['id']===e[_0x1952a4(0x132)]['id']){const _0x156b07=_0x540689[_0x1952a4(0x13f)](e[_0x1952a4(0x134)]);if(!this['getActiveUniverSheet']())return;const _0x2baa5d={'layoutConfig':_0x156b07['layoutConfig'],'renderConfig':_0x156b07[_0x1952a4(0x126)]};if(_0x2baa5d==null)return;if(this['fireEvent'](this[_0x1952a4(0x11b)][_0x1952a4(0x13b)],_0x2baa5d),_0x2baa5d['cancel'])throw new a[(_0x1952a4(0x128))]();}})),this[_0x39fcaa(0x12a)](this['Event'][_0x39fcaa(0x140)],()=>_0x33a66a[_0x39fcaa(0x121)](_0x53e4bc=>{const _0x388fd3=_0x39fcaa;if(_0x53e4bc['id']===e[_0x388fd3(0x149)]['id']){const _0x3bc85d=this['getActiveUniverSheet']();if(!_0x3bc85d)return;const _0x53766f={'workbook':_0x3bc85d,'worksheet':_0x3bc85d[_0x388fd3(0x123)]()};if(_0x53766f==null)return;this[_0x388fd3(0x11c)](this[_0x388fd3(0x11b)][_0x388fd3(0x140)],_0x53766f);}})),this['registerEventHandler'](this[_0x39fcaa(0x11b)][_0x39fcaa(0x13e)],()=>_0x33a66a[_0x39fcaa(0x121)](_0x273935=>{const _0x4d89e2=_0x39fcaa;if(_0x273935['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2bd06a=_0x540689['get'](e[_0x4d89e2(0x134)]);if(!this[_0x4d89e2(0x119)]())return;const _0x3c0861={'layoutConfig':_0x2bd06a[_0x4d89e2(0x125)],'renderConfig':_0x2bd06a['renderConfig']};if(_0x3c0861==null)return;this['fireEvent'](this[_0x4d89e2(0x11b)][_0x4d89e2(0x13e)],_0x3c0861);}})),this[_0x39fcaa(0x12a)](this['Event'][_0x39fcaa(0x155)],()=>_0x33a66a[_0x39fcaa(0x121)](_0x315a96=>{const _0x4fa81d=_0x39fcaa;if(_0x315a96['id']===e[_0x4fa81d(0x132)]['id']){const _0x53d723=_0x540689[_0x4fa81d(0x13f)](e[_0x4fa81d(0x134)]);if(!this['getActiveUniverSheet']())return;const _0x5ac76c={'layoutConfig':_0x53d723[_0x4fa81d(0x125)],'renderConfig':_0x53d723[_0x4fa81d(0x126)]};if(_0x5ac76c==null)return;this[_0x4fa81d(0x11c)](this[_0x4fa81d(0x11b)][_0x4fa81d(0x155)],_0x5ac76c);}}));}}function _0x1048(){const _0xc960ed=['PrintAlign','CancelSheetPrintOperation','1457685DMujyA','ISheetPrintManagerService','PrintPaperSize','FRange','executeCommand','getRangeImage','PrintDirection','cancel','BeforeSheetPrintCanceled','771830ynSVIA','ICommandService','SheetPrintConfirmed','get','SheetPrintOpen','PrintArea','_workbook','PrintScale','3048464zugfAY','syncExecuteCommand','BeforeSheetPrintConfirm','9ldmAOD','692MzMmta','SheetPrintOpenOperation','PrintFreeze','6549sJQfCn','SheetScreenShotOperation','ConfirmSheetPrintOperation','6hdBwIi','closePrintDialog','getSheetId','_worksheet','hasPrintFacadePermission','updatePrintConfig','beforeCommandExecuted','SheetPrintCanceled','BeforeSheetPrintOpen','extend','1613538sieFBM','FEventName','getActiveUniverSheet','PrintPaperMargin','Event','fireEvent','getUnitId','84142supsIT','_injector','saveScreenshotToClipboard','onCommandExecuted','PrintHeaderFooter','getActiveSheet','getScreenshot','layoutConfig','renderConfig','PaperType','CanceledError','2763796UfgADV','registerEventHandler','_range','print','updateLayoutConfig','FUniver','updateRenderConfig','FWorkbook'];_0x1048=function(){return _0xc960ed;};return _0x1048();}g[_0x91e8a2(0x12e)][_0x91e8a2(0x116)](l);
|