igniteui-webcomponents-grids 5.0.0 → 5.0.2-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-grids.umd.js +1393 -1404
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +52 -52
- package/esm2015/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +1 -4
- package/esm2015/lib/CheckboxListView_combined.js +188 -188
- package/esm2015/lib/ColumnChooserView_combined.js +42 -42
- package/esm2015/lib/ColumnFilterCondition_combined.js +659 -659
- package/esm2015/lib/ColumnGroupingView_combined.js +40 -40
- package/esm2015/lib/ColumnPinningView_combined.js +42 -42
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm2015/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm2015/lib/DataGridToolbarView_combined.js +87 -87
- package/esm2015/lib/EditorCell.js +86 -86
- package/esm2015/lib/EditorCellPresenter.js +1 -1
- package/esm2015/lib/FilterCell.js +90 -90
- package/esm2015/lib/FilterCellPresenter.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm2015/lib/ISummaryChooserView_combined.js +6 -6
- package/esm2015/lib/TemplateHeader.js +1 -1
- package/esm2015/lib/igc-checkbox-list-component.js +31 -27
- package/esm2015/lib/igc-column-chooser-component.js +2 -2
- package/esm2015/lib/igc-column-pinning-component.js +2 -2
- package/esm2015/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm2015/public_api.js +20 -21
- package/esm5/lib/CanvasGridCellBase.js +52 -52
- package/esm5/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListBridge.js +1 -4
- package/esm5/lib/CheckboxListView_combined.js +179 -179
- package/esm5/lib/ColumnChooserView_combined.js +41 -41
- package/esm5/lib/ColumnFilterCondition_combined.js +654 -654
- package/esm5/lib/ColumnGroupingView_combined.js +40 -40
- package/esm5/lib/ColumnPinningView_combined.js +41 -41
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm5/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm5/lib/DataGridToolbarView_combined.js +86 -86
- package/esm5/lib/EditorCell.js +85 -85
- package/esm5/lib/EditorCellPresenter.js +1 -1
- package/esm5/lib/FilterCell.js +88 -88
- package/esm5/lib/FilterCellPresenter.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm5/lib/ISummaryChooserView_combined.js +6 -6
- package/esm5/lib/TemplateHeader.js +1 -1
- package/esm5/lib/igc-checkbox-list-component.js +31 -27
- package/esm5/lib/igc-column-chooser-component.js +2 -2
- package/esm5/lib/igc-column-pinning-component.js +2 -2
- package/esm5/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm5/public_api.js +20 -21
- package/fesm2015/igniteui-webcomponents-grids.js +1415 -1425
- package/fesm5/igniteui-webcomponents-grids.js +1395 -1405
- package/grids/combined.js +16296 -15683
- package/grids/lib/igc-grid-base-directive.d.ts +1 -0
- package/grids/lib/igc-row-island-component.d.ts +1 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/CanvasGridCellBase.d.ts +7 -7
- package/lib/CanvasTemplateCellPresenter.d.ts +2 -2
- package/lib/CanvasTemplateHeaderCellPresenter.d.ts +2 -2
- package/lib/CheckboxListExternal.d.ts +6 -4
- package/lib/CheckboxListView_combined.d.ts +26 -26
- package/lib/ColumnChooserView_combined.d.ts +4 -4
- package/lib/ColumnFilterCondition_combined.d.ts +113 -113
- package/lib/ColumnGroupingView_combined.d.ts +2 -2
- package/lib/ColumnPinningView_combined.d.ts +4 -4
- package/lib/DataGridCellLayoutPanel.d.ts +3 -3
- package/lib/DataGridToolbarView_combined.d.ts +5 -5
- package/lib/EditorCell.d.ts +8 -8
- package/lib/FilterCell.d.ts +12 -12
- package/lib/igc-checkbox-list-component.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +20 -21
- package/esm2015/lib/CheckboxListViewExternal.js +0 -11
- package/esm5/lib/CheckboxListViewExternal.js +0 -11
- package/lib/CheckboxListViewExternal.d.ts +0 -16
|
@@ -497,7 +497,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
497
497
|
__extends(ColumnGrouping, _super);
|
|
498
498
|
function ColumnGrouping() {
|
|
499
499
|
var _this = _super.call(this) || this;
|
|
500
|
-
_this.
|
|
500
|
+
_this.b = null;
|
|
501
501
|
_this.propertyChanged = null;
|
|
502
502
|
_this.q = null;
|
|
503
503
|
_this.e = null;
|
|
@@ -507,7 +507,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
507
507
|
_this.u = 0;
|
|
508
508
|
_this.l = null;
|
|
509
509
|
_this.o = false;
|
|
510
|
-
_this.
|
|
510
|
+
_this.c = null;
|
|
511
511
|
_this.f = 1;
|
|
512
512
|
_this.h = 2;
|
|
513
513
|
_this.w = "Drag a Column Here";
|
|
@@ -523,12 +523,12 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
523
523
|
_this.q = new ObservableCollection$1(XIcon.$, 0);
|
|
524
524
|
var a = new ColumnGroupingView();
|
|
525
525
|
a.e = _this;
|
|
526
|
-
_this.
|
|
527
|
-
_this.
|
|
526
|
+
_this.b = a;
|
|
527
|
+
_this.b.ai();
|
|
528
528
|
return _this;
|
|
529
529
|
}
|
|
530
530
|
ColumnGrouping.prototype.notifySizeChanged = function () {
|
|
531
|
-
this.
|
|
531
|
+
this.b.ag();
|
|
532
532
|
};
|
|
533
533
|
ColumnGrouping.prototype.destroy = function () {
|
|
534
534
|
this.provideContainer(null);
|
|
@@ -544,12 +544,12 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
546
|
ColumnGrouping.prototype.provideContainer = function (a) {
|
|
547
|
-
this.
|
|
547
|
+
this.b.ah(a);
|
|
548
548
|
};
|
|
549
549
|
Object.defineProperty(ColumnGrouping.prototype, "m", {
|
|
550
550
|
get: function () {
|
|
551
551
|
if (this.l == null) {
|
|
552
|
-
this.l = new SRProvider(this.
|
|
552
|
+
this.l = new SRProvider(this.b.o);
|
|
553
553
|
this.l.cb("ColumnGrouping");
|
|
554
554
|
}
|
|
555
555
|
return this.l;
|
|
@@ -559,13 +559,13 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
559
559
|
});
|
|
560
560
|
Object.defineProperty(ColumnGrouping.prototype, "targetGrid", {
|
|
561
561
|
get: function () {
|
|
562
|
-
return this.
|
|
562
|
+
return this.c;
|
|
563
563
|
},
|
|
564
564
|
set: function (a) {
|
|
565
|
-
var b = this.
|
|
566
|
-
this.
|
|
567
|
-
if (b != this.
|
|
568
|
-
this.ay("TargetGrid", b, this.
|
|
565
|
+
var b = this.c;
|
|
566
|
+
this.c = a;
|
|
567
|
+
if (b != this.c) {
|
|
568
|
+
this.ay("TargetGrid", b, this.c);
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
571
|
enumerable: false,
|
|
@@ -735,8 +735,8 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
735
735
|
this.ba();
|
|
736
736
|
break;
|
|
737
737
|
case "TextStyle":
|
|
738
|
-
this.
|
|
739
|
-
this.
|
|
738
|
+
this.b.ap();
|
|
739
|
+
this.b.aq();
|
|
740
740
|
break;
|
|
741
741
|
case "TextColor":
|
|
742
742
|
case "IconColor":
|
|
@@ -745,14 +745,14 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
745
745
|
break;
|
|
746
746
|
case "ItemHoverBackgroundColor": break;
|
|
747
747
|
case "BackgroundColor":
|
|
748
|
-
NativeUI.m(this.
|
|
748
|
+
NativeUI.m(this.b.u, this.bh);
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
};
|
|
752
752
|
ColumnGrouping.prototype.a4 = function () {
|
|
753
753
|
};
|
|
754
754
|
ColumnGrouping.prototype.ba = function () {
|
|
755
|
-
var a = this.
|
|
755
|
+
var a = this.b.w;
|
|
756
756
|
if (this.bm != null) {
|
|
757
757
|
NativeUI.q(a, this.bm);
|
|
758
758
|
}
|
|
@@ -761,12 +761,12 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
761
761
|
if (stringIsNullOrWhiteSpace(this.al)) {
|
|
762
762
|
this.al = !stringIsNullOrWhiteSpace(this.m.b1("Title")) ? this.m.b1("Title") : "Drag a Column Here";
|
|
763
763
|
}
|
|
764
|
-
this.
|
|
764
|
+
this.b.ar();
|
|
765
765
|
};
|
|
766
766
|
ColumnGrouping.prototype.a8 = function () {
|
|
767
|
-
var a = this.
|
|
768
|
-
var b = this.
|
|
769
|
-
var c = this.
|
|
767
|
+
var a = this.b.l;
|
|
768
|
+
var b = this.b.j;
|
|
769
|
+
var c = this.b.k;
|
|
770
770
|
for (var d = 0; d < a.count; d++) {
|
|
771
771
|
NativeUI.q(a._inner[d], this.bl);
|
|
772
772
|
}
|
|
@@ -783,7 +783,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
783
783
|
this.i = this.targetGrid.density;
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
this.
|
|
786
|
+
this.b.ao();
|
|
787
787
|
};
|
|
788
788
|
ColumnGrouping.prototype.a5 = function () {
|
|
789
789
|
if (this.targetGrid != null) {
|
|
@@ -791,7 +791,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
791
791
|
if (this.targetGrid.isGroupByAreaVisible) {
|
|
792
792
|
this.o = true;
|
|
793
793
|
}
|
|
794
|
-
this.
|
|
794
|
+
this.b.an();
|
|
795
795
|
var a = this.targetGrid;
|
|
796
796
|
a.groupDescriptionsChanged = delegateCombine(a.groupDescriptionsChanged, runOn(this, this.a7));
|
|
797
797
|
var b = this.targetGrid;
|
|
@@ -802,7 +802,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
802
802
|
var d = this.targetGrid.dragger;
|
|
803
803
|
d.onDragEnd = delegateCombine(d.onDragEnd, runOn(this, this.aw));
|
|
804
804
|
}
|
|
805
|
-
this.
|
|
805
|
+
this.b.ac();
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
808
|
ColumnGrouping.prototype.p = function () {
|
|
@@ -839,7 +839,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
839
839
|
};
|
|
840
840
|
ColumnGrouping.prototype.aw = function (a, b) {
|
|
841
841
|
if (this.targetGrid.dragger.dragType == 2) {
|
|
842
|
-
var c = this.
|
|
842
|
+
var c = this.b.as();
|
|
843
843
|
var d = c.height * -1;
|
|
844
844
|
var e = 0;
|
|
845
845
|
var f = 0;
|
|
@@ -855,11 +855,11 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
855
855
|
j.c = 0;
|
|
856
856
|
var l = this.targetGrid.groupDescriptions.j.contains(j);
|
|
857
857
|
if (l == false && k == false) {
|
|
858
|
-
var m = this.
|
|
858
|
+
var m = this.b.l;
|
|
859
859
|
var n = m.count;
|
|
860
860
|
var o = false;
|
|
861
861
|
for (var p = 0; p < n; p++) {
|
|
862
|
-
var q = this.
|
|
862
|
+
var q = this.b.b(m._inner[p]);
|
|
863
863
|
var r = NativeUI.k(m._inner[p]);
|
|
864
864
|
var s = q[1] - c.left + r;
|
|
865
865
|
if (this.t < s) {
|
|
@@ -901,7 +901,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
901
901
|
};
|
|
902
902
|
ColumnGrouping.prototype.at = function (a, b) {
|
|
903
903
|
var c = new XIcon();
|
|
904
|
-
this.
|
|
904
|
+
this.b.am(c, a);
|
|
905
905
|
if (b) {
|
|
906
906
|
c.svgPath = ColumnGrouping.x;
|
|
907
907
|
}
|
|
@@ -913,21 +913,21 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
913
913
|
};
|
|
914
914
|
ColumnGrouping.prototype.aq = function (a) {
|
|
915
915
|
var b = new XIcon();
|
|
916
|
-
this.
|
|
916
|
+
this.b.am(b, a);
|
|
917
917
|
b.svgPath = ColumnGrouping.aa;
|
|
918
918
|
b.fill = BrushUtil.h(255, 119, 119, 119);
|
|
919
919
|
this.q.add(b);
|
|
920
920
|
};
|
|
921
921
|
ColumnGrouping.prototype.as = function (a) {
|
|
922
922
|
var b = new XIcon();
|
|
923
|
-
this.
|
|
923
|
+
this.b.am(b, a);
|
|
924
924
|
b.svgPath = ColumnGrouping.ah;
|
|
925
925
|
b.fill = BrushUtil.h(255, 119, 119, 119);
|
|
926
926
|
this.q.add(b);
|
|
927
927
|
};
|
|
928
928
|
ColumnGrouping.prototype.ar = function (a) {
|
|
929
929
|
var b = new XIcon();
|
|
930
|
-
this.
|
|
930
|
+
this.b.am(b, a);
|
|
931
931
|
b.svgPath = ColumnGrouping.ad;
|
|
932
932
|
b.fill = BrushUtil.h(255, 119, 119, 119);
|
|
933
933
|
this.e = b;
|
|
@@ -979,10 +979,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
979
979
|
this.targetGrid.groupDescriptions.j.insert(b, d);
|
|
980
980
|
};
|
|
981
981
|
ColumnGrouping.prototype.a7 = function (a, b) {
|
|
982
|
-
this.
|
|
982
|
+
this.b.ac();
|
|
983
983
|
};
|
|
984
984
|
ColumnGrouping.prototype.a6 = function (a, b) {
|
|
985
|
-
this.
|
|
985
|
+
this.b.ac();
|
|
986
986
|
};
|
|
987
987
|
ColumnGrouping.prototype.exportVisualModel = function () {
|
|
988
988
|
return this.a();
|
|
@@ -993,22 +993,22 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
993
993
|
};
|
|
994
994
|
ColumnGrouping.prototype.a = function () {
|
|
995
995
|
var a = new ColumnGroupingVisualModelExport();
|
|
996
|
-
var b = this.
|
|
996
|
+
var b = this.b.v;
|
|
997
997
|
a.d = new List$1(IconVisualModelExport.$, 0);
|
|
998
998
|
a.c = new List$1(TextVisualModelExport.$, 0);
|
|
999
999
|
a.b = this.i;
|
|
1000
1000
|
a.a = this.g;
|
|
1001
|
-
var c = this.
|
|
1001
|
+
var c = this.b.a();
|
|
1002
1002
|
var d = c[0];
|
|
1003
1003
|
var e = c[1];
|
|
1004
1004
|
a.h = d;
|
|
1005
1005
|
a.f = e;
|
|
1006
1006
|
a.e = NativeUI.d(b);
|
|
1007
1007
|
a.i = NativeUI.k(b);
|
|
1008
|
-
var f = this.
|
|
1008
|
+
var f = this.b.l;
|
|
1009
1009
|
for (var g = 0; g < f.count; g++) {
|
|
1010
1010
|
var h = new TextVisualModelExport();
|
|
1011
|
-
var i = this.
|
|
1011
|
+
var i = this.b.b(f._inner[g]);
|
|
1012
1012
|
h.e = i[0] - d;
|
|
1013
1013
|
h.d = i[1] - e;
|
|
1014
1014
|
h.c = NativeUI.d(f._inner[g]);
|
|
@@ -1017,10 +1017,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1017
1017
|
h.g = f._inner[g].getText();
|
|
1018
1018
|
a.c.add(h);
|
|
1019
1019
|
}
|
|
1020
|
-
var j = this.
|
|
1020
|
+
var j = this.b.j;
|
|
1021
1021
|
for (var k = 0; k < j.count; k++) {
|
|
1022
1022
|
var l = this.q._inner[k].au();
|
|
1023
|
-
var m = this.
|
|
1023
|
+
var m = this.b.b(j._inner[k]);
|
|
1024
1024
|
l.i = m[0] - d;
|
|
1025
1025
|
l.g = m[1] - e;
|
|
1026
1026
|
l.f = NativeUI.d(j._inner[k]);
|
|
@@ -1029,8 +1029,8 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
if (this.k != null) {
|
|
1031
1031
|
var n = this.k;
|
|
1032
|
-
if (this.
|
|
1033
|
-
var o = this.
|
|
1032
|
+
if (this.b != null && n.q == null) {
|
|
1033
|
+
var o = this.b.o;
|
|
1034
1034
|
var p = FontUtil.getFontInfoFromString(o, n.fontString);
|
|
1035
1035
|
n.q = p.q;
|
|
1036
1036
|
n.f = p.f;
|
|
@@ -91,12 +91,12 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
91
91
|
__extends(ColumnPinning, _super);
|
|
92
92
|
function ColumnPinning() {
|
|
93
93
|
var _this = _super.call(this) || this;
|
|
94
|
-
_this.
|
|
94
|
+
_this.a = null;
|
|
95
95
|
_this.d = null;
|
|
96
96
|
_this.propertyChanged = null;
|
|
97
97
|
_this.m = false;
|
|
98
98
|
_this.k = null;
|
|
99
|
-
_this.
|
|
99
|
+
_this.b = null;
|
|
100
100
|
_this.o = null;
|
|
101
101
|
_this.i = null;
|
|
102
102
|
_this.am = BrushUtil.h(255, 0, 153, 255);
|
|
@@ -107,8 +107,8 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
107
107
|
_this.m = false;
|
|
108
108
|
var a = new ColumnPinningView();
|
|
109
109
|
a.a = _this;
|
|
110
|
-
_this.
|
|
111
|
-
_this.
|
|
110
|
+
_this.a = a;
|
|
111
|
+
_this.a.f();
|
|
112
112
|
return _this;
|
|
113
113
|
}
|
|
114
114
|
ColumnPinning.prototype.ak = function (a) {
|
|
@@ -117,7 +117,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
ColumnPinning.prototype.notifySizeChanged = function () {
|
|
120
|
-
this.
|
|
120
|
+
this.a.d();
|
|
121
121
|
};
|
|
122
122
|
ColumnPinning.prototype.destroy = function () {
|
|
123
123
|
if (this.d != null) {
|
|
@@ -125,10 +125,10 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
125
125
|
a.checkedChanged = delegateRemove(a.checkedChanged, runOn(this, this.ae));
|
|
126
126
|
}
|
|
127
127
|
this.provideContainer(null, null);
|
|
128
|
-
if (this.
|
|
129
|
-
var b = this.
|
|
128
|
+
if (this.b != null) {
|
|
129
|
+
var b = this.b.actualColumns;
|
|
130
130
|
b.collectionChanged = delegateRemove(b.collectionChanged, runOn(this, this.z));
|
|
131
|
-
var c = this.
|
|
131
|
+
var c = this.b;
|
|
132
132
|
c.columnPinnedChanged = delegateRemove(c.columnPinnedChanged, runOn(this, this.aj));
|
|
133
133
|
}
|
|
134
134
|
};
|
|
@@ -139,12 +139,12 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
139
139
|
c.checkedChanged = delegateCombine(c.checkedChanged, runOn(this, this.ae));
|
|
140
140
|
}
|
|
141
141
|
this.aa();
|
|
142
|
-
this.
|
|
142
|
+
this.a.e(a);
|
|
143
143
|
};
|
|
144
144
|
Object.defineProperty(ColumnPinning.prototype, "l", {
|
|
145
145
|
get: function () {
|
|
146
146
|
if (this.k == null) {
|
|
147
|
-
this.k = new SRProvider(this.
|
|
147
|
+
this.k = new SRProvider(this.a.b);
|
|
148
148
|
this.k.cb("DataGrid");
|
|
149
149
|
}
|
|
150
150
|
return this.k;
|
|
@@ -152,15 +152,15 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
152
152
|
enumerable: false,
|
|
153
153
|
configurable: true
|
|
154
154
|
});
|
|
155
|
-
Object.defineProperty(ColumnPinning.prototype, "
|
|
155
|
+
Object.defineProperty(ColumnPinning.prototype, "c", {
|
|
156
156
|
get: function () {
|
|
157
|
-
return this.
|
|
157
|
+
return this.b;
|
|
158
158
|
},
|
|
159
159
|
set: function (a) {
|
|
160
|
-
var b = this.
|
|
161
|
-
this.
|
|
162
|
-
if (b != this.
|
|
163
|
-
this.ad("TargetGrid", b, this.
|
|
160
|
+
var b = this.b;
|
|
161
|
+
this.b = a;
|
|
162
|
+
if (b != this.b) {
|
|
163
|
+
this.ad("TargetGrid", b, this.b);
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
enumerable: false,
|
|
@@ -279,22 +279,22 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
279
279
|
var e = b;
|
|
280
280
|
e.columnPinnedChanged = delegateRemove(e.columnPinnedChanged, runOn(this, this.aj));
|
|
281
281
|
}
|
|
282
|
-
if (this.
|
|
283
|
-
var f = this.
|
|
282
|
+
if (this.b != null) {
|
|
283
|
+
var f = this.b.actualColumns;
|
|
284
284
|
f.collectionChanged = delegateCombine(f.collectionChanged, runOn(this, this.z));
|
|
285
|
-
var g = this.
|
|
285
|
+
var g = this.b;
|
|
286
286
|
g.columnPinnedChanged = delegateCombine(g.columnPinnedChanged, runOn(this, this.aj));
|
|
287
287
|
}
|
|
288
288
|
this.aa();
|
|
289
289
|
break;
|
|
290
290
|
case "Title":
|
|
291
|
-
this.
|
|
291
|
+
this.a.i();
|
|
292
292
|
break;
|
|
293
293
|
case "TitleStyle":
|
|
294
|
-
this.
|
|
294
|
+
this.a.k();
|
|
295
295
|
break;
|
|
296
296
|
case "TitleColor":
|
|
297
|
-
this.
|
|
297
|
+
this.a.j();
|
|
298
298
|
break;
|
|
299
299
|
case "FilterPlaceholderText":
|
|
300
300
|
if (this.d != null) {
|
|
@@ -309,9 +309,9 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
309
309
|
break;
|
|
310
310
|
case "BackgroundColor":
|
|
311
311
|
if (this.d != null) {
|
|
312
|
-
this.d.
|
|
312
|
+
this.d.backgroundColor = this.an;
|
|
313
313
|
}
|
|
314
|
-
this.
|
|
314
|
+
this.a.g();
|
|
315
315
|
break;
|
|
316
316
|
}
|
|
317
317
|
};
|
|
@@ -322,7 +322,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
322
322
|
};
|
|
323
323
|
ColumnPinning.prototype.ah = function () {
|
|
324
324
|
if (this.d != null) {
|
|
325
|
-
this.d.
|
|
325
|
+
this.d.density = this.h;
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
ColumnPinning.prototype.aj = function (a, b) {
|
|
@@ -336,14 +336,14 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
336
336
|
};
|
|
337
337
|
ColumnPinning.prototype.aa = function () {
|
|
338
338
|
var e_1, _a;
|
|
339
|
-
if (this.
|
|
339
|
+
if (this.b != null && this.d != null) {
|
|
340
340
|
this.d.aa = this.f;
|
|
341
|
-
this.d.
|
|
342
|
-
this.d.
|
|
341
|
+
this.d.density = this.h;
|
|
342
|
+
this.d.backgroundColor = this.an;
|
|
343
343
|
var a = void 0;
|
|
344
344
|
var b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
|
|
345
345
|
try {
|
|
346
|
-
for (var _b = __values(fromEnum(this.
|
|
346
|
+
for (var _b = __values(fromEnum(this.b.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
347
347
|
var c = _c.value;
|
|
348
348
|
a = new ColumnPinningInfo();
|
|
349
349
|
var d = c.i8;
|
|
@@ -373,7 +373,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
373
373
|
throw e_1.error;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
this.d.
|
|
376
|
+
this.d.showSelectAll = false;
|
|
377
377
|
if (this.s != null) {
|
|
378
378
|
this.d.bi = this.s;
|
|
379
379
|
}
|
|
@@ -382,26 +382,26 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
382
382
|
var f = "";
|
|
383
383
|
e = "columnName";
|
|
384
384
|
f = "isPinned";
|
|
385
|
-
this.d.
|
|
386
|
-
this.d.
|
|
385
|
+
this.d.selectedMemberPath = f;
|
|
386
|
+
this.d.dataMemberPath = e;
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
ColumnPinning.prototype.ae = function (a, b) {
|
|
390
390
|
this.m = true;
|
|
391
|
-
var c = this.d.
|
|
392
|
-
var d = this.
|
|
391
|
+
var c = this.d.f.actualDataSource.getItemAtIndex(b.c);
|
|
392
|
+
var d = this.b.actualColumns.count;
|
|
393
393
|
for (var e = 0; e < d; e++) {
|
|
394
|
-
if (this.
|
|
395
|
-
if (this.
|
|
396
|
-
this.
|
|
394
|
+
if (this.b.actualColumns._inner[e].i8 == c.columnName || this.b.actualColumns._inner[e].jz == c.columnName || this.b.actualColumns._inner[e].jf == c.columnName) {
|
|
395
|
+
if (this.b.actualColumns._inner[e].f6 == 0) {
|
|
396
|
+
this.b.actualColumns._inner[e].f6 = 1;
|
|
397
397
|
}
|
|
398
|
-
else if (this.
|
|
399
|
-
this.
|
|
398
|
+
else if (this.b.actualColumns._inner[e].f6 == 2) {
|
|
399
|
+
this.b.actualColumns._inner[e].f6 = 1;
|
|
400
400
|
}
|
|
401
401
|
else {
|
|
402
|
-
this.
|
|
402
|
+
this.b.actualColumns._inner[e].f6 = 0;
|
|
403
403
|
}
|
|
404
|
-
this.
|
|
404
|
+
this.b.actualColumns._inner[e].ki("Pinned");
|
|
405
405
|
break;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
@@ -49,7 +49,7 @@ var DataGridAccessibilityLayoutPanel = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
49
49
|
this.ay = new AccessibilityRow();
|
|
50
50
|
this.ay.i = this.a7;
|
|
51
51
|
this.ay.e = -1;
|
|
52
|
-
this.ay.d = this.
|
|
52
|
+
this.ay.d = this.g.b9.count;
|
|
53
53
|
this.ay.f = "columnheader";
|
|
54
54
|
}
|
|
55
55
|
this.ay.j(a, b);
|
|
@@ -61,7 +61,7 @@ var DataGridAccessibilityLayoutPanel = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
61
61
|
d = new AccessibilityRow();
|
|
62
62
|
d.i = this.a7;
|
|
63
63
|
d.e = c;
|
|
64
|
-
d.d = this.
|
|
64
|
+
d.d = this.g.b9.count;
|
|
65
65
|
d.f = "gridcell";
|
|
66
66
|
this.a0.s(c, d);
|
|
67
67
|
}
|