@univerjs-pro/sheets-print 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507021607
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 +40 -40
- 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 _0x394f(){const _0x57ab2d=['262014jqSkXW','_injector','PrintHeaderFooterSymbol','getActiveSheet','8950sfMZpE','getScreenshot','CancelSheetPrintOperation','updatePrintRenderConfig','PrintHeaderFooter','FEnum','beforeCommandExecuted','PrintPaperMargin','SheetPrintOpen','SheetPrintCanceled','CanceledError','PrintDirection','updatePrintConfig','_worksheet','FUniver','10656qOJBTb','saveScreenshotToClipboard','9799069AjJCyo','BeforeSheetPrintConfirm','PrintFreeze','1659348taKeBj','fireEvent','SheetPrintConfirmed','FEventName','ISheetPrintManagerService','4744784jNPWDs','_range','getRangeImage','PrintAlign','74OQeRAr','executeCommand','onCommandExecuted','getActiveUniverSheet','get','SheetPrintClientService','75uVpOma','print','PaperType','_initialize','cancel','PrintArea','PrintScale','registerEventHandler','ICommandService','SheetPrintOpenOperation','closePrintDialog','ConfirmSheetPrintOperation','FRange','8518288ZLaGCO','Event','renderConfig','BeforeSheetPrintOpen','layoutConfig','BeforeSheetPrintCanceled','34642LWxeVc','hasPrintFacadePermission','extend','syncExecuteCommand'];_0x394f=function(){return _0x57ab2d;};return _0x394f();}const _0xfe4157=_0x1fc1;(function(_0x287e0a,_0x488693){const _0x3a1400=_0x1fc1,_0x4249e7=_0x287e0a();while(!![]){try{const _0x6dde0a=-parseInt(_0x3a1400(0x1f5))/0x1*(-parseInt(_0x3a1400(0x21a))/0x2)+parseInt(_0x3a1400(0x211))/0x3+-parseInt(_0x3a1400(0x216))/0x4+-parseInt(_0x3a1400(0x1e2))/0x5*(parseInt(_0x3a1400(0x1f9))/0x6)+-parseInt(_0x3a1400(0x20e))/0x7+parseInt(_0x3a1400(0x1ef))/0x8+parseInt(_0x3a1400(0x20c))/0x9*(parseInt(_0x3a1400(0x1fd))/0xa);if(_0x6dde0a===_0x488693)break;else _0x4249e7['push'](_0x4249e7['shift']());}catch(_0x3d35fe){_0x4249e7['push'](_0x4249e7['shift']());}}}(_0x394f,0xaf59e));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');function _0x1fc1(_0x471287,_0x3d674a){const _0x394f0d=_0x394f();return _0x1fc1=function(_0x1fc148,_0x2dd393){_0x1fc148=_0x1fc148-0x1e2;let _0xbd5e6c=_0x394f0d[_0x1fc148];return _0xbd5e6c;},_0x1fc1(_0x471287,_0x3d674a);}class S extends d['FWorkbook']{[_0xfe4157(0x209)](_0x32288a){const _0x1ec19f=_0xfe4157;return this['_injector']['get'](e[_0x1ec19f(0x215)])['updateLayoutConfig'](_0x32288a),this;}[_0xfe4157(0x200)](_0x47b9b1){const _0x516931=_0xfe4157;return this[_0x516931(0x1fa)][_0x516931(0x21e)](e[_0x516931(0x215)])['updateRenderConfig'](_0x47b9b1),this;}[_0xfe4157(0x1e3)](){const _0x1d7993=_0xfe4157;return this[_0x1d7993(0x1fa)][_0x1d7993(0x21e)](a['ICommandService'])[_0x1d7993(0x1f8)](e['ConfirmSheetPrintOperation']['id']);}['openPrintDialog'](){const _0x54f647=_0xfe4157;return this[_0x54f647(0x1fa)]['get'](a[_0x54f647(0x1ea)])[_0x54f647(0x1f8)](e[_0x54f647(0x1eb)]['id']);}[_0xfe4157(0x1ec)](){const _0x5ecf8a=_0xfe4157;return this[_0x5ecf8a(0x1fa)][_0x5ecf8a(0x21e)](a[_0x5ecf8a(0x1ea)])[_0x5ecf8a(0x1f8)](e[_0x5ecf8a(0x1ff)]['id']);}async[_0xfe4157(0x20d)](){const _0x4fd0fc=_0xfe4157;return e[_0x4fd0fc(0x1f6)](this['_injector'])?this['_injector'][_0x4fd0fc(0x21e)](a[_0x4fd0fc(0x1ea)])[_0x4fd0fc(0x21b)](e['SheetScreenShotOperation']['id']):!0x1;}}d['FWorkbook'][_0xfe4157(0x1f7)](S);class f extends d[_0xfe4157(0x1ee)]{[_0xfe4157(0x1fe)](){const _0x32395e=_0xfe4157;return e[_0x32395e(0x1f6)](this['_injector'])?this[_0x32395e(0x1fa)][_0x32395e(0x21e)](e[_0x32395e(0x21f)])[_0x32395e(0x218)](this['_workbook']['getUnitId'](),this[_0x32395e(0x20a)]['getSheetId'](),this[_0x32395e(0x217)]):!0x1;}}d[_0xfe4157(0x1ee)]['extend'](f);class P{get['BeforeSheetPrintOpen'](){const _0x207af1=_0xfe4157;return _0x207af1(0x1f2);}get['BeforeSheetPrintConfirm'](){return'BeforeSheetPrintConfirm';}get[_0xfe4157(0x1f4)](){return'BeforeSheetPrintCanceled';}get[_0xfe4157(0x205)](){const _0x5e47a6=_0xfe4157;return _0x5e47a6(0x205);}get[_0xfe4157(0x213)](){const _0xfb02c5=_0xfe4157;return _0xfb02c5(0x213);}get[_0xfe4157(0x206)](){const _0x437a9d=_0xfe4157;return _0x437a9d(0x206);}}g[_0xfe4157(0x214)]['extend'](P);class u{get[_0xfe4157(0x1e7)](){const _0x31588f=_0xfe4157;return e[_0x31588f(0x1e7)];}get[_0xfe4157(0x219)](){const _0x476bcd=_0xfe4157;return c[_0x476bcd(0x219)];}get['PrintPaperSize'](){const _0x3510dc=_0xfe4157;return a[_0x3510dc(0x1e4)];}get['PrintPaperMargin'](){const _0x34caa2=_0xfe4157;return c[_0x34caa2(0x204)];}get[_0xfe4157(0x1e8)](){const _0x25d47e=_0xfe4157;return c[_0x25d47e(0x1e8)];}get['PrintDirection'](){const _0x3248cc=_0xfe4157;return c[_0x3248cc(0x208)];}get['PrintFreeze'](){const _0x41a430=_0xfe4157;return e[_0x41a430(0x210)];}get['PrintHeaderFooter'](){const _0x580f54=_0xfe4157;return e[_0x580f54(0x201)];}get[_0xfe4157(0x1fb)](){const _0x4871bc=_0xfe4157;return e[_0x4871bc(0x1fb)];}}g[_0xfe4157(0x202)][_0xfe4157(0x1f7)](u);class l extends g['FUniver']{[_0xfe4157(0x1e5)](_0x4e59b6){const _0xbbd0d8=_0xfe4157,_0x4a6ec2=_0x4e59b6['get'](a[_0xbbd0d8(0x1ea)]);this[_0xbbd0d8(0x1e9)](this[_0xbbd0d8(0x1f0)]['BeforeSheetPrintOpen'],()=>_0x4a6ec2[_0xbbd0d8(0x203)](_0x39bf4d=>{const _0x2f8904=_0xbbd0d8;if(_0x39bf4d['id']===e[_0x2f8904(0x1eb)]['id']){const _0x209789=this[_0x2f8904(0x21d)]();if(!_0x209789)return;const _0xce448c={'workbook':_0x209789,'worksheet':_0x209789[_0x2f8904(0x1fc)]()};if(_0xce448c==null)return;if(this[_0x2f8904(0x212)](this[_0x2f8904(0x1f0)][_0x2f8904(0x1f2)],_0xce448c),_0xce448c[_0x2f8904(0x1e6)])throw new a[(_0x2f8904(0x207))]();}})),this[_0xbbd0d8(0x1e9)](this['Event'][_0xbbd0d8(0x20f)],()=>_0x4a6ec2[_0xbbd0d8(0x203)](_0xf27ae3=>{const _0x3f13db=_0xbbd0d8;if(_0xf27ae3['id']===e['ConfirmSheetPrintOperation']['id']){const _0x286597=_0x4e59b6[_0x3f13db(0x21e)](e[_0x3f13db(0x215)]);if(!this[_0x3f13db(0x21d)]())return;const _0x4d0b54={'layoutConfig':_0x286597[_0x3f13db(0x1f3)],'renderConfig':_0x286597[_0x3f13db(0x1f1)]};if(_0x4d0b54==null)return;if(this[_0x3f13db(0x212)](this['Event'][_0x3f13db(0x20f)],_0x4d0b54),_0x4d0b54['cancel'])throw new a[(_0x3f13db(0x207))]();}})),this[_0xbbd0d8(0x1e9)](this[_0xbbd0d8(0x1f0)][_0xbbd0d8(0x1f4)],()=>_0x4a6ec2[_0xbbd0d8(0x203)](_0x586d45=>{const _0x1be0e7=_0xbbd0d8;if(_0x586d45['id']===e[_0x1be0e7(0x1ff)]['id']){const _0x264c3c=_0x4e59b6[_0x1be0e7(0x21e)](e[_0x1be0e7(0x215)]);if(!this[_0x1be0e7(0x21d)]())return;const _0x41d67d={'layoutConfig':_0x264c3c[_0x1be0e7(0x1f3)],'renderConfig':_0x264c3c[_0x1be0e7(0x1f1)]};if(_0x41d67d==null)return;if(this['fireEvent'](this['Event'][_0x1be0e7(0x1f4)],_0x41d67d),_0x41d67d['cancel'])throw new a[(_0x1be0e7(0x207))]();}})),this[_0xbbd0d8(0x1e9)](this[_0xbbd0d8(0x1f0)][_0xbbd0d8(0x205)],()=>_0x4a6ec2['onCommandExecuted'](_0xa54b91=>{const _0x13e54b=_0xbbd0d8;if(_0xa54b91['id']===e[_0x13e54b(0x1eb)]['id']){const _0x52c928=this['getActiveUniverSheet']();if(!_0x52c928)return;const _0x4c3c6c={'workbook':_0x52c928,'worksheet':_0x52c928[_0x13e54b(0x1fc)]()};if(_0x4c3c6c==null)return;this[_0x13e54b(0x212)](this[_0x13e54b(0x1f0)][_0x13e54b(0x205)],_0x4c3c6c);}})),this[_0xbbd0d8(0x1e9)](this[_0xbbd0d8(0x1f0)][_0xbbd0d8(0x213)],()=>_0x4a6ec2['onCommandExecuted'](_0x5cbf50=>{const _0x426ae0=_0xbbd0d8;if(_0x5cbf50['id']===e[_0x426ae0(0x1ed)]['id']){const _0x521c82=_0x4e59b6[_0x426ae0(0x21e)](e[_0x426ae0(0x215)]);if(!this[_0x426ae0(0x21d)]())return;const _0x2a038c={'layoutConfig':_0x521c82[_0x426ae0(0x1f3)],'renderConfig':_0x521c82['renderConfig']};if(_0x2a038c==null)return;this[_0x426ae0(0x212)](this[_0x426ae0(0x1f0)]['SheetPrintConfirmed'],_0x2a038c);}})),this[_0xbbd0d8(0x1e9)](this[_0xbbd0d8(0x1f0)][_0xbbd0d8(0x206)],()=>_0x4a6ec2[_0xbbd0d8(0x21c)](_0x1c9130=>{const _0x17b5d4=_0xbbd0d8;if(_0x1c9130['id']===e[_0x17b5d4(0x1ff)]['id']){const _0x2ea406=_0x4e59b6[_0x17b5d4(0x21e)](e[_0x17b5d4(0x215)]);if(!this[_0x17b5d4(0x21d)]())return;const _0x5f1af2={'layoutConfig':_0x2ea406[_0x17b5d4(0x1f3)],'renderConfig':_0x2ea406[_0x17b5d4(0x1f1)]};if(_0x5f1af2==null)return;this[_0x17b5d4(0x212)](this[_0x17b5d4(0x1f0)][_0x17b5d4(0x206)],_0x5f1af2);}}));}}g[_0xfe4157(0x20b)][_0xfe4157(0x1f7)](l);
|