@univerjs-pro/sheets-print 0.10.4-nightly.202508220605 → 0.10.5-nightly.202508290716
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 +42 -42
- 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1146b5=_0xccbf;(function(_0x5f59d9,_0x4110d0){const _0x1a2838=_0xccbf,_0x5cffcf=_0x5f59d9();while(!![]){try{const _0x58f5d0=parseInt(_0x1a2838(0x1ce))/0x1+-parseInt(_0x1a2838(0x1c3))/0x2+parseInt(_0x1a2838(0x1de))/0x3+-parseInt(_0x1a2838(0x1bf))/0x4*(-parseInt(_0x1a2838(0x1d6))/0x5)+parseInt(_0x1a2838(0x1d8))/0x6+-parseInt(_0x1a2838(0x1c5))/0x7+-parseInt(_0x1a2838(0x1ba))/0x8;if(_0x58f5d0===_0x4110d0)break;else _0x5cffcf['push'](_0x5cffcf['shift']());}catch(_0x1dd478){_0x5cffcf['push'](_0x5cffcf['shift']());}}}(_0x2edb,0x63c5d));import{ISheetPrintManagerService as _0x195ba2,ConfirmSheetPrintOperation as _0x18344a,SheetPrintOpenOperation as _0x1f42cd,CancelSheetPrintOperation as _0x57bb6e,hasPrintFacadePermission as _0x51a113,SheetScreenShotOperation as _0x4ec572,SheetPrintClientService as _0x2ca530,PrintArea as _0x2e1117,PrintFreeze as _0x55ba1d,PrintHeaderFooter as _0x2cd3a8,PrintHeaderFooterSymbol as _0x17f8f4}from'@univerjs-pro/sheets-print';import{ICommandService as _0x334fca,PaperType as _0x24e5ec,CanceledError as _0x289497}from'@univerjs/core';import{FWorkbook as _0x554732,FRange as _0x2f985c}from'@univerjs/sheets/facade';import{FEventName as _0x3235e1,FEnum as _0x4d979f,FUniver as _0x130ba0}from'@univerjs/core/facade';import{PrintAlign as _0x3d90a0,PrintPaperMargin as _0x5638ed,PrintScale as _0xcb25a6,PrintDirection as _0x3741df}from'@univerjs-pro/print';class A extends _0x554732{[_0x1146b5(0x1b7)](_0xa17561){const _0x3a30d2=_0x1146b5;return this[_0x3a30d2(0x1d0)]['get'](_0x195ba2)['updateLayoutConfig'](_0xa17561),this;}['updatePrintRenderConfig'](_0x3ef6a8){const _0x26685a=_0x1146b5;return this[_0x26685a(0x1d0)][_0x26685a(0x1df)](_0x195ba2)[_0x26685a(0x1c9)](_0x3ef6a8),this;}['print'](){const _0x20c84f=_0x1146b5;return this[_0x20c84f(0x1d0)][_0x20c84f(0x1df)](_0x334fca)[_0x20c84f(0x1d3)](_0x18344a['id']);}[_0x1146b5(0x1c6)](){const _0x3d68d3=_0x1146b5;return this[_0x3d68d3(0x1d0)][_0x3d68d3(0x1df)](_0x334fca)[_0x3d68d3(0x1d3)](_0x1f42cd['id']);}[_0x1146b5(0x1e1)](){const _0x1eaa7c=_0x1146b5;return this['_injector'][_0x1eaa7c(0x1df)](_0x334fca)[_0x1eaa7c(0x1d3)](_0x57bb6e['id']);}async[_0x1146b5(0x1e2)](){const _0x1467a4=_0x1146b5;return _0x51a113(this['_injector'])?this['_injector'][_0x1467a4(0x1df)](_0x334fca)[_0x1467a4(0x1d9)](_0x4ec572['id']):!0x1;}}_0x554732[_0x1146b5(0x1c4)](A);class B extends _0x2f985c{[_0x1146b5(0x1bb)](){const _0x7284b0=_0x1146b5;return _0x51a113(this[_0x7284b0(0x1d0)])?this['_injector'][_0x7284b0(0x1df)](_0x2ca530)[_0x7284b0(0x1ca)](this[_0x7284b0(0x1d1)][_0x7284b0(0x1b9)](),this[_0x7284b0(0x1e0)][_0x7284b0(0x1c8)](),this['_range']):!0x1;}}_0x2f985c['extend'](B);function _0xccbf(_0x30bb4b,_0x3df705){const _0x2edb5b=_0x2edb();return _0xccbf=function(_0xccbf02,_0x60118d){_0xccbf02=_0xccbf02-0x1b7;let _0x5a0bdd=_0x2edb5b[_0xccbf02];return _0x5a0bdd;},_0xccbf(_0x30bb4b,_0x3df705);}class H{get['BeforeSheetPrintOpen'](){const _0x118d36=_0x1146b5;return _0x118d36(0x1e4);}get[_0x1146b5(0x1bd)](){const _0x5d55ae=_0x1146b5;return _0x5d55ae(0x1bd);}get[_0x1146b5(0x1cc)](){const _0x112e25=_0x1146b5;return _0x112e25(0x1cc);}get[_0x1146b5(0x1d7)](){const _0x1208f5=_0x1146b5;return _0x1208f5(0x1d7);}get['SheetPrintConfirmed'](){const _0x3f2ecc=_0x1146b5;return _0x3f2ecc(0x1e5);}get['SheetPrintCanceled'](){const _0x475b22=_0x1146b5;return _0x475b22(0x1bc);}}_0x3235e1[_0x1146b5(0x1c4)](H);class U{get[_0x1146b5(0x1cd)](){return _0x2e1117;}get['PrintAlign'](){return _0x3d90a0;}get[_0x1146b5(0x1b8)](){return _0x24e5ec;}get[_0x1146b5(0x1d4)](){return _0x5638ed;}get[_0x1146b5(0x1cb)](){return _0xcb25a6;}get['PrintDirection'](){return _0x3741df;}get[_0x1146b5(0x1d5)](){return _0x55ba1d;}get[_0x1146b5(0x1d2)](){return _0x2cd3a8;}get[_0x1146b5(0x1e3)](){return _0x17f8f4;}}function _0x2edb(){const _0xb4942d=['onCommandExecuted','getSheetId','updateRenderConfig','getRangeImage','PrintScale','BeforeSheetPrintCanceled','PrintArea','425950rAyCaq','layoutConfig','_injector','_workbook','PrintHeaderFooter','syncExecuteCommand','PrintPaperMargin','PrintFreeze','10AaflNJ','SheetPrintOpen','4098162jvBeAb','executeCommand','Event','getActiveSheet','renderConfig','fireEvent','1651956ENuJPS','get','_worksheet','closePrintDialog','saveScreenshotToClipboard','PrintHeaderFooterSymbol','BeforeSheetPrintOpen','SheetPrintConfirmed','updatePrintConfig','PrintPaperSize','getUnitId','10224312GLKZfq','getScreenshot','SheetPrintCanceled','BeforeSheetPrintConfirm','beforeCommandExecuted','1336348GUdZhC','registerEventHandler','cancel','getActiveUniverSheet','846176jRVLdh','extend','1526049goYOTM','openPrintDialog'];_0x2edb=function(){return _0xb4942d;};return _0x2edb();}_0x4d979f[_0x1146b5(0x1c4)](U);class M extends _0x130ba0{['_initialize'](_0x4dae3e){const _0x3d8c19=_0x1146b5,_0x129f72=_0x4dae3e[_0x3d8c19(0x1df)](_0x334fca);this[_0x3d8c19(0x1c0)](this[_0x3d8c19(0x1da)][_0x3d8c19(0x1e4)],()=>_0x129f72[_0x3d8c19(0x1be)](_0x16b458=>{const _0x2cff72=_0x3d8c19;if(_0x16b458['id']===_0x1f42cd['id']){const _0x589f37=this['getActiveUniverSheet']();if(!_0x589f37)return;const _0x576a33={'workbook':_0x589f37,'worksheet':_0x589f37[_0x2cff72(0x1db)]()};if(_0x576a33==null)return;if(this[_0x2cff72(0x1dd)](this[_0x2cff72(0x1da)]['BeforeSheetPrintOpen'],_0x576a33),_0x576a33[_0x2cff72(0x1c1)])throw new _0x289497();}})),this['registerEventHandler'](this[_0x3d8c19(0x1da)]['BeforeSheetPrintConfirm'],()=>_0x129f72['beforeCommandExecuted'](_0x24f3ae=>{const _0x18fb2e=_0x3d8c19;if(_0x24f3ae['id']===_0x18344a['id']){const _0x396b98=_0x4dae3e[_0x18fb2e(0x1df)](_0x195ba2);if(!this[_0x18fb2e(0x1c2)]())return;const _0x466772={'layoutConfig':_0x396b98['layoutConfig'],'renderConfig':_0x396b98[_0x18fb2e(0x1dc)]};if(_0x466772==null)return;if(this[_0x18fb2e(0x1dd)](this['Event'][_0x18fb2e(0x1bd)],_0x466772),_0x466772[_0x18fb2e(0x1c1)])throw new _0x289497();}})),this['registerEventHandler'](this[_0x3d8c19(0x1da)]['BeforeSheetPrintCanceled'],()=>_0x129f72[_0x3d8c19(0x1be)](_0xc8e8c1=>{const _0x142825=_0x3d8c19;if(_0xc8e8c1['id']===_0x57bb6e['id']){const _0xea27b1=_0x4dae3e['get'](_0x195ba2);if(!this[_0x142825(0x1c2)]())return;const _0x1394fe={'layoutConfig':_0xea27b1[_0x142825(0x1cf)],'renderConfig':_0xea27b1[_0x142825(0x1dc)]};if(_0x1394fe==null)return;if(this['fireEvent'](this[_0x142825(0x1da)]['BeforeSheetPrintCanceled'],_0x1394fe),_0x1394fe[_0x142825(0x1c1)])throw new _0x289497();}})),this[_0x3d8c19(0x1c0)](this[_0x3d8c19(0x1da)][_0x3d8c19(0x1d7)],()=>_0x129f72[_0x3d8c19(0x1c7)](_0x21b91a=>{const _0x4da2b0=_0x3d8c19;if(_0x21b91a['id']===_0x1f42cd['id']){const _0x548811=this['getActiveUniverSheet']();if(!_0x548811)return;const _0x4c5200={'workbook':_0x548811,'worksheet':_0x548811[_0x4da2b0(0x1db)]()};if(_0x4c5200==null)return;this['fireEvent'](this['Event'][_0x4da2b0(0x1d7)],_0x4c5200);}})),this[_0x3d8c19(0x1c0)](this[_0x3d8c19(0x1da)][_0x3d8c19(0x1e5)],()=>_0x129f72[_0x3d8c19(0x1c7)](_0x3145c5=>{const _0x52daca=_0x3d8c19;if(_0x3145c5['id']===_0x18344a['id']){const _0x12266f=_0x4dae3e[_0x52daca(0x1df)](_0x195ba2);if(!this[_0x52daca(0x1c2)]())return;const _0xbf117c={'layoutConfig':_0x12266f[_0x52daca(0x1cf)],'renderConfig':_0x12266f['renderConfig']};if(_0xbf117c==null)return;this[_0x52daca(0x1dd)](this[_0x52daca(0x1da)][_0x52daca(0x1e5)],_0xbf117c);}})),this[_0x3d8c19(0x1c0)](this[_0x3d8c19(0x1da)][_0x3d8c19(0x1bc)],()=>_0x129f72[_0x3d8c19(0x1c7)](_0x56ed43=>{const _0x48f899=_0x3d8c19;if(_0x56ed43['id']===_0x57bb6e['id']){const _0x5d7b42=_0x4dae3e[_0x48f899(0x1df)](_0x195ba2);if(!this[_0x48f899(0x1c2)]())return;const _0x45219d={'layoutConfig':_0x5d7b42['layoutConfig'],'renderConfig':_0x5d7b42['renderConfig']};if(_0x45219d==null)return;this[_0x48f899(0x1dd)](this['Event'][_0x48f899(0x1bc)],_0x45219d);}}));}}_0x130ba0[_0x1146b5(0x1c4)](M);
|