igniteui-webcomponents-grids 4.0.3 → 4.2.2
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-grids.umd.js +1042 -654
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +552 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +1 -1
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/EditorCell.js +1 -1
- package/esm2015/lib/FilterCell.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +10 -10
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-column-component.js +10 -6
- package/esm2015/lib/igc-data-grid-component.js +45 -27
- package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm2015/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +578 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +1 -1
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/EditorCell.js +1 -1
- package/esm5/lib/FilterCell.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +10 -10
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-column-component.js +10 -6
- package/esm5/lib/igc-data-grid-component.js +45 -27
- package/esm5/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm5/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- package/fesm2015/igniteui-webcomponents-grids.js +974 -666
- package/fesm5/igniteui-webcomponents-grids.js +1040 -652
- package/grids/combined.js +173 -91
- package/grids/index.d.ts +30 -0
- package/grids/index.js +1 -0
- package/grids/lib/column-pinning-position.d.ts +1 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/filtering-expressions-tree-type.d.ts +1 -0
- package/grids/lib/filtering-logic.d.ts +1 -0
- package/grids/lib/grid-column-data-type.d.ts +1 -1
- package/grids/lib/grid-paging-mode.d.ts +1 -0
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -2
- package/grids/lib/igc-active-node-change-event-args.d.ts +1 -2
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-event-args.d.ts +1 -2
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-type.d.ts +6 -12
- package/grids/lib/igc-column-component.d.ts +4 -3
- package/grids/lib/igc-column-exporting-event-args.d.ts +1 -2
- package/grids/lib/igc-column-group-component.d.ts +4 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-dimensions-change.d.ts +30 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +18 -2
- package/grids/lib/igc-field-pipe-args.d.ts +6 -12
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +8 -8
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +5 -2
- package/grids/lib/igc-for-of-state.d.ts +2 -4
- package/grids/lib/igc-grid-action-button-component.d.ts +1 -1
- package/grids/lib/igc-grid-actions-base-directive.d.ts +1 -1
- package/grids/lib/igc-grid-base-directive.d.ts +34 -6
- package/grids/lib/igc-grid-component.d.ts +5 -5
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +6 -12
- package/grids/lib/igc-grid-resource-strings.d.ts +166 -326
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +2 -1
- package/grids/lib/igc-grid-validation-state.d.ts +1 -2
- package/grids/lib/igc-group-by-record.d.ts +2 -4
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-overlay-settings.d.ts +6 -12
- package/grids/lib/igc-paginator-resource-strings.d.ts +6 -12
- package/grids/lib/igc-pin-row-event-args.d.ts +2 -4
- package/grids/lib/igc-pinning-config.d.ts +2 -4
- package/grids/lib/igc-pivot-aggregator.d.ts +46 -0
- package/grids/lib/igc-pivot-configuration.d.ts +60 -0
- package/grids/lib/igc-pivot-data-selector-component.d.ts +127 -0
- package/grids/lib/igc-pivot-date-dimension-options.d.ts +34 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +88 -0
- package/grids/lib/igc-pivot-dimension-strategy.d.ts +25 -0
- package/grids/lib/igc-pivot-dimension.d.ts +69 -0
- package/grids/lib/igc-pivot-grid-component.d.ts +492 -0
- package/grids/lib/igc-pivot-grid-value-template-context.d.ts +20 -0
- package/grids/lib/igc-pivot-keys.d.ts +47 -0
- package/grids/lib/igc-pivot-value.d.ts +65 -0
- package/grids/lib/igc-position-settings.d.ts +6 -12
- package/grids/lib/igc-row-data-event-args.d.ts +0 -5
- package/grids/lib/igc-row-selection-event-args.d.ts +3 -0
- package/grids/lib/igc-row-type.d.ts +19 -38
- package/grids/lib/igc-sorting-event-args.d.ts +2 -4
- package/grids/lib/igc-sorting-expression.d.ts +2 -4
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-summary-result.d.ts +1 -2
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/igc-tree-grid-component.d.ts +3 -2
- package/grids/lib/igc-tree-grid-record.d.ts +5 -10
- package/grids/lib/igc-values-change.d.ts +23 -0
- package/grids/lib/pivot-aggregation-type.d.ts +3 -0
- package/grids/lib/pivot-dimension-type.d.ts +17 -0
- package/grids/lib/row-pinning-position.d.ts +1 -0
- package/grids/lib/sorting-direction.d.ts +1 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/package.json +4 -4
|
@@ -9,8 +9,8 @@ import { DomWrapper_$type } from "igniteui-webcomponents-core";
|
|
|
9
9
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
10
10
|
import { XCheckbox } from "igniteui-webcomponents-inputs";
|
|
11
11
|
import { XPrefix } from "igniteui-webcomponents-inputs";
|
|
12
|
-
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
13
12
|
import { XInputGroup } from "igniteui-webcomponents-inputs";
|
|
13
|
+
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
14
14
|
import { XInput } from "igniteui-webcomponents-inputs";
|
|
15
15
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
16
16
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
@@ -22,6 +22,7 @@ import { GridSelectedKeysCollection } from "./GridSelectedKeysCollection";
|
|
|
22
22
|
import { InputGroupDisplayType_$type } from "igniteui-webcomponents-inputs";
|
|
23
23
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
24
24
|
import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
|
|
25
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
25
26
|
import { FilterFactory } from "igniteui-webcomponents-core";
|
|
26
27
|
import { CheckedChangedEventArgs } from "./CheckedChangedEventArgs";
|
|
27
28
|
import { TemplateColumn } from "./TemplateColumn";
|
|
@@ -33,7 +34,6 @@ import { NumericColumn } from "./NumericColumn";
|
|
|
33
34
|
import { TextColumn } from "./TextColumn";
|
|
34
35
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
35
36
|
import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
|
|
36
|
-
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
37
37
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
@@ -42,42 +42,43 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
42
42
|
class CheckboxListView extends Base {
|
|
43
43
|
constructor() {
|
|
44
44
|
super();
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
45
|
+
this.e = new Dictionary$2(DomWrapper_$type, XCheckbox.$, 0);
|
|
46
|
+
this.j = null;
|
|
47
47
|
this.a = null;
|
|
48
|
+
this.i = null;
|
|
48
49
|
this.h = null;
|
|
49
|
-
this.
|
|
50
|
+
this.c = null;
|
|
50
51
|
this.b = null;
|
|
51
|
-
this.e = null;
|
|
52
|
-
this.c = false;
|
|
53
52
|
this.f = null;
|
|
53
|
+
this.d = false;
|
|
54
|
+
this.g = null;
|
|
54
55
|
}
|
|
55
|
-
|
|
56
|
+
n() {
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
+
m(a) {
|
|
58
59
|
if (a == null) {
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
60
|
+
this.f = null;
|
|
61
|
+
this.e.clear();
|
|
61
62
|
return;
|
|
62
63
|
}
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
64
|
+
this.f = a;
|
|
65
|
+
this.v();
|
|
66
|
+
this.ae();
|
|
67
|
+
this.ah();
|
|
68
|
+
this.s();
|
|
68
69
|
let b = Math.round(a.rootWrapper.width());
|
|
69
70
|
let c = Math.round(a.rootWrapper.height());
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
71
|
+
this.f.rootWrapper.setStyleProperty("position", "relative");
|
|
72
|
+
this.f.rootWrapper.setStyleProperty("padding-bottom", "4px");
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
-
if (this.
|
|
75
|
-
this.
|
|
74
|
+
v() {
|
|
75
|
+
if (this.f != null) {
|
|
76
|
+
this.w(this.f);
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
|
-
|
|
79
|
+
w(a) {
|
|
79
80
|
let b = a.rootWrapper.getChildAt(0);
|
|
80
|
-
this.
|
|
81
|
+
this.h = b;
|
|
81
82
|
this.b.r = new XInputGroup();
|
|
82
83
|
let c = a.getSubRenderer(b);
|
|
83
84
|
this.b.r.provideContainer(c);
|
|
@@ -92,56 +93,56 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
92
93
|
let h = f.getExternal(g, f.rootWrapper, f.getExternal(this.b, null, null));
|
|
93
94
|
let i = a.createElement("div");
|
|
94
95
|
let j = a.getSubRenderer(i);
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
let
|
|
96
|
+
this.c = new XIcon();
|
|
97
|
+
this.c.provideContainer(j);
|
|
98
|
+
this.c.fill = this.b.du;
|
|
99
|
+
this.c.svgPath = CheckboxList.bt;
|
|
100
|
+
let k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
100
101
|
g.appendContentChild(i);
|
|
101
102
|
this.b.r.appendContentChild(e);
|
|
102
103
|
this.b.r.inputs.add(g);
|
|
103
|
-
let
|
|
104
|
-
|
|
105
|
-
let
|
|
104
|
+
let l = a.createElement("div");
|
|
105
|
+
l.setRawStyleProperty("flex-grow", "1");
|
|
106
|
+
let m = a.getSubRenderer(l);
|
|
106
107
|
this.b.p = new XInput();
|
|
107
|
-
this.b.p.provideContainer(
|
|
108
|
-
this.b.p.
|
|
109
|
-
let
|
|
110
|
-
if (this.b.
|
|
111
|
-
this.b.p.
|
|
108
|
+
this.b.p.provideContainer(m);
|
|
109
|
+
this.b.p.b6 = "text";
|
|
110
|
+
let n = m.getExternal(this.b.p, m.rootWrapper, m.getExternal(this.b, null, null));
|
|
111
|
+
if (this.b.bg != null) {
|
|
112
|
+
this.b.p.ce = this.b.bg;
|
|
112
113
|
}
|
|
113
|
-
this.b.r.appendContentChild(
|
|
114
|
+
this.b.r.appendContentChild(l);
|
|
114
115
|
this.b.r.inputs.add(this.b.p);
|
|
115
|
-
this.b.
|
|
116
|
+
this.b.ck();
|
|
116
117
|
}
|
|
117
|
-
|
|
118
|
-
if (this.
|
|
119
|
-
let a = this.
|
|
118
|
+
s() {
|
|
119
|
+
if (this.f != null) {
|
|
120
|
+
let a = this.f.rootWrapper.getChildAt(3);
|
|
120
121
|
a.setStyleProperty("width", "100%");
|
|
121
122
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
122
|
-
if (this.b.
|
|
123
|
+
if (this.b.as == false) {
|
|
123
124
|
a.setStyleProperty("height", "calc(100% - 50px");
|
|
124
125
|
}
|
|
125
126
|
else {
|
|
126
127
|
a.setStyleProperty("height", "calc(100% - 75px");
|
|
127
128
|
}
|
|
128
|
-
if (!this.b.
|
|
129
|
+
if (!this.b.aq && !this.b.as) {
|
|
129
130
|
a.setStyleProperty("height", "100%");
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
|
-
|
|
134
|
+
o(a, b, c) {
|
|
134
135
|
let d = null;
|
|
135
136
|
if (a.getChildCount() == 0) {
|
|
136
137
|
d = new XCheckbox();
|
|
137
|
-
let e = this.
|
|
138
|
+
let e = this.f.getSubRenderer(a);
|
|
138
139
|
d.provideContainer(e);
|
|
139
|
-
let f = this.
|
|
140
|
-
this.
|
|
140
|
+
let f = this.f.getExternal(d, e.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
141
|
+
this.e.addItem(a, d);
|
|
141
142
|
d.i = this.b.y;
|
|
142
143
|
d.t = true;
|
|
143
|
-
d.change = delegateCombine(d.change, runOn(this, this.
|
|
144
|
-
let g = this.
|
|
144
|
+
d.change = delegateCombine(d.change, runOn(this, this.k));
|
|
145
|
+
let g = this.f.createElement("div");
|
|
145
146
|
a.setStyleProperty("display", "flex");
|
|
146
147
|
a.setStyleProperty("height", "100%");
|
|
147
148
|
a.setStyleProperty("align-items", "center");
|
|
@@ -159,7 +160,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
159
160
|
a.append(g);
|
|
160
161
|
}
|
|
161
162
|
else {
|
|
162
|
-
d = this.
|
|
163
|
+
d = this.e.item(a);
|
|
163
164
|
}
|
|
164
165
|
if (d != null) {
|
|
165
166
|
let h = d.u;
|
|
@@ -186,11 +187,16 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
186
187
|
finally {
|
|
187
188
|
d.u = h;
|
|
188
189
|
}
|
|
190
|
+
d.ds = this.b.dl;
|
|
191
|
+
d.da = this.b.dj;
|
|
192
|
+
d.dt = this.b.dm;
|
|
193
|
+
d.db = this.b.dk;
|
|
194
|
+
d.du = this.b.dn;
|
|
189
195
|
}
|
|
190
196
|
}
|
|
191
|
-
|
|
192
|
-
if (this.
|
|
193
|
-
for (let a of fromEnum(this.
|
|
197
|
+
z() {
|
|
198
|
+
if (this.e != null) {
|
|
199
|
+
for (let a of fromEnum(this.e)) {
|
|
194
200
|
let b = a.value;
|
|
195
201
|
b.i = this.b.y;
|
|
196
202
|
}
|
|
@@ -199,109 +205,109 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
199
205
|
this.a.i = this.b.y;
|
|
200
206
|
}
|
|
201
207
|
}
|
|
202
|
-
|
|
208
|
+
x() {
|
|
203
209
|
}
|
|
204
|
-
|
|
210
|
+
k(a, b) {
|
|
205
211
|
let c = a;
|
|
206
212
|
let d = parseInt(c.a5.toString());
|
|
207
213
|
let e = c.checked;
|
|
208
214
|
if (e == true) {
|
|
209
215
|
if (this.b.l == 0) {
|
|
210
|
-
this.b.
|
|
216
|
+
this.b.cw(d);
|
|
211
217
|
}
|
|
212
218
|
else {
|
|
213
|
-
this.b.
|
|
219
|
+
this.b.b5(d);
|
|
214
220
|
}
|
|
215
221
|
}
|
|
216
222
|
else {
|
|
217
223
|
if (this.b.l == 0) {
|
|
218
|
-
this.b.
|
|
224
|
+
this.b.b5(d);
|
|
219
225
|
}
|
|
220
226
|
else {
|
|
221
|
-
this.b.
|
|
227
|
+
this.b.cw(d);
|
|
222
228
|
}
|
|
223
229
|
}
|
|
224
|
-
this.b.
|
|
225
|
-
this.
|
|
230
|
+
this.b.ci(d, e);
|
|
231
|
+
this.ag(false);
|
|
226
232
|
}
|
|
227
|
-
|
|
233
|
+
l() {
|
|
228
234
|
}
|
|
229
|
-
|
|
230
|
-
for (let c of fromEnum(this.
|
|
235
|
+
t(a, b) {
|
|
236
|
+
for (let c of fromEnum(this.e)) {
|
|
231
237
|
let d = c.value;
|
|
232
238
|
let e = parseInt(d.a5.toString());
|
|
233
239
|
if (e == a) {
|
|
234
240
|
d.checked = b;
|
|
235
|
-
this.b.
|
|
241
|
+
this.b.ci(e, b);
|
|
236
242
|
}
|
|
237
243
|
}
|
|
238
|
-
this.
|
|
244
|
+
this.ag();
|
|
239
245
|
}
|
|
240
|
-
|
|
241
|
-
for (let b of fromEnum(this.
|
|
246
|
+
u(a) {
|
|
247
|
+
for (let b of fromEnum(this.e)) {
|
|
242
248
|
let c = b.value;
|
|
243
249
|
c.checked = a;
|
|
244
250
|
}
|
|
245
251
|
}
|
|
246
|
-
|
|
247
|
-
this.
|
|
248
|
-
if (null != this.
|
|
249
|
-
this.
|
|
252
|
+
q(a) {
|
|
253
|
+
this.j = a;
|
|
254
|
+
if (null != this.j) {
|
|
255
|
+
this.j.setStyleProperty("margin", "5px 0px 4px 0px");
|
|
250
256
|
}
|
|
251
257
|
}
|
|
252
|
-
|
|
253
|
-
let a = this.
|
|
254
|
-
if (null == a || null == this.
|
|
258
|
+
ah() {
|
|
259
|
+
let a = this.f;
|
|
260
|
+
if (null == a || null == this.j) {
|
|
255
261
|
return;
|
|
256
262
|
}
|
|
257
263
|
let b = a.createElement("div");
|
|
258
264
|
let c = a.getSubRenderer(b);
|
|
259
265
|
this.a = new XCheckbox();
|
|
260
266
|
this.a.provideContainer(c);
|
|
261
|
-
let d = this.
|
|
267
|
+
let d = this.f.getExternal(this.a, c.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
262
268
|
this.a.i = this.b.y;
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
269
|
+
this.i = a.createElement("label");
|
|
270
|
+
this.i.setRawText(this.b.bx);
|
|
271
|
+
this.i.setStyleProperty("font-size", "13px");
|
|
272
|
+
this.j.setStyleProperty("display", "flex");
|
|
273
|
+
this.j.setStyleProperty("flex-direction", "row");
|
|
274
|
+
this.j.setStyleProperty("font-family", "Verdana");
|
|
275
|
+
this.j.setStyleProperty("align-items", "center");
|
|
276
|
+
this.j.append(b);
|
|
277
|
+
this.j.append(this.i);
|
|
278
|
+
this.ai();
|
|
279
|
+
this.af();
|
|
274
280
|
let e = this.a;
|
|
275
|
-
e.change = delegateCombine(e.change, runOn(this, this.
|
|
281
|
+
e.change = delegateCombine(e.change, runOn(this, this.r));
|
|
276
282
|
this.a.t = true;
|
|
277
283
|
}
|
|
278
|
-
|
|
279
|
-
if (null != this.
|
|
280
|
-
this.
|
|
281
|
-
NativeUI.o(this.
|
|
284
|
+
af() {
|
|
285
|
+
if (null != this.i) {
|
|
286
|
+
this.i.setRawText(this.b.bx);
|
|
287
|
+
NativeUI.o(this.i, this.b.dh);
|
|
282
288
|
}
|
|
283
289
|
}
|
|
284
|
-
|
|
285
|
-
if (null != this.
|
|
286
|
-
let a = this.b.
|
|
287
|
-
this.
|
|
290
|
+
ai() {
|
|
291
|
+
if (null != this.i) {
|
|
292
|
+
let a = this.b.as ? "flex" : "none";
|
|
293
|
+
this.j.setStyleProperty("display", a);
|
|
288
294
|
}
|
|
289
295
|
}
|
|
290
|
-
|
|
291
|
-
if (this.
|
|
292
|
-
this.
|
|
296
|
+
ae() {
|
|
297
|
+
if (this.h != null) {
|
|
298
|
+
this.h.setStyleProperty("display", this.b.aq ? "block" : "none");
|
|
293
299
|
}
|
|
294
|
-
if (this.
|
|
295
|
-
this.
|
|
300
|
+
if (this.g != null) {
|
|
301
|
+
this.g.setStyleProperty("display", this.b.aq ? "block" : "none");
|
|
296
302
|
}
|
|
297
303
|
}
|
|
298
|
-
|
|
299
|
-
let b = this.
|
|
300
|
-
this.
|
|
304
|
+
ag(a = true) {
|
|
305
|
+
let b = this.d;
|
|
306
|
+
this.d = true;
|
|
301
307
|
let c = this.a.u;
|
|
302
308
|
this.a.u = a;
|
|
303
309
|
try {
|
|
304
|
-
if (this.b.
|
|
310
|
+
if (this.b.ao) {
|
|
305
311
|
this.a.indeterminate = true;
|
|
306
312
|
return;
|
|
307
313
|
}
|
|
@@ -315,40 +321,61 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
315
321
|
}
|
|
316
322
|
finally {
|
|
317
323
|
this.a.u = c;
|
|
318
|
-
this.
|
|
324
|
+
this.d = b;
|
|
319
325
|
}
|
|
320
326
|
}
|
|
321
|
-
|
|
322
|
-
if (this.
|
|
327
|
+
r(a, b) {
|
|
328
|
+
if (this.d || b.isIndeterminate) {
|
|
323
329
|
return;
|
|
324
330
|
}
|
|
325
331
|
if (b.isChecked) {
|
|
326
|
-
this.b.
|
|
327
|
-
this.b.
|
|
332
|
+
this.b.cy();
|
|
333
|
+
this.b.cp(b.isChecked);
|
|
328
334
|
}
|
|
329
335
|
else {
|
|
330
|
-
this.b.
|
|
331
|
-
this.b.
|
|
336
|
+
this.b.b9();
|
|
337
|
+
this.b.cp(b.isChecked);
|
|
332
338
|
}
|
|
333
339
|
}
|
|
334
|
-
|
|
335
|
-
let a = this.
|
|
340
|
+
ad() {
|
|
341
|
+
let a = this.f;
|
|
336
342
|
if (null == a) {
|
|
337
343
|
return;
|
|
338
344
|
}
|
|
339
345
|
let b = a.rootWrapper;
|
|
340
346
|
if (null != b) {
|
|
341
|
-
NativeUI.o(b, this.b.
|
|
342
|
-
NativeUI.k(b, this.b.
|
|
347
|
+
NativeUI.o(b, this.b.dy);
|
|
348
|
+
NativeUI.k(b, this.b.di);
|
|
343
349
|
}
|
|
344
350
|
}
|
|
345
|
-
|
|
346
|
-
if (this.
|
|
347
|
-
|
|
351
|
+
ab() {
|
|
352
|
+
if (this.c != null) {
|
|
353
|
+
this.c.fill = this.b.du;
|
|
348
354
|
}
|
|
349
355
|
}
|
|
350
|
-
|
|
351
|
-
this.
|
|
356
|
+
ac() {
|
|
357
|
+
if (this.b.ae != null) {
|
|
358
|
+
this.i.setStyleProperty("font", this.b.ae.fontString);
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
this.i.setStyleProperty("font-family", "Verdana");
|
|
362
|
+
this.i.setStyleProperty("font-size", 13 + "px");
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
y() {
|
|
366
|
+
this.a.ds = this.b.dl;
|
|
367
|
+
this.a.da = this.b.dj;
|
|
368
|
+
this.a.dt = this.b.dm;
|
|
369
|
+
this.a.db = this.b.dk;
|
|
370
|
+
this.a.du = this.b.dn;
|
|
371
|
+
}
|
|
372
|
+
aa(a) {
|
|
373
|
+
if (this.g != null) {
|
|
374
|
+
NativeUI.t(this.g, a);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
p(a) {
|
|
378
|
+
this.g = a;
|
|
352
379
|
}
|
|
353
380
|
}
|
|
354
381
|
CheckboxListView.$t = /*@__PURE__*/ markType(CheckboxListView, 'CheckboxListView');
|
|
@@ -366,45 +393,55 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
366
393
|
this.i = null;
|
|
367
394
|
this.ab = null;
|
|
368
395
|
this.d = null;
|
|
369
|
-
this.
|
|
396
|
+
this.ai = false;
|
|
370
397
|
this.c = null;
|
|
371
398
|
this.o = null;
|
|
372
399
|
this.q = null;
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
400
|
+
this.aj = false;
|
|
401
|
+
this.ag = null;
|
|
375
402
|
this.f = new GridSelectedKeysCollection();
|
|
376
403
|
this.a = null;
|
|
377
404
|
this.propertyChanged = null;
|
|
378
405
|
this.checkedChanged = null;
|
|
379
|
-
this.av = null;
|
|
380
|
-
this.ax = null;
|
|
381
|
-
this.az = null;
|
|
382
406
|
this.ay = null;
|
|
407
|
+
this.a0 = null;
|
|
408
|
+
this.a2 = null;
|
|
409
|
+
this.a1 = null;
|
|
383
410
|
this.s = 3;
|
|
384
|
-
this.
|
|
411
|
+
this.au = -1;
|
|
385
412
|
this.ac = null;
|
|
386
413
|
this.k = 1;
|
|
387
414
|
this.x = 1;
|
|
388
415
|
this.z = 2;
|
|
416
|
+
this.dd = BrushUtil.g(255, 24, 29, 31);
|
|
417
|
+
this.db = null;
|
|
418
|
+
this.de = null;
|
|
419
|
+
this.dc = null;
|
|
420
|
+
this.ad = null;
|
|
421
|
+
this.c7 = null;
|
|
422
|
+
this.c5 = null;
|
|
423
|
+
this.c8 = null;
|
|
424
|
+
this.c6 = null;
|
|
425
|
+
this.c9 = null;
|
|
389
426
|
this.v = 0;
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
427
|
+
this.da = null;
|
|
428
|
+
this.bw = null;
|
|
429
|
+
this.df = null;
|
|
430
|
+
this.c3 = CheckboxList.dq;
|
|
431
|
+
this.ar = true;
|
|
432
|
+
this.c4 = CheckboxList.dp;
|
|
433
|
+
this.dg = CheckboxList.dq;
|
|
397
434
|
this.selectAllCheckboxChanged = null;
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
435
|
+
this.aw = -1;
|
|
436
|
+
this.ap = true;
|
|
437
|
+
this.am = true;
|
|
401
438
|
let a = this.f;
|
|
402
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.
|
|
439
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.cr));
|
|
403
440
|
this.d = new FilterFactory();
|
|
404
441
|
let b = new CheckboxListView();
|
|
405
442
|
b.b = this;
|
|
406
443
|
this.m = b;
|
|
407
|
-
this.m.
|
|
444
|
+
this.m.n();
|
|
408
445
|
}
|
|
409
446
|
get r() {
|
|
410
447
|
return this.q;
|
|
@@ -424,12 +461,12 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
424
461
|
}
|
|
425
462
|
return this.h.actualDataSource;
|
|
426
463
|
}
|
|
427
|
-
get
|
|
428
|
-
if (this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
464
|
+
get ah() {
|
|
465
|
+
if (this.ag == null) {
|
|
466
|
+
this.ag = new SRProvider(this.m.f);
|
|
467
|
+
this.ag.cb("DataGrid");
|
|
431
468
|
}
|
|
432
|
-
return this.
|
|
469
|
+
return this.ag;
|
|
433
470
|
}
|
|
434
471
|
get g() {
|
|
435
472
|
return this.f;
|
|
@@ -441,54 +478,54 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
441
478
|
let b = this.a;
|
|
442
479
|
this.a = a;
|
|
443
480
|
if (b != this.a) {
|
|
444
|
-
this.
|
|
481
|
+
this.cn("PrimaryKey", b, this.a);
|
|
445
482
|
}
|
|
446
483
|
}
|
|
447
|
-
|
|
448
|
-
if (this.e == null || this.e.actualSchema == null || this.
|
|
484
|
+
cr(a, b) {
|
|
485
|
+
if (this.e == null || this.e.actualSchema == null || this.ai) {
|
|
449
486
|
return;
|
|
450
487
|
}
|
|
451
488
|
switch (b.action) {
|
|
452
489
|
case 0:
|
|
453
490
|
for (let c = 0; c < b.newItems.count; c++) {
|
|
454
|
-
this.
|
|
491
|
+
this.cl(b.newItems.item(c));
|
|
455
492
|
}
|
|
456
493
|
break;
|
|
457
494
|
case 1:
|
|
458
495
|
for (let d = 0; d < b.oldItems.count; d++) {
|
|
459
|
-
this.
|
|
496
|
+
this.cm(b.oldItems.item(d));
|
|
460
497
|
}
|
|
461
498
|
break;
|
|
462
499
|
case 2:
|
|
463
500
|
for (let e = 0; e < b.oldItems.count; e++) {
|
|
464
|
-
this.
|
|
501
|
+
this.cm(b.oldItems.item(e));
|
|
465
502
|
}
|
|
466
503
|
for (let f = 0; f < b.newItems.count; f++) {
|
|
467
|
-
this.
|
|
504
|
+
this.cl(b.newItems.item(f));
|
|
468
505
|
}
|
|
469
506
|
break;
|
|
470
507
|
case 4:
|
|
471
|
-
this.m.
|
|
508
|
+
this.m.u(this.l == 0);
|
|
472
509
|
for (let g = 0; g < this.g.ae.count; g++) {
|
|
473
|
-
this.
|
|
510
|
+
this.cl(this.g.ae._inner[g]);
|
|
474
511
|
}
|
|
475
512
|
break;
|
|
476
513
|
}
|
|
477
514
|
}
|
|
478
|
-
|
|
515
|
+
cl(a) {
|
|
479
516
|
let b = this.e.indexOfKey(a.value);
|
|
480
517
|
if (b >= 0) {
|
|
481
|
-
this.m.
|
|
518
|
+
this.m.t(b, this.l == 1);
|
|
482
519
|
}
|
|
483
520
|
}
|
|
484
|
-
|
|
521
|
+
cm(a) {
|
|
485
522
|
let b = this.e.indexOfKey(a.value);
|
|
486
523
|
if (b >= 0) {
|
|
487
|
-
this.m.
|
|
524
|
+
this.m.t(b, this.l == 0);
|
|
488
525
|
}
|
|
489
526
|
}
|
|
490
|
-
|
|
491
|
-
if (this.checkedChanged != null && this.
|
|
527
|
+
ci(a, b) {
|
|
528
|
+
if (this.checkedChanged != null && this.aj == false) {
|
|
492
529
|
this.checkedChanged(this, ((() => {
|
|
493
530
|
let $ret = new CheckedChangedEventArgs();
|
|
494
531
|
$ret.b = a;
|
|
@@ -498,32 +535,32 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
498
535
|
}
|
|
499
536
|
}
|
|
500
537
|
notifySizeChanged() {
|
|
501
|
-
this.m.
|
|
538
|
+
this.m.l();
|
|
502
539
|
}
|
|
503
540
|
destroy() {
|
|
504
541
|
if (this.h != null) {
|
|
505
542
|
let a = this.h;
|
|
506
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
543
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.cb));
|
|
507
544
|
if (this.h.actualDataSource != null) {
|
|
508
545
|
let b = this.h.actualDataSource;
|
|
509
|
-
b.schemaChanged = delegateRemove(b.schemaChanged, runOn(this, this.
|
|
546
|
+
b.schemaChanged = delegateRemove(b.schemaChanged, runOn(this, this.co));
|
|
510
547
|
}
|
|
511
548
|
}
|
|
512
549
|
if (this.o != null) {
|
|
513
550
|
let c = this.o;
|
|
514
|
-
c.change = delegateRemove(c.change, runOn(this, this.
|
|
551
|
+
c.change = delegateRemove(c.change, runOn(this, this.cc));
|
|
515
552
|
}
|
|
516
553
|
this.provideContainer(null, null, null);
|
|
517
554
|
if (this.i != null) {
|
|
518
555
|
let d = this.i;
|
|
519
|
-
d.cellUpdating = delegateRemove(d.cellUpdating, runOn(this, this.
|
|
556
|
+
d.cellUpdating = delegateRemove(d.cellUpdating, runOn(this, this.b8));
|
|
520
557
|
}
|
|
521
558
|
}
|
|
522
559
|
provideContainer(a, b, c) {
|
|
523
560
|
this.h = b;
|
|
524
561
|
if (null != this.h) {
|
|
525
562
|
this.h.gm = this.w;
|
|
526
|
-
this.h.aae = this.
|
|
563
|
+
this.h.aae = this.dr;
|
|
527
564
|
this.h.n1 = 0;
|
|
528
565
|
this.h.oc = 0;
|
|
529
566
|
this.h.md = NaN;
|
|
@@ -531,24 +568,24 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
531
568
|
this.h.c9 = 0;
|
|
532
569
|
this.h.cu = 0;
|
|
533
570
|
let d = this.h;
|
|
534
|
-
d.cellClicked = delegateCombine(d.cellClicked, runOn(this, this.
|
|
535
|
-
if (this.
|
|
536
|
-
this.h.itemsSource = this.
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
571
|
+
d.cellClicked = delegateCombine(d.cellClicked, runOn(this, this.cb));
|
|
572
|
+
if (this.ay != null) {
|
|
573
|
+
this.h.itemsSource = this.ay;
|
|
574
|
+
this.b7();
|
|
575
|
+
this.cq();
|
|
539
576
|
}
|
|
540
|
-
if (this.
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
577
|
+
if (this.a0 != null) {
|
|
578
|
+
this.cq();
|
|
579
|
+
this.c1();
|
|
543
580
|
}
|
|
544
581
|
}
|
|
545
|
-
this.m.
|
|
546
|
-
this.m.
|
|
582
|
+
this.m.q(c);
|
|
583
|
+
this.m.m(a);
|
|
547
584
|
}
|
|
548
585
|
provideSelectAllSection(a) {
|
|
549
|
-
this.m.
|
|
586
|
+
this.m.q(a);
|
|
550
587
|
}
|
|
551
|
-
|
|
588
|
+
cb(a, b) {
|
|
552
589
|
if (b.cellInfo.l.a5 == 0) {
|
|
553
590
|
return;
|
|
554
591
|
}
|
|
@@ -564,7 +601,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
564
601
|
this.g.add(d);
|
|
565
602
|
}
|
|
566
603
|
}
|
|
567
|
-
|
|
604
|
+
b8(a, b) {
|
|
568
605
|
let c = b.cellInfo.l.x;
|
|
569
606
|
if (-1 == c) {
|
|
570
607
|
return;
|
|
@@ -576,11 +613,11 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
576
613
|
d = true;
|
|
577
614
|
}
|
|
578
615
|
}
|
|
579
|
-
this.m.
|
|
616
|
+
this.m.o(b.content.element, c, d);
|
|
580
617
|
}
|
|
581
|
-
|
|
582
|
-
if (this.
|
|
583
|
-
let b = this.d.property(this.
|
|
618
|
+
cj(a) {
|
|
619
|
+
if (this.a0 != null) {
|
|
620
|
+
let b = this.d.property(this.a0).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
584
621
|
let c = b.contains(a);
|
|
585
622
|
if (!this.h.u.k.contains(this.c)) {
|
|
586
623
|
this.c = c;
|
|
@@ -593,43 +630,43 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
593
630
|
}
|
|
594
631
|
}
|
|
595
632
|
get itemsSource() {
|
|
596
|
-
return this.
|
|
633
|
+
return this.ay;
|
|
597
634
|
}
|
|
598
635
|
set itemsSource(a) {
|
|
599
|
-
let b = this.
|
|
600
|
-
this.
|
|
601
|
-
if (b != this.
|
|
602
|
-
this.
|
|
636
|
+
let b = this.ay;
|
|
637
|
+
this.ay = a;
|
|
638
|
+
if (b != this.ay) {
|
|
639
|
+
this.cn("ItemsSource", b, this.ay);
|
|
603
640
|
}
|
|
604
641
|
}
|
|
605
|
-
get
|
|
606
|
-
return this.
|
|
642
|
+
get bc() {
|
|
643
|
+
return this.a0;
|
|
607
644
|
}
|
|
608
|
-
set
|
|
609
|
-
let b = this.
|
|
610
|
-
this.
|
|
611
|
-
if (b != this.
|
|
612
|
-
this.
|
|
645
|
+
set bc(a) {
|
|
646
|
+
let b = this.a0;
|
|
647
|
+
this.a0 = a;
|
|
648
|
+
if (b != this.a0) {
|
|
649
|
+
this.cn("DataMemberPath", b, this.a0);
|
|
613
650
|
}
|
|
614
651
|
}
|
|
615
|
-
get
|
|
616
|
-
return this.
|
|
652
|
+
get b0() {
|
|
653
|
+
return this.a2;
|
|
617
654
|
}
|
|
618
|
-
set
|
|
619
|
-
let b = this.
|
|
620
|
-
this.
|
|
621
|
-
if (b != this.
|
|
622
|
-
this.
|
|
655
|
+
set b0(a) {
|
|
656
|
+
let b = this.a2;
|
|
657
|
+
this.a2 = a;
|
|
658
|
+
if (b != this.a2) {
|
|
659
|
+
this.cn("SelectedMemberPath", b, this.a2);
|
|
623
660
|
}
|
|
624
661
|
}
|
|
625
|
-
get
|
|
626
|
-
return this.
|
|
662
|
+
get bg() {
|
|
663
|
+
return this.a1;
|
|
627
664
|
}
|
|
628
|
-
set
|
|
629
|
-
let b = this.
|
|
630
|
-
this.
|
|
631
|
-
if (b != this.
|
|
632
|
-
this.
|
|
665
|
+
set bg(a) {
|
|
666
|
+
let b = this.a1;
|
|
667
|
+
this.a1 = a;
|
|
668
|
+
if (b != this.a1) {
|
|
669
|
+
this.cn("FilterPlaceholderText", b, this.a1);
|
|
633
670
|
}
|
|
634
671
|
}
|
|
635
672
|
get t() {
|
|
@@ -639,33 +676,33 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
639
676
|
let b = this.s;
|
|
640
677
|
this.s = a;
|
|
641
678
|
if (b != this.s) {
|
|
642
|
-
this.
|
|
679
|
+
this.cn("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.s));
|
|
643
680
|
}
|
|
644
681
|
}
|
|
645
|
-
get
|
|
646
|
-
return this.
|
|
682
|
+
get ax() {
|
|
683
|
+
return this.au;
|
|
647
684
|
}
|
|
648
|
-
set
|
|
649
|
-
let b = this.
|
|
650
|
-
this.
|
|
651
|
-
if (b != this.
|
|
652
|
-
this.
|
|
685
|
+
set ax(a) {
|
|
686
|
+
let b = this.au;
|
|
687
|
+
this.au = a;
|
|
688
|
+
if (b != this.au) {
|
|
689
|
+
this.cn("RowHeight", b, this.au);
|
|
653
690
|
}
|
|
654
691
|
}
|
|
655
|
-
get
|
|
692
|
+
get av() {
|
|
656
693
|
if (this.h != null) {
|
|
657
694
|
return this.h.nf;
|
|
658
695
|
}
|
|
659
696
|
return -1;
|
|
660
697
|
}
|
|
661
|
-
get
|
|
698
|
+
get ae() {
|
|
662
699
|
return this.ac;
|
|
663
700
|
}
|
|
664
|
-
set
|
|
701
|
+
set ae(a) {
|
|
665
702
|
let b = this.ac;
|
|
666
703
|
this.ac = a;
|
|
667
704
|
if (b != this.ac) {
|
|
668
|
-
this.
|
|
705
|
+
this.cn("CellTextStyle", b, this.ac);
|
|
669
706
|
}
|
|
670
707
|
}
|
|
671
708
|
get l() {
|
|
@@ -675,7 +712,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
675
712
|
let b = this.k;
|
|
676
713
|
this.k = a;
|
|
677
714
|
if (b != this.k) {
|
|
678
|
-
this.
|
|
715
|
+
this.cn("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
|
|
679
716
|
}
|
|
680
717
|
}
|
|
681
718
|
get y() {
|
|
@@ -685,7 +722,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
685
722
|
let b = this.x;
|
|
686
723
|
this.x = a;
|
|
687
724
|
if (b != this.x) {
|
|
688
|
-
this.
|
|
725
|
+
this.cn("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.x));
|
|
689
726
|
}
|
|
690
727
|
}
|
|
691
728
|
get aa() {
|
|
@@ -695,7 +732,107 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
695
732
|
let b = this.z;
|
|
696
733
|
this.z = a;
|
|
697
734
|
if (b != this.z) {
|
|
698
|
-
this.
|
|
735
|
+
this.cn("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.z));
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
get du() {
|
|
739
|
+
return this.dd;
|
|
740
|
+
}
|
|
741
|
+
set du(a) {
|
|
742
|
+
let b = this.dd;
|
|
743
|
+
this.dd = a;
|
|
744
|
+
if (b != this.dd) {
|
|
745
|
+
this.cn("SearchIconColor", b, this.dd);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
get ds() {
|
|
749
|
+
return this.db;
|
|
750
|
+
}
|
|
751
|
+
set ds(a) {
|
|
752
|
+
let b = this.db;
|
|
753
|
+
this.db = a;
|
|
754
|
+
if (b != this.db) {
|
|
755
|
+
this.cn("SearchBackgroundColor", b, this.db);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
get dv() {
|
|
759
|
+
return this.de;
|
|
760
|
+
}
|
|
761
|
+
set dv(a) {
|
|
762
|
+
let b = this.de;
|
|
763
|
+
this.de = a;
|
|
764
|
+
if (b != this.de) {
|
|
765
|
+
this.cn("SearchTextColor", b, this.de);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
get dt() {
|
|
769
|
+
return this.dc;
|
|
770
|
+
}
|
|
771
|
+
set dt(a) {
|
|
772
|
+
let b = this.dc;
|
|
773
|
+
this.dc = a;
|
|
774
|
+
if (b != this.dc) {
|
|
775
|
+
this.cn("SearchBorderColor", b, this.dc);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
get af() {
|
|
779
|
+
return this.ad;
|
|
780
|
+
}
|
|
781
|
+
set af(a) {
|
|
782
|
+
let b = this.ad;
|
|
783
|
+
this.ad = a;
|
|
784
|
+
if (b != this.ad) {
|
|
785
|
+
this.cn("SearchTextStyle", b, this.ad);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
get dl() {
|
|
789
|
+
return this.c7;
|
|
790
|
+
}
|
|
791
|
+
set dl(a) {
|
|
792
|
+
let b = this.c7;
|
|
793
|
+
this.c7 = a;
|
|
794
|
+
if (b != this.c7) {
|
|
795
|
+
this.cn("CheckboxTickColor", b, this.c7);
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
get dj() {
|
|
799
|
+
return this.c5;
|
|
800
|
+
}
|
|
801
|
+
set dj(a) {
|
|
802
|
+
let b = this.c5;
|
|
803
|
+
this.c5 = a;
|
|
804
|
+
if (b != this.c5) {
|
|
805
|
+
this.cn("CheckboxCheckedBackgroundColor", b, this.c5);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
get dm() {
|
|
809
|
+
return this.c8;
|
|
810
|
+
}
|
|
811
|
+
set dm(a) {
|
|
812
|
+
let b = this.c8;
|
|
813
|
+
this.c8 = a;
|
|
814
|
+
if (b != this.c8) {
|
|
815
|
+
this.cn("CheckboxUncheckedBackgroundColor", b, this.c8);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
get dk() {
|
|
819
|
+
return this.c6;
|
|
820
|
+
}
|
|
821
|
+
set dk(a) {
|
|
822
|
+
let b = this.c6;
|
|
823
|
+
this.c6 = a;
|
|
824
|
+
if (b != this.c6) {
|
|
825
|
+
this.cn("CheckboxCheckedBorderColor", b, this.c6);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
get dn() {
|
|
829
|
+
return this.c9;
|
|
830
|
+
}
|
|
831
|
+
set dn(a) {
|
|
832
|
+
let b = this.c9;
|
|
833
|
+
this.c9 = a;
|
|
834
|
+
if (b != this.c9) {
|
|
835
|
+
this.cn("CheckboxUncheckedBorderColor", b, this.c9);
|
|
699
836
|
}
|
|
700
837
|
}
|
|
701
838
|
get w() {
|
|
@@ -705,26 +842,26 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
705
842
|
let b = this.v;
|
|
706
843
|
this.v = a;
|
|
707
844
|
if (b != this.v) {
|
|
708
|
-
this.
|
|
845
|
+
this.cn("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.v));
|
|
709
846
|
}
|
|
710
847
|
}
|
|
711
|
-
get
|
|
712
|
-
return this.
|
|
848
|
+
get dr() {
|
|
849
|
+
return this.da;
|
|
713
850
|
}
|
|
714
|
-
set
|
|
715
|
-
let b = this.
|
|
716
|
-
this.
|
|
717
|
-
if (b != this.
|
|
718
|
-
this.
|
|
851
|
+
set dr(a) {
|
|
852
|
+
let b = this.da;
|
|
853
|
+
this.da = a;
|
|
854
|
+
if (b != this.da) {
|
|
855
|
+
this.cn("ScrollbarBackground", b, this.da);
|
|
719
856
|
}
|
|
720
857
|
}
|
|
721
|
-
|
|
858
|
+
cn(a, b, c) {
|
|
722
859
|
if (this.propertyChanged != null) {
|
|
723
860
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
724
861
|
}
|
|
725
|
-
this.
|
|
862
|
+
this.cs(a, b, c);
|
|
726
863
|
}
|
|
727
|
-
|
|
864
|
+
cs(a, b, c) {
|
|
728
865
|
switch (a) {
|
|
729
866
|
case "ItemsSource":
|
|
730
867
|
if (this.h != null) {
|
|
@@ -737,26 +874,26 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
737
874
|
}
|
|
738
875
|
if (this.h.actualDataSource != null) {
|
|
739
876
|
let d = this.h.actualDataSource;
|
|
740
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
877
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.co));
|
|
741
878
|
}
|
|
742
|
-
this.h.itemsSource = this.
|
|
743
|
-
this.
|
|
879
|
+
this.h.itemsSource = this.ay;
|
|
880
|
+
this.b7();
|
|
744
881
|
if (this.h.actualDataSource != null) {
|
|
745
882
|
let e = this.h.actualDataSource;
|
|
746
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
883
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.co));
|
|
747
884
|
}
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
750
|
-
this.
|
|
751
|
-
this.m.
|
|
885
|
+
this.aj = true;
|
|
886
|
+
this.cq();
|
|
887
|
+
this.aj = false;
|
|
888
|
+
this.m.ag();
|
|
752
889
|
}
|
|
753
890
|
break;
|
|
754
891
|
case "DataMemberPath":
|
|
755
892
|
case "SelectedMemberPath":
|
|
756
893
|
if (this.h != null) {
|
|
757
|
-
if (this.
|
|
758
|
-
this.
|
|
759
|
-
this.
|
|
894
|
+
if (this.a0 != null) {
|
|
895
|
+
this.cq();
|
|
896
|
+
this.c1();
|
|
760
897
|
}
|
|
761
898
|
}
|
|
762
899
|
break;
|
|
@@ -766,23 +903,23 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
766
903
|
}
|
|
767
904
|
break;
|
|
768
905
|
case "SelectAllCaptionTextColor":
|
|
769
|
-
this.
|
|
906
|
+
this.dh = null != this.dw ? this.dw : CheckboxList.dq;
|
|
770
907
|
break;
|
|
771
908
|
case "SelectAllCaption":
|
|
772
909
|
case "ActualSelectAllCaptionTextColor":
|
|
773
|
-
this.m.
|
|
910
|
+
this.m.af();
|
|
774
911
|
break;
|
|
775
912
|
case "showSelectAll":
|
|
776
|
-
this.m.
|
|
777
|
-
this.m.
|
|
913
|
+
this.m.ai();
|
|
914
|
+
this.m.s();
|
|
778
915
|
break;
|
|
779
916
|
case "ShowFilter":
|
|
780
|
-
this.m.
|
|
781
|
-
this.m.
|
|
917
|
+
this.m.ae();
|
|
918
|
+
this.m.s();
|
|
782
919
|
break;
|
|
783
920
|
case "FilterPlaceholderText":
|
|
784
921
|
if (this.o != null) {
|
|
785
|
-
this.o.
|
|
922
|
+
this.o.ce = this.bg;
|
|
786
923
|
}
|
|
787
924
|
break;
|
|
788
925
|
case "SearchInputType":
|
|
@@ -792,32 +929,33 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
792
929
|
break;
|
|
793
930
|
case "RowHeight":
|
|
794
931
|
if (this.h != null) {
|
|
795
|
-
this.h.oa = this.
|
|
932
|
+
this.h.oa = this.ax;
|
|
796
933
|
}
|
|
797
934
|
break;
|
|
798
935
|
case "CellTextStyle":
|
|
799
936
|
if (this.h != null) {
|
|
800
|
-
this.h.gx = this.
|
|
937
|
+
this.h.gx = this.ae;
|
|
801
938
|
}
|
|
939
|
+
this.m.ac();
|
|
802
940
|
break;
|
|
803
941
|
case "BackgroundColor":
|
|
804
942
|
case "TextColor":
|
|
805
943
|
let f = this.h;
|
|
806
944
|
if (null != f) {
|
|
807
|
-
f.zv = this.
|
|
808
|
-
f.zt = this.
|
|
945
|
+
f.zv = this.dy;
|
|
946
|
+
f.zt = this.di;
|
|
809
947
|
}
|
|
810
|
-
this.m.
|
|
948
|
+
this.m.ad();
|
|
811
949
|
break;
|
|
812
950
|
case "BaseTheme":
|
|
813
|
-
this.
|
|
951
|
+
this.c0();
|
|
814
952
|
break;
|
|
815
953
|
case "Density":
|
|
816
|
-
this.
|
|
954
|
+
this.cz();
|
|
817
955
|
break;
|
|
818
956
|
case "IsRowHoverEnabled":
|
|
819
957
|
if (this.h != null) {
|
|
820
|
-
this.h.ka = this.
|
|
958
|
+
this.h.ka = this.an;
|
|
821
959
|
}
|
|
822
960
|
break;
|
|
823
961
|
case "ScrollbarStyle":
|
|
@@ -827,44 +965,69 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
827
965
|
break;
|
|
828
966
|
case "ScrollbarBackground":
|
|
829
967
|
if (this.h != null) {
|
|
830
|
-
this.h.aae = this.
|
|
968
|
+
this.h.aae = this.dr;
|
|
969
|
+
}
|
|
970
|
+
break;
|
|
971
|
+
case "SearchIconColor":
|
|
972
|
+
this.m.ab();
|
|
973
|
+
break;
|
|
974
|
+
case "SearchBackgroundColor":
|
|
975
|
+
this.r.oz = this.ds;
|
|
976
|
+
break;
|
|
977
|
+
case "SearchBorderColor":
|
|
978
|
+
this.r.o0 = this.dt;
|
|
979
|
+
break;
|
|
980
|
+
case "SearchTextColor":
|
|
981
|
+
this.p.d1 = this.dv;
|
|
982
|
+
break;
|
|
983
|
+
case "SearchTextStyle":
|
|
984
|
+
this.p.af = this.af;
|
|
985
|
+
break;
|
|
986
|
+
case "CheckboxTickColor":
|
|
987
|
+
case "CheckboxCheckedBackgroundColor":
|
|
988
|
+
case "CheckboxUncheckedBackgroundColor":
|
|
989
|
+
case "CheckboxCheckedBorderColor":
|
|
990
|
+
case "CheckboxUncheckedBorderColor":
|
|
991
|
+
this.m.y();
|
|
992
|
+
if (this.h != null) {
|
|
993
|
+
this.h.w9();
|
|
831
994
|
}
|
|
832
995
|
break;
|
|
833
996
|
}
|
|
834
997
|
}
|
|
835
|
-
|
|
998
|
+
cz() {
|
|
836
999
|
if (this.h != null) {
|
|
837
1000
|
this.h.go = this.aa;
|
|
838
1001
|
}
|
|
839
1002
|
if (this.q != null) {
|
|
840
1003
|
this.q.n = this.aa;
|
|
841
1004
|
}
|
|
842
|
-
this.m.
|
|
1005
|
+
this.m.x();
|
|
843
1006
|
}
|
|
844
|
-
|
|
1007
|
+
c0() {
|
|
845
1008
|
if (this.q != null) {
|
|
846
1009
|
this.q.j = this.y;
|
|
847
1010
|
}
|
|
848
|
-
this.m.
|
|
1011
|
+
this.m.z();
|
|
849
1012
|
}
|
|
850
|
-
|
|
851
|
-
this.
|
|
852
|
-
this.
|
|
1013
|
+
co(a, b) {
|
|
1014
|
+
this.aj = true;
|
|
1015
|
+
this.b7();
|
|
853
1016
|
if (b.schema != null) {
|
|
854
|
-
this.
|
|
1017
|
+
this.cq();
|
|
855
1018
|
for (let c = 0; c < this.g.count; c++) {
|
|
856
|
-
this.
|
|
1019
|
+
this.cl(this.g._inner[c]);
|
|
857
1020
|
}
|
|
858
|
-
this.m.
|
|
1021
|
+
this.m.ag();
|
|
859
1022
|
}
|
|
860
|
-
this.
|
|
1023
|
+
this.aj = false;
|
|
861
1024
|
}
|
|
862
|
-
|
|
863
|
-
if (this.ab == null && this.
|
|
864
|
-
this.ab = new FastReflectionHelper(false, this.
|
|
1025
|
+
cq() {
|
|
1026
|
+
if (this.ab == null && this.a2 != null && this.a2 != "") {
|
|
1027
|
+
this.ab = new FastReflectionHelper(false, this.a2);
|
|
865
1028
|
}
|
|
866
|
-
if (this.
|
|
867
|
-
this.ab.propertyName = this.
|
|
1029
|
+
if (this.ay != null && this.ab != null && this.h.actualDataSource.actualSchema != null) {
|
|
1030
|
+
this.ab.propertyName = this.a2;
|
|
868
1031
|
let a = this.h.actualDataSource.actualCount;
|
|
869
1032
|
for (let b = 0; b < a; b++) {
|
|
870
1033
|
let c = this.h.actualDataSource.getItemAtIndex(b);
|
|
@@ -878,24 +1041,24 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
878
1041
|
}
|
|
879
1042
|
}
|
|
880
1043
|
}
|
|
881
|
-
|
|
1044
|
+
c1() {
|
|
882
1045
|
this.h.actualColumns.clear();
|
|
883
1046
|
this.h.l = this.b;
|
|
884
1047
|
this.h.jy = false;
|
|
885
|
-
this.h.oa = this.
|
|
886
|
-
this.h.zt = this.
|
|
887
|
-
this.h.zu = this.
|
|
1048
|
+
this.h.oa = this.ax;
|
|
1049
|
+
this.h.zt = this.di;
|
|
1050
|
+
this.h.zu = this.di;
|
|
888
1051
|
this.h.go = this.aa;
|
|
889
|
-
this.h.ka = this.
|
|
1052
|
+
this.h.ka = this.an;
|
|
890
1053
|
this.h.aa0 = new Thickness(0, 0);
|
|
891
|
-
if (this.
|
|
892
|
-
this.h.gx = this.
|
|
1054
|
+
if (this.ae != null) {
|
|
1055
|
+
this.h.gx = this.ae;
|
|
893
1056
|
}
|
|
894
1057
|
let a = new TemplateColumn();
|
|
895
|
-
if (this.
|
|
896
|
-
this.
|
|
1058
|
+
if (this.a2 == null) {
|
|
1059
|
+
this.a2 = "";
|
|
897
1060
|
}
|
|
898
|
-
a.i8 = this.
|
|
1061
|
+
a.i8 = this.a2;
|
|
899
1062
|
a.jz = "CheckboxColumn";
|
|
900
1063
|
let b = new ColumnWidth();
|
|
901
1064
|
b.c = false;
|
|
@@ -903,10 +1066,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
903
1066
|
a.width = b;
|
|
904
1067
|
a.h2 = 0;
|
|
905
1068
|
a.h3 = 0;
|
|
906
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1069
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.b8));
|
|
907
1070
|
this.h.columns.add(a);
|
|
908
1071
|
this.i = a;
|
|
909
|
-
let c = this.h.actualDataSource.resolveSchemaPropertyType(this.
|
|
1072
|
+
let c = this.h.actualDataSource.resolveSchemaPropertyType(this.a0);
|
|
910
1073
|
let d;
|
|
911
1074
|
switch (c) {
|
|
912
1075
|
case 8:
|
|
@@ -929,25 +1092,25 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
929
1092
|
d = new TextColumn();
|
|
930
1093
|
break;
|
|
931
1094
|
}
|
|
932
|
-
d.i8 = this.
|
|
1095
|
+
d.i8 = this.a0;
|
|
933
1096
|
d.jz = "DataColumn";
|
|
934
1097
|
d.h2 = 0;
|
|
935
1098
|
d.e = 0;
|
|
936
1099
|
this.h.columns.add(d);
|
|
937
1100
|
}
|
|
938
1101
|
updateHrMargin(a) {
|
|
939
|
-
this.m.
|
|
1102
|
+
this.m.aa(a);
|
|
940
1103
|
}
|
|
941
1104
|
provideHrElement(a) {
|
|
942
|
-
this.m.
|
|
1105
|
+
this.m.p(a);
|
|
943
1106
|
}
|
|
944
|
-
|
|
1107
|
+
ck() {
|
|
945
1108
|
let a = this.p;
|
|
946
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1109
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.cc));
|
|
947
1110
|
}
|
|
948
|
-
|
|
1111
|
+
cc(a, b) {
|
|
949
1112
|
let c = b.value.toLowerCase();
|
|
950
|
-
this.
|
|
1113
|
+
this.cj(c);
|
|
951
1114
|
}
|
|
952
1115
|
j(a) {
|
|
953
1116
|
if (this.b == null) {
|
|
@@ -961,55 +1124,55 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
961
1124
|
}
|
|
962
1125
|
return new PrimaryKeyValue(b, c);
|
|
963
1126
|
}
|
|
964
|
-
|
|
965
|
-
this.
|
|
1127
|
+
cw(a) {
|
|
1128
|
+
this.ai = true;
|
|
966
1129
|
let b = this.e.getItemAtIndex(a);
|
|
967
1130
|
let c = this.j(b);
|
|
968
1131
|
this.g.remove(c);
|
|
969
|
-
this.
|
|
1132
|
+
this.ai = false;
|
|
970
1133
|
}
|
|
971
|
-
|
|
972
|
-
this.
|
|
1134
|
+
b5(a) {
|
|
1135
|
+
this.ai = true;
|
|
973
1136
|
let b = this.e.getItemAtIndex(a);
|
|
974
1137
|
let c = this.j(b);
|
|
975
1138
|
this.g.add(c);
|
|
976
|
-
this.
|
|
1139
|
+
this.ai = false;
|
|
977
1140
|
}
|
|
978
|
-
|
|
1141
|
+
cy() {
|
|
979
1142
|
this.l = 0;
|
|
980
1143
|
this.g.clear();
|
|
981
|
-
this.
|
|
982
|
-
this.m.
|
|
1144
|
+
this.cd();
|
|
1145
|
+
this.m.ag();
|
|
983
1146
|
}
|
|
984
|
-
|
|
1147
|
+
b9() {
|
|
985
1148
|
this.l = 1;
|
|
986
1149
|
this.g.clear();
|
|
987
|
-
this.
|
|
988
|
-
this.m.
|
|
1150
|
+
this.cd();
|
|
1151
|
+
this.m.ag();
|
|
989
1152
|
}
|
|
990
|
-
|
|
1153
|
+
cg(a, b, c) {
|
|
991
1154
|
if (this.h != null) {
|
|
992
1155
|
this.h.u5(a, b, c);
|
|
993
1156
|
}
|
|
994
1157
|
}
|
|
995
|
-
|
|
1158
|
+
cd() {
|
|
996
1159
|
if (this.h != null) {
|
|
997
1160
|
this.h.uz();
|
|
998
1161
|
}
|
|
999
1162
|
}
|
|
1000
|
-
|
|
1163
|
+
ce(a, b) {
|
|
1001
1164
|
if (this.h != null) {
|
|
1002
1165
|
this.h.u1(a, b);
|
|
1003
1166
|
}
|
|
1004
1167
|
;
|
|
1005
1168
|
}
|
|
1006
|
-
|
|
1169
|
+
cf(a, b) {
|
|
1007
1170
|
if (this.h != null) {
|
|
1008
1171
|
this.h.u2(a, b);
|
|
1009
1172
|
}
|
|
1010
1173
|
;
|
|
1011
1174
|
}
|
|
1012
|
-
|
|
1175
|
+
b6(a) {
|
|
1013
1176
|
let b = null;
|
|
1014
1177
|
if (this.b == null || this.b.length == 0) {
|
|
1015
1178
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1024,7 +1187,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1024
1187
|
this.g.add(b);
|
|
1025
1188
|
}
|
|
1026
1189
|
}
|
|
1027
|
-
|
|
1190
|
+
cx(a) {
|
|
1028
1191
|
let b = null;
|
|
1029
1192
|
if (this.b == null || this.b.length == 0) {
|
|
1030
1193
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1039,82 +1202,82 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1039
1202
|
this.g.remove(b);
|
|
1040
1203
|
}
|
|
1041
1204
|
}
|
|
1042
|
-
get
|
|
1043
|
-
return this.
|
|
1205
|
+
get bx() {
|
|
1206
|
+
return this.bw != null ? this.bw : !stringIsNullOrWhiteSpace(this.ah.b1("Select_All")) ? this.ah.b1("Select_All") : "(Select All)";
|
|
1044
1207
|
}
|
|
1045
|
-
set
|
|
1046
|
-
if (a == this.
|
|
1208
|
+
set bx(a) {
|
|
1209
|
+
if (a == this.bw) {
|
|
1047
1210
|
return;
|
|
1048
1211
|
}
|
|
1049
|
-
let b = this.
|
|
1050
|
-
this.
|
|
1051
|
-
this.
|
|
1212
|
+
let b = this.bw;
|
|
1213
|
+
this.bw = a;
|
|
1214
|
+
this.cn("SelectAllCaption", b, this.bw);
|
|
1052
1215
|
}
|
|
1053
|
-
get
|
|
1054
|
-
return this.
|
|
1216
|
+
get dw() {
|
|
1217
|
+
return this.df;
|
|
1055
1218
|
}
|
|
1056
|
-
set
|
|
1057
|
-
let b = this.
|
|
1058
|
-
this.
|
|
1059
|
-
if (b != this.
|
|
1060
|
-
this.
|
|
1219
|
+
set dw(a) {
|
|
1220
|
+
let b = this.df;
|
|
1221
|
+
this.df = a;
|
|
1222
|
+
if (b != this.df) {
|
|
1223
|
+
this.cn("SelectAllCaptionTextColor", b, a);
|
|
1061
1224
|
}
|
|
1062
1225
|
}
|
|
1063
|
-
get
|
|
1064
|
-
return this.
|
|
1226
|
+
get dh() {
|
|
1227
|
+
return this.c3;
|
|
1065
1228
|
}
|
|
1066
|
-
set
|
|
1067
|
-
let b = this.
|
|
1068
|
-
this.
|
|
1069
|
-
if (b != this.
|
|
1070
|
-
this.
|
|
1229
|
+
set dh(a) {
|
|
1230
|
+
let b = this.c3;
|
|
1231
|
+
this.c3 = a;
|
|
1232
|
+
if (b != this.c3) {
|
|
1233
|
+
this.cn("ActualSelectAllCaptionTextColor", b, a);
|
|
1071
1234
|
}
|
|
1072
1235
|
}
|
|
1073
|
-
get
|
|
1074
|
-
if (-1 == this.
|
|
1236
|
+
get ao() {
|
|
1237
|
+
if (-1 == this.aw) {
|
|
1075
1238
|
return false;
|
|
1076
1239
|
}
|
|
1077
1240
|
let a = this.g.count;
|
|
1078
1241
|
if (0 == a) {
|
|
1079
1242
|
return false;
|
|
1080
1243
|
}
|
|
1081
|
-
if (a == this.
|
|
1244
|
+
if (a == this.aw) {
|
|
1082
1245
|
return false;
|
|
1083
1246
|
}
|
|
1084
1247
|
return true;
|
|
1085
1248
|
}
|
|
1086
|
-
get
|
|
1087
|
-
return this.
|
|
1249
|
+
get as() {
|
|
1250
|
+
return this.ar;
|
|
1088
1251
|
}
|
|
1089
|
-
set
|
|
1090
|
-
if (a == this.
|
|
1252
|
+
set as(a) {
|
|
1253
|
+
if (a == this.ar) {
|
|
1091
1254
|
return;
|
|
1092
1255
|
}
|
|
1093
|
-
let b = this.
|
|
1094
|
-
this.
|
|
1095
|
-
this.
|
|
1256
|
+
let b = this.ar;
|
|
1257
|
+
this.ar = a;
|
|
1258
|
+
this.cn("showSelectAll", b, this.ar);
|
|
1096
1259
|
}
|
|
1097
|
-
get
|
|
1098
|
-
return this.
|
|
1260
|
+
get di() {
|
|
1261
|
+
return this.c4;
|
|
1099
1262
|
}
|
|
1100
|
-
set
|
|
1101
|
-
let b = this.
|
|
1102
|
-
this.
|
|
1103
|
-
if (b != this.
|
|
1104
|
-
this.
|
|
1263
|
+
set di(a) {
|
|
1264
|
+
let b = this.c4;
|
|
1265
|
+
this.c4 = a;
|
|
1266
|
+
if (b != this.c4) {
|
|
1267
|
+
this.cn("BackgroundColor", b, a);
|
|
1105
1268
|
}
|
|
1106
1269
|
}
|
|
1107
|
-
get
|
|
1108
|
-
return this.
|
|
1270
|
+
get dy() {
|
|
1271
|
+
return this.dg;
|
|
1109
1272
|
}
|
|
1110
|
-
set
|
|
1111
|
-
let b = this.
|
|
1112
|
-
this.
|
|
1113
|
-
if (b != this.
|
|
1114
|
-
this.
|
|
1273
|
+
set dy(a) {
|
|
1274
|
+
let b = this.dg;
|
|
1275
|
+
this.dg = a;
|
|
1276
|
+
if (b != this.dg) {
|
|
1277
|
+
this.cn("TextColor", b, a);
|
|
1115
1278
|
}
|
|
1116
1279
|
}
|
|
1117
|
-
|
|
1280
|
+
cp(a) {
|
|
1118
1281
|
if (this.selectAllCheckboxChanged != null) {
|
|
1119
1282
|
this.selectAllCheckboxChanged(this, ((() => {
|
|
1120
1283
|
let $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1123,69 +1286,69 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1123
1286
|
})()));
|
|
1124
1287
|
}
|
|
1125
1288
|
}
|
|
1126
|
-
|
|
1127
|
-
if (-1 == this.
|
|
1289
|
+
al() {
|
|
1290
|
+
if (-1 == this.aw) {
|
|
1128
1291
|
return true;
|
|
1129
1292
|
}
|
|
1130
1293
|
let a = this.g.count;
|
|
1131
1294
|
switch (this.l) {
|
|
1132
|
-
case 0: return this.
|
|
1295
|
+
case 0: return this.aw == a;
|
|
1133
1296
|
case 1: return 0 == a;
|
|
1134
1297
|
default: return false;
|
|
1135
1298
|
}
|
|
1136
1299
|
}
|
|
1137
|
-
|
|
1138
|
-
if (-1 == this.
|
|
1300
|
+
ak() {
|
|
1301
|
+
if (-1 == this.aw) {
|
|
1139
1302
|
return false;
|
|
1140
1303
|
}
|
|
1141
1304
|
let a = this.g.count;
|
|
1142
1305
|
switch (this.l) {
|
|
1143
1306
|
case 0: return 0 == a;
|
|
1144
|
-
case 1: return this.
|
|
1307
|
+
case 1: return this.aw == a;
|
|
1145
1308
|
default: return false;
|
|
1146
1309
|
}
|
|
1147
1310
|
}
|
|
1148
|
-
|
|
1311
|
+
b7() {
|
|
1149
1312
|
let a = this.h.actualDataSource;
|
|
1150
1313
|
if (null != a) {
|
|
1151
1314
|
if (null == a.actualSchema) {
|
|
1152
|
-
this.
|
|
1315
|
+
this.aw = -1;
|
|
1153
1316
|
return;
|
|
1154
1317
|
}
|
|
1155
1318
|
let b = a.actualCount;
|
|
1156
|
-
this.
|
|
1319
|
+
this.aw = b;
|
|
1157
1320
|
}
|
|
1158
1321
|
else {
|
|
1159
|
-
this.
|
|
1322
|
+
this.aw = -1;
|
|
1160
1323
|
}
|
|
1161
1324
|
}
|
|
1162
|
-
get
|
|
1163
|
-
return this.
|
|
1325
|
+
get aq() {
|
|
1326
|
+
return this.ap;
|
|
1164
1327
|
}
|
|
1165
|
-
set
|
|
1166
|
-
if (a == this.
|
|
1328
|
+
set aq(a) {
|
|
1329
|
+
if (a == this.ap) {
|
|
1167
1330
|
return;
|
|
1168
1331
|
}
|
|
1169
|
-
let b = this.
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1332
|
+
let b = this.ap;
|
|
1333
|
+
this.ap = a;
|
|
1334
|
+
this.cn("ShowFilter", b, this.ap);
|
|
1172
1335
|
}
|
|
1173
|
-
get
|
|
1174
|
-
return this.
|
|
1336
|
+
get an() {
|
|
1337
|
+
return this.am;
|
|
1175
1338
|
}
|
|
1176
|
-
set
|
|
1177
|
-
if (a == this.
|
|
1339
|
+
set an(a) {
|
|
1340
|
+
if (a == this.am) {
|
|
1178
1341
|
return;
|
|
1179
1342
|
}
|
|
1180
|
-
let b = this.
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1343
|
+
let b = this.am;
|
|
1344
|
+
this.am = a;
|
|
1345
|
+
this.cn("IsRowHoverEnabled", b, this.am);
|
|
1183
1346
|
}
|
|
1184
1347
|
}
|
|
1185
1348
|
CheckboxList.$t = /*@__PURE__*/ markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
1186
|
-
CheckboxList.
|
|
1187
|
-
CheckboxList.
|
|
1188
|
-
CheckboxList.
|
|
1189
|
-
CheckboxList.
|
|
1349
|
+
CheckboxList.dx = /*@__PURE__*/ BrushUtil.g(255, 24, 29, 31);
|
|
1350
|
+
CheckboxList.bt = "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";
|
|
1351
|
+
CheckboxList.dp = /*@__PURE__*/ BrushUtil.g(255, 248, 248, 248);
|
|
1352
|
+
CheckboxList.dq = /*@__PURE__*/ BrushUtil.g(255, 24, 29, 31);
|
|
1190
1353
|
return CheckboxList;
|
|
1191
1354
|
})();
|