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