igniteui-webcomponents-grids 1.4.2 → 3.2.2

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.
Files changed (217) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +16049 -15259
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/BrowserExecutionContext.js +3 -1
  4. package/esm2015/lib/CanvasGridCellBase.js +6 -6
  5. package/esm2015/lib/CanvasSummaryCell.js +4 -4
  6. package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
  7. package/esm2015/lib/CanvasTextHeaderCellPresenter.js +1 -1
  8. package/esm2015/lib/CellPresenterBase.js +1 -1
  9. package/esm2015/lib/CheckboxListView_combined.js +31 -31
  10. package/esm2015/lib/ColumnChooserView_combined.js +10 -10
  11. package/esm2015/lib/ColumnFilterCondition_combined.js +5546 -4404
  12. package/esm2015/lib/ColumnGroupingView_combined.js +186 -168
  13. package/esm2015/lib/ColumnPinningView_combined.js +6 -6
  14. package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +13 -13
  15. package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
  16. package/esm2015/lib/DataGridCellLayoutPanel.js +25 -25
  17. package/esm2015/lib/DataGridLocaleEn.js +1 -0
  18. package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
  19. package/esm2015/lib/DataGridToolbarView_combined.js +294 -223
  20. package/esm2015/lib/DraggerView.js +8 -8
  21. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +45 -26
  22. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
  23. package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
  24. package/esm2015/lib/GridColumnMoveOptionsView_combined.js +5 -5
  25. package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
  26. package/esm2015/lib/GridColumnOptionsView_combined.js +2 -2
  27. package/esm2015/lib/GridColumnPinOptionsView_combined.js +2 -2
  28. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +8 -11
  29. package/esm2015/lib/GridExternalWrapper.js +6 -6
  30. package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
  31. package/esm2015/lib/GridStyleRepository.js +5 -5
  32. package/esm2015/lib/HorizontalPropertyEditorDataSource.js +2 -2
  33. package/esm2015/lib/{PropertyEditorDescriptionObjectCollection.js → IDataGridComponent.js} +5 -1
  34. package/esm2015/lib/IToolbarVisualModelExport.js +11 -0
  35. package/esm2015/lib/MultiColumnComboBoxView_combined.js +314 -302
  36. package/esm2015/lib/MultiColumnComboVisualModelExport.js +2 -2
  37. package/esm2015/lib/PageChangedEventArgs.js +33 -0
  38. package/esm2015/lib/{PropertyEditorDataSource.js → PagedDataProvider.js} +1 -1
  39. package/{esm5/lib/PropertyEditorDataSource.js → esm2015/lib/Pager.js} +1 -1
  40. package/esm2015/lib/{PropertyEditorDescriptionObject.js → PagerDataSourceNotificationBridge.js} +1 -1
  41. package/{esm5/lib/PropertyEditorDescriptionObject.js → esm2015/lib/PagerGridDataSourceNotificationBridge.js} +1 -1
  42. package/esm2015/lib/PagerView.js +7 -0
  43. package/esm2015/lib/PagerVisualModelExport.js +82 -0
  44. package/esm2015/lib/PropertyEditorView_combined.js +145 -145
  45. package/esm2015/lib/TemplateCell.js +1 -1
  46. package/esm2015/lib/TemplateCellPresenter.js +1 -1
  47. package/esm2015/lib/TemplateHeader.js +2 -2
  48. package/esm2015/lib/{PropertyEditorPropertyDescriptionChangedEventArgs.js → ToolbarVisualModelExport.js} +9 -5
  49. package/esm2015/lib/VisualModelExport.js +77 -69
  50. package/esm2015/lib/igc-column-component.js +133 -113
  51. package/esm2015/lib/igc-column-grouping-component.js +33 -23
  52. package/esm2015/lib/igc-combo-box-column-component.js +10 -10
  53. package/esm2015/lib/igc-data-grid-component.js +588 -413
  54. package/esm2015/lib/igc-data-grid-module.js +4 -0
  55. package/esm2015/lib/igc-data-grid-pager-component.js +368 -0
  56. package/esm2015/lib/{igc-property-editor-property-description-module.js → igc-data-grid-pager-module.js} +6 -6
  57. package/esm2015/lib/igc-data-grid-toolbar-component.js +94 -35
  58. package/esm2015/lib/igc-date-time-column-component.js +23 -23
  59. package/esm2015/lib/igc-horizontal-property-editor-data-source.js +2 -2
  60. package/esm2015/lib/igc-image-column-component.js +12 -12
  61. package/esm2015/lib/igc-multi-column-combo-box-component.js +146 -140
  62. package/esm2015/lib/igc-numeric-column-component.js +35 -35
  63. package/esm2015/lib/igc-page-changed-event-args.js +46 -0
  64. package/esm2015/lib/igc-property-editor-component.js +7 -7
  65. package/esm2015/lib/igc-property-editor-module.js +1 -1
  66. package/esm2015/lib/igc-text-column-component.js +9 -9
  67. package/esm2015/public_api.js +14 -20
  68. package/esm5/lib/BrowserExecutionContext.js +3 -1
  69. package/esm5/lib/CanvasGridCellBase.js +6 -6
  70. package/esm5/lib/CanvasSummaryCell.js +4 -4
  71. package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
  72. package/esm5/lib/CanvasTextHeaderCellPresenter.js +1 -1
  73. package/esm5/lib/CellPresenterBase.js +1 -1
  74. package/esm5/lib/CheckboxListView_combined.js +31 -31
  75. package/esm5/lib/ColumnChooserView_combined.js +10 -10
  76. package/esm5/lib/ColumnFilterCondition_combined.js +5514 -4226
  77. package/esm5/lib/ColumnGroupingView_combined.js +188 -162
  78. package/esm5/lib/ColumnPinningView_combined.js +6 -6
  79. package/esm5/lib/ComparisonOperatorSelectorView_combined.js +13 -13
  80. package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
  81. package/esm5/lib/DataGridCellLayoutPanel.js +25 -25
  82. package/esm5/lib/DataGridLocaleEn.js +1 -0
  83. package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
  84. package/esm5/lib/DataGridToolbarView_combined.js +295 -220
  85. package/esm5/lib/DraggerView.js +8 -8
  86. package/esm5/lib/GridColumnFilterOptionsView_combined.js +45 -26
  87. package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
  88. package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
  89. package/esm5/lib/GridColumnMoveOptionsView_combined.js +5 -5
  90. package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
  91. package/esm5/lib/GridColumnOptionsView_combined.js +2 -2
  92. package/esm5/lib/GridColumnPinOptionsView_combined.js +2 -2
  93. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +8 -11
  94. package/esm5/lib/GridExternalWrapper.js +6 -6
  95. package/esm5/lib/GridFilterDialogView_combined.js +2 -2
  96. package/esm5/lib/GridStyleRepository.js +5 -5
  97. package/esm5/lib/HorizontalPropertyEditorDataSource.js +2 -2
  98. package/{esm2015/lib/PropertyEditorPropertyDescription.js → esm5/lib/IDataGridComponent.js} +5 -1
  99. package/esm5/lib/IToolbarVisualModelExport.js +11 -0
  100. package/esm5/lib/MultiColumnComboBoxView_combined.js +297 -285
  101. package/esm5/lib/MultiColumnComboVisualModelExport.js +2 -2
  102. package/esm5/lib/PageChangedEventArgs.js +43 -0
  103. package/esm5/lib/PagedDataProvider.js +7 -0
  104. package/esm5/lib/Pager.js +7 -0
  105. package/esm5/lib/PagerDataSourceNotificationBridge.js +7 -0
  106. package/esm5/lib/PagerGridDataSourceNotificationBridge.js +7 -0
  107. package/esm5/lib/PagerView.js +7 -0
  108. package/esm5/lib/PagerVisualModelExport.js +84 -0
  109. package/esm5/lib/PropertyEditorView_combined.js +144 -144
  110. package/esm5/lib/TemplateCell.js +1 -1
  111. package/esm5/lib/TemplateCellPresenter.js +1 -1
  112. package/esm5/lib/TemplateHeader.js +2 -2
  113. package/esm5/lib/ToolbarVisualModelExport.js +24 -0
  114. package/esm5/lib/VisualModelExport.js +77 -69
  115. package/esm5/lib/igc-column-component.js +141 -113
  116. package/esm5/lib/igc-column-grouping-component.js +35 -21
  117. package/esm5/lib/igc-combo-box-column-component.js +10 -10
  118. package/esm5/lib/igc-data-grid-component.js +636 -413
  119. package/esm5/lib/igc-data-grid-module.js +4 -0
  120. package/esm5/lib/igc-data-grid-pager-component.js +435 -0
  121. package/esm5/lib/igc-data-grid-pager-module.js +20 -0
  122. package/esm5/lib/igc-data-grid-toolbar-component.js +110 -35
  123. package/esm5/lib/igc-date-time-column-component.js +23 -23
  124. package/esm5/lib/igc-horizontal-property-editor-data-source.js +2 -2
  125. package/esm5/lib/igc-image-column-component.js +12 -12
  126. package/esm5/lib/igc-multi-column-combo-box-component.js +147 -141
  127. package/esm5/lib/igc-numeric-column-component.js +35 -35
  128. package/esm5/lib/igc-page-changed-event-args.js +60 -0
  129. package/esm5/lib/igc-property-editor-component.js +7 -7
  130. package/esm5/lib/igc-property-editor-module.js +1 -1
  131. package/esm5/lib/igc-text-column-component.js +9 -9
  132. package/esm5/public_api.js +14 -20
  133. package/fesm2015/igniteui-webcomponents-grids.js +17478 -16796
  134. package/fesm5/igniteui-webcomponents-grids.js +16939 -16142
  135. package/lib/ColumnFilterCondition_combined.d.ts +1025 -824
  136. package/lib/ColumnGroupingView_combined.d.ts +44 -41
  137. package/lib/DataGridLocaleEn.d.ts +1 -0
  138. package/lib/DataGridToolbarView_combined.d.ts +50 -41
  139. package/lib/GridColumnGroupOptionsView_combined.d.ts +1 -1
  140. package/lib/HorizontalPropertyEditorDataSource.d.ts +1 -1
  141. package/lib/IDataGridComponent.d.ts +12 -0
  142. package/lib/IToolbarVisualModelExport.d.ts +11 -0
  143. package/lib/MultiColumnComboBoxView_combined.d.ts +78 -76
  144. package/lib/PageChangedEventArgs.d.ts +11 -0
  145. package/lib/PagedDataProvider.d.ts +1 -0
  146. package/lib/Pager.d.ts +1 -0
  147. package/lib/PagerDataSourceNotificationBridge.d.ts +1 -0
  148. package/lib/PagerGridDataSourceNotificationBridge.d.ts +1 -0
  149. package/lib/PagerView.d.ts +1 -0
  150. package/lib/PagerVisualModelExport.d.ts +25 -0
  151. package/lib/PropertyEditorView_combined.d.ts +10 -10
  152. package/lib/ToolbarVisualModelExport.d.ts +9 -0
  153. package/lib/VisualModelExport.d.ts +21 -17
  154. package/lib/igc-column-component.d.ts +9 -1
  155. package/lib/igc-column-grouping-component.d.ts +8 -4
  156. package/lib/igc-data-grid-component.d.ts +56 -0
  157. package/lib/igc-data-grid-pager-component.d.ts +101 -0
  158. package/lib/igc-data-grid-pager-module.d.ts +3 -0
  159. package/lib/igc-data-grid-toolbar-component.d.ts +15 -0
  160. package/lib/igc-horizontal-property-editor-data-source.d.ts +2 -2
  161. package/lib/igc-multi-column-combo-box-component.d.ts +1 -0
  162. package/lib/igc-page-changed-event-args.d.ts +20 -0
  163. package/lib/igc-property-editor-component.d.ts +2 -2
  164. package/package.json +5 -5
  165. package/public_api.d.ts +14 -20
  166. package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -16
  167. package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
  168. package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -40
  169. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +0 -463
  170. package/esm2015/lib/PropertyEditorTreeTransformer.js +0 -207
  171. package/esm2015/lib/PropertyEditorValueType.js +0 -35
  172. package/esm2015/lib/igc-property-editor-data-source.js +0 -39
  173. package/esm2015/lib/igc-property-editor-description-object-collection.js +0 -48
  174. package/esm2015/lib/igc-property-editor-description-object.js +0 -70
  175. package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +0 -24
  176. package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +0 -24
  177. package/esm2015/lib/igc-property-editor-property-description-collection.js +0 -48
  178. package/esm2015/lib/igc-property-editor-property-description-component.js +0 -372
  179. package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -42
  180. package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +0 -7
  181. package/esm5/lib/PropertyEditorPropertyDescription.js +0 -7
  182. package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -20
  183. package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +0 -20
  184. package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
  185. package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -54
  186. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +0 -525
  187. package/esm5/lib/PropertyEditorTreeTransformer.js +0 -209
  188. package/esm5/lib/PropertyEditorValueType.js +0 -35
  189. package/esm5/lib/igc-property-editor-data-source.js +0 -53
  190. package/esm5/lib/igc-property-editor-description-object-collection.js +0 -53
  191. package/esm5/lib/igc-property-editor-description-object.js +0 -84
  192. package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +0 -30
  193. package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +0 -30
  194. package/esm5/lib/igc-property-editor-property-description-collection.js +0 -53
  195. package/esm5/lib/igc-property-editor-property-description-component.js +0 -445
  196. package/esm5/lib/igc-property-editor-property-description-module.js +0 -20
  197. package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -60
  198. package/lib/PropertyEditorDataSource.d.ts +0 -1
  199. package/lib/PropertyEditorDescriptionObject.d.ts +0 -1
  200. package/lib/PropertyEditorDescriptionObjectCollection.d.ts +0 -1
  201. package/lib/PropertyEditorPropertyDescription.d.ts +0 -1
  202. package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +0 -7
  203. package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +0 -7
  204. package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +0 -1
  205. package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +0 -13
  206. package/lib/PropertyEditorPropertyDescription_combined.d.ts +0 -88
  207. package/lib/PropertyEditorTreeTransformer.d.ts +0 -17
  208. package/lib/PropertyEditorValueType.d.ts +0 -28
  209. package/lib/igc-property-editor-data-source.d.ts +0 -16
  210. package/lib/igc-property-editor-description-object-collection.d.ts +0 -8
  211. package/lib/igc-property-editor-description-object.d.ts +0 -17
  212. package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +0 -12
  213. package/lib/igc-property-editor-property-description-changed-event-args.d.ts +0 -12
  214. package/lib/igc-property-editor-property-description-collection.d.ts +0 -8
  215. package/lib/igc-property-editor-property-description-component.d.ts +0 -65
  216. package/lib/igc-property-editor-property-description-module.d.ts +0 -3
  217. package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +0 -15
@@ -5,16 +5,19 @@ https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
7
  import * as tslib_1 from "tslib";
8
- import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-webcomponents-core";
8
+ import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, typeCast, delegateCombine } from "igniteui-webcomponents-core";
9
9
  import { List$1 } from "igniteui-webcomponents-core";
10
10
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
11
+ import { Thickness } from "igniteui-webcomponents-core";
11
12
  import { XButton } from "igniteui-webcomponents-inputs";
12
13
  import { BrushUtil } from "igniteui-webcomponents-core";
13
14
  import { ElevationHelper } from "igniteui-webcomponents-inputs";
14
15
  import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
16
+ import { IDataGridComponent_$type } from "./IDataGridComponent";
17
+ import { Grid } from "./Grid";
15
18
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
16
19
  import { XIcon } from "igniteui-webcomponents-inputs";
17
- import { Thickness } from "igniteui-webcomponents-core";
20
+ import { ToolbarVisualModelExport } from "./ToolbarVisualModelExport";
18
21
  /**
19
22
  * @hidden
20
23
  */
@@ -50,15 +53,15 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
50
53
  this.c.rootWrapper.setStyleProperty("justify-content", "space-between");
51
54
  this.c.rootWrapper.setStyleProperty("align-items", "center");
52
55
  this.c.rootWrapper.setStyleProperty("padding", "4px 16px 4px 16px");
53
- if (this.a.bb != null) {
54
- this.c.rootWrapper.setStyleProperty("background-color", this.a.bb._fill);
56
+ if (this.a.be != null) {
57
+ this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
55
58
  }
56
- this.c.rootWrapper.setStyleProperty("border-width", "1px 1px 0px 1px");
59
+ this.aa();
57
60
  this.c.rootWrapper.setStyleProperty("border-style", "solid");
58
61
  this.c.rootWrapper.setStyleProperty("box-sizing", "border-box");
59
62
  this.c.rootWrapper.setStyleProperty("border-color", "rgba(0, 0, 0, 0.2)");
60
63
  this.c.rootWrapper.setStyleProperty("border-radius", "3px 3px 0px 0px");
61
- this.ac();
64
+ this.ad();
62
65
  this.k = this.c.rootWrapper.getChildAt(0);
63
66
  this.y();
64
67
  var d = this.c.rootWrapper.getChildAt(1);
@@ -66,9 +69,9 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
66
69
  this.v();
67
70
  this.x();
68
71
  };
69
- DataGridToolbarView.prototype.ac = function () {
72
+ DataGridToolbarView.prototype.ad = function () {
70
73
  if (this.c != null) {
71
- switch (this.a.k) {
74
+ switch (this.a.l) {
72
75
  case 1:
73
76
  this.c.rootWrapper.setStyleProperty("height", "52px");
74
77
  break;
@@ -86,27 +89,30 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
86
89
  };
87
90
  DataGridToolbarView.prototype.z = function () {
88
91
  if (this.c != null) {
89
- if (this.a.bb != null) {
90
- this.c.rootWrapper.setStyleProperty("background-color", this.a.bb._fill);
92
+ if (this.a.be != null) {
93
+ this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
91
94
  }
92
95
  }
93
96
  };
97
+ DataGridToolbarView.prototype.aa = function () {
98
+ this.c.rootWrapper.setStyleProperty("border-width", this.a.bi.top + "px " + this.a.bi.right + "px " + this.a.bi.bottom + "px " + this.a.bi.left + "px");
99
+ };
94
100
  DataGridToolbarView.prototype.y = function () {
95
- if (this.k != null && this.a.ap != null) {
96
- this.k.setText(this.a.ap);
97
- this.k.setStyleProperty("font", "16px \"Segoe UI\", Verdana");
101
+ if (this.k != null && this.a.ar != null) {
102
+ this.k.setText(this.a.ar);
103
+ this.k.setStyleProperty("font", "16px Verdana");
98
104
  }
99
- this.ag();
100
105
  this.ah();
106
+ this.ai();
101
107
  };
102
- DataGridToolbarView.prototype.ag = function () {
103
- if (this.k != null && this.a.bd != null) {
104
- this.k.setStyleProperty("color", this.a.bd._fill);
108
+ DataGridToolbarView.prototype.ah = function () {
109
+ if (this.k != null && this.a.bg != null) {
110
+ this.k.setStyleProperty("color", this.a.bg._fill);
105
111
  }
106
112
  };
107
- DataGridToolbarView.prototype.ah = function () {
108
- if (this.k != null && this.a.m != null) {
109
- this.k.setStyleProperty("font", this.a.m.fontString);
113
+ DataGridToolbarView.prototype.ai = function () {
114
+ if (this.k != null && this.a.n != null) {
115
+ this.k.setStyleProperty("font", this.a.n.fontString);
110
116
  }
111
117
  };
112
118
  DataGridToolbarView.prototype.v = function () {
@@ -122,10 +128,10 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
122
128
  b.setStyleProperty("height", "calc(100% - 16px)");
123
129
  b.setStyleProperty("padding", "4px 16px 4px 16px");
124
130
  b.setStyleProperty("box-sizing", "border-box");
125
- if (this.a.p == true) {
126
- if (this.a.f == null) {
131
+ if (this.a.q == true) {
132
+ if (this.a.g == null) {
127
133
  this.d = this.c.createElement("div");
128
- this.a.a2(this.a, this.c, this.f, this.d, "Hiding");
134
+ this.a.a5(this.a, this.c, this.f, this.d, "Hiding");
129
135
  this.f.listen("click", runOn(this, this.n));
130
136
  }
131
137
  else {
@@ -137,24 +143,24 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
137
143
  }
138
144
  }
139
145
  };
140
- DataGridToolbarView.prototype.ad = function () {
146
+ DataGridToolbarView.prototype.ae = function () {
141
147
  if (this.d != null) {
142
148
  var a = this.d.getChildAt(1);
143
- a.setText(this.a.r.toString());
149
+ a.setText(this.a.s.toString());
144
150
  }
145
151
  };
146
- DataGridToolbarView.prototype.aa = function () {
152
+ DataGridToolbarView.prototype.ab = function () {
147
153
  if (this.d != null) {
148
154
  if (this.d.getChildCount() > 2) {
149
155
  var a = this.d.getChildAt(2);
150
- a.setText(this.a.ab.toString());
156
+ a.setText(this.a.ad.toString());
151
157
  }
152
158
  else {
153
159
  var b = this.c.createElement("span");
154
160
  b.setStyleProperty("display", "inline-block");
155
161
  b.setStyleProperty("font-size", "14px");
156
162
  b.setStyleProperty("font-weight", "600");
157
- b.setText(this.a.ab);
163
+ b.setText(this.a.ad);
158
164
  this.d.append(b);
159
165
  }
160
166
  }
@@ -187,10 +193,10 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
187
193
  b.setStyleProperty("height", "calc(100% - 16px)");
188
194
  b.setStyleProperty("padding", "8px 16px 8px 16px");
189
195
  b.setStyleProperty("box-sizing", "border-box");
190
- if (this.a.q == true) {
191
- if (this.a.g == null) {
196
+ if (this.a.r == true) {
197
+ if (this.a.h == null) {
192
198
  this.i = this.c.createElement("div");
193
- this.a.a2(this.a, this.c, this.h, this.i, "Pinning");
199
+ this.a.a5(this.a, this.c, this.h, this.i, "Pinning");
194
200
  this.h.listen("click", runOn(this, this.u));
195
201
  }
196
202
  else {
@@ -202,24 +208,24 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
202
208
  }
203
209
  }
204
210
  };
205
- DataGridToolbarView.prototype.ae = function () {
211
+ DataGridToolbarView.prototype.af = function () {
206
212
  if (this.i != null) {
207
213
  var a = this.i.getChildAt(1);
208
- a.setText(this.a.s.toString());
214
+ a.setText(this.a.t.toString());
209
215
  }
210
216
  };
211
- DataGridToolbarView.prototype.af = function () {
217
+ DataGridToolbarView.prototype.ag = function () {
212
218
  if (this.i != null) {
213
219
  if (this.i.getChildCount() > 2) {
214
220
  var a = this.i.getChildAt(2);
215
- a.setText(this.a.ag);
221
+ a.setText(this.a.ai);
216
222
  }
217
223
  else {
218
224
  var b = this.c.createElement("span");
219
225
  b.setStyleProperty("display", "inline-block");
220
226
  b.setStyleProperty("font-size", "14px");
221
227
  b.setStyleProperty("font-weight", "600");
222
- b.setText(this.a.ag);
228
+ b.setText(this.a.ai);
223
229
  this.i.append(b);
224
230
  }
225
231
  }
@@ -242,17 +248,17 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
242
248
  DataGridToolbarView.prototype.w = function (a) {
243
249
  var b = ElevationHelper.e(12, BrushUtil.g(66, 0, 0, 0), BrushUtil.g(30, 0, 0, 0), BrushUtil.g(20, 0, 0, 0), 1);
244
250
  a.setStyleProperty("boxShadow", b);
245
- a.setStyleProperty("background-color", this.a.bc._fill);
251
+ a.setStyleProperty("background-color", this.a.bf._fill);
246
252
  a.setStyleProperty("position", "absolute");
247
253
  a.setStyleProperty("z-index", "12000");
248
254
  a.setStyleProperty("display", "none");
249
255
  };
250
- DataGridToolbarView.prototype.ab = function () {
256
+ DataGridToolbarView.prototype.ac = function () {
251
257
  if (this.j != null) {
252
- this.j.setStyleProperty("background-color", this.a.bc._fill);
258
+ this.j.setStyleProperty("background-color", this.a.bf._fill);
253
259
  }
254
260
  if (this.e != null) {
255
- this.e.setStyleProperty("background-color", this.a.bc._fill);
261
+ this.e.setStyleProperty("background-color", this.a.bf._fill);
256
262
  }
257
263
  };
258
264
  DataGridToolbarView.prototype.t = function () {
@@ -278,12 +284,12 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
278
284
  a.stopPropagation();
279
285
  };
280
286
  DataGridToolbarView.prototype.q = function (a) {
281
- if (BaseDOMEventProxy.cz(a) == 8) {
282
- this.a.at();
287
+ if (BaseDOMEventProxy.c0(a) == 8) {
288
+ this.a.av();
283
289
  }
284
290
  };
285
291
  DataGridToolbarView.prototype.r = function (a) {
286
- this.a.at();
292
+ this.a.av();
287
293
  };
288
294
  DataGridToolbarView.prototype.o = function () {
289
295
  };
@@ -301,27 +307,28 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
301
307
  _this.e = null;
302
308
  _this.c = null;
303
309
  _this.d = null;
304
- _this.r = 0;
305
310
  _this.s = 0;
306
- _this.f = null;
311
+ _this.t = 0;
307
312
  _this.g = null;
313
+ _this.h = null;
308
314
  _this.propertyChanged = null;
309
315
  _this.a = null;
310
- _this.x = null;
311
- _this.l = null;
312
- _this.ba = BrushUtil.g(255, 24, 29, 31);
313
- _this.a8 = BrushUtil.g(255, 248, 248, 248);
314
- _this.a9 = BrushUtil.g(255, 248, 248, 248);
315
- _this.n = false;
316
- _this.t = null;
317
- _this.u = null;
316
+ _this.y = null;
317
+ _this.m = null;
318
+ _this.bd = BrushUtil.g(255, 24, 29, 31);
319
+ _this.bb = BrushUtil.g(255, 248, 248, 248);
320
+ _this.bc = BrushUtil.g(255, 248, 248, 248);
318
321
  _this.o = false;
322
+ _this.u = null;
319
323
  _this.v = null;
324
+ _this.p = false;
320
325
  _this.w = null;
321
- _this.j = 2;
322
- _this.h = 1;
323
- _this.r = 0;
326
+ _this.x = null;
327
+ _this.bh = new Thickness(1, 1, 1, 1, 0);
328
+ _this.k = 2;
329
+ _this.i = 1;
324
330
  _this.s = 0;
331
+ _this.t = 0;
325
332
  var a = new DataGridToolbarView();
326
333
  a.a = _this;
327
334
  _this.e = a;
@@ -335,16 +342,16 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
335
342
  this.provideContainer(null, null, null);
336
343
  if (this.b != null) {
337
344
  var a = this.b;
338
- a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a6));
345
+ a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
339
346
  var b = this.b;
340
- b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.a7));
347
+ b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.ba));
341
348
  }
342
349
  };
343
350
  DataGridToolbar.prototype.provideContainer = function (a, b, c) {
344
351
  this.c = b;
345
352
  this.d = c;
346
- this.a3();
347
- this.a4();
353
+ this.a6();
354
+ this.a7();
348
355
  this.e.p(a);
349
356
  };
350
357
  Object.defineProperty(DataGridToolbar.prototype, "b", {
@@ -355,105 +362,91 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
355
362
  var b = this.a;
356
363
  this.a = a;
357
364
  if (b != this.a) {
358
- this.ax("TargetGrid", b, this.a);
365
+ this.a0("TargetGrid", b, this.a);
359
366
  }
360
367
  },
361
368
  enumerable: true,
362
369
  configurable: true
363
370
  });
364
- Object.defineProperty(DataGridToolbar.prototype, "ap", {
371
+ Object.defineProperty(DataGridToolbar.prototype, "ar", {
365
372
  get: function () {
366
- return this.x;
373
+ return this.y;
367
374
  },
368
375
  set: function (a) {
369
- var b = this.x;
370
- this.x = a;
371
- if (b != this.x) {
372
- this.ax("ToolbarTitle", b, this.x);
373
- }
374
- },
375
- enumerable: true,
376
- configurable: true
377
- });
378
- Object.defineProperty(DataGridToolbar.prototype, "m", {
379
- get: function () {
380
- return this.l;
381
- },
382
- set: function (a) {
383
- var b = this.l;
384
- this.l = a;
385
- if (b != this.l) {
386
- this.ax("ToolbarTitleStyle", b, this.l);
376
+ var b = this.y;
377
+ this.y = a;
378
+ if (b != this.y) {
379
+ this.a0("ToolbarTitle", b, this.y);
387
380
  }
388
381
  },
389
382
  enumerable: true,
390
383
  configurable: true
391
384
  });
392
- Object.defineProperty(DataGridToolbar.prototype, "bd", {
385
+ Object.defineProperty(DataGridToolbar.prototype, "n", {
393
386
  get: function () {
394
- return this.ba;
387
+ return this.m;
395
388
  },
396
389
  set: function (a) {
397
- var b = this.ba;
398
- this.ba = a;
399
- if (b != this.ba) {
400
- this.ax("ToolbarTitleColor", b, this.ba);
390
+ var b = this.m;
391
+ this.m = a;
392
+ if (b != this.m) {
393
+ this.a0("ToolbarTitleStyle", b, this.m);
401
394
  }
402
395
  },
403
396
  enumerable: true,
404
397
  configurable: true
405
398
  });
406
- Object.defineProperty(DataGridToolbar.prototype, "bb", {
399
+ Object.defineProperty(DataGridToolbar.prototype, "bg", {
407
400
  get: function () {
408
- return this.a8;
401
+ return this.bd;
409
402
  },
410
403
  set: function (a) {
411
- var b = this.a8;
412
- this.a8 = a;
413
- if (b != this.a8) {
414
- this.ax("BackgroundColor", b, this.a8);
404
+ var b = this.bd;
405
+ this.bd = a;
406
+ if (b != this.bd) {
407
+ this.a0("ToolbarTitleColor", b, this.bd);
415
408
  }
416
409
  },
417
410
  enumerable: true,
418
411
  configurable: true
419
412
  });
420
- Object.defineProperty(DataGridToolbar.prototype, "bc", {
413
+ Object.defineProperty(DataGridToolbar.prototype, "be", {
421
414
  get: function () {
422
- return this.a9;
415
+ return this.bb;
423
416
  },
424
417
  set: function (a) {
425
- var b = this.a9;
426
- this.a9 = a;
427
- if (b != this.a9) {
428
- this.ax("DialogBackgroundColor", b, this.a9);
418
+ var b = this.bb;
419
+ this.bb = a;
420
+ if (b != this.bb) {
421
+ this.a0("BackgroundColor", b, this.bb);
429
422
  }
430
423
  },
431
424
  enumerable: true,
432
425
  configurable: true
433
426
  });
434
- Object.defineProperty(DataGridToolbar.prototype, "p", {
427
+ Object.defineProperty(DataGridToolbar.prototype, "bf", {
435
428
  get: function () {
436
- return this.n;
429
+ return this.bc;
437
430
  },
438
431
  set: function (a) {
439
- var b = this.n;
440
- this.n = a;
441
- if (b != this.n) {
442
- this.ax("ColumnChooser", b, this.n);
432
+ var b = this.bc;
433
+ this.bc = a;
434
+ if (b != this.bc) {
435
+ this.a0("DialogBackgroundColor", b, this.bc);
443
436
  }
444
437
  },
445
438
  enumerable: true,
446
439
  configurable: true
447
440
  });
448
- Object.defineProperty(DataGridToolbar.prototype, "ab", {
441
+ Object.defineProperty(DataGridToolbar.prototype, "q", {
449
442
  get: function () {
450
- return this.t;
443
+ return this.o;
451
444
  },
452
445
  set: function (a) {
453
- var b = this.t;
454
- this.t = a;
455
- if (b != this.t) {
456
- this.ax("ColumnChooserText", b, this.t);
446
+ var b = this.o;
447
+ this.o = a;
448
+ if (b != this.o) {
449
+ this.a0("ColumnChooser", b, this.o);
457
450
  }
458
451
  },
459
452
  enumerable: true,
@@ -467,35 +460,35 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
467
460
  var b = this.u;
468
461
  this.u = a;
469
462
  if (b != this.u) {
470
- this.ax("ColumnChooserTitle", b, this.u);
463
+ this.a0("ColumnChooserText", b, this.u);
471
464
  }
472
465
  },
473
466
  enumerable: true,
474
467
  configurable: true
475
468
  });
476
- Object.defineProperty(DataGridToolbar.prototype, "q", {
469
+ Object.defineProperty(DataGridToolbar.prototype, "af", {
477
470
  get: function () {
478
- return this.o;
471
+ return this.v;
479
472
  },
480
473
  set: function (a) {
481
- var b = this.o;
482
- this.o = a;
483
- if (b != this.o) {
484
- this.ax("ColumnPinning", b, this.o);
474
+ var b = this.v;
475
+ this.v = a;
476
+ if (b != this.v) {
477
+ this.a0("ColumnChooserTitle", b, this.v);
485
478
  }
486
479
  },
487
480
  enumerable: true,
488
481
  configurable: true
489
482
  });
490
- Object.defineProperty(DataGridToolbar.prototype, "ag", {
483
+ Object.defineProperty(DataGridToolbar.prototype, "r", {
491
484
  get: function () {
492
- return this.v;
485
+ return this.p;
493
486
  },
494
487
  set: function (a) {
495
- var b = this.v;
496
- this.v = a;
497
- if (b != this.v) {
498
- this.ax("ColumnPinningText", b, this.v);
488
+ var b = this.p;
489
+ this.p = a;
490
+ if (b != this.p) {
491
+ this.a0("ColumnPinning", b, this.p);
499
492
  }
500
493
  },
501
494
  enumerable: true,
@@ -509,166 +502,222 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
509
502
  var b = this.w;
510
503
  this.w = a;
511
504
  if (b != this.w) {
512
- this.ax("ColumnPinningTitle", b, this.w);
505
+ this.a0("ColumnPinningText", b, this.w);
513
506
  }
514
507
  },
515
508
  enumerable: true,
516
509
  configurable: true
517
510
  });
518
- Object.defineProperty(DataGridToolbar.prototype, "k", {
511
+ Object.defineProperty(DataGridToolbar.prototype, "ak", {
519
512
  get: function () {
520
- return this.j;
513
+ return this.x;
521
514
  },
522
515
  set: function (a) {
523
- var b = this.j;
524
- this.j = a;
525
- if (b != this.j) {
526
- this.ax("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.j));
516
+ var b = this.x;
517
+ this.x = a;
518
+ if (b != this.x) {
519
+ this.a0("ColumnPinningTitle", b, this.x);
527
520
  }
528
521
  },
529
522
  enumerable: true,
530
523
  configurable: true
531
524
  });
532
- Object.defineProperty(DataGridToolbar.prototype, "i", {
525
+ Object.defineProperty(DataGridToolbar.prototype, "bi", {
533
526
  get: function () {
534
- return this.h;
527
+ return this.bh;
535
528
  },
536
529
  set: function (a) {
537
- var b = this.h;
538
- this.h = a;
539
- if (b != this.h) {
540
- this.ax("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.h));
530
+ var b = this.bh;
531
+ this.bh = a;
532
+ if (b != this.bh) {
533
+ this.a0("BorderWidth", b, this.bh);
541
534
  }
542
535
  },
543
536
  enumerable: true,
544
537
  configurable: true
545
538
  });
546
- DataGridToolbar.prototype.ax = function (a, b, c) {
539
+ Object.defineProperty(DataGridToolbar.prototype, "l", {
540
+ get: function () {
541
+ return this.k;
542
+ },
543
+ set: function (a) {
544
+ var b = this.k;
545
+ this.k = a;
546
+ if (b != this.k) {
547
+ this.a0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
548
+ }
549
+ },
550
+ enumerable: true,
551
+ configurable: true
552
+ });
553
+ Object.defineProperty(DataGridToolbar.prototype, "j", {
554
+ get: function () {
555
+ return this.i;
556
+ },
557
+ set: function (a) {
558
+ var b = this.i;
559
+ this.i = a;
560
+ if (b != this.i) {
561
+ this.a0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
562
+ }
563
+ },
564
+ enumerable: true,
565
+ configurable: true
566
+ });
567
+ DataGridToolbar.prototype.a0 = function (a, b, c) {
547
568
  if (this.propertyChanged != null) {
548
569
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
549
570
  }
550
- this.ay(a, b, c);
571
+ this.a1(a, b, c);
551
572
  };
552
- DataGridToolbar.prototype.ay = function (a, b, c) {
573
+ DataGridToolbar.prototype.a1 = function (a, b, c) {
553
574
  switch (a) {
554
575
  case "TargetGrid":
555
- this.a3();
556
- this.a4();
557
- this.a5();
558
- this.e.ac();
576
+ this.a6();
577
+ this.a7();
578
+ this.a8(typeCast(Grid.$, b));
579
+ this.e.ad();
559
580
  break;
560
581
  case "ToolbarTitle":
561
582
  this.e.y();
562
583
  break;
563
584
  case "ToolbarTitleStyle":
564
- this.e.ah();
585
+ this.e.ai();
565
586
  break;
566
587
  case "ToolbarTitleColor":
567
- this.e.ag();
588
+ this.e.ah();
568
589
  break;
569
590
  case "BackgroundColor":
570
591
  this.e.z();
571
592
  break;
572
593
  case "DialogBackgroundColor":
573
- this.e.ab();
594
+ this.e.ac();
574
595
  if (this.c != null) {
575
- this.c.aq = this.bc;
596
+ this.c.aq = this.bf;
576
597
  }
577
598
  if (this.d != null) {
578
- this.d.an = this.bc;
599
+ this.d.an = this.bf;
579
600
  }
580
601
  break;
581
602
  case "ColumnChooser":
582
- this.a3();
603
+ this.a6();
583
604
  this.e.v();
584
605
  break;
585
606
  case "ColumnChooserText":
586
- this.e.aa();
607
+ this.e.ab();
587
608
  break;
588
609
  case "ColumnChooserTitle":
589
610
  if (this.c != null) {
590
- this.c.v = this.ad;
611
+ this.c.v = this.af;
591
612
  }
592
613
  break;
593
614
  case "ColumnPinning":
594
- this.a4();
615
+ this.a7();
595
616
  this.e.x();
596
617
  break;
597
618
  case "ColumnPinningText":
598
- this.e.af();
619
+ this.e.ag();
599
620
  break;
600
621
  case "ColumnPinningTitle":
601
622
  if (this.d != null) {
602
- this.d.v = this.ai;
623
+ this.d.v = this.ak;
603
624
  }
604
625
  break;
605
626
  case "Density":
606
- this.a0();
627
+ this.a3();
607
628
  break;
608
629
  case "BaseTheme":
609
- this.a1();
630
+ this.a4();
631
+ break;
632
+ case "BorderWidth":
633
+ this.e.aa();
634
+ break;
635
+ }
636
+ };
637
+ DataGridToolbar.prototype.az = function (a, b) {
638
+ switch (b.propertyName) {
639
+ case "IsToolbarColumnChooserVisible":
640
+ this.q = this.b.jr;
641
+ break;
642
+ case "IsToolbarColumnPinningVisible":
643
+ this.r = this.b.js;
644
+ break;
645
+ case "ToolbarTitle":
646
+ this.ar = this.b.ss;
647
+ break;
648
+ case "ToolbarColumnChooserText":
649
+ this.ad = this.b.sk;
650
+ break;
651
+ case "ToolbarColumnChooserTitle":
652
+ this.af = this.b.sm;
653
+ break;
654
+ case "ToolbarColumnPinningText":
655
+ this.ai = this.b.so;
656
+ break;
657
+ case "ToolbarColumnPinningTitle":
658
+ this.ak = this.b.sq;
610
659
  break;
611
660
  }
612
661
  };
613
- DataGridToolbar.prototype.a1 = function () {
662
+ DataGridToolbar.prototype.a4 = function () {
614
663
  if (this.c != null) {
615
- this.c.f = this.i;
664
+ this.c.f = this.j;
616
665
  }
617
666
  if (this.d != null) {
618
- this.d.f = this.i;
619
- }
620
- if (this.f != null) {
621
- this.f.i = this.i;
667
+ this.d.f = this.j;
622
668
  }
623
669
  if (this.g != null) {
624
- this.g.i = this.i;
670
+ this.g.i = this.j;
671
+ }
672
+ if (this.h != null) {
673
+ this.h.i = this.j;
625
674
  }
626
675
  };
627
- DataGridToolbar.prototype.a0 = function () {
628
- if (this.k == 0) {
676
+ DataGridToolbar.prototype.a3 = function () {
677
+ if (this.l == 0) {
629
678
  if (this.b != null) {
630
- this.k = this.b.gb;
679
+ this.l = this.b.gd;
631
680
  }
632
681
  }
633
- if (this.f != null) {
634
- this.f.m = this.k;
635
- }
636
682
  if (this.g != null) {
637
- this.g.m = this.k;
683
+ this.g.m = this.l;
684
+ }
685
+ if (this.h != null) {
686
+ this.h.m = this.l;
638
687
  }
639
688
  if (this.c != null) {
640
- this.c.h = this.k;
689
+ this.c.h = this.l;
641
690
  }
642
691
  if (this.d != null) {
643
- this.d.h = this.k;
692
+ this.d.h = this.l;
644
693
  }
645
- this.e.ac();
694
+ this.e.ad();
646
695
  };
647
- DataGridToolbar.prototype.a2 = function (a, b, c, d, e) {
696
+ DataGridToolbar.prototype.a5 = function (a, b, c, d, e) {
648
697
  var f = new XButton();
649
698
  var g = b.getSubRenderer(c);
650
699
  f.provideContainer(g);
651
700
  var h = g.getExternal(f, g.rootWrapper, g.getExternal(a, null, null));
652
- f.i = this.i;
653
- f.m = this.k;
701
+ f.i = this.j;
702
+ f.m = this.l;
654
703
  var i = null;
655
704
  var j = null;
656
705
  var k = null;
657
706
  switch (e) {
658
707
  case "Hiding":
659
- this.f = f;
660
- i = DataGridToolbar.am;
661
- j = this.r.toString();
662
- if (this.ab != null) {
663
- k = this.ab;
708
+ this.g = f;
709
+ i = DataGridToolbar.ao;
710
+ j = this.s.toString();
711
+ if (this.ad != null) {
712
+ k = this.ad;
664
713
  }
665
714
  break;
666
715
  case "Pinning":
667
- this.g = f;
668
- i = DataGridToolbar.an;
669
- j = this.s.toString();
670
- if (this.ag != null) {
671
- k = this.ag;
716
+ this.h = f;
717
+ i = DataGridToolbar.ap;
718
+ j = this.t.toString();
719
+ if (this.ai != null) {
720
+ k = this.ai;
672
721
  }
673
722
  break;
674
723
  }
@@ -705,66 +754,92 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
705
754
  }
706
755
  f.appendButtonContent(d);
707
756
  };
708
- DataGridToolbar.prototype.at = function () {
757
+ DataGridToolbar.prototype.av = function () {
709
758
  this.e.l();
710
759
  };
711
- DataGridToolbar.prototype.a3 = function () {
712
- if (this.p && this.c != null && this.b != null) {
713
- if (this.ad != null) {
714
- this.c.v = this.ad;
760
+ DataGridToolbar.prototype.a6 = function () {
761
+ if (this.q && this.c != null && this.b != null) {
762
+ if (this.af != null) {
763
+ this.c.v = this.af;
715
764
  }
716
765
  this.c.b = this.b;
717
- this.c.f = this.i;
718
- this.c.aq = this.bc;
766
+ this.c.f = this.j;
767
+ this.c.aq = this.bf;
719
768
  this.c.an(new Thickness(1, -16, 3, -16, 3));
720
769
  }
721
770
  };
722
- DataGridToolbar.prototype.a4 = function () {
723
- if (this.q && this.d != null && this.b != null) {
724
- if (this.ai != null) {
725
- this.d.v = this.ai;
771
+ DataGridToolbar.prototype.a7 = function () {
772
+ if (this.r && this.d != null && this.b != null) {
773
+ if (this.ak != null) {
774
+ this.d.v = this.ak;
726
775
  }
727
776
  this.d.b = this.b;
728
- this.d.f = this.i;
729
- this.d.an = this.bc;
777
+ this.d.f = this.j;
778
+ this.d.an = this.bf;
730
779
  this.d.ak(new Thickness(1, -16, 3, -16, 3));
731
780
  }
732
781
  };
733
- DataGridToolbar.prototype.a5 = function () {
782
+ DataGridToolbar.prototype.a8 = function (a) {
783
+ if (a != null) {
784
+ a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
785
+ a.columnPinnedChanged = delegateRemove(a.columnPinnedChanged, runOn(this, this.ba));
786
+ a.propertyChanged = delegateRemove(a.propertyChanged, runOn(this, this.az));
787
+ }
734
788
  if (this.b != null) {
735
- var a = this.b;
736
- a.columnHiddenChanged = delegateCombine(a.columnHiddenChanged, runOn(this, this.a6));
737
789
  var b = this.b;
738
- b.columnPinnedChanged = delegateCombine(b.columnPinnedChanged, runOn(this, this.a7));
739
- this.av();
740
- }
741
- };
742
- DataGridToolbar.prototype.av = function () {
790
+ b.columnHiddenChanged = delegateCombine(b.columnHiddenChanged, runOn(this, this.a9));
791
+ var c = this.b;
792
+ c.columnPinnedChanged = delegateCombine(c.columnPinnedChanged, runOn(this, this.ba));
793
+ var d = this.b;
794
+ d.propertyChanged = delegateCombine(d.propertyChanged, runOn(this, this.az));
795
+ this.ax();
796
+ if (this.b.toolbar != null) {
797
+ this.ar = this.b.ss;
798
+ this.q = this.b.jr;
799
+ this.ad = this.b.sk;
800
+ this.af = this.b.sm;
801
+ this.r = this.b.js;
802
+ this.ai = this.b.so;
803
+ this.ak = this.b.sq;
804
+ }
805
+ }
806
+ };
807
+ DataGridToolbar.prototype.ax = function () {
743
808
  if (this.b != null) {
744
809
  var a = this.b.actualColumns.count;
745
- this.r = 0;
746
810
  this.s = 0;
811
+ this.t = 0;
747
812
  for (var b = 0; b < a; b++) {
748
- if (this.b.actualColumns._inner[b].g2 == true) {
749
- this.r++;
813
+ if (this.b.actualColumns._inner[b].g6 == true) {
814
+ this.s++;
750
815
  }
751
816
  if (this.b.actualColumns._inner[b].f5 == 1) {
752
- this.s++;
817
+ this.t++;
753
818
  }
754
819
  }
755
820
  }
756
- this.e.ad();
757
821
  this.e.ae();
822
+ this.e.af();
823
+ };
824
+ DataGridToolbar.prototype.a9 = function (a, b) {
825
+ this.ax();
826
+ };
827
+ DataGridToolbar.prototype.ba = function (a, b) {
828
+ this.ax();
829
+ };
830
+ DataGridToolbar.prototype.exportVisualModel = function () {
831
+ return this.f();
758
832
  };
759
- DataGridToolbar.prototype.a6 = function (a, b) {
760
- this.av();
833
+ DataGridToolbar.prototype.exportSerializedVisualModel = function () {
834
+ var a = this.f();
835
+ return a.serialize();
761
836
  };
762
- DataGridToolbar.prototype.a7 = function (a, b) {
763
- this.av();
837
+ DataGridToolbar.prototype.f = function () {
838
+ return new ToolbarVisualModelExport();
764
839
  };
765
- DataGridToolbar.$t = markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type]);
766
- DataGridToolbar.am = "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z";
767
- DataGridToolbar.an = "M13.2,3.8l7.1,7.1l-2.8-0.1l-3.4,3.4l0.1,4.2l-3.5-3.5l-5.4,5.4l-1.4,0l0-1.4l5.4-5.4L5.7,9.8l4.2,0.1l3.4-3.4L13.2,3.8z";
840
+ DataGridToolbar.$t = markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type, IDataGridComponent_$type]);
841
+ DataGridToolbar.ao = "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z";
842
+ DataGridToolbar.ap = "M13.2,3.8l7.1,7.1l-2.8-0.1l-3.4,3.4l0.1,4.2l-3.5-3.5l-5.4,5.4l-1.4,0l0-1.4l5.4-5.4L5.7,9.8l4.2,0.1l3.4-3.4L13.2,3.8z";
768
843
  return DataGridToolbar;
769
844
  }(Base));
770
845
  export { DataGridToolbar };