@univerjs-pro/sheets-print 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507161608
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 +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/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 +14 -14
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3780df=_0x1451;(function(_0x3ffe3f,_0x246826){const _0x4c75c4=_0x1451,_0x44d2c4=_0x3ffe3f();while(!![]){try{const _0x5d5ae2=parseInt(_0x4c75c4(0x191))/0x1*(parseInt(_0x4c75c4(0x186))/0x2)+-parseInt(_0x4c75c4(0x1a9))/0x3*(parseInt(_0x4c75c4(0x19e))/0x4)+parseInt(_0x4c75c4(0x180))/0x5+parseInt(_0x4c75c4(0x198))/0x6+parseInt(_0x4c75c4(0x196))/0x7*(parseInt(_0x4c75c4(0x1b1))/0x8)+-parseInt(_0x4c75c4(0x1ac))/0x9*(parseInt(_0x4c75c4(0x1b0))/0xa)+parseInt(_0x4c75c4(0x187))/0xb;if(_0x5d5ae2===_0x246826)break;else _0x44d2c4['push'](_0x44d2c4['shift']());}catch(_0x1c4e77){_0x44d2c4['push'](_0x44d2c4['shift']());}}}(_0x39f0,0xe98b9));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']{[_0x3780df(0x1a6)](_0x4447bc){const _0x265bee=_0x3780df;return this[_0x265bee(0x199)][_0x265bee(0x1a0)](e[_0x265bee(0x19c)])[_0x265bee(0x1a7)](_0x4447bc),this;}[_0x3780df(0x19a)](_0x41e09c){const _0x48a599=_0x3780df;return this[_0x48a599(0x199)][_0x48a599(0x1a0)](e[_0x48a599(0x19c)])['updateRenderConfig'](_0x41e09c),this;}[_0x3780df(0x185)](){const _0x236b44=_0x3780df;return this[_0x236b44(0x199)][_0x236b44(0x1a0)](a[_0x236b44(0x1b8)])[_0x236b44(0x193)](e[_0x236b44(0x19b)]['id']);}[_0x3780df(0x1af)](){const _0x5e1c34=_0x3780df;return this[_0x5e1c34(0x199)][_0x5e1c34(0x1a0)](a['ICommandService'])[_0x5e1c34(0x193)](e[_0x5e1c34(0x1ad)]['id']);}[_0x3780df(0x1aa)](){const _0x11434e=_0x3780df;return this[_0x11434e(0x199)][_0x11434e(0x1a0)](a[_0x11434e(0x1b8)])[_0x11434e(0x193)](e[_0x11434e(0x18e)]['id']);}async[_0x3780df(0x1bc)](){const _0x3f4322=_0x3780df;return e[_0x3f4322(0x1b4)](this[_0x3f4322(0x199)])?this[_0x3f4322(0x199)][_0x3f4322(0x1a0)](a[_0x3f4322(0x1b8)])[_0x3f4322(0x18a)](e[_0x3f4322(0x1b6)]['id']):!0x1;}}d[_0x3780df(0x1a4)]['extend'](S);class f extends d[_0x3780df(0x1c2)]{['getScreenshot'](){const _0x3626c0=_0x3780df;return e[_0x3626c0(0x1b4)](this['_injector'])?this[_0x3626c0(0x199)][_0x3626c0(0x1a0)](e['SheetPrintClientService'])[_0x3626c0(0x1ae)](this[_0x3626c0(0x17f)][_0x3626c0(0x192)](),this[_0x3626c0(0x195)][_0x3626c0(0x1b9)](),this[_0x3626c0(0x197)]):!0x1;}}d['FRange'][_0x3780df(0x190)](f);class P{get[_0x3780df(0x188)](){const _0x43750a=_0x3780df;return _0x43750a(0x188);}get[_0x3780df(0x1bd)](){return'BeforeSheetPrintConfirm';}get[_0x3780df(0x1bb)](){return'BeforeSheetPrintCanceled';}get[_0x3780df(0x1b7)](){return'SheetPrintOpen';}get[_0x3780df(0x1b3)](){const _0x1ec8ca=_0x3780df;return _0x1ec8ca(0x1b3);}get[_0x3780df(0x1ba)](){const _0x5cd69c=_0x3780df;return _0x5cd69c(0x1ba);}}g[_0x3780df(0x1a8)]['extend'](P);function _0x1451(_0x491fb8,_0x585eb5){const _0x39f04d=_0x39f0();return _0x1451=function(_0x145133,_0xefeaa7){_0x145133=_0x145133-0x17f;let _0x46d621=_0x39f04d[_0x145133];return _0x46d621;},_0x1451(_0x491fb8,_0x585eb5);}class u{get[_0x3780df(0x1a5)](){const _0x20b691=_0x3780df;return e[_0x20b691(0x1a5)];}get[_0x3780df(0x19f)](){const _0xddc3b8=_0x3780df;return c[_0xddc3b8(0x19f)];}get[_0x3780df(0x18b)](){const _0x948f02=_0x3780df;return a[_0x948f02(0x1c1)];}get['PrintPaperMargin'](){return c['PrintPaperMargin'];}get['PrintScale'](){const _0x52db0c=_0x3780df;return c[_0x52db0c(0x182)];}get['PrintDirection'](){const _0x3eb8a1=_0x3780df;return c[_0x3eb8a1(0x189)];}get[_0x3780df(0x1a3)](){const _0x1ee82e=_0x3780df;return e[_0x1ee82e(0x1a3)];}get[_0x3780df(0x19d)](){const _0x2df833=_0x3780df;return e[_0x2df833(0x19d)];}get[_0x3780df(0x183)](){return e['PrintHeaderFooterSymbol'];}}g[_0x3780df(0x184)]['extend'](u);class l extends g[_0x3780df(0x1b2)]{[_0x3780df(0x1c0)](_0x23f964){const _0xa32a2b=_0x3780df,_0x1b975e=_0x23f964['get'](a[_0xa32a2b(0x1b8)]);this[_0xa32a2b(0x18d)](this[_0xa32a2b(0x1a1)][_0xa32a2b(0x188)],()=>_0x1b975e[_0xa32a2b(0x1ab)](_0x4492d4=>{const _0x563900=_0xa32a2b;if(_0x4492d4['id']===e[_0x563900(0x1ad)]['id']){const _0xf7f0e5=this['getActiveUniverSheet']();if(!_0xf7f0e5)return;const _0x29d36d={'workbook':_0xf7f0e5,'worksheet':_0xf7f0e5[_0x563900(0x18c)]()};if(_0x29d36d==null)return;if(this[_0x563900(0x1bf)](this[_0x563900(0x1a1)][_0x563900(0x188)],_0x29d36d),_0x29d36d['cancel'])throw new a[(_0x563900(0x18f))]();}})),this[_0xa32a2b(0x18d)](this[_0xa32a2b(0x1a1)][_0xa32a2b(0x1bd)],()=>_0x1b975e[_0xa32a2b(0x1ab)](_0x1b61f0=>{const _0x46c249=_0xa32a2b;if(_0x1b61f0['id']===e[_0x46c249(0x19b)]['id']){const _0x3590fc=_0x23f964[_0x46c249(0x1a0)](e[_0x46c249(0x19c)]);if(!this[_0x46c249(0x1a2)]())return;const _0x44c46d={'layoutConfig':_0x3590fc[_0x46c249(0x194)],'renderConfig':_0x3590fc[_0x46c249(0x181)]};if(_0x44c46d==null)return;if(this[_0x46c249(0x1bf)](this[_0x46c249(0x1a1)]['BeforeSheetPrintConfirm'],_0x44c46d),_0x44c46d['cancel'])throw new a['CanceledError']();}})),this[_0xa32a2b(0x18d)](this[_0xa32a2b(0x1a1)][_0xa32a2b(0x1bb)],()=>_0x1b975e[_0xa32a2b(0x1ab)](_0x5d67ec=>{const _0x2d4f7e=_0xa32a2b;if(_0x5d67ec['id']===e[_0x2d4f7e(0x18e)]['id']){const _0x313dcb=_0x23f964['get'](e['ISheetPrintManagerService']);if(!this[_0x2d4f7e(0x1a2)]())return;const _0x5ae220={'layoutConfig':_0x313dcb[_0x2d4f7e(0x194)],'renderConfig':_0x313dcb[_0x2d4f7e(0x181)]};if(_0x5ae220==null)return;if(this[_0x2d4f7e(0x1bf)](this['Event']['BeforeSheetPrintCanceled'],_0x5ae220),_0x5ae220[_0x2d4f7e(0x1b5)])throw new a[(_0x2d4f7e(0x18f))]();}})),this['registerEventHandler'](this['Event']['SheetPrintOpen'],()=>_0x1b975e[_0xa32a2b(0x1be)](_0x2b0e32=>{const _0x1baf09=_0xa32a2b;if(_0x2b0e32['id']===e[_0x1baf09(0x1ad)]['id']){const _0x1a1b82=this[_0x1baf09(0x1a2)]();if(!_0x1a1b82)return;const _0x279a9c={'workbook':_0x1a1b82,'worksheet':_0x1a1b82[_0x1baf09(0x18c)]()};if(_0x279a9c==null)return;this[_0x1baf09(0x1bf)](this[_0x1baf09(0x1a1)][_0x1baf09(0x1b7)],_0x279a9c);}})),this[_0xa32a2b(0x18d)](this[_0xa32a2b(0x1a1)][_0xa32a2b(0x1b3)],()=>_0x1b975e['onCommandExecuted'](_0x3bf2fc=>{const _0x48b22f=_0xa32a2b;if(_0x3bf2fc['id']===e[_0x48b22f(0x19b)]['id']){const _0xc44cc2=_0x23f964[_0x48b22f(0x1a0)](e['ISheetPrintManagerService']);if(!this[_0x48b22f(0x1a2)]())return;const _0x4d3e99={'layoutConfig':_0xc44cc2[_0x48b22f(0x194)],'renderConfig':_0xc44cc2[_0x48b22f(0x181)]};if(_0x4d3e99==null)return;this[_0x48b22f(0x1bf)](this['Event'][_0x48b22f(0x1b3)],_0x4d3e99);}})),this['registerEventHandler'](this[_0xa32a2b(0x1a1)]['SheetPrintCanceled'],()=>_0x1b975e[_0xa32a2b(0x1be)](_0x4010f3=>{const _0x3a0213=_0xa32a2b;if(_0x4010f3['id']===e[_0x3a0213(0x18e)]['id']){const _0x1bb469=_0x23f964[_0x3a0213(0x1a0)](e[_0x3a0213(0x19c)]);if(!this[_0x3a0213(0x1a2)]())return;const _0x4a8992={'layoutConfig':_0x1bb469[_0x3a0213(0x194)],'renderConfig':_0x1bb469[_0x3a0213(0x181)]};if(_0x4a8992==null)return;this['fireEvent'](this['Event']['SheetPrintCanceled'],_0x4a8992);}}));}}function _0x39f0(){const _0x1d73ec=['369XFtHEZ','SheetPrintOpenOperation','getRangeImage','openPrintDialog','300920pzwAJt','3060632pzqVUP','FUniver','SheetPrintConfirmed','hasPrintFacadePermission','cancel','SheetScreenShotOperation','SheetPrintOpen','ICommandService','getSheetId','SheetPrintCanceled','BeforeSheetPrintCanceled','saveScreenshotToClipboard','BeforeSheetPrintConfirm','onCommandExecuted','fireEvent','_initialize','PaperType','FRange','_workbook','171895gCUkqp','renderConfig','PrintScale','PrintHeaderFooterSymbol','FEnum','print','2sSrmGm','231506qNOuIY','BeforeSheetPrintOpen','PrintDirection','executeCommand','PrintPaperSize','getActiveSheet','registerEventHandler','CancelSheetPrintOperation','CanceledError','extend','240466OMqHlU','getUnitId','syncExecuteCommand','layoutConfig','_worksheet','14LnyzLD','_range','11145378pxUanK','_injector','updatePrintRenderConfig','ConfirmSheetPrintOperation','ISheetPrintManagerService','PrintHeaderFooter','8252OTzWSL','PrintAlign','get','Event','getActiveUniverSheet','PrintFreeze','FWorkbook','PrintArea','updatePrintConfig','updateLayoutConfig','FEventName','1059vofegb','closePrintDialog','beforeCommandExecuted'];_0x39f0=function(){return _0x1d73ec;};return _0x39f0();}g[_0x3780df(0x1b2)][_0x3780df(0x190)](l);
|