igniteui-webcomponents-data-grids 7.1.0-alpha.2 → 7.1.0-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-webcomponents-data-grids.umd.js +7623 -7085
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +37 -34
- package/esm2015/lib/CheckboxListView_combined.js +24 -24
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +5293 -5010
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +292 -292
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +167 -150
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +118 -113
- package/esm2015/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +20 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +45 -45
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +4 -4
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +184 -184
- package/esm2015/lib/TextHeaderCellPresenter.js +52 -52
- package/esm2015/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +97 -79
- 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 +291 -261
- package/esm2015/lib/igc-data-grid-component.js +20 -0
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +12 -12
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- 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-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +35 -26
- package/esm2015/lib/igc-numeric-column-component.js +46 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +58 -24
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +38 -38
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +37 -34
- package/esm5/lib/CheckboxListView_combined.js +24 -24
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +5100 -4765
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +164 -143
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +118 -113
- package/esm5/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +20 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +45 -45
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +4 -4
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +182 -182
- package/esm5/lib/TextHeaderCellPresenter.js +52 -52
- package/esm5/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +105 -79
- 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 +303 -261
- package/esm5/lib/igc-data-grid-component.js +28 -0
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +12 -12
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- 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-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +39 -26
- package/esm5/lib/igc-numeric-column-component.js +50 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +74 -24
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +38 -38
- package/fesm2015/igniteui-webcomponents-data-grids.js +7778 -7348
- package/fesm5/igniteui-webcomponents-data-grids.js +7623 -7085
- package/lib/ColumnFilterCondition_combined.d.ts +1341 -1292
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/GridStyleRepositoryKeys.d.ts +28 -27
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +1 -1
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +10 -0
- package/lib/igc-data-grid-column-component.d.ts +15 -0
- package/lib/igc-data-grid-component.d.ts +10 -0
- package/lib/igc-numeric-cell-info.d.ts +5 -0
- package/lib/igc-numeric-column-component.d.ts +6 -0
- package/lib/igc-section-header-component.d.ts +14 -0
- package/package.json +4 -4
|
@@ -119,8 +119,8 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
this.p = false;
|
|
122
|
-
if (b.
|
|
123
|
-
b.
|
|
122
|
+
if (b.g5 != a) {
|
|
123
|
+
b.g5 = a;
|
|
124
124
|
this.p = true;
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -139,9 +139,9 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
139
139
|
this.co();
|
|
140
140
|
let b = this.g.p();
|
|
141
141
|
if (null != b) {
|
|
142
|
-
let c = b.
|
|
142
|
+
let c = b.g5;
|
|
143
143
|
if (null != c) {
|
|
144
|
-
b.
|
|
144
|
+
b.g5 = null;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -607,7 +607,7 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
607
607
|
}
|
|
608
608
|
this.w = true;
|
|
609
609
|
if (stringIsNullOrEmpty(this.au)) {
|
|
610
|
-
if (null != a.
|
|
610
|
+
if (null != a.g5) {
|
|
611
611
|
this.aw(null);
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
@@ -677,7 +677,7 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
677
677
|
}
|
|
678
678
|
let f = this.g;
|
|
679
679
|
let g = this.g.p();
|
|
680
|
-
e = g.
|
|
680
|
+
e = g.no();
|
|
681
681
|
}
|
|
682
682
|
d.d = e;
|
|
683
683
|
d.b = a;
|
|
@@ -804,9 +804,9 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
804
804
|
this.au = null;
|
|
805
805
|
let a = this.g.p();
|
|
806
806
|
if (null != a) {
|
|
807
|
-
let b = a.
|
|
807
|
+
let b = a.g5;
|
|
808
808
|
if (null != b) {
|
|
809
|
-
a.
|
|
809
|
+
a.g5 = null;
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
812
812
|
this.cw();
|
|
@@ -2398,7 +2398,7 @@ let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2398
2398
|
return c._inner[0];
|
|
2399
2399
|
}
|
|
2400
2400
|
for (let d of fromEnum(c)) {
|
|
2401
|
-
if (0 == StringComparer.b.compare(d.
|
|
2401
|
+
if (0 == StringComparer.b.compare(d.nj, a)) {
|
|
2402
2402
|
return d;
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
@@ -10,18 +10,18 @@ let NumericCell = /*@__PURE__*/ (() => {
|
|
|
10
10
|
class NumericCell extends TextCell {
|
|
11
11
|
constructor(a) {
|
|
12
12
|
super(a);
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
13
|
+
this.c3(this.d0, 2);
|
|
14
|
+
this.dc(this.d0, 1);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
super.
|
|
16
|
+
cl(a, b, c) {
|
|
17
|
+
super.cl(a, b, c);
|
|
18
18
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
19
|
-
this.
|
|
19
|
+
this.d0.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
super.
|
|
24
|
-
this.
|
|
22
|
+
b9() {
|
|
23
|
+
super.b9();
|
|
24
|
+
this.di(2, 1);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
NumericCell.$t = /*@__PURE__*/ markType(NumericCell, 'NumericCell', TextCell.$);
|
|
@@ -21,20 +21,20 @@ let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
if (a.a7) {
|
|
24
|
-
if (a.bc(NumericCellModel.
|
|
25
|
-
b.
|
|
26
|
-
this.d.
|
|
24
|
+
if (a.bc(NumericCellModel.o1) || a.bc(NumericCellModel.oo) || a.bc(NumericCellModel.h5) || b.og()) {
|
|
25
|
+
b.k1 = this.e(b);
|
|
26
|
+
this.d.c9(this.d.d0, b.k1);
|
|
27
27
|
}
|
|
28
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
28
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d0, this.a);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
e(a) {
|
|
32
|
-
if (a.
|
|
33
|
-
return a.
|
|
32
|
+
if (a.ly != null) {
|
|
33
|
+
return a.ly;
|
|
34
34
|
}
|
|
35
|
-
if (a.
|
|
36
|
-
let val_ = a.
|
|
37
|
-
let override_ = a.
|
|
35
|
+
if (a.o7 != null) {
|
|
36
|
+
let val_ = a.ok;
|
|
37
|
+
let override_ = a.o7;
|
|
38
38
|
return (override_.format(val_));
|
|
39
39
|
}
|
|
40
40
|
return NumericCellFormatter.c(a);
|
|
@@ -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.lm = 10;
|
|
740
|
+
a.ln = 5;
|
|
741
|
+
a.nj = "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.nj = "ValueType";
|
|
746
|
+
b.lm = 5;
|
|
747
|
+
b.ln = 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.lm = 10;
|
|
828
|
+
s.ln = 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.ob = "PropertyName_" + k;
|
|
837
|
+
s.nj = "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.ob = "ValueType_" + k;
|
|
875
|
+
v.nj = "ValueType";
|
|
876
|
+
v.lm = 5;
|
|
877
|
+
v.ln = 5;
|
|
878
878
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
879
879
|
v.width = ((() => {
|
|
880
880
|
let $ret = new ColumnWidth();
|
|
@@ -1067,7 +1067,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
ct(a, b) {
|
|
1069
1069
|
let c = a;
|
|
1070
|
-
let d = this.s(c, b.cellInfo.fq, b.cellInfo.
|
|
1070
|
+
let d = this.s(c, b.cellInfo.fq, b.cellInfo.ij);
|
|
1071
1071
|
let e = d != null ? d.w : 0;
|
|
1072
1072
|
switch (e) {
|
|
1073
1073
|
case 10:
|
|
@@ -1164,7 +1164,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1164
1164
|
if (c.t != 3) {
|
|
1165
1165
|
c.t = 3;
|
|
1166
1166
|
}
|
|
1167
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1167
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1168
1168
|
let f = c.inputs._inner[0];
|
|
1169
1169
|
f.bh = e;
|
|
1170
1170
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1178,7 +1178,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1178
1178
|
if (c.s != 3) {
|
|
1179
1179
|
c.s = 3;
|
|
1180
1180
|
}
|
|
1181
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1181
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1182
1182
|
c.ee = e;
|
|
1183
1183
|
let f = e.ar;
|
|
1184
1184
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1195,7 +1195,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1195
1195
|
if (c.density != 3) {
|
|
1196
1196
|
c.density = 3;
|
|
1197
1197
|
}
|
|
1198
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1198
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1199
1199
|
if (c.dd != e) {
|
|
1200
1200
|
if (!d) {
|
|
1201
1201
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1459,7 +1459,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1459
1459
|
if (!c.y) {
|
|
1460
1460
|
c.y = true;
|
|
1461
1461
|
}
|
|
1462
|
-
let e = this.s(a, b.cellInfo.fq, b.cellInfo.
|
|
1462
|
+
let e = this.s(a, b.cellInfo.fq, b.cellInfo.ij);
|
|
1463
1463
|
let f = e.ar;
|
|
1464
1464
|
if (f == null) {
|
|
1465
1465
|
f = false;
|
|
@@ -8,46 +8,46 @@ 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 d0() {
|
|
12
|
+
return this.dz;
|
|
13
13
|
}
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
16
|
+
this.dz = null;
|
|
17
|
+
this.dz = a.createElement("span");
|
|
18
|
+
this.dz.setRawStyleProperty("display", "inline-block");
|
|
19
|
+
this.dz.setRawStyleProperty("line-height", "normal");
|
|
20
|
+
this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
+
this.dz.setRawStyleProperty("overflow", "hidden");
|
|
22
|
+
this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
23
|
+
this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
24
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
25
25
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
26
26
|
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
27
27
|
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
28
28
|
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
-
this.ar.append(this.
|
|
29
|
+
this.ar.append(this.dz);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
33
|
-
if (a == this.
|
|
34
|
-
this.
|
|
31
|
+
c1(a, b) {
|
|
32
|
+
super.c1(a, b);
|
|
33
|
+
if (a == this.dz) {
|
|
34
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
get_ae() {
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
super.
|
|
40
|
+
cl(a, b, c) {
|
|
41
|
+
super.cl(a, b, c);
|
|
42
42
|
if (a == "Indent") {
|
|
43
|
-
this.
|
|
43
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
44
44
|
}
|
|
45
45
|
if (a == "IsCollapsable") {
|
|
46
46
|
if (this.aa) {
|
|
47
|
-
this.
|
|
47
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
this.
|
|
50
|
+
this.dz.setRawStyleProperty("margin-left", "0px");
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -20,26 +20,26 @@ let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
20
20
|
super.b(a);
|
|
21
21
|
let b = a;
|
|
22
22
|
if (a.a7) {
|
|
23
|
-
if (a.bc(SectionHeaderCellModel.
|
|
24
|
-
if (b.
|
|
25
|
-
if (b.
|
|
26
|
-
b.
|
|
23
|
+
if (a.bc(SectionHeaderCellModel.of) || a.bc(SectionHeaderCellModel.oh) || a.bc(SectionHeaderCellModel.og) || a.bc(SectionHeaderCellModel.oj)) {
|
|
24
|
+
if (b.ob == null || (b.ob.length == 0 && b.op == null)) {
|
|
25
|
+
if (b.ii == null) {
|
|
26
|
+
b.k1 = "";
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
|
-
b.
|
|
29
|
+
b.k1 = b.ii.toString();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
33
|
+
if (b.on != null && b.oe == 0) {
|
|
34
|
+
b.k1 = b.op + " " + b.on;
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k1 = b.op;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
this.d.
|
|
40
|
+
this.d.c9(this.d.d0, b.k1);
|
|
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.d0, this.a);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -8,70 +8,70 @@ 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
|
|
12
|
-
return this.
|
|
11
|
+
get d2() {
|
|
12
|
+
return this.dz;
|
|
13
13
|
}
|
|
14
|
-
get
|
|
15
|
-
return this.
|
|
14
|
+
get d3() {
|
|
15
|
+
return this.d0;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
super.
|
|
17
|
+
dd(a, b) {
|
|
18
|
+
super.dd(a, b);
|
|
19
19
|
let c = Math.max(0, a - b);
|
|
20
|
-
if (this.
|
|
21
|
-
this.
|
|
20
|
+
if (this.d5 != c) {
|
|
21
|
+
this.d5 = c;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
super.
|
|
24
|
+
c2(a, b) {
|
|
25
|
+
super.c2(a, b);
|
|
26
26
|
let c = Math.max(0, a - b);
|
|
27
|
-
if (this.
|
|
28
|
-
this.
|
|
27
|
+
if (this.d4 != c) {
|
|
28
|
+
this.d4 = c;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
33
|
-
if (a == this.
|
|
34
|
-
this.
|
|
31
|
+
c1(a, b) {
|
|
32
|
+
super.c1(a, b);
|
|
33
|
+
if (a == this.dz) {
|
|
34
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
35
35
|
}
|
|
36
|
-
else if (a == this.
|
|
37
|
-
this.
|
|
36
|
+
else if (a == this.d0) {
|
|
37
|
+
this.d0.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
constructor(a) {
|
|
41
41
|
super(a);
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
42
|
+
this.dz = null;
|
|
43
|
+
this.d0 = null;
|
|
44
|
+
this.d1 = null;
|
|
45
|
+
this.d5 = -1;
|
|
46
|
+
this.d4 = -1;
|
|
47
47
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.ar.append(this.
|
|
48
|
+
this.d1 = a.createElement("div");
|
|
49
|
+
this.dz = a.createElement("span");
|
|
50
|
+
this.dz.setRawStyleProperty("display", "inline-block");
|
|
51
|
+
this.dz.setRawStyleProperty("width", "40%");
|
|
52
|
+
this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
53
|
+
this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
54
|
+
this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
55
|
+
this.dz.setRawStyleProperty("overflow", "hidden");
|
|
56
|
+
this.d1.append(this.dz);
|
|
57
|
+
this.d0 = a.createElement("span");
|
|
58
|
+
this.d0.setRawStyleProperty("display", "inline-block");
|
|
59
|
+
this.d0.setRawStyleProperty("width", "60%");
|
|
60
|
+
this.d0.setRawStyleProperty("text-align", "right");
|
|
61
|
+
this.d0.setRawStyleProperty("white-space", "nowrap");
|
|
62
|
+
this.d0.setRawStyleProperty("text-overflow", "ellipsis");
|
|
63
|
+
this.d0.setRawStyleProperty("vertical-align", "middle");
|
|
64
|
+
this.d0.setRawStyleProperty("overflow", "hidden");
|
|
65
|
+
this.d1.append(this.d0);
|
|
66
|
+
this.ar.append(this.d1);
|
|
67
67
|
}
|
|
68
68
|
get_ae() {
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
super.
|
|
71
|
+
cl(a, b, c) {
|
|
72
|
+
super.cl(a, b, c);
|
|
73
73
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
74
|
-
this.
|
|
74
|
+
this.d1.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -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.
|
|
24
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
23
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
24
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d3, this.a);
|
|
25
25
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
26
|
-
if (b.
|
|
27
|
-
this.d.
|
|
26
|
+
if (b.oh != null) {
|
|
27
|
+
this.d.c9(this.d.d2, b.oh);
|
|
28
28
|
}
|
|
29
|
-
if (b.
|
|
30
|
-
this.d.
|
|
29
|
+
if (b.oj != null) {
|
|
30
|
+
this.d.c9(this.d.d3, b.oj);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
if (a.bb("SummaryLabelTextColor")) {
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.d2.setRawStyleProperty("color", b.oo._fill);
|
|
35
35
|
}
|
|
36
|
-
if (a.bb("SummaryLabelFontInfo")) {
|
|
37
|
-
let c = b.
|
|
36
|
+
if (a.bb("FontInfo") || a.bb("SummaryLabelFontInfo")) {
|
|
37
|
+
let c = b.oa;
|
|
38
38
|
if (c == null) {
|
|
39
39
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
40
40
|
}
|
|
41
|
-
this.d.
|
|
41
|
+
this.d.d2.setRawStyleProperty("font", c.fontString);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -10,35 +10,35 @@ 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 d0() {
|
|
14
|
+
return this.dz;
|
|
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.dz = null;
|
|
19
|
+
this.dz = new TemplateCellContainer(a);
|
|
20
|
+
this.dz.element.setRawStyleProperty("box-sizing", "border-box");
|
|
21
|
+
this.ar.append(this.dz.element);
|
|
22
|
+
this.ar.listen("keydown", runOn(this, this.d1));
|
|
23
23
|
}
|
|
24
24
|
get_ae() {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
super.
|
|
27
|
+
cl(a, b, c) {
|
|
28
|
+
super.cl(a, b, c);
|
|
29
29
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
30
|
-
this.
|
|
30
|
+
this.dz.element.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
let a = this.
|
|
33
|
+
ca() {
|
|
34
|
+
let a = this.dz.element.getNativeElement();
|
|
35
35
|
if (a.contains(document.activeElement)) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
|
-
super.
|
|
38
|
+
super.ca();
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
let b = this.
|
|
40
|
+
d1(a) {
|
|
41
|
+
let b = this.dz.element.getNativeElement();
|
|
42
42
|
if (b.contains(document.activeElement) && document.activeElement.nodeName == "INPUT") {
|
|
43
43
|
let c = BaseDOMEventProxy.c4(a);
|
|
44
44
|
if (c == 14 || c == 16) {
|
|
@@ -21,12 +21,12 @@ let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
let c = this.d.actualColumns._inner[a.l.a5];
|
|
24
|
-
if (a.bc(CellModel.fp) || a.bc(CellModel.
|
|
24
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
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.d0.element.setRawStyleProperty("opacity", e.toString());
|
|
28
28
|
}
|
|
29
|
-
c.
|
|
29
|
+
c.r8(a, this.e.d0);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
TemplateCellPresenter.$t = /*@__PURE__*/ markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -25,11 +25,11 @@ let TemplateHeader = /*@__PURE__*/ (() => {
|
|
|
25
25
|
super.eq(a, b, c, d);
|
|
26
26
|
let e = a;
|
|
27
27
|
let f = b.ci(a.l);
|
|
28
|
-
e.
|
|
29
|
-
e.n = f.
|
|
30
|
-
e.
|
|
28
|
+
e.ob = f.ml;
|
|
29
|
+
e.n = f.hv;
|
|
30
|
+
e.oe = f.jx;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
hu(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 d0() {
|
|
13
|
+
return this.dz;
|
|
14
14
|
}
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.ar.append(this.
|
|
17
|
+
this.dz = null;
|
|
18
|
+
this.dz = new TemplateCellContainer(a);
|
|
19
|
+
this.ar.append(this.dz.element);
|
|
20
20
|
}
|
|
21
21
|
get_ac() {
|
|
22
22
|
return true;
|