@univerjs-pro/sheets-print 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507181608
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/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
|
+
const _0x4dc297=_0x50b3;(function(_0x27c4dd,_0x1506bf){const _0x15edbb=_0x50b3,_0x5d3576=_0x27c4dd();while(!![]){try{const _0x3448c4=parseInt(_0x15edbb(0xc3))/0x1+-parseInt(_0x15edbb(0xc2))/0x2*(parseInt(_0x15edbb(0x9c))/0x3)+-parseInt(_0x15edbb(0xcd))/0x4*(parseInt(_0x15edbb(0xcb))/0x5)+parseInt(_0x15edbb(0xb6))/0x6*(-parseInt(_0x15edbb(0xbb))/0x7)+-parseInt(_0x15edbb(0xa4))/0x8*(parseInt(_0x15edbb(0xb2))/0x9)+-parseInt(_0x15edbb(0xab))/0xa*(-parseInt(_0x15edbb(0x9b))/0xb)+parseInt(_0x15edbb(0xa9))/0xc;if(_0x3448c4===_0x1506bf)break;else _0x5d3576['push'](_0x5d3576['shift']());}catch(_0x20676d){_0x5d3576['push'](_0x5d3576['shift']());}}}(_0xfcc1,0x1a5a0));import{ISheetPrintManagerService as _0x5bb792,ConfirmSheetPrintOperation as _0x650190,SheetPrintOpenOperation as _0x309993,CancelSheetPrintOperation as _0xab404d,hasPrintFacadePermission as _0x2eed4a,SheetScreenShotOperation as _0x4021c1,SheetPrintClientService as _0x3f2ac2,PrintArea as _0x2f17f9,PrintFreeze as _0x32c60f,PrintHeaderFooter as _0x3f29b3,PrintHeaderFooterSymbol as _0x5a9f99}from'@univerjs-pro/sheets-print';import{ICommandService as _0x15bce5,PaperType as _0x2288e2,CanceledError as _0x4f1ef1}from'@univerjs/core';import{FWorkbook as _0x72fc54,FRange as _0x3308cf}from'@univerjs/sheets/facade';import{FEventName as _0x52084b,FEnum as _0x1ce749,FUniver as _0x152fe0}from'@univerjs/core/facade';import{PrintAlign as _0x56df9b,PrintPaperMargin as _0x3b6db6,PrintScale as _0x4e1ad1,PrintDirection as _0x1e677c}from'@univerjs-pro/print';class A extends _0x72fc54{['updatePrintConfig'](_0x5a64c6){const _0x4dc8a0=_0x50b3;return this[_0x4dc8a0(0xa7)][_0x4dc8a0(0xb5)](_0x5bb792)['updateLayoutConfig'](_0x5a64c6),this;}[_0x4dc297(0xc4)](_0x122724){const _0xd87dbe=_0x4dc297;return this[_0xd87dbe(0xa7)][_0xd87dbe(0xb5)](_0x5bb792)[_0xd87dbe(0xb7)](_0x122724),this;}['print'](){const _0xef9112=_0x4dc297;return this[_0xef9112(0xa7)][_0xef9112(0xb5)](_0x15bce5)['syncExecuteCommand'](_0x650190['id']);}[_0x4dc297(0xba)](){const _0x3f1e0c=_0x4dc297;return this['_injector']['get'](_0x15bce5)[_0x3f1e0c(0xb3)](_0x309993['id']);}[_0x4dc297(0x9f)](){const _0x902d8e=_0x4dc297;return this['_injector']['get'](_0x15bce5)[_0x902d8e(0xb3)](_0xab404d['id']);}async[_0x4dc297(0xad)](){const _0x549555=_0x4dc297;return _0x2eed4a(this[_0x549555(0xa7)])?this[_0x549555(0xa7)][_0x549555(0xb5)](_0x15bce5)[_0x549555(0x9e)](_0x4021c1['id']):!0x1;}}_0x72fc54['extend'](A);class B extends _0x3308cf{[_0x4dc297(0xb1)](){const _0x236633=_0x4dc297;return _0x2eed4a(this[_0x236633(0xa7)])?this['_injector'][_0x236633(0xb5)](_0x3f2ac2)[_0x236633(0xac)](this[_0x236633(0xa3)]['getUnitId'](),this[_0x236633(0xb8)]['getSheetId'](),this[_0x236633(0xc6)]):!0x1;}}_0x3308cf[_0x4dc297(0xca)](B);class H{get['BeforeSheetPrintOpen'](){const _0xaa6d56=_0x4dc297;return _0xaa6d56(0xa1);}get[_0x4dc297(0xc5)](){const _0x1823ed=_0x4dc297;return _0x1823ed(0xc5);}get[_0x4dc297(0x9a)](){return'BeforeSheetPrintCanceled';}get[_0x4dc297(0xc7)](){const _0x23544c=_0x4dc297;return _0x23544c(0xc7);}get[_0x4dc297(0xa2)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x28a7e3=_0x4dc297;return _0x28a7e3(0xa8);}}_0x52084b[_0x4dc297(0xca)](H);function _0x50b3(_0x5aac9c,_0x3d4ec5){const _0xfcc1d8=_0xfcc1();return _0x50b3=function(_0x50b345,_0x35cf77){_0x50b345=_0x50b345-0x9a;let _0x1825c8=_0xfcc1d8[_0x50b345];return _0x1825c8;},_0x50b3(_0x5aac9c,_0x3d4ec5);}function _0xfcc1(){const _0x3100ca=['_worksheet','getActiveUniverSheet','openPrintDialog','43575ziRjHy','PrintFreeze','fireEvent','PrintAlign','_initialize','renderConfig','registerEventHandler','2066ZrOFGV','64088REEcaO','updatePrintRenderConfig','BeforeSheetPrintConfirm','_range','SheetPrintOpen','layoutConfig','cancel','extend','92885tcecvQ','PrintArea','36fytdKx','BeforeSheetPrintCanceled','48939NqKuVl','393FHhHzE','PrintScale','executeCommand','closePrintDialog','onCommandExecuted','BeforeSheetPrintOpen','SheetPrintConfirmed','_workbook','42184MNXGav','PrintHeaderFooterSymbol','PrintHeaderFooter','_injector','SheetPrintCanceled','4592496ZsYXma','PrintDirection','210kyTQah','getRangeImage','saveScreenshotToClipboard','getActiveSheet','Event','PrintPaperMargin','getScreenshot','9KSxerY','syncExecuteCommand','beforeCommandExecuted','get','120ZNWbsf','updateRenderConfig'];_0xfcc1=function(){return _0x3100ca;};return _0xfcc1();}class U{get[_0x4dc297(0xcc)](){return _0x2f17f9;}get[_0x4dc297(0xbe)](){return _0x56df9b;}get['PrintPaperSize'](){return _0x2288e2;}get[_0x4dc297(0xb0)](){return _0x3b6db6;}get[_0x4dc297(0x9d)](){return _0x4e1ad1;}get[_0x4dc297(0xaa)](){return _0x1e677c;}get[_0x4dc297(0xbc)](){return _0x32c60f;}get[_0x4dc297(0xa6)](){return _0x3f29b3;}get[_0x4dc297(0xa5)](){return _0x5a9f99;}}_0x1ce749[_0x4dc297(0xca)](U);class M extends _0x152fe0{[_0x4dc297(0xbf)](_0x56f420){const _0x50011c=_0x4dc297,_0x316161=_0x56f420['get'](_0x15bce5);this[_0x50011c(0xc1)](this['Event'][_0x50011c(0xa1)],()=>_0x316161[_0x50011c(0xb4)](_0x115de1=>{const _0x2fa452=_0x50011c;if(_0x115de1['id']===_0x309993['id']){const _0x2546fd=this[_0x2fa452(0xb9)]();if(!_0x2546fd)return;const _0xf2cda3={'workbook':_0x2546fd,'worksheet':_0x2546fd[_0x2fa452(0xae)]()};if(_0xf2cda3==null)return;if(this[_0x2fa452(0xbd)](this['Event']['BeforeSheetPrintOpen'],_0xf2cda3),_0xf2cda3[_0x2fa452(0xc9)])throw new _0x4f1ef1();}})),this[_0x50011c(0xc1)](this[_0x50011c(0xaf)][_0x50011c(0xc5)],()=>_0x316161[_0x50011c(0xb4)](_0x2598e7=>{const _0x2c6ba4=_0x50011c;if(_0x2598e7['id']===_0x650190['id']){const _0x2119e=_0x56f420[_0x2c6ba4(0xb5)](_0x5bb792);if(!this['getActiveUniverSheet']())return;const _0x131b3a={'layoutConfig':_0x2119e[_0x2c6ba4(0xc8)],'renderConfig':_0x2119e[_0x2c6ba4(0xc0)]};if(_0x131b3a==null)return;if(this['fireEvent'](this[_0x2c6ba4(0xaf)][_0x2c6ba4(0xc5)],_0x131b3a),_0x131b3a['cancel'])throw new _0x4f1ef1();}})),this[_0x50011c(0xc1)](this[_0x50011c(0xaf)][_0x50011c(0x9a)],()=>_0x316161['beforeCommandExecuted'](_0x3f083a=>{const _0x20646b=_0x50011c;if(_0x3f083a['id']===_0xab404d['id']){const _0x5dbc27=_0x56f420[_0x20646b(0xb5)](_0x5bb792);if(!this[_0x20646b(0xb9)]())return;const _0x45bf46={'layoutConfig':_0x5dbc27[_0x20646b(0xc8)],'renderConfig':_0x5dbc27[_0x20646b(0xc0)]};if(_0x45bf46==null)return;if(this[_0x20646b(0xbd)](this[_0x20646b(0xaf)][_0x20646b(0x9a)],_0x45bf46),_0x45bf46[_0x20646b(0xc9)])throw new _0x4f1ef1();}})),this[_0x50011c(0xc1)](this[_0x50011c(0xaf)][_0x50011c(0xc7)],()=>_0x316161['onCommandExecuted'](_0x487155=>{const _0x2e5222=_0x50011c;if(_0x487155['id']===_0x309993['id']){const _0x3f38c4=this[_0x2e5222(0xb9)]();if(!_0x3f38c4)return;const _0x30f67b={'workbook':_0x3f38c4,'worksheet':_0x3f38c4[_0x2e5222(0xae)]()};if(_0x30f67b==null)return;this[_0x2e5222(0xbd)](this[_0x2e5222(0xaf)][_0x2e5222(0xc7)],_0x30f67b);}})),this[_0x50011c(0xc1)](this[_0x50011c(0xaf)][_0x50011c(0xa2)],()=>_0x316161[_0x50011c(0xa0)](_0x3427b2=>{const _0xe042db=_0x50011c;if(_0x3427b2['id']===_0x650190['id']){const _0x1c215b=_0x56f420[_0xe042db(0xb5)](_0x5bb792);if(!this['getActiveUniverSheet']())return;const _0x203ab2={'layoutConfig':_0x1c215b[_0xe042db(0xc8)],'renderConfig':_0x1c215b['renderConfig']};if(_0x203ab2==null)return;this['fireEvent'](this[_0xe042db(0xaf)][_0xe042db(0xa2)],_0x203ab2);}})),this[_0x50011c(0xc1)](this[_0x50011c(0xaf)]['SheetPrintCanceled'],()=>_0x316161[_0x50011c(0xa0)](_0x4904de=>{const _0x415d2c=_0x50011c;if(_0x4904de['id']===_0xab404d['id']){const _0x4c64a5=_0x56f420[_0x415d2c(0xb5)](_0x5bb792);if(!this[_0x415d2c(0xb9)]())return;const _0x305dfc={'layoutConfig':_0x4c64a5[_0x415d2c(0xc8)],'renderConfig':_0x4c64a5[_0x415d2c(0xc0)]};if(_0x305dfc==null)return;this['fireEvent'](this[_0x415d2c(0xaf)][_0x415d2c(0xa8)],_0x305dfc);}}));}}_0x152fe0['extend'](M);
|