igniteui-angular-data-grids 20.0.1-beta.0 → 20.0.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-data-grids.umd.js +10223 -8743
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/AccessibilityRow.js +3 -3
- package/esm2015/lib/CanvasCellPresenterBase.js +14 -14
- package/esm2015/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm2015/lib/CanvasGridCellBase.js +9 -9
- package/esm2015/lib/CanvasImageCellPresenter.js +10 -10
- package/esm2015/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +1 -1
- package/esm2015/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm2015/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm2015/lib/CanvasTextCellPresenter.js +10 -10
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm2015/lib/CellPresenterBase.js +64 -39
- package/esm2015/lib/CheckboxListView_combined.js +49 -49
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +6925 -6539
- package/esm2015/lib/ColumnGroupingView_combined.js +5 -5
- package/esm2015/lib/ColumnPinningView_combined.js +11 -11
- package/esm2015/lib/ColumnSortDescription.js +6 -1
- package/esm2015/lib/ColumnSummaryDescription.js +6 -1
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +46 -33
- package/esm2015/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +2 -2
- package/esm2015/lib/DateTimeCellPresenter.js +10 -10
- package/esm2015/lib/EditorCell.js +335 -335
- package/esm2015/lib/EditorCellPresenter.js +28 -28
- package/esm2015/lib/EditorRowCell.js +1 -1
- package/esm2015/lib/FilterCell.js +278 -278
- package/esm2015/lib/FilterCellPresenter.js +18 -18
- package/esm2015/lib/GridCellBase.js +587 -317
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -14
- package/esm2015/lib/GridConditionalStyleFontInfo.js +26 -0
- package/esm2015/lib/GridConditionalStyleProperty.js +8 -8
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +1 -1
- package/esm2015/lib/ImageCell.js +62 -62
- package/esm2015/lib/ImageCellPresenter.js +18 -18
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm2015/lib/NumericCell.js +9 -5
- package/esm2015/lib/NumericCellPresenter.js +10 -10
- package/esm2015/lib/PropertyEditorView_combined.js +21 -21
- package/esm2015/lib/SectionHeaderCell.js +17 -17
- package/esm2015/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm2015/lib/SummaryCell.js +41 -41
- package/esm2015/lib/SummaryCellPresenter.js +14 -14
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +5 -5
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +6 -6
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +35 -30
- package/esm2015/lib/TextCellDecoration.js +33 -0
- package/esm2015/lib/TextCellPresenter.js +11 -11
- package/esm2015/lib/TextHeaderCell.js +157 -150
- package/esm2015/lib/TextHeaderCellPresenter.js +35 -35
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +301 -190
- package/esm2015/lib/igx-checkbox-list-component.js +1 -1
- package/esm2015/lib/igx-column-moving-separator-component.js +6 -6
- package/esm2015/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm2015/lib/igx-combo-box-column-component.js +10 -10
- package/esm2015/lib/igx-data-grid-column-component.js +254 -115
- package/esm2015/lib/igx-data-grid-component.js +38 -5
- package/esm2015/lib/igx-date-time-cell-info.js +12 -12
- package/esm2015/lib/igx-date-time-column-component.js +20 -20
- package/esm2015/lib/igx-definition-base-component.js +46 -45
- package/esm2015/lib/igx-editor-cell-info.js +23 -23
- package/esm2015/lib/igx-filter-cell-info.js +26 -26
- package/esm2015/lib/igx-filter-row-definition-component.js +8 -8
- package/esm2015/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm2015/lib/igx-grid-conditional-style-font-info-component.js +144 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-dynamic-module.js +34 -0
- package/esm2015/lib/igx-grid-conditional-style-font-info-module.js +27 -0
- package/esm2015/lib/igx-header-component.js +16 -16
- package/esm2015/lib/igx-image-cell-info.js +6 -6
- package/esm2015/lib/igx-image-column-component.js +10 -10
- package/esm2015/lib/igx-numeric-cell-info.js +26 -26
- package/esm2015/lib/igx-numeric-column-component.js +30 -30
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +16 -16
- package/esm2015/lib/igx-summary-cell-info.js +9 -9
- package/esm2015/lib/igx-summary-row-component.js +16 -16
- package/esm2015/lib/igx-template-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-text-cell-info.js +2 -2
- package/esm2015/lib/igx-text-column-component.js +8 -8
- package/esm2015/lib/igx-text-header-cell-info.js +10 -10
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/AccessibilityRow.js +3 -3
- package/esm5/lib/CanvasCellPresenterBase.js +14 -14
- package/esm5/lib/CanvasContentCellModelHelper.js +18 -18
- package/esm5/lib/CanvasDateTimeCellPresenter.js +9 -9
- package/esm5/lib/CanvasGridCellBase.js +9 -9
- package/esm5/lib/CanvasImageCellPresenter.js +10 -10
- package/esm5/lib/CanvasNumericCellPresenter.js +9 -9
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +1 -1
- package/esm5/lib/CanvasSummaryCellPresenter.js +8 -8
- package/esm5/lib/CanvasTemplateCellPresenter.js +4 -4
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +4 -4
- package/esm5/lib/CanvasTextCellPresenter.js +10 -10
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +13 -13
- package/esm5/lib/CellPresenterBase.js +64 -39
- package/esm5/lib/CheckboxListView_combined.js +49 -49
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +6754 -6269
- package/esm5/lib/ColumnGroupingView_combined.js +5 -5
- package/esm5/lib/ColumnPinningView_combined.js +11 -11
- package/esm5/lib/ColumnSortDescription.js +6 -1
- package/esm5/lib/ColumnSummaryDescription.js +6 -1
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +46 -33
- package/esm5/lib/DataGridCellLayoutPanel.js +19 -19
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +2 -2
- package/esm5/lib/DateTimeCellPresenter.js +10 -10
- package/esm5/lib/EditorCell.js +291 -291
- package/esm5/lib/EditorCellPresenter.js +28 -28
- package/esm5/lib/EditorRowCell.js +1 -1
- package/esm5/lib/FilterCell.js +266 -266
- package/esm5/lib/FilterCellPresenter.js +18 -18
- package/esm5/lib/GridCellBase.js +625 -311
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +7 -7
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridConditionFilterStringErrorsParsingEventArgs.js +2 -22
- package/esm5/lib/GridConditionalStyleFontInfo.js +32 -0
- package/esm5/lib/GridConditionalStyleProperty.js +8 -8
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +1 -1
- package/esm5/lib/ImageCell.js +61 -61
- package/esm5/lib/ImageCellPresenter.js +18 -18
- package/esm5/lib/MultiColumnComboBoxView_combined.js +15 -15
- package/esm5/lib/NumericCell.js +9 -5
- package/esm5/lib/NumericCellPresenter.js +10 -10
- package/esm5/lib/PropertyEditorView_combined.js +21 -21
- package/esm5/lib/SectionHeaderCell.js +17 -17
- package/esm5/lib/SectionHeaderCellPresenter.js +11 -11
- package/esm5/lib/SummaryCell.js +41 -41
- package/esm5/lib/SummaryCellPresenter.js +14 -14
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +5 -5
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +6 -6
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +5 -5
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +35 -30
- package/esm5/lib/TextCellDecoration.js +33 -0
- package/esm5/lib/TextCellPresenter.js +11 -11
- package/esm5/lib/TextHeaderCell.js +155 -148
- package/esm5/lib/TextHeaderCellPresenter.js +35 -35
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +349 -190
- package/esm5/lib/igx-checkbox-list-component.js +1 -1
- package/esm5/lib/igx-column-moving-separator-component.js +6 -6
- package/esm5/lib/igx-column-resizing-separator-component.js +4 -4
- package/esm5/lib/igx-combo-box-column-component.js +10 -10
- package/esm5/lib/igx-data-grid-column-component.js +302 -115
- package/esm5/lib/igx-data-grid-component.js +42 -5
- package/esm5/lib/igx-date-time-cell-info.js +12 -12
- package/esm5/lib/igx-date-time-column-component.js +20 -20
- package/esm5/lib/igx-definition-base-component.js +46 -45
- package/esm5/lib/igx-editor-cell-info.js +23 -23
- package/esm5/lib/igx-filter-cell-info.js +26 -26
- package/esm5/lib/igx-filter-row-definition-component.js +8 -8
- package/esm5/lib/igx-grid-condition-filter-string-errors-parsing-event-args.js +4 -4
- package/esm5/lib/igx-grid-conditional-style-font-info-component.js +155 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-dynamic-module.js +33 -0
- package/esm5/lib/igx-grid-conditional-style-font-info-module.js +28 -0
- package/esm5/lib/igx-header-component.js +16 -16
- package/esm5/lib/igx-image-cell-info.js +6 -6
- package/esm5/lib/igx-image-column-component.js +10 -10
- package/esm5/lib/igx-numeric-cell-info.js +26 -26
- package/esm5/lib/igx-numeric-column-component.js +30 -30
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +16 -16
- package/esm5/lib/igx-summary-cell-info.js +9 -9
- package/esm5/lib/igx-summary-row-component.js +16 -16
- package/esm5/lib/igx-template-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-text-cell-info.js +2 -2
- package/esm5/lib/igx-text-column-component.js +8 -8
- package/esm5/lib/igx-text-header-cell-info.js +10 -10
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-angular-data-grids.js +10236 -9009
- package/fesm5/igniteui-angular-data-grids.js +10219 -8745
- package/lib/ColumnFilterCondition_combined.d.ts +1784 -1694
- package/lib/ContentCellModelHelper.d.ts +4 -4
- package/lib/EditorCell.d.ts +74 -74
- package/lib/FilterCell.d.ts +61 -61
- package/lib/GridCellBase.d.ts +140 -95
- package/lib/GridConditionFilterStringErrorsParsingEventArgs.d.ts +2 -6
- package/lib/GridConditionalStyleFontInfo.d.ts +11 -0
- package/lib/ImageCell.d.ts +20 -20
- package/lib/MultiColumnComboBoxView_combined.d.ts +1 -1
- package/lib/NumericCell.d.ts +2 -1
- package/lib/SectionHeaderCell.d.ts +4 -4
- package/lib/SummaryCell.d.ts +11 -11
- package/lib/TemplateCell.d.ts +6 -6
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +3 -3
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +10 -8
- package/lib/TextCellDecoration.d.ts +26 -0
- package/lib/TextHeaderCell.d.ts +37 -35
- package/lib/VerticalSeparatorCell.d.ts +9 -9
- package/lib/igx-cell-info.d.ts +63 -0
- package/lib/igx-data-grid-column-component.d.ts +68 -2
- package/lib/igx-data-grid-component.d.ts +9 -2
- package/lib/igx-definition-base-component.d.ts +1 -1
- package/lib/igx-grid-conditional-style-font-info-component.d.ts +33 -0
- package/lib/igx-grid-conditional-style-font-info-dynamic-module.d.ts +9 -0
- package/lib/igx-grid-conditional-style-font-info-module.d.ts +8 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
|
@@ -6,14 +6,19 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { Base, runOn, markType, PointUtil } from "igniteui-angular-core";
|
|
8
8
|
import { INativeCell_$type } from "./INativeCell";
|
|
9
|
+
import { Rect } from "igniteui-angular-core";
|
|
10
|
+
import { XIcon } from "igniteui-angular-inputs";
|
|
11
|
+
import { SvgIconRegistry } from "igniteui-angular-core";
|
|
9
12
|
import { GridExpansionIndicator } from "./GridExpansionIndicator";
|
|
10
13
|
import { PlaceholderView } from "./PlaceholderView";
|
|
11
14
|
import { Color } from "igniteui-angular-core";
|
|
15
|
+
import { FontUtil } from "igniteui-angular-core";
|
|
12
16
|
import { TestRandomness } from "igniteui-angular-core";
|
|
13
17
|
import { Random } from "igniteui-angular-core";
|
|
14
18
|
import { DefaultRandomnessSource } from "igniteui-angular-core";
|
|
15
19
|
import { DeviceUtils } from "igniteui-angular-core";
|
|
16
20
|
import { intDivide, truncate, isNaN_ } from "igniteui-angular-core";
|
|
21
|
+
import { stringStartsWith } from "igniteui-angular-core";
|
|
17
22
|
/**
|
|
18
23
|
* @hidden
|
|
19
24
|
*/
|
|
@@ -24,69 +29,83 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
24
29
|
this.a = null;
|
|
25
30
|
this.e = null;
|
|
26
31
|
this.c = null;
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.ar = 0;
|
|
35
|
-
this.aq = 0;
|
|
36
|
-
this.av = 0;
|
|
37
|
-
this.p = false;
|
|
38
|
-
this.q = false;
|
|
39
|
-
this.r = true;
|
|
40
|
-
this.n = false;
|
|
41
|
-
this.ax = 0;
|
|
32
|
+
this.ai = null;
|
|
33
|
+
this.al = null;
|
|
34
|
+
this.w = false;
|
|
35
|
+
this.am = null;
|
|
36
|
+
this.j = null;
|
|
37
|
+
this.a0 = 0;
|
|
38
|
+
this.ax = 24;
|
|
42
39
|
this.az = 0;
|
|
43
40
|
this.ay = 0;
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
41
|
+
this.a3 = 0;
|
|
42
|
+
this.t = false;
|
|
43
|
+
this.u = false;
|
|
44
|
+
this.v = true;
|
|
45
|
+
this.ao = null;
|
|
46
|
+
this.bn = null;
|
|
47
|
+
this.dl = null;
|
|
48
|
+
this.m = null;
|
|
49
|
+
this.x = false;
|
|
50
|
+
this.bm = null;
|
|
51
|
+
this.bl = null;
|
|
52
|
+
this.dk = null;
|
|
53
|
+
this.dj = null;
|
|
54
|
+
this.dq = Rect.empty;
|
|
55
|
+
this.aj = null;
|
|
56
|
+
this.an = null;
|
|
57
|
+
this.l = null;
|
|
58
|
+
this.r = false;
|
|
59
|
+
this.a5 = 0;
|
|
60
|
+
this.a7 = 0;
|
|
61
|
+
this.a6 = 0;
|
|
62
|
+
this.a4 = 0;
|
|
63
|
+
this.as = 0;
|
|
64
|
+
this.au = 0;
|
|
50
65
|
this.at = 0;
|
|
66
|
+
this.ar = 0;
|
|
67
|
+
this.di = null;
|
|
68
|
+
this.a1 = 0;
|
|
69
|
+
this.ba = 0;
|
|
51
70
|
this.a2 = 0;
|
|
52
|
-
this.
|
|
53
|
-
this.j = null;
|
|
71
|
+
this.k = null;
|
|
54
72
|
this.g = 0;
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
73
|
+
this.i = 0;
|
|
74
|
+
this.ah = 0;
|
|
75
|
+
this.ag = 0;
|
|
76
|
+
this.h = 1;
|
|
77
|
+
this.y = false;
|
|
78
|
+
this.bj = 0;
|
|
79
|
+
this.bk = 0;
|
|
80
|
+
this.aq = 0;
|
|
81
|
+
this.a9 = -1;
|
|
82
|
+
this.av = 0;
|
|
83
|
+
this.s = false;
|
|
84
|
+
this.ai = a;
|
|
85
|
+
this.al = this.ai.createElement("div");
|
|
86
|
+
this.al.setAttribute("tabindex", "-1");
|
|
87
|
+
this.al.setRawStyleProperty("position", "absolute");
|
|
88
|
+
this.al.setRawStyleProperty("overflow", "hidden");
|
|
89
|
+
this.al.setRawStyleProperty("box-sizing", "border-box");
|
|
90
|
+
this.al.setRawStyleProperty("outline", "none");
|
|
72
91
|
let b = (window.navigator.msPointerEnabled && window.MSGesture !== undefined);
|
|
73
92
|
let c = (window.PointerEvent !== undefined);
|
|
74
93
|
let d = (window.TouchEvent);
|
|
75
94
|
if ((b || c)) {
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
95
|
+
this.al.listen("pointerdown", runOn(this, this.cm));
|
|
96
|
+
this.al.listen("pointerup", runOn(this, this.cq));
|
|
97
|
+
this.al.listen("pointermove", runOn(this, this.cp));
|
|
98
|
+
this.al.listen("pointerleave", runOn(this, this.co));
|
|
99
|
+
this.al.listen("pointerenter", runOn(this, this.cn));
|
|
81
100
|
}
|
|
82
101
|
else {
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
102
|
+
this.al.listen("mousedown", runOn(this, this.b8));
|
|
103
|
+
this.al.listen("mouseup", runOn(this, this.cc));
|
|
104
|
+
this.al.listen("mousemove", runOn(this, this.cb));
|
|
105
|
+
this.al.listen("mouseleave", runOn(this, this.ca));
|
|
106
|
+
this.al.listen("touchstart", runOn(this, this.da));
|
|
107
|
+
this.al.listen("touchend", runOn(this, this.dc));
|
|
108
|
+
this.al.listen("touchmove", runOn(this, this.db));
|
|
90
109
|
}
|
|
91
110
|
}
|
|
92
111
|
get b() {
|
|
@@ -98,217 +117,444 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
98
117
|
get d() {
|
|
99
118
|
return this.c;
|
|
100
119
|
}
|
|
101
|
-
get
|
|
102
|
-
return this.
|
|
120
|
+
get ak() {
|
|
121
|
+
return this.ai;
|
|
103
122
|
}
|
|
104
|
-
get
|
|
105
|
-
return this.
|
|
123
|
+
get ap() {
|
|
124
|
+
return this.al;
|
|
106
125
|
}
|
|
107
126
|
get isRemoved() {
|
|
108
|
-
return this.
|
|
127
|
+
return this.w;
|
|
109
128
|
}
|
|
110
129
|
set isRemoved(a) {
|
|
111
|
-
let b = this.
|
|
112
|
-
this.
|
|
113
|
-
if (b != this.
|
|
114
|
-
this.
|
|
130
|
+
let b = this.w;
|
|
131
|
+
this.w = a;
|
|
132
|
+
if (b != this.w) {
|
|
133
|
+
this.ch("IsRemoved", b, this.w);
|
|
115
134
|
}
|
|
116
135
|
}
|
|
117
|
-
get
|
|
118
|
-
return this.
|
|
136
|
+
get bd() {
|
|
137
|
+
return this.a0;
|
|
119
138
|
}
|
|
120
|
-
get
|
|
121
|
-
return this.
|
|
139
|
+
get bb() {
|
|
140
|
+
return this.ay;
|
|
122
141
|
}
|
|
123
|
-
get
|
|
124
|
-
return this.
|
|
142
|
+
get bc() {
|
|
143
|
+
return this.az;
|
|
125
144
|
}
|
|
126
|
-
get
|
|
127
|
-
return this.
|
|
145
|
+
get bg() {
|
|
146
|
+
return this.a3;
|
|
128
147
|
}
|
|
129
|
-
set
|
|
130
|
-
let b = this.
|
|
131
|
-
this.
|
|
132
|
-
if (b != this.
|
|
133
|
-
this.
|
|
148
|
+
set bg(a) {
|
|
149
|
+
let b = this.a3;
|
|
150
|
+
this.a3 = a;
|
|
151
|
+
if (b != this.a3) {
|
|
152
|
+
this.ch("Indent", b, this.a3);
|
|
134
153
|
}
|
|
135
154
|
}
|
|
136
|
-
get
|
|
137
|
-
return this.
|
|
155
|
+
get aa() {
|
|
156
|
+
return this.t;
|
|
138
157
|
}
|
|
139
|
-
set
|
|
140
|
-
let b = this.
|
|
141
|
-
this.
|
|
142
|
-
if (b != this.
|
|
143
|
-
this.
|
|
158
|
+
set aa(a) {
|
|
159
|
+
let b = this.t;
|
|
160
|
+
this.t = a;
|
|
161
|
+
if (b != this.t) {
|
|
162
|
+
this.ch("IsCollapsable", b, this.t);
|
|
144
163
|
}
|
|
145
164
|
}
|
|
146
|
-
get
|
|
147
|
-
return this.
|
|
165
|
+
get ab() {
|
|
166
|
+
return this.u;
|
|
148
167
|
}
|
|
149
|
-
set
|
|
150
|
-
let b = this.
|
|
151
|
-
this.
|
|
152
|
-
if (b != this.
|
|
153
|
-
this.
|
|
168
|
+
set ab(a) {
|
|
169
|
+
let b = this.u;
|
|
170
|
+
this.u = a;
|
|
171
|
+
if (b != this.u) {
|
|
172
|
+
this.ch("IsExpanded", b, this.u);
|
|
154
173
|
}
|
|
155
174
|
}
|
|
156
|
-
get
|
|
157
|
-
return this.
|
|
175
|
+
get ad() {
|
|
176
|
+
return this.v;
|
|
158
177
|
}
|
|
159
|
-
set
|
|
160
|
-
let b = this.
|
|
161
|
-
this.
|
|
162
|
-
if (b != this.
|
|
163
|
-
this.
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
this.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
this.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
this.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
178
|
+
set ad(a) {
|
|
179
|
+
let b = this.v;
|
|
180
|
+
this.v = a;
|
|
181
|
+
if (b != this.v) {
|
|
182
|
+
this.ch("IsHitTestVisible", b, this.v);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
get b0() {
|
|
186
|
+
return this.bn;
|
|
187
|
+
}
|
|
188
|
+
set b0(a) {
|
|
189
|
+
let b = this.bn;
|
|
190
|
+
this.bn = a;
|
|
191
|
+
if (b != this.bn) {
|
|
192
|
+
this.ch("SuffixText", b, this.bn);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
get dp() {
|
|
196
|
+
return this.dl;
|
|
197
|
+
}
|
|
198
|
+
set dp(a) {
|
|
199
|
+
let b = this.dl;
|
|
200
|
+
this.dl = a;
|
|
201
|
+
if (b != this.dl) {
|
|
202
|
+
this.ch("SuffixTextColor", b, this.dl);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
get n() {
|
|
206
|
+
return this.m;
|
|
207
|
+
}
|
|
208
|
+
set n(a) {
|
|
209
|
+
let b = this.m;
|
|
210
|
+
this.m = a;
|
|
211
|
+
if (b != this.m) {
|
|
212
|
+
this.ch("SuffixTextFont", b, this.m);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
ci() {
|
|
216
|
+
if (this.bn != null) {
|
|
217
|
+
if (this.ao == null) {
|
|
218
|
+
this.ao = this.ai.createElement("span");
|
|
219
|
+
this.ao.setRawStyleProperty("display", "inline-block");
|
|
220
|
+
this.ao.setRawStyleProperty("overflow", "hidden");
|
|
221
|
+
this.ao.setRawStyleProperty("white-space", "nowrap");
|
|
222
|
+
this.ao.setRawStyleProperty("margin-left", "5px");
|
|
223
|
+
}
|
|
224
|
+
this.ck();
|
|
225
|
+
if (!this.x) {
|
|
226
|
+
this.ap.setRawStyleProperty("display", "grid");
|
|
227
|
+
this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
228
|
+
this.ap.append(this.ao);
|
|
229
|
+
this.x = true;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
else {
|
|
233
|
+
if (this.x) {
|
|
234
|
+
this.ap.setRawStyleProperty("display", "unset");
|
|
235
|
+
this.ap.setRawStyleProperty("grid-template-columns", "unset");
|
|
236
|
+
this.ap.removeChild(this.ao);
|
|
237
|
+
this.x = false;
|
|
197
238
|
}
|
|
198
239
|
}
|
|
199
240
|
}
|
|
200
|
-
get
|
|
201
|
-
return this.
|
|
241
|
+
get bw() {
|
|
242
|
+
return this.bm;
|
|
202
243
|
}
|
|
203
|
-
set
|
|
204
|
-
|
|
244
|
+
set bw(a) {
|
|
245
|
+
let b = this.bm;
|
|
246
|
+
this.bm = a;
|
|
247
|
+
if (b != this.bm) {
|
|
248
|
+
this.ch("SuffixIconName", b, this.bm);
|
|
249
|
+
}
|
|
205
250
|
}
|
|
206
|
-
|
|
207
|
-
return
|
|
251
|
+
get bt() {
|
|
252
|
+
return this.bl;
|
|
253
|
+
}
|
|
254
|
+
set bt(a) {
|
|
255
|
+
let b = this.bl;
|
|
256
|
+
this.bl = a;
|
|
257
|
+
if (b != this.bl) {
|
|
258
|
+
this.ch("SuffixIconCollectionName", b, this.bl);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
get dn() {
|
|
262
|
+
return this.dk;
|
|
263
|
+
}
|
|
264
|
+
set dn(a) {
|
|
265
|
+
let b = this.dk;
|
|
266
|
+
this.dk = a;
|
|
267
|
+
if (b != this.dk) {
|
|
268
|
+
this.ch("SuffixIconStroke", b, this.dk);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
get dm() {
|
|
272
|
+
return this.dj;
|
|
273
|
+
}
|
|
274
|
+
set dm(a) {
|
|
275
|
+
let b = this.dj;
|
|
276
|
+
this.dj = a;
|
|
277
|
+
if (b != this.dj) {
|
|
278
|
+
this.ch("SuffixIconFill", b, this.dj);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
get dr() {
|
|
282
|
+
return this.dq;
|
|
283
|
+
}
|
|
284
|
+
set dr(a) {
|
|
285
|
+
let b = this.dq;
|
|
286
|
+
this.dq = a;
|
|
287
|
+
if (Rect.l_op_Inequality(b, this.dq)) {
|
|
288
|
+
this.ch("SuffixIconViewBox", b, this.dq);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
cj() {
|
|
292
|
+
if (this.bm != null && this.bl != null) {
|
|
293
|
+
if (this.l == null) {
|
|
294
|
+
this.an = this.ai.createElement("div");
|
|
295
|
+
this.aj = this.ai.getSubRenderer(this.an);
|
|
296
|
+
this.l = new XIcon();
|
|
297
|
+
this.l.provideContainer(this.aj);
|
|
298
|
+
this.an.setRawStyleProperty("display", "inline-block");
|
|
299
|
+
this.an.setRawStyleProperty("overflow", "hidden");
|
|
300
|
+
this.an.setRawStyleProperty("margin-left", "5px");
|
|
301
|
+
}
|
|
302
|
+
this.ck();
|
|
303
|
+
if (!this.x) {
|
|
304
|
+
this.ap.setRawStyleProperty("display", "grid");
|
|
305
|
+
this.ap.setRawStyleProperty("grid-template-columns", "1fr min-content");
|
|
306
|
+
this.ap.append(this.an);
|
|
307
|
+
this.x = true;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
if (this.x) {
|
|
312
|
+
this.ap.setRawStyleProperty("display", "unset");
|
|
313
|
+
this.ap.setRawStyleProperty("grid-template-columns", "unset");
|
|
314
|
+
this.ap.removeChild(this.an);
|
|
315
|
+
this.x = false;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
ck() {
|
|
320
|
+
if (this.ao != null) {
|
|
321
|
+
this.c5(this.ao, this.bn);
|
|
322
|
+
this.c6(this.ao, this.dp);
|
|
323
|
+
this.cx(this.ao, this.n);
|
|
324
|
+
this.c7(this.ao, this.h);
|
|
325
|
+
}
|
|
326
|
+
if (this.l != null) {
|
|
327
|
+
this.l.ea = this.dn;
|
|
328
|
+
this.l.fill = this.dm;
|
|
329
|
+
if (!this.dr.isEmpty && !isNaN_(this.dr.left) && !isNaN_(this.dr.top) && !isNaN_(this.dr.width) && !isNaN_(this.dr.height)) {
|
|
330
|
+
this.l.a6 = this.dr.left;
|
|
331
|
+
this.l.a7 = this.dr.top;
|
|
332
|
+
this.l.a8 = this.dr.width;
|
|
333
|
+
this.l.a5 = this.dr.height;
|
|
334
|
+
}
|
|
335
|
+
this.c4(this.an, this.dn);
|
|
336
|
+
this.cw(this.an, this.dm);
|
|
337
|
+
this.c7(this.an, this.h);
|
|
338
|
+
this.c0(this.l, this.bt, this.bw);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
c0(a, b, c) {
|
|
342
|
+
a.svg = null;
|
|
343
|
+
a.svgPath = null;
|
|
344
|
+
a.b = null;
|
|
345
|
+
a.b0 = null;
|
|
346
|
+
a.bh = null;
|
|
347
|
+
let d = SvgIconRegistry.instance.getSvgPathString(this.bl, this.bm);
|
|
348
|
+
if (d != null) {
|
|
349
|
+
if (stringStartsWith(d, "<svg")) {
|
|
350
|
+
a.svg = d;
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
a.svgPath = d;
|
|
354
|
+
}
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
let e = SvgIconRegistry.instance.getSvgPathsString(this.bl, this.bm);
|
|
358
|
+
if (e != null) {
|
|
359
|
+
a.b = e;
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
let f = SvgIconRegistry.instance.getDataURLString(this.bl, this.bm);
|
|
363
|
+
if (f != null) {
|
|
364
|
+
a.b0 = f;
|
|
365
|
+
return;
|
|
366
|
+
}
|
|
367
|
+
let g = SvgIconRegistry.instance.getIconSource(this.bl, this.bm);
|
|
368
|
+
if (g != null) {
|
|
369
|
+
a.bh = g;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
b7() {
|
|
373
|
+
this.az = 10;
|
|
374
|
+
this.ay = this.bg * 24;
|
|
375
|
+
this.a0 = 24;
|
|
376
|
+
if (this.am == null) {
|
|
377
|
+
this.am = this.ai.createElement("div");
|
|
378
|
+
this.am.setRawStyleProperty("display", "inline-block");
|
|
379
|
+
this.am.setRawStyleProperty("vertical-align", "middle");
|
|
380
|
+
this.am.setRawStyleProperty("width", this.a0 + "px");
|
|
381
|
+
this.am.setRawStyleProperty("height", this.a0 + "px");
|
|
382
|
+
this.am.setRawStyleProperty("cursor", "pointer");
|
|
383
|
+
this.am.setRawStyleProperty("position", "absolute");
|
|
384
|
+
this.am.setRawXPosition(this.a5 + this.ay);
|
|
385
|
+
this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
|
|
386
|
+
}
|
|
387
|
+
if (this.j == null) {
|
|
388
|
+
let a = this.ai.getSubRenderer(this.am);
|
|
389
|
+
this.j = new GridExpansionIndicator();
|
|
390
|
+
this.j.ab(a);
|
|
391
|
+
this.j.y(24, 24);
|
|
392
|
+
}
|
|
393
|
+
if (this.am.parent() == null) {
|
|
394
|
+
this.al.append(this.am);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
cr() {
|
|
398
|
+
this.a0 = 0;
|
|
399
|
+
this.az = 0;
|
|
400
|
+
if (this.am != null) {
|
|
401
|
+
if (this.am.parent() != null) {
|
|
402
|
+
this.am.remove();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
208
405
|
}
|
|
209
406
|
get z() {
|
|
210
|
-
return this.
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
this.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
this.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
this.
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
407
|
+
return this.r;
|
|
408
|
+
}
|
|
409
|
+
set z(a) {
|
|
410
|
+
this.r = a;
|
|
411
|
+
}
|
|
412
|
+
get_ae() {
|
|
413
|
+
return false;
|
|
414
|
+
}
|
|
415
|
+
get ae() {
|
|
416
|
+
return this.get_ae();
|
|
417
|
+
}
|
|
418
|
+
c3(a, b, c, d) {
|
|
419
|
+
this.a5 = a;
|
|
420
|
+
this.a7 = b;
|
|
421
|
+
this.a6 = c;
|
|
422
|
+
this.a4 = d;
|
|
423
|
+
this.al.setRawStyleProperty("padding-left", a.toString() + "px");
|
|
424
|
+
this.al.setRawStyleProperty("padding-top", b.toString() + "px");
|
|
425
|
+
this.al.setRawStyleProperty("padding-right", c.toString() + "px");
|
|
426
|
+
this.al.setRawStyleProperty("padding-bottom", d.toString() + "px");
|
|
427
|
+
}
|
|
428
|
+
cu(a, b, c, d, e) {
|
|
429
|
+
this.as = b;
|
|
430
|
+
this.au = c;
|
|
431
|
+
this.at = d;
|
|
432
|
+
this.ar = e;
|
|
433
|
+
this.di = a;
|
|
228
434
|
if (a == null) {
|
|
229
|
-
this.
|
|
435
|
+
this.al.setRawStyleProperty("border", "");
|
|
230
436
|
}
|
|
231
437
|
else {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
438
|
+
this.al.setRawStyleProperty("border-color", a._fill);
|
|
439
|
+
this.al.setRawStyleProperty("border-left-width", b.toString() + "px");
|
|
440
|
+
this.al.setRawStyleProperty("border-top-width", c.toString() + "px");
|
|
441
|
+
this.al.setRawStyleProperty("border-right-width", d.toString() + "px");
|
|
442
|
+
this.al.setRawStyleProperty("border-bottom-width", e.toString() + "px");
|
|
443
|
+
this.al.setRawStyleProperty("border-style", "solid");
|
|
238
444
|
}
|
|
239
445
|
}
|
|
240
|
-
|
|
446
|
+
get_ac() {
|
|
241
447
|
return false;
|
|
242
448
|
}
|
|
243
|
-
get
|
|
244
|
-
return this.
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
449
|
+
get ac() {
|
|
450
|
+
return this.get_ac();
|
|
451
|
+
}
|
|
452
|
+
get be() {
|
|
453
|
+
return this.a1;
|
|
454
|
+
}
|
|
455
|
+
get bh() {
|
|
456
|
+
return this.ba;
|
|
457
|
+
}
|
|
458
|
+
get bf() {
|
|
459
|
+
return this.a2;
|
|
460
|
+
}
|
|
461
|
+
cy(a, b) {
|
|
462
|
+
if (this.a1 != a || this.a2 != b) {
|
|
463
|
+
let c = this.a1;
|
|
464
|
+
this.a1 = a;
|
|
465
|
+
this.a2 = b;
|
|
466
|
+
let d = Math.max(0, this.a1 - this.a2);
|
|
467
|
+
this.al.setRawStyleProperty("height", a.toString() + "px");
|
|
468
|
+
if (this.am != null) {
|
|
469
|
+
this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.a0, 2));
|
|
256
470
|
}
|
|
257
|
-
this.
|
|
471
|
+
this.c9(this.ba, this.a1, this.ba, c);
|
|
258
472
|
}
|
|
259
473
|
}
|
|
260
|
-
|
|
261
|
-
if (this.
|
|
262
|
-
let c = this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
474
|
+
c8(a, b) {
|
|
475
|
+
if (this.ba != a) {
|
|
476
|
+
let c = this.ba;
|
|
477
|
+
this.ba = a;
|
|
478
|
+
this.al.setRawStyleProperty("width", a.toString() + "px");
|
|
479
|
+
this.c9(this.ba, this.a1, c, this.a1);
|
|
266
480
|
}
|
|
267
481
|
}
|
|
268
|
-
|
|
482
|
+
c9(a, b, c, d) {
|
|
269
483
|
}
|
|
270
|
-
|
|
271
|
-
if (!this.
|
|
484
|
+
b5() {
|
|
485
|
+
if (!this.ae) {
|
|
272
486
|
return;
|
|
273
487
|
}
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
488
|
+
this.r = true;
|
|
489
|
+
this.k = new PlaceholderView(this.ai);
|
|
276
490
|
this.g = 0;
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
491
|
+
this.i = 1;
|
|
492
|
+
this.k.l = Color.u(120, 120, 120, 120);
|
|
493
|
+
this.k.i = 0;
|
|
494
|
+
this.al.append(this.k.g);
|
|
495
|
+
}
|
|
496
|
+
ct(a) {
|
|
497
|
+
this.al.setRawStyleProperty("background-color", a.colorString);
|
|
281
498
|
}
|
|
282
|
-
|
|
283
|
-
this.
|
|
499
|
+
c2(a) {
|
|
500
|
+
this.al.setRawStyleProperty("opacity", a.toString());
|
|
284
501
|
}
|
|
285
|
-
|
|
286
|
-
|
|
502
|
+
cx(a, b) {
|
|
503
|
+
if (b == null) {
|
|
504
|
+
b = FontUtil.getDefaultFont(this.ak);
|
|
505
|
+
}
|
|
506
|
+
a.setRawStyleProperty("font", b.fontString);
|
|
287
507
|
}
|
|
288
|
-
|
|
508
|
+
c6(a, b) {
|
|
509
|
+
let c = Color.u(0, 0, 0, 0);
|
|
510
|
+
if (b != null) {
|
|
511
|
+
c = b.color;
|
|
512
|
+
}
|
|
513
|
+
a.setRawStyleProperty("color", c.colorString);
|
|
514
|
+
}
|
|
515
|
+
c4(a, b) {
|
|
516
|
+
let c = Color.u(0, 0, 0, 0);
|
|
517
|
+
if (b != null) {
|
|
518
|
+
c = b.color;
|
|
519
|
+
}
|
|
520
|
+
a.setRawStyleProperty("stroke", c.colorString);
|
|
521
|
+
}
|
|
522
|
+
cw(a, b) {
|
|
523
|
+
let c = Color.u(0, 0, 0, 0);
|
|
524
|
+
if (b != null) {
|
|
525
|
+
c = b.color;
|
|
526
|
+
}
|
|
527
|
+
a.setRawStyleProperty("fill", c.colorString);
|
|
528
|
+
}
|
|
529
|
+
c5(a, b) {
|
|
530
|
+
if (a != null) {
|
|
531
|
+
a.setRawText(b);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
q() {
|
|
289
535
|
if (TestRandomness.instance.testRandomnessSource != null) {
|
|
290
536
|
return TestRandomness.instance.testRandomnessSource;
|
|
291
537
|
}
|
|
292
|
-
return new DefaultRandomnessSource(1, GridCellBase.
|
|
538
|
+
return new DefaultRandomnessSource(1, GridCellBase.bi);
|
|
293
539
|
}
|
|
294
|
-
|
|
295
|
-
let a = this.
|
|
540
|
+
p() {
|
|
541
|
+
let a = this.q();
|
|
296
542
|
return a.getGenerator("PlaceholderWidths");
|
|
297
543
|
}
|
|
298
|
-
|
|
299
|
-
if (!this.
|
|
544
|
+
dh(a) {
|
|
545
|
+
if (!this.ae) {
|
|
300
546
|
return;
|
|
301
547
|
}
|
|
302
|
-
this.
|
|
548
|
+
this.k.i = (a * 0.20000000298023224);
|
|
303
549
|
}
|
|
304
|
-
|
|
305
|
-
if (this.
|
|
306
|
-
let e = this.
|
|
307
|
-
let f = this.
|
|
308
|
-
if (this.
|
|
550
|
+
df(a, b, c, d) {
|
|
551
|
+
if (this.k != null) {
|
|
552
|
+
let e = this.ah;
|
|
553
|
+
let f = this.ag;
|
|
554
|
+
if (this.i == 1) {
|
|
309
555
|
b = truncate((b + (d / 2) - (f / 2)));
|
|
310
556
|
}
|
|
311
|
-
else if (this.
|
|
557
|
+
else if (this.i == 2) {
|
|
312
558
|
b = truncate((b + (d) - (f)));
|
|
313
559
|
}
|
|
314
560
|
if (this.g == 1) {
|
|
@@ -317,182 +563,192 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
317
563
|
else if (this.g == 2) {
|
|
318
564
|
a = truncate((a + (c) - (e)));
|
|
319
565
|
}
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
566
|
+
this.k.g.setRawXPosition(a);
|
|
567
|
+
this.k.g.setRawYPosition(b);
|
|
322
568
|
}
|
|
323
569
|
}
|
|
324
|
-
|
|
570
|
+
cf(a, b, c) {
|
|
571
|
+
}
|
|
572
|
+
cl(a) {
|
|
573
|
+
this.h = a;
|
|
574
|
+
if (this.ao != null) {
|
|
575
|
+
this.c7(this.ao, a);
|
|
576
|
+
}
|
|
325
577
|
}
|
|
326
|
-
|
|
327
|
-
if (!this.
|
|
578
|
+
dg(a) {
|
|
579
|
+
if (!this.ae) {
|
|
328
580
|
return;
|
|
329
581
|
}
|
|
330
582
|
let b = DeviceUtils.f(12);
|
|
331
|
-
if (a.
|
|
332
|
-
b = a.
|
|
583
|
+
if (a.aj != null && !isNaN_(a.aj.f)) {
|
|
584
|
+
b = a.aj.f;
|
|
333
585
|
}
|
|
334
|
-
if (this.
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
586
|
+
if (this.ag != b) {
|
|
587
|
+
this.ag = b;
|
|
588
|
+
this.k.d = (b);
|
|
337
589
|
}
|
|
338
|
-
let c = a.
|
|
339
|
-
let d = a.
|
|
340
|
-
if (this.
|
|
590
|
+
let c = a.h2 * 0.2;
|
|
591
|
+
let d = a.f6 * 0.6;
|
|
592
|
+
if (this.ah >= c && this.ah <= d && !this.y) {
|
|
341
593
|
return;
|
|
342
594
|
}
|
|
343
|
-
this.
|
|
344
|
-
if (GridCellBase.
|
|
345
|
-
GridCellBase.
|
|
595
|
+
this.y = false;
|
|
596
|
+
if (GridCellBase.o == null) {
|
|
597
|
+
GridCellBase.o = this.p();
|
|
346
598
|
}
|
|
347
|
-
let e = (GridCellBase.
|
|
348
|
-
if (this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
599
|
+
let e = (GridCellBase.o.nextDouble() * (d - c) + c);
|
|
600
|
+
if (this.ah != e) {
|
|
601
|
+
this.ah = e;
|
|
602
|
+
this.k.e = e;
|
|
351
603
|
}
|
|
352
|
-
this.
|
|
604
|
+
this.df(this.a5 + this.ay + this.a0, this.a7, this.ba - (this.a5 + this.a6), this.a1 - (this.a7 + this.a4));
|
|
353
605
|
}
|
|
354
|
-
|
|
355
|
-
if (!this.
|
|
606
|
+
dd(a, b) {
|
|
607
|
+
if (!this.ae) {
|
|
356
608
|
return;
|
|
357
609
|
}
|
|
358
610
|
this.g = a;
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
611
|
+
this.i = b;
|
|
612
|
+
this.y = true;
|
|
361
613
|
}
|
|
362
|
-
|
|
363
|
-
if (!this.
|
|
614
|
+
de(a) {
|
|
615
|
+
if (!this.ae) {
|
|
364
616
|
return;
|
|
365
617
|
}
|
|
366
618
|
if (a != null) {
|
|
367
|
-
this.
|
|
619
|
+
this.k.l = a.color;
|
|
368
620
|
}
|
|
369
621
|
}
|
|
370
|
-
|
|
622
|
+
cs(a) {
|
|
371
623
|
this.a = a;
|
|
372
624
|
}
|
|
373
|
-
|
|
625
|
+
c1(a) {
|
|
374
626
|
this.e = a;
|
|
375
627
|
}
|
|
376
|
-
|
|
628
|
+
cv(a) {
|
|
377
629
|
this.c = a;
|
|
378
630
|
}
|
|
379
|
-
|
|
631
|
+
cz(a, b) {
|
|
380
632
|
switch (b) {
|
|
381
633
|
case 0:
|
|
382
|
-
this.
|
|
634
|
+
this.ap.setRawStyleProperty("text-align", "left");
|
|
383
635
|
break;
|
|
384
636
|
case 1:
|
|
385
|
-
this.
|
|
637
|
+
this.ap.setRawStyleProperty("text-align", "center");
|
|
386
638
|
break;
|
|
387
639
|
case 2:
|
|
388
|
-
this.
|
|
640
|
+
this.ap.setRawStyleProperty("text-align", "right");
|
|
389
641
|
break;
|
|
390
642
|
case 3:
|
|
391
|
-
this.
|
|
643
|
+
this.ap.setRawStyleProperty("text-align", "center");
|
|
392
644
|
break;
|
|
393
645
|
}
|
|
394
646
|
}
|
|
395
|
-
|
|
647
|
+
c7(a, b) {
|
|
396
648
|
switch (b) {
|
|
397
649
|
case 0:
|
|
398
650
|
a.setRawStyleProperty("vertical-align", "top");
|
|
651
|
+
a.setRawStyleProperty("align-self", "flex-start");
|
|
399
652
|
break;
|
|
400
653
|
case 1:
|
|
401
|
-
a.setRawStyleProperty("vertical-align", "
|
|
654
|
+
a.setRawStyleProperty("vertical-align", "middle");
|
|
655
|
+
a.setRawStyleProperty("align-self", "center");
|
|
402
656
|
break;
|
|
403
657
|
case 2:
|
|
404
658
|
a.setRawStyleProperty("vertical-align", "bottom");
|
|
659
|
+
a.setRawStyleProperty("align-self", "flex-end");
|
|
405
660
|
break;
|
|
406
661
|
case 3:
|
|
407
662
|
a.setRawStyleProperty("vertical-align", "center");
|
|
663
|
+
a.setRawStyleProperty("align-self", "center");
|
|
408
664
|
break;
|
|
409
665
|
}
|
|
410
666
|
}
|
|
411
|
-
|
|
667
|
+
af(a) {
|
|
412
668
|
return a.isClickActionDesired;
|
|
413
669
|
}
|
|
414
|
-
|
|
670
|
+
b8(a) {
|
|
415
671
|
this.onContactStarted(a, false);
|
|
416
672
|
}
|
|
417
|
-
|
|
673
|
+
cc(a) {
|
|
418
674
|
this.onContactCompleted(a, false);
|
|
419
675
|
}
|
|
420
|
-
|
|
676
|
+
cb(a) {
|
|
421
677
|
this.onContactMoved(a, false);
|
|
422
678
|
}
|
|
423
|
-
|
|
424
|
-
this.
|
|
679
|
+
ca(a) {
|
|
680
|
+
this.ce(a, false);
|
|
425
681
|
}
|
|
426
|
-
|
|
427
|
-
this.
|
|
682
|
+
b9(a) {
|
|
683
|
+
this.cd(a, false);
|
|
428
684
|
}
|
|
429
|
-
|
|
685
|
+
cm(e_) {
|
|
430
686
|
let a = (e_.originalEvent.pointerType);
|
|
431
687
|
if (a == "touch") {
|
|
432
|
-
this.
|
|
688
|
+
this.da(e_);
|
|
433
689
|
}
|
|
434
690
|
else {
|
|
435
|
-
this.
|
|
691
|
+
this.b8(e_);
|
|
436
692
|
}
|
|
437
693
|
}
|
|
438
|
-
|
|
694
|
+
cp(e_) {
|
|
439
695
|
let a = (e_.originalEvent.pointerType);
|
|
440
696
|
if (a == "touch") {
|
|
441
|
-
this.
|
|
697
|
+
this.db(e_);
|
|
442
698
|
}
|
|
443
699
|
else {
|
|
444
|
-
this.
|
|
700
|
+
this.cb(e_);
|
|
445
701
|
}
|
|
446
702
|
}
|
|
447
|
-
|
|
703
|
+
cq(e_) {
|
|
448
704
|
let a = (e_.originalEvent.pointerType);
|
|
449
705
|
if (a == "touch") {
|
|
450
|
-
this.
|
|
706
|
+
this.dc(e_);
|
|
451
707
|
}
|
|
452
708
|
else {
|
|
453
|
-
this.
|
|
709
|
+
this.cc(e_);
|
|
454
710
|
}
|
|
455
711
|
}
|
|
456
|
-
|
|
712
|
+
co(e_) {
|
|
457
713
|
let a = (e_.originalEvent.pointerType);
|
|
458
714
|
if (a != "touch") {
|
|
459
|
-
this.
|
|
715
|
+
this.ca(e_);
|
|
460
716
|
}
|
|
461
717
|
}
|
|
462
|
-
|
|
718
|
+
cn(e_) {
|
|
463
719
|
let a = (e_.originalEvent.pointerType);
|
|
464
720
|
if (a != "touch") {
|
|
465
|
-
this.
|
|
721
|
+
this.b9(e_);
|
|
466
722
|
}
|
|
467
723
|
}
|
|
468
|
-
|
|
724
|
+
da(a) {
|
|
469
725
|
this.onContactStarted(a, true);
|
|
470
726
|
}
|
|
471
|
-
|
|
727
|
+
db(a) {
|
|
472
728
|
this.onContactMoved(a, true);
|
|
473
729
|
}
|
|
474
|
-
|
|
730
|
+
dc(a) {
|
|
475
731
|
this.onContactCompleted(a, true);
|
|
476
732
|
}
|
|
477
733
|
onContactStarted(e_, a) {
|
|
478
734
|
let b = false;
|
|
479
|
-
if (this.
|
|
480
|
-
let indicator_ = this.
|
|
735
|
+
if (this.aa) {
|
|
736
|
+
let indicator_ = this.j.q();
|
|
481
737
|
b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
|
|
482
738
|
}
|
|
483
|
-
this.
|
|
739
|
+
this.s = false;
|
|
484
740
|
if (b) {
|
|
485
|
-
this.
|
|
741
|
+
this.s = true;
|
|
486
742
|
}
|
|
487
743
|
else {
|
|
488
|
-
if (this.a != null && this.
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
if (this.
|
|
492
|
-
this.
|
|
744
|
+
if (this.a != null && this.af(this.a)) {
|
|
745
|
+
this.bj = e_.pageX;
|
|
746
|
+
this.bk = e_.pageY;
|
|
747
|
+
if (this.a9 != e_.which) {
|
|
748
|
+
this.av = 0;
|
|
493
749
|
}
|
|
494
|
-
this.
|
|
495
|
-
this.a.mouseDownCell(this.
|
|
750
|
+
this.a9 = e_.which;
|
|
751
|
+
this.a.mouseDownCell(this.bj, this.bk);
|
|
496
752
|
}
|
|
497
753
|
}
|
|
498
754
|
}
|
|
@@ -500,10 +756,10 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
500
756
|
if (this.a != null) {
|
|
501
757
|
let c = a.pageX;
|
|
502
758
|
let d = a.pageY;
|
|
503
|
-
if (this.
|
|
759
|
+
if (this.af(this.a)) {
|
|
504
760
|
if (this.a.isMouseDown) {
|
|
505
761
|
if (b) {
|
|
506
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
762
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a8 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a8) {
|
|
507
763
|
this.a.mouseUpCell(c, d);
|
|
508
764
|
}
|
|
509
765
|
else {
|
|
@@ -514,8 +770,8 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
514
770
|
if (PointUtil.equals(this.a.mousePosition, null)) {
|
|
515
771
|
this.a.mouseUpCell(c, d);
|
|
516
772
|
}
|
|
517
|
-
else if (this.
|
|
518
|
-
if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
773
|
+
else if (this.a9 == 1) {
|
|
774
|
+
if (Math.abs(c - this.a.mousePosition.x) > GridCellBase.aw || Math.abs(d - this.a.mousePosition.y) > GridCellBase.aw) {
|
|
519
775
|
this.a.isControlPressed = a.ctrlKey;
|
|
520
776
|
this.a.dragStarted();
|
|
521
777
|
}
|
|
@@ -529,28 +785,28 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
529
785
|
}
|
|
530
786
|
}
|
|
531
787
|
onContactCompleted(e_, a) {
|
|
532
|
-
this.
|
|
533
|
-
window.setTimeout(() => this.
|
|
788
|
+
this.av++;
|
|
789
|
+
window.setTimeout(() => this.av = 0, 250);
|
|
534
790
|
let b = false;
|
|
535
|
-
if (this.
|
|
536
|
-
let indicator_ = this.
|
|
791
|
+
if (this.aa) {
|
|
792
|
+
let indicator_ = this.j.q();
|
|
537
793
|
b = (e_.originalEvent.srcElement === indicator_ || e_.originalEvent.target === indicator_);
|
|
538
794
|
}
|
|
539
|
-
if (this.
|
|
795
|
+
if (this.s && b) {
|
|
540
796
|
this.b.clickExpansionIndicator();
|
|
541
797
|
}
|
|
542
798
|
else {
|
|
543
|
-
if (this.a != null && this.
|
|
799
|
+
if (this.a != null && this.af(this.a)) {
|
|
544
800
|
let c = e_.pageX;
|
|
545
801
|
let d = e_.pageY;
|
|
546
|
-
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.
|
|
802
|
+
if (PointUtil.equals(this.a.mousePosition, null) || Math.abs(c - this.a.mousePosition.x) > GridCellBase.a8 || Math.abs(d - this.a.mousePosition.y) > GridCellBase.a8 || this.a.isDrag) {
|
|
547
803
|
this.a.mouseUpCell(c, d);
|
|
548
804
|
}
|
|
549
805
|
if (this.a.isCellDown()) {
|
|
550
806
|
this.a.isControlPressed = e_.ctrlKey;
|
|
551
807
|
this.a.isShiftPressed = e_.shiftKey;
|
|
552
|
-
if (this.
|
|
553
|
-
switch (this.
|
|
808
|
+
if (this.av > 1) {
|
|
809
|
+
switch (this.a9) {
|
|
554
810
|
case 1:
|
|
555
811
|
this.a.doubleClicked(0);
|
|
556
812
|
break;
|
|
@@ -585,11 +841,11 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
585
841
|
}
|
|
586
842
|
}
|
|
587
843
|
}
|
|
588
|
-
this.
|
|
844
|
+
this.s = false;
|
|
589
845
|
}
|
|
590
|
-
|
|
846
|
+
ce(a, b) {
|
|
591
847
|
if (this.a != null) {
|
|
592
|
-
if (this.
|
|
848
|
+
if (this.af(this.a)) {
|
|
593
849
|
if (this.a.isMouseDown) {
|
|
594
850
|
if (!b && PointUtil.notEquals(this.a.mousePosition, null)) {
|
|
595
851
|
this.a.isControlPressed = a.ctrlKey;
|
|
@@ -604,7 +860,7 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
604
860
|
}
|
|
605
861
|
}
|
|
606
862
|
}
|
|
607
|
-
|
|
863
|
+
cd(a, b) {
|
|
608
864
|
if (this.a != null && this.a.isEnterActionDesired) {
|
|
609
865
|
let c = a.pageX;
|
|
610
866
|
let d = a.pageY;
|
|
@@ -613,42 +869,56 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
613
869
|
}
|
|
614
870
|
onDoubleClick(a) {
|
|
615
871
|
}
|
|
616
|
-
|
|
872
|
+
ch(a, b, c) {
|
|
617
873
|
switch (a) {
|
|
618
874
|
case "Indent":
|
|
619
|
-
this.
|
|
620
|
-
this.
|
|
621
|
-
if (this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
875
|
+
this.ay = this.bg * 24;
|
|
876
|
+
this.az = this.bg > 0 ? 10 : 0;
|
|
877
|
+
if (this.am != null) {
|
|
878
|
+
this.am.setRawXPosition(this.a5 + this.ay);
|
|
879
|
+
this.am.setRawYPosition(intDivide(this.a1, 2) - intDivide(this.ax, 2));
|
|
624
880
|
}
|
|
625
881
|
break;
|
|
626
882
|
case "IsCollapsable":
|
|
627
|
-
if (this.
|
|
628
|
-
this.
|
|
883
|
+
if (this.aa) {
|
|
884
|
+
this.b7();
|
|
629
885
|
}
|
|
630
886
|
else {
|
|
631
|
-
this.
|
|
887
|
+
this.cr();
|
|
632
888
|
}
|
|
633
889
|
break;
|
|
634
890
|
case "IsExpanded":
|
|
635
|
-
if (this.
|
|
636
|
-
this.
|
|
891
|
+
if (this.j != null) {
|
|
892
|
+
this.j.g = this.ab;
|
|
637
893
|
}
|
|
638
894
|
break;
|
|
639
895
|
case "IsHitTestVisible":
|
|
640
|
-
this.
|
|
896
|
+
this.ap.setRawStyleProperty("pointer-events", this.ad ? "auto" : "none");
|
|
897
|
+
break;
|
|
898
|
+
case "SuffixText":
|
|
899
|
+
this.ci();
|
|
900
|
+
break;
|
|
901
|
+
case "SuffixIconName":
|
|
902
|
+
case "SuffixIconCollectionName":
|
|
903
|
+
this.cj();
|
|
904
|
+
break;
|
|
905
|
+
case "SuffixTextColor":
|
|
906
|
+
case "SuffixTextFont":
|
|
907
|
+
case "SuffixIconStroke":
|
|
908
|
+
case "SuffixIconFill":
|
|
909
|
+
case "SuffixIconViewBox":
|
|
910
|
+
this.ck();
|
|
641
911
|
break;
|
|
642
912
|
}
|
|
643
913
|
}
|
|
644
|
-
|
|
914
|
+
cg() {
|
|
645
915
|
}
|
|
646
|
-
|
|
647
|
-
this.
|
|
916
|
+
b6() {
|
|
917
|
+
this.al.focus(true);
|
|
648
918
|
}
|
|
649
|
-
|
|
919
|
+
b4() {
|
|
650
920
|
if (this.a != null) {
|
|
651
|
-
let a = this.
|
|
921
|
+
let a = this.al.clone();
|
|
652
922
|
this.a.passCellClone(a);
|
|
653
923
|
}
|
|
654
924
|
}
|
|
@@ -656,9 +926,9 @@ export let GridCellBase = /*@__PURE__*/ (() => {
|
|
|
656
926
|
}
|
|
657
927
|
}
|
|
658
928
|
GridCellBase.$t = markType(GridCellBase, 'GridCellBase', Base.$, [INativeCell_$type]);
|
|
659
|
-
GridCellBase.
|
|
660
|
-
GridCellBase.
|
|
661
|
-
GridCellBase.
|
|
662
|
-
GridCellBase.
|
|
929
|
+
GridCellBase.o = null;
|
|
930
|
+
GridCellBase.bi = new Random(0);
|
|
931
|
+
GridCellBase.a8 = 10;
|
|
932
|
+
GridCellBase.aw = 3;
|
|
663
933
|
return GridCellBase;
|
|
664
934
|
})();
|