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
|
@@ -91,12 +91,12 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
91
91
|
class ColumnChooser extends Base {
|
|
92
92
|
constructor() {
|
|
93
93
|
super();
|
|
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.ap = BrushUtil.h(255, 0, 153, 255);
|
|
@@ -107,11 +107,11 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
107
107
|
this.m = false;
|
|
108
108
|
let a = new ColumnChooserView();
|
|
109
109
|
a.a = this;
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
110
|
+
this.a = a;
|
|
111
|
+
this.a.h();
|
|
112
112
|
}
|
|
113
113
|
notifySizeChanged() {
|
|
114
|
-
this.
|
|
114
|
+
this.a.f();
|
|
115
115
|
}
|
|
116
116
|
destroy() {
|
|
117
117
|
if (this.d != null) {
|
|
@@ -121,10 +121,10 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
121
121
|
b.selectAllCheckboxChanged = delegateRemove(b.selectAllCheckboxChanged, runOn(this, this.ad));
|
|
122
122
|
}
|
|
123
123
|
this.provideContainer(null, null);
|
|
124
|
-
if (this.
|
|
125
|
-
let c = this.
|
|
124
|
+
if (this.b != null) {
|
|
125
|
+
let c = this.b.actualColumns;
|
|
126
126
|
c.collectionChanged = delegateRemove(c.collectionChanged, runOn(this, this.z));
|
|
127
|
-
let d = this.
|
|
127
|
+
let d = this.b;
|
|
128
128
|
d.columnHiddenChanged = delegateRemove(d.columnHiddenChanged, runOn(this, this.am));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -137,23 +137,23 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
137
137
|
d.selectAllCheckboxChanged = delegateCombine(d.selectAllCheckboxChanged, runOn(this, this.ad));
|
|
138
138
|
}
|
|
139
139
|
this.aa();
|
|
140
|
-
this.
|
|
140
|
+
this.a.g(a);
|
|
141
141
|
}
|
|
142
142
|
get l() {
|
|
143
143
|
if (this.k == null) {
|
|
144
|
-
this.k = new SRProvider(this.
|
|
144
|
+
this.k = new SRProvider(this.a.b);
|
|
145
145
|
this.k.cb("DataGrid");
|
|
146
146
|
}
|
|
147
147
|
return this.k;
|
|
148
148
|
}
|
|
149
|
-
get
|
|
150
|
-
return this.
|
|
149
|
+
get c() {
|
|
150
|
+
return this.b;
|
|
151
151
|
}
|
|
152
|
-
set
|
|
153
|
-
let b = this.
|
|
154
|
-
this.
|
|
155
|
-
if (b != this.
|
|
156
|
-
this.ag("TargetGrid", b, this.
|
|
152
|
+
set c(a) {
|
|
153
|
+
let b = this.b;
|
|
154
|
+
this.b = a;
|
|
155
|
+
if (b != this.b) {
|
|
156
|
+
this.ag("TargetGrid", b, this.b);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
get v() {
|
|
@@ -241,22 +241,22 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
241
241
|
let e = b;
|
|
242
242
|
e.columnHiddenChanged = delegateRemove(e.columnHiddenChanged, runOn(this, this.am));
|
|
243
243
|
}
|
|
244
|
-
if (this.
|
|
245
|
-
let f = this.
|
|
244
|
+
if (this.b != null) {
|
|
245
|
+
let f = this.b.actualColumns;
|
|
246
246
|
f.collectionChanged = delegateCombine(f.collectionChanged, runOn(this, this.z));
|
|
247
|
-
let g = this.
|
|
247
|
+
let g = this.b;
|
|
248
248
|
g.columnHiddenChanged = delegateCombine(g.columnHiddenChanged, runOn(this, this.am));
|
|
249
249
|
}
|
|
250
250
|
this.aa();
|
|
251
251
|
break;
|
|
252
252
|
case "Title":
|
|
253
|
-
this.
|
|
253
|
+
this.a.k();
|
|
254
254
|
break;
|
|
255
255
|
case "TitleStyle":
|
|
256
|
-
this.
|
|
256
|
+
this.a.m();
|
|
257
257
|
break;
|
|
258
258
|
case "TitleColor":
|
|
259
|
-
this.
|
|
259
|
+
this.a.l();
|
|
260
260
|
break;
|
|
261
261
|
case "FilterPlaceholderText":
|
|
262
262
|
if (this.d != null) {
|
|
@@ -271,9 +271,9 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
271
271
|
break;
|
|
272
272
|
case "BackgroundColor":
|
|
273
273
|
if (this.d != null) {
|
|
274
|
-
this.d.
|
|
274
|
+
this.d.backgroundColor = this.aq;
|
|
275
275
|
}
|
|
276
|
-
this.
|
|
276
|
+
this.a.i();
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -284,7 +284,7 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
284
284
|
}
|
|
285
285
|
aj() {
|
|
286
286
|
if (this.d != null) {
|
|
287
|
-
this.d.
|
|
287
|
+
this.d.density = this.h;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
am(a, b) {
|
|
@@ -297,13 +297,13 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
297
297
|
this.aa();
|
|
298
298
|
}
|
|
299
299
|
aa() {
|
|
300
|
-
if (this.
|
|
300
|
+
if (this.b != null && this.d != null) {
|
|
301
301
|
this.d.aa = this.f;
|
|
302
|
-
this.d.
|
|
303
|
-
this.d.
|
|
302
|
+
this.d.density = this.h;
|
|
303
|
+
this.d.backgroundColor = this.aq;
|
|
304
304
|
let a;
|
|
305
305
|
let b = new ObservableCollection$1(ColumnChooserInfo.$, 0);
|
|
306
|
-
for (let c of fromEnum(this.
|
|
306
|
+
for (let c of fromEnum(this.b.actualColumns)) {
|
|
307
307
|
a = new ColumnChooserInfo();
|
|
308
308
|
let d = c.i8;
|
|
309
309
|
if (c.jf != null) {
|
|
@@ -321,9 +321,9 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
321
321
|
let f = "";
|
|
322
322
|
e = "columnName";
|
|
323
323
|
f = "isNotHidden";
|
|
324
|
-
this.d.
|
|
325
|
-
this.d.
|
|
326
|
-
this.d.
|
|
324
|
+
this.d.selectedMemberPath = f;
|
|
325
|
+
this.d.dataMemberPath = e;
|
|
326
|
+
this.d.showSelectAll = true;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
an(a) {
|
|
@@ -333,8 +333,8 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
333
333
|
}
|
|
334
334
|
al() {
|
|
335
335
|
this.d.c2();
|
|
336
|
-
if (this.
|
|
337
|
-
for (let a of fromEnum(this.
|
|
336
|
+
if (this.b != null) {
|
|
337
|
+
for (let a of fromEnum(this.b.actualColumns)) {
|
|
338
338
|
this.m = true;
|
|
339
339
|
a.g7 = false;
|
|
340
340
|
}
|
|
@@ -342,8 +342,8 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
342
342
|
}
|
|
343
343
|
ae() {
|
|
344
344
|
this.d.cc();
|
|
345
|
-
if (this.
|
|
346
|
-
for (let a of fromEnum(this.
|
|
345
|
+
if (this.b != null) {
|
|
346
|
+
for (let a of fromEnum(this.b.actualColumns)) {
|
|
347
347
|
this.m = true;
|
|
348
348
|
a.g7 = true;
|
|
349
349
|
}
|
|
@@ -360,12 +360,12 @@ export let ColumnChooser = /*@__PURE__*/ (() => {
|
|
|
360
360
|
}
|
|
361
361
|
ac(a, b) {
|
|
362
362
|
this.m = true;
|
|
363
|
-
let c = this.d.
|
|
364
|
-
let d = this.
|
|
363
|
+
let c = this.d.f.actualDataSource.getItemAtIndex(b.c);
|
|
364
|
+
let d = this.b.actualColumns.count;
|
|
365
365
|
for (let e = 0; e < d; e++) {
|
|
366
|
-
if (this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
366
|
+
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) {
|
|
367
|
+
this.b.actualColumns._inner[e].g7 = !b.b;
|
|
368
|
+
this.b.actualColumns._inner[e].ki("Hidden");
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|