@univerjs-pro/sheets-print 0.15.5 → 0.16.0-insiders.20260302-b09f1e4
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/sk-SK.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/sk-SK.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/sk-SK.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/index.d.ts +2 -1
- package/lib/types/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +42 -42
- 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/sk-SK.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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5c720b=_0xde0c;(function(_0x97dbb3,_0x1e2f81){const _0x27893c=_0xde0c,_0x121241=_0x97dbb3();while(!![]){try{const _0x35e861=-parseInt(_0x27893c(0x14e))/0x1*(parseInt(_0x27893c(0x13f))/0x2)+-parseInt(_0x27893c(0x17a))/0x3*(parseInt(_0x27893c(0x155))/0x4)+-parseInt(_0x27893c(0x148))/0x5*(-parseInt(_0x27893c(0x142))/0x6)+-parseInt(_0x27893c(0x150))/0x7+-parseInt(_0x27893c(0x147))/0x8+parseInt(_0x27893c(0x13c))/0x9*(-parseInt(_0x27893c(0x17c))/0xa)+parseInt(_0x27893c(0x15f))/0xb;if(_0x35e861===_0x1e2f81)break;else _0x121241['push'](_0x121241['shift']());}catch(_0x4ec582){_0x121241['push'](_0x121241['shift']());}}}(_0x55df,0x749a3));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[_0x5c720b(0x15a)]{['updatePrintConfig'](_0x36397d){const _0x587af6=_0x5c720b;return this[_0x587af6(0x145)]['get'](e[_0x587af6(0x17b)])[_0x587af6(0x153)](_0x36397d),this;}[_0x5c720b(0x14a)](_0x49fa46){const _0x491358=_0x5c720b;return this[_0x491358(0x145)][_0x491358(0x176)](e[_0x491358(0x17b)])[_0x491358(0x16e)](_0x49fa46),this;}[_0x5c720b(0x16b)](){const _0x11eabd=_0x5c720b;return this[_0x11eabd(0x145)][_0x11eabd(0x176)](a[_0x11eabd(0x14b)])[_0x11eabd(0x174)](e[_0x11eabd(0x151)]['id']);}[_0x5c720b(0x14f)](){const _0x27e2e7=_0x5c720b;return this['_injector'][_0x27e2e7(0x176)](a['ICommandService'])[_0x27e2e7(0x174)](e[_0x27e2e7(0x146)]['id']);}[_0x5c720b(0x13b)](){const _0x11af2f=_0x5c720b;return this[_0x11af2f(0x145)][_0x11af2f(0x176)](a['ICommandService'])[_0x11af2f(0x174)](e[_0x11af2f(0x15d)]['id']);}async[_0x5c720b(0x175)](){const _0x553709=_0x5c720b;return e[_0x553709(0x15c)](this[_0x553709(0x145)])?this[_0x553709(0x145)][_0x553709(0x176)](a[_0x553709(0x14b)])[_0x553709(0x170)](e[_0x553709(0x14c)]['id']):!0x1;}}d[_0x5c720b(0x15a)]['extend'](S);class f extends d[_0x5c720b(0x15e)]{[_0x5c720b(0x177)](_0x5cf239){const _0x334677=_0x5c720b;return e[_0x334677(0x15c)](this[_0x334677(0x145)])?this[_0x334677(0x145)][_0x334677(0x176)](e[_0x334677(0x17d)])[_0x334677(0x165)](this[_0x334677(0x140)]['getUnitId'](),this[_0x334677(0x167)][_0x334677(0x179)](),this[_0x334677(0x17e)],_0x5cf239==null?void 0x0:_0x5cf239[_0x334677(0x16c)]):!0x1;}}d[_0x5c720b(0x15e)][_0x5c720b(0x166)](f);function _0x55df(){const _0x2dd103=['cancel','SheetPrintOpen','BeforeSheetPrintCanceled','getRangeImage','extend','_worksheet','getActiveSheet','PrintPaperMargin','layoutConfig','print','includeHeaders','PrintArea','updateRenderConfig','getActiveUniverSheet','executeCommand','onCommandExecuted','PrintFreeze','PrintScale','syncExecuteCommand','saveScreenshotToClipboard','get','getScreenshot','Event','getSheetId','3FikIDo','ISheetPrintManagerService','10jFLyfX','SheetPrintClientService','_range','PrintHeaderFooter','BeforeSheetPrintOpen','PrintAlign','closePrintDialog','590301kyQAkx','_initialize','renderConfig','22PgOjrR','_workbook','registerEventHandler','207294ZEinIA','CanceledError','PrintPaperSize','_injector','SheetPrintOpenOperation','953328LvAzfU','35qznIUk','PrintHeaderFooterSymbol','updatePrintRenderConfig','ICommandService','SheetScreenShotOperation','FUniver','41799PmwbuW','openPrintDialog','4225865PRQTdh','ConfirmSheetPrintOperation','fireEvent','updateLayoutConfig','PaperType','3230036GWqZdS','FEnum','SheetPrintConfirmed','BeforeSheetPrintConfirm','disposeWithMe','FWorkbook','PrintDirection','hasPrintFacadePermission','CancelSheetPrintOperation','FRange','25206588WMNsrV','beforeCommandExecuted','SheetPrintCanceled'];_0x55df=function(){return _0x2dd103;};return _0x55df();}class P{get[_0x5c720b(0x180)](){const _0x7605ce=_0x5c720b;return _0x7605ce(0x180);}get[_0x5c720b(0x158)](){const _0x43a002=_0x5c720b;return _0x43a002(0x158);}get[_0x5c720b(0x164)](){return'BeforeSheetPrintCanceled';}get['SheetPrintOpen'](){const _0x183180=_0x5c720b;return _0x183180(0x163);}get[_0x5c720b(0x157)](){const _0x25b3e8=_0x5c720b;return _0x25b3e8(0x157);}get['SheetPrintCanceled'](){const _0x100c68=_0x5c720b;return _0x100c68(0x161);}}g['FEventName'][_0x5c720b(0x166)](P);function _0xde0c(_0x2f3035,_0xebbfba){_0x2f3035=_0x2f3035-0x13a;const _0x55df14=_0x55df();let _0xde0cb2=_0x55df14[_0x2f3035];return _0xde0cb2;}class u{get['PrintArea'](){const _0x4a02a5=_0x5c720b;return e[_0x4a02a5(0x16d)];}get['PrintAlign'](){const _0x190c3d=_0x5c720b;return c[_0x190c3d(0x13a)];}get[_0x5c720b(0x144)](){const _0x33336d=_0x5c720b;return a[_0x33336d(0x154)];}get['PrintPaperMargin'](){const _0x35b51d=_0x5c720b;return c[_0x35b51d(0x169)];}get[_0x5c720b(0x173)](){const _0x4be902=_0x5c720b;return c[_0x4be902(0x173)];}get[_0x5c720b(0x15b)](){return c['PrintDirection'];}get[_0x5c720b(0x172)](){const _0x244eca=_0x5c720b;return e[_0x244eca(0x172)];}get[_0x5c720b(0x17f)](){const _0x3dfe47=_0x5c720b;return e[_0x3dfe47(0x17f)];}get[_0x5c720b(0x149)](){return e['PrintHeaderFooterSymbol'];}}g[_0x5c720b(0x156)][_0x5c720b(0x166)](u);class l extends g[_0x5c720b(0x14d)]{[_0x5c720b(0x13d)](_0x56a409){const _0x5d126c=_0x5c720b,_0x6fd83a=_0x56a409[_0x5d126c(0x176)](a['ICommandService']);this[_0x5d126c(0x159)](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)][_0x5d126c(0x180)],()=>_0x6fd83a['beforeCommandExecuted'](_0x1eecb7=>{const _0x25711e=_0x5d126c;if(_0x1eecb7['id']===e[_0x25711e(0x146)]['id']){const _0xa8dc44=this[_0x25711e(0x16f)]();if(!_0xa8dc44)return;const _0x53ce39={'workbook':_0xa8dc44,'worksheet':_0xa8dc44[_0x25711e(0x168)]()};if(_0x53ce39==null)return;if(this[_0x25711e(0x152)](this[_0x25711e(0x178)][_0x25711e(0x180)],_0x53ce39),_0x53ce39['cancel'])throw new a[(_0x25711e(0x143))]();}}))),this['disposeWithMe'](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)]['BeforeSheetPrintConfirm'],()=>_0x6fd83a[_0x5d126c(0x160)](_0x42ef68=>{const _0x1adf92=_0x5d126c;if(_0x42ef68['id']===e['ConfirmSheetPrintOperation']['id']){const _0x5edbfa=_0x56a409[_0x1adf92(0x176)](e[_0x1adf92(0x17b)]);if(!this[_0x1adf92(0x16f)]())return;const _0x44ea58={'layoutConfig':_0x5edbfa[_0x1adf92(0x16a)],'renderConfig':_0x5edbfa['renderConfig']};if(_0x44ea58==null)return;if(this[_0x1adf92(0x152)](this[_0x1adf92(0x178)][_0x1adf92(0x158)],_0x44ea58),_0x44ea58['cancel'])throw new a[(_0x1adf92(0x143))]();}}))),this[_0x5d126c(0x159)](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)][_0x5d126c(0x164)],()=>_0x6fd83a['beforeCommandExecuted'](_0x2430dc=>{const _0x39ada1=_0x5d126c;if(_0x2430dc['id']===e[_0x39ada1(0x15d)]['id']){const _0x556b82=_0x56a409[_0x39ada1(0x176)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x20fcea={'layoutConfig':_0x556b82[_0x39ada1(0x16a)],'renderConfig':_0x556b82[_0x39ada1(0x13e)]};if(_0x20fcea==null)return;if(this['fireEvent'](this[_0x39ada1(0x178)][_0x39ada1(0x164)],_0x20fcea),_0x20fcea[_0x39ada1(0x162)])throw new a[(_0x39ada1(0x143))]();}}))),this[_0x5d126c(0x159)](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)][_0x5d126c(0x163)],()=>_0x6fd83a[_0x5d126c(0x171)](_0x3996ce=>{const _0x1a189d=_0x5d126c;if(_0x3996ce['id']===e['SheetPrintOpenOperation']['id']){const _0x2a8bb3=this[_0x1a189d(0x16f)]();if(!_0x2a8bb3)return;const _0x8aba10={'workbook':_0x2a8bb3,'worksheet':_0x2a8bb3[_0x1a189d(0x168)]()};if(_0x8aba10==null)return;this[_0x1a189d(0x152)](this[_0x1a189d(0x178)][_0x1a189d(0x163)],_0x8aba10);}}))),this[_0x5d126c(0x159)](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)][_0x5d126c(0x157)],()=>_0x6fd83a['onCommandExecuted'](_0x5ecc90=>{const _0x31eec5=_0x5d126c;if(_0x5ecc90['id']===e[_0x31eec5(0x151)]['id']){const _0x230784=_0x56a409['get'](e[_0x31eec5(0x17b)]);if(!this[_0x31eec5(0x16f)]())return;const _0x390a30={'layoutConfig':_0x230784['layoutConfig'],'renderConfig':_0x230784[_0x31eec5(0x13e)]};if(_0x390a30==null)return;this[_0x31eec5(0x152)](this['Event'][_0x31eec5(0x157)],_0x390a30);}}))),this[_0x5d126c(0x159)](this[_0x5d126c(0x141)](this[_0x5d126c(0x178)][_0x5d126c(0x161)],()=>_0x6fd83a['onCommandExecuted'](_0x3b31de=>{const _0x1109b7=_0x5d126c;if(_0x3b31de['id']===e['CancelSheetPrintOperation']['id']){const _0x4abaed=_0x56a409['get'](e[_0x1109b7(0x17b)]);if(!this[_0x1109b7(0x16f)]())return;const _0x2fa25a={'layoutConfig':_0x4abaed[_0x1109b7(0x16a)],'renderConfig':_0x4abaed[_0x1109b7(0x13e)]};if(_0x2fa25a==null)return;this[_0x1109b7(0x152)](this[_0x1109b7(0x178)][_0x1109b7(0x161)],_0x2fa25a);}})));}}g[_0x5c720b(0x14d)][_0x5c720b(0x166)](l);
|