@univerjs-pro/sheets-print 0.12.2 → 0.12.3-experimental.20251205-e439e48
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 -41
- 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 +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5923fc=_0x8695;(function(_0x2225e3,_0xfb4453){const _0x48e206=_0x8695,_0x31dc5d=_0x2225e3();while(!![]){try{const _0x4a85c0=-parseInt(_0x48e206(0x1fa))/0x1*(-parseInt(_0x48e206(0x1dd))/0x2)+parseInt(_0x48e206(0x1d5))/0x3+-parseInt(_0x48e206(0x1d8))/0x4+parseInt(_0x48e206(0x1f8))/0x5+-parseInt(_0x48e206(0x1cc))/0x6*(-parseInt(_0x48e206(0x204))/0x7)+parseInt(_0x48e206(0x1e4))/0x8*(-parseInt(_0x48e206(0x1ed))/0x9)+-parseInt(_0x48e206(0x1c8))/0xa*(parseInt(_0x48e206(0x1df))/0xb);if(_0x4a85c0===_0xfb4453)break;else _0x31dc5d['push'](_0x31dc5d['shift']());}catch(_0x5aa687){_0x31dc5d['push'](_0x31dc5d['shift']());}}}(_0x4888,0xe2e1c));function _0x8695(_0x3dffdd,_0x1752b8){_0x3dffdd=_0x3dffdd-0x1c3;const _0x4888f1=_0x4888();let _0x869579=_0x4888f1[_0x3dffdd];return _0x869579;}function _0x4888(){const _0x14a132=['SheetPrintClientService','67JDrEnT','updatePrintRenderConfig','PrintFreeze','updateRenderConfig','_workbook','PrintScale','SheetPrintOpen','PrintDirection','get','beforeCommandExecuted','2586003fCjdqw','FEnum','PrintHeaderFooter','FUniver','syncExecuteCommand','extend','cancel','ConfirmSheetPrintOperation','160zlcwFi','PrintArea','getActiveSheet','saveScreenshotToClipboard','12lLhTji','PaperType','registerEventHandler','closePrintDialog','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','getActiveUniverSheet','onCommandExecuted','getRangeImage','1457286UNBmgG','PrintPaperSize','SheetPrintConfirmed','646852BeOZHk','SheetScreenShotOperation','Event','CancelSheetPrintOperation','_injector','32348uItPdD','getSheetId','1538372fLeuEq','updatePrintConfig','SheetPrintOpenOperation','ICommandService','openPrintDialog','112696HUIMOC','FRange','_initialize','BeforeSheetPrintOpen','print','PrintPaperMargin','FWorkbook','PrintAlign','ISheetPrintManagerService','243QywjBz','hasPrintFacadePermission','renderConfig','_worksheet','SheetPrintCanceled','getScreenshot','CanceledError','layoutConfig','executeCommand','fireEvent','BeforeSheetPrintConfirm','7003620woVnmU'];_0x4888=function(){return _0x14a132;};return _0x4888();}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[_0x5923fc(0x1ea)]{[_0x5923fc(0x1e0)](_0x4847d7){const _0x4086ca=_0x5923fc;return this[_0x4086ca(0x1dc)][_0x4086ca(0x202)](e[_0x4086ca(0x1ec)])['updateLayoutConfig'](_0x4847d7),this;}[_0x5923fc(0x1fb)](_0x5386a8){const _0x199ad2=_0x5923fc;return this[_0x199ad2(0x1dc)][_0x199ad2(0x202)](e['ISheetPrintManagerService'])[_0x199ad2(0x1fd)](_0x5386a8),this;}[_0x5923fc(0x1e8)](){const _0x3b2c9f=_0x5923fc;return this[_0x3b2c9f(0x1dc)][_0x3b2c9f(0x202)](a[_0x3b2c9f(0x1e2)])[_0x3b2c9f(0x1c4)](e[_0x3b2c9f(0x1c7)]['id']);}[_0x5923fc(0x1e3)](){const _0x51ce10=_0x5923fc;return this[_0x51ce10(0x1dc)][_0x51ce10(0x202)](a[_0x51ce10(0x1e2)])[_0x51ce10(0x1c4)](e['SheetPrintOpenOperation']['id']);}[_0x5923fc(0x1cf)](){const _0x11d6c3=_0x5923fc;return this['_injector'][_0x11d6c3(0x202)](a[_0x11d6c3(0x1e2)])[_0x11d6c3(0x1c4)](e['CancelSheetPrintOperation']['id']);}async[_0x5923fc(0x1cb)](){const _0x31cc2c=_0x5923fc;return e[_0x31cc2c(0x1ee)](this[_0x31cc2c(0x1dc)])?this['_injector']['get'](a[_0x31cc2c(0x1e2)])[_0x31cc2c(0x1f5)](e[_0x31cc2c(0x1d9)]['id']):!0x1;}}d[_0x5923fc(0x1ea)][_0x5923fc(0x1c5)](S);class f extends d[_0x5923fc(0x1e5)]{[_0x5923fc(0x1f2)](){const _0x462b5d=_0x5923fc;return e[_0x462b5d(0x1ee)](this[_0x462b5d(0x1dc)])?this['_injector'][_0x462b5d(0x202)](e[_0x462b5d(0x1f9)])[_0x462b5d(0x1d4)](this[_0x462b5d(0x1fe)]['getUnitId'](),this[_0x462b5d(0x1f0)][_0x462b5d(0x1de)](),this['_range']):!0x1;}}d[_0x5923fc(0x1e5)][_0x5923fc(0x1c5)](f);class P{get[_0x5923fc(0x1e7)](){const _0x29b4cb=_0x5923fc;return _0x29b4cb(0x1e7);}get[_0x5923fc(0x1f7)](){const _0x5d00f7=_0x5923fc;return _0x5d00f7(0x1f7);}get[_0x5923fc(0x1d0)](){const _0x4d0d31=_0x5923fc;return _0x4d0d31(0x1d0);}get[_0x5923fc(0x200)](){const _0x2ac111=_0x5923fc;return _0x2ac111(0x200);}get[_0x5923fc(0x1d7)](){return'SheetPrintConfirmed';}get[_0x5923fc(0x1f1)](){const _0x52fed4=_0x5923fc;return _0x52fed4(0x1f1);}}g['FEventName'][_0x5923fc(0x1c5)](P);class u{get['PrintArea'](){const _0x5a2353=_0x5923fc;return e[_0x5a2353(0x1c9)];}get[_0x5923fc(0x1eb)](){const _0x4f2b18=_0x5923fc;return c[_0x4f2b18(0x1eb)];}get[_0x5923fc(0x1d6)](){const _0x303887=_0x5923fc;return a[_0x303887(0x1cd)];}get[_0x5923fc(0x1e9)](){return c['PrintPaperMargin'];}get[_0x5923fc(0x1ff)](){const _0x5d527c=_0x5923fc;return c[_0x5d527c(0x1ff)];}get[_0x5923fc(0x201)](){return c['PrintDirection'];}get[_0x5923fc(0x1fc)](){const _0x427b2a=_0x5923fc;return e[_0x427b2a(0x1fc)];}get[_0x5923fc(0x206)](){const _0x27c549=_0x5923fc;return e[_0x27c549(0x206)];}get[_0x5923fc(0x1d1)](){const _0x3f6949=_0x5923fc;return e[_0x3f6949(0x1d1)];}}g[_0x5923fc(0x205)][_0x5923fc(0x1c5)](u);class l extends g[_0x5923fc(0x1c3)]{[_0x5923fc(0x1e6)](_0x56890a){const _0x2b0665=_0x5923fc,_0x37502e=_0x56890a['get'](a['ICommandService']);this[_0x2b0665(0x1ce)](this['Event'][_0x2b0665(0x1e7)],()=>_0x37502e[_0x2b0665(0x203)](_0x3fd124=>{const _0x1c0c45=_0x2b0665;if(_0x3fd124['id']===e[_0x1c0c45(0x1e1)]['id']){const _0x3abba4=this[_0x1c0c45(0x1d2)]();if(!_0x3abba4)return;const _0x2f4da9={'workbook':_0x3abba4,'worksheet':_0x3abba4[_0x1c0c45(0x1ca)]()};if(_0x2f4da9==null)return;if(this['fireEvent'](this[_0x1c0c45(0x1da)][_0x1c0c45(0x1e7)],_0x2f4da9),_0x2f4da9[_0x1c0c45(0x1c6)])throw new a[(_0x1c0c45(0x1f3))]();}})),this[_0x2b0665(0x1ce)](this['Event'][_0x2b0665(0x1f7)],()=>_0x37502e['beforeCommandExecuted'](_0x663b1d=>{const _0x54ebf6=_0x2b0665;if(_0x663b1d['id']===e[_0x54ebf6(0x1c7)]['id']){const _0x317910=_0x56890a[_0x54ebf6(0x202)](e[_0x54ebf6(0x1ec)]);if(!this[_0x54ebf6(0x1d2)]())return;const _0x20c677={'layoutConfig':_0x317910['layoutConfig'],'renderConfig':_0x317910['renderConfig']};if(_0x20c677==null)return;if(this[_0x54ebf6(0x1f6)](this[_0x54ebf6(0x1da)][_0x54ebf6(0x1f7)],_0x20c677),_0x20c677['cancel'])throw new a[(_0x54ebf6(0x1f3))]();}})),this['registerEventHandler'](this[_0x2b0665(0x1da)]['BeforeSheetPrintCanceled'],()=>_0x37502e[_0x2b0665(0x203)](_0x2ee9b0=>{const _0x1caa23=_0x2b0665;if(_0x2ee9b0['id']===e[_0x1caa23(0x1db)]['id']){const _0x1a790d=_0x56890a['get'](e[_0x1caa23(0x1ec)]);if(!this[_0x1caa23(0x1d2)]())return;const _0x58700c={'layoutConfig':_0x1a790d[_0x1caa23(0x1f4)],'renderConfig':_0x1a790d[_0x1caa23(0x1ef)]};if(_0x58700c==null)return;if(this[_0x1caa23(0x1f6)](this[_0x1caa23(0x1da)][_0x1caa23(0x1d0)],_0x58700c),_0x58700c[_0x1caa23(0x1c6)])throw new a[(_0x1caa23(0x1f3))]();}})),this[_0x2b0665(0x1ce)](this[_0x2b0665(0x1da)]['SheetPrintOpen'],()=>_0x37502e[_0x2b0665(0x1d3)](_0x26bd12=>{const _0x10b375=_0x2b0665;if(_0x26bd12['id']===e[_0x10b375(0x1e1)]['id']){const _0xbd1ee4=this[_0x10b375(0x1d2)]();if(!_0xbd1ee4)return;const _0x4ef3f5={'workbook':_0xbd1ee4,'worksheet':_0xbd1ee4[_0x10b375(0x1ca)]()};if(_0x4ef3f5==null)return;this[_0x10b375(0x1f6)](this['Event']['SheetPrintOpen'],_0x4ef3f5);}})),this[_0x2b0665(0x1ce)](this[_0x2b0665(0x1da)][_0x2b0665(0x1d7)],()=>_0x37502e[_0x2b0665(0x1d3)](_0x39a751=>{const _0xfce361=_0x2b0665;if(_0x39a751['id']===e[_0xfce361(0x1c7)]['id']){const _0x3e00aa=_0x56890a[_0xfce361(0x202)](e[_0xfce361(0x1ec)]);if(!this[_0xfce361(0x1d2)]())return;const _0x36875a={'layoutConfig':_0x3e00aa[_0xfce361(0x1f4)],'renderConfig':_0x3e00aa[_0xfce361(0x1ef)]};if(_0x36875a==null)return;this[_0xfce361(0x1f6)](this[_0xfce361(0x1da)][_0xfce361(0x1d7)],_0x36875a);}})),this[_0x2b0665(0x1ce)](this[_0x2b0665(0x1da)][_0x2b0665(0x1f1)],()=>_0x37502e['onCommandExecuted'](_0x264292=>{const _0x450a15=_0x2b0665;if(_0x264292['id']===e[_0x450a15(0x1db)]['id']){const _0x47e413=_0x56890a[_0x450a15(0x202)](e[_0x450a15(0x1ec)]);if(!this[_0x450a15(0x1d2)]())return;const _0x541e71={'layoutConfig':_0x47e413[_0x450a15(0x1f4)],'renderConfig':_0x47e413[_0x450a15(0x1ef)]};if(_0x541e71==null)return;this[_0x450a15(0x1f6)](this[_0x450a15(0x1da)][_0x450a15(0x1f1)],_0x541e71);}}));}}g[_0x5923fc(0x1c3)][_0x5923fc(0x1c5)](l);
|