igniteui-angular-data-grids 20.1.0-beta.0 → 20.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +5727 -5576
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +9 -9
- package/esm2015/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +7 -7
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +40 -37
- package/esm2015/lib/CheckboxListBridge.js +4 -0
- package/esm2015/lib/CheckboxListView_combined.js +778 -743
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +2894 -2867
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +13 -13
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/EditorCell.js +303 -303
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +272 -272
- package/esm2015/lib/FilterCellPresenter.js +16 -16
- package/esm2015/lib/GridCellBase.js +354 -335
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +6 -6
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/GridSortIndicatorView_combined.js +15 -8
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/ImageCell.js +59 -59
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +15 -15
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SortIndicatorStyle.js +6 -2
- package/esm2015/lib/SummaryCell.js +40 -40
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TextCell.js +32 -32
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +153 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +25 -25
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +164 -155
- package/esm2015/lib/igx-checkbox-list-component.js +82 -66
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +87 -76
- 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-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/esm5/lib/AccessibilityRow.js +1 -1
- package/esm5/lib/CanvasCellPresenterBase.js +9 -9
- package/esm5/lib/CanvasContentCellModelHelper.js +9 -9
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +7 -7
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +40 -37
- package/esm5/lib/CheckboxListBridge.js +4 -0
- package/esm5/lib/CheckboxListView_combined.js +760 -725
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +2735 -2700
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +13 -13
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/EditorCell.js +285 -285
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +262 -262
- package/esm5/lib/FilterCellPresenter.js +16 -16
- package/esm5/lib/GridCellBase.js +349 -326
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnHideOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +6 -6
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/GridSortIndicatorView_combined.js +15 -10
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/ImageCell.js +59 -59
- package/esm5/lib/ImageCellPresenter.js +17 -17
- package/esm5/lib/MultiColumnComboBoxView_combined.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +15 -15
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SortIndicatorStyle.js +6 -2
- package/esm5/lib/SummaryCell.js +40 -40
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TextCell.js +32 -32
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +151 -151
- package/esm5/lib/TextHeaderCellPresenter.js +25 -25
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +168 -155
- package/esm5/lib/igx-checkbox-list-component.js +82 -66
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +91 -76
- 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-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/fesm2015/igniteui-angular-data-grids.js +5924 -5791
- package/fesm5/igniteui-angular-data-grids.js +5729 -5578
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListViewExternal.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +185 -179
- package/lib/ColumnFilterCondition_combined.d.ts +820 -813
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +105 -102
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +3 -3
- package/lib/SortIndicatorStyle.d.ts +5 -1
- package/lib/SummaryCell.d.ts +9 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +29 -29
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +10 -0
- package/lib/igx-data-grid-column-component.d.ts +7 -1
- package/package.json +4 -4
|
@@ -29,45 +29,46 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
29
29
|
this.a = null;
|
|
30
30
|
this.e = null;
|
|
31
31
|
this.c = null;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
32
|
+
this.ak = null;
|
|
33
|
+
this.an = null;
|
|
34
34
|
this.w = false;
|
|
35
|
-
this.
|
|
35
|
+
this.ao = null;
|
|
36
36
|
this.j = null;
|
|
37
|
+
this.a2 = 0;
|
|
38
|
+
this.az = 24;
|
|
39
|
+
this.a1 = 0;
|
|
37
40
|
this.a0 = 0;
|
|
38
|
-
this.
|
|
39
|
-
this.az = 0;
|
|
40
|
-
this.ay = 0;
|
|
41
|
-
this.a3 = 0;
|
|
41
|
+
this.a5 = 0;
|
|
42
42
|
this.t = false;
|
|
43
43
|
this.u = false;
|
|
44
44
|
this.v = true;
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
45
|
+
this.aq = null;
|
|
46
|
+
this.bp = null;
|
|
47
|
+
this.dp = null;
|
|
48
48
|
this.m = null;
|
|
49
49
|
this.x = false;
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
50
|
+
this.bo = null;
|
|
51
|
+
this.bn = null;
|
|
52
|
+
this.dn = null;
|
|
53
|
+
this.dm = null;
|
|
54
|
+
this.dt = Rect.empty;
|
|
55
|
+
this.al = null;
|
|
56
|
+
this.ap = null;
|
|
57
57
|
this.l = null;
|
|
58
|
+
this.ai = 5;
|
|
58
59
|
this.r = false;
|
|
59
|
-
this.a5 = 0;
|
|
60
60
|
this.a7 = 0;
|
|
61
|
+
this.a9 = 0;
|
|
62
|
+
this.a8 = 0;
|
|
61
63
|
this.a6 = 0;
|
|
62
|
-
this.a4 = 0;
|
|
63
|
-
this.as = 0;
|
|
64
64
|
this.au = 0;
|
|
65
|
+
this.aw = 0;
|
|
66
|
+
this.av = 0;
|
|
65
67
|
this.at = 0;
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.a2 = 0;
|
|
68
|
+
this.dl = null;
|
|
69
|
+
this.a3 = 0;
|
|
70
|
+
this.bc = 0;
|
|
71
|
+
this.a4 = 0;
|
|
71
72
|
this.k = null;
|
|
72
73
|
this.g = 0;
|
|
73
74
|
this.i = 0;
|
|
@@ -75,37 +76,37 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
75
76
|
this.ag = 0;
|
|
76
77
|
this.h = 1;
|
|
77
78
|
this.y = false;
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
79
|
+
this.bl = 0;
|
|
80
|
+
this.bm = 0;
|
|
81
|
+
this.as = 0;
|
|
82
|
+
this.bb = -1;
|
|
83
|
+
this.ax = 0;
|
|
83
84
|
this.s = false;
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
85
|
+
this.ak = a;
|
|
86
|
+
this.an = this.ak.createElement("div");
|
|
87
|
+
this.an.setAttribute("tabindex", "-1");
|
|
88
|
+
this.an.setRawStyleProperty("position", "absolute");
|
|
89
|
+
this.an.setRawStyleProperty("overflow", "hidden");
|
|
90
|
+
this.an.setRawStyleProperty("box-sizing", "border-box");
|
|
91
|
+
this.an.setRawStyleProperty("outline", "none");
|
|
91
92
|
let b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
|
|
92
93
|
let c = (window.PointerEvent !== undefined);
|
|
93
94
|
let d = (window.TouchEvent);
|
|
94
95
|
if ((b || c)) {
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
96
|
+
this.an.listen("pointerdown", runOn(this, this.cp));
|
|
97
|
+
this.an.listen("pointerup", runOn(this, this.ct));
|
|
98
|
+
this.an.listen("pointermove", runOn(this, this.cs));
|
|
99
|
+
this.an.listen("pointerleave", runOn(this, this.cr));
|
|
100
|
+
this.an.listen("pointerenter", runOn(this, this.cq));
|
|
100
101
|
}
|
|
101
102
|
else {
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
103
|
+
this.an.listen("mousedown", runOn(this, this.cb));
|
|
104
|
+
this.an.listen("mouseup", runOn(this, this.cf));
|
|
105
|
+
this.an.listen("mousemove", runOn(this, this.ce));
|
|
106
|
+
this.an.listen("mouseleave", runOn(this, this.cd));
|
|
107
|
+
this.an.listen("touchstart", runOn(this, this.dd));
|
|
108
|
+
this.an.listen("touchend", runOn(this, this.df));
|
|
109
|
+
this.an.listen("touchmove", runOn(this, this.de));
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
get b() {
|
|
@@ -117,11 +118,11 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
117
118
|
get d() {
|
|
118
119
|
return this.c;
|
|
119
120
|
}
|
|
120
|
-
get
|
|
121
|
-
return this.
|
|
121
|
+
get am() {
|
|
122
|
+
return this.ak;
|
|
122
123
|
}
|
|
123
|
-
get
|
|
124
|
-
return this.
|
|
124
|
+
get ar() {
|
|
125
|
+
return this.an;
|
|
125
126
|
}
|
|
126
127
|
get isRemoved() {
|
|
127
128
|
return this.w;
|
|
@@ -130,26 +131,26 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
130
131
|
let b = this.w;
|
|
131
132
|
this.w = a;
|
|
132
133
|
if (b != this.w) {
|
|
133
|
-
this.
|
|
134
|
+
this.ck("IsRemoved", b, this.w);
|
|
134
135
|
}
|
|
135
136
|
}
|
|
137
|
+
get bf() {
|
|
138
|
+
return this.a2;
|
|
139
|
+
}
|
|
136
140
|
get bd() {
|
|
137
141
|
return this.a0;
|
|
138
142
|
}
|
|
139
|
-
get
|
|
140
|
-
return this.
|
|
143
|
+
get be() {
|
|
144
|
+
return this.a1;
|
|
141
145
|
}
|
|
142
|
-
get
|
|
143
|
-
return this.
|
|
146
|
+
get bi() {
|
|
147
|
+
return this.a5;
|
|
144
148
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
this.a3 = a;
|
|
151
|
-
if (b != this.a3) {
|
|
152
|
-
this.ch("Indent", b, this.a3);
|
|
149
|
+
set bi(a) {
|
|
150
|
+
let b = this.a5;
|
|
151
|
+
this.a5 = a;
|
|
152
|
+
if (b != this.a5) {
|
|
153
|
+
this.ck("Indent", b, this.a5);
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
156
|
get aa() {
|
|
@@ -159,7 +160,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
159
160
|
let b = this.t;
|
|
160
161
|
this.t = a;
|
|
161
162
|
if (b != this.t) {
|
|
162
|
-
this.
|
|
163
|
+
this.ck("IsCollapsable", b, this.t);
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
166
|
get ab() {
|
|
@@ -169,7 +170,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
169
170
|
let b = this.u;
|
|
170
171
|
this.u = a;
|
|
171
172
|
if (b != this.u) {
|
|
172
|
-
this.
|
|
173
|
+
this.ck("IsExpanded", b, this.u);
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
get ad() {
|
|
@@ -179,27 +180,27 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
179
180
|
let b = this.v;
|
|
180
181
|
this.v = a;
|
|
181
182
|
if (b != this.v) {
|
|
182
|
-
this.
|
|
183
|
+
this.ck("IsHitTestVisible", b, this.v);
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
|
-
get
|
|
186
|
-
return this.
|
|
186
|
+
get b3() {
|
|
187
|
+
return this.bp;
|
|
187
188
|
}
|
|
188
|
-
set
|
|
189
|
-
let b = this.
|
|
190
|
-
this.
|
|
191
|
-
if (b != this.
|
|
192
|
-
this.
|
|
189
|
+
set b3(a) {
|
|
190
|
+
let b = this.bp;
|
|
191
|
+
this.bp = a;
|
|
192
|
+
if (b != this.bp) {
|
|
193
|
+
this.ck("SuffixText", b, this.bp);
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
get
|
|
196
|
-
return this.
|
|
196
|
+
get ds() {
|
|
197
|
+
return this.dp;
|
|
197
198
|
}
|
|
198
|
-
set
|
|
199
|
-
let b = this.
|
|
200
|
-
this.
|
|
201
|
-
if (b != this.
|
|
202
|
-
this.
|
|
199
|
+
set ds(a) {
|
|
200
|
+
let b = this.dp;
|
|
201
|
+
this.dp = a;
|
|
202
|
+
if (b != this.dp) {
|
|
203
|
+
this.ck("SuffixTextColor", b, this.dp);
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
get n() {
|
|
@@ -209,142 +210,142 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
209
210
|
let b = this.m;
|
|
210
211
|
this.m = a;
|
|
211
212
|
if (b != this.m) {
|
|
212
|
-
this.
|
|
213
|
+
this.ck("SuffixTextFont", b, this.m);
|
|
213
214
|
}
|
|
214
215
|
}
|
|
215
|
-
|
|
216
|
-
if (this.
|
|
217
|
-
if (this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
216
|
+
cl() {
|
|
217
|
+
if (this.bp != null) {
|
|
218
|
+
if (this.aq == null) {
|
|
219
|
+
this.aq = this.ak.createElement("span");
|
|
220
|
+
this.aq.setRawStyleProperty("display", "inline-block");
|
|
221
|
+
this.aq.setRawStyleProperty("overflow", "hidden");
|
|
222
|
+
this.aq.setRawStyleProperty("white-space", "nowrap");
|
|
223
|
+
this.aq.setRawStyleProperty("margin-left", this.aj + "px");
|
|
223
224
|
}
|
|
224
|
-
this.
|
|
225
|
+
this.cn();
|
|
225
226
|
if (!this.x) {
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.ar.setRawStyleProperty("display", "grid");
|
|
228
|
+
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
229
|
+
this.ar.append(this.aq);
|
|
229
230
|
this.x = true;
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
233
|
else {
|
|
233
234
|
if (this.x) {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
235
|
+
this.ar.setRawStyleProperty("display", "unset");
|
|
236
|
+
this.ar.setRawStyleProperty("grid-template-columns", "unset");
|
|
237
|
+
this.ar.removeChild(this.aq);
|
|
237
238
|
this.x = false;
|
|
238
239
|
}
|
|
239
240
|
}
|
|
240
241
|
}
|
|
241
|
-
get
|
|
242
|
-
return this.
|
|
242
|
+
get by() {
|
|
243
|
+
return this.bo;
|
|
243
244
|
}
|
|
244
|
-
set
|
|
245
|
-
let b = this.
|
|
246
|
-
this.
|
|
247
|
-
if (b != this.
|
|
248
|
-
this.
|
|
245
|
+
set by(a) {
|
|
246
|
+
let b = this.bo;
|
|
247
|
+
this.bo = a;
|
|
248
|
+
if (b != this.bo) {
|
|
249
|
+
this.ck("SuffixIconName", b, this.bo);
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
|
-
get
|
|
252
|
-
return this.
|
|
252
|
+
get bv() {
|
|
253
|
+
return this.bn;
|
|
253
254
|
}
|
|
254
|
-
set
|
|
255
|
-
let b = this.
|
|
256
|
-
this.
|
|
257
|
-
if (b != this.
|
|
258
|
-
this.
|
|
255
|
+
set bv(a) {
|
|
256
|
+
let b = this.bn;
|
|
257
|
+
this.bn = a;
|
|
258
|
+
if (b != this.bn) {
|
|
259
|
+
this.ck("SuffixIconCollectionName", b, this.bn);
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
|
-
get
|
|
262
|
-
return this.
|
|
262
|
+
get dr() {
|
|
263
|
+
return this.dn;
|
|
263
264
|
}
|
|
264
|
-
set
|
|
265
|
-
let b = this.
|
|
266
|
-
this.
|
|
267
|
-
if (b != this.
|
|
268
|
-
this.
|
|
265
|
+
set dr(a) {
|
|
266
|
+
let b = this.dn;
|
|
267
|
+
this.dn = a;
|
|
268
|
+
if (b != this.dn) {
|
|
269
|
+
this.ck("SuffixIconStroke", b, this.dn);
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
|
-
get
|
|
272
|
-
return this.
|
|
272
|
+
get dq() {
|
|
273
|
+
return this.dm;
|
|
273
274
|
}
|
|
274
|
-
set
|
|
275
|
-
let b = this.
|
|
276
|
-
this.
|
|
277
|
-
if (b != this.
|
|
278
|
-
this.
|
|
275
|
+
set dq(a) {
|
|
276
|
+
let b = this.dm;
|
|
277
|
+
this.dm = a;
|
|
278
|
+
if (b != this.dm) {
|
|
279
|
+
this.ck("SuffixIconFill", b, this.dm);
|
|
279
280
|
}
|
|
280
281
|
}
|
|
281
|
-
get
|
|
282
|
-
return this.
|
|
282
|
+
get du() {
|
|
283
|
+
return this.dt;
|
|
283
284
|
}
|
|
284
|
-
set
|
|
285
|
-
let b = this.
|
|
286
|
-
this.
|
|
287
|
-
if (Rect.l_op_Inequality(b, this.
|
|
288
|
-
this.
|
|
285
|
+
set du(a) {
|
|
286
|
+
let b = this.dt;
|
|
287
|
+
this.dt = a;
|
|
288
|
+
if (Rect.l_op_Inequality(b, this.dt)) {
|
|
289
|
+
this.ck("SuffixIconViewBox", b, this.dt);
|
|
289
290
|
}
|
|
290
291
|
}
|
|
291
|
-
|
|
292
|
-
if (this.
|
|
292
|
+
cm() {
|
|
293
|
+
if (this.bo != null && this.bn != null) {
|
|
293
294
|
if (this.l == null) {
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
295
|
+
this.ap = this.ak.createElement("div");
|
|
296
|
+
this.al = this.ak.getSubRenderer(this.ap);
|
|
296
297
|
this.l = new XIcon();
|
|
297
|
-
this.l.provideContainer(this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
298
|
+
this.l.provideContainer(this.al);
|
|
299
|
+
this.ap.setRawStyleProperty("display", "inline-block");
|
|
300
|
+
this.ap.setRawStyleProperty("overflow", "hidden");
|
|
301
|
+
this.ap.setRawStyleProperty("margin-left", this.aj + "px");
|
|
301
302
|
}
|
|
302
|
-
this.
|
|
303
|
+
this.cn();
|
|
303
304
|
if (!this.x) {
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
305
|
+
this.ar.setRawStyleProperty("display", "grid");
|
|
306
|
+
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
307
|
+
this.ar.append(this.ap);
|
|
307
308
|
this.x = true;
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
311
|
else {
|
|
311
312
|
if (this.x) {
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
313
|
+
this.ar.setRawStyleProperty("display", "unset");
|
|
314
|
+
this.ar.setRawStyleProperty("grid-template-columns", "unset");
|
|
315
|
+
this.ar.removeChild(this.ap);
|
|
315
316
|
this.x = false;
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
|
-
|
|
320
|
-
if (this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
320
|
+
cn() {
|
|
321
|
+
if (this.aq != null) {
|
|
322
|
+
this.c8(this.aq, this.bp);
|
|
323
|
+
this.c9(this.aq, this.ds);
|
|
324
|
+
this.c0(this.aq, this.n);
|
|
325
|
+
this.da(this.aq, this.h);
|
|
325
326
|
}
|
|
326
327
|
if (this.l != null) {
|
|
327
|
-
this.l.ea = this.
|
|
328
|
-
this.l.fill = this.
|
|
329
|
-
if (!this.
|
|
330
|
-
this.l.a6 = this.
|
|
331
|
-
this.l.a7 = this.
|
|
332
|
-
this.l.a8 = this.
|
|
333
|
-
this.l.a5 = this.
|
|
328
|
+
this.l.ea = this.dr;
|
|
329
|
+
this.l.fill = this.dq;
|
|
330
|
+
if (!this.du.isEmpty && !isNaN_(this.du.left) && !isNaN_(this.du.top) && !isNaN_(this.du.width) && !isNaN_(this.du.height)) {
|
|
331
|
+
this.l.a6 = this.du.left;
|
|
332
|
+
this.l.a7 = this.du.top;
|
|
333
|
+
this.l.a8 = this.du.width;
|
|
334
|
+
this.l.a5 = this.du.height;
|
|
334
335
|
}
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
336
|
+
this.c7(this.ap, this.dr);
|
|
337
|
+
this.cz(this.ap, this.dq);
|
|
338
|
+
this.da(this.ap, this.h);
|
|
339
|
+
this.c3(this.l, this.bv, this.by);
|
|
339
340
|
}
|
|
340
341
|
}
|
|
341
|
-
|
|
342
|
+
c3(a, b, c) {
|
|
342
343
|
a.svg = null;
|
|
343
344
|
a.svgPath = null;
|
|
344
345
|
a.b = null;
|
|
345
346
|
a.b0 = null;
|
|
346
347
|
a.bh = null;
|
|
347
|
-
let d = SvgIconRegistry.instance.getSvgPathString(this.
|
|
348
|
+
let d = SvgIconRegistry.instance.getSvgPathString(this.bn, this.bo);
|
|
348
349
|
if (d != null) {
|
|
349
350
|
if (stringStartsWith(d, "<svg")) {
|
|
350
351
|
a.svg = d;
|
|
@@ -354,52 +355,62 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
354
355
|
}
|
|
355
356
|
return;
|
|
356
357
|
}
|
|
357
|
-
let e = SvgIconRegistry.instance.getSvgPathsString(this.
|
|
358
|
+
let e = SvgIconRegistry.instance.getSvgPathsString(this.bn, this.bo);
|
|
358
359
|
if (e != null) {
|
|
359
360
|
a.b = e;
|
|
360
361
|
return;
|
|
361
362
|
}
|
|
362
|
-
let f = SvgIconRegistry.instance.getDataURLString(this.
|
|
363
|
+
let f = SvgIconRegistry.instance.getDataURLString(this.bn, this.bo);
|
|
363
364
|
if (f != null) {
|
|
364
365
|
a.b0 = f;
|
|
365
366
|
return;
|
|
366
367
|
}
|
|
367
|
-
let g = SvgIconRegistry.instance.getIconSource(this.
|
|
368
|
+
let g = SvgIconRegistry.instance.getIconSource(this.bn, this.bo);
|
|
368
369
|
if (g != null) {
|
|
369
370
|
a.bh = g;
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
|
-
|
|
373
|
-
this.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
this.
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
373
|
+
get aj() {
|
|
374
|
+
return this.ai;
|
|
375
|
+
}
|
|
376
|
+
set aj(a) {
|
|
377
|
+
let b = this.ai;
|
|
378
|
+
this.ai = a;
|
|
379
|
+
if (b != this.ai) {
|
|
380
|
+
this.ck("SuffixMargin", b, this.ai);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
ca() {
|
|
384
|
+
this.a1 = 10;
|
|
385
|
+
this.a0 = this.bi * 24;
|
|
386
|
+
this.a2 = 24;
|
|
387
|
+
if (this.ao == null) {
|
|
388
|
+
this.ao = this.ak.createElement("div");
|
|
389
|
+
this.ao.setRawStyleProperty("display", "inline-block");
|
|
390
|
+
this.ao.setRawStyleProperty("vertical-align", "middle");
|
|
391
|
+
this.ao.setRawStyleProperty("width", this.a2 + "px");
|
|
392
|
+
this.ao.setRawStyleProperty("height", this.a2 + "px");
|
|
393
|
+
this.ao.setRawStyleProperty("cursor", "pointer");
|
|
394
|
+
this.ao.setRawStyleProperty("position", "absolute");
|
|
395
|
+
this.ao.setRawXPosition(this.a7 + this.a0);
|
|
396
|
+
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.az, 2));
|
|
386
397
|
}
|
|
387
398
|
if (this.j == null) {
|
|
388
|
-
let a = this.
|
|
399
|
+
let a = this.ak.getSubRenderer(this.ao);
|
|
389
400
|
this.j = new GridExpansionIndicator();
|
|
390
401
|
this.j.ab(a);
|
|
391
402
|
this.j.y(24, 24);
|
|
392
403
|
}
|
|
393
|
-
if (this.
|
|
394
|
-
this.
|
|
404
|
+
if (this.ao.parent() == null) {
|
|
405
|
+
this.an.append(this.ao);
|
|
395
406
|
}
|
|
396
407
|
}
|
|
397
|
-
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
if (this.
|
|
401
|
-
if (this.
|
|
402
|
-
this.
|
|
408
|
+
cu() {
|
|
409
|
+
this.a2 = 0;
|
|
410
|
+
this.a1 = 0;
|
|
411
|
+
if (this.ao != null) {
|
|
412
|
+
if (this.ao.parent() != null) {
|
|
413
|
+
this.ao.remove();
|
|
403
414
|
}
|
|
404
415
|
}
|
|
405
416
|
}
|
|
@@ -415,32 +426,32 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
415
426
|
get ae() {
|
|
416
427
|
return this.get_ae();
|
|
417
428
|
}
|
|
418
|
-
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
this.
|
|
422
|
-
this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
429
|
+
c6(a, b, c, d) {
|
|
430
|
+
this.a7 = a;
|
|
431
|
+
this.a9 = b;
|
|
432
|
+
this.a8 = c;
|
|
433
|
+
this.a6 = d;
|
|
434
|
+
this.an.setRawStyleProperty("padding-left", a.toString() + "px");
|
|
435
|
+
this.an.setRawStyleProperty("padding-top", b.toString() + "px");
|
|
436
|
+
this.an.setRawStyleProperty("padding-right", c.toString() + "px");
|
|
437
|
+
this.an.setRawStyleProperty("padding-bottom", d.toString() + "px");
|
|
438
|
+
}
|
|
439
|
+
cx(a, b, c, d, e) {
|
|
440
|
+
this.au = b;
|
|
441
|
+
this.aw = c;
|
|
442
|
+
this.av = d;
|
|
443
|
+
this.at = e;
|
|
444
|
+
this.dl = a;
|
|
434
445
|
if (a == null) {
|
|
435
|
-
this.
|
|
446
|
+
this.an.setRawStyleProperty("border", "");
|
|
436
447
|
}
|
|
437
448
|
else {
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
449
|
+
this.an.setRawStyleProperty("border-color", a._fill);
|
|
450
|
+
this.an.setRawStyleProperty("border-left-width", b.toString() + "px");
|
|
451
|
+
this.an.setRawStyleProperty("border-top-width", c.toString() + "px");
|
|
452
|
+
this.an.setRawStyleProperty("border-right-width", d.toString() + "px");
|
|
453
|
+
this.an.setRawStyleProperty("border-bottom-width", e.toString() + "px");
|
|
454
|
+
this.an.setRawStyleProperty("border-style", "solid");
|
|
444
455
|
}
|
|
445
456
|
}
|
|
446
457
|
get_ac() {
|
|
@@ -449,84 +460,84 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
449
460
|
get ac() {
|
|
450
461
|
return this.get_ac();
|
|
451
462
|
}
|
|
452
|
-
get
|
|
453
|
-
return this.
|
|
454
|
-
}
|
|
455
|
-
get bh() {
|
|
456
|
-
return this.ba;
|
|
463
|
+
get bg() {
|
|
464
|
+
return this.a3;
|
|
457
465
|
}
|
|
458
|
-
get
|
|
459
|
-
return this.
|
|
466
|
+
get bj() {
|
|
467
|
+
return this.bc;
|
|
460
468
|
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
let
|
|
467
|
-
this.
|
|
468
|
-
|
|
469
|
-
|
|
469
|
+
get bh() {
|
|
470
|
+
return this.a4;
|
|
471
|
+
}
|
|
472
|
+
c1(a, b) {
|
|
473
|
+
if (this.a3 != a || this.a4 != b) {
|
|
474
|
+
let c = this.a3;
|
|
475
|
+
this.a3 = a;
|
|
476
|
+
this.a4 = b;
|
|
477
|
+
let d = Math.max(0, this.a3 - this.a4);
|
|
478
|
+
this.an.setRawStyleProperty("height", a.toString() + "px");
|
|
479
|
+
if (this.ao != null) {
|
|
480
|
+
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.a2, 2));
|
|
470
481
|
}
|
|
471
|
-
this.
|
|
482
|
+
this.dc(this.bc, this.a3, this.bc, c);
|
|
472
483
|
}
|
|
473
484
|
}
|
|
474
|
-
|
|
475
|
-
if (this.
|
|
476
|
-
let c = this.
|
|
477
|
-
this.
|
|
478
|
-
this.
|
|
479
|
-
this.
|
|
485
|
+
db(a, b) {
|
|
486
|
+
if (this.bc != a) {
|
|
487
|
+
let c = this.bc;
|
|
488
|
+
this.bc = a;
|
|
489
|
+
this.an.setRawStyleProperty("width", a.toString() + "px");
|
|
490
|
+
this.dc(this.bc, this.a3, c, this.a3);
|
|
480
491
|
}
|
|
481
492
|
}
|
|
482
|
-
|
|
493
|
+
dc(a, b, c, d) {
|
|
483
494
|
}
|
|
484
|
-
|
|
495
|
+
b8() {
|
|
485
496
|
if (!this.ae) {
|
|
486
497
|
return;
|
|
487
498
|
}
|
|
488
499
|
this.r = true;
|
|
489
|
-
this.k = new PlaceholderView(this.
|
|
500
|
+
this.k = new PlaceholderView(this.ak);
|
|
490
501
|
this.g = 0;
|
|
491
502
|
this.i = 1;
|
|
492
503
|
this.k.l = Color.u(120, 120, 120, 120);
|
|
493
504
|
this.k.i = 0;
|
|
494
|
-
this.
|
|
505
|
+
this.an.append(this.k.g);
|
|
495
506
|
}
|
|
496
|
-
|
|
497
|
-
this.
|
|
507
|
+
cw(a) {
|
|
508
|
+
this.an.setRawStyleProperty("background-color", a.colorString);
|
|
498
509
|
}
|
|
499
|
-
|
|
500
|
-
this.
|
|
510
|
+
c5(a) {
|
|
511
|
+
this.an.setRawStyleProperty("opacity", a.toString());
|
|
501
512
|
}
|
|
502
|
-
|
|
513
|
+
c0(a, b) {
|
|
503
514
|
if (b == null) {
|
|
504
|
-
b = FontUtil.getDefaultFont(this.
|
|
515
|
+
b = FontUtil.getDefaultFont(this.am);
|
|
505
516
|
}
|
|
506
517
|
a.setRawStyleProperty("font", b.fontString);
|
|
507
518
|
}
|
|
508
|
-
|
|
519
|
+
c9(a, b) {
|
|
509
520
|
let c = Color.u(0, 0, 0, 0);
|
|
510
521
|
if (b != null) {
|
|
511
522
|
c = b.color;
|
|
512
523
|
}
|
|
513
524
|
a.setRawStyleProperty("color", c.colorString);
|
|
514
525
|
}
|
|
515
|
-
|
|
526
|
+
c7(a, b) {
|
|
516
527
|
let c = Color.u(0, 0, 0, 0);
|
|
517
528
|
if (b != null) {
|
|
518
529
|
c = b.color;
|
|
519
530
|
}
|
|
520
531
|
a.setRawStyleProperty("stroke", c.colorString);
|
|
521
532
|
}
|
|
522
|
-
|
|
533
|
+
cz(a, b) {
|
|
523
534
|
let c = Color.u(0, 0, 0, 0);
|
|
524
535
|
if (b != null) {
|
|
525
536
|
c = b.color;
|
|
526
537
|
}
|
|
527
538
|
a.setRawStyleProperty("fill", c.colorString);
|
|
528
539
|
}
|
|
529
|
-
|
|
540
|
+
c8(a, b) {
|
|
530
541
|
if (a != null) {
|
|
531
542
|
a.setRawText(b);
|
|
532
543
|
}
|
|
@@ -535,19 +546,19 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
535
546
|
if (TestRandomness.instance.testRandomnessSource != null) {
|
|
536
547
|
return TestRandomness.instance.testRandomnessSource;
|
|
537
548
|
}
|
|
538
|
-
return new DefaultRandomnessSource(1, GridCellBase.
|
|
549
|
+
return new DefaultRandomnessSource(1, GridCellBase.bk);
|
|
539
550
|
}
|
|
540
551
|
p() {
|
|
541
552
|
let a = this.q();
|
|
542
553
|
return a.getGenerator("PlaceholderWidths");
|
|
543
554
|
}
|
|
544
|
-
|
|
555
|
+
dk(a) {
|
|
545
556
|
if (!this.ae) {
|
|
546
557
|
return;
|
|
547
558
|
}
|
|
548
559
|
this.k.i = (a * 0.20000000298023224);
|
|
549
560
|
}
|
|
550
|
-
|
|
561
|
+
di(a, b, c, d) {
|
|
551
562
|
if (this.k != null) {
|
|
552
563
|
let e = this.ah;
|
|
553
564
|
let f = this.ag;
|
|
@@ -567,15 +578,15 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
567
578
|
this.k.g.setRawYPosition(b);
|
|
568
579
|
}
|
|
569
580
|
}
|
|
570
|
-
|
|
581
|
+
ci(a, b, c) {
|
|
571
582
|
}
|
|
572
|
-
|
|
583
|
+
co(a) {
|
|
573
584
|
this.h = a;
|
|
574
|
-
if (this.
|
|
575
|
-
this.
|
|
585
|
+
if (this.aq != null) {
|
|
586
|
+
this.da(this.aq, a);
|
|
576
587
|
}
|
|
577
588
|
}
|
|
578
|
-
|
|
589
|
+
dj(a) {
|
|
579
590
|
if (!this.ae) {
|
|
580
591
|
return;
|
|
581
592
|
}
|
|
@@ -587,8 +598,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
587
598
|
this.ag = b;
|
|
588
599
|
this.k.d = (b);
|
|
589
600
|
}
|
|
590
|
-
let c = a.
|
|
591
|
-
let d = a.
|
|
601
|
+
let c = a.h5 * 0.2;
|
|
602
|
+
let d = a.f8 * 0.6;
|
|
592
603
|
if (this.ah >= c && this.ah <= d && !this.y) {
|
|
593
604
|
return;
|
|
594
605
|
}
|
|
@@ -601,9 +612,9 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
601
612
|
this.ah = e;
|
|
602
613
|
this.k.e = e;
|
|
603
614
|
}
|
|
604
|
-
this.
|
|
615
|
+
this.di(this.a7 + this.a0 + this.a2, this.a9, this.bc - (this.a7 + this.a8), this.a3 - (this.a9 + this.a6));
|
|
605
616
|
}
|
|
606
|
-
|
|
617
|
+
dg(a, b) {
|
|
607
618
|
if (!this.ae) {
|
|
608
619
|
return;
|
|
609
620
|
}
|
|
@@ -611,7 +622,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
611
622
|
this.i = b;
|
|
612
623
|
this.y = true;
|
|
613
624
|
}
|
|
614
|
-
|
|
625
|
+
dh(a) {
|
|
615
626
|
if (!this.ae) {
|
|
616
627
|
return;
|
|
617
628
|
}
|
|
@@ -619,32 +630,32 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
619
630
|
this.k.l = a.color;
|
|
620
631
|
}
|
|
621
632
|
}
|
|
622
|
-
|
|
633
|
+
cv(a) {
|
|
623
634
|
this.a = a;
|
|
624
635
|
}
|
|
625
|
-
|
|
636
|
+
c4(a) {
|
|
626
637
|
this.e = a;
|
|
627
638
|
}
|
|
628
|
-
|
|
639
|
+
cy(a) {
|
|
629
640
|
this.c = a;
|
|
630
641
|
}
|
|
631
|
-
|
|
642
|
+
c2(a, b) {
|
|
632
643
|
switch (b) {
|
|
633
644
|
case 0:
|
|
634
|
-
this.
|
|
645
|
+
this.ar.setRawStyleProperty("text-align", "left");
|
|
635
646
|
break;
|
|
636
647
|
case 1:
|
|
637
|
-
this.
|
|
648
|
+
this.ar.setRawStyleProperty("text-align", "center");
|
|
638
649
|
break;
|
|
639
650
|
case 2:
|
|
640
|
-
this.
|
|
651
|
+
this.ar.setRawStyleProperty("text-align", "right");
|
|
641
652
|
break;
|
|
642
653
|
case 3:
|
|
643
|
-
this.
|
|
654
|
+
this.ar.setRawStyleProperty("text-align", "center");
|
|
644
655
|
break;
|
|
645
656
|
}
|
|
646
657
|
}
|
|
647
|
-
|
|
658
|
+
da(a, b) {
|
|
648
659
|
switch (b) {
|
|
649
660
|
case 0:
|
|
650
661
|
a.setRawStyleProperty("vertical-align", "top");
|
|
@@ -667,67 +678,67 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
667
678
|
af(a) {
|
|
668
679
|
return a.isClickActionDesired;
|
|
669
680
|
}
|
|
670
|
-
|
|
681
|
+
cb(a) {
|
|
671
682
|
this.onContactStarted(a, false);
|
|
672
683
|
}
|
|
673
|
-
|
|
684
|
+
cf(a) {
|
|
674
685
|
this.onContactCompleted(a, false);
|
|
675
686
|
}
|
|
676
|
-
|
|
687
|
+
ce(a) {
|
|
677
688
|
this.onContactMoved(a, false);
|
|
678
689
|
}
|
|
679
|
-
|
|
680
|
-
this.
|
|
690
|
+
cd(a) {
|
|
691
|
+
this.ch(a, false);
|
|
681
692
|
}
|
|
682
|
-
|
|
683
|
-
this.
|
|
693
|
+
cc(a) {
|
|
694
|
+
this.cg(a, false);
|
|
684
695
|
}
|
|
685
|
-
|
|
696
|
+
cp(e_) {
|
|
686
697
|
let a = (e_.originalEvent.pointerType);
|
|
687
698
|
if (a == "touch") {
|
|
688
|
-
this.
|
|
699
|
+
this.dd(e_);
|
|
689
700
|
}
|
|
690
701
|
else {
|
|
691
|
-
this.
|
|
702
|
+
this.cb(e_);
|
|
692
703
|
}
|
|
693
704
|
}
|
|
694
|
-
|
|
705
|
+
cs(e_) {
|
|
695
706
|
let a = (e_.originalEvent.pointerType);
|
|
696
707
|
if (a == "touch") {
|
|
697
|
-
this.
|
|
708
|
+
this.de(e_);
|
|
698
709
|
}
|
|
699
710
|
else {
|
|
700
|
-
this.
|
|
711
|
+
this.ce(e_);
|
|
701
712
|
}
|
|
702
713
|
}
|
|
703
|
-
|
|
714
|
+
ct(e_) {
|
|
704
715
|
let a = (e_.originalEvent.pointerType);
|
|
705
716
|
if (a == "touch") {
|
|
706
|
-
this.
|
|
717
|
+
this.df(e_);
|
|
707
718
|
}
|
|
708
719
|
else {
|
|
709
|
-
this.
|
|
720
|
+
this.cf(e_);
|
|
710
721
|
}
|
|
711
722
|
}
|
|
712
|
-
|
|
723
|
+
cr(e_) {
|
|
713
724
|
let a = (e_.originalEvent.pointerType);
|
|
714
725
|
if (a != "touch") {
|
|
715
|
-
this.
|
|
726
|
+
this.cd(e_);
|
|
716
727
|
}
|
|
717
728
|
}
|
|
718
|
-
|
|
729
|
+
cq(e_) {
|
|
719
730
|
let a = (e_.originalEvent.pointerType);
|
|
720
731
|
if (a != "touch") {
|
|
721
|
-
this.
|
|
732
|
+
this.cc(e_);
|
|
722
733
|
}
|
|
723
734
|
}
|
|
724
|
-
|
|
735
|
+
dd(a) {
|
|
725
736
|
this.onContactStarted(a, true);
|
|
726
737
|
}
|
|
727
|
-
|
|
738
|
+
de(a) {
|
|
728
739
|
this.onContactMoved(a, true);
|
|
729
740
|
}
|
|
730
|
-
|
|
741
|
+
df(a) {
|
|
731
742
|
this.onContactCompleted(a, true);
|
|
732
743
|
}
|
|
733
744
|
onContactStarted(e_, a) {
|
|
@@ -742,13 +753,13 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
742
753
|
}
|
|
743
754
|
else {
|
|
744
755
|
if (this.a != null && this.af(this.a)) {
|
|
745
|
-
this.
|
|
746
|
-
this.
|
|
747
|
-
if (this.
|
|
748
|
-
this.
|
|
756
|
+
this.bl = e_.pageX;
|
|
757
|
+
this.bm = e_.pageY;
|
|
758
|
+
if (this.bb != e_.which) {
|
|
759
|
+
this.ax = 0;
|
|
749
760
|
}
|
|
750
|
-
this.
|
|
751
|
-
this.a.mouseDownCell(this.
|
|
761
|
+
this.bb = e_.which;
|
|
762
|
+
this.a.mouseDownCell(this.bl, this.bm);
|
|
752
763
|
}
|
|
753
764
|
}
|
|
754
765
|
}
|
|
@@ -759,7 +770,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
759
770
|
if (this.af(this.a)) {
|
|
760
771
|
if (this.a.isMouseDown) {
|
|
761
772
|
if (b) {
|
|
762
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
773
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.ba || Math.abs(d - this.a.mousePosition.y) > GridCellBase.ba) {
|
|
763
774
|
this.a.mouseUpCell(c, d);
|
|
764
775
|
}
|
|
765
776
|
else {
|
|
@@ -770,8 +781,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
770
781
|
if (PointUtil.equals(this.a.mousePosition, null)) {
|
|
771
782
|
this.a.mouseUpCell(c, d);
|
|
772
783
|
}
|
|
773
|
-
else if (this.
|
|
774
|
-
if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
784
|
+
else if (this.bb == 1) {
|
|
785
|
+
if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.ay || Math.abs(d - this.a.mousePosition.y) > GridCellBase.ay) {
|
|
775
786
|
this.a.isControlPressed = a.ctrlKey;
|
|
776
787
|
this.a.dragStarted();
|
|
777
788
|
}
|
|
@@ -785,8 +796,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
785
796
|
}
|
|
786
797
|
}
|
|
787
798
|
onContactCompleted(e_, a) {
|
|
788
|
-
this.
|
|
789
|
-
window.setTimeout(() => this.
|
|
799
|
+
this.ax++;
|
|
800
|
+
window.setTimeout(() => this.ax = 0, 250);
|
|
790
801
|
let b = false;
|
|
791
802
|
if (this.aa) {
|
|
792
803
|
let indicator_ = this.j.q();
|
|
@@ -799,14 +810,14 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
799
810
|
if (this.a != null && this.af(this.a)) {
|
|
800
811
|
let c = e_.pageX;
|
|
801
812
|
let d = e_.pageY;
|
|
802
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
813
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.ba || Math.abs(d - this.a.mousePosition.y) > GridCellBase.ba || this.a.isDrag) {
|
|
803
814
|
this.a.mouseUpCell(c, d);
|
|
804
815
|
}
|
|
805
816
|
if (this.a.isCellDown()) {
|
|
806
817
|
this.a.isControlPressed = e_.ctrlKey;
|
|
807
818
|
this.a.isShiftPressed = e_.shiftKey;
|
|
808
|
-
if (this.
|
|
809
|
-
switch (this.
|
|
819
|
+
if (this.ax > 1) {
|
|
820
|
+
switch (this.bb) {
|
|
810
821
|
case 1:
|
|
811
822
|
this.a.doubleClicked(0);
|
|
812
823
|
break;
|
|
@@ -843,7 +854,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
843
854
|
}
|
|
844
855
|
this.s = false;
|
|
845
856
|
}
|
|
846
|
-
|
|
857
|
+
ch(a, b) {
|
|
847
858
|
if (this.a != null) {
|
|
848
859
|
if (this.af(this.a)) {
|
|
849
860
|
if (this.a.isMouseDown) {
|
|
@@ -860,7 +871,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
860
871
|
}
|
|
861
872
|
}
|
|
862
873
|
}
|
|
863
|
-
|
|
874
|
+
cg(a, b) {
|
|
864
875
|
if (this.a != null && this.a.isEnterActionDesired) {
|
|
865
876
|
let c = a.pageX;
|
|
866
877
|
let d = a.pageY;
|
|
@@ -869,22 +880,22 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
869
880
|
}
|
|
870
881
|
onDoubleClick(a) {
|
|
871
882
|
}
|
|
872
|
-
|
|
883
|
+
ck(a, b, c) {
|
|
873
884
|
switch (a) {
|
|
874
885
|
case "Indent":
|
|
875
|
-
this.
|
|
876
|
-
this.
|
|
877
|
-
if (this.
|
|
878
|
-
this.
|
|
879
|
-
this.
|
|
886
|
+
this.a0 = this.bi * 24;
|
|
887
|
+
this.a1 = this.bi > 0 ? 10 : 0;
|
|
888
|
+
if (this.ao != null) {
|
|
889
|
+
this.ao.setRawXPosition(this.a7 + this.a0);
|
|
890
|
+
this.ao.setRawYPosition(intDivide(this.a3, 2) - intDivide(this.az, 2));
|
|
880
891
|
}
|
|
881
892
|
break;
|
|
882
893
|
case "IsCollapsable":
|
|
883
894
|
if (this.aa) {
|
|
884
|
-
this.
|
|
895
|
+
this.ca();
|
|
885
896
|
}
|
|
886
897
|
else {
|
|
887
|
-
this.
|
|
898
|
+
this.cu();
|
|
888
899
|
}
|
|
889
900
|
break;
|
|
890
901
|
case "IsExpanded":
|
|
@@ -893,32 +904,40 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
893
904
|
}
|
|
894
905
|
break;
|
|
895
906
|
case "IsHitTestVisible":
|
|
896
|
-
this.
|
|
907
|
+
this.ar.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
|
|
897
908
|
break;
|
|
898
909
|
case "SuffixText":
|
|
899
|
-
this.
|
|
910
|
+
this.cl();
|
|
900
911
|
break;
|
|
901
912
|
case "SuffixIconName":
|
|
902
913
|
case "SuffixIconCollectionName":
|
|
903
|
-
this.
|
|
914
|
+
this.cm();
|
|
904
915
|
break;
|
|
905
916
|
case "SuffixTextColor":
|
|
906
917
|
case "SuffixTextFont":
|
|
907
918
|
case "SuffixIconStroke":
|
|
908
919
|
case "SuffixIconFill":
|
|
909
920
|
case "SuffixIconViewBox":
|
|
910
|
-
this.
|
|
921
|
+
this.cn();
|
|
922
|
+
break;
|
|
923
|
+
case "SuffixMargin":
|
|
924
|
+
if (this.ap != null) {
|
|
925
|
+
this.ap.setRawStyleProperty("margin-left", this.aj + "px");
|
|
926
|
+
}
|
|
927
|
+
if (this.aq != null) {
|
|
928
|
+
this.aq.setRawStyleProperty("margin-left", this.aj + "px");
|
|
929
|
+
}
|
|
911
930
|
break;
|
|
912
931
|
}
|
|
913
932
|
}
|
|
914
|
-
|
|
933
|
+
cj() {
|
|
915
934
|
}
|
|
916
|
-
|
|
917
|
-
this.
|
|
935
|
+
b9() {
|
|
936
|
+
this.an.focus(true);
|
|
918
937
|
}
|
|
919
|
-
|
|
938
|
+
b7() {
|
|
920
939
|
if (this.a != null) {
|
|
921
|
-
let a = this.
|
|
940
|
+
let a = this.an.clone();
|
|
922
941
|
this.a.passCellClone(a);
|
|
923
942
|
}
|
|
924
943
|
}
|
|
@@ -927,8 +946,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
927
946
|
}
|
|
928
947
|
GridCellBase.$t = markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
|
|
929
948
|
GridCellBase.o = null;
|
|
930
|
-
GridCellBase.
|
|
931
|
-
GridCellBase.
|
|
932
|
-
GridCellBase.
|
|
949
|
+
GridCellBase.bk = new Random(0);
|
|
950
|
+
GridCellBase.ba = 10;
|
|
951
|
+
GridCellBase.ay = 3;
|
|
933
952
|
return GridCellBase;
|
|
934
953
|
})();
|