@univerjs-pro/sheets-print 0.8.2-nightly.202506251607 → 0.8.2-nightly.202506261607
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/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/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/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/en-US.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 +40 -40
- 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/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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1db7(_0x1950aa,_0x2d23b6){const _0x3a9e62=_0x3a9e();return _0x1db7=function(_0x1db7d1,_0x4f98d1){_0x1db7d1=_0x1db7d1-0x1c1;let _0x5d6dea=_0x3a9e62[_0x1db7d1];return _0x5d6dea;},_0x1db7(_0x1950aa,_0x2d23b6);}function _0x3a9e(){const _0x50fc68=['10wAocHH','ISheetPrintManagerService','1775264mVjUAP','1025496KPOTdT','print','5227783nfKMSl','UniverCore','CanceledError','@univerjs/core','BeforeSheetPrintConfirm','FRange','SheetPrintCanceled','updateLayoutConfig','PrintAlign','ConfirmSheetPrintOperation','layoutConfig','getSheetId','_initialize','updateRenderConfig','_injector','SheetScreenShotOperation','PrintFreeze','2212744GQuBQJ','extend','UniverSheetsFacade','object','@univerjs-pro/print','7UQuTFo','function','closePrintDialog','onCommandExecuted','executeCommand','_range','4841780NPBnql','PrintPaperMargin','saveScreenshotToClipboard','renderConfig','amd','UniverProSheetsPrint','@univerjs-pro/sheets-print','SheetPrintOpen','updatePrintConfig','BeforeSheetPrintCanceled','getUnitId','SheetPrintClientService','updatePrintRenderConfig','_worksheet','fireEvent','PrintHeaderFooter','UniverCoreFacade','hasPrintFacadePermission','FEventName','registerEventHandler','6OxbPul','beforeCommandExecuted','@univerjs/sheets/facade','CancelSheetPrintOperation','getActiveUniverSheet','PrintPaperSize','_workbook','FEnum','PrintDirection','436760ojBASq','153FwKTJN','Event','cancel','1IyIRLr','PrintScale','@univerjs/core/facade','openPrintDialog','get','3102972RZUXMC','FWorkbook','getScreenshot','getRangeImage','syncExecuteCommand','getActiveSheet','SheetPrintOpenOperation','BeforeSheetPrintOpen','SheetPrintConfirmed','ICommandService'];_0x3a9e=function(){return _0x50fc68;};return _0x3a9e();}(function(_0x49c7b5,_0x580611){const _0x5c6778=_0x1db7,_0x91276f=_0x49c7b5();while(!![]){try{const _0x208b3c=parseInt(_0x5c6778(0x1c3))/0x1*(-parseInt(_0x5c6778(0x1e8))/0x2)+-parseInt(_0x5c6778(0x207))/0x3*(parseInt(_0x5c6778(0x1d4))/0x4)+parseInt(_0x5c6778(0x1f3))/0x5+parseInt(_0x5c6778(0x1d5))/0x6*(parseInt(_0x5c6778(0x1ed))/0x7)+parseInt(_0x5c6778(0x210))/0x8*(parseInt(_0x5c6778(0x211))/0x9)+parseInt(_0x5c6778(0x1d2))/0xa*(parseInt(_0x5c6778(0x1d7))/0xb)+parseInt(_0x5c6778(0x1c8))/0xc;if(_0x208b3c===_0x580611)break;else _0x91276f['push'](_0x91276f['shift']());}catch(_0x208842){_0x91276f['push'](_0x91276f['shift']());}}}(_0x3a9e,0xc5131),function(_0x143ffd,_0xdf556e){const _0x24f8d1=_0x1db7;typeof exports==_0x24f8d1(0x1eb)&&typeof module<'u'?_0xdf556e(require(_0x24f8d1(0x1f9)),require('@univerjs/core'),require(_0x24f8d1(0x209)),require(_0x24f8d1(0x1c5)),require('@univerjs-pro/print')):typeof define==_0x24f8d1(0x1ee)&&define[_0x24f8d1(0x1f7)]?define([_0x24f8d1(0x1f9),_0x24f8d1(0x1da),_0x24f8d1(0x209),'@univerjs/core/facade',_0x24f8d1(0x1ec)],_0xdf556e):(_0x143ffd=typeof globalThis<'u'?globalThis:_0x143ffd||self,_0xdf556e(_0x143ffd[_0x24f8d1(0x1f8)],_0x143ffd[_0x24f8d1(0x1d8)],_0x143ffd[_0x24f8d1(0x1ea)],_0x143ffd[_0x24f8d1(0x203)],_0x143ffd['UniverProPrint']));}(this,function(_0x3ef2a3,_0x127d43,_0x21aba3,_0x469531,_0x2d324f){'use strict';const _0x1ba72=_0x1db7;class _0x3537bc extends _0x21aba3[_0x1ba72(0x1c9)]{[_0x1ba72(0x1fb)](_0x569cae){const _0x167c41=_0x1ba72;return this[_0x167c41(0x1e5)]['get'](_0x3ef2a3['ISheetPrintManagerService'])[_0x167c41(0x1de)](_0x569cae),this;}[_0x1ba72(0x1ff)](_0x423cd2){const _0x108b3c=_0x1ba72;return this[_0x108b3c(0x1e5)][_0x108b3c(0x1c7)](_0x3ef2a3[_0x108b3c(0x1d3)])[_0x108b3c(0x1e4)](_0x423cd2),this;}[_0x1ba72(0x1d6)](){const _0x1fc3d9=_0x1ba72;return this[_0x1fc3d9(0x1e5)][_0x1fc3d9(0x1c7)](_0x127d43[_0x1fc3d9(0x1d1)])[_0x1fc3d9(0x1cc)](_0x3ef2a3[_0x1fc3d9(0x1e0)]['id']);}[_0x1ba72(0x1c6)](){const _0x12dee4=_0x1ba72;return this[_0x12dee4(0x1e5)]['get'](_0x127d43[_0x12dee4(0x1d1)])['syncExecuteCommand'](_0x3ef2a3['SheetPrintOpenOperation']['id']);}[_0x1ba72(0x1ef)](){const _0x3655a6=_0x1ba72;return this['_injector'][_0x3655a6(0x1c7)](_0x127d43[_0x3655a6(0x1d1)])[_0x3655a6(0x1cc)](_0x3ef2a3[_0x3655a6(0x20a)]['id']);}async[_0x1ba72(0x1f5)](){const _0x24e2cf=_0x1ba72;return _0x3ef2a3[_0x24e2cf(0x204)](this['_injector'])?this[_0x24e2cf(0x1e5)]['get'](_0x127d43[_0x24e2cf(0x1d1)])[_0x24e2cf(0x1f1)](_0x3ef2a3[_0x24e2cf(0x1e6)]['id']):!0x1;}}_0x21aba3['FWorkbook'][_0x1ba72(0x1e9)](_0x3537bc);class _0x1958e6 extends _0x21aba3[_0x1ba72(0x1dc)]{[_0x1ba72(0x1ca)](){const _0x184566=_0x1ba72;return _0x3ef2a3[_0x184566(0x204)](this[_0x184566(0x1e5)])?this[_0x184566(0x1e5)][_0x184566(0x1c7)](_0x3ef2a3[_0x184566(0x1fe)])[_0x184566(0x1cb)](this[_0x184566(0x20d)][_0x184566(0x1fd)](),this[_0x184566(0x200)][_0x184566(0x1e2)](),this[_0x184566(0x1f2)]):!0x1;}}_0x21aba3[_0x1ba72(0x1dc)][_0x1ba72(0x1e9)](_0x1958e6);class _0x478156{get[_0x1ba72(0x1cf)](){return'BeforeSheetPrintOpen';}get[_0x1ba72(0x1db)](){const _0x40a014=_0x1ba72;return _0x40a014(0x1db);}get[_0x1ba72(0x1fc)](){return'BeforeSheetPrintCanceled';}get[_0x1ba72(0x1fa)](){return'SheetPrintOpen';}get[_0x1ba72(0x1d0)](){const _0x5e1805=_0x1ba72;return _0x5e1805(0x1d0);}get['SheetPrintCanceled'](){const _0x338656=_0x1ba72;return _0x338656(0x1dd);}}_0x469531[_0x1ba72(0x205)]['extend'](_0x478156);class _0x5ebd75{get['PrintArea'](){return _0x3ef2a3['PrintArea'];}get[_0x1ba72(0x1df)](){const _0x2b98e3=_0x1ba72;return _0x2d324f[_0x2b98e3(0x1df)];}get[_0x1ba72(0x20c)](){return _0x127d43['PaperType'];}get[_0x1ba72(0x1f4)](){const _0x20d551=_0x1ba72;return _0x2d324f[_0x20d551(0x1f4)];}get[_0x1ba72(0x1c4)](){const _0x3c795b=_0x1ba72;return _0x2d324f[_0x3c795b(0x1c4)];}get['PrintDirection'](){const _0x1f39b3=_0x1ba72;return _0x2d324f[_0x1f39b3(0x20f)];}get[_0x1ba72(0x1e7)](){const _0x54abf3=_0x1ba72;return _0x3ef2a3[_0x54abf3(0x1e7)];}get[_0x1ba72(0x202)](){return _0x3ef2a3['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){return _0x3ef2a3['PrintHeaderFooterSymbol'];}}_0x469531[_0x1ba72(0x20e)][_0x1ba72(0x1e9)](_0x5ebd75);class _0x2a5a21 extends _0x469531['FUniver']{[_0x1ba72(0x1e3)](_0x59ac63){const _0x5c8d90=_0x1ba72,_0xfdc06e=_0x59ac63[_0x5c8d90(0x1c7)](_0x127d43[_0x5c8d90(0x1d1)]);this[_0x5c8d90(0x206)](this['Event'][_0x5c8d90(0x1cf)],()=>_0xfdc06e[_0x5c8d90(0x208)](_0x39223b=>{const _0xa3e65=_0x5c8d90;if(_0x39223b['id']===_0x3ef2a3[_0xa3e65(0x1ce)]['id']){const _0x4d1f8c=this[_0xa3e65(0x20b)]();if(!_0x4d1f8c)return;const _0x1bba6b={'workbook':_0x4d1f8c,'worksheet':_0x4d1f8c[_0xa3e65(0x1cd)]()};if(_0x1bba6b==null)return;if(this['fireEvent'](this[_0xa3e65(0x1c1)][_0xa3e65(0x1cf)],_0x1bba6b),_0x1bba6b[_0xa3e65(0x1c2)])throw new _0x127d43['CanceledError']();}})),this[_0x5c8d90(0x206)](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1db)],()=>_0xfdc06e['beforeCommandExecuted'](_0x480d30=>{const _0x1b6c26=_0x5c8d90;if(_0x480d30['id']===_0x3ef2a3[_0x1b6c26(0x1e0)]['id']){const _0x12092c=_0x59ac63[_0x1b6c26(0x1c7)](_0x3ef2a3[_0x1b6c26(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0xf9b6c0={'layoutConfig':_0x12092c[_0x1b6c26(0x1e1)],'renderConfig':_0x12092c[_0x1b6c26(0x1f6)]};if(_0xf9b6c0==null)return;if(this[_0x1b6c26(0x201)](this[_0x1b6c26(0x1c1)][_0x1b6c26(0x1db)],_0xf9b6c0),_0xf9b6c0[_0x1b6c26(0x1c2)])throw new _0x127d43[(_0x1b6c26(0x1d9))]();}})),this[_0x5c8d90(0x206)](this[_0x5c8d90(0x1c1)]['BeforeSheetPrintCanceled'],()=>_0xfdc06e[_0x5c8d90(0x208)](_0x4f4e01=>{const _0x4e645d=_0x5c8d90;if(_0x4f4e01['id']===_0x3ef2a3['CancelSheetPrintOperation']['id']){const _0x240ab8=_0x59ac63['get'](_0x3ef2a3['ISheetPrintManagerService']);if(!this[_0x4e645d(0x20b)]())return;const _0x23c506={'layoutConfig':_0x240ab8[_0x4e645d(0x1e1)],'renderConfig':_0x240ab8[_0x4e645d(0x1f6)]};if(_0x23c506==null)return;if(this[_0x4e645d(0x201)](this[_0x4e645d(0x1c1)][_0x4e645d(0x1fc)],_0x23c506),_0x23c506[_0x4e645d(0x1c2)])throw new _0x127d43[(_0x4e645d(0x1d9))]();}})),this['registerEventHandler'](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1fa)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x302b25=>{const _0x2938b9=_0x5c8d90;if(_0x302b25['id']===_0x3ef2a3[_0x2938b9(0x1ce)]['id']){const _0x213d9c=this[_0x2938b9(0x20b)]();if(!_0x213d9c)return;const _0xa3fc5e={'workbook':_0x213d9c,'worksheet':_0x213d9c['getActiveSheet']()};if(_0xa3fc5e==null)return;this[_0x2938b9(0x201)](this[_0x2938b9(0x1c1)][_0x2938b9(0x1fa)],_0xa3fc5e);}})),this['registerEventHandler'](this[_0x5c8d90(0x1c1)][_0x5c8d90(0x1d0)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x462a06=>{const _0x2ead27=_0x5c8d90;if(_0x462a06['id']===_0x3ef2a3[_0x2ead27(0x1e0)]['id']){const _0x1442b9=_0x59ac63[_0x2ead27(0x1c7)](_0x3ef2a3[_0x2ead27(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0x385fad={'layoutConfig':_0x1442b9[_0x2ead27(0x1e1)],'renderConfig':_0x1442b9[_0x2ead27(0x1f6)]};if(_0x385fad==null)return;this[_0x2ead27(0x201)](this[_0x2ead27(0x1c1)][_0x2ead27(0x1d0)],_0x385fad);}})),this['registerEventHandler'](this['Event'][_0x5c8d90(0x1dd)],()=>_0xfdc06e[_0x5c8d90(0x1f0)](_0x3b688c=>{const _0x55c35a=_0x5c8d90;if(_0x3b688c['id']===_0x3ef2a3['CancelSheetPrintOperation']['id']){const _0x1bb55a=_0x59ac63[_0x55c35a(0x1c7)](_0x3ef2a3[_0x55c35a(0x1d3)]);if(!this[_0x55c35a(0x20b)]())return;const _0x2b5e3d={'layoutConfig':_0x1bb55a[_0x55c35a(0x1e1)],'renderConfig':_0x1bb55a[_0x55c35a(0x1f6)]};if(_0x2b5e3d==null)return;this['fireEvent'](this[_0x55c35a(0x1c1)]['SheetPrintCanceled'],_0x2b5e3d);}}));}}_0x469531['FUniver']['extend'](_0x2a5a21);}));
|