@univerjs-pro/sheets-print 0.15.2 → 0.15.3-insiders.20260131-cbd5fac
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} +42 -42
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x381abf=_0x3368;(function(_0x5c10a7,_0x2e94d0){const _0x2516da=_0x3368,_0x37aa6c=_0x5c10a7();while(!![]){try{const _0x3fb125=-parseInt(_0x2516da(0x192))/0x1*(parseInt(_0x2516da(0x1a3))/0x2)+parseInt(_0x2516da(0x19a))/0x3*(parseInt(_0x2516da(0x191))/0x4)+-parseInt(_0x2516da(0x184))/0x5*(-parseInt(_0x2516da(0x1b0))/0x6)+-parseInt(_0x2516da(0x17e))/0x7*(parseInt(_0x2516da(0x19d))/0x8)+parseInt(_0x2516da(0x1a2))/0x9+-parseInt(_0x2516da(0x1a0))/0xa+parseInt(_0x2516da(0x198))/0xb;if(_0x3fb125===_0x2e94d0)break;else _0x37aa6c['push'](_0x37aa6c['shift']());}catch(_0x3315e1){_0x37aa6c['push'](_0x37aa6c['shift']());}}}(_0x1e7f,0x3eda4));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[_0x381abf(0x199)]{[_0x381abf(0x1b8)](_0x252a19){const _0x769f3f=_0x381abf;return this[_0x769f3f(0x1b6)][_0x769f3f(0x18b)](e[_0x769f3f(0x18c)])[_0x769f3f(0x181)](_0x252a19),this;}[_0x381abf(0x19c)](_0x474e53){const _0x436902=_0x381abf;return this['_injector']['get'](e[_0x436902(0x18c)])['updateRenderConfig'](_0x474e53),this;}[_0x381abf(0x17b)](){const _0x1b1ba0=_0x381abf;return this[_0x1b1ba0(0x1b6)][_0x1b1ba0(0x18b)](a[_0x1b1ba0(0x188)])[_0x1b1ba0(0x17f)](e[_0x1b1ba0(0x180)]['id']);}['openPrintDialog'](){const _0x4b8c68=_0x381abf;return this[_0x4b8c68(0x1b6)][_0x4b8c68(0x18b)](a[_0x4b8c68(0x188)])['syncExecuteCommand'](e['SheetPrintOpenOperation']['id']);}[_0x381abf(0x182)](){const _0x5c97ae=_0x381abf;return this[_0x5c97ae(0x1b6)][_0x5c97ae(0x18b)](a[_0x5c97ae(0x188)])[_0x5c97ae(0x17f)](e['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0xef15be=_0x381abf;return e['hasPrintFacadePermission'](this[_0xef15be(0x1b6)])?this[_0xef15be(0x1b6)]['get'](a[_0xef15be(0x188)])['executeCommand'](e[_0xef15be(0x19b)]['id']):!0x1;}}d[_0x381abf(0x199)][_0x381abf(0x1ad)](S);class f extends d[_0x381abf(0x17c)]{[_0x381abf(0x1a8)](_0x52b368){const _0x54506e=_0x381abf;return e[_0x54506e(0x1a9)](this['_injector'])?this[_0x54506e(0x1b6)][_0x54506e(0x18b)](e[_0x54506e(0x1ac)])[_0x54506e(0x18e)](this['_workbook']['getUnitId'](),this['_worksheet'][_0x54506e(0x18d)](),this[_0x54506e(0x1a5)],_0x52b368==null?void 0x0:_0x52b368[_0x54506e(0x185)]):!0x1;}}d['FRange']['extend'](f);class P{get[_0x381abf(0x19f)](){const _0x443a1b=_0x381abf;return _0x443a1b(0x19f);}get[_0x381abf(0x179)](){const _0x3da034=_0x381abf;return _0x3da034(0x179);}get[_0x381abf(0x183)](){return'BeforeSheetPrintCanceled';}get[_0x381abf(0x1b2)](){const _0xe17e74=_0x381abf;return _0xe17e74(0x1b2);}get['SheetPrintConfirmed'](){const _0x3fb396=_0x381abf;return _0x3fb396(0x196);}get[_0x381abf(0x186)](){const _0x1535fb=_0x381abf;return _0x1535fb(0x186);}}g[_0x381abf(0x1b1)][_0x381abf(0x1ad)](P);class u{get[_0x381abf(0x197)](){return e['PrintArea'];}get['PrintAlign'](){const _0x4f1d10=_0x381abf;return c[_0x4f1d10(0x178)];}get[_0x381abf(0x1ab)](){const _0x587d34=_0x381abf;return a[_0x587d34(0x194)];}get[_0x381abf(0x1b3)](){const _0x3ae256=_0x381abf;return c[_0x3ae256(0x1b3)];}get[_0x381abf(0x1af)](){return c['PrintScale'];}get[_0x381abf(0x1b4)](){const _0x28d2f5=_0x381abf;return c[_0x28d2f5(0x1b4)];}get['PrintFreeze'](){const _0x361daa=_0x381abf;return e[_0x361daa(0x18a)];}get[_0x381abf(0x195)](){return e['PrintHeaderFooter'];}get[_0x381abf(0x193)](){const _0x1cdc25=_0x381abf;return e[_0x1cdc25(0x193)];}}function _0x3368(_0x57f859,_0x31e4c9){_0x57f859=_0x57f859-0x178;const _0x1e7f51=_0x1e7f();let _0x3368b7=_0x1e7f51[_0x57f859];return _0x3368b7;}g['FEnum'][_0x381abf(0x1ad)](u);class l extends g[_0x381abf(0x1a1)]{[_0x381abf(0x1b7)](_0x485df7){const _0x16224d=_0x381abf,_0x1d2888=_0x485df7[_0x16224d(0x18b)](a[_0x16224d(0x188)]);this[_0x16224d(0x187)](this[_0x16224d(0x1a7)](this[_0x16224d(0x17d)][_0x16224d(0x19f)],()=>_0x1d2888[_0x16224d(0x189)](_0x3519dd=>{const _0x575630=_0x16224d;if(_0x3519dd['id']===e['SheetPrintOpenOperation']['id']){const _0x52aece=this['getActiveUniverSheet']();if(!_0x52aece)return;const _0x439543={'workbook':_0x52aece,'worksheet':_0x52aece[_0x575630(0x1b5)]()};if(_0x439543==null)return;if(this[_0x575630(0x1ae)](this['Event'][_0x575630(0x19f)],_0x439543),_0x439543['cancel'])throw new a[(_0x575630(0x190))]();}}))),this[_0x16224d(0x187)](this[_0x16224d(0x1a7)](this['Event'][_0x16224d(0x179)],()=>_0x1d2888['beforeCommandExecuted'](_0x25c65c=>{const _0x3081fd=_0x16224d;if(_0x25c65c['id']===e[_0x3081fd(0x180)]['id']){const _0x37c2b4=_0x485df7[_0x3081fd(0x18b)](e[_0x3081fd(0x18c)]);if(!this['getActiveUniverSheet']())return;const _0xa72b5e={'layoutConfig':_0x37c2b4['layoutConfig'],'renderConfig':_0x37c2b4[_0x3081fd(0x19e)]};if(_0xa72b5e==null)return;if(this[_0x3081fd(0x1ae)](this[_0x3081fd(0x17d)][_0x3081fd(0x179)],_0xa72b5e),_0xa72b5e[_0x3081fd(0x1a4)])throw new a[(_0x3081fd(0x190))]();}}))),this[_0x16224d(0x187)](this[_0x16224d(0x1a7)](this['Event']['BeforeSheetPrintCanceled'],()=>_0x1d2888['beforeCommandExecuted'](_0x2aac9a=>{const _0x310bfc=_0x16224d;if(_0x2aac9a['id']===e[_0x310bfc(0x1aa)]['id']){const _0x27e3c4=_0x485df7[_0x310bfc(0x18b)](e[_0x310bfc(0x18c)]);if(!this[_0x310bfc(0x18f)]())return;const _0x1dd981={'layoutConfig':_0x27e3c4[_0x310bfc(0x17a)],'renderConfig':_0x27e3c4[_0x310bfc(0x19e)]};if(_0x1dd981==null)return;if(this[_0x310bfc(0x1ae)](this['Event'][_0x310bfc(0x183)],_0x1dd981),_0x1dd981[_0x310bfc(0x1a4)])throw new a[(_0x310bfc(0x190))]();}}))),this['disposeWithMe'](this[_0x16224d(0x1a7)](this[_0x16224d(0x17d)][_0x16224d(0x1b2)],()=>_0x1d2888['onCommandExecuted'](_0x3b8525=>{const _0x319bfd=_0x16224d;if(_0x3b8525['id']===e['SheetPrintOpenOperation']['id']){const _0x2a854e=this[_0x319bfd(0x18f)]();if(!_0x2a854e)return;const _0xd23345={'workbook':_0x2a854e,'worksheet':_0x2a854e[_0x319bfd(0x1b5)]()};if(_0xd23345==null)return;this[_0x319bfd(0x1ae)](this[_0x319bfd(0x17d)][_0x319bfd(0x1b2)],_0xd23345);}}))),this[_0x16224d(0x187)](this[_0x16224d(0x1a7)](this[_0x16224d(0x17d)][_0x16224d(0x196)],()=>_0x1d2888[_0x16224d(0x1a6)](_0x1034cb=>{const _0x4b7722=_0x16224d;if(_0x1034cb['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2d3c3a=_0x485df7[_0x4b7722(0x18b)](e['ISheetPrintManagerService']);if(!this[_0x4b7722(0x18f)]())return;const _0x3f1840={'layoutConfig':_0x2d3c3a[_0x4b7722(0x17a)],'renderConfig':_0x2d3c3a[_0x4b7722(0x19e)]};if(_0x3f1840==null)return;this['fireEvent'](this[_0x4b7722(0x17d)][_0x4b7722(0x196)],_0x3f1840);}}))),this[_0x16224d(0x187)](this[_0x16224d(0x1a7)](this[_0x16224d(0x17d)][_0x16224d(0x186)],()=>_0x1d2888['onCommandExecuted'](_0x246a94=>{const _0x18e7e9=_0x16224d;if(_0x246a94['id']===e[_0x18e7e9(0x1aa)]['id']){const _0x58ca5e=_0x485df7[_0x18e7e9(0x18b)](e['ISheetPrintManagerService']);if(!this[_0x18e7e9(0x18f)]())return;const _0x63bc78={'layoutConfig':_0x58ca5e['layoutConfig'],'renderConfig':_0x58ca5e['renderConfig']};if(_0x63bc78==null)return;this['fireEvent'](this[_0x18e7e9(0x17d)][_0x18e7e9(0x186)],_0x63bc78);}})));}}function _0x1e7f(){const _0x2506b3=['221011AQAHuq','PrintHeaderFooterSymbol','PaperType','PrintHeaderFooter','SheetPrintConfirmed','PrintArea','6285070BVQBTo','FWorkbook','1043697NAkkev','SheetScreenShotOperation','updatePrintRenderConfig','156976hwoMKo','renderConfig','BeforeSheetPrintOpen','4009470QtOSYL','FUniver','695034YDVuXo','2FgFbnS','cancel','_range','onCommandExecuted','registerEventHandler','getScreenshot','hasPrintFacadePermission','CancelSheetPrintOperation','PrintPaperSize','SheetPrintClientService','extend','fireEvent','PrintScale','6kFCCPy','FEventName','SheetPrintOpen','PrintPaperMargin','PrintDirection','getActiveSheet','_injector','_initialize','updatePrintConfig','PrintAlign','BeforeSheetPrintConfirm','layoutConfig','print','FRange','Event','91qSWeKu','syncExecuteCommand','ConfirmSheetPrintOperation','updateLayoutConfig','closePrintDialog','BeforeSheetPrintCanceled','689965uSjFqX','includeHeaders','SheetPrintCanceled','disposeWithMe','ICommandService','beforeCommandExecuted','PrintFreeze','get','ISheetPrintManagerService','getSheetId','getRangeImage','getActiveUniverSheet','CanceledError','4sApRNx'];_0x1e7f=function(){return _0x2506b3;};return _0x1e7f();}g[_0x381abf(0x1a1)]['extend'](l);
|