@univerjs-pro/sheets-print 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256
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 +41 -41
- 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 +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2f52a2=_0x3271;(function(_0x65b4dd,_0x52cad7){const _0x3d4785=_0x3271,_0x17f4bc=_0x65b4dd();while(!![]){try{const _0x1aa90c=parseInt(_0x3d4785(0xd3))/0x1+-parseInt(_0x3d4785(0xcc))/0x2*(parseInt(_0x3d4785(0xb8))/0x3)+-parseInt(_0x3d4785(0xc6))/0x4+-parseInt(_0x3d4785(0xce))/0x5*(-parseInt(_0x3d4785(0xcf))/0x6)+-parseInt(_0x3d4785(0xaf))/0x7*(parseInt(_0x3d4785(0xd0))/0x8)+-parseInt(_0x3d4785(0xc3))/0x9*(-parseInt(_0x3d4785(0xab))/0xa)+parseInt(_0x3d4785(0xa7))/0xb*(parseInt(_0x3d4785(0xa3))/0xc);if(_0x1aa90c===_0x52cad7)break;else _0x17f4bc['push'](_0x17f4bc['shift']());}catch(_0x27bb71){_0x17f4bc['push'](_0x17f4bc['shift']());}}}(_0x2443,0xba5c0));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']{[_0x2f52a2(0xa0)](_0x1a315a){const _0x29b1ed=_0x2f52a2;return this['_injector'][_0x29b1ed(0xb4)](e[_0x29b1ed(0xd5)])[_0x29b1ed(0xca)](_0x1a315a),this;}[_0x2f52a2(0xb5)](_0x98374e){const _0x5f1e7b=_0x2f52a2;return this[_0x5f1e7b(0xa4)][_0x5f1e7b(0xb4)](e['ISheetPrintManagerService'])[_0x5f1e7b(0xd1)](_0x98374e),this;}['print'](){const _0x1700b3=_0x2f52a2;return this[_0x1700b3(0xa4)][_0x1700b3(0xb4)](a['ICommandService'])[_0x1700b3(0xd7)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x53934b=_0x2f52a2;return this[_0x53934b(0xa4)][_0x53934b(0xb4)](a[_0x53934b(0xc5)])[_0x53934b(0xd7)](e['SheetPrintOpenOperation']['id']);}[_0x2f52a2(0x9e)](){const _0x400d2d=_0x2f52a2;return this[_0x400d2d(0xa4)][_0x400d2d(0xb4)](a[_0x400d2d(0xc5)])[_0x400d2d(0xd7)](e[_0x400d2d(0x99)]['id']);}async['saveScreenshotToClipboard'](){const _0xcf4ccd=_0x2f52a2;return e['hasPrintFacadePermission'](this[_0xcf4ccd(0xa4)])?this[_0xcf4ccd(0xa4)][_0xcf4ccd(0xb4)](a[_0xcf4ccd(0xc5)])[_0xcf4ccd(0x98)](e[_0xcf4ccd(0xcb)]['id']):!0x1;}}d[_0x2f52a2(0xd4)][_0x2f52a2(0x9d)](S);function _0x3271(_0x3400aa,_0x37f167){const _0x244380=_0x2443();return _0x3271=function(_0x327182,_0x3f26f6){_0x327182=_0x327182-0x98;let _0x209397=_0x244380[_0x327182];return _0x209397;},_0x3271(_0x3400aa,_0x37f167);}function _0x2443(){const _0x275f55=['PrintPaperMargin','20104lVDKgC','PrintScale','getActiveSheet','cancel','BeforeSheetPrintConfirm','get','updatePrintRenderConfig','getRangeImage','layoutConfig','15FrGEwr','SheetPrintOpen','SheetPrintCanceled','fireEvent','SheetPrintConfirmed','_initialize','PrintHeaderFooterSymbol','registerEventHandler','getActiveUniverSheet','PaperType','CanceledError','9kmNQQS','PrintAlign','ICommandService','1379572VbzCwq','PrintDirection','PrintArea','PrintHeaderFooter','updateLayoutConfig','SheetScreenShotOperation','314432truDXv','SheetPrintOpenOperation','2518895pNOdhb','6cJXFXU','1336GfMJoh','updateRenderConfig','PrintFreeze','44899LonKeq','FWorkbook','ISheetPrintManagerService','_range','syncExecuteCommand','executeCommand','CancelSheetPrintOperation','BeforeSheetPrintOpen','Event','onCommandExecuted','extend','closePrintDialog','FEnum','updatePrintConfig','renderConfig','SheetPrintClientService','2468148DtJzmT','_injector','beforeCommandExecuted','FUniver','77KPXWbt','getUnitId','hasPrintFacadePermission','BeforeSheetPrintCanceled','3854940dtahLm','ConfirmSheetPrintOperation','getScreenshot'];_0x2443=function(){return _0x275f55;};return _0x2443();}class f extends d['FRange']{[_0x2f52a2(0xad)](){const _0x5f2b14=_0x2f52a2;return e[_0x5f2b14(0xa9)](this[_0x5f2b14(0xa4)])?this[_0x5f2b14(0xa4)]['get'](e[_0x5f2b14(0xa2)])[_0x5f2b14(0xb6)](this['_workbook'][_0x5f2b14(0xa8)](),this['_worksheet']['getSheetId'](),this[_0x5f2b14(0xd6)]):!0x1;}}d['FRange'][_0x2f52a2(0x9d)](f);class P{get[_0x2f52a2(0x9a)](){return'BeforeSheetPrintOpen';}get[_0x2f52a2(0xb3)](){const _0x270f5c=_0x2f52a2;return _0x270f5c(0xb3);}get['BeforeSheetPrintCanceled'](){const _0x622e6b=_0x2f52a2;return _0x622e6b(0xaa);}get['SheetPrintOpen'](){const _0x1b80b3=_0x2f52a2;return _0x1b80b3(0xb9);}get[_0x2f52a2(0xbc)](){const _0x45d4b0=_0x2f52a2;return _0x45d4b0(0xbc);}get[_0x2f52a2(0xba)](){const _0x62ac80=_0x2f52a2;return _0x62ac80(0xba);}}g['FEventName'][_0x2f52a2(0x9d)](P);class u{get['PrintArea'](){const _0x224aa1=_0x2f52a2;return e[_0x224aa1(0xc8)];}get[_0x2f52a2(0xc4)](){const _0x17cce4=_0x2f52a2;return c[_0x17cce4(0xc4)];}get['PrintPaperSize'](){const _0x518af4=_0x2f52a2;return a[_0x518af4(0xc1)];}get['PrintPaperMargin'](){const _0x309155=_0x2f52a2;return c[_0x309155(0xae)];}get[_0x2f52a2(0xb0)](){const _0x41d301=_0x2f52a2;return c[_0x41d301(0xb0)];}get[_0x2f52a2(0xc7)](){const _0x15cbf3=_0x2f52a2;return c[_0x15cbf3(0xc7)];}get[_0x2f52a2(0xd2)](){return e['PrintFreeze'];}get[_0x2f52a2(0xc9)](){const _0x2e5606=_0x2f52a2;return e[_0x2e5606(0xc9)];}get[_0x2f52a2(0xbe)](){const _0x6ab186=_0x2f52a2;return e[_0x6ab186(0xbe)];}}g[_0x2f52a2(0x9f)]['extend'](u);class l extends g[_0x2f52a2(0xa6)]{[_0x2f52a2(0xbd)](_0x59f50b){const _0x268808=_0x2f52a2,_0xb86d86=_0x59f50b[_0x268808(0xb4)](a[_0x268808(0xc5)]);this[_0x268808(0xbf)](this[_0x268808(0x9b)][_0x268808(0x9a)],()=>_0xb86d86[_0x268808(0xa5)](_0x1c3aec=>{const _0x3a6a36=_0x268808;if(_0x1c3aec['id']===e[_0x3a6a36(0xcd)]['id']){const _0x929cf1=this[_0x3a6a36(0xc0)]();if(!_0x929cf1)return;const _0x117478={'workbook':_0x929cf1,'worksheet':_0x929cf1[_0x3a6a36(0xb1)]()};if(_0x117478==null)return;if(this['fireEvent'](this['Event'][_0x3a6a36(0x9a)],_0x117478),_0x117478[_0x3a6a36(0xb2)])throw new a[(_0x3a6a36(0xc2))]();}})),this[_0x268808(0xbf)](this[_0x268808(0x9b)][_0x268808(0xb3)],()=>_0xb86d86[_0x268808(0xa5)](_0x33f7ce=>{const _0x3aeca0=_0x268808;if(_0x33f7ce['id']===e['ConfirmSheetPrintOperation']['id']){const _0x52895a=_0x59f50b['get'](e[_0x3aeca0(0xd5)]);if(!this['getActiveUniverSheet']())return;const _0xe37d65={'layoutConfig':_0x52895a['layoutConfig'],'renderConfig':_0x52895a[_0x3aeca0(0xa1)]};if(_0xe37d65==null)return;if(this[_0x3aeca0(0xbb)](this['Event'][_0x3aeca0(0xb3)],_0xe37d65),_0xe37d65[_0x3aeca0(0xb2)])throw new a[(_0x3aeca0(0xc2))]();}})),this[_0x268808(0xbf)](this['Event'][_0x268808(0xaa)],()=>_0xb86d86[_0x268808(0xa5)](_0x56e4dc=>{const _0x5639da=_0x268808;if(_0x56e4dc['id']===e[_0x5639da(0x99)]['id']){const _0x333f9a=_0x59f50b[_0x5639da(0xb4)](e[_0x5639da(0xd5)]);if(!this['getActiveUniverSheet']())return;const _0x371d10={'layoutConfig':_0x333f9a[_0x5639da(0xb7)],'renderConfig':_0x333f9a['renderConfig']};if(_0x371d10==null)return;if(this['fireEvent'](this[_0x5639da(0x9b)][_0x5639da(0xaa)],_0x371d10),_0x371d10[_0x5639da(0xb2)])throw new a[(_0x5639da(0xc2))]();}})),this['registerEventHandler'](this[_0x268808(0x9b)][_0x268808(0xb9)],()=>_0xb86d86[_0x268808(0x9c)](_0x3e094d=>{const _0x5cbff8=_0x268808;if(_0x3e094d['id']===e[_0x5cbff8(0xcd)]['id']){const _0x495b5d=this['getActiveUniverSheet']();if(!_0x495b5d)return;const _0xd8db2b={'workbook':_0x495b5d,'worksheet':_0x495b5d[_0x5cbff8(0xb1)]()};if(_0xd8db2b==null)return;this[_0x5cbff8(0xbb)](this[_0x5cbff8(0x9b)][_0x5cbff8(0xb9)],_0xd8db2b);}})),this['registerEventHandler'](this[_0x268808(0x9b)]['SheetPrintConfirmed'],()=>_0xb86d86['onCommandExecuted'](_0x146aeb=>{const _0x32c721=_0x268808;if(_0x146aeb['id']===e[_0x32c721(0xac)]['id']){const _0x987d34=_0x59f50b[_0x32c721(0xb4)](e[_0x32c721(0xd5)]);if(!this[_0x32c721(0xc0)]())return;const _0x48ff96={'layoutConfig':_0x987d34[_0x32c721(0xb7)],'renderConfig':_0x987d34[_0x32c721(0xa1)]};if(_0x48ff96==null)return;this['fireEvent'](this[_0x32c721(0x9b)]['SheetPrintConfirmed'],_0x48ff96);}})),this[_0x268808(0xbf)](this[_0x268808(0x9b)]['SheetPrintCanceled'],()=>_0xb86d86[_0x268808(0x9c)](_0x183257=>{const _0x552fcf=_0x268808;if(_0x183257['id']===e['CancelSheetPrintOperation']['id']){const _0x460d17=_0x59f50b['get'](e[_0x552fcf(0xd5)]);if(!this[_0x552fcf(0xc0)]())return;const _0x102e87={'layoutConfig':_0x460d17[_0x552fcf(0xb7)],'renderConfig':_0x460d17[_0x552fcf(0xa1)]};if(_0x102e87==null)return;this[_0x552fcf(0xbb)](this[_0x552fcf(0x9b)]['SheetPrintCanceled'],_0x102e87);}}));}}g['FUniver'][_0x2f52a2(0x9d)](l);
|