igniteui-webcomponents-data-grids 6.0.1 → 6.0.2-beta.1
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-data-grids.umd.js +12298 -10495
- package/bundles/igniteui-webcomponents-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 +8409 -7998
- 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 +308 -308
- 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 +11 -11
- 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 +326 -205
- 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 +8 -8
- 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/TextIconSetConditionalStyle.js +14 -9
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +301 -190
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +284 -160
- package/esm2015/lib/igc-data-grid-component.js +64 -4
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +66 -65
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igc-grid-conditional-style-font-info-component.js +214 -0
- package/esm2015/lib/igc-grid-conditional-style-font-info-module.js +16 -0
- package/esm2015/lib/igc-grid-conditional-style-property-component.js +101 -35
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +4 -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 +8205 -7695
- 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 +11 -11
- 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 +343 -194
- 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 +8 -8
- 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/TextIconSetConditionalStyle.js +14 -9
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +349 -190
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +332 -160
- package/esm5/lib/igc-data-grid-component.js +68 -4
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +66 -65
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igc-grid-conditional-style-font-info-component.js +232 -0
- package/esm5/lib/igc-grid-conditional-style-font-info-module.js +20 -0
- package/esm5/lib/igc-grid-conditional-style-property-component.js +128 -34
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +4 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +12290 -10806
- package/fesm5/igniteui-webcomponents-data-grids.js +12295 -10497
- package/lib/ColumnFilterCondition_combined.d.ts +1999 -1901
- 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/GridConditionalStyleProperty.d.ts +84 -61
- 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/igc-cell-info.d.ts +58 -0
- package/lib/igc-data-grid-column-component.d.ts +62 -1
- package/lib/igc-data-grid-component.d.ts +15 -1
- package/lib/igc-definition-base-component.d.ts +1 -1
- package/lib/igc-grid-conditional-style-font-info-component.d.ts +44 -0
- package/lib/igc-grid-conditional-style-font-info-module.d.ts +3 -0
- package/lib/igc-grid-conditional-style-property-component.d.ts +17 -2
- package/package.json +41 -41
- package/public_api.d.ts +4 -0
|
@@ -90,6 +90,7 @@ import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode";
|
|
|
90
90
|
import { fromRect } from "igniteui-webcomponents-core";
|
|
91
91
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
92
92
|
import { IgcPinnedAreaSeparatorComponent } from "./igc-pinned-area-separator-component";
|
|
93
|
+
import { PinnedPositions_$type } from "./PinnedPositions";
|
|
93
94
|
import { ColumnOptionsIconAlignment_$type } from "./ColumnOptionsIconAlignment";
|
|
94
95
|
import { ColumnOptionsIconBehavior_$type } from "./ColumnOptionsIconBehavior";
|
|
95
96
|
import { IgcColumnPinnedChangedEventArgs } from "./igc-column-pinned-changed-event-args";
|
|
@@ -150,6 +151,11 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
150
151
|
_this._renderer = null;
|
|
151
152
|
_this._disconnected = false;
|
|
152
153
|
_this._initialized = false;
|
|
154
|
+
_this.onMouseEvent = function (e) {
|
|
155
|
+
if (_this.stopPropagation) {
|
|
156
|
+
e.stopPropagation();
|
|
157
|
+
}
|
|
158
|
+
};
|
|
153
159
|
_this._scroller = null;
|
|
154
160
|
_this._wrapper = null;
|
|
155
161
|
_this._grid = null;
|
|
@@ -562,6 +568,11 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
562
568
|
this._grid.renderingEngine.detach();
|
|
563
569
|
}
|
|
564
570
|
}
|
|
571
|
+
this.removeEventListener("mousedown", this.onMouseEvent);
|
|
572
|
+
this.removeEventListener("mouseup", this.onMouseEvent);
|
|
573
|
+
this.removeEventListener("mouseenter", this.onMouseEvent);
|
|
574
|
+
this.removeEventListener("mouseleave", this.onMouseEvent);
|
|
575
|
+
this.removeEventListener("mousemove", this.onMouseEvent);
|
|
565
576
|
};
|
|
566
577
|
IgcDataGridComponent.prototype.connectedCallback = function () {
|
|
567
578
|
if (this._disconnected) {
|
|
@@ -628,6 +639,11 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
628
639
|
}
|
|
629
640
|
this.updateContentColumns();
|
|
630
641
|
this.afterContentInit();
|
|
642
|
+
this.addEventListener("mousedown", this.onMouseEvent);
|
|
643
|
+
this.addEventListener("mouseup", this.onMouseEvent);
|
|
644
|
+
this.addEventListener("mouseenter", this.onMouseEvent);
|
|
645
|
+
this.addEventListener("mouseleave", this.onMouseEvent);
|
|
646
|
+
this.addEventListener("mousemove", this.onMouseEvent);
|
|
631
647
|
};
|
|
632
648
|
IgcDataGridComponent.prototype.SetupColumnGrouping = function () {
|
|
633
649
|
if (this._hasColumnGroupingAdded == false && this._hasParentAdded == true) {
|
|
@@ -662,7 +678,7 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
662
678
|
this.i.pager = null;
|
|
663
679
|
// When the pager is shown it replaces the internal grid's datasource with a new paged one. So when hiding the pager
|
|
664
680
|
// we need to assign back the original datasource.
|
|
665
|
-
this.
|
|
681
|
+
this.dataSource = this._dataSource;
|
|
666
682
|
}
|
|
667
683
|
};
|
|
668
684
|
IgcDataGridComponent.prototype.showToolbar = function () {
|
|
@@ -692,7 +708,8 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
692
708
|
configurable: true
|
|
693
709
|
});
|
|
694
710
|
IgcDataGridComponent.prototype.afterContentInit = function () {
|
|
695
|
-
|
|
711
|
+
// we have a grid now so provide it the currently set datasource.
|
|
712
|
+
this.dataSource = this._dataSource;
|
|
696
713
|
};
|
|
697
714
|
IgcDataGridComponent.prototype.refreshContentSize = function () {
|
|
698
715
|
if (this._content != null) {
|
|
@@ -734,7 +751,12 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
734
751
|
set: function (value) {
|
|
735
752
|
this._dataSource = value;
|
|
736
753
|
if (this._grid != null) {
|
|
737
|
-
this.
|
|
754
|
+
if (this._dataSource && this._dataSource._implementation) {
|
|
755
|
+
this._grid.itemsSource = this._dataSource._implementation;
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
758
|
+
this._grid.itemsSource = this._dataSource;
|
|
759
|
+
}
|
|
738
760
|
}
|
|
739
761
|
},
|
|
740
762
|
enumerable: false,
|
|
@@ -3067,6 +3089,20 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3067
3089
|
enumerable: false,
|
|
3068
3090
|
configurable: true
|
|
3069
3091
|
});
|
|
3092
|
+
Object.defineProperty(IgcDataGridComponent.prototype, "stopPropagation", {
|
|
3093
|
+
/**
|
|
3094
|
+
* Prevents mouse events from bubbling out of the grid.
|
|
3095
|
+
*/
|
|
3096
|
+
get: function () {
|
|
3097
|
+
return this.i.stopPropagation;
|
|
3098
|
+
},
|
|
3099
|
+
set: function (v) {
|
|
3100
|
+
this.i.stopPropagation = ensureBool(v);
|
|
3101
|
+
this._a("stopPropagation", this.i.stopPropagation);
|
|
3102
|
+
},
|
|
3103
|
+
enumerable: false,
|
|
3104
|
+
configurable: true
|
|
3105
|
+
});
|
|
3070
3106
|
Object.defineProperty(IgcDataGridComponent.prototype, "responsiveStates", {
|
|
3071
3107
|
/**
|
|
3072
3108
|
* A set of states that can be applied to the columns of the grid based on available space.
|
|
@@ -4070,7 +4106,7 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4070
4106
|
this.i.exchangeColumn((newColumn == null ? null : newColumn.i), (oldColumn == null ? null : oldColumn.i));
|
|
4071
4107
|
};
|
|
4072
4108
|
IgcDataGridComponent.prototype.pinColumn = function (column, position) {
|
|
4073
|
-
this.i.pinColumn((column == null ? null : column.i), (
|
|
4109
|
+
this.i.pinColumn((column == null ? null : column.i), ensureEnum(PinnedPositions_$type, position));
|
|
4074
4110
|
};
|
|
4075
4111
|
IgcDataGridComponent.prototype.moveColumn = function (oldIndex, newIndex) {
|
|
4076
4112
|
this.i.moveColumn(oldIndex, newIndex);
|
|
@@ -4390,6 +4426,34 @@ var IgcDataGridComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4390
4426
|
IgcDataGridComponent.prototype.loadLayout = function (json) {
|
|
4391
4427
|
this.i.loadLayout(json);
|
|
4392
4428
|
};
|
|
4429
|
+
IgcDataGridComponent.prototype.registerIconFromText = function (iconCollection, iconName, iconText) {
|
|
4430
|
+
this.i.registerIconFromText(iconCollection, iconName, iconText);
|
|
4431
|
+
};
|
|
4432
|
+
IgcDataGridComponent.prototype.getIconFromCache = function (iconCollection, iconName) {
|
|
4433
|
+
var iv = this.i.getIconFromCache(iconCollection, iconName);
|
|
4434
|
+
return (iv);
|
|
4435
|
+
};
|
|
4436
|
+
IgcDataGridComponent.prototype.registerMultiPathSVG = function (iconCollection, iconName, multiPathSVG) {
|
|
4437
|
+
this.i.registerMultiPathSVG(iconCollection, iconName, multiPathSVG);
|
|
4438
|
+
};
|
|
4439
|
+
IgcDataGridComponent.prototype.getMultiPathSVGFromCache = function (iconCollection, iconName) {
|
|
4440
|
+
var iv = this.i.getMultiPathSVGFromCache(iconCollection, iconName);
|
|
4441
|
+
return (iv);
|
|
4442
|
+
};
|
|
4443
|
+
IgcDataGridComponent.prototype.registerIconFromDataURL = function (iconCollection, iconName, dataURL) {
|
|
4444
|
+
this.i.registerIconFromDataURL(iconCollection, iconName, dataURL);
|
|
4445
|
+
};
|
|
4446
|
+
IgcDataGridComponent.prototype.getDataURLFromCache = function (iconCollection, iconName) {
|
|
4447
|
+
var iv = this.i.getDataURLFromCache(iconCollection, iconName);
|
|
4448
|
+
return (iv);
|
|
4449
|
+
};
|
|
4450
|
+
IgcDataGridComponent.prototype.registerIconSource = function (iconCollection, iconName, source) {
|
|
4451
|
+
this.i.registerIconSource(iconCollection, iconName, source);
|
|
4452
|
+
};
|
|
4453
|
+
IgcDataGridComponent.prototype.getIconSource = function (iconCollection, iconName) {
|
|
4454
|
+
var iv = this.i.getIconSource(iconCollection, iconName);
|
|
4455
|
+
return (iv);
|
|
4456
|
+
};
|
|
4393
4457
|
Object.defineProperty(IgcDataGridComponent.prototype, "filterExpressionsChanging", {
|
|
4394
4458
|
get: function () {
|
|
4395
4459
|
return this._filterExpressionsChanging;
|
|
@@ -29,10 +29,10 @@ var IgcDateTimeCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
29
29
|
* Sets or gets the DateTime value for the cell.
|
|
30
30
|
*/
|
|
31
31
|
get: function () {
|
|
32
|
-
return this.i.
|
|
32
|
+
return this.i.n6;
|
|
33
33
|
},
|
|
34
34
|
set: function (v) {
|
|
35
|
-
this.i.
|
|
35
|
+
this.i.n6 = v;
|
|
36
36
|
},
|
|
37
37
|
enumerable: false,
|
|
38
38
|
configurable: true
|
|
@@ -42,24 +42,24 @@ var IgcDateTimeCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
42
42
|
* The format string to apply to the value
|
|
43
43
|
*/
|
|
44
44
|
get: function () {
|
|
45
|
-
return this.i.
|
|
45
|
+
return this.i.on;
|
|
46
46
|
},
|
|
47
47
|
set: function (v) {
|
|
48
|
-
this.i.
|
|
48
|
+
this.i.on = v;
|
|
49
49
|
},
|
|
50
50
|
enumerable: false,
|
|
51
51
|
configurable: true
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(IgcDateTimeCellInfo.prototype, "formatSpecifiers", {
|
|
54
54
|
get: function () {
|
|
55
|
-
return this.i.
|
|
55
|
+
return this.i.nx;
|
|
56
56
|
},
|
|
57
57
|
set: function (v) {
|
|
58
58
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
59
59
|
var re = /\s*(?:,|\s|$)\s*/gm;
|
|
60
60
|
v = v.split(re);
|
|
61
61
|
}
|
|
62
|
-
this.i.
|
|
62
|
+
this.i.nx = v;
|
|
63
63
|
},
|
|
64
64
|
enumerable: false,
|
|
65
65
|
configurable: true
|
|
@@ -69,10 +69,10 @@ var IgcDateTimeCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
69
69
|
* The format options to apply to the value
|
|
70
70
|
*/
|
|
71
71
|
get: function () {
|
|
72
|
-
return this.i.
|
|
72
|
+
return this.i.og;
|
|
73
73
|
},
|
|
74
74
|
set: function (v) {
|
|
75
|
-
this.i.
|
|
75
|
+
this.i.og = v;
|
|
76
76
|
},
|
|
77
77
|
enumerable: false,
|
|
78
78
|
configurable: true
|
|
@@ -82,10 +82,10 @@ var IgcDateTimeCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
82
82
|
* Sets or gets the simple DateTimeFormat to use for the cell.
|
|
83
83
|
*/
|
|
84
84
|
get: function () {
|
|
85
|
-
return this.i.
|
|
85
|
+
return this.i.n2;
|
|
86
86
|
},
|
|
87
87
|
set: function (v) {
|
|
88
|
-
this.i.
|
|
88
|
+
this.i.n2 = ensureEnum(DateTimeFormats_$type, v);
|
|
89
89
|
},
|
|
90
90
|
enumerable: false,
|
|
91
91
|
configurable: true
|
|
@@ -95,10 +95,10 @@ var IgcDateTimeCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
95
|
* Sets or gets whether the value to use is a DateTimeOffset value.
|
|
96
96
|
*/
|
|
97
97
|
get: function () {
|
|
98
|
-
return this.i.
|
|
98
|
+
return this.i.n4;
|
|
99
99
|
},
|
|
100
100
|
set: function (v) {
|
|
101
|
-
this.i.
|
|
101
|
+
this.i.n4 = ensureBool(v);
|
|
102
102
|
},
|
|
103
103
|
enumerable: false,
|
|
104
104
|
configurable: true
|
|
@@ -80,11 +80,11 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
80
80
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
81
81
|
*/
|
|
82
82
|
get: function () {
|
|
83
|
-
return this.i.
|
|
83
|
+
return this.i.pb;
|
|
84
84
|
},
|
|
85
85
|
set: function (v) {
|
|
86
|
-
this.i.
|
|
87
|
-
this._a("dateTimeFormat", enumToString(DateTimeFormats_$type, this.i.
|
|
86
|
+
this.i.pb = ensureEnum(DateTimeFormats_$type, v);
|
|
87
|
+
this._a("dateTimeFormat", enumToString(DateTimeFormats_$type, this.i.pb));
|
|
88
88
|
},
|
|
89
89
|
enumerable: false,
|
|
90
90
|
configurable: true
|
|
@@ -94,10 +94,10 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
94
94
|
* Gets or sets the format string to apply to the value. If set, the other value formatting properties on this column are ignored.
|
|
95
95
|
*/
|
|
96
96
|
get: function () {
|
|
97
|
-
return this.i.
|
|
97
|
+
return this.i.pt;
|
|
98
98
|
},
|
|
99
99
|
set: function (v) {
|
|
100
|
-
this.i.
|
|
100
|
+
this.i.pt = v;
|
|
101
101
|
},
|
|
102
102
|
enumerable: false,
|
|
103
103
|
configurable: true
|
|
@@ -107,24 +107,24 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
107
107
|
* Gets or sets the format string to use when editing dates.
|
|
108
108
|
*/
|
|
109
109
|
get: function () {
|
|
110
|
-
return this.i.
|
|
110
|
+
return this.i.pm;
|
|
111
111
|
},
|
|
112
112
|
set: function (v) {
|
|
113
|
-
this.i.
|
|
113
|
+
this.i.pm = v;
|
|
114
114
|
},
|
|
115
115
|
enumerable: false,
|
|
116
116
|
configurable: true
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(IgcDateTimeColumnComponent.prototype, "formatSpecifiers", {
|
|
119
119
|
get: function () {
|
|
120
|
-
return this.i.
|
|
120
|
+
return this.i.o7;
|
|
121
121
|
},
|
|
122
122
|
set: function (v) {
|
|
123
123
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
124
124
|
var re = /\s*(?:,|\s|$)\s*/gm;
|
|
125
125
|
v = v.split(re);
|
|
126
126
|
}
|
|
127
|
-
this.i.
|
|
127
|
+
this.i.o7 = v;
|
|
128
128
|
},
|
|
129
129
|
enumerable: false,
|
|
130
130
|
configurable: true
|
|
@@ -134,10 +134,10 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
134
134
|
* Gets or sets the INTL DateTimeFormat object to use for formatting the date values.
|
|
135
135
|
*/
|
|
136
136
|
get: function () {
|
|
137
|
-
return this.i.
|
|
137
|
+
return this.i.pi;
|
|
138
138
|
},
|
|
139
139
|
set: function (v) {
|
|
140
|
-
this.i.
|
|
140
|
+
this.i.pi = v;
|
|
141
141
|
},
|
|
142
142
|
enumerable: false,
|
|
143
143
|
configurable: true
|
|
@@ -147,11 +147,11 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
147
147
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
148
148
|
*/
|
|
149
149
|
get: function () {
|
|
150
|
-
return this.i.
|
|
150
|
+
return this.i.pe;
|
|
151
151
|
},
|
|
152
152
|
set: function (v) {
|
|
153
|
-
this.i.
|
|
154
|
-
this._a("showTodayButton", this.i.
|
|
153
|
+
this.i.pe = ensureBool(v);
|
|
154
|
+
this._a("showTodayButton", this.i.pe);
|
|
155
155
|
},
|
|
156
156
|
enumerable: false,
|
|
157
157
|
configurable: true
|
|
@@ -161,11 +161,11 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
161
161
|
* Gets or sets the editor type used for editing cells in this column.
|
|
162
162
|
*/
|
|
163
163
|
get: function () {
|
|
164
|
-
return this.i.
|
|
164
|
+
return this.i.pc;
|
|
165
165
|
},
|
|
166
166
|
set: function (v) {
|
|
167
|
-
this.i.
|
|
168
|
-
this._a("editorType", enumToString(EditorType_$type, this.i.
|
|
167
|
+
this.i.pc = ensureEnum(EditorType_$type, v);
|
|
168
|
+
this._a("editorType", enumToString(EditorType_$type, this.i.pc));
|
|
169
169
|
},
|
|
170
170
|
enumerable: false,
|
|
171
171
|
configurable: true
|
|
@@ -175,10 +175,10 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
175
175
|
* Gets or sets the ComboBox data source.
|
|
176
176
|
*/
|
|
177
177
|
get: function () {
|
|
178
|
-
return this.i.
|
|
178
|
+
return this.i.ph;
|
|
179
179
|
},
|
|
180
180
|
set: function (v) {
|
|
181
|
-
this.i.
|
|
181
|
+
this.i.ph = v;
|
|
182
182
|
},
|
|
183
183
|
enumerable: false,
|
|
184
184
|
configurable: true
|
|
@@ -188,10 +188,10 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
188
188
|
* Gets or sets the ComboBox text field.
|
|
189
189
|
*/
|
|
190
190
|
get: function () {
|
|
191
|
-
return this.i.
|
|
191
|
+
return this.i.po;
|
|
192
192
|
},
|
|
193
193
|
set: function (v) {
|
|
194
|
-
this.i.
|
|
194
|
+
this.i.po = v;
|
|
195
195
|
},
|
|
196
196
|
enumerable: false,
|
|
197
197
|
configurable: true
|
|
@@ -201,10 +201,10 @@ var IgcDateTimeColumnComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
201
201
|
* Gets or sets the ComboBox value field.
|
|
202
202
|
*/
|
|
203
203
|
get: function () {
|
|
204
|
-
return this.i.
|
|
204
|
+
return this.i.pp;
|
|
205
205
|
},
|
|
206
206
|
set: function (v) {
|
|
207
|
-
this.i.
|
|
207
|
+
this.i.pp = v;
|
|
208
208
|
},
|
|
209
209
|
enumerable: false,
|
|
210
210
|
configurable: true
|