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
@@ -1,463 +0,0 @@
1
- /*
2
- THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
- https://www.infragistics.com/legal/license/igultimate-la
4
- https://www.infragistics.com/legal/license/igultimate-eula
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
- */
7
- import { Base, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, markType, String_$type, typeCast } from "igniteui-webcomponents-core";
8
- import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
9
- import { PropertyEditorPropertyDescriptionButtonClickEventArgs } from "./PropertyEditorPropertyDescriptionButtonClickEventArgs";
10
- import { PropertyEditorPropertyDescriptionChangedEventArgs } from "./PropertyEditorPropertyDescriptionChangedEventArgs";
11
- import { PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs";
12
- import { ObservableCollection$1 } from "igniteui-webcomponents-core";
13
- import { List$1 } from "igniteui-webcomponents-core";
14
- import { stringEndsWith, stringContains, stringReplace } from "igniteui-webcomponents-core";
15
- import { stringSplit } from "igniteui-webcomponents-core";
16
- /**
17
- * @hidden
18
- */
19
- export let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
20
- class PropertyEditorPropertyDescription extends Base {
21
- constructor() {
22
- super(...arguments);
23
- this.x = null;
24
- this.v = null;
25
- this.m = 0;
26
- this.w = null;
27
- this.o = false;
28
- this.u = null;
29
- this.a = null;
30
- this.b = null;
31
- this.r = null;
32
- this.f = null;
33
- this.h = null;
34
- this.e = null;
35
- this.propertyChanged = null;
36
- this.buttonClicked = null;
37
- this.changed = null;
38
- this.targetPropertyUpdating = null;
39
- }
40
- get ab() {
41
- return this.x;
42
- }
43
- set ab(a) {
44
- let b = this.x;
45
- this.x = a;
46
- if (this.x != b) {
47
- this.ae("PropertyPath", b, a);
48
- }
49
- }
50
- get z() {
51
- return this.v;
52
- }
53
- set z(a) {
54
- let b = this.v;
55
- this.v = a;
56
- if (this.v != b) {
57
- this.ae("Label", b, a);
58
- }
59
- }
60
- get n() {
61
- return this.m;
62
- }
63
- set n(a) {
64
- let b = this.m;
65
- this.m = a;
66
- if (this.m != b) {
67
- this.ae("ValueType", enumGetBox(PropertyEditorValueType_$type, b), enumGetBox(PropertyEditorValueType_$type, a));
68
- }
69
- }
70
- get aa() {
71
- return this.w;
72
- }
73
- set aa(a) {
74
- let b = this.w;
75
- this.w = a;
76
- if (this.w != b) {
77
- this.ae("PropertyDescriptionType", b, a);
78
- }
79
- }
80
- get q() {
81
- return this.o;
82
- }
83
- set q(a) {
84
- let b = this.o;
85
- this.o = a;
86
- if (this.o != b) {
87
- this.ae("ShouldOverrideDefaultEditor", b, a);
88
- }
89
- }
90
- get y() {
91
- return this.u;
92
- }
93
- set y(a) {
94
- let b = this.u;
95
- this.u = a;
96
- if (this.u != b) {
97
- this.ae("ElementDescriptionType", b, a);
98
- }
99
- }
100
- get c() {
101
- return this.a;
102
- }
103
- set c(a) {
104
- let b = this.a;
105
- this.a = a;
106
- if (this.a != b) {
107
- this.ae("DropDownNames", b, a);
108
- }
109
- }
110
- get d() {
111
- return this.b;
112
- }
113
- set d(a) {
114
- let b = this.b;
115
- this.b = a;
116
- if (this.b != b) {
117
- this.ae("DropDownValues", b, a);
118
- }
119
- }
120
- get t() {
121
- return this.r;
122
- }
123
- set t(a) {
124
- let b = this.r;
125
- this.r = a;
126
- if (this.r != b) {
127
- this.ae("PrimitiveValue", b, a);
128
- }
129
- }
130
- get g() {
131
- return this.f;
132
- }
133
- set g(a) {
134
- let b = this.f;
135
- this.f = a;
136
- if (this.f != b) {
137
- this.ae("ComplexValue", b, a);
138
- }
139
- }
140
- get i() {
141
- return this.h;
142
- }
143
- set i(a) {
144
- let b = this.h;
145
- this.h = a;
146
- if (this.h != b) {
147
- this.ae("ComplexValues", b, a);
148
- }
149
- }
150
- ae(a, b, c) {
151
- if (this.propertyChanged != null) {
152
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
153
- }
154
- }
155
- p(a) {
156
- let b = false;
157
- if (a == null) {
158
- return false;
159
- }
160
- if (a.c != null && (this.c == null || !this.q)) {
161
- this.c = a.c;
162
- }
163
- if (a.d != null && (this.d == null || !this.q)) {
164
- this.d = a.d;
165
- }
166
- if (a.y != null && (this.y == null || !this.q)) {
167
- this.y = a.y;
168
- }
169
- if (a.aa != null && (this.aa == null || !this.q)) {
170
- this.aa = a.aa;
171
- }
172
- if (a.n != 0 && (this.n == 0 || !this.q)) {
173
- this.n = a.n;
174
- b = true;
175
- }
176
- return true;
177
- }
178
- s(a, b) {
179
- if (b) {
180
- return this.e;
181
- }
182
- if (this.e != null) {
183
- return this.e.d(a, false);
184
- }
185
- return null;
186
- }
187
- ad() {
188
- if (this.buttonClicked != null) {
189
- this.buttonClicked(this, new PropertyEditorPropertyDescriptionButtonClickEventArgs());
190
- }
191
- }
192
- ac() {
193
- if (this.changed != null) {
194
- this.changed(this, new PropertyEditorPropertyDescriptionChangedEventArgs());
195
- }
196
- }
197
- af(a, b, c) {
198
- if (this.targetPropertyUpdating != null) {
199
- this.targetPropertyUpdating(this, ((() => {
200
- let $ret = new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
201
- $ret.propertyPath = a;
202
- $ret.target = b;
203
- $ret.value = c;
204
- return $ret;
205
- })()));
206
- }
207
- }
208
- }
209
- PropertyEditorPropertyDescription.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescription, 'PropertyEditorPropertyDescription', Base.$, [INotifyPropertyChanged_$type]);
210
- return PropertyEditorPropertyDescription;
211
- })();
212
- /**
213
- * @hidden
214
- */
215
- export let PropertyEditorDescriptionObject = /*@__PURE__*/ (() => {
216
- class PropertyEditorDescriptionObject extends Base {
217
- constructor() {
218
- super(...arguments);
219
- this.b = null;
220
- this.a = null;
221
- }
222
- }
223
- PropertyEditorDescriptionObject.$t = /*@__PURE__*/ markType(PropertyEditorDescriptionObject, 'PropertyEditorDescriptionObject');
224
- return PropertyEditorDescriptionObject;
225
- })();
226
- /**
227
- * @hidden
228
- */
229
- export let PropertyEditorDescriptionObjectCollection = /*@__PURE__*/ (() => {
230
- class PropertyEditorDescriptionObjectCollection extends ObservableCollection$1 {
231
- constructor() {
232
- super(PropertyEditorDescriptionObject.$, 0);
233
- }
234
- }
235
- PropertyEditorDescriptionObjectCollection.$t = /*@__PURE__*/ markType(PropertyEditorDescriptionObjectCollection, 'PropertyEditorDescriptionObjectCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(PropertyEditorDescriptionObject.$));
236
- return PropertyEditorDescriptionObjectCollection;
237
- })();
238
- /**
239
- * @hidden
240
- */
241
- export let PropertyEditorPropertyDescriptionCollection = /*@__PURE__*/ (() => {
242
- class PropertyEditorPropertyDescriptionCollection extends ObservableCollection$1 {
243
- constructor() {
244
- super(PropertyEditorPropertyDescription.$, 0);
245
- }
246
- }
247
- PropertyEditorPropertyDescriptionCollection.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescriptionCollection, 'PropertyEditorPropertyDescriptionCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(PropertyEditorPropertyDescription.$));
248
- return PropertyEditorPropertyDescriptionCollection;
249
- })();
250
- /**
251
- * @hidden
252
- */
253
- export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
254
- class PropertyEditorDataSource extends Base {
255
- constructor() {
256
- super(...arguments);
257
- this.i = null;
258
- this.a = null;
259
- this.f = null;
260
- this.propertyChanged = null;
261
- }
262
- get l() {
263
- return this.i;
264
- }
265
- set l(a) {
266
- let b = this.i;
267
- this.i = a;
268
- this.n("DescriptionType", b, this.i);
269
- }
270
- get b() {
271
- return this.a;
272
- }
273
- set b(a) {
274
- let b = this.a;
275
- this.a = a;
276
- this.n("Context", b, this.a);
277
- }
278
- get g() {
279
- return this.f;
280
- }
281
- set g(a) {
282
- let b = this.f;
283
- this.f = a;
284
- this.n("Data", b, this.f);
285
- }
286
- n(a, b, c) {
287
- if (this.propertyChanged != null) {
288
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
289
- }
290
- this.o(a, b, c);
291
- }
292
- o(a, b, c) {
293
- switch (a) {
294
- case "DescriptionType":
295
- this.p();
296
- break;
297
- case "Context":
298
- this.p();
299
- break;
300
- }
301
- }
302
- e(a) {
303
- let b = new PropertyEditorPropertyDescription();
304
- b.ab = a.propertyName;
305
- b.n = this.h(a);
306
- b.aa = a.specificExternalType != null ? a.specificExternalType : a.specificType;
307
- if (a.knownType == 9) {
308
- b.y = a.collectionElementType;
309
- b.e = ((() => {
310
- let $ret = new PropertyEditorDataSource();
311
- $ret.b = this.a;
312
- $ret.l = b.y;
313
- return $ret;
314
- })());
315
- }
316
- if (b.n == 8) {
317
- b.e = ((() => {
318
- let $ret = new PropertyEditorDataSource();
319
- $ret.b = this.a;
320
- $ret.l = b.aa;
321
- return $ret;
322
- })());
323
- }
324
- if (b.n == 15) {
325
- b.c = this.a.c(this.l, b.ab);
326
- b.d = b.d;
327
- }
328
- return b;
329
- }
330
- h(a) {
331
- switch (a.knownType) {
332
- case 10: return 10;
333
- case 7: return 7;
334
- case 4: return 4;
335
- case 6: return 6;
336
- case 9: return 9;
337
- case 5: return 5;
338
- case 16: return 14;
339
- case 20: return 18;
340
- case 15: return 0;
341
- case 3: return 3;
342
- case 19: return 17;
343
- case 8:
344
- if (a.specificExternalType == "string") {
345
- return 15;
346
- }
347
- return 8;
348
- case 13: return 0;
349
- case 18: return 0;
350
- case 1: return 1;
351
- case 11: return 11;
352
- case 14: return 13;
353
- case 12: return 12;
354
- case 2: return 2;
355
- case 21: return 19;
356
- case 17: return 0;
357
- case 0: return 0;
358
- }
359
- return 0;
360
- }
361
- p() {
362
- let a = new PropertyEditorPropertyDescriptionCollection();
363
- if (this.l != null && this.b != null) {
364
- let b = this.b.b(this.l);
365
- if (b == null) {
366
- return;
367
- }
368
- for (let c = 0; c < b.length; c++) {
369
- if (stringEndsWith(b[c], "@names")) {
370
- continue;
371
- }
372
- if (stringEndsWith(b[c], "@nameBinding")) {
373
- continue;
374
- }
375
- let d = this.b.getMetadata(this.l, b[c]);
376
- let e = this.e(d);
377
- if (e.n == 0) {
378
- continue;
379
- }
380
- a.add(e);
381
- }
382
- }
383
- this.g = a;
384
- }
385
- d(a, b) {
386
- if (a == null) {
387
- return null;
388
- }
389
- let c = stringSplit(a, ['.', '['], 0);
390
- let d = new List$1(String_$type, 1, c);
391
- let e = null;
392
- let f = null;
393
- let g = null;
394
- while (d.count > 0) {
395
- let h = d._inner[0];
396
- d.removeAt(0);
397
- let i = false;
398
- if (stringContains(h, "]")) {
399
- h = stringReplace(h, "]", "");
400
- i = true;
401
- let j = h.split(',');
402
- h = j[0].trim();
403
- if (stringContains(h, "as")) {
404
- let k = h.indexOf("as");
405
- g = h.substr(0, k).trim();
406
- f = h.substr(k + 2).trim();
407
- }
408
- if (f != null && f != this.l) {
409
- let l = this.c();
410
- l.l = f;
411
- e = l;
412
- continue;
413
- }
414
- }
415
- if (b) {
416
- i = true;
417
- }
418
- if (e != null && typeCast(PropertyEditorPropertyDescription.$, e) !== null) {
419
- let m = e.s(h, i);
420
- if (m == null) {
421
- return null;
422
- }
423
- e = m;
424
- }
425
- else {
426
- if (e != null) {
427
- let n = e;
428
- let o = n.d(h, i);
429
- if (o == null) {
430
- return null;
431
- }
432
- e = o;
433
- }
434
- else {
435
- if (this.g == null) {
436
- return null;
437
- }
438
- for (let p = 0; p < this.g.count; p++) {
439
- if (Base.equalsStatic(this.g._inner[p].ab, h)) {
440
- e = this.g._inner[p];
441
- break;
442
- }
443
- }
444
- if (e == null) {
445
- return null;
446
- }
447
- }
448
- }
449
- }
450
- return typeCast(PropertyEditorPropertyDescription.$, e);
451
- }
452
- c() {
453
- return ((() => {
454
- let $ret = new PropertyEditorDataSource();
455
- $ret.b = this.b;
456
- $ret.l = this.l;
457
- return $ret;
458
- })());
459
- }
460
- }
461
- PropertyEditorDataSource.$t = /*@__PURE__*/ markType(PropertyEditorDataSource, 'PropertyEditorDataSource', Base.$, [INotifyPropertyChanged_$type]);
462
- return PropertyEditorDataSource;
463
- })();
@@ -1,207 +0,0 @@
1
- /*
2
- THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
- https://www.infragistics.com/legal/license/igultimate-la
4
- https://www.infragistics.com/legal/license/igultimate-eula
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
- */
7
- import { Base, Number_$type, String_$type, typeCast, markType } from "igniteui-webcomponents-core";
8
- import { DescriptionTreeNode } from "igniteui-webcomponents-core";
9
- import { JsonDictionaryObject } from "igniteui-webcomponents-core";
10
- import { List$1 } from "igniteui-webcomponents-core";
11
- import { DescriptionSerializerBuilder } from "igniteui-webcomponents-core";
12
- import { DescriptionSerializer } from "igniteui-webcomponents-core";
13
- import { stringSplit } from "igniteui-webcomponents-core";
14
- import { stringContains, stringReplace, stringJoin } from "igniteui-webcomponents-core";
15
- /**
16
- * @hidden
17
- */
18
- export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
19
- class PropertyEditorTreeTransformer extends Base {
20
- constructor(a, b) {
21
- super();
22
- this.a = new DescriptionTreeNode();
23
- this.b = null;
24
- this.b = a;
25
- this.a = new DescriptionTreeNode();
26
- this.a.h = b;
27
- let c = new JsonDictionaryObject();
28
- }
29
- h(a, b, c) {
30
- if (a == null) {
31
- return;
32
- }
33
- this.c(a, b, this.a, c, null);
34
- }
35
- c(a, b, c, d, e) {
36
- if (a == null) {
37
- return null;
38
- }
39
- let f = stringSplit(a, ['.', '['], 0);
40
- let g = f[0];
41
- let h = f.length > 1;
42
- let i = false;
43
- let j = new List$1(Number_$type, 0);
44
- let k = new List$1(String_$type, 0);
45
- if (stringContains(g, "]")) {
46
- i = true;
47
- g = stringReplace(g, "]", "");
48
- let l = g.split(',');
49
- for (let m = 0; m < l.length; m++) {
50
- let n = l[m];
51
- if (stringContains(n, "as")) {
52
- let o = n.indexOf("as");
53
- let p = n.substr(0, o).trim();
54
- let q = n.substr(o + 2).trim();
55
- j.add(parseInt(p));
56
- k.add(q);
57
- d = q;
58
- g = p;
59
- }
60
- }
61
- }
62
- let r = null;
63
- if (!i) {
64
- r = this.b.getMetadata(d, g);
65
- }
66
- else {
67
- r = e;
68
- }
69
- if (h) {
70
- if (i) {
71
- let s = c.b;
72
- for (let t = 0; t < j.count; t++) {
73
- g = j._inner[t].toString();
74
- let u = k._inner[t];
75
- let v = parseInt(stringReplace(stringReplace(g, "[", ""), "]", ""));
76
- {
77
- let w = new List$1(Base.$, 0);
78
- for (let x = 0; x <= v; x++) {
79
- if (s != null && x < s.length) {
80
- let y = s[x];
81
- if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
82
- y.h = u;
83
- }
84
- w.add1(y);
85
- }
86
- else {
87
- let z = this.d(e, true, u);
88
- if (z != null) {
89
- w.add1(z);
90
- }
91
- }
92
- }
93
- s = w.toArray();
94
- let aa = s[v];
95
- let ab = new List$1(String_$type, 1, f);
96
- ab.removeAt(0);
97
- let ac = r.collectionElementType;
98
- if (u != null) {
99
- ac = u;
100
- }
101
- let ad = this.c(stringJoin(".", ...ab.toArray()), b, aa, ac, r);
102
- if (ad != null) {
103
- s[v] = ad;
104
- }
105
- c.b = s;
106
- }
107
- }
108
- }
109
- else {
110
- let ae = c;
111
- if (!ae.b(g)) {
112
- ae.n(g, this.d(r, false, null), r);
113
- }
114
- let af = ae.a(g);
115
- let ag = new List$1(String_$type, 1, f);
116
- ag.removeAt(0);
117
- let ah = this.c(stringJoin(".", ...ag.toArray()), b, af, r.specificExternalType, r);
118
- if (ah != null) {
119
- ae.n(g, ah, r);
120
- }
121
- }
122
- }
123
- else {
124
- let ai = c;
125
- ai.n(g, this.e(b, r), r);
126
- }
127
- return null;
128
- }
129
- f(a) {
130
- if (a == null) {
131
- return null;
132
- }
133
- if (a.length < 1) {
134
- return "";
135
- }
136
- return a.substr(0, 1).toLowerCase() + a.substr(1);
137
- }
138
- e(a, b) {
139
- if (a == null) {
140
- return null;
141
- }
142
- if (b == null) {
143
- return null;
144
- }
145
- switch (b.knownType) {
146
- case 10: return a;
147
- case 7: return a;
148
- case 4: return a.toString();
149
- case 6: return a;
150
- case 9: return a;
151
- case 5: return a.toString();
152
- case 16: return a;
153
- case 20: return a;
154
- case 15: return a;
155
- case 3: return a;
156
- case 19: return a;
157
- case 8: return a;
158
- case 13: return a;
159
- case 18: return a;
160
- case 1: return a;
161
- case 11: return a;
162
- case 14: return a;
163
- case 12: return a;
164
- case 2: return a;
165
- case 21: return a;
166
- case 17: return a;
167
- case 0: return a;
168
- }
169
- return null;
170
- }
171
- d(a, b, c) {
172
- if (!b && (a.knownType == 10 || a.knownType == 9)) {
173
- return new Array(0);
174
- }
175
- else {
176
- let d = new DescriptionTreeNode();
177
- if (c != null) {
178
- d.h = c;
179
- }
180
- else {
181
- d.h = a.specificExternalType != null ? a.specificExternalType : a.specificType;
182
- }
183
- return d;
184
- }
185
- }
186
- g() {
187
- let a = new DescriptionSerializerBuilder();
188
- let b = new DescriptionSerializer();
189
- let c = "root";
190
- a.f("{");
191
- a.i();
192
- a.f("\"descriptions\": {");
193
- a.i();
194
- a.e("\"" + c + "\"");
195
- a.e(": ");
196
- b.s(this.b, this.a, a);
197
- a.f("");
198
- a.h();
199
- a.e("}");
200
- a.h();
201
- a.f("}");
202
- return a.toString();
203
- }
204
- }
205
- PropertyEditorTreeTransformer.$t = /*@__PURE__*/ markType(PropertyEditorTreeTransformer, 'PropertyEditorTreeTransformer');
206
- return PropertyEditorTreeTransformer;
207
- })();
@@ -1,35 +0,0 @@
1
- /*
2
- THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
- https://www.infragistics.com/legal/license/igultimate-la
4
- https://www.infragistics.com/legal/license/igultimate-eula
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
- */
7
- import { markEnum } from "igniteui-webcomponents-core";
8
- export var PropertyEditorValueType = /*@__PURE__*/ (function (PropertyEditorValueType) {
9
- PropertyEditorValueType[PropertyEditorValueType["Unhandled"] = 0] = "Unhandled";
10
- PropertyEditorValueType[PropertyEditorValueType["Number"] = 1] = "Number";
11
- PropertyEditorValueType[PropertyEditorValueType["StringValue"] = 2] = "StringValue";
12
- PropertyEditorValueType[PropertyEditorValueType["Date"] = 3] = "Date";
13
- PropertyEditorValueType[PropertyEditorValueType["Brush"] = 4] = "Brush";
14
- PropertyEditorValueType[PropertyEditorValueType["Color"] = 5] = "Color";
15
- PropertyEditorValueType[PropertyEditorValueType["BrushCollection"] = 6] = "BrushCollection";
16
- PropertyEditorValueType[PropertyEditorValueType["boolean1"] = 7] = "boolean1";
17
- PropertyEditorValueType[PropertyEditorValueType["SubType"] = 8] = "SubType";
18
- PropertyEditorValueType[PropertyEditorValueType["Collection"] = 9] = "Collection";
19
- PropertyEditorValueType[PropertyEditorValueType["Array"] = 10] = "Array";
20
- PropertyEditorValueType[PropertyEditorValueType["Point"] = 11] = "Point";
21
- PropertyEditorValueType[PropertyEditorValueType["Size"] = 12] = "Size";
22
- PropertyEditorValueType[PropertyEditorValueType["Rect"] = 13] = "Rect";
23
- PropertyEditorValueType[PropertyEditorValueType["ColorCollection"] = 14] = "ColorCollection";
24
- PropertyEditorValueType[PropertyEditorValueType["EnumValue"] = 15] = "EnumValue";
25
- PropertyEditorValueType[PropertyEditorValueType["MethodRef"] = 16] = "MethodRef";
26
- PropertyEditorValueType[PropertyEditorValueType["EventRef"] = 17] = "EventRef";
27
- PropertyEditorValueType[PropertyEditorValueType["DataRef"] = 18] = "DataRef";
28
- PropertyEditorValueType[PropertyEditorValueType["TimeSpan"] = 19] = "TimeSpan";
29
- PropertyEditorValueType[PropertyEditorValueType["Button"] = 20] = "Button";
30
- return PropertyEditorValueType;
31
- })({});
32
- /**
33
- * @hidden
34
- */
35
- export let PropertyEditorValueType_$type = /*@__PURE__*/ markEnum('PropertyEditorValueType', 'Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20');