igniteui-webcomponents-data-grids 6.0.0 → 6.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 +3976 -3602
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2445 -2387
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- 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/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igc-cell-info.js +58 -49
- package/esm2015/lib/igc-checkbox-list-component.js +75 -72
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +164 -135
- package/esm2015/lib/igc-data-grid-sort-indicator-component.js +22 -15
- 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-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-format-cell-event-args.js +85 -0
- 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 +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- 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 +10 -10
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- 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/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igc-cell-info.js +62 -49
- package/esm5/lib/igc-checkbox-list-component.js +79 -72
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +169 -135
- package/esm5/lib/igc-data-grid-sort-indicator-component.js +26 -15
- 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-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-format-cell-event-args.js +115 -0
- 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 +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- 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 +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +4045 -3735
- package/fesm5/igniteui-webcomponents-data-grids.js +3976 -3604
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igc-cell-info.d.ts +5 -0
- package/lib/igc-checkbox-list-component.d.ts +1 -0
- package/lib/igc-data-grid-column-component.d.ts +8 -0
- package/lib/igc-data-grid-sort-indicator-component.d.ts +2 -0
- package/lib/igc-format-cell-event-args.d.ts +42 -0
- package/package.json +4 -5
- package/public_api.d.ts +2 -0
|
@@ -75,8 +75,8 @@ export let SummaryChooserView = /*@__PURE__*/ (() => {
|
|
|
75
75
|
this.e();
|
|
76
76
|
}
|
|
77
77
|
e() {
|
|
78
|
-
if (this.model.f.
|
|
79
|
-
let a = this.model.r.count * this.model.f.
|
|
78
|
+
if (this.model.f.bf > -1) {
|
|
79
|
+
let a = this.model.r.count * this.model.f.bf;
|
|
80
80
|
a += 4;
|
|
81
81
|
this.d.setStyleProperty("height", a + "px");
|
|
82
82
|
}
|
|
@@ -322,12 +322,12 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
322
322
|
a6() {
|
|
323
323
|
if (this.e != null) {
|
|
324
324
|
this.e.density = this.m;
|
|
325
|
-
this.e.
|
|
325
|
+
this.e.fe = this.ba;
|
|
326
326
|
this.e.baseTheme = this.i;
|
|
327
327
|
this.e.backgroundColor = this.a9;
|
|
328
328
|
this.e.showSelectAll = false;
|
|
329
|
-
this.e.
|
|
330
|
-
this.e.
|
|
329
|
+
this.e.a6 = false;
|
|
330
|
+
this.e.a2 = false;
|
|
331
331
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
332
332
|
this.e.itemsSource = this.q;
|
|
333
333
|
this.e.dataMemberPath = "label";
|
|
@@ -381,7 +381,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
381
381
|
if (d.iD == a) {
|
|
382
382
|
d.isSelected = b;
|
|
383
383
|
if (this.e != null) {
|
|
384
|
-
this.e.
|
|
384
|
+
this.e.dl(c, d, d);
|
|
385
385
|
}
|
|
386
386
|
break;
|
|
387
387
|
}
|
|
@@ -393,7 +393,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
393
393
|
c.label = b;
|
|
394
394
|
this.q.add(c);
|
|
395
395
|
if (this.e != null) {
|
|
396
|
-
this.e.
|
|
396
|
+
this.e.di(this.q.count - 1, c);
|
|
397
397
|
}
|
|
398
398
|
this.c.onItemInserted();
|
|
399
399
|
}
|
|
@@ -403,7 +403,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
403
403
|
if (c.iD == a) {
|
|
404
404
|
this.q.removeAt(b);
|
|
405
405
|
if (this.e != null) {
|
|
406
|
-
this.e.
|
|
406
|
+
this.e.dk(b, c);
|
|
407
407
|
}
|
|
408
408
|
break;
|
|
409
409
|
}
|
|
@@ -416,7 +416,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
416
416
|
if (d.iD == a) {
|
|
417
417
|
d.label = b;
|
|
418
418
|
if (this.e != null) {
|
|
419
|
-
this.e.
|
|
419
|
+
this.e.dl(c, d, d);
|
|
420
420
|
}
|
|
421
421
|
break;
|
|
422
422
|
}
|
|
@@ -24,23 +24,23 @@ export let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let c = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let d = a.cj * (1 - c);
|
|
30
30
|
this.d.co = d;
|
|
31
31
|
}
|
|
32
|
-
if (b.a8(ImageCellModel.
|
|
33
|
-
this.e(b.
|
|
32
|
+
if (b.a8(ImageCellModel.mn) || b.a8(ImageCellModel.mo)) {
|
|
33
|
+
this.e(b.mr, b.mk);
|
|
34
34
|
}
|
|
35
|
-
if (b.a8(ImageCellModel.
|
|
36
|
-
this.f(b.
|
|
35
|
+
if (b.a8(ImageCellModel.mp) || b.a8(ImageCellModel.fw) || b.a8(ImageCellModel.hc)) {
|
|
36
|
+
this.f(b.mm, b.g, b.i);
|
|
37
37
|
}
|
|
38
38
|
if (b.a8(ImageCellModel.g6)) {
|
|
39
39
|
if (a.u == 1) {
|
|
40
40
|
this.d.ct();
|
|
41
41
|
}
|
|
42
42
|
else if (a.u == 2) {
|
|
43
|
-
this.e(b.
|
|
43
|
+
this.e(b.mr, b.mk);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -680,7 +680,7 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
680
680
|
}
|
|
681
681
|
let f = this.g;
|
|
682
682
|
let g = this.g.p();
|
|
683
|
-
e = g.
|
|
683
|
+
e = g.lu();
|
|
684
684
|
}
|
|
685
685
|
d.d = e;
|
|
686
686
|
d.b = a;
|
|
@@ -2403,7 +2403,7 @@ export let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2403
2403
|
return c._inner[0];
|
|
2404
2404
|
}
|
|
2405
2405
|
for (let d of fromEnum(c)) {
|
|
2406
|
-
if (0 == StringComparer.b.compare(d.
|
|
2406
|
+
if (0 == StringComparer.b.compare(d.lp, a)) {
|
|
2407
2407
|
return d;
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
@@ -24,17 +24,20 @@ export let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(NumericCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.cl.setRawText(b.
|
|
27
|
+
if (a.a8(NumericCellModel.m8) || a.a8(NumericCellModel.mw) || a.a8(NumericCellModel.hb) || b.mp()) {
|
|
28
|
+
b.j3 = this.e(b);
|
|
29
|
+
this.d.cl.setRawText(b.j3);
|
|
30
30
|
}
|
|
31
31
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cl, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
if (a.ki != null) {
|
|
36
|
+
return a.ki;
|
|
37
|
+
}
|
|
38
|
+
if (a.ne != null) {
|
|
39
|
+
let val_ = a.ms;
|
|
40
|
+
let override_ = a.ne;
|
|
38
41
|
return (override_.format(val_));
|
|
39
42
|
}
|
|
40
43
|
return NumericCellFormatter.c(a);
|
|
@@ -741,15 +741,15 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
let a = new TextColumn();
|
|
744
|
-
a.
|
|
745
|
-
a.
|
|
746
|
-
a.
|
|
744
|
+
a.kl = 10;
|
|
745
|
+
a.km = 5;
|
|
746
|
+
a.lp = "PropertyPath";
|
|
747
747
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
748
748
|
this.l.columns.add(a);
|
|
749
749
|
let b = new TemplateColumn();
|
|
750
|
-
b.
|
|
751
|
-
b.kk = 5;
|
|
750
|
+
b.lp = "ValueType";
|
|
752
751
|
b.kl = 5;
|
|
752
|
+
b.km = 5;
|
|
753
753
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
754
754
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
755
755
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -829,8 +829,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
829
829
|
let r = this.cc(l);
|
|
830
830
|
if (c.count <= g) {
|
|
831
831
|
let s = new TextColumn();
|
|
832
|
-
s.
|
|
833
|
-
s.
|
|
832
|
+
s.kl = 10;
|
|
833
|
+
s.km = 5;
|
|
834
834
|
s.width = ((() => {
|
|
835
835
|
let $ret = new ColumnWidth();
|
|
836
836
|
$ret.c = false;
|
|
@@ -838,8 +838,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
838
838
|
return $ret;
|
|
839
839
|
})());
|
|
840
840
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
841
|
-
s.
|
|
842
|
-
s.
|
|
841
|
+
s.mg = "PropertyName_" + k;
|
|
842
|
+
s.lp = "PropertyName";
|
|
843
843
|
c.add(s);
|
|
844
844
|
this.au.item(s, c.count - 1);
|
|
845
845
|
g++;
|
|
@@ -876,10 +876,10 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
876
876
|
}
|
|
877
877
|
if (c.count <= g) {
|
|
878
878
|
let v = new TemplateColumn();
|
|
879
|
-
v.
|
|
880
|
-
v.
|
|
881
|
-
v.kk = 5;
|
|
879
|
+
v.mg = "ValueType_" + k;
|
|
880
|
+
v.lp = "ValueType";
|
|
882
881
|
v.kl = 5;
|
|
882
|
+
v.km = 5;
|
|
883
883
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
884
884
|
v.width = ((() => {
|
|
885
885
|
let $ret = new ColumnWidth();
|
|
@@ -1072,7 +1072,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
ct(a, b) {
|
|
1074
1074
|
let c = a;
|
|
1075
|
-
let d = this.s(c, b.cellInfo.fb, b.cellInfo.
|
|
1075
|
+
let d = this.s(c, b.cellInfo.fb, b.cellInfo.ho);
|
|
1076
1076
|
let e = d != null ? d.w : 0;
|
|
1077
1077
|
switch (e) {
|
|
1078
1078
|
case 10:
|
|
@@ -1169,7 +1169,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1169
1169
|
if (c.t != 3) {
|
|
1170
1170
|
c.t = 3;
|
|
1171
1171
|
}
|
|
1172
|
-
let e = this.s(a, b.cellInfo.fb, b.cellInfo.
|
|
1172
|
+
let e = this.s(a, b.cellInfo.fb, b.cellInfo.ho);
|
|
1173
1173
|
let f = c.inputs._inner[0];
|
|
1174
1174
|
f.bh = e;
|
|
1175
1175
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1183,7 +1183,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1183
1183
|
if (c.r != 3) {
|
|
1184
1184
|
c.r = 3;
|
|
1185
1185
|
}
|
|
1186
|
-
let e = this.s(a, b.cellInfo.fb, b.cellInfo.
|
|
1186
|
+
let e = this.s(a, b.cellInfo.fb, b.cellInfo.ho);
|
|
1187
1187
|
c.ed = e;
|
|
1188
1188
|
let f = e.ar;
|
|
1189
1189
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1200,7 +1200,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1200
1200
|
if (c.density != 3) {
|
|
1201
1201
|
c.density = 3;
|
|
1202
1202
|
}
|
|
1203
|
-
let e = this.s(a, b.cellInfo.fb, b.cellInfo.
|
|
1203
|
+
let e = this.s(a, b.cellInfo.fb, b.cellInfo.ho);
|
|
1204
1204
|
if (c.dd != e) {
|
|
1205
1205
|
if (!d) {
|
|
1206
1206
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1464,7 +1464,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1464
1464
|
if (!c.y) {
|
|
1465
1465
|
c.y = true;
|
|
1466
1466
|
}
|
|
1467
|
-
let e = this.s(a, b.cellInfo.fb, b.cellInfo.
|
|
1467
|
+
let e = this.s(a, b.cellInfo.fb, b.cellInfo.ho);
|
|
1468
1468
|
let f = e.ar;
|
|
1469
1469
|
if (f == null) {
|
|
1470
1470
|
f = false;
|
|
@@ -23,24 +23,24 @@ export let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a3) {
|
|
26
|
-
if (a.a8(SectionHeaderCellModel.
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
b.
|
|
26
|
+
if (a.a8(SectionHeaderCellModel.mp) || a.a8(SectionHeaderCellModel.mr) || a.a8(SectionHeaderCellModel.mq) || a.a8(SectionHeaderCellModel.mt)) {
|
|
27
|
+
if (b.ml == null || (b.ml.length == 0 && b.mz == null)) {
|
|
28
|
+
if (b.hn == null) {
|
|
29
|
+
b.j3 = "";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
b.
|
|
32
|
+
b.j3 = b.hn.toString();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
if (b.
|
|
37
|
-
b.
|
|
36
|
+
if (b.mx != null && b.mo == 0) {
|
|
37
|
+
b.j3 = b.mz + " " + b.mx;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
b.
|
|
40
|
+
b.j3 = b.mz;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.cl.setRawText(b.
|
|
43
|
+
this.d.cl.setRawText(b.j3);
|
|
44
44
|
}
|
|
45
45
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cl, this.a);
|
|
46
46
|
}
|
|
@@ -26,18 +26,18 @@ export let SummaryCellPresenter = /*@__PURE__*/ (() => {
|
|
|
26
26
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cn, this.a);
|
|
27
27
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.co, this.a);
|
|
28
28
|
if (a.a7("ResolvedSummaryLabel") || a.a7("ResolvedSummaryValue")) {
|
|
29
|
-
if (b.
|
|
30
|
-
this.d.cn.setRawText(b.
|
|
29
|
+
if (b.mr != null) {
|
|
30
|
+
this.d.cn.setRawText(b.mr);
|
|
31
31
|
}
|
|
32
|
-
if (b.
|
|
33
|
-
this.d.co.setRawText(b.
|
|
32
|
+
if (b.mt != null) {
|
|
33
|
+
this.d.co.setRawText(b.mt);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (a.a7("SummaryLabelTextColor")) {
|
|
37
|
-
this.d.cn.setRawStyleProperty("color", b.
|
|
37
|
+
this.d.cn.setRawStyleProperty("color", b.my._fill);
|
|
38
38
|
}
|
|
39
39
|
if (a.a7("SummaryLabelFontInfo")) {
|
|
40
|
-
let c = b.
|
|
40
|
+
let c = b.mk;
|
|
41
41
|
if (c == null) {
|
|
42
42
|
c = FontUtil.getDefaultFont(this.a.ae);
|
|
43
43
|
}
|
|
@@ -24,12 +24,12 @@ export let TemplateCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
let c = this.d.actualColumns._inner[a.l.a5];
|
|
27
|
-
if (a.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let e = a.cj * (1 - d);
|
|
30
30
|
this.e.cl.element.setRawStyleProperty("opacity", e.toString());
|
|
31
31
|
}
|
|
32
|
-
c.
|
|
32
|
+
c.n6(a, this.e.cl);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
TemplateCellPresenter.$t = /*@__PURE__*/ markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
@@ -15,35 +15,35 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TemplateHeaderCellModel extends TemplateCellModel {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
|
-
this.
|
|
18
|
+
this.mn = false;
|
|
19
19
|
}
|
|
20
|
-
get
|
|
21
|
-
return this.
|
|
20
|
+
get mo() {
|
|
21
|
+
return this.mn;
|
|
22
22
|
}
|
|
23
|
-
set
|
|
24
|
-
let b = this.
|
|
25
|
-
this.
|
|
26
|
-
if (this.
|
|
27
|
-
this.
|
|
23
|
+
set mo(a) {
|
|
24
|
+
let b = this.mn;
|
|
25
|
+
this.mn = a;
|
|
26
|
+
if (this.mn != b) {
|
|
27
|
+
this.k4("IsFilterUIVisible", TemplateHeaderCellModel.mp, b, this.mn);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
super.
|
|
30
|
+
ld(a, b) {
|
|
31
|
+
super.ld(a, b);
|
|
32
32
|
if (a == "IsFilterUIVisible") {
|
|
33
|
-
this.
|
|
33
|
+
this.mo = b;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
kp(a) {
|
|
37
37
|
switch (a) {
|
|
38
38
|
case "IsFilterUIVisible": return Boolean_$type;
|
|
39
39
|
}
|
|
40
|
-
return super.
|
|
40
|
+
return super.kp(a);
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
hm(a) {
|
|
43
43
|
if (a == "IsFilterUIVisible") {
|
|
44
|
-
return this.
|
|
44
|
+
return this.mo;
|
|
45
45
|
}
|
|
46
|
-
return super.
|
|
46
|
+
return super.hm(a);
|
|
47
47
|
}
|
|
48
48
|
b(a) {
|
|
49
49
|
if (a == null) {
|
|
@@ -51,11 +51,11 @@ export let TemplateHeaderCellModel = /*@__PURE__*/ (() => {
|
|
|
51
51
|
}
|
|
52
52
|
a = super.b(a);
|
|
53
53
|
let b = a;
|
|
54
|
-
b.ae = this.
|
|
54
|
+
b.ae = this.ml;
|
|
55
55
|
return b;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
TemplateHeaderCellModel.$t = /*@__PURE__*/ markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$);
|
|
59
|
-
TemplateHeaderCellModel.
|
|
59
|
+
TemplateHeaderCellModel.mp = /*@__PURE__*/ CellModel.ft("IsFilterUIVisible");
|
|
60
60
|
return TemplateHeaderCellModel;
|
|
61
61
|
})();
|
|
@@ -24,7 +24,7 @@ export let TemplateHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = this.d.actualColumns._inner[a.l.a5];
|
|
26
26
|
let c = b.header;
|
|
27
|
-
if (a.a8(CellModel.fa) || a.a8(CellModel.
|
|
27
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
28
28
|
let d = Math.min(1, Math.max(0, a.ct));
|
|
29
29
|
let e = a.cj * (1 - d);
|
|
30
30
|
this.e.cl.element.setRawStyleProperty("opacity", e.toString());
|
|
@@ -5,10 +5,9 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { CellPresenterBase } from "./CellPresenterBase";
|
|
8
|
-
import { CellModel } from "./CellModel";
|
|
9
8
|
import { TextCellModel } from "./TextCellModel";
|
|
10
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
11
9
|
import { ContentCellModelHelper } from "./ContentCellModelHelper";
|
|
10
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
12
11
|
/**
|
|
13
12
|
* @hidden
|
|
14
13
|
*/
|
|
@@ -24,23 +23,29 @@ export let TextCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
23
|
super.b(a);
|
|
25
24
|
let b = a;
|
|
26
25
|
if (a.a3) {
|
|
27
|
-
if (a.a8(TextCellModel.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
if (b.hm == null) {
|
|
33
|
-
b.j1 = "";
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
b.j1 = b.hm.toString();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
this.d.cl.setRawText(b.j1);
|
|
26
|
+
if (a.a8(TextCellModel.mj) || a.a8(TextCellModel.hb) || a.a8(TextCellModel.gj)) {
|
|
27
|
+
b.j3 = this.e(b);
|
|
28
|
+
this.d.cl.setRawText(b.j3);
|
|
40
29
|
}
|
|
41
30
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cl, this.a);
|
|
42
31
|
}
|
|
43
32
|
}
|
|
33
|
+
e(a) {
|
|
34
|
+
if (a.ki != null) {
|
|
35
|
+
return a.ki;
|
|
36
|
+
}
|
|
37
|
+
if (a.ml != null) {
|
|
38
|
+
return a.ml;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (a.hn == null) {
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return a.hn.toString();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
44
49
|
}
|
|
45
50
|
TextCellPresenter.$t = /*@__PURE__*/ markType(TextCellPresenter, 'TextCellPresenter', CellPresenterBase.$);
|
|
46
51
|
return TextCellPresenter;
|
|
@@ -94,7 +94,7 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
94
94
|
let c = 18;
|
|
95
95
|
let d = a.createElement("div");
|
|
96
96
|
d.setAttribute("aria-hidden", "true");
|
|
97
|
-
d.setRawStyleProperty("display", "
|
|
97
|
+
d.setRawStyleProperty("display", "inline-block");
|
|
98
98
|
d.setRawStyleProperty("vertical-align", "middle");
|
|
99
99
|
d.setRawStyleProperty("width", b + "px");
|
|
100
100
|
d.setRawStyleProperty("height", c + "px");
|
|
@@ -121,10 +121,11 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
121
121
|
this.cx = d;
|
|
122
122
|
e = a.getSubRenderer(d);
|
|
123
123
|
this.cr = new GridSortIndicator();
|
|
124
|
-
this.cr.
|
|
125
|
-
this.cr.
|
|
124
|
+
this.cr.n = false;
|
|
125
|
+
this.cr.m = false;
|
|
126
|
+
this.cr.a0(e);
|
|
126
127
|
this.ah.append(d);
|
|
127
|
-
this.cr.
|
|
128
|
+
this.cr.au(g, h);
|
|
128
129
|
let i = this.cr;
|
|
129
130
|
i.propertyChanged = delegateCombine(i.propertyChanged, runOn(this, this.c3));
|
|
130
131
|
let j = this.cp;
|
|
@@ -139,7 +140,7 @@ export let TextHeaderCell = /*@__PURE__*/ (() => {
|
|
|
139
140
|
c3(a, b) {
|
|
140
141
|
switch (b.propertyName) {
|
|
141
142
|
case "CurrentOpacity":
|
|
142
|
-
if (this.cs.
|
|
143
|
+
if (this.cs.t > 0) {
|
|
143
144
|
this.cx.setRawStyleProperty("width", "18px");
|
|
144
145
|
if (this.ck == 2) {
|
|
145
146
|
this.cx.setRawStyleProperty("margin", "0 5px 0 0");
|
|
@@ -24,50 +24,50 @@ export let TextHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a3) {
|
|
27
|
-
if (a.a8(TextCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.cy.setRawText(b.
|
|
27
|
+
if (a.a8(TextCellModel.mj)) {
|
|
28
|
+
b.j3 = b.ml;
|
|
29
|
+
this.d.cy.setRawText(b.j3);
|
|
30
30
|
}
|
|
31
31
|
if (a.a8(CellModel.g4)) {
|
|
32
|
-
let c = this.d.cs.
|
|
32
|
+
let c = this.d.cs.m;
|
|
33
33
|
if (a.bp) {
|
|
34
|
-
this.d.cs.
|
|
34
|
+
this.d.cs.m = false;
|
|
35
35
|
}
|
|
36
36
|
this.d.cs.b = a.n;
|
|
37
37
|
if (a.bp) {
|
|
38
|
-
this.d.cs.
|
|
38
|
+
this.d.cs.m = c;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
if (a.a8(CellModel.g5)) {
|
|
42
|
-
let d = this.d.cs.
|
|
42
|
+
let d = this.d.cs.m;
|
|
43
43
|
if (a.bp) {
|
|
44
|
-
this.d.cs.
|
|
44
|
+
this.d.cs.m = false;
|
|
45
45
|
}
|
|
46
|
-
this.d.cs.
|
|
46
|
+
this.d.cs.a3 = a.me;
|
|
47
47
|
if (a.bp) {
|
|
48
|
-
this.d.cs.
|
|
48
|
+
this.d.cs.m = d;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
if (a.a7("IsColumnOptionsEnabled")) {
|
|
52
|
-
let e = b.
|
|
52
|
+
let e = b.mu;
|
|
53
53
|
if (e) {
|
|
54
54
|
e = this.e();
|
|
55
55
|
}
|
|
56
56
|
this.d.cu = e;
|
|
57
57
|
this.d.cw.setRawStyleProperty("display", e ? "inline-block" : "none");
|
|
58
|
-
this.a.b9(a.
|
|
58
|
+
this.a.b9(a.he, (a.gm + a.go + a.e2 + a.e5));
|
|
59
59
|
}
|
|
60
60
|
if (a.a7("SortIndicatorStyle")) {
|
|
61
|
-
this.d.cs.f = b.
|
|
61
|
+
this.d.cs.f = b.ms;
|
|
62
62
|
}
|
|
63
63
|
if (a.a7("ColumnOptionsIconAlignment")) {
|
|
64
|
-
this.d.cm = b.
|
|
64
|
+
this.d.cm = b.mo;
|
|
65
65
|
}
|
|
66
66
|
if (a.a7("ColumnOptionsIconBehavior")) {
|
|
67
|
-
this.d.co = b.
|
|
67
|
+
this.d.co = b.mq;
|
|
68
68
|
}
|
|
69
69
|
if (a.a7("ColumnOptionsIconColor")) {
|
|
70
|
-
this.d.cq.bw = b.
|
|
70
|
+
this.d.cq.bw = b.m6;
|
|
71
71
|
}
|
|
72
72
|
if (a.a7("Path") || (this.d.cq.n != null && this.d.cq.n.grid == null)) {
|
|
73
73
|
let f = a.e.getColumn();
|