@univerjs-pro/sheets-print 0.9.2-nightly.202507121606 → 0.9.2-nightly.202507141607
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/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/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/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/en-US.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 +42 -42
- 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/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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4191(_0x13a86b,_0x11704a){const _0x7656b8=_0x7656();return _0x4191=function(_0x41912c,_0x11335d){_0x41912c=_0x41912c-0x195;let _0x3526c2=_0x7656b8[_0x41912c];return _0x3526c2;},_0x4191(_0x13a86b,_0x11704a);}(function(_0x5ea68c,_0x36e351){const _0x2fb1a7=_0x4191,_0x498fa7=_0x5ea68c();while(!![]){try{const _0x27be52=parseInt(_0x2fb1a7(0x1a0))/0x1*(parseInt(_0x2fb1a7(0x1a2))/0x2)+-parseInt(_0x2fb1a7(0x195))/0x3*(parseInt(_0x2fb1a7(0x198))/0x4)+parseInt(_0x2fb1a7(0x1b3))/0x5+-parseInt(_0x2fb1a7(0x1d2))/0x6*(-parseInt(_0x2fb1a7(0x1c6))/0x7)+parseInt(_0x2fb1a7(0x1b8))/0x8*(parseInt(_0x2fb1a7(0x1be))/0x9)+parseInt(_0x2fb1a7(0x1af))/0xa*(parseInt(_0x2fb1a7(0x1d7))/0xb)+-parseInt(_0x2fb1a7(0x19a))/0xc*(parseInt(_0x2fb1a7(0x1dc))/0xd);if(_0x27be52===_0x36e351)break;else _0x498fa7['push'](_0x498fa7['shift']());}catch(_0x1dff12){_0x498fa7['push'](_0x498fa7['shift']());}}}(_0x7656,0x1d80f),function(_0x383e24,_0x2316e5){const _0x5a993d=_0x4191;typeof exports==_0x5a993d(0x1ae)&&typeof module<'u'?_0x2316e5(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x5a993d(0x199)&&define[_0x5a993d(0x1a7)]?define([_0x5a993d(0x1a8),'@univerjs/core',_0x5a993d(0x19f),'@univerjs/core/facade',_0x5a993d(0x1dd)],_0x2316e5):(_0x383e24=typeof globalThis<'u'?globalThis:_0x383e24||self,_0x2316e5(_0x383e24['UniverProSheetsPrint'],_0x383e24['UniverCore'],_0x383e24[_0x5a993d(0x19c)],_0x383e24[_0x5a993d(0x1d5)],_0x383e24['UniverProPrint']));}(this,function(_0x11addf,_0x5eb28c,_0x433b35,_0x9c5787,_0x288902){'use strict';const _0x2213f1=_0x4191;class _0x2c1ab9 extends _0x433b35[_0x2213f1(0x1c7)]{[_0x2213f1(0x1c5)](_0x1969ed){const _0x2f4ac2=_0x2213f1;return this['_injector'][_0x2f4ac2(0x1a4)](_0x11addf[_0x2f4ac2(0x1d3)])[_0x2f4ac2(0x1b6)](_0x1969ed),this;}['updatePrintRenderConfig'](_0x154a41){const _0x5d61aa=_0x2213f1;return this['_injector']['get'](_0x11addf[_0x5d61aa(0x1d3)])['updateRenderConfig'](_0x154a41),this;}[_0x2213f1(0x1b4)](){const _0x1d458e=_0x2213f1;return this[_0x1d458e(0x1da)]['get'](_0x5eb28c[_0x1d458e(0x1c8)])[_0x1d458e(0x1d6)](_0x11addf[_0x1d458e(0x1d4)]['id']);}[_0x2213f1(0x1b7)](){const _0x3276bc=_0x2213f1;return this[_0x3276bc(0x1da)][_0x3276bc(0x1a4)](_0x5eb28c[_0x3276bc(0x1c8)])[_0x3276bc(0x1d6)](_0x11addf[_0x3276bc(0x197)]['id']);}[_0x2213f1(0x1a1)](){const _0x3182f9=_0x2213f1;return this[_0x3182f9(0x1da)][_0x3182f9(0x1a4)](_0x5eb28c['ICommandService'])[_0x3182f9(0x1d6)](_0x11addf[_0x3182f9(0x1cd)]['id']);}async[_0x2213f1(0x1ad)](){const _0x125ec8=_0x2213f1;return _0x11addf[_0x125ec8(0x1b0)](this[_0x125ec8(0x1da)])?this[_0x125ec8(0x1da)][_0x125ec8(0x1a4)](_0x5eb28c[_0x125ec8(0x1c8)])[_0x125ec8(0x1cb)](_0x11addf[_0x125ec8(0x1bf)]['id']):!0x1;}}_0x433b35[_0x2213f1(0x1c7)][_0x2213f1(0x1b2)](_0x2c1ab9);class _0xb9058 extends _0x433b35[_0x2213f1(0x1bc)]{['getScreenshot'](){const _0x69b08c=_0x2213f1;return _0x11addf[_0x69b08c(0x1b0)](this[_0x69b08c(0x1da)])?this[_0x69b08c(0x1da)][_0x69b08c(0x1a4)](_0x11addf['SheetPrintClientService'])[_0x69b08c(0x1b5)](this['_workbook'][_0x69b08c(0x1ac)](),this[_0x69b08c(0x1bd)][_0x69b08c(0x1cf)](),this['_range']):!0x1;}}_0x433b35[_0x2213f1(0x1bc)][_0x2213f1(0x1b2)](_0xb9058);class _0x189079{get[_0x2213f1(0x1d8)](){const _0x1524ed=_0x2213f1;return _0x1524ed(0x1d8);}get['BeforeSheetPrintConfirm'](){const _0x51a260=_0x2213f1;return _0x51a260(0x1c3);}get[_0x2213f1(0x1aa)](){const _0x417f6f=_0x2213f1;return _0x417f6f(0x1aa);}get[_0x2213f1(0x1ca)](){return'SheetPrintOpen';}get[_0x2213f1(0x1cc)](){const _0x348d0b=_0x2213f1;return _0x348d0b(0x1cc);}get[_0x2213f1(0x196)](){const _0x3b31dd=_0x2213f1;return _0x3b31dd(0x196);}}_0x9c5787[_0x2213f1(0x1a9)][_0x2213f1(0x1b2)](_0x189079);class _0x3d72ce{get[_0x2213f1(0x1a6)](){const _0x3a0ce8=_0x2213f1;return _0x11addf[_0x3a0ce8(0x1a6)];}get[_0x2213f1(0x1b1)](){const _0x6dad71=_0x2213f1;return _0x288902[_0x6dad71(0x1b1)];}get['PrintPaperSize'](){const _0x18b614=_0x2213f1;return _0x5eb28c[_0x18b614(0x1c1)];}get[_0x2213f1(0x1bb)](){const _0x26d46d=_0x2213f1;return _0x288902[_0x26d46d(0x1bb)];}get[_0x2213f1(0x1a5)](){return _0x288902['PrintScale'];}get['PrintDirection'](){const _0x24ff19=_0x2213f1;return _0x288902[_0x24ff19(0x1b9)];}get['PrintFreeze'](){const _0x2767cb=_0x2213f1;return _0x11addf[_0x2767cb(0x1c0)];}get[_0x2213f1(0x1c4)](){return _0x11addf['PrintHeaderFooter'];}get[_0x2213f1(0x1ab)](){const _0xfdbaab=_0x2213f1;return _0x11addf[_0xfdbaab(0x1ab)];}}_0x9c5787[_0x2213f1(0x1a3)]['extend'](_0x3d72ce);class _0x5e80eb extends _0x9c5787['FUniver']{[_0x2213f1(0x19e)](_0x43166a){const _0x553e31=_0x2213f1,_0x30ecbb=_0x43166a[_0x553e31(0x1a4)](_0x5eb28c[_0x553e31(0x1c8)]);this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x1d8)],()=>_0x30ecbb[_0x553e31(0x1d0)](_0x39c64f=>{const _0x1526fe=_0x553e31;if(_0x39c64f['id']===_0x11addf['SheetPrintOpenOperation']['id']){const _0x22381b=this[_0x1526fe(0x1c2)]();if(!_0x22381b)return;const _0x1a8ae3={'workbook':_0x22381b,'worksheet':_0x22381b[_0x1526fe(0x1db)]()};if(_0x1a8ae3==null)return;if(this['fireEvent'](this[_0x1526fe(0x1c9)]['BeforeSheetPrintOpen'],_0x1a8ae3),_0x1a8ae3[_0x1526fe(0x19d)])throw new _0x5eb28c['CanceledError']();}})),this[_0x553e31(0x1df)](this['Event'][_0x553e31(0x1c3)],()=>_0x30ecbb[_0x553e31(0x1d0)](_0x14fd7d=>{const _0x185b68=_0x553e31;if(_0x14fd7d['id']===_0x11addf[_0x185b68(0x1d4)]['id']){const _0x42e6e6=_0x43166a[_0x185b68(0x1a4)](_0x11addf[_0x185b68(0x1d3)]);if(!this[_0x185b68(0x1c2)]())return;const _0x251c8a={'layoutConfig':_0x42e6e6[_0x185b68(0x1ce)],'renderConfig':_0x42e6e6['renderConfig']};if(_0x251c8a==null)return;if(this['fireEvent'](this['Event'][_0x185b68(0x1c3)],_0x251c8a),_0x251c8a[_0x185b68(0x19d)])throw new _0x5eb28c[(_0x185b68(0x19b))]();}})),this[_0x553e31(0x1df)](this['Event'][_0x553e31(0x1aa)],()=>_0x30ecbb['beforeCommandExecuted'](_0x1ede53=>{const _0x45ffcd=_0x553e31;if(_0x1ede53['id']===_0x11addf[_0x45ffcd(0x1cd)]['id']){const _0x37a8cb=_0x43166a[_0x45ffcd(0x1a4)](_0x11addf[_0x45ffcd(0x1d3)]);if(!this['getActiveUniverSheet']())return;const _0x2b289c={'layoutConfig':_0x37a8cb[_0x45ffcd(0x1ce)],'renderConfig':_0x37a8cb[_0x45ffcd(0x1ba)]};if(_0x2b289c==null)return;if(this[_0x45ffcd(0x1d1)](this[_0x45ffcd(0x1c9)]['BeforeSheetPrintCanceled'],_0x2b289c),_0x2b289c['cancel'])throw new _0x5eb28c['CanceledError']();}})),this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x1ca)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x5be49a=>{const _0x4facce=_0x553e31;if(_0x5be49a['id']===_0x11addf[_0x4facce(0x197)]['id']){const _0x14bb12=this[_0x4facce(0x1c2)]();if(!_0x14bb12)return;const _0x19bc28={'workbook':_0x14bb12,'worksheet':_0x14bb12[_0x4facce(0x1db)]()};if(_0x19bc28==null)return;this[_0x4facce(0x1d1)](this[_0x4facce(0x1c9)][_0x4facce(0x1ca)],_0x19bc28);}})),this['registerEventHandler'](this[_0x553e31(0x1c9)][_0x553e31(0x1cc)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x43f118=>{const _0x38ed58=_0x553e31;if(_0x43f118['id']===_0x11addf[_0x38ed58(0x1d4)]['id']){const _0x6d5c81=_0x43166a[_0x38ed58(0x1a4)](_0x11addf['ISheetPrintManagerService']);if(!this[_0x38ed58(0x1c2)]())return;const _0x1af89e={'layoutConfig':_0x6d5c81['layoutConfig'],'renderConfig':_0x6d5c81[_0x38ed58(0x1ba)]};if(_0x1af89e==null)return;this['fireEvent'](this[_0x38ed58(0x1c9)][_0x38ed58(0x1cc)],_0x1af89e);}})),this[_0x553e31(0x1df)](this[_0x553e31(0x1c9)][_0x553e31(0x196)],()=>_0x30ecbb[_0x553e31(0x1de)](_0x16a9f6=>{const _0x1a4c6d=_0x553e31;if(_0x16a9f6['id']===_0x11addf[_0x1a4c6d(0x1cd)]['id']){const _0x1f27c1=_0x43166a[_0x1a4c6d(0x1a4)](_0x11addf[_0x1a4c6d(0x1d3)]);if(!this[_0x1a4c6d(0x1c2)]())return;const _0x4bba54={'layoutConfig':_0x1f27c1[_0x1a4c6d(0x1ce)],'renderConfig':_0x1f27c1[_0x1a4c6d(0x1ba)]};if(_0x4bba54==null)return;this[_0x1a4c6d(0x1d1)](this[_0x1a4c6d(0x1c9)]['SheetPrintCanceled'],_0x4bba54);}}));}}_0x9c5787[_0x2213f1(0x1d9)][_0x2213f1(0x1b2)](_0x5e80eb);}));function _0x7656(){const _0x1d778a=['getSheetId','beforeCommandExecuted','fireEvent','1878MNoqFe','ISheetPrintManagerService','ConfirmSheetPrintOperation','UniverCoreFacade','syncExecuteCommand','11vlRbQy','BeforeSheetPrintOpen','FUniver','_injector','getActiveSheet','26VvPHLn','@univerjs-pro/print','onCommandExecuted','registerEventHandler','30PGyEZF','SheetPrintCanceled','SheetPrintOpenOperation','77164HNLQlO','function','594492HKvJWx','CanceledError','UniverSheetsFacade','cancel','_initialize','@univerjs/sheets/facade','28463boMRZp','closePrintDialog','12qQXitX','FEnum','get','PrintScale','PrintArea','amd','@univerjs-pro/sheets-print','FEventName','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','getUnitId','saveScreenshotToClipboard','object','466630DqIfQX','hasPrintFacadePermission','PrintAlign','extend','132875isnxuT','print','getRangeImage','updateLayoutConfig','openPrintDialog','352CBroHa','PrintDirection','renderConfig','PrintPaperMargin','FRange','_worksheet','792CKmoOh','SheetScreenShotOperation','PrintFreeze','PaperType','getActiveUniverSheet','BeforeSheetPrintConfirm','PrintHeaderFooter','updatePrintConfig','3689ejQbrA','FWorkbook','ICommandService','Event','SheetPrintOpen','executeCommand','SheetPrintConfirmed','CancelSheetPrintOperation','layoutConfig'];_0x7656=function(){return _0x1d778a;};return _0x7656();}
|