@univerjs-pro/sheets-print 0.10.12 → 0.10.13-nightly.202510290902
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 +42 -42
- 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 +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x13ce7a=_0x321c;(function(_0x5c2b79,_0x1959d0){const _0x12fafc=_0x321c,_0x46b81c=_0x5c2b79();while(!![]){try{const _0x47ebfe=-parseInt(_0x12fafc(0xbb))/0x1+parseInt(_0x12fafc(0xdc))/0x2*(-parseInt(_0x12fafc(0xca))/0x3)+-parseInt(_0x12fafc(0xcd))/0x4*(parseInt(_0x12fafc(0xd6))/0x5)+parseInt(_0x12fafc(0xad))/0x6*(-parseInt(_0x12fafc(0xc9))/0x7)+parseInt(_0x12fafc(0xdd))/0x8+-parseInt(_0x12fafc(0xe2))/0x9+-parseInt(_0x12fafc(0xce))/0xa*(-parseInt(_0x12fafc(0xb4))/0xb);if(_0x47ebfe===_0x1959d0)break;else _0x46b81c['push'](_0x46b81c['shift']());}catch(_0x485ac9){_0x46b81c['push'](_0x46b81c['shift']());}}}(_0xf0b7,0x4884d));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[_0x13ce7a(0xc1)]{['updatePrintConfig'](_0x48d897){const _0x34c129=_0x13ce7a;return this[_0x34c129(0xd5)][_0x34c129(0xb2)](e[_0x34c129(0xd8)])[_0x34c129(0xc8)](_0x48d897),this;}[_0x13ce7a(0xd9)](_0xb22476){const _0x53a454=_0x13ce7a;return this[_0x53a454(0xd5)][_0x53a454(0xb2)](e[_0x53a454(0xd8)])['updateRenderConfig'](_0xb22476),this;}[_0x13ce7a(0xd2)](){const _0x3df3e0=_0x13ce7a;return this[_0x3df3e0(0xd5)]['get'](a[_0x3df3e0(0xb8)])[_0x3df3e0(0xe1)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x377b4d=_0x13ce7a;return this[_0x377b4d(0xd5)][_0x377b4d(0xb2)](a['ICommandService'])[_0x377b4d(0xe1)](e[_0x377b4d(0xaa)]['id']);}['closePrintDialog'](){const _0x2ab948=_0x13ce7a;return this[_0x2ab948(0xd5)]['get'](a['ICommandService'])[_0x2ab948(0xe1)](e[_0x2ab948(0xd1)]['id']);}async[_0x13ce7a(0xb5)](){const _0x11c638=_0x13ce7a;return e[_0x11c638(0xe5)](this['_injector'])?this['_injector']['get'](a[_0x11c638(0xb8)])['executeCommand'](e['SheetScreenShotOperation']['id']):!0x1;}}function _0x321c(_0x59240b,_0x3c277d){const _0xf0b755=_0xf0b7();return _0x321c=function(_0x321c31,_0xf477e0){_0x321c31=_0x321c31-0xa9;let _0x25762e=_0xf0b755[_0x321c31];return _0x25762e;},_0x321c(_0x59240b,_0x3c277d);}d[_0x13ce7a(0xc1)]['extend'](S);class f extends d[_0x13ce7a(0xcf)]{[_0x13ce7a(0xc0)](){const _0xae97=_0x13ce7a;return e[_0xae97(0xe5)](this[_0xae97(0xd5)])?this['_injector']['get'](e[_0xae97(0xcc)])[_0xae97(0xc2)](this['_workbook']['getUnitId'](),this[_0xae97(0xe7)][_0xae97(0xcb)](),this[_0xae97(0xbd)]):!0x1;}}d[_0x13ce7a(0xcf)]['extend'](f);class P{get[_0x13ce7a(0xda)](){const _0x5a07d7=_0x13ce7a;return _0x5a07d7(0xda);}get[_0x13ce7a(0xc5)](){const _0x39682d=_0x13ce7a;return _0x39682d(0xc5);}get[_0x13ce7a(0xac)](){const _0x47fd64=_0x13ce7a;return _0x47fd64(0xac);}get[_0x13ce7a(0xe4)](){const _0x17d4ef=_0x13ce7a;return _0x17d4ef(0xe4);}get[_0x13ce7a(0xdb)](){const _0x2be9c8=_0x13ce7a;return _0x2be9c8(0xdb);}get[_0x13ce7a(0xb7)](){const _0x18687e=_0x13ce7a;return _0x18687e(0xb7);}}g[_0x13ce7a(0xa9)][_0x13ce7a(0xb1)](P);class u{get[_0x13ce7a(0xaf)](){const _0x2c2ef4=_0x13ce7a;return e[_0x2c2ef4(0xaf)];}get['PrintAlign'](){const _0x52f9d1=_0x13ce7a;return c[_0x52f9d1(0xae)];}get[_0x13ce7a(0xde)](){const _0x3f6b10=_0x13ce7a;return a[_0x3f6b10(0xc6)];}get['PrintPaperMargin'](){const _0x3fad5e=_0x13ce7a;return c[_0x3fad5e(0xe6)];}get[_0x13ce7a(0xbf)](){const _0x4f5348=_0x13ce7a;return c[_0x4f5348(0xbf)];}get[_0x13ce7a(0xd4)](){const _0x33f1bc=_0x13ce7a;return c[_0x33f1bc(0xd4)];}get[_0x13ce7a(0xba)](){const _0x27ec60=_0x13ce7a;return e[_0x27ec60(0xba)];}get[_0x13ce7a(0xb9)](){return e['PrintHeaderFooter'];}get[_0x13ce7a(0xbe)](){const _0x303795=_0x13ce7a;return e[_0x303795(0xbe)];}}g[_0x13ce7a(0xab)]['extend'](u);class l extends g[_0x13ce7a(0xc4)]{[_0x13ce7a(0xd7)](_0x162023){const _0x12398f=_0x13ce7a,_0x5005ac=_0x162023[_0x12398f(0xb2)](a[_0x12398f(0xb8)]);this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xda)],()=>_0x5005ac[_0x12398f(0xd0)](_0x1ed376=>{const _0x53be3c=_0x12398f;if(_0x1ed376['id']===e[_0x53be3c(0xaa)]['id']){const _0x3f67af=this[_0x53be3c(0xe0)]();if(!_0x3f67af)return;const _0x4029d5={'workbook':_0x3f67af,'worksheet':_0x3f67af['getActiveSheet']()};if(_0x4029d5==null)return;if(this[_0x53be3c(0xe3)](this[_0x53be3c(0xbc)][_0x53be3c(0xda)],_0x4029d5),_0x4029d5[_0x53be3c(0xd3)])throw new a[(_0x53be3c(0xdf))]();}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)]['BeforeSheetPrintConfirm'],()=>_0x5005ac['beforeCommandExecuted'](_0xf4b73a=>{const _0x275cc8=_0x12398f;if(_0xf4b73a['id']===e['ConfirmSheetPrintOperation']['id']){const _0x34976d=_0x162023[_0x275cc8(0xb2)](e[_0x275cc8(0xd8)]);if(!this[_0x275cc8(0xe0)]())return;const _0x42e0ae={'layoutConfig':_0x34976d[_0x275cc8(0xc7)],'renderConfig':_0x34976d[_0x275cc8(0xc3)]};if(_0x42e0ae==null)return;if(this[_0x275cc8(0xe3)](this[_0x275cc8(0xbc)][_0x275cc8(0xc5)],_0x42e0ae),_0x42e0ae['cancel'])throw new a[(_0x275cc8(0xdf))]();}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xac)],()=>_0x5005ac[_0x12398f(0xd0)](_0x23d624=>{const _0x3bc9f0=_0x12398f;if(_0x23d624['id']===e[_0x3bc9f0(0xd1)]['id']){const _0x2757c6=_0x162023[_0x3bc9f0(0xb2)](e[_0x3bc9f0(0xd8)]);if(!this[_0x3bc9f0(0xe0)]())return;const _0x523aae={'layoutConfig':_0x2757c6[_0x3bc9f0(0xc7)],'renderConfig':_0x2757c6[_0x3bc9f0(0xc3)]};if(_0x523aae==null)return;if(this[_0x3bc9f0(0xe3)](this[_0x3bc9f0(0xbc)][_0x3bc9f0(0xac)],_0x523aae),_0x523aae[_0x3bc9f0(0xd3)])throw new a['CanceledError']();}})),this[_0x12398f(0xb0)](this['Event']['SheetPrintOpen'],()=>_0x5005ac[_0x12398f(0xb6)](_0x3f6c26=>{const _0x3a4cd4=_0x12398f;if(_0x3f6c26['id']===e[_0x3a4cd4(0xaa)]['id']){const _0x25ebc7=this[_0x3a4cd4(0xe0)]();if(!_0x25ebc7)return;const _0x701b1c={'workbook':_0x25ebc7,'worksheet':_0x25ebc7[_0x3a4cd4(0xb3)]()};if(_0x701b1c==null)return;this[_0x3a4cd4(0xe3)](this[_0x3a4cd4(0xbc)]['SheetPrintOpen'],_0x701b1c);}})),this[_0x12398f(0xb0)](this[_0x12398f(0xbc)][_0x12398f(0xdb)],()=>_0x5005ac[_0x12398f(0xb6)](_0x42051a=>{const _0x2bcc20=_0x12398f;if(_0x42051a['id']===e['ConfirmSheetPrintOperation']['id']){const _0x358a57=_0x162023[_0x2bcc20(0xb2)](e[_0x2bcc20(0xd8)]);if(!this[_0x2bcc20(0xe0)]())return;const _0x498d7a={'layoutConfig':_0x358a57[_0x2bcc20(0xc7)],'renderConfig':_0x358a57[_0x2bcc20(0xc3)]};if(_0x498d7a==null)return;this['fireEvent'](this[_0x2bcc20(0xbc)][_0x2bcc20(0xdb)],_0x498d7a);}})),this['registerEventHandler'](this['Event']['SheetPrintCanceled'],()=>_0x5005ac[_0x12398f(0xb6)](_0x511046=>{const _0x2f5676=_0x12398f;if(_0x511046['id']===e[_0x2f5676(0xd1)]['id']){const _0x2b9483=_0x162023[_0x2f5676(0xb2)](e[_0x2f5676(0xd8)]);if(!this[_0x2f5676(0xe0)]())return;const _0x53c344={'layoutConfig':_0x2b9483[_0x2f5676(0xc7)],'renderConfig':_0x2b9483[_0x2f5676(0xc3)]};if(_0x53c344==null)return;this['fireEvent'](this[_0x2f5676(0xbc)]['SheetPrintCanceled'],_0x53c344);}}));}}function _0xf0b7(){const _0x449c9e=['BeforeSheetPrintOpen','SheetPrintConfirmed','636tugyRm','2594272diAkou','PrintPaperSize','CanceledError','getActiveUniverSheet','syncExecuteCommand','3650877EqrGCw','fireEvent','SheetPrintOpen','hasPrintFacadePermission','PrintPaperMargin','_worksheet','FEventName','SheetPrintOpenOperation','FEnum','BeforeSheetPrintCanceled','2616GbHBMI','PrintAlign','PrintArea','registerEventHandler','extend','get','getActiveSheet','4607878GmDcJa','saveScreenshotToClipboard','onCommandExecuted','SheetPrintCanceled','ICommandService','PrintHeaderFooter','PrintFreeze','586589JPckDb','Event','_range','PrintHeaderFooterSymbol','PrintScale','getScreenshot','FWorkbook','getRangeImage','renderConfig','FUniver','BeforeSheetPrintConfirm','PaperType','layoutConfig','updateLayoutConfig','756Qqoenb','3741MEAiyc','getSheetId','SheetPrintClientService','1067852qnkYxi','40LXMmiz','FRange','beforeCommandExecuted','CancelSheetPrintOperation','print','cancel','PrintDirection','_injector','5eOBCCY','_initialize','ISheetPrintManagerService','updatePrintRenderConfig'];_0xf0b7=function(){return _0x449c9e;};return _0xf0b7();}g[_0x13ce7a(0xc4)][_0x13ce7a(0xb1)](l);
|