igniteui-webcomponents-grids 3.2.3 → 3.2.4
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 +10236 -9350
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +5 -0
- package/esm2015/lib/CanvasCellPresenterBase.js +10 -10
- package/esm2015/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm2015/lib/CanvasGridCellBase.js +305 -289
- package/esm2015/lib/CanvasImageCell.js +29 -29
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCell.js +2 -2
- package/esm2015/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasSummaryCell.js +51 -51
- package/esm2015/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateCell.js +7 -7
- package/esm2015/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCell.js +3 -3
- package/esm2015/lib/CanvasTextCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +24 -24
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPresenterBase.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +341 -306
- package/esm2015/lib/ColumnChooserView_combined.js +22 -22
- package/esm2015/lib/ColumnFilterCondition_combined.js +7498 -7180
- package/esm2015/lib/ColumnGroupDescription.js +22 -0
- package/esm2015/lib/ColumnGroupDescriptionCollection.js +14 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +25 -25
- package/esm2015/lib/ColumnPinningView_combined.js +22 -22
- package/esm2015/lib/ColumnSortDescriptionCollection.js +12 -6
- package/esm2015/lib/ColumnSummaryDescriptionCollection.js +12 -6
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +17 -17
- package/esm2015/lib/DateTimeColumnValueFormatter.js +90 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm2015/lib/GridExternalWrapper.js +18 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +1 -1
- package/esm2015/lib/ISummaryChooserView_combined.js +13 -13
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm2015/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm2015/lib/NumericCellPresenter.js +1 -1
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextEditorView.js +28 -10
- package/esm2015/lib/VerticalSeparatorCell.js +46 -8
- package/esm2015/lib/VisualModelExport.js +120 -100
- package/esm2015/lib/igc-checkbox-list-component.js +74 -54
- package/esm2015/lib/igc-column-component.js +164 -164
- package/esm2015/lib/igc-column-group-description-collection.js +13 -3
- 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-column-sort-description-collection.js +13 -3
- package/esm2015/lib/igc-column-summary-description-collection.js +13 -3
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-component.js +699 -593
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +50 -50
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/BaseEditorView.js +5 -0
- package/esm5/lib/CanvasCellPresenterBase.js +10 -10
- package/esm5/lib/CanvasContentCellModelHelper.js +11 -11
- package/esm5/lib/CanvasDateTimeCellPresenter.js +2 -2
- package/esm5/lib/CanvasGridCellBase.js +304 -288
- package/esm5/lib/CanvasImageCell.js +28 -28
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCell.js +2 -2
- package/esm5/lib/CanvasNumericCellPresenter.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCell.js +3 -3
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasSummaryCell.js +51 -51
- package/esm5/lib/CanvasSummaryCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateCell.js +7 -7
- package/esm5/lib/CanvasTemplateCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateHeaderCell.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCell.js +3 -3
- package/esm5/lib/CanvasTextCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +24 -24
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPresenterBase.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +339 -296
- package/esm5/lib/ColumnChooserView_combined.js +22 -22
- package/esm5/lib/ColumnFilterCondition_combined.js +7319 -6934
- package/esm5/lib/ColumnGroupDescription.js +22 -0
- package/esm5/lib/ColumnGroupDescriptionCollection.js +18 -8
- package/esm5/lib/ColumnGroupingView_combined.js +25 -25
- package/esm5/lib/ColumnPinningView_combined.js +22 -22
- package/esm5/lib/ColumnSortDescriptionCollection.js +16 -6
- package/esm5/lib/ColumnSummaryDescriptionCollection.js +16 -6
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +23 -18
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +27 -25
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +17 -17
- package/esm5/lib/DateTimeColumnValueFormatter.js +92 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +25 -25
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +6 -6
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSortOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +15 -15
- package/esm5/lib/GridExternalWrapper.js +18 -6
- package/esm5/lib/GridFilterDialogView_combined.js +1 -1
- package/esm5/lib/ISummaryChooserView_combined.js +13 -13
- package/esm5/lib/MultiColumnComboBoxView_combined.js +47 -47
- package/esm5/lib/MultiColumnComboVisualModelExport.js +1 -1
- package/esm5/lib/NumericCellPresenter.js +1 -1
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextEditorView.js +28 -10
- package/esm5/lib/VerticalSeparatorCell.js +46 -8
- package/esm5/lib/VisualModelExport.js +120 -100
- package/esm5/lib/igc-checkbox-list-component.js +82 -54
- package/esm5/lib/igc-column-component.js +164 -164
- package/esm5/lib/igc-column-group-description-collection.js +17 -3
- 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-column-sort-description-collection.js +17 -3
- package/esm5/lib/igc-column-summary-description-collection.js +17 -3
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-component.js +743 -601
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +50 -50
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/fesm2015/igniteui-webcomponents-grids.js +10276 -9534
- package/fesm5/igniteui-webcomponents-grids.js +10237 -9351
- package/lib/CanvasGridCellBase.d.ts +95 -93
- package/lib/CanvasImageCell.d.ts +11 -11
- package/lib/CanvasSectionHeaderCell.d.ts +1 -1
- package/lib/CanvasSummaryCell.d.ts +15 -15
- 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/CheckboxListView_combined.d.ts +74 -69
- package/lib/ColumnFilterCondition_combined.d.ts +1299 -1258
- package/lib/ColumnGroupDescription.d.ts +1 -0
- package/lib/ColumnGroupDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSortDescriptionCollection.d.ts +8 -7
- package/lib/ColumnSummaryDescriptionCollection.d.ts +8 -7
- package/lib/DataGridCellLayoutPanel.d.ts +1 -0
- package/lib/DateTimeColumnValueFormatter.d.ts +19 -1
- package/lib/GridExternalWrapper.d.ts +4 -0
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextEditorView.d.ts +5 -3
- package/lib/VerticalSeparatorCell.d.ts +9 -0
- package/lib/VisualModelExport.d.ts +31 -26
- package/lib/igc-checkbox-list-component.d.ts +9 -0
- package/lib/igc-column-group-description-collection.d.ts +4 -0
- package/lib/igc-column-sort-description-collection.d.ts +4 -0
- package/lib/igc-column-summary-description-collection.d.ts +4 -0
- package/lib/igc-data-grid-component.d.ts +30 -2
- package/package.json +4 -4
|
@@ -419,7 +419,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
419
419
|
this.actualProperties = this.properties;
|
|
420
420
|
}
|
|
421
421
|
if (this.l != null) {
|
|
422
|
-
this.l.
|
|
422
|
+
this.l.uz();
|
|
423
423
|
}
|
|
424
424
|
};
|
|
425
425
|
PropertyEditor.prototype.dl = function (a, b) {
|
|
@@ -436,11 +436,11 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
436
436
|
PropertyEditor.prototype.di = function (a, b) {
|
|
437
437
|
this.l = a;
|
|
438
438
|
if (null != this.l) {
|
|
439
|
-
this.l.
|
|
440
|
-
this.l.
|
|
441
|
-
this.l.
|
|
442
|
-
this.l.
|
|
443
|
-
this.l.
|
|
439
|
+
this.l.n1 = 0;
|
|
440
|
+
this.l.oc = 0;
|
|
441
|
+
this.l.iz = false;
|
|
442
|
+
this.l.c7 = 0;
|
|
443
|
+
this.l.cs = 0;
|
|
444
444
|
var c = this.l;
|
|
445
445
|
c.cellClicked = delegateCombine(c.cellClicked, runOn(this, this.dh));
|
|
446
446
|
if (this.actualProperties != null) {
|
|
@@ -695,10 +695,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
695
695
|
}
|
|
696
696
|
if (this.l != null) {
|
|
697
697
|
if (c != null) {
|
|
698
|
-
this.l.
|
|
699
|
-
this.l.
|
|
700
|
-
this.l.
|
|
701
|
-
this.l.
|
|
698
|
+
this.l.bf.n();
|
|
699
|
+
this.l.cf.n();
|
|
700
|
+
this.l.u.clear();
|
|
701
|
+
this.l.ck.n();
|
|
702
702
|
}
|
|
703
703
|
if (this.l.actualDataSource != null) {
|
|
704
704
|
var f = this.l.actualDataSource;
|
|
@@ -730,20 +730,20 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
730
730
|
break;
|
|
731
731
|
case "RowHeight":
|
|
732
732
|
if (this.l != null) {
|
|
733
|
-
this.l.
|
|
733
|
+
this.l.oa = this.br;
|
|
734
734
|
}
|
|
735
735
|
break;
|
|
736
736
|
case "CellTextStyle":
|
|
737
737
|
if (this.l != null) {
|
|
738
|
-
this.l.
|
|
738
|
+
this.l.gx = this.ad;
|
|
739
739
|
}
|
|
740
740
|
break;
|
|
741
741
|
case "BackgroundColor":
|
|
742
742
|
case "TextColor":
|
|
743
743
|
var j = this.l;
|
|
744
744
|
if (null != j) {
|
|
745
|
-
j.
|
|
746
|
-
j.
|
|
745
|
+
j.zv = this.ea;
|
|
746
|
+
j.zt = this.d6;
|
|
747
747
|
}
|
|
748
748
|
this.m.ae();
|
|
749
749
|
break;
|
|
@@ -791,14 +791,14 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
791
791
|
this.d3();
|
|
792
792
|
}
|
|
793
793
|
else if (this.l != null) {
|
|
794
|
-
this.l.
|
|
794
|
+
this.l.uz();
|
|
795
795
|
}
|
|
796
796
|
this.an = a;
|
|
797
797
|
return b;
|
|
798
798
|
};
|
|
799
799
|
PropertyEditor.prototype.d1 = function () {
|
|
800
800
|
if (this.l != null) {
|
|
801
|
-
this.l.
|
|
801
|
+
this.l.go = this.aa;
|
|
802
802
|
}
|
|
803
803
|
if (this.o != null) {
|
|
804
804
|
this.o.n = this.aa;
|
|
@@ -822,29 +822,29 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
822
822
|
}
|
|
823
823
|
this.au.clear();
|
|
824
824
|
this.l.actualColumns.clear();
|
|
825
|
-
this.l.
|
|
826
|
-
this.l.
|
|
827
|
-
this.l.
|
|
828
|
-
this.l.
|
|
829
|
-
this.l.
|
|
830
|
-
this.l.
|
|
825
|
+
this.l.jy = false;
|
|
826
|
+
this.l.oa = this.br == -1 ? 38 : this.br;
|
|
827
|
+
this.l.zt = this.d6;
|
|
828
|
+
this.l.zu = this.d6;
|
|
829
|
+
this.l.go = this.aa;
|
|
830
|
+
this.l.aa0 = new Thickness(0, 0);
|
|
831
831
|
if (this.ad != null) {
|
|
832
|
-
this.l.
|
|
832
|
+
this.l.gx = this.ad;
|
|
833
833
|
}
|
|
834
834
|
if (this.ao) {
|
|
835
835
|
this.co();
|
|
836
836
|
}
|
|
837
837
|
else {
|
|
838
838
|
var a = new TextColumn();
|
|
839
|
-
a.
|
|
840
|
-
a.
|
|
841
|
-
a.
|
|
839
|
+
a.h2 = 10;
|
|
840
|
+
a.h3 = 5;
|
|
841
|
+
a.i8 = "PropertyPath";
|
|
842
842
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dm));
|
|
843
843
|
this.l.columns.add(a);
|
|
844
844
|
var b = new TemplateColumn();
|
|
845
|
-
b.
|
|
846
|
-
b.h1 = 5;
|
|
845
|
+
b.i8 = "ValueType";
|
|
847
846
|
b.h2 = 5;
|
|
847
|
+
b.h3 = 5;
|
|
848
848
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.ct));
|
|
849
849
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cr));
|
|
850
850
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.cs));
|
|
@@ -877,7 +877,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
877
877
|
};
|
|
878
878
|
PropertyEditor.prototype.eb = function () {
|
|
879
879
|
if (this.ao && this.l != null && this.l.itemsSource != null) {
|
|
880
|
-
var a = this.l.
|
|
880
|
+
var a = this.l.nf;
|
|
881
881
|
var b = this.l.itemsSource;
|
|
882
882
|
return new Size(1, 0, b.count * a);
|
|
883
883
|
}
|
|
@@ -924,8 +924,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
924
924
|
var r = this_1.cb(l);
|
|
925
925
|
if (c.count <= g) {
|
|
926
926
|
var s = new TextColumn();
|
|
927
|
-
s.
|
|
928
|
-
s.
|
|
927
|
+
s.h2 = 10;
|
|
928
|
+
s.h3 = 5;
|
|
929
929
|
s.width = ((function () {
|
|
930
930
|
var $ret = new ColumnWidth();
|
|
931
931
|
$ret.c = false;
|
|
@@ -933,8 +933,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
933
933
|
return $ret;
|
|
934
934
|
})());
|
|
935
935
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this_1, this_1.dm));
|
|
936
|
-
s.
|
|
937
|
-
s.
|
|
936
|
+
s.jz = "PropertyName_" + k;
|
|
937
|
+
s.i8 = "PropertyName";
|
|
938
938
|
c.add(s);
|
|
939
939
|
this_1.au.item(s, c.count - 1);
|
|
940
940
|
g++;
|
|
@@ -971,10 +971,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
971
971
|
}
|
|
972
972
|
if (c.count <= g) {
|
|
973
973
|
var v = new TemplateColumn();
|
|
974
|
-
v.
|
|
975
|
-
v.
|
|
976
|
-
v.h1 = 5;
|
|
974
|
+
v.jz = "ValueType_" + k;
|
|
975
|
+
v.i8 = "ValueType";
|
|
977
976
|
v.h2 = 5;
|
|
977
|
+
v.h3 = 5;
|
|
978
978
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this_1, this_1.ct));
|
|
979
979
|
v.width = ((function () {
|
|
980
980
|
var $ret = new ColumnWidth();
|
|
@@ -1624,23 +1624,23 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
PropertyEditor.prototype.dr = function (a, b, c) {
|
|
1626
1626
|
if (this.l != null) {
|
|
1627
|
-
this.l.
|
|
1627
|
+
this.l.u5(a, b, c);
|
|
1628
1628
|
}
|
|
1629
1629
|
};
|
|
1630
1630
|
PropertyEditor.prototype.dn = function () {
|
|
1631
1631
|
if (this.l != null) {
|
|
1632
|
-
this.l.
|
|
1632
|
+
this.l.uz();
|
|
1633
1633
|
}
|
|
1634
1634
|
};
|
|
1635
1635
|
PropertyEditor.prototype.dp = function (a, b) {
|
|
1636
1636
|
if (this.l != null) {
|
|
1637
|
-
this.l.
|
|
1637
|
+
this.l.u1(a, b);
|
|
1638
1638
|
}
|
|
1639
1639
|
;
|
|
1640
1640
|
};
|
|
1641
1641
|
PropertyEditor.prototype.dq = function (a, b) {
|
|
1642
1642
|
if (this.l != null) {
|
|
1643
|
-
this.l.
|
|
1643
|
+
this.l.u2(a, b);
|
|
1644
1644
|
}
|
|
1645
1645
|
;
|
|
1646
1646
|
};
|
|
@@ -35,7 +35,7 @@ var TemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
35
35
|
var e = a.ca * (1 - d);
|
|
36
36
|
this.e.ci.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
|
-
c.
|
|
38
|
+
c.lm(a, this.e.ci);
|
|
39
39
|
};
|
|
40
40
|
TemplateCellPresenter.$t = markType(TemplateCellPresenter, 'TemplateCellPresenter', CellPresenterBase.$);
|
|
41
41
|
return TemplateCellPresenter;
|
|
@@ -22,19 +22,19 @@ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
22
22
|
TemplateHeader.prototype.l = function (a) {
|
|
23
23
|
return new TemplateHeaderCellModel();
|
|
24
24
|
};
|
|
25
|
-
TemplateHeader.prototype.
|
|
25
|
+
TemplateHeader.prototype.cn = function (a, b, c) {
|
|
26
26
|
var d = "template-header-" + a.a5.toString();
|
|
27
27
|
return d;
|
|
28
28
|
};
|
|
29
|
-
TemplateHeader.prototype.
|
|
30
|
-
_super.prototype.
|
|
29
|
+
TemplateHeader.prototype.cz = function (a, b, c, d) {
|
|
30
|
+
_super.prototype.cz.call(this, a, b, c, d);
|
|
31
31
|
var e = a;
|
|
32
|
-
var f = b.
|
|
33
|
-
e.ll = f.
|
|
34
|
-
e.n = f.
|
|
35
|
-
e.lo = f.
|
|
32
|
+
var f = b.a7(a.l);
|
|
33
|
+
e.ll = f.im;
|
|
34
|
+
e.n = f.ff;
|
|
35
|
+
e.lo = f.gt;
|
|
36
36
|
};
|
|
37
|
-
TemplateHeader.prototype.
|
|
37
|
+
TemplateHeader.prototype.fe = function (a, b) {
|
|
38
38
|
if (this.cellUpdating != null) {
|
|
39
39
|
this.cellUpdating(this, ((function () {
|
|
40
40
|
var $ret = new TemplateHeaderCellUpdatingEventArgs();
|
|
@@ -36,7 +36,7 @@ var TemplateHeaderCellPresenter = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
36
36
|
this.e.ci.element.setRawStyleProperty("opacity", e.toString());
|
|
37
37
|
}
|
|
38
38
|
var f = a;
|
|
39
|
-
c.
|
|
39
|
+
c.fe(f, this.e.ci);
|
|
40
40
|
};
|
|
41
41
|
TemplateHeaderCellPresenter.$t = markType(TemplateHeaderCellPresenter, 'TemplateHeaderCellPresenter', CellPresenterBase.$);
|
|
42
42
|
return TemplateHeaderCellPresenter;
|
|
@@ -19,13 +19,13 @@ var TemplateSectionHeader = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
19
19
|
_this.cellUpdating = null;
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
|
-
TemplateSectionHeader.prototype.
|
|
22
|
+
TemplateSectionHeader.prototype.cn = function (a, b, c) {
|
|
23
23
|
return "templateSectionHeader";
|
|
24
24
|
};
|
|
25
25
|
TemplateSectionHeader.prototype.l = function (a) {
|
|
26
26
|
return new TemplateSectionHeaderCellModel();
|
|
27
27
|
};
|
|
28
|
-
TemplateSectionHeader.prototype.
|
|
28
|
+
TemplateSectionHeader.prototype.fh = function (a, b) {
|
|
29
29
|
if (this.cellUpdating != null) {
|
|
30
30
|
this.cellUpdating(this, ((function () {
|
|
31
31
|
var $ret = new TemplateSectionHeaderCellUpdatingEventArgs();
|
|
@@ -16,6 +16,7 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
tslib_1.__extends(TextEditorView, _super);
|
|
17
17
|
function TextEditorView(a, b, c) {
|
|
18
18
|
var _this = _super.call(this, a, c) || this;
|
|
19
|
+
_this.x = null;
|
|
19
20
|
_this.w = null;
|
|
20
21
|
_this.v = null;
|
|
21
22
|
var d = a.createElement("div");
|
|
@@ -46,34 +47,39 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
46
47
|
}
|
|
47
48
|
TextEditorView.prototype.setFont = function (a) {
|
|
48
49
|
if (this.v != null) {
|
|
49
|
-
this.v.
|
|
50
|
+
this.v.ad = a;
|
|
50
51
|
}
|
|
51
52
|
};
|
|
52
53
|
TextEditorView.prototype.attachEvents = function () {
|
|
53
54
|
if (this.v != null) {
|
|
54
55
|
var a = this.v;
|
|
55
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
56
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.z));
|
|
56
57
|
var b = this.v;
|
|
57
58
|
b.keyDown = delegateCombine(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
58
59
|
var c = this.v;
|
|
59
|
-
c.
|
|
60
|
+
c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.y));
|
|
60
61
|
var d = this.v;
|
|
61
|
-
d.
|
|
62
|
+
d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.aa));
|
|
63
|
+
var e = this.v;
|
|
64
|
+
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ab));
|
|
62
65
|
}
|
|
63
66
|
};
|
|
64
67
|
TextEditorView.prototype.detachEvents = function () {
|
|
65
68
|
if (this.v != null) {
|
|
66
69
|
var a = this.v;
|
|
67
|
-
a.changing = delegateRemove(a.changing, runOn(this, this.
|
|
70
|
+
a.changing = delegateRemove(a.changing, runOn(this, this.z));
|
|
68
71
|
var b = this.v;
|
|
69
72
|
b.keyDown = delegateRemove(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
70
73
|
var c = this.v;
|
|
71
|
-
c.
|
|
74
|
+
c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.y));
|
|
72
75
|
var d = this.v;
|
|
73
|
-
d.
|
|
76
|
+
d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.aa));
|
|
77
|
+
var e = this.v;
|
|
78
|
+
e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.ab));
|
|
74
79
|
}
|
|
75
80
|
};
|
|
76
81
|
TextEditorView.prototype.onTargetChanged = function () {
|
|
82
|
+
this.x = null;
|
|
77
83
|
if (this.v != null) {
|
|
78
84
|
this.focus();
|
|
79
85
|
}
|
|
@@ -106,6 +112,7 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
106
112
|
TextEditorView.prototype.u = function () {
|
|
107
113
|
if (this.v != null) {
|
|
108
114
|
if (this.value != null) {
|
|
115
|
+
this.x = null;
|
|
109
116
|
this.v.cj = null;
|
|
110
117
|
this.v.cj = this.value.toString();
|
|
111
118
|
if (this.focusOnValueChanged) {
|
|
@@ -125,14 +132,25 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
125
132
|
this.v.disabled = !this.isEnabled;
|
|
126
133
|
}
|
|
127
134
|
};
|
|
128
|
-
TextEditorView.prototype.
|
|
135
|
+
TextEditorView.prototype.z = function (a, b) {
|
|
129
136
|
this.o();
|
|
137
|
+
if (b.isCompositionInProgress) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (this.x != null && this.x != b.value) {
|
|
141
|
+
this.x = null;
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
130
144
|
this.p(b.value, false);
|
|
131
145
|
};
|
|
132
|
-
TextEditorView.prototype.
|
|
146
|
+
TextEditorView.prototype.y = function (a, b) {
|
|
147
|
+
this.x = b.value;
|
|
148
|
+
this.p(b.value, false);
|
|
149
|
+
};
|
|
150
|
+
TextEditorView.prototype.ab = function (a, b) {
|
|
133
151
|
this.n();
|
|
134
152
|
};
|
|
135
|
-
TextEditorView.prototype.
|
|
153
|
+
TextEditorView.prototype.aa = function (a, b) {
|
|
136
154
|
this.m();
|
|
137
155
|
};
|
|
138
156
|
TextEditorView.prototype.getEditorValue = function () {
|
|
@@ -7,6 +7,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import * as tslib_1 from "tslib";
|
|
8
8
|
import { GridCellBase } from "./GridCellBase";
|
|
9
9
|
import { markType } from "igniteui-webcomponents-core";
|
|
10
|
+
import { intDivide } from "igniteui-webcomponents-core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -14,20 +15,57 @@ var VerticalSeparatorCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
14
15
|
tslib_1.__extends(VerticalSeparatorCell, _super);
|
|
15
16
|
function VerticalSeparatorCell(a) {
|
|
16
17
|
var _this = _super.call(this, a) || this;
|
|
17
|
-
_this.
|
|
18
|
+
_this.ci = null;
|
|
19
|
+
_this.ch = null;
|
|
20
|
+
_this.cj = 0;
|
|
21
|
+
_this.ck = 0;
|
|
22
|
+
_this.ci = a.createElement("div");
|
|
23
|
+
_this.ci.setRawStyleProperty("position", "absolute");
|
|
24
|
+
_this.ci.setRawStyleProperty("pointer-events", "none");
|
|
25
|
+
_this.ae.append(_this.ci);
|
|
18
26
|
return _this;
|
|
19
27
|
}
|
|
20
28
|
VerticalSeparatorCell.prototype.by = function (a, b, c, d, e) {
|
|
21
29
|
if (a == null) {
|
|
22
|
-
this.
|
|
30
|
+
if (this.ch != null) {
|
|
31
|
+
this.ch.remove();
|
|
32
|
+
this.ch = null;
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
else {
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
this.cl();
|
|
37
|
+
this.cj = b;
|
|
38
|
+
this.ck = d;
|
|
39
|
+
}
|
|
40
|
+
this.cm();
|
|
41
|
+
};
|
|
42
|
+
VerticalSeparatorCell.prototype.b6 = function (a, b) {
|
|
43
|
+
_super.prototype.b6.call(this, a, b);
|
|
44
|
+
this.cm();
|
|
45
|
+
};
|
|
46
|
+
VerticalSeparatorCell.prototype.bx = function (a) {
|
|
47
|
+
this.ci.setRawStyleProperty("background-color", a.colorString);
|
|
48
|
+
};
|
|
49
|
+
VerticalSeparatorCell.prototype.cm = function () {
|
|
50
|
+
if (this.ch != null) {
|
|
51
|
+
this.ci.setRawStyleProperty("height", "100%");
|
|
52
|
+
this.ci.setRawStyleProperty("width", this.ae.width() - (this.cj + this.ck) + "px");
|
|
53
|
+
this.ci.setRawStyleProperty("left", intDivide(this.ae.width(), 2) + "px");
|
|
54
|
+
this.ch.setRawStyleProperty("width", "100%");
|
|
55
|
+
this.ch.setRawStyleProperty("height", "100%");
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.ci.setRawStyleProperty("height", "100%");
|
|
59
|
+
this.ci.setRawStyleProperty("width", this.ae.width() + "px");
|
|
60
|
+
this.ci.setRawStyleProperty("left", "0px");
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
VerticalSeparatorCell.prototype.cl = function () {
|
|
64
|
+
if (this.ch == null) {
|
|
65
|
+
this.ch = this.ab.createElement("div");
|
|
66
|
+
this.ch.setRawStyleProperty("position", "absolute");
|
|
67
|
+
this.ch.setRawStyleProperty("background-color", "rgba(0,0,0,0)");
|
|
68
|
+
this.ae.getNativeElement().insertBefore(this.ch.getNativeElement(), this.ci.getNativeElement());
|
|
31
69
|
}
|
|
32
70
|
};
|
|
33
71
|
VerticalSeparatorCell.$t = markType(VerticalSeparatorCell, 'VerticalSeparatorCell', GridCellBase.$);
|