@univerjs-pro/sheets-print 0.10.13 → 0.10.14-nightly.202511031023
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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0xd60e(){const _0xe34280=['PrintAlign','getUnitId','getActiveUniverSheet','getActiveSheet','FRange','_initialize','PrintHeaderFooter','_workbook','FEventName','SheetPrintOpenOperation','CancelSheetPrintOperation','BeforeSheetPrintCanceled','8942XXAeTd','34ZWxLmY','PrintScale','PrintHeaderFooterSymbol','PrintPaperSize','2815PLuJWB','renderConfig','updateRenderConfig','beforeCommandExecuted','ICommandService','SheetPrintCanceled','_range','FWorkbook','PrintPaperMargin','fireEvent','237208bpYUJV','BeforeSheetPrintConfirm','6910zDHpiE','1146TCJFlp','executeCommand','7XetiKx','closePrintDialog','ConfirmSheetPrintOperation','updateLayoutConfig','PrintArea','openPrintDialog','print','ISheetPrintManagerService','FEnum','extend','PrintFreeze','204lnvqbW','CanceledError','Event','hasPrintFacadePermission','_injector','2988yjAFCf','BeforeSheetPrintOpen','8289QUPKtF','1086514DjRxoM','layoutConfig','PrintDirection','registerEventHandler','getRangeImage','cancel','getScreenshot','SheetPrintConfirmed','updatePrintRenderConfig','get','syncExecuteCommand','217646hCnqvp','84yViwVP','FUniver','SheetPrintOpen','onCommandExecuted','saveScreenshotToClipboard'];_0xd60e=function(){return _0xe34280;};return _0xd60e();}const _0x2f2a48=_0xb212;(function(_0x222907,_0x36de40){const _0x19153e=_0xb212,_0x5b30e0=_0x222907();while(!![]){try{const _0x1bd5f5=-parseInt(_0x19153e(0x1d9))/0x1*(-parseInt(_0x19153e(0x1d8))/0x2)+parseInt(_0x19153e(0x1ba))/0x3*(parseInt(_0x19153e(0x1c7))/0x4)+parseInt(_0x19153e(0x1dd))/0x5*(-parseInt(_0x19153e(0x1ea))/0x6)+parseInt(_0x19153e(0x1ec))/0x7*(-parseInt(_0x19153e(0x1e7))/0x8)+-parseInt(_0x19153e(0x1b8))/0x9*(-parseInt(_0x19153e(0x1e9))/0xa)+parseInt(_0x19153e(0x1bb))/0xb+parseInt(_0x19153e(0x1b3))/0xc*(-parseInt(_0x19153e(0x1c6))/0xd);if(_0x1bd5f5===_0x36de40)break;else _0x5b30e0['push'](_0x5b30e0['shift']());}catch(_0x1cac63){_0x5b30e0['push'](_0x5b30e0['shift']());}}}(_0xd60e,0x1c6c9));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');function _0xb212(_0x27f65e,_0x89ce9a){const _0xd60e92=_0xd60e();return _0xb212=function(_0xb21294,_0x31a88b){_0xb21294=_0xb21294-0x1ae;let _0x422b88=_0xd60e92[_0xb21294];return _0x422b88;},_0xb212(_0x27f65e,_0x89ce9a);}class S extends d[_0x2f2a48(0x1e4)]{['updatePrintConfig'](_0x90ab50){const _0x54d9fa=_0x2f2a48;return this[_0x54d9fa(0x1b7)][_0x54d9fa(0x1c4)](e[_0x54d9fa(0x1af)])[_0x54d9fa(0x1ef)](_0x90ab50),this;}[_0x2f2a48(0x1c3)](_0x538a88){const _0x37bab6=_0x2f2a48;return this[_0x37bab6(0x1b7)][_0x37bab6(0x1c4)](e[_0x37bab6(0x1af)])[_0x37bab6(0x1df)](_0x538a88),this;}[_0x2f2a48(0x1ae)](){const _0x5d15bb=_0x2f2a48;return this[_0x5d15bb(0x1b7)][_0x5d15bb(0x1c4)](a[_0x5d15bb(0x1e1)])[_0x5d15bb(0x1c5)](e[_0x5d15bb(0x1ee)]['id']);}[_0x2f2a48(0x1f1)](){const _0x3c375e=_0x2f2a48;return this[_0x3c375e(0x1b7)]['get'](a[_0x3c375e(0x1e1)])[_0x3c375e(0x1c5)](e['SheetPrintOpenOperation']['id']);}[_0x2f2a48(0x1ed)](){const _0x2a634a=_0x2f2a48;return this['_injector'][_0x2a634a(0x1c4)](a[_0x2a634a(0x1e1)])[_0x2a634a(0x1c5)](e[_0x2a634a(0x1d6)]['id']);}async[_0x2f2a48(0x1cb)](){const _0x5353bb=_0x2f2a48;return e[_0x5353bb(0x1b6)](this[_0x5353bb(0x1b7)])?this['_injector'][_0x5353bb(0x1c4)](a[_0x5353bb(0x1e1)])[_0x5353bb(0x1eb)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x2f2a48(0x1e4)][_0x2f2a48(0x1b1)](S);class f extends d[_0x2f2a48(0x1d0)]{[_0x2f2a48(0x1c1)](){const _0x34ab6b=_0x2f2a48;return e['hasPrintFacadePermission'](this['_injector'])?this['_injector'][_0x34ab6b(0x1c4)](e['SheetPrintClientService'])[_0x34ab6b(0x1bf)](this[_0x34ab6b(0x1d3)][_0x34ab6b(0x1cd)](),this['_worksheet']['getSheetId'](),this[_0x34ab6b(0x1e3)]):!0x1;}}d['FRange'][_0x2f2a48(0x1b1)](f);class P{get['BeforeSheetPrintOpen'](){const _0x1cc14d=_0x2f2a48;return _0x1cc14d(0x1b9);}get[_0x2f2a48(0x1e8)](){const _0x223c0c=_0x2f2a48;return _0x223c0c(0x1e8);}get[_0x2f2a48(0x1d7)](){const _0x420443=_0x2f2a48;return _0x420443(0x1d7);}get[_0x2f2a48(0x1c9)](){const _0x531ae0=_0x2f2a48;return _0x531ae0(0x1c9);}get[_0x2f2a48(0x1c2)](){const _0x2313c3=_0x2f2a48;return _0x2313c3(0x1c2);}get[_0x2f2a48(0x1e2)](){return'SheetPrintCanceled';}}g[_0x2f2a48(0x1d4)][_0x2f2a48(0x1b1)](P);class u{get[_0x2f2a48(0x1f0)](){return e['PrintArea'];}get['PrintAlign'](){const _0x52ee1a=_0x2f2a48;return c[_0x52ee1a(0x1cc)];}get[_0x2f2a48(0x1dc)](){return a['PaperType'];}get[_0x2f2a48(0x1e5)](){const _0x274358=_0x2f2a48;return c[_0x274358(0x1e5)];}get[_0x2f2a48(0x1da)](){const _0x6e53a=_0x2f2a48;return c[_0x6e53a(0x1da)];}get[_0x2f2a48(0x1bd)](){const _0x29a51a=_0x2f2a48;return c[_0x29a51a(0x1bd)];}get[_0x2f2a48(0x1b2)](){const _0x4abbb8=_0x2f2a48;return e[_0x4abbb8(0x1b2)];}get['PrintHeaderFooter'](){const _0x3126fa=_0x2f2a48;return e[_0x3126fa(0x1d2)];}get[_0x2f2a48(0x1db)](){const _0x35e987=_0x2f2a48;return e[_0x35e987(0x1db)];}}g[_0x2f2a48(0x1b0)][_0x2f2a48(0x1b1)](u);class l extends g[_0x2f2a48(0x1c8)]{[_0x2f2a48(0x1d1)](_0x48daea){const _0x34424b=_0x2f2a48,_0x573412=_0x48daea[_0x34424b(0x1c4)](a['ICommandService']);this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)]['BeforeSheetPrintOpen'],()=>_0x573412['beforeCommandExecuted'](_0x242d54=>{const _0x27e45c=_0x34424b;if(_0x242d54['id']===e['SheetPrintOpenOperation']['id']){const _0x45a00b=this[_0x27e45c(0x1ce)]();if(!_0x45a00b)return;const _0x9b276e={'workbook':_0x45a00b,'worksheet':_0x45a00b[_0x27e45c(0x1cf)]()};if(_0x9b276e==null)return;if(this[_0x27e45c(0x1e6)](this['Event'][_0x27e45c(0x1b9)],_0x9b276e),_0x9b276e[_0x27e45c(0x1c0)])throw new a[(_0x27e45c(0x1b4))]();}})),this[_0x34424b(0x1be)](this['Event']['BeforeSheetPrintConfirm'],()=>_0x573412[_0x34424b(0x1e0)](_0x25602c=>{const _0x36885a=_0x34424b;if(_0x25602c['id']===e[_0x36885a(0x1ee)]['id']){const _0x55e3a4=_0x48daea[_0x36885a(0x1c4)](e['ISheetPrintManagerService']);if(!this[_0x36885a(0x1ce)]())return;const _0x2b7ede={'layoutConfig':_0x55e3a4[_0x36885a(0x1bc)],'renderConfig':_0x55e3a4[_0x36885a(0x1de)]};if(_0x2b7ede==null)return;if(this[_0x36885a(0x1e6)](this[_0x36885a(0x1b5)]['BeforeSheetPrintConfirm'],_0x2b7ede),_0x2b7ede[_0x36885a(0x1c0)])throw new a[(_0x36885a(0x1b4))]();}})),this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)][_0x34424b(0x1d7)],()=>_0x573412[_0x34424b(0x1e0)](_0x1eceab=>{const _0xfd748c=_0x34424b;if(_0x1eceab['id']===e[_0xfd748c(0x1d6)]['id']){const _0x523238=_0x48daea[_0xfd748c(0x1c4)](e[_0xfd748c(0x1af)]);if(!this[_0xfd748c(0x1ce)]())return;const _0x5f4ab4={'layoutConfig':_0x523238[_0xfd748c(0x1bc)],'renderConfig':_0x523238[_0xfd748c(0x1de)]};if(_0x5f4ab4==null)return;if(this['fireEvent'](this[_0xfd748c(0x1b5)][_0xfd748c(0x1d7)],_0x5f4ab4),_0x5f4ab4['cancel'])throw new a[(_0xfd748c(0x1b4))]();}})),this['registerEventHandler'](this[_0x34424b(0x1b5)][_0x34424b(0x1c9)],()=>_0x573412[_0x34424b(0x1ca)](_0x3fcef1=>{const _0x593f85=_0x34424b;if(_0x3fcef1['id']===e[_0x593f85(0x1d5)]['id']){const _0x3cf1d6=this[_0x593f85(0x1ce)]();if(!_0x3cf1d6)return;const _0x29b40b={'workbook':_0x3cf1d6,'worksheet':_0x3cf1d6[_0x593f85(0x1cf)]()};if(_0x29b40b==null)return;this[_0x593f85(0x1e6)](this[_0x593f85(0x1b5)][_0x593f85(0x1c9)],_0x29b40b);}})),this[_0x34424b(0x1be)](this[_0x34424b(0x1b5)][_0x34424b(0x1c2)],()=>_0x573412[_0x34424b(0x1ca)](_0x576311=>{const _0x32740d=_0x34424b;if(_0x576311['id']===e['ConfirmSheetPrintOperation']['id']){const _0x49ebce=_0x48daea['get'](e[_0x32740d(0x1af)]);if(!this['getActiveUniverSheet']())return;const _0x36bc86={'layoutConfig':_0x49ebce[_0x32740d(0x1bc)],'renderConfig':_0x49ebce[_0x32740d(0x1de)]};if(_0x36bc86==null)return;this[_0x32740d(0x1e6)](this[_0x32740d(0x1b5)][_0x32740d(0x1c2)],_0x36bc86);}})),this['registerEventHandler'](this[_0x34424b(0x1b5)][_0x34424b(0x1e2)],()=>_0x573412[_0x34424b(0x1ca)](_0x10a5eb=>{const _0x4a5f08=_0x34424b;if(_0x10a5eb['id']===e['CancelSheetPrintOperation']['id']){const _0x7518ef=_0x48daea[_0x4a5f08(0x1c4)](e[_0x4a5f08(0x1af)]);if(!this[_0x4a5f08(0x1ce)]())return;const _0x2a72af={'layoutConfig':_0x7518ef[_0x4a5f08(0x1bc)],'renderConfig':_0x7518ef['renderConfig']};if(_0x2a72af==null)return;this[_0x4a5f08(0x1e6)](this[_0x4a5f08(0x1b5)][_0x4a5f08(0x1e2)],_0x2a72af);}}));}}g[_0x2f2a48(0x1c8)]['extend'](l);
|