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