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
@@ -75,10 +75,10 @@ export let ListPanelView = /*@__PURE__*/ (() => {
75
75
  this.e = new RenderingContext(new CanvasViewRenderer(), this.i.get2DCanvasContext(this.l));
76
76
  this.k = this.i.createElement("div");
77
77
  this.y();
78
- NativeUIComponent.aa(this.p(), 9, (b) => {
78
+ NativeUIComponent.ad(this.p(), 9, (b) => {
79
79
  let c = b;
80
80
  this.a.bv(c);
81
- this.i.append(c.v);
81
+ this.i.append(c.x);
82
82
  });
83
83
  let b = Math.round(a.rootWrapper.width());
84
84
  let c = Math.round(a.rootWrapper.height());
@@ -97,6 +97,7 @@ export let ListPanelView = /*@__PURE__*/ (() => {
97
97
  let a = this.i.rootWrapper.width();
98
98
  let b = this.i.rootWrapper.height();
99
99
  this.aa = new Size(1, a, b);
100
+ this.a.cd(this.aa);
100
101
  if (this.a.u != null) {
101
102
  this.a.cp();
102
103
  }
@@ -186,7 +187,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
186
187
  this.i = ListPanel.j;
187
188
  this.aa = ListPanel.af;
188
189
  this.cr = ListPanel.cu;
189
- NativeUIInputsFactory.m();
190
+ NativeUIInputsFactory.n();
190
191
  let a = new ListPanelView();
191
192
  a.a = this;
192
193
  this.o = a;
@@ -304,6 +305,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
304
305
  }
305
306
  }
306
307
  cl() {
308
+ if (this.actualDataSource == null) {
309
+ return;
310
+ }
307
311
  for (let a = 0; a < this.p.o.count; a++) {
308
312
  if (this.p.p._inner[a]) {
309
313
  continue;
@@ -338,7 +342,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
338
342
  let $ret = new ListPanelTemplateItemUpdatingEventArgs();
339
343
  $ret.a = a;
340
344
  $ret.b = a.a.a;
341
- $ret.c = a.a.a.v;
345
+ $ret.c = a.a.a.x;
342
346
  return $ret;
343
347
  })()));
344
348
  }
@@ -348,13 +352,13 @@ export let ListPanel = /*@__PURE__*/ (() => {
348
352
  return;
349
353
  }
350
354
  a.a = new ListPanelItemPresenter();
351
- NativeUIComponent.ac(this.o.p(), 0, (b) => {
355
+ NativeUIComponent.ah(this.o.p(), 0, (b) => {
352
356
  let c = b;
353
357
  if (this.k == 0) {
354
- c.d = 3;
358
+ c.f = 3;
355
359
  }
356
360
  else {
357
- c.d = 0;
361
+ c.f = 0;
358
362
  }
359
363
  a.a.a = c;
360
364
  });
@@ -367,6 +371,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
367
371
  this.bu();
368
372
  this.ay = this.a5();
369
373
  this.az = this.a6();
374
+ if (this.ay == -1 || this.az == -1) {
375
+ return;
376
+ }
370
377
  let a = new List$1(Number_$type, 0);
371
378
  for (let b = 0; b < this.q.o.count; b++) {
372
379
  if (this.q.p._inner[b]) {
@@ -456,7 +463,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
456
463
  this.al.clear();
457
464
  this.am.clear();
458
465
  this.an.clear();
459
- if (this.actualDataSource != null || this.actualDataSource.actualSchema != null) {
466
+ if (this.actualDataSource != null && this.actualDataSource.actualSchema != null) {
460
467
  let a = this.ap;
461
468
  let b = isNaN_(this.aq) ? 0 : this.aq;
462
469
  if (this.k == 0) {
@@ -590,6 +597,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
590
597
  this.cn();
591
598
  }
592
599
  ci() {
600
+ if (this.actualDataSource == null) {
601
+ return;
602
+ }
593
603
  for (let a = 0; a < this.q.q.count; a++) {
594
604
  if (this.q.p._inner[a]) {
595
605
  continue;
@@ -600,6 +610,9 @@ export let ListPanel = /*@__PURE__*/ (() => {
600
610
  }
601
611
  }
602
612
  cj(a) {
613
+ if (this.actualDataSource == null) {
614
+ return;
615
+ }
603
616
  if (this.q.d(a)) {
604
617
  let b = this.q.item(a);
605
618
  b.n = this.actualDataSource.getItemAtIndex(b.l);
@@ -696,7 +709,7 @@ export let ListPanel = /*@__PURE__*/ (() => {
696
709
  }
697
710
  let f = this.q.o._inner[e];
698
711
  let g = this.q.q._inner[e];
699
- let h = g.a.a.ap(c);
712
+ let h = g.a.a.au(c);
700
713
  d = Math.max(d, h.width);
701
714
  }
702
715
  }
@@ -940,31 +953,31 @@ export let ListPanelLayoutPanel = /*@__PURE__*/ (() => {
940
953
  this.a = a;
941
954
  }
942
955
  d(a) {
943
- this.a.n = a.width;
944
- this.a.h = a.height;
956
+ this.a.p = a.width;
957
+ this.a.j = a.height;
945
958
  }
946
959
  b(a, b) {
947
960
  if (!b.d) {
948
961
  b.d = true;
949
- this.a.aw(b.a.a);
962
+ this.a.a1(b.a.a);
950
963
  }
951
964
  if (a.k == 0) {
952
965
  if (!isNaN_(a.au)) {
953
- b.a.a.n = a.au;
966
+ b.a.a.p = a.au;
954
967
  }
955
968
  }
956
969
  else {
957
- b.a.a.h = a.at;
970
+ b.a.a.j = a.at;
958
971
  }
959
972
  if (b.f) {
960
973
  b.f = false;
961
- this.a.a2(b.a.a, b.i);
962
- this.a.a3(b.a.a, b.k);
974
+ this.a.a8(b.a.a, b.i);
975
+ this.a.a9(b.a.a, b.k);
963
976
  }
964
977
  }
965
978
  c(a) {
966
- this.a.a3(a, -1000);
967
- this.a.a2(a, -1000);
979
+ this.a.a9(a, -1000);
980
+ this.a.a8(a, -1000);
968
981
  }
969
982
  }
970
983
  ListPanelLayoutPanel.$t = /*@__PURE__*/ markType(ListPanelLayoutPanel, 'ListPanelLayoutPanel');