@univerjs-pro/sheets-print 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060724
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.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/config.schema.d.ts +5 -0
- 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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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 +15 -15
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2ac2(_0x10b057,_0x5f3c91){const _0x1409c5=_0x1409();return _0x2ac2=function(_0x2ac2c5,_0x302f68){_0x2ac2c5=_0x2ac2c5-0x9a;let _0x3b175f=_0x1409c5[_0x2ac2c5];return _0x3b175f;},_0x2ac2(_0x10b057,_0x5f3c91);}const _0x36274d=_0x2ac2;function _0x1409(){const _0x2ffd0e=['SheetPrintCanceled','onCommandExecuted','_range','SheetPrintOpen','SheetPrintConfirmed','PrintHeaderFooter','PrintPaperSize','getSheetId','getRangeImage','BeforeSheetPrintOpen','renderConfig','732696zbfGkL','print','fireEvent','registerEventHandler','36848DwHgJJ','updateLayoutConfig','closePrintDialog','layoutConfig','updatePrintConfig','PrintScale','getScreenshot','6461007LlNpnf','BeforeSheetPrintConfirm','872685szYmlY','openPrintDialog','2570151XDuQup','_injector','executeCommand','saveScreenshotToClipboard','syncExecuteCommand','PrintArea','updateRenderConfig','updatePrintRenderConfig','_initialize','getUnitId','PrintDirection','getActiveSheet','BeforeSheetPrintCanceled','extend','4xQuRYu','beforeCommandExecuted','getActiveUniverSheet','Event','get','PrintAlign','974412VlIzGZ','cancel','PrintFreeze','8980992kOlcQx','_worksheet'];_0x1409=function(){return _0x2ffd0e;};return _0x1409();}(function(_0x3ffeaf,_0x17057e){const _0x4184bc=_0x2ac2,_0x22ddf1=_0x3ffeaf();while(!![]){try{const _0xdfc584=parseInt(_0x4184bc(0xb3))/0x1+-parseInt(_0x4184bc(0x9f))/0x2+-parseInt(_0x4184bc(0xbe))/0x3*(-parseInt(_0x4184bc(0xcc))/0x4)+parseInt(_0x4184bc(0xbc))/0x5+parseInt(_0x4184bc(0xaf))/0x6+parseInt(_0x4184bc(0xba))/0x7+-parseInt(_0x4184bc(0xa2))/0x8;if(_0xdfc584===_0x17057e)break;else _0x22ddf1['push'](_0x22ddf1['shift']());}catch(_0x59c12f){_0x22ddf1['push'](_0x22ddf1['shift']());}}}(_0x1409,0x7ae5d));import{ISheetPrintManagerService as _0x40f248,ConfirmSheetPrintOperation as _0x4cec0d,SheetPrintOpenOperation as _0x2503a1,CancelSheetPrintOperation as _0x5bae23,hasPrintFacadePermission as _0x1bac1b,SheetScreenShotOperation as _0x17289b,SheetPrintClientService as _0x5c9750,PrintArea as _0x3987d2,PrintFreeze as _0x4cca89,PrintHeaderFooter as _0x520cbb,PrintHeaderFooterSymbol as _0x8ac0f4}from'@univerjs-pro/sheets-print';import{ICommandService as _0x1e48c6,PaperType as _0x267cc2,CanceledError as _0x5ec464}from'@univerjs/core';import{FWorkbook as _0xc34c69,FRange as _0x4e038f}from'@univerjs/sheets/facade';import{FEventName as _0x1ed03a,FEnum as _0x506b61,FUniver as _0xc796e1}from'@univerjs/core/facade';import{PrintAlign as _0x37182d,PrintPaperMargin as _0xe164e5,PrintScale as _0x114f05,PrintDirection as _0x1a11bb}from'@univerjs-pro/print';class A extends _0xc34c69{[_0x36274d(0xb7)](_0x45fbdb){const _0x5ae312=_0x36274d;return this['_injector']['get'](_0x40f248)[_0x5ae312(0xb4)](_0x45fbdb),this;}[_0x36274d(0xc5)](_0x15996b){const _0x2c0c0a=_0x36274d;return this[_0x2c0c0a(0xbf)][_0x2c0c0a(0x9d)](_0x40f248)[_0x2c0c0a(0xc4)](_0x15996b),this;}[_0x36274d(0xb0)](){const _0x3e6cf9=_0x36274d;return this['_injector'][_0x3e6cf9(0x9d)](_0x1e48c6)[_0x3e6cf9(0xc2)](_0x4cec0d['id']);}[_0x36274d(0xbd)](){const _0x1115f0=_0x36274d;return this[_0x1115f0(0xbf)][_0x1115f0(0x9d)](_0x1e48c6)[_0x1115f0(0xc2)](_0x2503a1['id']);}[_0x36274d(0xb5)](){const _0x1a2ec7=_0x36274d;return this[_0x1a2ec7(0xbf)][_0x1a2ec7(0x9d)](_0x1e48c6)[_0x1a2ec7(0xc2)](_0x5bae23['id']);}async[_0x36274d(0xc1)](){const _0x20a88b=_0x36274d;return _0x1bac1b(this['_injector'])?this[_0x20a88b(0xbf)][_0x20a88b(0x9d)](_0x1e48c6)[_0x20a88b(0xc0)](_0x17289b['id']):!0x1;}}_0xc34c69[_0x36274d(0xcb)](A);class B extends _0x4e038f{[_0x36274d(0xb9)](){const _0x28c853=_0x36274d;return _0x1bac1b(this['_injector'])?this['_injector'][_0x28c853(0x9d)](_0x5c9750)[_0x28c853(0xac)](this['_workbook'][_0x28c853(0xc7)](),this[_0x28c853(0xa3)][_0x28c853(0xab)](),this[_0x28c853(0xa6)]):!0x1;}}_0x4e038f[_0x36274d(0xcb)](B);class H{get[_0x36274d(0xad)](){const _0x848d9d=_0x36274d;return _0x848d9d(0xad);}get['BeforeSheetPrintConfirm'](){const _0x30145b=_0x36274d;return _0x30145b(0xbb);}get['BeforeSheetPrintCanceled'](){return'BeforeSheetPrintCanceled';}get[_0x36274d(0xa7)](){const _0x42a3bc=_0x36274d;return _0x42a3bc(0xa7);}get[_0x36274d(0xa8)](){const _0x44c8b2=_0x36274d;return _0x44c8b2(0xa8);}get[_0x36274d(0xa4)](){const _0x162d7e=_0x36274d;return _0x162d7e(0xa4);}}_0x1ed03a[_0x36274d(0xcb)](H);class U{get[_0x36274d(0xc3)](){return _0x3987d2;}get[_0x36274d(0x9e)](){return _0x37182d;}get[_0x36274d(0xaa)](){return _0x267cc2;}get['PrintPaperMargin'](){return _0xe164e5;}get[_0x36274d(0xb8)](){return _0x114f05;}get[_0x36274d(0xc8)](){return _0x1a11bb;}get[_0x36274d(0xa1)](){return _0x4cca89;}get[_0x36274d(0xa9)](){return _0x520cbb;}get['PrintHeaderFooterSymbol'](){return _0x8ac0f4;}}_0x506b61[_0x36274d(0xcb)](U);class M extends _0xc796e1{[_0x36274d(0xc6)](_0x5f079e){const _0x39e632=_0x36274d,_0x591951=_0x5f079e['get'](_0x1e48c6);this[_0x39e632(0xb2)](this[_0x39e632(0x9c)][_0x39e632(0xad)],()=>_0x591951[_0x39e632(0x9a)](_0xd8b56f=>{const _0x4bb6b1=_0x39e632;if(_0xd8b56f['id']===_0x2503a1['id']){const _0x285ab9=this[_0x4bb6b1(0x9b)]();if(!_0x285ab9)return;const _0x55d67f={'workbook':_0x285ab9,'worksheet':_0x285ab9[_0x4bb6b1(0xc9)]()};if(_0x55d67f==null)return;if(this[_0x4bb6b1(0xb1)](this[_0x4bb6b1(0x9c)]['BeforeSheetPrintOpen'],_0x55d67f),_0x55d67f['cancel'])throw new _0x5ec464();}})),this[_0x39e632(0xb2)](this[_0x39e632(0x9c)][_0x39e632(0xbb)],()=>_0x591951[_0x39e632(0x9a)](_0x33e293=>{const _0x2f9cca=_0x39e632;if(_0x33e293['id']===_0x4cec0d['id']){const _0x2ab6a7=_0x5f079e[_0x2f9cca(0x9d)](_0x40f248);if(!this['getActiveUniverSheet']())return;const _0x4d348d={'layoutConfig':_0x2ab6a7[_0x2f9cca(0xb6)],'renderConfig':_0x2ab6a7['renderConfig']};if(_0x4d348d==null)return;if(this['fireEvent'](this[_0x2f9cca(0x9c)]['BeforeSheetPrintConfirm'],_0x4d348d),_0x4d348d[_0x2f9cca(0xa0)])throw new _0x5ec464();}})),this[_0x39e632(0xb2)](this['Event']['BeforeSheetPrintCanceled'],()=>_0x591951[_0x39e632(0x9a)](_0x59c87a=>{const _0x53d3da=_0x39e632;if(_0x59c87a['id']===_0x5bae23['id']){const _0x539ecc=_0x5f079e[_0x53d3da(0x9d)](_0x40f248);if(!this[_0x53d3da(0x9b)]())return;const _0x4cd784={'layoutConfig':_0x539ecc[_0x53d3da(0xb6)],'renderConfig':_0x539ecc[_0x53d3da(0xae)]};if(_0x4cd784==null)return;if(this['fireEvent'](this[_0x53d3da(0x9c)][_0x53d3da(0xca)],_0x4cd784),_0x4cd784[_0x53d3da(0xa0)])throw new _0x5ec464();}})),this[_0x39e632(0xb2)](this['Event'][_0x39e632(0xa7)],()=>_0x591951['onCommandExecuted'](_0x23f3be=>{const _0x228ff0=_0x39e632;if(_0x23f3be['id']===_0x2503a1['id']){const _0x58127c=this['getActiveUniverSheet']();if(!_0x58127c)return;const _0xee9623={'workbook':_0x58127c,'worksheet':_0x58127c[_0x228ff0(0xc9)]()};if(_0xee9623==null)return;this[_0x228ff0(0xb1)](this[_0x228ff0(0x9c)][_0x228ff0(0xa7)],_0xee9623);}})),this['registerEventHandler'](this[_0x39e632(0x9c)][_0x39e632(0xa8)],()=>_0x591951['onCommandExecuted'](_0x3cba91=>{const _0x3f1bcf=_0x39e632;if(_0x3cba91['id']===_0x4cec0d['id']){const _0x132c9d=_0x5f079e['get'](_0x40f248);if(!this[_0x3f1bcf(0x9b)]())return;const _0x591716={'layoutConfig':_0x132c9d[_0x3f1bcf(0xb6)],'renderConfig':_0x132c9d['renderConfig']};if(_0x591716==null)return;this[_0x3f1bcf(0xb1)](this['Event']['SheetPrintConfirmed'],_0x591716);}})),this[_0x39e632(0xb2)](this[_0x39e632(0x9c)]['SheetPrintCanceled'],()=>_0x591951[_0x39e632(0xa5)](_0x299ecc=>{const _0x5ab540=_0x39e632;if(_0x299ecc['id']===_0x5bae23['id']){const _0x410dd3=_0x5f079e[_0x5ab540(0x9d)](_0x40f248);if(!this['getActiveUniverSheet']())return;const _0x5d024a={'layoutConfig':_0x410dd3[_0x5ab540(0xb6)],'renderConfig':_0x410dd3[_0x5ab540(0xae)]};if(_0x5d024a==null)return;this[_0x5ab540(0xb1)](this['Event']['SheetPrintCanceled'],_0x5d024a);}}));}}_0xc796e1[_0x36274d(0xcb)](M);
|