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