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,39 +0,0 @@
1
- import { PropertyEditorDataSource as PropertyEditorDataSource_internal } from "./PropertyEditorDataSource";
2
- export class IgcPropertyEditorDataSource {
3
- createImplementation() {
4
- return new PropertyEditorDataSource_internal();
5
- }
6
- /**
7
- * @hidden
8
- */
9
- get i() {
10
- return this._implementation;
11
- }
12
- onImplementationCreated() {
13
- }
14
- constructor() {
15
- this._implementation = this.createImplementation();
16
- this._implementation.externalObject = this;
17
- this.onImplementationCreated();
18
- }
19
- _provideImplementation(i) {
20
- this._implementation = i;
21
- this._implementation.externalObject = this;
22
- this.onImplementationCreated();
23
- }
24
- get descriptionType() {
25
- return this.i.l;
26
- }
27
- set descriptionType(v) {
28
- this.i.l = v;
29
- }
30
- get context() {
31
- return this.i.b;
32
- }
33
- set context(v) {
34
- this.i.b = v;
35
- }
36
- findByName(name) {
37
- return null;
38
- }
39
- }
@@ -1,48 +0,0 @@
1
- import { IgCollection } from "igniteui-webcomponents-core";
2
- import { markType } from "igniteui-webcomponents-core";
3
- import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
4
- import { PropertyEditorDescriptionObject as PropertyEditorDescriptionObject_internal } from './PropertyEditorDescriptionObject';
5
- import { IgcPropertyEditorDescriptionObject as IgcPropertyEditorDescriptionObject } from './igc-property-editor-description-object';
6
- export class IgcPropertyEditorDescriptionObjectCollection extends IgCollection {
7
- constructor(list) {
8
- super();
9
- if (!IgcPropertyEditorDescriptionObject.$type) {
10
- IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
11
- }
12
- if (list) {
13
- for (let i = 0; i < list.length; i++) {
14
- this.add(list[i]);
15
- }
16
- }
17
- }
18
- _createInnerColl() {
19
- if (!IgcPropertyEditorDescriptionObject.$type) {
20
- IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
21
- }
22
- let coll = new SyncableObservableCollection$2(IgcPropertyEditorDescriptionObject.$type, PropertyEditorDescriptionObject_internal.$type, 0);
23
- coll.compare = (ext, int) => {
24
- let comp = ext;
25
- if (comp._implementation) {
26
- comp = comp._implementation;
27
- }
28
- if (comp.equals) {
29
- return comp.equals(int);
30
- }
31
- return comp === int;
32
- };
33
- coll.createTo = (ext) => {
34
- return ext._implementation;
35
- };
36
- coll.createFrom = (int) => {
37
- let ext = int.externalObject;
38
- if (!ext) {
39
- ext = new IgcPropertyEditorDescriptionObject();
40
- if (ext) {
41
- ext._implementation = int;
42
- }
43
- }
44
- return ext;
45
- };
46
- return coll;
47
- }
48
- }
@@ -1,70 +0,0 @@
1
- import { IgcPropertyEditorPropertyDescriptionCollection } from "./igc-property-editor-property-description-collection";
2
- import { PropertyEditorDescriptionObject as PropertyEditorDescriptionObject_internal } from "./PropertyEditorDescriptionObject";
3
- import { PropertyEditorPropertyDescriptionCollection as PropertyEditorPropertyDescriptionCollection_internal } from "./PropertyEditorPropertyDescriptionCollection";
4
- import { PropertyEditorPropertyDescription } from "./PropertyEditorPropertyDescription";
5
- import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
6
- export class IgcPropertyEditorDescriptionObject {
7
- constructor() {
8
- this._properties = null;
9
- this._implementation = this.createImplementation();
10
- this._implementation.externalObject = this;
11
- this.onImplementationCreated();
12
- }
13
- createImplementation() {
14
- return new PropertyEditorDescriptionObject_internal();
15
- }
16
- /**
17
- * @hidden
18
- */
19
- get i() {
20
- return this._implementation;
21
- }
22
- onImplementationCreated() {
23
- }
24
- _provideImplementation(i) {
25
- this._implementation = i;
26
- this._implementation.externalObject = this;
27
- this.onImplementationCreated();
28
- }
29
- get descriptionType() {
30
- return this.i.b;
31
- }
32
- set descriptionType(v) {
33
- this.i.b = v;
34
- }
35
- get properties() {
36
- if (this._properties === null) {
37
- let coll = new IgcPropertyEditorPropertyDescriptionCollection();
38
- let innerColl = this.i.a;
39
- if (!innerColl) {
40
- innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
41
- }
42
- this._properties = coll._fromInner(innerColl);
43
- this.i.a = innerColl;
44
- }
45
- return this._properties;
46
- }
47
- set properties(v) {
48
- if (this._properties !== null) {
49
- this._properties._setSyncTarget(null);
50
- this._properties = null;
51
- }
52
- let coll = new IgcPropertyEditorPropertyDescriptionCollection();
53
- this._properties = coll._fromOuter(v);
54
- let syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
55
- let innerColl = this.i.a;
56
- if (!innerColl) {
57
- innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
58
- }
59
- syncColl._inner = innerColl;
60
- syncColl.clear();
61
- this._properties._setSyncTarget(syncColl);
62
- this.i.a = innerColl;
63
- }
64
- findByName(name) {
65
- if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
66
- return this.properties.findByName(name);
67
- }
68
- return null;
69
- }
70
- }
@@ -1,24 +0,0 @@
1
- import { PropertyEditorPropertyDescriptionButtonClickEventArgs as PropertyEditorPropertyDescriptionButtonClickEventArgs_internal } from "./PropertyEditorPropertyDescriptionButtonClickEventArgs";
2
- export class IgcPropertyEditorPropertyDescriptionButtonClickEventArgs {
3
- createImplementation() {
4
- return new PropertyEditorPropertyDescriptionButtonClickEventArgs_internal();
5
- }
6
- /**
7
- * @hidden
8
- */
9
- get i() {
10
- return this._implementation;
11
- }
12
- onImplementationCreated() {
13
- }
14
- constructor() {
15
- this._implementation = this.createImplementation();
16
- this._implementation.externalObject = this;
17
- this.onImplementationCreated();
18
- }
19
- _provideImplementation(i) {
20
- this._implementation = i;
21
- this._implementation.externalObject = this;
22
- this.onImplementationCreated();
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- import { PropertyEditorPropertyDescriptionChangedEventArgs as PropertyEditorPropertyDescriptionChangedEventArgs_internal } from "./PropertyEditorPropertyDescriptionChangedEventArgs";
2
- export class IgcPropertyEditorPropertyDescriptionChangedEventArgs {
3
- createImplementation() {
4
- return new PropertyEditorPropertyDescriptionChangedEventArgs_internal();
5
- }
6
- /**
7
- * @hidden
8
- */
9
- get i() {
10
- return this._implementation;
11
- }
12
- onImplementationCreated() {
13
- }
14
- constructor() {
15
- this._implementation = this.createImplementation();
16
- this._implementation.externalObject = this;
17
- this.onImplementationCreated();
18
- }
19
- _provideImplementation(i) {
20
- this._implementation = i;
21
- this._implementation.externalObject = this;
22
- this.onImplementationCreated();
23
- }
24
- }
@@ -1,48 +0,0 @@
1
- import { IgCollection } from "igniteui-webcomponents-core";
2
- import { markType } from "igniteui-webcomponents-core";
3
- import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
4
- import { PropertyEditorPropertyDescription as PropertyEditorPropertyDescription_internal } from './PropertyEditorPropertyDescription';
5
- import { IgcPropertyEditorPropertyDescriptionComponent as IgcPropertyEditorPropertyDescriptionComponent } from './igc-property-editor-property-description-component';
6
- export class IgcPropertyEditorPropertyDescriptionCollection extends IgCollection {
7
- constructor(list) {
8
- super();
9
- if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
10
- IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
11
- }
12
- if (list) {
13
- for (let i = 0; i < list.length; i++) {
14
- this.add(list[i]);
15
- }
16
- }
17
- }
18
- _createInnerColl() {
19
- if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
20
- IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
21
- }
22
- let coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription_internal.$type, 0);
23
- coll.compare = (ext, int) => {
24
- let comp = ext;
25
- if (comp._implementation) {
26
- comp = comp._implementation;
27
- }
28
- if (comp.equals) {
29
- return comp.equals(int);
30
- }
31
- return comp === int;
32
- };
33
- coll.createTo = (ext) => {
34
- return ext._implementation;
35
- };
36
- coll.createFrom = (int) => {
37
- let ext = int.externalObject;
38
- if (!ext) {
39
- ext = new IgcPropertyEditorPropertyDescriptionComponent();
40
- if (ext) {
41
- ext._implementation = int;
42
- }
43
- }
44
- return ext;
45
- };
46
- return coll;
47
- }
48
- }
@@ -1,372 +0,0 @@
1
- import { IgcHTMLElement } from "igniteui-webcomponents-core";
2
- import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
3
- import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
4
- import { IgcPropertyEditorDescriptionObject } from "./igc-property-editor-description-object";
5
- import { IgcPropertyEditorDescriptionObjectCollection } from "./igc-property-editor-description-object-collection";
6
- import { IgcPropertyEditorPropertyDescriptionButtonClickEventArgs } from "./igc-property-editor-property-description-button-click-event-args";
7
- import { IgcPropertyEditorPropertyDescriptionChangedEventArgs } from "./igc-property-editor-property-description-changed-event-args";
8
- import { IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./igc-property-editor-property-description-target-property-updating-event-args";
9
- import { PropertyEditorPropertyDescription } from "./PropertyEditorPropertyDescription";
10
- import { TypeRegistrar } from "igniteui-webcomponents-core";
11
- import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, ensureBool, initializePropertiesFromCss } from "igniteui-webcomponents-core";
12
- import { RegisterElementHelper } from "igniteui-webcomponents-core";
13
- import { PropertyEditorDescriptionObjectCollection as PropertyEditorDescriptionObjectCollection_internal } from "./PropertyEditorDescriptionObjectCollection";
14
- import { PropertyEditorDescriptionObject } from "./PropertyEditorDescriptionObject";
15
- import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
16
- export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() => {
17
- class IgcPropertyEditorPropertyDescriptionComponent extends IgcHTMLElement {
18
- constructor() {
19
- super();
20
- this._settingAttributes = false;
21
- this._attached = false;
22
- this._queuedSetAttributes = [];
23
- this._updatingFromAttribute = false;
24
- this._complexValues = null;
25
- this.__p = null;
26
- this._hasUserValues = new Set();
27
- this._stylingContainer = null;
28
- this._stylingParent = null;
29
- this._inStyling = false;
30
- this._buttonClicked = null;
31
- this._buttonClicked_wrapped = null;
32
- this._changed = null;
33
- this._changed_wrapped = null;
34
- this._targetPropertyUpdating = null;
35
- this._targetPropertyUpdating_wrapped = null;
36
- if (this._styling) {
37
- NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
38
- }
39
- this._implementation = this.createImplementation();
40
- this._implementation.externalObject = this;
41
- this.onImplementationCreated();
42
- }
43
- createImplementation() {
44
- return new PropertyEditorPropertyDescription();
45
- }
46
- /**
47
- * @hidden
48
- */
49
- get i() {
50
- return this._implementation;
51
- } /**
52
- * @hidden
53
- */
54
- static _createFromInternal(internal) {
55
- if (!internal) {
56
- return null;
57
- }
58
- if (!internal.$type) {
59
- return null;
60
- }
61
- let name = internal.$type.name;
62
- let externalName = "Igc" + name + "Component";
63
- if (!TypeRegistrar.isRegistered(externalName)) {
64
- return null;
65
- }
66
- return TypeRegistrar.create(externalName);
67
- }
68
- onImplementationCreated() {
69
- }
70
- _enqueueSetAttribute(attrName, attrValue) {
71
- this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
72
- }
73
- _flushQueuedAttributes() {
74
- this._settingAttributes = true;
75
- for (let i = 0; i < this._queuedSetAttributes.length; i++) {
76
- this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
77
- }
78
- this._settingAttributes = false;
79
- this._queuedSetAttributes.length = 0;
80
- }
81
- _a(attrName, attrValue) {
82
- if (this._updatingFromAttribute) {
83
- return;
84
- }
85
- if (attrValue) {
86
- attrValue = attrValue.toString();
87
- }
88
- this._settingAttributes = true;
89
- attrName = toSpinal(attrName);
90
- if (this._attached) {
91
- this.setAttribute(attrName, attrValue);
92
- }
93
- else {
94
- this._enqueueSetAttribute(attrName, attrValue);
95
- }
96
- this._settingAttributes = false;
97
- }
98
- connectedCallback() {
99
- if (super["connectedCallback"]) {
100
- super["connectedCallback"]();
101
- }
102
- if (!this._attached) {
103
- this._attached = true;
104
- this._flushQueuedAttributes();
105
- }
106
- }
107
- static get observedAttributes() {
108
- if (IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent == null) {
109
- let names = getAllPropertyNames(IgcPropertyEditorPropertyDescriptionComponent);
110
- for (let i = 0; i < names.length; i++) {
111
- names[i] = toSpinal(names[i]);
112
- }
113
- IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = names;
114
- }
115
- return IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent;
116
- }
117
- attributeChangedCallback(name, oldValue, newValue) {
118
- if (this._settingAttributes) {
119
- return;
120
- }
121
- let setName = fromSpinal(name);
122
- this._updatingFromAttribute = true;
123
- this[setName] = newValue;
124
- this._updatingFromAttribute = false;
125
- }
126
- static register() {
127
- if (!IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered) {
128
- IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered = true;
129
- RegisterElementHelper.registerElement(IgcPropertyEditorPropertyDescriptionComponent.htmlTagName, IgcPropertyEditorPropertyDescriptionComponent);
130
- }
131
- }
132
- get propertyPath() {
133
- return this.i.ab;
134
- }
135
- set propertyPath(v) {
136
- this.i.ab = v;
137
- }
138
- get label() {
139
- return this.i.z;
140
- }
141
- set label(v) {
142
- this.i.z = v;
143
- }
144
- get valueType() {
145
- return this.i.n;
146
- }
147
- set valueType(v) {
148
- this.i.n = ensureEnum(PropertyEditorValueType_$type, v);
149
- this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.n));
150
- }
151
- get propertyDescriptionType() {
152
- return this.i.aa;
153
- }
154
- set propertyDescriptionType(v) {
155
- this.i.aa = v;
156
- }
157
- get shouldOverrideDefaultEditor() {
158
- return this.i.q;
159
- }
160
- set shouldOverrideDefaultEditor(v) {
161
- this.i.q = ensureBool(v);
162
- this._a("shouldOverrideDefaultEditor", this.i.q);
163
- }
164
- get elementDescriptionType() {
165
- return this.i.y;
166
- }
167
- set elementDescriptionType(v) {
168
- this.i.y = v;
169
- }
170
- get dropDownNames() {
171
- return this.i.c;
172
- }
173
- set dropDownNames(v) {
174
- if (v && !Array.isArray(v) && typeof (v) == "string") {
175
- const re = /\s*(?:,|\s|$)\s*/gm;
176
- v = v.split(re);
177
- }
178
- this.i.c = v;
179
- }
180
- get dropDownValues() {
181
- return this.i.d;
182
- }
183
- set dropDownValues(v) {
184
- if (v && !Array.isArray(v) && typeof (v) == "string") {
185
- const re = /\s*(?:,|\s|$)\s*/gm;
186
- v = v.split(re);
187
- }
188
- this.i.d = v;
189
- }
190
- get primitiveValue() {
191
- return this.i.t;
192
- }
193
- set primitiveValue(v) {
194
- this.i.t = v;
195
- }
196
- get complexValue() {
197
- if (this.i.g == null) {
198
- return null;
199
- }
200
- if (!this.i.g.externalObject) {
201
- let e = new IgcPropertyEditorDescriptionObject();
202
- e._implementation = this.i.g;
203
- this.i.g.externalObject = e;
204
- }
205
- return this.i.g.externalObject;
206
- }
207
- set complexValue(v) {
208
- v == null ? this.i.g = null : this.i.g = v.i;
209
- }
210
- get complexValues() {
211
- if (this._complexValues === null) {
212
- let coll = new IgcPropertyEditorDescriptionObjectCollection();
213
- let innerColl = this.i.i;
214
- if (!innerColl) {
215
- innerColl = new PropertyEditorDescriptionObjectCollection_internal();
216
- }
217
- this._complexValues = coll._fromInner(innerColl);
218
- this.i.i = innerColl;
219
- }
220
- return this._complexValues;
221
- }
222
- set complexValues(v) {
223
- if (this._complexValues !== null) {
224
- this._complexValues._setSyncTarget(null);
225
- this._complexValues = null;
226
- }
227
- let coll = new IgcPropertyEditorDescriptionObjectCollection();
228
- this._complexValues = coll._fromOuter(v);
229
- let syncColl = new SyncableObservableCollection$1(PropertyEditorDescriptionObject.$type);
230
- let innerColl = this.i.i;
231
- if (!innerColl) {
232
- innerColl = new PropertyEditorDescriptionObjectCollection_internal();
233
- }
234
- syncColl._inner = innerColl;
235
- syncColl.clear();
236
- this._complexValues._setSyncTarget(syncColl);
237
- this.i.i = innerColl;
238
- }
239
- findByName(name) {
240
- if (this.complexValue && this.complexValue.name && this.complexValue.name == name) {
241
- return this.complexValue;
242
- }
243
- if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
244
- return this.complexValues.findByName(name);
245
- }
246
- return null;
247
- }
248
- get hasUserValues() {
249
- return this._hasUserValues;
250
- }
251
- __m(propertyName) {
252
- if (!this._inStyling) {
253
- this._hasUserValues.add(propertyName);
254
- }
255
- }
256
- _styling(container, component, parent) {
257
- if (this._inStyling) {
258
- return;
259
- }
260
- this._inStyling = true;
261
- this._stylingContainer = container;
262
- this._stylingParent = component;
263
- let genericPrefix = "";
264
- let typeName = this.i.$type.name;
265
- if (typeName.indexOf("Xam") === 0) {
266
- typeName = typeName.substring(3);
267
- }
268
- genericPrefix = toSpinal("PropertyEditorPropertyDescriptionComponent");
269
- let additionalPrefixes = [];
270
- let prefix = toSpinal(typeName);
271
- additionalPrefixes.push(prefix + "-");
272
- let b = this.i.$type.baseType;
273
- while (b && b.name != "Object" &&
274
- b.name != "Base" &&
275
- b.name != "Control" &&
276
- b.Name != "DependencyObject" &&
277
- b.Name != "FrameworkElement") {
278
- typeName = b.name;
279
- if (typeName.indexOf("Xam") === 0) {
280
- typeName = typeName.substring(3);
281
- }
282
- let basePrefix = toSpinal(typeName);
283
- additionalPrefixes.push(basePrefix + "-");
284
- b = b.baseType;
285
- }
286
- if (parent) {
287
- let parentTypeName = parent.i.$type.name;
288
- if (parentTypeName.indexOf("Xam") === 0) {
289
- parentTypeName = parentTypeName.substring(3);
290
- }
291
- let parentPrefix = toSpinal(parentTypeName);
292
- additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
293
- additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
294
- }
295
- initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
296
- if (this._otherStyling) {
297
- this._otherStyling(container, component, parent);
298
- }
299
- this._inStyling = false;
300
- }
301
- get buttonClicked() {
302
- return this._buttonClicked;
303
- }
304
- set buttonClicked(ev) {
305
- if (this._buttonClicked_wrapped !== null) {
306
- this.i.buttonClicked = delegateRemove(this.i.buttonClicked, this._buttonClicked_wrapped);
307
- this._buttonClicked_wrapped = null;
308
- this._buttonClicked = null;
309
- }
310
- this._buttonClicked = ev;
311
- this._buttonClicked_wrapped = (o, e) => {
312
- let outerArgs = new IgcPropertyEditorPropertyDescriptionButtonClickEventArgs();
313
- outerArgs._provideImplementation(e);
314
- if (this.beforeButtonClicked) {
315
- this.beforeButtonClicked(this, outerArgs);
316
- }
317
- if (this._buttonClicked) {
318
- this._buttonClicked(this, outerArgs);
319
- }
320
- };
321
- this.i.buttonClicked = delegateCombine(this.i.buttonClicked, this._buttonClicked_wrapped);
322
- }
323
- get changed() {
324
- return this._changed;
325
- }
326
- set changed(ev) {
327
- if (this._changed_wrapped !== null) {
328
- this.i.changed = delegateRemove(this.i.changed, this._changed_wrapped);
329
- this._changed_wrapped = null;
330
- this._changed = null;
331
- }
332
- this._changed = ev;
333
- this._changed_wrapped = (o, e) => {
334
- let outerArgs = new IgcPropertyEditorPropertyDescriptionChangedEventArgs();
335
- outerArgs._provideImplementation(e);
336
- if (this.beforeChanged) {
337
- this.beforeChanged(this, outerArgs);
338
- }
339
- if (this._changed) {
340
- this._changed(this, outerArgs);
341
- }
342
- };
343
- this.i.changed = delegateCombine(this.i.changed, this._changed_wrapped);
344
- }
345
- get targetPropertyUpdating() {
346
- return this._targetPropertyUpdating;
347
- }
348
- set targetPropertyUpdating(ev) {
349
- if (this._targetPropertyUpdating_wrapped !== null) {
350
- this.i.targetPropertyUpdating = delegateRemove(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
351
- this._targetPropertyUpdating_wrapped = null;
352
- this._targetPropertyUpdating = null;
353
- }
354
- this._targetPropertyUpdating = ev;
355
- this._targetPropertyUpdating_wrapped = (o, e) => {
356
- let outerArgs = new IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
357
- outerArgs._provideImplementation(e);
358
- if (this.beforeTargetPropertyUpdating) {
359
- this.beforeTargetPropertyUpdating(this, outerArgs);
360
- }
361
- if (this._targetPropertyUpdating) {
362
- this._targetPropertyUpdating(this, outerArgs);
363
- }
364
- };
365
- this.i.targetPropertyUpdating = delegateCombine(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
366
- }
367
- }
368
- IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = null;
369
- IgcPropertyEditorPropertyDescriptionComponent.htmlTagName = "igc-property-editor-property-description";
370
- IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered = false;
371
- return IgcPropertyEditorPropertyDescriptionComponent;
372
- })();
@@ -1,42 +0,0 @@
1
- import { PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs as PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs_internal } from "./PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs";
2
- export class IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs {
3
- createImplementation() {
4
- return new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs_internal();
5
- }
6
- /**
7
- * @hidden
8
- */
9
- get i() {
10
- return this._implementation;
11
- }
12
- onImplementationCreated() {
13
- }
14
- constructor() {
15
- this._implementation = this.createImplementation();
16
- this._implementation.externalObject = this;
17
- this.onImplementationCreated();
18
- }
19
- _provideImplementation(i) {
20
- this._implementation = i;
21
- this._implementation.externalObject = this;
22
- this.onImplementationCreated();
23
- }
24
- get target() {
25
- return this.i.target;
26
- }
27
- set target(v) {
28
- this.i.target = v;
29
- }
30
- get value() {
31
- return this.i.value;
32
- }
33
- set value(v) {
34
- this.i.value = v;
35
- }
36
- get propertyPath() {
37
- return this.i.propertyPath;
38
- }
39
- set propertyPath(v) {
40
- this.i.propertyPath = v;
41
- }
42
- }
@@ -1,7 +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
- export { PropertyEditorDescriptionObjectCollection } from "./PropertyEditorPropertyDescription_combined";