igniteui-webcomponents-data-grids 6.3.1 → 7.0.1-beta.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-data-grids.umd.js +9505 -8241
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +267 -267
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igc-checkbox-list-component.js +89 -89
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +307 -193
- package/esm2015/lib/igc-data-grid-component.js +99 -1
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +77 -20
- package/esm2015/lib/igc-data-grid-pager-component.js +30 -10
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +129 -129
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igc-checkbox-list-component.js +89 -89
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +355 -193
- package/esm5/lib/igc-data-grid-component.js +140 -2
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +101 -20
- package/esm5/lib/igc-data-grid-pager-component.js +38 -10
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +129 -129
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +9402 -8300
- package/fesm5/igniteui-webcomponents-data-grids.js +9507 -8244
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igc-data-grid-column-component.d.ts +54 -0
- package/lib/igc-data-grid-component.d.ts +49 -1
- package/lib/igc-data-grid-filter-dialog-component.d.ts +27 -0
- package/lib/igc-data-grid-pager-component.d.ts +10 -0
- package/lib/igc-text-header-cell-info.d.ts +33 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -97,13 +97,13 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
97
97
|
ad(a) {
|
|
98
98
|
let b = a.rootWrapper.getChildAt(0);
|
|
99
99
|
this.l = b;
|
|
100
|
-
this.c.
|
|
100
|
+
this.c.y = new XInputGroup();
|
|
101
101
|
let c = a.getSubRenderer(b);
|
|
102
|
-
this.c.
|
|
103
|
-
let d = c.getExternal(this.c.
|
|
104
|
-
this.c.
|
|
105
|
-
this.c.
|
|
106
|
-
this.c.
|
|
102
|
+
this.c.y.provideContainer(c);
|
|
103
|
+
let d = c.getExternal(this.c.y, c.rootWrapper, c.getExternal(this.c, null, null));
|
|
104
|
+
this.c.y.d = this.c.aa;
|
|
105
|
+
this.c.y.p = this.c.baseTheme;
|
|
106
|
+
this.c.y.t = this.c.density;
|
|
107
107
|
let e = a.createElement("div");
|
|
108
108
|
let f = a.getSubRenderer(e);
|
|
109
109
|
let g = new XPrefix();
|
|
@@ -114,35 +114,35 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
114
114
|
this.d = new XIcon();
|
|
115
115
|
this.d.provideContainer(j);
|
|
116
116
|
this.d.fill = this.c.searchIconColor;
|
|
117
|
-
this.d.svgPath = CheckboxList.
|
|
117
|
+
this.d.svgPath = CheckboxList.cs;
|
|
118
118
|
let k = f.getExternal(this.d, j.rootWrapper, j.getExternal(this.c, null, null));
|
|
119
119
|
g.appendContentChild(i);
|
|
120
|
-
this.c.
|
|
121
|
-
this.c.
|
|
120
|
+
this.c.y.appendContentChild(e);
|
|
121
|
+
this.c.y.inputs.add(g);
|
|
122
122
|
let l = a.createElement("div");
|
|
123
123
|
l.setRawStyleProperty("flex-grow", "1");
|
|
124
124
|
let m = a.getSubRenderer(l);
|
|
125
|
-
this.c.
|
|
126
|
-
this.c.
|
|
127
|
-
this.c.
|
|
128
|
-
let n = m.getExternal(this.c.
|
|
129
|
-
if (this.c.
|
|
130
|
-
this.c.
|
|
125
|
+
this.c.w = new XInput();
|
|
126
|
+
this.c.w.provideContainer(m);
|
|
127
|
+
this.c.w.b8 = "text";
|
|
128
|
+
let n = m.getExternal(this.c.w, m.rootWrapper, m.getExternal(this.c, null, null));
|
|
129
|
+
if (this.c.cb != null) {
|
|
130
|
+
this.c.w.cg = this.c.cb;
|
|
131
131
|
}
|
|
132
|
-
this.c.
|
|
133
|
-
this.c.
|
|
134
|
-
this.c.
|
|
132
|
+
this.c.y.appendContentChild(l);
|
|
133
|
+
this.c.y.inputs.add(this.c.w);
|
|
134
|
+
this.c.dy();
|
|
135
135
|
}
|
|
136
136
|
z() {
|
|
137
137
|
if (this.j != null) {
|
|
138
138
|
let a = this.j.rootWrapper.getChildAt(3);
|
|
139
139
|
a.setStyleProperty("width", "100%");
|
|
140
140
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
141
|
-
if (!this.c.
|
|
141
|
+
if (!this.c.a8 && !this.c.showSelectAll) {
|
|
142
142
|
a.setStyleProperty("height", "100%");
|
|
143
143
|
}
|
|
144
144
|
else {
|
|
145
|
-
let b = this.c.
|
|
145
|
+
let b = this.c.be();
|
|
146
146
|
a.setStyleProperty("height", "calc(100% - " + b + "px");
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -183,7 +183,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
183
183
|
let h = d.z;
|
|
184
184
|
try {
|
|
185
185
|
d.z = true;
|
|
186
|
-
d.ar = this.c.
|
|
186
|
+
d.ar = this.c.bc;
|
|
187
187
|
d.a4 = b;
|
|
188
188
|
if (c) {
|
|
189
189
|
if (this.c.indexType == 0) {
|
|
@@ -205,11 +205,11 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
205
205
|
finally {
|
|
206
206
|
d.z = h;
|
|
207
207
|
}
|
|
208
|
-
d.dk = this.c.
|
|
209
|
-
d.dd = this.c.
|
|
210
|
-
d.dl = this.c.
|
|
211
|
-
d.de = this.c.
|
|
212
|
-
d.dm = this.c.
|
|
208
|
+
d.dk = this.c.e5;
|
|
209
|
+
d.dd = this.c.e3;
|
|
210
|
+
d.dl = this.c.e6;
|
|
211
|
+
d.de = this.c.e4;
|
|
212
|
+
d.dm = this.c.e7;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
u(a, b, c, d, e, f, g, h, i, j, k) {
|
|
@@ -251,7 +251,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
251
251
|
n.a8 = 16;
|
|
252
252
|
n.a7 = 2;
|
|
253
253
|
n.svgPath = "<svg width=\"16\" height=\"16\" viewBox=\"0 2 24 24\" fill=\"none\" stroke=\"rgba(0, 0, 0, 255)\" xmlns=\"http://www.w3.org/2000/svg\">\r\n" + "<path d=\"M20 11.1205L16.2166 14.8795L12.4575 11.1205\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n" + "</svg>\r\n";
|
|
254
|
-
n.ea = BrushUtil.
|
|
254
|
+
n.ea = BrushUtil.l(120, 0, 0, 0);
|
|
255
255
|
n.a4 = DeviceUtils.g(1);
|
|
256
256
|
r.setStyleProperty("display", "flex");
|
|
257
257
|
r.setStyleProperty("height", "100%");
|
|
@@ -335,10 +335,10 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
335
335
|
o.a9 = 24;
|
|
336
336
|
o.a5 = 24;
|
|
337
337
|
o.a8 = 24;
|
|
338
|
-
o.d3 = BrushUtil.
|
|
339
|
-
o.fill = BrushUtil.
|
|
340
|
-
o.ea = BrushUtil.
|
|
341
|
-
o.d4 = BrushUtil.
|
|
338
|
+
o.d3 = BrushUtil.l(0, 255, 255, 255);
|
|
339
|
+
o.fill = BrushUtil.l(0, 255, 255, 255);
|
|
340
|
+
o.ea = BrushUtil.l(0, 255, 255, 255);
|
|
341
|
+
o.d4 = BrushUtil.l(0, 255, 255, 255);
|
|
342
342
|
o.svg = k;
|
|
343
343
|
}
|
|
344
344
|
if (!aa) {
|
|
@@ -360,7 +360,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
360
360
|
m.ak = true;
|
|
361
361
|
m.y = x;
|
|
362
362
|
m.text = d;
|
|
363
|
-
m.dj = BrushUtil.
|
|
363
|
+
m.dj = BrushUtil.l(180, 0, 0, 0);
|
|
364
364
|
m.l = 0;
|
|
365
365
|
}
|
|
366
366
|
finally {
|
|
@@ -386,21 +386,21 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
386
386
|
let e = c.checked;
|
|
387
387
|
if (e == true) {
|
|
388
388
|
if (this.c.indexType == 0) {
|
|
389
|
-
this.c.
|
|
389
|
+
this.c.ec(d);
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
392
|
-
this.c.
|
|
392
|
+
this.c.c6(d);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
396
|
if (this.c.indexType == 0) {
|
|
397
|
-
this.c.
|
|
397
|
+
this.c.c6(d);
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
400
|
-
this.c.
|
|
400
|
+
this.c.ec(d);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
this.c.
|
|
403
|
+
this.c.du(d, e);
|
|
404
404
|
this.an(false);
|
|
405
405
|
}
|
|
406
406
|
q() {
|
|
@@ -411,7 +411,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
411
411
|
let e = parseInt(d.a4.toString());
|
|
412
412
|
if (e == a) {
|
|
413
413
|
d.checked = b;
|
|
414
|
-
this.c.
|
|
414
|
+
this.c.du(e, b);
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
this.an();
|
|
@@ -440,7 +440,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
440
440
|
let d = this.j.getExternal(this.b, c.rootWrapper, this.j.getExternal(this.c, null, null));
|
|
441
441
|
this.b.n = this.c.baseTheme;
|
|
442
442
|
this.m = a.createElement("label");
|
|
443
|
-
this.m.setRawText(this.c.
|
|
443
|
+
this.m.setRawText(this.c.cw);
|
|
444
444
|
this.m.setStyleProperty("font-size", "13px");
|
|
445
445
|
this.n.setStyleProperty("display", "flex");
|
|
446
446
|
this.n.setStyleProperty("flex-direction", "row");
|
|
@@ -456,8 +456,8 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
456
456
|
}
|
|
457
457
|
am() {
|
|
458
458
|
if (null != this.m) {
|
|
459
|
-
this.m.setRawText(this.c.
|
|
460
|
-
NativeUI.q(this.m, this.c.
|
|
459
|
+
this.m.setRawText(this.c.cw);
|
|
460
|
+
NativeUI.q(this.m, this.c.e1);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
ap() {
|
|
@@ -468,10 +468,10 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
468
468
|
}
|
|
469
469
|
al() {
|
|
470
470
|
if (this.l != null) {
|
|
471
|
-
this.l.setStyleProperty("display", this.c.
|
|
471
|
+
this.l.setStyleProperty("display", this.c.a8 ? "block" : "none");
|
|
472
472
|
}
|
|
473
473
|
if (this.k != null) {
|
|
474
|
-
this.k.setStyleProperty("display", this.c.
|
|
474
|
+
this.k.setStyleProperty("display", this.c.a8 ? "block" : "none");
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
an(a = true) {
|
|
@@ -483,7 +483,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
483
483
|
let c = this.b.z;
|
|
484
484
|
this.b.z = a;
|
|
485
485
|
try {
|
|
486
|
-
if (this.c.
|
|
486
|
+
if (this.c.a5) {
|
|
487
487
|
this.b.indeterminate = true;
|
|
488
488
|
return;
|
|
489
489
|
}
|
|
@@ -505,12 +505,12 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
505
505
|
return;
|
|
506
506
|
}
|
|
507
507
|
if (b.isChecked) {
|
|
508
|
-
this.c.
|
|
509
|
-
this.c.
|
|
508
|
+
this.c.ef();
|
|
509
|
+
this.c.d3(b.isChecked);
|
|
510
510
|
}
|
|
511
511
|
else {
|
|
512
|
-
this.c.
|
|
513
|
-
this.c.
|
|
512
|
+
this.c.dc();
|
|
513
|
+
this.c.d3(b.isChecked);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
ak() {
|
|
@@ -520,7 +520,7 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
520
520
|
}
|
|
521
521
|
let b = a.rootWrapper;
|
|
522
522
|
if (null != b) {
|
|
523
|
-
NativeUI.q(b, this.c.
|
|
523
|
+
NativeUI.q(b, this.c.fl);
|
|
524
524
|
NativeUI.m(b, this.c.backgroundColor);
|
|
525
525
|
}
|
|
526
526
|
}
|
|
@@ -530,8 +530,8 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
aj() {
|
|
533
|
-
if (this.c.
|
|
534
|
-
this.m.setStyleProperty("font", this.c.
|
|
533
|
+
if (this.c.ao != null) {
|
|
534
|
+
this.m.setStyleProperty("font", this.c.ao.fontString);
|
|
535
535
|
}
|
|
536
536
|
else {
|
|
537
537
|
this.m.setStyleProperty("font-family", "Verdana");
|
|
@@ -542,11 +542,11 @@ let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
542
542
|
if (this.b == null) {
|
|
543
543
|
return;
|
|
544
544
|
}
|
|
545
|
-
this.b.dk = this.c.
|
|
546
|
-
this.b.dd = this.c.
|
|
547
|
-
this.b.dl = this.c.
|
|
548
|
-
this.b.de = this.c.
|
|
549
|
-
this.b.dm = this.c.
|
|
545
|
+
this.b.dk = this.c.e5;
|
|
546
|
+
this.b.dd = this.c.e3;
|
|
547
|
+
this.b.dl = this.c.e6;
|
|
548
|
+
this.b.de = this.c.e4;
|
|
549
|
+
this.b.dm = this.c.e7;
|
|
550
550
|
}
|
|
551
551
|
ah(a) {
|
|
552
552
|
if (this.k != null) {
|
|
@@ -593,33 +593,33 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
593
593
|
set view(a) {
|
|
594
594
|
this._view = a;
|
|
595
595
|
}
|
|
596
|
-
get
|
|
597
|
-
return this.
|
|
596
|
+
get y() {
|
|
597
|
+
return this.x;
|
|
598
598
|
}
|
|
599
|
-
set
|
|
600
|
-
this.
|
|
599
|
+
set y(a) {
|
|
600
|
+
this.x = a;
|
|
601
601
|
}
|
|
602
|
-
get
|
|
603
|
-
return this.
|
|
602
|
+
get w() {
|
|
603
|
+
return this.v;
|
|
604
604
|
}
|
|
605
|
-
set
|
|
606
|
-
this.
|
|
605
|
+
set w(a) {
|
|
606
|
+
this.v = a;
|
|
607
607
|
}
|
|
608
608
|
get e() {
|
|
609
|
-
if (this.
|
|
609
|
+
if (this.g == null) {
|
|
610
610
|
return null;
|
|
611
611
|
}
|
|
612
|
-
return this.
|
|
612
|
+
return this.g.actualDataSource;
|
|
613
613
|
}
|
|
614
|
-
get
|
|
615
|
-
if (this.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
614
|
+
get ar() {
|
|
615
|
+
if (this.aq == null) {
|
|
616
|
+
this.aq = new SRProvider(this.view.j);
|
|
617
|
+
this.aq.cb("DataGrid");
|
|
618
618
|
}
|
|
619
|
-
return this.
|
|
619
|
+
return this.aq;
|
|
620
620
|
}
|
|
621
621
|
get keys() {
|
|
622
|
-
return this.
|
|
622
|
+
return this.h;
|
|
623
623
|
}
|
|
624
624
|
get primaryKey() {
|
|
625
625
|
return this.a;
|
|
@@ -628,79 +628,80 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
628
628
|
let b = this.a;
|
|
629
629
|
this.a = a;
|
|
630
630
|
if (b != this.a) {
|
|
631
|
-
this.
|
|
631
|
+
this.d1("PrimaryKey", b, this.a);
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
constructor() {
|
|
635
635
|
super();
|
|
636
636
|
this._view = null;
|
|
637
|
-
this.
|
|
638
|
-
this.
|
|
639
|
-
this.aj = null;
|
|
640
|
-
this.ah = null;
|
|
637
|
+
this.g = null;
|
|
638
|
+
this.k = null;
|
|
641
639
|
this.ak = null;
|
|
642
640
|
this.ai = null;
|
|
641
|
+
this.al = null;
|
|
642
|
+
this.aj = null;
|
|
643
643
|
this.d = null;
|
|
644
|
-
this.ar = false;
|
|
645
|
-
this.c = null;
|
|
646
|
-
this.u = null;
|
|
647
|
-
this.w = null;
|
|
648
644
|
this.as = false;
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
645
|
+
this.c = null;
|
|
646
|
+
this.v = null;
|
|
647
|
+
this.x = null;
|
|
648
|
+
this.at = false;
|
|
649
|
+
this.aq = null;
|
|
650
|
+
this.h = new GridSelectedKeysCollection();
|
|
651
651
|
this.a = null;
|
|
652
652
|
this.propertyChanged = null;
|
|
653
653
|
this.selectedKeyAdded = null;
|
|
654
654
|
this.selectedKeyRemoved = null;
|
|
655
655
|
this.checkedChanged = null;
|
|
656
656
|
this.labelClicked = null;
|
|
657
|
+
this.av = false;
|
|
657
658
|
this.au = false;
|
|
658
|
-
this.
|
|
659
|
+
this.bl = null;
|
|
660
|
+
this.bp = null;
|
|
659
661
|
this.bk = null;
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
662
|
+
this.bt = null;
|
|
663
|
+
this.br = null;
|
|
662
664
|
this.bs = null;
|
|
663
665
|
this.bq = null;
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
666
|
-
this.y = 3;
|
|
667
|
-
this.bf = -1;
|
|
668
|
-
this.al = null;
|
|
669
|
-
this.l = 1;
|
|
670
|
-
this.ad = 1;
|
|
671
|
-
this.af = 2;
|
|
672
|
-
this.ev = BrushUtil.j(255, 24, 29, 31);
|
|
673
|
-
this.et = null;
|
|
674
|
-
this.aw = true;
|
|
675
|
-
this.ew = null;
|
|
676
|
-
this.eu = null;
|
|
666
|
+
this.z = 3;
|
|
667
|
+
this.bg = -1;
|
|
677
668
|
this.am = null;
|
|
669
|
+
this.m = 1;
|
|
670
|
+
this.ae = 1;
|
|
671
|
+
this.ag = 2;
|
|
672
|
+
this.ex = BrushUtil.l(255, 24, 29, 31);
|
|
673
|
+
this.ev = null;
|
|
674
|
+
this.ax = true;
|
|
675
|
+
this.ey = null;
|
|
676
|
+
this.ew = null;
|
|
677
|
+
this.an = null;
|
|
678
|
+
this.eq = null;
|
|
678
679
|
this.eo = null;
|
|
679
|
-
this.
|
|
680
|
+
this.er = null;
|
|
680
681
|
this.ep = null;
|
|
681
|
-
this.en = null;
|
|
682
|
-
this.eq = null;
|
|
683
|
-
this.ba = NaN;
|
|
684
|
-
this.ab = 0;
|
|
685
682
|
this.es = null;
|
|
683
|
+
this.bb = NaN;
|
|
684
|
+
this.f = null;
|
|
685
|
+
this.ac = 0;
|
|
686
|
+
this.eu = null;
|
|
686
687
|
this.indexTypeChanged = null;
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
688
|
+
this.aw = false;
|
|
689
|
+
this.cv = null;
|
|
690
|
+
this.ez = null;
|
|
691
|
+
this.em = CheckboxList.fb;
|
|
692
|
+
this.a9 = true;
|
|
693
|
+
this.en = CheckboxList.e8;
|
|
694
|
+
this.et = CheckboxList.fa;
|
|
695
|
+
this.e0 = CheckboxList.fb;
|
|
695
696
|
this.keysCleared = null;
|
|
696
697
|
this.selectAllCheckboxChanged = null;
|
|
697
|
-
this.
|
|
698
|
-
this.
|
|
699
|
-
this.
|
|
700
|
-
this.
|
|
701
|
-
let a = this.
|
|
702
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.
|
|
703
|
-
this.
|
|
698
|
+
this.bi = -1;
|
|
699
|
+
this.a7 = true;
|
|
700
|
+
this.a3 = true;
|
|
701
|
+
this.ay = false;
|
|
702
|
+
let a = this.h;
|
|
703
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.d6));
|
|
704
|
+
this.h.am(runOn(this, this.d5));
|
|
704
705
|
this.d = new FilterFactory();
|
|
705
706
|
let b = new CheckboxListView();
|
|
706
707
|
b.c = this;
|
|
@@ -722,44 +723,44 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
722
723
|
removeSelectedKeyAt(a) {
|
|
723
724
|
this.keys.removeAt(a);
|
|
724
725
|
}
|
|
725
|
-
|
|
726
|
-
this.
|
|
726
|
+
d5() {
|
|
727
|
+
this.dl();
|
|
727
728
|
if (this.keysCleared != null) {
|
|
728
729
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
729
730
|
}
|
|
730
731
|
}
|
|
731
|
-
|
|
732
|
-
if (this.e == null || this.e.actualSchema == null || this.
|
|
732
|
+
d6(a, b) {
|
|
733
|
+
if (this.e == null || this.e.actualSchema == null || this.as) {
|
|
733
734
|
return;
|
|
734
735
|
}
|
|
735
736
|
switch (b.action) {
|
|
736
737
|
case 0:
|
|
737
738
|
for (let c = 0; c < b.newItems.count; c++) {
|
|
738
|
-
this.
|
|
739
|
+
this.dz(b.newItems.item(c));
|
|
739
740
|
}
|
|
740
741
|
break;
|
|
741
742
|
case 1:
|
|
742
743
|
for (let d = 0; d < b.oldItems.count; d++) {
|
|
743
|
-
this.
|
|
744
|
+
this.d0(b.oldItems.item(d));
|
|
744
745
|
}
|
|
745
746
|
break;
|
|
746
747
|
case 2:
|
|
747
748
|
for (let e = 0; e < b.oldItems.count; e++) {
|
|
748
|
-
this.
|
|
749
|
+
this.d0(b.oldItems.item(e));
|
|
749
750
|
}
|
|
750
751
|
for (let f = 0; f < b.newItems.count; f++) {
|
|
751
|
-
this.
|
|
752
|
+
this.dz(b.newItems.item(f));
|
|
752
753
|
}
|
|
753
754
|
break;
|
|
754
755
|
case 4:
|
|
755
756
|
this.view.ab(this.indexType == 0);
|
|
756
757
|
for (let g = 0; g < this.keys.ae.count; g++) {
|
|
757
|
-
this.
|
|
758
|
+
this.dz(this.keys.ae._inner[g]);
|
|
758
759
|
}
|
|
759
760
|
break;
|
|
760
761
|
}
|
|
761
762
|
}
|
|
762
|
-
|
|
763
|
+
dz(a) {
|
|
763
764
|
let b = this.e.indexOfKey(a.value);
|
|
764
765
|
if (b >= 0) {
|
|
765
766
|
this.view.aa(b, this.indexType == 1);
|
|
@@ -775,7 +776,7 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
775
776
|
return $ret;
|
|
776
777
|
})()));
|
|
777
778
|
}
|
|
778
|
-
|
|
779
|
+
d0(a) {
|
|
779
780
|
let b = this.e.indexOfKey(a.value);
|
|
780
781
|
if (b >= 0) {
|
|
781
782
|
this.view.aa(b, this.indexType == 0);
|
|
@@ -791,8 +792,8 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
791
792
|
return $ret;
|
|
792
793
|
})()));
|
|
793
794
|
}
|
|
794
|
-
|
|
795
|
-
if (this.checkedChanged != null && this.
|
|
795
|
+
du(a, b) {
|
|
796
|
+
if (this.checkedChanged != null && this.at == false) {
|
|
796
797
|
let c = null;
|
|
797
798
|
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
798
799
|
c = new Array(this.e.actualPrimaryKey.length);
|
|
@@ -813,106 +814,106 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
813
814
|
this.view.q();
|
|
814
815
|
}
|
|
815
816
|
onAttachedToUI() {
|
|
816
|
-
this.
|
|
817
|
-
if (this.
|
|
818
|
-
let a = this.
|
|
819
|
-
a.cellClicked = delegateCombine(a.cellClicked, runOn(this, this.
|
|
820
|
-
let b = this.
|
|
821
|
-
b.sizeChanged = delegateCombine(b.sizeChanged, runOn(this, this.
|
|
822
|
-
if (this.
|
|
823
|
-
let c = this.
|
|
824
|
-
c.schemaChanged = delegateCombine(c.schemaChanged, runOn(this, this.
|
|
817
|
+
this.av = false;
|
|
818
|
+
if (this.g != null) {
|
|
819
|
+
let a = this.g;
|
|
820
|
+
a.cellClicked = delegateCombine(a.cellClicked, runOn(this, this.dg));
|
|
821
|
+
let b = this.g;
|
|
822
|
+
b.sizeChanged = delegateCombine(b.sizeChanged, runOn(this, this.dh));
|
|
823
|
+
if (this.g.actualDataSource != null) {
|
|
824
|
+
let c = this.g.actualDataSource;
|
|
825
|
+
c.schemaChanged = delegateCombine(c.schemaChanged, runOn(this, this.d2));
|
|
825
826
|
}
|
|
826
827
|
}
|
|
827
|
-
if (this.
|
|
828
|
-
let d = this.
|
|
829
|
-
d.changing = delegateCombine(d.changing, runOn(this, this.
|
|
828
|
+
if (this.v != null) {
|
|
829
|
+
let d = this.v;
|
|
830
|
+
d.changing = delegateCombine(d.changing, runOn(this, this.dj));
|
|
830
831
|
}
|
|
831
|
-
if (this.
|
|
832
|
-
let e = this.
|
|
833
|
-
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.
|
|
832
|
+
if (this.k != null) {
|
|
833
|
+
let e = this.k;
|
|
834
|
+
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.da));
|
|
834
835
|
}
|
|
835
836
|
}
|
|
836
837
|
onDetachedFromUI() {
|
|
837
|
-
this.
|
|
838
|
+
this.av = true;
|
|
839
|
+
this.df();
|
|
838
840
|
this.de();
|
|
839
|
-
this.dd();
|
|
840
841
|
}
|
|
841
|
-
|
|
842
|
-
if (this.
|
|
843
|
-
let a = this.
|
|
844
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
845
|
-
let b = this.
|
|
846
|
-
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.
|
|
847
|
-
if (this.
|
|
848
|
-
let c = this.
|
|
849
|
-
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.
|
|
842
|
+
df() {
|
|
843
|
+
if (this.g != null) {
|
|
844
|
+
let a = this.g;
|
|
845
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.dg));
|
|
846
|
+
let b = this.g;
|
|
847
|
+
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.dh));
|
|
848
|
+
if (this.g.actualDataSource != null) {
|
|
849
|
+
let c = this.g.actualDataSource;
|
|
850
|
+
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.d2));
|
|
850
851
|
}
|
|
851
852
|
}
|
|
852
|
-
if (this.
|
|
853
|
-
let d = this.
|
|
854
|
-
d.changing = delegateRemove(d.changing, runOn(this, this.
|
|
853
|
+
if (this.v != null) {
|
|
854
|
+
let d = this.v;
|
|
855
|
+
d.changing = delegateRemove(d.changing, runOn(this, this.dj));
|
|
855
856
|
}
|
|
856
857
|
}
|
|
857
|
-
|
|
858
|
-
if (this.
|
|
859
|
-
let a = this.
|
|
860
|
-
a.cellUpdating = delegateRemove(a.cellUpdating, runOn(this, this.
|
|
858
|
+
de() {
|
|
859
|
+
if (this.k != null) {
|
|
860
|
+
let a = this.k;
|
|
861
|
+
a.cellUpdating = delegateRemove(a.cellUpdating, runOn(this, this.da));
|
|
861
862
|
}
|
|
862
863
|
}
|
|
863
864
|
destroy() {
|
|
864
|
-
this.
|
|
865
|
-
if (!this.
|
|
866
|
-
this.
|
|
865
|
+
this.au = true;
|
|
866
|
+
if (!this.av) {
|
|
867
|
+
this.df();
|
|
867
868
|
}
|
|
868
869
|
this.provideContainer(null, null, null);
|
|
869
|
-
if (!this.
|
|
870
|
-
this.
|
|
870
|
+
if (!this.av) {
|
|
871
|
+
this.de();
|
|
871
872
|
}
|
|
872
873
|
}
|
|
873
|
-
get
|
|
874
|
-
return this.
|
|
874
|
+
get a0() {
|
|
875
|
+
return this.au || this.av;
|
|
875
876
|
}
|
|
876
877
|
provideContainer(a, b, c) {
|
|
877
|
-
this.
|
|
878
|
-
if (null != this.
|
|
879
|
-
this.
|
|
880
|
-
let d = this.
|
|
881
|
-
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
884
|
-
this.
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
887
|
-
this.
|
|
888
|
-
this.
|
|
889
|
-
this.
|
|
890
|
-
let e = this.
|
|
891
|
-
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.
|
|
892
|
-
if (this.
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
878
|
+
this.g = b;
|
|
879
|
+
if (null != this.g) {
|
|
880
|
+
this.g.scrollbarStyle = 1;
|
|
881
|
+
let d = this.g;
|
|
882
|
+
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.dh));
|
|
883
|
+
this.g.scrollbarBackground = this.fe;
|
|
884
|
+
this.g.headerHeight = 0;
|
|
885
|
+
this.g.rowSeparatorHeight = 0;
|
|
886
|
+
this.g.defaultColumnMinWidth = NaN;
|
|
887
|
+
this.g.autoGenerateColumns = false;
|
|
888
|
+
this.g.activationMode = 0;
|
|
889
|
+
this.g.selectionMode = 0;
|
|
890
|
+
this.g.editMode = 0;
|
|
891
|
+
let e = this.g;
|
|
892
|
+
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.dg));
|
|
893
|
+
if (this.bl != null) {
|
|
894
|
+
this.g.itemsSource = this.bl;
|
|
895
|
+
this.c9();
|
|
896
|
+
this.d4();
|
|
896
897
|
}
|
|
897
|
-
if (this.
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
898
|
+
if (this.bp != null) {
|
|
899
|
+
this.d4();
|
|
900
|
+
this.ei();
|
|
900
901
|
}
|
|
901
902
|
}
|
|
902
903
|
this.view.w(c);
|
|
903
|
-
if (this.
|
|
904
|
-
this.
|
|
904
|
+
if (this.az) {
|
|
905
|
+
this.ek();
|
|
905
906
|
}
|
|
906
907
|
this.view.r(a);
|
|
907
908
|
}
|
|
908
|
-
|
|
909
|
-
this.
|
|
909
|
+
dh(a, b) {
|
|
910
|
+
this.g.scrollbarStyle = this.ad;
|
|
910
911
|
}
|
|
911
912
|
provideSelectAllSection(a) {
|
|
912
913
|
this.view.w(a);
|
|
913
914
|
}
|
|
914
|
-
|
|
915
|
-
if (!this.
|
|
915
|
+
dg(a, b) {
|
|
916
|
+
if (!this.az && b.cellInfo.l.a5 == 0 || this.az && b.cellInfo.l.a5 == 1) {
|
|
916
917
|
return;
|
|
917
918
|
}
|
|
918
919
|
let c = b.cellInfo.l.x;
|
|
@@ -920,24 +921,24 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
920
921
|
return;
|
|
921
922
|
}
|
|
922
923
|
let d = b.cellInfo.ig;
|
|
923
|
-
let e = this.
|
|
924
|
-
if (this.
|
|
924
|
+
let e = this.j(d);
|
|
925
|
+
if (this.a6) {
|
|
925
926
|
if (this.keys.contains(e)) {
|
|
926
|
-
if (this.
|
|
927
|
-
this.
|
|
927
|
+
if (this.ak != null) {
|
|
928
|
+
this.ak.setPropertyValue(d, false);
|
|
928
929
|
}
|
|
929
930
|
this.keys.remove(e);
|
|
930
931
|
}
|
|
931
932
|
else {
|
|
932
|
-
if (this.
|
|
933
|
-
this.
|
|
933
|
+
if (this.ak != null) {
|
|
934
|
+
this.ak.setPropertyValue(d, true);
|
|
934
935
|
}
|
|
935
936
|
this.keys.add(e);
|
|
936
937
|
}
|
|
937
938
|
}
|
|
938
|
-
this.
|
|
939
|
+
this.dp(c, this.keys.contains(e));
|
|
939
940
|
}
|
|
940
|
-
|
|
941
|
+
dp(a, b) {
|
|
941
942
|
let c = null;
|
|
942
943
|
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
943
944
|
c = new Array(this.e.actualPrimaryKey.length);
|
|
@@ -956,21 +957,21 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
956
957
|
return $ret;
|
|
957
958
|
})()));
|
|
958
959
|
}
|
|
959
|
-
|
|
960
|
+
da(a, b) {
|
|
960
961
|
let c = b.cellInfo.l.x;
|
|
961
962
|
if (-1 == c) {
|
|
962
963
|
return;
|
|
963
964
|
}
|
|
964
965
|
let d = false;
|
|
965
966
|
if (b.cellInfo.ig != null) {
|
|
966
|
-
let e = this.
|
|
967
|
+
let e = this.j(b.cellInfo.ig);
|
|
967
968
|
if (this.keys.contains(e)) {
|
|
968
969
|
d = true;
|
|
969
970
|
}
|
|
970
971
|
}
|
|
971
972
|
this.view.t(b.content.element, c, d);
|
|
972
973
|
}
|
|
973
|
-
|
|
974
|
+
ej(a, b) {
|
|
974
975
|
let c = b.cellInfo.l.x;
|
|
975
976
|
if (-1 == c) {
|
|
976
977
|
return;
|
|
@@ -981,12 +982,12 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
981
982
|
let g = null;
|
|
982
983
|
let h = null;
|
|
983
984
|
if (b.cellInfo.ig != null) {
|
|
984
|
-
d = this.
|
|
985
|
-
if (this.
|
|
986
|
-
e = this.
|
|
985
|
+
d = this.ai.getPropertyValue(b.cellInfo.ig);
|
|
986
|
+
if (this.al != null) {
|
|
987
|
+
e = this.al.getPropertyValue(b.cellInfo.ig);
|
|
987
988
|
}
|
|
988
|
-
if (this.
|
|
989
|
-
let i = EnumUtil.getEnumValue(DataSeriesPropertyType_$type, this.
|
|
989
|
+
if (this.aj != null) {
|
|
990
|
+
let i = EnumUtil.getEnumValue(DataSeriesPropertyType_$type, this.aj.getPropertyValue(b.cellInfo.ig));
|
|
990
991
|
if (i == 0) {
|
|
991
992
|
h = SvgIconRegistry.instance.getSvgPathString("ChartToolbarIcons", "string-field");
|
|
992
993
|
}
|
|
@@ -998,228 +999,238 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
998
999
|
}
|
|
999
1000
|
}
|
|
1000
1001
|
}
|
|
1001
|
-
this.view.u(b.content.element, c, d, e, this.
|
|
1002
|
+
this.view.u(b.content.element, c, d, e, this.am, "Verdana", 13, this.bk, f, g, h);
|
|
1002
1003
|
}
|
|
1003
|
-
|
|
1004
|
-
if (this.
|
|
1005
|
-
let b = this.d.property(this.
|
|
1004
|
+
dw(a) {
|
|
1005
|
+
if (this.bp != null) {
|
|
1006
|
+
let b = this.d.property(this.bp).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
1006
1007
|
let c = b.contains(a);
|
|
1007
|
-
if (!this.
|
|
1008
|
+
if (!this.g.filterExpressions.k.contains(this.c)) {
|
|
1008
1009
|
this.c = c;
|
|
1009
|
-
this.
|
|
1010
|
+
this.g.filterExpressions.add(this.c);
|
|
1010
1011
|
}
|
|
1011
1012
|
else {
|
|
1012
|
-
let d = this.
|
|
1013
|
-
this.
|
|
1013
|
+
let d = this.g.filterExpressions.k.indexOf(this.c);
|
|
1014
|
+
this.g.filterExpressions.k.item(d, this.c = c);
|
|
1014
1015
|
}
|
|
1015
1016
|
}
|
|
1016
1017
|
}
|
|
1017
1018
|
get itemsSource() {
|
|
1018
|
-
return this.
|
|
1019
|
+
return this.bl;
|
|
1019
1020
|
}
|
|
1020
1021
|
set itemsSource(a) {
|
|
1022
|
+
let b = this.bl;
|
|
1023
|
+
this.bl = a;
|
|
1024
|
+
if (b != this.bl) {
|
|
1025
|
+
this.d1("ItemsSource", b, this.bl);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
get dataMemberPath() {
|
|
1029
|
+
return this.bp;
|
|
1030
|
+
}
|
|
1031
|
+
set dataMemberPath(a) {
|
|
1032
|
+
let b = this.bp;
|
|
1033
|
+
this.bp = a;
|
|
1034
|
+
if (b != this.bp) {
|
|
1035
|
+
this.d1("DataMemberPath", b, this.bp);
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
get bm() {
|
|
1039
|
+
return this.bk;
|
|
1040
|
+
}
|
|
1041
|
+
set bm(a) {
|
|
1021
1042
|
let b = this.bk;
|
|
1022
1043
|
this.bk = a;
|
|
1023
1044
|
if (b != this.bk) {
|
|
1024
|
-
this.
|
|
1045
|
+
this.d1("DataLegendTarget", b, this.bk);
|
|
1025
1046
|
}
|
|
1026
1047
|
}
|
|
1027
|
-
get
|
|
1028
|
-
return this.
|
|
1048
|
+
get c3() {
|
|
1049
|
+
return this.bt;
|
|
1029
1050
|
}
|
|
1030
|
-
set
|
|
1031
|
-
let b = this.
|
|
1032
|
-
this.
|
|
1033
|
-
if (b != this.
|
|
1034
|
-
this.
|
|
1051
|
+
set c3(a) {
|
|
1052
|
+
let b = this.bt;
|
|
1053
|
+
this.bt = a;
|
|
1054
|
+
if (b != this.bt) {
|
|
1055
|
+
this.d1("SubtitleMemberPath", b, this.bt);
|
|
1035
1056
|
}
|
|
1036
1057
|
}
|
|
1037
|
-
get
|
|
1038
|
-
return this.
|
|
1058
|
+
get ci() {
|
|
1059
|
+
return this.br;
|
|
1039
1060
|
}
|
|
1040
|
-
set
|
|
1041
|
-
let b = this.
|
|
1042
|
-
this.
|
|
1043
|
-
if (b != this.
|
|
1044
|
-
this.
|
|
1061
|
+
set ci(a) {
|
|
1062
|
+
let b = this.br;
|
|
1063
|
+
this.br = a;
|
|
1064
|
+
if (b != this.br) {
|
|
1065
|
+
this.d1("PropertyTypeMemberPath", b, this.br);
|
|
1045
1066
|
}
|
|
1046
1067
|
}
|
|
1047
|
-
get
|
|
1068
|
+
get selectedMemberPath() {
|
|
1048
1069
|
return this.bs;
|
|
1049
1070
|
}
|
|
1050
|
-
set
|
|
1071
|
+
set selectedMemberPath(a) {
|
|
1051
1072
|
let b = this.bs;
|
|
1052
1073
|
this.bs = a;
|
|
1053
1074
|
if (b != this.bs) {
|
|
1054
|
-
this.
|
|
1075
|
+
this.d1("SelectedMemberPath", b, this.bs);
|
|
1055
1076
|
}
|
|
1056
1077
|
}
|
|
1057
|
-
get
|
|
1078
|
+
get cb() {
|
|
1058
1079
|
return this.bq;
|
|
1059
1080
|
}
|
|
1060
|
-
set
|
|
1081
|
+
set cb(a) {
|
|
1061
1082
|
let b = this.bq;
|
|
1062
1083
|
this.bq = a;
|
|
1063
1084
|
if (b != this.bq) {
|
|
1064
|
-
this.
|
|
1085
|
+
this.d1("FilterPlaceholderText", b, this.bq);
|
|
1065
1086
|
}
|
|
1066
1087
|
}
|
|
1067
|
-
get
|
|
1068
|
-
return this.
|
|
1069
|
-
}
|
|
1070
|
-
set selectedMemberPath(a) {
|
|
1071
|
-
let b = this.br;
|
|
1072
|
-
this.br = a;
|
|
1073
|
-
if (b != this.br) {
|
|
1074
|
-
this.dz("SelectedMemberPath", b, this.br);
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
get ca() {
|
|
1078
|
-
return this.bp;
|
|
1088
|
+
get aa() {
|
|
1089
|
+
return this.z;
|
|
1079
1090
|
}
|
|
1080
|
-
set
|
|
1081
|
-
let b = this.
|
|
1082
|
-
this.
|
|
1083
|
-
if (b != this.
|
|
1084
|
-
this.
|
|
1091
|
+
set aa(a) {
|
|
1092
|
+
let b = this.z;
|
|
1093
|
+
this.z = a;
|
|
1094
|
+
if (b != this.z) {
|
|
1095
|
+
this.d1("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.z));
|
|
1085
1096
|
}
|
|
1086
1097
|
}
|
|
1087
|
-
get
|
|
1088
|
-
return this.
|
|
1098
|
+
get bj() {
|
|
1099
|
+
return this.bg;
|
|
1089
1100
|
}
|
|
1090
|
-
set
|
|
1091
|
-
let b = this.
|
|
1092
|
-
this.
|
|
1093
|
-
if (b != this.
|
|
1094
|
-
this.
|
|
1101
|
+
set bj(a) {
|
|
1102
|
+
let b = this.bg;
|
|
1103
|
+
this.bg = a;
|
|
1104
|
+
if (b != this.bg) {
|
|
1105
|
+
this.d1("RowHeight", b, this.bg);
|
|
1095
1106
|
}
|
|
1096
1107
|
}
|
|
1097
|
-
get
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
set bi(a) {
|
|
1101
|
-
let b = this.bf;
|
|
1102
|
-
this.bf = a;
|
|
1103
|
-
if (b != this.bf) {
|
|
1104
|
-
this.dz("RowHeight", b, this.bf);
|
|
1108
|
+
get bh() {
|
|
1109
|
+
if (this.g != null) {
|
|
1110
|
+
return this.g.actualRowHeight;
|
|
1105
1111
|
}
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
if (this.f != null) {
|
|
1109
|
-
return this.f.actualRowHeight;
|
|
1110
|
-
}
|
|
1111
|
-
else if (this.bf != -1) {
|
|
1112
|
-
return this.bf;
|
|
1112
|
+
else if (this.bg != -1) {
|
|
1113
|
+
return this.bg;
|
|
1113
1114
|
}
|
|
1114
1115
|
else {
|
|
1115
1116
|
switch (this.density) {
|
|
1116
1117
|
case 4:
|
|
1117
|
-
case 3: return GridStyleRepository.
|
|
1118
|
+
case 3: return GridStyleRepository.l;
|
|
1118
1119
|
case 0:
|
|
1119
|
-
case 2: return GridStyleRepository.
|
|
1120
|
-
case 1: return GridStyleRepository.
|
|
1120
|
+
case 2: return GridStyleRepository.m;
|
|
1121
|
+
case 1: return GridStyleRepository.k;
|
|
1121
1122
|
}
|
|
1122
|
-
return GridStyleRepository.
|
|
1123
|
+
return GridStyleRepository.m;
|
|
1123
1124
|
}
|
|
1124
1125
|
}
|
|
1125
|
-
get
|
|
1126
|
-
return this.
|
|
1126
|
+
get ao() {
|
|
1127
|
+
return this.am;
|
|
1127
1128
|
}
|
|
1128
|
-
set
|
|
1129
|
-
let b = this.
|
|
1130
|
-
this.
|
|
1131
|
-
if (b != this.
|
|
1132
|
-
this.
|
|
1129
|
+
set ao(a) {
|
|
1130
|
+
let b = this.am;
|
|
1131
|
+
this.am = a;
|
|
1132
|
+
if (b != this.am) {
|
|
1133
|
+
this.d1("CellTextStyle", b, this.am);
|
|
1133
1134
|
}
|
|
1134
1135
|
}
|
|
1135
1136
|
get indexType() {
|
|
1136
|
-
return this.
|
|
1137
|
+
return this.m;
|
|
1137
1138
|
}
|
|
1138
1139
|
set indexType(a) {
|
|
1139
|
-
let b = this.
|
|
1140
|
-
this.
|
|
1141
|
-
if (b != this.
|
|
1142
|
-
this.
|
|
1140
|
+
let b = this.m;
|
|
1141
|
+
this.m = a;
|
|
1142
|
+
if (b != this.m) {
|
|
1143
|
+
this.d1("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.m));
|
|
1143
1144
|
}
|
|
1144
1145
|
}
|
|
1145
1146
|
get baseTheme() {
|
|
1146
|
-
return this.
|
|
1147
|
+
return this.ae;
|
|
1147
1148
|
}
|
|
1148
1149
|
set baseTheme(a) {
|
|
1149
|
-
let b = this.
|
|
1150
|
-
this.
|
|
1151
|
-
if (b != this.
|
|
1152
|
-
this.
|
|
1150
|
+
let b = this.ae;
|
|
1151
|
+
this.ae = a;
|
|
1152
|
+
if (b != this.ae) {
|
|
1153
|
+
this.d1("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.ae));
|
|
1153
1154
|
}
|
|
1154
1155
|
}
|
|
1155
1156
|
get density() {
|
|
1156
|
-
return this.
|
|
1157
|
+
return this.ag;
|
|
1157
1158
|
}
|
|
1158
1159
|
set density(a) {
|
|
1159
|
-
let b = this.
|
|
1160
|
-
this.
|
|
1161
|
-
if (b != this.
|
|
1162
|
-
this.
|
|
1160
|
+
let b = this.ag;
|
|
1161
|
+
this.ag = a;
|
|
1162
|
+
if (b != this.ag) {
|
|
1163
|
+
this.d1("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ag));
|
|
1163
1164
|
}
|
|
1164
1165
|
}
|
|
1165
1166
|
get searchIconColor() {
|
|
1166
|
-
return this.
|
|
1167
|
+
return this.ex;
|
|
1167
1168
|
}
|
|
1168
1169
|
set searchIconColor(a) {
|
|
1170
|
+
let b = this.ex;
|
|
1171
|
+
this.ex = a;
|
|
1172
|
+
if (b != this.ex) {
|
|
1173
|
+
this.d1("SearchIconColor", b, this.ex);
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
get ff() {
|
|
1177
|
+
return this.ev;
|
|
1178
|
+
}
|
|
1179
|
+
set ff(a) {
|
|
1169
1180
|
let b = this.ev;
|
|
1170
1181
|
this.ev = a;
|
|
1171
1182
|
if (b != this.ev) {
|
|
1172
|
-
this.
|
|
1183
|
+
this.d1("SearchBackgroundColor", b, this.ev);
|
|
1173
1184
|
}
|
|
1174
1185
|
}
|
|
1175
|
-
get
|
|
1176
|
-
return this.
|
|
1186
|
+
get a6() {
|
|
1187
|
+
return this.ax;
|
|
1177
1188
|
}
|
|
1178
|
-
set
|
|
1179
|
-
let b = this.
|
|
1180
|
-
this.
|
|
1181
|
-
if (b != this.
|
|
1182
|
-
this.
|
|
1189
|
+
set a6(a) {
|
|
1190
|
+
let b = this.ax;
|
|
1191
|
+
this.ax = a;
|
|
1192
|
+
if (b != this.ax) {
|
|
1193
|
+
this.d1("LabelClickTriggersChange", b, this.ax);
|
|
1183
1194
|
}
|
|
1184
1195
|
}
|
|
1185
|
-
get
|
|
1186
|
-
return this.
|
|
1196
|
+
get searchTextColor() {
|
|
1197
|
+
return this.ey;
|
|
1187
1198
|
}
|
|
1188
|
-
set
|
|
1189
|
-
let b = this.
|
|
1190
|
-
this.
|
|
1191
|
-
if (b != this.
|
|
1192
|
-
this.
|
|
1199
|
+
set searchTextColor(a) {
|
|
1200
|
+
let b = this.ey;
|
|
1201
|
+
this.ey = a;
|
|
1202
|
+
if (b != this.ey) {
|
|
1203
|
+
this.d1("SearchTextColor", b, this.ey);
|
|
1193
1204
|
}
|
|
1194
1205
|
}
|
|
1195
|
-
get
|
|
1206
|
+
get fg() {
|
|
1196
1207
|
return this.ew;
|
|
1197
1208
|
}
|
|
1198
|
-
set
|
|
1209
|
+
set fg(a) {
|
|
1199
1210
|
let b = this.ew;
|
|
1200
1211
|
this.ew = a;
|
|
1201
1212
|
if (b != this.ew) {
|
|
1202
|
-
this.
|
|
1213
|
+
this.d1("SearchBorderColor", b, this.ew);
|
|
1203
1214
|
}
|
|
1204
1215
|
}
|
|
1205
|
-
get
|
|
1206
|
-
return this.
|
|
1216
|
+
get ap() {
|
|
1217
|
+
return this.an;
|
|
1207
1218
|
}
|
|
1208
|
-
set
|
|
1209
|
-
let b = this.
|
|
1210
|
-
this.
|
|
1211
|
-
if (b != this.
|
|
1212
|
-
this.
|
|
1219
|
+
set ap(a) {
|
|
1220
|
+
let b = this.an;
|
|
1221
|
+
this.an = a;
|
|
1222
|
+
if (b != this.an) {
|
|
1223
|
+
this.d1("SearchTextStyle", b, this.an);
|
|
1213
1224
|
}
|
|
1214
1225
|
}
|
|
1215
|
-
get
|
|
1216
|
-
return this.
|
|
1226
|
+
get e5() {
|
|
1227
|
+
return this.eq;
|
|
1217
1228
|
}
|
|
1218
|
-
set
|
|
1219
|
-
let b = this.
|
|
1220
|
-
this.
|
|
1221
|
-
if (b != this.
|
|
1222
|
-
this.
|
|
1229
|
+
set e5(a) {
|
|
1230
|
+
let b = this.eq;
|
|
1231
|
+
this.eq = a;
|
|
1232
|
+
if (b != this.eq) {
|
|
1233
|
+
this.d1("CheckboxTickColor", b, this.eq);
|
|
1223
1234
|
}
|
|
1224
1235
|
}
|
|
1225
1236
|
get e3() {
|
|
@@ -1229,17 +1240,17 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1229
1240
|
let b = this.eo;
|
|
1230
1241
|
this.eo = a;
|
|
1231
1242
|
if (b != this.eo) {
|
|
1232
|
-
this.
|
|
1243
|
+
this.d1("CheckboxCheckedBackgroundColor", b, this.eo);
|
|
1233
1244
|
}
|
|
1234
1245
|
}
|
|
1235
|
-
get
|
|
1236
|
-
return this.
|
|
1246
|
+
get e6() {
|
|
1247
|
+
return this.er;
|
|
1237
1248
|
}
|
|
1238
|
-
set
|
|
1239
|
-
let b = this.
|
|
1240
|
-
this.
|
|
1241
|
-
if (b != this.
|
|
1242
|
-
this.
|
|
1249
|
+
set e6(a) {
|
|
1250
|
+
let b = this.er;
|
|
1251
|
+
this.er = a;
|
|
1252
|
+
if (b != this.er) {
|
|
1253
|
+
this.d1("CheckboxUncheckedBackgroundColor", b, this.er);
|
|
1243
1254
|
}
|
|
1244
1255
|
}
|
|
1245
1256
|
get e4() {
|
|
@@ -1249,98 +1260,88 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1249
1260
|
let b = this.ep;
|
|
1250
1261
|
this.ep = a;
|
|
1251
1262
|
if (b != this.ep) {
|
|
1252
|
-
this.
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
get e2() {
|
|
1256
|
-
return this.en;
|
|
1257
|
-
}
|
|
1258
|
-
set e2(a) {
|
|
1259
|
-
let b = this.en;
|
|
1260
|
-
this.en = a;
|
|
1261
|
-
if (b != this.en) {
|
|
1262
|
-
this.dz("CheckboxCheckedBorderColor", b, this.en);
|
|
1263
|
+
this.d1("CheckboxCheckedBorderColor", b, this.ep);
|
|
1263
1264
|
}
|
|
1264
1265
|
}
|
|
1265
|
-
get
|
|
1266
|
-
return this.
|
|
1266
|
+
get e7() {
|
|
1267
|
+
return this.es;
|
|
1267
1268
|
}
|
|
1268
|
-
set
|
|
1269
|
-
let b = this.
|
|
1270
|
-
this.
|
|
1271
|
-
if (b != this.
|
|
1272
|
-
this.
|
|
1269
|
+
set e7(a) {
|
|
1270
|
+
let b = this.es;
|
|
1271
|
+
this.es = a;
|
|
1272
|
+
if (b != this.es) {
|
|
1273
|
+
this.d1("CheckboxUncheckedBorderColor", b, this.es);
|
|
1273
1274
|
}
|
|
1274
1275
|
}
|
|
1275
|
-
get
|
|
1276
|
-
return this.
|
|
1276
|
+
get bc() {
|
|
1277
|
+
return this.bb;
|
|
1277
1278
|
}
|
|
1278
|
-
set
|
|
1279
|
-
let b = this.
|
|
1280
|
-
this.
|
|
1281
|
-
if (b != this.
|
|
1282
|
-
this.
|
|
1279
|
+
set bc(a) {
|
|
1280
|
+
let b = this.bb;
|
|
1281
|
+
this.bb = a;
|
|
1282
|
+
if (b != this.bb) {
|
|
1283
|
+
this.d1("CheckboxCornerRadius", b, this.bb);
|
|
1283
1284
|
}
|
|
1284
1285
|
}
|
|
1285
|
-
get
|
|
1286
|
-
return this.
|
|
1286
|
+
get ad() {
|
|
1287
|
+
return this.ac;
|
|
1287
1288
|
}
|
|
1288
|
-
set
|
|
1289
|
-
let b = this.
|
|
1290
|
-
this.
|
|
1291
|
-
if (b != this.
|
|
1292
|
-
this.
|
|
1289
|
+
set ad(a) {
|
|
1290
|
+
let b = this.ac;
|
|
1291
|
+
this.ac = a;
|
|
1292
|
+
if (b != this.ac) {
|
|
1293
|
+
this.d1("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.ac));
|
|
1293
1294
|
}
|
|
1294
1295
|
}
|
|
1295
|
-
get
|
|
1296
|
-
return this.
|
|
1296
|
+
get fe() {
|
|
1297
|
+
return this.eu;
|
|
1297
1298
|
}
|
|
1298
|
-
set
|
|
1299
|
-
let b = this.
|
|
1300
|
-
this.
|
|
1301
|
-
if (b != this.
|
|
1302
|
-
this.
|
|
1299
|
+
set fe(a) {
|
|
1300
|
+
let b = this.eu;
|
|
1301
|
+
this.eu = a;
|
|
1302
|
+
if (b != this.eu) {
|
|
1303
|
+
this.d1("ScrollbarBackground", b, this.eu);
|
|
1303
1304
|
}
|
|
1304
1305
|
}
|
|
1305
|
-
|
|
1306
|
+
d1(a, b, c) {
|
|
1306
1307
|
if (this.propertyChanged != null) {
|
|
1307
1308
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
1308
1309
|
}
|
|
1309
|
-
this.
|
|
1310
|
+
this.d7(a, b, c);
|
|
1310
1311
|
}
|
|
1311
|
-
|
|
1312
|
+
d7(a, b, c) {
|
|
1312
1313
|
switch (a) {
|
|
1313
1314
|
case "IndexType":
|
|
1314
1315
|
this.keys.clear();
|
|
1315
|
-
this.
|
|
1316
|
+
this.dl();
|
|
1316
1317
|
if (this.keysCleared != null) {
|
|
1317
1318
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1318
1319
|
}
|
|
1319
1320
|
this.view.an();
|
|
1320
|
-
this.
|
|
1321
|
+
this.dx(b, c);
|
|
1321
1322
|
break;
|
|
1322
1323
|
case "ItemsSource":
|
|
1323
|
-
if (this.
|
|
1324
|
+
if (this.g != null) {
|
|
1324
1325
|
this.indexType = 1;
|
|
1325
1326
|
if (c != null) {
|
|
1326
|
-
this.
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1329
|
-
this.
|
|
1327
|
+
this.g.groupDescriptions.n();
|
|
1328
|
+
this.g.sortDescriptions.n();
|
|
1329
|
+
this.g.filterExpressions.clear();
|
|
1330
|
+
this.g.summaryDescriptions.n();
|
|
1330
1331
|
}
|
|
1331
|
-
if (this.
|
|
1332
|
-
let d = this.
|
|
1333
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1332
|
+
if (this.g.actualDataSource != null && !this.a0) {
|
|
1333
|
+
let d = this.g.actualDataSource;
|
|
1334
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.d2));
|
|
1334
1335
|
}
|
|
1335
|
-
this.
|
|
1336
|
-
this.
|
|
1337
|
-
if (this.
|
|
1338
|
-
let e = this.
|
|
1339
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
1336
|
+
this.g.itemsSource = this.bl;
|
|
1337
|
+
this.c9();
|
|
1338
|
+
if (this.g.actualDataSource != null && !this.a0) {
|
|
1339
|
+
let e = this.g.actualDataSource;
|
|
1340
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.d2));
|
|
1340
1341
|
}
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1343
|
-
this.
|
|
1342
|
+
this.at = true;
|
|
1343
|
+
this.d4();
|
|
1344
|
+
this.at = false;
|
|
1344
1345
|
this.view.an();
|
|
1345
1346
|
}
|
|
1346
1347
|
break;
|
|
@@ -1348,20 +1349,20 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1348
1349
|
case "SelectedMemberPath":
|
|
1349
1350
|
case "SubtitleMemberPath":
|
|
1350
1351
|
case "PropertyTypeMemberPath":
|
|
1351
|
-
if (this.
|
|
1352
|
-
if (this.
|
|
1353
|
-
this.
|
|
1354
|
-
this.
|
|
1352
|
+
if (this.g != null) {
|
|
1353
|
+
if (this.bp != null) {
|
|
1354
|
+
this.d4();
|
|
1355
|
+
this.ei();
|
|
1355
1356
|
}
|
|
1356
1357
|
}
|
|
1357
1358
|
break;
|
|
1358
1359
|
case "PrimaryKey":
|
|
1359
|
-
if (this.
|
|
1360
|
-
this.
|
|
1360
|
+
if (this.g != null) {
|
|
1361
|
+
this.g.primaryKey = this.primaryKey;
|
|
1361
1362
|
}
|
|
1362
1363
|
break;
|
|
1363
1364
|
case "SelectAllCaptionTextColor":
|
|
1364
|
-
this.
|
|
1365
|
+
this.e1 = null != this.fj ? this.fj : this.fc();
|
|
1365
1366
|
break;
|
|
1366
1367
|
case "SelectAllCaption":
|
|
1367
1368
|
case "ActualSelectAllCaptionTextColor":
|
|
@@ -1376,75 +1377,76 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1376
1377
|
this.view.z();
|
|
1377
1378
|
break;
|
|
1378
1379
|
case "FilterPlaceholderText":
|
|
1379
|
-
if (this.
|
|
1380
|
-
this.
|
|
1380
|
+
if (this.v != null) {
|
|
1381
|
+
this.v.cg = this.cb;
|
|
1381
1382
|
}
|
|
1382
1383
|
break;
|
|
1383
1384
|
case "SearchInputType":
|
|
1384
|
-
if (this.
|
|
1385
|
-
this.
|
|
1385
|
+
if (this.x != null) {
|
|
1386
|
+
this.x.d = this.aa;
|
|
1386
1387
|
}
|
|
1387
1388
|
break;
|
|
1388
1389
|
case "RowHeight":
|
|
1389
|
-
if (this.
|
|
1390
|
-
this.
|
|
1390
|
+
if (this.g != null) {
|
|
1391
|
+
this.g.rowHeight = this.bj;
|
|
1391
1392
|
}
|
|
1392
1393
|
break;
|
|
1393
1394
|
case "CellTextStyle":
|
|
1394
|
-
if (this.
|
|
1395
|
-
this.
|
|
1395
|
+
if (this.g != null) {
|
|
1396
|
+
this.g.cellTextStyle = this.ao;
|
|
1396
1397
|
}
|
|
1397
1398
|
this.view.aj();
|
|
1398
1399
|
break;
|
|
1399
1400
|
case "BackgroundColor":
|
|
1400
1401
|
case "TextColor":
|
|
1401
1402
|
case "RowHoverBackgroundColor":
|
|
1402
|
-
let f = this.
|
|
1403
|
+
let f = this.g;
|
|
1403
1404
|
if (null != f) {
|
|
1404
|
-
f.cellTextColor = this.
|
|
1405
|
+
f.cellTextColor = this.fl;
|
|
1405
1406
|
f.cellBackground = this.backgroundColor;
|
|
1407
|
+
f.background = this.backgroundColor;
|
|
1406
1408
|
f.cellSelectedBackground = this.backgroundColor;
|
|
1407
1409
|
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1408
1410
|
}
|
|
1409
1411
|
this.view.ak();
|
|
1410
1412
|
break;
|
|
1411
1413
|
case "BaseTheme":
|
|
1412
|
-
this.
|
|
1414
|
+
this.eh();
|
|
1413
1415
|
break;
|
|
1414
1416
|
case "Density":
|
|
1415
|
-
this.
|
|
1417
|
+
this.eg();
|
|
1416
1418
|
break;
|
|
1417
1419
|
case "IsRowHoverEnabled":
|
|
1418
|
-
if (this.
|
|
1419
|
-
this.
|
|
1420
|
+
if (this.g != null) {
|
|
1421
|
+
this.g.isRowHoverEnabled = this.a4;
|
|
1420
1422
|
}
|
|
1421
1423
|
break;
|
|
1422
1424
|
case "ScrollbarStyle":
|
|
1423
|
-
if (this.
|
|
1424
|
-
this.
|
|
1425
|
+
if (this.g != null) {
|
|
1426
|
+
this.g.scrollbarStyle = this.ad;
|
|
1425
1427
|
}
|
|
1426
1428
|
break;
|
|
1427
1429
|
case "ScrollbarBackground":
|
|
1428
|
-
if (this.
|
|
1429
|
-
this.
|
|
1430
|
+
if (this.g != null) {
|
|
1431
|
+
this.g.scrollbarBackground = this.fe;
|
|
1430
1432
|
}
|
|
1431
1433
|
break;
|
|
1432
1434
|
case "SearchIconColor":
|
|
1433
1435
|
this.view.ai();
|
|
1434
1436
|
break;
|
|
1435
1437
|
case "SearchBackgroundColor":
|
|
1436
|
-
this.
|
|
1438
|
+
this.y.mc = this.ff;
|
|
1437
1439
|
break;
|
|
1438
1440
|
case "SearchBorderColor":
|
|
1439
|
-
this.
|
|
1441
|
+
this.y.md = this.fg;
|
|
1440
1442
|
break;
|
|
1441
1443
|
case "SearchTextColor":
|
|
1442
|
-
if (this.
|
|
1443
|
-
this.
|
|
1444
|
+
if (this.w != null) {
|
|
1445
|
+
this.w.d8 = this.searchTextColor;
|
|
1444
1446
|
}
|
|
1445
1447
|
break;
|
|
1446
1448
|
case "SearchTextStyle":
|
|
1447
|
-
this.
|
|
1449
|
+
this.w.af = this.ap;
|
|
1448
1450
|
break;
|
|
1449
1451
|
case "CheckboxTickColor":
|
|
1450
1452
|
case "CheckboxCheckedBackgroundColor":
|
|
@@ -1453,41 +1455,41 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1453
1455
|
case "CheckboxUncheckedBorderColor":
|
|
1454
1456
|
case "CheckboxCornerRadius":
|
|
1455
1457
|
this.view.af();
|
|
1456
|
-
if (this.
|
|
1457
|
-
this.
|
|
1458
|
+
if (this.g != null) {
|
|
1459
|
+
this.g.x9();
|
|
1458
1460
|
}
|
|
1459
1461
|
break;
|
|
1460
1462
|
case "CheckboxAlignedRight":
|
|
1461
|
-
if (this.
|
|
1462
|
-
this.
|
|
1463
|
+
if (this.g != null) {
|
|
1464
|
+
this.ek();
|
|
1463
1465
|
}
|
|
1464
1466
|
break;
|
|
1465
1467
|
case "DataLegendTarget":
|
|
1466
|
-
if (this.
|
|
1467
|
-
this.
|
|
1468
|
+
if (this.g != null) {
|
|
1469
|
+
this.g.x9();
|
|
1468
1470
|
}
|
|
1469
1471
|
break;
|
|
1470
1472
|
}
|
|
1471
1473
|
}
|
|
1472
|
-
|
|
1473
|
-
if (this.
|
|
1474
|
+
ek() {
|
|
1475
|
+
if (this.g.actualColumns.count == 0) {
|
|
1474
1476
|
return;
|
|
1475
1477
|
}
|
|
1476
|
-
let a = this.
|
|
1477
|
-
let b = this.
|
|
1478
|
-
let c = this.
|
|
1479
|
-
this.
|
|
1480
|
-
if (this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1478
|
+
let a = this.g.actualColumns._inner[0];
|
|
1479
|
+
let b = this.g.actualColumns._inner[1];
|
|
1480
|
+
let c = this.g.actualColumns._inner[2];
|
|
1481
|
+
this.g.actualColumns.clear();
|
|
1482
|
+
if (this.az) {
|
|
1483
|
+
this.g.columns.add(b);
|
|
1484
|
+
this.g.columns.add(a);
|
|
1483
1485
|
}
|
|
1484
1486
|
else {
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
+
this.g.columns.add(a);
|
|
1488
|
+
this.g.columns.add(b);
|
|
1487
1489
|
}
|
|
1488
|
-
this.
|
|
1490
|
+
this.g.columns.add(c);
|
|
1489
1491
|
}
|
|
1490
|
-
|
|
1492
|
+
dx(a, b) {
|
|
1491
1493
|
if (this.indexTypeChanged != null) {
|
|
1492
1494
|
this.indexTypeChanged(this, ((() => {
|
|
1493
1495
|
let $ret = new CheckboxListIndexTypeChangedEventArgs();
|
|
@@ -1497,71 +1499,74 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1497
1499
|
})()));
|
|
1498
1500
|
}
|
|
1499
1501
|
}
|
|
1500
|
-
|
|
1501
|
-
if (this.
|
|
1502
|
-
this.
|
|
1502
|
+
eg() {
|
|
1503
|
+
if (this.g != null) {
|
|
1504
|
+
this.g.density = this.density;
|
|
1503
1505
|
}
|
|
1504
|
-
if (this.
|
|
1505
|
-
this.
|
|
1506
|
+
if (this.x != null) {
|
|
1507
|
+
this.x.t = this.density;
|
|
1506
1508
|
}
|
|
1507
1509
|
this.view.ae();
|
|
1508
1510
|
}
|
|
1509
|
-
|
|
1510
|
-
if (this.
|
|
1511
|
-
this.
|
|
1511
|
+
eh() {
|
|
1512
|
+
if (this.x != null) {
|
|
1513
|
+
this.x.p = this.baseTheme;
|
|
1512
1514
|
}
|
|
1513
|
-
if (this.
|
|
1514
|
-
this.
|
|
1515
|
+
if (this.w != null) {
|
|
1516
|
+
this.w.d8 = this.searchTextColor;
|
|
1515
1517
|
}
|
|
1516
|
-
if (this.
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1518
|
+
if (this.g != null) {
|
|
1519
|
+
this.g.theme = this.baseTheme;
|
|
1520
|
+
this.g.cellTextColor = this.fl;
|
|
1521
|
+
this.g.cellBackground = this.backgroundColor;
|
|
1522
|
+
this.g.cellSelectedBackground = this.backgroundColor;
|
|
1523
|
+
this.g.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1524
|
+
this.g.background = this.backgroundColor;
|
|
1521
1525
|
}
|
|
1526
|
+
this.e1 = this.fj != null ? this.fj : this.fc();
|
|
1522
1527
|
this.view.ag();
|
|
1523
1528
|
}
|
|
1524
|
-
|
|
1525
|
-
this.
|
|
1526
|
-
this.
|
|
1529
|
+
d2(a, b) {
|
|
1530
|
+
this.at = true;
|
|
1531
|
+
this.c9();
|
|
1527
1532
|
if (b.schema != null) {
|
|
1528
|
-
this.
|
|
1533
|
+
this.d4();
|
|
1529
1534
|
for (let c = 0; c < this.keys.count; c++) {
|
|
1530
|
-
this.
|
|
1535
|
+
this.dz(this.keys._inner[c]);
|
|
1531
1536
|
}
|
|
1532
1537
|
this.view.an();
|
|
1533
1538
|
}
|
|
1534
|
-
this.
|
|
1539
|
+
this.at = false;
|
|
1535
1540
|
}
|
|
1536
|
-
|
|
1537
|
-
if (this.aj == null && this.br != null && this.br != "") {
|
|
1538
|
-
this.aj = new FastReflectionHelper(false, this.br);
|
|
1539
|
-
}
|
|
1540
|
-
if (this.ah == null && this.bo != null && this.bo != "") {
|
|
1541
|
-
this.ah = new FastReflectionHelper(false, this.bo);
|
|
1542
|
-
}
|
|
1541
|
+
d4() {
|
|
1543
1542
|
if (this.ak == null && this.bs != null && this.bs != "") {
|
|
1544
1543
|
this.ak = new FastReflectionHelper(false, this.bs);
|
|
1545
1544
|
}
|
|
1546
|
-
if (this.ai == null && this.
|
|
1547
|
-
this.ai = new FastReflectionHelper(false, this.
|
|
1545
|
+
if (this.ai == null && this.bp != null && this.bp != "") {
|
|
1546
|
+
this.ai = new FastReflectionHelper(false, this.bp);
|
|
1548
1547
|
}
|
|
1549
|
-
if (this.
|
|
1550
|
-
this.
|
|
1548
|
+
if (this.al == null && this.bt != null && this.bt != "") {
|
|
1549
|
+
this.al = new FastReflectionHelper(false, this.bt);
|
|
1551
1550
|
}
|
|
1552
|
-
if (this.
|
|
1553
|
-
this.
|
|
1551
|
+
if (this.aj == null && this.br != null && this.br != "") {
|
|
1552
|
+
this.aj = new FastReflectionHelper(false, this.br);
|
|
1554
1553
|
}
|
|
1555
1554
|
if (this.ai != null) {
|
|
1556
|
-
this.ai.propertyName = this.
|
|
1555
|
+
this.ai.propertyName = this.bp;
|
|
1556
|
+
}
|
|
1557
|
+
if (this.al != null) {
|
|
1558
|
+
this.al.propertyName = this.bt;
|
|
1557
1559
|
}
|
|
1558
|
-
if (this.
|
|
1560
|
+
if (this.aj != null) {
|
|
1559
1561
|
this.aj.propertyName = this.br;
|
|
1560
|
-
|
|
1562
|
+
}
|
|
1563
|
+
if (this.bl != null && this.ak != null && this.g.actualDataSource.actualSchema != null) {
|
|
1564
|
+
this.ak.propertyName = this.bs;
|
|
1565
|
+
let a = this.g.actualDataSource.actualCount;
|
|
1561
1566
|
for (let b = 0; b < a; b++) {
|
|
1562
|
-
let c = this.
|
|
1563
|
-
let d = this.
|
|
1564
|
-
let e = this.
|
|
1567
|
+
let c = this.g.actualDataSource.getItemAtIndex(b);
|
|
1568
|
+
let d = this.j(c);
|
|
1569
|
+
let e = this.ak.getPropertyValue(c);
|
|
1565
1570
|
if (e == true) {
|
|
1566
1571
|
if (!this.keys.contains(d)) {
|
|
1567
1572
|
this.keys.add(d);
|
|
@@ -1573,83 +1578,95 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1573
1578
|
}
|
|
1574
1579
|
}
|
|
1575
1580
|
}
|
|
1576
|
-
|
|
1581
|
+
ei() {
|
|
1577
1582
|
this.view.p();
|
|
1578
|
-
this.
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1581
|
-
this.
|
|
1582
|
-
this.
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1585
|
-
this.
|
|
1586
|
-
this.
|
|
1587
|
-
|
|
1588
|
-
|
|
1583
|
+
this.g.columns.clear();
|
|
1584
|
+
this.g.primaryKey = this.primaryKey;
|
|
1585
|
+
this.g.isGroupRowSticky = false;
|
|
1586
|
+
this.g.rowHeight = this.bj;
|
|
1587
|
+
this.g.background = this.backgroundColor;
|
|
1588
|
+
this.g.cellBackground = this.backgroundColor;
|
|
1589
|
+
this.g.cellSelectedBackground = this.backgroundColor;
|
|
1590
|
+
this.g.theme = this.baseTheme;
|
|
1591
|
+
this.g.density = this.density;
|
|
1592
|
+
this.g.isRowHoverEnabled = this.a4;
|
|
1593
|
+
this.g.borderWidth = new Thickness(0, 0);
|
|
1594
|
+
if (this.ao != null) {
|
|
1595
|
+
this.g.cellTextStyle = this.ao;
|
|
1589
1596
|
}
|
|
1590
1597
|
let a = new TemplateColumn();
|
|
1591
|
-
if (this.
|
|
1592
|
-
this.
|
|
1598
|
+
if (this.bs == null) {
|
|
1599
|
+
this.bs = "";
|
|
1593
1600
|
}
|
|
1594
|
-
a.
|
|
1595
|
-
a.
|
|
1601
|
+
a.mr = this.bs;
|
|
1602
|
+
a.ni = "CheckboxColumn";
|
|
1596
1603
|
let b = new ColumnWidth();
|
|
1597
1604
|
b.c = false;
|
|
1598
1605
|
b.f = 28;
|
|
1599
1606
|
a.width = b;
|
|
1600
|
-
a.
|
|
1601
|
-
a.
|
|
1602
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1603
|
-
this.
|
|
1604
|
-
this.
|
|
1605
|
-
let c = this.
|
|
1606
|
-
if ((this.
|
|
1607
|
+
a.k7 = 0;
|
|
1608
|
+
a.k8 = 0;
|
|
1609
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.da));
|
|
1610
|
+
this.k = a;
|
|
1611
|
+
this.g.columns.add(a);
|
|
1612
|
+
let c = this.g.actualDataSource.resolveSchemaPropertyType(this.bp);
|
|
1613
|
+
if ((this.bt != null || this.br != null) && (c == 0 || c == 11 || c == 2)) {
|
|
1607
1614
|
let d = new TemplateColumn();
|
|
1608
|
-
d.
|
|
1609
|
-
d.
|
|
1610
|
-
d.
|
|
1615
|
+
d.mr = this.bp;
|
|
1616
|
+
d.ni = "DataColumn";
|
|
1617
|
+
d.k7 = 0;
|
|
1611
1618
|
d.g = 0;
|
|
1612
|
-
d.cellUpdating = delegateCombine(d.cellUpdating, runOn(this, this.
|
|
1613
|
-
this.
|
|
1619
|
+
d.cellUpdating = delegateCombine(d.cellUpdating, runOn(this, this.ej));
|
|
1620
|
+
this.g.columns.add(d);
|
|
1614
1621
|
}
|
|
1615
1622
|
else {
|
|
1616
1623
|
let e;
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
e = new DateTimeColumn();
|
|
1621
|
-
break;
|
|
1622
|
-
case 1:
|
|
1623
|
-
case 3:
|
|
1624
|
-
case 4:
|
|
1625
|
-
case 5:
|
|
1626
|
-
case 6:
|
|
1627
|
-
case 7:
|
|
1628
|
-
case 10:
|
|
1629
|
-
e = new NumericColumn();
|
|
1630
|
-
break;
|
|
1631
|
-
case 2:
|
|
1632
|
-
case 11:
|
|
1633
|
-
case 0:
|
|
1634
|
-
default:
|
|
1635
|
-
e = new TextColumn();
|
|
1636
|
-
break;
|
|
1624
|
+
if (this.f != null) {
|
|
1625
|
+
e = this.f.h0();
|
|
1626
|
+
e.onAttachingOverride = delegateCombine(e.onAttachingOverride, runOn(this, this.di));
|
|
1637
1627
|
}
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1628
|
+
else {
|
|
1629
|
+
switch (c) {
|
|
1630
|
+
case 8:
|
|
1631
|
+
case 9:
|
|
1632
|
+
e = new DateTimeColumn();
|
|
1633
|
+
break;
|
|
1634
|
+
case 1:
|
|
1635
|
+
case 3:
|
|
1636
|
+
case 4:
|
|
1637
|
+
case 5:
|
|
1638
|
+
case 6:
|
|
1639
|
+
case 7:
|
|
1640
|
+
case 10:
|
|
1641
|
+
e = new NumericColumn();
|
|
1642
|
+
break;
|
|
1643
|
+
case 2:
|
|
1644
|
+
case 11:
|
|
1645
|
+
case 0:
|
|
1646
|
+
default:
|
|
1647
|
+
e = new TextColumn();
|
|
1648
|
+
break;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
e.mr = this.bp;
|
|
1652
|
+
e.ni = "DataColumn";
|
|
1653
|
+
e.k7 = 0;
|
|
1641
1654
|
e.g = 0;
|
|
1642
|
-
this.
|
|
1655
|
+
this.g.columns.add(e);
|
|
1643
1656
|
}
|
|
1644
1657
|
let f = new TemplateColumn();
|
|
1645
1658
|
let g = new ColumnWidth();
|
|
1646
1659
|
g.c = false;
|
|
1647
1660
|
g.f = 10;
|
|
1648
|
-
f.
|
|
1649
|
-
f.
|
|
1650
|
-
f.
|
|
1661
|
+
f.mr = "PaddingColumn";
|
|
1662
|
+
f.ni = "PaddingColumn";
|
|
1663
|
+
f.k7 = 0;
|
|
1651
1664
|
f.width = g;
|
|
1652
|
-
this.
|
|
1665
|
+
this.g.columns.add(f);
|
|
1666
|
+
}
|
|
1667
|
+
di(a, b) {
|
|
1668
|
+
let c = b.b;
|
|
1669
|
+
c.g0 = 0;
|
|
1653
1670
|
}
|
|
1654
1671
|
updateHrMargin(a) {
|
|
1655
1672
|
this.view.ah(a);
|
|
@@ -1657,18 +1674,18 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1657
1674
|
provideHrElement(a) {
|
|
1658
1675
|
this.view.v(a);
|
|
1659
1676
|
}
|
|
1660
|
-
|
|
1661
|
-
if (!this.
|
|
1662
|
-
let a = this.
|
|
1663
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1677
|
+
dy() {
|
|
1678
|
+
if (!this.a0) {
|
|
1679
|
+
let a = this.w;
|
|
1680
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.dj));
|
|
1664
1681
|
}
|
|
1665
|
-
this.
|
|
1682
|
+
this.eh();
|
|
1666
1683
|
}
|
|
1667
|
-
|
|
1684
|
+
dj(a, b) {
|
|
1668
1685
|
let c = b.value.toLowerCase();
|
|
1669
|
-
this.
|
|
1686
|
+
this.dw(c);
|
|
1670
1687
|
}
|
|
1671
|
-
|
|
1688
|
+
j(a) {
|
|
1672
1689
|
if (this.primaryKey == null) {
|
|
1673
1690
|
return PrimaryKeyValue.createIdentityKey(a);
|
|
1674
1691
|
}
|
|
@@ -1680,81 +1697,81 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1680
1697
|
}
|
|
1681
1698
|
return new PrimaryKeyValue(b, c);
|
|
1682
1699
|
}
|
|
1683
|
-
|
|
1684
|
-
this.
|
|
1700
|
+
ec(a) {
|
|
1701
|
+
this.as = true;
|
|
1685
1702
|
let b = this.e.getItemAtIndex(a);
|
|
1686
|
-
if (this.
|
|
1687
|
-
this.
|
|
1703
|
+
if (this.ak != null) {
|
|
1704
|
+
this.ak.setPropertyValue(b, false);
|
|
1688
1705
|
}
|
|
1689
|
-
let c = this.
|
|
1706
|
+
let c = this.j(b);
|
|
1690
1707
|
this.keys.remove(c);
|
|
1691
|
-
this.
|
|
1708
|
+
this.as = false;
|
|
1692
1709
|
}
|
|
1693
|
-
|
|
1694
|
-
this.
|
|
1710
|
+
c6(a) {
|
|
1711
|
+
this.as = true;
|
|
1695
1712
|
let b = this.e.getItemAtIndex(a);
|
|
1696
|
-
if (this.
|
|
1697
|
-
this.
|
|
1713
|
+
if (this.ak != null) {
|
|
1714
|
+
this.ak.setPropertyValue(b, true);
|
|
1698
1715
|
}
|
|
1699
|
-
let c = this.
|
|
1716
|
+
let c = this.j(b);
|
|
1700
1717
|
this.keys.add(c);
|
|
1701
|
-
this.
|
|
1718
|
+
this.as = false;
|
|
1702
1719
|
}
|
|
1703
|
-
|
|
1720
|
+
ef() {
|
|
1704
1721
|
this.indexType = 0;
|
|
1705
1722
|
this.keys.clear();
|
|
1706
|
-
this.
|
|
1723
|
+
this.dl();
|
|
1707
1724
|
if (this.keysCleared != null) {
|
|
1708
1725
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1709
1726
|
}
|
|
1710
1727
|
}
|
|
1711
|
-
|
|
1728
|
+
dc() {
|
|
1712
1729
|
this.indexType = 1;
|
|
1713
1730
|
this.keys.clear();
|
|
1714
|
-
this.
|
|
1731
|
+
this.dl();
|
|
1715
1732
|
if (this.keysCleared != null) {
|
|
1716
1733
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1717
1734
|
}
|
|
1718
1735
|
}
|
|
1719
|
-
|
|
1720
|
-
if (this.
|
|
1721
|
-
this.
|
|
1736
|
+
dr(a, b, c) {
|
|
1737
|
+
if (this.g != null) {
|
|
1738
|
+
this.g.notifySetItem(a, b, c);
|
|
1722
1739
|
}
|
|
1723
1740
|
}
|
|
1724
|
-
|
|
1725
|
-
if (this.
|
|
1726
|
-
this.
|
|
1741
|
+
dm() {
|
|
1742
|
+
if (this.g != null) {
|
|
1743
|
+
this.g.notifyClearItems();
|
|
1727
1744
|
}
|
|
1728
1745
|
}
|
|
1729
|
-
|
|
1730
|
-
if (this.
|
|
1731
|
-
this.
|
|
1746
|
+
dl() {
|
|
1747
|
+
if (this.g != null) {
|
|
1748
|
+
this.g.invalidateVisibleRows();
|
|
1732
1749
|
}
|
|
1733
1750
|
}
|
|
1734
|
-
|
|
1735
|
-
if (this.
|
|
1736
|
-
this.
|
|
1751
|
+
dn(a, b) {
|
|
1752
|
+
if (this.g != null) {
|
|
1753
|
+
this.g.notifyInsertItem(a, b);
|
|
1737
1754
|
}
|
|
1738
1755
|
;
|
|
1739
1756
|
}
|
|
1740
|
-
|
|
1741
|
-
if (this.
|
|
1742
|
-
this.
|
|
1757
|
+
dq(a, b) {
|
|
1758
|
+
if (this.g != null) {
|
|
1759
|
+
this.g.notifyRemoveItem(a, b);
|
|
1743
1760
|
}
|
|
1744
1761
|
;
|
|
1745
1762
|
}
|
|
1746
1763
|
refresh() {
|
|
1747
|
-
if (this.
|
|
1764
|
+
if (this.aw) {
|
|
1748
1765
|
return;
|
|
1749
1766
|
}
|
|
1750
|
-
if (this.
|
|
1751
|
-
this.
|
|
1767
|
+
if (this.g != null) {
|
|
1768
|
+
this.aw = true;
|
|
1752
1769
|
this.view.x();
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1770
|
+
this.g.refresh();
|
|
1771
|
+
this.aw = false;
|
|
1755
1772
|
}
|
|
1756
1773
|
}
|
|
1757
|
-
|
|
1774
|
+
c7(a) {
|
|
1758
1775
|
let b = null;
|
|
1759
1776
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1760
1777
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1766,15 +1783,15 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1766
1783
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1767
1784
|
}
|
|
1768
1785
|
if (b != null) {
|
|
1769
|
-
if (this.
|
|
1786
|
+
if (this.ak != null) {
|
|
1770
1787
|
let c = this.e.indexOfKey(a);
|
|
1771
1788
|
let d = this.e.getItemAtIndex(c);
|
|
1772
|
-
this.
|
|
1789
|
+
this.ak.setPropertyValue(d, true);
|
|
1773
1790
|
}
|
|
1774
1791
|
this.keys.add(b);
|
|
1775
1792
|
}
|
|
1776
1793
|
}
|
|
1777
|
-
|
|
1794
|
+
ed(a) {
|
|
1778
1795
|
let b = null;
|
|
1779
1796
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1780
1797
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1786,10 +1803,10 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1786
1803
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1787
1804
|
}
|
|
1788
1805
|
if (this.keys.contains(b)) {
|
|
1789
|
-
if (this.
|
|
1806
|
+
if (this.ak != null) {
|
|
1790
1807
|
let c = this.e.indexOfKey(a);
|
|
1791
1808
|
let d = this.e.getItemAtIndex(c);
|
|
1792
|
-
this.
|
|
1809
|
+
this.ak.setPropertyValue(d, false);
|
|
1793
1810
|
}
|
|
1794
1811
|
this.keys.remove(b);
|
|
1795
1812
|
}
|
|
@@ -1797,13 +1814,13 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1797
1814
|
getDesiredSize(a) {
|
|
1798
1815
|
let b = 248;
|
|
1799
1816
|
let c = 0;
|
|
1800
|
-
let d = this.
|
|
1817
|
+
let d = this.be();
|
|
1801
1818
|
let e = 5;
|
|
1802
|
-
if (this.
|
|
1803
|
-
e = this.
|
|
1819
|
+
if (this.g != null && this.g.actualDataSource != null && this.g.actualDataSource.actualCount > 0) {
|
|
1820
|
+
e = this.g.actualDataSource.actualCount;
|
|
1804
1821
|
}
|
|
1805
|
-
let f = this.
|
|
1806
|
-
let g = this.
|
|
1822
|
+
let f = this.bh * e;
|
|
1823
|
+
let g = this.bh * (this.showSelectAll ? 4 : 5);
|
|
1807
1824
|
let h = f > g ? g : f;
|
|
1808
1825
|
let i = d + h;
|
|
1809
1826
|
if (isPositiveInfinity(a.height)) {
|
|
@@ -1820,26 +1837,26 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1820
1837
|
}
|
|
1821
1838
|
return new Size(1, b, c);
|
|
1822
1839
|
}
|
|
1823
|
-
|
|
1840
|
+
be() {
|
|
1824
1841
|
let a = 0;
|
|
1825
1842
|
a += ComponentSizeHelpers.d(this.density, this.baseTheme);
|
|
1826
1843
|
a += ComponentSizeHelpers.c(this.density, this.baseTheme);
|
|
1827
1844
|
a += (0.8 + 6);
|
|
1828
1845
|
a += 4;
|
|
1829
1846
|
if (this.showSelectAll) {
|
|
1830
|
-
a += this.
|
|
1847
|
+
a += this.bh;
|
|
1831
1848
|
}
|
|
1832
1849
|
a += 4;
|
|
1833
1850
|
return a;
|
|
1834
1851
|
}
|
|
1835
|
-
|
|
1836
|
-
return this.
|
|
1852
|
+
bn() {
|
|
1853
|
+
return this.l();
|
|
1837
1854
|
}
|
|
1838
|
-
|
|
1839
|
-
let a = this.
|
|
1855
|
+
ca() {
|
|
1856
|
+
let a = this.l();
|
|
1840
1857
|
return a.i();
|
|
1841
1858
|
}
|
|
1842
|
-
|
|
1859
|
+
l() {
|
|
1843
1860
|
let a = new CheckboxListVisualModelExport();
|
|
1844
1861
|
let b = this.view.a();
|
|
1845
1862
|
a.g = b[0];
|
|
@@ -1848,97 +1865,104 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1848
1865
|
a.e = c.height;
|
|
1849
1866
|
a.h = c.width;
|
|
1850
1867
|
a.c = this.baseTheme;
|
|
1851
|
-
a.d = this.
|
|
1852
|
-
a.a = AppearanceHelper.a(this.
|
|
1868
|
+
a.d = this.bh;
|
|
1869
|
+
a.a = AppearanceHelper.a(this.e1);
|
|
1853
1870
|
a.b = AppearanceHelper.a(this.backgroundColor);
|
|
1854
1871
|
return a;
|
|
1855
1872
|
}
|
|
1856
|
-
get
|
|
1857
|
-
return this.
|
|
1873
|
+
get cw() {
|
|
1874
|
+
return this.cv != null ? this.cv : !stringIsNullOrWhiteSpace(this.ar.b1("Select_All")) ? this.ar.b1("Select_All") : "(Select All)";
|
|
1858
1875
|
}
|
|
1859
|
-
set
|
|
1860
|
-
if (a == this.
|
|
1876
|
+
set cw(a) {
|
|
1877
|
+
if (a == this.cv) {
|
|
1861
1878
|
return;
|
|
1862
1879
|
}
|
|
1863
|
-
let b = this.
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1880
|
+
let b = this.cv;
|
|
1881
|
+
this.cv = a;
|
|
1882
|
+
this.d1("SelectAllCaption", b, this.cv);
|
|
1866
1883
|
}
|
|
1867
|
-
get
|
|
1868
|
-
return this.
|
|
1884
|
+
get fj() {
|
|
1885
|
+
return this.ez;
|
|
1869
1886
|
}
|
|
1870
|
-
set
|
|
1871
|
-
let b = this.
|
|
1872
|
-
this.
|
|
1873
|
-
if (b != this.
|
|
1874
|
-
this.
|
|
1887
|
+
set fj(a) {
|
|
1888
|
+
let b = this.ez;
|
|
1889
|
+
this.ez = a;
|
|
1890
|
+
if (b != this.ez) {
|
|
1891
|
+
this.d1("SelectAllCaptionTextColor", b, a);
|
|
1875
1892
|
}
|
|
1876
1893
|
}
|
|
1877
|
-
get
|
|
1878
|
-
return this.
|
|
1894
|
+
get e1() {
|
|
1895
|
+
return this.em;
|
|
1879
1896
|
}
|
|
1880
|
-
set
|
|
1881
|
-
let b = this.
|
|
1882
|
-
this.
|
|
1883
|
-
if (b != this.
|
|
1884
|
-
this.
|
|
1897
|
+
set e1(a) {
|
|
1898
|
+
let b = this.em;
|
|
1899
|
+
this.em = a;
|
|
1900
|
+
if (b != this.em) {
|
|
1901
|
+
this.d1("ActualSelectAllCaptionTextColor", b, a);
|
|
1885
1902
|
}
|
|
1886
1903
|
}
|
|
1887
|
-
get
|
|
1888
|
-
if (-1 == this.
|
|
1904
|
+
get a5() {
|
|
1905
|
+
if (-1 == this.bi) {
|
|
1889
1906
|
return false;
|
|
1890
1907
|
}
|
|
1891
1908
|
let a = this.keys.count;
|
|
1892
1909
|
if (0 == a) {
|
|
1893
1910
|
return false;
|
|
1894
1911
|
}
|
|
1895
|
-
if (a == this.
|
|
1912
|
+
if (a == this.bi) {
|
|
1896
1913
|
return false;
|
|
1897
1914
|
}
|
|
1898
1915
|
return true;
|
|
1899
1916
|
}
|
|
1900
1917
|
get showSelectAll() {
|
|
1901
|
-
return this.
|
|
1918
|
+
return this.a9;
|
|
1902
1919
|
}
|
|
1903
1920
|
set showSelectAll(a) {
|
|
1904
|
-
if (a == this.
|
|
1921
|
+
if (a == this.a9) {
|
|
1905
1922
|
return;
|
|
1906
1923
|
}
|
|
1907
|
-
let b = this.
|
|
1908
|
-
this.
|
|
1909
|
-
this.
|
|
1924
|
+
let b = this.a9;
|
|
1925
|
+
this.a9 = a;
|
|
1926
|
+
this.d1("showSelectAll", b, this.a9);
|
|
1910
1927
|
}
|
|
1911
1928
|
get backgroundColor() {
|
|
1912
|
-
return this.
|
|
1929
|
+
return this.en;
|
|
1913
1930
|
}
|
|
1914
1931
|
set backgroundColor(a) {
|
|
1915
|
-
let b = this.
|
|
1916
|
-
this.
|
|
1917
|
-
if (b != this.
|
|
1918
|
-
this.
|
|
1932
|
+
let b = this.en;
|
|
1933
|
+
this.en = a;
|
|
1934
|
+
if (b != this.en) {
|
|
1935
|
+
this.d1("BackgroundColor", b, a);
|
|
1919
1936
|
}
|
|
1920
1937
|
}
|
|
1921
1938
|
get rowHoverBackgroundColor() {
|
|
1922
|
-
return this.
|
|
1939
|
+
return this.et;
|
|
1923
1940
|
}
|
|
1924
1941
|
set rowHoverBackgroundColor(a) {
|
|
1925
|
-
let b = this.
|
|
1926
|
-
this.
|
|
1927
|
-
if (b != this.
|
|
1928
|
-
this.
|
|
1942
|
+
let b = this.et;
|
|
1943
|
+
this.et = a;
|
|
1944
|
+
if (b != this.et) {
|
|
1945
|
+
this.d1("RowHoverBackgroundColor", b, a);
|
|
1929
1946
|
}
|
|
1930
1947
|
}
|
|
1931
|
-
|
|
1932
|
-
|
|
1948
|
+
fc() {
|
|
1949
|
+
switch (this.baseTheme) {
|
|
1950
|
+
case 6:
|
|
1951
|
+
case 4: return CheckboxList.e9;
|
|
1952
|
+
}
|
|
1953
|
+
return CheckboxList.fb;
|
|
1933
1954
|
}
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1955
|
+
get fl() {
|
|
1956
|
+
return this.e0;
|
|
1957
|
+
}
|
|
1958
|
+
set fl(a) {
|
|
1959
|
+
let b = this.e0;
|
|
1960
|
+
this.e0 = a;
|
|
1961
|
+
if (b != this.e0) {
|
|
1962
|
+
this.d1("TextColor", b, a);
|
|
1939
1963
|
}
|
|
1940
1964
|
}
|
|
1941
|
-
|
|
1965
|
+
d3(a) {
|
|
1942
1966
|
if (this.selectAllCheckboxChanged != null) {
|
|
1943
1967
|
this.selectAllCheckboxChanged(this, ((() => {
|
|
1944
1968
|
let $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1947,82 +1971,83 @@ let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1947
1971
|
})()));
|
|
1948
1972
|
}
|
|
1949
1973
|
}
|
|
1950
|
-
|
|
1951
|
-
if (-1 == this.
|
|
1974
|
+
a2() {
|
|
1975
|
+
if (-1 == this.bi) {
|
|
1952
1976
|
return true;
|
|
1953
1977
|
}
|
|
1954
1978
|
let a = this.keys.count;
|
|
1955
1979
|
switch (this.indexType) {
|
|
1956
|
-
case 0: return this.
|
|
1980
|
+
case 0: return this.bi == a;
|
|
1957
1981
|
case 1: return 0 == a;
|
|
1958
1982
|
default: return false;
|
|
1959
1983
|
}
|
|
1960
1984
|
}
|
|
1961
|
-
|
|
1962
|
-
if (-1 == this.
|
|
1985
|
+
a1() {
|
|
1986
|
+
if (-1 == this.bi) {
|
|
1963
1987
|
return false;
|
|
1964
1988
|
}
|
|
1965
1989
|
let a = this.keys.count;
|
|
1966
1990
|
switch (this.indexType) {
|
|
1967
1991
|
case 0: return 0 == a;
|
|
1968
|
-
case 1: return this.
|
|
1992
|
+
case 1: return this.bi == a;
|
|
1969
1993
|
default: return false;
|
|
1970
1994
|
}
|
|
1971
1995
|
}
|
|
1972
|
-
|
|
1973
|
-
let a = this.
|
|
1996
|
+
c9() {
|
|
1997
|
+
let a = this.g.actualDataSource;
|
|
1974
1998
|
if (null != a) {
|
|
1975
1999
|
if (null == a.actualSchema) {
|
|
1976
|
-
this.
|
|
2000
|
+
this.bi = -1;
|
|
1977
2001
|
return;
|
|
1978
2002
|
}
|
|
1979
2003
|
let b = a.actualCount;
|
|
1980
|
-
this.
|
|
2004
|
+
this.bi = b;
|
|
1981
2005
|
}
|
|
1982
2006
|
else {
|
|
1983
|
-
this.
|
|
2007
|
+
this.bi = -1;
|
|
1984
2008
|
}
|
|
1985
2009
|
}
|
|
1986
|
-
get
|
|
1987
|
-
return this.
|
|
2010
|
+
get a8() {
|
|
2011
|
+
return this.a7;
|
|
1988
2012
|
}
|
|
1989
|
-
set
|
|
1990
|
-
if (a == this.
|
|
2013
|
+
set a8(a) {
|
|
2014
|
+
if (a == this.a7) {
|
|
1991
2015
|
return;
|
|
1992
2016
|
}
|
|
1993
|
-
let b = this.
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
2017
|
+
let b = this.a7;
|
|
2018
|
+
this.a7 = a;
|
|
2019
|
+
this.d1("ShowFilter", b, this.a7);
|
|
1996
2020
|
}
|
|
1997
|
-
get
|
|
1998
|
-
return this.
|
|
2021
|
+
get a4() {
|
|
2022
|
+
return this.a3;
|
|
1999
2023
|
}
|
|
2000
|
-
set
|
|
2001
|
-
if (a == this.
|
|
2024
|
+
set a4(a) {
|
|
2025
|
+
if (a == this.a3) {
|
|
2002
2026
|
return;
|
|
2003
2027
|
}
|
|
2004
|
-
let b = this.
|
|
2005
|
-
this.
|
|
2006
|
-
this.
|
|
2028
|
+
let b = this.a3;
|
|
2029
|
+
this.a3 = a;
|
|
2030
|
+
this.d1("IsRowHoverEnabled", b, this.a3);
|
|
2007
2031
|
}
|
|
2008
|
-
get
|
|
2009
|
-
return this.
|
|
2032
|
+
get az() {
|
|
2033
|
+
return this.ay;
|
|
2010
2034
|
}
|
|
2011
|
-
set
|
|
2012
|
-
if (a == this.
|
|
2035
|
+
set az(a) {
|
|
2036
|
+
if (a == this.ay) {
|
|
2013
2037
|
return;
|
|
2014
2038
|
}
|
|
2015
|
-
let b = this.
|
|
2016
|
-
this.
|
|
2017
|
-
this.
|
|
2039
|
+
let b = this.ay;
|
|
2040
|
+
this.ay = a;
|
|
2041
|
+
this.d1("CheckboxAlignedRight", b, this.ay);
|
|
2018
2042
|
}
|
|
2019
2043
|
}
|
|
2020
2044
|
CheckboxList.$t = /*@__PURE__*/ markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
2021
|
-
CheckboxList.
|
|
2022
|
-
CheckboxList.
|
|
2023
|
-
CheckboxList.
|
|
2024
|
-
CheckboxList.
|
|
2025
|
-
CheckboxList.
|
|
2045
|
+
CheckboxList.fk = /*@__PURE__*/ BrushUtil.l(255, 24, 29, 31);
|
|
2046
|
+
CheckboxList.cs = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
|
|
2047
|
+
CheckboxList.e8 = /*@__PURE__*/ BrushUtil.l(255, 248, 248, 248);
|
|
2048
|
+
CheckboxList.fa = null;
|
|
2049
|
+
CheckboxList.fb = /*@__PURE__*/ BrushUtil.l(255, 24, 29, 31);
|
|
2050
|
+
CheckboxList.e9 = /*@__PURE__*/ BrushUtil.l(255, 255, 255, 255);
|
|
2026
2051
|
return CheckboxList;
|
|
2027
2052
|
})();
|
|
2028
2053
|
export { CheckboxList };
|