igniteui-webcomponents-layouts 1.4.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +4643 -235
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +7 -2
  3. package/esm2015/igniteui-webcomponents-layouts.js +0 -1
  4. package/esm2015/lib/ExpansionPanelUtilities.js +0 -1
  5. package/esm2015/lib/ExpansionPanelView.js +0 -1
  6. package/esm2015/lib/ExpansionPanelView_combined.js +80 -81
  7. package/esm2015/lib/HorizontalPropertyEditorPanelDataSource.js +24 -0
  8. package/esm2015/lib/OnClosedEventArgs.js +0 -1
  9. package/esm2015/lib/OnCollapsedEventArgs.js +0 -1
  10. package/esm2015/lib/OnExpandedEventArgs.js +0 -1
  11. package/esm2015/lib/OnPopupEventArgs.js +0 -1
  12. package/esm2015/lib/Popup.js +0 -1
  13. package/esm2015/lib/PopupAlignment.js +0 -1
  14. package/esm2015/lib/PopupDirection.js +0 -1
  15. package/esm2015/lib/PopupView.js +0 -1
  16. package/esm2015/lib/PopupView_combined.js +0 -1
  17. package/esm2015/lib/PopupVisualModelExport.js +0 -1
  18. package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -1
  19. package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -1
  20. package/{esm5/lib/ExpansionPanel.js → esm2015/lib/PropertyEditorDataSource.js} +1 -2
  21. package/esm2015/lib/{ExpansionPanel.js → PropertyEditorDescriptionObject.js} +1 -2
  22. package/esm2015/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
  23. package/esm2015/lib/PropertyEditorPanel.js +7 -0
  24. package/esm2015/lib/PropertyEditorPanelColumnDefinition.js +55 -0
  25. package/esm2015/lib/PropertyEditorPanelColumnFieldType.js +11 -0
  26. package/esm2015/lib/PropertyEditorPanelColumnType.js +11 -0
  27. package/esm2015/lib/PropertyEditorPanelDataBindingEventArgs.js +22 -0
  28. package/esm2015/lib/PropertyEditorPanelDropDownDataListItem.js +21 -0
  29. package/esm2015/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +22 -0
  30. package/esm2015/lib/PropertyEditorPanelView.js +7 -0
  31. package/esm2015/lib/PropertyEditorPanelView_combined.js +1664 -0
  32. package/esm2015/lib/PropertyEditorPropertyDescription.js +7 -0
  33. package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +16 -0
  34. package/esm2015/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +26 -0
  35. package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
  36. package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +40 -0
  37. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +522 -0
  38. package/esm2015/lib/PropertyEditorTreeTransformer.js +207 -0
  39. package/esm2015/lib/PropertyEditorValueType.js +36 -0
  40. package/esm2015/lib/XExpansionPanel.js +7 -0
  41. package/esm2015/lib/igc-horizontal-property-editor-panel-data-source.js +48 -0
  42. package/esm2015/lib/igc-on-closed-event-args.js +0 -1
  43. package/esm2015/lib/igc-on-collapsed-event-args.js +0 -1
  44. package/esm2015/lib/igc-on-expanded-event-args.js +0 -1
  45. package/esm2015/lib/igc-on-popup-event-args.js +0 -1
  46. package/esm2015/lib/igc-popup-component.js +0 -1
  47. package/esm2015/lib/igc-popup-module.js +0 -1
  48. package/esm2015/lib/igc-property-editor-data-source.js +39 -0
  49. package/esm2015/lib/igc-property-editor-description-object-collection.js +48 -0
  50. package/esm2015/lib/igc-property-editor-description-object.js +70 -0
  51. package/esm2015/lib/igc-property-editor-panel-component.js +446 -0
  52. package/esm2015/lib/igc-property-editor-panel-module.js +19 -0
  53. package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +24 -0
  54. package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +30 -0
  55. package/esm2015/lib/igc-property-editor-property-description-collection.js +48 -0
  56. package/esm2015/lib/igc-property-editor-property-description-component.js +407 -0
  57. package/esm2015/lib/igc-property-editor-property-description-module.js +16 -0
  58. package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +42 -0
  59. package/esm2015/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +16 -17
  60. package/esm2015/lib/{igc-expansion-panel-module.js → igc-x-expansion-panel-module.js} +7 -8
  61. package/esm2015/public_api.js +34 -4
  62. package/esm5/igniteui-webcomponents-layouts.js +0 -1
  63. package/esm5/lib/ExpansionPanelUtilities.js +0 -1
  64. package/esm5/lib/ExpansionPanelView.js +0 -1
  65. package/esm5/lib/ExpansionPanelView_combined.js +128 -129
  66. package/esm5/lib/HorizontalPropertyEditorPanelDataSource.js +26 -0
  67. package/esm5/lib/OnClosedEventArgs.js +0 -1
  68. package/esm5/lib/OnCollapsedEventArgs.js +0 -1
  69. package/esm5/lib/OnExpandedEventArgs.js +0 -1
  70. package/esm5/lib/OnPopupEventArgs.js +0 -1
  71. package/esm5/lib/Popup.js +0 -1
  72. package/esm5/lib/PopupAlignment.js +0 -1
  73. package/esm5/lib/PopupDirection.js +0 -1
  74. package/esm5/lib/PopupView.js +0 -1
  75. package/esm5/lib/PopupView_combined.js +0 -1
  76. package/esm5/lib/PopupVisualModelExport.js +0 -1
  77. package/esm5/lib/Popup_InnerAnimationInfo.js +0 -1
  78. package/esm5/lib/Popup_OuterAnimationInfo.js +0 -1
  79. package/esm5/lib/PropertyEditorDataSource.js +7 -0
  80. package/esm5/lib/PropertyEditorDescriptionObject.js +7 -0
  81. package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
  82. package/esm5/lib/PropertyEditorPanel.js +7 -0
  83. package/esm5/lib/PropertyEditorPanelColumnDefinition.js +57 -0
  84. package/esm5/lib/PropertyEditorPanelColumnFieldType.js +11 -0
  85. package/esm5/lib/PropertyEditorPanelColumnType.js +11 -0
  86. package/esm5/lib/PropertyEditorPanelDataBindingEventArgs.js +24 -0
  87. package/esm5/lib/PropertyEditorPanelDropDownDataListItem.js +23 -0
  88. package/esm5/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +24 -0
  89. package/esm5/lib/PropertyEditorPanelView.js +7 -0
  90. package/esm5/lib/PropertyEditorPanelView_combined.js +1814 -0
  91. package/esm5/lib/PropertyEditorPropertyDescription.js +7 -0
  92. package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +20 -0
  93. package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +32 -0
  94. package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
  95. package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +54 -0
  96. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +605 -0
  97. package/esm5/lib/PropertyEditorTreeTransformer.js +209 -0
  98. package/esm5/lib/PropertyEditorValueType.js +36 -0
  99. package/esm5/lib/XExpansionPanel.js +7 -0
  100. package/esm5/lib/igc-horizontal-property-editor-panel-data-source.js +53 -0
  101. package/esm5/lib/igc-on-closed-event-args.js +0 -1
  102. package/esm5/lib/igc-on-collapsed-event-args.js +0 -1
  103. package/esm5/lib/igc-on-expanded-event-args.js +0 -1
  104. package/esm5/lib/igc-on-popup-event-args.js +0 -1
  105. package/esm5/lib/igc-popup-component.js +0 -1
  106. package/esm5/lib/igc-popup-module.js +0 -1
  107. package/esm5/lib/igc-property-editor-data-source.js +53 -0
  108. package/esm5/lib/igc-property-editor-description-object-collection.js +53 -0
  109. package/esm5/lib/igc-property-editor-description-object.js +84 -0
  110. package/esm5/lib/igc-property-editor-panel-component.js +546 -0
  111. package/esm5/lib/igc-property-editor-panel-module.js +23 -0
  112. package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +30 -0
  113. package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +40 -0
  114. package/esm5/lib/igc-property-editor-property-description-collection.js +53 -0
  115. package/esm5/lib/igc-property-editor-property-description-component.js +500 -0
  116. package/esm5/lib/igc-property-editor-property-description-module.js +20 -0
  117. package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +60 -0
  118. package/esm5/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +62 -63
  119. package/esm5/lib/igc-x-expansion-panel-module.js +21 -0
  120. package/esm5/public_api.js +34 -4
  121. package/fesm2015/igniteui-webcomponents-layouts.js +4010 -137
  122. package/fesm5/igniteui-webcomponents-layouts.js +4610 -234
  123. package/lib/ExpansionPanelView_combined.d.ts +10 -10
  124. package/lib/HorizontalPropertyEditorPanelDataSource.d.ts +10 -0
  125. package/lib/PropertyEditorDataSource.d.ts +1 -0
  126. package/lib/PropertyEditorDescriptionObject.d.ts +1 -0
  127. package/lib/PropertyEditorDescriptionObjectCollection.d.ts +1 -0
  128. package/lib/PropertyEditorPanel.d.ts +1 -0
  129. package/lib/PropertyEditorPanelColumnDefinition.d.ts +22 -0
  130. package/lib/PropertyEditorPanelColumnFieldType.d.ts +12 -0
  131. package/lib/PropertyEditorPanelColumnType.d.ts +12 -0
  132. package/lib/PropertyEditorPanelDataBindingEventArgs.d.ts +10 -0
  133. package/lib/PropertyEditorPanelDropDownDataListItem.d.ts +9 -0
  134. package/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.d.ts +11 -0
  135. package/lib/PropertyEditorPanelView.d.ts +1 -0
  136. package/lib/PropertyEditorPanelView_combined.d.ts +210 -0
  137. package/lib/PropertyEditorPropertyDescription.d.ts +1 -0
  138. package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +7 -0
  139. package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +9 -0
  140. package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +1 -0
  141. package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +13 -0
  142. package/lib/PropertyEditorPropertyDescription_combined.d.ts +98 -0
  143. package/lib/PropertyEditorTreeTransformer.d.ts +17 -0
  144. package/lib/PropertyEditorValueType.d.ts +29 -0
  145. package/lib/XExpansionPanel.d.ts +1 -0
  146. package/lib/igc-horizontal-property-editor-panel-data-source.d.ts +8 -0
  147. package/lib/igc-property-editor-data-source.d.ts +16 -0
  148. package/lib/igc-property-editor-description-object-collection.d.ts +8 -0
  149. package/lib/igc-property-editor-description-object.d.ts +17 -0
  150. package/lib/igc-property-editor-panel-component.d.ts +101 -0
  151. package/lib/igc-property-editor-panel-module.d.ts +3 -0
  152. package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +12 -0
  153. package/lib/igc-property-editor-property-description-changed-event-args.d.ts +13 -0
  154. package/lib/igc-property-editor-property-description-collection.d.ts +8 -0
  155. package/lib/igc-property-editor-property-description-component.d.ts +70 -0
  156. package/lib/igc-property-editor-property-description-module.d.ts +3 -0
  157. package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +15 -0
  158. package/lib/{igc-expansion-panel-component.d.ts → igc-x-expansion-panel-component.d.ts} +7 -7
  159. package/lib/igc-x-expansion-panel-module.d.ts +3 -0
  160. package/package.json +4 -4
  161. package/public_api.d.ts +34 -3
  162. package/bundles/igniteui-webcomponents-layouts.umd.js.map +0 -1
  163. package/bundles/igniteui-webcomponents-layouts.umd.min.js.map +0 -1
  164. package/esm2015/igniteui-webcomponents-layouts.js.map +0 -1
  165. package/esm2015/lib/ExpansionPanel.js.map +0 -1
  166. package/esm2015/lib/ExpansionPanelUtilities.js.map +0 -1
  167. package/esm2015/lib/ExpansionPanelView.js.map +0 -1
  168. package/esm2015/lib/ExpansionPanelView_combined.js.map +0 -1
  169. package/esm2015/lib/OnClosedEventArgs.js.map +0 -1
  170. package/esm2015/lib/OnCollapsedEventArgs.js.map +0 -1
  171. package/esm2015/lib/OnExpandedEventArgs.js.map +0 -1
  172. package/esm2015/lib/OnPopupEventArgs.js.map +0 -1
  173. package/esm2015/lib/Popup.js.map +0 -1
  174. package/esm2015/lib/PopupAlignment.js.map +0 -1
  175. package/esm2015/lib/PopupDirection.js.map +0 -1
  176. package/esm2015/lib/PopupView.js.map +0 -1
  177. package/esm2015/lib/PopupView_combined.js.map +0 -1
  178. package/esm2015/lib/PopupVisualModelExport.js.map +0 -1
  179. package/esm2015/lib/Popup_InnerAnimationInfo.js.map +0 -1
  180. package/esm2015/lib/Popup_OuterAnimationInfo.js.map +0 -1
  181. package/esm2015/lib/igc-expansion-panel-component.js.map +0 -1
  182. package/esm2015/lib/igc-expansion-panel-module.js.map +0 -1
  183. package/esm2015/lib/igc-on-closed-event-args.js.map +0 -1
  184. package/esm2015/lib/igc-on-collapsed-event-args.js.map +0 -1
  185. package/esm2015/lib/igc-on-expanded-event-args.js.map +0 -1
  186. package/esm2015/lib/igc-on-popup-event-args.js.map +0 -1
  187. package/esm2015/lib/igc-popup-component.js.map +0 -1
  188. package/esm2015/lib/igc-popup-module.js.map +0 -1
  189. package/esm2015/public_api.js.map +0 -1
  190. package/esm5/igniteui-webcomponents-layouts.js.map +0 -1
  191. package/esm5/lib/ExpansionPanel.js.map +0 -1
  192. package/esm5/lib/ExpansionPanelUtilities.js.map +0 -1
  193. package/esm5/lib/ExpansionPanelView.js.map +0 -1
  194. package/esm5/lib/ExpansionPanelView_combined.js.map +0 -1
  195. package/esm5/lib/OnClosedEventArgs.js.map +0 -1
  196. package/esm5/lib/OnCollapsedEventArgs.js.map +0 -1
  197. package/esm5/lib/OnExpandedEventArgs.js.map +0 -1
  198. package/esm5/lib/OnPopupEventArgs.js.map +0 -1
  199. package/esm5/lib/Popup.js.map +0 -1
  200. package/esm5/lib/PopupAlignment.js.map +0 -1
  201. package/esm5/lib/PopupDirection.js.map +0 -1
  202. package/esm5/lib/PopupView.js.map +0 -1
  203. package/esm5/lib/PopupView_combined.js.map +0 -1
  204. package/esm5/lib/PopupVisualModelExport.js.map +0 -1
  205. package/esm5/lib/Popup_InnerAnimationInfo.js.map +0 -1
  206. package/esm5/lib/Popup_OuterAnimationInfo.js.map +0 -1
  207. package/esm5/lib/igc-expansion-panel-component.js.map +0 -1
  208. package/esm5/lib/igc-expansion-panel-module.js +0 -22
  209. package/esm5/lib/igc-expansion-panel-module.js.map +0 -1
  210. package/esm5/lib/igc-on-closed-event-args.js.map +0 -1
  211. package/esm5/lib/igc-on-collapsed-event-args.js.map +0 -1
  212. package/esm5/lib/igc-on-expanded-event-args.js.map +0 -1
  213. package/esm5/lib/igc-on-popup-event-args.js.map +0 -1
  214. package/esm5/lib/igc-popup-component.js.map +0 -1
  215. package/esm5/lib/igc-popup-module.js.map +0 -1
  216. package/esm5/public_api.js.map +0 -1
  217. package/fesm2015/igniteui-webcomponents-layouts.js.map +0 -1
  218. package/fesm5/igniteui-webcomponents-layouts.js.map +0 -1
  219. package/lib/ExpansionPanel.d.ts +0 -1
  220. package/lib/igc-expansion-panel-module.d.ts +0 -3
@@ -0,0 +1,53 @@
1
+ import * as tslib_1 from "tslib";
2
+ import { IgCollection } from "igniteui-webcomponents-core";
3
+ import { markType } from "igniteui-webcomponents-core";
4
+ import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
5
+ import { PropertyEditorPropertyDescription as PropertyEditorPropertyDescription_internal } from './PropertyEditorPropertyDescription';
6
+ import { IgcPropertyEditorPropertyDescriptionComponent as IgcPropertyEditorPropertyDescriptionComponent } from './igc-property-editor-property-description-component';
7
+ var IgcPropertyEditorPropertyDescriptionCollection = /** @class */ /*@__PURE__*/ (function (_super) {
8
+ tslib_1.__extends(IgcPropertyEditorPropertyDescriptionCollection, _super);
9
+ function IgcPropertyEditorPropertyDescriptionCollection(list) {
10
+ var _this = _super.call(this) || this;
11
+ if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
12
+ IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
13
+ }
14
+ if (list) {
15
+ for (var i = 0; i < list.length; i++) {
16
+ _this.add(list[i]);
17
+ }
18
+ }
19
+ return _this;
20
+ }
21
+ IgcPropertyEditorPropertyDescriptionCollection.prototype._createInnerColl = function () {
22
+ if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
23
+ IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
24
+ }
25
+ var coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription_internal.$type, 0);
26
+ coll.compare = function (ext, int) {
27
+ var comp = ext;
28
+ if (comp._implementation) {
29
+ comp = comp._implementation;
30
+ }
31
+ if (comp.equals) {
32
+ return comp.equals(int);
33
+ }
34
+ return comp === int;
35
+ };
36
+ coll.createTo = function (ext) {
37
+ return ext._implementation;
38
+ };
39
+ coll.createFrom = function (int) {
40
+ var ext = int.externalObject;
41
+ if (!ext) {
42
+ ext = new IgcPropertyEditorPropertyDescriptionComponent();
43
+ if (ext) {
44
+ ext._implementation = int;
45
+ }
46
+ }
47
+ return ext;
48
+ };
49
+ return coll;
50
+ };
51
+ return IgcPropertyEditorPropertyDescriptionCollection;
52
+ }(IgCollection));
53
+ export { IgcPropertyEditorPropertyDescriptionCollection };
@@ -0,0 +1,500 @@
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.al;
145
+ },
146
+ set: function (v) {
147
+ this.i.al = v;
148
+ },
149
+ enumerable: true,
150
+ configurable: true
151
+ });
152
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "label", {
153
+ get: function () {
154
+ return this.i.aj;
155
+ },
156
+ set: function (v) {
157
+ this.i.aj = 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.ak;
176
+ },
177
+ set: function (v) {
178
+ this.i.ak = 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.ai;
197
+ },
198
+ set: function (v) {
199
+ this.i.ai = 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.ad;
235
+ },
236
+ set: function (v) {
237
+ this.i.ad = v;
238
+ },
239
+ enumerable: true,
240
+ configurable: true
241
+ });
242
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "min", {
243
+ get: function () {
244
+ return this.i.z;
245
+ },
246
+ set: function (v) {
247
+ this.i.z = +v;
248
+ this._a("min", this.i.z);
249
+ },
250
+ enumerable: true,
251
+ configurable: true
252
+ });
253
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "editorWidth", {
254
+ get: function () {
255
+ return this.i.w;
256
+ },
257
+ set: function (v) {
258
+ this.i.w = +v;
259
+ this._a("editorWidth", this.i.w);
260
+ },
261
+ enumerable: true,
262
+ configurable: true
263
+ });
264
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "labelWidth", {
265
+ get: function () {
266
+ return this.i.x;
267
+ },
268
+ set: function (v) {
269
+ this.i.x = +v;
270
+ this._a("labelWidth", this.i.x);
271
+ },
272
+ enumerable: true,
273
+ configurable: true
274
+ });
275
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "max", {
276
+ get: function () {
277
+ return this.i.y;
278
+ },
279
+ set: function (v) {
280
+ this.i.y = +v;
281
+ this._a("max", this.i.y);
282
+ },
283
+ enumerable: true,
284
+ configurable: true
285
+ });
286
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "step", {
287
+ get: function () {
288
+ return this.i.aa;
289
+ },
290
+ set: function (v) {
291
+ this.i.aa = +v;
292
+ this._a("step", this.i.aa);
293
+ },
294
+ enumerable: true,
295
+ configurable: true
296
+ });
297
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "complexValue", {
298
+ get: function () {
299
+ if (this.i.g == null) {
300
+ return null;
301
+ }
302
+ if (!this.i.g.externalObject) {
303
+ var e = new IgcPropertyEditorDescriptionObject();
304
+ e._implementation = this.i.g;
305
+ this.i.g.externalObject = e;
306
+ }
307
+ return this.i.g.externalObject;
308
+ },
309
+ set: function (v) {
310
+ v == null ? this.i.g = null : this.i.g = v.i;
311
+ },
312
+ enumerable: true,
313
+ configurable: true
314
+ });
315
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "complexValues", {
316
+ get: function () {
317
+ if (this._complexValues === null) {
318
+ var coll = new IgcPropertyEditorDescriptionObjectCollection();
319
+ var innerColl = this.i.i;
320
+ if (!innerColl) {
321
+ innerColl = new PropertyEditorDescriptionObjectCollection_internal();
322
+ }
323
+ this._complexValues = coll._fromInner(innerColl);
324
+ this.i.i = innerColl;
325
+ }
326
+ return this._complexValues;
327
+ },
328
+ set: function (v) {
329
+ if (this._complexValues !== null) {
330
+ this._complexValues._setSyncTarget(null);
331
+ this._complexValues = null;
332
+ }
333
+ var coll = new IgcPropertyEditorDescriptionObjectCollection();
334
+ this._complexValues = coll._fromOuter(v);
335
+ var syncColl = new SyncableObservableCollection$1(PropertyEditorDescriptionObject.$type);
336
+ var innerColl = this.i.i;
337
+ if (!innerColl) {
338
+ innerColl = new PropertyEditorDescriptionObjectCollection_internal();
339
+ }
340
+ syncColl._inner = innerColl;
341
+ syncColl.clear();
342
+ this._complexValues._setSyncTarget(syncColl);
343
+ this.i.i = innerColl;
344
+ },
345
+ enumerable: true,
346
+ configurable: true
347
+ });
348
+ IgcPropertyEditorPropertyDescriptionComponent.prototype.findByName = function (name) {
349
+ if (this.complexValue && this.complexValue.name && this.complexValue.name == name) {
350
+ return this.complexValue;
351
+ }
352
+ if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
353
+ return this.complexValues.findByName(name);
354
+ }
355
+ return null;
356
+ };
357
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "hasUserValues", {
358
+ get: function () {
359
+ return this._hasUserValues;
360
+ },
361
+ enumerable: true,
362
+ configurable: true
363
+ });
364
+ IgcPropertyEditorPropertyDescriptionComponent.prototype.__m = function (propertyName) {
365
+ if (!this._inStyling) {
366
+ this._hasUserValues.add(propertyName);
367
+ }
368
+ };
369
+ IgcPropertyEditorPropertyDescriptionComponent.prototype._styling = function (container, component, parent) {
370
+ if (this._inStyling) {
371
+ return;
372
+ }
373
+ this._inStyling = true;
374
+ this._stylingContainer = container;
375
+ this._stylingParent = component;
376
+ var genericPrefix = "";
377
+ var typeName = this.i.$type.name;
378
+ if (typeName.indexOf("Xam") === 0) {
379
+ typeName = typeName.substring(3);
380
+ }
381
+ genericPrefix = toSpinal("PropertyEditorPropertyDescriptionComponent");
382
+ var additionalPrefixes = [];
383
+ var prefix = toSpinal(typeName);
384
+ additionalPrefixes.push(prefix + "-");
385
+ var b = this.i.$type.baseType;
386
+ while (b && b.name != "Object" &&
387
+ b.name != "Base" &&
388
+ b.name != "Control" &&
389
+ b.Name != "DependencyObject" &&
390
+ b.Name != "FrameworkElement") {
391
+ typeName = b.name;
392
+ if (typeName.indexOf("Xam") === 0) {
393
+ typeName = typeName.substring(3);
394
+ }
395
+ var basePrefix = toSpinal(typeName);
396
+ additionalPrefixes.push(basePrefix + "-");
397
+ b = b.baseType;
398
+ }
399
+ if (parent) {
400
+ var parentTypeName = parent.i.$type.name;
401
+ if (parentTypeName.indexOf("Xam") === 0) {
402
+ parentTypeName = parentTypeName.substring(3);
403
+ }
404
+ var parentPrefix = toSpinal(parentTypeName);
405
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
406
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
407
+ }
408
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
409
+ if (this._otherStyling) {
410
+ this._otherStyling(container, component, parent);
411
+ }
412
+ this._inStyling = false;
413
+ };
414
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "buttonClicked", {
415
+ get: function () {
416
+ return this._buttonClicked;
417
+ },
418
+ set: function (ev) {
419
+ var _this = this;
420
+ if (this._buttonClicked_wrapped !== null) {
421
+ this.i.buttonClicked = delegateRemove(this.i.buttonClicked, this._buttonClicked_wrapped);
422
+ this._buttonClicked_wrapped = null;
423
+ this._buttonClicked = null;
424
+ }
425
+ this._buttonClicked = ev;
426
+ this._buttonClicked_wrapped = function (o, e) {
427
+ var outerArgs = new IgcPropertyEditorPropertyDescriptionButtonClickEventArgs();
428
+ outerArgs._provideImplementation(e);
429
+ if (_this.beforeButtonClicked) {
430
+ _this.beforeButtonClicked(_this, outerArgs);
431
+ }
432
+ if (_this._buttonClicked) {
433
+ _this._buttonClicked(_this, outerArgs);
434
+ }
435
+ };
436
+ this.i.buttonClicked = delegateCombine(this.i.buttonClicked, this._buttonClicked_wrapped);
437
+ },
438
+ enumerable: true,
439
+ configurable: true
440
+ });
441
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "changed", {
442
+ get: function () {
443
+ return this._changed;
444
+ },
445
+ set: function (ev) {
446
+ var _this = this;
447
+ if (this._changed_wrapped !== null) {
448
+ this.i.changed = delegateRemove(this.i.changed, this._changed_wrapped);
449
+ this._changed_wrapped = null;
450
+ this._changed = null;
451
+ }
452
+ this._changed = ev;
453
+ this._changed_wrapped = function (o, e) {
454
+ var outerArgs = new IgcPropertyEditorPropertyDescriptionChangedEventArgs();
455
+ outerArgs._provideImplementation(e);
456
+ if (_this.beforeChanged) {
457
+ _this.beforeChanged(_this, outerArgs);
458
+ }
459
+ if (_this._changed) {
460
+ _this._changed(_this, outerArgs);
461
+ }
462
+ };
463
+ this.i.changed = delegateCombine(this.i.changed, this._changed_wrapped);
464
+ },
465
+ enumerable: true,
466
+ configurable: true
467
+ });
468
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "targetPropertyUpdating", {
469
+ get: function () {
470
+ return this._targetPropertyUpdating;
471
+ },
472
+ set: function (ev) {
473
+ var _this = this;
474
+ if (this._targetPropertyUpdating_wrapped !== null) {
475
+ this.i.targetPropertyUpdating = delegateRemove(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
476
+ this._targetPropertyUpdating_wrapped = null;
477
+ this._targetPropertyUpdating = null;
478
+ }
479
+ this._targetPropertyUpdating = ev;
480
+ this._targetPropertyUpdating_wrapped = function (o, e) {
481
+ var outerArgs = new IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
482
+ outerArgs._provideImplementation(e);
483
+ if (_this.beforeTargetPropertyUpdating) {
484
+ _this.beforeTargetPropertyUpdating(_this, outerArgs);
485
+ }
486
+ if (_this._targetPropertyUpdating) {
487
+ _this._targetPropertyUpdating(_this, outerArgs);
488
+ }
489
+ };
490
+ this.i.targetPropertyUpdating = delegateCombine(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
491
+ },
492
+ enumerable: true,
493
+ configurable: true
494
+ });
495
+ IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = null;
496
+ IgcPropertyEditorPropertyDescriptionComponent.htmlTagName = "igc-property-editor-property-description";
497
+ IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered = false;
498
+ return IgcPropertyEditorPropertyDescriptionComponent;
499
+ }(IgcHTMLElement));
500
+ export { IgcPropertyEditorPropertyDescriptionComponent };
@@ -0,0 +1,20 @@
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 };
@@ -0,0 +1,60 @@
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 };