igniteui-angular-data-grids 21.1.0-beta.2 → 21.1.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 +10884 -9697
- package/bundles/igniteui-angular-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 +289 -289
- 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/igx-cell-info.js +195 -186
- package/esm2015/lib/igx-checkbox-list-component.js +42 -20
- package/esm2015/lib/igx-column-chooser-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-pinning-component.js +1 -1
- 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-binding-event-args.js +3 -0
- package/esm2015/lib/igx-data-grid-column-component.js +261 -195
- package/esm2015/lib/igx-data-grid-component.js +226 -33
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +60 -27
- package/esm2015/lib/igx-data-grid-toolbar-component.js +40 -8
- 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 +44 -44
- 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-column-filter-options-component.js +1 -1
- 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-multi-column-combo-box-component.js +160 -32
- package/esm2015/lib/igx-numeric-cell-info.js +28 -28
- package/esm2015/lib/igx-numeric-column-component.js +32 -32
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +24 -24
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +23 -23
- package/esm2015/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm2015/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +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/igx-cell-info.js +207 -186
- package/esm5/lib/igx-checkbox-list-component.js +49 -19
- package/esm5/lib/igx-column-chooser-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-pinning-component.js +1 -1
- 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-binding-event-args.js +3 -0
- package/esm5/lib/igx-data-grid-column-component.js +285 -195
- package/esm5/lib/igx-data-grid-component.js +246 -33
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +72 -27
- package/esm5/lib/igx-data-grid-toolbar-component.js +40 -8
- 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 +44 -44
- 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-column-filter-options-component.js +1 -1
- 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-multi-column-combo-box-component.js +160 -32
- package/esm5/lib/igx-numeric-cell-info.js +28 -28
- package/esm5/lib/igx-numeric-column-component.js +32 -32
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +24 -24
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +22 -22
- package/esm5/lib/igx-summary-row-root-dynamic-module.js +2 -0
- package/esm5/lib/igx-summary-row-section-dynamic-module.js +2 -0
- 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 +79 -40
- package/fesm2015/igniteui-angular-data-grids.js +10781 -9783
- package/fesm5/igniteui-angular-data-grids.js +10884 -9697
- 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/igx-cell-info.d.ts +6 -0
- package/lib/igx-checkbox-list-component.d.ts +11 -1
- package/lib/igx-data-grid-column-component.d.ts +31 -1
- package/lib/igx-data-grid-component.d.ts +28 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +16 -1
- package/lib/igx-summary-row-component.d.ts +3 -3
- package/lib/igx-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
|
@@ -381,7 +381,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
381
381
|
if (d.iD == a) {
|
|
382
382
|
d.isSelected = b;
|
|
383
383
|
if (this.e != null) {
|
|
384
|
-
this.e.
|
|
384
|
+
this.e.dy(c, d, d);
|
|
385
385
|
}
|
|
386
386
|
break;
|
|
387
387
|
}
|
|
@@ -393,7 +393,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
393
393
|
c.label = b;
|
|
394
394
|
this.q.add(c);
|
|
395
395
|
if (this.e != null) {
|
|
396
|
-
this.e.
|
|
396
|
+
this.e.dv(this.q.count - 1, c);
|
|
397
397
|
}
|
|
398
398
|
this.c.onItemInserted();
|
|
399
399
|
}
|
|
@@ -403,7 +403,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
403
403
|
if (c.iD == a) {
|
|
404
404
|
this.q.removeAt(b);
|
|
405
405
|
if (this.e != null) {
|
|
406
|
-
this.e.
|
|
406
|
+
this.e.dx(b, c);
|
|
407
407
|
}
|
|
408
408
|
break;
|
|
409
409
|
}
|
|
@@ -416,7 +416,7 @@ export let SummaryChooser = /*@__PURE__*/ (() => {
|
|
|
416
416
|
if (d.iD == a) {
|
|
417
417
|
d.label = b;
|
|
418
418
|
if (this.e != null) {
|
|
419
|
-
this.e.
|
|
419
|
+
this.e.dy(c, d, d);
|
|
420
420
|
}
|
|
421
421
|
break;
|
|
422
422
|
}
|
package/esm2015/lib/ImageCell.js
CHANGED
|
@@ -14,103 +14,103 @@ export let ImageCell = /*@__PURE__*/ (() => {
|
|
|
14
14
|
class ImageCell extends GridCellBase {
|
|
15
15
|
constructor(a) {
|
|
16
16
|
super(a);
|
|
17
|
-
this.d5 = null;
|
|
18
|
-
this.dz = 1;
|
|
19
|
-
this.d0 = 3;
|
|
20
17
|
this.d7 = null;
|
|
21
|
-
this.d1 =
|
|
22
|
-
this.d2 =
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
18
|
+
this.d1 = 1;
|
|
19
|
+
this.d2 = 3;
|
|
20
|
+
this.d9 = null;
|
|
21
|
+
this.d3 = false;
|
|
22
|
+
this.d4 = 1;
|
|
23
|
+
this.d6 = null;
|
|
24
|
+
this.d7 = a.createElement("img");
|
|
25
|
+
this.d7.listen("load", runOn(this, this.ec));
|
|
26
|
+
this.d6 = a.createElement("div");
|
|
27
|
+
this.d6.setRawStyleProperty("background-size", "contain");
|
|
28
|
+
this.d6.setRawStyleProperty("background-repeat", "no-repeat");
|
|
29
|
+
this.d6.setRawStyleProperty("background-position", "center");
|
|
30
|
+
this.d6.setRawStyleProperty("width", "100%");
|
|
31
|
+
this.d6.setRawStyleProperty("height", "100%");
|
|
32
32
|
this.ar.setRawStyleProperty("text-align", "left");
|
|
33
33
|
this.ar.setRawStyleProperty("vertical-align", "middle");
|
|
34
|
-
this.ar.append(this.
|
|
34
|
+
this.ar.append(this.d6);
|
|
35
35
|
}
|
|
36
|
-
get
|
|
37
|
-
return this.
|
|
36
|
+
get d8() {
|
|
37
|
+
return this.d7;
|
|
38
38
|
}
|
|
39
|
-
get
|
|
40
|
-
return this.
|
|
39
|
+
get d5() {
|
|
40
|
+
return this.d4;
|
|
41
41
|
}
|
|
42
|
-
set
|
|
43
|
-
this.
|
|
42
|
+
set d5(a) {
|
|
43
|
+
this.d4 = a;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
this.
|
|
47
|
-
if (!stringIsNullOrEmpty(this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
45
|
+
ec(a) {
|
|
46
|
+
this.d3 = false;
|
|
47
|
+
if (!stringIsNullOrEmpty(this.d9)) {
|
|
48
|
+
this.d6.setRawStyleProperty("opacity", "1");
|
|
49
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
if (a == this.
|
|
52
|
+
ed(a, b) {
|
|
53
|
+
if (a == this.d9) {
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
56
|
+
this.ea();
|
|
57
|
+
this.d6.setRawStyleProperty("opacity", "0");
|
|
58
58
|
if (a == null || a.length == 0) {
|
|
59
|
-
this.
|
|
59
|
+
this.eb(this.d7);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (Base.equalsStatic(a, this.
|
|
62
|
+
if (Base.equalsStatic(a, this.d9)) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
this.
|
|
66
|
-
let img_ = this.
|
|
65
|
+
this.eh(a, b);
|
|
66
|
+
let img_ = this.d7.getNativeElement();
|
|
67
67
|
if (img_ != null && (img_.complete)) {
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
68
|
+
this.d3 = false;
|
|
69
|
+
this.d7.setRawStyleProperty("opacity", "1");
|
|
70
|
+
this.d6.setRawStyleProperty("background-image", "url(" + this.d9 + ")");
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
eb(a) {
|
|
74
74
|
a.setAttribute("src", "");
|
|
75
|
-
this.
|
|
75
|
+
this.d6.setRawStyleProperty("background-image", "");
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
eg(a) {
|
|
78
78
|
switch (a) {
|
|
79
79
|
case 1:
|
|
80
|
-
this.
|
|
80
|
+
this.d6.setRawStyleProperty("background-size", "100% 100%");
|
|
81
81
|
break;
|
|
82
82
|
case 2:
|
|
83
|
-
this.
|
|
83
|
+
this.d6.setRawStyleProperty("background-size", "auto");
|
|
84
84
|
break;
|
|
85
85
|
case 0:
|
|
86
|
-
this.
|
|
86
|
+
this.d6.setRawStyleProperty("background-size", "contain");
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
90
|
+
eh(a, b) {
|
|
91
|
+
this.d3 = true;
|
|
92
|
+
this.d9 = a;
|
|
93
|
+
this.d8.setAttribute("src", a);
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
if (this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
95
|
+
ea() {
|
|
96
|
+
if (this.d3) {
|
|
97
|
+
this.eb(this.d7);
|
|
98
|
+
this.d9 = "";
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
this.
|
|
101
|
+
ee(a) {
|
|
102
|
+
this.d1 = a;
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
this.
|
|
104
|
+
ef(a) {
|
|
105
|
+
this.d2 = a;
|
|
106
106
|
}
|
|
107
107
|
get_ae() {
|
|
108
108
|
return true;
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
super.
|
|
110
|
+
cn(a, b, c) {
|
|
111
|
+
super.cn(a, b, c);
|
|
112
112
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
113
|
-
this.
|
|
113
|
+
this.d6.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -24,29 +24,29 @@ export let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(CellModel.
|
|
28
|
-
let c = Math.min(1, Math.max(0, a.
|
|
29
|
-
let d = a.
|
|
30
|
-
this.d.
|
|
27
|
+
if (a.bc(CellModel.fs) || a.bc(CellModel.ia)) {
|
|
28
|
+
let c = Math.min(1, Math.max(0, a.da));
|
|
29
|
+
let d = a.cv * (1 - c);
|
|
30
|
+
this.d.d5 = d;
|
|
31
31
|
}
|
|
32
|
-
if (b.bc(ImageCellModel.
|
|
33
|
-
this.e(b.
|
|
32
|
+
if (b.bc(ImageCellModel.og) || b.bc(ImageCellModel.oh)) {
|
|
33
|
+
this.e(b.ok, b.od);
|
|
34
34
|
}
|
|
35
|
-
if (b.bc(ImageCellModel.
|
|
36
|
-
this.f(b.
|
|
35
|
+
if (b.bc(ImageCellModel.oi) || b.bc(ImageCellModel.gf) || b.bc(ImageCellModel.h9)) {
|
|
36
|
+
this.f(b.of, b.g, b.i);
|
|
37
37
|
}
|
|
38
|
-
if (b.bc(ImageCellModel.
|
|
38
|
+
if (b.bc(ImageCellModel.hq)) {
|
|
39
39
|
if (a.u == 1) {
|
|
40
|
-
this.d.
|
|
40
|
+
this.d.ea();
|
|
41
41
|
}
|
|
42
42
|
else if (a.u == 2) {
|
|
43
|
-
this.e(b.
|
|
43
|
+
this.e(b.ok, b.od);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
f(a, b, c) {
|
|
49
|
-
this.d.
|
|
49
|
+
this.d.eg(a);
|
|
50
50
|
}
|
|
51
51
|
e(a, b) {
|
|
52
52
|
let c = a.toLowerCase();
|
|
@@ -54,35 +54,35 @@ export let ImageCellPresenter = /*@__PURE__*/ (() => {
|
|
|
54
54
|
b = 4;
|
|
55
55
|
}
|
|
56
56
|
if (stringStartsWith(c, "http") || b == 4) {
|
|
57
|
-
this.d.
|
|
57
|
+
this.d.ed(a, 4);
|
|
58
58
|
}
|
|
59
59
|
if (stringStartsWith(c, "asset") || b == 2) {
|
|
60
60
|
let d = a;
|
|
61
61
|
if (stringStartsWith(c, "asset")) {
|
|
62
62
|
d = a.substr(8);
|
|
63
63
|
}
|
|
64
|
-
this.d.
|
|
64
|
+
this.d.ed(d, 2);
|
|
65
65
|
}
|
|
66
66
|
if (stringStartsWith(c, "drawable") || b == 1) {
|
|
67
67
|
let e = a;
|
|
68
68
|
if (stringStartsWith(c, "drawable")) {
|
|
69
69
|
e = a.substr(11);
|
|
70
70
|
}
|
|
71
|
-
this.d.
|
|
71
|
+
this.d.ed(e, 1);
|
|
72
72
|
}
|
|
73
73
|
if (stringStartsWith(c, "nativeresource") || b == 1) {
|
|
74
74
|
let f = a;
|
|
75
75
|
if (stringStartsWith(c, "nativeresource")) {
|
|
76
76
|
f = a.substr(17);
|
|
77
77
|
}
|
|
78
|
-
this.d.
|
|
78
|
+
this.d.ed(f, 1);
|
|
79
79
|
}
|
|
80
80
|
if (stringStartsWith(c, "embeddedresource") || b == 3) {
|
|
81
81
|
let g = a;
|
|
82
82
|
if (stringStartsWith(c, "embeddedresource")) {
|
|
83
83
|
g = a.substr(19);
|
|
84
84
|
}
|
|
85
|
-
this.d.
|
|
85
|
+
this.d.ed(g, 3);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -122,8 +122,8 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
124
|
this.p = false;
|
|
125
|
-
if (b.
|
|
126
|
-
b.
|
|
125
|
+
if (b.g6 != a) {
|
|
126
|
+
b.g6 = a;
|
|
127
127
|
this.p = true;
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -142,9 +142,9 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
142
142
|
this.co();
|
|
143
143
|
let b = this.g.p();
|
|
144
144
|
if (null != b) {
|
|
145
|
-
let c = b.
|
|
145
|
+
let c = b.g6;
|
|
146
146
|
if (null != c) {
|
|
147
|
-
b.
|
|
147
|
+
b.g6 = null;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -610,7 +610,7 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
610
610
|
}
|
|
611
611
|
this.w = true;
|
|
612
612
|
if (stringIsNullOrEmpty(this.au)) {
|
|
613
|
-
if (null != a.
|
|
613
|
+
if (null != a.g6) {
|
|
614
614
|
this.aw(null);
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
@@ -680,7 +680,7 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
680
680
|
}
|
|
681
681
|
let f = this.g;
|
|
682
682
|
let g = this.g.p();
|
|
683
|
-
e = g.
|
|
683
|
+
e = g.nx();
|
|
684
684
|
}
|
|
685
685
|
d.d = e;
|
|
686
686
|
d.b = a;
|
|
@@ -807,9 +807,9 @@ export let MultiColumnComboBoxView = /*@__PURE__*/ (() => {
|
|
|
807
807
|
this.au = null;
|
|
808
808
|
let a = this.g.p();
|
|
809
809
|
if (null != a) {
|
|
810
|
-
let b = a.
|
|
810
|
+
let b = a.g6;
|
|
811
811
|
if (null != b) {
|
|
812
|
-
a.
|
|
812
|
+
a.g6 = null;
|
|
813
813
|
}
|
|
814
814
|
else {
|
|
815
815
|
this.cw();
|
|
@@ -2403,7 +2403,7 @@ export let MultiColumnComboBox = /*@__PURE__*/ (() => {
|
|
|
2403
2403
|
return c._inner[0];
|
|
2404
2404
|
}
|
|
2405
2405
|
for (let d of fromEnum(c)) {
|
|
2406
|
-
if (0 == StringComparer.b.compare(d.
|
|
2406
|
+
if (0 == StringComparer.b.compare(d.ns, a)) {
|
|
2407
2407
|
return d;
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
@@ -13,18 +13,18 @@ export let NumericCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class NumericCell extends TextCell {
|
|
14
14
|
constructor(a) {
|
|
15
15
|
super(a);
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.c5(this.d2, 2);
|
|
17
|
+
this.de(this.d2, 1);
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
super.
|
|
19
|
+
cn(a, b, c) {
|
|
20
|
+
super.cn(a, b, c);
|
|
21
21
|
if (a == "Indent" || a == "IsCollapsable") {
|
|
22
|
-
this.
|
|
22
|
+
this.d2.setRawStyleProperty("margin-left", this.be + this.bg + this.bf + "px");
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
super.
|
|
27
|
-
this.
|
|
25
|
+
cb() {
|
|
26
|
+
super.cb();
|
|
27
|
+
this.dk(2, 1);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
NumericCell.$t = markType(NumericCell, 'NumericCell', TextCell.$);
|
|
@@ -24,20 +24,20 @@ export let NumericCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(NumericCellModel.
|
|
28
|
-
b.
|
|
29
|
-
this.d.
|
|
27
|
+
if (a.bc(NumericCellModel.o4) || a.bc(NumericCellModel.or) || a.bc(NumericCellModel.h8) || b.oj()) {
|
|
28
|
+
b.k4 = this.e(b);
|
|
29
|
+
this.d.db(this.d.d2, b.k4);
|
|
30
30
|
}
|
|
31
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
31
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
return a.
|
|
35
|
+
if (a.l1 != null) {
|
|
36
|
+
return a.l1;
|
|
37
37
|
}
|
|
38
|
-
if (a.
|
|
39
|
-
let val_ = a.
|
|
40
|
-
let override_ = a.
|
|
38
|
+
if (a.pa != null) {
|
|
39
|
+
let val_ = a.on;
|
|
40
|
+
let override_ = a.pa;
|
|
41
41
|
return (override_.format(val_));
|
|
42
42
|
}
|
|
43
43
|
return NumericCellFormatter.c(a);
|
|
@@ -741,15 +741,15 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
let a = new TextColumn();
|
|
744
|
-
a.
|
|
745
|
-
a.
|
|
746
|
-
a.
|
|
744
|
+
a.ln = 10;
|
|
745
|
+
a.lo = 5;
|
|
746
|
+
a.ns = "PropertyPath";
|
|
747
747
|
a.dataBinding = delegateCombine(a.dataBinding, runOn(this, this.dp));
|
|
748
748
|
this.l.columns.add(a);
|
|
749
749
|
let b = new TemplateColumn();
|
|
750
|
-
b.
|
|
751
|
-
b.lm = 5;
|
|
750
|
+
b.ns = "ValueType";
|
|
752
751
|
b.ln = 5;
|
|
752
|
+
b.lo = 5;
|
|
753
753
|
b.dataBinding = delegateCombine(b.dataBinding, runOn(this, this.cu));
|
|
754
754
|
b.cellStyleKeyRequested = delegateCombine(b.cellStyleKeyRequested, runOn(this, this.cs));
|
|
755
755
|
b.cellUpdating = delegateCombine(b.cellUpdating, runOn(this, this.ct));
|
|
@@ -829,8 +829,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
829
829
|
let r = this.cc(l);
|
|
830
830
|
if (c.count <= g) {
|
|
831
831
|
let s = new TextColumn();
|
|
832
|
-
s.
|
|
833
|
-
s.
|
|
832
|
+
s.ln = 10;
|
|
833
|
+
s.lo = 5;
|
|
834
834
|
s.width = ((() => {
|
|
835
835
|
let $ret = new ColumnWidth();
|
|
836
836
|
$ret.c = false;
|
|
@@ -838,8 +838,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
838
838
|
return $ret;
|
|
839
839
|
})());
|
|
840
840
|
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dp));
|
|
841
|
-
s.
|
|
842
|
-
s.
|
|
841
|
+
s.ok = "PropertyName_" + k;
|
|
842
|
+
s.ns = "PropertyName";
|
|
843
843
|
c.add(s);
|
|
844
844
|
this.au.item(s, c.count - 1);
|
|
845
845
|
g++;
|
|
@@ -876,10 +876,10 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
876
876
|
}
|
|
877
877
|
if (c.count <= g) {
|
|
878
878
|
let v = new TemplateColumn();
|
|
879
|
-
v.
|
|
880
|
-
v.
|
|
881
|
-
v.lm = 5;
|
|
879
|
+
v.ok = "ValueType_" + k;
|
|
880
|
+
v.ns = "ValueType";
|
|
882
881
|
v.ln = 5;
|
|
882
|
+
v.lo = 5;
|
|
883
883
|
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cu));
|
|
884
884
|
v.width = ((() => {
|
|
885
885
|
let $ret = new ColumnWidth();
|
|
@@ -950,12 +950,12 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
950
950
|
}
|
|
951
951
|
cu(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
|
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.w : 0);
|
|
955
955
|
}
|
|
956
956
|
dp(a, b) {
|
|
957
957
|
let c = a;
|
|
958
|
-
let d = this.s(c, b.cellInfo.
|
|
958
|
+
let d = this.s(c, b.cellInfo.ft, b.rowObject);
|
|
959
959
|
if (d == null) {
|
|
960
960
|
b.resolvedValue = null;
|
|
961
961
|
return;
|
|
@@ -1072,7 +1072,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
ct(a, b) {
|
|
1074
1074
|
let c = a;
|
|
1075
|
-
let d = this.s(c, b.cellInfo.
|
|
1075
|
+
let d = this.s(c, b.cellInfo.ft, b.cellInfo.im);
|
|
1076
1076
|
let e = d != null ? d.w : 0;
|
|
1077
1077
|
switch (e) {
|
|
1078
1078
|
case 10:
|
|
@@ -1169,7 +1169,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1169
1169
|
if (c.t != 3) {
|
|
1170
1170
|
c.t = 3;
|
|
1171
1171
|
}
|
|
1172
|
-
let e = this.s(a, b.cellInfo.
|
|
1172
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1173
1173
|
let f = c.inputs._inner[0];
|
|
1174
1174
|
f.bh = e;
|
|
1175
1175
|
f.cq = (e.ar != null ? e.ar.toString() : "");
|
|
@@ -1183,7 +1183,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1183
1183
|
if (c.s != 3) {
|
|
1184
1184
|
c.s = 3;
|
|
1185
1185
|
}
|
|
1186
|
-
let e = this.s(a, b.cellInfo.
|
|
1186
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1187
1187
|
c.ee = e;
|
|
1188
1188
|
let f = e.ar;
|
|
1189
1189
|
if (typeof e.ar === 'number' || typeof e.ar === 'number') {
|
|
@@ -1200,7 +1200,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1200
1200
|
if (c.density != 3) {
|
|
1201
1201
|
c.density = 3;
|
|
1202
1202
|
}
|
|
1203
|
-
let e = this.s(a, b.cellInfo.
|
|
1203
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1204
1204
|
if (c.dd != e) {
|
|
1205
1205
|
if (!d) {
|
|
1206
1206
|
c.selectedValueChanged = delegateRemove(c.selectedValueChanged, runOn(this, this.cq));
|
|
@@ -1464,7 +1464,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1464
1464
|
if (!c.y) {
|
|
1465
1465
|
c.y = true;
|
|
1466
1466
|
}
|
|
1467
|
-
let e = this.s(a, b.cellInfo.
|
|
1467
|
+
let e = this.s(a, b.cellInfo.ft, b.cellInfo.im);
|
|
1468
1468
|
let f = e.ar;
|
|
1469
1469
|
if (f == null) {
|
|
1470
1470
|
f = false;
|
|
@@ -13,44 +13,54 @@ export let SectionHeaderCell = /*@__PURE__*/ (() => {
|
|
|
13
13
|
class SectionHeaderCell extends GridCellBase {
|
|
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
|
-
get
|
|
32
|
-
return this.
|
|
32
|
+
get d2() {
|
|
33
|
+
return this.d1;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
-
super.
|
|
36
|
-
if (a == this.
|
|
37
|
-
this.
|
|
35
|
+
c3(a, b) {
|
|
36
|
+
super.c3(a, b);
|
|
37
|
+
if (a == this.d1) {
|
|
38
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
c4(a, b) {
|
|
42
|
+
super.c4(a, b);
|
|
43
|
+
this.d1.setRawStyleProperty("line-height", (this.bh - this.bi).toString() + "px");
|
|
44
|
+
let c = Math.max(0, a - b);
|
|
45
|
+
if (this.d3 != c) {
|
|
46
|
+
this.d3 = c;
|
|
47
|
+
this.d1.setRawStyleProperty("max-height", c.toString() + "px");
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
get_ae() {
|
|
41
51
|
return true;
|
|
42
52
|
}
|
|
43
|
-
|
|
44
|
-
super.
|
|
53
|
+
cn(a, b, c) {
|
|
54
|
+
super.cn(a, b, c);
|
|
45
55
|
if (a == "Indent") {
|
|
46
|
-
this.
|
|
56
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
47
57
|
}
|
|
48
58
|
if (a == "IsCollapsable") {
|
|
49
59
|
if (this.aa) {
|
|
50
|
-
this.
|
|
60
|
+
this.d1.setRawStyleProperty("margin-left", this.be + this.bg + 10 + "px");
|
|
51
61
|
}
|
|
52
62
|
else {
|
|
53
|
-
this.
|
|
63
|
+
this.d1.setRawStyleProperty("margin-left", "0px");
|
|
54
64
|
}
|
|
55
65
|
}
|
|
56
66
|
}
|
|
@@ -23,26 +23,26 @@ export let SectionHeaderCellPresenter = /*@__PURE__*/ (() => {
|
|
|
23
23
|
super.b(a);
|
|
24
24
|
let b = a;
|
|
25
25
|
if (a.a7) {
|
|
26
|
-
if (a.bc(SectionHeaderCellModel.
|
|
27
|
-
if (b.
|
|
28
|
-
if (b.
|
|
29
|
-
b.
|
|
26
|
+
if (a.bc(SectionHeaderCellModel.oi) || a.bc(SectionHeaderCellModel.ok) || a.bc(SectionHeaderCellModel.oj) || a.bc(SectionHeaderCellModel.om)) {
|
|
27
|
+
if (b.oe == null || (b.oe.length == 0 && b.os == null)) {
|
|
28
|
+
if (b.il == null) {
|
|
29
|
+
b.k4 = "";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
b.
|
|
32
|
+
b.k4 = b.il.toString();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
if (b.
|
|
37
|
-
b.
|
|
36
|
+
if (b.oq != null && b.oh == 0) {
|
|
37
|
+
b.k4 = b.os + " " + b.oq;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
b.
|
|
40
|
+
b.k4 = b.os;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
this.d.
|
|
43
|
+
this.d.db(this.d.d2, b.k4);
|
|
44
44
|
}
|
|
45
|
-
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.
|
|
45
|
+
ContentCellModelHelper.a(this.a.am, b, this.a.ar, this.d.d2, this.a);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|