@univerjs-pro/sheets-print 0.10.0 → 0.10.1
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 +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/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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x9c21(){const _0xf4a8a3=['SheetPrintConfirmed','ISheetPrintManagerService','_range','SheetPrintOpen','_workbook','PrintPaperSize','get','CanceledError','extend','syncExecuteCommand','PrintArea','SheetScreenShotOperation','onCommandExecuted','22866iDtvRK','CancelSheetPrintOperation','executeCommand','99OauKpC','166869lWJNxe','getSheetId','_injector','BeforeSheetPrintCanceled','saveScreenshotToClipboard','PrintAlign','PaperType','2DawsCW','BeforeSheetPrintConfirm','renderConfig','cancel','updatePrintRenderConfig','ConfirmSheetPrintOperation','getActiveSheet','ICommandService','133gIYqbo','78184TZdEIf','getScreenshot','PrintHeaderFooter','hasPrintFacadePermission','FEventName','PrintDirection','4760eZOnwb','updatePrintConfig','7634pMipyN','getActiveUniverSheet','fireEvent','338340tUuynF','updateLayoutConfig','272340pJcklk','SheetPrintCanceled','openPrintDialog','PrintHeaderFooterSymbol','FRange','Event','closePrintDialog','FUniver','BeforeSheetPrintOpen','updateRenderConfig','PrintFreeze','getRangeImage','120268IYhJUq','FEnum','SheetPrintOpenOperation','registerEventHandler','SheetPrintClientService','layoutConfig','beforeCommandExecuted'];_0x9c21=function(){return _0xf4a8a3;};return _0x9c21();}function _0x57e6(_0x5e4bb0,_0x454113){const _0x9c2101=_0x9c21();return _0x57e6=function(_0x57e672,_0x58b622){_0x57e672=_0x57e672-0x10d;let _0x4e4098=_0x9c2101[_0x57e672];return _0x4e4098;},_0x57e6(_0x5e4bb0,_0x454113);}const _0x8a34c1=_0x57e6;(function(_0x31cc2b,_0x468b8c){const _0x553d67=_0x57e6,_0x4645db=_0x31cc2b();while(!![]){try{const _0x3d910e=-parseInt(_0x553d67(0x133))/0x1+parseInt(_0x553d67(0x111))/0x2*(-parseInt(_0x553d67(0x14b))/0x3)+parseInt(_0x553d67(0x125))/0x4+parseInt(_0x553d67(0x127))/0x5+-parseInt(_0x553d67(0x147))/0x6*(parseInt(_0x553d67(0x119))/0x7)+parseInt(_0x553d67(0x11a))/0x8*(-parseInt(_0x553d67(0x14a))/0x9)+parseInt(_0x553d67(0x120))/0xa*(parseInt(_0x553d67(0x122))/0xb);if(_0x3d910e===_0x468b8c)break;else _0x4645db['push'](_0x4645db['shift']());}catch(_0xcd46d6){_0x4645db['push'](_0x4645db['shift']());}}}(_0x9c21,0x1bbba));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['FWorkbook']{[_0x8a34c1(0x121)](_0x188f2a){const _0x3bcb89=_0x8a34c1;return this['_injector'][_0x3bcb89(0x140)](e[_0x3bcb89(0x13b)])[_0x3bcb89(0x126)](_0x188f2a),this;}[_0x8a34c1(0x115)](_0x7d7a2d){const _0x4b9f45=_0x8a34c1;return this[_0x4b9f45(0x14d)]['get'](e['ISheetPrintManagerService'])[_0x4b9f45(0x130)](_0x7d7a2d),this;}['print'](){const _0x32f11a=_0x8a34c1;return this[_0x32f11a(0x14d)][_0x32f11a(0x140)](a[_0x32f11a(0x118)])[_0x32f11a(0x143)](e[_0x32f11a(0x116)]['id']);}[_0x8a34c1(0x129)](){const _0x244196=_0x8a34c1;return this[_0x244196(0x14d)][_0x244196(0x140)](a[_0x244196(0x118)])['syncExecuteCommand'](e[_0x244196(0x135)]['id']);}[_0x8a34c1(0x12d)](){const _0x2e8a0d=_0x8a34c1;return this[_0x2e8a0d(0x14d)][_0x2e8a0d(0x140)](a[_0x2e8a0d(0x118)])[_0x2e8a0d(0x143)](e[_0x2e8a0d(0x148)]['id']);}async[_0x8a34c1(0x10e)](){const _0x2ebd72=_0x8a34c1;return e[_0x2ebd72(0x11d)](this[_0x2ebd72(0x14d)])?this[_0x2ebd72(0x14d)][_0x2ebd72(0x140)](a[_0x2ebd72(0x118)])[_0x2ebd72(0x149)](e[_0x2ebd72(0x145)]['id']):!0x1;}}d['FWorkbook'][_0x8a34c1(0x142)](S);class f extends d[_0x8a34c1(0x12b)]{[_0x8a34c1(0x11b)](){const _0x5a0099=_0x8a34c1;return e[_0x5a0099(0x11d)](this[_0x5a0099(0x14d)])?this[_0x5a0099(0x14d)][_0x5a0099(0x140)](e[_0x5a0099(0x137)])[_0x5a0099(0x132)](this[_0x5a0099(0x13e)]['getUnitId'](),this['_worksheet'][_0x5a0099(0x14c)](),this[_0x5a0099(0x13c)]):!0x1;}}d[_0x8a34c1(0x12b)][_0x8a34c1(0x142)](f);class P{get[_0x8a34c1(0x12f)](){const _0x30aefd=_0x8a34c1;return _0x30aefd(0x12f);}get[_0x8a34c1(0x112)](){const _0x317668=_0x8a34c1;return _0x317668(0x112);}get[_0x8a34c1(0x10d)](){const _0x66194a=_0x8a34c1;return _0x66194a(0x10d);}get[_0x8a34c1(0x13d)](){return'SheetPrintOpen';}get[_0x8a34c1(0x13a)](){const _0x4a484f=_0x8a34c1;return _0x4a484f(0x13a);}get['SheetPrintCanceled'](){return'SheetPrintCanceled';}}g[_0x8a34c1(0x11e)]['extend'](P);class u{get[_0x8a34c1(0x144)](){const _0x107a81=_0x8a34c1;return e[_0x107a81(0x144)];}get[_0x8a34c1(0x10f)](){const _0x1662ff=_0x8a34c1;return c[_0x1662ff(0x10f)];}get[_0x8a34c1(0x13f)](){const _0x4d0c56=_0x8a34c1;return a[_0x4d0c56(0x110)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get['PrintScale'](){return c['PrintScale'];}get['PrintDirection'](){const _0x7bd6e3=_0x8a34c1;return c[_0x7bd6e3(0x11f)];}get[_0x8a34c1(0x131)](){const _0x5cb68b=_0x8a34c1;return e[_0x5cb68b(0x131)];}get[_0x8a34c1(0x11c)](){const _0x1f750b=_0x8a34c1;return e[_0x1f750b(0x11c)];}get['PrintHeaderFooterSymbol'](){const _0x494467=_0x8a34c1;return e[_0x494467(0x12a)];}}g[_0x8a34c1(0x134)]['extend'](u);class l extends g['FUniver']{['_initialize'](_0x1e51a3){const _0x18590e=_0x8a34c1,_0x1bc1cf=_0x1e51a3[_0x18590e(0x140)](a[_0x18590e(0x118)]);this[_0x18590e(0x136)](this[_0x18590e(0x12c)][_0x18590e(0x12f)],()=>_0x1bc1cf[_0x18590e(0x139)](_0x4f2a08=>{const _0x58a266=_0x18590e;if(_0x4f2a08['id']===e[_0x58a266(0x135)]['id']){const _0x1ad51b=this[_0x58a266(0x123)]();if(!_0x1ad51b)return;const _0x215dd2={'workbook':_0x1ad51b,'worksheet':_0x1ad51b[_0x58a266(0x117)]()};if(_0x215dd2==null)return;if(this[_0x58a266(0x124)](this[_0x58a266(0x12c)][_0x58a266(0x12f)],_0x215dd2),_0x215dd2[_0x58a266(0x114)])throw new a['CanceledError']();}})),this[_0x18590e(0x136)](this[_0x18590e(0x12c)][_0x18590e(0x112)],()=>_0x1bc1cf[_0x18590e(0x139)](_0x4ff6c1=>{const _0x3c834c=_0x18590e;if(_0x4ff6c1['id']===e[_0x3c834c(0x116)]['id']){const _0x36e264=_0x1e51a3['get'](e[_0x3c834c(0x13b)]);if(!this[_0x3c834c(0x123)]())return;const _0x570bbf={'layoutConfig':_0x36e264[_0x3c834c(0x138)],'renderConfig':_0x36e264[_0x3c834c(0x113)]};if(_0x570bbf==null)return;if(this['fireEvent'](this[_0x3c834c(0x12c)][_0x3c834c(0x112)],_0x570bbf),_0x570bbf[_0x3c834c(0x114)])throw new a['CanceledError']();}})),this['registerEventHandler'](this[_0x18590e(0x12c)][_0x18590e(0x10d)],()=>_0x1bc1cf['beforeCommandExecuted'](_0x44420c=>{const _0x5ab4ef=_0x18590e;if(_0x44420c['id']===e[_0x5ab4ef(0x148)]['id']){const _0x39a669=_0x1e51a3[_0x5ab4ef(0x140)](e[_0x5ab4ef(0x13b)]);if(!this[_0x5ab4ef(0x123)]())return;const _0x4a2461={'layoutConfig':_0x39a669[_0x5ab4ef(0x138)],'renderConfig':_0x39a669[_0x5ab4ef(0x113)]};if(_0x4a2461==null)return;if(this['fireEvent'](this[_0x5ab4ef(0x12c)][_0x5ab4ef(0x10d)],_0x4a2461),_0x4a2461['cancel'])throw new a[(_0x5ab4ef(0x141))]();}})),this[_0x18590e(0x136)](this['Event'][_0x18590e(0x13d)],()=>_0x1bc1cf['onCommandExecuted'](_0x39eae3=>{const _0x50ad22=_0x18590e;if(_0x39eae3['id']===e[_0x50ad22(0x135)]['id']){const _0x2e353d=this[_0x50ad22(0x123)]();if(!_0x2e353d)return;const _0x2e328c={'workbook':_0x2e353d,'worksheet':_0x2e353d['getActiveSheet']()};if(_0x2e328c==null)return;this[_0x50ad22(0x124)](this[_0x50ad22(0x12c)]['SheetPrintOpen'],_0x2e328c);}})),this['registerEventHandler'](this['Event'][_0x18590e(0x13a)],()=>_0x1bc1cf[_0x18590e(0x146)](_0x5c1ae3=>{const _0xf4244e=_0x18590e;if(_0x5c1ae3['id']===e[_0xf4244e(0x116)]['id']){const _0x398afe=_0x1e51a3[_0xf4244e(0x140)](e[_0xf4244e(0x13b)]);if(!this[_0xf4244e(0x123)]())return;const _0x5898d7={'layoutConfig':_0x398afe['layoutConfig'],'renderConfig':_0x398afe[_0xf4244e(0x113)]};if(_0x5898d7==null)return;this[_0xf4244e(0x124)](this[_0xf4244e(0x12c)][_0xf4244e(0x13a)],_0x5898d7);}})),this[_0x18590e(0x136)](this['Event']['SheetPrintCanceled'],()=>_0x1bc1cf[_0x18590e(0x146)](_0xed8b54=>{const _0x240e93=_0x18590e;if(_0xed8b54['id']===e[_0x240e93(0x148)]['id']){const _0x4eb6ec=_0x1e51a3['get'](e[_0x240e93(0x13b)]);if(!this['getActiveUniverSheet']())return;const _0x2e40e5={'layoutConfig':_0x4eb6ec[_0x240e93(0x138)],'renderConfig':_0x4eb6ec[_0x240e93(0x113)]};if(_0x2e40e5==null)return;this[_0x240e93(0x124)](this[_0x240e93(0x12c)][_0x240e93(0x128)],_0x2e40e5);}}));}}g[_0x8a34c1(0x12e)]['extend'](l);
|