igniteui-angular-data-grids 20.0.1 → 20.0.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +10223 -8743
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
- package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm2015/lib/CanvasGridCellBase.js +9 -9
- package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm2015/lib/CellPresenterBase.js +64 -39
- package/esm2015/lib/CheckboxListView_combined.js +49 -49
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ColumnSortDescription.js +6 -1
- package/esm2015/lib/ColumnSummaryDescription.js +6 -1
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +46 -33
- package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -10
- package/esm2015/lib/EditorCell.js +335 -335
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +278 -278
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +587 -317
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
- package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +1 -1
- package/esm2015/lib/ImageCell.js +62 -62
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm2015/lib/NumericCell.js +9 -5
- package/esm2015/lib/NumericCellPresenter.js +10 -10
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/SummaryCell.js +41 -41
- package/esm2015/lib/SummaryCellPresenter.js +14 -14
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +35 -30
- package/esm2015/lib/TextCellDecoration.js +33 -0
- package/esm2015/lib/TextCellPresenter.js +11 -11
- package/esm2015/lib/TextHeaderCell.js +157 -150
- package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +301 -190
- package/esm2015/lib/igx-checkbox-list-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +254 -115
- package/esm2015/lib/igx-data-grid-component.js +38 -5
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +46 -45
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -0
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/CanvasCellPresenterBase.js +14 -14
- package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm5/lib/CanvasGridCellBase.js +9 -9
- package/esm5/lib/CanvasImageCellPresenter.js +10 -10
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm5/lib/CanvasTextCellPresenter.js +10 -10
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm5/lib/CellPresenterBase.js +64 -39
- package/esm5/lib/CheckboxListView_combined.js +49 -49
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ColumnSortDescription.js +6 -1
- package/esm5/lib/ColumnSummaryDescription.js +6 -1
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +46 -33
- package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -10
- package/esm5/lib/EditorCell.js +291 -291
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +266 -266
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +625 -311
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
- package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
- package/esm5/lib/GridConditionalStyleProperty.js +8 -8
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +1 -1
- package/esm5/lib/ImageCell.js +61 -61
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm5/lib/NumericCell.js +9 -5
- package/esm5/lib/NumericCellPresenter.js +10 -10
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/SummaryCell.js +41 -41
- package/esm5/lib/SummaryCellPresenter.js +14 -14
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +35 -30
- package/esm5/lib/TextCellDecoration.js +33 -0
- package/esm5/lib/TextCellPresenter.js +11 -11
- package/esm5/lib/TextHeaderCell.js +155 -148
- package/esm5/lib/TextHeaderCellPresenter.js +35 -35
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +349 -190
- package/esm5/lib/igx-checkbox-list-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +302 -115
- package/esm5/lib/igx-data-grid-component.js +42 -5
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +46 -45
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -0
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
- package/fesm5/igniteui-angular-data-grids.js +10219 -8745
- package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
- package/lib/ContentCellModelHelper.d.ts +4 -4
- package/lib/EditorCell.d.ts +74 -74
- package/lib/FilterCell.d.ts +61 -61
- package/lib/GridCellBase.d.ts +140 -95
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
- package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
- package/lib/ImageCell.d.ts +20 -20
- package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
- package/lib/NumericCell.d.ts +2 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +11 -11
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +10 -8
- package/lib/TextCellDecoration.d.ts +26 -0
- package/lib/TextHeaderCell.d.ts +37 -35
- package/lib/VerticalSeparatorCell.d.ts +9 -9
- package/lib/igx-cell-info.d.ts +63 -0
- package/lib/igx-data-grid-column-component.d.ts +68 -2
- package/lib/igx-data-grid-component.d.ts +9 -2
- package/lib/igx-definition-base-component.d.ts +1 -1
- package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
- package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
- package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
|
@@ -88,6 +88,7 @@ import { GroupHeaderDisplayMode_$type } from "./GroupHeaderDisplayMode";
|
|
|
88
88
|
import { SummaryScope_$type } from "./SummaryScope";
|
|
89
89
|
import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode";
|
|
90
90
|
import { IgxPinnedAreaSeparatorComponent } from "./igx-pinned-area-separator-component";
|
|
91
|
+
import { PinnedPositions_$type } from "./PinnedPositions";
|
|
91
92
|
import { ColumnOptionsIconAlignment_$type } from "./ColumnOptionsIconAlignment";
|
|
92
93
|
import { ColumnOptionsIconBehavior_$type } from "./ColumnOptionsIconBehavior";
|
|
93
94
|
import { fromRect } from "igniteui-angular-core";
|
|
@@ -158,6 +159,11 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
158
159
|
this.onScroll();
|
|
159
160
|
}
|
|
160
161
|
};
|
|
162
|
+
this.onMouseEvent = (e) => {
|
|
163
|
+
if (this.stopPropagation) {
|
|
164
|
+
e.stopPropagation();
|
|
165
|
+
}
|
|
166
|
+
};
|
|
161
167
|
this._dataSource = null;
|
|
162
168
|
this._insetLeft = 0;
|
|
163
169
|
this._insetTop = 0;
|
|
@@ -284,7 +290,7 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
284
290
|
this.containerResized();
|
|
285
291
|
});
|
|
286
292
|
this.i.syncBorder();
|
|
287
|
-
// supports angular themes or custom properties set in CSS
|
|
293
|
+
// supports angular themes or custom properties set in CSS
|
|
288
294
|
//this._styling(_elRef.element.nativeElement, this);
|
|
289
295
|
}
|
|
290
296
|
_ensureColumnsAreManual() {
|
|
@@ -430,10 +436,16 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
430
436
|
c._styling(this._elRef.element.nativeElement, this, this);
|
|
431
437
|
}
|
|
432
438
|
this._grid.columnPropertyUpdatingAnimationMode = prev;
|
|
433
|
-
|
|
439
|
+
// we have a grid now so provide it the currently set datasource.
|
|
440
|
+
this.dataSource = this._dataSource;
|
|
434
441
|
}
|
|
435
442
|
ngAfterViewInit() {
|
|
436
443
|
this._portalManager.dynamicContent = this._dynamicContent;
|
|
444
|
+
this._container.addEventListener("mousedown", this.onMouseEvent);
|
|
445
|
+
this._container.addEventListener("mouseup", this.onMouseEvent);
|
|
446
|
+
this._container.addEventListener("mouseenter", this.onMouseEvent);
|
|
447
|
+
this._container.addEventListener("mouseleave", this.onMouseEvent);
|
|
448
|
+
this._container.addEventListener("mousemove", this.onMouseEvent);
|
|
437
449
|
}
|
|
438
450
|
ngOnDestroy() {
|
|
439
451
|
if (this.i) {
|
|
@@ -447,6 +459,11 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
447
459
|
this._grid.renderingEngine.detach();
|
|
448
460
|
}
|
|
449
461
|
}
|
|
462
|
+
this._container.removeEventListener("mousedown", this.onMouseEvent);
|
|
463
|
+
this._container.removeEventListener("mouseup", this.onMouseEvent);
|
|
464
|
+
this._container.removeEventListener("mouseenter", this.onMouseEvent);
|
|
465
|
+
this._container.removeEventListener("mouseleave", this.onMouseEvent);
|
|
466
|
+
this._container.removeEventListener("mousemove", this.onMouseEvent);
|
|
450
467
|
}
|
|
451
468
|
get actualDataSource() {
|
|
452
469
|
return this.i.actualDataSource;
|
|
@@ -484,7 +501,12 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
484
501
|
set dataSource(value) {
|
|
485
502
|
this._dataSource = value;
|
|
486
503
|
if (this._grid != null) {
|
|
487
|
-
this.
|
|
504
|
+
if (this._dataSource && this._dataSource._implementation) {
|
|
505
|
+
this._grid.itemsSource = this._dataSource._implementation;
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
this._grid.itemsSource = this._dataSource;
|
|
509
|
+
}
|
|
488
510
|
}
|
|
489
511
|
}
|
|
490
512
|
get dataSource() {
|
|
@@ -2035,6 +2057,15 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2035
2057
|
set isActiveCellStyleEnabled(v) {
|
|
2036
2058
|
this.i.isActiveCellStyleEnabled = ensureBool(v);
|
|
2037
2059
|
}
|
|
2060
|
+
/**
|
|
2061
|
+
* Prevents mouse events from bubbling out of the grid.
|
|
2062
|
+
*/
|
|
2063
|
+
get stopPropagation() {
|
|
2064
|
+
return this.i.stopPropagation;
|
|
2065
|
+
}
|
|
2066
|
+
set stopPropagation(v) {
|
|
2067
|
+
this.i.stopPropagation = ensureBool(v);
|
|
2068
|
+
}
|
|
2038
2069
|
/**
|
|
2039
2070
|
* A set of states that can be applied to the columns of the grid based on available space.
|
|
2040
2071
|
*/
|
|
@@ -2803,7 +2834,7 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2803
2834
|
this.i.exchangeColumn((newColumn == null ? null : newColumn.i), (oldColumn == null ? null : oldColumn.i));
|
|
2804
2835
|
}
|
|
2805
2836
|
pinColumn(column, position) {
|
|
2806
|
-
this.i.pinColumn((column == null ? null : column.i), (
|
|
2837
|
+
this.i.pinColumn((column == null ? null : column.i), ensureEnum(PinnedPositions_$type, position));
|
|
2807
2838
|
}
|
|
2808
2839
|
moveColumn(oldIndex, newIndex) {
|
|
2809
2840
|
this.i.moveColumn(oldIndex, newIndex);
|
|
@@ -3758,7 +3789,7 @@ export let IgxDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3758
3789
|
}
|
|
3759
3790
|
}
|
|
3760
3791
|
IgxDataGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataGridComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
3761
|
-
IgxDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridComponent, selector: "igx-data-grid", inputs: { height: "height", width: "width", dataSource: "dataSource", columnResizingMode: "columnResizingMode", columnMovingMode: "columnMovingMode", isRowHoverEnabled: "isRowHoverEnabled", rowHoverBackground: "rowHoverBackground", rowHoverTextColor: "rowHoverTextColor", editRowBorder: "editRowBorder", editRowBorderWidthBottom: "editRowBorderWidthBottom", editRowBorderWidthLeft: "editRowBorderWidthLeft", editRowBorderWidthRight: "editRowBorderWidthRight", editRowBorderWidthTop: "editRowBorderWidthTop", sectionHeader: "sectionHeader", summaryRowRoot: "summaryRowRoot", summaryRowSection: "summaryRowSection", rowSeparator: "rowSeparator", headerRowSeparator: "headerRowSeparator", headerSeparator: "headerSeparator", columnResizingSeparator: "columnResizingSeparator", columnMovingSeparator: "columnMovingSeparator", pinnedAreaSeparator: "pinnedAreaSeparator", autoGenerateDesiredProperties: "autoGenerateDesiredProperties", dataSourceDesiredProperties: "dataSourceDesiredProperties", density: "density", actualRowHeight: "actualRowHeight", rowHeight: "rowHeight", defaultColumnMinWidth: "defaultColumnMinWidth", actualHeaderHeight: "actualHeaderHeight", headerHeight: "headerHeight", headerClickAction: "headerClickAction", editMode: "editMode", editModeClickAction: "editModeClickAction", editOnKeyPress: "editOnKeyPress", autoGenerateColumns: "autoGenerateColumns", rowSeparatorHeight: "rowSeparatorHeight", isPlaceholderRenderingEnabled: "isPlaceholderRenderingEnabled", columnAddingAnimationMode: "columnAddingAnimationMode", columnPropertyUpdatingAnimationMode: "columnPropertyUpdatingAnimationMode", cellDataLoadedAnimationMode: "cellDataLoadedAnimationMode", rowSelectionAnimationMode: "rowSelectionAnimationMode", rowHoverAnimationMode: "rowHoverAnimationMode", cellSelectionAnimationMode: "cellSelectionAnimationMode", animationSettings: "animationSettings", columnResizingAnimationMode: "columnResizingAnimationMode", columnShowingAnimationMode: "columnShowingAnimationMode", columnMovingAnimationMode: "columnMovingAnimationMode", columnHidingAnimationMode: "columnHidingAnimationMode", columnExchangingAnimationMode: "columnExchangingAnimationMode", selectionMode: "selectionMode", activationMode: "activationMode", selectionBehavior: "selectionBehavior", mouseDragSelectionEnabled: "mouseDragSelectionEnabled", selectedItems: "selectedItems", selectedKeys: "selectedKeys", selectedCells: "selectedCells", selectedCellRanges: "selectedCellRanges", pinnedItems: "pinnedItems", pinnedKeys: "pinnedKeys", isColumnOptionsEnabled: "isColumnOptionsEnabled", isGroupRowSticky: "isGroupRowSticky", isHeaderSeparatorVisible: "isHeaderSeparatorVisible", cellSelectedBackground: "cellSelectedBackground", sectionHeaderSelectedBackground: "sectionHeaderSelectedBackground", summaryRootBackground: "summaryRootBackground", summarySectionBackground: "summarySectionBackground", pinnedRowOpacity: "pinnedRowOpacity", editTextStyle: "editTextStyle", editOpacity: "editOpacity", deletedTextColor: "deletedTextColor", stickyRowBackground: "stickyRowBackground", pinnedRowBackground: "pinnedRowBackground", lastStickyRowBackground: "lastStickyRowBackground", activeCell: "activeCell", cellBackground: "cellBackground", cellTextColor: "cellTextColor", headerSortIndicatorColor: "headerSortIndicatorColor", headerSortIndicatorStyle: "headerSortIndicatorStyle", cellTextStyle: "cellTextStyle", sectionHeaderBackground: "sectionHeaderBackground", sectionHeaderTextColor: "sectionHeaderTextColor", sectionHeaderTextStyle: "sectionHeaderTextStyle", summaryRootLabelTextStyle: "summaryRootLabelTextStyle", summarySectionLabelTextStyle: "summarySectionLabelTextStyle", summaryRootValueTextColor: "summaryRootValueTextColor", summaryRootValueTextStyle: "summaryRootValueTextStyle", summarySectionValueTextStyle: "summarySectionValueTextStyle", summarySectionValueTextColor: "summarySectionValueTextColor", summaryRootLabelTextColor: "summaryRootLabelTextColor", summarySectionLabelTextColor: "summarySectionLabelTextColor", summaryRootSelectedBackground: "summaryRootSelectedBackground", summarySectionSelectedBackground: "summarySectionSelectedBackground", pinnedAreaSeparatorWidth: "pinnedAreaSeparatorWidth", headerSeparatorWidth: "headerSeparatorWidth", headerSeparatorBackground: "headerSeparatorBackground", headerBackground: "headerBackground", headerTextColor: "headerTextColor", headerTextStyle: "headerTextStyle", rowSeparatorBackground: "rowSeparatorBackground", headerRowSeparatorBackground: "headerRowSeparatorBackground", rowSeparatorStickyRowBackground: "rowSeparatorStickyRowBackground", rowSeparatorLastStickyRowBackground: "rowSeparatorLastStickyRowBackground", rowSeparatorPinnedRowBackground: "rowSeparatorPinnedRowBackground", columnResizingSeparatorWidth: "columnResizingSeparatorWidth", columnResizingSeparatorOpacity: "columnResizingSeparatorOpacity", columnMovingSeparatorWidth: "columnMovingSeparatorWidth", columnMovingSeparatorOpacity: "columnMovingSeparatorOpacity", columnResizingSeparatorBackground: "columnResizingSeparatorBackground", columnMovingSeparatorBackground: "columnMovingSeparatorBackground", shiftSectionContent: "shiftSectionContent", columnOptionsIconAlignment: "columnOptionsIconAlignment", columnOptionsIconColor: "columnOptionsIconColor", columnOptionsIconBehavior: "columnOptionsIconBehavior", border: "border", actualBorderWidth: "actualBorderWidth", borderWidthBottom: "borderWidthBottom", borderWidthLeft: "borderWidthLeft", borderWidthRight: "borderWidthRight", borderWidthTop: "borderWidthTop", notifyOnAllSelectionChanges: "notifyOnAllSelectionChanges", cornerRadiusBottomRight: "cornerRadiusBottomRight", cornerRadiusBottomLeft: "cornerRadiusBottomLeft", cornerRadiusTopLeft: "cornerRadiusTopLeft", cornerRadiusTopRight: "cornerRadiusTopRight", actualCornerRadiusBottomRight: "actualCornerRadiusBottomRight", actualCornerRadiusBottomLeft: "actualCornerRadiusBottomLeft", actualCornerRadiusTopLeft: "actualCornerRadiusTopLeft", actualCornerRadiusTopRight: "actualCornerRadiusTopRight", isActiveCellStyleEnabled: "isActiveCellStyleEnabled", responsiveStates: "responsiveStates", initialSorts: "initialSorts", initialGroups: "initialGroups", initialSummaries: "initialSummaries", summaryScope: "summaryScope", isGroupCollapsable: "isGroupCollapsable", groupHeaderDisplayMode: "groupHeaderDisplayMode", isGroupExpandedDefault: "isGroupExpandedDefault", groupSummaryDisplayMode: "groupSummaryDisplayMode", autoAcceptEdits: "autoAcceptEdits", primaryKey: "primaryKey", actualPrimaryKey: "actualPrimaryKey", actualColumns: "actualColumns", reactsToSortChanges: "reactsToSortChanges", reactsToGroupChanges: "reactsToGroupChanges", reactsToFilterChanges: "reactsToFilterChanges", enterBehavior: "enterBehavior", enterBehaviorAfterEdit: "enterBehaviorAfterEdit", isColumnOptionsSummariesEnabled: "isColumnOptionsSummariesEnabled", isColumnOptionsGroupingEnabled: "isColumnOptionsGroupingEnabled", mergedCellMode: "mergedCellMode", mergedCellEvaluationCriteria: "mergedCellEvaluationCriteria", mergedCellVerticalAlignment: "mergedCellVerticalAlignment", filterUIType: "filterUIType", filterLogicalOperator: "filterLogicalOperator", filterComparisonType: "filterComparisonType", todayOverride: "todayOverride", clearSelectionOnEscape: "clearSelectionOnEscape", pageSize: "pageSize", isToolbarColumnChooserVisible: "isToolbarColumnChooserVisible", isToolbarColumnPinningVisible: "isToolbarColumnPinningVisible", toolbarTitle: "toolbarTitle", toolbarColumnChooserText: "toolbarColumnChooserText", toolbarColumnChooserTitle: "toolbarColumnChooserTitle", toolbarColumnPinningText: "toolbarColumnPinningText", toolbarColumnPinningTitle: "toolbarColumnPinningTitle", scrollbarStyle: "scrollbarStyle", scrollbarBackground: "scrollbarBackground", allowCopyOperation: "allowCopyOperation", deferEventForRowDragSelection: "deferEventForRowDragSelection" }, outputs: { filterExpressionsChanging: "filterExpressionsChanging", filterExpressionsChanged: "filterExpressionsChanged", cellPreviewPointerDown: "cellPreviewPointerDown", cellPreviewPointerUp: "cellPreviewPointerUp", cellPointerDown: "cellPointerDown", cellPointerUp: "cellPointerUp", cellClicked: "cellClicked", sortDescriptionsChanged: "sortDescriptionsChanged", groupDescriptionsChanged: "groupDescriptionsChanged", summaryDescriptionsChanged: "summaryDescriptionsChanged", columnHiddenChanged: "columnHiddenChanged", columnPinnedChanged: "columnPinnedChanged", cellValueChanging: "cellValueChanging", dataCommitted: "dataCommitted", dataCommitting: "dataCommitting", rootSummariesChanged: "rootSummariesChanged", sizeChanged: "sizeChanged", actualColumnsChanged: "actualColumnsChanged", columnsAutoGenerated: "columnsAutoGenerated", selectedItemsChanged: "selectedItemsChanged", selectedKeysChanged: "selectedKeysChanged", selectedCellsChanged: "selectedCellsChanged", selectionChanged: "selectionChanged", activeCellChanged: "activeCellChanged", selectedCellRangesChanged: "selectedCellRangesChanged", columnWidthChanged: "columnWidthChanged", cellEditStarted: "cellEditStarted", cellEditEnded: "cellEditEnded", rowEditStarted: "rowEditStarted", rowEditEnded: "rowEditEnded", customFilterRequested: "customFilterRequested", actualPrimaryKeyChange: "actualPrimaryKeyChange" }, host: { classAttribute: "ig-data-grid igx-data-grid" }, providers: [], queries: [{ propertyName: "contentColumns", predicate: IgxDataGridColumnComponent }], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
|
3792
|
+
IgxDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataGridComponent, selector: "igx-data-grid", inputs: { height: "height", width: "width", dataSource: "dataSource", columnResizingMode: "columnResizingMode", columnMovingMode: "columnMovingMode", isRowHoverEnabled: "isRowHoverEnabled", rowHoverBackground: "rowHoverBackground", rowHoverTextColor: "rowHoverTextColor", editRowBorder: "editRowBorder", editRowBorderWidthBottom: "editRowBorderWidthBottom", editRowBorderWidthLeft: "editRowBorderWidthLeft", editRowBorderWidthRight: "editRowBorderWidthRight", editRowBorderWidthTop: "editRowBorderWidthTop", sectionHeader: "sectionHeader", summaryRowRoot: "summaryRowRoot", summaryRowSection: "summaryRowSection", rowSeparator: "rowSeparator", headerRowSeparator: "headerRowSeparator", headerSeparator: "headerSeparator", columnResizingSeparator: "columnResizingSeparator", columnMovingSeparator: "columnMovingSeparator", pinnedAreaSeparator: "pinnedAreaSeparator", autoGenerateDesiredProperties: "autoGenerateDesiredProperties", dataSourceDesiredProperties: "dataSourceDesiredProperties", density: "density", actualRowHeight: "actualRowHeight", rowHeight: "rowHeight", defaultColumnMinWidth: "defaultColumnMinWidth", actualHeaderHeight: "actualHeaderHeight", headerHeight: "headerHeight", headerClickAction: "headerClickAction", editMode: "editMode", editModeClickAction: "editModeClickAction", editOnKeyPress: "editOnKeyPress", autoGenerateColumns: "autoGenerateColumns", rowSeparatorHeight: "rowSeparatorHeight", isPlaceholderRenderingEnabled: "isPlaceholderRenderingEnabled", columnAddingAnimationMode: "columnAddingAnimationMode", columnPropertyUpdatingAnimationMode: "columnPropertyUpdatingAnimationMode", cellDataLoadedAnimationMode: "cellDataLoadedAnimationMode", rowSelectionAnimationMode: "rowSelectionAnimationMode", rowHoverAnimationMode: "rowHoverAnimationMode", cellSelectionAnimationMode: "cellSelectionAnimationMode", animationSettings: "animationSettings", columnResizingAnimationMode: "columnResizingAnimationMode", columnShowingAnimationMode: "columnShowingAnimationMode", columnMovingAnimationMode: "columnMovingAnimationMode", columnHidingAnimationMode: "columnHidingAnimationMode", columnExchangingAnimationMode: "columnExchangingAnimationMode", selectionMode: "selectionMode", activationMode: "activationMode", selectionBehavior: "selectionBehavior", mouseDragSelectionEnabled: "mouseDragSelectionEnabled", selectedItems: "selectedItems", selectedKeys: "selectedKeys", selectedCells: "selectedCells", selectedCellRanges: "selectedCellRanges", pinnedItems: "pinnedItems", pinnedKeys: "pinnedKeys", isColumnOptionsEnabled: "isColumnOptionsEnabled", isGroupRowSticky: "isGroupRowSticky", isHeaderSeparatorVisible: "isHeaderSeparatorVisible", cellSelectedBackground: "cellSelectedBackground", sectionHeaderSelectedBackground: "sectionHeaderSelectedBackground", summaryRootBackground: "summaryRootBackground", summarySectionBackground: "summarySectionBackground", pinnedRowOpacity: "pinnedRowOpacity", editTextStyle: "editTextStyle", editOpacity: "editOpacity", deletedTextColor: "deletedTextColor", stickyRowBackground: "stickyRowBackground", pinnedRowBackground: "pinnedRowBackground", lastStickyRowBackground: "lastStickyRowBackground", activeCell: "activeCell", cellBackground: "cellBackground", cellTextColor: "cellTextColor", headerSortIndicatorColor: "headerSortIndicatorColor", headerSortIndicatorStyle: "headerSortIndicatorStyle", cellTextStyle: "cellTextStyle", sectionHeaderBackground: "sectionHeaderBackground", sectionHeaderTextColor: "sectionHeaderTextColor", sectionHeaderTextStyle: "sectionHeaderTextStyle", summaryRootLabelTextStyle: "summaryRootLabelTextStyle", summarySectionLabelTextStyle: "summarySectionLabelTextStyle", summaryRootValueTextColor: "summaryRootValueTextColor", summaryRootValueTextStyle: "summaryRootValueTextStyle", summarySectionValueTextStyle: "summarySectionValueTextStyle", summarySectionValueTextColor: "summarySectionValueTextColor", summaryRootLabelTextColor: "summaryRootLabelTextColor", summarySectionLabelTextColor: "summarySectionLabelTextColor", summaryRootSelectedBackground: "summaryRootSelectedBackground", summarySectionSelectedBackground: "summarySectionSelectedBackground", pinnedAreaSeparatorWidth: "pinnedAreaSeparatorWidth", headerSeparatorWidth: "headerSeparatorWidth", headerSeparatorBackground: "headerSeparatorBackground", headerBackground: "headerBackground", headerTextColor: "headerTextColor", headerTextStyle: "headerTextStyle", rowSeparatorBackground: "rowSeparatorBackground", headerRowSeparatorBackground: "headerRowSeparatorBackground", rowSeparatorStickyRowBackground: "rowSeparatorStickyRowBackground", rowSeparatorLastStickyRowBackground: "rowSeparatorLastStickyRowBackground", rowSeparatorPinnedRowBackground: "rowSeparatorPinnedRowBackground", columnResizingSeparatorWidth: "columnResizingSeparatorWidth", columnResizingSeparatorOpacity: "columnResizingSeparatorOpacity", columnMovingSeparatorWidth: "columnMovingSeparatorWidth", columnMovingSeparatorOpacity: "columnMovingSeparatorOpacity", columnResizingSeparatorBackground: "columnResizingSeparatorBackground", columnMovingSeparatorBackground: "columnMovingSeparatorBackground", shiftSectionContent: "shiftSectionContent", columnOptionsIconAlignment: "columnOptionsIconAlignment", columnOptionsIconColor: "columnOptionsIconColor", columnOptionsIconBehavior: "columnOptionsIconBehavior", border: "border", actualBorderWidth: "actualBorderWidth", borderWidthBottom: "borderWidthBottom", borderWidthLeft: "borderWidthLeft", borderWidthRight: "borderWidthRight", borderWidthTop: "borderWidthTop", notifyOnAllSelectionChanges: "notifyOnAllSelectionChanges", cornerRadiusBottomRight: "cornerRadiusBottomRight", cornerRadiusBottomLeft: "cornerRadiusBottomLeft", cornerRadiusTopLeft: "cornerRadiusTopLeft", cornerRadiusTopRight: "cornerRadiusTopRight", actualCornerRadiusBottomRight: "actualCornerRadiusBottomRight", actualCornerRadiusBottomLeft: "actualCornerRadiusBottomLeft", actualCornerRadiusTopLeft: "actualCornerRadiusTopLeft", actualCornerRadiusTopRight: "actualCornerRadiusTopRight", isActiveCellStyleEnabled: "isActiveCellStyleEnabled", stopPropagation: "stopPropagation", responsiveStates: "responsiveStates", initialSorts: "initialSorts", initialGroups: "initialGroups", initialSummaries: "initialSummaries", summaryScope: "summaryScope", isGroupCollapsable: "isGroupCollapsable", groupHeaderDisplayMode: "groupHeaderDisplayMode", isGroupExpandedDefault: "isGroupExpandedDefault", groupSummaryDisplayMode: "groupSummaryDisplayMode", autoAcceptEdits: "autoAcceptEdits", primaryKey: "primaryKey", actualPrimaryKey: "actualPrimaryKey", actualColumns: "actualColumns", reactsToSortChanges: "reactsToSortChanges", reactsToGroupChanges: "reactsToGroupChanges", reactsToFilterChanges: "reactsToFilterChanges", enterBehavior: "enterBehavior", enterBehaviorAfterEdit: "enterBehaviorAfterEdit", isColumnOptionsSummariesEnabled: "isColumnOptionsSummariesEnabled", isColumnOptionsGroupingEnabled: "isColumnOptionsGroupingEnabled", mergedCellMode: "mergedCellMode", mergedCellEvaluationCriteria: "mergedCellEvaluationCriteria", mergedCellVerticalAlignment: "mergedCellVerticalAlignment", filterUIType: "filterUIType", filterLogicalOperator: "filterLogicalOperator", filterComparisonType: "filterComparisonType", todayOverride: "todayOverride", clearSelectionOnEscape: "clearSelectionOnEscape", pageSize: "pageSize", isToolbarColumnChooserVisible: "isToolbarColumnChooserVisible", isToolbarColumnPinningVisible: "isToolbarColumnPinningVisible", toolbarTitle: "toolbarTitle", toolbarColumnChooserText: "toolbarColumnChooserText", toolbarColumnChooserTitle: "toolbarColumnChooserTitle", toolbarColumnPinningText: "toolbarColumnPinningText", toolbarColumnPinningTitle: "toolbarColumnPinningTitle", scrollbarStyle: "scrollbarStyle", scrollbarBackground: "scrollbarBackground", allowCopyOperation: "allowCopyOperation", deferEventForRowDragSelection: "deferEventForRowDragSelection" }, outputs: { filterExpressionsChanging: "filterExpressionsChanging", filterExpressionsChanged: "filterExpressionsChanged", cellPreviewPointerDown: "cellPreviewPointerDown", cellPreviewPointerUp: "cellPreviewPointerUp", cellPointerDown: "cellPointerDown", cellPointerUp: "cellPointerUp", cellClicked: "cellClicked", sortDescriptionsChanged: "sortDescriptionsChanged", groupDescriptionsChanged: "groupDescriptionsChanged", summaryDescriptionsChanged: "summaryDescriptionsChanged", columnHiddenChanged: "columnHiddenChanged", columnPinnedChanged: "columnPinnedChanged", cellValueChanging: "cellValueChanging", dataCommitted: "dataCommitted", dataCommitting: "dataCommitting", rootSummariesChanged: "rootSummariesChanged", sizeChanged: "sizeChanged", actualColumnsChanged: "actualColumnsChanged", columnsAutoGenerated: "columnsAutoGenerated", selectedItemsChanged: "selectedItemsChanged", selectedKeysChanged: "selectedKeysChanged", selectedCellsChanged: "selectedCellsChanged", selectionChanged: "selectionChanged", activeCellChanged: "activeCellChanged", selectedCellRangesChanged: "selectedCellRangesChanged", columnWidthChanged: "columnWidthChanged", cellEditStarted: "cellEditStarted", cellEditEnded: "cellEditEnded", rowEditStarted: "rowEditStarted", rowEditEnded: "rowEditEnded", customFilterRequested: "customFilterRequested", actualPrimaryKeyChange: "actualPrimaryKeyChange" }, host: { classAttribute: "ig-data-grid igx-data-grid" }, providers: [], queries: [{ propertyName: "contentColumns", predicate: IgxDataGridColumnComponent }], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
|
3762
3793
|
<ng-container #dynamicContent></ng-container>
|
|
3763
3794
|
`, isInline: true, styles: [":host {\n\t\tdisplay: block;\n box-sizing: border-box;\n overflow: hidden;\n\t}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3764
3795
|
return IgxDataGridComponent;
|
|
@@ -4043,6 +4074,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
4043
4074
|
type: Input
|
|
4044
4075
|
}], isActiveCellStyleEnabled: [{
|
|
4045
4076
|
type: Input
|
|
4077
|
+
}], stopPropagation: [{
|
|
4078
|
+
type: Input
|
|
4046
4079
|
}], responsiveStates: [{
|
|
4047
4080
|
type: Input
|
|
4048
4081
|
}], initialSorts: [{
|
|
@@ -22,56 +22,56 @@ export class IgxDateTimeCellInfo extends IgxCellInfo {
|
|
|
22
22
|
* Sets or gets the DateTime value for the cell.
|
|
23
23
|
*/
|
|
24
24
|
get dateTimeValue() {
|
|
25
|
-
return this.i.
|
|
25
|
+
return this.i.n6;
|
|
26
26
|
}
|
|
27
27
|
set dateTimeValue(v) {
|
|
28
|
-
this.i.
|
|
28
|
+
this.i.n6 = v;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* The format string to apply to the value
|
|
32
32
|
*/
|
|
33
33
|
get formatStringOverride() {
|
|
34
|
-
return this.i.
|
|
34
|
+
return this.i.on;
|
|
35
35
|
}
|
|
36
36
|
set formatStringOverride(v) {
|
|
37
|
-
this.i.
|
|
37
|
+
this.i.on = v;
|
|
38
38
|
}
|
|
39
39
|
get formatSpecifiers() {
|
|
40
|
-
return this.i.
|
|
40
|
+
return this.i.nx;
|
|
41
41
|
}
|
|
42
42
|
set formatSpecifiers(v) {
|
|
43
43
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
44
44
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
45
45
|
v = v.split(re);
|
|
46
46
|
}
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.nx = v;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* The format options to apply to the value
|
|
51
51
|
*/
|
|
52
52
|
get formatOverride() {
|
|
53
|
-
return this.i.
|
|
53
|
+
return this.i.og;
|
|
54
54
|
}
|
|
55
55
|
set formatOverride(v) {
|
|
56
|
-
this.i.
|
|
56
|
+
this.i.og = v;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Sets or gets the simple DateTimeFormat to use for the cell.
|
|
60
60
|
*/
|
|
61
61
|
get dateTimeFormat() {
|
|
62
|
-
return this.i.
|
|
62
|
+
return this.i.n2;
|
|
63
63
|
}
|
|
64
64
|
set dateTimeFormat(v) {
|
|
65
|
-
this.i.
|
|
65
|
+
this.i.n2 = ensureEnum(DateTimeFormats_$type, v);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Sets or gets whether the value to use is a DateTimeOffset value.
|
|
69
69
|
*/
|
|
70
70
|
get isOffsetValue() {
|
|
71
|
-
return this.i.
|
|
71
|
+
return this.i.n4;
|
|
72
72
|
}
|
|
73
73
|
set isOffsetValue(v) {
|
|
74
|
-
this.i.
|
|
74
|
+
this.i.n4 = ensureBool(v);
|
|
75
75
|
}
|
|
76
76
|
findByName(name) {
|
|
77
77
|
var baseResult = super.findByName(name);
|
|
@@ -41,92 +41,92 @@ export let IgxDateTimeColumnComponent = /*@__PURE__*/ (() => {
|
|
|
41
41
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
42
42
|
*/
|
|
43
43
|
get dateTimeFormat() {
|
|
44
|
-
return this.i.
|
|
44
|
+
return this.i.pb;
|
|
45
45
|
}
|
|
46
46
|
set dateTimeFormat(v) {
|
|
47
|
-
this.i.
|
|
47
|
+
this.i.pb = ensureEnum(DateTimeFormats_$type, v);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Gets or sets the format string to apply to the value. If set, the other value formatting properties on this column are ignored.
|
|
51
51
|
*/
|
|
52
52
|
get formatString() {
|
|
53
|
-
return this.i.
|
|
53
|
+
return this.i.pt;
|
|
54
54
|
}
|
|
55
55
|
set formatString(v) {
|
|
56
|
-
this.i.
|
|
56
|
+
this.i.pt = v;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Gets or sets the format string to use when editing dates.
|
|
60
60
|
*/
|
|
61
61
|
get editorFormatString() {
|
|
62
|
-
return this.i.
|
|
62
|
+
return this.i.pm;
|
|
63
63
|
}
|
|
64
64
|
set editorFormatString(v) {
|
|
65
|
-
this.i.
|
|
65
|
+
this.i.pm = v;
|
|
66
66
|
}
|
|
67
67
|
get formatSpecifiers() {
|
|
68
|
-
return this.i.
|
|
68
|
+
return this.i.o7;
|
|
69
69
|
}
|
|
70
70
|
set formatSpecifiers(v) {
|
|
71
71
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
72
72
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
73
73
|
v = v.split(re);
|
|
74
74
|
}
|
|
75
|
-
this.i.
|
|
75
|
+
this.i.o7 = v;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Gets or sets the INTL DateTimeFormat object to use for formatting the date values.
|
|
79
79
|
*/
|
|
80
80
|
get formatOverride() {
|
|
81
|
-
return this.i.
|
|
81
|
+
return this.i.pi;
|
|
82
82
|
}
|
|
83
83
|
set formatOverride(v) {
|
|
84
|
-
this.i.
|
|
84
|
+
this.i.pi = v;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
88
88
|
*/
|
|
89
89
|
get showTodayButton() {
|
|
90
|
-
return this.i.
|
|
90
|
+
return this.i.pe;
|
|
91
91
|
}
|
|
92
92
|
set showTodayButton(v) {
|
|
93
|
-
this.i.
|
|
93
|
+
this.i.pe = ensureBool(v);
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Gets or sets the editor type used for editing cells in this column.
|
|
97
97
|
*/
|
|
98
98
|
get editorType() {
|
|
99
|
-
return this.i.
|
|
99
|
+
return this.i.pc;
|
|
100
100
|
}
|
|
101
101
|
set editorType(v) {
|
|
102
|
-
this.i.
|
|
102
|
+
this.i.pc = ensureEnum(EditorType_$type, v);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Gets or sets the ComboBox data source.
|
|
106
106
|
*/
|
|
107
107
|
get editorDataSource() {
|
|
108
|
-
return this.i.
|
|
108
|
+
return this.i.ph;
|
|
109
109
|
}
|
|
110
110
|
set editorDataSource(v) {
|
|
111
|
-
this.i.
|
|
111
|
+
this.i.ph = v;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Gets or sets the ComboBox text field.
|
|
115
115
|
*/
|
|
116
116
|
get editorTextField() {
|
|
117
|
-
return this.i.
|
|
117
|
+
return this.i.po;
|
|
118
118
|
}
|
|
119
119
|
set editorTextField(v) {
|
|
120
|
-
this.i.
|
|
120
|
+
this.i.po = v;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Gets or sets the ComboBox value field.
|
|
124
124
|
*/
|
|
125
125
|
get editorValueField() {
|
|
126
|
-
return this.i.
|
|
126
|
+
return this.i.pp;
|
|
127
127
|
}
|
|
128
128
|
set editorValueField(v) {
|
|
129
|
-
this.i.
|
|
129
|
+
this.i.pp = v;
|
|
130
130
|
}
|
|
131
131
|
findByName(name) {
|
|
132
132
|
var baseResult = super.findByName(name);
|
|
@@ -5,6 +5,7 @@ import { CellContentVerticalAlignment_$type } from "./CellContentVerticalAlignme
|
|
|
5
5
|
import { TextCellLineBreakMode_$type } from "./TextCellLineBreakMode";
|
|
6
6
|
import { IgxDataBindingEventArgs } from "./igx-data-binding-event-args";
|
|
7
7
|
import { IgxCellStyleRequestedEventArgs } from "./igx-cell-style-requested-event-args";
|
|
8
|
+
import { CellPropertyAnimationType_$type } from "./CellPropertyAnimationType";
|
|
8
9
|
import { NamePatcher } from "igniteui-angular-core";
|
|
9
10
|
import { ensureBool, brushToString, stringToBrush, ensureEnum, toSpinal, initializePropertiesFromCss, CollectionAdapter } from "igniteui-angular-core";
|
|
10
11
|
import { FontInfo } from "igniteui-angular-core";
|
|
@@ -171,10 +172,10 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
171
172
|
* Gets or sets the background color to use.
|
|
172
173
|
*/
|
|
173
174
|
get background() {
|
|
174
|
-
return brushToString(this.i.
|
|
175
|
+
return brushToString(this.i.gf);
|
|
175
176
|
}
|
|
176
177
|
set background(v) {
|
|
177
|
-
this.i.
|
|
178
|
+
this.i.gf = stringToBrush(v);
|
|
178
179
|
}
|
|
179
180
|
get actualConditionalStyles() {
|
|
180
181
|
if (!this._actualConditionalStyles) {
|
|
@@ -215,37 +216,37 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
215
216
|
* Gets or sets the background color to use.
|
|
216
217
|
*/
|
|
217
218
|
get border() {
|
|
218
|
-
return brushToString(this.i.
|
|
219
|
+
return brushToString(this.i.gi);
|
|
219
220
|
}
|
|
220
221
|
set border(v) {
|
|
221
|
-
this.i.
|
|
222
|
+
this.i.gi = stringToBrush(v);
|
|
222
223
|
}
|
|
223
224
|
/**
|
|
224
225
|
* Gets or sets the background color to use.
|
|
225
226
|
*/
|
|
226
227
|
get activationBorder() {
|
|
227
|
-
return brushToString(this.i.
|
|
228
|
+
return brushToString(this.i.f4);
|
|
228
229
|
}
|
|
229
230
|
set activationBorder(v) {
|
|
230
|
-
this.i.
|
|
231
|
+
this.i.f4 = stringToBrush(v);
|
|
231
232
|
}
|
|
232
233
|
/**
|
|
233
234
|
* Gets or sets the error border color to use.
|
|
234
235
|
*/
|
|
235
236
|
get errorBorder() {
|
|
236
|
-
return brushToString(this.i.
|
|
237
|
+
return brushToString(this.i.gj);
|
|
237
238
|
}
|
|
238
239
|
set errorBorder(v) {
|
|
239
|
-
this.i.
|
|
240
|
+
this.i.gj = stringToBrush(v);
|
|
240
241
|
}
|
|
241
242
|
/**
|
|
242
243
|
* Gets the actual border color that will be used.
|
|
243
244
|
*/
|
|
244
245
|
get actualBorder() {
|
|
245
|
-
return brushToString(this.i.
|
|
246
|
+
return brushToString(this.i.f9);
|
|
246
247
|
}
|
|
247
248
|
set actualBorder(v) {
|
|
248
|
-
this.i.
|
|
249
|
+
this.i.f9 = stringToBrush(v);
|
|
249
250
|
}
|
|
250
251
|
/**
|
|
251
252
|
* Gets or sets the amount of left border to use for the cell content for this column.
|
|
@@ -347,82 +348,82 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
347
348
|
* Gets the actual background color that will be used.
|
|
348
349
|
*/
|
|
349
350
|
get actualBackground() {
|
|
350
|
-
return brushToString(this.i.
|
|
351
|
+
return brushToString(this.i.f6);
|
|
351
352
|
}
|
|
352
353
|
set actualBackground(v) {
|
|
353
|
-
this.i.
|
|
354
|
+
this.i.f6 = stringToBrush(v);
|
|
354
355
|
}
|
|
355
356
|
/**
|
|
356
357
|
* Gets the actual background color that will be used.
|
|
357
358
|
*/
|
|
358
359
|
get actualActivationBorder() {
|
|
359
|
-
return brushToString(this.i.
|
|
360
|
+
return brushToString(this.i.f5);
|
|
360
361
|
}
|
|
361
362
|
set actualActivationBorder(v) {
|
|
362
|
-
this.i.
|
|
363
|
+
this.i.f5 = stringToBrush(v);
|
|
363
364
|
}
|
|
364
365
|
/**
|
|
365
366
|
* Gets the actual error border color that will be used.
|
|
366
367
|
*/
|
|
367
368
|
get actualErrorBorder() {
|
|
368
|
-
return brushToString(this.i.
|
|
369
|
+
return brushToString(this.i.ga);
|
|
369
370
|
}
|
|
370
371
|
set actualErrorBorder(v) {
|
|
371
|
-
this.i.
|
|
372
|
+
this.i.ga = stringToBrush(v);
|
|
372
373
|
}
|
|
373
374
|
/**
|
|
374
375
|
* Gets or sets the background color for content that sticks to the top of the grid.
|
|
375
376
|
*/
|
|
376
377
|
get stickyRowBackground() {
|
|
377
|
-
return brushToString(this.i.
|
|
378
|
+
return brushToString(this.i.gx);
|
|
378
379
|
}
|
|
379
380
|
set stickyRowBackground(v) {
|
|
380
|
-
this.i.
|
|
381
|
+
this.i.gx = stringToBrush(v);
|
|
381
382
|
}
|
|
382
383
|
/**
|
|
383
384
|
* Gets the actual background color for content that sticks to the top of the grid.
|
|
384
385
|
*/
|
|
385
386
|
get actualStickyRowBackground() {
|
|
386
|
-
return brushToString(this.i.
|
|
387
|
+
return brushToString(this.i.gd);
|
|
387
388
|
}
|
|
388
389
|
set actualStickyRowBackground(v) {
|
|
389
|
-
this.i.
|
|
390
|
+
this.i.gd = stringToBrush(v);
|
|
390
391
|
}
|
|
391
392
|
/**
|
|
392
393
|
* Gets or sets the background color for cells belonging to rows marked as pinned.
|
|
393
394
|
*/
|
|
394
395
|
get pinnedRowBackground() {
|
|
395
|
-
return brushToString(this.i.
|
|
396
|
+
return brushToString(this.i.gw);
|
|
396
397
|
}
|
|
397
398
|
set pinnedRowBackground(v) {
|
|
398
|
-
this.i.
|
|
399
|
+
this.i.gw = stringToBrush(v);
|
|
399
400
|
}
|
|
400
401
|
/**
|
|
401
402
|
* Gets the actual background color for cells belonging to rows marked as pinned.
|
|
402
403
|
*/
|
|
403
404
|
get actualPinnedRowBackground() {
|
|
404
|
-
return brushToString(this.i.
|
|
405
|
+
return brushToString(this.i.gc);
|
|
405
406
|
}
|
|
406
407
|
set actualPinnedRowBackground(v) {
|
|
407
|
-
this.i.
|
|
408
|
+
this.i.gc = stringToBrush(v);
|
|
408
409
|
}
|
|
409
410
|
/**
|
|
410
411
|
* Gets or sets the color for the last row in the sticky row area.
|
|
411
412
|
*/
|
|
412
413
|
get lastStickyRowBackground() {
|
|
413
|
-
return brushToString(this.i.
|
|
414
|
+
return brushToString(this.i.gv);
|
|
414
415
|
}
|
|
415
416
|
set lastStickyRowBackground(v) {
|
|
416
|
-
this.i.
|
|
417
|
+
this.i.gv = stringToBrush(v);
|
|
417
418
|
}
|
|
418
419
|
/**
|
|
419
420
|
* Gets the actual color for the last row in the sticky row area.
|
|
420
421
|
*/
|
|
421
422
|
get actualLastStickyRowBackground() {
|
|
422
|
-
return brushToString(this.i.
|
|
423
|
+
return brushToString(this.i.gb);
|
|
423
424
|
}
|
|
424
425
|
set actualLastStickyRowBackground(v) {
|
|
425
|
-
this.i.
|
|
426
|
+
this.i.gb = stringToBrush(v);
|
|
426
427
|
}
|
|
427
428
|
/**
|
|
428
429
|
* Gets or sets the opacity of the content.
|
|
@@ -473,19 +474,19 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
473
474
|
* Gets or sets the color to use for displaying text.
|
|
474
475
|
*/
|
|
475
476
|
get textColor() {
|
|
476
|
-
return brushToString(this.i.
|
|
477
|
+
return brushToString(this.i.gy);
|
|
477
478
|
}
|
|
478
479
|
set textColor(v) {
|
|
479
|
-
this.i.
|
|
480
|
+
this.i.gy = stringToBrush(v);
|
|
480
481
|
}
|
|
481
482
|
/**
|
|
482
483
|
* Gets the actual color used for displaying text.
|
|
483
484
|
*/
|
|
484
485
|
get actualTextColor() {
|
|
485
|
-
return brushToString(this.i.
|
|
486
|
+
return brushToString(this.i.ge);
|
|
486
487
|
}
|
|
487
488
|
set actualTextColor(v) {
|
|
488
|
-
this.i.
|
|
489
|
+
this.i.ge = stringToBrush(v);
|
|
489
490
|
}
|
|
490
491
|
/**
|
|
491
492
|
* Gets or sets whether the bar is supported.
|
|
@@ -500,37 +501,37 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
500
501
|
* Gets or sets the color to use for value bars.
|
|
501
502
|
*/
|
|
502
503
|
get barBackground() {
|
|
503
|
-
return brushToString(this.i.
|
|
504
|
+
return brushToString(this.i.gg);
|
|
504
505
|
}
|
|
505
506
|
set barBackground(v) {
|
|
506
|
-
this.i.
|
|
507
|
+
this.i.gg = stringToBrush(v);
|
|
507
508
|
}
|
|
508
509
|
/**
|
|
509
510
|
* Gets the actual color used for value bars.
|
|
510
511
|
*/
|
|
511
512
|
get actualBarBackground() {
|
|
512
|
-
return brushToString(this.i.
|
|
513
|
+
return brushToString(this.i.f7);
|
|
513
514
|
}
|
|
514
515
|
set actualBarBackground(v) {
|
|
515
|
-
this.i.
|
|
516
|
+
this.i.f7 = stringToBrush(v);
|
|
516
517
|
}
|
|
517
518
|
/**
|
|
518
519
|
* Gets or sets the Outline color to use for value bars.
|
|
519
520
|
*/
|
|
520
521
|
get barOutline() {
|
|
521
|
-
return brushToString(this.i.
|
|
522
|
+
return brushToString(this.i.gh);
|
|
522
523
|
}
|
|
523
524
|
set barOutline(v) {
|
|
524
|
-
this.i.
|
|
525
|
+
this.i.gh = stringToBrush(v);
|
|
525
526
|
}
|
|
526
527
|
/**
|
|
527
528
|
* Gets the actual Outline color used for value bars.
|
|
528
529
|
*/
|
|
529
530
|
get actualBarOutline() {
|
|
530
|
-
return brushToString(this.i.
|
|
531
|
+
return brushToString(this.i.f8);
|
|
531
532
|
}
|
|
532
533
|
set actualBarOutline(v) {
|
|
533
|
-
this.i.
|
|
534
|
+
this.i.f8 = stringToBrush(v);
|
|
534
535
|
}
|
|
535
536
|
/**
|
|
536
537
|
* Gets or sets the stroke thickness to use for value bars.
|
|
@@ -612,17 +613,17 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
612
613
|
return null;
|
|
613
614
|
}
|
|
614
615
|
transitionStyleOut(style) {
|
|
615
|
-
this.i.
|
|
616
|
+
this.i.e4((style == null ? null : style.i));
|
|
616
617
|
}
|
|
617
618
|
transitionStyleIn(style) {
|
|
618
|
-
this.i.
|
|
619
|
+
this.i.e3((style == null ? null : style.i));
|
|
619
620
|
}
|
|
620
621
|
isStyleTransitioningOut(style) {
|
|
621
622
|
let iv = this.i.as((style == null ? null : style.i));
|
|
622
623
|
return (iv);
|
|
623
624
|
}
|
|
624
625
|
setNamedValue(valueName, animationType, value) {
|
|
625
|
-
this.i.
|
|
626
|
+
this.i.e2(valueName, ensureEnum(CellPropertyAnimationType_$type, animationType), value);
|
|
626
627
|
}
|
|
627
628
|
/**
|
|
628
629
|
* Returns if this definition has named value.
|
|
@@ -647,7 +648,7 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
647
648
|
* @param valueName * The named value name to remove.
|
|
648
649
|
*/
|
|
649
650
|
removeNamedValue(valueName) {
|
|
650
|
-
this.i.
|
|
651
|
+
this.i.ex(valueName);
|
|
651
652
|
}
|
|
652
653
|
/**
|
|
653
654
|
* Gets the value for a named value from this definition.
|
|
@@ -655,7 +656,7 @@ export let IgxDefinitionBaseComponent = /*@__PURE__*/ (() => {
|
|
|
655
656
|
* @param valueName * The named value name to check for.
|
|
656
657
|
*/
|
|
657
658
|
getNamedValue(valueName) {
|
|
658
|
-
let iv = this.i.
|
|
659
|
+
let iv = this.i.cp(valueName);
|
|
659
660
|
return (iv);
|
|
660
661
|
}
|
|
661
662
|
/**
|