@univerjs-pro/sheets-print 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506171607
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 _0x36af97=_0xf148;function _0xa06d(){const _0x54f3db=['FUniver','layoutConfig','BeforeSheetPrintCanceled','syncExecuteCommand','hasPrintFacadePermission','SheetPrintOpenOperation','5rQFChG','cancel','extend','2953434ZywyEt','4204827arIScs','getRangeImage','PrintDirection','getScreenshot','1bTBSxA','@univerjs-pro/sheets-print','@univerjs/sheets/facade','getSheetId','31716yCiVBS','ISheetPrintManagerService','registerEventHandler','fireEvent','_injector','ICommandService','7444APuEZk','print','executeCommand','872011jBNKvc','@univerjs/core/facade','PrintHeaderFooter','CancelSheetPrintOperation','759sOQjWM','PrintScale','FWorkbook','PrintHeaderFooterSymbol','SheetPrintClientService','PaperType','getUnitId','CanceledError','FEventName','_workbook','onCommandExecuted','beforeCommandExecuted','PrintPaperSize','ConfirmSheetPrintOperation','Event','FRange','updatePrintConfig','SheetPrintConfirmed','SheetPrintCanceled','BeforeSheetPrintOpen','8AmyFVY','closePrintDialog','SheetPrintOpen','FEnum','openPrintDialog','renderConfig','getActiveUniverSheet','PrintArea','962tTgurr','PrintAlign','updateLayoutConfig','686162WxNgSs','762579yhfTjD','20pCUTcX','BeforeSheetPrintConfirm','updateRenderConfig','updatePrintRenderConfig','PrintPaperMargin','saveScreenshotToClipboard','getActiveSheet','PrintFreeze','get'];_0xa06d=function(){return _0x54f3db;};return _0xa06d();}(function(_0x448796,_0x570f54){const _0x52bf28=_0xf148,_0x1b4221=_0x448796();while(!![]){try{const _0x42cad1=parseInt(_0x52bf28(0x1fc))/0x1*(parseInt(_0x52bf28(0x1e3))/0x2)+-parseInt(_0x52bf28(0x1c4))/0x3*(parseInt(_0x52bf28(0x1bd))/0x4)+-parseInt(_0x52bf28(0x1f4))/0x5*(parseInt(_0x52bf28(0x1f7))/0x6)+-parseInt(_0x52bf28(0x1c0))/0x7*(-parseInt(_0x52bf28(0x1d8))/0x8)+parseInt(_0x52bf28(0x1e4))/0x9*(parseInt(_0x52bf28(0x1e5))/0xa)+parseInt(_0x52bf28(0x1f8))/0xb+parseInt(_0x52bf28(0x200))/0xc*(parseInt(_0x52bf28(0x1e0))/0xd);if(_0x42cad1===_0x570f54)break;else _0x1b4221['push'](_0x1b4221['shift']());}catch(_0x504829){_0x1b4221['push'](_0x1b4221['shift']());}}}(_0xa06d,0x3d7eb));function _0xf148(_0x3d3019,_0x465d22){const _0xa06d23=_0xa06d();return _0xf148=function(_0xf148f7,_0x36fc53){_0xf148f7=_0xf148f7-0x1bc;let _0x2ace8e=_0xa06d23[_0xf148f7];return _0x2ace8e;},_0xf148(_0x3d3019,_0x465d22);}const e=require(_0x36af97(0x1fd)),a=require('@univerjs/core'),d=require(_0x36af97(0x1fe)),g=require(_0x36af97(0x1c1)),c=require('@univerjs-pro/print');class S extends d[_0x36af97(0x1c6)]{[_0x36af97(0x1d4)](_0x2d2963){const _0x2387b0=_0x36af97;return this['_injector'][_0x2387b0(0x1ed)](e[_0x2387b0(0x201)])[_0x2387b0(0x1e2)](_0x2d2963),this;}[_0x36af97(0x1e8)](_0x3fff9c){const _0xe26d67=_0x36af97;return this['_injector']['get'](e[_0xe26d67(0x201)])[_0xe26d67(0x1e7)](_0x3fff9c),this;}[_0x36af97(0x1be)](){const _0x2887b3=_0x36af97;return this[_0x2887b3(0x204)]['get'](a[_0x2887b3(0x1bc)])['syncExecuteCommand'](e[_0x2887b3(0x1d1)]['id']);}[_0x36af97(0x1dc)](){const _0x2e9c5e=_0x36af97;return this[_0x2e9c5e(0x204)]['get'](a[_0x2e9c5e(0x1bc)])['syncExecuteCommand'](e[_0x2e9c5e(0x1f3)]['id']);}[_0x36af97(0x1d9)](){const _0x511dde=_0x36af97;return this[_0x511dde(0x204)][_0x511dde(0x1ed)](a[_0x511dde(0x1bc)])[_0x511dde(0x1f1)](e[_0x511dde(0x1c3)]['id']);}async[_0x36af97(0x1ea)](){const _0x90c0d0=_0x36af97;return e[_0x90c0d0(0x1f2)](this[_0x90c0d0(0x204)])?this[_0x90c0d0(0x204)][_0x90c0d0(0x1ed)](a['ICommandService'])[_0x90c0d0(0x1bf)](e['SheetScreenShotOperation']['id']):!0x1;}}d['FWorkbook'][_0x36af97(0x1f6)](S);class f extends d[_0x36af97(0x1d3)]{[_0x36af97(0x1fb)](){const _0x293327=_0x36af97;return e[_0x293327(0x1f2)](this[_0x293327(0x204)])?this['_injector'][_0x293327(0x1ed)](e[_0x293327(0x1c8)])[_0x293327(0x1f9)](this[_0x293327(0x1cd)][_0x293327(0x1ca)](),this['_worksheet'][_0x293327(0x1ff)](),this['_range']):!0x1;}}d[_0x36af97(0x1d3)]['extend'](f);class P{get['BeforeSheetPrintOpen'](){const _0x4403ad=_0x36af97;return _0x4403ad(0x1d7);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get['BeforeSheetPrintCanceled'](){const _0x57999d=_0x36af97;return _0x57999d(0x1f0);}get[_0x36af97(0x1da)](){return'SheetPrintOpen';}get[_0x36af97(0x1d5)](){const _0x506e37=_0x36af97;return _0x506e37(0x1d5);}get[_0x36af97(0x1d6)](){const _0x173d59=_0x36af97;return _0x173d59(0x1d6);}}g[_0x36af97(0x1cc)][_0x36af97(0x1f6)](P);class u{get[_0x36af97(0x1df)](){const _0x58ac49=_0x36af97;return e[_0x58ac49(0x1df)];}get[_0x36af97(0x1e1)](){const _0x2710d9=_0x36af97;return c[_0x2710d9(0x1e1)];}get[_0x36af97(0x1d0)](){const _0x35d052=_0x36af97;return a[_0x35d052(0x1c9)];}get[_0x36af97(0x1e9)](){const _0x30757c=_0x36af97;return c[_0x30757c(0x1e9)];}get[_0x36af97(0x1c5)](){const _0x48a8b5=_0x36af97;return c[_0x48a8b5(0x1c5)];}get['PrintDirection'](){const _0x4892d0=_0x36af97;return c[_0x4892d0(0x1fa)];}get[_0x36af97(0x1ec)](){const _0x587f37=_0x36af97;return e[_0x587f37(0x1ec)];}get[_0x36af97(0x1c2)](){const _0x3004e2=_0x36af97;return e[_0x3004e2(0x1c2)];}get[_0x36af97(0x1c7)](){const _0x248f9=_0x36af97;return e[_0x248f9(0x1c7)];}}g[_0x36af97(0x1db)][_0x36af97(0x1f6)](u);class l extends g[_0x36af97(0x1ee)]{['_initialize'](_0x3fd800){const _0x1c3403=_0x36af97,_0xa7f4ab=_0x3fd800['get'](a[_0x1c3403(0x1bc)]);this[_0x1c3403(0x202)](this[_0x1c3403(0x1d2)][_0x1c3403(0x1d7)],()=>_0xa7f4ab[_0x1c3403(0x1cf)](_0x4ce9dd=>{const _0x4e8c5d=_0x1c3403;if(_0x4ce9dd['id']===e[_0x4e8c5d(0x1f3)]['id']){const _0xb094f8=this[_0x4e8c5d(0x1de)]();if(!_0xb094f8)return;const _0x215184={'workbook':_0xb094f8,'worksheet':_0xb094f8[_0x4e8c5d(0x1eb)]()};if(_0x215184==null)return;if(this[_0x4e8c5d(0x203)](this[_0x4e8c5d(0x1d2)][_0x4e8c5d(0x1d7)],_0x215184),_0x215184[_0x4e8c5d(0x1f5)])throw new a['CanceledError']();}})),this[_0x1c3403(0x202)](this[_0x1c3403(0x1d2)][_0x1c3403(0x1e6)],()=>_0xa7f4ab[_0x1c3403(0x1cf)](_0x4a70a2=>{const _0x2dbe14=_0x1c3403;if(_0x4a70a2['id']===e['ConfirmSheetPrintOperation']['id']){const _0x256199=_0x3fd800[_0x2dbe14(0x1ed)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x216479={'layoutConfig':_0x256199[_0x2dbe14(0x1ef)],'renderConfig':_0x256199[_0x2dbe14(0x1dd)]};if(_0x216479==null)return;if(this['fireEvent'](this[_0x2dbe14(0x1d2)][_0x2dbe14(0x1e6)],_0x216479),_0x216479['cancel'])throw new a[(_0x2dbe14(0x1cb))]();}})),this[_0x1c3403(0x202)](this[_0x1c3403(0x1d2)]['BeforeSheetPrintCanceled'],()=>_0xa7f4ab[_0x1c3403(0x1cf)](_0x2cf039=>{const _0x4f9358=_0x1c3403;if(_0x2cf039['id']===e[_0x4f9358(0x1c3)]['id']){const _0x283a49=_0x3fd800[_0x4f9358(0x1ed)](e[_0x4f9358(0x201)]);if(!this['getActiveUniverSheet']())return;const _0x4e03ad={'layoutConfig':_0x283a49[_0x4f9358(0x1ef)],'renderConfig':_0x283a49['renderConfig']};if(_0x4e03ad==null)return;if(this[_0x4f9358(0x203)](this[_0x4f9358(0x1d2)][_0x4f9358(0x1f0)],_0x4e03ad),_0x4e03ad['cancel'])throw new a['CanceledError']();}})),this[_0x1c3403(0x202)](this['Event'][_0x1c3403(0x1da)],()=>_0xa7f4ab[_0x1c3403(0x1ce)](_0x33c530=>{const _0x24e498=_0x1c3403;if(_0x33c530['id']===e[_0x24e498(0x1f3)]['id']){const _0x106aac=this[_0x24e498(0x1de)]();if(!_0x106aac)return;const _0x2a6d84={'workbook':_0x106aac,'worksheet':_0x106aac[_0x24e498(0x1eb)]()};if(_0x2a6d84==null)return;this[_0x24e498(0x203)](this[_0x24e498(0x1d2)][_0x24e498(0x1da)],_0x2a6d84);}})),this[_0x1c3403(0x202)](this['Event'][_0x1c3403(0x1d5)],()=>_0xa7f4ab[_0x1c3403(0x1ce)](_0x4c5ddf=>{const _0x938e86=_0x1c3403;if(_0x4c5ddf['id']===e[_0x938e86(0x1d1)]['id']){const _0x578b5c=_0x3fd800[_0x938e86(0x1ed)](e['ISheetPrintManagerService']);if(!this['getActiveUniverSheet']())return;const _0x41d1e4={'layoutConfig':_0x578b5c[_0x938e86(0x1ef)],'renderConfig':_0x578b5c['renderConfig']};if(_0x41d1e4==null)return;this[_0x938e86(0x203)](this['Event']['SheetPrintConfirmed'],_0x41d1e4);}})),this[_0x1c3403(0x202)](this[_0x1c3403(0x1d2)][_0x1c3403(0x1d6)],()=>_0xa7f4ab[_0x1c3403(0x1ce)](_0x5880e2=>{const _0x194d92=_0x1c3403;if(_0x5880e2['id']===e[_0x194d92(0x1c3)]['id']){const _0x17f792=_0x3fd800[_0x194d92(0x1ed)](e[_0x194d92(0x201)]);if(!this['getActiveUniverSheet']())return;const _0x1980ce={'layoutConfig':_0x17f792[_0x194d92(0x1ef)],'renderConfig':_0x17f792[_0x194d92(0x1dd)]};if(_0x1980ce==null)return;this[_0x194d92(0x203)](this[_0x194d92(0x1d2)][_0x194d92(0x1d6)],_0x1980ce);}}));}}g[_0x36af97(0x1ee)]['extend'](l);
|