igniteui-webcomponents-data-grids 7.1.0-alpha.0 → 7.1.0-alpha.2
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-data-grids.umd.js +24378 -21126
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +5 -5
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +28 -28
- package/esm2015/lib/CheckboxListBridge.js +54 -26
- package/esm2015/lib/CheckboxListView_combined.js +775 -745
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +9468 -7805
- package/esm2015/lib/ColumnGroupingView_combined.js +24 -24
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm2015/lib/ContentCellModelHelper.js +7 -7
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +3 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +13 -13
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/DraggerView.js +11 -11
- package/esm2015/lib/EditorCell.js +267 -267
- package/esm2015/lib/EditorCellPresenter.js +25 -25
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +71 -69
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +17 -17
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +15 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +430 -185
- package/esm2015/lib/GridIconRepository.js +92 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +26 -22
- package/esm2015/lib/GridStyleRepository.js +272 -431
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +37 -37
- package/esm2015/lib/NativeUIComboFactory.js +1 -1
- package/esm2015/lib/NativeUIGridFactory.js +2 -2
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +31 -31
- package/esm2015/lib/SectionHeaderCell.js +20 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +34 -25
- package/esm2015/lib/SummaryCellPresenter.js +8 -8
- package/esm2015/lib/TemplateCell.js +12 -12
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +177 -136
- package/esm2015/lib/TextHeaderCellPresenter.js +66 -25
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igc-cell-info.js +97 -91
- package/esm2015/lib/igc-checkbox-list-component.js +89 -90
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-binding-event-args.js +27 -22
- package/esm2015/lib/igc-data-grid-column-component.js +390 -193
- package/esm2015/lib/igc-data-grid-component.js +241 -2
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +148 -20
- package/esm2015/lib/igc-data-grid-pager-component.js +30 -10
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-date-time-column-module.js +2 -0
- package/esm2015/lib/igc-definition-base-component.js +129 -129
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-filter-row-definition-module.js +2 -0
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-image-column-module.js +2 -0
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-numeric-column-module.js +2 -0
- package/esm2015/lib/igc-row-separator-module.js +2 -0
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-section-header-module.js +2 -0
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-column-module.js +2 -0
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-module.js +2 -0
- package/esm2015/lib/igc-template-section-header-module.js +4 -0
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-column-module.js +2 -0
- package/esm2015/lib/igc-text-header-cell-info.js +121 -10
- package/esm2015/lib/igc-text-header-module.js +2 -0
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/CanvasCellPresenterBase.js +5 -5
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +28 -28
- package/esm5/lib/CheckboxListBridge.js +54 -26
- package/esm5/lib/CheckboxListView_combined.js +748 -718
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +9521 -7569
- package/esm5/lib/ColumnGroupingView_combined.js +24 -24
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm5/lib/ContentCellModelHelper.js +7 -7
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +3 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm5/lib/DataGridToolbarView_combined.js +13 -13
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/DraggerView.js +11 -11
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +25 -25
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +70 -68
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +17 -17
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +15 -6
- package/esm5/lib/GridFilterDialogView_combined.js +478 -177
- package/esm5/lib/GridIconRepository.js +97 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +26 -22
- package/esm5/lib/GridStyleRepository.js +280 -583
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +37 -37
- package/esm5/lib/NativeUIComboFactory.js +1 -1
- package/esm5/lib/NativeUIGridFactory.js +2 -2
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +31 -31
- package/esm5/lib/SectionHeaderCell.js +20 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +35 -26
- package/esm5/lib/SummaryCellPresenter.js +8 -8
- package/esm5/lib/TemplateCell.js +12 -12
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +175 -134
- package/esm5/lib/TextHeaderCellPresenter.js +66 -25
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igc-cell-info.js +101 -91
- package/esm5/lib/igc-checkbox-list-component.js +89 -90
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-binding-event-args.js +27 -22
- package/esm5/lib/igc-data-grid-column-component.js +478 -193
- package/esm5/lib/igc-data-grid-component.js +324 -3
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +196 -20
- package/esm5/lib/igc-data-grid-pager-component.js +38 -10
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-date-time-column-module.js +2 -0
- package/esm5/lib/igc-definition-base-component.js +129 -129
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-filter-row-definition-module.js +2 -0
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-image-column-module.js +2 -0
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-numeric-column-module.js +2 -0
- package/esm5/lib/igc-row-separator-module.js +2 -0
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-section-header-module.js +2 -0
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-column-module.js +2 -0
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-module.js +2 -0
- package/esm5/lib/igc-template-section-header-module.js +4 -0
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-column-module.js +2 -0
- package/esm5/lib/igc-text-header-cell-info.js +173 -10
- package/esm5/lib/igc-text-header-module.js +2 -0
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +41126 -38366
- package/fesm5/igniteui-webcomponents-data-grids.js +24378 -21129
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +159 -154
- package/lib/ColumnFilterCondition_combined.d.ts +2106 -1885
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +3 -0
- package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +3 -0
- package/lib/GridFilterDialogView_combined.d.ts +104 -61
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +23 -83
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +4 -2
- package/lib/SummaryCell.d.ts +6 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igc-cell-info.d.ts +4 -0
- package/lib/igc-data-grid-column-component.d.ts +77 -0
- package/lib/igc-data-grid-component.d.ts +94 -1
- package/lib/igc-data-grid-filter-dialog-component.d.ts +57 -0
- package/lib/igc-data-grid-pager-component.d.ts +10 -0
- package/lib/igc-text-header-cell-info.d.ts +48 -0
- package/package.json +4 -4
- package/public_api.d.ts +3 -0
|
@@ -16,6 +16,7 @@ import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
|
|
|
16
16
|
import { ElevationHelper } from "igniteui-webcomponents-core";
|
|
17
17
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
18
18
|
import { IToolbarTarget_$type } from "igniteui-webcomponents-core";
|
|
19
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
19
20
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
20
21
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
21
22
|
import { GridFilterDialogOpeningEventArgs } from "./GridFilterDialogOpeningEventArgs";
|
|
@@ -29,8 +30,6 @@ import { GridFilterDialogViewModelGroupingLevel } from "./GridFilterDialogViewMo
|
|
|
29
30
|
import { GridFilterDialogViewModelGrouping } from "./GridFilterDialogViewModelGrouping";
|
|
30
31
|
import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterCondition";
|
|
31
32
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
32
|
-
import { Geometry } from "igniteui-webcomponents-core";
|
|
33
|
-
import { GridStyleRepository } from "./GridStyleRepository";
|
|
34
33
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
35
34
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
36
35
|
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
@@ -61,10 +60,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
61
60
|
}
|
|
62
61
|
y() {
|
|
63
62
|
this.x();
|
|
64
|
-
this.b.
|
|
63
|
+
this.b.b7();
|
|
65
64
|
}
|
|
66
65
|
t() {
|
|
67
|
-
this.b.
|
|
66
|
+
this.b.bz(this.l, this.k, this.aa);
|
|
68
67
|
}
|
|
69
68
|
s() {
|
|
70
69
|
if (KeyFrameAnimationFactory.h == null) {
|
|
@@ -81,7 +80,7 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
81
80
|
this.d = null;
|
|
82
81
|
return;
|
|
83
82
|
}
|
|
84
|
-
this.h = (isNaN_(this.b.
|
|
83
|
+
this.h = (isNaN_(this.b.aq) ? this.b.ap : this.b.aq);
|
|
85
84
|
let d = a;
|
|
86
85
|
this.m = d;
|
|
87
86
|
this.n = c;
|
|
@@ -89,24 +88,24 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
89
88
|
this.m.rootWrapper.addClass("ig-filter-icon");
|
|
90
89
|
this.m.rootWrapper.setStyleProperty("cursor", "pointer");
|
|
91
90
|
this.q = this.m.rootWrapper;
|
|
92
|
-
NativeUI.
|
|
91
|
+
NativeUI.ab(this.q, 0);
|
|
93
92
|
let e = this.h;
|
|
94
93
|
let f = Math.round(d.rootWrapper.width());
|
|
95
94
|
let g = Math.round(d.rootWrapper.height());
|
|
96
|
-
let h = this.b.
|
|
97
|
-
let i = this.b.
|
|
95
|
+
let h = this.b.ar * e;
|
|
96
|
+
let i = this.b.ar * e;
|
|
98
97
|
this.x();
|
|
99
98
|
this.l = f;
|
|
100
99
|
this.k = g;
|
|
101
|
-
if (isNaN_(this.b.
|
|
102
|
-
this.b.
|
|
103
|
-
this.h = this.b.
|
|
100
|
+
if (isNaN_(this.b.aq)) {
|
|
101
|
+
this.b.ap = window.devicePixelRatio;
|
|
102
|
+
this.h = this.b.ap;
|
|
104
103
|
}
|
|
105
104
|
this.y();
|
|
106
105
|
}
|
|
107
106
|
r(a) {
|
|
108
107
|
let b = a;
|
|
109
|
-
this.m.append(b.
|
|
108
|
+
this.m.append(b.ao);
|
|
110
109
|
}
|
|
111
110
|
p() {
|
|
112
111
|
return this.m;
|
|
@@ -121,10 +120,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
121
120
|
this.m.rootWrapper.setStyleProperty("position", "absolute");
|
|
122
121
|
if (this.b.l == 2) {
|
|
123
122
|
this.m.rootWrapper.setStyleProperty("left", "unset");
|
|
124
|
-
this.m.rootWrapper.setStyleProperty("right", this.b.
|
|
123
|
+
this.m.rootWrapper.setStyleProperty("right", this.b.aw + "px");
|
|
125
124
|
}
|
|
126
125
|
else {
|
|
127
|
-
this.m.rootWrapper.setStyleProperty("left", this.b.
|
|
126
|
+
this.m.rootWrapper.setStyleProperty("left", this.b.av + "px");
|
|
128
127
|
}
|
|
129
128
|
let a = intDivide(this.o.height(), 2) - (this.k / 2);
|
|
130
129
|
this.m.rootWrapper.setStyleProperty("top", a + "px");
|
|
@@ -133,19 +132,19 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
133
132
|
this.y();
|
|
134
133
|
}
|
|
135
134
|
w(a, b) {
|
|
136
|
-
if (isNaN_(this.b.
|
|
137
|
-
this.b.
|
|
138
|
-
this.h = this.b.
|
|
135
|
+
if (isNaN_(this.b.aq)) {
|
|
136
|
+
this.b.ap = window.devicePixelRatio;
|
|
137
|
+
this.h = this.b.ap;
|
|
139
138
|
}
|
|
140
139
|
this.l = a;
|
|
141
140
|
this.k = b;
|
|
142
141
|
this.y();
|
|
143
142
|
}
|
|
144
143
|
u() {
|
|
145
|
-
if (isNaN_(this.b.
|
|
146
|
-
this.b.
|
|
147
|
-
if (this.h != this.b.
|
|
148
|
-
this.h = this.b.
|
|
144
|
+
if (isNaN_(this.b.aq)) {
|
|
145
|
+
this.b.ap = window.devicePixelRatio;
|
|
146
|
+
if (this.h != this.b.ap) {
|
|
147
|
+
this.h = this.b.ap;
|
|
149
148
|
this.y();
|
|
150
149
|
return;
|
|
151
150
|
}
|
|
@@ -183,7 +182,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
183
182
|
e.setStyleProperty("background-color", "#fff");
|
|
184
183
|
e.setStyleProperty("border-radius", "3px");
|
|
185
184
|
e.setStyleProperty("overflow", "auto");
|
|
186
|
-
let g = ElevationHelper.e(12, this.b.
|
|
185
|
+
let g = ElevationHelper.e(12, this.b.cr, this.b.cq, this.b.cp);
|
|
187
186
|
e.setStyleProperty("boxShadow", g);
|
|
188
187
|
e.listen("mousedown", runOn(this, this.o));
|
|
189
188
|
this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
|
|
@@ -197,7 +196,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
197
196
|
a.stopPropagation();
|
|
198
197
|
}
|
|
199
198
|
onDocumentKeyDown(a) {
|
|
200
|
-
if (BaseDOMEventProxy.
|
|
199
|
+
if (BaseDOMEventProxy.c4(a) == 8) {
|
|
201
200
|
}
|
|
202
201
|
}
|
|
203
202
|
onDocumentMouseClick(e_) {
|
|
@@ -302,29 +301,11 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
302
301
|
export { GridFilterDialogPanel };
|
|
303
302
|
let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
304
303
|
class GridFilterDialog extends Base {
|
|
305
|
-
get
|
|
306
|
-
return this.
|
|
304
|
+
get a1() {
|
|
305
|
+
return this.a0;
|
|
307
306
|
}
|
|
308
|
-
set
|
|
309
|
-
this.
|
|
310
|
-
}
|
|
311
|
-
get ab() {
|
|
312
|
-
return this.z;
|
|
313
|
-
}
|
|
314
|
-
set ab(a) {
|
|
315
|
-
let b = this.z;
|
|
316
|
-
this.z = a;
|
|
317
|
-
if (b != this.z) {
|
|
318
|
-
this.bj("IsAnimationEnabled", b, this.z);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
get aj() {
|
|
322
|
-
return this.ag;
|
|
323
|
-
}
|
|
324
|
-
set aj(a) {
|
|
325
|
-
let b = this.ag;
|
|
326
|
-
this.ag = a;
|
|
327
|
-
this.bj("PixelScalingRatio", b, this.ag);
|
|
307
|
+
set a1(a) {
|
|
308
|
+
this.a0 = a;
|
|
328
309
|
}
|
|
329
310
|
get ai() {
|
|
330
311
|
return this.af;
|
|
@@ -332,7 +313,25 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
332
313
|
set ai(a) {
|
|
333
314
|
let b = this.af;
|
|
334
315
|
this.af = a;
|
|
335
|
-
|
|
316
|
+
if (b != this.af) {
|
|
317
|
+
this.b6("IsAnimationEnabled", b, this.af);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
get aq() {
|
|
321
|
+
return this.an;
|
|
322
|
+
}
|
|
323
|
+
set aq(a) {
|
|
324
|
+
let b = this.an;
|
|
325
|
+
this.an = a;
|
|
326
|
+
this.b6("PixelScalingRatio", b, this.an);
|
|
327
|
+
}
|
|
328
|
+
get ap() {
|
|
329
|
+
return this.am;
|
|
330
|
+
}
|
|
331
|
+
set ap(a) {
|
|
332
|
+
let b = this.am;
|
|
333
|
+
this.am = a;
|
|
334
|
+
this.b6("ActualPixelScalingRatio", b, this.am);
|
|
336
335
|
}
|
|
337
336
|
get l() {
|
|
338
337
|
return this.j;
|
|
@@ -341,7 +340,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
341
340
|
let b = this.j;
|
|
342
341
|
this.j = a;
|
|
343
342
|
if (b != this.j) {
|
|
344
|
-
this.
|
|
343
|
+
this.b6("IconHorizontalAlignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.j));
|
|
345
344
|
}
|
|
346
345
|
}
|
|
347
346
|
get k() {
|
|
@@ -351,62 +350,192 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
351
350
|
let b = this.i;
|
|
352
351
|
this.i = a;
|
|
353
352
|
if (b != this.i) {
|
|
354
|
-
this.
|
|
353
|
+
this.b6("HeaderTextALignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.i));
|
|
355
354
|
}
|
|
356
355
|
}
|
|
357
|
-
get
|
|
358
|
-
return this.
|
|
356
|
+
get av() {
|
|
357
|
+
return this.as;
|
|
359
358
|
}
|
|
360
|
-
set
|
|
361
|
-
let b = this.
|
|
362
|
-
this.
|
|
363
|
-
if (b != this.
|
|
364
|
-
this.
|
|
359
|
+
set av(a) {
|
|
360
|
+
let b = this.as;
|
|
361
|
+
this.as = a;
|
|
362
|
+
if (b != this.as) {
|
|
363
|
+
this.b6("CellPaddingLeft", b, this.as);
|
|
365
364
|
}
|
|
366
365
|
}
|
|
367
|
-
get
|
|
368
|
-
return this.
|
|
366
|
+
get aw() {
|
|
367
|
+
return this.at;
|
|
369
368
|
}
|
|
370
|
-
set
|
|
371
|
-
let b = this.
|
|
372
|
-
this.
|
|
373
|
-
if (b != this.
|
|
374
|
-
this.
|
|
369
|
+
set aw(a) {
|
|
370
|
+
let b = this.at;
|
|
371
|
+
this.at = a;
|
|
372
|
+
if (b != this.at) {
|
|
373
|
+
this.b6("CellPaddingRight", b, this.at);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
get c1() {
|
|
377
|
+
return this.co;
|
|
378
|
+
}
|
|
379
|
+
set c1(a) {
|
|
380
|
+
let b = this.co;
|
|
381
|
+
this.co = a;
|
|
382
|
+
if (b != this.co) {
|
|
383
|
+
this.b6("IconColor", b, this.co);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
get ar() {
|
|
387
|
+
return this.ao;
|
|
388
|
+
}
|
|
389
|
+
set ar(a) {
|
|
390
|
+
let b = this.ao;
|
|
391
|
+
this.ao = a;
|
|
392
|
+
if (b != this.ao) {
|
|
393
|
+
this.b6("ViewSize", b, this.ao);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
get x() {
|
|
397
|
+
return this.w;
|
|
398
|
+
}
|
|
399
|
+
set x(a) {
|
|
400
|
+
let b = this.w;
|
|
401
|
+
this.w = a;
|
|
402
|
+
if (this.w != b) {
|
|
403
|
+
this.b6("Theme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.w));
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
get ct() {
|
|
407
|
+
return this.cg;
|
|
408
|
+
}
|
|
409
|
+
set ct(a) {
|
|
410
|
+
let b = this.cg;
|
|
411
|
+
this.cg = a;
|
|
412
|
+
if (b != this.cg) {
|
|
413
|
+
this.b6("ColumnOptionsBackground", b, this.cg);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
get cz() {
|
|
417
|
+
return this.cm;
|
|
418
|
+
}
|
|
419
|
+
set cz(a) {
|
|
420
|
+
let b = this.cm;
|
|
421
|
+
this.cm = a;
|
|
422
|
+
if (b != this.cm) {
|
|
423
|
+
this.b6("ColumnOptionsTextColor", b, this.cm);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
get ab() {
|
|
427
|
+
return this.z;
|
|
428
|
+
}
|
|
429
|
+
set ab(a) {
|
|
430
|
+
let b = this.z;
|
|
431
|
+
this.z = a;
|
|
432
|
+
if (b != this.z) {
|
|
433
|
+
this.b6("ColumnOptionsTextStyle", b, this.z);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
get cx() {
|
|
437
|
+
return this.ck;
|
|
438
|
+
}
|
|
439
|
+
set cx(a) {
|
|
440
|
+
let b = this.ck;
|
|
441
|
+
this.ck = a;
|
|
442
|
+
if (b != this.ck) {
|
|
443
|
+
this.b6("ColumnOptionsHoverBackgroundColor", b, this.ck);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
get c0() {
|
|
447
|
+
return this.cn;
|
|
448
|
+
}
|
|
449
|
+
set c0(a) {
|
|
450
|
+
let b = this.cn;
|
|
451
|
+
this.cn = a;
|
|
452
|
+
if (b != this.cn) {
|
|
453
|
+
this.b6("ColumnOptionsToolTipBackgroundColor", b, this.cn);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
get cw() {
|
|
457
|
+
return this.cj;
|
|
458
|
+
}
|
|
459
|
+
set cw(a) {
|
|
460
|
+
let b = this.cj;
|
|
461
|
+
this.cj = a;
|
|
462
|
+
if (b != this.cj) {
|
|
463
|
+
this.b6("ColumnOptionsHighlightColor", b, this.cj);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
get cy() {
|
|
467
|
+
return this.cl;
|
|
468
|
+
}
|
|
469
|
+
set cy(a) {
|
|
470
|
+
let b = this.cl;
|
|
471
|
+
this.cl = a;
|
|
472
|
+
if (b != this.cl) {
|
|
473
|
+
this.b6("ColumnOptionsSeparatorColor", b, this.cl);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
get cu() {
|
|
477
|
+
return this.ch;
|
|
478
|
+
}
|
|
479
|
+
set cu(a) {
|
|
480
|
+
let b = this.ch;
|
|
481
|
+
this.ch = a;
|
|
482
|
+
if (b != this.ch) {
|
|
483
|
+
this.b6("ColumnOptionsGroupHeaderBackground", b, this.ch);
|
|
375
484
|
}
|
|
376
485
|
}
|
|
377
|
-
get
|
|
378
|
-
return this.
|
|
486
|
+
get cv() {
|
|
487
|
+
return this.ci;
|
|
379
488
|
}
|
|
380
|
-
set
|
|
381
|
-
let b = this.
|
|
382
|
-
this.
|
|
383
|
-
if (b != this.
|
|
384
|
-
this.
|
|
489
|
+
set cv(a) {
|
|
490
|
+
let b = this.ci;
|
|
491
|
+
this.ci = a;
|
|
492
|
+
if (b != this.ci) {
|
|
493
|
+
this.b6("ColumnOptionsGroupHeaderTextColor", b, this.ci);
|
|
385
494
|
}
|
|
386
495
|
}
|
|
387
|
-
get
|
|
388
|
-
return this.
|
|
496
|
+
get aa() {
|
|
497
|
+
return this.y;
|
|
389
498
|
}
|
|
390
|
-
set
|
|
391
|
-
let b = this.
|
|
392
|
-
this.
|
|
393
|
-
if (b != this.
|
|
394
|
-
this.
|
|
499
|
+
set aa(a) {
|
|
500
|
+
let b = this.y;
|
|
501
|
+
this.y = a;
|
|
502
|
+
if (b != this.y) {
|
|
503
|
+
this.b6("ColumnOptionsGroupHeaderTextStyle", b, this.y);
|
|
395
504
|
}
|
|
396
505
|
}
|
|
397
|
-
get
|
|
398
|
-
return this.
|
|
506
|
+
get cs() {
|
|
507
|
+
return this.cf;
|
|
399
508
|
}
|
|
400
|
-
|
|
401
|
-
|
|
509
|
+
set cs(a) {
|
|
510
|
+
let b = this.cf;
|
|
511
|
+
this.cf = a;
|
|
512
|
+
if (b != this.cf) {
|
|
513
|
+
this.b6("ColumnOptionsAccentColor", b, this.cf);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
get ax() {
|
|
517
|
+
return this.au;
|
|
518
|
+
}
|
|
519
|
+
set ax(a) {
|
|
520
|
+
let b = this.au;
|
|
521
|
+
this.au = a;
|
|
522
|
+
if (b != this.au) {
|
|
523
|
+
this.b6("ColumnOptionsRowHeight", b, this.au);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
get aj() {
|
|
527
|
+
return this.v != null ? this.v.bz : false;
|
|
528
|
+
}
|
|
529
|
+
b6(a, b, c) {
|
|
530
|
+
this.b9(a, b, c);
|
|
402
531
|
if (this.propertyChanged != null) {
|
|
403
532
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
404
533
|
}
|
|
405
534
|
}
|
|
406
|
-
|
|
535
|
+
b9(a, b, c) {
|
|
407
536
|
switch (a) {
|
|
408
537
|
case "PixelScalingRatio":
|
|
409
|
-
this.
|
|
538
|
+
this.ap = this.aq;
|
|
410
539
|
break;
|
|
411
540
|
case "ActualPixelScalingRatio":
|
|
412
541
|
this.s.z();
|
|
@@ -419,28 +548,115 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
419
548
|
case "ViewSize":
|
|
420
549
|
this.s.z();
|
|
421
550
|
break;
|
|
551
|
+
case "Theme":
|
|
552
|
+
if (this.v != null) {
|
|
553
|
+
this.v.c = this.x;
|
|
554
|
+
}
|
|
555
|
+
break;
|
|
556
|
+
case "ColumnOptionsBackground":
|
|
557
|
+
if (this.v != null) {
|
|
558
|
+
this.v.cl = this.ct;
|
|
559
|
+
this.v.cq = this.ct;
|
|
560
|
+
}
|
|
561
|
+
break;
|
|
562
|
+
case "ColumnOptionsTextColor":
|
|
563
|
+
if (this.v != null) {
|
|
564
|
+
this.v.cn = this.cz;
|
|
565
|
+
this.v.cp = this.cz;
|
|
566
|
+
this.v.cb = this.cz;
|
|
567
|
+
this.v.ch = this.cz;
|
|
568
|
+
this.v.ci = this.cz;
|
|
569
|
+
this.v.cj = this.cz;
|
|
570
|
+
}
|
|
571
|
+
break;
|
|
572
|
+
case "ColumnOptionsTextStyle":
|
|
573
|
+
if (this.v != null) {
|
|
574
|
+
this.v.bw = this.ab;
|
|
575
|
+
}
|
|
576
|
+
break;
|
|
577
|
+
case "ColumnOptionsHoverBackgroundColor":
|
|
578
|
+
if (this.v != null) {
|
|
579
|
+
this.v.cg = this.cx;
|
|
580
|
+
}
|
|
581
|
+
break;
|
|
582
|
+
case "ColumnOptionsToolTipBackgroundColor":
|
|
583
|
+
if (this.v != null) {
|
|
584
|
+
this.v.co = this.c0;
|
|
585
|
+
}
|
|
586
|
+
break;
|
|
587
|
+
case "ColumnOptionsHighlightColor":
|
|
588
|
+
if (this.v != null) {
|
|
589
|
+
this.v.cf = this.cw;
|
|
590
|
+
}
|
|
591
|
+
break;
|
|
592
|
+
case "ColumnOptionsSeparatorColor":
|
|
593
|
+
if (this.v != null) {
|
|
594
|
+
this.v.ck = this.cy;
|
|
595
|
+
}
|
|
596
|
+
break;
|
|
597
|
+
case "ColumnOptionsGroupHeaderBackground":
|
|
598
|
+
if (this.v != null) {
|
|
599
|
+
this.v.cc = this.cu;
|
|
600
|
+
}
|
|
601
|
+
break;
|
|
602
|
+
case "ColumnOptionsGroupHeaderTextColor":
|
|
603
|
+
if (this.v != null) {
|
|
604
|
+
this.v.ce = this.cv;
|
|
605
|
+
}
|
|
606
|
+
break;
|
|
607
|
+
case "ColumnOptionsGroupHeaderTextStyle":
|
|
608
|
+
if (this.v != null) {
|
|
609
|
+
this.v.bx = this.aa;
|
|
610
|
+
}
|
|
611
|
+
break;
|
|
612
|
+
case "ColumnOptionsAccentColor":
|
|
613
|
+
if (this.v != null) {
|
|
614
|
+
this.v.b7 = this.cs;
|
|
615
|
+
this.v.b9 = this.cs;
|
|
616
|
+
this.v.ca = this.cs;
|
|
617
|
+
this.v.cr = this.cs;
|
|
618
|
+
}
|
|
619
|
+
break;
|
|
620
|
+
case "ColumnOptionsRowHeight":
|
|
621
|
+
if (this.v != null) {
|
|
622
|
+
this.v.b3 = this.ax;
|
|
623
|
+
}
|
|
624
|
+
break;
|
|
422
625
|
}
|
|
423
626
|
}
|
|
424
627
|
constructor() {
|
|
425
628
|
super();
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
629
|
+
this.a0 = null;
|
|
630
|
+
this.af = true;
|
|
428
631
|
this.propertyChanged = null;
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
632
|
+
this.an = NaN;
|
|
633
|
+
this.am = 1;
|
|
431
634
|
this.j = 2;
|
|
432
635
|
this.i = 0;
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
636
|
+
this.as = 0;
|
|
637
|
+
this.at = 0;
|
|
638
|
+
this.co = null;
|
|
639
|
+
this.ao = DeviceUtils.g(24);
|
|
640
|
+
this.w = 1;
|
|
641
|
+
this.cg = null;
|
|
642
|
+
this.cm = null;
|
|
643
|
+
this.z = null;
|
|
644
|
+
this.ck = null;
|
|
645
|
+
this.cn = null;
|
|
646
|
+
this.cj = null;
|
|
647
|
+
this.cl = null;
|
|
648
|
+
this.ch = null;
|
|
649
|
+
this.ci = null;
|
|
650
|
+
this.y = null;
|
|
651
|
+
this.cf = null;
|
|
652
|
+
this.au = -1;
|
|
653
|
+
this.cr = null;
|
|
654
|
+
this.cq = null;
|
|
655
|
+
this.cp = null;
|
|
656
|
+
this.ac = null;
|
|
657
|
+
this.ae = false;
|
|
442
658
|
this.m = null;
|
|
443
|
-
this.
|
|
659
|
+
this.ad = false;
|
|
444
660
|
this.v = null;
|
|
445
661
|
this.f = null;
|
|
446
662
|
this.dialogOpening = null;
|
|
@@ -451,13 +667,14 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
451
667
|
this._invalidateActions = null;
|
|
452
668
|
this.renderCompleted = null;
|
|
453
669
|
this.s = new GridFilterDialogView(this);
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
670
|
+
this.x = 1;
|
|
671
|
+
this.cr = BrushUtil.l(66, 0, 0, 0);
|
|
672
|
+
this.cq = BrushUtil.l(30, 0, 0, 0);
|
|
673
|
+
this.cp = BrushUtil.l(20, 0, 0, 0);
|
|
457
674
|
}
|
|
458
|
-
|
|
675
|
+
ca(a, b, c) {
|
|
459
676
|
this.s.v(a, b, c);
|
|
460
|
-
this.
|
|
677
|
+
this.b3();
|
|
461
678
|
}
|
|
462
679
|
get n() {
|
|
463
680
|
return this.m;
|
|
@@ -466,68 +683,96 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
466
683
|
let b = this.m;
|
|
467
684
|
this.m = a;
|
|
468
685
|
if (this.m != b) {
|
|
469
|
-
this.
|
|
686
|
+
this.b2(b, this.m);
|
|
470
687
|
}
|
|
471
688
|
}
|
|
472
|
-
|
|
473
|
-
this.
|
|
689
|
+
b2(a, b) {
|
|
690
|
+
this.ad = true;
|
|
474
691
|
}
|
|
475
|
-
|
|
476
|
-
NativeUIComponent.
|
|
692
|
+
b3() {
|
|
693
|
+
NativeUIComponent.av(this.s.p(), 18, (a) => {
|
|
477
694
|
let b = a;
|
|
478
695
|
this.v = b;
|
|
479
|
-
this.v.
|
|
480
|
-
this.v.
|
|
481
|
-
this.v.
|
|
482
|
-
this.v.
|
|
696
|
+
this.v.b2 = 16;
|
|
697
|
+
this.v.b8 = BrushUtil.l(0, 0, 0, 0);
|
|
698
|
+
this.v.v = false;
|
|
699
|
+
this.v.br = runOn(this, this.bt);
|
|
700
|
+
this.v.bp = runOn(this, this.bs);
|
|
701
|
+
this.v.b0 = false;
|
|
483
702
|
this.s.r(this.v);
|
|
484
|
-
this.v.c =
|
|
485
|
-
this.v.
|
|
703
|
+
this.v.c = this.x;
|
|
704
|
+
this.v.cl = this.ct;
|
|
705
|
+
this.v.cq = this.ct;
|
|
706
|
+
this.v.cn = this.cz;
|
|
707
|
+
this.v.ce = this.cv;
|
|
708
|
+
this.v.cp = this.cz;
|
|
709
|
+
this.v.cb = this.cz;
|
|
710
|
+
this.v.ch = this.cz;
|
|
711
|
+
this.v.ci = this.cz;
|
|
712
|
+
this.v.cj = this.cz;
|
|
713
|
+
this.v.bw = this.ab;
|
|
714
|
+
this.v.cg = this.cx;
|
|
715
|
+
this.v.co = this.c0;
|
|
716
|
+
this.v.cf = this.cw;
|
|
717
|
+
this.v.ck = this.cy;
|
|
718
|
+
this.v.cc = this.cu;
|
|
719
|
+
this.v.bx = this.aa;
|
|
720
|
+
this.v.b7 = this.cs;
|
|
721
|
+
this.v.b9 = this.cs;
|
|
722
|
+
this.v.ca = this.cs;
|
|
723
|
+
this.v.cr = this.cs;
|
|
724
|
+
this.v.b3 = this.ax;
|
|
725
|
+
this.v.b4 = this.n;
|
|
486
726
|
});
|
|
487
727
|
}
|
|
488
|
-
|
|
489
|
-
if (this.
|
|
490
|
-
this.
|
|
491
|
-
this.v.
|
|
728
|
+
bt(a, b) {
|
|
729
|
+
if (this.ad) {
|
|
730
|
+
this.ad = false;
|
|
731
|
+
this.v.b4 = this.n;
|
|
492
732
|
}
|
|
493
733
|
if (this.n != null) {
|
|
494
734
|
if (this.n.grid != null) {
|
|
495
|
-
this.n.grid.
|
|
735
|
+
this.n.grid.we();
|
|
496
736
|
}
|
|
497
|
-
this.n.
|
|
737
|
+
this.n.o5();
|
|
498
738
|
}
|
|
499
739
|
if (this.dialogOpening != null) {
|
|
500
740
|
let c = new GridFilterDialogOpeningEventArgs();
|
|
501
741
|
this.dialogOpening(this, c);
|
|
502
742
|
}
|
|
503
743
|
}
|
|
504
|
-
|
|
744
|
+
bs(a, b) {
|
|
745
|
+
if (this.ae) {
|
|
746
|
+
this.by();
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
bv(a, b) {
|
|
505
750
|
switch (b.propertyName) {
|
|
506
751
|
case "IsHidden": break;
|
|
507
752
|
}
|
|
508
753
|
}
|
|
509
|
-
|
|
754
|
+
b4() {
|
|
510
755
|
}
|
|
511
|
-
|
|
512
|
-
a.onModified = delegateRemove(a.onModified, runOn(this, this.
|
|
756
|
+
b5(a, b) {
|
|
757
|
+
a.onModified = delegateRemove(a.onModified, runOn(this, this.b8));
|
|
513
758
|
if (b) {
|
|
514
|
-
this.
|
|
759
|
+
this.cc();
|
|
515
760
|
}
|
|
516
761
|
else {
|
|
517
|
-
this.
|
|
762
|
+
this.cb(a, true);
|
|
518
763
|
}
|
|
519
764
|
this.f = null;
|
|
520
765
|
}
|
|
521
|
-
|
|
766
|
+
bw() {
|
|
522
767
|
this.s.s();
|
|
523
|
-
if (this.
|
|
768
|
+
if (this.ac == null) {
|
|
524
769
|
let a = new AnimationKeyFrameEffectTiming();
|
|
525
770
|
a.g = 200;
|
|
526
771
|
a.b = 0;
|
|
527
|
-
this.
|
|
772
|
+
this.ac = KeyFrameAnimationFactory.f.c(this.s.a(a).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
528
773
|
}
|
|
529
774
|
}
|
|
530
|
-
|
|
775
|
+
cd() {
|
|
531
776
|
if (this.filterChanged != null) {
|
|
532
777
|
this.filterChanged(this, ((() => {
|
|
533
778
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -536,7 +781,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
536
781
|
})()));
|
|
537
782
|
}
|
|
538
783
|
}
|
|
539
|
-
|
|
784
|
+
cc() {
|
|
540
785
|
if (this.filterChanged != null) {
|
|
541
786
|
this.filterChanged(this, ((() => {
|
|
542
787
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -545,7 +790,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
545
790
|
})()));
|
|
546
791
|
}
|
|
547
792
|
}
|
|
548
|
-
|
|
793
|
+
cb(a, b) {
|
|
549
794
|
let c = this.e(a);
|
|
550
795
|
if (b) {
|
|
551
796
|
if (this.filterChanged != null) {
|
|
@@ -589,7 +834,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
589
834
|
if (e == null) {
|
|
590
835
|
e = b;
|
|
591
836
|
}
|
|
592
|
-
if (this.
|
|
837
|
+
if (this.al(a, a.f._inner[f])) {
|
|
593
838
|
continue;
|
|
594
839
|
}
|
|
595
840
|
e.add(this.d(a.f._inner[f]));
|
|
@@ -599,7 +844,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
599
844
|
}
|
|
600
845
|
return b;
|
|
601
846
|
}
|
|
602
|
-
|
|
847
|
+
al(a, b) {
|
|
603
848
|
let c = 0;
|
|
604
849
|
for (let d = 0; d < b.e.length; d++) {
|
|
605
850
|
if (b.e[d] == b.l) {
|
|
@@ -616,14 +861,14 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
616
861
|
return false;
|
|
617
862
|
}
|
|
618
863
|
g(a, b, c, d) {
|
|
619
|
-
let e = this.
|
|
864
|
+
let e = this.az(c, d);
|
|
620
865
|
if (a > e) {
|
|
621
866
|
b.e();
|
|
622
867
|
return b.d();
|
|
623
868
|
}
|
|
624
869
|
return null;
|
|
625
870
|
}
|
|
626
|
-
|
|
871
|
+
az(a, b) {
|
|
627
872
|
let c = a.c(b);
|
|
628
873
|
if (c == null) {
|
|
629
874
|
return 0;
|
|
@@ -631,7 +876,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
631
876
|
return a.e.indexOf(c);
|
|
632
877
|
}
|
|
633
878
|
h(a, b, c, d) {
|
|
634
|
-
let e = this.
|
|
879
|
+
let e = this.az(c, d);
|
|
635
880
|
if (a < e) {
|
|
636
881
|
let f = c.b(d);
|
|
637
882
|
let g = new ColumnFilterConditionGroup();
|
|
@@ -650,30 +895,30 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
650
895
|
c(a) {
|
|
651
896
|
return EnumUtil.getEnumValue(ColumnComparisonConditionOperatorType_$type, EnumUtil.parse(ColumnComparisonConditionOperatorType_$type, a, true));
|
|
652
897
|
}
|
|
653
|
-
|
|
654
|
-
this.
|
|
898
|
+
b8(a) {
|
|
899
|
+
this.cb(a, false);
|
|
655
900
|
}
|
|
656
901
|
t(a, b) {
|
|
657
902
|
let c = new GridFilterDialogViewModel();
|
|
658
903
|
if (a != null) {
|
|
659
|
-
this.
|
|
904
|
+
this.bu(c, a, b);
|
|
660
905
|
}
|
|
661
906
|
else {
|
|
662
907
|
let d = new GridFilterDialogViewModelRow();
|
|
663
908
|
d.f = b;
|
|
664
909
|
d.e = GridFilterDialog.a(b);
|
|
665
910
|
d.d = GridFilterDialog.b(b);
|
|
666
|
-
d.l = GridFilterDialog.
|
|
911
|
+
d.l = GridFilterDialog.bk(b[0]);
|
|
667
912
|
c.f.add(d);
|
|
668
913
|
}
|
|
669
914
|
return c;
|
|
670
915
|
}
|
|
671
|
-
|
|
916
|
+
bu(a, b, c) {
|
|
672
917
|
if (b.isGroup()) {
|
|
673
918
|
let d = b;
|
|
674
919
|
for (let e = 0; e < d.count; e++) {
|
|
675
920
|
let f = d.item(e);
|
|
676
|
-
this.
|
|
921
|
+
this.bu(a, f, c);
|
|
677
922
|
}
|
|
678
923
|
}
|
|
679
924
|
else {
|
|
@@ -682,24 +927,24 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
682
927
|
}
|
|
683
928
|
u(a, b) {
|
|
684
929
|
let c = new GridFilterDialogViewModelRow();
|
|
685
|
-
c.l = GridFilterDialog.
|
|
930
|
+
c.l = GridFilterDialog.bk(a.operator);
|
|
686
931
|
c.f = b;
|
|
687
932
|
c.e = GridFilterDialog.a(b);
|
|
688
|
-
c.i = GridFilterDialog.
|
|
689
|
-
c.j = GridFilterDialog.
|
|
933
|
+
c.i = GridFilterDialog.a2(GridFilterDialog.ay(a.operator), a.operator, a);
|
|
934
|
+
c.j = GridFilterDialog.a3(GridFilterDialog.ay(a.operator), a.operator, a);
|
|
690
935
|
c.d = GridFilterDialog.b(b);
|
|
691
936
|
return c;
|
|
692
937
|
}
|
|
693
|
-
static
|
|
938
|
+
static ay(a) {
|
|
694
939
|
return ColumnComparisonFilterCondition.getOperandNumber(a);
|
|
695
940
|
}
|
|
696
|
-
static
|
|
941
|
+
static a2(a, b, c) {
|
|
697
942
|
if (a == 0) {
|
|
698
943
|
return "";
|
|
699
944
|
}
|
|
700
945
|
return c.value != null ? c.value.toString() : "";
|
|
701
946
|
}
|
|
702
|
-
static
|
|
947
|
+
static a3(a, b, c) {
|
|
703
948
|
return "";
|
|
704
949
|
}
|
|
705
950
|
static b(a) {
|
|
@@ -712,59 +957,56 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
712
957
|
}
|
|
713
958
|
return b;
|
|
714
959
|
}
|
|
715
|
-
static
|
|
960
|
+
static bk(a) {
|
|
716
961
|
return EnumUtil.getName(ColumnComparisonConditionOperatorType_$type, a);
|
|
717
962
|
}
|
|
718
|
-
|
|
963
|
+
b1(a, b) {
|
|
719
964
|
this.s.w(a, b);
|
|
720
965
|
}
|
|
721
|
-
|
|
966
|
+
b0() {
|
|
722
967
|
this.s.u();
|
|
723
968
|
}
|
|
724
|
-
|
|
725
|
-
let d = Geometry.a("M12 14c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 14 12 14 z M12 8c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 8 12 8z M12 16 c1.1 0 2 0.9 2 2s -0.9 2 -2 2 s-2 -0.9 -2 -2 S10.9 16 12 16z");
|
|
726
|
-
c.an = d;
|
|
727
|
-
c._fill = this.bw == null ? GridStyleRepository.a5 : this.bw;
|
|
969
|
+
bz(a, b, c) {
|
|
728
970
|
}
|
|
729
|
-
|
|
730
|
-
this.
|
|
971
|
+
ce() {
|
|
972
|
+
this.ae = false;
|
|
731
973
|
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
732
974
|
return;
|
|
733
975
|
}
|
|
734
|
-
if (this.
|
|
735
|
-
this.
|
|
736
|
-
if (this.
|
|
737
|
-
this.
|
|
976
|
+
if (this.ai) {
|
|
977
|
+
this.bw();
|
|
978
|
+
if (this.ac.playbackRate < 0) {
|
|
979
|
+
this.ac.reverse();
|
|
738
980
|
}
|
|
739
981
|
else {
|
|
740
|
-
this.
|
|
982
|
+
this.ac.play();
|
|
741
983
|
}
|
|
742
|
-
this.
|
|
984
|
+
this.ac.finished.f((a) => this.ac.commitStyles());
|
|
743
985
|
}
|
|
744
986
|
else {
|
|
745
|
-
NativeUI.
|
|
987
|
+
NativeUI.ab(this.s.q, 1);
|
|
746
988
|
}
|
|
747
989
|
}
|
|
748
|
-
|
|
749
|
-
this.
|
|
750
|
-
if (!this.
|
|
990
|
+
by() {
|
|
991
|
+
this.ae = true;
|
|
992
|
+
if (!this.aj) {
|
|
751
993
|
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
752
994
|
return;
|
|
753
995
|
}
|
|
754
|
-
if (this.
|
|
755
|
-
this.
|
|
756
|
-
if (this.
|
|
757
|
-
this.
|
|
996
|
+
if (this.ai) {
|
|
997
|
+
this.bw();
|
|
998
|
+
if (this.ac.playbackRate < 0) {
|
|
999
|
+
this.ac.play();
|
|
758
1000
|
}
|
|
759
1001
|
else {
|
|
760
|
-
this.
|
|
1002
|
+
this.ac.reverse();
|
|
761
1003
|
}
|
|
762
|
-
this.
|
|
1004
|
+
this.ac.finished.f((a) => this.ac.commitStyles());
|
|
763
1005
|
}
|
|
764
1006
|
else {
|
|
765
|
-
NativeUI.
|
|
1007
|
+
NativeUI.ab(this.s.q, 0);
|
|
766
1008
|
}
|
|
767
|
-
this.
|
|
1009
|
+
this.ae = false;
|
|
768
1010
|
}
|
|
769
1011
|
}
|
|
770
1012
|
get commandCompleted() {
|
|
@@ -779,22 +1021,25 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
779
1021
|
set invalidateActions(a) {
|
|
780
1022
|
this._invalidateActions = a;
|
|
781
1023
|
}
|
|
782
|
-
|
|
1024
|
+
b7() {
|
|
783
1025
|
if (this.renderCompleted != null) {
|
|
784
1026
|
this.renderCompleted(this, new FilterDialogRenderCompletedEventArgs());
|
|
785
1027
|
}
|
|
786
1028
|
}
|
|
787
|
-
|
|
1029
|
+
bx() {
|
|
788
1030
|
if (this.v != null) {
|
|
789
|
-
if (this.n != null && this.v.
|
|
790
|
-
this.v.
|
|
1031
|
+
if (this.n != null && this.v.b4 != this.n) {
|
|
1032
|
+
this.v.b4 = this.n;
|
|
791
1033
|
}
|
|
792
1034
|
}
|
|
793
1035
|
}
|
|
1036
|
+
get ah() {
|
|
1037
|
+
return this.v.b4 != null;
|
|
1038
|
+
}
|
|
794
1039
|
getDesiredToolbarActions() {
|
|
795
|
-
if (!GridFilterDialog.
|
|
796
|
-
GridFilterDialog.
|
|
797
|
-
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.
|
|
1040
|
+
if (!GridFilterDialog.ag) {
|
|
1041
|
+
GridFilterDialog.ag = true;
|
|
1042
|
+
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.bj);
|
|
798
1043
|
}
|
|
799
1044
|
let a = new ToolActionIconMenuInfo();
|
|
800
1045
|
a.name = "DataGridColumnOptionsPlaceholder";
|
|
@@ -829,7 +1074,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
829
1074
|
}
|
|
830
1075
|
dismissContextAccessor(a) {
|
|
831
1076
|
}
|
|
832
|
-
|
|
1077
|
+
ak(e_) {
|
|
833
1078
|
let a = e_.originalEvent.srcElement;
|
|
834
1079
|
let b = e_.originalEvent.target;
|
|
835
1080
|
if (this.s.m.rootWrapper.getNativeElement().contains(a) || this.s.m.rootWrapper.getNativeElement().contains(b)) {
|
|
@@ -839,8 +1084,8 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
839
1084
|
}
|
|
840
1085
|
}
|
|
841
1086
|
GridFilterDialog.$t = /*@__PURE__*/ markType(GridFilterDialog, 'GridFilterDialog', Base.$, [INotifyPropertyChanged_$type, IToolbarTarget_$type]);
|
|
842
|
-
GridFilterDialog.
|
|
843
|
-
GridFilterDialog.
|
|
1087
|
+
GridFilterDialog.ag = false;
|
|
1088
|
+
GridFilterDialog.bj = "M12 14c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 14 12 14 z M12 8c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 8 12 8z M12 16 c1.1 0 2 0.9 2 2s -0.9 2 -2 2 s-2 -0.9 -2 -2 S10.9 16 12 16z";
|
|
844
1089
|
return GridFilterDialog;
|
|
845
1090
|
})();
|
|
846
1091
|
export { GridFilterDialog };
|
|
@@ -852,7 +1097,7 @@ let GridFilterDialogViewModel = /*@__PURE__*/ (() => {
|
|
|
852
1097
|
a.f = b;
|
|
853
1098
|
a.e = GridFilterDialog.a(b);
|
|
854
1099
|
a.d = GridFilterDialog.b(b);
|
|
855
|
-
a.l = GridFilterDialog.
|
|
1100
|
+
a.l = GridFilterDialog.bk(b[0]);
|
|
856
1101
|
this.f.add(a);
|
|
857
1102
|
}
|
|
858
1103
|
constructor() {
|