@univerjs-pro/sheets-print 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507171607
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 +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/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 _0x1040(){const _0xf3b148=['3DaxXnw','BeforeSheetPrintOpen','print','saveScreenshotToClipboard','updateLayoutConfig','layoutConfig','7vFjdte','2221094RNfuXH','_initialize','updatePrintRenderConfig','PrintScale','PrintDirection','registerEventHandler','110508OLozIR','PrintAlign','fireEvent','get','PrintPaperMargin','getActiveSheet','BeforeSheetPrintConfirm','838508eoepMo','PrintArea','_injector','_worksheet','15taekTR','SheetPrintConfirmed','8730315nrCFfu','extend','10bzDiPh','SheetPrintOpen','syncExecuteCommand','cancel','getActiveUniverSheet','9405608XdyySl','60bieSxb','_range','PrintHeaderFooterSymbol','BeforeSheetPrintCanceled','renderConfig','onCommandExecuted','SheetPrintCanceled','closePrintDialog','Event','updateRenderConfig','executeCommand','5499230bvqCdF','PrintPaperSize','beforeCommandExecuted','getScreenshot','PrintHeaderFooter','7415784vxQFqe','_workbook'];_0x1040=function(){return _0xf3b148;};return _0x1040();}const _0x114b99=_0x2233;(function(_0x235432,_0x1e4c02){const _0x3b4865=_0x2233,_0x14a366=_0x235432();while(!![]){try{const _0x2b5256=parseInt(_0x3b4865(0x97))/0x1+-parseInt(_0x3b4865(0xbe))/0x2*(parseInt(_0x3b4865(0xb7))/0x3)+-parseInt(_0x3b4865(0x90))/0x4*(parseInt(_0x3b4865(0x9b))/0x5)+-parseInt(_0x3b4865(0xb5))/0x6*(parseInt(_0x3b4865(0xbd))/0x7)+-parseInt(_0x3b4865(0xa4))/0x8+-parseInt(_0x3b4865(0x9d))/0x9*(-parseInt(_0x3b4865(0x9f))/0xa)+-parseInt(_0x3b4865(0xb0))/0xb*(-parseInt(_0x3b4865(0xa5))/0xc);if(_0x2b5256===_0x1e4c02)break;else _0x14a366['push'](_0x14a366['shift']());}catch(_0x4c00c2){_0x14a366['push'](_0x14a366['shift']());}}}(_0x1040,0xaba7c));import{ISheetPrintManagerService as _0x21e584,ConfirmSheetPrintOperation as _0x618f37,SheetPrintOpenOperation as _0x1c5b13,CancelSheetPrintOperation as _0x581f21,hasPrintFacadePermission as _0x2d708f,SheetScreenShotOperation as _0x21b9d7,SheetPrintClientService as _0xb6b39f,PrintArea as _0x3e5203,PrintFreeze as _0x1b524d,PrintHeaderFooter as _0x31dc4d,PrintHeaderFooterSymbol as _0x27bb29}from'@univerjs-pro/sheets-print';import{ICommandService as _0x21aea,PaperType as _0x5dfe0a,CanceledError as _0x2dfbc7}from'@univerjs/core';import{FWorkbook as _0x408ec4,FRange as _0x488dfb}from'@univerjs/sheets/facade';import{FEventName as _0x2bd976,FEnum as _0x25e4c6,FUniver as _0x335824}from'@univerjs/core/facade';import{PrintAlign as _0x59185d,PrintPaperMargin as _0x43f52e,PrintScale as _0x347152,PrintDirection as _0x525120}from'@univerjs-pro/print';class A extends _0x408ec4{['updatePrintConfig'](_0x38172c){const _0x162e08=_0x2233;return this['_injector']['get'](_0x21e584)[_0x162e08(0xbb)](_0x38172c),this;}[_0x114b99(0xc0)](_0x40946a){const _0x1c8059=_0x114b99;return this[_0x1c8059(0x99)][_0x1c8059(0x93)](_0x21e584)[_0x1c8059(0xae)](_0x40946a),this;}[_0x114b99(0xb9)](){const _0x515037=_0x114b99;return this[_0x515037(0x99)][_0x515037(0x93)](_0x21aea)['syncExecuteCommand'](_0x618f37['id']);}['openPrintDialog'](){const _0x50e35b=_0x114b99;return this[_0x50e35b(0x99)][_0x50e35b(0x93)](_0x21aea)[_0x50e35b(0xa1)](_0x1c5b13['id']);}[_0x114b99(0xac)](){const _0x5b13ef=_0x114b99;return this[_0x5b13ef(0x99)][_0x5b13ef(0x93)](_0x21aea)['syncExecuteCommand'](_0x581f21['id']);}async[_0x114b99(0xba)](){const _0x2a6f23=_0x114b99;return _0x2d708f(this[_0x2a6f23(0x99)])?this[_0x2a6f23(0x99)][_0x2a6f23(0x93)](_0x21aea)[_0x2a6f23(0xaf)](_0x21b9d7['id']):!0x1;}}_0x408ec4[_0x114b99(0x9e)](A);function _0x2233(_0x1f9eca,_0x4183aa){const _0x10402d=_0x1040();return _0x2233=function(_0x2233c5,_0x103030){_0x2233c5=_0x2233c5-0x90;let _0x4f46a8=_0x10402d[_0x2233c5];return _0x4f46a8;},_0x2233(_0x1f9eca,_0x4183aa);}class B extends _0x488dfb{[_0x114b99(0xb3)](){const _0x3953e1=_0x114b99;return _0x2d708f(this[_0x3953e1(0x99)])?this[_0x3953e1(0x99)][_0x3953e1(0x93)](_0xb6b39f)['getRangeImage'](this[_0x3953e1(0xb6)]['getUnitId'](),this[_0x3953e1(0x9a)]['getSheetId'](),this[_0x3953e1(0xa6)]):!0x1;}}_0x488dfb[_0x114b99(0x9e)](B);class H{get[_0x114b99(0xb8)](){const _0x48e92b=_0x114b99;return _0x48e92b(0xb8);}get[_0x114b99(0x96)](){const _0x57338d=_0x114b99;return _0x57338d(0x96);}get['BeforeSheetPrintCanceled'](){const _0x10f67f=_0x114b99;return _0x10f67f(0xa8);}get[_0x114b99(0xa0)](){const _0x56705e=_0x114b99;return _0x56705e(0xa0);}get['SheetPrintConfirmed'](){const _0x249730=_0x114b99;return _0x249730(0x9c);}get[_0x114b99(0xab)](){return'SheetPrintCanceled';}}_0x2bd976['extend'](H);class U{get[_0x114b99(0x98)](){return _0x3e5203;}get[_0x114b99(0x91)](){return _0x59185d;}get[_0x114b99(0xb1)](){return _0x5dfe0a;}get[_0x114b99(0x94)](){return _0x43f52e;}get[_0x114b99(0xc1)](){return _0x347152;}get[_0x114b99(0xc2)](){return _0x525120;}get['PrintFreeze'](){return _0x1b524d;}get[_0x114b99(0xb4)](){return _0x31dc4d;}get[_0x114b99(0xa7)](){return _0x27bb29;}}_0x25e4c6['extend'](U);class M extends _0x335824{[_0x114b99(0xbf)](_0x529bf7){const _0x59a5f3=_0x114b99,_0x307e64=_0x529bf7['get'](_0x21aea);this[_0x59a5f3(0xc3)](this[_0x59a5f3(0xad)][_0x59a5f3(0xb8)],()=>_0x307e64[_0x59a5f3(0xb2)](_0x1b5688=>{const _0x1c7d1e=_0x59a5f3;if(_0x1b5688['id']===_0x1c5b13['id']){const _0x24e382=this[_0x1c7d1e(0xa3)]();if(!_0x24e382)return;const _0x278711={'workbook':_0x24e382,'worksheet':_0x24e382[_0x1c7d1e(0x95)]()};if(_0x278711==null)return;if(this[_0x1c7d1e(0x92)](this['Event'][_0x1c7d1e(0xb8)],_0x278711),_0x278711[_0x1c7d1e(0xa2)])throw new _0x2dfbc7();}})),this[_0x59a5f3(0xc3)](this[_0x59a5f3(0xad)][_0x59a5f3(0x96)],()=>_0x307e64['beforeCommandExecuted'](_0x552a9f=>{const _0x224e97=_0x59a5f3;if(_0x552a9f['id']===_0x618f37['id']){const _0x1befc5=_0x529bf7[_0x224e97(0x93)](_0x21e584);if(!this[_0x224e97(0xa3)]())return;const _0x42a254={'layoutConfig':_0x1befc5[_0x224e97(0xbc)],'renderConfig':_0x1befc5[_0x224e97(0xa9)]};if(_0x42a254==null)return;if(this['fireEvent'](this['Event'][_0x224e97(0x96)],_0x42a254),_0x42a254[_0x224e97(0xa2)])throw new _0x2dfbc7();}})),this['registerEventHandler'](this['Event']['BeforeSheetPrintCanceled'],()=>_0x307e64['beforeCommandExecuted'](_0x519809=>{const _0x597d40=_0x59a5f3;if(_0x519809['id']===_0x581f21['id']){const _0x43e1c4=_0x529bf7[_0x597d40(0x93)](_0x21e584);if(!this[_0x597d40(0xa3)]())return;const _0x14935c={'layoutConfig':_0x43e1c4[_0x597d40(0xbc)],'renderConfig':_0x43e1c4[_0x597d40(0xa9)]};if(_0x14935c==null)return;if(this[_0x597d40(0x92)](this[_0x597d40(0xad)][_0x597d40(0xa8)],_0x14935c),_0x14935c[_0x597d40(0xa2)])throw new _0x2dfbc7();}})),this[_0x59a5f3(0xc3)](this[_0x59a5f3(0xad)][_0x59a5f3(0xa0)],()=>_0x307e64['onCommandExecuted'](_0x3343ed=>{const _0x429a59=_0x59a5f3;if(_0x3343ed['id']===_0x1c5b13['id']){const _0x2bc107=this[_0x429a59(0xa3)]();if(!_0x2bc107)return;const _0x2e805b={'workbook':_0x2bc107,'worksheet':_0x2bc107[_0x429a59(0x95)]()};if(_0x2e805b==null)return;this[_0x429a59(0x92)](this[_0x429a59(0xad)][_0x429a59(0xa0)],_0x2e805b);}})),this[_0x59a5f3(0xc3)](this[_0x59a5f3(0xad)][_0x59a5f3(0x9c)],()=>_0x307e64[_0x59a5f3(0xaa)](_0x1c08bd=>{const _0x24b2b9=_0x59a5f3;if(_0x1c08bd['id']===_0x618f37['id']){const _0x2cb6ed=_0x529bf7[_0x24b2b9(0x93)](_0x21e584);if(!this[_0x24b2b9(0xa3)]())return;const _0x37cd4d={'layoutConfig':_0x2cb6ed[_0x24b2b9(0xbc)],'renderConfig':_0x2cb6ed[_0x24b2b9(0xa9)]};if(_0x37cd4d==null)return;this[_0x24b2b9(0x92)](this[_0x24b2b9(0xad)][_0x24b2b9(0x9c)],_0x37cd4d);}})),this[_0x59a5f3(0xc3)](this['Event'][_0x59a5f3(0xab)],()=>_0x307e64['onCommandExecuted'](_0x275c5c=>{const _0x36ecad=_0x59a5f3;if(_0x275c5c['id']===_0x581f21['id']){const _0x17b18d=_0x529bf7[_0x36ecad(0x93)](_0x21e584);if(!this[_0x36ecad(0xa3)]())return;const _0x4f9b6f={'layoutConfig':_0x17b18d[_0x36ecad(0xbc)],'renderConfig':_0x17b18d[_0x36ecad(0xa9)]};if(_0x4f9b6f==null)return;this[_0x36ecad(0x92)](this[_0x36ecad(0xad)][_0x36ecad(0xab)],_0x4f9b6f);}}));}}_0x335824[_0x114b99(0x9e)](M);
|