@univerjs-pro/sheets-print 0.10.8 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +38 -38
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
+
o: string;
|
|
13
|
+
N: string;
|
|
12
14
|
K: string;
|
|
13
|
-
U: string;
|
|
14
|
-
e: string;
|
|
15
|
-
p: string;
|
|
16
|
-
w: string;
|
|
17
|
-
I: string;
|
|
18
|
-
x: string;
|
|
19
15
|
k: string;
|
|
16
|
+
i: string;
|
|
17
|
+
r: string;
|
|
18
|
+
J: string;
|
|
19
|
+
Z: string;
|
|
20
|
+
W: string;
|
|
21
|
+
j: string;
|
|
20
22
|
E: string;
|
|
21
|
-
|
|
23
|
+
M: string;
|
|
24
|
+
s: string;
|
|
22
25
|
h: string;
|
|
23
|
-
g: string;
|
|
24
26
|
Q: string;
|
|
25
27
|
P: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
V: string;
|
|
30
|
-
r: string;
|
|
31
|
-
f: string;
|
|
28
|
+
D: string;
|
|
29
|
+
t: string;
|
|
30
|
+
S: string;
|
|
32
31
|
b: string;
|
|
33
|
-
|
|
34
|
-
d: string;
|
|
32
|
+
I: string;
|
|
35
33
|
F: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
L: string;
|
|
39
|
-
m: string;
|
|
40
|
-
y: string;
|
|
34
|
+
A: string;
|
|
35
|
+
l: string;
|
|
41
36
|
G: string;
|
|
37
|
+
B: string;
|
|
38
|
+
y: string;
|
|
39
|
+
w: string;
|
|
42
40
|
z: string;
|
|
43
|
-
X: string;
|
|
44
|
-
T: string;
|
|
45
|
-
q: string;
|
|
46
|
-
Z: string;
|
|
47
|
-
S: string;
|
|
48
41
|
O: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
D: string;
|
|
52
|
-
v: string;
|
|
53
|
-
M: string;
|
|
54
|
-
W: string;
|
|
42
|
+
U: string;
|
|
43
|
+
d: string;
|
|
55
44
|
Y: string;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
t: string;
|
|
45
|
+
q: string;
|
|
46
|
+
e: string;
|
|
47
|
+
u: string;
|
|
60
48
|
R: string;
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
v: string;
|
|
50
|
+
a: string;
|
|
63
51
|
n: string;
|
|
52
|
+
X: string;
|
|
53
|
+
L: string;
|
|
54
|
+
x: string;
|
|
55
|
+
g: string;
|
|
56
|
+
T: string;
|
|
57
|
+
V: string;
|
|
58
|
+
H: string;
|
|
59
|
+
c: string;
|
|
60
|
+
C: string;
|
|
61
|
+
f: string;
|
|
62
|
+
m: string;
|
|
63
|
+
p: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "PybsB4Ib hQslUFB4Ib(14sQbGQ, FyM14snQU) { BlU { sIbGB 14sQbGQ6bPIgElBYllEU = 14sQbGQ.GF14B('-'); sIbGB Il4D4bLQGGEDQ = aVx7.FElGQ(EBIM(14sQbGQ6bPIgElBYllEU[K])); 4P (!Il4D4bLQGGEDQ.yh) { Il4D4bLQGGEDQ.yh = 7y2MQl(14sQbGQ6bPIgElBYllEU[i]); } sIbGB 4GCIlSQl = BUFQIP CIlSQlv1IME1VsIFQ !== 'ybhQP4bQh' && GQ1P 4bGBEbsQIP CIlSQlv1IME1VsIFQ; sIbGB sIbBQOB = 4GCIlSQl ? GQ1P : z4bhIz; sIbGB 2QGGEDQCIlh = sIbBQOB.__qEGQJi__.FElGQ(14sQbGQ6bPIgElBYllEU[K]); sIbGB 2QGGEDQ = sIbBQOB.__0QO__.GBl4bD4PU(2QGGEDQCIlh); sIbGB G4DbEBylQCIlh = sIbBQOB.__qEGQJi__.FElGQ(14sQbGQ6bPIgElBYllEU[k]); sIbGB G4DbEBylQ = sIbBQOB.__0QO__.GBl4bD4PU(G4DbEBylQCIlh); sIbGB G4DbcE14h = sIbBQOB.__wQl4PU__(G4DbEBylQ, 2QGGEDQ, FyM14snQU); sIbGB hI2E4b = Il4D4bLQGGEDQ.h2; PybsB4Ib 4GeI2E4bLEBst4bD(IgEBBQlb, I0IGB) { sIbGB FEBBQlb = IgEBBQlb.lQF1EsQ(/^.+/, ''); sIbGB tIGB = I0IGB.lQF1EsQ(/^.+/, ''); sIbGB FEBBQlbgElBG = FEBBQlb.GF14B('.'); sIbGB tIGBgElBG = tIGB.GF14B('.'); 4P (!FEBBQlb.4bs1yhQG('*')) { lQBylb FEBBQlb === tIGB; } 4P (FEBBQlbgElBG.1QbDBt < K || FEBBQlbgElBG[o] !== '*') { lQBylb PE1GQ; } sIbGB FEBBQlbVyPP4O = FEBBQlbgElBG.G14sQ(N).3I4b('.'); sIbGB tIGBVyPP4O = tIGBgElBG.G14sQ(-FEBBQlbgElBG.1QbDBt + N).3I4b('.'); lQBylb FEBBQlbVyPP4O === tIGBVyPP4O; } 1QB hI2E4bcE14h = (hI2E4b && hI2E4b.1QbDBt) ? hI2E4b.GI2Q((h26BQ2) => 4GeI2E4bLEBst4bD(h26BQ2, 1IsEB4Ib.tIGBbE2Q)) : BlyQ; 4P (1IsEB4Ib.tIGBbE2Q === '1IsE1tIGB') { hI2E4bcE14h = BlyQ; } sIbGB wE14h = G4DbcE14h && hI2E4bcE14h; lQBylb { wE14h, 2QGGEDQ: Il4D4bLQGGEDQ, }; } sEBst (QllIl) { lQBylb { wE14h: PE1GQ, 2QGGEDQ: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3a83(_0x110c56,_0x459ad9){const _0x68603f=_0x6860();return _0x3a83=function(_0x3a83d8,_0x2252c5){_0x3a83d8=_0x3a83d8-0xcb;let _0x4b9aff=_0x68603f[_0x3a83d8];return _0x4b9aff;},_0x3a83(_0x110c56,_0x459ad9);}function _0x6860(){const _0x199538=['hasPrintFacadePermission','@univerjs/core/facade','UniverCore','362gLHzNX','PrintPaperSize','updateRenderConfig','beforeCommandExecuted','FEventName','getActiveSheet','334824dmzOYq','4053VBKcLb','UniverCoreFacade','PrintScale','46848OdGQHV','PrintArea','SheetPrintOpenOperation','getUnitId','UniverProPrint','SheetPrintCanceled','syncExecuteCommand','getActiveUniverSheet','3882fprhWC','SheetPrintClientService','UniverSheetsFacade','Event','registerEventHandler','cancel','renderConfig','PrintDirection','@univerjs-pro/print','CanceledError','1536957avmJVz','_worksheet','get','_range','object','BeforeSheetPrintOpen','@univerjs/sheets/facade','BeforeSheetPrintCanceled','3448KCqiEY','SheetPrintOpen','saveScreenshotToClipboard','ConfirmSheetPrintOperation','FWorkbook','_injector','_workbook','openPrintDialog','827972KnLjoz','1441TqbhfO','print','extend','CancelSheetPrintOperation','function','SheetPrintConfirmed','ISheetPrintManagerService','PrintPaperMargin','40nHlBlw','fireEvent','ICommandService','PrintHeaderFooter','PrintHeaderFooterSymbol','1527205zGKcgQ','SheetScreenShotOperation','_initialize','layoutConfig','getScreenshot','onCommandExecuted','BeforeSheetPrintConfirm','FUniver','@univerjs/core','@univerjs-pro/sheets-print','UniverProSheetsPrint','PaperType','updateLayoutConfig','FRange','6zUnYgj'];_0x6860=function(){return _0x199538;};return _0x6860();}(function(_0x10f32a,_0x19df90){const _0x3e63ac=_0x3a83,_0x1b3989=_0x10f32a();while(!![]){try{const _0x41135a=-parseInt(_0x3e63ac(0xf4))/0x1+-parseInt(_0x3e63ac(0xee))/0x2*(parseInt(_0x3e63ac(0x100))/0x3)+-parseInt(_0x3e63ac(0xce))/0x4+parseInt(_0x3e63ac(0xdc))/0x5*(-parseInt(_0x3e63ac(0xea))/0x6)+parseInt(_0x3e63ac(0xf5))/0x7*(parseInt(_0x3e63ac(0x112))/0x8)+parseInt(_0x3e63ac(0x10a))/0x9*(parseInt(_0x3e63ac(0xd7))/0xa)+-parseInt(_0x3e63ac(0xcf))/0xb*(-parseInt(_0x3e63ac(0xf8))/0xc);if(_0x41135a===_0x19df90)break;else _0x1b3989['push'](_0x1b3989['shift']());}catch(_0x5eb3c8){_0x1b3989['push'](_0x1b3989['shift']());}}}(_0x6860,0x58861),function(_0x55e34b,_0x108612){const _0x233b02=_0x3a83;typeof exports==_0x233b02(0x10e)&&typeof module<'u'?_0x108612(require('@univerjs-pro/sheets-print'),require('@univerjs/core'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs-pro/print')):typeof define==_0x233b02(0xd3)&&define['amd']?define([_0x233b02(0xe5),_0x233b02(0xe4),_0x233b02(0x110),_0x233b02(0xec),_0x233b02(0x108)],_0x108612):(_0x55e34b=typeof globalThis<'u'?globalThis:_0x55e34b||self,_0x108612(_0x55e34b[_0x233b02(0xe6)],_0x55e34b[_0x233b02(0xed)],_0x55e34b[_0x233b02(0x102)],_0x55e34b[_0x233b02(0xf6)],_0x55e34b[_0x233b02(0xfc)]));}(this,function(_0x5960f7,_0x52d9c1,_0x5bc191,_0x54496c,_0x51ed85){'use strict';const _0x4669c2=_0x3a83;class _0x434216 extends _0x5bc191[_0x4669c2(0x116)]{['updatePrintConfig'](_0xbef365){const _0x10f033=_0x4669c2;return this[_0x10f033(0xcb)][_0x10f033(0x10c)](_0x5960f7['ISheetPrintManagerService'])[_0x10f033(0xe8)](_0xbef365),this;}['updatePrintRenderConfig'](_0x2dd075){const _0x584ba4=_0x4669c2;return this[_0x584ba4(0xcb)]['get'](_0x5960f7[_0x584ba4(0xd5)])[_0x584ba4(0xf0)](_0x2dd075),this;}[_0x4669c2(0xd0)](){const _0x3972e5=_0x4669c2;return this[_0x3972e5(0xcb)][_0x3972e5(0x10c)](_0x52d9c1['ICommandService'])[_0x3972e5(0xfe)](_0x5960f7['ConfirmSheetPrintOperation']['id']);}[_0x4669c2(0xcd)](){const _0x33bebe=_0x4669c2;return this[_0x33bebe(0xcb)]['get'](_0x52d9c1[_0x33bebe(0xd9)])[_0x33bebe(0xfe)](_0x5960f7[_0x33bebe(0xfa)]['id']);}['closePrintDialog'](){const _0x1ee8d4=_0x4669c2;return this[_0x1ee8d4(0xcb)]['get'](_0x52d9c1['ICommandService'])[_0x1ee8d4(0xfe)](_0x5960f7[_0x1ee8d4(0xd2)]['id']);}async[_0x4669c2(0x114)](){const _0x40eb6b=_0x4669c2;return _0x5960f7[_0x40eb6b(0xeb)](this[_0x40eb6b(0xcb)])?this[_0x40eb6b(0xcb)][_0x40eb6b(0x10c)](_0x52d9c1[_0x40eb6b(0xd9)])['executeCommand'](_0x5960f7[_0x40eb6b(0xdd)]['id']):!0x1;}}_0x5bc191[_0x4669c2(0x116)][_0x4669c2(0xd1)](_0x434216);class _0x53a378 extends _0x5bc191['FRange']{[_0x4669c2(0xe0)](){const _0x24f096=_0x4669c2;return _0x5960f7['hasPrintFacadePermission'](this[_0x24f096(0xcb)])?this[_0x24f096(0xcb)][_0x24f096(0x10c)](_0x5960f7[_0x24f096(0x101)])['getRangeImage'](this[_0x24f096(0xcc)][_0x24f096(0xfb)](),this[_0x24f096(0x10b)]['getSheetId'](),this[_0x24f096(0x10d)]):!0x1;}}_0x5bc191[_0x4669c2(0xe9)][_0x4669c2(0xd1)](_0x53a378);class _0x4f51a1{get[_0x4669c2(0x10f)](){return'BeforeSheetPrintOpen';}get[_0x4669c2(0xe2)](){const _0x448bee=_0x4669c2;return _0x448bee(0xe2);}get['BeforeSheetPrintCanceled'](){const _0x44e789=_0x4669c2;return _0x44e789(0x111);}get[_0x4669c2(0x113)](){const _0x25979d=_0x4669c2;return _0x25979d(0x113);}get[_0x4669c2(0xd4)](){return'SheetPrintConfirmed';}get[_0x4669c2(0xfd)](){const _0x16712b=_0x4669c2;return _0x16712b(0xfd);}}_0x54496c[_0x4669c2(0xf2)][_0x4669c2(0xd1)](_0x4f51a1);class _0x48bdd9{get['PrintArea'](){const _0x14b059=_0x4669c2;return _0x5960f7[_0x14b059(0xf9)];}get['PrintAlign'](){return _0x51ed85['PrintAlign'];}get[_0x4669c2(0xef)](){const _0x42f8d8=_0x4669c2;return _0x52d9c1[_0x42f8d8(0xe7)];}get[_0x4669c2(0xd6)](){const _0x106209=_0x4669c2;return _0x51ed85[_0x106209(0xd6)];}get[_0x4669c2(0xf7)](){return _0x51ed85['PrintScale'];}get[_0x4669c2(0x107)](){return _0x51ed85['PrintDirection'];}get['PrintFreeze'](){return _0x5960f7['PrintFreeze'];}get['PrintHeaderFooter'](){const _0x2d5b3c=_0x4669c2;return _0x5960f7[_0x2d5b3c(0xda)];}get[_0x4669c2(0xdb)](){const _0x566b2b=_0x4669c2;return _0x5960f7[_0x566b2b(0xdb)];}}_0x54496c['FEnum'][_0x4669c2(0xd1)](_0x48bdd9);class _0x3b141a extends _0x54496c[_0x4669c2(0xe3)]{[_0x4669c2(0xde)](_0xef5aee){const _0x5b02d2=_0x4669c2,_0x122d36=_0xef5aee[_0x5b02d2(0x10c)](_0x52d9c1[_0x5b02d2(0xd9)]);this[_0x5b02d2(0x104)](this[_0x5b02d2(0x103)][_0x5b02d2(0x10f)],()=>_0x122d36['beforeCommandExecuted'](_0x1ff268=>{const _0x2adc2b=_0x5b02d2;if(_0x1ff268['id']===_0x5960f7['SheetPrintOpenOperation']['id']){const _0x4a5961=this[_0x2adc2b(0xff)]();if(!_0x4a5961)return;const _0x5f5a08={'workbook':_0x4a5961,'worksheet':_0x4a5961['getActiveSheet']()};if(_0x5f5a08==null)return;if(this['fireEvent'](this[_0x2adc2b(0x103)][_0x2adc2b(0x10f)],_0x5f5a08),_0x5f5a08[_0x2adc2b(0x105)])throw new _0x52d9c1[(_0x2adc2b(0x109))]();}})),this[_0x5b02d2(0x104)](this[_0x5b02d2(0x103)][_0x5b02d2(0xe2)],()=>_0x122d36[_0x5b02d2(0xf1)](_0x5700c3=>{const _0x3fc4ec=_0x5b02d2;if(_0x5700c3['id']===_0x5960f7[_0x3fc4ec(0x115)]['id']){const _0x32529a=_0xef5aee[_0x3fc4ec(0x10c)](_0x5960f7[_0x3fc4ec(0xd5)]);if(!this[_0x3fc4ec(0xff)]())return;const _0x543158={'layoutConfig':_0x32529a['layoutConfig'],'renderConfig':_0x32529a[_0x3fc4ec(0x106)]};if(_0x543158==null)return;if(this[_0x3fc4ec(0xd8)](this[_0x3fc4ec(0x103)]['BeforeSheetPrintConfirm'],_0x543158),_0x543158[_0x3fc4ec(0x105)])throw new _0x52d9c1['CanceledError']();}})),this[_0x5b02d2(0x104)](this[_0x5b02d2(0x103)]['BeforeSheetPrintCanceled'],()=>_0x122d36['beforeCommandExecuted'](_0x369dd5=>{const _0x14d7ca=_0x5b02d2;if(_0x369dd5['id']===_0x5960f7[_0x14d7ca(0xd2)]['id']){const _0x12828f=_0xef5aee[_0x14d7ca(0x10c)](_0x5960f7['ISheetPrintManagerService']);if(!this[_0x14d7ca(0xff)]())return;const _0xfe65dd={'layoutConfig':_0x12828f['layoutConfig'],'renderConfig':_0x12828f[_0x14d7ca(0x106)]};if(_0xfe65dd==null)return;if(this[_0x14d7ca(0xd8)](this[_0x14d7ca(0x103)][_0x14d7ca(0x111)],_0xfe65dd),_0xfe65dd[_0x14d7ca(0x105)])throw new _0x52d9c1[(_0x14d7ca(0x109))]();}})),this[_0x5b02d2(0x104)](this[_0x5b02d2(0x103)]['SheetPrintOpen'],()=>_0x122d36[_0x5b02d2(0xe1)](_0xbe27e9=>{const _0x536b22=_0x5b02d2;if(_0xbe27e9['id']===_0x5960f7[_0x536b22(0xfa)]['id']){const _0x5d0749=this[_0x536b22(0xff)]();if(!_0x5d0749)return;const _0x1eba54={'workbook':_0x5d0749,'worksheet':_0x5d0749[_0x536b22(0xf3)]()};if(_0x1eba54==null)return;this['fireEvent'](this[_0x536b22(0x103)]['SheetPrintOpen'],_0x1eba54);}})),this[_0x5b02d2(0x104)](this[_0x5b02d2(0x103)][_0x5b02d2(0xd4)],()=>_0x122d36[_0x5b02d2(0xe1)](_0x131e90=>{const _0x3ba062=_0x5b02d2;if(_0x131e90['id']===_0x5960f7[_0x3ba062(0x115)]['id']){const _0xb5fd64=_0xef5aee[_0x3ba062(0x10c)](_0x5960f7[_0x3ba062(0xd5)]);if(!this['getActiveUniverSheet']())return;const _0x63205e={'layoutConfig':_0xb5fd64[_0x3ba062(0xdf)],'renderConfig':_0xb5fd64[_0x3ba062(0x106)]};if(_0x63205e==null)return;this[_0x3ba062(0xd8)](this[_0x3ba062(0x103)]['SheetPrintConfirmed'],_0x63205e);}})),this[_0x5b02d2(0x104)](this['Event'][_0x5b02d2(0xfd)],()=>_0x122d36[_0x5b02d2(0xe1)](_0x1829b7=>{const _0x24007f=_0x5b02d2;if(_0x1829b7['id']===_0x5960f7[_0x24007f(0xd2)]['id']){const _0x30a7d4=_0xef5aee['get'](_0x5960f7[_0x24007f(0xd5)]);if(!this[_0x24007f(0xff)]())return;const _0x1a26b5={'layoutConfig':_0x30a7d4[_0x24007f(0xdf)],'renderConfig':_0x30a7d4[_0x24007f(0x106)]};if(_0x1a26b5==null)return;this[_0x24007f(0xd8)](this[_0x24007f(0x103)][_0x24007f(0xfd)],_0x1a26b5);}}));}}_0x54496c[_0x4669c2(0xe3)][_0x4669c2(0xd1)](_0x3b141a);}));
|