@univerjs-pro/sheets-print 1.1.0 → 1.2.0
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.css +8 -0
- 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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x360c82=_0x518e;(function(_0x12cdcd,_0x558cc1){const _0x58156f=_0x518e,_0x4c0c47=_0x12cdcd();while(!![]){try{const _0x113765=parseInt(_0x58156f(0x1c7))/0x1*(parseInt(_0x58156f(0x1b1))/0x2)+parseInt(_0x58156f(0x1d2))/0x3+-parseInt(_0x58156f(0x19a))/0x4*(-parseInt(_0x58156f(0x1a1))/0x5)+parseInt(_0x58156f(0x1a9))/0x6*(parseInt(_0x58156f(0x1af))/0x7)+parseInt(_0x58156f(0x1d3))/0x8+-parseInt(_0x58156f(0x1a0))/0x9*(-parseInt(_0x58156f(0x1cf))/0xa)+-parseInt(_0x58156f(0x1c5))/0xb;if(_0x113765===_0x558cc1)break;else _0x4c0c47['push'](_0x4c0c47['shift']());}catch(_0x2275b2){_0x4c0c47['push'](_0x4c0c47['shift']());}}}(_0x5271,0xc01fe));let e=require('@univerjs-pro/sheets-print'),t=require('@univerjs/core'),n=require('@univerjs/sheets/facade'),r=require('@univerjs/core/facade'),i=require('@univerjs-pro/print');var a=class extends n[_0x360c82(0x1bb)]{[_0x360c82(0x1cc)](_0x567f8d){const _0x53946a=_0x360c82;return this[_0x53946a(0x1c3)]['get'](e[_0x53946a(0x1a2)])[_0x53946a(0x199)](_0x567f8d),this;}[_0x360c82(0x1a4)](_0x286af7){const _0xad0223=_0x360c82;return this['_injector'][_0xad0223(0x1ba)](e[_0xad0223(0x1a2)])['updateRenderConfig'](_0x286af7),this;}['print'](){const _0x526832=_0x360c82;return this[_0x526832(0x1c3)][_0x526832(0x1ba)](t[_0x526832(0x19e)])['syncExecuteCommand'](e[_0x526832(0x197)]['id']);}[_0x360c82(0x1aa)](){const _0x2857cc=_0x360c82;return this[_0x2857cc(0x1c3)][_0x2857cc(0x1ba)](t['ICommandService'])['syncExecuteCommand'](e[_0x2857cc(0x1d1)]['id']);}[_0x360c82(0x19f)](){const _0x3565dd=_0x360c82;return this[_0x3565dd(0x1c3)][_0x3565dd(0x1ba)](t[_0x3565dd(0x19e)])[_0x3565dd(0x1c8)](e[_0x3565dd(0x1d0)]['id']);}async[_0x360c82(0x191)](){const _0x57026a=_0x360c82;return(0x0,e[_0x57026a(0x1b5)])(this[_0x57026a(0x1c3)])?this[_0x57026a(0x1c3)][_0x57026a(0x1ba)](t['ICommandService'])[_0x57026a(0x1bd)](e[_0x57026a(0x1ae)]['id']):!0x1;}};n[_0x360c82(0x1bb)][_0x360c82(0x1bc)](a);function _0x5271(){const _0x443667=['SheetPrintOpenOperation','3888945wpXfYx','11967032kfsEhZ','saveScreenshotToClipboard','PrintAlign','PaperType','FEnum','_range','PrintHeaderFooterSymbol','ConfirmSheetPrintOperation','includeHeaders','updateLayoutConfig','172yKtaQb','SheetPrintOpen','FEventName','PrintPaperSize','ICommandService','closePrintDialog','9UIlYUb','180380sykJwc','ISheetPrintManagerService','onCommandExecuted','updatePrintRenderConfig','layoutConfig','PrintFreeze','BeforeSheetPrintCanceled','getActiveWorkbook','3897174VVuFZB','openPrintDialog','FRange','BeforeSheetPrintOpen','SheetPrintCanceled','SheetScreenShotOperation','7HqFhfL','fireEvent','351518fudSRz','PrintScale','SheetPrintConfirmed','beforeCommandExecuted','hasPrintFacadePermission','registerEventHandler','PrintArea','SheetPrintClientService','Event','get','FWorkbook','extend','executeCommand','getActiveSheet','BeforeSheetPrintConfirm','renderConfig','PrintPaperMargin','PrintHeaderFooter','_injector','getRangeImage','72026801EPcXcE','disposeWithMe','5UjLRFg','syncExecuteCommand','PrintDirection','_initialize','getUnitId','updatePrintConfig','_workbook','CanceledError','14630470RmMdgb','CancelSheetPrintOperation'];_0x5271=function(){return _0x443667;};return _0x5271();}function _0x518e(_0x4b1fa7,_0x4ff80c){_0x4b1fa7=_0x4b1fa7-0x191;const _0x52714c=_0x5271();let _0x518ec2=_0x52714c[_0x4b1fa7];return _0x518ec2;}var o=class extends n[_0x360c82(0x1ab)]{['getScreenshot'](_0x368034){const _0x4b1522=_0x360c82;return(0x0,e[_0x4b1522(0x1b5)])(this[_0x4b1522(0x1c3)])?this['_injector'][_0x4b1522(0x1ba)](e[_0x4b1522(0x1b8)])[_0x4b1522(0x1c4)](this[_0x4b1522(0x1cd)][_0x4b1522(0x1cb)](),this['_worksheet']['getSheetId'](),this[_0x4b1522(0x195)],_0x368034==null?void 0x0:_0x368034[_0x4b1522(0x198)]):!0x1;}};n[_0x360c82(0x1ab)][_0x360c82(0x1bc)](o);var s=class extends r[_0x360c82(0x19c)]{get[_0x360c82(0x1ac)](){return'BeforeSheetPrintOpen';}get['BeforeSheetPrintConfirm'](){const _0x43b5c9=_0x360c82;return _0x43b5c9(0x1bf);}get[_0x360c82(0x1a7)](){return'BeforeSheetPrintCanceled';}get[_0x360c82(0x19b)](){const _0x101507=_0x360c82;return _0x101507(0x19b);}get[_0x360c82(0x1b3)](){const _0x1630ac=_0x360c82;return _0x1630ac(0x1b3);}get[_0x360c82(0x1ad)](){const _0x533885=_0x360c82;return _0x533885(0x1ad);}};r[_0x360c82(0x19c)][_0x360c82(0x1bc)](s);var c=class extends r[_0x360c82(0x194)]{get[_0x360c82(0x1b7)](){return e['PrintArea'];}get[_0x360c82(0x192)](){const _0x5cae39=_0x360c82;return i[_0x5cae39(0x192)];}get[_0x360c82(0x19d)](){const _0x476618=_0x360c82;return t[_0x476618(0x193)];}get[_0x360c82(0x1c1)](){return i['PrintPaperMargin'];}get[_0x360c82(0x1b2)](){const _0x476a91=_0x360c82;return i[_0x476a91(0x1b2)];}get[_0x360c82(0x1c9)](){const _0xd1efc7=_0x360c82;return i[_0xd1efc7(0x1c9)];}get[_0x360c82(0x1a6)](){const _0x3311f=_0x360c82;return e[_0x3311f(0x1a6)];}get[_0x360c82(0x1c2)](){const _0x33e87c=_0x360c82;return e[_0x33e87c(0x1c2)];}get[_0x360c82(0x196)](){const _0x2f4d0a=_0x360c82;return e[_0x2f4d0a(0x196)];}};r[_0x360c82(0x194)]['extend'](c);var l=class extends r['FUniver']{[_0x360c82(0x1ca)](_0x49b24f){const _0x51a353=_0x360c82;let _0x4a95b3=_0x49b24f[_0x51a353(0x1ba)](t['ICommandService']);this['disposeWithMe'](this[_0x51a353(0x1b6)](this['Event'][_0x51a353(0x1ac)],()=>_0x4a95b3[_0x51a353(0x1b4)](_0x339749=>{const _0x31de17=_0x51a353;if(_0x339749['id']===e['SheetPrintOpenOperation']['id']){let _0x19cb61=this[_0x31de17(0x1a8)]();if(!_0x19cb61)return;let _0x50bbff={'workbook':_0x19cb61,'worksheet':_0x19cb61['getActiveSheet']()};if(_0x50bbff==null)return;if(this[_0x31de17(0x1b0)](this[_0x31de17(0x1b9)][_0x31de17(0x1ac)],_0x50bbff),_0x50bbff['cancel'])throw new t[(_0x31de17(0x1ce))]();}}))),this[_0x51a353(0x1c6)](this[_0x51a353(0x1b6)](this[_0x51a353(0x1b9)][_0x51a353(0x1bf)],()=>_0x4a95b3[_0x51a353(0x1b4)](_0x3fd5ec=>{const _0x2605cf=_0x51a353;if(_0x3fd5ec['id']===e['ConfirmSheetPrintOperation']['id']){let _0x6c1c0=_0x49b24f[_0x2605cf(0x1ba)](e[_0x2605cf(0x1a2)]);if(!this[_0x2605cf(0x1a8)]())return;let _0x57e2de={'layoutConfig':_0x6c1c0[_0x2605cf(0x1a5)],'renderConfig':_0x6c1c0[_0x2605cf(0x1c0)]};if(_0x57e2de==null)return;if(this['fireEvent'](this[_0x2605cf(0x1b9)]['BeforeSheetPrintConfirm'],_0x57e2de),_0x57e2de['cancel'])throw new t['CanceledError']();}}))),this[_0x51a353(0x1c6)](this['registerEventHandler'](this[_0x51a353(0x1b9)][_0x51a353(0x1a7)],()=>_0x4a95b3['beforeCommandExecuted'](_0x5bc3af=>{const _0x1e0a42=_0x51a353;if(_0x5bc3af['id']===e[_0x1e0a42(0x1d0)]['id']){let _0x2d96ed=_0x49b24f[_0x1e0a42(0x1ba)](e[_0x1e0a42(0x1a2)]);if(!this[_0x1e0a42(0x1a8)]())return;let _0x325c59={'layoutConfig':_0x2d96ed[_0x1e0a42(0x1a5)],'renderConfig':_0x2d96ed[_0x1e0a42(0x1c0)]};if(_0x325c59==null)return;if(this[_0x1e0a42(0x1b0)](this[_0x1e0a42(0x1b9)][_0x1e0a42(0x1a7)],_0x325c59),_0x325c59['cancel'])throw new t[(_0x1e0a42(0x1ce))]();}}))),this[_0x51a353(0x1c6)](this[_0x51a353(0x1b6)](this['Event'][_0x51a353(0x19b)],()=>_0x4a95b3[_0x51a353(0x1a3)](_0x1117f6=>{const _0x3ee234=_0x51a353;if(_0x1117f6['id']===e['SheetPrintOpenOperation']['id']){let _0x2699f2=this['getActiveWorkbook']();if(!_0x2699f2)return;let _0x5ab8ec={'workbook':_0x2699f2,'worksheet':_0x2699f2[_0x3ee234(0x1be)]()};if(_0x5ab8ec==null)return;this['fireEvent'](this[_0x3ee234(0x1b9)][_0x3ee234(0x19b)],_0x5ab8ec);}}))),this[_0x51a353(0x1c6)](this[_0x51a353(0x1b6)](this[_0x51a353(0x1b9)][_0x51a353(0x1b3)],()=>_0x4a95b3[_0x51a353(0x1a3)](_0x16b620=>{const _0x1b92d2=_0x51a353;if(_0x16b620['id']===e[_0x1b92d2(0x197)]['id']){let _0x3e0006=_0x49b24f[_0x1b92d2(0x1ba)](e[_0x1b92d2(0x1a2)]);if(!this[_0x1b92d2(0x1a8)]())return;let _0x575185={'layoutConfig':_0x3e0006[_0x1b92d2(0x1a5)],'renderConfig':_0x3e0006['renderConfig']};if(_0x575185==null)return;this[_0x1b92d2(0x1b0)](this[_0x1b92d2(0x1b9)][_0x1b92d2(0x1b3)],_0x575185);}}))),this[_0x51a353(0x1c6)](this[_0x51a353(0x1b6)](this[_0x51a353(0x1b9)][_0x51a353(0x1ad)],()=>_0x4a95b3[_0x51a353(0x1a3)](_0x27d225=>{const _0x32c44e=_0x51a353;if(_0x27d225['id']===e[_0x32c44e(0x1d0)]['id']){let _0x3c29c2=_0x49b24f['get'](e[_0x32c44e(0x1a2)]);if(!this['getActiveWorkbook']())return;let _0x525919={'layoutConfig':_0x3c29c2[_0x32c44e(0x1a5)],'renderConfig':_0x3c29c2[_0x32c44e(0x1c0)]};if(_0x525919==null)return;this[_0x32c44e(0x1b0)](this[_0x32c44e(0x1b9)][_0x32c44e(0x1ad)],_0x525919);}})));}};r['FUniver']['extend'](l);
|