igniteui-webcomponents-data-grids 7.0.0 → 7.0.1
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-data-grids.umd.js +9505 -8241
- package/bundles/igniteui-webcomponents-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 +267 -267
- 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/igc-checkbox-list-component.js +89 -89
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +307 -193
- package/esm2015/lib/igc-data-grid-component.js +99 -1
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +77 -20
- package/esm2015/lib/igc-data-grid-pager-component.js +30 -10
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +129 -129
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-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/igc-checkbox-list-component.js +89 -89
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +355 -193
- package/esm5/lib/igc-data-grid-component.js +140 -2
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +101 -20
- package/esm5/lib/igc-data-grid-pager-component.js +38 -10
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +129 -129
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +9402 -8300
- package/fesm5/igniteui-webcomponents-data-grids.js +9507 -8244
- 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/igc-data-grid-column-component.d.ts +54 -0
- package/lib/igc-data-grid-component.d.ts +49 -1
- package/lib/igc-data-grid-filter-dialog-component.d.ts +27 -0
- package/lib/igc-data-grid-pager-component.d.ts +10 -0
- package/lib/igc-text-header-cell-info.d.ts +33 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -736,15 +736,15 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
736
736
|
}
|
|
737
737
|
else {
|
|
738
738
|
let a = new TextColumn();
|
|
739
|
-
a.
|
|
740
|
-
a.
|
|
741
|
-
a.
|
|
739
|
+
a.k7 = 10;
|
|
740
|
+
a.k8 = 5;
|
|
741
|
+
a.mr = "PropertyPath";
|
|
742
742
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
743
743
|
this.l.columns.add(a);
|
|
744
744
|
let b = new TemplateColumn();
|
|
745
|
-
b.
|
|
746
|
-
b.
|
|
747
|
-
b.
|
|
745
|
+
b.mr = "ValueType";
|
|
746
|
+
b.k7 = 5;
|
|
747
|
+
b.k8 = 5;
|
|
748
748
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
749
749
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
750
750
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -824,8 +824,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
824
824
|
let r = this.cc(l);
|
|
825
825
|
if (c.count <= g) {
|
|
826
826
|
let s = new TextColumn();
|
|
827
|
-
s.
|
|
828
|
-
s.
|
|
827
|
+
s.k7 = 10;
|
|
828
|
+
s.k8 = 5;
|
|
829
829
|
s.width = ((() => {
|
|
830
830
|
let $ret = new ColumnWidth();
|
|
831
831
|
$ret.c = false;
|
|
@@ -833,8 +833,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
833
833
|
return $ret;
|
|
834
834
|
})());
|
|
835
835
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
836
|
-
s.
|
|
837
|
-
s.
|
|
836
|
+
s.ni = "PropertyName_" + k;
|
|
837
|
+
s.mr = "PropertyName";
|
|
838
838
|
c.add(s);
|
|
839
839
|
this.au.item(s, c.count - 1);
|
|
840
840
|
g++;
|
|
@@ -871,10 +871,10 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
871
871
|
}
|
|
872
872
|
if (c.count <= g) {
|
|
873
873
|
let v = new TemplateColumn();
|
|
874
|
-
v.
|
|
875
|
-
v.
|
|
876
|
-
v.
|
|
877
|
-
v.
|
|
874
|
+
v.ni = "ValueType_" + k;
|
|
875
|
+
v.mr = "ValueType";
|
|
876
|
+
v.k7 = 5;
|
|
877
|
+
v.k8 = 5;
|
|
878
878
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
879
879
|
v.width = ((() => {
|
|
880
880
|
let $ret = new ColumnWidth();
|
|
@@ -1175,11 +1175,11 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
cz(a, b) {
|
|
1177
1177
|
this.m.q(b, (c, d) => {
|
|
1178
|
-
if (c.
|
|
1179
|
-
c.
|
|
1178
|
+
if (c.s != 3) {
|
|
1179
|
+
c.s = 3;
|
|
1180
1180
|
}
|
|
1181
1181
|
let e = this.s(a, b.cellInfo.fp, b.cellInfo.ig);
|
|
1182
|
-
c.
|
|
1182
|
+
c.ee = e;
|
|
1183
1183
|
let f = e.ar;
|
|
1184
1184
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
1185
1185
|
f = e.ar.toString();
|
|
@@ -1227,7 +1227,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
if (d) {
|
|
1229
1229
|
c.selectedValueChanged = delegateCombine(c.selectedValueChanged, runOn(this, this.cq));
|
|
1230
|
-
c.hw = BrushUtil.
|
|
1230
|
+
c.hw = BrushUtil.l(255, 255, 255, 255);
|
|
1231
1231
|
c.g = ["Name"];
|
|
1232
1232
|
c.columnHeadersVisible = false;
|
|
1233
1233
|
c.defaultColumnWidth = ((() => {
|
|
@@ -1302,7 +1302,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
cm(a, b) {
|
|
1304
1304
|
let c = a;
|
|
1305
|
-
let d = c.
|
|
1305
|
+
let d = c.ee;
|
|
1306
1306
|
this.an = true;
|
|
1307
1307
|
d.a6();
|
|
1308
1308
|
this.an = false;
|
|
@@ -1639,10 +1639,10 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
PropertyEditor.$t = /*@__PURE__*/ markType(PropertyEditor, 'PropertyEditor', Base.$, [INotifyPropertyChanged_$type]);
|
|
1642
|
-
PropertyEditor.eb = /*@__PURE__*/ BrushUtil.
|
|
1642
|
+
PropertyEditor.eb = /*@__PURE__*/ BrushUtil.l(255, 24, 29, 31);
|
|
1643
1643
|
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";
|
|
1644
|
-
PropertyEditor.d9 = /*@__PURE__*/ BrushUtil.
|
|
1645
|
-
PropertyEditor.ea = /*@__PURE__*/ BrushUtil.
|
|
1644
|
+
PropertyEditor.d9 = /*@__PURE__*/ BrushUtil.l(255, 248, 248, 248);
|
|
1645
|
+
PropertyEditor.ea = /*@__PURE__*/ BrushUtil.l(255, 24, 29, 31);
|
|
1646
1646
|
return PropertyEditor;
|
|
1647
1647
|
})();
|
|
1648
1648
|
export { PropertyEditor };
|
|
@@ -8,19 +8,19 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class SectionHeaderCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get dx() {
|
|
12
|
+
return this.dw;
|
|
13
13
|
}
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.dw = null;
|
|
17
|
+
this.dw = a.createElement("span");
|
|
18
18
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
19
19
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
20
20
|
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
21
21
|
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
22
22
|
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
23
|
-
this.ar.append(this.
|
|
23
|
+
this.ar.append(this.dw);
|
|
24
24
|
}
|
|
25
25
|
get_ae() {
|
|
26
26
|
return true;
|
|
@@ -28,14 +28,14 @@ let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
|
28
28
|
ck(a, b, c) {
|
|
29
29
|
super.ck(a, b, c);
|
|
30
30
|
if (a == "Indent") {
|
|
31
|
-
this.
|
|
31
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
32
32
|
}
|
|
33
33
|
if (a == "IsCollapsable") {
|
|
34
34
|
if (this.aa) {
|
|
35
|
-
this.
|
|
35
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
38
|
-
this.
|
|
38
|
+
this.dw.setRawStyleProperty("margin-left", "0px");
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -37,9 +37,9 @@ let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
37
37
|
b.kx = b.og;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
this.d.c8(this.d.
|
|
40
|
+
this.d.c8(this.d.dx, b.kx);
|
|
41
41
|
}
|
|
42
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
42
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -8,53 +8,53 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let SummaryCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class SummaryCell extends GridCellBase {
|
|
11
|
-
get dy() {
|
|
12
|
-
return this.dv;
|
|
13
|
-
}
|
|
14
11
|
get dz() {
|
|
15
12
|
return this.dw;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
get d0() {
|
|
15
|
+
return this.dx;
|
|
16
|
+
}
|
|
17
|
+
dc(a, b) {
|
|
18
|
+
super.dc(a, b);
|
|
19
19
|
let c = Math.max(0, a - b);
|
|
20
|
-
if (this.
|
|
21
|
-
this.
|
|
20
|
+
if (this.d2 != c) {
|
|
21
|
+
this.d2 = c;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
c1(a, b) {
|
|
25
25
|
super.c1(a, b);
|
|
26
26
|
let c = Math.max(0, a - b);
|
|
27
|
-
if (this.
|
|
28
|
-
this.
|
|
27
|
+
if (this.d1 != c) {
|
|
28
|
+
this.d1 = c;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
constructor(a) {
|
|
32
32
|
super(a);
|
|
33
|
-
this.dv = null;
|
|
34
33
|
this.dw = null;
|
|
35
34
|
this.dx = null;
|
|
35
|
+
this.dy = null;
|
|
36
|
+
this.d2 = -1;
|
|
36
37
|
this.d1 = -1;
|
|
37
|
-
this.d0 = -1;
|
|
38
38
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
-
this.
|
|
40
|
-
this.dv = a.createElement("span");
|
|
41
|
-
this.dv.setRawStyleProperty("display", "inline-block");
|
|
42
|
-
this.dv.setRawStyleProperty("width", "40%");
|
|
43
|
-
this.dv.setRawStyleProperty("white-space", "nowrap");
|
|
44
|
-
this.dv.setRawStyleProperty("text-overflow", "ellipsis");
|
|
45
|
-
this.dv.setRawStyleProperty("vertical-align", "middle");
|
|
46
|
-
this.dv.setRawStyleProperty("overflow", "hidden");
|
|
47
|
-
this.dx.append(this.dv);
|
|
39
|
+
this.dy = a.createElement("div");
|
|
48
40
|
this.dw = a.createElement("span");
|
|
49
41
|
this.dw.setRawStyleProperty("display", "inline-block");
|
|
50
|
-
this.dw.setRawStyleProperty("width", "
|
|
51
|
-
this.dw.setRawStyleProperty("text-align", "right");
|
|
42
|
+
this.dw.setRawStyleProperty("width", "40%");
|
|
52
43
|
this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
53
44
|
this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
54
45
|
this.dw.setRawStyleProperty("vertical-align", "middle");
|
|
55
46
|
this.dw.setRawStyleProperty("overflow", "hidden");
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
47
|
+
this.dy.append(this.dw);
|
|
48
|
+
this.dx = a.createElement("span");
|
|
49
|
+
this.dx.setRawStyleProperty("display", "inline-block");
|
|
50
|
+
this.dx.setRawStyleProperty("width", "60%");
|
|
51
|
+
this.dx.setRawStyleProperty("text-align", "right");
|
|
52
|
+
this.dx.setRawStyleProperty("white-space", "nowrap");
|
|
53
|
+
this.dx.setRawStyleProperty("text-overflow", "ellipsis");
|
|
54
|
+
this.dx.setRawStyleProperty("vertical-align", "middle");
|
|
55
|
+
this.dx.setRawStyleProperty("overflow", "hidden");
|
|
56
|
+
this.dy.append(this.dx);
|
|
57
|
+
this.ar.append(this.dy);
|
|
58
58
|
}
|
|
59
59
|
get_ae() {
|
|
60
60
|
return false;
|
|
@@ -62,7 +62,7 @@ let SummaryCell = /*@__PURE__*/ (() => {
|
|
|
62
62
|
ck(a, b, c) {
|
|
63
63
|
super.ck(a, b, c);
|
|
64
64
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
65
|
-
this.
|
|
65
|
+
this.dy.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -20,25 +20,25 @@ let SummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
20
20
|
super.b(a);
|
|
21
21
|
let b = a;
|
|
22
22
|
if (a.a7) {
|
|
23
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dy, this.a);
|
|
24
23
|
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dz, this.a);
|
|
24
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
25
25
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
26
26
|
if (b.n8 != null) {
|
|
27
|
-
this.d.c8(this.d.
|
|
27
|
+
this.d.c8(this.d.dz, b.n8);
|
|
28
28
|
}
|
|
29
29
|
if (b.oa != null) {
|
|
30
|
-
this.d.c8(this.d.
|
|
30
|
+
this.d.c8(this.d.d0, b.oa);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
if (a.bb("SummaryLabelTextColor")) {
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.dz.setRawStyleProperty("color", b.of._fill);
|
|
35
35
|
}
|
|
36
36
|
if (a.bb("SummaryLabelFontInfo")) {
|
|
37
37
|
let c = b.n1;
|
|
38
38
|
if (c == null) {
|
|
39
39
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
40
40
|
}
|
|
41
|
-
this.d.
|
|
41
|
+
this.d.dz.setRawStyleProperty("font", c.fontString);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -10,16 +10,16 @@ import { runOn, markType } from "igniteui-webcomponents-core";
|
|
|
10
10
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
11
11
|
let TemplateCell = /*@__PURE__*/ (() => {
|
|
12
12
|
class TemplateCell extends GridCellBase {
|
|
13
|
-
get
|
|
14
|
-
return this.
|
|
13
|
+
get dx() {
|
|
14
|
+
return this.dw;
|
|
15
15
|
}
|
|
16
16
|
constructor(a) {
|
|
17
17
|
super(a);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.ar.append(this.
|
|
22
|
-
this.ar.listen("keydown", runOn(this, this.
|
|
18
|
+
this.dw = null;
|
|
19
|
+
this.dw = new TemplateCellContainer(a);
|
|
20
|
+
this.dw.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ar.append(this.dw.element);
|
|
22
|
+
this.ar.listen("keydown", runOn(this, this.dy));
|
|
23
23
|
}
|
|
24
24
|
get_ae() {
|
|
25
25
|
return true;
|
|
@@ -27,18 +27,18 @@ let TemplateCell = /*@__PURE__*/ (() => {
|
|
|
27
27
|
ck(a, b, c) {
|
|
28
28
|
super.ck(a, b, c);
|
|
29
29
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
30
|
-
this.
|
|
30
|
+
this.dw.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
b9() {
|
|
34
|
-
let a = this.
|
|
34
|
+
let a = this.dw.element.getNativeElement();
|
|
35
35
|
if (a.contains(document.activeElement)) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
super.b9();
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
let b = this.
|
|
40
|
+
dy(a) {
|
|
41
|
+
let b = this.dw.element.getNativeElement();
|
|
42
42
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
43
43
|
let c = BaseDOMEventProxy.c1(a);
|
|
44
44
|
if (c == 14 || c == 16) {
|
|
@@ -24,9 +24,9 @@ let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
25
25
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
26
26
|
let e = a.cs * (1 - d);
|
|
27
|
-
this.e.
|
|
27
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
28
28
|
}
|
|
29
|
-
c.
|
|
29
|
+
c.qr(a, this.e.dx);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
TemplateCellPresenter.$t = /*@__PURE__*/ markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -17,19 +17,19 @@ let TemplateHeader = /*@__PURE__*/ (() => {
|
|
|
17
17
|
n(a) {
|
|
18
18
|
return new TemplateHeaderCellModel();
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
d4(a, b, c) {
|
|
21
21
|
let d = "template-header-" + a.a5.toString();
|
|
22
22
|
return d;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
super.
|
|
24
|
+
eq(a, b, c, d) {
|
|
25
|
+
super.eq(a, b, c, d);
|
|
26
26
|
let e = a;
|
|
27
27
|
let f = b.cg(a.l);
|
|
28
|
-
e.n2 = f.
|
|
29
|
-
e.n = f.
|
|
30
|
-
e.n5 = f.
|
|
28
|
+
e.n2 = f.l0;
|
|
29
|
+
e.n = f.hu;
|
|
30
|
+
e.n5 = f.jn;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
ht(a, b) {
|
|
33
33
|
if (this.cellUpdating != null) {
|
|
34
34
|
this.cellUpdating(this, ((() => {
|
|
35
35
|
let $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -9,14 +9,14 @@ import { TemplateCellContainer } from "./TemplateCellContainer";
|
|
|
9
9
|
import { markType } from "igniteui-webcomponents-core";
|
|
10
10
|
let TemplateHeaderCell = /*@__PURE__*/ (() => {
|
|
11
11
|
class TemplateHeaderCell extends GridCellBase {
|
|
12
|
-
get
|
|
13
|
-
return this.
|
|
12
|
+
get dx() {
|
|
13
|
+
return this.dw;
|
|
14
14
|
}
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.ar.append(this.
|
|
17
|
+
this.dw = null;
|
|
18
|
+
this.dw = new TemplateCellContainer(a);
|
|
19
|
+
this.ar.append(this.dw.element);
|
|
20
20
|
}
|
|
21
21
|
get_ac() {
|
|
22
22
|
return true;
|
|
@@ -24,10 +24,10 @@ let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
if (a.bc(CellModel.fo) || a.bc(CellModel.h4)) {
|
|
25
25
|
let d = Math.min(1, Math.max(0, a.c7));
|
|
26
26
|
let e = a.cs * (1 - d);
|
|
27
|
-
this.e.
|
|
27
|
+
this.e.dx.element.setRawStyleProperty("opacity", e.toString());
|
|
28
28
|
}
|
|
29
29
|
let f = a;
|
|
30
|
-
c.
|
|
30
|
+
c.ht(f, this.e.dx);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
TemplateHeaderCellPresenter.$t = /*@__PURE__*/ markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
@@ -14,13 +14,13 @@ let TemplateSectionHeader = /*@__PURE__*/ (() => {
|
|
|
14
14
|
super(...arguments);
|
|
15
15
|
this.cellUpdating = null;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
d4(a, b, c) {
|
|
18
18
|
return "templateSectionHeader";
|
|
19
19
|
}
|
|
20
20
|
n(a) {
|
|
21
21
|
return new TemplateSectionHeaderCellModel();
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
hx(a, b) {
|
|
24
24
|
if (this.cellUpdating != null) {
|
|
25
25
|
this.cellUpdating(this, ((() => {
|
|
26
26
|
let $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
package/esm2015/lib/TextCell.js
CHANGED
|
@@ -8,44 +8,44 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let TextCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class TextCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get dx() {
|
|
12
|
+
return this.dw;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
super.
|
|
14
|
+
dc(a, b) {
|
|
15
|
+
super.dc(a, b);
|
|
16
16
|
let c = Math.max(0, a - b - (this.bd + this.bf + this.be));
|
|
17
|
-
if (this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
if (this.dz != c) {
|
|
18
|
+
this.dz = c;
|
|
19
|
+
this.dw.setRawStyleProperty("max-width", c.toString() + "px");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
c1(a, b) {
|
|
23
23
|
super.c1(a, b);
|
|
24
24
|
let c = Math.max(0, a - b);
|
|
25
|
-
if (this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
25
|
+
if (this.dy != c) {
|
|
26
|
+
this.dy = c;
|
|
27
|
+
this.dw.setRawStyleProperty("max-height", c.toString() + "px");
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
constructor(a) {
|
|
31
31
|
super(a);
|
|
32
|
-
this.
|
|
32
|
+
this.dw = null;
|
|
33
|
+
this.dz = -1;
|
|
33
34
|
this.dy = -1;
|
|
34
|
-
this.dx = -1;
|
|
35
35
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
36
36
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.ar.append(this.
|
|
37
|
+
this.dw = a.createElement("span");
|
|
38
|
+
this.dw.setRawStyleProperty("display", "inline-block");
|
|
39
|
+
this.dw.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
this.dw.setRawStyleProperty("white-space", "nowrap");
|
|
41
|
+
this.dw.setRawStyleProperty("text-overflow", "ellipsis");
|
|
42
|
+
this.db(this.dw, 1);
|
|
43
|
+
this.ar.append(this.dw);
|
|
44
44
|
}
|
|
45
45
|
c0(a, b) {
|
|
46
46
|
super.c0(a, b);
|
|
47
|
-
if (a == this.
|
|
48
|
-
this.
|
|
47
|
+
if (a == this.dw) {
|
|
48
|
+
this.dw.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
get_ae() {
|
|
@@ -54,7 +54,7 @@ let TextCell = /*@__PURE__*/ (() => {
|
|
|
54
54
|
ck(a, b, c) {
|
|
55
55
|
super.ck(a, b, c);
|
|
56
56
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
57
|
-
this.
|
|
57
|
+
this.dw.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -22,9 +22,9 @@ let TextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
22
22
|
if (a.a7) {
|
|
23
23
|
if (a.bc(TextCellModel.n0) || a.bc(TextCellModel.h2) || a.bc(TextCellModel.gx)) {
|
|
24
24
|
b.kx = this.e(b);
|
|
25
|
-
this.d.c8(this.d.
|
|
25
|
+
this.d.c8(this.d.dx, b.kx);
|
|
26
26
|
}
|
|
27
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
27
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.dx, this.a);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
e(a) {
|