igniteui-webcomponents-data-grids 7.1.0-beta.2 → 7.1.0-beta.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-data-grids.umd.js +11002 -9831
- package/bundles/igniteui-webcomponents-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 +290 -290
- 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/igc-cell-info.js +195 -186
- package/esm2015/lib/igc-checkbox-list-component.js +42 -22
- 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-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-binding-event-args.js +3 -0
- package/esm2015/lib/igc-data-grid-column-component.js +336 -276
- package/esm2015/lib/igc-data-grid-component.js +220 -32
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +67 -37
- package/esm2015/lib/igc-data-grid-toolbar-component.js +40 -8
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +64 -64
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- 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-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igc-numeric-cell-info.js +28 -28
- package/esm2015/lib/igc-numeric-column-component.js +38 -38
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +36 -36
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +30 -30
- package/esm2015/lib/igc-summary-row-root-module.js +2 -0
- package/esm2015/lib/igc-summary-row-section-module.js +2 -0
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +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/igc-cell-info.js +207 -186
- package/esm5/lib/igc-checkbox-list-component.js +50 -22
- 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-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-binding-event-args.js +3 -0
- package/esm5/lib/igc-data-grid-column-component.js +360 -276
- package/esm5/lib/igc-data-grid-component.js +240 -32
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +79 -37
- package/esm5/lib/igc-data-grid-toolbar-component.js +40 -8
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +64 -64
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- 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-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igc-numeric-cell-info.js +28 -28
- package/esm5/lib/igc-numeric-column-component.js +38 -38
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +36 -36
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +29 -29
- package/esm5/lib/igc-summary-row-root-module.js +2 -0
- package/esm5/lib/igc-summary-row-section-module.js +2 -0
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +79 -40
- package/fesm2015/igniteui-webcomponents-data-grids.js +10931 -9949
- package/fesm5/igniteui-webcomponents-data-grids.js +11002 -9831
- 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/igc-cell-info.d.ts +3 -0
- package/lib/igc-checkbox-list-component.d.ts +10 -0
- package/lib/igc-data-grid-column-component.d.ts +30 -0
- package/lib/igc-data-grid-component.d.ts +27 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +15 -0
- package/lib/igc-summary-row-component.d.ts +2 -2
- package/lib/igc-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
|
@@ -453,7 +453,7 @@ export var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
453
453
|
if (d.iD == a) {
|
|
454
454
|
d.isSelected = b;
|
|
455
455
|
if (this.e != null) {
|
|
456
|
-
this.e.
|
|
456
|
+
this.e.dy(c, d, d);
|
|
457
457
|
}
|
|
458
458
|
break;
|
|
459
459
|
}
|
|
@@ -465,7 +465,7 @@ export var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
465
465
|
c.label = b;
|
|
466
466
|
this.q.add(c);
|
|
467
467
|
if (this.e != null) {
|
|
468
|
-
this.e.
|
|
468
|
+
this.e.dv(this.q.count - 1, c);
|
|
469
469
|
}
|
|
470
470
|
this.c.onItemInserted();
|
|
471
471
|
};
|
|
@@ -475,7 +475,7 @@ export var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
475
475
|
if (c.iD == a) {
|
|
476
476
|
this.q.removeAt(b);
|
|
477
477
|
if (this.e != null) {
|
|
478
|
-
this.e.
|
|
478
|
+
this.e.dx(b, c);
|
|
479
479
|
}
|
|
480
480
|
break;
|
|
481
481
|
}
|
|
@@ -488,7 +488,7 @@ export var SummaryChooser = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
488
488
|
if (d.iD == a) {
|
|
489
489
|
d.label = b;
|
|
490
490
|
if (this.e != null) {
|
|
491
|
-
this.e.
|
|
491
|
+
this.e.dy(c, d, d);
|
|
492
492
|
}
|
|
493
493
|
break;
|
|
494
494
|
}
|
package/esm5/lib/ImageCell.js
CHANGED
|
@@ -15,112 +15,112 @@ export 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 @@ export 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 @@ export 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 @@ export var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
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 @@ export var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
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 @@ export var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
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 @@ export var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
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 @@ export var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
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();
|
|
@@ -2775,7 +2775,7 @@ export var MultiColumnComboBox = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
2775
2775
|
try {
|
|
2776
2776
|
for (var _b = __values(fromEnum(c)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2777
2777
|
var d = _c.value;
|
|
2778
|
-
if (0 == StringComparer.b.compare(d.
|
|
2778
|
+
if (0 == StringComparer.b.compare(d.ns, a)) {
|
|
2779
2779
|
return d;
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
package/esm5/lib/NumericCell.js
CHANGED
|
@@ -14,19 +14,19 @@ export 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 @@ export 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);
|
|
@@ -835,15 +835,15 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
835
835
|
}
|
|
836
836
|
else {
|
|
837
837
|
var a = new TextColumn();
|
|
838
|
-
a.
|
|
839
|
-
a.
|
|
840
|
-
a.
|
|
838
|
+
a.ln = 10;
|
|
839
|
+
a.lo = 5;
|
|
840
|
+
a.ns = "PropertyPath";
|
|
841
841
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
842
842
|
this.l.columns.add(a);
|
|
843
843
|
var b = new TemplateColumn();
|
|
844
|
-
b.
|
|
845
|
-
b.lm = 5;
|
|
844
|
+
b.ns = "ValueType";
|
|
846
845
|
b.ln = 5;
|
|
846
|
+
b.lo = 5;
|
|
847
847
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
848
848
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
849
849
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -923,8 +923,8 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
923
923
|
var r = this_1.cc(l);
|
|
924
924
|
if (c.count <= g) {
|
|
925
925
|
var s = new TextColumn();
|
|
926
|
-
s.
|
|
927
|
-
s.
|
|
926
|
+
s.ln = 10;
|
|
927
|
+
s.lo = 5;
|
|
928
928
|
s.width = ((function () {
|
|
929
929
|
var $ret = new ColumnWidth();
|
|
930
930
|
$ret.c = false;
|
|
@@ -932,8 +932,8 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
932
932
|
return $ret;
|
|
933
933
|
})());
|
|
934
934
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this_1, this_1.dp));
|
|
935
|
-
s.
|
|
936
|
-
s.
|
|
935
|
+
s.ok = "PropertyName_" + k;
|
|
936
|
+
s.ns = "PropertyName";
|
|
937
937
|
c.add(s);
|
|
938
938
|
this_1.au.item(s, c.count - 1);
|
|
939
939
|
g++;
|
|
@@ -970,10 +970,10 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
970
970
|
}
|
|
971
971
|
if (c.count <= g) {
|
|
972
972
|
var v = new TemplateColumn();
|
|
973
|
-
v.
|
|
974
|
-
v.
|
|
975
|
-
v.lm = 5;
|
|
973
|
+
v.ok = "ValueType_" + k;
|
|
974
|
+
v.ns = "ValueType";
|
|
976
975
|
v.ln = 5;
|
|
976
|
+
v.lo = 5;
|
|
977
977
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this_1, this_1.cu));
|
|
978
978
|
v.width = ((function () {
|
|
979
979
|
var $ret = new ColumnWidth();
|
|
@@ -1067,12 +1067,12 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1067
1067
|
};
|
|
1068
1068
|
PropertyEditor.prototype.cu = function (a, b) {
|
|
1069
1069
|
var c = a;
|
|
1070
|
-
var d = this.s(c, b.cellInfo.
|
|
1070
|
+
var d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
1071
1071
|
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.w : 0);
|
|
1072
1072
|
};
|
|
1073
1073
|
PropertyEditor.prototype.dp = function (a, b) {
|
|
1074
1074
|
var c = a;
|
|
1075
|
-
var d = this.s(c, b.cellInfo.
|
|
1075
|
+
var d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
1076
1076
|
if (d == null) {
|
|
1077
1077
|
b.resolvedValue = null;
|
|
1078
1078
|
return;
|
|
@@ -1189,7 +1189,7 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1189
1189
|
};
|
|
1190
1190
|
PropertyEditor.prototype.ct = function (a, b) {
|
|
1191
1191
|
var c = a;
|
|
1192
|
-
var d = this.s(c, b.cellInfo.
|
|
1192
|
+
var d = this.s(c, b.cellInfo.ft, b.cellInfo.im);
|
|
1193
1193
|
var e = d != null ? d.w : 0;
|
|
1194
1194
|
switch (e) {
|
|
1195
1195
|
case 10:
|
|
@@ -1287,7 +1287,7 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1287
1287
|
if (c.t != 3) {
|
|
1288
1288
|
c.t = 3;
|
|
1289
1289
|
}
|
|
1290
|
-
var e = _this.s(a, b.cellInfo.
|
|
1290
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1291
1291
|
var f = c.inputs._inner[0];
|
|
1292
1292
|
f.bh = e;
|
|
1293
1293
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1302,7 +1302,7 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1302
1302
|
if (c.s != 3) {
|
|
1303
1303
|
c.s = 3;
|
|
1304
1304
|
}
|
|
1305
|
-
var e = _this.s(a, b.cellInfo.
|
|
1305
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1306
1306
|
c.ee = e;
|
|
1307
1307
|
var f = e.ar;
|
|
1308
1308
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1320,7 +1320,7 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1320
1320
|
if (c.density != 3) {
|
|
1321
1321
|
c.density = 3;
|
|
1322
1322
|
}
|
|
1323
|
-
var e = _this.s(a, b.cellInfo.
|
|
1323
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1324
1324
|
if (c.dd != e) {
|
|
1325
1325
|
if (!d) {
|
|
1326
1326
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(_this, _this.cq));
|
|
@@ -1592,7 +1592,7 @@ export var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1592
1592
|
if (!c.y) {
|
|
1593
1593
|
c.y = true;
|
|
1594
1594
|
}
|
|
1595
|
-
var e = _this.s(a, b.cellInfo.
|
|
1595
|
+
var e = _this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1596
1596
|
var f = e.ar;
|
|
1597
1597
|
if (f == null) {
|
|
1598
1598
|
f = false;
|
|
@@ -14,49 +14,59 @@ export 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 @@ export var SectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_
|
|
|
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.$);
|