igniteui-angular-data-grids 20.0.0 → 20.0.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-angular-data-grids.umd.js +3900 -3533
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +3 -3
- package/esm2015/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm2015/lib/CanvasGridCellBase.js +1 -1
- package/esm2015/lib/CanvasImageCellPresenter.js +6 -6
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +20 -15
- package/esm2015/lib/CanvasTextHeaderCell.js +4 -4
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CellPresenterBase.js +5 -5
- package/esm2015/lib/CheckboxListView_combined.js +479 -435
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +2442 -2384
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +4 -4
- package/esm2015/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -6
- package/esm2015/lib/EditorCellPresenter.js +19 -19
- package/esm2015/lib/FilterCellPresenter.js +11 -11
- package/esm2015/lib/FormatCellEventArgs.js +31 -0
- package/esm2015/lib/GridCellBase.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +9 -4
- package/esm2015/lib/GridSortIndicatorView_combined.js +136 -120
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCellPresenter.js +6 -6
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCellPresenter.js +9 -6
- package/esm2015/lib/PropertyEditorView_combined.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +20 -15
- package/esm2015/lib/TextHeaderCell.js +6 -5
- package/esm2015/lib/TextHeaderCellPresenter.js +16 -16
- package/esm2015/lib/igx-cell-info.js +58 -49
- package/esm2015/lib/igx-checkbox-list-component.js +58 -55
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +121 -97
- package/esm2015/lib/igx-data-grid-sort-indicator-component.js +20 -12
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-format-cell-event-args.js +82 -0
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +3 -3
- package/esm5/lib/CanvasContentCellModelHelper.js +4 -4
- package/esm5/lib/CanvasDateTimeCellPresenter.js +10 -6
- package/esm5/lib/CanvasGridCellBase.js +1 -1
- package/esm5/lib/CanvasImageCellPresenter.js +6 -6
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -6
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +20 -15
- package/esm5/lib/CanvasTextHeaderCell.js +4 -4
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +9 -9
- package/esm5/lib/CellPresenterBase.js +5 -5
- package/esm5/lib/CheckboxListView_combined.js +461 -413
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +2343 -2281
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +4 -4
- package/esm5/lib/DataGridCellLayoutPanel.js +8 -8
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -6
- package/esm5/lib/EditorCellPresenter.js +19 -19
- package/esm5/lib/FilterCellPresenter.js +11 -11
- package/esm5/lib/FormatCellEventArgs.js +37 -0
- package/esm5/lib/GridCellBase.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +9 -4
- package/esm5/lib/GridSortIndicatorView_combined.js +135 -115
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCellPresenter.js +6 -6
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCellPresenter.js +9 -6
- package/esm5/lib/PropertyEditorView_combined.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +20 -15
- package/esm5/lib/TextHeaderCell.js +6 -5
- package/esm5/lib/TextHeaderCellPresenter.js +16 -16
- package/esm5/lib/igx-cell-info.js +62 -49
- package/esm5/lib/igx-checkbox-list-component.js +62 -55
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +126 -97
- package/esm5/lib/igx-data-grid-sort-indicator-component.js +24 -12
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-format-cell-event-args.js +112 -0
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +3969 -3666
- package/fesm5/igniteui-angular-data-grids.js +3900 -3535
- package/lib/CanvasTextCellPresenter.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +127 -120
- package/lib/ColumnFilterCondition_combined.d.ts +643 -636
- package/lib/FormatCellEventArgs.d.ts +15 -0
- package/lib/GridSortIndicatorView_combined.d.ts +41 -38
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCellPresenter.d.ts +1 -0
- package/lib/igx-cell-info.d.ts +5 -0
- package/lib/igx-checkbox-list-component.d.ts +2 -0
- package/lib/igx-data-grid-column-component.d.ts +10 -1
- package/lib/igx-data-grid-sort-indicator-component.d.ts +4 -1
- package/lib/igx-format-cell-event-args.d.ts +45 -0
- package/package.json +4 -5
- package/public_api.d.ts +2 -0
|
@@ -35,7 +35,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
35
35
|
let column_ = TypeRegistrar.create("IgxTextColumnComponent");
|
|
36
36
|
let b = (column_._implementation);
|
|
37
37
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
38
|
-
b.
|
|
38
|
+
b.lp = a;
|
|
39
39
|
return b;
|
|
40
40
|
}
|
|
41
41
|
return null;
|
|
@@ -45,7 +45,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
45
45
|
let column_ = TypeRegistrar.create("IgxNumericColumnComponent");
|
|
46
46
|
let b = (column_._implementation);
|
|
47
47
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
48
|
-
b.
|
|
48
|
+
b.lp = a;
|
|
49
49
|
return b;
|
|
50
50
|
}
|
|
51
51
|
return null;
|
|
@@ -55,7 +55,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
55
55
|
let column_ = TypeRegistrar.create("IgxDateTimeColumnComponent");
|
|
56
56
|
let b = (column_._implementation);
|
|
57
57
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
58
|
-
b.
|
|
58
|
+
b.lp = a;
|
|
59
59
|
return b;
|
|
60
60
|
}
|
|
61
61
|
return null;
|
|
@@ -65,7 +65,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
65
65
|
let column_ = TypeRegistrar.create("IgxImageColumnComponent");
|
|
66
66
|
let b = (column_._implementation);
|
|
67
67
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
68
|
-
b.
|
|
68
|
+
b.lp = a;
|
|
69
69
|
return b;
|
|
70
70
|
}
|
|
71
71
|
return null;
|
|
@@ -75,7 +75,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
75
75
|
let column_ = TypeRegistrar.create("IgxTemplateColumnComponent");
|
|
76
76
|
let b = (column_._implementation);
|
|
77
77
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
78
|
-
b.
|
|
78
|
+
b.lp = a;
|
|
79
79
|
return b;
|
|
80
80
|
}
|
|
81
81
|
return null;
|
|
@@ -85,7 +85,7 @@ export let GridExternalWrapper = /*@__PURE__*/ (() => {
|
|
|
85
85
|
let column_ = TypeRegistrar.create("IgxComboBoxColumnComponent");
|
|
86
86
|
let b = (column_._implementation);
|
|
87
87
|
let c = this.renderer.getExternal(b.header, this.renderer.rootWrapper, this.a);
|
|
88
|
-
b.
|
|
88
|
+
b.lp = a;
|
|
89
89
|
return b;
|
|
90
90
|
}
|
|
91
91
|
return null;
|
|
@@ -9,6 +9,7 @@ import { Path } from "igniteui-angular-core";
|
|
|
9
9
|
import { KeyFrameAnimationFactory } from "igniteui-angular-core";
|
|
10
10
|
import { AnimationKeyFrameEffect } from "igniteui-angular-core";
|
|
11
11
|
import { AnimationKeyFrameEffectTiming } from "igniteui-angular-core";
|
|
12
|
+
import { NativeUI } from "igniteui-angular-core";
|
|
12
13
|
import { NativeUIComponent } from "igniteui-angular-core";
|
|
13
14
|
import { CellContentHorizontalAlignment_$type } from "./CellContentHorizontalAlignment";
|
|
14
15
|
import { intDivide, isNaN_ } from "igniteui-angular-core";
|
|
@@ -30,7 +31,6 @@ import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterConditi
|
|
|
30
31
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
31
32
|
import { Geometry } from "igniteui-angular-core";
|
|
32
33
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
33
|
-
import { NativeUI } from "igniteui-angular-core";
|
|
34
34
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
35
35
|
import { ToolActionIconMenuInfo } from "igniteui-angular-core";
|
|
36
36
|
import { SvgIconRegistry } from "igniteui-angular-core";
|
|
@@ -92,6 +92,7 @@ export let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
92
92
|
this.m.rootWrapper.addClass("ig-filter-icon");
|
|
93
93
|
this.m.rootWrapper.setStyleProperty("cursor", "pointer");
|
|
94
94
|
this.q = this.m.rootWrapper;
|
|
95
|
+
NativeUI.y(this.q, 0);
|
|
95
96
|
let e = this.h;
|
|
96
97
|
let f = Math.round(d.rootWrapper.width());
|
|
97
98
|
let g = Math.round(d.rootWrapper.height());
|
|
@@ -435,7 +436,7 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
get ac() {
|
|
438
|
-
return this.v.bx;
|
|
439
|
+
return this.v != null ? this.v.bx : false;
|
|
439
440
|
}
|
|
440
441
|
bj(a, b, c) {
|
|
441
442
|
this.bm(a, b, c);
|
|
@@ -500,7 +501,7 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
500
501
|
if (this.n.grid != null) {
|
|
501
502
|
this.n.grid.va();
|
|
502
503
|
}
|
|
503
|
-
this.n.
|
|
504
|
+
this.n.mz();
|
|
504
505
|
}
|
|
505
506
|
if (this.dialogOpening != null) {
|
|
506
507
|
let c = new GridFilterDialogOpeningEventArgs();
|
|
@@ -734,7 +735,7 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
734
735
|
}
|
|
735
736
|
br() {
|
|
736
737
|
this.y = false;
|
|
737
|
-
if (NativeUI.g(this.s.q) == 1) {
|
|
738
|
+
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
738
739
|
return;
|
|
739
740
|
}
|
|
740
741
|
if (this.ab) {
|
|
@@ -754,6 +755,9 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
754
755
|
bb() {
|
|
755
756
|
this.y = true;
|
|
756
757
|
if (!this.ac) {
|
|
758
|
+
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
757
761
|
if (this.ab) {
|
|
758
762
|
this.a9();
|
|
759
763
|
if (this.w.playbackRate < 0) {
|
|
@@ -805,6 +809,7 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
805
809
|
a.iconName = "DotDotDot";
|
|
806
810
|
a.iconViewBoxWidth = 24;
|
|
807
811
|
a.iconViewBoxHeight = 24;
|
|
812
|
+
a.iconStrokeWidth = 0;
|
|
808
813
|
a.paddingBottom = 0;
|
|
809
814
|
a.paddingTop = 0;
|
|
810
815
|
a.paddingRight = 0;
|
|
@@ -17,6 +17,7 @@ import { CanvasViewRenderer } from "igniteui-angular-core";
|
|
|
17
17
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
18
18
|
import { truncate, isNaN_ } from "igniteui-angular-core";
|
|
19
19
|
import { ColumnSortDirection_$type } from "./ColumnSortDirection";
|
|
20
|
+
import { NativeUI } from "igniteui-angular-core";
|
|
20
21
|
import { EasingFunctions } from "igniteui-angular-core";
|
|
21
22
|
import { PathFigure } from "igniteui-angular-core";
|
|
22
23
|
import { LineSegment } from "igniteui-angular-core";
|
|
@@ -95,12 +96,12 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
95
96
|
}
|
|
96
97
|
this.c.l(0, 0, this.k, this.j);
|
|
97
98
|
this.c.aa();
|
|
98
|
-
this.c.ab(this.a.
|
|
99
|
+
this.c.ab(this.a.x(), this.a.x());
|
|
99
100
|
for (let c = 0; c < this.d.count; c++) {
|
|
100
101
|
this.c.k(this.d._inner[c].j);
|
|
101
102
|
let d = this.y();
|
|
102
|
-
if (this.a.
|
|
103
|
-
d = this.a.
|
|
103
|
+
if (this.a.a3 != null) {
|
|
104
|
+
d = this.a.a3;
|
|
104
105
|
}
|
|
105
106
|
this.d._inner[c]._stroke = d;
|
|
106
107
|
this.c.t(this.d._inner[c]);
|
|
@@ -109,19 +110,19 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
109
110
|
if (this.c.d && this.g != 1) {
|
|
110
111
|
this.c.z();
|
|
111
112
|
}
|
|
112
|
-
this.a.
|
|
113
|
+
this.a.aw();
|
|
113
114
|
}
|
|
114
115
|
u() {
|
|
115
116
|
this.t();
|
|
116
117
|
}
|
|
117
118
|
n() {
|
|
118
|
-
this.a.
|
|
119
|
+
this.a.aq(this.k, this.j, this.d);
|
|
119
120
|
}
|
|
120
121
|
v() {
|
|
121
122
|
if (this.d.count != 1) {
|
|
122
123
|
return;
|
|
123
124
|
}
|
|
124
|
-
this.d._inner[0]._opacity = this.a.
|
|
125
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
125
126
|
let a = { $type: Point_$type, x: this.k / 2, y: this.j / 2 };
|
|
126
127
|
let b = new TransformGroup();
|
|
127
128
|
b.j.add(((() => {
|
|
@@ -132,7 +133,7 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
132
133
|
})()));
|
|
133
134
|
b.j.add(((() => {
|
|
134
135
|
let $ret = new RotateTransform();
|
|
135
|
-
$ret.j = this.a.
|
|
136
|
+
$ret.j = this.a.s;
|
|
136
137
|
return $ret;
|
|
137
138
|
})()));
|
|
138
139
|
b.j.add(((() => {
|
|
@@ -144,23 +145,23 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
144
145
|
this.d._inner[0].j = b;
|
|
145
146
|
}
|
|
146
147
|
o() {
|
|
147
|
-
this.a.
|
|
148
|
+
this.a.ar(this.k, this.j, this.d);
|
|
148
149
|
}
|
|
149
150
|
w() {
|
|
150
151
|
if (this.d.count != 4) {
|
|
151
152
|
return;
|
|
152
153
|
}
|
|
153
|
-
this.d._inner[0]._opacity = this.a.
|
|
154
|
-
this.d._inner[1]._opacity = this.a.
|
|
155
|
-
this.d._inner[2]._opacity = this.a.
|
|
156
|
-
this.d._inner[3]._opacity = this.a.
|
|
154
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
155
|
+
this.d._inner[1]._opacity = this.a.t;
|
|
156
|
+
this.d._inner[2]._opacity = this.a.z;
|
|
157
|
+
this.d._inner[3]._opacity = this.a.z;
|
|
157
158
|
}
|
|
158
159
|
p() {
|
|
159
|
-
this.a.
|
|
160
|
+
this.a.as(this.k, this.j, this.d);
|
|
160
161
|
}
|
|
161
162
|
x() {
|
|
162
|
-
this.d._inner[0]._opacity = this.a.
|
|
163
|
-
this.d._inner[1]._opacity = this.a.
|
|
163
|
+
this.d._inner[0]._opacity = this.a.t;
|
|
164
|
+
this.d._inner[1]._opacity = this.a.z;
|
|
164
165
|
}
|
|
165
166
|
r(a) {
|
|
166
167
|
if (a == null) {
|
|
@@ -169,7 +170,7 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
169
170
|
this.c = null;
|
|
170
171
|
return;
|
|
171
172
|
}
|
|
172
|
-
this.g = (isNaN_(this.a.
|
|
173
|
+
this.g = (isNaN_(this.a.y) ? this.a.r : this.a.y);
|
|
173
174
|
let b = a;
|
|
174
175
|
this.l = b;
|
|
175
176
|
this.a.j.u(this.l);
|
|
@@ -195,26 +196,26 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
195
196
|
this.m = h;
|
|
196
197
|
let i = this.l.get2DCanvasContext(this.m);
|
|
197
198
|
this.c = new RenderingContext(new CanvasViewRenderer(), i);
|
|
198
|
-
if (isNaN_(this.a.
|
|
199
|
-
this.a.
|
|
200
|
-
this.g = this.a.
|
|
199
|
+
if (isNaN_(this.a.y)) {
|
|
200
|
+
this.a.r = window.devicePixelRatio;
|
|
201
|
+
this.g = this.a.r;
|
|
201
202
|
}
|
|
202
203
|
this.t();
|
|
203
204
|
}
|
|
204
205
|
s(a, b) {
|
|
205
|
-
if (isNaN_(this.a.
|
|
206
|
-
this.a.
|
|
207
|
-
this.g = this.a.
|
|
206
|
+
if (isNaN_(this.a.y)) {
|
|
207
|
+
this.a.r = window.devicePixelRatio;
|
|
208
|
+
this.g = this.a.r;
|
|
208
209
|
}
|
|
209
210
|
this.k = a;
|
|
210
211
|
this.j = b;
|
|
211
212
|
this.t();
|
|
212
213
|
}
|
|
213
214
|
q() {
|
|
214
|
-
if (isNaN_(this.a.
|
|
215
|
-
this.a.
|
|
216
|
-
if (this.g != this.a.
|
|
217
|
-
this.g = this.a.
|
|
215
|
+
if (isNaN_(this.a.y)) {
|
|
216
|
+
this.a.r = window.devicePixelRatio;
|
|
217
|
+
if (this.g != this.a.r) {
|
|
218
|
+
this.g = this.a.r;
|
|
218
219
|
this.t();
|
|
219
220
|
}
|
|
220
221
|
}
|
|
@@ -233,45 +234,46 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
233
234
|
class GridSortIndicator extends Base {
|
|
234
235
|
constructor() {
|
|
235
236
|
super();
|
|
236
|
-
this.
|
|
237
|
+
this.ad = null;
|
|
237
238
|
this.a = 0;
|
|
238
|
-
this.
|
|
239
|
+
this.a2 = null;
|
|
239
240
|
this.k = true;
|
|
240
241
|
this.propertyChanged = null;
|
|
241
242
|
this.g = null;
|
|
242
243
|
this.h = null;
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
244
|
+
this.q = NaN;
|
|
245
|
+
this.o = 1;
|
|
245
246
|
this.e = 0;
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.x = 0;
|
|
249
|
-
this.t = 0;
|
|
247
|
+
this.l = false;
|
|
248
|
+
this.p = 0;
|
|
250
249
|
this.s = 0;
|
|
251
250
|
this.z = 0;
|
|
252
|
-
this.
|
|
251
|
+
this.v = 0;
|
|
253
252
|
this.u = 0;
|
|
253
|
+
this.ab = 0;
|
|
254
254
|
this.aa = 0;
|
|
255
|
+
this.w = 0;
|
|
256
|
+
this.ac = 0;
|
|
255
257
|
this.c = null;
|
|
256
258
|
this.renderCompleted = null;
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
259
|
+
this.t = 0;
|
|
260
|
+
this.z = 0.5;
|
|
261
|
+
this.s = 180;
|
|
260
262
|
this.c = new GridSortIndicatorView(this);
|
|
261
263
|
this.g = new DoubleAnimator(0, 1, 400);
|
|
262
264
|
this.h = new DoubleAnimator(0, 1, 400);
|
|
263
265
|
this.g.b = EasingFunctions.cubicEase;
|
|
264
266
|
this.h.b = EasingFunctions.cubicEase;
|
|
265
267
|
let a = this.g;
|
|
266
|
-
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.
|
|
268
|
+
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.ao));
|
|
267
269
|
let b = this.h;
|
|
268
|
-
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.
|
|
270
|
+
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.ap));
|
|
269
271
|
}
|
|
270
|
-
get
|
|
271
|
-
return this.
|
|
272
|
+
get ae() {
|
|
273
|
+
return this.ad;
|
|
272
274
|
}
|
|
273
|
-
set
|
|
274
|
-
this.
|
|
275
|
+
set ae(a) {
|
|
276
|
+
this.ad = a;
|
|
275
277
|
}
|
|
276
278
|
get b() {
|
|
277
279
|
return this.a;
|
|
@@ -280,27 +282,27 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
280
282
|
let b = this.a;
|
|
281
283
|
this.a = a;
|
|
282
284
|
if (b != this.a) {
|
|
283
|
-
this.
|
|
285
|
+
this.av("SortDirection", enumGetBox(ColumnSortDirection_$type, b), enumGetBox(ColumnSortDirection_$type, this.a));
|
|
284
286
|
}
|
|
285
287
|
}
|
|
286
|
-
get
|
|
287
|
-
return this.
|
|
288
|
+
get a3() {
|
|
289
|
+
return this.a2;
|
|
288
290
|
}
|
|
289
|
-
set
|
|
290
|
-
let b = this.
|
|
291
|
-
this.
|
|
292
|
-
if (b != this.
|
|
293
|
-
this.
|
|
291
|
+
set a3(a) {
|
|
292
|
+
let b = this.a2;
|
|
293
|
+
this.a2 = a;
|
|
294
|
+
if (b != this.a2) {
|
|
295
|
+
this.av("IconColor", b, this.a2);
|
|
294
296
|
}
|
|
295
297
|
}
|
|
296
|
-
get
|
|
298
|
+
get m() {
|
|
297
299
|
return this.k;
|
|
298
300
|
}
|
|
299
|
-
set
|
|
301
|
+
set m(a) {
|
|
300
302
|
let b = this.k;
|
|
301
303
|
this.k = a;
|
|
302
304
|
if (b != this.k) {
|
|
303
|
-
this.
|
|
305
|
+
this.av("IsAnimationEnabled", b, this.k);
|
|
304
306
|
}
|
|
305
307
|
}
|
|
306
308
|
get i() {
|
|
@@ -309,21 +311,21 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
309
311
|
get j() {
|
|
310
312
|
return this.h;
|
|
311
313
|
}
|
|
312
|
-
get
|
|
314
|
+
get y() {
|
|
315
|
+
return this.q;
|
|
316
|
+
}
|
|
317
|
+
set y(a) {
|
|
318
|
+
let b = this.q;
|
|
319
|
+
this.q = a;
|
|
320
|
+
this.av("PixelScalingRatio", b, this.q);
|
|
321
|
+
}
|
|
322
|
+
get r() {
|
|
313
323
|
return this.o;
|
|
314
324
|
}
|
|
315
|
-
set
|
|
325
|
+
set r(a) {
|
|
316
326
|
let b = this.o;
|
|
317
327
|
this.o = a;
|
|
318
|
-
this.
|
|
319
|
-
}
|
|
320
|
-
get p() {
|
|
321
|
-
return this.m;
|
|
322
|
-
}
|
|
323
|
-
set p(a) {
|
|
324
|
-
let b = this.m;
|
|
325
|
-
this.m = a;
|
|
326
|
-
this.as("ActualPixelScalingRatio", b, this.m);
|
|
328
|
+
this.av("ActualPixelScalingRatio", b, this.o);
|
|
327
329
|
}
|
|
328
330
|
get f() {
|
|
329
331
|
return this.e;
|
|
@@ -332,29 +334,39 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
332
334
|
let b = this.e;
|
|
333
335
|
this.e = a;
|
|
334
336
|
if (b != this.e) {
|
|
335
|
-
this.
|
|
337
|
+
this.av("SortIndicatorStyle", enumGetBox(SortIndicatorStyle_$type, b), enumGetBox(SortIndicatorStyle_$type, this.e));
|
|
336
338
|
}
|
|
337
339
|
}
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
+
get n() {
|
|
341
|
+
return this.l;
|
|
342
|
+
}
|
|
343
|
+
set n(a) {
|
|
344
|
+
let b = this.l;
|
|
345
|
+
this.l = a;
|
|
346
|
+
if (b != this.l) {
|
|
347
|
+
this.av("IsHitTestVisible", b, this.l);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
av(a, b, c) {
|
|
351
|
+
this.az(a, b, c);
|
|
340
352
|
if (this.propertyChanged != null) {
|
|
341
353
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
342
354
|
}
|
|
343
355
|
}
|
|
344
|
-
get
|
|
345
|
-
return this.
|
|
356
|
+
get t() {
|
|
357
|
+
return this.p;
|
|
346
358
|
}
|
|
347
|
-
set
|
|
348
|
-
let b = this.
|
|
349
|
-
this.
|
|
359
|
+
set t(a) {
|
|
360
|
+
let b = this.p;
|
|
361
|
+
this.p = a;
|
|
350
362
|
if (b != a) {
|
|
351
|
-
this.
|
|
363
|
+
this.av("CurrentOpacity", b, a);
|
|
352
364
|
}
|
|
353
365
|
}
|
|
354
|
-
|
|
366
|
+
az(a, b, c) {
|
|
355
367
|
switch (a) {
|
|
356
368
|
case "PixelScalingRatio":
|
|
357
|
-
this.
|
|
369
|
+
this.r = this.y;
|
|
358
370
|
break;
|
|
359
371
|
case "ActualPixelScalingRatio":
|
|
360
372
|
this.c.u();
|
|
@@ -365,62 +377,65 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
365
377
|
case "SortIndicatorStyle":
|
|
366
378
|
switch (this.f) {
|
|
367
379
|
case 0:
|
|
368
|
-
this.
|
|
380
|
+
this.ax(this.b, false);
|
|
369
381
|
break;
|
|
370
382
|
case 1:
|
|
371
383
|
case 2:
|
|
372
|
-
this.
|
|
384
|
+
this.ay(this.b, false);
|
|
373
385
|
break;
|
|
374
386
|
}
|
|
375
387
|
break;
|
|
376
388
|
case "SortDirection":
|
|
377
389
|
switch (this.f) {
|
|
378
390
|
case 0:
|
|
379
|
-
this.
|
|
391
|
+
this.ax(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
380
392
|
break;
|
|
381
393
|
case 1:
|
|
382
394
|
case 2:
|
|
383
|
-
this.
|
|
395
|
+
this.ay(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
384
396
|
break;
|
|
385
397
|
}
|
|
386
398
|
break;
|
|
399
|
+
case "IsHitTestVisible":
|
|
400
|
+
NativeUI.u(this.c.m, this.n);
|
|
401
|
+
break;
|
|
387
402
|
}
|
|
388
403
|
}
|
|
389
|
-
|
|
404
|
+
ap(a, b) {
|
|
390
405
|
switch (this.f) {
|
|
391
406
|
case 0:
|
|
392
|
-
this.
|
|
407
|
+
this.t = this.v + this.h.o * (this.ab - this.v);
|
|
393
408
|
break;
|
|
394
409
|
case 1:
|
|
395
410
|
case 2:
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
411
|
+
this.t = this.v + this.h.o * (this.ab - this.v);
|
|
412
|
+
this.z = this.w + this.h.o * (this.ac - this.w);
|
|
398
413
|
break;
|
|
399
414
|
}
|
|
400
415
|
this.c.u();
|
|
401
416
|
}
|
|
402
|
-
|
|
403
|
-
this.
|
|
417
|
+
ao(a, b) {
|
|
418
|
+
this.s = this.u + this.g.o * (this.aa - this.u);
|
|
404
419
|
this.c.u();
|
|
405
420
|
}
|
|
406
|
-
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
if (this.
|
|
421
|
+
ax(a, b) {
|
|
422
|
+
this.v = this.t;
|
|
423
|
+
this.u = this.s;
|
|
424
|
+
if (this.m || this.g.f() || this.h.f()) {
|
|
410
425
|
this.g.w();
|
|
411
426
|
this.h.w();
|
|
412
427
|
}
|
|
413
428
|
if (a == 0) {
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
429
|
+
this.ab = 0;
|
|
430
|
+
this.aa = 180;
|
|
416
431
|
}
|
|
417
432
|
else {
|
|
418
|
-
this.
|
|
433
|
+
this.ab = 1;
|
|
419
434
|
if (a == 1) {
|
|
420
|
-
this.
|
|
435
|
+
this.aa = 180;
|
|
421
436
|
}
|
|
422
437
|
else {
|
|
423
|
-
this.
|
|
438
|
+
this.aa = 0;
|
|
424
439
|
}
|
|
425
440
|
}
|
|
426
441
|
if (b) {
|
|
@@ -428,41 +443,41 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
428
443
|
this.h.v();
|
|
429
444
|
}
|
|
430
445
|
else {
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
446
|
+
this.s = this.aa;
|
|
447
|
+
this.t = this.ab;
|
|
433
448
|
this.c.u();
|
|
434
449
|
}
|
|
435
450
|
}
|
|
436
|
-
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
if (this.
|
|
451
|
+
ay(a, b) {
|
|
452
|
+
this.v = this.t;
|
|
453
|
+
this.w = this.z;
|
|
454
|
+
if (this.m || this.h.f()) {
|
|
440
455
|
this.h.w();
|
|
441
456
|
}
|
|
442
457
|
switch (a) {
|
|
443
458
|
case 0:
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
459
|
+
this.ab = 0.4;
|
|
460
|
+
this.ac = 0.4;
|
|
446
461
|
break;
|
|
447
462
|
case 1:
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
463
|
+
this.ab = 1;
|
|
464
|
+
this.ac = 0.2;
|
|
450
465
|
break;
|
|
451
466
|
case 2:
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
467
|
+
this.ab = 0.2;
|
|
468
|
+
this.ac = 1;
|
|
454
469
|
break;
|
|
455
470
|
}
|
|
456
471
|
if (b) {
|
|
457
472
|
this.h.v();
|
|
458
473
|
}
|
|
459
474
|
else {
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
475
|
+
this.t = this.ab;
|
|
476
|
+
this.z = this.ac;
|
|
462
477
|
this.c.u();
|
|
463
478
|
}
|
|
464
479
|
}
|
|
465
|
-
|
|
480
|
+
x() {
|
|
466
481
|
switch (this.f) {
|
|
467
482
|
case 0: return 1;
|
|
468
483
|
case 1: return 0.71;
|
|
@@ -470,23 +485,24 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
470
485
|
}
|
|
471
486
|
return 1;
|
|
472
487
|
}
|
|
473
|
-
|
|
488
|
+
a0(a) {
|
|
474
489
|
this.c.r(a);
|
|
490
|
+
NativeUI.u(this.c.m, this.n);
|
|
475
491
|
}
|
|
476
|
-
|
|
492
|
+
a1(a) {
|
|
477
493
|
this.j.u(a);
|
|
478
494
|
this.i.u(a);
|
|
479
495
|
}
|
|
480
|
-
|
|
496
|
+
af() {
|
|
481
497
|
return this.c.m.getNativeElement();
|
|
482
498
|
}
|
|
483
|
-
|
|
499
|
+
au(a, b) {
|
|
484
500
|
this.c.s(a, b);
|
|
485
501
|
}
|
|
486
|
-
|
|
502
|
+
at() {
|
|
487
503
|
this.c.q();
|
|
488
504
|
}
|
|
489
|
-
|
|
505
|
+
aq(a, b, c) {
|
|
490
506
|
let d = Math.min(a, b);
|
|
491
507
|
let e = { $type: Point_$type, x: a / 2, y: b / 2 };
|
|
492
508
|
let f = d * 0.5;
|
|
@@ -516,7 +532,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
516
532
|
p.am = 2;
|
|
517
533
|
c.add(p);
|
|
518
534
|
}
|
|
519
|
-
|
|
535
|
+
ar(a, b, c) {
|
|
520
536
|
let d = Geometry.a("M3.792172, 7.800278 L7.983785, 3.635676 L12.148387, 7.800278L12.148387, 7.800278");
|
|
521
537
|
let e = Geometry.a("M7.97027972,4.10930186 L7.97027972,13.8116223 L7.97027972,4.10930186 Z");
|
|
522
538
|
let f = Geometry.a("M11.851613, 16.199722 L16.043224, 20.364325 L20.207829, 16.199722");
|
|
@@ -554,7 +570,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
554
570
|
return $ret;
|
|
555
571
|
})()));
|
|
556
572
|
}
|
|
557
|
-
|
|
573
|
+
as(a, b, c) {
|
|
558
574
|
let d = { $type: Point_$type, x: a / 2, y: b / 2 };
|
|
559
575
|
let e = { $type: Point_$type, x: d.x - 3.5, y: d.y - 1.5 };
|
|
560
576
|
let f = { $type: Point_$type, x: d.x - 3.5, y: d.y + 1.5 };
|
|
@@ -577,7 +593,7 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
577
593
|
return $ret;
|
|
578
594
|
})()));
|
|
579
595
|
}
|
|
580
|
-
|
|
596
|
+
aw() {
|
|
581
597
|
if (this.renderCompleted != null) {
|
|
582
598
|
this.renderCompleted(this, new SortIndicatorRenderCompletedEventArgs());
|
|
583
599
|
}
|