@univerjs-pro/sheets-print 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260110-48b77c8
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 +38 -38
- 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 _0x2f78e2=_0x2b14;function _0x5195(){const _0x373804=['BeforeSheetPrintCanceled','SheetPrintCanceled','getRangeImage','getActiveSheet','openPrintDialog','executeCommand','SheetPrintConfirmed','5170NWxTPt','extend','getSheetId','ICommandService','SheetPrintOpen','BeforeSheetPrintConfirm','get','_worksheet','updatePrintRenderConfig','cancel','getUnitId','ISheetPrintManagerService','PrintHeaderFooterSymbol','BeforeSheetPrintOpen','getActiveUniverSheet','PrintHeaderFooter','closePrintDialog','8wczlnV','SheetPrintClientService','registerEventHandler','7626883faqyWK','CanceledError','CancelSheetPrintOperation','_range','saveScreenshotToClipboard','updateRenderConfig','ConfirmSheetPrintOperation','9582013UfFRgY','PrintPaperSize','hasPrintFacadePermission','SheetScreenShotOperation','_injector','_workbook','layoutConfig','Event','253252NLgSeV','syncExecuteCommand','PrintArea','FWorkbook','8yrZgCN','1574073tJvUAb','SheetPrintOpenOperation','beforeCommandExecuted','fireEvent','2832mHRVwo','PrintPaperMargin','PrintScale','PaperType','_initialize','2482842sksIdN','FEventName','40TKknFH','print','151534NFhOXo','FUniver','PrintDirection','PrintAlign','renderConfig','onCommandExecuted','updatePrintConfig','PrintFreeze','getScreenshot','includeHeaders'];_0x5195=function(){return _0x373804;};return _0x5195();}(function(_0x2c88a3,_0x3774e8){const _0x599dfa=_0x2b14,_0x4d9f09=_0x2c88a3();while(!![]){try{const _0x39899f=parseInt(_0x599dfa(0x147))/0x1*(-parseInt(_0x599dfa(0x155))/0x2)+-parseInt(_0x599dfa(0x151))/0x3+parseInt(_0x599dfa(0x143))/0x4+parseInt(_0x599dfa(0x120))/0x5*(parseInt(_0x599dfa(0x14c))/0x6)+-parseInt(_0x599dfa(0x13b))/0x7+parseInt(_0x599dfa(0x131))/0x8*(parseInt(_0x599dfa(0x148))/0x9)+-parseInt(_0x599dfa(0x153))/0xa*(-parseInt(_0x599dfa(0x134))/0xb);if(_0x39899f===_0x3774e8)break;else _0x4d9f09['push'](_0x4d9f09['shift']());}catch(_0x44c7dd){_0x4d9f09['push'](_0x4d9f09['shift']());}}}(_0x5195,0xaa2e5));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[_0x2f78e2(0x146)]{[_0x2f78e2(0x115)](_0x59ddb8){const _0x3f9175=_0x2f78e2;return this[_0x3f9175(0x13f)]['get'](e['ISheetPrintManagerService'])['updateLayoutConfig'](_0x59ddb8),this;}[_0x2f78e2(0x128)](_0x3fa764){const _0x518dda=_0x2f78e2;return this[_0x518dda(0x13f)][_0x518dda(0x126)](e[_0x518dda(0x12b)])[_0x518dda(0x139)](_0x3fa764),this;}[_0x2f78e2(0x154)](){const _0x1c7c60=_0x2f78e2;return this[_0x1c7c60(0x13f)][_0x1c7c60(0x126)](a[_0x1c7c60(0x123)])[_0x1c7c60(0x144)](e[_0x1c7c60(0x13a)]['id']);}[_0x2f78e2(0x11d)](){const _0x1a73b2=_0x2f78e2;return this[_0x1a73b2(0x13f)][_0x1a73b2(0x126)](a['ICommandService'])[_0x1a73b2(0x144)](e[_0x1a73b2(0x149)]['id']);}[_0x2f78e2(0x130)](){const _0x238d6d=_0x2f78e2;return this[_0x238d6d(0x13f)][_0x238d6d(0x126)](a['ICommandService'])[_0x238d6d(0x144)](e[_0x238d6d(0x136)]['id']);}async[_0x2f78e2(0x138)](){const _0x3f9f31=_0x2f78e2;return e[_0x3f9f31(0x13d)](this[_0x3f9f31(0x13f)])?this[_0x3f9f31(0x13f)][_0x3f9f31(0x126)](a['ICommandService'])[_0x3f9f31(0x11e)](e[_0x3f9f31(0x13e)]['id']):!0x1;}}function _0x2b14(_0x428fa3,_0x2fd076){_0x428fa3=_0x428fa3-0x115;const _0x519512=_0x5195();let _0x2b147a=_0x519512[_0x428fa3];return _0x2b147a;}d[_0x2f78e2(0x146)][_0x2f78e2(0x121)](S);class f extends d['FRange']{[_0x2f78e2(0x117)](_0x5a9ff2){const _0x1ae3d3=_0x2f78e2;return e['hasPrintFacadePermission'](this['_injector'])?this[_0x1ae3d3(0x13f)][_0x1ae3d3(0x126)](e[_0x1ae3d3(0x132)])[_0x1ae3d3(0x11b)](this[_0x1ae3d3(0x140)][_0x1ae3d3(0x12a)](),this[_0x1ae3d3(0x127)][_0x1ae3d3(0x122)](),this[_0x1ae3d3(0x137)],_0x5a9ff2==null?void 0x0:_0x5a9ff2[_0x1ae3d3(0x118)]):!0x1;}}d['FRange'][_0x2f78e2(0x121)](f);class P{get['BeforeSheetPrintOpen'](){const _0xd50b81=_0x2f78e2;return _0xd50b81(0x12d);}get[_0x2f78e2(0x125)](){const _0x312411=_0x2f78e2;return _0x312411(0x125);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x2f78e2(0x124)](){const _0x566227=_0x2f78e2;return _0x566227(0x124);}get[_0x2f78e2(0x11f)](){const _0x576efc=_0x2f78e2;return _0x576efc(0x11f);}get[_0x2f78e2(0x11a)](){return'SheetPrintCanceled';}}g[_0x2f78e2(0x152)]['extend'](P);class u{get[_0x2f78e2(0x145)](){const _0x5c4dd6=_0x2f78e2;return e[_0x5c4dd6(0x145)];}get[_0x2f78e2(0x158)](){const _0x5ee776=_0x2f78e2;return c[_0x5ee776(0x158)];}get[_0x2f78e2(0x13c)](){const _0x3fbaae=_0x2f78e2;return a[_0x3fbaae(0x14f)];}get['PrintPaperMargin'](){const _0x146663=_0x2f78e2;return c[_0x146663(0x14d)];}get[_0x2f78e2(0x14e)](){const _0x5ed211=_0x2f78e2;return c[_0x5ed211(0x14e)];}get[_0x2f78e2(0x157)](){return c['PrintDirection'];}get[_0x2f78e2(0x116)](){return e['PrintFreeze'];}get[_0x2f78e2(0x12f)](){return e['PrintHeaderFooter'];}get[_0x2f78e2(0x12c)](){const _0x38dcfb=_0x2f78e2;return e[_0x38dcfb(0x12c)];}}g['FEnum'][_0x2f78e2(0x121)](u);class l extends g[_0x2f78e2(0x156)]{[_0x2f78e2(0x150)](_0x478fea){const _0x5027c5=_0x2f78e2,_0x3cecc3=_0x478fea['get'](a[_0x5027c5(0x123)]);this['registerEventHandler'](this[_0x5027c5(0x142)][_0x5027c5(0x12d)],()=>_0x3cecc3[_0x5027c5(0x14a)](_0x3ceeee=>{const _0x177740=_0x5027c5;if(_0x3ceeee['id']===e[_0x177740(0x149)]['id']){const _0x5f0882=this['getActiveUniverSheet']();if(!_0x5f0882)return;const _0x5b03df={'workbook':_0x5f0882,'worksheet':_0x5f0882[_0x177740(0x11c)]()};if(_0x5b03df==null)return;if(this[_0x177740(0x14b)](this['Event'][_0x177740(0x12d)],_0x5b03df),_0x5b03df[_0x177740(0x129)])throw new a[(_0x177740(0x135))]();}})),this[_0x5027c5(0x133)](this['Event'][_0x5027c5(0x125)],()=>_0x3cecc3[_0x5027c5(0x14a)](_0x51dc3e=>{const _0xfeac79=_0x5027c5;if(_0x51dc3e['id']===e[_0xfeac79(0x13a)]['id']){const _0x294b68=_0x478fea[_0xfeac79(0x126)](e[_0xfeac79(0x12b)]);if(!this[_0xfeac79(0x12e)]())return;const _0x586c65={'layoutConfig':_0x294b68[_0xfeac79(0x141)],'renderConfig':_0x294b68[_0xfeac79(0x159)]};if(_0x586c65==null)return;if(this[_0xfeac79(0x14b)](this['Event'][_0xfeac79(0x125)],_0x586c65),_0x586c65['cancel'])throw new a[(_0xfeac79(0x135))]();}})),this[_0x5027c5(0x133)](this[_0x5027c5(0x142)][_0x5027c5(0x119)],()=>_0x3cecc3[_0x5027c5(0x14a)](_0xc98aa9=>{const _0xc4f117=_0x5027c5;if(_0xc98aa9['id']===e[_0xc4f117(0x136)]['id']){const _0x477d42=_0x478fea[_0xc4f117(0x126)](e[_0xc4f117(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x361fa1={'layoutConfig':_0x477d42[_0xc4f117(0x141)],'renderConfig':_0x477d42[_0xc4f117(0x159)]};if(_0x361fa1==null)return;if(this['fireEvent'](this[_0xc4f117(0x142)][_0xc4f117(0x119)],_0x361fa1),_0x361fa1['cancel'])throw new a[(_0xc4f117(0x135))]();}})),this[_0x5027c5(0x133)](this[_0x5027c5(0x142)]['SheetPrintOpen'],()=>_0x3cecc3[_0x5027c5(0x15a)](_0x1b1684=>{const _0x26e31c=_0x5027c5;if(_0x1b1684['id']===e[_0x26e31c(0x149)]['id']){const _0x3f3076=this[_0x26e31c(0x12e)]();if(!_0x3f3076)return;const _0x328599={'workbook':_0x3f3076,'worksheet':_0x3f3076[_0x26e31c(0x11c)]()};if(_0x328599==null)return;this[_0x26e31c(0x14b)](this[_0x26e31c(0x142)][_0x26e31c(0x124)],_0x328599);}})),this[_0x5027c5(0x133)](this[_0x5027c5(0x142)][_0x5027c5(0x11f)],()=>_0x3cecc3['onCommandExecuted'](_0x4c70aa=>{const _0x53cdaa=_0x5027c5;if(_0x4c70aa['id']===e[_0x53cdaa(0x13a)]['id']){const _0x55cb1a=_0x478fea['get'](e[_0x53cdaa(0x12b)]);if(!this['getActiveUniverSheet']())return;const _0x5a2cc1={'layoutConfig':_0x55cb1a[_0x53cdaa(0x141)],'renderConfig':_0x55cb1a[_0x53cdaa(0x159)]};if(_0x5a2cc1==null)return;this[_0x53cdaa(0x14b)](this[_0x53cdaa(0x142)][_0x53cdaa(0x11f)],_0x5a2cc1);}})),this[_0x5027c5(0x133)](this['Event'][_0x5027c5(0x11a)],()=>_0x3cecc3[_0x5027c5(0x15a)](_0x10ac58=>{const _0x4fcd3c=_0x5027c5;if(_0x10ac58['id']===e[_0x4fcd3c(0x136)]['id']){const _0x3ec817=_0x478fea[_0x4fcd3c(0x126)](e[_0x4fcd3c(0x12b)]);if(!this[_0x4fcd3c(0x12e)]())return;const _0x1a3011={'layoutConfig':_0x3ec817[_0x4fcd3c(0x141)],'renderConfig':_0x3ec817[_0x4fcd3c(0x159)]};if(_0x1a3011==null)return;this['fireEvent'](this[_0x4fcd3c(0x142)][_0x4fcd3c(0x11a)],_0x1a3011);}}));}}g[_0x2f78e2(0x156)][_0x2f78e2(0x121)](l);
|