@univerjs-pro/sheets-print 0.25.1 → 1.0.0-alpha.1
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/constant.d.ts +0 -1
- package/lib/types/controllers/components.controller.d.ts +9 -0
- package/lib/types/controllers/menu.d.ts +5 -4
- package/lib/types/controllers/sheet-print.controller.d.ts +6 -6
- package/lib/types/index.d.ts +2 -1
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/sheet-print-dialog.service.d.ts +16 -0
- package/lib/types/services/sheet-print.service.d.ts +4 -3
- package/lib/types/views/components/PrintGridSidebar.d.ts +1 -1
- package/lib/types/views/components/SheetPrintView.d.ts +2 -1
- package/lib/types/views/components/footer-header-editor/Grid.d.ts +1 -1
- package/lib/types/views/components/footer-header-editor/index.d.ts +1 -1
- package/lib/types/views/components/hover-menu/index.d.ts +3 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -19
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b9d81=_0x5d3d;(function(_0xf8e96d,_0xe917f9){const _0x432f67=_0x5d3d,_0x30d56a=_0xf8e96d();while(!![]){try{const _0x143d88=-parseInt(_0x432f67(0xb3))/0x1+-parseInt(_0x432f67(0xb9))/0x2*(-parseInt(_0x432f67(0xb8))/0x3)+-parseInt(_0x432f67(0xa4))/0x4*(parseInt(_0x432f67(0xbe))/0x5)+-parseInt(_0x432f67(0x95))/0x6*(parseInt(_0x432f67(0xb0))/0x7)+parseInt(_0x432f67(0xc0))/0x8+-parseInt(_0x432f67(0xa0))/0x9*(-parseInt(_0x432f67(0x9b))/0xa)+-parseInt(_0x432f67(0x90))/0xb*(-parseInt(_0x432f67(0x9a))/0xc);if(_0x143d88===_0xe917f9)break;else _0x30d56a['push'](_0x30d56a['shift']());}catch(_0x1ee4f1){_0x30d56a['push'](_0x30d56a['shift']());}}}(_0x5679,0x9c4e4));import{CancelSheetPrintOperation as _0x5c8017,ConfirmSheetPrintOperation as _0x462c4e,ISheetPrintManagerService as _0x42eb39,PrintArea as _0x418f7e,PrintFreeze as _0x1fd72b,PrintHeaderFooter as _0x41a752,PrintHeaderFooterSymbol as _0x3bdf4b,SheetPrintClientService as _0x45c7bc,SheetPrintOpenOperation as _0x140358,SheetScreenShotOperation as _0x41abf8,hasPrintFacadePermission as _0x4eb8e9}from'@univerjs-pro/sheets-print';function _0x5679(){const _0x44d235=['SheetPrintCanceled','updateRenderConfig','1042400sBQvLU','_initialize','BeforeSheetPrintCanceled','updateLayoutConfig','syncExecuteCommand','925566UFTwXg','8YGMHUt','Event','layoutConfig','extend','PrintHeaderFooterSymbol','162070eLHYke','BeforeSheetPrintConfirm','8492664aFeARp','closePrintDialog','updatePrintRenderConfig','PrintPaperMargin','SheetPrintConfirmed','PrintArea','BeforeSheetPrintOpen','11mMVGij','saveScreenshotToClipboard','beforeCommandExecuted','PrintHeaderFooter','getActiveWorkbook','5953578aaYbAj','SheetPrintOpen','PrintPaperSize','updatePrintConfig','getRangeImage','3487308Cmgskk','10FYakRm','get','fireEvent','cancel','PrintAlign','3423033aIijMM','onCommandExecuted','PrintScale','getScreenshot','36rGoRgn','openPrintDialog','PrintDirection','registerEventHandler','PrintFreeze','disposeWithMe','getActiveSheet','executeCommand','print','_workbook','renderConfig','_injector','7VQDrcO'];_0x5679=function(){return _0x44d235;};return _0x5679();}import{CanceledError as _0x323ff0,ICommandService as _0x284e0d,PaperType as _0x5ca824}from'@univerjs/core';import{FRange as _0x22849d,FWorkbook as _0x3a8c73}from'@univerjs/sheets/facade';import{FEnum as _0x42cbe2,FEventName as _0x386965,FUniver as _0xfefe0c}from'@univerjs/core/facade';import{PrintAlign as _0x232d9e,PrintDirection as _0x4f6c07,PrintPaperMargin as _0x24dcec,PrintScale as _0x53924c}from'@univerjs-pro/print';var C=class extends _0x3a8c73{[_0x3b9d81(0x98)](_0x9d3fbf){const _0x28685a=_0x3b9d81;return this['_injector']['get'](_0x42eb39)[_0x28685a(0xb6)](_0x9d3fbf),this;}[_0x3b9d81(0xc2)](_0x259aaf){const _0x2cd2ac=_0x3b9d81;return this[_0x2cd2ac(0xaf)][_0x2cd2ac(0x9c)](_0x42eb39)[_0x2cd2ac(0xb2)](_0x259aaf),this;}[_0x3b9d81(0xac)](){const _0x4050d5=_0x3b9d81;return this[_0x4050d5(0xaf)][_0x4050d5(0x9c)](_0x284e0d)[_0x4050d5(0xb7)](_0x462c4e['id']);}[_0x3b9d81(0xa5)](){const _0x315451=_0x3b9d81;return this['_injector'][_0x315451(0x9c)](_0x284e0d)[_0x315451(0xb7)](_0x140358['id']);}[_0x3b9d81(0xc1)](){const _0x4f5c65=_0x3b9d81;return this['_injector'][_0x4f5c65(0x9c)](_0x284e0d)[_0x4f5c65(0xb7)](_0x5c8017['id']);}async[_0x3b9d81(0x91)](){const _0x3a01d9=_0x3b9d81;return _0x4eb8e9(this[_0x3a01d9(0xaf)])?this['_injector'][_0x3a01d9(0x9c)](_0x284e0d)[_0x3a01d9(0xab)](_0x41abf8['id']):!0x1;}};_0x3a8c73['extend'](C);var w=class extends _0x22849d{[_0x3b9d81(0xa3)](_0x4c7fe8){const _0x3e1289=_0x3b9d81;return _0x4eb8e9(this[_0x3e1289(0xaf)])?this['_injector'][_0x3e1289(0x9c)](_0x45c7bc)[_0x3e1289(0x99)](this[_0x3e1289(0xad)]['getUnitId'](),this['_worksheet']['getSheetId'](),this['_range'],_0x4c7fe8==null?void 0x0:_0x4c7fe8['includeHeaders']):!0x1;}};function _0x5d3d(_0x4fe41a,_0x2adfc6){_0x4fe41a=_0x4fe41a-0x8c;const _0x5679bd=_0x5679();let _0x5d3d6d=_0x5679bd[_0x4fe41a];return _0x5d3d6d;}_0x22849d['extend'](w);var T=class extends _0x386965{get['BeforeSheetPrintOpen'](){const _0xacbf17=_0x3b9d81;return _0xacbf17(0x8f);}get['BeforeSheetPrintConfirm'](){const _0x9b06ce=_0x3b9d81;return _0x9b06ce(0xbf);}get[_0x3b9d81(0xb5)](){const _0x627c4=_0x3b9d81;return _0x627c4(0xb5);}get[_0x3b9d81(0x96)](){const _0x5c164b=_0x3b9d81;return _0x5c164b(0x96);}get['SheetPrintConfirmed'](){const _0x55972c=_0x3b9d81;return _0x55972c(0x8d);}get[_0x3b9d81(0xb1)](){const _0x416515=_0x3b9d81;return _0x416515(0xb1);}};_0x386965[_0x3b9d81(0xbc)](T);var E=class extends _0x42cbe2{get[_0x3b9d81(0x8e)](){return _0x418f7e;}get[_0x3b9d81(0x9f)](){return _0x232d9e;}get[_0x3b9d81(0x97)](){return _0x5ca824;}get[_0x3b9d81(0x8c)](){return _0x24dcec;}get[_0x3b9d81(0xa2)](){return _0x53924c;}get[_0x3b9d81(0xa6)](){return _0x4f6c07;}get[_0x3b9d81(0xa8)](){return _0x1fd72b;}get[_0x3b9d81(0x93)](){return _0x41a752;}get[_0x3b9d81(0xbd)](){return _0x3bdf4b;}};_0x42cbe2['extend'](E);var D=class extends _0xfefe0c{[_0x3b9d81(0xb4)](_0x5b9c86){const _0x385d1f=_0x3b9d81;let _0x5bdb19=_0x5b9c86[_0x385d1f(0x9c)](_0x284e0d);this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this[_0x385d1f(0xba)][_0x385d1f(0x8f)],()=>_0x5bdb19['beforeCommandExecuted'](_0x2155af=>{const _0x5b82ef=_0x385d1f;if(_0x2155af['id']===_0x140358['id']){let _0x5e0042=this['getActiveWorkbook']();if(!_0x5e0042)return;let _0x1e8216={'workbook':_0x5e0042,'worksheet':_0x5e0042['getActiveSheet']()};if(_0x1e8216==null)return;if(this[_0x5b82ef(0x9d)](this[_0x5b82ef(0xba)][_0x5b82ef(0x8f)],_0x1e8216),_0x1e8216[_0x5b82ef(0x9e)])throw new _0x323ff0();}}))),this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this[_0x385d1f(0xba)]['BeforeSheetPrintConfirm'],()=>_0x5bdb19[_0x385d1f(0x92)](_0x5bb2f9=>{const _0x789ad=_0x385d1f;if(_0x5bb2f9['id']===_0x462c4e['id']){let _0x2f1bf4=_0x5b9c86['get'](_0x42eb39);if(!this[_0x789ad(0x94)]())return;let _0x1439c3={'layoutConfig':_0x2f1bf4['layoutConfig'],'renderConfig':_0x2f1bf4['renderConfig']};if(_0x1439c3==null)return;if(this[_0x789ad(0x9d)](this['Event']['BeforeSheetPrintConfirm'],_0x1439c3),_0x1439c3[_0x789ad(0x9e)])throw new _0x323ff0();}}))),this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this['Event'][_0x385d1f(0xb5)],()=>_0x5bdb19[_0x385d1f(0x92)](_0x175657=>{const _0x2fc373=_0x385d1f;if(_0x175657['id']===_0x5c8017['id']){let _0x12f54b=_0x5b9c86[_0x2fc373(0x9c)](_0x42eb39);if(!this[_0x2fc373(0x94)]())return;let _0x20f67c={'layoutConfig':_0x12f54b['layoutConfig'],'renderConfig':_0x12f54b['renderConfig']};if(_0x20f67c==null)return;if(this[_0x2fc373(0x9d)](this[_0x2fc373(0xba)][_0x2fc373(0xb5)],_0x20f67c),_0x20f67c['cancel'])throw new _0x323ff0();}}))),this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this[_0x385d1f(0xba)][_0x385d1f(0x96)],()=>_0x5bdb19[_0x385d1f(0xa1)](_0x3e9074=>{const _0x516c35=_0x385d1f;if(_0x3e9074['id']===_0x140358['id']){let _0x461c04=this[_0x516c35(0x94)]();if(!_0x461c04)return;let _0x19dd32={'workbook':_0x461c04,'worksheet':_0x461c04[_0x516c35(0xaa)]()};if(_0x19dd32==null)return;this[_0x516c35(0x9d)](this[_0x516c35(0xba)][_0x516c35(0x96)],_0x19dd32);}}))),this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this[_0x385d1f(0xba)]['SheetPrintConfirmed'],()=>_0x5bdb19[_0x385d1f(0xa1)](_0x1ee562=>{const _0x5eb67f=_0x385d1f;if(_0x1ee562['id']===_0x462c4e['id']){let _0x2ad6c3=_0x5b9c86['get'](_0x42eb39);if(!this['getActiveWorkbook']())return;let _0x333327={'layoutConfig':_0x2ad6c3[_0x5eb67f(0xbb)],'renderConfig':_0x2ad6c3[_0x5eb67f(0xae)]};if(_0x333327==null)return;this[_0x5eb67f(0x9d)](this['Event'][_0x5eb67f(0x8d)],_0x333327);}}))),this[_0x385d1f(0xa9)](this[_0x385d1f(0xa7)](this[_0x385d1f(0xba)][_0x385d1f(0xb1)],()=>_0x5bdb19[_0x385d1f(0xa1)](_0x1f8564=>{const _0xb2d57b=_0x385d1f;if(_0x1f8564['id']===_0x5c8017['id']){let _0x8dd0f8=_0x5b9c86[_0xb2d57b(0x9c)](_0x42eb39);if(!this[_0xb2d57b(0x94)]())return;let _0x3e5549={'layoutConfig':_0x8dd0f8['layoutConfig'],'renderConfig':_0x8dd0f8[_0xb2d57b(0xae)]};if(_0x3e5549==null)return;this[_0xb2d57b(0x9d)](this['Event'][_0xb2d57b(0xb1)],_0x3e5549);}})));}};_0xfefe0c[_0x3b9d81(0xbc)](D);export{};
|