igniteui-angular-data-grids 21.1.0-beta.1 → 21.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +10884 -9697
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +10 -10
- package/esm2015/lib/CanvasCellPresenterBase.js +12 -12
- package/esm2015/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPath.js +79 -69
- package/esm2015/lib/CellPresenterBase.js +46 -46
- package/esm2015/lib/CheckboxListBridge.js +12 -0
- package/esm2015/lib/CheckboxListView_combined.js +329 -283
- package/esm2015/lib/ColumnChooserView_combined.js +11 -11
- package/esm2015/lib/ColumnFilterCondition_combined.js +7043 -6712
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +16 -16
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/DraggerView.js +1 -7
- package/esm2015/lib/EditorCell.js +289 -289
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/FilterCell.js +267 -267
- package/esm2015/lib/FilterCellPresenter.js +17 -17
- package/esm2015/lib/GridCellBase.js +210 -202
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +13 -13
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +238 -187
- package/esm2015/lib/ISummaryChooserView_combined.js +4 -4
- package/esm2015/lib/ImageCell.js +58 -58
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +30 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +44 -44
- package/esm2015/lib/SummaryCellPresenter.js +9 -9
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +6 -6
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +31 -30
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +181 -175
- package/esm2015/lib/TextHeaderCellPresenter.js +66 -57
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +195 -186
- package/esm2015/lib/igx-checkbox-list-component.js +42 -20
- package/esm2015/lib/igx-column-chooser-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-pinning-component.js +1 -1
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-binding-event-args.js +3 -0
- package/esm2015/lib/igx-data-grid-column-component.js +261 -195
- package/esm2015/lib/igx-data-grid-component.js +226 -33
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +60 -27
- package/esm2015/lib/igx-data-grid-toolbar-component.js +40 -8
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +44 -44
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igx-numeric-cell-info.js +28 -28
- package/esm2015/lib/igx-numeric-column-component.js +32 -32
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +24 -24
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +23 -23
- package/esm2015/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm2015/lib/igx-summary-row-section-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +67 -40
- package/esm5/lib/AccessibilityRow.js +10 -10
- package/esm5/lib/CanvasCellPresenterBase.js +12 -12
- package/esm5/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPath.js +79 -65
- package/esm5/lib/CellPresenterBase.js +46 -46
- package/esm5/lib/CheckboxListBridge.js +12 -0
- package/esm5/lib/CheckboxListView_combined.js +332 -278
- package/esm5/lib/ColumnChooserView_combined.js +11 -11
- package/esm5/lib/ColumnFilterCondition_combined.js +6860 -6456
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +16 -16
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/DraggerView.js +1 -7
- package/esm5/lib/EditorCell.js +276 -276
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/FilterCell.js +257 -257
- package/esm5/lib/FilterCellPresenter.js +17 -17
- package/esm5/lib/GridCellBase.js +205 -193
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +13 -13
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +240 -177
- package/esm5/lib/ISummaryChooserView_combined.js +4 -4
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +17 -17
- package/esm5/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +30 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +44 -44
- package/esm5/lib/SummaryCellPresenter.js +9 -9
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +6 -6
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +31 -30
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +185 -179
- package/esm5/lib/TextHeaderCellPresenter.js +66 -57
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +207 -186
- package/esm5/lib/igx-checkbox-list-component.js +49 -19
- package/esm5/lib/igx-column-chooser-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-pinning-component.js +1 -1
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-binding-event-args.js +3 -0
- package/esm5/lib/igx-data-grid-column-component.js +285 -195
- package/esm5/lib/igx-data-grid-component.js +246 -33
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +72 -27
- package/esm5/lib/igx-data-grid-toolbar-component.js +40 -8
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +44 -44
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-column-filter-options-component.js +1 -1
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igx-numeric-cell-info.js +28 -28
- package/esm5/lib/igx-numeric-column-component.js +32 -32
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +24 -24
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +22 -22
- package/esm5/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm5/lib/igx-summary-row-section-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +79 -40
- package/fesm2015/igniteui-angular-data-grids.js +10781 -9783
- package/fesm5/igniteui-angular-data-grids.js +10884 -9697
- package/lib/CellPath.d.ts +21 -20
- package/lib/CheckboxListExternal.d.ts +3 -0
- package/lib/CheckboxListView_combined.d.ts +77 -71
- package/lib/ColumnFilterCondition_combined.d.ts +1759 -1699
- package/lib/EditorCell.d.ts +63 -63
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +82 -80
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +61 -52
- package/lib/ImageCell.d.ts +15 -15
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +6 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +11 -1
- package/lib/igx-data-grid-column-component.d.ts +31 -1
- package/lib/igx-data-grid-component.d.ts +28 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +16 -1
- package/lib/igx-summary-row-component.d.ts +3 -3
- package/lib/igx-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
package/esm5/lib/GridCellBase.js
CHANGED
|
@@ -41,19 +41,19 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
41
41
|
_this.a0 = 0;
|
|
42
42
|
_this.a5 = 0;
|
|
43
43
|
_this.t = false;
|
|
44
|
-
_this.
|
|
44
|
+
_this.dr = null;
|
|
45
45
|
_this.u = false;
|
|
46
46
|
_this.v = true;
|
|
47
47
|
_this.aq = null;
|
|
48
|
-
_this.
|
|
49
|
-
_this.
|
|
48
|
+
_this.br = null;
|
|
49
|
+
_this.du = null;
|
|
50
50
|
_this.m = null;
|
|
51
51
|
_this.x = false;
|
|
52
|
-
_this.
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
52
|
+
_this.bq = null;
|
|
53
|
+
_this.bp = null;
|
|
54
|
+
_this.dt = null;
|
|
55
|
+
_this.ds = null;
|
|
56
|
+
_this.dz = Rect.empty;
|
|
57
57
|
_this.al = null;
|
|
58
58
|
_this.ap = null;
|
|
59
59
|
_this.l = null;
|
|
@@ -67,10 +67,11 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
67
67
|
_this.aw = 0;
|
|
68
68
|
_this.av = 0;
|
|
69
69
|
_this.at = 0;
|
|
70
|
-
_this.
|
|
70
|
+
_this.dq = null;
|
|
71
71
|
_this.a3 = 0;
|
|
72
72
|
_this.bc = 0;
|
|
73
73
|
_this.a4 = 0;
|
|
74
|
+
_this.bd = 0;
|
|
74
75
|
_this.k = null;
|
|
75
76
|
_this.g = 0;
|
|
76
77
|
_this.i = 0;
|
|
@@ -78,8 +79,8 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
78
79
|
_this.ag = 0;
|
|
79
80
|
_this.h = 1;
|
|
80
81
|
_this.y = false;
|
|
81
|
-
_this.
|
|
82
|
-
_this.
|
|
82
|
+
_this.bn = 0;
|
|
83
|
+
_this.bo = 0;
|
|
83
84
|
_this.as = 0;
|
|
84
85
|
_this.bb = -1;
|
|
85
86
|
_this.ax = 0;
|
|
@@ -95,20 +96,20 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
96
|
var c = (window.PointerEvent !== undefined);
|
|
96
97
|
var d = (window.TouchEvent);
|
|
97
98
|
if ((b || c)) {
|
|
98
|
-
_this.an.listen("pointerdown", runOn(_this, _this.
|
|
99
|
-
_this.an.listen("pointerup", runOn(_this, _this.
|
|
100
|
-
_this.an.listen("pointermove", runOn(_this, _this.
|
|
101
|
-
_this.an.listen("pointerleave", runOn(_this, _this.
|
|
102
|
-
_this.an.listen("pointerenter", runOn(_this, _this.
|
|
99
|
+
_this.an.listen("pointerdown", runOn(_this, _this.cs));
|
|
100
|
+
_this.an.listen("pointerup", runOn(_this, _this.cw));
|
|
101
|
+
_this.an.listen("pointermove", runOn(_this, _this.cv));
|
|
102
|
+
_this.an.listen("pointerleave", runOn(_this, _this.cu));
|
|
103
|
+
_this.an.listen("pointerenter", runOn(_this, _this.ct));
|
|
103
104
|
}
|
|
104
105
|
else {
|
|
105
|
-
_this.an.listen("mousedown", runOn(_this, _this.
|
|
106
|
-
_this.an.listen("mouseup", runOn(_this, _this.
|
|
107
|
-
_this.an.listen("mousemove", runOn(_this, _this.
|
|
108
|
-
_this.an.listen("mouseleave", runOn(_this, _this.
|
|
109
|
-
_this.an.listen("touchstart", runOn(_this, _this.
|
|
110
|
-
_this.an.listen("touchend", runOn(_this, _this.
|
|
111
|
-
_this.an.listen("touchmove", runOn(_this, _this.
|
|
106
|
+
_this.an.listen("mousedown", runOn(_this, _this.ce));
|
|
107
|
+
_this.an.listen("mouseup", runOn(_this, _this.ci));
|
|
108
|
+
_this.an.listen("mousemove", runOn(_this, _this.ch));
|
|
109
|
+
_this.an.listen("mouseleave", runOn(_this, _this.cg));
|
|
110
|
+
_this.an.listen("touchstart", runOn(_this, _this.dh));
|
|
111
|
+
_this.an.listen("touchend", runOn(_this, _this.dj));
|
|
112
|
+
_this.an.listen("touchmove", runOn(_this, _this.di));
|
|
112
113
|
}
|
|
113
114
|
return _this;
|
|
114
115
|
}
|
|
@@ -155,34 +156,34 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
155
156
|
var b = this.w;
|
|
156
157
|
this.w = a;
|
|
157
158
|
if (b != this.w) {
|
|
158
|
-
this.
|
|
159
|
+
this.cn("IsRemoved", b, this.w);
|
|
159
160
|
}
|
|
160
161
|
},
|
|
161
162
|
enumerable: false,
|
|
162
163
|
configurable: true
|
|
163
164
|
});
|
|
164
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
165
|
+
Object.defineProperty(GridCellBase.prototype, "bg", {
|
|
165
166
|
get: function () {
|
|
166
167
|
return this.a2;
|
|
167
168
|
},
|
|
168
169
|
enumerable: false,
|
|
169
170
|
configurable: true
|
|
170
171
|
});
|
|
171
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
172
|
+
Object.defineProperty(GridCellBase.prototype, "be", {
|
|
172
173
|
get: function () {
|
|
173
174
|
return this.a0;
|
|
174
175
|
},
|
|
175
176
|
enumerable: false,
|
|
176
177
|
configurable: true
|
|
177
178
|
});
|
|
178
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
179
|
+
Object.defineProperty(GridCellBase.prototype, "bf", {
|
|
179
180
|
get: function () {
|
|
180
181
|
return this.a1;
|
|
181
182
|
},
|
|
182
183
|
enumerable: false,
|
|
183
184
|
configurable: true
|
|
184
185
|
});
|
|
185
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
186
|
+
Object.defineProperty(GridCellBase.prototype, "bj", {
|
|
186
187
|
get: function () {
|
|
187
188
|
return this.a5;
|
|
188
189
|
},
|
|
@@ -190,7 +191,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
190
191
|
var b = this.a5;
|
|
191
192
|
this.a5 = a;
|
|
192
193
|
if (b != this.a5) {
|
|
193
|
-
this.
|
|
194
|
+
this.cn("Indent", b, this.a5);
|
|
194
195
|
}
|
|
195
196
|
},
|
|
196
197
|
enumerable: false,
|
|
@@ -204,21 +205,21 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
204
205
|
var b = this.t;
|
|
205
206
|
this.t = a;
|
|
206
207
|
if (b != this.t) {
|
|
207
|
-
this.
|
|
208
|
+
this.cn("IsCollapsable", b, this.t);
|
|
208
209
|
}
|
|
209
210
|
},
|
|
210
211
|
enumerable: false,
|
|
211
212
|
configurable: true
|
|
212
213
|
});
|
|
213
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
214
|
+
Object.defineProperty(GridCellBase.prototype, "dv", {
|
|
214
215
|
get: function () {
|
|
215
|
-
return this.
|
|
216
|
+
return this.dr;
|
|
216
217
|
},
|
|
217
218
|
set: function (a) {
|
|
218
|
-
var b = this.
|
|
219
|
-
this.
|
|
220
|
-
if (b != this.
|
|
221
|
-
this.
|
|
219
|
+
var b = this.dr;
|
|
220
|
+
this.dr = a;
|
|
221
|
+
if (b != this.dr) {
|
|
222
|
+
this.cn("ExpansionIndicatorIconColor", b, this.dr);
|
|
222
223
|
}
|
|
223
224
|
},
|
|
224
225
|
enumerable: false,
|
|
@@ -232,7 +233,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
232
233
|
var b = this.u;
|
|
233
234
|
this.u = a;
|
|
234
235
|
if (b != this.u) {
|
|
235
|
-
this.
|
|
236
|
+
this.cn("IsExpanded", b, this.u);
|
|
236
237
|
}
|
|
237
238
|
},
|
|
238
239
|
enumerable: false,
|
|
@@ -246,35 +247,35 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
246
247
|
var b = this.v;
|
|
247
248
|
this.v = a;
|
|
248
249
|
if (b != this.v) {
|
|
249
|
-
this.
|
|
250
|
+
this.cn("IsHitTestVisible", b, this.v);
|
|
250
251
|
}
|
|
251
252
|
},
|
|
252
253
|
enumerable: false,
|
|
253
254
|
configurable: true
|
|
254
255
|
});
|
|
255
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
256
|
+
Object.defineProperty(GridCellBase.prototype, "b6", {
|
|
256
257
|
get: function () {
|
|
257
|
-
return this.
|
|
258
|
+
return this.br;
|
|
258
259
|
},
|
|
259
260
|
set: function (a) {
|
|
260
|
-
var b = this.
|
|
261
|
-
this.
|
|
262
|
-
if (b != this.
|
|
263
|
-
this.
|
|
261
|
+
var b = this.br;
|
|
262
|
+
this.br = a;
|
|
263
|
+
if (b != this.br) {
|
|
264
|
+
this.cn("SuffixText", b, this.br);
|
|
264
265
|
}
|
|
265
266
|
},
|
|
266
267
|
enumerable: false,
|
|
267
268
|
configurable: true
|
|
268
269
|
});
|
|
269
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
270
|
+
Object.defineProperty(GridCellBase.prototype, "dy", {
|
|
270
271
|
get: function () {
|
|
271
|
-
return this.
|
|
272
|
+
return this.du;
|
|
272
273
|
},
|
|
273
274
|
set: function (a) {
|
|
274
|
-
var b = this.
|
|
275
|
-
this.
|
|
276
|
-
if (b != this.
|
|
277
|
-
this.
|
|
275
|
+
var b = this.du;
|
|
276
|
+
this.du = a;
|
|
277
|
+
if (b != this.du) {
|
|
278
|
+
this.cn("SuffixTextColor", b, this.du);
|
|
278
279
|
}
|
|
279
280
|
},
|
|
280
281
|
enumerable: false,
|
|
@@ -288,14 +289,14 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
288
289
|
var b = this.m;
|
|
289
290
|
this.m = a;
|
|
290
291
|
if (b != this.m) {
|
|
291
|
-
this.
|
|
292
|
+
this.cn("SuffixTextFont", b, this.m);
|
|
292
293
|
}
|
|
293
294
|
},
|
|
294
295
|
enumerable: false,
|
|
295
296
|
configurable: true
|
|
296
297
|
});
|
|
297
|
-
GridCellBase.prototype.
|
|
298
|
-
if (this.
|
|
298
|
+
GridCellBase.prototype.co = function () {
|
|
299
|
+
if (this.br != null) {
|
|
299
300
|
if (this.aq == null) {
|
|
300
301
|
this.aq = this.ak.createElement("span");
|
|
301
302
|
this.aq.setRawStyleProperty("display", "inline-block");
|
|
@@ -303,7 +304,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
304
|
this.aq.setRawStyleProperty("white-space", "nowrap");
|
|
304
305
|
this.aq.setRawStyleProperty("margin-left", this.aj + "px");
|
|
305
306
|
}
|
|
306
|
-
this.
|
|
307
|
+
this.cq();
|
|
307
308
|
if (!this.x) {
|
|
308
309
|
this.ar.setRawStyleProperty("display", "grid");
|
|
309
310
|
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
@@ -320,78 +321,78 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
320
321
|
}
|
|
321
322
|
}
|
|
322
323
|
};
|
|
323
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
324
|
+
Object.defineProperty(GridCellBase.prototype, "b1", {
|
|
324
325
|
get: function () {
|
|
325
|
-
return this.
|
|
326
|
+
return this.bq;
|
|
326
327
|
},
|
|
327
328
|
set: function (a) {
|
|
328
|
-
var b = this.
|
|
329
|
-
this.
|
|
330
|
-
if (b != this.
|
|
331
|
-
this.
|
|
329
|
+
var b = this.bq;
|
|
330
|
+
this.bq = a;
|
|
331
|
+
if (b != this.bq) {
|
|
332
|
+
this.cn("SuffixIconName", b, this.bq);
|
|
332
333
|
}
|
|
333
334
|
},
|
|
334
335
|
enumerable: false,
|
|
335
336
|
configurable: true
|
|
336
337
|
});
|
|
337
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
338
|
+
Object.defineProperty(GridCellBase.prototype, "by", {
|
|
338
339
|
get: function () {
|
|
339
|
-
return this.
|
|
340
|
+
return this.bp;
|
|
340
341
|
},
|
|
341
342
|
set: function (a) {
|
|
342
|
-
var b = this.
|
|
343
|
-
this.
|
|
344
|
-
if (b != this.
|
|
345
|
-
this.
|
|
343
|
+
var b = this.bp;
|
|
344
|
+
this.bp = a;
|
|
345
|
+
if (b != this.bp) {
|
|
346
|
+
this.cn("SuffixIconCollectionName", b, this.bp);
|
|
346
347
|
}
|
|
347
348
|
},
|
|
348
349
|
enumerable: false,
|
|
349
350
|
configurable: true
|
|
350
351
|
});
|
|
351
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
352
|
+
Object.defineProperty(GridCellBase.prototype, "dx", {
|
|
352
353
|
get: function () {
|
|
353
|
-
return this.
|
|
354
|
+
return this.dt;
|
|
354
355
|
},
|
|
355
356
|
set: function (a) {
|
|
356
|
-
var b = this.
|
|
357
|
-
this.
|
|
358
|
-
if (b != this.
|
|
359
|
-
this.
|
|
357
|
+
var b = this.dt;
|
|
358
|
+
this.dt = a;
|
|
359
|
+
if (b != this.dt) {
|
|
360
|
+
this.cn("SuffixIconStroke", b, this.dt);
|
|
360
361
|
}
|
|
361
362
|
},
|
|
362
363
|
enumerable: false,
|
|
363
364
|
configurable: true
|
|
364
365
|
});
|
|
365
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
366
|
+
Object.defineProperty(GridCellBase.prototype, "dw", {
|
|
366
367
|
get: function () {
|
|
367
|
-
return this.
|
|
368
|
+
return this.ds;
|
|
368
369
|
},
|
|
369
370
|
set: function (a) {
|
|
370
|
-
var b = this.
|
|
371
|
-
this.
|
|
372
|
-
if (b != this.
|
|
373
|
-
this.
|
|
371
|
+
var b = this.ds;
|
|
372
|
+
this.ds = a;
|
|
373
|
+
if (b != this.ds) {
|
|
374
|
+
this.cn("SuffixIconFill", b, this.ds);
|
|
374
375
|
}
|
|
375
376
|
},
|
|
376
377
|
enumerable: false,
|
|
377
378
|
configurable: true
|
|
378
379
|
});
|
|
379
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
380
|
+
Object.defineProperty(GridCellBase.prototype, "d0", {
|
|
380
381
|
get: function () {
|
|
381
|
-
return this.
|
|
382
|
+
return this.dz;
|
|
382
383
|
},
|
|
383
384
|
set: function (a) {
|
|
384
|
-
var b = this.
|
|
385
|
-
this.
|
|
386
|
-
if (Rect.l_op_Inequality(b, this.
|
|
387
|
-
this.
|
|
385
|
+
var b = this.dz;
|
|
386
|
+
this.dz = a;
|
|
387
|
+
if (Rect.l_op_Inequality(b, this.dz)) {
|
|
388
|
+
this.cn("SuffixIconViewBox", b, this.dz);
|
|
388
389
|
}
|
|
389
390
|
},
|
|
390
391
|
enumerable: false,
|
|
391
392
|
configurable: true
|
|
392
393
|
});
|
|
393
|
-
GridCellBase.prototype.
|
|
394
|
-
if (this.
|
|
394
|
+
GridCellBase.prototype.cp = function () {
|
|
395
|
+
if (this.bq != null && this.bp != null) {
|
|
395
396
|
if (this.l == null) {
|
|
396
397
|
this.ap = this.ak.createElement("div");
|
|
397
398
|
this.al = this.ak.getSubRenderer(this.ap);
|
|
@@ -401,7 +402,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
401
402
|
this.ap.setRawStyleProperty("overflow", "hidden");
|
|
402
403
|
this.ap.setRawStyleProperty("margin-left", this.aj + "px");
|
|
403
404
|
}
|
|
404
|
-
this.
|
|
405
|
+
this.cq();
|
|
405
406
|
if (!this.x) {
|
|
406
407
|
this.ar.setRawStyleProperty("display", "grid");
|
|
407
408
|
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
@@ -418,35 +419,35 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
418
419
|
}
|
|
419
420
|
}
|
|
420
421
|
};
|
|
421
|
-
GridCellBase.prototype.
|
|
422
|
+
GridCellBase.prototype.cq = function () {
|
|
422
423
|
if (this.aq != null) {
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
424
|
+
this.db(this.aq, this.br);
|
|
425
|
+
this.dc(this.aq, this.dy);
|
|
426
|
+
this.c3(this.aq, this.n);
|
|
427
|
+
this.de(this.aq, this.h);
|
|
427
428
|
}
|
|
428
429
|
if (this.l != null) {
|
|
429
|
-
this.l.ea = this.
|
|
430
|
-
this.l.fill = this.
|
|
431
|
-
if (!this.
|
|
432
|
-
this.l.a6 = this.
|
|
433
|
-
this.l.a7 = this.
|
|
434
|
-
this.l.a8 = this.
|
|
435
|
-
this.l.a5 = this.
|
|
430
|
+
this.l.ea = this.dx;
|
|
431
|
+
this.l.fill = this.dw;
|
|
432
|
+
if (!this.d0.isEmpty && !isNaN_(this.d0.left) && !isNaN_(this.d0.top) && !isNaN_(this.d0.width) && !isNaN_(this.d0.height)) {
|
|
433
|
+
this.l.a6 = this.d0.left;
|
|
434
|
+
this.l.a7 = this.d0.top;
|
|
435
|
+
this.l.a8 = this.d0.width;
|
|
436
|
+
this.l.a5 = this.d0.height;
|
|
436
437
|
}
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
438
|
+
this.da(this.ap, this.dx);
|
|
439
|
+
this.c2(this.ap, this.dw);
|
|
440
|
+
this.de(this.ap, this.h);
|
|
441
|
+
this.c6(this.l, this.by, this.b1);
|
|
441
442
|
}
|
|
442
443
|
};
|
|
443
|
-
GridCellBase.prototype.
|
|
444
|
+
GridCellBase.prototype.c6 = function (a, b, c) {
|
|
444
445
|
a.svg = null;
|
|
445
446
|
a.svgPath = null;
|
|
446
447
|
a.b = null;
|
|
447
448
|
a.b2 = null;
|
|
448
449
|
a.bj = null;
|
|
449
|
-
var d = SvgIconRegistry.instance.getSvgPathString(this.
|
|
450
|
+
var d = SvgIconRegistry.instance.getSvgPathString(this.bp, this.bq);
|
|
450
451
|
if (d != null) {
|
|
451
452
|
if (stringStartsWith(d, "<svg")) {
|
|
452
453
|
a.svg = d;
|
|
@@ -456,17 +457,17 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
456
457
|
}
|
|
457
458
|
return;
|
|
458
459
|
}
|
|
459
|
-
var e = SvgIconRegistry.instance.getSvgPathsString(this.
|
|
460
|
+
var e = SvgIconRegistry.instance.getSvgPathsString(this.bp, this.bq);
|
|
460
461
|
if (e != null) {
|
|
461
462
|
a.b = e;
|
|
462
463
|
return;
|
|
463
464
|
}
|
|
464
|
-
var f = SvgIconRegistry.instance.getDataURLString(this.
|
|
465
|
+
var f = SvgIconRegistry.instance.getDataURLString(this.bp, this.bq);
|
|
465
466
|
if (f != null) {
|
|
466
467
|
a.b2 = f;
|
|
467
468
|
return;
|
|
468
469
|
}
|
|
469
|
-
var g = SvgIconRegistry.instance.getIconSource(this.
|
|
470
|
+
var g = SvgIconRegistry.instance.getIconSource(this.bp, this.bq);
|
|
470
471
|
if (g != null) {
|
|
471
472
|
a.bj = g;
|
|
472
473
|
}
|
|
@@ -479,15 +480,15 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
479
480
|
var b = this.ai;
|
|
480
481
|
this.ai = a;
|
|
481
482
|
if (b != this.ai) {
|
|
482
|
-
this.
|
|
483
|
+
this.cn("SuffixMargin", b, this.ai);
|
|
483
484
|
}
|
|
484
485
|
},
|
|
485
486
|
enumerable: false,
|
|
486
487
|
configurable: true
|
|
487
488
|
});
|
|
488
|
-
GridCellBase.prototype.
|
|
489
|
+
GridCellBase.prototype.cd = function () {
|
|
489
490
|
this.a1 = 10;
|
|
490
|
-
this.a0 = this.
|
|
491
|
+
this.a0 = this.bj * 24;
|
|
491
492
|
this.a2 = 24;
|
|
492
493
|
if (this.ao == null) {
|
|
493
494
|
this.ao = this.ak.createElement("div");
|
|
@@ -505,13 +506,13 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
505
506
|
this.j = new GridExpansionIndicator();
|
|
506
507
|
this.j.ab(a);
|
|
507
508
|
this.j.y(24, 24);
|
|
508
|
-
this.j.ae = this.
|
|
509
|
+
this.j.ae = this.dr;
|
|
509
510
|
}
|
|
510
511
|
if (this.ao.parent() == null) {
|
|
511
512
|
this.an.append(this.ao);
|
|
512
513
|
}
|
|
513
514
|
};
|
|
514
|
-
GridCellBase.prototype.
|
|
515
|
+
GridCellBase.prototype.cx = function () {
|
|
515
516
|
this.a2 = 0;
|
|
516
517
|
this.a1 = 0;
|
|
517
518
|
if (this.ao != null) {
|
|
@@ -540,7 +541,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
540
541
|
enumerable: false,
|
|
541
542
|
configurable: true
|
|
542
543
|
});
|
|
543
|
-
GridCellBase.prototype.
|
|
544
|
+
GridCellBase.prototype.c9 = function (a, b, c, d) {
|
|
544
545
|
this.a7 = a;
|
|
545
546
|
this.a9 = b;
|
|
546
547
|
this.a8 = c;
|
|
@@ -550,12 +551,12 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
550
551
|
this.an.setRawStyleProperty("padding-right", c.toString() + "px");
|
|
551
552
|
this.an.setRawStyleProperty("padding-bottom", d.toString() + "px");
|
|
552
553
|
};
|
|
553
|
-
GridCellBase.prototype.
|
|
554
|
+
GridCellBase.prototype.c0 = function (a, b, c, d, e) {
|
|
554
555
|
this.au = b;
|
|
555
556
|
this.aw = c;
|
|
556
557
|
this.av = d;
|
|
557
558
|
this.at = e;
|
|
558
|
-
this.
|
|
559
|
+
this.dq = a;
|
|
559
560
|
if (a == null) {
|
|
560
561
|
this.an.setRawStyleProperty("border", "");
|
|
561
562
|
}
|
|
@@ -578,28 +579,35 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
578
579
|
enumerable: false,
|
|
579
580
|
configurable: true
|
|
580
581
|
});
|
|
581
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
582
|
+
Object.defineProperty(GridCellBase.prototype, "bh", {
|
|
582
583
|
get: function () {
|
|
583
584
|
return this.a3;
|
|
584
585
|
},
|
|
585
586
|
enumerable: false,
|
|
586
587
|
configurable: true
|
|
587
588
|
});
|
|
588
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
589
|
+
Object.defineProperty(GridCellBase.prototype, "bk", {
|
|
589
590
|
get: function () {
|
|
590
591
|
return this.bc;
|
|
591
592
|
},
|
|
592
593
|
enumerable: false,
|
|
593
594
|
configurable: true
|
|
594
595
|
});
|
|
595
|
-
Object.defineProperty(GridCellBase.prototype, "
|
|
596
|
+
Object.defineProperty(GridCellBase.prototype, "bi", {
|
|
596
597
|
get: function () {
|
|
597
598
|
return this.a4;
|
|
598
599
|
},
|
|
599
600
|
enumerable: false,
|
|
600
601
|
configurable: true
|
|
601
602
|
});
|
|
602
|
-
GridCellBase.prototype
|
|
603
|
+
Object.defineProperty(GridCellBase.prototype, "bl", {
|
|
604
|
+
get: function () {
|
|
605
|
+
return this.bd;
|
|
606
|
+
},
|
|
607
|
+
enumerable: false,
|
|
608
|
+
configurable: true
|
|
609
|
+
});
|
|
610
|
+
GridCellBase.prototype.c4 = function (a, b) {
|
|
603
611
|
if (this.a3 != a || this.a4 != b) {
|
|
604
612
|
var c = this.a3;
|
|
605
613
|
this.a3 = a;
|
|
@@ -607,22 +615,26 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
607
615
|
var d = Math.max(0, this.a3 - this.a4);
|
|
608
616
|
this.an.setRawStyleProperty("height", a.toString() + "px");
|
|
609
617
|
if (this.ao != null) {
|
|
610
|
-
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.a2, 2));
|
|
618
|
+
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.a2, 2) - this.aw);
|
|
611
619
|
}
|
|
612
|
-
this.
|
|
620
|
+
this.dg(this.bc, this.a3, this.bc, c);
|
|
613
621
|
}
|
|
614
622
|
};
|
|
615
|
-
GridCellBase.prototype.
|
|
616
|
-
if (this.bc != a) {
|
|
623
|
+
GridCellBase.prototype.df = function (a, b) {
|
|
624
|
+
if (this.bc != a || this.bd != b) {
|
|
617
625
|
var c = this.bc;
|
|
618
626
|
this.bc = a;
|
|
627
|
+
this.bd = b;
|
|
619
628
|
this.an.setRawStyleProperty("width", a.toString() + "px");
|
|
620
|
-
|
|
629
|
+
if (this.ao != null) {
|
|
630
|
+
this.ao.setRawXPosition(this.a7 + this.a0);
|
|
631
|
+
}
|
|
632
|
+
this.dg(this.bc, this.a3, c, this.a3);
|
|
621
633
|
}
|
|
622
634
|
};
|
|
623
|
-
GridCellBase.prototype.
|
|
635
|
+
GridCellBase.prototype.dg = function (a, b, c, d) {
|
|
624
636
|
};
|
|
625
|
-
GridCellBase.prototype.
|
|
637
|
+
GridCellBase.prototype.cb = function () {
|
|
626
638
|
if (!this.ae) {
|
|
627
639
|
return;
|
|
628
640
|
}
|
|
@@ -634,40 +646,40 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
634
646
|
this.k.i = 0;
|
|
635
647
|
this.an.append(this.k.g);
|
|
636
648
|
};
|
|
637
|
-
GridCellBase.prototype.
|
|
649
|
+
GridCellBase.prototype.cz = function (a) {
|
|
638
650
|
this.an.setRawStyleProperty("background-color", a.colorString);
|
|
639
651
|
};
|
|
640
|
-
GridCellBase.prototype.
|
|
652
|
+
GridCellBase.prototype.c8 = function (a) {
|
|
641
653
|
this.an.setRawStyleProperty("opacity", a.toString());
|
|
642
654
|
};
|
|
643
|
-
GridCellBase.prototype.
|
|
655
|
+
GridCellBase.prototype.c3 = function (a, b) {
|
|
644
656
|
if (b == null) {
|
|
645
657
|
b = FontUtil.getDefaultFont(this.am);
|
|
646
658
|
}
|
|
647
659
|
a.setRawStyleProperty("font", b.fontString);
|
|
648
660
|
};
|
|
649
|
-
GridCellBase.prototype.
|
|
661
|
+
GridCellBase.prototype.dc = function (a, b) {
|
|
650
662
|
var c = Color.u(0, 0, 0, 0);
|
|
651
663
|
if (b != null) {
|
|
652
664
|
c = b.color;
|
|
653
665
|
}
|
|
654
666
|
a.setRawStyleProperty("color", c.colorString);
|
|
655
667
|
};
|
|
656
|
-
GridCellBase.prototype.
|
|
668
|
+
GridCellBase.prototype.da = function (a, b) {
|
|
657
669
|
var c = Color.u(0, 0, 0, 0);
|
|
658
670
|
if (b != null) {
|
|
659
671
|
c = b.color;
|
|
660
672
|
}
|
|
661
673
|
a.setRawStyleProperty("stroke", c.colorString);
|
|
662
674
|
};
|
|
663
|
-
GridCellBase.prototype.
|
|
675
|
+
GridCellBase.prototype.c2 = function (a, b) {
|
|
664
676
|
var c = Color.u(0, 0, 0, 0);
|
|
665
677
|
if (b != null) {
|
|
666
678
|
c = b.color;
|
|
667
679
|
}
|
|
668
680
|
a.setRawStyleProperty("fill", c.colorString);
|
|
669
681
|
};
|
|
670
|
-
GridCellBase.prototype.
|
|
682
|
+
GridCellBase.prototype.db = function (a, b) {
|
|
671
683
|
if (a != null) {
|
|
672
684
|
a.setRawText(b);
|
|
673
685
|
}
|
|
@@ -676,19 +688,19 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
676
688
|
if (TestRandomness.instance.testRandomnessSource != null) {
|
|
677
689
|
return TestRandomness.instance.testRandomnessSource;
|
|
678
690
|
}
|
|
679
|
-
return new DefaultRandomnessSource(1, GridCellBase.
|
|
691
|
+
return new DefaultRandomnessSource(1, GridCellBase.bm);
|
|
680
692
|
};
|
|
681
693
|
GridCellBase.prototype.p = function () {
|
|
682
694
|
var a = this.q();
|
|
683
695
|
return a.getGenerator("PlaceholderWidths");
|
|
684
696
|
};
|
|
685
|
-
GridCellBase.prototype.
|
|
697
|
+
GridCellBase.prototype.dp = function (a) {
|
|
686
698
|
if (!this.ae) {
|
|
687
699
|
return;
|
|
688
700
|
}
|
|
689
701
|
this.k.i = (a * 0.20000000298023224);
|
|
690
702
|
};
|
|
691
|
-
GridCellBase.prototype.
|
|
703
|
+
GridCellBase.prototype.dm = function (a, b, c, d) {
|
|
692
704
|
if (this.k != null) {
|
|
693
705
|
var e = this.ah;
|
|
694
706
|
var f = this.ag;
|
|
@@ -708,15 +720,15 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
708
720
|
this.k.g.setRawYPosition(b);
|
|
709
721
|
}
|
|
710
722
|
};
|
|
711
|
-
GridCellBase.prototype.
|
|
723
|
+
GridCellBase.prototype.cl = function (a, b, c) {
|
|
712
724
|
};
|
|
713
|
-
GridCellBase.prototype.
|
|
725
|
+
GridCellBase.prototype.cr = function (a) {
|
|
714
726
|
this.h = a;
|
|
715
727
|
if (this.aq != null) {
|
|
716
|
-
this.
|
|
728
|
+
this.de(this.aq, a);
|
|
717
729
|
}
|
|
718
730
|
};
|
|
719
|
-
GridCellBase.prototype.
|
|
731
|
+
GridCellBase.prototype.dn = function (a) {
|
|
720
732
|
if (!this.ae) {
|
|
721
733
|
return;
|
|
722
734
|
}
|
|
@@ -728,8 +740,8 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
728
740
|
this.ag = b;
|
|
729
741
|
this.k.d = (b);
|
|
730
742
|
}
|
|
731
|
-
var c = a.
|
|
732
|
-
var d = a.
|
|
743
|
+
var c = a.ib * 0.2;
|
|
744
|
+
var d = a.gd * 0.6;
|
|
733
745
|
if (this.ah >= c && this.ah <= d && !this.y) {
|
|
734
746
|
return;
|
|
735
747
|
}
|
|
@@ -742,9 +754,9 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
742
754
|
this.ah = e;
|
|
743
755
|
this.k.e = e;
|
|
744
756
|
}
|
|
745
|
-
this.
|
|
757
|
+
this.dm(this.a7 + this.a0 + this.a2, this.a9, this.bc - (this.a7 + this.a8), this.a3 - (this.a9 + this.a6));
|
|
746
758
|
};
|
|
747
|
-
GridCellBase.prototype.
|
|
759
|
+
GridCellBase.prototype.dk = function (a, b) {
|
|
748
760
|
if (!this.ae) {
|
|
749
761
|
return;
|
|
750
762
|
}
|
|
@@ -752,7 +764,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
752
764
|
this.i = b;
|
|
753
765
|
this.y = true;
|
|
754
766
|
};
|
|
755
|
-
GridCellBase.prototype.
|
|
767
|
+
GridCellBase.prototype.dl = function (a) {
|
|
756
768
|
if (!this.ae) {
|
|
757
769
|
return;
|
|
758
770
|
}
|
|
@@ -760,16 +772,16 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
760
772
|
this.k.l = a.color;
|
|
761
773
|
}
|
|
762
774
|
};
|
|
763
|
-
GridCellBase.prototype.
|
|
775
|
+
GridCellBase.prototype.cy = function (a) {
|
|
764
776
|
this.a = a;
|
|
765
777
|
};
|
|
766
|
-
GridCellBase.prototype.
|
|
778
|
+
GridCellBase.prototype.c7 = function (a) {
|
|
767
779
|
this.e = a;
|
|
768
780
|
};
|
|
769
|
-
GridCellBase.prototype.
|
|
781
|
+
GridCellBase.prototype.c1 = function (a) {
|
|
770
782
|
this.c = a;
|
|
771
783
|
};
|
|
772
|
-
GridCellBase.prototype.
|
|
784
|
+
GridCellBase.prototype.c5 = function (a, b) {
|
|
773
785
|
switch (b) {
|
|
774
786
|
case 0:
|
|
775
787
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
@@ -785,7 +797,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
785
797
|
break;
|
|
786
798
|
}
|
|
787
799
|
};
|
|
788
|
-
GridCellBase.prototype.
|
|
800
|
+
GridCellBase.prototype.de = function (a, b) {
|
|
789
801
|
switch (b) {
|
|
790
802
|
case 0:
|
|
791
803
|
a.setRawStyleProperty("vertical-align", "top");
|
|
@@ -808,67 +820,67 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
808
820
|
GridCellBase.prototype.af = function (a) {
|
|
809
821
|
return a.isClickActionDesired;
|
|
810
822
|
};
|
|
811
|
-
GridCellBase.prototype.
|
|
823
|
+
GridCellBase.prototype.ce = function (a) {
|
|
812
824
|
this.onContactStarted(a, false);
|
|
813
825
|
};
|
|
814
|
-
GridCellBase.prototype.
|
|
826
|
+
GridCellBase.prototype.ci = function (a) {
|
|
815
827
|
this.onContactCompleted(a, false);
|
|
816
828
|
};
|
|
817
|
-
GridCellBase.prototype.
|
|
829
|
+
GridCellBase.prototype.ch = function (a) {
|
|
818
830
|
this.onContactMoved(a, false);
|
|
819
831
|
};
|
|
820
|
-
GridCellBase.prototype.
|
|
821
|
-
this.
|
|
832
|
+
GridCellBase.prototype.cg = function (a) {
|
|
833
|
+
this.ck(a, false);
|
|
822
834
|
};
|
|
823
|
-
GridCellBase.prototype.
|
|
824
|
-
this.
|
|
835
|
+
GridCellBase.prototype.cf = function (a) {
|
|
836
|
+
this.cj(a, false);
|
|
825
837
|
};
|
|
826
|
-
GridCellBase.prototype.
|
|
838
|
+
GridCellBase.prototype.cs = function (e_) {
|
|
827
839
|
var a = (e_.originalEvent.pointerType);
|
|
828
840
|
if (a == "touch") {
|
|
829
|
-
this.
|
|
841
|
+
this.dh(e_);
|
|
830
842
|
}
|
|
831
843
|
else {
|
|
832
|
-
this.
|
|
844
|
+
this.ce(e_);
|
|
833
845
|
}
|
|
834
846
|
};
|
|
835
|
-
GridCellBase.prototype.
|
|
847
|
+
GridCellBase.prototype.cv = function (e_) {
|
|
836
848
|
var a = (e_.originalEvent.pointerType);
|
|
837
849
|
if (a == "touch") {
|
|
838
|
-
this.
|
|
850
|
+
this.di(e_);
|
|
839
851
|
}
|
|
840
852
|
else {
|
|
841
|
-
this.
|
|
853
|
+
this.ch(e_);
|
|
842
854
|
}
|
|
843
855
|
};
|
|
844
|
-
GridCellBase.prototype.
|
|
856
|
+
GridCellBase.prototype.cw = function (e_) {
|
|
845
857
|
var a = (e_.originalEvent.pointerType);
|
|
846
858
|
if (a == "touch") {
|
|
847
|
-
this.
|
|
859
|
+
this.dj(e_);
|
|
848
860
|
}
|
|
849
861
|
else {
|
|
850
|
-
this.
|
|
862
|
+
this.ci(e_);
|
|
851
863
|
}
|
|
852
864
|
};
|
|
853
|
-
GridCellBase.prototype.
|
|
865
|
+
GridCellBase.prototype.cu = function (e_) {
|
|
854
866
|
var a = (e_.originalEvent.pointerType);
|
|
855
867
|
if (a != "touch") {
|
|
856
|
-
this.
|
|
868
|
+
this.cg(e_);
|
|
857
869
|
}
|
|
858
870
|
};
|
|
859
|
-
GridCellBase.prototype.
|
|
871
|
+
GridCellBase.prototype.ct = function (e_) {
|
|
860
872
|
var a = (e_.originalEvent.pointerType);
|
|
861
873
|
if (a != "touch") {
|
|
862
|
-
this.
|
|
874
|
+
this.cf(e_);
|
|
863
875
|
}
|
|
864
876
|
};
|
|
865
|
-
GridCellBase.prototype.
|
|
877
|
+
GridCellBase.prototype.dh = function (a) {
|
|
866
878
|
this.onContactStarted(a, true);
|
|
867
879
|
};
|
|
868
|
-
GridCellBase.prototype.
|
|
880
|
+
GridCellBase.prototype.di = function (a) {
|
|
869
881
|
this.onContactMoved(a, true);
|
|
870
882
|
};
|
|
871
|
-
GridCellBase.prototype.
|
|
883
|
+
GridCellBase.prototype.dj = function (a) {
|
|
872
884
|
this.onContactCompleted(a, true);
|
|
873
885
|
};
|
|
874
886
|
GridCellBase.prototype.onContactStarted = function (e_, a) {
|
|
@@ -883,13 +895,13 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
883
895
|
}
|
|
884
896
|
else {
|
|
885
897
|
if (this.a != null && this.af(this.a)) {
|
|
886
|
-
this.
|
|
887
|
-
this.
|
|
898
|
+
this.bn = e_.pageX;
|
|
899
|
+
this.bo = e_.pageY;
|
|
888
900
|
if (this.bb != e_.which) {
|
|
889
901
|
this.ax = 0;
|
|
890
902
|
}
|
|
891
903
|
this.bb = e_.which;
|
|
892
|
-
this.a.mouseDownCell(this.
|
|
904
|
+
this.a.mouseDownCell(this.bn, this.bo);
|
|
893
905
|
}
|
|
894
906
|
}
|
|
895
907
|
};
|
|
@@ -985,7 +997,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
985
997
|
}
|
|
986
998
|
this.s = false;
|
|
987
999
|
};
|
|
988
|
-
GridCellBase.prototype.
|
|
1000
|
+
GridCellBase.prototype.ck = function (a, b) {
|
|
989
1001
|
if (this.a != null) {
|
|
990
1002
|
if (this.af(this.a)) {
|
|
991
1003
|
if (this.a.isMouseDown) {
|
|
@@ -1002,7 +1014,7 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1002
1014
|
}
|
|
1003
1015
|
}
|
|
1004
1016
|
};
|
|
1005
|
-
GridCellBase.prototype.
|
|
1017
|
+
GridCellBase.prototype.cj = function (a, b) {
|
|
1006
1018
|
if (this.a != null && this.a.isEnterActionDesired) {
|
|
1007
1019
|
var c = a.pageX;
|
|
1008
1020
|
var d = a.pageY;
|
|
@@ -1011,11 +1023,11 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1011
1023
|
};
|
|
1012
1024
|
GridCellBase.prototype.onDoubleClick = function (a) {
|
|
1013
1025
|
};
|
|
1014
|
-
GridCellBase.prototype.
|
|
1026
|
+
GridCellBase.prototype.cn = function (a, b, c) {
|
|
1015
1027
|
switch (a) {
|
|
1016
1028
|
case "Indent":
|
|
1017
|
-
this.a0 = this.
|
|
1018
|
-
this.a1 = this.
|
|
1029
|
+
this.a0 = this.bj * 24;
|
|
1030
|
+
this.a1 = this.bj > 0 ? 10 : 0;
|
|
1019
1031
|
if (this.ao != null) {
|
|
1020
1032
|
this.ao.setRawXPosition(this.a7 + this.a0);
|
|
1021
1033
|
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.az, 2));
|
|
@@ -1023,10 +1035,10 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1023
1035
|
break;
|
|
1024
1036
|
case "IsCollapsable":
|
|
1025
1037
|
if (this.aa) {
|
|
1026
|
-
this.
|
|
1038
|
+
this.cd();
|
|
1027
1039
|
}
|
|
1028
1040
|
else {
|
|
1029
|
-
this.
|
|
1041
|
+
this.cx();
|
|
1030
1042
|
}
|
|
1031
1043
|
break;
|
|
1032
1044
|
case "IsExpanded":
|
|
@@ -1036,25 +1048,25 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1036
1048
|
break;
|
|
1037
1049
|
case "ExpansionIndicatorIconColor":
|
|
1038
1050
|
if (this.j != null) {
|
|
1039
|
-
this.j.ae = this.
|
|
1051
|
+
this.j.ae = this.dv;
|
|
1040
1052
|
}
|
|
1041
1053
|
break;
|
|
1042
1054
|
case "IsHitTestVisible":
|
|
1043
1055
|
this.ar.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
|
|
1044
1056
|
break;
|
|
1045
1057
|
case "SuffixText":
|
|
1046
|
-
this.
|
|
1058
|
+
this.co();
|
|
1047
1059
|
break;
|
|
1048
1060
|
case "SuffixIconName":
|
|
1049
1061
|
case "SuffixIconCollectionName":
|
|
1050
|
-
this.
|
|
1062
|
+
this.cp();
|
|
1051
1063
|
break;
|
|
1052
1064
|
case "SuffixTextColor":
|
|
1053
1065
|
case "SuffixTextFont":
|
|
1054
1066
|
case "SuffixIconStroke":
|
|
1055
1067
|
case "SuffixIconFill":
|
|
1056
1068
|
case "SuffixIconViewBox":
|
|
1057
|
-
this.
|
|
1069
|
+
this.cq();
|
|
1058
1070
|
break;
|
|
1059
1071
|
case "SuffixMargin":
|
|
1060
1072
|
if (this.ap != null) {
|
|
@@ -1066,12 +1078,12 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1066
1078
|
break;
|
|
1067
1079
|
}
|
|
1068
1080
|
};
|
|
1069
|
-
GridCellBase.prototype.
|
|
1081
|
+
GridCellBase.prototype.cm = function () {
|
|
1070
1082
|
};
|
|
1071
|
-
GridCellBase.prototype.
|
|
1083
|
+
GridCellBase.prototype.cc = function () {
|
|
1072
1084
|
this.an.focus(true);
|
|
1073
1085
|
};
|
|
1074
|
-
GridCellBase.prototype.
|
|
1086
|
+
GridCellBase.prototype.ca = function () {
|
|
1075
1087
|
if (this.a != null) {
|
|
1076
1088
|
var a = this.an.clone();
|
|
1077
1089
|
this.a.passCellClone(a);
|
|
@@ -1079,11 +1091,11 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1079
1091
|
};
|
|
1080
1092
|
GridCellBase.prototype.detach = function () {
|
|
1081
1093
|
};
|
|
1082
|
-
GridCellBase.prototype.
|
|
1094
|
+
GridCellBase.prototype.dd = function (a) {
|
|
1083
1095
|
};
|
|
1084
1096
|
GridCellBase.$t = markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
|
|
1085
1097
|
GridCellBase.o = null;
|
|
1086
|
-
GridCellBase.
|
|
1098
|
+
GridCellBase.bm = new Random(0);
|
|
1087
1099
|
GridCellBase.ba = 10;
|
|
1088
1100
|
GridCellBase.ay = 3;
|
|
1089
1101
|
return GridCellBase;
|