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
|
@@ -159,8 +159,8 @@ import { JsonDictionaryArray } from "igniteui-webcomponents-core";
|
|
|
159
159
|
import { SaveLayoutSortInfo } from "./SaveLayoutSortInfo";
|
|
160
160
|
import { SaveLayoutGroupInfo } from "./SaveLayoutGroupInfo";
|
|
161
161
|
import { SaveLayoutFilterInfo } from "./SaveLayoutFilterInfo";
|
|
162
|
-
import { JsonDictionaryValue } from "igniteui-webcomponents-core";
|
|
163
162
|
import { JsonDictionaryItem } from "igniteui-webcomponents-core";
|
|
163
|
+
import { JsonDictionaryValue } from "igniteui-webcomponents-core";
|
|
164
164
|
import { FunctionFilterExpression } from "igniteui-webcomponents-core";
|
|
165
165
|
import { OperationFilterExpression } from "igniteui-webcomponents-core";
|
|
166
166
|
import { LiteralFilterExpression } from "igniteui-webcomponents-core";
|
|
@@ -200,10 +200,10 @@ export let ColumnFilterCondition = /*@__PURE__*/ (() => {
|
|
|
200
200
|
super(...arguments);
|
|
201
201
|
this.b = null;
|
|
202
202
|
}
|
|
203
|
-
|
|
203
|
+
isGroup() {
|
|
204
204
|
return false;
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
resolveFilter(a, b) {
|
|
207
207
|
return null;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -217,12 +217,12 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
217
217
|
class ColumnComparisonFilterCondition extends ColumnFilterCondition {
|
|
218
218
|
constructor() {
|
|
219
219
|
super();
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
220
|
+
this._operator = 0;
|
|
221
|
+
this._value = null;
|
|
222
|
+
this._isCaseSensitive = false;
|
|
223
|
+
this.isCaseSensitive = true;
|
|
224
224
|
}
|
|
225
|
-
static
|
|
225
|
+
static getApplicableOperators(a) {
|
|
226
226
|
let b = new List$1(ColumnComparisonConditionOperatorType_$type, 0);
|
|
227
227
|
switch (a) {
|
|
228
228
|
case 11: break;
|
|
@@ -265,34 +265,52 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
265
265
|
return false;
|
|
266
266
|
}
|
|
267
267
|
let b = a;
|
|
268
|
-
if (b.
|
|
268
|
+
if (b.operator != this.operator) {
|
|
269
269
|
return false;
|
|
270
270
|
}
|
|
271
|
-
if (!Base.equalsStatic(b.
|
|
271
|
+
if (!Base.equalsStatic(b.value, this.value)) {
|
|
272
272
|
return false;
|
|
273
273
|
}
|
|
274
|
-
if (!Base.equalsStatic(b.
|
|
274
|
+
if (!Base.equalsStatic(b.isCaseSensitive, this.isCaseSensitive)) {
|
|
275
275
|
return false;
|
|
276
276
|
}
|
|
277
277
|
return true;
|
|
278
278
|
}
|
|
279
|
-
|
|
280
|
-
return this.
|
|
279
|
+
get operator() {
|
|
280
|
+
return this._operator;
|
|
281
|
+
}
|
|
282
|
+
set operator(a) {
|
|
283
|
+
this._operator = a;
|
|
284
|
+
}
|
|
285
|
+
get value() {
|
|
286
|
+
return this._value;
|
|
287
|
+
}
|
|
288
|
+
set value(a) {
|
|
289
|
+
this._value = a;
|
|
290
|
+
}
|
|
291
|
+
get isCaseSensitive() {
|
|
292
|
+
return this._isCaseSensitive;
|
|
293
|
+
}
|
|
294
|
+
set isCaseSensitive(a) {
|
|
295
|
+
this._isCaseSensitive = a;
|
|
296
|
+
}
|
|
297
|
+
resolveFilter(a, b) {
|
|
298
|
+
return this.h(a, b, this.operator);
|
|
281
299
|
}
|
|
282
300
|
h(a, b, c) {
|
|
283
301
|
switch (c) {
|
|
284
302
|
case 12:
|
|
285
303
|
{
|
|
286
|
-
if (this.
|
|
304
|
+
if (this.value == null) {
|
|
287
305
|
return null;
|
|
288
306
|
}
|
|
289
307
|
let d = FilterFactory.instance.property(a);
|
|
290
|
-
let e = FilterFactory.instance.literal(this.
|
|
308
|
+
let e = FilterFactory.instance.literal(this.value);
|
|
291
309
|
d = ColumnComparisonFilterCondition.g(b, d);
|
|
292
310
|
if (null == d) {
|
|
293
311
|
return null;
|
|
294
312
|
}
|
|
295
|
-
if (!this.
|
|
313
|
+
if (!this.isCaseSensitive) {
|
|
296
314
|
d = d.toLower();
|
|
297
315
|
e = e.toLower();
|
|
298
316
|
}
|
|
@@ -300,16 +318,16 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
300
318
|
}
|
|
301
319
|
case 13:
|
|
302
320
|
{
|
|
303
|
-
if (this.
|
|
321
|
+
if (this.value == null) {
|
|
304
322
|
return null;
|
|
305
323
|
}
|
|
306
324
|
let f = FilterFactory.instance.property(a);
|
|
307
|
-
let g = FilterFactory.instance.literal(this.
|
|
325
|
+
let g = FilterFactory.instance.literal(this.value);
|
|
308
326
|
f = ColumnComparisonFilterCondition.g(b, f);
|
|
309
327
|
if (null == f) {
|
|
310
328
|
return null;
|
|
311
329
|
}
|
|
312
|
-
if (!this.
|
|
330
|
+
if (!this.isCaseSensitive) {
|
|
313
331
|
f = f.toLower();
|
|
314
332
|
g = g.toLower();
|
|
315
333
|
}
|
|
@@ -317,16 +335,16 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
317
335
|
}
|
|
318
336
|
case 17:
|
|
319
337
|
{
|
|
320
|
-
if (this.
|
|
338
|
+
if (this.value == null) {
|
|
321
339
|
return null;
|
|
322
340
|
}
|
|
323
341
|
let h = FilterFactory.instance.property(a);
|
|
324
|
-
let i = FilterFactory.instance.literal(this.
|
|
342
|
+
let i = FilterFactory.instance.literal(this.value);
|
|
325
343
|
h = ColumnComparisonFilterCondition.g(b, h);
|
|
326
344
|
if (null == h) {
|
|
327
345
|
return null;
|
|
328
346
|
}
|
|
329
|
-
if (!this.
|
|
347
|
+
if (!this.isCaseSensitive) {
|
|
330
348
|
h = h.toLower();
|
|
331
349
|
i = i.toLower();
|
|
332
350
|
}
|
|
@@ -334,16 +352,16 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
334
352
|
}
|
|
335
353
|
case 15:
|
|
336
354
|
{
|
|
337
|
-
if (this.
|
|
355
|
+
if (this.value == null) {
|
|
338
356
|
return null;
|
|
339
357
|
}
|
|
340
358
|
let j = FilterFactory.instance.property(a);
|
|
341
|
-
let k = FilterFactory.instance.literal(this.
|
|
359
|
+
let k = FilterFactory.instance.literal(this.value);
|
|
342
360
|
j = ColumnComparisonFilterCondition.g(b, j);
|
|
343
361
|
if (null == j) {
|
|
344
362
|
return null;
|
|
345
363
|
}
|
|
346
|
-
if (!this.
|
|
364
|
+
if (!this.isCaseSensitive) {
|
|
347
365
|
j = j.toLower();
|
|
348
366
|
k = k.toLower();
|
|
349
367
|
}
|
|
@@ -351,16 +369,16 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
351
369
|
}
|
|
352
370
|
case 16:
|
|
353
371
|
{
|
|
354
|
-
if (this.
|
|
372
|
+
if (this.value == null) {
|
|
355
373
|
return null;
|
|
356
374
|
}
|
|
357
375
|
let l = FilterFactory.instance.property(a);
|
|
358
|
-
let m = FilterFactory.instance.literal(this.
|
|
376
|
+
let m = FilterFactory.instance.literal(this.value);
|
|
359
377
|
l = ColumnComparisonFilterCondition.g(b, l);
|
|
360
378
|
if (null == l) {
|
|
361
379
|
return null;
|
|
362
380
|
}
|
|
363
|
-
if (!this.
|
|
381
|
+
if (!this.isCaseSensitive) {
|
|
364
382
|
l = l.toLower();
|
|
365
383
|
m = m.toLower();
|
|
366
384
|
}
|
|
@@ -369,8 +387,8 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
369
387
|
case 0:
|
|
370
388
|
{
|
|
371
389
|
let n = FilterFactory.instance.property(a);
|
|
372
|
-
let o = FilterFactory.instance.literal(this.k(this.
|
|
373
|
-
if (b == 0 && !this.
|
|
390
|
+
let o = FilterFactory.instance.literal(this.k(this.value, b));
|
|
391
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
374
392
|
n = n.toLower();
|
|
375
393
|
o = o.toLower();
|
|
376
394
|
}
|
|
@@ -378,8 +396,8 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
378
396
|
return n.day().isEqualTo(o.day()).and(n.month().isEqualTo(o.month())).and(n.year().isEqualTo(o.year()));
|
|
379
397
|
}
|
|
380
398
|
else if (b == 2) {
|
|
381
|
-
if (this.
|
|
382
|
-
switch (this.
|
|
399
|
+
if (this.value != null && typeof this.value === 'string') {
|
|
400
|
+
switch (this.value.toString().toLowerCase()) {
|
|
383
401
|
case "true":
|
|
384
402
|
o = FilterFactory.instance.literal(true);
|
|
385
403
|
break;
|
|
@@ -393,10 +411,10 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
393
411
|
}
|
|
394
412
|
case 4:
|
|
395
413
|
{
|
|
396
|
-
let p = this.k(this.
|
|
414
|
+
let p = this.k(this.value, b);
|
|
397
415
|
let q = FilterFactory.instance.property(a);
|
|
398
416
|
let r = FilterFactory.instance.literal(p);
|
|
399
|
-
if (b == 0 && !this.
|
|
417
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
400
418
|
q = q.toLower();
|
|
401
419
|
r = r.toLower();
|
|
402
420
|
}
|
|
@@ -408,10 +426,10 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
408
426
|
}
|
|
409
427
|
case 5:
|
|
410
428
|
{
|
|
411
|
-
let t = this.k(this.
|
|
429
|
+
let t = this.k(this.value, b);
|
|
412
430
|
let u = FilterFactory.instance.property(a);
|
|
413
431
|
let v = FilterFactory.instance.literal(t);
|
|
414
|
-
if (b == 0 && !this.
|
|
432
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
415
433
|
u = u.toLower();
|
|
416
434
|
v = v.toLower();
|
|
417
435
|
}
|
|
@@ -423,10 +441,10 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
423
441
|
}
|
|
424
442
|
case 2:
|
|
425
443
|
{
|
|
426
|
-
let x = this.k(this.
|
|
444
|
+
let x = this.k(this.value, b);
|
|
427
445
|
let y = FilterFactory.instance.property(a);
|
|
428
446
|
let z = FilterFactory.instance.literal(x);
|
|
429
|
-
if (b == 0 && !this.
|
|
447
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
430
448
|
y = y.toLower();
|
|
431
449
|
z = z.toLower();
|
|
432
450
|
}
|
|
@@ -438,10 +456,10 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
438
456
|
}
|
|
439
457
|
case 3:
|
|
440
458
|
{
|
|
441
|
-
let ab = this.k(this.
|
|
459
|
+
let ab = this.k(this.value, b);
|
|
442
460
|
let ac = FilterFactory.instance.property(a);
|
|
443
461
|
let ad = FilterFactory.instance.literal(ab);
|
|
444
|
-
if (b == 0 && !this.
|
|
462
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
445
463
|
ac = ac.toLower();
|
|
446
464
|
ad = ad.toLower();
|
|
447
465
|
}
|
|
@@ -454,8 +472,8 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
454
472
|
case 1:
|
|
455
473
|
{
|
|
456
474
|
let af = FilterFactory.instance.property(a);
|
|
457
|
-
let ag = FilterFactory.instance.literal(this.k(this.
|
|
458
|
-
if (b == 0 && !this.
|
|
475
|
+
let ag = FilterFactory.instance.literal(this.k(this.value, b));
|
|
476
|
+
if (b == 0 && !this.isCaseSensitive) {
|
|
459
477
|
af = af.toLower();
|
|
460
478
|
ag = ag.toLower();
|
|
461
479
|
}
|
|
@@ -466,16 +484,16 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
466
484
|
}
|
|
467
485
|
case 14:
|
|
468
486
|
{
|
|
469
|
-
if (this.
|
|
487
|
+
if (this.value == null) {
|
|
470
488
|
return null;
|
|
471
489
|
}
|
|
472
490
|
let ah = FilterFactory.instance.property(a);
|
|
473
|
-
let ai = FilterFactory.instance.literal(this.
|
|
491
|
+
let ai = FilterFactory.instance.literal(this.value);
|
|
474
492
|
ah = ColumnComparisonFilterCondition.g(b, ah);
|
|
475
493
|
if (null == ah) {
|
|
476
494
|
return null;
|
|
477
495
|
}
|
|
478
|
-
if (!this.
|
|
496
|
+
if (!this.isCaseSensitive) {
|
|
479
497
|
ah = ah.toLower();
|
|
480
498
|
ai = ai.toLower();
|
|
481
499
|
}
|
|
@@ -497,8 +515,8 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
497
515
|
{
|
|
498
516
|
let an = FilterFactory.instance.property(a);
|
|
499
517
|
let ao = 0;
|
|
500
|
-
if (typeof this.
|
|
501
|
-
let ap = this.
|
|
518
|
+
if (typeof this.value === 'string') {
|
|
519
|
+
let ap = this.value;
|
|
502
520
|
if (((() => { let aq = tryParseInt32_1(ap, ao); ao = aq.p1; return aq.ret; })())) {
|
|
503
521
|
let aq = FilterFactory.instance.literal(ao);
|
|
504
522
|
return an.month().isEqualTo(aq);
|
|
@@ -521,13 +539,13 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
521
539
|
}
|
|
522
540
|
}
|
|
523
541
|
else {
|
|
524
|
-
let av = FilterFactory.instance.literal(this.
|
|
542
|
+
let av = FilterFactory.instance.literal(this.value);
|
|
525
543
|
return an.month().isEqualTo(av);
|
|
526
544
|
}
|
|
527
545
|
}
|
|
528
546
|
case 39:
|
|
529
547
|
{
|
|
530
|
-
let aw = this.
|
|
548
|
+
let aw = this.value;
|
|
531
549
|
if (typeof aw === 'string') {
|
|
532
550
|
let ax = -1;
|
|
533
551
|
if (((() => { let ay = tryParseInt32_1(aw, ax); ax = ay.p1; return ay.ret; })())) {
|
|
@@ -686,7 +704,7 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
686
704
|
}
|
|
687
705
|
return b;
|
|
688
706
|
}
|
|
689
|
-
static
|
|
707
|
+
static getOperandNumber(a) {
|
|
690
708
|
if (a == 43 || a == 42) {
|
|
691
709
|
return 0;
|
|
692
710
|
}
|
|
@@ -694,10 +712,10 @@ export let ColumnComparisonFilterCondition = /*@__PURE__*/ (() => {
|
|
|
694
712
|
return 1;
|
|
695
713
|
}
|
|
696
714
|
}
|
|
697
|
-
static
|
|
715
|
+
static getOperandNumbers(a) {
|
|
698
716
|
let b = new Array(a.length);
|
|
699
717
|
for (let c = 0; c < a.length; c++) {
|
|
700
|
-
b[c] = ColumnComparisonFilterCondition.
|
|
718
|
+
b[c] = ColumnComparisonFilterCondition.getOperandNumber(a[c]);
|
|
701
719
|
}
|
|
702
720
|
return b;
|
|
703
721
|
}
|
|
@@ -744,9 +762,15 @@ export let ColumnCustomFilterCondition = /*@__PURE__*/ (() => {
|
|
|
744
762
|
class ColumnCustomFilterCondition extends ColumnFilterCondition {
|
|
745
763
|
constructor() {
|
|
746
764
|
super(...arguments);
|
|
747
|
-
this.
|
|
765
|
+
this._value = null;
|
|
748
766
|
this._id = null;
|
|
749
|
-
this.
|
|
767
|
+
this._index = 0;
|
|
768
|
+
}
|
|
769
|
+
get value() {
|
|
770
|
+
return this._value;
|
|
771
|
+
}
|
|
772
|
+
set value(a) {
|
|
773
|
+
this._value = a;
|
|
750
774
|
}
|
|
751
775
|
get id() {
|
|
752
776
|
return this._id;
|
|
@@ -754,9 +778,15 @@ export let ColumnCustomFilterCondition = /*@__PURE__*/ (() => {
|
|
|
754
778
|
set id(a) {
|
|
755
779
|
this._id = a;
|
|
756
780
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
781
|
+
get index() {
|
|
782
|
+
return this._index;
|
|
783
|
+
}
|
|
784
|
+
set index(a) {
|
|
785
|
+
this._index = a;
|
|
786
|
+
}
|
|
787
|
+
resolveFilter(a, b) {
|
|
788
|
+
let c = this.b.fq(this.id, this.index);
|
|
789
|
+
return this.b.es(c, this.value);
|
|
760
790
|
}
|
|
761
791
|
}
|
|
762
792
|
ColumnCustomFilterCondition.$t = /*@__PURE__*/ markType(ColumnCustomFilterCondition, 'ColumnCustomFilterCondition', ColumnFilterCondition.$);
|
|
@@ -779,15 +809,15 @@ export let ColumnFilterConditionCollection = /*@__PURE__*/ (() => {
|
|
|
779
809
|
*/
|
|
780
810
|
export let ColumnFilterConditionGroup = /*@__PURE__*/ (() => {
|
|
781
811
|
class ColumnFilterConditionGroup extends ColumnFilterCondition {
|
|
782
|
-
|
|
812
|
+
isGroup() {
|
|
783
813
|
return true;
|
|
784
814
|
}
|
|
785
815
|
constructor() {
|
|
786
816
|
super();
|
|
787
|
-
this.
|
|
817
|
+
this._usesOrOperator = false;
|
|
788
818
|
this.f = null;
|
|
789
819
|
this.f = new ColumnFilterConditionCollection();
|
|
790
|
-
this.
|
|
820
|
+
this.usesOrOperator = false;
|
|
791
821
|
}
|
|
792
822
|
equals(a) {
|
|
793
823
|
if (a == null) {
|
|
@@ -797,26 +827,32 @@ export let ColumnFilterConditionGroup = /*@__PURE__*/ (() => {
|
|
|
797
827
|
return false;
|
|
798
828
|
}
|
|
799
829
|
let b = a;
|
|
800
|
-
if (b.
|
|
830
|
+
if (b.count != this.count) {
|
|
801
831
|
return false;
|
|
802
832
|
}
|
|
803
|
-
for (let c = 0; c < this.
|
|
833
|
+
for (let c = 0; c < this.count; c++) {
|
|
804
834
|
if (!Base.equalsStatic(this.item(c), b.item(c))) {
|
|
805
835
|
return false;
|
|
806
836
|
}
|
|
807
837
|
}
|
|
808
838
|
return true;
|
|
809
839
|
}
|
|
810
|
-
get
|
|
840
|
+
get count() {
|
|
811
841
|
return this.f.count;
|
|
812
842
|
}
|
|
813
|
-
|
|
843
|
+
get usesOrOperator() {
|
|
844
|
+
return this._usesOrOperator;
|
|
845
|
+
}
|
|
846
|
+
set usesOrOperator(a) {
|
|
847
|
+
this._usesOrOperator = a;
|
|
848
|
+
}
|
|
849
|
+
add(a) {
|
|
814
850
|
this.f.add(a);
|
|
815
851
|
}
|
|
816
|
-
|
|
852
|
+
remove(a) {
|
|
817
853
|
this.f.remove(a);
|
|
818
854
|
}
|
|
819
|
-
|
|
855
|
+
removeAt(a) {
|
|
820
856
|
this.f.removeAt(a);
|
|
821
857
|
}
|
|
822
858
|
item(a, b) {
|
|
@@ -828,27 +864,27 @@ export let ColumnFilterConditionGroup = /*@__PURE__*/ (() => {
|
|
|
828
864
|
return this.f._inner[a];
|
|
829
865
|
}
|
|
830
866
|
}
|
|
831
|
-
|
|
867
|
+
clear() {
|
|
832
868
|
this.f.clear();
|
|
833
869
|
}
|
|
834
|
-
|
|
870
|
+
toArray() {
|
|
835
871
|
let a = new Array(this.f.count);
|
|
836
872
|
for (let b = 0; b < this.f.count; b++) {
|
|
837
873
|
a[b] = this.f._inner[b];
|
|
838
874
|
}
|
|
839
875
|
return a;
|
|
840
876
|
}
|
|
841
|
-
|
|
877
|
+
resolveFilter(a, b) {
|
|
842
878
|
if (this.f.count == 0) {
|
|
843
879
|
return null;
|
|
844
880
|
}
|
|
845
|
-
let c = this.f._inner[this.f.count - 1].
|
|
881
|
+
let c = this.f._inner[this.f.count - 1].resolveFilter(a, b);
|
|
846
882
|
for (let d = this.f.count - 2; d >= 0; d--) {
|
|
847
|
-
if (this.
|
|
848
|
-
c = FilterFactory.instance.or(this.f._inner[d].
|
|
883
|
+
if (this.usesOrOperator) {
|
|
884
|
+
c = FilterFactory.instance.or(this.f._inner[d].resolveFilter(a, b), c);
|
|
849
885
|
}
|
|
850
886
|
else {
|
|
851
|
-
c = FilterFactory.instance.and(this.f._inner[d].
|
|
887
|
+
c = FilterFactory.instance.and(this.f._inner[d].resolveFilter(a, b), c);
|
|
852
888
|
}
|
|
853
889
|
}
|
|
854
890
|
return c;
|
|
@@ -2779,30 +2815,30 @@ export let CellModel = /*@__PURE__*/ (() => {
|
|
|
2779
2815
|
a.c = AppearanceHelper.a(this.k2);
|
|
2780
2816
|
if (this.ae != null) {
|
|
2781
2817
|
let b = this.ae;
|
|
2782
|
-
if (this.p != null && b.
|
|
2818
|
+
if (this.p != null && b.p == null) {
|
|
2783
2819
|
let c = this.p.externalGrid.renderer;
|
|
2784
2820
|
let d = FontUtil.getFontInfoFromString(c, b.fontString);
|
|
2785
|
-
b.
|
|
2786
|
-
b.
|
|
2787
|
-
b.o = d.o;
|
|
2821
|
+
b.p = d.p;
|
|
2822
|
+
b.e = d.e;
|
|
2788
2823
|
b.q = d.q;
|
|
2789
|
-
b.r = d.r;
|
|
2790
2824
|
b.s = d.s;
|
|
2825
|
+
b.t = d.t;
|
|
2826
|
+
b.u = d.u;
|
|
2827
|
+
}
|
|
2828
|
+
if (b.p != null) {
|
|
2829
|
+
a.u = b.p;
|
|
2791
2830
|
}
|
|
2792
|
-
if (b.
|
|
2793
|
-
a.
|
|
2831
|
+
if (!isNaN_(b.e)) {
|
|
2832
|
+
a.j = b.e;
|
|
2794
2833
|
}
|
|
2795
|
-
if (
|
|
2796
|
-
a.
|
|
2834
|
+
if (b.u != null) {
|
|
2835
|
+
a.y = b.u;
|
|
2797
2836
|
}
|
|
2798
2837
|
if (b.s != null) {
|
|
2799
|
-
a.
|
|
2838
|
+
a.w = b.s;
|
|
2800
2839
|
}
|
|
2801
2840
|
if (b.q != null) {
|
|
2802
|
-
a.
|
|
2803
|
-
}
|
|
2804
|
-
if (b.o != null) {
|
|
2805
|
-
a.v = b.q;
|
|
2841
|
+
a.v = b.s;
|
|
2806
2842
|
}
|
|
2807
2843
|
}
|
|
2808
2844
|
return a;
|
|
@@ -3718,58 +3754,58 @@ export let SummaryCellModel = /*@__PURE__*/ (() => {
|
|
|
3718
3754
|
b.af = AppearanceHelper.a(this.lg);
|
|
3719
3755
|
if (this.lk != null) {
|
|
3720
3756
|
let c = this.lk;
|
|
3721
|
-
if (this.p != null && c.
|
|
3757
|
+
if (this.p != null && c.p == null) {
|
|
3722
3758
|
let d = this.p.externalGrid.renderer;
|
|
3723
3759
|
let e = FontUtil.getFontInfoFromString(d, c.fontString);
|
|
3724
|
-
c.
|
|
3725
|
-
c.
|
|
3726
|
-
c.o = e.o;
|
|
3760
|
+
c.p = e.p;
|
|
3761
|
+
c.e = e.e;
|
|
3727
3762
|
c.q = e.q;
|
|
3728
|
-
c.r = e.r;
|
|
3729
3763
|
c.s = e.s;
|
|
3764
|
+
c.t = e.t;
|
|
3765
|
+
c.u = e.u;
|
|
3766
|
+
}
|
|
3767
|
+
if (c.p != null) {
|
|
3768
|
+
b.aj = c.p;
|
|
3730
3769
|
}
|
|
3731
|
-
if (c.
|
|
3732
|
-
b.
|
|
3770
|
+
if (!isNaN_(c.e)) {
|
|
3771
|
+
b.ag = c.e;
|
|
3733
3772
|
}
|
|
3734
|
-
if (
|
|
3735
|
-
b.
|
|
3773
|
+
if (c.u != null) {
|
|
3774
|
+
b.an = c.u;
|
|
3736
3775
|
}
|
|
3737
3776
|
if (c.s != null) {
|
|
3738
|
-
b.
|
|
3777
|
+
b.al = c.s;
|
|
3739
3778
|
}
|
|
3740
3779
|
if (c.q != null) {
|
|
3741
|
-
b.
|
|
3742
|
-
}
|
|
3743
|
-
if (c.o != null) {
|
|
3744
|
-
b.ak = c.q;
|
|
3780
|
+
b.ak = c.s;
|
|
3745
3781
|
}
|
|
3746
3782
|
}
|
|
3747
3783
|
if (this.ag != null) {
|
|
3748
3784
|
let f = this.ag;
|
|
3749
|
-
if (this.p != null && f.
|
|
3785
|
+
if (this.p != null && f.p == null) {
|
|
3750
3786
|
let g = this.p.externalGrid.renderer;
|
|
3751
3787
|
let h = FontUtil.getFontInfoFromString(g, f.fontString);
|
|
3752
|
-
f.
|
|
3753
|
-
f.
|
|
3754
|
-
f.o = h.o;
|
|
3788
|
+
f.p = h.p;
|
|
3789
|
+
f.e = h.e;
|
|
3755
3790
|
f.q = h.q;
|
|
3756
|
-
f.r = h.r;
|
|
3757
3791
|
f.s = h.s;
|
|
3792
|
+
f.t = h.t;
|
|
3793
|
+
f.u = h.u;
|
|
3794
|
+
}
|
|
3795
|
+
if (f.p != null) {
|
|
3796
|
+
b.ap = f.p;
|
|
3758
3797
|
}
|
|
3759
|
-
if (f.
|
|
3760
|
-
b.
|
|
3798
|
+
if (!isNaN_(f.e)) {
|
|
3799
|
+
b.ah = f.e;
|
|
3761
3800
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
b.
|
|
3801
|
+
if (f.u != null) {
|
|
3802
|
+
b.at = f.u;
|
|
3764
3803
|
}
|
|
3765
3804
|
if (f.s != null) {
|
|
3766
|
-
b.
|
|
3805
|
+
b.ar = f.s;
|
|
3767
3806
|
}
|
|
3768
3807
|
if (f.q != null) {
|
|
3769
|
-
b.
|
|
3770
|
-
}
|
|
3771
|
-
if (f.o != null) {
|
|
3772
|
-
b.aq = f.q;
|
|
3808
|
+
b.aq = f.s;
|
|
3773
3809
|
}
|
|
3774
3810
|
}
|
|
3775
3811
|
return b;
|
|
@@ -5187,30 +5223,30 @@ export let Pager = /*@__PURE__*/ (() => {
|
|
|
5187
5223
|
a.d = this.n.j().b();
|
|
5188
5224
|
if (this.s != null) {
|
|
5189
5225
|
let b = this.s;
|
|
5190
|
-
if (this.n != null && b.
|
|
5226
|
+
if (this.n != null && b.p == null) {
|
|
5191
5227
|
let c = this.n.m;
|
|
5192
5228
|
let d = FontUtil.getFontInfoFromString(c, b.fontString);
|
|
5193
|
-
b.
|
|
5194
|
-
b.
|
|
5195
|
-
b.o = d.o;
|
|
5229
|
+
b.p = d.p;
|
|
5230
|
+
b.e = d.e;
|
|
5196
5231
|
b.q = d.q;
|
|
5197
|
-
b.r = d.r;
|
|
5198
5232
|
b.s = d.s;
|
|
5233
|
+
b.t = d.t;
|
|
5234
|
+
b.u = d.u;
|
|
5199
5235
|
}
|
|
5200
|
-
if (b.
|
|
5201
|
-
a.l = b.
|
|
5236
|
+
if (b.p != null) {
|
|
5237
|
+
a.l = b.p;
|
|
5202
5238
|
}
|
|
5203
|
-
if (!isNaN_(b.
|
|
5204
|
-
a.g = b.
|
|
5239
|
+
if (!isNaN_(b.e)) {
|
|
5240
|
+
a.g = b.e;
|
|
5241
|
+
}
|
|
5242
|
+
if (b.u != null) {
|
|
5243
|
+
a.p = b.u;
|
|
5205
5244
|
}
|
|
5206
5245
|
if (b.s != null) {
|
|
5207
|
-
a.
|
|
5246
|
+
a.n = b.s;
|
|
5208
5247
|
}
|
|
5209
5248
|
if (b.q != null) {
|
|
5210
|
-
a.
|
|
5211
|
-
}
|
|
5212
|
-
if (b.o != null) {
|
|
5213
|
-
a.m = b.q;
|
|
5249
|
+
a.m = b.s;
|
|
5214
5250
|
}
|
|
5215
5251
|
}
|
|
5216
5252
|
return a;
|
|
@@ -12284,7 +12320,7 @@ export let DataGrid = /*@__PURE__*/ (() => {
|
|
|
12284
12320
|
let d = this.a5.j._inner[c];
|
|
12285
12321
|
if (d != a && (d.ep != null || d.er != null)) {
|
|
12286
12322
|
let e = this.actualDataSource.resolveSchemaPropertyType(d.i8);
|
|
12287
|
-
let f = d.er != null ? d.er : d.ep.
|
|
12323
|
+
let f = d.er != null ? d.er : d.ep.resolveFilter(d.i8, e);
|
|
12288
12324
|
if (b != null) {
|
|
12289
12325
|
switch (this.filterLogicalOperator) {
|
|
12290
12326
|
case 1:
|
|
@@ -12811,10 +12847,10 @@ export let DataGrid = /*@__PURE__*/ (() => {
|
|
|
12811
12847
|
if (i.f == null) {
|
|
12812
12848
|
i.f = new List$1(ColumnFilterCondition.$, 0);
|
|
12813
12849
|
}
|
|
12814
|
-
if (h.ep.
|
|
12850
|
+
if (h.ep.isGroup()) {
|
|
12815
12851
|
let n = h.ep;
|
|
12816
|
-
i.l = toNullable(Boolean_$type, n.
|
|
12817
|
-
let o = n.
|
|
12852
|
+
i.l = toNullable(Boolean_$type, n.usesOrOperator);
|
|
12853
|
+
let o = n.count;
|
|
12818
12854
|
for (let p = 0; p < o; p++) {
|
|
12819
12855
|
i.f.add(n.item(p));
|
|
12820
12856
|
}
|
|
@@ -13044,9 +13080,9 @@ export let DataGrid = /*@__PURE__*/ (() => {
|
|
|
13044
13080
|
else if (u > 1) {
|
|
13045
13081
|
let w = new ColumnFilterConditionGroup();
|
|
13046
13082
|
for (let x = 0; x < u; x++) {
|
|
13047
|
-
w.
|
|
13083
|
+
w.add(i.f._inner[x]);
|
|
13048
13084
|
}
|
|
13049
|
-
w.
|
|
13085
|
+
w.usesOrOperator = i.l.value;
|
|
13050
13086
|
j.ep = w;
|
|
13051
13087
|
}
|
|
13052
13088
|
}
|
|
@@ -15055,10 +15091,10 @@ export let GridAnimationManager = /*@__PURE__*/ (() => {
|
|
|
15055
15091
|
let r = m;
|
|
15056
15092
|
let s = n;
|
|
15057
15093
|
if (r != null) {
|
|
15058
|
-
r.
|
|
15094
|
+
r.v(a.externalGrid.renderer);
|
|
15059
15095
|
}
|
|
15060
15096
|
if (s != null) {
|
|
15061
|
-
s.
|
|
15097
|
+
s.v(a.externalGrid.renderer);
|
|
15062
15098
|
}
|
|
15063
15099
|
let t = new FontInfo();
|
|
15064
15100
|
FontUtil.interpolateFont(t, l, r, s);
|
|
@@ -15241,10 +15277,10 @@ export let GridAnimationManager = /*@__PURE__*/ (() => {
|
|
|
15241
15277
|
let u = p;
|
|
15242
15278
|
let v = q;
|
|
15243
15279
|
if (u != null) {
|
|
15244
|
-
u.
|
|
15280
|
+
u.v(a.externalGrid.renderer);
|
|
15245
15281
|
}
|
|
15246
15282
|
if (v != null) {
|
|
15247
|
-
v.
|
|
15283
|
+
v.v(a.externalGrid.renderer);
|
|
15248
15284
|
}
|
|
15249
15285
|
let w = new FontInfo();
|
|
15250
15286
|
FontUtil.interpolateFont(w, o, u, v);
|
|
@@ -16692,7 +16728,7 @@ export let DefinitionBase = /*@__PURE__*/ (() => {
|
|
|
16692
16728
|
}
|
|
16693
16729
|
if (this.grid != null) {
|
|
16694
16730
|
if (this.ad != null) {
|
|
16695
|
-
this.ad.
|
|
16731
|
+
this.ad.v(this.grid.externalGrid.renderer);
|
|
16696
16732
|
}
|
|
16697
16733
|
}
|
|
16698
16734
|
a.ag = this.ad;
|
|
@@ -18168,7 +18204,7 @@ export let DataGridColumn = /*@__PURE__*/ (() => {
|
|
|
18168
18204
|
a.f1 = this.h1;
|
|
18169
18205
|
if (this.grid != null) {
|
|
18170
18206
|
if (this.gb != null) {
|
|
18171
|
-
this.gb.
|
|
18207
|
+
this.gb.v(this.grid.externalGrid.renderer);
|
|
18172
18208
|
}
|
|
18173
18209
|
}
|
|
18174
18210
|
a.af = this.gb;
|
|
@@ -18735,9 +18771,9 @@ export let DataGridColumn = /*@__PURE__*/ (() => {
|
|
|
18735
18771
|
}
|
|
18736
18772
|
kf(a, b) {
|
|
18737
18773
|
let c = new ColumnComparisonFilterCondition();
|
|
18738
|
-
c.
|
|
18739
|
-
c.
|
|
18740
|
-
c.
|
|
18774
|
+
c.operator = a;
|
|
18775
|
+
c.value = b;
|
|
18776
|
+
c.isCaseSensitive = this.fo() == 2;
|
|
18741
18777
|
this.ep = c;
|
|
18742
18778
|
this.er = null;
|
|
18743
18779
|
}
|
|
@@ -18751,9 +18787,9 @@ export let DataGridColumn = /*@__PURE__*/ (() => {
|
|
|
18751
18787
|
this.er = e;
|
|
18752
18788
|
this.ep = ((() => {
|
|
18753
18789
|
let $ret = new ColumnCustomFilterCondition();
|
|
18754
|
-
$ret.
|
|
18790
|
+
$ret.value = c;
|
|
18755
18791
|
$ret.id = a;
|
|
18756
|
-
$ret.
|
|
18792
|
+
$ret.index = b;
|
|
18757
18793
|
return $ret;
|
|
18758
18794
|
})());
|
|
18759
18795
|
}
|
|
@@ -22647,22 +22683,22 @@ export let SaveLayoutColumn = /*@__PURE__*/ (() => {
|
|
|
22647
22683
|
let x = t.item("Value");
|
|
22648
22684
|
let y = new ColumnCustomFilterCondition();
|
|
22649
22685
|
y.id = u.value.toString();
|
|
22650
|
-
y.
|
|
22686
|
+
y.index = parseInt(v.value.toString());
|
|
22651
22687
|
if (w != null) {
|
|
22652
22688
|
switch (w.value.toString()) {
|
|
22653
22689
|
case "String":
|
|
22654
|
-
y.
|
|
22690
|
+
y.value = x.value.toString();
|
|
22655
22691
|
break;
|
|
22656
22692
|
case "Number":
|
|
22657
|
-
y.
|
|
22693
|
+
y.value = parseFloat(x.value.toString());
|
|
22658
22694
|
break;
|
|
22659
22695
|
case "Date":
|
|
22660
|
-
y.
|
|
22696
|
+
y.value = dateParse(x.value.toString());
|
|
22661
22697
|
break;
|
|
22662
22698
|
}
|
|
22663
22699
|
}
|
|
22664
22700
|
else {
|
|
22665
|
-
y.
|
|
22701
|
+
y.value = null;
|
|
22666
22702
|
}
|
|
22667
22703
|
this.f.add(y);
|
|
22668
22704
|
}
|
|
@@ -22672,159 +22708,159 @@ export let SaveLayoutColumn = /*@__PURE__*/ (() => {
|
|
|
22672
22708
|
let ab = t.item("ValueType");
|
|
22673
22709
|
let ac = t.item("Value");
|
|
22674
22710
|
let ad = new ColumnComparisonFilterCondition();
|
|
22675
|
-
ad.
|
|
22711
|
+
ad.isCaseSensitive = z.value;
|
|
22676
22712
|
switch (aa.value.toString()) {
|
|
22677
22713
|
case "Equals":
|
|
22678
|
-
ad.
|
|
22714
|
+
ad.operator = 0;
|
|
22679
22715
|
break;
|
|
22680
22716
|
case "NotEquals":
|
|
22681
|
-
ad.
|
|
22717
|
+
ad.operator = 1;
|
|
22682
22718
|
break;
|
|
22683
22719
|
case "LessThan":
|
|
22684
|
-
ad.
|
|
22720
|
+
ad.operator = 2;
|
|
22685
22721
|
break;
|
|
22686
22722
|
case "LessThanOrEqualTo":
|
|
22687
|
-
ad.
|
|
22723
|
+
ad.operator = 3;
|
|
22688
22724
|
break;
|
|
22689
22725
|
case "GreaterThan":
|
|
22690
|
-
ad.
|
|
22726
|
+
ad.operator = 4;
|
|
22691
22727
|
break;
|
|
22692
22728
|
case "GreaterThanOrEqualTo":
|
|
22693
|
-
ad.
|
|
22729
|
+
ad.operator = 5;
|
|
22694
22730
|
break;
|
|
22695
22731
|
case "Top":
|
|
22696
|
-
ad.
|
|
22732
|
+
ad.operator = 6;
|
|
22697
22733
|
break;
|
|
22698
22734
|
case "Bottom":
|
|
22699
|
-
ad.
|
|
22735
|
+
ad.operator = 7;
|
|
22700
22736
|
break;
|
|
22701
22737
|
case "TopPercentile":
|
|
22702
|
-
ad.
|
|
22738
|
+
ad.operator = 8;
|
|
22703
22739
|
break;
|
|
22704
22740
|
case "BottomPercentile":
|
|
22705
|
-
ad.
|
|
22741
|
+
ad.operator = 9;
|
|
22706
22742
|
break;
|
|
22707
22743
|
case "True":
|
|
22708
|
-
ad.
|
|
22744
|
+
ad.operator = 10;
|
|
22709
22745
|
break;
|
|
22710
22746
|
case "False":
|
|
22711
|
-
ad.
|
|
22747
|
+
ad.operator = 11;
|
|
22712
22748
|
break;
|
|
22713
22749
|
case "Contains":
|
|
22714
|
-
ad.
|
|
22750
|
+
ad.operator = 12;
|
|
22715
22751
|
break;
|
|
22716
22752
|
case "DoesNotContain":
|
|
22717
|
-
ad.
|
|
22753
|
+
ad.operator = 13;
|
|
22718
22754
|
break;
|
|
22719
22755
|
case "StartsWith":
|
|
22720
|
-
ad.
|
|
22756
|
+
ad.operator = 14;
|
|
22721
22757
|
break;
|
|
22722
22758
|
case "DoesNotStartWith":
|
|
22723
|
-
ad.
|
|
22759
|
+
ad.operator = 15;
|
|
22724
22760
|
break;
|
|
22725
22761
|
case "EndsWith":
|
|
22726
|
-
ad.
|
|
22762
|
+
ad.operator = 16;
|
|
22727
22763
|
break;
|
|
22728
22764
|
case "DoesNotEndWith":
|
|
22729
|
-
ad.
|
|
22765
|
+
ad.operator = 17;
|
|
22730
22766
|
break;
|
|
22731
22767
|
case "Today":
|
|
22732
|
-
ad.
|
|
22768
|
+
ad.operator = 18;
|
|
22733
22769
|
break;
|
|
22734
22770
|
case "Tomorrow":
|
|
22735
|
-
ad.
|
|
22771
|
+
ad.operator = 19;
|
|
22736
22772
|
break;
|
|
22737
22773
|
case "Yesterday":
|
|
22738
|
-
ad.
|
|
22774
|
+
ad.operator = 20;
|
|
22739
22775
|
break;
|
|
22740
22776
|
case "NextWeek":
|
|
22741
|
-
ad.
|
|
22777
|
+
ad.operator = 21;
|
|
22742
22778
|
break;
|
|
22743
22779
|
case "ThisWeek":
|
|
22744
|
-
ad.
|
|
22780
|
+
ad.operator = 22;
|
|
22745
22781
|
break;
|
|
22746
22782
|
case "LastWeek":
|
|
22747
|
-
ad.
|
|
22783
|
+
ad.operator = 23;
|
|
22748
22784
|
break;
|
|
22749
22785
|
case "NextMonth":
|
|
22750
|
-
ad.
|
|
22786
|
+
ad.operator = 24;
|
|
22751
22787
|
break;
|
|
22752
22788
|
case "ThisMonth":
|
|
22753
|
-
ad.
|
|
22789
|
+
ad.operator = 25;
|
|
22754
22790
|
break;
|
|
22755
22791
|
case "LastMonth":
|
|
22756
|
-
ad.
|
|
22792
|
+
ad.operator = 26;
|
|
22757
22793
|
break;
|
|
22758
22794
|
case "NextQuater":
|
|
22759
|
-
ad.
|
|
22795
|
+
ad.operator = 27;
|
|
22760
22796
|
break;
|
|
22761
22797
|
case "ThisQuater":
|
|
22762
|
-
ad.
|
|
22798
|
+
ad.operator = 28;
|
|
22763
22799
|
break;
|
|
22764
22800
|
case "LastQuater":
|
|
22765
|
-
ad.
|
|
22801
|
+
ad.operator = 29;
|
|
22766
22802
|
break;
|
|
22767
22803
|
case "NextYear":
|
|
22768
|
-
ad.
|
|
22804
|
+
ad.operator = 30;
|
|
22769
22805
|
break;
|
|
22770
22806
|
case "ThisYear":
|
|
22771
|
-
ad.
|
|
22807
|
+
ad.operator = 31;
|
|
22772
22808
|
break;
|
|
22773
22809
|
case "LastYear":
|
|
22774
|
-
ad.
|
|
22810
|
+
ad.operator = 32;
|
|
22775
22811
|
break;
|
|
22776
22812
|
case "YearToDate":
|
|
22777
|
-
ad.
|
|
22813
|
+
ad.operator = 33;
|
|
22778
22814
|
break;
|
|
22779
22815
|
case "Q1":
|
|
22780
|
-
ad.
|
|
22816
|
+
ad.operator = 34;
|
|
22781
22817
|
break;
|
|
22782
22818
|
case "Q2":
|
|
22783
|
-
ad.
|
|
22819
|
+
ad.operator = 35;
|
|
22784
22820
|
break;
|
|
22785
22821
|
case "Q3":
|
|
22786
|
-
ad.
|
|
22822
|
+
ad.operator = 36;
|
|
22787
22823
|
break;
|
|
22788
22824
|
case "Q4":
|
|
22789
|
-
ad.
|
|
22825
|
+
ad.operator = 37;
|
|
22790
22826
|
break;
|
|
22791
22827
|
case "Month":
|
|
22792
|
-
ad.
|
|
22828
|
+
ad.operator = 38;
|
|
22793
22829
|
break;
|
|
22794
22830
|
case "Year":
|
|
22795
|
-
ad.
|
|
22831
|
+
ad.operator = 39;
|
|
22796
22832
|
break;
|
|
22797
22833
|
case "Empty":
|
|
22798
|
-
ad.
|
|
22834
|
+
ad.operator = 40;
|
|
22799
22835
|
break;
|
|
22800
22836
|
case "NotEmpty":
|
|
22801
|
-
ad.
|
|
22837
|
+
ad.operator = 41;
|
|
22802
22838
|
break;
|
|
22803
22839
|
case "IsNull":
|
|
22804
|
-
ad.
|
|
22840
|
+
ad.operator = 42;
|
|
22805
22841
|
break;
|
|
22806
22842
|
case "IsNotNull":
|
|
22807
|
-
ad.
|
|
22843
|
+
ad.operator = 43;
|
|
22808
22844
|
break;
|
|
22809
22845
|
case "Custom":
|
|
22810
|
-
ad.
|
|
22846
|
+
ad.operator = 44;
|
|
22811
22847
|
break;
|
|
22812
22848
|
}
|
|
22813
22849
|
if (ab != null) {
|
|
22814
22850
|
switch (ab.value.toString()) {
|
|
22815
22851
|
case "String":
|
|
22816
|
-
ad.
|
|
22852
|
+
ad.value = ac.value.toString();
|
|
22817
22853
|
break;
|
|
22818
22854
|
case "Number":
|
|
22819
|
-
ad.
|
|
22855
|
+
ad.value = parseFloat(ac.value.toString());
|
|
22820
22856
|
break;
|
|
22821
22857
|
case "Date":
|
|
22822
|
-
ad.
|
|
22858
|
+
ad.value = dateParse(ac.value.toString());
|
|
22823
22859
|
break;
|
|
22824
22860
|
}
|
|
22825
22861
|
}
|
|
22826
22862
|
else {
|
|
22827
|
-
ad.
|
|
22863
|
+
ad.value = null;
|
|
22828
22864
|
}
|
|
22829
22865
|
this.f.add(ad);
|
|
22830
22866
|
}
|
|
@@ -22914,20 +22950,20 @@ export let SaveLayoutColumn = /*@__PURE__*/ (() => {
|
|
|
22914
22950
|
if (typeCast(ColumnCustomFilterCondition.$, this.f._inner[e]) !== null) {
|
|
22915
22951
|
let f = this.f._inner[e];
|
|
22916
22952
|
a.i("\"ID\": " + "\"" + f.id + "\", ");
|
|
22917
|
-
a.i("\"Index\": " + f.
|
|
22918
|
-
if (f.
|
|
22919
|
-
a.i("\"ValueType\": " + "\"" + getInstanceType(f.
|
|
22953
|
+
a.i("\"Index\": " + f.index + ", ");
|
|
22954
|
+
if (f.value != null) {
|
|
22955
|
+
a.i("\"ValueType\": " + "\"" + getInstanceType(f.value).typeName + "\", ");
|
|
22920
22956
|
}
|
|
22921
|
-
a.i("\"Value\": " + "\"" + f.
|
|
22957
|
+
a.i("\"Value\": " + "\"" + f.value + "\"");
|
|
22922
22958
|
}
|
|
22923
22959
|
else {
|
|
22924
22960
|
let g = this.f._inner[e];
|
|
22925
|
-
a.i("\"IsCaseSensitive\": " + g.
|
|
22926
|
-
a.i("\"Operator\": " + "\"" + enumGetBox(ColumnComparisonConditionOperatorType_$type, g.
|
|
22927
|
-
if (g.
|
|
22928
|
-
a.i("\"ValueType\": " + "\"" + getInstanceType(g.
|
|
22961
|
+
a.i("\"IsCaseSensitive\": " + g.isCaseSensitive + ", ");
|
|
22962
|
+
a.i("\"Operator\": " + "\"" + enumGetBox(ColumnComparisonConditionOperatorType_$type, g.operator) + "\", ");
|
|
22963
|
+
if (g.value != null) {
|
|
22964
|
+
a.i("\"ValueType\": " + "\"" + getInstanceType(g.value).typeName + "\", ");
|
|
22929
22965
|
}
|
|
22930
|
-
a.i("\"Value\": " + "\"" + g.
|
|
22966
|
+
a.i("\"Value\": " + "\"" + g.value + "\"");
|
|
22931
22967
|
}
|
|
22932
22968
|
a.i("}");
|
|
22933
22969
|
}
|