@univerjs-pro/sheets-print 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070640

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.
Files changed (59) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.css +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ko-KR.js +1 -1
  34. package/lib/locale/ru-RU.js +1 -1
  35. package/lib/locale/vi-VN.js +1 -1
  36. package/lib/locale/zh-CN.js +1 -1
  37. package/lib/locale/zh-TW.js +1 -1
  38. package/lib/types/commands/operations/print-grid-sidebar.operation.d.ts +4 -0
  39. package/lib/types/common/const.d.ts +40 -40
  40. package/lib/types/controllers/const.d.ts +1 -1
  41. package/lib/types/controllers/menu.d.ts +5 -2
  42. package/lib/types/controllers/sheet-print.controller.d.ts +8 -2
  43. package/lib/types/locale/en-US.d.ts +6 -0
  44. package/lib/types/services/print-grid.service.d.ts +17 -0
  45. package/lib/types/views/components/PrintGridSidebar.d.ts +16 -0
  46. package/lib/types/views/extensions/print-grid.extension.d.ts +12 -0
  47. package/lib/umd/facade.js +1 -1
  48. package/lib/umd/index.js +1 -1
  49. package/lib/umd/locale/ca-ES.js +1 -1
  50. package/lib/umd/locale/en-US.js +1 -1
  51. package/lib/umd/locale/es-ES.js +1 -1
  52. package/lib/umd/locale/fa-IR.js +1 -1
  53. package/lib/umd/locale/fr-FR.js +1 -1
  54. package/lib/umd/locale/ko-KR.js +1 -1
  55. package/lib/umd/locale/ru-RU.js +1 -1
  56. package/lib/umd/locale/vi-VN.js +1 -1
  57. package/lib/umd/locale/zh-CN.js +1 -1
  58. package/lib/umd/locale/zh-TW.js +1 -1
  59. package/package.json +14 -14
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x42cc(){const _0x3a6ee2=['_injector','fireEvent','PrintArea','116814CbRmOe','_workbook','getRangeImage','4CQOxqN','_worksheet','get','registerEventHandler','1CpzXrA','getActiveUniverSheet','renderConfig','updateLayoutConfig','getScreenshot','PrintHeaderFooter','getSheetId','SheetPrintOpen','60OZqzlQ','BeforeSheetPrintConfirm','cancel','6142257JooRtG','PrintScale','getUnitId','344rzqeVD','12096528AScZUq','layoutConfig','PrintDirection','PrintPaperSize','SheetPrintConfirmed','46039yWqKbL','onCommandExecuted','print','beforeCommandExecuted','595162zrbCCc','BeforeSheetPrintCanceled','PrintHeaderFooterSymbol','updateRenderConfig','PrintFreeze','SheetPrintCanceled','saveScreenshotToClipboard','230SGXIEF','198735quuVZl','PrintAlign','syncExecuteCommand','closePrintDialog','_range','extend','376119FMheAI','_initialize','getActiveSheet','Event'];_0x42cc=function(){return _0x3a6ee2;};return _0x42cc();}const _0x4b619e=_0x338e;(function(_0x76c7c4,_0x3c1bfd){const _0x27cc1d=_0x338e,_0xbc539b=_0x76c7c4();while(!![]){try{const _0x3fbd00=parseInt(_0x27cc1d(0xe2))/0x1*(parseInt(_0x27cc1d(0xfa))/0x2)+parseInt(_0x27cc1d(0x102))/0x3*(parseInt(_0x27cc1d(0x112))/0x4)+-parseInt(_0x27cc1d(0x101))/0x5*(parseInt(_0x27cc1d(0x10f))/0x6)+-parseInt(_0x27cc1d(0xf6))/0x7*(-parseInt(_0x27cc1d(0xf0))/0x8)+parseInt(_0x27cc1d(0x108))/0x9*(parseInt(_0x27cc1d(0xea))/0xa)+-parseInt(_0x27cc1d(0xed))/0xb+parseInt(_0x27cc1d(0xf1))/0xc;if(_0x3fbd00===_0x3c1bfd)break;else _0xbc539b['push'](_0xbc539b['shift']());}catch(_0x5108e6){_0xbc539b['push'](_0xbc539b['shift']());}}}(_0x42cc,0x6e38a));import{ISheetPrintManagerService as _0x25c02f,ConfirmSheetPrintOperation as _0x3e44a9,SheetPrintOpenOperation as _0x2a2747,CancelSheetPrintOperation as _0x2b4ba9,hasPrintFacadePermission as _0x2d06e0,SheetScreenShotOperation as _0x27b989,SheetPrintClientService as _0x435446,PrintArea as _0x108704,PrintFreeze as _0x5ca4a0,PrintHeaderFooter as _0x575b89,PrintHeaderFooterSymbol as _0x3f540b}from'@univerjs-pro/sheets-print';import{ICommandService as _0x23a598,PaperType as _0xe2bccb,CanceledError as _0x6d1728}from'@univerjs/core';import{FWorkbook as _0x2a3780,FRange as _0x58d49a}from'@univerjs/sheets/facade';import{FEventName as _0x2443e8,FEnum as _0x233b14,FUniver as _0x4b4353}from'@univerjs/core/facade';import{PrintAlign as _0x41c079,PrintPaperMargin as _0x15d200,PrintScale as _0x30f75e,PrintDirection as _0x5970de}from'@univerjs-pro/print';class A extends _0x2a3780{['updatePrintConfig'](_0x5c3ed5){const _0x25915e=_0x338e;return this[_0x25915e(0x10c)][_0x25915e(0x114)](_0x25c02f)[_0x25915e(0xe5)](_0x5c3ed5),this;}['updatePrintRenderConfig'](_0x3bf3ba){const _0x473e98=_0x338e;return this['_injector'][_0x473e98(0x114)](_0x25c02f)[_0x473e98(0xfd)](_0x3bf3ba),this;}[_0x4b619e(0xf8)](){const _0x3730cf=_0x4b619e;return this['_injector'][_0x3730cf(0x114)](_0x23a598)['syncExecuteCommand'](_0x3e44a9['id']);}['openPrintDialog'](){const _0x4c79a4=_0x4b619e;return this[_0x4c79a4(0x10c)][_0x4c79a4(0x114)](_0x23a598)[_0x4c79a4(0x104)](_0x2a2747['id']);}[_0x4b619e(0x105)](){const _0x3eb6b9=_0x4b619e;return this[_0x3eb6b9(0x10c)][_0x3eb6b9(0x114)](_0x23a598)[_0x3eb6b9(0x104)](_0x2b4ba9['id']);}async[_0x4b619e(0x100)](){const _0x3d24c0=_0x4b619e;return _0x2d06e0(this['_injector'])?this['_injector'][_0x3d24c0(0x114)](_0x23a598)['executeCommand'](_0x27b989['id']):!0x1;}}_0x2a3780[_0x4b619e(0x107)](A);class B extends _0x58d49a{[_0x4b619e(0xe6)](){const _0x10e356=_0x4b619e;return _0x2d06e0(this['_injector'])?this[_0x10e356(0x10c)][_0x10e356(0x114)](_0x435446)[_0x10e356(0x111)](this[_0x10e356(0x110)][_0x10e356(0xef)](),this[_0x10e356(0x113)][_0x10e356(0xe8)](),this[_0x10e356(0x106)]):!0x1;}}function _0x338e(_0x3bbc6b,_0x4ba218){const _0x42cc25=_0x42cc();return _0x338e=function(_0x338ebb,_0x524781){_0x338ebb=_0x338ebb-0xe2;let _0x34478e=_0x42cc25[_0x338ebb];return _0x34478e;},_0x338e(_0x3bbc6b,_0x4ba218);}_0x58d49a[_0x4b619e(0x107)](B);class H{get['BeforeSheetPrintOpen'](){return'BeforeSheetPrintOpen';}get[_0x4b619e(0xeb)](){const _0x316645=_0x4b619e;return _0x316645(0xeb);}get[_0x4b619e(0xfb)](){const _0x28fc69=_0x4b619e;return _0x28fc69(0xfb);}get[_0x4b619e(0xe9)](){const _0x4d6622=_0x4b619e;return _0x4d6622(0xe9);}get['SheetPrintConfirmed'](){const _0x58d409=_0x4b619e;return _0x58d409(0xf5);}get[_0x4b619e(0xff)](){return'SheetPrintCanceled';}}_0x2443e8[_0x4b619e(0x107)](H);class U{get[_0x4b619e(0x10e)](){return _0x108704;}get[_0x4b619e(0x103)](){return _0x41c079;}get[_0x4b619e(0xf4)](){return _0xe2bccb;}get['PrintPaperMargin'](){return _0x15d200;}get[_0x4b619e(0xee)](){return _0x30f75e;}get[_0x4b619e(0xf3)](){return _0x5970de;}get[_0x4b619e(0xfe)](){return _0x5ca4a0;}get[_0x4b619e(0xe7)](){return _0x575b89;}get[_0x4b619e(0xfc)](){return _0x3f540b;}}_0x233b14[_0x4b619e(0x107)](U);class M extends _0x4b4353{[_0x4b619e(0x109)](_0x57507f){const _0x19a11e=_0x4b619e,_0xba527b=_0x57507f[_0x19a11e(0x114)](_0x23a598);this['registerEventHandler'](this[_0x19a11e(0x10b)]['BeforeSheetPrintOpen'],()=>_0xba527b[_0x19a11e(0xf9)](_0x444f46=>{const _0x5a882f=_0x19a11e;if(_0x444f46['id']===_0x2a2747['id']){const _0x220007=this[_0x5a882f(0xe3)]();if(!_0x220007)return;const _0x483124={'workbook':_0x220007,'worksheet':_0x220007[_0x5a882f(0x10a)]()};if(_0x483124==null)return;if(this[_0x5a882f(0x10d)](this[_0x5a882f(0x10b)]['BeforeSheetPrintOpen'],_0x483124),_0x483124[_0x5a882f(0xec)])throw new _0x6d1728();}})),this['registerEventHandler'](this['Event'][_0x19a11e(0xeb)],()=>_0xba527b[_0x19a11e(0xf9)](_0x852aa7=>{const _0x3ea8a9=_0x19a11e;if(_0x852aa7['id']===_0x3e44a9['id']){const _0x5d15f0=_0x57507f[_0x3ea8a9(0x114)](_0x25c02f);if(!this[_0x3ea8a9(0xe3)]())return;const _0x42af07={'layoutConfig':_0x5d15f0[_0x3ea8a9(0xf2)],'renderConfig':_0x5d15f0[_0x3ea8a9(0xe4)]};if(_0x42af07==null)return;if(this[_0x3ea8a9(0x10d)](this[_0x3ea8a9(0x10b)][_0x3ea8a9(0xeb)],_0x42af07),_0x42af07[_0x3ea8a9(0xec)])throw new _0x6d1728();}})),this[_0x19a11e(0x115)](this[_0x19a11e(0x10b)][_0x19a11e(0xfb)],()=>_0xba527b['beforeCommandExecuted'](_0x35a9ea=>{const _0x2bb23e=_0x19a11e;if(_0x35a9ea['id']===_0x2b4ba9['id']){const _0x1bade7=_0x57507f['get'](_0x25c02f);if(!this[_0x2bb23e(0xe3)]())return;const _0x736496={'layoutConfig':_0x1bade7['layoutConfig'],'renderConfig':_0x1bade7[_0x2bb23e(0xe4)]};if(_0x736496==null)return;if(this[_0x2bb23e(0x10d)](this[_0x2bb23e(0x10b)][_0x2bb23e(0xfb)],_0x736496),_0x736496[_0x2bb23e(0xec)])throw new _0x6d1728();}})),this[_0x19a11e(0x115)](this[_0x19a11e(0x10b)][_0x19a11e(0xe9)],()=>_0xba527b[_0x19a11e(0xf7)](_0x350f1a=>{const _0x55fd2a=_0x19a11e;if(_0x350f1a['id']===_0x2a2747['id']){const _0x5c21cb=this[_0x55fd2a(0xe3)]();if(!_0x5c21cb)return;const _0x4e8d86={'workbook':_0x5c21cb,'worksheet':_0x5c21cb['getActiveSheet']()};if(_0x4e8d86==null)return;this[_0x55fd2a(0x10d)](this[_0x55fd2a(0x10b)][_0x55fd2a(0xe9)],_0x4e8d86);}})),this['registerEventHandler'](this[_0x19a11e(0x10b)]['SheetPrintConfirmed'],()=>_0xba527b[_0x19a11e(0xf7)](_0x3409dd=>{const _0x45b7ad=_0x19a11e;if(_0x3409dd['id']===_0x3e44a9['id']){const _0x5d83ba=_0x57507f[_0x45b7ad(0x114)](_0x25c02f);if(!this[_0x45b7ad(0xe3)]())return;const _0xc0b5b={'layoutConfig':_0x5d83ba['layoutConfig'],'renderConfig':_0x5d83ba[_0x45b7ad(0xe4)]};if(_0xc0b5b==null)return;this['fireEvent'](this[_0x45b7ad(0x10b)]['SheetPrintConfirmed'],_0xc0b5b);}})),this[_0x19a11e(0x115)](this['Event'][_0x19a11e(0xff)],()=>_0xba527b[_0x19a11e(0xf7)](_0x3d5f86=>{const _0x44c3cc=_0x19a11e;if(_0x3d5f86['id']===_0x2b4ba9['id']){const _0x384e97=_0x57507f[_0x44c3cc(0x114)](_0x25c02f);if(!this[_0x44c3cc(0xe3)]())return;const _0x1bf1b1={'layoutConfig':_0x384e97['layoutConfig'],'renderConfig':_0x384e97[_0x44c3cc(0xe4)]};if(_0x1bf1b1==null)return;this['fireEvent'](this[_0x44c3cc(0x10b)][_0x44c3cc(0xff)],_0x1bf1b1);}}));}}_0x4b4353[_0x4b619e(0x107)](M);
1
+ const _0x454eaa=_0xc5ed;function _0x1783(){const _0x5e525b=['updateLayoutConfig','PrintHeaderFooter','SheetPrintCanceled','PrintDirection','getActiveUniverSheet','_range','extend','getUnitId','syncExecuteCommand','BeforeSheetPrintConfirm','get','19304RCepkG','_injector','12kZQKnU','registerEventHandler','fireEvent','onCommandExecuted','3673229TtZxGA','updatePrintConfig','closePrintDialog','PrintArea','getActiveSheet','4267830pKTKTB','getSheetId','openPrintDialog','getScreenshot','_initialize','beforeCommandExecuted','PrintPaperMargin','BeforeSheetPrintOpen','PrintScale','2763TFagNN','_worksheet','layoutConfig','updateRenderConfig','1317033yRwAeL','706660KZpWrk','print','BeforeSheetPrintCanceled','6679DYaDxh','renderConfig','PrintAlign','cancel','Event','SheetPrintConfirmed','getRangeImage','SheetPrintOpen','132896ZXgCxl'];_0x1783=function(){return _0x5e525b;};return _0x1783();}(function(_0x910000,_0x148e24){const _0x169e90=_0xc5ed,_0x37d9be=_0x910000();while(!![]){try{const _0x2b7121=parseInt(_0x169e90(0x184))/0x1*(parseInt(_0x169e90(0x19a))/0x2)+-parseInt(_0x169e90(0x180))/0x3+parseInt(_0x169e90(0x18c))/0x4+-parseInt(_0x169e90(0x181))/0x5+parseInt(_0x169e90(0x1a3))/0x6+-parseInt(_0x169e90(0x19e))/0x7+-parseInt(_0x169e90(0x198))/0x8*(-parseInt(_0x169e90(0x17c))/0x9);if(_0x2b7121===_0x148e24)break;else _0x37d9be['push'](_0x37d9be['shift']());}catch(_0x7fd722){_0x37d9be['push'](_0x37d9be['shift']());}}}(_0x1783,0x669d0));import{ISheetPrintManagerService as _0x5e2bf6,ConfirmSheetPrintOperation as _0x3ba41c,SheetPrintOpenOperation as _0x120d3d,CancelSheetPrintOperation as _0x40b88e,hasPrintFacadePermission as _0x3babf8,SheetScreenShotOperation as _0x810ba3,SheetPrintClientService as _0x2ec5dd,PrintArea as _0x480344,PrintFreeze as _0x24a8ba,PrintHeaderFooter as _0x415aad,PrintHeaderFooterSymbol as _0xa5e166}from'@univerjs-pro/sheets-print';import{ICommandService as _0x472b60,PaperType as _0x19f29d,CanceledError as _0x53b584}from'@univerjs/core';import{FWorkbook as _0x232d7d,FRange as _0x5062c6}from'@univerjs/sheets/facade';import{FEventName as _0x502b80,FEnum as _0x3ad3b2,FUniver as _0x54106e}from'@univerjs/core/facade';import{PrintAlign as _0xd00eb6,PrintPaperMargin as _0x455e96,PrintScale as _0x16a0c8,PrintDirection as _0x17788d}from'@univerjs-pro/print';class A extends _0x232d7d{[_0x454eaa(0x19f)](_0x4bb689){const _0x13b94=_0x454eaa;return this['_injector'][_0x13b94(0x197)](_0x5e2bf6)[_0x13b94(0x18d)](_0x4bb689),this;}['updatePrintRenderConfig'](_0xcf91cf){const _0x2f0617=_0x454eaa;return this['_injector'][_0x2f0617(0x197)](_0x5e2bf6)[_0x2f0617(0x17f)](_0xcf91cf),this;}[_0x454eaa(0x182)](){const _0x3456f6=_0x454eaa;return this[_0x3456f6(0x199)][_0x3456f6(0x197)](_0x472b60)[_0x3456f6(0x195)](_0x3ba41c['id']);}[_0x454eaa(0x1a5)](){const _0x554352=_0x454eaa;return this[_0x554352(0x199)][_0x554352(0x197)](_0x472b60)['syncExecuteCommand'](_0x120d3d['id']);}[_0x454eaa(0x1a0)](){const _0x36c626=_0x454eaa;return this[_0x36c626(0x199)][_0x36c626(0x197)](_0x472b60)[_0x36c626(0x195)](_0x40b88e['id']);}async['saveScreenshotToClipboard'](){const _0x55f2f3=_0x454eaa;return _0x3babf8(this[_0x55f2f3(0x199)])?this[_0x55f2f3(0x199)][_0x55f2f3(0x197)](_0x472b60)['executeCommand'](_0x810ba3['id']):!0x1;}}_0x232d7d[_0x454eaa(0x193)](A);function _0xc5ed(_0x2f247e,_0x2fc26d){const _0x17832c=_0x1783();return _0xc5ed=function(_0xc5edac,_0x449279){_0xc5edac=_0xc5edac-0x17a;let _0x46b089=_0x17832c[_0xc5edac];return _0x46b089;},_0xc5ed(_0x2f247e,_0x2fc26d);}class B extends _0x5062c6{[_0x454eaa(0x1a6)](){const _0x4d4818=_0x454eaa;return _0x3babf8(this['_injector'])?this[_0x4d4818(0x199)][_0x4d4818(0x197)](_0x2ec5dd)[_0x4d4818(0x18a)](this['_workbook'][_0x4d4818(0x194)](),this[_0x4d4818(0x17d)][_0x4d4818(0x1a4)](),this[_0x4d4818(0x192)]):!0x1;}}_0x5062c6[_0x454eaa(0x193)](B);class H{get[_0x454eaa(0x17a)](){const _0x37a6eb=_0x454eaa;return _0x37a6eb(0x17a);}get[_0x454eaa(0x196)](){const _0x47b2c6=_0x454eaa;return _0x47b2c6(0x196);}get[_0x454eaa(0x183)](){const _0x2f4eeb=_0x454eaa;return _0x2f4eeb(0x183);}get[_0x454eaa(0x18b)](){const _0x584418=_0x454eaa;return _0x584418(0x18b);}get['SheetPrintConfirmed'](){const _0x1f63b6=_0x454eaa;return _0x1f63b6(0x189);}get['SheetPrintCanceled'](){const _0x47ad6c=_0x454eaa;return _0x47ad6c(0x18f);}}_0x502b80['extend'](H);class U{get[_0x454eaa(0x1a1)](){return _0x480344;}get[_0x454eaa(0x186)](){return _0xd00eb6;}get['PrintPaperSize'](){return _0x19f29d;}get[_0x454eaa(0x1a9)](){return _0x455e96;}get[_0x454eaa(0x17b)](){return _0x16a0c8;}get[_0x454eaa(0x190)](){return _0x17788d;}get['PrintFreeze'](){return _0x24a8ba;}get[_0x454eaa(0x18e)](){return _0x415aad;}get['PrintHeaderFooterSymbol'](){return _0xa5e166;}}_0x3ad3b2['extend'](U);class M extends _0x54106e{[_0x454eaa(0x1a7)](_0x10fd6a){const _0x3c06d5=_0x454eaa,_0x316ed2=_0x10fd6a[_0x3c06d5(0x197)](_0x472b60);this[_0x3c06d5(0x19b)](this[_0x3c06d5(0x188)][_0x3c06d5(0x17a)],()=>_0x316ed2[_0x3c06d5(0x1a8)](_0x275b1e=>{const _0x44f6a2=_0x3c06d5;if(_0x275b1e['id']===_0x120d3d['id']){const _0x8a30f4=this[_0x44f6a2(0x191)]();if(!_0x8a30f4)return;const _0x522d35={'workbook':_0x8a30f4,'worksheet':_0x8a30f4[_0x44f6a2(0x1a2)]()};if(_0x522d35==null)return;if(this['fireEvent'](this[_0x44f6a2(0x188)][_0x44f6a2(0x17a)],_0x522d35),_0x522d35[_0x44f6a2(0x187)])throw new _0x53b584();}})),this[_0x3c06d5(0x19b)](this['Event'][_0x3c06d5(0x196)],()=>_0x316ed2[_0x3c06d5(0x1a8)](_0x1b46d2=>{const _0x4f8327=_0x3c06d5;if(_0x1b46d2['id']===_0x3ba41c['id']){const _0x811611=_0x10fd6a['get'](_0x5e2bf6);if(!this[_0x4f8327(0x191)]())return;const _0xb2bc58={'layoutConfig':_0x811611[_0x4f8327(0x17e)],'renderConfig':_0x811611['renderConfig']};if(_0xb2bc58==null)return;if(this[_0x4f8327(0x19c)](this[_0x4f8327(0x188)]['BeforeSheetPrintConfirm'],_0xb2bc58),_0xb2bc58[_0x4f8327(0x187)])throw new _0x53b584();}})),this[_0x3c06d5(0x19b)](this[_0x3c06d5(0x188)][_0x3c06d5(0x183)],()=>_0x316ed2[_0x3c06d5(0x1a8)](_0x47fad9=>{const _0xa22cf7=_0x3c06d5;if(_0x47fad9['id']===_0x40b88e['id']){const _0x34c9e9=_0x10fd6a[_0xa22cf7(0x197)](_0x5e2bf6);if(!this['getActiveUniverSheet']())return;const _0x400f21={'layoutConfig':_0x34c9e9[_0xa22cf7(0x17e)],'renderConfig':_0x34c9e9[_0xa22cf7(0x185)]};if(_0x400f21==null)return;if(this[_0xa22cf7(0x19c)](this[_0xa22cf7(0x188)]['BeforeSheetPrintCanceled'],_0x400f21),_0x400f21[_0xa22cf7(0x187)])throw new _0x53b584();}})),this[_0x3c06d5(0x19b)](this[_0x3c06d5(0x188)][_0x3c06d5(0x18b)],()=>_0x316ed2[_0x3c06d5(0x19d)](_0x1e3601=>{const _0x2040d4=_0x3c06d5;if(_0x1e3601['id']===_0x120d3d['id']){const _0x3d2951=this[_0x2040d4(0x191)]();if(!_0x3d2951)return;const _0x2cd1a8={'workbook':_0x3d2951,'worksheet':_0x3d2951[_0x2040d4(0x1a2)]()};if(_0x2cd1a8==null)return;this[_0x2040d4(0x19c)](this[_0x2040d4(0x188)][_0x2040d4(0x18b)],_0x2cd1a8);}})),this['registerEventHandler'](this[_0x3c06d5(0x188)][_0x3c06d5(0x189)],()=>_0x316ed2[_0x3c06d5(0x19d)](_0x26d0f1=>{const _0x268ff2=_0x3c06d5;if(_0x26d0f1['id']===_0x3ba41c['id']){const _0x2af648=_0x10fd6a[_0x268ff2(0x197)](_0x5e2bf6);if(!this[_0x268ff2(0x191)]())return;const _0x962fbe={'layoutConfig':_0x2af648[_0x268ff2(0x17e)],'renderConfig':_0x2af648[_0x268ff2(0x185)]};if(_0x962fbe==null)return;this['fireEvent'](this[_0x268ff2(0x188)][_0x268ff2(0x189)],_0x962fbe);}})),this[_0x3c06d5(0x19b)](this[_0x3c06d5(0x188)][_0x3c06d5(0x18f)],()=>_0x316ed2['onCommandExecuted'](_0x51d788=>{const _0x435820=_0x3c06d5;if(_0x51d788['id']===_0x40b88e['id']){const _0x210ed9=_0x10fd6a[_0x435820(0x197)](_0x5e2bf6);if(!this['getActiveUniverSheet']())return;const _0x2a54cc={'layoutConfig':_0x210ed9[_0x435820(0x17e)],'renderConfig':_0x210ed9[_0x435820(0x185)]};if(_0x2a54cc==null)return;this['fireEvent'](this[_0x435820(0x188)][_0x435820(0x18f)],_0x2a54cc);}}));}}_0x54106e['extend'](M);
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-0{bottom:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[312px\]{width:312px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}
1
+ .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-bottom-0{bottom:0}.univer-bottom-4{bottom:1rem}.univer-left-0{left:0}.univer-right-0{right:0}.univer-right-4{right:1rem}.univer-top-0{top:0}.univer-z-\[1000\]{z-index:1000}.univer-z-\[100\]{z-index:100}.univer-z-\[1010\]{z-index:1010}.univer-mx-2{margin-left:.5rem;margin-right:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-0{margin-top:0;margin-bottom:0}.univer-my-1{margin-top:.25rem;margin-bottom:.25rem}.univer-my-4{margin-top:1rem;margin-bottom:1rem}.univer-my-5{margin-top:1.25rem;margin-bottom:1.25rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-ml-2{margin-left:.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-mt-7{margin-top:1.75rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-8{width:2rem;height:2rem}.univer-size-full{width:100%;height:100%}.univer-h-16{height:4rem}.univer-h-8{height:2rem}.univer-h-\[200px\]{height:200px}.univer-h-full{height:100%}.univer-w-\[312px\]{width:312px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-min-w-36{min-width:9rem}.univer-min-w-\[200px\]{min-width:200px}.univer-flex-1{flex:1 1 0%}.univer-flex-none{flex:none}.univer-flex-grow{flex-grow:1}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-space-y-2>:not([hidden])~:not([hidden]){--univer-tw-space-y-reverse: 0;margin-top:calc(.5rem * (1 - var(--univer-tw-space-y-reverse)));margin-top:.5rem;margin-top:calc(.5rem * calc(1 - var(--univer-tw-space-y-reverse)));margin-bottom:0rem;margin-bottom:calc(.5rem * var(--univer-tw-space-y-reverse))}.univer-overflow-auto{overflow:auto}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-t{border-top-width:1px}.univer-border-gray-200{border-color:var(--univer-gray-200)}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-p-4{padding:1rem}.univer-px-0{padding-left:0;padding-right:0}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-6{padding-left:1.5rem;padding-right:1.5rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-7{padding-top:1.75rem;padding-bottom:1.75rem}.univer-pb-4{padding-bottom:1rem}.univer-text-center{text-align:center}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-lg{font-size:1.125rem;line-height:1.75rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-lg{--univer-tw-shadow: 0px 4px 6px 0px rgba(30, 40, 77, .05), 0px 10px 15px -3px rgba(30, 40, 77, .1);--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 4px 6px #1e284d0d,0 10px 15px -3px #1e284d1a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.first\:univer-mr-2:first-child{margin-right:.5rem}.hover\:univer-rounded:hover{border-radius:.25rem}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-300:hover{background-color:var(--univer-gray-300)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.hover\:dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *):hover{background-color:var(--univer-gray-700)!important}