@univerjs-pro/sheets-print 1.0.0-alpha.5 → 1.0.0-alpha.6
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.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 _0x281e(_0x187fe6,_0x12c8aa){_0x187fe6=_0x187fe6-0x196;const _0x251ebe=_0x251e();let _0x281e4c=_0x251ebe[_0x187fe6];return _0x281e4c;}(function(_0x35f4fa,_0x1f983f){const _0x5b507c=_0x281e,_0x47596d=_0x35f4fa();while(!![]){try{const _0x1dba68=-parseInt(_0x5b507c(0x19a))/0x1+-parseInt(_0x5b507c(0x1d0))/0x2+parseInt(_0x5b507c(0x1a2))/0x3+-parseInt(_0x5b507c(0x19d))/0x4*(-parseInt(_0x5b507c(0x1b3))/0x5)+parseInt(_0x5b507c(0x19c))/0x6+parseInt(_0x5b507c(0x1dc))/0x7*(parseInt(_0x5b507c(0x19f))/0x8)+parseInt(_0x5b507c(0x1ba))/0x9;if(_0x1dba68===_0x1f983f)break;else _0x47596d['push'](_0x47596d['shift']());}catch(_0x57b6b3){_0x47596d['push'](_0x47596d['shift']());}}}(_0x251e,0x7ebbf),function(_0x3c96cc,_0x2a4136){const _0x4c8479=_0x281e;typeof exports==_0x4c8479(0x1be)&&typeof module<'u'?_0x2a4136(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x4c8479(0x1c9)&&define['amd']?define([_0x4c8479(0x1c4),_0x4c8479(0x19b),_0x4c8479(0x1cd),_0x4c8479(0x1d6),_0x4c8479(0x1d3)],_0x2a4136):(_0x3c96cc=typeof globalThis<'u'?globalThis:_0x3c96cc||self,_0x2a4136(_0x3c96cc['UniverProSheetsPrint'],_0x3c96cc[_0x4c8479(0x1a3)],_0x3c96cc[_0x4c8479(0x1d9)],_0x3c96cc[_0x4c8479(0x1c0)],_0x3c96cc[_0x4c8479(0x1ca)]));}(this,function(_0xdd0e1f,_0x2b425d,_0x577c7f,_0x6f85e,_0x385bbc){const _0x488a9a=_0x281e;var _0x1c5d39=class extends _0x577c7f[_0x488a9a(0x1dd)]{[_0x488a9a(0x1ad)](_0x4565cb){const _0x2ed88f=_0x488a9a;return this[_0x2ed88f(0x1af)]['get'](_0xdd0e1f['ISheetPrintManagerService'])['updateLayoutConfig'](_0x4565cb),this;}['updatePrintRenderConfig'](_0x2baca9){const _0x2e9f14=_0x488a9a;return this[_0x2e9f14(0x1af)][_0x2e9f14(0x1c1)](_0xdd0e1f[_0x2e9f14(0x1bb)])[_0x2e9f14(0x196)](_0x2baca9),this;}[_0x488a9a(0x1cb)](){const _0x141701=_0x488a9a;return this[_0x141701(0x1af)][_0x141701(0x1c1)](_0x2b425d[_0x141701(0x1b8)])[_0x141701(0x1d1)](_0xdd0e1f['ConfirmSheetPrintOperation']['id']);}[_0x488a9a(0x1a8)](){const _0x398d28=_0x488a9a;return this[_0x398d28(0x1af)][_0x398d28(0x1c1)](_0x2b425d['ICommandService'])[_0x398d28(0x1d1)](_0xdd0e1f[_0x398d28(0x199)]['id']);}[_0x488a9a(0x1bf)](){const _0x3f21ac=_0x488a9a;return this['_injector'][_0x3f21ac(0x1c1)](_0x2b425d[_0x3f21ac(0x1b8)])[_0x3f21ac(0x1d1)](_0xdd0e1f['CancelSheetPrintOperation']['id']);}async[_0x488a9a(0x1d2)](){const _0x53f528=_0x488a9a;return(0x0,_0xdd0e1f[_0x53f528(0x1cc)])(this[_0x53f528(0x1af)])?this[_0x53f528(0x1af)]['get'](_0x2b425d[_0x53f528(0x1b8)])['executeCommand'](_0xdd0e1f[_0x53f528(0x1b6)]['id']):!0x1;}};_0x577c7f[_0x488a9a(0x1dd)][_0x488a9a(0x1bd)](_0x1c5d39);var _0x4b9bfe=class extends _0x577c7f['FRange']{[_0x488a9a(0x1de)](_0x40a1d8){const _0x2875c7=_0x488a9a;return(0x0,_0xdd0e1f[_0x2875c7(0x1cc)])(this[_0x2875c7(0x1af)])?this[_0x2875c7(0x1af)][_0x2875c7(0x1c1)](_0xdd0e1f['SheetPrintClientService'])['getRangeImage'](this['_workbook'][_0x2875c7(0x1a0)](),this['_worksheet']['getSheetId'](),this[_0x2875c7(0x1a4)],_0x40a1d8==null?void 0x0:_0x40a1d8[_0x2875c7(0x197)]):!0x1;}};_0x577c7f[_0x488a9a(0x1ac)][_0x488a9a(0x1bd)](_0x4b9bfe);var _0x26bc44=class extends _0x6f85e[_0x488a9a(0x1cf)]{get[_0x488a9a(0x1a6)](){const _0x1ae476=_0x488a9a;return _0x1ae476(0x1a6);}get['BeforeSheetPrintConfirm'](){const _0x1012d0=_0x488a9a;return _0x1012d0(0x19e);}get[_0x488a9a(0x1b2)](){const _0x5760d2=_0x488a9a;return _0x5760d2(0x1b2);}get['SheetPrintOpen'](){const _0x43f106=_0x488a9a;return _0x43f106(0x1c7);}get[_0x488a9a(0x1a7)](){const _0x707f4a=_0x488a9a;return _0x707f4a(0x1a7);}get[_0x488a9a(0x1d8)](){const _0x118211=_0x488a9a;return _0x118211(0x1d8);}};_0x6f85e[_0x488a9a(0x1cf)][_0x488a9a(0x1bd)](_0x26bc44);var _0x53d7dc=class extends _0x6f85e[_0x488a9a(0x1a5)]{get['PrintArea'](){return _0xdd0e1f['PrintArea'];}get[_0x488a9a(0x1c5)](){const _0x4cb8e4=_0x488a9a;return _0x385bbc[_0x4cb8e4(0x1c5)];}get[_0x488a9a(0x1bc)](){const _0x5af6ca=_0x488a9a;return _0x2b425d[_0x5af6ca(0x198)];}get[_0x488a9a(0x1aa)](){const _0x1e4902=_0x488a9a;return _0x385bbc[_0x1e4902(0x1aa)];}get['PrintScale'](){const _0xc9d6b4=_0x488a9a;return _0x385bbc[_0xc9d6b4(0x1b4)];}get['PrintDirection'](){const _0x59c3f5=_0x488a9a;return _0x385bbc[_0x59c3f5(0x1b7)];}get[_0x488a9a(0x1c8)](){const _0x3d4eb7=_0x488a9a;return _0xdd0e1f[_0x3d4eb7(0x1c8)];}get[_0x488a9a(0x1b0)](){return _0xdd0e1f['PrintHeaderFooter'];}get['PrintHeaderFooterSymbol'](){return _0xdd0e1f['PrintHeaderFooterSymbol'];}};_0x6f85e[_0x488a9a(0x1a5)]['extend'](_0x53d7dc);var _0x2118f8=class extends _0x6f85e[_0x488a9a(0x1c3)]{[_0x488a9a(0x1b9)](_0x24b1e2){const _0x3f4999=_0x488a9a;let _0x10b5ac=_0x24b1e2['get'](_0x2b425d[_0x3f4999(0x1b8)]);this['disposeWithMe'](this[_0x3f4999(0x1c6)](this['Event'][_0x3f4999(0x1a6)],()=>_0x10b5ac[_0x3f4999(0x1ae)](_0x4833fd=>{const _0x5cf340=_0x3f4999;if(_0x4833fd['id']===_0xdd0e1f['SheetPrintOpenOperation']['id']){let _0x312d28=this[_0x5cf340(0x1a1)]();if(!_0x312d28)return;let _0x504c60={'workbook':_0x312d28,'worksheet':_0x312d28[_0x5cf340(0x1ce)]()};if(_0x504c60==null)return;if(this['fireEvent'](this[_0x5cf340(0x1b1)][_0x5cf340(0x1a6)],_0x504c60),_0x504c60[_0x5cf340(0x1da)])throw new _0x2b425d[(_0x5cf340(0x1c2))]();}}))),this[_0x3f4999(0x1d4)](this[_0x3f4999(0x1c6)](this[_0x3f4999(0x1b1)]['BeforeSheetPrintConfirm'],()=>_0x10b5ac[_0x3f4999(0x1ae)](_0x587fb5=>{const _0x2103e9=_0x3f4999;if(_0x587fb5['id']===_0xdd0e1f[_0x2103e9(0x1ab)]['id']){let _0xb0dfcf=_0x24b1e2[_0x2103e9(0x1c1)](_0xdd0e1f[_0x2103e9(0x1bb)]);if(!this['getActiveWorkbook']())return;let _0x528ad2={'layoutConfig':_0xb0dfcf[_0x2103e9(0x1a9)],'renderConfig':_0xb0dfcf[_0x2103e9(0x1d5)]};if(_0x528ad2==null)return;if(this['fireEvent'](this[_0x2103e9(0x1b1)][_0x2103e9(0x19e)],_0x528ad2),_0x528ad2[_0x2103e9(0x1da)])throw new _0x2b425d[(_0x2103e9(0x1c2))]();}}))),this[_0x3f4999(0x1d4)](this[_0x3f4999(0x1c6)](this[_0x3f4999(0x1b1)]['BeforeSheetPrintCanceled'],()=>_0x10b5ac[_0x3f4999(0x1ae)](_0x57a22c=>{const _0x457b7b=_0x3f4999;if(_0x57a22c['id']===_0xdd0e1f[_0x457b7b(0x1b5)]['id']){let _0x31d81a=_0x24b1e2[_0x457b7b(0x1c1)](_0xdd0e1f['ISheetPrintManagerService']);if(!this[_0x457b7b(0x1a1)]())return;let _0x2f34a1={'layoutConfig':_0x31d81a[_0x457b7b(0x1a9)],'renderConfig':_0x31d81a[_0x457b7b(0x1d5)]};if(_0x2f34a1==null)return;if(this['fireEvent'](this[_0x457b7b(0x1b1)][_0x457b7b(0x1b2)],_0x2f34a1),_0x2f34a1[_0x457b7b(0x1da)])throw new _0x2b425d[(_0x457b7b(0x1c2))]();}}))),this['disposeWithMe'](this[_0x3f4999(0x1c6)](this[_0x3f4999(0x1b1)][_0x3f4999(0x1c7)],()=>_0x10b5ac[_0x3f4999(0x1d7)](_0x2a8f29=>{const _0xf71e68=_0x3f4999;if(_0x2a8f29['id']===_0xdd0e1f[_0xf71e68(0x199)]['id']){let _0x381cb4=this[_0xf71e68(0x1a1)]();if(!_0x381cb4)return;let _0x21fe9a={'workbook':_0x381cb4,'worksheet':_0x381cb4[_0xf71e68(0x1ce)]()};if(_0x21fe9a==null)return;this[_0xf71e68(0x1db)](this[_0xf71e68(0x1b1)][_0xf71e68(0x1c7)],_0x21fe9a);}}))),this[_0x3f4999(0x1d4)](this[_0x3f4999(0x1c6)](this[_0x3f4999(0x1b1)][_0x3f4999(0x1a7)],()=>_0x10b5ac['onCommandExecuted'](_0x433231=>{const _0x25ee4f=_0x3f4999;if(_0x433231['id']===_0xdd0e1f[_0x25ee4f(0x1ab)]['id']){let _0x2da901=_0x24b1e2[_0x25ee4f(0x1c1)](_0xdd0e1f[_0x25ee4f(0x1bb)]);if(!this['getActiveWorkbook']())return;let _0x17d811={'layoutConfig':_0x2da901[_0x25ee4f(0x1a9)],'renderConfig':_0x2da901['renderConfig']};if(_0x17d811==null)return;this['fireEvent'](this[_0x25ee4f(0x1b1)]['SheetPrintConfirmed'],_0x17d811);}}))),this['disposeWithMe'](this[_0x3f4999(0x1c6)](this[_0x3f4999(0x1b1)][_0x3f4999(0x1d8)],()=>_0x10b5ac['onCommandExecuted'](_0x193111=>{const _0x2467c0=_0x3f4999;if(_0x193111['id']===_0xdd0e1f[_0x2467c0(0x1b5)]['id']){let _0x537c68=_0x24b1e2[_0x2467c0(0x1c1)](_0xdd0e1f[_0x2467c0(0x1bb)]);if(!this[_0x2467c0(0x1a1)]())return;let _0xd3479e={'layoutConfig':_0x537c68[_0x2467c0(0x1a9)],'renderConfig':_0x537c68[_0x2467c0(0x1d5)]};if(_0xd3479e==null)return;this['fireEvent'](this[_0x2467c0(0x1b1)][_0x2467c0(0x1d8)],_0xd3479e);}})));}};_0x6f85e['FUniver'][_0x488a9a(0x1bd)](_0x2118f8);}));function _0x251e(){const _0x5ced61=['@univerjs/core/facade','onCommandExecuted','SheetPrintCanceled','UniverSheetsFacade','cancel','fireEvent','7zAKlFp','FWorkbook','getScreenshot','updateRenderConfig','includeHeaders','PaperType','SheetPrintOpenOperation','488598wLExgE','@univerjs/core','921714hEXytQ','6832ASyAQi','BeforeSheetPrintConfirm','3549552flXfnl','getUnitId','getActiveWorkbook','255159XhNKeX','UniverCore','_range','FEnum','BeforeSheetPrintOpen','SheetPrintConfirmed','openPrintDialog','layoutConfig','PrintPaperMargin','ConfirmSheetPrintOperation','FRange','updatePrintConfig','beforeCommandExecuted','_injector','PrintHeaderFooter','Event','BeforeSheetPrintCanceled','55IHCjjz','PrintScale','CancelSheetPrintOperation','SheetScreenShotOperation','PrintDirection','ICommandService','_initialize','3476817rwFhhJ','ISheetPrintManagerService','PrintPaperSize','extend','object','closePrintDialog','UniverCoreFacade','get','CanceledError','FUniver','@univerjs-pro/sheets-print','PrintAlign','registerEventHandler','SheetPrintOpen','PrintFreeze','function','UniverProPrint','print','hasPrintFacadePermission','@univerjs/sheets/facade','getActiveSheet','FEventName','159532gAJudV','syncExecuteCommand','saveScreenshotToClipboard','@univerjs-pro/print','disposeWithMe','renderConfig'];_0x251e=function(){return _0x5ced61;};return _0x251e();}
|