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