igniteui-angular-data-grids 20.0.0-beta.1 → 20.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +3900 -3533
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- 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 +4 -4
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igx-cell-info.js +58 -49
- package/esm2015/lib/igx-checkbox-list-component.js +58 -55
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +121 -97
- package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-format-cell-event-args.js +82 -0
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- 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 +4 -4
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igx-cell-info.js +62 -49
- package/esm5/lib/igx-checkbox-list-component.js +62 -55
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +126 -97
- package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-format-cell-event-args.js +112 -0
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
- package/fesm5/igniteui-angular-data-grids.js +3900 -3535
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igx-cell-info.d.ts +5 -0
- package/lib/igx-checkbox-list-component.d.ts +2 -0
- package/lib/igx-data-grid-column-component.d.ts +10 -1
- package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
- package/lib/igx-format-cell-event-args.d.ts +45 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -18,6 +18,7 @@ import { CanvasViewRenderer } from "igniteui-angular-core";
|
|
|
18
18
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
19
19
|
import { truncate, isNaN_ } from "igniteui-angular-core";
|
|
20
20
|
import { ColumnSortDirection_$type } from "./ColumnSortDirection";
|
|
21
|
+
import { NativeUI } from "igniteui-angular-core";
|
|
21
22
|
import { EasingFunctions } from "igniteui-angular-core";
|
|
22
23
|
import { PathFigure } from "igniteui-angular-core";
|
|
23
24
|
import { LineSegment } from "igniteui-angular-core";
|
|
@@ -97,12 +98,12 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
97
98
|
}
|
|
98
99
|
this.c.l(0, 0, this.k, this.j);
|
|
99
100
|
this.c.aa();
|
|
100
|
-
this.c.ab(this.a.
|
|
101
|
+
this.c.ab(this.a.x(), this.a.x());
|
|
101
102
|
for (var c = 0; c < this.d.count; c++) {
|
|
102
103
|
this.c.k(this.d._inner[c].j);
|
|
103
104
|
var d = this.y();
|
|
104
|
-
if (this.a.
|
|
105
|
-
d = this.a.
|
|
105
|
+
if (this.a.a3 != null) {
|
|
106
|
+
d = this.a.a3;
|
|
106
107
|
}
|
|
107
108
|
this.d._inner[c]._stroke = d;
|
|
108
109
|
this.c.t(this.d._inner[c]);
|
|
@@ -111,20 +112,20 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
111
112
|
if (this.c.d && this.g != 1) {
|
|
112
113
|
this.c.z();
|
|
113
114
|
}
|
|
114
|
-
this.a.
|
|
115
|
+
this.a.aw();
|
|
115
116
|
};
|
|
116
117
|
GridSortIndicatorView.prototype.u = function () {
|
|
117
118
|
this.t();
|
|
118
119
|
};
|
|
119
120
|
GridSortIndicatorView.prototype.n = function () {
|
|
120
|
-
this.a.
|
|
121
|
+
this.a.aq(this.k, this.j, this.d);
|
|
121
122
|
};
|
|
122
123
|
GridSortIndicatorView.prototype.v = function () {
|
|
123
124
|
var _this = this;
|
|
124
125
|
if (this.d.count != 1) {
|
|
125
126
|
return;
|
|
126
127
|
}
|
|
127
|
-
this.d._inner[0]._opacity = this.a.
|
|
128
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
128
129
|
var a = { $type: Point_$type, x: this.k / 2, y: this.j / 2 };
|
|
129
130
|
var b = new TransformGroup();
|
|
130
131
|
b.j.add(((function () {
|
|
@@ -135,7 +136,7 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
135
136
|
})()));
|
|
136
137
|
b.j.add(((function () {
|
|
137
138
|
var $ret = new RotateTransform();
|
|
138
|
-
$ret.j = _this.a.
|
|
139
|
+
$ret.j = _this.a.s;
|
|
139
140
|
return $ret;
|
|
140
141
|
})()));
|
|
141
142
|
b.j.add(((function () {
|
|
@@ -147,23 +148,23 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
147
148
|
this.d._inner[0].j = b;
|
|
148
149
|
};
|
|
149
150
|
GridSortIndicatorView.prototype.o = function () {
|
|
150
|
-
this.a.
|
|
151
|
+
this.a.ar(this.k, this.j, this.d);
|
|
151
152
|
};
|
|
152
153
|
GridSortIndicatorView.prototype.w = function () {
|
|
153
154
|
if (this.d.count != 4) {
|
|
154
155
|
return;
|
|
155
156
|
}
|
|
156
|
-
this.d._inner[0]._opacity = this.a.
|
|
157
|
-
this.d._inner[1]._opacity = this.a.
|
|
158
|
-
this.d._inner[2]._opacity = this.a.
|
|
159
|
-
this.d._inner[3]._opacity = this.a.
|
|
157
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
158
|
+
this.d._inner[1]._opacity = this.a.t;
|
|
159
|
+
this.d._inner[2]._opacity = this.a.z;
|
|
160
|
+
this.d._inner[3]._opacity = this.a.z;
|
|
160
161
|
};
|
|
161
162
|
GridSortIndicatorView.prototype.p = function () {
|
|
162
|
-
this.a.
|
|
163
|
+
this.a.as(this.k, this.j, this.d);
|
|
163
164
|
};
|
|
164
165
|
GridSortIndicatorView.prototype.x = function () {
|
|
165
|
-
this.d._inner[0]._opacity = this.a.
|
|
166
|
-
this.d._inner[1]._opacity = this.a.
|
|
166
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
167
|
+
this.d._inner[1]._opacity = this.a.z;
|
|
167
168
|
};
|
|
168
169
|
GridSortIndicatorView.prototype.r = function (a) {
|
|
169
170
|
if (a == null) {
|
|
@@ -172,7 +173,7 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
172
173
|
this.c = null;
|
|
173
174
|
return;
|
|
174
175
|
}
|
|
175
|
-
this.g = (isNaN_(this.a.
|
|
176
|
+
this.g = (isNaN_(this.a.y) ? this.a.r : this.a.y);
|
|
176
177
|
var b = a;
|
|
177
178
|
this.l = b;
|
|
178
179
|
this.a.j.u(this.l);
|
|
@@ -198,26 +199,26 @@ var GridSortIndicatorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
198
199
|
this.m = h;
|
|
199
200
|
var i = this.l.get2DCanvasContext(this.m);
|
|
200
201
|
this.c = new RenderingContext(new CanvasViewRenderer(), i);
|
|
201
|
-
if (isNaN_(this.a.
|
|
202
|
-
this.a.
|
|
203
|
-
this.g = this.a.
|
|
202
|
+
if (isNaN_(this.a.y)) {
|
|
203
|
+
this.a.r = window.devicePixelRatio;
|
|
204
|
+
this.g = this.a.r;
|
|
204
205
|
}
|
|
205
206
|
this.t();
|
|
206
207
|
};
|
|
207
208
|
GridSortIndicatorView.prototype.s = function (a, b) {
|
|
208
|
-
if (isNaN_(this.a.
|
|
209
|
-
this.a.
|
|
210
|
-
this.g = this.a.
|
|
209
|
+
if (isNaN_(this.a.y)) {
|
|
210
|
+
this.a.r = window.devicePixelRatio;
|
|
211
|
+
this.g = this.a.r;
|
|
211
212
|
}
|
|
212
213
|
this.k = a;
|
|
213
214
|
this.j = b;
|
|
214
215
|
this.t();
|
|
215
216
|
};
|
|
216
217
|
GridSortIndicatorView.prototype.q = function () {
|
|
217
|
-
if (isNaN_(this.a.
|
|
218
|
-
this.a.
|
|
219
|
-
if (this.g != this.a.
|
|
220
|
-
this.g = this.a.
|
|
218
|
+
if (isNaN_(this.a.y)) {
|
|
219
|
+
this.a.r = window.devicePixelRatio;
|
|
220
|
+
if (this.g != this.a.r) {
|
|
221
|
+
this.g = this.a.r;
|
|
221
222
|
this.t();
|
|
222
223
|
}
|
|
223
224
|
}
|
|
@@ -236,47 +237,48 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
236
237
|
__extends(GridSortIndicator, _super);
|
|
237
238
|
function GridSortIndicator() {
|
|
238
239
|
var _this = _super.call(this) || this;
|
|
239
|
-
_this.
|
|
240
|
+
_this.ad = null;
|
|
240
241
|
_this.a = 0;
|
|
241
|
-
_this.
|
|
242
|
+
_this.a2 = null;
|
|
242
243
|
_this.k = true;
|
|
243
244
|
_this.propertyChanged = null;
|
|
244
245
|
_this.g = null;
|
|
245
246
|
_this.h = null;
|
|
246
|
-
_this.
|
|
247
|
-
_this.
|
|
247
|
+
_this.q = NaN;
|
|
248
|
+
_this.o = 1;
|
|
248
249
|
_this.e = 0;
|
|
249
|
-
_this.
|
|
250
|
-
_this.
|
|
251
|
-
_this.x = 0;
|
|
252
|
-
_this.t = 0;
|
|
250
|
+
_this.l = false;
|
|
251
|
+
_this.p = 0;
|
|
253
252
|
_this.s = 0;
|
|
254
253
|
_this.z = 0;
|
|
255
|
-
_this.
|
|
254
|
+
_this.v = 0;
|
|
256
255
|
_this.u = 0;
|
|
256
|
+
_this.ab = 0;
|
|
257
257
|
_this.aa = 0;
|
|
258
|
+
_this.w = 0;
|
|
259
|
+
_this.ac = 0;
|
|
258
260
|
_this.c = null;
|
|
259
261
|
_this.renderCompleted = null;
|
|
260
|
-
_this.
|
|
261
|
-
_this.
|
|
262
|
-
_this.
|
|
262
|
+
_this.t = 0;
|
|
263
|
+
_this.z = 0.5;
|
|
264
|
+
_this.s = 180;
|
|
263
265
|
_this.c = new GridSortIndicatorView(_this);
|
|
264
266
|
_this.g = new DoubleAnimator(0, 1, 400);
|
|
265
267
|
_this.h = new DoubleAnimator(0, 1, 400);
|
|
266
268
|
_this.g.b = EasingFunctions.cubicEase;
|
|
267
269
|
_this.h.b = EasingFunctions.cubicEase;
|
|
268
270
|
var a = _this.g;
|
|
269
|
-
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(_this, _this.
|
|
271
|
+
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(_this, _this.ao));
|
|
270
272
|
var b = _this.h;
|
|
271
|
-
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(_this, _this.
|
|
273
|
+
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(_this, _this.ap));
|
|
272
274
|
return _this;
|
|
273
275
|
}
|
|
274
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
276
|
+
Object.defineProperty(GridSortIndicator.prototype, "ae", {
|
|
275
277
|
get: function () {
|
|
276
|
-
return this.
|
|
278
|
+
return this.ad;
|
|
277
279
|
},
|
|
278
280
|
set: function (a) {
|
|
279
|
-
this.
|
|
281
|
+
this.ad = a;
|
|
280
282
|
},
|
|
281
283
|
enumerable: false,
|
|
282
284
|
configurable: true
|
|
@@ -289,27 +291,27 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
289
291
|
var b = this.a;
|
|
290
292
|
this.a = a;
|
|
291
293
|
if (b != this.a) {
|
|
292
|
-
this.
|
|
294
|
+
this.av("SortDirection", enumGetBox(ColumnSortDirection_$type, b), enumGetBox(ColumnSortDirection_$type, this.a));
|
|
293
295
|
}
|
|
294
296
|
},
|
|
295
297
|
enumerable: false,
|
|
296
298
|
configurable: true
|
|
297
299
|
});
|
|
298
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
300
|
+
Object.defineProperty(GridSortIndicator.prototype, "a3", {
|
|
299
301
|
get: function () {
|
|
300
|
-
return this.
|
|
302
|
+
return this.a2;
|
|
301
303
|
},
|
|
302
304
|
set: function (a) {
|
|
303
|
-
var b = this.
|
|
304
|
-
this.
|
|
305
|
-
if (b != this.
|
|
306
|
-
this.
|
|
305
|
+
var b = this.a2;
|
|
306
|
+
this.a2 = a;
|
|
307
|
+
if (b != this.a2) {
|
|
308
|
+
this.av("IconColor", b, this.a2);
|
|
307
309
|
}
|
|
308
310
|
},
|
|
309
311
|
enumerable: false,
|
|
310
312
|
configurable: true
|
|
311
313
|
});
|
|
312
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
314
|
+
Object.defineProperty(GridSortIndicator.prototype, "m", {
|
|
313
315
|
get: function () {
|
|
314
316
|
return this.k;
|
|
315
317
|
},
|
|
@@ -317,7 +319,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
317
319
|
var b = this.k;
|
|
318
320
|
this.k = a;
|
|
319
321
|
if (b != this.k) {
|
|
320
|
-
this.
|
|
322
|
+
this.av("IsAnimationEnabled", b, this.k);
|
|
321
323
|
}
|
|
322
324
|
},
|
|
323
325
|
enumerable: false,
|
|
@@ -337,26 +339,26 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
337
339
|
enumerable: false,
|
|
338
340
|
configurable: true
|
|
339
341
|
});
|
|
340
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
342
|
+
Object.defineProperty(GridSortIndicator.prototype, "y", {
|
|
341
343
|
get: function () {
|
|
342
|
-
return this.
|
|
344
|
+
return this.q;
|
|
343
345
|
},
|
|
344
346
|
set: function (a) {
|
|
345
|
-
var b = this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
347
|
+
var b = this.q;
|
|
348
|
+
this.q = a;
|
|
349
|
+
this.av("PixelScalingRatio", b, this.q);
|
|
348
350
|
},
|
|
349
351
|
enumerable: false,
|
|
350
352
|
configurable: true
|
|
351
353
|
});
|
|
352
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
354
|
+
Object.defineProperty(GridSortIndicator.prototype, "r", {
|
|
353
355
|
get: function () {
|
|
354
|
-
return this.
|
|
356
|
+
return this.o;
|
|
355
357
|
},
|
|
356
358
|
set: function (a) {
|
|
357
|
-
var b = this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
359
|
+
var b = this.o;
|
|
360
|
+
this.o = a;
|
|
361
|
+
this.av("ActualPixelScalingRatio", b, this.o);
|
|
360
362
|
},
|
|
361
363
|
enumerable: false,
|
|
362
364
|
configurable: true
|
|
@@ -369,36 +371,50 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
369
371
|
var b = this.e;
|
|
370
372
|
this.e = a;
|
|
371
373
|
if (b != this.e) {
|
|
372
|
-
this.
|
|
374
|
+
this.av("SortIndicatorStyle", enumGetBox(SortIndicatorStyle_$type, b), enumGetBox(SortIndicatorStyle_$type, this.e));
|
|
373
375
|
}
|
|
374
376
|
},
|
|
375
377
|
enumerable: false,
|
|
376
378
|
configurable: true
|
|
377
379
|
});
|
|
378
|
-
GridSortIndicator.prototype
|
|
379
|
-
|
|
380
|
+
Object.defineProperty(GridSortIndicator.prototype, "n", {
|
|
381
|
+
get: function () {
|
|
382
|
+
return this.l;
|
|
383
|
+
},
|
|
384
|
+
set: function (a) {
|
|
385
|
+
var b = this.l;
|
|
386
|
+
this.l = a;
|
|
387
|
+
if (b != this.l) {
|
|
388
|
+
this.av("IsHitTestVisible", b, this.l);
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
enumerable: false,
|
|
392
|
+
configurable: true
|
|
393
|
+
});
|
|
394
|
+
GridSortIndicator.prototype.av = function (a, b, c) {
|
|
395
|
+
this.az(a, b, c);
|
|
380
396
|
if (this.propertyChanged != null) {
|
|
381
397
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
382
398
|
}
|
|
383
399
|
};
|
|
384
|
-
Object.defineProperty(GridSortIndicator.prototype, "
|
|
400
|
+
Object.defineProperty(GridSortIndicator.prototype, "t", {
|
|
385
401
|
get: function () {
|
|
386
|
-
return this.
|
|
402
|
+
return this.p;
|
|
387
403
|
},
|
|
388
404
|
set: function (a) {
|
|
389
|
-
var b = this.
|
|
390
|
-
this.
|
|
405
|
+
var b = this.p;
|
|
406
|
+
this.p = a;
|
|
391
407
|
if (b != a) {
|
|
392
|
-
this.
|
|
408
|
+
this.av("CurrentOpacity", b, a);
|
|
393
409
|
}
|
|
394
410
|
},
|
|
395
411
|
enumerable: false,
|
|
396
412
|
configurable: true
|
|
397
413
|
});
|
|
398
|
-
GridSortIndicator.prototype.
|
|
414
|
+
GridSortIndicator.prototype.az = function (a, b, c) {
|
|
399
415
|
switch (a) {
|
|
400
416
|
case "PixelScalingRatio":
|
|
401
|
-
this.
|
|
417
|
+
this.r = this.y;
|
|
402
418
|
break;
|
|
403
419
|
case "ActualPixelScalingRatio":
|
|
404
420
|
this.c.u();
|
|
@@ -409,62 +425,65 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
409
425
|
case "SortIndicatorStyle":
|
|
410
426
|
switch (this.f) {
|
|
411
427
|
case 0:
|
|
412
|
-
this.
|
|
428
|
+
this.ax(this.b, false);
|
|
413
429
|
break;
|
|
414
430
|
case 1:
|
|
415
431
|
case 2:
|
|
416
|
-
this.
|
|
432
|
+
this.ay(this.b, false);
|
|
417
433
|
break;
|
|
418
434
|
}
|
|
419
435
|
break;
|
|
420
436
|
case "SortDirection":
|
|
421
437
|
switch (this.f) {
|
|
422
438
|
case 0:
|
|
423
|
-
this.
|
|
439
|
+
this.ax(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
424
440
|
break;
|
|
425
441
|
case 1:
|
|
426
442
|
case 2:
|
|
427
|
-
this.
|
|
443
|
+
this.ay(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
428
444
|
break;
|
|
429
445
|
}
|
|
430
446
|
break;
|
|
447
|
+
case "IsHitTestVisible":
|
|
448
|
+
NativeUI.u(this.c.m, this.n);
|
|
449
|
+
break;
|
|
431
450
|
}
|
|
432
451
|
};
|
|
433
|
-
GridSortIndicator.prototype.
|
|
452
|
+
GridSortIndicator.prototype.ap = function (a, b) {
|
|
434
453
|
switch (this.f) {
|
|
435
454
|
case 0:
|
|
436
|
-
this.
|
|
455
|
+
this.t = this.v + this.h.o * (this.ab - this.v);
|
|
437
456
|
break;
|
|
438
457
|
case 1:
|
|
439
458
|
case 2:
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
459
|
+
this.t = this.v + this.h.o * (this.ab - this.v);
|
|
460
|
+
this.z = this.w + this.h.o * (this.ac - this.w);
|
|
442
461
|
break;
|
|
443
462
|
}
|
|
444
463
|
this.c.u();
|
|
445
464
|
};
|
|
446
|
-
GridSortIndicator.prototype.
|
|
447
|
-
this.
|
|
465
|
+
GridSortIndicator.prototype.ao = function (a, b) {
|
|
466
|
+
this.s = this.u + this.g.o * (this.aa - this.u);
|
|
448
467
|
this.c.u();
|
|
449
468
|
};
|
|
450
|
-
GridSortIndicator.prototype.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
453
|
-
if (this.
|
|
469
|
+
GridSortIndicator.prototype.ax = function (a, b) {
|
|
470
|
+
this.v = this.t;
|
|
471
|
+
this.u = this.s;
|
|
472
|
+
if (this.m || this.g.f() || this.h.f()) {
|
|
454
473
|
this.g.w();
|
|
455
474
|
this.h.w();
|
|
456
475
|
}
|
|
457
476
|
if (a == 0) {
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
477
|
+
this.ab = 0;
|
|
478
|
+
this.aa = 180;
|
|
460
479
|
}
|
|
461
480
|
else {
|
|
462
|
-
this.
|
|
481
|
+
this.ab = 1;
|
|
463
482
|
if (a == 1) {
|
|
464
|
-
this.
|
|
483
|
+
this.aa = 180;
|
|
465
484
|
}
|
|
466
485
|
else {
|
|
467
|
-
this.
|
|
486
|
+
this.aa = 0;
|
|
468
487
|
}
|
|
469
488
|
}
|
|
470
489
|
if (b) {
|
|
@@ -472,41 +491,41 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
472
491
|
this.h.v();
|
|
473
492
|
}
|
|
474
493
|
else {
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
494
|
+
this.s = this.aa;
|
|
495
|
+
this.t = this.ab;
|
|
477
496
|
this.c.u();
|
|
478
497
|
}
|
|
479
498
|
};
|
|
480
|
-
GridSortIndicator.prototype.
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
483
|
-
if (this.
|
|
499
|
+
GridSortIndicator.prototype.ay = function (a, b) {
|
|
500
|
+
this.v = this.t;
|
|
501
|
+
this.w = this.z;
|
|
502
|
+
if (this.m || this.h.f()) {
|
|
484
503
|
this.h.w();
|
|
485
504
|
}
|
|
486
505
|
switch (a) {
|
|
487
506
|
case 0:
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
507
|
+
this.ab = 0.4;
|
|
508
|
+
this.ac = 0.4;
|
|
490
509
|
break;
|
|
491
510
|
case 1:
|
|
492
|
-
this.
|
|
493
|
-
this.
|
|
511
|
+
this.ab = 1;
|
|
512
|
+
this.ac = 0.2;
|
|
494
513
|
break;
|
|
495
514
|
case 2:
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
515
|
+
this.ab = 0.2;
|
|
516
|
+
this.ac = 1;
|
|
498
517
|
break;
|
|
499
518
|
}
|
|
500
519
|
if (b) {
|
|
501
520
|
this.h.v();
|
|
502
521
|
}
|
|
503
522
|
else {
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
523
|
+
this.t = this.ab;
|
|
524
|
+
this.z = this.ac;
|
|
506
525
|
this.c.u();
|
|
507
526
|
}
|
|
508
527
|
};
|
|
509
|
-
GridSortIndicator.prototype.
|
|
528
|
+
GridSortIndicator.prototype.x = function () {
|
|
510
529
|
switch (this.f) {
|
|
511
530
|
case 0: return 1;
|
|
512
531
|
case 1: return 0.71;
|
|
@@ -514,23 +533,24 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
514
533
|
}
|
|
515
534
|
return 1;
|
|
516
535
|
};
|
|
517
|
-
GridSortIndicator.prototype.
|
|
536
|
+
GridSortIndicator.prototype.a0 = function (a) {
|
|
518
537
|
this.c.r(a);
|
|
538
|
+
NativeUI.u(this.c.m, this.n);
|
|
519
539
|
};
|
|
520
|
-
GridSortIndicator.prototype.
|
|
540
|
+
GridSortIndicator.prototype.a1 = function (a) {
|
|
521
541
|
this.j.u(a);
|
|
522
542
|
this.i.u(a);
|
|
523
543
|
};
|
|
524
|
-
GridSortIndicator.prototype.
|
|
544
|
+
GridSortIndicator.prototype.af = function () {
|
|
525
545
|
return this.c.m.getNativeElement();
|
|
526
546
|
};
|
|
527
|
-
GridSortIndicator.prototype.
|
|
547
|
+
GridSortIndicator.prototype.au = function (a, b) {
|
|
528
548
|
this.c.s(a, b);
|
|
529
549
|
};
|
|
530
|
-
GridSortIndicator.prototype.
|
|
550
|
+
GridSortIndicator.prototype.at = function () {
|
|
531
551
|
this.c.q();
|
|
532
552
|
};
|
|
533
|
-
GridSortIndicator.prototype.
|
|
553
|
+
GridSortIndicator.prototype.aq = function (a, b, c) {
|
|
534
554
|
var d = Math.min(a, b);
|
|
535
555
|
var e = { $type: Point_$type, x: a / 2, y: b / 2 };
|
|
536
556
|
var f = d * 0.5;
|
|
@@ -560,7 +580,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
560
580
|
p.am = 2;
|
|
561
581
|
c.add(p);
|
|
562
582
|
};
|
|
563
|
-
GridSortIndicator.prototype.
|
|
583
|
+
GridSortIndicator.prototype.ar = function (a, b, c) {
|
|
564
584
|
var _this = this;
|
|
565
585
|
var d = Geometry.a("M3.792172, 7.800278 L7.983785, 3.635676 L12.148387, 7.800278L12.148387, 7.800278");
|
|
566
586
|
var e = Geometry.a("M7.97027972,4.10930186 L7.97027972,13.8116223 L7.97027972,4.10930186 Z");
|
|
@@ -599,7 +619,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
599
619
|
return $ret;
|
|
600
620
|
})()));
|
|
601
621
|
};
|
|
602
|
-
GridSortIndicator.prototype.
|
|
622
|
+
GridSortIndicator.prototype.as = function (a, b, c) {
|
|
603
623
|
var _this = this;
|
|
604
624
|
var d = { $type: Point_$type, x: a / 2, y: b / 2 };
|
|
605
625
|
var e = { $type: Point_$type, x: d.x - 3.5, y: d.y - 1.5 };
|
|
@@ -623,7 +643,7 @@ var GridSortIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
623
643
|
return $ret;
|
|
624
644
|
})()));
|
|
625
645
|
};
|
|
626
|
-
GridSortIndicator.prototype.
|
|
646
|
+
GridSortIndicator.prototype.aw = function () {
|
|
627
647
|
if (this.renderCompleted != null) {
|
|
628
648
|
this.renderCompleted(this, new SortIndicatorRenderCompletedEventArgs());
|
|
629
649
|
}
|
|
@@ -90,8 +90,8 @@ var SummaryChooserView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
90
|
this.e();
|
|
91
91
|
};
|
|
92
92
|
SummaryChooserView.prototype.e = function () {
|
|
93
|
-
if (this.model.f.
|
|
94
|
-
var a = this.model.r.count * this.model.f.
|
|
93
|
+
if (this.model.f.bf > -1) {
|
|
94
|
+
var a = this.model.r.count * this.model.f.bf;
|
|
95
95
|
a += 4;
|
|
96
96
|
this.d.setStyleProperty("height", a + "px");
|
|
97
97
|
}
|
|
@@ -395,12 +395,12 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
395
395
|
SummaryChooser.prototype.a6 = function () {
|
|
396
396
|
if (this.e != null) {
|
|
397
397
|
this.e.density = this.m;
|
|
398
|
-
this.e.
|
|
398
|
+
this.e.fe = this.ba;
|
|
399
399
|
this.e.baseTheme = this.i;
|
|
400
400
|
this.e.backgroundColor = this.a9;
|
|
401
401
|
this.e.showSelectAll = false;
|
|
402
|
-
this.e.
|
|
403
|
-
this.e.
|
|
402
|
+
this.e.a6 = false;
|
|
403
|
+
this.e.a2 = false;
|
|
404
404
|
this.e.updateHrMargin(new Thickness(1, -7, 3, -7, 3));
|
|
405
405
|
this.e.itemsSource = this.q;
|
|
406
406
|
this.e.dataMemberPath = "label";
|
|
@@ -454,7 +454,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
454
454
|
if (d.iD == a) {
|
|
455
455
|
d.isSelected = b;
|
|
456
456
|
if (this.e != null) {
|
|
457
|
-
this.e.
|
|
457
|
+
this.e.dl(c, d, d);
|
|
458
458
|
}
|
|
459
459
|
break;
|
|
460
460
|
}
|
|
@@ -466,7 +466,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
466
466
|
c.label = b;
|
|
467
467
|
this.q.add(c);
|
|
468
468
|
if (this.e != null) {
|
|
469
|
-
this.e.
|
|
469
|
+
this.e.di(this.q.count - 1, c);
|
|
470
470
|
}
|
|
471
471
|
this.c.onItemInserted();
|
|
472
472
|
};
|
|
@@ -476,7 +476,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
476
476
|
if (c.iD == a) {
|
|
477
477
|
this.q.removeAt(b);
|
|
478
478
|
if (this.e != null) {
|
|
479
|
-
this.e.
|
|
479
|
+
this.e.dk(b, c);
|
|
480
480
|
}
|
|
481
481
|
break;
|
|
482
482
|
}
|
|
@@ -489,7 +489,7 @@ var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
489
489
|
if (d.iD == a) {
|
|
490
490
|
d.label = b;
|
|
491
491
|
if (this.e != null) {
|
|
492
|
-
this.e.
|
|
492
|
+
this.e.dl(c, d, d);
|
|
493
493
|
}
|
|
494
494
|
break;
|
|
495
495
|
}
|
|
@@ -29,23 +29,23 @@ var ImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a3) {
|
|
32
|
-
if (a.a8(CellModel.fa) || a.a8(CellModel.
|
|
32
|
+
if (a.a8(CellModel.fa) || a.a8(CellModel.hd)) {
|
|
33
33
|
var c = Math.min(1, Math.max(0, a.ct));
|
|
34
34
|
var d = a.cj * (1 - c);
|
|
35
35
|
this.d.co = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.a8(ImageCellModel.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.a8(ImageCellModel.mn) || b.a8(ImageCellModel.mo)) {
|
|
38
|
+
this.e(b.mr, b.mk);
|
|
39
39
|
}
|
|
40
|
-
if (b.a8(ImageCellModel.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.a8(ImageCellModel.mp) || b.a8(ImageCellModel.fw) || b.a8(ImageCellModel.hc)) {
|
|
41
|
+
this.f(b.mm, b.g, b.i);
|
|
42
42
|
}
|
|
43
43
|
if (b.a8(ImageCellModel.g6)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
45
|
this.d.ct();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
|
-
this.e(b.
|
|
48
|
+
this.e(b.mr, b.mk);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -712,7 +712,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
712
712
|
}
|
|
713
713
|
var f = this.g;
|
|
714
714
|
var g = this.g.p();
|
|
715
|
-
e = g.
|
|
715
|
+
e = g.lu();
|
|
716
716
|
}
|
|
717
717
|
d.d = e;
|
|
718
718
|
d.b = a;
|
|
@@ -2776,7 +2776,7 @@ var MultiColumnComboBox = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2776
2776
|
try {
|
|
2777
2777
|
for (var _b = __values(fromEnum(c)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2778
2778
|
var d = _c.value;
|
|
2779
|
-
if (0 == StringComparer.b.compare(d.
|
|
2779
|
+
if (0 == StringComparer.b.compare(d.lp, a)) {
|
|
2780
2780
|
return d;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
@@ -29,17 +29,20 @@ var NumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a3) {
|
|
32
|
-
if (a.a8(NumericCellModel.
|
|
33
|
-
b.
|
|
34
|
-
this.d.cl.setRawText(b.
|
|
32
|
+
if (a.a8(NumericCellModel.m8) || a.a8(NumericCellModel.mw) || a.a8(NumericCellModel.hb) || b.mp()) {
|
|
33
|
+
b.j3 = this.e(b);
|
|
34
|
+
this.d.cl.setRawText(b.j3);
|
|
35
35
|
}
|
|
36
36
|
ContentCellModelHelper.a(this.a.ae, b, this.a.ah, this.d.cl, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
NumericCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
if (a.ki != null) {
|
|
41
|
+
return a.ki;
|
|
42
|
+
}
|
|
43
|
+
if (a.ne != null) {
|
|
44
|
+
var val_ = a.ms;
|
|
45
|
+
var override_ = a.ne;
|
|
43
46
|
return (override_.format(val_));
|
|
44
47
|
}
|
|
45
48
|
return NumericCellFormatter.c(a);
|