@univerjs-pro/sheets-print 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505231607
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 +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +141 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -142
- package/lib/types/locale/zh-TW.d.ts +2 -2
- 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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3c379c=_0x4bc8;(function(_0x3da9aa,_0x3b6d7a){const _0x16ec07=_0x4bc8,_0xa4a66=_0x3da9aa();while(!![]){try{const _0x299509=-parseInt(_0x16ec07(0x144))/0x1+-parseInt(_0x16ec07(0x14e))/0x2*(-parseInt(_0x16ec07(0x136))/0x3)+-parseInt(_0x16ec07(0x12e))/0x4*(-parseInt(_0x16ec07(0x11a))/0x5)+-parseInt(_0x16ec07(0x15b))/0x6*(parseInt(_0x16ec07(0x156))/0x7)+parseInt(_0x16ec07(0x11b))/0x8+-parseInt(_0x16ec07(0x127))/0x9*(parseInt(_0x16ec07(0x142))/0xa)+parseInt(_0x16ec07(0x14f))/0xb;if(_0x299509===_0x3b6d7a)break;else _0xa4a66['push'](_0xa4a66['shift']());}catch(_0x59b85f){_0xa4a66['push'](_0xa4a66['shift']());}}}(_0x3030,0xad7a0));const e=require(_0x3c379c(0x123)),a=require(_0x3c379c(0x147)),d=require(_0x3c379c(0x141)),g=require(_0x3c379c(0x139)),c=require(_0x3c379c(0x134));class S extends d[_0x3c379c(0x13a)]{[_0x3c379c(0x148)](_0x1c962f){const _0x3d16a1=_0x3c379c;return this[_0x3d16a1(0x159)][_0x3d16a1(0x138)](e[_0x3d16a1(0x151)])[_0x3d16a1(0x15a)](_0x1c962f),this;}[_0x3c379c(0x13d)](_0x12e666){const _0x370be1=_0x3c379c;return this[_0x370be1(0x159)][_0x370be1(0x138)](e[_0x370be1(0x151)])[_0x370be1(0x135)](_0x12e666),this;}[_0x3c379c(0x120)](){const _0xda3550=_0x3c379c;return this['_injector'][_0xda3550(0x138)](a[_0xda3550(0x11d)])[_0xda3550(0x129)](e['ConfirmSheetPrintOperation']['id']);}[_0x3c379c(0x14d)](){const _0x5cde6d=_0x3c379c;return this[_0x5cde6d(0x159)][_0x5cde6d(0x138)](a[_0x5cde6d(0x11d)])['syncExecuteCommand'](e[_0x5cde6d(0x12b)]['id']);}['closePrintDialog'](){const _0x52cd49=_0x3c379c;return this[_0x52cd49(0x159)]['get'](a[_0x52cd49(0x11d)])[_0x52cd49(0x129)](e[_0x52cd49(0x15c)]['id']);}async['saveScreenshotToClipboard'](){const _0x38dedb=_0x3c379c;return e[_0x38dedb(0x11c)](this[_0x38dedb(0x159)])?this[_0x38dedb(0x159)]['get'](a[_0x38dedb(0x11d)])[_0x38dedb(0x13f)](e['SheetScreenShotOperation']['id']):!0x1;}}d[_0x3c379c(0x13a)][_0x3c379c(0x128)](S);class f extends d['FRange']{[_0x3c379c(0x140)](){const _0x437101=_0x3c379c;return e[_0x437101(0x11c)](this['_injector'])?this['_injector'][_0x437101(0x138)](e[_0x437101(0x157)])['getRangeImage'](this[_0x437101(0x124)][_0x437101(0x14c)](),this[_0x437101(0x12f)][_0x437101(0x14a)](),this['_range']):!0x1;}}function _0x4bc8(_0x4b9850,_0x41039a){const _0x303081=_0x3030();return _0x4bc8=function(_0x4bc899,_0x2808d7){_0x4bc899=_0x4bc899-0x117;let _0x37760f=_0x303081[_0x4bc899];return _0x37760f;},_0x4bc8(_0x4b9850,_0x41039a);}d['FRange'][_0x3c379c(0x128)](f);class P{get[_0x3c379c(0x13c)](){return'BeforeSheetPrintOpen';}get[_0x3c379c(0x118)](){const _0x55c74c=_0x3c379c;return _0x55c74c(0x118);}get['BeforeSheetPrintCanceled'](){const _0x13ee2c=_0x3c379c;return _0x13ee2c(0x13e);}get[_0x3c379c(0x132)](){return'SheetPrintOpen';}get[_0x3c379c(0x133)](){const _0x4dd3d5=_0x3c379c;return _0x4dd3d5(0x133);}get[_0x3c379c(0x119)](){const _0x5f346f=_0x3c379c;return _0x5f346f(0x119);}}g['FEventName'][_0x3c379c(0x128)](P);class u{get[_0x3c379c(0x130)](){const _0x3239c4=_0x3c379c;return e[_0x3239c4(0x130)];}get[_0x3c379c(0x143)](){const _0xfc499a=_0x3c379c;return c[_0xfc499a(0x143)];}get[_0x3c379c(0x125)](){const _0x40b4e7=_0x3c379c;return a[_0x40b4e7(0x11e)];}get['PrintPaperMargin'](){const _0x29f775=_0x3c379c;return c[_0x29f775(0x12a)];}get[_0x3c379c(0x155)](){const _0x449246=_0x3c379c;return c[_0x449246(0x155)];}get[_0x3c379c(0x145)](){const _0x55ecca=_0x3c379c;return c[_0x55ecca(0x145)];}get['PrintFreeze'](){const _0x43a0e7=_0x3c379c;return e[_0x43a0e7(0x154)];}get[_0x3c379c(0x152)](){const _0xec2819=_0x3c379c;return e[_0xec2819(0x152)];}get[_0x3c379c(0x153)](){const _0x578018=_0x3c379c;return e[_0x578018(0x153)];}}function _0x3030(){const _0x20703e=['renderConfig','print','FEnum','CanceledError','@univerjs-pro/sheets-print','_workbook','PrintPaperSize','fireEvent','49851xcSiYb','extend','syncExecuteCommand','PrintPaperMargin','SheetPrintOpenOperation','onCommandExecuted','ConfirmSheetPrintOperation','316HomRRx','_worksheet','PrintArea','beforeCommandExecuted','SheetPrintOpen','SheetPrintConfirmed','@univerjs-pro/print','updateRenderConfig','906icdsmF','getActiveUniverSheet','get','@univerjs/core/facade','FWorkbook','registerEventHandler','BeforeSheetPrintOpen','updatePrintRenderConfig','BeforeSheetPrintCanceled','executeCommand','getScreenshot','@univerjs/sheets/facade','590AgdQHB','PrintAlign','1066716VkIYyR','PrintDirection','FUniver','@univerjs/core','updatePrintConfig','_initialize','getSheetId','Event','getUnitId','openPrintDialog','1986fKcVJq','7266512UJvMsY','getActiveSheet','ISheetPrintManagerService','PrintHeaderFooter','PrintHeaderFooterSymbol','PrintFreeze','PrintScale','7umKkAW','SheetPrintClientService','layoutConfig','_injector','updateLayoutConfig','5077812VNkvEr','CancelSheetPrintOperation','cancel','BeforeSheetPrintConfirm','SheetPrintCanceled','82345PDAssM','5510800mrxweA','hasPrintFacadePermission','ICommandService','PaperType'];_0x3030=function(){return _0x20703e;};return _0x3030();}g[_0x3c379c(0x121)][_0x3c379c(0x128)](u);class l extends g['FUniver']{[_0x3c379c(0x149)](_0x5c5274){const _0x1bc647=_0x3c379c,_0x35da12=_0x5c5274[_0x1bc647(0x138)](a[_0x1bc647(0x11d)]);this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)][_0x1bc647(0x13c)],()=>_0x35da12['beforeCommandExecuted'](_0x4fc9f4=>{const _0x10f0ea=_0x1bc647;if(_0x4fc9f4['id']===e[_0x10f0ea(0x12b)]['id']){const _0x18909b=this['getActiveUniverSheet']();if(!_0x18909b)return;const _0x27df5f={'workbook':_0x18909b,'worksheet':_0x18909b[_0x10f0ea(0x150)]()};if(_0x27df5f==null)return;if(this['fireEvent'](this[_0x10f0ea(0x14b)]['BeforeSheetPrintOpen'],_0x27df5f),_0x27df5f[_0x10f0ea(0x117)])throw new a[(_0x10f0ea(0x122))]();}})),this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)][_0x1bc647(0x118)],()=>_0x35da12[_0x1bc647(0x131)](_0x349019=>{const _0x3c7096=_0x1bc647;if(_0x349019['id']===e[_0x3c7096(0x12d)]['id']){const _0x45ae96=_0x5c5274[_0x3c7096(0x138)](e[_0x3c7096(0x151)]);if(!this[_0x3c7096(0x137)]())return;const _0x3f04d4={'layoutConfig':_0x45ae96[_0x3c7096(0x158)],'renderConfig':_0x45ae96[_0x3c7096(0x11f)]};if(_0x3f04d4==null)return;if(this['fireEvent'](this['Event'][_0x3c7096(0x118)],_0x3f04d4),_0x3f04d4[_0x3c7096(0x117)])throw new a[(_0x3c7096(0x122))]();}})),this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)]['BeforeSheetPrintCanceled'],()=>_0x35da12[_0x1bc647(0x131)](_0x87c842=>{const _0x4b5b9d=_0x1bc647;if(_0x87c842['id']===e['CancelSheetPrintOperation']['id']){const _0x44f57a=_0x5c5274[_0x4b5b9d(0x138)](e[_0x4b5b9d(0x151)]);if(!this[_0x4b5b9d(0x137)]())return;const _0x490698={'layoutConfig':_0x44f57a[_0x4b5b9d(0x158)],'renderConfig':_0x44f57a[_0x4b5b9d(0x11f)]};if(_0x490698==null)return;if(this[_0x4b5b9d(0x126)](this[_0x4b5b9d(0x14b)][_0x4b5b9d(0x13e)],_0x490698),_0x490698[_0x4b5b9d(0x117)])throw new a[(_0x4b5b9d(0x122))]();}})),this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)][_0x1bc647(0x132)],()=>_0x35da12[_0x1bc647(0x12c)](_0xf1b9e2=>{const _0x574c44=_0x1bc647;if(_0xf1b9e2['id']===e[_0x574c44(0x12b)]['id']){const _0x52fd8b=this[_0x574c44(0x137)]();if(!_0x52fd8b)return;const _0x4a56b0={'workbook':_0x52fd8b,'worksheet':_0x52fd8b[_0x574c44(0x150)]()};if(_0x4a56b0==null)return;this['fireEvent'](this[_0x574c44(0x14b)][_0x574c44(0x132)],_0x4a56b0);}})),this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)][_0x1bc647(0x133)],()=>_0x35da12[_0x1bc647(0x12c)](_0x37a7ff=>{const _0x315ade=_0x1bc647;if(_0x37a7ff['id']===e[_0x315ade(0x12d)]['id']){const _0x45b156=_0x5c5274['get'](e[_0x315ade(0x151)]);if(!this[_0x315ade(0x137)]())return;const _0x115143={'layoutConfig':_0x45b156[_0x315ade(0x158)],'renderConfig':_0x45b156[_0x315ade(0x11f)]};if(_0x115143==null)return;this[_0x315ade(0x126)](this[_0x315ade(0x14b)][_0x315ade(0x133)],_0x115143);}})),this[_0x1bc647(0x13b)](this[_0x1bc647(0x14b)]['SheetPrintCanceled'],()=>_0x35da12[_0x1bc647(0x12c)](_0x2fe2de=>{const _0x596ad0=_0x1bc647;if(_0x2fe2de['id']===e['CancelSheetPrintOperation']['id']){const _0x367fff=_0x5c5274[_0x596ad0(0x138)](e[_0x596ad0(0x151)]);if(!this[_0x596ad0(0x137)]())return;const _0x5badcc={'layoutConfig':_0x367fff[_0x596ad0(0x158)],'renderConfig':_0x367fff[_0x596ad0(0x11f)]};if(_0x5badcc==null)return;this[_0x596ad0(0x126)](this[_0x596ad0(0x14b)][_0x596ad0(0x119)],_0x5badcc);}}));}}g[_0x3c379c(0x146)][_0x3c379c(0x128)](l);
|