igniteui-angular-data-grids 21.0.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +9371 -8077
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- package/esm2015/lib/EditorCell.js +266 -266
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igx-checkbox-list-component.js +69 -69
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +265 -139
- package/esm2015/lib/igx-data-grid-component.js +110 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +79 -16
- package/esm2015/lib/igx-data-grid-pager-component.js +32 -10
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +89 -89
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igx-checkbox-list-component.js +69 -69
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +313 -139
- package/esm5/lib/igx-data-grid-component.js +151 -3
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +103 -16
- package/esm5/lib/igx-data-grid-pager-component.js +40 -10
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +89 -89
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-data-grids.js +9273 -8141
- package/fesm5/igniteui-angular-data-grids.js +9373 -8080
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1402 -1268
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +1 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +2 -2
- package/lib/SummaryCell.d.ts +4 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igx-data-grid-column-component.d.ts +55 -1
- package/lib/igx-data-grid-component.d.ts +51 -2
- package/lib/igx-data-grid-filter-dialog-component.d.ts +28 -1
- package/lib/igx-data-grid-pager-component.d.ts +11 -1
- package/lib/igx-text-header-cell-info.d.ts +34 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -22,124 +22,104 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
22
22
|
class EditorCell extends GridCellBase {
|
|
23
23
|
constructor(a) {
|
|
24
24
|
super(a);
|
|
25
|
-
this.
|
|
25
|
+
this.d4 = null;
|
|
26
|
+
this.eb = null;
|
|
26
27
|
this.ea = null;
|
|
27
|
-
this.
|
|
28
|
+
this.d1 = null;
|
|
28
29
|
this.d0 = null;
|
|
29
|
-
this.dz = null;
|
|
30
|
-
this.eq = null;
|
|
31
30
|
this.er = null;
|
|
32
31
|
this.es = null;
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.ei = false;
|
|
32
|
+
this.et = null;
|
|
33
|
+
this.ec = null;
|
|
36
34
|
this.ef = false;
|
|
37
|
-
this.
|
|
35
|
+
this.ej = false;
|
|
36
|
+
this.eg = false;
|
|
37
|
+
this.dy = 0;
|
|
38
|
+
this.ev = null;
|
|
39
|
+
this.ed = null;
|
|
40
|
+
this.d2 = 1;
|
|
38
41
|
this.eu = null;
|
|
39
|
-
this.ec = null;
|
|
40
|
-
this.d1 = 1;
|
|
41
|
-
this.et = null;
|
|
42
|
-
this.ex = null;
|
|
43
|
-
this.dv = null;
|
|
44
|
-
this.eg = true;
|
|
45
42
|
this.ey = null;
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
43
|
+
this.dw = null;
|
|
44
|
+
this.eh = true;
|
|
45
|
+
this.ez = null;
|
|
46
|
+
this.ei = false;
|
|
48
47
|
this.el = false;
|
|
49
|
-
this.
|
|
48
|
+
this.em = false;
|
|
49
|
+
this.ek = false;
|
|
50
50
|
this.ar.setAttribute("tabindex", "-1");
|
|
51
51
|
this.ar.setStyleProperty("outline", "none");
|
|
52
52
|
this.ar.setStyleProperty("display", "flex");
|
|
53
53
|
this.ar.setStyleProperty("align-items", "center");
|
|
54
|
-
this.ar.listen("focusout", runOn(this, this.
|
|
55
|
-
this.ar.listen("focusin", runOn(this, this.
|
|
56
|
-
}
|
|
57
|
-
get dy() {
|
|
58
|
-
return this.dx;
|
|
59
|
-
}
|
|
60
|
-
set dy(a) {
|
|
61
|
-
let b = this.dx;
|
|
62
|
-
this.dx = a;
|
|
63
|
-
if (b != this.dx) {
|
|
64
|
-
this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dx));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
get ew() {
|
|
68
|
-
return this.eu;
|
|
69
|
-
}
|
|
70
|
-
set ew(a) {
|
|
71
|
-
let b = this.eu;
|
|
72
|
-
this.eu = a;
|
|
73
|
-
this.ck("Value", b, this.eu);
|
|
54
|
+
this.ar.listen("focusout", runOn(this, this.fp));
|
|
55
|
+
this.ar.listen("focusin", runOn(this, this.fn));
|
|
74
56
|
}
|
|
75
|
-
get
|
|
76
|
-
return this.
|
|
57
|
+
get dz() {
|
|
58
|
+
return this.dy;
|
|
77
59
|
}
|
|
78
|
-
set
|
|
79
|
-
let b = this.
|
|
80
|
-
this.
|
|
81
|
-
if (b != this.
|
|
82
|
-
this.ck("
|
|
60
|
+
set dz(a) {
|
|
61
|
+
let b = this.dy;
|
|
62
|
+
this.dy = a;
|
|
63
|
+
if (b != this.dy) {
|
|
64
|
+
this.ck("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.dy));
|
|
83
65
|
}
|
|
84
66
|
}
|
|
85
|
-
get
|
|
86
|
-
return this.
|
|
67
|
+
get ex() {
|
|
68
|
+
return this.ev;
|
|
87
69
|
}
|
|
88
|
-
set
|
|
89
|
-
let b = this.
|
|
90
|
-
this.
|
|
91
|
-
|
|
92
|
-
this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d1));
|
|
93
|
-
}
|
|
70
|
+
set ex(a) {
|
|
71
|
+
let b = this.ev;
|
|
72
|
+
this.ev = a;
|
|
73
|
+
this.ck("Value", b, this.ev);
|
|
94
74
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
75
|
+
get ee() {
|
|
76
|
+
return this.ed;
|
|
97
77
|
}
|
|
98
|
-
set
|
|
99
|
-
let b = this.
|
|
100
|
-
this.
|
|
101
|
-
if (b != this.
|
|
102
|
-
this.ck("
|
|
78
|
+
set ee(a) {
|
|
79
|
+
let b = this.ed;
|
|
80
|
+
this.ed = a;
|
|
81
|
+
if (b != this.ed) {
|
|
82
|
+
this.ck("FontInfo", b, this.ed);
|
|
103
83
|
}
|
|
104
84
|
}
|
|
105
|
-
get
|
|
106
|
-
return this.
|
|
85
|
+
get d3() {
|
|
86
|
+
return this.d2;
|
|
107
87
|
}
|
|
108
|
-
set
|
|
109
|
-
let b = this.
|
|
110
|
-
this.
|
|
111
|
-
if (b != this.
|
|
112
|
-
this.ck("
|
|
88
|
+
set d3(a) {
|
|
89
|
+
let b = this.d2;
|
|
90
|
+
this.d2 = a;
|
|
91
|
+
if (b != this.d2) {
|
|
92
|
+
this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d2));
|
|
113
93
|
}
|
|
114
94
|
}
|
|
115
|
-
get
|
|
116
|
-
return this.
|
|
117
|
-
}
|
|
118
|
-
set dw(a) {
|
|
119
|
-
let b = this.dv;
|
|
120
|
-
this.dv = a;
|
|
121
|
-
if (b != this.dv) {
|
|
122
|
-
this.ck("ComboValueField", b, this.dv);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
get eo() {
|
|
126
|
-
return this.eg;
|
|
95
|
+
get ew() {
|
|
96
|
+
return this.eu;
|
|
127
97
|
}
|
|
128
|
-
set
|
|
129
|
-
let b = this.
|
|
130
|
-
this.
|
|
131
|
-
if (b != this.
|
|
132
|
-
this.ck("
|
|
98
|
+
set ew(a) {
|
|
99
|
+
let b = this.eu;
|
|
100
|
+
this.eu = a;
|
|
101
|
+
if (b != this.eu) {
|
|
102
|
+
this.ck("ComboItemsSource", b, this.eu);
|
|
133
103
|
}
|
|
134
104
|
}
|
|
135
|
-
get
|
|
105
|
+
get e1() {
|
|
136
106
|
return this.ey;
|
|
137
107
|
}
|
|
138
|
-
set
|
|
108
|
+
set e1(a) {
|
|
139
109
|
let b = this.ey;
|
|
140
110
|
this.ey = a;
|
|
141
111
|
if (b != this.ey) {
|
|
142
|
-
this.ck("
|
|
112
|
+
this.ck("ComboTextField", b, this.ey);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
get dx() {
|
|
116
|
+
return this.dw;
|
|
117
|
+
}
|
|
118
|
+
set dx(a) {
|
|
119
|
+
let b = this.dw;
|
|
120
|
+
this.dw = a;
|
|
121
|
+
if (b != this.dw) {
|
|
122
|
+
this.ck("ComboValueField", b, this.dw);
|
|
143
123
|
}
|
|
144
124
|
}
|
|
145
125
|
get ep() {
|
|
@@ -149,317 +129,337 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
149
129
|
let b = this.eh;
|
|
150
130
|
this.eh = a;
|
|
151
131
|
if (b != this.eh) {
|
|
152
|
-
this.ck("
|
|
132
|
+
this.ck("IsHidden", b, this.eh);
|
|
153
133
|
}
|
|
154
134
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
this.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
135
|
+
get e5() {
|
|
136
|
+
return this.ez;
|
|
137
|
+
}
|
|
138
|
+
set e5(a) {
|
|
139
|
+
let b = this.ez;
|
|
140
|
+
this.ez = a;
|
|
141
|
+
if (b != this.ez) {
|
|
142
|
+
this.ck("DateFormatString", b, this.ez);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
get eq() {
|
|
146
|
+
return this.ei;
|
|
147
|
+
}
|
|
148
|
+
set eq(a) {
|
|
149
|
+
let b = this.ei;
|
|
150
|
+
this.ei = a;
|
|
151
|
+
if (b != this.ei) {
|
|
152
|
+
this.ck("ShowTodayButton", b, this.ei);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
d9(a) {
|
|
156
|
+
if (this.er == null) {
|
|
167
157
|
this.er = this.am.createElement("div");
|
|
168
|
-
this.
|
|
169
|
-
|
|
170
|
-
|
|
158
|
+
let b = this.am.getSubRenderer(this.er);
|
|
159
|
+
this.ec = new Popup();
|
|
160
|
+
this.ec.provideRenderer(b);
|
|
161
|
+
this.et = this.am.createElement("div");
|
|
162
|
+
this.et.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
|
|
163
|
+
this.et.setStyleProperty("color", "#fff");
|
|
164
|
+
this.et.setStyleProperty("padding", "5px");
|
|
165
|
+
this.et.setStyleProperty("outline", "none");
|
|
166
|
+
this.et.setAttribute("tabindex", "-1");
|
|
167
|
+
this.es = this.am.createElement("div");
|
|
168
|
+
this.es.setStyleProperty("white-space", "pre");
|
|
169
|
+
if (this.ee != null) {
|
|
170
|
+
this.es.setStyleProperty("font", this.ee.fontString);
|
|
171
171
|
}
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
172
|
+
this.et.append(this.es);
|
|
173
|
+
this.ec.appendPopupContent(this.et);
|
|
174
174
|
}
|
|
175
175
|
let c = null;
|
|
176
176
|
switch (a) {
|
|
177
177
|
case 1:
|
|
178
|
-
c = this.
|
|
178
|
+
c = this.d8();
|
|
179
179
|
break;
|
|
180
180
|
case 2:
|
|
181
|
-
c = this.
|
|
181
|
+
c = this.d7();
|
|
182
182
|
break;
|
|
183
183
|
case 3:
|
|
184
|
-
c = this.
|
|
184
|
+
c = this.d6();
|
|
185
185
|
break;
|
|
186
186
|
case 4:
|
|
187
|
-
c = this.
|
|
187
|
+
c = this.d5();
|
|
188
188
|
break;
|
|
189
189
|
}
|
|
190
190
|
return c;
|
|
191
191
|
}
|
|
192
|
+
d8() {
|
|
193
|
+
if (this.eb != null) {
|
|
194
|
+
this.fh();
|
|
195
|
+
this.fm();
|
|
196
|
+
return this.eb;
|
|
197
|
+
}
|
|
198
|
+
this.eb = new TextEditorView(this.am, this.f.getTheme(), this.b);
|
|
199
|
+
this.eb.setFont(this.ee);
|
|
200
|
+
return this.eb;
|
|
201
|
+
}
|
|
192
202
|
d7() {
|
|
193
203
|
if (this.ea != null) {
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
204
|
+
this.fh();
|
|
205
|
+
this.fm();
|
|
196
206
|
return this.ea;
|
|
197
207
|
}
|
|
198
|
-
this.ea = new
|
|
199
|
-
this.ea.setFont(this.
|
|
208
|
+
this.ea = new NumericEditorView(this.am, this.f.getTheme(), this.b);
|
|
209
|
+
this.ea.setFont(this.ee);
|
|
200
210
|
return this.ea;
|
|
201
211
|
}
|
|
202
212
|
d6() {
|
|
203
|
-
if (this.
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
206
|
-
return this.
|
|
213
|
+
if (this.d1 != null) {
|
|
214
|
+
this.fh();
|
|
215
|
+
this.fm();
|
|
216
|
+
return this.d1;
|
|
207
217
|
}
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
return this.
|
|
218
|
+
this.d1 = new DateEditorView(this.am, this.f.getTheme(), this.b);
|
|
219
|
+
this.d1.setFont(this.ee);
|
|
220
|
+
return this.d1;
|
|
211
221
|
}
|
|
212
222
|
d5() {
|
|
213
223
|
if (this.d0 != null) {
|
|
214
224
|
this.fg();
|
|
215
|
-
this.
|
|
225
|
+
this.fh();
|
|
226
|
+
this.fm();
|
|
216
227
|
return this.d0;
|
|
217
228
|
}
|
|
218
|
-
this.d0 = new
|
|
219
|
-
this.d0.setFont(this.
|
|
229
|
+
this.d0 = new ComboEditorView(this.am, this.f.getTheme(), this.b);
|
|
230
|
+
this.d0.setFont(this.ee);
|
|
231
|
+
this.d0.ah = this.ew;
|
|
232
|
+
this.d0.ak = this.e1;
|
|
233
|
+
this.d0.aa = this.dx;
|
|
220
234
|
return this.d0;
|
|
221
235
|
}
|
|
222
|
-
|
|
223
|
-
if (this.dz != null) {
|
|
224
|
-
this.ff();
|
|
225
|
-
this.fg();
|
|
226
|
-
this.fl();
|
|
227
|
-
return this.dz;
|
|
228
|
-
}
|
|
229
|
-
this.dz = new ComboEditorView(this.am, this.f.getTheme(), this.b);
|
|
230
|
-
this.dz.setFont(this.ed);
|
|
231
|
-
this.dz.ah = this.ev;
|
|
232
|
-
this.dz.ak = this.e0;
|
|
233
|
-
this.dz.aa = this.dw;
|
|
234
|
-
return this.dz;
|
|
235
|
-
}
|
|
236
|
-
fn(a, b) {
|
|
236
|
+
fo(a, b) {
|
|
237
237
|
if (b.g != b.d || b.h != b.e) {
|
|
238
|
-
if (this.dz != null) {
|
|
239
|
-
this.dz.an();
|
|
240
|
-
}
|
|
241
238
|
if (this.d0 != null) {
|
|
242
|
-
this.d0.
|
|
239
|
+
this.d0.an();
|
|
243
240
|
}
|
|
244
|
-
this.
|
|
241
|
+
if (this.d1 != null) {
|
|
242
|
+
this.d1.ah();
|
|
243
|
+
}
|
|
244
|
+
this.fe();
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
if (!this.
|
|
249
|
-
if (this.
|
|
250
|
-
this.
|
|
251
|
-
let a = this.
|
|
252
|
-
a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.
|
|
253
|
-
let b = this.
|
|
254
|
-
b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.
|
|
255
|
-
let c = this.
|
|
256
|
-
c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.
|
|
257
|
-
let d = this.
|
|
258
|
-
d.userTyping = delegateCombine(d.userTyping, runOn(this, this.
|
|
259
|
-
this.
|
|
247
|
+
fc() {
|
|
248
|
+
if (!this.eg) {
|
|
249
|
+
if (this.d4 != null) {
|
|
250
|
+
this.d4.attachEvents();
|
|
251
|
+
let a = this.d4;
|
|
252
|
+
a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.fu));
|
|
253
|
+
let b = this.d4;
|
|
254
|
+
b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fk));
|
|
255
|
+
let c = this.d4;
|
|
256
|
+
c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.fj));
|
|
257
|
+
let d = this.d4;
|
|
258
|
+
d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fs));
|
|
259
|
+
this.eg = true;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
|
|
264
|
-
if (this.
|
|
265
|
-
if (this.
|
|
266
|
-
this.
|
|
267
|
-
let a = this.
|
|
268
|
-
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.
|
|
269
|
-
let b = this.
|
|
270
|
-
b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.
|
|
271
|
-
let c = this.
|
|
272
|
-
c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.
|
|
273
|
-
let d = this.
|
|
274
|
-
d.userTyping = delegateRemove(d.userTyping, runOn(this, this.
|
|
275
|
-
this.
|
|
263
|
+
fd() {
|
|
264
|
+
if (this.eg) {
|
|
265
|
+
if (this.d4 != null) {
|
|
266
|
+
this.d4.detachEvents();
|
|
267
|
+
let a = this.d4;
|
|
268
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.fu));
|
|
269
|
+
let b = this.d4;
|
|
270
|
+
b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fk));
|
|
271
|
+
let c = this.d4;
|
|
272
|
+
c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.fj));
|
|
273
|
+
let d = this.d4;
|
|
274
|
+
d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fs));
|
|
275
|
+
this.eg = false;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
|
|
280
|
-
this.ek = false;
|
|
279
|
+
fr(a) {
|
|
281
280
|
this.el = false;
|
|
282
|
-
this.
|
|
281
|
+
this.em = false;
|
|
282
|
+
this.ek = false;
|
|
283
283
|
if (!a) {
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
284
|
+
this.em = true;
|
|
285
|
+
this.d4.onTargetChanged();
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
|
|
289
|
-
if (this.
|
|
290
|
-
this.
|
|
288
|
+
ft() {
|
|
289
|
+
if (this.d4 != null) {
|
|
290
|
+
this.d4.value = this.ex;
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
|
|
293
|
+
fh() {
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
295
|
+
fl() {
|
|
296
|
+
this.ef = true;
|
|
297
|
+
this.fd();
|
|
298
298
|
this.ar.removeChildren();
|
|
299
|
-
if (this.
|
|
300
|
-
this.
|
|
301
|
-
}
|
|
302
|
-
this.
|
|
303
|
-
this.ar.append(this.
|
|
304
|
-
this.
|
|
305
|
-
if (this.
|
|
306
|
-
this.
|
|
307
|
-
if (!this.
|
|
308
|
-
this.
|
|
299
|
+
if (this.d4 != null) {
|
|
300
|
+
this.d4.cleanUp();
|
|
301
|
+
}
|
|
302
|
+
this.d4 = this.d9(this.d3);
|
|
303
|
+
this.ar.append(this.d4.container);
|
|
304
|
+
this.fc();
|
|
305
|
+
if (this.d4 != null) {
|
|
306
|
+
this.d4.isEnabled = !this.isRemoved;
|
|
307
|
+
if (!this.ep) {
|
|
308
|
+
this.d4.onEditStarted();
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
this.
|
|
311
|
+
this.ef = false;
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
if (this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
313
|
+
fg() {
|
|
314
|
+
if (this.d0 != null) {
|
|
315
|
+
this.d0.ah = this.ew;
|
|
316
|
+
this.d0.ak = this.e1;
|
|
317
|
+
this.d0.aa = this.dx;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
if (this.
|
|
320
|
+
fm() {
|
|
321
|
+
if (this.ee != null) {
|
|
322
|
+
if (this.eb != null) {
|
|
323
|
+
this.eb.setFont(this.ee);
|
|
324
|
+
}
|
|
322
325
|
if (this.ea != null) {
|
|
323
|
-
this.ea.setFont(this.
|
|
326
|
+
this.ea.setFont(this.ee);
|
|
324
327
|
}
|
|
325
|
-
if (this.
|
|
326
|
-
this.
|
|
328
|
+
if (this.d1 != null) {
|
|
329
|
+
this.d1.setFont(this.ee);
|
|
327
330
|
}
|
|
328
331
|
if (this.d0 != null) {
|
|
329
|
-
this.d0.setFont(this.
|
|
332
|
+
this.d0.setFont(this.ee);
|
|
330
333
|
}
|
|
331
|
-
|
|
332
|
-
this.dz.setFont(this.ed);
|
|
333
|
-
}
|
|
334
|
-
this.er.setStyleProperty("font", this.ed.fontString);
|
|
334
|
+
this.es.setStyleProperty("font", this.ee.fontString);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
|
|
338
|
-
this.
|
|
339
|
-
if (this.
|
|
340
|
-
if (!this.
|
|
341
|
-
this.
|
|
337
|
+
ff() {
|
|
338
|
+
this.ej = false;
|
|
339
|
+
if (this.d4 != null) {
|
|
340
|
+
if (!this.ep) {
|
|
341
|
+
this.d4.onEditStarted();
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
344
|
+
this.d4.onEditEnded();
|
|
345
|
+
this.d4.value = null;
|
|
346
|
+
this.d4.value = this.ex;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
|
|
351
|
-
if (this.
|
|
352
|
-
this.
|
|
350
|
+
fi() {
|
|
351
|
+
if (this.d4 != null && this.d1 == this.d4) {
|
|
352
|
+
this.d1.af = this.e5;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
|
|
356
|
-
if (this.
|
|
357
|
-
this.
|
|
355
|
+
fq() {
|
|
356
|
+
if (this.d4 != null && this.d1 == this.d4) {
|
|
357
|
+
this.d1.ad = this.eq;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
|
|
360
|
+
fv(a, b, c, d, e) {
|
|
361
361
|
if (!stringIsNullOrWhiteSpace(a)) {
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
362
|
+
this.es.setRawText(a);
|
|
363
|
+
this.ec.b9();
|
|
364
|
+
this.fw();
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
fw() {
|
|
368
368
|
let rect_ = this.ar.getNativeElement().getBoundingClientRect();
|
|
369
369
|
let a = new Rect(4);
|
|
370
370
|
a.left = (rect_.left + window.pageXOffset);
|
|
371
371
|
a.top = (rect_.top + window.pageYOffset);
|
|
372
372
|
a.right = (rect_.right + window.pageXOffset);
|
|
373
373
|
a.bottom = (rect_.bottom + window.pageYOffset);
|
|
374
|
-
this.
|
|
374
|
+
this.ec.showRelativeToExclusionRect(a, 1, 0);
|
|
375
375
|
}
|
|
376
|
-
|
|
377
|
-
if (this.
|
|
378
|
-
this.
|
|
376
|
+
fe() {
|
|
377
|
+
if (this.ec.ax) {
|
|
378
|
+
this.ec.b6();
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
cj() {
|
|
382
|
-
if (this.
|
|
383
|
-
this.
|
|
384
|
-
this.f.setViewportChangedHandler(runOn(this, this.
|
|
382
|
+
if (this.d4 == null) {
|
|
383
|
+
this.fl();
|
|
384
|
+
this.f.setViewportChangedHandler(runOn(this, this.fo));
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
b9() {
|
|
388
|
-
if (this.
|
|
389
|
-
this.
|
|
388
|
+
if (this.d4 != null) {
|
|
389
|
+
this.d4.focus();
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
ck(a, b, c) {
|
|
393
393
|
super.ck(a, b, c);
|
|
394
394
|
switch (a) {
|
|
395
395
|
case "EditorType":
|
|
396
|
-
this.
|
|
396
|
+
this.fl();
|
|
397
397
|
break;
|
|
398
398
|
case "ComboItemsSource":
|
|
399
399
|
case "ComboTextField":
|
|
400
400
|
case "ComboValueField":
|
|
401
|
-
this.
|
|
401
|
+
this.fg();
|
|
402
402
|
break;
|
|
403
403
|
case "DataType":
|
|
404
|
-
this.
|
|
404
|
+
this.fh();
|
|
405
405
|
break;
|
|
406
406
|
case "Value":
|
|
407
|
-
this.
|
|
407
|
+
this.ft();
|
|
408
408
|
break;
|
|
409
409
|
case "FontInfo":
|
|
410
|
-
this.
|
|
410
|
+
this.fm();
|
|
411
411
|
break;
|
|
412
412
|
case "IsHidden":
|
|
413
|
-
this.
|
|
413
|
+
this.ff();
|
|
414
414
|
break;
|
|
415
415
|
case "DateFormatString":
|
|
416
|
-
this.
|
|
416
|
+
this.fi();
|
|
417
417
|
break;
|
|
418
418
|
case "ShowTodayButton":
|
|
419
|
-
this.
|
|
419
|
+
this.fq();
|
|
420
420
|
break;
|
|
421
421
|
case "IsRemoved":
|
|
422
|
-
if (this.
|
|
423
|
-
this.
|
|
422
|
+
if (this.d4 != null) {
|
|
423
|
+
this.d4.isEnabled = !this.isRemoved;
|
|
424
424
|
if (!this.isRemoved) {
|
|
425
|
-
this.
|
|
425
|
+
this.d4.onTargetChanged();
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
|
|
432
|
-
if (a == this.
|
|
431
|
+
fu(a, b, c) {
|
|
432
|
+
if (a == this.d4) {
|
|
433
433
|
if (!c) {
|
|
434
434
|
this.b.updateCellEditValue(b);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
|
|
439
|
-
if (a == this.
|
|
438
|
+
fs(a) {
|
|
439
|
+
if (a == this.d4) {
|
|
440
440
|
this.b.startEditMode();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
444
|
-
if (a != null && this.
|
|
445
|
-
let b = this.
|
|
443
|
+
eo(a) {
|
|
444
|
+
if (a != null && this.ec != null && this.ec.ax) {
|
|
445
|
+
let b = this.et.getNativeElement();
|
|
446
446
|
return b.contains(a);
|
|
447
447
|
}
|
|
448
448
|
return false;
|
|
449
449
|
}
|
|
450
|
-
|
|
450
|
+
en(a) {
|
|
451
451
|
if (a != null) {
|
|
452
452
|
let b = this.ar.getNativeElement();
|
|
453
453
|
return b.contains(a);
|
|
454
454
|
}
|
|
455
455
|
return false;
|
|
456
456
|
}
|
|
457
|
-
|
|
458
|
-
if (!this.
|
|
457
|
+
fp(a) {
|
|
458
|
+
if (!this.ef) {
|
|
459
459
|
let b = (a.originalEvent.relatedTarget);
|
|
460
|
-
if (this.
|
|
460
|
+
if (this.ek && !this.en(b) && !this.eo(b)) {
|
|
461
461
|
this.b.editorCellLostFocus();
|
|
462
|
-
this.
|
|
462
|
+
this.fe();
|
|
463
463
|
}
|
|
464
464
|
let c = this.am.rootWrapper.getNativeElement();
|
|
465
465
|
if (c.contains(b)) {
|
|
@@ -468,23 +468,23 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
468
468
|
if (d == "INPUT" || d == "SELECT" || d == "TEXTAREA" || d == "BUTTON" || d == "OPTION") {
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
|
-
if (this.b.isEditRefocusDesired && this.
|
|
472
|
-
this.
|
|
471
|
+
if (this.b.isEditRefocusDesired && this.d4 != null) {
|
|
472
|
+
this.d4.focus();
|
|
473
473
|
}
|
|
474
474
|
}, 0);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
|
|
479
|
-
if (this.
|
|
480
|
-
this.
|
|
478
|
+
fn(a) {
|
|
479
|
+
if (this.el && !this.ec.ax) {
|
|
480
|
+
this.fw();
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
|
|
484
|
-
this.
|
|
483
|
+
fk(a) {
|
|
484
|
+
this.ek = true;
|
|
485
485
|
}
|
|
486
|
-
|
|
487
|
-
this.
|
|
486
|
+
fj(a) {
|
|
487
|
+
this.ek = false;
|
|
488
488
|
}
|
|
489
489
|
onContactStarted(a, b) {
|
|
490
490
|
a.stopPropagation();
|