@univerjs-pro/sheets-print 0.8.2-nightly.202506211606 → 0.8.2-nightly.202506231607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +41 -41
- 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/en-US.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/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 +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3da93f=_0x3ae6;(function(_0x3f0d57,_0x23c172){const _0x59e8e1=_0x3ae6,_0x423419=_0x3f0d57();while(!![]){try{const _0x425889=parseInt(_0x59e8e1(0x1b3))/0x1+-parseInt(_0x59e8e1(0x1cd))/0x2*(-parseInt(_0x59e8e1(0x1f1))/0x3)+parseInt(_0x59e8e1(0x1bf))/0x4*(parseInt(_0x59e8e1(0x1ec))/0x5)+parseInt(_0x59e8e1(0x1d5))/0x6*(parseInt(_0x59e8e1(0x1c6))/0x7)+-parseInt(_0x59e8e1(0x1b7))/0x8*(-parseInt(_0x59e8e1(0x1ce))/0x9)+-parseInt(_0x59e8e1(0x1ba))/0xa+-parseInt(_0x59e8e1(0x1ee))/0xb;if(_0x425889===_0x23c172)break;else _0x423419['push'](_0x423419['shift']());}catch(_0x103112){_0x423419['push'](_0x423419['shift']());}}}(_0x276e,0x8de13));const e=require(_0x3da93f(0x1dd)),a=require(_0x3da93f(0x1ca)),d=require(_0x3da93f(0x1f0)),g=require('@univerjs/core/facade'),c=require(_0x3da93f(0x1e0));class S extends d[_0x3da93f(0x1f2)]{[_0x3da93f(0x1e9)](_0x4159eb){const _0x526a77=_0x3da93f;return this['_injector']['get'](e[_0x526a77(0x1d9)])[_0x526a77(0x1f6)](_0x4159eb),this;}[_0x3da93f(0x1b4)](_0x39d55f){const _0x136d51=_0x3da93f;return this[_0x136d51(0x1eb)][_0x136d51(0x1c5)](e[_0x136d51(0x1d9)])[_0x136d51(0x1e6)](_0x39d55f),this;}[_0x3da93f(0x1d3)](){const _0x46e654=_0x3da93f;return this[_0x46e654(0x1eb)][_0x46e654(0x1c5)](a[_0x46e654(0x1dc)])[_0x46e654(0x1d4)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x208022=_0x3da93f;return this['_injector'][_0x208022(0x1c5)](a[_0x208022(0x1dc)])[_0x208022(0x1d4)](e[_0x208022(0x1c9)]['id']);}[_0x3da93f(0x1c7)](){const _0x21d50d=_0x3da93f;return this[_0x21d50d(0x1eb)][_0x21d50d(0x1c5)](a['ICommandService'])[_0x21d50d(0x1d4)](e[_0x21d50d(0x1ed)]['id']);}async['saveScreenshotToClipboard'](){const _0x5330fd=_0x3da93f;return e['hasPrintFacadePermission'](this[_0x5330fd(0x1eb)])?this[_0x5330fd(0x1eb)]['get'](a[_0x5330fd(0x1dc)])[_0x5330fd(0x1bc)](e['SheetScreenShotOperation']['id']):!0x1;}}function _0x276e(){const _0x308818=['getSheetId','FUniver','14284mLTQMB','3249ypoJNU','getUnitId','BeforeSheetPrintConfirm','getActiveUniverSheet','_initialize','print','syncExecuteCommand','12HlsvqK','SheetPrintClientService','PrintFreeze','PrintHeaderFooter','ISheetPrintManagerService','_worksheet','hasPrintFacadePermission','ICommandService','@univerjs-pro/sheets-print','PrintAlign','BeforeSheetPrintCanceled','@univerjs-pro/print','getScreenshot','cancel','PrintArea','PrintDirection','ConfirmSheetPrintOperation','updateRenderConfig','PrintHeaderFooterSymbol','BeforeSheetPrintOpen','updatePrintConfig','PaperType','_injector','2603505XSKzdp','CancelSheetPrintOperation','19812364mMEPjS','SheetPrintCanceled','@univerjs/sheets/facade','237MgdXjQ','FWorkbook','PrintPaperMargin','PrintPaperSize','CanceledError','updateLayoutConfig','450564IiIPSX','updatePrintRenderConfig','registerEventHandler','Event','12152kqMVVn','SheetPrintConfirmed','FRange','2697580KErflk','getActiveSheet','executeCommand','_workbook','extend','8OsKcYU','beforeCommandExecuted','fireEvent','layoutConfig','renderConfig','PrintScale','get','166173RnkbNj','closePrintDialog','SheetPrintOpen','SheetPrintOpenOperation','@univerjs/core'];_0x276e=function(){return _0x308818;};return _0x276e();}d[_0x3da93f(0x1f2)][_0x3da93f(0x1be)](S);class f extends d[_0x3da93f(0x1b9)]{[_0x3da93f(0x1e1)](){const _0x5a546c=_0x3da93f;return e[_0x5a546c(0x1db)](this[_0x5a546c(0x1eb)])?this[_0x5a546c(0x1eb)][_0x5a546c(0x1c5)](e[_0x5a546c(0x1d6)])['getRangeImage'](this[_0x5a546c(0x1bd)][_0x5a546c(0x1cf)](),this[_0x5a546c(0x1da)][_0x5a546c(0x1cb)](),this['_range']):!0x1;}}d[_0x3da93f(0x1b9)][_0x3da93f(0x1be)](f);class P{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x3da93f(0x1d0)](){return'BeforeSheetPrintConfirm';}get[_0x3da93f(0x1df)](){const _0x5705e0=_0x3da93f;return _0x5705e0(0x1df);}get['SheetPrintOpen'](){const _0x3cc6db=_0x3da93f;return _0x3cc6db(0x1c8);}get[_0x3da93f(0x1b8)](){const _0x304bad=_0x3da93f;return _0x304bad(0x1b8);}get[_0x3da93f(0x1ef)](){const _0x73b650=_0x3da93f;return _0x73b650(0x1ef);}}function _0x3ae6(_0x4ccb54,_0x30ce9a){const _0x276eeb=_0x276e();return _0x3ae6=function(_0x3ae615,_0x1c5719){_0x3ae615=_0x3ae615-0x1b3;let _0x156334=_0x276eeb[_0x3ae615];return _0x156334;},_0x3ae6(_0x4ccb54,_0x30ce9a);}g['FEventName'][_0x3da93f(0x1be)](P);class u{get[_0x3da93f(0x1e3)](){const _0x43e767=_0x3da93f;return e[_0x43e767(0x1e3)];}get[_0x3da93f(0x1de)](){const _0x3a44e5=_0x3da93f;return c[_0x3a44e5(0x1de)];}get[_0x3da93f(0x1f4)](){const _0x11e006=_0x3da93f;return a[_0x11e006(0x1ea)];}get[_0x3da93f(0x1f3)](){const _0x1728ff=_0x3da93f;return c[_0x1728ff(0x1f3)];}get[_0x3da93f(0x1c4)](){const _0x1dd894=_0x3da93f;return c[_0x1dd894(0x1c4)];}get[_0x3da93f(0x1e4)](){const _0x33e98a=_0x3da93f;return c[_0x33e98a(0x1e4)];}get[_0x3da93f(0x1d7)](){const _0x4556cb=_0x3da93f;return e[_0x4556cb(0x1d7)];}get[_0x3da93f(0x1d8)](){const _0x44aad6=_0x3da93f;return e[_0x44aad6(0x1d8)];}get[_0x3da93f(0x1e7)](){const _0x279d00=_0x3da93f;return e[_0x279d00(0x1e7)];}}g['FEnum'][_0x3da93f(0x1be)](u);class l extends g['FUniver']{[_0x3da93f(0x1d2)](_0x63cc1){const _0x36b8ca=_0x3da93f,_0x5b2e20=_0x63cc1[_0x36b8ca(0x1c5)](a[_0x36b8ca(0x1dc)]);this['registerEventHandler'](this[_0x36b8ca(0x1b6)][_0x36b8ca(0x1e8)],()=>_0x5b2e20[_0x36b8ca(0x1c0)](_0x271cbe=>{const _0x3feed8=_0x36b8ca;if(_0x271cbe['id']===e[_0x3feed8(0x1c9)]['id']){const _0x4bc8a4=this[_0x3feed8(0x1d1)]();if(!_0x4bc8a4)return;const _0x21fdfc={'workbook':_0x4bc8a4,'worksheet':_0x4bc8a4[_0x3feed8(0x1bb)]()};if(_0x21fdfc==null)return;if(this[_0x3feed8(0x1c1)](this['Event']['BeforeSheetPrintOpen'],_0x21fdfc),_0x21fdfc[_0x3feed8(0x1e2)])throw new a[(_0x3feed8(0x1f5))]();}})),this[_0x36b8ca(0x1b5)](this[_0x36b8ca(0x1b6)][_0x36b8ca(0x1d0)],()=>_0x5b2e20['beforeCommandExecuted'](_0x55e692=>{const _0x1554ac=_0x36b8ca;if(_0x55e692['id']===e['ConfirmSheetPrintOperation']['id']){const _0x29c5ad=_0x63cc1[_0x1554ac(0x1c5)](e[_0x1554ac(0x1d9)]);if(!this[_0x1554ac(0x1d1)]())return;const _0x44ccee={'layoutConfig':_0x29c5ad['layoutConfig'],'renderConfig':_0x29c5ad[_0x1554ac(0x1c3)]};if(_0x44ccee==null)return;if(this[_0x1554ac(0x1c1)](this[_0x1554ac(0x1b6)][_0x1554ac(0x1d0)],_0x44ccee),_0x44ccee[_0x1554ac(0x1e2)])throw new a[(_0x1554ac(0x1f5))]();}})),this[_0x36b8ca(0x1b5)](this[_0x36b8ca(0x1b6)]['BeforeSheetPrintCanceled'],()=>_0x5b2e20[_0x36b8ca(0x1c0)](_0x5a3836=>{const _0x391bb3=_0x36b8ca;if(_0x5a3836['id']===e[_0x391bb3(0x1ed)]['id']){const _0x279a19=_0x63cc1[_0x391bb3(0x1c5)](e[_0x391bb3(0x1d9)]);if(!this[_0x391bb3(0x1d1)]())return;const _0x2fcdb5={'layoutConfig':_0x279a19[_0x391bb3(0x1c2)],'renderConfig':_0x279a19['renderConfig']};if(_0x2fcdb5==null)return;if(this[_0x391bb3(0x1c1)](this['Event']['BeforeSheetPrintCanceled'],_0x2fcdb5),_0x2fcdb5['cancel'])throw new a[(_0x391bb3(0x1f5))]();}})),this[_0x36b8ca(0x1b5)](this[_0x36b8ca(0x1b6)][_0x36b8ca(0x1c8)],()=>_0x5b2e20['onCommandExecuted'](_0x6694e=>{const _0x125a99=_0x36b8ca;if(_0x6694e['id']===e[_0x125a99(0x1c9)]['id']){const _0x56c746=this['getActiveUniverSheet']();if(!_0x56c746)return;const _0xb9249={'workbook':_0x56c746,'worksheet':_0x56c746[_0x125a99(0x1bb)]()};if(_0xb9249==null)return;this[_0x125a99(0x1c1)](this[_0x125a99(0x1b6)][_0x125a99(0x1c8)],_0xb9249);}})),this[_0x36b8ca(0x1b5)](this['Event']['SheetPrintConfirmed'],()=>_0x5b2e20['onCommandExecuted'](_0x57d2ee=>{const _0x18eac8=_0x36b8ca;if(_0x57d2ee['id']===e[_0x18eac8(0x1e5)]['id']){const _0x11f3ef=_0x63cc1['get'](e[_0x18eac8(0x1d9)]);if(!this['getActiveUniverSheet']())return;const _0x266846={'layoutConfig':_0x11f3ef[_0x18eac8(0x1c2)],'renderConfig':_0x11f3ef[_0x18eac8(0x1c3)]};if(_0x266846==null)return;this[_0x18eac8(0x1c1)](this['Event']['SheetPrintConfirmed'],_0x266846);}})),this[_0x36b8ca(0x1b5)](this[_0x36b8ca(0x1b6)][_0x36b8ca(0x1ef)],()=>_0x5b2e20['onCommandExecuted'](_0x43b641=>{const _0x47c3e9=_0x36b8ca;if(_0x43b641['id']===e['CancelSheetPrintOperation']['id']){const _0x2178be=_0x63cc1[_0x47c3e9(0x1c5)](e[_0x47c3e9(0x1d9)]);if(!this[_0x47c3e9(0x1d1)]())return;const _0x53d7b2={'layoutConfig':_0x2178be[_0x47c3e9(0x1c2)],'renderConfig':_0x2178be['renderConfig']};if(_0x53d7b2==null)return;this['fireEvent'](this[_0x47c3e9(0x1b6)][_0x47c3e9(0x1ef)],_0x53d7b2);}}));}}g[_0x3da93f(0x1cc)][_0x3da93f(0x1be)](l);
|