igniteui-angular-data-grids 21.0.0 → 21.0.1-beta.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-angular-data-grids.umd.js +9371 -8077
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +266 -266
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igx-checkbox-list-component.js +69 -69
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +265 -139
- package/esm2015/lib/igx-data-grid-component.js +110 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
- package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +89 -89
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igx-checkbox-list-component.js +69 -69
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +313 -139
- package/esm5/lib/igx-data-grid-component.js +151 -3
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
- package/esm5/lib/igx-data-grid-pager-component.js +40 -10
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +89 -89
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
- package/fesm5/igniteui-angular-data-grids.js +9373 -8080
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igx-data-grid-column-component.d.ts +55 -1
- package/lib/igx-data-grid-component.d.ts +51 -2
- package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
- package/lib/igx-data-grid-pager-component.d.ts +11 -1
- package/lib/igx-text-header-cell-info.d.ts +34 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -836,15 +836,15 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
836
836
|
}
|
|
837
837
|
else {
|
|
838
838
|
var a = new TextColumn();
|
|
839
|
-
a.
|
|
840
|
-
a.
|
|
841
|
-
a.
|
|
839
|
+
a.k7 = 10;
|
|
840
|
+
a.k8 = 5;
|
|
841
|
+
a.mr = "PropertyPath";
|
|
842
842
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
843
843
|
this.l.columns.add(a);
|
|
844
844
|
var b = new TemplateColumn();
|
|
845
|
-
b.
|
|
846
|
-
b.
|
|
847
|
-
b.
|
|
845
|
+
b.mr = "ValueType";
|
|
846
|
+
b.k7 = 5;
|
|
847
|
+
b.k8 = 5;
|
|
848
848
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
849
849
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
850
850
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -924,8 +924,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
924
924
|
var r = this_1.cc(l);
|
|
925
925
|
if (c.count <= g) {
|
|
926
926
|
var s = new TextColumn();
|
|
927
|
-
s.
|
|
928
|
-
s.
|
|
927
|
+
s.k7 = 10;
|
|
928
|
+
s.k8 = 5;
|
|
929
929
|
s.width = ((function () {
|
|
930
930
|
var $ret = new ColumnWidth();
|
|
931
931
|
$ret.c = false;
|
|
@@ -933,8 +933,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
933
933
|
return $ret;
|
|
934
934
|
})());
|
|
935
935
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this_1, this_1.dp));
|
|
936
|
-
s.
|
|
937
|
-
s.
|
|
936
|
+
s.ni = "PropertyName_" + k;
|
|
937
|
+
s.mr = "PropertyName";
|
|
938
938
|
c.add(s);
|
|
939
939
|
this_1.au.item(s, c.count - 1);
|
|
940
940
|
g++;
|
|
@@ -971,10 +971,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
971
971
|
}
|
|
972
972
|
if (c.count <= g) {
|
|
973
973
|
var v = new TemplateColumn();
|
|
974
|
-
v.
|
|
975
|
-
v.
|
|
976
|
-
v.
|
|
977
|
-
v.
|
|
974
|
+
v.ni = "ValueType_" + k;
|
|
975
|
+
v.mr = "ValueType";
|
|
976
|
+
v.k7 = 5;
|
|
977
|
+
v.k8 = 5;
|
|
978
978
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this_1, this_1.cu));
|
|
979
979
|
v.width = ((function () {
|
|
980
980
|
var $ret = new ColumnWidth();
|
|
@@ -1300,11 +1300,11 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1300
1300
|
PropertyEditor.prototype.cz = function (a, b) {
|
|
1301
1301
|
var _this = this;
|
|
1302
1302
|
this.m.q(b, function (c, d) {
|
|
1303
|
-
if (c.
|
|
1304
|
-
c.
|
|
1303
|
+
if (c.s != 3) {
|
|
1304
|
+
c.s = 3;
|
|
1305
1305
|
}
|
|
1306
1306
|
var e = _this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1307
|
-
c.
|
|
1307
|
+
c.ee = e;
|
|
1308
1308
|
var f = e.ar;
|
|
1309
1309
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
1310
1310
|
f = e.ar.toString();
|
|
@@ -1353,7 +1353,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
if (d) {
|
|
1355
1355
|
c.selectedValueChanged = delegateCombine(c.selectedValueChanged, runOn(_this, _this.cq));
|
|
1356
|
-
c.hw = BrushUtil.
|
|
1356
|
+
c.hw = BrushUtil.l(255, 255, 255, 255);
|
|
1357
1357
|
c.g = ["Name"];
|
|
1358
1358
|
c.columnHeadersVisible = false;
|
|
1359
1359
|
c.defaultColumnWidth = ((function () {
|
|
@@ -1434,7 +1434,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
PropertyEditor.prototype.cm = function (a, b) {
|
|
1436
1436
|
var c = a;
|
|
1437
|
-
var d = c.
|
|
1437
|
+
var d = c.ee;
|
|
1438
1438
|
this.an = true;
|
|
1439
1439
|
d.a6();
|
|
1440
1440
|
this.an = false;
|
|
@@ -1812,10 +1812,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
};
|
|
1814
1814
|
PropertyEditor.$t = markType(PropertyEditor, 'PropertyEditor', Base.$, [INotifyPropertyChanged_$type]);
|
|
1815
|
-
PropertyEditor.eb = BrushUtil.
|
|
1815
|
+
PropertyEditor.eb = BrushUtil.l(255, 24, 29, 31);
|
|
1816
1816
|
PropertyEditor.cj = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
|
|
1817
|
-
PropertyEditor.d9 = BrushUtil.
|
|
1818
|
-
PropertyEditor.ea = BrushUtil.
|
|
1817
|
+
PropertyEditor.d9 = BrushUtil.l(255, 248, 248, 248);
|
|
1818
|
+
PropertyEditor.ea = BrushUtil.l(255, 24, 29, 31);
|
|
1819
1819
|
return PropertyEditor;
|
|
1820
1820
|
}(Base));
|
|
1821
1821
|
export { PropertyEditor };
|
|
@@ -14,19 +14,19 @@ var SectionHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(SectionHeaderCell, _super);
|
|
15
15
|
function SectionHeaderCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.dw = null;
|
|
18
|
+
_this.dw = a.createElement("span");
|
|
19
19
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
20
20
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
21
21
|
_this.ar.setRawStyleProperty("overflow", "hidden");
|
|
22
22
|
_this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
23
23
|
_this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
|
-
_this.ar.append(_this.
|
|
24
|
+
_this.ar.append(_this.dw);
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
27
|
-
Object.defineProperty(SectionHeaderCell.prototype, "
|
|
27
|
+
Object.defineProperty(SectionHeaderCell.prototype, "dx", {
|
|
28
28
|
get: function () {
|
|
29
|
-
return this.
|
|
29
|
+
return this.dw;
|
|
30
30
|
},
|
|
31
31
|
enumerable: false,
|
|
32
32
|
configurable: true
|
|
@@ -37,14 +37,14 @@ var SectionHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
37
37
|
SectionHeaderCell.prototype.ck = function (a, b, c) {
|
|
38
38
|
_super.prototype.ck.call(this, a, b, c);
|
|
39
39
|
if (a == "Indent") {
|
|
40
|
-
this.
|
|
40
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
41
41
|
}
|
|
42
42
|
if (a == "IsCollapsable") {
|
|
43
43
|
if (this.aa) {
|
|
44
|
-
this.
|
|
44
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
-
this.
|
|
47
|
+
this.dw.setRawStyleProperty("margin-left", "0px");
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
@@ -45,9 +45,9 @@ var SectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
45
45
|
b.kx = b.og;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.c8(this.d.
|
|
48
|
+
this.d.c8(this.d.dx, b.kx);
|
|
49
49
|
}
|
|
50
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
50
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
SectionHeaderCellPresenter.$t = markType(SectionHeaderCellPresenter, 'SectionHeaderCellPresenter', CellPresenterBase.$);
|
package/esm5/lib/SummaryCell.js
CHANGED
|
@@ -14,59 +14,59 @@ var SummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(SummaryCell, _super);
|
|
15
15
|
function SummaryCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.dv = null;
|
|
18
17
|
_this.dw = null;
|
|
19
18
|
_this.dx = null;
|
|
19
|
+
_this.dy = null;
|
|
20
|
+
_this.d2 = -1;
|
|
20
21
|
_this.d1 = -1;
|
|
21
|
-
_this.d0 = -1;
|
|
22
22
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
23
|
-
_this.
|
|
24
|
-
_this.dv = a.createElement("span");
|
|
25
|
-
_this.dv.setRawStyleProperty("display", "inline-block");
|
|
26
|
-
_this.dv.setRawStyleProperty("width", "40%");
|
|
27
|
-
_this.dv.setRawStyleProperty("white-space", "nowrap");
|
|
28
|
-
_this.dv.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
-
_this.dv.setRawStyleProperty("vertical-align", "middle");
|
|
30
|
-
_this.dv.setRawStyleProperty("overflow", "hidden");
|
|
31
|
-
_this.dx.append(_this.dv);
|
|
23
|
+
_this.dy = a.createElement("div");
|
|
32
24
|
_this.dw = a.createElement("span");
|
|
33
25
|
_this.dw.setRawStyleProperty("display", "inline-block");
|
|
34
|
-
_this.dw.setRawStyleProperty("width", "
|
|
35
|
-
_this.dw.setRawStyleProperty("text-align", "right");
|
|
26
|
+
_this.dw.setRawStyleProperty("width", "40%");
|
|
36
27
|
_this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
37
28
|
_this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
38
29
|
_this.dw.setRawStyleProperty("vertical-align", "middle");
|
|
39
30
|
_this.dw.setRawStyleProperty("overflow", "hidden");
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
31
|
+
_this.dy.append(_this.dw);
|
|
32
|
+
_this.dx = a.createElement("span");
|
|
33
|
+
_this.dx.setRawStyleProperty("display", "inline-block");
|
|
34
|
+
_this.dx.setRawStyleProperty("width", "60%");
|
|
35
|
+
_this.dx.setRawStyleProperty("text-align", "right");
|
|
36
|
+
_this.dx.setRawStyleProperty("white-space", "nowrap");
|
|
37
|
+
_this.dx.setRawStyleProperty("text-overflow", "ellipsis");
|
|
38
|
+
_this.dx.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.dx.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.dy.append(_this.dx);
|
|
41
|
+
_this.ar.append(_this.dy);
|
|
42
42
|
return _this;
|
|
43
43
|
}
|
|
44
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
44
|
+
Object.defineProperty(SummaryCell.prototype, "dz", {
|
|
45
45
|
get: function () {
|
|
46
|
-
return this.
|
|
46
|
+
return this.dw;
|
|
47
47
|
},
|
|
48
48
|
enumerable: false,
|
|
49
49
|
configurable: true
|
|
50
50
|
});
|
|
51
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
51
|
+
Object.defineProperty(SummaryCell.prototype, "d0", {
|
|
52
52
|
get: function () {
|
|
53
|
-
return this.
|
|
53
|
+
return this.dx;
|
|
54
54
|
},
|
|
55
55
|
enumerable: false,
|
|
56
56
|
configurable: true
|
|
57
57
|
});
|
|
58
|
-
SummaryCell.prototype.
|
|
59
|
-
_super.prototype.
|
|
58
|
+
SummaryCell.prototype.dc = function (a, b) {
|
|
59
|
+
_super.prototype.dc.call(this, a, b);
|
|
60
60
|
var c = Math.max(0, a - b);
|
|
61
|
-
if (this.
|
|
62
|
-
this.
|
|
61
|
+
if (this.d2 != c) {
|
|
62
|
+
this.d2 = c;
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
SummaryCell.prototype.c1 = function (a, b) {
|
|
66
66
|
_super.prototype.c1.call(this, a, b);
|
|
67
67
|
var c = Math.max(0, a - b);
|
|
68
|
-
if (this.
|
|
69
|
-
this.
|
|
68
|
+
if (this.d1 != c) {
|
|
69
|
+
this.d1 = c;
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
SummaryCell.prototype.get_ae = function () {
|
|
@@ -75,7 +75,7 @@ var SummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
75
75
|
SummaryCell.prototype.ck = function (a, b, c) {
|
|
76
76
|
_super.prototype.ck.call(this, a, b, c);
|
|
77
77
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
78
|
-
this.
|
|
78
|
+
this.dy.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
SummaryCell.$t = markType(SummaryCell, 'SummaryCell', GridCellBase.$);
|
|
@@ -28,25 +28,25 @@ var SummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dy, this.a);
|
|
32
31
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dz, this.a);
|
|
32
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
33
33
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
34
34
|
if (b.n8 != null) {
|
|
35
|
-
this.d.c8(this.d.
|
|
35
|
+
this.d.c8(this.d.dz, b.n8);
|
|
36
36
|
}
|
|
37
37
|
if (b.oa != null) {
|
|
38
|
-
this.d.c8(this.d.
|
|
38
|
+
this.d.c8(this.d.d0, b.oa);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
if (a.bb("SummaryLabelTextColor")) {
|
|
42
|
-
this.d.
|
|
42
|
+
this.d.dz.setRawStyleProperty("color", b.of._fill);
|
|
43
43
|
}
|
|
44
44
|
if (a.bb("SummaryLabelFontInfo")) {
|
|
45
45
|
var c = b.n1;
|
|
46
46
|
if (c == null) {
|
|
47
47
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
48
48
|
}
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.dz.setRawStyleProperty("font", c.fontString);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|
package/esm5/lib/TemplateCell.js
CHANGED
|
@@ -16,16 +16,16 @@ var TemplateCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
__extends(TemplateCell, _super);
|
|
17
17
|
function TemplateCell(a) {
|
|
18
18
|
var _this = _super.call(this, a) || this;
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.ar.append(_this.
|
|
23
|
-
_this.ar.listen("keydown", runOn(_this, _this.
|
|
19
|
+
_this.dw = null;
|
|
20
|
+
_this.dw = new TemplateCellContainer(a);
|
|
21
|
+
_this.dw.element.setRawStyleProperty("box-sizing", "border-box");
|
|
22
|
+
_this.ar.append(_this.dw.element);
|
|
23
|
+
_this.ar.listen("keydown", runOn(_this, _this.dy));
|
|
24
24
|
return _this;
|
|
25
25
|
}
|
|
26
|
-
Object.defineProperty(TemplateCell.prototype, "
|
|
26
|
+
Object.defineProperty(TemplateCell.prototype, "dx", {
|
|
27
27
|
get: function () {
|
|
28
|
-
return this.
|
|
28
|
+
return this.dw;
|
|
29
29
|
},
|
|
30
30
|
enumerable: false,
|
|
31
31
|
configurable: true
|
|
@@ -36,18 +36,18 @@ var TemplateCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36
36
|
TemplateCell.prototype.ck = function (a, b, c) {
|
|
37
37
|
_super.prototype.ck.call(this, a, b, c);
|
|
38
38
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
39
|
-
this.
|
|
39
|
+
this.dw.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
TemplateCell.prototype.b9 = function () {
|
|
43
|
-
var a = this.
|
|
43
|
+
var a = this.dw.element.getNativeElement();
|
|
44
44
|
if (a.contains(document.activeElement)) {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
_super.prototype.b9.call(this);
|
|
48
48
|
};
|
|
49
|
-
TemplateCell.prototype.
|
|
50
|
-
var b = this.
|
|
49
|
+
TemplateCell.prototype.dy = function (a) {
|
|
50
|
+
var b = this.dw.element.getNativeElement();
|
|
51
51
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
52
52
|
var c = BaseDOMEventProxy.c1(a);
|
|
53
53
|
if (c == 14 || c == 16) {
|
|
@@ -33,9 +33,9 @@ var TemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
33
33
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
|
-
this.e.
|
|
36
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.qr(a, this.e.dx);
|
|
39
39
|
};
|
|
40
40
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
41
41
|
return TemplateCellPresenter;
|
|
@@ -22,19 +22,19 @@ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
22
22
|
TemplateHeader.prototype.n = function (a) {
|
|
23
23
|
return new TemplateHeaderCellModel();
|
|
24
24
|
};
|
|
25
|
-
TemplateHeader.prototype.
|
|
25
|
+
TemplateHeader.prototype.d4 = function (a, b, c) {
|
|
26
26
|
var d = "template-header-" + a.a5.toString();
|
|
27
27
|
return d;
|
|
28
28
|
};
|
|
29
|
-
TemplateHeader.prototype.
|
|
30
|
-
_super.prototype.
|
|
29
|
+
TemplateHeader.prototype.eq = function (a, b, c, d) {
|
|
30
|
+
_super.prototype.eq.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
32
|
var f = b.cg(a.l);
|
|
33
|
-
e.n2 = f.
|
|
34
|
-
e.n = f.
|
|
35
|
-
e.n5 = f.
|
|
33
|
+
e.n2 = f.l0;
|
|
34
|
+
e.n = f.hu;
|
|
35
|
+
e.n5 = f.jn;
|
|
36
36
|
};
|
|
37
|
-
TemplateHeader.prototype.
|
|
37
|
+
TemplateHeader.prototype.ht = function (a, b) {
|
|
38
38
|
if (this.cellUpdating != null) {
|
|
39
39
|
this.cellUpdating(this, ((function () {
|
|
40
40
|
var $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -15,14 +15,14 @@ var TemplateHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
__extends(TemplateHeaderCell, _super);
|
|
16
16
|
function TemplateHeaderCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
20
|
-
_this.ar.append(_this.
|
|
18
|
+
_this.dw = null;
|
|
19
|
+
_this.dw = new TemplateCellContainer(a);
|
|
20
|
+
_this.ar.append(_this.dw.element);
|
|
21
21
|
return _this;
|
|
22
22
|
}
|
|
23
|
-
Object.defineProperty(TemplateHeaderCell.prototype, "
|
|
23
|
+
Object.defineProperty(TemplateHeaderCell.prototype, "dx", {
|
|
24
24
|
get: function () {
|
|
25
|
-
return this.
|
|
25
|
+
return this.dw;
|
|
26
26
|
},
|
|
27
27
|
enumerable: false,
|
|
28
28
|
configurable: true
|
|
@@ -33,10 +33,10 @@ var TemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
33
33
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.c7));
|
|
35
35
|
var e = a.cs * (1 - d);
|
|
36
|
-
this.e.
|
|
36
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
38
|
var f = a;
|
|
39
|
-
c.
|
|
39
|
+
c.ht(f, this.e.dx);
|
|
40
40
|
};
|
|
41
41
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
42
42
|
return TemplateHeaderCellPresenter;
|
|
@@ -19,13 +19,13 @@ var TemplateSectionHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
19
19
|
_this.cellUpdating = null;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
TemplateSectionHeader.prototype.
|
|
22
|
+
TemplateSectionHeader.prototype.d4 = function (a, b, c) {
|
|
23
23
|
return "templateSectionHeader";
|
|
24
24
|
};
|
|
25
25
|
TemplateSectionHeader.prototype.n = function (a) {
|
|
26
26
|
return new TemplateSectionHeaderCellModel();
|
|
27
27
|
};
|
|
28
|
-
TemplateSectionHeader.prototype.
|
|
28
|
+
TemplateSectionHeader.prototype.hx = function (a, b) {
|
|
29
29
|
if (this.cellUpdating != null) {
|
|
30
30
|
this.cellUpdating(this, ((function () {
|
|
31
31
|
var $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm5/lib/TextCell.js
CHANGED
|
@@ -14,47 +14,47 @@ var TextCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(TextCell, _super);
|
|
15
15
|
function TextCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
17
|
+
_this.dw = null;
|
|
18
|
+
_this.dz = -1;
|
|
18
19
|
_this.dy = -1;
|
|
19
|
-
_this.dx = -1;
|
|
20
20
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
21
21
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.ar.append(_this.
|
|
22
|
+
_this.dw = a.createElement("span");
|
|
23
|
+
_this.dw.setRawStyleProperty("display", "inline-block");
|
|
24
|
+
_this.dw.setRawStyleProperty("overflow", "hidden");
|
|
25
|
+
_this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
26
|
+
_this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
27
|
+
_this.db(_this.dw, 1);
|
|
28
|
+
_this.ar.append(_this.dw);
|
|
29
29
|
return _this;
|
|
30
30
|
}
|
|
31
|
-
Object.defineProperty(TextCell.prototype, "
|
|
31
|
+
Object.defineProperty(TextCell.prototype, "dx", {
|
|
32
32
|
get: function () {
|
|
33
|
-
return this.
|
|
33
|
+
return this.dw;
|
|
34
34
|
},
|
|
35
35
|
enumerable: false,
|
|
36
36
|
configurable: true
|
|
37
37
|
});
|
|
38
|
-
TextCell.prototype.
|
|
39
|
-
_super.prototype.
|
|
38
|
+
TextCell.prototype.dc = function (a, b) {
|
|
39
|
+
_super.prototype.dc.call(this, a, b);
|
|
40
40
|
var c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
41
|
-
if (this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
41
|
+
if (this.dz != c) {
|
|
42
|
+
this.dz = c;
|
|
43
|
+
this.dw.setRawStyleProperty("max-width", c.toString() + "px");
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
TextCell.prototype.c1 = function (a, b) {
|
|
47
47
|
_super.prototype.c1.call(this, a, b);
|
|
48
48
|
var c = Math.max(0, a - b);
|
|
49
|
-
if (this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
49
|
+
if (this.dy != c) {
|
|
50
|
+
this.dy = c;
|
|
51
|
+
this.dw.setRawStyleProperty("max-height", c.toString() + "px");
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
TextCell.prototype.c0 = function (a, b) {
|
|
55
55
|
_super.prototype.c0.call(this, a, b);
|
|
56
|
-
if (a == this.
|
|
57
|
-
this.
|
|
56
|
+
if (a == this.dw) {
|
|
57
|
+
this.dw.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
TextCell.prototype.get_ae = function () {
|
|
@@ -63,7 +63,7 @@ var TextCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
63
63
|
TextCell.prototype.ck = function (a, b, c) {
|
|
64
64
|
_super.prototype.ck.call(this, a, b, c);
|
|
65
65
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
66
|
-
this.
|
|
66
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
TextCell.$t = markType(TextCell, 'TextCell', GridCellBase.$);
|
|
@@ -30,9 +30,9 @@ var TextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
30
30
|
if (a.a7) {
|
|
31
31
|
if (a.bc(TextCellModel.n0) || a.bc(TextCellModel.h2) || a.bc(TextCellModel.gx)) {
|
|
32
32
|
b.kx = this.e(b);
|
|
33
|
-
this.d.c8(this.d.
|
|
33
|
+
this.d.c8(this.d.dx, b.kx);
|
|
34
34
|
}
|
|
35
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
35
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
TextCellPresenter.prototype.e = function (a) {
|