igniteui-webcomponents-grids 4.8.1 → 5.0.0-beta.1
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 +37327 -39208
- 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
|
@@ -58,6 +58,10 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
58
58
|
this._stylingContainer = null;
|
|
59
59
|
this._stylingParent = null;
|
|
60
60
|
this._inStyling = false;
|
|
61
|
+
this._selectedKeyAdded = null;
|
|
62
|
+
this._selectedKeyAdded_wrapped = null;
|
|
63
|
+
this._selectedKeyRemoved = null;
|
|
64
|
+
this._selectedKeyRemoved_wrapped = null;
|
|
61
65
|
this._checkedChanged = null;
|
|
62
66
|
this._checkedChanged_wrapped = null;
|
|
63
67
|
this._selectAllCheckboxChanged = null;
|
|
@@ -259,66 +263,66 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
259
263
|
* Gets or Sets the property name that contains the values.
|
|
260
264
|
*/
|
|
261
265
|
get dataMemberPath() {
|
|
262
|
-
return this.i.
|
|
266
|
+
return this.i.be;
|
|
263
267
|
}
|
|
264
268
|
set dataMemberPath(v) {
|
|
265
|
-
this.i.
|
|
269
|
+
this.i.be = v;
|
|
266
270
|
}
|
|
267
271
|
/**
|
|
268
272
|
* Gets or Sets the property name that contains the values.
|
|
269
273
|
*/
|
|
270
274
|
get selectedMemberPath() {
|
|
271
|
-
return this.i.
|
|
275
|
+
return this.i.b3;
|
|
272
276
|
}
|
|
273
277
|
set selectedMemberPath(v) {
|
|
274
|
-
this.i.
|
|
278
|
+
this.i.b3 = v;
|
|
275
279
|
}
|
|
276
280
|
/**
|
|
277
281
|
* Gets or Sets the property name that contains the values.
|
|
278
282
|
*/
|
|
279
283
|
get filterPlaceholderText() {
|
|
280
|
-
return this.i.
|
|
284
|
+
return this.i.bi;
|
|
281
285
|
}
|
|
282
286
|
set filterPlaceholderText(v) {
|
|
283
|
-
this.i.
|
|
287
|
+
this.i.bi = v;
|
|
284
288
|
}
|
|
285
289
|
/**
|
|
286
290
|
* Gets or Sets the property name that contains the values.
|
|
287
291
|
*/
|
|
288
292
|
get searchInputType() {
|
|
289
|
-
return this.i.
|
|
293
|
+
return this.i.v;
|
|
290
294
|
}
|
|
291
295
|
set searchInputType(v) {
|
|
292
|
-
this.i.
|
|
293
|
-
this._a("searchInputType", enumToString(InputGroupDisplayType_$type, this.i.
|
|
296
|
+
this.i.v = ensureEnum(InputGroupDisplayType_$type, v);
|
|
297
|
+
this._a("searchInputType", enumToString(InputGroupDisplayType_$type, this.i.v));
|
|
294
298
|
}
|
|
295
299
|
/**
|
|
296
300
|
* Gets or Sets the property name that contains the values.
|
|
297
301
|
*/
|
|
298
302
|
get rowHeight() {
|
|
299
|
-
return this.i.
|
|
303
|
+
return this.i.az;
|
|
300
304
|
}
|
|
301
305
|
set rowHeight(v) {
|
|
302
|
-
this.i.
|
|
303
|
-
this._a("rowHeight", this.i.
|
|
306
|
+
this.i.az = +v;
|
|
307
|
+
this._a("rowHeight", this.i.az);
|
|
304
308
|
}
|
|
305
309
|
get actualRowHeight() {
|
|
306
|
-
return this.i.
|
|
310
|
+
return this.i.ax;
|
|
307
311
|
}
|
|
308
312
|
/**
|
|
309
313
|
* Gets or Sets the property name that contains the values.
|
|
310
314
|
*/
|
|
311
315
|
get cellTextStyle() {
|
|
312
|
-
if (this.i.
|
|
316
|
+
if (this.i.ag == null) {
|
|
313
317
|
return null;
|
|
314
318
|
}
|
|
315
|
-
return this.i.
|
|
319
|
+
return this.i.ag.fontString;
|
|
316
320
|
}
|
|
317
321
|
set cellTextStyle(v) {
|
|
318
322
|
let fi = new FontInfo();
|
|
319
323
|
fi.fontString = v;
|
|
320
|
-
this.i.
|
|
321
|
-
this._a("cellTextStyle", this.i.
|
|
324
|
+
this.i.ag = fi;
|
|
325
|
+
this._a("cellTextStyle", this.i.ag != null ? this.i.ag.fontString : "");
|
|
322
326
|
}
|
|
323
327
|
/**
|
|
324
328
|
* Gets or Sets the property name that contains the values.
|
|
@@ -334,225 +338,235 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
334
338
|
* Gets or Sets the property name that contains the values.
|
|
335
339
|
*/
|
|
336
340
|
get baseTheme() {
|
|
337
|
-
return this.i.
|
|
341
|
+
return this.i.aa;
|
|
338
342
|
}
|
|
339
343
|
set baseTheme(v) {
|
|
340
|
-
this.i.
|
|
341
|
-
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.
|
|
344
|
+
this.i.aa = ensureEnum(BaseControlTheme_$type, v);
|
|
345
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.aa));
|
|
342
346
|
}
|
|
343
347
|
/**
|
|
344
348
|
* Gets or Sets the property name that contains the values.
|
|
345
349
|
*/
|
|
346
350
|
get density() {
|
|
347
|
-
return this.i.
|
|
351
|
+
return this.i.ac;
|
|
348
352
|
}
|
|
349
353
|
set density(v) {
|
|
350
|
-
this.i.
|
|
351
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
354
|
+
this.i.ac = ensureEnum(ControlDisplayDensity_$type, v);
|
|
355
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.ac));
|
|
352
356
|
}
|
|
353
357
|
/**
|
|
354
358
|
* Gets or sets the search icon color.
|
|
355
359
|
*/
|
|
356
360
|
get searchIconColor() {
|
|
357
|
-
return brushToString(this.i.
|
|
361
|
+
return brushToString(this.i.d1);
|
|
358
362
|
}
|
|
359
363
|
set searchIconColor(v) {
|
|
360
|
-
this.i.
|
|
361
|
-
this._a("searchIconColor", brushToString(this.i.
|
|
364
|
+
this.i.d1 = stringToBrush(v);
|
|
365
|
+
this._a("searchIconColor", brushToString(this.i.d1));
|
|
362
366
|
}
|
|
363
367
|
/**
|
|
364
368
|
* Gets or sets the search background color.
|
|
365
369
|
*/
|
|
366
370
|
get searchBackgroundColor() {
|
|
367
|
-
return brushToString(this.i.
|
|
371
|
+
return brushToString(this.i.dz);
|
|
368
372
|
}
|
|
369
373
|
set searchBackgroundColor(v) {
|
|
370
|
-
this.i.
|
|
371
|
-
this._a("searchBackgroundColor", brushToString(this.i.
|
|
374
|
+
this.i.dz = stringToBrush(v);
|
|
375
|
+
this._a("searchBackgroundColor", brushToString(this.i.dz));
|
|
372
376
|
}
|
|
373
377
|
/**
|
|
374
378
|
* Gets or sets the search text color.
|
|
375
379
|
*/
|
|
376
380
|
get searchTextColor() {
|
|
377
|
-
return brushToString(this.i.
|
|
381
|
+
return brushToString(this.i.d2);
|
|
378
382
|
}
|
|
379
383
|
set searchTextColor(v) {
|
|
380
|
-
this.i.
|
|
381
|
-
this._a("searchTextColor", brushToString(this.i.
|
|
384
|
+
this.i.d2 = stringToBrush(v);
|
|
385
|
+
this._a("searchTextColor", brushToString(this.i.d2));
|
|
382
386
|
}
|
|
383
387
|
/**
|
|
384
388
|
* Gets or sets the search border color.
|
|
385
389
|
*/
|
|
386
390
|
get searchBorderColor() {
|
|
387
|
-
return brushToString(this.i.
|
|
391
|
+
return brushToString(this.i.d0);
|
|
388
392
|
}
|
|
389
393
|
set searchBorderColor(v) {
|
|
390
|
-
this.i.
|
|
391
|
-
this._a("searchBorderColor", brushToString(this.i.
|
|
394
|
+
this.i.d0 = stringToBrush(v);
|
|
395
|
+
this._a("searchBorderColor", brushToString(this.i.d0));
|
|
392
396
|
}
|
|
393
397
|
/**
|
|
394
398
|
* Gets or sets the text style.
|
|
395
399
|
*/
|
|
396
400
|
get searchTextStyle() {
|
|
397
|
-
if (this.i.
|
|
401
|
+
if (this.i.ah == null) {
|
|
398
402
|
return null;
|
|
399
403
|
}
|
|
400
|
-
return this.i.
|
|
404
|
+
return this.i.ah.fontString;
|
|
401
405
|
}
|
|
402
406
|
set searchTextStyle(v) {
|
|
403
407
|
let fi = new FontInfo();
|
|
404
408
|
fi.fontString = v;
|
|
405
|
-
this.i.
|
|
406
|
-
this._a("searchTextStyle", this.i.
|
|
409
|
+
this.i.ah = fi;
|
|
410
|
+
this._a("searchTextStyle", this.i.ah != null ? this.i.ah.fontString : "");
|
|
407
411
|
}
|
|
408
412
|
/**
|
|
409
413
|
* Gets or sets the checkbox tick color.
|
|
410
414
|
*/
|
|
411
415
|
get checkboxTickColor() {
|
|
412
|
-
return brushToString(this.i.
|
|
416
|
+
return brushToString(this.i.dr);
|
|
413
417
|
}
|
|
414
418
|
set checkboxTickColor(v) {
|
|
415
|
-
this.i.
|
|
416
|
-
this._a("checkboxTickColor", brushToString(this.i.
|
|
419
|
+
this.i.dr = stringToBrush(v);
|
|
420
|
+
this._a("checkboxTickColor", brushToString(this.i.dr));
|
|
417
421
|
}
|
|
418
422
|
/**
|
|
419
423
|
* Gets or sets the checkbox background color when checked.
|
|
420
424
|
*/
|
|
421
425
|
get checkboxCheckedBackgroundColor() {
|
|
422
|
-
return brushToString(this.i.
|
|
426
|
+
return brushToString(this.i.dp);
|
|
423
427
|
}
|
|
424
428
|
set checkboxCheckedBackgroundColor(v) {
|
|
425
|
-
this.i.
|
|
426
|
-
this._a("checkboxCheckedBackgroundColor", brushToString(this.i.
|
|
429
|
+
this.i.dp = stringToBrush(v);
|
|
430
|
+
this._a("checkboxCheckedBackgroundColor", brushToString(this.i.dp));
|
|
427
431
|
}
|
|
428
432
|
/**
|
|
429
433
|
* Gets or sets the checkbox background color when unchecked.
|
|
430
434
|
*/
|
|
431
435
|
get checkboxUncheckedBackgroundColor() {
|
|
432
|
-
return brushToString(this.i.
|
|
436
|
+
return brushToString(this.i.ds);
|
|
433
437
|
}
|
|
434
438
|
set checkboxUncheckedBackgroundColor(v) {
|
|
435
|
-
this.i.
|
|
436
|
-
this._a("checkboxUncheckedBackgroundColor", brushToString(this.i.
|
|
439
|
+
this.i.ds = stringToBrush(v);
|
|
440
|
+
this._a("checkboxUncheckedBackgroundColor", brushToString(this.i.ds));
|
|
437
441
|
}
|
|
438
442
|
/**
|
|
439
443
|
* Gets or sets the checkbox border color when checked.
|
|
440
444
|
*/
|
|
441
445
|
get checkboxCheckedBorderColor() {
|
|
442
|
-
return brushToString(this.i.
|
|
446
|
+
return brushToString(this.i.dq);
|
|
443
447
|
}
|
|
444
448
|
set checkboxCheckedBorderColor(v) {
|
|
445
|
-
this.i.
|
|
446
|
-
this._a("checkboxCheckedBorderColor", brushToString(this.i.
|
|
449
|
+
this.i.dq = stringToBrush(v);
|
|
450
|
+
this._a("checkboxCheckedBorderColor", brushToString(this.i.dq));
|
|
447
451
|
}
|
|
448
452
|
/**
|
|
449
453
|
* Gets or sets the checkbox border color when unchecked.
|
|
450
454
|
*/
|
|
451
455
|
get checkboxUncheckedBorderColor() {
|
|
452
|
-
return brushToString(this.i.
|
|
456
|
+
return brushToString(this.i.dt);
|
|
453
457
|
}
|
|
454
458
|
set checkboxUncheckedBorderColor(v) {
|
|
455
|
-
this.i.
|
|
456
|
-
this._a("checkboxUncheckedBorderColor", brushToString(this.i.
|
|
459
|
+
this.i.dt = stringToBrush(v);
|
|
460
|
+
this._a("checkboxUncheckedBorderColor", brushToString(this.i.dt));
|
|
457
461
|
}
|
|
458
462
|
/**
|
|
459
463
|
* Gets or sets the style of scrollbar.
|
|
460
464
|
*/
|
|
461
465
|
get scrollbarStyle() {
|
|
462
|
-
return this.i.
|
|
466
|
+
return this.i.y;
|
|
463
467
|
}
|
|
464
468
|
set scrollbarStyle(v) {
|
|
465
|
-
this.i.
|
|
466
|
-
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.
|
|
469
|
+
this.i.y = ensureEnum(ScrollbarStyle_$type, v);
|
|
470
|
+
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.y));
|
|
467
471
|
}
|
|
468
472
|
/**
|
|
469
473
|
* Gets or sets the scrollbar background color.
|
|
470
474
|
*/
|
|
471
475
|
get scrollbarBackground() {
|
|
472
|
-
return brushToString(this.i.
|
|
476
|
+
return brushToString(this.i.dy);
|
|
473
477
|
}
|
|
474
478
|
set scrollbarBackground(v) {
|
|
475
|
-
this.i.
|
|
476
|
-
this._a("scrollbarBackground", brushToString(this.i.
|
|
479
|
+
this.i.dy = stringToBrush(v);
|
|
480
|
+
this._a("scrollbarBackground", brushToString(this.i.dy));
|
|
477
481
|
}
|
|
478
482
|
/**
|
|
479
483
|
* Gets / sets the caption of the "Select All" checkbox.
|
|
480
484
|
*/
|
|
481
485
|
get selectAllCaption() {
|
|
482
|
-
return this.i.
|
|
486
|
+
return this.i.b0;
|
|
483
487
|
}
|
|
484
488
|
set selectAllCaption(v) {
|
|
485
|
-
this.i.
|
|
489
|
+
this.i.b0 = v;
|
|
486
490
|
}
|
|
487
491
|
/**
|
|
488
492
|
* Gets or sets the color to use for the "Select All" label.
|
|
489
493
|
*/
|
|
490
494
|
get selectAllCaptionTextColor() {
|
|
491
|
-
return brushToString(this.i.
|
|
495
|
+
return brushToString(this.i.d3);
|
|
492
496
|
}
|
|
493
497
|
set selectAllCaptionTextColor(v) {
|
|
494
|
-
this.i.
|
|
495
|
-
this._a("selectAllCaptionTextColor", brushToString(this.i.
|
|
498
|
+
this.i.d3 = stringToBrush(v);
|
|
499
|
+
this._a("selectAllCaptionTextColor", brushToString(this.i.d3));
|
|
496
500
|
}
|
|
497
501
|
/**
|
|
498
502
|
* Gets or sets the color to use for the actual header selectAllCaption text.
|
|
499
503
|
*/
|
|
500
504
|
get actualSelectAllCaptionTextColor() {
|
|
501
|
-
return brushToString(this.i.
|
|
505
|
+
return brushToString(this.i.dm);
|
|
502
506
|
}
|
|
503
507
|
set actualSelectAllCaptionTextColor(v) {
|
|
504
|
-
this.i.
|
|
505
|
-
this._a("actualSelectAllCaptionTextColor", brushToString(this.i.
|
|
508
|
+
this.i.dm = stringToBrush(v);
|
|
509
|
+
this._a("actualSelectAllCaptionTextColor", brushToString(this.i.dm));
|
|
506
510
|
}
|
|
507
511
|
/**
|
|
508
512
|
* Gets / sets whether the "Select all" checkbox is visible.
|
|
509
513
|
*/
|
|
510
514
|
get showSelectAll() {
|
|
511
|
-
return this.i.
|
|
515
|
+
return this.i.au;
|
|
512
516
|
}
|
|
513
517
|
set showSelectAll(v) {
|
|
514
|
-
this.i.
|
|
515
|
-
this._a("showSelectAll", this.i.
|
|
518
|
+
this.i.au = ensureBool(v);
|
|
519
|
+
this._a("showSelectAll", this.i.au);
|
|
516
520
|
}
|
|
517
521
|
/**
|
|
518
522
|
* Gets or sets the color to use for the background of the component.
|
|
519
523
|
*/
|
|
520
524
|
get backgroundColor() {
|
|
521
|
-
return brushToString(this.i.
|
|
525
|
+
return brushToString(this.i.dn);
|
|
522
526
|
}
|
|
523
527
|
set backgroundColor(v) {
|
|
524
|
-
this.i.
|
|
525
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
528
|
+
this.i.dn = stringToBrush(v);
|
|
529
|
+
this._a("backgroundColor", brushToString(this.i.dn));
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Gets or sets the color to use when hovering over a grid row.
|
|
533
|
+
*/
|
|
534
|
+
get rowHoverBackgroundColor() {
|
|
535
|
+
return brushToString(this.i.dx);
|
|
536
|
+
}
|
|
537
|
+
set rowHoverBackgroundColor(v) {
|
|
538
|
+
this.i.dx = stringToBrush(v);
|
|
539
|
+
this._a("rowHoverBackgroundColor", brushToString(this.i.dx));
|
|
526
540
|
}
|
|
527
541
|
/**
|
|
528
542
|
* Gets or sets the color to use for the text of the component.
|
|
529
543
|
*/
|
|
530
544
|
get textColor() {
|
|
531
|
-
return brushToString(this.i.
|
|
545
|
+
return brushToString(this.i.d5);
|
|
532
546
|
}
|
|
533
547
|
set textColor(v) {
|
|
534
|
-
this.i.
|
|
535
|
-
this._a("textColor", brushToString(this.i.
|
|
548
|
+
this.i.d5 = stringToBrush(v);
|
|
549
|
+
this._a("textColor", brushToString(this.i.d5));
|
|
536
550
|
}
|
|
537
551
|
/**
|
|
538
552
|
* Gets or sets whether the filter input is visible.
|
|
539
553
|
*/
|
|
540
554
|
get showFilter() {
|
|
541
|
-
return this.i.
|
|
555
|
+
return this.i.as;
|
|
542
556
|
}
|
|
543
557
|
set showFilter(v) {
|
|
544
|
-
this.i.
|
|
545
|
-
this._a("showFilter", this.i.
|
|
558
|
+
this.i.as = ensureBool(v);
|
|
559
|
+
this._a("showFilter", this.i.as);
|
|
546
560
|
}
|
|
547
561
|
/**
|
|
548
562
|
* Gets or sets whether row hover highlighting is enabled.
|
|
549
563
|
*/
|
|
550
564
|
get isRowHoverEnabled() {
|
|
551
|
-
return this.i.
|
|
565
|
+
return this.i.ap;
|
|
552
566
|
}
|
|
553
567
|
set isRowHoverEnabled(v) {
|
|
554
|
-
this.i.
|
|
555
|
-
this._a("isRowHoverEnabled", this.i.
|
|
568
|
+
this.i.ap = ensureBool(v);
|
|
569
|
+
this._a("isRowHoverEnabled", this.i.ap);
|
|
556
570
|
}
|
|
557
571
|
findByName(name) {
|
|
558
572
|
if (this.findEphemera) {
|
|
@@ -623,17 +637,17 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
623
637
|
|
|
624
638
|
*/
|
|
625
639
|
selectAll() {
|
|
626
|
-
this.i.
|
|
640
|
+
this.i.c2();
|
|
627
641
|
}
|
|
628
642
|
/**
|
|
629
643
|
* Deselects all the items in the checkbox list.
|
|
630
644
|
|
|
631
645
|
*/
|
|
632
646
|
deselectAll() {
|
|
633
|
-
this.i.
|
|
647
|
+
this.i.cc();
|
|
634
648
|
}
|
|
635
649
|
notifySetItem(index, oldItem, newItem) {
|
|
636
|
-
this.i.
|
|
650
|
+
this.i.ck(index, oldItem, newItem);
|
|
637
651
|
}
|
|
638
652
|
/**
|
|
639
653
|
* Manually notifies the checkboxlist's grid that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -641,26 +655,26 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
641
655
|
|
|
642
656
|
*/
|
|
643
657
|
notifyClearItems() {
|
|
644
|
-
this.i.
|
|
658
|
+
this.i.ch();
|
|
645
659
|
}
|
|
646
660
|
notifyInsertItem(index, newItem) {
|
|
647
|
-
this.i.
|
|
661
|
+
this.i.ci(index, newItem);
|
|
648
662
|
}
|
|
649
663
|
notifyRemoveItem(index, oldItem) {
|
|
650
|
-
this.i.
|
|
664
|
+
this.i.cj(index, oldItem);
|
|
651
665
|
}
|
|
652
666
|
addKeyValue(value) {
|
|
653
|
-
this.i.
|
|
667
|
+
this.i.b9(value);
|
|
654
668
|
}
|
|
655
669
|
removeKeyValue(value) {
|
|
656
|
-
this.i.
|
|
670
|
+
this.i.c1(value);
|
|
657
671
|
}
|
|
658
672
|
/**
|
|
659
673
|
* Returns true if no items are selected / checked; otherwise false.
|
|
660
674
|
|
|
661
675
|
*/
|
|
662
676
|
isNothingSelected() {
|
|
663
|
-
let iv = this.i.
|
|
677
|
+
let iv = this.i.an();
|
|
664
678
|
return (iv);
|
|
665
679
|
}
|
|
666
680
|
/**
|
|
@@ -668,9 +682,61 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
668
682
|
|
|
669
683
|
*/
|
|
670
684
|
isEverythingSelected() {
|
|
671
|
-
let iv = this.i.
|
|
685
|
+
let iv = this.i.am();
|
|
672
686
|
return (iv);
|
|
673
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* Called when an item is added.
|
|
690
|
+
*/
|
|
691
|
+
get selectedKeyAdded() {
|
|
692
|
+
return this._selectedKeyAdded;
|
|
693
|
+
}
|
|
694
|
+
set selectedKeyAdded(ev) {
|
|
695
|
+
if (this._selectedKeyAdded_wrapped !== null) {
|
|
696
|
+
this.i.selectedKeyAdded = delegateRemove(this.i.selectedKeyAdded, this._selectedKeyAdded_wrapped);
|
|
697
|
+
this._selectedKeyAdded_wrapped = null;
|
|
698
|
+
this._selectedKeyAdded = null;
|
|
699
|
+
}
|
|
700
|
+
this._selectedKeyAdded = ev;
|
|
701
|
+
this._selectedKeyAdded_wrapped = (o, e) => {
|
|
702
|
+
let outerArgs = new IgcCheckedChangedEventArgs();
|
|
703
|
+
outerArgs._provideImplementation(e);
|
|
704
|
+
if (this.beforeSelectedKeyAdded) {
|
|
705
|
+
this.beforeSelectedKeyAdded(this, outerArgs);
|
|
706
|
+
}
|
|
707
|
+
if (this._selectedKeyAdded) {
|
|
708
|
+
this._selectedKeyAdded(this, outerArgs);
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
this.i.selectedKeyAdded = delegateCombine(this.i.selectedKeyAdded, this._selectedKeyAdded_wrapped);
|
|
712
|
+
;
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Called when an item is removed.
|
|
716
|
+
*/
|
|
717
|
+
get selectedKeyRemoved() {
|
|
718
|
+
return this._selectedKeyRemoved;
|
|
719
|
+
}
|
|
720
|
+
set selectedKeyRemoved(ev) {
|
|
721
|
+
if (this._selectedKeyRemoved_wrapped !== null) {
|
|
722
|
+
this.i.selectedKeyRemoved = delegateRemove(this.i.selectedKeyRemoved, this._selectedKeyRemoved_wrapped);
|
|
723
|
+
this._selectedKeyRemoved_wrapped = null;
|
|
724
|
+
this._selectedKeyRemoved = null;
|
|
725
|
+
}
|
|
726
|
+
this._selectedKeyRemoved = ev;
|
|
727
|
+
this._selectedKeyRemoved_wrapped = (o, e) => {
|
|
728
|
+
let outerArgs = new IgcCheckedChangedEventArgs();
|
|
729
|
+
outerArgs._provideImplementation(e);
|
|
730
|
+
if (this.beforeSelectedKeyRemoved) {
|
|
731
|
+
this.beforeSelectedKeyRemoved(this, outerArgs);
|
|
732
|
+
}
|
|
733
|
+
if (this._selectedKeyRemoved) {
|
|
734
|
+
this._selectedKeyRemoved(this, outerArgs);
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
this.i.selectedKeyRemoved = delegateCombine(this.i.selectedKeyRemoved, this._selectedKeyRemoved_wrapped);
|
|
738
|
+
;
|
|
739
|
+
}
|
|
674
740
|
/**
|
|
675
741
|
* Called when a checkbox is checked or unchecked.
|
|
676
742
|
*/
|
|
@@ -12,6 +12,7 @@ import { IgcTemplateColumnModule } from './igc-template-column-module';
|
|
|
12
12
|
import { IgcXCheckboxModule } from "igniteui-webcomponents-inputs";
|
|
13
13
|
import { IgcXInputGroupModule } from "igniteui-webcomponents-inputs";
|
|
14
14
|
import { IgcCheckboxListComponent } from './igc-checkbox-list-component';
|
|
15
|
+
import { NativeUIGridFactory } from './NativeUIGridFactory';
|
|
15
16
|
import { CheckboxList } from './CheckboxList';
|
|
16
17
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
17
18
|
export class IgcCheckboxListModule {
|
|
@@ -26,6 +27,8 @@ export class IgcCheckboxListModule {
|
|
|
26
27
|
IgcCheckboxListComponent.register();
|
|
27
28
|
TypeRegistrar.registerCons('IgcCheckboxListComponent', IgcCheckboxListComponent);
|
|
28
29
|
TypeRegistrar.registerCons('IgcCheckboxListComponent', IgcCheckboxListComponent);
|
|
30
|
+
TypeRegistrar.register('NativeUIGridFactory', NativeUIGridFactory.$type);
|
|
31
|
+
NativeUIGridFactory.register();
|
|
29
32
|
TypeRegistrar.register('CheckboxList', CheckboxList.$type);
|
|
30
33
|
}
|
|
31
34
|
}
|
|
@@ -29,15 +29,25 @@ export class IgcCheckedChangedEventArgs {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
get index() {
|
|
32
|
-
return this.i.
|
|
32
|
+
return this.i.c;
|
|
33
33
|
}
|
|
34
34
|
set index(v) {
|
|
35
|
-
this.i.
|
|
35
|
+
this.i.c = +v;
|
|
36
36
|
}
|
|
37
37
|
get isChecked() {
|
|
38
|
-
return this.i.
|
|
38
|
+
return this.i.b;
|
|
39
39
|
}
|
|
40
40
|
set isChecked(v) {
|
|
41
|
-
this.i.
|
|
41
|
+
this.i.b = ensureBool(v);
|
|
42
|
+
}
|
|
43
|
+
get primaryKey() {
|
|
44
|
+
return this.i.a;
|
|
45
|
+
}
|
|
46
|
+
set primaryKey(v) {
|
|
47
|
+
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
48
|
+
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
49
|
+
v = v.split(re);
|
|
50
|
+
}
|
|
51
|
+
this.i.a = v;
|
|
42
52
|
}
|
|
43
53
|
}
|
package/esm2015/public_api.js
CHANGED
|
@@ -133,6 +133,11 @@ export * from './lib/BrowserPixelConverter';
|
|
|
133
133
|
export * from './lib/GridExternalWrapper';
|
|
134
134
|
export * from './lib/BrowserTickProvider';
|
|
135
135
|
export * from './lib/BrowserExecutionContext';
|
|
136
|
+
export * from './lib/NativeUIGridFactory';
|
|
137
|
+
export * from './lib/CheckboxListBridge';
|
|
138
|
+
export * from './lib/CheckboxListExternal';
|
|
139
|
+
export * from './lib/CheckedChangedEventArgs';
|
|
140
|
+
export * from './lib/CheckboxListViewExternal';
|
|
136
141
|
export * from './lib/DraggerView';
|
|
137
142
|
export * from './lib/igc-grid-selected-keys-collection';
|
|
138
143
|
export * from './lib/GridSelectedKeysCollection';
|