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
|
@@ -26,8 +26,8 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
26
26
|
get s() {
|
|
27
27
|
return this.r;
|
|
28
28
|
}
|
|
29
|
-
get
|
|
30
|
-
return this.
|
|
29
|
+
get g() {
|
|
30
|
+
return this.f;
|
|
31
31
|
}
|
|
32
32
|
get rootElement() {
|
|
33
33
|
return this._rootElement;
|
|
@@ -37,11 +37,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
37
37
|
}
|
|
38
38
|
constructor(a, b, c) {
|
|
39
39
|
super();
|
|
40
|
-
this.
|
|
40
|
+
this.f = null;
|
|
41
41
|
this.l = false;
|
|
42
42
|
this.r = null;
|
|
43
43
|
this._element = null;
|
|
44
|
-
this.
|
|
44
|
+
this.e = null;
|
|
45
45
|
this.j = false;
|
|
46
46
|
this._rootElement = null;
|
|
47
47
|
this.n = false;
|
|
@@ -63,12 +63,12 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
63
63
|
this.element = this.r.createElement("div");
|
|
64
64
|
this.element.setRawStyleProperty("position", "relative");
|
|
65
65
|
this.element.setRawStyleProperty("box-sizing", "border-box");
|
|
66
|
-
this.refresh(this.
|
|
67
|
-
this.
|
|
66
|
+
this.refresh(this.f, false);
|
|
67
|
+
this.e = b;
|
|
68
68
|
this.j = false;
|
|
69
69
|
}
|
|
70
70
|
refresh(a, b) {
|
|
71
|
-
this.
|
|
71
|
+
this.f = a;
|
|
72
72
|
this.as(b);
|
|
73
73
|
}
|
|
74
74
|
viewportChanged() {
|
|
@@ -85,7 +85,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
85
85
|
this.as(true);
|
|
86
86
|
}
|
|
87
87
|
ar(a) {
|
|
88
|
-
let b = this.
|
|
88
|
+
let b = this.e.b(this.r, a);
|
|
89
89
|
if (b.isCanvasBased) {
|
|
90
90
|
let c = b.nativeCell.ae = false;
|
|
91
91
|
}
|
|
@@ -133,29 +133,29 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
133
133
|
this.n = false;
|
|
134
134
|
this.h();
|
|
135
135
|
}
|
|
136
|
-
if (this.
|
|
136
|
+
if (this.f == null) {
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
|
-
if (Rect.l_op_Equality(this.
|
|
139
|
+
if (Rect.l_op_Equality(this.f.actualVisibleRegion, null) || this.f.actualVisibleRegion.isEmpty) {
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
142
|
this.j = true;
|
|
143
|
-
if (this.p != this.
|
|
144
|
-
this.element.setRawStyleProperty("width", this.
|
|
143
|
+
if (this.p != this.f.absoluteWidth) {
|
|
144
|
+
this.element.setRawStyleProperty("width", this.f.absoluteWidth + "px");
|
|
145
145
|
}
|
|
146
|
-
if (this.o != this.
|
|
147
|
-
this.element.setRawStyleProperty("height", this.
|
|
146
|
+
if (this.o != this.f.absoluteHeight) {
|
|
147
|
+
this.element.setRawStyleProperty("height", this.f.absoluteHeight + "px");
|
|
148
148
|
}
|
|
149
|
-
this.p = this.
|
|
150
|
-
this.o = this.
|
|
151
|
-
let a = this.
|
|
152
|
-
let b = this.
|
|
153
|
-
let c = this.
|
|
149
|
+
this.p = this.f.absoluteWidth;
|
|
150
|
+
this.o = this.f.absoluteHeight;
|
|
151
|
+
let a = this.f.actualVisibleRegion.top;
|
|
152
|
+
let b = this.f.actualVisibleRegion.left;
|
|
153
|
+
let c = this.f.cc;
|
|
154
154
|
let d = c.count;
|
|
155
|
-
let e = this.
|
|
156
|
-
let f = this.
|
|
155
|
+
let e = this.f.bz;
|
|
156
|
+
let f = this.f.bz.o;
|
|
157
157
|
let g = f.count;
|
|
158
|
-
let h = this.
|
|
158
|
+
let h = this.f.bz.p;
|
|
159
159
|
for (let i = 0; i < g; i++) {
|
|
160
160
|
if (h._inner[i]) {
|
|
161
161
|
continue;
|
|
@@ -180,7 +180,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
180
180
|
continue;
|
|
181
181
|
}
|
|
182
182
|
let v = r._inner[u];
|
|
183
|
-
let w = this.
|
|
183
|
+
let w = this.e.b(this.r, v);
|
|
184
184
|
if (!w.isCanvasBased) {
|
|
185
185
|
o = false;
|
|
186
186
|
}
|
|
@@ -220,10 +220,10 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
220
220
|
continue;
|
|
221
221
|
}
|
|
222
222
|
let af = ab._inner[ae];
|
|
223
|
-
let ag = this.
|
|
223
|
+
let ag = this.e.b(this.r, af);
|
|
224
224
|
if (ag.isCanvasBased) {
|
|
225
225
|
let ah = y.a;
|
|
226
|
-
this.aw(y, aa, af, this.
|
|
226
|
+
this.aw(y, aa, af, this.f, x, m, o);
|
|
227
227
|
if (y.a != ah && m) {
|
|
228
228
|
x++;
|
|
229
229
|
}
|
|
@@ -248,8 +248,8 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
248
248
|
af.u = 2;
|
|
249
249
|
let al = (af.gh + intDivide(af.gu, 2));
|
|
250
250
|
let am = (af.gj + intDivide(af.fc, 2));
|
|
251
|
-
let an = (al - b) / this.
|
|
252
|
-
let ao = (am - a) / this.
|
|
251
|
+
let an = (al - b) / this.f.actualVisibleRegion.width;
|
|
252
|
+
let ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
253
253
|
if (af.be) {
|
|
254
254
|
if (!ai) {
|
|
255
255
|
aj.setRawPosition(af.cl, af.cm);
|
|
@@ -257,7 +257,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
257
257
|
}
|
|
258
258
|
if (!ai) {
|
|
259
259
|
if (af.l.d != 0) {
|
|
260
|
-
if (this.
|
|
260
|
+
if (this.f.b2) {
|
|
261
261
|
aj.setRawStyleProperty("clip", this.w(af.l.d, af.cl, af.cm));
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
@@ -285,7 +285,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
285
285
|
if (ai && y.b) {
|
|
286
286
|
let aq = y.a;
|
|
287
287
|
aq.aa();
|
|
288
|
-
if (af.l.d != 0 && this.
|
|
288
|
+
if (af.l.d != 0 && this.f.b2) {
|
|
289
289
|
aq.af(this.ax(af.l.d));
|
|
290
290
|
}
|
|
291
291
|
let ar = af.s.nativeCell;
|
|
@@ -344,11 +344,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
344
344
|
this.al(a, false);
|
|
345
345
|
}
|
|
346
346
|
aa(a) {
|
|
347
|
-
if (this.
|
|
347
|
+
if (this.f == null) {
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
350
|
let b = this.r.rootWrapper.getOffset();
|
|
351
|
-
let c = this.
|
|
351
|
+
let c = this.f.f(a.pageX - b.left, a.pageY - b.top);
|
|
352
352
|
if (c == null) {
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
@@ -389,11 +389,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
389
389
|
this.am(a, true);
|
|
390
390
|
}
|
|
391
391
|
am(a, b) {
|
|
392
|
-
if (this.
|
|
392
|
+
if (this.f == null) {
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
395
|
let c = this.r.rootWrapper.getOffset();
|
|
396
|
-
let d = this.
|
|
396
|
+
let d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
397
397
|
if (d == null) {
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
@@ -407,11 +407,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
407
407
|
this.al(a, true);
|
|
408
408
|
}
|
|
409
409
|
al(a, b) {
|
|
410
|
-
if (this.
|
|
410
|
+
if (this.f == null) {
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
413
|
let c = this.r.rootWrapper.getOffset();
|
|
414
|
-
let d = this.
|
|
414
|
+
let d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
415
415
|
if (d == null) {
|
|
416
416
|
return;
|
|
417
417
|
}
|
|
@@ -425,11 +425,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
425
425
|
this.ak(a, true);
|
|
426
426
|
}
|
|
427
427
|
ak(a, b) {
|
|
428
|
-
if (this.
|
|
428
|
+
if (this.f == null) {
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
431
|
let c = this.r.rootWrapper.getOffset();
|
|
432
|
-
let d = this.
|
|
432
|
+
let d = this.f.f(a.pageX - c.left, a.pageY - c.top);
|
|
433
433
|
if (d == null) {
|
|
434
434
|
return;
|
|
435
435
|
}
|
|
@@ -491,13 +491,13 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
ax(a) {
|
|
494
|
-
let b = this.
|
|
495
|
-
let c = this.
|
|
496
|
-
let d = this.
|
|
497
|
-
let e = this.
|
|
494
|
+
let b = this.f.cr;
|
|
495
|
+
let c = this.f.cm + this.f.cj;
|
|
496
|
+
let d = this.f.cz;
|
|
497
|
+
let e = this.f.ch;
|
|
498
498
|
if (a == 2) {
|
|
499
|
-
c = Math.min(this.
|
|
500
|
-
d = this.
|
|
499
|
+
c = Math.min(this.f.c4, this.f.cp) - this.f.c0 - this.f.ck;
|
|
500
|
+
d = this.f.c0;
|
|
501
501
|
}
|
|
502
502
|
return new Rect(0, c, b, d, e);
|
|
503
503
|
}
|
|
@@ -516,9 +516,9 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
516
516
|
return stringFormat1("rect({0}px, {1}px, {2}px, {3}px)", a.top, a.right, a.bottom, a.left);
|
|
517
517
|
}
|
|
518
518
|
y(a) {
|
|
519
|
-
let b = a.cl < this.
|
|
519
|
+
let b = a.cl < this.g.cn ? this.g.cn - a.cl : 0;
|
|
520
520
|
let c = 0;
|
|
521
|
-
let d = this.
|
|
521
|
+
let 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;
|
|
522
522
|
let e = a.fc;
|
|
523
523
|
return this.x(new Rect(0, b, c, d, e));
|
|
524
524
|
}
|
|
@@ -529,11 +529,11 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
529
529
|
ai(a, b) {
|
|
530
530
|
}
|
|
531
531
|
detach() {
|
|
532
|
-
if (this.
|
|
532
|
+
if (this.f == null) {
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
|
-
for (let a = 0; a < this.
|
|
536
|
-
let b = this.
|
|
535
|
+
for (let a = 0; a < this.f.cc.count; a++) {
|
|
536
|
+
let b = this.f.cc._inner[a].q;
|
|
537
537
|
for (let c = 0; c < b.count; c++) {
|
|
538
538
|
let d = b._inner[c];
|
|
539
539
|
if (d.s != null && d.s.nativeCell != null) {
|
|
@@ -302,15 +302,15 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
302
302
|
class DataGridToolbar extends Base {
|
|
303
303
|
constructor() {
|
|
304
304
|
super();
|
|
305
|
-
this.e = null;
|
|
306
305
|
this.c = null;
|
|
307
|
-
this.
|
|
306
|
+
this.a = null;
|
|
307
|
+
this.b = null;
|
|
308
308
|
this.s = 0;
|
|
309
309
|
this.t = 0;
|
|
310
310
|
this.g = null;
|
|
311
311
|
this.h = null;
|
|
312
312
|
this.propertyChanged = null;
|
|
313
|
-
this.
|
|
313
|
+
this.d = null;
|
|
314
314
|
this.y = null;
|
|
315
315
|
this.m = null;
|
|
316
316
|
this.bd = BrushUtil.h(255, 24, 29, 31);
|
|
@@ -329,36 +329,36 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
329
329
|
this.t = 0;
|
|
330
330
|
let a = new DataGridToolbarView();
|
|
331
331
|
a.a = this;
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
332
|
+
this.c = a;
|
|
333
|
+
this.c.s();
|
|
334
334
|
}
|
|
335
335
|
notifySizeChanged() {
|
|
336
|
-
this.
|
|
336
|
+
this.c.o();
|
|
337
337
|
}
|
|
338
338
|
destroy() {
|
|
339
339
|
this.provideContainer(null, null, null);
|
|
340
|
-
if (this.
|
|
341
|
-
let a = this.
|
|
340
|
+
if (this.e != null) {
|
|
341
|
+
let a = this.e;
|
|
342
342
|
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
343
|
-
let b = this.
|
|
343
|
+
let b = this.e;
|
|
344
344
|
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.ba));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
provideContainer(a, b, c) {
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
348
|
+
this.a = b;
|
|
349
|
+
this.b = c;
|
|
350
350
|
this.a6();
|
|
351
351
|
this.a7();
|
|
352
|
-
this.
|
|
352
|
+
this.c.p(a);
|
|
353
353
|
}
|
|
354
|
-
get
|
|
355
|
-
return this.
|
|
354
|
+
get e() {
|
|
355
|
+
return this.d;
|
|
356
356
|
}
|
|
357
|
-
set
|
|
358
|
-
let b = this.
|
|
359
|
-
this.
|
|
360
|
-
if (b != this.
|
|
361
|
-
this.a0("TargetGrid", b, this.
|
|
357
|
+
set e(a) {
|
|
358
|
+
let b = this.d;
|
|
359
|
+
this.d = a;
|
|
360
|
+
if (b != this.d) {
|
|
361
|
+
this.a0("TargetGrid", b, this.d);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
get ar() {
|
|
@@ -513,51 +513,51 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
513
513
|
this.a6();
|
|
514
514
|
this.a7();
|
|
515
515
|
this.a8(typeCast(DataGrid.$, b));
|
|
516
|
-
this.
|
|
516
|
+
this.c.ad();
|
|
517
517
|
break;
|
|
518
518
|
case "ToolbarTitle":
|
|
519
|
-
this.
|
|
519
|
+
this.c.y();
|
|
520
520
|
break;
|
|
521
521
|
case "ToolbarTitleStyle":
|
|
522
|
-
this.
|
|
522
|
+
this.c.ai();
|
|
523
523
|
break;
|
|
524
524
|
case "ToolbarTitleColor":
|
|
525
|
-
this.
|
|
525
|
+
this.c.ah();
|
|
526
526
|
break;
|
|
527
527
|
case "BackgroundColor":
|
|
528
|
-
this.
|
|
528
|
+
this.c.z();
|
|
529
529
|
break;
|
|
530
530
|
case "DialogBackgroundColor":
|
|
531
|
-
this.
|
|
532
|
-
if (this.
|
|
533
|
-
this.
|
|
531
|
+
this.c.ac();
|
|
532
|
+
if (this.a != null) {
|
|
533
|
+
this.a.aq = this.bf;
|
|
534
534
|
}
|
|
535
|
-
if (this.
|
|
536
|
-
this.
|
|
535
|
+
if (this.b != null) {
|
|
536
|
+
this.b.an = this.bf;
|
|
537
537
|
}
|
|
538
538
|
break;
|
|
539
539
|
case "ColumnChooser":
|
|
540
540
|
this.a6();
|
|
541
|
-
this.
|
|
541
|
+
this.c.v();
|
|
542
542
|
break;
|
|
543
543
|
case "ColumnChooserText":
|
|
544
|
-
this.
|
|
544
|
+
this.c.ab();
|
|
545
545
|
break;
|
|
546
546
|
case "ColumnChooserTitle":
|
|
547
|
-
if (this.
|
|
548
|
-
this.
|
|
547
|
+
if (this.a != null) {
|
|
548
|
+
this.a.v = this.af;
|
|
549
549
|
}
|
|
550
550
|
break;
|
|
551
551
|
case "ColumnPinning":
|
|
552
552
|
this.a7();
|
|
553
|
-
this.
|
|
553
|
+
this.c.x();
|
|
554
554
|
break;
|
|
555
555
|
case "ColumnPinningText":
|
|
556
|
-
this.
|
|
556
|
+
this.c.ag();
|
|
557
557
|
break;
|
|
558
558
|
case "ColumnPinningTitle":
|
|
559
|
-
if (this.
|
|
560
|
-
this.
|
|
559
|
+
if (this.b != null) {
|
|
560
|
+
this.b.v = this.ak;
|
|
561
561
|
}
|
|
562
562
|
break;
|
|
563
563
|
case "Density":
|
|
@@ -567,41 +567,41 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
567
567
|
this.a4();
|
|
568
568
|
break;
|
|
569
569
|
case "BorderWidth":
|
|
570
|
-
this.
|
|
570
|
+
this.c.aa();
|
|
571
571
|
break;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
az(a, b) {
|
|
575
575
|
switch (b.propertyName) {
|
|
576
576
|
case "IsToolbarColumnChooserVisible":
|
|
577
|
-
this.q = this.
|
|
577
|
+
this.q = this.e.isToolbarColumnChooserVisible;
|
|
578
578
|
break;
|
|
579
579
|
case "IsToolbarColumnPinningVisible":
|
|
580
|
-
this.r = this.
|
|
580
|
+
this.r = this.e.isToolbarColumnPinningVisible;
|
|
581
581
|
break;
|
|
582
582
|
case "ToolbarTitle":
|
|
583
|
-
this.ar = this.
|
|
583
|
+
this.ar = this.e.toolbarTitle;
|
|
584
584
|
break;
|
|
585
585
|
case "ToolbarColumnChooserText":
|
|
586
|
-
this.ad = this.
|
|
586
|
+
this.ad = this.e.toolbarColumnChooserText;
|
|
587
587
|
break;
|
|
588
588
|
case "ToolbarColumnChooserTitle":
|
|
589
|
-
this.af = this.
|
|
589
|
+
this.af = this.e.toolbarColumnChooserTitle;
|
|
590
590
|
break;
|
|
591
591
|
case "ToolbarColumnPinningText":
|
|
592
|
-
this.ai = this.
|
|
592
|
+
this.ai = this.e.toolbarColumnPinningText;
|
|
593
593
|
break;
|
|
594
594
|
case "ToolbarColumnPinningTitle":
|
|
595
|
-
this.ak = this.
|
|
595
|
+
this.ak = this.e.toolbarColumnPinningTitle;
|
|
596
596
|
break;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
a4() {
|
|
600
|
-
if (this.
|
|
601
|
-
this.
|
|
600
|
+
if (this.a != null) {
|
|
601
|
+
this.a.f = this.j;
|
|
602
602
|
}
|
|
603
|
-
if (this.
|
|
604
|
-
this.
|
|
603
|
+
if (this.b != null) {
|
|
604
|
+
this.b.f = this.j;
|
|
605
605
|
}
|
|
606
606
|
if (this.g != null) {
|
|
607
607
|
this.g.n = this.j;
|
|
@@ -612,8 +612,8 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
612
612
|
}
|
|
613
613
|
a3() {
|
|
614
614
|
if (this.l == 0) {
|
|
615
|
-
if (this.
|
|
616
|
-
this.l = this.
|
|
615
|
+
if (this.e != null) {
|
|
616
|
+
this.l = this.e.density;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
if (this.g != null) {
|
|
@@ -622,13 +622,13 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
622
622
|
if (this.h != null) {
|
|
623
623
|
this.h.r = this.l;
|
|
624
624
|
}
|
|
625
|
-
if (this.
|
|
626
|
-
this.
|
|
625
|
+
if (this.a != null) {
|
|
626
|
+
this.a.h = this.l;
|
|
627
627
|
}
|
|
628
|
-
if (this.
|
|
629
|
-
this.
|
|
628
|
+
if (this.b != null) {
|
|
629
|
+
this.b.h = this.l;
|
|
630
630
|
}
|
|
631
|
-
this.
|
|
631
|
+
this.c.ad();
|
|
632
632
|
}
|
|
633
633
|
a5(a, b, c, d, e) {
|
|
634
634
|
let f = new XButton();
|
|
@@ -692,28 +692,28 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
692
692
|
f.appendButtonContent(d);
|
|
693
693
|
}
|
|
694
694
|
av() {
|
|
695
|
-
this.
|
|
695
|
+
this.c.l();
|
|
696
696
|
}
|
|
697
697
|
a6() {
|
|
698
|
-
if (this.q && this.
|
|
698
|
+
if (this.q && this.a != null && this.e != null) {
|
|
699
699
|
if (this.af != null) {
|
|
700
|
-
this.
|
|
700
|
+
this.a.v = this.af;
|
|
701
701
|
}
|
|
702
|
-
this.c
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
702
|
+
this.a.c = this.e;
|
|
703
|
+
this.a.f = this.j;
|
|
704
|
+
this.a.aq = this.bf;
|
|
705
|
+
this.a.an(new Thickness(1, -16, 3, -16, 3));
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
a7() {
|
|
709
|
-
if (this.r && this.
|
|
709
|
+
if (this.r && this.b != null && this.e != null) {
|
|
710
710
|
if (this.ak != null) {
|
|
711
|
-
this.
|
|
711
|
+
this.b.v = this.ak;
|
|
712
712
|
}
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
716
|
-
this.
|
|
713
|
+
this.b.c = this.e;
|
|
714
|
+
this.b.f = this.j;
|
|
715
|
+
this.b.an = this.bf;
|
|
716
|
+
this.b.ak(new Thickness(1, -16, 3, -16, 3));
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
a8(a) {
|
|
@@ -722,41 +722,41 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
722
722
|
a.columnPinnedChanged = delegateRemove(a.columnPinnedChanged, runOn(this, this.ba));
|
|
723
723
|
a.propertyChanged = delegateRemove(a.propertyChanged, runOn(this, this.az));
|
|
724
724
|
}
|
|
725
|
-
if (this.
|
|
726
|
-
let b = this.
|
|
725
|
+
if (this.e != null) {
|
|
726
|
+
let b = this.e;
|
|
727
727
|
b.columnHiddenChanged = delegateCombine(b.columnHiddenChanged, runOn(this, this.a9));
|
|
728
|
-
let c = this.
|
|
728
|
+
let c = this.e;
|
|
729
729
|
c.columnPinnedChanged = delegateCombine(c.columnPinnedChanged, runOn(this, this.ba));
|
|
730
|
-
let d = this.
|
|
730
|
+
let d = this.e;
|
|
731
731
|
d.propertyChanged = delegateCombine(d.propertyChanged, runOn(this, this.az));
|
|
732
732
|
this.ax();
|
|
733
|
-
if (this.
|
|
734
|
-
this.ar = this.
|
|
735
|
-
this.q = this.
|
|
736
|
-
this.ad = this.
|
|
737
|
-
this.af = this.
|
|
738
|
-
this.r = this.
|
|
739
|
-
this.ai = this.
|
|
740
|
-
this.ak = this.
|
|
733
|
+
if (this.e.toolbar != null) {
|
|
734
|
+
this.ar = this.e.toolbarTitle;
|
|
735
|
+
this.q = this.e.isToolbarColumnChooserVisible;
|
|
736
|
+
this.ad = this.e.toolbarColumnChooserText;
|
|
737
|
+
this.af = this.e.toolbarColumnChooserTitle;
|
|
738
|
+
this.r = this.e.isToolbarColumnPinningVisible;
|
|
739
|
+
this.ai = this.e.toolbarColumnPinningText;
|
|
740
|
+
this.ak = this.e.toolbarColumnPinningTitle;
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
ax() {
|
|
745
|
-
if (this.
|
|
746
|
-
let a = this.
|
|
745
|
+
if (this.e != null) {
|
|
746
|
+
let a = this.e.actualColumns.count;
|
|
747
747
|
this.s = 0;
|
|
748
748
|
this.t = 0;
|
|
749
749
|
for (let b = 0; b < a; b++) {
|
|
750
|
-
if (this.
|
|
750
|
+
if (this.e.actualColumns._inner[b].g7 == true) {
|
|
751
751
|
this.s++;
|
|
752
752
|
}
|
|
753
|
-
if (this.
|
|
753
|
+
if (this.e.actualColumns._inner[b].f6 == 1) {
|
|
754
754
|
this.t++;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
this.
|
|
759
|
-
this.
|
|
758
|
+
this.c.ae();
|
|
759
|
+
this.c.af();
|
|
760
760
|
}
|
|
761
761
|
a9(a, b) {
|
|
762
762
|
this.ax();
|