igniteui-angular-data-grids 20.0.1 → 20.0.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +10223 -8743
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
- package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm2015/lib/CanvasGridCellBase.js +9 -9
- package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm2015/lib/CellPresenterBase.js +64 -39
- package/esm2015/lib/CheckboxListView_combined.js +49 -49
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ColumnSortDescription.js +6 -1
- package/esm2015/lib/ColumnSummaryDescription.js +6 -1
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +46 -33
- package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -10
- package/esm2015/lib/EditorCell.js +335 -335
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +278 -278
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +587 -317
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- 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/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
- package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +1 -1
- package/esm2015/lib/ImageCell.js +62 -62
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm2015/lib/NumericCell.js +9 -5
- package/esm2015/lib/NumericCellPresenter.js +10 -10
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/SummaryCell.js +41 -41
- package/esm2015/lib/SummaryCellPresenter.js +14 -14
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +35 -30
- package/esm2015/lib/TextCellDecoration.js +33 -0
- package/esm2015/lib/TextCellPresenter.js +11 -11
- package/esm2015/lib/TextHeaderCell.js +157 -150
- package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +301 -190
- package/esm2015/lib/igx-checkbox-list-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- 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-grid-column-component.js +254 -115
- package/esm2015/lib/igx-data-grid-component.js +38 -5
- 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 +46 -45
- 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-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -0
- 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-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/CanvasCellPresenterBase.js +14 -14
- package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm5/lib/CanvasGridCellBase.js +9 -9
- package/esm5/lib/CanvasImageCellPresenter.js +10 -10
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm5/lib/CanvasTextCellPresenter.js +10 -10
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm5/lib/CellPresenterBase.js +64 -39
- package/esm5/lib/CheckboxListView_combined.js +49 -49
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ColumnSortDescription.js +6 -1
- package/esm5/lib/ColumnSummaryDescription.js +6 -1
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +46 -33
- package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -10
- package/esm5/lib/EditorCell.js +291 -291
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +266 -266
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +625 -311
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- 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/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
- package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
- package/esm5/lib/GridConditionalStyleProperty.js +8 -8
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +1 -1
- package/esm5/lib/ImageCell.js +61 -61
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm5/lib/NumericCell.js +9 -5
- package/esm5/lib/NumericCellPresenter.js +10 -10
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/SummaryCell.js +41 -41
- package/esm5/lib/SummaryCellPresenter.js +14 -14
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +35 -30
- package/esm5/lib/TextCellDecoration.js +33 -0
- package/esm5/lib/TextCellPresenter.js +11 -11
- package/esm5/lib/TextHeaderCell.js +155 -148
- package/esm5/lib/TextHeaderCellPresenter.js +35 -35
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +349 -190
- package/esm5/lib/igx-checkbox-list-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- 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-grid-column-component.js +302 -115
- package/esm5/lib/igx-data-grid-component.js +42 -5
- 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 +46 -45
- 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-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -0
- 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-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
- package/fesm5/igniteui-angular-data-grids.js +10219 -8745
- package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
- package/lib/ContentCellModelHelper.d.ts +4 -4
- package/lib/EditorCell.d.ts +74 -74
- package/lib/FilterCell.d.ts +61 -61
- package/lib/GridCellBase.d.ts +140 -95
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
- package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
- package/lib/ImageCell.d.ts +20 -20
- package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
- package/lib/NumericCell.d.ts +2 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +11 -11
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +10 -8
- package/lib/TextCellDecoration.d.ts +26 -0
- package/lib/TextHeaderCell.d.ts +37 -35
- package/lib/VerticalSeparatorCell.d.ts +9 -9
- package/lib/igx-cell-info.d.ts +63 -0
- package/lib/igx-data-grid-column-component.d.ts +68 -2
- package/lib/igx-data-grid-component.d.ts +9 -2
- package/lib/igx-definition-base-component.d.ts +1 -1
- package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
- package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
- package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
|
@@ -28,30 +28,30 @@ var ImageCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
ImageCellPresenter.prototype.b = function (a) {
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
|
-
if (a.
|
|
32
|
-
if (a.
|
|
33
|
-
var c = Math.min(1, Math.max(0, a.
|
|
34
|
-
var d = a.
|
|
35
|
-
this.d.
|
|
31
|
+
if (a.a7) {
|
|
32
|
+
if (a.bc(CellModel.fm) || a.bc(CellModel.h1)) {
|
|
33
|
+
var c = Math.min(1, Math.max(0, a.c5));
|
|
34
|
+
var d = a.cr * (1 - c);
|
|
35
|
+
this.d.dw = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.bc(ImageCellModel.n0) || b.bc(ImageCellModel.n1)) {
|
|
38
|
+
this.e(b.n4, b.nx);
|
|
39
39
|
}
|
|
40
|
-
if (b.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.bc(ImageCellModel.n2) || b.bc(ImageCellModel.f8) || b.bc(ImageCellModel.h0)) {
|
|
41
|
+
this.f(b.nz, b.g, b.i);
|
|
42
42
|
}
|
|
43
|
-
if (b.
|
|
43
|
+
if (b.bc(ImageCellModel.hi)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
|
-
this.d.
|
|
45
|
+
this.d.d1();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
|
-
this.e(b.
|
|
48
|
+
this.e(b.n4, b.nx);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
ImageCellPresenter.prototype.f = function (a, b, c) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.d7(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.d4(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.d4(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.d4(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.d4(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.d4(g, 3);
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
ImageCellPresenter.$t = markType(ImageCellPresenter, 'ImageCellPresenter', CellPresenterBase.$);
|
|
@@ -28,13 +28,13 @@ import { SortMode_$type } from "./SortMode";
|
|
|
28
28
|
import { IDataSourceUpdateNotifier_$type } from "igniteui-angular-core";
|
|
29
29
|
import { MultipleDataSourceNotifier } from "./MultipleDataSourceNotifier";
|
|
30
30
|
import { TextHeaderCellModel } from "./TextHeaderCellModel";
|
|
31
|
+
import { Thickness } from "igniteui-angular-core";
|
|
31
32
|
import { CornerRadius } from "igniteui-angular-core";
|
|
32
33
|
import { stringEmpty, stringIsNullOrEmpty, stringIsNullOrWhiteSpace } from "igniteui-angular-core";
|
|
33
34
|
import { stringFormat } from "igniteui-angular-core";
|
|
34
35
|
import { SRProvider } from "igniteui-angular-core";
|
|
35
36
|
import { DeviceUtils } from "igniteui-angular-core";
|
|
36
37
|
import { BaseControlTheme_$type } from "igniteui-angular-core";
|
|
37
|
-
import { Thickness } from "igniteui-angular-core";
|
|
38
38
|
import { ControlDisplayDensity_$type } from "igniteui-angular-core";
|
|
39
39
|
import { StringComparer } from "igniteui-angular-core";
|
|
40
40
|
import { InputGroupDisplayType_$type } from "igniteui-angular-inputs";
|
|
@@ -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.g2 != a) {
|
|
140
|
+
b.g2 = 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.g2;
|
|
160
160
|
if (null != c) {
|
|
161
|
-
b.
|
|
161
|
+
b.g2 = 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.g2) {
|
|
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.ma();
|
|
716
716
|
}
|
|
717
717
|
d.d = e;
|
|
718
718
|
d.b = a;
|
|
@@ -800,7 +800,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
800
800
|
this.i.svgPath = b ? MultiColumnComboBoxView.as : MultiColumnComboBoxView.at;
|
|
801
801
|
};
|
|
802
802
|
MultiColumnComboBoxView.prototype.ct = function () {
|
|
803
|
-
var a = this.d.actualHeaderHeight
|
|
803
|
+
var a = this.d.actualHeaderHeight;
|
|
804
804
|
var b = this.d.actualRowHeight + this.d.rowSeparatorHeight;
|
|
805
805
|
var c = this.d.actualDataSource;
|
|
806
806
|
var d = null != c ? c.actualCount : 0;
|
|
@@ -819,7 +819,6 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
819
819
|
}
|
|
820
820
|
g = h * i;
|
|
821
821
|
this.d.defaultColumnMinWidth = 0;
|
|
822
|
-
g += 2;
|
|
823
822
|
var j = stringFormat("{0}px", g);
|
|
824
823
|
this.ag.setStyleProperty("width", j);
|
|
825
824
|
if (null != this.am) {
|
|
@@ -840,9 +839,9 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
840
839
|
this.au = null;
|
|
841
840
|
var a = this.g.p();
|
|
842
841
|
if (null != a) {
|
|
843
|
-
var b = a.
|
|
842
|
+
var b = a.g2;
|
|
844
843
|
if (null != b) {
|
|
845
|
-
a.
|
|
844
|
+
a.g2 = null;
|
|
846
845
|
}
|
|
847
846
|
else {
|
|
848
847
|
this.cw();
|
|
@@ -874,12 +873,13 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
874
873
|
_this.d.selectionBehavior = 0;
|
|
875
874
|
_this.d.activationMode = 1;
|
|
876
875
|
_this.d.defaultColumnWidth = _this.f.defaultColumnWidth;
|
|
876
|
+
_this.d.borderWidth = new Thickness(0, 0);
|
|
877
877
|
_this.cr();
|
|
878
878
|
_this.d.editMode = 0;
|
|
879
879
|
_this.d.isColumnOptionsEnabled = false;
|
|
880
880
|
_this.d.isActiveCellStyleEnabled = false;
|
|
881
881
|
_this.d.cornerRadius = new CornerRadius(0, 0);
|
|
882
|
-
_this.d.
|
|
882
|
+
_this.d.iy = false;
|
|
883
883
|
var b = _this.d;
|
|
884
884
|
b.activeCellChanged = delegateCombine(b.activeCellChanged, runOn(_this, _this.a7));
|
|
885
885
|
var c = _this.d;
|
|
@@ -1170,7 +1170,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
var k = this.e.activeCell;
|
|
1172
1172
|
if (null != j.activeCell) {
|
|
1173
|
-
this.d.
|
|
1173
|
+
this.d.kl(false, false);
|
|
1174
1174
|
b.preventDefault();
|
|
1175
1175
|
}
|
|
1176
1176
|
else {
|
|
@@ -1197,7 +1197,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
var o = this.e.activeCell;
|
|
1199
1199
|
if (null != n.activeCell) {
|
|
1200
|
-
this.d.
|
|
1200
|
+
this.d.ky(false, false);
|
|
1201
1201
|
b.preventDefault();
|
|
1202
1202
|
}
|
|
1203
1203
|
else {
|
|
@@ -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.l5, a)) {
|
|
2780
2780
|
return d;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
package/esm5/lib/NumericCell.js
CHANGED
|
@@ -14,16 +14,20 @@ 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.cz(_this.dt, 2);
|
|
18
|
+
_this.c7(_this.dt, 1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
-
NumericCell.prototype.
|
|
22
|
-
_super.prototype.
|
|
21
|
+
NumericCell.prototype.ch = function (a, b, c) {
|
|
22
|
+
_super.prototype.ch.call(this, a, b, c);
|
|
23
23
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
24
|
-
this.
|
|
24
|
+
this.dt.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
+
NumericCell.prototype.b5 = function () {
|
|
28
|
+
_super.prototype.b5.call(this);
|
|
29
|
+
this.dd(2, 1);
|
|
30
|
+
};
|
|
27
31
|
NumericCell.$t = markType(NumericCell, 'NumericCell', TextCell.$);
|
|
28
32
|
return NumericCell;
|
|
29
33
|
}(TextCell));
|
|
@@ -28,21 +28,21 @@ var NumericCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
NumericCellPresenter.prototype.b = function (a) {
|
|
29
29
|
_super.prototype.b.call(this, a);
|
|
30
30
|
var b = a;
|
|
31
|
-
if (a.
|
|
32
|
-
if (a.
|
|
33
|
-
b.
|
|
34
|
-
this.d.
|
|
31
|
+
if (a.a7) {
|
|
32
|
+
if (a.bc(NumericCellModel.ol) || a.bc(NumericCellModel.n9) || a.bc(NumericCellModel.hz) || b.n2()) {
|
|
33
|
+
b.ku = this.e(b);
|
|
34
|
+
this.d.c5(this.d.dt, b.ku);
|
|
35
35
|
}
|
|
36
|
-
ContentCellModelHelper.a(this.a.
|
|
36
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
NumericCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
return a.
|
|
40
|
+
if (a.lp != null) {
|
|
41
|
+
return a.lp;
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
var val_ = a.
|
|
45
|
-
var override_ = a.
|
|
43
|
+
if (a.or != null) {
|
|
44
|
+
var val_ = a.n5;
|
|
45
|
+
var override_ = a.or;
|
|
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.ky = 10;
|
|
840
|
+
a.kz = 5;
|
|
841
|
+
a.l5 = "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.
|
|
847
|
-
b.
|
|
845
|
+
b.l5 = "ValueType";
|
|
846
|
+
b.ky = 5;
|
|
847
|
+
b.kz = 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.ky = 10;
|
|
928
|
+
s.kz = 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.mw = "PropertyName_" + k;
|
|
937
|
+
s.l5 = "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.
|
|
977
|
-
v.
|
|
974
|
+
v.mw = "ValueType_" + k;
|
|
975
|
+
v.l5 = "ValueType";
|
|
976
|
+
v.ky = 5;
|
|
977
|
+
v.kz = 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.fn, 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.fn, 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.fn, b.cellInfo.ic);
|
|
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.fn, b.cellInfo.ic);
|
|
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.r != 3) {
|
|
1304
1304
|
c.r = 3;
|
|
1305
1305
|
}
|
|
1306
|
-
var e = _this.s(a, b.cellInfo.
|
|
1306
|
+
var e = _this.s(a, b.cellInfo.fn, b.cellInfo.ic);
|
|
1307
1307
|
c.ed = 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.fn, b.cellInfo.ic);
|
|
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.fn, b.cellInfo.ic);
|
|
1597
1597
|
var f = e.ar;
|
|
1598
1598
|
if (f == null) {
|
|
1599
1599
|
f = false;
|
|
@@ -14,37 +14,37 @@ 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.ds = null;
|
|
18
|
+
_this.ds = a.createElement("span");
|
|
19
|
+
_this.ap.setRawStyleProperty("text-align", "left");
|
|
20
|
+
_this.ap.setRawStyleProperty("vertical-align", "middle");
|
|
21
|
+
_this.ap.setRawStyleProperty("overflow", "hidden");
|
|
22
|
+
_this.ap.setRawStyleProperty("white-space", "nowrap");
|
|
23
|
+
_this.ap.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
|
+
_this.ap.append(_this.ds);
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
27
|
-
Object.defineProperty(SectionHeaderCell.prototype, "
|
|
27
|
+
Object.defineProperty(SectionHeaderCell.prototype, "dt", {
|
|
28
28
|
get: function () {
|
|
29
|
-
return this.
|
|
29
|
+
return this.ds;
|
|
30
30
|
},
|
|
31
31
|
enumerable: false,
|
|
32
32
|
configurable: true
|
|
33
33
|
});
|
|
34
|
-
SectionHeaderCell.prototype.
|
|
34
|
+
SectionHeaderCell.prototype.get_ae = function () {
|
|
35
35
|
return true;
|
|
36
36
|
};
|
|
37
|
-
SectionHeaderCell.prototype.
|
|
38
|
-
_super.prototype.
|
|
37
|
+
SectionHeaderCell.prototype.ch = function (a, b, c) {
|
|
38
|
+
_super.prototype.ch.call(this, a, b, c);
|
|
39
39
|
if (a == "Indent") {
|
|
40
|
-
this.
|
|
40
|
+
this.ds.setRawStyleProperty("margin-left", this.bb + this.bd + 10 + "px");
|
|
41
41
|
}
|
|
42
42
|
if (a == "IsCollapsable") {
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
43
|
+
if (this.aa) {
|
|
44
|
+
this.ds.setRawStyleProperty("margin-left", this.bb + this.bd + 10 + "px");
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
-
this.
|
|
47
|
+
this.ds.setRawStyleProperty("margin-left", "0px");
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
};
|
|
@@ -27,27 +27,27 @@ var SectionHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
27
27
|
SectionHeaderCellPresenter.prototype.b = function (a) {
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
|
-
if (a.
|
|
31
|
-
if (a.
|
|
32
|
-
if (b.
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
30
|
+
if (a.a7) {
|
|
31
|
+
if (a.bc(SectionHeaderCellModel.n2) || a.bc(SectionHeaderCellModel.n4) || a.bc(SectionHeaderCellModel.n3) || a.bc(SectionHeaderCellModel.n6)) {
|
|
32
|
+
if (b.ny == null || (b.ny.length == 0 && b.oc == null)) {
|
|
33
|
+
if (b.ib == null) {
|
|
34
|
+
b.ku = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.ku = b.ib.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.oa != null && b.n1 == 0) {
|
|
42
|
+
b.ku = b.oc + " " + b.oa;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.ku = b.oc;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.c5(this.d.dt, b.ku);
|
|
49
49
|
}
|
|
50
|
-
ContentCellModelHelper.a(this.a.
|
|
50
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dt, this.a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
SectionHeaderCellPresenter.$t = markType(SectionHeaderCellPresenter, 'SectionHeaderCellPresenter', CellPresenterBase.$);
|
package/esm5/lib/SummaryCell.js
CHANGED
|
@@ -14,68 +14,68 @@ var SummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
14
|
__extends(SummaryCell, _super);
|
|
15
15
|
function SummaryCell(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.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
27
|
-
_this.
|
|
28
|
-
_this.
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
_this.
|
|
36
|
-
_this.
|
|
37
|
-
_this.
|
|
38
|
-
_this.
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
17
|
+
_this.ds = null;
|
|
18
|
+
_this.dt = null;
|
|
19
|
+
_this.du = null;
|
|
20
|
+
_this.dy = -1;
|
|
21
|
+
_this.dx = -1;
|
|
22
|
+
_this.ap.setRawStyleProperty("vertical-align", "middle");
|
|
23
|
+
_this.du = a.createElement("div");
|
|
24
|
+
_this.ds = a.createElement("span");
|
|
25
|
+
_this.ds.setRawStyleProperty("display", "inline-block");
|
|
26
|
+
_this.ds.setRawStyleProperty("width", "40%");
|
|
27
|
+
_this.ds.setRawStyleProperty("white-space", "nowrap");
|
|
28
|
+
_this.ds.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
+
_this.ds.setRawStyleProperty("vertical-align", "middle");
|
|
30
|
+
_this.ds.setRawStyleProperty("overflow", "hidden");
|
|
31
|
+
_this.du.append(_this.ds);
|
|
32
|
+
_this.dt = a.createElement("span");
|
|
33
|
+
_this.dt.setRawStyleProperty("display", "inline-block");
|
|
34
|
+
_this.dt.setRawStyleProperty("width", "60%");
|
|
35
|
+
_this.dt.setRawStyleProperty("text-align", "right");
|
|
36
|
+
_this.dt.setRawStyleProperty("white-space", "nowrap");
|
|
37
|
+
_this.dt.setRawStyleProperty("text-overflow", "ellipsis");
|
|
38
|
+
_this.dt.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.dt.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.du.append(_this.dt);
|
|
41
|
+
_this.ap.append(_this.du);
|
|
42
42
|
return _this;
|
|
43
43
|
}
|
|
44
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
44
|
+
Object.defineProperty(SummaryCell.prototype, "dv", {
|
|
45
45
|
get: function () {
|
|
46
|
-
return this.
|
|
46
|
+
return this.ds;
|
|
47
47
|
},
|
|
48
48
|
enumerable: false,
|
|
49
49
|
configurable: true
|
|
50
50
|
});
|
|
51
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
51
|
+
Object.defineProperty(SummaryCell.prototype, "dw", {
|
|
52
52
|
get: function () {
|
|
53
|
-
return this.
|
|
53
|
+
return this.dt;
|
|
54
54
|
},
|
|
55
55
|
enumerable: false,
|
|
56
56
|
configurable: true
|
|
57
57
|
});
|
|
58
|
-
SummaryCell.prototype.
|
|
59
|
-
_super.prototype.
|
|
58
|
+
SummaryCell.prototype.c8 = function (a, b) {
|
|
59
|
+
_super.prototype.c8.call(this, a, b);
|
|
60
60
|
var c = Math.max(0, a - b);
|
|
61
|
-
if (this.
|
|
62
|
-
this.
|
|
61
|
+
if (this.dy != c) {
|
|
62
|
+
this.dy = c;
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
SummaryCell.prototype.
|
|
66
|
-
_super.prototype.
|
|
65
|
+
SummaryCell.prototype.cy = function (a, b) {
|
|
66
|
+
_super.prototype.cy.call(this, a, b);
|
|
67
67
|
var c = Math.max(0, a - b);
|
|
68
|
-
if (this.
|
|
69
|
-
this.
|
|
68
|
+
if (this.dx != c) {
|
|
69
|
+
this.dx = c;
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
SummaryCell.prototype.
|
|
72
|
+
SummaryCell.prototype.get_ae = function () {
|
|
73
73
|
return false;
|
|
74
74
|
};
|
|
75
|
-
SummaryCell.prototype.
|
|
76
|
-
_super.prototype.
|
|
75
|
+
SummaryCell.prototype.ch = function (a, b, c) {
|
|
76
|
+
_super.prototype.ch.call(this, a, b, c);
|
|
77
77
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
78
|
-
this.
|
|
78
|
+
this.du.setRawStyleProperty("margin-left", this.bb + this.bd + this.bc + "px");
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
SummaryCell.$t = markType(SummaryCell, 'SummaryCell', GridCellBase.$);
|
|
@@ -27,26 +27,26 @@ var SummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
27
27
|
SummaryCellPresenter.prototype.b = function (a) {
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
|
-
if (a.
|
|
31
|
-
ContentCellModelHelper.a(this.a.
|
|
32
|
-
ContentCellModelHelper.a(this.a.
|
|
33
|
-
if (a.
|
|
34
|
-
if (b.
|
|
35
|
-
this.d.
|
|
30
|
+
if (a.a7) {
|
|
31
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dv, this.a);
|
|
32
|
+
ContentCellModelHelper.a(this.a.ak, b, this.a.ap, this.d.dw, this.a);
|
|
33
|
+
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
34
|
+
if (b.n4 != null) {
|
|
35
|
+
this.d.c5(this.d.dv, b.n4);
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.d.
|
|
37
|
+
if (b.n6 != null) {
|
|
38
|
+
this.d.c5(this.d.dw, b.n6);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
if (a.
|
|
42
|
-
this.d.
|
|
41
|
+
if (a.bb("SummaryLabelTextColor")) {
|
|
42
|
+
this.d.dv.setRawStyleProperty("color", b.ob._fill);
|
|
43
43
|
}
|
|
44
|
-
if (a.
|
|
45
|
-
var c = b.
|
|
44
|
+
if (a.bb("SummaryLabelFontInfo")) {
|
|
45
|
+
var c = b.nx;
|
|
46
46
|
if (c == null) {
|
|
47
|
-
c = FontUtil.getDefaultFont(this.a.
|
|
47
|
+
c = FontUtil.getDefaultFont(this.a.ak);
|
|
48
48
|
}
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.dv.setRawStyleProperty("font", c.fontString);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|