igniteui-webcomponents-layouts 1.4.2 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +4546 -141
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ExpansionPanelView_combined.js +23 -23
  4. package/esm2015/lib/HorizontalPropertyEditorPanelDataSource.js +24 -0
  5. package/esm2015/lib/PropertyEditorDataSource.js +7 -0
  6. package/esm2015/lib/PropertyEditorDescriptionObject.js +7 -0
  7. package/esm2015/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
  8. package/esm2015/lib/PropertyEditorPanel.js +7 -0
  9. package/esm2015/lib/PropertyEditorPanelColumnDefinition.js +55 -0
  10. package/esm2015/lib/PropertyEditorPanelColumnFieldType.js +11 -0
  11. package/esm2015/lib/PropertyEditorPanelColumnType.js +11 -0
  12. package/esm2015/lib/PropertyEditorPanelDataBindingEventArgs.js +22 -0
  13. package/esm2015/lib/PropertyEditorPanelDropDownDataListItem.js +21 -0
  14. package/esm2015/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +22 -0
  15. package/esm2015/lib/PropertyEditorPanelView.js +7 -0
  16. package/esm2015/lib/PropertyEditorPanelView_combined.js +1667 -0
  17. package/esm2015/lib/PropertyEditorPropertyDescription.js +7 -0
  18. package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +16 -0
  19. package/esm2015/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +26 -0
  20. package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
  21. package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +40 -0
  22. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +522 -0
  23. package/esm2015/lib/PropertyEditorTreeTransformer.js +207 -0
  24. package/esm2015/lib/PropertyEditorValueType.js +36 -0
  25. package/esm2015/lib/{ExpansionPanel.js → XExpansionPanel.js} +1 -1
  26. package/esm2015/lib/igc-horizontal-property-editor-panel-data-source.js +48 -0
  27. package/esm2015/lib/igc-property-editor-data-source.js +39 -0
  28. package/esm2015/lib/igc-property-editor-description-object-collection.js +48 -0
  29. package/esm2015/lib/igc-property-editor-description-object.js +70 -0
  30. package/esm2015/lib/igc-property-editor-panel-component.js +446 -0
  31. package/esm2015/lib/igc-property-editor-panel-module.js +19 -0
  32. package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +24 -0
  33. package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +30 -0
  34. package/esm2015/lib/igc-property-editor-property-description-collection.js +48 -0
  35. package/esm2015/lib/igc-property-editor-property-description-component.js +407 -0
  36. package/esm2015/lib/igc-property-editor-property-description-module.js +16 -0
  37. package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +42 -0
  38. package/esm2015/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +16 -16
  39. package/esm2015/lib/{igc-expansion-panel-module.js → igc-x-expansion-panel-module.js} +7 -7
  40. package/esm2015/public_api.js +34 -3
  41. package/esm5/lib/ExpansionPanelView_combined.js +71 -71
  42. package/esm5/lib/HorizontalPropertyEditorPanelDataSource.js +26 -0
  43. package/esm5/lib/PropertyEditorDataSource.js +7 -0
  44. package/esm5/lib/PropertyEditorDescriptionObject.js +7 -0
  45. package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
  46. package/esm5/lib/PropertyEditorPanel.js +7 -0
  47. package/esm5/lib/PropertyEditorPanelColumnDefinition.js +57 -0
  48. package/esm5/lib/PropertyEditorPanelColumnFieldType.js +11 -0
  49. package/esm5/lib/PropertyEditorPanelColumnType.js +11 -0
  50. package/esm5/lib/PropertyEditorPanelDataBindingEventArgs.js +24 -0
  51. package/esm5/lib/PropertyEditorPanelDropDownDataListItem.js +23 -0
  52. package/esm5/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +24 -0
  53. package/esm5/lib/PropertyEditorPanelView.js +7 -0
  54. package/esm5/lib/PropertyEditorPanelView_combined.js +1817 -0
  55. package/esm5/lib/PropertyEditorPropertyDescription.js +7 -0
  56. package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +20 -0
  57. package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +32 -0
  58. package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
  59. package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +54 -0
  60. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +605 -0
  61. package/esm5/lib/PropertyEditorTreeTransformer.js +209 -0
  62. package/esm5/lib/PropertyEditorValueType.js +36 -0
  63. package/esm5/lib/{ExpansionPanel.js → XExpansionPanel.js} +1 -1
  64. package/esm5/lib/igc-horizontal-property-editor-panel-data-source.js +53 -0
  65. package/esm5/lib/igc-property-editor-data-source.js +53 -0
  66. package/esm5/lib/igc-property-editor-description-object-collection.js +53 -0
  67. package/esm5/lib/igc-property-editor-description-object.js +84 -0
  68. package/esm5/lib/igc-property-editor-panel-component.js +546 -0
  69. package/esm5/lib/igc-property-editor-panel-module.js +23 -0
  70. package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +30 -0
  71. package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +40 -0
  72. package/esm5/lib/igc-property-editor-property-description-collection.js +53 -0
  73. package/esm5/lib/igc-property-editor-property-description-component.js +500 -0
  74. package/esm5/lib/igc-property-editor-property-description-module.js +20 -0
  75. package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +60 -0
  76. package/esm5/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +62 -62
  77. package/esm5/lib/igc-x-expansion-panel-module.js +21 -0
  78. package/esm5/public_api.js +34 -3
  79. package/fesm2015/igniteui-webcomponents-layouts.js +3915 -45
  80. package/fesm5/igniteui-webcomponents-layouts.js +4513 -140
  81. package/lib/ExpansionPanelView_combined.d.ts +3 -3
  82. package/lib/HorizontalPropertyEditorPanelDataSource.d.ts +10 -0
  83. package/lib/PropertyEditorDataSource.d.ts +1 -0
  84. package/lib/PropertyEditorDescriptionObject.d.ts +1 -0
  85. package/lib/PropertyEditorDescriptionObjectCollection.d.ts +1 -0
  86. package/lib/PropertyEditorPanel.d.ts +1 -0
  87. package/lib/PropertyEditorPanelColumnDefinition.d.ts +22 -0
  88. package/lib/PropertyEditorPanelColumnFieldType.d.ts +12 -0
  89. package/lib/PropertyEditorPanelColumnType.d.ts +12 -0
  90. package/lib/PropertyEditorPanelDataBindingEventArgs.d.ts +10 -0
  91. package/lib/PropertyEditorPanelDropDownDataListItem.d.ts +9 -0
  92. package/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.d.ts +11 -0
  93. package/lib/PropertyEditorPanelView.d.ts +1 -0
  94. package/lib/PropertyEditorPanelView_combined.d.ts +211 -0
  95. package/lib/PropertyEditorPropertyDescription.d.ts +1 -0
  96. package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +7 -0
  97. package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +9 -0
  98. package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +1 -0
  99. package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +13 -0
  100. package/lib/PropertyEditorPropertyDescription_combined.d.ts +98 -0
  101. package/lib/PropertyEditorTreeTransformer.d.ts +17 -0
  102. package/lib/PropertyEditorValueType.d.ts +29 -0
  103. package/lib/XExpansionPanel.d.ts +1 -0
  104. package/lib/igc-horizontal-property-editor-panel-data-source.d.ts +8 -0
  105. package/lib/igc-property-editor-data-source.d.ts +16 -0
  106. package/lib/igc-property-editor-description-object-collection.d.ts +8 -0
  107. package/lib/igc-property-editor-description-object.d.ts +17 -0
  108. package/lib/igc-property-editor-panel-component.d.ts +101 -0
  109. package/lib/igc-property-editor-panel-module.d.ts +3 -0
  110. package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +12 -0
  111. package/lib/igc-property-editor-property-description-changed-event-args.d.ts +13 -0
  112. package/lib/igc-property-editor-property-description-collection.d.ts +8 -0
  113. package/lib/igc-property-editor-property-description-component.d.ts +70 -0
  114. package/lib/igc-property-editor-property-description-module.d.ts +3 -0
  115. package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +15 -0
  116. package/lib/{igc-expansion-panel-component.d.ts → igc-x-expansion-panel-component.d.ts} +7 -7
  117. package/lib/igc-x-expansion-panel-module.d.ts +3 -0
  118. package/package.json +4 -4
  119. package/public_api.d.ts +34 -3
  120. package/esm5/lib/igc-expansion-panel-module.js +0 -21
  121. package/lib/ExpansionPanel.d.ts +0 -1
  122. package/lib/igc-expansion-panel-module.d.ts +0 -3
@@ -0,0 +1,605 @@
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, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, markType, String_$type, typeCast } from "igniteui-webcomponents-core";
9
+ import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
10
+ import { PropertyEditorPropertyDescriptionButtonClickEventArgs } from "./PropertyEditorPropertyDescriptionButtonClickEventArgs";
11
+ import { PropertyEditorPropertyDescriptionChangedEventArgs } from "./PropertyEditorPropertyDescriptionChangedEventArgs";
12
+ import { PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs";
13
+ import { ObservableCollection$1 } from "igniteui-webcomponents-core";
14
+ import { List$1 } from "igniteui-webcomponents-core";
15
+ import { stringEndsWith, stringContains, stringReplace } from "igniteui-webcomponents-core";
16
+ import { stringSplit } from "igniteui-webcomponents-core";
17
+ /**
18
+ * @hidden
19
+ */
20
+ var PropertyEditorPropertyDescription = /** @class */ /*@__PURE__*/ (function (_super) {
21
+ tslib_1.__extends(PropertyEditorPropertyDescription, _super);
22
+ function PropertyEditorPropertyDescription() {
23
+ var _this = _super !== null && _super.apply(this, arguments) || this;
24
+ _this.ah = null;
25
+ _this.af = null;
26
+ _this.m = 0;
27
+ _this.ag = null;
28
+ _this.o = false;
29
+ _this.ae = null;
30
+ _this.a = null;
31
+ _this.b = null;
32
+ _this.ab = null;
33
+ _this.u = NaN;
34
+ _this.r = NaN;
35
+ _this.s = NaN;
36
+ _this.t = NaN;
37
+ _this.v = NaN;
38
+ _this.f = null;
39
+ _this.h = null;
40
+ _this.e = null;
41
+ _this.propertyChanged = null;
42
+ _this.buttonClicked = null;
43
+ _this.changed = null;
44
+ _this.targetPropertyUpdating = null;
45
+ return _this;
46
+ }
47
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "al", {
48
+ get: function () {
49
+ return this.ah;
50
+ },
51
+ set: function (a) {
52
+ var b = this.ah;
53
+ this.ah = a;
54
+ if (this.ah != b) {
55
+ this.ao("PropertyPath", b, a);
56
+ }
57
+ },
58
+ enumerable: true,
59
+ configurable: true
60
+ });
61
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "aj", {
62
+ get: function () {
63
+ return this.af;
64
+ },
65
+ set: function (a) {
66
+ var b = this.af;
67
+ this.af = a;
68
+ if (this.af != b) {
69
+ this.ao("Label", b, a);
70
+ }
71
+ },
72
+ enumerable: true,
73
+ configurable: true
74
+ });
75
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "n", {
76
+ get: function () {
77
+ return this.m;
78
+ },
79
+ set: function (a) {
80
+ var b = this.m;
81
+ this.m = a;
82
+ if (this.m != b) {
83
+ this.ao("ValueType", enumGetBox(PropertyEditorValueType_$type, b), enumGetBox(PropertyEditorValueType_$type, a));
84
+ }
85
+ },
86
+ enumerable: true,
87
+ configurable: true
88
+ });
89
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "ak", {
90
+ get: function () {
91
+ return this.ag;
92
+ },
93
+ set: function (a) {
94
+ var b = this.ag;
95
+ this.ag = a;
96
+ if (this.ag != b) {
97
+ this.ao("PropertyDescriptionType", b, a);
98
+ }
99
+ },
100
+ enumerable: true,
101
+ configurable: true
102
+ });
103
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "q", {
104
+ get: function () {
105
+ return this.o;
106
+ },
107
+ set: function (a) {
108
+ var b = this.o;
109
+ this.o = a;
110
+ if (this.o != b) {
111
+ this.ao("ShouldOverrideDefaultEditor", b, a);
112
+ }
113
+ },
114
+ enumerable: true,
115
+ configurable: true
116
+ });
117
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "ai", {
118
+ get: function () {
119
+ return this.ae;
120
+ },
121
+ set: function (a) {
122
+ var b = this.ae;
123
+ this.ae = a;
124
+ if (this.ae != b) {
125
+ this.ao("ElementDescriptionType", b, a);
126
+ }
127
+ },
128
+ enumerable: true,
129
+ configurable: true
130
+ });
131
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "c", {
132
+ get: function () {
133
+ return this.a;
134
+ },
135
+ set: function (a) {
136
+ var b = this.a;
137
+ this.a = a;
138
+ if (this.a != b) {
139
+ this.ao("DropDownNames", b, a);
140
+ }
141
+ },
142
+ enumerable: true,
143
+ configurable: true
144
+ });
145
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "d", {
146
+ get: function () {
147
+ return this.b;
148
+ },
149
+ set: function (a) {
150
+ var b = this.b;
151
+ this.b = a;
152
+ if (this.b != b) {
153
+ this.ao("DropDownValues", b, a);
154
+ }
155
+ },
156
+ enumerable: true,
157
+ configurable: true
158
+ });
159
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "ad", {
160
+ get: function () {
161
+ return this.ab;
162
+ },
163
+ set: function (a) {
164
+ var b = this.ab;
165
+ this.ab = a;
166
+ if (this.ab != b) {
167
+ this.ao("PrimitiveValue", b, a);
168
+ }
169
+ },
170
+ enumerable: true,
171
+ configurable: true
172
+ });
173
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "z", {
174
+ get: function () {
175
+ return this.u;
176
+ },
177
+ set: function (a) {
178
+ var b = this.u;
179
+ this.u = a;
180
+ if (this.u != b) {
181
+ this.ao("Min", b, a);
182
+ }
183
+ },
184
+ enumerable: true,
185
+ configurable: true
186
+ });
187
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "w", {
188
+ get: function () {
189
+ return this.r;
190
+ },
191
+ set: function (a) {
192
+ var b = this.r;
193
+ this.r = a;
194
+ if (this.r != b) {
195
+ this.ao("EditorWidth", b, a);
196
+ }
197
+ },
198
+ enumerable: true,
199
+ configurable: true
200
+ });
201
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "x", {
202
+ get: function () {
203
+ return this.s;
204
+ },
205
+ set: function (a) {
206
+ var b = this.s;
207
+ this.s = a;
208
+ if (this.s != b) {
209
+ this.ao("LabelWidth", b, a);
210
+ }
211
+ },
212
+ enumerable: true,
213
+ configurable: true
214
+ });
215
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "y", {
216
+ get: function () {
217
+ return this.t;
218
+ },
219
+ set: function (a) {
220
+ var b = this.t;
221
+ this.t = a;
222
+ if (this.t != b) {
223
+ this.ao("Max", b, a);
224
+ }
225
+ },
226
+ enumerable: true,
227
+ configurable: true
228
+ });
229
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "aa", {
230
+ get: function () {
231
+ return this.v;
232
+ },
233
+ set: function (a) {
234
+ var b = this.v;
235
+ this.v = a;
236
+ if (this.v != b) {
237
+ this.ao("Step", b, a);
238
+ }
239
+ },
240
+ enumerable: true,
241
+ configurable: true
242
+ });
243
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "g", {
244
+ get: function () {
245
+ return this.f;
246
+ },
247
+ set: function (a) {
248
+ var b = this.f;
249
+ this.f = a;
250
+ if (this.f != b) {
251
+ this.ao("ComplexValue", b, a);
252
+ }
253
+ },
254
+ enumerable: true,
255
+ configurable: true
256
+ });
257
+ Object.defineProperty(PropertyEditorPropertyDescription.prototype, "i", {
258
+ get: function () {
259
+ return this.h;
260
+ },
261
+ set: function (a) {
262
+ var b = this.h;
263
+ this.h = a;
264
+ if (this.h != b) {
265
+ this.ao("ComplexValues", b, a);
266
+ }
267
+ },
268
+ enumerable: true,
269
+ configurable: true
270
+ });
271
+ PropertyEditorPropertyDescription.prototype.ao = function (a, b, c) {
272
+ if (this.propertyChanged != null) {
273
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
274
+ }
275
+ };
276
+ PropertyEditorPropertyDescription.prototype.p = function (a) {
277
+ var b = false;
278
+ if (a == null) {
279
+ return false;
280
+ }
281
+ if (a.c != null && (this.c == null || !this.q)) {
282
+ this.c = a.c;
283
+ }
284
+ if (a.d != null && (this.d == null || !this.q)) {
285
+ this.d = a.d;
286
+ }
287
+ if (a.ai != null && (this.ai == null || !this.q)) {
288
+ this.ai = a.ai;
289
+ }
290
+ if (a.ak != null && (this.ak == null || !this.q)) {
291
+ this.ak = a.ak;
292
+ }
293
+ if (a.n != 0 && (this.n == 0 || !this.q)) {
294
+ this.n = a.n;
295
+ b = true;
296
+ }
297
+ return true;
298
+ };
299
+ PropertyEditorPropertyDescription.prototype.ac = function (a, b) {
300
+ if (b) {
301
+ return this.e;
302
+ }
303
+ if (this.e != null) {
304
+ return this.e.d(a, false);
305
+ }
306
+ return null;
307
+ };
308
+ PropertyEditorPropertyDescription.prototype.an = function () {
309
+ if (this.buttonClicked != null) {
310
+ this.buttonClicked(this, new PropertyEditorPropertyDescriptionButtonClickEventArgs());
311
+ }
312
+ };
313
+ PropertyEditorPropertyDescription.prototype.am = function () {
314
+ var _this = this;
315
+ if (this.changed != null) {
316
+ this.changed(this, ((function () {
317
+ var $ret = new PropertyEditorPropertyDescriptionChangedEventArgs();
318
+ $ret.newValue = _this.ad;
319
+ return $ret;
320
+ })()));
321
+ }
322
+ };
323
+ PropertyEditorPropertyDescription.prototype.ap = function (a, b, c) {
324
+ if (this.targetPropertyUpdating != null) {
325
+ this.targetPropertyUpdating(this, ((function () {
326
+ var $ret = new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
327
+ $ret.propertyPath = a;
328
+ $ret.target = b;
329
+ $ret.value = c;
330
+ return $ret;
331
+ })()));
332
+ }
333
+ };
334
+ PropertyEditorPropertyDescription.$t = markType(PropertyEditorPropertyDescription, 'PropertyEditorPropertyDescription', Base.$, [INotifyPropertyChanged_$type]);
335
+ return PropertyEditorPropertyDescription;
336
+ }(Base));
337
+ export { PropertyEditorPropertyDescription };
338
+ /**
339
+ * @hidden
340
+ */
341
+ var PropertyEditorPropertyDescriptionCollection = /** @class */ /*@__PURE__*/ (function (_super) {
342
+ tslib_1.__extends(PropertyEditorPropertyDescriptionCollection, _super);
343
+ function PropertyEditorPropertyDescriptionCollection() {
344
+ return _super.call(this, PropertyEditorPropertyDescription.$, 0) || this;
345
+ }
346
+ PropertyEditorPropertyDescriptionCollection.$t = markType(PropertyEditorPropertyDescriptionCollection, 'PropertyEditorPropertyDescriptionCollection', ObservableCollection$1.$.specialize(PropertyEditorPropertyDescription.$));
347
+ return PropertyEditorPropertyDescriptionCollection;
348
+ }(ObservableCollection$1));
349
+ export { PropertyEditorPropertyDescriptionCollection };
350
+ /**
351
+ * @hidden
352
+ */
353
+ var PropertyEditorDataSource = /** @class */ /*@__PURE__*/ (function (_super) {
354
+ tslib_1.__extends(PropertyEditorDataSource, _super);
355
+ function PropertyEditorDataSource() {
356
+ var _this = _super !== null && _super.apply(this, arguments) || this;
357
+ _this.i = null;
358
+ _this.a = null;
359
+ _this.f = null;
360
+ _this.propertyChanged = null;
361
+ return _this;
362
+ }
363
+ Object.defineProperty(PropertyEditorDataSource.prototype, "l", {
364
+ get: function () {
365
+ return this.i;
366
+ },
367
+ set: function (a) {
368
+ var b = this.i;
369
+ this.i = a;
370
+ this.n("DescriptionType", b, this.i);
371
+ },
372
+ enumerable: true,
373
+ configurable: true
374
+ });
375
+ Object.defineProperty(PropertyEditorDataSource.prototype, "b", {
376
+ get: function () {
377
+ return this.a;
378
+ },
379
+ set: function (a) {
380
+ var b = this.a;
381
+ this.a = a;
382
+ this.n("Context", b, this.a);
383
+ },
384
+ enumerable: true,
385
+ configurable: true
386
+ });
387
+ Object.defineProperty(PropertyEditorDataSource.prototype, "g", {
388
+ get: function () {
389
+ return this.f;
390
+ },
391
+ set: function (a) {
392
+ var b = this.f;
393
+ this.f = a;
394
+ this.n("Data", b, this.f);
395
+ },
396
+ enumerable: true,
397
+ configurable: true
398
+ });
399
+ PropertyEditorDataSource.prototype.n = function (a, b, c) {
400
+ if (this.propertyChanged != null) {
401
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
402
+ }
403
+ this.o(a, b, c);
404
+ };
405
+ PropertyEditorDataSource.prototype.o = function (a, b, c) {
406
+ switch (a) {
407
+ case "DescriptionType":
408
+ this.p();
409
+ break;
410
+ case "Context":
411
+ this.p();
412
+ break;
413
+ }
414
+ };
415
+ PropertyEditorDataSource.prototype.e = function (a) {
416
+ var _this = this;
417
+ var b = new PropertyEditorPropertyDescription();
418
+ b.al = a.propertyName;
419
+ b.n = this.h(a);
420
+ b.ak = a.specificExternalType != null ? a.specificExternalType : a.specificType;
421
+ if (a.knownType == 9) {
422
+ b.ai = a.collectionElementType;
423
+ b.e = ((function () {
424
+ var $ret = new PropertyEditorDataSource();
425
+ $ret.b = _this.a;
426
+ $ret.l = b.ai;
427
+ return $ret;
428
+ })());
429
+ }
430
+ if (b.n == 8) {
431
+ b.e = ((function () {
432
+ var $ret = new PropertyEditorDataSource();
433
+ $ret.b = _this.a;
434
+ $ret.l = b.ak;
435
+ return $ret;
436
+ })());
437
+ }
438
+ if (b.n == 15) {
439
+ b.c = this.a.c(this.l, b.al);
440
+ b.d = b.d;
441
+ }
442
+ return b;
443
+ };
444
+ PropertyEditorDataSource.prototype.h = function (a) {
445
+ switch (a.knownType) {
446
+ case 10: return 10;
447
+ case 7: return 7;
448
+ case 4: return 4;
449
+ case 6: return 6;
450
+ case 9: return 9;
451
+ case 5: return 5;
452
+ case 16: return 14;
453
+ case 20: return 18;
454
+ case 15: return 0;
455
+ case 3: return 3;
456
+ case 19: return 17;
457
+ case 8:
458
+ if (a.specificExternalType == "string") {
459
+ return 15;
460
+ }
461
+ return 8;
462
+ case 13: return 0;
463
+ case 18: return 0;
464
+ case 1: return 1;
465
+ case 11: return 11;
466
+ case 14: return 13;
467
+ case 12: return 12;
468
+ case 2: return 2;
469
+ case 21: return 19;
470
+ case 17: return 0;
471
+ case 0: return 0;
472
+ }
473
+ return 0;
474
+ };
475
+ PropertyEditorDataSource.prototype.p = function () {
476
+ var a = new PropertyEditorPropertyDescriptionCollection();
477
+ if (this.l != null && this.b != null) {
478
+ var b = this.b.b(this.l);
479
+ if (b == null) {
480
+ return;
481
+ }
482
+ for (var c = 0; c < b.length; c++) {
483
+ if (stringEndsWith(b[c], "@names")) {
484
+ continue;
485
+ }
486
+ if (stringEndsWith(b[c], "@nameBinding")) {
487
+ continue;
488
+ }
489
+ var d = this.b.getMetadata(this.l, b[c]);
490
+ var e = this.e(d);
491
+ if (e.n == 0) {
492
+ continue;
493
+ }
494
+ a.add(e);
495
+ }
496
+ }
497
+ this.g = a;
498
+ };
499
+ PropertyEditorDataSource.prototype.d = function (a, b) {
500
+ if (a == null) {
501
+ return null;
502
+ }
503
+ var c = stringSplit(a, ['.', '['], 0);
504
+ var d = new List$1(String_$type, 1, c);
505
+ var e = null;
506
+ var f = null;
507
+ var g = null;
508
+ while (d.count > 0) {
509
+ var h = d._inner[0];
510
+ d.removeAt(0);
511
+ var i = false;
512
+ if (stringContains(h, "]")) {
513
+ h = stringReplace(h, "]", "");
514
+ i = true;
515
+ var j = h.split(',');
516
+ h = j[0].trim();
517
+ if (stringContains(h, "as")) {
518
+ var k = h.indexOf("as");
519
+ g = h.substr(0, k).trim();
520
+ f = h.substr(k + 2).trim();
521
+ }
522
+ if (f != null && f != this.l) {
523
+ var l = this.c();
524
+ l.l = f;
525
+ e = l;
526
+ continue;
527
+ }
528
+ }
529
+ if (b) {
530
+ i = true;
531
+ }
532
+ if (e != null && typeCast(PropertyEditorPropertyDescription.$, e) !== null) {
533
+ var m = e.ac(h, i);
534
+ if (m == null) {
535
+ return null;
536
+ }
537
+ e = m;
538
+ }
539
+ else {
540
+ if (e != null) {
541
+ var n = e;
542
+ var o = n.d(h, i);
543
+ if (o == null) {
544
+ return null;
545
+ }
546
+ e = o;
547
+ }
548
+ else {
549
+ if (this.g == null) {
550
+ return null;
551
+ }
552
+ for (var p = 0; p < this.g.count; p++) {
553
+ if (Base.equalsStatic(this.g._inner[p].al, h)) {
554
+ e = this.g._inner[p];
555
+ break;
556
+ }
557
+ }
558
+ if (e == null) {
559
+ return null;
560
+ }
561
+ }
562
+ }
563
+ }
564
+ return typeCast(PropertyEditorPropertyDescription.$, e);
565
+ };
566
+ PropertyEditorDataSource.prototype.c = function () {
567
+ var _this = this;
568
+ return ((function () {
569
+ var $ret = new PropertyEditorDataSource();
570
+ $ret.b = _this.b;
571
+ $ret.l = _this.l;
572
+ return $ret;
573
+ })());
574
+ };
575
+ PropertyEditorDataSource.$t = markType(PropertyEditorDataSource, 'PropertyEditorDataSource', Base.$, [INotifyPropertyChanged_$type]);
576
+ return PropertyEditorDataSource;
577
+ }(Base));
578
+ export { PropertyEditorDataSource };
579
+ /**
580
+ * @hidden
581
+ */
582
+ var PropertyEditorDescriptionObject = /** @class */ /*@__PURE__*/ (function (_super) {
583
+ tslib_1.__extends(PropertyEditorDescriptionObject, _super);
584
+ function PropertyEditorDescriptionObject() {
585
+ var _this = _super !== null && _super.apply(this, arguments) || this;
586
+ _this.b = null;
587
+ _this.a = null;
588
+ return _this;
589
+ }
590
+ PropertyEditorDescriptionObject.$t = markType(PropertyEditorDescriptionObject, 'PropertyEditorDescriptionObject');
591
+ return PropertyEditorDescriptionObject;
592
+ }(Base));
593
+ export { PropertyEditorDescriptionObject };
594
+ /**
595
+ * @hidden
596
+ */
597
+ var PropertyEditorDescriptionObjectCollection = /** @class */ /*@__PURE__*/ (function (_super) {
598
+ tslib_1.__extends(PropertyEditorDescriptionObjectCollection, _super);
599
+ function PropertyEditorDescriptionObjectCollection() {
600
+ return _super.call(this, PropertyEditorDescriptionObject.$, 0) || this;
601
+ }
602
+ PropertyEditorDescriptionObjectCollection.$t = markType(PropertyEditorDescriptionObjectCollection, 'PropertyEditorDescriptionObjectCollection', ObservableCollection$1.$.specialize(PropertyEditorDescriptionObject.$));
603
+ return PropertyEditorDescriptionObjectCollection;
604
+ }(ObservableCollection$1));
605
+ export { PropertyEditorDescriptionObjectCollection };