igniteui-webcomponents-data-grids 7.1.0-beta.1 → 7.1.0-beta.3
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 +11002 -9831
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +10 -10
- package/esm2015/lib/CanvasCellPresenterBase.js +12 -12
- package/esm2015/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +2 -2
- package/esm2015/lib/CanvasImageCellPresenter.js +9 -9
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm2015/lib/CellPath.js +79 -69
- package/esm2015/lib/CellPresenterBase.js +46 -46
- package/esm2015/lib/CheckboxListBridge.js +12 -0
- package/esm2015/lib/CheckboxListView_combined.js +329 -283
- package/esm2015/lib/ColumnChooserView_combined.js +11 -11
- package/esm2015/lib/ColumnFilterCondition_combined.js +7043 -6712
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +16 -16
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/DraggerView.js +1 -7
- package/esm2015/lib/EditorCell.js +290 -290
- package/esm2015/lib/EditorCellPresenter.js +27 -27
- package/esm2015/lib/FilterCell.js +267 -267
- package/esm2015/lib/FilterCellPresenter.js +17 -17
- package/esm2015/lib/GridCellBase.js +210 -202
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +13 -13
- 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/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +238 -187
- package/esm2015/lib/ISummaryChooserView_combined.js +4 -4
- package/esm2015/lib/ImageCell.js +58 -58
- package/esm2015/lib/ImageCellPresenter.js +17 -17
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +19 -19
- package/esm2015/lib/SectionHeaderCell.js +30 -20
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +44 -44
- package/esm2015/lib/SummaryCellPresenter.js +9 -9
- package/esm2015/lib/TemplateCell.js +15 -15
- package/esm2015/lib/TemplateCellPresenter.js +6 -6
- package/esm2015/lib/TemplateHeader.js +8 -8
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +31 -30
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +181 -175
- package/esm2015/lib/TextHeaderCellPresenter.js +66 -57
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igc-cell-info.js +195 -186
- package/esm2015/lib/igc-checkbox-list-component.js +42 -22
- 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-binding-event-args.js +3 -0
- package/esm2015/lib/igc-data-grid-column-component.js +336 -276
- package/esm2015/lib/igc-data-grid-component.js +220 -32
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +67 -37
- package/esm2015/lib/igc-data-grid-toolbar-component.js +40 -8
- 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 +64 -64
- 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-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-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igc-numeric-cell-info.js +28 -28
- package/esm2015/lib/igc-numeric-column-component.js +38 -38
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-component.js +36 -36
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-summary-row-component.js +30 -30
- package/esm2015/lib/igc-summary-row-root-module.js +2 -0
- package/esm2015/lib/igc-summary-row-section-module.js +2 -0
- 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 +67 -40
- package/esm5/lib/AccessibilityRow.js +10 -10
- package/esm5/lib/CanvasCellPresenterBase.js +12 -12
- package/esm5/lib/CanvasContentCellModelHelper.js +12 -12
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +2 -2
- package/esm5/lib/CanvasImageCellPresenter.js +9 -9
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +5 -5
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +11 -11
- package/esm5/lib/CellPath.js +79 -65
- package/esm5/lib/CellPresenterBase.js +46 -46
- package/esm5/lib/CheckboxListBridge.js +12 -0
- package/esm5/lib/CheckboxListView_combined.js +332 -278
- package/esm5/lib/ColumnChooserView_combined.js +11 -11
- package/esm5/lib/ColumnFilterCondition_combined.js +6860 -6456
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +16 -16
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +17 -17
- package/esm5/lib/DataGridScrollerKeyboardListener.js +2 -2
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/DraggerView.js +1 -7
- package/esm5/lib/EditorCell.js +276 -276
- package/esm5/lib/EditorCellPresenter.js +27 -27
- package/esm5/lib/FilterCell.js +257 -257
- package/esm5/lib/FilterCellPresenter.js +17 -17
- package/esm5/lib/GridCellBase.js +205 -193
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +13 -13
- 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/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +240 -177
- package/esm5/lib/ISummaryChooserView_combined.js +4 -4
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +17 -17
- package/esm5/lib/MultiColumnComboBoxView_combined.js +9 -9
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +19 -19
- package/esm5/lib/SectionHeaderCell.js +30 -20
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +44 -44
- package/esm5/lib/SummaryCellPresenter.js +9 -9
- package/esm5/lib/TemplateCell.js +15 -15
- package/esm5/lib/TemplateCellPresenter.js +6 -6
- package/esm5/lib/TemplateHeader.js +8 -8
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +31 -30
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +185 -179
- package/esm5/lib/TextHeaderCellPresenter.js +66 -57
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igc-cell-info.js +207 -186
- package/esm5/lib/igc-checkbox-list-component.js +50 -22
- 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-binding-event-args.js +3 -0
- package/esm5/lib/igc-data-grid-column-component.js +360 -276
- package/esm5/lib/igc-data-grid-component.js +240 -32
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +79 -37
- package/esm5/lib/igc-data-grid-toolbar-component.js +40 -8
- 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 +64 -64
- 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-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-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igc-numeric-cell-info.js +28 -28
- package/esm5/lib/igc-numeric-column-component.js +38 -38
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-component.js +36 -36
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-summary-row-component.js +29 -29
- package/esm5/lib/igc-summary-row-root-module.js +2 -0
- package/esm5/lib/igc-summary-row-section-module.js +2 -0
- 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 +79 -40
- package/fesm2015/igniteui-webcomponents-data-grids.js +10931 -9949
- package/fesm5/igniteui-webcomponents-data-grids.js +11002 -9831
- package/lib/CellPath.d.ts +21 -20
- package/lib/CheckboxListExternal.d.ts +3 -0
- package/lib/CheckboxListView_combined.d.ts +77 -71
- package/lib/ColumnFilterCondition_combined.d.ts +1759 -1699
- package/lib/EditorCell.d.ts +63 -63
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +82 -80
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +61 -52
- package/lib/ImageCell.d.ts +15 -15
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +6 -4
- package/lib/SummaryCell.d.ts +10 -10
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +7 -7
- package/lib/TextHeaderCell.d.ts +30 -30
- package/lib/VerticalSeparatorCell.d.ts +8 -8
- package/lib/igc-cell-info.d.ts +3 -0
- package/lib/igc-checkbox-list-component.d.ts +10 -0
- package/lib/igc-data-grid-column-component.d.ts +30 -0
- package/lib/igc-data-grid-component.d.ts +27 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +15 -0
- package/lib/igc-summary-row-component.d.ts +2 -2
- package/lib/igc-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
|
@@ -376,7 +376,7 @@ let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
376
376
|
if (d.iD == a) {
|
|
377
377
|
d.isSelected = b;
|
|
378
378
|
if (this.e != null) {
|
|
379
|
-
this.e.
|
|
379
|
+
this.e.dy(c, d, d);
|
|
380
380
|
}
|
|
381
381
|
break;
|
|
382
382
|
}
|
|
@@ -388,7 +388,7 @@ let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
388
388
|
c.label = b;
|
|
389
389
|
this.q.add(c);
|
|
390
390
|
if (this.e != null) {
|
|
391
|
-
this.e.
|
|
391
|
+
this.e.dv(this.q.count - 1, c);
|
|
392
392
|
}
|
|
393
393
|
this.c.onItemInserted();
|
|
394
394
|
}
|
|
@@ -398,7 +398,7 @@ let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
398
398
|
if (c.iD == a) {
|
|
399
399
|
this.q.removeAt(b);
|
|
400
400
|
if (this.e != null) {
|
|
401
|
-
this.e.
|
|
401
|
+
this.e.dx(b, c);
|
|
402
402
|
}
|
|
403
403
|
break;
|
|
404
404
|
}
|
|
@@ -411,7 +411,7 @@ let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
411
411
|
if (d.iD == a) {
|
|
412
412
|
d.label = b;
|
|
413
413
|
if (this.e != null) {
|
|
414
|
-
this.e.
|
|
414
|
+
this.e.dy(c, d, d);
|
|
415
415
|
}
|
|
416
416
|
break;
|
|
417
417
|
}
|
package/esm2015/lib/ImageCell.js
CHANGED
|
@@ -9,105 +9,105 @@ import { Base, runOn, markType } from "igniteui-webcomponents-core";
|
|
|
9
9
|
import { stringIsNullOrEmpty } from "igniteui-webcomponents-core";
|
|
10
10
|
let ImageCell = /*@__PURE__*/ (() => {
|
|
11
11
|
class ImageCell extends GridCellBase {
|
|
12
|
-
get
|
|
13
|
-
return this.
|
|
12
|
+
get d8() {
|
|
13
|
+
return this.d7;
|
|
14
14
|
}
|
|
15
|
-
get
|
|
16
|
-
return this.
|
|
15
|
+
get d5() {
|
|
16
|
+
return this.d4;
|
|
17
17
|
}
|
|
18
|
-
set
|
|
19
|
-
this.
|
|
18
|
+
set d5(a) {
|
|
19
|
+
this.d4 = a;
|
|
20
20
|
}
|
|
21
21
|
constructor(a) {
|
|
22
22
|
super(a);
|
|
23
|
-
this.d5 = null;
|
|
24
|
-
this.dz = 1;
|
|
25
|
-
this.d0 = 3;
|
|
26
23
|
this.d7 = null;
|
|
27
|
-
this.d1 =
|
|
28
|
-
this.d2 =
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
24
|
+
this.d1 = 1;
|
|
25
|
+
this.d2 = 3;
|
|
26
|
+
this.d9 = null;
|
|
27
|
+
this.d3 = false;
|
|
28
|
+
this.d4 = 1;
|
|
29
|
+
this.d6 = null;
|
|
30
|
+
this.d7 = a.createElement("img");
|
|
31
|
+
this.d7.listen("load", runOn(this, this.ec));
|
|
32
|
+
this.d6 = a.createElement("div");
|
|
33
|
+
this.d6.setRawStyleProperty("background-size", "contain");
|
|
34
|
+
this.d6.setRawStyleProperty("background-repeat", "no-repeat");
|
|
35
|
+
this.d6.setRawStyleProperty("background-position", "center");
|
|
36
|
+
this.d6.setRawStyleProperty("width", "100%");
|
|
37
|
+
this.d6.setRawStyleProperty("height", "100%");
|
|
38
38
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
39
39
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
40
|
-
this.ar.append(this.
|
|
40
|
+
this.ar.append(this.d6);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
this.
|
|
44
|
-
if (!stringIsNullOrEmpty(this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
42
|
+
ec(a) {
|
|
43
|
+
this.d3 = false;
|
|
44
|
+
if (!stringIsNullOrEmpty(this.d9)) {
|
|
45
|
+
this.d6.setRawStyleProperty("opacity", "1");
|
|
46
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
if (a == this.
|
|
49
|
+
ed(a, b) {
|
|
50
|
+
if (a == this.d9) {
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
53
|
+
this.ea();
|
|
54
|
+
this.d6.setRawStyleProperty("opacity", "0");
|
|
55
55
|
if (a == null || a.length == 0) {
|
|
56
|
-
this.
|
|
56
|
+
this.eb(this.d7);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
-
if (Base.equalsStatic(a, this.
|
|
59
|
+
if (Base.equalsStatic(a, this.d9)) {
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
this.
|
|
63
|
-
let img_ = this.
|
|
62
|
+
this.eh(a, b);
|
|
63
|
+
let img_ = this.d7.getNativeElement();
|
|
64
64
|
if (img_ != null && (img_.complete)) {
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
65
|
+
this.d3 = false;
|
|
66
|
+
this.d7.setRawStyleProperty("opacity", "1");
|
|
67
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
eb(a) {
|
|
71
71
|
a.setAttribute("src", "");
|
|
72
|
-
this.
|
|
72
|
+
this.d6.setRawStyleProperty("background-image", "");
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
eg(a) {
|
|
75
75
|
switch (a) {
|
|
76
76
|
case 1:
|
|
77
|
-
this.
|
|
77
|
+
this.d6.setRawStyleProperty("background-size", "100% 100%");
|
|
78
78
|
break;
|
|
79
79
|
case 2:
|
|
80
|
-
this.
|
|
80
|
+
this.d6.setRawStyleProperty("background-size", "auto");
|
|
81
81
|
break;
|
|
82
82
|
case 0:
|
|
83
|
-
this.
|
|
83
|
+
this.d6.setRawStyleProperty("background-size", "contain");
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
87
|
+
eh(a, b) {
|
|
88
|
+
this.d3 = true;
|
|
89
|
+
this.d9 = a;
|
|
90
|
+
this.d8.setAttribute("src", a);
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
if (this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
92
|
+
ea() {
|
|
93
|
+
if (this.d3) {
|
|
94
|
+
this.eb(this.d7);
|
|
95
|
+
this.d9 = "";
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
this.
|
|
98
|
+
ee(a) {
|
|
99
|
+
this.d1 = a;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
this.
|
|
101
|
+
ef(a) {
|
|
102
|
+
this.d2 = a;
|
|
103
103
|
}
|
|
104
104
|
get_ae() {
|
|
105
105
|
return true;
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
super.
|
|
107
|
+
cn(a, b, c) {
|
|
108
|
+
super.cn(a, b, c);
|
|
109
109
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
110
|
-
this.
|
|
110
|
+
this.d6.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -21,29 +21,29 @@ let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
if (a.a7) {
|
|
24
|
-
if (a.bc(CellModel.
|
|
25
|
-
let c = Math.min(1, Math.max(0, a.
|
|
26
|
-
let d = a.
|
|
27
|
-
this.d.
|
|
24
|
+
if (a.bc(CellModel.fs) || a.bc(CellModel.ia)) {
|
|
25
|
+
let c = Math.min(1, Math.max(0, a.da));
|
|
26
|
+
let d = a.cv * (1 - c);
|
|
27
|
+
this.d.d5 = d;
|
|
28
28
|
}
|
|
29
|
-
if (b.bc(ImageCellModel.
|
|
30
|
-
this.e(b.
|
|
29
|
+
if (b.bc(ImageCellModel.og) || b.bc(ImageCellModel.oh)) {
|
|
30
|
+
this.e(b.ok, b.od);
|
|
31
31
|
}
|
|
32
|
-
if (b.bc(ImageCellModel.
|
|
33
|
-
this.f(b.
|
|
32
|
+
if (b.bc(ImageCellModel.oi) || b.bc(ImageCellModel.gf) || b.bc(ImageCellModel.h9)) {
|
|
33
|
+
this.f(b.of, b.g, b.i);
|
|
34
34
|
}
|
|
35
|
-
if (b.bc(ImageCellModel.
|
|
35
|
+
if (b.bc(ImageCellModel.hq)) {
|
|
36
36
|
if (a.u == 1) {
|
|
37
|
-
this.d.
|
|
37
|
+
this.d.ea();
|
|
38
38
|
}
|
|
39
39
|
else if (a.u == 2) {
|
|
40
|
-
this.e(b.
|
|
40
|
+
this.e(b.ok, b.od);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
f(a, b, c) {
|
|
46
|
-
this.d.
|
|
46
|
+
this.d.eg(a);
|
|
47
47
|
}
|
|
48
48
|
e(a, b) {
|
|
49
49
|
let c = a.toLowerCase();
|
|
@@ -51,35 +51,35 @@ let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
51
51
|
b = 4;
|
|
52
52
|
}
|
|
53
53
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
54
|
-
this.d.
|
|
54
|
+
this.d.ed(a, 4);
|
|
55
55
|
}
|
|
56
56
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
57
57
|
let d = a;
|
|
58
58
|
if (stringStartsWith(c, "asset")) {
|
|
59
59
|
d = a.substr(8);
|
|
60
60
|
}
|
|
61
|
-
this.d.
|
|
61
|
+
this.d.ed(d, 2);
|
|
62
62
|
}
|
|
63
63
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
64
64
|
let e = a;
|
|
65
65
|
if (stringStartsWith(c, "drawable")) {
|
|
66
66
|
e = a.substr(11);
|
|
67
67
|
}
|
|
68
|
-
this.d.
|
|
68
|
+
this.d.ed(e, 1);
|
|
69
69
|
}
|
|
70
70
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
71
71
|
let f = a;
|
|
72
72
|
if (stringStartsWith(c, "nativeresource")) {
|
|
73
73
|
f = a.substr(17);
|
|
74
74
|
}
|
|
75
|
-
this.d.
|
|
75
|
+
this.d.ed(f, 1);
|
|
76
76
|
}
|
|
77
77
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
78
78
|
let g = a;
|
|
79
79
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
80
80
|
g = a.substr(19);
|
|
81
81
|
}
|
|
82
|
-
this.d.
|
|
82
|
+
this.d.ed(g, 3);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -119,8 +119,8 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
this.p = false;
|
|
122
|
-
if (b.
|
|
123
|
-
b.
|
|
122
|
+
if (b.g6 != a) {
|
|
123
|
+
b.g6 = a;
|
|
124
124
|
this.p = true;
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -139,9 +139,9 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
139
139
|
this.co();
|
|
140
140
|
let b = this.g.p();
|
|
141
141
|
if (null != b) {
|
|
142
|
-
let c = b.
|
|
142
|
+
let c = b.g6;
|
|
143
143
|
if (null != c) {
|
|
144
|
-
b.
|
|
144
|
+
b.g6 = null;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -607,7 +607,7 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
607
607
|
}
|
|
608
608
|
this.w = true;
|
|
609
609
|
if (stringIsNullOrEmpty(this.au)) {
|
|
610
|
-
if (null != a.
|
|
610
|
+
if (null != a.g6) {
|
|
611
611
|
this.aw(null);
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
@@ -677,7 +677,7 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
677
677
|
}
|
|
678
678
|
let f = this.g;
|
|
679
679
|
let g = this.g.p();
|
|
680
|
-
e = g.
|
|
680
|
+
e = g.nx();
|
|
681
681
|
}
|
|
682
682
|
d.d = e;
|
|
683
683
|
d.b = a;
|
|
@@ -804,9 +804,9 @@ let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
804
804
|
this.au = null;
|
|
805
805
|
let a = this.g.p();
|
|
806
806
|
if (null != a) {
|
|
807
|
-
let b = a.
|
|
807
|
+
let b = a.g6;
|
|
808
808
|
if (null != b) {
|
|
809
|
-
a.
|
|
809
|
+
a.g6 = null;
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
812
812
|
this.cw();
|
|
@@ -2398,7 +2398,7 @@ let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2398
2398
|
return c._inner[0];
|
|
2399
2399
|
}
|
|
2400
2400
|
for (let d of fromEnum(c)) {
|
|
2401
|
-
if (0 == StringComparer.b.compare(d.
|
|
2401
|
+
if (0 == StringComparer.b.compare(d.ns, a)) {
|
|
2402
2402
|
return d;
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
@@ -10,18 +10,18 @@ let NumericCell = /*@__PURE__*/ (() => {
|
|
|
10
10
|
class NumericCell extends TextCell {
|
|
11
11
|
constructor(a) {
|
|
12
12
|
super(a);
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
13
|
+
this.c5(this.d2, 2);
|
|
14
|
+
this.de(this.d2, 1);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
super.
|
|
16
|
+
cn(a, b, c) {
|
|
17
|
+
super.cn(a, b, c);
|
|
18
18
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
19
|
-
this.
|
|
19
|
+
this.d2.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
super.
|
|
24
|
-
this.
|
|
22
|
+
cb() {
|
|
23
|
+
super.cb();
|
|
24
|
+
this.dk(2, 1);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
NumericCell.$t = /*@__PURE__*/ markType(NumericCell, 'NumericCell', TextCell.$);
|
|
@@ -21,20 +21,20 @@ let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
21
21
|
super.b(a);
|
|
22
22
|
let b = a;
|
|
23
23
|
if (a.a7) {
|
|
24
|
-
if (a.bc(NumericCellModel.
|
|
25
|
-
b.
|
|
26
|
-
this.d.
|
|
24
|
+
if (a.bc(NumericCellModel.o4) || a.bc(NumericCellModel.or) || a.bc(NumericCellModel.h8) || b.oj()) {
|
|
25
|
+
b.k4 = this.e(b);
|
|
26
|
+
this.d.db(this.d.d2, b.k4);
|
|
27
27
|
}
|
|
28
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
28
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
e(a) {
|
|
32
|
-
if (a.
|
|
33
|
-
return a.
|
|
32
|
+
if (a.l1 != null) {
|
|
33
|
+
return a.l1;
|
|
34
34
|
}
|
|
35
|
-
if (a.
|
|
36
|
-
let val_ = a.
|
|
37
|
-
let override_ = a.
|
|
35
|
+
if (a.pa != null) {
|
|
36
|
+
let val_ = a.on;
|
|
37
|
+
let override_ = a.pa;
|
|
38
38
|
return (override_.format(val_));
|
|
39
39
|
}
|
|
40
40
|
return NumericCellFormatter.c(a);
|
|
@@ -736,15 +736,15 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
736
736
|
}
|
|
737
737
|
else {
|
|
738
738
|
let a = new TextColumn();
|
|
739
|
-
a.
|
|
740
|
-
a.
|
|
741
|
-
a.
|
|
739
|
+
a.ln = 10;
|
|
740
|
+
a.lo = 5;
|
|
741
|
+
a.ns = "PropertyPath";
|
|
742
742
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
743
743
|
this.l.columns.add(a);
|
|
744
744
|
let b = new TemplateColumn();
|
|
745
|
-
b.
|
|
746
|
-
b.lm = 5;
|
|
745
|
+
b.ns = "ValueType";
|
|
747
746
|
b.ln = 5;
|
|
747
|
+
b.lo = 5;
|
|
748
748
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
749
749
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
750
750
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -824,8 +824,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
824
824
|
let r = this.cc(l);
|
|
825
825
|
if (c.count <= g) {
|
|
826
826
|
let s = new TextColumn();
|
|
827
|
-
s.
|
|
828
|
-
s.
|
|
827
|
+
s.ln = 10;
|
|
828
|
+
s.lo = 5;
|
|
829
829
|
s.width = ((() => {
|
|
830
830
|
let $ret = new ColumnWidth();
|
|
831
831
|
$ret.c = false;
|
|
@@ -833,8 +833,8 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
833
833
|
return $ret;
|
|
834
834
|
})());
|
|
835
835
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
836
|
-
s.
|
|
837
|
-
s.
|
|
836
|
+
s.ok = "PropertyName_" + k;
|
|
837
|
+
s.ns = "PropertyName";
|
|
838
838
|
c.add(s);
|
|
839
839
|
this.au.item(s, c.count - 1);
|
|
840
840
|
g++;
|
|
@@ -871,10 +871,10 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
871
871
|
}
|
|
872
872
|
if (c.count <= g) {
|
|
873
873
|
let v = new TemplateColumn();
|
|
874
|
-
v.
|
|
875
|
-
v.
|
|
876
|
-
v.lm = 5;
|
|
874
|
+
v.ok = "ValueType_" + k;
|
|
875
|
+
v.ns = "ValueType";
|
|
877
876
|
v.ln = 5;
|
|
877
|
+
v.lo = 5;
|
|
878
878
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
879
879
|
v.width = ((() => {
|
|
880
880
|
let $ret = new ColumnWidth();
|
|
@@ -945,12 +945,12 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
945
945
|
}
|
|
946
946
|
cu(a, b) {
|
|
947
947
|
let c = a;
|
|
948
|
-
let d = this.s(c, b.cellInfo.
|
|
948
|
+
let d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
949
949
|
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.w : 0);
|
|
950
950
|
}
|
|
951
951
|
dp(a, b) {
|
|
952
952
|
let c = a;
|
|
953
|
-
let d = this.s(c, b.cellInfo.
|
|
953
|
+
let d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
954
954
|
if (d == null) {
|
|
955
955
|
b.resolvedValue = null;
|
|
956
956
|
return;
|
|
@@ -1067,7 +1067,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
ct(a, b) {
|
|
1069
1069
|
let c = a;
|
|
1070
|
-
let d = this.s(c, b.cellInfo.
|
|
1070
|
+
let d = this.s(c, b.cellInfo.ft, b.cellInfo.im);
|
|
1071
1071
|
let e = d != null ? d.w : 0;
|
|
1072
1072
|
switch (e) {
|
|
1073
1073
|
case 10:
|
|
@@ -1164,7 +1164,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1164
1164
|
if (c.t != 3) {
|
|
1165
1165
|
c.t = 3;
|
|
1166
1166
|
}
|
|
1167
|
-
let e = this.s(a, b.cellInfo.
|
|
1167
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1168
1168
|
let f = c.inputs._inner[0];
|
|
1169
1169
|
f.bh = e;
|
|
1170
1170
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1178,7 +1178,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1178
1178
|
if (c.s != 3) {
|
|
1179
1179
|
c.s = 3;
|
|
1180
1180
|
}
|
|
1181
|
-
let e = this.s(a, b.cellInfo.
|
|
1181
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1182
1182
|
c.ee = e;
|
|
1183
1183
|
let f = e.ar;
|
|
1184
1184
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1195,7 +1195,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1195
1195
|
if (c.density != 3) {
|
|
1196
1196
|
c.density = 3;
|
|
1197
1197
|
}
|
|
1198
|
-
let e = this.s(a, b.cellInfo.
|
|
1198
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1199
1199
|
if (c.dd != e) {
|
|
1200
1200
|
if (!d) {
|
|
1201
1201
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1459,7 +1459,7 @@ let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1459
1459
|
if (!c.y) {
|
|
1460
1460
|
c.y = true;
|
|
1461
1461
|
}
|
|
1462
|
-
let e = this.s(a, b.cellInfo.
|
|
1462
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1463
1463
|
let f = e.ar;
|
|
1464
1464
|
if (f == null) {
|
|
1465
1465
|
f = false;
|
|
@@ -8,46 +8,56 @@ import { GridCellBase } from "./GridCellBase";
|
|
|
8
8
|
import { markType } from "igniteui-webcomponents-core";
|
|
9
9
|
let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
10
10
|
class SectionHeaderCell extends GridCellBase {
|
|
11
|
-
get
|
|
12
|
-
return this.
|
|
11
|
+
get d2() {
|
|
12
|
+
return this.d1;
|
|
13
13
|
}
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
16
|
+
this.d1 = null;
|
|
17
|
+
this.d3 = -1;
|
|
18
|
+
this.d1 = a.createElement("span");
|
|
19
|
+
this.d1.setRawStyleProperty("display", "inline-block");
|
|
20
|
+
this.d1.setRawStyleProperty("line-height", "normal");
|
|
21
|
+
this.d1.setRawStyleProperty("vertical-align", "middle");
|
|
22
|
+
this.d1.setRawStyleProperty("overflow", "hidden");
|
|
23
|
+
this.d1.setRawStyleProperty("white-space", "nowrap");
|
|
24
|
+
this.d1.setRawStyleProperty("text-overflow", "ellipsis");
|
|
24
25
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
25
26
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
26
27
|
this.ar.setRawStyleProperty("overflow", "hidden");
|
|
27
28
|
this.ar.setRawStyleProperty("white-space", "nowrap");
|
|
28
29
|
this.ar.setRawStyleProperty("text-overflow", "ellipsis");
|
|
29
|
-
this.ar.append(this.
|
|
30
|
+
this.ar.append(this.d1);
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
super.
|
|
33
|
-
if (a == this.
|
|
34
|
-
this.
|
|
32
|
+
c3(a, b) {
|
|
33
|
+
super.c3(a, b);
|
|
34
|
+
if (a == this.d1) {
|
|
35
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
c4(a, b) {
|
|
39
|
+
super.c4(a, b);
|
|
40
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
41
|
+
let c = Math.max(0, a - b);
|
|
42
|
+
if (this.d3 != c) {
|
|
43
|
+
this.d3 = c;
|
|
44
|
+
this.d1.setRawStyleProperty("max-height", c.toString() + "px");
|
|
35
45
|
}
|
|
36
46
|
}
|
|
37
47
|
get_ae() {
|
|
38
48
|
return true;
|
|
39
49
|
}
|
|
40
|
-
|
|
41
|
-
super.
|
|
50
|
+
cn(a, b, c) {
|
|
51
|
+
super.cn(a, b, c);
|
|
42
52
|
if (a == "Indent") {
|
|
43
|
-
this.
|
|
53
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
44
54
|
}
|
|
45
55
|
if (a == "IsCollapsable") {
|
|
46
56
|
if (this.aa) {
|
|
47
|
-
this.
|
|
57
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
48
58
|
}
|
|
49
59
|
else {
|
|
50
|
-
this.
|
|
60
|
+
this.d1.setRawStyleProperty("margin-left", "0px");
|
|
51
61
|
}
|
|
52
62
|
}
|
|
53
63
|
}
|
|
@@ -20,26 +20,26 @@ let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
20
20
|
super.b(a);
|
|
21
21
|
let b = a;
|
|
22
22
|
if (a.a7) {
|
|
23
|
-
if (a.bc(SectionHeaderCellModel.
|
|
24
|
-
if (b.
|
|
25
|
-
if (b.
|
|
26
|
-
b.
|
|
23
|
+
if (a.bc(SectionHeaderCellModel.oi) || a.bc(SectionHeaderCellModel.ok) || a.bc(SectionHeaderCellModel.oj) || a.bc(SectionHeaderCellModel.om)) {
|
|
24
|
+
if (b.oe == null || (b.oe.length == 0 && b.os == null)) {
|
|
25
|
+
if (b.il == null) {
|
|
26
|
+
b.k4 = "";
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
|
-
b.
|
|
29
|
+
b.k4 = b.il.toString();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
if (b.
|
|
34
|
-
b.
|
|
33
|
+
if (b.oq != null && b.oh == 0) {
|
|
34
|
+
b.k4 = b.os + " " + b.oq;
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
37
|
-
b.
|
|
37
|
+
b.k4 = b.os;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
this.d.
|
|
40
|
+
this.d.db(this.d.d2, b.k4);
|
|
41
41
|
}
|
|
42
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
42
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|