igniteui-webcomponents-grids 4.7.1 → 4.7.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-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 +1 -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-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-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 +1 -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 +1 -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 +1 -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
|
@@ -160,8 +160,8 @@ import { JsonDictionaryArray } from "igniteui-webcomponents-core";
|
|
|
160
160
|
import { SaveLayoutSortInfo } from "./SaveLayoutSortInfo";
|
|
161
161
|
import { SaveLayoutGroupInfo } from "./SaveLayoutGroupInfo";
|
|
162
162
|
import { SaveLayoutFilterInfo } from "./SaveLayoutFilterInfo";
|
|
163
|
-
import { JsonDictionaryValue } from "igniteui-webcomponents-core";
|
|
164
163
|
import { JsonDictionaryItem } from "igniteui-webcomponents-core";
|
|
164
|
+
import { JsonDictionaryValue } from "igniteui-webcomponents-core";
|
|
165
165
|
import { FunctionFilterExpression } from "igniteui-webcomponents-core";
|
|
166
166
|
import { OperationFilterExpression } from "igniteui-webcomponents-core";
|
|
167
167
|
import { LiteralFilterExpression } from "igniteui-webcomponents-core";
|
|
@@ -202,10 +202,10 @@ var ColumnFilterCondition = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
202
202
|
_this.b = null;
|
|
203
203
|
return _this;
|
|
204
204
|
}
|
|
205
|
-
ColumnFilterCondition.prototype.
|
|
205
|
+
ColumnFilterCondition.prototype.isGroup = function () {
|
|
206
206
|
return false;
|
|
207
207
|
};
|
|
208
|
-
ColumnFilterCondition.prototype.
|
|
208
|
+
ColumnFilterCondition.prototype.resolveFilter = function (a, b) {
|
|
209
209
|
return null;
|
|
210
210
|
};
|
|
211
211
|
ColumnFilterCondition.$t = markType(ColumnFilterCondition, 'ColumnFilterCondition');
|
|
@@ -219,13 +219,13 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
219
219
|
__extends(ColumnComparisonFilterCondition, _super);
|
|
220
220
|
function ColumnComparisonFilterCondition() {
|
|
221
221
|
var _this = _super.call(this) || this;
|
|
222
|
-
_this.
|
|
223
|
-
_this.
|
|
224
|
-
_this.
|
|
225
|
-
_this.
|
|
222
|
+
_this._operator = 0;
|
|
223
|
+
_this._value = null;
|
|
224
|
+
_this._isCaseSensitive = false;
|
|
225
|
+
_this.isCaseSensitive = true;
|
|
226
226
|
return _this;
|
|
227
227
|
}
|
|
228
|
-
ColumnComparisonFilterCondition.
|
|
228
|
+
ColumnComparisonFilterCondition.getApplicableOperators = function (a) {
|
|
229
229
|
var b = new List$1(ColumnComparisonConditionOperatorType_$type, 0);
|
|
230
230
|
switch (a) {
|
|
231
231
|
case 11: break;
|
|
@@ -268,34 +268,64 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
268
268
|
return false;
|
|
269
269
|
}
|
|
270
270
|
var b = a;
|
|
271
|
-
if (b.
|
|
271
|
+
if (b.operator != this.operator) {
|
|
272
272
|
return false;
|
|
273
273
|
}
|
|
274
|
-
if (!Base.equalsStatic(b.
|
|
274
|
+
if (!Base.equalsStatic(b.value, this.value)) {
|
|
275
275
|
return false;
|
|
276
276
|
}
|
|
277
|
-
if (!Base.equalsStatic(b.
|
|
277
|
+
if (!Base.equalsStatic(b.isCaseSensitive, this.isCaseSensitive)) {
|
|
278
278
|
return false;
|
|
279
279
|
}
|
|
280
280
|
return true;
|
|
281
281
|
};
|
|
282
|
-
ColumnComparisonFilterCondition.prototype
|
|
283
|
-
|
|
282
|
+
Object.defineProperty(ColumnComparisonFilterCondition.prototype, "operator", {
|
|
283
|
+
get: function () {
|
|
284
|
+
return this._operator;
|
|
285
|
+
},
|
|
286
|
+
set: function (a) {
|
|
287
|
+
this._operator = a;
|
|
288
|
+
},
|
|
289
|
+
enumerable: false,
|
|
290
|
+
configurable: true
|
|
291
|
+
});
|
|
292
|
+
Object.defineProperty(ColumnComparisonFilterCondition.prototype, "value", {
|
|
293
|
+
get: function () {
|
|
294
|
+
return this._value;
|
|
295
|
+
},
|
|
296
|
+
set: function (a) {
|
|
297
|
+
this._value = a;
|
|
298
|
+
},
|
|
299
|
+
enumerable: false,
|
|
300
|
+
configurable: true
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(ColumnComparisonFilterCondition.prototype, "isCaseSensitive", {
|
|
303
|
+
get: function () {
|
|
304
|
+
return this._isCaseSensitive;
|
|
305
|
+
},
|
|
306
|
+
set: function (a) {
|
|
307
|
+
this._isCaseSensitive = a;
|
|
308
|
+
},
|
|
309
|
+
enumerable: false,
|
|
310
|
+
configurable: true
|
|
311
|
+
});
|
|
312
|
+
ColumnComparisonFilterCondition.prototype.resolveFilter = function (a, b) {
|
|
313
|
+
return this.h(a, b, this.operator);
|
|
284
314
|
};
|
|
285
315
|
ColumnComparisonFilterCondition.prototype.h = function (a, b, c) {
|
|
286
316
|
switch (c) {
|
|
287
317
|
case 12:
|
|
288
318
|
{
|
|
289
|
-
if (this.
|
|
319
|
+
if (this.value == null) {
|
|
290
320
|
return null;
|
|
291
321
|
}
|
|
292
322
|
var d = FilterFactory.instance.property(a);
|
|
293
|
-
var e = FilterFactory.instance.literal(this.
|
|
323
|
+
var e = FilterFactory.instance.literal(this.value);
|
|
294
324
|
d = ColumnComparisonFilterCondition.g(b, d);
|
|
295
325
|
if (null == d) {
|
|
296
326
|
return null;
|
|
297
327
|
}
|
|
298
|
-
if (!this.
|
|
328
|
+
if (!this.isCaseSensitive) {
|
|
299
329
|
d = d.toLower();
|
|
300
330
|
e = e.toLower();
|
|
301
331
|
}
|
|
@@ -303,16 +333,16 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
303
333
|
}
|
|
304
334
|
case 13:
|
|
305
335
|
{
|
|
306
|
-
if (this.
|
|
336
|
+
if (this.value == null) {
|
|
307
337
|
return null;
|
|
308
338
|
}
|
|
309
339
|
var f = FilterFactory.instance.property(a);
|
|
310
|
-
var g = FilterFactory.instance.literal(this.
|
|
340
|
+
var g = FilterFactory.instance.literal(this.value);
|
|
311
341
|
f = ColumnComparisonFilterCondition.g(b, f);
|
|
312
342
|
if (null == f) {
|
|
313
343
|
return null;
|
|
314
344
|
}
|
|
315
|
-
if (!this.
|
|
345
|
+
if (!this.isCaseSensitive) {
|
|
316
346
|
f = f.toLower();
|
|
317
347
|
g = g.toLower();
|
|
318
348
|
}
|
|
@@ -320,16 +350,16 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
320
350
|
}
|
|
321
351
|
case 17:
|
|
322
352
|
{
|
|
323
|
-
if (this.
|
|
353
|
+
if (this.value == null) {
|
|
324
354
|
return null;
|
|
325
355
|
}
|
|
326
356
|
var h = FilterFactory.instance.property(a);
|
|
327
|
-
var i = FilterFactory.instance.literal(this.
|
|
357
|
+
var i = FilterFactory.instance.literal(this.value);
|
|
328
358
|
h = ColumnComparisonFilterCondition.g(b, h);
|
|
329
359
|
if (null == h) {
|
|
330
360
|
return null;
|
|
331
361
|
}
|
|
332
|
-
if (!this.
|
|
362
|
+
if (!this.isCaseSensitive) {
|
|
333
363
|
h = h.toLower();
|
|
334
364
|
i = i.toLower();
|
|
335
365
|
}
|
|
@@ -337,16 +367,16 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
337
367
|
}
|
|
338
368
|
case 15:
|
|
339
369
|
{
|
|
340
|
-
if (this.
|
|
370
|
+
if (this.value == null) {
|
|
341
371
|
return null;
|
|
342
372
|
}
|
|
343
373
|
var j = FilterFactory.instance.property(a);
|
|
344
|
-
var k = FilterFactory.instance.literal(this.
|
|
374
|
+
var k = FilterFactory.instance.literal(this.value);
|
|
345
375
|
j = ColumnComparisonFilterCondition.g(b, j);
|
|
346
376
|
if (null == j) {
|
|
347
377
|
return null;
|
|
348
378
|
}
|
|
349
|
-
if (!this.
|
|
379
|
+
if (!this.isCaseSensitive) {
|
|
350
380
|
j = j.toLower();
|
|
351
381
|
k = k.toLower();
|
|
352
382
|
}
|
|
@@ -354,16 +384,16 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
354
384
|
}
|
|
355
385
|
case 16:
|
|
356
386
|
{
|
|
357
|
-
if (this.
|
|
387
|
+
if (this.value == null) {
|
|
358
388
|
return null;
|
|
359
389
|
}
|
|
360
390
|
var l = FilterFactory.instance.property(a);
|
|
361
|
-
var m = FilterFactory.instance.literal(this.
|
|
391
|
+
var m = FilterFactory.instance.literal(this.value);
|
|
362
392
|
l = ColumnComparisonFilterCondition.g(b, l);
|
|
363
393
|
if (null == l) {
|
|
364
394
|
return null;
|
|
365
395
|
}
|
|
366
|
-
if (!this.
|
|
396
|
+
if (!this.isCaseSensitive) {
|
|
367
397
|
l = l.toLower();
|
|
368
398
|
m = m.toLower();
|
|
369
399
|
}
|
|
@@ -372,8 +402,8 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
372
402
|
case 0:
|
|
373
403
|
{
|
|
374
404
|
var n = FilterFactory.instance.property(a);
|
|
375
|
-
var o = FilterFactory.instance.literal(this.k(this.
|
|
376
|
-
if (b == 0 && !this.
|
|
405
|
+
var o = FilterFactory.instance.literal(this.k(this.value, b));
|
|
406
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
377
407
|
n = n.toLower();
|
|
378
408
|
o = o.toLower();
|
|
379
409
|
}
|
|
@@ -381,8 +411,8 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
381
411
|
return n.day().isEqualTo(o.day()).and(n.month().isEqualTo(o.month())).and(n.year().isEqualTo(o.year()));
|
|
382
412
|
}
|
|
383
413
|
else if (b == 2) {
|
|
384
|
-
if (this.
|
|
385
|
-
switch (this.
|
|
414
|
+
if (this.value != null && typeof this.value === 'string') {
|
|
415
|
+
switch (this.value.toString().toLowerCase()) {
|
|
386
416
|
case "true":
|
|
387
417
|
o = FilterFactory.instance.literal(true);
|
|
388
418
|
break;
|
|
@@ -396,10 +426,10 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
396
426
|
}
|
|
397
427
|
case 4:
|
|
398
428
|
{
|
|
399
|
-
var p = this.k(this.
|
|
429
|
+
var p = this.k(this.value, b);
|
|
400
430
|
var q = FilterFactory.instance.property(a);
|
|
401
431
|
var r = FilterFactory.instance.literal(p);
|
|
402
|
-
if (b == 0 && !this.
|
|
432
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
403
433
|
q = q.toLower();
|
|
404
434
|
r = r.toLower();
|
|
405
435
|
}
|
|
@@ -411,10 +441,10 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
411
441
|
}
|
|
412
442
|
case 5:
|
|
413
443
|
{
|
|
414
|
-
var t = this.k(this.
|
|
444
|
+
var t = this.k(this.value, b);
|
|
415
445
|
var u = FilterFactory.instance.property(a);
|
|
416
446
|
var v = FilterFactory.instance.literal(t);
|
|
417
|
-
if (b == 0 && !this.
|
|
447
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
418
448
|
u = u.toLower();
|
|
419
449
|
v = v.toLower();
|
|
420
450
|
}
|
|
@@ -426,10 +456,10 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
426
456
|
}
|
|
427
457
|
case 2:
|
|
428
458
|
{
|
|
429
|
-
var x = this.k(this.
|
|
459
|
+
var x = this.k(this.value, b);
|
|
430
460
|
var y = FilterFactory.instance.property(a);
|
|
431
461
|
var z = FilterFactory.instance.literal(x);
|
|
432
|
-
if (b == 0 && !this.
|
|
462
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
433
463
|
y = y.toLower();
|
|
434
464
|
z = z.toLower();
|
|
435
465
|
}
|
|
@@ -441,10 +471,10 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
441
471
|
}
|
|
442
472
|
case 3:
|
|
443
473
|
{
|
|
444
|
-
var ab = this.k(this.
|
|
474
|
+
var ab = this.k(this.value, b);
|
|
445
475
|
var ac = FilterFactory.instance.property(a);
|
|
446
476
|
var ad = FilterFactory.instance.literal(ab);
|
|
447
|
-
if (b == 0 && !this.
|
|
477
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
448
478
|
ac = ac.toLower();
|
|
449
479
|
ad = ad.toLower();
|
|
450
480
|
}
|
|
@@ -457,8 +487,8 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
457
487
|
case 1:
|
|
458
488
|
{
|
|
459
489
|
var af = FilterFactory.instance.property(a);
|
|
460
|
-
var ag = FilterFactory.instance.literal(this.k(this.
|
|
461
|
-
if (b == 0 && !this.
|
|
490
|
+
var ag = FilterFactory.instance.literal(this.k(this.value, b));
|
|
491
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
462
492
|
af = af.toLower();
|
|
463
493
|
ag = ag.toLower();
|
|
464
494
|
}
|
|
@@ -469,16 +499,16 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
469
499
|
}
|
|
470
500
|
case 14:
|
|
471
501
|
{
|
|
472
|
-
if (this.
|
|
502
|
+
if (this.value == null) {
|
|
473
503
|
return null;
|
|
474
504
|
}
|
|
475
505
|
var ah = FilterFactory.instance.property(a);
|
|
476
|
-
var ai = FilterFactory.instance.literal(this.
|
|
506
|
+
var ai = FilterFactory.instance.literal(this.value);
|
|
477
507
|
ah = ColumnComparisonFilterCondition.g(b, ah);
|
|
478
508
|
if (null == ah) {
|
|
479
509
|
return null;
|
|
480
510
|
}
|
|
481
|
-
if (!this.
|
|
511
|
+
if (!this.isCaseSensitive) {
|
|
482
512
|
ah = ah.toLower();
|
|
483
513
|
ai = ai.toLower();
|
|
484
514
|
}
|
|
@@ -500,8 +530,8 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
500
530
|
{
|
|
501
531
|
var an = FilterFactory.instance.property(a);
|
|
502
532
|
var ao_1 = 0;
|
|
503
|
-
if (typeof this.
|
|
504
|
-
var ap_1 = this.
|
|
533
|
+
if (typeof this.value === 'string') {
|
|
534
|
+
var ap_1 = this.value;
|
|
505
535
|
if (((function () { var aq = tryParseInt32_1(ap_1, ao_1); ao_1 = aq.p1; return aq.ret; })())) {
|
|
506
536
|
var aq = FilterFactory.instance.literal(ao_1);
|
|
507
537
|
return an.month().isEqualTo(aq);
|
|
@@ -524,13 +554,13 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
524
554
|
}
|
|
525
555
|
}
|
|
526
556
|
else {
|
|
527
|
-
var av = FilterFactory.instance.literal(this.
|
|
557
|
+
var av = FilterFactory.instance.literal(this.value);
|
|
528
558
|
return an.month().isEqualTo(av);
|
|
529
559
|
}
|
|
530
560
|
}
|
|
531
561
|
case 39:
|
|
532
562
|
{
|
|
533
|
-
var aw_1 = this.
|
|
563
|
+
var aw_1 = this.value;
|
|
534
564
|
if (typeof aw_1 === 'string') {
|
|
535
565
|
var ax_1 = -1;
|
|
536
566
|
if (((function () { var ay = tryParseInt32_1(aw_1, ax_1); ax_1 = ay.p1; return ay.ret; })())) {
|
|
@@ -689,7 +719,7 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
689
719
|
}
|
|
690
720
|
return b;
|
|
691
721
|
};
|
|
692
|
-
ColumnComparisonFilterCondition.
|
|
722
|
+
ColumnComparisonFilterCondition.getOperandNumber = function (a) {
|
|
693
723
|
if (a == 43 || a == 42) {
|
|
694
724
|
return 0;
|
|
695
725
|
}
|
|
@@ -697,10 +727,10 @@ var ColumnComparisonFilterCondition = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
697
727
|
return 1;
|
|
698
728
|
}
|
|
699
729
|
};
|
|
700
|
-
ColumnComparisonFilterCondition.
|
|
730
|
+
ColumnComparisonFilterCondition.getOperandNumbers = function (a) {
|
|
701
731
|
var b = new Array(a.length);
|
|
702
732
|
for (var c = 0; c < a.length; c++) {
|
|
703
|
-
b[c] = ColumnComparisonFilterCondition.
|
|
733
|
+
b[c] = ColumnComparisonFilterCondition.getOperandNumber(a[c]);
|
|
704
734
|
}
|
|
705
735
|
return b;
|
|
706
736
|
};
|
|
@@ -747,11 +777,21 @@ var ColumnCustomFilterCondition = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
747
777
|
__extends(ColumnCustomFilterCondition, _super);
|
|
748
778
|
function ColumnCustomFilterCondition() {
|
|
749
779
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
750
|
-
_this.
|
|
780
|
+
_this._value = null;
|
|
751
781
|
_this._id = null;
|
|
752
|
-
_this.
|
|
782
|
+
_this._index = 0;
|
|
753
783
|
return _this;
|
|
754
784
|
}
|
|
785
|
+
Object.defineProperty(ColumnCustomFilterCondition.prototype, "value", {
|
|
786
|
+
get: function () {
|
|
787
|
+
return this._value;
|
|
788
|
+
},
|
|
789
|
+
set: function (a) {
|
|
790
|
+
this._value = a;
|
|
791
|
+
},
|
|
792
|
+
enumerable: false,
|
|
793
|
+
configurable: true
|
|
794
|
+
});
|
|
755
795
|
Object.defineProperty(ColumnCustomFilterCondition.prototype, "id", {
|
|
756
796
|
get: function () {
|
|
757
797
|
return this._id;
|
|
@@ -762,9 +802,19 @@ var ColumnCustomFilterCondition = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
762
802
|
enumerable: false,
|
|
763
803
|
configurable: true
|
|
764
804
|
});
|
|
765
|
-
ColumnCustomFilterCondition.prototype
|
|
766
|
-
|
|
767
|
-
|
|
805
|
+
Object.defineProperty(ColumnCustomFilterCondition.prototype, "index", {
|
|
806
|
+
get: function () {
|
|
807
|
+
return this._index;
|
|
808
|
+
},
|
|
809
|
+
set: function (a) {
|
|
810
|
+
this._index = a;
|
|
811
|
+
},
|
|
812
|
+
enumerable: false,
|
|
813
|
+
configurable: true
|
|
814
|
+
});
|
|
815
|
+
ColumnCustomFilterCondition.prototype.resolveFilter = function (a, b) {
|
|
816
|
+
var c = this.b.fq(this.id, this.index);
|
|
817
|
+
return this.b.es(c, this.value);
|
|
768
818
|
};
|
|
769
819
|
ColumnCustomFilterCondition.$t = markType(ColumnCustomFilterCondition, 'ColumnCustomFilterCondition', ColumnFilterCondition.$);
|
|
770
820
|
return ColumnCustomFilterCondition;
|
|
@@ -789,13 +839,13 @@ var ColumnFilterConditionGroup = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
789
839
|
__extends(ColumnFilterConditionGroup, _super);
|
|
790
840
|
function ColumnFilterConditionGroup() {
|
|
791
841
|
var _this = _super.call(this) || this;
|
|
792
|
-
_this.
|
|
842
|
+
_this._usesOrOperator = false;
|
|
793
843
|
_this.f = null;
|
|
794
844
|
_this.f = new ColumnFilterConditionCollection();
|
|
795
|
-
_this.
|
|
845
|
+
_this.usesOrOperator = false;
|
|
796
846
|
return _this;
|
|
797
847
|
}
|
|
798
|
-
ColumnFilterConditionGroup.prototype.
|
|
848
|
+
ColumnFilterConditionGroup.prototype.isGroup = function () {
|
|
799
849
|
return true;
|
|
800
850
|
};
|
|
801
851
|
ColumnFilterConditionGroup.prototype.equals = function (a) {
|
|
@@ -806,30 +856,40 @@ var ColumnFilterConditionGroup = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
806
856
|
return false;
|
|
807
857
|
}
|
|
808
858
|
var b = a;
|
|
809
|
-
if (b.
|
|
859
|
+
if (b.count != this.count) {
|
|
810
860
|
return false;
|
|
811
861
|
}
|
|
812
|
-
for (var c = 0; c < this.
|
|
862
|
+
for (var c = 0; c < this.count; c++) {
|
|
813
863
|
if (!Base.equalsStatic(this.item(c), b.item(c))) {
|
|
814
864
|
return false;
|
|
815
865
|
}
|
|
816
866
|
}
|
|
817
867
|
return true;
|
|
818
868
|
};
|
|
819
|
-
Object.defineProperty(ColumnFilterConditionGroup.prototype, "
|
|
869
|
+
Object.defineProperty(ColumnFilterConditionGroup.prototype, "count", {
|
|
820
870
|
get: function () {
|
|
821
871
|
return this.f.count;
|
|
822
872
|
},
|
|
823
873
|
enumerable: false,
|
|
824
874
|
configurable: true
|
|
825
875
|
});
|
|
826
|
-
ColumnFilterConditionGroup.prototype
|
|
876
|
+
Object.defineProperty(ColumnFilterConditionGroup.prototype, "usesOrOperator", {
|
|
877
|
+
get: function () {
|
|
878
|
+
return this._usesOrOperator;
|
|
879
|
+
},
|
|
880
|
+
set: function (a) {
|
|
881
|
+
this._usesOrOperator = a;
|
|
882
|
+
},
|
|
883
|
+
enumerable: false,
|
|
884
|
+
configurable: true
|
|
885
|
+
});
|
|
886
|
+
ColumnFilterConditionGroup.prototype.add = function (a) {
|
|
827
887
|
this.f.add(a);
|
|
828
888
|
};
|
|
829
|
-
ColumnFilterConditionGroup.prototype.
|
|
889
|
+
ColumnFilterConditionGroup.prototype.remove = function (a) {
|
|
830
890
|
this.f.remove(a);
|
|
831
891
|
};
|
|
832
|
-
ColumnFilterConditionGroup.prototype.
|
|
892
|
+
ColumnFilterConditionGroup.prototype.removeAt = function (a) {
|
|
833
893
|
this.f.removeAt(a);
|
|
834
894
|
};
|
|
835
895
|
ColumnFilterConditionGroup.prototype.item = function (a, b) {
|
|
@@ -841,27 +901,27 @@ var ColumnFilterConditionGroup = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
841
901
|
return this.f._inner[a];
|
|
842
902
|
}
|
|
843
903
|
};
|
|
844
|
-
ColumnFilterConditionGroup.prototype.
|
|
904
|
+
ColumnFilterConditionGroup.prototype.clear = function () {
|
|
845
905
|
this.f.clear();
|
|
846
906
|
};
|
|
847
|
-
ColumnFilterConditionGroup.prototype.
|
|
907
|
+
ColumnFilterConditionGroup.prototype.toArray = function () {
|
|
848
908
|
var a = new Array(this.f.count);
|
|
849
909
|
for (var b = 0; b < this.f.count; b++) {
|
|
850
910
|
a[b] = this.f._inner[b];
|
|
851
911
|
}
|
|
852
912
|
return a;
|
|
853
913
|
};
|
|
854
|
-
ColumnFilterConditionGroup.prototype.
|
|
914
|
+
ColumnFilterConditionGroup.prototype.resolveFilter = function (a, b) {
|
|
855
915
|
if (this.f.count == 0) {
|
|
856
916
|
return null;
|
|
857
917
|
}
|
|
858
|
-
var c = this.f._inner[this.f.count - 1].
|
|
918
|
+
var c = this.f._inner[this.f.count - 1].resolveFilter(a, b);
|
|
859
919
|
for (var d = this.f.count - 2; d >= 0; d--) {
|
|
860
|
-
if (this.
|
|
861
|
-
c = FilterFactory.instance.or(this.f._inner[d].
|
|
920
|
+
if (this.usesOrOperator) {
|
|
921
|
+
c = FilterFactory.instance.or(this.f._inner[d].resolveFilter(a, b), c);
|
|
862
922
|
}
|
|
863
923
|
else {
|
|
864
|
-
c = FilterFactory.instance.and(this.f._inner[d].
|
|
924
|
+
c = FilterFactory.instance.and(this.f._inner[d].resolveFilter(a, b), c);
|
|
865
925
|
}
|
|
866
926
|
}
|
|
867
927
|
return c;
|
|
@@ -3233,30 +3293,30 @@ var CellModel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3233
3293
|
a.c = AppearanceHelper.a(this.k2);
|
|
3234
3294
|
if (this.ae != null) {
|
|
3235
3295
|
var b = this.ae;
|
|
3236
|
-
if (this.p != null && b.
|
|
3296
|
+
if (this.p != null && b.p == null) {
|
|
3237
3297
|
var c = this.p.externalGrid.renderer;
|
|
3238
3298
|
var d = FontUtil.getFontInfoFromString(c, b.fontString);
|
|
3239
|
-
b.
|
|
3240
|
-
b.
|
|
3241
|
-
b.o = d.o;
|
|
3299
|
+
b.p = d.p;
|
|
3300
|
+
b.e = d.e;
|
|
3242
3301
|
b.q = d.q;
|
|
3243
|
-
b.r = d.r;
|
|
3244
3302
|
b.s = d.s;
|
|
3303
|
+
b.t = d.t;
|
|
3304
|
+
b.u = d.u;
|
|
3305
|
+
}
|
|
3306
|
+
if (b.p != null) {
|
|
3307
|
+
a.u = b.p;
|
|
3245
3308
|
}
|
|
3246
|
-
if (b.
|
|
3247
|
-
a.
|
|
3309
|
+
if (!isNaN_(b.e)) {
|
|
3310
|
+
a.j = b.e;
|
|
3248
3311
|
}
|
|
3249
|
-
if (
|
|
3250
|
-
a.
|
|
3312
|
+
if (b.u != null) {
|
|
3313
|
+
a.y = b.u;
|
|
3251
3314
|
}
|
|
3252
3315
|
if (b.s != null) {
|
|
3253
|
-
a.
|
|
3316
|
+
a.w = b.s;
|
|
3254
3317
|
}
|
|
3255
3318
|
if (b.q != null) {
|
|
3256
|
-
a.
|
|
3257
|
-
}
|
|
3258
|
-
if (b.o != null) {
|
|
3259
|
-
a.v = b.q;
|
|
3319
|
+
a.v = b.s;
|
|
3260
3320
|
}
|
|
3261
3321
|
}
|
|
3262
3322
|
return a;
|
|
@@ -4297,58 +4357,58 @@ var SummaryCellModel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4297
4357
|
b.af = AppearanceHelper.a(this.lg);
|
|
4298
4358
|
if (this.lk != null) {
|
|
4299
4359
|
var c = this.lk;
|
|
4300
|
-
if (this.p != null && c.
|
|
4360
|
+
if (this.p != null && c.p == null) {
|
|
4301
4361
|
var d = this.p.externalGrid.renderer;
|
|
4302
4362
|
var e = FontUtil.getFontInfoFromString(d, c.fontString);
|
|
4303
|
-
c.
|
|
4304
|
-
c.
|
|
4305
|
-
c.o = e.o;
|
|
4363
|
+
c.p = e.p;
|
|
4364
|
+
c.e = e.e;
|
|
4306
4365
|
c.q = e.q;
|
|
4307
|
-
c.r = e.r;
|
|
4308
4366
|
c.s = e.s;
|
|
4367
|
+
c.t = e.t;
|
|
4368
|
+
c.u = e.u;
|
|
4369
|
+
}
|
|
4370
|
+
if (c.p != null) {
|
|
4371
|
+
b.aj = c.p;
|
|
4309
4372
|
}
|
|
4310
|
-
if (c.
|
|
4311
|
-
b.
|
|
4373
|
+
if (!isNaN_(c.e)) {
|
|
4374
|
+
b.ag = c.e;
|
|
4312
4375
|
}
|
|
4313
|
-
if (
|
|
4314
|
-
b.
|
|
4376
|
+
if (c.u != null) {
|
|
4377
|
+
b.an = c.u;
|
|
4315
4378
|
}
|
|
4316
4379
|
if (c.s != null) {
|
|
4317
|
-
b.
|
|
4380
|
+
b.al = c.s;
|
|
4318
4381
|
}
|
|
4319
4382
|
if (c.q != null) {
|
|
4320
|
-
b.
|
|
4321
|
-
}
|
|
4322
|
-
if (c.o != null) {
|
|
4323
|
-
b.ak = c.q;
|
|
4383
|
+
b.ak = c.s;
|
|
4324
4384
|
}
|
|
4325
4385
|
}
|
|
4326
4386
|
if (this.ag != null) {
|
|
4327
4387
|
var f = this.ag;
|
|
4328
|
-
if (this.p != null && f.
|
|
4388
|
+
if (this.p != null && f.p == null) {
|
|
4329
4389
|
var g = this.p.externalGrid.renderer;
|
|
4330
4390
|
var h = FontUtil.getFontInfoFromString(g, f.fontString);
|
|
4331
|
-
f.
|
|
4332
|
-
f.
|
|
4333
|
-
f.o = h.o;
|
|
4391
|
+
f.p = h.p;
|
|
4392
|
+
f.e = h.e;
|
|
4334
4393
|
f.q = h.q;
|
|
4335
|
-
f.r = h.r;
|
|
4336
4394
|
f.s = h.s;
|
|
4395
|
+
f.t = h.t;
|
|
4396
|
+
f.u = h.u;
|
|
4397
|
+
}
|
|
4398
|
+
if (f.p != null) {
|
|
4399
|
+
b.ap = f.p;
|
|
4337
4400
|
}
|
|
4338
|
-
if (f.
|
|
4339
|
-
b.
|
|
4401
|
+
if (!isNaN_(f.e)) {
|
|
4402
|
+
b.ah = f.e;
|
|
4340
4403
|
}
|
|
4341
|
-
if (
|
|
4342
|
-
b.
|
|
4404
|
+
if (f.u != null) {
|
|
4405
|
+
b.at = f.u;
|
|
4343
4406
|
}
|
|
4344
4407
|
if (f.s != null) {
|
|
4345
|
-
b.
|
|
4408
|
+
b.ar = f.s;
|
|
4346
4409
|
}
|
|
4347
4410
|
if (f.q != null) {
|
|
4348
|
-
b.
|
|
4349
|
-
}
|
|
4350
|
-
if (f.o != null) {
|
|
4351
|
-
b.aq = f.q;
|
|
4411
|
+
b.aq = f.s;
|
|
4352
4412
|
}
|
|
4353
4413
|
}
|
|
4354
4414
|
return b;
|
|
@@ -5962,30 +6022,30 @@ var Pager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
5962
6022
|
a.d = this.n.j().b();
|
|
5963
6023
|
if (this.s != null) {
|
|
5964
6024
|
var b = this.s;
|
|
5965
|
-
if (this.n != null && b.
|
|
6025
|
+
if (this.n != null && b.p == null) {
|
|
5966
6026
|
var c = this.n.m;
|
|
5967
6027
|
var d = FontUtil.getFontInfoFromString(c, b.fontString);
|
|
5968
|
-
b.
|
|
5969
|
-
b.
|
|
5970
|
-
b.o = d.o;
|
|
6028
|
+
b.p = d.p;
|
|
6029
|
+
b.e = d.e;
|
|
5971
6030
|
b.q = d.q;
|
|
5972
|
-
b.r = d.r;
|
|
5973
6031
|
b.s = d.s;
|
|
6032
|
+
b.t = d.t;
|
|
6033
|
+
b.u = d.u;
|
|
6034
|
+
}
|
|
6035
|
+
if (b.p != null) {
|
|
6036
|
+
a.l = b.p;
|
|
5974
6037
|
}
|
|
5975
|
-
if (b.
|
|
5976
|
-
a.
|
|
6038
|
+
if (!isNaN_(b.e)) {
|
|
6039
|
+
a.g = b.e;
|
|
5977
6040
|
}
|
|
5978
|
-
if (
|
|
5979
|
-
a.
|
|
6041
|
+
if (b.u != null) {
|
|
6042
|
+
a.p = b.u;
|
|
5980
6043
|
}
|
|
5981
6044
|
if (b.s != null) {
|
|
5982
|
-
a.
|
|
6045
|
+
a.n = b.s;
|
|
5983
6046
|
}
|
|
5984
6047
|
if (b.q != null) {
|
|
5985
|
-
a.
|
|
5986
|
-
}
|
|
5987
|
-
if (b.o != null) {
|
|
5988
|
-
a.m = b.q;
|
|
6048
|
+
a.m = b.s;
|
|
5989
6049
|
}
|
|
5990
6050
|
}
|
|
5991
6051
|
return a;
|
|
@@ -14206,7 +14266,7 @@ var DataGrid = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14206
14266
|
var d = this.a5.j._inner[c];
|
|
14207
14267
|
if (d != a && (d.ep != null || d.er != null)) {
|
|
14208
14268
|
var e = this.actualDataSource.resolveSchemaPropertyType(d.i8);
|
|
14209
|
-
var f = d.er != null ? d.er : d.ep.
|
|
14269
|
+
var f = d.er != null ? d.er : d.ep.resolveFilter(d.i8, e);
|
|
14210
14270
|
if (b != null) {
|
|
14211
14271
|
switch (this.filterLogicalOperator) {
|
|
14212
14272
|
case 1:
|
|
@@ -14777,10 +14837,10 @@ var DataGrid = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14777
14837
|
if (i.f == null) {
|
|
14778
14838
|
i.f = new List$1(ColumnFilterCondition.$, 0);
|
|
14779
14839
|
}
|
|
14780
|
-
if (h.ep.
|
|
14840
|
+
if (h.ep.isGroup()) {
|
|
14781
14841
|
var n = h.ep;
|
|
14782
|
-
i.l = toNullable(Boolean_$type, n.
|
|
14783
|
-
var o = n.
|
|
14842
|
+
i.l = toNullable(Boolean_$type, n.usesOrOperator);
|
|
14843
|
+
var o = n.count;
|
|
14784
14844
|
for (var p = 0; p < o; p++) {
|
|
14785
14845
|
i.f.add(n.item(p));
|
|
14786
14846
|
}
|
|
@@ -15010,9 +15070,9 @@ var DataGrid = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15010
15070
|
else if (u > 1) {
|
|
15011
15071
|
var w = new ColumnFilterConditionGroup();
|
|
15012
15072
|
for (var x = 0; x < u; x++) {
|
|
15013
|
-
w.
|
|
15073
|
+
w.add(i.f._inner[x]);
|
|
15014
15074
|
}
|
|
15015
|
-
w.
|
|
15075
|
+
w.usesOrOperator = i.l.value;
|
|
15016
15076
|
j.ep = w;
|
|
15017
15077
|
}
|
|
15018
15078
|
}
|
|
@@ -17178,10 +17238,10 @@ var GridAnimationManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
17178
17238
|
var r = m;
|
|
17179
17239
|
var s = n;
|
|
17180
17240
|
if (r != null) {
|
|
17181
|
-
r.
|
|
17241
|
+
r.v(a.externalGrid.renderer);
|
|
17182
17242
|
}
|
|
17183
17243
|
if (s != null) {
|
|
17184
|
-
s.
|
|
17244
|
+
s.v(a.externalGrid.renderer);
|
|
17185
17245
|
}
|
|
17186
17246
|
var t = new FontInfo();
|
|
17187
17247
|
FontUtil.interpolateFont(t, l, r, s);
|
|
@@ -17365,10 +17425,10 @@ var GridAnimationManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
17365
17425
|
var u = p;
|
|
17366
17426
|
var v = q;
|
|
17367
17427
|
if (u != null) {
|
|
17368
|
-
u.
|
|
17428
|
+
u.v(a.externalGrid.renderer);
|
|
17369
17429
|
}
|
|
17370
17430
|
if (v != null) {
|
|
17371
|
-
v.
|
|
17431
|
+
v.v(a.externalGrid.renderer);
|
|
17372
17432
|
}
|
|
17373
17433
|
var w = new FontInfo();
|
|
17374
17434
|
FontUtil.interpolateFont(w, o, u, v);
|
|
@@ -19029,7 +19089,7 @@ var DefinitionBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
19029
19089
|
}
|
|
19030
19090
|
if (this.grid != null) {
|
|
19031
19091
|
if (this.ad != null) {
|
|
19032
|
-
this.ad.
|
|
19092
|
+
this.ad.v(this.grid.externalGrid.renderer);
|
|
19033
19093
|
}
|
|
19034
19094
|
}
|
|
19035
19095
|
a.ag = this.ad;
|
|
@@ -20794,7 +20854,7 @@ var DataGridColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
20794
20854
|
a.f1 = this.h1;
|
|
20795
20855
|
if (this.grid != null) {
|
|
20796
20856
|
if (this.gb != null) {
|
|
20797
|
-
this.gb.
|
|
20857
|
+
this.gb.v(this.grid.externalGrid.renderer);
|
|
20798
20858
|
}
|
|
20799
20859
|
}
|
|
20800
20860
|
a.af = this.gb;
|
|
@@ -21365,9 +21425,9 @@ var DataGridColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
21365
21425
|
};
|
|
21366
21426
|
DataGridColumn.prototype.kf = function (a, b) {
|
|
21367
21427
|
var c = new ColumnComparisonFilterCondition();
|
|
21368
|
-
c.
|
|
21369
|
-
c.
|
|
21370
|
-
c.
|
|
21428
|
+
c.operator = a;
|
|
21429
|
+
c.value = b;
|
|
21430
|
+
c.isCaseSensitive = this.fo() == 2;
|
|
21371
21431
|
this.ep = c;
|
|
21372
21432
|
this.er = null;
|
|
21373
21433
|
};
|
|
@@ -21381,9 +21441,9 @@ var DataGridColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
21381
21441
|
this.er = e;
|
|
21382
21442
|
this.ep = ((function () {
|
|
21383
21443
|
var $ret = new ColumnCustomFilterCondition();
|
|
21384
|
-
$ret.
|
|
21444
|
+
$ret.value = c;
|
|
21385
21445
|
$ret.id = a;
|
|
21386
|
-
$ret.
|
|
21446
|
+
$ret.index = b;
|
|
21387
21447
|
return $ret;
|
|
21388
21448
|
})());
|
|
21389
21449
|
}
|
|
@@ -25623,22 +25683,22 @@ var SaveLayoutColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25623
25683
|
var x = t.item("Value");
|
|
25624
25684
|
var y = new ColumnCustomFilterCondition();
|
|
25625
25685
|
y.id = u.value.toString();
|
|
25626
|
-
y.
|
|
25686
|
+
y.index = parseInt(v.value.toString());
|
|
25627
25687
|
if (w != null) {
|
|
25628
25688
|
switch (w.value.toString()) {
|
|
25629
25689
|
case "String":
|
|
25630
|
-
y.
|
|
25690
|
+
y.value = x.value.toString();
|
|
25631
25691
|
break;
|
|
25632
25692
|
case "Number":
|
|
25633
|
-
y.
|
|
25693
|
+
y.value = parseFloat(x.value.toString());
|
|
25634
25694
|
break;
|
|
25635
25695
|
case "Date":
|
|
25636
|
-
y.
|
|
25696
|
+
y.value = dateParse(x.value.toString());
|
|
25637
25697
|
break;
|
|
25638
25698
|
}
|
|
25639
25699
|
}
|
|
25640
25700
|
else {
|
|
25641
|
-
y.
|
|
25701
|
+
y.value = null;
|
|
25642
25702
|
}
|
|
25643
25703
|
this.f.add(y);
|
|
25644
25704
|
}
|
|
@@ -25648,159 +25708,159 @@ var SaveLayoutColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25648
25708
|
var ab = t.item("ValueType");
|
|
25649
25709
|
var ac = t.item("Value");
|
|
25650
25710
|
var ad = new ColumnComparisonFilterCondition();
|
|
25651
|
-
ad.
|
|
25711
|
+
ad.isCaseSensitive = z.value;
|
|
25652
25712
|
switch (aa.value.toString()) {
|
|
25653
25713
|
case "Equals":
|
|
25654
|
-
ad.
|
|
25714
|
+
ad.operator = 0;
|
|
25655
25715
|
break;
|
|
25656
25716
|
case "NotEquals":
|
|
25657
|
-
ad.
|
|
25717
|
+
ad.operator = 1;
|
|
25658
25718
|
break;
|
|
25659
25719
|
case "LessThan":
|
|
25660
|
-
ad.
|
|
25720
|
+
ad.operator = 2;
|
|
25661
25721
|
break;
|
|
25662
25722
|
case "LessThanOrEqualTo":
|
|
25663
|
-
ad.
|
|
25723
|
+
ad.operator = 3;
|
|
25664
25724
|
break;
|
|
25665
25725
|
case "GreaterThan":
|
|
25666
|
-
ad.
|
|
25726
|
+
ad.operator = 4;
|
|
25667
25727
|
break;
|
|
25668
25728
|
case "GreaterThanOrEqualTo":
|
|
25669
|
-
ad.
|
|
25729
|
+
ad.operator = 5;
|
|
25670
25730
|
break;
|
|
25671
25731
|
case "Top":
|
|
25672
|
-
ad.
|
|
25732
|
+
ad.operator = 6;
|
|
25673
25733
|
break;
|
|
25674
25734
|
case "Bottom":
|
|
25675
|
-
ad.
|
|
25735
|
+
ad.operator = 7;
|
|
25676
25736
|
break;
|
|
25677
25737
|
case "TopPercentile":
|
|
25678
|
-
ad.
|
|
25738
|
+
ad.operator = 8;
|
|
25679
25739
|
break;
|
|
25680
25740
|
case "BottomPercentile":
|
|
25681
|
-
ad.
|
|
25741
|
+
ad.operator = 9;
|
|
25682
25742
|
break;
|
|
25683
25743
|
case "True":
|
|
25684
|
-
ad.
|
|
25744
|
+
ad.operator = 10;
|
|
25685
25745
|
break;
|
|
25686
25746
|
case "False":
|
|
25687
|
-
ad.
|
|
25747
|
+
ad.operator = 11;
|
|
25688
25748
|
break;
|
|
25689
25749
|
case "Contains":
|
|
25690
|
-
ad.
|
|
25750
|
+
ad.operator = 12;
|
|
25691
25751
|
break;
|
|
25692
25752
|
case "DoesNotContain":
|
|
25693
|
-
ad.
|
|
25753
|
+
ad.operator = 13;
|
|
25694
25754
|
break;
|
|
25695
25755
|
case "StartsWith":
|
|
25696
|
-
ad.
|
|
25756
|
+
ad.operator = 14;
|
|
25697
25757
|
break;
|
|
25698
25758
|
case "DoesNotStartWith":
|
|
25699
|
-
ad.
|
|
25759
|
+
ad.operator = 15;
|
|
25700
25760
|
break;
|
|
25701
25761
|
case "EndsWith":
|
|
25702
|
-
ad.
|
|
25762
|
+
ad.operator = 16;
|
|
25703
25763
|
break;
|
|
25704
25764
|
case "DoesNotEndWith":
|
|
25705
|
-
ad.
|
|
25765
|
+
ad.operator = 17;
|
|
25706
25766
|
break;
|
|
25707
25767
|
case "Today":
|
|
25708
|
-
ad.
|
|
25768
|
+
ad.operator = 18;
|
|
25709
25769
|
break;
|
|
25710
25770
|
case "Tomorrow":
|
|
25711
|
-
ad.
|
|
25771
|
+
ad.operator = 19;
|
|
25712
25772
|
break;
|
|
25713
25773
|
case "Yesterday":
|
|
25714
|
-
ad.
|
|
25774
|
+
ad.operator = 20;
|
|
25715
25775
|
break;
|
|
25716
25776
|
case "NextWeek":
|
|
25717
|
-
ad.
|
|
25777
|
+
ad.operator = 21;
|
|
25718
25778
|
break;
|
|
25719
25779
|
case "ThisWeek":
|
|
25720
|
-
ad.
|
|
25780
|
+
ad.operator = 22;
|
|
25721
25781
|
break;
|
|
25722
25782
|
case "LastWeek":
|
|
25723
|
-
ad.
|
|
25783
|
+
ad.operator = 23;
|
|
25724
25784
|
break;
|
|
25725
25785
|
case "NextMonth":
|
|
25726
|
-
ad.
|
|
25786
|
+
ad.operator = 24;
|
|
25727
25787
|
break;
|
|
25728
25788
|
case "ThisMonth":
|
|
25729
|
-
ad.
|
|
25789
|
+
ad.operator = 25;
|
|
25730
25790
|
break;
|
|
25731
25791
|
case "LastMonth":
|
|
25732
|
-
ad.
|
|
25792
|
+
ad.operator = 26;
|
|
25733
25793
|
break;
|
|
25734
25794
|
case "NextQuater":
|
|
25735
|
-
ad.
|
|
25795
|
+
ad.operator = 27;
|
|
25736
25796
|
break;
|
|
25737
25797
|
case "ThisQuater":
|
|
25738
|
-
ad.
|
|
25798
|
+
ad.operator = 28;
|
|
25739
25799
|
break;
|
|
25740
25800
|
case "LastQuater":
|
|
25741
|
-
ad.
|
|
25801
|
+
ad.operator = 29;
|
|
25742
25802
|
break;
|
|
25743
25803
|
case "NextYear":
|
|
25744
|
-
ad.
|
|
25804
|
+
ad.operator = 30;
|
|
25745
25805
|
break;
|
|
25746
25806
|
case "ThisYear":
|
|
25747
|
-
ad.
|
|
25807
|
+
ad.operator = 31;
|
|
25748
25808
|
break;
|
|
25749
25809
|
case "LastYear":
|
|
25750
|
-
ad.
|
|
25810
|
+
ad.operator = 32;
|
|
25751
25811
|
break;
|
|
25752
25812
|
case "YearToDate":
|
|
25753
|
-
ad.
|
|
25813
|
+
ad.operator = 33;
|
|
25754
25814
|
break;
|
|
25755
25815
|
case "Q1":
|
|
25756
|
-
ad.
|
|
25816
|
+
ad.operator = 34;
|
|
25757
25817
|
break;
|
|
25758
25818
|
case "Q2":
|
|
25759
|
-
ad.
|
|
25819
|
+
ad.operator = 35;
|
|
25760
25820
|
break;
|
|
25761
25821
|
case "Q3":
|
|
25762
|
-
ad.
|
|
25822
|
+
ad.operator = 36;
|
|
25763
25823
|
break;
|
|
25764
25824
|
case "Q4":
|
|
25765
|
-
ad.
|
|
25825
|
+
ad.operator = 37;
|
|
25766
25826
|
break;
|
|
25767
25827
|
case "Month":
|
|
25768
|
-
ad.
|
|
25828
|
+
ad.operator = 38;
|
|
25769
25829
|
break;
|
|
25770
25830
|
case "Year":
|
|
25771
|
-
ad.
|
|
25831
|
+
ad.operator = 39;
|
|
25772
25832
|
break;
|
|
25773
25833
|
case "Empty":
|
|
25774
|
-
ad.
|
|
25834
|
+
ad.operator = 40;
|
|
25775
25835
|
break;
|
|
25776
25836
|
case "NotEmpty":
|
|
25777
|
-
ad.
|
|
25837
|
+
ad.operator = 41;
|
|
25778
25838
|
break;
|
|
25779
25839
|
case "IsNull":
|
|
25780
|
-
ad.
|
|
25840
|
+
ad.operator = 42;
|
|
25781
25841
|
break;
|
|
25782
25842
|
case "IsNotNull":
|
|
25783
|
-
ad.
|
|
25843
|
+
ad.operator = 43;
|
|
25784
25844
|
break;
|
|
25785
25845
|
case "Custom":
|
|
25786
|
-
ad.
|
|
25846
|
+
ad.operator = 44;
|
|
25787
25847
|
break;
|
|
25788
25848
|
}
|
|
25789
25849
|
if (ab != null) {
|
|
25790
25850
|
switch (ab.value.toString()) {
|
|
25791
25851
|
case "String":
|
|
25792
|
-
ad.
|
|
25852
|
+
ad.value = ac.value.toString();
|
|
25793
25853
|
break;
|
|
25794
25854
|
case "Number":
|
|
25795
|
-
ad.
|
|
25855
|
+
ad.value = parseFloat(ac.value.toString());
|
|
25796
25856
|
break;
|
|
25797
25857
|
case "Date":
|
|
25798
|
-
ad.
|
|
25858
|
+
ad.value = dateParse(ac.value.toString());
|
|
25799
25859
|
break;
|
|
25800
25860
|
}
|
|
25801
25861
|
}
|
|
25802
25862
|
else {
|
|
25803
|
-
ad.
|
|
25863
|
+
ad.value = null;
|
|
25804
25864
|
}
|
|
25805
25865
|
this.f.add(ad);
|
|
25806
25866
|
}
|
|
@@ -25890,20 +25950,20 @@ var SaveLayoutColumn = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
25890
25950
|
if (typeCast(ColumnCustomFilterCondition.$, this.f._inner[e]) !== null) {
|
|
25891
25951
|
var f = this.f._inner[e];
|
|
25892
25952
|
a.i("\"ID\": " + "\"" + f.id + "\", ");
|
|
25893
|
-
a.i("\"Index\": " + f.
|
|
25894
|
-
if (f.
|
|
25895
|
-
a.i("\"ValueType\": " + "\"" + getInstanceType(f.
|
|
25953
|
+
a.i("\"Index\": " + f.index + ", ");
|
|
25954
|
+
if (f.value != null) {
|
|
25955
|
+
a.i("\"ValueType\": " + "\"" + getInstanceType(f.value).typeName + "\", ");
|
|
25896
25956
|
}
|
|
25897
|
-
a.i("\"Value\": " + "\"" + f.
|
|
25957
|
+
a.i("\"Value\": " + "\"" + f.value + "\"");
|
|
25898
25958
|
}
|
|
25899
25959
|
else {
|
|
25900
25960
|
var g = this.f._inner[e];
|
|
25901
|
-
a.i("\"IsCaseSensitive\": " + g.
|
|
25902
|
-
a.i("\"Operator\": " + "\"" + enumGetBox(ColumnComparisonConditionOperatorType_$type, g.
|
|
25903
|
-
if (g.
|
|
25904
|
-
a.i("\"ValueType\": " + "\"" + getInstanceType(g.
|
|
25961
|
+
a.i("\"IsCaseSensitive\": " + g.isCaseSensitive + ", ");
|
|
25962
|
+
a.i("\"Operator\": " + "\"" + enumGetBox(ColumnComparisonConditionOperatorType_$type, g.operator) + "\", ");
|
|
25963
|
+
if (g.value != null) {
|
|
25964
|
+
a.i("\"ValueType\": " + "\"" + getInstanceType(g.value).typeName + "\", ");
|
|
25905
25965
|
}
|
|
25906
|
-
a.i("\"Value\": " + "\"" + g.
|
|
25966
|
+
a.i("\"Value\": " + "\"" + g.value + "\"");
|
|
25907
25967
|
}
|
|
25908
25968
|
a.i("}");
|
|
25909
25969
|
}
|