igniteui-webcomponents-grids 4.0.4 → 4.2.3-alpha
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 +2059 -1378
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +553 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +11 -11
- package/esm2015/lib/FilterCell.js +77 -61
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +12 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- package/esm5/lib/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +579 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +11 -11
- package/esm5/lib/FilterCell.js +81 -61
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +12 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1935 -1395
- package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -90
- package/grids/index.d.ts +15 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-template-context.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +3 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +2 -0
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +23 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
- package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/BaseEditorView.d.ts +12 -8
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +105 -96
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +14 -9
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ensureEnum, ensureBool, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
1
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
2
2
|
import { FontInfo } from "igniteui-webcomponents-core";
|
|
3
3
|
import { WebComponentRenderer } from "igniteui-webcomponents-core";
|
|
4
4
|
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
@@ -432,6 +432,26 @@ export let IgcGridColumnOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
432
432
|
set filterListPlaceholderText(v) {
|
|
433
433
|
this.i.d1 = v;
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Gets or sets the text color for the summary options menu.
|
|
437
|
+
*/
|
|
438
|
+
get summaryListTextColor() {
|
|
439
|
+
return brushToString(this.i.fm);
|
|
440
|
+
}
|
|
441
|
+
set summaryListTextColor(v) {
|
|
442
|
+
this.i.fm = stringToBrush(v);
|
|
443
|
+
this._a("summaryListTextColor", brushToString(this.i.fm));
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Gets or sets the background color for the summary options menu.
|
|
447
|
+
*/
|
|
448
|
+
get summaryListBackground() {
|
|
449
|
+
return brushToString(this.i.fl);
|
|
450
|
+
}
|
|
451
|
+
set summaryListBackground(v) {
|
|
452
|
+
this.i.fl = stringToBrush(v);
|
|
453
|
+
this._a("summaryListBackground", brushToString(this.i.fl));
|
|
454
|
+
}
|
|
435
455
|
get applyButtonClick() {
|
|
436
456
|
return this._applyButtonClick;
|
|
437
457
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ensureEnum, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
1
|
+
import { ensureEnum, brushToString, stringToBrush, NamePatcher, toSpinal, enumToString, getAllPropertyNames } from "igniteui-webcomponents-core";
|
|
2
2
|
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
3
3
|
import { DataGridStylingDefaults } from './DataGridStylingDefaults';
|
|
4
4
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
@@ -127,6 +127,20 @@ export let IgcGridColumnSummaryOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
127
127
|
this.i.b7 = +v;
|
|
128
128
|
this._a("activeCount", this.i.b7);
|
|
129
129
|
}
|
|
130
|
+
get summaryListTextColor() {
|
|
131
|
+
return brushToString(this.i.cv);
|
|
132
|
+
}
|
|
133
|
+
set summaryListTextColor(v) {
|
|
134
|
+
this.i.cv = stringToBrush(v);
|
|
135
|
+
this._a("summaryListTextColor", brushToString(this.i.cv));
|
|
136
|
+
}
|
|
137
|
+
get summaryListBackground() {
|
|
138
|
+
return brushToString(this.i.cu);
|
|
139
|
+
}
|
|
140
|
+
set summaryListBackground(v) {
|
|
141
|
+
this.i.cu = stringToBrush(v);
|
|
142
|
+
this._a("summaryListBackground", brushToString(this.i.cu));
|
|
143
|
+
}
|
|
130
144
|
onApply() {
|
|
131
145
|
this.i.bt();
|
|
132
146
|
}
|
|
@@ -134,7 +148,7 @@ export let IgcGridColumnSummaryOptionsComponent = /*@__PURE__*/ (() => {
|
|
|
134
148
|
this.i.bu();
|
|
135
149
|
}
|
|
136
150
|
closeMenu() {
|
|
137
|
-
this.i.
|
|
151
|
+
this.i.cj();
|
|
138
152
|
}
|
|
139
153
|
}
|
|
140
154
|
IgcGridColumnSummaryOptionsComponent._observedAttributesIgcGridColumnSummaryOptionsComponent = null;
|
|
@@ -23,6 +23,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
23
23
|
_this.h = null;
|
|
24
24
|
_this._container = null;
|
|
25
25
|
_this.g = false;
|
|
26
|
+
_this.x = null;
|
|
26
27
|
_this.valueProvided = null;
|
|
27
28
|
_this.userTyping = null;
|
|
28
29
|
_this.lostFocus = null;
|
|
@@ -49,7 +50,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
49
50
|
set: function (a) {
|
|
50
51
|
var b = this.i;
|
|
51
52
|
this.i = a;
|
|
52
|
-
this.
|
|
53
|
+
this.u("Value", b, this.i);
|
|
53
54
|
},
|
|
54
55
|
enumerable: true,
|
|
55
56
|
configurable: true
|
|
@@ -62,7 +63,7 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
62
63
|
var b = this.e;
|
|
63
64
|
this.e = a;
|
|
64
65
|
if (b != this.e) {
|
|
65
|
-
this.
|
|
66
|
+
this.u("IsEnabled", b, this.e);
|
|
66
67
|
}
|
|
67
68
|
},
|
|
68
69
|
enumerable: true,
|
|
@@ -86,28 +87,42 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86
87
|
var b = this.f;
|
|
87
88
|
this.f = a;
|
|
88
89
|
if (b != this.f) {
|
|
89
|
-
this.
|
|
90
|
+
this.u("ShowClearButton", b, this.f);
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
enumerable: true,
|
|
93
94
|
configurable: true
|
|
94
95
|
});
|
|
95
|
-
BaseEditorView.prototype
|
|
96
|
+
Object.defineProperty(BaseEditorView.prototype, "textColor", {
|
|
97
|
+
get: function () {
|
|
98
|
+
return this.x;
|
|
99
|
+
},
|
|
100
|
+
set: function (a) {
|
|
101
|
+
var b = this.x;
|
|
102
|
+
this.x = a;
|
|
103
|
+
if (b != this.x) {
|
|
104
|
+
this.u("TextColor", b, this.x);
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
enumerable: true,
|
|
108
|
+
configurable: true
|
|
109
|
+
});
|
|
110
|
+
BaseEditorView.prototype.q = function (a, b) {
|
|
96
111
|
if (this.valueProvided != null) {
|
|
97
112
|
this.valueProvided(this, a, b);
|
|
98
113
|
}
|
|
99
114
|
};
|
|
100
|
-
BaseEditorView.prototype.
|
|
115
|
+
BaseEditorView.prototype.p = function () {
|
|
101
116
|
if (this.userTyping != null) {
|
|
102
117
|
this.userTyping(this);
|
|
103
118
|
}
|
|
104
119
|
};
|
|
105
|
-
BaseEditorView.prototype.
|
|
120
|
+
BaseEditorView.prototype.o = function () {
|
|
106
121
|
if (this.lostFocus != null) {
|
|
107
122
|
this.lostFocus(this);
|
|
108
123
|
}
|
|
109
124
|
};
|
|
110
|
-
BaseEditorView.prototype.
|
|
125
|
+
BaseEditorView.prototype.n = function () {
|
|
111
126
|
if (this.gotFocus != null) {
|
|
112
127
|
this.gotFocus(this);
|
|
113
128
|
}
|
|
@@ -139,31 +154,36 @@ var BaseEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
139
154
|
this.b = this.h.getRequestAnimationFrame();
|
|
140
155
|
}
|
|
141
156
|
this.b(function () {
|
|
142
|
-
_this.
|
|
157
|
+
_this.s();
|
|
143
158
|
_this.d = false;
|
|
144
159
|
});
|
|
145
160
|
this.d = true;
|
|
146
161
|
};
|
|
147
|
-
BaseEditorView.prototype.
|
|
162
|
+
BaseEditorView.prototype.s = function () {
|
|
148
163
|
};
|
|
149
164
|
BaseEditorView.prototype.getEditorValue = function () {
|
|
150
165
|
return null;
|
|
151
166
|
};
|
|
152
167
|
BaseEditorView.prototype.setEditorValue = function (a) {
|
|
153
168
|
};
|
|
154
|
-
BaseEditorView.prototype.
|
|
169
|
+
BaseEditorView.prototype.u = function (a, b, c) {
|
|
155
170
|
switch (a) {
|
|
156
171
|
case "Value":
|
|
157
|
-
this.
|
|
172
|
+
this.w();
|
|
158
173
|
break;
|
|
159
174
|
case "IsEnabled":
|
|
160
|
-
this.
|
|
175
|
+
this.r();
|
|
176
|
+
break;
|
|
177
|
+
case "TextColor":
|
|
178
|
+
this.v();
|
|
161
179
|
break;
|
|
162
180
|
}
|
|
163
181
|
};
|
|
164
|
-
BaseEditorView.prototype.
|
|
182
|
+
BaseEditorView.prototype.w = function () {
|
|
183
|
+
};
|
|
184
|
+
BaseEditorView.prototype.r = function () {
|
|
165
185
|
};
|
|
166
|
-
BaseEditorView.prototype.
|
|
186
|
+
BaseEditorView.prototype.v = function () {
|
|
167
187
|
};
|
|
168
188
|
BaseEditorView.prototype.onInputKeyDown = function (a, b) {
|
|
169
189
|
if (!this.g) {
|
|
@@ -150,7 +150,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150
150
|
};
|
|
151
151
|
Object.defineProperty(CanvasGridCellBase.prototype, "templateContext", {
|
|
152
152
|
get: function () {
|
|
153
|
-
return this.j.
|
|
153
|
+
return this.j.h();
|
|
154
154
|
},
|
|
155
155
|
enumerable: true,
|
|
156
156
|
configurable: true
|
|
@@ -303,7 +303,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
305
|
if (this.bz != 1) {
|
|
306
|
-
a.
|
|
306
|
+
a.ae(this.bz);
|
|
307
307
|
}
|
|
308
308
|
var j = this.j;
|
|
309
309
|
if (!this.v) {
|
|
@@ -319,17 +319,17 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
319
319
|
if (this.p || this.u || (this.i != null && this.i.g != this.br)) {
|
|
320
320
|
this.p = false;
|
|
321
321
|
this.br = this.i.g;
|
|
322
|
-
j.
|
|
322
|
+
j.ad(this.i);
|
|
323
323
|
}
|
|
324
324
|
if (f != 1) {
|
|
325
|
-
j.
|
|
326
|
-
j.
|
|
325
|
+
j.aa();
|
|
326
|
+
j.ab(f, f);
|
|
327
327
|
}
|
|
328
328
|
if (!this.v) {
|
|
329
|
-
j.
|
|
329
|
+
j.aa();
|
|
330
330
|
var k = Math.round((d - b));
|
|
331
331
|
var l = Math.round((e - c));
|
|
332
|
-
j.
|
|
332
|
+
j.ag(k, l);
|
|
333
333
|
}
|
|
334
334
|
if (g) {
|
|
335
335
|
this.b8(j);
|
|
@@ -338,24 +338,24 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
338
338
|
this.b9(j);
|
|
339
339
|
}
|
|
340
340
|
if (!this.v) {
|
|
341
|
-
j.
|
|
341
|
+
j.z();
|
|
342
342
|
}
|
|
343
343
|
if (f != 1) {
|
|
344
|
-
j.
|
|
344
|
+
j.z();
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
if (!i && this.v) {
|
|
348
348
|
var m = Math.round((d - b) * f);
|
|
349
349
|
var n = Math.round((e - c) * f);
|
|
350
350
|
if (this.am == this.ao && this.al == this.an) {
|
|
351
|
-
a.
|
|
351
|
+
a.n(this.bu(), 1, m, n, this.am, this.al);
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
354
|
-
a.
|
|
354
|
+
a.o(this.bu(), 1, 0, 0, this.am, this.al, m, n, this.am, this.al);
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
if (this.bz != 1) {
|
|
358
|
-
a.
|
|
358
|
+
a.ae(1);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
CanvasGridCellBase.prototype.bu = function () {
|
|
@@ -363,13 +363,13 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
363
363
|
};
|
|
364
364
|
CanvasGridCellBase.prototype.b8 = function (a) {
|
|
365
365
|
if (!this.m) {
|
|
366
|
-
a.
|
|
366
|
+
a.l(0, 0, this.ao, this.an);
|
|
367
367
|
}
|
|
368
368
|
this.c6.n = 0;
|
|
369
369
|
this.c6.o = 0;
|
|
370
370
|
this.c6.width = this.a5;
|
|
371
371
|
this.c6.height = this.as;
|
|
372
|
-
a.
|
|
372
|
+
a.w(this.c6);
|
|
373
373
|
if (this.cy != null) {
|
|
374
374
|
if (this.ai > 0) {
|
|
375
375
|
this.c2.am = 0;
|
|
@@ -378,7 +378,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
378
378
|
this.c2.al = this.ai / 2;
|
|
379
379
|
this.c2._stroke = this.cy;
|
|
380
380
|
this.c2.ac = this.ai;
|
|
381
|
-
a.
|
|
381
|
+
a.s(this.c2);
|
|
382
382
|
}
|
|
383
383
|
if (this.aj > 0) {
|
|
384
384
|
this.c3.am = 0;
|
|
@@ -387,7 +387,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
387
387
|
this.c3.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
388
388
|
this.c3._stroke = this.cy;
|
|
389
389
|
this.c3.ac = this.aj;
|
|
390
|
-
a.
|
|
390
|
+
a.s(this.c3);
|
|
391
391
|
}
|
|
392
392
|
if (this.ak > 0) {
|
|
393
393
|
this.c5.am = this.ak / 2;
|
|
@@ -396,7 +396,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
396
396
|
this.c5.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
397
397
|
this.c5._stroke = this.cy;
|
|
398
398
|
this.c5.ac = this.ak;
|
|
399
|
-
a.
|
|
399
|
+
a.s(this.c5);
|
|
400
400
|
}
|
|
401
401
|
if (this.ah > 0) {
|
|
402
402
|
this.c1.am = Math.max(0, this.as - (this.ah / 2));
|
|
@@ -405,7 +405,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
405
405
|
this.c1.al = Math.max(0, (this.a5 - (this.aj / 2)));
|
|
406
406
|
this.c1._stroke = this.cy;
|
|
407
407
|
this.c1.ac = this.ah;
|
|
408
|
-
a.
|
|
408
|
+
a.s(this.c1);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
};
|
|
@@ -426,7 +426,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
426
426
|
if (this.cx.al != null) {
|
|
427
427
|
this.cx.n = this.a0;
|
|
428
428
|
this.cx.o = this.a3;
|
|
429
|
-
a.
|
|
429
|
+
a.x(this.cx);
|
|
430
430
|
if (this.r) {
|
|
431
431
|
this.c4.ac = 1;
|
|
432
432
|
this.c4.ak = this.a0;
|
|
@@ -434,7 +434,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
434
434
|
this.c4.al = this.a0 + (this.a2 - this.a0);
|
|
435
435
|
this.c4.an = this.a4 - 2;
|
|
436
436
|
this.c4._stroke = this.cx.ao;
|
|
437
|
-
this.j.
|
|
437
|
+
this.j.s(this.c4);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
};
|
|
@@ -668,7 +668,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
668
668
|
if (this.p || (this.i != null && this.i.g != this.br)) {
|
|
669
669
|
this.p = false;
|
|
670
670
|
this.br = this.i.g;
|
|
671
|
-
a.
|
|
671
|
+
a.ad(this.i);
|
|
672
672
|
}
|
|
673
673
|
var b;
|
|
674
674
|
if (this.h != this.i || this.bt != this.i.g) {
|
|
@@ -725,13 +725,13 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
725
725
|
var f = e.length;
|
|
726
726
|
var g = ("\u2026");
|
|
727
727
|
if (isNaN_(this.ap)) {
|
|
728
|
-
this.ap = d.
|
|
728
|
+
this.ap = d.g(g);
|
|
729
729
|
}
|
|
730
730
|
if (c <= this.ap) {
|
|
731
731
|
a.al = g;
|
|
732
732
|
return this.ap;
|
|
733
733
|
}
|
|
734
|
-
var h = d.
|
|
734
|
+
var h = d.g(e);
|
|
735
735
|
if (h <= c) {
|
|
736
736
|
a.al = b;
|
|
737
737
|
return h;
|
|
@@ -739,14 +739,14 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
739
739
|
var i = c / h;
|
|
740
740
|
var j = truncate(Math.ceil(f * i));
|
|
741
741
|
var k = e.substr(0, j) + g;
|
|
742
|
-
var l = d.
|
|
742
|
+
var l = d.g(k);
|
|
743
743
|
if (l > c) {
|
|
744
744
|
f = j;
|
|
745
745
|
}
|
|
746
746
|
else {
|
|
747
747
|
j = j + 1;
|
|
748
748
|
k = e.substr(0, j) + g;
|
|
749
|
-
l = d.
|
|
749
|
+
l = d.g(k);
|
|
750
750
|
if (l > c) {
|
|
751
751
|
f = j;
|
|
752
752
|
}
|
|
@@ -754,7 +754,7 @@ var CanvasGridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
754
754
|
while (h > c && f > 0) {
|
|
755
755
|
f--;
|
|
756
756
|
e = e.substr(0, f) + g;
|
|
757
|
-
h = d.
|
|
757
|
+
h = d.g(e);
|
|
758
758
|
}
|
|
759
759
|
a.al = e;
|
|
760
760
|
return h;
|
|
@@ -66,7 +66,7 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
66
|
if (this.c8 || (this.c7 != null && this.c7.g != this.de)) {
|
|
67
67
|
this.c8 = false;
|
|
68
68
|
this.de = this.c7.g;
|
|
69
|
-
a.
|
|
69
|
+
a.ad(this.c7);
|
|
70
70
|
this.da = FontUtil.getCurrentFontHeight(this.bn, this.c7);
|
|
71
71
|
}
|
|
72
72
|
var b = this.bl;
|
|
@@ -87,7 +87,7 @@ var CanvasSummaryCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
87
87
|
}
|
|
88
88
|
this.dk.n = this.db;
|
|
89
89
|
this.dk.o = this.dc;
|
|
90
|
-
a.
|
|
90
|
+
a.x(this.dk);
|
|
91
91
|
}
|
|
92
92
|
_super.prototype.b9.call(this, a);
|
|
93
93
|
};
|
|
@@ -52,7 +52,7 @@ var CanvasTextHeaderCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52
52
|
if (this.d == 2) {
|
|
53
53
|
b = this.bg - 21;
|
|
54
54
|
}
|
|
55
|
-
a.
|
|
55
|
+
a.n(this.c9, 1, b, this.bj - 8, 16, 16);
|
|
56
56
|
};
|
|
57
57
|
CanvasTextHeaderCell.prototype.get_ab = function () {
|
|
58
58
|
return true;
|