@univerjs-pro/sheets-print 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618
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 +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x48c2bc=_0x4206;(function(_0x5d6d30,_0x347d87){const _0x3b2e1c=_0x4206,_0x41e4ee=_0x5d6d30();while(!![]){try{const _0x3b4a38=-parseInt(_0x3b2e1c(0x98))/0x1+-parseInt(_0x3b2e1c(0x94))/0x2*(-parseInt(_0x3b2e1c(0x6c))/0x3)+parseInt(_0x3b2e1c(0x8f))/0x4+-parseInt(_0x3b2e1c(0x6d))/0x5*(-parseInt(_0x3b2e1c(0x6e))/0x6)+parseInt(_0x3b2e1c(0x75))/0x7+-parseInt(_0x3b2e1c(0x86))/0x8*(-parseInt(_0x3b2e1c(0x70))/0x9)+-parseInt(_0x3b2e1c(0x7b))/0xa*(parseInt(_0x3b2e1c(0x71))/0xb);if(_0x3b4a38===_0x347d87)break;else _0x41e4ee['push'](_0x41e4ee['shift']());}catch(_0x4a5c50){_0x41e4ee['push'](_0x41e4ee['shift']());}}}(_0x26a1,0x5a90b));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[_0x48c2bc(0x7d)]{['updatePrintConfig'](_0x2d158d){const _0xcb5059=_0x48c2bc;return this[_0xcb5059(0x7c)][_0xcb5059(0xaa)](e['ISheetPrintManagerService'])[_0xcb5059(0x74)](_0x2d158d),this;}[_0x48c2bc(0x99)](_0x4b1456){const _0x5c033b=_0x48c2bc;return this[_0x5c033b(0x7c)]['get'](e[_0x5c033b(0xa9)])[_0x5c033b(0x76)](_0x4b1456),this;}[_0x48c2bc(0xa4)](){const _0xa78d19=_0x48c2bc;return this[_0xa78d19(0x7c)]['get'](a['ICommandService'])[_0xa78d19(0xa7)](e[_0xa78d19(0x9b)]['id']);}[_0x48c2bc(0x81)](){const _0x463870=_0x48c2bc;return this[_0x463870(0x7c)][_0x463870(0xaa)](a[_0x463870(0x6b)])[_0x463870(0xa7)](e[_0x463870(0x87)]['id']);}[_0x48c2bc(0x69)](){const _0x1ce797=_0x48c2bc;return this[_0x1ce797(0x7c)][_0x1ce797(0xaa)](a[_0x1ce797(0x6b)])[_0x1ce797(0xa7)](e['CancelSheetPrintOperation']['id']);}async['saveScreenshotToClipboard'](){const _0x51f482=_0x48c2bc;return e['hasPrintFacadePermission'](this[_0x51f482(0x7c)])?this['_injector'][_0x51f482(0xaa)](a['ICommandService'])[_0x51f482(0xa1)](e[_0x51f482(0x84)]['id']):!0x1;}}d['FWorkbook'][_0x48c2bc(0x90)](S);class f extends d['FRange']{[_0x48c2bc(0x68)](){const _0x51fd8d=_0x48c2bc;return e[_0x51fd8d(0xa6)](this[_0x51fd8d(0x7c)])?this[_0x51fd8d(0x7c)]['get'](e[_0x51fd8d(0x73)])[_0x51fd8d(0x9a)](this['_workbook'][_0x51fd8d(0x93)](),this[_0x51fd8d(0x95)][_0x51fd8d(0x6a)](),this[_0x51fd8d(0x82)]):!0x1;}}function _0x26a1(){const _0x3cec6d=['1446YYaaux','layoutConfig','606438QEmYXM','7611549xrMOzN','CanceledError','SheetPrintClientService','updateLayoutConfig','2303070srqkSa','updateRenderConfig','PrintFreeze','FEventName','SheetPrintOpen','PrintHeaderFooter','20lgURFs','_injector','FWorkbook','beforeCommandExecuted','fireEvent','PaperType','openPrintDialog','_range','FUniver','SheetScreenShotOperation','registerEventHandler','80sbbVLK','SheetPrintOpenOperation','SheetPrintConfirmed','getActiveSheet','BeforeSheetPrintCanceled','_initialize','Event','BeforeSheetPrintConfirm','cancel','669264aObsdr','extend','getActiveUniverSheet','onCommandExecuted','getUnitId','2ZrBBGU','_worksheet','FEnum','PrintScale','251504NikxRr','updatePrintRenderConfig','getRangeImage','ConfirmSheetPrintOperation','PrintAlign','PrintHeaderFooterSymbol','BeforeSheetPrintOpen','SheetPrintCanceled','renderConfig','executeCommand','CancelSheetPrintOperation','PrintDirection','print','PrintPaperMargin','hasPrintFacadePermission','syncExecuteCommand','PrintArea','ISheetPrintManagerService','get','getScreenshot','closePrintDialog','getSheetId','ICommandService','803859wTWGFI','11790vnUBZA'];_0x26a1=function(){return _0x3cec6d;};return _0x26a1();}d['FRange'][_0x48c2bc(0x90)](f);class P{get[_0x48c2bc(0x9e)](){const _0x1dea4a=_0x48c2bc;return _0x1dea4a(0x9e);}get[_0x48c2bc(0x8d)](){const _0x52c74c=_0x48c2bc;return _0x52c74c(0x8d);}get[_0x48c2bc(0x8a)](){return'BeforeSheetPrintCanceled';}get[_0x48c2bc(0x79)](){const _0x15730e=_0x48c2bc;return _0x15730e(0x79);}get[_0x48c2bc(0x88)](){const _0x30ab2d=_0x48c2bc;return _0x30ab2d(0x88);}get[_0x48c2bc(0x9f)](){return'SheetPrintCanceled';}}function _0x4206(_0x337f5e,_0x292986){const _0x26a17a=_0x26a1();return _0x4206=function(_0x4206cc,_0x12a1a){_0x4206cc=_0x4206cc-0x68;let _0x227b08=_0x26a17a[_0x4206cc];return _0x227b08;},_0x4206(_0x337f5e,_0x292986);}g[_0x48c2bc(0x78)][_0x48c2bc(0x90)](P);class u{get[_0x48c2bc(0xa8)](){const _0x4c26d4=_0x48c2bc;return e[_0x4c26d4(0xa8)];}get[_0x48c2bc(0x9c)](){const _0x3b282e=_0x48c2bc;return c[_0x3b282e(0x9c)];}get['PrintPaperSize'](){const _0x591824=_0x48c2bc;return a[_0x591824(0x80)];}get['PrintPaperMargin'](){const _0x1ad8d5=_0x48c2bc;return c[_0x1ad8d5(0xa5)];}get[_0x48c2bc(0x97)](){const _0x244a22=_0x48c2bc;return c[_0x244a22(0x97)];}get[_0x48c2bc(0xa3)](){return c['PrintDirection'];}get[_0x48c2bc(0x77)](){const _0x5327ab=_0x48c2bc;return e[_0x5327ab(0x77)];}get[_0x48c2bc(0x7a)](){const _0x1bdb7f=_0x48c2bc;return e[_0x1bdb7f(0x7a)];}get[_0x48c2bc(0x9d)](){const _0x5e2452=_0x48c2bc;return e[_0x5e2452(0x9d)];}}g[_0x48c2bc(0x96)][_0x48c2bc(0x90)](u);class l extends g[_0x48c2bc(0x83)]{[_0x48c2bc(0x8b)](_0x5d2fbc){const _0x2552fc=_0x48c2bc,_0xbd7018=_0x5d2fbc['get'](a[_0x2552fc(0x6b)]);this[_0x2552fc(0x85)](this[_0x2552fc(0x8c)][_0x2552fc(0x9e)],()=>_0xbd7018[_0x2552fc(0x7e)](_0x5bd3aa=>{const _0x4b7db8=_0x2552fc;if(_0x5bd3aa['id']===e[_0x4b7db8(0x87)]['id']){const _0x769b6c=this[_0x4b7db8(0x91)]();if(!_0x769b6c)return;const _0x1e3a86={'workbook':_0x769b6c,'worksheet':_0x769b6c[_0x4b7db8(0x89)]()};if(_0x1e3a86==null)return;if(this[_0x4b7db8(0x7f)](this[_0x4b7db8(0x8c)][_0x4b7db8(0x9e)],_0x1e3a86),_0x1e3a86[_0x4b7db8(0x8e)])throw new a['CanceledError']();}})),this[_0x2552fc(0x85)](this[_0x2552fc(0x8c)][_0x2552fc(0x8d)],()=>_0xbd7018[_0x2552fc(0x7e)](_0xf578ba=>{const _0x1301d1=_0x2552fc;if(_0xf578ba['id']===e[_0x1301d1(0x9b)]['id']){const _0x4217e2=_0x5d2fbc[_0x1301d1(0xaa)](e[_0x1301d1(0xa9)]);if(!this['getActiveUniverSheet']())return;const _0x1acaa7={'layoutConfig':_0x4217e2[_0x1301d1(0x6f)],'renderConfig':_0x4217e2[_0x1301d1(0xa0)]};if(_0x1acaa7==null)return;if(this[_0x1301d1(0x7f)](this[_0x1301d1(0x8c)][_0x1301d1(0x8d)],_0x1acaa7),_0x1acaa7['cancel'])throw new a[(_0x1301d1(0x72))]();}})),this[_0x2552fc(0x85)](this['Event'][_0x2552fc(0x8a)],()=>_0xbd7018['beforeCommandExecuted'](_0x26d26c=>{const _0x391611=_0x2552fc;if(_0x26d26c['id']===e[_0x391611(0xa2)]['id']){const _0x446ff4=_0x5d2fbc[_0x391611(0xaa)](e[_0x391611(0xa9)]);if(!this[_0x391611(0x91)]())return;const _0x55da95={'layoutConfig':_0x446ff4[_0x391611(0x6f)],'renderConfig':_0x446ff4[_0x391611(0xa0)]};if(_0x55da95==null)return;if(this[_0x391611(0x7f)](this[_0x391611(0x8c)][_0x391611(0x8a)],_0x55da95),_0x55da95[_0x391611(0x8e)])throw new a[(_0x391611(0x72))]();}})),this[_0x2552fc(0x85)](this['Event'][_0x2552fc(0x79)],()=>_0xbd7018['onCommandExecuted'](_0x4b7154=>{const _0x2dfcec=_0x2552fc;if(_0x4b7154['id']===e[_0x2dfcec(0x87)]['id']){const _0x53a373=this[_0x2dfcec(0x91)]();if(!_0x53a373)return;const _0x33dc51={'workbook':_0x53a373,'worksheet':_0x53a373[_0x2dfcec(0x89)]()};if(_0x33dc51==null)return;this[_0x2dfcec(0x7f)](this['Event'][_0x2dfcec(0x79)],_0x33dc51);}})),this[_0x2552fc(0x85)](this[_0x2552fc(0x8c)]['SheetPrintConfirmed'],()=>_0xbd7018[_0x2552fc(0x92)](_0x3612c8=>{const _0x228a3d=_0x2552fc;if(_0x3612c8['id']===e[_0x228a3d(0x9b)]['id']){const _0xcdf8b0=_0x5d2fbc[_0x228a3d(0xaa)](e[_0x228a3d(0xa9)]);if(!this['getActiveUniverSheet']())return;const _0x297fd8={'layoutConfig':_0xcdf8b0[_0x228a3d(0x6f)],'renderConfig':_0xcdf8b0[_0x228a3d(0xa0)]};if(_0x297fd8==null)return;this[_0x228a3d(0x7f)](this[_0x228a3d(0x8c)][_0x228a3d(0x88)],_0x297fd8);}})),this[_0x2552fc(0x85)](this['Event'][_0x2552fc(0x9f)],()=>_0xbd7018[_0x2552fc(0x92)](_0x32fe4b=>{const _0x4b7301=_0x2552fc;if(_0x32fe4b['id']===e[_0x4b7301(0xa2)]['id']){const _0x10a285=_0x5d2fbc[_0x4b7301(0xaa)](e[_0x4b7301(0xa9)]);if(!this[_0x4b7301(0x91)]())return;const _0x5a70b8={'layoutConfig':_0x10a285[_0x4b7301(0x6f)],'renderConfig':_0x10a285[_0x4b7301(0xa0)]};if(_0x5a70b8==null)return;this['fireEvent'](this[_0x4b7301(0x8c)][_0x4b7301(0x9f)],_0x5a70b8);}}));}}g['FUniver'][_0x48c2bc(0x90)](l);
|