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