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