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