@univerjs-pro/sheets-print 0.9.1-nightly.202507041607 → 0.9.1-nightly.202507061606
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 +36 -36
- 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';const
|
|
1
|
+
'use strict';function _0x1f88(){const _0x2099fb=['extend','SheetPrintCanceled','CanceledError','getScreenshot','PrintPaperMargin','CancelSheetPrintOperation','updateRenderConfig','7BTkDsj','getUnitId','onCommandExecuted','FEnum','8424918FfcSAL','3108918XgsWDm','3231680PDvTfy','getRangeImage','ISheetPrintManagerService','PrintFreeze','3uooSnA','SheetPrintClientService','515155SvLHVm','fireEvent','538726MpAOlv','SheetPrintOpenOperation','_worksheet','_injector','PrintScale','PrintDirection','FWorkbook','FEventName','openPrintDialog','1863840uTTpMY','PrintHeaderFooter','updatePrintConfig','getActiveUniverSheet','closePrintDialog','Event','saveScreenshotToClipboard','SheetPrintOpen','FUniver','hasPrintFacadePermission','executeCommand','PrintArea','FRange','get','BeforeSheetPrintConfirm','PrintAlign','beforeCommandExecuted','355584IdCHeY','BeforeSheetPrintOpen','PaperType','getActiveSheet','syncExecuteCommand','registerEventHandler','BeforeSheetPrintCanceled','layoutConfig','ConfirmSheetPrintOperation','updatePrintRenderConfig','_range','SheetPrintConfirmed','print','renderConfig','getSheetId','PrintHeaderFooterSymbol','cancel','ICommandService'];_0x1f88=function(){return _0x2099fb;};return _0x1f88();}const _0x3f8799=_0x3a08;(function(_0x4179d6,_0x5e2ecd){const _0x577f2a=_0x3a08,_0x51c687=_0x4179d6();while(!![]){try{const _0x1cba9f=parseInt(_0x577f2a(0xbf))/0x1+-parseInt(_0x577f2a(0xa5))/0x2*(-parseInt(_0x577f2a(0xe2))/0x3)+-parseInt(_0x577f2a(0xae))/0x4+parseInt(_0x577f2a(0xa3))/0x5+-parseInt(_0x577f2a(0xdd))/0x6*(parseInt(_0x577f2a(0xd8))/0x7)+-parseInt(_0x577f2a(0xde))/0x8+parseInt(_0x577f2a(0xdc))/0x9;if(_0x1cba9f===_0x5e2ecd)break;else _0x51c687['push'](_0x51c687['shift']());}catch(_0x454f96){_0x51c687['push'](_0x51c687['shift']());}}}(_0x1f88,0x43627));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[_0x3f8799(0xab)]{[_0x3f8799(0xb0)](_0x5e1d61){const _0x5a4346=_0x3f8799;return this[_0x5a4346(0xa8)]['get'](e[_0x5a4346(0xe0)])['updateLayoutConfig'](_0x5e1d61),this;}[_0x3f8799(0xc8)](_0x32c51b){const _0x2df3bf=_0x3f8799;return this[_0x2df3bf(0xa8)][_0x2df3bf(0xbb)](e[_0x2df3bf(0xe0)])[_0x2df3bf(0xd7)](_0x32c51b),this;}[_0x3f8799(0xcb)](){const _0x83a8c2=_0x3f8799;return this[_0x83a8c2(0xa8)][_0x83a8c2(0xbb)](a[_0x83a8c2(0xd0)])[_0x83a8c2(0xc3)](e[_0x83a8c2(0xc7)]['id']);}[_0x3f8799(0xad)](){const _0x2f72df=_0x3f8799;return this[_0x2f72df(0xa8)][_0x2f72df(0xbb)](a[_0x2f72df(0xd0)])[_0x2f72df(0xc3)](e[_0x2f72df(0xa6)]['id']);}[_0x3f8799(0xb2)](){const _0x401ba7=_0x3f8799;return this['_injector'][_0x401ba7(0xbb)](a[_0x401ba7(0xd0)])[_0x401ba7(0xc3)](e[_0x401ba7(0xd6)]['id']);}async[_0x3f8799(0xb4)](){const _0x259f31=_0x3f8799;return e[_0x259f31(0xb7)](this[_0x259f31(0xa8)])?this['_injector'][_0x259f31(0xbb)](a[_0x259f31(0xd0)])[_0x259f31(0xb8)](e['SheetScreenShotOperation']['id']):!0x1;}}function _0x3a08(_0x17b6a0,_0x5035ce){const _0x1f88a4=_0x1f88();return _0x3a08=function(_0x3a08cf,_0x36c36c){_0x3a08cf=_0x3a08cf-0xa3;let _0x40b7bc=_0x1f88a4[_0x3a08cf];return _0x40b7bc;},_0x3a08(_0x17b6a0,_0x5035ce);}d['FWorkbook'][_0x3f8799(0xd1)](S);class f extends d[_0x3f8799(0xba)]{[_0x3f8799(0xd4)](){const _0xa72a78=_0x3f8799;return e['hasPrintFacadePermission'](this[_0xa72a78(0xa8)])?this[_0xa72a78(0xa8)][_0xa72a78(0xbb)](e[_0xa72a78(0xe3)])[_0xa72a78(0xdf)](this['_workbook'][_0xa72a78(0xd9)](),this[_0xa72a78(0xa7)][_0xa72a78(0xcd)](),this[_0xa72a78(0xc9)]):!0x1;}}d[_0x3f8799(0xba)]['extend'](f);class P{get[_0x3f8799(0xc0)](){const _0x444fea=_0x3f8799;return _0x444fea(0xc0);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0x3f8799(0xc5)](){const _0x169dd2=_0x3f8799;return _0x169dd2(0xc5);}get['SheetPrintOpen'](){const _0x3fbb40=_0x3f8799;return _0x3fbb40(0xb5);}get[_0x3f8799(0xca)](){const _0x5d21d2=_0x3f8799;return _0x5d21d2(0xca);}get['SheetPrintCanceled'](){const _0x47709c=_0x3f8799;return _0x47709c(0xd2);}}g[_0x3f8799(0xac)]['extend'](P);class u{get[_0x3f8799(0xb9)](){return e['PrintArea'];}get[_0x3f8799(0xbd)](){return c['PrintAlign'];}get['PrintPaperSize'](){const _0x3ba152=_0x3f8799;return a[_0x3ba152(0xc1)];}get['PrintPaperMargin'](){const _0x69725c=_0x3f8799;return c[_0x69725c(0xd5)];}get[_0x3f8799(0xa9)](){const _0x355417=_0x3f8799;return c[_0x355417(0xa9)];}get[_0x3f8799(0xaa)](){const _0x101cd4=_0x3f8799;return c[_0x101cd4(0xaa)];}get[_0x3f8799(0xe1)](){const _0x1907b7=_0x3f8799;return e[_0x1907b7(0xe1)];}get['PrintHeaderFooter'](){const _0x4cc183=_0x3f8799;return e[_0x4cc183(0xaf)];}get[_0x3f8799(0xce)](){const _0x4c0082=_0x3f8799;return e[_0x4c0082(0xce)];}}g[_0x3f8799(0xdb)][_0x3f8799(0xd1)](u);class l extends g[_0x3f8799(0xb6)]{['_initialize'](_0x306b4f){const _0x115945=_0x3f8799,_0xcd433=_0x306b4f['get'](a[_0x115945(0xd0)]);this[_0x115945(0xc4)](this[_0x115945(0xb3)][_0x115945(0xc0)],()=>_0xcd433[_0x115945(0xbe)](_0x17f2a3=>{const _0x50ef5a=_0x115945;if(_0x17f2a3['id']===e[_0x50ef5a(0xa6)]['id']){const _0x4b6510=this['getActiveUniverSheet']();if(!_0x4b6510)return;const _0xb460a2={'workbook':_0x4b6510,'worksheet':_0x4b6510[_0x50ef5a(0xc2)]()};if(_0xb460a2==null)return;if(this[_0x50ef5a(0xa4)](this[_0x50ef5a(0xb3)][_0x50ef5a(0xc0)],_0xb460a2),_0xb460a2[_0x50ef5a(0xcf)])throw new a[(_0x50ef5a(0xd3))]();}})),this['registerEventHandler'](this[_0x115945(0xb3)][_0x115945(0xbc)],()=>_0xcd433[_0x115945(0xbe)](_0x321f14=>{const _0x44fd62=_0x115945;if(_0x321f14['id']===e['ConfirmSheetPrintOperation']['id']){const _0x2b975b=_0x306b4f[_0x44fd62(0xbb)](e[_0x44fd62(0xe0)]);if(!this[_0x44fd62(0xb1)]())return;const _0xf67844={'layoutConfig':_0x2b975b[_0x44fd62(0xc6)],'renderConfig':_0x2b975b[_0x44fd62(0xcc)]};if(_0xf67844==null)return;if(this[_0x44fd62(0xa4)](this['Event'][_0x44fd62(0xbc)],_0xf67844),_0xf67844[_0x44fd62(0xcf)])throw new a[(_0x44fd62(0xd3))]();}})),this['registerEventHandler'](this[_0x115945(0xb3)]['BeforeSheetPrintCanceled'],()=>_0xcd433[_0x115945(0xbe)](_0x2c85c1=>{const _0x53db66=_0x115945;if(_0x2c85c1['id']===e[_0x53db66(0xd6)]['id']){const _0x3b75aa=_0x306b4f[_0x53db66(0xbb)](e[_0x53db66(0xe0)]);if(!this[_0x53db66(0xb1)]())return;const _0x2072a1={'layoutConfig':_0x3b75aa[_0x53db66(0xc6)],'renderConfig':_0x3b75aa[_0x53db66(0xcc)]};if(_0x2072a1==null)return;if(this[_0x53db66(0xa4)](this[_0x53db66(0xb3)][_0x53db66(0xc5)],_0x2072a1),_0x2072a1[_0x53db66(0xcf)])throw new a[(_0x53db66(0xd3))]();}})),this[_0x115945(0xc4)](this[_0x115945(0xb3)][_0x115945(0xb5)],()=>_0xcd433[_0x115945(0xda)](_0x11676b=>{const _0x203584=_0x115945;if(_0x11676b['id']===e['SheetPrintOpenOperation']['id']){const _0x10b3dd=this[_0x203584(0xb1)]();if(!_0x10b3dd)return;const _0x5192d3={'workbook':_0x10b3dd,'worksheet':_0x10b3dd['getActiveSheet']()};if(_0x5192d3==null)return;this[_0x203584(0xa4)](this[_0x203584(0xb3)][_0x203584(0xb5)],_0x5192d3);}})),this['registerEventHandler'](this[_0x115945(0xb3)][_0x115945(0xca)],()=>_0xcd433[_0x115945(0xda)](_0x507b45=>{const _0x1e2de8=_0x115945;if(_0x507b45['id']===e[_0x1e2de8(0xc7)]['id']){const _0x45b9a2=_0x306b4f['get'](e[_0x1e2de8(0xe0)]);if(!this[_0x1e2de8(0xb1)]())return;const _0x2096b9={'layoutConfig':_0x45b9a2['layoutConfig'],'renderConfig':_0x45b9a2[_0x1e2de8(0xcc)]};if(_0x2096b9==null)return;this[_0x1e2de8(0xa4)](this[_0x1e2de8(0xb3)][_0x1e2de8(0xca)],_0x2096b9);}})),this[_0x115945(0xc4)](this['Event']['SheetPrintCanceled'],()=>_0xcd433[_0x115945(0xda)](_0x2d6557=>{const _0x36ab7a=_0x115945;if(_0x2d6557['id']===e[_0x36ab7a(0xd6)]['id']){const _0xf02d26=_0x306b4f[_0x36ab7a(0xbb)](e[_0x36ab7a(0xe0)]);if(!this[_0x36ab7a(0xb1)]())return;const _0x19e357={'layoutConfig':_0xf02d26[_0x36ab7a(0xc6)],'renderConfig':_0xf02d26[_0x36ab7a(0xcc)]};if(_0x19e357==null)return;this[_0x36ab7a(0xa4)](this[_0x36ab7a(0xb3)]['SheetPrintCanceled'],_0x19e357);}}));}}g[_0x3f8799(0xb6)][_0x3f8799(0xd1)](l);
|