igniteui-angular-data-grids 21.0.1 → 21.1.0-beta.1
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 +16132 -13283
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +39 -36
- package/esm2015/lib/CheckboxListBridge.js +44 -36
- package/esm2015/lib/CheckboxListView_combined.js +492 -453
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +8444 -7075
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +11 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +3 -3
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/DraggerView.js +8 -8
- package/esm2015/lib/EditorCell.js +291 -291
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +171 -154
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +382 -261
- package/esm2015/lib/GridIconRepository.js +94 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm2015/lib/GridStyleRepository.js +123 -115
- package/esm2015/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm2015/lib/NativeUIComboFactory.js +1 -1
- package/esm2015/lib/NativeUIGridFactory.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +23 -23
- package/esm2015/lib/SectionHeaderCell.js +22 -10
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +47 -38
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +5 -5
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +188 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +61 -39
- package/esm2015/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +115 -91
- package/esm2015/lib/igx-checkbox-list-component.js +64 -54
- 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 +27 -22
- package/esm2015/lib/igx-data-grid-column-component.js +305 -163
- package/esm2015/lib/igx-data-grid-component.js +186 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +116 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -0
- 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-image-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-numeric-cell-info.js +35 -26
- package/esm2015/lib/igx-numeric-column-component.js +43 -31
- package/esm2015/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +55 -17
- package/esm2015/lib/igx-section-header-dynamic-module.js +2 -0
- 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-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-text-header-cell-info.js +80 -24
- package/esm2015/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +39 -36
- package/esm5/lib/CheckboxListBridge.js +44 -36
- package/esm5/lib/CheckboxListView_combined.js +476 -433
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +8422 -6824
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +11 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm5/lib/DataGridToolbarView_combined.js +3 -3
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/DraggerView.js +8 -8
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +168 -147
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +400 -247
- package/esm5/lib/GridIconRepository.js +98 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm5/lib/GridStyleRepository.js +127 -115
- package/esm5/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm5/lib/NativeUIComboFactory.js +1 -1
- package/esm5/lib/NativeUIGridFactory.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +23 -23
- package/esm5/lib/SectionHeaderCell.js +22 -10
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +47 -38
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +5 -5
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +186 -151
- package/esm5/lib/TextHeaderCellPresenter.js +61 -39
- package/esm5/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +127 -91
- package/esm5/lib/igx-checkbox-list-component.js +67 -53
- 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 +27 -22
- package/esm5/lib/igx-data-grid-column-component.js +365 -163
- package/esm5/lib/igx-data-grid-component.js +244 -2
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +144 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -0
- 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-image-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-numeric-cell-info.js +39 -26
- package/esm5/lib/igx-numeric-column-component.js +47 -31
- package/esm5/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +71 -17
- package/esm5/lib/igx-section-header-dynamic-module.js +2 -0
- 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-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-text-header-cell-info.js +108 -24
- package/esm5/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +16030 -13672
- package/fesm5/igniteui-angular-data-grids.js +16132 -13285
- package/lib/CheckboxListExternal.d.ts +2 -0
- package/lib/CheckboxListView_combined.d.ts +117 -113
- package/lib/ColumnFilterCondition_combined.d.ts +1833 -1680
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +11 -0
- package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +102 -79
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +3 -2
- package/lib/GridStyleRepositoryKeys.d.ts +28 -27
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +5 -3
- package/lib/SummaryCell.d.ts +11 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +1 -1
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- 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 +15 -0
- package/lib/igx-checkbox-list-component.d.ts +6 -1
- package/lib/igx-data-grid-column-component.d.ts +46 -1
- package/lib/igx-data-grid-component.d.ts +73 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +37 -1
- package/lib/igx-numeric-cell-info.d.ts +6 -0
- package/lib/igx-numeric-column-component.d.ts +8 -1
- package/lib/igx-section-header-component.d.ts +15 -1
- package/lib/igx-text-header-cell-info.d.ts +18 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -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.
|
|
32
|
+
if (a.bc(CellModel.fp) || a.bc(CellModel.h7)) {
|
|
33
33
|
var c = Math.min(1, Math.max(0, a.c7));
|
|
34
34
|
var d = a.cs * (1 - c);
|
|
35
|
-
this.d.
|
|
35
|
+
this.d.d3 = d;
|
|
36
36
|
}
|
|
37
|
-
if (b.bc(ImageCellModel.
|
|
38
|
-
this.e(b.
|
|
37
|
+
if (b.bc(ImageCellModel.od) || b.bc(ImageCellModel.oe)) {
|
|
38
|
+
this.e(b.oh, b.oa);
|
|
39
39
|
}
|
|
40
|
-
if (b.bc(ImageCellModel.
|
|
41
|
-
this.f(b.
|
|
40
|
+
if (b.bc(ImageCellModel.of) || b.bc(ImageCellModel.gc) || b.bc(ImageCellModel.h6)) {
|
|
41
|
+
this.f(b.oc, b.g, b.i);
|
|
42
42
|
}
|
|
43
|
-
if (b.bc(ImageCellModel.
|
|
43
|
+
if (b.bc(ImageCellModel.hn)) {
|
|
44
44
|
if (a.u == 1) {
|
|
45
|
-
this.d.
|
|
45
|
+
this.d.d8();
|
|
46
46
|
}
|
|
47
47
|
else if (a.u == 2) {
|
|
48
|
-
this.e(b.
|
|
48
|
+
this.e(b.oh, b.oa);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
ImageCellPresenter.prototype.f = function (a, b, c) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.ee(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.eb(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.eb(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.eb(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.eb(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.eb(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.g5 != a) {
|
|
140
|
+
b.g5 = 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.g5;
|
|
160
160
|
if (null != c) {
|
|
161
|
-
b.
|
|
161
|
+
b.g5 = 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.g5) {
|
|
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.nq();
|
|
716
716
|
}
|
|
717
717
|
d.d = e;
|
|
718
718
|
d.b = a;
|
|
@@ -767,8 +767,8 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
767
767
|
this.l.y = a.av;
|
|
768
768
|
}
|
|
769
769
|
if (null != this.am) {
|
|
770
|
-
NativeUI.
|
|
771
|
-
NativeUI.
|
|
770
|
+
NativeUI.r(this.am, a.hs);
|
|
771
|
+
NativeUI.n(this.am, a.hr);
|
|
772
772
|
if (null != a.aw) {
|
|
773
773
|
this.am.setStyleProperty("font", a.aw.fontString);
|
|
774
774
|
}
|
|
@@ -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.g5;
|
|
843
843
|
if (null != b) {
|
|
844
|
-
a.
|
|
844
|
+
a.g5 = null;
|
|
845
845
|
}
|
|
846
846
|
else {
|
|
847
847
|
this.cw();
|
|
@@ -879,7 +879,7 @@ var MultiColumnComboBoxView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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.i9 = 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.kx(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.la(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.nl, a)) {
|
|
2780
2780
|
return d;
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
@@ -29,7 +29,7 @@ var NativeUIComboFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
configurable: true
|
|
30
30
|
});
|
|
31
31
|
NativeUIComboFactory.register = function () {
|
|
32
|
-
NativeUIComponent.
|
|
32
|
+
NativeUIComponent.at(NativeUIComboFactory.instance);
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(NativeUIComboFactory.prototype, "flavor", {
|
|
35
35
|
get: function () {
|
|
@@ -31,7 +31,7 @@ var NativeUIGridFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
31
|
configurable: true
|
|
32
32
|
});
|
|
33
33
|
NativeUIGridFactory.register = function () {
|
|
34
|
-
NativeUIComponent.
|
|
34
|
+
NativeUIComponent.at(NativeUIGridFactory.instance);
|
|
35
35
|
};
|
|
36
36
|
Object.defineProperty(NativeUIGridFactory.prototype, "flavor", {
|
|
37
37
|
get: function () {
|
|
@@ -68,7 +68,7 @@ var NativeUIGridFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
68
68
|
var f = (comp_.i);
|
|
69
69
|
var g = new CheckboxListBridge(f);
|
|
70
70
|
var h = new NativeUICheckboxList();
|
|
71
|
-
h.
|
|
71
|
+
h.ao = d;
|
|
72
72
|
h.d = g;
|
|
73
73
|
b(h);
|
|
74
74
|
}, false);
|
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.c3(_this.d0, 2);
|
|
18
|
+
_this.dc(_this.d0, 1);
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
-
NumericCell.prototype.
|
|
22
|
-
_super.prototype.
|
|
21
|
+
NumericCell.prototype.cl = function (a, b, c) {
|
|
22
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
23
23
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
24
|
-
this.
|
|
24
|
+
this.d0.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
NumericCell.prototype.
|
|
28
|
-
_super.prototype.
|
|
29
|
-
this.
|
|
27
|
+
NumericCell.prototype.b9 = function () {
|
|
28
|
+
_super.prototype.b9.call(this);
|
|
29
|
+
this.di(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.o1) || a.bc(NumericCellModel.oo) || a.bc(NumericCellModel.h5) || b.og()) {
|
|
33
|
+
b.k1 = this.e(b);
|
|
34
|
+
this.d.c9(this.d.d0, b.k1);
|
|
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.d0, this.a);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
NumericCellPresenter.prototype.e = function (a) {
|
|
40
|
-
if (a.
|
|
41
|
-
return a.
|
|
40
|
+
if (a.ly != null) {
|
|
41
|
+
return a.ly;
|
|
42
42
|
}
|
|
43
|
-
if (a.
|
|
44
|
-
var val_ = a.
|
|
45
|
-
var override_ = a.
|
|
43
|
+
if (a.o7 != null) {
|
|
44
|
+
var val_ = a.ok;
|
|
45
|
+
var override_ = a.o7;
|
|
46
46
|
return (override_.format(val_));
|
|
47
47
|
}
|
|
48
48
|
return NumericCellFormatter.c(a);
|
|
@@ -114,8 +114,8 @@ var PropertyEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
114
114
|
}
|
|
115
115
|
var b = a.rootWrapper;
|
|
116
116
|
if (null != b) {
|
|
117
|
-
NativeUI.
|
|
118
|
-
NativeUI.
|
|
117
|
+
NativeUI.r(b, this.b.ec);
|
|
118
|
+
NativeUI.n(b, this.b.d8);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
PropertyEditorView.prototype.e = function () {
|
|
@@ -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.lm = 10;
|
|
840
|
+
a.ln = 5;
|
|
841
|
+
a.nl = "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.nl = "ValueType";
|
|
846
|
+
b.lm = 5;
|
|
847
|
+
b.ln = 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.lm = 10;
|
|
928
|
+
s.ln = 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.od = "PropertyName_" + k;
|
|
937
|
+
s.nl = "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.od = "ValueType_" + k;
|
|
975
|
+
v.nl = "ValueType";
|
|
976
|
+
v.lm = 5;
|
|
977
|
+
v.ln = 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.fq, 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.fq, 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.fq, b.cellInfo.ij);
|
|
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.fq, b.cellInfo.ij);
|
|
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.fq, b.cellInfo.ij);
|
|
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.fq, b.cellInfo.ij);
|
|
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.fq, b.cellInfo.ij);
|
|
1597
1597
|
var f = e.ar;
|
|
1598
1598
|
if (f == null) {
|
|
1599
1599
|
f = false;
|
|
@@ -14,37 +14,49 @@ 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.
|
|
17
|
+
_this.dz = null;
|
|
18
|
+
_this.dz = a.createElement("span");
|
|
19
|
+
_this.dz.setRawStyleProperty("display", "inline-block");
|
|
20
|
+
_this.dz.setRawStyleProperty("line-height", "normal");
|
|
21
|
+
_this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
+
_this.dz.setRawStyleProperty("overflow", "hidden");
|
|
23
|
+
_this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
24
|
+
_this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
19
25
|
_this.ar.setRawStyleProperty("text-align", "left");
|
|
20
26
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
21
27
|
_this.ar.setRawStyleProperty("overflow", "hidden");
|
|
22
28
|
_this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
23
29
|
_this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
|
-
_this.ar.append(_this.
|
|
30
|
+
_this.ar.append(_this.dz);
|
|
25
31
|
return _this;
|
|
26
32
|
}
|
|
27
|
-
Object.defineProperty(SectionHeaderCell.prototype, "
|
|
33
|
+
Object.defineProperty(SectionHeaderCell.prototype, "d0", {
|
|
28
34
|
get: function () {
|
|
29
|
-
return this.
|
|
35
|
+
return this.dz;
|
|
30
36
|
},
|
|
31
37
|
enumerable: false,
|
|
32
38
|
configurable: true
|
|
33
39
|
});
|
|
40
|
+
SectionHeaderCell.prototype.c1 = function (a, b) {
|
|
41
|
+
_super.prototype.c1.call(this, a, b);
|
|
42
|
+
if (a == this.dz) {
|
|
43
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
44
|
+
}
|
|
45
|
+
};
|
|
34
46
|
SectionHeaderCell.prototype.get_ae = function () {
|
|
35
47
|
return true;
|
|
36
48
|
};
|
|
37
|
-
SectionHeaderCell.prototype.
|
|
38
|
-
_super.prototype.
|
|
49
|
+
SectionHeaderCell.prototype.cl = function (a, b, c) {
|
|
50
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
39
51
|
if (a == "Indent") {
|
|
40
|
-
this.
|
|
52
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
41
53
|
}
|
|
42
54
|
if (a == "IsCollapsable") {
|
|
43
55
|
if (this.aa) {
|
|
44
|
-
this.
|
|
56
|
+
this.dz.setRawStyleProperty("margin-left", this.bd + this.bf + 10 + "px");
|
|
45
57
|
}
|
|
46
58
|
else {
|
|
47
|
-
this.
|
|
59
|
+
this.dz.setRawStyleProperty("margin-left", "0px");
|
|
48
60
|
}
|
|
49
61
|
}
|
|
50
62
|
};
|
|
@@ -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.of) || a.bc(SectionHeaderCellModel.oh) || a.bc(SectionHeaderCellModel.og) || a.bc(SectionHeaderCellModel.oj)) {
|
|
32
|
+
if (b.ob == null || (b.ob.length == 0 && b.op == null)) {
|
|
33
|
+
if (b.ii == null) {
|
|
34
|
+
b.k1 = "";
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k1 = b.ii.toString();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
if (b.
|
|
42
|
-
b.
|
|
41
|
+
if (b.on != null && b.oe == 0) {
|
|
42
|
+
b.k1 = b.op + " " + b.on;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
b.
|
|
45
|
+
b.k1 = b.op;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
this.d.
|
|
48
|
+
this.d.c9(this.d.d0, b.k1);
|
|
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.d0, this.a);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
SectionHeaderCellPresenter.$t = markType(SectionHeaderCellPresenter, 'SectionHeaderCellPresenter', CellPresenterBase.$);
|
package/esm5/lib/SummaryCell.js
CHANGED
|
@@ -14,68 +14,77 @@ 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.
|
|
17
|
+
_this.dz = null;
|
|
18
|
+
_this.d0 = null;
|
|
19
|
+
_this.d1 = null;
|
|
20
|
+
_this.d5 = -1;
|
|
21
|
+
_this.d4 = -1;
|
|
22
22
|
_this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
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.ar.append(_this.
|
|
23
|
+
_this.d1 = a.createElement("div");
|
|
24
|
+
_this.dz = a.createElement("span");
|
|
25
|
+
_this.dz.setRawStyleProperty("display", "inline-block");
|
|
26
|
+
_this.dz.setRawStyleProperty("width", "40%");
|
|
27
|
+
_this.dz.setRawStyleProperty("white-space", "nowrap");
|
|
28
|
+
_this.dz.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
+
_this.dz.setRawStyleProperty("vertical-align", "middle");
|
|
30
|
+
_this.dz.setRawStyleProperty("overflow", "hidden");
|
|
31
|
+
_this.d1.append(_this.dz);
|
|
32
|
+
_this.d0 = a.createElement("span");
|
|
33
|
+
_this.d0.setRawStyleProperty("display", "inline-block");
|
|
34
|
+
_this.d0.setRawStyleProperty("width", "60%");
|
|
35
|
+
_this.d0.setRawStyleProperty("text-align", "right");
|
|
36
|
+
_this.d0.setRawStyleProperty("white-space", "nowrap");
|
|
37
|
+
_this.d0.setRawStyleProperty("text-overflow", "ellipsis");
|
|
38
|
+
_this.d0.setRawStyleProperty("vertical-align", "middle");
|
|
39
|
+
_this.d0.setRawStyleProperty("overflow", "hidden");
|
|
40
|
+
_this.d1.append(_this.d0);
|
|
41
|
+
_this.ar.append(_this.d1);
|
|
42
42
|
return _this;
|
|
43
43
|
}
|
|
44
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
44
|
+
Object.defineProperty(SummaryCell.prototype, "d2", {
|
|
45
45
|
get: function () {
|
|
46
|
-
return this.
|
|
46
|
+
return this.dz;
|
|
47
47
|
},
|
|
48
48
|
enumerable: false,
|
|
49
49
|
configurable: true
|
|
50
50
|
});
|
|
51
|
-
Object.defineProperty(SummaryCell.prototype, "
|
|
51
|
+
Object.defineProperty(SummaryCell.prototype, "d3", {
|
|
52
52
|
get: function () {
|
|
53
|
-
return this.
|
|
53
|
+
return this.d0;
|
|
54
54
|
},
|
|
55
55
|
enumerable: false,
|
|
56
56
|
configurable: true
|
|
57
57
|
});
|
|
58
|
-
SummaryCell.prototype.
|
|
59
|
-
_super.prototype.
|
|
58
|
+
SummaryCell.prototype.dd = function (a, b) {
|
|
59
|
+
_super.prototype.dd.call(this, a, b);
|
|
60
60
|
var c = Math.max(0, a - b);
|
|
61
|
-
if (this.
|
|
62
|
-
this.
|
|
61
|
+
if (this.d5 != c) {
|
|
62
|
+
this.d5 = c;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
SummaryCell.prototype.c2 = function (a, b) {
|
|
66
|
+
_super.prototype.c2.call(this, a, b);
|
|
67
|
+
var c = Math.max(0, a - b);
|
|
68
|
+
if (this.d4 != c) {
|
|
69
|
+
this.d4 = c;
|
|
63
70
|
}
|
|
64
71
|
};
|
|
65
72
|
SummaryCell.prototype.c1 = function (a, b) {
|
|
66
73
|
_super.prototype.c1.call(this, a, b);
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
74
|
+
if (a == this.dz) {
|
|
75
|
+
this.dz.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
76
|
+
}
|
|
77
|
+
else if (a == this.d0) {
|
|
78
|
+
this.d0.setRawStyleProperty("line-height", (this.bg - this.bh).toString() + "px");
|
|
70
79
|
}
|
|
71
80
|
};
|
|
72
81
|
SummaryCell.prototype.get_ae = function () {
|
|
73
82
|
return false;
|
|
74
83
|
};
|
|
75
|
-
SummaryCell.prototype.
|
|
76
|
-
_super.prototype.
|
|
84
|
+
SummaryCell.prototype.cl = function (a, b, c) {
|
|
85
|
+
_super.prototype.cl.call(this, a, b, c);
|
|
77
86
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
78
|
-
this.
|
|
87
|
+
this.d1.setRawStyleProperty("margin-left", this.bd + this.bf + this.be + "px");
|
|
79
88
|
}
|
|
80
89
|
};
|
|
81
90
|
SummaryCell.$t = markType(SummaryCell, 'SummaryCell', GridCellBase.$);
|
|
@@ -28,25 +28,25 @@ var SummaryCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
_super.prototype.b.call(this, a);
|
|
29
29
|
var b = a;
|
|
30
30
|
if (a.a7) {
|
|
31
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
32
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
31
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
32
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d3, this.a);
|
|
33
33
|
if (a.bb("ResolvedSummaryLabel") || a.bb("ResolvedSummaryValue")) {
|
|
34
|
-
if (b.
|
|
35
|
-
this.d.
|
|
34
|
+
if (b.oh != null) {
|
|
35
|
+
this.d.c9(this.d.d2, b.oh);
|
|
36
36
|
}
|
|
37
|
-
if (b.
|
|
38
|
-
this.d.
|
|
37
|
+
if (b.oj != null) {
|
|
38
|
+
this.d.c9(this.d.d3, b.oj);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
if (a.bb("SummaryLabelTextColor")) {
|
|
42
|
-
this.d.
|
|
42
|
+
this.d.d2.setRawStyleProperty("color", b.oo._fill);
|
|
43
43
|
}
|
|
44
|
-
if (a.bb("SummaryLabelFontInfo")) {
|
|
45
|
-
var c = b.
|
|
44
|
+
if (a.bb("FontInfo") || a.bb("SummaryLabelFontInfo")) {
|
|
45
|
+
var c = b.oa;
|
|
46
46
|
if (c == null) {
|
|
47
47
|
c = FontUtil.getDefaultFont(this.a.am);
|
|
48
48
|
}
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.d2.setRawStyleProperty("font", c.fontString);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
};
|