igniteui-webcomponents-grids 5.0.3-beta.0 → 5.1.1-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-grids.umd.js +29290 -22265
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/BaseEditorView.js +36 -30
- package/esm2015/lib/CanvasCellPresenterBase.js +17 -17
- package/esm2015/lib/CanvasContentCellModelHelper.js +26 -26
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +377 -361
- package/esm2015/lib/CanvasImageCell.js +30 -30
- package/esm2015/lib/CanvasImageCellPresenter.js +17 -17
- package/esm2015/lib/CanvasNumericCell.js +2 -2
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CanvasSummaryCell.js +50 -50
- package/esm2015/lib/CanvasSummaryCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTemplateCell.js +7 -7
- package/esm2015/lib/CanvasTemplateCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTextCell.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +20 -20
- package/esm2015/lib/CellPresenterBase.js +40 -38
- package/esm2015/lib/CheckboxListBridge.js +88 -23
- package/esm2015/lib/CheckboxListExternalIndexType.js +11 -0
- package/esm2015/lib/CheckboxListExternalIndexTypeChangedEventArgs.js +21 -0
- package/esm2015/lib/CheckboxListExternalKeysClearedEventArgs.js +16 -0
- package/esm2015/lib/CheckboxListIndexTypeChangedEventArgs.js +21 -0
- package/esm2015/lib/CheckboxListKeysClearedEventArgs.js +16 -0
- package/esm2015/lib/CheckboxListViewExternal.js +11 -0
- package/esm2015/lib/CheckboxListView_combined.js +617 -520
- package/esm2015/lib/ColumnChooserView_combined.js +15 -15
- package/esm2015/lib/ColumnFilterCondition_combined.js +13473 -10334
- package/esm2015/lib/ColumnGroupingView_combined.js +6 -5
- package/esm2015/lib/ColumnOptionsToolbarManagerOpeningEventArgs.js +16 -0
- package/esm2015/lib/ColumnPinningView_combined.js +15 -15
- package/esm2015/lib/ColumnSummaryDescription.js +53 -46
- package/esm2015/lib/ColumnSummaryDescriptionCollection.js +4 -2
- package/esm2015/lib/ComboEditorView.js +119 -117
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +12 -12
- package/esm2015/lib/ContentCellModelHelper.js +19 -19
- package/esm2015/lib/DataGridCellLayoutPanel.js +21 -21
- package/esm2015/lib/DataGridColumnToolbarManager.js +7 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +3 -2
- package/esm2015/lib/DateEditorView.js +94 -94
- package/esm2015/lib/DateTimeCellPresenter.js +8 -8
- package/esm2015/lib/Dragger.js +3 -2
- package/esm2015/lib/DraggerView.js +1 -1
- package/esm2015/lib/EditorCell.js +303 -303
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +272 -272
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +295 -279
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +23 -22
- 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 +19 -18
- package/esm2015/lib/GridCompoundConditionalStyle.js +7 -0
- package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +33 -0
- package/esm2015/lib/GridConditionalStyle.js +7 -0
- package/esm2015/lib/GridConditionalStyleBoundType.js +16 -0
- package/esm2015/lib/GridConditionalStyleCollection.js +7 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +615 -0
- package/esm2015/lib/GridConditionalStylePropertyCollection.js +21 -0
- package/esm2015/lib/GridConditionalStylePropertyStylingType.js +18 -0
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +308 -301
- package/esm2015/lib/GridModuleHelper.js +24 -0
- package/esm2015/lib/GridSelectedKeysCollection.js +21 -3
- package/esm2015/lib/GridSortIndicatorView_combined.js +1 -1
- package/esm2015/lib/GridStyleRepository.js +206 -173
- package/esm2015/lib/ISummaryChooserView_combined.js +10 -10
- package/esm2015/lib/ImageCell.js +60 -60
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +34 -34
- package/esm2015/lib/NativeUIComboFactory.js +47 -0
- package/esm2015/lib/NativeUIGridFactory.js +1 -1
- package/esm2015/lib/NumericCell.js +5 -5
- package/esm2015/lib/NumericCellPresenter.js +8 -8
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +66 -66
- 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 +9 -9
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +23 -17
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +3 -3
- package/esm2015/lib/TextCell.js +30 -30
- package/esm2015/lib/TextCellPresenter.js +9 -9
- package/esm2015/lib/TextEditorView.js +78 -78
- package/esm2015/lib/TextHeaderCell.js +149 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +38 -32
- package/esm2015/lib/TextIconSetBuiltInTypes.js +18 -0
- package/esm2015/lib/TextIconSetConditionalStyle.js +101 -0
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +177 -177
- package/esm2015/lib/igc-checkbox-list-component.js +131 -79
- package/esm2015/lib/igc-checkbox-list-index-type-changed-event-args.js +44 -0
- package/esm2015/lib/igc-checkbox-list-keys-cleared-event-args.js +30 -0
- package/esm2015/lib/igc-column-moving-separator-component.js +15 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +12 -6
- package/esm2015/lib/igc-column-summary-description.js +24 -15
- package/esm2015/lib/igc-combo-box-column-component.js +16 -10
- package/esm2015/lib/igc-data-grid-all-columns-module.js +4 -0
- package/esm2015/lib/igc-data-grid-column-component.js +182 -160
- package/esm2015/lib/igc-data-grid-component.js +50 -24
- package/esm2015/lib/igc-data-grid-core-module.js +5 -0
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +51 -20
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +29 -23
- package/esm2015/lib/igc-definition-base-component.js +317 -111
- package/esm2015/lib/igc-edit-row-definition-component.js +6 -0
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-editor-definition-component.js +6 -0
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-component.js +18 -12
- package/esm2015/lib/igc-grid-compound-conditional-style-component.js +88 -0
- package/esm2015/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +48 -0
- package/esm2015/lib/igc-grid-conditional-style-collection.js +53 -0
- package/esm2015/lib/igc-grid-conditional-style-component.js +413 -0
- package/esm2015/lib/igc-grid-conditional-style-module.js +16 -0
- package/esm2015/lib/igc-grid-conditional-style-property-collection.js +53 -0
- package/esm2015/lib/igc-grid-conditional-style-property-component.js +400 -0
- package/esm2015/lib/igc-grid-conditional-style-property-module.js +16 -0
- package/esm2015/lib/igc-header-component.js +30 -24
- package/esm2015/lib/igc-header-row-separator-component.js +6 -0
- package/esm2015/lib/igc-header-separator-component.js +6 -0
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +18 -12
- package/esm2015/lib/igc-multi-column-combo-box-component.js +24 -24
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +41 -35
- package/esm2015/lib/igc-pinned-area-separator-component.js +6 -0
- package/esm2015/lib/igc-row-separator-component.js +6 -0
- package/esm2015/lib/igc-section-footer-component.js +6 -0
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +30 -24
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +30 -24
- package/esm2015/lib/igc-summary-row-root-component.js +6 -0
- package/esm2015/lib/igc-summary-row-section-component.js +6 -0
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-column-component.js +6 -0
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-component.js +6 -0
- package/esm2015/lib/igc-template-section-header-component.js +6 -0
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +15 -9
- package/esm2015/lib/igc-text-header-cell-info.js +10 -10
- package/esm2015/lib/igc-text-header-component.js +6 -0
- package/esm2015/lib/igc-text-icon-set-conditional-style-component.js +94 -0
- package/esm2015/lib/igc-text-icon-set-conditional-style-module.js +16 -0
- package/esm2015/public_api.js +36 -4
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/BaseEditorView.js +36 -30
- package/esm5/lib/CanvasCellPresenterBase.js +17 -17
- package/esm5/lib/CanvasContentCellModelHelper.js +26 -26
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +375 -359
- package/esm5/lib/CanvasImageCell.js +29 -29
- package/esm5/lib/CanvasImageCellPresenter.js +17 -17
- package/esm5/lib/CanvasNumericCell.js +2 -2
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/CanvasSummaryCell.js +50 -50
- package/esm5/lib/CanvasSummaryCellPresenter.js +10 -10
- package/esm5/lib/CanvasTemplateCell.js +7 -7
- package/esm5/lib/CanvasTemplateCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/CanvasTextCell.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCell.js +24 -24
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +20 -20
- package/esm5/lib/CellPresenterBase.js +40 -38
- package/esm5/lib/CheckboxListBridge.js +88 -23
- package/esm5/lib/CheckboxListExternalIndexType.js +11 -0
- package/esm5/lib/CheckboxListExternalIndexTypeChangedEventArgs.js +23 -0
- package/esm5/lib/CheckboxListExternalKeysClearedEventArgs.js +20 -0
- package/esm5/lib/CheckboxListIndexTypeChangedEventArgs.js +23 -0
- package/esm5/lib/CheckboxListKeysClearedEventArgs.js +20 -0
- package/esm5/lib/CheckboxListViewExternal.js +11 -0
- package/esm5/lib/CheckboxListView_combined.js +599 -498
- package/esm5/lib/ColumnChooserView_combined.js +15 -15
- package/esm5/lib/ColumnFilterCondition_combined.js +13154 -9751
- package/esm5/lib/ColumnGroupingView_combined.js +6 -5
- package/esm5/lib/ColumnOptionsToolbarManagerOpeningEventArgs.js +20 -0
- package/esm5/lib/ColumnPinningView_combined.js +15 -15
- package/esm5/lib/ColumnSummaryDescription.js +56 -45
- package/esm5/lib/ColumnSummaryDescriptionCollection.js +4 -2
- package/esm5/lib/ComboEditorView.js +116 -114
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +12 -12
- package/esm5/lib/ContentCellModelHelper.js +19 -19
- package/esm5/lib/DataGridCellLayoutPanel.js +21 -21
- package/esm5/lib/DataGridColumnToolbarManager.js +7 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +3 -2
- package/esm5/lib/DateEditorView.js +92 -92
- package/esm5/lib/DateTimeCellPresenter.js +8 -8
- package/esm5/lib/Dragger.js +3 -2
- package/esm5/lib/DraggerView.js +1 -1
- package/esm5/lib/EditorCell.js +285 -285
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +262 -262
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +286 -270
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +23 -22
- 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 +19 -18
- package/esm5/lib/GridCompoundConditionalStyle.js +7 -0
- package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +43 -0
- package/esm5/lib/GridConditionalStyle.js +7 -0
- package/esm5/lib/GridConditionalStyleBoundType.js +16 -0
- package/esm5/lib/GridConditionalStyleCollection.js +7 -0
- package/esm5/lib/GridConditionalStyleProperty.js +761 -0
- package/esm5/lib/GridConditionalStylePropertyCollection.js +22 -0
- package/esm5/lib/GridConditionalStylePropertyStylingType.js +18 -0
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +311 -291
- package/esm5/lib/GridModuleHelper.js +28 -0
- package/esm5/lib/GridSelectedKeysCollection.js +54 -3
- package/esm5/lib/GridSortIndicatorView_combined.js +1 -1
- package/esm5/lib/GridStyleRepository.js +248 -203
- package/esm5/lib/ISummaryChooserView_combined.js +10 -10
- package/esm5/lib/ImageCell.js +60 -60
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +34 -34
- package/esm5/lib/NativeUIComboFactory.js +57 -0
- package/esm5/lib/NativeUIGridFactory.js +1 -1
- package/esm5/lib/NumericCell.js +5 -5
- package/esm5/lib/NumericCellPresenter.js +8 -8
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +66 -66
- 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 +9 -9
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +22 -16
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +3 -3
- package/esm5/lib/TextCell.js +30 -30
- package/esm5/lib/TextCellPresenter.js +9 -9
- package/esm5/lib/TextEditorView.js +78 -78
- package/esm5/lib/TextHeaderCell.js +147 -151
- package/esm5/lib/TextHeaderCellPresenter.js +38 -32
- package/esm5/lib/TextIconSetBuiltInTypes.js +18 -0
- package/esm5/lib/TextIconSetConditionalStyle.js +107 -0
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +177 -177
- package/esm5/lib/igc-checkbox-list-component.js +141 -79
- package/esm5/lib/igc-checkbox-list-index-type-changed-event-args.js +58 -0
- package/esm5/lib/igc-checkbox-list-keys-cleared-event-args.js +36 -0
- package/esm5/lib/igc-column-moving-separator-component.js +15 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +12 -6
- package/esm5/lib/igc-column-summary-description.js +28 -15
- package/esm5/lib/igc-combo-box-column-component.js +16 -10
- package/esm5/lib/igc-data-grid-all-columns-module.js +4 -0
- package/esm5/lib/igc-data-grid-column-component.js +182 -160
- package/esm5/lib/igc-data-grid-component.js +55 -24
- package/esm5/lib/igc-data-grid-core-module.js +5 -0
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +59 -20
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +29 -23
- package/esm5/lib/igc-definition-base-component.js +389 -112
- package/esm5/lib/igc-edit-row-definition-component.js +6 -0
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-editor-definition-component.js +6 -0
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-component.js +18 -12
- package/esm5/lib/igc-grid-compound-conditional-style-component.js +101 -0
- package/esm5/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +62 -0
- package/esm5/lib/igc-grid-conditional-style-collection.js +58 -0
- package/esm5/lib/igc-grid-conditional-style-component.js +500 -0
- package/esm5/lib/igc-grid-conditional-style-module.js +20 -0
- package/esm5/lib/igc-grid-conditional-style-property-collection.js +58 -0
- package/esm5/lib/igc-grid-conditional-style-property-component.js +535 -0
- package/esm5/lib/igc-grid-conditional-style-property-module.js +20 -0
- package/esm5/lib/igc-header-component.js +30 -24
- package/esm5/lib/igc-header-row-separator-component.js +6 -0
- package/esm5/lib/igc-header-separator-component.js +6 -0
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +18 -12
- package/esm5/lib/igc-multi-column-combo-box-component.js +24 -24
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +41 -35
- package/esm5/lib/igc-pinned-area-separator-component.js +6 -0
- package/esm5/lib/igc-row-separator-component.js +6 -0
- package/esm5/lib/igc-section-footer-component.js +6 -0
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +30 -24
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +30 -24
- package/esm5/lib/igc-summary-row-root-component.js +6 -0
- package/esm5/lib/igc-summary-row-section-component.js +6 -0
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-column-component.js +6 -0
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-component.js +6 -0
- package/esm5/lib/igc-template-section-header-component.js +6 -0
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +15 -9
- package/esm5/lib/igc-text-header-cell-info.js +10 -10
- package/esm5/lib/igc-text-header-component.js +6 -0
- package/esm5/lib/igc-text-icon-set-conditional-style-component.js +107 -0
- package/esm5/lib/igc-text-icon-set-conditional-style-module.js +20 -0
- package/esm5/public_api.js +36 -4
- package/fesm2015/igniteui-webcomponents-grids.js +20004 -13895
- package/fesm5/igniteui-webcomponents-grids.js +29259 -22269
- package/grids/combined.js +8020 -8012
- package/grids/lib/igc-filtering-expressions-tree.d.ts +0 -14
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/BaseEditorView.d.ts +12 -11
- package/lib/CanvasGridCellBase.d.ts +113 -110
- package/lib/CanvasImageCell.d.ts +13 -13
- package/lib/CanvasSectionHeaderCell.d.ts +1 -1
- package/lib/CanvasSummaryCell.d.ts +14 -14
- package/lib/CanvasTemplateCell.d.ts +4 -4
- package/lib/CanvasTemplateHeaderCell.d.ts +4 -4
- package/lib/CanvasTextCell.d.ts +1 -1
- package/lib/CanvasTextHeaderCell.d.ts +6 -6
- package/lib/CheckboxListBridge.d.ts +20 -9
- package/lib/CheckboxListExternal.d.ts +6 -6
- package/lib/CheckboxListExternalIndexType.d.ts +12 -0
- package/lib/CheckboxListExternalIndexTypeChangedEventArgs.d.ts +10 -0
- package/lib/CheckboxListExternalKeysClearedEventArgs.d.ts +7 -0
- package/lib/CheckboxListIndexTypeChangedEventArgs.d.ts +10 -0
- package/lib/CheckboxListKeysClearedEventArgs.d.ts +7 -0
- package/lib/CheckboxListViewExternal.d.ts +20 -0
- package/lib/CheckboxListView_combined.d.ts +135 -121
- package/lib/ColumnFilterCondition_combined.d.ts +2301 -1956
- package/lib/ColumnOptionsToolbarManagerOpeningEventArgs.d.ts +7 -0
- package/lib/ColumnSummaryDescription.d.ts +21 -18
- package/lib/ComboEditorView.d.ts +17 -17
- package/lib/DataGridColumnToolbarManager.d.ts +1 -0
- package/lib/DateEditorView.d.ts +14 -14
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +92 -89
- package/lib/GridCompoundConditionalStyle.d.ts +1 -0
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +14 -0
- package/lib/GridConditionalStyle.d.ts +1 -0
- package/lib/GridConditionalStyleBoundType.d.ts +9 -0
- package/lib/GridConditionalStyleCollection.d.ts +1 -0
- package/lib/GridConditionalStyleProperty.d.ts +127 -0
- package/lib/GridConditionalStylePropertyCollection.d.ts +10 -0
- package/lib/GridConditionalStylePropertyStylingType.d.ts +11 -0
- package/lib/GridFilterDialogView_combined.d.ts +103 -79
- package/lib/GridModuleHelper.d.ts +8 -0
- package/lib/GridSelectedKeysCollection.d.ts +6 -2
- package/lib/GridStyleRepository.d.ts +68 -62
- package/lib/ICellActionManager.d.ts +1 -1
- package/lib/ICellPresenter.d.ts +1 -1
- package/lib/ICellRenderingEngine.d.ts +1 -1
- package/lib/IDataAdapter.d.ts +1 -1
- package/lib/IDragger.d.ts +1 -1
- package/lib/IDraggerView.d.ts +1 -1
- package/lib/IExternalDefinitionBase.d.ts +1 -1
- package/lib/IExternalGrid.d.ts +1 -1
- package/lib/IGridInfoRequestor.d.ts +1 -1
- package/lib/ISummaryChooserView.d.ts +1 -1
- package/lib/ImageCell.d.ts +18 -18
- package/lib/NativeUIComboFactory.d.ts +18 -0
- package/lib/NumericCell.d.ts +1 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +4 -4
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -6
- package/lib/TemplateSectionHeader.d.ts +3 -3
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextEditorView.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/TextIconSetBuiltInTypes.d.ts +11 -0
- package/lib/TextIconSetConditionalStyle.d.ts +18 -0
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-checkbox-list-component.d.ts +10 -0
- package/lib/igc-checkbox-list-index-type-changed-event-args.d.ts +17 -0
- package/lib/igc-checkbox-list-keys-cleared-event-args.d.ts +12 -0
- package/lib/igc-column-summary-description.d.ts +5 -0
- package/lib/igc-data-grid-column-component.d.ts +8 -0
- package/lib/igc-data-grid-component.d.ts +5 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +15 -0
- package/lib/igc-definition-base-component.d.ts +63 -0
- package/lib/igc-grid-compound-conditional-style-component.d.ts +19 -0
- package/lib/igc-grid-condition-filter-string-errors-parsing-event-args.d.ts +22 -0
- package/lib/igc-grid-conditional-style-collection.d.ts +8 -0
- package/lib/igc-grid-conditional-style-component.d.ts +80 -0
- package/lib/igc-grid-conditional-style-module.d.ts +3 -0
- package/lib/igc-grid-conditional-style-property-collection.d.ts +8 -0
- package/lib/igc-grid-conditional-style-property-component.d.ts +101 -0
- package/lib/igc-grid-conditional-style-property-module.d.ts +3 -0
- package/lib/igc-text-icon-set-conditional-style-component.d.ts +22 -0
- package/lib/igc-text-icon-set-conditional-style-module.d.ts +3 -0
- package/package.json +4 -4
- package/public_api.d.ts +36 -4
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.cv = null;
|
|
29
|
-
_this.cm = null;
|
|
30
|
-
_this.cl = null;
|
|
31
|
-
_this.dc = null;
|
|
32
|
-
_this.dd = null;
|
|
33
|
-
_this.de = null;
|
|
34
|
-
_this.cx = null;
|
|
35
|
-
_this.c0 = false;
|
|
36
|
-
_this.c4 = false;
|
|
37
|
-
_this.c1 = false;
|
|
38
|
-
_this.cj = 0;
|
|
39
|
-
_this.dg = null;
|
|
26
|
+
_this.cs = null;
|
|
27
|
+
_this.cz = null;
|
|
40
28
|
_this.cy = null;
|
|
41
|
-
_this.
|
|
29
|
+
_this.cp = null;
|
|
30
|
+
_this.co = null;
|
|
42
31
|
_this.df = null;
|
|
43
|
-
_this.
|
|
44
|
-
_this.
|
|
45
|
-
_this.
|
|
46
|
-
_this.dk = null;
|
|
32
|
+
_this.dg = null;
|
|
33
|
+
_this.dh = null;
|
|
34
|
+
_this.c0 = null;
|
|
47
35
|
_this.c3 = false;
|
|
48
|
-
_this.c6 = false;
|
|
49
36
|
_this.c7 = false;
|
|
50
|
-
_this.
|
|
51
|
-
_this.
|
|
52
|
-
_this.
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
37
|
+
_this.c4 = false;
|
|
38
|
+
_this.cm = 0;
|
|
39
|
+
_this.dj = null;
|
|
40
|
+
_this.c1 = null;
|
|
41
|
+
_this.cq = 1;
|
|
42
|
+
_this.di = null;
|
|
43
|
+
_this.dm = null;
|
|
44
|
+
_this.ck = null;
|
|
45
|
+
_this.c5 = true;
|
|
46
|
+
_this.dn = null;
|
|
47
|
+
_this.c6 = false;
|
|
48
|
+
_this.c9 = false;
|
|
49
|
+
_this.da = false;
|
|
50
|
+
_this.c8 = false;
|
|
51
|
+
_this.ah.setAttribute("tabindex", "-1");
|
|
52
|
+
_this.ah.setStyleProperty("outline", "none");
|
|
53
|
+
_this.ah.setStyleProperty("display", "flex");
|
|
54
|
+
_this.ah.setStyleProperty("align-items", "center");
|
|
55
|
+
_this.ah.listen("focusout", runOn(_this, _this.ee));
|
|
56
|
+
_this.ah.listen("focusin", runOn(_this, _this.ec));
|
|
57
57
|
return _this;
|
|
58
58
|
}
|
|
59
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
59
|
+
Object.defineProperty(EditorCell.prototype, "cn", {
|
|
60
60
|
get: function () {
|
|
61
|
-
return this.
|
|
61
|
+
return this.cm;
|
|
62
62
|
},
|
|
63
63
|
set: function (a) {
|
|
64
|
-
var b = this.
|
|
65
|
-
this.
|
|
66
|
-
if (b != this.
|
|
67
|
-
this.
|
|
64
|
+
var b = this.cm;
|
|
65
|
+
this.cm = a;
|
|
66
|
+
if (b != this.cm) {
|
|
67
|
+
this.bs("DataType", enumGetBox(DataSourceSchemaPropertyType_$type, b), enumGetBox(DataSourceSchemaPropertyType_$type, this.cm));
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
enumerable: false,
|
|
71
71
|
configurable: true
|
|
72
72
|
});
|
|
73
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
73
|
+
Object.defineProperty(EditorCell.prototype, "dl", {
|
|
74
74
|
get: function () {
|
|
75
|
-
return this.
|
|
75
|
+
return this.dj;
|
|
76
76
|
},
|
|
77
77
|
set: function (a) {
|
|
78
|
-
var b = this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
78
|
+
var b = this.dj;
|
|
79
|
+
this.dj = a;
|
|
80
|
+
this.bs("Value", b, this.dj);
|
|
81
81
|
},
|
|
82
82
|
enumerable: false,
|
|
83
83
|
configurable: true
|
|
84
84
|
});
|
|
85
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
85
|
+
Object.defineProperty(EditorCell.prototype, "c2", {
|
|
86
86
|
get: function () {
|
|
87
|
-
return this.
|
|
87
|
+
return this.c1;
|
|
88
88
|
},
|
|
89
89
|
set: function (a) {
|
|
90
|
-
var b = this.
|
|
91
|
-
this.
|
|
92
|
-
if (b != this.
|
|
93
|
-
this.
|
|
90
|
+
var b = this.c1;
|
|
91
|
+
this.c1 = a;
|
|
92
|
+
if (b != this.c1) {
|
|
93
|
+
this.bs("FontInfo", b, this.c1);
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
enumerable: false,
|
|
97
97
|
configurable: true
|
|
98
98
|
});
|
|
99
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
99
|
+
Object.defineProperty(EditorCell.prototype, "cr", {
|
|
100
100
|
get: function () {
|
|
101
|
-
return this.
|
|
101
|
+
return this.cq;
|
|
102
102
|
},
|
|
103
103
|
set: function (a) {
|
|
104
|
-
var b = this.
|
|
105
|
-
this.
|
|
106
|
-
if (b != this.
|
|
107
|
-
this.
|
|
104
|
+
var b = this.cq;
|
|
105
|
+
this.cq = a;
|
|
106
|
+
if (b != this.cq) {
|
|
107
|
+
this.bs("EditorType", enumGetBox(EditorType_$type, b), enumGetBox(EditorType_$type, this.cq));
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
enumerable: false,
|
|
111
111
|
configurable: true
|
|
112
112
|
});
|
|
113
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
113
|
+
Object.defineProperty(EditorCell.prototype, "dk", {
|
|
114
114
|
get: function () {
|
|
115
|
-
return this.
|
|
115
|
+
return this.di;
|
|
116
116
|
},
|
|
117
117
|
set: function (a) {
|
|
118
|
-
var b = this.
|
|
119
|
-
this.
|
|
120
|
-
if (b != this.
|
|
121
|
-
this.
|
|
118
|
+
var b = this.di;
|
|
119
|
+
this.di = a;
|
|
120
|
+
if (b != this.di) {
|
|
121
|
+
this.bs("ComboItemsSource", b, this.di);
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
enumerable: false,
|
|
125
125
|
configurable: true
|
|
126
126
|
});
|
|
127
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
127
|
+
Object.defineProperty(EditorCell.prototype, "dq", {
|
|
128
128
|
get: function () {
|
|
129
|
-
return this.
|
|
129
|
+
return this.dm;
|
|
130
130
|
},
|
|
131
131
|
set: function (a) {
|
|
132
|
-
var b = this.
|
|
133
|
-
this.
|
|
134
|
-
if (b != this.
|
|
135
|
-
this.
|
|
132
|
+
var b = this.dm;
|
|
133
|
+
this.dm = a;
|
|
134
|
+
if (b != this.dm) {
|
|
135
|
+
this.bs("ComboTextField", b, this.dm);
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
enumerable: false,
|
|
139
139
|
configurable: true
|
|
140
140
|
});
|
|
141
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
141
|
+
Object.defineProperty(EditorCell.prototype, "cl", {
|
|
142
142
|
get: function () {
|
|
143
|
-
return this.
|
|
143
|
+
return this.ck;
|
|
144
144
|
},
|
|
145
145
|
set: function (a) {
|
|
146
|
-
var b = this.
|
|
147
|
-
this.
|
|
148
|
-
if (b != this.
|
|
149
|
-
this.
|
|
146
|
+
var b = this.ck;
|
|
147
|
+
this.ck = a;
|
|
148
|
+
if (b != this.ck) {
|
|
149
|
+
this.bs("ComboValueField", b, this.ck);
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
enumerable: false,
|
|
153
153
|
configurable: true
|
|
154
154
|
});
|
|
155
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
155
|
+
Object.defineProperty(EditorCell.prototype, "dd", {
|
|
156
156
|
get: function () {
|
|
157
|
-
return this.
|
|
157
|
+
return this.c5;
|
|
158
158
|
},
|
|
159
159
|
set: function (a) {
|
|
160
|
-
var b = this.
|
|
161
|
-
this.
|
|
162
|
-
if (b != this.
|
|
163
|
-
this.
|
|
160
|
+
var b = this.c5;
|
|
161
|
+
this.c5 = a;
|
|
162
|
+
if (b != this.c5) {
|
|
163
|
+
this.bs("IsHidden", b, this.c5);
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
enumerable: false,
|
|
167
167
|
configurable: true
|
|
168
168
|
});
|
|
169
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
169
|
+
Object.defineProperty(EditorCell.prototype, "du", {
|
|
170
170
|
get: function () {
|
|
171
|
-
return this.
|
|
171
|
+
return this.dn;
|
|
172
172
|
},
|
|
173
173
|
set: function (a) {
|
|
174
|
-
var b = this.
|
|
175
|
-
this.
|
|
176
|
-
if (b != this.
|
|
177
|
-
this.
|
|
174
|
+
var b = this.dn;
|
|
175
|
+
this.dn = a;
|
|
176
|
+
if (b != this.dn) {
|
|
177
|
+
this.bs("DateFormatString", b, this.dn);
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
enumerable: false,
|
|
181
181
|
configurable: true
|
|
182
182
|
});
|
|
183
|
-
Object.defineProperty(EditorCell.prototype, "
|
|
183
|
+
Object.defineProperty(EditorCell.prototype, "de", {
|
|
184
184
|
get: function () {
|
|
185
|
-
return this.
|
|
185
|
+
return this.c6;
|
|
186
186
|
},
|
|
187
187
|
set: function (a) {
|
|
188
|
-
var b = this.
|
|
189
|
-
this.
|
|
190
|
-
if (b != this.
|
|
191
|
-
this.
|
|
188
|
+
var b = this.c6;
|
|
189
|
+
this.c6 = a;
|
|
190
|
+
if (b != this.c6) {
|
|
191
|
+
this.bs("ShowTodayButton", b, this.c6);
|
|
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.cx = function (a) {
|
|
198
|
+
if (this.df == null) {
|
|
199
|
+
this.df = this.ae.createElement("div");
|
|
200
|
+
var b = this.ae.getSubRenderer(this.df);
|
|
201
|
+
this.c0 = new Popup();
|
|
202
|
+
this.c0.provideRenderer(b);
|
|
203
|
+
this.dh = this.ae.createElement("div");
|
|
204
|
+
this.dh.setStyleProperty("background-color", "rgba(0,0,0,0.7)");
|
|
205
|
+
this.dh.setStyleProperty("color", "#fff");
|
|
206
|
+
this.dh.setStyleProperty("padding", "5px");
|
|
207
|
+
this.dh.setStyleProperty("outline", "none");
|
|
208
|
+
this.dh.setAttribute("tabindex", "-1");
|
|
209
|
+
this.dg = this.ae.createElement("div");
|
|
210
|
+
this.dg.setStyleProperty("white-space", "pre");
|
|
211
|
+
if (this.c2 != null) {
|
|
212
|
+
this.dg.setStyleProperty("font", this.c2.fontString);
|
|
213
213
|
}
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
214
|
+
this.dh.append(this.dg);
|
|
215
|
+
this.c0.appendPopupContent(this.dh);
|
|
216
216
|
}
|
|
217
217
|
var c = null;
|
|
218
218
|
switch (a) {
|
|
219
219
|
case 1:
|
|
220
|
-
c = this.
|
|
220
|
+
c = this.cw();
|
|
221
221
|
break;
|
|
222
222
|
case 2:
|
|
223
|
-
c = this.
|
|
223
|
+
c = this.cv();
|
|
224
224
|
break;
|
|
225
225
|
case 3:
|
|
226
|
-
c = this.
|
|
226
|
+
c = this.cu();
|
|
227
227
|
break;
|
|
228
228
|
case 4:
|
|
229
|
-
c = this.
|
|
229
|
+
c = this.ct();
|
|
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.cw = function () {
|
|
235
|
+
if (this.cz != null) {
|
|
236
|
+
this.d6();
|
|
237
|
+
this.eb();
|
|
238
|
+
return this.cz;
|
|
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.cz = new TextEditorView(this.ae, this.f.getTheme(), this.b);
|
|
241
|
+
this.cz.setFont(this.c2);
|
|
242
|
+
return this.cz;
|
|
243
|
+
};
|
|
244
|
+
EditorCell.prototype.cv = function () {
|
|
245
|
+
if (this.cy != null) {
|
|
246
|
+
this.d6();
|
|
247
|
+
this.eb();
|
|
248
|
+
return this.cy;
|
|
249
249
|
}
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
return this.
|
|
250
|
+
this.cy = new NumericEditorView(this.ae, this.f.getTheme(), this.b);
|
|
251
|
+
this.cy.setFont(this.c2);
|
|
252
|
+
return this.cy;
|
|
253
253
|
};
|
|
254
|
-
EditorCell.prototype.
|
|
255
|
-
if (this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
return this.
|
|
254
|
+
EditorCell.prototype.cu = function () {
|
|
255
|
+
if (this.cp != null) {
|
|
256
|
+
this.d6();
|
|
257
|
+
this.eb();
|
|
258
|
+
return this.cp;
|
|
259
259
|
}
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
return this.
|
|
260
|
+
this.cp = new DateEditorView(this.ae, this.f.getTheme(), this.b);
|
|
261
|
+
this.cp.setFont(this.c2);
|
|
262
|
+
return this.cp;
|
|
263
263
|
};
|
|
264
|
-
EditorCell.prototype.
|
|
265
|
-
if (this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
return this.
|
|
264
|
+
EditorCell.prototype.ct = function () {
|
|
265
|
+
if (this.co != null) {
|
|
266
|
+
this.d5();
|
|
267
|
+
this.d6();
|
|
268
|
+
this.eb();
|
|
269
|
+
return this.co;
|
|
270
270
|
}
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
return this.
|
|
277
|
-
};
|
|
278
|
-
EditorCell.prototype.
|
|
271
|
+
this.co = new ComboEditorView(this.ae, this.f.getTheme(), this.b);
|
|
272
|
+
this.co.setFont(this.c2);
|
|
273
|
+
this.co.ah = this.dk;
|
|
274
|
+
this.co.ak = this.dq;
|
|
275
|
+
this.co.aa = this.cl;
|
|
276
|
+
return this.co;
|
|
277
|
+
};
|
|
278
|
+
EditorCell.prototype.ed = function (a, b) {
|
|
279
279
|
if (b.g != b.d || b.h != b.e) {
|
|
280
|
-
if (this.
|
|
281
|
-
this.
|
|
280
|
+
if (this.co != null) {
|
|
281
|
+
this.co.an();
|
|
282
282
|
}
|
|
283
|
-
if (this.
|
|
284
|
-
this.
|
|
283
|
+
if (this.cp != null) {
|
|
284
|
+
this.cp.ah();
|
|
285
285
|
}
|
|
286
|
-
this.
|
|
286
|
+
this.d3();
|
|
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.d1 = function () {
|
|
290
|
+
if (!this.c4) {
|
|
291
|
+
if (this.cs != null) {
|
|
292
|
+
this.cs.attachEvents();
|
|
293
|
+
var a = this.cs;
|
|
294
|
+
a.valueProvided = delegateCombine(a.valueProvided, runOn(this, this.ej));
|
|
295
|
+
var b = this.cs;
|
|
296
|
+
b.lostFocus = delegateCombine(b.lostFocus, runOn(this, this.d9));
|
|
297
|
+
var c = this.cs;
|
|
298
|
+
c.gotFocus = delegateCombine(c.gotFocus, runOn(this, this.d8));
|
|
299
|
+
var d = this.cs;
|
|
300
|
+
d.userTyping = delegateCombine(d.userTyping, runOn(this, this.eh));
|
|
301
|
+
this.c4 = 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.d2 = function () {
|
|
306
|
+
if (this.c4) {
|
|
307
|
+
if (this.cs != null) {
|
|
308
|
+
this.cs.detachEvents();
|
|
309
|
+
var a = this.cs;
|
|
310
|
+
a.valueProvided = delegateRemove(a.valueProvided, runOn(this, this.ej));
|
|
311
|
+
var b = this.cs;
|
|
312
|
+
b.lostFocus = delegateRemove(b.lostFocus, runOn(this, this.d9));
|
|
313
|
+
var c = this.cs;
|
|
314
|
+
c.gotFocus = delegateRemove(c.gotFocus, runOn(this, this.d8));
|
|
315
|
+
var d = this.cs;
|
|
316
|
+
d.userTyping = delegateRemove(d.userTyping, runOn(this, this.eh));
|
|
317
|
+
this.c4 = false;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
|
-
EditorCell.prototype.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
321
|
+
EditorCell.prototype.eg = function (a) {
|
|
322
|
+
this.c9 = false;
|
|
323
|
+
this.da = false;
|
|
324
|
+
this.c8 = false;
|
|
325
325
|
if (!a) {
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
326
|
+
this.da = true;
|
|
327
|
+
this.cs.onTargetChanged();
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
EditorCell.prototype.
|
|
331
|
-
if (this.
|
|
332
|
-
this.
|
|
330
|
+
EditorCell.prototype.ei = function () {
|
|
331
|
+
if (this.cs != null) {
|
|
332
|
+
this.cs.value = this.dl;
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
|
-
EditorCell.prototype.
|
|
335
|
+
EditorCell.prototype.d6 = function () {
|
|
336
336
|
};
|
|
337
|
-
EditorCell.prototype.
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
if (this.
|
|
342
|
-
this.
|
|
337
|
+
EditorCell.prototype.ea = function () {
|
|
338
|
+
this.c3 = true;
|
|
339
|
+
this.d2();
|
|
340
|
+
this.ah.removeChildren();
|
|
341
|
+
if (this.cs != null) {
|
|
342
|
+
this.cs.cleanUp();
|
|
343
343
|
}
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
if (this.
|
|
348
|
-
this.
|
|
349
|
-
if (!this.
|
|
350
|
-
this.
|
|
344
|
+
this.cs = this.cx(this.cr);
|
|
345
|
+
this.ah.append(this.cs.container);
|
|
346
|
+
this.d1();
|
|
347
|
+
if (this.cs != null) {
|
|
348
|
+
this.cs.isEnabled = !this.isRemoved;
|
|
349
|
+
if (!this.dd) {
|
|
350
|
+
this.cs.onEditStarted();
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
this.
|
|
353
|
+
this.c3 = false;
|
|
354
354
|
};
|
|
355
|
-
EditorCell.prototype.
|
|
356
|
-
if (this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
355
|
+
EditorCell.prototype.d5 = function () {
|
|
356
|
+
if (this.co != null) {
|
|
357
|
+
this.co.ah = this.dk;
|
|
358
|
+
this.co.ak = this.dq;
|
|
359
|
+
this.co.aa = this.cl;
|
|
360
360
|
}
|
|
361
361
|
};
|
|
362
|
-
EditorCell.prototype.
|
|
363
|
-
if (this.
|
|
364
|
-
if (this.
|
|
365
|
-
this.
|
|
362
|
+
EditorCell.prototype.eb = function () {
|
|
363
|
+
if (this.c2 != null) {
|
|
364
|
+
if (this.cz != null) {
|
|
365
|
+
this.cz.setFont(this.c2);
|
|
366
366
|
}
|
|
367
|
-
if (this.
|
|
368
|
-
this.
|
|
367
|
+
if (this.cy != null) {
|
|
368
|
+
this.cy.setFont(this.c2);
|
|
369
369
|
}
|
|
370
|
-
if (this.
|
|
371
|
-
this.
|
|
370
|
+
if (this.cp != null) {
|
|
371
|
+
this.cp.setFont(this.c2);
|
|
372
372
|
}
|
|
373
|
-
if (this.
|
|
374
|
-
this.
|
|
373
|
+
if (this.co != null) {
|
|
374
|
+
this.co.setFont(this.c2);
|
|
375
375
|
}
|
|
376
|
-
this.
|
|
376
|
+
this.dg.setStyleProperty("font", this.c2.fontString);
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
|
-
EditorCell.prototype.
|
|
380
|
-
this.
|
|
381
|
-
if (this.
|
|
382
|
-
if (!this.
|
|
383
|
-
this.
|
|
379
|
+
EditorCell.prototype.d4 = function () {
|
|
380
|
+
this.c7 = false;
|
|
381
|
+
if (this.cs != null) {
|
|
382
|
+
if (!this.dd) {
|
|
383
|
+
this.cs.onEditStarted();
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
386
|
+
this.cs.onEditEnded();
|
|
387
|
+
this.cs.value = null;
|
|
388
|
+
this.cs.value = this.dl;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
|
-
EditorCell.prototype.
|
|
393
|
-
if (this.
|
|
394
|
-
this.
|
|
392
|
+
EditorCell.prototype.d7 = function () {
|
|
393
|
+
if (this.cs != null && this.cp == this.cs) {
|
|
394
|
+
this.cp.af = this.du;
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
|
-
EditorCell.prototype.
|
|
398
|
-
if (this.
|
|
399
|
-
this.
|
|
397
|
+
EditorCell.prototype.ef = function () {
|
|
398
|
+
if (this.cs != null && this.cp == this.cs) {
|
|
399
|
+
this.cp.ad = this.de;
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
EditorCell.prototype.
|
|
402
|
+
EditorCell.prototype.ek = function (a, b, c, d, e) {
|
|
403
403
|
if (!stringIsNullOrWhiteSpace(a)) {
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
404
|
+
this.dg.setRawText(a);
|
|
405
|
+
this.c0.b9();
|
|
406
|
+
this.el();
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
|
-
EditorCell.prototype.
|
|
410
|
-
var rect_ = this.
|
|
409
|
+
EditorCell.prototype.el = function () {
|
|
410
|
+
var rect_ = this.ah.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.c0.showRelativeToExclusionRect(a, 1, 0);
|
|
417
417
|
};
|
|
418
|
-
EditorCell.prototype.
|
|
419
|
-
if (this.
|
|
420
|
-
this.
|
|
418
|
+
EditorCell.prototype.d3 = function () {
|
|
419
|
+
if (this.c0.ax) {
|
|
420
|
+
this.c0.b6();
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
|
-
EditorCell.prototype.
|
|
424
|
-
if (this.
|
|
425
|
-
this.
|
|
426
|
-
this.f.setViewportChangedHandler(runOn(this, this.
|
|
423
|
+
EditorCell.prototype.br = function () {
|
|
424
|
+
if (this.cs == null) {
|
|
425
|
+
this.ea();
|
|
426
|
+
this.f.setViewportChangedHandler(runOn(this, this.ed));
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
|
-
EditorCell.prototype.
|
|
430
|
-
if (this.
|
|
431
|
-
this.
|
|
429
|
+
EditorCell.prototype.bh = function () {
|
|
430
|
+
if (this.cs != null) {
|
|
431
|
+
this.cs.focus();
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
|
-
EditorCell.prototype.
|
|
435
|
-
_super.prototype.
|
|
434
|
+
EditorCell.prototype.bs = function (a, b, c) {
|
|
435
|
+
_super.prototype.bs.call(this, a, b, c);
|
|
436
436
|
switch (a) {
|
|
437
437
|
case "EditorType":
|
|
438
|
-
this.
|
|
438
|
+
this.ea();
|
|
439
439
|
break;
|
|
440
440
|
case "ComboItemsSource":
|
|
441
441
|
case "ComboTextField":
|
|
442
442
|
case "ComboValueField":
|
|
443
|
-
this.
|
|
443
|
+
this.d5();
|
|
444
444
|
break;
|
|
445
445
|
case "DataType":
|
|
446
|
-
this.
|
|
446
|
+
this.d6();
|
|
447
447
|
break;
|
|
448
448
|
case "Value":
|
|
449
|
-
this.
|
|
449
|
+
this.ei();
|
|
450
450
|
break;
|
|
451
451
|
case "FontInfo":
|
|
452
|
-
this.
|
|
452
|
+
this.eb();
|
|
453
453
|
break;
|
|
454
454
|
case "IsHidden":
|
|
455
|
-
this.
|
|
455
|
+
this.d4();
|
|
456
456
|
break;
|
|
457
457
|
case "DateFormatString":
|
|
458
|
-
this.
|
|
458
|
+
this.d7();
|
|
459
459
|
break;
|
|
460
460
|
case "ShowTodayButton":
|
|
461
|
-
this.
|
|
461
|
+
this.ef();
|
|
462
462
|
break;
|
|
463
463
|
case "IsRemoved":
|
|
464
|
-
if (this.
|
|
465
|
-
this.
|
|
464
|
+
if (this.cs != null) {
|
|
465
|
+
this.cs.isEnabled = !this.isRemoved;
|
|
466
466
|
if (!this.isRemoved) {
|
|
467
|
-
this.
|
|
467
|
+
this.cs.onTargetChanged();
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
break;
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
|
-
EditorCell.prototype.
|
|
474
|
-
if (a == this.
|
|
473
|
+
EditorCell.prototype.ej = function (a, b, c) {
|
|
474
|
+
if (a == this.cs) {
|
|
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.eh = function (a) {
|
|
481
|
+
if (a == this.cs) {
|
|
482
482
|
this.b.startEditMode();
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
|
-
EditorCell.prototype.
|
|
486
|
-
if (a != null && this.
|
|
487
|
-
var b = this.
|
|
485
|
+
EditorCell.prototype.dc = function (a) {
|
|
486
|
+
if (a != null && this.c0 != null && this.c0.ax) {
|
|
487
|
+
var b = this.dh.getNativeElement();
|
|
488
488
|
return b.contains(a);
|
|
489
489
|
}
|
|
490
490
|
return false;
|
|
491
491
|
};
|
|
492
|
-
EditorCell.prototype.
|
|
492
|
+
EditorCell.prototype.db = function (a) {
|
|
493
493
|
if (a != null) {
|
|
494
|
-
var b = this.
|
|
494
|
+
var b = this.ah.getNativeElement();
|
|
495
495
|
return b.contains(a);
|
|
496
496
|
}
|
|
497
497
|
return false;
|
|
498
498
|
};
|
|
499
|
-
EditorCell.prototype.
|
|
499
|
+
EditorCell.prototype.ee = function (a) {
|
|
500
500
|
var _this = this;
|
|
501
|
-
if (!this.
|
|
501
|
+
if (!this.c3) {
|
|
502
502
|
var b = (a.originalEvent.relatedTarget);
|
|
503
|
-
if (this.
|
|
503
|
+
if (this.c8 && !this.db(b) && !this.dc(b)) {
|
|
504
504
|
this.b.editorCellLostFocus();
|
|
505
|
-
this.
|
|
505
|
+
this.d3();
|
|
506
506
|
}
|
|
507
|
-
var c = this.
|
|
507
|
+
var c = this.ae.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.cs != null) {
|
|
515
|
+
_this.cs.focus();
|
|
516
516
|
}
|
|
517
517
|
}, 0);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
|
-
EditorCell.prototype.
|
|
522
|
-
if (this.
|
|
523
|
-
this.
|
|
521
|
+
EditorCell.prototype.ec = function (a) {
|
|
522
|
+
if (this.c9 && !this.c0.ax) {
|
|
523
|
+
this.el();
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
|
-
EditorCell.prototype.
|
|
527
|
-
this.
|
|
526
|
+
EditorCell.prototype.d9 = function (a) {
|
|
527
|
+
this.c8 = true;
|
|
528
528
|
};
|
|
529
|
-
EditorCell.prototype.
|
|
530
|
-
this.
|
|
529
|
+
EditorCell.prototype.d8 = function (a) {
|
|
530
|
+
this.c8 = false;
|
|
531
531
|
};
|
|
532
532
|
EditorCell.prototype.onContactStarted = function (a, b) {
|
|
533
533
|
a.stopPropagation();
|