@univerjs-pro/docs-print 0.25.0 → 1.0.0-alpha.0
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/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/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/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/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/menu.d.ts +2 -1
- package/lib/types/controllers/{docs-print-ui.controller.d.ts → ui.controller.d.ts} +2 -4
- package/lib/types/index.d.ts +2 -2
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/doc-print.service.d.ts +1 -3
- 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 +12 -12
- /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/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5bc9(_0x41ced2,_0x10ebe4){_0x41ced2=_0x41ced2-0x1ee;const _0x59f1e0=_0x59f1();let _0x5bc923=_0x59f1e0[_0x41ced2];return _0x5bc923;}function _0x59f1(){const _0x72051e=['962016rdRQss','706580eimZMT','1874100NpPQqT','150DXBRyv','6oBvTIx','20UdyXrm','1232559zzaPOM','146191phLwrk','1019424IEIJJx','153461NNACBf'];_0x59f1=function(){return _0x72051e;};return _0x59f1();}(function(_0x461853,_0x136c24){const _0x3e7dee=_0x5bc9,_0x440099=_0x461853();while(!![]){try{const _0x4eb543=-parseInt(_0x3e7dee(0x1ee))/0x1*(-parseInt(_0x3e7dee(0x1f5))/0x2)+parseInt(_0x3e7dee(0x1ef))/0x3+-parseInt(_0x3e7dee(0x1f2))/0x4+parseInt(_0x3e7dee(0x1f3))/0x5+parseInt(_0x3e7dee(0x1f4))/0x6*(-parseInt(_0x3e7dee(0x1f0))/0x7)+parseInt(_0x3e7dee(0x1f1))/0x8+-parseInt(_0x3e7dee(0x1f7))/0x9*(parseInt(_0x3e7dee(0x1f6))/0xa);if(_0x4eb543===_0x136c24)break;else _0x440099['push'](_0x440099['shift']());}catch(_0x58e3bf){_0x440099['push'](_0x440099['shift']());}}}(_0x59f1,0x4318f));const e={'docs-print':{'menu':'인쇄'}};export{e as default};
|
package/lib/es/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2b21(_0x5de3e0,_0x4fd3b9){_0x5de3e0=_0x5de3e0-0x174;const _0x5c5319=_0x5c53();let _0x2b2165=_0x5c5319[_0x5de3e0];return _0x2b2165;}function _0x5c53(){const _0x4a7c88=['129576JFSyHP','3331578mYxJoR','612wryPHQ','3itaduc','9710640OlnJZL','1992372TfyEZV','3731415NAlpPz','67376LChhdQ','7SLvjJq','79800HWlVse'];_0x5c53=function(){return _0x4a7c88;};return _0x5c53();}(function(_0x3e310a,_0x8d7434){const _0x20018e=_0x2b21,_0x394486=_0x3e310a();while(!![]){try{const _0x38af95=parseInt(_0x20018e(0x17d))/0x1*(parseInt(_0x20018e(0x175))/0x2)+parseInt(_0x20018e(0x178))/0x3*(parseInt(_0x20018e(0x17a))/0x4)+-parseInt(_0x20018e(0x17b))/0x5+parseInt(_0x20018e(0x176))/0x6+parseInt(_0x20018e(0x174))/0x7+parseInt(_0x20018e(0x17c))/0x8*(parseInt(_0x20018e(0x177))/0x9)+-parseInt(_0x20018e(0x179))/0xa;if(_0x38af95===_0x8d7434)break;else _0x394486['push'](_0x394486['shift']());}catch(_0x59ce0c){_0x394486['push'](_0x394486['shift']());}}}(_0x5c53,0x5b375));const e={'docs-print':{'menu':'Drukuj'}};export{e as default};
|
package/lib/es/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x367288=_0x2d1c;(function(_0x3e2145,_0x5a465c){const _0x36da60=_0x2d1c,_0xfe88e7=_0x3e2145();while(!![]){try{const _0x2ad2ed=parseInt(_0x36da60(0x6d))/0x1*(-parseInt(_0x36da60(0x69))/0x2)+-parseInt(_0x36da60(0x6c))/0x3*(-parseInt(_0x36da60(0x67))/0x4)+parseInt(_0x36da60(0x6a))/0x5*(parseInt(_0x36da60(0x6e))/0x6)+-parseInt(_0x36da60(0x70))/0x7+parseInt(_0x36da60(0x71))/0x8*(parseInt(_0x36da60(0x72))/0x9)+parseInt(_0x36da60(0x66))/0xa*(-parseInt(_0x36da60(0x65))/0xb)+parseInt(_0x36da60(0x6b))/0xc*(parseInt(_0x36da60(0x6f))/0xd);if(_0x2ad2ed===_0x5a465c)break;else _0xfe88e7['push'](_0xfe88e7['shift']());}catch(_0x34dc49){_0xfe88e7['push'](_0xfe88e7['shift']());}}}(_0x19a3,0x19a15));function _0x19a3(){const _0x4709c9=['588mHMlVr','17022ZALMPK','143455QvsvDR','249078iiEeia','32773rYumlc','816760WKoijo','7920vNSnjI','918RWHaeD','11fbQOPO','994960LFUZbE','140tWgkzi','Imprimir','2SeVVFF','5dJSzyd'];_0x19a3=function(){return _0x4709c9;};return _0x19a3();}const e={'docs-print':{'menu':_0x367288(0x68)}};function _0x2d1c(_0x123cd8,_0x3bd443){_0x123cd8=_0x123cd8-0x65;const _0x19a369=_0x19a3();let _0x2d1c7e=_0x19a369[_0x123cd8];return _0x2d1c7e;}export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d842e=_0x4204;function _0x4204(_0x1f15f9,_0x1ef088){_0x1f15f9=_0x1f15f9-0x10b;const _0x545776=_0x5457();let _0x4204f2=_0x545776[_0x1f15f9];return _0x4204f2;}function _0x5457(){const _0x3ac098=['Печать','19376LDmxYA','976OzJthl','28UJipJN','1190rSPfmG','2mnayPo','2727DoESAZ','19693014exTQhB','1071081sNQUnF','2298816klfDDq','186610HAKkcZ','263668YKDTMW'];_0x5457=function(){return _0x3ac098;};return _0x5457();}(function(_0x111519,_0x5a76ae){const _0xbbc0ad=_0x4204,_0x2a5186=_0x111519();while(!![]){try{const _0x4cae63=-parseInt(_0xbbc0ad(0x114))/0x1*(parseInt(_0xbbc0ad(0x10e))/0x2)+-parseInt(_0xbbc0ad(0x10b))/0x3+parseInt(_0xbbc0ad(0x112))/0x4*(-parseInt(_0xbbc0ad(0x10d))/0x5)+-parseInt(_0xbbc0ad(0x10c))/0x6+parseInt(_0xbbc0ad(0x110))/0x7*(-parseInt(_0xbbc0ad(0x111))/0x8)+-parseInt(_0xbbc0ad(0x115))/0x9*(-parseInt(_0xbbc0ad(0x113))/0xa)+parseInt(_0xbbc0ad(0x116))/0xb;if(_0x4cae63===_0x5a76ae)break;else _0x2a5186['push'](_0x2a5186['shift']());}catch(_0x12f869){_0x2a5186['push'](_0x2a5186['shift']());}}}(_0x5457,0x3693e));const e={'docs-print':{'menu':_0x3d842e(0x10f)}};export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x53bf(_0x53f090,_0x51d9ee){_0x53f090=_0x53f090-0x125;const _0x4c95d8=_0x4c95();let _0x53bf4a=_0x4c95d8[_0x53f090];return _0x53bf4a;}const _0x5d40bb=_0x53bf;(function(_0x129bf0,_0x9a398d){const _0x5f5ac5=_0x53bf,_0x198af0=_0x129bf0();while(!![]){try{const _0x388b72=parseInt(_0x5f5ac5(0x12b))/0x1*(-parseInt(_0x5f5ac5(0x12a))/0x2)+-parseInt(_0x5f5ac5(0x125))/0x3*(-parseInt(_0x5f5ac5(0x12d))/0x4)+parseInt(_0x5f5ac5(0x129))/0x5+parseInt(_0x5f5ac5(0x127))/0x6+-parseInt(_0x5f5ac5(0x12e))/0x7*(-parseInt(_0x5f5ac5(0x128))/0x8)+-parseInt(_0x5f5ac5(0x12f))/0x9+-parseInt(_0x5f5ac5(0x126))/0xa*(-parseInt(_0x5f5ac5(0x12c))/0xb);if(_0x388b72===_0x9a398d)break;else _0x198af0['push'](_0x198af0['shift']());}catch(_0x4649df){_0x198af0['push'](_0x198af0['shift']());}}}(_0x4c95,0x51e47));function _0x4c95(){const _0x18fcba=['56sElryu','1180975gLuPXg','6GfbPmv','124606mfGdjv','819742lKkAyS','10104oeRjEq','308063TvPqKM','3147552IxXMMm','Tlač','30VtHBMV','20XiYLdE','2042490aFBMBw'];_0x4c95=function(){return _0x18fcba;};return _0x4c95();}const e={'docs-print':{'menu':_0x5d40bb(0x130)}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3693a4,_0x3bcd80){const _0x20445=_0x41fd,_0x2f692d=_0x3693a4();while(!![]){try{const _0x3e728e=parseInt(_0x20445(0x10a))/0x1+-parseInt(_0x20445(0x107))/0x2+parseInt(_0x20445(0x10b))/0x3*(-parseInt(_0x20445(0x10e))/0x4)+parseInt(_0x20445(0x106))/0x5+-parseInt(_0x20445(0x10c))/0x6*(-parseInt(_0x20445(0x10d))/0x7)+parseInt(_0x20445(0x108))/0x8*(-parseInt(_0x20445(0x109))/0x9)+-parseInt(_0x20445(0x105))/0xa;if(_0x3e728e===_0x3bcd80)break;else _0x2f692d['push'](_0x2f692d['shift']());}catch(_0x1b1e56){_0x2f692d['push'](_0x2f692d['shift']());}}}(_0x4b8c,0xb4035));function _0x4b8c(){const _0x2b5e99=['1907576ahtNEZ','8poAkTe','6945453KJxLFF','1211437ReogGG','1980pVOcjg','6259998vqJlKB','7FyOpst','368pRrjyd','5100880eQFdaI','3894380opGSyR'];_0x4b8c=function(){return _0x2b5e99;};return _0x4b8c();}const e={'docs-print':{'menu':'In'}};function _0x41fd(_0x2db9b5,_0x48583c){_0x2db9b5=_0x2db9b5-0x105;const _0x4b8c2c=_0x4b8c();let _0x41fdb0=_0x4b8c2c[_0x2db9b5];return _0x41fdb0;}export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb1d9d1,_0x385984){const _0x39eca9=_0x547e,_0x498b87=_0xb1d9d1();while(!![]){try{const _0x383ca2=-parseInt(_0x39eca9(0x155))/0x1*(parseInt(_0x39eca9(0x14f))/0x2)+-parseInt(_0x39eca9(0x157))/0x3*(-parseInt(_0x39eca9(0x154))/0x4)+-parseInt(_0x39eca9(0x156))/0x5*(-parseInt(_0x39eca9(0x14d))/0x6)+-parseInt(_0x39eca9(0x150))/0x7*(-parseInt(_0x39eca9(0x153))/0x8)+parseInt(_0x39eca9(0x14e))/0x9+-parseInt(_0x39eca9(0x152))/0xa+-parseInt(_0x39eca9(0x151))/0xb;if(_0x383ca2===_0x385984)break;else _0x498b87['push'](_0x498b87['shift']());}catch(_0x162a40){_0x498b87['push'](_0x498b87['shift']());}}}(_0xc33c,0xa5077));function _0x547e(_0x44d10c,_0x49ddaf){_0x44d10c=_0x44d10c-0x14d;const _0xc33c45=_0xc33c();let _0x547e99=_0xc33c45[_0x44d10c];return _0x547e99;}function _0xc33c(){const _0x22952f=['4323100kfAEJq','952IUlgQN','4aRousf','297855WfabCS','145wtdJdt','1742817lrBoZc','229962lYKOvZ','12103506GqNgqN','2lcHmiX','63gZitTS','17954233iAzBBl'];_0xc33c=function(){return _0x22952f;};return _0xc33c();}const e={'docs-print':{'menu':'打印'}};export{e as default};
|
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2a16(_0x2c3fcb,_0x23eac8){_0x2c3fcb=_0x2c3fcb-0x78;const _0xbbf7d9=_0xbbf7();let _0x2a165b=_0xbbf7d9[_0x2c3fcb];return _0x2a165b;}(function(_0x319f93,_0x15b9f1){const _0x4abe5b=_0x2a16,_0x35fdf1=_0x319f93();while(!![]){try{const _0x222362=-parseInt(_0x4abe5b(0x78))/0x1*(-parseInt(_0x4abe5b(0x7e))/0x2)+parseInt(_0x4abe5b(0x7b))/0x3+-parseInt(_0x4abe5b(0x82))/0x4+-parseInt(_0x4abe5b(0x7d))/0x5*(-parseInt(_0x4abe5b(0x79))/0x6)+parseInt(_0x4abe5b(0x7c))/0x7*(parseInt(_0x4abe5b(0x7f))/0x8)+-parseInt(_0x4abe5b(0x7a))/0x9+-parseInt(_0x4abe5b(0x81))/0xa*(parseInt(_0x4abe5b(0x80))/0xb);if(_0x222362===_0x15b9f1)break;else _0x35fdf1['push'](_0x35fdf1['shift']());}catch(_0xbaf466){_0x35fdf1['push'](_0x35fdf1['shift']());}}}(_0xbbf7,0xd0955));function _0xbbf7(){const _0x30073c=['161kwGzqk','1290582duXvGQ','3327336oRGVFm','3009216hHfUrC','315rMCscg','15XDEqcW','4524EYnNZr','53616EjBOot','15532oPrzfX','6620mopooH','621320QeDEzS'];_0xbbf7=function(){return _0x30073c;};return _0xbbf7();}const e={'docs-print':{'menu':'列印'}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3f47(){const _0xbab7fc=['377171sgYXvu','742880mmMYwE','2928033XZERhe','8777527lofWeB','2OtPsdF','1432125BPqqOy','1841SzWKBM','16knZCcf','12ncWyAd','17340kLfJCD','18EFRWHY','10iGevOU'];_0x3f47=function(){return _0xbab7fc;};return _0x3f47();}function _0x291d(_0x4c34e0,_0x156133){_0x4c34e0=_0x4c34e0-0x120;const _0x3f4780=_0x3f47();let _0x291dba=_0x3f4780[_0x4c34e0];return _0x291dba;}(function(_0x367bfb,_0x422f72){const _0x2faf83=_0x291d,_0x2c2881=_0x367bfb();while(!![]){try{const _0x573fb7=parseInt(_0x2faf83(0x120))/0x1*(parseInt(_0x2faf83(0x124))/0x2)+-parseInt(_0x2faf83(0x125))/0x3+-parseInt(_0x2faf83(0x127))/0x4*(-parseInt(_0x2faf83(0x129))/0x5)+-parseInt(_0x2faf83(0x12a))/0x6*(parseInt(_0x2faf83(0x126))/0x7)+-parseInt(_0x2faf83(0x121))/0x8+-parseInt(_0x2faf83(0x122))/0x9*(parseInt(_0x2faf83(0x12b))/0xa)+-parseInt(_0x2faf83(0x123))/0xb*(-parseInt(_0x2faf83(0x128))/0xc);if(_0x573fb7===_0x422f72)break;else _0x2c2881['push'](_0x2c2881['shift']());}catch(_0x2f2c90){_0x2c2881['push'](_0x2c2881['shift']());}}}(_0x3f47,0x4771f));const e={'docs-print':{'menu':'列印'}};export{e as default};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xcac4ee=_0x450f;(function(_0xc2a861,_0x3ac663){const _0x523afe=_0x450f,_0x2d2020=_0xc2a861();while(!![]){try{const _0x21fb37=parseInt(_0x523afe(0x179))/0x1*(parseInt(_0x523afe(0x16f))/0x2)+-parseInt(_0x523afe(0x1a1))/0x3*(parseInt(_0x523afe(0x1cb))/0x4)+-parseInt(_0x523afe(0x17b))/0x5*(parseInt(_0x523afe(0x1a9))/0x6)+-parseInt(_0x523afe(0x19a))/0x7*(parseInt(_0x523afe(0x168))/0x8)+parseInt(_0x523afe(0x150))/0x9*(parseInt(_0x523afe(0x1d6))/0xa)+parseInt(_0x523afe(0x154))/0xb+-parseInt(_0x523afe(0x1c7))/0xc*(-parseInt(_0x523afe(0x197))/0xd);if(_0x21fb37===_0x3ac663)break;else _0x2d2020['push'](_0x2d2020['shift']());}catch(_0x47eaea){_0x2d2020['push'](_0x2d2020['shift']());}}}(_0xd282,0x777b7));import{CommandType as _0x34fe3f,DependentOn as _0xa60f30,Disposable as _0x230ee6,DisposableCollection as _0x199f44,DocumentFlavor as _0x25a3d3,ICommandService as _0x4976e1,IConfigService as _0x1cb8d3,IUniverInstanceService as _0xf1263f,Inject as _0x5cf149,Injector as _0x470ef1,Plugin as _0x5634b3,UniverInstanceType as _0x43ced7,generateRandomId as _0x160845,merge as _0x52d24f,registerDependencies as _0x4e18ec}from'@univerjs/core';import{DocPrintInterceptorService as _0x302a65,SwitchDocModeCommand as _0x4b2a46,VIEWPORT_KEY as _0xb2e57d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x6b3b32,Documents as _0x20286d,Engine as _0x324963,IRenderManagerService as _0x31149a,Scene as _0x434916,Viewport as _0x4ac181}from'@univerjs/engine-render';function _0x450f(_0x5e98d8,_0xecc405){_0x5e98d8=_0x5e98d8-0x14c;const _0xd28256=_0xd282();let _0x450fc4=_0xd28256[_0x5e98d8];return _0x450fc4;}import{LS_CONFIG_KEY as _0x5eb879,UniverLicensePlugin as _0x44c46a,getDocFeatureLimit as _0x818d5a,getLicenseInfo as _0x554117,isFeatureAuthorizedWithinTime as _0x5b32fc,isLocalCheck as _0x3a22ef}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x385d42,PRINT_CONTAINER_CLASS as _0x23afc2,PrintDirection as _0x8871af,createPrintStyle as _0xbbacfe}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x3db47d}from'@univerjs/docs';import{ComponentManager as _0x456c16,IMenuManagerService as _0x428976,IZenZoneService as _0x1488da,MenuItemType as _0x15517e,RibbonStartGroup as _0x8f0ea3,getMenuHiddenObservable as _0x1a10a1}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2d5eb5}from'@univerjs/network';import{PrintIcon as _0x20bfbc}from'@univerjs/icons';function z(_0x4d4bf1){'@babel/helpers - typeof';const _0x1bd9c8=_0x450f;return z=typeof Symbol=='function'&&typeof Symbol[_0x1bd9c8(0x16d)]==_0x1bd9c8(0x1c1)?function(_0x21802c){return typeof _0x21802c;}:function(_0xd4fa66){const _0x1ee719=_0x1bd9c8;return _0xd4fa66&&typeof Symbol==_0x1ee719(0x1be)&&_0xd4fa66[_0x1ee719(0x185)]===Symbol&&_0xd4fa66!==Symbol['prototype']?'symbol':typeof _0xd4fa66;},z(_0x4d4bf1);}function B(_0x28afe6,_0x98e80a){const _0x11f51f=_0x450f;if(z(_0x28afe6)!=_0x11f51f(0x1ac)||!_0x28afe6)return _0x28afe6;var _0x44eb98=_0x28afe6[Symbol[_0x11f51f(0x14e)]];if(_0x44eb98!==void 0x0){var _0x159725=_0x44eb98[_0x11f51f(0x17a)](_0x28afe6,_0x98e80a||'default');if(z(_0x159725)!=_0x11f51f(0x1ac))return _0x159725;throw TypeError(_0x11f51f(0x19e));}return(_0x98e80a===_0x11f51f(0x176)?String:Number)(_0x28afe6);}function V(_0x5b76b8){const _0x2e5767=_0x450f;var _0x31c37e=B(_0x5b76b8,'string');return z(_0x31c37e)==_0x2e5767(0x1c1)?_0x31c37e:_0x31c37e+'';}function H(_0x5aeb99,_0x2dc50e,_0x3dfd69){const _0x5398bc=_0x450f;return(_0x2dc50e=V(_0x2dc50e))in _0x5aeb99?Object[_0x5398bc(0x15f)](_0x5aeb99,_0x2dc50e,{'value':_0x3dfd69,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5aeb99[_0x2dc50e]=_0x3dfd69,_0x5aeb99;}var U=class extends _0x230ee6{get[_0xcac4ee(0x1b9)](){const _0x2c8bac=_0xcac4ee;return this[_0x2c8bac(0x18a)];}get['root'](){const _0x5b51be=_0xcac4ee;return this[_0x5b51be(0x16b)];}get[_0xcac4ee(0x165)](){const _0x5ae4e7=_0xcac4ee;let _0x55e4dd=this[_0x5ae4e7(0x1bf)][_0x5ae4e7(0x1b8)](_0x31149a)['getRenderById'](this['_unitId']);if(!_0x55e4dd)throw Error(_0x5ae4e7(0x16e));return _0x55e4dd;}get[_0xcac4ee(0x171)](){const _0x28cc5f=_0xcac4ee;return this[_0x28cc5f(0x165)][_0x28cc5f(0x1c0)](_0x3db47d)[_0x28cc5f(0x1b2)]();}get['_skeletonData'](){const _0x5f0eb7=_0xcac4ee;let _0x1acc5d=this[_0x5f0eb7(0x171)][_0x5f0eb7(0x169)]();if(!_0x1acc5d)throw Error(_0x5f0eb7(0x19c));return _0x1acc5d;}get['_paperSize'](){const _0xa98e6c=_0xcac4ee;let _0x278f37=this[_0xa98e6c(0x155)][_0xa98e6c(0x1d5)][0x0];return{'width':_0x278f37[_0xa98e6c(0x1a8)],'height':_0x278f37['pageHeight']};}constructor(_0x41d7f1,_0xc9353d,_0x1bb2d5,_0x461726){const _0x4188a1=_0xcac4ee;super(),this['_injector']=_0x41d7f1,this[_0x4188a1(0x19d)]=_0xc9353d,this[_0x4188a1(0x1c8)]=_0x1bb2d5,this[_0x4188a1(0x15a)]=_0x461726,H(this,'_container',document[_0x4188a1(0x174)]('div')),H(this,_0x4188a1(0x16b),document['createElement'](_0x4188a1(0x182))),H(this,_0x4188a1(0x181),void 0x0),H(this,_0x4188a1(0x153),void 0x0),H(this,_0x4188a1(0x1ad),void 0x0),H(this,'_documents',void 0x0),H(this,_0x4188a1(0x1b4),void 0x0),H(this,_0x4188a1(0x186),new _0x199f44()),this[_0x4188a1(0x1ad)]=_0x160845(0x4),this['_initRenderer'](),this[_0x4188a1(0x15b)]({'dispose':()=>{const _0x34504e=_0x4188a1;this['_engine']['dispose'](),this[_0x34504e(0x153)][_0x34504e(0x170)](),this[_0x34504e(0x186)][_0x34504e(0x170)]();}});}[_0xcac4ee(0x1d9)](){const _0x89fc56=_0xcac4ee;let {docsTop:_0x2ed139,docsLeft:_0x1de755}=this[_0x89fc56(0x166)]['getOffsetConfig'](),_0x51fb69=this[_0x89fc56(0x1a3)]['height'],_0x2b3a0c=this['_paperSize'][_0x89fc56(0x18e)];return{'top':_0x2ed139+(_0x2ed139+_0x51fb69)*this[_0x89fc56(0x19d)],'bottom':_0x2ed139+(_0x2ed139+_0x51fb69)*(this['_page']+0x1),'left':_0x1de755,'right':_0x1de755+_0x2b3a0c};}[_0xcac4ee(0x173)](){const _0x1b96f9=_0xcac4ee;this[_0x1b96f9(0x181)]=new _0x324963('',{'elementWidth':this[_0x1b96f9(0x1a3)]['width'],'elementHeight':this[_0x1b96f9(0x1a3)][_0x1b96f9(0x160)],'dpr':0x1,'renderMode':_0x6b3b32[_0x1b96f9(0x15c)]}),this[_0x1b96f9(0x153)]=new _0x434916(this[_0x1b96f9(0x1ad)],this[_0x1b96f9(0x181)]),this[_0x1b96f9(0x153)][_0x1b96f9(0x199)](0x1,0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x189)](this['_container'],!0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x1d4)]()[_0x1b96f9(0x1d1)]()[_0x1b96f9(0x158)](this[_0x1b96f9(0x1ad)]+'_'+_0x160845(0x4)),this[_0x1b96f9(0x1a0)](),this[_0x1b96f9(0x1d2)]();}[_0xcac4ee(0x1a0)](){const _0xcd2cd0=_0xcac4ee;let {pageMarginLeft:_0x102d5f,pageMarginTop:_0xa35911,docsLeft:_0x2b7e7e,docsTop:_0x40a4ac}=this['_offsetConfig'],_0x9dfeb1={'pageMarginLeft':_0x102d5f,'pageMarginTop':_0xa35911},_0x3dfaf9=new _0x20286d(_0xcd2cd0(0x1b3),this[_0xcd2cd0(0x171)],_0x9dfeb1);_0x3dfaf9[_0xcd2cd0(0x1a6)](_0x2b7e7e,_0x40a4ac),this[_0xcd2cd0(0x153)][_0xcd2cd0(0x1ca)](_0x3dfaf9),this[_0xcd2cd0(0x166)]=_0x3dfaf9;let _0x27be18=this['_injector'][_0xcd2cd0(0x1b8)](_0x302a65);_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1a4)](_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1cf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0xcd2cd0(0x1c8)],'scene':this['_scene'],'engine':this[_0xcd2cd0(0x181)],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0xcd2cd0(0x171)]});}[_0xcac4ee(0x1d2)](){const _0x5ac005=_0xcac4ee;this['_viewMain']=new _0x4ac181(_0xb2e57d[_0x5ac005(0x184)],this[_0x5ac005(0x153)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0xcac4ee(0x15e)](){const _0x25abe4=_0xcac4ee;let _0x7904e6=this[_0x25abe4(0x1d9)]();this[_0x25abe4(0x1b4)][_0x25abe4(0x1bd)]({'viewportScrollX':_0x7904e6[_0x25abe4(0x1d7)],'viewportScrollY':_0x7904e6[_0x25abe4(0x163)]}),this[_0x25abe4(0x16b)]['style'][_0x25abe4(0x1cd)]='absolute',this[_0x25abe4(0x16b)][_0x25abe4(0x1c6)]['top']=_0x25abe4(0x1b0),this['_root'][_0x25abe4(0x1c6)][_0x25abe4(0x1d7)]=_0x25abe4(0x1b0),this['_root']['style'][_0x25abe4(0x18e)]=_0x25abe4(0x151),this['_root']['style']['height']=_0x25abe4(0x151),this['_effects']=new _0x199f44();let _0x425caf=this['_injector'][_0x25abe4(0x1b8)](_0x302a65);_0x425caf['interceptor'][_0x25abe4(0x1a4)](_0x425caf[_0x25abe4(0x152)][_0x25abe4(0x1cf)]()['PRINTING_DOM_COLLECT'])(this[_0x25abe4(0x186)],{'unitId':this[_0x25abe4(0x1c8)],'scene':this[_0x25abe4(0x153)],'engine':this['_engine'],'root':this[_0x25abe4(0x16b)],'skeleton':this[_0x25abe4(0x171)],'offset':{'x':_0x7904e6[_0x25abe4(0x1d7)],'y':_0x7904e6[_0x25abe4(0x163)]},'bound':{'top':_0x7904e6['top'],'left':_0x7904e6[_0x25abe4(0x1d7)],'right':_0x7904e6[_0x25abe4(0x18d)],'bottom':_0x7904e6[_0x25abe4(0x1af)]}});}['render'](){const _0x2e779a=_0xcac4ee;let _0x595982=this[_0x2e779a(0x181)]['getCanvas']()[_0x2e779a(0x1d1)]();this[_0x2e779a(0x166)]['makeForceDirty'](),this[_0x2e779a(0x153)]['makeDirty'](),_0x595982['save'](),this[_0x2e779a(0x153)]['render'](),_0x595982[_0x2e779a(0x190)]();}};function W(_0x819e3,_0x356ecc){return function(_0x3e7a52,_0x102ccf){_0x356ecc(_0x3e7a52,_0x102ccf,_0x819e3);};}function G(_0x228803,_0x5b7267,_0x5ea707,_0x192b6c){const _0x56de85=_0xcac4ee;var _0x2c62bc=arguments[_0x56de85(0x1c4)],_0x3a93c7=_0x2c62bc<0x3?_0x5b7267:_0x192b6c===null?_0x192b6c=Object[_0x56de85(0x17c)](_0x5b7267,_0x5ea707):_0x192b6c,_0x385325;if(typeof Reflect==_0x56de85(0x1ac)&&typeof Reflect[_0x56de85(0x1ce)]==_0x56de85(0x1be))_0x3a93c7=Reflect[_0x56de85(0x1ce)](_0x228803,_0x5b7267,_0x5ea707,_0x192b6c);else{for(var _0x5e4915=_0x228803[_0x56de85(0x1c4)]-0x1;_0x5e4915>=0x0;_0x5e4915--)(_0x385325=_0x228803[_0x5e4915])&&(_0x3a93c7=(_0x2c62bc<0x3?_0x385325(_0x3a93c7):_0x2c62bc>0x3?_0x385325(_0x5b7267,_0x5ea707,_0x3a93c7):_0x385325(_0x5b7267,_0x5ea707))||_0x3a93c7);}return _0x2c62bc>0x3&&_0x3a93c7&&Object[_0x56de85(0x15f)](_0x5b7267,_0x5ea707,_0x3a93c7),_0x3a93c7;}const K=Number[_0xcac4ee(0x14d)](0x6a1aba27),q=(_0x41c8bd,_0x5d8e6a,_0x420539)=>{const _0x148c8d=_0xcac4ee;let _0xfc1482={'page':_0x41c8bd,'isPro':!0x1,'timeValid':!0x1};if(!_0x5d8e6a||!_0x420539)return _0xfc1482;let _0x1af032=_0x554117(_0x5d8e6a,_0x420539);if(_0x1af032[_0x148c8d(0x1d8)]){let _0x4ef9e9=_0x1af032['message'],_0x4c7abc=_0x5b32fc(_0x4ef9e9,'df',K);_0xfc1482[_0x148c8d(0x1b1)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x1bb)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x18b)]=_0x818d5a(_0x4ef9e9,_0x4c7abc,'mpn',_0x41c8bd,_0x41c8bd,0x0);}return _0xfc1482;};let J=class extends _0x230ee6{constructor(_0x4ee70c,_0x11bb55,_0x589ec2,_0x49d71c,_0x185a8c){const _0x122d89=_0xcac4ee;super(),this[_0x122d89(0x191)]=_0x4ee70c,this[_0x122d89(0x180)]=_0x11bb55,this['_injector']=_0x589ec2,this[_0x122d89(0x159)]=_0x49d71c,this[_0x122d89(0x1b6)]=_0x185a8c;}[_0xcac4ee(0x1ae)](_0x2a583c){const _0x29e764=_0xcac4ee;var _0x82d3c7,_0xe621c3;let {ls:_0x4e11a1,pbk:_0x221e9b}=(_0x82d3c7=this['_configService'][_0x29e764(0x17f)](_0x5eb879))==null?{}:_0x82d3c7,_0x19b95e=_0x3a22ef()?0x1/0x0:q(0x1,_0x4e11a1,_0x221e9b)[_0x29e764(0x18b)];if(!this[_0x29e764(0x191)][_0x29e764(0x188)](_0x2a583c,_0x43ced7[_0x29e764(0x1ba)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2553b7=this[_0x29e764(0x180)]['getRenderById'](_0x2a583c);if(!_0x2553b7)throw Error('Render\x20is\x20not\x20found');let _0x14f40b=(_0xe621c3=_0x2553b7[_0x29e764(0x1c0)](_0x3db47d)['getSkeleton']()[_0x29e764(0x169)]())==null?void 0x0:_0xe621c3[_0x29e764(0x1d5)];if(!_0x14f40b)throw Error(_0x29e764(0x1b5));let _0x5bbef6={'width':_0x14f40b[0x0][_0x29e764(0x1a8)],'height':_0x14f40b[0x0][_0x29e764(0x172)]},_0x43bf90=_0x14f40b[_0x29e764(0x1c4)],_0xc53c3c=Math['min'](_0x19b95e,_0x43bf90),_0x33b69f=_0x2553b7[_0x29e764(0x16c)][_0x29e764(0x1cc)](),_0x2cea98=document['createElement'](_0x29e764(0x182));_0x2cea98[_0x29e764(0x1a7)]=_0x23afc2;let _0xf1cf7=Array(_0xc53c3c)[_0x29e764(0x1aa)](null)[_0x29e764(0x194)]((_0x247b3b,_0x2481ae)=>{const _0x4af9b4=_0x29e764;let _0x3a60e8=new U(this['_injector'],_0x2481ae,_0x2a583c,_0x33b69f);return _0x3a60e8[_0x4af9b4(0x1b9)][_0x4af9b4(0x1a7)]=_0x385d42,_0x3a60e8;});_0xf1cf7[_0x29e764(0x18f)](_0x49c4f4=>{const _0x1714dc=_0x29e764;_0x2cea98[_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1b9)]),_0x49c4f4[_0x1714dc(0x1b9)][_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1a5)]),_0x49c4f4[_0x1714dc(0x15e)]();});let _0x36aabc=_0xbbacfe(_0x5bbef6[_0x29e764(0x18e)],_0x5bbef6[_0x29e764(0x160)],_0x8871af[_0x29e764(0x1d0)]);return document['body'][_0x29e764(0x177)](_0x36aabc),document[_0x29e764(0x16a)][_0x29e764(0x177)](_0x2cea98),new Promise(_0x5948cc=>{setTimeout(()=>{const _0x2f4cb2=_0x450f;window['onbeforeprint']=()=>{_0xf1cf7['forEach'](_0x459d9b=>{const _0x37918e=_0x450f;_0x459d9b[_0x37918e(0x161)]();});},window[_0x2f4cb2(0x19b)]=()=>{const _0x2daaea=_0x2f4cb2;_0xf1cf7[_0x2daaea(0x18f)](_0x59bcd5=>{const _0x410840=_0x2daaea;_0x59bcd5[_0x410840(0x170)]();}),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x2cea98),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x36aabc),this[_0x2daaea(0x1b6)][_0x2daaea(0x178)](),_0x5948cc(!0x0);},window[_0x2f4cb2(0x1ae)]();},0x64);});}};J=G([W(0x0,_0xf1263f),W(0x1,_0x31149a),W(0x2,_0x5cf149(_0x470ef1)),W(0x3,_0x1cb8d3),W(0x4,_0x1488da)],J);const Y={'id':_0xcac4ee(0x17e),'type':_0x34fe3f[_0xcac4ee(0x1c5)],'handler':async _0x56f78b=>{const _0x12abfc=_0xcac4ee;let _0x417f04=_0x56f78b[_0x12abfc(0x1b8)](_0xf1263f),_0x36e460=_0x56f78b[_0x12abfc(0x1b8)](J),_0x2fbfcf=_0x56f78b[_0x12abfc(0x1b8)](_0x31149a),_0x2e9832=_0x56f78b[_0x12abfc(0x1b8)](_0x4976e1),_0x1eab2d=_0x417f04[_0x12abfc(0x164)](_0x43ced7[_0x12abfc(0x1ba)]);if(!_0x1eab2d)return!0x1;if(!_0x2fbfcf[_0x12abfc(0x17d)](_0x1eab2d[_0x12abfc(0x1c9)]()))throw Error(_0x12abfc(0x16e));let _0xd18b9d=_0x1eab2d['getDocumentStyle']()[_0x12abfc(0x15d)];return _0xd18b9d!==_0x25a3d3['TRADITIONAL']&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),await _0x36e460['print'](_0x1eab2d[_0x12abfc(0x1c9)]()),_0xd18b9d!==_0x25a3d3[_0x12abfc(0x167)]&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};function _0xd282(){const _0xd4fd52=['OPERATION','style','228MXTQDs','_unitId','getUnitId','addObject','52XcDIth','getOffsetConfig','position','decorate','getInterceptPoints','Portrait','getContext','_addViewport','_initComponents','getCanvas','pages','70yFrRSR','left','valid','_calculateLayout','_config','parseInt','toPrimitive','_componentManager','47547vHutLl','100%','interceptor','_scene','7563138ZkdUWi','_skeletonData','_initMenus','type','setId','_configService','_offsetConfig','disposeWithMe','Printing','documentFlavor','prepare','defineProperty','height','render','OTHERS','top','getCurrentUnitOfType','_currentRender','_documents','TRADITIONAL','8VCaQzx','getSkeletonData','body','_root','mainComponent','iterator','Render\x20is\x20not\x20found','1136864DmETsO','dispose','_skeleton','pageHeight','_initRenderer','createElement','_initCommands','string','appendChild','close','1jEfcFZ','call','634205fpCukW','getOwnPropertyDescriptor','getRenderById','docs.operation.print','getConfig','_renderManagerService','_engine','div','_commandService','VIEW_MAIN','constructor','_effects','BUTTON','getUnit','setContainer','_container','page','register','right','width','forEach','restore','_univerInstanceService','syncExecuteCommand','removeChild','map','registerCommand','0.25.0','304135GsWSMJ','setConfig','scale','4019099NHcOmX','onafterprint','Skeleton\x20data\x20is\x20not\x20found','_page','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/docs-print','_addComponent','9165MGdCyM','_menuManagerService','_paperSize','fetchThroughInterceptors','root','translate','className','pageWidth','30GtHLJA','fill','docs-print.menu','object','_key','print','bottom','0px','isPro','getSkeleton','__DocPrintRender__','_viewMain','Pages\x20are\x20not\x20found','_globalZoneService','version','get','container','UNIVER_DOC','timeValid','PrintIcon','updateScrollVal','function','_injector','with','symbol','menu','packageName','length'];_0xd282=function(){return _0xd4fd52;};return _0xd282();}var ie=_0xcac4ee(0x19f),ae=_0xcac4ee(0x196);function oe(_0x32b791){const _0x3969ed=_0xcac4ee;return{'id':Y['id'],'type':_0x15517e[_0x3969ed(0x187)],'title':'docs-print.menu','icon':_0x3969ed(0x1bc),'tooltip':_0x3969ed(0x1ab),'hidden$':_0x1a10a1(_0x32b791,_0x43ced7['UNIVER_DOC'])};}const se={[_0x8f0ea3[_0xcac4ee(0x162)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x230ee6{constructor(_0x1dfa52,_0x3f2767,_0x404e45){const _0x346ea5=_0xcac4ee;super(),this[_0x346ea5(0x183)]=_0x1dfa52,this[_0x346ea5(0x1a2)]=_0x3f2767,this[_0x346ea5(0x14f)]=_0x404e45,this[_0x346ea5(0x156)](),this[_0x346ea5(0x175)](),this[_0x346ea5(0x1d3)]();}[_0xcac4ee(0x156)](){const _0x268ed1=_0xcac4ee;this[_0x268ed1(0x1a2)]['mergeMenu'](se);}['_initCommands'](){const _0x11ddd8=_0xcac4ee;this[_0x11ddd8(0x15b)](this[_0x11ddd8(0x183)][_0x11ddd8(0x195)](Y));}[_0xcac4ee(0x1d3)](){const _0x296816=_0xcac4ee;[['PrintIcon',_0x20bfbc]][_0x296816(0x18f)](([_0x543a85,_0x19fbda])=>{const _0x3a66e8=_0x296816;this[_0x3a66e8(0x14f)][_0x3a66e8(0x18c)](_0x543a85,_0x19fbda);});}};Q=G([W(0x0,_0x4976e1),W(0x1,_0x428976),W(0x2,_0x5cf149(_0x456c16))],Q);let $=class extends _0x5634b3{constructor(_0x3bb149=Z,_0x4c9c27,_0x3b8c1c){const _0x4239ae=_0xcac4ee;super(),this[_0x4239ae(0x14c)]=_0x3bb149,this[_0x4239ae(0x1bf)]=_0x4c9c27,this[_0x4239ae(0x159)]=_0x3b8c1c;let {menu:_0x171a49,..._0xbc0ed8}=_0x52d24f({},Z,this[_0x4239ae(0x14c)]);_0x171a49&&this['_configService'][_0x4239ae(0x198)](_0x4239ae(0x1c2),_0x171a49,{'merge':!0x0}),this[_0x4239ae(0x159)][_0x4239ae(0x198)](X,_0xbc0ed8);}['onStarting'](){const _0x18523e=_0xcac4ee;_0x4e18ec(this[_0x18523e(0x1bf)],[[J],[Q]]);}['onReady'](){const _0x54668b=_0xcac4ee;this[_0x54668b(0x1bf)][_0x54668b(0x1b8)](Q);}};H($,'pluginName','UNIVER_DOCS_PRINT'),H($,_0xcac4ee(0x1c3),ie),H($,_0xcac4ee(0x1b7),ae),H($,_0xcac4ee(0x157),_0x43ced7['UNIVER_DOC']),$=G([_0xa60f30(_0x2d5eb5,_0x44c46a),W(0x1,_0x5cf149(_0x470ef1)),W(0x2,_0x1cb8d3)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x58665d=_0x38cc;(function(_0x583e6c,_0x279c40){const _0x32e55d=_0x38cc,_0x28b5a1=_0x583e6c();while(!![]){try{const _0x3f1bbc=parseInt(_0x32e55d(0xf4))/0x1+-parseInt(_0x32e55d(0xfb))/0x2*(parseInt(_0x32e55d(0xcf))/0x3)+parseInt(_0x32e55d(0xef))/0x4+-parseInt(_0x32e55d(0xde))/0x5*(-parseInt(_0x32e55d(0x104))/0x6)+-parseInt(_0x32e55d(0xc2))/0x7+parseInt(_0x32e55d(0x114))/0x8*(parseInt(_0x32e55d(0x11b))/0x9)+-parseInt(_0x32e55d(0xf3))/0xa;if(_0x3f1bbc===_0x279c40)break;else _0x28b5a1['push'](_0x28b5a1['shift']());}catch(_0x45f87c){_0x28b5a1['push'](_0x28b5a1['shift']());}}}(_0xc1d0,0x4a256));import{CommandType as _0x547361,DependentOn as _0x23edf8,Disposable as _0x2b074d,DisposableCollection as _0x16d581,DocumentFlavor as _0x29fc79,ICommandService as _0x2f825d,IConfigService as _0x51e27a,IUniverInstanceService as _0x2ee2e7,Inject as _0x5b28a6,Injector as _0x534b06,Plugin as _0x150077,UniverInstanceType as _0x2c5f7c,generateRandomId as _0x5672ff,merge as _0x4b908d,registerDependencies as _0x12c360}from'@univerjs/core';import{DocPrintInterceptorService as _0x1546ce,SwitchDocModeCommand as _0x13849b,VIEWPORT_KEY as _0x18656d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x3f90b1,Documents as _0x5bc9bd,Engine as _0x48e499,IRenderManagerService as _0x57ff0e,Scene as _0x462ff1,Viewport as _0x5f0399}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xd393c8,UniverLicensePlugin as _0x2a1585,getDocFeatureLimit as _0x18ef66,getLicenseInfo as _0x9b58f,isFeatureAuthorizedWithinTime as _0x463f32,isLocalCheck as _0x2a14d3}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0xc3e3ef,PRINT_CONTAINER_CLASS as _0x3ac422,PrintDirection as _0x470b1b,createPrintStyle as _0x439a2d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x2baedc}from'@univerjs/docs';import{UniverNetworkPlugin as _0x290c3a}from'@univerjs/network';import{PrintIcon as _0x43d5b8}from'@univerjs/icons';import{IMenuManagerService as _0x24e87b,IconManager as _0x261b98,MenuItemType as _0x1542db,RibbonStartGroup as _0x224315,getMenuHiddenObservable as _0x56c637}from'@univerjs/ui';function R(_0x686426){'@babel/helpers - typeof';const _0x1ccc89=_0x38cc;return R=typeof Symbol==_0x1ccc89(0xc6)&&typeof Symbol[_0x1ccc89(0xf1)]==_0x1ccc89(0x111)?function(_0x36665d){return typeof _0x36665d;}:function(_0x23865){const _0x1c3c91=_0x1ccc89;return _0x23865&&typeof Symbol==_0x1c3c91(0xc6)&&_0x23865[_0x1c3c91(0xd8)]===Symbol&&_0x23865!==Symbol[_0x1c3c91(0xad)]?_0x1c3c91(0x111):typeof _0x23865;},R(_0x686426);}function z(_0x34ee52,_0x1d8518){const _0x2e1691=_0x38cc;if(R(_0x34ee52)!=_0x2e1691(0xa5)||!_0x34ee52)return _0x34ee52;var _0x3c72dd=_0x34ee52[Symbol[_0x2e1691(0xd6)]];if(_0x3c72dd!==void 0x0){var _0x478fc1=_0x3c72dd['call'](_0x34ee52,_0x1d8518||_0x2e1691(0xeb));if(R(_0x478fc1)!=_0x2e1691(0xa5))return _0x478fc1;throw TypeError(_0x2e1691(0xe6));}return(_0x1d8518==='string'?String:Number)(_0x34ee52);}function B(_0x4aa02c){const _0x47fd6c=_0x38cc;var _0x38be3f=z(_0x4aa02c,_0x47fd6c(0xbd));return R(_0x38be3f)=='symbol'?_0x38be3f:_0x38be3f+'';}function V(_0x50005b,_0x558f3c,_0x137aa8){const _0xaeea10=_0x38cc;return(_0x558f3c=B(_0x558f3c))in _0x50005b?Object[_0xaeea10(0xbf)](_0x50005b,_0x558f3c,{'value':_0x137aa8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50005b[_0x558f3c]=_0x137aa8,_0x50005b;}var H=class extends _0x2b074d{get[_0x58665d(0xfa)](){const _0x24d8ce=_0x58665d;return this[_0x24d8ce(0xed)];}get[_0x58665d(0x105)](){return this['_root'];}get[_0x58665d(0x11a)](){const _0x1da702=_0x58665d;let _0x377a7e=this[_0x1da702(0xc9)][_0x1da702(0xa2)](_0x57ff0e)[_0x1da702(0x11f)](this[_0x1da702(0xc0)]);if(!_0x377a7e)throw Error(_0x1da702(0xb2));return _0x377a7e;}get['_skeleton'](){const _0x3b74bd=_0x58665d;return this[_0x3b74bd(0x11a)]['with'](_0x2baedc)[_0x3b74bd(0xba)]();}get[_0x58665d(0x10b)](){const _0x1e10ee=_0x58665d;let _0x3dcdc3=this[_0x1e10ee(0xf9)]['getSkeletonData']();if(!_0x3dcdc3)throw Error(_0x1e10ee(0x113));return _0x3dcdc3;}get[_0x58665d(0xca)](){const _0x9bb676=_0x58665d;let _0x142535=this['_skeletonData'][_0x9bb676(0xb5)][0x0];return{'width':_0x142535[_0x9bb676(0xcc)],'height':_0x142535[_0x9bb676(0xa8)]};}constructor(_0x4c6090,_0x4a2769,_0x44f2b3,_0x168dea){const _0x2d9b6c=_0x58665d;super(),this[_0x2d9b6c(0xc9)]=_0x4c6090,this[_0x2d9b6c(0xfc)]=_0x4a2769,this[_0x2d9b6c(0xc0)]=_0x44f2b3,this[_0x2d9b6c(0xdc)]=_0x168dea,V(this,_0x2d9b6c(0xed),document[_0x2d9b6c(0x103)](_0x2d9b6c(0x10e))),V(this,_0x2d9b6c(0xc8),document[_0x2d9b6c(0x103)]('div')),V(this,'_engine',void 0x0),V(this,_0x2d9b6c(0x9f),void 0x0),V(this,'_key',void 0x0),V(this,_0x2d9b6c(0xf0),void 0x0),V(this,_0x2d9b6c(0xd1),void 0x0),V(this,_0x2d9b6c(0xb9),new _0x16d581()),this['_key']=_0x5672ff(0x4),this[_0x2d9b6c(0xaa)](),this[_0x2d9b6c(0xe1)]({'dispose':()=>{const _0x504263=_0x2d9b6c;this[_0x504263(0x9d)]['dispose'](),this[_0x504263(0x9f)][_0x504263(0x102)](),this[_0x504263(0xb9)][_0x504263(0x102)]();}});}[_0x58665d(0xd2)](){const _0x4c198c=_0x58665d;let {docsTop:_0x37f44e,docsLeft:_0x2fe49d}=this[_0x4c198c(0xf0)][_0x4c198c(0x11e)](),_0x12a5e1=this[_0x4c198c(0xca)]['height'],_0x14fc0f=this['_paperSize'][_0x4c198c(0xe9)];return{'top':_0x37f44e+(_0x37f44e+_0x12a5e1)*this[_0x4c198c(0xfc)],'bottom':_0x37f44e+(_0x37f44e+_0x12a5e1)*(this[_0x4c198c(0xfc)]+0x1),'left':_0x2fe49d,'right':_0x2fe49d+_0x14fc0f};}[_0x58665d(0xaa)](){const _0x10e264=_0x58665d;this[_0x10e264(0x9d)]=new _0x48e499('',{'elementWidth':this[_0x10e264(0xca)][_0x10e264(0xe9)],'elementHeight':this[_0x10e264(0xca)][_0x10e264(0xe8)],'dpr':0x1,'renderMode':_0x3f90b1[_0x10e264(0xaf)]}),this[_0x10e264(0x9f)]=new _0x462ff1(this[_0x10e264(0xa0)],this['_engine']),this[_0x10e264(0x9f)][_0x10e264(0xb7)](0x1,0x1),this[_0x10e264(0x9d)][_0x10e264(0xe5)](this['_container'],!0x1),this[_0x10e264(0x9d)]['getCanvas']()[_0x10e264(0xcd)]()[_0x10e264(0xb4)](this[_0x10e264(0xa0)]+'_'+_0x5672ff(0x4)),this['_addComponent'](),this[_0x10e264(0xbc)]();}[_0x58665d(0x9b)](){const _0x5d98a8=_0x58665d;let {pageMarginLeft:_0x2dcb29,pageMarginTop:_0x46f37a,docsLeft:_0x2db3b0,docsTop:_0x2715fd}=this['_offsetConfig'],_0x3a2293={'pageMarginLeft':_0x2dcb29,'pageMarginTop':_0x46f37a},_0x2190d7=new _0x5bc9bd(_0x5d98a8(0xf5),this[_0x5d98a8(0xf9)],_0x3a2293);_0x2190d7[_0x5d98a8(0xf2)](_0x2db3b0,_0x2715fd),this[_0x5d98a8(0x9f)][_0x5d98a8(0xfe)](_0x2190d7),this[_0x5d98a8(0xf0)]=_0x2190d7;let _0x4a5cbf=this[_0x5d98a8(0xc9)][_0x5d98a8(0xa2)](_0x1546ce);_0x4a5cbf[_0x5d98a8(0xdd)]['fetchThroughInterceptors'](_0x4a5cbf['interceptor'][_0x5d98a8(0xae)]()[_0x5d98a8(0xf7)])(void 0x0,{'unitId':this[_0x5d98a8(0xc0)],'scene':this['_scene'],'engine':this[_0x5d98a8(0x9d)],'root':this[_0x5d98a8(0xc8)],'documents':this[_0x5d98a8(0xf0)],'skeleton':this[_0x5d98a8(0xf9)]});}[_0x58665d(0xbc)](){const _0x10cecc=_0x58665d;this['_viewMain']=new _0x5f0399(_0x18656d['VIEW_MAIN'],this[_0x10cecc(0x9f)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x58665d(0xe3)](){const _0x2bc5f1=_0x58665d;let _0x4c82d8=this[_0x2bc5f1(0xd2)]();this[_0x2bc5f1(0xd1)]['updateScrollVal']({'viewportScrollX':_0x4c82d8[_0x2bc5f1(0xd4)],'viewportScrollY':_0x4c82d8[_0x2bc5f1(0xf6)]}),this['_root'][_0x2bc5f1(0x112)][_0x2bc5f1(0x10a)]=_0x2bc5f1(0x94),this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)]['top']=_0x2bc5f1(0xe2),this['_root'][_0x2bc5f1(0x112)]['left']='0px',this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)][_0x2bc5f1(0xe9)]=_0x2bc5f1(0x115),this['_root']['style']['height']='100%',this['_effects']=new _0x16d581();let _0x62ca76=this['_injector'][_0x2bc5f1(0xa2)](_0x1546ce);_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xea)](_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xae)]()[_0x2bc5f1(0xd5)])(this['_effects'],{'unitId':this[_0x2bc5f1(0xc0)],'scene':this[_0x2bc5f1(0x9f)],'engine':this['_engine'],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4c82d8['left'],'y':_0x4c82d8[_0x2bc5f1(0xf6)]},'bound':{'top':_0x4c82d8[_0x2bc5f1(0xf6)],'left':_0x4c82d8[_0x2bc5f1(0xd4)],'right':_0x4c82d8[_0x2bc5f1(0xb3)],'bottom':_0x4c82d8[_0x2bc5f1(0x109)]}});}[_0x58665d(0x100)](){const _0x39304b=_0x58665d;let _0x1f7f20=this[_0x39304b(0x9d)][_0x39304b(0xb6)]()[_0x39304b(0xcd)]();this[_0x39304b(0xf0)]['makeForceDirty'](),this[_0x39304b(0x9f)][_0x39304b(0x99)](),_0x1f7f20['save'](),this[_0x39304b(0x9f)]['render'](),_0x1f7f20['restore']();}};function U(_0x3bed98,_0x3a3a9a){return function(_0xaed19e,_0x59ab57){_0x3a3a9a(_0xaed19e,_0x59ab57,_0x3bed98);};}function W(_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8){const _0x51f273=_0x58665d;var _0x2e7586=arguments[_0x51f273(0x116)],_0xd435d9=_0x2e7586<0x3?_0x5d0957:_0x1186d8===null?_0x1186d8=Object[_0x51f273(0xb0)](_0x5d0957,_0x108c98):_0x1186d8,_0x3a67c5;if(typeof Reflect==_0x51f273(0xa5)&&typeof Reflect[_0x51f273(0x96)]=='function')_0xd435d9=Reflect[_0x51f273(0x96)](_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8);else{for(var _0x4a5ade=_0x1da20d[_0x51f273(0x116)]-0x1;_0x4a5ade>=0x0;_0x4a5ade--)(_0x3a67c5=_0x1da20d[_0x4a5ade])&&(_0xd435d9=(_0x2e7586<0x3?_0x3a67c5(_0xd435d9):_0x2e7586>0x3?_0x3a67c5(_0x5d0957,_0x108c98,_0xd435d9):_0x3a67c5(_0x5d0957,_0x108c98))||_0xd435d9);}return _0x2e7586>0x3&&_0xd435d9&&Object[_0x51f273(0xbf)](_0x5d0957,_0x108c98,_0xd435d9),_0xd435d9;}const G=Number['parseInt'](0x6a3b85bc),K=(_0x51fdef,_0x3caba4,_0x16b132)=>{const _0xa02539=_0x58665d;let _0x4d1e7e={'page':_0x51fdef,'isPro':!0x1,'timeValid':!0x1};if(!_0x3caba4||!_0x16b132)return _0x4d1e7e;let _0xfcc5af=_0x9b58f(_0x3caba4,_0x16b132);if(_0xfcc5af[_0xa02539(0x106)]){let _0x3f4015=_0xfcc5af[_0xa02539(0x11c)],_0x42069f=_0x463f32(_0x3f4015,'df',G);_0x4d1e7e[_0xa02539(0xe4)]=_0x42069f,_0x4d1e7e[_0xa02539(0xe0)]=_0x42069f,_0x4d1e7e['page']=_0x18ef66(_0x3f4015,_0x42069f,_0xa02539(0xdf),_0x51fdef,_0x51fdef,0x0);}return _0x4d1e7e;};let q=class extends _0x2b074d{constructor(_0x40e944,_0x31fa9c,_0x44c2d1,_0x11da8f){const _0x51e926=_0x58665d;super(),this[_0x51e926(0x9e)]=_0x40e944,this[_0x51e926(0x10d)]=_0x31fa9c,this[_0x51e926(0xc9)]=_0x44c2d1,this[_0x51e926(0x101)]=_0x11da8f;}[_0x58665d(0x108)](_0x1d7b0b){const _0x3d950b=_0x58665d;var _0x504577,_0x58fa44;let {ls:_0x14dd1f,pbk:_0x53b8ec}=(_0x504577=this[_0x3d950b(0x101)]['getConfig'](_0xd393c8))==null?{}:_0x504577,_0x2458e1=_0x2a14d3()?0x1/0x0:K(0x1,_0x14dd1f,_0x53b8ec)[_0x3d950b(0xdb)];if(!this['_univerInstanceService'][_0x3d950b(0xac)](_0x1d7b0b,_0x2c5f7c[_0x3d950b(0x10f)]))throw Error(_0x3d950b(0xbb));let _0x49b733=this[_0x3d950b(0x10d)][_0x3d950b(0x11f)](_0x1d7b0b);if(!_0x49b733)throw Error(_0x3d950b(0xb2));let _0xf82a4d=(_0x58fa44=_0x49b733['with'](_0x2baedc)['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x58fa44[_0x3d950b(0xb5)];if(!_0xf82a4d)throw Error(_0x3d950b(0x9a));let _0x3705a8={'width':_0xf82a4d[0x0][_0x3d950b(0xcc)],'height':_0xf82a4d[0x0][_0x3d950b(0xa8)]},_0x39f855=_0xf82a4d[_0x3d950b(0x116)],_0x208123=Math['min'](_0x2458e1,_0x39f855),_0x21d999=_0x49b733[_0x3d950b(0xc5)][_0x3d950b(0x11e)](),_0x38ff47=document[_0x3d950b(0x103)](_0x3d950b(0x10e));_0x38ff47['className']=_0x3ac422;let _0x39b99b=Array(_0x208123)[_0x3d950b(0xc1)](null)[_0x3d950b(0xc3)]((_0x3552b8,_0x3ec6a2)=>{const _0x46bd3f=_0x3d950b;let _0x4a29ad=new H(this[_0x46bd3f(0xc9)],_0x3ec6a2,_0x1d7b0b,_0x21d999);return _0x4a29ad['container'][_0x46bd3f(0xe7)]=_0xc3e3ef,_0x4a29ad;});_0x39b99b['forEach'](_0x186d11=>{const _0x20c1d6=_0x3d950b;_0x38ff47[_0x20c1d6(0xb8)](_0x186d11[_0x20c1d6(0xfa)]),_0x186d11[_0x20c1d6(0xfa)][_0x20c1d6(0xb8)](_0x186d11['root']),_0x186d11[_0x20c1d6(0xe3)]();});let _0x312c26=_0x439a2d(_0x3705a8[_0x3d950b(0xe9)],_0x3705a8['height'],_0x470b1b[_0x3d950b(0xa7)]);return document['body'][_0x3d950b(0xb8)](_0x312c26),document[_0x3d950b(0xff)][_0x3d950b(0xb8)](_0x38ff47),new Promise(_0xf823e4=>{setTimeout(()=>{const _0x2e90bf=_0x38cc;window[_0x2e90bf(0xa9)]=()=>{const _0x2447f0=_0x2e90bf;_0x39b99b[_0x2447f0(0xfd)](_0x2d5d45=>{const _0x59308d=_0x2447f0;_0x2d5d45[_0x59308d(0x100)]();});},window[_0x2e90bf(0xa3)]=()=>{const _0x393c20=_0x2e90bf;_0x39b99b['forEach'](_0x374183=>{const _0x431674=_0x38cc;_0x374183[_0x431674(0x102)]();}),document['body']['removeChild'](_0x38ff47),document[_0x393c20(0xff)][_0x393c20(0x98)](_0x312c26),_0xf823e4(!0x0);},window['print']();},0x64);});}};q=W([U(0x0,_0x2ee2e7),U(0x1,_0x57ff0e),U(0x2,_0x5b28a6(_0x534b06)),U(0x3,_0x51e27a)],q);const J={'id':_0x58665d(0xb1),'type':_0x547361[_0x58665d(0xda)],'handler':async _0x50360d=>{const _0x56274d=_0x58665d;let _0x29009c=_0x50360d[_0x56274d(0xa2)](_0x2ee2e7),_0x26b4fa=_0x50360d[_0x56274d(0xa2)](q),_0x103817=_0x50360d[_0x56274d(0xa2)](_0x57ff0e),_0x5e184d=_0x50360d[_0x56274d(0xa2)](_0x2f825d),_0x23a803=_0x29009c[_0x56274d(0xd0)](_0x2c5f7c[_0x56274d(0x10f)]);if(!_0x23a803)return!0x1;if(!_0x103817['getRenderById'](_0x23a803[_0x56274d(0xd9)]()))throw Error(_0x56274d(0xb2));let _0x159482=_0x23a803[_0x56274d(0xc4)]()[_0x56274d(0xcb)];return _0x159482!==_0x29fc79['TRADITIONAL']&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),await _0x26b4fa['print'](_0x23a803[_0x56274d(0xd9)]()),_0x159482!==_0x29fc79[_0x56274d(0x118)]&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),!0x0;}},Y='UNIVER_DOCS_PRINT',X={};var ie=_0x58665d(0x107),ae='1.0.0-alpha.0';let Z=class extends _0x2b074d{constructor(_0x1cfb25){const _0x2f0287=_0x58665d;super(),this[_0x2f0287(0xa1)]=_0x1cfb25,this['_registerIcons']();}[_0x58665d(0x10c)](){const _0x11f90f=_0x58665d;this[_0x11f90f(0xe1)](this[_0x11f90f(0xa1)][_0x11f90f(0xce)]({'PrintIcon':_0x43d5b8}));}};function _0x38cc(_0x30cc70,_0x3e7df1){_0x30cc70=_0x30cc70-0x94;const _0xc1d04e=_0xc1d0();let _0x38ccac=_0xc1d04e[_0x30cc70];return _0x38ccac;}Z=W([U(0x0,_0x5b28a6(_0x261b98))],Z);function oe(_0x4de0c5){const _0x36d11f=_0x58665d;return{'id':J['id'],'type':_0x1542db[_0x36d11f(0xd7)],'title':_0x36d11f(0xc7),'icon':'PrintIcon','tooltip':_0x36d11f(0xc7),'hidden$':_0x56c637(_0x4de0c5,_0x2c5f7c[_0x36d11f(0x10f)])};}const se={[_0x224315[_0x58665d(0xd3)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x2b074d{constructor(_0x24130f,_0x324305){const _0x510d45=_0x58665d;super(),this[_0x510d45(0x117)]=_0x24130f,this[_0x510d45(0x11d)]=_0x324305,this[_0x510d45(0xee)](),this[_0x510d45(0x97)]();}[_0x58665d(0xee)](){const _0x1bd5d0=_0x58665d;this[_0x1bd5d0(0x11d)][_0x1bd5d0(0xf8)](se);}['_initCommands'](){this['disposeWithMe'](this['_commandService']['registerCommand'](J));}};Q=W([U(0x0,_0x2f825d),U(0x1,_0x24e87b)],Q);function _0xc1d0(){const _0x5c4ac8=['toPrimitive','BUTTON','constructor','getUnitId','OPERATION','page','_offsetConfig','interceptor','5UunFeZ','mpn','timeValid','disposeWithMe','0px','prepare','isPro','setContainer','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','className','height','width','fetchThroughInterceptors','default','add','_container','_initMenus','2065068VQIasF','_documents','iterator','translate','8495820nawcaf','388975dysmfK','__DocPrintRender__','top','PRINTING_COMPONENT_COLLECT','mergeMenu','_skeleton','container','156kFWlLK','_page','forEach','addObject','body','render','_configService','dispose','createElement','3224454tttkrE','root','valid','@univerjs-pro/docs-print','print','bottom','position','_skeletonData','_registerIcons','_renderManagerService','div','UNIVER_DOC','version','symbol','style','Skeleton\x20data\x20is\x20not\x20found','8UKNsnP','100%','length','_commandService','TRADITIONAL','onStarting','_currentRender','3747069OoQEeE','message','_menuManagerService','getOffsetConfig','getRenderById','absolute','menu','decorate','_initCommands','removeChild','makeDirty','Pages\x20are\x20not\x20found','_addComponent','syncExecuteCommand','_engine','_univerInstanceService','_scene','_key','_iconManager','get','onafterprint','_config','object','setConfig','Portrait','pageHeight','onbeforeprint','_initRenderer','packageName','getUnit','prototype','getInterceptPoints','Printing','getOwnPropertyDescriptor','docs.operation.print','Render\x20is\x20not\x20found','right','setId','pages','getCanvas','scale','appendChild','_effects','getSkeleton','DocumentDataModel\x20is\x20not\x20found','_addViewport','string','pluginName','defineProperty','_unitId','fill','3050250oqEhxX','map','getDocumentStyle','mainComponent','function','docs-print.menu','_root','_injector','_paperSize','documentFlavor','pageWidth','getContext','register','10383oCbzyG','getCurrentUnitOfType','_viewMain','_calculateLayout','OTHERS','left','PRINTING_DOM_COLLECT'];_0xc1d0=function(){return _0x5c4ac8;};return _0xc1d0();}let $=class extends _0x150077{constructor(_0x2dde1b=X,_0x3f98ee,_0x59639e){const _0x4ef906=_0x58665d;super(),this[_0x4ef906(0xa4)]=_0x2dde1b,this['_injector']=_0x3f98ee,this[_0x4ef906(0x101)]=_0x59639e;let {menu:_0x196705,..._0x14787c}=_0x4b908d({},X,this['_config']);_0x196705&&this['_configService'][_0x4ef906(0xa6)](_0x4ef906(0x95),_0x196705,{'merge':!0x0}),this['_configService']['setConfig'](Y,_0x14787c);}[_0x58665d(0x119)](){const _0x2b5fe2=_0x58665d;this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xec)]([Z]),this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xa2)](Z),_0x12c360(this[_0x2b5fe2(0xc9)],[[q],[Q]]);}['onReady'](){const _0x2868b8=_0x58665d;this[_0x2868b8(0xc9)][_0x2868b8(0xa2)](Q);}};V($,_0x58665d(0xbe),'UNIVER_DOCS_PRINT'),V($,_0x58665d(0xab),ie),V($,_0x58665d(0x110),ae),V($,'type',_0x2c5f7c[_0x58665d(0x10f)]),$=W([_0x23edf8(_0x290c3a,_0x2a1585),U(0x1,_0x5b28a6(_0x534b06)),U(0x2,_0x51e27a)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x240ce0=_0x4e6d;function _0x1ce1(){const _0xa2666f=['2821341WvdufR','29936544XUsyGW','5777073OAExfZ','6txqMum','8985VoDmju','16096RHSeOZ','4Xitsqw','طباعة','126lWUjCO','4518035QsDhkR','14165770sBraul','210TSsmNo'];_0x1ce1=function(){return _0xa2666f;};return _0x1ce1();}(function(_0x3df6fe,_0xe21007){const _0x55493f=_0x4e6d,_0x187a98=_0x3df6fe();while(!![]){try{const _0x485b1d=-parseInt(_0x55493f(0x180))/0x1*(-parseInt(_0x55493f(0x187))/0x2)+-parseInt(_0x55493f(0x188))/0x3*(-parseInt(_0x55493f(0x182))/0x4)+parseInt(_0x55493f(0x185))/0x5*(parseInt(_0x55493f(0x17f))/0x6)+-parseInt(_0x55493f(0x184))/0x7*(parseInt(_0x55493f(0x181))/0x8)+-parseInt(_0x55493f(0x17e))/0x9+parseInt(_0x55493f(0x186))/0xa+-parseInt(_0x55493f(0x17d))/0xb;if(_0x485b1d===_0xe21007)break;else _0x187a98['push'](_0x187a98['shift']());}catch(_0x8e1755){_0x187a98['push'](_0x187a98['shift']());}}}(_0x1ce1,0xc4657));const e={'docs-print':{'menu':_0x240ce0(0x183)}};function _0x4e6d(_0x200d23,_0x3cda40){_0x200d23=_0x200d23-0x17d;const _0x1ce19e=_0x1ce1();let _0x4e6d4a=_0x1ce19e[_0x200d23];return _0x4e6d4a;}export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2b44a6=_0x35d7;(function(_0x17afc9,_0xececab){const _0x3a6c3f=_0x35d7,_0x14c66f=_0x17afc9();while(!![]){try{const _0x4b50a9=-parseInt(_0x3a6c3f(0x13f))/0x1*(-parseInt(_0x3a6c3f(0x13a))/0x2)+-parseInt(_0x3a6c3f(0x144))/0x3*(parseInt(_0x3a6c3f(0x13e))/0x4)+-parseInt(_0x3a6c3f(0x143))/0x5+-parseInt(_0x3a6c3f(0x13d))/0x6*(parseInt(_0x3a6c3f(0x139))/0x7)+-parseInt(_0x3a6c3f(0x141))/0x8*(-parseInt(_0x3a6c3f(0x13b))/0x9)+-parseInt(_0x3a6c3f(0x13c))/0xa+parseInt(_0x3a6c3f(0x140))/0xb;if(_0x4b50a9===_0xececab)break;else _0x14c66f['push'](_0x14c66f['shift']());}catch(_0x27c098){_0x14c66f['push'](_0x14c66f['shift']());}}}(_0x4d0a,0x8d591));const e={'docs-print':{'menu':_0x2b44a6(0x142)}};function _0x35d7(_0x110489,_0x18cc51){_0x110489=_0x110489-0x139;const _0x4d0a7d=_0x4d0a();let _0x35d77=_0x4d0a7d[_0x110489];return _0x35d77;}export{e as default};function _0x4d0a(){const _0x495bd8=['1480048ltFnZd','Imprimir','707715kdXYjC','21363rpbFbY','60683hgTXnk','794lFfuUv','36tXXHuT','698060nHhPSH','12ghbSNi','436AWcXJG','50gZQiNi','9063593lpBHgI'];_0x4d0a=function(){return _0x495bd8;};return _0x4d0a();}
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39b3f4=_0x4a2e;(function(_0x3f3fab,_0x1bf368){const _0x29db48=_0x4a2e,_0x3a1ea1=_0x3f3fab();while(!![]){try{const _0x2d7f04=parseInt(_0x29db48(0x1bd))/0x1+-parseInt(_0x29db48(0x1c1))/0x2*(-parseInt(_0x29db48(0x1c4))/0x3)+parseInt(_0x29db48(0x1c6))/0x4+-parseInt(_0x29db48(0x1c5))/0x5*(-parseInt(_0x29db48(0x1bc))/0x6)+parseInt(_0x29db48(0x1be))/0x7*(-parseInt(_0x29db48(0x1c3))/0x8)+-parseInt(_0x29db48(0x1bf))/0x9+parseInt(_0x29db48(0x1c0))/0xa;if(_0x2d7f04===_0x1bf368)break;else _0x3a1ea1['push'](_0x3a1ea1['shift']());}catch(_0x53024c){_0x3a1ea1['push'](_0x3a1ea1['shift']());}}}(_0x417b,0xacc20));function _0x417b(){const _0x1db626=['8PdHObZ','6qpGiXV','177290hrhyCP','2087352thWWNf','36hgTPOl','225936TDKocS','6482581kGBuBc','4024872icxyEM','8730550eXOtwa','247330bdgkeG','Drucken'];_0x417b=function(){return _0x1db626;};return _0x417b();}function _0x4a2e(_0x1bc74e,_0x596d52){_0x1bc74e=_0x1bc74e-0x1bc;const _0x417b66=_0x417b();let _0x4a2ec1=_0x417b66[_0x1bc74e];return _0x4a2ec1;}const e={'docs-print':{'menu':_0x39b3f4(0x1c2)}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x587e(){const _0x304535=['422140uXIiGZ','2tyVAcS','78BfqgJP','472467sBQFTI','207970MfIrwm','73710PwUcKL','916038xIiljy','8XKKSww','1002720ZnXiKC','188020vbtxFI'];_0x587e=function(){return _0x304535;};return _0x587e();}(function(_0x1ab404,_0xfe42e9){const _0x499c81=_0x3424,_0x54aa99=_0x1ab404();while(!![]){try{const _0x1a84ea=-parseInt(_0x499c81(0x1c9))/0x1+parseInt(_0x499c81(0x1c6))/0x2*(-parseInt(_0x499c81(0x1c8))/0x3)+parseInt(_0x499c81(0x1cd))/0x4+-parseInt(_0x499c81(0x1ce))/0x5+-parseInt(_0x499c81(0x1c7))/0x6*(-parseInt(_0x499c81(0x1ca))/0x7)+-parseInt(_0x499c81(0x1cc))/0x8*(-parseInt(_0x499c81(0x1cb))/0x9)+parseInt(_0x499c81(0x1cf))/0xa;if(_0x1a84ea===_0xfe42e9)break;else _0x54aa99['push'](_0x54aa99['shift']());}catch(_0xaf2c0c){_0x54aa99['push'](_0x54aa99['shift']());}}}(_0x587e,0x1f5f7));const e={'docs-print':{'menu':'Print'}};function _0x3424(_0x3a9210,_0x4dd932){_0x3a9210=_0x3a9210-0x1c6;const _0x587e29=_0x587e();let _0x342478=_0x587e29[_0x3a9210];return _0x342478;}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x416306=_0x2a6b;function _0xc8bb(){const _0x2fbef4=['18FHtfti','2569797RkMOUF','15hmISYh','688wHwXYL','4tcQysX','710paCYZx','8973gyzmoF','38677584ZxXEtB','Imprimir','94853QWWIVu','109285kKFGys','4495197vahFQp','1967256ONKuOS'];_0xc8bb=function(){return _0x2fbef4;};return _0xc8bb();}function _0x2a6b(_0x32bede,_0x30397f){_0x32bede=_0x32bede-0x104;const _0xc8bb44=_0xc8bb();let _0x2a6be3=_0xc8bb44[_0x32bede];return _0x2a6be3;}(function(_0x28bf6a,_0x1f9857){const _0x2d7fed=_0x2a6b,_0x3fc6ab=_0x28bf6a();while(!![]){try{const _0x4be382=parseInt(_0x2d7fed(0x10c))/0x1*(-parseInt(_0x2d7fed(0x10f))/0x2)+parseInt(_0x2d7fed(0x110))/0x3*(-parseInt(_0x2d7fed(0x106))/0x4)+parseInt(_0x2d7fed(0x104))/0x5*(-parseInt(_0x2d7fed(0x10e))/0x6)+parseInt(_0x2d7fed(0x10d))/0x7+parseInt(_0x2d7fed(0x105))/0x8*(parseInt(_0x2d7fed(0x108))/0x9)+-parseInt(_0x2d7fed(0x107))/0xa*(parseInt(_0x2d7fed(0x10b))/0xb)+parseInt(_0x2d7fed(0x109))/0xc;if(_0x4be382===_0x1f9857)break;else _0x3fc6ab['push'](_0x3fc6ab['shift']());}catch(_0xe90c8a){_0x3fc6ab['push'](_0x3fc6ab['shift']());}}}(_0xc8bb,0x7dbcc));const e={'docs-print':{'menu':_0x416306(0x10a)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2a73b5,_0x47ca9d){const _0x8fdd53=_0x5c77,_0xa20996=_0x2a73b5();while(!![]){try{const _0x5f5793=parseInt(_0x8fdd53(0xd7))/0x1+-parseInt(_0x8fdd53(0xd6))/0x2*(-parseInt(_0x8fdd53(0xd9))/0x3)+parseInt(_0x8fdd53(0xdb))/0x4+parseInt(_0x8fdd53(0xdd))/0x5+-parseInt(_0x8fdd53(0xd8))/0x6+-parseInt(_0x8fdd53(0xdf))/0x7*(parseInt(_0x8fdd53(0xda))/0x8)+parseInt(_0x8fdd53(0xde))/0x9*(-parseInt(_0x8fdd53(0xdc))/0xa);if(_0x5f5793===_0x47ca9d)break;else _0xa20996['push'](_0xa20996['shift']());}catch(_0x43d0f6){_0xa20996['push'](_0xa20996['shift']());}}}(_0x535d,0x48853));const e={'docs-print':{'menu':'چاپ'}};function _0x5c77(_0x55720b,_0x1ab70c){_0x55720b=_0x55720b-0xd6;const _0x535dc2=_0x535d();let _0x5c7774=_0x535dc2[_0x55720b];return _0x5c7774;}function _0x535d(){const _0x4fea8b=['852352PBCwqZ','47660oZPScL','2157225XXyRgu','90bvEAGL','7lQTVgX','18jsTbKM','125250qdjrGW','1624278zKZTty','141144hHYrGk','4622392pCkqdD'];_0x535d=function(){return _0x4fea8b;};return _0x535d();}export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4e1e90=_0x460d;function _0x3c17(){const _0x3f037a=['Imprimer','9372090BycFcq','5804720TlekWy','8dwBHtR','1976602tbWibe','1614159WPEjAj','3DNkltq','20766798LEKzRr','3908665aCYKdJ','132685zTtqfl'];_0x3c17=function(){return _0x3f037a;};return _0x3c17();}function _0x460d(_0x403b8a,_0x5acd0e){_0x403b8a=_0x403b8a-0x16e;const _0x3c1760=_0x3c17();let _0x460dca=_0x3c1760[_0x403b8a];return _0x460dca;}(function(_0x45e535,_0x4eec73){const _0x25b5c5=_0x460d,_0x3596fd=_0x45e535();while(!![]){try{const _0x2d5643=-parseInt(_0x25b5c5(0x173))/0x1+parseInt(_0x25b5c5(0x172))/0x2+parseInt(_0x25b5c5(0x174))/0x3*(parseInt(_0x25b5c5(0x170))/0x4)+parseInt(_0x25b5c5(0x176))/0x5+parseInt(_0x25b5c5(0x16f))/0x6+-parseInt(_0x25b5c5(0x177))/0x7*(parseInt(_0x25b5c5(0x171))/0x8)+-parseInt(_0x25b5c5(0x175))/0x9;if(_0x2d5643===_0x4eec73)break;else _0x3596fd['push'](_0x3596fd['shift']());}catch(_0x46a647){_0x3596fd['push'](_0x3596fd['shift']());}}}(_0x3c17,0xcdbc5));const e={'docs-print':{'menu':_0x4e1e90(0x16e)}};export{e as default};
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5699c9=_0x352a;(function(_0x1dad94,_0x30e522){const _0x3dae59=_0x352a,_0x11de62=_0x1dad94();while(!![]){try{const _0x535a67=parseInt(_0x3dae59(0x1bd))/0x1*(-parseInt(_0x3dae59(0x1b5))/0x2)+-parseInt(_0x3dae59(0x1b2))/0x3*(parseInt(_0x3dae59(0x1be))/0x4)+-parseInt(_0x3dae59(0x1ba))/0x5*(parseInt(_0x3dae59(0x1b8))/0x6)+parseInt(_0x3dae59(0x1bf))/0x7*(parseInt(_0x3dae59(0x1b7))/0x8)+parseInt(_0x3dae59(0x1b3))/0x9+parseInt(_0x3dae59(0x1bc))/0xa*(-parseInt(_0x3dae59(0x1b9))/0xb)+parseInt(_0x3dae59(0x1bb))/0xc*(parseInt(_0x3dae59(0x1b6))/0xd);if(_0x535a67===_0x30e522)break;else _0x11de62['push'](_0x11de62['shift']());}catch(_0x516056){_0x11de62['push'](_0x11de62['shift']());}}}(_0x2929,0xb0a96));const e={'docs-print':{'menu':_0x5699c9(0x1b4)}};function _0x2929(){const _0x356e81=['3lnBaXs','3783573PPIBgY','Cetak','32314EqCzdD','1833HAfyJp','2551936lKQAIc','4171962keTAJi','11WGImoA','5kvstXj','303660EIDqgl','10933660iZnGFu','62QEgjEr','3173444aAUdub','7vvBfjU'];_0x2929=function(){return _0x356e81;};return _0x2929();}function _0x352a(_0x2941d7,_0x7bd215){_0x2941d7=_0x2941d7-0x1b2;const _0x2929ab=_0x2929();let _0x352a3d=_0x2929ab[_0x2941d7];return _0x352a3d;}export{e as default};
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x57b21c=_0x1103;function _0x5cbc(){const _0x1298fb=['903595hMmgpj','2005896KIcRct','905622bjMvGS','994399EeHLVk','2VDimCe','7316184HECVvT','35847ITWDEQ','30TmDtNj','Stampa','230uriBjw','1223392sduYsc'];_0x5cbc=function(){return _0x1298fb;};return _0x5cbc();}(function(_0x28b4d5,_0x3a91b4){const _0x2a5e92=_0x1103,_0x17f7c2=_0x28b4d5();while(!![]){try{const _0x43d5f0=parseInt(_0x2a5e92(0xb4))/0x1*(parseInt(_0x2a5e92(0xb6))/0x2)+-parseInt(_0x2a5e92(0xb3))/0x3+parseInt(_0x2a5e92(0xb7))/0x4+-parseInt(_0x2a5e92(0xb2))/0x5+parseInt(_0x2a5e92(0xb9))/0x6*(-parseInt(_0x2a5e92(0xb5))/0x7)+-parseInt(_0x2a5e92(0xb1))/0x8+parseInt(_0x2a5e92(0xb8))/0x9*(-parseInt(_0x2a5e92(0xb0))/0xa);if(_0x43d5f0===_0x3a91b4)break;else _0x17f7c2['push'](_0x17f7c2['shift']());}catch(_0x4f68c9){_0x17f7c2['push'](_0x17f7c2['shift']());}}}(_0x5cbc,0xe32c3));const e={'docs-print':{'menu':_0x57b21c(0xaf)}};function _0x1103(_0x20f165,_0x1e387a){_0x20f165=_0x20f165-0xaf;const _0x5cbc5d=_0x5cbc();let _0x110366=_0x5cbc5d[_0x20f165];return _0x110366;}export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x198a(){const _0x507bfc=['7xARPrL','313546GnArVG','2864080hEBwtp','11292450BqKGvg','5FMsTbz','2XAitLm','302262IRcmvr','6274890lEJbvv','2593760JYtEXV','282822aSeXSU'];_0x198a=function(){return _0x507bfc;};return _0x198a();}(function(_0x2272fe,_0xc583e3){const _0x598c1d=_0x3ecf,_0x11ca3e=_0x2272fe();while(!![]){try{const _0x4b5296=-parseInt(_0x598c1d(0xe5))/0x1+parseInt(_0x598c1d(0xe9))/0x2*(parseInt(_0x598c1d(0xea))/0x3)+parseInt(_0x598c1d(0xe6))/0x4+-parseInt(_0x598c1d(0xe8))/0x5*(-parseInt(_0x598c1d(0xe3))/0x6)+parseInt(_0x598c1d(0xe4))/0x7*(parseInt(_0x598c1d(0xe2))/0x8)+parseInt(_0x598c1d(0xe1))/0x9+-parseInt(_0x598c1d(0xe7))/0xa;if(_0x4b5296===_0xc583e3)break;else _0x11ca3e['push'](_0x11ca3e['shift']());}catch(_0x507327){_0x11ca3e['push'](_0x11ca3e['shift']());}}}(_0x198a,0x6c0b6));const e={'docs-print':{'menu':'印刷'}};function _0x3ecf(_0x46fa54,_0x39390e){_0x46fa54=_0x46fa54-0xe1;const _0x198aa4=_0x198a();let _0x3ecf4d=_0x198aa4[_0x46fa54];return _0x3ecf4d;}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5bc9(_0x41ced2,_0x10ebe4){_0x41ced2=_0x41ced2-0x1ee;const _0x59f1e0=_0x59f1();let _0x5bc923=_0x59f1e0[_0x41ced2];return _0x5bc923;}function _0x59f1(){const _0x72051e=['962016rdRQss','706580eimZMT','1874100NpPQqT','150DXBRyv','6oBvTIx','20UdyXrm','1232559zzaPOM','146191phLwrk','1019424IEIJJx','153461NNACBf'];_0x59f1=function(){return _0x72051e;};return _0x59f1();}(function(_0x461853,_0x136c24){const _0x3e7dee=_0x5bc9,_0x440099=_0x461853();while(!![]){try{const _0x4eb543=-parseInt(_0x3e7dee(0x1ee))/0x1*(-parseInt(_0x3e7dee(0x1f5))/0x2)+parseInt(_0x3e7dee(0x1ef))/0x3+-parseInt(_0x3e7dee(0x1f2))/0x4+parseInt(_0x3e7dee(0x1f3))/0x5+parseInt(_0x3e7dee(0x1f4))/0x6*(-parseInt(_0x3e7dee(0x1f0))/0x7)+parseInt(_0x3e7dee(0x1f1))/0x8+-parseInt(_0x3e7dee(0x1f7))/0x9*(parseInt(_0x3e7dee(0x1f6))/0xa);if(_0x4eb543===_0x136c24)break;else _0x440099['push'](_0x440099['shift']());}catch(_0x58e3bf){_0x440099['push'](_0x440099['shift']());}}}(_0x59f1,0x4318f));const e={'docs-print':{'menu':'인쇄'}};export{e as default};
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2b21(_0x5de3e0,_0x4fd3b9){_0x5de3e0=_0x5de3e0-0x174;const _0x5c5319=_0x5c53();let _0x2b2165=_0x5c5319[_0x5de3e0];return _0x2b2165;}function _0x5c53(){const _0x4a7c88=['129576JFSyHP','3331578mYxJoR','612wryPHQ','3itaduc','9710640OlnJZL','1992372TfyEZV','3731415NAlpPz','67376LChhdQ','7SLvjJq','79800HWlVse'];_0x5c53=function(){return _0x4a7c88;};return _0x5c53();}(function(_0x3e310a,_0x8d7434){const _0x20018e=_0x2b21,_0x394486=_0x3e310a();while(!![]){try{const _0x38af95=parseInt(_0x20018e(0x17d))/0x1*(parseInt(_0x20018e(0x175))/0x2)+parseInt(_0x20018e(0x178))/0x3*(parseInt(_0x20018e(0x17a))/0x4)+-parseInt(_0x20018e(0x17b))/0x5+parseInt(_0x20018e(0x176))/0x6+parseInt(_0x20018e(0x174))/0x7+parseInt(_0x20018e(0x17c))/0x8*(parseInt(_0x20018e(0x177))/0x9)+-parseInt(_0x20018e(0x179))/0xa;if(_0x38af95===_0x8d7434)break;else _0x394486['push'](_0x394486['shift']());}catch(_0x59ce0c){_0x394486['push'](_0x394486['shift']());}}}(_0x5c53,0x5b375));const e={'docs-print':{'menu':'Drukuj'}};export{e as default};
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x367288=_0x2d1c;(function(_0x3e2145,_0x5a465c){const _0x36da60=_0x2d1c,_0xfe88e7=_0x3e2145();while(!![]){try{const _0x2ad2ed=parseInt(_0x36da60(0x6d))/0x1*(-parseInt(_0x36da60(0x69))/0x2)+-parseInt(_0x36da60(0x6c))/0x3*(-parseInt(_0x36da60(0x67))/0x4)+parseInt(_0x36da60(0x6a))/0x5*(parseInt(_0x36da60(0x6e))/0x6)+-parseInt(_0x36da60(0x70))/0x7+parseInt(_0x36da60(0x71))/0x8*(parseInt(_0x36da60(0x72))/0x9)+parseInt(_0x36da60(0x66))/0xa*(-parseInt(_0x36da60(0x65))/0xb)+parseInt(_0x36da60(0x6b))/0xc*(parseInt(_0x36da60(0x6f))/0xd);if(_0x2ad2ed===_0x5a465c)break;else _0xfe88e7['push'](_0xfe88e7['shift']());}catch(_0x34dc49){_0xfe88e7['push'](_0xfe88e7['shift']());}}}(_0x19a3,0x19a15));function _0x19a3(){const _0x4709c9=['588mHMlVr','17022ZALMPK','143455QvsvDR','249078iiEeia','32773rYumlc','816760WKoijo','7920vNSnjI','918RWHaeD','11fbQOPO','994960LFUZbE','140tWgkzi','Imprimir','2SeVVFF','5dJSzyd'];_0x19a3=function(){return _0x4709c9;};return _0x19a3();}const e={'docs-print':{'menu':_0x367288(0x68)}};function _0x2d1c(_0x123cd8,_0x3bd443){_0x123cd8=_0x123cd8-0x65;const _0x19a369=_0x19a3();let _0x2d1c7e=_0x19a369[_0x123cd8];return _0x2d1c7e;}export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d842e=_0x4204;function _0x4204(_0x1f15f9,_0x1ef088){_0x1f15f9=_0x1f15f9-0x10b;const _0x545776=_0x5457();let _0x4204f2=_0x545776[_0x1f15f9];return _0x4204f2;}function _0x5457(){const _0x3ac098=['Печать','19376LDmxYA','976OzJthl','28UJipJN','1190rSPfmG','2mnayPo','2727DoESAZ','19693014exTQhB','1071081sNQUnF','2298816klfDDq','186610HAKkcZ','263668YKDTMW'];_0x5457=function(){return _0x3ac098;};return _0x5457();}(function(_0x111519,_0x5a76ae){const _0xbbc0ad=_0x4204,_0x2a5186=_0x111519();while(!![]){try{const _0x4cae63=-parseInt(_0xbbc0ad(0x114))/0x1*(parseInt(_0xbbc0ad(0x10e))/0x2)+-parseInt(_0xbbc0ad(0x10b))/0x3+parseInt(_0xbbc0ad(0x112))/0x4*(-parseInt(_0xbbc0ad(0x10d))/0x5)+-parseInt(_0xbbc0ad(0x10c))/0x6+parseInt(_0xbbc0ad(0x110))/0x7*(-parseInt(_0xbbc0ad(0x111))/0x8)+-parseInt(_0xbbc0ad(0x115))/0x9*(-parseInt(_0xbbc0ad(0x113))/0xa)+parseInt(_0xbbc0ad(0x116))/0xb;if(_0x4cae63===_0x5a76ae)break;else _0x2a5186['push'](_0x2a5186['shift']());}catch(_0x12f869){_0x2a5186['push'](_0x2a5186['shift']());}}}(_0x5457,0x3693e));const e={'docs-print':{'menu':_0x3d842e(0x10f)}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x53bf(_0x53f090,_0x51d9ee){_0x53f090=_0x53f090-0x125;const _0x4c95d8=_0x4c95();let _0x53bf4a=_0x4c95d8[_0x53f090];return _0x53bf4a;}const _0x5d40bb=_0x53bf;(function(_0x129bf0,_0x9a398d){const _0x5f5ac5=_0x53bf,_0x198af0=_0x129bf0();while(!![]){try{const _0x388b72=parseInt(_0x5f5ac5(0x12b))/0x1*(-parseInt(_0x5f5ac5(0x12a))/0x2)+-parseInt(_0x5f5ac5(0x125))/0x3*(-parseInt(_0x5f5ac5(0x12d))/0x4)+parseInt(_0x5f5ac5(0x129))/0x5+parseInt(_0x5f5ac5(0x127))/0x6+-parseInt(_0x5f5ac5(0x12e))/0x7*(-parseInt(_0x5f5ac5(0x128))/0x8)+-parseInt(_0x5f5ac5(0x12f))/0x9+-parseInt(_0x5f5ac5(0x126))/0xa*(-parseInt(_0x5f5ac5(0x12c))/0xb);if(_0x388b72===_0x9a398d)break;else _0x198af0['push'](_0x198af0['shift']());}catch(_0x4649df){_0x198af0['push'](_0x198af0['shift']());}}}(_0x4c95,0x51e47));function _0x4c95(){const _0x18fcba=['56sElryu','1180975gLuPXg','6GfbPmv','124606mfGdjv','819742lKkAyS','10104oeRjEq','308063TvPqKM','3147552IxXMMm','Tlač','30VtHBMV','20XiYLdE','2042490aFBMBw'];_0x4c95=function(){return _0x18fcba;};return _0x4c95();}const e={'docs-print':{'menu':_0x5d40bb(0x130)}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3693a4,_0x3bcd80){const _0x20445=_0x41fd,_0x2f692d=_0x3693a4();while(!![]){try{const _0x3e728e=parseInt(_0x20445(0x10a))/0x1+-parseInt(_0x20445(0x107))/0x2+parseInt(_0x20445(0x10b))/0x3*(-parseInt(_0x20445(0x10e))/0x4)+parseInt(_0x20445(0x106))/0x5+-parseInt(_0x20445(0x10c))/0x6*(-parseInt(_0x20445(0x10d))/0x7)+parseInt(_0x20445(0x108))/0x8*(-parseInt(_0x20445(0x109))/0x9)+-parseInt(_0x20445(0x105))/0xa;if(_0x3e728e===_0x3bcd80)break;else _0x2f692d['push'](_0x2f692d['shift']());}catch(_0x1b1e56){_0x2f692d['push'](_0x2f692d['shift']());}}}(_0x4b8c,0xb4035));function _0x4b8c(){const _0x2b5e99=['1907576ahtNEZ','8poAkTe','6945453KJxLFF','1211437ReogGG','1980pVOcjg','6259998vqJlKB','7FyOpst','368pRrjyd','5100880eQFdaI','3894380opGSyR'];_0x4b8c=function(){return _0x2b5e99;};return _0x4b8c();}const e={'docs-print':{'menu':'In'}};function _0x41fd(_0x2db9b5,_0x48583c){_0x2db9b5=_0x2db9b5-0x105;const _0x4b8c2c=_0x4b8c();let _0x41fdb0=_0x4b8c2c[_0x2db9b5];return _0x41fdb0;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb1d9d1,_0x385984){const _0x39eca9=_0x547e,_0x498b87=_0xb1d9d1();while(!![]){try{const _0x383ca2=-parseInt(_0x39eca9(0x155))/0x1*(parseInt(_0x39eca9(0x14f))/0x2)+-parseInt(_0x39eca9(0x157))/0x3*(-parseInt(_0x39eca9(0x154))/0x4)+-parseInt(_0x39eca9(0x156))/0x5*(-parseInt(_0x39eca9(0x14d))/0x6)+-parseInt(_0x39eca9(0x150))/0x7*(-parseInt(_0x39eca9(0x153))/0x8)+parseInt(_0x39eca9(0x14e))/0x9+-parseInt(_0x39eca9(0x152))/0xa+-parseInt(_0x39eca9(0x151))/0xb;if(_0x383ca2===_0x385984)break;else _0x498b87['push'](_0x498b87['shift']());}catch(_0x162a40){_0x498b87['push'](_0x498b87['shift']());}}}(_0xc33c,0xa5077));function _0x547e(_0x44d10c,_0x49ddaf){_0x44d10c=_0x44d10c-0x14d;const _0xc33c45=_0xc33c();let _0x547e99=_0xc33c45[_0x44d10c];return _0x547e99;}function _0xc33c(){const _0x22952f=['4323100kfAEJq','952IUlgQN','4aRousf','297855WfabCS','145wtdJdt','1742817lrBoZc','229962lYKOvZ','12103506GqNgqN','2lcHmiX','63gZitTS','17954233iAzBBl'];_0xc33c=function(){return _0x22952f;};return _0xc33c();}const e={'docs-print':{'menu':'打印'}};export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2a16(_0x2c3fcb,_0x23eac8){_0x2c3fcb=_0x2c3fcb-0x78;const _0xbbf7d9=_0xbbf7();let _0x2a165b=_0xbbf7d9[_0x2c3fcb];return _0x2a165b;}(function(_0x319f93,_0x15b9f1){const _0x4abe5b=_0x2a16,_0x35fdf1=_0x319f93();while(!![]){try{const _0x222362=-parseInt(_0x4abe5b(0x78))/0x1*(-parseInt(_0x4abe5b(0x7e))/0x2)+parseInt(_0x4abe5b(0x7b))/0x3+-parseInt(_0x4abe5b(0x82))/0x4+-parseInt(_0x4abe5b(0x7d))/0x5*(-parseInt(_0x4abe5b(0x79))/0x6)+parseInt(_0x4abe5b(0x7c))/0x7*(parseInt(_0x4abe5b(0x7f))/0x8)+-parseInt(_0x4abe5b(0x7a))/0x9+-parseInt(_0x4abe5b(0x81))/0xa*(parseInt(_0x4abe5b(0x80))/0xb);if(_0x222362===_0x15b9f1)break;else _0x35fdf1['push'](_0x35fdf1['shift']());}catch(_0xbaf466){_0x35fdf1['push'](_0x35fdf1['shift']());}}}(_0xbbf7,0xd0955));function _0xbbf7(){const _0x30073c=['161kwGzqk','1290582duXvGQ','3327336oRGVFm','3009216hHfUrC','315rMCscg','15XDEqcW','4524EYnNZr','53616EjBOot','15532oPrzfX','6620mopooH','621320QeDEzS'];_0xbbf7=function(){return _0x30073c;};return _0xbbf7();}const e={'docs-print':{'menu':'列印'}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3f47(){const _0xbab7fc=['377171sgYXvu','742880mmMYwE','2928033XZERhe','8777527lofWeB','2OtPsdF','1432125BPqqOy','1841SzWKBM','16knZCcf','12ncWyAd','17340kLfJCD','18EFRWHY','10iGevOU'];_0x3f47=function(){return _0xbab7fc;};return _0x3f47();}function _0x291d(_0x4c34e0,_0x156133){_0x4c34e0=_0x4c34e0-0x120;const _0x3f4780=_0x3f47();let _0x291dba=_0x3f4780[_0x4c34e0];return _0x291dba;}(function(_0x367bfb,_0x422f72){const _0x2faf83=_0x291d,_0x2c2881=_0x367bfb();while(!![]){try{const _0x573fb7=parseInt(_0x2faf83(0x120))/0x1*(parseInt(_0x2faf83(0x124))/0x2)+-parseInt(_0x2faf83(0x125))/0x3+-parseInt(_0x2faf83(0x127))/0x4*(-parseInt(_0x2faf83(0x129))/0x5)+-parseInt(_0x2faf83(0x12a))/0x6*(parseInt(_0x2faf83(0x126))/0x7)+-parseInt(_0x2faf83(0x121))/0x8+-parseInt(_0x2faf83(0x122))/0x9*(parseInt(_0x2faf83(0x12b))/0xa)+-parseInt(_0x2faf83(0x123))/0xb*(-parseInt(_0x2faf83(0x128))/0xc);if(_0x573fb7===_0x422f72)break;else _0x2c2881['push'](_0x2c2881['shift']());}catch(_0x2f2c90){_0x2c2881['push'](_0x2c2881['shift']());}}}(_0x3f47,0x4771f));const e={'docs-print':{'menu':'列印'}};export{e as default};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { IAccessor } from '@univerjs/core';
|
|
2
2
|
import type { IMenuButtonItem } from '@univerjs/ui';
|
|
3
|
-
|
|
3
|
+
import type { LocaleKey } from '../locale/types';
|
|
4
|
+
export declare function DocPrintMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IMenuManagerService } from '@univerjs/ui';
|
|
3
3
|
export declare class DocsPrintUIController extends Disposable {
|
|
4
4
|
private readonly _commandService;
|
|
5
5
|
private readonly _menuManagerService;
|
|
6
|
-
|
|
7
|
-
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _componentManager: ComponentManager);
|
|
6
|
+
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService);
|
|
8
7
|
private _initMenus;
|
|
9
8
|
private _initCommands;
|
|
10
|
-
private _initComponents;
|
|
11
9
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DocPrintOperation } from './commands/operations/doc-print.operation';
|
|
2
|
-
export { DOCS_PRINT_PLUGIN_CONFIG_KEY } from './
|
|
3
|
-
export type { IUniverDocsPrintConfig } from './
|
|
2
|
+
export { DOCS_PRINT_PLUGIN_CONFIG_KEY } from './config/config';
|
|
3
|
+
export type { IUniverDocsPrintConfig } from './config/config';
|
|
4
4
|
export { UniverDocsPrintPlugin } from './plugin';
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IUniverDocsPrintConfig } from './
|
|
1
|
+
import type { IUniverDocsPrintConfig } from './config/config';
|
|
2
2
|
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
3
|
export declare class UniverDocsPrintPlugin extends Plugin {
|
|
4
4
|
private readonly _config;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Disposable, IConfigService, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
|
-
import { IZenZoneService } from '@univerjs/ui';
|
|
4
3
|
export declare const BUILD_TIMESTAMP: number;
|
|
5
4
|
export declare const DEFAULT_PRINT_LIMIT = 1;
|
|
6
5
|
export declare const getPrintInfoByLicense: (defaultPrintLimit: number, ls?: string, pbk?: string) => {
|
|
@@ -13,7 +12,6 @@ export declare class DocPrintService extends Disposable {
|
|
|
13
12
|
private readonly _renderManagerService;
|
|
14
13
|
private readonly _injector;
|
|
15
14
|
private readonly _configService;
|
|
16
|
-
|
|
17
|
-
constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _injector: Injector, _configService: IConfigService, _globalZoneService: IZenZoneService);
|
|
15
|
+
constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _injector: Injector, _configService: IConfigService);
|
|
18
16
|
print(unitId: string): Promise<unknown>;
|
|
19
17
|
}
|