igniteui-webcomponents-layouts 4.0.3 → 4.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 (90) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +1582 -2580
  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 +130 -116
  6. package/{esm5/lib/Popup.js → esm2015/lib/ToolActionButton.js} +1 -1
  7. package/esm2015/lib/ToolPanelView_combined.js +862 -692
  8. package/esm2015/lib/ToolbarView_combined.js +123 -96
  9. package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  10. package/esm2015/lib/igc-property-editor-property-description-component.js +71 -34
  11. package/esm2015/lib/igc-tool-action-button-component.js +63 -0
  12. package/esm2015/lib/{igc-popup-module.js → igc-tool-action-button-module.js} +6 -9
  13. package/esm2015/lib/igc-tool-action-component.js +42 -31
  14. package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
  15. package/esm2015/lib/igc-tool-action-performed-event-args.js +5 -3
  16. package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
  17. package/esm2015/lib/igc-tool-panel-component.js +21 -10
  18. package/esm2015/lib/igc-toolbar-component.js +23 -12
  19. package/esm2015/public_api.js +3 -13
  20. package/esm5/lib/ListPanelView_combined.js +31 -18
  21. package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
  22. package/esm5/lib/PropertyEditorPropertyDescription_combined.js +134 -116
  23. package/esm5/lib/{PopupView.js → ToolActionButton.js} +1 -1
  24. package/esm5/lib/ToolPanelView_combined.js +877 -693
  25. package/esm5/lib/ToolbarView_combined.js +123 -92
  26. package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
  27. package/esm5/lib/igc-property-editor-property-description-component.js +75 -34
  28. package/esm5/lib/igc-tool-action-button-component.js +72 -0
  29. package/esm5/lib/igc-tool-action-button-module.js +20 -0
  30. package/esm5/lib/igc-tool-action-component.js +46 -31
  31. package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
  32. package/esm5/lib/igc-tool-action-performed-event-args.js +5 -3
  33. package/esm5/lib/igc-tool-action-radio-component.js +6 -3
  34. package/esm5/lib/igc-tool-panel-component.js +25 -10
  35. package/esm5/lib/igc-toolbar-component.js +27 -12
  36. package/esm5/public_api.js +3 -13
  37. package/fesm2015/igniteui-webcomponents-layouts.js +1547 -2429
  38. package/fesm5/igniteui-webcomponents-layouts.js +1577 -2562
  39. package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
  40. package/lib/ToolActionButton.d.ts +1 -0
  41. package/lib/ToolPanelView_combined.d.ts +172 -146
  42. package/lib/ToolbarView_combined.d.ts +33 -28
  43. package/lib/igc-property-editor-property-description-component.d.ts +3 -0
  44. package/lib/igc-tool-action-button-component.d.ts +17 -0
  45. package/lib/igc-tool-action-button-module.d.ts +3 -0
  46. package/lib/igc-tool-action-component.d.ts +5 -0
  47. package/lib/igc-tool-action-radio-component.d.ts +4 -1
  48. package/lib/igc-tool-panel-component.d.ts +5 -0
  49. package/lib/igc-toolbar-component.d.ts +5 -0
  50. package/package.json +3 -3
  51. package/public_api.d.ts +3 -13
  52. package/esm2015/lib/OnClosedEventArgs.js +0 -16
  53. package/esm2015/lib/OnPopupEventArgs.js +0 -16
  54. package/esm2015/lib/Popup.js +0 -7
  55. package/esm2015/lib/PopupAlignment.js +0 -29
  56. package/esm2015/lib/PopupDirection.js +0 -29
  57. package/esm2015/lib/PopupView.js +0 -7
  58. package/esm2015/lib/PopupView_combined.js +0 -647
  59. package/esm2015/lib/PopupVisualModelExport.js +0 -36
  60. package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
  61. package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
  62. package/esm2015/lib/igc-on-closed-event-args.js +0 -24
  63. package/esm2015/lib/igc-on-popup-event-args.js +0 -24
  64. package/esm2015/lib/igc-popup-component.js +0 -388
  65. package/esm5/lib/OnClosedEventArgs.js +0 -20
  66. package/esm5/lib/OnPopupEventArgs.js +0 -20
  67. package/esm5/lib/PopupAlignment.js +0 -29
  68. package/esm5/lib/PopupDirection.js +0 -29
  69. package/esm5/lib/PopupView_combined.js +0 -700
  70. package/esm5/lib/PopupVisualModelExport.js +0 -38
  71. package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
  72. package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
  73. package/esm5/lib/igc-on-closed-event-args.js +0 -30
  74. package/esm5/lib/igc-on-popup-event-args.js +0 -30
  75. package/esm5/lib/igc-popup-component.js +0 -473
  76. package/esm5/lib/igc-popup-module.js +0 -23
  77. package/lib/OnClosedEventArgs.d.ts +0 -7
  78. package/lib/OnPopupEventArgs.d.ts +0 -7
  79. package/lib/Popup.d.ts +0 -1
  80. package/lib/PopupAlignment.d.ts +0 -22
  81. package/lib/PopupDirection.d.ts +0 -22
  82. package/lib/PopupView.d.ts +0 -1
  83. package/lib/PopupView_combined.d.ts +0 -126
  84. package/lib/PopupVisualModelExport.d.ts +0 -14
  85. package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
  86. package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
  87. package/lib/igc-on-closed-event-args.d.ts +0 -12
  88. package/lib/igc-on-popup-event-args.d.ts +0 -12
  89. package/lib/igc-popup-component.d.ts +0 -110
  90. 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 };
@@ -34,11 +34,13 @@ var IgcListPanelTemplateItemUpdatingEventArgs = /** @class */ /*@__PURE__*/ (fun
34
34
  }
35
35
  if (!r.externalObject) {
36
36
  var e = new IgcListPanelItemModel();
37
- if (e.i.setNativeElement) {
38
- e.i.setNativeElement(r);
37
+ if (r.$type) {
38
+ e._implementation = r;
39
39
  }
40
40
  else {
41
- e._implementation = r;
41
+ if (e.i.setNativeElement) {
42
+ e.i.setNativeElement(r);
43
+ }
42
44
  }
43
45
  r.externalObject = e;
44
46
  }