igniteui-webcomponents-layouts 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +7393 -6728
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorBridge.js +6 -6
- package/esm2015/lib/ComboEditorView_combined.js +32 -32
- package/esm2015/lib/ListPanelContentRebindEventArgs.js +26 -0
- package/esm2015/lib/ListPanelContentRecycledEventArgs.js +26 -0
- package/esm2015/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/ListPanelView_combined.js +1267 -1233
- package/esm2015/lib/NativeUILayoutFactory_combined.js +5036 -4716
- package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm2015/lib/igc-list-panel-component.js +144 -86
- package/esm2015/lib/igc-list-panel-content-rebind-event-args.js +42 -0
- package/esm2015/lib/igc-list-panel-content-recycled-event-args.js +42 -0
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +162 -165
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +277 -256
- package/esm2015/lib/igc-toolbar-component.js +180 -159
- package/esm2015/public_api.js +4 -0
- package/esm5/lib/ComboEditorBridge.js +6 -6
- package/esm5/lib/ComboEditorView_combined.js +32 -32
- package/esm5/lib/ListPanelContentRebindEventArgs.js +32 -0
- package/esm5/lib/ListPanelContentRecycledEventArgs.js +32 -0
- package/esm5/lib/ListPanelScrollerKeyboardListener.js +15 -15
- package/esm5/lib/ListPanelView_combined.js +1254 -1216
- package/esm5/lib/NativeUILayoutFactory_combined.js +4882 -4534
- package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
- package/esm5/lib/igc-list-panel-component.js +154 -86
- package/esm5/lib/igc-list-panel-content-rebind-event-args.js +52 -0
- package/esm5/lib/igc-list-panel-content-recycled-event-args.js +52 -0
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +162 -165
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +34 -37
- package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +285 -256
- package/esm5/lib/igc-toolbar-component.js +188 -159
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +7526 -6949
- package/fesm5/igniteui-webcomponents-layouts.js +7391 -6730
- package/lib/INativeUIToolPanelBridge.d.ts +1 -0
- package/lib/ListPanelContentRebindEventArgs.d.ts +10 -0
- package/lib/ListPanelContentRecycledEventArgs.d.ts +10 -0
- package/lib/ListPanelView_combined.d.ts +245 -240
- package/lib/NativeUILayoutFactory_combined.d.ts +1167 -1119
- package/lib/igc-list-panel-component.d.ts +16 -0
- package/lib/igc-list-panel-content-rebind-event-args.d.ts +20 -0
- package/lib/igc-list-panel-content-recycled-event-args.d.ts +20 -0
- package/lib/igc-tool-action-component.d.ts +0 -1
- package/lib/igc-tool-action-icon-button-component.d.ts +0 -1
- package/lib/igc-tool-panel-component.d.ts +11 -0
- package/lib/igc-toolbar-component.d.ts +11 -0
- package/package.json +3 -3
- package/public_api.d.ts +4 -0
|
@@ -28,11 +28,13 @@ import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
|
|
|
28
28
|
import { ListPanelOrientation_$type } from "./ListPanelOrientation";
|
|
29
29
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
30
30
|
import { FastIterationDictionary$2 } from "igniteui-webcomponents-core";
|
|
31
|
-
import {
|
|
31
|
+
import { Queue$1 } from "igniteui-webcomponents-core";
|
|
32
32
|
import { ListPanelPrimaryKeyValue } from "./ListPanelPrimaryKeyValue";
|
|
33
33
|
import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
|
|
34
34
|
import { ListPanelViewportChangedEventArgs } from "./ListPanelViewportChangedEventArgs";
|
|
35
35
|
import { DataSourceSpecialRow } from "igniteui-webcomponents-core";
|
|
36
|
+
import { ListPanelContentRecycledEventArgs } from "./ListPanelContentRecycledEventArgs";
|
|
37
|
+
import { ListPanelContentRebindEventArgs } from "./ListPanelContentRebindEventArgs";
|
|
36
38
|
import { ListPanelSelectedItemsChangedEventArgs } from "./ListPanelSelectedItemsChangedEventArgs";
|
|
37
39
|
import { ListPanelSelectedKeysChangedEventArgs } from "./ListPanelSelectedKeysChangedEventArgs";
|
|
38
40
|
import { ListPanelSelectionChangedEventArgs } from "./ListPanelSelectionChangedEventArgs";
|
|
@@ -123,7 +125,7 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
123
125
|
this.ae();
|
|
124
126
|
NativeUIComponent.au(this.s(), 9, function (c) {
|
|
125
127
|
var d = c;
|
|
126
|
-
_this.a.
|
|
128
|
+
_this.a.f0(d);
|
|
127
129
|
_this.k = d.an;
|
|
128
130
|
});
|
|
129
131
|
var c = Math.round(a.rootWrapper.width());
|
|
@@ -134,11 +136,11 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
134
136
|
};
|
|
135
137
|
ListPanelView.prototype.t = function (a) {
|
|
136
138
|
var b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
|
|
137
|
-
this.a.
|
|
139
|
+
this.a.gj(b, a.button == 0, a.shiftKey, a.ctrlKey);
|
|
138
140
|
};
|
|
139
141
|
ListPanelView.prototype.u = function (a) {
|
|
140
142
|
var b = { $type: Point_$type, x: a.pageX - this.j.rootWrapper.getOffset().left, y: a.pageY - this.j.rootWrapper.getOffset().top };
|
|
141
|
-
this.a.
|
|
143
|
+
this.a.gk(b, a.button == 0, a.shiftKey, a.ctrlKey);
|
|
142
144
|
};
|
|
143
145
|
Object.defineProperty(ListPanelView.prototype, "contentGrid", {
|
|
144
146
|
get: function () {
|
|
@@ -169,10 +171,10 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
169
171
|
}
|
|
170
172
|
this.ag = new Size(1, c, d);
|
|
171
173
|
this.a.onSizeChanged(this.ag.width, this.ag.height);
|
|
172
|
-
if (!this.a.
|
|
173
|
-
this.a.setViewport(this.a.
|
|
174
|
+
if (!this.a.ay.d.isEmpty && (a != this.a.ay.d.width || b != this.a.ay.d.height)) {
|
|
175
|
+
this.a.setViewport(this.a.ay.d.left, this.a.ay.d.top, this.a.ay.d.left + a, this.a.ay.d.top + b);
|
|
174
176
|
}
|
|
175
|
-
if (this.a.
|
|
177
|
+
if (this.a.ay.d.isEmpty && a > 0 && b > 0) {
|
|
176
178
|
this.a.setViewport(0, 0, a, b);
|
|
177
179
|
}
|
|
178
180
|
};
|
|
@@ -183,8 +185,8 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
183
185
|
}
|
|
184
186
|
var b = a.rootWrapper;
|
|
185
187
|
if (null != b) {
|
|
186
|
-
NativeUI.q(b, this.a.
|
|
187
|
-
NativeUI.m(b, this.a.
|
|
188
|
+
NativeUI.q(b, this.a.h3);
|
|
189
|
+
NativeUI.m(b, this.a.hx);
|
|
188
190
|
}
|
|
189
191
|
};
|
|
190
192
|
ListPanelView.prototype.d = function () {
|
|
@@ -203,7 +205,7 @@ var ListPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
203
205
|
return this.ag.width;
|
|
204
206
|
};
|
|
205
207
|
ListPanelView.prototype.i = function (a) {
|
|
206
|
-
this.c = this.a.
|
|
208
|
+
this.c = this.a.a5();
|
|
207
209
|
return FontUtil.measureStringWidth(a, this.c, this.e);
|
|
208
210
|
};
|
|
209
211
|
ListPanelView.prototype.w = function (a, b) {
|
|
@@ -227,112 +229,114 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
227
229
|
function ListPanel() {
|
|
228
230
|
var _this = _super.call(this) || this;
|
|
229
231
|
_this._view = null;
|
|
230
|
-
_this.
|
|
231
|
-
_this.
|
|
232
|
-
_this.
|
|
233
|
-
_this.
|
|
232
|
+
_this.a6 = null;
|
|
233
|
+
_this.be = false;
|
|
234
|
+
_this.a7 = null;
|
|
235
|
+
_this.aa = null;
|
|
234
236
|
_this.propertyChanged = null;
|
|
235
|
-
_this.
|
|
237
|
+
_this.ed = null;
|
|
236
238
|
_this.viewportChanged = null;
|
|
237
|
-
_this.
|
|
238
|
-
_this.
|
|
239
|
-
_this.
|
|
240
|
-
_this.
|
|
241
|
-
_this.
|
|
242
|
-
_this.
|
|
243
|
-
_this.
|
|
244
|
-
_this.
|
|
245
|
-
_this.
|
|
246
|
-
_this.c8 = truncate(DeviceUtils.g(1));
|
|
239
|
+
_this.ay = null;
|
|
240
|
+
_this.dh = -1;
|
|
241
|
+
_this.di = -1;
|
|
242
|
+
_this.ar = 0;
|
|
243
|
+
_this.bh = true;
|
|
244
|
+
_this.hu = null;
|
|
245
|
+
_this.ba = true;
|
|
246
|
+
_this.hs = null;
|
|
247
|
+
_this.hq = null;
|
|
247
248
|
_this.da = truncate(DeviceUtils.g(1));
|
|
249
|
+
_this.dc = truncate(DeviceUtils.g(1));
|
|
250
|
+
_this.db = truncate(DeviceUtils.g(1));
|
|
248
251
|
_this.c9 = truncate(DeviceUtils.g(1));
|
|
249
|
-
_this.c7 = truncate(DeviceUtils.g(1));
|
|
250
252
|
_this.q = 0;
|
|
251
|
-
_this.
|
|
253
|
+
_this.am = 1;
|
|
252
254
|
_this.b = null;
|
|
253
255
|
_this.a = null;
|
|
254
|
-
_this.
|
|
256
|
+
_this.ap = null;
|
|
255
257
|
_this.o = null;
|
|
258
|
+
_this.itemRecycled = null;
|
|
259
|
+
_this.itemRebind = null;
|
|
256
260
|
_this.selectedItemsChanged = null;
|
|
257
261
|
_this.selectedKeysChanged = null;
|
|
258
262
|
_this.selectionChanged = null;
|
|
259
263
|
_this.activeRowChanged = null;
|
|
260
|
-
_this.
|
|
261
|
-
_this.
|
|
264
|
+
_this.ah = new ListPanelSelectedItemsCollection();
|
|
265
|
+
_this.ak = new ListPanelSelectedKeysCollection();
|
|
262
266
|
_this.i = null;
|
|
263
267
|
_this.c = new Array(0);
|
|
264
|
-
_this.
|
|
265
|
-
_this.
|
|
266
|
-
_this.
|
|
267
|
-
_this.
|
|
268
|
-
_this.
|
|
269
|
-
_this.
|
|
270
|
-
_this.
|
|
271
|
-
_this.
|
|
272
|
-
_this.
|
|
273
|
-
_this.
|
|
274
|
-
_this.
|
|
275
|
-
_this.
|
|
276
|
-
_this.
|
|
268
|
+
_this.bu = false;
|
|
269
|
+
_this.dk = -1;
|
|
270
|
+
_this.c0 = DeviceUtils.g(42);
|
|
271
|
+
_this.a3 = null;
|
|
272
|
+
_this.bd = true;
|
|
273
|
+
_this.ee = null;
|
|
274
|
+
_this.c1 = 0;
|
|
275
|
+
_this.cz = NaN;
|
|
276
|
+
_this.cy = 0;
|
|
277
|
+
_this.bn = false;
|
|
278
|
+
_this.bg = false;
|
|
279
|
+
_this.bm = false;
|
|
280
|
+
_this.dj = -1;
|
|
277
281
|
_this.contentRefreshed = null;
|
|
278
282
|
_this.rowUpdating = null;
|
|
279
|
-
_this.
|
|
283
|
+
_this.a2 = new FastIterationDictionary$2(Number_$type, ListPanelItemModel.$, 0);
|
|
280
284
|
_this.itemWidthRequested = null;
|
|
281
285
|
_this.itemHeightRequested = null;
|
|
282
|
-
_this.
|
|
283
|
-
_this.
|
|
284
|
-
_this.
|
|
285
|
-
_this.
|
|
286
|
-
_this.
|
|
287
|
-
_this.
|
|
288
|
-
_this.
|
|
289
|
-
_this.
|
|
290
|
-
_this.
|
|
291
|
-
_this.
|
|
292
|
-
_this.
|
|
293
|
-
_this.
|
|
294
|
-
_this.
|
|
295
|
-
_this.
|
|
286
|
+
_this.a1 = new FastIterationDictionary$2(ListPanelItemModel.$, ListPanelItemModel.$, 0);
|
|
287
|
+
_this.cx = new Queue$1(ListPanelItemModel.$);
|
|
288
|
+
_this.cr = new List$1(Number_$type, 0);
|
|
289
|
+
_this.cq = new List$1(Number_$type, 0);
|
|
290
|
+
_this.cv = new List$1(Number_$type, 0);
|
|
291
|
+
_this.cu = new List$1(Number_$type, 0);
|
|
292
|
+
_this.dn = -1;
|
|
293
|
+
_this.cw = null;
|
|
294
|
+
_this.az = 1;
|
|
295
|
+
_this.ht = null;
|
|
296
|
+
_this.br = true;
|
|
297
|
+
_this.bk = true;
|
|
298
|
+
_this.de = -1;
|
|
299
|
+
_this.df = -1;
|
|
296
300
|
_this.l = null;
|
|
297
|
-
_this.
|
|
301
|
+
_this.by = false;
|
|
298
302
|
_this.k = null;
|
|
299
|
-
_this.
|
|
300
|
-
_this.
|
|
301
|
-
_this.
|
|
302
|
-
_this.
|
|
303
|
-
_this.
|
|
304
|
-
_this.
|
|
305
|
-
_this.
|
|
306
|
-
_this.
|
|
303
|
+
_this.hr = ListPanel.hy;
|
|
304
|
+
_this.ab = ListPanel.ac;
|
|
305
|
+
_this.bi = ListPanel.bt;
|
|
306
|
+
_this.hv = ListPanel.hz;
|
|
307
|
+
_this.dl = -1;
|
|
308
|
+
_this.dm = -1;
|
|
309
|
+
_this.bj = true;
|
|
310
|
+
_this.dd = 0;
|
|
307
311
|
_this._viewportManager = null;
|
|
308
|
-
_this.
|
|
309
|
-
_this.
|
|
310
|
-
_this.ck = new List$1(Base.$, 0);
|
|
311
|
-
_this.cl = new List$1(ListPanelPrimaryKeyValue.$, 0);
|
|
312
|
+
_this.cs = new List$1(Number_$type, 0);
|
|
313
|
+
_this.ct = new List$1(Number_$type, 0);
|
|
312
314
|
_this.cm = new List$1(Base.$, 0);
|
|
313
315
|
_this.cn = new List$1(ListPanelPrimaryKeyValue.$, 0);
|
|
314
|
-
_this.
|
|
315
|
-
_this.
|
|
316
|
-
_this.
|
|
317
|
-
_this.
|
|
318
|
-
_this.
|
|
319
|
-
_this.
|
|
320
|
-
_this.
|
|
321
|
-
_this.de = -1;
|
|
316
|
+
_this.co = new List$1(Base.$, 0);
|
|
317
|
+
_this.cp = new List$1(ListPanelPrimaryKeyValue.$, 0);
|
|
318
|
+
_this.bc = false;
|
|
319
|
+
_this.bb = false;
|
|
320
|
+
_this.bf = false;
|
|
321
|
+
_this.bl = false;
|
|
322
|
+
_this.bp = false;
|
|
322
323
|
_this.bo = false;
|
|
323
|
-
_this.
|
|
324
|
-
_this.
|
|
324
|
+
_this.cl = false;
|
|
325
|
+
_this.dg = -1;
|
|
326
|
+
_this.bq = false;
|
|
327
|
+
_this.a9 = null;
|
|
328
|
+
_this.x = null;
|
|
325
329
|
_this.itemClicked = null;
|
|
326
|
-
_this.
|
|
330
|
+
_this.aq = new ListPanelSelectionManager(_this);
|
|
327
331
|
_this.p = new ListPanelActivationManager(_this);
|
|
328
332
|
NativeUIInputsFactory.n();
|
|
329
|
-
_this.
|
|
333
|
+
_this.ay = new ListPanelVisualModel();
|
|
330
334
|
var a = new ListPanelView();
|
|
331
335
|
a.a = _this;
|
|
332
336
|
_this.view = a;
|
|
333
337
|
_this.view.ab();
|
|
334
|
-
_this.
|
|
335
|
-
_this.
|
|
338
|
+
_this.ah.ag(runOn(_this, _this.hg));
|
|
339
|
+
_this.ak.an(runOn(_this, _this.hh));
|
|
336
340
|
return _this;
|
|
337
341
|
}
|
|
338
342
|
Object.defineProperty(ListPanel.prototype, "view", {
|
|
@@ -345,40 +349,40 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
345
349
|
enumerable: false,
|
|
346
350
|
configurable: true
|
|
347
351
|
});
|
|
348
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
352
|
+
Object.defineProperty(ListPanel.prototype, "a8", {
|
|
349
353
|
get: function () {
|
|
350
|
-
if (this.
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
354
|
+
if (this.a7 == null) {
|
|
355
|
+
this.a7 = new SRProvider(this.view.j);
|
|
356
|
+
this.a7.cb("Layouts");
|
|
353
357
|
}
|
|
354
|
-
return this.
|
|
358
|
+
return this.a7;
|
|
355
359
|
},
|
|
356
360
|
enumerable: false,
|
|
357
361
|
configurable: true
|
|
358
362
|
});
|
|
359
|
-
ListPanel.prototype.
|
|
360
|
-
this.
|
|
363
|
+
ListPanel.prototype.f0 = function (a) {
|
|
364
|
+
this.aa = new ListPanelLayoutPanel(a);
|
|
361
365
|
};
|
|
362
366
|
ListPanel.prototype.onSizeChanged = function (a, b) {
|
|
363
|
-
var c = this.
|
|
364
|
-
var d = this.
|
|
365
|
-
this.
|
|
366
|
-
if (this.
|
|
367
|
-
if (d != this.
|
|
368
|
-
this.view.x(this.
|
|
367
|
+
var c = this.cz;
|
|
368
|
+
var d = this.cy;
|
|
369
|
+
this.cz = this.view.h();
|
|
370
|
+
if (this.ad != 1) {
|
|
371
|
+
if (d != this.cy || c != (isNaN_(this.cz) ? 0 : this.cz)) {
|
|
372
|
+
this.view.x(this.cz, this.cy);
|
|
369
373
|
}
|
|
370
374
|
}
|
|
371
|
-
this.
|
|
375
|
+
this.g6();
|
|
372
376
|
};
|
|
373
377
|
ListPanel.prototype.setViewport = function (a, b, c, d) {
|
|
374
|
-
this.
|
|
375
|
-
this.
|
|
378
|
+
this.dh = -1;
|
|
379
|
+
this.di = -1;
|
|
376
380
|
var e = c - a;
|
|
377
381
|
var f = new Rect(0, a, b, c - a, d - b);
|
|
378
|
-
if (f.x != this.
|
|
379
|
-
var g_1 = this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
+
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
|
+
var g_1 = this.ay.d;
|
|
384
|
+
this.ay.d = f;
|
|
385
|
+
this.g7();
|
|
382
386
|
if (this.viewportChanged != null) {
|
|
383
387
|
this.viewportChanged(this, ((function () {
|
|
384
388
|
var $ret = new ListPanelViewportChangedEventArgs();
|
|
@@ -395,7 +399,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
395
399
|
}
|
|
396
400
|
}
|
|
397
401
|
};
|
|
398
|
-
ListPanel.prototype.
|
|
402
|
+
ListPanel.prototype.af = function (a, b) {
|
|
399
403
|
if (this.actualDataSource == null) {
|
|
400
404
|
return null;
|
|
401
405
|
}
|
|
@@ -406,9 +410,9 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
406
410
|
if (c == null) {
|
|
407
411
|
return null;
|
|
408
412
|
}
|
|
409
|
-
return this.
|
|
413
|
+
return this.ae(a, c);
|
|
410
414
|
};
|
|
411
|
-
ListPanel.prototype.
|
|
415
|
+
ListPanel.prototype.ae = function (a, item_) {
|
|
412
416
|
var b = (item_ != null && item_.$$isSpecialRow !== undefined);
|
|
413
417
|
if (a == null) {
|
|
414
418
|
if (item_ == null) {
|
|
@@ -438,7 +442,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
438
442
|
}
|
|
439
443
|
return new ListPanelPrimaryKeyValue(a, g);
|
|
440
444
|
};
|
|
441
|
-
ListPanel.prototype.
|
|
445
|
+
ListPanel.prototype.d8 = function (a) {
|
|
442
446
|
if (this.actualDataSource == null) {
|
|
443
447
|
return -1;
|
|
444
448
|
}
|
|
@@ -447,8 +451,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
447
451
|
}
|
|
448
452
|
return -1;
|
|
449
453
|
};
|
|
450
|
-
ListPanel.prototype.
|
|
451
|
-
var b = this.
|
|
454
|
+
ListPanel.prototype.eg = function (a) {
|
|
455
|
+
var b = this.d8(a);
|
|
452
456
|
if (b == -1) {
|
|
453
457
|
if (a.value != null && a.value.length == 1) {
|
|
454
458
|
return a.value[0];
|
|
@@ -463,137 +467,137 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
463
467
|
}
|
|
464
468
|
return this.d;
|
|
465
469
|
};
|
|
466
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
470
|
+
Object.defineProperty(ListPanel.prototype, "as", {
|
|
467
471
|
get: function () {
|
|
468
|
-
return this.
|
|
472
|
+
return this.ar;
|
|
469
473
|
},
|
|
470
474
|
set: function (a) {
|
|
471
|
-
var b = this.
|
|
472
|
-
this.
|
|
473
|
-
if (b != this.
|
|
474
|
-
this.
|
|
475
|
+
var b = this.ar;
|
|
476
|
+
this.ar = a;
|
|
477
|
+
if (b != this.ar) {
|
|
478
|
+
this.gl("SelectionMode", enumGetBox(ListPanelSelectionMode_$type, b), enumGetBox(ListPanelSelectionMode_$type, this.ar));
|
|
475
479
|
}
|
|
476
480
|
},
|
|
477
481
|
enumerable: false,
|
|
478
482
|
configurable: true
|
|
479
483
|
});
|
|
480
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
484
|
+
Object.defineProperty(ListPanel.prototype, "bx", {
|
|
481
485
|
get: function () {
|
|
482
|
-
return this.
|
|
486
|
+
return this.bh;
|
|
483
487
|
},
|
|
484
488
|
set: function (a) {
|
|
485
|
-
var b = this.
|
|
486
|
-
this.
|
|
487
|
-
if (this.
|
|
488
|
-
this.
|
|
489
|
+
var b = this.bh;
|
|
490
|
+
this.bh = a;
|
|
491
|
+
if (this.bh != b) {
|
|
492
|
+
this.gl("IsActiveRowStyleEnabled", b, this.bh);
|
|
489
493
|
}
|
|
490
494
|
},
|
|
491
495
|
enumerable: false,
|
|
492
496
|
configurable: true
|
|
493
497
|
});
|
|
494
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
498
|
+
Object.defineProperty(ListPanel.prototype, "h2", {
|
|
495
499
|
get: function () {
|
|
496
|
-
return this.
|
|
500
|
+
return this.hu;
|
|
497
501
|
},
|
|
498
502
|
set: function (a) {
|
|
499
|
-
var b = this.
|
|
500
|
-
this.
|
|
501
|
-
if (this.
|
|
502
|
-
this.
|
|
503
|
+
var b = this.hu;
|
|
504
|
+
this.hu = a;
|
|
505
|
+
if (this.hu != b) {
|
|
506
|
+
this.gl("SelectedBackground", b, this.hu);
|
|
503
507
|
}
|
|
504
508
|
},
|
|
505
509
|
enumerable: false,
|
|
506
510
|
configurable: true
|
|
507
511
|
});
|
|
508
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
512
|
+
Object.defineProperty(ListPanel.prototype, "bs", {
|
|
509
513
|
get: function () {
|
|
510
|
-
return this.
|
|
514
|
+
return this.ba;
|
|
511
515
|
},
|
|
512
516
|
set: function (a) {
|
|
513
|
-
this.
|
|
517
|
+
this.ba = a;
|
|
514
518
|
},
|
|
515
519
|
enumerable: false,
|
|
516
520
|
configurable: true
|
|
517
521
|
});
|
|
518
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
522
|
+
Object.defineProperty(ListPanel.prototype, "h0", {
|
|
519
523
|
get: function () {
|
|
520
|
-
return this.
|
|
524
|
+
return this.hs;
|
|
521
525
|
},
|
|
522
526
|
set: function (a) {
|
|
523
|
-
var b = this.
|
|
524
|
-
this.
|
|
525
|
-
if (this.
|
|
526
|
-
this.
|
|
527
|
+
var b = this.hs;
|
|
528
|
+
this.hs = a;
|
|
529
|
+
if (this.hs != b) {
|
|
530
|
+
this.gl("NormalBackground", b, this.hs);
|
|
527
531
|
}
|
|
528
532
|
},
|
|
529
533
|
enumerable: false,
|
|
530
534
|
configurable: true
|
|
531
535
|
});
|
|
532
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
536
|
+
Object.defineProperty(ListPanel.prototype, "hw", {
|
|
533
537
|
get: function () {
|
|
534
|
-
return this.
|
|
538
|
+
return this.hq;
|
|
535
539
|
},
|
|
536
540
|
set: function (a) {
|
|
537
|
-
var b = this.
|
|
538
|
-
this.
|
|
539
|
-
if (this.
|
|
540
|
-
this.
|
|
541
|
+
var b = this.hq;
|
|
542
|
+
this.hq = a;
|
|
543
|
+
if (this.hq != b) {
|
|
544
|
+
this.gl("ActivationBorder", b, this.hq);
|
|
541
545
|
}
|
|
542
546
|
},
|
|
543
547
|
enumerable: false,
|
|
544
548
|
configurable: true
|
|
545
549
|
});
|
|
546
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
550
|
+
Object.defineProperty(ListPanel.prototype, "dq", {
|
|
547
551
|
get: function () {
|
|
548
|
-
return this.
|
|
552
|
+
return this.da;
|
|
549
553
|
},
|
|
550
554
|
set: function (a) {
|
|
551
|
-
var b = this.
|
|
552
|
-
this.
|
|
553
|
-
if (this.
|
|
554
|
-
this.
|
|
555
|
+
var b = this.da;
|
|
556
|
+
this.da = a;
|
|
557
|
+
if (this.da != b) {
|
|
558
|
+
this.gl("ActivationBorderLeftWidth", b, this.da);
|
|
555
559
|
}
|
|
556
560
|
},
|
|
557
561
|
enumerable: false,
|
|
558
562
|
configurable: true
|
|
559
563
|
});
|
|
560
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
564
|
+
Object.defineProperty(ListPanel.prototype, "ds", {
|
|
561
565
|
get: function () {
|
|
562
|
-
return this.
|
|
566
|
+
return this.dc;
|
|
563
567
|
},
|
|
564
568
|
set: function (a) {
|
|
565
|
-
var b = this.
|
|
566
|
-
this.
|
|
567
|
-
if (this.
|
|
568
|
-
this.
|
|
569
|
+
var b = this.dc;
|
|
570
|
+
this.dc = a;
|
|
571
|
+
if (this.dc != b) {
|
|
572
|
+
this.gl("ActivationBorderTopWidth", b, this.dc);
|
|
569
573
|
}
|
|
570
574
|
},
|
|
571
575
|
enumerable: false,
|
|
572
576
|
configurable: true
|
|
573
577
|
});
|
|
574
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
578
|
+
Object.defineProperty(ListPanel.prototype, "dr", {
|
|
575
579
|
get: function () {
|
|
576
|
-
return this.
|
|
580
|
+
return this.db;
|
|
577
581
|
},
|
|
578
582
|
set: function (a) {
|
|
579
|
-
var b = this.
|
|
580
|
-
this.
|
|
581
|
-
if (this.
|
|
582
|
-
this.
|
|
583
|
+
var b = this.db;
|
|
584
|
+
this.db = a;
|
|
585
|
+
if (this.db != b) {
|
|
586
|
+
this.gl("ActivationBorderRightWidth", b, this.db);
|
|
583
587
|
}
|
|
584
588
|
},
|
|
585
589
|
enumerable: false,
|
|
586
590
|
configurable: true
|
|
587
591
|
});
|
|
588
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
592
|
+
Object.defineProperty(ListPanel.prototype, "dp", {
|
|
589
593
|
get: function () {
|
|
590
|
-
return this.
|
|
594
|
+
return this.c9;
|
|
591
595
|
},
|
|
592
596
|
set: function (a) {
|
|
593
|
-
var b = this.
|
|
594
|
-
this.
|
|
595
|
-
if (this.
|
|
596
|
-
this.
|
|
597
|
+
var b = this.c9;
|
|
598
|
+
this.c9 = a;
|
|
599
|
+
if (this.c9 != b) {
|
|
600
|
+
this.gl("ActivationBorderBottomWidth", b, this.c9);
|
|
597
601
|
}
|
|
598
602
|
},
|
|
599
603
|
enumerable: false,
|
|
@@ -607,21 +611,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
607
611
|
var b = this.q;
|
|
608
612
|
this.q = a;
|
|
609
613
|
if (b != this.q) {
|
|
610
|
-
this.
|
|
614
|
+
this.gl("ActivationMode", enumGetBox(ListPanelActivationMode_$type, b), enumGetBox(ListPanelActivationMode_$type, this.q));
|
|
611
615
|
}
|
|
612
616
|
},
|
|
613
617
|
enumerable: false,
|
|
614
618
|
configurable: true
|
|
615
619
|
});
|
|
616
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
620
|
+
Object.defineProperty(ListPanel.prototype, "an", {
|
|
617
621
|
get: function () {
|
|
618
|
-
return this.
|
|
622
|
+
return this.am;
|
|
619
623
|
},
|
|
620
624
|
set: function (a) {
|
|
621
|
-
var b = this.
|
|
622
|
-
this.
|
|
623
|
-
if (b != this.
|
|
624
|
-
this.
|
|
625
|
+
var b = this.am;
|
|
626
|
+
this.am = a;
|
|
627
|
+
if (b != this.am) {
|
|
628
|
+
this.gl("SelectionBehavior", enumGetBox(ListPanelSelectionBehavior_$type, b), enumGetBox(ListPanelSelectionBehavior_$type, this.am));
|
|
625
629
|
}
|
|
626
630
|
},
|
|
627
631
|
enumerable: false,
|
|
@@ -635,7 +639,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
635
639
|
var b = this.b;
|
|
636
640
|
this.b = a;
|
|
637
641
|
if (this.b != b) {
|
|
638
|
-
this.
|
|
642
|
+
this.gl("PrimaryKey", b, this.b);
|
|
639
643
|
}
|
|
640
644
|
},
|
|
641
645
|
enumerable: false,
|
|
@@ -649,18 +653,18 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
649
653
|
var b = this.a;
|
|
650
654
|
this.a = a;
|
|
651
655
|
if (this.a != b) {
|
|
652
|
-
this.
|
|
656
|
+
this.gl("ActualPrimaryKey", b, this.a);
|
|
653
657
|
}
|
|
654
658
|
},
|
|
655
659
|
enumerable: false,
|
|
656
660
|
configurable: true
|
|
657
661
|
});
|
|
658
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
662
|
+
Object.defineProperty(ListPanel.prototype, "aq", {
|
|
659
663
|
get: function () {
|
|
660
|
-
return this.
|
|
664
|
+
return this.ap;
|
|
661
665
|
},
|
|
662
666
|
set: function (a) {
|
|
663
|
-
this.
|
|
667
|
+
this.ap = a;
|
|
664
668
|
},
|
|
665
669
|
enumerable: false,
|
|
666
670
|
configurable: true
|
|
@@ -675,29 +679,29 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
675
679
|
enumerable: false,
|
|
676
680
|
configurable: true
|
|
677
681
|
});
|
|
678
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
682
|
+
Object.defineProperty(ListPanel.prototype, "ai", {
|
|
679
683
|
get: function () {
|
|
680
|
-
return this.
|
|
684
|
+
return this.ah;
|
|
681
685
|
},
|
|
682
686
|
enumerable: false,
|
|
683
687
|
configurable: true
|
|
684
688
|
});
|
|
685
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
689
|
+
Object.defineProperty(ListPanel.prototype, "al", {
|
|
686
690
|
get: function () {
|
|
687
|
-
return this.
|
|
691
|
+
return this.ak;
|
|
688
692
|
},
|
|
689
693
|
enumerable: false,
|
|
690
694
|
configurable: true
|
|
691
695
|
});
|
|
692
696
|
Object.defineProperty(ListPanel.prototype, "itemsSource", {
|
|
693
697
|
get: function () {
|
|
694
|
-
return this.
|
|
698
|
+
return this.ed;
|
|
695
699
|
},
|
|
696
700
|
set: function (a) {
|
|
697
|
-
var b = this.
|
|
698
|
-
this.
|
|
699
|
-
if (b != this.
|
|
700
|
-
this.
|
|
701
|
+
var b = this.ed;
|
|
702
|
+
this.ed = a;
|
|
703
|
+
if (b != this.ed) {
|
|
704
|
+
this.gl("ItemsSource", b, this.ed);
|
|
701
705
|
}
|
|
702
706
|
},
|
|
703
707
|
enumerable: false,
|
|
@@ -711,7 +715,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
711
715
|
var b = this.c;
|
|
712
716
|
this.c = a;
|
|
713
717
|
if (this.c != b) {
|
|
714
|
-
this.
|
|
718
|
+
this.gl("SchemaIncludedProperties", b, this.c);
|
|
715
719
|
}
|
|
716
720
|
},
|
|
717
721
|
enumerable: false,
|
|
@@ -725,7 +729,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
725
729
|
var b = this.i;
|
|
726
730
|
this.i = a;
|
|
727
731
|
if (this.i != b) {
|
|
728
|
-
this.
|
|
732
|
+
this.gl("ActualDataSource", b, this.i);
|
|
729
733
|
}
|
|
730
734
|
},
|
|
731
735
|
enumerable: false,
|
|
@@ -740,159 +744,160 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
740
744
|
ListPanel.prototype.provideContainer = function (a) {
|
|
741
745
|
this.view.z(a);
|
|
742
746
|
};
|
|
743
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
747
|
+
Object.defineProperty(ListPanel.prototype, "ec", {
|
|
744
748
|
get: function () {
|
|
745
|
-
return this.
|
|
749
|
+
return this.dk;
|
|
746
750
|
},
|
|
747
751
|
set: function (a) {
|
|
748
|
-
var b = this.
|
|
749
|
-
this.
|
|
750
|
-
if (b != this.
|
|
751
|
-
this.
|
|
752
|
+
var b = this.dk;
|
|
753
|
+
this.dk = a;
|
|
754
|
+
if (b != this.dk) {
|
|
755
|
+
this.gl("RowHeight", b, this.dk);
|
|
752
756
|
}
|
|
753
757
|
},
|
|
754
758
|
enumerable: false,
|
|
755
759
|
configurable: true
|
|
756
760
|
});
|
|
757
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
761
|
+
Object.defineProperty(ListPanel.prototype, "c4", {
|
|
758
762
|
get: function () {
|
|
759
|
-
return this.
|
|
763
|
+
return this.c0;
|
|
760
764
|
},
|
|
761
765
|
set: function (a) {
|
|
762
|
-
var b = this.
|
|
763
|
-
this.
|
|
764
|
-
if (b != this.
|
|
765
|
-
this.
|
|
766
|
+
var b = this.c0;
|
|
767
|
+
this.c0 = a;
|
|
768
|
+
if (b != this.c0) {
|
|
769
|
+
this.gl("ActualRowHeight", b, this.c0);
|
|
766
770
|
}
|
|
767
771
|
},
|
|
768
772
|
enumerable: false,
|
|
769
773
|
configurable: true
|
|
770
774
|
});
|
|
771
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
775
|
+
Object.defineProperty(ListPanel.prototype, "a4", {
|
|
772
776
|
get: function () {
|
|
773
|
-
return this.
|
|
777
|
+
return this.a3;
|
|
774
778
|
},
|
|
775
779
|
set: function (a) {
|
|
776
|
-
var b = this.
|
|
777
|
-
this.
|
|
778
|
-
if (b != this.
|
|
779
|
-
this.
|
|
780
|
+
var b = this.a3;
|
|
781
|
+
this.a3 = a;
|
|
782
|
+
if (b != this.a3) {
|
|
783
|
+
this.gl("CellTextStyle", b, this.a3);
|
|
780
784
|
}
|
|
781
785
|
},
|
|
782
786
|
enumerable: false,
|
|
783
787
|
configurable: true
|
|
784
788
|
});
|
|
785
|
-
ListPanel.prototype.
|
|
786
|
-
if (this.
|
|
789
|
+
ListPanel.prototype.a5 = function () {
|
|
790
|
+
if (this.a4 == null) {
|
|
787
791
|
return this.view.d();
|
|
788
792
|
}
|
|
789
|
-
return this.
|
|
793
|
+
return this.a4;
|
|
790
794
|
};
|
|
791
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
795
|
+
Object.defineProperty(ListPanel.prototype, "bv", {
|
|
792
796
|
get: function () {
|
|
793
|
-
return this.
|
|
797
|
+
return this.ad == 1;
|
|
794
798
|
},
|
|
795
799
|
enumerable: false,
|
|
796
800
|
configurable: true
|
|
797
801
|
});
|
|
798
|
-
ListPanel.prototype.
|
|
802
|
+
ListPanel.prototype.gl = function (a, b, c) {
|
|
799
803
|
if (this.propertyChanged != null) {
|
|
800
804
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
801
805
|
}
|
|
802
|
-
this.
|
|
806
|
+
this.gy(a, b, c);
|
|
803
807
|
};
|
|
804
|
-
ListPanel.prototype.
|
|
805
|
-
this.
|
|
808
|
+
ListPanel.prototype.fl = function (a, b) {
|
|
809
|
+
this.gh();
|
|
806
810
|
};
|
|
807
|
-
ListPanel.prototype.
|
|
808
|
-
if (this.
|
|
811
|
+
ListPanel.prototype.g1 = function () {
|
|
812
|
+
if (this.bm) {
|
|
809
813
|
return;
|
|
810
814
|
}
|
|
811
|
-
this.
|
|
812
|
-
this.k.enqueueAction(runOn(this, this.
|
|
815
|
+
this.bm = true;
|
|
816
|
+
this.k.enqueueAction(runOn(this, this.fp));
|
|
813
817
|
};
|
|
814
|
-
ListPanel.prototype.
|
|
815
|
-
if (!this.
|
|
818
|
+
ListPanel.prototype.fp = function () {
|
|
819
|
+
if (!this.bm) {
|
|
816
820
|
return;
|
|
817
821
|
}
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
820
|
-
if (this.
|
|
821
|
-
this.
|
|
822
|
+
this.bm = false;
|
|
823
|
+
this.fx();
|
|
824
|
+
if (this.br) {
|
|
825
|
+
this.fj();
|
|
822
826
|
}
|
|
823
|
-
this.gz();
|
|
824
827
|
this.g2();
|
|
828
|
+
this.g5();
|
|
825
829
|
if (this.contentRefreshed != null) {
|
|
826
830
|
this.contentRefreshed(this, new ListPanelContentRefreshedEventArgs());
|
|
827
831
|
}
|
|
828
832
|
};
|
|
829
|
-
ListPanel.prototype.
|
|
830
|
-
if (this.
|
|
831
|
-
this.
|
|
832
|
-
|
|
833
|
-
|
|
833
|
+
ListPanel.prototype.fx = function () {
|
|
834
|
+
if (this.bk) {
|
|
835
|
+
this.fi();
|
|
836
|
+
this.bk = false;
|
|
837
|
+
if (this.ad == 1) {
|
|
838
|
+
this.aa.g(new Size(1, this.cz, this.cy));
|
|
834
839
|
}
|
|
835
840
|
}
|
|
836
841
|
};
|
|
837
|
-
ListPanel.prototype.
|
|
842
|
+
ListPanel.prototype.g5 = function () {
|
|
838
843
|
if (this.actualDataSource == null) {
|
|
839
844
|
return;
|
|
840
845
|
}
|
|
841
|
-
this.
|
|
842
|
-
for (var a = 0; a < this.
|
|
843
|
-
if (this.
|
|
846
|
+
this.dj = this.actualDataSource.actualCount;
|
|
847
|
+
for (var a = 0; a < this.a1.o.count; a++) {
|
|
848
|
+
if (this.a1.p._inner[a]) {
|
|
844
849
|
continue;
|
|
845
850
|
}
|
|
846
|
-
var b = this.
|
|
847
|
-
var c = this.
|
|
848
|
-
this.
|
|
851
|
+
var b = this.a1.o._inner[a];
|
|
852
|
+
var c = this.a1.q._inner[a];
|
|
853
|
+
this.aa.f(c);
|
|
849
854
|
}
|
|
850
855
|
var d = 0;
|
|
851
856
|
var e = this.r != 0;
|
|
852
|
-
for (var f = 0; f < this.
|
|
853
|
-
if (this.
|
|
857
|
+
for (var f = 0; f < this.a2.o.count; f++) {
|
|
858
|
+
if (this.a2.p._inner[f]) {
|
|
854
859
|
continue;
|
|
855
860
|
}
|
|
856
|
-
var g = this.
|
|
857
|
-
var h = this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
861
|
+
var g = this.a2.o._inner[f];
|
|
862
|
+
var h = this.a2.q._inner[f];
|
|
863
|
+
this.ft(h);
|
|
864
|
+
this.fv(h);
|
|
865
|
+
this.fr(h);
|
|
866
|
+
this.aa.d(this, h);
|
|
862
867
|
}
|
|
863
868
|
};
|
|
864
|
-
ListPanel.prototype.
|
|
869
|
+
ListPanel.prototype.fv = function (a) {
|
|
865
870
|
if (a.p) {
|
|
866
871
|
if (a.k) {
|
|
867
|
-
a.b.a.bg = new Thickness(1, this.
|
|
872
|
+
a.b.a.bg = new Thickness(1, this.dq, this.ds, this.dr, this.dp);
|
|
868
873
|
}
|
|
869
874
|
else {
|
|
870
875
|
a.b.a.bg = new Thickness(0, 0);
|
|
871
876
|
}
|
|
872
877
|
a.p = false;
|
|
873
878
|
if (a.j) {
|
|
874
|
-
a.b.a.a9 = this.
|
|
879
|
+
a.b.a.a9 = this.hw;
|
|
875
880
|
}
|
|
876
881
|
else {
|
|
877
882
|
a.b.a.a9 = null;
|
|
878
883
|
}
|
|
879
884
|
if (a.n) {
|
|
880
|
-
a.b.a.a8 = this.
|
|
885
|
+
a.b.a.a8 = this.h2;
|
|
881
886
|
}
|
|
882
887
|
else {
|
|
883
|
-
a.b.a.a8 = this.
|
|
888
|
+
a.b.a.a8 = this.h0;
|
|
884
889
|
}
|
|
885
890
|
}
|
|
886
891
|
};
|
|
887
|
-
ListPanel.prototype.
|
|
892
|
+
ListPanel.prototype.fr = function (a) {
|
|
888
893
|
if (a.m) {
|
|
889
894
|
a.m = false;
|
|
890
|
-
this.
|
|
895
|
+
this.fw(a);
|
|
891
896
|
}
|
|
892
897
|
};
|
|
893
|
-
ListPanel.prototype.
|
|
898
|
+
ListPanel.prototype.fw = function (a) {
|
|
894
899
|
if (this.rowUpdating != null) {
|
|
895
|
-
var b_1 = this.
|
|
900
|
+
var b_1 = this.c6(a.v);
|
|
896
901
|
this.rowUpdating(this, ((function () {
|
|
897
902
|
var $ret = new ListPanelTemplateItemUpdatingEventArgs();
|
|
898
903
|
$ret.a = a;
|
|
@@ -903,7 +908,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
903
908
|
})()));
|
|
904
909
|
}
|
|
905
910
|
};
|
|
906
|
-
ListPanel.prototype.
|
|
911
|
+
ListPanel.prototype.ft = function (a) {
|
|
907
912
|
var _this = this;
|
|
908
913
|
if (a.b != null) {
|
|
909
914
|
return;
|
|
@@ -915,168 +920,176 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
915
920
|
d.h = 3;
|
|
916
921
|
d.f = 3;
|
|
917
922
|
c.bn(d);
|
|
918
|
-
if (_this.
|
|
923
|
+
if (_this.ad == 0) {
|
|
919
924
|
c.f = 3;
|
|
920
925
|
}
|
|
921
926
|
else {
|
|
922
927
|
c.f = 0;
|
|
923
928
|
}
|
|
924
929
|
a.b.a = c;
|
|
925
|
-
if (_this.
|
|
926
|
-
a.b.a.a8 = _this.
|
|
930
|
+
if (_this.h0 != null) {
|
|
931
|
+
a.b.a.a8 = _this.h0;
|
|
927
932
|
}
|
|
928
933
|
});
|
|
929
934
|
};
|
|
930
|
-
ListPanel.prototype.
|
|
931
|
-
if (!this.
|
|
935
|
+
ListPanel.prototype.fj = function () {
|
|
936
|
+
if (!this.br) {
|
|
932
937
|
return;
|
|
933
938
|
}
|
|
934
|
-
this.
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
939
|
-
this.
|
|
940
|
-
if (this.
|
|
939
|
+
this.br = false;
|
|
940
|
+
this.fz();
|
|
941
|
+
this.de = this.ea();
|
|
942
|
+
this.df = this.eb();
|
|
943
|
+
this.ay.c = this.de;
|
|
944
|
+
this.ay.b = this.df;
|
|
945
|
+
if (this.de == -1 || this.df == -1) {
|
|
941
946
|
return;
|
|
942
947
|
}
|
|
943
948
|
var a = new List$1(Number_$type, 0);
|
|
944
|
-
for (var b = 0; b < this.
|
|
945
|
-
if (this.
|
|
949
|
+
for (var b = 0; b < this.a2.o.count; b++) {
|
|
950
|
+
if (this.a2.p._inner[b]) {
|
|
946
951
|
continue;
|
|
947
952
|
}
|
|
948
|
-
var c = this.
|
|
949
|
-
var d = this.
|
|
950
|
-
if (c < this.
|
|
953
|
+
var c = this.a2.o._inner[b];
|
|
954
|
+
var d = this.a2.q._inner[b];
|
|
955
|
+
if (c < this.de || c > this.df) {
|
|
951
956
|
a.add(c);
|
|
952
957
|
}
|
|
953
958
|
}
|
|
954
959
|
for (var e = 0; e < a.count; e++) {
|
|
955
|
-
this.
|
|
960
|
+
this.g8(a._inner[e]);
|
|
956
961
|
}
|
|
957
|
-
for (var f = this.
|
|
958
|
-
this.
|
|
959
|
-
var g = this.
|
|
960
|
-
g.u = this.
|
|
961
|
-
g.s = this.
|
|
962
|
+
for (var f = this.de; f <= this.df; f++) {
|
|
963
|
+
this.fs(f);
|
|
964
|
+
var g = this.a2.item(f);
|
|
965
|
+
g.u = this.c8(f);
|
|
966
|
+
g.s = this.c7(f);
|
|
962
967
|
}
|
|
963
968
|
};
|
|
964
|
-
ListPanel.prototype.
|
|
965
|
-
if (this.
|
|
969
|
+
ListPanel.prototype.c7 = function (a) {
|
|
970
|
+
if (this.ad == 0) {
|
|
966
971
|
return 0;
|
|
967
972
|
}
|
|
968
|
-
else if (this.
|
|
969
|
-
var b = this.
|
|
970
|
-
return this.
|
|
973
|
+
else if (this.ad == 2) {
|
|
974
|
+
var b = this.d6(a);
|
|
975
|
+
return this.cv._inner[b];
|
|
971
976
|
}
|
|
972
977
|
else {
|
|
973
|
-
return this.
|
|
978
|
+
return this.cv._inner[a];
|
|
974
979
|
}
|
|
975
980
|
};
|
|
976
|
-
ListPanel.prototype.
|
|
977
|
-
var b = a % this.
|
|
981
|
+
ListPanel.prototype.d6 = function (a) {
|
|
982
|
+
var b = a % this.cw.count;
|
|
978
983
|
return b;
|
|
979
984
|
};
|
|
980
|
-
ListPanel.prototype.
|
|
981
|
-
var b = Math.floor(a / this.
|
|
985
|
+
ListPanel.prototype.d7 = function (a) {
|
|
986
|
+
var b = Math.floor(a / this.cw.count);
|
|
982
987
|
return truncate(b);
|
|
983
988
|
};
|
|
984
|
-
ListPanel.prototype.
|
|
985
|
-
if (this.
|
|
989
|
+
ListPanel.prototype.c8 = function (a) {
|
|
990
|
+
if (this.ad == 1) {
|
|
986
991
|
return 0;
|
|
987
992
|
}
|
|
988
|
-
else if (this.
|
|
989
|
-
var b = this.
|
|
990
|
-
if (this.
|
|
991
|
-
return this.
|
|
993
|
+
else if (this.ad == 2) {
|
|
994
|
+
var b = this.d7(a);
|
|
995
|
+
if (this.bz) {
|
|
996
|
+
return this.cr._inner[b];
|
|
992
997
|
}
|
|
993
998
|
else {
|
|
994
|
-
return b * this.
|
|
999
|
+
return b * this.c4;
|
|
995
1000
|
}
|
|
996
1001
|
}
|
|
997
1002
|
else {
|
|
998
|
-
if (this.
|
|
999
|
-
return this.
|
|
1003
|
+
if (this.bz) {
|
|
1004
|
+
return this.cr._inner[a];
|
|
1000
1005
|
}
|
|
1001
1006
|
else {
|
|
1002
|
-
return a * this.
|
|
1007
|
+
return a * this.c4;
|
|
1003
1008
|
}
|
|
1004
1009
|
}
|
|
1005
1010
|
};
|
|
1006
|
-
ListPanel.prototype.
|
|
1007
|
-
if (this.
|
|
1011
|
+
ListPanel.prototype.fs = function (a) {
|
|
1012
|
+
if (this.a2.d(a)) {
|
|
1008
1013
|
return;
|
|
1009
1014
|
}
|
|
1010
|
-
var b = this.
|
|
1015
|
+
var b = this.z(a);
|
|
1011
1016
|
if (b.i) {
|
|
1012
|
-
this.
|
|
1017
|
+
this.a1.f(b);
|
|
1013
1018
|
b.i = false;
|
|
1014
1019
|
b.o = true;
|
|
1015
1020
|
}
|
|
1016
|
-
this.
|
|
1021
|
+
this.a2.s(a, b);
|
|
1017
1022
|
};
|
|
1018
|
-
ListPanel.prototype.
|
|
1019
|
-
var b = this.
|
|
1023
|
+
ListPanel.prototype.z = function (a) {
|
|
1024
|
+
var b = this.cx.count > 0 ? this.cx.b() : new ListPanelItemModel();
|
|
1020
1025
|
b.v = a;
|
|
1021
|
-
b.t = this.
|
|
1026
|
+
b.t = this.c4;
|
|
1022
1027
|
return b;
|
|
1023
1028
|
};
|
|
1024
|
-
ListPanel.prototype.
|
|
1025
|
-
var b = this.
|
|
1026
|
-
this.
|
|
1027
|
-
this.
|
|
1029
|
+
ListPanel.prototype.g8 = function (a) {
|
|
1030
|
+
var b = this.a2.item(a);
|
|
1031
|
+
this.g4(b);
|
|
1032
|
+
this.a2.f(a);
|
|
1028
1033
|
b.i = true;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1034
|
+
b.x = null;
|
|
1035
|
+
this.a1.s(b, b);
|
|
1036
|
+
};
|
|
1037
|
+
ListPanel.prototype.g4 = function (a) {
|
|
1038
|
+
this.cx.g(a);
|
|
1039
|
+
if (this.itemRecycled != null) {
|
|
1040
|
+
this.itemRecycled(this, ((function () {
|
|
1041
|
+
var $ret = new ListPanelContentRecycledEventArgs();
|
|
1042
|
+
$ret.rowObject = a.x;
|
|
1043
|
+
return $ret;
|
|
1044
|
+
})()));
|
|
1045
|
+
}
|
|
1033
1046
|
};
|
|
1034
|
-
ListPanel.prototype.
|
|
1047
|
+
ListPanel.prototype.eb = function () {
|
|
1035
1048
|
if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
|
|
1036
1049
|
return -1;
|
|
1037
1050
|
}
|
|
1038
|
-
if (!this.
|
|
1039
|
-
if (this.
|
|
1040
|
-
if (this.
|
|
1041
|
-
this.
|
|
1042
|
-
var a = this.
|
|
1043
|
-
var b = this.
|
|
1044
|
-
if (this.
|
|
1051
|
+
if (!this.ay.d.isEmpty) {
|
|
1052
|
+
if (this.ad == 0) {
|
|
1053
|
+
if (this.bz) {
|
|
1054
|
+
this.fx();
|
|
1055
|
+
var a = this.ay.d.bottom;
|
|
1056
|
+
var b = this.dy(a);
|
|
1057
|
+
if (this.cr._inner[b] + this.cq._inner[b] < a) {
|
|
1045
1058
|
b += 1;
|
|
1046
1059
|
}
|
|
1047
1060
|
return Math.max(0, Math.min(b, this.actualDataSource.actualCount - 1));
|
|
1048
1061
|
}
|
|
1049
1062
|
else {
|
|
1050
|
-
var c = this.
|
|
1051
|
-
var d = truncate(Math.ceil(c / this.
|
|
1063
|
+
var c = this.ay.d.bottom;
|
|
1064
|
+
var d = truncate(Math.ceil(c / this.c4));
|
|
1052
1065
|
return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
|
|
1053
1066
|
}
|
|
1054
1067
|
}
|
|
1055
|
-
else if (this.
|
|
1056
|
-
if (this.
|
|
1057
|
-
this.
|
|
1058
|
-
var e = this.
|
|
1059
|
-
var f = this.
|
|
1060
|
-
if (this.
|
|
1068
|
+
else if (this.ad == 2) {
|
|
1069
|
+
if (this.bz) {
|
|
1070
|
+
this.fx();
|
|
1071
|
+
var e = this.ay.d.bottom;
|
|
1072
|
+
var f = this.dy(e);
|
|
1073
|
+
if (this.cr._inner[f] + this.cq._inner[f] < e) {
|
|
1061
1074
|
f += 1;
|
|
1062
1075
|
}
|
|
1063
|
-
f = f * this.
|
|
1064
|
-
f += this.
|
|
1076
|
+
f = f * this.cw.count;
|
|
1077
|
+
f += this.cw.count;
|
|
1065
1078
|
return Math.max(0, Math.min(f, this.actualDataSource.actualCount - 1));
|
|
1066
1079
|
}
|
|
1067
1080
|
else {
|
|
1068
|
-
var g = this.
|
|
1069
|
-
var h = truncate(Math.floor(g / this.
|
|
1070
|
-
h = h * this.
|
|
1081
|
+
var g = this.ay.d.bottom;
|
|
1082
|
+
var h = truncate(Math.floor(g / this.c4));
|
|
1083
|
+
h = h * this.cw.count;
|
|
1071
1084
|
return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
|
|
1072
1085
|
}
|
|
1073
1086
|
}
|
|
1074
1087
|
else {
|
|
1075
1088
|
{
|
|
1076
|
-
this.
|
|
1077
|
-
var i = this.
|
|
1078
|
-
var j = this.
|
|
1079
|
-
if (this.
|
|
1089
|
+
this.fx();
|
|
1090
|
+
var i = this.ay.d.right;
|
|
1091
|
+
var j = this.dz(i);
|
|
1092
|
+
if (this.cv._inner[j] + this.cu._inner[j] < i) {
|
|
1080
1093
|
j += 1;
|
|
1081
1094
|
}
|
|
1082
1095
|
return Math.max(0, Math.min(j, this.actualDataSource.actualCount - 1));
|
|
@@ -1085,9 +1098,9 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1085
1098
|
}
|
|
1086
1099
|
return this.actualDataSource.actualCount - 1;
|
|
1087
1100
|
};
|
|
1088
|
-
ListPanel.prototype.
|
|
1101
|
+
ListPanel.prototype.dy = function (a) {
|
|
1089
1102
|
var b = -1;
|
|
1090
|
-
b = ArrayExtension.binarySearch$11(Number_$type, this.
|
|
1103
|
+
b = ArrayExtension.binarySearch$11(Number_$type, this.cr, function (c) { return a < c ? -1 : (a > c ? 1 : 0); });
|
|
1091
1104
|
if (b < 0) {
|
|
1092
1105
|
b = ~b;
|
|
1093
1106
|
b--;
|
|
@@ -1095,14 +1108,14 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1095
1108
|
if (b < 0) {
|
|
1096
1109
|
b = 0;
|
|
1097
1110
|
}
|
|
1098
|
-
if (b > this.
|
|
1099
|
-
b = this.
|
|
1111
|
+
if (b > this.cr.count - 1) {
|
|
1112
|
+
b = this.cr.count - 1;
|
|
1100
1113
|
}
|
|
1101
1114
|
return b;
|
|
1102
1115
|
};
|
|
1103
|
-
ListPanel.prototype.
|
|
1116
|
+
ListPanel.prototype.dz = function (a) {
|
|
1104
1117
|
var b = -1;
|
|
1105
|
-
b = ArrayExtension.binarySearch$11(Number_$type, this.
|
|
1118
|
+
b = ArrayExtension.binarySearch$11(Number_$type, this.cv, function (c) { return a < c ? -1 : (a > c ? 1 : 0); });
|
|
1106
1119
|
if (b < 0) {
|
|
1107
1120
|
b = ~b;
|
|
1108
1121
|
b--;
|
|
@@ -1110,56 +1123,56 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1110
1123
|
if (b < 0) {
|
|
1111
1124
|
b = 0;
|
|
1112
1125
|
}
|
|
1113
|
-
if (b > this.
|
|
1114
|
-
b = this.
|
|
1126
|
+
if (b > this.cv.count - 1) {
|
|
1127
|
+
b = this.cv.count - 1;
|
|
1115
1128
|
}
|
|
1116
1129
|
return b;
|
|
1117
1130
|
};
|
|
1118
|
-
ListPanel.prototype.
|
|
1131
|
+
ListPanel.prototype.ea = function () {
|
|
1119
1132
|
if (this.actualDataSource == null || this.actualDataSource.actualSchema == null || this.actualDataSource.actualCount == 0) {
|
|
1120
1133
|
return -1;
|
|
1121
1134
|
}
|
|
1122
|
-
if (!this.
|
|
1123
|
-
if (this.
|
|
1124
|
-
if (this.
|
|
1125
|
-
this.
|
|
1126
|
-
var a = this.
|
|
1127
|
-
var b = this.
|
|
1128
|
-
if (this.
|
|
1135
|
+
if (!this.ay.d.isEmpty) {
|
|
1136
|
+
if (this.ad == 0) {
|
|
1137
|
+
if (this.bz) {
|
|
1138
|
+
this.fx();
|
|
1139
|
+
var a = this.ay.d.top;
|
|
1140
|
+
var b = this.dy(a);
|
|
1141
|
+
if (this.cr._inner[b] > a) {
|
|
1129
1142
|
b -= 1;
|
|
1130
1143
|
}
|
|
1131
1144
|
return Math.max(0, Math.min(b, this.actualDataSource.actualCount - 1));
|
|
1132
1145
|
}
|
|
1133
1146
|
else {
|
|
1134
|
-
var c = this.
|
|
1135
|
-
var d = truncate(Math.floor(c / this.
|
|
1147
|
+
var c = this.ay.d.top;
|
|
1148
|
+
var d = truncate(Math.floor(c / this.c4));
|
|
1136
1149
|
return Math.max(0, Math.min(d, this.actualDataSource.actualCount - 1));
|
|
1137
1150
|
}
|
|
1138
1151
|
}
|
|
1139
|
-
else if (this.
|
|
1140
|
-
if (this.
|
|
1141
|
-
this.
|
|
1142
|
-
var e = this.
|
|
1143
|
-
var f = this.
|
|
1144
|
-
if (this.
|
|
1152
|
+
else if (this.ad == 2) {
|
|
1153
|
+
if (this.bz) {
|
|
1154
|
+
this.fx();
|
|
1155
|
+
var e = this.ay.d.top;
|
|
1156
|
+
var f = this.dy(e);
|
|
1157
|
+
if (this.cr._inner[f] > e) {
|
|
1145
1158
|
f -= 1;
|
|
1146
1159
|
}
|
|
1147
|
-
f = f * this.
|
|
1160
|
+
f = f * this.cw.count;
|
|
1148
1161
|
return Math.max(0, Math.min(f, this.actualDataSource.actualCount - 1));
|
|
1149
1162
|
}
|
|
1150
1163
|
else {
|
|
1151
|
-
var g = this.
|
|
1152
|
-
var h = truncate(Math.floor(g / this.
|
|
1153
|
-
h = h * this.
|
|
1164
|
+
var g = this.ay.d.top;
|
|
1165
|
+
var h = truncate(Math.floor(g / this.c4));
|
|
1166
|
+
h = h * this.cw.count;
|
|
1154
1167
|
return Math.max(0, Math.min(h, this.actualDataSource.actualCount - 1));
|
|
1155
1168
|
}
|
|
1156
1169
|
}
|
|
1157
1170
|
else {
|
|
1158
1171
|
{
|
|
1159
|
-
this.
|
|
1160
|
-
var i = this.
|
|
1161
|
-
var j = this.
|
|
1162
|
-
if (this.
|
|
1172
|
+
this.fx();
|
|
1173
|
+
var i = this.ay.d.left;
|
|
1174
|
+
var j = this.dz(i);
|
|
1175
|
+
if (this.cv._inner[j] > i) {
|
|
1163
1176
|
j -= 1;
|
|
1164
1177
|
}
|
|
1165
1178
|
return Math.max(0, Math.min(j, this.actualDataSource.actualCount - 1));
|
|
@@ -1168,42 +1181,42 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1168
1181
|
}
|
|
1169
1182
|
return 0;
|
|
1170
1183
|
};
|
|
1171
|
-
ListPanel.prototype.
|
|
1172
|
-
if (this.
|
|
1173
|
-
a = this.
|
|
1184
|
+
ListPanel.prototype.c6 = function (a) {
|
|
1185
|
+
if (this.ad == 2) {
|
|
1186
|
+
a = this.d6(a);
|
|
1174
1187
|
}
|
|
1175
|
-
if (this.
|
|
1176
|
-
return this.
|
|
1188
|
+
if (this.cu.count > 0 && a < this.cu.count) {
|
|
1189
|
+
return this.cu._inner[a];
|
|
1177
1190
|
}
|
|
1178
1191
|
return 0;
|
|
1179
1192
|
};
|
|
1180
|
-
ListPanel.prototype.
|
|
1181
|
-
if (this.
|
|
1182
|
-
a = this.
|
|
1193
|
+
ListPanel.prototype.c5 = function (a) {
|
|
1194
|
+
if (this.ad == 2) {
|
|
1195
|
+
a = this.d7(a);
|
|
1183
1196
|
}
|
|
1184
|
-
if (this.
|
|
1185
|
-
return this.
|
|
1197
|
+
if (this.cq.count > 0 && a < this.cq.count) {
|
|
1198
|
+
return this.cq._inner[a];
|
|
1186
1199
|
}
|
|
1187
|
-
return this.
|
|
1200
|
+
return this.c4;
|
|
1188
1201
|
};
|
|
1189
|
-
ListPanel.prototype.
|
|
1202
|
+
ListPanel.prototype.fi = function () {
|
|
1190
1203
|
var _this = this;
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1204
|
+
this.cq.clear();
|
|
1205
|
+
this.cr.clear();
|
|
1206
|
+
this.cu.clear();
|
|
1207
|
+
this.cv.clear();
|
|
1195
1208
|
var a = this.r != 0;
|
|
1196
|
-
var b = this.
|
|
1197
|
-
var c = this.
|
|
1209
|
+
var b = this.ds + this.dp;
|
|
1210
|
+
var c = this.dq + this.dr;
|
|
1198
1211
|
if (this.actualDataSource != null && this.actualDataSource.actualSchema != null) {
|
|
1199
|
-
var d = this.
|
|
1200
|
-
var e = isNaN_(this.
|
|
1201
|
-
if (this.
|
|
1202
|
-
if (this.
|
|
1212
|
+
var d = this.cy;
|
|
1213
|
+
var e = isNaN_(this.cz) ? 0 : this.cz;
|
|
1214
|
+
if (this.ad == 0) {
|
|
1215
|
+
if (this.bz) {
|
|
1203
1216
|
var f = 0;
|
|
1204
1217
|
var _loop_1 = function (g) {
|
|
1205
|
-
this_1.
|
|
1206
|
-
var h = this_1.
|
|
1218
|
+
this_1.cr.add(f);
|
|
1219
|
+
var h = this_1.c4;
|
|
1207
1220
|
if (this_1.itemHeightRequested != null) {
|
|
1208
1221
|
var i = ((function () {
|
|
1209
1222
|
var $ret = new ListPanelTemplateHeightRequestedEventArgs();
|
|
@@ -1219,26 +1232,26 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1219
1232
|
}
|
|
1220
1233
|
f += h;
|
|
1221
1234
|
}
|
|
1222
|
-
this_1.
|
|
1235
|
+
this_1.cq.add(h);
|
|
1223
1236
|
};
|
|
1224
1237
|
var this_1 = this;
|
|
1225
1238
|
for (var g = 0; g < this.actualDataSource.actualCount; g++) {
|
|
1226
1239
|
_loop_1(g);
|
|
1227
1240
|
}
|
|
1228
|
-
this.
|
|
1241
|
+
this.cy = f;
|
|
1229
1242
|
}
|
|
1230
1243
|
else {
|
|
1231
|
-
this.
|
|
1244
|
+
this.cy = this.c4 * this.actualDataSource.actualCount;
|
|
1232
1245
|
}
|
|
1233
1246
|
}
|
|
1234
|
-
else if (this.
|
|
1247
|
+
else if (this.ad == 2) {
|
|
1235
1248
|
var j = new List$1(ListPanelColumnDefinition.$, 0);
|
|
1236
|
-
var k = this.
|
|
1237
|
-
if (this.
|
|
1249
|
+
var k = this.du(j, 0x7FFFFFFF);
|
|
1250
|
+
if (this.bz) {
|
|
1238
1251
|
var l = 0;
|
|
1239
1252
|
var _loop_2 = function (m) {
|
|
1240
|
-
this_2.
|
|
1241
|
-
var n = this_2.
|
|
1253
|
+
this_2.cr.add(l);
|
|
1254
|
+
var n = this_2.c4;
|
|
1242
1255
|
var o = 0;
|
|
1243
1256
|
var p = m * j.count;
|
|
1244
1257
|
var _loop_4 = function (q) {
|
|
@@ -1267,32 +1280,32 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1267
1280
|
}
|
|
1268
1281
|
n = o;
|
|
1269
1282
|
l += n;
|
|
1270
|
-
this_2.
|
|
1283
|
+
this_2.cq.add(n);
|
|
1271
1284
|
};
|
|
1272
1285
|
var this_2 = this;
|
|
1273
1286
|
for (var m = 0; m < k; m++) {
|
|
1274
1287
|
_loop_2(m);
|
|
1275
1288
|
}
|
|
1276
|
-
this.
|
|
1289
|
+
this.cy = l;
|
|
1277
1290
|
}
|
|
1278
1291
|
else {
|
|
1279
|
-
this.
|
|
1292
|
+
this.cy = this.c4 * k;
|
|
1280
1293
|
}
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1294
|
+
this.cw = j;
|
|
1295
|
+
this.dn = k;
|
|
1283
1296
|
var u = 0;
|
|
1284
|
-
for (var v = 0; v < this.
|
|
1285
|
-
this.
|
|
1286
|
-
this.
|
|
1287
|
-
u += this.
|
|
1297
|
+
for (var v = 0; v < this.cw.count; v++) {
|
|
1298
|
+
this.cv.add(u);
|
|
1299
|
+
this.cu.add(this.cw._inner[v].a);
|
|
1300
|
+
u += this.cw._inner[v].a;
|
|
1288
1301
|
}
|
|
1289
1302
|
}
|
|
1290
1303
|
else {
|
|
1291
|
-
this.
|
|
1304
|
+
this.cy = this.c4;
|
|
1292
1305
|
{
|
|
1293
1306
|
var w = 0;
|
|
1294
1307
|
var _loop_3 = function (x) {
|
|
1295
|
-
this_3.
|
|
1308
|
+
this_3.cv.add(w);
|
|
1296
1309
|
var y = 0;
|
|
1297
1310
|
if (this_3.itemWidthRequested != null) {
|
|
1298
1311
|
var z = ((function () {
|
|
@@ -1309,21 +1322,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1309
1322
|
}
|
|
1310
1323
|
w += y;
|
|
1311
1324
|
}
|
|
1312
|
-
this_3.
|
|
1325
|
+
this_3.cu.add(y);
|
|
1313
1326
|
};
|
|
1314
1327
|
var this_3 = this;
|
|
1315
1328
|
for (var x = 0; x < this.actualDataSource.actualCount; x++) {
|
|
1316
1329
|
_loop_3(x);
|
|
1317
1330
|
}
|
|
1318
|
-
this.
|
|
1331
|
+
this.cz = w;
|
|
1319
1332
|
}
|
|
1320
1333
|
}
|
|
1321
|
-
if (d != this.
|
|
1322
|
-
this.view.x(this.
|
|
1334
|
+
if (d != this.cy || e != (isNaN_(this.cz) ? 0 : this.cz)) {
|
|
1335
|
+
this.view.x(this.cz, this.cy);
|
|
1323
1336
|
}
|
|
1324
1337
|
}
|
|
1325
1338
|
};
|
|
1326
|
-
ListPanel.prototype.
|
|
1339
|
+
ListPanel.prototype.du = function (a, b) {
|
|
1327
1340
|
var _this = this;
|
|
1328
1341
|
var c = 0;
|
|
1329
1342
|
var d = 0;
|
|
@@ -1350,11 +1363,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1350
1363
|
if (d != 0 && e < b && b > 1) {
|
|
1351
1364
|
var m = a._inner[e];
|
|
1352
1365
|
m.a = k;
|
|
1353
|
-
this_4.
|
|
1366
|
+
this_4.ha(f, a);
|
|
1354
1367
|
if (a.count == 0) {
|
|
1355
1368
|
return { value: 0 };
|
|
1356
1369
|
}
|
|
1357
|
-
return { value: this_4.
|
|
1370
|
+
return { value: this_4.du(a, a.count) };
|
|
1358
1371
|
}
|
|
1359
1372
|
b = Math.max(Math.min(b, e), 1);
|
|
1360
1373
|
d++;
|
|
@@ -1377,11 +1390,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1377
1390
|
var q = k - p.a;
|
|
1378
1391
|
p.a = k;
|
|
1379
1392
|
if (q > h && b > 1) {
|
|
1380
|
-
this_4.
|
|
1393
|
+
this_4.ha(f, a);
|
|
1381
1394
|
if (a.count == 0) {
|
|
1382
1395
|
return { value: 0 };
|
|
1383
1396
|
}
|
|
1384
|
-
return { value: this_4.
|
|
1397
|
+
return { value: this_4.du(a, a.count) };
|
|
1385
1398
|
}
|
|
1386
1399
|
else {
|
|
1387
1400
|
h -= q;
|
|
@@ -1406,7 +1419,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1406
1419
|
}
|
|
1407
1420
|
return d + 1;
|
|
1408
1421
|
};
|
|
1409
|
-
ListPanel.prototype.
|
|
1422
|
+
ListPanel.prototype.ha = function (a, b) {
|
|
1410
1423
|
var e_2, _a;
|
|
1411
1424
|
var c = 0;
|
|
1412
1425
|
try {
|
|
@@ -1436,103 +1449,103 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1436
1449
|
b.removeAt(b.count - 1);
|
|
1437
1450
|
}
|
|
1438
1451
|
};
|
|
1439
|
-
ListPanel.prototype.
|
|
1440
|
-
if (this.
|
|
1441
|
-
this.
|
|
1452
|
+
ListPanel.prototype.fy = function () {
|
|
1453
|
+
if (this.bm) {
|
|
1454
|
+
this.fp();
|
|
1442
1455
|
}
|
|
1443
1456
|
};
|
|
1444
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
1457
|
+
Object.defineProperty(ListPanel.prototype, "a0", {
|
|
1445
1458
|
get: function () {
|
|
1446
|
-
return this.
|
|
1459
|
+
return this.az;
|
|
1447
1460
|
},
|
|
1448
1461
|
set: function (a) {
|
|
1449
|
-
var b = this.
|
|
1450
|
-
this.
|
|
1451
|
-
if (b != this.
|
|
1452
|
-
this.
|
|
1462
|
+
var b = this.az;
|
|
1463
|
+
this.az = a;
|
|
1464
|
+
if (b != this.az) {
|
|
1465
|
+
this.gl("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.az));
|
|
1453
1466
|
}
|
|
1454
1467
|
},
|
|
1455
1468
|
enumerable: false,
|
|
1456
1469
|
configurable: true
|
|
1457
1470
|
});
|
|
1458
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
1471
|
+
Object.defineProperty(ListPanel.prototype, "h1", {
|
|
1459
1472
|
get: function () {
|
|
1460
|
-
return this.
|
|
1473
|
+
return this.ht;
|
|
1461
1474
|
},
|
|
1462
1475
|
set: function (a) {
|
|
1463
|
-
var b = this.
|
|
1464
|
-
this.
|
|
1465
|
-
if (b != this.
|
|
1466
|
-
this.
|
|
1476
|
+
var b = this.ht;
|
|
1477
|
+
this.ht = a;
|
|
1478
|
+
if (b != this.ht) {
|
|
1479
|
+
this.gl("ScrollbarBackground", b, this.ht);
|
|
1467
1480
|
}
|
|
1468
1481
|
},
|
|
1469
1482
|
enumerable: false,
|
|
1470
1483
|
configurable: true
|
|
1471
1484
|
});
|
|
1472
|
-
ListPanel.prototype.
|
|
1473
|
-
var a = isNaN_(this.
|
|
1474
|
-
var b = this.
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
if (a != (isNaN_(this.
|
|
1485
|
+
ListPanel.prototype.g6 = function () {
|
|
1486
|
+
var a = isNaN_(this.cz) ? 0 : this.cz;
|
|
1487
|
+
var b = this.cy;
|
|
1488
|
+
this.bn = true;
|
|
1489
|
+
this.f4(this.c1);
|
|
1490
|
+
if (a != (isNaN_(this.cz) ? 0 : this.cz) || b != this.cy) {
|
|
1478
1491
|
this.externalListPanel.onContentSizeChanged();
|
|
1479
1492
|
}
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1493
|
+
this.bn = false;
|
|
1494
|
+
this.f5();
|
|
1495
|
+
this.g1();
|
|
1483
1496
|
};
|
|
1484
|
-
ListPanel.prototype.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
this.
|
|
1497
|
+
ListPanel.prototype.f5 = function () {
|
|
1498
|
+
this.br = true;
|
|
1499
|
+
this.de = -1;
|
|
1500
|
+
this.df = -1;
|
|
1488
1501
|
};
|
|
1489
|
-
ListPanel.prototype.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1502
|
+
ListPanel.prototype.f4 = function (a) {
|
|
1503
|
+
this.bk = true;
|
|
1504
|
+
this.c1 = a;
|
|
1492
1505
|
};
|
|
1493
|
-
ListPanel.prototype.
|
|
1494
|
-
if (this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
this.
|
|
1506
|
+
ListPanel.prototype.fz = function () {
|
|
1507
|
+
if (this.bg) {
|
|
1508
|
+
this.bg = false;
|
|
1509
|
+
this.g6();
|
|
1510
|
+
this.f3();
|
|
1498
1511
|
}
|
|
1499
1512
|
};
|
|
1500
|
-
ListPanel.prototype.
|
|
1501
|
-
if (this.
|
|
1502
|
-
this.
|
|
1513
|
+
ListPanel.prototype.g7 = function () {
|
|
1514
|
+
if (this.bg) {
|
|
1515
|
+
this.fz();
|
|
1503
1516
|
}
|
|
1504
1517
|
else {
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1518
|
+
this.f5();
|
|
1519
|
+
this.g1();
|
|
1520
|
+
this.fy();
|
|
1508
1521
|
}
|
|
1509
1522
|
};
|
|
1510
|
-
ListPanel.prototype.
|
|
1511
|
-
if (this.
|
|
1512
|
-
this.
|
|
1523
|
+
ListPanel.prototype.d2 = function () {
|
|
1524
|
+
if (this.br) {
|
|
1525
|
+
this.fj();
|
|
1513
1526
|
}
|
|
1514
|
-
return this.
|
|
1527
|
+
return this.df;
|
|
1515
1528
|
};
|
|
1516
|
-
ListPanel.prototype.
|
|
1517
|
-
if (this.
|
|
1518
|
-
this.
|
|
1529
|
+
ListPanel.prototype.d0 = function () {
|
|
1530
|
+
if (this.br) {
|
|
1531
|
+
this.fj();
|
|
1519
1532
|
}
|
|
1520
|
-
return this.
|
|
1533
|
+
return this.de;
|
|
1521
1534
|
};
|
|
1522
|
-
ListPanel.prototype.
|
|
1523
|
-
return this.
|
|
1535
|
+
ListPanel.prototype.cj = function () {
|
|
1536
|
+
return this.de >= 0 && this.df >= 0;
|
|
1524
1537
|
};
|
|
1525
|
-
ListPanel.prototype.
|
|
1526
|
-
if (!this.
|
|
1538
|
+
ListPanel.prototype.f3 = function () {
|
|
1539
|
+
if (!this.cj()) {
|
|
1527
1540
|
return;
|
|
1528
1541
|
}
|
|
1529
|
-
var a = this.
|
|
1530
|
-
var b = this.
|
|
1531
|
-
this.
|
|
1542
|
+
var a = this.d0();
|
|
1543
|
+
var b = this.d2();
|
|
1544
|
+
this.f2(a, b);
|
|
1532
1545
|
};
|
|
1533
|
-
ListPanel.prototype.
|
|
1534
|
-
var c = this.
|
|
1535
|
-
var d = this.
|
|
1546
|
+
ListPanel.prototype.f2 = function (a, b) {
|
|
1547
|
+
var c = this.d0();
|
|
1548
|
+
var d = this.d2();
|
|
1536
1549
|
if (b < c || a > d) {
|
|
1537
1550
|
return;
|
|
1538
1551
|
}
|
|
@@ -1542,24 +1555,35 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1542
1555
|
if (b > d) {
|
|
1543
1556
|
b = d;
|
|
1544
1557
|
}
|
|
1545
|
-
this.
|
|
1546
|
-
this.
|
|
1558
|
+
this.g2();
|
|
1559
|
+
this.g7();
|
|
1547
1560
|
};
|
|
1548
|
-
ListPanel.prototype.
|
|
1561
|
+
ListPanel.prototype.g2 = function () {
|
|
1549
1562
|
if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
|
|
1550
1563
|
return;
|
|
1551
1564
|
}
|
|
1552
1565
|
var a = this.r != 0;
|
|
1553
|
-
var b = this.
|
|
1554
|
-
|
|
1555
|
-
if (
|
|
1556
|
-
continue;
|
|
1566
|
+
var b = this.as != 0;
|
|
1567
|
+
var _loop_6 = function (c) {
|
|
1568
|
+
if (this_5.a2.p._inner[c]) {
|
|
1569
|
+
return "continue";
|
|
1570
|
+
}
|
|
1571
|
+
var d = this_5.a2.q._inner[c];
|
|
1572
|
+
var e = d.x;
|
|
1573
|
+
var f = this_5.actualDataSource.getItemAtIndex(d.v);
|
|
1574
|
+
if (e != null && e != f) {
|
|
1575
|
+
if (this_5.itemRebind != null) {
|
|
1576
|
+
this_5.itemRebind(this_5, ((function () {
|
|
1577
|
+
var $ret = new ListPanelContentRebindEventArgs();
|
|
1578
|
+
$ret.rowObject = e;
|
|
1579
|
+
return $ret;
|
|
1580
|
+
})()));
|
|
1581
|
+
}
|
|
1557
1582
|
}
|
|
1558
|
-
|
|
1559
|
-
d.
|
|
1560
|
-
d.t = this.c2;
|
|
1583
|
+
d.x = f;
|
|
1584
|
+
d.t = this_5.c4;
|
|
1561
1585
|
if (a) {
|
|
1562
|
-
if (
|
|
1586
|
+
if (this_5.p.c(d)) {
|
|
1563
1587
|
d.j = true;
|
|
1564
1588
|
}
|
|
1565
1589
|
else {
|
|
@@ -1568,7 +1592,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1568
1592
|
d.k = true;
|
|
1569
1593
|
}
|
|
1570
1594
|
if (b) {
|
|
1571
|
-
if (
|
|
1595
|
+
if (this_5.aq.j(d)) {
|
|
1572
1596
|
d.n = true;
|
|
1573
1597
|
}
|
|
1574
1598
|
else {
|
|
@@ -1576,35 +1600,39 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1576
1600
|
}
|
|
1577
1601
|
d.k = false;
|
|
1578
1602
|
}
|
|
1603
|
+
};
|
|
1604
|
+
var this_5 = this;
|
|
1605
|
+
for (var c = 0; c < this.a2.q.count; c++) {
|
|
1606
|
+
_loop_6(c);
|
|
1579
1607
|
}
|
|
1580
1608
|
};
|
|
1581
|
-
ListPanel.prototype.
|
|
1609
|
+
ListPanel.prototype.g3 = function (a) {
|
|
1582
1610
|
if (this.actualDataSource == null || this.actualDataSource.actualCount == 0) {
|
|
1583
1611
|
return;
|
|
1584
1612
|
}
|
|
1585
|
-
if (this.
|
|
1586
|
-
var b = this.
|
|
1613
|
+
if (this.a2.d(a)) {
|
|
1614
|
+
var b = this.a2.item(a);
|
|
1587
1615
|
b.x = this.actualDataSource.getItemAtIndex(b.v);
|
|
1588
|
-
b.t = this.
|
|
1616
|
+
b.t = this.c4;
|
|
1589
1617
|
}
|
|
1590
1618
|
};
|
|
1591
|
-
ListPanel.prototype.
|
|
1592
|
-
if (!this.
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1595
|
-
this.
|
|
1619
|
+
ListPanel.prototype.g0 = function () {
|
|
1620
|
+
if (!this.bg) {
|
|
1621
|
+
this.bg = true;
|
|
1622
|
+
this.f5();
|
|
1623
|
+
this.g1();
|
|
1596
1624
|
}
|
|
1597
1625
|
};
|
|
1598
|
-
ListPanel.prototype.
|
|
1599
|
-
this.
|
|
1626
|
+
ListPanel.prototype.f1 = function (a) {
|
|
1627
|
+
this.g3(a);
|
|
1600
1628
|
};
|
|
1601
|
-
ListPanel.prototype.
|
|
1602
|
-
if (this.
|
|
1603
|
-
this.
|
|
1629
|
+
ListPanel.prototype.gh = function () {
|
|
1630
|
+
if (this.bg) {
|
|
1631
|
+
this.fz();
|
|
1604
1632
|
}
|
|
1605
1633
|
else {
|
|
1606
|
-
this.
|
|
1607
|
-
this.
|
|
1634
|
+
this.g6();
|
|
1635
|
+
this.f3();
|
|
1608
1636
|
}
|
|
1609
1637
|
};
|
|
1610
1638
|
Object.defineProperty(ListPanel.prototype, "externalListPanel", {
|
|
@@ -1617,10 +1645,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1617
1645
|
enumerable: false,
|
|
1618
1646
|
configurable: true
|
|
1619
1647
|
});
|
|
1620
|
-
ListPanel.prototype.
|
|
1621
|
-
return this.
|
|
1648
|
+
ListPanel.prototype.ci = function () {
|
|
1649
|
+
return this.as != 0 || this.r != 0;
|
|
1622
1650
|
};
|
|
1623
|
-
ListPanel.prototype.
|
|
1651
|
+
ListPanel.prototype.gy = function (a, b, c) {
|
|
1624
1652
|
var _this = this;
|
|
1625
1653
|
switch (a) {
|
|
1626
1654
|
case "SchemaIncludedProperties":
|
|
@@ -1631,7 +1659,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1631
1659
|
case "ItemsSource":
|
|
1632
1660
|
if (this.i != null) {
|
|
1633
1661
|
var d = this.i;
|
|
1634
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1662
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.fl));
|
|
1635
1663
|
this.i.updateNotifier = null;
|
|
1636
1664
|
}
|
|
1637
1665
|
if (typeCast(IDataSource_$type, this.itemsSource) !== null) {
|
|
@@ -1643,46 +1671,46 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1643
1671
|
}
|
|
1644
1672
|
if (this.i != null) {
|
|
1645
1673
|
var f = this.i;
|
|
1646
|
-
f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.
|
|
1674
|
+
f.schemaChanged = delegateCombine(f.schemaChanged, runOn(this, this.fl));
|
|
1647
1675
|
this.i.updateNotifier = new ListPanelDataSourceNotificationBridge(this);
|
|
1648
1676
|
if (this.i.actualSchema != null) {
|
|
1649
|
-
this.
|
|
1650
|
-
this.k.enqueueAction(function () { return _this.
|
|
1677
|
+
this.g0();
|
|
1678
|
+
this.k.enqueueAction(function () { return _this.gh(); });
|
|
1651
1679
|
}
|
|
1652
1680
|
}
|
|
1653
1681
|
break;
|
|
1654
1682
|
case "RowHeight":
|
|
1655
|
-
this.
|
|
1683
|
+
this.c4 = this.ec;
|
|
1656
1684
|
break;
|
|
1657
1685
|
case "CellTextStyle":
|
|
1658
|
-
this.
|
|
1686
|
+
this.f3();
|
|
1659
1687
|
break;
|
|
1660
1688
|
case "BackgroundColor":
|
|
1661
|
-
this.
|
|
1689
|
+
this.f3();
|
|
1662
1690
|
break;
|
|
1663
1691
|
case "TextColor":
|
|
1664
|
-
this.
|
|
1692
|
+
this.f3();
|
|
1665
1693
|
break;
|
|
1666
1694
|
case "Orientation":
|
|
1667
1695
|
case "ActualRowHeight":
|
|
1668
|
-
this.
|
|
1696
|
+
this.g6();
|
|
1669
1697
|
break;
|
|
1670
1698
|
case "ScrollbarStyle":
|
|
1671
|
-
this.externalListPanel.setScrollbarStyle(this.
|
|
1699
|
+
this.externalListPanel.setScrollbarStyle(this.a0);
|
|
1672
1700
|
break;
|
|
1673
1701
|
case "ScrollbarBackground":
|
|
1674
|
-
this.externalListPanel.setScrollbarColor(this.
|
|
1702
|
+
this.externalListPanel.setScrollbarColor(this.h1);
|
|
1675
1703
|
break;
|
|
1676
1704
|
case "ActiveRow":
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1679
|
-
if (this.
|
|
1680
|
-
this.p.k(this.
|
|
1705
|
+
this.dg = typeGetValue(b);
|
|
1706
|
+
this.bq = true;
|
|
1707
|
+
if (this.dt != -1 && this.dt >= 0) {
|
|
1708
|
+
this.p.k(this.dt);
|
|
1681
1709
|
}
|
|
1682
1710
|
else {
|
|
1683
1711
|
this.p.o();
|
|
1684
1712
|
}
|
|
1685
|
-
this.
|
|
1713
|
+
this.bq = false;
|
|
1686
1714
|
break;
|
|
1687
1715
|
case "SelectedBackground":
|
|
1688
1716
|
case "ActivationBorder":
|
|
@@ -1690,74 +1718,74 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1690
1718
|
case "ActivationBorderRightWidth":
|
|
1691
1719
|
case "ActivationBorderBottomWidth":
|
|
1692
1720
|
case "ActivationBorderTopWidth":
|
|
1693
|
-
this.
|
|
1721
|
+
this.g0();
|
|
1694
1722
|
break;
|
|
1695
1723
|
case "ActivationMode":
|
|
1696
|
-
this.
|
|
1724
|
+
this.by = this.ci();
|
|
1697
1725
|
break;
|
|
1698
1726
|
case "SelectionMode":
|
|
1699
|
-
this.
|
|
1700
|
-
switch (this.
|
|
1727
|
+
this.by = this.ci();
|
|
1728
|
+
switch (this.as) {
|
|
1701
1729
|
case 1:
|
|
1702
|
-
if (this.
|
|
1703
|
-
var g = this.
|
|
1704
|
-
this.
|
|
1705
|
-
this.
|
|
1730
|
+
if (this.al.count > 1) {
|
|
1731
|
+
var g = this.al._inner[this.al.count - 1];
|
|
1732
|
+
this.al.clear();
|
|
1733
|
+
this.al.add(g);
|
|
1706
1734
|
}
|
|
1707
1735
|
break;
|
|
1708
1736
|
case 2: break;
|
|
1709
1737
|
case 0:
|
|
1710
|
-
if (this.
|
|
1711
|
-
this.
|
|
1738
|
+
if (this.al.count > 0) {
|
|
1739
|
+
this.al.clear();
|
|
1712
1740
|
}
|
|
1713
1741
|
break;
|
|
1714
1742
|
}
|
|
1715
1743
|
break;
|
|
1716
1744
|
}
|
|
1717
1745
|
};
|
|
1718
|
-
ListPanel.prototype.
|
|
1719
|
-
var a = this.
|
|
1746
|
+
ListPanel.prototype.h4 = function () {
|
|
1747
|
+
var a = this.cy;
|
|
1720
1748
|
var b = 0;
|
|
1721
1749
|
if (!isNaN_(a) && a >= 0) {
|
|
1722
1750
|
b = a;
|
|
1723
1751
|
}
|
|
1724
1752
|
var c = 0;
|
|
1725
|
-
if (this.
|
|
1726
|
-
for (var d = 0; d < this.
|
|
1727
|
-
var e = this.
|
|
1753
|
+
if (this.ad == 1) {
|
|
1754
|
+
for (var d = 0; d < this.cu.count; d++) {
|
|
1755
|
+
var e = this.cu._inner[d];
|
|
1728
1756
|
if (!isNaN_(e) && e >= 0) {
|
|
1729
1757
|
c += e;
|
|
1730
1758
|
}
|
|
1731
1759
|
}
|
|
1732
1760
|
}
|
|
1733
|
-
else if (this.
|
|
1734
|
-
for (var f = 0; f < this.
|
|
1735
|
-
var g = this.
|
|
1761
|
+
else if (this.ad == 2) {
|
|
1762
|
+
for (var f = 0; f < this.cu.count; f++) {
|
|
1763
|
+
var g = this.cu._inner[f];
|
|
1736
1764
|
if (!isNaN_(g) && g >= 0) {
|
|
1737
1765
|
c += g;
|
|
1738
1766
|
}
|
|
1739
1767
|
}
|
|
1740
1768
|
}
|
|
1741
1769
|
else {
|
|
1742
|
-
if (!isNaN_(this.
|
|
1743
|
-
c = this.
|
|
1770
|
+
if (!isNaN_(this.cz) && this.cz >= 0) {
|
|
1771
|
+
c = this.cz;
|
|
1744
1772
|
}
|
|
1745
1773
|
}
|
|
1746
1774
|
return new Size(1, c, b);
|
|
1747
1775
|
};
|
|
1748
|
-
ListPanel.prototype.
|
|
1749
|
-
if (this.r == 1 && this.
|
|
1750
|
-
if (this.
|
|
1776
|
+
ListPanel.prototype.gg = function (a, b) {
|
|
1777
|
+
if (this.r == 1 && this.dt != -1) {
|
|
1778
|
+
if (this.dt >= a && this.dt <= b) {
|
|
1751
1779
|
if (this.activeRowChanged != null) {
|
|
1752
1780
|
var c = new ListPanelActiveRowChangedEventArgs();
|
|
1753
|
-
c.newActiveRow = this.
|
|
1754
|
-
c.oldActiveRow = this.
|
|
1781
|
+
c.newActiveRow = this.dt;
|
|
1782
|
+
c.oldActiveRow = this.dt;
|
|
1755
1783
|
this.activeRowChanged(this, c);
|
|
1756
1784
|
}
|
|
1757
1785
|
}
|
|
1758
1786
|
}
|
|
1759
|
-
var d = this.
|
|
1760
|
-
var e = this.
|
|
1787
|
+
var d = this.d0();
|
|
1788
|
+
var e = this.d2();
|
|
1761
1789
|
if (b < d || a > e) {
|
|
1762
1790
|
return;
|
|
1763
1791
|
}
|
|
@@ -1767,49 +1795,49 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1767
1795
|
if (b > e) {
|
|
1768
1796
|
b = e;
|
|
1769
1797
|
}
|
|
1770
|
-
if (!this.
|
|
1798
|
+
if (!this.cj()) {
|
|
1771
1799
|
return;
|
|
1772
1800
|
}
|
|
1773
|
-
if (this.
|
|
1774
|
-
this.
|
|
1801
|
+
if (this.d4() != this.dj) {
|
|
1802
|
+
this.g6();
|
|
1775
1803
|
}
|
|
1776
1804
|
else {
|
|
1777
|
-
this.
|
|
1805
|
+
this.g7();
|
|
1778
1806
|
}
|
|
1779
|
-
this.
|
|
1807
|
+
this.fk();
|
|
1780
1808
|
};
|
|
1781
|
-
ListPanel.prototype.
|
|
1782
|
-
if (this.
|
|
1809
|
+
ListPanel.prototype.fk = function () {
|
|
1810
|
+
if (this.ay.d.isEmpty) {
|
|
1783
1811
|
return;
|
|
1784
1812
|
}
|
|
1785
|
-
if (this.
|
|
1786
|
-
if (this.
|
|
1787
|
-
var a = this.
|
|
1813
|
+
if (this.ad == 1) {
|
|
1814
|
+
if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
|
|
1815
|
+
var a = this.d4() - 1;
|
|
1788
1816
|
if (a < 0) {
|
|
1789
1817
|
a = 0;
|
|
1790
1818
|
}
|
|
1791
|
-
this.
|
|
1819
|
+
this.hd(a);
|
|
1792
1820
|
}
|
|
1793
1821
|
}
|
|
1794
1822
|
else {
|
|
1795
|
-
if (this.
|
|
1796
|
-
var b = this.
|
|
1823
|
+
if (this.ay.d.bottom > this.absoluteHeight || this.ay.d.top > this.absoluteHeight) {
|
|
1824
|
+
var b = this.d4() - 1;
|
|
1797
1825
|
if (b < 0) {
|
|
1798
1826
|
b = 0;
|
|
1799
1827
|
}
|
|
1800
|
-
this.
|
|
1828
|
+
this.hd(b);
|
|
1801
1829
|
}
|
|
1802
1830
|
}
|
|
1803
|
-
if (this.
|
|
1804
|
-
if (this.
|
|
1805
|
-
this.
|
|
1831
|
+
if (this.ad == 2) {
|
|
1832
|
+
if (this.ay.d.right > this.absoluteWidth || this.ay.d.left > this.absoluteWidth) {
|
|
1833
|
+
this.hc(this.cw.count - 1);
|
|
1806
1834
|
}
|
|
1807
1835
|
}
|
|
1808
1836
|
};
|
|
1809
|
-
ListPanel.prototype.
|
|
1810
|
-
if (this.
|
|
1811
|
-
if (this.
|
|
1812
|
-
var d = this.
|
|
1837
|
+
ListPanel.prototype.gv = function (a, b, c) {
|
|
1838
|
+
if (this.ad == 0) {
|
|
1839
|
+
if (this.bz) {
|
|
1840
|
+
var d = this.c4;
|
|
1813
1841
|
if (this.itemHeightRequested != null) {
|
|
1814
1842
|
var e = new ListPanelTemplateHeightRequestedEventArgs();
|
|
1815
1843
|
e.c = c;
|
|
@@ -1818,16 +1846,16 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1818
1846
|
this.itemHeightRequested(this, e);
|
|
1819
1847
|
d = e.a;
|
|
1820
1848
|
}
|
|
1821
|
-
var f = this.
|
|
1822
|
-
this.
|
|
1849
|
+
var f = this.cq._inner[a];
|
|
1850
|
+
this.cq._inner[a] = d;
|
|
1823
1851
|
var g = d - f;
|
|
1824
1852
|
for (var h = a; h < this.actualDataSource.actualCount; h++) {
|
|
1825
|
-
this.
|
|
1853
|
+
this.cr._inner[h] += g;
|
|
1826
1854
|
}
|
|
1827
1855
|
}
|
|
1828
1856
|
}
|
|
1829
|
-
else if (this.
|
|
1830
|
-
this.
|
|
1857
|
+
else if (this.ad == 2) {
|
|
1858
|
+
this.g6();
|
|
1831
1859
|
return;
|
|
1832
1860
|
}
|
|
1833
1861
|
else {
|
|
@@ -1840,22 +1868,22 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1840
1868
|
this.itemWidthRequested(this, j);
|
|
1841
1869
|
i = j.a;
|
|
1842
1870
|
}
|
|
1843
|
-
var k = this.
|
|
1844
|
-
this.
|
|
1871
|
+
var k = this.cu._inner[a];
|
|
1872
|
+
this.cu._inner[a] = i;
|
|
1845
1873
|
var l = i - k;
|
|
1846
1874
|
for (var m = a; m < this.actualDataSource.actualCount; m++) {
|
|
1847
|
-
this.
|
|
1875
|
+
this.cv._inner[m] += l;
|
|
1848
1876
|
}
|
|
1849
1877
|
}
|
|
1850
|
-
this.
|
|
1878
|
+
this.f1(a);
|
|
1851
1879
|
};
|
|
1852
|
-
ListPanel.prototype.
|
|
1853
|
-
this.
|
|
1880
|
+
ListPanel.prototype.gf = function () {
|
|
1881
|
+
this.g6();
|
|
1854
1882
|
};
|
|
1855
|
-
ListPanel.prototype.
|
|
1856
|
-
if (this.
|
|
1857
|
-
if (this.
|
|
1858
|
-
var c = this.
|
|
1883
|
+
ListPanel.prototype.gi = function (a, b) {
|
|
1884
|
+
if (this.ad == 0) {
|
|
1885
|
+
if (this.bz) {
|
|
1886
|
+
var c = this.c4;
|
|
1859
1887
|
if (this.itemHeightRequested != null) {
|
|
1860
1888
|
var d = new ListPanelTemplateHeightRequestedEventArgs();
|
|
1861
1889
|
d.c = b;
|
|
@@ -1864,20 +1892,20 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1864
1892
|
this.itemHeightRequested(this, d);
|
|
1865
1893
|
c = d.a;
|
|
1866
1894
|
}
|
|
1867
|
-
this.
|
|
1895
|
+
this.cq.insert(a, c);
|
|
1868
1896
|
var e = 0;
|
|
1869
1897
|
if (a > 0) {
|
|
1870
|
-
var f = this.
|
|
1871
|
-
e = f + this.
|
|
1898
|
+
var f = this.cr._inner[a - 1];
|
|
1899
|
+
e = f + this.cq._inner[a - 1];
|
|
1872
1900
|
}
|
|
1873
|
-
this.
|
|
1901
|
+
this.cr.insert(a, e);
|
|
1874
1902
|
for (var g = a; g < this.actualDataSource.actualCount; g++) {
|
|
1875
|
-
this.
|
|
1903
|
+
this.cr._inner[g] += c;
|
|
1876
1904
|
}
|
|
1877
1905
|
}
|
|
1878
1906
|
}
|
|
1879
|
-
else if (this.
|
|
1880
|
-
this.
|
|
1907
|
+
else if (this.ad == 2) {
|
|
1908
|
+
this.g6();
|
|
1881
1909
|
return;
|
|
1882
1910
|
}
|
|
1883
1911
|
else {
|
|
@@ -1890,127 +1918,127 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1890
1918
|
this.itemWidthRequested(this, i);
|
|
1891
1919
|
h = i.a;
|
|
1892
1920
|
}
|
|
1893
|
-
this.
|
|
1921
|
+
this.cu.insert(a, h);
|
|
1894
1922
|
var j = 0;
|
|
1895
1923
|
if (a > 0) {
|
|
1896
|
-
var k = this.
|
|
1897
|
-
j = k + this.
|
|
1924
|
+
var k = this.cv._inner[a - 1];
|
|
1925
|
+
j = k + this.cu._inner[a - 1];
|
|
1898
1926
|
}
|
|
1899
|
-
this.
|
|
1927
|
+
this.cv.insert(a, j);
|
|
1900
1928
|
for (var l = a; l < this.actualDataSource.actualCount; l++) {
|
|
1901
|
-
this.
|
|
1929
|
+
this.cv._inner[l] += h;
|
|
1902
1930
|
}
|
|
1903
1931
|
}
|
|
1904
|
-
this.
|
|
1932
|
+
this.g0();
|
|
1905
1933
|
};
|
|
1906
|
-
ListPanel.prototype.
|
|
1907
|
-
if (this.
|
|
1908
|
-
var c = this.
|
|
1934
|
+
ListPanel.prototype.gm = function (a, b) {
|
|
1935
|
+
if (this.ad == 0) {
|
|
1936
|
+
var c = this.cq._inner[a];
|
|
1909
1937
|
for (var d = a + 1; d < this.actualDataSource.actualCount; d++) {
|
|
1910
|
-
this.
|
|
1938
|
+
this.cr._inner[d] -= c;
|
|
1911
1939
|
}
|
|
1912
|
-
this.
|
|
1913
|
-
this.
|
|
1940
|
+
this.cq.removeAt(a);
|
|
1941
|
+
this.cr.removeAt(a);
|
|
1914
1942
|
}
|
|
1915
|
-
else if (this.
|
|
1916
|
-
this.
|
|
1943
|
+
else if (this.ad == 2) {
|
|
1944
|
+
this.g6();
|
|
1917
1945
|
return;
|
|
1918
1946
|
}
|
|
1919
1947
|
else {
|
|
1920
|
-
var e = this.
|
|
1948
|
+
var e = this.cu._inner[a];
|
|
1921
1949
|
for (var f = a + 1; f < this.actualDataSource.actualCount; f++) {
|
|
1922
|
-
this.
|
|
1950
|
+
this.cv._inner[f] -= e;
|
|
1923
1951
|
}
|
|
1924
|
-
this.
|
|
1925
|
-
this.
|
|
1952
|
+
this.cu.removeAt(a);
|
|
1953
|
+
this.cv.removeAt(a);
|
|
1926
1954
|
}
|
|
1927
|
-
this.
|
|
1955
|
+
this.g0();
|
|
1928
1956
|
};
|
|
1929
|
-
ListPanel.prototype.
|
|
1957
|
+
ListPanel.prototype.f9 = function (a, b, c) {
|
|
1930
1958
|
if (this.i != null) {
|
|
1931
1959
|
this.i.notifySetItem(a, b, c);
|
|
1932
1960
|
}
|
|
1933
1961
|
};
|
|
1934
|
-
ListPanel.prototype.
|
|
1962
|
+
ListPanel.prototype.f6 = function () {
|
|
1935
1963
|
if (this.i != null) {
|
|
1936
1964
|
this.i.notifyClearItems();
|
|
1937
1965
|
}
|
|
1938
1966
|
};
|
|
1939
|
-
ListPanel.prototype.
|
|
1967
|
+
ListPanel.prototype.f7 = function (a, b) {
|
|
1940
1968
|
if (this.i != null) {
|
|
1941
1969
|
this.i.notifyInsertItem(a, b);
|
|
1942
1970
|
}
|
|
1943
1971
|
;
|
|
1944
1972
|
};
|
|
1945
|
-
ListPanel.prototype.
|
|
1973
|
+
ListPanel.prototype.f8 = function (a, b) {
|
|
1946
1974
|
if (this.i != null) {
|
|
1947
1975
|
this.i.notifyRemoveItem(a, b);
|
|
1948
1976
|
}
|
|
1949
1977
|
;
|
|
1950
1978
|
};
|
|
1951
|
-
ListPanel.prototype.
|
|
1979
|
+
ListPanel.prototype.dv = function (a) {
|
|
1952
1980
|
if (this.i == null) {
|
|
1953
1981
|
return -1;
|
|
1954
1982
|
}
|
|
1955
1983
|
return this.i.indexOfItem(a);
|
|
1956
1984
|
};
|
|
1957
|
-
ListPanel.prototype.
|
|
1985
|
+
ListPanel.prototype.dw = function (a) {
|
|
1958
1986
|
if (this.i == null) {
|
|
1959
1987
|
return -1;
|
|
1960
1988
|
}
|
|
1961
1989
|
return this.i.indexOfKey(a);
|
|
1962
1990
|
};
|
|
1963
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
1991
|
+
Object.defineProperty(ListPanel.prototype, "hx", {
|
|
1964
1992
|
get: function () {
|
|
1965
|
-
return this.
|
|
1993
|
+
return this.hr;
|
|
1966
1994
|
},
|
|
1967
1995
|
set: function (a) {
|
|
1968
|
-
var b = this.
|
|
1969
|
-
this.
|
|
1970
|
-
if (b != this.
|
|
1971
|
-
this.
|
|
1996
|
+
var b = this.hr;
|
|
1997
|
+
this.hr = a;
|
|
1998
|
+
if (b != this.hr) {
|
|
1999
|
+
this.gl("BackgroundColor", b, a);
|
|
1972
2000
|
}
|
|
1973
2001
|
},
|
|
1974
2002
|
enumerable: false,
|
|
1975
2003
|
configurable: true
|
|
1976
2004
|
});
|
|
1977
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2005
|
+
Object.defineProperty(ListPanel.prototype, "ad", {
|
|
1978
2006
|
get: function () {
|
|
1979
|
-
return this.
|
|
2007
|
+
return this.ab;
|
|
1980
2008
|
},
|
|
1981
2009
|
set: function (a) {
|
|
1982
|
-
var b = this.
|
|
1983
|
-
this.
|
|
1984
|
-
if (b != this.
|
|
1985
|
-
this.
|
|
2010
|
+
var b = this.ab;
|
|
2011
|
+
this.ab = a;
|
|
2012
|
+
if (b != this.ab) {
|
|
2013
|
+
this.gl("Orientation", enumGetBox(ListPanelOrientation_$type, b), enumGetBox(ListPanelOrientation_$type, a));
|
|
1986
2014
|
}
|
|
1987
2015
|
},
|
|
1988
2016
|
enumerable: false,
|
|
1989
2017
|
configurable: true
|
|
1990
2018
|
});
|
|
1991
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2019
|
+
Object.defineProperty(ListPanel.prototype, "bz", {
|
|
1992
2020
|
get: function () {
|
|
1993
|
-
return this.
|
|
2021
|
+
return this.bi;
|
|
1994
2022
|
},
|
|
1995
2023
|
set: function (a) {
|
|
1996
|
-
var b = this.
|
|
1997
|
-
this.
|
|
1998
|
-
if (b != this.
|
|
1999
|
-
this.
|
|
2024
|
+
var b = this.bi;
|
|
2025
|
+
this.bi = a;
|
|
2026
|
+
if (b != this.bi) {
|
|
2027
|
+
this.gl("IsCustomRowHeightEnabled", b, a);
|
|
2000
2028
|
}
|
|
2001
2029
|
},
|
|
2002
2030
|
enumerable: false,
|
|
2003
2031
|
configurable: true
|
|
2004
2032
|
});
|
|
2005
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2033
|
+
Object.defineProperty(ListPanel.prototype, "h3", {
|
|
2006
2034
|
get: function () {
|
|
2007
|
-
return this.
|
|
2035
|
+
return this.hv;
|
|
2008
2036
|
},
|
|
2009
2037
|
set: function (a) {
|
|
2010
|
-
var b = this.
|
|
2011
|
-
this.
|
|
2012
|
-
if (b != this.
|
|
2013
|
-
this.
|
|
2038
|
+
var b = this.hv;
|
|
2039
|
+
this.hv = a;
|
|
2040
|
+
if (b != this.hv) {
|
|
2041
|
+
this.gl("TextColor", b, a);
|
|
2014
2042
|
}
|
|
2015
2043
|
},
|
|
2016
2044
|
enumerable: false,
|
|
@@ -2018,31 +2046,31 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2018
2046
|
});
|
|
2019
2047
|
Object.defineProperty(ListPanel.prototype, "absoluteWidth", {
|
|
2020
2048
|
get: function () {
|
|
2021
|
-
return this.
|
|
2049
|
+
return this.cz;
|
|
2022
2050
|
},
|
|
2023
2051
|
enumerable: false,
|
|
2024
2052
|
configurable: true
|
|
2025
2053
|
});
|
|
2026
2054
|
Object.defineProperty(ListPanel.prototype, "absoluteHeight", {
|
|
2027
2055
|
get: function () {
|
|
2028
|
-
return this.
|
|
2056
|
+
return this.cy;
|
|
2029
2057
|
},
|
|
2030
2058
|
enumerable: false,
|
|
2031
2059
|
configurable: true
|
|
2032
2060
|
});
|
|
2033
|
-
ListPanel.prototype.
|
|
2061
|
+
ListPanel.prototype.ef = function () {
|
|
2034
2062
|
var e_3, _a;
|
|
2035
2063
|
var _this = this;
|
|
2036
2064
|
var a = new ListPanelVisualData();
|
|
2037
|
-
var b = this.
|
|
2065
|
+
var b = this.aa.h();
|
|
2038
2066
|
a.c = b.left;
|
|
2039
2067
|
a.d = b.top;
|
|
2040
2068
|
a.e = b.width;
|
|
2041
2069
|
a.b = b.height;
|
|
2042
2070
|
try {
|
|
2043
|
-
for (var _b = __values(fromEnum(this.
|
|
2071
|
+
for (var _b = __values(fromEnum(this.a2.n)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2044
2072
|
var c = _c.value;
|
|
2045
|
-
a.a.add(c.a(this.
|
|
2073
|
+
a.a.add(c.a(this.aa));
|
|
2046
2074
|
}
|
|
2047
2075
|
}
|
|
2048
2076
|
catch (e_3_1) {
|
|
@@ -2059,10 +2087,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2059
2087
|
}
|
|
2060
2088
|
}
|
|
2061
2089
|
a.a.aa(function (d, e) {
|
|
2062
|
-
if (_this.
|
|
2090
|
+
if (_this.ad == 0) {
|
|
2063
2091
|
return d.c < e.c ? -1 : d.c == e.c ? 0 : 1;
|
|
2064
2092
|
}
|
|
2065
|
-
else if (_this.
|
|
2093
|
+
else if (_this.ad == 2) {
|
|
2066
2094
|
if (d.c == e.c) {
|
|
2067
2095
|
return d.b < e.b ? -1 : d.b == e.b ? 0 : 1;
|
|
2068
2096
|
}
|
|
@@ -2074,31 +2102,31 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2074
2102
|
});
|
|
2075
2103
|
return a;
|
|
2076
2104
|
};
|
|
2077
|
-
ListPanel.prototype.
|
|
2078
|
-
var a = this.
|
|
2105
|
+
ListPanel.prototype.ex = function () {
|
|
2106
|
+
var a = this.ef();
|
|
2079
2107
|
return a.serialize();
|
|
2080
2108
|
};
|
|
2081
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2109
|
+
Object.defineProperty(ListPanel.prototype, "b0", {
|
|
2082
2110
|
get: function () {
|
|
2083
|
-
return this.
|
|
2111
|
+
return this.bj;
|
|
2084
2112
|
},
|
|
2085
2113
|
set: function (a) {
|
|
2086
|
-
this.
|
|
2114
|
+
this.bj = a;
|
|
2087
2115
|
},
|
|
2088
2116
|
enumerable: false,
|
|
2089
2117
|
configurable: true
|
|
2090
2118
|
});
|
|
2091
|
-
ListPanel.prototype.
|
|
2092
|
-
if (this.
|
|
2093
|
-
this.
|
|
2119
|
+
ListPanel.prototype.hf = function () {
|
|
2120
|
+
if (this.as == 2) {
|
|
2121
|
+
this.aq.v();
|
|
2094
2122
|
}
|
|
2095
2123
|
};
|
|
2096
|
-
ListPanel.prototype.
|
|
2097
|
-
if (this.
|
|
2124
|
+
ListPanel.prototype.b9 = function (a, b, c) {
|
|
2125
|
+
if (this.b0) {
|
|
2098
2126
|
switch (a) {
|
|
2099
2127
|
case 30:
|
|
2100
2128
|
if (c) {
|
|
2101
|
-
this.
|
|
2129
|
+
this.hf();
|
|
2102
2130
|
return true;
|
|
2103
2131
|
}
|
|
2104
2132
|
break;
|
|
@@ -2109,214 +2137,214 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2109
2137
|
}
|
|
2110
2138
|
return false;
|
|
2111
2139
|
};
|
|
2112
|
-
ListPanel.prototype.
|
|
2113
|
-
return this.
|
|
2140
|
+
ListPanel.prototype.b1 = function () {
|
|
2141
|
+
return this.dd == -1;
|
|
2114
2142
|
};
|
|
2115
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2143
|
+
Object.defineProperty(ListPanel.prototype, "dt", {
|
|
2116
2144
|
get: function () {
|
|
2117
|
-
return this.
|
|
2145
|
+
return this.dd;
|
|
2118
2146
|
},
|
|
2119
2147
|
set: function (a) {
|
|
2120
|
-
var b = this.
|
|
2121
|
-
this.
|
|
2122
|
-
if (b != this.
|
|
2123
|
-
this.
|
|
2148
|
+
var b = this.dd;
|
|
2149
|
+
this.dd = a;
|
|
2150
|
+
if (b != this.dd) {
|
|
2151
|
+
this.gl("ActiveRow", b, this.dd);
|
|
2124
2152
|
}
|
|
2125
2153
|
},
|
|
2126
2154
|
enumerable: false,
|
|
2127
2155
|
configurable: true
|
|
2128
2156
|
});
|
|
2129
|
-
ListPanel.prototype.
|
|
2157
|
+
ListPanel.prototype.fh = function (a, b, c) {
|
|
2130
2158
|
if (c === void 0) {
|
|
2131
2159
|
c = false;
|
|
2132
2160
|
}
|
|
2133
|
-
if (!this.
|
|
2161
|
+
if (!this.ay.a) {
|
|
2134
2162
|
return;
|
|
2135
2163
|
}
|
|
2136
2164
|
if (!c) {
|
|
2137
|
-
if (a <= this.
|
|
2138
|
-
this.
|
|
2165
|
+
if (a <= this.d0()) {
|
|
2166
|
+
this.hd(a);
|
|
2139
2167
|
}
|
|
2140
|
-
else if (a >= this.
|
|
2168
|
+
else if (a >= this.d2()) {
|
|
2141
2169
|
if (b) {
|
|
2142
|
-
this.
|
|
2170
|
+
this.hd(a);
|
|
2143
2171
|
}
|
|
2144
2172
|
else {
|
|
2145
|
-
this.
|
|
2173
|
+
this.hb(a);
|
|
2146
2174
|
}
|
|
2147
2175
|
}
|
|
2148
2176
|
}
|
|
2149
|
-
if (this.
|
|
2150
|
-
var d = this.
|
|
2151
|
-
var e = this.
|
|
2152
|
-
var f = this.
|
|
2177
|
+
if (this.ad == 2) {
|
|
2178
|
+
var d = this.d1();
|
|
2179
|
+
var e = this.d3();
|
|
2180
|
+
var f = this.d5(a);
|
|
2153
2181
|
if (f <= d) {
|
|
2154
|
-
this.
|
|
2182
|
+
this.he(f);
|
|
2155
2183
|
}
|
|
2156
2184
|
else if (f >= e) {
|
|
2157
|
-
this.
|
|
2185
|
+
this.hc(f);
|
|
2158
2186
|
}
|
|
2159
2187
|
}
|
|
2160
2188
|
};
|
|
2161
|
-
ListPanel.prototype.
|
|
2162
|
-
var b = truncate(this.
|
|
2163
|
-
if (this.
|
|
2164
|
-
b = this.
|
|
2189
|
+
ListPanel.prototype.hc = function (a) {
|
|
2190
|
+
var b = truncate(this.ay.d.top);
|
|
2191
|
+
if (this.di != -1) {
|
|
2192
|
+
b = this.di;
|
|
2165
2193
|
}
|
|
2166
|
-
if (this.
|
|
2194
|
+
if (this.ad == 2) {
|
|
2167
2195
|
var c = 0;
|
|
2168
2196
|
var d = 0;
|
|
2169
|
-
for (d = 0; d < this.
|
|
2170
|
-
c += this.
|
|
2197
|
+
for (d = 0; d < this.cw.count; d++) {
|
|
2198
|
+
c += this.cw._inner[d].a;
|
|
2171
2199
|
if (a == d) {
|
|
2172
2200
|
break;
|
|
2173
2201
|
}
|
|
2174
2202
|
}
|
|
2175
|
-
c -= this.
|
|
2203
|
+
c -= this.ay.d.width;
|
|
2176
2204
|
if (c < 0) {
|
|
2177
2205
|
c = 0;
|
|
2178
2206
|
}
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2207
|
+
this.di = b;
|
|
2208
|
+
this.dh = truncate(c);
|
|
2181
2209
|
this.viewportManager.moveViewportTo(truncate(c), b);
|
|
2182
2210
|
}
|
|
2183
2211
|
};
|
|
2184
|
-
ListPanel.prototype.
|
|
2185
|
-
var b = truncate(this.
|
|
2186
|
-
if (this.
|
|
2187
|
-
b = this.
|
|
2212
|
+
ListPanel.prototype.he = function (a) {
|
|
2213
|
+
var b = truncate(this.ay.d.top);
|
|
2214
|
+
if (this.di != -1) {
|
|
2215
|
+
b = this.di;
|
|
2188
2216
|
}
|
|
2189
|
-
if (this.
|
|
2217
|
+
if (this.ad == 2) {
|
|
2190
2218
|
var c = 0;
|
|
2191
2219
|
var d = 0;
|
|
2192
|
-
for (d = 0; d < this.
|
|
2220
|
+
for (d = 0; d < this.cw.count; d++) {
|
|
2193
2221
|
if (a == d) {
|
|
2194
2222
|
break;
|
|
2195
2223
|
}
|
|
2196
|
-
c += this.
|
|
2224
|
+
c += this.cw._inner[d].a;
|
|
2197
2225
|
}
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2226
|
+
this.di = b;
|
|
2227
|
+
this.dh = truncate(c);
|
|
2200
2228
|
this.viewportManager.moveViewportTo(truncate(c), b);
|
|
2201
2229
|
}
|
|
2202
2230
|
};
|
|
2203
|
-
ListPanel.prototype.
|
|
2204
|
-
if (this.
|
|
2205
|
-
var b = this.
|
|
2231
|
+
ListPanel.prototype.d5 = function (a) {
|
|
2232
|
+
if (this.ad == 2) {
|
|
2233
|
+
var b = this.d6(a);
|
|
2206
2234
|
return b;
|
|
2207
2235
|
}
|
|
2208
2236
|
return -1;
|
|
2209
2237
|
};
|
|
2210
|
-
ListPanel.prototype.
|
|
2211
|
-
if (this.
|
|
2238
|
+
ListPanel.prototype.d3 = function () {
|
|
2239
|
+
if (this.ad == 2) {
|
|
2212
2240
|
var a = 0;
|
|
2213
2241
|
var b = 0;
|
|
2214
|
-
for (b = 0; b < this.
|
|
2215
|
-
a += this.
|
|
2216
|
-
if (a > this.
|
|
2217
|
-
return Math.min(Math.max(b - 1, 0), this.
|
|
2242
|
+
for (b = 0; b < this.cw.count; b++) {
|
|
2243
|
+
a += this.cw._inner[b].a;
|
|
2244
|
+
if (a > this.ay.d.right) {
|
|
2245
|
+
return Math.min(Math.max(b - 1, 0), this.cw.count - 1);
|
|
2218
2246
|
}
|
|
2219
2247
|
}
|
|
2220
|
-
return Math.min(b, this.
|
|
2248
|
+
return Math.min(b, this.cw.count - 1);
|
|
2221
2249
|
}
|
|
2222
2250
|
return -1;
|
|
2223
2251
|
};
|
|
2224
|
-
ListPanel.prototype.
|
|
2225
|
-
if (this.
|
|
2252
|
+
ListPanel.prototype.d1 = function () {
|
|
2253
|
+
if (this.ad == 2) {
|
|
2226
2254
|
var a = 0;
|
|
2227
2255
|
var b = 0;
|
|
2228
|
-
for (b = 0; b < this.
|
|
2229
|
-
a += this.
|
|
2230
|
-
if (a > this.
|
|
2231
|
-
return Math.min(Math.max(b, 0), this.
|
|
2256
|
+
for (b = 0; b < this.cw.count; b++) {
|
|
2257
|
+
a += this.cw._inner[b].a;
|
|
2258
|
+
if (a > this.ay.d.left) {
|
|
2259
|
+
return Math.min(Math.max(b, 0), this.cw.count - 1);
|
|
2232
2260
|
}
|
|
2233
2261
|
}
|
|
2234
2262
|
return b;
|
|
2235
2263
|
}
|
|
2236
2264
|
return -1;
|
|
2237
2265
|
};
|
|
2238
|
-
ListPanel.prototype.
|
|
2239
|
-
if (this.
|
|
2266
|
+
ListPanel.prototype.hd = function (a) {
|
|
2267
|
+
if (this.ay.d.isEmpty) {
|
|
2240
2268
|
return;
|
|
2241
2269
|
}
|
|
2242
|
-
var b = truncate(this.
|
|
2243
|
-
if (this.
|
|
2244
|
-
b = this.
|
|
2270
|
+
var b = truncate(this.ay.d.left);
|
|
2271
|
+
if (this.dh != -1) {
|
|
2272
|
+
b = this.dh;
|
|
2245
2273
|
}
|
|
2246
2274
|
var c = 0;
|
|
2247
2275
|
var d = 0;
|
|
2248
2276
|
if (a < 0) {
|
|
2249
2277
|
a = 0;
|
|
2250
2278
|
}
|
|
2251
|
-
if (a >= this.
|
|
2252
|
-
a = this.
|
|
2279
|
+
if (a >= this.d4()) {
|
|
2280
|
+
a = this.d4() - 1;
|
|
2253
2281
|
}
|
|
2254
2282
|
var e = 0;
|
|
2255
2283
|
e = truncate(Math.floor(a));
|
|
2256
|
-
if (this.
|
|
2257
|
-
e = truncate(Math.floor(e / this.
|
|
2284
|
+
if (this.ad == 2) {
|
|
2285
|
+
e = truncate(Math.floor(e / this.cw.count));
|
|
2258
2286
|
}
|
|
2259
|
-
if (this.
|
|
2260
|
-
c = truncate(Math.floor(this.
|
|
2287
|
+
if (this.cr.count > 0) {
|
|
2288
|
+
c = truncate(Math.floor(this.cr._inner[e]));
|
|
2261
2289
|
}
|
|
2262
2290
|
else {
|
|
2263
|
-
c = truncate(Math.floor(this.
|
|
2291
|
+
c = truncate(Math.floor(this.c4 * e));
|
|
2264
2292
|
}
|
|
2265
2293
|
if (a - truncate(Math.floor(a)) > 0) {
|
|
2266
2294
|
var f = a - truncate(Math.floor(a));
|
|
2267
|
-
var g = f * this.
|
|
2295
|
+
var g = f * this.cq._inner[e];
|
|
2268
2296
|
c = truncate(Math.floor(c + g));
|
|
2269
2297
|
}
|
|
2270
2298
|
c = Math.max(c, 0);
|
|
2271
|
-
if (this.
|
|
2272
|
-
c = truncate(Math.round(this.
|
|
2299
|
+
if (this.cy > 0 && this.ay.d.height > 0 && c + this.ay.d.height > this.cy) {
|
|
2300
|
+
c = truncate(Math.round(this.cy - this.ay.d.height));
|
|
2273
2301
|
}
|
|
2274
2302
|
if (c < 0) {
|
|
2275
2303
|
c = 0;
|
|
2276
2304
|
}
|
|
2277
|
-
this.
|
|
2278
|
-
this.
|
|
2305
|
+
this.di = c;
|
|
2306
|
+
this.dh = b;
|
|
2279
2307
|
this.viewportManager.moveViewportTo(b, c);
|
|
2280
2308
|
};
|
|
2281
|
-
ListPanel.prototype.
|
|
2282
|
-
var b = truncate(this.
|
|
2283
|
-
if (this.
|
|
2284
|
-
b = this.
|
|
2309
|
+
ListPanel.prototype.hb = function (a) {
|
|
2310
|
+
var b = truncate(this.ay.d.left);
|
|
2311
|
+
if (this.dh != -1) {
|
|
2312
|
+
b = this.dh;
|
|
2285
2313
|
}
|
|
2286
2314
|
var c = 0;
|
|
2287
2315
|
if (a < 0) {
|
|
2288
2316
|
a = 0;
|
|
2289
2317
|
}
|
|
2290
|
-
if (a >= this.
|
|
2291
|
-
a = this.
|
|
2318
|
+
if (a >= this.d4()) {
|
|
2319
|
+
a = this.d4() - 1;
|
|
2292
2320
|
}
|
|
2293
2321
|
var d = truncate(Math.floor(a));
|
|
2294
|
-
if (this.
|
|
2295
|
-
d = truncate(Math.floor(d / this.
|
|
2322
|
+
if (this.ad == 2) {
|
|
2323
|
+
d = truncate(Math.floor(d / this.cw.count));
|
|
2296
2324
|
}
|
|
2297
|
-
if (this.
|
|
2298
|
-
c = truncate(Math.round((this.
|
|
2325
|
+
if (this.cr.count == 0) {
|
|
2326
|
+
c = truncate(Math.round((this.c4 * a) + this.c4));
|
|
2299
2327
|
}
|
|
2300
2328
|
else {
|
|
2301
|
-
c = truncate(Math.floor(this.
|
|
2329
|
+
c = truncate(Math.floor(this.cr._inner[d] + this.cq._inner[d]));
|
|
2302
2330
|
}
|
|
2303
2331
|
if (a - truncate(Math.floor(a)) > 0) {
|
|
2304
2332
|
var e = a - truncate(Math.floor(a));
|
|
2305
|
-
var f = e * this.
|
|
2333
|
+
var f = e * this.cq._inner[d];
|
|
2306
2334
|
c = truncate(Math.floor(c + f));
|
|
2307
2335
|
}
|
|
2308
2336
|
c = Math.max(c, 0);
|
|
2309
|
-
if (this.
|
|
2310
|
-
c -= truncate(Math.round(this.
|
|
2337
|
+
if (this.cy > 0 && this.ay.d.height > 0) {
|
|
2338
|
+
c -= truncate(Math.round(this.ay.d.height));
|
|
2311
2339
|
}
|
|
2312
|
-
if (this.
|
|
2313
|
-
c = truncate(Math.round(this.
|
|
2340
|
+
if (this.cy > 0 && this.ay.d.height > 0 && c + this.ay.d.height > this.cy) {
|
|
2341
|
+
c = truncate(Math.round(this.cy - this.ay.d.height));
|
|
2314
2342
|
}
|
|
2315
2343
|
if (c < 0) {
|
|
2316
2344
|
c = 0;
|
|
2317
2345
|
}
|
|
2318
|
-
this.
|
|
2319
|
-
this.
|
|
2346
|
+
this.di = c;
|
|
2347
|
+
this.dh = b;
|
|
2320
2348
|
this.viewportManager.moveViewportTo(b, c);
|
|
2321
2349
|
};
|
|
2322
2350
|
Object.defineProperty(ListPanel.prototype, "viewportManager", {
|
|
@@ -2329,141 +2357,141 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2329
2357
|
enumerable: false,
|
|
2330
2358
|
configurable: true
|
|
2331
2359
|
});
|
|
2332
|
-
ListPanel.prototype.
|
|
2333
|
-
if (this.
|
|
2360
|
+
ListPanel.prototype.b3 = function (a, b) {
|
|
2361
|
+
if (this.ad == 1) {
|
|
2334
2362
|
return false;
|
|
2335
2363
|
}
|
|
2336
|
-
if (this.r == 0 || this.
|
|
2364
|
+
if (this.r == 0 || this.b1()) {
|
|
2337
2365
|
return false;
|
|
2338
2366
|
}
|
|
2339
|
-
var c = this.
|
|
2340
|
-
if (c > this.
|
|
2367
|
+
var c = this.dt;
|
|
2368
|
+
if (c > this.d4() - 1) {
|
|
2341
2369
|
return false;
|
|
2342
2370
|
}
|
|
2343
2371
|
var d = c + 1;
|
|
2344
|
-
if (this.
|
|
2345
|
-
d = c + this.
|
|
2372
|
+
if (this.ad == 2) {
|
|
2373
|
+
d = c + this.cw.count;
|
|
2346
2374
|
}
|
|
2347
2375
|
if (b) {
|
|
2348
|
-
d = this.
|
|
2376
|
+
d = this.d4() - 1;
|
|
2349
2377
|
}
|
|
2350
|
-
if (d > this.
|
|
2351
|
-
d = this.
|
|
2378
|
+
if (d > this.d4() - 1) {
|
|
2379
|
+
d = this.d4() - 1;
|
|
2352
2380
|
}
|
|
2353
2381
|
if (d == c) {
|
|
2354
2382
|
return false;
|
|
2355
2383
|
}
|
|
2356
|
-
this.
|
|
2357
|
-
if (this.
|
|
2358
|
-
this.
|
|
2384
|
+
this.dt = d;
|
|
2385
|
+
if (this.ay.a) {
|
|
2386
|
+
this.fh(d, false);
|
|
2359
2387
|
}
|
|
2360
|
-
this.
|
|
2361
|
-
if (this.
|
|
2362
|
-
if (this.
|
|
2363
|
-
this.
|
|
2388
|
+
this.bo = false;
|
|
2389
|
+
if (this.as == 2 && a) {
|
|
2390
|
+
if (this.dm == -1) {
|
|
2391
|
+
this.dm = c;
|
|
2364
2392
|
}
|
|
2365
|
-
var e = Math.min(this.
|
|
2366
|
-
var f = Math.max(this.
|
|
2367
|
-
this.
|
|
2393
|
+
var e = Math.min(this.dm, d);
|
|
2394
|
+
var f = Math.max(this.dm, d);
|
|
2395
|
+
this.hi(e, f);
|
|
2368
2396
|
}
|
|
2369
2397
|
else {
|
|
2370
|
-
this.
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.
|
|
2398
|
+
this.dm = -1;
|
|
2399
|
+
this.dl = -1;
|
|
2400
|
+
this.cs.clear();
|
|
2401
|
+
this.ct.clear();
|
|
2374
2402
|
}
|
|
2375
|
-
this.
|
|
2403
|
+
this.gu();
|
|
2376
2404
|
return true;
|
|
2377
2405
|
};
|
|
2378
|
-
ListPanel.prototype.
|
|
2379
|
-
if (this.
|
|
2406
|
+
ListPanel.prototype.gu = function () {
|
|
2407
|
+
if (this.bo && this.selectionChanged != null) {
|
|
2380
2408
|
this.selectionChanged(this, new ListPanelSelectionChangedEventArgs());
|
|
2381
|
-
this.
|
|
2409
|
+
this.bo = false;
|
|
2382
2410
|
}
|
|
2383
2411
|
};
|
|
2384
|
-
ListPanel.prototype.
|
|
2412
|
+
ListPanel.prototype.hi = function (a, b) {
|
|
2385
2413
|
for (var c = a; c <= b; c++) {
|
|
2386
|
-
if (this.
|
|
2414
|
+
if (this.cs.contains(c)) {
|
|
2387
2415
|
continue;
|
|
2388
2416
|
}
|
|
2389
|
-
if (!this.
|
|
2390
|
-
var d = this.
|
|
2417
|
+
if (!this.ct.contains(c)) {
|
|
2418
|
+
var d = this.af(this.e(), c);
|
|
2391
2419
|
if (d != null) {
|
|
2392
|
-
if (this.
|
|
2393
|
-
this.
|
|
2420
|
+
if (this.aq.h(d)) {
|
|
2421
|
+
this.cs.add(c);
|
|
2394
2422
|
continue;
|
|
2395
2423
|
}
|
|
2396
2424
|
else {
|
|
2397
|
-
this.
|
|
2398
|
-
this.
|
|
2399
|
-
this.
|
|
2425
|
+
this.ct.add(c);
|
|
2426
|
+
this.al.add(d);
|
|
2427
|
+
this.aq.z(c);
|
|
2400
2428
|
}
|
|
2401
2429
|
}
|
|
2402
2430
|
}
|
|
2403
2431
|
}
|
|
2404
|
-
for (var e = 0; e < this.
|
|
2405
|
-
if (this.
|
|
2406
|
-
var f = this.
|
|
2432
|
+
for (var e = 0; e < this.ct.count; e++) {
|
|
2433
|
+
if (this.ct._inner[e] < a || this.ct._inner[e] > b) {
|
|
2434
|
+
var f = this.af(this.e(), this.ct._inner[e]);
|
|
2407
2435
|
if (f != null) {
|
|
2408
|
-
this.
|
|
2436
|
+
this.ct.removeAt(e);
|
|
2409
2437
|
e--;
|
|
2410
|
-
var g = this.
|
|
2411
|
-
var h = this.
|
|
2412
|
-
this.
|
|
2413
|
-
this.cl.remove(f);
|
|
2438
|
+
var g = this.al.indexOf(f);
|
|
2439
|
+
var h = this.ai._inner[g];
|
|
2440
|
+
this.al.remove(f);
|
|
2414
2441
|
this.cn.remove(f);
|
|
2415
|
-
this.
|
|
2442
|
+
this.cp.remove(f);
|
|
2416
2443
|
this.cm.remove1(h);
|
|
2444
|
+
this.co.remove1(h);
|
|
2417
2445
|
}
|
|
2418
2446
|
}
|
|
2419
2447
|
}
|
|
2420
2448
|
};
|
|
2421
|
-
ListPanel.prototype.
|
|
2422
|
-
if (this.r == 0 || this.
|
|
2449
|
+
ListPanel.prototype.b4 = function (a, b) {
|
|
2450
|
+
if (this.r == 0 || this.b1()) {
|
|
2423
2451
|
return false;
|
|
2424
2452
|
}
|
|
2425
|
-
var c = this.
|
|
2426
|
-
var d = this.
|
|
2453
|
+
var c = this.dt;
|
|
2454
|
+
var d = this.dt;
|
|
2427
2455
|
if (b) {
|
|
2428
|
-
if (d >= this.
|
|
2456
|
+
if (d >= this.d4() - 1) {
|
|
2429
2457
|
return false;
|
|
2430
2458
|
}
|
|
2431
|
-
d = this.
|
|
2459
|
+
d = this.d4() - 1;
|
|
2432
2460
|
}
|
|
2433
|
-
else if (this.
|
|
2461
|
+
else if (this.ad == 2 && this.d5(d) == this.cw.count - 1) {
|
|
2434
2462
|
return false;
|
|
2435
2463
|
}
|
|
2436
2464
|
var e = -1;
|
|
2437
|
-
if (this.
|
|
2438
|
-
e = this.
|
|
2439
|
-
var f = (d - e) + this.
|
|
2440
|
-
if (f > this.
|
|
2441
|
-
f = this.
|
|
2465
|
+
if (this.ad == 2) {
|
|
2466
|
+
e = this.d5(d);
|
|
2467
|
+
var f = (d - e) + this.cw.count;
|
|
2468
|
+
if (f > this.d4() - 1) {
|
|
2469
|
+
f = this.d4() - 1;
|
|
2442
2470
|
}
|
|
2443
2471
|
d = f;
|
|
2444
2472
|
}
|
|
2445
2473
|
if (d == c) {
|
|
2446
2474
|
return false;
|
|
2447
2475
|
}
|
|
2448
|
-
this.
|
|
2449
|
-
this.
|
|
2476
|
+
this.dt = d;
|
|
2477
|
+
this.fh(d, false);
|
|
2450
2478
|
return true;
|
|
2451
2479
|
};
|
|
2452
|
-
ListPanel.prototype.
|
|
2453
|
-
var c = this.
|
|
2454
|
-
var d = this.
|
|
2480
|
+
ListPanel.prototype.b8 = function (a, b) {
|
|
2481
|
+
var c = this.dd;
|
|
2482
|
+
var d = this.dd;
|
|
2455
2483
|
if (b) {
|
|
2456
2484
|
if (d <= 0) {
|
|
2457
2485
|
return false;
|
|
2458
2486
|
}
|
|
2459
2487
|
d = 0;
|
|
2460
2488
|
}
|
|
2461
|
-
else if (this.
|
|
2489
|
+
else if (this.ad == 2 && this.d5(d) == 0) {
|
|
2462
2490
|
return false;
|
|
2463
2491
|
}
|
|
2464
2492
|
var e = -1;
|
|
2465
|
-
if (this.
|
|
2466
|
-
e = this.
|
|
2493
|
+
if (this.ad == 2) {
|
|
2494
|
+
e = this.d5(d);
|
|
2467
2495
|
var f = (d - e);
|
|
2468
2496
|
if (f < 0) {
|
|
2469
2497
|
f = 0;
|
|
@@ -2473,18 +2501,18 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2473
2501
|
if (d == c) {
|
|
2474
2502
|
return false;
|
|
2475
2503
|
}
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2504
|
+
this.dt = d;
|
|
2505
|
+
this.fh(d, false);
|
|
2478
2506
|
return true;
|
|
2479
2507
|
};
|
|
2480
|
-
ListPanel.prototype.
|
|
2481
|
-
if (this.
|
|
2508
|
+
ListPanel.prototype.ca = function (a, b) {
|
|
2509
|
+
if (this.ad == 0) {
|
|
2482
2510
|
return false;
|
|
2483
2511
|
}
|
|
2484
|
-
if (this.r == 0 || this.
|
|
2512
|
+
if (this.r == 0 || this.b1()) {
|
|
2485
2513
|
return false;
|
|
2486
2514
|
}
|
|
2487
|
-
var c = this.
|
|
2515
|
+
var c = this.dt;
|
|
2488
2516
|
if (c <= 0) {
|
|
2489
2517
|
return false;
|
|
2490
2518
|
}
|
|
@@ -2492,8 +2520,8 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2492
2520
|
if (b) {
|
|
2493
2521
|
d = 0;
|
|
2494
2522
|
}
|
|
2495
|
-
if (b && this.
|
|
2496
|
-
d = (c - this.
|
|
2523
|
+
if (b && this.ad == 2) {
|
|
2524
|
+
d = (c - this.d5(c));
|
|
2497
2525
|
if (d < 0) {
|
|
2498
2526
|
d = 0;
|
|
2499
2527
|
}
|
|
@@ -2504,130 +2532,130 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2504
2532
|
if (d == c) {
|
|
2505
2533
|
return false;
|
|
2506
2534
|
}
|
|
2507
|
-
this.
|
|
2508
|
-
if (this.
|
|
2509
|
-
this.
|
|
2535
|
+
this.dt = d;
|
|
2536
|
+
if (this.ay.a) {
|
|
2537
|
+
this.fh(d, false);
|
|
2510
2538
|
}
|
|
2511
|
-
this.
|
|
2512
|
-
if (this.
|
|
2513
|
-
if (this.
|
|
2514
|
-
this.
|
|
2539
|
+
this.bo = false;
|
|
2540
|
+
if (this.as == 2 && a) {
|
|
2541
|
+
if (this.dm == -1) {
|
|
2542
|
+
this.dm = c;
|
|
2515
2543
|
}
|
|
2516
|
-
var e = Math.min(this.
|
|
2517
|
-
var f = Math.max(this.
|
|
2518
|
-
this.
|
|
2544
|
+
var e = Math.min(this.dm, d);
|
|
2545
|
+
var f = Math.max(this.dm, d);
|
|
2546
|
+
this.hi(e, f);
|
|
2519
2547
|
}
|
|
2520
2548
|
else {
|
|
2521
|
-
this.
|
|
2522
|
-
this.
|
|
2523
|
-
this.
|
|
2524
|
-
this.
|
|
2549
|
+
this.dm = -1;
|
|
2550
|
+
this.dl = -1;
|
|
2551
|
+
this.cs.clear();
|
|
2552
|
+
this.ct.clear();
|
|
2525
2553
|
}
|
|
2526
|
-
this.
|
|
2554
|
+
this.gu();
|
|
2527
2555
|
return true;
|
|
2528
2556
|
};
|
|
2529
|
-
ListPanel.prototype.
|
|
2530
|
-
if (this.r == 0 || this.
|
|
2557
|
+
ListPanel.prototype.cb = function (a, b) {
|
|
2558
|
+
if (this.r == 0 || this.b1()) {
|
|
2531
2559
|
return false;
|
|
2532
2560
|
}
|
|
2533
|
-
var c = this.
|
|
2534
|
-
var d = this.
|
|
2561
|
+
var c = this.d0();
|
|
2562
|
+
var d = this.d2();
|
|
2535
2563
|
var e = d - c;
|
|
2536
|
-
var f = Math.min(d + 1, this.
|
|
2564
|
+
var f = Math.min(d + 1, this.d4() - 1);
|
|
2537
2565
|
{
|
|
2538
|
-
this.
|
|
2566
|
+
this.dt = f;
|
|
2539
2567
|
}
|
|
2540
|
-
this.
|
|
2568
|
+
this.fh(f, true);
|
|
2541
2569
|
return true;
|
|
2542
2570
|
};
|
|
2543
|
-
ListPanel.prototype.
|
|
2544
|
-
if (this.r == 0 || this.
|
|
2571
|
+
ListPanel.prototype.cc = function (a, b) {
|
|
2572
|
+
if (this.r == 0 || this.b1()) {
|
|
2545
2573
|
return false;
|
|
2546
2574
|
}
|
|
2547
|
-
var c = this.
|
|
2548
|
-
var d = this.
|
|
2575
|
+
var c = this.d0();
|
|
2576
|
+
var d = this.d2();
|
|
2549
2577
|
var e = d - c;
|
|
2550
2578
|
var f = Math.max(c - e - 1, 0);
|
|
2551
2579
|
{
|
|
2552
|
-
this.
|
|
2580
|
+
this.dt = f;
|
|
2553
2581
|
}
|
|
2554
|
-
this.
|
|
2582
|
+
this.fh(f, false);
|
|
2555
2583
|
return true;
|
|
2556
2584
|
};
|
|
2557
|
-
ListPanel.prototype.
|
|
2558
|
-
if (this.
|
|
2585
|
+
ListPanel.prototype.cd = function (a, b) {
|
|
2586
|
+
if (this.ad == 0) {
|
|
2559
2587
|
return false;
|
|
2560
2588
|
}
|
|
2561
|
-
if (this.r == 0 || this.
|
|
2589
|
+
if (this.r == 0 || this.b1()) {
|
|
2562
2590
|
return false;
|
|
2563
2591
|
}
|
|
2564
|
-
var c = this.
|
|
2592
|
+
var c = this.dt;
|
|
2565
2593
|
if (c <= 0) {
|
|
2566
2594
|
return false;
|
|
2567
2595
|
}
|
|
2568
2596
|
var d = c - 1;
|
|
2569
2597
|
if (b) {
|
|
2570
|
-
d = this.
|
|
2598
|
+
d = this.d4() - 1;
|
|
2571
2599
|
}
|
|
2572
|
-
if (b && this.
|
|
2573
|
-
d = (c - this.
|
|
2574
|
-
if (d > this.
|
|
2575
|
-
d = this.
|
|
2600
|
+
if (b && this.ad == 2) {
|
|
2601
|
+
d = (c - this.d5(c)) + this.cw.count;
|
|
2602
|
+
if (d > this.d4() - 1) {
|
|
2603
|
+
d = this.d4() - 1;
|
|
2576
2604
|
}
|
|
2577
2605
|
}
|
|
2578
|
-
if (d > this.
|
|
2579
|
-
d = this.
|
|
2606
|
+
if (d > this.d4() - 1) {
|
|
2607
|
+
d = this.d4() - 1;
|
|
2580
2608
|
}
|
|
2581
2609
|
if (d == c) {
|
|
2582
2610
|
return false;
|
|
2583
2611
|
}
|
|
2584
|
-
this.
|
|
2585
|
-
if (this.
|
|
2586
|
-
this.
|
|
2612
|
+
this.dt = d;
|
|
2613
|
+
if (this.ay.a) {
|
|
2614
|
+
this.fh(d, false);
|
|
2587
2615
|
}
|
|
2588
|
-
this.
|
|
2589
|
-
if (this.
|
|
2590
|
-
if (this.
|
|
2591
|
-
this.
|
|
2616
|
+
this.bo = false;
|
|
2617
|
+
if (this.as == 2 && a) {
|
|
2618
|
+
if (this.dm == -1) {
|
|
2619
|
+
this.dm = c;
|
|
2592
2620
|
}
|
|
2593
|
-
var e = Math.min(this.
|
|
2594
|
-
var f = Math.max(this.
|
|
2595
|
-
this.
|
|
2621
|
+
var e = Math.min(this.dm, d);
|
|
2622
|
+
var f = Math.max(this.dm, d);
|
|
2623
|
+
this.hi(e, f);
|
|
2596
2624
|
}
|
|
2597
2625
|
else {
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2600
|
-
this.
|
|
2601
|
-
this.
|
|
2626
|
+
this.dm = -1;
|
|
2627
|
+
this.dl = -1;
|
|
2628
|
+
this.cs.clear();
|
|
2629
|
+
this.ct.clear();
|
|
2602
2630
|
}
|
|
2603
|
-
this.
|
|
2631
|
+
this.gu();
|
|
2604
2632
|
return true;
|
|
2605
2633
|
};
|
|
2606
|
-
ListPanel.prototype.
|
|
2607
|
-
if (this.r == 0 || this.
|
|
2634
|
+
ListPanel.prototype.cf = function (a, b) {
|
|
2635
|
+
if (this.r == 0 || this.b1()) {
|
|
2608
2636
|
return false;
|
|
2609
2637
|
}
|
|
2610
|
-
if (this.
|
|
2611
|
-
return this.
|
|
2638
|
+
if (this.ad == 0) {
|
|
2639
|
+
return this.b3(a, b);
|
|
2612
2640
|
}
|
|
2613
|
-
return this.
|
|
2641
|
+
return this.cd(a, b);
|
|
2614
2642
|
};
|
|
2615
|
-
ListPanel.prototype.
|
|
2643
|
+
ListPanel.prototype.gx = function () {
|
|
2616
2644
|
};
|
|
2617
|
-
ListPanel.prototype.
|
|
2618
|
-
if (this.
|
|
2645
|
+
ListPanel.prototype.cg = function (a, b) {
|
|
2646
|
+
if (this.ad == 1) {
|
|
2619
2647
|
return false;
|
|
2620
2648
|
}
|
|
2621
|
-
if (this.r == 0 || this.
|
|
2649
|
+
if (this.r == 0 || this.b1()) {
|
|
2622
2650
|
return false;
|
|
2623
2651
|
}
|
|
2624
|
-
var c = this.
|
|
2652
|
+
var c = this.dt;
|
|
2625
2653
|
if (c <= 0) {
|
|
2626
2654
|
return false;
|
|
2627
2655
|
}
|
|
2628
2656
|
var d = c - 1;
|
|
2629
|
-
if (this.
|
|
2630
|
-
d = c - this.
|
|
2657
|
+
if (this.ad == 2) {
|
|
2658
|
+
d = c - this.cw.count;
|
|
2631
2659
|
if (d < 0) {
|
|
2632
2660
|
d = 0;
|
|
2633
2661
|
}
|
|
@@ -2641,162 +2669,162 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2641
2669
|
if (d == c) {
|
|
2642
2670
|
return false;
|
|
2643
2671
|
}
|
|
2644
|
-
this.
|
|
2645
|
-
if (this.
|
|
2646
|
-
this.
|
|
2672
|
+
this.dt = d;
|
|
2673
|
+
if (this.ay.a) {
|
|
2674
|
+
this.fh(d, false);
|
|
2647
2675
|
}
|
|
2648
|
-
this.
|
|
2649
|
-
if (this.
|
|
2650
|
-
if (this.
|
|
2651
|
-
this.
|
|
2676
|
+
this.bo = false;
|
|
2677
|
+
if (this.as == 2 && a) {
|
|
2678
|
+
if (this.dm == -1) {
|
|
2679
|
+
this.dm = c;
|
|
2652
2680
|
}
|
|
2653
|
-
var e = Math.min(this.
|
|
2654
|
-
var f = Math.max(this.
|
|
2655
|
-
this.
|
|
2681
|
+
var e = Math.min(this.dm, d);
|
|
2682
|
+
var f = Math.max(this.dm, d);
|
|
2683
|
+
this.hi(e, f);
|
|
2656
2684
|
}
|
|
2657
2685
|
else {
|
|
2658
|
-
this.
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2686
|
+
this.dm = -1;
|
|
2687
|
+
this.dl = -1;
|
|
2688
|
+
this.cs.clear();
|
|
2689
|
+
this.ct.clear();
|
|
2662
2690
|
}
|
|
2663
|
-
this.
|
|
2691
|
+
this.gu();
|
|
2664
2692
|
return true;
|
|
2665
2693
|
};
|
|
2666
|
-
ListPanel.prototype.
|
|
2694
|
+
ListPanel.prototype.b5 = function (a, b) {
|
|
2667
2695
|
return false;
|
|
2668
2696
|
};
|
|
2669
|
-
ListPanel.prototype.
|
|
2697
|
+
ListPanel.prototype.b6 = function () {
|
|
2670
2698
|
return false;
|
|
2671
2699
|
};
|
|
2672
|
-
ListPanel.prototype.
|
|
2700
|
+
ListPanel.prototype.b7 = function () {
|
|
2673
2701
|
return false;
|
|
2674
2702
|
};
|
|
2675
|
-
ListPanel.prototype.
|
|
2703
|
+
ListPanel.prototype.ce = function (a, b) {
|
|
2676
2704
|
return false;
|
|
2677
2705
|
};
|
|
2678
|
-
ListPanel.prototype.
|
|
2706
|
+
ListPanel.prototype.fu = function () {
|
|
2679
2707
|
this.view.v();
|
|
2680
2708
|
};
|
|
2681
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2709
|
+
Object.defineProperty(ListPanel.prototype, "bw", {
|
|
2682
2710
|
get: function () {
|
|
2683
|
-
return this.
|
|
2711
|
+
return this.bf;
|
|
2684
2712
|
},
|
|
2685
2713
|
set: function (a) {
|
|
2686
|
-
this.
|
|
2714
|
+
this.bf = a;
|
|
2687
2715
|
},
|
|
2688
2716
|
enumerable: false,
|
|
2689
2717
|
configurable: true
|
|
2690
2718
|
});
|
|
2691
|
-
ListPanel.prototype.
|
|
2719
|
+
ListPanel.prototype.fg = function (a) {
|
|
2692
2720
|
if (a === void 0) {
|
|
2693
2721
|
a = false;
|
|
2694
2722
|
}
|
|
2695
|
-
this.ck.clear();
|
|
2696
|
-
this.cl.clear();
|
|
2697
2723
|
this.cm.clear();
|
|
2698
2724
|
this.cn.clear();
|
|
2699
|
-
this.
|
|
2700
|
-
this.
|
|
2725
|
+
this.co.clear();
|
|
2726
|
+
this.cp.clear();
|
|
2727
|
+
this.bb = true;
|
|
2728
|
+
this.bc = a;
|
|
2701
2729
|
};
|
|
2702
|
-
ListPanel.prototype.
|
|
2703
|
-
if (this.
|
|
2704
|
-
this.
|
|
2705
|
-
this.
|
|
2706
|
-
this.
|
|
2730
|
+
ListPanel.prototype.fq = function () {
|
|
2731
|
+
if (this.bb) {
|
|
2732
|
+
this.bw = true;
|
|
2733
|
+
this.hp(this.cm, this.cn, this.co, this.cp);
|
|
2734
|
+
this.bw = false;
|
|
2707
2735
|
}
|
|
2708
|
-
this.
|
|
2736
|
+
this.bb = false;
|
|
2709
2737
|
};
|
|
2710
|
-
Object.defineProperty(ListPanel.prototype, "
|
|
2738
|
+
Object.defineProperty(ListPanel.prototype, "b2", {
|
|
2711
2739
|
get: function () {
|
|
2712
|
-
return this.
|
|
2740
|
+
return this.bl;
|
|
2713
2741
|
},
|
|
2714
2742
|
set: function (a) {
|
|
2715
|
-
var b = this.
|
|
2716
|
-
this.
|
|
2717
|
-
if (b != this.
|
|
2718
|
-
this.
|
|
2743
|
+
var b = this.bl;
|
|
2744
|
+
this.bl = a;
|
|
2745
|
+
if (b != this.bl) {
|
|
2746
|
+
this.gl("NotifyOnAllSelectionChanges", b, this.bl);
|
|
2719
2747
|
}
|
|
2720
2748
|
},
|
|
2721
2749
|
enumerable: false,
|
|
2722
2750
|
configurable: true
|
|
2723
2751
|
});
|
|
2724
|
-
ListPanel.prototype.
|
|
2752
|
+
ListPanel.prototype.hp = function (a, b, c, d) {
|
|
2725
2753
|
if (a.count == 0 && b.count == 0 && c.count == 0 && d.count == 0) {
|
|
2726
2754
|
return;
|
|
2727
2755
|
}
|
|
2728
|
-
var e = this.
|
|
2729
|
-
this.
|
|
2730
|
-
if (!this.
|
|
2731
|
-
if (!this.
|
|
2756
|
+
var e = this.b2;
|
|
2757
|
+
this.b2 = false;
|
|
2758
|
+
if (!this.bp) {
|
|
2759
|
+
if (!this.bc) {
|
|
2732
2760
|
if (a.count > 0) {
|
|
2733
|
-
this.
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2761
|
+
this.ai.o(a);
|
|
2762
|
+
this.al.o(b);
|
|
2763
|
+
this.bo = true;
|
|
2736
2764
|
}
|
|
2737
2765
|
if (c.count > 0) {
|
|
2738
|
-
this.
|
|
2739
|
-
this.
|
|
2766
|
+
this.al.ah = true;
|
|
2767
|
+
this.ai.af = true;
|
|
2740
2768
|
for (var f = c.count - 1; f >= 0; f--) {
|
|
2741
|
-
var g = this.
|
|
2769
|
+
var g = this.al.al(d._inner[f]);
|
|
2742
2770
|
if (g >= 0) {
|
|
2743
|
-
this.
|
|
2744
|
-
this.
|
|
2771
|
+
this.ai.removeAt(g);
|
|
2772
|
+
this.al.removeAt(g);
|
|
2745
2773
|
}
|
|
2746
2774
|
}
|
|
2747
|
-
this.
|
|
2748
|
-
this.
|
|
2749
|
-
this.
|
|
2775
|
+
this.ai.af = false;
|
|
2776
|
+
this.al.ah = false;
|
|
2777
|
+
this.bo = true;
|
|
2750
2778
|
}
|
|
2751
2779
|
}
|
|
2752
2780
|
}
|
|
2753
|
-
this.
|
|
2754
|
-
this.
|
|
2755
|
-
this.
|
|
2781
|
+
this.b2 = e;
|
|
2782
|
+
this.gp(c, a);
|
|
2783
|
+
this.gs(d, b);
|
|
2756
2784
|
};
|
|
2757
|
-
ListPanel.prototype.
|
|
2785
|
+
ListPanel.prototype.hg = function (a, b) {
|
|
2758
2786
|
var e_4, _a, e_5, _b, e_6, _c;
|
|
2759
2787
|
var _this = this;
|
|
2760
|
-
this.
|
|
2761
|
-
if (!this.
|
|
2762
|
-
if (!this.
|
|
2763
|
-
this.
|
|
2788
|
+
this.bo = true;
|
|
2789
|
+
if (!this.bw && this.actualDataSource != null) {
|
|
2790
|
+
if (!this.bp) {
|
|
2791
|
+
this.bp = true;
|
|
2764
2792
|
switch (b.action) {
|
|
2765
2793
|
case 0:
|
|
2766
2794
|
if (b.newItems != null) {
|
|
2767
2795
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
2768
|
-
var d = this.
|
|
2769
|
-
this.
|
|
2796
|
+
var d = this.ae(this.e(), b.newItems.item(c));
|
|
2797
|
+
this.al.ae.insert(c + b.newStartingIndex, d);
|
|
2770
2798
|
}
|
|
2771
2799
|
}
|
|
2772
2800
|
break;
|
|
2773
2801
|
case 1:
|
|
2774
2802
|
if (b.oldItems != null) {
|
|
2775
2803
|
for (var e = 0; e < b.oldItems.count; e++) {
|
|
2776
|
-
this.
|
|
2804
|
+
this.al.ae.removeAt(b.oldStartingIndex);
|
|
2777
2805
|
}
|
|
2778
2806
|
}
|
|
2779
2807
|
break;
|
|
2780
2808
|
case 2:
|
|
2781
2809
|
if (b.oldItems != null) {
|
|
2782
2810
|
for (var f = 0; f < b.oldItems.count; f++) {
|
|
2783
|
-
this.
|
|
2811
|
+
this.al.ae.removeAt(b.oldStartingIndex);
|
|
2784
2812
|
}
|
|
2785
2813
|
}
|
|
2786
2814
|
if (b.newItems != null) {
|
|
2787
2815
|
for (var g = 0; g < b.newItems.count; g++) {
|
|
2788
|
-
var h = this.
|
|
2789
|
-
this.
|
|
2816
|
+
var h = this.ae(this.e(), b.newItems.item(g));
|
|
2817
|
+
this.al.ae.insert(g + b.newStartingIndex, h);
|
|
2790
2818
|
}
|
|
2791
2819
|
}
|
|
2792
2820
|
break;
|
|
2793
2821
|
case 4:
|
|
2794
|
-
this.
|
|
2822
|
+
this.al.clear();
|
|
2795
2823
|
try {
|
|
2796
|
-
for (var _d = __values(fromEnum(this.
|
|
2824
|
+
for (var _d = __values(fromEnum(this.ai.ae)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
2797
2825
|
var i = _e.value;
|
|
2798
|
-
var j = this.
|
|
2799
|
-
this.
|
|
2826
|
+
var j = this.ae(this.e(), i);
|
|
2827
|
+
this.al.add(j);
|
|
2800
2828
|
}
|
|
2801
2829
|
}
|
|
2802
2830
|
catch (e_4_1) {
|
|
@@ -2814,11 +2842,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2814
2842
|
}
|
|
2815
2843
|
break;
|
|
2816
2844
|
}
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2845
|
+
this.aq.af();
|
|
2846
|
+
this.bp = false;
|
|
2819
2847
|
}
|
|
2820
2848
|
}
|
|
2821
|
-
if (this.
|
|
2849
|
+
if (this.b2) {
|
|
2822
2850
|
if (this.selectedItemsChanged != null) {
|
|
2823
2851
|
var k_1 = null;
|
|
2824
2852
|
if (b.newItems != null && b.newItems.count > 0) {
|
|
@@ -2870,54 +2898,54 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2870
2898
|
var $ret = new ListPanelSelectedItemsChangedEventArgs();
|
|
2871
2899
|
$ret.addedItems = k_1;
|
|
2872
2900
|
$ret.removedItems = m_1;
|
|
2873
|
-
$ret.currentItems = _this.
|
|
2901
|
+
$ret.currentItems = _this.ai;
|
|
2874
2902
|
return $ret;
|
|
2875
2903
|
})()));
|
|
2876
2904
|
}
|
|
2877
2905
|
}
|
|
2878
2906
|
};
|
|
2879
|
-
ListPanel.prototype.
|
|
2907
|
+
ListPanel.prototype.hh = function (a, b) {
|
|
2880
2908
|
var e_7, _a, e_8, _b, e_9, _c;
|
|
2881
2909
|
var _this = this;
|
|
2882
|
-
if (!this.
|
|
2883
|
-
if (!this.
|
|
2884
|
-
this.
|
|
2910
|
+
if (!this.bw && this.actualDataSource != null) {
|
|
2911
|
+
if (!this.bp) {
|
|
2912
|
+
this.bp = true;
|
|
2885
2913
|
switch (b.action) {
|
|
2886
2914
|
case 0:
|
|
2887
2915
|
if (b.newItems != null) {
|
|
2888
2916
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
2889
|
-
var d = this.
|
|
2890
|
-
this.
|
|
2917
|
+
var d = this.eg(b.newItems.item(c));
|
|
2918
|
+
this.ai.ae.insert1(c + b.newStartingIndex, d);
|
|
2891
2919
|
}
|
|
2892
2920
|
}
|
|
2893
2921
|
break;
|
|
2894
2922
|
case 1:
|
|
2895
2923
|
if (b.oldItems != null) {
|
|
2896
2924
|
for (var e = 0; e < b.oldItems.count; e++) {
|
|
2897
|
-
this.
|
|
2925
|
+
this.ai.ae.removeAt(b.oldStartingIndex);
|
|
2898
2926
|
}
|
|
2899
2927
|
}
|
|
2900
2928
|
break;
|
|
2901
2929
|
case 2:
|
|
2902
2930
|
if (b.oldItems != null) {
|
|
2903
2931
|
for (var f = 0; f < b.oldItems.count; f++) {
|
|
2904
|
-
this.
|
|
2932
|
+
this.ai.ae.removeAt(b.oldStartingIndex);
|
|
2905
2933
|
}
|
|
2906
2934
|
}
|
|
2907
2935
|
if (b.newItems != null) {
|
|
2908
2936
|
for (var g = 0; g < b.newItems.count; g++) {
|
|
2909
|
-
var h = this.
|
|
2910
|
-
this.
|
|
2937
|
+
var h = this.eg(b.newItems.item(g));
|
|
2938
|
+
this.ai.ae.insert1(g + b.newStartingIndex, h);
|
|
2911
2939
|
}
|
|
2912
2940
|
}
|
|
2913
2941
|
break;
|
|
2914
2942
|
case 4:
|
|
2915
|
-
this.
|
|
2943
|
+
this.ai.clear();
|
|
2916
2944
|
try {
|
|
2917
|
-
for (var _d = __values(fromEnum(this.
|
|
2945
|
+
for (var _d = __values(fromEnum(this.al.ae)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
2918
2946
|
var i = _e.value;
|
|
2919
|
-
var j = this.
|
|
2920
|
-
this.
|
|
2947
|
+
var j = this.eg(i);
|
|
2948
|
+
this.ai.add1(j);
|
|
2921
2949
|
}
|
|
2922
2950
|
}
|
|
2923
2951
|
catch (e_7_1) {
|
|
@@ -2935,11 +2963,11 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2935
2963
|
}
|
|
2936
2964
|
break;
|
|
2937
2965
|
}
|
|
2938
|
-
this.
|
|
2939
|
-
this.
|
|
2966
|
+
this.aq.af();
|
|
2967
|
+
this.bp = false;
|
|
2940
2968
|
}
|
|
2941
2969
|
}
|
|
2942
|
-
if (this.
|
|
2970
|
+
if (this.b2) {
|
|
2943
2971
|
if (this.selectedKeysChanged != null) {
|
|
2944
2972
|
var k_2 = null;
|
|
2945
2973
|
if (b.newItems != null && b.newItems.count > 0) {
|
|
@@ -2993,104 +3021,104 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2993
3021
|
var $ret = new ListPanelSelectedKeysChangedEventArgs();
|
|
2994
3022
|
$ret.addedKeys = k_2;
|
|
2995
3023
|
$ret.removedKeys = m_2;
|
|
2996
|
-
$ret.currentKeys = _this.
|
|
3024
|
+
$ret.currentKeys = _this.al;
|
|
2997
3025
|
return $ret;
|
|
2998
3026
|
})()));
|
|
2999
3027
|
}
|
|
3000
3028
|
}
|
|
3001
3029
|
};
|
|
3002
|
-
ListPanel.prototype.
|
|
3003
|
-
this.
|
|
3030
|
+
ListPanel.prototype.hm = function (a, b) {
|
|
3031
|
+
this.g0();
|
|
3004
3032
|
};
|
|
3005
|
-
ListPanel.prototype.
|
|
3033
|
+
ListPanel.prototype.gn = function (a, b) {
|
|
3006
3034
|
if (a == null) {
|
|
3007
|
-
var c = this.
|
|
3008
|
-
if (c > -1 && this.
|
|
3009
|
-
a = this.
|
|
3035
|
+
var c = this.al.ae.indexOf(b);
|
|
3036
|
+
if (c > -1 && this.ai.ae.count > 0) {
|
|
3037
|
+
a = this.ai.ae._inner[c];
|
|
3010
3038
|
}
|
|
3011
3039
|
}
|
|
3012
3040
|
if (a == null) {
|
|
3013
3041
|
return;
|
|
3014
3042
|
}
|
|
3015
|
-
this.
|
|
3016
|
-
if (!this.
|
|
3017
|
-
this.
|
|
3043
|
+
this.bw = true;
|
|
3044
|
+
if (!this.bb) {
|
|
3045
|
+
this.ff(a, b, true);
|
|
3018
3046
|
}
|
|
3019
3047
|
else {
|
|
3020
|
-
this.
|
|
3021
|
-
this.
|
|
3022
|
-
if (this.
|
|
3023
|
-
this.
|
|
3048
|
+
this.cm.add1(a);
|
|
3049
|
+
this.cn.add(b);
|
|
3050
|
+
if (this.bc) {
|
|
3051
|
+
this.ff(a, b, false);
|
|
3024
3052
|
}
|
|
3025
3053
|
}
|
|
3026
|
-
this.
|
|
3054
|
+
this.bw = false;
|
|
3027
3055
|
};
|
|
3028
|
-
ListPanel.prototype.
|
|
3029
|
-
this.
|
|
3056
|
+
ListPanel.prototype.hn = function (a, b) {
|
|
3057
|
+
this.g0();
|
|
3030
3058
|
};
|
|
3031
|
-
ListPanel.prototype.
|
|
3059
|
+
ListPanel.prototype.go = function (a, b) {
|
|
3032
3060
|
if (a == null) {
|
|
3033
|
-
var c = this.
|
|
3034
|
-
if (c > -1 && this.
|
|
3035
|
-
a = this.
|
|
3061
|
+
var c = this.al.ae.indexOf(b);
|
|
3062
|
+
if (c > -1 && this.ai.ae.count > 0) {
|
|
3063
|
+
a = this.ai.ae._inner[c];
|
|
3036
3064
|
}
|
|
3037
3065
|
}
|
|
3038
3066
|
if (a == null) {
|
|
3039
3067
|
return;
|
|
3040
3068
|
}
|
|
3041
|
-
this.
|
|
3042
|
-
if (!this.
|
|
3043
|
-
this.
|
|
3069
|
+
this.bw = true;
|
|
3070
|
+
if (!this.bb) {
|
|
3071
|
+
this.g9(a, b, true);
|
|
3044
3072
|
}
|
|
3045
3073
|
else {
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3048
|
-
if (this.
|
|
3049
|
-
this.
|
|
3074
|
+
this.co.add1(a);
|
|
3075
|
+
this.cp.add(b);
|
|
3076
|
+
if (this.bc) {
|
|
3077
|
+
this.g9(a, b, false);
|
|
3050
3078
|
}
|
|
3051
3079
|
}
|
|
3052
|
-
this.
|
|
3080
|
+
this.bw = false;
|
|
3053
3081
|
};
|
|
3054
|
-
ListPanel.prototype.
|
|
3055
|
-
var d = this.
|
|
3056
|
-
this.
|
|
3057
|
-
if (!this.
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
3082
|
+
ListPanel.prototype.ff = function (a, b, c) {
|
|
3083
|
+
var d = this.b2;
|
|
3084
|
+
this.b2 = false;
|
|
3085
|
+
if (!this.bp) {
|
|
3086
|
+
this.ai.add1(a);
|
|
3087
|
+
this.al.add(b);
|
|
3060
3088
|
}
|
|
3061
|
-
this.
|
|
3089
|
+
this.b2 = d;
|
|
3062
3090
|
if (c) {
|
|
3063
|
-
this.
|
|
3064
|
-
this.
|
|
3091
|
+
this.gq(null, a);
|
|
3092
|
+
this.gr(null, b);
|
|
3065
3093
|
}
|
|
3066
3094
|
};
|
|
3067
|
-
ListPanel.prototype.
|
|
3068
|
-
var d = this.
|
|
3069
|
-
this.
|
|
3070
|
-
var e = this.
|
|
3071
|
-
if (!this.
|
|
3072
|
-
this.
|
|
3095
|
+
ListPanel.prototype.ho = function (a, b, c) {
|
|
3096
|
+
var d = this.b2;
|
|
3097
|
+
this.b2 = false;
|
|
3098
|
+
var e = this.ai.ae._inner[a];
|
|
3099
|
+
if (!this.bp) {
|
|
3100
|
+
this.ai.ae._inner[a] = b;
|
|
3073
3101
|
}
|
|
3074
|
-
this.
|
|
3075
|
-
this.
|
|
3102
|
+
this.b2 = d;
|
|
3103
|
+
this.gq(b, b);
|
|
3076
3104
|
};
|
|
3077
|
-
ListPanel.prototype.
|
|
3078
|
-
var d = this.
|
|
3079
|
-
this.
|
|
3080
|
-
if (!this.
|
|
3081
|
-
this.
|
|
3082
|
-
this.
|
|
3105
|
+
ListPanel.prototype.g9 = function (a, b, c) {
|
|
3106
|
+
var d = this.b2;
|
|
3107
|
+
this.b2 = false;
|
|
3108
|
+
if (!this.bp) {
|
|
3109
|
+
this.ai.remove1(a);
|
|
3110
|
+
this.al.remove(b);
|
|
3083
3111
|
}
|
|
3084
|
-
this.
|
|
3112
|
+
this.b2 = d;
|
|
3085
3113
|
if (c) {
|
|
3086
|
-
this.
|
|
3087
|
-
this.
|
|
3114
|
+
this.gq(a, null);
|
|
3115
|
+
this.gr(b, null);
|
|
3088
3116
|
}
|
|
3089
3117
|
};
|
|
3090
|
-
ListPanel.prototype.
|
|
3091
|
-
if (!this.
|
|
3118
|
+
ListPanel.prototype.gq = function (a, b) {
|
|
3119
|
+
if (!this.cl && this.selectedItemsChanged != null) {
|
|
3092
3120
|
var c = new ListPanelSelectedItemsChangedEventArgs();
|
|
3093
|
-
c.currentItems = this.
|
|
3121
|
+
c.currentItems = this.ai;
|
|
3094
3122
|
if (a != null) {
|
|
3095
3123
|
var d = new ListPanelSelectedItemsCollection();
|
|
3096
3124
|
d.add1(a);
|
|
@@ -3104,10 +3132,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3104
3132
|
this.selectedItemsChanged(this, c);
|
|
3105
3133
|
}
|
|
3106
3134
|
};
|
|
3107
|
-
ListPanel.prototype.
|
|
3108
|
-
if (!this.
|
|
3135
|
+
ListPanel.prototype.gr = function (a, b) {
|
|
3136
|
+
if (!this.cl && this.selectedKeysChanged != null) {
|
|
3109
3137
|
var c = new ListPanelSelectedKeysChangedEventArgs();
|
|
3110
|
-
c.currentKeys = this.
|
|
3138
|
+
c.currentKeys = this.al;
|
|
3111
3139
|
if (a != null) {
|
|
3112
3140
|
c.removedKeys = new ListPanelSelectedKeysCollection();
|
|
3113
3141
|
c.removedKeys.ag = false;
|
|
@@ -3121,10 +3149,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3121
3149
|
this.selectedKeysChanged(this, c);
|
|
3122
3150
|
}
|
|
3123
3151
|
};
|
|
3124
|
-
ListPanel.prototype.
|
|
3125
|
-
if (!this.
|
|
3152
|
+
ListPanel.prototype.gp = function (a, b) {
|
|
3153
|
+
if (!this.cl && this.selectedItemsChanged != null) {
|
|
3126
3154
|
var c = new ListPanelSelectedItemsChangedEventArgs();
|
|
3127
|
-
c.currentItems = this.
|
|
3155
|
+
c.currentItems = this.ai;
|
|
3128
3156
|
if (a != null) {
|
|
3129
3157
|
c.removedItems = new ListPanelSelectedItemsCollection();
|
|
3130
3158
|
c.removedItems.o(a);
|
|
@@ -3136,10 +3164,10 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3136
3164
|
this.selectedItemsChanged(this, c);
|
|
3137
3165
|
}
|
|
3138
3166
|
};
|
|
3139
|
-
ListPanel.prototype.
|
|
3140
|
-
if (!this.
|
|
3167
|
+
ListPanel.prototype.gs = function (a, b) {
|
|
3168
|
+
if (!this.cl && this.selectedKeysChanged != null) {
|
|
3141
3169
|
var c = new ListPanelSelectedKeysChangedEventArgs();
|
|
3142
|
-
c.currentKeys = this.
|
|
3170
|
+
c.currentKeys = this.al;
|
|
3143
3171
|
if (a != null) {
|
|
3144
3172
|
c.removedKeys = new ListPanelSelectedKeysCollection();
|
|
3145
3173
|
c.removedKeys.ag = false;
|
|
@@ -3153,25 +3181,25 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3153
3181
|
this.selectedKeysChanged(this, c);
|
|
3154
3182
|
}
|
|
3155
3183
|
};
|
|
3156
|
-
ListPanel.prototype.
|
|
3157
|
-
if (this.
|
|
3158
|
-
if (this.
|
|
3184
|
+
ListPanel.prototype.fm = function () {
|
|
3185
|
+
if (this.as == 1 || this.as == 2) {
|
|
3186
|
+
if (this.ai.ae.count > 0) {
|
|
3159
3187
|
var a = new List$1(Base.$, 0);
|
|
3160
3188
|
var b = new List$1(ListPanelPrimaryKeyValue.$, 0);
|
|
3161
|
-
for (var c = 0; c < this.
|
|
3162
|
-
a.add1(this.
|
|
3163
|
-
b.add(this.
|
|
3189
|
+
for (var c = 0; c < this.ai.ae.count; c++) {
|
|
3190
|
+
a.add1(this.ai.ae._inner[c]);
|
|
3191
|
+
b.add(this.al.ae._inner[c]);
|
|
3164
3192
|
}
|
|
3165
|
-
this.
|
|
3166
|
-
this.
|
|
3167
|
-
this.
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3171
|
-
this.
|
|
3172
|
-
this.
|
|
3173
|
-
this.
|
|
3174
|
-
this.
|
|
3193
|
+
this.bw = true;
|
|
3194
|
+
this.ai.clear();
|
|
3195
|
+
this.al.clear();
|
|
3196
|
+
this.cl = true;
|
|
3197
|
+
this.aq.af();
|
|
3198
|
+
this.cl = false;
|
|
3199
|
+
this.bw = false;
|
|
3200
|
+
this.gp(a, null);
|
|
3201
|
+
this.gs(b, null);
|
|
3202
|
+
this.aq.z(-1);
|
|
3175
3203
|
}
|
|
3176
3204
|
}
|
|
3177
3205
|
};
|
|
@@ -3179,12 +3207,12 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3179
3207
|
if (this.actualDataSource == null) {
|
|
3180
3208
|
return 0;
|
|
3181
3209
|
}
|
|
3182
|
-
if (a < 0 || a >= this.
|
|
3210
|
+
if (a < 0 || a >= this.d4()) {
|
|
3183
3211
|
return 0;
|
|
3184
3212
|
}
|
|
3185
3213
|
return this.actualDataSource.getRowType(a);
|
|
3186
3214
|
};
|
|
3187
|
-
ListPanel.prototype.
|
|
3215
|
+
ListPanel.prototype.d9 = function (a, b, c, d) {
|
|
3188
3216
|
if (this.actualDataSource == null || c < 0) {
|
|
3189
3217
|
return -1;
|
|
3190
3218
|
}
|
|
@@ -3196,7 +3224,7 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3196
3224
|
if (f == null) {
|
|
3197
3225
|
continue;
|
|
3198
3226
|
}
|
|
3199
|
-
var g = this.
|
|
3227
|
+
var g = this.ae(a, f);
|
|
3200
3228
|
if (g == null) {
|
|
3201
3229
|
continue;
|
|
3202
3230
|
}
|
|
@@ -3215,138 +3243,138 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3215
3243
|
}
|
|
3216
3244
|
return -1;
|
|
3217
3245
|
};
|
|
3218
|
-
ListPanel.prototype.
|
|
3246
|
+
ListPanel.prototype.ei = function (a) {
|
|
3219
3247
|
if (a < 0 || a > this.actualDataSource.actualCount - 1) {
|
|
3220
3248
|
return null;
|
|
3221
3249
|
}
|
|
3222
3250
|
return this.actualDataSource.getItemAtIndex(a);
|
|
3223
3251
|
};
|
|
3224
|
-
ListPanel.prototype.
|
|
3225
|
-
var e = this.
|
|
3252
|
+
ListPanel.prototype.dx = function (a, b, c, d) {
|
|
3253
|
+
var e = this.d9(a, b, c, d);
|
|
3226
3254
|
if (e >= 0) {
|
|
3227
3255
|
return e;
|
|
3228
3256
|
}
|
|
3229
|
-
return this.
|
|
3257
|
+
return this.d8(b);
|
|
3230
3258
|
};
|
|
3231
|
-
ListPanel.prototype.
|
|
3259
|
+
ListPanel.prototype.d4 = function () {
|
|
3232
3260
|
if (this.actualDataSource == null) {
|
|
3233
3261
|
return 0;
|
|
3234
3262
|
}
|
|
3235
3263
|
return this.actualDataSource.actualCount;
|
|
3236
3264
|
};
|
|
3237
|
-
ListPanel.prototype.
|
|
3265
|
+
ListPanel.prototype.ej = function (a) {
|
|
3238
3266
|
var b = a.v;
|
|
3239
3267
|
if (b < 0 || b > this.actualDataSource.actualCount - 1) {
|
|
3240
3268
|
return null;
|
|
3241
3269
|
}
|
|
3242
3270
|
return this.actualDataSource.getItemAtIndex(b);
|
|
3243
3271
|
};
|
|
3244
|
-
ListPanel.prototype.
|
|
3245
|
-
this.
|
|
3246
|
-
this.
|
|
3247
|
-
this.
|
|
3272
|
+
ListPanel.prototype.gt = function (a, b, c) {
|
|
3273
|
+
this.bw = true;
|
|
3274
|
+
this.ho(a, b, c);
|
|
3275
|
+
this.bw = false;
|
|
3248
3276
|
};
|
|
3249
|
-
ListPanel.prototype.
|
|
3250
|
-
this.
|
|
3277
|
+
ListPanel.prototype.hk = function (a, b) {
|
|
3278
|
+
this.g0();
|
|
3251
3279
|
};
|
|
3252
|
-
ListPanel.prototype.
|
|
3253
|
-
if (!this.
|
|
3254
|
-
this.
|
|
3280
|
+
ListPanel.prototype.gb = function (a) {
|
|
3281
|
+
if (!this.bq) {
|
|
3282
|
+
this.dt = a;
|
|
3255
3283
|
}
|
|
3256
3284
|
if (this.activeRowChanged != null) {
|
|
3257
3285
|
var b = new ListPanelActiveRowChangedEventArgs();
|
|
3258
|
-
b.newActiveRow = this.
|
|
3259
|
-
b.oldActiveRow = this.
|
|
3286
|
+
b.newActiveRow = this.dt;
|
|
3287
|
+
b.oldActiveRow = this.dg;
|
|
3260
3288
|
this.activeRowChanged(this, b);
|
|
3261
3289
|
}
|
|
3262
|
-
this.
|
|
3290
|
+
this.gc();
|
|
3263
3291
|
};
|
|
3264
|
-
ListPanel.prototype.
|
|
3265
|
-
this.
|
|
3292
|
+
ListPanel.prototype.hl = function (a, b) {
|
|
3293
|
+
this.g0();
|
|
3266
3294
|
};
|
|
3267
|
-
ListPanel.prototype.
|
|
3268
|
-
var b = this.
|
|
3269
|
-
if (!this.
|
|
3270
|
-
this.
|
|
3295
|
+
ListPanel.prototype.ge = function (a) {
|
|
3296
|
+
var b = this.dt;
|
|
3297
|
+
if (!this.bq) {
|
|
3298
|
+
this.dt = a;
|
|
3271
3299
|
}
|
|
3272
3300
|
if (this.activeRowChanged != null) {
|
|
3273
3301
|
var c = new ListPanelActiveRowChangedEventArgs();
|
|
3274
|
-
c.newActiveRow = this.
|
|
3302
|
+
c.newActiveRow = this.dt;
|
|
3275
3303
|
c.oldActiveRow = b;
|
|
3276
3304
|
this.activeRowChanged(this, c);
|
|
3277
3305
|
}
|
|
3278
|
-
this.
|
|
3306
|
+
this.gc();
|
|
3279
3307
|
};
|
|
3280
|
-
ListPanel.prototype.
|
|
3308
|
+
ListPanel.prototype.gc = function () {
|
|
3281
3309
|
};
|
|
3282
|
-
ListPanel.prototype.
|
|
3283
|
-
var b = this.
|
|
3310
|
+
ListPanel.prototype.ck = function (a) {
|
|
3311
|
+
var b = this.dv(a);
|
|
3284
3312
|
if (b == -1) {
|
|
3285
3313
|
return false;
|
|
3286
3314
|
}
|
|
3287
|
-
this.
|
|
3315
|
+
this.hd(b);
|
|
3288
3316
|
return true;
|
|
3289
3317
|
};
|
|
3290
|
-
ListPanel.prototype.
|
|
3291
|
-
if (this.
|
|
3292
|
-
var e = this.
|
|
3293
|
-
this.
|
|
3318
|
+
ListPanel.prototype.gj = function (a, b, c, d) {
|
|
3319
|
+
if (this.by) {
|
|
3320
|
+
var e = this.y(a);
|
|
3321
|
+
this.x = e;
|
|
3294
3322
|
}
|
|
3295
3323
|
};
|
|
3296
|
-
ListPanel.prototype.
|
|
3297
|
-
for (var b = 0; b < this.
|
|
3298
|
-
if (this.
|
|
3324
|
+
ListPanel.prototype.y = function (a) {
|
|
3325
|
+
for (var b = 0; b < this.a2.o.count; b++) {
|
|
3326
|
+
if (this.a2.p._inner[b]) {
|
|
3299
3327
|
continue;
|
|
3300
3328
|
}
|
|
3301
|
-
var c = this.
|
|
3302
|
-
var d = this.
|
|
3303
|
-
if (this.
|
|
3329
|
+
var c = this.a2.o._inner[b];
|
|
3330
|
+
var d = this.a2.q._inner[b];
|
|
3331
|
+
if (this.ch(d, a)) {
|
|
3304
3332
|
return d;
|
|
3305
3333
|
}
|
|
3306
3334
|
}
|
|
3307
3335
|
return null;
|
|
3308
3336
|
};
|
|
3309
|
-
ListPanel.prototype.
|
|
3310
|
-
var c = b.y + this.
|
|
3311
|
-
var d = b.x + this.
|
|
3312
|
-
var e = this.
|
|
3313
|
-
var f = this.
|
|
3337
|
+
ListPanel.prototype.ch = function (a, b) {
|
|
3338
|
+
var c = b.y + this.ay.d.top;
|
|
3339
|
+
var d = b.x + this.ay.d.left;
|
|
3340
|
+
var e = this.cz;
|
|
3341
|
+
var f = this.c4;
|
|
3314
3342
|
var g = a.v;
|
|
3315
3343
|
var h = -1;
|
|
3316
|
-
if (this.
|
|
3317
|
-
g = this.
|
|
3318
|
-
h = this.
|
|
3319
|
-
e = this.
|
|
3344
|
+
if (this.ad == 2) {
|
|
3345
|
+
g = this.d7(g);
|
|
3346
|
+
h = this.d6(g);
|
|
3347
|
+
e = this.cw._inner[h].a;
|
|
3320
3348
|
}
|
|
3321
|
-
if (this.
|
|
3322
|
-
f = this.
|
|
3349
|
+
if (this.bz) {
|
|
3350
|
+
f = this.cq._inner[g];
|
|
3323
3351
|
}
|
|
3324
|
-
if (this.
|
|
3325
|
-
e = this.
|
|
3352
|
+
if (this.ad == 1) {
|
|
3353
|
+
e = this.cu._inner[g];
|
|
3326
3354
|
}
|
|
3327
3355
|
if (d >= a.s && d <= a.s + e && c >= a.u && c <= a.u + f) {
|
|
3328
3356
|
return true;
|
|
3329
3357
|
}
|
|
3330
3358
|
return false;
|
|
3331
3359
|
};
|
|
3332
|
-
ListPanel.prototype.
|
|
3333
|
-
if (this.
|
|
3334
|
-
var e = this.
|
|
3335
|
-
if (e != null && e == this.
|
|
3336
|
-
this.
|
|
3360
|
+
ListPanel.prototype.gk = function (a, b, c, d) {
|
|
3361
|
+
if (this.by) {
|
|
3362
|
+
var e = this.y(a);
|
|
3363
|
+
if (e != null && e == this.x) {
|
|
3364
|
+
this.gd(e, b, c, d);
|
|
3337
3365
|
}
|
|
3338
3366
|
}
|
|
3339
3367
|
};
|
|
3340
|
-
ListPanel.prototype.
|
|
3368
|
+
ListPanel.prototype.gd = function (a, b, c, d) {
|
|
3341
3369
|
var _this = this;
|
|
3342
3370
|
if (b) {
|
|
3343
|
-
this.
|
|
3344
|
-
this.
|
|
3345
|
-
this.
|
|
3346
|
-
this.
|
|
3347
|
-
this.
|
|
3348
|
-
this.
|
|
3349
|
-
this.
|
|
3371
|
+
this.dm = -1;
|
|
3372
|
+
this.dl = -1;
|
|
3373
|
+
this.cs.clear();
|
|
3374
|
+
this.ct.clear();
|
|
3375
|
+
this.bo = false;
|
|
3376
|
+
this.aq.o(a, c, d, this.an == 0);
|
|
3377
|
+
this.gu();
|
|
3350
3378
|
if (this.r == 1) {
|
|
3351
3379
|
this.p.n(a);
|
|
3352
3380
|
}
|
|
@@ -3362,11 +3390,21 @@ var ListPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3362
3390
|
})()));
|
|
3363
3391
|
}
|
|
3364
3392
|
};
|
|
3393
|
+
ListPanel.prototype.fo = function (a) {
|
|
3394
|
+
for (var b = 0; b < this.a2.o.count; b++) {
|
|
3395
|
+
if (this.a2.p._inner[b]) {
|
|
3396
|
+
continue;
|
|
3397
|
+
}
|
|
3398
|
+
if (this.a2.q._inner[b].x == a) {
|
|
3399
|
+
this.a2.q._inner[b].m = true;
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
};
|
|
3365
3403
|
ListPanel.$t = markType(ListPanel, 'ListPanel', Base.$, [INotifyPropertyChanged_$type]);
|
|
3366
|
-
ListPanel.
|
|
3367
|
-
ListPanel.
|
|
3368
|
-
ListPanel.
|
|
3369
|
-
ListPanel.
|
|
3404
|
+
ListPanel.hy = null;
|
|
3405
|
+
ListPanel.ac = 0;
|
|
3406
|
+
ListPanel.bt = false;
|
|
3407
|
+
ListPanel.hz = BrushUtil.h(255, 24, 29, 31);
|
|
3370
3408
|
return ListPanel;
|
|
3371
3409
|
}(Base));
|
|
3372
3410
|
export { ListPanel };
|
|
@@ -3399,19 +3437,19 @@ var ListPanelDataSourceNotificationBridge = /** @class */ /*@__PURE__*/ (functio
|
|
|
3399
3437
|
return _this;
|
|
3400
3438
|
}
|
|
3401
3439
|
ListPanelDataSourceNotificationBridge.prototype.rangeActualized = function (a, b) {
|
|
3402
|
-
this.a.
|
|
3440
|
+
this.a.gg(a, b);
|
|
3403
3441
|
};
|
|
3404
3442
|
ListPanelDataSourceNotificationBridge.prototype.notifySetItem = function (a, b, c) {
|
|
3405
|
-
this.a.
|
|
3443
|
+
this.a.gv(a, b, c);
|
|
3406
3444
|
};
|
|
3407
3445
|
ListPanelDataSourceNotificationBridge.prototype.notifyClearItems = function () {
|
|
3408
|
-
this.a.
|
|
3446
|
+
this.a.gf();
|
|
3409
3447
|
};
|
|
3410
3448
|
ListPanelDataSourceNotificationBridge.prototype.notifyInsertItem = function (a, b) {
|
|
3411
|
-
this.a.
|
|
3449
|
+
this.a.gi(a, b);
|
|
3412
3450
|
};
|
|
3413
3451
|
ListPanelDataSourceNotificationBridge.prototype.notifyRemoveItem = function (a, b) {
|
|
3414
|
-
this.a.
|
|
3452
|
+
this.a.gm(a, b);
|
|
3415
3453
|
};
|
|
3416
3454
|
ListPanelDataSourceNotificationBridge.$t = markType(ListPanelDataSourceNotificationBridge, 'ListPanelDataSourceNotificationBridge', Base.$, [IDataSourceUpdateNotifier_$type]);
|
|
3417
3455
|
return ListPanelDataSourceNotificationBridge;
|
|
@@ -3446,18 +3484,18 @@ var ListPanelLayoutPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3446
3484
|
b.l = true;
|
|
3447
3485
|
this.a.bn(b.b.a);
|
|
3448
3486
|
}
|
|
3449
|
-
if (a.
|
|
3487
|
+
if (a.ad == 0) {
|
|
3450
3488
|
if (!isNaN_(a.absoluteWidth)) {
|
|
3451
3489
|
b.b.a.ae = a.absoluteWidth;
|
|
3452
3490
|
}
|
|
3453
|
-
b.b.a.y = a.
|
|
3491
|
+
b.b.a.y = a.c5(b.v);
|
|
3454
3492
|
}
|
|
3455
|
-
else if (a.
|
|
3456
|
-
b.b.a.ae = a.
|
|
3457
|
-
b.b.a.y = a.
|
|
3493
|
+
else if (a.ad == 2) {
|
|
3494
|
+
b.b.a.ae = a.c6(b.v);
|
|
3495
|
+
b.b.a.y = a.c5(b.v);
|
|
3458
3496
|
}
|
|
3459
3497
|
else {
|
|
3460
|
-
b.b.a.ae = a.
|
|
3498
|
+
b.b.a.ae = a.c6(b.v);
|
|
3461
3499
|
b.b.a.y = a.absoluteHeight;
|
|
3462
3500
|
}
|
|
3463
3501
|
if (b.o) {
|
|
@@ -3736,7 +3774,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3736
3774
|
if (this.g(b)) {
|
|
3737
3775
|
return false;
|
|
3738
3776
|
}
|
|
3739
|
-
var c = this.a.
|
|
3777
|
+
var c = this.a.af(this.a.e(), b);
|
|
3740
3778
|
if (c == null) {
|
|
3741
3779
|
return false;
|
|
3742
3780
|
}
|
|
@@ -3749,11 +3787,11 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3749
3787
|
else if (this.d.item(c) != b) {
|
|
3750
3788
|
return false;
|
|
3751
3789
|
}
|
|
3752
|
-
var f = this.a.
|
|
3790
|
+
var f = this.a.al.al(c);
|
|
3753
3791
|
if (f >= 0) {
|
|
3754
|
-
if (this.a.
|
|
3755
|
-
var g = this.a.
|
|
3756
|
-
this.a.
|
|
3792
|
+
if (this.a.ai.ae._inner[f] == null) {
|
|
3793
|
+
var g = this.a.ej(a);
|
|
3794
|
+
this.a.gt(f, g, c);
|
|
3757
3795
|
}
|
|
3758
3796
|
}
|
|
3759
3797
|
}
|
|
@@ -3766,7 +3804,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3766
3804
|
return this.d.d(a);
|
|
3767
3805
|
};
|
|
3768
3806
|
ListPanelSelectionManager.prototype.i = function () {
|
|
3769
|
-
return this.a.
|
|
3807
|
+
return this.a.as == 1 || this.a.as == 2;
|
|
3770
3808
|
};
|
|
3771
3809
|
ListPanelSelectionManager.prototype.ac = function (a) {
|
|
3772
3810
|
var b = this.n(a);
|
|
@@ -3776,13 +3814,13 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3776
3814
|
if (this.g(b)) {
|
|
3777
3815
|
return;
|
|
3778
3816
|
}
|
|
3779
|
-
var c = this.a.
|
|
3817
|
+
var c = this.a.af(this.a.e(), b);
|
|
3780
3818
|
if (this.h(c)) {
|
|
3781
3819
|
this.ad(c, b, false);
|
|
3782
3820
|
}
|
|
3783
3821
|
};
|
|
3784
3822
|
ListPanelSelectionManager.prototype.w = function (a) {
|
|
3785
|
-
if (this.a.
|
|
3823
|
+
if (this.a.as == 0) {
|
|
3786
3824
|
return;
|
|
3787
3825
|
}
|
|
3788
3826
|
var b = false;
|
|
@@ -3791,10 +3829,10 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3791
3829
|
var e = this.n(a);
|
|
3792
3830
|
if (e > -1) {
|
|
3793
3831
|
if (!this.g(e)) {
|
|
3794
|
-
c = this.a.
|
|
3832
|
+
c = this.a.af(this.a.e(), e);
|
|
3795
3833
|
}
|
|
3796
3834
|
}
|
|
3797
|
-
if (this.a.
|
|
3835
|
+
if (this.a.as == 1 || this.e) {
|
|
3798
3836
|
var f = this.d.o;
|
|
3799
3837
|
var g = this.d.p;
|
|
3800
3838
|
var h = new List$1(ListPanelPrimaryKeyValue.$, 0);
|
|
@@ -3814,13 +3852,13 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3814
3852
|
h.add(f._inner[j]);
|
|
3815
3853
|
i.add(this.d.q._inner[j]);
|
|
3816
3854
|
}
|
|
3817
|
-
this.a.
|
|
3855
|
+
this.a.fg();
|
|
3818
3856
|
this.d.g = true;
|
|
3819
3857
|
for (var k = 0; k < h.count; k++) {
|
|
3820
3858
|
this.ad(h._inner[k], i._inner[k], false);
|
|
3821
3859
|
}
|
|
3822
3860
|
this.d.g = false;
|
|
3823
|
-
this.a.
|
|
3861
|
+
this.a.fq();
|
|
3824
3862
|
}
|
|
3825
3863
|
if (c == null || b) {
|
|
3826
3864
|
return;
|
|
@@ -3836,8 +3874,8 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3836
3874
|
if (this.a.h(b) == 3) {
|
|
3837
3875
|
var f = typeCast(DataSourceSpecialRow.$, a.value[0]);
|
|
3838
3876
|
if (f.targetRow != null) {
|
|
3839
|
-
var g = this.a.
|
|
3840
|
-
var h = this.a.
|
|
3877
|
+
var g = this.a.ae(this.a.e(), f.targetRow);
|
|
3878
|
+
var h = this.a.d9(this.a.e(), g, this.a.d0(), this.a.d2());
|
|
3841
3879
|
this.y(g, h, f.targetRow, true);
|
|
3842
3880
|
}
|
|
3843
3881
|
e = true;
|
|
@@ -3846,45 +3884,45 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3846
3884
|
}
|
|
3847
3885
|
var i = null;
|
|
3848
3886
|
if (!e) {
|
|
3849
|
-
i = this.a.
|
|
3887
|
+
i = this.a.ei(b);
|
|
3850
3888
|
}
|
|
3851
3889
|
this.y(a, b, i, d);
|
|
3852
3890
|
};
|
|
3853
3891
|
ListPanelSelectionManager.prototype.y = function (a, b, c, d) {
|
|
3854
3892
|
if (!this.d.d(a)) {
|
|
3855
3893
|
this.d.s(a, b);
|
|
3856
|
-
if (this.a.
|
|
3857
|
-
var e = (b >= this.a.
|
|
3894
|
+
if (this.a.ay.c != null && this.a.ay.b != null) {
|
|
3895
|
+
var e = (b >= this.a.ay.c && b <= this.a.ay.b);
|
|
3858
3896
|
if (c == null) {
|
|
3859
3897
|
e = true;
|
|
3860
3898
|
}
|
|
3861
3899
|
if (e) {
|
|
3862
|
-
this.a.
|
|
3900
|
+
this.a.hm(this.a, b);
|
|
3863
3901
|
}
|
|
3864
3902
|
}
|
|
3865
3903
|
}
|
|
3866
3904
|
if (d) {
|
|
3867
|
-
this.a.
|
|
3905
|
+
this.a.gn(c, a);
|
|
3868
3906
|
}
|
|
3869
3907
|
};
|
|
3870
3908
|
ListPanelSelectionManager.prototype.ae = function (a, b, c, d) {
|
|
3871
3909
|
if (this.d.d(a)) {
|
|
3872
3910
|
this.d.f(a);
|
|
3873
|
-
if (this.a.
|
|
3874
|
-
var e = (b >= this.a.
|
|
3911
|
+
if (this.a.ay.c != -1 && this.a.ay.b != -1) {
|
|
3912
|
+
var e = (b >= this.a.ay.c && b <= this.a.ay.b);
|
|
3875
3913
|
if (c == null) {
|
|
3876
3914
|
e = true;
|
|
3877
3915
|
}
|
|
3878
3916
|
if (e) {
|
|
3879
|
-
var f = this.a.
|
|
3917
|
+
var f = this.a.af(this.a.e(), b);
|
|
3880
3918
|
if (f != null && f.equals(a) && b >= 0) {
|
|
3881
|
-
this.a.
|
|
3919
|
+
this.a.hn(this.a, b);
|
|
3882
3920
|
}
|
|
3883
3921
|
}
|
|
3884
3922
|
}
|
|
3885
3923
|
}
|
|
3886
3924
|
if (d) {
|
|
3887
|
-
this.a.
|
|
3925
|
+
this.a.go(c, a);
|
|
3888
3926
|
}
|
|
3889
3927
|
};
|
|
3890
3928
|
ListPanelSelectionManager.prototype.ad = function (a, b, c) {
|
|
@@ -3894,8 +3932,8 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3894
3932
|
if (this.a.h(b) == 3) {
|
|
3895
3933
|
var f = typeCast(DataSourceSpecialRow.$, a.value[0]);
|
|
3896
3934
|
if (f.targetRow != null) {
|
|
3897
|
-
var g = this.a.
|
|
3898
|
-
var h = this.a.
|
|
3935
|
+
var g = this.a.ae(this.a.e(), f.targetRow);
|
|
3936
|
+
var h = this.a.d9(this.a.e(), g, this.a.d0(), this.a.d2());
|
|
3899
3937
|
this.ae(g, h, f.targetRow, true);
|
|
3900
3938
|
}
|
|
3901
3939
|
e = true;
|
|
@@ -3904,7 +3942,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3904
3942
|
}
|
|
3905
3943
|
var i = null;
|
|
3906
3944
|
if (!e) {
|
|
3907
|
-
i = this.a.
|
|
3945
|
+
i = this.a.ei(b);
|
|
3908
3946
|
}
|
|
3909
3947
|
this.ae(a, b, i, d);
|
|
3910
3948
|
};
|
|
@@ -3918,7 +3956,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3918
3956
|
e = this.d.item(d);
|
|
3919
3957
|
}
|
|
3920
3958
|
if (e == -1) {
|
|
3921
|
-
e = this.a.
|
|
3959
|
+
e = this.a.d9(this.a.e(), d, this.a.d0(), this.a.d2());
|
|
3922
3960
|
}
|
|
3923
3961
|
if (!b.containsKey(d)) {
|
|
3924
3962
|
b.addItem(d, e);
|
|
@@ -3944,22 +3982,22 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3944
3982
|
for (var l = 0; l < i.count; l++) {
|
|
3945
3983
|
this.ad(h._inner[l], i._inner[l], false);
|
|
3946
3984
|
}
|
|
3947
|
-
for (var m = 0; m < this.a.
|
|
3948
|
-
var n = this.a.
|
|
3985
|
+
for (var m = 0; m < this.a.ai.ae.count; m++) {
|
|
3986
|
+
var n = this.a.ae(this.a.e(), this.a.ai.ae._inner[m]);
|
|
3949
3987
|
if (n != null && !b.containsKey(n)) {
|
|
3950
3988
|
var o = -1;
|
|
3951
3989
|
if (this.d.d(n)) {
|
|
3952
3990
|
o = this.d.item(n);
|
|
3953
3991
|
}
|
|
3954
3992
|
if (o == -1) {
|
|
3955
|
-
o = this.a.
|
|
3993
|
+
o = this.a.dx(this.a.e(), n, this.a.d0(), this.a.d2());
|
|
3956
3994
|
}
|
|
3957
3995
|
this.ad(n, o, false);
|
|
3958
3996
|
}
|
|
3959
3997
|
}
|
|
3960
3998
|
};
|
|
3961
3999
|
ListPanelSelectionManager.prototype.l = function () {
|
|
3962
|
-
return this.a.
|
|
4000
|
+
return this.a.al.ae;
|
|
3963
4001
|
};
|
|
3964
4002
|
ListPanelSelectionManager.prototype.q = function () {
|
|
3965
4003
|
this.p();
|
|
@@ -4064,18 +4102,18 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4064
4102
|
}
|
|
4065
4103
|
var d = this.d.o._inner[c];
|
|
4066
4104
|
a.add(this.d.item(d));
|
|
4067
|
-
var e = this.a.
|
|
4105
|
+
var e = this.a.d9(this.a.e(), d, this.a.d0(), this.a.d2());
|
|
4068
4106
|
b.add_1(e);
|
|
4069
4107
|
this.d.item(d, -1);
|
|
4070
4108
|
}
|
|
4071
4109
|
for (var f = 0; f < a.count; f++) {
|
|
4072
4110
|
if (!b.contains(a._inner[f])) {
|
|
4073
|
-
this.a.
|
|
4111
|
+
this.a.hn(this.a, a._inner[f]);
|
|
4074
4112
|
}
|
|
4075
4113
|
}
|
|
4076
4114
|
};
|
|
4077
4115
|
ListPanelSelectionManager.prototype.k = function (a) {
|
|
4078
|
-
return this.a.
|
|
4116
|
+
return this.a.as == 2;
|
|
4079
4117
|
};
|
|
4080
4118
|
ListPanelSelectionManager.prototype.z = function (a) {
|
|
4081
4119
|
this.m = a;
|
|
@@ -4088,7 +4126,7 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4088
4126
|
if (!this.f(a)) {
|
|
4089
4127
|
return;
|
|
4090
4128
|
}
|
|
4091
|
-
b = this.k(this.a.
|
|
4129
|
+
b = this.k(this.a.as) ? b : false;
|
|
4092
4130
|
if (!b || this.m == -1) {
|
|
4093
4131
|
if (c || d) {
|
|
4094
4132
|
this.ab(a);
|
|
@@ -4111,11 +4149,11 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4111
4149
|
$ret.d = Math.max(_this.m, a.v);
|
|
4112
4150
|
return $ret;
|
|
4113
4151
|
})());
|
|
4114
|
-
this.a.
|
|
4152
|
+
this.a.fg();
|
|
4115
4153
|
if (this.b != null) {
|
|
4116
4154
|
for (var f = this.b.f; f <= this.b.d; f++) {
|
|
4117
4155
|
if (!e.b(f)) {
|
|
4118
|
-
var g = this.a.
|
|
4156
|
+
var g = this.a.af(this.a.e(), f);
|
|
4119
4157
|
if (g != null && this.d.d(g)) {
|
|
4120
4158
|
this.ad(g, f, false);
|
|
4121
4159
|
}
|
|
@@ -4123,12 +4161,12 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4123
4161
|
}
|
|
4124
4162
|
}
|
|
4125
4163
|
for (var h = e.f; h <= e.d; h++) {
|
|
4126
|
-
var i = this.a.
|
|
4164
|
+
var i = this.a.af(this.a.e(), h);
|
|
4127
4165
|
if (i != null && !this.d.d(i)) {
|
|
4128
4166
|
this.x(i, h, false);
|
|
4129
4167
|
}
|
|
4130
4168
|
}
|
|
4131
|
-
this.a.
|
|
4169
|
+
this.a.fq();
|
|
4132
4170
|
this.b = e;
|
|
4133
4171
|
}
|
|
4134
4172
|
};
|
|
@@ -4136,19 +4174,19 @@ var ListPanelSelectionManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4136
4174
|
if (this.a.actualDataSource == null) {
|
|
4137
4175
|
return;
|
|
4138
4176
|
}
|
|
4139
|
-
this.a.
|
|
4140
|
-
var a = this.a.
|
|
4177
|
+
this.a.fg();
|
|
4178
|
+
var a = this.a.d4();
|
|
4141
4179
|
for (var b = 0; b < a; b++) {
|
|
4142
4180
|
var c = this.a.actualDataSource.getItemAtIndex(b);
|
|
4143
4181
|
if (typeCast(DataSourceSpecialRow.$, c) !== null) {
|
|
4144
4182
|
continue;
|
|
4145
4183
|
}
|
|
4146
|
-
var d = this.a.
|
|
4184
|
+
var d = this.a.af(this.a.e(), b);
|
|
4147
4185
|
if (d != null && !this.d.d(d)) {
|
|
4148
4186
|
this.x(d, b, false);
|
|
4149
4187
|
}
|
|
4150
4188
|
}
|
|
4151
|
-
this.a.
|
|
4189
|
+
this.a.fq();
|
|
4152
4190
|
};
|
|
4153
4191
|
ListPanelSelectionManager.$t = markType(ListPanelSelectionManager, 'ListPanelSelectionManager');
|
|
4154
4192
|
return ListPanelSelectionManager;
|
|
@@ -4264,12 +4302,12 @@ var ListPanelActivationManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
4264
4302
|
if (a != this.g) {
|
|
4265
4303
|
this.g = a;
|
|
4266
4304
|
if (a >= 0) {
|
|
4267
|
-
if (a >= 0 && a < this.a.
|
|
4305
|
+
if (a >= 0 && a < this.a.d4()) {
|
|
4268
4306
|
}
|
|
4269
|
-
this.a.
|
|
4307
|
+
this.a.hk(this.a, a);
|
|
4270
4308
|
}
|
|
4271
4309
|
if (b) {
|
|
4272
|
-
this.a.
|
|
4310
|
+
this.a.gb(a);
|
|
4273
4311
|
}
|
|
4274
4312
|
}
|
|
4275
4313
|
};
|
|
@@ -4279,14 +4317,14 @@ var ListPanelActivationManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
4279
4317
|
if (a >= 0) {
|
|
4280
4318
|
{
|
|
4281
4319
|
{
|
|
4282
|
-
if (a >= 0 && a < this.a.
|
|
4320
|
+
if (a >= 0 && a < this.a.d4()) {
|
|
4283
4321
|
}
|
|
4284
|
-
this.a.
|
|
4322
|
+
this.a.hl(this.a, a);
|
|
4285
4323
|
}
|
|
4286
4324
|
}
|
|
4287
4325
|
}
|
|
4288
4326
|
if (b) {
|
|
4289
|
-
this.a.
|
|
4327
|
+
this.a.ge(a);
|
|
4290
4328
|
}
|
|
4291
4329
|
}
|
|
4292
4330
|
};
|