igniteui-webcomponents-data-grids 6.2.2-alpha.3 → 6.3.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-webcomponents-data-grids.umd.js +5786 -5636
- package/bundles/igniteui-webcomponents-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 +356 -337
- 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/igc-cell-info.js +164 -155
- package/esm2015/lib/igc-checkbox-list-component.js +103 -87
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +114 -104
- 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-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/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/igc-cell-info.js +168 -155
- package/esm5/lib/igc-checkbox-list-component.js +103 -87
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +118 -104
- 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-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/fesm2015/igniteui-webcomponents-data-grids.js +5980 -5848
- package/fesm5/igniteui-webcomponents-data-grids.js +5788 -5638
- 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/igc-cell-info.d.ts +5 -0
- package/lib/igc-checkbox-list-component.d.ts +10 -0
- package/lib/igc-data-grid-column-component.d.ts +5 -0
- package/package.json +4 -4
|
@@ -33,11 +33,11 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
33
33
|
get d() {
|
|
34
34
|
return this.c;
|
|
35
35
|
}
|
|
36
|
-
get
|
|
37
|
-
return this.
|
|
36
|
+
get am() {
|
|
37
|
+
return this.ak;
|
|
38
38
|
}
|
|
39
|
-
get
|
|
40
|
-
return this.
|
|
39
|
+
get ar() {
|
|
40
|
+
return this.an;
|
|
41
41
|
}
|
|
42
42
|
get isRemoved() {
|
|
43
43
|
return this.w;
|
|
@@ -46,26 +46,26 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
46
46
|
let b = this.w;
|
|
47
47
|
this.w = a;
|
|
48
48
|
if (b != this.w) {
|
|
49
|
-
this.
|
|
49
|
+
this.ck("IsRemoved", b, this.w);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
get bf() {
|
|
53
|
+
return this.a2;
|
|
54
|
+
}
|
|
52
55
|
get bd() {
|
|
53
56
|
return this.a0;
|
|
54
57
|
}
|
|
55
|
-
get
|
|
56
|
-
return this.
|
|
58
|
+
get be() {
|
|
59
|
+
return this.a1;
|
|
57
60
|
}
|
|
58
|
-
get
|
|
59
|
-
return this.
|
|
61
|
+
get bi() {
|
|
62
|
+
return this.a5;
|
|
60
63
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
this.a3 = a;
|
|
67
|
-
if (b != this.a3) {
|
|
68
|
-
this.ch("Indent", b, this.a3);
|
|
64
|
+
set bi(a) {
|
|
65
|
+
let b = this.a5;
|
|
66
|
+
this.a5 = a;
|
|
67
|
+
if (b != this.a5) {
|
|
68
|
+
this.ck("Indent", b, this.a5);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
get aa() {
|
|
@@ -75,7 +75,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
75
75
|
let b = this.t;
|
|
76
76
|
this.t = a;
|
|
77
77
|
if (b != this.t) {
|
|
78
|
-
this.
|
|
78
|
+
this.ck("IsCollapsable", b, this.t);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
get ab() {
|
|
@@ -85,7 +85,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
85
85
|
let b = this.u;
|
|
86
86
|
this.u = a;
|
|
87
87
|
if (b != this.u) {
|
|
88
|
-
this.
|
|
88
|
+
this.ck("IsExpanded", b, this.u);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
get ad() {
|
|
@@ -95,27 +95,27 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
95
95
|
let b = this.v;
|
|
96
96
|
this.v = a;
|
|
97
97
|
if (b != this.v) {
|
|
98
|
-
this.
|
|
98
|
+
this.ck("IsHitTestVisible", b, this.v);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
get
|
|
102
|
-
return this.
|
|
101
|
+
get b3() {
|
|
102
|
+
return this.bp;
|
|
103
103
|
}
|
|
104
|
-
set
|
|
105
|
-
let b = this.
|
|
106
|
-
this.
|
|
107
|
-
if (b != this.
|
|
108
|
-
this.
|
|
104
|
+
set b3(a) {
|
|
105
|
+
let b = this.bp;
|
|
106
|
+
this.bp = a;
|
|
107
|
+
if (b != this.bp) {
|
|
108
|
+
this.ck("SuffixText", b, this.bp);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
get
|
|
112
|
-
return this.
|
|
111
|
+
get ds() {
|
|
112
|
+
return this.dp;
|
|
113
113
|
}
|
|
114
|
-
set
|
|
115
|
-
let b = this.
|
|
116
|
-
this.
|
|
117
|
-
if (b != this.
|
|
118
|
-
this.
|
|
114
|
+
set ds(a) {
|
|
115
|
+
let b = this.dp;
|
|
116
|
+
this.dp = a;
|
|
117
|
+
if (b != this.dp) {
|
|
118
|
+
this.ck("SuffixTextColor", b, this.dp);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
get n() {
|
|
@@ -125,142 +125,142 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
125
125
|
let b = this.m;
|
|
126
126
|
this.m = a;
|
|
127
127
|
if (b != this.m) {
|
|
128
|
-
this.
|
|
128
|
+
this.ck("SuffixTextFont", b, this.m);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
if (this.
|
|
133
|
-
if (this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
131
|
+
cl() {
|
|
132
|
+
if (this.bp != null) {
|
|
133
|
+
if (this.aq == null) {
|
|
134
|
+
this.aq = this.ak.createElement("span");
|
|
135
|
+
this.aq.setRawStyleProperty("display", "inline-block");
|
|
136
|
+
this.aq.setRawStyleProperty("overflow", "hidden");
|
|
137
|
+
this.aq.setRawStyleProperty("white-space", "nowrap");
|
|
138
|
+
this.aq.setRawStyleProperty("margin-left", this.aj + "px");
|
|
139
139
|
}
|
|
140
|
-
this.
|
|
140
|
+
this.cn();
|
|
141
141
|
if (!this.x) {
|
|
142
|
-
this.
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
142
|
+
this.ar.setRawStyleProperty("display", "grid");
|
|
143
|
+
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
144
|
+
this.ar.append(this.aq);
|
|
145
145
|
this.x = true;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
if (this.x) {
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
150
|
+
this.ar.setRawStyleProperty("display", "unset");
|
|
151
|
+
this.ar.setRawStyleProperty("grid-template-columns", "unset");
|
|
152
|
+
this.ar.removeChild(this.aq);
|
|
153
153
|
this.x = false;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
get
|
|
158
|
-
return this.
|
|
157
|
+
get by() {
|
|
158
|
+
return this.bo;
|
|
159
159
|
}
|
|
160
|
-
set
|
|
161
|
-
let b = this.
|
|
162
|
-
this.
|
|
163
|
-
if (b != this.
|
|
164
|
-
this.
|
|
160
|
+
set by(a) {
|
|
161
|
+
let b = this.bo;
|
|
162
|
+
this.bo = a;
|
|
163
|
+
if (b != this.bo) {
|
|
164
|
+
this.ck("SuffixIconName", b, this.bo);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
get
|
|
168
|
-
return this.
|
|
167
|
+
get bv() {
|
|
168
|
+
return this.bn;
|
|
169
169
|
}
|
|
170
|
-
set
|
|
171
|
-
let b = this.
|
|
172
|
-
this.
|
|
173
|
-
if (b != this.
|
|
174
|
-
this.
|
|
170
|
+
set bv(a) {
|
|
171
|
+
let b = this.bn;
|
|
172
|
+
this.bn = a;
|
|
173
|
+
if (b != this.bn) {
|
|
174
|
+
this.ck("SuffixIconCollectionName", b, this.bn);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
get
|
|
178
|
-
return this.
|
|
177
|
+
get dr() {
|
|
178
|
+
return this.dn;
|
|
179
179
|
}
|
|
180
|
-
set
|
|
181
|
-
let b = this.
|
|
182
|
-
this.
|
|
183
|
-
if (b != this.
|
|
184
|
-
this.
|
|
180
|
+
set dr(a) {
|
|
181
|
+
let b = this.dn;
|
|
182
|
+
this.dn = a;
|
|
183
|
+
if (b != this.dn) {
|
|
184
|
+
this.ck("SuffixIconStroke", b, this.dn);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
get
|
|
188
|
-
return this.
|
|
187
|
+
get dq() {
|
|
188
|
+
return this.dm;
|
|
189
189
|
}
|
|
190
|
-
set
|
|
191
|
-
let b = this.
|
|
192
|
-
this.
|
|
193
|
-
if (b != this.
|
|
194
|
-
this.
|
|
190
|
+
set dq(a) {
|
|
191
|
+
let b = this.dm;
|
|
192
|
+
this.dm = a;
|
|
193
|
+
if (b != this.dm) {
|
|
194
|
+
this.ck("SuffixIconFill", b, this.dm);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
get
|
|
198
|
-
return this.
|
|
197
|
+
get du() {
|
|
198
|
+
return this.dt;
|
|
199
199
|
}
|
|
200
|
-
set
|
|
201
|
-
let b = this.
|
|
202
|
-
this.
|
|
203
|
-
if (Rect.l_op_Inequality(b, this.
|
|
204
|
-
this.
|
|
200
|
+
set du(a) {
|
|
201
|
+
let b = this.dt;
|
|
202
|
+
this.dt = a;
|
|
203
|
+
if (Rect.l_op_Inequality(b, this.dt)) {
|
|
204
|
+
this.ck("SuffixIconViewBox", b, this.dt);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
|
|
208
|
-
if (this.
|
|
207
|
+
cm() {
|
|
208
|
+
if (this.bo != null && this.bn != null) {
|
|
209
209
|
if (this.l == null) {
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
210
|
+
this.ap = this.ak.createElement("div");
|
|
211
|
+
this.al = this.ak.getSubRenderer(this.ap);
|
|
212
212
|
this.l = new XIcon();
|
|
213
|
-
this.l.provideContainer(this.
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
213
|
+
this.l.provideContainer(this.al);
|
|
214
|
+
this.ap.setRawStyleProperty("display", "inline-block");
|
|
215
|
+
this.ap.setRawStyleProperty("overflow", "hidden");
|
|
216
|
+
this.ap.setRawStyleProperty("margin-left", this.aj + "px");
|
|
217
217
|
}
|
|
218
|
-
this.
|
|
218
|
+
this.cn();
|
|
219
219
|
if (!this.x) {
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
220
|
+
this.ar.setRawStyleProperty("display", "grid");
|
|
221
|
+
this.ar.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
222
|
+
this.ar.append(this.ap);
|
|
223
223
|
this.x = true;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
else {
|
|
227
227
|
if (this.x) {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
228
|
+
this.ar.setRawStyleProperty("display", "unset");
|
|
229
|
+
this.ar.setRawStyleProperty("grid-template-columns", "unset");
|
|
230
|
+
this.ar.removeChild(this.ap);
|
|
231
231
|
this.x = false;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
if (this.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
235
|
+
cn() {
|
|
236
|
+
if (this.aq != null) {
|
|
237
|
+
this.c8(this.aq, this.bp);
|
|
238
|
+
this.c9(this.aq, this.ds);
|
|
239
|
+
this.c0(this.aq, this.n);
|
|
240
|
+
this.da(this.aq, this.h);
|
|
241
241
|
}
|
|
242
242
|
if (this.l != null) {
|
|
243
|
-
this.l.ea = this.
|
|
244
|
-
this.l.fill = this.
|
|
245
|
-
if (!this.
|
|
246
|
-
this.l.a6 = this.
|
|
247
|
-
this.l.a7 = this.
|
|
248
|
-
this.l.a8 = this.
|
|
249
|
-
this.l.a5 = this.
|
|
243
|
+
this.l.ea = this.dr;
|
|
244
|
+
this.l.fill = this.dq;
|
|
245
|
+
if (!this.du.isEmpty && !isNaN_(this.du.left) && !isNaN_(this.du.top) && !isNaN_(this.du.width) && !isNaN_(this.du.height)) {
|
|
246
|
+
this.l.a6 = this.du.left;
|
|
247
|
+
this.l.a7 = this.du.top;
|
|
248
|
+
this.l.a8 = this.du.width;
|
|
249
|
+
this.l.a5 = this.du.height;
|
|
250
250
|
}
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
251
|
+
this.c7(this.ap, this.dr);
|
|
252
|
+
this.cz(this.ap, this.dq);
|
|
253
|
+
this.da(this.ap, this.h);
|
|
254
|
+
this.c3(this.l, this.bv, this.by);
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
c3(a, b, c) {
|
|
258
258
|
a.svg = null;
|
|
259
259
|
a.svgPath = null;
|
|
260
260
|
a.b = null;
|
|
261
261
|
a.b0 = null;
|
|
262
262
|
a.bh = null;
|
|
263
|
-
let d = SvgIconRegistry.instance.getSvgPathString(this.
|
|
263
|
+
let d = SvgIconRegistry.instance.getSvgPathString(this.bn, this.bo);
|
|
264
264
|
if (d != null) {
|
|
265
265
|
if (stringStartsWith(d, "<svg")) {
|
|
266
266
|
a.svg = d;
|
|
@@ -270,65 +270,76 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
270
270
|
}
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
|
-
let e = SvgIconRegistry.instance.getSvgPathsString(this.
|
|
273
|
+
let e = SvgIconRegistry.instance.getSvgPathsString(this.bn, this.bo);
|
|
274
274
|
if (e != null) {
|
|
275
275
|
a.b = e;
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
|
-
let f = SvgIconRegistry.instance.getDataURLString(this.
|
|
278
|
+
let f = SvgIconRegistry.instance.getDataURLString(this.bn, this.bo);
|
|
279
279
|
if (f != null) {
|
|
280
280
|
a.b0 = f;
|
|
281
281
|
return;
|
|
282
282
|
}
|
|
283
|
-
let g = SvgIconRegistry.instance.getIconSource(this.
|
|
283
|
+
let g = SvgIconRegistry.instance.getIconSource(this.bn, this.bo);
|
|
284
284
|
if (g != null) {
|
|
285
285
|
a.bh = g;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
+
get aj() {
|
|
289
|
+
return this.ai;
|
|
290
|
+
}
|
|
291
|
+
set aj(a) {
|
|
292
|
+
let b = this.ai;
|
|
293
|
+
this.ai = a;
|
|
294
|
+
if (b != this.ai) {
|
|
295
|
+
this.ck("SuffixMargin", b, this.ai);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
288
298
|
constructor(a) {
|
|
289
299
|
super();
|
|
290
300
|
this.a = null;
|
|
291
301
|
this.e = null;
|
|
292
302
|
this.c = null;
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
303
|
+
this.ak = null;
|
|
304
|
+
this.an = null;
|
|
295
305
|
this.w = false;
|
|
296
|
-
this.
|
|
306
|
+
this.ao = null;
|
|
297
307
|
this.j = null;
|
|
308
|
+
this.a2 = 0;
|
|
309
|
+
this.az = 24;
|
|
310
|
+
this.a1 = 0;
|
|
298
311
|
this.a0 = 0;
|
|
299
|
-
this.
|
|
300
|
-
this.az = 0;
|
|
301
|
-
this.ay = 0;
|
|
302
|
-
this.a3 = 0;
|
|
312
|
+
this.a5 = 0;
|
|
303
313
|
this.t = false;
|
|
304
314
|
this.u = false;
|
|
305
315
|
this.v = true;
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
316
|
+
this.aq = null;
|
|
317
|
+
this.bp = null;
|
|
318
|
+
this.dp = null;
|
|
309
319
|
this.m = null;
|
|
310
320
|
this.x = false;
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
321
|
+
this.bo = null;
|
|
322
|
+
this.bn = null;
|
|
323
|
+
this.dn = null;
|
|
324
|
+
this.dm = null;
|
|
325
|
+
this.dt = Rect.empty;
|
|
326
|
+
this.al = null;
|
|
327
|
+
this.ap = null;
|
|
318
328
|
this.l = null;
|
|
329
|
+
this.ai = 5;
|
|
319
330
|
this.r = false;
|
|
320
|
-
this.a5 = 0;
|
|
321
331
|
this.a7 = 0;
|
|
332
|
+
this.a9 = 0;
|
|
333
|
+
this.a8 = 0;
|
|
322
334
|
this.a6 = 0;
|
|
323
|
-
this.a4 = 0;
|
|
324
|
-
this.as = 0;
|
|
325
335
|
this.au = 0;
|
|
336
|
+
this.aw = 0;
|
|
337
|
+
this.av = 0;
|
|
326
338
|
this.at = 0;
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.a2 = 0;
|
|
339
|
+
this.dl = null;
|
|
340
|
+
this.a3 = 0;
|
|
341
|
+
this.bc = 0;
|
|
342
|
+
this.a4 = 0;
|
|
332
343
|
this.k = null;
|
|
333
344
|
this.g = 0;
|
|
334
345
|
this.i = 0;
|
|
@@ -336,70 +347,70 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
336
347
|
this.ag = 0;
|
|
337
348
|
this.h = 1;
|
|
338
349
|
this.y = false;
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
350
|
+
this.bl = 0;
|
|
351
|
+
this.bm = 0;
|
|
352
|
+
this.as = 0;
|
|
353
|
+
this.bb = -1;
|
|
354
|
+
this.ax = 0;
|
|
344
355
|
this.s = false;
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
351
|
-
this.
|
|
356
|
+
this.ak = a;
|
|
357
|
+
this.an = this.ak.createElement("div");
|
|
358
|
+
this.an.setAttribute("tabindex", "-1");
|
|
359
|
+
this.an.setRawStyleProperty("position", "absolute");
|
|
360
|
+
this.an.setRawStyleProperty("overflow", "hidden");
|
|
361
|
+
this.an.setRawStyleProperty("box-sizing", "border-box");
|
|
362
|
+
this.an.setRawStyleProperty("outline", "none");
|
|
352
363
|
let b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
|
|
353
364
|
let c = (window.PointerEvent !== undefined);
|
|
354
365
|
let d = (window.TouchEvent);
|
|
355
366
|
if ((b || c)) {
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
367
|
+
this.an.listen("pointerdown", runOn(this, this.cp));
|
|
368
|
+
this.an.listen("pointerup", runOn(this, this.ct));
|
|
369
|
+
this.an.listen("pointermove", runOn(this, this.cs));
|
|
370
|
+
this.an.listen("pointerleave", runOn(this, this.cr));
|
|
371
|
+
this.an.listen("pointerenter", runOn(this, this.cq));
|
|
361
372
|
}
|
|
362
373
|
else {
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
375
|
-
this.
|
|
376
|
-
if (this.
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
385
|
-
this.
|
|
374
|
+
this.an.listen("mousedown", runOn(this, this.cb));
|
|
375
|
+
this.an.listen("mouseup", runOn(this, this.cf));
|
|
376
|
+
this.an.listen("mousemove", runOn(this, this.ce));
|
|
377
|
+
this.an.listen("mouseleave", runOn(this, this.cd));
|
|
378
|
+
this.an.listen("touchstart", runOn(this, this.dd));
|
|
379
|
+
this.an.listen("touchend", runOn(this, this.df));
|
|
380
|
+
this.an.listen("touchmove", runOn(this, this.de));
|
|
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 = /*@__PURE__*/ markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
|
|
929
948
|
GridCellBase.o = null;
|
|
930
|
-
GridCellBase.
|
|
931
|
-
GridCellBase.
|
|
932
|
-
GridCellBase.
|
|
949
|
+
GridCellBase.bk = /*@__PURE__*/ new Random(0);
|
|
950
|
+
GridCellBase.ba = 10;
|
|
951
|
+
GridCellBase.ay = 3;
|
|
933
952
|
return GridCellBase;
|
|
934
953
|
})();
|