@univerjs-pro/sheets-print 0.15.2 → 0.15.3-insiders.20260131-b9b8805
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/sk-SK.js +1 -0
- 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/sk-SK.js +1 -0
- 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.css +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/sk-SK.js +1 -0
- 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/license/encrypted-func.d.ts +1 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- 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/sk-SK.js +1 -0
- 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/types/controllers/const.d.ts +0 -1
- package/lib/types/{common/const.d.ts → license/reverse-mapping.d.ts} +43 -43
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x5d9e(){const _0xa5902f=['BeforeSheetPrintCanceled','getRangeImage','SheetPrintOpenOperation','PrintHeaderFooter','ISheetPrintManagerService','hasPrintFacadePermission','PrintFreeze','beforeCommandExecuted','getUnitId','SheetPrintCanceled','Event','syncExecuteCommand','getActiveUniverSheet','PrintArea','SheetScreenShotOperation','fireEvent','layoutConfig','ICommandService','2356921jSKDFI','updateRenderConfig','2199876UtoaDs','ConfirmSheetPrintOperation','CanceledError','CancelSheetPrintOperation','saveScreenshotToClipboard','_initialize','5SlOpOD','4334764jSdsJM','_workbook','306080ZSlCYo','PrintAlign','2265264eToCaW','print','5xtuZLT','includeHeaders','updatePrintRenderConfig','disposeWithMe','8BzITaQ','extend','closePrintDialog','251390IIwrHX','updateLayoutConfig','66wFNFQJ','SheetPrintConfirmed','BeforeSheetPrintConfirm','getActiveSheet','FEnum','SheetPrintOpen','FRange','PrintDirection','BeforeSheetPrintOpen','_injector','renderConfig','onCommandExecuted','registerEventHandler','get','PrintHeaderFooterSymbol','cancel','executeCommand','_range','9bTfdPw','PrintPaperSize','2146110jBfbDQ','PrintScale','PrintPaperMargin','SheetPrintClientService','FWorkbook'];_0x5d9e=function(){return _0xa5902f;};return _0x5d9e();}const _0x457a7a=_0x24f3;(function(_0x59ae74,_0x34567c){const _0x26d2a6=_0x24f3,_0x1d14f1=_0x59ae74();while(!![]){try{const _0x5a4f73=-parseInt(_0x26d2a6(0x1d1))/0x1*(-parseInt(_0x26d2a6(0x1d8))/0x2)+-parseInt(_0x26d2a6(0x1ee))/0x3+-parseInt(_0x26d2a6(0x1cb))/0x4+parseInt(_0x26d2a6(0x1ca))/0x5*(parseInt(_0x26d2a6(0x1cf))/0x6)+parseInt(_0x26d2a6(0x205))/0x7*(parseInt(_0x26d2a6(0x1d5))/0x8)+-parseInt(_0x26d2a6(0x1ec))/0x9*(parseInt(_0x26d2a6(0x1cd))/0xa)+-parseInt(_0x26d2a6(0x1da))/0xb*(-parseInt(_0x26d2a6(0x1c4))/0xc);if(_0x5a4f73===_0x34567c)break;else _0x1d14f1['push'](_0x1d14f1['shift']());}catch(_0x3a193f){_0x1d14f1['push'](_0x1d14f1['shift']());}}}(_0x5d9e,0x95a7f));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[_0x457a7a(0x1f2)]{['updatePrintConfig'](_0x1d1253){const _0x4ce1bf=_0x457a7a;return this[_0x4ce1bf(0x1e3)][_0x4ce1bf(0x1e7)](e[_0x4ce1bf(0x1f7)])[_0x4ce1bf(0x1d9)](_0x1d1253),this;}[_0x457a7a(0x1d3)](_0x4f4c6c){const _0x3ca8a3=_0x457a7a;return this[_0x3ca8a3(0x1e3)]['get'](e[_0x3ca8a3(0x1f7)])[_0x3ca8a3(0x206)](_0x4f4c6c),this;}[_0x457a7a(0x1d0)](){const _0x4294c8=_0x457a7a;return this[_0x4294c8(0x1e3)]['get'](a[_0x4294c8(0x204)])[_0x4294c8(0x1fe)](e[_0x4294c8(0x1c5)]['id']);}['openPrintDialog'](){const _0x2dc026=_0x457a7a;return this[_0x2dc026(0x1e3)]['get'](a[_0x2dc026(0x204)])[_0x2dc026(0x1fe)](e[_0x2dc026(0x1f5)]['id']);}[_0x457a7a(0x1d7)](){const _0x1554bb=_0x457a7a;return this[_0x1554bb(0x1e3)][_0x1554bb(0x1e7)](a[_0x1554bb(0x204)])[_0x1554bb(0x1fe)](e['CancelSheetPrintOperation']['id']);}async[_0x457a7a(0x1c8)](){const _0x3eea15=_0x457a7a;return e[_0x3eea15(0x1f8)](this[_0x3eea15(0x1e3)])?this[_0x3eea15(0x1e3)][_0x3eea15(0x1e7)](a[_0x3eea15(0x204)])[_0x3eea15(0x1ea)](e[_0x3eea15(0x201)]['id']):!0x1;}}d[_0x457a7a(0x1f2)][_0x457a7a(0x1d6)](S);class f extends d['FRange']{['getScreenshot'](_0xb38dae){const _0xaa5a31=_0x457a7a;return e[_0xaa5a31(0x1f8)](this[_0xaa5a31(0x1e3)])?this['_injector'][_0xaa5a31(0x1e7)](e[_0xaa5a31(0x1f1)])[_0xaa5a31(0x1f4)](this[_0xaa5a31(0x1cc)][_0xaa5a31(0x1fb)](),this['_worksheet']['getSheetId'](),this[_0xaa5a31(0x1eb)],_0xb38dae==null?void 0x0:_0xb38dae[_0xaa5a31(0x1d2)]):!0x1;}}d[_0x457a7a(0x1e0)][_0x457a7a(0x1d6)](f);class P{get[_0x457a7a(0x1e2)](){const _0x364ede=_0x457a7a;return _0x364ede(0x1e2);}get[_0x457a7a(0x1dc)](){return'BeforeSheetPrintConfirm';}get[_0x457a7a(0x1f3)](){const _0xf54708=_0x457a7a;return _0xf54708(0x1f3);}get[_0x457a7a(0x1df)](){const _0x2bafa5=_0x457a7a;return _0x2bafa5(0x1df);}get['SheetPrintConfirmed'](){const _0x58ff30=_0x457a7a;return _0x58ff30(0x1db);}get[_0x457a7a(0x1fc)](){return'SheetPrintCanceled';}}g['FEventName'][_0x457a7a(0x1d6)](P);class u{get[_0x457a7a(0x200)](){const _0x20238e=_0x457a7a;return e[_0x20238e(0x200)];}get[_0x457a7a(0x1ce)](){const _0xac5be0=_0x457a7a;return c[_0xac5be0(0x1ce)];}get[_0x457a7a(0x1ed)](){return a['PaperType'];}get[_0x457a7a(0x1f0)](){const _0x1ce66c=_0x457a7a;return c[_0x1ce66c(0x1f0)];}get[_0x457a7a(0x1ef)](){const _0x356bd8=_0x457a7a;return c[_0x356bd8(0x1ef)];}get[_0x457a7a(0x1e1)](){return c['PrintDirection'];}get[_0x457a7a(0x1f9)](){const _0x21b4ba=_0x457a7a;return e[_0x21b4ba(0x1f9)];}get[_0x457a7a(0x1f6)](){const _0x4f479f=_0x457a7a;return e[_0x4f479f(0x1f6)];}get[_0x457a7a(0x1e8)](){const _0x24d12f=_0x457a7a;return e[_0x24d12f(0x1e8)];}}g[_0x457a7a(0x1de)][_0x457a7a(0x1d6)](u);class l extends g['FUniver']{[_0x457a7a(0x1c9)](_0xff5526){const _0x6d3262=_0x457a7a,_0x5985ed=_0xff5526['get'](a[_0x6d3262(0x204)]);this['disposeWithMe'](this[_0x6d3262(0x1e6)](this[_0x6d3262(0x1fd)][_0x6d3262(0x1e2)],()=>_0x5985ed['beforeCommandExecuted'](_0x2c3443=>{const _0x4dcf45=_0x6d3262;if(_0x2c3443['id']===e[_0x4dcf45(0x1f5)]['id']){const _0x57c3f9=this[_0x4dcf45(0x1ff)]();if(!_0x57c3f9)return;const _0x183125={'workbook':_0x57c3f9,'worksheet':_0x57c3f9[_0x4dcf45(0x1dd)]()};if(_0x183125==null)return;if(this[_0x4dcf45(0x202)](this[_0x4dcf45(0x1fd)]['BeforeSheetPrintOpen'],_0x183125),_0x183125[_0x4dcf45(0x1e9)])throw new a['CanceledError']();}}))),this[_0x6d3262(0x1d4)](this['registerEventHandler'](this['Event'][_0x6d3262(0x1dc)],()=>_0x5985ed[_0x6d3262(0x1fa)](_0x4ba814=>{const _0x539c0a=_0x6d3262;if(_0x4ba814['id']===e[_0x539c0a(0x1c5)]['id']){const _0x952501=_0xff5526[_0x539c0a(0x1e7)](e[_0x539c0a(0x1f7)]);if(!this['getActiveUniverSheet']())return;const _0x4d1f47={'layoutConfig':_0x952501[_0x539c0a(0x203)],'renderConfig':_0x952501['renderConfig']};if(_0x4d1f47==null)return;if(this[_0x539c0a(0x202)](this[_0x539c0a(0x1fd)][_0x539c0a(0x1dc)],_0x4d1f47),_0x4d1f47[_0x539c0a(0x1e9)])throw new a['CanceledError']();}}))),this[_0x6d3262(0x1d4)](this[_0x6d3262(0x1e6)](this[_0x6d3262(0x1fd)]['BeforeSheetPrintCanceled'],()=>_0x5985ed[_0x6d3262(0x1fa)](_0x1c6911=>{const _0x1febcf=_0x6d3262;if(_0x1c6911['id']===e['CancelSheetPrintOperation']['id']){const _0x19567b=_0xff5526[_0x1febcf(0x1e7)](e[_0x1febcf(0x1f7)]);if(!this[_0x1febcf(0x1ff)]())return;const _0x568002={'layoutConfig':_0x19567b['layoutConfig'],'renderConfig':_0x19567b[_0x1febcf(0x1e4)]};if(_0x568002==null)return;if(this[_0x1febcf(0x202)](this[_0x1febcf(0x1fd)][_0x1febcf(0x1f3)],_0x568002),_0x568002[_0x1febcf(0x1e9)])throw new a[(_0x1febcf(0x1c6))]();}}))),this[_0x6d3262(0x1d4)](this[_0x6d3262(0x1e6)](this[_0x6d3262(0x1fd)]['SheetPrintOpen'],()=>_0x5985ed['onCommandExecuted'](_0x160ece=>{const _0x1ccb9d=_0x6d3262;if(_0x160ece['id']===e[_0x1ccb9d(0x1f5)]['id']){const _0xff177a=this[_0x1ccb9d(0x1ff)]();if(!_0xff177a)return;const _0x36de6f={'workbook':_0xff177a,'worksheet':_0xff177a['getActiveSheet']()};if(_0x36de6f==null)return;this[_0x1ccb9d(0x202)](this[_0x1ccb9d(0x1fd)][_0x1ccb9d(0x1df)],_0x36de6f);}}))),this[_0x6d3262(0x1d4)](this[_0x6d3262(0x1e6)](this[_0x6d3262(0x1fd)]['SheetPrintConfirmed'],()=>_0x5985ed[_0x6d3262(0x1e5)](_0x3e45ac=>{const _0x4f34d0=_0x6d3262;if(_0x3e45ac['id']===e[_0x4f34d0(0x1c5)]['id']){const _0x3d998d=_0xff5526[_0x4f34d0(0x1e7)](e[_0x4f34d0(0x1f7)]);if(!this['getActiveUniverSheet']())return;const _0x73b57c={'layoutConfig':_0x3d998d['layoutConfig'],'renderConfig':_0x3d998d['renderConfig']};if(_0x73b57c==null)return;this[_0x4f34d0(0x202)](this['Event'][_0x4f34d0(0x1db)],_0x73b57c);}}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x6d3262(0x1fd)][_0x6d3262(0x1fc)],()=>_0x5985ed[_0x6d3262(0x1e5)](_0x18de7=>{const _0xa4ab2f=_0x6d3262;if(_0x18de7['id']===e[_0xa4ab2f(0x1c7)]['id']){const _0x2a5633=_0xff5526[_0xa4ab2f(0x1e7)](e[_0xa4ab2f(0x1f7)]);if(!this[_0xa4ab2f(0x1ff)]())return;const _0x46da83={'layoutConfig':_0x2a5633['layoutConfig'],'renderConfig':_0x2a5633[_0xa4ab2f(0x1e4)]};if(_0x46da83==null)return;this[_0xa4ab2f(0x202)](this[_0xa4ab2f(0x1fd)]['SheetPrintCanceled'],_0x46da83);}})));}}function _0x24f3(_0x9c218,_0xb52748){_0x9c218=_0x9c218-0x1c4;const _0x5d9e23=_0x5d9e();let _0x24f3a1=_0x5d9e23[_0x9c218];return _0x24f3a1;}g['FUniver'][_0x457a7a(0x1d6)](l);
|