@univerjs-pro/sheets-print 0.16.1 → 0.17.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/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/ja-JP.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/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-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/ja-JP.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/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-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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/types/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +39 -39
- package/lib/types/plugin.d.ts +2 -0
- 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/ja-JP.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/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-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 _0x1509ad=_0x57ed;(function(_0x3500e4,_0xf00ae1){const _0x235d05=_0x57ed,_0x4e8566=_0x3500e4();while(!![]){try{const _0x5d2c6e=-parseInt(_0x235d05(0xbb))/0x1*(parseInt(_0x235d05(0x9b))/0x2)+parseInt(_0x235d05(0x95))/0x3+parseInt(_0x235d05(0x8b))/0x4+-parseInt(_0x235d05(0x8a))/0x5*(-parseInt(_0x235d05(0x8d))/0x6)+parseInt(_0x235d05(0xa1))/0x7+-parseInt(_0x235d05(0x80))/0x8*(-parseInt(_0x235d05(0x9f))/0x9)+parseInt(_0x235d05(0x99))/0xa*(-parseInt(_0x235d05(0x90))/0xb);if(_0x5d2c6e===_0xf00ae1)break;else _0x4e8566['push'](_0x4e8566['shift']());}catch(_0x10531e){_0x4e8566['push'](_0x4e8566['shift']());}}}(_0x1eb5,0x1a444));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 _0x1eb5(){const _0x5b1591=['PrintHeaderFooterSymbol','get','updateRenderConfig','3686690xIWDFq','hasPrintFacadePermission','418628cFzcEJ','getRangeImage','fireEvent','updatePrintConfig','183015fXKZht','_worksheet','1425620dsIgBw','ConfirmSheetPrintOperation','BeforeSheetPrintConfirm','includeHeaders','PrintPaperSize','Event','SheetScreenShotOperation','registerEventHandler','SheetPrintOpenOperation','ICommandService','SheetPrintOpen','cancel','layoutConfig','BeforeSheetPrintCanceled','getUnitId','PrintFreeze','PrintArea','PrintScale','getActiveSheet','PrintPaperMargin','PrintAlign','CancelSheetPrintOperation','updatePrintRenderConfig','extend','syncExecuteCommand','openPrintDialog','1zYyOTK','print','beforeCommandExecuted','FEventName','SheetPrintCanceled','_initialize','getScreenshot','ISheetPrintManagerService','PrintHeaderFooter','FWorkbook','_workbook','56KtjzPT','CanceledError','_range','disposeWithMe','closePrintDialog','renderConfig','PrintDirection','_injector','SheetPrintConfirmed','onCommandExecuted','58655fYXuvZ','185800rGiwjI','FEnum','48VouQJF','getActiveUniverSheet','FUniver','11mdJaeR','FRange','PaperType','saveScreenshotToClipboard','BeforeSheetPrintOpen','597804GgKkNg'];_0x1eb5=function(){return _0x5b1591;};return _0x1eb5();}class S extends d['FWorkbook']{[_0x1509ad(0x9e)](_0x2bec96){const _0x21e3cf=_0x1509ad;return this[_0x21e3cf(0x87)][_0x21e3cf(0x97)](e[_0x21e3cf(0x7c)])['updateLayoutConfig'](_0x2bec96),this;}[_0x1509ad(0xb7)](_0x2f2d31){const _0x283fe9=_0x1509ad;return this['_injector'][_0x283fe9(0x97)](e[_0x283fe9(0x7c)])[_0x283fe9(0x98)](_0x2f2d31),this;}[_0x1509ad(0xbc)](){const _0x1633a1=_0x1509ad;return this[_0x1633a1(0x87)][_0x1633a1(0x97)](a[_0x1633a1(0xaa)])[_0x1633a1(0xb9)](e[_0x1633a1(0xa2)]['id']);}[_0x1509ad(0xba)](){const _0x3fe969=_0x1509ad;return this[_0x3fe969(0x87)][_0x3fe969(0x97)](a['ICommandService'])[_0x3fe969(0xb9)](e[_0x3fe969(0xa9)]['id']);}[_0x1509ad(0x84)](){const _0x4bcebb=_0x1509ad;return this[_0x4bcebb(0x87)][_0x4bcebb(0x97)](a[_0x4bcebb(0xaa)])[_0x4bcebb(0xb9)](e[_0x4bcebb(0xb6)]['id']);}async[_0x1509ad(0x93)](){const _0x519a5d=_0x1509ad;return e[_0x519a5d(0x9a)](this[_0x519a5d(0x87)])?this[_0x519a5d(0x87)][_0x519a5d(0x97)](a[_0x519a5d(0xaa)])['executeCommand'](e[_0x519a5d(0xa7)]['id']):!0x1;}}d[_0x1509ad(0x7e)][_0x1509ad(0xb8)](S);class f extends d[_0x1509ad(0x91)]{[_0x1509ad(0x7b)](_0x12378d){const _0x204cdb=_0x1509ad;return e[_0x204cdb(0x9a)](this[_0x204cdb(0x87)])?this[_0x204cdb(0x87)][_0x204cdb(0x97)](e['SheetPrintClientService'])[_0x204cdb(0x9c)](this[_0x204cdb(0x7f)][_0x204cdb(0xaf)](),this[_0x204cdb(0xa0)]['getSheetId'](),this[_0x204cdb(0x82)],_0x12378d==null?void 0x0:_0x12378d[_0x204cdb(0xa4)]):!0x1;}}d[_0x1509ad(0x91)]['extend'](f);class P{get[_0x1509ad(0x94)](){const _0x12bb4d=_0x1509ad;return _0x12bb4d(0x94);}get['BeforeSheetPrintConfirm'](){const _0x13d286=_0x1509ad;return _0x13d286(0xa3);}get[_0x1509ad(0xae)](){return'BeforeSheetPrintCanceled';}get[_0x1509ad(0xab)](){const _0x3f6c49=_0x1509ad;return _0x3f6c49(0xab);}get[_0x1509ad(0x88)](){const _0x474604=_0x1509ad;return _0x474604(0x88);}get[_0x1509ad(0x79)](){return'SheetPrintCanceled';}}g[_0x1509ad(0x78)][_0x1509ad(0xb8)](P);class u{get[_0x1509ad(0xb1)](){const _0x318f30=_0x1509ad;return e[_0x318f30(0xb1)];}get[_0x1509ad(0xb5)](){const _0x2d6fb5=_0x1509ad;return c[_0x2d6fb5(0xb5)];}get[_0x1509ad(0xa5)](){const _0x4e3101=_0x1509ad;return a[_0x4e3101(0x92)];}get[_0x1509ad(0xb4)](){const _0x1893d4=_0x1509ad;return c[_0x1893d4(0xb4)];}get[_0x1509ad(0xb2)](){const _0x249cf5=_0x1509ad;return c[_0x249cf5(0xb2)];}get[_0x1509ad(0x86)](){const _0x2952be=_0x1509ad;return c[_0x2952be(0x86)];}get[_0x1509ad(0xb0)](){const _0x25d2d3=_0x1509ad;return e[_0x25d2d3(0xb0)];}get[_0x1509ad(0x7d)](){const _0x249006=_0x1509ad;return e[_0x249006(0x7d)];}get[_0x1509ad(0x96)](){const _0x573dae=_0x1509ad;return e[_0x573dae(0x96)];}}g[_0x1509ad(0x8c)]['extend'](u);function _0x57ed(_0x1bdaa9,_0x1894f4){_0x1bdaa9=_0x1bdaa9-0x77;const _0x1eb575=_0x1eb5();let _0x57ed58=_0x1eb575[_0x1bdaa9];return _0x57ed58;}class l extends g[_0x1509ad(0x8f)]{[_0x1509ad(0x7a)](_0x33801b){const _0x5a6999=_0x1509ad,_0x52d6f5=_0x33801b[_0x5a6999(0x97)](a['ICommandService']);this[_0x5a6999(0x83)](this[_0x5a6999(0xa8)](this[_0x5a6999(0xa6)][_0x5a6999(0x94)],()=>_0x52d6f5[_0x5a6999(0x77)](_0x3cce28=>{const _0x4e51b9=_0x5a6999;if(_0x3cce28['id']===e[_0x4e51b9(0xa9)]['id']){const _0x5b9d48=this['getActiveUniverSheet']();if(!_0x5b9d48)return;const _0x4314d1={'workbook':_0x5b9d48,'worksheet':_0x5b9d48[_0x4e51b9(0xb3)]()};if(_0x4314d1==null)return;if(this[_0x4e51b9(0x9d)](this[_0x4e51b9(0xa6)][_0x4e51b9(0x94)],_0x4314d1),_0x4314d1[_0x4e51b9(0xac)])throw new a['CanceledError']();}}))),this[_0x5a6999(0x83)](this[_0x5a6999(0xa8)](this[_0x5a6999(0xa6)][_0x5a6999(0xa3)],()=>_0x52d6f5['beforeCommandExecuted'](_0x2e3686=>{const _0xeaef6b=_0x5a6999;if(_0x2e3686['id']===e['ConfirmSheetPrintOperation']['id']){const _0x38bc98=_0x33801b[_0xeaef6b(0x97)](e[_0xeaef6b(0x7c)]);if(!this[_0xeaef6b(0x8e)]())return;const _0x27d512={'layoutConfig':_0x38bc98[_0xeaef6b(0xad)],'renderConfig':_0x38bc98[_0xeaef6b(0x85)]};if(_0x27d512==null)return;if(this['fireEvent'](this[_0xeaef6b(0xa6)][_0xeaef6b(0xa3)],_0x27d512),_0x27d512['cancel'])throw new a[(_0xeaef6b(0x81))]();}}))),this[_0x5a6999(0x83)](this['registerEventHandler'](this[_0x5a6999(0xa6)][_0x5a6999(0xae)],()=>_0x52d6f5['beforeCommandExecuted'](_0x101fe2=>{const _0x5a7b01=_0x5a6999;if(_0x101fe2['id']===e[_0x5a7b01(0xb6)]['id']){const _0x1cdc99=_0x33801b[_0x5a7b01(0x97)](e[_0x5a7b01(0x7c)]);if(!this['getActiveUniverSheet']())return;const _0x390096={'layoutConfig':_0x1cdc99[_0x5a7b01(0xad)],'renderConfig':_0x1cdc99[_0x5a7b01(0x85)]};if(_0x390096==null)return;if(this[_0x5a7b01(0x9d)](this[_0x5a7b01(0xa6)][_0x5a7b01(0xae)],_0x390096),_0x390096['cancel'])throw new a[(_0x5a7b01(0x81))]();}}))),this['disposeWithMe'](this[_0x5a6999(0xa8)](this[_0x5a6999(0xa6)]['SheetPrintOpen'],()=>_0x52d6f5[_0x5a6999(0x89)](_0x2c2efe=>{const _0x1817bc=_0x5a6999;if(_0x2c2efe['id']===e[_0x1817bc(0xa9)]['id']){const _0xb50ac0=this[_0x1817bc(0x8e)]();if(!_0xb50ac0)return;const _0x5179e1={'workbook':_0xb50ac0,'worksheet':_0xb50ac0['getActiveSheet']()};if(_0x5179e1==null)return;this[_0x1817bc(0x9d)](this['Event'][_0x1817bc(0xab)],_0x5179e1);}}))),this[_0x5a6999(0x83)](this['registerEventHandler'](this[_0x5a6999(0xa6)][_0x5a6999(0x88)],()=>_0x52d6f5[_0x5a6999(0x89)](_0x47131b=>{const _0x4673d1=_0x5a6999;if(_0x47131b['id']===e[_0x4673d1(0xa2)]['id']){const _0x487633=_0x33801b[_0x4673d1(0x97)](e['ISheetPrintManagerService']);if(!this[_0x4673d1(0x8e)]())return;const _0x964c7a={'layoutConfig':_0x487633['layoutConfig'],'renderConfig':_0x487633[_0x4673d1(0x85)]};if(_0x964c7a==null)return;this[_0x4673d1(0x9d)](this[_0x4673d1(0xa6)][_0x4673d1(0x88)],_0x964c7a);}}))),this[_0x5a6999(0x83)](this['registerEventHandler'](this[_0x5a6999(0xa6)]['SheetPrintCanceled'],()=>_0x52d6f5[_0x5a6999(0x89)](_0x31449d=>{const _0x847e29=_0x5a6999;if(_0x31449d['id']===e[_0x847e29(0xb6)]['id']){const _0x50507f=_0x33801b[_0x847e29(0x97)](e[_0x847e29(0x7c)]);if(!this[_0x847e29(0x8e)]())return;const _0x1e198b={'layoutConfig':_0x50507f['layoutConfig'],'renderConfig':_0x50507f[_0x847e29(0x85)]};if(_0x1e198b==null)return;this[_0x847e29(0x9d)](this[_0x847e29(0xa6)][_0x847e29(0x79)],_0x1e198b);}})));}}g['FUniver'][_0x1509ad(0xb8)](l);
|