igniteui-webcomponents-layouts 4.0.4 → 4.2.3-alpha

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 (83) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +1495 -2681
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ListPanelView_combined.js +31 -18
  4. package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
  5. package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +127 -116
  6. package/esm2015/lib/ToolActionButton.js +1 -91
  7. package/esm2015/lib/ToolPanelView_combined.js +862 -692
  8. package/esm2015/lib/ToolbarView_combined.js +123 -96
  9. package/esm2015/lib/igc-property-editor-property-description-component.js +66 -31
  10. package/esm2015/lib/igc-tool-action-component.js +42 -31
  11. package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
  12. package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
  13. package/esm2015/lib/igc-tool-panel-component.js +21 -10
  14. package/esm2015/lib/igc-toolbar-component.js +23 -12
  15. package/esm2015/public_api.js +0 -13
  16. package/esm5/lib/ListPanelView_combined.js +31 -18
  17. package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
  18. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +131 -116
  19. package/esm5/lib/ToolActionButton.js +1 -94
  20. package/esm5/lib/ToolPanelView_combined.js +877 -693
  21. package/esm5/lib/ToolbarView_combined.js +123 -92
  22. package/esm5/lib/igc-property-editor-property-description-component.js +70 -31
  23. package/esm5/lib/igc-tool-action-component.js +46 -31
  24. package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
  25. package/esm5/lib/igc-tool-action-radio-component.js +6 -3
  26. package/esm5/lib/igc-tool-panel-component.js +25 -10
  27. package/esm5/lib/igc-toolbar-component.js +27 -12
  28. package/esm5/public_api.js +0 -13
  29. package/fesm2015/igniteui-webcomponents-layouts.js +1460 -2516
  30. package/fesm5/igniteui-webcomponents-layouts.js +1493 -2663
  31. package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
  32. package/lib/ToolActionButton.d.ts +1 -23
  33. package/lib/ToolPanelView_combined.d.ts +172 -146
  34. package/lib/ToolbarView_combined.d.ts +33 -28
  35. package/lib/igc-property-editor-property-description-component.d.ts +3 -0
  36. package/lib/igc-tool-action-component.d.ts +5 -0
  37. package/lib/igc-tool-action-radio-component.d.ts +4 -1
  38. package/lib/igc-tool-panel-component.d.ts +5 -0
  39. package/lib/igc-toolbar-component.d.ts +5 -0
  40. package/package.json +3 -3
  41. package/public_api.d.ts +0 -13
  42. package/esm2015/lib/OnClosedEventArgs.js +0 -16
  43. package/esm2015/lib/OnPopupEventArgs.js +0 -16
  44. package/esm2015/lib/Popup.js +0 -7
  45. package/esm2015/lib/PopupAlignment.js +0 -29
  46. package/esm2015/lib/PopupDirection.js +0 -29
  47. package/esm2015/lib/PopupView.js +0 -7
  48. package/esm2015/lib/PopupView_combined.js +0 -647
  49. package/esm2015/lib/PopupVisualModelExport.js +0 -36
  50. package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
  51. package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
  52. package/esm2015/lib/igc-on-closed-event-args.js +0 -24
  53. package/esm2015/lib/igc-on-popup-event-args.js +0 -24
  54. package/esm2015/lib/igc-popup-component.js +0 -388
  55. package/esm2015/lib/igc-popup-module.js +0 -19
  56. package/esm5/lib/OnClosedEventArgs.js +0 -20
  57. package/esm5/lib/OnPopupEventArgs.js +0 -20
  58. package/esm5/lib/Popup.js +0 -7
  59. package/esm5/lib/PopupAlignment.js +0 -29
  60. package/esm5/lib/PopupDirection.js +0 -29
  61. package/esm5/lib/PopupView.js +0 -7
  62. package/esm5/lib/PopupView_combined.js +0 -700
  63. package/esm5/lib/PopupVisualModelExport.js +0 -38
  64. package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
  65. package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
  66. package/esm5/lib/igc-on-closed-event-args.js +0 -30
  67. package/esm5/lib/igc-on-popup-event-args.js +0 -30
  68. package/esm5/lib/igc-popup-component.js +0 -473
  69. package/esm5/lib/igc-popup-module.js +0 -23
  70. package/lib/OnClosedEventArgs.d.ts +0 -7
  71. package/lib/OnPopupEventArgs.d.ts +0 -7
  72. package/lib/Popup.d.ts +0 -1
  73. package/lib/PopupAlignment.d.ts +0 -22
  74. package/lib/PopupDirection.d.ts +0 -22
  75. package/lib/PopupView.d.ts +0 -1
  76. package/lib/PopupView_combined.d.ts +0 -126
  77. package/lib/PopupVisualModelExport.d.ts +0 -14
  78. package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
  79. package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
  80. package/lib/igc-on-closed-event-args.d.ts +0 -12
  81. package/lib/igc-on-popup-event-args.d.ts +0 -12
  82. package/lib/igc-popup-component.d.ts +0 -110
  83. package/lib/igc-popup-module.d.ts +0 -3
@@ -15,11 +15,13 @@ import { Size } from "igniteui-webcomponents-core";
15
15
  import { NativeUI } from "igniteui-webcomponents-core";
16
16
  import { FontUtil } from "igniteui-webcomponents-core";
17
17
  import { SRProvider } from "igniteui-webcomponents-core";
18
+ import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
18
19
  import { ToolActionCollection } from "./ToolActionCollection";
19
20
  import { ToolbarOrientation_$type } from "./ToolbarOrientation";
20
21
  import { ToolbarIconManager } from "./ToolbarIconManager";
21
22
  import { ToolAction } from "./ToolAction";
22
23
  import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
24
+ import { NativeUIXInputsFactory } from "igniteui-webcomponents-inputs";
23
25
  import { BrushUtil } from "igniteui-webcomponents-core";
24
26
  /**
25
27
  * @hidden
@@ -75,7 +77,7 @@ var ToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
75
77
  var d = this.i.getSubRenderer(c);
76
78
  b.provideContainer(d);
77
79
  var e = this.i.getExternal(b, this.i.rootWrapper, this.i.getExternal(this.a, null, null));
78
- this.a.am(b);
80
+ this.a.aq(b);
79
81
  var f = Math.round(a.rootWrapper.width());
80
82
  var g = Math.round(a.rootWrapper.height());
81
83
  this.i.rootWrapper.setStyleProperty("position", "relative");
@@ -93,6 +95,7 @@ var ToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
93
95
  var a = this.i.rootWrapper.width();
94
96
  var b = this.i.rootWrapper.height();
95
97
  this.aa = new Size(1, a, b);
98
+ this.a.at(this.aa);
96
99
  };
97
100
  ToolbarView.prototype.z = function () {
98
101
  var a = this.i;
@@ -101,8 +104,8 @@ var ToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
101
104
  }
102
105
  var b = a.rootWrapper;
103
106
  if (null != b) {
104
- NativeUI.o(b, this.a.a1);
105
- NativeUI.k(b, this.a.ay);
107
+ NativeUI.o(b, this.a.a6);
108
+ NativeUI.k(b, this.a.a3);
106
109
  }
107
110
  };
108
111
  ToolbarView.prototype.d = function () {
@@ -118,7 +121,7 @@ var ToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
118
121
  return this.aa.width;
119
122
  };
120
123
  ToolbarView.prototype.h = function (a) {
121
- this.c = this.a.p();
124
+ this.c = this.a.r();
122
125
  return FontUtil.measureStringWidth(a, this.c, this.e);
123
126
  };
124
127
  ToolbarView.prototype.q = function (a, b) {
@@ -139,55 +142,75 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
139
142
  function Toolbar() {
140
143
  var _this = _super.call(this) || this;
141
144
  _this.k = null;
142
- _this.s = false;
143
- _this.q = null;
145
+ _this.u = false;
146
+ _this.s = null;
144
147
  _this.l = null;
148
+ _this.m = 0;
145
149
  _this.d = new ToolActionCollection();
146
150
  _this.b = new ToolActionCollection();
147
151
  _this.c = new ToolActionCollection();
148
152
  _this.h = Toolbar.i;
149
- _this.m = null;
150
- _this.u = Toolbar.v;
151
- _this.aw = Toolbar.az;
152
- _this.ax = Toolbar.a0;
153
- _this.n = null;
154
- _this.t = false;
153
+ _this.o = null;
154
+ _this.w = Toolbar.x;
155
+ _this.a1 = Toolbar.a4;
156
+ _this.a2 = Toolbar.a5;
157
+ _this.p = null;
158
+ _this.v = false;
155
159
  _this.propertyChanged = null;
156
160
  _this.a = null;
157
161
  ToolbarIconManager.c();
158
162
  var a = _this.actions;
159
- a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.ah));
160
- NativeUIInputsFactory.m();
161
- var b = new ToolbarView();
162
- b.a = _this;
163
- _this.k = b;
163
+ a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.ak));
164
+ var b = _this.actualActions;
165
+ b.collectionChanged = delegateCombine(b.collectionChanged, runOn(_this, _this.am));
166
+ NativeUIInputsFactory.n();
167
+ NativeUIXInputsFactory.h();
168
+ var c = new ToolbarView();
169
+ c.a = _this;
170
+ _this.k = c;
164
171
  _this.k.v();
165
172
  return _this;
166
173
  }
167
- Object.defineProperty(Toolbar.prototype, "r", {
174
+ Object.defineProperty(Toolbar.prototype, "t", {
168
175
  get: function () {
169
- if (this.q == null) {
170
- this.q = new SRProvider(this.k.i);
171
- this.q.cb("Layouts");
176
+ if (this.s == null) {
177
+ this.s = new SRProvider(this.k.i);
178
+ this.s.cb("Layouts");
172
179
  }
173
- return this.q;
180
+ return this.s;
174
181
  },
175
182
  enumerable: true,
176
183
  configurable: true
177
184
  });
178
- Toolbar.prototype.am = function (a) {
185
+ Toolbar.prototype.aq = function (a) {
179
186
  this.l = a;
187
+ this.l.n = this.m;
180
188
  var b = this.l;
181
- b.onCommand = delegateCombine(b.onCommand, runOn(this, this.ag));
189
+ b.onCommand = delegateCombine(b.onCommand, runOn(this, this.aj));
182
190
  this.l.k = this.j;
183
191
  };
184
- Toolbar.prototype.ag = function (a, b) {
185
- if (this.m != null) {
186
- this.m.onToolCommandExecuting(b.a);
192
+ Toolbar.prototype.aj = function (a, b) {
193
+ if (this.o != null) {
194
+ this.o.onToolCommandExecuting(b.a);
187
195
  }
188
196
  };
189
- Toolbar.prototype.ap = function (a) {
197
+ Toolbar.prototype.at = function (a) {
198
+ this.l.notifySizeChanged();
190
199
  };
200
+ Object.defineProperty(Toolbar.prototype, "n", {
201
+ get: function () {
202
+ return this.m;
203
+ },
204
+ set: function (a) {
205
+ var b = this.m;
206
+ this.m = a;
207
+ if (b != this.m) {
208
+ this.au("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
209
+ }
210
+ },
211
+ enumerable: true,
212
+ configurable: true
213
+ });
191
214
  Object.defineProperty(Toolbar.prototype, "autoGeneratedActions", {
192
215
  get: function () {
193
216
  return this.d;
@@ -196,7 +219,7 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
196
219
  var b = this.d;
197
220
  this.d = a;
198
221
  if (b != this.d) {
199
- this.aq("AutoGeneratedActions", b, this.d);
222
+ this.au("AutoGeneratedActions", b, this.d);
200
223
  }
201
224
  },
202
225
  enumerable: true,
@@ -210,7 +233,7 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
210
233
  var b = this.b;
211
234
  this.b = a;
212
235
  if (b != this.b) {
213
- this.aq("Actions", b, this.b);
236
+ this.au("Actions", b, this.b);
214
237
  }
215
238
  },
216
239
  enumerable: true,
@@ -224,7 +247,7 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
224
247
  var b = this.c;
225
248
  this.c = a;
226
249
  if (b != this.c) {
227
- this.aq("ActualActions", b, this.c);
250
+ this.au("ActualActions", b, this.c);
228
251
  }
229
252
  },
230
253
  enumerable: true,
@@ -238,75 +261,75 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
238
261
  var b = this.h;
239
262
  this.h = a;
240
263
  if (b != this.h) {
241
- this.aq("Orientation", enumGetBox(ToolbarOrientation_$type, b), enumGetBox(ToolbarOrientation_$type, a));
264
+ this.au("Orientation", enumGetBox(ToolbarOrientation_$type, b), enumGetBox(ToolbarOrientation_$type, a));
242
265
  }
243
266
  },
244
267
  enumerable: true,
245
268
  configurable: true
246
269
  });
247
- Object.defineProperty(Toolbar.prototype, "w", {
270
+ Object.defineProperty(Toolbar.prototype, "y", {
248
271
  get: function () {
249
- return this.u;
272
+ return this.w;
250
273
  },
251
274
  set: function (a) {
252
- var b = this.u;
253
- this.u = a;
254
- if (b != this.u) {
255
- this.aq("Target", b, a);
275
+ var b = this.w;
276
+ this.w = a;
277
+ if (b != this.w) {
278
+ this.au("Target", b, a);
256
279
  }
257
280
  },
258
281
  enumerable: true,
259
282
  configurable: true
260
283
  });
261
- Object.defineProperty(Toolbar.prototype, "ay", {
284
+ Object.defineProperty(Toolbar.prototype, "a3", {
262
285
  get: function () {
263
- return this.aw;
286
+ return this.a1;
264
287
  },
265
288
  set: function (a) {
266
- var b = this.aw;
267
- this.aw = a;
268
- if (b != this.aw) {
269
- this.aq("BackgroundColor", b, a);
289
+ var b = this.a1;
290
+ this.a1 = a;
291
+ if (b != this.a1) {
292
+ this.au("BackgroundColor", b, a);
270
293
  }
271
294
  },
272
295
  enumerable: true,
273
296
  configurable: true
274
297
  });
275
- Object.defineProperty(Toolbar.prototype, "a1", {
298
+ Object.defineProperty(Toolbar.prototype, "a6", {
276
299
  get: function () {
277
- return this.ax;
300
+ return this.a2;
278
301
  },
279
302
  set: function (a) {
280
- var b = this.ax;
281
- this.ax = a;
282
- if (b != this.ax) {
283
- this.aq("TextColor", b, a);
303
+ var b = this.a2;
304
+ this.a2 = a;
305
+ if (b != this.a2) {
306
+ this.au("TextColor", b, a);
284
307
  }
285
308
  },
286
309
  enumerable: true,
287
310
  configurable: true
288
311
  });
289
- Object.defineProperty(Toolbar.prototype, "o", {
312
+ Object.defineProperty(Toolbar.prototype, "q", {
290
313
  get: function () {
291
- return this.n;
314
+ return this.p;
292
315
  },
293
316
  set: function (a) {
294
- var b = this.n;
295
- this.n = a;
296
- if (b != this.n) {
297
- this.aq("CellTextStyle", b, this.n);
317
+ var b = this.p;
318
+ this.p = a;
319
+ if (b != this.p) {
320
+ this.au("CellTextStyle", b, this.p);
298
321
  }
299
322
  },
300
323
  enumerable: true,
301
324
  configurable: true
302
325
  });
303
- Toolbar.prototype.p = function () {
304
- if (this.o == null) {
326
+ Toolbar.prototype.r = function () {
327
+ if (this.q == null) {
305
328
  return this.k.d();
306
329
  }
307
- return this.o;
330
+ return this.q;
308
331
  };
309
- Toolbar.prototype.ah = function (a, b) {
332
+ Toolbar.prototype.ak = function (a, b) {
310
333
  var e_1, _a, e_2, _b;
311
334
  if (b.oldItems != null) {
312
335
  try {
@@ -314,7 +337,7 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
314
337
  var c = _d.value;
315
338
  if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
316
339
  var d = c;
317
- d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.ai));
340
+ d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.al));
318
341
  }
319
342
  }
320
343
  }
@@ -338,7 +361,7 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
338
361
  var e = _f.value;
339
362
  if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
340
363
  var f = e;
341
- f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.ai));
364
+ f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.al));
342
365
  }
343
366
  }
344
367
  }
@@ -356,32 +379,40 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
356
379
  }
357
380
  }
358
381
  }
359
- this.ao();
382
+ this.as();
360
383
  };
361
- Toolbar.prototype.ai = function (a, b) {
362
- this.ao();
384
+ Toolbar.prototype.am = function (a, b) {
385
+ this.a0();
363
386
  };
364
- Toolbar.prototype.ao = function () {
365
- this.au();
387
+ Toolbar.prototype.a0 = function () {
388
+ for (var a = 0; a < this.actualActions.count; a++) {
389
+ this.actualActions._inner[a].g = this.n;
390
+ }
366
391
  };
367
- Toolbar.prototype.au = function () {
368
- if (this.t) {
392
+ Toolbar.prototype.al = function (a, b) {
393
+ this.as();
394
+ };
395
+ Toolbar.prototype.as = function () {
396
+ this.ay();
397
+ };
398
+ Toolbar.prototype.ay = function () {
399
+ if (this.v) {
369
400
  return;
370
401
  }
371
- this.t = true;
372
- this.a.enqueueAction(runOn(this, this.ak));
402
+ this.v = true;
403
+ this.a.enqueueAction(runOn(this, this.ao));
373
404
  };
374
- Toolbar.prototype.ak = function () {
375
- if (!this.t) {
405
+ Toolbar.prototype.ao = function () {
406
+ if (!this.v) {
376
407
  return;
377
408
  }
378
- this.t = false;
379
- this.av();
409
+ this.v = false;
410
+ this.az();
380
411
  if (this.l.actions != this.actualActions) {
381
412
  this.l.actions = this.actualActions;
382
413
  }
383
414
  };
384
- Toolbar.prototype.av = function () {
415
+ Toolbar.prototype.az = function () {
385
416
  this.actualActions.clear();
386
417
  for (var a = 0; a < this.actions.count; a++) {
387
418
  this.actualActions.add(this.actions._inner[a]);
@@ -390,9 +421,9 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
390
421
  this.actualActions.add(this.autoGeneratedActions._inner[b]);
391
422
  }
392
423
  };
393
- Toolbar.prototype.al = function () {
394
- if (this.t) {
395
- this.ak();
424
+ Toolbar.prototype.ap = function () {
425
+ if (this.v) {
426
+ this.ao();
396
427
  }
397
428
  };
398
429
  Toolbar.prototype.notifySizeChanged = function () {
@@ -404,20 +435,20 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
404
435
  Toolbar.prototype.provideContainer = function (a) {
405
436
  this.k.t(a);
406
437
  };
407
- Toolbar.prototype.aq = function (a, b, c) {
438
+ Toolbar.prototype.au = function (a, b, c) {
408
439
  if (this.propertyChanged != null) {
409
440
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
410
441
  }
411
- this.as(a, b, c);
442
+ this.aw(a, b, c);
412
443
  };
413
- Toolbar.prototype.as = function (a, b, c) {
444
+ Toolbar.prototype.aw = function (a, b, c) {
414
445
  switch (a) {
415
446
  case "CellTextStyle":
416
- this.au();
447
+ this.ay();
417
448
  break;
418
449
  case "BackgroundColor":
419
450
  case "TextColor":
420
- this.au();
451
+ this.ay();
421
452
  break;
422
453
  case "Orientation":
423
454
  if (this.l != null) {
@@ -427,15 +458,15 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
427
458
  case "Target":
428
459
  var d = c;
429
460
  var e = b;
430
- this.ar(e, d);
461
+ this.av(e, d);
431
462
  break;
432
463
  }
433
464
  };
434
- Toolbar.prototype.ar = function (a, b) {
435
- this.m = b;
465
+ Toolbar.prototype.av = function (a, b) {
466
+ this.o = b;
436
467
  if (a != null) {
437
468
  this.autoGeneratedActions.clear();
438
- this.au();
469
+ this.ay();
439
470
  }
440
471
  if (b != null) {
441
472
  this.autoGeneratedActions.clear();
@@ -446,14 +477,14 @@ var Toolbar = /** @class */ /*@__PURE__*/ (function (_super) {
446
477
  this.autoGeneratedActions.add(e);
447
478
  }
448
479
  }
449
- this.au();
480
+ this.ay();
450
481
  }
451
482
  };
452
483
  Toolbar.$t = markType(Toolbar, 'Toolbar', Base.$, [INotifyPropertyChanged_$type]);
453
484
  Toolbar.i = 1;
454
- Toolbar.v = null;
455
- Toolbar.az = BrushUtil.g(255, 248, 248, 248);
456
- Toolbar.a0 = BrushUtil.g(255, 24, 29, 31);
485
+ Toolbar.x = null;
486
+ Toolbar.a4 = BrushUtil.g(255, 248, 248, 248);
487
+ Toolbar.a5 = BrushUtil.g(255, 24, 29, 31);
457
488
  return Toolbar;
458
489
  }(Base));
459
490
  export { Toolbar };
@@ -4,6 +4,7 @@ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
4
4
  import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
5
5
  import { IgcPropertyEditorDescriptionObject } from "./igc-property-editor-description-object";
6
6
  import { IgcPropertyEditorDescriptionObjectCollection } from "./igc-property-editor-description-object-collection";
7
+ import { IgcPropertyEditorPropertyDescriptionCollection } from "./igc-property-editor-property-description-collection";
7
8
  import { IgcPropertyEditorPropertyDescriptionButtonClickEventArgs } from "./igc-property-editor-property-description-button-click-event-args";
8
9
  import { IgcPropertyEditorPropertyDescriptionChangedEventArgs } from "./igc-property-editor-property-description-changed-event-args";
9
10
  import { IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./igc-property-editor-property-description-target-property-updating-event-args";
@@ -14,6 +15,7 @@ import { RegisterElementHelper } from "igniteui-webcomponents-core";
14
15
  import { PropertyEditorDescriptionObjectCollection as PropertyEditorDescriptionObjectCollection_internal } from "./PropertyEditorDescriptionObjectCollection";
15
16
  import { PropertyEditorDescriptionObject } from "./PropertyEditorDescriptionObject";
16
17
  import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
18
+ import { PropertyEditorPropertyDescriptionCollection as PropertyEditorPropertyDescriptionCollection_internal } from "./PropertyEditorPropertyDescriptionCollection";
17
19
  var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
18
20
  tslib_1.__extends(IgcPropertyEditorPropertyDescriptionComponent, _super);
19
21
  function IgcPropertyEditorPropertyDescriptionComponent() {
@@ -23,6 +25,7 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
23
25
  _this._queuedSetAttributes = [];
24
26
  _this._updatingFromAttribute = false;
25
27
  _this._complexValues = null;
28
+ _this._properties = null;
26
29
  _this.__p = null;
27
30
  _this._hasUserValues = new Set();
28
31
  _this._stylingContainer = null;
@@ -155,62 +158,62 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
155
158
  };
156
159
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "propertyPath", {
157
160
  get: function () {
158
- return this.i.al;
161
+ return this.i.an;
159
162
  },
160
163
  set: function (v) {
161
- this.i.al = v;
164
+ this.i.an = v;
162
165
  },
163
166
  enumerable: true,
164
167
  configurable: true
165
168
  });
166
169
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "label", {
167
170
  get: function () {
168
- return this.i.aj;
171
+ return this.i.al;
169
172
  },
170
173
  set: function (v) {
171
- this.i.aj = v;
174
+ this.i.al = v;
172
175
  },
173
176
  enumerable: true,
174
177
  configurable: true
175
178
  });
176
179
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "valueType", {
177
180
  get: function () {
178
- return this.i.n;
181
+ return this.i.p;
179
182
  },
180
183
  set: function (v) {
181
- this.i.n = ensureEnum(PropertyEditorValueType_$type, v);
182
- this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.n));
184
+ this.i.p = ensureEnum(PropertyEditorValueType_$type, v);
185
+ this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.p));
183
186
  },
184
187
  enumerable: true,
185
188
  configurable: true
186
189
  });
187
190
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "propertyDescriptionType", {
188
191
  get: function () {
189
- return this.i.ak;
192
+ return this.i.am;
190
193
  },
191
194
  set: function (v) {
192
- this.i.ak = v;
195
+ this.i.am = v;
193
196
  },
194
197
  enumerable: true,
195
198
  configurable: true
196
199
  });
197
200
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "shouldOverrideDefaultEditor", {
198
201
  get: function () {
199
- return this.i.q;
202
+ return this.i.s;
200
203
  },
201
204
  set: function (v) {
202
- this.i.q = ensureBool(v);
203
- this._a("shouldOverrideDefaultEditor", this.i.q);
205
+ this.i.s = ensureBool(v);
206
+ this._a("shouldOverrideDefaultEditor", this.i.s);
204
207
  },
205
208
  enumerable: true,
206
209
  configurable: true
207
210
  });
208
211
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "elementDescriptionType", {
209
212
  get: function () {
210
- return this.i.ai;
213
+ return this.i.ak;
211
214
  },
212
215
  set: function (v) {
213
- this.i.ai = v;
216
+ this.i.ak = v;
214
217
  },
215
218
  enumerable: true,
216
219
  configurable: true
@@ -245,65 +248,65 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
245
248
  });
246
249
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "primitiveValue", {
247
250
  get: function () {
248
- return this.i.ad;
251
+ return this.i.af;
249
252
  },
250
253
  set: function (v) {
251
- this.i.ad = v;
254
+ this.i.af = v;
252
255
  },
253
256
  enumerable: true,
254
257
  configurable: true
255
258
  });
256
259
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "min", {
257
260
  get: function () {
258
- return this.i.z;
261
+ return this.i.ab;
259
262
  },
260
263
  set: function (v) {
261
- this.i.z = +v;
262
- this._a("min", this.i.z);
264
+ this.i.ab = +v;
265
+ this._a("min", this.i.ab);
263
266
  },
264
267
  enumerable: true,
265
268
  configurable: true
266
269
  });
267
270
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "editorWidth", {
268
271
  get: function () {
269
- return this.i.w;
272
+ return this.i.y;
270
273
  },
271
274
  set: function (v) {
272
- this.i.w = +v;
273
- this._a("editorWidth", this.i.w);
275
+ this.i.y = +v;
276
+ this._a("editorWidth", this.i.y);
274
277
  },
275
278
  enumerable: true,
276
279
  configurable: true
277
280
  });
278
281
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "labelWidth", {
279
282
  get: function () {
280
- return this.i.x;
283
+ return this.i.z;
281
284
  },
282
285
  set: function (v) {
283
- this.i.x = +v;
284
- this._a("labelWidth", this.i.x);
286
+ this.i.z = +v;
287
+ this._a("labelWidth", this.i.z);
285
288
  },
286
289
  enumerable: true,
287
290
  configurable: true
288
291
  });
289
292
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "max", {
290
293
  get: function () {
291
- return this.i.y;
294
+ return this.i.aa;
292
295
  },
293
296
  set: function (v) {
294
- this.i.y = +v;
295
- this._a("max", this.i.y);
297
+ this.i.aa = +v;
298
+ this._a("max", this.i.aa);
296
299
  },
297
300
  enumerable: true,
298
301
  configurable: true
299
302
  });
300
303
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "step", {
301
304
  get: function () {
302
- return this.i.aa;
305
+ return this.i.ac;
303
306
  },
304
307
  set: function (v) {
305
- this.i.aa = +v;
306
- this._a("step", this.i.aa);
308
+ this.i.ac = +v;
309
+ this._a("step", this.i.ac);
307
310
  },
308
311
  enumerable: true,
309
312
  configurable: true
@@ -367,6 +370,39 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
367
370
  enumerable: true,
368
371
  configurable: true
369
372
  });
373
+ Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "properties", {
374
+ get: function () {
375
+ if (this._properties === null) {
376
+ var coll = new IgcPropertyEditorPropertyDescriptionCollection();
377
+ var innerColl = this.i.m;
378
+ if (!innerColl) {
379
+ innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
380
+ }
381
+ this._properties = coll._fromInner(innerColl);
382
+ this.i.m = innerColl;
383
+ }
384
+ return this._properties;
385
+ },
386
+ set: function (v) {
387
+ if (this._properties !== null) {
388
+ this._properties._setSyncTarget(null);
389
+ this._properties = null;
390
+ }
391
+ var coll = new IgcPropertyEditorPropertyDescriptionCollection();
392
+ this._properties = coll._fromOuter(v);
393
+ var syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
394
+ var innerColl = this.i.m;
395
+ if (!innerColl) {
396
+ innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
397
+ }
398
+ syncColl._inner = innerColl;
399
+ syncColl.clear();
400
+ this._properties._setSyncTarget(syncColl);
401
+ this.i.m = innerColl;
402
+ },
403
+ enumerable: true,
404
+ configurable: true
405
+ });
370
406
  IgcPropertyEditorPropertyDescriptionComponent.prototype.findByName = function (name) {
371
407
  if (this.findEphemera) {
372
408
  if (name && name.indexOf("@@e:") == 0) {
@@ -379,6 +415,9 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
379
415
  if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
380
416
  return this.complexValues.findByName(name);
381
417
  }
418
+ if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
419
+ return this.properties.findByName(name);
420
+ }
382
421
  return null;
383
422
  };
384
423
  Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "hasUserValues", {