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
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { __extends, __values } from "tslib";
|
|
2
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
3
|
+
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
4
|
+
import { IgcGridConditionalStylePropertyCollection } from "./igc-grid-conditional-style-property-collection";
|
|
5
|
+
import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
6
|
+
import { IgcGridConditionFilterStringErrorsParsingEventArgs } from "./igc-grid-condition-filter-string-errors-parsing-event-args";
|
|
7
|
+
import { GridConditionalStyle } from "./GridConditionalStyle";
|
|
8
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
9
|
+
import { CollectionAdapter, NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureBool, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
10
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
11
|
+
import { IgcGridConditionalStylePropertyComponent } from "./igc-grid-conditional-style-property-component";
|
|
12
|
+
import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
|
|
13
|
+
var IgcGridConditionalStyleComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
14
|
+
__extends(IgcGridConditionalStyleComponent, _super);
|
|
15
|
+
function IgcGridConditionalStyleComponent() {
|
|
16
|
+
var _this = _super.call(this) || this;
|
|
17
|
+
_this._settingAttributes = false;
|
|
18
|
+
_this._attached = false;
|
|
19
|
+
_this._queuedSetAttributes = [];
|
|
20
|
+
_this._updatingFromAttribute = false;
|
|
21
|
+
_this._properties = null;
|
|
22
|
+
_this.__p = null;
|
|
23
|
+
_this._hasUserValues = new Set();
|
|
24
|
+
_this._stylingContainer = null;
|
|
25
|
+
_this._stylingParent = null;
|
|
26
|
+
_this._inStyling = false;
|
|
27
|
+
_this._propertyUpdated = null;
|
|
28
|
+
_this._propertyUpdated_wrapped = null;
|
|
29
|
+
_this._filterStringErrorsParsing = null;
|
|
30
|
+
_this._filterStringErrorsParsing_wrapped = null;
|
|
31
|
+
if (_this._styling) {
|
|
32
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
|
|
33
|
+
}
|
|
34
|
+
_this._implementation = _this.createImplementation();
|
|
35
|
+
_this._implementation.externalObject = _this;
|
|
36
|
+
_this.onImplementationCreated();
|
|
37
|
+
if (_this._initializeAdapters) {
|
|
38
|
+
_this._initializeAdapters();
|
|
39
|
+
}
|
|
40
|
+
return _this;
|
|
41
|
+
}
|
|
42
|
+
IgcGridConditionalStyleComponent.prototype.createImplementation = function () {
|
|
43
|
+
return new GridConditionalStyle();
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "i", {
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
get: function () {
|
|
50
|
+
return this._implementation;
|
|
51
|
+
} /**
|
|
52
|
+
* @hidden
|
|
53
|
+
*/,
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
IgcGridConditionalStyleComponent._createFromInternal = function (internal) {
|
|
58
|
+
if (!internal) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
if (!internal.$type) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
var name = internal.$type.name;
|
|
65
|
+
var externalName = "Igc" + name + "Component";
|
|
66
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
return TypeRegistrar.create(externalName);
|
|
70
|
+
};
|
|
71
|
+
IgcGridConditionalStyleComponent.prototype.onImplementationCreated = function () {
|
|
72
|
+
};
|
|
73
|
+
IgcGridConditionalStyleComponent.prototype._initializeAdapters = function () {
|
|
74
|
+
var _this = this;
|
|
75
|
+
if (!this.__observingChildren) {
|
|
76
|
+
this.__observingChildren = true;
|
|
77
|
+
var mut = new MutationObserver(function (list) {
|
|
78
|
+
var e_1, _b;
|
|
79
|
+
try {
|
|
80
|
+
for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
|
|
81
|
+
var mutation = list_1_1.value;
|
|
82
|
+
if (mutation.type == 'childList') {
|
|
83
|
+
if (_this.updateContentChildren) {
|
|
84
|
+
_this.updateContentChildren();
|
|
85
|
+
}
|
|
86
|
+
else if (_this._initializeAdapters) {
|
|
87
|
+
_this.initializeAdapters();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
catch (e_1_1) {
|
|
93
|
+
e_1 = { error: e_1_1 };
|
|
94
|
+
}
|
|
95
|
+
finally {
|
|
96
|
+
try {
|
|
97
|
+
if (list_1_1 && !list_1_1.done && (_b = list_1.return))
|
|
98
|
+
_b.call(list_1);
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
if (e_1)
|
|
102
|
+
throw e_1.error;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
mut.observe(this, {
|
|
107
|
+
childList: true
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
this._propertiesAdapter = new CollectionAdapter([], this.i.properties, this.actualProperties, function (c) { return c.i; }, function (i) {
|
|
111
|
+
if (_this._initializeElement) {
|
|
112
|
+
_this._initializeElement(i);
|
|
113
|
+
}
|
|
114
|
+
}, function (i) {
|
|
115
|
+
if (_this._destroyElement) {
|
|
116
|
+
_this._destroyElement(i);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
if (_super.prototype["_initializeAdapters"]) {
|
|
120
|
+
_super.prototype["_initializeAdapters"].call(this);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
IgcGridConditionalStyleComponent.prototype._updateAdapters = function () {
|
|
124
|
+
if (_super.prototype["_updateAdapters"]) {
|
|
125
|
+
_super.prototype["_updateAdapters"].call(this);
|
|
126
|
+
}
|
|
127
|
+
this.contentProperties.length = 0;
|
|
128
|
+
for (var i = 0; i < this.children.length; i++) {
|
|
129
|
+
if (this.children[i] instanceof IgcGridConditionalStylePropertyComponent) {
|
|
130
|
+
this.contentProperties.push(this.children[i]);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
if (this._propertiesAdapter != null) {
|
|
134
|
+
this._propertiesAdapter.notifyContentChanged();
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
IgcGridConditionalStyleComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
138
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
139
|
+
};
|
|
140
|
+
IgcGridConditionalStyleComponent.prototype._flushQueuedAttributes = function () {
|
|
141
|
+
this._settingAttributes = true;
|
|
142
|
+
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
143
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
144
|
+
}
|
|
145
|
+
this._settingAttributes = false;
|
|
146
|
+
this._queuedSetAttributes.length = 0;
|
|
147
|
+
};
|
|
148
|
+
IgcGridConditionalStyleComponent.prototype._a = function (attrName, attrValue) {
|
|
149
|
+
if (this._updatingFromAttribute) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (attrValue) {
|
|
153
|
+
attrValue = attrValue.toString();
|
|
154
|
+
}
|
|
155
|
+
this._settingAttributes = true;
|
|
156
|
+
attrName = toSpinal(attrName);
|
|
157
|
+
if (this._attached) {
|
|
158
|
+
this.setAttribute(attrName, attrValue);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
162
|
+
}
|
|
163
|
+
this._settingAttributes = false;
|
|
164
|
+
};
|
|
165
|
+
IgcGridConditionalStyleComponent.prototype.connectedCallback = function () {
|
|
166
|
+
if (_super.prototype["connectedCallback"]) {
|
|
167
|
+
_super.prototype["connectedCallback"].call(this);
|
|
168
|
+
}
|
|
169
|
+
if (this.i.connectedCallback) {
|
|
170
|
+
this.i.connectedCallback();
|
|
171
|
+
}
|
|
172
|
+
if (this.updateContentChildren) {
|
|
173
|
+
this.updateContentChildren();
|
|
174
|
+
}
|
|
175
|
+
else if (this._updateAdapters) {
|
|
176
|
+
this._updateAdapters();
|
|
177
|
+
}
|
|
178
|
+
if (!this._attached) {
|
|
179
|
+
this._attached = true;
|
|
180
|
+
this._flushQueuedAttributes();
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
IgcGridConditionalStyleComponent.prototype.disconnectedCallback = function () {
|
|
184
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
185
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
186
|
+
}
|
|
187
|
+
if (this.i.disconnectedCallback) {
|
|
188
|
+
this.i.disconnectedCallback();
|
|
189
|
+
}
|
|
190
|
+
if (this._attached) {
|
|
191
|
+
this._attached = false;
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
Object.defineProperty(IgcGridConditionalStyleComponent, "observedAttributes", {
|
|
195
|
+
get: function () {
|
|
196
|
+
if (IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent == null) {
|
|
197
|
+
var names = getAllPropertyNames(IgcGridConditionalStyleComponent);
|
|
198
|
+
for (var i = 0; i < names.length; i++) {
|
|
199
|
+
names[i] = toSpinal(names[i]);
|
|
200
|
+
}
|
|
201
|
+
IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent = names;
|
|
202
|
+
}
|
|
203
|
+
return IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent;
|
|
204
|
+
},
|
|
205
|
+
enumerable: false,
|
|
206
|
+
configurable: true
|
|
207
|
+
});
|
|
208
|
+
IgcGridConditionalStyleComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
209
|
+
if (this._settingAttributes) {
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
var setName = fromSpinal(name);
|
|
213
|
+
this._updatingFromAttribute = true;
|
|
214
|
+
this[setName] = newValue;
|
|
215
|
+
this._updatingFromAttribute = false;
|
|
216
|
+
};
|
|
217
|
+
IgcGridConditionalStyleComponent.register = function () {
|
|
218
|
+
if (!IgcGridConditionalStyleComponent._isElementRegistered) {
|
|
219
|
+
IgcGridConditionalStyleComponent._isElementRegistered = true;
|
|
220
|
+
RegisterElementHelper.registerElement(IgcGridConditionalStyleComponent.htmlTagName, IgcGridConditionalStyleComponent);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "isCompound", {
|
|
224
|
+
get: function () {
|
|
225
|
+
return this.i.s;
|
|
226
|
+
},
|
|
227
|
+
enumerable: false,
|
|
228
|
+
configurable: true
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "styleKey", {
|
|
231
|
+
get: function () {
|
|
232
|
+
return this.i.ak;
|
|
233
|
+
},
|
|
234
|
+
set: function (v) {
|
|
235
|
+
this.i.ak = v;
|
|
236
|
+
},
|
|
237
|
+
enumerable: false,
|
|
238
|
+
configurable: true
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "isTransitionInEnabled", {
|
|
241
|
+
get: function () {
|
|
242
|
+
return this.i.w;
|
|
243
|
+
},
|
|
244
|
+
set: function (v) {
|
|
245
|
+
this.i.w = ensureBool(v);
|
|
246
|
+
this._a("isTransitionInEnabled", this.i.w);
|
|
247
|
+
},
|
|
248
|
+
enumerable: false,
|
|
249
|
+
configurable: true
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "actualProperties", {
|
|
252
|
+
get: function () {
|
|
253
|
+
if (!this._actualProperties) {
|
|
254
|
+
this._actualProperties = [];
|
|
255
|
+
}
|
|
256
|
+
return this._actualProperties;
|
|
257
|
+
},
|
|
258
|
+
enumerable: false,
|
|
259
|
+
configurable: true
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "contentProperties", {
|
|
262
|
+
get: function () {
|
|
263
|
+
if (!this._contentProperties) {
|
|
264
|
+
this._contentProperties = [];
|
|
265
|
+
}
|
|
266
|
+
return this._contentProperties;
|
|
267
|
+
},
|
|
268
|
+
enumerable: false,
|
|
269
|
+
configurable: true
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "properties", {
|
|
272
|
+
get: function () {
|
|
273
|
+
var _this = this;
|
|
274
|
+
if (this._properties === null) {
|
|
275
|
+
var coll = new IgcGridConditionalStylePropertyCollection();
|
|
276
|
+
var inner = coll._innerColl;
|
|
277
|
+
this._properties = coll;
|
|
278
|
+
inner.addListener(function (sender, e) {
|
|
279
|
+
switch (e.action) {
|
|
280
|
+
case NotifyCollectionChangedAction.Add:
|
|
281
|
+
_this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
282
|
+
break;
|
|
283
|
+
case NotifyCollectionChangedAction.Remove:
|
|
284
|
+
_this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
285
|
+
break;
|
|
286
|
+
case NotifyCollectionChangedAction.Replace:
|
|
287
|
+
_this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
288
|
+
_this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
289
|
+
break;
|
|
290
|
+
case NotifyCollectionChangedAction.Reset:
|
|
291
|
+
_this._propertiesAdapter.clearManualItems();
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
;
|
|
296
|
+
}
|
|
297
|
+
return this._properties;
|
|
298
|
+
},
|
|
299
|
+
enumerable: false,
|
|
300
|
+
configurable: true
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "conditionString", {
|
|
303
|
+
get: function () {
|
|
304
|
+
return this.i.ae;
|
|
305
|
+
},
|
|
306
|
+
set: function (v) {
|
|
307
|
+
this.i.ae = v;
|
|
308
|
+
},
|
|
309
|
+
enumerable: false,
|
|
310
|
+
configurable: true
|
|
311
|
+
});
|
|
312
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "condition", {
|
|
313
|
+
get: function () {
|
|
314
|
+
return this.i.e;
|
|
315
|
+
},
|
|
316
|
+
set: function (v) {
|
|
317
|
+
this.i.e = v;
|
|
318
|
+
},
|
|
319
|
+
enumerable: false,
|
|
320
|
+
configurable: true
|
|
321
|
+
});
|
|
322
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "isFieldMinimumNeeded", {
|
|
323
|
+
get: function () {
|
|
324
|
+
return this.i.u;
|
|
325
|
+
},
|
|
326
|
+
set: function (v) {
|
|
327
|
+
this.i.u = ensureBool(v);
|
|
328
|
+
this._a("isFieldMinimumNeeded", this.i.u);
|
|
329
|
+
},
|
|
330
|
+
enumerable: false,
|
|
331
|
+
configurable: true
|
|
332
|
+
});
|
|
333
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "isFieldMaximumNeeded", {
|
|
334
|
+
get: function () {
|
|
335
|
+
return this.i.t;
|
|
336
|
+
},
|
|
337
|
+
set: function (v) {
|
|
338
|
+
this.i.t = ensureBool(v);
|
|
339
|
+
this._a("isFieldMaximumNeeded", this.i.t);
|
|
340
|
+
},
|
|
341
|
+
enumerable: false,
|
|
342
|
+
configurable: true
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "isFieldSumNeeded", {
|
|
345
|
+
get: function () {
|
|
346
|
+
return this.i.v;
|
|
347
|
+
},
|
|
348
|
+
set: function (v) {
|
|
349
|
+
this.i.v = ensureBool(v);
|
|
350
|
+
this._a("isFieldSumNeeded", this.i.v);
|
|
351
|
+
},
|
|
352
|
+
enumerable: false,
|
|
353
|
+
configurable: true
|
|
354
|
+
});
|
|
355
|
+
IgcGridConditionalStyleComponent.prototype.findByName = function (name) {
|
|
356
|
+
if (this.findEphemera) {
|
|
357
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
358
|
+
return this.findEphemera(name);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
362
|
+
return this.properties.findByName(name);
|
|
363
|
+
}
|
|
364
|
+
return null;
|
|
365
|
+
};
|
|
366
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "hasUserValues", {
|
|
367
|
+
get: function () {
|
|
368
|
+
return this._hasUserValues;
|
|
369
|
+
},
|
|
370
|
+
enumerable: false,
|
|
371
|
+
configurable: true
|
|
372
|
+
});
|
|
373
|
+
IgcGridConditionalStyleComponent.prototype.__m = function (propertyName) {
|
|
374
|
+
if (!this._inStyling) {
|
|
375
|
+
this._hasUserValues.add(propertyName);
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
IgcGridConditionalStyleComponent.prototype._styling = function (container, component, parent) {
|
|
379
|
+
if (this._inStyling) {
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
this._inStyling = true;
|
|
383
|
+
this._stylingContainer = container;
|
|
384
|
+
this._stylingParent = component;
|
|
385
|
+
var genericPrefix = "";
|
|
386
|
+
var typeName = this.i.$type.name;
|
|
387
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
388
|
+
typeName = typeName.substring(3);
|
|
389
|
+
}
|
|
390
|
+
genericPrefix = toSpinal("GridConditionalStyleComponent");
|
|
391
|
+
var additionalPrefixes = [];
|
|
392
|
+
var prefix = toSpinal(typeName);
|
|
393
|
+
additionalPrefixes.push(prefix + "-");
|
|
394
|
+
var b = this.i.$type.baseType;
|
|
395
|
+
while (b && b.name != "Object" &&
|
|
396
|
+
b.name != "Base" &&
|
|
397
|
+
b.name != "Control" &&
|
|
398
|
+
b.Name != "DependencyObject" &&
|
|
399
|
+
b.Name != "FrameworkElement") {
|
|
400
|
+
typeName = b.name;
|
|
401
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
402
|
+
typeName = typeName.substring(3);
|
|
403
|
+
}
|
|
404
|
+
var basePrefix = toSpinal(typeName);
|
|
405
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
406
|
+
b = b.baseType;
|
|
407
|
+
}
|
|
408
|
+
if (parent) {
|
|
409
|
+
var parentTypeName = parent.i.$type.name;
|
|
410
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
411
|
+
parentTypeName = parentTypeName.substring(3);
|
|
412
|
+
}
|
|
413
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
414
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
415
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
416
|
+
}
|
|
417
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
418
|
+
if (this._otherStyling) {
|
|
419
|
+
this._otherStyling(container, component, parent);
|
|
420
|
+
}
|
|
421
|
+
this._inStyling = false;
|
|
422
|
+
};
|
|
423
|
+
IgcGridConditionalStyleComponent.prototype.requiresGlobalValues = function () {
|
|
424
|
+
var iv = this.i.x();
|
|
425
|
+
return (iv);
|
|
426
|
+
};
|
|
427
|
+
IgcGridConditionalStyleComponent.prototype.actualNeedsFieldMinimum = function () {
|
|
428
|
+
var iv = this.i.q();
|
|
429
|
+
return (iv);
|
|
430
|
+
};
|
|
431
|
+
IgcGridConditionalStyleComponent.prototype.actualNeedsFieldMaximum = function () {
|
|
432
|
+
var iv = this.i.p();
|
|
433
|
+
return (iv);
|
|
434
|
+
};
|
|
435
|
+
IgcGridConditionalStyleComponent.prototype.actualNeedsFieldSum = function () {
|
|
436
|
+
var iv = this.i.r();
|
|
437
|
+
return (iv);
|
|
438
|
+
};
|
|
439
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "propertyUpdated", {
|
|
440
|
+
get: function () {
|
|
441
|
+
return this._propertyUpdated;
|
|
442
|
+
},
|
|
443
|
+
set: function (ev) {
|
|
444
|
+
var _this = this;
|
|
445
|
+
if (this._propertyUpdated_wrapped !== null) {
|
|
446
|
+
this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
447
|
+
this._propertyUpdated_wrapped = null;
|
|
448
|
+
this._propertyUpdated = null;
|
|
449
|
+
}
|
|
450
|
+
this._propertyUpdated = ev;
|
|
451
|
+
this._propertyUpdated_wrapped = function (o, e) {
|
|
452
|
+
var outerArgs = new IgcPropertyUpdatedEventArgs();
|
|
453
|
+
outerArgs._provideImplementation(e);
|
|
454
|
+
if (_this.beforePropertyUpdated) {
|
|
455
|
+
_this.beforePropertyUpdated(_this, outerArgs);
|
|
456
|
+
}
|
|
457
|
+
if (_this._propertyUpdated) {
|
|
458
|
+
_this._propertyUpdated(_this, outerArgs);
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
462
|
+
;
|
|
463
|
+
},
|
|
464
|
+
enumerable: false,
|
|
465
|
+
configurable: true
|
|
466
|
+
});
|
|
467
|
+
Object.defineProperty(IgcGridConditionalStyleComponent.prototype, "filterStringErrorsParsing", {
|
|
468
|
+
get: function () {
|
|
469
|
+
return this._filterStringErrorsParsing;
|
|
470
|
+
},
|
|
471
|
+
set: function (ev) {
|
|
472
|
+
var _this = this;
|
|
473
|
+
if (this._filterStringErrorsParsing_wrapped !== null) {
|
|
474
|
+
this.i.filterStringErrorsParsing = delegateRemove(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
|
|
475
|
+
this._filterStringErrorsParsing_wrapped = null;
|
|
476
|
+
this._filterStringErrorsParsing = null;
|
|
477
|
+
}
|
|
478
|
+
this._filterStringErrorsParsing = ev;
|
|
479
|
+
this._filterStringErrorsParsing_wrapped = function (o, e) {
|
|
480
|
+
var outerArgs = new IgcGridConditionFilterStringErrorsParsingEventArgs();
|
|
481
|
+
outerArgs._provideImplementation(e);
|
|
482
|
+
if (_this.beforeFilterStringErrorsParsing) {
|
|
483
|
+
_this.beforeFilterStringErrorsParsing(_this, outerArgs);
|
|
484
|
+
}
|
|
485
|
+
if (_this._filterStringErrorsParsing) {
|
|
486
|
+
_this._filterStringErrorsParsing(_this, outerArgs);
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
this.i.filterStringErrorsParsing = delegateCombine(this.i.filterStringErrorsParsing, this._filterStringErrorsParsing_wrapped);
|
|
490
|
+
;
|
|
491
|
+
},
|
|
492
|
+
enumerable: false,
|
|
493
|
+
configurable: true
|
|
494
|
+
});
|
|
495
|
+
IgcGridConditionalStyleComponent._observedAttributesIgcGridConditionalStyleComponent = null;
|
|
496
|
+
IgcGridConditionalStyleComponent.htmlTagName = "igc-grid-conditional-style";
|
|
497
|
+
IgcGridConditionalStyleComponent._isElementRegistered = false;
|
|
498
|
+
return IgcGridConditionalStyleComponent;
|
|
499
|
+
}(IgcHTMLElement));
|
|
500
|
+
export { IgcGridConditionalStyleComponent };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcGridConditionalStyleComponent } from './igc-grid-conditional-style-component';
|
|
8
|
+
import { GridConditionalStyle } from './GridConditionalStyle';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
var IgcGridConditionalStyleModule = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgcGridConditionalStyleModule() {
|
|
12
|
+
}
|
|
13
|
+
IgcGridConditionalStyleModule.register = function () {
|
|
14
|
+
IgcGridConditionalStyleComponent.register();
|
|
15
|
+
TypeRegistrar.registerCons("IgcGridConditionalStyleComponent", IgcGridConditionalStyleComponent);
|
|
16
|
+
TypeRegistrar.register("GridConditionalStyle", GridConditionalStyle.$type);
|
|
17
|
+
};
|
|
18
|
+
return IgcGridConditionalStyleModule;
|
|
19
|
+
}());
|
|
20
|
+
export { IgcGridConditionalStyleModule };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
3
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
4
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
5
|
+
import { GridConditionalStyleProperty as GridConditionalStyleProperty_internal } from './GridConditionalStyleProperty';
|
|
6
|
+
import { IgcGridConditionalStylePropertyComponent as IgcGridConditionalStylePropertyComponent } from './igc-grid-conditional-style-property-component';
|
|
7
|
+
var IgcGridConditionalStylePropertyCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
8
|
+
__extends(IgcGridConditionalStylePropertyCollection, _super);
|
|
9
|
+
function IgcGridConditionalStylePropertyCollection(list) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
if (!IgcGridConditionalStylePropertyComponent.$type) {
|
|
12
|
+
IgcGridConditionalStylePropertyComponent.$type = markType(IgcGridConditionalStylePropertyComponent, "IgcGridConditionalStylePropertyComponent");
|
|
13
|
+
}
|
|
14
|
+
if (list) {
|
|
15
|
+
for (var i = 0; i < list.length; i++) {
|
|
16
|
+
_this.add(list[i]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return _this;
|
|
20
|
+
}
|
|
21
|
+
IgcGridConditionalStylePropertyCollection.prototype._createInnerColl = function () {
|
|
22
|
+
if (!IgcGridConditionalStylePropertyComponent.$type) {
|
|
23
|
+
IgcGridConditionalStylePropertyComponent.$type = markType(IgcGridConditionalStylePropertyComponent, "IgcGridConditionalStylePropertyComponent");
|
|
24
|
+
}
|
|
25
|
+
var coll = new SyncableObservableCollection$2(IgcGridConditionalStylePropertyComponent.$type, GridConditionalStyleProperty_internal.$type, 0);
|
|
26
|
+
coll.compare = function (ext, int) {
|
|
27
|
+
var comp = ext;
|
|
28
|
+
if (comp._implementation) {
|
|
29
|
+
comp = comp._implementation;
|
|
30
|
+
}
|
|
31
|
+
if (comp.equals) {
|
|
32
|
+
return comp.equals(int);
|
|
33
|
+
}
|
|
34
|
+
return comp === int;
|
|
35
|
+
};
|
|
36
|
+
coll.createTo = function (ext) {
|
|
37
|
+
return ext._implementation;
|
|
38
|
+
};
|
|
39
|
+
coll.createFrom = function (int) {
|
|
40
|
+
var ext = int.externalObject;
|
|
41
|
+
if (!ext) {
|
|
42
|
+
ext = new IgcGridConditionalStylePropertyComponent();
|
|
43
|
+
if (ext) {
|
|
44
|
+
if (!int.$type && ext._implementation.setNativeElement) {
|
|
45
|
+
ext._implementation.setNativeElement(int);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
ext._implementation = int;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return ext;
|
|
53
|
+
};
|
|
54
|
+
return coll;
|
|
55
|
+
};
|
|
56
|
+
return IgcGridConditionalStylePropertyCollection;
|
|
57
|
+
}(IgCollection));
|
|
58
|
+
export { IgcGridConditionalStylePropertyCollection };
|