@univerjs-pro/sheets-print 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 _0x4a03c3=_0x1a4c;(function(_0x45be88,_0x1d91ef){const _0x4ed668=_0x1a4c,_0x323210=_0x45be88();while(!![]){try{const _0xab33f6=parseInt(_0x4ed668(0xbc))/0x1+parseInt(_0x4ed668(0xcd))/0x2*(-parseInt(_0x4ed668(0xf2))/0x3)+-parseInt(_0x4ed668(0xb5))/0x4+parseInt(_0x4ed668(0xb6))/0x5+-parseInt(_0x4ed668(0xea))/0x6*(parseInt(_0x4ed668(0xc7))/0x7)+parseInt(_0x4ed668(0xbf))/0x8*(-parseInt(_0x4ed668(0xe8))/0x9)+parseInt(_0x4ed668(0xd8))/0xa;if(_0xab33f6===_0x1d91ef)break;else _0x323210['push'](_0x323210['shift']());}catch(_0x23094c){_0x323210['push'](_0x323210['shift']());}}}(_0x1f8b,0xdfbd8));const e=require(_0x4a03c3(0xd1)),a=require(_0x4a03c3(0xba)),d=require('@univerjs/sheets/facade'),g=require(_0x4a03c3(0xb3)),c=require(_0x4a03c3(0xe9));function _0x1a4c(_0x180cb3,_0x426750){const _0x1f8b98=_0x1f8b();return _0x1a4c=function(_0x1a4c34,_0x129830){_0x1a4c34=_0x1a4c34-0xb0;let _0x486386=_0x1f8b98[_0x1a4c34];return _0x486386;},_0x1a4c(_0x180cb3,_0x426750);}class S extends d['FWorkbook']{[_0x4a03c3(0xdc)](_0x3c76b0){const _0x157f0c=_0x4a03c3;return this['_injector'][_0x157f0c(0xe1)](e[_0x157f0c(0xed)])[_0x157f0c(0xca)](_0x3c76b0),this;}['updatePrintRenderConfig'](_0x261409){const _0x300e91=_0x4a03c3;return this[_0x300e91(0xbd)]['get'](e[_0x300e91(0xed)])[_0x300e91(0xc6)](_0x261409),this;}[_0x4a03c3(0xef)](){const _0x2f33ae=_0x4a03c3;return this['_injector'][_0x2f33ae(0xe1)](a[_0x2f33ae(0xde)])[_0x2f33ae(0xe6)](e[_0x2f33ae(0xdd)]['id']);}['openPrintDialog'](){const _0x15dde6=_0x4a03c3;return this[_0x15dde6(0xbd)][_0x15dde6(0xe1)](a['ICommandService'])[_0x15dde6(0xe6)](e[_0x15dde6(0xc9)]['id']);}[_0x4a03c3(0xda)](){const _0x24388c=_0x4a03c3;return this[_0x24388c(0xbd)][_0x24388c(0xe1)](a[_0x24388c(0xde)])[_0x24388c(0xe6)](e[_0x24388c(0xdf)]['id']);}async['saveScreenshotToClipboard'](){const _0x3c5b55=_0x4a03c3;return e['hasPrintFacadePermission'](this[_0x3c5b55(0xbd)])?this[_0x3c5b55(0xbd)][_0x3c5b55(0xe1)](a['ICommandService'])[_0x3c5b55(0xd3)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x4a03c3(0xc0)]['extend'](S);class f extends d[_0x4a03c3(0xf3)]{[_0x4a03c3(0xb7)](){const _0x4ba042=_0x4a03c3;return e[_0x4ba042(0xc8)](this['_injector'])?this[_0x4ba042(0xbd)]['get'](e['SheetPrintClientService'])[_0x4ba042(0xf4)](this[_0x4ba042(0xc3)][_0x4ba042(0xb1)](),this[_0x4ba042(0xd4)][_0x4ba042(0xd0)](),this[_0x4ba042(0xd6)]):!0x1;}}d[_0x4a03c3(0xf3)][_0x4a03c3(0xe2)](f);class P{get[_0x4a03c3(0xd9)](){const _0xf83dd3=_0x4a03c3;return _0xf83dd3(0xd9);}get[_0x4a03c3(0xbb)](){const _0x1283a9=_0x4a03c3;return _0x1283a9(0xbb);}get['BeforeSheetPrintCanceled'](){const _0x2672c4=_0x4a03c3;return _0x2672c4(0xcc);}get['SheetPrintOpen'](){const _0x2b3be2=_0x4a03c3;return _0x2b3be2(0xeb);}get['SheetPrintConfirmed'](){const _0x477bda=_0x4a03c3;return _0x477bda(0xbe);}get[_0x4a03c3(0xe7)](){const _0x13402a=_0x4a03c3;return _0x13402a(0xe7);}}g[_0x4a03c3(0xb4)]['extend'](P);class u{get[_0x4a03c3(0xb0)](){const _0x2c2e6b=_0x4a03c3;return e[_0x2c2e6b(0xb0)];}get[_0x4a03c3(0xd2)](){const _0x52f578=_0x4a03c3;return c[_0x52f578(0xd2)];}get[_0x4a03c3(0xe5)](){const _0x739e08=_0x4a03c3;return a[_0x739e08(0xd7)];}get[_0x4a03c3(0xe3)](){const _0x3f5207=_0x4a03c3;return c[_0x3f5207(0xe3)];}get[_0x4a03c3(0xee)](){const _0x54272c=_0x4a03c3;return c[_0x54272c(0xee)];}get[_0x4a03c3(0xb2)](){return c['PrintDirection'];}get[_0x4a03c3(0xdb)](){const _0x2b273f=_0x4a03c3;return e[_0x2b273f(0xdb)];}get[_0x4a03c3(0xce)](){return e['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){const _0x2d1caf=_0x4a03c3;return e[_0x2d1caf(0xc5)];}}g['FEnum']['extend'](u);class l extends g[_0x4a03c3(0xcf)]{[_0x4a03c3(0xf0)](_0x202a2f){const _0x22fed7=_0x4a03c3,_0x2fbb63=_0x202a2f['get'](a[_0x22fed7(0xde)]);this[_0x22fed7(0xc1)](this[_0x22fed7(0xe4)][_0x22fed7(0xd9)],()=>_0x2fbb63[_0x22fed7(0xec)](_0x119585=>{const _0x23a1b5=_0x22fed7;if(_0x119585['id']===e[_0x23a1b5(0xc9)]['id']){const _0x4d5547=this[_0x23a1b5(0xb8)]();if(!_0x4d5547)return;const _0xb9fc0b={'workbook':_0x4d5547,'worksheet':_0x4d5547[_0x23a1b5(0xf1)]()};if(_0xb9fc0b==null)return;if(this[_0x23a1b5(0xc4)](this[_0x23a1b5(0xe4)][_0x23a1b5(0xd9)],_0xb9fc0b),_0xb9fc0b['cancel'])throw new a['CanceledError']();}})),this[_0x22fed7(0xc1)](this[_0x22fed7(0xe4)][_0x22fed7(0xbb)],()=>_0x2fbb63[_0x22fed7(0xec)](_0x47063f=>{const _0x119911=_0x22fed7;if(_0x47063f['id']===e[_0x119911(0xdd)]['id']){const _0x568065=_0x202a2f[_0x119911(0xe1)](e['ISheetPrintManagerService']);if(!this[_0x119911(0xb8)]())return;const _0x4f7bfd={'layoutConfig':_0x568065['layoutConfig'],'renderConfig':_0x568065['renderConfig']};if(_0x4f7bfd==null)return;if(this[_0x119911(0xc4)](this[_0x119911(0xe4)][_0x119911(0xbb)],_0x4f7bfd),_0x4f7bfd[_0x119911(0xcb)])throw new a[(_0x119911(0xc2))]();}})),this['registerEventHandler'](this[_0x22fed7(0xe4)][_0x22fed7(0xcc)],()=>_0x2fbb63['beforeCommandExecuted'](_0x219454=>{const _0x26dbb3=_0x22fed7;if(_0x219454['id']===e['CancelSheetPrintOperation']['id']){const _0x48bd11=_0x202a2f[_0x26dbb3(0xe1)](e['ISheetPrintManagerService']);if(!this[_0x26dbb3(0xb8)]())return;const _0x290ce7={'layoutConfig':_0x48bd11[_0x26dbb3(0xd5)],'renderConfig':_0x48bd11[_0x26dbb3(0xe0)]};if(_0x290ce7==null)return;if(this[_0x26dbb3(0xc4)](this['Event'][_0x26dbb3(0xcc)],_0x290ce7),_0x290ce7['cancel'])throw new a['CanceledError']();}})),this[_0x22fed7(0xc1)](this['Event']['SheetPrintOpen'],()=>_0x2fbb63[_0x22fed7(0xb9)](_0x548bf1=>{const _0x57a0be=_0x22fed7;if(_0x548bf1['id']===e['SheetPrintOpenOperation']['id']){const _0x234d6d=this['getActiveUniverSheet']();if(!_0x234d6d)return;const _0x3a8ddb={'workbook':_0x234d6d,'worksheet':_0x234d6d['getActiveSheet']()};if(_0x3a8ddb==null)return;this[_0x57a0be(0xc4)](this[_0x57a0be(0xe4)]['SheetPrintOpen'],_0x3a8ddb);}})),this[_0x22fed7(0xc1)](this[_0x22fed7(0xe4)][_0x22fed7(0xbe)],()=>_0x2fbb63[_0x22fed7(0xb9)](_0x364e38=>{const _0x125076=_0x22fed7;if(_0x364e38['id']===e[_0x125076(0xdd)]['id']){const _0x296553=_0x202a2f['get'](e[_0x125076(0xed)]);if(!this['getActiveUniverSheet']())return;const _0x2ac28b={'layoutConfig':_0x296553['layoutConfig'],'renderConfig':_0x296553[_0x125076(0xe0)]};if(_0x2ac28b==null)return;this[_0x125076(0xc4)](this[_0x125076(0xe4)][_0x125076(0xbe)],_0x2ac28b);}})),this[_0x22fed7(0xc1)](this[_0x22fed7(0xe4)][_0x22fed7(0xe7)],()=>_0x2fbb63[_0x22fed7(0xb9)](_0xf25fc8=>{const _0x22475b=_0x22fed7;if(_0xf25fc8['id']===e[_0x22475b(0xdf)]['id']){const _0x144db4=_0x202a2f[_0x22475b(0xe1)](e['ISheetPrintManagerService']);if(!this[_0x22475b(0xb8)]())return;const _0x1ce121={'layoutConfig':_0x144db4[_0x22475b(0xd5)],'renderConfig':_0x144db4[_0x22475b(0xe0)]};if(_0x1ce121==null)return;this['fireEvent'](this['Event'][_0x22475b(0xe7)],_0x1ce121);}}));}}g['FUniver'][_0x4a03c3(0xe2)](l);function _0x1f8b(){const _0x5b3490=['PrintDirection','@univerjs/core/facade','FEventName','35912KORrpZ','8096530RhNUyz','getScreenshot','getActiveUniverSheet','onCommandExecuted','@univerjs/core','BeforeSheetPrintConfirm','1702750QafPin','_injector','SheetPrintConfirmed','16Nhfnfw','FWorkbook','registerEventHandler','CanceledError','_workbook','fireEvent','PrintHeaderFooterSymbol','updateRenderConfig','763sowpBD','hasPrintFacadePermission','SheetPrintOpenOperation','updateLayoutConfig','cancel','BeforeSheetPrintCanceled','12bCDPYz','PrintHeaderFooter','FUniver','getSheetId','@univerjs-pro/sheets-print','PrintAlign','executeCommand','_worksheet','layoutConfig','_range','PaperType','9816920gYyngZ','BeforeSheetPrintOpen','closePrintDialog','PrintFreeze','updatePrintConfig','ConfirmSheetPrintOperation','ICommandService','CancelSheetPrintOperation','renderConfig','get','extend','PrintPaperMargin','Event','PrintPaperSize','syncExecuteCommand','SheetPrintCanceled','1818693LtPrYf','@univerjs-pro/print','99972zyGlWA','SheetPrintOpen','beforeCommandExecuted','ISheetPrintManagerService','PrintScale','print','_initialize','getActiveSheet','579009mutgFR','FRange','getRangeImage','PrintArea','getUnitId'];_0x1f8b=function(){return _0x5b3490;};return _0x1f8b();}
|