igniteui-webcomponents-grids 4.7.1 → 4.7.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-grids.umd.js +498 -373
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/ColumnFilterCondition_combined.js +246 -210
- package/esm2015/lib/ColumnGroupingView_combined.js +17 -17
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +3 -3
- package/esm2015/lib/EditorCell.js +2 -2
- package/esm2015/lib/FilterCell.js +12 -12
- package/esm2015/lib/GridCellBase.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm2015/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +5 -5
- package/esm2015/lib/GridFilterDialogView_combined.js +16 -16
- package/esm2015/lib/GridStyleRepository.js +12 -12
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +51 -51
- package/esm2015/lib/PropertyEditorView_combined.js +4 -4
- package/esm2015/lib/igc-column-exchangers-collection.js +6 -1
- package/esm2015/lib/igc-column-property-setters-collection.js +6 -1
- package/esm2015/lib/igc-grid-column-collection.js +6 -1
- package/esm2015/lib/igc-grid-filter-dialog-view-model-grouping-level-collection.js +6 -1
- package/esm2015/lib/igc-grid-filter-dialog-view-model-grouping-level.js +6 -1
- package/esm2015/lib/igc-grid-filter-dialog-view-model-row-collection.js +6 -1
- package/esm2015/lib/igc-grid-filter-operands-collection.js +6 -1
- package/esm2015/lib/igc-grid-selected-cell-ranges-collection.js +6 -1
- package/esm2015/lib/igc-grid-selected-cells-collection.js +6 -1
- package/esm2015/lib/igc-grid-selected-keys-collection.js +6 -1
- package/esm2015/lib/igc-horizontal-property-editor-data-source.js +6 -1
- package/esm2015/lib/igc-responsive-phases-collection.js +6 -1
- package/esm2015/lib/igc-responsive-states-collection.js +6 -1
- package/esm5/lib/CanvasGridCellBase.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/ColumnFilterCondition_combined.js +270 -210
- package/esm5/lib/ColumnGroupingView_combined.js +17 -17
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +3 -3
- package/esm5/lib/EditorCell.js +2 -2
- package/esm5/lib/FilterCell.js +12 -12
- package/esm5/lib/GridCellBase.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm5/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +5 -5
- package/esm5/lib/GridFilterDialogView_combined.js +16 -16
- package/esm5/lib/GridStyleRepository.js +12 -12
- package/esm5/lib/MultiColumnComboBoxView_combined.js +51 -51
- package/esm5/lib/PropertyEditorView_combined.js +4 -4
- package/esm5/lib/igc-column-exchangers-collection.js +6 -1
- package/esm5/lib/igc-column-property-setters-collection.js +6 -1
- package/esm5/lib/igc-grid-column-collection.js +6 -1
- package/esm5/lib/igc-grid-filter-dialog-view-model-grouping-level-collection.js +6 -1
- package/esm5/lib/igc-grid-filter-dialog-view-model-grouping-level.js +6 -1
- package/esm5/lib/igc-grid-filter-dialog-view-model-row-collection.js +6 -1
- package/esm5/lib/igc-grid-filter-operands-collection.js +6 -1
- package/esm5/lib/igc-grid-selected-cell-ranges-collection.js +6 -1
- package/esm5/lib/igc-grid-selected-cells-collection.js +6 -1
- package/esm5/lib/igc-grid-selected-keys-collection.js +6 -1
- package/esm5/lib/igc-horizontal-property-editor-data-source.js +6 -1
- package/esm5/lib/igc-responsive-phases-collection.js +6 -1
- package/esm5/lib/igc-responsive-states-collection.js +6 -1
- package/fesm2015/igniteui-webcomponents-grids.js +474 -373
- package/fesm5/igniteui-webcomponents-grids.js +498 -373
- package/grids/3rdpartylicenses.txt +101 -26
- package/grids/combined.js +27161 -27885
- package/grids/index.d.ts +9 -1
- package/grids/lib/igc-action-strip-component.d.ts +4 -15
- package/grids/lib/igc-active-node-change-event-args.d.ts +3 -6
- package/grids/lib/igc-cancelable-event-args.d.ts +1 -2
- package/grids/lib/igc-child-grid-row-component.d.ts +58 -0
- package/grids/lib/igc-clipboard-options.d.ts +45 -0
- package/grids/lib/igc-column-component.d.ts +15 -1
- package/grids/lib/igc-column-exporting-event-args.d.ts +5 -10
- package/grids/lib/igc-column-group-component.d.ts +1 -0
- package/grids/lib/igc-column-layout-component.d.ts +1 -0
- package/grids/lib/igc-column-moving-end-event-args.d.ts +3 -6
- package/grids/lib/igc-column-moving-event-args.d.ts +2 -4
- package/grids/lib/igc-column-moving-start-event-args.d.ts +1 -2
- package/grids/lib/igc-column-resize-event-args.d.ts +3 -6
- package/grids/lib/igc-column-selection-event-args.d.ts +5 -10
- package/grids/lib/igc-column-state.d.ts +2 -0
- package/grids/lib/igc-column-toggled-event-args.d.ts +2 -4
- package/grids/lib/igc-column-visibility-changed-event-args.d.ts +2 -4
- package/grids/lib/igc-column-visibility-changing-event-args.d.ts +3 -6
- package/grids/lib/igc-density-changed-event-args.d.ts +2 -4
- package/grids/lib/{igc-exporter-event.d.ts → igc-exporter-event-args.d.ts} +2 -1
- package/grids/lib/igc-expression-tree.d.ts +4 -3
- package/grids/lib/igc-filtering-event-args.d.ts +2 -4
- package/grids/lib/igc-filtering-expressions-tree.d.ts +3 -3
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +1 -2
- package/grids/lib/igc-grid-base-directive.d.ts +17 -7
- package/grids/lib/igc-grid-cell-event-args.d.ts +2 -4
- package/grids/lib/igc-grid-created-event-args.d.ts +26 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +4 -8
- package/grids/lib/igc-grid-edit-event-args.d.ts +5 -10
- package/grids/lib/igc-grid-editing-actions-component.d.ts +1 -0
- package/grids/lib/igc-grid-form-group-created-event-args.d.ts +1 -2
- package/grids/lib/igc-grid-keydown-event-args.d.ts +4 -8
- package/grids/lib/igc-grid-pinning-actions-component.d.ts +1 -0
- package/grids/lib/igc-grid-scroll-event-args.d.ts +3 -6
- package/grids/lib/igc-grid-selection-range.d.ts +2 -0
- package/grids/lib/igc-grid-state-base-directive.d.ts +2 -16
- package/grids/lib/igc-grid-state-collection.d.ts +1 -0
- package/grids/lib/igc-grid-state-component.d.ts +11 -3
- package/grids/lib/igc-grid-state-info.d.ts +3 -0
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-component.d.ts +2 -0
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +4 -8
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +3 -2
- package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-template-context.d.ts +19 -0
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +1 -0
- package/grids/lib/igc-grid-validation-status-event-args.d.ts +2 -4
- package/grids/lib/igc-grouping-done-event-args.d.ts +3 -6
- package/grids/lib/igc-grouping-state.d.ts +2 -0
- package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +68 -0
- package/grids/lib/igc-hierarchical-grid-component.d.ts +218 -0
- package/grids/lib/igc-noop-pivot-dimensions-strategy.d.ts +24 -0
- package/grids/lib/igc-page-cancellable-event-args.d.ts +2 -4
- package/grids/lib/igc-page-event-args.d.ts +2 -4
- package/grids/lib/igc-paginator-component.d.ts +3 -0
- package/grids/lib/igc-paging-state.d.ts +2 -0
- package/grids/lib/igc-pin-column-cancellable-event-args.d.ts +4 -8
- package/grids/lib/igc-pin-column-event-args.d.ts +3 -6
- package/grids/lib/igc-pin-row-event-args.d.ts +3 -6
- package/grids/lib/igc-pinning-config.d.ts +2 -0
- package/grids/lib/igc-pivot-configuration-changed-event-args.d.ts +1 -2
- package/grids/lib/igc-row-data-event-args.d.ts +2 -4
- package/grids/lib/igc-row-drag-end-event-args.d.ts +3 -6
- package/grids/lib/igc-row-drag-start-event-args.d.ts +3 -6
- package/grids/lib/igc-row-exporting-event-args.d.ts +3 -6
- package/grids/lib/igc-row-island-component.d.ts +2635 -0
- package/grids/lib/igc-row-selection-event-args.d.ts +5 -10
- package/grids/lib/igc-row-toggle-event-args.d.ts +3 -6
- package/grids/lib/igc-sorting-event-args.d.ts +1 -2
- package/grids/lib/igc-toggle-view-cancelable-event-args.d.ts +1 -2
- package/grids/lib/igc-toggle-view-event-args.d.ts +1 -2
- 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/ColumnFilterCondition_combined.d.ts +33 -21
- package/lib/DateEditorView.d.ts +1 -1
- package/lib/GridFilterDialogView_combined.d.ts +1 -1
- package/lib/TextEditorView.d.ts +1 -1
- package/package.json +4 -4
|
@@ -206,7 +206,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
206
206
|
ColumnGroupingView.prototype.aq = function () {
|
|
207
207
|
if (this.t != null) {
|
|
208
208
|
if (this.e.k != null) {
|
|
209
|
-
this.t.setStyleProperty("font", this.e.k.
|
|
209
|
+
this.t.setStyleProperty("font", this.e.k.s);
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
212
|
this.t.setStyleProperty("font", "14px Verdana");
|
|
@@ -218,7 +218,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
218
218
|
var a = this.i.count;
|
|
219
219
|
for (var b = 0; b < a; b++) {
|
|
220
220
|
var c = this.i._inner[b];
|
|
221
|
-
c.setStyleProperty("font", this.e.k.
|
|
221
|
+
c.setStyleProperty("font", this.e.k.s);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
};
|
|
@@ -282,7 +282,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
282
282
|
f.setAttribute("data-field", a._inner[c].b.toString());
|
|
283
283
|
var g = this.n.createElement("span");
|
|
284
284
|
if (this.e.k != null) {
|
|
285
|
-
g.setStyleProperty("font", this.e.k.
|
|
285
|
+
g.setStyleProperty("font", this.e.k.s);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
288
288
|
g.setStyleProperty("font", "14px Verdana");
|
|
@@ -1029,30 +1029,30 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
if (this.k != null) {
|
|
1031
1031
|
var n = this.k;
|
|
1032
|
-
if (this.d != null && n.
|
|
1032
|
+
if (this.d != null && n.p == null) {
|
|
1033
1033
|
var o = this.d.o;
|
|
1034
1034
|
var p = FontUtil.getFontInfoFromString(o, n.fontString);
|
|
1035
|
-
n.
|
|
1036
|
-
n.
|
|
1037
|
-
n.o = p.o;
|
|
1035
|
+
n.p = p.p;
|
|
1036
|
+
n.e = p.e;
|
|
1038
1037
|
n.q = p.q;
|
|
1039
|
-
n.r = p.r;
|
|
1040
1038
|
n.s = p.s;
|
|
1039
|
+
n.t = p.t;
|
|
1040
|
+
n.u = p.u;
|
|
1041
1041
|
}
|
|
1042
|
-
if (n.
|
|
1043
|
-
a.j = n.
|
|
1042
|
+
if (n.p != null) {
|
|
1043
|
+
a.j = n.p;
|
|
1044
1044
|
}
|
|
1045
|
-
if (!isNaN_(n.
|
|
1046
|
-
a.g = n.
|
|
1045
|
+
if (!isNaN_(n.e)) {
|
|
1046
|
+
a.g = n.e;
|
|
1047
|
+
}
|
|
1048
|
+
if (n.u != null) {
|
|
1049
|
+
a.n = n.u;
|
|
1047
1050
|
}
|
|
1048
1051
|
if (n.s != null) {
|
|
1049
|
-
a.
|
|
1052
|
+
a.l = n.s;
|
|
1050
1053
|
}
|
|
1051
1054
|
if (n.q != null) {
|
|
1052
|
-
a.
|
|
1053
|
-
}
|
|
1054
|
-
if (n.o != null) {
|
|
1055
|
-
a.k = n.q;
|
|
1055
|
+
a.k = n.s;
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
1058
|
return a;
|
|
@@ -148,7 +148,7 @@ var ComparisonOperatorSelectorView = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
148
148
|
};
|
|
149
149
|
ComparisonOperatorSelectorView.prototype.s = function (a, b) {
|
|
150
150
|
this.i.setStyleProperty("height", stringFormat("{0}px", this.a.y()));
|
|
151
|
-
this.d.
|
|
151
|
+
this.d.b8();
|
|
152
152
|
document.addEventListener("keydown", runOn(this, this.onDocumentKeyDown), false);
|
|
153
153
|
document.addEventListener("mousedown", runOn(this, this.onDocumentMouseDown), false);
|
|
154
154
|
};
|
|
@@ -977,13 +977,13 @@ var ComparisonOperatorSelector = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
977
977
|
this.ee();
|
|
978
978
|
}
|
|
979
979
|
else {
|
|
980
|
-
this.q.
|
|
980
|
+
this.q.b5();
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
983
|
};
|
|
984
984
|
ComparisonOperatorSelector.prototype.d8 = function () {
|
|
985
985
|
if (this.q != null) {
|
|
986
|
-
this.q.
|
|
986
|
+
this.q.b5();
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
989
|
ComparisonOperatorSelector.prototype.d1 = function (a, b, c, d) {
|
package/esm5/lib/EditorCell.js
CHANGED
|
@@ -402,7 +402,7 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
402
402
|
EditorCell.prototype.eh = function (a, b, c, d, e) {
|
|
403
403
|
if (!stringIsNullOrWhiteSpace(a)) {
|
|
404
404
|
this.dd.setRawText(a);
|
|
405
|
-
this.cx.
|
|
405
|
+
this.cx.b8();
|
|
406
406
|
this.ei();
|
|
407
407
|
}
|
|
408
408
|
};
|
|
@@ -417,7 +417,7 @@ var EditorCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
417
417
|
};
|
|
418
418
|
EditorCell.prototype.d0 = function () {
|
|
419
419
|
if (this.cx.aw) {
|
|
420
|
-
this.cx.
|
|
420
|
+
this.cx.b5();
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
EditorCell.prototype.bo = function () {
|
package/esm5/lib/FilterCell.js
CHANGED
|
@@ -257,32 +257,32 @@ var FilterCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
257
257
|
if (this.ci != null) {
|
|
258
258
|
if (typeCast(ColumnComparisonFilterCondition.$, this.ci) !== null) {
|
|
259
259
|
var a = typeCast(ColumnComparisonFilterCondition.$, this.ci);
|
|
260
|
-
this.ck.b = a.
|
|
260
|
+
this.ck.b = a.operator;
|
|
261
261
|
var b = this.cr.getEditorValue();
|
|
262
262
|
if (b != null) {
|
|
263
|
-
if (!Base.equalsStatic(b, a.
|
|
264
|
-
this.cr.value = a.
|
|
265
|
-
this.c8 = a.
|
|
263
|
+
if (!Base.equalsStatic(b, a.value)) {
|
|
264
|
+
this.cr.value = a.value;
|
|
265
|
+
this.c8 = a.value;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
else {
|
|
269
|
-
this.cr.value = a.
|
|
270
|
-
this.c8 = a.
|
|
269
|
+
this.cr.value = a.value;
|
|
270
|
+
this.c8 = a.value;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
else if (typeCast(ColumnCustomFilterCondition.$, this.ci) !== null) {
|
|
274
274
|
var c = typeCast(ColumnCustomFilterCondition.$, this.ci);
|
|
275
|
-
this.ck.ek(c.id, c.
|
|
275
|
+
this.ck.ek(c.id, c.index);
|
|
276
276
|
var d = this.cr.getEditorValue();
|
|
277
277
|
if (d != null) {
|
|
278
|
-
if (!Base.equalsStatic(d, c.
|
|
279
|
-
this.cr.value = c.
|
|
280
|
-
this.c8 = c.
|
|
278
|
+
if (!Base.equalsStatic(d, c.value)) {
|
|
279
|
+
this.cr.value = c.value;
|
|
280
|
+
this.c8 = c.value;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
284
|
-
this.cr.value = c.
|
|
285
|
-
this.c8 = c.
|
|
284
|
+
this.cr.value = c.value;
|
|
285
|
+
this.c8 = c.value;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
else if (!(typeCast(ColumnCustomFilterCondition.$, this.ci) !== null)) {
|
package/esm5/lib/GridCellBase.js
CHANGED
|
@@ -382,8 +382,8 @@ var GridCellBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
384
384
|
var b = DeviceUtils.f(12);
|
|
385
|
-
if (a.ag != null && !isNaN_(a.ag.
|
|
386
|
-
b = a.ag.
|
|
385
|
+
if (a.ag != null && !isNaN_(a.ag.e)) {
|
|
386
|
+
b = a.ag.e;
|
|
387
387
|
}
|
|
388
388
|
if (this.y != b) {
|
|
389
389
|
this.y = b;
|
|
@@ -15,8 +15,8 @@ import { StringComparer } from "igniteui-webcomponents-core";
|
|
|
15
15
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
16
16
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
17
17
|
import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterCondition";
|
|
18
|
-
import { ColumnFilterConditionGroup } from "./ColumnFilterConditionGroup";
|
|
19
18
|
import { PrimaryKeyValue } from "./PrimaryKeyValue";
|
|
19
|
+
import { ColumnFilterConditionGroup } from "./ColumnFilterConditionGroup";
|
|
20
20
|
import { SortDescription } from "igniteui-webcomponents-core";
|
|
21
21
|
import { Thickness } from "igniteui-webcomponents-core";
|
|
22
22
|
import { nullableEquals } from "igniteui-webcomponents-core";
|
|
@@ -327,11 +327,11 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
327
327
|
}
|
|
328
328
|
else {
|
|
329
329
|
var i = new ColumnFilterConditionGroup();
|
|
330
|
-
i.
|
|
330
|
+
i.usesOrOperator = b;
|
|
331
331
|
try {
|
|
332
332
|
for (var _b = __values(fromEnum(c)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
333
333
|
var j = _c.value;
|
|
334
|
-
i.
|
|
334
|
+
i.add(j);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
catch (e_1_1) {
|
|
@@ -377,8 +377,8 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
377
377
|
};
|
|
378
378
|
GridColumnFilterOptions.bv = function (a, b) {
|
|
379
379
|
var c = new ColumnComparisonFilterCondition();
|
|
380
|
-
c.
|
|
381
|
-
c.
|
|
380
|
+
c.operator = a;
|
|
381
|
+
c.value = b;
|
|
382
382
|
return c;
|
|
383
383
|
};
|
|
384
384
|
GridColumnFilterOptions.prototype.b3 = function () {
|
|
@@ -458,7 +458,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
458
458
|
var e = this.b4();
|
|
459
459
|
for (var f = e.count - 1; f >= 0; f--) {
|
|
460
460
|
var g = e._inner[f];
|
|
461
|
-
switch (g.
|
|
461
|
+
switch (g.operator) {
|
|
462
462
|
case 0:
|
|
463
463
|
case 1: break;
|
|
464
464
|
default:
|
|
@@ -466,9 +466,9 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
466
466
|
continue;
|
|
467
467
|
}
|
|
468
468
|
if (nullableEquals(d, null)) {
|
|
469
|
-
d = toNullable(ColumnComparisonConditionOperatorType_$type, g.
|
|
469
|
+
d = toNullable(ColumnComparisonConditionOperatorType_$type, g.operator);
|
|
470
470
|
}
|
|
471
|
-
else if (d.value != g.
|
|
471
|
+
else if (d.value != g.operator) {
|
|
472
472
|
c = false;
|
|
473
473
|
break;
|
|
474
474
|
}
|
|
@@ -489,7 +489,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
489
489
|
try {
|
|
490
490
|
for (var _b = __values(fromEnum(e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
491
491
|
var i = _c.value;
|
|
492
|
-
h.add(new PrimaryKeyValue([b], [i.
|
|
492
|
+
h.add(new PrimaryKeyValue([b], [i.value]));
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
catch (e_2_1) {
|
|
@@ -522,7 +522,7 @@ var GridColumnFilterOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
522
522
|
GridColumnFilterOptions.cm = function (a, b) {
|
|
523
523
|
var c = typeCast(ColumnFilterConditionGroup.$, a);
|
|
524
524
|
if (null != c) {
|
|
525
|
-
for (var d = 0; d < c.
|
|
525
|
+
for (var d = 0; d < c.count; d++) {
|
|
526
526
|
var e = c.item(d);
|
|
527
527
|
var f = GridColumnFilterOptions.cm(e, b);
|
|
528
528
|
b = f.p1;
|
|
@@ -384,8 +384,8 @@ var GridColumnOptionsBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
384
384
|
get: function () {
|
|
385
385
|
if (null == this.ac) {
|
|
386
386
|
this.ac = new FontInfo();
|
|
387
|
-
this.ac.
|
|
388
|
-
this.ac.
|
|
387
|
+
this.ac.p = "Verdana";
|
|
388
|
+
this.ac.e = 12;
|
|
389
389
|
}
|
|
390
390
|
return this.ac;
|
|
391
391
|
},
|
|
@@ -396,8 +396,8 @@ var GridColumnOptionsBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
396
396
|
get: function () {
|
|
397
397
|
if (null == this.ae) {
|
|
398
398
|
this.ae = new FontInfo();
|
|
399
|
-
this.ae.
|
|
400
|
-
this.ae.
|
|
399
|
+
this.ae.p = "Verdana";
|
|
400
|
+
this.ae.e = 14;
|
|
401
401
|
}
|
|
402
402
|
return this.ae;
|
|
403
403
|
},
|
|
@@ -314,8 +314,8 @@ var GridColumnOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
314
314
|
get: function () {
|
|
315
315
|
if (null == this.ch) {
|
|
316
316
|
this.ch = new FontInfo();
|
|
317
|
-
this.ch.
|
|
318
|
-
this.ch.
|
|
317
|
+
this.ch.p = "Verdana";
|
|
318
|
+
this.ch.e = 16;
|
|
319
319
|
}
|
|
320
320
|
return this.ch;
|
|
321
321
|
},
|
|
@@ -227,12 +227,12 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
if (this.b0 != null && this.b0.aw) {
|
|
230
|
-
this.b0.
|
|
230
|
+
this.b0.b5();
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
GridColumnSummaryOptions.prototype.bu = function () {
|
|
234
234
|
if (this.b0 != null && this.b0.aw) {
|
|
235
|
-
this.b0.
|
|
235
|
+
this.b0.b5();
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
GridColumnSummaryOptions.prototype.a6 = function () {
|
|
@@ -393,7 +393,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
393
393
|
});
|
|
394
394
|
GridColumnSummaryOptions.prototype.cj = function () {
|
|
395
395
|
if (this.b0 != null && this.b0.aw) {
|
|
396
|
-
this.b0.
|
|
396
|
+
this.b0.b5();
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
GridColumnSummaryOptions.prototype.ck = function (a) {
|
|
@@ -442,7 +442,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
442
442
|
};
|
|
443
443
|
GridColumnSummaryOptions.prototype.cr = function () {
|
|
444
444
|
if (this.b0 != null) {
|
|
445
|
-
this.b0.
|
|
445
|
+
this.b0.cy = this.bo;
|
|
446
446
|
this.b0.al = false;
|
|
447
447
|
}
|
|
448
448
|
};
|
|
@@ -451,7 +451,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
451
451
|
return;
|
|
452
452
|
}
|
|
453
453
|
if (this.b0.aw) {
|
|
454
|
-
this.b0.
|
|
454
|
+
this.b0.b5();
|
|
455
455
|
}
|
|
456
456
|
else {
|
|
457
457
|
var c = this.bv.t();
|
|
@@ -666,14 +666,14 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
666
666
|
};
|
|
667
667
|
GridFilterDialog.prototype.e = function (a) {
|
|
668
668
|
var b = new ColumnFilterConditionGroup();
|
|
669
|
-
b.
|
|
669
|
+
b.usesOrOperator = a.k;
|
|
670
670
|
var c = new Stack$1(ColumnFilterConditionGroup.$);
|
|
671
671
|
var d = 0;
|
|
672
672
|
var e = b;
|
|
673
673
|
for (var f = 0; f < a.f.count; f++) {
|
|
674
674
|
var g = this.h(d, c, a, f);
|
|
675
675
|
while (g != null) {
|
|
676
|
-
e.
|
|
676
|
+
e.add(g);
|
|
677
677
|
e = g;
|
|
678
678
|
d++;
|
|
679
679
|
g = this.h(d, c, a, f);
|
|
@@ -690,9 +690,9 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
690
690
|
if (this.z(a, a.f._inner[f])) {
|
|
691
691
|
continue;
|
|
692
692
|
}
|
|
693
|
-
e.
|
|
693
|
+
e.add(this.d(a.f._inner[f]));
|
|
694
694
|
}
|
|
695
|
-
if (b.
|
|
695
|
+
if (b.count == 0) {
|
|
696
696
|
return null;
|
|
697
697
|
}
|
|
698
698
|
return b;
|
|
@@ -733,7 +733,7 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
733
733
|
if (a < e) {
|
|
734
734
|
var f = c.b(d);
|
|
735
735
|
var g = new ColumnFilterConditionGroup();
|
|
736
|
-
g.
|
|
736
|
+
g.usesOrOperator = f.a;
|
|
737
737
|
b.h(g);
|
|
738
738
|
return g;
|
|
739
739
|
}
|
|
@@ -741,8 +741,8 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
741
741
|
};
|
|
742
742
|
GridFilterDialog.prototype.d = function (a) {
|
|
743
743
|
var b = new ColumnComparisonFilterCondition();
|
|
744
|
-
b.
|
|
745
|
-
b.
|
|
744
|
+
b.operator = this.c(a.l);
|
|
745
|
+
b.value = a.i;
|
|
746
746
|
return b;
|
|
747
747
|
};
|
|
748
748
|
GridFilterDialog.prototype.c = function (a) {
|
|
@@ -767,9 +767,9 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
767
767
|
return c;
|
|
768
768
|
};
|
|
769
769
|
GridFilterDialog.prototype.a1 = function (a, b, c) {
|
|
770
|
-
if (b.
|
|
770
|
+
if (b.isGroup()) {
|
|
771
771
|
var d = b;
|
|
772
|
-
for (var e = 0; e < d.
|
|
772
|
+
for (var e = 0; e < d.count; e++) {
|
|
773
773
|
var f = d.item(e);
|
|
774
774
|
this.a1(a, f, c);
|
|
775
775
|
}
|
|
@@ -780,28 +780,28 @@ var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
780
780
|
};
|
|
781
781
|
GridFilterDialog.prototype.t = function (a, b) {
|
|
782
782
|
var c = new GridFilterDialogViewModelRow();
|
|
783
|
-
c.l = GridFilterDialog.au(a.
|
|
783
|
+
c.l = GridFilterDialog.au(a.operator);
|
|
784
784
|
c.f = b;
|
|
785
785
|
c.e = GridFilterDialog.a(b);
|
|
786
|
-
c.i = GridFilterDialog.ao(GridFilterDialog.ak(a.
|
|
787
|
-
c.j = GridFilterDialog.ap(GridFilterDialog.ak(a.
|
|
786
|
+
c.i = GridFilterDialog.ao(GridFilterDialog.ak(a.operator), a.operator, a);
|
|
787
|
+
c.j = GridFilterDialog.ap(GridFilterDialog.ak(a.operator), a.operator, a);
|
|
788
788
|
c.d = GridFilterDialog.b(b);
|
|
789
789
|
return c;
|
|
790
790
|
};
|
|
791
791
|
GridFilterDialog.ak = function (a) {
|
|
792
|
-
return ColumnComparisonFilterCondition.
|
|
792
|
+
return ColumnComparisonFilterCondition.getOperandNumber(a);
|
|
793
793
|
};
|
|
794
794
|
GridFilterDialog.ao = function (a, b, c) {
|
|
795
795
|
if (a == 0) {
|
|
796
796
|
return "";
|
|
797
797
|
}
|
|
798
|
-
return c.
|
|
798
|
+
return c.value != null ? c.value.toString() : "";
|
|
799
799
|
};
|
|
800
800
|
GridFilterDialog.ap = function (a, b, c) {
|
|
801
801
|
return "";
|
|
802
802
|
};
|
|
803
803
|
GridFilterDialog.b = function (a) {
|
|
804
|
-
return ColumnComparisonFilterCondition.
|
|
804
|
+
return ColumnComparisonFilterCondition.getOperandNumbers(a);
|
|
805
805
|
};
|
|
806
806
|
GridFilterDialog.a = function (a) {
|
|
807
807
|
var b = new Array(a.length);
|
|
@@ -912,7 +912,7 @@ var GridFilterDialogViewModel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
912
912
|
}
|
|
913
913
|
GridFilterDialogViewModel.prototype.n = function () {
|
|
914
914
|
var a = new GridFilterDialogViewModelRow();
|
|
915
|
-
var b = ColumnComparisonFilterCondition.
|
|
915
|
+
var b = ColumnComparisonFilterCondition.getApplicableOperators(this.a);
|
|
916
916
|
a.f = b;
|
|
917
917
|
a.e = GridFilterDialog.a(b);
|
|
918
918
|
a.d = GridFilterDialog.b(b);
|
|
@@ -144,8 +144,8 @@ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
144
144
|
get: function () {
|
|
145
145
|
if (GridStyleRepository.g == null) {
|
|
146
146
|
GridStyleRepository.g = new FontInfo();
|
|
147
|
-
GridStyleRepository.g.
|
|
148
|
-
GridStyleRepository.g.
|
|
147
|
+
GridStyleRepository.g.e = DeviceUtils.f(13);
|
|
148
|
+
GridStyleRepository.g.p = "Verdana";
|
|
149
149
|
}
|
|
150
150
|
return GridStyleRepository.g;
|
|
151
151
|
},
|
|
@@ -156,9 +156,9 @@ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
156
156
|
get: function () {
|
|
157
157
|
if (GridStyleRepository.f == null) {
|
|
158
158
|
GridStyleRepository.f = new FontInfo();
|
|
159
|
-
GridStyleRepository.f.
|
|
160
|
-
GridStyleRepository.f.
|
|
161
|
-
GridStyleRepository.f.
|
|
159
|
+
GridStyleRepository.f.e = DeviceUtils.f(13);
|
|
160
|
+
GridStyleRepository.f.s = "italic";
|
|
161
|
+
GridStyleRepository.f.p = "Verdana";
|
|
162
162
|
}
|
|
163
163
|
return GridStyleRepository.f;
|
|
164
164
|
},
|
|
@@ -169,8 +169,8 @@ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
169
169
|
get: function () {
|
|
170
170
|
if (GridStyleRepository.c == null) {
|
|
171
171
|
GridStyleRepository.c = new FontInfo();
|
|
172
|
-
GridStyleRepository.c.
|
|
173
|
-
GridStyleRepository.c.
|
|
172
|
+
GridStyleRepository.c.e = DeviceUtils.f(14);
|
|
173
|
+
GridStyleRepository.c.p = "Verdana";
|
|
174
174
|
}
|
|
175
175
|
return GridStyleRepository.c;
|
|
176
176
|
},
|
|
@@ -181,9 +181,9 @@ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
181
181
|
get: function () {
|
|
182
182
|
if (GridStyleRepository.d == null) {
|
|
183
183
|
GridStyleRepository.d = new FontInfo();
|
|
184
|
-
GridStyleRepository.d.
|
|
185
|
-
GridStyleRepository.d.
|
|
186
|
-
GridStyleRepository.d.
|
|
184
|
+
GridStyleRepository.d.e = DeviceUtils.f(12);
|
|
185
|
+
GridStyleRepository.d.u = "600";
|
|
186
|
+
GridStyleRepository.d.p = "Verdana";
|
|
187
187
|
}
|
|
188
188
|
return GridStyleRepository.d;
|
|
189
189
|
},
|
|
@@ -194,8 +194,8 @@ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
194
194
|
get: function () {
|
|
195
195
|
if (GridStyleRepository.e == null) {
|
|
196
196
|
GridStyleRepository.e = new FontInfo();
|
|
197
|
-
GridStyleRepository.e.
|
|
198
|
-
GridStyleRepository.e.
|
|
197
|
+
GridStyleRepository.e.e = DeviceUtils.f(12);
|
|
198
|
+
GridStyleRepository.e.p = "Verdana";
|
|
199
199
|
}
|
|
200
200
|
return GridStyleRepository.e;
|
|
201
201
|
},
|