@univerjs-pro/sheets-print 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614
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 +39 -39
- package/lib/types/controllers/config.schema.d.ts +5 -0
- 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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x454a(){const _0x1e5cee=['getScreenshot','print','FEnum','renderConfig','PrintDirection','19108iIsvlO','getSheetId','SheetScreenShotOperation','fireEvent','_workbook','updateRenderConfig','FUniver','FEventName','syncExecuteCommand','3hmQqAm','80412iwgaOT','1046840IBlVlo','BeforeSheetPrintConfirm','PaperType','openPrintDialog','SheetPrintConfirmed','5LwSwEl','1023MUnhtg','PrintScale','ICommandService','closePrintDialog','9OiQVcz','getActiveUniverSheet','onCommandExecuted','PrintHeaderFooterSymbol','extend','ISheetPrintManagerService','registerEventHandler','getActiveSheet','2154756SpDVHh','hasPrintFacadePermission','Event','beforeCommandExecuted','PrintHeaderFooter','PrintFreeze','5337048MIFxnr','FRange','PrintArea','get','66dCMYIp','PrintAlign','_injector','layoutConfig','FWorkbook','cancel','ConfirmSheetPrintOperation','BeforeSheetPrintOpen','_range','_initialize','1958390wkTXXy','BeforeSheetPrintCanceled','PrintPaperMargin','CancelSheetPrintOperation','saveScreenshotToClipboard','updatePrintConfig','SheetPrintCanceled','SheetPrintOpen','SheetPrintOpenOperation','122549dYmbNo','CanceledError','_worksheet'];_0x454a=function(){return _0x1e5cee;};return _0x454a();}const _0x276e20=_0x2570;(function(_0x2381f4,_0x4daae2){const _0x48e32c=_0x2570,_0x131157=_0x2381f4();while(!![]){try{const _0x50b6ff=parseInt(_0x48e32c(0x82))/0x1+-parseInt(_0x48e32c(0xb9))/0x2*(-parseInt(_0x48e32c(0x80))/0x3)+-parseInt(_0x48e32c(0x94))/0x4*(-parseInt(_0x48e32c(0x87))/0x5)+-parseInt(_0x48e32c(0x9e))/0x6*(-parseInt(_0x48e32c(0xb1))/0x7)+-parseInt(_0x48e32c(0x9a))/0x8+-parseInt(_0x48e32c(0x8c))/0x9*(-parseInt(_0x48e32c(0xa8))/0xa)+-parseInt(_0x48e32c(0x88))/0xb*(parseInt(_0x48e32c(0x81))/0xc);if(_0x50b6ff===_0x4daae2)break;else _0x131157['push'](_0x131157['shift']());}catch(_0x517e73){_0x131157['push'](_0x131157['shift']());}}}(_0x454a,0xa93b7));function _0x2570(_0x872873,_0x1cbe8e){const _0x454aec=_0x454a();return _0x2570=function(_0x2570a8,_0x1e14b8){_0x2570a8=_0x2570a8-0x7f;let _0x2c9b20=_0x454aec[_0x2570a8];return _0x2c9b20;},_0x2570(_0x872873,_0x1cbe8e);}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']{[_0x276e20(0xad)](_0x453f94){const _0x5d74e2=_0x276e20;return this['_injector']['get'](e[_0x5d74e2(0x91)])['updateLayoutConfig'](_0x453f94),this;}['updatePrintRenderConfig'](_0x58ad21){const _0x2cca29=_0x276e20;return this['_injector'][_0x2cca29(0x9d)](e[_0x2cca29(0x91)])[_0x2cca29(0xbe)](_0x58ad21),this;}[_0x276e20(0xb5)](){const _0x4e84a5=_0x276e20;return this[_0x4e84a5(0xa0)][_0x4e84a5(0x9d)](a['ICommandService'])[_0x4e84a5(0x7f)](e['ConfirmSheetPrintOperation']['id']);}[_0x276e20(0x85)](){const _0x2a3645=_0x276e20;return this[_0x2a3645(0xa0)][_0x2a3645(0x9d)](a[_0x2a3645(0x8a)])['syncExecuteCommand'](e[_0x2a3645(0xb0)]['id']);}[_0x276e20(0x8b)](){const _0x20457d=_0x276e20;return this[_0x20457d(0xa0)][_0x20457d(0x9d)](a[_0x20457d(0x8a)])['syncExecuteCommand'](e[_0x20457d(0xab)]['id']);}async[_0x276e20(0xac)](){const _0x4d121c=_0x276e20;return e[_0x4d121c(0x95)](this[_0x4d121c(0xa0)])?this[_0x4d121c(0xa0)][_0x4d121c(0x9d)](a[_0x4d121c(0x8a)])['executeCommand'](e[_0x4d121c(0xbb)]['id']):!0x1;}}d[_0x276e20(0xa2)][_0x276e20(0x90)](S);class f extends d[_0x276e20(0x9b)]{[_0x276e20(0xb4)](){const _0x5971f=_0x276e20;return e[_0x5971f(0x95)](this[_0x5971f(0xa0)])?this[_0x5971f(0xa0)][_0x5971f(0x9d)](e['SheetPrintClientService'])['getRangeImage'](this[_0x5971f(0xbd)]['getUnitId'](),this[_0x5971f(0xb3)][_0x5971f(0xba)](),this[_0x5971f(0xa6)]):!0x1;}}d[_0x276e20(0x9b)][_0x276e20(0x90)](f);class P{get[_0x276e20(0xa5)](){const _0x131f27=_0x276e20;return _0x131f27(0xa5);}get['BeforeSheetPrintConfirm'](){const _0x3fce25=_0x276e20;return _0x3fce25(0x83);}get[_0x276e20(0xa9)](){const _0x169fbd=_0x276e20;return _0x169fbd(0xa9);}get[_0x276e20(0xaf)](){const _0x3baa5a=_0x276e20;return _0x3baa5a(0xaf);}get[_0x276e20(0x86)](){const _0x4a23ed=_0x276e20;return _0x4a23ed(0x86);}get['SheetPrintCanceled'](){const _0x2a9672=_0x276e20;return _0x2a9672(0xae);}}g[_0x276e20(0xc0)][_0x276e20(0x90)](P);class u{get[_0x276e20(0x9c)](){const _0x5deb89=_0x276e20;return e[_0x5deb89(0x9c)];}get[_0x276e20(0x9f)](){const _0x310d84=_0x276e20;return c[_0x310d84(0x9f)];}get['PrintPaperSize'](){const _0x3dcd34=_0x276e20;return a[_0x3dcd34(0x84)];}get[_0x276e20(0xaa)](){const _0x41c94a=_0x276e20;return c[_0x41c94a(0xaa)];}get[_0x276e20(0x89)](){return c['PrintScale'];}get[_0x276e20(0xb8)](){const _0x3594b9=_0x276e20;return c[_0x3594b9(0xb8)];}get[_0x276e20(0x99)](){const _0x2b6120=_0x276e20;return e[_0x2b6120(0x99)];}get[_0x276e20(0x98)](){return e['PrintHeaderFooter'];}get[_0x276e20(0x8f)](){const _0x2ba403=_0x276e20;return e[_0x2ba403(0x8f)];}}g[_0x276e20(0xb6)][_0x276e20(0x90)](u);class l extends g[_0x276e20(0xbf)]{[_0x276e20(0xa7)](_0x1cd1a1){const _0x5c6efa=_0x276e20,_0x394dbb=_0x1cd1a1[_0x5c6efa(0x9d)](a[_0x5c6efa(0x8a)]);this['registerEventHandler'](this[_0x5c6efa(0x96)]['BeforeSheetPrintOpen'],()=>_0x394dbb[_0x5c6efa(0x97)](_0x57353f=>{const _0x16787d=_0x5c6efa;if(_0x57353f['id']===e[_0x16787d(0xb0)]['id']){const _0x1605fd=this[_0x16787d(0x8d)]();if(!_0x1605fd)return;const _0x252dc5={'workbook':_0x1605fd,'worksheet':_0x1605fd[_0x16787d(0x93)]()};if(_0x252dc5==null)return;if(this[_0x16787d(0xbc)](this[_0x16787d(0x96)][_0x16787d(0xa5)],_0x252dc5),_0x252dc5[_0x16787d(0xa3)])throw new a['CanceledError']();}})),this[_0x5c6efa(0x92)](this[_0x5c6efa(0x96)]['BeforeSheetPrintConfirm'],()=>_0x394dbb['beforeCommandExecuted'](_0x994c6f=>{const _0x400236=_0x5c6efa;if(_0x994c6f['id']===e[_0x400236(0xa4)]['id']){const _0x3106b7=_0x1cd1a1[_0x400236(0x9d)](e['ISheetPrintManagerService']);if(!this[_0x400236(0x8d)]())return;const _0x12f067={'layoutConfig':_0x3106b7[_0x400236(0xa1)],'renderConfig':_0x3106b7[_0x400236(0xb7)]};if(_0x12f067==null)return;if(this[_0x400236(0xbc)](this[_0x400236(0x96)][_0x400236(0x83)],_0x12f067),_0x12f067[_0x400236(0xa3)])throw new a['CanceledError']();}})),this[_0x5c6efa(0x92)](this[_0x5c6efa(0x96)][_0x5c6efa(0xa9)],()=>_0x394dbb[_0x5c6efa(0x97)](_0x4b416b=>{const _0x510c10=_0x5c6efa;if(_0x4b416b['id']===e['CancelSheetPrintOperation']['id']){const _0xb49fd7=_0x1cd1a1[_0x510c10(0x9d)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x3813c3={'layoutConfig':_0xb49fd7['layoutConfig'],'renderConfig':_0xb49fd7[_0x510c10(0xb7)]};if(_0x3813c3==null)return;if(this[_0x510c10(0xbc)](this[_0x510c10(0x96)][_0x510c10(0xa9)],_0x3813c3),_0x3813c3[_0x510c10(0xa3)])throw new a[(_0x510c10(0xb2))]();}})),this['registerEventHandler'](this[_0x5c6efa(0x96)]['SheetPrintOpen'],()=>_0x394dbb[_0x5c6efa(0x8e)](_0x538b86=>{const _0x51b360=_0x5c6efa;if(_0x538b86['id']===e[_0x51b360(0xb0)]['id']){const _0x583ae0=this[_0x51b360(0x8d)]();if(!_0x583ae0)return;const _0x452f95={'workbook':_0x583ae0,'worksheet':_0x583ae0['getActiveSheet']()};if(_0x452f95==null)return;this['fireEvent'](this[_0x51b360(0x96)][_0x51b360(0xaf)],_0x452f95);}})),this[_0x5c6efa(0x92)](this[_0x5c6efa(0x96)][_0x5c6efa(0x86)],()=>_0x394dbb[_0x5c6efa(0x8e)](_0x442244=>{const _0x536222=_0x5c6efa;if(_0x442244['id']===e[_0x536222(0xa4)]['id']){const _0x4573fe=_0x1cd1a1['get'](e[_0x536222(0x91)]);if(!this['getActiveUniverSheet']())return;const _0x4764bc={'layoutConfig':_0x4573fe['layoutConfig'],'renderConfig':_0x4573fe['renderConfig']};if(_0x4764bc==null)return;this[_0x536222(0xbc)](this[_0x536222(0x96)][_0x536222(0x86)],_0x4764bc);}})),this[_0x5c6efa(0x92)](this['Event'][_0x5c6efa(0xae)],()=>_0x394dbb['onCommandExecuted'](_0x4cd919=>{const _0xbb9b59=_0x5c6efa;if(_0x4cd919['id']===e[_0xbb9b59(0xab)]['id']){const _0x494d18=_0x1cd1a1[_0xbb9b59(0x9d)](e[_0xbb9b59(0x91)]);if(!this[_0xbb9b59(0x8d)]())return;const _0x4fe8fa={'layoutConfig':_0x494d18[_0xbb9b59(0xa1)],'renderConfig':_0x494d18[_0xbb9b59(0xb7)]};if(_0x4fe8fa==null)return;this[_0xbb9b59(0xbc)](this['Event'][_0xbb9b59(0xae)],_0x4fe8fa);}}));}}g[_0x276e20(0xbf)][_0x276e20(0x90)](l);
|