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
|
@@ -22,469 +22,469 @@ export let EditorCell = /*@__PURE__*/ (() => {
|
|
|
22
22
|
class EditorCell extends GridCellBase {
|
|
23
23
|
constructor(a) {
|
|
24
24
|
super(a);
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.d6 = null;
|
|
28
|
-
this.dx = null;
|
|
29
|
-
this.dw = null;
|
|
30
|
-
this.en = null;
|
|
31
|
-
this.eo = null;
|
|
32
|
-
this.ep = null;
|
|
33
|
-
this.d8 = null;
|
|
34
|
-
this.eb = false;
|
|
35
|
-
this.ef = false;
|
|
36
|
-
this.ec = false;
|
|
37
|
-
this.du = 0;
|
|
38
|
-
this.er = null;
|
|
25
|
+
this.d3 = null;
|
|
26
|
+
this.ea = null;
|
|
39
27
|
this.d9 = null;
|
|
40
|
-
this.
|
|
28
|
+
this.d0 = null;
|
|
29
|
+
this.dz = null;
|
|
41
30
|
this.eq = null;
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.ev = null;
|
|
31
|
+
this.er = null;
|
|
32
|
+
this.es = null;
|
|
33
|
+
this.eb = null;
|
|
46
34
|
this.ee = false;
|
|
47
|
-
this.eh = false;
|
|
48
35
|
this.ei = false;
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
36
|
+
this.ef = false;
|
|
37
|
+
this.dx = 0;
|
|
38
|
+
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
|
+
this.ey = null;
|
|
46
|
+
this.eh = false;
|
|
47
|
+
this.ek = false;
|
|
48
|
+
this.el = false;
|
|
49
|
+
this.ej = false;
|
|
50
|
+
this.ar.setAttribute("tabindex", "-1");
|
|
51
|
+
this.ar.setStyleProperty("outline", "none");
|
|
52
|
+
this.ar.setStyleProperty("display", "flex");
|
|
53
|
+
this.ar.setStyleProperty("align-items", "center");
|
|
54
|
+
this.ar.listen("focusout", runOn(this, this.fo));
|
|
55
|
+
this.ar.listen("focusin", runOn(this, this.fm));
|
|
56
|
+
}
|
|
57
|
+
get dy() {
|
|
58
|
+
return this.dx;
|
|
59
59
|
}
|
|
60
|
-
set
|
|
61
|
-
let b = this.
|
|
62
|
-
this.
|
|
63
|
-
if (b != this.
|
|
64
|
-
this.
|
|
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
65
|
}
|
|
66
66
|
}
|
|
67
|
-
get
|
|
68
|
-
return this.
|
|
67
|
+
get ew() {
|
|
68
|
+
return this.eu;
|
|
69
69
|
}
|
|
70
|
-
set
|
|
71
|
-
let b = this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
70
|
+
set ew(a) {
|
|
71
|
+
let b = this.eu;
|
|
72
|
+
this.eu = a;
|
|
73
|
+
this.ck("Value", b, this.eu);
|
|
74
74
|
}
|
|
75
|
-
get
|
|
76
|
-
return this.
|
|
75
|
+
get ed() {
|
|
76
|
+
return this.ec;
|
|
77
77
|
}
|
|
78
|
-
set
|
|
79
|
-
let b = this.
|
|
80
|
-
this.
|
|
81
|
-
if (b != this.
|
|
82
|
-
this.
|
|
78
|
+
set ed(a) {
|
|
79
|
+
let b = this.ec;
|
|
80
|
+
this.ec = a;
|
|
81
|
+
if (b != this.ec) {
|
|
82
|
+
this.ck("FontInfo", b, this.ec);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
get
|
|
86
|
-
return this.
|
|
85
|
+
get d2() {
|
|
86
|
+
return this.d1;
|
|
87
87
|
}
|
|
88
|
-
set
|
|
89
|
-
let b = this.
|
|
90
|
-
this.
|
|
91
|
-
if (b != this.
|
|
92
|
-
this.
|
|
88
|
+
set d2(a) {
|
|
89
|
+
let b = this.d1;
|
|
90
|
+
this.d1 = a;
|
|
91
|
+
if (b != this.d1) {
|
|
92
|
+
this.ck("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.d1));
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
95
|
+
get ev() {
|
|
96
|
+
return this.et;
|
|
97
97
|
}
|
|
98
|
-
set
|
|
99
|
-
let b = this.
|
|
100
|
-
this.
|
|
101
|
-
if (b != this.
|
|
102
|
-
this.
|
|
98
|
+
set ev(a) {
|
|
99
|
+
let b = this.et;
|
|
100
|
+
this.et = a;
|
|
101
|
+
if (b != this.et) {
|
|
102
|
+
this.ck("ComboItemsSource", b, this.et);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
get
|
|
106
|
-
return this.
|
|
105
|
+
get e0() {
|
|
106
|
+
return this.ex;
|
|
107
107
|
}
|
|
108
|
-
set
|
|
109
|
-
let b = this.
|
|
110
|
-
this.
|
|
111
|
-
if (b != this.
|
|
112
|
-
this.
|
|
108
|
+
set e0(a) {
|
|
109
|
+
let b = this.ex;
|
|
110
|
+
this.ex = a;
|
|
111
|
+
if (b != this.ex) {
|
|
112
|
+
this.ck("ComboTextField", b, this.ex);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
get
|
|
116
|
-
return this.
|
|
115
|
+
get dw() {
|
|
116
|
+
return this.dv;
|
|
117
117
|
}
|
|
118
|
-
set
|
|
119
|
-
let b = this.
|
|
120
|
-
this.
|
|
121
|
-
if (b != this.
|
|
122
|
-
this.
|
|
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
123
|
}
|
|
124
124
|
}
|
|
125
|
-
get
|
|
126
|
-
return this.
|
|
125
|
+
get eo() {
|
|
126
|
+
return this.eg;
|
|
127
127
|
}
|
|
128
|
-
set
|
|
129
|
-
let b = this.
|
|
130
|
-
this.
|
|
131
|
-
if (b != this.
|
|
132
|
-
this.
|
|
128
|
+
set eo(a) {
|
|
129
|
+
let b = this.eg;
|
|
130
|
+
this.eg = a;
|
|
131
|
+
if (b != this.eg) {
|
|
132
|
+
this.ck("IsHidden", b, this.eg);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
get
|
|
136
|
-
return this.
|
|
135
|
+
get e4() {
|
|
136
|
+
return this.ey;
|
|
137
137
|
}
|
|
138
|
-
set
|
|
139
|
-
let b = this.
|
|
140
|
-
this.
|
|
141
|
-
if (b != this.
|
|
142
|
-
this.
|
|
138
|
+
set e4(a) {
|
|
139
|
+
let b = this.ey;
|
|
140
|
+
this.ey = a;
|
|
141
|
+
if (b != this.ey) {
|
|
142
|
+
this.ck("DateFormatString", b, this.ey);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
get
|
|
146
|
-
return this.
|
|
145
|
+
get ep() {
|
|
146
|
+
return this.eh;
|
|
147
147
|
}
|
|
148
|
-
set
|
|
149
|
-
let b = this.
|
|
150
|
-
this.
|
|
151
|
-
if (b != this.
|
|
152
|
-
this.
|
|
148
|
+
set ep(a) {
|
|
149
|
+
let b = this.eh;
|
|
150
|
+
this.eh = a;
|
|
151
|
+
if (b != this.eh) {
|
|
152
|
+
this.ck("ShowTodayButton", b, this.eh);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
if (this.
|
|
157
|
-
this.
|
|
158
|
-
let b = this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
if (this.
|
|
170
|
-
this.
|
|
155
|
+
d8(a) {
|
|
156
|
+
if (this.eq == null) {
|
|
157
|
+
this.eq = this.am.createElement("div");
|
|
158
|
+
let b = this.am.getSubRenderer(this.eq);
|
|
159
|
+
this.eb = new Popup();
|
|
160
|
+
this.eb.provideRenderer(b);
|
|
161
|
+
this.es = this.am.createElement("div");
|
|
162
|
+
this.es.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
|
|
163
|
+
this.es.setStyleProperty("color", "#fff");
|
|
164
|
+
this.es.setStyleProperty("padding", "5px");
|
|
165
|
+
this.es.setStyleProperty("outline", "none");
|
|
166
|
+
this.es.setAttribute("tabindex", "-1");
|
|
167
|
+
this.er = this.am.createElement("div");
|
|
168
|
+
this.er.setStyleProperty("white-space", "pre");
|
|
169
|
+
if (this.ed != null) {
|
|
170
|
+
this.er.setStyleProperty("font", this.ed.fontString);
|
|
171
171
|
}
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
172
|
+
this.es.append(this.er);
|
|
173
|
+
this.eb.appendPopupContent(this.es);
|
|
174
174
|
}
|
|
175
175
|
let c = null;
|
|
176
176
|
switch (a) {
|
|
177
177
|
case 1:
|
|
178
|
-
c = this.
|
|
178
|
+
c = this.d7();
|
|
179
179
|
break;
|
|
180
180
|
case 2:
|
|
181
|
-
c = this.
|
|
181
|
+
c = this.d6();
|
|
182
182
|
break;
|
|
183
183
|
case 3:
|
|
184
|
-
c = this.
|
|
184
|
+
c = this.d5();
|
|
185
185
|
break;
|
|
186
186
|
case 4:
|
|
187
|
-
c = this.
|
|
187
|
+
c = this.d4();
|
|
188
188
|
break;
|
|
189
189
|
}
|
|
190
190
|
return c;
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
if (this.
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
return this.
|
|
197
|
-
}
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
200
|
-
return this.
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
if (this.
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
206
|
-
return this.
|
|
207
|
-
}
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
return this.
|
|
211
|
-
}
|
|
212
|
-
d2() {
|
|
213
|
-
if (this.dx != null) {
|
|
214
|
-
this.fd();
|
|
215
|
-
this.fi();
|
|
216
|
-
return this.dx;
|
|
217
|
-
}
|
|
218
|
-
this.dx = new DateEditorView(this.ak, this.f.getTheme(), this.b);
|
|
219
|
-
this.dx.setFont(this.ea);
|
|
220
|
-
return this.dx;
|
|
192
|
+
d7() {
|
|
193
|
+
if (this.ea != null) {
|
|
194
|
+
this.fg();
|
|
195
|
+
this.fl();
|
|
196
|
+
return this.ea;
|
|
197
|
+
}
|
|
198
|
+
this.ea = new TextEditorView(this.am, this.f.getTheme(), this.b);
|
|
199
|
+
this.ea.setFont(this.ed);
|
|
200
|
+
return this.ea;
|
|
201
|
+
}
|
|
202
|
+
d6() {
|
|
203
|
+
if (this.d9 != null) {
|
|
204
|
+
this.fg();
|
|
205
|
+
this.fl();
|
|
206
|
+
return this.d9;
|
|
207
|
+
}
|
|
208
|
+
this.d9 = new NumericEditorView(this.am, this.f.getTheme(), this.b);
|
|
209
|
+
this.d9.setFont(this.ed);
|
|
210
|
+
return this.d9;
|
|
221
211
|
}
|
|
222
|
-
|
|
223
|
-
if (this.
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
return this.dw;
|
|
212
|
+
d5() {
|
|
213
|
+
if (this.d0 != null) {
|
|
214
|
+
this.fg();
|
|
215
|
+
this.fl();
|
|
216
|
+
return this.d0;
|
|
228
217
|
}
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
|
|
232
|
-
this.dw.ak = this.ex;
|
|
233
|
-
this.dw.aa = this.dt;
|
|
234
|
-
return this.dw;
|
|
218
|
+
this.d0 = new DateEditorView(this.am, this.f.getTheme(), this.b);
|
|
219
|
+
this.d0.setFont(this.ed);
|
|
220
|
+
return this.d0;
|
|
235
221
|
}
|
|
236
|
-
|
|
222
|
+
d4() {
|
|
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) {
|
|
237
237
|
if (b.g != b.d || b.h != b.e) {
|
|
238
|
-
if (this.
|
|
239
|
-
this.
|
|
238
|
+
if (this.dz != null) {
|
|
239
|
+
this.dz.an();
|
|
240
240
|
}
|
|
241
|
-
if (this.
|
|
242
|
-
this.
|
|
241
|
+
if (this.d0 != null) {
|
|
242
|
+
this.d0.ah();
|
|
243
243
|
}
|
|
244
|
-
this.
|
|
244
|
+
this.fd();
|
|
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
|
+
fb() {
|
|
248
|
+
if (!this.ef) {
|
|
249
|
+
if (this.d3 != null) {
|
|
250
|
+
this.d3.attachEvents();
|
|
251
|
+
let a = this.d3;
|
|
252
|
+
a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.ft));
|
|
253
|
+
let b = this.d3;
|
|
254
|
+
b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.fj));
|
|
255
|
+
let c = this.d3;
|
|
256
|
+
c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.fi));
|
|
257
|
+
let d = this.d3;
|
|
258
|
+
d.userTyping = delegateCombine(d.userTyping, runOn(this, this.fr));
|
|
259
|
+
this.ef = 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
|
+
fc() {
|
|
264
|
+
if (this.ef) {
|
|
265
|
+
if (this.d3 != null) {
|
|
266
|
+
this.d3.detachEvents();
|
|
267
|
+
let a = this.d3;
|
|
268
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.ft));
|
|
269
|
+
let b = this.d3;
|
|
270
|
+
b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.fj));
|
|
271
|
+
let c = this.d3;
|
|
272
|
+
c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.fi));
|
|
273
|
+
let d = this.d3;
|
|
274
|
+
d.userTyping = delegateRemove(d.userTyping, runOn(this, this.fr));
|
|
275
|
+
this.ef = false;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
279
|
+
fq(a) {
|
|
280
|
+
this.ek = false;
|
|
281
|
+
this.el = false;
|
|
282
|
+
this.ej = false;
|
|
283
283
|
if (!a) {
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
284
|
+
this.el = true;
|
|
285
|
+
this.d3.onTargetChanged();
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
|
|
289
|
-
if (this.
|
|
290
|
-
this.
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
if (this.
|
|
300
|
-
this.
|
|
301
|
-
}
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
if (this.
|
|
306
|
-
this.
|
|
307
|
-
if (!this.
|
|
308
|
-
this.
|
|
288
|
+
fs() {
|
|
289
|
+
if (this.d3 != null) {
|
|
290
|
+
this.d3.value = this.ew;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
fg() {
|
|
294
|
+
}
|
|
295
|
+
fk() {
|
|
296
|
+
this.ee = true;
|
|
297
|
+
this.fc();
|
|
298
|
+
this.ar.removeChildren();
|
|
299
|
+
if (this.d3 != null) {
|
|
300
|
+
this.d3.cleanUp();
|
|
301
|
+
}
|
|
302
|
+
this.d3 = this.d8(this.d2);
|
|
303
|
+
this.ar.append(this.d3.container);
|
|
304
|
+
this.fb();
|
|
305
|
+
if (this.d3 != null) {
|
|
306
|
+
this.d3.isEnabled = !this.isRemoved;
|
|
307
|
+
if (!this.eo) {
|
|
308
|
+
this.d3.onEditStarted();
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
this.
|
|
311
|
+
this.ee = false;
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
if (this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
313
|
+
ff() {
|
|
314
|
+
if (this.dz != null) {
|
|
315
|
+
this.dz.ah = this.ev;
|
|
316
|
+
this.dz.ak = this.e0;
|
|
317
|
+
this.dz.aa = this.dw;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
if (this.
|
|
322
|
-
if (this.
|
|
323
|
-
this.
|
|
320
|
+
fl() {
|
|
321
|
+
if (this.ed != null) {
|
|
322
|
+
if (this.ea != null) {
|
|
323
|
+
this.ea.setFont(this.ed);
|
|
324
324
|
}
|
|
325
|
-
if (this.
|
|
326
|
-
this.
|
|
325
|
+
if (this.d9 != null) {
|
|
326
|
+
this.d9.setFont(this.ed);
|
|
327
327
|
}
|
|
328
|
-
if (this.
|
|
329
|
-
this.
|
|
328
|
+
if (this.d0 != null) {
|
|
329
|
+
this.d0.setFont(this.ed);
|
|
330
330
|
}
|
|
331
|
-
if (this.
|
|
332
|
-
this.
|
|
331
|
+
if (this.dz != null) {
|
|
332
|
+
this.dz.setFont(this.ed);
|
|
333
333
|
}
|
|
334
|
-
this.
|
|
334
|
+
this.er.setStyleProperty("font", this.ed.fontString);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
|
|
338
|
-
this.
|
|
339
|
-
if (this.
|
|
340
|
-
if (!this.
|
|
341
|
-
this.
|
|
337
|
+
fe() {
|
|
338
|
+
this.ei = false;
|
|
339
|
+
if (this.d3 != null) {
|
|
340
|
+
if (!this.eo) {
|
|
341
|
+
this.d3.onEditStarted();
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
344
|
+
this.d3.onEditEnded();
|
|
345
|
+
this.d3.value = null;
|
|
346
|
+
this.d3.value = this.ew;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
|
|
351
|
-
if (this.
|
|
352
|
-
this.
|
|
350
|
+
fh() {
|
|
351
|
+
if (this.d3 != null && this.d0 == this.d3) {
|
|
352
|
+
this.d0.af = this.e4;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
|
|
356
|
-
if (this.
|
|
357
|
-
this.
|
|
355
|
+
fp() {
|
|
356
|
+
if (this.d3 != null && this.d0 == this.d3) {
|
|
357
|
+
this.d0.ad = this.ep;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
|
|
360
|
+
fu(a, b, c, d, e) {
|
|
361
361
|
if (!stringIsNullOrWhiteSpace(a)) {
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
362
|
+
this.er.setRawText(a);
|
|
363
|
+
this.eb.b9();
|
|
364
|
+
this.fv();
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
|
|
368
|
-
let rect_ = this.
|
|
367
|
+
fv() {
|
|
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.eb.showRelativeToExclusionRect(a, 1, 0);
|
|
375
375
|
}
|
|
376
|
-
|
|
377
|
-
if (this.
|
|
378
|
-
this.
|
|
376
|
+
fd() {
|
|
377
|
+
if (this.eb.ax) {
|
|
378
|
+
this.eb.b6();
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
|
-
|
|
382
|
-
if (this.
|
|
383
|
-
this.
|
|
384
|
-
this.f.setViewportChangedHandler(runOn(this, this.
|
|
381
|
+
cj() {
|
|
382
|
+
if (this.d3 == null) {
|
|
383
|
+
this.fk();
|
|
384
|
+
this.f.setViewportChangedHandler(runOn(this, this.fn));
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
|
|
388
|
-
if (this.
|
|
389
|
-
this.
|
|
387
|
+
b9() {
|
|
388
|
+
if (this.d3 != null) {
|
|
389
|
+
this.d3.focus();
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
|
|
393
|
-
super.
|
|
392
|
+
ck(a, b, c) {
|
|
393
|
+
super.ck(a, b, c);
|
|
394
394
|
switch (a) {
|
|
395
395
|
case "EditorType":
|
|
396
|
-
this.
|
|
396
|
+
this.fk();
|
|
397
397
|
break;
|
|
398
398
|
case "ComboItemsSource":
|
|
399
399
|
case "ComboTextField":
|
|
400
400
|
case "ComboValueField":
|
|
401
|
-
this.
|
|
401
|
+
this.ff();
|
|
402
402
|
break;
|
|
403
403
|
case "DataType":
|
|
404
|
-
this.
|
|
404
|
+
this.fg();
|
|
405
405
|
break;
|
|
406
406
|
case "Value":
|
|
407
|
-
this.
|
|
407
|
+
this.fs();
|
|
408
408
|
break;
|
|
409
409
|
case "FontInfo":
|
|
410
|
-
this.
|
|
410
|
+
this.fl();
|
|
411
411
|
break;
|
|
412
412
|
case "IsHidden":
|
|
413
|
-
this.
|
|
413
|
+
this.fe();
|
|
414
414
|
break;
|
|
415
415
|
case "DateFormatString":
|
|
416
|
-
this.
|
|
416
|
+
this.fh();
|
|
417
417
|
break;
|
|
418
418
|
case "ShowTodayButton":
|
|
419
|
-
this.
|
|
419
|
+
this.fp();
|
|
420
420
|
break;
|
|
421
421
|
case "IsRemoved":
|
|
422
|
-
if (this.
|
|
423
|
-
this.
|
|
422
|
+
if (this.d3 != null) {
|
|
423
|
+
this.d3.isEnabled = !this.isRemoved;
|
|
424
424
|
if (!this.isRemoved) {
|
|
425
|
-
this.
|
|
425
|
+
this.d3.onTargetChanged();
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
|
|
432
|
-
if (a == this.
|
|
431
|
+
ft(a, b, c) {
|
|
432
|
+
if (a == this.d3) {
|
|
433
433
|
if (!c) {
|
|
434
434
|
this.b.updateCellEditValue(b);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
|
|
439
|
-
if (a == this.
|
|
438
|
+
fr(a) {
|
|
439
|
+
if (a == this.d3) {
|
|
440
440
|
this.b.startEditMode();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
444
|
-
if (a != null && this.
|
|
445
|
-
let b = this.
|
|
443
|
+
en(a) {
|
|
444
|
+
if (a != null && this.eb != null && this.eb.ax) {
|
|
445
|
+
let b = this.es.getNativeElement();
|
|
446
446
|
return b.contains(a);
|
|
447
447
|
}
|
|
448
448
|
return false;
|
|
449
449
|
}
|
|
450
|
-
|
|
450
|
+
em(a) {
|
|
451
451
|
if (a != null) {
|
|
452
|
-
let b = this.
|
|
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
|
+
fo(a) {
|
|
458
|
+
if (!this.ee) {
|
|
459
459
|
let b = (a.originalEvent.relatedTarget);
|
|
460
|
-
if (this.
|
|
460
|
+
if (this.ej && !this.em(b) && !this.en(b)) {
|
|
461
461
|
this.b.editorCellLostFocus();
|
|
462
|
-
this.
|
|
462
|
+
this.fd();
|
|
463
463
|
}
|
|
464
|
-
let c = this.
|
|
464
|
+
let c = this.am.rootWrapper.getNativeElement();
|
|
465
465
|
if (c.contains(b)) {
|
|
466
466
|
window.setTimeout(() => {
|
|
467
467
|
let d = document.activeElement.nodeName;
|
|
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.d3 != null) {
|
|
472
|
+
this.d3.focus();
|
|
473
473
|
}
|
|
474
474
|
}, 0);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
|
|
479
|
-
if (this.
|
|
480
|
-
this.
|
|
478
|
+
fm(a) {
|
|
479
|
+
if (this.ek && !this.eb.ax) {
|
|
480
|
+
this.fv();
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
|
|
484
|
-
this.
|
|
483
|
+
fj(a) {
|
|
484
|
+
this.ej = true;
|
|
485
485
|
}
|
|
486
|
-
|
|
487
|
-
this.
|
|
486
|
+
fi(a) {
|
|
487
|
+
this.ej = false;
|
|
488
488
|
}
|
|
489
489
|
onContactStarted(a, b) {
|
|
490
490
|
a.stopPropagation();
|