igniteui-webcomponents-data-grids 7.1.0-alpha.3 → 7.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-data-grids.umd.js +6134 -5858
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +37 -34
- package/esm2015/lib/CheckboxListView_combined.js +23 -23
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +4143 -3997
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +5 -5
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +292 -292
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +167 -150
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +20 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +45 -45
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +184 -184
- package/esm2015/lib/TextHeaderCellPresenter.js +52 -52
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +90 -81
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +224 -214
- package/esm2015/lib/igc-data-grid-component.js +10 -0
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +35 -26
- package/esm2015/lib/igc-numeric-column-component.js +38 -38
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +32 -12
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +38 -38
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +37 -34
- package/esm5/lib/CheckboxListView_combined.js +23 -23
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +3989 -3819
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +5 -5
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +10 -10
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +164 -143
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +20 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +45 -45
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +182 -182
- package/esm5/lib/TextHeaderCellPresenter.js +52 -52
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +94 -81
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +228 -214
- package/esm5/lib/igc-data-grid-component.js +14 -0
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +39 -26
- package/esm5/lib/igc-numeric-column-component.js +38 -38
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +40 -12
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +38 -38
- package/fesm2015/igniteui-webcomponents-data-grids.js +6274 -6050
- package/fesm5/igniteui-webcomponents-data-grids.js +6134 -5858
- package/lib/ColumnFilterCondition_combined.d.ts +1077 -1053
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +5 -0
- package/lib/igc-data-grid-column-component.d.ts +5 -0
- package/lib/igc-data-grid-component.d.ts +5 -0
- package/lib/igc-numeric-cell-info.d.ts +5 -0
- package/lib/igc-section-header-component.d.ts +10 -0
- package/package.json +4 -4
|
@@ -43,7 +43,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
43
43
|
let b = this.w;
|
|
44
44
|
this.w = a;
|
|
45
45
|
if (b != this.w) {
|
|
46
|
-
this.
|
|
46
|
+
this.cl("IsRemoved", b, this.w);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
get bf() {
|
|
@@ -62,7 +62,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
62
62
|
let b = this.a5;
|
|
63
63
|
this.a5 = a;
|
|
64
64
|
if (b != this.a5) {
|
|
65
|
-
this.
|
|
65
|
+
this.cl("Indent", b, this.a5);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
get aa() {
|
|
@@ -72,7 +72,17 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
72
72
|
let b = this.t;
|
|
73
73
|
this.t = a;
|
|
74
74
|
if (b != this.t) {
|
|
75
|
-
this.
|
|
75
|
+
this.cl("IsCollapsable", b, this.t);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
get dt() {
|
|
79
|
+
return this.dp;
|
|
80
|
+
}
|
|
81
|
+
set dt(a) {
|
|
82
|
+
let b = this.dp;
|
|
83
|
+
this.dp = a;
|
|
84
|
+
if (b != this.dp) {
|
|
85
|
+
this.cl("ExpansionIndicatorIconColor", b, this.dp);
|
|
76
86
|
}
|
|
77
87
|
}
|
|
78
88
|
get ab() {
|
|
@@ -82,7 +92,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
82
92
|
let b = this.u;
|
|
83
93
|
this.u = a;
|
|
84
94
|
if (b != this.u) {
|
|
85
|
-
this.
|
|
95
|
+
this.cl("IsExpanded", b, this.u);
|
|
86
96
|
}
|
|
87
97
|
}
|
|
88
98
|
get ad() {
|
|
@@ -92,27 +102,27 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
92
102
|
let b = this.v;
|
|
93
103
|
this.v = a;
|
|
94
104
|
if (b != this.v) {
|
|
95
|
-
this.
|
|
105
|
+
this.cl("IsHitTestVisible", b, this.v);
|
|
96
106
|
}
|
|
97
107
|
}
|
|
98
|
-
get
|
|
108
|
+
get b4() {
|
|
99
109
|
return this.bp;
|
|
100
110
|
}
|
|
101
|
-
set
|
|
111
|
+
set b4(a) {
|
|
102
112
|
let b = this.bp;
|
|
103
113
|
this.bp = a;
|
|
104
114
|
if (b != this.bp) {
|
|
105
|
-
this.
|
|
115
|
+
this.cl("SuffixText", b, this.bp);
|
|
106
116
|
}
|
|
107
117
|
}
|
|
108
|
-
get
|
|
109
|
-
return this.
|
|
118
|
+
get dw() {
|
|
119
|
+
return this.ds;
|
|
110
120
|
}
|
|
111
|
-
set
|
|
112
|
-
let b = this.
|
|
113
|
-
this.
|
|
114
|
-
if (b != this.
|
|
115
|
-
this.
|
|
121
|
+
set dw(a) {
|
|
122
|
+
let b = this.ds;
|
|
123
|
+
this.ds = a;
|
|
124
|
+
if (b != this.ds) {
|
|
125
|
+
this.cl("SuffixTextColor", b, this.ds);
|
|
116
126
|
}
|
|
117
127
|
}
|
|
118
128
|
get n() {
|
|
@@ -122,10 +132,10 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
122
132
|
let b = this.m;
|
|
123
133
|
this.m = a;
|
|
124
134
|
if (b != this.m) {
|
|
125
|
-
this.
|
|
135
|
+
this.cl("SuffixTextFont", b, this.m);
|
|
126
136
|
}
|
|
127
137
|
}
|
|
128
|
-
|
|
138
|
+
cm() {
|
|
129
139
|
if (this.bp != null) {
|
|
130
140
|
if (this.aq == null) {
|
|
131
141
|
this.aq = this.ak.createElement("span");
|
|
@@ -134,7 +144,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
134
144
|
this.aq.setRawStyleProperty("white-space", "nowrap");
|
|
135
145
|
this.aq.setRawStyleProperty("margin-left", this.aj + "px");
|
|
136
146
|
}
|
|
137
|
-
this.
|
|
147
|
+
this.co();
|
|
138
148
|
if (!this.x) {
|
|
139
149
|
this.ar.setRawStyleProperty("display", "grid");
|
|
140
150
|
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
@@ -151,57 +161,57 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
151
161
|
}
|
|
152
162
|
}
|
|
153
163
|
}
|
|
154
|
-
get
|
|
164
|
+
get bz() {
|
|
155
165
|
return this.bo;
|
|
156
166
|
}
|
|
157
|
-
set
|
|
167
|
+
set bz(a) {
|
|
158
168
|
let b = this.bo;
|
|
159
169
|
this.bo = a;
|
|
160
170
|
if (b != this.bo) {
|
|
161
|
-
this.
|
|
171
|
+
this.cl("SuffixIconName", b, this.bo);
|
|
162
172
|
}
|
|
163
173
|
}
|
|
164
|
-
get
|
|
174
|
+
get bw() {
|
|
165
175
|
return this.bn;
|
|
166
176
|
}
|
|
167
|
-
set
|
|
177
|
+
set bw(a) {
|
|
168
178
|
let b = this.bn;
|
|
169
179
|
this.bn = a;
|
|
170
180
|
if (b != this.bn) {
|
|
171
|
-
this.
|
|
181
|
+
this.cl("SuffixIconCollectionName", b, this.bn);
|
|
172
182
|
}
|
|
173
183
|
}
|
|
174
|
-
get
|
|
175
|
-
return this.
|
|
184
|
+
get dv() {
|
|
185
|
+
return this.dr;
|
|
176
186
|
}
|
|
177
|
-
set
|
|
178
|
-
let b = this.
|
|
179
|
-
this.
|
|
180
|
-
if (b != this.
|
|
181
|
-
this.
|
|
187
|
+
set dv(a) {
|
|
188
|
+
let b = this.dr;
|
|
189
|
+
this.dr = a;
|
|
190
|
+
if (b != this.dr) {
|
|
191
|
+
this.cl("SuffixIconStroke", b, this.dr);
|
|
182
192
|
}
|
|
183
193
|
}
|
|
184
|
-
get
|
|
185
|
-
return this.
|
|
194
|
+
get du() {
|
|
195
|
+
return this.dq;
|
|
186
196
|
}
|
|
187
|
-
set
|
|
188
|
-
let b = this.
|
|
189
|
-
this.
|
|
190
|
-
if (b != this.
|
|
191
|
-
this.
|
|
197
|
+
set du(a) {
|
|
198
|
+
let b = this.dq;
|
|
199
|
+
this.dq = a;
|
|
200
|
+
if (b != this.dq) {
|
|
201
|
+
this.cl("SuffixIconFill", b, this.dq);
|
|
192
202
|
}
|
|
193
203
|
}
|
|
194
|
-
get
|
|
195
|
-
return this.
|
|
204
|
+
get dy() {
|
|
205
|
+
return this.dx;
|
|
196
206
|
}
|
|
197
|
-
set
|
|
198
|
-
let b = this.
|
|
199
|
-
this.
|
|
200
|
-
if (Rect.l_op_Inequality(b, this.
|
|
201
|
-
this.
|
|
207
|
+
set dy(a) {
|
|
208
|
+
let b = this.dx;
|
|
209
|
+
this.dx = a;
|
|
210
|
+
if (Rect.l_op_Inequality(b, this.dx)) {
|
|
211
|
+
this.cl("SuffixIconViewBox", b, this.dx);
|
|
202
212
|
}
|
|
203
213
|
}
|
|
204
|
-
|
|
214
|
+
cn() {
|
|
205
215
|
if (this.bo != null && this.bn != null) {
|
|
206
216
|
if (this.l == null) {
|
|
207
217
|
this.ap = this.ak.createElement("div");
|
|
@@ -212,7 +222,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
212
222
|
this.ap.setRawStyleProperty("overflow", "hidden");
|
|
213
223
|
this.ap.setRawStyleProperty("margin-left", this.aj + "px");
|
|
214
224
|
}
|
|
215
|
-
this.
|
|
225
|
+
this.co();
|
|
216
226
|
if (!this.x) {
|
|
217
227
|
this.ar.setRawStyleProperty("display", "grid");
|
|
218
228
|
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
@@ -229,29 +239,29 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
229
239
|
}
|
|
230
240
|
}
|
|
231
241
|
}
|
|
232
|
-
|
|
242
|
+
co() {
|
|
233
243
|
if (this.aq != null) {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
244
|
+
this.c9(this.aq, this.bp);
|
|
245
|
+
this.da(this.aq, this.dw);
|
|
246
|
+
this.c1(this.aq, this.n);
|
|
247
|
+
this.dc(this.aq, this.h);
|
|
238
248
|
}
|
|
239
249
|
if (this.l != null) {
|
|
240
|
-
this.l.ea = this.
|
|
241
|
-
this.l.fill = this.
|
|
242
|
-
if (!this.
|
|
243
|
-
this.l.a6 = this.
|
|
244
|
-
this.l.a7 = this.
|
|
245
|
-
this.l.a8 = this.
|
|
246
|
-
this.l.a5 = this.
|
|
250
|
+
this.l.ea = this.dv;
|
|
251
|
+
this.l.fill = this.du;
|
|
252
|
+
if (!this.dy.isEmpty && !isNaN_(this.dy.left) && !isNaN_(this.dy.top) && !isNaN_(this.dy.width) && !isNaN_(this.dy.height)) {
|
|
253
|
+
this.l.a6 = this.dy.left;
|
|
254
|
+
this.l.a7 = this.dy.top;
|
|
255
|
+
this.l.a8 = this.dy.width;
|
|
256
|
+
this.l.a5 = this.dy.height;
|
|
247
257
|
}
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
258
|
+
this.c8(this.ap, this.dv);
|
|
259
|
+
this.c0(this.ap, this.du);
|
|
260
|
+
this.dc(this.ap, this.h);
|
|
261
|
+
this.c4(this.l, this.bw, this.bz);
|
|
252
262
|
}
|
|
253
263
|
}
|
|
254
|
-
|
|
264
|
+
c4(a, b, c) {
|
|
255
265
|
a.svg = null;
|
|
256
266
|
a.svgPath = null;
|
|
257
267
|
a.b = null;
|
|
@@ -289,7 +299,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
289
299
|
let b = this.ai;
|
|
290
300
|
this.ai = a;
|
|
291
301
|
if (b != this.ai) {
|
|
292
|
-
this.
|
|
302
|
+
this.cl("SuffixMargin", b, this.ai);
|
|
293
303
|
}
|
|
294
304
|
}
|
|
295
305
|
constructor(a) {
|
|
@@ -308,18 +318,19 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
308
318
|
this.a0 = 0;
|
|
309
319
|
this.a5 = 0;
|
|
310
320
|
this.t = false;
|
|
321
|
+
this.dp = null;
|
|
311
322
|
this.u = false;
|
|
312
323
|
this.v = true;
|
|
313
324
|
this.aq = null;
|
|
314
325
|
this.bp = null;
|
|
315
|
-
this.
|
|
326
|
+
this.ds = null;
|
|
316
327
|
this.m = null;
|
|
317
328
|
this.x = false;
|
|
318
329
|
this.bo = null;
|
|
319
330
|
this.bn = null;
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
331
|
+
this.dr = null;
|
|
332
|
+
this.dq = null;
|
|
333
|
+
this.dx = Rect.empty;
|
|
323
334
|
this.al = null;
|
|
324
335
|
this.ap = null;
|
|
325
336
|
this.l = null;
|
|
@@ -333,7 +344,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
333
344
|
this.aw = 0;
|
|
334
345
|
this.av = 0;
|
|
335
346
|
this.at = 0;
|
|
336
|
-
this.
|
|
347
|
+
this.dn = null;
|
|
337
348
|
this.a3 = 0;
|
|
338
349
|
this.bc = 0;
|
|
339
350
|
this.a4 = 0;
|
|
@@ -361,23 +372,23 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
361
372
|
let c = (window.PointerEvent !== undefined);
|
|
362
373
|
let d = (window.TouchEvent);
|
|
363
374
|
if ((b || c)) {
|
|
364
|
-
this.an.listen("pointerdown", runOn(this, this.
|
|
365
|
-
this.an.listen("pointerup", runOn(this, this.
|
|
366
|
-
this.an.listen("pointermove", runOn(this, this.
|
|
367
|
-
this.an.listen("pointerleave", runOn(this, this.
|
|
368
|
-
this.an.listen("pointerenter", runOn(this, this.
|
|
375
|
+
this.an.listen("pointerdown", runOn(this, this.cq));
|
|
376
|
+
this.an.listen("pointerup", runOn(this, this.cu));
|
|
377
|
+
this.an.listen("pointermove", runOn(this, this.ct));
|
|
378
|
+
this.an.listen("pointerleave", runOn(this, this.cs));
|
|
379
|
+
this.an.listen("pointerenter", runOn(this, this.cr));
|
|
369
380
|
}
|
|
370
381
|
else {
|
|
371
|
-
this.an.listen("mousedown", runOn(this, this.
|
|
372
|
-
this.an.listen("mouseup", runOn(this, this.
|
|
373
|
-
this.an.listen("mousemove", runOn(this, this.
|
|
374
|
-
this.an.listen("mouseleave", runOn(this, this.
|
|
375
|
-
this.an.listen("touchstart", runOn(this, this.
|
|
376
|
-
this.an.listen("touchend", runOn(this, this.
|
|
377
|
-
this.an.listen("touchmove", runOn(this, this.
|
|
382
|
+
this.an.listen("mousedown", runOn(this, this.cc));
|
|
383
|
+
this.an.listen("mouseup", runOn(this, this.cg));
|
|
384
|
+
this.an.listen("mousemove", runOn(this, this.cf));
|
|
385
|
+
this.an.listen("mouseleave", runOn(this, this.ce));
|
|
386
|
+
this.an.listen("touchstart", runOn(this, this.df));
|
|
387
|
+
this.an.listen("touchend", runOn(this, this.dh));
|
|
388
|
+
this.an.listen("touchmove", runOn(this, this.dg));
|
|
378
389
|
}
|
|
379
390
|
}
|
|
380
|
-
|
|
391
|
+
cb() {
|
|
381
392
|
this.a1 = 10;
|
|
382
393
|
this.a0 = this.bi * 24;
|
|
383
394
|
this.a2 = 24;
|
|
@@ -397,12 +408,13 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
397
408
|
this.j = new GridExpansionIndicator();
|
|
398
409
|
this.j.ab(a);
|
|
399
410
|
this.j.y(24, 24);
|
|
411
|
+
this.j.ae = this.dp;
|
|
400
412
|
}
|
|
401
413
|
if (this.ao.parent() == null) {
|
|
402
414
|
this.an.append(this.ao);
|
|
403
415
|
}
|
|
404
416
|
}
|
|
405
|
-
|
|
417
|
+
cv() {
|
|
406
418
|
this.a2 = 0;
|
|
407
419
|
this.a1 = 0;
|
|
408
420
|
if (this.ao != null) {
|
|
@@ -423,7 +435,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
423
435
|
get ae() {
|
|
424
436
|
return this.get_ae();
|
|
425
437
|
}
|
|
426
|
-
|
|
438
|
+
c7(a, b, c, d) {
|
|
427
439
|
this.a7 = a;
|
|
428
440
|
this.a9 = b;
|
|
429
441
|
this.a8 = c;
|
|
@@ -433,12 +445,12 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
433
445
|
this.an.setRawStyleProperty("padding-right", c.toString() + "px");
|
|
434
446
|
this.an.setRawStyleProperty("padding-bottom", d.toString() + "px");
|
|
435
447
|
}
|
|
436
|
-
|
|
448
|
+
cy(a, b, c, d, e) {
|
|
437
449
|
this.au = b;
|
|
438
450
|
this.aw = c;
|
|
439
451
|
this.av = d;
|
|
440
452
|
this.at = e;
|
|
441
|
-
this.
|
|
453
|
+
this.dn = a;
|
|
442
454
|
if (a == null) {
|
|
443
455
|
this.an.setRawStyleProperty("border", "");
|
|
444
456
|
}
|
|
@@ -466,7 +478,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
466
478
|
get bh() {
|
|
467
479
|
return this.a4;
|
|
468
480
|
}
|
|
469
|
-
|
|
481
|
+
c2(a, b) {
|
|
470
482
|
if (this.a3 != a || this.a4 != b) {
|
|
471
483
|
let c = this.a3;
|
|
472
484
|
this.a3 = a;
|
|
@@ -476,20 +488,20 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
476
488
|
if (this.ao != null) {
|
|
477
489
|
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.a2, 2));
|
|
478
490
|
}
|
|
479
|
-
this.
|
|
491
|
+
this.de(this.bc, this.a3, this.bc, c);
|
|
480
492
|
}
|
|
481
493
|
}
|
|
482
|
-
|
|
494
|
+
dd(a, b) {
|
|
483
495
|
if (this.bc != a) {
|
|
484
496
|
let c = this.bc;
|
|
485
497
|
this.bc = a;
|
|
486
498
|
this.an.setRawStyleProperty("width", a.toString() + "px");
|
|
487
|
-
this.
|
|
499
|
+
this.de(this.bc, this.a3, c, this.a3);
|
|
488
500
|
}
|
|
489
501
|
}
|
|
490
|
-
|
|
502
|
+
de(a, b, c, d) {
|
|
491
503
|
}
|
|
492
|
-
|
|
504
|
+
b9() {
|
|
493
505
|
if (!this.ae) {
|
|
494
506
|
return;
|
|
495
507
|
}
|
|
@@ -501,40 +513,40 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
501
513
|
this.k.i = 0;
|
|
502
514
|
this.an.append(this.k.g);
|
|
503
515
|
}
|
|
504
|
-
|
|
516
|
+
cx(a) {
|
|
505
517
|
this.an.setRawStyleProperty("background-color", a.colorString);
|
|
506
518
|
}
|
|
507
|
-
|
|
519
|
+
c6(a) {
|
|
508
520
|
this.an.setRawStyleProperty("opacity", a.toString());
|
|
509
521
|
}
|
|
510
|
-
|
|
522
|
+
c1(a, b) {
|
|
511
523
|
if (b == null) {
|
|
512
524
|
b = FontUtil.getDefaultFont(this.am);
|
|
513
525
|
}
|
|
514
526
|
a.setRawStyleProperty("font", b.fontString);
|
|
515
527
|
}
|
|
516
|
-
|
|
528
|
+
da(a, b) {
|
|
517
529
|
let c = Color.u(0, 0, 0, 0);
|
|
518
530
|
if (b != null) {
|
|
519
531
|
c = b.color;
|
|
520
532
|
}
|
|
521
533
|
a.setRawStyleProperty("color", c.colorString);
|
|
522
534
|
}
|
|
523
|
-
|
|
535
|
+
c8(a, b) {
|
|
524
536
|
let c = Color.u(0, 0, 0, 0);
|
|
525
537
|
if (b != null) {
|
|
526
538
|
c = b.color;
|
|
527
539
|
}
|
|
528
540
|
a.setRawStyleProperty("stroke", c.colorString);
|
|
529
541
|
}
|
|
530
|
-
|
|
542
|
+
c0(a, b) {
|
|
531
543
|
let c = Color.u(0, 0, 0, 0);
|
|
532
544
|
if (b != null) {
|
|
533
545
|
c = b.color;
|
|
534
546
|
}
|
|
535
547
|
a.setRawStyleProperty("fill", c.colorString);
|
|
536
548
|
}
|
|
537
|
-
|
|
549
|
+
c9(a, b) {
|
|
538
550
|
if (a != null) {
|
|
539
551
|
a.setRawText(b);
|
|
540
552
|
}
|
|
@@ -549,13 +561,13 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
549
561
|
let a = this.q();
|
|
550
562
|
return a.getGenerator("PlaceholderWidths");
|
|
551
563
|
}
|
|
552
|
-
|
|
564
|
+
dm(a) {
|
|
553
565
|
if (!this.ae) {
|
|
554
566
|
return;
|
|
555
567
|
}
|
|
556
568
|
this.k.i = (a * 0.20000000298023224);
|
|
557
569
|
}
|
|
558
|
-
|
|
570
|
+
dk(a, b, c, d) {
|
|
559
571
|
if (this.k != null) {
|
|
560
572
|
let e = this.ah;
|
|
561
573
|
let f = this.ag;
|
|
@@ -575,15 +587,15 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
575
587
|
this.k.g.setRawYPosition(b);
|
|
576
588
|
}
|
|
577
589
|
}
|
|
578
|
-
|
|
590
|
+
cj(a, b, c) {
|
|
579
591
|
}
|
|
580
|
-
|
|
592
|
+
cp(a) {
|
|
581
593
|
this.h = a;
|
|
582
594
|
if (this.aq != null) {
|
|
583
|
-
this.
|
|
595
|
+
this.dc(this.aq, a);
|
|
584
596
|
}
|
|
585
597
|
}
|
|
586
|
-
|
|
598
|
+
dl(a) {
|
|
587
599
|
if (!this.ae) {
|
|
588
600
|
return;
|
|
589
601
|
}
|
|
@@ -595,8 +607,8 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
595
607
|
this.ag = b;
|
|
596
608
|
this.k.d = (b);
|
|
597
609
|
}
|
|
598
|
-
let c = a.
|
|
599
|
-
let d = a.
|
|
610
|
+
let c = a.h8 * 0.2;
|
|
611
|
+
let d = a.ga * 0.6;
|
|
600
612
|
if (this.ah >= c && this.ah <= d && !this.y) {
|
|
601
613
|
return;
|
|
602
614
|
}
|
|
@@ -609,9 +621,9 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
609
621
|
this.ah = e;
|
|
610
622
|
this.k.e = e;
|
|
611
623
|
}
|
|
612
|
-
this.
|
|
624
|
+
this.dk(this.a7 + this.a0 + this.a2, this.a9, this.bc - (this.a7 + this.a8), this.a3 - (this.a9 + this.a6));
|
|
613
625
|
}
|
|
614
|
-
|
|
626
|
+
di(a, b) {
|
|
615
627
|
if (!this.ae) {
|
|
616
628
|
return;
|
|
617
629
|
}
|
|
@@ -619,7 +631,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
619
631
|
this.i = b;
|
|
620
632
|
this.y = true;
|
|
621
633
|
}
|
|
622
|
-
|
|
634
|
+
dj(a) {
|
|
623
635
|
if (!this.ae) {
|
|
624
636
|
return;
|
|
625
637
|
}
|
|
@@ -627,16 +639,16 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
627
639
|
this.k.l = a.color;
|
|
628
640
|
}
|
|
629
641
|
}
|
|
630
|
-
|
|
642
|
+
cw(a) {
|
|
631
643
|
this.a = a;
|
|
632
644
|
}
|
|
633
|
-
|
|
645
|
+
c5(a) {
|
|
634
646
|
this.e = a;
|
|
635
647
|
}
|
|
636
|
-
|
|
648
|
+
cz(a) {
|
|
637
649
|
this.c = a;
|
|
638
650
|
}
|
|
639
|
-
|
|
651
|
+
c3(a, b) {
|
|
640
652
|
switch (b) {
|
|
641
653
|
case 0:
|
|
642
654
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
@@ -652,7 +664,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
652
664
|
break;
|
|
653
665
|
}
|
|
654
666
|
}
|
|
655
|
-
|
|
667
|
+
dc(a, b) {
|
|
656
668
|
switch (b) {
|
|
657
669
|
case 0:
|
|
658
670
|
a.setRawStyleProperty("vertical-align", "top");
|
|
@@ -675,67 +687,67 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
675
687
|
af(a) {
|
|
676
688
|
return a.isClickActionDesired;
|
|
677
689
|
}
|
|
678
|
-
|
|
690
|
+
cc(a) {
|
|
679
691
|
this.onContactStarted(a, false);
|
|
680
692
|
}
|
|
681
|
-
|
|
693
|
+
cg(a) {
|
|
682
694
|
this.onContactCompleted(a, false);
|
|
683
695
|
}
|
|
684
|
-
|
|
696
|
+
cf(a) {
|
|
685
697
|
this.onContactMoved(a, false);
|
|
686
698
|
}
|
|
699
|
+
ce(a) {
|
|
700
|
+
this.ci(a, false);
|
|
701
|
+
}
|
|
687
702
|
cd(a) {
|
|
688
703
|
this.ch(a, false);
|
|
689
704
|
}
|
|
690
|
-
|
|
691
|
-
this.cg(a, false);
|
|
692
|
-
}
|
|
693
|
-
cp(e_) {
|
|
705
|
+
cq(e_) {
|
|
694
706
|
let a = (e_.originalEvent.pointerType);
|
|
695
707
|
if (a == "touch") {
|
|
696
|
-
this.
|
|
708
|
+
this.df(e_);
|
|
697
709
|
}
|
|
698
710
|
else {
|
|
699
|
-
this.
|
|
711
|
+
this.cc(e_);
|
|
700
712
|
}
|
|
701
713
|
}
|
|
702
|
-
|
|
714
|
+
ct(e_) {
|
|
703
715
|
let a = (e_.originalEvent.pointerType);
|
|
704
716
|
if (a == "touch") {
|
|
705
|
-
this.
|
|
717
|
+
this.dg(e_);
|
|
706
718
|
}
|
|
707
719
|
else {
|
|
708
|
-
this.
|
|
720
|
+
this.cf(e_);
|
|
709
721
|
}
|
|
710
722
|
}
|
|
711
|
-
|
|
723
|
+
cu(e_) {
|
|
712
724
|
let a = (e_.originalEvent.pointerType);
|
|
713
725
|
if (a == "touch") {
|
|
714
|
-
this.
|
|
726
|
+
this.dh(e_);
|
|
715
727
|
}
|
|
716
728
|
else {
|
|
717
|
-
this.
|
|
729
|
+
this.cg(e_);
|
|
718
730
|
}
|
|
719
731
|
}
|
|
720
|
-
|
|
732
|
+
cs(e_) {
|
|
721
733
|
let a = (e_.originalEvent.pointerType);
|
|
722
734
|
if (a != "touch") {
|
|
723
|
-
this.
|
|
735
|
+
this.ce(e_);
|
|
724
736
|
}
|
|
725
737
|
}
|
|
726
|
-
|
|
738
|
+
cr(e_) {
|
|
727
739
|
let a = (e_.originalEvent.pointerType);
|
|
728
740
|
if (a != "touch") {
|
|
729
|
-
this.
|
|
741
|
+
this.cd(e_);
|
|
730
742
|
}
|
|
731
743
|
}
|
|
732
|
-
|
|
744
|
+
df(a) {
|
|
733
745
|
this.onContactStarted(a, true);
|
|
734
746
|
}
|
|
735
|
-
|
|
747
|
+
dg(a) {
|
|
736
748
|
this.onContactMoved(a, true);
|
|
737
749
|
}
|
|
738
|
-
|
|
750
|
+
dh(a) {
|
|
739
751
|
this.onContactCompleted(a, true);
|
|
740
752
|
}
|
|
741
753
|
onContactStarted(e_, a) {
|
|
@@ -851,7 +863,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
851
863
|
}
|
|
852
864
|
this.s = false;
|
|
853
865
|
}
|
|
854
|
-
|
|
866
|
+
ci(a, b) {
|
|
855
867
|
if (this.a != null) {
|
|
856
868
|
if (this.af(this.a)) {
|
|
857
869
|
if (this.a.isMouseDown) {
|
|
@@ -868,7 +880,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
868
880
|
}
|
|
869
881
|
}
|
|
870
882
|
}
|
|
871
|
-
|
|
883
|
+
ch(a, b) {
|
|
872
884
|
if (this.a != null && this.a.isEnterActionDesired) {
|
|
873
885
|
let c = a.pageX;
|
|
874
886
|
let d = a.pageY;
|
|
@@ -877,7 +889,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
877
889
|
}
|
|
878
890
|
onDoubleClick(a) {
|
|
879
891
|
}
|
|
880
|
-
|
|
892
|
+
cl(a, b, c) {
|
|
881
893
|
switch (a) {
|
|
882
894
|
case "Indent":
|
|
883
895
|
this.a0 = this.bi * 24;
|
|
@@ -889,10 +901,10 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
889
901
|
break;
|
|
890
902
|
case "IsCollapsable":
|
|
891
903
|
if (this.aa) {
|
|
892
|
-
this.
|
|
904
|
+
this.cb();
|
|
893
905
|
}
|
|
894
906
|
else {
|
|
895
|
-
this.
|
|
907
|
+
this.cv();
|
|
896
908
|
}
|
|
897
909
|
break;
|
|
898
910
|
case "IsExpanded":
|
|
@@ -900,22 +912,27 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
900
912
|
this.j.g = this.ab;
|
|
901
913
|
}
|
|
902
914
|
break;
|
|
915
|
+
case "ExpansionIndicatorIconColor":
|
|
916
|
+
if (this.j != null) {
|
|
917
|
+
this.j.ae = this.dt;
|
|
918
|
+
}
|
|
919
|
+
break;
|
|
903
920
|
case "IsHitTestVisible":
|
|
904
921
|
this.ar.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
|
|
905
922
|
break;
|
|
906
923
|
case "SuffixText":
|
|
907
|
-
this.
|
|
924
|
+
this.cm();
|
|
908
925
|
break;
|
|
909
926
|
case "SuffixIconName":
|
|
910
927
|
case "SuffixIconCollectionName":
|
|
911
|
-
this.
|
|
928
|
+
this.cn();
|
|
912
929
|
break;
|
|
913
930
|
case "SuffixTextColor":
|
|
914
931
|
case "SuffixTextFont":
|
|
915
932
|
case "SuffixIconStroke":
|
|
916
933
|
case "SuffixIconFill":
|
|
917
934
|
case "SuffixIconViewBox":
|
|
918
|
-
this.
|
|
935
|
+
this.co();
|
|
919
936
|
break;
|
|
920
937
|
case "SuffixMargin":
|
|
921
938
|
if (this.ap != null) {
|
|
@@ -927,12 +944,12 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
927
944
|
break;
|
|
928
945
|
}
|
|
929
946
|
}
|
|
930
|
-
|
|
947
|
+
ck() {
|
|
931
948
|
}
|
|
932
|
-
|
|
949
|
+
ca() {
|
|
933
950
|
this.an.focus(true);
|
|
934
951
|
}
|
|
935
|
-
|
|
952
|
+
b8() {
|
|
936
953
|
if (this.a != null) {
|
|
937
954
|
let a = this.an.clone();
|
|
938
955
|
this.a.passCellClone(a);
|
|
@@ -940,7 +957,7 @@ let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
940
957
|
}
|
|
941
958
|
detach() {
|
|
942
959
|
}
|
|
943
|
-
|
|
960
|
+
db(a) {
|
|
944
961
|
}
|
|
945
962
|
}
|
|
946
963
|
GridCellBase.$t = /*@__PURE__*/ markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
|