igniteui-webcomponents-excel 5.2.1-beta.0 → 5.3.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 +9766 -6903
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AddInFunctionResolver.js +1 -1
- package/esm2015/lib/AlternateContentChoice_combined.js +581 -251
- package/esm2015/lib/BiffRecordStream.js +3 -3
- package/esm2015/lib/BmpPartManager.js +1 -51
- package/esm2015/lib/CT_GraphicalObject_combined.js +5 -5
- package/esm2015/lib/CellShiftOperation_CellCache.js +7 -0
- package/esm2015/lib/ChartPatternFill.js +44 -0
- package/esm2015/lib/ColorInfo.js +5 -5
- package/esm2015/lib/ConditionBaseExtensions.js +5 -0
- package/esm2015/lib/ConditionalFormattingUtils.js +16 -13
- package/esm2015/lib/CustomListSortCondition.js +4 -4
- package/esm2015/lib/DefaultStyleHelper_combined.js +3179 -2695
- package/esm2015/lib/DrawingMLSpreadsheetDrawing.js +1 -1
- package/esm2015/lib/DrawingPartManagerHelpers_combined.js +43 -43
- package/esm2015/lib/DxfInfo.js +1 -1
- package/esm2015/lib/EmfPartManager.js +1 -43
- package/esm2015/lib/ExcelDocumentManager.js +36 -36
- package/esm2015/lib/GifPartManager.js +1 -43
- package/esm2015/lib/LegacyShapeData.js +1 -1
- package/esm2015/lib/MetadataPartManager.js +45 -0
- package/esm2015/lib/MultipleCellValueInfo.js +5 -5
- package/esm2015/lib/ObjectModelMetadataPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdArrayPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValuePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueStructurePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueTypesPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueWebImagePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdSupportingPropertyBagPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRichStylesPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRichValueRelPartManager.js +7 -0
- package/esm2015/lib/OrderedSortCondition.js +2 -2
- package/esm2015/lib/PatternType.js +237 -0
- package/esm2015/lib/PngPartManager.js +1 -43
- package/esm2015/lib/RdArrayPartManager.js +43 -0
- package/esm2015/lib/RdRichValuePartManager.js +44 -0
- package/esm2015/lib/RdRichValueStructurePartManager.js +44 -0
- package/esm2015/lib/RdRichValueTypesPartManager.js +44 -0
- package/esm2015/lib/RdRichValueWebImagePartManager.js +44 -0
- package/esm2015/lib/RdSupportingPropertyBagPartManager.js +45 -0
- package/esm2015/lib/RdSupportingPropertyBagStructurePartManager.js +45 -0
- package/esm2015/lib/RichStylesPartManager.js +43 -0
- package/esm2015/lib/RichValueRelPartManager.js +44 -0
- package/esm2015/lib/RoundTripControlData.js +9 -7
- package/esm2015/lib/RoundTripPartData.js +4 -2
- package/esm2015/lib/SerializationNumberFormatInfo.js +2 -2
- package/esm2015/lib/SpreadsheetML2009Main_combined.js +1149 -849
- package/esm2015/lib/TiffPartManager.js +1 -43
- package/esm2015/lib/UltraCalcConditionalFunctionBase_combined.js +1 -1
- package/esm2015/lib/UltraCalcFunctionCell.js +7 -7
- package/esm2015/lib/UltraCalcFunctionColumn.js +1 -1
- package/esm2015/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm2015/lib/UltraCalcFunctionRow.js +1 -1
- package/esm2015/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm2015/lib/WeakWorkbookOwner.js +4 -0
- package/esm2015/lib/WmfPartManager.js +1 -43
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +2733 -2037
- package/esm2015/lib/WorkbookMetadataCellBlock.js +33 -0
- package/esm2015/lib/WorkbookMetadataItem.js +25 -0
- package/esm2015/lib/WorkbookMetadataRecord.js +23 -0
- package/esm2015/lib/WorkbookMetadataType.js +75 -0
- package/esm2015/lib/WorkbookSaveManagerExcel2003_SaveTokenVisitor.js +1 -1
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +110 -110
- package/esm2015/public_api.js +28 -1
- package/esm5/lib/AddInFunctionResolver.js +1 -1
- package/esm5/lib/AlternateContentChoice_combined.js +691 -251
- package/esm5/lib/BiffRecordStream.js +3 -3
- package/esm5/lib/BmpPartManager.js +1 -69
- package/esm5/lib/CT_GraphicalObject_combined.js +5 -5
- package/esm5/lib/CellShiftOperation_CellCache.js +7 -0
- package/esm5/lib/ChartPatternFill.js +58 -0
- package/esm5/lib/ColorInfo.js +5 -5
- package/esm5/lib/ConditionBaseExtensions.js +5 -0
- package/esm5/lib/ConditionalFormattingUtils.js +19 -13
- package/esm5/lib/CustomListSortCondition.js +4 -4
- package/esm5/lib/DefaultStyleHelper_combined.js +3276 -2760
- package/esm5/lib/DrawingMLSpreadsheetDrawing.js +1 -1
- package/esm5/lib/DrawingPartManagerHelpers_combined.js +43 -43
- package/esm5/lib/DxfInfo.js +1 -1
- package/esm5/lib/EmfPartManager.js +1 -60
- package/esm5/lib/ExcelDocumentManager.js +36 -36
- package/esm5/lib/GifPartManager.js +1 -60
- package/esm5/lib/LegacyShapeData.js +1 -1
- package/esm5/lib/MetadataPartManager.js +57 -0
- package/esm5/lib/MultipleCellValueInfo.js +5 -5
- package/esm5/lib/ObjectModelMetadataPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdArrayPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValuePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueStructurePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueTypesPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueWebImagePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdSupportingPropertyBagPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.js +7 -0
- package/esm5/lib/ObjectModelRichStylesPartManager.js +7 -0
- package/esm5/lib/ObjectModelRichValueRelPartManager.js +7 -0
- package/esm5/lib/OrderedSortCondition.js +2 -2
- package/esm5/lib/PatternType.js +237 -0
- package/esm5/lib/PngPartManager.js +1 -60
- package/esm5/lib/RdArrayPartManager.js +55 -0
- package/esm5/lib/RdRichValuePartManager.js +56 -0
- package/esm5/lib/RdRichValueStructurePartManager.js +56 -0
- package/esm5/lib/RdRichValueTypesPartManager.js +56 -0
- package/esm5/lib/RdRichValueWebImagePartManager.js +56 -0
- package/esm5/lib/RdSupportingPropertyBagPartManager.js +57 -0
- package/esm5/lib/RdSupportingPropertyBagStructurePartManager.js +57 -0
- package/esm5/lib/RichStylesPartManager.js +55 -0
- package/esm5/lib/RichValueRelPartManager.js +56 -0
- package/esm5/lib/RoundTripControlData.js +9 -7
- package/esm5/lib/RoundTripPartData.js +4 -2
- package/esm5/lib/SerializationNumberFormatInfo.js +2 -2
- package/esm5/lib/SpreadsheetML2009Main_combined.js +1523 -1096
- package/esm5/lib/TiffPartManager.js +1 -60
- package/esm5/lib/UltraCalcConditionalFunctionBase_combined.js +1 -1
- package/esm5/lib/UltraCalcFunctionCell.js +7 -7
- package/esm5/lib/UltraCalcFunctionColumn.js +1 -1
- package/esm5/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm5/lib/UltraCalcFunctionRow.js +1 -1
- package/esm5/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm5/lib/WeakWorkbookOwner.js +8 -0
- package/esm5/lib/WmfPartManager.js +1 -60
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +2789 -2043
- package/esm5/lib/WorkbookMetadataCellBlock.js +39 -0
- package/esm5/lib/WorkbookMetadataItem.js +27 -0
- package/esm5/lib/WorkbookMetadataRecord.js +25 -0
- package/esm5/lib/WorkbookMetadataType.js +77 -0
- package/esm5/lib/WorkbookSaveManagerExcel2003_SaveTokenVisitor.js +1 -1
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +110 -110
- package/esm5/public_api.js +28 -1
- package/fesm2015/igniteui-webcomponents-excel.js +8980 -6479
- package/fesm5/igniteui-webcomponents-excel.js +9740 -6905
- package/lib/AlternateContentChoice_combined.d.ts +174 -66
- package/lib/BmpPartManager.d.ts +1 -22
- package/lib/CellShiftOperation_CellCache.d.ts +1 -0
- package/lib/ChartPatternFill.d.ts +26 -0
- package/lib/ConditionalFormattingUtils.d.ts +1 -1
- package/lib/DefaultStyleHelper_combined.d.ts +736 -566
- package/lib/EmfPartManager.d.ts +1 -20
- package/lib/ExcelDocumentManager.d.ts +12 -12
- package/lib/GifPartManager.d.ts +1 -20
- package/lib/MetadataPartManager.d.ts +19 -0
- package/lib/ObjectModelMetadataPartManager.d.ts +1 -0
- package/lib/ObjectModelRdArrayPartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValuePartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueStructurePartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueTypesPartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueWebImagePartManager.d.ts +1 -0
- package/lib/ObjectModelRdSupportingPropertyBagPartManager.d.ts +1 -0
- package/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.d.ts +1 -0
- package/lib/ObjectModelRichStylesPartManager.d.ts +1 -0
- package/lib/ObjectModelRichValueRelPartManager.d.ts +1 -0
- package/lib/PatternType.d.ts +230 -0
- package/lib/PngPartManager.d.ts +1 -20
- package/lib/RdArrayPartManager.d.ts +17 -0
- package/lib/RdRichValuePartManager.d.ts +18 -0
- package/lib/RdRichValueStructurePartManager.d.ts +18 -0
- package/lib/RdRichValueTypesPartManager.d.ts +18 -0
- package/lib/RdRichValueWebImagePartManager.d.ts +18 -0
- package/lib/RdSupportingPropertyBagPartManager.d.ts +19 -0
- package/lib/RdSupportingPropertyBagStructurePartManager.d.ts +19 -0
- package/lib/RichStylesPartManager.d.ts +17 -0
- package/lib/RichValueRelPartManager.d.ts +18 -0
- package/lib/RoundTripControlData.d.ts +6 -4
- package/lib/RoundTripPartData.d.ts +6 -2
- package/lib/SpreadsheetML2009Main_combined.d.ts +591 -533
- package/lib/TiffPartManager.d.ts +1 -20
- package/lib/WeakWorkbookOwner.d.ts +1 -0
- package/lib/WmfPartManager.d.ts +1 -20
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +480 -319
- package/lib/WorkbookMetadataCellBlock.d.ts +13 -0
- package/lib/WorkbookMetadataItem.d.ts +12 -0
- package/lib/WorkbookMetadataRecord.d.ts +11 -0
- package/lib/WorkbookMetadataType.d.ts +36 -0
- package/package.json +2 -2
- package/public_api.d.ts +28 -1
|
@@ -949,7 +949,7 @@ var BiffRecordStream = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
949
949
|
}
|
|
950
950
|
g = this._readInt32();
|
|
951
951
|
}
|
|
952
|
-
var h = c ? Workbook.
|
|
952
|
+
var h = c ? Workbook._g5 : Encoding.unicode;
|
|
953
953
|
var i = a;
|
|
954
954
|
if (c == false) {
|
|
955
955
|
i *= 2;
|
|
@@ -1111,7 +1111,7 @@ var BiffRecordStream = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1111
1111
|
if (f) {
|
|
1112
1112
|
i = ((function () { var j = _this._readInt32FromBuffer(b, c); b = j.p0; c = j.p1; return j.ret; })());
|
|
1113
1113
|
}
|
|
1114
|
-
var j = e ? Workbook.
|
|
1114
|
+
var j = e ? Workbook._g5 : Encoding.unicode;
|
|
1115
1115
|
var k = a;
|
|
1116
1116
|
if (e == false) {
|
|
1117
1117
|
k *= 2;
|
|
@@ -1322,7 +1322,7 @@ var BiffRecordStream = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1322
1322
|
if (n) {
|
|
1323
1323
|
this._write17(i);
|
|
1324
1324
|
}
|
|
1325
|
-
var u = s ? Workbook.
|
|
1325
|
+
var u = s ? Workbook._g5 : Encoding.unicode;
|
|
1326
1326
|
this._write2(u.getBytes1(r));
|
|
1327
1327
|
var v = b + r.length;
|
|
1328
1328
|
if (v < a._y.length) {
|
|
@@ -4,72 +4,4 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
import { ImagePartManagerBase } from "./ImagePartManagerBase";
|
|
9
|
-
import { ImageFormat } from "./ImageFormat";
|
|
10
|
-
import { IOPath } from "igniteui-webcomponents-core";
|
|
11
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
var BmpPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
16
|
-
__extends(BmpPartManager, _super);
|
|
17
|
-
function BmpPartManager(a) {
|
|
18
|
-
var _this = _super.call(this) || this;
|
|
19
|
-
_this.aa = false;
|
|
20
|
-
_this.aa = a;
|
|
21
|
-
return _this;
|
|
22
|
-
}
|
|
23
|
-
BmpPartManager.prototype.get_s = function () {
|
|
24
|
-
return this.aa ? "/xl/media/image.dib" : "/xl/media/image.bmp";
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(BmpPartManager.prototype, "s", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return this.get_s();
|
|
29
|
-
},
|
|
30
|
-
enumerable: false,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
BmpPartManager.prototype.get_t = function () {
|
|
34
|
-
return this.aa ? "/ppt/media/image.dib" : "/ppt/media/image.bmp";
|
|
35
|
-
};
|
|
36
|
-
Object.defineProperty(BmpPartManager.prototype, "t", {
|
|
37
|
-
get: function () {
|
|
38
|
-
return this.get_t();
|
|
39
|
-
},
|
|
40
|
-
enumerable: false,
|
|
41
|
-
configurable: true
|
|
42
|
-
});
|
|
43
|
-
BmpPartManager.prototype.get_u = function () {
|
|
44
|
-
return this.aa ? "/word/media/image.dib" : "/word/media/image.bmp";
|
|
45
|
-
};
|
|
46
|
-
Object.defineProperty(BmpPartManager.prototype, "u", {
|
|
47
|
-
get: function () {
|
|
48
|
-
return this.get_u();
|
|
49
|
-
},
|
|
50
|
-
enumerable: false,
|
|
51
|
-
configurable: true
|
|
52
|
-
});
|
|
53
|
-
BmpPartManager.prototype.get_m = function () {
|
|
54
|
-
return "image/bmp";
|
|
55
|
-
};
|
|
56
|
-
Object.defineProperty(BmpPartManager.prototype, "m", {
|
|
57
|
-
get: function () {
|
|
58
|
-
return this.get_m();
|
|
59
|
-
},
|
|
60
|
-
enumerable: false,
|
|
61
|
-
configurable: true
|
|
62
|
-
});
|
|
63
|
-
BmpPartManager.prototype.r = function (a) {
|
|
64
|
-
var b = IOPath.getExtension(a);
|
|
65
|
-
if (b.toLowerCase() == ".dib") {
|
|
66
|
-
return ImageFormat.b;
|
|
67
|
-
}
|
|
68
|
-
return ImageFormat.a;
|
|
69
|
-
};
|
|
70
|
-
BmpPartManager.$t = markType(BmpPartManager, 'BmpPartManager', ImagePartManagerBase.$);
|
|
71
|
-
BmpPartManager.y = new BmpPartManager(false);
|
|
72
|
-
BmpPartManager.z = new BmpPartManager(true);
|
|
73
|
-
return BmpPartManager;
|
|
74
|
-
}(ImagePartManagerBase));
|
|
75
|
-
export { BmpPartManager };
|
|
7
|
+
export { BmpPartManager } from "./AlternateContentChoice_combined";
|
|
@@ -89,7 +89,7 @@ var CT_Connector = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
89
89
|
return a._visitCT_Connector$i(this, b);
|
|
90
90
|
};
|
|
91
91
|
CT_Connector.prototype.getStrictElementName = function (a) {
|
|
92
|
-
return a.
|
|
92
|
+
return a._v.aw;
|
|
93
93
|
};
|
|
94
94
|
CT_Connector.$t = markType(CT_Connector, 'CT_Connector', Base.$, [IGraphicalObjectContent_$type, ICT_ShapePropertiesOwner_$type, ICT_ShapeStyleOwner_$type]);
|
|
95
95
|
return CT_Connector;
|
|
@@ -148,7 +148,7 @@ var CT_GraphicalObjectFrame = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
148
148
|
return a._visitCT_GraphicalObjectFrame$i(this, b);
|
|
149
149
|
};
|
|
150
150
|
CT_GraphicalObjectFrame.prototype.getStrictElementName = function (a) {
|
|
151
|
-
return a.
|
|
151
|
+
return a._v.a4;
|
|
152
152
|
};
|
|
153
153
|
CT_GraphicalObjectFrame.$t = markType(CT_GraphicalObjectFrame, 'CT_GraphicalObjectFrame', Base.$, [IGraphicalObjectContent_$type]);
|
|
154
154
|
return CT_GraphicalObjectFrame;
|
|
@@ -177,7 +177,7 @@ var CT_GroupShape = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
177
177
|
return a._visitCT_GroupShape$i(this, b);
|
|
178
178
|
};
|
|
179
179
|
CT_GroupShape.prototype.getStrictElementName = function (a) {
|
|
180
|
-
return a.
|
|
180
|
+
return a._v.a5;
|
|
181
181
|
};
|
|
182
182
|
CT_GroupShape.prototype.addShape = function (a, b) {
|
|
183
183
|
this.d.add(b);
|
|
@@ -214,7 +214,7 @@ var CT_Picture = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
214
214
|
return a._visitCT_Picture$i(this, b);
|
|
215
215
|
};
|
|
216
216
|
CT_Picture.prototype.getStrictElementName = function (a) {
|
|
217
|
-
return a.
|
|
217
|
+
return a._v.bt;
|
|
218
218
|
};
|
|
219
219
|
CT_Picture.$t = markType(CT_Picture, 'CT_Picture', Base.$, [IGraphicalObjectContent_$type, ICT_ShapePropertiesOwner_$type]);
|
|
220
220
|
return CT_Picture;
|
|
@@ -261,7 +261,7 @@ var CT_Shape = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
261
261
|
return a._visitCT_Shape$i(this, b);
|
|
262
262
|
};
|
|
263
263
|
CT_Shape.prototype.getStrictElementName = function (a) {
|
|
264
|
-
return a.
|
|
264
|
+
return a._v.bx;
|
|
265
265
|
};
|
|
266
266
|
CT_Shape.$t = markType(CT_Shape, 'CT_Shape', Base.$, [IGraphicalObjectContent_$type, ICT_ShapePropertiesOwner_$type, ICT_ShapeStyleOwner_$type]);
|
|
267
267
|
return CT_Shape;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
export { CellShiftOperation_CellCache } from "./DefaultStyleHelper_combined";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
|
+
import { ChartFillBase } from "./ChartFillBase";
|
|
9
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
10
|
+
/**
|
|
11
|
+
* Represents a pattern color fill for a chart element.
|
|
12
|
+
*/
|
|
13
|
+
var ChartPatternFill = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
14
|
+
__extends(ChartPatternFill, _super);
|
|
15
|
+
function ChartPatternFill(backgroundColor, foregroundColor, pattern) {
|
|
16
|
+
var _this = _super.call(this, null) || this;
|
|
17
|
+
_this._y = null;
|
|
18
|
+
_this._z = null;
|
|
19
|
+
_this._w = 0;
|
|
20
|
+
_this._y = backgroundColor;
|
|
21
|
+
_this._z = foregroundColor;
|
|
22
|
+
_this._w = pattern;
|
|
23
|
+
return _this;
|
|
24
|
+
}
|
|
25
|
+
Object.defineProperty(ChartPatternFill.prototype, "backgroundColor", {
|
|
26
|
+
/**
|
|
27
|
+
* Returns the color which is applied to the background of the fill.
|
|
28
|
+
*/
|
|
29
|
+
get: function () {
|
|
30
|
+
return this._y;
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(ChartPatternFill.prototype, "foregroundColor", {
|
|
36
|
+
/**
|
|
37
|
+
* Returns the color which is applied to the foreground of the fill.
|
|
38
|
+
*/
|
|
39
|
+
get: function () {
|
|
40
|
+
return this._z;
|
|
41
|
+
},
|
|
42
|
+
enumerable: false,
|
|
43
|
+
configurable: true
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(ChartPatternFill.prototype, "pattern", {
|
|
46
|
+
/**
|
|
47
|
+
* Returns the pattern style of the fill.
|
|
48
|
+
*/
|
|
49
|
+
get: function () {
|
|
50
|
+
return this._w;
|
|
51
|
+
},
|
|
52
|
+
enumerable: false,
|
|
53
|
+
configurable: true
|
|
54
|
+
});
|
|
55
|
+
ChartPatternFill.$t = markType(ChartPatternFill, 'ChartPatternFill', ChartFillBase.$);
|
|
56
|
+
return ChartPatternFill;
|
|
57
|
+
}(ChartFillBase));
|
|
58
|
+
export { ChartPatternFill };
|
package/esm5/lib/ColorInfo.js
CHANGED
|
@@ -12,7 +12,7 @@ import { Color } from "igniteui-webcomponents-core";
|
|
|
12
12
|
import { WorkbookThemeColorType_$type } from "./WorkbookThemeColorType";
|
|
13
13
|
import { ExcelUtils } from "./ExcelUtils";
|
|
14
14
|
import { nullableEquals, unwrapNullable, nullableNotEquals, nullableLessThan } from "igniteui-webcomponents-core";
|
|
15
|
-
import { intSToU,
|
|
15
|
+
import { intSToU, u32BitwiseOr } from "igniteui-webcomponents-core";
|
|
16
16
|
/**
|
|
17
17
|
* @hidden
|
|
18
18
|
*/
|
|
@@ -90,10 +90,10 @@ var ColorInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
90
|
return new WorkbookColorInfo(toNullable(Color.$, a._b._palette$i._af(this.j.value)), toNullable(WorkbookThemeColorType_$type, null), b, true, false);
|
|
91
91
|
}
|
|
92
92
|
if (nullableNotEquals(this.k, null)) {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
return null;
|
|
93
|
+
var c = this.k.value;
|
|
94
|
+
var d = ST_UnsignedIntHex.h(c);
|
|
95
|
+
d = u32BitwiseOr(d, 4278190080);
|
|
96
|
+
return new WorkbookColorInfo(toNullable(Color.$, ExcelUtils.g1(d)), toNullable(WorkbookThemeColorType_$type, null), b, true, true);
|
|
97
97
|
}
|
|
98
98
|
return null;
|
|
99
99
|
};
|
|
@@ -8,6 +8,7 @@ import { __extends } from "tslib";
|
|
|
8
8
|
import { Base, typeCast, markType } from "igniteui-webcomponents-core";
|
|
9
9
|
import { DataBarConditionalFormat } from "./DataBarConditionalFormat";
|
|
10
10
|
import { IconSetConditionalFormat } from "./IconSetConditionalFormat";
|
|
11
|
+
import { TextOperatorConditionalFormat } from "./TextOperatorConditionalFormat";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -25,6 +26,10 @@ var ConditionBaseExtensions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25
26
|
if (c != null && c.isCustom) {
|
|
26
27
|
return 1;
|
|
27
28
|
}
|
|
29
|
+
var d = a.conditionType == 8 ? typeCast(TextOperatorConditionalFormat.$, a) : null;
|
|
30
|
+
if (d != null && d.textFormula != null) {
|
|
31
|
+
return 1;
|
|
32
|
+
}
|
|
28
33
|
return a._z ? 1 : 0;
|
|
29
34
|
};
|
|
30
35
|
ConditionBaseExtensions.b = function (a) {
|
|
@@ -70,32 +70,38 @@ var ConditionalFormattingUtils = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
70
70
|
}
|
|
71
71
|
return c;
|
|
72
72
|
};
|
|
73
|
-
ConditionalFormattingUtils.f = function (a) {
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
ConditionalFormattingUtils.f = function (a, b) {
|
|
74
|
+
if (b === void 0) {
|
|
75
|
+
b = null;
|
|
76
|
+
}
|
|
77
|
+
var c = a._s().p(true, true, 2, 1);
|
|
78
|
+
if (stringIsNullOrEmpty(c)) {
|
|
76
79
|
return null;
|
|
77
80
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
var d = null;
|
|
82
|
+
var e = a.text != null ? stringFormat("\"{0}\"", a.text) : stringEmpty();
|
|
83
|
+
if (!stringIsNullOrEmpty(b)) {
|
|
84
|
+
e = b;
|
|
85
|
+
}
|
|
86
|
+
var f = a.textOperator;
|
|
87
|
+
switch (f) {
|
|
82
88
|
case 2:
|
|
83
|
-
|
|
89
|
+
d = stringFormat("NOT(ISERROR(SEARCH({0},{1})))", e, c);
|
|
84
90
|
break;
|
|
85
91
|
case 3:
|
|
86
|
-
|
|
92
|
+
d = stringFormat("ISERROR(SEARCH({0},{1}))", e, c);
|
|
87
93
|
break;
|
|
88
94
|
case 0:
|
|
89
|
-
|
|
95
|
+
d = stringFormat("LEFT({1},LEN({0}))={0}", e, c);
|
|
90
96
|
break;
|
|
91
97
|
case 1:
|
|
92
|
-
|
|
98
|
+
d = stringFormat("RIGHT({1},LEN({0}))={0}", e, c);
|
|
93
99
|
break;
|
|
94
100
|
default:
|
|
95
|
-
|
|
101
|
+
d = null;
|
|
96
102
|
break;
|
|
97
103
|
}
|
|
98
|
-
return
|
|
104
|
+
return d;
|
|
99
105
|
};
|
|
100
106
|
ConditionalFormattingUtils.e = function (a) {
|
|
101
107
|
var b = a._s().p(true, true, 2, 1);
|
|
@@ -113,8 +113,8 @@ var CustomListSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
113
113
|
var f = a.c;
|
|
114
114
|
var g = f._rows$i._aj(b);
|
|
115
115
|
var h = b == c ? g : f._rows$i._aj(c);
|
|
116
|
-
var i = WorksheetRow.
|
|
117
|
-
var j = WorksheetRow.
|
|
116
|
+
var i = WorksheetRow._da(g, d);
|
|
117
|
+
var j = WorksheetRow._da(h, e);
|
|
118
118
|
if (i == null) {
|
|
119
119
|
if (j == null) {
|
|
120
120
|
return 0;
|
|
@@ -146,8 +146,8 @@ var CustomListSortCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
146
146
|
m.b = 1;
|
|
147
147
|
}
|
|
148
148
|
var n = a.b;
|
|
149
|
-
var o = g.
|
|
150
|
-
var p = h.
|
|
149
|
+
var o = g._az(l).j;
|
|
150
|
+
var p = h._az(m).j;
|
|
151
151
|
var q = this._k(f, o, n.caseSensitive);
|
|
152
152
|
var r = this._k(f, p, n.caseSensitive);
|
|
153
153
|
if (q == -1) {
|