@univerjs-pro/sheets-print 0.15.1 → 0.15.2-insiders.20260122-b1556b1
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/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/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/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 +41 -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/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/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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x56ebcc=_0x2125;function _0x224d(){const _0x59b3c2=['cancel','onCommandExecuted','PrintHeaderFooter','PrintScale','SheetPrintOpenOperation','openPrintDialog','updatePrintConfig','102gcBJUu','13FiEANG','BeforeSheetPrintOpen','ConfirmSheetPrintOperation','print','FEventName','registerEventHandler','_worksheet','executeCommand','layoutConfig','getActiveUniverSheet','ISheetPrintManagerService','syncExecuteCommand','CancelSheetPrintOperation','PrintAlign','updateRenderConfig','BeforeSheetPrintCanceled','17767884EgDGHx','39rCAJUu','56NPbcoM','PrintPaperMargin','renderConfig','getScreenshot','767160PECRDy','PrintPaperSize','BeforeSheetPrintConfirm','get','FUniver','ICommandService','fireEvent','hasPrintFacadePermission','3023020xlcOAq','_range','PrintArea','Event','68305SghOfO','7PzUaiT','111482BkLoYu','CanceledError','closePrintDialog','includeHeaders','updateLayoutConfig','PrintDirection','extend','PrintHeaderFooterSymbol','getRangeImage','27vUnMlW','getSheetId','PrintFreeze','getActiveSheet','SheetPrintConfirmed','18976THgEqO','getUnitId','beforeCommandExecuted','_injector','SheetScreenShotOperation','_initialize','SheetPrintOpen','SheetPrintCanceled','215243LEqaNf'];_0x224d=function(){return _0x59b3c2;};return _0x224d();}(function(_0x43e9bc,_0x5163d6){const _0x513cbe=_0x2125,_0x23acc6=_0x43e9bc();while(!![]){try{const _0x32529c=parseInt(_0x513cbe(0xbe))/0x1*(-parseInt(_0x513cbe(0xbf))/0x2)+parseInt(_0x513cbe(0xac))/0x3*(parseInt(_0x513cbe(0x8a))/0x4)+-parseInt(_0x513cbe(0xbd))/0x5*(parseInt(_0x513cbe(0x9a))/0x6)+-parseInt(_0x513cbe(0x92))/0x7*(parseInt(_0x513cbe(0xad))/0x8)+-parseInt(_0x513cbe(0x85))/0x9*(parseInt(_0x513cbe(0xb1))/0xa)+-parseInt(_0x513cbe(0xb9))/0xb+-parseInt(_0x513cbe(0xab))/0xc*(-parseInt(_0x513cbe(0x9b))/0xd);if(_0x32529c===_0x5163d6)break;else _0x23acc6['push'](_0x23acc6['shift']());}catch(_0x247860){_0x23acc6['push'](_0x23acc6['shift']());}}}(_0x224d,0x30c0e));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']{[_0x56ebcc(0x99)](_0x170eb3){const _0x53721a=_0x56ebcc;return this['_injector'][_0x53721a(0xb4)](e[_0x53721a(0xa5)])[_0x53721a(0x80)](_0x170eb3),this;}['updatePrintRenderConfig'](_0x43ee54){const _0x4626f9=_0x56ebcc;return this[_0x4626f9(0x8d)][_0x4626f9(0xb4)](e[_0x4626f9(0xa5)])[_0x4626f9(0xa9)](_0x43ee54),this;}[_0x56ebcc(0x9e)](){const _0x360d36=_0x56ebcc;return this[_0x360d36(0x8d)][_0x360d36(0xb4)](a[_0x360d36(0xb6)])[_0x360d36(0xa6)](e[_0x360d36(0x9d)]['id']);}[_0x56ebcc(0x98)](){const _0x46e086=_0x56ebcc;return this['_injector']['get'](a[_0x46e086(0xb6)])[_0x46e086(0xa6)](e[_0x46e086(0x97)]['id']);}[_0x56ebcc(0x7e)](){const _0x41e280=_0x56ebcc;return this[_0x41e280(0x8d)][_0x41e280(0xb4)](a[_0x41e280(0xb6)])[_0x41e280(0xa6)](e[_0x41e280(0xa7)]['id']);}async['saveScreenshotToClipboard'](){const _0x327f7a=_0x56ebcc;return e[_0x327f7a(0xb8)](this[_0x327f7a(0x8d)])?this[_0x327f7a(0x8d)][_0x327f7a(0xb4)](a[_0x327f7a(0xb6)])[_0x327f7a(0xa2)](e[_0x327f7a(0x8e)]['id']):!0x1;}}d['FWorkbook'][_0x56ebcc(0x82)](S);class f extends d['FRange']{[_0x56ebcc(0xb0)](_0x36d68a){const _0x40ef07=_0x56ebcc;return e[_0x40ef07(0xb8)](this['_injector'])?this[_0x40ef07(0x8d)][_0x40ef07(0xb4)](e['SheetPrintClientService'])[_0x40ef07(0x84)](this['_workbook'][_0x40ef07(0x8b)](),this[_0x40ef07(0xa1)][_0x40ef07(0x86)](),this[_0x40ef07(0xba)],_0x36d68a==null?void 0x0:_0x36d68a[_0x40ef07(0x7f)]):!0x1;}}d['FRange'][_0x56ebcc(0x82)](f);class P{get['BeforeSheetPrintOpen'](){const _0x2cd09c=_0x56ebcc;return _0x2cd09c(0x9c);}get[_0x56ebcc(0xb3)](){const _0x55efd1=_0x56ebcc;return _0x55efd1(0xb3);}get[_0x56ebcc(0xaa)](){return'BeforeSheetPrintCanceled';}get[_0x56ebcc(0x90)](){const _0x477dca=_0x56ebcc;return _0x477dca(0x90);}get['SheetPrintConfirmed'](){return'SheetPrintConfirmed';}get[_0x56ebcc(0x91)](){const _0x46d3c0=_0x56ebcc;return _0x46d3c0(0x91);}}function _0x2125(_0x315612,_0x1d4ff8){_0x315612=_0x315612-0x7e;const _0x224d18=_0x224d();let _0x21259e=_0x224d18[_0x315612];return _0x21259e;}g[_0x56ebcc(0x9f)]['extend'](P);class u{get['PrintArea'](){const _0x50dec5=_0x56ebcc;return e[_0x50dec5(0xbb)];}get[_0x56ebcc(0xa8)](){return c['PrintAlign'];}get[_0x56ebcc(0xb2)](){return a['PaperType'];}get[_0x56ebcc(0xae)](){const _0x5b925d=_0x56ebcc;return c[_0x5b925d(0xae)];}get['PrintScale'](){const _0x3a6f41=_0x56ebcc;return c[_0x3a6f41(0x96)];}get[_0x56ebcc(0x81)](){const _0x54580b=_0x56ebcc;return c[_0x54580b(0x81)];}get[_0x56ebcc(0x87)](){const _0xae2ae8=_0x56ebcc;return e[_0xae2ae8(0x87)];}get['PrintHeaderFooter'](){const _0x4e9c40=_0x56ebcc;return e[_0x4e9c40(0x95)];}get[_0x56ebcc(0x83)](){const _0x424166=_0x56ebcc;return e[_0x424166(0x83)];}}g['FEnum'][_0x56ebcc(0x82)](u);class l extends g['FUniver']{[_0x56ebcc(0x8f)](_0x45050a){const _0x431c9f=_0x56ebcc,_0x59609b=_0x45050a[_0x431c9f(0xb4)](a[_0x431c9f(0xb6)]);this[_0x431c9f(0xa0)](this[_0x431c9f(0xbc)]['BeforeSheetPrintOpen'],()=>_0x59609b[_0x431c9f(0x8c)](_0x56deba=>{const _0x58bd9c=_0x431c9f;if(_0x56deba['id']===e['SheetPrintOpenOperation']['id']){const _0x3c7bd5=this[_0x58bd9c(0xa4)]();if(!_0x3c7bd5)return;const _0x35644e={'workbook':_0x3c7bd5,'worksheet':_0x3c7bd5[_0x58bd9c(0x88)]()};if(_0x35644e==null)return;if(this['fireEvent'](this[_0x58bd9c(0xbc)]['BeforeSheetPrintOpen'],_0x35644e),_0x35644e[_0x58bd9c(0x93)])throw new a[(_0x58bd9c(0xc0))]();}})),this['registerEventHandler'](this[_0x431c9f(0xbc)][_0x431c9f(0xb3)],()=>_0x59609b[_0x431c9f(0x8c)](_0x29ada8=>{const _0x4f546e=_0x431c9f;if(_0x29ada8['id']===e['ConfirmSheetPrintOperation']['id']){const _0x38119d=_0x45050a['get'](e[_0x4f546e(0xa5)]);if(!this[_0x4f546e(0xa4)]())return;const _0x1ccc33={'layoutConfig':_0x38119d[_0x4f546e(0xa3)],'renderConfig':_0x38119d['renderConfig']};if(_0x1ccc33==null)return;if(this[_0x4f546e(0xb7)](this['Event'][_0x4f546e(0xb3)],_0x1ccc33),_0x1ccc33[_0x4f546e(0x93)])throw new a[(_0x4f546e(0xc0))]();}})),this[_0x431c9f(0xa0)](this[_0x431c9f(0xbc)][_0x431c9f(0xaa)],()=>_0x59609b[_0x431c9f(0x8c)](_0x38dcad=>{const _0x1ac1f2=_0x431c9f;if(_0x38dcad['id']===e[_0x1ac1f2(0xa7)]['id']){const _0x2551da=_0x45050a[_0x1ac1f2(0xb4)](e['ISheetPrintManagerService']);if(!this[_0x1ac1f2(0xa4)]())return;const _0x3612a8={'layoutConfig':_0x2551da['layoutConfig'],'renderConfig':_0x2551da[_0x1ac1f2(0xaf)]};if(_0x3612a8==null)return;if(this[_0x1ac1f2(0xb7)](this['Event'][_0x1ac1f2(0xaa)],_0x3612a8),_0x3612a8['cancel'])throw new a[(_0x1ac1f2(0xc0))]();}})),this[_0x431c9f(0xa0)](this[_0x431c9f(0xbc)][_0x431c9f(0x90)],()=>_0x59609b[_0x431c9f(0x94)](_0x57c399=>{const _0x5e7280=_0x431c9f;if(_0x57c399['id']===e['SheetPrintOpenOperation']['id']){const _0x2b6e67=this[_0x5e7280(0xa4)]();if(!_0x2b6e67)return;const _0x3df168={'workbook':_0x2b6e67,'worksheet':_0x2b6e67[_0x5e7280(0x88)]()};if(_0x3df168==null)return;this[_0x5e7280(0xb7)](this[_0x5e7280(0xbc)][_0x5e7280(0x90)],_0x3df168);}})),this[_0x431c9f(0xa0)](this[_0x431c9f(0xbc)][_0x431c9f(0x89)],()=>_0x59609b[_0x431c9f(0x94)](_0x3ee585=>{const _0x5e6818=_0x431c9f;if(_0x3ee585['id']===e['ConfirmSheetPrintOperation']['id']){const _0x1e2419=_0x45050a['get'](e[_0x5e6818(0xa5)]);if(!this[_0x5e6818(0xa4)]())return;const _0x5e11d7={'layoutConfig':_0x1e2419['layoutConfig'],'renderConfig':_0x1e2419[_0x5e6818(0xaf)]};if(_0x5e11d7==null)return;this[_0x5e6818(0xb7)](this[_0x5e6818(0xbc)][_0x5e6818(0x89)],_0x5e11d7);}})),this[_0x431c9f(0xa0)](this[_0x431c9f(0xbc)]['SheetPrintCanceled'],()=>_0x59609b[_0x431c9f(0x94)](_0x5156b8=>{const _0x283632=_0x431c9f;if(_0x5156b8['id']===e[_0x283632(0xa7)]['id']){const _0x2fff8a=_0x45050a[_0x283632(0xb4)](e[_0x283632(0xa5)]);if(!this[_0x283632(0xa4)]())return;const _0x4a779f={'layoutConfig':_0x2fff8a[_0x283632(0xa3)],'renderConfig':_0x2fff8a[_0x283632(0xaf)]};if(_0x4a779f==null)return;this[_0x283632(0xb7)](this[_0x283632(0xbc)]['SheetPrintCanceled'],_0x4a779f);}}));}}g[_0x56ebcc(0xb5)][_0x56ebcc(0x82)](l);
|