@univerjs-pro/sheets-print 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504121606
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/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/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/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 +38 -38
- 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/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 _0x67ad(){const _0x1362cf=['FEnum','ConfirmSheetPrintOperation','SheetPrintCanceled','213516QWxGDw','1251876wgDpFa','CancelSheetPrintOperation','3600524rJBuYd','FWorkbook','get','PrintDirection','SheetPrintOpenOperation','getActiveSheet','renderConfig','@univerjs-pro/sheets-print','PrintAlign','BeforeSheetPrintCanceled','layoutConfig','hasPrintFacadePermission','getScreenshot','ISheetPrintManagerService','BeforeSheetPrintOpen','PrintPaperSize','getUnitId','CanceledError','923654DROGBf','8616411TSctfb','@univerjs/core','onCommandExecuted','fireEvent','getRangeImage','executeCommand','registerEventHandler','updatePrintRenderConfig','beforeCommandExecuted','updateLayoutConfig','extend','21jUyrgh','SheetPrintConfirmed','_initialize','PrintFreeze','getActiveUniverSheet','2566785bfbERP','print','PrintHeaderFooter','PrintArea','updatePrintConfig','@univerjs/sheets/facade','8dqfsdR','PrintPaperMargin','cancel','_worksheet','syncExecuteCommand','FUniver','ICommandService','FRange','saveScreenshotToClipboard','getSheetId','PrintScale','SheetPrintOpen','Event','FEventName','PrintHeaderFooterSymbol','_injector','@univerjs-pro/print','1151124esXlmm','SheetPrintClientService','BeforeSheetPrintConfirm'];_0x67ad=function(){return _0x1362cf;};return _0x67ad();}const _0x46f551=_0x3675;(function(_0x196714,_0x40fc75){const _0x1787e7=_0x3675,_0x25308f=_0x196714();while(!![]){try{const _0x2caef8=-parseInt(_0x1787e7(0x1f8))/0x1+-parseInt(_0x1787e7(0x1dd))/0x2+parseInt(_0x1787e7(0x1e3))/0x3+parseInt(_0x1787e7(0x1e6))/0x4+-parseInt(_0x1787e7(0x1c6))/0x5+-parseInt(_0x1787e7(0x1e4))/0x6*(-parseInt(_0x1787e7(0x1c1))/0x7)+-parseInt(_0x1787e7(0x1cc))/0x8*(-parseInt(_0x1787e7(0x1f9))/0x9);if(_0x2caef8===_0x40fc75)break;else _0x25308f['push'](_0x25308f['shift']());}catch(_0x2bd22a){_0x25308f['push'](_0x25308f['shift']());}}}(_0x67ad,0x8455f));const e=require(_0x46f551(0x1ed)),a=require(_0x46f551(0x1fa)),d=require(_0x46f551(0x1cb)),g=require('@univerjs/core/facade'),h=require(_0x46f551(0x1dc));class S extends d[_0x46f551(0x1e7)]{[_0x46f551(0x1ca)](_0x13eacc){const _0x88b4c=_0x46f551;return this[_0x88b4c(0x1db)][_0x88b4c(0x1e8)](e[_0x88b4c(0x1f3)])[_0x88b4c(0x202)](_0x13eacc),this;}[_0x46f551(0x200)](_0x3d177b){const _0x3526c3=_0x46f551;return this[_0x3526c3(0x1db)][_0x3526c3(0x1e8)](e[_0x3526c3(0x1f3)])['updateRenderConfig'](_0x3d177b),this;}[_0x46f551(0x1c7)](){const _0x2992e7=_0x46f551;return this['_injector'][_0x2992e7(0x1e8)](a[_0x2992e7(0x1d2)])[_0x2992e7(0x1d0)](e[_0x2992e7(0x1e1)]['id']);}['openPrintDialog'](){const _0x853384=_0x46f551;return this[_0x853384(0x1db)]['get'](a['ICommandService'])[_0x853384(0x1d0)](e[_0x853384(0x1ea)]['id']);}['closePrintDialog'](){const _0x5e767e=_0x46f551;return this[_0x5e767e(0x1db)][_0x5e767e(0x1e8)](a[_0x5e767e(0x1d2)])[_0x5e767e(0x1d0)](e['CancelSheetPrintOperation']['id']);}async[_0x46f551(0x1d4)](){const _0x364274=_0x46f551;return e[_0x364274(0x1f1)](this[_0x364274(0x1db)])?this[_0x364274(0x1db)][_0x364274(0x1e8)](a[_0x364274(0x1d2)])[_0x364274(0x1fe)](e['SheetScreenShotOperation']['id']):!0x1;}}d['FWorkbook'][_0x46f551(0x203)](S);class f extends d[_0x46f551(0x1d3)]{[_0x46f551(0x1f2)](){const _0x3ca7e0=_0x46f551;return e[_0x3ca7e0(0x1f1)](this['_injector'])?this[_0x3ca7e0(0x1db)][_0x3ca7e0(0x1e8)](e[_0x3ca7e0(0x1de)])[_0x3ca7e0(0x1fd)](this['_workbook'][_0x3ca7e0(0x1f6)](),this[_0x3ca7e0(0x1cf)][_0x3ca7e0(0x1d5)](),this['_range']):!0x1;}}d[_0x46f551(0x1d3)]['extend'](f);class P{get[_0x46f551(0x1f4)](){const _0x515838=_0x46f551;return _0x515838(0x1f4);}get[_0x46f551(0x1df)](){const _0x1fd0f9=_0x46f551;return _0x1fd0f9(0x1df);}get['BeforeSheetPrintCanceled'](){const _0x51f655=_0x46f551;return _0x51f655(0x1ef);}get[_0x46f551(0x1d7)](){const _0x2a3087=_0x46f551;return _0x2a3087(0x1d7);}get[_0x46f551(0x1c2)](){const _0x4199dc=_0x46f551;return _0x4199dc(0x1c2);}get['SheetPrintCanceled'](){const _0x48887b=_0x46f551;return _0x48887b(0x1e2);}}g[_0x46f551(0x1d9)][_0x46f551(0x203)](P);class u{get[_0x46f551(0x1c9)](){const _0x19930d=_0x46f551;return e[_0x19930d(0x1c9)];}get['PrintAlign'](){const _0x57a8f7=_0x46f551;return h[_0x57a8f7(0x1ee)];}get[_0x46f551(0x1f5)](){const _0x1571b9=_0x46f551;return h[_0x1571b9(0x1f5)];}get[_0x46f551(0x1cd)](){return h['PrintPaperMargin'];}get[_0x46f551(0x1d6)](){return h['PrintScale'];}get[_0x46f551(0x1e9)](){const _0xa8a8dd=_0x46f551;return h[_0xa8a8dd(0x1e9)];}get[_0x46f551(0x1c4)](){const _0x2713fd=_0x46f551;return e[_0x2713fd(0x1c4)];}get[_0x46f551(0x1c8)](){const _0x70b2b7=_0x46f551;return e[_0x70b2b7(0x1c8)];}get[_0x46f551(0x1da)](){const _0x47b7af=_0x46f551;return e[_0x47b7af(0x1da)];}}g[_0x46f551(0x1e0)][_0x46f551(0x203)](u);function _0x3675(_0x5c1004,_0x30ee5e){const _0x67ad44=_0x67ad();return _0x3675=function(_0x367572,_0x2e3030){_0x367572=_0x367572-0x1c1;let _0x3b269e=_0x67ad44[_0x367572];return _0x3b269e;},_0x3675(_0x5c1004,_0x30ee5e);}class l extends g[_0x46f551(0x1d1)]{[_0x46f551(0x1c3)](_0x206745){const _0x3f1f1f=_0x46f551,_0x1afbc0=_0x206745[_0x3f1f1f(0x1e8)](a[_0x3f1f1f(0x1d2)]);this[_0x3f1f1f(0x1ff)](this[_0x3f1f1f(0x1d8)][_0x3f1f1f(0x1f4)],()=>_0x1afbc0[_0x3f1f1f(0x201)](_0x4623ae=>{const _0x23aeb3=_0x3f1f1f;if(_0x4623ae['id']===e[_0x23aeb3(0x1ea)]['id']){const _0x11cb8b=this[_0x23aeb3(0x1c5)]();if(!_0x11cb8b)return;const _0x49256f={'workbook':_0x11cb8b,'worksheet':_0x11cb8b[_0x23aeb3(0x1eb)]()};if(_0x49256f==null)return;if(this[_0x23aeb3(0x1fc)](this[_0x23aeb3(0x1d8)][_0x23aeb3(0x1f4)],_0x49256f),_0x49256f['cancel'])throw new a['CanceledError']();}})),this[_0x3f1f1f(0x1ff)](this[_0x3f1f1f(0x1d8)]['BeforeSheetPrintConfirm'],()=>_0x1afbc0[_0x3f1f1f(0x201)](_0x2f9460=>{const _0x5f2dc7=_0x3f1f1f;if(_0x2f9460['id']===e[_0x5f2dc7(0x1e1)]['id']){const _0x5bef5c=_0x206745[_0x5f2dc7(0x1e8)](e[_0x5f2dc7(0x1f3)]);if(!this['getActiveUniverSheet']())return;const _0x18e017={'layoutConfig':_0x5bef5c[_0x5f2dc7(0x1f0)],'renderConfig':_0x5bef5c[_0x5f2dc7(0x1ec)]};if(_0x18e017==null)return;if(this[_0x5f2dc7(0x1fc)](this[_0x5f2dc7(0x1d8)][_0x5f2dc7(0x1df)],_0x18e017),_0x18e017[_0x5f2dc7(0x1ce)])throw new a[(_0x5f2dc7(0x1f7))]();}})),this[_0x3f1f1f(0x1ff)](this[_0x3f1f1f(0x1d8)][_0x3f1f1f(0x1ef)],()=>_0x1afbc0[_0x3f1f1f(0x201)](_0x3c14c1=>{const _0x237ec0=_0x3f1f1f;if(_0x3c14c1['id']===e[_0x237ec0(0x1e5)]['id']){const _0x439439=_0x206745[_0x237ec0(0x1e8)](e[_0x237ec0(0x1f3)]);if(!this['getActiveUniverSheet']())return;const _0x1c8753={'layoutConfig':_0x439439[_0x237ec0(0x1f0)],'renderConfig':_0x439439[_0x237ec0(0x1ec)]};if(_0x1c8753==null)return;if(this[_0x237ec0(0x1fc)](this[_0x237ec0(0x1d8)][_0x237ec0(0x1ef)],_0x1c8753),_0x1c8753['cancel'])throw new a[(_0x237ec0(0x1f7))]();}})),this[_0x3f1f1f(0x1ff)](this['Event'][_0x3f1f1f(0x1d7)],()=>_0x1afbc0['onCommandExecuted'](_0x15399a=>{const _0x5188f7=_0x3f1f1f;if(_0x15399a['id']===e[_0x5188f7(0x1ea)]['id']){const _0x25d569=this[_0x5188f7(0x1c5)]();if(!_0x25d569)return;const _0xc31f8e={'workbook':_0x25d569,'worksheet':_0x25d569[_0x5188f7(0x1eb)]()};if(_0xc31f8e==null)return;this[_0x5188f7(0x1fc)](this['Event']['SheetPrintOpen'],_0xc31f8e);}})),this['registerEventHandler'](this[_0x3f1f1f(0x1d8)][_0x3f1f1f(0x1c2)],()=>_0x1afbc0[_0x3f1f1f(0x1fb)](_0x5a57a8=>{const _0x1bbd95=_0x3f1f1f;if(_0x5a57a8['id']===e[_0x1bbd95(0x1e1)]['id']){const _0x4082ce=_0x206745[_0x1bbd95(0x1e8)](e[_0x1bbd95(0x1f3)]);if(!this[_0x1bbd95(0x1c5)]())return;const _0x22e0a2={'layoutConfig':_0x4082ce[_0x1bbd95(0x1f0)],'renderConfig':_0x4082ce[_0x1bbd95(0x1ec)]};if(_0x22e0a2==null)return;this[_0x1bbd95(0x1fc)](this['Event']['SheetPrintConfirmed'],_0x22e0a2);}})),this['registerEventHandler'](this['Event'][_0x3f1f1f(0x1e2)],()=>_0x1afbc0['onCommandExecuted'](_0x2127f7=>{const _0x399344=_0x3f1f1f;if(_0x2127f7['id']===e['CancelSheetPrintOperation']['id']){const _0x161436=_0x206745[_0x399344(0x1e8)](e[_0x399344(0x1f3)]);if(!this[_0x399344(0x1c5)]())return;const _0x484023={'layoutConfig':_0x161436[_0x399344(0x1f0)],'renderConfig':_0x161436[_0x399344(0x1ec)]};if(_0x484023==null)return;this[_0x399344(0x1fc)](this[_0x399344(0x1d8)][_0x399344(0x1e2)],_0x484023);}}));}}g[_0x46f551(0x1d1)][_0x46f551(0x203)](l);
|