igniteui-webcomponents-grids 4.8.1 → 5.0.0-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 +1078 -600
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +171 -0
- package/esm2015/lib/CheckboxListExternal.js +11 -0
- package/esm2015/lib/CheckboxListViewExternal.js +11 -0
- package/esm2015/lib/CheckboxListView_combined.js +554 -441
- package/esm2015/lib/CheckedChangedEventArgs.js +3 -2
- package/esm2015/lib/ColumnChooserView_combined.js +15 -15
- package/esm2015/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +12 -12
- package/esm2015/lib/DateEditorView.js +12 -12
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/ISummaryChooserView_combined.js +17 -17
- package/esm2015/lib/NativeUIGridFactory.js +66 -0
- package/esm2015/lib/PagerVisualModelExport.js +4 -4
- package/esm2015/lib/igc-checkbox-list-component.js +159 -93
- package/esm2015/lib/igc-checkbox-list-module.js +3 -0
- package/esm2015/lib/igc-checked-changed-event-args.js +14 -4
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/CheckboxListBridge.js +173 -0
- package/esm5/lib/CheckboxListExternal.js +11 -0
- package/esm5/lib/CheckboxListViewExternal.js +11 -0
- package/esm5/lib/CheckboxListView_combined.js +541 -422
- package/esm5/lib/CheckedChangedEventArgs.js +3 -2
- package/esm5/lib/ColumnChooserView_combined.js +15 -15
- package/esm5/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +12 -12
- package/esm5/lib/DateEditorView.js +12 -12
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/ISummaryChooserView_combined.js +17 -17
- package/esm5/lib/NativeUIGridFactory.js +76 -0
- package/esm5/lib/PagerVisualModelExport.js +4 -4
- package/esm5/lib/igc-checkbox-list-component.js +173 -93
- package/esm5/lib/igc-checkbox-list-module.js +3 -0
- package/esm5/lib/igc-checked-changed-event-args.js +17 -3
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-webcomponents-grids.js +1065 -623
- package/fesm5/igniteui-webcomponents-grids.js +1077 -603
- package/grids/combined.js +36783 -38660
- package/grids/index.d.ts +8 -8
- package/grids/lib/igc-action-strip-component.d.ts +4 -4
- package/grids/lib/igc-action-strip-token.d.ts +16 -0
- package/grids/lib/igc-base-exporter.d.ts +0 -4
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +1 -1
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -8
- package/grids/lib/igc-column-component.d.ts +15 -101
- package/grids/lib/igc-column-group-component.d.ts +94 -1
- package/grids/lib/igc-column-layout-component.d.ts +11 -0
- package/grids/lib/igc-column-pipe-args.d.ts +1 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +1 -0
- package/grids/lib/igc-column-state.d.ts +0 -4
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +2 -0
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +34 -21
- package/grids/lib/igc-grid-component.d.ts +1 -1
- package/grids/lib/igc-grid-context-menu-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +11 -3
- package/grids/lib/igc-grid-edit-event-args.d.ts +12 -3
- package/grids/lib/igc-grid-paginator-template-context.d.ts +19 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +0 -3
- package/grids/lib/igc-grid-row-event-args.d.ts +27 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-component.d.ts +3 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +5 -10
- package/grids/lib/igc-header-type.d.ts +0 -5
- package/grids/lib/igc-hierarchical-grid-component.d.ts +2 -2
- package/grids/lib/igc-paginator-component.d.ts +6 -22
- package/grids/lib/igc-pin-row-event-args.d.ts +5 -1
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-configuration.d.ts +0 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +2 -1
- package/grids/lib/igc-pivot-date-dimension.d.ts +3 -0
- package/grids/lib/igc-pivot-dimension.d.ts +12 -1
- package/grids/lib/igc-pivot-grid-component.d.ts +29 -19
- package/grids/lib/igc-pivot-grid-record.d.ts +8 -0
- package/grids/lib/igc-pivot-ui-settings.d.ts +28 -0
- package/grids/lib/igc-pivot-value.d.ts +0 -2
- package/grids/lib/igc-position-settings.d.ts +1 -10
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +61 -0
- package/grids/lib/igc-row-data-event-args.d.ts +10 -0
- package/grids/lib/igc-row-directive.d.ts +0 -5
- package/grids/lib/igc-row-island-component.d.ts +50 -146
- package/grids/lib/igc-row-toggle-event-args.d.ts +7 -1
- package/grids/lib/igc-sorting-options.d.ts +0 -1
- package/grids/lib/igc-tree-grid-component.d.ts +15 -18
- package/grids/lib/pivot-row-layout-type.d.ts +3 -0
- package/grids/lib/pivot-summary-position.d.ts +3 -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/CheckboxListBridge.d.ts +29 -0
- package/lib/CheckboxListExternal.d.ts +29 -0
- package/lib/CheckboxListViewExternal.d.ts +16 -0
- package/lib/CheckboxListView_combined.d.ts +130 -121
- package/lib/CheckedChangedEventArgs.d.ts +3 -2
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/lib/DateEditorView.d.ts +2 -2
- package/lib/NativeUIGridFactory.d.ts +19 -0
- package/lib/igc-checkbox-list-component.d.ts +19 -0
- package/lib/igc-checked-changed-event-args.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
- package/grids/3rdpartylicenses.txt +0 -705
- package/grids/lib/display-density.d.ts +0 -3
- package/grids/lib/igc-child-grid-row-component.d.ts +0 -59
- package/grids/lib/igc-density-changed-event-args.d.ts +0 -21
- package/grids/lib/igc-display-density-base.d.ts +0 -45
- package/grids/lib/igc-grid-filtering-cell-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-group-component.d.ts +0 -16
- package/grids/lib/igc-toggle-directive.d.ts +0 -171
|
@@ -13,8 +13,9 @@ var CheckedChangedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
13
13
|
__extends(CheckedChangedEventArgs, _super);
|
|
14
14
|
function CheckedChangedEventArgs() {
|
|
15
15
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
_this.
|
|
17
|
-
_this.
|
|
16
|
+
_this.c = 0;
|
|
17
|
+
_this.b = false;
|
|
18
|
+
_this.a = null;
|
|
18
19
|
return _this;
|
|
19
20
|
}
|
|
20
21
|
CheckedChangedEventArgs.$t = markType(CheckedChangedEventArgs, 'CheckedChangedEventArgs');
|
|
@@ -299,7 +299,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
299
299
|
break;
|
|
300
300
|
case "FilterPlaceholderText":
|
|
301
301
|
if (this.d != null) {
|
|
302
|
-
this.d.
|
|
302
|
+
this.d.bi = this.s;
|
|
303
303
|
}
|
|
304
304
|
break;
|
|
305
305
|
case "BaseTheme":
|
|
@@ -310,7 +310,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
310
310
|
break;
|
|
311
311
|
case "BackgroundColor":
|
|
312
312
|
if (this.d != null) {
|
|
313
|
-
this.d.
|
|
313
|
+
this.d.dn = this.aq;
|
|
314
314
|
}
|
|
315
315
|
this.c.i();
|
|
316
316
|
break;
|
|
@@ -318,12 +318,12 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
318
318
|
};
|
|
319
319
|
ColumnChooser.prototype.ak = function () {
|
|
320
320
|
if (this.d != null) {
|
|
321
|
-
this.d.
|
|
321
|
+
this.d.aa = this.f;
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
ColumnChooser.prototype.aj = function () {
|
|
325
325
|
if (this.d != null) {
|
|
326
|
-
this.d.
|
|
326
|
+
this.d.ac = this.h;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
ColumnChooser.prototype.am = function (a, b) {
|
|
@@ -338,9 +338,9 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
338
338
|
ColumnChooser.prototype.aa = function () {
|
|
339
339
|
var e_1, _a;
|
|
340
340
|
if (this.a != null && this.d != null) {
|
|
341
|
-
this.d.
|
|
342
|
-
this.d.
|
|
343
|
-
this.d.
|
|
341
|
+
this.d.aa = this.f;
|
|
342
|
+
this.d.ac = this.h;
|
|
343
|
+
this.d.dn = this.aq;
|
|
344
344
|
var a = void 0;
|
|
345
345
|
var b = new ObservableCollection$1(ColumnChooserInfo.$, 0);
|
|
346
346
|
try {
|
|
@@ -370,16 +370,16 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
if (this.s != null) {
|
|
373
|
-
this.d.
|
|
373
|
+
this.d.bi = this.s;
|
|
374
374
|
}
|
|
375
375
|
this.d.itemsSource = b;
|
|
376
376
|
var e = "";
|
|
377
377
|
var f = "";
|
|
378
378
|
e = "columnName";
|
|
379
379
|
f = "isNotHidden";
|
|
380
|
-
this.d.
|
|
381
|
-
this.d.
|
|
382
|
-
this.d.
|
|
380
|
+
this.d.b3 = f;
|
|
381
|
+
this.d.be = e;
|
|
382
|
+
this.d.au = true;
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
ColumnChooser.prototype.an = function (a) {
|
|
@@ -389,7 +389,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
389
389
|
};
|
|
390
390
|
ColumnChooser.prototype.al = function () {
|
|
391
391
|
var e_2, _a;
|
|
392
|
-
this.d.
|
|
392
|
+
this.d.c2();
|
|
393
393
|
if (this.a != null) {
|
|
394
394
|
try {
|
|
395
395
|
for (var _b = __values(fromEnum(this.a.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -415,7 +415,7 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
415
415
|
};
|
|
416
416
|
ColumnChooser.prototype.ae = function () {
|
|
417
417
|
var e_3, _a;
|
|
418
|
-
this.d.
|
|
418
|
+
this.d.cc();
|
|
419
419
|
if (this.a != null) {
|
|
420
420
|
try {
|
|
421
421
|
for (var _b = __values(fromEnum(this.a.actualColumns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -450,11 +450,11 @@ var ColumnChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
450
450
|
};
|
|
451
451
|
ColumnChooser.prototype.ac = function (a, b) {
|
|
452
452
|
this.m = true;
|
|
453
|
-
var c = this.d.h.actualDataSource.getItemAtIndex(b.
|
|
453
|
+
var c = this.d.h.actualDataSource.getItemAtIndex(b.c);
|
|
454
454
|
var d = this.a.actualColumns.count;
|
|
455
455
|
for (var e = 0; e < d; e++) {
|
|
456
456
|
if (this.a.actualColumns._inner[e].i8 == c.columnName || this.a.actualColumns._inner[e].jz == c.columnName || this.a.actualColumns._inner[e].jf == c.columnName) {
|
|
457
|
-
this.a.actualColumns._inner[e].g7 = !b.
|
|
457
|
+
this.a.actualColumns._inner[e].g7 = !b.b;
|
|
458
458
|
this.a.actualColumns._inner[e].ki("Hidden");
|
|
459
459
|
}
|
|
460
460
|
}
|
|
@@ -5695,7 +5695,7 @@ var Pager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5695
5695
|
if (this.b.isVirtual) {
|
|
5696
5696
|
this.b.firstVisibleIndexRequested = a;
|
|
5697
5697
|
this.b.lastVisibleIndexRequested = a + this.ah;
|
|
5698
|
-
this.d.
|
|
5698
|
+
this.d.eb = false;
|
|
5699
5699
|
}
|
|
5700
5700
|
this.b2();
|
|
5701
5701
|
this.ac.clear();
|
|
@@ -5706,7 +5706,7 @@ var Pager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5706
5706
|
var c = this.b.getItemAtIndex(b);
|
|
5707
5707
|
this.ac.add1(c);
|
|
5708
5708
|
if (c != null) {
|
|
5709
|
-
this.d.
|
|
5709
|
+
this.d.eb = true;
|
|
5710
5710
|
}
|
|
5711
5711
|
}
|
|
5712
5712
|
var d = new Array(this.ac.count);
|
|
@@ -5717,7 +5717,7 @@ var Pager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5717
5717
|
if (this.targetGrid != null) {
|
|
5718
5718
|
this.targetGrid.actualDataSource.queueAutoRefresh();
|
|
5719
5719
|
this.targetGrid.actualDataSource.flushAutoRefresh();
|
|
5720
|
-
if (this.b.isVirtual && this.d.
|
|
5720
|
+
if (this.b.isVirtual && this.d.eb) {
|
|
5721
5721
|
this.targetGrid.v4(0, this.ao - 1);
|
|
5722
5722
|
}
|
|
5723
5723
|
else {
|
|
@@ -5748,7 +5748,7 @@ var Pager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5748
5748
|
this.b.summaryScope = this.p;
|
|
5749
5749
|
var b = this.b;
|
|
5750
5750
|
b.schemaChanged = delegateCombine(b.schemaChanged, runOn(this, this.bj));
|
|
5751
|
-
this.d.
|
|
5751
|
+
this.d.ea = this.b;
|
|
5752
5752
|
switch (this.l) {
|
|
5753
5753
|
case 1:
|
|
5754
5754
|
case 0:
|
|
@@ -6126,16 +6126,16 @@ var PagedDataProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6126
6126
|
__extends(PagedDataProvider, _super);
|
|
6127
6127
|
function PagedDataProvider(a) {
|
|
6128
6128
|
var _this = _super.call(this) || this;
|
|
6129
|
-
_this.
|
|
6130
|
-
_this.
|
|
6129
|
+
_this.av = null;
|
|
6130
|
+
_this.av = a;
|
|
6131
6131
|
return _this;
|
|
6132
6132
|
}
|
|
6133
6133
|
PagedDataProvider.prototype.getItemValue = function (a, b) {
|
|
6134
6134
|
if (a == null) {
|
|
6135
6135
|
return null;
|
|
6136
6136
|
}
|
|
6137
|
-
if (this.
|
|
6138
|
-
var c = this.
|
|
6137
|
+
if (this.av.actualDataSource.isVirtual) {
|
|
6138
|
+
var c = this.av.actualDataSource;
|
|
6139
6139
|
return c.actualDataProvider.getItemValue(a, b);
|
|
6140
6140
|
}
|
|
6141
6141
|
return _super.prototype.getItemValue.call(this, a, b);
|
|
@@ -1021,10 +1021,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1021
1021
|
for (var k = 0; k < j.count; k++) {
|
|
1022
1022
|
var l = this.q._inner[k].au();
|
|
1023
1023
|
var m = this.d.b(j._inner[k]);
|
|
1024
|
-
l.
|
|
1025
|
-
l.
|
|
1026
|
-
l.
|
|
1027
|
-
l.
|
|
1024
|
+
l.i = m[0] - d;
|
|
1025
|
+
l.g = m[1] - e;
|
|
1026
|
+
l.f = NativeUI.d(j._inner[k]);
|
|
1027
|
+
l.j = NativeUI.k(j._inner[k]);
|
|
1028
1028
|
a.d.add(l);
|
|
1029
1029
|
}
|
|
1030
1030
|
if (this.k != null) {
|
|
@@ -298,7 +298,7 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
298
298
|
break;
|
|
299
299
|
case "FilterPlaceholderText":
|
|
300
300
|
if (this.d != null) {
|
|
301
|
-
this.d.
|
|
301
|
+
this.d.bi = this.s;
|
|
302
302
|
}
|
|
303
303
|
break;
|
|
304
304
|
case "BaseTheme":
|
|
@@ -309,7 +309,7 @@ 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.dn = this.an;
|
|
313
313
|
}
|
|
314
314
|
this.c.g();
|
|
315
315
|
break;
|
|
@@ -317,12 +317,12 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
317
317
|
};
|
|
318
318
|
ColumnPinning.prototype.ai = function () {
|
|
319
319
|
if (this.d != null) {
|
|
320
|
-
this.d.
|
|
320
|
+
this.d.aa = this.f;
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
ColumnPinning.prototype.ah = function () {
|
|
324
324
|
if (this.d != null) {
|
|
325
|
-
this.d.
|
|
325
|
+
this.d.ac = this.h;
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
ColumnPinning.prototype.aj = function (a, b) {
|
|
@@ -337,9 +337,9 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
337
337
|
ColumnPinning.prototype.aa = function () {
|
|
338
338
|
var e_1, _a;
|
|
339
339
|
if (this.a != null && this.d != null) {
|
|
340
|
-
this.d.
|
|
341
|
-
this.d.
|
|
342
|
-
this.d.
|
|
340
|
+
this.d.aa = this.f;
|
|
341
|
+
this.d.ac = this.h;
|
|
342
|
+
this.d.dn = this.an;
|
|
343
343
|
var a = void 0;
|
|
344
344
|
var b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
|
|
345
345
|
try {
|
|
@@ -373,22 +373,22 @@ var ColumnPinning = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
373
373
|
throw e_1.error;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
this.d.
|
|
376
|
+
this.d.au = false;
|
|
377
377
|
if (this.s != null) {
|
|
378
|
-
this.d.
|
|
378
|
+
this.d.bi = this.s;
|
|
379
379
|
}
|
|
380
380
|
this.d.itemsSource = b;
|
|
381
381
|
var e = "";
|
|
382
382
|
var f = "";
|
|
383
383
|
e = "columnName";
|
|
384
384
|
f = "isPinned";
|
|
385
|
-
this.d.
|
|
386
|
-
this.d.
|
|
385
|
+
this.d.b3 = f;
|
|
386
|
+
this.d.be = e;
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
ColumnPinning.prototype.ae = function (a, b) {
|
|
390
390
|
this.m = true;
|
|
391
|
-
var c = this.d.h.actualDataSource.getItemAtIndex(b.
|
|
391
|
+
var c = this.d.h.actualDataSource.getItemAtIndex(b.c);
|
|
392
392
|
var d = this.a.actualColumns.count;
|
|
393
393
|
for (var e = 0; e < d; e++) {
|
|
394
394
|
if (this.a.actualColumns._inner[e].i8 == c.columnName || this.a.actualColumns._inner[e].jz == c.columnName || this.a.actualColumns._inner[e].jf == c.columnName) {
|
|
@@ -6,7 +6,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { BaseEditorView } from "./BaseEditorView";
|
|
9
|
-
import {
|
|
9
|
+
import { XDatePicker } from "igniteui-webcomponents-inputs";
|
|
10
10
|
import { runOn, delegateCombine, delegateRemove, markType } from "igniteui-webcomponents-core";
|
|
11
11
|
import { dateMinValue } from "igniteui-webcomponents-core";
|
|
12
12
|
/**
|
|
@@ -31,15 +31,15 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
31
|
e.append(f);
|
|
32
32
|
var g = a.createElement("div");
|
|
33
33
|
e.append(g);
|
|
34
|
-
_this.y = new
|
|
34
|
+
_this.y = new XDatePicker();
|
|
35
35
|
_this.y.ay = false;
|
|
36
36
|
_this.y.provideContainer(e);
|
|
37
37
|
_this.y.w = b;
|
|
38
38
|
_this.y.y = 3;
|
|
39
|
-
_this.y.
|
|
40
|
-
_this.y.
|
|
41
|
-
_this.y.
|
|
42
|
-
_this.y.
|
|
39
|
+
_this.y.a0 = _this.showClearButton;
|
|
40
|
+
_this.y.a1 = _this.ac;
|
|
41
|
+
_this.y.dy = _this.textColor;
|
|
42
|
+
_this.y.bf = -1;
|
|
43
43
|
var h = e.getExternal(_this.y, e.rootWrapper, null);
|
|
44
44
|
if (_this.z != null) {
|
|
45
45
|
_this.y.ad = _this.z;
|
|
@@ -134,12 +134,12 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
134
134
|
DateEditorView.prototype.s = function () {
|
|
135
135
|
if (this.y != null) {
|
|
136
136
|
this.y.focus(true);
|
|
137
|
-
this.y.
|
|
137
|
+
this.y.dg();
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
DateEditorView.prototype.ag = function () {
|
|
141
141
|
if (this.y != null) {
|
|
142
|
-
this.y.
|
|
142
|
+
this.y.cr();
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
DateEditorView.prototype.u = function (a, b, c) {
|
|
@@ -150,18 +150,18 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150
150
|
break;
|
|
151
151
|
case "ShowClearButton":
|
|
152
152
|
if (this.y != null) {
|
|
153
|
-
this.y.
|
|
153
|
+
this.y.a0 = this.showClearButton;
|
|
154
154
|
}
|
|
155
155
|
break;
|
|
156
156
|
case "ShowTodayButton":
|
|
157
157
|
if (this.y != null) {
|
|
158
|
-
this.y.
|
|
158
|
+
this.y.a1 = this.ac;
|
|
159
159
|
}
|
|
160
160
|
break;
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
DateEditorView.prototype.ak = function () {
|
|
164
|
-
this.y.
|
|
164
|
+
this.y.bz = this.ae;
|
|
165
165
|
};
|
|
166
166
|
DateEditorView.prototype.w = function () {
|
|
167
167
|
this.ab = true;
|
|
@@ -186,7 +186,7 @@ var DateEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
186
186
|
DateEditorView.prototype.v = function () {
|
|
187
187
|
_super.prototype.v.call(this);
|
|
188
188
|
if (this.y != null) {
|
|
189
|
-
this.y.
|
|
189
|
+
this.y.dy = this.textColor;
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
DateEditorView.prototype.onDatePickerValueChanged = function (a, b) {
|
|
@@ -293,7 +293,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
293
293
|
configurable: true
|
|
294
294
|
});
|
|
295
295
|
GridColumnFilterOptions.prototype.cu = function () {
|
|
296
|
-
var a = this.bx.
|
|
296
|
+
var a = this.bx.an();
|
|
297
297
|
this.bw.al(!a);
|
|
298
298
|
var b = this.b3();
|
|
299
299
|
this.bw.am(b);
|
|
@@ -428,7 +428,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
this.bx.itemsSource = e;
|
|
431
|
-
this.bx.
|
|
431
|
+
this.bx.be = c;
|
|
432
432
|
this.bx.b = [c];
|
|
433
433
|
e.shouldEmitSectionHeaders = true;
|
|
434
434
|
e.isSectionHeaderNormalRow = true;
|
|
@@ -474,15 +474,15 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
if (e.count == 0 || !c) {
|
|
477
|
-
this.bx.
|
|
477
|
+
this.bx.c2();
|
|
478
478
|
return;
|
|
479
479
|
}
|
|
480
480
|
switch (d.value) {
|
|
481
481
|
case 0:
|
|
482
|
-
this.bx.
|
|
482
|
+
this.bx.cc();
|
|
483
483
|
break;
|
|
484
484
|
case 1:
|
|
485
|
-
this.bx.
|
|
485
|
+
this.bx.c2();
|
|
486
486
|
break;
|
|
487
487
|
}
|
|
488
488
|
var h = this.bx.g;
|
|
@@ -539,11 +539,11 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
539
539
|
};
|
|
540
540
|
GridColumnFilterOptions.prototype.cw = function () {
|
|
541
541
|
if (null != this.bx) {
|
|
542
|
-
this.bx.
|
|
543
|
-
this.bx.
|
|
544
|
-
this.bx.
|
|
545
|
-
this.bx.
|
|
546
|
-
this.bx.
|
|
542
|
+
this.bx.ac = this.b0;
|
|
543
|
+
this.bx.bi = this.cc;
|
|
544
|
+
this.bx.dn = this.bo;
|
|
545
|
+
this.bx.d5 = this.br;
|
|
546
|
+
this.bx.aa = this.i;
|
|
547
547
|
this.bx.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
548
548
|
}
|
|
549
549
|
};
|
|
@@ -90,8 +90,8 @@ var SummaryChooserView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
90
|
this.e();
|
|
91
91
|
};
|
|
92
92
|
SummaryChooserView.prototype.e = function () {
|
|
93
|
-
if (this.model.f.
|
|
94
|
-
var a = this.model.r.count * this.model.f.
|
|
93
|
+
if (this.model.f.ax > -1) {
|
|
94
|
+
var a = this.model.r.count * this.model.f.ax;
|
|
95
95
|
a += 4;
|
|
96
96
|
this.d.setStyleProperty("height", a + "px");
|
|
97
97
|
}
|
|
@@ -381,30 +381,30 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
381
381
|
this.a6();
|
|
382
382
|
};
|
|
383
383
|
SummaryChooser.prototype.az = function (a, b) {
|
|
384
|
-
var c = this.q._inner[b.
|
|
385
|
-
c.isSelected = b.
|
|
384
|
+
var c = this.q._inner[b.c];
|
|
385
|
+
c.isSelected = b.b;
|
|
386
386
|
if (this.summaryChanged != null) {
|
|
387
387
|
this.summaryChanged(this, ((function () {
|
|
388
388
|
var $ret = new SummaryChangedEventArgs();
|
|
389
389
|
$ret.b = c.iD;
|
|
390
|
-
$ret.a = b.
|
|
390
|
+
$ret.a = b.b;
|
|
391
391
|
return $ret;
|
|
392
392
|
})()));
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
SummaryChooser.prototype.a6 = function () {
|
|
396
396
|
if (this.e != null) {
|
|
397
|
-
this.e.
|
|
398
|
-
this.e.
|
|
399
|
-
this.e.
|
|
400
|
-
this.e.
|
|
397
|
+
this.e.ac = this.m;
|
|
398
|
+
this.e.d5 = this.ba;
|
|
399
|
+
this.e.aa = this.i;
|
|
400
|
+
this.e.dn = this.a9;
|
|
401
|
+
this.e.au = false;
|
|
401
402
|
this.e.as = false;
|
|
402
|
-
this.e.
|
|
403
|
-
this.e.an = false;
|
|
403
|
+
this.e.ap = false;
|
|
404
404
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
405
405
|
this.e.itemsSource = this.q;
|
|
406
|
-
this.e.
|
|
407
|
-
this.e.
|
|
406
|
+
this.e.be = "label";
|
|
407
|
+
this.e.b3 = "isSelected";
|
|
408
408
|
this.e.b = ["label"];
|
|
409
409
|
}
|
|
410
410
|
};
|
|
@@ -454,7 +454,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
454
454
|
if (d.iD == a) {
|
|
455
455
|
d.isSelected = b;
|
|
456
456
|
if (this.e != null) {
|
|
457
|
-
this.e.
|
|
457
|
+
this.e.ck(c, d, d);
|
|
458
458
|
}
|
|
459
459
|
break;
|
|
460
460
|
}
|
|
@@ -466,7 +466,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
466
466
|
c.label = b;
|
|
467
467
|
this.q.add(c);
|
|
468
468
|
if (this.e != null) {
|
|
469
|
-
this.e.
|
|
469
|
+
this.e.ci(this.q.count - 1, c);
|
|
470
470
|
}
|
|
471
471
|
this.c.onItemInserted();
|
|
472
472
|
};
|
|
@@ -476,7 +476,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
476
476
|
if (c.iD == a) {
|
|
477
477
|
this.q.removeAt(b);
|
|
478
478
|
if (this.e != null) {
|
|
479
|
-
this.e.
|
|
479
|
+
this.e.cj(b, c);
|
|
480
480
|
}
|
|
481
481
|
break;
|
|
482
482
|
}
|
|
@@ -489,7 +489,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
489
489
|
if (d.iD == a) {
|
|
490
490
|
d.label = b;
|
|
491
491
|
if (this.e != null) {
|
|
492
|
-
this.e.
|
|
492
|
+
this.e.ck(c, d, d);
|
|
493
493
|
}
|
|
494
494
|
break;
|
|
495
495
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
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
|
+
*/
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
|
+
import { Base, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { INativeUIElementFactory_$type } from "igniteui-webcomponents-core";
|
|
10
|
+
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
11
|
+
import { CheckboxListBridge } from "./CheckboxListBridge";
|
|
12
|
+
import { NativeUICheckboxList } from "igniteui-webcomponents-core";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
var NativeUIGridFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
17
|
+
__extends(NativeUIGridFactory, _super);
|
|
18
|
+
function NativeUIGridFactory() {
|
|
19
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
20
|
+
_this.c = 2;
|
|
21
|
+
return _this;
|
|
22
|
+
}
|
|
23
|
+
Object.defineProperty(NativeUIGridFactory, "instance", {
|
|
24
|
+
get: function () {
|
|
25
|
+
if (NativeUIGridFactory.a == null) {
|
|
26
|
+
NativeUIGridFactory.a = new NativeUIGridFactory();
|
|
27
|
+
}
|
|
28
|
+
return NativeUIGridFactory.a;
|
|
29
|
+
},
|
|
30
|
+
enumerable: false,
|
|
31
|
+
configurable: true
|
|
32
|
+
});
|
|
33
|
+
NativeUIGridFactory.register = function () {
|
|
34
|
+
NativeUIComponent.ar(NativeUIGridFactory.instance);
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(NativeUIGridFactory.prototype, "flavor", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this.c;
|
|
39
|
+
},
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
NativeUIGridFactory.prototype.createComponent = function (a, b, c) {
|
|
44
|
+
switch (b) {
|
|
45
|
+
case 16:
|
|
46
|
+
this.d(a, c);
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
NativeUIGridFactory.prototype.createComponentSync = function (a, b, c) {
|
|
51
|
+
this.createComponent(a, b, c);
|
|
52
|
+
};
|
|
53
|
+
NativeUIGridFactory.prototype.supportsComponent = function (a) {
|
|
54
|
+
switch (a) {
|
|
55
|
+
case 16: return true;
|
|
56
|
+
}
|
|
57
|
+
return false;
|
|
58
|
+
};
|
|
59
|
+
NativeUIGridFactory.prototype.d = function (a, b) {
|
|
60
|
+
var c = a;
|
|
61
|
+
var d = c.createElement("div");
|
|
62
|
+
c.getPortal(d, "CheckboxList", function (e) {
|
|
63
|
+
var comp_ = e.componentRef;
|
|
64
|
+
var f = (comp_.i);
|
|
65
|
+
var g = new CheckboxListBridge(f);
|
|
66
|
+
var h = new NativeUICheckboxList();
|
|
67
|
+
h.an = d.getChildAt(0);
|
|
68
|
+
h.d = g;
|
|
69
|
+
b(h);
|
|
70
|
+
}, false);
|
|
71
|
+
};
|
|
72
|
+
NativeUIGridFactory.$t = markType(NativeUIGridFactory, 'NativeUIGridFactory', Base.$, [INativeUIElementFactory_$type]);
|
|
73
|
+
NativeUIGridFactory.a = null;
|
|
74
|
+
return NativeUIGridFactory;
|
|
75
|
+
}(Base));
|
|
76
|
+
export { NativeUIGridFactory };
|
|
@@ -64,16 +64,16 @@ var PagerVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
64
64
|
a.l("currentPage : " + this.h + ", ");
|
|
65
65
|
a.l("pageCount : " + this.i + ", ");
|
|
66
66
|
if (this.c != null) {
|
|
67
|
-
a.l("firstPageButton : " + this.c.
|
|
67
|
+
a.l("firstPageButton : " + this.c.serialize() + ", ");
|
|
68
68
|
}
|
|
69
69
|
if (this.f != null) {
|
|
70
|
-
a.l("previousPageButton : " + this.f.
|
|
70
|
+
a.l("previousPageButton : " + this.f.serialize() + ", ");
|
|
71
71
|
}
|
|
72
72
|
if (this.e != null) {
|
|
73
|
-
a.l("nextPageButton : " + this.e.
|
|
73
|
+
a.l("nextPageButton : " + this.e.serialize() + ", ");
|
|
74
74
|
}
|
|
75
75
|
if (this.d != null) {
|
|
76
|
-
a.l("lastPageButton : " + this.d.
|
|
76
|
+
a.l("lastPageButton : " + this.d.serialize() + ", ");
|
|
77
77
|
}
|
|
78
78
|
a.l("}");
|
|
79
79
|
return a.toString();
|