@univerjs-pro/sheets-print 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905
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/ja-JP.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/ja-JP.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/ja-JP.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 +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/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/ja-JP.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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5c2f55=_0x5c2f;(function(_0x3da434,_0x1be55b){const _0x1f33d7=_0x5c2f,_0x1689c0=_0x3da434();while(!![]){try{const _0x14bda1=parseInt(_0x1f33d7(0x1ad))/0x1+parseInt(_0x1f33d7(0x1a7))/0x2+-parseInt(_0x1f33d7(0x1a6))/0x3+parseInt(_0x1f33d7(0x1ae))/0x4*(parseInt(_0x1f33d7(0x1b6))/0x5)+parseInt(_0x1f33d7(0x1bb))/0x6+parseInt(_0x1f33d7(0x1b5))/0x7*(parseInt(_0x1f33d7(0x1b3))/0x8)+parseInt(_0x1f33d7(0x1c6))/0x9*(-parseInt(_0x1f33d7(0x19a))/0xa);if(_0x14bda1===_0x1be55b)break;else _0x1689c0['push'](_0x1689c0['shift']());}catch(_0x12b404){_0x1689c0['push'](_0x1689c0['shift']());}}}(_0x24db,0xbeff6));const e=require('@univerjs-pro/sheets-print'),a=require('@univerjs/core'),d=require('@univerjs/sheets/facade'),g=require('@univerjs/core/facade'),c=require('@univerjs-pro/print');class S extends d[_0x5c2f55(0x199)]{[_0x5c2f55(0x1b8)](_0x3130b3){const _0x5b14dc=_0x5c2f55;return this[_0x5b14dc(0x1cb)][_0x5b14dc(0x1be)](e['ISheetPrintManagerService'])[_0x5b14dc(0x1a4)](_0x3130b3),this;}[_0x5c2f55(0x1ce)](_0x16c0a0){const _0x4505cb=_0x5c2f55;return this[_0x4505cb(0x1cb)][_0x4505cb(0x1be)](e[_0x4505cb(0x1bc)])['updateRenderConfig'](_0x16c0a0),this;}['print'](){const _0x47c911=_0x5c2f55;return this[_0x47c911(0x1cb)]['get'](a[_0x47c911(0x19d)])['syncExecuteCommand'](e['ConfirmSheetPrintOperation']['id']);}[_0x5c2f55(0x1a1)](){const _0xbbf258=_0x5c2f55;return this['_injector'][_0xbbf258(0x1be)](a[_0xbbf258(0x19d)])[_0xbbf258(0x1b9)](e['SheetPrintOpenOperation']['id']);}[_0x5c2f55(0x1d5)](){const _0x8f8ff0=_0x5c2f55;return this[_0x8f8ff0(0x1cb)][_0x8f8ff0(0x1be)](a[_0x8f8ff0(0x19d)])[_0x8f8ff0(0x1b9)](e[_0x8f8ff0(0x1b0)]['id']);}async[_0x5c2f55(0x19f)](){const _0x3e51e0=_0x5c2f55;return e[_0x3e51e0(0x1a9)](this[_0x3e51e0(0x1cb)])?this[_0x3e51e0(0x1cb)]['get'](a[_0x3e51e0(0x19d)])[_0x3e51e0(0x1c8)](e[_0x3e51e0(0x1ab)]['id']):!0x1;}}d[_0x5c2f55(0x199)]['extend'](S);class f extends d[_0x5c2f55(0x198)]{['getScreenshot'](){const _0x49527f=_0x5c2f55;return e[_0x49527f(0x1a9)](this[_0x49527f(0x1cb)])?this[_0x49527f(0x1cb)][_0x49527f(0x1be)](e[_0x49527f(0x1a3)])['getRangeImage'](this['_workbook'][_0x49527f(0x1c9)](),this[_0x49527f(0x1cc)][_0x49527f(0x19b)](),this['_range']):!0x1;}}d[_0x5c2f55(0x198)][_0x5c2f55(0x1bd)](f);class P{get[_0x5c2f55(0x1b4)](){const _0x200b9f=_0x5c2f55;return _0x200b9f(0x1b4);}get[_0x5c2f55(0x1b1)](){return'BeforeSheetPrintConfirm';}get[_0x5c2f55(0x1cf)](){const _0x5498fc=_0x5c2f55;return _0x5498fc(0x1cf);}get[_0x5c2f55(0x1ca)](){return'SheetPrintOpen';}get[_0x5c2f55(0x1af)](){return'SheetPrintConfirmed';}get[_0x5c2f55(0x19e)](){const _0x58e1a1=_0x5c2f55;return _0x58e1a1(0x19e);}}g[_0x5c2f55(0x1aa)]['extend'](P);class u{get[_0x5c2f55(0x1ba)](){const _0x5a6682=_0x5c2f55;return e[_0x5a6682(0x1ba)];}get['PrintAlign'](){const _0x53519e=_0x5c2f55;return c[_0x53519e(0x1c4)];}get[_0x5c2f55(0x1c1)](){const _0x2082f9=_0x5c2f55;return a[_0x2082f9(0x1d2)];}get[_0x5c2f55(0x1c3)](){const _0x177f5e=_0x5c2f55;return c[_0x177f5e(0x1c3)];}get['PrintScale'](){const _0x2b5594=_0x5c2f55;return c[_0x2b5594(0x1b7)];}get[_0x5c2f55(0x1c5)](){const _0x3d7356=_0x5c2f55;return c[_0x3d7356(0x1c5)];}get[_0x5c2f55(0x1a2)](){const _0x148cbe=_0x5c2f55;return e[_0x148cbe(0x1a2)];}get[_0x5c2f55(0x1bf)](){const _0x1cbf82=_0x5c2f55;return e[_0x1cbf82(0x1bf)];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}function _0x5c2f(_0x32cc7b,_0x2bce47){const _0x24db39=_0x24db();return _0x5c2f=function(_0x5c2f62,_0x14af10){_0x5c2f62=_0x5c2f62-0x196;let _0x312858=_0x24db39[_0x5c2f62];return _0x312858;},_0x5c2f(_0x32cc7b,_0x2bce47);}g[_0x5c2f55(0x1d1)][_0x5c2f55(0x1bd)](u);class l extends g[_0x5c2f55(0x1b2)]{[_0x5c2f55(0x1d0)](_0x51f5f0){const _0x3f4bbd=_0x5c2f55,_0x5e852b=_0x51f5f0[_0x3f4bbd(0x1be)](a['ICommandService']);this[_0x3f4bbd(0x1a8)](this[_0x3f4bbd(0x1c0)][_0x3f4bbd(0x1b4)],()=>_0x5e852b[_0x3f4bbd(0x197)](_0x192b22=>{const _0x47c20c=_0x3f4bbd;if(_0x192b22['id']===e[_0x47c20c(0x1a0)]['id']){const _0x4ae20e=this[_0x47c20c(0x1ac)]();if(!_0x4ae20e)return;const _0x53d70f={'workbook':_0x4ae20e,'worksheet':_0x4ae20e[_0x47c20c(0x1c7)]()};if(_0x53d70f==null)return;if(this[_0x47c20c(0x1c2)](this['Event'][_0x47c20c(0x1b4)],_0x53d70f),_0x53d70f[_0x47c20c(0x19c)])throw new a[(_0x47c20c(0x1a5))]();}})),this[_0x3f4bbd(0x1a8)](this['Event'][_0x3f4bbd(0x1b1)],()=>_0x5e852b[_0x3f4bbd(0x197)](_0x5cb7ba=>{const _0x5327bc=_0x3f4bbd;if(_0x5cb7ba['id']===e[_0x5327bc(0x1cd)]['id']){const _0x3c2f05=_0x51f5f0['get'](e[_0x5327bc(0x1bc)]);if(!this[_0x5327bc(0x1ac)]())return;const _0x4015e6={'layoutConfig':_0x3c2f05['layoutConfig'],'renderConfig':_0x3c2f05[_0x5327bc(0x1d3)]};if(_0x4015e6==null)return;if(this[_0x5327bc(0x1c2)](this[_0x5327bc(0x1c0)]['BeforeSheetPrintConfirm'],_0x4015e6),_0x4015e6[_0x5327bc(0x19c)])throw new a[(_0x5327bc(0x1a5))]();}})),this['registerEventHandler'](this[_0x3f4bbd(0x1c0)][_0x3f4bbd(0x1cf)],()=>_0x5e852b[_0x3f4bbd(0x197)](_0xe8a8e9=>{const _0x2fe4d9=_0x3f4bbd;if(_0xe8a8e9['id']===e[_0x2fe4d9(0x1b0)]['id']){const _0x4684b4=_0x51f5f0[_0x2fe4d9(0x1be)](e[_0x2fe4d9(0x1bc)]);if(!this[_0x2fe4d9(0x1ac)]())return;const _0x4b0d49={'layoutConfig':_0x4684b4['layoutConfig'],'renderConfig':_0x4684b4[_0x2fe4d9(0x1d3)]};if(_0x4b0d49==null)return;if(this[_0x2fe4d9(0x1c2)](this[_0x2fe4d9(0x1c0)]['BeforeSheetPrintCanceled'],_0x4b0d49),_0x4b0d49[_0x2fe4d9(0x19c)])throw new a[(_0x2fe4d9(0x1a5))]();}})),this[_0x3f4bbd(0x1a8)](this[_0x3f4bbd(0x1c0)][_0x3f4bbd(0x1ca)],()=>_0x5e852b[_0x3f4bbd(0x196)](_0x4860d6=>{const _0x3a21c4=_0x3f4bbd;if(_0x4860d6['id']===e[_0x3a21c4(0x1a0)]['id']){const _0x4b5dd8=this['getActiveUniverSheet']();if(!_0x4b5dd8)return;const _0x5d98a3={'workbook':_0x4b5dd8,'worksheet':_0x4b5dd8['getActiveSheet']()};if(_0x5d98a3==null)return;this[_0x3a21c4(0x1c2)](this[_0x3a21c4(0x1c0)][_0x3a21c4(0x1ca)],_0x5d98a3);}})),this['registerEventHandler'](this[_0x3f4bbd(0x1c0)][_0x3f4bbd(0x1af)],()=>_0x5e852b['onCommandExecuted'](_0x56b741=>{const _0x1c0e3d=_0x3f4bbd;if(_0x56b741['id']===e['ConfirmSheetPrintOperation']['id']){const _0x283551=_0x51f5f0[_0x1c0e3d(0x1be)](e[_0x1c0e3d(0x1bc)]);if(!this[_0x1c0e3d(0x1ac)]())return;const _0xe1aa3f={'layoutConfig':_0x283551['layoutConfig'],'renderConfig':_0x283551[_0x1c0e3d(0x1d3)]};if(_0xe1aa3f==null)return;this[_0x1c0e3d(0x1c2)](this['Event'][_0x1c0e3d(0x1af)],_0xe1aa3f);}})),this['registerEventHandler'](this['Event'][_0x3f4bbd(0x19e)],()=>_0x5e852b[_0x3f4bbd(0x196)](_0x2d72de=>{const _0x5df734=_0x3f4bbd;if(_0x2d72de['id']===e['CancelSheetPrintOperation']['id']){const _0x469718=_0x51f5f0[_0x5df734(0x1be)](e[_0x5df734(0x1bc)]);if(!this['getActiveUniverSheet']())return;const _0x544495={'layoutConfig':_0x469718[_0x5df734(0x1d4)],'renderConfig':_0x469718[_0x5df734(0x1d3)]};if(_0x544495==null)return;this[_0x5df734(0x1c2)](this[_0x5df734(0x1c0)][_0x5df734(0x19e)],_0x544495);}}));}}function _0x24db(){const _0x1848fe=['syncExecuteCommand','PrintArea','9252972vSZWSm','ISheetPrintManagerService','extend','get','PrintHeaderFooter','Event','PrintPaperSize','fireEvent','PrintPaperMargin','PrintAlign','PrintDirection','72369NVaiuZ','getActiveSheet','executeCommand','getUnitId','SheetPrintOpen','_injector','_worksheet','ConfirmSheetPrintOperation','updatePrintRenderConfig','BeforeSheetPrintCanceled','_initialize','FEnum','PaperType','renderConfig','layoutConfig','closePrintDialog','onCommandExecuted','beforeCommandExecuted','FRange','FWorkbook','2810oXzsZm','getSheetId','cancel','ICommandService','SheetPrintCanceled','saveScreenshotToClipboard','SheetPrintOpenOperation','openPrintDialog','PrintFreeze','SheetPrintClientService','updateLayoutConfig','CanceledError','1479819wvYRTX','127706GrRrfx','registerEventHandler','hasPrintFacadePermission','FEventName','SheetScreenShotOperation','getActiveUniverSheet','1326282ofPtWd','1841428FsGiyz','SheetPrintConfirmed','CancelSheetPrintOperation','BeforeSheetPrintConfirm','FUniver','16WrWFaH','BeforeSheetPrintOpen','498631eSpAOz','5gYeBtq','PrintScale','updatePrintConfig'];_0x24db=function(){return _0x1848fe;};return _0x24db();}g[_0x5c2f55(0x1b2)][_0x5c2f55(0x1bd)](l);
|