igniteui-webcomponents-layouts 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +11266 -8364
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorBridge.js +8 -8
- package/esm2015/lib/ComboEditorView_combined.js +27 -26
- package/esm2015/lib/ListPanelScrollerKeyboardListener.js +1 -1
- package/esm2015/lib/ListPanelView_combined.js +595 -577
- package/esm2015/lib/NativeUILayoutFactory_combined.js +6734 -5325
- package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -1
- package/esm2015/lib/ToolActionFieldSelector.js +7 -0
- package/esm2015/lib/ToolActionFieldSelectorAggregation.js +40 -0
- package/esm2015/lib/ToolActionFieldSelectorAggregationsCollection.js +160 -0
- package/esm2015/lib/ToolActionFieldSelectorEventType.js +16 -0
- package/esm2015/lib/ToolActionFieldSelectorSelectedAggregation.js +40 -0
- package/esm2015/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +160 -0
- package/esm2015/lib/ToolActionFieldSelectorType.js +16 -0
- package/esm2015/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +26 -0
- package/esm2015/lib/ToolActionIconMenuVisualData.js +3 -3
- package/esm2015/lib/ToolActionVisualData.js +17 -13
- package/esm2015/lib/ToolPanelContext.js +4 -1
- package/esm2015/lib/igc-list-panel-component.js +64 -54
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +191 -180
- package/esm2015/lib/igc-tool-action-field-selector-aggregation-module.js +15 -0
- package/esm2015/lib/igc-tool-action-field-selector-aggregation.js +58 -0
- package/esm2015/lib/igc-tool-action-field-selector-aggregations-collection.js +53 -0
- package/esm2015/lib/igc-tool-action-field-selector-component.js +261 -0
- package/esm2015/lib/igc-tool-action-field-selector-module.js +16 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation-module.js +15 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation.js +58 -0
- package/esm2015/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +53 -0
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -34
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-sub-panel-component.js +10 -0
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +275 -250
- package/esm2015/lib/igc-tool-panel-module.js +2 -0
- package/esm2015/lib/igc-toolbar-component.js +171 -156
- package/esm2015/public_api.js +16 -0
- package/esm5/lib/ComboEditorBridge.js +8 -8
- package/esm5/lib/ComboEditorView_combined.js +27 -26
- package/esm5/lib/ListPanelScrollerKeyboardListener.js +1 -1
- package/esm5/lib/ListPanelView_combined.js +592 -570
- package/esm5/lib/NativeUILayoutFactory_combined.js +6684 -5125
- package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm5/lib/PropertyEditorTreeTransformer.js +1 -1
- package/esm5/lib/ToolActionFieldSelector.js +7 -0
- package/esm5/lib/ToolActionFieldSelectorAggregation.js +54 -0
- package/esm5/lib/ToolActionFieldSelectorAggregationsCollection.js +220 -0
- package/esm5/lib/ToolActionFieldSelectorEventType.js +16 -0
- package/esm5/lib/ToolActionFieldSelectorSelectedAggregation.js +54 -0
- package/esm5/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +220 -0
- package/esm5/lib/ToolActionFieldSelectorType.js +16 -0
- package/esm5/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +28 -0
- package/esm5/lib/ToolActionIconMenuVisualData.js +3 -3
- package/esm5/lib/ToolActionVisualData.js +17 -13
- package/esm5/lib/ToolPanelContext.js +4 -1
- package/esm5/lib/igc-list-panel-component.js +68 -54
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +195 -180
- package/esm5/lib/igc-tool-action-field-selector-aggregation-module.js +19 -0
- package/esm5/lib/igc-tool-action-field-selector-aggregation.js +76 -0
- package/esm5/lib/igc-tool-action-field-selector-aggregations-collection.js +58 -0
- package/esm5/lib/igc-tool-action-field-selector-component.js +331 -0
- package/esm5/lib/igc-tool-action-field-selector-module.js +20 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregation-module.js +19 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregation.js +76 -0
- package/esm5/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +58 -0
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +34 -34
- package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-sub-panel-component.js +14 -0
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +283 -250
- package/esm5/lib/igc-tool-panel-module.js +2 -0
- package/esm5/lib/igc-toolbar-component.js +175 -156
- package/esm5/public_api.js +16 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +10397 -7947
- package/fesm5/igniteui-webcomponents-layouts.js +11250 -8366
- package/lib/ListPanelView_combined.d.ts +147 -144
- package/lib/NativeUILayoutFactory_combined.d.ts +1393 -1262
- package/lib/ToolActionFieldSelector.d.ts +1 -0
- package/lib/ToolActionFieldSelectorAggregation.d.ts +17 -0
- package/lib/ToolActionFieldSelectorAggregationsCollection.d.ts +31 -0
- package/lib/ToolActionFieldSelectorEventType.d.ts +9 -0
- package/lib/ToolActionFieldSelectorSelectedAggregation.d.ts +17 -0
- package/lib/ToolActionFieldSelectorSelectedAggregationsCollection.d.ts +31 -0
- package/lib/ToolActionFieldSelectorType.d.ts +9 -0
- package/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.d.ts +16 -0
- package/lib/ToolActionIconMenuVisualData.d.ts +2 -2
- package/lib/ToolActionVisualData.d.ts +6 -5
- package/lib/igc-list-panel-component.d.ts +5 -0
- package/lib/igc-tool-action-component.d.ts +6 -0
- package/lib/igc-tool-action-field-selector-aggregation-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-aggregation.d.ts +20 -0
- package/lib/igc-tool-action-field-selector-aggregations-collection.d.ts +8 -0
- package/lib/igc-tool-action-field-selector-component.d.ts +73 -0
- package/lib/igc-tool-action-field-selector-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-selected-aggregation-module.d.ts +3 -0
- package/lib/igc-tool-action-field-selector-selected-aggregation.d.ts +20 -0
- package/lib/igc-tool-action-field-selector-selected-aggregations-collection.d.ts +8 -0
- package/lib/igc-tool-action-sub-panel-component.d.ts +5 -0
- package/lib/igc-tool-panel-component.d.ts +10 -0
- package/lib/igc-toolbar-component.d.ts +5 -0
- package/package.json +3 -3
- package/public_api.d.ts +16 -0
|
@@ -125,7 +125,7 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
125
125
|
this.ae();
|
|
126
126
|
NativeUIComponent.au(this.s(), 9, function (c) {
|
|
127
127
|
var d = c;
|
|
128
|
-
_this.a.
|
|
128
|
+
_this.a.f3(d);
|
|
129
129
|
_this.k = d.an;
|
|
130
130
|
});
|
|
131
131
|
var c = Math.round(a.rootWrapper.width());
|
|
@@ -136,11 +136,11 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
136
|
};
|
|
137
137
|
ListPanelView.prototype.t = function (a) {
|
|
138
138
|
var b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
|
|
139
|
-
this.a.
|
|
139
|
+
this.a.gm(b, a.button == 0, a.shiftKey, a.ctrlKey);
|
|
140
140
|
};
|
|
141
141
|
ListPanelView.prototype.u = function (a) {
|
|
142
142
|
var b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
|
|
143
|
-
this.a.
|
|
143
|
+
this.a.gn(b, a.button == 0, a.shiftKey, a.ctrlKey);
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperty(ListPanelView.prototype, "contentGrid", {
|
|
146
146
|
get: function () {
|
|
@@ -185,8 +185,8 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
185
185
|
}
|
|
186
186
|
var b = a.rootWrapper;
|
|
187
187
|
if (null != b) {
|
|
188
|
-
NativeUI.q(b, this.a.
|
|
189
|
-
NativeUI.m(b, this.a.
|
|
188
|
+
NativeUI.q(b, this.a.h6);
|
|
189
|
+
NativeUI.m(b, this.a.h0);
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
ListPanelView.prototype.d = function () {
|
|
@@ -234,21 +234,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
234
234
|
_this.a7 = null;
|
|
235
235
|
_this.aa = null;
|
|
236
236
|
_this.propertyChanged = null;
|
|
237
|
-
_this.
|
|
237
|
+
_this.ef = null;
|
|
238
238
|
_this.viewportChanged = null;
|
|
239
239
|
_this.ay = null;
|
|
240
|
-
_this.
|
|
241
|
-
_this.
|
|
240
|
+
_this.dj = -1;
|
|
241
|
+
_this.dk = -1;
|
|
242
242
|
_this.ar = 0;
|
|
243
243
|
_this.bh = true;
|
|
244
|
-
_this.
|
|
244
|
+
_this.hx = null;
|
|
245
245
|
_this.ba = true;
|
|
246
|
-
_this.
|
|
247
|
-
_this.
|
|
248
|
-
_this.da = truncate(DeviceUtils.g(1));
|
|
246
|
+
_this.hv = null;
|
|
247
|
+
_this.ht = null;
|
|
249
248
|
_this.dc = truncate(DeviceUtils.g(1));
|
|
249
|
+
_this.de = truncate(DeviceUtils.g(1));
|
|
250
|
+
_this.dd = truncate(DeviceUtils.g(1));
|
|
250
251
|
_this.db = truncate(DeviceUtils.g(1));
|
|
251
|
-
_this.c9 = truncate(DeviceUtils.g(1));
|
|
252
252
|
_this.q = 0;
|
|
253
253
|
_this.am = 1;
|
|
254
254
|
_this.b = null;
|
|
@@ -265,19 +265,20 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
265
265
|
_this.ak = new ListPanelSelectedKeysCollection();
|
|
266
266
|
_this.i = null;
|
|
267
267
|
_this.c = new Array(0);
|
|
268
|
+
_this.c2 = 10;
|
|
268
269
|
_this.bu = false;
|
|
269
|
-
_this.
|
|
270
|
+
_this.dm = -1;
|
|
270
271
|
_this.c0 = DeviceUtils.g(42);
|
|
271
272
|
_this.a3 = null;
|
|
272
273
|
_this.bd = true;
|
|
273
|
-
_this.
|
|
274
|
+
_this.eg = null;
|
|
274
275
|
_this.c1 = 0;
|
|
275
276
|
_this.cz = NaN;
|
|
276
277
|
_this.cy = 0;
|
|
277
278
|
_this.bn = false;
|
|
278
279
|
_this.bg = false;
|
|
279
280
|
_this.bm = false;
|
|
280
|
-
_this.
|
|
281
|
+
_this.dl = -1;
|
|
281
282
|
_this.contentRefreshed = null;
|
|
282
283
|
_this.rowUpdating = null;
|
|
283
284
|
_this.a2 = new FastIterationDictionary$2(Number_$type, ListPanelItemModel.$, 0);
|
|
@@ -289,25 +290,25 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
289
290
|
_this.cq = new List$1(Number_$type, 0);
|
|
290
291
|
_this.cv = new List$1(Number_$type, 0);
|
|
291
292
|
_this.cu = new List$1(Number_$type, 0);
|
|
292
|
-
_this.
|
|
293
|
+
_this.dq = -1;
|
|
293
294
|
_this.cw = null;
|
|
294
295
|
_this.az = 1;
|
|
295
|
-
_this.
|
|
296
|
+
_this.hw = null;
|
|
296
297
|
_this.br = true;
|
|
297
298
|
_this.bk = true;
|
|
298
|
-
_this.
|
|
299
|
-
_this.
|
|
299
|
+
_this.dg = -1;
|
|
300
|
+
_this.dh = -1;
|
|
300
301
|
_this.l = null;
|
|
301
302
|
_this.by = false;
|
|
302
303
|
_this.k = null;
|
|
303
|
-
_this.
|
|
304
|
+
_this.hu = ListPanel.h1;
|
|
304
305
|
_this.ab = ListPanel.ac;
|
|
305
306
|
_this.bi = ListPanel.bt;
|
|
306
|
-
_this.
|
|
307
|
-
_this.
|
|
308
|
-
_this.
|
|
307
|
+
_this.hy = ListPanel.h2;
|
|
308
|
+
_this.dn = -1;
|
|
309
|
+
_this.dp = -1;
|
|
309
310
|
_this.bj = true;
|
|
310
|
-
_this.
|
|
311
|
+
_this.df = 0;
|
|
311
312
|
_this._viewportManager = null;
|
|
312
313
|
_this.cs = new List$1(Number_$type, 0);
|
|
313
314
|
_this.ct = new List$1(Number_$type, 0);
|
|
@@ -322,7 +323,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
322
323
|
_this.bp = false;
|
|
323
324
|
_this.bo = false;
|
|
324
325
|
_this.cl = false;
|
|
325
|
-
_this.
|
|
326
|
+
_this.di = -1;
|
|
326
327
|
_this.bq = false;
|
|
327
328
|
_this.a9 = null;
|
|
328
329
|
_this.x = null;
|
|
@@ -335,8 +336,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
335
336
|
a.a = _this;
|
|
336
337
|
_this.view = a;
|
|
337
338
|
_this.view.ab();
|
|
338
|
-
_this.ah.ag(runOn(_this, _this.
|
|
339
|
-
_this.ak.an(runOn(_this, _this.
|
|
339
|
+
_this.ah.ag(runOn(_this, _this.hj));
|
|
340
|
+
_this.ak.an(runOn(_this, _this.hk));
|
|
340
341
|
return _this;
|
|
341
342
|
}
|
|
342
343
|
Object.defineProperty(ListPanel.prototype, "view", {
|
|
@@ -360,7 +361,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
360
361
|
enumerable: false,
|
|
361
362
|
configurable: true
|
|
362
363
|
});
|
|
363
|
-
ListPanel.prototype.
|
|
364
|
+
ListPanel.prototype.f3 = function (a) {
|
|
364
365
|
this.aa = new ListPanelLayoutPanel(a);
|
|
365
366
|
};
|
|
366
367
|
ListPanel.prototype.onSizeChanged = function (a, b) {
|
|
@@ -372,17 +373,17 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
372
373
|
this.view.x(this.cz, this.cy);
|
|
373
374
|
}
|
|
374
375
|
}
|
|
375
|
-
this.
|
|
376
|
+
this.g9();
|
|
376
377
|
};
|
|
377
378
|
ListPanel.prototype.setViewport = function (a, b, c, d) {
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
379
|
+
this.dj = -1;
|
|
380
|
+
this.dk = -1;
|
|
380
381
|
var e = c - a;
|
|
381
382
|
var f = new Rect(0, a, b, c - a, d - b);
|
|
382
383
|
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) {
|
|
383
384
|
var g_1 = this.ay.d;
|
|
384
385
|
this.ay.d = f;
|
|
385
|
-
this.
|
|
386
|
+
this.ha();
|
|
386
387
|
if (this.viewportChanged != null) {
|
|
387
388
|
this.viewportChanged(this, ((function () {
|
|
388
389
|
var $ret = new ListPanelViewportChangedEventArgs();
|
|
@@ -442,7 +443,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
442
443
|
}
|
|
443
444
|
return new ListPanelPrimaryKeyValue(a, g);
|
|
444
445
|
};
|
|
445
|
-
ListPanel.prototype.
|
|
446
|
+
ListPanel.prototype.ea = function (a) {
|
|
446
447
|
if (this.actualDataSource == null) {
|
|
447
448
|
return -1;
|
|
448
449
|
}
|
|
@@ -451,8 +452,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
451
452
|
}
|
|
452
453
|
return -1;
|
|
453
454
|
};
|
|
454
|
-
ListPanel.prototype.
|
|
455
|
-
var b = this.
|
|
455
|
+
ListPanel.prototype.ei = function (a) {
|
|
456
|
+
var b = this.ea(a);
|
|
456
457
|
if (b == -1) {
|
|
457
458
|
if (a.value != null && a.value.length == 1) {
|
|
458
459
|
return a.value[0];
|
|
@@ -475,7 +476,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
475
476
|
var b = this.ar;
|
|
476
477
|
this.ar = a;
|
|
477
478
|
if (b != this.ar) {
|
|
478
|
-
this.
|
|
479
|
+
this.go("SelectionMode", enumGetBox(ListPanelSelectionMode_$type, b), enumGetBox(ListPanelSelectionMode_$type, this.ar));
|
|
479
480
|
}
|
|
480
481
|
},
|
|
481
482
|
enumerable: false,
|
|
@@ -489,21 +490,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
489
490
|
var b = this.bh;
|
|
490
491
|
this.bh = a;
|
|
491
492
|
if (this.bh != b) {
|
|
492
|
-
this.
|
|
493
|
+
this.go("IsActiveRowStyleEnabled", b, this.bh);
|
|
493
494
|
}
|
|
494
495
|
},
|
|
495
496
|
enumerable: false,
|
|
496
497
|
configurable: true
|
|
497
498
|
});
|
|
498
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
499
|
+
Object.defineProperty(ListPanel.prototype, "h5", {
|
|
499
500
|
get: function () {
|
|
500
|
-
return this.
|
|
501
|
+
return this.hx;
|
|
501
502
|
},
|
|
502
503
|
set: function (a) {
|
|
503
|
-
var b = this.
|
|
504
|
-
this.
|
|
505
|
-
if (this.
|
|
506
|
-
this.
|
|
504
|
+
var b = this.hx;
|
|
505
|
+
this.hx = a;
|
|
506
|
+
if (this.hx != b) {
|
|
507
|
+
this.go("SelectedBackground", b, this.hx);
|
|
507
508
|
}
|
|
508
509
|
},
|
|
509
510
|
enumerable: false,
|
|
@@ -519,85 +520,85 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
519
520
|
enumerable: false,
|
|
520
521
|
configurable: true
|
|
521
522
|
});
|
|
522
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
523
|
+
Object.defineProperty(ListPanel.prototype, "h3", {
|
|
523
524
|
get: function () {
|
|
524
|
-
return this.
|
|
525
|
+
return this.hv;
|
|
525
526
|
},
|
|
526
527
|
set: function (a) {
|
|
527
|
-
var b = this.
|
|
528
|
-
this.
|
|
529
|
-
if (this.
|
|
530
|
-
this.
|
|
528
|
+
var b = this.hv;
|
|
529
|
+
this.hv = a;
|
|
530
|
+
if (this.hv != b) {
|
|
531
|
+
this.go("NormalBackground", b, this.hv);
|
|
531
532
|
}
|
|
532
533
|
},
|
|
533
534
|
enumerable: false,
|
|
534
535
|
configurable: true
|
|
535
536
|
});
|
|
536
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
537
|
+
Object.defineProperty(ListPanel.prototype, "hz", {
|
|
537
538
|
get: function () {
|
|
538
|
-
return this.
|
|
539
|
+
return this.ht;
|
|
539
540
|
},
|
|
540
541
|
set: function (a) {
|
|
541
|
-
var b = this.
|
|
542
|
-
this.
|
|
543
|
-
if (this.
|
|
544
|
-
this.
|
|
542
|
+
var b = this.ht;
|
|
543
|
+
this.ht = a;
|
|
544
|
+
if (this.ht != b) {
|
|
545
|
+
this.go("ActivationBorder", b, this.ht);
|
|
545
546
|
}
|
|
546
547
|
},
|
|
547
548
|
enumerable: false,
|
|
548
549
|
configurable: true
|
|
549
550
|
});
|
|
550
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
551
|
+
Object.defineProperty(ListPanel.prototype, "ds", {
|
|
551
552
|
get: function () {
|
|
552
|
-
return this.
|
|
553
|
+
return this.dc;
|
|
553
554
|
},
|
|
554
555
|
set: function (a) {
|
|
555
|
-
var b = this.
|
|
556
|
-
this.
|
|
557
|
-
if (this.
|
|
558
|
-
this.
|
|
556
|
+
var b = this.dc;
|
|
557
|
+
this.dc = a;
|
|
558
|
+
if (this.dc != b) {
|
|
559
|
+
this.go("ActivationBorderLeftWidth", b, this.dc);
|
|
559
560
|
}
|
|
560
561
|
},
|
|
561
562
|
enumerable: false,
|
|
562
563
|
configurable: true
|
|
563
564
|
});
|
|
564
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
565
|
+
Object.defineProperty(ListPanel.prototype, "du", {
|
|
565
566
|
get: function () {
|
|
566
|
-
return this.
|
|
567
|
+
return this.de;
|
|
567
568
|
},
|
|
568
569
|
set: function (a) {
|
|
569
|
-
var b = this.
|
|
570
|
-
this.
|
|
571
|
-
if (this.
|
|
572
|
-
this.
|
|
570
|
+
var b = this.de;
|
|
571
|
+
this.de = a;
|
|
572
|
+
if (this.de != b) {
|
|
573
|
+
this.go("ActivationBorderTopWidth", b, this.de);
|
|
573
574
|
}
|
|
574
575
|
},
|
|
575
576
|
enumerable: false,
|
|
576
577
|
configurable: true
|
|
577
578
|
});
|
|
578
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
579
|
+
Object.defineProperty(ListPanel.prototype, "dt", {
|
|
579
580
|
get: function () {
|
|
580
|
-
return this.
|
|
581
|
+
return this.dd;
|
|
581
582
|
},
|
|
582
583
|
set: function (a) {
|
|
583
|
-
var b = this.
|
|
584
|
-
this.
|
|
585
|
-
if (this.
|
|
586
|
-
this.
|
|
584
|
+
var b = this.dd;
|
|
585
|
+
this.dd = a;
|
|
586
|
+
if (this.dd != b) {
|
|
587
|
+
this.go("ActivationBorderRightWidth", b, this.dd);
|
|
587
588
|
}
|
|
588
589
|
},
|
|
589
590
|
enumerable: false,
|
|
590
591
|
configurable: true
|
|
591
592
|
});
|
|
592
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
593
|
+
Object.defineProperty(ListPanel.prototype, "dr", {
|
|
593
594
|
get: function () {
|
|
594
|
-
return this.
|
|
595
|
+
return this.db;
|
|
595
596
|
},
|
|
596
597
|
set: function (a) {
|
|
597
|
-
var b = this.
|
|
598
|
-
this.
|
|
599
|
-
if (this.
|
|
600
|
-
this.
|
|
598
|
+
var b = this.db;
|
|
599
|
+
this.db = a;
|
|
600
|
+
if (this.db != b) {
|
|
601
|
+
this.go("ActivationBorderBottomWidth", b, this.db);
|
|
601
602
|
}
|
|
602
603
|
},
|
|
603
604
|
enumerable: false,
|
|
@@ -611,7 +612,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
611
612
|
var b = this.q;
|
|
612
613
|
this.q = a;
|
|
613
614
|
if (b != this.q) {
|
|
614
|
-
this.
|
|
615
|
+
this.go("ActivationMode", enumGetBox(ListPanelActivationMode_$type, b), enumGetBox(ListPanelActivationMode_$type, this.q));
|
|
615
616
|
}
|
|
616
617
|
},
|
|
617
618
|
enumerable: false,
|
|
@@ -625,7 +626,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
625
626
|
var b = this.am;
|
|
626
627
|
this.am = a;
|
|
627
628
|
if (b != this.am) {
|
|
628
|
-
this.
|
|
629
|
+
this.go("SelectionBehavior", enumGetBox(ListPanelSelectionBehavior_$type, b), enumGetBox(ListPanelSelectionBehavior_$type, this.am));
|
|
629
630
|
}
|
|
630
631
|
},
|
|
631
632
|
enumerable: false,
|
|
@@ -639,7 +640,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
639
640
|
var b = this.b;
|
|
640
641
|
this.b = a;
|
|
641
642
|
if (this.b != b) {
|
|
642
|
-
this.
|
|
643
|
+
this.go("PrimaryKey", b, this.b);
|
|
643
644
|
}
|
|
644
645
|
},
|
|
645
646
|
enumerable: false,
|
|
@@ -653,7 +654,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
653
654
|
var b = this.a;
|
|
654
655
|
this.a = a;
|
|
655
656
|
if (this.a != b) {
|
|
656
|
-
this.
|
|
657
|
+
this.go("ActualPrimaryKey", b, this.a);
|
|
657
658
|
}
|
|
658
659
|
},
|
|
659
660
|
enumerable: false,
|
|
@@ -695,13 +696,13 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
695
696
|
});
|
|
696
697
|
Object.defineProperty(ListPanel.prototype, "itemsSource", {
|
|
697
698
|
get: function () {
|
|
698
|
-
return this.
|
|
699
|
+
return this.ef;
|
|
699
700
|
},
|
|
700
701
|
set: function (a) {
|
|
701
|
-
var b = this.
|
|
702
|
-
this.
|
|
703
|
-
if (b != this.
|
|
704
|
-
this.
|
|
702
|
+
var b = this.ef;
|
|
703
|
+
this.ef = a;
|
|
704
|
+
if (b != this.ef) {
|
|
705
|
+
this.go("ItemsSource", b, this.ef);
|
|
705
706
|
}
|
|
706
707
|
},
|
|
707
708
|
enumerable: false,
|
|
@@ -715,7 +716,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
715
716
|
var b = this.c;
|
|
716
717
|
this.c = a;
|
|
717
718
|
if (this.c != b) {
|
|
718
|
-
this.
|
|
719
|
+
this.go("SchemaIncludedProperties", b, this.c);
|
|
719
720
|
}
|
|
720
721
|
},
|
|
721
722
|
enumerable: false,
|
|
@@ -729,7 +730,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
729
730
|
var b = this.i;
|
|
730
731
|
this.i = a;
|
|
731
732
|
if (this.i != b) {
|
|
732
|
-
this.
|
|
733
|
+
this.go("ActualDataSource", b, this.i);
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
enumerable: false,
|
|
737
|
+
configurable: true
|
|
738
|
+
});
|
|
739
|
+
Object.defineProperty(ListPanel.prototype, "c8", {
|
|
740
|
+
get: function () {
|
|
741
|
+
return this.c2;
|
|
742
|
+
},
|
|
743
|
+
set: function (a) {
|
|
744
|
+
var b = this.c2;
|
|
745
|
+
this.c2 = a;
|
|
746
|
+
if (this.c2 != b) {
|
|
747
|
+
this.go("ItemSpacing", b, this.c2);
|
|
733
748
|
}
|
|
734
749
|
},
|
|
735
750
|
enumerable: false,
|
|
@@ -744,21 +759,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
744
759
|
ListPanel.prototype.provideContainer = function (a) {
|
|
745
760
|
this.view.z(a);
|
|
746
761
|
};
|
|
747
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
762
|
+
Object.defineProperty(ListPanel.prototype, "ee", {
|
|
748
763
|
get: function () {
|
|
749
|
-
return this.
|
|
764
|
+
return this.dm;
|
|
750
765
|
},
|
|
751
766
|
set: function (a) {
|
|
752
|
-
var b = this.
|
|
753
|
-
this.
|
|
754
|
-
if (b != this.
|
|
755
|
-
this.
|
|
767
|
+
var b = this.dm;
|
|
768
|
+
this.dm = a;
|
|
769
|
+
if (b != this.dm) {
|
|
770
|
+
this.go("RowHeight", b, this.dm);
|
|
756
771
|
}
|
|
757
772
|
},
|
|
758
773
|
enumerable: false,
|
|
759
774
|
configurable: true
|
|
760
775
|
});
|
|
761
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
776
|
+
Object.defineProperty(ListPanel.prototype, "c5", {
|
|
762
777
|
get: function () {
|
|
763
778
|
return this.c0;
|
|
764
779
|
},
|
|
@@ -766,7 +781,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
766
781
|
var b = this.c0;
|
|
767
782
|
this.c0 = a;
|
|
768
783
|
if (b != this.c0) {
|
|
769
|
-
this.
|
|
784
|
+
this.go("ActualRowHeight", b, this.c0);
|
|
770
785
|
}
|
|
771
786
|
},
|
|
772
787
|
enumerable: false,
|
|
@@ -780,7 +795,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
780
795
|
var b = this.a3;
|
|
781
796
|
this.a3 = a;
|
|
782
797
|
if (b != this.a3) {
|
|
783
|
-
this.
|
|
798
|
+
this.go("CellTextStyle", b, this.a3);
|
|
784
799
|
}
|
|
785
800
|
},
|
|
786
801
|
enumerable: false,
|
|
@@ -799,51 +814,51 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
799
814
|
enumerable: false,
|
|
800
815
|
configurable: true
|
|
801
816
|
});
|
|
802
|
-
ListPanel.prototype.
|
|
817
|
+
ListPanel.prototype.go = function (a, b, c) {
|
|
803
818
|
if (this.propertyChanged != null) {
|
|
804
819
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
805
820
|
}
|
|
806
|
-
this.
|
|
821
|
+
this.g1(a, b, c);
|
|
807
822
|
};
|
|
808
|
-
ListPanel.prototype.
|
|
809
|
-
this.
|
|
823
|
+
ListPanel.prototype.fo = function (a, b) {
|
|
824
|
+
this.gk();
|
|
810
825
|
};
|
|
811
|
-
ListPanel.prototype.
|
|
826
|
+
ListPanel.prototype.g4 = function () {
|
|
812
827
|
if (this.bm) {
|
|
813
828
|
return;
|
|
814
829
|
}
|
|
815
830
|
this.bm = true;
|
|
816
|
-
this.k.enqueueAction(runOn(this, this.
|
|
831
|
+
this.k.enqueueAction(runOn(this, this.fs));
|
|
817
832
|
};
|
|
818
|
-
ListPanel.prototype.
|
|
833
|
+
ListPanel.prototype.fs = function () {
|
|
819
834
|
if (!this.bm) {
|
|
820
835
|
return;
|
|
821
836
|
}
|
|
822
837
|
this.bm = false;
|
|
823
|
-
this.
|
|
838
|
+
this.f0();
|
|
824
839
|
if (this.br) {
|
|
825
|
-
this.
|
|
840
|
+
this.fm();
|
|
826
841
|
}
|
|
827
|
-
this.g2();
|
|
828
842
|
this.g5();
|
|
843
|
+
this.g8();
|
|
829
844
|
if (this.contentRefreshed != null) {
|
|
830
845
|
this.contentRefreshed(this, new ListPanelContentRefreshedEventArgs());
|
|
831
846
|
}
|
|
832
847
|
};
|
|
833
|
-
ListPanel.prototype.
|
|
848
|
+
ListPanel.prototype.f0 = function () {
|
|
834
849
|
if (this.bk) {
|
|
835
|
-
this.
|
|
850
|
+
this.fl();
|
|
836
851
|
this.bk = false;
|
|
837
852
|
if (this.ad == 1) {
|
|
838
853
|
this.aa.g(new Size(1, this.cz, this.cy));
|
|
839
854
|
}
|
|
840
855
|
}
|
|
841
856
|
};
|
|
842
|
-
ListPanel.prototype.
|
|
857
|
+
ListPanel.prototype.g8 = function () {
|
|
843
858
|
if (this.actualDataSource == null) {
|
|
844
859
|
return;
|
|
845
860
|
}
|
|
846
|
-
this.
|
|
861
|
+
this.dl = this.actualDataSource.actualCount;
|
|
847
862
|
for (var a = 0; a < this.a1.o.count; a++) {
|
|
848
863
|
if (this.a1.p._inner[a]) {
|
|
849
864
|
continue;
|
|
@@ -860,44 +875,44 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
860
875
|
}
|
|
861
876
|
var g = this.a2.o._inner[f];
|
|
862
877
|
var h = this.a2.q._inner[f];
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
865
|
-
this.
|
|
878
|
+
this.fw(h);
|
|
879
|
+
this.fy(h);
|
|
880
|
+
this.fu(h);
|
|
866
881
|
this.aa.d(this, h);
|
|
867
882
|
}
|
|
868
883
|
};
|
|
869
|
-
ListPanel.prototype.
|
|
884
|
+
ListPanel.prototype.fy = function (a) {
|
|
870
885
|
if (a.p) {
|
|
871
886
|
if (a.k) {
|
|
872
|
-
a.b.a.bg = new Thickness(1, this.
|
|
887
|
+
a.b.a.bg = new Thickness(1, this.ds, this.du, this.dt, this.dr);
|
|
873
888
|
}
|
|
874
889
|
else {
|
|
875
890
|
a.b.a.bg = new Thickness(0, 0);
|
|
876
891
|
}
|
|
877
892
|
a.p = false;
|
|
878
893
|
if (a.j) {
|
|
879
|
-
a.b.a.a9 = this.
|
|
894
|
+
a.b.a.a9 = this.hz;
|
|
880
895
|
}
|
|
881
896
|
else {
|
|
882
897
|
a.b.a.a9 = null;
|
|
883
898
|
}
|
|
884
899
|
if (a.n) {
|
|
885
|
-
a.b.a.a8 = this.
|
|
900
|
+
a.b.a.a8 = this.h5;
|
|
886
901
|
}
|
|
887
902
|
else {
|
|
888
|
-
a.b.a.a8 = this.
|
|
903
|
+
a.b.a.a8 = this.h3;
|
|
889
904
|
}
|
|
890
905
|
}
|
|
891
906
|
};
|
|
892
|
-
ListPanel.prototype.
|
|
907
|
+
ListPanel.prototype.fu = function (a) {
|
|
893
908
|
if (a.m) {
|
|
894
909
|
a.m = false;
|
|
895
|
-
this.
|
|
910
|
+
this.fz(a);
|
|
896
911
|
}
|
|
897
912
|
};
|
|
898
|
-
ListPanel.prototype.
|
|
913
|
+
ListPanel.prototype.fz = function (a) {
|
|
899
914
|
if (this.rowUpdating != null) {
|
|
900
|
-
var b_1 = this.
|
|
915
|
+
var b_1 = this.c7(a.v);
|
|
901
916
|
this.rowUpdating(this, ((function () {
|
|
902
917
|
var $ret = new ListPanelTemplateItemUpdatingEventArgs();
|
|
903
918
|
$ret.a = a;
|
|
@@ -908,7 +923,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
908
923
|
})()));
|
|
909
924
|
}
|
|
910
925
|
};
|
|
911
|
-
ListPanel.prototype.
|
|
926
|
+
ListPanel.prototype.fw = function (a) {
|
|
912
927
|
var _this = this;
|
|
913
928
|
if (a.b != null) {
|
|
914
929
|
return;
|
|
@@ -927,22 +942,22 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
927
942
|
c.f = 0;
|
|
928
943
|
}
|
|
929
944
|
a.b.a = c;
|
|
930
|
-
if (_this.
|
|
931
|
-
a.b.a.a8 = _this.
|
|
945
|
+
if (_this.h3 != null) {
|
|
946
|
+
a.b.a.a8 = _this.h3;
|
|
932
947
|
}
|
|
933
948
|
});
|
|
934
949
|
};
|
|
935
|
-
ListPanel.prototype.
|
|
950
|
+
ListPanel.prototype.fm = function () {
|
|
936
951
|
if (!this.br) {
|
|
937
952
|
return;
|
|
938
953
|
}
|
|
939
954
|
this.br = false;
|
|
940
|
-
this.
|
|
941
|
-
this.
|
|
942
|
-
this.
|
|
943
|
-
this.ay.c = this.
|
|
944
|
-
this.ay.b = this.
|
|
945
|
-
if (this.
|
|
955
|
+
this.f2();
|
|
956
|
+
this.dg = this.ec();
|
|
957
|
+
this.dh = this.ed();
|
|
958
|
+
this.ay.c = this.dg;
|
|
959
|
+
this.ay.b = this.dh;
|
|
960
|
+
if (this.dg == -1 || this.dh == -1) {
|
|
946
961
|
return;
|
|
947
962
|
}
|
|
948
963
|
var a = new List$1(Number_$type, 0);
|
|
@@ -952,51 +967,51 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
952
967
|
}
|
|
953
968
|
var c = this.a2.o._inner[b];
|
|
954
969
|
var d = this.a2.q._inner[b];
|
|
955
|
-
if (c < this.
|
|
970
|
+
if (c < this.dg || c > this.dh) {
|
|
956
971
|
a.add(c);
|
|
957
972
|
}
|
|
958
973
|
}
|
|
959
974
|
for (var e = 0; e < a.count; e++) {
|
|
960
|
-
this.
|
|
975
|
+
this.hb(a._inner[e]);
|
|
961
976
|
}
|
|
962
|
-
for (var f = this.
|
|
963
|
-
this.
|
|
977
|
+
for (var f = this.dg; f <= this.dh; f++) {
|
|
978
|
+
this.fv(f);
|
|
964
979
|
var g = this.a2.item(f);
|
|
965
|
-
g.u = this.
|
|
966
|
-
g.s = this.
|
|
980
|
+
g.u = this.da(f);
|
|
981
|
+
g.s = this.c9(f);
|
|
967
982
|
}
|
|
968
983
|
};
|
|
969
|
-
ListPanel.prototype.
|
|
984
|
+
ListPanel.prototype.c9 = function (a) {
|
|
970
985
|
if (this.ad == 0) {
|
|
971
986
|
return 0;
|
|
972
987
|
}
|
|
973
988
|
else if (this.ad == 2) {
|
|
974
|
-
var b = this.
|
|
989
|
+
var b = this.d8(a);
|
|
975
990
|
return this.cv._inner[b];
|
|
976
991
|
}
|
|
977
992
|
else {
|
|
978
993
|
return this.cv._inner[a];
|
|
979
994
|
}
|
|
980
995
|
};
|
|
981
|
-
ListPanel.prototype.
|
|
996
|
+
ListPanel.prototype.d8 = function (a) {
|
|
982
997
|
var b = a % this.cw.count;
|
|
983
998
|
return b;
|
|
984
999
|
};
|
|
985
|
-
ListPanel.prototype.
|
|
1000
|
+
ListPanel.prototype.d9 = function (a) {
|
|
986
1001
|
var b = Math.floor(a / this.cw.count);
|
|
987
1002
|
return truncate(b);
|
|
988
1003
|
};
|
|
989
|
-
ListPanel.prototype.
|
|
1004
|
+
ListPanel.prototype.da = function (a) {
|
|
990
1005
|
if (this.ad == 1) {
|
|
991
1006
|
return 0;
|
|
992
1007
|
}
|
|
993
1008
|
else if (this.ad == 2) {
|
|
994
|
-
var b = this.
|
|
1009
|
+
var b = this.d9(a);
|
|
995
1010
|
if (this.bz) {
|
|
996
1011
|
return this.cr._inner[b];
|
|
997
1012
|
}
|
|
998
1013
|
else {
|
|
999
|
-
return b * this.
|
|
1014
|
+
return b * this.c5;
|
|
1000
1015
|
}
|
|
1001
1016
|
}
|
|
1002
1017
|
else {
|
|
@@ -1004,11 +1019,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1004
1019
|
return this.cr._inner[a];
|
|
1005
1020
|
}
|
|
1006
1021
|
else {
|
|
1007
|
-
return a * this.
|
|
1022
|
+
return a * this.c5;
|
|
1008
1023
|
}
|
|
1009
1024
|
}
|
|
1010
1025
|
};
|
|
1011
|
-
ListPanel.prototype.
|
|
1026
|
+
ListPanel.prototype.fv = function (a) {
|
|
1012
1027
|
if (this.a2.d(a)) {
|
|
1013
1028
|
return;
|
|
1014
1029
|
}
|
|
@@ -1023,18 +1038,18 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1023
1038
|
ListPanel.prototype.z = function (a) {
|
|
1024
1039
|
var b = this.cx.count > 0 ? this.cx.b() : new ListPanelItemModel();
|
|
1025
1040
|
b.v = a;
|
|
1026
|
-
b.t = this.
|
|
1041
|
+
b.t = this.c5;
|
|
1027
1042
|
return b;
|
|
1028
1043
|
};
|
|
1029
|
-
ListPanel.prototype.
|
|
1044
|
+
ListPanel.prototype.hb = function (a) {
|
|
1030
1045
|
var b = this.a2.item(a);
|
|
1031
|
-
this.
|
|
1046
|
+
this.g7(b);
|
|
1032
1047
|
this.a2.f(a);
|
|
1033
1048
|
b.i = true;
|
|
1034
1049
|
b.x = null;
|
|
1035
1050
|
this.a1.s(b, b);
|
|
1036
1051
|
};
|
|
1037
|
-
ListPanel.prototype.
|
|
1052
|
+
ListPanel.prototype.g7 = function (a) {
|
|
1038
1053
|
this.cx.g(a);
|
|
1039
1054
|
if (this.itemRecycled != null) {
|
|
1040
1055
|
this.itemRecycled(this, ((function () {
|
|
@@ -1044,16 +1059,16 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1044
1059
|
})()));
|
|
1045
1060
|
}
|
|
1046
1061
|
};
|
|
1047
|
-
ListPanel.prototype.
|
|
1062
|
+
ListPanel.prototype.ed = function () {
|
|
1048
1063
|
if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
|
|
1049
1064
|
return -1;
|
|
1050
1065
|
}
|
|
1051
1066
|
if (!this.ay.d.isEmpty) {
|
|
1052
1067
|
if (this.ad == 0) {
|
|
1053
1068
|
if (this.bz) {
|
|
1054
|
-
this.
|
|
1069
|
+
this.f0();
|
|
1055
1070
|
var a = this.ay.d.bottom;
|
|
1056
|
-
var b = this.
|
|
1071
|
+
var b = this.d0(a);
|
|
1057
1072
|
if (this.cr._inner[b] + this.cq._inner[b] < a) {
|
|
1058
1073
|
b += 1;
|
|
1059
1074
|
}
|
|
@@ -1061,15 +1076,15 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1061
1076
|
}
|
|
1062
1077
|
else {
|
|
1063
1078
|
var c = this.ay.d.bottom;
|
|
1064
|
-
var d = truncate(Math.ceil(c / this.
|
|
1079
|
+
var d = truncate(Math.ceil(c / this.c5));
|
|
1065
1080
|
return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
|
|
1066
1081
|
}
|
|
1067
1082
|
}
|
|
1068
1083
|
else if (this.ad == 2) {
|
|
1069
1084
|
if (this.bz) {
|
|
1070
|
-
this.
|
|
1085
|
+
this.f0();
|
|
1071
1086
|
var e = this.ay.d.bottom;
|
|
1072
|
-
var f = this.
|
|
1087
|
+
var f = this.d0(e);
|
|
1073
1088
|
if (this.cr._inner[f] + this.cq._inner[f] < e) {
|
|
1074
1089
|
f += 1;
|
|
1075
1090
|
}
|
|
@@ -1079,16 +1094,16 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1079
1094
|
}
|
|
1080
1095
|
else {
|
|
1081
1096
|
var g = this.ay.d.bottom;
|
|
1082
|
-
var h = truncate(Math.floor(g / this.
|
|
1097
|
+
var h = truncate(Math.floor(g / this.c5));
|
|
1083
1098
|
h = h * this.cw.count;
|
|
1084
1099
|
return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
|
|
1085
1100
|
}
|
|
1086
1101
|
}
|
|
1087
1102
|
else {
|
|
1088
1103
|
{
|
|
1089
|
-
this.
|
|
1104
|
+
this.f0();
|
|
1090
1105
|
var i = this.ay.d.right;
|
|
1091
|
-
var j = this.
|
|
1106
|
+
var j = this.d1(i);
|
|
1092
1107
|
if (this.cv._inner[j] + this.cu._inner[j] < i) {
|
|
1093
1108
|
j += 1;
|
|
1094
1109
|
}
|
|
@@ -1098,7 +1113,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1098
1113
|
}
|
|
1099
1114
|
return this.actualDataSource.actualCount - 1;
|
|
1100
1115
|
};
|
|
1101
|
-
ListPanel.prototype.
|
|
1116
|
+
ListPanel.prototype.d0 = function (a) {
|
|
1102
1117
|
var b = -1;
|
|
1103
1118
|
b = ArrayExtension.binarySearch$11(Number_$type, this.cr, function (c) { return a < c ? -1 : (a > c ? 1 : 0); });
|
|
1104
1119
|
if (b < 0) {
|
|
@@ -1113,7 +1128,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1113
1128
|
}
|
|
1114
1129
|
return b;
|
|
1115
1130
|
};
|
|
1116
|
-
ListPanel.prototype.
|
|
1131
|
+
ListPanel.prototype.d1 = function (a) {
|
|
1117
1132
|
var b = -1;
|
|
1118
1133
|
b = ArrayExtension.binarySearch$11(Number_$type, this.cv, function (c) { return a < c ? -1 : (a > c ? 1 : 0); });
|
|
1119
1134
|
if (b < 0) {
|
|
@@ -1128,16 +1143,16 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1128
1143
|
}
|
|
1129
1144
|
return b;
|
|
1130
1145
|
};
|
|
1131
|
-
ListPanel.prototype.
|
|
1146
|
+
ListPanel.prototype.ec = function () {
|
|
1132
1147
|
if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
|
|
1133
1148
|
return -1;
|
|
1134
1149
|
}
|
|
1135
1150
|
if (!this.ay.d.isEmpty) {
|
|
1136
1151
|
if (this.ad == 0) {
|
|
1137
1152
|
if (this.bz) {
|
|
1138
|
-
this.
|
|
1153
|
+
this.f0();
|
|
1139
1154
|
var a = this.ay.d.top;
|
|
1140
|
-
var b = this.
|
|
1155
|
+
var b = this.d0(a);
|
|
1141
1156
|
if (this.cr._inner[b] > a) {
|
|
1142
1157
|
b -= 1;
|
|
1143
1158
|
}
|
|
@@ -1145,15 +1160,15 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1145
1160
|
}
|
|
1146
1161
|
else {
|
|
1147
1162
|
var c = this.ay.d.top;
|
|
1148
|
-
var d = truncate(Math.floor(c / this.
|
|
1163
|
+
var d = truncate(Math.floor(c / this.c5));
|
|
1149
1164
|
return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
|
|
1150
1165
|
}
|
|
1151
1166
|
}
|
|
1152
1167
|
else if (this.ad == 2) {
|
|
1153
1168
|
if (this.bz) {
|
|
1154
|
-
this.
|
|
1169
|
+
this.f0();
|
|
1155
1170
|
var e = this.ay.d.top;
|
|
1156
|
-
var f = this.
|
|
1171
|
+
var f = this.d0(e);
|
|
1157
1172
|
if (this.cr._inner[f] > e) {
|
|
1158
1173
|
f -= 1;
|
|
1159
1174
|
}
|
|
@@ -1162,16 +1177,16 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1162
1177
|
}
|
|
1163
1178
|
else {
|
|
1164
1179
|
var g = this.ay.d.top;
|
|
1165
|
-
var h = truncate(Math.floor(g / this.
|
|
1180
|
+
var h = truncate(Math.floor(g / this.c5));
|
|
1166
1181
|
h = h * this.cw.count;
|
|
1167
1182
|
return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
|
|
1168
1183
|
}
|
|
1169
1184
|
}
|
|
1170
1185
|
else {
|
|
1171
1186
|
{
|
|
1172
|
-
this.
|
|
1187
|
+
this.f0();
|
|
1173
1188
|
var i = this.ay.d.left;
|
|
1174
|
-
var j = this.
|
|
1189
|
+
var j = this.d1(i);
|
|
1175
1190
|
if (this.cv._inner[j] > i) {
|
|
1176
1191
|
j -= 1;
|
|
1177
1192
|
}
|
|
@@ -1181,33 +1196,33 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1181
1196
|
}
|
|
1182
1197
|
return 0;
|
|
1183
1198
|
};
|
|
1184
|
-
ListPanel.prototype.
|
|
1199
|
+
ListPanel.prototype.c7 = function (a) {
|
|
1185
1200
|
if (this.ad == 2) {
|
|
1186
|
-
a = this.
|
|
1201
|
+
a = this.d8(a);
|
|
1187
1202
|
}
|
|
1188
1203
|
if (this.cu.count > 0 && a < this.cu.count) {
|
|
1189
1204
|
return this.cu._inner[a];
|
|
1190
1205
|
}
|
|
1191
1206
|
return 0;
|
|
1192
1207
|
};
|
|
1193
|
-
ListPanel.prototype.
|
|
1208
|
+
ListPanel.prototype.c6 = function (a) {
|
|
1194
1209
|
if (this.ad == 2) {
|
|
1195
|
-
a = this.
|
|
1210
|
+
a = this.d9(a);
|
|
1196
1211
|
}
|
|
1197
1212
|
if (this.cq.count > 0 && a < this.cq.count) {
|
|
1198
1213
|
return this.cq._inner[a];
|
|
1199
1214
|
}
|
|
1200
|
-
return this.
|
|
1215
|
+
return this.c5;
|
|
1201
1216
|
};
|
|
1202
|
-
ListPanel.prototype.
|
|
1217
|
+
ListPanel.prototype.fl = function () {
|
|
1203
1218
|
var _this = this;
|
|
1204
1219
|
this.cq.clear();
|
|
1205
1220
|
this.cr.clear();
|
|
1206
1221
|
this.cu.clear();
|
|
1207
1222
|
this.cv.clear();
|
|
1208
1223
|
var a = this.r != 0;
|
|
1209
|
-
var b = this.
|
|
1210
|
-
var c = this.
|
|
1224
|
+
var b = this.du + this.dr;
|
|
1225
|
+
var c = this.ds + this.dt;
|
|
1211
1226
|
if (this.actualDataSource != null && this.actualDataSource.actualSchema != null) {
|
|
1212
1227
|
var d = this.cy;
|
|
1213
1228
|
var e = isNaN_(this.cz) ? 0 : this.cz;
|
|
@@ -1215,8 +1230,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1215
1230
|
if (this.bz) {
|
|
1216
1231
|
var f = 0;
|
|
1217
1232
|
var _loop_1 = function (g) {
|
|
1218
|
-
this_1.
|
|
1219
|
-
var h = this_1.c4;
|
|
1233
|
+
var h = this_1.c5;
|
|
1220
1234
|
if (this_1.itemHeightRequested != null) {
|
|
1221
1235
|
var i = ((function () {
|
|
1222
1236
|
var $ret = new ListPanelTemplateHeightRequestedEventArgs();
|
|
@@ -1230,9 +1244,13 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1230
1244
|
if (a) {
|
|
1231
1245
|
h += b;
|
|
1232
1246
|
}
|
|
1233
|
-
f += h;
|
|
1234
1247
|
}
|
|
1248
|
+
if (h > 0 && g > 0) {
|
|
1249
|
+
f += this_1.c8;
|
|
1250
|
+
}
|
|
1251
|
+
this_1.cr.add(f);
|
|
1235
1252
|
this_1.cq.add(h);
|
|
1253
|
+
f += h;
|
|
1236
1254
|
};
|
|
1237
1255
|
var this_1 = this;
|
|
1238
1256
|
for (var g = 0; g < this.actualDataSource.actualCount; g++) {
|
|
@@ -1241,17 +1259,17 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1241
1259
|
this.cy = f;
|
|
1242
1260
|
}
|
|
1243
1261
|
else {
|
|
1244
|
-
this.cy = this.
|
|
1262
|
+
this.cy = this.c5 * this.actualDataSource.actualCount;
|
|
1245
1263
|
}
|
|
1246
1264
|
}
|
|
1247
1265
|
else if (this.ad == 2) {
|
|
1248
1266
|
var j = new List$1(ListPanelColumnDefinition.$, 0);
|
|
1249
|
-
var k = this.
|
|
1267
|
+
var k = this.dw(j, 0x7FFFFFFF);
|
|
1250
1268
|
if (this.bz) {
|
|
1251
1269
|
var l = 0;
|
|
1252
1270
|
var _loop_2 = function (m) {
|
|
1253
1271
|
this_2.cr.add(l);
|
|
1254
|
-
var n = this_2.
|
|
1272
|
+
var n = this_2.c5;
|
|
1255
1273
|
var o = 0;
|
|
1256
1274
|
var p = m * j.count;
|
|
1257
1275
|
var _loop_4 = function (q) {
|
|
@@ -1289,10 +1307,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1289
1307
|
this.cy = l;
|
|
1290
1308
|
}
|
|
1291
1309
|
else {
|
|
1292
|
-
this.cy = this.
|
|
1310
|
+
this.cy = this.c5 * k;
|
|
1293
1311
|
}
|
|
1294
1312
|
this.cw = j;
|
|
1295
|
-
this.
|
|
1313
|
+
this.dq = k;
|
|
1296
1314
|
var u = 0;
|
|
1297
1315
|
for (var v = 0; v < this.cw.count; v++) {
|
|
1298
1316
|
this.cv.add(u);
|
|
@@ -1301,11 +1319,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1301
1319
|
}
|
|
1302
1320
|
}
|
|
1303
1321
|
else {
|
|
1304
|
-
this.cy = this.
|
|
1322
|
+
this.cy = this.c5;
|
|
1305
1323
|
{
|
|
1306
1324
|
var w = 0;
|
|
1307
1325
|
var _loop_3 = function (x) {
|
|
1308
|
-
this_3.cv.add(w);
|
|
1309
1326
|
var y = 0;
|
|
1310
1327
|
if (this_3.itemWidthRequested != null) {
|
|
1311
1328
|
var z = ((function () {
|
|
@@ -1320,9 +1337,13 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1320
1337
|
if (a) {
|
|
1321
1338
|
y += c;
|
|
1322
1339
|
}
|
|
1323
|
-
w += y;
|
|
1324
1340
|
}
|
|
1341
|
+
if (y > 0 && x > 0) {
|
|
1342
|
+
w += this_3.c8;
|
|
1343
|
+
}
|
|
1344
|
+
this_3.cv.add(w);
|
|
1325
1345
|
this_3.cu.add(y);
|
|
1346
|
+
w += y;
|
|
1326
1347
|
};
|
|
1327
1348
|
var this_3 = this;
|
|
1328
1349
|
for (var x = 0; x < this.actualDataSource.actualCount; x++) {
|
|
@@ -1336,7 +1357,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1336
1357
|
}
|
|
1337
1358
|
}
|
|
1338
1359
|
};
|
|
1339
|
-
ListPanel.prototype.
|
|
1360
|
+
ListPanel.prototype.dw = function (a, b) {
|
|
1340
1361
|
var _this = this;
|
|
1341
1362
|
var c = 0;
|
|
1342
1363
|
var d = 0;
|
|
@@ -1363,11 +1384,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1363
1384
|
if (d != 0 && e < b && b > 1) {
|
|
1364
1385
|
var m = a._inner[e];
|
|
1365
1386
|
m.a = k;
|
|
1366
|
-
this_4.
|
|
1387
|
+
this_4.hd(f, a);
|
|
1367
1388
|
if (a.count == 0) {
|
|
1368
1389
|
return { value: 0 };
|
|
1369
1390
|
}
|
|
1370
|
-
return { value: this_4.
|
|
1391
|
+
return { value: this_4.dw(a, a.count) };
|
|
1371
1392
|
}
|
|
1372
1393
|
b = Math.max(Math.min(b, e), 1);
|
|
1373
1394
|
d++;
|
|
@@ -1390,11 +1411,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1390
1411
|
var q = k - p.a;
|
|
1391
1412
|
p.a = k;
|
|
1392
1413
|
if (q > h && b > 1) {
|
|
1393
|
-
this_4.
|
|
1414
|
+
this_4.hd(f, a);
|
|
1394
1415
|
if (a.count == 0) {
|
|
1395
1416
|
return { value: 0 };
|
|
1396
1417
|
}
|
|
1397
|
-
return { value: this_4.
|
|
1418
|
+
return { value: this_4.dw(a, a.count) };
|
|
1398
1419
|
}
|
|
1399
1420
|
else {
|
|
1400
1421
|
h -= q;
|
|
@@ -1419,7 +1440,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1419
1440
|
}
|
|
1420
1441
|
return d + 1;
|
|
1421
1442
|
};
|
|
1422
|
-
ListPanel.prototype.
|
|
1443
|
+
ListPanel.prototype.hd = function (a, b) {
|
|
1423
1444
|
var e_2, _a;
|
|
1424
1445
|
var c = 0;
|
|
1425
1446
|
try {
|
|
@@ -1449,9 +1470,9 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1449
1470
|
b.removeAt(b.count - 1);
|
|
1450
1471
|
}
|
|
1451
1472
|
};
|
|
1452
|
-
ListPanel.prototype.
|
|
1473
|
+
ListPanel.prototype.f1 = function () {
|
|
1453
1474
|
if (this.bm) {
|
|
1454
|
-
this.
|
|
1475
|
+
this.fs();
|
|
1455
1476
|
}
|
|
1456
1477
|
};
|
|
1457
1478
|
Object.defineProperty(ListPanel.prototype, "a0", {
|
|
@@ -1462,90 +1483,90 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1462
1483
|
var b = this.az;
|
|
1463
1484
|
this.az = a;
|
|
1464
1485
|
if (b != this.az) {
|
|
1465
|
-
this.
|
|
1486
|
+
this.go("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.az));
|
|
1466
1487
|
}
|
|
1467
1488
|
},
|
|
1468
1489
|
enumerable: false,
|
|
1469
1490
|
configurable: true
|
|
1470
1491
|
});
|
|
1471
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
1492
|
+
Object.defineProperty(ListPanel.prototype, "h4", {
|
|
1472
1493
|
get: function () {
|
|
1473
|
-
return this.
|
|
1494
|
+
return this.hw;
|
|
1474
1495
|
},
|
|
1475
1496
|
set: function (a) {
|
|
1476
|
-
var b = this.
|
|
1477
|
-
this.
|
|
1478
|
-
if (b != this.
|
|
1479
|
-
this.
|
|
1497
|
+
var b = this.hw;
|
|
1498
|
+
this.hw = a;
|
|
1499
|
+
if (b != this.hw) {
|
|
1500
|
+
this.go("ScrollbarBackground", b, this.hw);
|
|
1480
1501
|
}
|
|
1481
1502
|
},
|
|
1482
1503
|
enumerable: false,
|
|
1483
1504
|
configurable: true
|
|
1484
1505
|
});
|
|
1485
|
-
ListPanel.prototype.
|
|
1506
|
+
ListPanel.prototype.g9 = function () {
|
|
1486
1507
|
var a = isNaN_(this.cz) ? 0 : this.cz;
|
|
1487
1508
|
var b = this.cy;
|
|
1488
1509
|
this.bn = true;
|
|
1489
|
-
this.
|
|
1510
|
+
this.f7(this.c1);
|
|
1490
1511
|
if (a != (isNaN_(this.cz) ? 0 : this.cz) || b != this.cy) {
|
|
1491
1512
|
this.externalListPanel.onContentSizeChanged();
|
|
1492
1513
|
}
|
|
1493
1514
|
this.bn = false;
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1515
|
+
this.f8();
|
|
1516
|
+
this.g4();
|
|
1496
1517
|
};
|
|
1497
|
-
ListPanel.prototype.
|
|
1518
|
+
ListPanel.prototype.f8 = function () {
|
|
1498
1519
|
this.br = true;
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1520
|
+
this.dg = -1;
|
|
1521
|
+
this.dh = -1;
|
|
1501
1522
|
};
|
|
1502
|
-
ListPanel.prototype.
|
|
1523
|
+
ListPanel.prototype.f7 = function (a) {
|
|
1503
1524
|
this.bk = true;
|
|
1504
1525
|
this.c1 = a;
|
|
1505
1526
|
};
|
|
1506
|
-
ListPanel.prototype.
|
|
1527
|
+
ListPanel.prototype.f2 = function () {
|
|
1507
1528
|
if (this.bg) {
|
|
1508
1529
|
this.bg = false;
|
|
1509
|
-
this.
|
|
1510
|
-
this.
|
|
1530
|
+
this.g9();
|
|
1531
|
+
this.f6();
|
|
1511
1532
|
}
|
|
1512
1533
|
};
|
|
1513
|
-
ListPanel.prototype.
|
|
1534
|
+
ListPanel.prototype.ha = function () {
|
|
1514
1535
|
if (this.bg) {
|
|
1515
|
-
this.
|
|
1536
|
+
this.f2();
|
|
1516
1537
|
}
|
|
1517
1538
|
else {
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1539
|
+
this.f8();
|
|
1540
|
+
this.g4();
|
|
1541
|
+
this.f1();
|
|
1521
1542
|
}
|
|
1522
1543
|
};
|
|
1523
|
-
ListPanel.prototype.
|
|
1544
|
+
ListPanel.prototype.d4 = function () {
|
|
1524
1545
|
if (this.br) {
|
|
1525
|
-
this.
|
|
1546
|
+
this.fm();
|
|
1526
1547
|
}
|
|
1527
|
-
return this.
|
|
1548
|
+
return this.dh;
|
|
1528
1549
|
};
|
|
1529
|
-
ListPanel.prototype.
|
|
1550
|
+
ListPanel.prototype.d2 = function () {
|
|
1530
1551
|
if (this.br) {
|
|
1531
|
-
this.
|
|
1552
|
+
this.fm();
|
|
1532
1553
|
}
|
|
1533
|
-
return this.
|
|
1554
|
+
return this.dg;
|
|
1534
1555
|
};
|
|
1535
1556
|
ListPanel.prototype.cj = function () {
|
|
1536
|
-
return this.
|
|
1557
|
+
return this.dg >= 0 && this.dh >= 0;
|
|
1537
1558
|
};
|
|
1538
|
-
ListPanel.prototype.
|
|
1559
|
+
ListPanel.prototype.f6 = function () {
|
|
1539
1560
|
if (!this.cj()) {
|
|
1540
1561
|
return;
|
|
1541
1562
|
}
|
|
1542
|
-
var a = this.
|
|
1543
|
-
var b = this.
|
|
1544
|
-
this.
|
|
1563
|
+
var a = this.d2();
|
|
1564
|
+
var b = this.d4();
|
|
1565
|
+
this.f5(a, b);
|
|
1545
1566
|
};
|
|
1546
|
-
ListPanel.prototype.
|
|
1547
|
-
var c = this.
|
|
1548
|
-
var d = this.
|
|
1567
|
+
ListPanel.prototype.f5 = function (a, b) {
|
|
1568
|
+
var c = this.d2();
|
|
1569
|
+
var d = this.d4();
|
|
1549
1570
|
if (b < c || a > d) {
|
|
1550
1571
|
return;
|
|
1551
1572
|
}
|
|
@@ -1555,10 +1576,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1555
1576
|
if (b > d) {
|
|
1556
1577
|
b = d;
|
|
1557
1578
|
}
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1579
|
+
this.g5();
|
|
1580
|
+
this.ha();
|
|
1560
1581
|
};
|
|
1561
|
-
ListPanel.prototype.
|
|
1582
|
+
ListPanel.prototype.g5 = function () {
|
|
1562
1583
|
if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
|
|
1563
1584
|
return;
|
|
1564
1585
|
}
|
|
@@ -1581,7 +1602,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1581
1602
|
}
|
|
1582
1603
|
}
|
|
1583
1604
|
d.x = f;
|
|
1584
|
-
d.t = this_5.
|
|
1605
|
+
d.t = this_5.c5;
|
|
1585
1606
|
if (a) {
|
|
1586
1607
|
if (this_5.p.c(d)) {
|
|
1587
1608
|
d.j = true;
|
|
@@ -1606,33 +1627,33 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1606
1627
|
_loop_6(c);
|
|
1607
1628
|
}
|
|
1608
1629
|
};
|
|
1609
|
-
ListPanel.prototype.
|
|
1630
|
+
ListPanel.prototype.g6 = function (a) {
|
|
1610
1631
|
if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
|
|
1611
1632
|
return;
|
|
1612
1633
|
}
|
|
1613
1634
|
if (this.a2.d(a)) {
|
|
1614
1635
|
var b = this.a2.item(a);
|
|
1615
1636
|
b.x = this.actualDataSource.getItemAtIndex(b.v);
|
|
1616
|
-
b.t = this.
|
|
1637
|
+
b.t = this.c5;
|
|
1617
1638
|
}
|
|
1618
1639
|
};
|
|
1619
|
-
ListPanel.prototype.
|
|
1640
|
+
ListPanel.prototype.g3 = function () {
|
|
1620
1641
|
if (!this.bg) {
|
|
1621
1642
|
this.bg = true;
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1643
|
+
this.f8();
|
|
1644
|
+
this.g4();
|
|
1624
1645
|
}
|
|
1625
1646
|
};
|
|
1626
|
-
ListPanel.prototype.
|
|
1627
|
-
this.
|
|
1647
|
+
ListPanel.prototype.f4 = function (a) {
|
|
1648
|
+
this.g6(a);
|
|
1628
1649
|
};
|
|
1629
|
-
ListPanel.prototype.
|
|
1650
|
+
ListPanel.prototype.gk = function () {
|
|
1630
1651
|
if (this.bg) {
|
|
1631
|
-
this.
|
|
1652
|
+
this.f2();
|
|
1632
1653
|
}
|
|
1633
1654
|
else {
|
|
1634
|
-
this.
|
|
1635
|
-
this.
|
|
1655
|
+
this.g9();
|
|
1656
|
+
this.f6();
|
|
1636
1657
|
}
|
|
1637
1658
|
};
|
|
1638
1659
|
Object.defineProperty(ListPanel.prototype, "externalListPanel", {
|
|
@@ -1648,7 +1669,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1648
1669
|
ListPanel.prototype.ci = function () {
|
|
1649
1670
|
return this.as != 0 || this.r != 0;
|
|
1650
1671
|
};
|
|
1651
|
-
ListPanel.prototype.
|
|
1672
|
+
ListPanel.prototype.g1 = function (a, b, c) {
|
|
1652
1673
|
var _this = this;
|
|
1653
1674
|
switch (a) {
|
|
1654
1675
|
case "SchemaIncludedProperties":
|
|
@@ -1659,7 +1680,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1659
1680
|
case "ItemsSource":
|
|
1660
1681
|
if (this.i != null) {
|
|
1661
1682
|
var d = this.i;
|
|
1662
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1683
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.fo));
|
|
1663
1684
|
this.i.updateNotifier = null;
|
|
1664
1685
|
}
|
|
1665
1686
|
if (typeCast(IDataSource_$type, this.itemsSource) !== null) {
|
|
@@ -1671,41 +1692,42 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1671
1692
|
}
|
|
1672
1693
|
if (this.i != null) {
|
|
1673
1694
|
var f = this.i;
|
|
1674
|
-
f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.
|
|
1695
|
+
f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.fo));
|
|
1675
1696
|
this.i.updateNotifier = new ListPanelDataSourceNotificationBridge(this);
|
|
1676
1697
|
if (this.i.actualSchema != null) {
|
|
1677
|
-
this.
|
|
1678
|
-
this.k.enqueueAction(function () { return _this.
|
|
1698
|
+
this.g3();
|
|
1699
|
+
this.k.enqueueAction(function () { return _this.gk(); });
|
|
1679
1700
|
}
|
|
1680
1701
|
}
|
|
1681
1702
|
break;
|
|
1682
1703
|
case "RowHeight":
|
|
1683
|
-
this.
|
|
1704
|
+
this.c5 = this.ee;
|
|
1684
1705
|
break;
|
|
1685
1706
|
case "CellTextStyle":
|
|
1686
|
-
this.
|
|
1707
|
+
this.f6();
|
|
1687
1708
|
break;
|
|
1688
1709
|
case "BackgroundColor":
|
|
1689
|
-
this.
|
|
1710
|
+
this.f6();
|
|
1690
1711
|
break;
|
|
1691
1712
|
case "TextColor":
|
|
1692
|
-
this.
|
|
1713
|
+
this.f6();
|
|
1693
1714
|
break;
|
|
1715
|
+
case "ItemSpacing":
|
|
1694
1716
|
case "Orientation":
|
|
1695
1717
|
case "ActualRowHeight":
|
|
1696
|
-
this.
|
|
1718
|
+
this.g9();
|
|
1697
1719
|
break;
|
|
1698
1720
|
case "ScrollbarStyle":
|
|
1699
1721
|
this.externalListPanel.setScrollbarStyle(this.a0);
|
|
1700
1722
|
break;
|
|
1701
1723
|
case "ScrollbarBackground":
|
|
1702
|
-
this.externalListPanel.setScrollbarColor(this.
|
|
1724
|
+
this.externalListPanel.setScrollbarColor(this.h4);
|
|
1703
1725
|
break;
|
|
1704
1726
|
case "ActiveRow":
|
|
1705
|
-
this.
|
|
1727
|
+
this.di = typeGetValue(b);
|
|
1706
1728
|
this.bq = true;
|
|
1707
|
-
if (this.
|
|
1708
|
-
this.p.k(this.
|
|
1729
|
+
if (this.dv != -1 && this.dv >= 0) {
|
|
1730
|
+
this.p.k(this.dv);
|
|
1709
1731
|
}
|
|
1710
1732
|
else {
|
|
1711
1733
|
this.p.o();
|
|
@@ -1718,7 +1740,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1718
1740
|
case "ActivationBorderRightWidth":
|
|
1719
1741
|
case "ActivationBorderBottomWidth":
|
|
1720
1742
|
case "ActivationBorderTopWidth":
|
|
1721
|
-
this.
|
|
1743
|
+
this.g3();
|
|
1722
1744
|
break;
|
|
1723
1745
|
case "ActivationMode":
|
|
1724
1746
|
this.by = this.ci();
|
|
@@ -1743,7 +1765,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1743
1765
|
break;
|
|
1744
1766
|
}
|
|
1745
1767
|
};
|
|
1746
|
-
ListPanel.prototype.
|
|
1768
|
+
ListPanel.prototype.h7 = function () {
|
|
1747
1769
|
var a = this.cy;
|
|
1748
1770
|
var b = 0;
|
|
1749
1771
|
if (!isNaN_(a) && a >= 0) {
|
|
@@ -1773,19 +1795,19 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1773
1795
|
}
|
|
1774
1796
|
return new Size(1, c, b);
|
|
1775
1797
|
};
|
|
1776
|
-
ListPanel.prototype.
|
|
1777
|
-
if (this.r == 1 && this.
|
|
1778
|
-
if (this.
|
|
1798
|
+
ListPanel.prototype.gj = function (a, b) {
|
|
1799
|
+
if (this.r == 1 && this.dv != -1) {
|
|
1800
|
+
if (this.dv >= a && this.dv <= b) {
|
|
1779
1801
|
if (this.activeRowChanged != null) {
|
|
1780
1802
|
var c = new ListPanelActiveRowChangedEventArgs();
|
|
1781
|
-
c.newActiveRow = this.
|
|
1782
|
-
c.oldActiveRow = this.
|
|
1803
|
+
c.newActiveRow = this.dv;
|
|
1804
|
+
c.oldActiveRow = this.dv;
|
|
1783
1805
|
this.activeRowChanged(this, c);
|
|
1784
1806
|
}
|
|
1785
1807
|
}
|
|
1786
1808
|
}
|
|
1787
|
-
var d = this.
|
|
1788
|
-
var e = this.
|
|
1809
|
+
var d = this.d2();
|
|
1810
|
+
var e = this.d4();
|
|
1789
1811
|
if (b < d || a > e) {
|
|
1790
1812
|
return;
|
|
1791
1813
|
}
|
|
@@ -1798,46 +1820,46 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1798
1820
|
if (!this.cj()) {
|
|
1799
1821
|
return;
|
|
1800
1822
|
}
|
|
1801
|
-
if (this.
|
|
1802
|
-
this.
|
|
1823
|
+
if (this.d6() != this.dl) {
|
|
1824
|
+
this.g9();
|
|
1803
1825
|
}
|
|
1804
1826
|
else {
|
|
1805
|
-
this.
|
|
1827
|
+
this.ha();
|
|
1806
1828
|
}
|
|
1807
|
-
this.
|
|
1829
|
+
this.fn();
|
|
1808
1830
|
};
|
|
1809
|
-
ListPanel.prototype.
|
|
1831
|
+
ListPanel.prototype.fn = function () {
|
|
1810
1832
|
if (this.ay.d.isEmpty) {
|
|
1811
1833
|
return;
|
|
1812
1834
|
}
|
|
1813
1835
|
if (this.ad == 1) {
|
|
1814
1836
|
if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
|
|
1815
|
-
var a = this.
|
|
1837
|
+
var a = this.d6() - 1;
|
|
1816
1838
|
if (a < 0) {
|
|
1817
1839
|
a = 0;
|
|
1818
1840
|
}
|
|
1819
|
-
this.
|
|
1841
|
+
this.hg(a);
|
|
1820
1842
|
}
|
|
1821
1843
|
}
|
|
1822
1844
|
else {
|
|
1823
1845
|
if (this.ay.d.bottom > this.absoluteHeight || this.ay.d.top > this.absoluteHeight) {
|
|
1824
|
-
var b = this.
|
|
1846
|
+
var b = this.d6() - 1;
|
|
1825
1847
|
if (b < 0) {
|
|
1826
1848
|
b = 0;
|
|
1827
1849
|
}
|
|
1828
|
-
this.
|
|
1850
|
+
this.hg(b);
|
|
1829
1851
|
}
|
|
1830
1852
|
}
|
|
1831
1853
|
if (this.ad == 2) {
|
|
1832
1854
|
if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
|
|
1833
|
-
this.
|
|
1855
|
+
this.hf(this.cw.count - 1);
|
|
1834
1856
|
}
|
|
1835
1857
|
}
|
|
1836
1858
|
};
|
|
1837
|
-
ListPanel.prototype.
|
|
1859
|
+
ListPanel.prototype.gy = function (a, b, c) {
|
|
1838
1860
|
if (this.ad == 0) {
|
|
1839
1861
|
if (this.bz) {
|
|
1840
|
-
var d = this.
|
|
1862
|
+
var d = this.c5;
|
|
1841
1863
|
if (this.itemHeightRequested != null) {
|
|
1842
1864
|
var e = new ListPanelTemplateHeightRequestedEventArgs();
|
|
1843
1865
|
e.c = c;
|
|
@@ -1855,7 +1877,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1855
1877
|
}
|
|
1856
1878
|
}
|
|
1857
1879
|
else if (this.ad == 2) {
|
|
1858
|
-
this.
|
|
1880
|
+
this.g9();
|
|
1859
1881
|
return;
|
|
1860
1882
|
}
|
|
1861
1883
|
else {
|
|
@@ -1875,15 +1897,15 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1875
1897
|
this.cv._inner[m] += l;
|
|
1876
1898
|
}
|
|
1877
1899
|
}
|
|
1878
|
-
this.
|
|
1900
|
+
this.f4(a);
|
|
1879
1901
|
};
|
|
1880
|
-
ListPanel.prototype.
|
|
1881
|
-
this.
|
|
1902
|
+
ListPanel.prototype.gi = function () {
|
|
1903
|
+
this.g9();
|
|
1882
1904
|
};
|
|
1883
|
-
ListPanel.prototype.
|
|
1905
|
+
ListPanel.prototype.gl = function (a, b) {
|
|
1884
1906
|
if (this.ad == 0) {
|
|
1885
1907
|
if (this.bz) {
|
|
1886
|
-
var c = this.
|
|
1908
|
+
var c = this.c5;
|
|
1887
1909
|
if (this.itemHeightRequested != null) {
|
|
1888
1910
|
var d = new ListPanelTemplateHeightRequestedEventArgs();
|
|
1889
1911
|
d.c = b;
|
|
@@ -1905,7 +1927,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1905
1927
|
}
|
|
1906
1928
|
}
|
|
1907
1929
|
else if (this.ad == 2) {
|
|
1908
|
-
this.
|
|
1930
|
+
this.g9();
|
|
1909
1931
|
return;
|
|
1910
1932
|
}
|
|
1911
1933
|
else {
|
|
@@ -1929,9 +1951,9 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1929
1951
|
this.cv._inner[l] += h;
|
|
1930
1952
|
}
|
|
1931
1953
|
}
|
|
1932
|
-
this.
|
|
1954
|
+
this.g3();
|
|
1933
1955
|
};
|
|
1934
|
-
ListPanel.prototype.
|
|
1956
|
+
ListPanel.prototype.gp = function (a, b) {
|
|
1935
1957
|
if (this.ad == 0) {
|
|
1936
1958
|
var c = this.cq._inner[a];
|
|
1937
1959
|
for (var d = a + 1; d < this.actualDataSource.actualCount; d++) {
|
|
@@ -1941,7 +1963,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1941
1963
|
this.cr.removeAt(a);
|
|
1942
1964
|
}
|
|
1943
1965
|
else if (this.ad == 2) {
|
|
1944
|
-
this.
|
|
1966
|
+
this.g9();
|
|
1945
1967
|
return;
|
|
1946
1968
|
}
|
|
1947
1969
|
else {
|
|
@@ -1952,51 +1974,51 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1952
1974
|
this.cu.removeAt(a);
|
|
1953
1975
|
this.cv.removeAt(a);
|
|
1954
1976
|
}
|
|
1955
|
-
this.
|
|
1977
|
+
this.g3();
|
|
1956
1978
|
};
|
|
1957
|
-
ListPanel.prototype.
|
|
1979
|
+
ListPanel.prototype.gc = function (a, b, c) {
|
|
1958
1980
|
if (this.i != null) {
|
|
1959
1981
|
this.i.notifySetItem(a, b, c);
|
|
1960
1982
|
}
|
|
1961
1983
|
};
|
|
1962
|
-
ListPanel.prototype.
|
|
1984
|
+
ListPanel.prototype.f9 = function () {
|
|
1963
1985
|
if (this.i != null) {
|
|
1964
1986
|
this.i.notifyClearItems();
|
|
1965
1987
|
}
|
|
1966
1988
|
};
|
|
1967
|
-
ListPanel.prototype.
|
|
1989
|
+
ListPanel.prototype.ga = function (a, b) {
|
|
1968
1990
|
if (this.i != null) {
|
|
1969
1991
|
this.i.notifyInsertItem(a, b);
|
|
1970
1992
|
}
|
|
1971
1993
|
;
|
|
1972
1994
|
};
|
|
1973
|
-
ListPanel.prototype.
|
|
1995
|
+
ListPanel.prototype.gb = function (a, b) {
|
|
1974
1996
|
if (this.i != null) {
|
|
1975
1997
|
this.i.notifyRemoveItem(a, b);
|
|
1976
1998
|
}
|
|
1977
1999
|
;
|
|
1978
2000
|
};
|
|
1979
|
-
ListPanel.prototype.
|
|
2001
|
+
ListPanel.prototype.dx = function (a) {
|
|
1980
2002
|
if (this.i == null) {
|
|
1981
2003
|
return -1;
|
|
1982
2004
|
}
|
|
1983
2005
|
return this.i.indexOfItem(a);
|
|
1984
2006
|
};
|
|
1985
|
-
ListPanel.prototype.
|
|
2007
|
+
ListPanel.prototype.dy = function (a) {
|
|
1986
2008
|
if (this.i == null) {
|
|
1987
2009
|
return -1;
|
|
1988
2010
|
}
|
|
1989
2011
|
return this.i.indexOfKey(a);
|
|
1990
2012
|
};
|
|
1991
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2013
|
+
Object.defineProperty(ListPanel.prototype, "h0", {
|
|
1992
2014
|
get: function () {
|
|
1993
|
-
return this.
|
|
2015
|
+
return this.hu;
|
|
1994
2016
|
},
|
|
1995
2017
|
set: function (a) {
|
|
1996
|
-
var b = this.
|
|
1997
|
-
this.
|
|
1998
|
-
if (b != this.
|
|
1999
|
-
this.
|
|
2018
|
+
var b = this.hu;
|
|
2019
|
+
this.hu = a;
|
|
2020
|
+
if (b != this.hu) {
|
|
2021
|
+
this.go("BackgroundColor", b, a);
|
|
2000
2022
|
}
|
|
2001
2023
|
},
|
|
2002
2024
|
enumerable: false,
|
|
@@ -2010,7 +2032,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2010
2032
|
var b = this.ab;
|
|
2011
2033
|
this.ab = a;
|
|
2012
2034
|
if (b != this.ab) {
|
|
2013
|
-
this.
|
|
2035
|
+
this.go("Orientation", enumGetBox(ListPanelOrientation_$type, b), enumGetBox(ListPanelOrientation_$type, a));
|
|
2014
2036
|
}
|
|
2015
2037
|
},
|
|
2016
2038
|
enumerable: false,
|
|
@@ -2024,21 +2046,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2024
2046
|
var b = this.bi;
|
|
2025
2047
|
this.bi = a;
|
|
2026
2048
|
if (b != this.bi) {
|
|
2027
|
-
this.
|
|
2049
|
+
this.go("IsCustomRowHeightEnabled", b, a);
|
|
2028
2050
|
}
|
|
2029
2051
|
},
|
|
2030
2052
|
enumerable: false,
|
|
2031
2053
|
configurable: true
|
|
2032
2054
|
});
|
|
2033
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2055
|
+
Object.defineProperty(ListPanel.prototype, "h6", {
|
|
2034
2056
|
get: function () {
|
|
2035
|
-
return this.
|
|
2057
|
+
return this.hy;
|
|
2036
2058
|
},
|
|
2037
2059
|
set: function (a) {
|
|
2038
|
-
var b = this.
|
|
2039
|
-
this.
|
|
2040
|
-
if (b != this.
|
|
2041
|
-
this.
|
|
2060
|
+
var b = this.hy;
|
|
2061
|
+
this.hy = a;
|
|
2062
|
+
if (b != this.hy) {
|
|
2063
|
+
this.go("TextColor", b, a);
|
|
2042
2064
|
}
|
|
2043
2065
|
},
|
|
2044
2066
|
enumerable: false,
|
|
@@ -2058,7 +2080,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2058
2080
|
enumerable: false,
|
|
2059
2081
|
configurable: true
|
|
2060
2082
|
});
|
|
2061
|
-
ListPanel.prototype.
|
|
2083
|
+
ListPanel.prototype.eh = function () {
|
|
2062
2084
|
var e_3, _a;
|
|
2063
2085
|
var _this = this;
|
|
2064
2086
|
var a = new ListPanelVisualData();
|
|
@@ -2102,8 +2124,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2102
2124
|
});
|
|
2103
2125
|
return a;
|
|
2104
2126
|
};
|
|
2105
|
-
ListPanel.prototype.
|
|
2106
|
-
var a = this.
|
|
2127
|
+
ListPanel.prototype.ez = function () {
|
|
2128
|
+
var a = this.eh();
|
|
2107
2129
|
return a.serialize();
|
|
2108
2130
|
};
|
|
2109
2131
|
Object.defineProperty(ListPanel.prototype, "b0", {
|
|
@@ -2116,7 +2138,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2116
2138
|
enumerable: false,
|
|
2117
2139
|
configurable: true
|
|
2118
2140
|
});
|
|
2119
|
-
ListPanel.prototype.
|
|
2141
|
+
ListPanel.prototype.hi = function () {
|
|
2120
2142
|
if (this.as == 2) {
|
|
2121
2143
|
this.aq.v();
|
|
2122
2144
|
}
|
|
@@ -2126,7 +2148,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2126
2148
|
switch (a) {
|
|
2127
2149
|
case 30:
|
|
2128
2150
|
if (c) {
|
|
2129
|
-
this.
|
|
2151
|
+
this.hi();
|
|
2130
2152
|
return true;
|
|
2131
2153
|
}
|
|
2132
2154
|
break;
|
|
@@ -2138,23 +2160,23 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2138
2160
|
return false;
|
|
2139
2161
|
};
|
|
2140
2162
|
ListPanel.prototype.b1 = function () {
|
|
2141
|
-
return this.
|
|
2163
|
+
return this.df == -1;
|
|
2142
2164
|
};
|
|
2143
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2165
|
+
Object.defineProperty(ListPanel.prototype, "dv", {
|
|
2144
2166
|
get: function () {
|
|
2145
|
-
return this.
|
|
2167
|
+
return this.df;
|
|
2146
2168
|
},
|
|
2147
2169
|
set: function (a) {
|
|
2148
|
-
var b = this.
|
|
2149
|
-
this.
|
|
2150
|
-
if (b != this.
|
|
2151
|
-
this.
|
|
2170
|
+
var b = this.df;
|
|
2171
|
+
this.df = a;
|
|
2172
|
+
if (b != this.df) {
|
|
2173
|
+
this.go("ActiveRow", b, this.df);
|
|
2152
2174
|
}
|
|
2153
2175
|
},
|
|
2154
2176
|
enumerable: false,
|
|
2155
2177
|
configurable: true
|
|
2156
2178
|
});
|
|
2157
|
-
ListPanel.prototype.
|
|
2179
|
+
ListPanel.prototype.fk = function (a, b, c) {
|
|
2158
2180
|
if (c === void 0) {
|
|
2159
2181
|
c = false;
|
|
2160
2182
|
}
|
|
@@ -2162,34 +2184,34 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2162
2184
|
return;
|
|
2163
2185
|
}
|
|
2164
2186
|
if (!c) {
|
|
2165
|
-
if (a <= this.
|
|
2166
|
-
this.
|
|
2187
|
+
if (a <= this.d2()) {
|
|
2188
|
+
this.hg(a);
|
|
2167
2189
|
}
|
|
2168
|
-
else if (a >= this.
|
|
2190
|
+
else if (a >= this.d4()) {
|
|
2169
2191
|
if (b) {
|
|
2170
|
-
this.
|
|
2192
|
+
this.hg(a);
|
|
2171
2193
|
}
|
|
2172
2194
|
else {
|
|
2173
|
-
this.
|
|
2195
|
+
this.he(a);
|
|
2174
2196
|
}
|
|
2175
2197
|
}
|
|
2176
2198
|
}
|
|
2177
2199
|
if (this.ad == 2) {
|
|
2178
|
-
var d = this.
|
|
2179
|
-
var e = this.
|
|
2180
|
-
var f = this.
|
|
2200
|
+
var d = this.d3();
|
|
2201
|
+
var e = this.d5();
|
|
2202
|
+
var f = this.d7(a);
|
|
2181
2203
|
if (f <= d) {
|
|
2182
|
-
this.
|
|
2204
|
+
this.hh(f);
|
|
2183
2205
|
}
|
|
2184
2206
|
else if (f >= e) {
|
|
2185
|
-
this.
|
|
2207
|
+
this.hf(f);
|
|
2186
2208
|
}
|
|
2187
2209
|
}
|
|
2188
2210
|
};
|
|
2189
|
-
ListPanel.prototype.
|
|
2211
|
+
ListPanel.prototype.hf = function (a) {
|
|
2190
2212
|
var b = truncate(this.ay.d.top);
|
|
2191
|
-
if (this.
|
|
2192
|
-
b = this.
|
|
2213
|
+
if (this.dk != -1) {
|
|
2214
|
+
b = this.dk;
|
|
2193
2215
|
}
|
|
2194
2216
|
if (this.ad == 2) {
|
|
2195
2217
|
var c = 0;
|
|
@@ -2204,15 +2226,15 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2204
2226
|
if (c < 0) {
|
|
2205
2227
|
c = 0;
|
|
2206
2228
|
}
|
|
2207
|
-
this.
|
|
2208
|
-
this.
|
|
2229
|
+
this.dk = b;
|
|
2230
|
+
this.dj = truncate(c);
|
|
2209
2231
|
this.viewportManager.moveViewportTo(truncate(c), b);
|
|
2210
2232
|
}
|
|
2211
2233
|
};
|
|
2212
|
-
ListPanel.prototype.
|
|
2234
|
+
ListPanel.prototype.hh = function (a) {
|
|
2213
2235
|
var b = truncate(this.ay.d.top);
|
|
2214
|
-
if (this.
|
|
2215
|
-
b = this.
|
|
2236
|
+
if (this.dk != -1) {
|
|
2237
|
+
b = this.dk;
|
|
2216
2238
|
}
|
|
2217
2239
|
if (this.ad == 2) {
|
|
2218
2240
|
var c = 0;
|
|
@@ -2223,19 +2245,19 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2223
2245
|
}
|
|
2224
2246
|
c += this.cw._inner[d].a;
|
|
2225
2247
|
}
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2248
|
+
this.dk = b;
|
|
2249
|
+
this.dj = truncate(c);
|
|
2228
2250
|
this.viewportManager.moveViewportTo(truncate(c), b);
|
|
2229
2251
|
}
|
|
2230
2252
|
};
|
|
2231
|
-
ListPanel.prototype.
|
|
2253
|
+
ListPanel.prototype.d7 = function (a) {
|
|
2232
2254
|
if (this.ad == 2) {
|
|
2233
|
-
var b = this.
|
|
2255
|
+
var b = this.d8(a);
|
|
2234
2256
|
return b;
|
|
2235
2257
|
}
|
|
2236
2258
|
return -1;
|
|
2237
2259
|
};
|
|
2238
|
-
ListPanel.prototype.
|
|
2260
|
+
ListPanel.prototype.d5 = function () {
|
|
2239
2261
|
if (this.ad == 2) {
|
|
2240
2262
|
var a = 0;
|
|
2241
2263
|
var b = 0;
|
|
@@ -2249,7 +2271,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2249
2271
|
}
|
|
2250
2272
|
return -1;
|
|
2251
2273
|
};
|
|
2252
|
-
ListPanel.prototype.
|
|
2274
|
+
ListPanel.prototype.d3 = function () {
|
|
2253
2275
|
if (this.ad == 2) {
|
|
2254
2276
|
var a = 0;
|
|
2255
2277
|
var b = 0;
|
|
@@ -2263,21 +2285,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2263
2285
|
}
|
|
2264
2286
|
return -1;
|
|
2265
2287
|
};
|
|
2266
|
-
ListPanel.prototype.
|
|
2288
|
+
ListPanel.prototype.hg = function (a) {
|
|
2267
2289
|
if (this.ay.d.isEmpty) {
|
|
2268
2290
|
return;
|
|
2269
2291
|
}
|
|
2270
2292
|
var b = truncate(this.ay.d.left);
|
|
2271
|
-
if (this.
|
|
2272
|
-
b = this.
|
|
2293
|
+
if (this.dj != -1) {
|
|
2294
|
+
b = this.dj;
|
|
2273
2295
|
}
|
|
2274
2296
|
var c = 0;
|
|
2275
2297
|
var d = 0;
|
|
2276
2298
|
if (a < 0) {
|
|
2277
2299
|
a = 0;
|
|
2278
2300
|
}
|
|
2279
|
-
if (a >= this.
|
|
2280
|
-
a = this.
|
|
2301
|
+
if (a >= this.d6()) {
|
|
2302
|
+
a = this.d6() - 1;
|
|
2281
2303
|
}
|
|
2282
2304
|
var e = 0;
|
|
2283
2305
|
e = truncate(Math.floor(a));
|
|
@@ -2288,7 +2310,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2288
2310
|
c = truncate(Math.floor(this.cr._inner[e]));
|
|
2289
2311
|
}
|
|
2290
2312
|
else {
|
|
2291
|
-
c = truncate(Math.floor(this.
|
|
2313
|
+
c = truncate(Math.floor(this.c5 * e));
|
|
2292
2314
|
}
|
|
2293
2315
|
if (a - truncate(Math.floor(a)) > 0) {
|
|
2294
2316
|
var f = a - truncate(Math.floor(a));
|
|
@@ -2302,28 +2324,28 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2302
2324
|
if (c < 0) {
|
|
2303
2325
|
c = 0;
|
|
2304
2326
|
}
|
|
2305
|
-
this.
|
|
2306
|
-
this.
|
|
2327
|
+
this.dk = c;
|
|
2328
|
+
this.dj = b;
|
|
2307
2329
|
this.viewportManager.moveViewportTo(b, c);
|
|
2308
2330
|
};
|
|
2309
|
-
ListPanel.prototype.
|
|
2331
|
+
ListPanel.prototype.he = function (a) {
|
|
2310
2332
|
var b = truncate(this.ay.d.left);
|
|
2311
|
-
if (this.
|
|
2312
|
-
b = this.
|
|
2333
|
+
if (this.dj != -1) {
|
|
2334
|
+
b = this.dj;
|
|
2313
2335
|
}
|
|
2314
2336
|
var c = 0;
|
|
2315
2337
|
if (a < 0) {
|
|
2316
2338
|
a = 0;
|
|
2317
2339
|
}
|
|
2318
|
-
if (a >= this.
|
|
2319
|
-
a = this.
|
|
2340
|
+
if (a >= this.d6()) {
|
|
2341
|
+
a = this.d6() - 1;
|
|
2320
2342
|
}
|
|
2321
2343
|
var d = truncate(Math.floor(a));
|
|
2322
2344
|
if (this.ad == 2) {
|
|
2323
2345
|
d = truncate(Math.floor(d / this.cw.count));
|
|
2324
2346
|
}
|
|
2325
2347
|
if (this.cr.count == 0) {
|
|
2326
|
-
c = truncate(Math.round((this.
|
|
2348
|
+
c = truncate(Math.round((this.c5 * a) + this.c5));
|
|
2327
2349
|
}
|
|
2328
2350
|
else {
|
|
2329
2351
|
c = truncate(Math.floor(this.cr._inner[d] + this.cq._inner[d]));
|
|
@@ -2343,8 +2365,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2343
2365
|
if (c < 0) {
|
|
2344
2366
|
c = 0;
|
|
2345
2367
|
}
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2368
|
+
this.dk = c;
|
|
2369
|
+
this.dj = b;
|
|
2348
2370
|
this.viewportManager.moveViewportTo(b, c);
|
|
2349
2371
|
};
|
|
2350
2372
|
Object.defineProperty(ListPanel.prototype, "viewportManager", {
|
|
@@ -2364,8 +2386,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2364
2386
|
if (this.r == 0 || this.b1()) {
|
|
2365
2387
|
return false;
|
|
2366
2388
|
}
|
|
2367
|
-
var c = this.
|
|
2368
|
-
if (c > this.
|
|
2389
|
+
var c = this.dv;
|
|
2390
|
+
if (c > this.d6() - 1) {
|
|
2369
2391
|
return false;
|
|
2370
2392
|
}
|
|
2371
2393
|
var d = c + 1;
|
|
@@ -2373,43 +2395,43 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2373
2395
|
d = c + this.cw.count;
|
|
2374
2396
|
}
|
|
2375
2397
|
if (b) {
|
|
2376
|
-
d = this.
|
|
2398
|
+
d = this.d6() - 1;
|
|
2377
2399
|
}
|
|
2378
|
-
if (d > this.
|
|
2379
|
-
d = this.
|
|
2400
|
+
if (d > this.d6() - 1) {
|
|
2401
|
+
d = this.d6() - 1;
|
|
2380
2402
|
}
|
|
2381
2403
|
if (d == c) {
|
|
2382
2404
|
return false;
|
|
2383
2405
|
}
|
|
2384
|
-
this.
|
|
2406
|
+
this.dv = d;
|
|
2385
2407
|
if (this.ay.a) {
|
|
2386
|
-
this.
|
|
2408
|
+
this.fk(d, false);
|
|
2387
2409
|
}
|
|
2388
2410
|
this.bo = false;
|
|
2389
2411
|
if (this.as == 2 && a) {
|
|
2390
|
-
if (this.
|
|
2391
|
-
this.
|
|
2412
|
+
if (this.dp == -1) {
|
|
2413
|
+
this.dp = c;
|
|
2392
2414
|
}
|
|
2393
|
-
var e = Math.min(this.
|
|
2394
|
-
var f = Math.max(this.
|
|
2395
|
-
this.
|
|
2415
|
+
var e = Math.min(this.dp, d);
|
|
2416
|
+
var f = Math.max(this.dp, d);
|
|
2417
|
+
this.hl(e, f);
|
|
2396
2418
|
}
|
|
2397
2419
|
else {
|
|
2398
|
-
this.
|
|
2399
|
-
this.
|
|
2420
|
+
this.dp = -1;
|
|
2421
|
+
this.dn = -1;
|
|
2400
2422
|
this.cs.clear();
|
|
2401
2423
|
this.ct.clear();
|
|
2402
2424
|
}
|
|
2403
|
-
this.
|
|
2425
|
+
this.gx();
|
|
2404
2426
|
return true;
|
|
2405
2427
|
};
|
|
2406
|
-
ListPanel.prototype.
|
|
2428
|
+
ListPanel.prototype.gx = function () {
|
|
2407
2429
|
if (this.bo && this.selectionChanged != null) {
|
|
2408
2430
|
this.selectionChanged(this, new ListPanelSelectionChangedEventArgs());
|
|
2409
2431
|
this.bo = false;
|
|
2410
2432
|
}
|
|
2411
2433
|
};
|
|
2412
|
-
ListPanel.prototype.
|
|
2434
|
+
ListPanel.prototype.hl = function (a, b) {
|
|
2413
2435
|
for (var c = a; c <= b; c++) {
|
|
2414
2436
|
if (this.cs.contains(c)) {
|
|
2415
2437
|
continue;
|
|
@@ -2450,48 +2472,48 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2450
2472
|
if (this.r == 0 || this.b1()) {
|
|
2451
2473
|
return false;
|
|
2452
2474
|
}
|
|
2453
|
-
var c = this.
|
|
2454
|
-
var d = this.
|
|
2475
|
+
var c = this.dv;
|
|
2476
|
+
var d = this.dv;
|
|
2455
2477
|
if (b) {
|
|
2456
|
-
if (d >= this.
|
|
2478
|
+
if (d >= this.d6() - 1) {
|
|
2457
2479
|
return false;
|
|
2458
2480
|
}
|
|
2459
|
-
d = this.
|
|
2481
|
+
d = this.d6() - 1;
|
|
2460
2482
|
}
|
|
2461
|
-
else if (this.ad == 2 && this.
|
|
2483
|
+
else if (this.ad == 2 && this.d7(d) == this.cw.count - 1) {
|
|
2462
2484
|
return false;
|
|
2463
2485
|
}
|
|
2464
2486
|
var e = -1;
|
|
2465
2487
|
if (this.ad == 2) {
|
|
2466
|
-
e = this.
|
|
2488
|
+
e = this.d7(d);
|
|
2467
2489
|
var f = (d - e) + this.cw.count;
|
|
2468
|
-
if (f > this.
|
|
2469
|
-
f = this.
|
|
2490
|
+
if (f > this.d6() - 1) {
|
|
2491
|
+
f = this.d6() - 1;
|
|
2470
2492
|
}
|
|
2471
2493
|
d = f;
|
|
2472
2494
|
}
|
|
2473
2495
|
if (d == c) {
|
|
2474
2496
|
return false;
|
|
2475
2497
|
}
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2498
|
+
this.dv = d;
|
|
2499
|
+
this.fk(d, false);
|
|
2478
2500
|
return true;
|
|
2479
2501
|
};
|
|
2480
2502
|
ListPanel.prototype.b8 = function (a, b) {
|
|
2481
|
-
var c = this.
|
|
2482
|
-
var d = this.
|
|
2503
|
+
var c = this.df;
|
|
2504
|
+
var d = this.df;
|
|
2483
2505
|
if (b) {
|
|
2484
2506
|
if (d <= 0) {
|
|
2485
2507
|
return false;
|
|
2486
2508
|
}
|
|
2487
2509
|
d = 0;
|
|
2488
2510
|
}
|
|
2489
|
-
else if (this.ad == 2 && this.
|
|
2511
|
+
else if (this.ad == 2 && this.d7(d) == 0) {
|
|
2490
2512
|
return false;
|
|
2491
2513
|
}
|
|
2492
2514
|
var e = -1;
|
|
2493
2515
|
if (this.ad == 2) {
|
|
2494
|
-
e = this.
|
|
2516
|
+
e = this.d7(d);
|
|
2495
2517
|
var f = (d - e);
|
|
2496
2518
|
if (f < 0) {
|
|
2497
2519
|
f = 0;
|
|
@@ -2501,8 +2523,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2501
2523
|
if (d == c) {
|
|
2502
2524
|
return false;
|
|
2503
2525
|
}
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2526
|
+
this.dv = d;
|
|
2527
|
+
this.fk(d, false);
|
|
2506
2528
|
return true;
|
|
2507
2529
|
};
|
|
2508
2530
|
ListPanel.prototype.ca = function (a, b) {
|
|
@@ -2512,7 +2534,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2512
2534
|
if (this.r == 0 || this.b1()) {
|
|
2513
2535
|
return false;
|
|
2514
2536
|
}
|
|
2515
|
-
var c = this.
|
|
2537
|
+
var c = this.dv;
|
|
2516
2538
|
if (c <= 0) {
|
|
2517
2539
|
return false;
|
|
2518
2540
|
}
|
|
@@ -2521,7 +2543,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2521
2543
|
d = 0;
|
|
2522
2544
|
}
|
|
2523
2545
|
if (b && this.ad == 2) {
|
|
2524
|
-
d = (c - this.
|
|
2546
|
+
d = (c - this.d7(c));
|
|
2525
2547
|
if (d < 0) {
|
|
2526
2548
|
d = 0;
|
|
2527
2549
|
}
|
|
@@ -2532,54 +2554,54 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2532
2554
|
if (d == c) {
|
|
2533
2555
|
return false;
|
|
2534
2556
|
}
|
|
2535
|
-
this.
|
|
2557
|
+
this.dv = d;
|
|
2536
2558
|
if (this.ay.a) {
|
|
2537
|
-
this.
|
|
2559
|
+
this.fk(d, false);
|
|
2538
2560
|
}
|
|
2539
2561
|
this.bo = false;
|
|
2540
2562
|
if (this.as == 2 && a) {
|
|
2541
|
-
if (this.
|
|
2542
|
-
this.
|
|
2563
|
+
if (this.dp == -1) {
|
|
2564
|
+
this.dp = c;
|
|
2543
2565
|
}
|
|
2544
|
-
var e = Math.min(this.
|
|
2545
|
-
var f = Math.max(this.
|
|
2546
|
-
this.
|
|
2566
|
+
var e = Math.min(this.dp, d);
|
|
2567
|
+
var f = Math.max(this.dp, d);
|
|
2568
|
+
this.hl(e, f);
|
|
2547
2569
|
}
|
|
2548
2570
|
else {
|
|
2549
|
-
this.
|
|
2550
|
-
this.
|
|
2571
|
+
this.dp = -1;
|
|
2572
|
+
this.dn = -1;
|
|
2551
2573
|
this.cs.clear();
|
|
2552
2574
|
this.ct.clear();
|
|
2553
2575
|
}
|
|
2554
|
-
this.
|
|
2576
|
+
this.gx();
|
|
2555
2577
|
return true;
|
|
2556
2578
|
};
|
|
2557
2579
|
ListPanel.prototype.cb = function (a, b) {
|
|
2558
2580
|
if (this.r == 0 || this.b1()) {
|
|
2559
2581
|
return false;
|
|
2560
2582
|
}
|
|
2561
|
-
var c = this.
|
|
2562
|
-
var d = this.
|
|
2583
|
+
var c = this.d2();
|
|
2584
|
+
var d = this.d4();
|
|
2563
2585
|
var e = d - c;
|
|
2564
|
-
var f = Math.min(d + 1, this.
|
|
2586
|
+
var f = Math.min(d + 1, this.d6() - 1);
|
|
2565
2587
|
{
|
|
2566
|
-
this.
|
|
2588
|
+
this.dv = f;
|
|
2567
2589
|
}
|
|
2568
|
-
this.
|
|
2590
|
+
this.fk(f, true);
|
|
2569
2591
|
return true;
|
|
2570
2592
|
};
|
|
2571
2593
|
ListPanel.prototype.cc = function (a, b) {
|
|
2572
2594
|
if (this.r == 0 || this.b1()) {
|
|
2573
2595
|
return false;
|
|
2574
2596
|
}
|
|
2575
|
-
var c = this.
|
|
2576
|
-
var d = this.
|
|
2597
|
+
var c = this.d2();
|
|
2598
|
+
var d = this.d4();
|
|
2577
2599
|
var e = d - c;
|
|
2578
2600
|
var f = Math.max(c - e - 1, 0);
|
|
2579
2601
|
{
|
|
2580
|
-
this.
|
|
2602
|
+
this.dv = f;
|
|
2581
2603
|
}
|
|
2582
|
-
this.
|
|
2604
|
+
this.fk(f, false);
|
|
2583
2605
|
return true;
|
|
2584
2606
|
};
|
|
2585
2607
|
ListPanel.prototype.cd = function (a, b) {
|
|
@@ -2589,46 +2611,46 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2589
2611
|
if (this.r == 0 || this.b1()) {
|
|
2590
2612
|
return false;
|
|
2591
2613
|
}
|
|
2592
|
-
var c = this.
|
|
2614
|
+
var c = this.dv;
|
|
2593
2615
|
if (c <= 0) {
|
|
2594
2616
|
return false;
|
|
2595
2617
|
}
|
|
2596
2618
|
var d = c - 1;
|
|
2597
2619
|
if (b) {
|
|
2598
|
-
d = this.
|
|
2620
|
+
d = this.d6() - 1;
|
|
2599
2621
|
}
|
|
2600
2622
|
if (b && this.ad == 2) {
|
|
2601
|
-
d = (c - this.
|
|
2602
|
-
if (d > this.
|
|
2603
|
-
d = this.
|
|
2623
|
+
d = (c - this.d7(c)) + this.cw.count;
|
|
2624
|
+
if (d > this.d6() - 1) {
|
|
2625
|
+
d = this.d6() - 1;
|
|
2604
2626
|
}
|
|
2605
2627
|
}
|
|
2606
|
-
if (d > this.
|
|
2607
|
-
d = this.
|
|
2628
|
+
if (d > this.d6() - 1) {
|
|
2629
|
+
d = this.d6() - 1;
|
|
2608
2630
|
}
|
|
2609
2631
|
if (d == c) {
|
|
2610
2632
|
return false;
|
|
2611
2633
|
}
|
|
2612
|
-
this.
|
|
2634
|
+
this.dv = d;
|
|
2613
2635
|
if (this.ay.a) {
|
|
2614
|
-
this.
|
|
2636
|
+
this.fk(d, false);
|
|
2615
2637
|
}
|
|
2616
2638
|
this.bo = false;
|
|
2617
2639
|
if (this.as == 2 && a) {
|
|
2618
|
-
if (this.
|
|
2619
|
-
this.
|
|
2640
|
+
if (this.dp == -1) {
|
|
2641
|
+
this.dp = c;
|
|
2620
2642
|
}
|
|
2621
|
-
var e = Math.min(this.
|
|
2622
|
-
var f = Math.max(this.
|
|
2623
|
-
this.
|
|
2643
|
+
var e = Math.min(this.dp, d);
|
|
2644
|
+
var f = Math.max(this.dp, d);
|
|
2645
|
+
this.hl(e, f);
|
|
2624
2646
|
}
|
|
2625
2647
|
else {
|
|
2626
|
-
this.
|
|
2627
|
-
this.
|
|
2648
|
+
this.dp = -1;
|
|
2649
|
+
this.dn = -1;
|
|
2628
2650
|
this.cs.clear();
|
|
2629
2651
|
this.ct.clear();
|
|
2630
2652
|
}
|
|
2631
|
-
this.
|
|
2653
|
+
this.gx();
|
|
2632
2654
|
return true;
|
|
2633
2655
|
};
|
|
2634
2656
|
ListPanel.prototype.cf = function (a, b) {
|
|
@@ -2640,7 +2662,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2640
2662
|
}
|
|
2641
2663
|
return this.cd(a, b);
|
|
2642
2664
|
};
|
|
2643
|
-
ListPanel.prototype.
|
|
2665
|
+
ListPanel.prototype.g0 = function () {
|
|
2644
2666
|
};
|
|
2645
2667
|
ListPanel.prototype.cg = function (a, b) {
|
|
2646
2668
|
if (this.ad == 1) {
|
|
@@ -2649,7 +2671,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2649
2671
|
if (this.r == 0 || this.b1()) {
|
|
2650
2672
|
return false;
|
|
2651
2673
|
}
|
|
2652
|
-
var c = this.
|
|
2674
|
+
var c = this.dv;
|
|
2653
2675
|
if (c <= 0) {
|
|
2654
2676
|
return false;
|
|
2655
2677
|
}
|
|
@@ -2669,26 +2691,26 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2669
2691
|
if (d == c) {
|
|
2670
2692
|
return false;
|
|
2671
2693
|
}
|
|
2672
|
-
this.
|
|
2694
|
+
this.dv = d;
|
|
2673
2695
|
if (this.ay.a) {
|
|
2674
|
-
this.
|
|
2696
|
+
this.fk(d, false);
|
|
2675
2697
|
}
|
|
2676
2698
|
this.bo = false;
|
|
2677
2699
|
if (this.as == 2 && a) {
|
|
2678
|
-
if (this.
|
|
2679
|
-
this.
|
|
2700
|
+
if (this.dp == -1) {
|
|
2701
|
+
this.dp = c;
|
|
2680
2702
|
}
|
|
2681
|
-
var e = Math.min(this.
|
|
2682
|
-
var f = Math.max(this.
|
|
2683
|
-
this.
|
|
2703
|
+
var e = Math.min(this.dp, d);
|
|
2704
|
+
var f = Math.max(this.dp, d);
|
|
2705
|
+
this.hl(e, f);
|
|
2684
2706
|
}
|
|
2685
2707
|
else {
|
|
2686
|
-
this.
|
|
2687
|
-
this.
|
|
2708
|
+
this.dp = -1;
|
|
2709
|
+
this.dn = -1;
|
|
2688
2710
|
this.cs.clear();
|
|
2689
2711
|
this.ct.clear();
|
|
2690
2712
|
}
|
|
2691
|
-
this.
|
|
2713
|
+
this.gx();
|
|
2692
2714
|
return true;
|
|
2693
2715
|
};
|
|
2694
2716
|
ListPanel.prototype.b5 = function (a, b) {
|
|
@@ -2703,7 +2725,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2703
2725
|
ListPanel.prototype.ce = function (a, b) {
|
|
2704
2726
|
return false;
|
|
2705
2727
|
};
|
|
2706
|
-
ListPanel.prototype.
|
|
2728
|
+
ListPanel.prototype.fx = function () {
|
|
2707
2729
|
this.view.v();
|
|
2708
2730
|
};
|
|
2709
2731
|
Object.defineProperty(ListPanel.prototype, "bw", {
|
|
@@ -2716,7 +2738,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2716
2738
|
enumerable: false,
|
|
2717
2739
|
configurable: true
|
|
2718
2740
|
});
|
|
2719
|
-
ListPanel.prototype.
|
|
2741
|
+
ListPanel.prototype.fj = function (a) {
|
|
2720
2742
|
if (a === void 0) {
|
|
2721
2743
|
a = false;
|
|
2722
2744
|
}
|
|
@@ -2727,10 +2749,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2727
2749
|
this.bb = true;
|
|
2728
2750
|
this.bc = a;
|
|
2729
2751
|
};
|
|
2730
|
-
ListPanel.prototype.
|
|
2752
|
+
ListPanel.prototype.ft = function () {
|
|
2731
2753
|
if (this.bb) {
|
|
2732
2754
|
this.bw = true;
|
|
2733
|
-
this.
|
|
2755
|
+
this.hs(this.cm, this.cn, this.co, this.cp);
|
|
2734
2756
|
this.bw = false;
|
|
2735
2757
|
}
|
|
2736
2758
|
this.bb = false;
|
|
@@ -2743,13 +2765,13 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2743
2765
|
var b = this.bl;
|
|
2744
2766
|
this.bl = a;
|
|
2745
2767
|
if (b != this.bl) {
|
|
2746
|
-
this.
|
|
2768
|
+
this.go("NotifyOnAllSelectionChanges", b, this.bl);
|
|
2747
2769
|
}
|
|
2748
2770
|
},
|
|
2749
2771
|
enumerable: false,
|
|
2750
2772
|
configurable: true
|
|
2751
2773
|
});
|
|
2752
|
-
ListPanel.prototype.
|
|
2774
|
+
ListPanel.prototype.hs = function (a, b, c, d) {
|
|
2753
2775
|
if (a.count == 0 && b.count == 0 && c.count == 0 && d.count == 0) {
|
|
2754
2776
|
return;
|
|
2755
2777
|
}
|
|
@@ -2779,10 +2801,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2779
2801
|
}
|
|
2780
2802
|
}
|
|
2781
2803
|
this.b2 = e;
|
|
2782
|
-
this.
|
|
2783
|
-
this.
|
|
2804
|
+
this.gs(c, a);
|
|
2805
|
+
this.gv(d, b);
|
|
2784
2806
|
};
|
|
2785
|
-
ListPanel.prototype.
|
|
2807
|
+
ListPanel.prototype.hj = function (a, b) {
|
|
2786
2808
|
var e_4, _a, e_5, _b, e_6, _c;
|
|
2787
2809
|
var _this = this;
|
|
2788
2810
|
this.bo = true;
|
|
@@ -2904,7 +2926,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2904
2926
|
}
|
|
2905
2927
|
}
|
|
2906
2928
|
};
|
|
2907
|
-
ListPanel.prototype.
|
|
2929
|
+
ListPanel.prototype.hk = function (a, b) {
|
|
2908
2930
|
var e_7, _a, e_8, _b, e_9, _c;
|
|
2909
2931
|
var _this = this;
|
|
2910
2932
|
if (!this.bw && this.actualDataSource != null) {
|
|
@@ -2914,7 +2936,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2914
2936
|
case 0:
|
|
2915
2937
|
if (b.newItems != null) {
|
|
2916
2938
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
2917
|
-
var d = this.
|
|
2939
|
+
var d = this.ei(b.newItems.item(c));
|
|
2918
2940
|
this.ai.ae.insert1(c + b.newStartingIndex, d);
|
|
2919
2941
|
}
|
|
2920
2942
|
}
|
|
@@ -2934,7 +2956,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2934
2956
|
}
|
|
2935
2957
|
if (b.newItems != null) {
|
|
2936
2958
|
for (var g = 0; g < b.newItems.count; g++) {
|
|
2937
|
-
var h = this.
|
|
2959
|
+
var h = this.ei(b.newItems.item(g));
|
|
2938
2960
|
this.ai.ae.insert1(g + b.newStartingIndex, h);
|
|
2939
2961
|
}
|
|
2940
2962
|
}
|
|
@@ -2944,7 +2966,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2944
2966
|
try {
|
|
2945
2967
|
for (var _d = __values(fromEnum(this.al.ae)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
2946
2968
|
var i = _e.value;
|
|
2947
|
-
var j = this.
|
|
2969
|
+
var j = this.ei(i);
|
|
2948
2970
|
this.ai.add1(j);
|
|
2949
2971
|
}
|
|
2950
2972
|
}
|
|
@@ -3027,10 +3049,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3027
3049
|
}
|
|
3028
3050
|
}
|
|
3029
3051
|
};
|
|
3030
|
-
ListPanel.prototype.
|
|
3031
|
-
this.
|
|
3052
|
+
ListPanel.prototype.hp = function (a, b) {
|
|
3053
|
+
this.g3();
|
|
3032
3054
|
};
|
|
3033
|
-
ListPanel.prototype.
|
|
3055
|
+
ListPanel.prototype.gq = function (a, b) {
|
|
3034
3056
|
if (a == null) {
|
|
3035
3057
|
var c = this.al.ae.indexOf(b);
|
|
3036
3058
|
if (c > -1 && this.ai.ae.count > 0) {
|
|
@@ -3042,21 +3064,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3042
3064
|
}
|
|
3043
3065
|
this.bw = true;
|
|
3044
3066
|
if (!this.bb) {
|
|
3045
|
-
this.
|
|
3067
|
+
this.fi(a, b, true);
|
|
3046
3068
|
}
|
|
3047
3069
|
else {
|
|
3048
3070
|
this.cm.add1(a);
|
|
3049
3071
|
this.cn.add(b);
|
|
3050
3072
|
if (this.bc) {
|
|
3051
|
-
this.
|
|
3073
|
+
this.fi(a, b, false);
|
|
3052
3074
|
}
|
|
3053
3075
|
}
|
|
3054
3076
|
this.bw = false;
|
|
3055
3077
|
};
|
|
3056
|
-
ListPanel.prototype.
|
|
3057
|
-
this.
|
|
3078
|
+
ListPanel.prototype.hq = function (a, b) {
|
|
3079
|
+
this.g3();
|
|
3058
3080
|
};
|
|
3059
|
-
ListPanel.prototype.
|
|
3081
|
+
ListPanel.prototype.gr = function (a, b) {
|
|
3060
3082
|
if (a == null) {
|
|
3061
3083
|
var c = this.al.ae.indexOf(b);
|
|
3062
3084
|
if (c > -1 && this.ai.ae.count > 0) {
|
|
@@ -3068,18 +3090,18 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3068
3090
|
}
|
|
3069
3091
|
this.bw = true;
|
|
3070
3092
|
if (!this.bb) {
|
|
3071
|
-
this.
|
|
3093
|
+
this.hc(a, b, true);
|
|
3072
3094
|
}
|
|
3073
3095
|
else {
|
|
3074
3096
|
this.co.add1(a);
|
|
3075
3097
|
this.cp.add(b);
|
|
3076
3098
|
if (this.bc) {
|
|
3077
|
-
this.
|
|
3099
|
+
this.hc(a, b, false);
|
|
3078
3100
|
}
|
|
3079
3101
|
}
|
|
3080
3102
|
this.bw = false;
|
|
3081
3103
|
};
|
|
3082
|
-
ListPanel.prototype.
|
|
3104
|
+
ListPanel.prototype.fi = function (a, b, c) {
|
|
3083
3105
|
var d = this.b2;
|
|
3084
3106
|
this.b2 = false;
|
|
3085
3107
|
if (!this.bp) {
|
|
@@ -3088,11 +3110,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3088
3110
|
}
|
|
3089
3111
|
this.b2 = d;
|
|
3090
3112
|
if (c) {
|
|
3091
|
-
this.
|
|
3092
|
-
this.
|
|
3113
|
+
this.gt(null, a);
|
|
3114
|
+
this.gu(null, b);
|
|
3093
3115
|
}
|
|
3094
3116
|
};
|
|
3095
|
-
ListPanel.prototype.
|
|
3117
|
+
ListPanel.prototype.hr = function (a, b, c) {
|
|
3096
3118
|
var d = this.b2;
|
|
3097
3119
|
this.b2 = false;
|
|
3098
3120
|
var e = this.ai.ae._inner[a];
|
|
@@ -3100,9 +3122,9 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3100
3122
|
this.ai.ae._inner[a] = b;
|
|
3101
3123
|
}
|
|
3102
3124
|
this.b2 = d;
|
|
3103
|
-
this.
|
|
3125
|
+
this.gt(b, b);
|
|
3104
3126
|
};
|
|
3105
|
-
ListPanel.prototype.
|
|
3127
|
+
ListPanel.prototype.hc = function (a, b, c) {
|
|
3106
3128
|
var d = this.b2;
|
|
3107
3129
|
this.b2 = false;
|
|
3108
3130
|
if (!this.bp) {
|
|
@@ -3111,11 +3133,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3111
3133
|
}
|
|
3112
3134
|
this.b2 = d;
|
|
3113
3135
|
if (c) {
|
|
3114
|
-
this.
|
|
3115
|
-
this.
|
|
3136
|
+
this.gt(a, null);
|
|
3137
|
+
this.gu(b, null);
|
|
3116
3138
|
}
|
|
3117
3139
|
};
|
|
3118
|
-
ListPanel.prototype.
|
|
3140
|
+
ListPanel.prototype.gt = function (a, b) {
|
|
3119
3141
|
if (!this.cl && this.selectedItemsChanged != null) {
|
|
3120
3142
|
var c = new ListPanelSelectedItemsChangedEventArgs();
|
|
3121
3143
|
c.currentItems = this.ai;
|
|
@@ -3132,7 +3154,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3132
3154
|
this.selectedItemsChanged(this, c);
|
|
3133
3155
|
}
|
|
3134
3156
|
};
|
|
3135
|
-
ListPanel.prototype.
|
|
3157
|
+
ListPanel.prototype.gu = function (a, b) {
|
|
3136
3158
|
if (!this.cl && this.selectedKeysChanged != null) {
|
|
3137
3159
|
var c = new ListPanelSelectedKeysChangedEventArgs();
|
|
3138
3160
|
c.currentKeys = this.al;
|
|
@@ -3149,7 +3171,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3149
3171
|
this.selectedKeysChanged(this, c);
|
|
3150
3172
|
}
|
|
3151
3173
|
};
|
|
3152
|
-
ListPanel.prototype.
|
|
3174
|
+
ListPanel.prototype.gs = function (a, b) {
|
|
3153
3175
|
if (!this.cl && this.selectedItemsChanged != null) {
|
|
3154
3176
|
var c = new ListPanelSelectedItemsChangedEventArgs();
|
|
3155
3177
|
c.currentItems = this.ai;
|
|
@@ -3164,7 +3186,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3164
3186
|
this.selectedItemsChanged(this, c);
|
|
3165
3187
|
}
|
|
3166
3188
|
};
|
|
3167
|
-
ListPanel.prototype.
|
|
3189
|
+
ListPanel.prototype.gv = function (a, b) {
|
|
3168
3190
|
if (!this.cl && this.selectedKeysChanged != null) {
|
|
3169
3191
|
var c = new ListPanelSelectedKeysChangedEventArgs();
|
|
3170
3192
|
c.currentKeys = this.al;
|
|
@@ -3181,7 +3203,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3181
3203
|
this.selectedKeysChanged(this, c);
|
|
3182
3204
|
}
|
|
3183
3205
|
};
|
|
3184
|
-
ListPanel.prototype.
|
|
3206
|
+
ListPanel.prototype.fp = function () {
|
|
3185
3207
|
if (this.as == 1 || this.as == 2) {
|
|
3186
3208
|
if (this.ai.ae.count > 0) {
|
|
3187
3209
|
var a = new List$1(Base.$, 0);
|
|
@@ -3197,8 +3219,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3197
3219
|
this.aq.af();
|
|
3198
3220
|
this.cl = false;
|
|
3199
3221
|
this.bw = false;
|
|
3200
|
-
this.
|
|
3201
|
-
this.
|
|
3222
|
+
this.gs(a, null);
|
|
3223
|
+
this.gv(b, null);
|
|
3202
3224
|
this.aq.z(-1);
|
|
3203
3225
|
}
|
|
3204
3226
|
}
|
|
@@ -3207,12 +3229,12 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3207
3229
|
if (this.actualDataSource == null) {
|
|
3208
3230
|
return 0;
|
|
3209
3231
|
}
|
|
3210
|
-
if (a < 0 || a >= this.
|
|
3232
|
+
if (a < 0 || a >= this.d6()) {
|
|
3211
3233
|
return 0;
|
|
3212
3234
|
}
|
|
3213
3235
|
return this.actualDataSource.getRowType(a);
|
|
3214
3236
|
};
|
|
3215
|
-
ListPanel.prototype.
|
|
3237
|
+
ListPanel.prototype.eb = function (a, b, c, d) {
|
|
3216
3238
|
if (this.actualDataSource == null || c < 0) {
|
|
3217
3239
|
return -1;
|
|
3218
3240
|
}
|
|
@@ -3243,79 +3265,79 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3243
3265
|
}
|
|
3244
3266
|
return -1;
|
|
3245
3267
|
};
|
|
3246
|
-
ListPanel.prototype.
|
|
3268
|
+
ListPanel.prototype.ek = function (a) {
|
|
3247
3269
|
if (a < 0 || a > this.actualDataSource.actualCount - 1) {
|
|
3248
3270
|
return null;
|
|
3249
3271
|
}
|
|
3250
3272
|
return this.actualDataSource.getItemAtIndex(a);
|
|
3251
3273
|
};
|
|
3252
|
-
ListPanel.prototype.
|
|
3253
|
-
var e = this.
|
|
3274
|
+
ListPanel.prototype.dz = function (a, b, c, d) {
|
|
3275
|
+
var e = this.eb(a, b, c, d);
|
|
3254
3276
|
if (e >= 0) {
|
|
3255
3277
|
return e;
|
|
3256
3278
|
}
|
|
3257
|
-
return this.
|
|
3279
|
+
return this.ea(b);
|
|
3258
3280
|
};
|
|
3259
|
-
ListPanel.prototype.
|
|
3281
|
+
ListPanel.prototype.d6 = function () {
|
|
3260
3282
|
if (this.actualDataSource == null) {
|
|
3261
3283
|
return 0;
|
|
3262
3284
|
}
|
|
3263
3285
|
return this.actualDataSource.actualCount;
|
|
3264
3286
|
};
|
|
3265
|
-
ListPanel.prototype.
|
|
3287
|
+
ListPanel.prototype.el = function (a) {
|
|
3266
3288
|
var b = a.v;
|
|
3267
3289
|
if (b < 0 || b > this.actualDataSource.actualCount - 1) {
|
|
3268
3290
|
return null;
|
|
3269
3291
|
}
|
|
3270
3292
|
return this.actualDataSource.getItemAtIndex(b);
|
|
3271
3293
|
};
|
|
3272
|
-
ListPanel.prototype.
|
|
3294
|
+
ListPanel.prototype.gw = function (a, b, c) {
|
|
3273
3295
|
this.bw = true;
|
|
3274
|
-
this.
|
|
3296
|
+
this.hr(a, b, c);
|
|
3275
3297
|
this.bw = false;
|
|
3276
3298
|
};
|
|
3277
|
-
ListPanel.prototype.
|
|
3278
|
-
this.
|
|
3299
|
+
ListPanel.prototype.hn = function (a, b) {
|
|
3300
|
+
this.g3();
|
|
3279
3301
|
};
|
|
3280
|
-
ListPanel.prototype.
|
|
3302
|
+
ListPanel.prototype.ge = function (a) {
|
|
3281
3303
|
if (!this.bq) {
|
|
3282
|
-
this.
|
|
3304
|
+
this.dv = a;
|
|
3283
3305
|
}
|
|
3284
3306
|
if (this.activeRowChanged != null) {
|
|
3285
3307
|
var b = new ListPanelActiveRowChangedEventArgs();
|
|
3286
|
-
b.newActiveRow = this.
|
|
3287
|
-
b.oldActiveRow = this.
|
|
3308
|
+
b.newActiveRow = this.dv;
|
|
3309
|
+
b.oldActiveRow = this.di;
|
|
3288
3310
|
this.activeRowChanged(this, b);
|
|
3289
3311
|
}
|
|
3290
|
-
this.
|
|
3312
|
+
this.gf();
|
|
3291
3313
|
};
|
|
3292
|
-
ListPanel.prototype.
|
|
3293
|
-
this.
|
|
3314
|
+
ListPanel.prototype.ho = function (a, b) {
|
|
3315
|
+
this.g3();
|
|
3294
3316
|
};
|
|
3295
|
-
ListPanel.prototype.
|
|
3296
|
-
var b = this.
|
|
3317
|
+
ListPanel.prototype.gh = function (a) {
|
|
3318
|
+
var b = this.dv;
|
|
3297
3319
|
if (!this.bq) {
|
|
3298
|
-
this.
|
|
3320
|
+
this.dv = a;
|
|
3299
3321
|
}
|
|
3300
3322
|
if (this.activeRowChanged != null) {
|
|
3301
3323
|
var c = new ListPanelActiveRowChangedEventArgs();
|
|
3302
|
-
c.newActiveRow = this.
|
|
3324
|
+
c.newActiveRow = this.dv;
|
|
3303
3325
|
c.oldActiveRow = b;
|
|
3304
3326
|
this.activeRowChanged(this, c);
|
|
3305
3327
|
}
|
|
3306
|
-
this.
|
|
3328
|
+
this.gf();
|
|
3307
3329
|
};
|
|
3308
|
-
ListPanel.prototype.
|
|
3330
|
+
ListPanel.prototype.gf = function () {
|
|
3309
3331
|
};
|
|
3310
3332
|
ListPanel.prototype.ck = function (a) {
|
|
3311
|
-
var b = this.
|
|
3333
|
+
var b = this.dx(a);
|
|
3312
3334
|
if (b == -1) {
|
|
3313
3335
|
return false;
|
|
3314
3336
|
}
|
|
3315
|
-
this.
|
|
3337
|
+
this.hg(b);
|
|
3316
3338
|
return true;
|
|
3317
3339
|
};
|
|
3318
|
-
ListPanel.prototype.
|
|
3340
|
+
ListPanel.prototype.gm = function (a, b, c, d) {
|
|
3319
3341
|
if (this.by) {
|
|
3320
3342
|
var e = this.y(a);
|
|
3321
3343
|
this.x = e;
|
|
@@ -3338,12 +3360,12 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3338
3360
|
var c = b.y + this.ay.d.top;
|
|
3339
3361
|
var d = b.x + this.ay.d.left;
|
|
3340
3362
|
var e = this.cz;
|
|
3341
|
-
var f = this.
|
|
3363
|
+
var f = this.c5;
|
|
3342
3364
|
var g = a.v;
|
|
3343
3365
|
var h = -1;
|
|
3344
3366
|
if (this.ad == 2) {
|
|
3345
|
-
g = this.
|
|
3346
|
-
h = this.
|
|
3367
|
+
g = this.d9(g);
|
|
3368
|
+
h = this.d8(g);
|
|
3347
3369
|
e = this.cw._inner[h].a;
|
|
3348
3370
|
}
|
|
3349
3371
|
if (this.bz) {
|
|
@@ -3357,24 +3379,24 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3357
3379
|
}
|
|
3358
3380
|
return false;
|
|
3359
3381
|
};
|
|
3360
|
-
ListPanel.prototype.
|
|
3382
|
+
ListPanel.prototype.gn = function (a, b, c, d) {
|
|
3361
3383
|
if (this.by) {
|
|
3362
3384
|
var e = this.y(a);
|
|
3363
3385
|
if (e != null && e == this.x) {
|
|
3364
|
-
this.
|
|
3386
|
+
this.gg(e, b, c, d);
|
|
3365
3387
|
}
|
|
3366
3388
|
}
|
|
3367
3389
|
};
|
|
3368
|
-
ListPanel.prototype.
|
|
3390
|
+
ListPanel.prototype.gg = function (a, b, c, d) {
|
|
3369
3391
|
var _this = this;
|
|
3370
3392
|
if (b) {
|
|
3371
|
-
this.
|
|
3372
|
-
this.
|
|
3393
|
+
this.dp = -1;
|
|
3394
|
+
this.dn = -1;
|
|
3373
3395
|
this.cs.clear();
|
|
3374
3396
|
this.ct.clear();
|
|
3375
3397
|
this.bo = false;
|
|
3376
3398
|
this.aq.o(a, c, d, this.an == 0);
|
|
3377
|
-
this.
|
|
3399
|
+
this.gx();
|
|
3378
3400
|
if (this.r == 1) {
|
|
3379
3401
|
this.p.n(a);
|
|
3380
3402
|
}
|
|
@@ -3390,7 +3412,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3390
3412
|
})()));
|
|
3391
3413
|
}
|
|
3392
3414
|
};
|
|
3393
|
-
ListPanel.prototype.
|
|
3415
|
+
ListPanel.prototype.fr = function (a) {
|
|
3394
3416
|
for (var b = 0; b < this.a2.o.count; b++) {
|
|
3395
3417
|
if (this.a2.p._inner[b]) {
|
|
3396
3418
|
continue;
|
|
@@ -3401,10 +3423,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3401
3423
|
}
|
|
3402
3424
|
};
|
|
3403
3425
|
ListPanel.$t = markType(ListPanel, 'ListPanel', Base.$, [INotifyPropertyChanged_$type]);
|
|
3404
|
-
ListPanel.
|
|
3426
|
+
ListPanel.h1 = null;
|
|
3405
3427
|
ListPanel.ac = 0;
|
|
3406
3428
|
ListPanel.bt = false;
|
|
3407
|
-
ListPanel.
|
|
3429
|
+
ListPanel.h2 = BrushUtil.h(255, 24, 29, 31);
|
|
3408
3430
|
return ListPanel;
|
|
3409
3431
|
}(Base));
|
|
3410
3432
|
export { ListPanel };
|
|
@@ -3437,19 +3459,19 @@ var ListPanelDataSourceNotificationBridge = /** @class */ /*@__PURE__*/ (functio
|
|
|
3437
3459
|
return _this;
|
|
3438
3460
|
}
|
|
3439
3461
|
ListPanelDataSourceNotificationBridge.prototype.rangeActualized = function (a, b) {
|
|
3440
|
-
this.a.
|
|
3462
|
+
this.a.gj(a, b);
|
|
3441
3463
|
};
|
|
3442
3464
|
ListPanelDataSourceNotificationBridge.prototype.notifySetItem = function (a, b, c) {
|
|
3443
|
-
this.a.
|
|
3465
|
+
this.a.gy(a, b, c);
|
|
3444
3466
|
};
|
|
3445
3467
|
ListPanelDataSourceNotificationBridge.prototype.notifyClearItems = function () {
|
|
3446
|
-
this.a.
|
|
3468
|
+
this.a.gi();
|
|
3447
3469
|
};
|
|
3448
3470
|
ListPanelDataSourceNotificationBridge.prototype.notifyInsertItem = function (a, b) {
|
|
3449
|
-
this.a.
|
|
3471
|
+
this.a.gl(a, b);
|
|
3450
3472
|
};
|
|
3451
3473
|
ListPanelDataSourceNotificationBridge.prototype.notifyRemoveItem = function (a, b) {
|
|
3452
|
-
this.a.
|
|
3474
|
+
this.a.gp(a, b);
|
|
3453
3475
|
};
|
|
3454
3476
|
ListPanelDataSourceNotificationBridge.$t = markType(ListPanelDataSourceNotificationBridge, 'ListPanelDataSourceNotificationBridge', Base.$, [IDataSourceUpdateNotifier_$type]);
|
|
3455
3477
|
return ListPanelDataSourceNotificationBridge;
|
|
@@ -3488,14 +3510,14 @@ var ListPanelLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3488
3510
|
if (!isNaN_(a.absoluteWidth)) {
|
|
3489
3511
|
b.b.a.ae = a.absoluteWidth;
|
|
3490
3512
|
}
|
|
3491
|
-
b.b.a.y = a.
|
|
3513
|
+
b.b.a.y = a.c6(b.v);
|
|
3492
3514
|
}
|
|
3493
3515
|
else if (a.ad == 2) {
|
|
3494
|
-
b.b.a.ae = a.
|
|
3495
|
-
b.b.a.y = a.
|
|
3516
|
+
b.b.a.ae = a.c7(b.v);
|
|
3517
|
+
b.b.a.y = a.c6(b.v);
|
|
3496
3518
|
}
|
|
3497
3519
|
else {
|
|
3498
|
-
b.b.a.ae = a.
|
|
3520
|
+
b.b.a.ae = a.c7(b.v);
|
|
3499
3521
|
b.b.a.y = a.absoluteHeight;
|
|
3500
3522
|
}
|
|
3501
3523
|
if (b.o) {
|
|
@@ -3790,8 +3812,8 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3790
3812
|
var f = this.a.al.al(c);
|
|
3791
3813
|
if (f >= 0) {
|
|
3792
3814
|
if (this.a.ai.ae._inner[f] == null) {
|
|
3793
|
-
var g = this.a.
|
|
3794
|
-
this.a.
|
|
3815
|
+
var g = this.a.el(a);
|
|
3816
|
+
this.a.gw(f, g, c);
|
|
3795
3817
|
}
|
|
3796
3818
|
}
|
|
3797
3819
|
}
|
|
@@ -3852,13 +3874,13 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3852
3874
|
h.add(f._inner[j]);
|
|
3853
3875
|
i.add(this.d.q._inner[j]);
|
|
3854
3876
|
}
|
|
3855
|
-
this.a.
|
|
3877
|
+
this.a.fj();
|
|
3856
3878
|
this.d.g = true;
|
|
3857
3879
|
for (var k = 0; k < h.count; k++) {
|
|
3858
3880
|
this.ad(h._inner[k], i._inner[k], false);
|
|
3859
3881
|
}
|
|
3860
3882
|
this.d.g = false;
|
|
3861
|
-
this.a.
|
|
3883
|
+
this.a.ft();
|
|
3862
3884
|
}
|
|
3863
3885
|
if (c == null || b) {
|
|
3864
3886
|
return;
|
|
@@ -3875,7 +3897,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3875
3897
|
var f = typeCast(DataSourceSpecialRow.$, a.value[0]);
|
|
3876
3898
|
if (f.targetRow != null) {
|
|
3877
3899
|
var g = this.a.ae(this.a.e(), f.targetRow);
|
|
3878
|
-
var h = this.a.
|
|
3900
|
+
var h = this.a.eb(this.a.e(), g, this.a.d2(), this.a.d4());
|
|
3879
3901
|
this.y(g, h, f.targetRow, true);
|
|
3880
3902
|
}
|
|
3881
3903
|
e = true;
|
|
@@ -3884,7 +3906,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3884
3906
|
}
|
|
3885
3907
|
var i = null;
|
|
3886
3908
|
if (!e) {
|
|
3887
|
-
i = this.a.
|
|
3909
|
+
i = this.a.ek(b);
|
|
3888
3910
|
}
|
|
3889
3911
|
this.y(a, b, i, d);
|
|
3890
3912
|
};
|
|
@@ -3897,12 +3919,12 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3897
3919
|
e = true;
|
|
3898
3920
|
}
|
|
3899
3921
|
if (e) {
|
|
3900
|
-
this.a.
|
|
3922
|
+
this.a.hp(this.a, b);
|
|
3901
3923
|
}
|
|
3902
3924
|
}
|
|
3903
3925
|
}
|
|
3904
3926
|
if (d) {
|
|
3905
|
-
this.a.
|
|
3927
|
+
this.a.gq(c, a);
|
|
3906
3928
|
}
|
|
3907
3929
|
};
|
|
3908
3930
|
ListPanelSelectionManager.prototype.ae = function (a, b, c, d) {
|
|
@@ -3916,13 +3938,13 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3916
3938
|
if (e) {
|
|
3917
3939
|
var f = this.a.af(this.a.e(), b);
|
|
3918
3940
|
if (f != null && f.equals(a) && b >= 0) {
|
|
3919
|
-
this.a.
|
|
3941
|
+
this.a.hq(this.a, b);
|
|
3920
3942
|
}
|
|
3921
3943
|
}
|
|
3922
3944
|
}
|
|
3923
3945
|
}
|
|
3924
3946
|
if (d) {
|
|
3925
|
-
this.a.
|
|
3947
|
+
this.a.gr(c, a);
|
|
3926
3948
|
}
|
|
3927
3949
|
};
|
|
3928
3950
|
ListPanelSelectionManager.prototype.ad = function (a, b, c) {
|
|
@@ -3933,7 +3955,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3933
3955
|
var f = typeCast(DataSourceSpecialRow.$, a.value[0]);
|
|
3934
3956
|
if (f.targetRow != null) {
|
|
3935
3957
|
var g = this.a.ae(this.a.e(), f.targetRow);
|
|
3936
|
-
var h = this.a.
|
|
3958
|
+
var h = this.a.eb(this.a.e(), g, this.a.d2(), this.a.d4());
|
|
3937
3959
|
this.ae(g, h, f.targetRow, true);
|
|
3938
3960
|
}
|
|
3939
3961
|
e = true;
|
|
@@ -3942,7 +3964,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3942
3964
|
}
|
|
3943
3965
|
var i = null;
|
|
3944
3966
|
if (!e) {
|
|
3945
|
-
i = this.a.
|
|
3967
|
+
i = this.a.ek(b);
|
|
3946
3968
|
}
|
|
3947
3969
|
this.ae(a, b, i, d);
|
|
3948
3970
|
};
|
|
@@ -3956,7 +3978,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3956
3978
|
e = this.d.item(d);
|
|
3957
3979
|
}
|
|
3958
3980
|
if (e == -1) {
|
|
3959
|
-
e = this.a.
|
|
3981
|
+
e = this.a.eb(this.a.e(), d, this.a.d2(), this.a.d4());
|
|
3960
3982
|
}
|
|
3961
3983
|
if (!b.containsKey(d)) {
|
|
3962
3984
|
b.addItem(d, e);
|
|
@@ -3990,7 +4012,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3990
4012
|
o = this.d.item(n);
|
|
3991
4013
|
}
|
|
3992
4014
|
if (o == -1) {
|
|
3993
|
-
o = this.a.
|
|
4015
|
+
o = this.a.dz(this.a.e(), n, this.a.d2(), this.a.d4());
|
|
3994
4016
|
}
|
|
3995
4017
|
this.ad(n, o, false);
|
|
3996
4018
|
}
|
|
@@ -4102,13 +4124,13 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4102
4124
|
}
|
|
4103
4125
|
var d = this.d.o._inner[c];
|
|
4104
4126
|
a.add(this.d.item(d));
|
|
4105
|
-
var e = this.a.
|
|
4127
|
+
var e = this.a.eb(this.a.e(), d, this.a.d2(), this.a.d4());
|
|
4106
4128
|
b.add_1(e);
|
|
4107
4129
|
this.d.item(d, -1);
|
|
4108
4130
|
}
|
|
4109
4131
|
for (var f = 0; f < a.count; f++) {
|
|
4110
4132
|
if (!b.contains(a._inner[f])) {
|
|
4111
|
-
this.a.
|
|
4133
|
+
this.a.hq(this.a, a._inner[f]);
|
|
4112
4134
|
}
|
|
4113
4135
|
}
|
|
4114
4136
|
};
|
|
@@ -4149,7 +4171,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4149
4171
|
$ret.d = Math.max(_this.m, a.v);
|
|
4150
4172
|
return $ret;
|
|
4151
4173
|
})());
|
|
4152
|
-
this.a.
|
|
4174
|
+
this.a.fj();
|
|
4153
4175
|
if (this.b != null) {
|
|
4154
4176
|
for (var f = this.b.f; f <= this.b.d; f++) {
|
|
4155
4177
|
if (!e.b(f)) {
|
|
@@ -4166,7 +4188,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4166
4188
|
this.x(i, h, false);
|
|
4167
4189
|
}
|
|
4168
4190
|
}
|
|
4169
|
-
this.a.
|
|
4191
|
+
this.a.ft();
|
|
4170
4192
|
this.b = e;
|
|
4171
4193
|
}
|
|
4172
4194
|
};
|
|
@@ -4174,8 +4196,8 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4174
4196
|
if (this.a.actualDataSource == null) {
|
|
4175
4197
|
return;
|
|
4176
4198
|
}
|
|
4177
|
-
this.a.
|
|
4178
|
-
var a = this.a.
|
|
4199
|
+
this.a.fj();
|
|
4200
|
+
var a = this.a.d6();
|
|
4179
4201
|
for (var b = 0; b < a; b++) {
|
|
4180
4202
|
var c = this.a.actualDataSource.getItemAtIndex(b);
|
|
4181
4203
|
if (typeCast(DataSourceSpecialRow.$, c) !== null) {
|
|
@@ -4186,7 +4208,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4186
4208
|
this.x(d, b, false);
|
|
4187
4209
|
}
|
|
4188
4210
|
}
|
|
4189
|
-
this.a.
|
|
4211
|
+
this.a.ft();
|
|
4190
4212
|
};
|
|
4191
4213
|
ListPanelSelectionManager.$t = markType(ListPanelSelectionManager, 'ListPanelSelectionManager');
|
|
4192
4214
|
return ListPanelSelectionManager;
|
|
@@ -4302,12 +4324,12 @@ var ListPanelActivationManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
4302
4324
|
if (a != this.g) {
|
|
4303
4325
|
this.g = a;
|
|
4304
4326
|
if (a >= 0) {
|
|
4305
|
-
if (a >= 0 && a < this.a.
|
|
4327
|
+
if (a >= 0 && a < this.a.d6()) {
|
|
4306
4328
|
}
|
|
4307
|
-
this.a.
|
|
4329
|
+
this.a.hn(this.a, a);
|
|
4308
4330
|
}
|
|
4309
4331
|
if (b) {
|
|
4310
|
-
this.a.
|
|
4332
|
+
this.a.ge(a);
|
|
4311
4333
|
}
|
|
4312
4334
|
}
|
|
4313
4335
|
};
|
|
@@ -4317,14 +4339,14 @@ var ListPanelActivationManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
4317
4339
|
if (a >= 0) {
|
|
4318
4340
|
{
|
|
4319
4341
|
{
|
|
4320
|
-
if (a >= 0 && a < this.a.
|
|
4342
|
+
if (a >= 0 && a < this.a.d6()) {
|
|
4321
4343
|
}
|
|
4322
|
-
this.a.
|
|
4344
|
+
this.a.ho(this.a, a);
|
|
4323
4345
|
}
|
|
4324
4346
|
}
|
|
4325
4347
|
}
|
|
4326
4348
|
if (b) {
|
|
4327
|
-
this.a.
|
|
4349
|
+
this.a.gh(a);
|
|
4328
4350
|
}
|
|
4329
4351
|
}
|
|
4330
4352
|
};
|