igniteui-webcomponents-grids 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-grids.umd.js +10275 -9381
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +5 -0
- package/esm2015/lib/CanvasCellPresenterBase.js +10 -10
- package/esm2015/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm2015/lib/CanvasGridCellBase.js +305 -289
- package/esm2015/lib/CanvasImageCell.js +29 -29
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCell.js +2 -2
- package/esm2015/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasSummaryCell.js +51 -51
- package/esm2015/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateCell.js +7 -7
- package/esm2015/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCell.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPresenterBase.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +341 -306
- package/esm2015/lib/ColumnChooserView_combined.js +22 -22
- package/esm2015/lib/ColumnFilterCondition_combined.js +7531 -7208
- package/esm2015/lib/ColumnGroupDescription.js +22 -0
- package/esm2015/lib/ColumnGroupDescriptionCollection.js +14 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +25 -25
- package/esm2015/lib/ColumnPinningView_combined.js +22 -22
- package/esm2015/lib/ColumnSortDescriptionCollection.js +12 -6
- package/esm2015/lib/ColumnSummaryDescriptionCollection.js +12 -6
- package/esm2015/lib/ComboEditorView.js +6 -3
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +17 -17
- package/esm2015/lib/DateTimeColumnValueFormatter.js +90 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm2015/lib/GridExternalWrapper.js +18 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/ISummaryChooserView_combined.js +13 -13
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm2015/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm2015/lib/NumericCellPresenter.js +1 -1
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextEditorView.js +28 -10
- package/esm2015/lib/VerticalSeparatorCell.js +46 -8
- package/esm2015/lib/VisualModelExport.js +120 -100
- package/esm2015/lib/igc-checkbox-list-component.js +74 -54
- package/esm2015/lib/igc-column-component.js +164 -164
- package/esm2015/lib/igc-column-group-description-collection.js +13 -3
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-column-sort-description-collection.js +13 -3
- package/esm2015/lib/igc-column-summary-description-collection.js +13 -3
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-component.js +699 -593
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +50 -50
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/BaseEditorView.js +5 -0
- package/esm5/lib/CanvasCellPresenterBase.js +10 -10
- package/esm5/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm5/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm5/lib/CanvasGridCellBase.js +304 -288
- package/esm5/lib/CanvasImageCell.js +28 -28
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCell.js +2 -2
- package/esm5/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasSummaryCell.js +51 -51
- package/esm5/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateCell.js +7 -7
- package/esm5/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCell.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +24 -24
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPresenterBase.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +339 -296
- package/esm5/lib/ColumnChooserView_combined.js +22 -22
- package/esm5/lib/ColumnFilterCondition_combined.js +7352 -6962
- package/esm5/lib/ColumnGroupDescription.js +22 -0
- package/esm5/lib/ColumnGroupDescriptionCollection.js +18 -8
- package/esm5/lib/ColumnGroupingView_combined.js +25 -25
- package/esm5/lib/ColumnPinningView_combined.js +22 -22
- package/esm5/lib/ColumnSortDescriptionCollection.js +16 -6
- package/esm5/lib/ColumnSummaryDescriptionCollection.js +16 -6
- package/esm5/lib/ComboEditorView.js +6 -3
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +17 -17
- package/esm5/lib/DateTimeColumnValueFormatter.js +92 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm5/lib/GridExternalWrapper.js +18 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/ISummaryChooserView_combined.js +13 -13
- package/esm5/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm5/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm5/lib/NumericCellPresenter.js +1 -1
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextEditorView.js +28 -10
- package/esm5/lib/VerticalSeparatorCell.js +46 -8
- package/esm5/lib/VisualModelExport.js +120 -100
- package/esm5/lib/igc-checkbox-list-component.js +82 -54
- package/esm5/lib/igc-column-component.js +164 -164
- package/esm5/lib/igc-column-group-description-collection.js +17 -3
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-column-sort-description-collection.js +17 -3
- package/esm5/lib/igc-column-summary-description-collection.js +17 -3
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-component.js +743 -601
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +50 -50
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/fesm2015/igniteui-webcomponents-grids.js +10315 -9565
- package/fesm5/igniteui-webcomponents-grids.js +10276 -9382
- package/lib/CanvasGridCellBase.d.ts +95 -93
- package/lib/CanvasImageCell.d.ts +11 -11
- package/lib/CanvasSectionHeaderCell.d.ts +1 -1
- package/lib/CanvasSummaryCell.d.ts +15 -15
- package/lib/CanvasTemplateCell.d.ts +4 -4
- package/lib/CanvasTemplateHeaderCell.d.ts +4 -4
- package/lib/CanvasTextCell.d.ts +1 -1
- package/lib/CanvasTextHeaderCell.d.ts +6 -6
- package/lib/CheckboxListView_combined.d.ts +74 -69
- package/lib/ColumnFilterCondition_combined.d.ts +1306 -1264
- package/lib/ColumnGroupDescription.d.ts +1 -0
- package/lib/ColumnGroupDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSortDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSummaryDescriptionCollection.d.ts +8 -7
- package/lib/DataGridCellLayoutPanel.d.ts +1 -0
- package/lib/DateTimeColumnValueFormatter.d.ts +19 -1
- package/lib/GridExternalWrapper.d.ts +4 -0
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextEditorView.d.ts +5 -3
- package/lib/VerticalSeparatorCell.d.ts +9 -0
- package/lib/VisualModelExport.d.ts +31 -26
- package/lib/igc-checkbox-list-component.d.ts +9 -0
- package/lib/igc-column-group-description-collection.d.ts +4 -0
- package/lib/igc-column-sort-description-collection.d.ts +4 -0
- package/lib/igc-column-summary-description-collection.d.ts +4 -0
- package/lib/igc-data-grid-component.d.ts +30 -2
- package/package.json +4 -4
|
@@ -31,52 +31,53 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
31
|
_this.s = true;
|
|
32
32
|
_this.o = true;
|
|
33
33
|
_this.k = null;
|
|
34
|
-
_this.
|
|
34
|
+
_this.bm = null;
|
|
35
35
|
_this.q = false;
|
|
36
|
-
_this.
|
|
36
|
+
_this.b0 = null;
|
|
37
37
|
_this.l = false;
|
|
38
|
-
_this.
|
|
39
|
-
_this.at = 5;
|
|
40
|
-
_this.av = 5;
|
|
38
|
+
_this.aq = 1;
|
|
41
39
|
_this.au = 5;
|
|
42
|
-
_this.
|
|
43
|
-
_this.
|
|
44
|
-
_this.
|
|
45
|
-
_this.
|
|
40
|
+
_this.aw = 5;
|
|
41
|
+
_this.av = 5;
|
|
42
|
+
_this.at = 5;
|
|
43
|
+
_this.cy = null;
|
|
46
44
|
_this.ai = 0;
|
|
47
|
-
_this.
|
|
48
|
-
_this.
|
|
49
|
-
_this.
|
|
45
|
+
_this.ak = 0;
|
|
46
|
+
_this.aj = 0;
|
|
47
|
+
_this.ah = 0;
|
|
48
|
+
_this.c6 = new Rectangle();
|
|
49
|
+
_this.c2 = new Line();
|
|
50
|
+
_this.c5 = new Line();
|
|
50
51
|
_this.c3 = new Line();
|
|
51
52
|
_this.c1 = new Line();
|
|
52
|
-
_this.
|
|
53
|
-
_this.
|
|
54
|
-
_this.az = 0;
|
|
55
|
-
_this.a1 = 0;
|
|
53
|
+
_this.c4 = new Line();
|
|
54
|
+
_this.a0 = 0;
|
|
56
55
|
_this.a2 = 0;
|
|
57
56
|
_this.a3 = 0;
|
|
58
|
-
_this.
|
|
57
|
+
_this.a4 = 0;
|
|
58
|
+
_this.bo = null;
|
|
59
59
|
_this.j = null;
|
|
60
|
+
_this.am = 0;
|
|
60
61
|
_this.al = 0;
|
|
61
|
-
_this.
|
|
62
|
+
_this.ao = 0;
|
|
62
63
|
_this.an = 0;
|
|
63
|
-
_this.am = 0;
|
|
64
64
|
_this.u = true;
|
|
65
|
-
_this.
|
|
66
|
-
_this.
|
|
67
|
-
_this.
|
|
65
|
+
_this.v = true;
|
|
66
|
+
_this.a1 = NaN;
|
|
67
|
+
_this.cx = new TextBlock();
|
|
68
|
+
_this.c0 = Color.u(255, 0, 0, 0);
|
|
68
69
|
_this.t = true;
|
|
69
|
-
_this.
|
|
70
|
-
_this.
|
|
71
|
-
_this.
|
|
70
|
+
_this.as = 0;
|
|
71
|
+
_this.a5 = 0;
|
|
72
|
+
_this.cz = Color.u(255, 255, 255, 255);
|
|
72
73
|
_this.m = false;
|
|
73
74
|
_this.g = null;
|
|
74
75
|
_this.c = 0;
|
|
75
76
|
_this.e = 0;
|
|
76
|
-
_this.
|
|
77
|
+
_this.bz = 1;
|
|
77
78
|
_this.r = false;
|
|
79
|
+
_this.az = 0;
|
|
78
80
|
_this.ay = 0;
|
|
79
|
-
_this.ax = 0;
|
|
80
81
|
_this.i = ((function () {
|
|
81
82
|
var $ret = new FontInfo();
|
|
82
83
|
$ret.n = "Verdana";
|
|
@@ -84,22 +85,22 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
84
85
|
return $ret;
|
|
85
86
|
})());
|
|
86
87
|
_this.p = true;
|
|
87
|
-
_this.
|
|
88
|
-
_this.
|
|
89
|
-
_this.
|
|
88
|
+
_this.br = -1;
|
|
89
|
+
_this.bx = 0;
|
|
90
|
+
_this.by = 0;
|
|
90
91
|
_this.n = false;
|
|
91
|
-
_this.
|
|
92
|
+
_this.bp = 0;
|
|
92
93
|
_this.b = 0;
|
|
93
|
-
_this.
|
|
94
|
+
_this.ar = NaN;
|
|
94
95
|
_this.h = null;
|
|
95
|
-
_this.
|
|
96
|
-
_this.
|
|
96
|
+
_this.bt = -1;
|
|
97
|
+
_this.ap = NaN;
|
|
97
98
|
_this.f = 1;
|
|
98
|
-
_this.
|
|
99
|
-
_this.
|
|
99
|
+
_this.ax = 1;
|
|
100
|
+
_this.bm = a;
|
|
100
101
|
return _this;
|
|
101
102
|
}
|
|
102
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
103
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "aa", {
|
|
103
104
|
get: function () {
|
|
104
105
|
return this.o;
|
|
105
106
|
},
|
|
@@ -109,10 +110,10 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
109
110
|
enumerable: true,
|
|
110
111
|
configurable: true
|
|
111
112
|
});
|
|
112
|
-
CanvasGridCellBase.prototype.
|
|
113
|
+
CanvasGridCellBase.prototype.cm = function (a) {
|
|
113
114
|
this.k = a;
|
|
114
115
|
};
|
|
115
|
-
CanvasGridCellBase.prototype.
|
|
116
|
+
CanvasGridCellBase.prototype.b7 = function () {
|
|
116
117
|
this.o = true;
|
|
117
118
|
if (this.k != null) {
|
|
118
119
|
this.k();
|
|
@@ -125,9 +126,9 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
125
126
|
enumerable: true,
|
|
126
127
|
configurable: true
|
|
127
128
|
});
|
|
128
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
129
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bn", {
|
|
129
130
|
get: function () {
|
|
130
|
-
return this.
|
|
131
|
+
return this.bm;
|
|
131
132
|
},
|
|
132
133
|
enumerable: true,
|
|
133
134
|
configurable: true
|
|
@@ -142,8 +143,8 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
142
143
|
enumerable: true,
|
|
143
144
|
configurable: true
|
|
144
145
|
});
|
|
145
|
-
CanvasGridCellBase.prototype.
|
|
146
|
-
this.
|
|
146
|
+
CanvasGridCellBase.prototype.co = function (a) {
|
|
147
|
+
this.b0 = a;
|
|
147
148
|
this.o = true;
|
|
148
149
|
this.s = true;
|
|
149
150
|
};
|
|
@@ -154,7 +155,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
154
155
|
enumerable: true,
|
|
155
156
|
configurable: true
|
|
156
157
|
});
|
|
157
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
158
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "w", {
|
|
158
159
|
get: function () {
|
|
159
160
|
return this.l;
|
|
160
161
|
},
|
|
@@ -164,127 +165,127 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
164
165
|
enumerable: true,
|
|
165
166
|
configurable: true
|
|
166
167
|
});
|
|
167
|
-
CanvasGridCellBase.prototype.
|
|
168
|
+
CanvasGridCellBase.prototype.get_ac = function () {
|
|
168
169
|
return false;
|
|
169
170
|
};
|
|
170
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
171
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "ac", {
|
|
171
172
|
get: function () {
|
|
172
|
-
return this.
|
|
173
|
+
return this.get_ac();
|
|
173
174
|
},
|
|
174
175
|
enumerable: true,
|
|
175
176
|
configurable: true
|
|
176
177
|
});
|
|
177
|
-
CanvasGridCellBase.prototype.
|
|
178
|
+
CanvasGridCellBase.prototype.ce = function (a, b, c, d, e) {
|
|
178
179
|
this.o = true;
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
180
|
+
this.cy = a;
|
|
181
|
+
this.ai = b;
|
|
182
|
+
this.ak = c;
|
|
183
|
+
this.aj = d;
|
|
184
|
+
this.ah = e;
|
|
184
185
|
this.s = true;
|
|
185
186
|
};
|
|
186
|
-
CanvasGridCellBase.prototype.
|
|
187
|
+
CanvasGridCellBase.prototype.cf = function (a) {
|
|
187
188
|
this.o = true;
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
189
|
+
this.aq = a;
|
|
190
|
+
this.cx._opacity = this.aq;
|
|
190
191
|
};
|
|
191
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
192
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bc", {
|
|
192
193
|
get: function () {
|
|
193
|
-
return this.
|
|
194
|
+
return this.au;
|
|
194
195
|
},
|
|
195
196
|
enumerable: true,
|
|
196
197
|
configurable: true
|
|
197
198
|
});
|
|
198
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
199
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "be", {
|
|
199
200
|
get: function () {
|
|
200
|
-
return this.
|
|
201
|
+
return this.aw;
|
|
201
202
|
},
|
|
202
203
|
enumerable: true,
|
|
203
204
|
configurable: true
|
|
204
205
|
});
|
|
205
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
206
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bd", {
|
|
206
207
|
get: function () {
|
|
207
|
-
return this.
|
|
208
|
+
return this.av;
|
|
208
209
|
},
|
|
209
210
|
enumerable: true,
|
|
210
211
|
configurable: true
|
|
211
212
|
});
|
|
212
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
213
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bb", {
|
|
213
214
|
get: function () {
|
|
214
|
-
return this.
|
|
215
|
+
return this.at;
|
|
215
216
|
},
|
|
216
217
|
enumerable: true,
|
|
217
218
|
configurable: true
|
|
218
219
|
});
|
|
219
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
220
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "a7", {
|
|
220
221
|
get: function () {
|
|
221
|
-
return this.
|
|
222
|
+
return this.ai;
|
|
222
223
|
},
|
|
223
224
|
enumerable: true,
|
|
224
225
|
configurable: true
|
|
225
226
|
});
|
|
226
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
227
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "a9", {
|
|
227
228
|
get: function () {
|
|
228
|
-
return this.
|
|
229
|
+
return this.ak;
|
|
229
230
|
},
|
|
230
231
|
enumerable: true,
|
|
231
232
|
configurable: true
|
|
232
233
|
});
|
|
233
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
234
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "a8", {
|
|
234
235
|
get: function () {
|
|
235
|
-
return this.
|
|
236
|
+
return this.aj;
|
|
236
237
|
},
|
|
237
238
|
enumerable: true,
|
|
238
239
|
configurable: true
|
|
239
240
|
});
|
|
240
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
241
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "a6", {
|
|
241
242
|
get: function () {
|
|
242
|
-
return this.
|
|
243
|
+
return this.ah;
|
|
243
244
|
},
|
|
244
245
|
enumerable: true,
|
|
245
246
|
configurable: true
|
|
246
247
|
});
|
|
247
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
248
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bg", {
|
|
248
249
|
get: function () {
|
|
249
|
-
return this.
|
|
250
|
+
return this.a0;
|
|
250
251
|
},
|
|
251
252
|
enumerable: true,
|
|
252
253
|
configurable: true
|
|
253
254
|
});
|
|
254
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
255
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bi", {
|
|
255
256
|
get: function () {
|
|
256
|
-
return this.
|
|
257
|
+
return this.a2;
|
|
257
258
|
},
|
|
258
259
|
enumerable: true,
|
|
259
260
|
configurable: true
|
|
260
261
|
});
|
|
261
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
262
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bj", {
|
|
262
263
|
get: function () {
|
|
263
|
-
return this.
|
|
264
|
+
return this.a4;
|
|
264
265
|
},
|
|
265
266
|
enumerable: true,
|
|
266
267
|
configurable: true
|
|
267
268
|
});
|
|
268
|
-
CanvasGridCellBase.prototype.
|
|
269
|
+
CanvasGridCellBase.prototype.get_ad = function () {
|
|
269
270
|
return false;
|
|
270
271
|
};
|
|
271
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
272
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "ad", {
|
|
272
273
|
get: function () {
|
|
273
|
-
return this.
|
|
274
|
+
return this.get_ad();
|
|
274
275
|
},
|
|
275
276
|
enumerable: true,
|
|
276
277
|
configurable: true
|
|
277
278
|
});
|
|
278
|
-
CanvasGridCellBase.prototype.
|
|
279
|
+
CanvasGridCellBase.prototype.b3 = function (a, b, c, d, e, f) {
|
|
279
280
|
var g = true;
|
|
280
281
|
var h = true;
|
|
281
282
|
var i = false;
|
|
282
|
-
if (this.
|
|
283
|
+
if (this.ad) {
|
|
283
284
|
g = false;
|
|
284
285
|
h = false;
|
|
285
286
|
i = false;
|
|
286
287
|
}
|
|
287
|
-
this.
|
|
288
|
+
this.b4(a, b, c, d, e, f, g, h, i);
|
|
288
289
|
};
|
|
289
290
|
Object.defineProperty(CanvasGridCellBase.prototype, "resized", {
|
|
290
291
|
get: function () {
|
|
@@ -294,138 +295,153 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
294
295
|
configurable: true
|
|
295
296
|
});
|
|
296
297
|
CanvasGridCellBase.prototype.ensureCorrectSize = function () {
|
|
297
|
-
this.u = this.
|
|
298
|
+
this.u = this.x(this.ax);
|
|
298
299
|
return this.u;
|
|
299
300
|
};
|
|
300
|
-
CanvasGridCellBase.prototype.
|
|
301
|
+
CanvasGridCellBase.prototype.b4 = function (a, b, c, d, e, f, g, h, i) {
|
|
301
302
|
if (!this.t) {
|
|
302
303
|
return;
|
|
303
304
|
}
|
|
304
|
-
if (this.
|
|
305
|
-
a.ad(this.
|
|
305
|
+
if (this.bz != 1) {
|
|
306
|
+
a.ad(this.bz);
|
|
307
|
+
}
|
|
308
|
+
var j = this.j;
|
|
309
|
+
if (!this.v) {
|
|
310
|
+
j = a;
|
|
306
311
|
}
|
|
307
|
-
this.
|
|
312
|
+
this.ax = f;
|
|
308
313
|
if (!i) {
|
|
309
|
-
this.
|
|
314
|
+
this.b5();
|
|
310
315
|
this.ensureCorrectSize();
|
|
311
316
|
}
|
|
312
|
-
if (this.
|
|
313
|
-
this.
|
|
314
|
-
|
|
315
|
-
if (this.p || this.u || (this.i != null && this.i.g != this.bq)) {
|
|
317
|
+
if (this.aa || this.u || i || !this.v) {
|
|
318
|
+
this.aa = false;
|
|
319
|
+
if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
|
|
316
320
|
this.p = false;
|
|
317
|
-
this.
|
|
321
|
+
this.br = this.i.g;
|
|
318
322
|
j.ac(this.i);
|
|
319
323
|
}
|
|
320
324
|
if (f != 1) {
|
|
321
|
-
|
|
322
|
-
|
|
325
|
+
j.z();
|
|
326
|
+
j.aa(f, f);
|
|
327
|
+
}
|
|
328
|
+
if (!this.v) {
|
|
329
|
+
j.z();
|
|
330
|
+
var k = Math.round((d - b));
|
|
331
|
+
var l = Math.round((e - c));
|
|
332
|
+
j.af(k, l);
|
|
323
333
|
}
|
|
324
334
|
if (g) {
|
|
325
|
-
this.
|
|
335
|
+
this.b8(j);
|
|
326
336
|
}
|
|
327
337
|
if (h) {
|
|
328
|
-
this.
|
|
338
|
+
this.b9(j);
|
|
339
|
+
}
|
|
340
|
+
if (!this.v) {
|
|
341
|
+
j.y();
|
|
329
342
|
}
|
|
330
343
|
if (f != 1) {
|
|
331
|
-
|
|
344
|
+
j.y();
|
|
332
345
|
}
|
|
333
346
|
}
|
|
334
|
-
if (!i) {
|
|
335
|
-
var
|
|
336
|
-
var
|
|
337
|
-
if (this.
|
|
338
|
-
a.m(this.
|
|
347
|
+
if (!i && this.v) {
|
|
348
|
+
var m = Math.round((d - b) * f);
|
|
349
|
+
var n = Math.round((e - c) * f);
|
|
350
|
+
if (this.am == this.ao && this.al == this.an) {
|
|
351
|
+
a.m(this.bu(), 1, m, n, this.am, this.al);
|
|
339
352
|
}
|
|
340
353
|
else {
|
|
341
|
-
a.n(this.
|
|
354
|
+
a.n(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
|
|
342
355
|
}
|
|
343
356
|
}
|
|
344
|
-
if (this.
|
|
357
|
+
if (this.bz != 1) {
|
|
345
358
|
a.ad(1);
|
|
346
359
|
}
|
|
347
360
|
};
|
|
348
|
-
CanvasGridCellBase.prototype.
|
|
361
|
+
CanvasGridCellBase.prototype.bu = function () {
|
|
362
|
+
return this.bo.getNativeElement();
|
|
363
|
+
};
|
|
364
|
+
CanvasGridCellBase.prototype.b8 = function (a) {
|
|
349
365
|
if (!this.m) {
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
|
|
357
|
-
if (this.
|
|
358
|
-
if (this.ah > 0) {
|
|
359
|
-
this.c0.am = 0;
|
|
360
|
-
this.c0.ak = this.ah / 2;
|
|
361
|
-
this.c0.an = this.ar;
|
|
362
|
-
this.c0.al = this.ah / 2;
|
|
363
|
-
this.c0._stroke = this.cw;
|
|
364
|
-
this.c0.ac = this.ah;
|
|
365
|
-
this.j.r(this.c0);
|
|
366
|
-
}
|
|
366
|
+
a.k(0, 0, this.ao, this.an);
|
|
367
|
+
}
|
|
368
|
+
this.c6.n = 0;
|
|
369
|
+
this.c6.o = 0;
|
|
370
|
+
this.c6.width = this.a5;
|
|
371
|
+
this.c6.height = this.as;
|
|
372
|
+
a.v(this.c6);
|
|
373
|
+
if (this.cy != null) {
|
|
367
374
|
if (this.ai > 0) {
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
374
|
-
|
|
375
|
+
this.c2.am = 0;
|
|
376
|
+
this.c2.ak = this.ai / 2;
|
|
377
|
+
this.c2.an = this.as;
|
|
378
|
+
this.c2.al = this.ai / 2;
|
|
379
|
+
this.c2._stroke = this.cy;
|
|
380
|
+
this.c2.ac = this.ai;
|
|
381
|
+
a.r(this.c2);
|
|
375
382
|
}
|
|
376
383
|
if (this.aj > 0) {
|
|
377
|
-
this.c3.am =
|
|
378
|
-
this.c3.ak = this.
|
|
379
|
-
this.c3.an = this.
|
|
380
|
-
this.c3.al = Math.max(0, (this.
|
|
381
|
-
this.c3._stroke = this.
|
|
384
|
+
this.c3.am = 0;
|
|
385
|
+
this.c3.ak = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
386
|
+
this.c3.an = this.as;
|
|
387
|
+
this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
388
|
+
this.c3._stroke = this.cy;
|
|
382
389
|
this.c3.ac = this.aj;
|
|
383
|
-
|
|
390
|
+
a.r(this.c3);
|
|
391
|
+
}
|
|
392
|
+
if (this.ak > 0) {
|
|
393
|
+
this.c5.am = this.ak / 2;
|
|
394
|
+
this.c5.ak = this.ai;
|
|
395
|
+
this.c5.an = this.ak / 2;
|
|
396
|
+
this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
397
|
+
this.c5._stroke = this.cy;
|
|
398
|
+
this.c5.ac = this.ak;
|
|
399
|
+
a.r(this.c5);
|
|
384
400
|
}
|
|
385
|
-
if (this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
|
|
401
|
+
if (this.ah > 0) {
|
|
402
|
+
this.c1.am = Math.max(0, this.as - (this.ah / 2));
|
|
403
|
+
this.c1.ak = this.ai;
|
|
404
|
+
this.c1.an = Math.max(0, this.as - (this.ah / 2));
|
|
405
|
+
this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
406
|
+
this.c1._stroke = this.cy;
|
|
407
|
+
this.c1.ac = this.ah;
|
|
408
|
+
a.r(this.c1);
|
|
393
409
|
}
|
|
394
410
|
}
|
|
395
411
|
};
|
|
396
|
-
CanvasGridCellBase.prototype.
|
|
397
|
-
this.
|
|
412
|
+
CanvasGridCellBase.prototype.cl = function (a) {
|
|
413
|
+
this.ax = a;
|
|
398
414
|
};
|
|
399
415
|
CanvasGridCellBase.prototype.renderStandardContent = function () {
|
|
400
|
-
this.
|
|
416
|
+
this.b4(this.j, 0, 0, 0, 0, this.ax, false, true, true);
|
|
401
417
|
};
|
|
402
418
|
CanvasGridCellBase.prototype.renderStandardBackground = function () {
|
|
403
|
-
this.
|
|
419
|
+
this.b4(this.j, 0, 0, 0, 0, this.ax, true, false, true);
|
|
404
420
|
};
|
|
405
|
-
CanvasGridCellBase.prototype.
|
|
421
|
+
CanvasGridCellBase.prototype.b9 = function (a) {
|
|
406
422
|
if (this.s) {
|
|
407
|
-
this.
|
|
423
|
+
this.cw(a);
|
|
408
424
|
this.s = false;
|
|
409
425
|
}
|
|
410
|
-
if (this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
|
|
426
|
+
if (this.cx.al != null) {
|
|
427
|
+
this.cx.n = this.a0;
|
|
428
|
+
this.cx.o = this.a3;
|
|
429
|
+
a.w(this.cx);
|
|
414
430
|
if (this.r) {
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
this.j.r(this.
|
|
431
|
+
this.c4.ac = 1;
|
|
432
|
+
this.c4.ak = this.a0;
|
|
433
|
+
this.c4.am = this.a4 - 2;
|
|
434
|
+
this.c4.al = this.a0 + (this.a2 - this.a0);
|
|
435
|
+
this.c4.an = this.a4 - 2;
|
|
436
|
+
this.c4._stroke = this.cx.ao;
|
|
437
|
+
this.j.r(this.c4);
|
|
422
438
|
}
|
|
423
439
|
}
|
|
424
440
|
};
|
|
425
|
-
CanvasGridCellBase.prototype.
|
|
426
|
-
if (this.
|
|
427
|
-
this.
|
|
428
|
-
var a_1 = this.
|
|
441
|
+
CanvasGridCellBase.prototype.b5 = function () {
|
|
442
|
+
if (this.bo == null && this.v) {
|
|
443
|
+
this.bo = this.bm.createElement("canvas");
|
|
444
|
+
var a_1 = this.bm.get2DCanvasContext(this.bo);
|
|
429
445
|
var b = ((function () {
|
|
430
446
|
var $ret = new CanvasViewRenderer();
|
|
431
447
|
$ret.h$d = a_1;
|
|
@@ -435,66 +451,66 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
435
451
|
this.s = true;
|
|
436
452
|
}
|
|
437
453
|
};
|
|
438
|
-
CanvasGridCellBase.prototype.
|
|
439
|
-
var b = Math.round(this.
|
|
440
|
-
var c = Math.round(this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
var d = this.
|
|
444
|
-
var e = this.
|
|
445
|
-
if (d != this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
454
|
+
CanvasGridCellBase.prototype.x = function (a) {
|
|
455
|
+
var b = Math.round(this.a5 * a);
|
|
456
|
+
var c = Math.round(this.as * a);
|
|
457
|
+
this.am = b;
|
|
458
|
+
this.al = c;
|
|
459
|
+
var d = this.bf(b);
|
|
460
|
+
var e = this.bf(c);
|
|
461
|
+
if (d != this.ao || e != this.an) {
|
|
462
|
+
this.bo.setAttribute("width", d + "px");
|
|
463
|
+
this.bo.setAttribute("height", e + "px");
|
|
464
|
+
this.ao = d;
|
|
465
|
+
this.an = e;
|
|
466
|
+
this.am = b;
|
|
467
|
+
this.al = c;
|
|
452
468
|
return true;
|
|
453
469
|
}
|
|
454
470
|
return false;
|
|
455
471
|
};
|
|
456
|
-
CanvasGridCellBase.prototype.
|
|
472
|
+
CanvasGridCellBase.prototype.bf = function (a) {
|
|
457
473
|
return a;
|
|
458
474
|
};
|
|
459
|
-
CanvasGridCellBase.prototype.
|
|
475
|
+
CanvasGridCellBase.prototype.ck = function (a, b, c, d) {
|
|
460
476
|
this.o = true;
|
|
461
|
-
this.
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
464
|
-
this.
|
|
477
|
+
this.au = a;
|
|
478
|
+
this.aw = b;
|
|
479
|
+
this.av = c;
|
|
480
|
+
this.at = d;
|
|
465
481
|
this.s = true;
|
|
466
482
|
};
|
|
467
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
483
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bh", {
|
|
468
484
|
get: function () {
|
|
469
|
-
return this.
|
|
485
|
+
return this.a1;
|
|
470
486
|
},
|
|
471
487
|
set: function (a) {
|
|
472
|
-
this.
|
|
488
|
+
this.a1 = a;
|
|
473
489
|
},
|
|
474
490
|
enumerable: true,
|
|
475
491
|
configurable: true
|
|
476
492
|
});
|
|
477
|
-
CanvasGridCellBase.prototype.
|
|
493
|
+
CanvasGridCellBase.prototype.cp = function (a) {
|
|
478
494
|
var _this = this;
|
|
479
495
|
this.o = true;
|
|
480
|
-
this.
|
|
481
|
-
this.
|
|
496
|
+
this.c0 = a;
|
|
497
|
+
this.cx.ao = ((function () {
|
|
482
498
|
var $ret = new Brush();
|
|
483
|
-
$ret.color = _this.
|
|
499
|
+
$ret.color = _this.c0;
|
|
484
500
|
return $ret;
|
|
485
501
|
})());
|
|
486
502
|
};
|
|
487
|
-
CanvasGridCellBase.prototype.
|
|
503
|
+
CanvasGridCellBase.prototype.get_ab = function () {
|
|
488
504
|
return false;
|
|
489
505
|
};
|
|
490
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
506
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "ab", {
|
|
491
507
|
get: function () {
|
|
492
|
-
return this.
|
|
508
|
+
return this.get_ab();
|
|
493
509
|
},
|
|
494
510
|
enumerable: true,
|
|
495
511
|
configurable: true
|
|
496
512
|
});
|
|
497
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
513
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "ae", {
|
|
498
514
|
get: function () {
|
|
499
515
|
return this.t;
|
|
500
516
|
},
|
|
@@ -505,33 +521,33 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
505
521
|
enumerable: true,
|
|
506
522
|
configurable: true
|
|
507
523
|
});
|
|
508
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
524
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "ba", {
|
|
509
525
|
get: function () {
|
|
510
|
-
return this.
|
|
526
|
+
return this.as;
|
|
511
527
|
},
|
|
512
528
|
enumerable: true,
|
|
513
529
|
configurable: true
|
|
514
530
|
});
|
|
515
|
-
Object.defineProperty(CanvasGridCellBase.prototype, "
|
|
531
|
+
Object.defineProperty(CanvasGridCellBase.prototype, "bl", {
|
|
516
532
|
get: function () {
|
|
517
|
-
return this.
|
|
533
|
+
return this.a5;
|
|
518
534
|
},
|
|
519
535
|
enumerable: true,
|
|
520
536
|
configurable: true
|
|
521
537
|
});
|
|
522
|
-
CanvasGridCellBase.prototype.
|
|
538
|
+
CanvasGridCellBase.prototype.ch = function (a) {
|
|
523
539
|
this.o = true;
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
540
|
+
this.as = a;
|
|
541
|
+
this.c6.height = this.as;
|
|
526
542
|
};
|
|
527
|
-
CanvasGridCellBase.prototype.
|
|
543
|
+
CanvasGridCellBase.prototype.cr = function (a) {
|
|
528
544
|
this.o = true;
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
545
|
+
this.a5 = a;
|
|
546
|
+
this.c6.width = this.a5;
|
|
531
547
|
this.s = true;
|
|
532
548
|
};
|
|
533
|
-
CanvasGridCellBase.prototype.
|
|
534
|
-
if (!this.
|
|
549
|
+
CanvasGridCellBase.prototype.b2 = function () {
|
|
550
|
+
if (!this.ac) {
|
|
535
551
|
return;
|
|
536
552
|
}
|
|
537
553
|
this.l = true;
|
|
@@ -541,36 +557,36 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
541
557
|
this.g.l = Color.u(120, 120, 120, 120);
|
|
542
558
|
this.g.h = 0;
|
|
543
559
|
};
|
|
544
|
-
CanvasGridCellBase.prototype.
|
|
560
|
+
CanvasGridCellBase.prototype.cd = function (a) {
|
|
545
561
|
var _this = this;
|
|
546
562
|
this.o = true;
|
|
547
|
-
this.
|
|
548
|
-
this.m = this.
|
|
549
|
-
this.
|
|
563
|
+
this.cz = a;
|
|
564
|
+
this.m = this.cz.l == 255;
|
|
565
|
+
this.c6._fill = ((function () {
|
|
550
566
|
var $ret = new Brush();
|
|
551
|
-
$ret.color = _this.
|
|
567
|
+
$ret.color = _this.cz;
|
|
552
568
|
return $ret;
|
|
553
569
|
})());
|
|
554
570
|
};
|
|
555
|
-
CanvasGridCellBase.prototype.
|
|
571
|
+
CanvasGridCellBase.prototype.cj = function (a) {
|
|
556
572
|
this.o = true;
|
|
557
|
-
this.
|
|
573
|
+
this.bz = a;
|
|
558
574
|
};
|
|
559
|
-
CanvasGridCellBase.prototype.
|
|
575
|
+
CanvasGridCellBase.prototype.cn = function (a) {
|
|
560
576
|
this.r = a;
|
|
561
577
|
this.o = true;
|
|
562
578
|
};
|
|
563
|
-
CanvasGridCellBase.prototype.
|
|
564
|
-
if (!this.
|
|
579
|
+
CanvasGridCellBase.prototype.cv = function (a) {
|
|
580
|
+
if (!this.ac) {
|
|
565
581
|
return;
|
|
566
582
|
}
|
|
567
583
|
this.o = true;
|
|
568
584
|
this.g.h = (a * 0.20000000298023224);
|
|
569
585
|
};
|
|
570
|
-
CanvasGridCellBase.prototype.
|
|
586
|
+
CanvasGridCellBase.prototype.b6 = function (a, b, c, d) {
|
|
571
587
|
if (this.g != null) {
|
|
572
|
-
var e = this.
|
|
573
|
-
var f = this.
|
|
588
|
+
var e = this.az;
|
|
589
|
+
var f = this.ay;
|
|
574
590
|
if (this.e == 1) {
|
|
575
591
|
b = truncate((b + (d / 2) - (f / 2)));
|
|
576
592
|
}
|
|
@@ -585,14 +601,14 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
585
601
|
}
|
|
586
602
|
}
|
|
587
603
|
};
|
|
588
|
-
CanvasGridCellBase.prototype.
|
|
604
|
+
CanvasGridCellBase.prototype.cg = function (a) {
|
|
589
605
|
this.i = a;
|
|
590
606
|
this.p = true;
|
|
591
607
|
this.o = true;
|
|
592
608
|
this.s = true;
|
|
593
609
|
};
|
|
594
|
-
CanvasGridCellBase.prototype.
|
|
595
|
-
if (!this.
|
|
610
|
+
CanvasGridCellBase.prototype.cu = function (a) {
|
|
611
|
+
if (!this.ac) {
|
|
596
612
|
return;
|
|
597
613
|
}
|
|
598
614
|
this.o = true;
|
|
@@ -600,34 +616,34 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
600
616
|
if (a.ag != null && !isNaN_(a.ag.d)) {
|
|
601
617
|
b = a.ag.d;
|
|
602
618
|
}
|
|
603
|
-
if (this.
|
|
604
|
-
this.
|
|
619
|
+
if (this.ay != b) {
|
|
620
|
+
this.ay = b;
|
|
605
621
|
}
|
|
606
622
|
var c = a.gu * 0.2;
|
|
607
623
|
var d = a.fc * 0.6;
|
|
608
|
-
if (this.
|
|
624
|
+
if (this.az >= c && this.az <= d) {
|
|
609
625
|
return;
|
|
610
626
|
}
|
|
611
|
-
var e = (CanvasGridCellBase.
|
|
612
|
-
if (this.
|
|
613
|
-
this.
|
|
627
|
+
var e = (CanvasGridCellBase.bw.nextDouble() * (d - c) + c);
|
|
628
|
+
if (this.az != e) {
|
|
629
|
+
this.az = e;
|
|
614
630
|
}
|
|
615
631
|
};
|
|
616
|
-
CanvasGridCellBase.prototype.
|
|
617
|
-
if (!this.
|
|
632
|
+
CanvasGridCellBase.prototype.cs = function (a, b) {
|
|
633
|
+
if (!this.ac) {
|
|
618
634
|
return;
|
|
619
635
|
}
|
|
620
636
|
this.o = true;
|
|
621
637
|
this.c = a;
|
|
622
638
|
this.e = b;
|
|
623
639
|
};
|
|
624
|
-
CanvasGridCellBase.prototype.
|
|
625
|
-
if (!this.
|
|
640
|
+
CanvasGridCellBase.prototype.ct = function (a) {
|
|
641
|
+
if (!this.ac) {
|
|
626
642
|
return;
|
|
627
643
|
}
|
|
628
644
|
this.o = true;
|
|
629
645
|
};
|
|
630
|
-
CanvasGridCellBase.prototype.
|
|
646
|
+
CanvasGridCellBase.prototype.cc = function (a) {
|
|
631
647
|
this.a = a;
|
|
632
648
|
};
|
|
633
649
|
Object.defineProperty(CanvasGridCellBase.prototype, "d", {
|
|
@@ -637,83 +653,83 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
637
653
|
enumerable: true,
|
|
638
654
|
configurable: true
|
|
639
655
|
});
|
|
640
|
-
CanvasGridCellBase.prototype.
|
|
656
|
+
CanvasGridCellBase.prototype.ci = function (a) {
|
|
641
657
|
this.b = a;
|
|
642
658
|
this.o = true;
|
|
643
659
|
this.s = true;
|
|
644
660
|
};
|
|
645
|
-
CanvasGridCellBase.prototype.
|
|
646
|
-
if (this.
|
|
661
|
+
CanvasGridCellBase.prototype.cw = function (a) {
|
|
662
|
+
if (this.b0 == null) {
|
|
647
663
|
return;
|
|
648
664
|
}
|
|
649
|
-
if (
|
|
665
|
+
if (a == null) {
|
|
650
666
|
return;
|
|
651
667
|
}
|
|
652
|
-
if (this.p || (this.i != null && this.i.g != this.
|
|
668
|
+
if (this.p || (this.i != null && this.i.g != this.br)) {
|
|
653
669
|
this.p = false;
|
|
654
|
-
this.
|
|
655
|
-
|
|
670
|
+
this.br = this.i.g;
|
|
671
|
+
a.ac(this.i);
|
|
656
672
|
}
|
|
657
|
-
var
|
|
658
|
-
if (this.h != this.i || this.
|
|
673
|
+
var b;
|
|
674
|
+
if (this.h != this.i || this.bt != this.i.g) {
|
|
659
675
|
this.h = this.i;
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
676
|
+
this.bt = this.i.g;
|
|
677
|
+
this.ar = FontUtil.getCurrentFontHeight(this.bm, this.i);
|
|
662
678
|
}
|
|
663
|
-
|
|
664
|
-
var b = 0;
|
|
679
|
+
b = this.ar;
|
|
665
680
|
var c = 0;
|
|
666
|
-
var d =
|
|
667
|
-
var e = this.
|
|
668
|
-
|
|
669
|
-
e -= (this.
|
|
670
|
-
|
|
681
|
+
var d = 0;
|
|
682
|
+
var e = this.a5;
|
|
683
|
+
var f = this.as;
|
|
684
|
+
e -= (this.ai + this.au + this.aj + this.av);
|
|
685
|
+
f -= (this.ak + this.aw + this.ah + this.at);
|
|
671
686
|
e = Math.max(e, 0);
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
687
|
+
f = Math.max(f, 0);
|
|
688
|
+
var g = e;
|
|
689
|
+
if (!isNaN_(this.a1) && this.a1 < e) {
|
|
690
|
+
g = this.a1;
|
|
675
691
|
}
|
|
676
|
-
var
|
|
692
|
+
var h = this.bk(this.cx, this.b0, g, a);
|
|
677
693
|
switch (this.b) {
|
|
678
694
|
case 0:
|
|
679
|
-
|
|
695
|
+
c = this.au + this.ai;
|
|
680
696
|
break;
|
|
681
697
|
case 3:
|
|
682
698
|
case 1:
|
|
683
|
-
|
|
699
|
+
c = this.au + this.ai + ((e / 2) - (h / 2));
|
|
684
700
|
break;
|
|
685
701
|
case 2:
|
|
686
|
-
|
|
702
|
+
c = Math.max(0, (this.a5 - (this.av + this.aj))) - h;
|
|
687
703
|
break;
|
|
688
704
|
}
|
|
689
705
|
switch (this.f) {
|
|
690
706
|
case 0:
|
|
691
|
-
|
|
707
|
+
d = this.aw + this.ak;
|
|
692
708
|
break;
|
|
693
709
|
case 3:
|
|
694
710
|
case 1:
|
|
695
|
-
|
|
711
|
+
d = this.aw + this.ak + ((f / 2) - (b / 2));
|
|
696
712
|
break;
|
|
697
713
|
case 2:
|
|
698
|
-
|
|
714
|
+
d = Math.max(0, (this.as - (this.at + this.ah))) - b;
|
|
699
715
|
break;
|
|
700
716
|
}
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
717
|
+
this.a0 = c;
|
|
718
|
+
this.a2 = this.a0 + h;
|
|
719
|
+
this.a3 = d;
|
|
720
|
+
this.a4 = this.a3 + (b / 2);
|
|
705
721
|
this.o = true;
|
|
706
722
|
};
|
|
707
|
-
CanvasGridCellBase.prototype.
|
|
723
|
+
CanvasGridCellBase.prototype.bk = function (a, b, c, d) {
|
|
708
724
|
var e = b;
|
|
709
725
|
var f = e.length;
|
|
710
726
|
var g = ("\u2026");
|
|
711
|
-
if (isNaN_(this.
|
|
712
|
-
this.
|
|
727
|
+
if (isNaN_(this.ap)) {
|
|
728
|
+
this.ap = d.f(g);
|
|
713
729
|
}
|
|
714
|
-
if (c <= this.
|
|
730
|
+
if (c <= this.ap) {
|
|
715
731
|
a.al = g;
|
|
716
|
-
return this.
|
|
732
|
+
return this.ap;
|
|
717
733
|
}
|
|
718
734
|
var h = d.f(e);
|
|
719
735
|
if (h <= c) {
|
|
@@ -743,28 +759,28 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
743
759
|
a.al = e;
|
|
744
760
|
return h;
|
|
745
761
|
};
|
|
746
|
-
CanvasGridCellBase.prototype.
|
|
762
|
+
CanvasGridCellBase.prototype.cq = function (a) {
|
|
747
763
|
this.f = a;
|
|
748
764
|
this.o = true;
|
|
749
765
|
this.s = true;
|
|
750
766
|
};
|
|
751
|
-
CanvasGridCellBase.prototype.
|
|
767
|
+
CanvasGridCellBase.prototype.ag = function (a) {
|
|
752
768
|
return a.isClickActionDesired;
|
|
753
769
|
};
|
|
754
770
|
CanvasGridCellBase.prototype.onContactStarted = function (a, b) {
|
|
755
|
-
if (this.a != null && this.
|
|
756
|
-
this.
|
|
757
|
-
this.
|
|
758
|
-
this.a.mouseDownCell(this.
|
|
771
|
+
if (this.a != null && this.ag(this.a)) {
|
|
772
|
+
this.bx = a.pageX;
|
|
773
|
+
this.by = a.pageY;
|
|
774
|
+
this.a.mouseDownCell(this.bx, this.by);
|
|
759
775
|
}
|
|
760
776
|
};
|
|
761
777
|
CanvasGridCellBase.prototype.onContactMoved = function (a, b) {
|
|
762
|
-
if (this.a != null && this.
|
|
778
|
+
if (this.a != null && this.ag(this.a)) {
|
|
763
779
|
var c = a.pageX;
|
|
764
780
|
var d = a.pageY;
|
|
765
781
|
if (this.a.isMouseDown) {
|
|
766
782
|
if (b) {
|
|
767
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.
|
|
783
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bs || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bs) {
|
|
768
784
|
this.a.mouseUpCell(c, d);
|
|
769
785
|
}
|
|
770
786
|
else {
|
|
@@ -776,7 +792,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
776
792
|
this.a.mouseUpCell(c, d);
|
|
777
793
|
}
|
|
778
794
|
else {
|
|
779
|
-
if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.
|
|
795
|
+
if (Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bq || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bq) {
|
|
780
796
|
this.a.isControlPressed = a.ctrlKey;
|
|
781
797
|
this.a.dragStarted();
|
|
782
798
|
}
|
|
@@ -786,10 +802,10 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
786
802
|
}
|
|
787
803
|
};
|
|
788
804
|
CanvasGridCellBase.prototype.onContactCompleted = function (a, b) {
|
|
789
|
-
if (this.a != null && this.
|
|
805
|
+
if (this.a != null && this.ag(this.a)) {
|
|
790
806
|
var c = a.pageX;
|
|
791
807
|
var d = a.pageY;
|
|
792
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.
|
|
808
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > CanvasGridCellBase.bs || Math.abs(d - this.a.mousePosition.y) > CanvasGridCellBase.bs || this.a.isDrag) {
|
|
793
809
|
this.a.mouseUpCell(c, d);
|
|
794
810
|
}
|
|
795
811
|
if (this.a.isCellDown()) {
|
|
@@ -832,9 +848,9 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
832
848
|
CanvasGridCellBase.prototype.detach = function () {
|
|
833
849
|
};
|
|
834
850
|
CanvasGridCellBase.$t = markType(CanvasGridCellBase, 'CanvasGridCellBase', Base.$, [INativeCell_$type]);
|
|
835
|
-
CanvasGridCellBase.
|
|
836
|
-
CanvasGridCellBase.
|
|
837
|
-
CanvasGridCellBase.
|
|
851
|
+
CanvasGridCellBase.bw = new Random(0);
|
|
852
|
+
CanvasGridCellBase.bs = 10;
|
|
853
|
+
CanvasGridCellBase.bq = 3;
|
|
838
854
|
return CanvasGridCellBase;
|
|
839
855
|
}(Base));
|
|
840
856
|
export { CanvasGridCellBase };
|