@univerjs-pro/sheets-print 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506141606
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 +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/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 _0x199edb=_0x505d;(function(_0x7bc44d,_0x333f10){const _0x54826c=_0x505d,_0x4add50=_0x7bc44d();while(!![]){try{const _0x540172=parseInt(_0x54826c(0xb0))/0x1*(-parseInt(_0x54826c(0xb7))/0x2)+parseInt(_0x54826c(0xad))/0x3+-parseInt(_0x54826c(0xa9))/0x4+-parseInt(_0x54826c(0x95))/0x5+parseInt(_0x54826c(0x9a))/0x6*(-parseInt(_0x54826c(0x94))/0x7)+-parseInt(_0x54826c(0x91))/0x8*(-parseInt(_0x54826c(0xb9))/0x9)+parseInt(_0x54826c(0xc5))/0xa*(parseInt(_0x54826c(0x87))/0xb);if(_0x540172===_0x333f10)break;else _0x4add50['push'](_0x4add50['shift']());}catch(_0x3a25cb){_0x4add50['push'](_0x4add50['shift']());}}}(_0x4c32,0x2e15c));const e=require(_0x199edb(0x8f)),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require(_0x199edb(0xbc)),c=require(_0x199edb(0xa1));class S extends d['FWorkbook']{[_0x199edb(0xba)](_0x260a47){const _0x2f8f57=_0x199edb;return this[_0x2f8f57(0x8e)][_0x2f8f57(0x83)](e['ISheetPrintManagerService'])[_0x2f8f57(0x89)](_0x260a47),this;}[_0x199edb(0xb2)](_0x1b0fc1){const _0x5aa6d0=_0x199edb;return this['_injector'][_0x5aa6d0(0x83)](e[_0x5aa6d0(0x92)])['updateRenderConfig'](_0x1b0fc1),this;}['print'](){const _0x45bbbf=_0x199edb;return this[_0x45bbbf(0x8e)][_0x45bbbf(0x83)](a[_0x45bbbf(0xb3)])[_0x45bbbf(0xbd)](e[_0x45bbbf(0xa5)]['id']);}['openPrintDialog'](){const _0x303835=_0x199edb;return this[_0x303835(0x8e)]['get'](a[_0x303835(0xb3)])[_0x303835(0xbd)](e[_0x303835(0xb6)]['id']);}['closePrintDialog'](){const _0x449898=_0x199edb;return this[_0x449898(0x8e)]['get'](a['ICommandService'])[_0x449898(0xbd)](e[_0x449898(0x99)]['id']);}async[_0x199edb(0x93)](){const _0x5e01a6=_0x199edb;return e[_0x5e01a6(0x8d)](this['_injector'])?this['_injector'][_0x5e01a6(0x83)](a['ICommandService'])[_0x5e01a6(0xc6)](e[_0x5e01a6(0x9c)]['id']):!0x1;}}d[_0x199edb(0xc3)][_0x199edb(0xa2)](S);class f extends d[_0x199edb(0xa7)]{[_0x199edb(0x9b)](){const _0x17d11a=_0x199edb;return e[_0x17d11a(0x8d)](this[_0x17d11a(0x8e)])?this[_0x17d11a(0x8e)][_0x17d11a(0x83)](e[_0x17d11a(0xb8)])[_0x17d11a(0x97)](this[_0x17d11a(0xbe)][_0x17d11a(0xab)](),this[_0x17d11a(0xc0)][_0x17d11a(0xbf)](),this[_0x17d11a(0xac)]):!0x1;}}d[_0x199edb(0xa7)][_0x199edb(0xa2)](f);function _0x505d(_0x5a791e,_0x57091a){const _0x4c322a=_0x4c32();return _0x505d=function(_0x505ded,_0x18ba47){_0x505ded=_0x505ded-0x83;let _0x12a4b8=_0x4c322a[_0x505ded];return _0x12a4b8;},_0x505d(_0x5a791e,_0x57091a);}class P{get[_0x199edb(0x88)](){return'BeforeSheetPrintOpen';}get[_0x199edb(0x85)](){const _0xd69312=_0x199edb;return _0xd69312(0x85);}get[_0x199edb(0x8c)](){const _0x14bca3=_0x199edb;return _0x14bca3(0x8c);}get[_0x199edb(0xa3)](){return'SheetPrintOpen';}get[_0x199edb(0xb4)](){const _0x586b57=_0x199edb;return _0x586b57(0xb4);}get[_0x199edb(0x9e)](){return'SheetPrintCanceled';}}g[_0x199edb(0xa0)][_0x199edb(0xa2)](P);function _0x4c32(){const _0xdd5460=['PrintPaperMargin','FRange','PrintHeaderFooterSymbol','189060hFbpgI','FUniver','getUnitId','_range','837543MCOANp','PrintAlign','PaperType','34219VuLNzR','PrintFreeze','updatePrintRenderConfig','ICommandService','SheetPrintConfirmed','CanceledError','SheetPrintOpenOperation','10cRivMe','SheetPrintClientService','169506UjwMAI','updatePrintConfig','renderConfig','@univerjs/core/facade','syncExecuteCommand','_workbook','getSheetId','_worksheet','getActiveSheet','registerEventHandler','FWorkbook','Event','20VomcHm','executeCommand','getActiveUniverSheet','get','PrintPaperSize','BeforeSheetPrintConfirm','PrintArea','2152678mDViQH','BeforeSheetPrintOpen','updateLayoutConfig','PrintScale','cancel','BeforeSheetPrintCanceled','hasPrintFacadePermission','_injector','@univerjs-pro/sheets-print','_initialize','104gdykmW','ISheetPrintManagerService','saveScreenshotToClipboard','13762qWxxuT','840885HHNnTX','beforeCommandExecuted','getRangeImage','PrintHeaderFooter','CancelSheetPrintOperation','1038jvYoZo','getScreenshot','SheetScreenShotOperation','onCommandExecuted','SheetPrintCanceled','fireEvent','FEventName','@univerjs-pro/print','extend','SheetPrintOpen','layoutConfig','ConfirmSheetPrintOperation'];_0x4c32=function(){return _0xdd5460;};return _0x4c32();}class u{get[_0x199edb(0x86)](){const _0x5ae05d=_0x199edb;return e[_0x5ae05d(0x86)];}get[_0x199edb(0xae)](){return c['PrintAlign'];}get[_0x199edb(0x84)](){const _0x3e289f=_0x199edb;return a[_0x3e289f(0xaf)];}get['PrintPaperMargin'](){const _0x340eef=_0x199edb;return c[_0x340eef(0xa6)];}get['PrintScale'](){const _0xb1d094=_0x199edb;return c[_0xb1d094(0x8a)];}get['PrintDirection'](){return c['PrintDirection'];}get[_0x199edb(0xb1)](){return e['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x522566=_0x199edb;return e[_0x522566(0x98)];}get[_0x199edb(0xa8)](){return e['PrintHeaderFooterSymbol'];}}g['FEnum'][_0x199edb(0xa2)](u);class l extends g[_0x199edb(0xaa)]{[_0x199edb(0x90)](_0x46c1d2){const _0xe8a654=_0x199edb,_0xdcc0b1=_0x46c1d2[_0xe8a654(0x83)](a[_0xe8a654(0xb3)]);this['registerEventHandler'](this[_0xe8a654(0xc4)][_0xe8a654(0x88)],()=>_0xdcc0b1[_0xe8a654(0x96)](_0xc94938=>{const _0x3f4675=_0xe8a654;if(_0xc94938['id']===e['SheetPrintOpenOperation']['id']){const _0x46a396=this[_0x3f4675(0xc7)]();if(!_0x46a396)return;const _0x58c49e={'workbook':_0x46a396,'worksheet':_0x46a396[_0x3f4675(0xc1)]()};if(_0x58c49e==null)return;if(this[_0x3f4675(0x9f)](this['Event'][_0x3f4675(0x88)],_0x58c49e),_0x58c49e[_0x3f4675(0x8b)])throw new a[(_0x3f4675(0xb5))]();}})),this[_0xe8a654(0xc2)](this[_0xe8a654(0xc4)][_0xe8a654(0x85)],()=>_0xdcc0b1[_0xe8a654(0x96)](_0x94f8f=>{const _0x1e91a7=_0xe8a654;if(_0x94f8f['id']===e[_0x1e91a7(0xa5)]['id']){const _0x1a519a=_0x46c1d2['get'](e[_0x1e91a7(0x92)]);if(!this[_0x1e91a7(0xc7)]())return;const _0x257077={'layoutConfig':_0x1a519a[_0x1e91a7(0xa4)],'renderConfig':_0x1a519a[_0x1e91a7(0xbb)]};if(_0x257077==null)return;if(this[_0x1e91a7(0x9f)](this['Event'][_0x1e91a7(0x85)],_0x257077),_0x257077['cancel'])throw new a[(_0x1e91a7(0xb5))]();}})),this['registerEventHandler'](this[_0xe8a654(0xc4)][_0xe8a654(0x8c)],()=>_0xdcc0b1['beforeCommandExecuted'](_0x5ab744=>{const _0x152d46=_0xe8a654;if(_0x5ab744['id']===e[_0x152d46(0x99)]['id']){const _0x1c2543=_0x46c1d2[_0x152d46(0x83)](e[_0x152d46(0x92)]);if(!this['getActiveUniverSheet']())return;const _0x5dbc5b={'layoutConfig':_0x1c2543['layoutConfig'],'renderConfig':_0x1c2543[_0x152d46(0xbb)]};if(_0x5dbc5b==null)return;if(this[_0x152d46(0x9f)](this[_0x152d46(0xc4)][_0x152d46(0x8c)],_0x5dbc5b),_0x5dbc5b['cancel'])throw new a[(_0x152d46(0xb5))]();}})),this[_0xe8a654(0xc2)](this[_0xe8a654(0xc4)][_0xe8a654(0xa3)],()=>_0xdcc0b1[_0xe8a654(0x9d)](_0x5bc026=>{const _0x2ca888=_0xe8a654;if(_0x5bc026['id']===e[_0x2ca888(0xb6)]['id']){const _0xd711e=this[_0x2ca888(0xc7)]();if(!_0xd711e)return;const _0x5a6fb8={'workbook':_0xd711e,'worksheet':_0xd711e[_0x2ca888(0xc1)]()};if(_0x5a6fb8==null)return;this[_0x2ca888(0x9f)](this[_0x2ca888(0xc4)][_0x2ca888(0xa3)],_0x5a6fb8);}})),this['registerEventHandler'](this[_0xe8a654(0xc4)][_0xe8a654(0xb4)],()=>_0xdcc0b1[_0xe8a654(0x9d)](_0x3ae8ee=>{const _0x33edf1=_0xe8a654;if(_0x3ae8ee['id']===e[_0x33edf1(0xa5)]['id']){const _0x3d98d8=_0x46c1d2[_0x33edf1(0x83)](e[_0x33edf1(0x92)]);if(!this[_0x33edf1(0xc7)]())return;const _0x33f2d6={'layoutConfig':_0x3d98d8[_0x33edf1(0xa4)],'renderConfig':_0x3d98d8[_0x33edf1(0xbb)]};if(_0x33f2d6==null)return;this[_0x33edf1(0x9f)](this['Event'][_0x33edf1(0xb4)],_0x33f2d6);}})),this[_0xe8a654(0xc2)](this[_0xe8a654(0xc4)]['SheetPrintCanceled'],()=>_0xdcc0b1[_0xe8a654(0x9d)](_0x42b973=>{const _0xe04fc6=_0xe8a654;if(_0x42b973['id']===e['CancelSheetPrintOperation']['id']){const _0xa8fe29=_0x46c1d2[_0xe04fc6(0x83)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x4170be={'layoutConfig':_0xa8fe29['layoutConfig'],'renderConfig':_0xa8fe29['renderConfig']};if(_0x4170be==null)return;this[_0xe04fc6(0x9f)](this['Event'][_0xe04fc6(0x9e)],_0x4170be);}}));}}g[_0x199edb(0xaa)]['extend'](l);
|