igniteui-webcomponents-grids 5.0.1 → 5.0.2
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 +1366 -1366
- 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/CheckboxListView_combined.js +165 -165
- 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 +26 -26
- 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 -20
- 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/CheckboxListView_combined.js +156 -156
- 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 +26 -26
- 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 -20
- package/fesm2015/igniteui-webcomponents-grids.js +1386 -1386
- package/fesm5/igniteui-webcomponents-grids.js +1366 -1366
- package/grids/combined.js +587 -590
- 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/CheckboxListView_combined.d.ts +23 -23
- 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/package.json +4 -4
- package/public_api.d.ts +20 -20
|
@@ -20,11 +20,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
20
20
|
__extends(DataGridCellLayoutPanel, _super);
|
|
21
21
|
function DataGridCellLayoutPanel(a, b, c) {
|
|
22
22
|
var _this = _super.call(this) || this;
|
|
23
|
-
_this.
|
|
23
|
+
_this.f = null;
|
|
24
24
|
_this.l = false;
|
|
25
25
|
_this.r = null;
|
|
26
26
|
_this._element = null;
|
|
27
|
-
_this.
|
|
27
|
+
_this.e = null;
|
|
28
28
|
_this.j = false;
|
|
29
29
|
_this._rootElement = null;
|
|
30
30
|
_this.n = false;
|
|
@@ -46,8 +46,8 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
46
46
|
_this.element = _this.r.createElement("div");
|
|
47
47
|
_this.element.setRawStyleProperty("position", "relative");
|
|
48
48
|
_this.element.setRawStyleProperty("box-sizing", "border-box");
|
|
49
|
-
_this.refresh(_this.
|
|
50
|
-
_this.
|
|
49
|
+
_this.refresh(_this.f, false);
|
|
50
|
+
_this.e = b;
|
|
51
51
|
_this.j = false;
|
|
52
52
|
return _this;
|
|
53
53
|
}
|
|
@@ -68,9 +68,9 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
68
68
|
enumerable: false,
|
|
69
69
|
configurable: true
|
|
70
70
|
});
|
|
71
|
-
Object.defineProperty(DataGridCellLayoutPanel.prototype, "
|
|
71
|
+
Object.defineProperty(DataGridCellLayoutPanel.prototype, "g", {
|
|
72
72
|
get: function () {
|
|
73
|
-
return this.
|
|
73
|
+
return this.f;
|
|
74
74
|
},
|
|
75
75
|
enumerable: false,
|
|
76
76
|
configurable: true
|
|
@@ -86,7 +86,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86
86
|
configurable: true
|
|
87
87
|
});
|
|
88
88
|
DataGridCellLayoutPanel.prototype.refresh = function (a, b) {
|
|
89
|
-
this.
|
|
89
|
+
this.f = a;
|
|
90
90
|
this.as(b);
|
|
91
91
|
};
|
|
92
92
|
DataGridCellLayoutPanel.prototype.viewportChanged = function () {
|
|
@@ -107,7 +107,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
107
107
|
this.as(true);
|
|
108
108
|
};
|
|
109
109
|
DataGridCellLayoutPanel.prototype.ar = function (a) {
|
|
110
|
-
var b = this.
|
|
110
|
+
var b = this.e.b(this.r, a);
|
|
111
111
|
if (b.isCanvasBased) {
|
|
112
112
|
var c = b.nativeCell.ae = false;
|
|
113
113
|
}
|
|
@@ -159,29 +159,29 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
159
159
|
this.n = false;
|
|
160
160
|
this.h();
|
|
161
161
|
}
|
|
162
|
-
if (this.
|
|
162
|
+
if (this.f == null) {
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
|
-
if (Rect.l_op_Equality(this.
|
|
165
|
+
if (Rect.l_op_Equality(this.f.actualVisibleRegion, null) || this.f.actualVisibleRegion.isEmpty) {
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
168
|
this.j = true;
|
|
169
|
-
if (this.p != this.
|
|
170
|
-
this.element.setRawStyleProperty("width", this.
|
|
169
|
+
if (this.p != this.f.absoluteWidth) {
|
|
170
|
+
this.element.setRawStyleProperty("width", this.f.absoluteWidth + "px");
|
|
171
171
|
}
|
|
172
|
-
if (this.o != this.
|
|
173
|
-
this.element.setRawStyleProperty("height", this.
|
|
172
|
+
if (this.o != this.f.absoluteHeight) {
|
|
173
|
+
this.element.setRawStyleProperty("height", this.f.absoluteHeight + "px");
|
|
174
174
|
}
|
|
175
|
-
this.p = this.
|
|
176
|
-
this.o = this.
|
|
177
|
-
var a = this.
|
|
178
|
-
var b = this.
|
|
179
|
-
var c = this.
|
|
175
|
+
this.p = this.f.absoluteWidth;
|
|
176
|
+
this.o = this.f.absoluteHeight;
|
|
177
|
+
var a = this.f.actualVisibleRegion.top;
|
|
178
|
+
var b = this.f.actualVisibleRegion.left;
|
|
179
|
+
var c = this.f.cc;
|
|
180
180
|
var d = c.count;
|
|
181
|
-
var e = this.
|
|
182
|
-
var f = this.
|
|
181
|
+
var e = this.f.bz;
|
|
182
|
+
var f = this.f.bz.o;
|
|
183
183
|
var g = f.count;
|
|
184
|
-
var h = this.
|
|
184
|
+
var h = this.f.bz.p;
|
|
185
185
|
for (var i = 0; i < g; i++) {
|
|
186
186
|
if (h._inner[i]) {
|
|
187
187
|
continue;
|
|
@@ -206,7 +206,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
206
206
|
continue;
|
|
207
207
|
}
|
|
208
208
|
var v = r._inner[u];
|
|
209
|
-
var w = this.
|
|
209
|
+
var w = this.e.b(this.r, v);
|
|
210
210
|
if (!w.isCanvasBased) {
|
|
211
211
|
o = false;
|
|
212
212
|
}
|
|
@@ -246,10 +246,10 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
248
|
var af = ab._inner[ae];
|
|
249
|
-
var ag = this.
|
|
249
|
+
var ag = this.e.b(this.r, af);
|
|
250
250
|
if (ag.isCanvasBased) {
|
|
251
251
|
var ah = y.a;
|
|
252
|
-
this.aw(y, aa, af, this.
|
|
252
|
+
this.aw(y, aa, af, this.f, x, m, o);
|
|
253
253
|
if (y.a != ah && m) {
|
|
254
254
|
x++;
|
|
255
255
|
}
|
|
@@ -274,8 +274,8 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
274
274
|
af.u = 2;
|
|
275
275
|
var al = (af.gh + intDivide(af.gu, 2));
|
|
276
276
|
var am = (af.gj + intDivide(af.fc, 2));
|
|
277
|
-
var an = (al - b) / this.
|
|
278
|
-
var ao = (am - a) / this.
|
|
277
|
+
var an = (al - b) / this.f.actualVisibleRegion.width;
|
|
278
|
+
var ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
279
279
|
if (af.be) {
|
|
280
280
|
if (!ai) {
|
|
281
281
|
aj.setRawPosition(af.cl, af.cm);
|
|
@@ -283,7 +283,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
283
283
|
}
|
|
284
284
|
if (!ai) {
|
|
285
285
|
if (af.l.d != 0) {
|
|
286
|
-
if (this.
|
|
286
|
+
if (this.f.b2) {
|
|
287
287
|
aj.setRawStyleProperty("clip", this.w(af.l.d, af.cl, af.cm));
|
|
288
288
|
}
|
|
289
289
|
else {
|
|
@@ -311,7 +311,7 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
311
311
|
if (ai && y.b) {
|
|
312
312
|
var aq = y.a;
|
|
313
313
|
aq.aa();
|
|
314
|
-
if (af.l.d != 0 && this.
|
|
314
|
+
if (af.l.d != 0 && this.f.b2) {
|
|
315
315
|
aq.af(this.ax(af.l.d));
|
|
316
316
|
}
|
|
317
317
|
var ar = af.s.nativeCell;
|
|
@@ -370,11 +370,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
370
370
|
this.al(a, false);
|
|
371
371
|
};
|
|
372
372
|
DataGridCellLayoutPanel.prototype.aa = function (a) {
|
|
373
|
-
if (this.
|
|
373
|
+
if (this.f == null) {
|
|
374
374
|
return;
|
|
375
375
|
}
|
|
376
376
|
var b = this.r.rootWrapper.getOffset();
|
|
377
|
-
var c = this.
|
|
377
|
+
var c = this.f.f(a.pageX - b.left, a.pageY - b.top);
|
|
378
378
|
if (c == null) {
|
|
379
379
|
return;
|
|
380
380
|
}
|
|
@@ -415,11 +415,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
415
415
|
this.am(a, true);
|
|
416
416
|
};
|
|
417
417
|
DataGridCellLayoutPanel.prototype.am = function (a, b) {
|
|
418
|
-
if (this.
|
|
418
|
+
if (this.f == null) {
|
|
419
419
|
return;
|
|
420
420
|
}
|
|
421
421
|
var c = this.r.rootWrapper.getOffset();
|
|
422
|
-
var d = this.
|
|
422
|
+
var d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
423
423
|
if (d == null) {
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
@@ -433,11 +433,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
433
433
|
this.al(a, true);
|
|
434
434
|
};
|
|
435
435
|
DataGridCellLayoutPanel.prototype.al = function (a, b) {
|
|
436
|
-
if (this.
|
|
436
|
+
if (this.f == null) {
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
439
439
|
var c = this.r.rootWrapper.getOffset();
|
|
440
|
-
var d = this.
|
|
440
|
+
var d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
441
441
|
if (d == null) {
|
|
442
442
|
return;
|
|
443
443
|
}
|
|
@@ -451,11 +451,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
451
451
|
this.ak(a, true);
|
|
452
452
|
};
|
|
453
453
|
DataGridCellLayoutPanel.prototype.ak = function (a, b) {
|
|
454
|
-
if (this.
|
|
454
|
+
if (this.f == null) {
|
|
455
455
|
return;
|
|
456
456
|
}
|
|
457
457
|
var c = this.r.rootWrapper.getOffset();
|
|
458
|
-
var d = this.
|
|
458
|
+
var d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
459
459
|
if (d == null) {
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
@@ -517,13 +517,13 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
519
|
DataGridCellLayoutPanel.prototype.ax = function (a) {
|
|
520
|
-
var b = this.
|
|
521
|
-
var c = this.
|
|
522
|
-
var d = this.
|
|
523
|
-
var e = this.
|
|
520
|
+
var b = this.f.cr;
|
|
521
|
+
var c = this.f.cm + this.f.cj;
|
|
522
|
+
var d = this.f.cz;
|
|
523
|
+
var e = this.f.ch;
|
|
524
524
|
if (a == 2) {
|
|
525
|
-
c = Math.min(this.
|
|
526
|
-
d = this.
|
|
525
|
+
c = Math.min(this.f.c4, this.f.cp) - this.f.c0 - this.f.ck;
|
|
526
|
+
d = this.f.c0;
|
|
527
527
|
}
|
|
528
528
|
return new Rect(0, c, b, d, e);
|
|
529
529
|
};
|
|
@@ -542,9 +542,9 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
542
542
|
return stringFormat1("rect({0}px, {1}px, {2}px, {3}px)", a.top, a.right, a.bottom, a.left);
|
|
543
543
|
};
|
|
544
544
|
DataGridCellLayoutPanel.prototype.y = function (a) {
|
|
545
|
-
var b = a.cl < this.
|
|
545
|
+
var b = a.cl < this.g.cn ? this.g.cn - a.cl : 0;
|
|
546
546
|
var c = 0;
|
|
547
|
-
var d = this.
|
|
547
|
+
var d = this.g.cy == -1 ? a.gu : (a.cl + a.gu > this.g.co) ? a.gu - (a.cl + a.gu - this.g.co) : a.gu;
|
|
548
548
|
var e = a.fc;
|
|
549
549
|
return this.x(new Rect(0, b, c, d, e));
|
|
550
550
|
};
|
|
@@ -555,11 +555,11 @@ var DataGridCellLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
555
555
|
DataGridCellLayoutPanel.prototype.ai = function (a, b) {
|
|
556
556
|
};
|
|
557
557
|
DataGridCellLayoutPanel.prototype.detach = function () {
|
|
558
|
-
if (this.
|
|
558
|
+
if (this.f == null) {
|
|
559
559
|
return;
|
|
560
560
|
}
|
|
561
|
-
for (var a = 0; a < this.
|
|
562
|
-
var b = this.
|
|
561
|
+
for (var a = 0; a < this.f.cc.count; a++) {
|
|
562
|
+
var b = this.f.cc._inner[a].q;
|
|
563
563
|
for (var c = 0; c < b.count; c++) {
|
|
564
564
|
var d = b._inner[c];
|
|
565
565
|
if (d.s != null && d.s.nativeCell != null) {
|
|
@@ -304,15 +304,15 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
304
304
|
__extends(DataGridToolbar, _super);
|
|
305
305
|
function DataGridToolbar() {
|
|
306
306
|
var _this = _super.call(this) || this;
|
|
307
|
-
_this.e = null;
|
|
308
307
|
_this.c = null;
|
|
309
|
-
_this.
|
|
308
|
+
_this.a = null;
|
|
309
|
+
_this.b = null;
|
|
310
310
|
_this.s = 0;
|
|
311
311
|
_this.t = 0;
|
|
312
312
|
_this.g = null;
|
|
313
313
|
_this.h = null;
|
|
314
314
|
_this.propertyChanged = null;
|
|
315
|
-
_this.
|
|
315
|
+
_this.d = null;
|
|
316
316
|
_this.y = null;
|
|
317
317
|
_this.m = null;
|
|
318
318
|
_this.bd = BrushUtil.h(255, 24, 29, 31);
|
|
@@ -331,38 +331,38 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
331
331
|
_this.t = 0;
|
|
332
332
|
var a = new DataGridToolbarView();
|
|
333
333
|
a.a = _this;
|
|
334
|
-
_this.
|
|
335
|
-
_this.
|
|
334
|
+
_this.c = a;
|
|
335
|
+
_this.c.s();
|
|
336
336
|
return _this;
|
|
337
337
|
}
|
|
338
338
|
DataGridToolbar.prototype.notifySizeChanged = function () {
|
|
339
|
-
this.
|
|
339
|
+
this.c.o();
|
|
340
340
|
};
|
|
341
341
|
DataGridToolbar.prototype.destroy = function () {
|
|
342
342
|
this.provideContainer(null, null, null);
|
|
343
|
-
if (this.
|
|
344
|
-
var a = this.
|
|
343
|
+
if (this.e != null) {
|
|
344
|
+
var a = this.e;
|
|
345
345
|
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
346
|
-
var b = this.
|
|
346
|
+
var b = this.e;
|
|
347
347
|
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.ba));
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
DataGridToolbar.prototype.provideContainer = function (a, b, c) {
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
351
|
+
this.a = b;
|
|
352
|
+
this.b = c;
|
|
353
353
|
this.a6();
|
|
354
354
|
this.a7();
|
|
355
|
-
this.
|
|
355
|
+
this.c.p(a);
|
|
356
356
|
};
|
|
357
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
357
|
+
Object.defineProperty(DataGridToolbar.prototype, "e", {
|
|
358
358
|
get: function () {
|
|
359
|
-
return this.
|
|
359
|
+
return this.d;
|
|
360
360
|
},
|
|
361
361
|
set: function (a) {
|
|
362
|
-
var b = this.
|
|
363
|
-
this.
|
|
364
|
-
if (b != this.
|
|
365
|
-
this.a0("TargetGrid", b, this.
|
|
362
|
+
var b = this.d;
|
|
363
|
+
this.d = a;
|
|
364
|
+
if (b != this.d) {
|
|
365
|
+
this.a0("TargetGrid", b, this.d);
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
368
|
enumerable: false,
|
|
@@ -576,51 +576,51 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
576
576
|
this.a6();
|
|
577
577
|
this.a7();
|
|
578
578
|
this.a8(typeCast(DataGrid.$, b));
|
|
579
|
-
this.
|
|
579
|
+
this.c.ad();
|
|
580
580
|
break;
|
|
581
581
|
case "ToolbarTitle":
|
|
582
|
-
this.
|
|
582
|
+
this.c.y();
|
|
583
583
|
break;
|
|
584
584
|
case "ToolbarTitleStyle":
|
|
585
|
-
this.
|
|
585
|
+
this.c.ai();
|
|
586
586
|
break;
|
|
587
587
|
case "ToolbarTitleColor":
|
|
588
|
-
this.
|
|
588
|
+
this.c.ah();
|
|
589
589
|
break;
|
|
590
590
|
case "BackgroundColor":
|
|
591
|
-
this.
|
|
591
|
+
this.c.z();
|
|
592
592
|
break;
|
|
593
593
|
case "DialogBackgroundColor":
|
|
594
|
-
this.
|
|
595
|
-
if (this.
|
|
596
|
-
this.
|
|
594
|
+
this.c.ac();
|
|
595
|
+
if (this.a != null) {
|
|
596
|
+
this.a.aq = this.bf;
|
|
597
597
|
}
|
|
598
|
-
if (this.
|
|
599
|
-
this.
|
|
598
|
+
if (this.b != null) {
|
|
599
|
+
this.b.an = this.bf;
|
|
600
600
|
}
|
|
601
601
|
break;
|
|
602
602
|
case "ColumnChooser":
|
|
603
603
|
this.a6();
|
|
604
|
-
this.
|
|
604
|
+
this.c.v();
|
|
605
605
|
break;
|
|
606
606
|
case "ColumnChooserText":
|
|
607
|
-
this.
|
|
607
|
+
this.c.ab();
|
|
608
608
|
break;
|
|
609
609
|
case "ColumnChooserTitle":
|
|
610
|
-
if (this.
|
|
611
|
-
this.
|
|
610
|
+
if (this.a != null) {
|
|
611
|
+
this.a.v = this.af;
|
|
612
612
|
}
|
|
613
613
|
break;
|
|
614
614
|
case "ColumnPinning":
|
|
615
615
|
this.a7();
|
|
616
|
-
this.
|
|
616
|
+
this.c.x();
|
|
617
617
|
break;
|
|
618
618
|
case "ColumnPinningText":
|
|
619
|
-
this.
|
|
619
|
+
this.c.ag();
|
|
620
620
|
break;
|
|
621
621
|
case "ColumnPinningTitle":
|
|
622
|
-
if (this.
|
|
623
|
-
this.
|
|
622
|
+
if (this.b != null) {
|
|
623
|
+
this.b.v = this.ak;
|
|
624
624
|
}
|
|
625
625
|
break;
|
|
626
626
|
case "Density":
|
|
@@ -630,41 +630,41 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
630
630
|
this.a4();
|
|
631
631
|
break;
|
|
632
632
|
case "BorderWidth":
|
|
633
|
-
this.
|
|
633
|
+
this.c.aa();
|
|
634
634
|
break;
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
DataGridToolbar.prototype.az = function (a, b) {
|
|
638
638
|
switch (b.propertyName) {
|
|
639
639
|
case "IsToolbarColumnChooserVisible":
|
|
640
|
-
this.q = this.
|
|
640
|
+
this.q = this.e.isToolbarColumnChooserVisible;
|
|
641
641
|
break;
|
|
642
642
|
case "IsToolbarColumnPinningVisible":
|
|
643
|
-
this.r = this.
|
|
643
|
+
this.r = this.e.isToolbarColumnPinningVisible;
|
|
644
644
|
break;
|
|
645
645
|
case "ToolbarTitle":
|
|
646
|
-
this.ar = this.
|
|
646
|
+
this.ar = this.e.toolbarTitle;
|
|
647
647
|
break;
|
|
648
648
|
case "ToolbarColumnChooserText":
|
|
649
|
-
this.ad = this.
|
|
649
|
+
this.ad = this.e.toolbarColumnChooserText;
|
|
650
650
|
break;
|
|
651
651
|
case "ToolbarColumnChooserTitle":
|
|
652
|
-
this.af = this.
|
|
652
|
+
this.af = this.e.toolbarColumnChooserTitle;
|
|
653
653
|
break;
|
|
654
654
|
case "ToolbarColumnPinningText":
|
|
655
|
-
this.ai = this.
|
|
655
|
+
this.ai = this.e.toolbarColumnPinningText;
|
|
656
656
|
break;
|
|
657
657
|
case "ToolbarColumnPinningTitle":
|
|
658
|
-
this.ak = this.
|
|
658
|
+
this.ak = this.e.toolbarColumnPinningTitle;
|
|
659
659
|
break;
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
DataGridToolbar.prototype.a4 = function () {
|
|
663
|
-
if (this.
|
|
664
|
-
this.
|
|
663
|
+
if (this.a != null) {
|
|
664
|
+
this.a.f = this.j;
|
|
665
665
|
}
|
|
666
|
-
if (this.
|
|
667
|
-
this.
|
|
666
|
+
if (this.b != null) {
|
|
667
|
+
this.b.f = this.j;
|
|
668
668
|
}
|
|
669
669
|
if (this.g != null) {
|
|
670
670
|
this.g.n = this.j;
|
|
@@ -675,8 +675,8 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
675
675
|
};
|
|
676
676
|
DataGridToolbar.prototype.a3 = function () {
|
|
677
677
|
if (this.l == 0) {
|
|
678
|
-
if (this.
|
|
679
|
-
this.l = this.
|
|
678
|
+
if (this.e != null) {
|
|
679
|
+
this.l = this.e.density;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
if (this.g != null) {
|
|
@@ -685,13 +685,13 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
685
685
|
if (this.h != null) {
|
|
686
686
|
this.h.r = this.l;
|
|
687
687
|
}
|
|
688
|
-
if (this.
|
|
689
|
-
this.
|
|
688
|
+
if (this.a != null) {
|
|
689
|
+
this.a.h = this.l;
|
|
690
690
|
}
|
|
691
|
-
if (this.
|
|
692
|
-
this.
|
|
691
|
+
if (this.b != null) {
|
|
692
|
+
this.b.h = this.l;
|
|
693
693
|
}
|
|
694
|
-
this.
|
|
694
|
+
this.c.ad();
|
|
695
695
|
};
|
|
696
696
|
DataGridToolbar.prototype.a5 = function (a, b, c, d, e) {
|
|
697
697
|
var f = new XButton();
|
|
@@ -755,28 +755,28 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
755
755
|
f.appendButtonContent(d);
|
|
756
756
|
};
|
|
757
757
|
DataGridToolbar.prototype.av = function () {
|
|
758
|
-
this.
|
|
758
|
+
this.c.l();
|
|
759
759
|
};
|
|
760
760
|
DataGridToolbar.prototype.a6 = function () {
|
|
761
|
-
if (this.q && this.
|
|
761
|
+
if (this.q && this.a != null && this.e != null) {
|
|
762
762
|
if (this.af != null) {
|
|
763
|
-
this.
|
|
763
|
+
this.a.v = this.af;
|
|
764
764
|
}
|
|
765
|
-
this.c
|
|
766
|
-
this.
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
765
|
+
this.a.c = this.e;
|
|
766
|
+
this.a.f = this.j;
|
|
767
|
+
this.a.aq = this.bf;
|
|
768
|
+
this.a.an(new Thickness(1, -16, 3, -16, 3));
|
|
769
769
|
}
|
|
770
770
|
};
|
|
771
771
|
DataGridToolbar.prototype.a7 = function () {
|
|
772
|
-
if (this.r && this.
|
|
772
|
+
if (this.r && this.b != null && this.e != null) {
|
|
773
773
|
if (this.ak != null) {
|
|
774
|
-
this.
|
|
774
|
+
this.b.v = this.ak;
|
|
775
775
|
}
|
|
776
|
-
this.
|
|
777
|
-
this.
|
|
778
|
-
this.
|
|
779
|
-
this.
|
|
776
|
+
this.b.c = this.e;
|
|
777
|
+
this.b.f = this.j;
|
|
778
|
+
this.b.an = this.bf;
|
|
779
|
+
this.b.ak(new Thickness(1, -16, 3, -16, 3));
|
|
780
780
|
}
|
|
781
781
|
};
|
|
782
782
|
DataGridToolbar.prototype.a8 = function (a) {
|
|
@@ -785,41 +785,41 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
785
785
|
a.columnPinnedChanged = delegateRemove(a.columnPinnedChanged, runOn(this, this.ba));
|
|
786
786
|
a.propertyChanged = delegateRemove(a.propertyChanged, runOn(this, this.az));
|
|
787
787
|
}
|
|
788
|
-
if (this.
|
|
789
|
-
var b = this.
|
|
788
|
+
if (this.e != null) {
|
|
789
|
+
var b = this.e;
|
|
790
790
|
b.columnHiddenChanged = delegateCombine(b.columnHiddenChanged, runOn(this, this.a9));
|
|
791
|
-
var c = this.
|
|
791
|
+
var c = this.e;
|
|
792
792
|
c.columnPinnedChanged = delegateCombine(c.columnPinnedChanged, runOn(this, this.ba));
|
|
793
|
-
var d = this.
|
|
793
|
+
var d = this.e;
|
|
794
794
|
d.propertyChanged = delegateCombine(d.propertyChanged, runOn(this, this.az));
|
|
795
795
|
this.ax();
|
|
796
|
-
if (this.
|
|
797
|
-
this.ar = this.
|
|
798
|
-
this.q = this.
|
|
799
|
-
this.ad = this.
|
|
800
|
-
this.af = this.
|
|
801
|
-
this.r = this.
|
|
802
|
-
this.ai = this.
|
|
803
|
-
this.ak = this.
|
|
796
|
+
if (this.e.toolbar != null) {
|
|
797
|
+
this.ar = this.e.toolbarTitle;
|
|
798
|
+
this.q = this.e.isToolbarColumnChooserVisible;
|
|
799
|
+
this.ad = this.e.toolbarColumnChooserText;
|
|
800
|
+
this.af = this.e.toolbarColumnChooserTitle;
|
|
801
|
+
this.r = this.e.isToolbarColumnPinningVisible;
|
|
802
|
+
this.ai = this.e.toolbarColumnPinningText;
|
|
803
|
+
this.ak = this.e.toolbarColumnPinningTitle;
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
807
|
DataGridToolbar.prototype.ax = function () {
|
|
808
|
-
if (this.
|
|
809
|
-
var a = this.
|
|
808
|
+
if (this.e != null) {
|
|
809
|
+
var a = this.e.actualColumns.count;
|
|
810
810
|
this.s = 0;
|
|
811
811
|
this.t = 0;
|
|
812
812
|
for (var b = 0; b < a; b++) {
|
|
813
|
-
if (this.
|
|
813
|
+
if (this.e.actualColumns._inner[b].g7 == true) {
|
|
814
814
|
this.s++;
|
|
815
815
|
}
|
|
816
|
-
if (this.
|
|
816
|
+
if (this.e.actualColumns._inner[b].f6 == 1) {
|
|
817
817
|
this.t++;
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
821
|
+
this.c.ae();
|
|
822
|
+
this.c.af();
|
|
823
823
|
};
|
|
824
824
|
DataGridToolbar.prototype.a9 = function (a, b) {
|
|
825
825
|
this.ax();
|