igniteui-angular-data-grids 21.1.0-beta.1 → 21.1.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 +10884 -9697
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +10 -10
- package/esm2015/lib/CanvasCellPresenterBase.js +12 -12
- package/esm2015/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPath.js +79 -69
- package/esm2015/lib/CellPresenterBase.js +46 -46
- package/esm2015/lib/CheckboxListBridge.js +12 -0
- package/esm2015/lib/CheckboxListView_combined.js +329 -283
- package/esm2015/lib/ColumnChooserView_combined.js +11 -11
- package/esm2015/lib/ColumnFilterCondition_combined.js +7043 -6712
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +16 -16
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/DraggerView.js +1 -7
- package/esm2015/lib/EditorCell.js +289 -289
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/FilterCell.js +267 -267
- package/esm2015/lib/FilterCellPresenter.js +17 -17
- package/esm2015/lib/GridCellBase.js +210 -202
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +13 -13
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- 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/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +238 -187
- package/esm2015/lib/ISummaryChooserView_combined.js +4 -4
- package/esm2015/lib/ImageCell.js +58 -58
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +9 -9
- 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 +30 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +44 -44
- package/esm2015/lib/SummaryCellPresenter.js +9 -9
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +6 -6
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +31 -30
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +181 -175
- package/esm2015/lib/TextHeaderCellPresenter.js +66 -57
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +195 -186
- package/esm2015/lib/igx-checkbox-list-component.js +42 -20
- package/esm2015/lib/igx-column-chooser-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-pinning-component.js +1 -1
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-binding-event-args.js +3 -0
- package/esm2015/lib/igx-data-grid-column-component.js +261 -195
- package/esm2015/lib/igx-data-grid-component.js +226 -33
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +60 -27
- package/esm2015/lib/igx-data-grid-toolbar-component.js +40 -8
- 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-definition-base-component.js +44 -44
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igx-numeric-cell-info.js +28 -28
- package/esm2015/lib/igx-numeric-column-component.js +32 -32
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +24 -24
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +23 -23
- package/esm2015/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm2015/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +67 -40
- package/esm5/lib/AccessibilityRow.js +10 -10
- package/esm5/lib/CanvasCellPresenterBase.js +12 -12
- package/esm5/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPath.js +79 -65
- package/esm5/lib/CellPresenterBase.js +46 -46
- package/esm5/lib/CheckboxListBridge.js +12 -0
- package/esm5/lib/CheckboxListView_combined.js +332 -278
- package/esm5/lib/ColumnChooserView_combined.js +11 -11
- package/esm5/lib/ColumnFilterCondition_combined.js +6860 -6456
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +16 -16
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/DraggerView.js +1 -7
- package/esm5/lib/EditorCell.js +276 -276
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/FilterCell.js +257 -257
- package/esm5/lib/FilterCellPresenter.js +17 -17
- package/esm5/lib/GridCellBase.js +205 -193
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +13 -13
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- 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/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +240 -177
- package/esm5/lib/ISummaryChooserView_combined.js +4 -4
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +17 -17
- package/esm5/lib/MultiColumnComboBoxView_combined.js +9 -9
- 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 +30 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +44 -44
- package/esm5/lib/SummaryCellPresenter.js +9 -9
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +6 -6
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +31 -30
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +185 -179
- package/esm5/lib/TextHeaderCellPresenter.js +66 -57
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +207 -186
- package/esm5/lib/igx-checkbox-list-component.js +49 -19
- package/esm5/lib/igx-column-chooser-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-pinning-component.js +1 -1
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-binding-event-args.js +3 -0
- package/esm5/lib/igx-data-grid-column-component.js +285 -195
- package/esm5/lib/igx-data-grid-component.js +246 -33
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +72 -27
- package/esm5/lib/igx-data-grid-toolbar-component.js +40 -8
- 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-definition-base-component.js +44 -44
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igx-numeric-cell-info.js +28 -28
- package/esm5/lib/igx-numeric-column-component.js +32 -32
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +24 -24
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +22 -22
- package/esm5/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm5/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +79 -40
- package/fesm2015/igniteui-angular-data-grids.js +10781 -9783
- package/fesm5/igniteui-angular-data-grids.js +10884 -9697
- package/lib/CellPath.d.ts +21 -20
- package/lib/CheckboxListExternal.d.ts +3 -0
- package/lib/CheckboxListView_combined.d.ts +77 -71
- package/lib/ColumnFilterCondition_combined.d.ts +1759 -1699
- package/lib/EditorCell.d.ts +63 -63
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +82 -80
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +61 -52
- package/lib/ImageCell.d.ts +15 -15
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +6 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +11 -1
- package/lib/igx-data-grid-column-component.d.ts +31 -1
- package/lib/igx-data-grid-component.d.ts +28 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +16 -1
- package/lib/igx-summary-row-component.d.ts +3 -3
- package/lib/igx-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
|
@@ -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.dy(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.dv(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.dx(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.dy(c, d, d);
|
|
493
493
|
}
|
|
494
494
|
break;
|
|
495
495
|
}
|
package/esm5/lib/ImageCell.js
CHANGED
|
@@ -15,112 +15,112 @@ var ImageCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
__extends(ImageCell, _super);
|
|
16
16
|
function ImageCell(a) {
|
|
17
17
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.d5 = null;
|
|
19
|
-
_this.dz = 1;
|
|
20
|
-
_this.d0 = 3;
|
|
21
18
|
_this.d7 = null;
|
|
22
|
-
_this.d1 =
|
|
23
|
-
_this.d2 =
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
19
|
+
_this.d1 = 1;
|
|
20
|
+
_this.d2 = 3;
|
|
21
|
+
_this.d9 = null;
|
|
22
|
+
_this.d3 = false;
|
|
23
|
+
_this.d4 = 1;
|
|
24
|
+
_this.d6 = null;
|
|
25
|
+
_this.d7 = a.createElement("img");
|
|
26
|
+
_this.d7.listen("load", runOn(_this, _this.ec));
|
|
27
|
+
_this.d6 = a.createElement("div");
|
|
28
|
+
_this.d6.setRawStyleProperty("background-size", "contain");
|
|
29
|
+
_this.d6.setRawStyleProperty("background-repeat", "no-repeat");
|
|
30
|
+
_this.d6.setRawStyleProperty("background-position", "center");
|
|
31
|
+
_this.d6.setRawStyleProperty("width", "100%");
|
|
32
|
+
_this.d6.setRawStyleProperty("height", "100%");
|
|
33
33
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
34
34
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
35
|
-
_this.ar.append(_this.
|
|
35
|
+
_this.ar.append(_this.d6);
|
|
36
36
|
return _this;
|
|
37
37
|
}
|
|
38
|
-
Object.defineProperty(ImageCell.prototype, "
|
|
38
|
+
Object.defineProperty(ImageCell.prototype, "d8", {
|
|
39
39
|
get: function () {
|
|
40
|
-
return this.
|
|
40
|
+
return this.d7;
|
|
41
41
|
},
|
|
42
42
|
enumerable: false,
|
|
43
43
|
configurable: true
|
|
44
44
|
});
|
|
45
|
-
Object.defineProperty(ImageCell.prototype, "
|
|
45
|
+
Object.defineProperty(ImageCell.prototype, "d5", {
|
|
46
46
|
get: function () {
|
|
47
|
-
return this.
|
|
47
|
+
return this.d4;
|
|
48
48
|
},
|
|
49
49
|
set: function (a) {
|
|
50
|
-
this.
|
|
50
|
+
this.d4 = a;
|
|
51
51
|
},
|
|
52
52
|
enumerable: false,
|
|
53
53
|
configurable: true
|
|
54
54
|
});
|
|
55
|
-
ImageCell.prototype.
|
|
56
|
-
this.
|
|
57
|
-
if (!stringIsNullOrEmpty(this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
55
|
+
ImageCell.prototype.ec = function (a) {
|
|
56
|
+
this.d3 = false;
|
|
57
|
+
if (!stringIsNullOrEmpty(this.d9)) {
|
|
58
|
+
this.d6.setRawStyleProperty("opacity", "1");
|
|
59
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
ImageCell.prototype.
|
|
63
|
-
if (a == this.
|
|
62
|
+
ImageCell.prototype.ed = function (a, b) {
|
|
63
|
+
if (a == this.d9) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
66
|
+
this.ea();
|
|
67
|
+
this.d6.setRawStyleProperty("opacity", "0");
|
|
68
68
|
if (a == null || a.length == 0) {
|
|
69
|
-
this.
|
|
69
|
+
this.eb(this.d7);
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
if (Base.equalsStatic(a, this.
|
|
72
|
+
if (Base.equalsStatic(a, this.d9)) {
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
this.
|
|
76
|
-
var img_ = this.
|
|
75
|
+
this.eh(a, b);
|
|
76
|
+
var img_ = this.d7.getNativeElement();
|
|
77
77
|
if (img_ != null && (img_.complete)) {
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
78
|
+
this.d3 = false;
|
|
79
|
+
this.d7.setRawStyleProperty("opacity", "1");
|
|
80
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
ImageCell.prototype.
|
|
83
|
+
ImageCell.prototype.eb = function (a) {
|
|
84
84
|
a.setAttribute("src", "");
|
|
85
|
-
this.
|
|
85
|
+
this.d6.setRawStyleProperty("background-image", "");
|
|
86
86
|
};
|
|
87
|
-
ImageCell.prototype.
|
|
87
|
+
ImageCell.prototype.eg = function (a) {
|
|
88
88
|
switch (a) {
|
|
89
89
|
case 1:
|
|
90
|
-
this.
|
|
90
|
+
this.d6.setRawStyleProperty("background-size", "100% 100%");
|
|
91
91
|
break;
|
|
92
92
|
case 2:
|
|
93
|
-
this.
|
|
93
|
+
this.d6.setRawStyleProperty("background-size", "auto");
|
|
94
94
|
break;
|
|
95
95
|
case 0:
|
|
96
|
-
this.
|
|
96
|
+
this.d6.setRawStyleProperty("background-size", "contain");
|
|
97
97
|
break;
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
ImageCell.prototype.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
100
|
+
ImageCell.prototype.eh = function (a, b) {
|
|
101
|
+
this.d3 = true;
|
|
102
|
+
this.d9 = a;
|
|
103
|
+
this.d8.setAttribute("src", a);
|
|
104
104
|
};
|
|
105
|
-
ImageCell.prototype.
|
|
106
|
-
if (this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
105
|
+
ImageCell.prototype.ea = function () {
|
|
106
|
+
if (this.d3) {
|
|
107
|
+
this.eb(this.d7);
|
|
108
|
+
this.d9 = "";
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
-
ImageCell.prototype.
|
|
112
|
-
this.
|
|
111
|
+
ImageCell.prototype.ee = function (a) {
|
|
112
|
+
this.d1 = a;
|
|
113
113
|
};
|
|
114
|
-
ImageCell.prototype.
|
|
115
|
-
this.
|
|
114
|
+
ImageCell.prototype.ef = function (a) {
|
|
115
|
+
this.d2 = a;
|
|
116
116
|
};
|
|
117
117
|
ImageCell.prototype.get_ae = function () {
|
|
118
118
|
return true;
|
|
119
119
|
};
|
|
120
|
-
ImageCell.prototype.
|
|
121
|
-
_super.prototype.
|
|
120
|
+
ImageCell.prototype.cn = function (a, b, c) {
|
|
121
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
122
122
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
123
|
-
this.
|
|
123
|
+
this.d6.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
ImageCell.$t = markType(ImageCell, 'ImageCell', GridCellBase.$);
|
|
@@ -29,29 +29,29 @@ var ImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
31
|
if (a.a7) {
|
|
32
|
-
if (a.bc(CellModel.
|
|
33
|
-
var c = Math.min(1, Math.max(0, a.
|
|
34
|
-
var d = a.
|
|
35
|
-
this.d.
|
|
32
|
+
if (a.bc(CellModel.fs) || a.bc(CellModel.ia)) {
|
|
33
|
+
var c = Math.min(1, Math.max(0, a.da));
|
|
34
|
+
var d = a.cv * (1 - c);
|
|
35
|
+
this.d.d5 = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.bc(ImageCellModel.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.bc(ImageCellModel.og) || b.bc(ImageCellModel.oh)) {
|
|
38
|
+
this.e(b.ok, b.od);
|
|
39
39
|
}
|
|
40
|
-
if (b.bc(ImageCellModel.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.bc(ImageCellModel.oi) || b.bc(ImageCellModel.gf) || b.bc(ImageCellModel.h9)) {
|
|
41
|
+
this.f(b.of, b.g, b.i);
|
|
42
42
|
}
|
|
43
|
-
if (b.bc(ImageCellModel.
|
|
43
|
+
if (b.bc(ImageCellModel.hq)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
|
-
this.d.
|
|
45
|
+
this.d.ea();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
|
-
this.e(b.
|
|
48
|
+
this.e(b.ok, b.od);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
ImageCellPresenter.prototype.f = function (a, b, c) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.eg(a);
|
|
55
55
|
};
|
|
56
56
|
ImageCellPresenter.prototype.e = function (a, b) {
|
|
57
57
|
var c = a.toLowerCase();
|
|
@@ -59,35 +59,35 @@ var ImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
59
59
|
b = 4;
|
|
60
60
|
}
|
|
61
61
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
62
|
-
this.d.
|
|
62
|
+
this.d.ed(a, 4);
|
|
63
63
|
}
|
|
64
64
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
65
65
|
var d = a;
|
|
66
66
|
if (stringStartsWith(c, "asset")) {
|
|
67
67
|
d = a.substr(8);
|
|
68
68
|
}
|
|
69
|
-
this.d.
|
|
69
|
+
this.d.ed(d, 2);
|
|
70
70
|
}
|
|
71
71
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
72
72
|
var e = a;
|
|
73
73
|
if (stringStartsWith(c, "drawable")) {
|
|
74
74
|
e = a.substr(11);
|
|
75
75
|
}
|
|
76
|
-
this.d.
|
|
76
|
+
this.d.ed(e, 1);
|
|
77
77
|
}
|
|
78
78
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
79
79
|
var f = a;
|
|
80
80
|
if (stringStartsWith(c, "nativeresource")) {
|
|
81
81
|
f = a.substr(17);
|
|
82
82
|
}
|
|
83
|
-
this.d.
|
|
83
|
+
this.d.ed(f, 1);
|
|
84
84
|
}
|
|
85
85
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
86
86
|
var g = a;
|
|
87
87
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
88
88
|
g = a.substr(19);
|
|
89
89
|
}
|
|
90
|
-
this.d.
|
|
90
|
+
this.d.ed(g, 3);
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
ImageCellPresenter.$t = markType(ImageCellPresenter, 'ImageCellPresenter', CellPresenterBase.$);
|
|
@@ -136,8 +136,8 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
this.p = false;
|
|
139
|
-
if (b.
|
|
140
|
-
b.
|
|
139
|
+
if (b.g6 != a) {
|
|
140
|
+
b.g6 = a;
|
|
141
141
|
this.p = true;
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
@@ -156,9 +156,9 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
156
156
|
this.co();
|
|
157
157
|
var b = this.g.p();
|
|
158
158
|
if (null != b) {
|
|
159
|
-
var c = b.
|
|
159
|
+
var c = b.g6;
|
|
160
160
|
if (null != c) {
|
|
161
|
-
b.
|
|
161
|
+
b.g6 = null;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
};
|
|
@@ -642,7 +642,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
642
642
|
}
|
|
643
643
|
this.w = true;
|
|
644
644
|
if (stringIsNullOrEmpty(this.au)) {
|
|
645
|
-
if (null != a.
|
|
645
|
+
if (null != a.g6) {
|
|
646
646
|
this.aw(null);
|
|
647
647
|
}
|
|
648
648
|
else {
|
|
@@ -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.nx();
|
|
716
716
|
}
|
|
717
717
|
d.d = e;
|
|
718
718
|
d.b = a;
|
|
@@ -839,9 +839,9 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
839
839
|
this.au = null;
|
|
840
840
|
var a = this.g.p();
|
|
841
841
|
if (null != a) {
|
|
842
|
-
var b = a.
|
|
842
|
+
var b = a.g6;
|
|
843
843
|
if (null != b) {
|
|
844
|
-
a.
|
|
844
|
+
a.g6 = null;
|
|
845
845
|
}
|
|
846
846
|
else {
|
|
847
847
|
this.cw();
|
|
@@ -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.ns, a)) {
|
|
2780
2780
|
return d;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
package/esm5/lib/NumericCell.js
CHANGED
|
@@ -14,19 +14,19 @@ var NumericCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(NumericCell, _super);
|
|
15
15
|
function NumericCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.c5(_this.d2, 2);
|
|
18
|
+
_this.de(_this.d2, 1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
-
NumericCell.prototype.
|
|
22
|
-
_super.prototype.
|
|
21
|
+
NumericCell.prototype.cn = function (a, b, c) {
|
|
22
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
23
23
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
24
|
-
this.
|
|
24
|
+
this.d2.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
NumericCell.prototype.
|
|
28
|
-
_super.prototype.
|
|
29
|
-
this.
|
|
27
|
+
NumericCell.prototype.cb = function () {
|
|
28
|
+
_super.prototype.cb.call(this);
|
|
29
|
+
this.dk(2, 1);
|
|
30
30
|
};
|
|
31
31
|
NumericCell.$t = markType(NumericCell, 'NumericCell', TextCell.$);
|
|
32
32
|
return NumericCell;
|
|
@@ -29,20 +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.a7) {
|
|
32
|
-
if (a.bc(NumericCellModel.
|
|
33
|
-
b.
|
|
34
|
-
this.d.
|
|
32
|
+
if (a.bc(NumericCellModel.o4) || a.bc(NumericCellModel.or) || a.bc(NumericCellModel.h8) || b.oj()) {
|
|
33
|
+
b.k4 = this.e(b);
|
|
34
|
+
this.d.db(this.d.d2, b.k4);
|
|
35
35
|
}
|
|
36
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
36
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
NumericCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
return a.
|
|
40
|
+
if (a.l1 != null) {
|
|
41
|
+
return a.l1;
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
var val_ = a.
|
|
45
|
-
var override_ = a.
|
|
43
|
+
if (a.pa != null) {
|
|
44
|
+
var val_ = a.on;
|
|
45
|
+
var override_ = a.pa;
|
|
46
46
|
return (override_.format(val_));
|
|
47
47
|
}
|
|
48
48
|
return NumericCellFormatter.c(a);
|
|
@@ -836,15 +836,15 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
836
836
|
}
|
|
837
837
|
else {
|
|
838
838
|
var a = new TextColumn();
|
|
839
|
-
a.
|
|
840
|
-
a.
|
|
841
|
-
a.
|
|
839
|
+
a.ln = 10;
|
|
840
|
+
a.lo = 5;
|
|
841
|
+
a.ns = "PropertyPath";
|
|
842
842
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
843
843
|
this.l.columns.add(a);
|
|
844
844
|
var b = new TemplateColumn();
|
|
845
|
-
b.
|
|
846
|
-
b.lm = 5;
|
|
845
|
+
b.ns = "ValueType";
|
|
847
846
|
b.ln = 5;
|
|
847
|
+
b.lo = 5;
|
|
848
848
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
849
849
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
850
850
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -924,8 +924,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
924
924
|
var r = this_1.cc(l);
|
|
925
925
|
if (c.count <= g) {
|
|
926
926
|
var s = new TextColumn();
|
|
927
|
-
s.
|
|
928
|
-
s.
|
|
927
|
+
s.ln = 10;
|
|
928
|
+
s.lo = 5;
|
|
929
929
|
s.width = ((function () {
|
|
930
930
|
var $ret = new ColumnWidth();
|
|
931
931
|
$ret.c = false;
|
|
@@ -933,8 +933,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
933
933
|
return $ret;
|
|
934
934
|
})());
|
|
935
935
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this_1, this_1.dp));
|
|
936
|
-
s.
|
|
937
|
-
s.
|
|
936
|
+
s.ok = "PropertyName_" + k;
|
|
937
|
+
s.ns = "PropertyName";
|
|
938
938
|
c.add(s);
|
|
939
939
|
this_1.au.item(s, c.count - 1);
|
|
940
940
|
g++;
|
|
@@ -971,10 +971,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
971
971
|
}
|
|
972
972
|
if (c.count <= g) {
|
|
973
973
|
var v = new TemplateColumn();
|
|
974
|
-
v.
|
|
975
|
-
v.
|
|
976
|
-
v.lm = 5;
|
|
974
|
+
v.ok = "ValueType_" + k;
|
|
975
|
+
v.ns = "ValueType";
|
|
977
976
|
v.ln = 5;
|
|
977
|
+
v.lo = 5;
|
|
978
978
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this_1, this_1.cu));
|
|
979
979
|
v.width = ((function () {
|
|
980
980
|
var $ret = new ColumnWidth();
|
|
@@ -1068,12 +1068,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1068
1068
|
};
|
|
1069
1069
|
PropertyEditor.prototype.cu = function (a, b) {
|
|
1070
1070
|
var c = a;
|
|
1071
|
-
var d = this.s(c, b.cellInfo.
|
|
1071
|
+
var d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
1072
1072
|
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.w : 0);
|
|
1073
1073
|
};
|
|
1074
1074
|
PropertyEditor.prototype.dp = function (a, b) {
|
|
1075
1075
|
var c = a;
|
|
1076
|
-
var d = this.s(c, b.cellInfo.
|
|
1076
|
+
var d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
1077
1077
|
if (d == null) {
|
|
1078
1078
|
b.resolvedValue = null;
|
|
1079
1079
|
return;
|
|
@@ -1190,7 +1190,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
PropertyEditor.prototype.ct = function (a, b) {
|
|
1192
1192
|
var c = a;
|
|
1193
|
-
var d = this.s(c, b.cellInfo.
|
|
1193
|
+
var d = this.s(c, b.cellInfo.ft, b.cellInfo.im);
|
|
1194
1194
|
var e = d != null ? d.w : 0;
|
|
1195
1195
|
switch (e) {
|
|
1196
1196
|
case 10:
|
|
@@ -1288,7 +1288,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1288
1288
|
if (c.t != 3) {
|
|
1289
1289
|
c.t = 3;
|
|
1290
1290
|
}
|
|
1291
|
-
var e = _this.s(a, b.cellInfo.
|
|
1291
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1292
1292
|
var f = c.inputs._inner[0];
|
|
1293
1293
|
f.bh = e;
|
|
1294
1294
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1303,7 +1303,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1303
1303
|
if (c.s != 3) {
|
|
1304
1304
|
c.s = 3;
|
|
1305
1305
|
}
|
|
1306
|
-
var e = _this.s(a, b.cellInfo.
|
|
1306
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1307
1307
|
c.ee = e;
|
|
1308
1308
|
var f = e.ar;
|
|
1309
1309
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1321,7 +1321,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1321
1321
|
if (c.density != 3) {
|
|
1322
1322
|
c.density = 3;
|
|
1323
1323
|
}
|
|
1324
|
-
var e = _this.s(a, b.cellInfo.
|
|
1324
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1325
1325
|
if (c.dd != e) {
|
|
1326
1326
|
if (!d) {
|
|
1327
1327
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(_this, _this.cq));
|
|
@@ -1593,7 +1593,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1593
1593
|
if (!c.y) {
|
|
1594
1594
|
c.y = true;
|
|
1595
1595
|
}
|
|
1596
|
-
var e = _this.s(a, b.cellInfo.
|
|
1596
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1597
1597
|
var f = e.ar;
|
|
1598
1598
|
if (f == null) {
|
|
1599
1599
|
f = false;
|
|
@@ -14,49 +14,59 @@ var SectionHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(SectionHeaderCell, _super);
|
|
15
15
|
function SectionHeaderCell(a) {
|
|
16
16
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
17
|
+
_this.d1 = null;
|
|
18
|
+
_this.d3 = -1;
|
|
19
|
+
_this.d1 = a.createElement("span");
|
|
20
|
+
_this.d1.setRawStyleProperty("display", "inline-block");
|
|
21
|
+
_this.d1.setRawStyleProperty("line-height", "normal");
|
|
22
|
+
_this.d1.setRawStyleProperty("vertical-align", "middle");
|
|
23
|
+
_this.d1.setRawStyleProperty("overflow", "hidden");
|
|
24
|
+
_this.d1.setRawStyleProperty("white-space", "nowrap");
|
|
25
|
+
_this.d1.setRawStyleProperty("text-overflow", "ellipsis");
|
|
25
26
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
26
27
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
27
28
|
_this.ar.setRawStyleProperty("overflow", "hidden");
|
|
28
29
|
_this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
29
30
|
_this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
30
|
-
_this.ar.append(_this.
|
|
31
|
+
_this.ar.append(_this.d1);
|
|
31
32
|
return _this;
|
|
32
33
|
}
|
|
33
|
-
Object.defineProperty(SectionHeaderCell.prototype, "
|
|
34
|
+
Object.defineProperty(SectionHeaderCell.prototype, "d2", {
|
|
34
35
|
get: function () {
|
|
35
|
-
return this.
|
|
36
|
+
return this.d1;
|
|
36
37
|
},
|
|
37
38
|
enumerable: false,
|
|
38
39
|
configurable: true
|
|
39
40
|
});
|
|
40
|
-
SectionHeaderCell.prototype.
|
|
41
|
-
_super.prototype.
|
|
42
|
-
if (a == this.
|
|
43
|
-
this.
|
|
41
|
+
SectionHeaderCell.prototype.c3 = function (a, b) {
|
|
42
|
+
_super.prototype.c3.call(this, a, b);
|
|
43
|
+
if (a == this.d1) {
|
|
44
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
SectionHeaderCell.prototype.c4 = function (a, b) {
|
|
48
|
+
_super.prototype.c4.call(this, a, b);
|
|
49
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
50
|
+
var c = Math.max(0, a - b);
|
|
51
|
+
if (this.d3 != c) {
|
|
52
|
+
this.d3 = c;
|
|
53
|
+
this.d1.setRawStyleProperty("max-height", c.toString() + "px");
|
|
44
54
|
}
|
|
45
55
|
};
|
|
46
56
|
SectionHeaderCell.prototype.get_ae = function () {
|
|
47
57
|
return true;
|
|
48
58
|
};
|
|
49
|
-
SectionHeaderCell.prototype.
|
|
50
|
-
_super.prototype.
|
|
59
|
+
SectionHeaderCell.prototype.cn = function (a, b, c) {
|
|
60
|
+
_super.prototype.cn.call(this, a, b, c);
|
|
51
61
|
if (a == "Indent") {
|
|
52
|
-
this.
|
|
62
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
53
63
|
}
|
|
54
64
|
if (a == "IsCollapsable") {
|
|
55
65
|
if (this.aa) {
|
|
56
|
-
this.
|
|
66
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
57
67
|
}
|
|
58
68
|
else {
|
|
59
|
-
this.
|
|
69
|
+
this.d1.setRawStyleProperty("margin-left", "0px");
|
|
60
70
|
}
|
|
61
71
|
}
|
|
62
72
|
};
|
|
@@ -28,26 +28,26 @@ var SectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
if (a.bc(SectionHeaderCellModel.
|
|
32
|
-
if (b.
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
31
|
+
if (a.bc(SectionHeaderCellModel.oi) || a.bc(SectionHeaderCellModel.ok) || a.bc(SectionHeaderCellModel.oj) || a.bc(SectionHeaderCellModel.om)) {
|
|
32
|
+
if (b.oe == null || (b.oe.length == 0 && b.os == null)) {
|
|
33
|
+
if (b.il == null) {
|
|
34
|
+
b.k4 = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k4 = b.il.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.oq != null && b.oh == 0) {
|
|
42
|
+
b.k4 = b.os + " " + b.oq;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.k4 = b.os;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.db(this.d.d2, b.k4);
|
|
49
49
|
}
|
|
50
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
50
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
SectionHeaderCellPresenter.$t = markType(SectionHeaderCellPresenter, 'SectionHeaderCellPresenter', CellPresenterBase.$);
|