igniteui-webcomponents-layouts 5.2.0 → 5.3.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-layouts.umd.js +7393 -6728
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorBridge.js +6 -6
- package/esm2015/lib/ComboEditorView_combined.js +32 -32
- package/esm2015/lib/ListPanelContentRebindEventArgs.js +26 -0
- package/esm2015/lib/ListPanelContentRecycledEventArgs.js +26 -0
- package/esm2015/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/ListPanelView_combined.js +1267 -1233
- package/esm2015/lib/NativeUILayoutFactory_combined.js +5036 -4716
- package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm2015/lib/igc-list-panel-component.js +144 -86
- package/esm2015/lib/igc-list-panel-content-rebind-event-args.js +42 -0
- package/esm2015/lib/igc-list-panel-content-recycled-event-args.js +42 -0
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +162 -165
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +277 -256
- package/esm2015/lib/igc-toolbar-component.js +180 -159
- package/esm2015/public_api.js +4 -0
- package/esm5/lib/ComboEditorBridge.js +6 -6
- package/esm5/lib/ComboEditorView_combined.js +32 -32
- package/esm5/lib/ListPanelContentRebindEventArgs.js +32 -0
- package/esm5/lib/ListPanelContentRecycledEventArgs.js +32 -0
- package/esm5/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm5/lib/ListPanelView_combined.js +1254 -1216
- package/esm5/lib/NativeUILayoutFactory_combined.js +4882 -4534
- package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm5/lib/igc-list-panel-component.js +154 -86
- package/esm5/lib/igc-list-panel-content-rebind-event-args.js +52 -0
- package/esm5/lib/igc-list-panel-content-recycled-event-args.js +52 -0
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +162 -165
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +285 -256
- package/esm5/lib/igc-toolbar-component.js +188 -159
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +7526 -6949
- package/fesm5/igniteui-webcomponents-layouts.js +7391 -6730
- package/lib/INativeUIToolPanelBridge.d.ts +1 -0
- package/lib/ListPanelContentRebindEventArgs.d.ts +10 -0
- package/lib/ListPanelContentRecycledEventArgs.d.ts +10 -0
- package/lib/ListPanelView_combined.d.ts +245 -240
- package/lib/NativeUILayoutFactory_combined.d.ts +1167 -1119
- package/lib/igc-list-panel-component.d.ts +16 -0
- package/lib/igc-list-panel-content-rebind-event-args.d.ts +20 -0
- package/lib/igc-list-panel-content-recycled-event-args.d.ts +20 -0
- package/lib/igc-tool-action-component.d.ts +0 -1
- package/lib/igc-tool-action-icon-button-component.d.ts +0 -1
- package/lib/igc-tool-panel-component.d.ts +11 -0
- package/lib/igc-toolbar-component.d.ts +11 -0
- package/package.json +3 -3
- package/public_api.d.ts +4 -0
|
@@ -661,21 +661,21 @@ export let PropertyEditorPanel = /*@__PURE__*/ (() => {
|
|
|
661
661
|
case 19:
|
|
662
662
|
case 1:
|
|
663
663
|
let d = new ToolActionNumberInput();
|
|
664
|
-
d.
|
|
665
|
-
d.
|
|
664
|
+
d.hf = b.ar != null ? b.ar : NaN;
|
|
665
|
+
d.e1 = this.bm(b);
|
|
666
666
|
c = d;
|
|
667
667
|
if (b.a4 != null) {
|
|
668
|
-
c.
|
|
668
|
+
c.ev = b.a4;
|
|
669
669
|
}
|
|
670
670
|
break;
|
|
671
671
|
case 4:
|
|
672
672
|
case 5:
|
|
673
673
|
let e = new ToolActionColorEditor();
|
|
674
|
-
e.
|
|
675
|
-
e.
|
|
674
|
+
e.hj = CSSColorUtil.g(b.ar);
|
|
675
|
+
e.e1 = this.bm(b);
|
|
676
676
|
c = e;
|
|
677
677
|
if (b.a4 != null) {
|
|
678
|
-
c.
|
|
678
|
+
c.ev = b.a4;
|
|
679
679
|
}
|
|
680
680
|
break;
|
|
681
681
|
case 11:
|
|
@@ -687,20 +687,20 @@ export let PropertyEditorPanel = /*@__PURE__*/ (() => {
|
|
|
687
687
|
case 6:
|
|
688
688
|
case 23:
|
|
689
689
|
let f = new ToolActionTextInput();
|
|
690
|
-
f.
|
|
691
|
-
f.
|
|
690
|
+
f.hf = b.ar;
|
|
691
|
+
f.e1 = this.bm(b);
|
|
692
692
|
c = f;
|
|
693
693
|
if (b.a4 != null) {
|
|
694
|
-
c.
|
|
694
|
+
c.ev = b.a4;
|
|
695
695
|
}
|
|
696
696
|
break;
|
|
697
697
|
case 7:
|
|
698
698
|
let g = new ToolActionCheckbox();
|
|
699
|
-
g.
|
|
700
|
-
g.
|
|
699
|
+
g.he = b.ar != null ? b.ar : false;
|
|
700
|
+
g.e1 = this.bm(b);
|
|
701
701
|
c = g;
|
|
702
702
|
if (b.a4 != null) {
|
|
703
|
-
c.
|
|
703
|
+
c.ev = b.a4;
|
|
704
704
|
}
|
|
705
705
|
break;
|
|
706
706
|
case 8:
|
|
@@ -713,38 +713,38 @@ export let PropertyEditorPanel = /*@__PURE__*/ (() => {
|
|
|
713
713
|
case 15:
|
|
714
714
|
let h = new ToolActionCombo();
|
|
715
715
|
h.itemsSource = this.a4(this.c(b));
|
|
716
|
-
h.
|
|
716
|
+
h.e1 = this.bm(b);
|
|
717
717
|
c = h;
|
|
718
718
|
if (b.a4 != null) {
|
|
719
|
-
c.
|
|
719
|
+
c.ev = b.a4;
|
|
720
720
|
}
|
|
721
721
|
if (b.ar != null) {
|
|
722
|
-
h.
|
|
723
|
-
h.
|
|
722
|
+
h.hd = new LayoutSelectedItemsCollection();
|
|
723
|
+
h.hd.add1(b.ar);
|
|
724
724
|
}
|
|
725
725
|
break;
|
|
726
726
|
case 20:
|
|
727
727
|
let i = new ToolActionButton();
|
|
728
|
-
i.
|
|
728
|
+
i.e1 = this.bm(b);
|
|
729
729
|
if (b.ar != null && typeof b.ar === 'string') {
|
|
730
|
-
i.
|
|
730
|
+
i.e1 = b.ar;
|
|
731
731
|
}
|
|
732
732
|
c = i;
|
|
733
733
|
if (b.a4 != null) {
|
|
734
|
-
c.
|
|
734
|
+
c.ev = b.a4;
|
|
735
735
|
}
|
|
736
736
|
break;
|
|
737
737
|
case 24:
|
|
738
738
|
let j = new ToolActionSeparator();
|
|
739
|
-
j.
|
|
739
|
+
j.hf = 5;
|
|
740
740
|
c = j;
|
|
741
741
|
break;
|
|
742
742
|
case 25:
|
|
743
743
|
let k = new ToolActionGroupHeader();
|
|
744
744
|
c = k;
|
|
745
|
-
c.
|
|
745
|
+
c.e1 = this.bm(b);
|
|
746
746
|
if (b.a4 != null) {
|
|
747
|
-
c.
|
|
747
|
+
c.ev = b.a4;
|
|
748
748
|
}
|
|
749
749
|
break;
|
|
750
750
|
default: return null;
|
|
@@ -763,8 +763,8 @@ export let PropertyEditorPanel = /*@__PURE__*/ (() => {
|
|
|
763
763
|
if (c == null) {
|
|
764
764
|
return null;
|
|
765
765
|
}
|
|
766
|
-
c.
|
|
767
|
-
this.aq.item(c.
|
|
766
|
+
c.ei = this.be + "_" + l;
|
|
767
|
+
this.aq.item(c.ei, b);
|
|
768
768
|
return c;
|
|
769
769
|
}
|
|
770
770
|
bl(a) {
|
|
@@ -29,6 +29,8 @@ import { ListPanelActivationMode_$type } from './ListPanelActivationMode';
|
|
|
29
29
|
import { ListPanelSelectionBehavior_$type } from './ListPanelSelectionBehavior';
|
|
30
30
|
import { IgcListPanelSelectedItemsCollection } from './igc-list-panel-selected-items-collection';
|
|
31
31
|
import { ListPanelSelectedItemsCollection as ListPanelSelectedItemsCollection_internal } from './ListPanelSelectedItemsCollection';
|
|
32
|
+
import { IgcListPanelContentRecycledEventArgs } from './igc-list-panel-content-recycled-event-args';
|
|
33
|
+
import { IgcListPanelContentRebindEventArgs } from './igc-list-panel-content-rebind-event-args';
|
|
32
34
|
export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
33
35
|
class IgcListPanelComponent extends IgcHTMLElement {
|
|
34
36
|
setScrollbarStyle(style) {
|
|
@@ -93,6 +95,10 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
93
95
|
this._stylingContainer = null;
|
|
94
96
|
this._stylingParent = null;
|
|
95
97
|
this._inStyling = false;
|
|
98
|
+
this._itemRecycled = null;
|
|
99
|
+
this._itemRecycled_wrapped = null;
|
|
100
|
+
this._itemRebind = null;
|
|
101
|
+
this._itemRebind_wrapped = null;
|
|
96
102
|
this._selectedItemsChanged = null;
|
|
97
103
|
this._selectedItemsChanged_wrapped = null;
|
|
98
104
|
this._selectedKeysChanged = null;
|
|
@@ -294,91 +300,91 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
294
300
|
* Sets or gets the grid selection mode.
|
|
295
301
|
*/
|
|
296
302
|
get selectionMode() {
|
|
297
|
-
return this.i.
|
|
303
|
+
return this.i.as;
|
|
298
304
|
}
|
|
299
305
|
set selectionMode(v) {
|
|
300
|
-
this.i.
|
|
301
|
-
this._a("selectionMode", enumToString(ListPanelSelectionMode_$type, this.i.
|
|
306
|
+
this.i.as = ensureEnum(ListPanelSelectionMode_$type, v);
|
|
307
|
+
this._a("selectionMode", enumToString(ListPanelSelectionMode_$type, this.i.as));
|
|
302
308
|
}
|
|
303
309
|
/**
|
|
304
310
|
* Gets or sets whether the active row style will be applied to rows when made active.
|
|
305
311
|
*/
|
|
306
312
|
get isActiveRowStyleEnabled() {
|
|
307
|
-
return this.i.
|
|
313
|
+
return this.i.bx;
|
|
308
314
|
}
|
|
309
315
|
set isActiveRowStyleEnabled(v) {
|
|
310
|
-
this.i.
|
|
311
|
-
this._a("isActiveRowStyleEnabled", this.i.
|
|
316
|
+
this.i.bx = ensureBool(v);
|
|
317
|
+
this._a("isActiveRowStyleEnabled", this.i.bx);
|
|
312
318
|
}
|
|
313
319
|
/**
|
|
314
320
|
* Gets or sets the background color to use for the cells when they are selected
|
|
315
321
|
*/
|
|
316
322
|
get selectedBackground() {
|
|
317
|
-
return brushToString(this.i.
|
|
323
|
+
return brushToString(this.i.h2);
|
|
318
324
|
}
|
|
319
325
|
set selectedBackground(v) {
|
|
320
|
-
this.i.
|
|
321
|
-
this._a("selectedBackground", brushToString(this.i.
|
|
326
|
+
this.i.h2 = stringToBrush(v);
|
|
327
|
+
this._a("selectedBackground", brushToString(this.i.h2));
|
|
322
328
|
}
|
|
323
329
|
/**
|
|
324
330
|
* Gets or sets the background color to use.
|
|
325
331
|
*/
|
|
326
332
|
get normalBackground() {
|
|
327
|
-
return brushToString(this.i.
|
|
333
|
+
return brushToString(this.i.h0);
|
|
328
334
|
}
|
|
329
335
|
set normalBackground(v) {
|
|
330
|
-
this.i.
|
|
331
|
-
this._a("normalBackground", brushToString(this.i.
|
|
336
|
+
this.i.h0 = stringToBrush(v);
|
|
337
|
+
this._a("normalBackground", brushToString(this.i.h0));
|
|
332
338
|
}
|
|
333
339
|
/**
|
|
334
340
|
* Gets or sets the activation border color to use.
|
|
335
341
|
*/
|
|
336
342
|
get activationBorder() {
|
|
337
|
-
return brushToString(this.i.
|
|
343
|
+
return brushToString(this.i.hw);
|
|
338
344
|
}
|
|
339
345
|
set activationBorder(v) {
|
|
340
|
-
this.i.
|
|
341
|
-
this._a("activationBorder", brushToString(this.i.
|
|
346
|
+
this.i.hw = stringToBrush(v);
|
|
347
|
+
this._a("activationBorder", brushToString(this.i.hw));
|
|
342
348
|
}
|
|
343
349
|
/**
|
|
344
350
|
* Gets or sets the amount of left activation border to use for the cell content for this column.
|
|
345
351
|
*/
|
|
346
352
|
get activationBorderLeftWidth() {
|
|
347
|
-
return this.i.
|
|
353
|
+
return this.i.dq;
|
|
348
354
|
}
|
|
349
355
|
set activationBorderLeftWidth(v) {
|
|
350
|
-
this.i.
|
|
351
|
-
this._a("activationBorderLeftWidth", this.i.
|
|
356
|
+
this.i.dq = +v;
|
|
357
|
+
this._a("activationBorderLeftWidth", this.i.dq);
|
|
352
358
|
}
|
|
353
359
|
/**
|
|
354
360
|
* Gets or sets the amount of top activation border to use for the cell content for this column.
|
|
355
361
|
*/
|
|
356
362
|
get activationBorderTopWidth() {
|
|
357
|
-
return this.i.
|
|
363
|
+
return this.i.ds;
|
|
358
364
|
}
|
|
359
365
|
set activationBorderTopWidth(v) {
|
|
360
|
-
this.i.
|
|
361
|
-
this._a("activationBorderTopWidth", this.i.
|
|
366
|
+
this.i.ds = +v;
|
|
367
|
+
this._a("activationBorderTopWidth", this.i.ds);
|
|
362
368
|
}
|
|
363
369
|
/**
|
|
364
370
|
* Gets or sets the amount of right activation border to use for the cell content of this column.
|
|
365
371
|
*/
|
|
366
372
|
get activationBorderRightWidth() {
|
|
367
|
-
return this.i.
|
|
373
|
+
return this.i.dr;
|
|
368
374
|
}
|
|
369
375
|
set activationBorderRightWidth(v) {
|
|
370
|
-
this.i.
|
|
371
|
-
this._a("activationBorderRightWidth", this.i.
|
|
376
|
+
this.i.dr = +v;
|
|
377
|
+
this._a("activationBorderRightWidth", this.i.dr);
|
|
372
378
|
}
|
|
373
379
|
/**
|
|
374
380
|
* Gets or sets the amount of bottom activation border to use for the cell content of this column.
|
|
375
381
|
*/
|
|
376
382
|
get activationBorderBottomWidth() {
|
|
377
|
-
return this.i.
|
|
383
|
+
return this.i.dp;
|
|
378
384
|
}
|
|
379
385
|
set activationBorderBottomWidth(v) {
|
|
380
|
-
this.i.
|
|
381
|
-
this._a("activationBorderBottomWidth", this.i.
|
|
386
|
+
this.i.dp = +v;
|
|
387
|
+
this._a("activationBorderBottomWidth", this.i.dp);
|
|
382
388
|
}
|
|
383
389
|
/**
|
|
384
390
|
* Sets or gets the grid selection mode.
|
|
@@ -394,11 +400,11 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
394
400
|
* Sets or gets how selection behaves in the grid.
|
|
395
401
|
*/
|
|
396
402
|
get selectionBehavior() {
|
|
397
|
-
return this.i.
|
|
403
|
+
return this.i.an;
|
|
398
404
|
}
|
|
399
405
|
set selectionBehavior(v) {
|
|
400
|
-
this.i.
|
|
401
|
-
this._a("selectionBehavior", enumToString(ListPanelSelectionBehavior_$type, this.i.
|
|
406
|
+
this.i.an = ensureEnum(ListPanelSelectionBehavior_$type, v);
|
|
407
|
+
this._a("selectionBehavior", enumToString(ListPanelSelectionBehavior_$type, this.i.an));
|
|
402
408
|
}
|
|
403
409
|
/**
|
|
404
410
|
* Sets or gets the user provided primary key to assume for the data. Certain functionality of the grid requires a way to uniquely identify items in order to work correctly.
|
|
@@ -433,7 +439,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
433
439
|
get selectedItems() {
|
|
434
440
|
if (this._selectedItems === null) {
|
|
435
441
|
let coll = new IgcListPanelSelectedItemsCollection();
|
|
436
|
-
let innerColl = this.i.
|
|
442
|
+
let innerColl = this.i.ai;
|
|
437
443
|
if (!innerColl) {
|
|
438
444
|
innerColl = new ListPanelSelectedItemsCollection_internal();
|
|
439
445
|
}
|
|
@@ -449,7 +455,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
449
455
|
let coll = new IgcListPanelSelectedItemsCollection();
|
|
450
456
|
this._selectedItems = coll._fromOuter(v);
|
|
451
457
|
let syncColl = new SyncableObservableCollection$1(Base.$type);
|
|
452
|
-
let innerColl = this.i.
|
|
458
|
+
let innerColl = this.i.ai;
|
|
453
459
|
if (!innerColl) {
|
|
454
460
|
innerColl = new ListPanelSelectedItemsCollection_internal();
|
|
455
461
|
}
|
|
@@ -463,7 +469,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
463
469
|
get selectedKeys() {
|
|
464
470
|
if (this._selectedKeys === null) {
|
|
465
471
|
let coll = new IgcListPanelSelectedKeysCollection();
|
|
466
|
-
let innerColl = this.i.
|
|
472
|
+
let innerColl = this.i.al;
|
|
467
473
|
if (!innerColl) {
|
|
468
474
|
innerColl = new ListPanelSelectedKeysCollection_internal();
|
|
469
475
|
}
|
|
@@ -479,7 +485,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
479
485
|
let coll = new IgcListPanelSelectedKeysCollection();
|
|
480
486
|
this._selectedKeys = coll._fromOuter(v);
|
|
481
487
|
let syncColl = new SyncableObservableCollection$1(ListPanelPrimaryKeyValue.$type);
|
|
482
|
-
let innerColl = this.i.
|
|
488
|
+
let innerColl = this.i.al;
|
|
483
489
|
if (!innerColl) {
|
|
484
490
|
innerColl = new ListPanelSelectedKeysCollection_internal();
|
|
485
491
|
}
|
|
@@ -504,116 +510,116 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
504
510
|
* Gets or Sets the property name that contains the values.
|
|
505
511
|
*/
|
|
506
512
|
get rowHeight() {
|
|
507
|
-
return this.i.
|
|
513
|
+
return this.i.ec;
|
|
508
514
|
}
|
|
509
515
|
set rowHeight(v) {
|
|
510
|
-
this.i.
|
|
511
|
-
this._a("rowHeight", this.i.
|
|
516
|
+
this.i.ec = +v;
|
|
517
|
+
this._a("rowHeight", this.i.ec);
|
|
512
518
|
}
|
|
513
519
|
get actualRowHeight() {
|
|
514
|
-
return this.i.
|
|
520
|
+
return this.i.c4;
|
|
515
521
|
}
|
|
516
522
|
set actualRowHeight(v) {
|
|
517
|
-
this.i.
|
|
518
|
-
this._a("actualRowHeight", this.i.
|
|
523
|
+
this.i.c4 = +v;
|
|
524
|
+
this._a("actualRowHeight", this.i.c4);
|
|
519
525
|
}
|
|
520
526
|
/**
|
|
521
527
|
* Gets or Sets the property name that contains the values.
|
|
522
528
|
*/
|
|
523
529
|
get cellTextStyle() {
|
|
524
|
-
if (this.i.
|
|
530
|
+
if (this.i.a4 == null) {
|
|
525
531
|
return null;
|
|
526
532
|
}
|
|
527
|
-
return this.i.
|
|
533
|
+
return this.i.a4.fontString;
|
|
528
534
|
}
|
|
529
535
|
set cellTextStyle(v) {
|
|
530
536
|
let fi = new FontInfo();
|
|
531
537
|
fi.fontString = v;
|
|
532
|
-
this.i.
|
|
533
|
-
this._a("cellTextStyle", this.i.
|
|
538
|
+
this.i.a4 = fi;
|
|
539
|
+
this._a("cellTextStyle", this.i.a4 != null ? this.i.a4.fontString : "");
|
|
534
540
|
}
|
|
535
541
|
get hasUnevenSizes() {
|
|
536
|
-
return this.i.
|
|
542
|
+
return this.i.bv;
|
|
537
543
|
}
|
|
538
544
|
/**
|
|
539
545
|
* Gets or sets the style of scrollbar.
|
|
540
546
|
*/
|
|
541
547
|
get scrollbarStyle() {
|
|
542
|
-
return this.i.
|
|
548
|
+
return this.i.a0;
|
|
543
549
|
}
|
|
544
550
|
set scrollbarStyle(v) {
|
|
545
|
-
this.i.
|
|
546
|
-
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.
|
|
551
|
+
this.i.a0 = ensureEnum(ScrollbarStyle_$type, v);
|
|
552
|
+
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.a0));
|
|
547
553
|
}
|
|
548
554
|
/**
|
|
549
555
|
* Gets or sets the scrollbar background color.
|
|
550
556
|
*/
|
|
551
557
|
get scrollbarBackground() {
|
|
552
|
-
return brushToString(this.i.
|
|
558
|
+
return brushToString(this.i.h1);
|
|
553
559
|
}
|
|
554
560
|
set scrollbarBackground(v) {
|
|
555
|
-
this.i.
|
|
556
|
-
this._a("scrollbarBackground", brushToString(this.i.
|
|
561
|
+
this.i.h1 = stringToBrush(v);
|
|
562
|
+
this._a("scrollbarBackground", brushToString(this.i.h1));
|
|
557
563
|
}
|
|
558
564
|
/**
|
|
559
565
|
* Gets or sets the color to use for the background of the component.
|
|
560
566
|
*/
|
|
561
567
|
get backgroundColor() {
|
|
562
|
-
return brushToString(this.i.
|
|
568
|
+
return brushToString(this.i.hx);
|
|
563
569
|
}
|
|
564
570
|
set backgroundColor(v) {
|
|
565
|
-
this.i.
|
|
566
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
571
|
+
this.i.hx = stringToBrush(v);
|
|
572
|
+
this._a("backgroundColor", brushToString(this.i.hx));
|
|
567
573
|
}
|
|
568
574
|
/**
|
|
569
575
|
* Gets or sets the color to use for the background of the component.
|
|
570
576
|
*/
|
|
571
577
|
get orientation() {
|
|
572
|
-
return this.i.
|
|
578
|
+
return this.i.ad;
|
|
573
579
|
}
|
|
574
580
|
set orientation(v) {
|
|
575
|
-
this.i.
|
|
576
|
-
this._a("orientation", enumToString(ListPanelOrientation_$type, this.i.
|
|
581
|
+
this.i.ad = ensureEnum(ListPanelOrientation_$type, v);
|
|
582
|
+
this._a("orientation", enumToString(ListPanelOrientation_$type, this.i.ad));
|
|
577
583
|
}
|
|
578
584
|
/**
|
|
579
585
|
* Gets or sets the color to use for the background of the component.
|
|
580
586
|
*/
|
|
581
587
|
get isCustomRowHeightEnabled() {
|
|
582
|
-
return this.i.
|
|
588
|
+
return this.i.bz;
|
|
583
589
|
}
|
|
584
590
|
set isCustomRowHeightEnabled(v) {
|
|
585
|
-
this.i.
|
|
586
|
-
this._a("isCustomRowHeightEnabled", this.i.
|
|
591
|
+
this.i.bz = ensureBool(v);
|
|
592
|
+
this._a("isCustomRowHeightEnabled", this.i.bz);
|
|
587
593
|
}
|
|
588
594
|
/**
|
|
589
595
|
* Gets or sets the color to use for the text of the component.
|
|
590
596
|
*/
|
|
591
597
|
get textColor() {
|
|
592
|
-
return brushToString(this.i.
|
|
598
|
+
return brushToString(this.i.h3);
|
|
593
599
|
}
|
|
594
600
|
set textColor(v) {
|
|
595
|
-
this.i.
|
|
596
|
-
this._a("textColor", brushToString(this.i.
|
|
601
|
+
this.i.h3 = stringToBrush(v);
|
|
602
|
+
this._a("textColor", brushToString(this.i.h3));
|
|
597
603
|
}
|
|
598
604
|
/**
|
|
599
605
|
* Gets or sets the position of the active row.
|
|
600
606
|
*/
|
|
601
607
|
get activeRow() {
|
|
602
|
-
return this.i.
|
|
608
|
+
return this.i.dt;
|
|
603
609
|
}
|
|
604
610
|
set activeRow(v) {
|
|
605
|
-
this.i.
|
|
606
|
-
this._a("activeRow", this.i.
|
|
611
|
+
this.i.dt = +v;
|
|
612
|
+
this._a("activeRow", this.i.dt);
|
|
607
613
|
}
|
|
608
614
|
/**
|
|
609
615
|
* Gets or sets if the grid should notify on programmatic selection changes as well as changes from the UI.
|
|
610
616
|
*/
|
|
611
617
|
get notifyOnAllSelectionChanges() {
|
|
612
|
-
return this.i.
|
|
618
|
+
return this.i.b2;
|
|
613
619
|
}
|
|
614
620
|
set notifyOnAllSelectionChanges(v) {
|
|
615
|
-
this.i.
|
|
616
|
-
this._a("notifyOnAllSelectionChanges", this.i.
|
|
621
|
+
this.i.b2 = ensureBool(v);
|
|
622
|
+
this._a("notifyOnAllSelectionChanges", this.i.b2);
|
|
617
623
|
}
|
|
618
624
|
findByName(name) {
|
|
619
625
|
if (this.findEphemera) {
|
|
@@ -680,7 +686,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
680
686
|
this._inStyling = false;
|
|
681
687
|
}
|
|
682
688
|
getRowKey(primaryKey, rowIndex) {
|
|
683
|
-
let iv = this.i.
|
|
689
|
+
let iv = this.i.af(primaryKey, rowIndex);
|
|
684
690
|
let ret = null;
|
|
685
691
|
if (iv && iv.externalObject) {
|
|
686
692
|
ret = iv.externalObject;
|
|
@@ -696,7 +702,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
696
702
|
return ret;
|
|
697
703
|
}
|
|
698
704
|
getItemKey(primaryKey, item_) {
|
|
699
|
-
let iv = this.i.
|
|
705
|
+
let iv = this.i.ae(primaryKey, item_);
|
|
700
706
|
let ret = null;
|
|
701
707
|
if (iv && iv.externalObject) {
|
|
702
708
|
ret = iv.externalObject;
|
|
@@ -716,7 +722,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
716
722
|
|
|
717
723
|
*/
|
|
718
724
|
getLastVisibleIndex() {
|
|
719
|
-
let iv = this.i.
|
|
725
|
+
let iv = this.i.d2();
|
|
720
726
|
return (iv);
|
|
721
727
|
}
|
|
722
728
|
/**
|
|
@@ -724,7 +730,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
724
730
|
|
|
725
731
|
*/
|
|
726
732
|
getFirstVisibleIndex() {
|
|
727
|
-
let iv = this.i.
|
|
733
|
+
let iv = this.i.d0();
|
|
728
734
|
return (iv);
|
|
729
735
|
}
|
|
730
736
|
/**
|
|
@@ -732,10 +738,10 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
732
738
|
|
|
733
739
|
*/
|
|
734
740
|
invalidateVisibleItems() {
|
|
735
|
-
this.i.
|
|
741
|
+
this.i.f3();
|
|
736
742
|
}
|
|
737
743
|
notifySetItem(index, oldItem, newItem) {
|
|
738
|
-
this.i.
|
|
744
|
+
this.i.f9(index, oldItem, newItem);
|
|
739
745
|
}
|
|
740
746
|
/**
|
|
741
747
|
* Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -743,13 +749,13 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
743
749
|
|
|
744
750
|
*/
|
|
745
751
|
notifyClearItems() {
|
|
746
|
-
this.i.
|
|
752
|
+
this.i.f6();
|
|
747
753
|
}
|
|
748
754
|
notifyInsertItem(index, newItem) {
|
|
749
|
-
this.i.
|
|
755
|
+
this.i.f7(index, newItem);
|
|
750
756
|
}
|
|
751
757
|
notifyRemoveItem(index, oldItem) {
|
|
752
|
-
this.i.
|
|
758
|
+
this.i.f8(index, oldItem);
|
|
753
759
|
}
|
|
754
760
|
/**
|
|
755
761
|
* Returns the data index of an item within the bound data source.
|
|
@@ -757,19 +763,19 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
757
763
|
* @param item * The item from which to get the index.
|
|
758
764
|
*/
|
|
759
765
|
dataIndexOfItem(item) {
|
|
760
|
-
let iv = this.i.
|
|
766
|
+
let iv = this.i.dv(item);
|
|
761
767
|
return (iv);
|
|
762
768
|
}
|
|
763
769
|
dataIndexOfPrimaryKey(key) {
|
|
764
|
-
let iv = this.i.
|
|
770
|
+
let iv = this.i.dw(key);
|
|
765
771
|
return (iv);
|
|
766
772
|
}
|
|
767
773
|
exportVisualData() {
|
|
768
|
-
let iv = this.i.
|
|
774
|
+
let iv = this.i.ef();
|
|
769
775
|
return (iv);
|
|
770
776
|
}
|
|
771
777
|
exportSerializedVisualData() {
|
|
772
|
-
let iv = this.i.
|
|
778
|
+
let iv = this.i.ex();
|
|
773
779
|
return (iv);
|
|
774
780
|
}
|
|
775
781
|
/**
|
|
@@ -777,7 +783,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
777
783
|
|
|
778
784
|
*/
|
|
779
785
|
selectAllRows() {
|
|
780
|
-
this.i.
|
|
786
|
+
this.i.hf();
|
|
781
787
|
}
|
|
782
788
|
/**
|
|
783
789
|
* Scrolls the grid to given row, by index
|
|
@@ -785,7 +791,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
785
791
|
* @param rowNumber * The row index to scroll to.
|
|
786
792
|
*/
|
|
787
793
|
scrollToRowByIndex(rowNumber) {
|
|
788
|
-
this.i.
|
|
794
|
+
this.i.hd(rowNumber);
|
|
789
795
|
}
|
|
790
796
|
/**
|
|
791
797
|
* Scrolls the grid so that a row is the last visible, by index.
|
|
@@ -793,14 +799,66 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
|
|
|
793
799
|
* @param rowNumber * The row index to scroll to.
|
|
794
800
|
*/
|
|
795
801
|
scrollToLastRowByIndex(rowNumber) {
|
|
796
|
-
this.i.
|
|
802
|
+
this.i.hb(rowNumber);
|
|
797
803
|
}
|
|
798
804
|
/**
|
|
799
805
|
* Deselects all currently selected rows.
|
|
800
806
|
|
|
801
807
|
*/
|
|
802
808
|
deselectAllRows() {
|
|
803
|
-
this.i.
|
|
809
|
+
this.i.fm();
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Called when item content is recycled.
|
|
813
|
+
*/
|
|
814
|
+
get itemRecycled() {
|
|
815
|
+
return this._itemRecycled;
|
|
816
|
+
}
|
|
817
|
+
set itemRecycled(ev) {
|
|
818
|
+
if (this._itemRecycled_wrapped !== null) {
|
|
819
|
+
this.i.itemRecycled = delegateRemove(this.i.itemRecycled, this._itemRecycled_wrapped);
|
|
820
|
+
this._itemRecycled_wrapped = null;
|
|
821
|
+
this._itemRecycled = null;
|
|
822
|
+
}
|
|
823
|
+
this._itemRecycled = ev;
|
|
824
|
+
this._itemRecycled_wrapped = (o, e) => {
|
|
825
|
+
let outerArgs = new IgcListPanelContentRecycledEventArgs();
|
|
826
|
+
outerArgs._provideImplementation(e);
|
|
827
|
+
if (this.beforeItemRecycled) {
|
|
828
|
+
this.beforeItemRecycled(this, outerArgs);
|
|
829
|
+
}
|
|
830
|
+
if (this._itemRecycled) {
|
|
831
|
+
this._itemRecycled(this, outerArgs);
|
|
832
|
+
}
|
|
833
|
+
};
|
|
834
|
+
this.i.itemRecycled = delegateCombine(this.i.itemRecycled, this._itemRecycled_wrapped);
|
|
835
|
+
;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* Called when item content is rebound.
|
|
839
|
+
*/
|
|
840
|
+
get itemRebind() {
|
|
841
|
+
return this._itemRebind;
|
|
842
|
+
}
|
|
843
|
+
set itemRebind(ev) {
|
|
844
|
+
if (this._itemRebind_wrapped !== null) {
|
|
845
|
+
this.i.itemRebind = delegateRemove(this.i.itemRebind, this._itemRebind_wrapped);
|
|
846
|
+
this._itemRebind_wrapped = null;
|
|
847
|
+
this._itemRebind = null;
|
|
848
|
+
}
|
|
849
|
+
this._itemRebind = ev;
|
|
850
|
+
this._itemRebind_wrapped = (o, e) => {
|
|
851
|
+
let outerArgs = new IgcListPanelContentRebindEventArgs();
|
|
852
|
+
outerArgs._provideImplementation(e);
|
|
853
|
+
if (this.beforeItemRebind) {
|
|
854
|
+
this.beforeItemRebind(this, outerArgs);
|
|
855
|
+
}
|
|
856
|
+
if (this._itemRebind) {
|
|
857
|
+
this._itemRebind(this, outerArgs);
|
|
858
|
+
}
|
|
859
|
+
};
|
|
860
|
+
this.i.itemRebind = delegateCombine(this.i.itemRebind, this._itemRebind_wrapped);
|
|
861
|
+
;
|
|
804
862
|
}
|
|
805
863
|
/**
|
|
806
864
|
* Called when the selected items change.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ListPanelContentRebindEventArgs as ListPanelContentRebindEventArgs_internal } from "./ListPanelContentRebindEventArgs";
|
|
2
|
+
/**
|
|
3
|
+
* Information about list item content that was just rebound.
|
|
4
|
+
*/
|
|
5
|
+
export class IgcListPanelContentRebindEventArgs {
|
|
6
|
+
createImplementation() {
|
|
7
|
+
return new ListPanelContentRebindEventArgs_internal();
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
get i() {
|
|
13
|
+
return this._implementation;
|
|
14
|
+
}
|
|
15
|
+
onImplementationCreated() {
|
|
16
|
+
}
|
|
17
|
+
constructor() {
|
|
18
|
+
this._implementation = this.createImplementation();
|
|
19
|
+
this._implementation.externalObject = this;
|
|
20
|
+
this.onImplementationCreated();
|
|
21
|
+
if (this._initializeAdapters) {
|
|
22
|
+
this._initializeAdapters();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
_provideImplementation(i) {
|
|
26
|
+
this._implementation = i;
|
|
27
|
+
this._implementation.externalObject = this;
|
|
28
|
+
this.onImplementationCreated();
|
|
29
|
+
if (this._initializeAdapters) {
|
|
30
|
+
this._initializeAdapters();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The model that is rebinding.
|
|
35
|
+
*/
|
|
36
|
+
get rowObject() {
|
|
37
|
+
return this.i.rowObject;
|
|
38
|
+
}
|
|
39
|
+
set rowObject(v) {
|
|
40
|
+
this.i.rowObject = v;
|
|
41
|
+
}
|
|
42
|
+
}
|