igniteui-webcomponents-layouts 1.4.1 → 3.2.1

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 +4646 -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 +1667 -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 +1817 -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 +4013 -137
  122. package/fesm5/igniteui-webcomponents-layouts.js +4613 -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 +211 -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,1817 @@
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 * as tslib_1 from "tslib";
8
+ import { Base, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, runOn, delegateCombine, typeCast, delegateRemove, fromEn, fromEnum, enumGetBox, String_$type, typeGetValue, Number_$type } from "igniteui-webcomponents-core";
9
+ import { RenderingContext } from "igniteui-webcomponents-core";
10
+ import { FontInfo } from "igniteui-webcomponents-core";
11
+ import { DOMExecutionContext } from "igniteui-webcomponents-core";
12
+ import { CanvasViewRenderer } from "igniteui-webcomponents-core";
13
+ import { NativeUIComponent } from "igniteui-webcomponents-core";
14
+ import { Size } from "igniteui-webcomponents-core";
15
+ import { NativeUI } from "igniteui-webcomponents-core";
16
+ import { FontUtil } from "igniteui-webcomponents-core";
17
+ import { SRProvider } from "igniteui-webcomponents-core";
18
+ import { PropertyEditorPropertyDescriptionCollection } from "./PropertyEditorPropertyDescriptionCollection";
19
+ import { List$1 } from "igniteui-webcomponents-core";
20
+ import { ObservableCollection$1 } from "igniteui-webcomponents-core";
21
+ import { PropertyEditorPanelColumnDefinition } from "./PropertyEditorPanelColumnDefinition";
22
+ import { ComponentRenderer } from "igniteui-webcomponents-core";
23
+ import { DeviceUtils } from "igniteui-webcomponents-core";
24
+ import { Dictionary$2 } from "igniteui-webcomponents-core";
25
+ import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
26
+ import { PropertyEditorPropertyDescription } from "./PropertyEditorPropertyDescription";
27
+ import { LocalDataSource } from "igniteui-webcomponents-core";
28
+ import { HorizontalPropertyEditorPanelDataSource } from "./HorizontalPropertyEditorPanelDataSource";
29
+ import { PropertyEditorDataSource } from "./PropertyEditorDataSource";
30
+ import { HashSet$1 } from "igniteui-webcomponents-core";
31
+ import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
32
+ import { PropertyEditorTreeTransformer } from "./PropertyEditorTreeTransformer";
33
+ import { BrushUtil } from "igniteui-webcomponents-core";
34
+ import { Thickness } from "igniteui-webcomponents-core";
35
+ import { truncate, isNaN_, tryParseNumber } from "igniteui-webcomponents-core";
36
+ import { stringSplit } from "igniteui-webcomponents-core";
37
+ import { stringContains, stringReplace } from "igniteui-webcomponents-core";
38
+ import { tryParseBool } from "igniteui-webcomponents-core";
39
+ /**
40
+ * @hidden
41
+ */
42
+ var PropertyEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
43
+ tslib_1.__extends(PropertyEditorPanelView, _super);
44
+ function PropertyEditorPanelView() {
45
+ var _this = _super.call(this) || this;
46
+ _this.n = null;
47
+ _this.m = null;
48
+ _this.a = null;
49
+ _this.i = null;
50
+ _this.l = null;
51
+ _this.e = null;
52
+ _this.k = null;
53
+ _this.b = ((function () {
54
+ var $ret = new FontInfo();
55
+ $ret.n = "Verdana";
56
+ $ret.d = 13;
57
+ $ret.q = "Normal";
58
+ $ret.s = "Normal";
59
+ $ret.o = "Normal";
60
+ return $ret;
61
+ })());
62
+ _this.aa = new Size();
63
+ _this.c = null;
64
+ _this._gridExternal = null;
65
+ _this.f = false;
66
+ _this.j = null;
67
+ return _this;
68
+ }
69
+ PropertyEditorPanelView.prototype.p = function () {
70
+ return this.i;
71
+ };
72
+ PropertyEditorPanelView.prototype.v = function () {
73
+ };
74
+ PropertyEditorPanelView.prototype.t = function (a) {
75
+ var _this = this;
76
+ if (a == null) {
77
+ this.i = null;
78
+ return;
79
+ }
80
+ this.a.j = new DOMExecutionContext(a);
81
+ this.i = a;
82
+ this.l = this.i.createElement("canvas");
83
+ this.e = new RenderingContext(new CanvasViewRenderer(), this.i.get2DCanvasContext(this.l));
84
+ this.k = this.i.createElement("div");
85
+ this.y();
86
+ NativeUIComponent.z(this.p(), 7, function (b) {
87
+ var c = b;
88
+ _this.a.dh(c, _this.n);
89
+ _this.i.append(c.u);
90
+ });
91
+ var b = Math.round(a.rootWrapper.width());
92
+ var c = Math.round(a.rootWrapper.height());
93
+ this.i.rootWrapper.setStyleProperty("position", "relative");
94
+ };
95
+ PropertyEditorPanelView.prototype.y = function () {
96
+ };
97
+ PropertyEditorPanelView.prototype.x = function () {
98
+ if (this.i != null) {
99
+ }
100
+ };
101
+ PropertyEditorPanelView.prototype.s = function () {
102
+ if (this.i == null) {
103
+ return;
104
+ }
105
+ var a = this.i.rootWrapper.width();
106
+ var b = this.i.rootWrapper.height();
107
+ this.aa = new Size(1, a, b);
108
+ if (this.a.v != null) {
109
+ this.a.d2();
110
+ }
111
+ };
112
+ PropertyEditorPanelView.prototype.z = function () {
113
+ var a = this.i;
114
+ if (null == a) {
115
+ return;
116
+ }
117
+ var b = a.rootWrapper;
118
+ if (null != b) {
119
+ NativeUI.o(b, this.a.d9);
120
+ NativeUI.k(b, this.a.d6);
121
+ }
122
+ };
123
+ PropertyEditorPanelView.prototype.d = function () {
124
+ return this.b;
125
+ };
126
+ PropertyEditorPanelView.prototype.u = function () {
127
+ };
128
+ PropertyEditorPanelView.prototype.w = function () {
129
+ };
130
+ PropertyEditorPanelView.prototype.r = function () {
131
+ var a = this.a.ea();
132
+ if (a.height > 0) {
133
+ this.i.rootWrapper.setStyleProperty("min-height", a.height + "px");
134
+ }
135
+ };
136
+ PropertyEditorPanelView.prototype.g = function () {
137
+ return this.aa.width;
138
+ };
139
+ PropertyEditorPanelView.prototype.h = function (a) {
140
+ this.c = this.a.u();
141
+ return FontUtil.measureStringWidth(a, this.c, this.e);
142
+ };
143
+ PropertyEditorPanelView.prototype.q = function (a, b) {
144
+ if (this.j == null) {
145
+ this.j = this.i.createElement("div");
146
+ }
147
+ b(this.j.getNativeElement());
148
+ };
149
+ PropertyEditorPanelView.$t = markType(PropertyEditorPanelView, 'PropertyEditorPanelView');
150
+ return PropertyEditorPanelView;
151
+ }(Base));
152
+ export { PropertyEditorPanelView };
153
+ /**
154
+ * @hidden
155
+ */
156
+ var PropertyEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
157
+ tslib_1.__extends(PropertyEditorPanel, _super);
158
+ function PropertyEditorPanel() {
159
+ var _this = _super.call(this) || this;
160
+ _this.l = null;
161
+ _this.v = null;
162
+ _this.r = null;
163
+ _this.y = false;
164
+ _this.z = false;
165
+ _this.w = null;
166
+ _this.propertyChanged = null;
167
+ _this.af = false;
168
+ _this.n = null;
169
+ _this.o = new PropertyEditorPropertyDescriptionCollection();
170
+ _this.bk = -1;
171
+ _this.aq = DeviceUtils.g(38);
172
+ _this.s = null;
173
+ _this.br = null;
174
+ _this.c = null;
175
+ _this.an = null;
176
+ _this.j = null;
177
+ _this.ae = false;
178
+ _this.ap = null;
179
+ _this.bj = -1;
180
+ _this.bt = null;
181
+ _this.ad = true;
182
+ _this.am = new Dictionary$2(PropertyEditorPanelColumnDefinition.$, Number_$type, 0);
183
+ _this.f = null;
184
+ _this.g = null;
185
+ _this.d = null;
186
+ _this.bq = null;
187
+ _this.bu = null;
188
+ _this.aa = false;
189
+ _this.ac = false;
190
+ _this.ab = false;
191
+ _this.d4 = PropertyEditorPanel.d7;
192
+ _this.d5 = PropertyEditorPanel.d8;
193
+ _this.bo = 0;
194
+ _this.bl = -1;
195
+ _this.k = null;
196
+ NativeUIInputsFactory.k();
197
+ _this.ap = new ObservableCollection$1(PropertyEditorPanelColumnDefinition.$, 0);
198
+ var a = new PropertyEditorPanelView();
199
+ a.a = _this;
200
+ var b = _this.properties;
201
+ b.collectionChanged = delegateCombine(b.collectionChanged, runOn(_this, _this.dx));
202
+ _this.l = a;
203
+ _this.l.v();
204
+ return _this;
205
+ }
206
+ Object.defineProperty(PropertyEditorPanel.prototype, "x", {
207
+ get: function () {
208
+ if (this.w == null) {
209
+ this.w = new SRProvider(this.l.i);
210
+ this.w.cb("Layouts");
211
+ }
212
+ return this.w;
213
+ },
214
+ enumerable: true,
215
+ configurable: true
216
+ });
217
+ PropertyEditorPanel.prototype.dx = function (a, b) {
218
+ var e_1, _a, e_2, _b;
219
+ if (b.oldItems != null) {
220
+ try {
221
+ for (var _c = tslib_1.__values(fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
222
+ var c = _d.value;
223
+ if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
224
+ var d = c;
225
+ d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.dj));
226
+ }
227
+ }
228
+ }
229
+ catch (e_1_1) {
230
+ e_1 = { error: e_1_1 };
231
+ }
232
+ finally {
233
+ try {
234
+ if (_d && !_d.done && (_a = _c.return))
235
+ _a.call(_c);
236
+ }
237
+ finally {
238
+ if (e_1)
239
+ throw e_1.error;
240
+ }
241
+ }
242
+ }
243
+ if (b.newItems != null) {
244
+ try {
245
+ for (var _e = tslib_1.__values(fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
246
+ var e = _f.value;
247
+ if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
248
+ var f = e;
249
+ f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.dj));
250
+ }
251
+ }
252
+ }
253
+ catch (e_2_1) {
254
+ e_2 = { error: e_2_1 };
255
+ }
256
+ finally {
257
+ try {
258
+ if (_f && !_f.done && (_b = _e.return))
259
+ _b.call(_e);
260
+ }
261
+ finally {
262
+ if (e_2)
263
+ throw e_2.error;
264
+ }
265
+ }
266
+ }
267
+ this.aj();
268
+ if (this.properties.count > 0 && this.actualProperties != this.properties) {
269
+ this.actualProperties = this.properties;
270
+ }
271
+ this.dt();
272
+ };
273
+ PropertyEditorPanel.prototype.dt = function () {
274
+ if (!this.af) {
275
+ if (this.v != null) {
276
+ this.d2();
277
+ }
278
+ }
279
+ };
280
+ PropertyEditorPanel.prototype.dj = function (a, b) {
281
+ if (!this.af) {
282
+ this.aj();
283
+ if (this.v != null) {
284
+ this.d2();
285
+ }
286
+ }
287
+ };
288
+ PropertyEditorPanel.prototype.notifySizeChanged = function () {
289
+ this.l.s();
290
+ };
291
+ PropertyEditorPanel.prototype.dh = function (a, b) {
292
+ this.v = a;
293
+ if (null != this.v) {
294
+ if (this.actualProperties != null) {
295
+ if (this.ag) {
296
+ if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
297
+ this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
298
+ }
299
+ }
300
+ else {
301
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
302
+ var c = this.actualProperties;
303
+ this.actualProperties = c.ae;
304
+ }
305
+ }
306
+ this.br = this.actualProperties;
307
+ var d = this.actualProperties;
308
+ d = this.actualProperties.toArray();
309
+ var e = new LocalDataSource();
310
+ e.dataSource = d;
311
+ this.c = e;
312
+ this.ce();
313
+ }
314
+ if (this.actualProperties != null) {
315
+ this.d2();
316
+ }
317
+ }
318
+ };
319
+ PropertyEditorPanel.prototype.destroy = function () {
320
+ this.provideContainer(null);
321
+ };
322
+ PropertyEditorPanel.prototype.provideContainer = function (a) {
323
+ this.l.t(a);
324
+ };
325
+ PropertyEditorPanel.prototype.ds = function (a) {
326
+ };
327
+ Object.defineProperty(PropertyEditorPanel.prototype, "actualProperties", {
328
+ get: function () {
329
+ return this.n;
330
+ },
331
+ set: function (a) {
332
+ var b = this.n;
333
+ this.n = a;
334
+ if (b != this.n) {
335
+ this.du("ActualProperties", b, this.n);
336
+ }
337
+ },
338
+ enumerable: true,
339
+ configurable: true
340
+ });
341
+ Object.defineProperty(PropertyEditorPanel.prototype, "properties", {
342
+ get: function () {
343
+ return this.o;
344
+ },
345
+ set: function (a) {
346
+ var b = this.o;
347
+ this.o = a;
348
+ if (b != this.o) {
349
+ this.du("Properties", b, this.o);
350
+ }
351
+ },
352
+ enumerable: true,
353
+ configurable: true
354
+ });
355
+ Object.defineProperty(PropertyEditorPanel.prototype, "bp", {
356
+ get: function () {
357
+ return this.bk;
358
+ },
359
+ set: function (a) {
360
+ var b = this.bk;
361
+ this.bk = a;
362
+ if (b != this.bk) {
363
+ this.du("RowHeight", b, this.bk);
364
+ }
365
+ },
366
+ enumerable: true,
367
+ configurable: true
368
+ });
369
+ Object.defineProperty(PropertyEditorPanel.prototype, "ar", {
370
+ get: function () {
371
+ return this.aq;
372
+ },
373
+ set: function (a) {
374
+ this.aq = a;
375
+ },
376
+ enumerable: true,
377
+ configurable: true
378
+ });
379
+ Object.defineProperty(PropertyEditorPanel.prototype, "t", {
380
+ get: function () {
381
+ return this.s;
382
+ },
383
+ set: function (a) {
384
+ var b = this.s;
385
+ this.s = a;
386
+ if (b != this.s) {
387
+ this.du("CellTextStyle", b, this.s);
388
+ }
389
+ },
390
+ enumerable: true,
391
+ configurable: true
392
+ });
393
+ PropertyEditorPanel.prototype.u = function () {
394
+ if (this.t == null) {
395
+ return this.l.d();
396
+ }
397
+ return this.t;
398
+ };
399
+ PropertyEditorPanel.prototype.du = function (a, b, c) {
400
+ if (this.propertyChanged != null) {
401
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
402
+ }
403
+ this.dy(a, b, c);
404
+ };
405
+ PropertyEditorPanel.prototype.dy = function (a, b, c) {
406
+ switch (a) {
407
+ case "DescriptionType":
408
+ if (this.b2 == null) {
409
+ if (this.properties == null) {
410
+ this.actualProperties = null;
411
+ }
412
+ }
413
+ if (this.b2 != null) {
414
+ if (this.k == null) {
415
+ this.k = new PropertyEditorDataSource();
416
+ }
417
+ this.k.l = this.b2;
418
+ }
419
+ if (this.properties == null || this.properties.count == 0) {
420
+ if (this.k.g != null) {
421
+ this.actualProperties = this.k.g;
422
+ }
423
+ }
424
+ else {
425
+ if (this.properties != null && this.properties.count > 0) {
426
+ this.aj();
427
+ }
428
+ }
429
+ break;
430
+ case "ComponentRenderer":
431
+ if (b != null) {
432
+ b.removeTargetPropertyUpdatingListener(runOn(this, this.al));
433
+ }
434
+ if (b != c) {
435
+ this.ad = true;
436
+ }
437
+ if (this.e == null) {
438
+ this.h = this.i;
439
+ }
440
+ else {
441
+ this.h = this.e.context;
442
+ }
443
+ break;
444
+ case "Target":
445
+ if (ComponentRenderer.defaultInstance != null && this.e == null) {
446
+ this.e = ComponentRenderer.defaultInstance;
447
+ }
448
+ break;
449
+ case "DescriptionContext":
450
+ if (this.e == null) {
451
+ this.h = c;
452
+ }
453
+ break;
454
+ case "ActualContext":
455
+ if (this.h == null) {
456
+ if (this.properties == null) {
457
+ this.actualProperties = null;
458
+ }
459
+ }
460
+ if (this.h != null) {
461
+ if (this.k == null) {
462
+ this.k = new PropertyEditorDataSource();
463
+ }
464
+ this.k.b = this.h;
465
+ }
466
+ if (this.properties == null || this.properties.count == 0) {
467
+ if (this.k.g != null) {
468
+ this.actualProperties = this.k.g;
469
+ }
470
+ }
471
+ else {
472
+ if (this.properties != null && this.properties.count > 0) {
473
+ this.aj();
474
+ }
475
+ }
476
+ break;
477
+ case "Properties":
478
+ this.actualProperties = this.properties;
479
+ break;
480
+ case "IsWrappingEnabled":
481
+ this.d2();
482
+ break;
483
+ case "IsHorizontal":
484
+ if (this.ag) {
485
+ this.bj = -1;
486
+ if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
487
+ this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
488
+ }
489
+ }
490
+ else {
491
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
492
+ var d = this.actualProperties;
493
+ this.actualProperties = d.ae;
494
+ }
495
+ }
496
+ break;
497
+ case "ActualProperties":
498
+ if (this.ag) {
499
+ if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
500
+ this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
501
+ }
502
+ }
503
+ else {
504
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
505
+ var e = this.actualProperties;
506
+ this.actualProperties = e.ae;
507
+ }
508
+ }
509
+ if (this.v != null) {
510
+ var f = this.br != this.actualProperties;
511
+ if (this.ag) {
512
+ if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
513
+ this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
514
+ }
515
+ }
516
+ else {
517
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
518
+ var g = this.actualProperties;
519
+ this.actualProperties = g.ae;
520
+ }
521
+ }
522
+ this.br = this.actualProperties;
523
+ var h = this.actualProperties;
524
+ h = this.actualProperties.toArray();
525
+ var i = new LocalDataSource();
526
+ i.dataSource = h;
527
+ this.c = i;
528
+ this.ce();
529
+ if (this.c != null) {
530
+ var j = this.c;
531
+ j.schemaChanged = delegateCombine(j.schemaChanged, runOn(this, this.dw));
532
+ }
533
+ if (f) {
534
+ this.d2();
535
+ }
536
+ }
537
+ break;
538
+ case "RowHeight":
539
+ if (this.v != null) {
540
+ this.ar = this.bp;
541
+ }
542
+ break;
543
+ case "CellTextStyle":
544
+ this.d0();
545
+ break;
546
+ case "BackgroundColor":
547
+ case "TextColor":
548
+ this.d0();
549
+ break;
550
+ }
551
+ };
552
+ PropertyEditorPanel.prototype.aj = function () {
553
+ var e_3, _a;
554
+ var a = this.af;
555
+ this.af = true;
556
+ var b = false;
557
+ try {
558
+ for (var _b = tslib_1.__values(fromEnum(this.properties)), _c = _b.next(); !_c.done; _c = _b.next()) {
559
+ var c = _c.value;
560
+ var d = c.al;
561
+ if (this.k != null) {
562
+ var e = this.k.d(d, false);
563
+ if (e != null) {
564
+ if (c.p(e)) {
565
+ b = true;
566
+ }
567
+ }
568
+ }
569
+ }
570
+ }
571
+ catch (e_3_1) {
572
+ e_3 = { error: e_3_1 };
573
+ }
574
+ finally {
575
+ try {
576
+ if (_c && !_c.done && (_a = _b.return))
577
+ _a.call(_b);
578
+ }
579
+ finally {
580
+ if (e_3)
581
+ throw e_3.error;
582
+ }
583
+ }
584
+ if (b) {
585
+ this.d2();
586
+ }
587
+ else if (this.v != null) {
588
+ this.d0();
589
+ }
590
+ this.af = a;
591
+ return b;
592
+ };
593
+ PropertyEditorPanel.prototype.d0 = function () {
594
+ if (!this.ae && this.j != null) {
595
+ this.ae = true;
596
+ this.j.enqueueAction(runOn(this, this.cj));
597
+ }
598
+ };
599
+ PropertyEditorPanel.prototype.cj = function () {
600
+ var _this = this;
601
+ this.ae = false;
602
+ if (this.an == null) {
603
+ this.an = new List$1(List$1.$.specialize(NativeUIComponent.$), 0);
604
+ }
605
+ if (this.c == null) {
606
+ return;
607
+ }
608
+ var a = this.c.actualCount;
609
+ var _loop_1 = function (b) {
610
+ var c = b;
611
+ var d = this_1.c.getItemAtIndex(b);
612
+ if (this_1.v.az < c + 1) {
613
+ this_1.v.a1(c, 1, this_1.ar);
614
+ }
615
+ else {
616
+ this_1.v.a7(c, 1, this_1.ar);
617
+ }
618
+ if (this_1.an.count < c + 1) {
619
+ this_1.an.add(new List$1(NativeUIComponent.$, 0));
620
+ }
621
+ var e = this_1.an._inner[c];
622
+ var _loop_2 = function (f) {
623
+ var g = this_1.ap._inner[f];
624
+ if (e.count < f + 1) {
625
+ NativeUIComponent.aa(this_1.l.p(), 0, function (h) {
626
+ var i = h;
627
+ i.e = 1;
628
+ if (g.a == 0) {
629
+ i.d = 2;
630
+ }
631
+ i.an = new Thickness(1, 5, 5, 5, 0);
632
+ _this.v.as(i);
633
+ _this.v.a5(i, c);
634
+ _this.v.a4(i, f);
635
+ e.add(i);
636
+ });
637
+ }
638
+ if (this_1.v.aw < f + 1) {
639
+ this_1.v.a0(f, 1, g.h);
640
+ }
641
+ else {
642
+ this_1.v.a6(f, 1, g.h);
643
+ }
644
+ var h = e._inner[f];
645
+ var i = "PropertyPath";
646
+ if (g.a == 1) {
647
+ i = "ValueType";
648
+ }
649
+ var j = h;
650
+ var k = this_1.m(g, c, d);
651
+ var l = null;
652
+ if (k != null) {
653
+ l = this_1.c.getItemProperty(k, i);
654
+ l = g.i(l, c, d);
655
+ if (l != null) {
656
+ h = g.e(h, c, d);
657
+ }
658
+ }
659
+ if (l == null) {
660
+ var m = h;
661
+ m.aw = null;
662
+ }
663
+ };
664
+ for (var f = 0; f < this_1.ap.count; f++) {
665
+ _loop_2(f);
666
+ }
667
+ };
668
+ var this_1 = this;
669
+ for (var b = 0; b < a; b++) {
670
+ _loop_1(b);
671
+ }
672
+ var n = new HashSet$1(NativeUIComponent.$, 0);
673
+ for (var o = this.v.ar - 1; o >= 0; o--) {
674
+ var p = this.v.aq(o);
675
+ var q = this.v.ay(p);
676
+ var r = this.v.ax(p);
677
+ if ((q + 1) > a || (r + 1) > this.ap.count) {
678
+ n.add_1(p);
679
+ }
680
+ }
681
+ for (var s = this.v.ar - 1; s >= 0; s--) {
682
+ var t = this.v.aq(s);
683
+ if (n.contains(t)) {
684
+ this.v.au(s);
685
+ }
686
+ }
687
+ for (var u = this.an.count - 1; u >= 0; u--) {
688
+ for (var v = this.an._inner[u].count - 1; v >= 0; v--) {
689
+ var w = this.an._inner[u]._inner[v];
690
+ if (n.contains(w)) {
691
+ this.an._inner[u].removeAt(v);
692
+ }
693
+ }
694
+ if (this.an._inner[u].count == 0) {
695
+ this.an.removeAt(u);
696
+ }
697
+ }
698
+ while (this.v.az > a) {
699
+ this.v.a3(this.v.az - 1);
700
+ }
701
+ while (this.v.aw > this.ap.count) {
702
+ this.v.a2(this.v.aw - 1);
703
+ }
704
+ };
705
+ PropertyEditorPanel.prototype.dw = function (a, b) {
706
+ this.z = true;
707
+ this.ce();
708
+ this.z = false;
709
+ };
710
+ PropertyEditorPanel.prototype.d2 = function () {
711
+ if (this.v == null) {
712
+ return;
713
+ }
714
+ this.am.clear();
715
+ this.ap.clear();
716
+ var a = this.bp == -1 ? 38 : this.bp;
717
+ var b = this.d6;
718
+ var c = this.u();
719
+ if (this.ag) {
720
+ this.cg();
721
+ }
722
+ else {
723
+ var d = new PropertyEditorPanelColumnDefinition();
724
+ d.b = 0;
725
+ d.f = 10;
726
+ d.g = 5;
727
+ d.a = 0;
728
+ d.dataBinding = delegateCombine(d.dataBinding, runOn(this, this.dl));
729
+ d.cellUpdating = delegateCombine(d.cellUpdating, runOn(this, this.dk));
730
+ d.j = "PropertyPath";
731
+ this.ap.add(d);
732
+ var e = new PropertyEditorPanelColumnDefinition();
733
+ e.b = 1;
734
+ e.a = 1;
735
+ e.f = 5;
736
+ e.g = 5;
737
+ e.dataBinding = delegateCombine(e.dataBinding, runOn(this, this.cl));
738
+ e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.ck));
739
+ e.j = "ValueType";
740
+ this.ap.add(e);
741
+ }
742
+ this.d0();
743
+ };
744
+ PropertyEditorPanel.prototype.cg = function () {
745
+ if (this.actualProperties == null) {
746
+ return;
747
+ }
748
+ var a = this.actualProperties.ae;
749
+ var b = a.count;
750
+ var c = new List$1(PropertyEditorPanelColumnDefinition.$, 0);
751
+ var d = this.bm(a, b, c, 0x7FFFFFFF);
752
+ for (var e = 0; e < c.count; e++) {
753
+ this.ap.add(c._inner[e]);
754
+ }
755
+ this.bo = d;
756
+ var f = this.actualProperties;
757
+ var g = this.bj;
758
+ f.clear();
759
+ for (var h = 0; h < this.bo; h++) {
760
+ f.add(new PropertyEditorPropertyDescription());
761
+ }
762
+ var i = this.actualProperties.toArray();
763
+ var j = new LocalDataSource();
764
+ j.dataSource = i;
765
+ this.c = j;
766
+ if (f.count != g) {
767
+ this.bj = f.count;
768
+ this.d0();
769
+ this.l.r();
770
+ }
771
+ };
772
+ PropertyEditorPanel.prototype.ea = function () {
773
+ if (this.ag && this.v != null && this.c != null) {
774
+ var a = this.ar;
775
+ var b = this.actualProperties;
776
+ return new Size(1, 0, b.count * a);
777
+ }
778
+ else {
779
+ return new Size(1, 0, 0);
780
+ }
781
+ };
782
+ PropertyEditorPanel.prototype.bm = function (a, b, c, d) {
783
+ var e = 0;
784
+ var f = 0;
785
+ var g = 0;
786
+ var h = this.l.g();
787
+ h -= 5;
788
+ if (!this.ai) {
789
+ h = 1.7976931348623157E+308;
790
+ }
791
+ var i = 0;
792
+ var j = h;
793
+ for (var k = 0; k < b; k++) {
794
+ var l = a.item(k);
795
+ var m = this.a9(l);
796
+ var n = this.a5(l);
797
+ if ((i + m + n > h && g > 0) || g >= d) {
798
+ if (f != 0 && g < d && d > 2) {
799
+ var o = c._inner[g];
800
+ var p = c._inner[g + 1];
801
+ o.h = m;
802
+ p.h = n;
803
+ this.d1(h, c);
804
+ if (c.count == 0) {
805
+ return 0;
806
+ }
807
+ return this.bm(a, b, c, c.count);
808
+ }
809
+ d = Math.max(Math.min(d, g), 2);
810
+ f++;
811
+ var q = h - i;
812
+ if (q < j) {
813
+ j = q;
814
+ }
815
+ i = 0;
816
+ g = 0;
817
+ }
818
+ var r = this.b5(l);
819
+ if (c.count <= g) {
820
+ var s = new PropertyEditorPanelColumnDefinition();
821
+ s.b = 0;
822
+ s.a = 0;
823
+ s.f = 10;
824
+ s.g = 5;
825
+ s.h = m;
826
+ s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dl));
827
+ s.cellUpdating = delegateCombine(s.cellUpdating, runOn(this, this.dk));
828
+ s.j = "PropertyName_" + k;
829
+ c.add(s);
830
+ this.am.item(s, c.count - 1);
831
+ g++;
832
+ }
833
+ else {
834
+ var t = c._inner[g];
835
+ if (m > t.h) {
836
+ var u = m - t.h;
837
+ t.h = m;
838
+ if (u > j && d > 2) {
839
+ this.d1(h, c);
840
+ if (c.count == 0) {
841
+ return 0;
842
+ }
843
+ return this.bm(a, b, c, c.count);
844
+ }
845
+ else {
846
+ j -= u;
847
+ if (j < 0) {
848
+ j = 0;
849
+ }
850
+ g++;
851
+ }
852
+ }
853
+ else {
854
+ m = t.h;
855
+ g++;
856
+ }
857
+ }
858
+ if (c.count <= g) {
859
+ var v = new PropertyEditorPanelColumnDefinition();
860
+ v.b = 1;
861
+ v.a = 1;
862
+ v.j = "ValueType_" + k;
863
+ v.f = 5;
864
+ v.g = 5;
865
+ v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.cl));
866
+ v.h = n;
867
+ v.cellUpdating = delegateCombine(v.cellUpdating, runOn(this, this.ck));
868
+ c.add(v);
869
+ this.am.item(v, c.count - 1);
870
+ g++;
871
+ }
872
+ else {
873
+ var w = c._inner[g];
874
+ if (n > w.h) {
875
+ var x = n - w.h;
876
+ w.h = n;
877
+ if (x > j && d > 2) {
878
+ this.d1(h, c);
879
+ if (c.count == 0) {
880
+ return 0;
881
+ }
882
+ return this.bm(a, b, c, c.count);
883
+ }
884
+ else {
885
+ j -= x;
886
+ if (j < 0) {
887
+ j = 0;
888
+ }
889
+ g++;
890
+ }
891
+ }
892
+ else {
893
+ n = w.h;
894
+ g++;
895
+ }
896
+ }
897
+ i += m + n;
898
+ }
899
+ return f + 1;
900
+ };
901
+ PropertyEditorPanel.prototype.d1 = function (a, b) {
902
+ var e_4, _a;
903
+ var c = 0;
904
+ try {
905
+ for (var _b = tslib_1.__values(fromEnum(b)), _c = _b.next(); !_c.done; _c = _b.next()) {
906
+ var d = _c.value;
907
+ c += d.h;
908
+ }
909
+ }
910
+ catch (e_4_1) {
911
+ e_4 = { error: e_4_1 };
912
+ }
913
+ finally {
914
+ try {
915
+ if (_c && !_c.done && (_a = _b.return))
916
+ _a.call(_b);
917
+ }
918
+ finally {
919
+ if (e_4)
920
+ throw e_4.error;
921
+ }
922
+ }
923
+ while (c > a) {
924
+ if (b.count < 1) {
925
+ return;
926
+ }
927
+ if (b._inner[b.count - 1].b == 1) {
928
+ c -= b._inner[b.count - 1].h;
929
+ c -= b._inner[b.count - 2].h;
930
+ b.removeAt(b.count - 1);
931
+ b.removeAt(b.count - 1);
932
+ }
933
+ else {
934
+ c -= b._inner[b.count - 1].h;
935
+ b.removeAt(b.count - 1);
936
+ }
937
+ }
938
+ };
939
+ PropertyEditorPanel.prototype.cl = function (a, b) {
940
+ var c = a;
941
+ var d = this.m(c, b.a, b.c);
942
+ b.b = enumGetBox(PropertyEditorValueType_$type, d != null ? d.n : 0);
943
+ };
944
+ PropertyEditorPanel.prototype.dl = function (a, b) {
945
+ var c = a;
946
+ var d = this.m(c, b.a, b.c);
947
+ if (d == null) {
948
+ b.b = null;
949
+ return;
950
+ }
951
+ b.b = d.aj != null ? d.aj : d.al;
952
+ };
953
+ PropertyEditorPanel.prototype.a5 = function (a) {
954
+ if (!isNaN_(a.w)) {
955
+ return a.w;
956
+ }
957
+ switch (a.n) {
958
+ case 10: return this.as(a);
959
+ case 7: return this.at(a);
960
+ case 4: return this.av(a);
961
+ case 6: return this.au(a);
962
+ case 9: return this.ay(a);
963
+ case 5: return this.a0(a);
964
+ case 14: return this.az(a);
965
+ case 18: return this.a1(a);
966
+ case 3: return this.a2(a);
967
+ case 15: return this.a6(a);
968
+ case 17: return this.a7(a);
969
+ case 16: return this.ba(a);
970
+ case 1: return this.bb(a);
971
+ case 11: return this.bc(a);
972
+ case 13: return this.bd(a);
973
+ case 12: return this.be(a);
974
+ case 2: return this.bg(a);
975
+ case 8: return this.bh(a);
976
+ case 19: return this.bi(a);
977
+ case 0: return this.a8(a);
978
+ case 20: return this.aw(a);
979
+ case 21: return this.bf(a);
980
+ }
981
+ return 100;
982
+ };
983
+ PropertyEditorPanel.prototype.bi = function (a) {
984
+ return this.a8(a);
985
+ };
986
+ PropertyEditorPanel.prototype.a8 = function (a) {
987
+ return 175;
988
+ };
989
+ PropertyEditorPanel.prototype.aw = function (a) {
990
+ if (a.ad != null) {
991
+ return Math.max(100, this.l.h(a.ad.toString()) + 30);
992
+ }
993
+ return 80;
994
+ };
995
+ PropertyEditorPanel.prototype.bf = function (a) {
996
+ return 175;
997
+ };
998
+ PropertyEditorPanel.prototype.bh = function (a) {
999
+ return this.aw(a);
1000
+ };
1001
+ PropertyEditorPanel.prototype.bg = function (a) {
1002
+ return this.a8(a);
1003
+ };
1004
+ PropertyEditorPanel.prototype.be = function (a) {
1005
+ return this.a8(a);
1006
+ };
1007
+ PropertyEditorPanel.prototype.bd = function (a) {
1008
+ return this.a8(a);
1009
+ };
1010
+ PropertyEditorPanel.prototype.bc = function (a) {
1011
+ return this.a8(a);
1012
+ };
1013
+ PropertyEditorPanel.prototype.bb = function (a) {
1014
+ return this.a8(a);
1015
+ };
1016
+ PropertyEditorPanel.prototype.ba = function (a) {
1017
+ return this.aw(a);
1018
+ };
1019
+ PropertyEditorPanel.prototype.a7 = function (a) {
1020
+ return this.aw(a);
1021
+ };
1022
+ PropertyEditorPanel.prototype.a6 = function (a) {
1023
+ return this.a4(a);
1024
+ };
1025
+ PropertyEditorPanel.prototype.a4 = function (a) {
1026
+ return this.a8(a);
1027
+ };
1028
+ PropertyEditorPanel.prototype.a2 = function (a) {
1029
+ return this.a3(a);
1030
+ };
1031
+ PropertyEditorPanel.prototype.a3 = function (a) {
1032
+ return this.a8(a);
1033
+ };
1034
+ PropertyEditorPanel.prototype.a1 = function (a) {
1035
+ return this.aw(a);
1036
+ };
1037
+ PropertyEditorPanel.prototype.az = function (a) {
1038
+ return this.aw(a);
1039
+ };
1040
+ PropertyEditorPanel.prototype.a0 = function (a) {
1041
+ return this.a8(a);
1042
+ };
1043
+ PropertyEditorPanel.prototype.ay = function (a) {
1044
+ return this.aw(a);
1045
+ };
1046
+ PropertyEditorPanel.prototype.au = function (a) {
1047
+ return this.aw(a);
1048
+ };
1049
+ PropertyEditorPanel.prototype.av = function (a) {
1050
+ return this.a8(a);
1051
+ };
1052
+ PropertyEditorPanel.prototype.at = function (a) {
1053
+ return this.ax(a);
1054
+ };
1055
+ PropertyEditorPanel.prototype.ax = function (a) {
1056
+ return 50;
1057
+ };
1058
+ PropertyEditorPanel.prototype.as = function (a) {
1059
+ return this.aw(a);
1060
+ };
1061
+ PropertyEditorPanel.prototype.a9 = function (a) {
1062
+ if (!isNaN_(a.x)) {
1063
+ return a.x;
1064
+ }
1065
+ return this.l.h(this.b5(a)) + 17;
1066
+ };
1067
+ PropertyEditorPanel.prototype.b5 = function (a) {
1068
+ return a.aj != null ? a.aj : a.al;
1069
+ };
1070
+ PropertyEditorPanel.prototype.dk = function (a, b) {
1071
+ var c = a;
1072
+ var d = this.m(c, b.b, b.c);
1073
+ this.c7(c, b);
1074
+ };
1075
+ PropertyEditorPanel.prototype.ck = function (a, b) {
1076
+ var c = a;
1077
+ var d = this.m(c, b.b, b.c);
1078
+ var e = d != null ? d.n : 0;
1079
+ switch (e) {
1080
+ case 10:
1081
+ this.cs(c, b);
1082
+ break;
1083
+ case 7:
1084
+ this.ct(c, b);
1085
+ break;
1086
+ case 4:
1087
+ this.cv(c, b);
1088
+ break;
1089
+ case 6:
1090
+ this.cu(c, b);
1091
+ break;
1092
+ case 9:
1093
+ this.cx(c, b);
1094
+ break;
1095
+ case 5:
1096
+ this.cz(c, b);
1097
+ break;
1098
+ case 14:
1099
+ this.cy(c, b);
1100
+ break;
1101
+ case 18:
1102
+ this.c0(c, b);
1103
+ break;
1104
+ case 3:
1105
+ this.c1(c, b);
1106
+ break;
1107
+ case 15:
1108
+ this.c4(c, b);
1109
+ break;
1110
+ case 17:
1111
+ this.c5(c, b);
1112
+ break;
1113
+ case 16:
1114
+ this.c8(c, b);
1115
+ break;
1116
+ case 1:
1117
+ this.c9(c, b);
1118
+ break;
1119
+ case 11:
1120
+ this.da(c, b);
1121
+ break;
1122
+ case 13:
1123
+ this.db(c, b);
1124
+ break;
1125
+ case 12:
1126
+ this.dc(c, b);
1127
+ break;
1128
+ case 2:
1129
+ this.de(c, b);
1130
+ break;
1131
+ case 8:
1132
+ this.df(c, b);
1133
+ break;
1134
+ case 19:
1135
+ this.dg(c, b);
1136
+ break;
1137
+ case 20:
1138
+ this.cw(c, b);
1139
+ break;
1140
+ case 21:
1141
+ this.dd(c, b);
1142
+ break;
1143
+ case 0: break;
1144
+ }
1145
+ };
1146
+ PropertyEditorPanel.prototype.dg = function (a, b) {
1147
+ this.c6(a, b);
1148
+ };
1149
+ PropertyEditorPanel.prototype.df = function (a, b) {
1150
+ };
1151
+ PropertyEditorPanel.prototype.de = function (a, b) {
1152
+ this.c6(a, b);
1153
+ };
1154
+ PropertyEditorPanel.prototype.dc = function (a, b) {
1155
+ this.c6(a, b);
1156
+ };
1157
+ PropertyEditorPanel.prototype.db = function (a, b) {
1158
+ this.c6(a, b);
1159
+ };
1160
+ PropertyEditorPanel.prototype.da = function (a, b) {
1161
+ this.c6(a, b);
1162
+ };
1163
+ PropertyEditorPanel.prototype.c9 = function (a, b) {
1164
+ this.c6(a, b);
1165
+ };
1166
+ PropertyEditorPanel.prototype.c7 = function (a, b) {
1167
+ var _this = this;
1168
+ this.cq(b, function (c, d) {
1169
+ c.ap = _this.u();
1170
+ c.e = 1;
1171
+ var e = _this.m(a, b.b, b.c);
1172
+ c.v = e;
1173
+ c.aq = _this.b5(e);
1174
+ });
1175
+ };
1176
+ PropertyEditorPanel.prototype.c6 = function (a, b) {
1177
+ var _this = this;
1178
+ this.cp(b, function (c, d) {
1179
+ c.e = 1;
1180
+ c.at = 1;
1181
+ c.aq = 2;
1182
+ var e = _this.m(a, b.b, b.c);
1183
+ c.v = e;
1184
+ c.au = (e.ad != null ? e.ad.toString() : "");
1185
+ if (d) {
1186
+ c.as = runOn(_this, _this.di);
1187
+ }
1188
+ });
1189
+ };
1190
+ PropertyEditorPanel.prototype.cq = function (a, b) {
1191
+ var c = a.a;
1192
+ var d = c.aw;
1193
+ var e = false;
1194
+ if (d == null || d.c != 3) {
1195
+ e = true;
1196
+ NativeUIComponent.z(this.l.p(), 3, function (f) {
1197
+ c.aw = f;
1198
+ b(f, e);
1199
+ });
1200
+ return;
1201
+ }
1202
+ b(d, e);
1203
+ };
1204
+ PropertyEditorPanel.prototype.cp = function (a, b) {
1205
+ var c = a.a;
1206
+ var d = c.aw;
1207
+ var e = false;
1208
+ if (d == null || d.c != 2) {
1209
+ e = true;
1210
+ NativeUIComponent.z(this.l.p(), 2, function (f) {
1211
+ c.aw = f;
1212
+ b(f, e);
1213
+ });
1214
+ return;
1215
+ }
1216
+ b(d, e);
1217
+ };
1218
+ PropertyEditorPanel.prototype.cm = function (a, b) {
1219
+ var c = a.a;
1220
+ var d = c.aw;
1221
+ var e = false;
1222
+ if (d == null || d.c != 1) {
1223
+ e = true;
1224
+ NativeUIComponent.z(this.l.p(), 1, function (f) {
1225
+ c.aw = f;
1226
+ b(f, e);
1227
+ });
1228
+ return;
1229
+ }
1230
+ b(d, e);
1231
+ };
1232
+ PropertyEditorPanel.prototype.cr = function (a, b) {
1233
+ var c = a.a;
1234
+ var d = c.aw;
1235
+ var e = false;
1236
+ if (d == null || d.c != 5) {
1237
+ e = true;
1238
+ NativeUIComponent.z(this.l.p(), 5, function (f) {
1239
+ c.aw = f;
1240
+ b(f, e);
1241
+ });
1242
+ return;
1243
+ }
1244
+ b(d, e);
1245
+ };
1246
+ PropertyEditorPanel.prototype.co = function (a, b) {
1247
+ var c = a.a;
1248
+ var d = c.aw;
1249
+ var e = false;
1250
+ if (d == null || d.c != 4) {
1251
+ e = true;
1252
+ NativeUIComponent.z(this.l.p(), 4, function (f) {
1253
+ c.aw = f;
1254
+ b(f, e);
1255
+ });
1256
+ return;
1257
+ }
1258
+ b(d, e);
1259
+ };
1260
+ PropertyEditorPanel.prototype.cn = function (a, b) {
1261
+ var c = a.a;
1262
+ var d = c.aw;
1263
+ var e = false;
1264
+ if (d == null || d.c != 6) {
1265
+ e = true;
1266
+ NativeUIComponent.z(this.l.p(), 6, function (f) {
1267
+ c.aw = f;
1268
+ b(f, e);
1269
+ });
1270
+ return;
1271
+ }
1272
+ b(d, e);
1273
+ };
1274
+ PropertyEditorPanel.prototype.cw = function (a, b) {
1275
+ var _this = this;
1276
+ this.cm(b, function (c, d) {
1277
+ c.e = 1;
1278
+ if (c.ar != 2) {
1279
+ c.ar = 2;
1280
+ }
1281
+ var e = _this.m(a, b.b, b.c);
1282
+ c.v = e;
1283
+ var f = e.ad;
1284
+ if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1285
+ f = e.ad.toString();
1286
+ }
1287
+ c.as = f;
1288
+ if (d) {
1289
+ c.aq = runOn(_this, _this.cd);
1290
+ }
1291
+ });
1292
+ };
1293
+ PropertyEditorPanel.prototype.dd = function (a, b) {
1294
+ var _this = this;
1295
+ this.cr(b, function (c, d) {
1296
+ c.e = 1;
1297
+ var e = _this.m(a, b.b, b.c);
1298
+ c.v = e;
1299
+ var f = e.ad;
1300
+ if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1301
+ f = e.ad;
1302
+ }
1303
+ if (typeof e.ad === 'string') {
1304
+ var g = 0;
1305
+ var h = tryParseNumber(f, g);
1306
+ g = h.p1;
1307
+ f = g;
1308
+ }
1309
+ if (f == null) {
1310
+ f = 0;
1311
+ }
1312
+ c.aw = f;
1313
+ if (!isNaN_(e.z)) {
1314
+ c.au = e.z;
1315
+ }
1316
+ else {
1317
+ c.au = 0;
1318
+ }
1319
+ if (!isNaN_(e.y)) {
1320
+ c.at = e.y;
1321
+ }
1322
+ else {
1323
+ c.at = 100;
1324
+ }
1325
+ if (!isNaN_(e.aa)) {
1326
+ c.av = e.aa;
1327
+ }
1328
+ else {
1329
+ c.av = 1;
1330
+ }
1331
+ if (d) {
1332
+ c.as = runOn(_this, _this.d3);
1333
+ }
1334
+ });
1335
+ };
1336
+ PropertyEditorPanel.prototype.d3 = function (a, b) {
1337
+ var c = a;
1338
+ var d = c.v;
1339
+ this.af = true;
1340
+ d.ad = c.aw;
1341
+ this.af = false;
1342
+ this.dv(d);
1343
+ };
1344
+ PropertyEditorPanel.prototype.c3 = function (a, b) {
1345
+ var _this = this;
1346
+ this.co(b, function (c, d) {
1347
+ c.e = 1;
1348
+ if (c.ap != 2) {
1349
+ c.ap = 2;
1350
+ }
1351
+ var e = _this.m(a, b.b, b.c);
1352
+ if (c.v != e) {
1353
+ {
1354
+ c.ar = null;
1355
+ }
1356
+ c.v = e;
1357
+ c.at = null;
1358
+ c.as = _this.b(_this.a(e));
1359
+ if (e.ad != c.at) {
1360
+ if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1361
+ c.at = e.ad.toString();
1362
+ }
1363
+ else {
1364
+ c.at = e.ad;
1365
+ }
1366
+ }
1367
+ {
1368
+ c.ar = runOn(_this, _this.ch);
1369
+ }
1370
+ }
1371
+ else {
1372
+ if (e.ad != c.at) {
1373
+ if (typeof e.ad === 'number' || typeof e.ad === 'number') {
1374
+ c.at = e.ad.toString();
1375
+ }
1376
+ else {
1377
+ c.at = e.ad;
1378
+ }
1379
+ }
1380
+ }
1381
+ if (d) {
1382
+ if (c.ar == null) {
1383
+ c.ar = runOn(_this, _this.ch);
1384
+ }
1385
+ c.ah = BrushUtil.g(255, 255, 255, 255);
1386
+ }
1387
+ });
1388
+ };
1389
+ PropertyEditorPanel.prototype.b = function (a) {
1390
+ return a;
1391
+ };
1392
+ PropertyEditorPanel.prototype.a = function (a) {
1393
+ return a.c;
1394
+ };
1395
+ PropertyEditorPanel.prototype.ch = function (a, b) {
1396
+ var c = a;
1397
+ var d = c.v;
1398
+ this.af = true;
1399
+ d.ad = c.at;
1400
+ d.am();
1401
+ this.af = false;
1402
+ this.dv(d);
1403
+ };
1404
+ PropertyEditorPanel.prototype.di = function (a, b) {
1405
+ var c = a;
1406
+ var d = c.v;
1407
+ this.af = true;
1408
+ if (d.n == 1) {
1409
+ var e = 0;
1410
+ var f = tryParseNumber(c.au, e);
1411
+ e = f.p1;
1412
+ d.ad = e;
1413
+ }
1414
+ else {
1415
+ d.ad = c.au;
1416
+ }
1417
+ d.am();
1418
+ this.af = false;
1419
+ this.dv(d);
1420
+ };
1421
+ PropertyEditorPanel.prototype.cd = function (a, b) {
1422
+ var c = a;
1423
+ var d = c.v;
1424
+ this.af = true;
1425
+ d.an();
1426
+ this.af = false;
1427
+ this.dv(d);
1428
+ };
1429
+ PropertyEditorPanel.prototype.dv = function (a) {
1430
+ var _this = this;
1431
+ if (this.bs != null && this.e != null) {
1432
+ if (this.ad) {
1433
+ this.ad = false;
1434
+ this.e.addTargetPropertyUpdatingListener(runOn(this, this.al));
1435
+ }
1436
+ var b = this.bt == null;
1437
+ this.bt = this.b4();
1438
+ if (b) {
1439
+ this.l.q(this.bs, function (c) { return _this.e.loadJsonOverlay(_this.bt, function (d) { return c; }, function (d) { return _this.bs; }); });
1440
+ }
1441
+ else {
1442
+ this.l.q(this.bs, function (c) { return _this.e.loadJsonDelta(_this.bt, function (d) { return c; }, false); });
1443
+ }
1444
+ }
1445
+ };
1446
+ PropertyEditorPanel.prototype.al = function (a, b, c) {
1447
+ var d = this.actualProperties;
1448
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, d) !== null) {
1449
+ d = d.ae;
1450
+ }
1451
+ for (var e = 0; e < d.count; e++) {
1452
+ var f = d._inner[e].al;
1453
+ if (this.ak(f, a)) {
1454
+ d._inner[e].ap(a, b, c);
1455
+ }
1456
+ }
1457
+ if (this.ah) {
1458
+ return true;
1459
+ }
1460
+ return false;
1461
+ };
1462
+ PropertyEditorPanel.prototype.ak = function (a, b) {
1463
+ if (a == null && b == null) {
1464
+ return true;
1465
+ }
1466
+ if (a == null) {
1467
+ return false;
1468
+ }
1469
+ if (b == null) {
1470
+ return false;
1471
+ }
1472
+ var c = stringSplit(a, ['.', '['], 0);
1473
+ var d = stringSplit(b, ['.', '['], 0);
1474
+ if (c.length != d.length) {
1475
+ return false;
1476
+ }
1477
+ for (var e = 0; e < c.length; e++) {
1478
+ var f = c[e];
1479
+ var g = d[e];
1480
+ if (stringContains(f, "]")) {
1481
+ if (!stringContains(g, "]")) {
1482
+ return false;
1483
+ }
1484
+ g = stringReplace(g, "]", "");
1485
+ var h = this.ao(f);
1486
+ if (!h.contains(g)) {
1487
+ return false;
1488
+ }
1489
+ }
1490
+ else {
1491
+ if (!Base.equalsStatic(f, g)) {
1492
+ return false;
1493
+ }
1494
+ }
1495
+ }
1496
+ return true;
1497
+ };
1498
+ PropertyEditorPanel.prototype.ao = function (a) {
1499
+ var b = new List$1(String_$type, 0);
1500
+ if (stringContains(a, "]")) {
1501
+ a = stringReplace(a, "]", "");
1502
+ var c = a.split(',');
1503
+ for (var d = 0; d < c.length; d++) {
1504
+ var e = c[d];
1505
+ if (stringContains(e, "as")) {
1506
+ var f = e.indexOf("as");
1507
+ var g = e.substr(0, f).trim();
1508
+ b.add(g);
1509
+ }
1510
+ }
1511
+ return b;
1512
+ }
1513
+ b.add(a);
1514
+ return b;
1515
+ };
1516
+ PropertyEditorPanel.prototype.b4 = function () {
1517
+ if (this.actualProperties == null) {
1518
+ return null;
1519
+ }
1520
+ var a = this.actualProperties;
1521
+ if (typeCast(HorizontalPropertyEditorPanelDataSource.$, a) !== null) {
1522
+ a = a.ae;
1523
+ }
1524
+ var b = new PropertyEditorTreeTransformer(this.h, this.b2);
1525
+ this.c2(a, "", b, this.b2);
1526
+ return b.g();
1527
+ };
1528
+ PropertyEditorPanel.prototype.c2 = function (a, b, c, d) {
1529
+ for (var e = 0; e < a.count; e++) {
1530
+ var f = a._inner[e];
1531
+ if (f.n == 20) {
1532
+ continue;
1533
+ }
1534
+ if (f.i != null) {
1535
+ for (var g = 0; g < f.i.count; g++) {
1536
+ var h = f.i._inner[g];
1537
+ var i = b + f.al + "[" + g + "]";
1538
+ this.c2(h.a, i, c, h.b);
1539
+ }
1540
+ }
1541
+ else if (f.g != null) {
1542
+ var j = b + f.al;
1543
+ this.c2(f.g.a, j, c, f.g.b);
1544
+ }
1545
+ else {
1546
+ c.h(b + f.al, f.ad, d);
1547
+ }
1548
+ }
1549
+ };
1550
+ PropertyEditorPanel.prototype.c8 = function (a, b) {
1551
+ };
1552
+ PropertyEditorPanel.prototype.c5 = function (a, b) {
1553
+ };
1554
+ PropertyEditorPanel.prototype.c4 = function (a, b) {
1555
+ this.c3(a, b);
1556
+ };
1557
+ PropertyEditorPanel.prototype.c1 = function (a, b) {
1558
+ };
1559
+ PropertyEditorPanel.prototype.c0 = function (a, b) {
1560
+ };
1561
+ PropertyEditorPanel.prototype.cy = function (a, b) {
1562
+ };
1563
+ PropertyEditorPanel.prototype.cz = function (a, b) {
1564
+ this.c6(a, b);
1565
+ };
1566
+ PropertyEditorPanel.prototype.cx = function (a, b) {
1567
+ };
1568
+ PropertyEditorPanel.prototype.cu = function (a, b) {
1569
+ };
1570
+ PropertyEditorPanel.prototype.cv = function (a, b) {
1571
+ this.c6(a, b);
1572
+ };
1573
+ PropertyEditorPanel.prototype.ct = function (a, b) {
1574
+ var _this = this;
1575
+ this.cn(b, function (c, d) {
1576
+ c.e = 1;
1577
+ if (!c.ar) {
1578
+ c.ar = true;
1579
+ }
1580
+ var e = _this.m(a, b.b, b.c);
1581
+ var f = e.ad;
1582
+ if (f == null) {
1583
+ f = false;
1584
+ }
1585
+ if (typeof f === 'string') {
1586
+ var g_1;
1587
+ if (((function () { var h = tryParseBool(f, g_1); g_1 = h.p1; return h.ret; })())) {
1588
+ f = g_1;
1589
+ var h = _this.af;
1590
+ _this.af = true;
1591
+ e.ad = f;
1592
+ _this.af = h;
1593
+ }
1594
+ }
1595
+ if (typeof f === 'number') {
1596
+ if (typeGetValue(f) > 0) {
1597
+ f = true;
1598
+ var i = _this.af;
1599
+ _this.af = true;
1600
+ e.ad = f;
1601
+ _this.af = i;
1602
+ }
1603
+ }
1604
+ if (typeof f === 'number') {
1605
+ if (f > 0) {
1606
+ f = true;
1607
+ var j = _this.af;
1608
+ _this.af = true;
1609
+ e.ad = f;
1610
+ _this.af = j;
1611
+ }
1612
+ }
1613
+ var k = f;
1614
+ c.as = k;
1615
+ c.v = e;
1616
+ if (d) {
1617
+ c.aq = runOn(_this, _this.cf);
1618
+ }
1619
+ });
1620
+ };
1621
+ PropertyEditorPanel.prototype.m = function (a, b, c) {
1622
+ if (this.ag) {
1623
+ var d = this.actualProperties.ae;
1624
+ var e = d;
1625
+ var f = truncate((this.ap.count / 2));
1626
+ var g = b * f;
1627
+ var h = this.bn(a);
1628
+ h = truncate(Math.floor(h / 2)) + g;
1629
+ if (h > e.count - 1) {
1630
+ return null;
1631
+ }
1632
+ return e.item(h);
1633
+ }
1634
+ else {
1635
+ return c;
1636
+ }
1637
+ };
1638
+ PropertyEditorPanel.prototype.bn = function (a) {
1639
+ return this.am.item(a);
1640
+ };
1641
+ PropertyEditorPanel.prototype.cf = function (a, b) {
1642
+ var c = a;
1643
+ var d = c.v;
1644
+ this.af = true;
1645
+ d.ad = c.as;
1646
+ d.am();
1647
+ this.af = false;
1648
+ this.dv(d);
1649
+ };
1650
+ PropertyEditorPanel.prototype.cs = function (a, b) {
1651
+ };
1652
+ PropertyEditorPanel.prototype.dq = function (a, b, c) {
1653
+ if (this.v != null) {
1654
+ this.c.notifySetItem(a, b, c);
1655
+ }
1656
+ };
1657
+ PropertyEditorPanel.prototype.dm = function () {
1658
+ if (this.v != null) {
1659
+ this.c.notifyClearItems();
1660
+ }
1661
+ };
1662
+ PropertyEditorPanel.prototype.dn = function (a, b) {
1663
+ if (this.v != null) {
1664
+ this.c.notifyInsertItem(a, b);
1665
+ }
1666
+ ;
1667
+ };
1668
+ PropertyEditorPanel.prototype.dp = function (a, b) {
1669
+ if (this.v != null) {
1670
+ this.c.notifyRemoveItem(a, b);
1671
+ }
1672
+ ;
1673
+ };
1674
+ Object.defineProperty(PropertyEditorPanel.prototype, "h", {
1675
+ get: function () {
1676
+ return this.f;
1677
+ },
1678
+ set: function (a) {
1679
+ var b = this.f;
1680
+ this.f = a;
1681
+ this.du("ActualContext", b, this.f);
1682
+ },
1683
+ enumerable: true,
1684
+ configurable: true
1685
+ });
1686
+ Object.defineProperty(PropertyEditorPanel.prototype, "i", {
1687
+ get: function () {
1688
+ return this.g;
1689
+ },
1690
+ set: function (a) {
1691
+ var b = this.g;
1692
+ this.g = a;
1693
+ this.du("DescriptionContext", b, this.g);
1694
+ },
1695
+ enumerable: true,
1696
+ configurable: true
1697
+ });
1698
+ Object.defineProperty(PropertyEditorPanel.prototype, "e", {
1699
+ get: function () {
1700
+ return this.d;
1701
+ },
1702
+ set: function (a) {
1703
+ var b = this.d;
1704
+ this.d = a;
1705
+ this.du("ComponentRenderer", b, this.d);
1706
+ },
1707
+ enumerable: true,
1708
+ configurable: true
1709
+ });
1710
+ Object.defineProperty(PropertyEditorPanel.prototype, "bs", {
1711
+ get: function () {
1712
+ return this.bq;
1713
+ },
1714
+ set: function (a) {
1715
+ var b = this.bq;
1716
+ this.bq = a;
1717
+ this.du("Target", b, this.bq);
1718
+ },
1719
+ enumerable: true,
1720
+ configurable: true
1721
+ });
1722
+ Object.defineProperty(PropertyEditorPanel.prototype, "b2", {
1723
+ get: function () {
1724
+ return this.bu;
1725
+ },
1726
+ set: function (a) {
1727
+ var b = this.bu;
1728
+ this.bu = a;
1729
+ this.du("DescriptionType", b, this.bu);
1730
+ },
1731
+ enumerable: true,
1732
+ configurable: true
1733
+ });
1734
+ Object.defineProperty(PropertyEditorPanel.prototype, "ag", {
1735
+ get: function () {
1736
+ return this.aa;
1737
+ },
1738
+ set: function (a) {
1739
+ var b = this.aa;
1740
+ this.aa = a;
1741
+ this.du("IsHorizontal", b, this.aa);
1742
+ },
1743
+ enumerable: true,
1744
+ configurable: true
1745
+ });
1746
+ Object.defineProperty(PropertyEditorPanel.prototype, "ai", {
1747
+ get: function () {
1748
+ return this.ac;
1749
+ },
1750
+ set: function (a) {
1751
+ var b = this.ac;
1752
+ this.ac = a;
1753
+ this.du("IsWrappingEnabled", b, this.ac);
1754
+ },
1755
+ enumerable: true,
1756
+ configurable: true
1757
+ });
1758
+ Object.defineProperty(PropertyEditorPanel.prototype, "ah", {
1759
+ get: function () {
1760
+ return this.ab;
1761
+ },
1762
+ set: function (a) {
1763
+ var b = this.ab;
1764
+ this.ab = a;
1765
+ this.du("IsIndirectModeEnabled", b, this.ab);
1766
+ },
1767
+ enumerable: true,
1768
+ configurable: true
1769
+ });
1770
+ Object.defineProperty(PropertyEditorPanel.prototype, "d6", {
1771
+ get: function () {
1772
+ return this.d4;
1773
+ },
1774
+ set: function (a) {
1775
+ var b = this.d4;
1776
+ this.d4 = a;
1777
+ if (b != this.d4) {
1778
+ this.du("BackgroundColor", b, a);
1779
+ }
1780
+ },
1781
+ enumerable: true,
1782
+ configurable: true
1783
+ });
1784
+ Object.defineProperty(PropertyEditorPanel.prototype, "d9", {
1785
+ get: function () {
1786
+ return this.d5;
1787
+ },
1788
+ set: function (a) {
1789
+ var b = this.d5;
1790
+ this.d5 = a;
1791
+ if (b != this.d5) {
1792
+ this.du("TextColor", b, a);
1793
+ }
1794
+ },
1795
+ enumerable: true,
1796
+ configurable: true
1797
+ });
1798
+ PropertyEditorPanel.prototype.ce = function () {
1799
+ var a = this.c;
1800
+ if (null != a) {
1801
+ if (null == a.actualSchema) {
1802
+ this.bl = -1;
1803
+ return;
1804
+ }
1805
+ var b = a.actualCount;
1806
+ this.bl = b;
1807
+ }
1808
+ else {
1809
+ this.bl = -1;
1810
+ }
1811
+ };
1812
+ PropertyEditorPanel.$t = markType(PropertyEditorPanel, 'PropertyEditorPanel', Base.$, [INotifyPropertyChanged_$type]);
1813
+ PropertyEditorPanel.d7 = BrushUtil.g(255, 248, 248, 248);
1814
+ PropertyEditorPanel.d8 = BrushUtil.g(255, 24, 29, 31);
1815
+ return PropertyEditorPanel;
1816
+ }(Base));
1817
+ export { PropertyEditorPanel };