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.
Files changed (74) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +7393 -6728
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ComboEditorBridge.js +6 -6
  4. package/esm2015/lib/ComboEditorView_combined.js +32 -32
  5. package/esm2015/lib/ListPanelContentRebindEventArgs.js +26 -0
  6. package/esm2015/lib/ListPanelContentRecycledEventArgs.js +26 -0
  7. package/esm2015/lib/ListPanelScrollerKeyboardListener.js +15 -15
  8. package/esm2015/lib/ListPanelView_combined.js +1267 -1233
  9. package/esm2015/lib/NativeUILayoutFactory_combined.js +5036 -4716
  10. package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
  11. package/esm2015/lib/igc-list-panel-component.js +144 -86
  12. package/esm2015/lib/igc-list-panel-content-rebind-event-args.js +42 -0
  13. package/esm2015/lib/igc-list-panel-content-recycled-event-args.js +42 -0
  14. package/esm2015/lib/igc-tool-action-button-component.js +6 -6
  15. package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
  16. package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
  17. package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
  18. package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
  19. package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
  20. package/esm2015/lib/igc-tool-action-component.js +162 -165
  21. package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
  22. package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -37
  23. package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
  24. package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
  25. package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
  26. package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
  27. package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
  28. package/esm2015/lib/igc-tool-panel-component.js +277 -256
  29. package/esm2015/lib/igc-toolbar-component.js +180 -159
  30. package/esm2015/public_api.js +4 -0
  31. package/esm5/lib/ComboEditorBridge.js +6 -6
  32. package/esm5/lib/ComboEditorView_combined.js +32 -32
  33. package/esm5/lib/ListPanelContentRebindEventArgs.js +32 -0
  34. package/esm5/lib/ListPanelContentRecycledEventArgs.js +32 -0
  35. package/esm5/lib/ListPanelScrollerKeyboardListener.js +15 -15
  36. package/esm5/lib/ListPanelView_combined.js +1254 -1216
  37. package/esm5/lib/NativeUILayoutFactory_combined.js +4882 -4534
  38. package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
  39. package/esm5/lib/igc-list-panel-component.js +154 -86
  40. package/esm5/lib/igc-list-panel-content-rebind-event-args.js +52 -0
  41. package/esm5/lib/igc-list-panel-content-recycled-event-args.js +52 -0
  42. package/esm5/lib/igc-tool-action-button-component.js +6 -6
  43. package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
  44. package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
  45. package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
  46. package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
  47. package/esm5/lib/igc-tool-action-combo-component.js +8 -8
  48. package/esm5/lib/igc-tool-action-component.js +162 -165
  49. package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
  50. package/esm5/lib/igc-tool-action-icon-button-component.js +34 -37
  51. package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
  52. package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
  53. package/esm5/lib/igc-tool-action-radio-component.js +32 -32
  54. package/esm5/lib/igc-tool-action-separator-component.js +6 -6
  55. package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
  56. package/esm5/lib/igc-tool-panel-component.js +285 -256
  57. package/esm5/lib/igc-toolbar-component.js +188 -159
  58. package/esm5/public_api.js +4 -0
  59. package/fesm2015/igniteui-webcomponents-layouts.js +7526 -6949
  60. package/fesm5/igniteui-webcomponents-layouts.js +7391 -6730
  61. package/lib/INativeUIToolPanelBridge.d.ts +1 -0
  62. package/lib/ListPanelContentRebindEventArgs.d.ts +10 -0
  63. package/lib/ListPanelContentRecycledEventArgs.d.ts +10 -0
  64. package/lib/ListPanelView_combined.d.ts +245 -240
  65. package/lib/NativeUILayoutFactory_combined.d.ts +1167 -1119
  66. package/lib/igc-list-panel-component.d.ts +16 -0
  67. package/lib/igc-list-panel-content-rebind-event-args.d.ts +20 -0
  68. package/lib/igc-list-panel-content-recycled-event-args.d.ts +20 -0
  69. package/lib/igc-tool-action-component.d.ts +0 -1
  70. package/lib/igc-tool-action-icon-button-component.d.ts +0 -1
  71. package/lib/igc-tool-panel-component.d.ts +11 -0
  72. package/lib/igc-toolbar-component.d.ts +11 -0
  73. package/package.json +3 -3
  74. package/public_api.d.ts +4 -0
@@ -27,11 +27,13 @@ import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
27
27
  import { ListPanelOrientation_$type } from "./ListPanelOrientation";
28
28
  import { DeviceUtils } from "igniteui-webcomponents-core";
29
29
  import { FastIterationDictionary$2 } from "igniteui-webcomponents-core";
30
- import { Stack$1 } from "igniteui-webcomponents-core";
30
+ import { Queue$1 } from "igniteui-webcomponents-core";
31
31
  import { ListPanelPrimaryKeyValue } from "./ListPanelPrimaryKeyValue";
32
32
  import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
33
33
  import { ListPanelViewportChangedEventArgs } from "./ListPanelViewportChangedEventArgs";
34
34
  import { DataSourceSpecialRow } from "igniteui-webcomponents-core";
35
+ import { ListPanelContentRecycledEventArgs } from "./ListPanelContentRecycledEventArgs";
36
+ import { ListPanelContentRebindEventArgs } from "./ListPanelContentRebindEventArgs";
35
37
  import { ListPanelSelectedItemsChangedEventArgs } from "./ListPanelSelectedItemsChangedEventArgs";
36
38
  import { ListPanelSelectedKeysChangedEventArgs } from "./ListPanelSelectedKeysChangedEventArgs";
37
39
  import { ListPanelSelectionChangedEventArgs } from "./ListPanelSelectionChangedEventArgs";
@@ -103,7 +105,7 @@ export let ListPanelView = /*@__PURE__*/ (() => {
103
105
  this.ae();
104
106
  NativeUIComponent.au(this.s(), 9, (c) => {
105
107
  let d = c;
106
- this.a.fx(d);
108
+ this.a.f0(d);
107
109
  this.k = d.an;
108
110
  });
109
111
  let c = Math.round(a.rootWrapper.width());
@@ -114,11 +116,11 @@ export let ListPanelView = /*@__PURE__*/ (() => {
114
116
  }
115
117
  t(a) {
116
118
  let b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
117
- this.a.gg(b, a.button == 0, a.shiftKey, a.ctrlKey);
119
+ this.a.gj(b, a.button == 0, a.shiftKey, a.ctrlKey);
118
120
  }
119
121
  u(a) {
120
122
  let b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
121
- this.a.gh(b, a.button == 0, a.shiftKey, a.ctrlKey);
123
+ this.a.gk(b, a.button == 0, a.shiftKey, a.ctrlKey);
122
124
  }
123
125
  get contentGrid() {
124
126
  return this.k;
@@ -145,10 +147,10 @@ export let ListPanelView = /*@__PURE__*/ (() => {
145
147
  }
146
148
  this.ag = new Size(1, c, d);
147
149
  this.a.onSizeChanged(this.ag.width, this.ag.height);
148
- if (!this.a.aw.d.isEmpty && (a != this.a.aw.d.width || b != this.a.aw.d.height)) {
149
- this.a.setViewport(this.a.aw.d.left, this.a.aw.d.top, this.a.aw.d.left + a, this.a.aw.d.top + b);
150
+ if (!this.a.ay.d.isEmpty && (a != this.a.ay.d.width || b != this.a.ay.d.height)) {
151
+ this.a.setViewport(this.a.ay.d.left, this.a.ay.d.top, this.a.ay.d.left + a, this.a.ay.d.top + b);
150
152
  }
151
- if (this.a.aw.d.isEmpty && a > 0 && b > 0) {
153
+ if (this.a.ay.d.isEmpty && a > 0 && b > 0) {
152
154
  this.a.setViewport(0, 0, a, b);
153
155
  }
154
156
  }
@@ -159,8 +161,8 @@ export let ListPanelView = /*@__PURE__*/ (() => {
159
161
  }
160
162
  let b = a.rootWrapper;
161
163
  if (null != b) {
162
- NativeUI.q(b, this.a.h0);
163
- NativeUI.m(b, this.a.hu);
164
+ NativeUI.q(b, this.a.h3);
165
+ NativeUI.m(b, this.a.hx);
164
166
  }
165
167
  }
166
168
  d() {
@@ -179,7 +181,7 @@ export let ListPanelView = /*@__PURE__*/ (() => {
179
181
  return this.ag.width;
180
182
  }
181
183
  i(a) {
182
- this.c = this.a.a3();
184
+ this.c = this.a.a5();
183
185
  return FontUtil.measureStringWidth(a, this.c, this.e);
184
186
  }
185
187
  w(a, b) {
@@ -206,146 +208,148 @@ export let ListPanel = /*@__PURE__*/ (() => {
206
208
  set view(a) {
207
209
  this._view = a;
208
210
  }
209
- get a6() {
210
- if (this.a5 == null) {
211
- this.a5 = new SRProvider(this.view.j);
212
- this.a5.cb("Layouts");
211
+ get a8() {
212
+ if (this.a7 == null) {
213
+ this.a7 = new SRProvider(this.view.j);
214
+ this.a7.cb("Layouts");
213
215
  }
214
- return this.a5;
216
+ return this.a7;
215
217
  }
216
- fx(a) {
217
- this.y = new ListPanelLayoutPanel(a);
218
+ f0(a) {
219
+ this.aa = new ListPanelLayoutPanel(a);
218
220
  }
219
221
  constructor() {
220
222
  super();
221
223
  this._view = null;
222
- this.a4 = null;
223
- this.bc = false;
224
- this.a5 = null;
225
- this.y = null;
224
+ this.a6 = null;
225
+ this.be = false;
226
+ this.a7 = null;
227
+ this.aa = null;
226
228
  this.propertyChanged = null;
227
- this.eb = null;
229
+ this.ed = null;
228
230
  this.viewportChanged = null;
229
- this.aw = null;
230
- this.df = -1;
231
- this.dg = -1;
232
- this.ap = 0;
233
- this.bf = true;
234
- this.hr = null;
235
- this.a8 = true;
236
- this.hp = null;
237
- this.hn = null;
238
- this.c8 = truncate(DeviceUtils.g(1));
231
+ this.ay = null;
232
+ this.dh = -1;
233
+ this.di = -1;
234
+ this.ar = 0;
235
+ this.bh = true;
236
+ this.hu = null;
237
+ this.ba = true;
238
+ this.hs = null;
239
+ this.hq = null;
239
240
  this.da = truncate(DeviceUtils.g(1));
241
+ this.dc = truncate(DeviceUtils.g(1));
242
+ this.db = truncate(DeviceUtils.g(1));
240
243
  this.c9 = truncate(DeviceUtils.g(1));
241
- this.c7 = truncate(DeviceUtils.g(1));
242
244
  this.q = 0;
243
- this.ak = 1;
245
+ this.am = 1;
244
246
  this.b = null;
245
247
  this.a = null;
246
- this.an = null;
248
+ this.ap = null;
247
249
  this.o = null;
250
+ this.itemRecycled = null;
251
+ this.itemRebind = null;
248
252
  this.selectedItemsChanged = null;
249
253
  this.selectedKeysChanged = null;
250
254
  this.selectionChanged = null;
251
255
  this.activeRowChanged = null;
252
- this.af = new ListPanelSelectedItemsCollection();
253
- this.ai = new ListPanelSelectedKeysCollection();
256
+ this.ah = new ListPanelSelectedItemsCollection();
257
+ this.ak = new ListPanelSelectedKeysCollection();
254
258
  this.i = null;
255
259
  this.c = new Array(0);
256
- this.bs = false;
257
- this.di = -1;
258
- this.cy = DeviceUtils.g(42);
259
- this.a1 = null;
260
- this.bb = true;
261
- this.ec = null;
262
- this.cz = 0;
263
- this.cx = NaN;
264
- this.cw = 0;
265
- this.bl = false;
266
- this.be = false;
267
- this.bk = false;
268
- this.dh = -1;
260
+ this.bu = false;
261
+ this.dk = -1;
262
+ this.c0 = DeviceUtils.g(42);
263
+ this.a3 = null;
264
+ this.bd = true;
265
+ this.ee = null;
266
+ this.c1 = 0;
267
+ this.cz = NaN;
268
+ this.cy = 0;
269
+ this.bn = false;
270
+ this.bg = false;
271
+ this.bm = false;
272
+ this.dj = -1;
269
273
  this.contentRefreshed = null;
270
274
  this.rowUpdating = null;
271
- this.a0 = new FastIterationDictionary$2(Number_$type, ListPanelItemModel.$, 0);
275
+ this.a2 = new FastIterationDictionary$2(Number_$type, ListPanelItemModel.$, 0);
272
276
  this.itemWidthRequested = null;
273
277
  this.itemHeightRequested = null;
274
- this.az = new FastIterationDictionary$2(ListPanelItemModel.$, ListPanelItemModel.$, 0);
275
- this.cv = new Stack$1(ListPanelItemModel.$);
276
- this.cp = new List$1(Number_$type, 0);
277
- this.co = new List$1(Number_$type, 0);
278
- this.ct = new List$1(Number_$type, 0);
279
- this.cs = new List$1(Number_$type, 0);
280
- this.dl = -1;
281
- this.cu = null;
282
- this.ax = 1;
283
- this.hq = null;
284
- this.bp = true;
285
- this.bi = true;
286
- this.dc = -1;
287
- this.dd = -1;
278
+ this.a1 = new FastIterationDictionary$2(ListPanelItemModel.$, ListPanelItemModel.$, 0);
279
+ this.cx = new Queue$1(ListPanelItemModel.$);
280
+ this.cr = new List$1(Number_$type, 0);
281
+ this.cq = new List$1(Number_$type, 0);
282
+ this.cv = new List$1(Number_$type, 0);
283
+ this.cu = new List$1(Number_$type, 0);
284
+ this.dn = -1;
285
+ this.cw = null;
286
+ this.az = 1;
287
+ this.ht = null;
288
+ this.br = true;
289
+ this.bk = true;
290
+ this.de = -1;
291
+ this.df = -1;
288
292
  this.l = null;
289
- this.bw = false;
293
+ this.by = false;
290
294
  this.k = null;
291
- this.ho = ListPanel.hv;
292
- this.z = ListPanel.aa;
293
- this.bg = ListPanel.br;
294
- this.hs = ListPanel.hw;
295
- this.dj = -1;
296
- this.dk = -1;
297
- this.bh = true;
298
- this.db = 0;
295
+ this.hr = ListPanel.hy;
296
+ this.ab = ListPanel.ac;
297
+ this.bi = ListPanel.bt;
298
+ this.hv = ListPanel.hz;
299
+ this.dl = -1;
300
+ this.dm = -1;
301
+ this.bj = true;
302
+ this.dd = 0;
299
303
  this._viewportManager = null;
300
- this.cq = new List$1(Number_$type, 0);
301
- this.cr = new List$1(Number_$type, 0);
302
- this.ck = new List$1(Base.$, 0);
303
- this.cl = new List$1(ListPanelPrimaryKeyValue.$, 0);
304
+ this.cs = new List$1(Number_$type, 0);
305
+ this.ct = new List$1(Number_$type, 0);
304
306
  this.cm = new List$1(Base.$, 0);
305
307
  this.cn = new List$1(ListPanelPrimaryKeyValue.$, 0);
306
- this.ba = false;
307
- this.a9 = false;
308
- this.bd = false;
309
- this.bj = false;
310
- this.bn = false;
311
- this.bm = false;
312
- this.cj = false;
313
- this.de = -1;
308
+ this.co = new List$1(Base.$, 0);
309
+ this.cp = new List$1(ListPanelPrimaryKeyValue.$, 0);
310
+ this.bc = false;
311
+ this.bb = false;
312
+ this.bf = false;
313
+ this.bl = false;
314
+ this.bp = false;
314
315
  this.bo = false;
315
- this.a7 = null;
316
- this.v = null;
316
+ this.cl = false;
317
+ this.dg = -1;
318
+ this.bq = false;
319
+ this.a9 = null;
320
+ this.x = null;
317
321
  this.itemClicked = null;
318
- this.ao = new ListPanelSelectionManager(this);
322
+ this.aq = new ListPanelSelectionManager(this);
319
323
  this.p = new ListPanelActivationManager(this);
320
324
  NativeUIInputsFactory.n();
321
- this.aw = new ListPanelVisualModel();
325
+ this.ay = new ListPanelVisualModel();
322
326
  let a = new ListPanelView();
323
327
  a.a = this;
324
328
  this.view = a;
325
329
  this.view.ab();
326
- this.af.ag(runOn(this, this.hd));
327
- this.ai.an(runOn(this, this.he));
330
+ this.ah.ag(runOn(this, this.hg));
331
+ this.ak.an(runOn(this, this.hh));
328
332
  }
329
333
  onSizeChanged(a, b) {
330
- let c = this.cx;
331
- let d = this.cw;
332
- this.cx = this.view.h();
333
- if (this.ab != 1) {
334
- if (d != this.cw || c != (isNaN_(this.cx) ? 0 : this.cx)) {
335
- this.view.x(this.cx, this.cw);
334
+ let c = this.cz;
335
+ let d = this.cy;
336
+ this.cz = this.view.h();
337
+ if (this.ad != 1) {
338
+ if (d != this.cy || c != (isNaN_(this.cz) ? 0 : this.cz)) {
339
+ this.view.x(this.cz, this.cy);
336
340
  }
337
341
  }
338
- this.g3();
342
+ this.g6();
339
343
  }
340
344
  setViewport(a, b, c, d) {
341
- this.df = -1;
342
- this.dg = -1;
345
+ this.dh = -1;
346
+ this.di = -1;
343
347
  let e = c - a;
344
348
  let f = new Rect(0, a, b, c - a, d - b);
345
- if (f.x != this.aw.d.x || f.y != this.aw.d.y || f.width != this.aw.d.width || f.height != this.aw.d.height) {
346
- let g = this.aw.d;
347
- this.aw.d = f;
348
- this.g4();
349
+ if (f.x != this.ay.d.x || f.y != this.ay.d.y || f.width != this.ay.d.width || f.height != this.ay.d.height) {
350
+ let g = this.ay.d;
351
+ this.ay.d = f;
352
+ this.g7();
349
353
  if (this.viewportChanged != null) {
350
354
  this.viewportChanged(this, ((() => {
351
355
  let $ret = new ListPanelViewportChangedEventArgs();
@@ -362,7 +366,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
362
366
  }
363
367
  }
364
368
  }
365
- ad(a, b) {
369
+ af(a, b) {
366
370
  if (this.actualDataSource == null) {
367
371
  return null;
368
372
  }
@@ -373,9 +377,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
373
377
  if (c == null) {
374
378
  return null;
375
379
  }
376
- return this.ac(a, c);
380
+ return this.ae(a, c);
377
381
  }
378
- ac(a, item_) {
382
+ ae(a, item_) {
379
383
  let b = (item_ != null && item_.$$isSpecialRow !== undefined);
380
384
  if (a == null) {
381
385
  if (item_ == null) {
@@ -405,7 +409,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
405
409
  }
406
410
  return new ListPanelPrimaryKeyValue(a, g);
407
411
  }
408
- d6(a) {
412
+ d8(a) {
409
413
  if (this.actualDataSource == null) {
410
414
  return -1;
411
415
  }
@@ -414,8 +418,8 @@ export let ListPanel = /*@__PURE__*/ (() => {
414
418
  }
415
419
  return -1;
416
420
  }
417
- ee(a) {
418
- let b = this.d6(a);
421
+ eg(a) {
422
+ let b = this.d8(a);
419
423
  if (b == -1) {
420
424
  if (a.value != null && a.value.length == 1) {
421
425
  return a.value[0];
@@ -430,70 +434,60 @@ export let ListPanel = /*@__PURE__*/ (() => {
430
434
  }
431
435
  return this.d;
432
436
  }
433
- get aq() {
434
- return this.ap;
437
+ get as() {
438
+ return this.ar;
435
439
  }
436
- set aq(a) {
437
- let b = this.ap;
438
- this.ap = a;
439
- if (b != this.ap) {
440
- this.gi("SelectionMode", enumGetBox(ListPanelSelectionMode_$type, b), enumGetBox(ListPanelSelectionMode_$type, this.ap));
440
+ set as(a) {
441
+ let b = this.ar;
442
+ this.ar = a;
443
+ if (b != this.ar) {
444
+ this.gl("SelectionMode", enumGetBox(ListPanelSelectionMode_$type, b), enumGetBox(ListPanelSelectionMode_$type, this.ar));
441
445
  }
442
446
  }
443
- get bv() {
444
- return this.bf;
447
+ get bx() {
448
+ return this.bh;
445
449
  }
446
- set bv(a) {
447
- let b = this.bf;
448
- this.bf = a;
449
- if (this.bf != b) {
450
- this.gi("IsActiveRowStyleEnabled", b, this.bf);
450
+ set bx(a) {
451
+ let b = this.bh;
452
+ this.bh = a;
453
+ if (this.bh != b) {
454
+ this.gl("IsActiveRowStyleEnabled", b, this.bh);
451
455
  }
452
456
  }
453
- get hz() {
454
- return this.hr;
457
+ get h2() {
458
+ return this.hu;
455
459
  }
456
- set hz(a) {
457
- let b = this.hr;
458
- this.hr = a;
459
- if (this.hr != b) {
460
- this.gi("SelectedBackground", b, this.hr);
460
+ set h2(a) {
461
+ let b = this.hu;
462
+ this.hu = a;
463
+ if (this.hu != b) {
464
+ this.gl("SelectedBackground", b, this.hu);
461
465
  }
462
466
  }
463
- get bq() {
464
- return this.a8;
465
- }
466
- set bq(a) {
467
- this.a8 = a;
467
+ get bs() {
468
+ return this.ba;
468
469
  }
469
- get hx() {
470
- return this.hp;
471
- }
472
- set hx(a) {
473
- let b = this.hp;
474
- this.hp = a;
475
- if (this.hp != b) {
476
- this.gi("NormalBackground", b, this.hp);
477
- }
470
+ set bs(a) {
471
+ this.ba = a;
478
472
  }
479
- get ht() {
480
- return this.hn;
473
+ get h0() {
474
+ return this.hs;
481
475
  }
482
- set ht(a) {
483
- let b = this.hn;
484
- this.hn = a;
485
- if (this.hn != b) {
486
- this.gi("ActivationBorder", b, this.hn);
476
+ set h0(a) {
477
+ let b = this.hs;
478
+ this.hs = a;
479
+ if (this.hs != b) {
480
+ this.gl("NormalBackground", b, this.hs);
487
481
  }
488
482
  }
489
- get dn() {
490
- return this.c8;
483
+ get hw() {
484
+ return this.hq;
491
485
  }
492
- set dn(a) {
493
- let b = this.c8;
494
- this.c8 = a;
495
- if (this.c8 != b) {
496
- this.gi("ActivationBorderLeftWidth", b, this.c8);
486
+ set hw(a) {
487
+ let b = this.hq;
488
+ this.hq = a;
489
+ if (this.hq != b) {
490
+ this.gl("ActivationBorder", b, this.hq);
497
491
  }
498
492
  }
499
493
  get dq() {
@@ -503,7 +497,27 @@ export let ListPanel = /*@__PURE__*/ (() => {
503
497
  let b = this.da;
504
498
  this.da = a;
505
499
  if (this.da != b) {
506
- this.gi("ActivationBorderTopWidth", b, this.da);
500
+ this.gl("ActivationBorderLeftWidth", b, this.da);
501
+ }
502
+ }
503
+ get ds() {
504
+ return this.dc;
505
+ }
506
+ set ds(a) {
507
+ let b = this.dc;
508
+ this.dc = a;
509
+ if (this.dc != b) {
510
+ this.gl("ActivationBorderTopWidth", b, this.dc);
511
+ }
512
+ }
513
+ get dr() {
514
+ return this.db;
515
+ }
516
+ set dr(a) {
517
+ let b = this.db;
518
+ this.db = a;
519
+ if (this.db != b) {
520
+ this.gl("ActivationBorderRightWidth", b, this.db);
507
521
  }
508
522
  }
509
523
  get dp() {
@@ -513,17 +527,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
513
527
  let b = this.c9;
514
528
  this.c9 = a;
515
529
  if (this.c9 != b) {
516
- this.gi("ActivationBorderRightWidth", b, this.c9);
517
- }
518
- }
519
- get dm() {
520
- return this.c7;
521
- }
522
- set dm(a) {
523
- let b = this.c7;
524
- this.c7 = a;
525
- if (this.c7 != b) {
526
- this.gi("ActivationBorderBottomWidth", b, this.c7);
530
+ this.gl("ActivationBorderBottomWidth", b, this.c9);
527
531
  }
528
532
  }
529
533
  get r() {
@@ -533,17 +537,17 @@ export let ListPanel = /*@__PURE__*/ (() => {
533
537
  let b = this.q;
534
538
  this.q = a;
535
539
  if (b != this.q) {
536
- this.gi("ActivationMode", enumGetBox(ListPanelActivationMode_$type, b), enumGetBox(ListPanelActivationMode_$type, this.q));
540
+ this.gl("ActivationMode", enumGetBox(ListPanelActivationMode_$type, b), enumGetBox(ListPanelActivationMode_$type, this.q));
537
541
  }
538
542
  }
539
- get al() {
540
- return this.ak;
543
+ get an() {
544
+ return this.am;
541
545
  }
542
- set al(a) {
543
- let b = this.ak;
544
- this.ak = a;
545
- if (b != this.ak) {
546
- this.gi("SelectionBehavior", enumGetBox(ListPanelSelectionBehavior_$type, b), enumGetBox(ListPanelSelectionBehavior_$type, this.ak));
546
+ set an(a) {
547
+ let b = this.am;
548
+ this.am = a;
549
+ if (b != this.am) {
550
+ this.gl("SelectionBehavior", enumGetBox(ListPanelSelectionBehavior_$type, b), enumGetBox(ListPanelSelectionBehavior_$type, this.am));
547
551
  }
548
552
  }
549
553
  get f() {
@@ -553,7 +557,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
553
557
  let b = this.b;
554
558
  this.b = a;
555
559
  if (this.b != b) {
556
- this.gi("PrimaryKey", b, this.b);
560
+ this.gl("PrimaryKey", b, this.b);
557
561
  }
558
562
  }
559
563
  get d() {
@@ -563,14 +567,14 @@ export let ListPanel = /*@__PURE__*/ (() => {
563
567
  let b = this.a;
564
568
  this.a = a;
565
569
  if (this.a != b) {
566
- this.gi("ActualPrimaryKey", b, this.a);
570
+ this.gl("ActualPrimaryKey", b, this.a);
567
571
  }
568
572
  }
569
- get ao() {
570
- return this.an;
573
+ get aq() {
574
+ return this.ap;
571
575
  }
572
- set ao(a) {
573
- this.an = a;
576
+ set aq(a) {
577
+ this.ap = a;
574
578
  }
575
579
  get p() {
576
580
  return this.o;
@@ -578,20 +582,20 @@ export let ListPanel = /*@__PURE__*/ (() => {
578
582
  set p(a) {
579
583
  this.o = a;
580
584
  }
581
- get ag() {
582
- return this.af;
585
+ get ai() {
586
+ return this.ah;
583
587
  }
584
- get aj() {
585
- return this.ai;
588
+ get al() {
589
+ return this.ak;
586
590
  }
587
591
  get itemsSource() {
588
- return this.eb;
592
+ return this.ed;
589
593
  }
590
594
  set itemsSource(a) {
591
- let b = this.eb;
592
- this.eb = a;
593
- if (b != this.eb) {
594
- this.gi("ItemsSource", b, this.eb);
595
+ let b = this.ed;
596
+ this.ed = a;
597
+ if (b != this.ed) {
598
+ this.gl("ItemsSource", b, this.ed);
595
599
  }
596
600
  }
597
601
  get g() {
@@ -601,7 +605,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
601
605
  let b = this.c;
602
606
  this.c = a;
603
607
  if (this.c != b) {
604
- this.gi("SchemaIncludedProperties", b, this.c);
608
+ this.gl("SchemaIncludedProperties", b, this.c);
605
609
  }
606
610
  }
607
611
  get actualDataSource() {
@@ -611,7 +615,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
611
615
  let b = this.i;
612
616
  this.i = a;
613
617
  if (this.i != b) {
614
- this.gi("ActualDataSource", b, this.i);
618
+ this.gl("ActualDataSource", b, this.i);
615
619
  }
616
620
  }
617
621
  notifySizeChanged() {
@@ -623,143 +627,144 @@ export let ListPanel = /*@__PURE__*/ (() => {
623
627
  provideContainer(a) {
624
628
  this.view.z(a);
625
629
  }
626
- get ea() {
627
- return this.di;
630
+ get ec() {
631
+ return this.dk;
628
632
  }
629
- set ea(a) {
630
- let b = this.di;
631
- this.di = a;
632
- if (b != this.di) {
633
- this.gi("RowHeight", b, this.di);
633
+ set ec(a) {
634
+ let b = this.dk;
635
+ this.dk = a;
636
+ if (b != this.dk) {
637
+ this.gl("RowHeight", b, this.dk);
634
638
  }
635
639
  }
636
- get c2() {
637
- return this.cy;
640
+ get c4() {
641
+ return this.c0;
638
642
  }
639
- set c2(a) {
640
- let b = this.cy;
641
- this.cy = a;
642
- if (b != this.cy) {
643
- this.gi("ActualRowHeight", b, this.cy);
643
+ set c4(a) {
644
+ let b = this.c0;
645
+ this.c0 = a;
646
+ if (b != this.c0) {
647
+ this.gl("ActualRowHeight", b, this.c0);
644
648
  }
645
649
  }
646
- get a2() {
647
- return this.a1;
650
+ get a4() {
651
+ return this.a3;
648
652
  }
649
- set a2(a) {
650
- let b = this.a1;
651
- this.a1 = a;
652
- if (b != this.a1) {
653
- this.gi("CellTextStyle", b, this.a1);
653
+ set a4(a) {
654
+ let b = this.a3;
655
+ this.a3 = a;
656
+ if (b != this.a3) {
657
+ this.gl("CellTextStyle", b, this.a3);
654
658
  }
655
659
  }
656
- a3() {
657
- if (this.a2 == null) {
660
+ a5() {
661
+ if (this.a4 == null) {
658
662
  return this.view.d();
659
663
  }
660
- return this.a2;
664
+ return this.a4;
661
665
  }
662
- get bt() {
663
- return this.ab == 1;
666
+ get bv() {
667
+ return this.ad == 1;
664
668
  }
665
- gi(a, b, c) {
669
+ gl(a, b, c) {
666
670
  if (this.propertyChanged != null) {
667
671
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
668
672
  }
669
- this.gv(a, b, c);
673
+ this.gy(a, b, c);
670
674
  }
671
- fj(a, b) {
672
- this.ge();
675
+ fl(a, b) {
676
+ this.gh();
673
677
  }
674
- gy() {
675
- if (this.bk) {
678
+ g1() {
679
+ if (this.bm) {
676
680
  return;
677
681
  }
678
- this.bk = true;
679
- this.k.enqueueAction(runOn(this, this.fm));
682
+ this.bm = true;
683
+ this.k.enqueueAction(runOn(this, this.fp));
680
684
  }
681
- fm() {
682
- if (!this.bk) {
685
+ fp() {
686
+ if (!this.bm) {
683
687
  return;
684
688
  }
685
- this.bk = false;
686
- this.fu();
687
- if (this.bp) {
688
- this.fh();
689
+ this.bm = false;
690
+ this.fx();
691
+ if (this.br) {
692
+ this.fj();
689
693
  }
690
- this.gz();
691
694
  this.g2();
695
+ this.g5();
692
696
  if (this.contentRefreshed != null) {
693
697
  this.contentRefreshed(this, new ListPanelContentRefreshedEventArgs());
694
698
  }
695
699
  }
696
- fu() {
697
- if (this.bi) {
698
- this.fg();
699
- if (this.ab == 1) {
700
- this.y.g(new Size(1, this.cx, this.cw));
700
+ fx() {
701
+ if (this.bk) {
702
+ this.fi();
703
+ this.bk = false;
704
+ if (this.ad == 1) {
705
+ this.aa.g(new Size(1, this.cz, this.cy));
701
706
  }
702
707
  }
703
708
  }
704
- g2() {
709
+ g5() {
705
710
  if (this.actualDataSource == null) {
706
711
  return;
707
712
  }
708
- this.dh = this.actualDataSource.actualCount;
709
- for (let a = 0; a < this.az.o.count; a++) {
710
- if (this.az.p._inner[a]) {
713
+ this.dj = this.actualDataSource.actualCount;
714
+ for (let a = 0; a < this.a1.o.count; a++) {
715
+ if (this.a1.p._inner[a]) {
711
716
  continue;
712
717
  }
713
- let b = this.az.o._inner[a];
714
- let c = this.az.q._inner[a];
715
- this.y.f(c);
718
+ let b = this.a1.o._inner[a];
719
+ let c = this.a1.q._inner[a];
720
+ this.aa.f(c);
716
721
  }
717
722
  let d = 0;
718
723
  let e = this.r != 0;
719
- for (let f = 0; f < this.a0.o.count; f++) {
720
- if (this.a0.p._inner[f]) {
724
+ for (let f = 0; f < this.a2.o.count; f++) {
725
+ if (this.a2.p._inner[f]) {
721
726
  continue;
722
727
  }
723
- let g = this.a0.o._inner[f];
724
- let h = this.a0.q._inner[f];
725
- this.fq(h);
726
- this.fs(h);
727
- this.fo(h);
728
- this.y.d(this, h);
728
+ let g = this.a2.o._inner[f];
729
+ let h = this.a2.q._inner[f];
730
+ this.ft(h);
731
+ this.fv(h);
732
+ this.fr(h);
733
+ this.aa.d(this, h);
729
734
  }
730
735
  }
731
- fs(a) {
736
+ fv(a) {
732
737
  if (a.p) {
733
738
  if (a.k) {
734
- a.b.a.bg = new Thickness(1, this.dn, this.dq, this.dp, this.dm);
739
+ a.b.a.bg = new Thickness(1, this.dq, this.ds, this.dr, this.dp);
735
740
  }
736
741
  else {
737
742
  a.b.a.bg = new Thickness(0, 0);
738
743
  }
739
744
  a.p = false;
740
745
  if (a.j) {
741
- a.b.a.a9 = this.ht;
746
+ a.b.a.a9 = this.hw;
742
747
  }
743
748
  else {
744
749
  a.b.a.a9 = null;
745
750
  }
746
751
  if (a.n) {
747
- a.b.a.a8 = this.hz;
752
+ a.b.a.a8 = this.h2;
748
753
  }
749
754
  else {
750
- a.b.a.a8 = this.hx;
755
+ a.b.a.a8 = this.h0;
751
756
  }
752
757
  }
753
758
  }
754
- fo(a) {
759
+ fr(a) {
755
760
  if (a.m) {
756
761
  a.m = false;
757
- this.ft(a);
762
+ this.fw(a);
758
763
  }
759
764
  }
760
- ft(a) {
765
+ fw(a) {
761
766
  if (this.rowUpdating != null) {
762
- let b = this.c4(a.v);
767
+ let b = this.c6(a.v);
763
768
  this.rowUpdating(this, ((() => {
764
769
  let $ret = new ListPanelTemplateItemUpdatingEventArgs();
765
770
  $ret.a = a;
@@ -770,7 +775,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
770
775
  })()));
771
776
  }
772
777
  }
773
- fq(a) {
778
+ ft(a) {
774
779
  if (a.b != null) {
775
780
  return;
776
781
  }
@@ -781,168 +786,176 @@ export let ListPanel = /*@__PURE__*/ (() => {
781
786
  d.h = 3;
782
787
  d.f = 3;
783
788
  c.bn(d);
784
- if (this.ab == 0) {
789
+ if (this.ad == 0) {
785
790
  c.f = 3;
786
791
  }
787
792
  else {
788
793
  c.f = 0;
789
794
  }
790
795
  a.b.a = c;
791
- if (this.hx != null) {
792
- a.b.a.a8 = this.hx;
796
+ if (this.h0 != null) {
797
+ a.b.a.a8 = this.h0;
793
798
  }
794
799
  });
795
800
  }
796
- fh() {
797
- if (!this.bp) {
801
+ fj() {
802
+ if (!this.br) {
798
803
  return;
799
804
  }
800
- this.bp = false;
801
- this.fw();
802
- this.dc = this.d8();
803
- this.dd = this.d9();
804
- this.aw.c = this.dc;
805
- this.aw.b = this.dd;
806
- if (this.dc == -1 || this.dd == -1) {
805
+ this.br = false;
806
+ this.fz();
807
+ this.de = this.ea();
808
+ this.df = this.eb();
809
+ this.ay.c = this.de;
810
+ this.ay.b = this.df;
811
+ if (this.de == -1 || this.df == -1) {
807
812
  return;
808
813
  }
809
814
  let a = new List$1(Number_$type, 0);
810
- for (let b = 0; b < this.a0.o.count; b++) {
811
- if (this.a0.p._inner[b]) {
815
+ for (let b = 0; b < this.a2.o.count; b++) {
816
+ if (this.a2.p._inner[b]) {
812
817
  continue;
813
818
  }
814
- let c = this.a0.o._inner[b];
815
- let d = this.a0.q._inner[b];
816
- if (c < this.dc || c > this.dd) {
819
+ let c = this.a2.o._inner[b];
820
+ let d = this.a2.q._inner[b];
821
+ if (c < this.de || c > this.df) {
817
822
  a.add(c);
818
823
  }
819
824
  }
820
825
  for (let e = 0; e < a.count; e++) {
821
- this.g5(a._inner[e]);
826
+ this.g8(a._inner[e]);
822
827
  }
823
- for (let f = this.dc; f <= this.dd; f++) {
824
- this.fp(f);
825
- let g = this.a0.item(f);
826
- g.u = this.c6(f);
827
- g.s = this.c5(f);
828
+ for (let f = this.de; f <= this.df; f++) {
829
+ this.fs(f);
830
+ let g = this.a2.item(f);
831
+ g.u = this.c8(f);
832
+ g.s = this.c7(f);
828
833
  }
829
834
  }
830
- c5(a) {
831
- if (this.ab == 0) {
835
+ c7(a) {
836
+ if (this.ad == 0) {
832
837
  return 0;
833
838
  }
834
- else if (this.ab == 2) {
835
- let b = this.d4(a);
836
- return this.ct._inner[b];
839
+ else if (this.ad == 2) {
840
+ let b = this.d6(a);
841
+ return this.cv._inner[b];
837
842
  }
838
843
  else {
839
- return this.ct._inner[a];
844
+ return this.cv._inner[a];
840
845
  }
841
846
  }
842
- d4(a) {
843
- let b = a % this.cu.count;
847
+ d6(a) {
848
+ let b = a % this.cw.count;
844
849
  return b;
845
850
  }
846
- d5(a) {
847
- let b = Math.floor(a / this.cu.count);
851
+ d7(a) {
852
+ let b = Math.floor(a / this.cw.count);
848
853
  return truncate(b);
849
854
  }
850
- c6(a) {
851
- if (this.ab == 1) {
855
+ c8(a) {
856
+ if (this.ad == 1) {
852
857
  return 0;
853
858
  }
854
- else if (this.ab == 2) {
855
- let b = this.d5(a);
856
- if (this.bx) {
857
- return this.cp._inner[b];
859
+ else if (this.ad == 2) {
860
+ let b = this.d7(a);
861
+ if (this.bz) {
862
+ return this.cr._inner[b];
858
863
  }
859
864
  else {
860
- return b * this.c2;
865
+ return b * this.c4;
861
866
  }
862
867
  }
863
868
  else {
864
- if (this.bx) {
865
- return this.cp._inner[a];
869
+ if (this.bz) {
870
+ return this.cr._inner[a];
866
871
  }
867
872
  else {
868
- return a * this.c2;
873
+ return a * this.c4;
869
874
  }
870
875
  }
871
876
  }
872
- fp(a) {
873
- if (this.a0.d(a)) {
877
+ fs(a) {
878
+ if (this.a2.d(a)) {
874
879
  return;
875
880
  }
876
- let b = this.x(a);
881
+ let b = this.z(a);
877
882
  if (b.i) {
878
- this.az.f(b);
883
+ this.a1.f(b);
879
884
  b.i = false;
880
885
  b.o = true;
881
886
  }
882
- this.a0.s(a, b);
887
+ this.a2.s(a, b);
883
888
  }
884
- x(a) {
885
- let b = this.cv.f > 0 ? this.cv.e() : new ListPanelItemModel();
889
+ z(a) {
890
+ let b = this.cx.count > 0 ? this.cx.b() : new ListPanelItemModel();
886
891
  b.v = a;
887
- b.t = this.c2;
892
+ b.t = this.c4;
888
893
  return b;
889
894
  }
890
- g5(a) {
891
- let b = this.a0.item(a);
892
- this.g1(b);
893
- this.a0.f(a);
895
+ g8(a) {
896
+ let b = this.a2.item(a);
897
+ this.g4(b);
898
+ this.a2.f(a);
894
899
  b.i = true;
895
- this.az.s(b, b);
896
- }
897
- g1(a) {
898
- this.cv.h(a);
900
+ b.x = null;
901
+ this.a1.s(b, b);
902
+ }
903
+ g4(a) {
904
+ this.cx.g(a);
905
+ if (this.itemRecycled != null) {
906
+ this.itemRecycled(this, ((() => {
907
+ let $ret = new ListPanelContentRecycledEventArgs();
908
+ $ret.rowObject = a.x;
909
+ return $ret;
910
+ })()));
911
+ }
899
912
  }
900
- d9() {
913
+ eb() {
901
914
  if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
902
915
  return -1;
903
916
  }
904
- if (!this.aw.d.isEmpty) {
905
- if (this.ab == 0) {
906
- if (this.bx) {
907
- this.fu();
908
- let a = this.aw.d.bottom;
909
- let b = this.dw(a);
910
- if (this.cp._inner[b] + this.co._inner[b] < a) {
917
+ if (!this.ay.d.isEmpty) {
918
+ if (this.ad == 0) {
919
+ if (this.bz) {
920
+ this.fx();
921
+ let a = this.ay.d.bottom;
922
+ let b = this.dy(a);
923
+ if (this.cr._inner[b] + this.cq._inner[b] < a) {
911
924
  b += 1;
912
925
  }
913
926
  return Math.max(0, Math.min(b, this.actualDataSource.actualCount - 1));
914
927
  }
915
928
  else {
916
- let c = this.aw.d.bottom;
917
- let d = truncate(Math.ceil(c / this.c2));
929
+ let c = this.ay.d.bottom;
930
+ let d = truncate(Math.ceil(c / this.c4));
918
931
  return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
919
932
  }
920
933
  }
921
- else if (this.ab == 2) {
922
- if (this.bx) {
923
- this.fu();
924
- let e = this.aw.d.bottom;
925
- let f = this.dw(e);
926
- if (this.cp._inner[f] + this.co._inner[f] < e) {
934
+ else if (this.ad == 2) {
935
+ if (this.bz) {
936
+ this.fx();
937
+ let e = this.ay.d.bottom;
938
+ let f = this.dy(e);
939
+ if (this.cr._inner[f] + this.cq._inner[f] < e) {
927
940
  f += 1;
928
941
  }
929
- f = f * this.cu.count;
930
- f += this.cu.count;
942
+ f = f * this.cw.count;
943
+ f += this.cw.count;
931
944
  return Math.max(0, Math.min(f, this.actualDataSource.actualCount - 1));
932
945
  }
933
946
  else {
934
- let g = this.aw.d.bottom;
935
- let h = truncate(Math.floor(g / this.c2));
936
- h = h * this.cu.count;
947
+ let g = this.ay.d.bottom;
948
+ let h = truncate(Math.floor(g / this.c4));
949
+ h = h * this.cw.count;
937
950
  return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
938
951
  }
939
952
  }
940
953
  else {
941
954
  {
942
- this.fu();
943
- let i = this.aw.d.right;
944
- let j = this.dx(i);
945
- if (this.ct._inner[j] + this.cs._inner[j] < i) {
955
+ this.fx();
956
+ let i = this.ay.d.right;
957
+ let j = this.dz(i);
958
+ if (this.cv._inner[j] + this.cu._inner[j] < i) {
946
959
  j += 1;
947
960
  }
948
961
  return Math.max(0, Math.min(j, this.actualDataSource.actualCount - 1));
@@ -951,9 +964,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
951
964
  }
952
965
  return this.actualDataSource.actualCount - 1;
953
966
  }
954
- dw(a) {
967
+ dy(a) {
955
968
  let b = -1;
956
- b = ArrayExtension.binarySearch$11(Number_$type, this.cp, (c) => a < c ? -1 : (a > c ? 1 : 0));
969
+ b = ArrayExtension.binarySearch$11(Number_$type, this.cr, (c) => a < c ? -1 : (a > c ? 1 : 0));
957
970
  if (b < 0) {
958
971
  b = ~b;
959
972
  b--;
@@ -961,14 +974,14 @@ export let ListPanel = /*@__PURE__*/ (() => {
961
974
  if (b < 0) {
962
975
  b = 0;
963
976
  }
964
- if (b > this.cp.count - 1) {
965
- b = this.cp.count - 1;
977
+ if (b > this.cr.count - 1) {
978
+ b = this.cr.count - 1;
966
979
  }
967
980
  return b;
968
981
  }
969
- dx(a) {
982
+ dz(a) {
970
983
  let b = -1;
971
- b = ArrayExtension.binarySearch$11(Number_$type, this.ct, (c) => a < c ? -1 : (a > c ? 1 : 0));
984
+ b = ArrayExtension.binarySearch$11(Number_$type, this.cv, (c) => a < c ? -1 : (a > c ? 1 : 0));
972
985
  if (b < 0) {
973
986
  b = ~b;
974
987
  b--;
@@ -976,56 +989,56 @@ export let ListPanel = /*@__PURE__*/ (() => {
976
989
  if (b < 0) {
977
990
  b = 0;
978
991
  }
979
- if (b > this.ct.count - 1) {
980
- b = this.ct.count - 1;
992
+ if (b > this.cv.count - 1) {
993
+ b = this.cv.count - 1;
981
994
  }
982
995
  return b;
983
996
  }
984
- d8() {
997
+ ea() {
985
998
  if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
986
999
  return -1;
987
1000
  }
988
- if (!this.aw.d.isEmpty) {
989
- if (this.ab == 0) {
990
- if (this.bx) {
991
- this.fu();
992
- let a = this.aw.d.top;
993
- let b = this.dw(a);
994
- if (this.cp._inner[b] > a) {
1001
+ if (!this.ay.d.isEmpty) {
1002
+ if (this.ad == 0) {
1003
+ if (this.bz) {
1004
+ this.fx();
1005
+ let a = this.ay.d.top;
1006
+ let b = this.dy(a);
1007
+ if (this.cr._inner[b] > a) {
995
1008
  b -= 1;
996
1009
  }
997
1010
  return Math.max(0, Math.min(b, this.actualDataSource.actualCount - 1));
998
1011
  }
999
1012
  else {
1000
- let c = this.aw.d.top;
1001
- let d = truncate(Math.floor(c / this.c2));
1013
+ let c = this.ay.d.top;
1014
+ let d = truncate(Math.floor(c / this.c4));
1002
1015
  return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
1003
1016
  }
1004
1017
  }
1005
- else if (this.ab == 2) {
1006
- if (this.bx) {
1007
- this.fu();
1008
- let e = this.aw.d.top;
1009
- let f = this.dw(e);
1010
- if (this.cp._inner[f] > e) {
1018
+ else if (this.ad == 2) {
1019
+ if (this.bz) {
1020
+ this.fx();
1021
+ let e = this.ay.d.top;
1022
+ let f = this.dy(e);
1023
+ if (this.cr._inner[f] > e) {
1011
1024
  f -= 1;
1012
1025
  }
1013
- f = f * this.cu.count;
1026
+ f = f * this.cw.count;
1014
1027
  return Math.max(0, Math.min(f, this.actualDataSource.actualCount - 1));
1015
1028
  }
1016
1029
  else {
1017
- let g = this.aw.d.top;
1018
- let h = truncate(Math.floor(g / this.c2));
1019
- h = h * this.cu.count;
1030
+ let g = this.ay.d.top;
1031
+ let h = truncate(Math.floor(g / this.c4));
1032
+ h = h * this.cw.count;
1020
1033
  return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
1021
1034
  }
1022
1035
  }
1023
1036
  else {
1024
1037
  {
1025
- this.fu();
1026
- let i = this.aw.d.left;
1027
- let j = this.dx(i);
1028
- if (this.ct._inner[j] > i) {
1038
+ this.fx();
1039
+ let i = this.ay.d.left;
1040
+ let j = this.dz(i);
1041
+ if (this.cv._inner[j] > i) {
1029
1042
  j -= 1;
1030
1043
  }
1031
1044
  return Math.max(0, Math.min(j, this.actualDataSource.actualCount - 1));
@@ -1034,41 +1047,41 @@ export let ListPanel = /*@__PURE__*/ (() => {
1034
1047
  }
1035
1048
  return 0;
1036
1049
  }
1037
- c4(a) {
1038
- if (this.ab == 2) {
1039
- a = this.d4(a);
1050
+ c6(a) {
1051
+ if (this.ad == 2) {
1052
+ a = this.d6(a);
1040
1053
  }
1041
- if (this.cs.count > 0 && a < this.cs.count) {
1042
- return this.cs._inner[a];
1054
+ if (this.cu.count > 0 && a < this.cu.count) {
1055
+ return this.cu._inner[a];
1043
1056
  }
1044
1057
  return 0;
1045
1058
  }
1046
- c3(a) {
1047
- if (this.ab == 2) {
1048
- a = this.d5(a);
1059
+ c5(a) {
1060
+ if (this.ad == 2) {
1061
+ a = this.d7(a);
1049
1062
  }
1050
- if (this.co.count > 0 && a < this.co.count) {
1051
- return this.co._inner[a];
1063
+ if (this.cq.count > 0 && a < this.cq.count) {
1064
+ return this.cq._inner[a];
1052
1065
  }
1053
- return this.c2;
1066
+ return this.c4;
1054
1067
  }
1055
- fg() {
1056
- this.co.clear();
1057
- this.cp.clear();
1058
- this.cs.clear();
1059
- this.ct.clear();
1068
+ fi() {
1069
+ this.cq.clear();
1070
+ this.cr.clear();
1071
+ this.cu.clear();
1072
+ this.cv.clear();
1060
1073
  let a = this.r != 0;
1061
- let b = this.dq + this.dm;
1062
- let c = this.dn + this.dp;
1074
+ let b = this.ds + this.dp;
1075
+ let c = this.dq + this.dr;
1063
1076
  if (this.actualDataSource != null && this.actualDataSource.actualSchema != null) {
1064
- let d = this.cw;
1065
- let e = isNaN_(this.cx) ? 0 : this.cx;
1066
- if (this.ab == 0) {
1067
- if (this.bx) {
1077
+ let d = this.cy;
1078
+ let e = isNaN_(this.cz) ? 0 : this.cz;
1079
+ if (this.ad == 0) {
1080
+ if (this.bz) {
1068
1081
  let f = 0;
1069
1082
  for (let g = 0; g < this.actualDataSource.actualCount; g++) {
1070
- this.cp.add(f);
1071
- let h = this.c2;
1083
+ this.cr.add(f);
1084
+ let h = this.c4;
1072
1085
  if (this.itemHeightRequested != null) {
1073
1086
  let i = ((() => {
1074
1087
  let $ret = new ListPanelTemplateHeightRequestedEventArgs();
@@ -1084,22 +1097,22 @@ export let ListPanel = /*@__PURE__*/ (() => {
1084
1097
  }
1085
1098
  f += h;
1086
1099
  }
1087
- this.co.add(h);
1100
+ this.cq.add(h);
1088
1101
  }
1089
- this.cw = f;
1102
+ this.cy = f;
1090
1103
  }
1091
1104
  else {
1092
- this.cw = this.c2 * this.actualDataSource.actualCount;
1105
+ this.cy = this.c4 * this.actualDataSource.actualCount;
1093
1106
  }
1094
1107
  }
1095
- else if (this.ab == 2) {
1108
+ else if (this.ad == 2) {
1096
1109
  let j = new List$1(ListPanelColumnDefinition.$, 0);
1097
- let k = this.ds(j, 0x7FFFFFFF);
1098
- if (this.bx) {
1110
+ let k = this.du(j, 0x7FFFFFFF);
1111
+ if (this.bz) {
1099
1112
  let l = 0;
1100
1113
  for (let m = 0; m < k; m++) {
1101
- this.cp.add(l);
1102
- let n = this.c2;
1114
+ this.cr.add(l);
1115
+ let n = this.c4;
1103
1116
  let o = 0;
1104
1117
  let p = m * j.count;
1105
1118
  for (let q = 0; q < j.count; q++) {
@@ -1125,28 +1138,28 @@ export let ListPanel = /*@__PURE__*/ (() => {
1125
1138
  }
1126
1139
  n = o;
1127
1140
  l += n;
1128
- this.co.add(n);
1141
+ this.cq.add(n);
1129
1142
  }
1130
- this.cw = l;
1143
+ this.cy = l;
1131
1144
  }
1132
1145
  else {
1133
- this.cw = this.c2 * k;
1146
+ this.cy = this.c4 * k;
1134
1147
  }
1135
- this.cu = j;
1136
- this.dl = k;
1148
+ this.cw = j;
1149
+ this.dn = k;
1137
1150
  let u = 0;
1138
- for (let v = 0; v < this.cu.count; v++) {
1139
- this.ct.add(u);
1140
- this.cs.add(this.cu._inner[v].a);
1141
- u += this.cu._inner[v].a;
1151
+ for (let v = 0; v < this.cw.count; v++) {
1152
+ this.cv.add(u);
1153
+ this.cu.add(this.cw._inner[v].a);
1154
+ u += this.cw._inner[v].a;
1142
1155
  }
1143
1156
  }
1144
1157
  else {
1145
- this.cw = this.c2;
1158
+ this.cy = this.c4;
1146
1159
  {
1147
1160
  let w = 0;
1148
1161
  for (let x = 0; x < this.actualDataSource.actualCount; x++) {
1149
- this.ct.add(w);
1162
+ this.cv.add(w);
1150
1163
  let y = 0;
1151
1164
  if (this.itemWidthRequested != null) {
1152
1165
  let z = ((() => {
@@ -1163,17 +1176,17 @@ export let ListPanel = /*@__PURE__*/ (() => {
1163
1176
  }
1164
1177
  w += y;
1165
1178
  }
1166
- this.cs.add(y);
1179
+ this.cu.add(y);
1167
1180
  }
1168
- this.cx = w;
1181
+ this.cz = w;
1169
1182
  }
1170
1183
  }
1171
- if (d != this.cw || e != (isNaN_(this.cx) ? 0 : this.cx)) {
1172
- this.view.x(this.cx, this.cw);
1184
+ if (d != this.cy || e != (isNaN_(this.cz) ? 0 : this.cz)) {
1185
+ this.view.x(this.cz, this.cy);
1173
1186
  }
1174
1187
  }
1175
1188
  }
1176
- ds(a, b) {
1189
+ du(a, b) {
1177
1190
  let c = 0;
1178
1191
  let d = 0;
1179
1192
  let e = 0;
@@ -1199,11 +1212,11 @@ export let ListPanel = /*@__PURE__*/ (() => {
1199
1212
  if (d != 0 && e < b && b > 1) {
1200
1213
  let m = a._inner[e];
1201
1214
  m.a = k;
1202
- this.g7(f, a);
1215
+ this.ha(f, a);
1203
1216
  if (a.count == 0) {
1204
1217
  return 0;
1205
1218
  }
1206
- return this.ds(a, a.count);
1219
+ return this.du(a, a.count);
1207
1220
  }
1208
1221
  b = Math.max(Math.min(b, e), 1);
1209
1222
  d++;
@@ -1226,11 +1239,11 @@ export let ListPanel = /*@__PURE__*/ (() => {
1226
1239
  let q = k - p.a;
1227
1240
  p.a = k;
1228
1241
  if (q > h && b > 1) {
1229
- this.g7(f, a);
1242
+ this.ha(f, a);
1230
1243
  if (a.count == 0) {
1231
1244
  return 0;
1232
1245
  }
1233
- return this.ds(a, a.count);
1246
+ return this.du(a, a.count);
1234
1247
  }
1235
1248
  else {
1236
1249
  h -= q;
@@ -1249,7 +1262,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
1249
1262
  }
1250
1263
  return d + 1;
1251
1264
  }
1252
- g7(a, b) {
1265
+ ha(a, b) {
1253
1266
  let c = 0;
1254
1267
  for (let d of fromEnum(b)) {
1255
1268
  c += d.a;
@@ -1262,95 +1275,95 @@ export let ListPanel = /*@__PURE__*/ (() => {
1262
1275
  b.removeAt(b.count - 1);
1263
1276
  }
1264
1277
  }
1265
- fv() {
1266
- if (this.bk) {
1267
- this.fm();
1278
+ fy() {
1279
+ if (this.bm) {
1280
+ this.fp();
1268
1281
  }
1269
1282
  }
1270
- get ay() {
1271
- return this.ax;
1283
+ get a0() {
1284
+ return this.az;
1272
1285
  }
1273
- set ay(a) {
1274
- let b = this.ax;
1275
- this.ax = a;
1276
- if (b != this.ax) {
1277
- this.gi("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.ax));
1286
+ set a0(a) {
1287
+ let b = this.az;
1288
+ this.az = a;
1289
+ if (b != this.az) {
1290
+ this.gl("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.az));
1278
1291
  }
1279
1292
  }
1280
- get hy() {
1281
- return this.hq;
1293
+ get h1() {
1294
+ return this.ht;
1282
1295
  }
1283
- set hy(a) {
1284
- let b = this.hq;
1285
- this.hq = a;
1286
- if (b != this.hq) {
1287
- this.gi("ScrollbarBackground", b, this.hq);
1296
+ set h1(a) {
1297
+ let b = this.ht;
1298
+ this.ht = a;
1299
+ if (b != this.ht) {
1300
+ this.gl("ScrollbarBackground", b, this.ht);
1288
1301
  }
1289
1302
  }
1290
- g3() {
1291
- let a = isNaN_(this.cx) ? 0 : this.cx;
1292
- let b = this.cw;
1293
- this.bl = true;
1294
- this.f1(this.cz);
1295
- if (a != (isNaN_(this.cx) ? 0 : this.cx) || b != this.cw) {
1303
+ g6() {
1304
+ let a = isNaN_(this.cz) ? 0 : this.cz;
1305
+ let b = this.cy;
1306
+ this.bn = true;
1307
+ this.f4(this.c1);
1308
+ if (a != (isNaN_(this.cz) ? 0 : this.cz) || b != this.cy) {
1296
1309
  this.externalListPanel.onContentSizeChanged();
1297
1310
  }
1298
- this.bl = false;
1299
- this.f2();
1300
- this.gy();
1311
+ this.bn = false;
1312
+ this.f5();
1313
+ this.g1();
1301
1314
  }
1302
- f2() {
1303
- this.bp = true;
1304
- this.dc = -1;
1305
- this.dd = -1;
1315
+ f5() {
1316
+ this.br = true;
1317
+ this.de = -1;
1318
+ this.df = -1;
1306
1319
  }
1307
- f1(a) {
1308
- this.bi = true;
1309
- this.cz = a;
1320
+ f4(a) {
1321
+ this.bk = true;
1322
+ this.c1 = a;
1310
1323
  }
1311
- fw() {
1312
- if (this.be) {
1313
- this.be = false;
1314
- this.g3();
1315
- this.f0();
1324
+ fz() {
1325
+ if (this.bg) {
1326
+ this.bg = false;
1327
+ this.g6();
1328
+ this.f3();
1316
1329
  }
1317
1330
  }
1318
- g4() {
1319
- if (this.be) {
1320
- this.fw();
1331
+ g7() {
1332
+ if (this.bg) {
1333
+ this.fz();
1321
1334
  }
1322
1335
  else {
1323
- this.f2();
1324
- this.gy();
1325
- this.fv();
1336
+ this.f5();
1337
+ this.g1();
1338
+ this.fy();
1326
1339
  }
1327
1340
  }
1328
- d0() {
1329
- if (this.bp) {
1330
- this.fh();
1341
+ d2() {
1342
+ if (this.br) {
1343
+ this.fj();
1331
1344
  }
1332
- return this.dd;
1345
+ return this.df;
1333
1346
  }
1334
- dy() {
1335
- if (this.bp) {
1336
- this.fh();
1347
+ d0() {
1348
+ if (this.br) {
1349
+ this.fj();
1337
1350
  }
1338
- return this.dc;
1351
+ return this.de;
1339
1352
  }
1340
- ch() {
1341
- return this.dc >= 0 && this.dd >= 0;
1353
+ cj() {
1354
+ return this.de >= 0 && this.df >= 0;
1342
1355
  }
1343
- f0() {
1344
- if (!this.ch()) {
1356
+ f3() {
1357
+ if (!this.cj()) {
1345
1358
  return;
1346
1359
  }
1347
- let a = this.dy();
1348
- let b = this.d0();
1349
- this.fz(a, b);
1360
+ let a = this.d0();
1361
+ let b = this.d2();
1362
+ this.f2(a, b);
1350
1363
  }
1351
- fz(a, b) {
1352
- let c = this.dy();
1353
- let d = this.d0();
1364
+ f2(a, b) {
1365
+ let c = this.d0();
1366
+ let d = this.d2();
1354
1367
  if (b < c || a > d) {
1355
1368
  return;
1356
1369
  }
@@ -1360,22 +1373,33 @@ export let ListPanel = /*@__PURE__*/ (() => {
1360
1373
  if (b > d) {
1361
1374
  b = d;
1362
1375
  }
1363
- this.gz();
1364
- this.g4();
1376
+ this.g2();
1377
+ this.g7();
1365
1378
  }
1366
- gz() {
1379
+ g2() {
1367
1380
  if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
1368
1381
  return;
1369
1382
  }
1370
1383
  let a = this.r != 0;
1371
- let b = this.aq != 0;
1372
- for (let c = 0; c < this.a0.q.count; c++) {
1373
- if (this.a0.p._inner[c]) {
1384
+ let b = this.as != 0;
1385
+ for (let c = 0; c < this.a2.q.count; c++) {
1386
+ if (this.a2.p._inner[c]) {
1374
1387
  continue;
1375
1388
  }
1376
- let d = this.a0.q._inner[c];
1377
- d.x = this.actualDataSource.getItemAtIndex(d.v);
1378
- d.t = this.c2;
1389
+ let d = this.a2.q._inner[c];
1390
+ let e = d.x;
1391
+ let f = this.actualDataSource.getItemAtIndex(d.v);
1392
+ if (e != null && e != f) {
1393
+ if (this.itemRebind != null) {
1394
+ this.itemRebind(this, ((() => {
1395
+ let $ret = new ListPanelContentRebindEventArgs();
1396
+ $ret.rowObject = e;
1397
+ return $ret;
1398
+ })()));
1399
+ }
1400
+ }
1401
+ d.x = f;
1402
+ d.t = this.c4;
1379
1403
  if (a) {
1380
1404
  if (this.p.c(d)) {
1381
1405
  d.j = true;
@@ -1386,7 +1410,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
1386
1410
  d.k = true;
1387
1411
  }
1388
1412
  if (b) {
1389
- if (this.ao.j(d)) {
1413
+ if (this.aq.j(d)) {
1390
1414
  d.n = true;
1391
1415
  }
1392
1416
  else {
@@ -1396,33 +1420,33 @@ export let ListPanel = /*@__PURE__*/ (() => {
1396
1420
  }
1397
1421
  }
1398
1422
  }
1399
- g0(a) {
1423
+ g3(a) {
1400
1424
  if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
1401
1425
  return;
1402
1426
  }
1403
- if (this.a0.d(a)) {
1404
- let b = this.a0.item(a);
1427
+ if (this.a2.d(a)) {
1428
+ let b = this.a2.item(a);
1405
1429
  b.x = this.actualDataSource.getItemAtIndex(b.v);
1406
- b.t = this.c2;
1430
+ b.t = this.c4;
1407
1431
  }
1408
1432
  }
1409
- gx() {
1410
- if (!this.be) {
1411
- this.be = true;
1412
- this.f2();
1413
- this.gy();
1433
+ g0() {
1434
+ if (!this.bg) {
1435
+ this.bg = true;
1436
+ this.f5();
1437
+ this.g1();
1414
1438
  }
1415
1439
  }
1416
- fy(a) {
1417
- this.g0(a);
1440
+ f1(a) {
1441
+ this.g3(a);
1418
1442
  }
1419
- ge() {
1420
- if (this.be) {
1421
- this.fw();
1443
+ gh() {
1444
+ if (this.bg) {
1445
+ this.fz();
1422
1446
  }
1423
1447
  else {
1424
- this.g3();
1425
- this.f0();
1448
+ this.g6();
1449
+ this.f3();
1426
1450
  }
1427
1451
  }
1428
1452
  get externalListPanel() {
@@ -1431,10 +1455,10 @@ export let ListPanel = /*@__PURE__*/ (() => {
1431
1455
  set externalListPanel(a) {
1432
1456
  this.l = a;
1433
1457
  }
1434
- cg() {
1435
- return this.aq != 0 || this.r != 0;
1458
+ ci() {
1459
+ return this.as != 0 || this.r != 0;
1436
1460
  }
1437
- gv(a, b, c) {
1461
+ gy(a, b, c) {
1438
1462
  switch (a) {
1439
1463
  case "SchemaIncludedProperties":
1440
1464
  if (this.i != null) {
@@ -1444,7 +1468,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
1444
1468
  case "ItemsSource":
1445
1469
  if (this.i != null) {
1446
1470
  let d = this.i;
1447
- d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.fj));
1471
+ d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.fl));
1448
1472
  this.i.updateNotifier = null;
1449
1473
  }
1450
1474
  if (typeCast(IDataSource_$type, this.itemsSource) !== null) {
@@ -1456,46 +1480,46 @@ export let ListPanel = /*@__PURE__*/ (() => {
1456
1480
  }
1457
1481
  if (this.i != null) {
1458
1482
  let f = this.i;
1459
- f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.fj));
1483
+ f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.fl));
1460
1484
  this.i.updateNotifier = new ListPanelDataSourceNotificationBridge(this);
1461
1485
  if (this.i.actualSchema != null) {
1462
- this.gx();
1463
- this.k.enqueueAction(() => this.ge());
1486
+ this.g0();
1487
+ this.k.enqueueAction(() => this.gh());
1464
1488
  }
1465
1489
  }
1466
1490
  break;
1467
1491
  case "RowHeight":
1468
- this.c2 = this.ea;
1492
+ this.c4 = this.ec;
1469
1493
  break;
1470
1494
  case "CellTextStyle":
1471
- this.f0();
1495
+ this.f3();
1472
1496
  break;
1473
1497
  case "BackgroundColor":
1474
- this.f0();
1498
+ this.f3();
1475
1499
  break;
1476
1500
  case "TextColor":
1477
- this.f0();
1501
+ this.f3();
1478
1502
  break;
1479
1503
  case "Orientation":
1480
1504
  case "ActualRowHeight":
1481
- this.g3();
1505
+ this.g6();
1482
1506
  break;
1483
1507
  case "ScrollbarStyle":
1484
- this.externalListPanel.setScrollbarStyle(this.ay);
1508
+ this.externalListPanel.setScrollbarStyle(this.a0);
1485
1509
  break;
1486
1510
  case "ScrollbarBackground":
1487
- this.externalListPanel.setScrollbarColor(this.hy);
1511
+ this.externalListPanel.setScrollbarColor(this.h1);
1488
1512
  break;
1489
1513
  case "ActiveRow":
1490
- this.de = typeGetValue(b);
1491
- this.bo = true;
1492
- if (this.dr != -1 && this.dr >= 0) {
1493
- this.p.k(this.dr);
1514
+ this.dg = typeGetValue(b);
1515
+ this.bq = true;
1516
+ if (this.dt != -1 && this.dt >= 0) {
1517
+ this.p.k(this.dt);
1494
1518
  }
1495
1519
  else {
1496
1520
  this.p.o();
1497
1521
  }
1498
- this.bo = false;
1522
+ this.bq = false;
1499
1523
  break;
1500
1524
  case "SelectedBackground":
1501
1525
  case "ActivationBorder":
@@ -1503,74 +1527,74 @@ export let ListPanel = /*@__PURE__*/ (() => {
1503
1527
  case "ActivationBorderRightWidth":
1504
1528
  case "ActivationBorderBottomWidth":
1505
1529
  case "ActivationBorderTopWidth":
1506
- this.gx();
1530
+ this.g0();
1507
1531
  break;
1508
1532
  case "ActivationMode":
1509
- this.bw = this.cg();
1533
+ this.by = this.ci();
1510
1534
  break;
1511
1535
  case "SelectionMode":
1512
- this.bw = this.cg();
1513
- switch (this.aq) {
1536
+ this.by = this.ci();
1537
+ switch (this.as) {
1514
1538
  case 1:
1515
- if (this.aj.count > 1) {
1516
- let g = this.aj._inner[this.aj.count - 1];
1517
- this.aj.clear();
1518
- this.aj.add(g);
1539
+ if (this.al.count > 1) {
1540
+ let g = this.al._inner[this.al.count - 1];
1541
+ this.al.clear();
1542
+ this.al.add(g);
1519
1543
  }
1520
1544
  break;
1521
1545
  case 2: break;
1522
1546
  case 0:
1523
- if (this.aj.count > 0) {
1524
- this.aj.clear();
1547
+ if (this.al.count > 0) {
1548
+ this.al.clear();
1525
1549
  }
1526
1550
  break;
1527
1551
  }
1528
1552
  break;
1529
1553
  }
1530
1554
  }
1531
- h1() {
1532
- let a = this.cw;
1555
+ h4() {
1556
+ let a = this.cy;
1533
1557
  let b = 0;
1534
1558
  if (!isNaN_(a) && a >= 0) {
1535
1559
  b = a;
1536
1560
  }
1537
1561
  let c = 0;
1538
- if (this.ab == 1) {
1539
- for (let d = 0; d < this.cs.count; d++) {
1540
- let e = this.cs._inner[d];
1562
+ if (this.ad == 1) {
1563
+ for (let d = 0; d < this.cu.count; d++) {
1564
+ let e = this.cu._inner[d];
1541
1565
  if (!isNaN_(e) && e >= 0) {
1542
1566
  c += e;
1543
1567
  }
1544
1568
  }
1545
1569
  }
1546
- else if (this.ab == 2) {
1547
- for (let f = 0; f < this.cs.count; f++) {
1548
- let g = this.cs._inner[f];
1570
+ else if (this.ad == 2) {
1571
+ for (let f = 0; f < this.cu.count; f++) {
1572
+ let g = this.cu._inner[f];
1549
1573
  if (!isNaN_(g) && g >= 0) {
1550
1574
  c += g;
1551
1575
  }
1552
1576
  }
1553
1577
  }
1554
1578
  else {
1555
- if (!isNaN_(this.cx) && this.cx >= 0) {
1556
- c = this.cx;
1579
+ if (!isNaN_(this.cz) && this.cz >= 0) {
1580
+ c = this.cz;
1557
1581
  }
1558
1582
  }
1559
1583
  return new Size(1, c, b);
1560
1584
  }
1561
- gd(a, b) {
1562
- if (this.r == 1 && this.dr != -1) {
1563
- if (this.dr >= a && this.dr <= b) {
1585
+ gg(a, b) {
1586
+ if (this.r == 1 && this.dt != -1) {
1587
+ if (this.dt >= a && this.dt <= b) {
1564
1588
  if (this.activeRowChanged != null) {
1565
1589
  let c = new ListPanelActiveRowChangedEventArgs();
1566
- c.newActiveRow = this.dr;
1567
- c.oldActiveRow = this.dr;
1590
+ c.newActiveRow = this.dt;
1591
+ c.oldActiveRow = this.dt;
1568
1592
  this.activeRowChanged(this, c);
1569
1593
  }
1570
1594
  }
1571
1595
  }
1572
- let d = this.dy();
1573
- let e = this.d0();
1596
+ let d = this.d0();
1597
+ let e = this.d2();
1574
1598
  if (b < d || a > e) {
1575
1599
  return;
1576
1600
  }
@@ -1580,49 +1604,49 @@ export let ListPanel = /*@__PURE__*/ (() => {
1580
1604
  if (b > e) {
1581
1605
  b = e;
1582
1606
  }
1583
- if (!this.ch()) {
1607
+ if (!this.cj()) {
1584
1608
  return;
1585
1609
  }
1586
- if (this.d2() != this.dh) {
1587
- this.g3();
1610
+ if (this.d4() != this.dj) {
1611
+ this.g6();
1588
1612
  }
1589
1613
  else {
1590
- this.g4();
1614
+ this.g7();
1591
1615
  }
1592
- this.fi();
1616
+ this.fk();
1593
1617
  }
1594
- fi() {
1595
- if (this.aw.d.isEmpty) {
1618
+ fk() {
1619
+ if (this.ay.d.isEmpty) {
1596
1620
  return;
1597
1621
  }
1598
- if (this.ab == 1) {
1599
- if (this.aw.d.right > this.absoluteWidth || this.aw.d.left > this.absoluteWidth) {
1600
- let a = this.d2() - 1;
1622
+ if (this.ad == 1) {
1623
+ if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
1624
+ let a = this.d4() - 1;
1601
1625
  if (a < 0) {
1602
1626
  a = 0;
1603
1627
  }
1604
- this.ha(a);
1628
+ this.hd(a);
1605
1629
  }
1606
1630
  }
1607
1631
  else {
1608
- if (this.aw.d.bottom > this.absoluteHeight || this.aw.d.top > this.absoluteHeight) {
1609
- let b = this.d2() - 1;
1632
+ if (this.ay.d.bottom > this.absoluteHeight || this.ay.d.top > this.absoluteHeight) {
1633
+ let b = this.d4() - 1;
1610
1634
  if (b < 0) {
1611
1635
  b = 0;
1612
1636
  }
1613
- this.ha(b);
1637
+ this.hd(b);
1614
1638
  }
1615
1639
  }
1616
- if (this.ab == 2) {
1617
- if (this.aw.d.right > this.absoluteWidth || this.aw.d.left > this.absoluteWidth) {
1618
- this.g9(this.cu.count - 1);
1640
+ if (this.ad == 2) {
1641
+ if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
1642
+ this.hc(this.cw.count - 1);
1619
1643
  }
1620
1644
  }
1621
1645
  }
1622
- gs(a, b, c) {
1623
- if (this.ab == 0) {
1624
- if (this.bx) {
1625
- let d = this.c2;
1646
+ gv(a, b, c) {
1647
+ if (this.ad == 0) {
1648
+ if (this.bz) {
1649
+ let d = this.c4;
1626
1650
  if (this.itemHeightRequested != null) {
1627
1651
  let e = new ListPanelTemplateHeightRequestedEventArgs();
1628
1652
  e.c = c;
@@ -1631,16 +1655,16 @@ export let ListPanel = /*@__PURE__*/ (() => {
1631
1655
  this.itemHeightRequested(this, e);
1632
1656
  d = e.a;
1633
1657
  }
1634
- let f = this.co._inner[a];
1635
- this.co._inner[a] = d;
1658
+ let f = this.cq._inner[a];
1659
+ this.cq._inner[a] = d;
1636
1660
  let g = d - f;
1637
1661
  for (let h = a; h < this.actualDataSource.actualCount; h++) {
1638
- this.cp._inner[h] += g;
1662
+ this.cr._inner[h] += g;
1639
1663
  }
1640
1664
  }
1641
1665
  }
1642
- else if (this.ab == 2) {
1643
- this.g3();
1666
+ else if (this.ad == 2) {
1667
+ this.g6();
1644
1668
  return;
1645
1669
  }
1646
1670
  else {
@@ -1653,22 +1677,22 @@ export let ListPanel = /*@__PURE__*/ (() => {
1653
1677
  this.itemWidthRequested(this, j);
1654
1678
  i = j.a;
1655
1679
  }
1656
- let k = this.cs._inner[a];
1657
- this.cs._inner[a] = i;
1680
+ let k = this.cu._inner[a];
1681
+ this.cu._inner[a] = i;
1658
1682
  let l = i - k;
1659
1683
  for (let m = a; m < this.actualDataSource.actualCount; m++) {
1660
- this.ct._inner[m] += l;
1684
+ this.cv._inner[m] += l;
1661
1685
  }
1662
1686
  }
1663
- this.fy(a);
1687
+ this.f1(a);
1664
1688
  }
1665
- gc() {
1666
- this.g3();
1689
+ gf() {
1690
+ this.g6();
1667
1691
  }
1668
- gf(a, b) {
1669
- if (this.ab == 0) {
1670
- if (this.bx) {
1671
- let c = this.c2;
1692
+ gi(a, b) {
1693
+ if (this.ad == 0) {
1694
+ if (this.bz) {
1695
+ let c = this.c4;
1672
1696
  if (this.itemHeightRequested != null) {
1673
1697
  let d = new ListPanelTemplateHeightRequestedEventArgs();
1674
1698
  d.c = b;
@@ -1677,20 +1701,20 @@ export let ListPanel = /*@__PURE__*/ (() => {
1677
1701
  this.itemHeightRequested(this, d);
1678
1702
  c = d.a;
1679
1703
  }
1680
- this.co.insert(a, c);
1704
+ this.cq.insert(a, c);
1681
1705
  let e = 0;
1682
1706
  if (a > 0) {
1683
- let f = this.cp._inner[a - 1];
1684
- e = f + this.co._inner[a - 1];
1707
+ let f = this.cr._inner[a - 1];
1708
+ e = f + this.cq._inner[a - 1];
1685
1709
  }
1686
- this.cp.insert(a, e);
1710
+ this.cr.insert(a, e);
1687
1711
  for (let g = a; g < this.actualDataSource.actualCount; g++) {
1688
- this.cp._inner[g] += c;
1712
+ this.cr._inner[g] += c;
1689
1713
  }
1690
1714
  }
1691
1715
  }
1692
- else if (this.ab == 2) {
1693
- this.g3();
1716
+ else if (this.ad == 2) {
1717
+ this.g6();
1694
1718
  return;
1695
1719
  }
1696
1720
  else {
@@ -1703,137 +1727,137 @@ export let ListPanel = /*@__PURE__*/ (() => {
1703
1727
  this.itemWidthRequested(this, i);
1704
1728
  h = i.a;
1705
1729
  }
1706
- this.cs.insert(a, h);
1730
+ this.cu.insert(a, h);
1707
1731
  let j = 0;
1708
1732
  if (a > 0) {
1709
- let k = this.ct._inner[a - 1];
1710
- j = k + this.cs._inner[a - 1];
1733
+ let k = this.cv._inner[a - 1];
1734
+ j = k + this.cu._inner[a - 1];
1711
1735
  }
1712
- this.ct.insert(a, j);
1736
+ this.cv.insert(a, j);
1713
1737
  for (let l = a; l < this.actualDataSource.actualCount; l++) {
1714
- this.ct._inner[l] += h;
1738
+ this.cv._inner[l] += h;
1715
1739
  }
1716
1740
  }
1717
- this.gx();
1741
+ this.g0();
1718
1742
  }
1719
- gj(a, b) {
1720
- if (this.ab == 0) {
1721
- let c = this.co._inner[a];
1743
+ gm(a, b) {
1744
+ if (this.ad == 0) {
1745
+ let c = this.cq._inner[a];
1722
1746
  for (let d = a + 1; d < this.actualDataSource.actualCount; d++) {
1723
- this.cp._inner[d] -= c;
1747
+ this.cr._inner[d] -= c;
1724
1748
  }
1725
- this.co.removeAt(a);
1726
- this.cp.removeAt(a);
1749
+ this.cq.removeAt(a);
1750
+ this.cr.removeAt(a);
1727
1751
  }
1728
- else if (this.ab == 2) {
1729
- this.g3();
1752
+ else if (this.ad == 2) {
1753
+ this.g6();
1730
1754
  return;
1731
1755
  }
1732
1756
  else {
1733
- let e = this.cs._inner[a];
1757
+ let e = this.cu._inner[a];
1734
1758
  for (let f = a + 1; f < this.actualDataSource.actualCount; f++) {
1735
- this.ct._inner[f] -= e;
1759
+ this.cv._inner[f] -= e;
1736
1760
  }
1737
- this.cs.removeAt(a);
1738
- this.ct.removeAt(a);
1761
+ this.cu.removeAt(a);
1762
+ this.cv.removeAt(a);
1739
1763
  }
1740
- this.gx();
1764
+ this.g0();
1741
1765
  }
1742
- f6(a, b, c) {
1766
+ f9(a, b, c) {
1743
1767
  if (this.i != null) {
1744
1768
  this.i.notifySetItem(a, b, c);
1745
1769
  }
1746
1770
  }
1747
- f3() {
1771
+ f6() {
1748
1772
  if (this.i != null) {
1749
1773
  this.i.notifyClearItems();
1750
1774
  }
1751
1775
  }
1752
- f4(a, b) {
1776
+ f7(a, b) {
1753
1777
  if (this.i != null) {
1754
1778
  this.i.notifyInsertItem(a, b);
1755
1779
  }
1756
1780
  ;
1757
1781
  }
1758
- f5(a, b) {
1782
+ f8(a, b) {
1759
1783
  if (this.i != null) {
1760
1784
  this.i.notifyRemoveItem(a, b);
1761
1785
  }
1762
1786
  ;
1763
1787
  }
1764
- dt(a) {
1788
+ dv(a) {
1765
1789
  if (this.i == null) {
1766
1790
  return -1;
1767
1791
  }
1768
1792
  return this.i.indexOfItem(a);
1769
1793
  }
1770
- du(a) {
1794
+ dw(a) {
1771
1795
  if (this.i == null) {
1772
1796
  return -1;
1773
1797
  }
1774
1798
  return this.i.indexOfKey(a);
1775
1799
  }
1776
- get hu() {
1777
- return this.ho;
1800
+ get hx() {
1801
+ return this.hr;
1778
1802
  }
1779
- set hu(a) {
1780
- let b = this.ho;
1781
- this.ho = a;
1782
- if (b != this.ho) {
1783
- this.gi("BackgroundColor", b, a);
1803
+ set hx(a) {
1804
+ let b = this.hr;
1805
+ this.hr = a;
1806
+ if (b != this.hr) {
1807
+ this.gl("BackgroundColor", b, a);
1784
1808
  }
1785
1809
  }
1786
- get ab() {
1787
- return this.z;
1810
+ get ad() {
1811
+ return this.ab;
1788
1812
  }
1789
- set ab(a) {
1790
- let b = this.z;
1791
- this.z = a;
1792
- if (b != this.z) {
1793
- this.gi("Orientation", enumGetBox(ListPanelOrientation_$type, b), enumGetBox(ListPanelOrientation_$type, a));
1813
+ set ad(a) {
1814
+ let b = this.ab;
1815
+ this.ab = a;
1816
+ if (b != this.ab) {
1817
+ this.gl("Orientation", enumGetBox(ListPanelOrientation_$type, b), enumGetBox(ListPanelOrientation_$type, a));
1794
1818
  }
1795
1819
  }
1796
- get bx() {
1797
- return this.bg;
1820
+ get bz() {
1821
+ return this.bi;
1798
1822
  }
1799
- set bx(a) {
1800
- let b = this.bg;
1801
- this.bg = a;
1802
- if (b != this.bg) {
1803
- this.gi("IsCustomRowHeightEnabled", b, a);
1823
+ set bz(a) {
1824
+ let b = this.bi;
1825
+ this.bi = a;
1826
+ if (b != this.bi) {
1827
+ this.gl("IsCustomRowHeightEnabled", b, a);
1804
1828
  }
1805
1829
  }
1806
- get h0() {
1807
- return this.hs;
1830
+ get h3() {
1831
+ return this.hv;
1808
1832
  }
1809
- set h0(a) {
1810
- let b = this.hs;
1811
- this.hs = a;
1812
- if (b != this.hs) {
1813
- this.gi("TextColor", b, a);
1833
+ set h3(a) {
1834
+ let b = this.hv;
1835
+ this.hv = a;
1836
+ if (b != this.hv) {
1837
+ this.gl("TextColor", b, a);
1814
1838
  }
1815
1839
  }
1816
1840
  get absoluteWidth() {
1817
- return this.cx;
1841
+ return this.cz;
1818
1842
  }
1819
1843
  get absoluteHeight() {
1820
- return this.cw;
1844
+ return this.cy;
1821
1845
  }
1822
- ed() {
1846
+ ef() {
1823
1847
  let a = new ListPanelVisualData();
1824
- let b = this.y.h();
1848
+ let b = this.aa.h();
1825
1849
  a.c = b.left;
1826
1850
  a.d = b.top;
1827
1851
  a.e = b.width;
1828
1852
  a.b = b.height;
1829
- for (let c of fromEnum(this.a0.n)) {
1830
- a.a.add(c.a(this.y));
1853
+ for (let c of fromEnum(this.a2.n)) {
1854
+ a.a.add(c.a(this.aa));
1831
1855
  }
1832
1856
  a.a.aa((d, e) => {
1833
- if (this.ab == 0) {
1857
+ if (this.ad == 0) {
1834
1858
  return d.c < e.c ? -1 : d.c == e.c ? 0 : 1;
1835
1859
  }
1836
- else if (this.ab == 2) {
1860
+ else if (this.ad == 2) {
1837
1861
  if (d.c == e.c) {
1838
1862
  return d.b < e.b ? -1 : d.b == e.b ? 0 : 1;
1839
1863
  }
@@ -1845,27 +1869,27 @@ export let ListPanel = /*@__PURE__*/ (() => {
1845
1869
  });
1846
1870
  return a;
1847
1871
  }
1848
- ev() {
1849
- let a = this.ed();
1872
+ ex() {
1873
+ let a = this.ef();
1850
1874
  return a.serialize();
1851
1875
  }
1852
- get by() {
1853
- return this.bh;
1876
+ get b0() {
1877
+ return this.bj;
1854
1878
  }
1855
- set by(a) {
1856
- this.bh = a;
1879
+ set b0(a) {
1880
+ this.bj = a;
1857
1881
  }
1858
- hc() {
1859
- if (this.aq == 2) {
1860
- this.ao.v();
1882
+ hf() {
1883
+ if (this.as == 2) {
1884
+ this.aq.v();
1861
1885
  }
1862
1886
  }
1863
- b7(a, b, c) {
1864
- if (this.by) {
1887
+ b9(a, b, c) {
1888
+ if (this.b0) {
1865
1889
  switch (a) {
1866
1890
  case 30:
1867
1891
  if (c) {
1868
- this.hc();
1892
+ this.hf();
1869
1893
  return true;
1870
1894
  }
1871
1895
  break;
@@ -1876,207 +1900,207 @@ export let ListPanel = /*@__PURE__*/ (() => {
1876
1900
  }
1877
1901
  return false;
1878
1902
  }
1879
- bz() {
1880
- return this.db == -1;
1903
+ b1() {
1904
+ return this.dd == -1;
1881
1905
  }
1882
- get dr() {
1883
- return this.db;
1906
+ get dt() {
1907
+ return this.dd;
1884
1908
  }
1885
- set dr(a) {
1886
- let b = this.db;
1887
- this.db = a;
1888
- if (b != this.db) {
1889
- this.gi("ActiveRow", b, this.db);
1909
+ set dt(a) {
1910
+ let b = this.dd;
1911
+ this.dd = a;
1912
+ if (b != this.dd) {
1913
+ this.gl("ActiveRow", b, this.dd);
1890
1914
  }
1891
1915
  }
1892
- ff(a, b, c = false) {
1893
- if (!this.aw.a) {
1916
+ fh(a, b, c = false) {
1917
+ if (!this.ay.a) {
1894
1918
  return;
1895
1919
  }
1896
1920
  if (!c) {
1897
- if (a <= this.dy()) {
1898
- this.ha(a);
1921
+ if (a <= this.d0()) {
1922
+ this.hd(a);
1899
1923
  }
1900
- else if (a >= this.d0()) {
1924
+ else if (a >= this.d2()) {
1901
1925
  if (b) {
1902
- this.ha(a);
1926
+ this.hd(a);
1903
1927
  }
1904
1928
  else {
1905
- this.g8(a);
1929
+ this.hb(a);
1906
1930
  }
1907
1931
  }
1908
1932
  }
1909
- if (this.ab == 2) {
1910
- let d = this.dz();
1911
- let e = this.d1();
1912
- let f = this.d3(a);
1933
+ if (this.ad == 2) {
1934
+ let d = this.d1();
1935
+ let e = this.d3();
1936
+ let f = this.d5(a);
1913
1937
  if (f <= d) {
1914
- this.hb(f);
1938
+ this.he(f);
1915
1939
  }
1916
1940
  else if (f >= e) {
1917
- this.g9(f);
1941
+ this.hc(f);
1918
1942
  }
1919
1943
  }
1920
1944
  }
1921
- g9(a) {
1922
- let b = truncate(this.aw.d.top);
1923
- if (this.dg != -1) {
1924
- b = this.dg;
1945
+ hc(a) {
1946
+ let b = truncate(this.ay.d.top);
1947
+ if (this.di != -1) {
1948
+ b = this.di;
1925
1949
  }
1926
- if (this.ab == 2) {
1950
+ if (this.ad == 2) {
1927
1951
  let c = 0;
1928
1952
  let d = 0;
1929
- for (d = 0; d < this.cu.count; d++) {
1930
- c += this.cu._inner[d].a;
1953
+ for (d = 0; d < this.cw.count; d++) {
1954
+ c += this.cw._inner[d].a;
1931
1955
  if (a == d) {
1932
1956
  break;
1933
1957
  }
1934
1958
  }
1935
- c -= this.aw.d.width;
1959
+ c -= this.ay.d.width;
1936
1960
  if (c < 0) {
1937
1961
  c = 0;
1938
1962
  }
1939
- this.dg = b;
1940
- this.df = truncate(c);
1963
+ this.di = b;
1964
+ this.dh = truncate(c);
1941
1965
  this.viewportManager.moveViewportTo(truncate(c), b);
1942
1966
  }
1943
1967
  }
1944
- hb(a) {
1945
- let b = truncate(this.aw.d.top);
1946
- if (this.dg != -1) {
1947
- b = this.dg;
1968
+ he(a) {
1969
+ let b = truncate(this.ay.d.top);
1970
+ if (this.di != -1) {
1971
+ b = this.di;
1948
1972
  }
1949
- if (this.ab == 2) {
1973
+ if (this.ad == 2) {
1950
1974
  let c = 0;
1951
1975
  let d = 0;
1952
- for (d = 0; d < this.cu.count; d++) {
1976
+ for (d = 0; d < this.cw.count; d++) {
1953
1977
  if (a == d) {
1954
1978
  break;
1955
1979
  }
1956
- c += this.cu._inner[d].a;
1980
+ c += this.cw._inner[d].a;
1957
1981
  }
1958
- this.dg = b;
1959
- this.df = truncate(c);
1982
+ this.di = b;
1983
+ this.dh = truncate(c);
1960
1984
  this.viewportManager.moveViewportTo(truncate(c), b);
1961
1985
  }
1962
1986
  }
1963
- d3(a) {
1964
- if (this.ab == 2) {
1965
- let b = this.d4(a);
1987
+ d5(a) {
1988
+ if (this.ad == 2) {
1989
+ let b = this.d6(a);
1966
1990
  return b;
1967
1991
  }
1968
1992
  return -1;
1969
1993
  }
1970
- d1() {
1971
- if (this.ab == 2) {
1994
+ d3() {
1995
+ if (this.ad == 2) {
1972
1996
  let a = 0;
1973
1997
  let b = 0;
1974
- for (b = 0; b < this.cu.count; b++) {
1975
- a += this.cu._inner[b].a;
1976
- if (a > this.aw.d.right) {
1977
- return Math.min(Math.max(b - 1, 0), this.cu.count - 1);
1998
+ for (b = 0; b < this.cw.count; b++) {
1999
+ a += this.cw._inner[b].a;
2000
+ if (a > this.ay.d.right) {
2001
+ return Math.min(Math.max(b - 1, 0), this.cw.count - 1);
1978
2002
  }
1979
2003
  }
1980
- return Math.min(b, this.cu.count - 1);
2004
+ return Math.min(b, this.cw.count - 1);
1981
2005
  }
1982
2006
  return -1;
1983
2007
  }
1984
- dz() {
1985
- if (this.ab == 2) {
2008
+ d1() {
2009
+ if (this.ad == 2) {
1986
2010
  let a = 0;
1987
2011
  let b = 0;
1988
- for (b = 0; b < this.cu.count; b++) {
1989
- a += this.cu._inner[b].a;
1990
- if (a > this.aw.d.left) {
1991
- return Math.min(Math.max(b, 0), this.cu.count - 1);
2012
+ for (b = 0; b < this.cw.count; b++) {
2013
+ a += this.cw._inner[b].a;
2014
+ if (a > this.ay.d.left) {
2015
+ return Math.min(Math.max(b, 0), this.cw.count - 1);
1992
2016
  }
1993
2017
  }
1994
2018
  return b;
1995
2019
  }
1996
2020
  return -1;
1997
2021
  }
1998
- ha(a) {
1999
- if (this.aw.d.isEmpty) {
2022
+ hd(a) {
2023
+ if (this.ay.d.isEmpty) {
2000
2024
  return;
2001
2025
  }
2002
- let b = truncate(this.aw.d.left);
2003
- if (this.df != -1) {
2004
- b = this.df;
2026
+ let b = truncate(this.ay.d.left);
2027
+ if (this.dh != -1) {
2028
+ b = this.dh;
2005
2029
  }
2006
2030
  let c = 0;
2007
2031
  let d = 0;
2008
2032
  if (a < 0) {
2009
2033
  a = 0;
2010
2034
  }
2011
- if (a >= this.d2()) {
2012
- a = this.d2() - 1;
2035
+ if (a >= this.d4()) {
2036
+ a = this.d4() - 1;
2013
2037
  }
2014
2038
  let e = 0;
2015
2039
  e = truncate(Math.floor(a));
2016
- if (this.ab == 2) {
2017
- e = truncate(Math.floor(e / this.cu.count));
2040
+ if (this.ad == 2) {
2041
+ e = truncate(Math.floor(e / this.cw.count));
2018
2042
  }
2019
- if (this.cp.count > 0) {
2020
- c = truncate(Math.floor(this.cp._inner[e]));
2043
+ if (this.cr.count > 0) {
2044
+ c = truncate(Math.floor(this.cr._inner[e]));
2021
2045
  }
2022
2046
  else {
2023
- c = truncate(Math.floor(this.c2 * e));
2047
+ c = truncate(Math.floor(this.c4 * e));
2024
2048
  }
2025
2049
  if (a - truncate(Math.floor(a)) > 0) {
2026
2050
  let f = a - truncate(Math.floor(a));
2027
- let g = f * this.co._inner[e];
2051
+ let g = f * this.cq._inner[e];
2028
2052
  c = truncate(Math.floor(c + g));
2029
2053
  }
2030
2054
  c = Math.max(c, 0);
2031
- if (this.cw > 0 && this.aw.d.height > 0 && c + this.aw.d.height > this.cw) {
2032
- c = truncate(Math.round(this.cw - this.aw.d.height));
2055
+ if (this.cy > 0 && this.ay.d.height > 0 && c + this.ay.d.height > this.cy) {
2056
+ c = truncate(Math.round(this.cy - this.ay.d.height));
2033
2057
  }
2034
2058
  if (c < 0) {
2035
2059
  c = 0;
2036
2060
  }
2037
- this.dg = c;
2038
- this.df = b;
2061
+ this.di = c;
2062
+ this.dh = b;
2039
2063
  this.viewportManager.moveViewportTo(b, c);
2040
2064
  }
2041
- g8(a) {
2042
- let b = truncate(this.aw.d.left);
2043
- if (this.df != -1) {
2044
- b = this.df;
2065
+ hb(a) {
2066
+ let b = truncate(this.ay.d.left);
2067
+ if (this.dh != -1) {
2068
+ b = this.dh;
2045
2069
  }
2046
2070
  let c = 0;
2047
2071
  if (a < 0) {
2048
2072
  a = 0;
2049
2073
  }
2050
- if (a >= this.d2()) {
2051
- a = this.d2() - 1;
2074
+ if (a >= this.d4()) {
2075
+ a = this.d4() - 1;
2052
2076
  }
2053
2077
  let d = truncate(Math.floor(a));
2054
- if (this.ab == 2) {
2055
- d = truncate(Math.floor(d / this.cu.count));
2078
+ if (this.ad == 2) {
2079
+ d = truncate(Math.floor(d / this.cw.count));
2056
2080
  }
2057
- if (this.cp.count == 0) {
2058
- c = truncate(Math.round((this.c2 * a) + this.c2));
2081
+ if (this.cr.count == 0) {
2082
+ c = truncate(Math.round((this.c4 * a) + this.c4));
2059
2083
  }
2060
2084
  else {
2061
- c = truncate(Math.floor(this.cp._inner[d] + this.co._inner[d]));
2085
+ c = truncate(Math.floor(this.cr._inner[d] + this.cq._inner[d]));
2062
2086
  }
2063
2087
  if (a - truncate(Math.floor(a)) > 0) {
2064
2088
  let e = a - truncate(Math.floor(a));
2065
- let f = e * this.co._inner[d];
2089
+ let f = e * this.cq._inner[d];
2066
2090
  c = truncate(Math.floor(c + f));
2067
2091
  }
2068
2092
  c = Math.max(c, 0);
2069
- if (this.cw > 0 && this.aw.d.height > 0) {
2070
- c -= truncate(Math.round(this.aw.d.height));
2093
+ if (this.cy > 0 && this.ay.d.height > 0) {
2094
+ c -= truncate(Math.round(this.ay.d.height));
2071
2095
  }
2072
- if (this.cw > 0 && this.aw.d.height > 0 && c + this.aw.d.height > this.cw) {
2073
- c = truncate(Math.round(this.cw - this.aw.d.height));
2096
+ if (this.cy > 0 && this.ay.d.height > 0 && c + this.ay.d.height > this.cy) {
2097
+ c = truncate(Math.round(this.cy - this.ay.d.height));
2074
2098
  }
2075
2099
  if (c < 0) {
2076
2100
  c = 0;
2077
2101
  }
2078
- this.dg = c;
2079
- this.df = b;
2102
+ this.di = c;
2103
+ this.dh = b;
2080
2104
  this.viewportManager.moveViewportTo(b, c);
2081
2105
  }
2082
2106
  get viewportManager() {
@@ -2085,141 +2109,141 @@ export let ListPanel = /*@__PURE__*/ (() => {
2085
2109
  set viewportManager(a) {
2086
2110
  this._viewportManager = a;
2087
2111
  }
2088
- b1(a, b) {
2089
- if (this.ab == 1) {
2112
+ b3(a, b) {
2113
+ if (this.ad == 1) {
2090
2114
  return false;
2091
2115
  }
2092
- if (this.r == 0 || this.bz()) {
2116
+ if (this.r == 0 || this.b1()) {
2093
2117
  return false;
2094
2118
  }
2095
- let c = this.dr;
2096
- if (c > this.d2() - 1) {
2119
+ let c = this.dt;
2120
+ if (c > this.d4() - 1) {
2097
2121
  return false;
2098
2122
  }
2099
2123
  let d = c + 1;
2100
- if (this.ab == 2) {
2101
- d = c + this.cu.count;
2124
+ if (this.ad == 2) {
2125
+ d = c + this.cw.count;
2102
2126
  }
2103
2127
  if (b) {
2104
- d = this.d2() - 1;
2128
+ d = this.d4() - 1;
2105
2129
  }
2106
- if (d > this.d2() - 1) {
2107
- d = this.d2() - 1;
2130
+ if (d > this.d4() - 1) {
2131
+ d = this.d4() - 1;
2108
2132
  }
2109
2133
  if (d == c) {
2110
2134
  return false;
2111
2135
  }
2112
- this.dr = d;
2113
- if (this.aw.a) {
2114
- this.ff(d, false);
2136
+ this.dt = d;
2137
+ if (this.ay.a) {
2138
+ this.fh(d, false);
2115
2139
  }
2116
- this.bm = false;
2117
- if (this.aq == 2 && a) {
2118
- if (this.dk == -1) {
2119
- this.dk = c;
2140
+ this.bo = false;
2141
+ if (this.as == 2 && a) {
2142
+ if (this.dm == -1) {
2143
+ this.dm = c;
2120
2144
  }
2121
- let e = Math.min(this.dk, d);
2122
- let f = Math.max(this.dk, d);
2123
- this.hf(e, f);
2145
+ let e = Math.min(this.dm, d);
2146
+ let f = Math.max(this.dm, d);
2147
+ this.hi(e, f);
2124
2148
  }
2125
2149
  else {
2126
- this.dk = -1;
2127
- this.dj = -1;
2128
- this.cq.clear();
2129
- this.cr.clear();
2150
+ this.dm = -1;
2151
+ this.dl = -1;
2152
+ this.cs.clear();
2153
+ this.ct.clear();
2130
2154
  }
2131
- this.gr();
2155
+ this.gu();
2132
2156
  return true;
2133
2157
  }
2134
- gr() {
2135
- if (this.bm && this.selectionChanged != null) {
2158
+ gu() {
2159
+ if (this.bo && this.selectionChanged != null) {
2136
2160
  this.selectionChanged(this, new ListPanelSelectionChangedEventArgs());
2137
- this.bm = false;
2161
+ this.bo = false;
2138
2162
  }
2139
2163
  }
2140
- hf(a, b) {
2164
+ hi(a, b) {
2141
2165
  for (let c = a; c <= b; c++) {
2142
- if (this.cq.contains(c)) {
2166
+ if (this.cs.contains(c)) {
2143
2167
  continue;
2144
2168
  }
2145
- if (!this.cr.contains(c)) {
2146
- let d = this.ad(this.e(), c);
2169
+ if (!this.ct.contains(c)) {
2170
+ let d = this.af(this.e(), c);
2147
2171
  if (d != null) {
2148
- if (this.ao.h(d)) {
2149
- this.cq.add(c);
2172
+ if (this.aq.h(d)) {
2173
+ this.cs.add(c);
2150
2174
  continue;
2151
2175
  }
2152
2176
  else {
2153
- this.cr.add(c);
2154
- this.aj.add(d);
2155
- this.ao.z(c);
2177
+ this.ct.add(c);
2178
+ this.al.add(d);
2179
+ this.aq.z(c);
2156
2180
  }
2157
2181
  }
2158
2182
  }
2159
2183
  }
2160
- for (let e = 0; e < this.cr.count; e++) {
2161
- if (this.cr._inner[e] < a || this.cr._inner[e] > b) {
2162
- let f = this.ad(this.e(), this.cr._inner[e]);
2184
+ for (let e = 0; e < this.ct.count; e++) {
2185
+ if (this.ct._inner[e] < a || this.ct._inner[e] > b) {
2186
+ let f = this.af(this.e(), this.ct._inner[e]);
2163
2187
  if (f != null) {
2164
- this.cr.removeAt(e);
2188
+ this.ct.removeAt(e);
2165
2189
  e--;
2166
- let g = this.aj.indexOf(f);
2167
- let h = this.ag._inner[g];
2168
- this.aj.remove(f);
2169
- this.cl.remove(f);
2190
+ let g = this.al.indexOf(f);
2191
+ let h = this.ai._inner[g];
2192
+ this.al.remove(f);
2170
2193
  this.cn.remove(f);
2171
- this.ck.remove1(h);
2194
+ this.cp.remove(f);
2172
2195
  this.cm.remove1(h);
2196
+ this.co.remove1(h);
2173
2197
  }
2174
2198
  }
2175
2199
  }
2176
2200
  }
2177
- b2(a, b) {
2178
- if (this.r == 0 || this.bz()) {
2201
+ b4(a, b) {
2202
+ if (this.r == 0 || this.b1()) {
2179
2203
  return false;
2180
2204
  }
2181
- let c = this.dr;
2182
- let d = this.dr;
2205
+ let c = this.dt;
2206
+ let d = this.dt;
2183
2207
  if (b) {
2184
- if (d >= this.d2() - 1) {
2208
+ if (d >= this.d4() - 1) {
2185
2209
  return false;
2186
2210
  }
2187
- d = this.d2() - 1;
2211
+ d = this.d4() - 1;
2188
2212
  }
2189
- else if (this.ab == 2 && this.d3(d) == this.cu.count - 1) {
2213
+ else if (this.ad == 2 && this.d5(d) == this.cw.count - 1) {
2190
2214
  return false;
2191
2215
  }
2192
2216
  let e = -1;
2193
- if (this.ab == 2) {
2194
- e = this.d3(d);
2195
- let f = (d - e) + this.cu.count;
2196
- if (f > this.d2() - 1) {
2197
- f = this.d2() - 1;
2217
+ if (this.ad == 2) {
2218
+ e = this.d5(d);
2219
+ let f = (d - e) + this.cw.count;
2220
+ if (f > this.d4() - 1) {
2221
+ f = this.d4() - 1;
2198
2222
  }
2199
2223
  d = f;
2200
2224
  }
2201
2225
  if (d == c) {
2202
2226
  return false;
2203
2227
  }
2204
- this.dr = d;
2205
- this.ff(d, false);
2228
+ this.dt = d;
2229
+ this.fh(d, false);
2206
2230
  return true;
2207
2231
  }
2208
- b6(a, b) {
2209
- let c = this.db;
2210
- let d = this.db;
2232
+ b8(a, b) {
2233
+ let c = this.dd;
2234
+ let d = this.dd;
2211
2235
  if (b) {
2212
2236
  if (d <= 0) {
2213
2237
  return false;
2214
2238
  }
2215
2239
  d = 0;
2216
2240
  }
2217
- else if (this.ab == 2 && this.d3(d) == 0) {
2241
+ else if (this.ad == 2 && this.d5(d) == 0) {
2218
2242
  return false;
2219
2243
  }
2220
2244
  let e = -1;
2221
- if (this.ab == 2) {
2222
- e = this.d3(d);
2245
+ if (this.ad == 2) {
2246
+ e = this.d5(d);
2223
2247
  let f = (d - e);
2224
2248
  if (f < 0) {
2225
2249
  f = 0;
@@ -2229,18 +2253,18 @@ export let ListPanel = /*@__PURE__*/ (() => {
2229
2253
  if (d == c) {
2230
2254
  return false;
2231
2255
  }
2232
- this.dr = d;
2233
- this.ff(d, false);
2256
+ this.dt = d;
2257
+ this.fh(d, false);
2234
2258
  return true;
2235
2259
  }
2236
- b8(a, b) {
2237
- if (this.ab == 0) {
2260
+ ca(a, b) {
2261
+ if (this.ad == 0) {
2238
2262
  return false;
2239
2263
  }
2240
- if (this.r == 0 || this.bz()) {
2264
+ if (this.r == 0 || this.b1()) {
2241
2265
  return false;
2242
2266
  }
2243
- let c = this.dr;
2267
+ let c = this.dt;
2244
2268
  if (c <= 0) {
2245
2269
  return false;
2246
2270
  }
@@ -2248,8 +2272,8 @@ export let ListPanel = /*@__PURE__*/ (() => {
2248
2272
  if (b) {
2249
2273
  d = 0;
2250
2274
  }
2251
- if (b && this.ab == 2) {
2252
- d = (c - this.d3(c));
2275
+ if (b && this.ad == 2) {
2276
+ d = (c - this.d5(c));
2253
2277
  if (d < 0) {
2254
2278
  d = 0;
2255
2279
  }
@@ -2260,130 +2284,130 @@ export let ListPanel = /*@__PURE__*/ (() => {
2260
2284
  if (d == c) {
2261
2285
  return false;
2262
2286
  }
2263
- this.dr = d;
2264
- if (this.aw.a) {
2265
- this.ff(d, false);
2287
+ this.dt = d;
2288
+ if (this.ay.a) {
2289
+ this.fh(d, false);
2266
2290
  }
2267
- this.bm = false;
2268
- if (this.aq == 2 && a) {
2269
- if (this.dk == -1) {
2270
- this.dk = c;
2291
+ this.bo = false;
2292
+ if (this.as == 2 && a) {
2293
+ if (this.dm == -1) {
2294
+ this.dm = c;
2271
2295
  }
2272
- let e = Math.min(this.dk, d);
2273
- let f = Math.max(this.dk, d);
2274
- this.hf(e, f);
2296
+ let e = Math.min(this.dm, d);
2297
+ let f = Math.max(this.dm, d);
2298
+ this.hi(e, f);
2275
2299
  }
2276
2300
  else {
2277
- this.dk = -1;
2278
- this.dj = -1;
2279
- this.cq.clear();
2280
- this.cr.clear();
2301
+ this.dm = -1;
2302
+ this.dl = -1;
2303
+ this.cs.clear();
2304
+ this.ct.clear();
2281
2305
  }
2282
- this.gr();
2306
+ this.gu();
2283
2307
  return true;
2284
2308
  }
2285
- b9(a, b) {
2286
- if (this.r == 0 || this.bz()) {
2309
+ cb(a, b) {
2310
+ if (this.r == 0 || this.b1()) {
2287
2311
  return false;
2288
2312
  }
2289
- let c = this.dy();
2290
- let d = this.d0();
2313
+ let c = this.d0();
2314
+ let d = this.d2();
2291
2315
  let e = d - c;
2292
- let f = Math.min(d + 1, this.d2() - 1);
2316
+ let f = Math.min(d + 1, this.d4() - 1);
2293
2317
  {
2294
- this.dr = f;
2318
+ this.dt = f;
2295
2319
  }
2296
- this.ff(f, true);
2320
+ this.fh(f, true);
2297
2321
  return true;
2298
2322
  }
2299
- ca(a, b) {
2300
- if (this.r == 0 || this.bz()) {
2323
+ cc(a, b) {
2324
+ if (this.r == 0 || this.b1()) {
2301
2325
  return false;
2302
2326
  }
2303
- let c = this.dy();
2304
- let d = this.d0();
2327
+ let c = this.d0();
2328
+ let d = this.d2();
2305
2329
  let e = d - c;
2306
2330
  let f = Math.max(c - e - 1, 0);
2307
2331
  {
2308
- this.dr = f;
2332
+ this.dt = f;
2309
2333
  }
2310
- this.ff(f, false);
2334
+ this.fh(f, false);
2311
2335
  return true;
2312
2336
  }
2313
- cb(a, b) {
2314
- if (this.ab == 0) {
2337
+ cd(a, b) {
2338
+ if (this.ad == 0) {
2315
2339
  return false;
2316
2340
  }
2317
- if (this.r == 0 || this.bz()) {
2341
+ if (this.r == 0 || this.b1()) {
2318
2342
  return false;
2319
2343
  }
2320
- let c = this.dr;
2344
+ let c = this.dt;
2321
2345
  if (c <= 0) {
2322
2346
  return false;
2323
2347
  }
2324
2348
  let d = c - 1;
2325
2349
  if (b) {
2326
- d = this.d2() - 1;
2350
+ d = this.d4() - 1;
2327
2351
  }
2328
- if (b && this.ab == 2) {
2329
- d = (c - this.d3(c)) + this.cu.count;
2330
- if (d > this.d2() - 1) {
2331
- d = this.d2() - 1;
2352
+ if (b && this.ad == 2) {
2353
+ d = (c - this.d5(c)) + this.cw.count;
2354
+ if (d > this.d4() - 1) {
2355
+ d = this.d4() - 1;
2332
2356
  }
2333
2357
  }
2334
- if (d > this.d2() - 1) {
2335
- d = this.d2() - 1;
2358
+ if (d > this.d4() - 1) {
2359
+ d = this.d4() - 1;
2336
2360
  }
2337
2361
  if (d == c) {
2338
2362
  return false;
2339
2363
  }
2340
- this.dr = d;
2341
- if (this.aw.a) {
2342
- this.ff(d, false);
2364
+ this.dt = d;
2365
+ if (this.ay.a) {
2366
+ this.fh(d, false);
2343
2367
  }
2344
- this.bm = false;
2345
- if (this.aq == 2 && a) {
2346
- if (this.dk == -1) {
2347
- this.dk = c;
2368
+ this.bo = false;
2369
+ if (this.as == 2 && a) {
2370
+ if (this.dm == -1) {
2371
+ this.dm = c;
2348
2372
  }
2349
- let e = Math.min(this.dk, d);
2350
- let f = Math.max(this.dk, d);
2351
- this.hf(e, f);
2373
+ let e = Math.min(this.dm, d);
2374
+ let f = Math.max(this.dm, d);
2375
+ this.hi(e, f);
2352
2376
  }
2353
2377
  else {
2354
- this.dk = -1;
2355
- this.dj = -1;
2356
- this.cq.clear();
2357
- this.cr.clear();
2378
+ this.dm = -1;
2379
+ this.dl = -1;
2380
+ this.cs.clear();
2381
+ this.ct.clear();
2358
2382
  }
2359
- this.gr();
2383
+ this.gu();
2360
2384
  return true;
2361
2385
  }
2362
- cd(a, b) {
2363
- if (this.r == 0 || this.bz()) {
2386
+ cf(a, b) {
2387
+ if (this.r == 0 || this.b1()) {
2364
2388
  return false;
2365
2389
  }
2366
- if (this.ab == 0) {
2367
- return this.b1(a, b);
2390
+ if (this.ad == 0) {
2391
+ return this.b3(a, b);
2368
2392
  }
2369
- return this.cb(a, b);
2393
+ return this.cd(a, b);
2370
2394
  }
2371
- gu() {
2395
+ gx() {
2372
2396
  }
2373
- ce(a, b) {
2374
- if (this.ab == 1) {
2397
+ cg(a, b) {
2398
+ if (this.ad == 1) {
2375
2399
  return false;
2376
2400
  }
2377
- if (this.r == 0 || this.bz()) {
2401
+ if (this.r == 0 || this.b1()) {
2378
2402
  return false;
2379
2403
  }
2380
- let c = this.dr;
2404
+ let c = this.dt;
2381
2405
  if (c <= 0) {
2382
2406
  return false;
2383
2407
  }
2384
2408
  let d = c - 1;
2385
- if (this.ab == 2) {
2386
- d = c - this.cu.count;
2409
+ if (this.ad == 2) {
2410
+ d = c - this.cw.count;
2387
2411
  if (d < 0) {
2388
2412
  d = 0;
2389
2413
  }
@@ -2397,155 +2421,155 @@ export let ListPanel = /*@__PURE__*/ (() => {
2397
2421
  if (d == c) {
2398
2422
  return false;
2399
2423
  }
2400
- this.dr = d;
2401
- if (this.aw.a) {
2402
- this.ff(d, false);
2424
+ this.dt = d;
2425
+ if (this.ay.a) {
2426
+ this.fh(d, false);
2403
2427
  }
2404
- this.bm = false;
2405
- if (this.aq == 2 && a) {
2406
- if (this.dk == -1) {
2407
- this.dk = c;
2428
+ this.bo = false;
2429
+ if (this.as == 2 && a) {
2430
+ if (this.dm == -1) {
2431
+ this.dm = c;
2408
2432
  }
2409
- let e = Math.min(this.dk, d);
2410
- let f = Math.max(this.dk, d);
2411
- this.hf(e, f);
2433
+ let e = Math.min(this.dm, d);
2434
+ let f = Math.max(this.dm, d);
2435
+ this.hi(e, f);
2412
2436
  }
2413
2437
  else {
2414
- this.dk = -1;
2415
- this.dj = -1;
2416
- this.cq.clear();
2417
- this.cr.clear();
2438
+ this.dm = -1;
2439
+ this.dl = -1;
2440
+ this.cs.clear();
2441
+ this.ct.clear();
2418
2442
  }
2419
- this.gr();
2443
+ this.gu();
2420
2444
  return true;
2421
2445
  }
2422
- b3(a, b) {
2446
+ b5(a, b) {
2423
2447
  return false;
2424
2448
  }
2425
- b4() {
2449
+ b6() {
2426
2450
  return false;
2427
2451
  }
2428
- b5() {
2452
+ b7() {
2429
2453
  return false;
2430
2454
  }
2431
- cc(a, b) {
2455
+ ce(a, b) {
2432
2456
  return false;
2433
2457
  }
2434
- fr() {
2458
+ fu() {
2435
2459
  this.view.v();
2436
2460
  }
2437
- get bu() {
2438
- return this.bd;
2461
+ get bw() {
2462
+ return this.bf;
2439
2463
  }
2440
- set bu(a) {
2441
- this.bd = a;
2464
+ set bw(a) {
2465
+ this.bf = a;
2442
2466
  }
2443
- fe(a = false) {
2444
- this.ck.clear();
2445
- this.cl.clear();
2467
+ fg(a = false) {
2446
2468
  this.cm.clear();
2447
2469
  this.cn.clear();
2448
- this.a9 = true;
2449
- this.ba = a;
2470
+ this.co.clear();
2471
+ this.cp.clear();
2472
+ this.bb = true;
2473
+ this.bc = a;
2450
2474
  }
2451
- fn() {
2452
- if (this.a9) {
2453
- this.bu = true;
2454
- this.hm(this.ck, this.cl, this.cm, this.cn);
2455
- this.bu = false;
2475
+ fq() {
2476
+ if (this.bb) {
2477
+ this.bw = true;
2478
+ this.hp(this.cm, this.cn, this.co, this.cp);
2479
+ this.bw = false;
2456
2480
  }
2457
- this.a9 = false;
2481
+ this.bb = false;
2458
2482
  }
2459
- get b0() {
2460
- return this.bj;
2483
+ get b2() {
2484
+ return this.bl;
2461
2485
  }
2462
- set b0(a) {
2463
- let b = this.bj;
2464
- this.bj = a;
2465
- if (b != this.bj) {
2466
- this.gi("NotifyOnAllSelectionChanges", b, this.bj);
2486
+ set b2(a) {
2487
+ let b = this.bl;
2488
+ this.bl = a;
2489
+ if (b != this.bl) {
2490
+ this.gl("NotifyOnAllSelectionChanges", b, this.bl);
2467
2491
  }
2468
2492
  }
2469
- hm(a, b, c, d) {
2493
+ hp(a, b, c, d) {
2470
2494
  if (a.count == 0 && b.count == 0 && c.count == 0 && d.count == 0) {
2471
2495
  return;
2472
2496
  }
2473
- let e = this.b0;
2474
- this.b0 = false;
2475
- if (!this.bn) {
2476
- if (!this.ba) {
2497
+ let e = this.b2;
2498
+ this.b2 = false;
2499
+ if (!this.bp) {
2500
+ if (!this.bc) {
2477
2501
  if (a.count > 0) {
2478
- this.ag.o(a);
2479
- this.aj.o(b);
2480
- this.bm = true;
2502
+ this.ai.o(a);
2503
+ this.al.o(b);
2504
+ this.bo = true;
2481
2505
  }
2482
2506
  if (c.count > 0) {
2483
- this.aj.ah = true;
2484
- this.ag.af = true;
2507
+ this.al.ah = true;
2508
+ this.ai.af = true;
2485
2509
  for (let f = c.count - 1; f >= 0; f--) {
2486
- let g = this.aj.al(d._inner[f]);
2510
+ let g = this.al.al(d._inner[f]);
2487
2511
  if (g >= 0) {
2488
- this.ag.removeAt(g);
2489
- this.aj.removeAt(g);
2512
+ this.ai.removeAt(g);
2513
+ this.al.removeAt(g);
2490
2514
  }
2491
2515
  }
2492
- this.ag.af = false;
2493
- this.aj.ah = false;
2494
- this.bm = true;
2516
+ this.ai.af = false;
2517
+ this.al.ah = false;
2518
+ this.bo = true;
2495
2519
  }
2496
2520
  }
2497
2521
  }
2498
- this.b0 = e;
2499
- this.gm(c, a);
2500
- this.gp(d, b);
2522
+ this.b2 = e;
2523
+ this.gp(c, a);
2524
+ this.gs(d, b);
2501
2525
  }
2502
- hd(a, b) {
2503
- this.bm = true;
2504
- if (!this.bu && this.actualDataSource != null) {
2505
- if (!this.bn) {
2506
- this.bn = true;
2526
+ hg(a, b) {
2527
+ this.bo = true;
2528
+ if (!this.bw && this.actualDataSource != null) {
2529
+ if (!this.bp) {
2530
+ this.bp = true;
2507
2531
  switch (b.action) {
2508
2532
  case 0:
2509
2533
  if (b.newItems != null) {
2510
2534
  for (let c = 0; c < b.newItems.count; c++) {
2511
- let d = this.ac(this.e(), b.newItems.item(c));
2512
- this.aj.ae.insert(c + b.newStartingIndex, d);
2535
+ let d = this.ae(this.e(), b.newItems.item(c));
2536
+ this.al.ae.insert(c + b.newStartingIndex, d);
2513
2537
  }
2514
2538
  }
2515
2539
  break;
2516
2540
  case 1:
2517
2541
  if (b.oldItems != null) {
2518
2542
  for (let e = 0; e < b.oldItems.count; e++) {
2519
- this.aj.ae.removeAt(b.oldStartingIndex);
2543
+ this.al.ae.removeAt(b.oldStartingIndex);
2520
2544
  }
2521
2545
  }
2522
2546
  break;
2523
2547
  case 2:
2524
2548
  if (b.oldItems != null) {
2525
2549
  for (let f = 0; f < b.oldItems.count; f++) {
2526
- this.aj.ae.removeAt(b.oldStartingIndex);
2550
+ this.al.ae.removeAt(b.oldStartingIndex);
2527
2551
  }
2528
2552
  }
2529
2553
  if (b.newItems != null) {
2530
2554
  for (let g = 0; g < b.newItems.count; g++) {
2531
- let h = this.ac(this.e(), b.newItems.item(g));
2532
- this.aj.ae.insert(g + b.newStartingIndex, h);
2555
+ let h = this.ae(this.e(), b.newItems.item(g));
2556
+ this.al.ae.insert(g + b.newStartingIndex, h);
2533
2557
  }
2534
2558
  }
2535
2559
  break;
2536
2560
  case 4:
2537
- this.aj.clear();
2538
- for (let i of fromEnum(this.ag.ae)) {
2539
- let j = this.ac(this.e(), i);
2540
- this.aj.add(j);
2561
+ this.al.clear();
2562
+ for (let i of fromEnum(this.ai.ae)) {
2563
+ let j = this.ae(this.e(), i);
2564
+ this.al.add(j);
2541
2565
  }
2542
2566
  break;
2543
2567
  }
2544
- this.ao.af();
2545
- this.bn = false;
2568
+ this.aq.af();
2569
+ this.bp = false;
2546
2570
  }
2547
2571
  }
2548
- if (this.b0) {
2572
+ if (this.b2) {
2549
2573
  if (this.selectedItemsChanged != null) {
2550
2574
  let k = null;
2551
2575
  if (b.newItems != null && b.newItems.count > 0) {
@@ -2565,58 +2589,58 @@ export let ListPanel = /*@__PURE__*/ (() => {
2565
2589
  let $ret = new ListPanelSelectedItemsChangedEventArgs();
2566
2590
  $ret.addedItems = k;
2567
2591
  $ret.removedItems = m;
2568
- $ret.currentItems = this.ag;
2592
+ $ret.currentItems = this.ai;
2569
2593
  return $ret;
2570
2594
  })()));
2571
2595
  }
2572
2596
  }
2573
2597
  }
2574
- he(a, b) {
2575
- if (!this.bu && this.actualDataSource != null) {
2576
- if (!this.bn) {
2577
- this.bn = true;
2598
+ hh(a, b) {
2599
+ if (!this.bw && this.actualDataSource != null) {
2600
+ if (!this.bp) {
2601
+ this.bp = true;
2578
2602
  switch (b.action) {
2579
2603
  case 0:
2580
2604
  if (b.newItems != null) {
2581
2605
  for (let c = 0; c < b.newItems.count; c++) {
2582
- let d = this.ee(b.newItems.item(c));
2583
- this.ag.ae.insert1(c + b.newStartingIndex, d);
2606
+ let d = this.eg(b.newItems.item(c));
2607
+ this.ai.ae.insert1(c + b.newStartingIndex, d);
2584
2608
  }
2585
2609
  }
2586
2610
  break;
2587
2611
  case 1:
2588
2612
  if (b.oldItems != null) {
2589
2613
  for (let e = 0; e < b.oldItems.count; e++) {
2590
- this.ag.ae.removeAt(b.oldStartingIndex);
2614
+ this.ai.ae.removeAt(b.oldStartingIndex);
2591
2615
  }
2592
2616
  }
2593
2617
  break;
2594
2618
  case 2:
2595
2619
  if (b.oldItems != null) {
2596
2620
  for (let f = 0; f < b.oldItems.count; f++) {
2597
- this.ag.ae.removeAt(b.oldStartingIndex);
2621
+ this.ai.ae.removeAt(b.oldStartingIndex);
2598
2622
  }
2599
2623
  }
2600
2624
  if (b.newItems != null) {
2601
2625
  for (let g = 0; g < b.newItems.count; g++) {
2602
- let h = this.ee(b.newItems.item(g));
2603
- this.ag.ae.insert1(g + b.newStartingIndex, h);
2626
+ let h = this.eg(b.newItems.item(g));
2627
+ this.ai.ae.insert1(g + b.newStartingIndex, h);
2604
2628
  }
2605
2629
  }
2606
2630
  break;
2607
2631
  case 4:
2608
- this.ag.clear();
2609
- for (let i of fromEnum(this.aj.ae)) {
2610
- let j = this.ee(i);
2611
- this.ag.add1(j);
2632
+ this.ai.clear();
2633
+ for (let i of fromEnum(this.al.ae)) {
2634
+ let j = this.eg(i);
2635
+ this.ai.add1(j);
2612
2636
  }
2613
2637
  break;
2614
2638
  }
2615
- this.ao.af();
2616
- this.bn = false;
2639
+ this.aq.af();
2640
+ this.bp = false;
2617
2641
  }
2618
2642
  }
2619
- if (this.b0) {
2643
+ if (this.b2) {
2620
2644
  if (this.selectedKeysChanged != null) {
2621
2645
  let k = null;
2622
2646
  if (b.newItems != null && b.newItems.count > 0) {
@@ -2638,104 +2662,104 @@ export let ListPanel = /*@__PURE__*/ (() => {
2638
2662
  let $ret = new ListPanelSelectedKeysChangedEventArgs();
2639
2663
  $ret.addedKeys = k;
2640
2664
  $ret.removedKeys = m;
2641
- $ret.currentKeys = this.aj;
2665
+ $ret.currentKeys = this.al;
2642
2666
  return $ret;
2643
2667
  })()));
2644
2668
  }
2645
2669
  }
2646
2670
  }
2647
- hj(a, b) {
2648
- this.gx();
2671
+ hm(a, b) {
2672
+ this.g0();
2649
2673
  }
2650
- gk(a, b) {
2674
+ gn(a, b) {
2651
2675
  if (a == null) {
2652
- let c = this.aj.ae.indexOf(b);
2653
- if (c > -1 && this.ag.ae.count > 0) {
2654
- a = this.ag.ae._inner[c];
2676
+ let c = this.al.ae.indexOf(b);
2677
+ if (c > -1 && this.ai.ae.count > 0) {
2678
+ a = this.ai.ae._inner[c];
2655
2679
  }
2656
2680
  }
2657
2681
  if (a == null) {
2658
2682
  return;
2659
2683
  }
2660
- this.bu = true;
2661
- if (!this.a9) {
2662
- this.fd(a, b, true);
2684
+ this.bw = true;
2685
+ if (!this.bb) {
2686
+ this.ff(a, b, true);
2663
2687
  }
2664
2688
  else {
2665
- this.ck.add1(a);
2666
- this.cl.add(b);
2667
- if (this.ba) {
2668
- this.fd(a, b, false);
2689
+ this.cm.add1(a);
2690
+ this.cn.add(b);
2691
+ if (this.bc) {
2692
+ this.ff(a, b, false);
2669
2693
  }
2670
2694
  }
2671
- this.bu = false;
2695
+ this.bw = false;
2672
2696
  }
2673
- hk(a, b) {
2674
- this.gx();
2697
+ hn(a, b) {
2698
+ this.g0();
2675
2699
  }
2676
- gl(a, b) {
2700
+ go(a, b) {
2677
2701
  if (a == null) {
2678
- let c = this.aj.ae.indexOf(b);
2679
- if (c > -1 && this.ag.ae.count > 0) {
2680
- a = this.ag.ae._inner[c];
2702
+ let c = this.al.ae.indexOf(b);
2703
+ if (c > -1 && this.ai.ae.count > 0) {
2704
+ a = this.ai.ae._inner[c];
2681
2705
  }
2682
2706
  }
2683
2707
  if (a == null) {
2684
2708
  return;
2685
2709
  }
2686
- this.bu = true;
2687
- if (!this.a9) {
2688
- this.g6(a, b, true);
2710
+ this.bw = true;
2711
+ if (!this.bb) {
2712
+ this.g9(a, b, true);
2689
2713
  }
2690
2714
  else {
2691
- this.cm.add1(a);
2692
- this.cn.add(b);
2693
- if (this.ba) {
2694
- this.g6(a, b, false);
2715
+ this.co.add1(a);
2716
+ this.cp.add(b);
2717
+ if (this.bc) {
2718
+ this.g9(a, b, false);
2695
2719
  }
2696
2720
  }
2697
- this.bu = false;
2721
+ this.bw = false;
2698
2722
  }
2699
- fd(a, b, c) {
2700
- let d = this.b0;
2701
- this.b0 = false;
2702
- if (!this.bn) {
2703
- this.ag.add1(a);
2704
- this.aj.add(b);
2723
+ ff(a, b, c) {
2724
+ let d = this.b2;
2725
+ this.b2 = false;
2726
+ if (!this.bp) {
2727
+ this.ai.add1(a);
2728
+ this.al.add(b);
2705
2729
  }
2706
- this.b0 = d;
2730
+ this.b2 = d;
2707
2731
  if (c) {
2708
- this.gn(null, a);
2709
- this.go(null, b);
2732
+ this.gq(null, a);
2733
+ this.gr(null, b);
2710
2734
  }
2711
2735
  }
2712
- hl(a, b, c) {
2713
- let d = this.b0;
2714
- this.b0 = false;
2715
- let e = this.ag.ae._inner[a];
2716
- if (!this.bn) {
2717
- this.ag.ae._inner[a] = b;
2736
+ ho(a, b, c) {
2737
+ let d = this.b2;
2738
+ this.b2 = false;
2739
+ let e = this.ai.ae._inner[a];
2740
+ if (!this.bp) {
2741
+ this.ai.ae._inner[a] = b;
2718
2742
  }
2719
- this.b0 = d;
2720
- this.gn(b, b);
2743
+ this.b2 = d;
2744
+ this.gq(b, b);
2721
2745
  }
2722
- g6(a, b, c) {
2723
- let d = this.b0;
2724
- this.b0 = false;
2725
- if (!this.bn) {
2726
- this.ag.remove1(a);
2727
- this.aj.remove(b);
2746
+ g9(a, b, c) {
2747
+ let d = this.b2;
2748
+ this.b2 = false;
2749
+ if (!this.bp) {
2750
+ this.ai.remove1(a);
2751
+ this.al.remove(b);
2728
2752
  }
2729
- this.b0 = d;
2753
+ this.b2 = d;
2730
2754
  if (c) {
2731
- this.gn(a, null);
2732
- this.go(b, null);
2755
+ this.gq(a, null);
2756
+ this.gr(b, null);
2733
2757
  }
2734
2758
  }
2735
- gn(a, b) {
2736
- if (!this.cj && this.selectedItemsChanged != null) {
2759
+ gq(a, b) {
2760
+ if (!this.cl && this.selectedItemsChanged != null) {
2737
2761
  let c = new ListPanelSelectedItemsChangedEventArgs();
2738
- c.currentItems = this.ag;
2762
+ c.currentItems = this.ai;
2739
2763
  if (a != null) {
2740
2764
  let d = new ListPanelSelectedItemsCollection();
2741
2765
  d.add1(a);
@@ -2749,10 +2773,10 @@ export let ListPanel = /*@__PURE__*/ (() => {
2749
2773
  this.selectedItemsChanged(this, c);
2750
2774
  }
2751
2775
  }
2752
- go(a, b) {
2753
- if (!this.cj && this.selectedKeysChanged != null) {
2776
+ gr(a, b) {
2777
+ if (!this.cl && this.selectedKeysChanged != null) {
2754
2778
  let c = new ListPanelSelectedKeysChangedEventArgs();
2755
- c.currentKeys = this.aj;
2779
+ c.currentKeys = this.al;
2756
2780
  if (a != null) {
2757
2781
  c.removedKeys = new ListPanelSelectedKeysCollection();
2758
2782
  c.removedKeys.ag = false;
@@ -2766,10 +2790,10 @@ export let ListPanel = /*@__PURE__*/ (() => {
2766
2790
  this.selectedKeysChanged(this, c);
2767
2791
  }
2768
2792
  }
2769
- gm(a, b) {
2770
- if (!this.cj && this.selectedItemsChanged != null) {
2793
+ gp(a, b) {
2794
+ if (!this.cl && this.selectedItemsChanged != null) {
2771
2795
  let c = new ListPanelSelectedItemsChangedEventArgs();
2772
- c.currentItems = this.ag;
2796
+ c.currentItems = this.ai;
2773
2797
  if (a != null) {
2774
2798
  c.removedItems = new ListPanelSelectedItemsCollection();
2775
2799
  c.removedItems.o(a);
@@ -2781,10 +2805,10 @@ export let ListPanel = /*@__PURE__*/ (() => {
2781
2805
  this.selectedItemsChanged(this, c);
2782
2806
  }
2783
2807
  }
2784
- gp(a, b) {
2785
- if (!this.cj && this.selectedKeysChanged != null) {
2808
+ gs(a, b) {
2809
+ if (!this.cl && this.selectedKeysChanged != null) {
2786
2810
  let c = new ListPanelSelectedKeysChangedEventArgs();
2787
- c.currentKeys = this.aj;
2811
+ c.currentKeys = this.al;
2788
2812
  if (a != null) {
2789
2813
  c.removedKeys = new ListPanelSelectedKeysCollection();
2790
2814
  c.removedKeys.ag = false;
@@ -2798,25 +2822,25 @@ export let ListPanel = /*@__PURE__*/ (() => {
2798
2822
  this.selectedKeysChanged(this, c);
2799
2823
  }
2800
2824
  }
2801
- fk() {
2802
- if (this.aq == 1 || this.aq == 2) {
2803
- if (this.ag.ae.count > 0) {
2825
+ fm() {
2826
+ if (this.as == 1 || this.as == 2) {
2827
+ if (this.ai.ae.count > 0) {
2804
2828
  let a = new List$1(Base.$, 0);
2805
2829
  let b = new List$1(ListPanelPrimaryKeyValue.$, 0);
2806
- for (let c = 0; c < this.ag.ae.count; c++) {
2807
- a.add1(this.ag.ae._inner[c]);
2808
- b.add(this.aj.ae._inner[c]);
2830
+ for (let c = 0; c < this.ai.ae.count; c++) {
2831
+ a.add1(this.ai.ae._inner[c]);
2832
+ b.add(this.al.ae._inner[c]);
2809
2833
  }
2810
- this.bu = true;
2811
- this.ag.clear();
2812
- this.aj.clear();
2813
- this.cj = true;
2814
- this.ao.af();
2815
- this.cj = false;
2816
- this.bu = false;
2817
- this.gm(a, null);
2818
- this.gp(b, null);
2819
- this.ao.z(-1);
2834
+ this.bw = true;
2835
+ this.ai.clear();
2836
+ this.al.clear();
2837
+ this.cl = true;
2838
+ this.aq.af();
2839
+ this.cl = false;
2840
+ this.bw = false;
2841
+ this.gp(a, null);
2842
+ this.gs(b, null);
2843
+ this.aq.z(-1);
2820
2844
  }
2821
2845
  }
2822
2846
  }
@@ -2824,12 +2848,12 @@ export let ListPanel = /*@__PURE__*/ (() => {
2824
2848
  if (this.actualDataSource == null) {
2825
2849
  return 0;
2826
2850
  }
2827
- if (a < 0 || a >= this.d2()) {
2851
+ if (a < 0 || a >= this.d4()) {
2828
2852
  return 0;
2829
2853
  }
2830
2854
  return this.actualDataSource.getRowType(a);
2831
2855
  }
2832
- d7(a, b, c, d) {
2856
+ d9(a, b, c, d) {
2833
2857
  if (this.actualDataSource == null || c < 0) {
2834
2858
  return -1;
2835
2859
  }
@@ -2841,7 +2865,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
2841
2865
  if (f == null) {
2842
2866
  continue;
2843
2867
  }
2844
- let g = this.ac(a, f);
2868
+ let g = this.ae(a, f);
2845
2869
  if (g == null) {
2846
2870
  continue;
2847
2871
  }
@@ -2860,137 +2884,137 @@ export let ListPanel = /*@__PURE__*/ (() => {
2860
2884
  }
2861
2885
  return -1;
2862
2886
  }
2863
- eg(a) {
2887
+ ei(a) {
2864
2888
  if (a < 0 || a > this.actualDataSource.actualCount - 1) {
2865
2889
  return null;
2866
2890
  }
2867
2891
  return this.actualDataSource.getItemAtIndex(a);
2868
2892
  }
2869
- dv(a, b, c, d) {
2870
- let e = this.d7(a, b, c, d);
2893
+ dx(a, b, c, d) {
2894
+ let e = this.d9(a, b, c, d);
2871
2895
  if (e >= 0) {
2872
2896
  return e;
2873
2897
  }
2874
- return this.d6(b);
2898
+ return this.d8(b);
2875
2899
  }
2876
- d2() {
2900
+ d4() {
2877
2901
  if (this.actualDataSource == null) {
2878
2902
  return 0;
2879
2903
  }
2880
2904
  return this.actualDataSource.actualCount;
2881
2905
  }
2882
- eh(a) {
2906
+ ej(a) {
2883
2907
  let b = a.v;
2884
2908
  if (b < 0 || b > this.actualDataSource.actualCount - 1) {
2885
2909
  return null;
2886
2910
  }
2887
2911
  return this.actualDataSource.getItemAtIndex(b);
2888
2912
  }
2889
- gq(a, b, c) {
2890
- this.bu = true;
2891
- this.hl(a, b, c);
2892
- this.bu = false;
2913
+ gt(a, b, c) {
2914
+ this.bw = true;
2915
+ this.ho(a, b, c);
2916
+ this.bw = false;
2893
2917
  }
2894
- hh(a, b) {
2895
- this.gx();
2918
+ hk(a, b) {
2919
+ this.g0();
2896
2920
  }
2897
- f8(a) {
2898
- if (!this.bo) {
2899
- this.dr = a;
2921
+ gb(a) {
2922
+ if (!this.bq) {
2923
+ this.dt = a;
2900
2924
  }
2901
2925
  if (this.activeRowChanged != null) {
2902
2926
  let b = new ListPanelActiveRowChangedEventArgs();
2903
- b.newActiveRow = this.dr;
2904
- b.oldActiveRow = this.de;
2927
+ b.newActiveRow = this.dt;
2928
+ b.oldActiveRow = this.dg;
2905
2929
  this.activeRowChanged(this, b);
2906
2930
  }
2907
- this.f9();
2931
+ this.gc();
2908
2932
  }
2909
- hi(a, b) {
2910
- this.gx();
2933
+ hl(a, b) {
2934
+ this.g0();
2911
2935
  }
2912
- gb(a) {
2913
- let b = this.dr;
2914
- if (!this.bo) {
2915
- this.dr = a;
2936
+ ge(a) {
2937
+ let b = this.dt;
2938
+ if (!this.bq) {
2939
+ this.dt = a;
2916
2940
  }
2917
2941
  if (this.activeRowChanged != null) {
2918
2942
  let c = new ListPanelActiveRowChangedEventArgs();
2919
- c.newActiveRow = this.dr;
2943
+ c.newActiveRow = this.dt;
2920
2944
  c.oldActiveRow = b;
2921
2945
  this.activeRowChanged(this, c);
2922
2946
  }
2923
- this.f9();
2947
+ this.gc();
2924
2948
  }
2925
- f9() {
2949
+ gc() {
2926
2950
  }
2927
- ci(a) {
2928
- let b = this.dt(a);
2951
+ ck(a) {
2952
+ let b = this.dv(a);
2929
2953
  if (b == -1) {
2930
2954
  return false;
2931
2955
  }
2932
- this.ha(b);
2956
+ this.hd(b);
2933
2957
  return true;
2934
2958
  }
2935
- gg(a, b, c, d) {
2936
- if (this.bw) {
2937
- let e = this.w(a);
2938
- this.v = e;
2959
+ gj(a, b, c, d) {
2960
+ if (this.by) {
2961
+ let e = this.y(a);
2962
+ this.x = e;
2939
2963
  }
2940
2964
  }
2941
- w(a) {
2942
- for (let b = 0; b < this.a0.o.count; b++) {
2943
- if (this.a0.p._inner[b]) {
2965
+ y(a) {
2966
+ for (let b = 0; b < this.a2.o.count; b++) {
2967
+ if (this.a2.p._inner[b]) {
2944
2968
  continue;
2945
2969
  }
2946
- let c = this.a0.o._inner[b];
2947
- let d = this.a0.q._inner[b];
2948
- if (this.cf(d, a)) {
2970
+ let c = this.a2.o._inner[b];
2971
+ let d = this.a2.q._inner[b];
2972
+ if (this.ch(d, a)) {
2949
2973
  return d;
2950
2974
  }
2951
2975
  }
2952
2976
  return null;
2953
2977
  }
2954
- cf(a, b) {
2955
- let c = b.y + this.aw.d.top;
2956
- let d = b.x + this.aw.d.left;
2957
- let e = this.cx;
2958
- let f = this.c2;
2978
+ ch(a, b) {
2979
+ let c = b.y + this.ay.d.top;
2980
+ let d = b.x + this.ay.d.left;
2981
+ let e = this.cz;
2982
+ let f = this.c4;
2959
2983
  let g = a.v;
2960
2984
  let h = -1;
2961
- if (this.ab == 2) {
2962
- g = this.d5(g);
2963
- h = this.d4(g);
2964
- e = this.cu._inner[h].a;
2985
+ if (this.ad == 2) {
2986
+ g = this.d7(g);
2987
+ h = this.d6(g);
2988
+ e = this.cw._inner[h].a;
2965
2989
  }
2966
- if (this.bx) {
2967
- f = this.co._inner[g];
2990
+ if (this.bz) {
2991
+ f = this.cq._inner[g];
2968
2992
  }
2969
- if (this.ab == 1) {
2970
- e = this.cs._inner[g];
2993
+ if (this.ad == 1) {
2994
+ e = this.cu._inner[g];
2971
2995
  }
2972
2996
  if (d >= a.s && d <= a.s + e && c >= a.u && c <= a.u + f) {
2973
2997
  return true;
2974
2998
  }
2975
2999
  return false;
2976
3000
  }
2977
- gh(a, b, c, d) {
2978
- if (this.bw) {
2979
- let e = this.w(a);
2980
- if (e != null && e == this.v) {
2981
- this.ga(e, b, c, d);
3001
+ gk(a, b, c, d) {
3002
+ if (this.by) {
3003
+ let e = this.y(a);
3004
+ if (e != null && e == this.x) {
3005
+ this.gd(e, b, c, d);
2982
3006
  }
2983
3007
  }
2984
3008
  }
2985
- ga(a, b, c, d) {
3009
+ gd(a, b, c, d) {
2986
3010
  if (b) {
2987
- this.dk = -1;
2988
- this.dj = -1;
2989
- this.cq.clear();
2990
- this.cr.clear();
2991
- this.bm = false;
2992
- this.ao.o(a, c, d, this.al == 0);
2993
- this.gr();
3011
+ this.dm = -1;
3012
+ this.dl = -1;
3013
+ this.cs.clear();
3014
+ this.ct.clear();
3015
+ this.bo = false;
3016
+ this.aq.o(a, c, d, this.an == 0);
3017
+ this.gu();
2994
3018
  if (this.r == 1) {
2995
3019
  this.p.n(a);
2996
3020
  }
@@ -3006,12 +3030,22 @@ export let ListPanel = /*@__PURE__*/ (() => {
3006
3030
  })()));
3007
3031
  }
3008
3032
  }
3033
+ fo(a) {
3034
+ for (let b = 0; b < this.a2.o.count; b++) {
3035
+ if (this.a2.p._inner[b]) {
3036
+ continue;
3037
+ }
3038
+ if (this.a2.q._inner[b].x == a) {
3039
+ this.a2.q._inner[b].m = true;
3040
+ }
3041
+ }
3042
+ }
3009
3043
  }
3010
3044
  ListPanel.$t = /*@__PURE__*/ markType(ListPanel, 'ListPanel', Base.$, [INotifyPropertyChanged_$type]);
3011
- ListPanel.hv = null;
3012
- ListPanel.aa = 0;
3013
- ListPanel.br = false;
3014
- ListPanel.hw = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
3045
+ ListPanel.hy = null;
3046
+ ListPanel.ac = 0;
3047
+ ListPanel.bt = false;
3048
+ ListPanel.hz = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
3015
3049
  return ListPanel;
3016
3050
  })();
3017
3051
  /**
@@ -3041,19 +3075,19 @@ export let ListPanelDataSourceNotificationBridge = /*@__PURE__*/ (() => {
3041
3075
  this.a = a;
3042
3076
  }
3043
3077
  rangeActualized(a, b) {
3044
- this.a.gd(a, b);
3078
+ this.a.gg(a, b);
3045
3079
  }
3046
3080
  notifySetItem(a, b, c) {
3047
- this.a.gs(a, b, c);
3081
+ this.a.gv(a, b, c);
3048
3082
  }
3049
3083
  notifyClearItems() {
3050
- this.a.gc();
3084
+ this.a.gf();
3051
3085
  }
3052
3086
  notifyInsertItem(a, b) {
3053
- this.a.gf(a, b);
3087
+ this.a.gi(a, b);
3054
3088
  }
3055
3089
  notifyRemoveItem(a, b) {
3056
- this.a.gj(a, b);
3090
+ this.a.gm(a, b);
3057
3091
  }
3058
3092
  }
3059
3093
  ListPanelDataSourceNotificationBridge.$t = /*@__PURE__*/ markType(ListPanelDataSourceNotificationBridge, 'ListPanelDataSourceNotificationBridge', Base.$, [IDataSourceUpdateNotifier_$type]);
@@ -3087,18 +3121,18 @@ export let ListPanelLayoutPanel = /*@__PURE__*/ (() => {
3087
3121
  b.l = true;
3088
3122
  this.a.bn(b.b.a);
3089
3123
  }
3090
- if (a.ab == 0) {
3124
+ if (a.ad == 0) {
3091
3125
  if (!isNaN_(a.absoluteWidth)) {
3092
3126
  b.b.a.ae = a.absoluteWidth;
3093
3127
  }
3094
- b.b.a.y = a.c3(b.v);
3128
+ b.b.a.y = a.c5(b.v);
3095
3129
  }
3096
- else if (a.ab == 2) {
3097
- b.b.a.ae = a.c4(b.v);
3098
- b.b.a.y = a.c3(b.v);
3130
+ else if (a.ad == 2) {
3131
+ b.b.a.ae = a.c6(b.v);
3132
+ b.b.a.y = a.c5(b.v);
3099
3133
  }
3100
3134
  else {
3101
- b.b.a.ae = a.c4(b.v);
3135
+ b.b.a.ae = a.c6(b.v);
3102
3136
  b.b.a.y = a.absoluteHeight;
3103
3137
  }
3104
3138
  if (b.o) {
@@ -3322,7 +3356,7 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3322
3356
  if (this.g(b)) {
3323
3357
  return false;
3324
3358
  }
3325
- let c = this.a.ad(this.a.e(), b);
3359
+ let c = this.a.af(this.a.e(), b);
3326
3360
  if (c == null) {
3327
3361
  return false;
3328
3362
  }
@@ -3335,11 +3369,11 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3335
3369
  else if (this.d.item(c) != b) {
3336
3370
  return false;
3337
3371
  }
3338
- let f = this.a.aj.al(c);
3372
+ let f = this.a.al.al(c);
3339
3373
  if (f >= 0) {
3340
- if (this.a.ag.ae._inner[f] == null) {
3341
- let g = this.a.eh(a);
3342
- this.a.gq(f, g, c);
3374
+ if (this.a.ai.ae._inner[f] == null) {
3375
+ let g = this.a.ej(a);
3376
+ this.a.gt(f, g, c);
3343
3377
  }
3344
3378
  }
3345
3379
  }
@@ -3352,7 +3386,7 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3352
3386
  return this.d.d(a);
3353
3387
  }
3354
3388
  i() {
3355
- return this.a.aq == 1 || this.a.aq == 2;
3389
+ return this.a.as == 1 || this.a.as == 2;
3356
3390
  }
3357
3391
  ac(a) {
3358
3392
  let b = this.n(a);
@@ -3362,13 +3396,13 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3362
3396
  if (this.g(b)) {
3363
3397
  return;
3364
3398
  }
3365
- let c = this.a.ad(this.a.e(), b);
3399
+ let c = this.a.af(this.a.e(), b);
3366
3400
  if (this.h(c)) {
3367
3401
  this.ad(c, b, false);
3368
3402
  }
3369
3403
  }
3370
3404
  w(a) {
3371
- if (this.a.aq == 0) {
3405
+ if (this.a.as == 0) {
3372
3406
  return;
3373
3407
  }
3374
3408
  let b = false;
@@ -3377,10 +3411,10 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3377
3411
  let e = this.n(a);
3378
3412
  if (e > -1) {
3379
3413
  if (!this.g(e)) {
3380
- c = this.a.ad(this.a.e(), e);
3414
+ c = this.a.af(this.a.e(), e);
3381
3415
  }
3382
3416
  }
3383
- if (this.a.aq == 1 || this.e) {
3417
+ if (this.a.as == 1 || this.e) {
3384
3418
  let f = this.d.o;
3385
3419
  let g = this.d.p;
3386
3420
  let h = new List$1(ListPanelPrimaryKeyValue.$, 0);
@@ -3400,13 +3434,13 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3400
3434
  h.add(f._inner[j]);
3401
3435
  i.add(this.d.q._inner[j]);
3402
3436
  }
3403
- this.a.fe();
3437
+ this.a.fg();
3404
3438
  this.d.g = true;
3405
3439
  for (let k = 0; k < h.count; k++) {
3406
3440
  this.ad(h._inner[k], i._inner[k], false);
3407
3441
  }
3408
3442
  this.d.g = false;
3409
- this.a.fn();
3443
+ this.a.fq();
3410
3444
  }
3411
3445
  if (c == null || b) {
3412
3446
  return;
@@ -3422,8 +3456,8 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3422
3456
  if (this.a.h(b) == 3) {
3423
3457
  let f = typeCast(DataSourceSpecialRow.$, a.value[0]);
3424
3458
  if (f.targetRow != null) {
3425
- let g = this.a.ac(this.a.e(), f.targetRow);
3426
- let h = this.a.d7(this.a.e(), g, this.a.dy(), this.a.d0());
3459
+ let g = this.a.ae(this.a.e(), f.targetRow);
3460
+ let h = this.a.d9(this.a.e(), g, this.a.d0(), this.a.d2());
3427
3461
  this.y(g, h, f.targetRow, true);
3428
3462
  }
3429
3463
  e = true;
@@ -3432,45 +3466,45 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3432
3466
  }
3433
3467
  let i = null;
3434
3468
  if (!e) {
3435
- i = this.a.eg(b);
3469
+ i = this.a.ei(b);
3436
3470
  }
3437
3471
  this.y(a, b, i, d);
3438
3472
  }
3439
3473
  y(a, b, c, d) {
3440
3474
  if (!this.d.d(a)) {
3441
3475
  this.d.s(a, b);
3442
- if (this.a.aw.c != null && this.a.aw.b != null) {
3443
- let e = (b >= this.a.aw.c && b <= this.a.aw.b);
3476
+ if (this.a.ay.c != null && this.a.ay.b != null) {
3477
+ let e = (b >= this.a.ay.c && b <= this.a.ay.b);
3444
3478
  if (c == null) {
3445
3479
  e = true;
3446
3480
  }
3447
3481
  if (e) {
3448
- this.a.hj(this.a, b);
3482
+ this.a.hm(this.a, b);
3449
3483
  }
3450
3484
  }
3451
3485
  }
3452
3486
  if (d) {
3453
- this.a.gk(c, a);
3487
+ this.a.gn(c, a);
3454
3488
  }
3455
3489
  }
3456
3490
  ae(a, b, c, d) {
3457
3491
  if (this.d.d(a)) {
3458
3492
  this.d.f(a);
3459
- if (this.a.aw.c != -1 && this.a.aw.b != -1) {
3460
- let e = (b >= this.a.aw.c && b <= this.a.aw.b);
3493
+ if (this.a.ay.c != -1 && this.a.ay.b != -1) {
3494
+ let e = (b >= this.a.ay.c && b <= this.a.ay.b);
3461
3495
  if (c == null) {
3462
3496
  e = true;
3463
3497
  }
3464
3498
  if (e) {
3465
- let f = this.a.ad(this.a.e(), b);
3499
+ let f = this.a.af(this.a.e(), b);
3466
3500
  if (f != null && f.equals(a) && b >= 0) {
3467
- this.a.hk(this.a, b);
3501
+ this.a.hn(this.a, b);
3468
3502
  }
3469
3503
  }
3470
3504
  }
3471
3505
  }
3472
3506
  if (d) {
3473
- this.a.gl(c, a);
3507
+ this.a.go(c, a);
3474
3508
  }
3475
3509
  }
3476
3510
  ad(a, b, c) {
@@ -3480,8 +3514,8 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3480
3514
  if (this.a.h(b) == 3) {
3481
3515
  let f = typeCast(DataSourceSpecialRow.$, a.value[0]);
3482
3516
  if (f.targetRow != null) {
3483
- let g = this.a.ac(this.a.e(), f.targetRow);
3484
- let h = this.a.d7(this.a.e(), g, this.a.dy(), this.a.d0());
3517
+ let g = this.a.ae(this.a.e(), f.targetRow);
3518
+ let h = this.a.d9(this.a.e(), g, this.a.d0(), this.a.d2());
3485
3519
  this.ae(g, h, f.targetRow, true);
3486
3520
  }
3487
3521
  e = true;
@@ -3490,7 +3524,7 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3490
3524
  }
3491
3525
  let i = null;
3492
3526
  if (!e) {
3493
- i = this.a.eg(b);
3527
+ i = this.a.ei(b);
3494
3528
  }
3495
3529
  this.ae(a, b, i, d);
3496
3530
  }
@@ -3504,7 +3538,7 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3504
3538
  e = this.d.item(d);
3505
3539
  }
3506
3540
  if (e == -1) {
3507
- e = this.a.d7(this.a.e(), d, this.a.dy(), this.a.d0());
3541
+ e = this.a.d9(this.a.e(), d, this.a.d0(), this.a.d2());
3508
3542
  }
3509
3543
  if (!b.containsKey(d)) {
3510
3544
  b.addItem(d, e);
@@ -3530,22 +3564,22 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3530
3564
  for (let l = 0; l < i.count; l++) {
3531
3565
  this.ad(h._inner[l], i._inner[l], false);
3532
3566
  }
3533
- for (let m = 0; m < this.a.ag.ae.count; m++) {
3534
- let n = this.a.ac(this.a.e(), this.a.ag.ae._inner[m]);
3567
+ for (let m = 0; m < this.a.ai.ae.count; m++) {
3568
+ let n = this.a.ae(this.a.e(), this.a.ai.ae._inner[m]);
3535
3569
  if (n != null && !b.containsKey(n)) {
3536
3570
  let o = -1;
3537
3571
  if (this.d.d(n)) {
3538
3572
  o = this.d.item(n);
3539
3573
  }
3540
3574
  if (o == -1) {
3541
- o = this.a.dv(this.a.e(), n, this.a.dy(), this.a.d0());
3575
+ o = this.a.dx(this.a.e(), n, this.a.d0(), this.a.d2());
3542
3576
  }
3543
3577
  this.ad(n, o, false);
3544
3578
  }
3545
3579
  }
3546
3580
  }
3547
3581
  l() {
3548
- return this.a.aj.ae;
3582
+ return this.a.al.ae;
3549
3583
  }
3550
3584
  q() {
3551
3585
  this.p();
@@ -3650,18 +3684,18 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3650
3684
  }
3651
3685
  let d = this.d.o._inner[c];
3652
3686
  a.add(this.d.item(d));
3653
- let e = this.a.d7(this.a.e(), d, this.a.dy(), this.a.d0());
3687
+ let e = this.a.d9(this.a.e(), d, this.a.d0(), this.a.d2());
3654
3688
  b.add_1(e);
3655
3689
  this.d.item(d, -1);
3656
3690
  }
3657
3691
  for (let f = 0; f < a.count; f++) {
3658
3692
  if (!b.contains(a._inner[f])) {
3659
- this.a.hk(this.a, a._inner[f]);
3693
+ this.a.hn(this.a, a._inner[f]);
3660
3694
  }
3661
3695
  }
3662
3696
  }
3663
3697
  k(a) {
3664
- return this.a.aq == 2;
3698
+ return this.a.as == 2;
3665
3699
  }
3666
3700
  z(a) {
3667
3701
  this.m = a;
@@ -3670,7 +3704,7 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3670
3704
  if (!this.f(a)) {
3671
3705
  return;
3672
3706
  }
3673
- b = this.k(this.a.aq) ? b : false;
3707
+ b = this.k(this.a.as) ? b : false;
3674
3708
  if (!b || this.m == -1) {
3675
3709
  if (c || d) {
3676
3710
  this.ab(a);
@@ -3693,11 +3727,11 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3693
3727
  $ret.d = Math.max(this.m, a.v);
3694
3728
  return $ret;
3695
3729
  })());
3696
- this.a.fe();
3730
+ this.a.fg();
3697
3731
  if (this.b != null) {
3698
3732
  for (let f = this.b.f; f <= this.b.d; f++) {
3699
3733
  if (!e.b(f)) {
3700
- let g = this.a.ad(this.a.e(), f);
3734
+ let g = this.a.af(this.a.e(), f);
3701
3735
  if (g != null && this.d.d(g)) {
3702
3736
  this.ad(g, f, false);
3703
3737
  }
@@ -3705,12 +3739,12 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3705
3739
  }
3706
3740
  }
3707
3741
  for (let h = e.f; h <= e.d; h++) {
3708
- let i = this.a.ad(this.a.e(), h);
3742
+ let i = this.a.af(this.a.e(), h);
3709
3743
  if (i != null && !this.d.d(i)) {
3710
3744
  this.x(i, h, false);
3711
3745
  }
3712
3746
  }
3713
- this.a.fn();
3747
+ this.a.fq();
3714
3748
  this.b = e;
3715
3749
  }
3716
3750
  }
@@ -3718,19 +3752,19 @@ export let ListPanelSelectionManager = /*@__PURE__*/ (() => {
3718
3752
  if (this.a.actualDataSource == null) {
3719
3753
  return;
3720
3754
  }
3721
- this.a.fe();
3722
- let a = this.a.d2();
3755
+ this.a.fg();
3756
+ let a = this.a.d4();
3723
3757
  for (let b = 0; b < a; b++) {
3724
3758
  let c = this.a.actualDataSource.getItemAtIndex(b);
3725
3759
  if (typeCast(DataSourceSpecialRow.$, c) !== null) {
3726
3760
  continue;
3727
3761
  }
3728
- let d = this.a.ad(this.a.e(), b);
3762
+ let d = this.a.af(this.a.e(), b);
3729
3763
  if (d != null && !this.d.d(d)) {
3730
3764
  this.x(d, b, false);
3731
3765
  }
3732
3766
  }
3733
- this.a.fn();
3767
+ this.a.fq();
3734
3768
  }
3735
3769
  }
3736
3770
  ListPanelSelectionManager.$t = /*@__PURE__*/ markType(ListPanelSelectionManager, 'ListPanelSelectionManager');
@@ -3845,12 +3879,12 @@ export let ListPanelActivationManager = /*@__PURE__*/ (() => {
3845
3879
  if (a != this.g) {
3846
3880
  this.g = a;
3847
3881
  if (a >= 0) {
3848
- if (a >= 0 && a < this.a.d2()) {
3882
+ if (a >= 0 && a < this.a.d4()) {
3849
3883
  }
3850
- this.a.hh(this.a, a);
3884
+ this.a.hk(this.a, a);
3851
3885
  }
3852
3886
  if (b) {
3853
- this.a.f8(a);
3887
+ this.a.gb(a);
3854
3888
  }
3855
3889
  }
3856
3890
  }
@@ -3860,14 +3894,14 @@ export let ListPanelActivationManager = /*@__PURE__*/ (() => {
3860
3894
  if (a >= 0) {
3861
3895
  {
3862
3896
  {
3863
- if (a >= 0 && a < this.a.d2()) {
3897
+ if (a >= 0 && a < this.a.d4()) {
3864
3898
  }
3865
- this.a.hi(this.a, a);
3899
+ this.a.hl(this.a, a);
3866
3900
  }
3867
3901
  }
3868
3902
  }
3869
3903
  if (b) {
3870
- this.a.gb(a);
3904
+ this.a.ge(a);
3871
3905
  }
3872
3906
  }
3873
3907
  }