@univerjs-pro/sheets-print 0.9.4 → 0.10.0-nightly.202507310307
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 +43 -43
- 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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0xed3aba=_0x2972;(function(_0x5c57dc,_0x2d6899){const _0x3d5730=_0x2972,_0x391ce5=_0x5c57dc();while(!![]){try{const _0x12939c=parseInt(_0x3d5730(0xc6))/0x1+-parseInt(_0x3d5730(0xa6))/0x2+parseInt(_0x3d5730(0xba))/0x3*(-parseInt(_0x3d5730(0xcc))/0x4)+-parseInt(_0x3d5730(0xaf))/0x5*(-parseInt(_0x3d5730(0xce))/0x6)+-parseInt(_0x3d5730(0xa8))/0x7+parseInt(_0x3d5730(0xa4))/0x8+-parseInt(_0x3d5730(0xaa))/0x9*(-parseInt(_0x3d5730(0xc3))/0xa);if(_0x12939c===_0x2d6899)break;else _0x391ce5['push'](_0x391ce5['shift']());}catch(_0x4a53f1){_0x391ce5['push'](_0x391ce5['shift']());}}}(_0x5467,0x3653d));function _0x2972(_0x4084b5,_0x2d402d){const _0x546741=_0x5467();return _0x2972=function(_0x297208,_0x3ed01c){_0x297208=_0x297208-0x9a;let _0xbd2b27=_0x546741[_0x297208];return _0xbd2b27;},_0x2972(_0x4084b5,_0x2d402d);}function _0x5467(){const _0x541b7e=['321850Wroavo','getSheetId','renderConfig','416595hPbJJA','PrintHeaderFooterSymbol','_worksheet','SheetScreenShotOperation','updatePrintConfig','onCommandExecuted','60ABSXuV','ICommandService','5142viVFPK','PrintPaperMargin','saveScreenshotToClipboard','SheetPrintOpen','ISheetPrintManagerService','getActiveUniverSheet','updateLayoutConfig','BeforeSheetPrintConfirm','PrintPaperSize','SheetPrintOpenOperation','getUnitId','getActiveSheet','cancel','_injector','getScreenshot','registerEventHandler','SheetPrintCanceled','PrintFreeze','hasPrintFacadePermission','ConfirmSheetPrintOperation','PrintScale','extend','CancelSheetPrintOperation','121120SWDOfM','closePrintDialog','370690LSnzAQ','PrintDirection','1227394HZDVUg','BeforeSheetPrintOpen','45eMxsZA','get','FEventName','FRange','PrintAlign','305UTVOck','PrintHeaderFooter','_range','SheetPrintClientService','PrintArea','layoutConfig','executeCommand','openPrintDialog','FWorkbook','updatePrintRenderConfig','CanceledError','12345OfovYf','Event','syncExecuteCommand','_workbook','SheetPrintConfirmed','FUniver','beforeCommandExecuted','BeforeSheetPrintCanceled','fireEvent'];_0x5467=function(){return _0x541b7e;};return _0x5467();}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['FWorkbook']{[_0xed3aba(0xca)](_0x49071d){const _0x59ca05=_0xed3aba;return this[_0x59ca05(0x9a)]['get'](e[_0x59ca05(0xd2)])[_0x59ca05(0xd4)](_0x49071d),this;}[_0xed3aba(0xb8)](_0x231f06){const _0x44e99e=_0xed3aba;return this[_0x44e99e(0x9a)][_0x44e99e(0xab)](e[_0x44e99e(0xd2)])['updateRenderConfig'](_0x231f06),this;}['print'](){const _0x195a08=_0xed3aba;return this[_0x195a08(0x9a)][_0x195a08(0xab)](a[_0x195a08(0xcd)])[_0x195a08(0xbc)](e[_0x195a08(0xa0)]['id']);}[_0xed3aba(0xb6)](){const _0x861cc2=_0xed3aba;return this[_0x861cc2(0x9a)][_0x861cc2(0xab)](a[_0x861cc2(0xcd)])[_0x861cc2(0xbc)](e[_0x861cc2(0xd7)]['id']);}[_0xed3aba(0xa5)](){const _0x1d62a8=_0xed3aba;return this[_0x1d62a8(0x9a)][_0x1d62a8(0xab)](a['ICommandService'])[_0x1d62a8(0xbc)](e[_0x1d62a8(0xa3)]['id']);}async[_0xed3aba(0xd0)](){const _0x438677=_0xed3aba;return e[_0x438677(0x9f)](this[_0x438677(0x9a)])?this[_0x438677(0x9a)][_0x438677(0xab)](a[_0x438677(0xcd)])[_0x438677(0xb5)](e[_0x438677(0xc9)]['id']):!0x1;}}d[_0xed3aba(0xb7)]['extend'](S);class f extends d['FRange']{[_0xed3aba(0x9b)](){const _0x4a6e52=_0xed3aba;return e['hasPrintFacadePermission'](this[_0x4a6e52(0x9a)])?this[_0x4a6e52(0x9a)]['get'](e[_0x4a6e52(0xb2)])['getRangeImage'](this[_0x4a6e52(0xbd)][_0x4a6e52(0xd8)](),this[_0x4a6e52(0xc8)][_0x4a6e52(0xc4)](),this[_0x4a6e52(0xb1)]):!0x1;}}d[_0xed3aba(0xad)][_0xed3aba(0xa2)](f);class P{get[_0xed3aba(0xa9)](){return'BeforeSheetPrintOpen';}get[_0xed3aba(0xd5)](){const _0x147fea=_0xed3aba;return _0x147fea(0xd5);}get[_0xed3aba(0xc1)](){return'BeforeSheetPrintCanceled';}get[_0xed3aba(0xd1)](){const _0x1e7ca9=_0xed3aba;return _0x1e7ca9(0xd1);}get['SheetPrintConfirmed'](){const _0x46e1c1=_0xed3aba;return _0x46e1c1(0xbe);}get[_0xed3aba(0x9d)](){return'SheetPrintCanceled';}}g[_0xed3aba(0xac)][_0xed3aba(0xa2)](P);class u{get[_0xed3aba(0xb3)](){const _0x198aca=_0xed3aba;return e[_0x198aca(0xb3)];}get[_0xed3aba(0xae)](){const _0x3179b8=_0xed3aba;return c[_0x3179b8(0xae)];}get[_0xed3aba(0xd6)](){return a['PaperType'];}get[_0xed3aba(0xcf)](){const _0x322567=_0xed3aba;return c[_0x322567(0xcf)];}get[_0xed3aba(0xa1)](){const _0x45e752=_0xed3aba;return c[_0x45e752(0xa1)];}get['PrintDirection'](){const _0x2c1933=_0xed3aba;return c[_0x2c1933(0xa7)];}get['PrintFreeze'](){const _0x4287c2=_0xed3aba;return e[_0x4287c2(0x9e)];}get[_0xed3aba(0xb0)](){const _0x23f50d=_0xed3aba;return e[_0x23f50d(0xb0)];}get[_0xed3aba(0xc7)](){const _0x5d50b0=_0xed3aba;return e[_0x5d50b0(0xc7)];}}g['FEnum']['extend'](u);class l extends g[_0xed3aba(0xbf)]{['_initialize'](_0x18d62d){const _0x294656=_0xed3aba,_0x6bcc61=_0x18d62d[_0x294656(0xab)](a['ICommandService']);this['registerEventHandler'](this[_0x294656(0xbb)][_0x294656(0xa9)],()=>_0x6bcc61[_0x294656(0xc0)](_0x3d5283=>{const _0x2a2d07=_0x294656;if(_0x3d5283['id']===e['SheetPrintOpenOperation']['id']){const _0x2594aa=this[_0x2a2d07(0xd3)]();if(!_0x2594aa)return;const _0x566027={'workbook':_0x2594aa,'worksheet':_0x2594aa[_0x2a2d07(0xd9)]()};if(_0x566027==null)return;if(this[_0x2a2d07(0xc2)](this[_0x2a2d07(0xbb)][_0x2a2d07(0xa9)],_0x566027),_0x566027['cancel'])throw new a[(_0x2a2d07(0xb9))]();}})),this['registerEventHandler'](this[_0x294656(0xbb)]['BeforeSheetPrintConfirm'],()=>_0x6bcc61['beforeCommandExecuted'](_0xa89a4b=>{const _0x5643c4=_0x294656;if(_0xa89a4b['id']===e[_0x5643c4(0xa0)]['id']){const _0x568631=_0x18d62d[_0x5643c4(0xab)](e[_0x5643c4(0xd2)]);if(!this[_0x5643c4(0xd3)]())return;const _0x1ce3c7={'layoutConfig':_0x568631[_0x5643c4(0xb4)],'renderConfig':_0x568631[_0x5643c4(0xc5)]};if(_0x1ce3c7==null)return;if(this[_0x5643c4(0xc2)](this[_0x5643c4(0xbb)][_0x5643c4(0xd5)],_0x1ce3c7),_0x1ce3c7['cancel'])throw new a[(_0x5643c4(0xb9))]();}})),this[_0x294656(0x9c)](this['Event'][_0x294656(0xc1)],()=>_0x6bcc61[_0x294656(0xc0)](_0x315d80=>{const _0x46cd9f=_0x294656;if(_0x315d80['id']===e[_0x46cd9f(0xa3)]['id']){const _0x1fce88=_0x18d62d[_0x46cd9f(0xab)](e[_0x46cd9f(0xd2)]);if(!this[_0x46cd9f(0xd3)]())return;const _0x5f2c1b={'layoutConfig':_0x1fce88[_0x46cd9f(0xb4)],'renderConfig':_0x1fce88[_0x46cd9f(0xc5)]};if(_0x5f2c1b==null)return;if(this['fireEvent'](this['Event'][_0x46cd9f(0xc1)],_0x5f2c1b),_0x5f2c1b[_0x46cd9f(0xda)])throw new a[(_0x46cd9f(0xb9))]();}})),this[_0x294656(0x9c)](this['Event']['SheetPrintOpen'],()=>_0x6bcc61['onCommandExecuted'](_0x42feae=>{const _0x14e4d2=_0x294656;if(_0x42feae['id']===e[_0x14e4d2(0xd7)]['id']){const _0x215bab=this[_0x14e4d2(0xd3)]();if(!_0x215bab)return;const _0x58c9f4={'workbook':_0x215bab,'worksheet':_0x215bab[_0x14e4d2(0xd9)]()};if(_0x58c9f4==null)return;this[_0x14e4d2(0xc2)](this[_0x14e4d2(0xbb)][_0x14e4d2(0xd1)],_0x58c9f4);}})),this[_0x294656(0x9c)](this[_0x294656(0xbb)][_0x294656(0xbe)],()=>_0x6bcc61['onCommandExecuted'](_0x4c42b3=>{const _0x22a721=_0x294656;if(_0x4c42b3['id']===e['ConfirmSheetPrintOperation']['id']){const _0x5d2111=_0x18d62d[_0x22a721(0xab)](e[_0x22a721(0xd2)]);if(!this[_0x22a721(0xd3)]())return;const _0x50b38e={'layoutConfig':_0x5d2111['layoutConfig'],'renderConfig':_0x5d2111['renderConfig']};if(_0x50b38e==null)return;this[_0x22a721(0xc2)](this[_0x22a721(0xbb)][_0x22a721(0xbe)],_0x50b38e);}})),this['registerEventHandler'](this[_0x294656(0xbb)][_0x294656(0x9d)],()=>_0x6bcc61[_0x294656(0xcb)](_0xbf05b9=>{const _0x47a49b=_0x294656;if(_0xbf05b9['id']===e['CancelSheetPrintOperation']['id']){const _0x1b3474=_0x18d62d['get'](e[_0x47a49b(0xd2)]);if(!this['getActiveUniverSheet']())return;const _0x724f6c={'layoutConfig':_0x1b3474['layoutConfig'],'renderConfig':_0x1b3474[_0x47a49b(0xc5)]};if(_0x724f6c==null)return;this[_0x47a49b(0xc2)](this[_0x47a49b(0xbb)][_0x47a49b(0x9d)],_0x724f6c);}}));}}g['FUniver'][_0xed3aba(0xa2)](l);
|