@univerjs-pro/sheets-print 0.9.1-nightly.202507081607 → 0.9.1-nightly.202507101607
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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x5b66(){const _0x294fe6=['FRange','FUniver','PrintPaperMargin','BeforeSheetPrintCanceled','2203508REGjpB','FEventName','FWorkbook','PrintScale','PrintAlign','Event','PrintArea','SheetPrintOpen','fireEvent','_injector','ConfirmSheetPrintOperation','getScreenshot','4792iCiYlo','extend','17118dUvOiA','124vptQFQ','ISheetPrintManagerService','updateLayoutConfig','PrintFreeze','getActiveUniverSheet','SheetPrintCanceled','_range','BeforeSheetPrintOpen','closePrintDialog','PrintPaperSize','executeCommand','SheetPrintOpenOperation','openPrintDialog','beforeCommandExecuted','syncExecuteCommand','SheetPrintClientService','CancelSheetPrintOperation','5506332voIJSs','PaperType','renderConfig','onCommandExecuted','updatePrintConfig','PrintHeaderFooter','registerEventHandler','SheetPrintConfirmed','ICommandService','getSheetId','getUnitId','110127NXBvoC','CanceledError','cancel','SheetScreenShotOperation','10002293nryuru','getRangeImage','4904000EddKgF','377871fPibZc','BeforeSheetPrintConfirm','get','_worksheet','layoutConfig','FEnum','hasPrintFacadePermission','PrintDirection'];_0x5b66=function(){return _0x294fe6;};return _0x5b66();}const _0x452d46=_0x32e0;function _0x32e0(_0x502286,_0x571b12){const _0x5b6667=_0x5b66();return _0x32e0=function(_0x32e063,_0x30b41c){_0x32e063=_0x32e063-0x17b;let _0x4d6ad1=_0x5b6667[_0x32e063];return _0x4d6ad1;},_0x32e0(_0x502286,_0x571b12);}(function(_0x2b377d,_0x28c591){const _0x3e8c88=_0x32e0,_0x54bd54=_0x2b377d();while(!![]){try{const _0x26dc2b=parseInt(_0x3e8c88(0x17b))/0x1+-parseInt(_0x3e8c88(0x187))/0x2+parseInt(_0x3e8c88(0x1b2))/0x3*(-parseInt(_0x3e8c88(0x196))/0x4)+parseInt(_0x3e8c88(0x1b8))/0x5+-parseInt(_0x3e8c88(0x1a7))/0x6+parseInt(_0x3e8c88(0x1b6))/0x7+parseInt(_0x3e8c88(0x193))/0x8*(parseInt(_0x3e8c88(0x195))/0x9);if(_0x26dc2b===_0x28c591)break;else _0x54bd54['push'](_0x54bd54['shift']());}catch(_0x292776){_0x54bd54['push'](_0x54bd54['shift']());}}}(_0x5b66,0xbbd85));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[_0x452d46(0x189)]{[_0x452d46(0x1ab)](_0x1b9e82){const _0x1e10cc=_0x452d46;return this[_0x1e10cc(0x190)][_0x1e10cc(0x17d)](e[_0x1e10cc(0x197)])[_0x1e10cc(0x198)](_0x1b9e82),this;}['updatePrintRenderConfig'](_0x17e5dc){const _0x2a5ccf=_0x452d46;return this[_0x2a5ccf(0x190)][_0x2a5ccf(0x17d)](e[_0x2a5ccf(0x197)])['updateRenderConfig'](_0x17e5dc),this;}['print'](){const _0x1bc684=_0x452d46;return this[_0x1bc684(0x190)]['get'](a[_0x1bc684(0x1af)])['syncExecuteCommand'](e[_0x1bc684(0x191)]['id']);}[_0x452d46(0x1a2)](){const _0x428f2c=_0x452d46;return this[_0x428f2c(0x190)][_0x428f2c(0x17d)](a['ICommandService'])[_0x428f2c(0x1a4)](e[_0x428f2c(0x1a1)]['id']);}[_0x452d46(0x19e)](){const _0x11bb9d=_0x452d46;return this[_0x11bb9d(0x190)]['get'](a[_0x11bb9d(0x1af)])[_0x11bb9d(0x1a4)](e[_0x11bb9d(0x1a6)]['id']);}async['saveScreenshotToClipboard'](){const _0x1a2081=_0x452d46;return e[_0x1a2081(0x181)](this['_injector'])?this[_0x1a2081(0x190)]['get'](a['ICommandService'])[_0x1a2081(0x1a0)](e[_0x1a2081(0x1b5)]['id']):!0x1;}}d[_0x452d46(0x189)][_0x452d46(0x194)](S);class f extends d[_0x452d46(0x183)]{[_0x452d46(0x192)](){const _0x23cb17=_0x452d46;return e[_0x23cb17(0x181)](this['_injector'])?this[_0x23cb17(0x190)][_0x23cb17(0x17d)](e[_0x23cb17(0x1a5)])[_0x23cb17(0x1b7)](this['_workbook'][_0x23cb17(0x1b1)](),this[_0x23cb17(0x17e)][_0x23cb17(0x1b0)](),this[_0x23cb17(0x19c)]):!0x1;}}d[_0x452d46(0x183)][_0x452d46(0x194)](f);class P{get[_0x452d46(0x19d)](){const _0x2f64dc=_0x452d46;return _0x2f64dc(0x19d);}get[_0x452d46(0x17c)](){return'BeforeSheetPrintConfirm';}get[_0x452d46(0x186)](){const _0x23b973=_0x452d46;return _0x23b973(0x186);}get[_0x452d46(0x18e)](){const _0xb0a3c3=_0x452d46;return _0xb0a3c3(0x18e);}get[_0x452d46(0x1ae)](){return'SheetPrintConfirmed';}get['SheetPrintCanceled'](){const _0x228148=_0x452d46;return _0x228148(0x19b);}}g[_0x452d46(0x188)][_0x452d46(0x194)](P);class u{get[_0x452d46(0x18d)](){return e['PrintArea'];}get[_0x452d46(0x18b)](){const _0x2bd6fe=_0x452d46;return c[_0x2bd6fe(0x18b)];}get[_0x452d46(0x19f)](){const _0x15e433=_0x452d46;return a[_0x15e433(0x1a8)];}get[_0x452d46(0x185)](){return c['PrintPaperMargin'];}get[_0x452d46(0x18a)](){const _0x2d620a=_0x452d46;return c[_0x2d620a(0x18a)];}get[_0x452d46(0x182)](){const _0x59aa55=_0x452d46;return c[_0x59aa55(0x182)];}get[_0x452d46(0x199)](){const _0x2e8795=_0x452d46;return e[_0x2e8795(0x199)];}get['PrintHeaderFooter'](){const _0x1dd828=_0x452d46;return e[_0x1dd828(0x1ac)];}get['PrintHeaderFooterSymbol'](){return e['PrintHeaderFooterSymbol'];}}g[_0x452d46(0x180)][_0x452d46(0x194)](u);class l extends g[_0x452d46(0x184)]{['_initialize'](_0x297f7d){const _0x367c7c=_0x452d46,_0x593b73=_0x297f7d[_0x367c7c(0x17d)](a['ICommandService']);this[_0x367c7c(0x1ad)](this[_0x367c7c(0x18c)][_0x367c7c(0x19d)],()=>_0x593b73['beforeCommandExecuted'](_0x2bfeb8=>{const _0x463f9=_0x367c7c;if(_0x2bfeb8['id']===e['SheetPrintOpenOperation']['id']){const _0x505cb3=this[_0x463f9(0x19a)]();if(!_0x505cb3)return;const _0x3ce372={'workbook':_0x505cb3,'worksheet':_0x505cb3['getActiveSheet']()};if(_0x3ce372==null)return;if(this[_0x463f9(0x18f)](this[_0x463f9(0x18c)]['BeforeSheetPrintOpen'],_0x3ce372),_0x3ce372['cancel'])throw new a['CanceledError']();}})),this[_0x367c7c(0x1ad)](this[_0x367c7c(0x18c)][_0x367c7c(0x17c)],()=>_0x593b73[_0x367c7c(0x1a3)](_0x40f162=>{const _0x38f1d0=_0x367c7c;if(_0x40f162['id']===e[_0x38f1d0(0x191)]['id']){const _0x2cbdd0=_0x297f7d['get'](e['ISheetPrintManagerService']);if(!this[_0x38f1d0(0x19a)]())return;const _0x4c1e2c={'layoutConfig':_0x2cbdd0[_0x38f1d0(0x17f)],'renderConfig':_0x2cbdd0[_0x38f1d0(0x1a9)]};if(_0x4c1e2c==null)return;if(this['fireEvent'](this[_0x38f1d0(0x18c)][_0x38f1d0(0x17c)],_0x4c1e2c),_0x4c1e2c['cancel'])throw new a['CanceledError']();}})),this[_0x367c7c(0x1ad)](this[_0x367c7c(0x18c)][_0x367c7c(0x186)],()=>_0x593b73[_0x367c7c(0x1a3)](_0x4869f4=>{const _0x296fc4=_0x367c7c;if(_0x4869f4['id']===e[_0x296fc4(0x1a6)]['id']){const _0x17dc7c=_0x297f7d[_0x296fc4(0x17d)](e[_0x296fc4(0x197)]);if(!this[_0x296fc4(0x19a)]())return;const _0x50d45c={'layoutConfig':_0x17dc7c[_0x296fc4(0x17f)],'renderConfig':_0x17dc7c[_0x296fc4(0x1a9)]};if(_0x50d45c==null)return;if(this[_0x296fc4(0x18f)](this[_0x296fc4(0x18c)]['BeforeSheetPrintCanceled'],_0x50d45c),_0x50d45c[_0x296fc4(0x1b4)])throw new a[(_0x296fc4(0x1b3))]();}})),this[_0x367c7c(0x1ad)](this['Event']['SheetPrintOpen'],()=>_0x593b73[_0x367c7c(0x1aa)](_0x4cefe0=>{const _0x11fcf1=_0x367c7c;if(_0x4cefe0['id']===e[_0x11fcf1(0x1a1)]['id']){const _0x1ee970=this[_0x11fcf1(0x19a)]();if(!_0x1ee970)return;const _0x17284d={'workbook':_0x1ee970,'worksheet':_0x1ee970['getActiveSheet']()};if(_0x17284d==null)return;this[_0x11fcf1(0x18f)](this['Event'][_0x11fcf1(0x18e)],_0x17284d);}})),this[_0x367c7c(0x1ad)](this[_0x367c7c(0x18c)][_0x367c7c(0x1ae)],()=>_0x593b73[_0x367c7c(0x1aa)](_0x2559f7=>{const _0x1945cb=_0x367c7c;if(_0x2559f7['id']===e[_0x1945cb(0x191)]['id']){const _0x12c130=_0x297f7d[_0x1945cb(0x17d)](e[_0x1945cb(0x197)]);if(!this[_0x1945cb(0x19a)]())return;const _0x296be0={'layoutConfig':_0x12c130['layoutConfig'],'renderConfig':_0x12c130[_0x1945cb(0x1a9)]};if(_0x296be0==null)return;this[_0x1945cb(0x18f)](this[_0x1945cb(0x18c)][_0x1945cb(0x1ae)],_0x296be0);}})),this[_0x367c7c(0x1ad)](this[_0x367c7c(0x18c)]['SheetPrintCanceled'],()=>_0x593b73[_0x367c7c(0x1aa)](_0x50a1f9=>{const _0x4c9736=_0x367c7c;if(_0x50a1f9['id']===e[_0x4c9736(0x1a6)]['id']){const _0x5dcd46=_0x297f7d[_0x4c9736(0x17d)](e[_0x4c9736(0x197)]);if(!this['getActiveUniverSheet']())return;const _0x2a3672={'layoutConfig':_0x5dcd46['layoutConfig'],'renderConfig':_0x5dcd46[_0x4c9736(0x1a9)]};if(_0x2a3672==null)return;this[_0x4c9736(0x18f)](this[_0x4c9736(0x18c)][_0x4c9736(0x19b)],_0x2a3672);}}));}}g[_0x452d46(0x184)]['extend'](l);
|