igniteui-webcomponents-excel 1.4.2 → 3.2.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/bundles/igniteui-webcomponents-excel.umd.js +3531 -3356
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AlignmentInfo.js +2 -2
- package/esm2015/lib/DataValidationImeMode.js +61 -0
- package/esm2015/lib/DefaultStyleHelper_combined.js +672 -616
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm2015/lib/ProtectionInfo.js +1 -1
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +458 -457
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm2015/lib/XlsxUtilities_combined.js +105 -73
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AlignmentInfo.js +2 -2
- package/esm5/lib/DataValidationImeMode.js +61 -0
- package/esm5/lib/DefaultStyleHelper_combined.js +2878 -2800
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeOutlineCreator.js +1 -1
- package/esm5/lib/ProtectionInfo.js +1 -1
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +4 -4
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +467 -466
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +14 -12
- package/esm5/lib/XlsxUtilities_combined.js +105 -73
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-excel.js +1317 -1166
- package/fesm5/igniteui-webcomponents-excel.js +3530 -3357
- package/lib/DataValidationImeMode.d.ts +54 -0
- package/lib/DefaultStyleHelper_combined.d.ts +243 -228
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +7 -7
- package/lib/XlsxUtilities_combined.d.ts +68 -64
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
|
@@ -11513,8 +11513,9 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11513
11513
|
break;
|
|
11514
11514
|
default: return;
|
|
11515
11515
|
}
|
|
11516
|
-
o.
|
|
11516
|
+
o._r = i;
|
|
11517
11517
|
o.errorStyle = g;
|
|
11518
|
+
o.imeMode = k;
|
|
11518
11519
|
o.showInputMessage = l;
|
|
11519
11520
|
o.showErrorMessageForInvalidValue = m;
|
|
11520
11521
|
let q = ((() => { let r = a._av.readFormattedStringFromBuffer(1, c, d); c = r.p1; d = r.p2; return r.ret; })())._y;
|
|
@@ -11535,8 +11536,8 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11535
11536
|
o.errorMessageDescription = w;
|
|
11536
11537
|
let y = ((() => { let z = a._av._readUInt16FromBuffer(c, d); c = z.p0; d = z.p1; return z.ret; })());
|
|
11537
11538
|
d += 2;
|
|
11538
|
-
let z = ((() => { let aa = a._au(o.
|
|
11539
|
-
o.
|
|
11539
|
+
let z = ((() => { let aa = a._au(o._k, y, c, d); c = aa.p2; d = aa.p3; return aa.ret; })());
|
|
11540
|
+
o._at(z, null);
|
|
11540
11541
|
if (h && z != null && z._e.length == 1) {
|
|
11541
11542
|
let aa = typeCast(StrToken.$, z._e[0]);
|
|
11542
11543
|
if (aa != null) {
|
|
@@ -11545,8 +11546,8 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11545
11546
|
}
|
|
11546
11547
|
let ab = ((() => { let ac = a._av._readUInt16FromBuffer(c, d); c = ac.p0; d = ac.p1; return ac.ret; })());
|
|
11547
11548
|
d += 2;
|
|
11548
|
-
let ac = ((() => { let ad = a._au(o.
|
|
11549
|
-
o.
|
|
11549
|
+
let ac = ((() => { let ad = a._au(o._k, ab, c, d); c = ad.p2; d = ad.p3; return ad.ret; })());
|
|
11550
|
+
o._au(ac, null);
|
|
11550
11551
|
let ad = ((() => { let ae = a._av._ao(c, d); c = ae.p0; d = ae.p1; return ae.ret; })());
|
|
11551
11552
|
let ae = new WorksheetReferenceCollection(b);
|
|
11552
11553
|
for (let af of fromEnum(ad)) {
|
|
@@ -11566,17 +11567,18 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11566
11567
|
return;
|
|
11567
11568
|
}
|
|
11568
11569
|
let d = typeCast(ListDataValidationRule.$, b);
|
|
11569
|
-
let e = b.
|
|
11570
|
+
let e = b._n(null);
|
|
11570
11571
|
let f = 0;
|
|
11571
|
-
f = u32BitwiseOr(f, b.
|
|
11572
|
+
f = u32BitwiseOr(f, b._m);
|
|
11572
11573
|
f = u32BitwiseOr(f, u32LS(b.errorStyle, 4));
|
|
11574
|
+
f = u32BitwiseOr(f, u32LS(b.imeMode, 10));
|
|
11573
11575
|
if (d != null && e != null && e._e.length == 1 && typeCast(StrToken.$, e._e[0]) !== null) {
|
|
11574
11576
|
e = e._g();
|
|
11575
11577
|
let g = e._e[0];
|
|
11576
11578
|
e._e[0] = new StrToken(1, stringReplace(g.p, ",", "\0"));
|
|
11577
11579
|
f = u32BitwiseOr(f, 128);
|
|
11578
11580
|
}
|
|
11579
|
-
if (b.
|
|
11581
|
+
if (b._r) {
|
|
11580
11582
|
f = u32BitwiseOr(f, 256);
|
|
11581
11583
|
}
|
|
11582
11584
|
if (d != null && d.showDropdown == false) {
|
|
@@ -11588,7 +11590,7 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11588
11590
|
if (b.showErrorMessageForInvalidValue) {
|
|
11589
11591
|
f = u32BitwiseOr(f, 524288);
|
|
11590
11592
|
}
|
|
11591
|
-
f = u32BitwiseOr(f, u32LS(b.
|
|
11593
|
+
f = u32BitwiseOr(f, u32LS(b._l, 20));
|
|
11592
11594
|
a._ck._write18(f);
|
|
11593
11595
|
let h = b.inputMessageTitle;
|
|
11594
11596
|
let i = DVRecord.p(h);
|
|
@@ -11621,7 +11623,7 @@ export let DVRecord = /*@__PURE__*/ (() => {
|
|
|
11621
11623
|
let s = a._ck.position;
|
|
11622
11624
|
a._ck._write17(0);
|
|
11623
11625
|
a._ck._write17(0);
|
|
11624
|
-
let t = b.
|
|
11626
|
+
let t = b._o(null);
|
|
11625
11627
|
if (t != null) {
|
|
11626
11628
|
let u = a._c4(t, false, false, false);
|
|
11627
11629
|
let v = a._ck.position;
|
|
@@ -12223,7 +12225,7 @@ export let FILEPASSRecord = /*@__PURE__*/ (() => {
|
|
|
12223
12225
|
h(a) {
|
|
12224
12226
|
FILEPASSRecord.q(a);
|
|
12225
12227
|
if (a._aj == null) {
|
|
12226
|
-
a._b.
|
|
12228
|
+
a._b._i7();
|
|
12227
12229
|
}
|
|
12228
12230
|
}
|
|
12229
12231
|
i(a) {
|
|
@@ -15875,7 +15877,7 @@ export let TABLESTYLESRecord = /*@__PURE__*/ (() => {
|
|
|
15875
15877
|
export let TEMPLATERecord = /*@__PURE__*/ (() => {
|
|
15876
15878
|
class TEMPLATERecord extends Biff8RecordBase {
|
|
15877
15879
|
h(a) {
|
|
15878
|
-
a._b.
|
|
15880
|
+
a._b._i3(1);
|
|
15879
15881
|
}
|
|
15880
15882
|
i(a) {
|
|
15881
15883
|
}
|
|
@@ -45,7 +45,7 @@ import { XlsxUtilities_ColorTransformsApplicator } from "./XlsxUtilities_ColorTr
|
|
|
45
45
|
*/
|
|
46
46
|
export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
47
47
|
class XlsxUtilities extends Base {
|
|
48
|
-
static
|
|
48
|
+
static ag(a) {
|
|
49
49
|
let b = a._getBoundsInTwips();
|
|
50
50
|
return ((() => {
|
|
51
51
|
let $ret = new CT_GroupTransform2D();
|
|
@@ -79,7 +79,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
79
79
|
return $ret;
|
|
80
80
|
})());
|
|
81
81
|
}
|
|
82
|
-
static
|
|
82
|
+
static ah(a) {
|
|
83
83
|
let b = a._getBoundsInTwips();
|
|
84
84
|
return ((() => {
|
|
85
85
|
let $ret = new CT_Transform2D();
|
|
@@ -101,13 +101,13 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
101
101
|
return $ret;
|
|
102
102
|
})());
|
|
103
103
|
}
|
|
104
|
-
static
|
|
104
|
+
static v(a) {
|
|
105
105
|
let b = typeCast(ImageHolder.$, a.e);
|
|
106
106
|
if (b == null) {
|
|
107
107
|
{
|
|
108
108
|
let c = new MemoryStream(2, a.b);
|
|
109
109
|
try {
|
|
110
|
-
b = XlsxUtilities.
|
|
110
|
+
b = XlsxUtilities.w(c, a.d);
|
|
111
111
|
}
|
|
112
112
|
finally {
|
|
113
113
|
if (c != null) {
|
|
@@ -119,7 +119,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
119
119
|
}
|
|
120
120
|
return b;
|
|
121
121
|
}
|
|
122
|
-
static
|
|
122
|
+
static w(a, b) {
|
|
123
123
|
let c = new ExcelImage(1, b, a);
|
|
124
124
|
return new ImageHolder(c, b);
|
|
125
125
|
}
|
|
@@ -131,7 +131,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
131
131
|
default: return 1;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
static
|
|
134
|
+
static g(a) {
|
|
135
135
|
switch (a) {
|
|
136
136
|
case 0: return 0;
|
|
137
137
|
case 1: return 1;
|
|
@@ -184,7 +184,23 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
184
184
|
default: return 2;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
static
|
|
187
|
+
static e(a) {
|
|
188
|
+
switch (a) {
|
|
189
|
+
case 0: return 0;
|
|
190
|
+
case 1: return 2;
|
|
191
|
+
case 2: return 1;
|
|
192
|
+
case 3: return 3;
|
|
193
|
+
case 4: return 4;
|
|
194
|
+
case 5: return 5;
|
|
195
|
+
case 6: return 6;
|
|
196
|
+
case 7: return 7;
|
|
197
|
+
case 8: return 8;
|
|
198
|
+
case 9: return 9;
|
|
199
|
+
case 10: return 10;
|
|
200
|
+
default: return 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
static t(a) {
|
|
188
204
|
switch (a) {
|
|
189
205
|
case 0: return 0;
|
|
190
206
|
case 2: return 2;
|
|
@@ -197,7 +213,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
197
213
|
default: return 2;
|
|
198
214
|
}
|
|
199
215
|
}
|
|
200
|
-
static
|
|
216
|
+
static u(a) {
|
|
201
217
|
switch (a) {
|
|
202
218
|
case 0: return 0;
|
|
203
219
|
case 4: return 4;
|
|
@@ -210,20 +226,20 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
210
226
|
default: return 0;
|
|
211
227
|
}
|
|
212
228
|
}
|
|
213
|
-
static
|
|
229
|
+
static a9(a) {
|
|
214
230
|
return wrapNullable(Boolean_$type, (a));
|
|
215
231
|
}
|
|
216
|
-
static
|
|
232
|
+
static a8(a) {
|
|
217
233
|
let b = toNullable(Boolean_$type, a);
|
|
218
234
|
return wrapNullable(Boolean_$type, (b));
|
|
219
235
|
}
|
|
220
|
-
static
|
|
236
|
+
static ba(a) {
|
|
221
237
|
if (nullableEquals(a, null)) {
|
|
222
238
|
return toNullable(FillPatternStyle_$type, null);
|
|
223
239
|
}
|
|
224
|
-
return toNullable(FillPatternStyle_$type, XlsxUtilities.
|
|
240
|
+
return toNullable(FillPatternStyle_$type, XlsxUtilities.f(a.value));
|
|
225
241
|
}
|
|
226
|
-
static
|
|
242
|
+
static f(a) {
|
|
227
243
|
switch (a) {
|
|
228
244
|
case 0: return 0;
|
|
229
245
|
case 1: return 1;
|
|
@@ -247,7 +263,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
247
263
|
default: return 0;
|
|
248
264
|
}
|
|
249
265
|
}
|
|
250
|
-
static
|
|
266
|
+
static h(a) {
|
|
251
267
|
switch (a) {
|
|
252
268
|
case 0: return 0;
|
|
253
269
|
case 1: return 1;
|
|
@@ -255,7 +271,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
255
271
|
default: return 0;
|
|
256
272
|
}
|
|
257
273
|
}
|
|
258
|
-
static
|
|
274
|
+
static j(a) {
|
|
259
275
|
switch (a) {
|
|
260
276
|
case 4: return 0;
|
|
261
277
|
case 0: return 1;
|
|
@@ -265,7 +281,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
265
281
|
default: return 0;
|
|
266
282
|
}
|
|
267
283
|
}
|
|
268
|
-
static
|
|
284
|
+
static i(a) {
|
|
269
285
|
switch (a) {
|
|
270
286
|
case 0: return 0;
|
|
271
287
|
case 2: return 1;
|
|
@@ -273,13 +289,13 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
273
289
|
default: return 1;
|
|
274
290
|
}
|
|
275
291
|
}
|
|
276
|
-
static
|
|
292
|
+
static l(a) {
|
|
277
293
|
if (nullableEquals(a, null)) {
|
|
278
294
|
return -1;
|
|
279
295
|
}
|
|
280
|
-
return XlsxUtilities.
|
|
296
|
+
return XlsxUtilities.k(a.value);
|
|
281
297
|
}
|
|
282
|
-
static
|
|
298
|
+
static k(a) {
|
|
283
299
|
switch (a) {
|
|
284
300
|
case 0: return 0;
|
|
285
301
|
case 1: return 1;
|
|
@@ -292,7 +308,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
292
308
|
default: return 0;
|
|
293
309
|
}
|
|
294
310
|
}
|
|
295
|
-
static
|
|
311
|
+
static m(a) {
|
|
296
312
|
switch (a) {
|
|
297
313
|
case 1: return 0;
|
|
298
314
|
case 3: return 2;
|
|
@@ -304,7 +320,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
304
320
|
default: return 4;
|
|
305
321
|
}
|
|
306
322
|
}
|
|
307
|
-
static
|
|
323
|
+
static q(a) {
|
|
308
324
|
switch (a) {
|
|
309
325
|
case 3: return 3;
|
|
310
326
|
case 1: return 1;
|
|
@@ -313,7 +329,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
313
329
|
default: return 3;
|
|
314
330
|
}
|
|
315
331
|
}
|
|
316
|
-
static
|
|
332
|
+
static n(a) {
|
|
317
333
|
switch (a) {
|
|
318
334
|
case 2: return 2;
|
|
319
335
|
case 0: return 0;
|
|
@@ -321,7 +337,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
321
337
|
default: return 0;
|
|
322
338
|
}
|
|
323
339
|
}
|
|
324
|
-
static
|
|
340
|
+
static o(a) {
|
|
325
341
|
switch (a) {
|
|
326
342
|
case 0: return 2;
|
|
327
343
|
case 2: return 0;
|
|
@@ -329,14 +345,14 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
329
345
|
default: return 2;
|
|
330
346
|
}
|
|
331
347
|
}
|
|
332
|
-
static
|
|
348
|
+
static p(a) {
|
|
333
349
|
switch (a) {
|
|
334
350
|
case 0: return 0;
|
|
335
351
|
case 1: return 1;
|
|
336
352
|
default: return 1;
|
|
337
353
|
}
|
|
338
354
|
}
|
|
339
|
-
static
|
|
355
|
+
static r(a) {
|
|
340
356
|
switch (a) {
|
|
341
357
|
case 1: return 1;
|
|
342
358
|
case 2: return 2;
|
|
@@ -345,7 +361,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
345
361
|
default: return 0;
|
|
346
362
|
}
|
|
347
363
|
}
|
|
348
|
-
static
|
|
364
|
+
static s(a) {
|
|
349
365
|
switch (a) {
|
|
350
366
|
case 0: return 0;
|
|
351
367
|
case 1: return 1;
|
|
@@ -353,7 +369,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
353
369
|
default: return 0;
|
|
354
370
|
}
|
|
355
371
|
}
|
|
356
|
-
static
|
|
372
|
+
static x(a) {
|
|
357
373
|
switch (a) {
|
|
358
374
|
case 2: return 3;
|
|
359
375
|
case 0: return 0;
|
|
@@ -361,7 +377,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
361
377
|
default: return 3;
|
|
362
378
|
}
|
|
363
379
|
}
|
|
364
|
-
static
|
|
380
|
+
static an(a) {
|
|
365
381
|
switch (a) {
|
|
366
382
|
case 9: return 9;
|
|
367
383
|
case 11: return 11;
|
|
@@ -381,7 +397,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
381
397
|
default: return 0;
|
|
382
398
|
}
|
|
383
399
|
}
|
|
384
|
-
static
|
|
400
|
+
static ar(a) {
|
|
385
401
|
switch (a) {
|
|
386
402
|
case 2: return 2;
|
|
387
403
|
case 0: return 0;
|
|
@@ -389,7 +405,23 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
389
405
|
default: return 2;
|
|
390
406
|
}
|
|
391
407
|
}
|
|
392
|
-
static
|
|
408
|
+
static as(a) {
|
|
409
|
+
switch (a) {
|
|
410
|
+
case 0: return 0;
|
|
411
|
+
case 2: return 1;
|
|
412
|
+
case 1: return 2;
|
|
413
|
+
case 3: return 3;
|
|
414
|
+
case 4: return 4;
|
|
415
|
+
case 5: return 5;
|
|
416
|
+
case 6: return 6;
|
|
417
|
+
case 7: return 7;
|
|
418
|
+
case 8: return 8;
|
|
419
|
+
case 9: return 9;
|
|
420
|
+
case 10: return 10;
|
|
421
|
+
default: return 0;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
static at(a) {
|
|
393
425
|
switch (a) {
|
|
394
426
|
case 0: return 0;
|
|
395
427
|
case 2: return 2;
|
|
@@ -402,7 +434,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
402
434
|
default: return 2;
|
|
403
435
|
}
|
|
404
436
|
}
|
|
405
|
-
static
|
|
437
|
+
static au(a) {
|
|
406
438
|
switch (a) {
|
|
407
439
|
case 0: return 0;
|
|
408
440
|
case 4: return 4;
|
|
@@ -415,7 +447,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
415
447
|
default: return 0;
|
|
416
448
|
}
|
|
417
449
|
}
|
|
418
|
-
static
|
|
450
|
+
static ao(a) {
|
|
419
451
|
switch (a) {
|
|
420
452
|
case 1: return 1;
|
|
421
453
|
case 2: return 2;
|
|
@@ -423,7 +455,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
423
455
|
default: return 1;
|
|
424
456
|
}
|
|
425
457
|
}
|
|
426
|
-
static
|
|
458
|
+
static ap(a) {
|
|
427
459
|
switch (a) {
|
|
428
460
|
case 0: return 0;
|
|
429
461
|
case 1: return 1;
|
|
@@ -442,7 +474,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
442
474
|
default: return 10;
|
|
443
475
|
}
|
|
444
476
|
}
|
|
445
|
-
static
|
|
477
|
+
static aq(a) {
|
|
446
478
|
switch (a) {
|
|
447
479
|
case 0: return 0;
|
|
448
480
|
case 1: return 1;
|
|
@@ -450,7 +482,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
450
482
|
default: return 0;
|
|
451
483
|
}
|
|
452
484
|
}
|
|
453
|
-
static
|
|
485
|
+
static av(a) {
|
|
454
486
|
switch (a) {
|
|
455
487
|
case 3: return 2;
|
|
456
488
|
case 0: return 0;
|
|
@@ -458,7 +490,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
458
490
|
default: return 2;
|
|
459
491
|
}
|
|
460
492
|
}
|
|
461
|
-
static
|
|
493
|
+
static bb(a) {
|
|
462
494
|
switch (a) {
|
|
463
495
|
case -1: return toNullable(ST_HorizontalAlignment_$type, null);
|
|
464
496
|
case 0: return toNullable(ST_HorizontalAlignment_$type, 0);
|
|
@@ -472,7 +504,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
472
504
|
default: return toNullable(ST_HorizontalAlignment_$type, 0);
|
|
473
505
|
}
|
|
474
506
|
}
|
|
475
|
-
static
|
|
507
|
+
static aw(a) {
|
|
476
508
|
switch (a) {
|
|
477
509
|
case 2: return 2;
|
|
478
510
|
case 0: return 0;
|
|
@@ -480,7 +512,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
480
512
|
default: return 0;
|
|
481
513
|
}
|
|
482
514
|
}
|
|
483
|
-
static
|
|
515
|
+
static ax(a) {
|
|
484
516
|
switch (a) {
|
|
485
517
|
case 2: return 0;
|
|
486
518
|
case 0: return 2;
|
|
@@ -488,14 +520,14 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
488
520
|
default: return 0;
|
|
489
521
|
}
|
|
490
522
|
}
|
|
491
|
-
static
|
|
523
|
+
static ay(a) {
|
|
492
524
|
switch (a) {
|
|
493
525
|
case 0: return 0;
|
|
494
526
|
case 1: return 1;
|
|
495
527
|
default: return 1;
|
|
496
528
|
}
|
|
497
529
|
}
|
|
498
|
-
static
|
|
530
|
+
static az(a) {
|
|
499
531
|
switch (a) {
|
|
500
532
|
case 3: return 3;
|
|
501
533
|
case 1: return 1;
|
|
@@ -504,13 +536,13 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
504
536
|
default: return 3;
|
|
505
537
|
}
|
|
506
538
|
}
|
|
507
|
-
static
|
|
539
|
+
static bc(a) {
|
|
508
540
|
if (nullableEquals(a, null)) {
|
|
509
541
|
return toNullable(ST_PatternType_$type, null);
|
|
510
542
|
}
|
|
511
|
-
return toNullable(ST_PatternType_$type, XlsxUtilities.
|
|
543
|
+
return toNullable(ST_PatternType_$type, XlsxUtilities.a0(a.value));
|
|
512
544
|
}
|
|
513
|
-
static
|
|
545
|
+
static a0(a) {
|
|
514
546
|
switch (a) {
|
|
515
547
|
case 0: return 0;
|
|
516
548
|
case 1: return 1;
|
|
@@ -534,7 +566,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
534
566
|
default: return 0;
|
|
535
567
|
}
|
|
536
568
|
}
|
|
537
|
-
static
|
|
569
|
+
static a1(a) {
|
|
538
570
|
switch (a) {
|
|
539
571
|
case 1: return 1;
|
|
540
572
|
case 2: return 2;
|
|
@@ -543,14 +575,14 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
543
575
|
default: return 0;
|
|
544
576
|
}
|
|
545
577
|
}
|
|
546
|
-
static
|
|
578
|
+
static a2(a) {
|
|
547
579
|
switch (a) {
|
|
548
580
|
case 1: return 0;
|
|
549
581
|
case 0: return 1;
|
|
550
582
|
default: return 0;
|
|
551
583
|
}
|
|
552
584
|
}
|
|
553
|
-
static
|
|
585
|
+
static ai(a) {
|
|
554
586
|
switch (a) {
|
|
555
587
|
case 4: return 4;
|
|
556
588
|
case 5: return 5;
|
|
@@ -567,7 +599,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
567
599
|
default: return 4;
|
|
568
600
|
}
|
|
569
601
|
}
|
|
570
|
-
static
|
|
602
|
+
static a3(a) {
|
|
571
603
|
switch (a) {
|
|
572
604
|
case 1: return 1;
|
|
573
605
|
case 2: return 2;
|
|
@@ -575,7 +607,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
575
607
|
default: return 0;
|
|
576
608
|
}
|
|
577
609
|
}
|
|
578
|
-
static
|
|
610
|
+
static a4(a) {
|
|
579
611
|
switch (a) {
|
|
580
612
|
case 0: return 0;
|
|
581
613
|
case 2: return 1;
|
|
@@ -583,7 +615,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
583
615
|
default: return 0;
|
|
584
616
|
}
|
|
585
617
|
}
|
|
586
|
-
static
|
|
618
|
+
static a5(a) {
|
|
587
619
|
switch (a) {
|
|
588
620
|
case 0: return 0;
|
|
589
621
|
case 1: return 1;
|
|
@@ -591,7 +623,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
591
623
|
default: return 0;
|
|
592
624
|
}
|
|
593
625
|
}
|
|
594
|
-
static
|
|
626
|
+
static bd(a) {
|
|
595
627
|
if (ExcelUtils.al(a) == false) {
|
|
596
628
|
return toNullable(ST_SystemColorVal_$type, null);
|
|
597
629
|
}
|
|
@@ -678,10 +710,10 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
678
710
|
}
|
|
679
711
|
return toNullable(ST_SystemColorVal_$type, null);
|
|
680
712
|
}
|
|
681
|
-
static
|
|
713
|
+
static a6(a) {
|
|
682
714
|
return a;
|
|
683
715
|
}
|
|
684
|
-
static
|
|
716
|
+
static aj(a) {
|
|
685
717
|
switch (a) {
|
|
686
718
|
case 0: return 1;
|
|
687
719
|
case 2: return 3;
|
|
@@ -693,7 +725,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
693
725
|
default: return 0;
|
|
694
726
|
}
|
|
695
727
|
}
|
|
696
|
-
static
|
|
728
|
+
static ak(a) {
|
|
697
729
|
switch (a) {
|
|
698
730
|
case 0: return 2;
|
|
699
731
|
case 1: return 1;
|
|
@@ -701,7 +733,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
701
733
|
default: return 2;
|
|
702
734
|
}
|
|
703
735
|
}
|
|
704
|
-
static
|
|
736
|
+
static al(a) {
|
|
705
737
|
switch (a) {
|
|
706
738
|
case -1:
|
|
707
739
|
case 0: return 0;
|
|
@@ -712,7 +744,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
712
744
|
default: return 0;
|
|
713
745
|
}
|
|
714
746
|
}
|
|
715
|
-
static
|
|
747
|
+
static a7(a) {
|
|
716
748
|
switch (a) {
|
|
717
749
|
case -1:
|
|
718
750
|
case 0: return 4;
|
|
@@ -723,7 +755,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
723
755
|
default: return 4;
|
|
724
756
|
}
|
|
725
757
|
}
|
|
726
|
-
static
|
|
758
|
+
static be(a) {
|
|
727
759
|
switch (a) {
|
|
728
760
|
case -1: return toNullable(ST_VerticalAlignment_$type, null);
|
|
729
761
|
case 0: return toNullable(ST_VerticalAlignment_$type, 0);
|
|
@@ -734,7 +766,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
734
766
|
default: return toNullable(ST_VerticalAlignment_$type, 2);
|
|
735
767
|
}
|
|
736
768
|
}
|
|
737
|
-
static
|
|
769
|
+
static am(a) {
|
|
738
770
|
switch (a) {
|
|
739
771
|
case -1:
|
|
740
772
|
case 0: return 0;
|
|
@@ -743,7 +775,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
743
775
|
default: return 0;
|
|
744
776
|
}
|
|
745
777
|
}
|
|
746
|
-
static
|
|
778
|
+
static bh(a) {
|
|
747
779
|
switch (a) {
|
|
748
780
|
case 0: return SystemColorsInternal.d;
|
|
749
781
|
case 1: return SystemColorsInternal.f;
|
|
@@ -776,13 +808,13 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
776
808
|
}
|
|
777
809
|
return ColorsInternal.c;
|
|
778
810
|
}
|
|
779
|
-
static
|
|
811
|
+
static z(a) {
|
|
780
812
|
if (nullableEquals(a, null)) {
|
|
781
813
|
return -1;
|
|
782
814
|
}
|
|
783
|
-
return XlsxUtilities.
|
|
815
|
+
return XlsxUtilities.y(a.value);
|
|
784
816
|
}
|
|
785
|
-
static
|
|
817
|
+
static y(a) {
|
|
786
818
|
switch (a) {
|
|
787
819
|
case 0: return 0;
|
|
788
820
|
case 1: return 1;
|
|
@@ -792,7 +824,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
792
824
|
default: return 2;
|
|
793
825
|
}
|
|
794
826
|
}
|
|
795
|
-
static
|
|
827
|
+
static aa(a) {
|
|
796
828
|
switch (a) {
|
|
797
829
|
case 2: return 0;
|
|
798
830
|
case 1: return 1;
|
|
@@ -802,13 +834,13 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
802
834
|
default: return 0;
|
|
803
835
|
}
|
|
804
836
|
}
|
|
805
|
-
static
|
|
837
|
+
static ab(a, b) {
|
|
806
838
|
return a._accept$2$i(Workbook.$, WorkbookColorInfo.$, XlsxUtilities_WorkbookColorInfoCreator.a, b);
|
|
807
839
|
}
|
|
808
|
-
static
|
|
840
|
+
static ac(a, b) {
|
|
809
841
|
return a._accept$2$i(Workbook.$, WorkbookColorInfo.$, XlsxUtilities_WorkbookColorInfoCreator.a, b);
|
|
810
842
|
}
|
|
811
|
-
static
|
|
843
|
+
static ad(a) {
|
|
812
844
|
switch (a) {
|
|
813
845
|
case 4: return 4;
|
|
814
846
|
case 5: return 5;
|
|
@@ -829,7 +861,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
829
861
|
default: return 4;
|
|
830
862
|
}
|
|
831
863
|
}
|
|
832
|
-
static
|
|
864
|
+
static bf(a, b) {
|
|
833
865
|
let c = new WorksheetCellAddress(1, a.d, a.c);
|
|
834
866
|
let d = b._gd(a.c, true);
|
|
835
867
|
let e = b._gh(a.d, true, true);
|
|
@@ -838,7 +870,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
838
870
|
let h = { $type: Point_$type, x: d == 0 ? 0 : ((f * 100) / d), y: e == 0 ? 0 : ((g * 100) / e) };
|
|
839
871
|
return Tuple.a(WorksheetCellAddress.$, Point_$type, c, h);
|
|
840
872
|
}
|
|
841
|
-
static
|
|
873
|
+
static ae(a) {
|
|
842
874
|
switch (a) {
|
|
843
875
|
case 0: return 0;
|
|
844
876
|
case 1: return 2;
|
|
@@ -846,7 +878,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
846
878
|
default: return 0;
|
|
847
879
|
}
|
|
848
880
|
}
|
|
849
|
-
static
|
|
881
|
+
static af(a) {
|
|
850
882
|
switch (a) {
|
|
851
883
|
case 1: return 1;
|
|
852
884
|
case 2: return 2;
|
|
@@ -854,7 +886,7 @@ export let XlsxUtilities = /*@__PURE__*/ (() => {
|
|
|
854
886
|
default: return 0;
|
|
855
887
|
}
|
|
856
888
|
}
|
|
857
|
-
static
|
|
889
|
+
static bg(a) {
|
|
858
890
|
let b = EnumUtil.getName(ST_PresetColorVal_$type, a);
|
|
859
891
|
if (stringStartsWith(b, "dk")) {
|
|
860
892
|
b = "dark" + b.substr(2);
|
|
@@ -883,7 +915,7 @@ export let XlsxUtilities_WorkbookColorInfoCreator = /*@__PURE__*/ (() => {
|
|
|
883
915
|
super();
|
|
884
916
|
}
|
|
885
917
|
_visitCT_SchemeColor$i(a, b) {
|
|
886
|
-
let c = new WorkbookColorInfo(XlsxUtilities.
|
|
918
|
+
let c = new WorkbookColorInfo(XlsxUtilities.ad(a.c));
|
|
887
919
|
let d = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, c);
|
|
888
920
|
c = d.p2;
|
|
889
921
|
return c;
|
|
@@ -898,13 +930,13 @@ export let XlsxUtilities_WorkbookColorInfoCreator = /*@__PURE__*/ (() => {
|
|
|
898
930
|
if (a.d == 27 && a.b.count == 0) {
|
|
899
931
|
return WorkbookColorInfo.automatic;
|
|
900
932
|
}
|
|
901
|
-
let c = new WorkbookColorInfo(XlsxUtilities.
|
|
933
|
+
let c = new WorkbookColorInfo(XlsxUtilities.bh(a.d));
|
|
902
934
|
let d = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, c);
|
|
903
935
|
c = d.p2;
|
|
904
936
|
return c;
|
|
905
937
|
}
|
|
906
938
|
_visitCT_PresetColor$i(a, b) {
|
|
907
|
-
let c = XlsxUtilities.
|
|
939
|
+
let c = XlsxUtilities.bg(a.c);
|
|
908
940
|
let d = new WorkbookColorInfo(c);
|
|
909
941
|
let e = XlsxUtilities_WorkbookColorInfoCreator.b(a, b, d);
|
|
910
942
|
d = e.p2;
|
|
@@ -920,7 +952,7 @@ export let XlsxUtilities_WorkbookColorInfoCreator = /*@__PURE__*/ (() => {
|
|
|
920
952
|
return null;
|
|
921
953
|
}
|
|
922
954
|
_visitCT_SolidFillProperties$i(a, b) {
|
|
923
|
-
return XlsxUtilities.
|
|
955
|
+
return XlsxUtilities.ab(a.a, b);
|
|
924
956
|
}
|
|
925
957
|
static b(a, b, c) {
|
|
926
958
|
if (a.b.count == 0) {
|
package/esm2015/public_api.js
CHANGED
|
@@ -685,6 +685,7 @@ export * from './lib/DataValidationRuleCollection';
|
|
|
685
685
|
export * from './lib/DataValidationRuleCollection_CollectionChangeContext';
|
|
686
686
|
export * from './lib/DataValidationCriteria';
|
|
687
687
|
export * from './lib/DataValidationErrorStyle';
|
|
688
|
+
export * from './lib/DataValidationImeMode';
|
|
688
689
|
export * from './lib/OneConstraintDataValidationOperator';
|
|
689
690
|
export * from './lib/TwoConstraintDataValidationOperator';
|
|
690
691
|
export * from './lib/LimitedValueDataValidationRule';
|