igniteui-webcomponents-grids 3.2.2 → 3.2.4
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 +10275 -9381
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +5 -0
- package/esm2015/lib/CanvasCellPresenterBase.js +10 -10
- package/esm2015/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm2015/lib/CanvasGridCellBase.js +305 -289
- package/esm2015/lib/CanvasImageCell.js +29 -29
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCell.js +2 -2
- package/esm2015/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasSummaryCell.js +51 -51
- package/esm2015/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateCell.js +7 -7
- package/esm2015/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCell.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPresenterBase.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +341 -306
- package/esm2015/lib/ColumnChooserView_combined.js +22 -22
- package/esm2015/lib/ColumnFilterCondition_combined.js +7531 -7208
- package/esm2015/lib/ColumnGroupDescription.js +22 -0
- package/esm2015/lib/ColumnGroupDescriptionCollection.js +14 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +25 -25
- package/esm2015/lib/ColumnPinningView_combined.js +22 -22
- package/esm2015/lib/ColumnSortDescriptionCollection.js +12 -6
- package/esm2015/lib/ColumnSummaryDescriptionCollection.js +12 -6
- package/esm2015/lib/ComboEditorView.js +6 -3
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +17 -17
- package/esm2015/lib/DateTimeColumnValueFormatter.js +90 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm2015/lib/GridExternalWrapper.js +18 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/ISummaryChooserView_combined.js +13 -13
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm2015/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm2015/lib/NumericCellPresenter.js +1 -1
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextEditorView.js +28 -10
- package/esm2015/lib/VerticalSeparatorCell.js +46 -8
- package/esm2015/lib/VisualModelExport.js +120 -100
- package/esm2015/lib/igc-checkbox-list-component.js +74 -54
- package/esm2015/lib/igc-column-component.js +164 -164
- package/esm2015/lib/igc-column-group-description-collection.js +13 -3
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-column-sort-description-collection.js +13 -3
- package/esm2015/lib/igc-column-summary-description-collection.js +13 -3
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-component.js +699 -593
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +50 -50
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/BaseEditorView.js +5 -0
- package/esm5/lib/CanvasCellPresenterBase.js +10 -10
- package/esm5/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm5/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm5/lib/CanvasGridCellBase.js +304 -288
- package/esm5/lib/CanvasImageCell.js +28 -28
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCell.js +2 -2
- package/esm5/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasSummaryCell.js +51 -51
- package/esm5/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateCell.js +7 -7
- package/esm5/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCell.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +24 -24
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPresenterBase.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +339 -296
- package/esm5/lib/ColumnChooserView_combined.js +22 -22
- package/esm5/lib/ColumnFilterCondition_combined.js +7352 -6962
- package/esm5/lib/ColumnGroupDescription.js +22 -0
- package/esm5/lib/ColumnGroupDescriptionCollection.js +18 -8
- package/esm5/lib/ColumnGroupingView_combined.js +25 -25
- package/esm5/lib/ColumnPinningView_combined.js +22 -22
- package/esm5/lib/ColumnSortDescriptionCollection.js +16 -6
- package/esm5/lib/ColumnSummaryDescriptionCollection.js +16 -6
- package/esm5/lib/ComboEditorView.js +6 -3
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +17 -17
- package/esm5/lib/DateTimeColumnValueFormatter.js +92 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm5/lib/GridExternalWrapper.js +18 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/ISummaryChooserView_combined.js +13 -13
- package/esm5/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm5/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm5/lib/NumericCellPresenter.js +1 -1
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextEditorView.js +28 -10
- package/esm5/lib/VerticalSeparatorCell.js +46 -8
- package/esm5/lib/VisualModelExport.js +120 -100
- package/esm5/lib/igc-checkbox-list-component.js +82 -54
- package/esm5/lib/igc-column-component.js +164 -164
- package/esm5/lib/igc-column-group-description-collection.js +17 -3
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-column-sort-description-collection.js +17 -3
- package/esm5/lib/igc-column-summary-description-collection.js +17 -3
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-component.js +743 -601
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +50 -50
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/fesm2015/igniteui-webcomponents-grids.js +10315 -9565
- package/fesm5/igniteui-webcomponents-grids.js +10276 -9382
- package/lib/CanvasGridCellBase.d.ts +95 -93
- package/lib/CanvasImageCell.d.ts +11 -11
- package/lib/CanvasSectionHeaderCell.d.ts +1 -1
- package/lib/CanvasSummaryCell.d.ts +15 -15
- package/lib/CanvasTemplateCell.d.ts +4 -4
- package/lib/CanvasTemplateHeaderCell.d.ts +4 -4
- package/lib/CanvasTextCell.d.ts +1 -1
- package/lib/CanvasTextHeaderCell.d.ts +6 -6
- package/lib/CheckboxListView_combined.d.ts +74 -69
- package/lib/ColumnFilterCondition_combined.d.ts +1306 -1264
- package/lib/ColumnGroupDescription.d.ts +1 -0
- package/lib/ColumnGroupDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSortDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSummaryDescriptionCollection.d.ts +8 -7
- package/lib/DataGridCellLayoutPanel.d.ts +1 -0
- package/lib/DateTimeColumnValueFormatter.d.ts +19 -1
- package/lib/GridExternalWrapper.d.ts +4 -0
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextEditorView.d.ts +5 -3
- package/lib/VerticalSeparatorCell.d.ts +9 -0
- package/lib/VisualModelExport.d.ts +31 -26
- package/lib/igc-checkbox-list-component.d.ts +9 -0
- package/lib/igc-column-group-description-collection.d.ts +4 -0
- package/lib/igc-column-sort-description-collection.d.ts +4 -0
- package/lib/igc-column-summary-description-collection.d.ts +4 -0
- package/lib/igc-data-grid-component.d.ts +30 -2
- package/package.json +4 -4
|
@@ -14,56 +14,56 @@ var CanvasImageCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
tslib_1.__extends(CanvasImageCell, _super);
|
|
15
15
|
function CanvasImageCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.c5 = 1;
|
|
18
|
-
_this.c6 = 3;
|
|
19
|
-
_this.da = null;
|
|
20
17
|
_this.c7 = 1;
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
18
|
+
_this.c8 = 3;
|
|
19
|
+
_this.dc = null;
|
|
20
|
+
_this.c9 = 1;
|
|
21
|
+
_this.db = null;
|
|
22
|
+
_this.db = a.createElement("img");
|
|
23
23
|
return _this;
|
|
24
24
|
}
|
|
25
|
-
Object.defineProperty(CanvasImageCell.prototype, "
|
|
25
|
+
Object.defineProperty(CanvasImageCell.prototype, "da", {
|
|
26
26
|
get: function () {
|
|
27
|
-
return this.
|
|
27
|
+
return this.c9;
|
|
28
28
|
},
|
|
29
29
|
set: function (a) {
|
|
30
|
-
this.
|
|
30
|
+
this.c9 = a;
|
|
31
31
|
},
|
|
32
32
|
enumerable: true,
|
|
33
33
|
configurable: true
|
|
34
34
|
});
|
|
35
|
-
CanvasImageCell.prototype.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
35
|
+
CanvasImageCell.prototype.df = function (a, b) {
|
|
36
|
+
this.dd();
|
|
37
|
+
this.db.setRawStyleProperty("opacity", "0");
|
|
38
38
|
if (a == null || a.length == 0) {
|
|
39
|
-
this.
|
|
39
|
+
this.de(this.db);
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
if (Base.equalsStatic(a, this.
|
|
42
|
+
if (Base.equalsStatic(a, this.dc)) {
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
this.
|
|
45
|
+
this.di(a, b);
|
|
46
46
|
};
|
|
47
|
-
CanvasImageCell.prototype.
|
|
47
|
+
CanvasImageCell.prototype.de = function (a) {
|
|
48
48
|
a.setAttribute("src", "");
|
|
49
49
|
};
|
|
50
|
-
CanvasImageCell.prototype.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
50
|
+
CanvasImageCell.prototype.di = function (a, b) {
|
|
51
|
+
this.dc = a;
|
|
52
|
+
this.db.setAttribute("src", a);
|
|
53
53
|
};
|
|
54
|
-
CanvasImageCell.prototype.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
54
|
+
CanvasImageCell.prototype.dd = function () {
|
|
55
|
+
this.de(this.db);
|
|
56
|
+
this.dc = "";
|
|
57
57
|
};
|
|
58
|
-
CanvasImageCell.prototype.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
58
|
+
CanvasImageCell.prototype.dg = function (a) {
|
|
59
|
+
this.aa = true;
|
|
60
|
+
this.c7 = a;
|
|
61
61
|
};
|
|
62
|
-
CanvasImageCell.prototype.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
62
|
+
CanvasImageCell.prototype.dh = function (a) {
|
|
63
|
+
this.aa = true;
|
|
64
|
+
this.c8 = a;
|
|
65
65
|
};
|
|
66
|
-
CanvasImageCell.prototype.
|
|
66
|
+
CanvasImageCell.prototype.get_ac = function () {
|
|
67
67
|
return true;
|
|
68
68
|
};
|
|
69
69
|
CanvasImageCell.$t = markType(CanvasImageCell, 'CanvasImageCell', CanvasGridCellBase.$);
|
|
@@ -32,7 +32,7 @@ var CanvasImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
32
32
|
if (a.a3(CellModel.es) || a.a3(CellModel.gt)) {
|
|
33
33
|
var c = Math.min(1, Math.max(0, a.ck));
|
|
34
34
|
var d = a.ca * (1 - c);
|
|
35
|
-
this.d.
|
|
35
|
+
this.d.da = d;
|
|
36
36
|
}
|
|
37
37
|
if (b.a3(ImageCellModel.ln) || b.a3(ImageCellModel.lo)) {
|
|
38
38
|
this.e(b.lr, b.lk);
|
|
@@ -42,7 +42,7 @@ var CanvasImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
42
42
|
}
|
|
43
43
|
if (b.a3(ImageCellModel.gn)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
|
-
this.d.
|
|
45
|
+
this.d.dd();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
48
|
this.e(b.lr, b.lk);
|
|
@@ -58,35 +58,35 @@ var CanvasImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
58
58
|
b = 4;
|
|
59
59
|
}
|
|
60
60
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
61
|
-
this.d.
|
|
61
|
+
this.d.df(a, 4);
|
|
62
62
|
}
|
|
63
63
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
64
64
|
var d = a;
|
|
65
65
|
if (stringStartsWith(c, "asset")) {
|
|
66
66
|
d = a.substr(8);
|
|
67
67
|
}
|
|
68
|
-
this.d.
|
|
68
|
+
this.d.df(d, 2);
|
|
69
69
|
}
|
|
70
70
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
71
71
|
var e = a;
|
|
72
72
|
if (stringStartsWith(c, "drawable")) {
|
|
73
73
|
e = a.substr(11);
|
|
74
74
|
}
|
|
75
|
-
this.d.
|
|
75
|
+
this.d.df(e, 1);
|
|
76
76
|
}
|
|
77
77
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
78
78
|
var f = a;
|
|
79
79
|
if (stringStartsWith(c, "nativeresource")) {
|
|
80
80
|
f = a.substr(17);
|
|
81
81
|
}
|
|
82
|
-
this.d.
|
|
82
|
+
this.d.df(f, 1);
|
|
83
83
|
}
|
|
84
84
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
85
85
|
var g = a;
|
|
86
86
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
87
87
|
g = a.substr(19);
|
|
88
88
|
}
|
|
89
|
-
this.d.
|
|
89
|
+
this.d.df(g, 3);
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
CanvasImageCellPresenter.$t = markType(CanvasImageCellPresenter, 'CanvasImageCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -14,8 +14,8 @@ var CanvasNumericCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
tslib_1.__extends(CanvasNumericCell, _super);
|
|
15
15
|
function CanvasNumericCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.ci(2);
|
|
18
|
+
_this.cq(1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
21
|
CanvasNumericCell.$t = markType(CanvasNumericCell, 'CanvasNumericCell', CanvasTextCell.$);
|
|
@@ -31,9 +31,9 @@ var CanvasNumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
31
31
|
if (a.ay) {
|
|
32
32
|
if (a.a3(NumericCellModel.l8) || b.lp()) {
|
|
33
33
|
b.jb = this.e(b);
|
|
34
|
-
this.d.
|
|
34
|
+
this.d.co(b.jb);
|
|
35
35
|
}
|
|
36
|
-
CanvasContentCellModelHelper.a(this.a.
|
|
36
|
+
CanvasContentCellModelHelper.a(this.a.bn, b, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
CanvasNumericCellPresenter.prototype.e = function (a) {
|
|
@@ -42,7 +42,7 @@ var CanvasNumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
42
42
|
var override_ = a.me;
|
|
43
43
|
return (override_.format(val_));
|
|
44
44
|
}
|
|
45
|
-
return NumericCellFormatter.
|
|
45
|
+
return NumericCellFormatter.c(a);
|
|
46
46
|
};
|
|
47
47
|
CanvasNumericCellPresenter.$t = markType(CanvasNumericCellPresenter, 'CanvasNumericCellPresenter', CanvasCellPresenterBase.$);
|
|
48
48
|
return CanvasNumericCellPresenter;
|
|
@@ -14,11 +14,11 @@ var CanvasSectionHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
tslib_1.__extends(CanvasSectionHeaderCell, _super);
|
|
15
15
|
function CanvasSectionHeaderCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.ci(0);
|
|
18
|
+
_this.cq(1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
-
CanvasSectionHeaderCell.prototype.
|
|
21
|
+
CanvasSectionHeaderCell.prototype.get_ac = function () {
|
|
22
22
|
return true;
|
|
23
23
|
};
|
|
24
24
|
CanvasSectionHeaderCell.$t = markType(CanvasSectionHeaderCell, 'CanvasSectionHeaderCell', CanvasGridCellBase.$);
|
|
@@ -45,9 +45,9 @@ var CanvasSectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
45
45
|
b.jb = b.lz;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.co(b.jb);
|
|
49
49
|
}
|
|
50
|
-
CanvasContentCellModelHelper.a(this.a.
|
|
50
|
+
CanvasContentCellModelHelper.a(this.a.bn, b, this.a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
CanvasSectionHeaderCellPresenter.$t = markType(CanvasSectionHeaderCellPresenter, 'CanvasSectionHeaderCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -18,80 +18,80 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
18
18
|
tslib_1.__extends(CanvasSummaryCell, _super);
|
|
19
19
|
function CanvasSummaryCell(a) {
|
|
20
20
|
var _this = _super.call(this, a) || this;
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.c9 = 0;
|
|
24
|
-
_this.da = 0;
|
|
25
|
-
_this.c8 = 0;
|
|
26
|
-
_this.c5 = null;
|
|
27
|
-
_this.dc = 0;
|
|
28
|
-
_this.c6 = false;
|
|
29
|
-
_this.c7 = true;
|
|
21
|
+
_this.df = null;
|
|
22
|
+
_this.dk = new TextBlock();
|
|
30
23
|
_this.db = 0;
|
|
31
|
-
_this.
|
|
24
|
+
_this.dc = 0;
|
|
25
|
+
_this.da = 0;
|
|
26
|
+
_this.c7 = null;
|
|
27
|
+
_this.de = 0;
|
|
28
|
+
_this.c8 = false;
|
|
29
|
+
_this.c9 = true;
|
|
30
|
+
_this.dd = 0;
|
|
31
|
+
_this.ci(2);
|
|
32
32
|
return _this;
|
|
33
33
|
}
|
|
34
|
-
CanvasSummaryCell.prototype.
|
|
35
|
-
_super.prototype.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
34
|
+
CanvasSummaryCell.prototype.cr = function (a) {
|
|
35
|
+
_super.prototype.cr.call(this, a);
|
|
36
|
+
this.bh = intDivide(a, 2);
|
|
37
|
+
this.c9 = true;
|
|
38
38
|
};
|
|
39
|
-
CanvasSummaryCell.prototype.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
39
|
+
CanvasSummaryCell.prototype.di = function (a) {
|
|
40
|
+
this.c7 = a;
|
|
41
|
+
this.c8 = true;
|
|
42
|
+
this.aa = true;
|
|
43
|
+
this.c9 = true;
|
|
44
44
|
};
|
|
45
|
-
CanvasSummaryCell.prototype.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
45
|
+
CanvasSummaryCell.prototype.dg = function (a) {
|
|
46
|
+
this.df = a;
|
|
47
|
+
this.dk.al = this.df;
|
|
48
|
+
this.aa = true;
|
|
49
|
+
this.c9 = true;
|
|
50
50
|
};
|
|
51
|
-
CanvasSummaryCell.prototype.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
51
|
+
CanvasSummaryCell.prototype.dh = function (a) {
|
|
52
|
+
this.aa = true;
|
|
53
|
+
this.dk.ao = ((function () {
|
|
54
54
|
var $ret = new Brush();
|
|
55
55
|
$ret.color = a;
|
|
56
56
|
return $ret;
|
|
57
57
|
})());
|
|
58
58
|
};
|
|
59
|
-
CanvasSummaryCell.prototype.
|
|
60
|
-
if (this.
|
|
59
|
+
CanvasSummaryCell.prototype.dj = function (a) {
|
|
60
|
+
if (this.dk.al == null) {
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
if (a == null) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
if (this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
a.ac(this.
|
|
70
|
-
this.
|
|
66
|
+
if (this.c8 || (this.c7 != null && this.c7.g != this.de)) {
|
|
67
|
+
this.c8 = false;
|
|
68
|
+
this.de = this.c7.g;
|
|
69
|
+
a.ac(this.c7);
|
|
70
|
+
this.da = FontUtil.getCurrentFontHeight(this.bn, this.c7);
|
|
71
71
|
}
|
|
72
|
-
var b = this.
|
|
73
|
-
var c = this.
|
|
74
|
-
b -= (this.
|
|
75
|
-
c -= (this.
|
|
72
|
+
var b = this.bl;
|
|
73
|
+
var c = this.ba;
|
|
74
|
+
b -= (this.a7 + this.bc + this.a8 + this.bd);
|
|
75
|
+
c -= (this.a9 + this.be + this.a6 + this.bb);
|
|
76
76
|
b = Math.max(b, 0);
|
|
77
77
|
c = Math.max(c, 0);
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
78
|
+
this.dd = this.bk(this.dk, this.df, b / 2, a);
|
|
79
|
+
this.db = this.bc + this.a7;
|
|
80
|
+
this.dc = this.be + this.a9 + ((c / 2) - (this.da / 2));
|
|
81
81
|
};
|
|
82
|
-
CanvasSummaryCell.prototype.
|
|
83
|
-
if (this.
|
|
84
|
-
if (this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
82
|
+
CanvasSummaryCell.prototype.b9 = function (a) {
|
|
83
|
+
if (this.dk.al != null) {
|
|
84
|
+
if (this.c9) {
|
|
85
|
+
this.dj(a);
|
|
86
|
+
this.c9 = false;
|
|
87
87
|
}
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
a.w(this.
|
|
88
|
+
this.dk.n = this.db;
|
|
89
|
+
this.dk.o = this.dc;
|
|
90
|
+
a.w(this.dk);
|
|
91
91
|
}
|
|
92
|
-
_super.prototype.
|
|
92
|
+
_super.prototype.b9.call(this, a);
|
|
93
93
|
};
|
|
94
|
-
CanvasSummaryCell.prototype.
|
|
94
|
+
CanvasSummaryCell.prototype.get_ac = function () {
|
|
95
95
|
return false;
|
|
96
96
|
};
|
|
97
97
|
CanvasSummaryCell.$t = markType(CanvasSummaryCell, 'CanvasSummaryCell', CanvasGridCellBase.$);
|
|
@@ -28,17 +28,17 @@ var CanvasSummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
28
28
|
var b = a;
|
|
29
29
|
if (a.ay) {
|
|
30
30
|
if (a.a2("ResolvedSummaryLabel") || a.a2("ResolvedSummaryValue")) {
|
|
31
|
-
this.d.
|
|
32
|
-
this.d.
|
|
31
|
+
this.d.dg(b.lr);
|
|
32
|
+
this.d.co(b.lt);
|
|
33
33
|
}
|
|
34
34
|
if (a.a2("SummaryLabelTextColor")) {
|
|
35
35
|
var c = CanvasContentCellModelHelper.e(b.ly);
|
|
36
|
-
this.d.
|
|
36
|
+
this.d.dh(c);
|
|
37
37
|
}
|
|
38
38
|
if (a.a2("FontInfo")) {
|
|
39
|
-
this.d.
|
|
39
|
+
this.d.di(b.ag);
|
|
40
40
|
}
|
|
41
|
-
CanvasContentCellModelHelper.a(this.a.
|
|
41
|
+
CanvasContentCellModelHelper.a(this.a.bn, b, this.a);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
CanvasSummaryCellPresenter.$t = markType(CanvasSummaryCellPresenter, 'CanvasSummaryCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -15,22 +15,22 @@ var CanvasTemplateCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(CanvasTemplateCell, _super);
|
|
16
16
|
function CanvasTemplateCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
18
|
+
_this.c7 = null;
|
|
19
|
+
_this.c7 = new CanvasTemplateCellContainer(a);
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(CanvasTemplateCell.prototype, "
|
|
22
|
+
Object.defineProperty(CanvasTemplateCell.prototype, "c8", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.c7;
|
|
25
25
|
},
|
|
26
26
|
enumerable: true,
|
|
27
27
|
configurable: true
|
|
28
28
|
});
|
|
29
|
-
CanvasTemplateCell.prototype.
|
|
29
|
+
CanvasTemplateCell.prototype.get_ac = function () {
|
|
30
30
|
return true;
|
|
31
31
|
};
|
|
32
|
-
CanvasTemplateCell.prototype.
|
|
33
|
-
this.
|
|
32
|
+
CanvasTemplateCell.prototype.c9 = function () {
|
|
33
|
+
this.b5();
|
|
34
34
|
};
|
|
35
35
|
CanvasTemplateCell.$t = markType(CanvasTemplateCell, 'CanvasTemplateCell', CanvasGridCellBase.$);
|
|
36
36
|
return CanvasTemplateCell;
|
|
@@ -33,10 +33,10 @@ var CanvasTemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
33
33
|
if (a.a3(CellModel.es) || a.a3(CellModel.gt)) {
|
|
34
34
|
var d = Math.min(1, Math.max(0, a.ck));
|
|
35
35
|
var e = a.ca * (1 - d);
|
|
36
|
-
this.e.
|
|
36
|
+
this.e.c8.opacity = e;
|
|
37
37
|
}
|
|
38
|
-
this.e.
|
|
39
|
-
c.
|
|
38
|
+
this.e.c9();
|
|
39
|
+
c.lm(a, this.e);
|
|
40
40
|
};
|
|
41
41
|
CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
|
|
42
42
|
return CanvasTemplateCellPresenter;
|
|
@@ -15,22 +15,22 @@ var CanvasTemplateHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(CanvasTemplateHeaderCell, _super);
|
|
16
16
|
function CanvasTemplateHeaderCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
18
|
+
_this.c7 = null;
|
|
19
|
+
_this.c7 = new CanvasTemplateCellContainer(a);
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
Object.defineProperty(CanvasTemplateHeaderCell.prototype, "
|
|
22
|
+
Object.defineProperty(CanvasTemplateHeaderCell.prototype, "c8", {
|
|
23
23
|
get: function () {
|
|
24
|
-
return this.
|
|
24
|
+
return this.c7;
|
|
25
25
|
},
|
|
26
26
|
enumerable: true,
|
|
27
27
|
configurable: true
|
|
28
28
|
});
|
|
29
|
-
CanvasTemplateHeaderCell.prototype.
|
|
29
|
+
CanvasTemplateHeaderCell.prototype.get_ab = function () {
|
|
30
30
|
return true;
|
|
31
31
|
};
|
|
32
|
-
CanvasTemplateHeaderCell.prototype.
|
|
33
|
-
this.
|
|
32
|
+
CanvasTemplateHeaderCell.prototype.c9 = function () {
|
|
33
|
+
this.b5();
|
|
34
34
|
};
|
|
35
35
|
CanvasTemplateHeaderCell.$t = markType(CanvasTemplateHeaderCell, 'CanvasTemplateHeaderCell', CanvasGridCellBase.$);
|
|
36
36
|
return CanvasTemplateHeaderCell;
|
|
@@ -35,8 +35,8 @@ var CanvasTemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
35
35
|
var e = a.ca * (1 - d);
|
|
36
36
|
}
|
|
37
37
|
var f = a;
|
|
38
|
-
this.e.
|
|
39
|
-
c.
|
|
38
|
+
this.e.c9();
|
|
39
|
+
c.fe(f, this.e);
|
|
40
40
|
};
|
|
41
41
|
CanvasTemplateHeaderCellPresenter.$t = markType(CanvasTemplateHeaderCellPresenter, 'CanvasTemplateHeaderCellPresenter', CanvasCellPresenterBase.$);
|
|
42
42
|
return CanvasTemplateHeaderCellPresenter;
|
|
@@ -14,11 +14,11 @@ var CanvasTextCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
tslib_1.__extends(CanvasTextCell, _super);
|
|
15
15
|
function CanvasTextCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.ci(0);
|
|
18
|
+
_this.cq(1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
-
CanvasTextCell.prototype.
|
|
21
|
+
CanvasTextCell.prototype.get_ac = function () {
|
|
22
22
|
return true;
|
|
23
23
|
};
|
|
24
24
|
CanvasTextCell.$t = markType(CanvasTextCell, 'CanvasTextCell', CanvasGridCellBase.$);
|
|
@@ -41,9 +41,9 @@ var CanvasTextCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
41
41
|
b.jb = b.g3.toString();
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
this.d.
|
|
44
|
+
this.d.co(b.jb);
|
|
45
45
|
}
|
|
46
|
-
CanvasContentCellModelHelper.a(this.a.
|
|
46
|
+
CanvasContentCellModelHelper.a(this.a.bn, b, this.a);
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
CanvasTextCellPresenter.$t = markType(CanvasTextCellPresenter, 'CanvasTextCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -15,46 +15,46 @@ var CanvasTextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(CanvasTextHeaderCell, _super);
|
|
16
16
|
function CanvasTextHeaderCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.c5 = null;
|
|
19
|
-
_this.c8 = null;
|
|
20
18
|
_this.c7 = null;
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
19
|
+
_this.da = null;
|
|
20
|
+
_this.c9 = null;
|
|
21
|
+
_this.ci(0);
|
|
22
|
+
_this.cq(1);
|
|
23
|
+
_this.c7 = new GridSortIndicator();
|
|
24
24
|
var b = a.createElement("div");
|
|
25
25
|
b.setRawStyleProperty("display", "inline-block");
|
|
26
26
|
b.setRawStyleProperty("width", "16px");
|
|
27
27
|
b.setRawStyleProperty("height", "16px");
|
|
28
|
-
_this.
|
|
29
|
-
var c = a.getSubRenderer(_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
var d = _this.
|
|
33
|
-
d.renderCompleted = delegateCombine(d.renderCompleted, function (d, e) { return _this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
28
|
+
_this.da = b;
|
|
29
|
+
var c = a.getSubRenderer(_this.da);
|
|
30
|
+
_this.c7.ax(c);
|
|
31
|
+
_this.c7.w = window.devicePixelRatio;
|
|
32
|
+
var d = _this.c7;
|
|
33
|
+
d.renderCompleted = delegateCombine(d.renderCompleted, function (d, e) { return _this.b7(); });
|
|
34
|
+
_this.c7.ar(16, 16);
|
|
35
|
+
_this.c9 = _this.c7.ad();
|
|
36
36
|
return _this;
|
|
37
37
|
}
|
|
38
|
-
Object.defineProperty(CanvasTextHeaderCell.prototype, "
|
|
38
|
+
Object.defineProperty(CanvasTextHeaderCell.prototype, "c8", {
|
|
39
39
|
get: function () {
|
|
40
|
-
return this.
|
|
40
|
+
return this.c7;
|
|
41
41
|
},
|
|
42
42
|
enumerable: true,
|
|
43
43
|
configurable: true
|
|
44
44
|
});
|
|
45
|
-
CanvasTextHeaderCell.prototype.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
45
|
+
CanvasTextHeaderCell.prototype.db = function (a) {
|
|
46
|
+
this.c8.b = a;
|
|
47
|
+
this.b7();
|
|
48
48
|
};
|
|
49
|
-
CanvasTextHeaderCell.prototype.
|
|
50
|
-
_super.prototype.
|
|
51
|
-
var b = this.
|
|
49
|
+
CanvasTextHeaderCell.prototype.b9 = function (a) {
|
|
50
|
+
_super.prototype.b9.call(this, a);
|
|
51
|
+
var b = this.bi + 5;
|
|
52
52
|
if (this.d == 2) {
|
|
53
|
-
b = this.
|
|
53
|
+
b = this.bg - 21;
|
|
54
54
|
}
|
|
55
|
-
a.m(this.
|
|
55
|
+
a.m(this.c9, 1, b, this.bj - 8, 16, 16);
|
|
56
56
|
};
|
|
57
|
-
CanvasTextHeaderCell.prototype.
|
|
57
|
+
CanvasTextHeaderCell.prototype.get_ab = function () {
|
|
58
58
|
return true;
|
|
59
59
|
};
|
|
60
60
|
CanvasTextHeaderCell.$t = markType(CanvasTextHeaderCell, 'CanvasTextHeaderCell', CanvasGridCellBase.$);
|
|
@@ -38,35 +38,35 @@ var CanvasTextHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
38
38
|
if (a.ay) {
|
|
39
39
|
if (a.a3(TextCellModel.lj)) {
|
|
40
40
|
b.jb = b.ll;
|
|
41
|
-
this.d.
|
|
41
|
+
this.d.co(b.jb);
|
|
42
42
|
}
|
|
43
43
|
if (a.a3(CellModel.gl)) {
|
|
44
44
|
if (a.bk) {
|
|
45
|
-
this.d.
|
|
45
|
+
this.d.c8.l = false;
|
|
46
46
|
}
|
|
47
47
|
if (this.e == null) {
|
|
48
48
|
var c_1 = a.p;
|
|
49
|
-
this.e = function () { return c_1.
|
|
49
|
+
this.e = function () { return c_1.xc(); };
|
|
50
50
|
}
|
|
51
|
-
this.d.
|
|
52
|
-
this.d.
|
|
51
|
+
this.d.db(a.n);
|
|
52
|
+
this.d.cm(runOn(this, this.f));
|
|
53
53
|
if (a.bk) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.c8.l = true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
if (a.a3(CellModel.gm)) {
|
|
58
58
|
if (a.bk) {
|
|
59
|
-
this.d.
|
|
59
|
+
this.d.c8.l = false;
|
|
60
60
|
}
|
|
61
|
-
this.d.
|
|
61
|
+
this.d.c8.a0 = a.le;
|
|
62
62
|
if (a.bk) {
|
|
63
|
-
this.d.
|
|
63
|
+
this.d.c8.l = true;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
if (a.a2("SortIndicatorStyle")) {
|
|
67
|
-
this.d.
|
|
67
|
+
this.d.c8.f = b.ls;
|
|
68
68
|
}
|
|
69
|
-
CanvasContentCellModelHelper.a(this.a.
|
|
69
|
+
CanvasContentCellModelHelper.a(this.a.bn, b, this.a);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
CanvasTextHeaderCellPresenter.$t = markType(CanvasTextHeaderCellPresenter, 'CanvasTextHeaderCellPresenter', CanvasCellPresenterBase.$);
|
|
@@ -37,7 +37,7 @@ var CellPresenterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
37
37
|
if (a.aw) {
|
|
38
38
|
this.a.by(a.k1, a.dy, a.d3, a.d1, a.dw);
|
|
39
39
|
if (a.a3(CellModel.du)) {
|
|
40
|
-
if (!a.ba && a.p.
|
|
40
|
+
if (!a.ba && a.p.iw && a.a7 && a.b7 == 1) {
|
|
41
41
|
this.a.be();
|
|
42
42
|
}
|
|
43
43
|
}
|