igniteui-webcomponents-grids 3.2.2 → 3.2.3

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.
@@ -14390,7 +14390,7 @@
14390
14390
  this.af.clear();
14391
14391
  this.ab.clear();
14392
14392
  this.is = false;
14393
- this.fv.a1();
14393
+ this.fv.a2();
14394
14394
  }
14395
14395
  this.g4 = d;
14396
14396
  this.mr = a.x;
@@ -14643,6 +14643,7 @@
14643
14643
  else {
14644
14644
  this.kz.add(c);
14645
14645
  this.af.add(d);
14646
+ this.fv.as(c);
14646
14647
  }
14647
14648
  }
14648
14649
  }
@@ -14812,7 +14813,7 @@
14812
14813
  this.aw.j = a.j;
14813
14814
  this.h4 = true;
14814
14815
  this.ib = true;
14815
- this.fv.az();
14816
+ this.fv.a0();
14816
14817
  this.ib = false;
14817
14818
  this.t1(this.aw);
14818
14819
  }
@@ -15047,7 +15048,7 @@
15047
15048
  }
15048
15049
  break;
15049
15050
  }
15050
- this.fv.a1();
15051
+ this.fv.a2();
15051
15052
  this.h9 = false;
15052
15053
  }
15053
15054
  }
@@ -15168,7 +15169,7 @@
15168
15169
  }
15169
15170
  break;
15170
15171
  }
15171
- this.fv.a1();
15172
+ this.fv.a2();
15172
15173
  this.h9 = false;
15173
15174
  }
15174
15175
  }
@@ -15246,7 +15247,7 @@
15246
15247
  }
15247
15248
  if (!this.is) {
15248
15249
  this.ib = true;
15249
- this.fv.a0();
15250
+ this.fv.a1();
15250
15251
  this.ib = false;
15251
15252
  }
15252
15253
  if (this.jw) {
@@ -15311,7 +15312,7 @@
15311
15312
  var _this = this;
15312
15313
  this.h4 = true;
15313
15314
  this.ib = true;
15314
- this.fv.az();
15315
+ this.fv.a0();
15315
15316
  this.ib = false;
15316
15317
  if (this.jw) {
15317
15318
  if (this.selectedCellRangesChanged != null) {
@@ -17791,7 +17792,7 @@
17791
17792
  this.h8 = true;
17792
17793
  this.xe(this.ab, this.af);
17793
17794
  this.xe(this.aa, this.ae);
17794
- this.fv.a1();
17795
+ this.fv.a2();
17795
17796
  this.is = false;
17796
17797
  this.ir = false;
17797
17798
  this.h9 = false;
@@ -18458,7 +18459,7 @@
18458
18459
  var _this = this;
18459
18460
  this.fv.aa();
18460
18461
  this.ah.ag();
18461
- this.fv.a0();
18462
+ this.fv.a1();
18462
18463
  if (this.cf.j) {
18463
18464
  this.ip(false);
18464
18465
  if (this.cj == 3) {
@@ -20221,7 +20222,7 @@
20221
20222
  this.jw = true;
20222
20223
  this.d5.clear();
20223
20224
  this.jw = a;
20224
- this.fv.a0();
20225
+ this.fv.a1();
20225
20226
  }
20226
20227
  }
20227
20228
  else if (this.ec == 5) {
@@ -20230,7 +20231,7 @@
20230
20231
  this.jw = true;
20231
20232
  this.d2.clear();
20232
20233
  this.jw = b;
20233
- this.fv.az();
20234
+ this.fv.a0();
20234
20235
  }
20235
20236
  this.aw = null;
20236
20237
  this.mp = -1;
@@ -20997,7 +20998,7 @@
20997
20998
  this.af.ae.item(g, b);
20998
20999
  var h = this.h9;
20999
21000
  this.h9 = true;
21000
- this.fv.a1();
21001
+ this.fv.a2();
21001
21002
  this.h9 = h;
21002
21003
  }
21003
21004
  }
@@ -21014,7 +21015,7 @@
21014
21015
  this.d5._inner[i].primaryKey = b;
21015
21016
  var k = this.h9;
21016
21017
  this.h9 = true;
21017
- this.fv.a0();
21018
+ this.fv.a1();
21018
21019
  this.h9 = k;
21019
21020
  }
21020
21021
  }
@@ -21277,11 +21278,12 @@
21277
21278
  this.ab.clear();
21278
21279
  this.af.clear();
21279
21280
  this.kr = true;
21280
- this.fv.a1();
21281
+ this.fv.a2();
21281
21282
  this.kr = false;
21282
21283
  this.is = false;
21283
21284
  this.vy(a, null);
21284
21285
  this.v1(b, null);
21286
+ this.fv.as(-1);
21285
21287
  }
21286
21288
  }
21287
21289
  };
@@ -28565,18 +28567,18 @@
28565
28567
  enumerable: true,
28566
28568
  configurable: true
28567
28569
  });
28568
- SelectionManager.prototype.at = function (a) {
28570
+ SelectionManager.prototype.au = function (a) {
28569
28571
  if (!a.l.aj) {
28570
28572
  return;
28571
28573
  }
28572
28574
  if (this.p(a)) {
28573
- this.aw(a);
28575
+ this.ax(a);
28574
28576
  }
28575
28577
  else {
28576
28578
  this.ap(a);
28577
28579
  }
28578
28580
  };
28579
- SelectionManager.prototype.as = function (a) {
28581
+ SelectionManager.prototype.at = function (a) {
28580
28582
  if (!a.l.aj) {
28581
28583
  return;
28582
28584
  }
@@ -28666,7 +28668,7 @@
28666
28668
  SelectionManager.prototype.m = function () {
28667
28669
  return this.a.ec == 3 || this.a.ec == 4;
28668
28670
  };
28669
- SelectionManager.prototype.aw = function (a) {
28671
+ SelectionManager.prototype.ax = function (a) {
28670
28672
  var b = this.a.ex.getDataRow(a.l);
28671
28673
  if (b == -1) {
28672
28674
  return;
@@ -28676,12 +28678,12 @@
28676
28678
  }
28677
28679
  var c = this.a.ex.getRowKey(this.a.i(), b);
28678
28680
  if (this.n(c)) {
28679
- this.ax(c, b, false);
28681
+ this.ay(c, b, false);
28680
28682
  }
28681
28683
  if (this.i.d(a.l.a5)) {
28682
28684
  var d = this.i.item(a.l.a5);
28683
28685
  if (this.l(c, d)) {
28684
- this.au(c, b, d);
28686
+ this.av(c, b, d);
28685
28687
  }
28686
28688
  }
28687
28689
  };
@@ -28725,7 +28727,7 @@
28725
28727
  this.a.s1();
28726
28728
  this.g.g = true;
28727
28729
  for (var l = 0; l < i.count; l++) {
28728
- this.ax(i._inner[l], j._inner[l], false);
28730
+ this.ay(i._inner[l], j._inner[l], false);
28729
28731
  }
28730
28732
  this.g.g = false;
28731
28733
  this.a.tj();
@@ -28759,7 +28761,7 @@
28759
28761
  }
28760
28762
  }
28761
28763
  for (var z = 0; z < o.count; z++) {
28762
- this.au(o._inner[z], q._inner[z], p._inner[z]);
28764
+ this.av(o._inner[z], q._inner[z], p._inner[z]);
28763
28765
  }
28764
28766
  }
28765
28767
  if (c == null || b) {
@@ -28819,7 +28821,7 @@
28819
28821
  this.a.vv(c, a);
28820
28822
  }
28821
28823
  };
28822
- SelectionManager.prototype.ay = function (a, b, c, d) {
28824
+ SelectionManager.prototype.az = function (a, b, c, d) {
28823
28825
  if (this.g.d(a)) {
28824
28826
  this.g.f(a);
28825
28827
  if (this.a.model.bn != null && this.a.model.bm != null) {
@@ -28839,7 +28841,7 @@
28839
28841
  this.a.vw(c, a);
28840
28842
  }
28841
28843
  };
28842
- SelectionManager.prototype.ax = function (a, b, c) {
28844
+ SelectionManager.prototype.ay = function (a, b, c) {
28843
28845
  var d = true;
28844
28846
  var e = false;
28845
28847
  if (!c) {
@@ -28848,7 +28850,7 @@
28848
28850
  if (f.targetRow != null) {
28849
28851
  var g = this.a.ex.getItemKey(this.a.i(), f.targetRow);
28850
28852
  var h = this.a.ex.indexOfVisibleItemByKey(this.a.i(), g, this.a.m7(), this.a.nc());
28851
- this.ay(g, h, f.targetRow, true);
28853
+ this.az(g, h, f.targetRow, true);
28852
28854
  }
28853
28855
  e = true;
28854
28856
  d = false;
@@ -28862,12 +28864,12 @@
28862
28864
  if (j >= 0) {
28863
28865
  var k = this.a.ex.getRowKey(this.a.i(), j);
28864
28866
  if (this.n(k)) {
28865
- this.ay(k, j, null, false);
28867
+ this.az(k, j, null, false);
28866
28868
  }
28867
28869
  }
28868
28870
  }
28869
28871
  }
28870
- this.ay(a, b, i, d);
28872
+ this.az(a, b, i, d);
28871
28873
  };
28872
28874
  SelectionManager.prototype.ao = function (a, b, c) {
28873
28875
  if (!this.i.d(c)) {
@@ -28947,7 +28949,7 @@
28947
28949
  }
28948
28950
  }
28949
28951
  };
28950
- SelectionManager.prototype.av = function (a, b, c, d) {
28952
+ SelectionManager.prototype.aw = function (a, b, c, d) {
28951
28953
  if (this.l(a, c)) {
28952
28954
  this.f.item(a).f(c);
28953
28955
  if (this.f.item(a).r == 0) {
@@ -28969,14 +28971,14 @@
28969
28971
  }
28970
28972
  }
28971
28973
  };
28972
- SelectionManager.prototype.au = function (a, b, c) {
28974
+ SelectionManager.prototype.av = function (a, b, c) {
28973
28975
  var d = true;
28974
28976
  if (this.a.ex.getRowType(b) == 3) {
28975
28977
  var e = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.DataSourceSpecialRow.$, a.value[0]);
28976
28978
  if (e.targetRow != null) {
28977
28979
  var f = this.a.ex.getItemKey(this.a.i(), e.targetRow);
28978
28980
  var g = this.a.ex.indexOfVisibleItemByKey(this.a.i(), f, this.a.m7(), this.a.nc());
28979
- this.av(f, g, c, true);
28981
+ this.aw(f, g, c, true);
28980
28982
  }
28981
28983
  d = false;
28982
28984
  }
@@ -28986,12 +28988,12 @@
28986
28988
  if (h >= 0) {
28987
28989
  var i = this.a.ex.getRowKey(this.a.i(), h);
28988
28990
  if (this.l(i, c)) {
28989
- this.av(i, h, c, false);
28991
+ this.aw(i, h, c, false);
28990
28992
  }
28991
28993
  }
28992
28994
  }
28993
28995
  }
28994
- this.av(a, b, c, d);
28996
+ this.aw(a, b, c, d);
28995
28997
  };
28996
28998
  SelectionManager.prototype.v = function (a) {
28997
28999
  var b = -1;
@@ -29010,7 +29012,7 @@
29010
29012
  }
29011
29013
  return b;
29012
29014
  };
29013
- SelectionManager.prototype.a1 = function () {
29015
+ SelectionManager.prototype.a2 = function () {
29014
29016
  var a = this.r();
29015
29017
  var b = new igniteuiWebcomponentsCore.Dictionary$2(PrimaryKeyValue.$, igniteuiWebcomponentsCore.Number_$type, 0);
29016
29018
  for (var c = 0; c < a.count; c++) {
@@ -29056,7 +29058,7 @@
29056
29058
  }
29057
29059
  }
29058
29060
  for (var n = 0; n < k.count; n++) {
29059
- this.ax(j._inner[n], k._inner[n], false);
29061
+ this.ay(j._inner[n], k._inner[n], false);
29060
29062
  }
29061
29063
  for (var o = 0; o < this.a.ab.ae.count; o++) {
29062
29064
  var p = this.a.ex.getItemKey(this.a.i(), this.a.ab.ae._inner[o]);
@@ -29068,11 +29070,11 @@
29068
29070
  if (q == -1) {
29069
29071
  q = this.a.ex.fastGetItemIndexForKey(this.a.i(), p, this.a.m7(), this.a.nc());
29070
29072
  }
29071
- this.ax(p, q, false);
29073
+ this.ay(p, q, false);
29072
29074
  }
29073
29075
  }
29074
29076
  };
29075
- SelectionManager.prototype.a0 = function () {
29077
+ SelectionManager.prototype.a1 = function () {
29076
29078
  var a = this.a.d5.am;
29077
29079
  var b = new igniteuiWebcomponentsCore.Dictionary$2(PrimaryKeyValue.$, igniteuiWebcomponentsCore.IList$1_$type.specialize(igniteuiWebcomponentsCore.Number_$type), 0);
29078
29080
  var _loop_1 = function (c) {
@@ -29156,10 +29158,10 @@
29156
29158
  }
29157
29159
  }
29158
29160
  for (var u = 0; u < m.count; u++) {
29159
- this.au(m._inner[u], o._inner[u], n._inner[u]);
29161
+ this.av(m._inner[u], o._inner[u], n._inner[u]);
29160
29162
  }
29161
29163
  };
29162
- SelectionManager.prototype.az = function () {
29164
+ SelectionManager.prototype.a0 = function () {
29163
29165
  var a = this.a.d2.ae;
29164
29166
  this.t.clear();
29165
29167
  this.t = this.s;
@@ -29256,11 +29258,11 @@
29256
29258
  if (d >= 0) {
29257
29259
  var e = this.a.ex.getRowKey(this.a.i(), d);
29258
29260
  if (this.n(e)) {
29259
- this.ay(e, d, null, false);
29261
+ this.az(e, d, null, false);
29260
29262
  }
29261
29263
  }
29262
29264
  }
29263
- this.ay(a, b, c, true);
29265
+ this.az(a, b, c, true);
29264
29266
  };
29265
29267
  SelectionManager.prototype.ai = function (a, b) {
29266
29268
  var c = new igniteuiWebcomponentsCore.List$1(PrimaryKeyValue.$, 0);
@@ -29412,7 +29414,7 @@
29412
29414
  }
29413
29415
  }
29414
29416
  for (var g = 0; g < b.count; g++) {
29415
- this.ax(b._inner[g], c._inner[g], true);
29417
+ this.ay(b._inner[g], c._inner[g], true);
29416
29418
  }
29417
29419
  };
29418
29420
  SelectionManager.prototype.aa = function () {
@@ -29485,6 +29487,9 @@
29485
29487
  SelectionManager.prototype.q = function (a) {
29486
29488
  return this.a.ec == 2 || this.a.ec == 5;
29487
29489
  };
29490
+ SelectionManager.prototype.as = function (a) {
29491
+ this.u = a;
29492
+ };
29488
29493
  SelectionManager.prototype.z = function (a, b, c, d) {
29489
29494
  var _this = this;
29490
29495
  if (d === void 0) {
@@ -29496,10 +29501,10 @@
29496
29501
  b = this.q(this.a.ec) ? b : false;
29497
29502
  if (!b || this.u == -1) {
29498
29503
  if (c || d) {
29499
- this.at(a);
29504
+ this.au(a);
29500
29505
  }
29501
29506
  else {
29502
- this.as(a);
29507
+ this.at(a);
29503
29508
  }
29504
29509
  this.c = null;
29505
29510
  if (this.p(a)) {
@@ -29522,7 +29527,7 @@
29522
29527
  if (!e.b(f)) {
29523
29528
  var g = this.a.ex.getRowKey(this.a.i(), f);
29524
29529
  if (g != null && this.g.d(g)) {
29525
- this.ax(g, f, false);
29530
+ this.ay(g, f, false);
29526
29531
  }
29527
29532
  }
29528
29533
  }
@@ -52949,9 +52954,12 @@
52949
52954
  else {
52950
52955
  var b = (Array.isArray(this.ac));
52951
52956
  if (b) {
52952
- var c = (Object.keys(this.ac[0]));
52953
- if (c.length > 0) {
52954
- this.x.fields = [c[0]];
52957
+ var c = (this.ac.length);
52958
+ if (c > 0) {
52959
+ var d = (Object.keys(this.ac[0]));
52960
+ if (d.length > 0) {
52961
+ this.x.fields = [d[0]];
52962
+ }
52955
52963
  }
52956
52964
  }
52957
52965
  }