igniteui-webcomponents-data-grids 6.0.0-beta.0 → 6.0.1-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-data-grids.umd.js +3976 -3602
- package/bundles/igniteui-webcomponents-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 +2445 -2387
- 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/igc-cell-info.js +58 -49
- package/esm2015/lib/igc-checkbox-list-component.js +75 -72
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +164 -135
- package/esm2015/lib/igc-data-grid-sort-indicator-component.js +22 -15
- 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-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-format-cell-event-args.js +85 -0
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- 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-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/igc-cell-info.js +62 -49
- package/esm5/lib/igc-checkbox-list-component.js +79 -72
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +169 -135
- package/esm5/lib/igc-data-grid-sort-indicator-component.js +26 -15
- 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-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-format-cell-event-args.js +115 -0
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- 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-header-cell-info.js +10 -10
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +4045 -3735
- package/fesm5/igniteui-webcomponents-data-grids.js +3976 -3604
- 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/igc-cell-info.d.ts +5 -0
- package/lib/igc-checkbox-list-component.d.ts +1 -0
- package/lib/igc-data-grid-column-component.d.ts +8 -0
- package/lib/igc-data-grid-sort-indicator-component.d.ts +2 -0
- package/lib/igc-format-cell-event-args.d.ts +42 -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-webcomponents-core";
|
|
|
9
9
|
import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
|
|
10
10
|
import { AnimationKeyFrameEffect } from "igniteui-webcomponents-core";
|
|
11
11
|
import { AnimationKeyFrameEffectTiming } from "igniteui-webcomponents-core";
|
|
12
|
+
import { NativeUI } from "igniteui-webcomponents-core";
|
|
12
13
|
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
13
14
|
import { CellContentHorizontalAlignment_$type } from "./CellContentHorizontalAlignment";
|
|
14
15
|
import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
|
|
@@ -30,7 +31,6 @@ import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterConditi
|
|
|
30
31
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
31
32
|
import { Geometry } from "igniteui-webcomponents-core";
|
|
32
33
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
33
|
-
import { NativeUI } from "igniteui-webcomponents-core";
|
|
34
34
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
35
35
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
36
36
|
import { SvgIconRegistry } from "igniteui-webcomponents-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());
|
|
@@ -401,7 +402,7 @@ export let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
404
|
get ac() {
|
|
404
|
-
return this.v.bx;
|
|
405
|
+
return this.v != null ? this.v.bx : false;
|
|
405
406
|
}
|
|
406
407
|
bj(a, b, c) {
|
|
407
408
|
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-webcomponents-core";
|
|
|
17
17
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
18
18
|
import { truncate, isNaN_ } from "igniteui-webcomponents-core";
|
|
19
19
|
import { ColumnSortDirection_$type } from "./ColumnSortDirection";
|
|
20
|
+
import { NativeUI } from "igniteui-webcomponents-core";
|
|
20
21
|
import { EasingFunctions } from "igniteui-webcomponents-core";
|
|
21
22
|
import { PathFigure } from "igniteui-webcomponents-core";
|
|
22
23
|
import { LineSegment } from "igniteui-webcomponents-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
|
}
|
|
@@ -231,11 +232,11 @@ export let GridSortIndicatorView = /*@__PURE__*/ (() => {
|
|
|
231
232
|
*/
|
|
232
233
|
export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
233
234
|
class GridSortIndicator extends Base {
|
|
234
|
-
get
|
|
235
|
-
return this.
|
|
235
|
+
get ae() {
|
|
236
|
+
return this.ad;
|
|
236
237
|
}
|
|
237
|
-
set
|
|
238
|
-
this.
|
|
238
|
+
set ae(a) {
|
|
239
|
+
this.ad = a;
|
|
239
240
|
}
|
|
240
241
|
get b() {
|
|
241
242
|
return this.a;
|
|
@@ -244,27 +245,27 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
244
245
|
let b = this.a;
|
|
245
246
|
this.a = a;
|
|
246
247
|
if (b != this.a) {
|
|
247
|
-
this.
|
|
248
|
+
this.av("SortDirection", enumGetBox(ColumnSortDirection_$type, b), enumGetBox(ColumnSortDirection_$type, this.a));
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
|
-
get
|
|
251
|
-
return this.
|
|
251
|
+
get a3() {
|
|
252
|
+
return this.a2;
|
|
252
253
|
}
|
|
253
|
-
set
|
|
254
|
-
let b = this.
|
|
255
|
-
this.
|
|
256
|
-
if (b != this.
|
|
257
|
-
this.
|
|
254
|
+
set a3(a) {
|
|
255
|
+
let b = this.a2;
|
|
256
|
+
this.a2 = a;
|
|
257
|
+
if (b != this.a2) {
|
|
258
|
+
this.av("IconColor", b, this.a2);
|
|
258
259
|
}
|
|
259
260
|
}
|
|
260
|
-
get
|
|
261
|
+
get m() {
|
|
261
262
|
return this.k;
|
|
262
263
|
}
|
|
263
|
-
set
|
|
264
|
+
set m(a) {
|
|
264
265
|
let b = this.k;
|
|
265
266
|
this.k = a;
|
|
266
267
|
if (b != this.k) {
|
|
267
|
-
this.
|
|
268
|
+
this.av("IsAnimationEnabled", b, this.k);
|
|
268
269
|
}
|
|
269
270
|
}
|
|
270
271
|
get i() {
|
|
@@ -273,21 +274,21 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
273
274
|
get j() {
|
|
274
275
|
return this.h;
|
|
275
276
|
}
|
|
276
|
-
get
|
|
277
|
+
get y() {
|
|
278
|
+
return this.q;
|
|
279
|
+
}
|
|
280
|
+
set y(a) {
|
|
281
|
+
let b = this.q;
|
|
282
|
+
this.q = a;
|
|
283
|
+
this.av("PixelScalingRatio", b, this.q);
|
|
284
|
+
}
|
|
285
|
+
get r() {
|
|
277
286
|
return this.o;
|
|
278
287
|
}
|
|
279
|
-
set
|
|
288
|
+
set r(a) {
|
|
280
289
|
let b = this.o;
|
|
281
290
|
this.o = a;
|
|
282
|
-
this.
|
|
283
|
-
}
|
|
284
|
-
get p() {
|
|
285
|
-
return this.m;
|
|
286
|
-
}
|
|
287
|
-
set p(a) {
|
|
288
|
-
let b = this.m;
|
|
289
|
-
this.m = a;
|
|
290
|
-
this.as("ActualPixelScalingRatio", b, this.m);
|
|
291
|
+
this.av("ActualPixelScalingRatio", b, this.o);
|
|
291
292
|
}
|
|
292
293
|
get f() {
|
|
293
294
|
return this.e;
|
|
@@ -296,29 +297,39 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
296
297
|
let b = this.e;
|
|
297
298
|
this.e = a;
|
|
298
299
|
if (b != this.e) {
|
|
299
|
-
this.
|
|
300
|
+
this.av("SortIndicatorStyle", enumGetBox(SortIndicatorStyle_$type, b), enumGetBox(SortIndicatorStyle_$type, this.e));
|
|
300
301
|
}
|
|
301
302
|
}
|
|
302
|
-
|
|
303
|
-
this.
|
|
303
|
+
get n() {
|
|
304
|
+
return this.l;
|
|
305
|
+
}
|
|
306
|
+
set n(a) {
|
|
307
|
+
let b = this.l;
|
|
308
|
+
this.l = a;
|
|
309
|
+
if (b != this.l) {
|
|
310
|
+
this.av("IsHitTestVisible", b, this.l);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
av(a, b, c) {
|
|
314
|
+
this.az(a, b, c);
|
|
304
315
|
if (this.propertyChanged != null) {
|
|
305
316
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
306
317
|
}
|
|
307
318
|
}
|
|
308
|
-
get
|
|
309
|
-
return this.
|
|
319
|
+
get t() {
|
|
320
|
+
return this.p;
|
|
310
321
|
}
|
|
311
|
-
set
|
|
312
|
-
let b = this.
|
|
313
|
-
this.
|
|
322
|
+
set t(a) {
|
|
323
|
+
let b = this.p;
|
|
324
|
+
this.p = a;
|
|
314
325
|
if (b != a) {
|
|
315
|
-
this.
|
|
326
|
+
this.av("CurrentOpacity", b, a);
|
|
316
327
|
}
|
|
317
328
|
}
|
|
318
|
-
|
|
329
|
+
az(a, b, c) {
|
|
319
330
|
switch (a) {
|
|
320
331
|
case "PixelScalingRatio":
|
|
321
|
-
this.
|
|
332
|
+
this.r = this.y;
|
|
322
333
|
break;
|
|
323
334
|
case "ActualPixelScalingRatio":
|
|
324
335
|
this.c.u();
|
|
@@ -329,98 +340,102 @@ export let GridSortIndicator = /*@__PURE__*/ (() => {
|
|
|
329
340
|
case "SortIndicatorStyle":
|
|
330
341
|
switch (this.f) {
|
|
331
342
|
case 0:
|
|
332
|
-
this.
|
|
343
|
+
this.ax(this.b, false);
|
|
333
344
|
break;
|
|
334
345
|
case 1:
|
|
335
346
|
case 2:
|
|
336
|
-
this.
|
|
347
|
+
this.ay(this.b, false);
|
|
337
348
|
break;
|
|
338
349
|
}
|
|
339
350
|
break;
|
|
340
351
|
case "SortDirection":
|
|
341
352
|
switch (this.f) {
|
|
342
353
|
case 0:
|
|
343
|
-
this.
|
|
354
|
+
this.ax(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
344
355
|
break;
|
|
345
356
|
case 1:
|
|
346
357
|
case 2:
|
|
347
|
-
this.
|
|
358
|
+
this.ay(EnumUtil.getEnumValue(ColumnSortDirection_$type, c), this.m);
|
|
348
359
|
break;
|
|
349
360
|
}
|
|
350
361
|
break;
|
|
362
|
+
case "IsHitTestVisible":
|
|
363
|
+
NativeUI.u(this.c.m, this.n);
|
|
364
|
+
break;
|
|
351
365
|
}
|
|
352
366
|
}
|
|
353
367
|
constructor() {
|
|
354
368
|
super();
|
|
355
|
-
this.
|
|
369
|
+
this.ad = null;
|
|
356
370
|
this.a = 0;
|
|
357
|
-
this.
|
|
371
|
+
this.a2 = null;
|
|
358
372
|
this.k = true;
|
|
359
373
|
this.propertyChanged = null;
|
|
360
374
|
this.g = null;
|
|
361
375
|
this.h = null;
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
376
|
+
this.q = NaN;
|
|
377
|
+
this.o = 1;
|
|
364
378
|
this.e = 0;
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.x = 0;
|
|
368
|
-
this.t = 0;
|
|
379
|
+
this.l = false;
|
|
380
|
+
this.p = 0;
|
|
369
381
|
this.s = 0;
|
|
370
382
|
this.z = 0;
|
|
371
|
-
this.
|
|
383
|
+
this.v = 0;
|
|
372
384
|
this.u = 0;
|
|
385
|
+
this.ab = 0;
|
|
373
386
|
this.aa = 0;
|
|
387
|
+
this.w = 0;
|
|
388
|
+
this.ac = 0;
|
|
374
389
|
this.c = null;
|
|
375
390
|
this.renderCompleted = null;
|
|
376
|
-
this.
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
391
|
+
this.t = 0;
|
|
392
|
+
this.z = 0.5;
|
|
393
|
+
this.s = 180;
|
|
379
394
|
this.c = new GridSortIndicatorView(this);
|
|
380
395
|
this.g = new DoubleAnimator(0, 1, 400);
|
|
381
396
|
this.h = new DoubleAnimator(0, 1, 400);
|
|
382
397
|
this.g.b = EasingFunctions.cubicEase;
|
|
383
398
|
this.h.b = EasingFunctions.cubicEase;
|
|
384
399
|
let a = this.g;
|
|
385
|
-
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.
|
|
400
|
+
a.propertyChanged = delegateCombine(a.propertyChanged, runOn(this, this.ao));
|
|
386
401
|
let b = this.h;
|
|
387
|
-
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.
|
|
402
|
+
b.propertyChanged = delegateCombine(b.propertyChanged, runOn(this, this.ap));
|
|
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
|
}
|