igniteui-angular-data-grids 21.0.1 → 21.1.0-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 +15844 -13294
- package/bundles/igniteui-angular-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +39 -36
- package/esm2015/lib/CheckboxListBridge.js +36 -36
- package/esm2015/lib/CheckboxListView_combined.js +417 -412
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +8357 -7096
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +13 -13
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm2015/lib/ContentCellModelHelper.js +10 -10
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +3 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +3 -3
- package/esm2015/lib/DateTimeCellPresenter.js +9 -9
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/DraggerView.js +8 -8
- package/esm2015/lib/EditorCell.js +291 -291
- package/esm2015/lib/EditorCellPresenter.js +26 -26
- package/esm2015/lib/FilterCell.js +269 -269
- package/esm2015/lib/FilterCellPresenter.js +15 -15
- package/esm2015/lib/GridCellBase.js +171 -154
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +12 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +367 -261
- package/esm2015/lib/GridIconRepository.js +94 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm2015/lib/GridStyleRepository.js +123 -115
- package/esm2015/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/ImageCell.js +57 -57
- package/esm2015/lib/ImageCellPresenter.js +15 -15
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm2015/lib/NativeUIComboFactory.js +1 -1
- package/esm2015/lib/NativeUIGridFactory.js +2 -2
- package/esm2015/lib/NumericCell.js +8 -8
- package/esm2015/lib/NumericCellPresenter.js +9 -9
- package/esm2015/lib/PropertyEditorView_combined.js +23 -23
- package/esm2015/lib/SectionHeaderCell.js +22 -10
- package/esm2015/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm2015/lib/SummaryCell.js +47 -38
- package/esm2015/lib/SummaryCellPresenter.js +10 -10
- package/esm2015/lib/TemplateCell.js +16 -16
- package/esm2015/lib/TemplateCellPresenter.js +3 -3
- package/esm2015/lib/TemplateHeader.js +5 -5
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm2015/lib/TemplateSectionHeader.js +1 -1
- package/esm2015/lib/TextCell.js +29 -29
- package/esm2015/lib/TextCellPresenter.js +10 -10
- package/esm2015/lib/TextHeaderCell.js +188 -153
- package/esm2015/lib/TextHeaderCellPresenter.js +58 -39
- package/esm2015/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm2015/lib/VerticalSeparatorCell.js +37 -37
- package/esm2015/lib/igx-cell-info.js +115 -91
- package/esm2015/lib/igx-checkbox-list-component.js +46 -47
- 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-binding-event-args.js +27 -22
- package/esm2015/lib/igx-data-grid-column-component.js +289 -163
- package/esm2015/lib/igx-data-grid-component.js +163 -2
- package/esm2015/lib/igx-data-grid-filter-dialog-component.js +105 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -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-image-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-numeric-cell-info.js +35 -26
- package/esm2015/lib/igx-numeric-column-component.js +43 -31
- package/esm2015/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm2015/lib/igx-section-header-cell-info.js +6 -6
- package/esm2015/lib/igx-section-header-component.js +55 -17
- package/esm2015/lib/igx-section-header-dynamic-module.js +2 -0
- 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-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-header-cell-info.js +2 -2
- package/esm2015/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm2015/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm2015/lib/igx-text-header-cell-info.js +74 -24
- package/esm2015/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasSummaryCellPresenter.js +6 -6
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +39 -36
- package/esm5/lib/CheckboxListBridge.js +36 -36
- package/esm5/lib/CheckboxListView_combined.js +400 -395
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +8293 -6823
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +13 -13
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +8 -8
- package/esm5/lib/ContentCellModelHelper.js +10 -10
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +3 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm5/lib/DataGridToolbarView_combined.js +3 -3
- package/esm5/lib/DateTimeCellPresenter.js +9 -9
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/DraggerView.js +8 -8
- package/esm5/lib/EditorCell.js +277 -277
- package/esm5/lib/EditorCellPresenter.js +26 -26
- package/esm5/lib/FilterCell.js +259 -259
- package/esm5/lib/FilterCellPresenter.js +15 -15
- package/esm5/lib/GridCellBase.js +168 -147
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +15 -15
- 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/GridColumnOptionsViewBase_combined.js +2 -2
- 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/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +12 -6
- package/esm5/lib/GridFilterDialogView_combined.js +381 -247
- package/esm5/lib/GridIconRepository.js +98 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm5/lib/GridStyleRepository.js +127 -115
- package/esm5/lib/GridStyleRepositoryKeys.js +1 -1
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/ImageCell.js +57 -57
- package/esm5/lib/ImageCellPresenter.js +15 -15
- package/esm5/lib/MultiColumnComboBoxView_combined.js +14 -14
- package/esm5/lib/NativeUIComboFactory.js +1 -1
- package/esm5/lib/NativeUIGridFactory.js +2 -2
- package/esm5/lib/NumericCell.js +8 -8
- package/esm5/lib/NumericCellPresenter.js +9 -9
- package/esm5/lib/PropertyEditorView_combined.js +23 -23
- package/esm5/lib/SectionHeaderCell.js +22 -10
- package/esm5/lib/SectionHeaderCellPresenter.js +10 -10
- package/esm5/lib/SummaryCell.js +47 -38
- package/esm5/lib/SummaryCellPresenter.js +10 -10
- package/esm5/lib/TemplateCell.js +16 -16
- package/esm5/lib/TemplateCellPresenter.js +3 -3
- package/esm5/lib/TemplateHeader.js +5 -5
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +3 -3
- package/esm5/lib/TemplateSectionHeader.js +1 -1
- package/esm5/lib/TextCell.js +29 -29
- package/esm5/lib/TextCellPresenter.js +10 -10
- package/esm5/lib/TextHeaderCell.js +186 -151
- package/esm5/lib/TextHeaderCellPresenter.js +58 -39
- package/esm5/lib/TextIconSetConditionalStyle.js +1 -1
- package/esm5/lib/VerticalSeparatorCell.js +37 -37
- package/esm5/lib/igx-cell-info.js +127 -91
- package/esm5/lib/igx-checkbox-list-component.js +46 -47
- 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-binding-event-args.js +27 -22
- package/esm5/lib/igx-data-grid-column-component.js +341 -163
- package/esm5/lib/igx-data-grid-component.js +213 -2
- package/esm5/lib/igx-data-grid-filter-dialog-component.js +129 -28
- 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-date-time-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-definition-base-component.js +8 -8
- 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-filter-row-definition-dynamic-module.js +2 -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-image-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-numeric-cell-info.js +39 -26
- package/esm5/lib/igx-numeric-column-component.js +47 -31
- package/esm5/lib/igx-numeric-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-row-separator-dynamic-module.js +2 -0
- package/esm5/lib/igx-section-header-cell-info.js +6 -6
- package/esm5/lib/igx-section-header-component.js +71 -17
- package/esm5/lib/igx-section-header-dynamic-module.js +2 -0
- 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-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-header-cell-info.js +2 -2
- package/esm5/lib/igx-template-header-dynamic-module.js +2 -0
- package/esm5/lib/igx-template-section-header-dynamic-module.js +4 -0
- 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-column-dynamic-module.js +2 -0
- package/esm5/lib/igx-text-header-cell-info.js +98 -24
- package/esm5/lib/igx-text-header-dynamic-module.js +2 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-data-grids.js +15287 -13172
- package/fesm5/igniteui-angular-data-grids.js +15844 -13296
- package/lib/CheckboxListView_combined.d.ts +104 -104
- package/lib/ColumnFilterCondition_combined.d.ts +1817 -1681
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +3 -0
- package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
- package/lib/EditorCell.d.ts +67 -67
- package/lib/FilterCell.d.ts +55 -55
- package/lib/GridCellBase.d.ts +64 -61
- package/lib/GridExternalWrapper.d.ts +2 -0
- package/lib/GridFilterDialogView_combined.d.ts +100 -80
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +3 -2
- package/lib/GridStyleRepositoryKeys.d.ts +28 -27
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/ImageCell.d.ts +17 -17
- package/lib/NumericCell.d.ts +2 -2
- package/lib/SectionHeaderCell.d.ts +5 -3
- package/lib/SummaryCell.d.ts +11 -9
- package/lib/TemplateCell.d.ts +5 -5
- package/lib/TemplateHeader.d.ts +1 -1
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/TemplateSectionHeader.d.ts +1 -1
- 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 +15 -0
- package/lib/igx-data-grid-column-component.d.ts +42 -1
- package/lib/igx-data-grid-component.d.ts +61 -1
- package/lib/igx-data-grid-filter-dialog-component.d.ts +32 -1
- package/lib/igx-numeric-cell-info.d.ts +6 -0
- package/lib/igx-numeric-column-component.d.ts +8 -1
- package/lib/igx-section-header-component.d.ts +15 -1
- package/lib/igx-text-header-cell-info.d.ts +16 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -76,7 +76,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
76
76
|
}
|
|
77
77
|
this.n = a;
|
|
78
78
|
this.d = new CanvasGestureDOMEventProxy(this.o.rootWrapper, this.o, true);
|
|
79
|
-
this.d.
|
|
79
|
+
this.d.dc = true;
|
|
80
80
|
let b = this.d;
|
|
81
81
|
b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.z));
|
|
82
82
|
let c = this.d;
|
|
@@ -346,8 +346,8 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
346
346
|
let e = this.c();
|
|
347
347
|
d += e[0];
|
|
348
348
|
c += e[1];
|
|
349
|
-
NativeUI.
|
|
350
|
-
NativeUI.
|
|
349
|
+
NativeUI.x(this.q, a.x + c);
|
|
350
|
+
NativeUI.ah(this.q, a.y + d);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
al(a) {
|
|
@@ -667,7 +667,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
667
667
|
break;
|
|
668
668
|
case "ItemHoverBackgroundColor": break;
|
|
669
669
|
case "BackgroundColor":
|
|
670
|
-
NativeUI.
|
|
670
|
+
NativeUI.n(this.b.u, this.bh);
|
|
671
671
|
break;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
@@ -676,7 +676,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
676
676
|
ba() {
|
|
677
677
|
let a = this.b.w;
|
|
678
678
|
if (this.bm != null) {
|
|
679
|
-
NativeUI.
|
|
679
|
+
NativeUI.r(a, this.bm);
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
a9() {
|
|
@@ -690,13 +690,13 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
690
690
|
let b = this.b.j;
|
|
691
691
|
let c = this.b.k;
|
|
692
692
|
for (let d = 0; d < a.count; d++) {
|
|
693
|
-
NativeUI.
|
|
693
|
+
NativeUI.r(a._inner[d], this.bl);
|
|
694
694
|
}
|
|
695
695
|
for (let e = 0; e < b.count; e++) {
|
|
696
|
-
NativeUI.
|
|
696
|
+
NativeUI.r(b._inner[e], this.bi);
|
|
697
697
|
}
|
|
698
698
|
for (let f = 0; f < c.count; f++) {
|
|
699
|
-
NativeUI.
|
|
699
|
+
NativeUI.n(c._inner[f], this.bj);
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
a3() {
|
|
@@ -734,10 +734,10 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
734
734
|
let c = this.targetGrid.groupDescriptions.j;
|
|
735
735
|
for (let d = 0; d < c.count; d++) {
|
|
736
736
|
let e = new GroupInfo();
|
|
737
|
-
let f = b.i((g) => g.
|
|
737
|
+
let f = b.i((g) => g.nj == c.item(d).f);
|
|
738
738
|
if (f != -1) {
|
|
739
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
740
|
-
e.c = b._inner[f].
|
|
739
|
+
if (!stringIsNullOrEmpty(b._inner[f].nq)) {
|
|
740
|
+
e.c = b._inner[f].nq;
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
e.c = c.item(d).f;
|
|
@@ -768,7 +768,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
768
768
|
let h = a;
|
|
769
769
|
let i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
770
770
|
let j = new ColumnGroupDescription(0);
|
|
771
|
-
j.f = i.
|
|
771
|
+
j.f = i.nj;
|
|
772
772
|
j.c = 1;
|
|
773
773
|
let k = this.targetGrid.groupDescriptions.j.contains(j);
|
|
774
774
|
j.c = 0;
|
|
@@ -932,13 +932,13 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
932
932
|
h.d = i[1] - e;
|
|
933
933
|
h.c = NativeUI.d(f._inner[g]);
|
|
934
934
|
h.f = NativeUI.k(f._inner[g]);
|
|
935
|
-
h.b = AppearanceHelper.a(NativeUI.
|
|
935
|
+
h.b = AppearanceHelper.a(NativeUI.ao(f._inner[g]));
|
|
936
936
|
h.g = f._inner[g].getText();
|
|
937
937
|
a.c.add(h);
|
|
938
938
|
}
|
|
939
939
|
let j = this.b.j;
|
|
940
940
|
for (let k = 0; k < j.count; k++) {
|
|
941
|
-
let l = this.q._inner[k].
|
|
941
|
+
let l = this.q._inner[k].bi();
|
|
942
942
|
let m = this.b.b(j._inner[k]);
|
|
943
943
|
l.i = m[0] - d;
|
|
944
944
|
l.g = m[1] - e;
|
|
@@ -21,9 +21,17 @@ export var ColumnOptionsIconAlignment = /*@__PURE__*/ (function (ColumnOptionsIc
|
|
|
21
21
|
* The icon is aligned with the edge of the column but opposite the alignment of the header text.
|
|
22
22
|
*/
|
|
23
23
|
ColumnOptionsIconAlignment[ColumnOptionsIconAlignment["Opposite"] = 2] = "Opposite";
|
|
24
|
+
/**
|
|
25
|
+
* The icon is always aligned with the left edge of the column.
|
|
26
|
+
*/
|
|
27
|
+
ColumnOptionsIconAlignment[ColumnOptionsIconAlignment["Left"] = 3] = "Left";
|
|
28
|
+
/**
|
|
29
|
+
* The icon is always aligned with the right edge of the column.
|
|
30
|
+
*/
|
|
31
|
+
ColumnOptionsIconAlignment[ColumnOptionsIconAlignment["Right"] = 4] = "Right";
|
|
24
32
|
return ColumnOptionsIconAlignment;
|
|
25
33
|
})({});
|
|
26
34
|
/**
|
|
27
35
|
* @hidden
|
|
28
36
|
*/
|
|
29
|
-
export let ColumnOptionsIconAlignment_$type = markEnum('ColumnOptionsIconAlignment', 'Unset,0|None,1|Opposite,2');
|
|
37
|
+
export let ColumnOptionsIconAlignment_$type = markEnum('ColumnOptionsIconAlignment', 'Unset,0|None,1|Opposite,2|Left,3|Right,4');
|
|
@@ -259,7 +259,7 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
259
259
|
break;
|
|
260
260
|
case "FilterPlaceholderText":
|
|
261
261
|
if (this.d != null) {
|
|
262
|
-
this.d.
|
|
262
|
+
this.d.cf = this.s;
|
|
263
263
|
}
|
|
264
264
|
break;
|
|
265
265
|
case "BaseTheme":
|
|
@@ -304,12 +304,12 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
304
304
|
let b = new ObservableCollection$1(ColumnPinningInfo.$, 0);
|
|
305
305
|
for (let c of fromEnum(this.b.actualColumns)) {
|
|
306
306
|
a = new ColumnPinningInfo();
|
|
307
|
-
let d = c.
|
|
308
|
-
if (c.
|
|
309
|
-
d = c.
|
|
307
|
+
let d = c.nj;
|
|
308
|
+
if (c.nq != null) {
|
|
309
|
+
d = c.nq;
|
|
310
310
|
}
|
|
311
311
|
a.columnName = d;
|
|
312
|
-
if (c.
|
|
312
|
+
if (c.it == 1) {
|
|
313
313
|
a.isPinned = true;
|
|
314
314
|
}
|
|
315
315
|
else {
|
|
@@ -319,7 +319,7 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
319
319
|
}
|
|
320
320
|
this.d.showSelectAll = false;
|
|
321
321
|
if (this.s != null) {
|
|
322
|
-
this.d.
|
|
322
|
+
this.d.cf = this.s;
|
|
323
323
|
}
|
|
324
324
|
this.d.itemsSource = b;
|
|
325
325
|
let e = "";
|
|
@@ -335,17 +335,17 @@ export let ColumnPinning = /*@__PURE__*/ (() => {
|
|
|
335
335
|
let c = this.d.g.actualDataSource.getItemAtIndex(b.c);
|
|
336
336
|
let d = this.b.actualColumns.count;
|
|
337
337
|
for (let e = 0; e < d; e++) {
|
|
338
|
-
if (this.b.actualColumns._inner[e].
|
|
339
|
-
if (this.b.actualColumns._inner[e].
|
|
340
|
-
this.b.actualColumns._inner[e].
|
|
338
|
+
if (this.b.actualColumns._inner[e].nj == c.columnName || this.b.actualColumns._inner[e].ob == c.columnName || this.b.actualColumns._inner[e].nq == c.columnName) {
|
|
339
|
+
if (this.b.actualColumns._inner[e].it == 0) {
|
|
340
|
+
this.b.actualColumns._inner[e].it = 1;
|
|
341
341
|
}
|
|
342
|
-
else if (this.b.actualColumns._inner[e].
|
|
343
|
-
this.b.actualColumns._inner[e].
|
|
342
|
+
else if (this.b.actualColumns._inner[e].it == 2) {
|
|
343
|
+
this.b.actualColumns._inner[e].it = 1;
|
|
344
344
|
}
|
|
345
345
|
else {
|
|
346
|
-
this.b.actualColumns._inner[e].
|
|
346
|
+
this.b.actualColumns._inner[e].it = 0;
|
|
347
347
|
}
|
|
348
|
-
this.b.actualColumns._inner[e].
|
|
348
|
+
this.b.actualColumns._inner[e].pf("Pinned");
|
|
349
349
|
break;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -160,7 +160,7 @@ export let ComparisonOperatorSelectorView = /*@__PURE__*/ (() => {
|
|
|
160
160
|
}
|
|
161
161
|
onDocumentKeyDown(a) {
|
|
162
162
|
let b = a;
|
|
163
|
-
if (BaseDOMEventProxy.
|
|
163
|
+
if (BaseDOMEventProxy.c4(b) == 8) {
|
|
164
164
|
this.a.d8();
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -521,15 +521,15 @@ export let ComparisonOperatorSelector = /*@__PURE__*/ (() => {
|
|
|
521
521
|
$ret.c = false;
|
|
522
522
|
return $ret;
|
|
523
523
|
})());
|
|
524
|
-
this.n.
|
|
525
|
-
this.n.
|
|
526
|
-
this.n.
|
|
524
|
+
this.n.lm = this.n.ln = 4;
|
|
525
|
+
this.n.lo = this.n.ll = 0;
|
|
526
|
+
this.n.nj = "Icon";
|
|
527
527
|
let e = this.n;
|
|
528
528
|
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.el));
|
|
529
529
|
this.f.columns.add(this.n);
|
|
530
530
|
let f = new TextColumn();
|
|
531
|
-
f.
|
|
532
|
-
f.
|
|
531
|
+
f.nj = "DisplayText";
|
|
532
|
+
f.lm = 0;
|
|
533
533
|
f.g = 0;
|
|
534
534
|
this.f.columns.add(f);
|
|
535
535
|
this.d4();
|
|
@@ -832,12 +832,12 @@ export let ComparisonOperatorSelector = /*@__PURE__*/ (() => {
|
|
|
832
832
|
this.em();
|
|
833
833
|
}
|
|
834
834
|
d9(a, b) {
|
|
835
|
-
let c = b.cellInfo.
|
|
835
|
+
let c = b.cellInfo.fq;
|
|
836
836
|
this.i = this.f.actualDataSource.getItemAtIndex(c);
|
|
837
837
|
this.d8();
|
|
838
838
|
}
|
|
839
839
|
el(a, b) {
|
|
840
|
-
this.e.t(b.content, b.cellInfo.
|
|
840
|
+
this.e.t(b.content, b.cellInfo.ij);
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
ComparisonOperatorSelector.$t = markType(ComparisonOperatorSelector, 'ComparisonOperatorSelector', Base.$, [INotifyPropertyChanged_$type]);
|
|
@@ -52,21 +52,21 @@ export let ContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
52
52
|
}
|
|
53
53
|
static a(a, b, c, d, e) {
|
|
54
54
|
if (b.a7) {
|
|
55
|
-
if (b.bc(CellModel.
|
|
55
|
+
if (b.bc(CellModel.fp) || b.bc(CellModel.eu) || b.bc(CellModel.h7) || b.bb("IsRowPinned") || b.bb("IsRowSticky") || b.bb("PinnedRowOpacity")) {
|
|
56
56
|
let f = Math.min(1, Math.max(0, b.c7));
|
|
57
57
|
let g = b.cp * (1 - f);
|
|
58
58
|
d.setRawStyleProperty("opacity", g.toString());
|
|
59
59
|
if (b.bm) {
|
|
60
|
-
e.
|
|
60
|
+
e.dm(b.cp * f);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
if (b.bc(CellModel.e5)) {
|
|
64
|
-
ContentCellModelHelper.c(d, b.
|
|
64
|
+
ContentCellModelHelper.c(d, b.nl);
|
|
65
65
|
if (b.bm) {
|
|
66
|
-
e.
|
|
66
|
+
e.dj(b.nl);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
if (b.bc(CellModel.
|
|
69
|
+
if (b.bc(CellModel.gw)) {
|
|
70
70
|
switch (b.ac) {
|
|
71
71
|
case 0:
|
|
72
72
|
d.setRawStyleProperty("white-space", "nowrap");
|
|
@@ -86,19 +86,19 @@ export let ContentCellModelHelper = /*@__PURE__*/ (() => {
|
|
|
86
86
|
if (b.bb("TextDecoration")) {
|
|
87
87
|
ContentCellModelHelper.d(d, b.aa);
|
|
88
88
|
}
|
|
89
|
-
if (b.bc(CellModel.
|
|
89
|
+
if (b.bc(CellModel.gc) || b.bc(CellModel.h6)) {
|
|
90
90
|
let h = b.g;
|
|
91
91
|
let i = b.i;
|
|
92
92
|
ContentCellModelHelper.b(c, d, h);
|
|
93
|
-
e.
|
|
93
|
+
e.cj(c, d, h);
|
|
94
94
|
ContentCellModelHelper.e(c, d, i);
|
|
95
|
-
e.
|
|
95
|
+
e.cp(i);
|
|
96
96
|
if (b.bm) {
|
|
97
|
-
e.
|
|
97
|
+
e.di(h, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
if (b.bb("ActualFontInfo")) {
|
|
101
|
-
e.
|
|
101
|
+
e.c1(d, b.ah);
|
|
102
102
|
}
|
|
103
103
|
if (b.bb("IsEdited") || b.bb("IsDeleted")) {
|
|
104
104
|
if (b.bd || b.ba) {
|
|
@@ -190,7 +190,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
190
190
|
if (v.bl) {
|
|
191
191
|
m = true;
|
|
192
192
|
}
|
|
193
|
-
if (v.u == 1 && v.
|
|
193
|
+
if (v.u == 1 && v.ic != n) {
|
|
194
194
|
m = true;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -246,8 +246,8 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
246
246
|
ag.nativeCell.isRemoved = false;
|
|
247
247
|
}
|
|
248
248
|
af.u = 2;
|
|
249
|
-
let al = (af.
|
|
250
|
-
let am = (af.
|
|
249
|
+
let al = (af.hh + intDivide(af.h8, 2));
|
|
250
|
+
let am = (af.hj + intDivide(af.ga, 2));
|
|
251
251
|
let an = (al - b) / this.f.actualVisibleRegion.width;
|
|
252
252
|
let ao = (am - a) / this.f.actualVisibleRegion.height;
|
|
253
253
|
if (af.bn) {
|
|
@@ -268,15 +268,15 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
268
268
|
aj.setRawStyleProperty("clip", this.y(af));
|
|
269
269
|
}
|
|
270
270
|
else {
|
|
271
|
-
if (Rect.l_op_Inequality(af.
|
|
272
|
-
aj.setRawStyleProperty("clip", this.x(af.
|
|
271
|
+
if (Rect.l_op_Inequality(af.n8, Rect.empty)) {
|
|
272
|
+
aj.setRawStyleProperty("clip", this.x(af.n8));
|
|
273
273
|
}
|
|
274
274
|
else {
|
|
275
275
|
aj.setRawStyleProperty("clip", "auto");
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
af.
|
|
279
|
+
af.me();
|
|
280
280
|
if (ai) {
|
|
281
281
|
let ap = af.s.nativeCell;
|
|
282
282
|
ap.co(z);
|
|
@@ -284,17 +284,17 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
284
284
|
af.s.modelUpdated(af);
|
|
285
285
|
if (ai && y.b) {
|
|
286
286
|
let aq = y.a;
|
|
287
|
-
aq.
|
|
287
|
+
aq.ac();
|
|
288
288
|
if (af.l.d != 0 && this.f.b2) {
|
|
289
|
-
aq.
|
|
289
|
+
aq.aj(this.ax(af.l.d));
|
|
290
290
|
}
|
|
291
291
|
let ar = af.s.nativeCell;
|
|
292
292
|
ar.b6(aq, y.c, y.d, af.c8, af.c9, z);
|
|
293
|
-
aq.
|
|
293
|
+
aq.ab();
|
|
294
294
|
}
|
|
295
|
-
af.
|
|
295
|
+
af.l7();
|
|
296
296
|
if (m) {
|
|
297
|
-
af.
|
|
297
|
+
af.ic = n;
|
|
298
298
|
if (!ai) {
|
|
299
299
|
aj.setRawStyleProperty("z-index", x.toString());
|
|
300
300
|
}
|
|
@@ -305,7 +305,7 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
305
305
|
}
|
|
306
306
|
this.m = false;
|
|
307
307
|
if (y.a != null && this.q != 1) {
|
|
308
|
-
y.a.
|
|
308
|
+
y.a.ab();
|
|
309
309
|
}
|
|
310
310
|
this.an();
|
|
311
311
|
}
|
|
@@ -518,8 +518,8 @@ export let DataGridCellLayoutPanel = /*@__PURE__*/ (() => {
|
|
|
518
518
|
y(a) {
|
|
519
519
|
let b = a.c8 < this.g.cn ? this.g.cn - a.c8 : 0;
|
|
520
520
|
let c = 0;
|
|
521
|
-
let d = this.g.cy == -1 ? a.
|
|
522
|
-
let e = a.
|
|
521
|
+
let d = this.g.cy == -1 ? a.h8 : (a.c8 + a.h8 > this.g.co) ? a.h8 - (a.c8 + a.h8 - this.g.co) : a.h8;
|
|
522
|
+
let e = a.ga;
|
|
523
523
|
return this.x(new Rect(0, b, c, d, e));
|
|
524
524
|
}
|
|
525
525
|
ah(a, b) {
|
|
@@ -12,6 +12,9 @@ export class DataGridLocaleEn {
|
|
|
12
12
|
this["Column_Move"] = "Move";
|
|
13
13
|
this["Column_Move_Left"] = "Left";
|
|
14
14
|
this["Column_Move_Right"] = "Right";
|
|
15
|
+
this["Column_Options_Analyze"] = "Analyze";
|
|
16
|
+
this["Column_Options_Sort_Ascending"] = "Sort Ascending";
|
|
17
|
+
this["Column_Options_Sort_Descending"] = "Sort Descending";
|
|
15
18
|
this["Column_Options_Summaries"] = "Summaries";
|
|
16
19
|
this["Column_Options_Summary_Average"] = "Average";
|
|
17
20
|
this["Column_Options_Summary_Count"] = "Count";
|
|
@@ -17,49 +17,52 @@ export let DataGridScrollerKeyboardListener = /*@__PURE__*/ (() => {
|
|
|
17
17
|
this.a = a;
|
|
18
18
|
}
|
|
19
19
|
onDownArrow(a, b) {
|
|
20
|
-
return this.a.
|
|
20
|
+
return this.a.kv(a, b);
|
|
21
21
|
}
|
|
22
22
|
onEnd(a, b) {
|
|
23
|
-
return this.a.
|
|
23
|
+
return this.a.kw(a, b);
|
|
24
24
|
}
|
|
25
25
|
onHome(a, b) {
|
|
26
|
-
return this.a.
|
|
26
|
+
return this.a.k0(a, b);
|
|
27
27
|
}
|
|
28
28
|
onLeftArrow(a, b) {
|
|
29
|
-
return this.a.
|
|
29
|
+
return this.a.k2(a, b);
|
|
30
30
|
}
|
|
31
31
|
onPageDown(a, b) {
|
|
32
|
-
return this.a.
|
|
32
|
+
return this.a.k3(a, b);
|
|
33
33
|
}
|
|
34
34
|
onPageUp(a, b) {
|
|
35
|
-
return this.a.
|
|
35
|
+
return this.a.k4(a, b);
|
|
36
36
|
}
|
|
37
37
|
onRightArrow(a, b) {
|
|
38
|
-
return this.a.
|
|
38
|
+
return this.a.k5(a, b);
|
|
39
39
|
}
|
|
40
40
|
onTab(a, b) {
|
|
41
|
-
return this.a.
|
|
41
|
+
return this.a.k7(a, b);
|
|
42
42
|
}
|
|
43
43
|
onUpArrow(a, b) {
|
|
44
|
-
return this.a.
|
|
44
|
+
return this.a.k8(a, b);
|
|
45
45
|
}
|
|
46
46
|
onWheel() {
|
|
47
|
-
this.a.
|
|
47
|
+
this.a.ys();
|
|
48
48
|
}
|
|
49
49
|
onEnter(a, b) {
|
|
50
|
-
return this.a.
|
|
50
|
+
return this.a.kx(a, b);
|
|
51
51
|
}
|
|
52
52
|
onEscape() {
|
|
53
|
-
return this.a.
|
|
53
|
+
return this.a.ky();
|
|
54
54
|
}
|
|
55
55
|
onF2() {
|
|
56
|
-
return this.a.
|
|
56
|
+
return this.a.kz();
|
|
57
57
|
}
|
|
58
58
|
onSpace(a, b) {
|
|
59
|
-
return this.a.
|
|
59
|
+
return this.a.k6(a, b);
|
|
60
60
|
}
|
|
61
61
|
onKeyDown(a, b, c) {
|
|
62
|
-
return this.a.
|
|
62
|
+
return this.a.k1(a, b, c);
|
|
63
|
+
}
|
|
64
|
+
onGotFocus(a, b) {
|
|
65
|
+
this.a.x2(a, b);
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
DataGridScrollerKeyboardListener.$t = markType(DataGridScrollerKeyboardListener, 'DataGridScrollerKeyboardListener', Base.$, [IScrollerKeyboardListener_$type]);
|
|
@@ -283,7 +283,7 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
283
283
|
a.stopPropagation();
|
|
284
284
|
}
|
|
285
285
|
q(a) {
|
|
286
|
-
if (BaseDOMEventProxy.
|
|
286
|
+
if (BaseDOMEventProxy.c4(a) == 8) {
|
|
287
287
|
this.a.av();
|
|
288
288
|
}
|
|
289
289
|
}
|
|
@@ -748,10 +748,10 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
748
748
|
this.s = 0;
|
|
749
749
|
this.t = 0;
|
|
750
750
|
for (let b = 0; b < a; b++) {
|
|
751
|
-
if (this.e.actualColumns._inner[b].
|
|
751
|
+
if (this.e.actualColumns._inner[b].kb == true) {
|
|
752
752
|
this.s++;
|
|
753
753
|
}
|
|
754
|
-
if (this.e.actualColumns._inner[b].
|
|
754
|
+
if (this.e.actualColumns._inner[b].it == 1) {
|
|
755
755
|
this.t++;
|
|
756
756
|
}
|
|
757
757
|
}
|
|
@@ -24,22 +24,22 @@ export let DateTimeCellPresenter = /*@__PURE__*/ (() => {
|
|
|
24
24
|
super.b(a);
|
|
25
25
|
let b = a;
|
|
26
26
|
if (a.a7) {
|
|
27
|
-
if (a.bc(DateTimeCellModel.
|
|
27
|
+
if (a.bc(DateTimeCellModel.ol) || a.bc(DateTimeCellModel.om) || a.bc(DateTimeCellModel.ok) || a.bc(DateTimeCellModel.gz) || a.bc(DateTimeCellModel.h5)) {
|
|
28
28
|
this.e(b);
|
|
29
|
-
this.d.
|
|
29
|
+
this.d.c9(this.d.d0, b.k1);
|
|
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.d0, this.a);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
e(a) {
|
|
35
|
-
if (a.
|
|
36
|
-
a.
|
|
35
|
+
if (a.ly != null) {
|
|
36
|
+
a.k1 = a.ly;
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
a.
|
|
40
|
-
if (a.
|
|
41
|
-
if (a.
|
|
42
|
-
a.
|
|
39
|
+
a.k1 = a.ox(a.oj);
|
|
40
|
+
if (a.k1 == stringEmpty()) {
|
|
41
|
+
if (a.ii != null && !(typeCast(Date_$type, a.ii) !== null)) {
|
|
42
|
+
a.k1 = a.ii.toString();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
package/esm2015/lib/Dragger.js
CHANGED
|
@@ -113,8 +113,8 @@ export let Dragger = /*@__PURE__*/ (() => {
|
|
|
113
113
|
let e = this.view.getWindowScrollPos();
|
|
114
114
|
c += e[0];
|
|
115
115
|
d += e[1];
|
|
116
|
-
NativeUI.
|
|
117
|
-
NativeUI.
|
|
116
|
+
NativeUI.x(this.cloneCell, a + d);
|
|
117
|
+
NativeUI.ah(this.cloneCell, b + c);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -147,8 +147,8 @@ export let Dragger = /*@__PURE__*/ (() => {
|
|
|
147
147
|
let j = this.view.getWindowScrollPos();
|
|
148
148
|
h += j[0];
|
|
149
149
|
i += j[1];
|
|
150
|
-
NativeUI.
|
|
151
|
-
NativeUI.
|
|
150
|
+
NativeUI.x(this.cloneCell, a + i);
|
|
151
|
+
NativeUI.ah(this.cloneCell, b + h);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -36,8 +36,8 @@ export let DraggerView = /*@__PURE__*/ (() => {
|
|
|
36
36
|
this.c = null;
|
|
37
37
|
}
|
|
38
38
|
if (this.a != null) {
|
|
39
|
-
this.a.
|
|
40
|
-
this.a.
|
|
39
|
+
this.a.aq = null;
|
|
40
|
+
this.a.ax();
|
|
41
41
|
}
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
@@ -45,23 +45,23 @@ export let DraggerView = /*@__PURE__*/ (() => {
|
|
|
45
45
|
let b = Math.round(this.c.rootWrapper.width());
|
|
46
46
|
let c = Math.round(this.c.rootWrapper.height());
|
|
47
47
|
this.a = new CanvasGestureDOMEventProxy(this.c.rootWrapper, this.c, true);
|
|
48
|
-
this.a.
|
|
48
|
+
this.a.dc = true;
|
|
49
49
|
let d = this.a;
|
|
50
50
|
d.onMouseOver = delegateCombine(d.onMouseOver, runOn(this, this.e));
|
|
51
51
|
let e = this.a;
|
|
52
52
|
e.onMouseUp = delegateCombine(e.onMouseUp, runOn(this, this.f));
|
|
53
|
-
this.a.
|
|
53
|
+
this.a.aq = runOn(this, this.b);
|
|
54
54
|
this.model.viewportWidth = b;
|
|
55
55
|
this.model.viewportHeight = c;
|
|
56
56
|
}
|
|
57
57
|
onDetachedFromUI() {
|
|
58
58
|
if (this.a != null && this.c != null) {
|
|
59
|
-
this.a.
|
|
59
|
+
this.a.bk(this.c.rootWrapper, "");
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
onAttachedToUI() {
|
|
63
63
|
if (this.a != null) {
|
|
64
|
-
this.a.
|
|
64
|
+
this.a.av(this.c.rootWrapper, "");
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
b(a) {
|
|
@@ -78,7 +78,7 @@ export let DraggerView = /*@__PURE__*/ (() => {
|
|
|
78
78
|
releaseMouse() {
|
|
79
79
|
}
|
|
80
80
|
transformPoint(a, b) {
|
|
81
|
-
let c = BaseDOMEventProxy.
|
|
81
|
+
let c = BaseDOMEventProxy.c8(this.c.rootWrapper);
|
|
82
82
|
let d = { $type: Point_$type, x: a - c.x, y: b - c.y };
|
|
83
83
|
return d;
|
|
84
84
|
}
|
|
@@ -89,7 +89,7 @@ export let DraggerView = /*@__PURE__*/ (() => {
|
|
|
89
89
|
this.model.onMouseUp(a.x, a.y);
|
|
90
90
|
}
|
|
91
91
|
onViewportSizeChanged(a, b) {
|
|
92
|
-
this.a.
|
|
92
|
+
this.a.bo = new Rect(0, 0, 0, a, b);
|
|
93
93
|
}
|
|
94
94
|
addCloneCellToDom() {
|
|
95
95
|
if (this.c != null) {
|