@wavemaker/app-ng-runtime 11.10.2-rc.203 → 11.10.3-next.25128

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 (170) hide show
  1. package/build-task/bundles/index.umd.js +5 -3
  2. package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
  3. package/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
  4. package/build-task/fesm2022/index.mjs +5 -3
  5. package/build-task/fesm2022/index.mjs.map +1 -1
  6. package/components/basic/default/bundles/index.umd.js +68 -71
  7. package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
  8. package/components/basic/default/esm2022/icon/icon.component.mjs +12 -13
  9. package/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -10
  10. package/components/basic/default/esm2022/picture/picture.directive.mjs +2 -5
  11. package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
  12. package/components/basic/default/esm2022/video/video.component.mjs +14 -15
  13. package/components/basic/default/fesm2022/index.mjs +68 -71
  14. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  15. package/components/basic/progress/bundles/index.umd.js +16 -17
  16. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +7 -8
  17. package/components/basic/progress/fesm2022/index.mjs +8 -9
  18. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  19. package/components/basic/rich-text-editor/bundles/index.umd.js +11 -12
  20. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +8 -9
  21. package/components/basic/rich-text-editor/fesm2022/index.mjs +7 -8
  22. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  23. package/components/basic/search/bundles/index.umd.js +63 -67
  24. package/components/basic/search/esm2022/search.component.mjs +63 -67
  25. package/components/basic/search/esm2022/search.module.mjs +2 -2
  26. package/components/basic/search/fesm2022/index.mjs +63 -67
  27. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  28. package/components/chart/bundles/index.umd.js +17 -17
  29. package/components/chart/esm2022/chart.component.mjs +18 -18
  30. package/components/chart/fesm2022/index.mjs +17 -17
  31. package/components/chart/fesm2022/index.mjs.map +1 -1
  32. package/components/containers/panel/bundles/index.umd.js +39 -39
  33. package/components/containers/panel/esm2022/panel.component.mjs +40 -40
  34. package/components/containers/panel/fesm2022/index.mjs +39 -39
  35. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  36. package/components/containers/tabs/bundles/index.umd.js +29 -29
  37. package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
  38. package/components/containers/tabs/fesm2022/index.mjs +29 -29
  39. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  40. package/components/containers/wizard/bundles/index.umd.js +49 -49
  41. package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
  42. package/components/containers/wizard/fesm2022/index.mjs +49 -49
  43. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  44. package/components/data/card/bundles/index.umd.js +29 -29
  45. package/components/data/card/esm2022/card.component.mjs +30 -30
  46. package/components/data/card/fesm2022/index.mjs +29 -29
  47. package/components/data/card/fesm2022/index.mjs.map +1 -1
  48. package/components/data/form/bundles/index.umd.js +91 -96
  49. package/components/data/form/esm2022/form.component.mjs +92 -97
  50. package/components/data/form/fesm2022/index.mjs +91 -96
  51. package/components/data/form/fesm2022/index.mjs.map +1 -1
  52. package/components/data/list/bundles/index.umd.js +171 -173
  53. package/components/data/list/esm2022/list.component.mjs +171 -173
  54. package/components/data/list/esm2022/list.module.mjs +2 -2
  55. package/components/data/list/fesm2022/index.mjs +171 -173
  56. package/components/data/list/fesm2022/index.mjs.map +1 -1
  57. package/components/data/pagination/bundles/index.umd.js +32 -32
  58. package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
  59. package/components/data/pagination/fesm2022/index.mjs +32 -32
  60. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  61. package/components/data/table/bundles/index.umd.js +69 -39
  62. package/components/data/table/esm2022/table-column/table-column.directive.mjs +2 -1
  63. package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -1
  64. package/components/data/table/esm2022/table-filter.directive.mjs +29 -2
  65. package/components/data/table/esm2022/table.component.mjs +40 -39
  66. package/components/data/table/esm2022/table.props.mjs +2 -1
  67. package/components/data/table/fesm2022/index.mjs +72 -41
  68. package/components/data/table/fesm2022/index.mjs.map +1 -1
  69. package/components/data/table/table-column/table-column.directive.d.ts +1 -0
  70. package/components/data/table/table-filter.directive.d.ts +1 -0
  71. package/components/dialogs/default/bundles/index.umd.js +66 -95
  72. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +67 -96
  73. package/components/dialogs/default/fesm2022/index.mjs +66 -95
  74. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  75. package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
  76. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
  77. package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
  78. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  79. package/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -25
  80. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -16
  81. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +14 -15
  82. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  83. package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
  84. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
  85. package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
  86. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  87. package/components/input/chips/bundles/index.umd.js +21 -21
  88. package/components/input/chips/esm2022/chips.component.mjs +22 -22
  89. package/components/input/chips/fesm2022/index.mjs +21 -21
  90. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  91. package/components/input/default/bundles/index.umd.js +201 -209
  92. package/components/input/default/esm2022/button/button.component.mjs +18 -18
  93. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +68 -69
  94. package/components/input/default/esm2022/radioset/radioset.component.mjs +68 -69
  95. package/components/input/default/esm2022/select/select.component.mjs +21 -27
  96. package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
  97. package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
  98. package/components/input/default/fesm2022/index.mjs +201 -209
  99. package/components/input/default/fesm2022/index.mjs.map +1 -1
  100. package/components/input/epoch/bundles/index.umd.js +171 -164
  101. package/components/input/epoch/esm2022/date/date.component.mjs +14 -15
  102. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +64 -59
  103. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +18 -19
  104. package/components/input/epoch/esm2022/picker/picker.component.mjs +26 -25
  105. package/components/input/epoch/esm2022/time/time.component.mjs +17 -18
  106. package/components/input/epoch/fesm2022/index.mjs +124 -117
  107. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  108. package/components/input/file-upload/bundles/index.umd.js +111 -114
  109. package/components/input/file-upload/esm2022/file-upload.component.mjs +112 -115
  110. package/components/input/file-upload/fesm2022/index.mjs +111 -114
  111. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  112. package/components/input/rating/bundles/index.umd.js +14 -14
  113. package/components/input/rating/esm2022/rating.component.mjs +15 -15
  114. package/components/input/rating/fesm2022/index.mjs +14 -14
  115. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  116. package/components/input/slider/bundles/index.umd.js +39 -40
  117. package/components/input/slider/esm2022/slider.component.mjs +10 -11
  118. package/components/input/slider/fesm2022/index.mjs +9 -10
  119. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  120. package/components/navigation/breadcrumb/bundles/index.umd.js +16 -15
  121. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +17 -16
  122. package/components/navigation/breadcrumb/fesm2022/index.mjs +16 -15
  123. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  124. package/components/navigation/menu/bundles/index.umd.js +82 -74
  125. package/components/navigation/menu/esm2022/menu-adapator.component.mjs +14 -4
  126. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
  127. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
  128. package/components/navigation/menu/esm2022/menu.component.mjs +22 -26
  129. package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
  130. package/components/navigation/menu/esm2022/nav/nav.component.mjs +26 -24
  131. package/components/navigation/menu/fesm2022/index.mjs +82 -74
  132. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  133. package/components/navigation/menu/menu-adapator.component.d.ts +1 -0
  134. package/components/navigation/navbar/bundles/index.umd.js +12 -12
  135. package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
  136. package/components/navigation/navbar/fesm2022/index.mjs +12 -12
  137. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  138. package/mobile/components/basic/default/bundles/index.umd.js +102 -111
  139. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +39 -40
  140. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +35 -44
  141. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +27 -28
  142. package/mobile/components/basic/default/fesm2022/index.mjs +98 -107
  143. package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  144. package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
  145. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -9
  146. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
  147. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
  148. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  149. package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
  150. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
  151. package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
  152. package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  153. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
  154. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
  155. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
  156. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
  157. package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
  158. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
  159. package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
  160. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  161. package/npm-shrinkwrap.json +2 -2
  162. package/package-lock.json +2 -2
  163. package/package.json +1 -1
  164. package/runtime/base/bundles/index.umd.js +219 -215
  165. package/runtime/base/esm2022/components/app-component/app.component.mjs +38 -41
  166. package/runtime/base/esm2022/components/app-spinner.component.mjs +25 -21
  167. package/runtime/base/esm2022/components/custom-toaster.component.mjs +18 -16
  168. package/runtime/base/fesm2022/index.mjs +99 -95
  169. package/runtime/base/fesm2022/index.mjs.map +1 -1
  170. package/scripts/datatable/datatable.js +1 -0
@@ -56,20 +56,20 @@ const _c4 = ["*", [["", "wmPanelFooter", ""]]];
56
56
  const _c5 = ["*", "[wmPanelFooter]"];
57
57
  const _c6 = a0 => ["panel-body", a0];
58
58
  const _c7 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
59
- function PanelComponent_div_0_i_5_Template(rf, ctx) { if (rf & 1) {
59
+ function PanelComponent_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
60
60
  i0.ɵɵelement(0, "i");
61
61
  } if (rf & 2) {
62
62
  const ctx_r1 = i0.ɵɵnextContext(2);
63
63
  i0.ɵɵclassMapInterpolate1("app-icon panel-icon ", ctx_r1.iconclass, "");
64
64
  } }
65
- function PanelComponent_div_0_img_6_Template(rf, ctx) { if (rf & 1) {
66
- i0.ɵɵelement(0, "img", 22);
65
+ function PanelComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
66
+ i0.ɵɵelement(0, "img", 13);
67
67
  i0.ɵɵpipe(1, "image");
68
68
  } if (rf & 2) {
69
69
  const ctx_r1 = i0.ɵɵnextContext(2);
70
70
  i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r1.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c7, ctx_r1.iconwidth, ctx_r1.iconheight, ctx_r1.iconmargin));
71
71
  } }
72
- function PanelComponent_div_0_span_11_Template(rf, ctx) { if (rf & 1) {
72
+ function PanelComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
73
73
  i0.ɵɵelementStart(0, "span");
74
74
  i0.ɵɵtext(1);
75
75
  i0.ɵɵelementEnd();
@@ -79,24 +79,24 @@ function PanelComponent_div_0_span_11_Template(rf, ctx) { if (rf & 1) {
79
79
  i0.ɵɵadvance();
80
80
  i0.ɵɵtextInterpolate(ctx_r1.badgevalue);
81
81
  } }
82
- function PanelComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
83
- i0.ɵɵelement(0, "div", 23);
82
+ function PanelComponent_Conditional_0_Conditional_12_Template(rf, ctx) { if (rf & 1) {
83
+ i0.ɵɵelement(0, "div", 17);
84
84
  } }
85
- function PanelComponent_div_0_button_13_Template(rf, ctx) { if (rf & 1) {
85
+ function PanelComponent_Conditional_0_Conditional_13_Template(rf, ctx) { if (rf & 1) {
86
86
  const _r3 = i0.ɵɵgetCurrentView();
87
- i0.ɵɵelementStart(0, "button", 24);
88
- i0.ɵɵlistener("click", function PanelComponent_div_0_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleHelp()); });
89
- i0.ɵɵelement(1, "i", 25);
87
+ i0.ɵɵelementStart(0, "button", 22);
88
+ i0.ɵɵlistener("click", function PanelComponent_Conditional_0_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleHelp()); });
89
+ i0.ɵɵelement(1, "i", 23);
90
90
  i0.ɵɵelementEnd();
91
91
  } if (rf & 2) {
92
92
  const ctx_r1 = i0.ɵɵnextContext(2);
93
93
  i0.ɵɵproperty("title", ctx_r1.appLocale.LABEL_HELP);
94
94
  } }
95
- function PanelComponent_div_0_button_14_Template(rf, ctx) { if (rf & 1) {
95
+ function PanelComponent_Conditional_0_Conditional_14_Template(rf, ctx) { if (rf & 1) {
96
96
  const _r4 = i0.ɵɵgetCurrentView();
97
- i0.ɵɵelementStart(0, "button", 26);
98
- i0.ɵɵlistener("click", function PanelComponent_div_0_button_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggle($event)); });
99
- i0.ɵɵelement(1, "i", 27);
97
+ i0.ɵɵelementStart(0, "button", 24);
98
+ i0.ɵɵlistener("click", function PanelComponent_Conditional_0_Conditional_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggle($event)); });
99
+ i0.ɵɵelement(1, "i", 25);
100
100
  i0.ɵɵelementEnd();
101
101
  } if (rf & 2) {
102
102
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -105,11 +105,11 @@ function PanelComponent_div_0_button_14_Template(rf, ctx) { if (rf & 1) {
105
105
  i0.ɵɵadvance();
106
106
  i0.ɵɵproperty("ngClass", ctx_r1.expanded ? "wi-minus" : "wi-plus");
107
107
  } }
108
- function PanelComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
108
+ function PanelComponent_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
109
109
  const _r5 = i0.ɵɵgetCurrentView();
110
- i0.ɵɵelementStart(0, "button", 28);
111
- i0.ɵɵlistener("click", function PanelComponent_div_0_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleFullScreen($event)); });
112
- i0.ɵɵelement(1, "i", 27);
110
+ i0.ɵɵelementStart(0, "button", 26);
111
+ i0.ɵɵlistener("click", function PanelComponent_Conditional_0_Conditional_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleFullScreen($event)); });
112
+ i0.ɵɵelement(1, "i", 25);
113
113
  i0.ɵɵelementEnd();
114
114
  } if (rf & 2) {
115
115
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -117,28 +117,28 @@ function PanelComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
117
117
  i0.ɵɵadvance();
118
118
  i0.ɵɵproperty("ngClass", ctx_r1.fullscreen ? "wi-fullscreen-exit" : "wi-fullscreen");
119
119
  } }
120
- function PanelComponent_div_0_button_16_Template(rf, ctx) { if (rf & 1) {
120
+ function PanelComponent_Conditional_0_Conditional_16_Template(rf, ctx) { if (rf & 1) {
121
121
  const _r6 = i0.ɵɵgetCurrentView();
122
- i0.ɵɵelementStart(0, "button", 29);
123
- i0.ɵɵlistener("click", function PanelComponent_div_0_button_16_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.close($event)); });
124
- i0.ɵɵelement(1, "i", 30);
122
+ i0.ɵɵelementStart(0, "button", 27);
123
+ i0.ɵɵlistener("click", function PanelComponent_Conditional_0_Conditional_16_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.close($event)); });
124
+ i0.ɵɵelement(1, "i", 28);
125
125
  i0.ɵɵelementEnd();
126
126
  } if (rf & 2) {
127
127
  const ctx_r1 = i0.ɵɵnextContext(2);
128
128
  i0.ɵɵpropertyInterpolate("title", ctx_r1.appLocale.LABEL_CLOSE);
129
129
  } }
130
- function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
130
+ function PanelComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
131
131
  const _r1 = i0.ɵɵgetCurrentView();
132
132
  i0.ɵɵelementStart(0, "div", null, 2)(2, "div", 10)(3, "a", 11);
133
- i0.ɵɵlistener("click", function PanelComponent_div_0_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggle($event)); });
133
+ i0.ɵɵlistener("click", function PanelComponent_Conditional_0_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggle($event)); });
134
134
  i0.ɵɵelementStart(4, "div", 12);
135
- i0.ɵɵtemplate(5, PanelComponent_div_0_i_5_Template, 1, 3, "i", 3)(6, PanelComponent_div_0_img_6_Template, 2, 8, "img", 13);
135
+ i0.ɵɵtemplate(5, PanelComponent_Conditional_0_Conditional_5_Template, 1, 3, "i", 3)(6, PanelComponent_Conditional_0_Conditional_6_Template, 2, 8, "img", 13);
136
136
  i0.ɵɵelementEnd();
137
137
  i0.ɵɵelementStart(7, "div", 12);
138
138
  i0.ɵɵelement(8, "div", 14)(9, "div", 15);
139
139
  i0.ɵɵelementEnd()();
140
140
  i0.ɵɵelementStart(10, "div", 16);
141
- i0.ɵɵtemplate(11, PanelComponent_div_0_span_11_Template, 2, 4, "span", 3)(12, PanelComponent_div_0_div_12_Template, 1, 0, "div", 17)(13, PanelComponent_div_0_button_13_Template, 2, 1, "button", 18)(14, PanelComponent_div_0_button_14_Template, 2, 3, "button", 19)(15, PanelComponent_div_0_button_15_Template, 2, 2, "button", 20)(16, PanelComponent_div_0_button_16_Template, 2, 1, "button", 21);
141
+ i0.ɵɵtemplate(11, PanelComponent_Conditional_0_Conditional_11_Template, 2, 4, "span", 3)(12, PanelComponent_Conditional_0_Conditional_12_Template, 1, 0, "div", 17)(13, PanelComponent_Conditional_0_Conditional_13_Template, 2, 1, "button", 18)(14, PanelComponent_Conditional_0_Conditional_14_Template, 2, 3, "button", 19)(15, PanelComponent_Conditional_0_Conditional_15_Template, 2, 2, "button", 20)(16, PanelComponent_Conditional_0_Conditional_16_Template, 2, 1, "button", 21);
142
142
  i0.ɵɵelementEnd()()();
143
143
  } if (rf & 2) {
144
144
  const ctx_r1 = i0.ɵɵnextContext();
@@ -146,25 +146,25 @@ function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
146
146
  i0.ɵɵadvance(3);
147
147
  i0.ɵɵattribute("aria-expanded", !!ctx_r1.expanded);
148
148
  i0.ɵɵadvance(2);
149
- i0.ɵɵproperty("ngIf", ctx_r1.iconclass && !ctx_r1.iconurl);
149
+ i0.ɵɵconditional(ctx_r1.iconclass && !ctx_r1.iconurl ? 5 : -1);
150
150
  i0.ɵɵadvance();
151
- i0.ɵɵproperty("ngIf", ctx_r1.iconurl);
151
+ i0.ɵɵconditional(ctx_r1.iconurl ? 6 : -1);
152
152
  i0.ɵɵadvance(2);
153
153
  i0.ɵɵproperty("innerHTML", ctx_r1.title, i0.ɵɵsanitizeHtml)("title", ctx_r1.title);
154
154
  i0.ɵɵadvance();
155
155
  i0.ɵɵproperty("innerHTML", ctx_r1.subheading, i0.ɵɵsanitizeHtml);
156
156
  i0.ɵɵadvance(2);
157
- i0.ɵɵproperty("ngIf", ctx_r1.badgevalue);
157
+ i0.ɵɵconditional(ctx_r1.badgevalue ? 11 : -1);
158
158
  i0.ɵɵadvance();
159
- i0.ɵɵproperty("ngIf", ctx_r1.actions);
159
+ i0.ɵɵconditional(ctx_r1.actions ? 12 : -1);
160
160
  i0.ɵɵadvance();
161
- i0.ɵɵproperty("ngIf", ctx_r1.helptext);
161
+ i0.ɵɵconditional(ctx_r1.helptext ? 13 : -1);
162
162
  i0.ɵɵadvance();
163
- i0.ɵɵproperty("ngIf", ctx_r1.collapsible);
163
+ i0.ɵɵconditional(ctx_r1.collapsible ? 14 : -1);
164
164
  i0.ɵɵadvance();
165
- i0.ɵɵproperty("ngIf", ctx_r1.enablefullscreen);
165
+ i0.ɵɵconditional(ctx_r1.enablefullscreen ? 15 : -1);
166
166
  i0.ɵɵadvance();
167
- i0.ɵɵproperty("ngIf", ctx_r1.closable);
167
+ i0.ɵɵconditional(ctx_r1.closable ? 16 : -1);
168
168
  } }
169
169
  const DEFAULT_CLS = 'app-panel panel';
170
170
  const WIDGET_CONFIG = { widgetType: 'wm-panel', hostClass: DEFAULT_CLS };
@@ -297,9 +297,9 @@ class PanelComponent extends MenuAdapterComponent {
297
297
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panelBody = _t.first);
298
298
  } }, exportAs: ["wmPanel"], features: [i0.ɵɵProvidersFeature([
299
299
  provideAsWidgetRef(PanelComponent)
300
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, ngContentSelectors: _c5, decls: 12, vars: 12, consts: [["panelContent", ""], ["panelBody", ""], ["panelHeading", ""], [3, "class", 4, "ngIf"], [1, "panel-content", 3, "hidden"], ["partial-container-target", "", 3, "ngClass"], [1, "panel-help-message", 3, "ngClass"], [1, "panel-help-header", 3, "textContent"], [1, "panel-help-content", 3, "innerHTML"], [1, "app-panel-footer", "panel-footer", "clearfix", 3, "hidden"], [1, "panel-title"], ["href", "javascript:void(0)", 1, "panel-toggle", 3, "click"], [1, "pull-left"], ["data-identifier", "img", "title", "iconurl", "alt", "Panel icon", "class", "panel-image-icon", 3, "src", "ngStyle", 4, "ngIf"], [1, "heading", 3, "innerHTML", "title"], [1, "description", 3, "innerHTML"], [1, "panel-actions"], ["wmMenu", "", "aria-label", "dropdown", "dropdown", "", "type", "anchor", "class", "panel-action", "dataset.bind", "actions", "caption", "", "menuposition", "down,left", "iconclass", "wi wi-more-vert", "autoclose.bind", "autoclose", "datafield.bind", "datafield", "select.event", "menuActionItemClick($event,$item)", 4, "ngIf"], ["type", "button", "aria-label", "Help", "class", "app-icon panel-action wi", 3, "title", "click", 4, "ngIf"], ["type", "button", "aria-label", "Collapse/Expand", "class", "app-icon wi panel-action", 3, "title", "click", 4, "ngIf"], ["type", "button", "aria-label", "Fullscreen/Exit", "class", "app-icon panel-action wi", 3, "title", "click", 4, "ngIf"], ["type", "button", "aria-label", "Close button", "class", "app-icon panel-action", 3, "title", "click", 4, "ngIf"], ["data-identifier", "img", "title", "iconurl", "alt", "Panel icon", 1, "panel-image-icon", 3, "src", "ngStyle"], ["wmMenu", "", "aria-label", "dropdown", "dropdown", "", "type", "anchor", "dataset.bind", "actions", "caption", "", "menuposition", "down,left", "iconclass", "wi wi-more-vert", "autoclose.bind", "autoclose", "datafield.bind", "datafield", "select.event", "menuActionItemClick($event,$item)", 1, "panel-action"], ["type", "button", "aria-label", "Help", 1, "app-icon", "panel-action", "wi", 3, "click", "title"], [1, "wi-question"], ["type", "button", "aria-label", "Collapse/Expand", 1, "app-icon", "wi", "panel-action", 3, "click", "title"], [3, "ngClass"], ["type", "button", "aria-label", "Fullscreen/Exit", 1, "app-icon", "panel-action", "wi", 3, "click", "title"], ["type", "button", "aria-label", "Close button", 1, "app-icon", "panel-action", 3, "click", "title"], [1, "wi", "wi-close"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
300
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c3, ngContentSelectors: _c5, decls: 12, vars: 12, consts: [["panelContent", ""], ["panelBody", ""], ["panelHeading", ""], [3, "class"], [1, "panel-content", 3, "hidden"], ["partial-container-target", "", 3, "ngClass"], [1, "panel-help-message", 3, "ngClass"], [1, "panel-help-header", 3, "textContent"], [1, "panel-help-content", 3, "innerHTML"], [1, "app-panel-footer", "panel-footer", "clearfix", 3, "hidden"], [1, "panel-title"], ["href", "javascript:void(0)", 1, "panel-toggle", 3, "click"], [1, "pull-left"], ["data-identifier", "img", "title", "iconurl", "alt", "Panel icon", 1, "panel-image-icon", 3, "src", "ngStyle"], [1, "heading", 3, "innerHTML", "title"], [1, "description", 3, "innerHTML"], [1, "panel-actions"], ["wmMenu", "", "aria-label", "dropdown", "dropdown", "", "type", "anchor", "dataset.bind", "actions", "caption", "", "menuposition", "down,left", "iconclass", "wi wi-more-vert", "autoclose.bind", "autoclose", "datafield.bind", "datafield", "select.event", "menuActionItemClick($event,$item)", 1, "panel-action"], ["type", "button", "aria-label", "Help", 1, "app-icon", "panel-action", "wi", 3, "title"], ["type", "button", "aria-label", "Collapse/Expand", 1, "app-icon", "wi", "panel-action", 3, "title"], ["type", "button", "aria-label", "Fullscreen/Exit", 1, "app-icon", "panel-action", "wi", 3, "title"], ["type", "button", "aria-label", "Close button", 1, "app-icon", "panel-action", 3, "title"], ["type", "button", "aria-label", "Help", 1, "app-icon", "panel-action", "wi", 3, "click", "title"], [1, "wi-question"], ["type", "button", "aria-label", "Collapse/Expand", 1, "app-icon", "wi", "panel-action", 3, "click", "title"], [3, "ngClass"], ["type", "button", "aria-label", "Fullscreen/Exit", 1, "app-icon", "panel-action", "wi", 3, "click", "title"], ["type", "button", "aria-label", "Close button", 1, "app-icon", "panel-action", 3, "click", "title"], [1, "wi", "wi-close"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
301
301
  i0.ɵɵprojectionDef(_c4);
302
- i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 17, 15, "div", 3);
302
+ i0.ɵɵtemplate(0, PanelComponent_Conditional_0_Template, 17, 15, "div", 3);
303
303
  i0.ɵɵelementStart(1, "div", 4, 0)(3, "div", 5, 1);
304
304
  i0.ɵɵprojection(5);
305
305
  i0.ɵɵelementEnd();
@@ -311,7 +311,7 @@ class PanelComponent extends MenuAdapterComponent {
311
311
  i0.ɵɵprojection(11, 1);
312
312
  i0.ɵɵelementEnd();
313
313
  } if (rf & 2) {
314
- i0.ɵɵproperty("ngIf", ctx.showHeader);
314
+ i0.ɵɵconditional(ctx.showHeader ? 0 : -1);
315
315
  i0.ɵɵadvance();
316
316
  i0.ɵɵproperty("hidden", !ctx.expanded);
317
317
  i0.ɵɵadvance(2);
@@ -324,13 +324,13 @@ class PanelComponent extends MenuAdapterComponent {
324
324
  i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(9, 7, ctx.helptext, "html"), i0.ɵɵsanitizeHtml);
325
325
  i0.ɵɵadvance(2);
326
326
  i0.ɵɵproperty("hidden", ctx.hideFooter);
327
- } }, dependencies: [i1.BsDropdownDirective, i2.NgClass, i2.NgIf, i2.NgStyle, i3.MenuComponent, i4.TextContentDirective, i4.TrustAsPipe, i4.ImagePipe], encapsulation: 2 }); }
327
+ } }, dependencies: [i1.BsDropdownDirective, i2.NgClass, i2.NgStyle, i3.MenuComponent, i4.TextContentDirective, i4.TrustAsPipe, i4.ImagePipe], encapsulation: 2 }); }
328
328
  }
329
329
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelComponent, [{
330
330
  type: Component,
331
331
  args: [{ selector: '[wmPanel]', providers: [
332
332
  provideAsWidgetRef(PanelComponent)
333
- ], exportAs: 'wmPanel', template: "<div class=\"panel-heading {{helpClass}}\" *ngIf=\"showHeader\" #panelHeading>\n <div class=\"panel-title\">\n <a href=\"javascript:void(0)\" class=\"panel-toggle\" (click)=\"toggle($event)\" [attr.aria-expanded]=\"!!expanded\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" title=\"iconurl\" alt=\"Panel icon\" class=\"panel-image-icon\"\n [src]=\"iconurl | image\" *ngIf=\"iconurl\"\n [ngStyle]=\"{width: iconwidth ,height: iconheight, margin: iconmargin}\" />\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\" [title]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </a>\n <div class=\"panel-actions\">\n <span *ngIf=\"badgevalue\"\n class=\"app-badge label label-{{badgetype}}\">{{badgevalue}}</span>\n <div wmMenu aria-label=\"dropdown\" dropdown type=\"anchor\" class=\"panel-action\" dataset.bind=\"actions\"\n *ngIf=\"actions\" caption=\"\" menuposition=\"down,left\" iconclass=\"wi wi-more-vert\"\n autoclose.bind=\"autoclose\" datafield.bind=\"datafield\" select.event=\"menuActionItemClick($event,$item)\">\n </div>\n <button type=\"button\" aria-label=\"Help\" class=\"app-icon panel-action wi\" [title]=\"appLocale.LABEL_HELP\"\n *ngIf=\"helptext\" (click)=\"toggleHelp()\"><i class=\"wi-question\"></i></button>\n <button type=\"button\" aria-label=\"Collapse/Expand\" class=\"app-icon wi panel-action\" *ngIf=\"collapsible\"\n [title]=\"expandCollapseTitle\" (click)=\"toggle($event);\" [attr.aria-expanded]=\"!!expanded\"><i\n [ngClass]=\"expanded ? 'wi-minus' : 'wi-plus'\"></i></button>\n <button type=\"button\" aria-label=\"Fullscreen/Exit\" class=\"app-icon panel-action wi\" *ngIf=\"enablefullscreen\"\n [title]=\"fullScreenTitle\" (click)=\"toggleFullScreen($event);\"><i\n [ngClass]=\"fullscreen ? 'wi-fullscreen-exit' : 'wi-fullscreen'\"></i></button>\n <button type=\"button\" aria-label=\"Close button\" class=\"app-icon panel-action\"\n title=\"{{appLocale.LABEL_CLOSE}}\" *ngIf=\"closable\" (click)=\"close($event)\"><i\n class=\"wi wi-close\"></i></button>\n </div>\n </div>\n</div>\n<div class=\"panel-content\" [hidden]=\"!expanded\" #panelContent>\n <!-- Todo Bandhavya - implement smooth scroll -->\n <div partial-container-target #panelBody [ngClass]=\"['panel-body', helpClass]\">\n <ng-content></ng-content>\n </div>\n <aside class=\"panel-help-message\" [ngClass]=\"helpClass\">\n <h5 class=\"panel-help-header\" [textContent]=\"appLocale.LABEL_HELP\"></h5>\n <div class=\"panel-help-content\" [innerHTML]=\"helptext | trustAs : 'html'\"></div>\n </aside>\n</div>\n<div class=\"app-panel-footer panel-footer clearfix\" [hidden]=\"hideFooter\">\n <ng-content select=\"[wmPanelFooter]\"></ng-content>\n</div>\n" }]
333
+ ], exportAs: 'wmPanel', template: "@if (showHeader) {\n <div class=\"panel-heading {{helpClass}}\" #panelHeading>\n <div class=\"panel-title\">\n <a href=\"javascript:void(0)\" class=\"panel-toggle\" (click)=\"toggle($event)\" [attr.aria-expanded]=\"!!expanded\">\n <div class=\"pull-left\">\n @if (iconclass && !iconurl) {\n <i class=\"app-icon panel-icon {{iconclass}}\"></i>\n }\n @if (iconurl) {\n <img data-identifier=\"img\" title=\"iconurl\" alt=\"Panel icon\" class=\"panel-image-icon\"\n [src]=\"iconurl | image\"\n [ngStyle]=\"{width: iconwidth ,height: iconheight, margin: iconmargin}\" />\n }\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\" [title]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </a>\n <div class=\"panel-actions\">\n @if (badgevalue) {\n <span\n class=\"app-badge label label-{{badgetype}}\">{{badgevalue}}</span>\n }\n @if (actions) {\n <div wmMenu aria-label=\"dropdown\" dropdown type=\"anchor\" class=\"panel-action\" dataset.bind=\"actions\"\n caption=\"\" menuposition=\"down,left\" iconclass=\"wi wi-more-vert\"\n autoclose.bind=\"autoclose\" datafield.bind=\"datafield\" select.event=\"menuActionItemClick($event,$item)\">\n </div>\n }\n @if (helptext) {\n <button type=\"button\" aria-label=\"Help\" class=\"app-icon panel-action wi\" [title]=\"appLocale.LABEL_HELP\"\n (click)=\"toggleHelp()\"><i class=\"wi-question\"></i></button>\n }\n @if (collapsible) {\n <button type=\"button\" aria-label=\"Collapse/Expand\" class=\"app-icon wi panel-action\"\n [title]=\"expandCollapseTitle\" (click)=\"toggle($event);\" [attr.aria-expanded]=\"!!expanded\"><i\n [ngClass]=\"expanded ? 'wi-minus' : 'wi-plus'\"></i></button>\n }\n @if (enablefullscreen) {\n <button type=\"button\" aria-label=\"Fullscreen/Exit\" class=\"app-icon panel-action wi\"\n [title]=\"fullScreenTitle\" (click)=\"toggleFullScreen($event);\"><i\n [ngClass]=\"fullscreen ? 'wi-fullscreen-exit' : 'wi-fullscreen'\"></i></button>\n }\n @if (closable) {\n <button type=\"button\" aria-label=\"Close button\" class=\"app-icon panel-action\"\n title=\"{{appLocale.LABEL_CLOSE}}\" (click)=\"close($event)\"><i\n class=\"wi wi-close\"></i></button>\n }\n </div>\n </div>\n </div>\n }\n <div class=\"panel-content\" [hidden]=\"!expanded\" #panelContent>\n <!-- Todo Bandhavya - implement smooth scroll -->\n <div partial-container-target #panelBody [ngClass]=\"['panel-body', helpClass]\">\n <ng-content></ng-content>\n </div>\n <aside class=\"panel-help-message\" [ngClass]=\"helpClass\">\n <h5 class=\"panel-help-header\" [textContent]=\"appLocale.LABEL_HELP\"></h5>\n <div class=\"panel-help-content\" [innerHTML]=\"helptext | trustAs : 'html'\"></div>\n </aside>\n </div>\n <div class=\"app-panel-footer panel-footer clearfix\" [hidden]=\"hideFooter\">\n <ng-content select=\"[wmPanelFooter]\"></ng-content>\n </div>\n" }]
334
334
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
335
335
  type: Inject,
336
336
  args: ['EXPLICIT_CONTEXT']
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/panel/src/panel.props.ts","../../../../../projects/components/widgets/containers/panel/src/panel.component.html","../../../../../projects/components/widgets/containers/panel/src/panel.component.ts","../../../../../projects/components/widgets/containers/panel/src/panel.module.ts","../../../../../projects/components/widgets/containers/panel/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-panel',\n new Map(\n [\n ['actions', {}],\n ['animation', PROP_STRING],\n ['autoclose', PROP_STRING],\n ['badgetype', { value: 'default', ...PROP_STRING }],\n ['badgevalue', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', PROP_BOOLEAN],\n ['collapsible', PROP_BOOLEAN],\n ['conditionalclass', PROP_ANY],\n ['conditionalstyle', PROP_ANY],\n ['content', PROP_STRING],\n ['datafield', PROP_STRING],\n ['enablefullscreen', PROP_BOOLEAN],\n ['expanded', { value: true, ...PROP_BOOLEAN }],\n ['fullscreen', PROP_BOOLEAN],\n ['helptext', PROP_STRING],\n ['iconclass', PROP_STRING],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['itemaction', PROP_STRING],\n ['itemchildren', PROP_STRING],\n ['itemicon', PROP_STRING],\n ['itemlabel', PROP_STRING],\n ['itemlink', PROP_STRING],\n ['name', PROP_STRING],\n ['show', { value: true, ...PROP_BOOLEAN }],\n ['subheading', PROP_STRING],\n ['title', PROP_STRING],\n ['userrole', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","<div class=\"panel-heading {{helpClass}}\" *ngIf=\"showHeader\" #panelHeading>\n <div class=\"panel-title\">\n <a href=\"javascript:void(0)\" class=\"panel-toggle\" (click)=\"toggle($event)\" [attr.aria-expanded]=\"!!expanded\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" *ngIf=\"iconclass && !iconurl\"></i>\n <img data-identifier=\"img\" title=\"iconurl\" alt=\"Panel icon\" class=\"panel-image-icon\"\n [src]=\"iconurl | image\" *ngIf=\"iconurl\"\n [ngStyle]=\"{width: iconwidth ,height: iconheight, margin: iconmargin}\" />\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\" [title]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </a>\n <div class=\"panel-actions\">\n <span *ngIf=\"badgevalue\"\n class=\"app-badge label label-{{badgetype}}\">{{badgevalue}}</span>\n <div wmMenu aria-label=\"dropdown\" dropdown type=\"anchor\" class=\"panel-action\" dataset.bind=\"actions\"\n *ngIf=\"actions\" caption=\"\" menuposition=\"down,left\" iconclass=\"wi wi-more-vert\"\n autoclose.bind=\"autoclose\" datafield.bind=\"datafield\" select.event=\"menuActionItemClick($event,$item)\">\n </div>\n <button type=\"button\" aria-label=\"Help\" class=\"app-icon panel-action wi\" [title]=\"appLocale.LABEL_HELP\"\n *ngIf=\"helptext\" (click)=\"toggleHelp()\"><i class=\"wi-question\"></i></button>\n <button type=\"button\" aria-label=\"Collapse/Expand\" class=\"app-icon wi panel-action\" *ngIf=\"collapsible\"\n [title]=\"expandCollapseTitle\" (click)=\"toggle($event);\" [attr.aria-expanded]=\"!!expanded\"><i\n [ngClass]=\"expanded ? 'wi-minus' : 'wi-plus'\"></i></button>\n <button type=\"button\" aria-label=\"Fullscreen/Exit\" class=\"app-icon panel-action wi\" *ngIf=\"enablefullscreen\"\n [title]=\"fullScreenTitle\" (click)=\"toggleFullScreen($event);\"><i\n [ngClass]=\"fullscreen ? 'wi-fullscreen-exit' : 'wi-fullscreen'\"></i></button>\n <button type=\"button\" aria-label=\"Close button\" class=\"app-icon panel-action\"\n title=\"{{appLocale.LABEL_CLOSE}}\" *ngIf=\"closable\" (click)=\"close($event)\"><i\n class=\"wi wi-close\"></i></button>\n </div>\n </div>\n</div>\n<div class=\"panel-content\" [hidden]=\"!expanded\" #panelContent>\n <!-- Todo Bandhavya - implement smooth scroll -->\n <div partial-container-target #panelBody [ngClass]=\"['panel-body', helpClass]\">\n <ng-content></ng-content>\n </div>\n <aside class=\"panel-help-message\" [ngClass]=\"helpClass\">\n <h5 class=\"panel-help-header\" [textContent]=\"appLocale.LABEL_HELP\"></h5>\n <div class=\"panel-help-content\" [innerHTML]=\"helptext | trustAs : 'html'\"></div>\n </aside>\n</div>\n<div class=\"app-panel-footer panel-footer clearfix\" [hidden]=\"hideFooter\">\n <ng-content select=\"[wmPanelFooter]\"></ng-content>\n</div>\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n ElementRef,\n Inject,\n Injector,\n OnInit,\n Optional,\n ViewChild\n} from '@angular/core';\n\nimport {$appDigest, noop, removeAttr, setCSS, toggleClass} from '@wm/core';\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, RedrawableDirective, styler } from '@wm/components/base';\nimport { MenuAdapterComponent } from '@wm/components/navigation/menu';\nimport { registerProps } from './panel.props';\nimport {omit} from \"lodash-es\";\n\nconst DEFAULT_CLS = 'app-panel panel';\nconst WIDGET_CONFIG: IWidgetConfig = { widgetType: 'wm-panel', hostClass: DEFAULT_CLS };\n\n@Component({\n selector: '[wmPanel]',\n templateUrl: './panel.component.html',\n providers: [\n provideAsWidgetRef(PanelComponent)\n ],\n exportAs: 'wmPanel'\n})\n\nexport class PanelComponent extends MenuAdapterComponent implements OnInit, AfterContentInit {\n static initializeProps = registerProps();\n\n public $lazyLoad = noop;\n public iconurl: string;\n public iconclass: string;\n public collapsible: boolean;\n public expanded = true;\n public enablefullscreen: boolean;\n public fullscreen: boolean;\n public title: string;\n public subheading: string;\n public actions: any;\n public selectedAction: any;\n\n public helpClass = '';\n public helptext = '';\n private fullScreenTitle: string;\n private expandCollapseTitle: string;\n\n @ViewChild('panelHeading',{static: false}) private panelHeader: ElementRef;\n @ViewChild('panelContent',{static: true}) private panelContent: ElementRef;\n @ViewChild('panelBody',{static: true}) private panelBody: ElementRef;\n @ContentChildren(RedrawableDirective, { descendants: true }) reDrawableComponents;\n\n private hasFooter: boolean;\n\n // conditions to show the footer\n public get hideFooter() {\n return !this.hasFooter || !this.expanded;\n }\n\n // conditions to show header\n public get showHeader() {\n return this.iconurl || this.iconclass || this.collapsible || this.actions || this.title || this.subheading || this.enablefullscreen;\n }\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.fullScreenTitle = `${this.appLocale.LABEL_FULLSCREEN}/${this.appLocale.LABEL_EXITFULLSCREEN}`;\n this.expandCollapseTitle = `${this.appLocale.LABEL_COLLAPSE}/${this.appLocale.LABEL_EXPAND}`;\n removeAttr(this.nativeElement, 'title');\n }\n\n // toggle the panel state between collapsed - expanded. invoke the respective callbacks\n public toggle($event) {\n if (this.collapsible) {\n this.invokeEventCallback(this.expanded ? 'collapse' : 'expand', { $event });\n this.expanded = !this.expanded;\n if (this.expanded) {\n this.$lazyLoad();\n this.reDrawChildren();\n }\n }\n }\n\n public expand($event) {\n if (!this.expanded) {\n this.toggle($event);\n }\n }\n\n public collapse($event) {\n if (this.expanded) {\n this.toggle($event);\n }\n }\n\n // toggle the fullscreen state of the panel. invoke the respective callbacks\n protected toggleFullScreen($event) {\n if (this.enablefullscreen) {\n this.invokeEventCallback(this.fullscreen ? 'exitfullscreen' : 'fullscreen', { $event });\n this.fullscreen = !this.fullscreen;\n toggleClass(this.nativeElement, 'fullscreen', this.fullscreen);\n // Re-plot the widgets inside panel\n this.reDrawChildren();\n }\n this.computeDimensions();\n }\n\n // show/hide help\n protected toggleHelp() {\n this.helpClass = this.helpClass ? '' : 'show-help';\n toggleClass(this.nativeElement, 'show-help', !!this.helpClass);\n $appDigest();\n }\n\n // On action item click\n protected menuActionItemClick($event, $item) {\n this.selectedAction = omit($item, ['children', 'value']);\n this.invokeEventCallback('actionsclick', { $event, $item: this.selectedAction });\n }\n\n // hide the panel and invoke the respective event handler\n protected close($event) {\n this.getWidget().show = false;\n this.invokeEventCallback('close', { $event });\n }\n\n // calculation of dimensions when the panel the panel state changes from/to fullscreen\n private computeDimensions() {\n const headerHeight = this.panelHeader.nativeElement.offsetHeight;\n const footer = this.nativeElement.querySelector('.panel-footer') as HTMLElement;\n const content = this.panelContent.nativeElement;\n const vHeight = window.innerHeight;\n\n let inlineHeight;\n\n if (this.fullscreen) {\n inlineHeight = this.hideFooter ? (vHeight - headerHeight) : vHeight - (footer.offsetHeight + headerHeight);\n } else {\n inlineHeight = this.height || '';\n }\n\n setCSS(content, 'height', inlineHeight);\n }\n\n // notify the redrawable components(charts, grid)\n private reDrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n }, 100);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'expanded') {\n this.expanded = nv;\n } else if (key === 'content') {\n setTimeout(() => {\n if (this.expanded || !this.collapsible) {\n this.$lazyLoad();\n }\n }, 20);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.hasFooter = !!this.nativeElement.querySelector('[wmPanelFooter]');\n styler(this.panelBody.nativeElement as HTMLElement, this, APPLY_STYLES_TYPE.INNER_SHELL);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { MenuModule } from '@wm/components/navigation/menu';\n\nimport { PanelComponent } from './panel.component';\n\nconst components = [\n PanelComponent\n];\n\n@NgModule({\n imports: [\n BsDropdownModule,\n CommonModule,\n MenuModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PanelModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,UAAU,EACV,IAAI,GAAG,CACH;QACI,CAAC,SAAS,EAAE,EAAE,CAAC;QACf,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,CAAC;QACnD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,YAAY,CAAC;QAC1B,CAAC,aAAa,EAAE,YAA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YAAY;YACZ,UAAU;YACV,kBAAkB,CAAA,EAAA,CAAA,CAAA;;iFAKb,WAAW,EAAA,CAAA;cAVvB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,gBAAgB;oBAChB,YAAY;oBACZ,UAAU;oBACV;AACH,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,aAAA;;wFACY,WAAW,EAAA,EAAA,YAAA,EAAA,CAbpB,cAAc,CAAA,EAAA,OAAA,EAAA,CAKV,gBAAgB;QAChB,YAAY;QACZ,UAAU;AACV,QAAA,kBAAkB,aARtB,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXlB;;AAEG;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../projects/components/widgets/containers/panel/src/panel.props.ts","../../../../../projects/components/widgets/containers/panel/src/panel.component.html","../../../../../projects/components/widgets/containers/panel/src/panel.component.ts","../../../../../projects/components/widgets/containers/panel/src/panel.module.ts","../../../../../projects/components/widgets/containers/panel/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-panel',\n new Map(\n [\n ['actions', {}],\n ['animation', PROP_STRING],\n ['autoclose', PROP_STRING],\n ['badgetype', { value: 'default', ...PROP_STRING }],\n ['badgevalue', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', PROP_BOOLEAN],\n ['collapsible', PROP_BOOLEAN],\n ['conditionalclass', PROP_ANY],\n ['conditionalstyle', PROP_ANY],\n ['content', PROP_STRING],\n ['datafield', PROP_STRING],\n ['enablefullscreen', PROP_BOOLEAN],\n ['expanded', { value: true, ...PROP_BOOLEAN }],\n ['fullscreen', PROP_BOOLEAN],\n ['helptext', PROP_STRING],\n ['iconclass', PROP_STRING],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['itemaction', PROP_STRING],\n ['itemchildren', PROP_STRING],\n ['itemicon', PROP_STRING],\n ['itemlabel', PROP_STRING],\n ['itemlink', PROP_STRING],\n ['name', PROP_STRING],\n ['show', { value: true, ...PROP_BOOLEAN }],\n ['subheading', PROP_STRING],\n ['title', PROP_STRING],\n ['userrole', PROP_STRING],\n ['hint', PROP_STRING]\n ]\n )\n );\n};\n","@if (showHeader) {\n <div class=\"panel-heading {{helpClass}}\" #panelHeading>\n <div class=\"panel-title\">\n <a href=\"javascript:void(0)\" class=\"panel-toggle\" (click)=\"toggle($event)\" [attr.aria-expanded]=\"!!expanded\">\n <div class=\"pull-left\">\n @if (iconclass && !iconurl) {\n <i class=\"app-icon panel-icon {{iconclass}}\"></i>\n }\n @if (iconurl) {\n <img data-identifier=\"img\" title=\"iconurl\" alt=\"Panel icon\" class=\"panel-image-icon\"\n [src]=\"iconurl | image\"\n [ngStyle]=\"{width: iconwidth ,height: iconheight, margin: iconmargin}\" />\n }\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\" [title]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </a>\n <div class=\"panel-actions\">\n @if (badgevalue) {\n <span\n class=\"app-badge label label-{{badgetype}}\">{{badgevalue}}</span>\n }\n @if (actions) {\n <div wmMenu aria-label=\"dropdown\" dropdown type=\"anchor\" class=\"panel-action\" dataset.bind=\"actions\"\n caption=\"\" menuposition=\"down,left\" iconclass=\"wi wi-more-vert\"\n autoclose.bind=\"autoclose\" datafield.bind=\"datafield\" select.event=\"menuActionItemClick($event,$item)\">\n </div>\n }\n @if (helptext) {\n <button type=\"button\" aria-label=\"Help\" class=\"app-icon panel-action wi\" [title]=\"appLocale.LABEL_HELP\"\n (click)=\"toggleHelp()\"><i class=\"wi-question\"></i></button>\n }\n @if (collapsible) {\n <button type=\"button\" aria-label=\"Collapse/Expand\" class=\"app-icon wi panel-action\"\n [title]=\"expandCollapseTitle\" (click)=\"toggle($event);\" [attr.aria-expanded]=\"!!expanded\"><i\n [ngClass]=\"expanded ? 'wi-minus' : 'wi-plus'\"></i></button>\n }\n @if (enablefullscreen) {\n <button type=\"button\" aria-label=\"Fullscreen/Exit\" class=\"app-icon panel-action wi\"\n [title]=\"fullScreenTitle\" (click)=\"toggleFullScreen($event);\"><i\n [ngClass]=\"fullscreen ? 'wi-fullscreen-exit' : 'wi-fullscreen'\"></i></button>\n }\n @if (closable) {\n <button type=\"button\" aria-label=\"Close button\" class=\"app-icon panel-action\"\n title=\"{{appLocale.LABEL_CLOSE}}\" (click)=\"close($event)\"><i\n class=\"wi wi-close\"></i></button>\n }\n </div>\n </div>\n </div>\n }\n <div class=\"panel-content\" [hidden]=\"!expanded\" #panelContent>\n <!-- Todo Bandhavya - implement smooth scroll -->\n <div partial-container-target #panelBody [ngClass]=\"['panel-body', helpClass]\">\n <ng-content></ng-content>\n </div>\n <aside class=\"panel-help-message\" [ngClass]=\"helpClass\">\n <h5 class=\"panel-help-header\" [textContent]=\"appLocale.LABEL_HELP\"></h5>\n <div class=\"panel-help-content\" [innerHTML]=\"helptext | trustAs : 'html'\"></div>\n </aside>\n </div>\n <div class=\"app-panel-footer panel-footer clearfix\" [hidden]=\"hideFooter\">\n <ng-content select=\"[wmPanelFooter]\"></ng-content>\n </div>\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n ElementRef,\n Inject,\n Injector,\n OnInit,\n Optional,\n ViewChild\n} from '@angular/core';\n\nimport {$appDigest, noop, removeAttr, setCSS, toggleClass} from '@wm/core';\nimport { APPLY_STYLES_TYPE, IWidgetConfig, provideAsWidgetRef, RedrawableDirective, styler } from '@wm/components/base';\nimport { MenuAdapterComponent } from '@wm/components/navigation/menu';\nimport { registerProps } from './panel.props';\nimport {omit} from \"lodash-es\";\n\nconst DEFAULT_CLS = 'app-panel panel';\nconst WIDGET_CONFIG: IWidgetConfig = { widgetType: 'wm-panel', hostClass: DEFAULT_CLS };\n\n@Component({\n selector: '[wmPanel]',\n templateUrl: './panel.component.html',\n providers: [\n provideAsWidgetRef(PanelComponent)\n ],\n exportAs: 'wmPanel'\n})\n\nexport class PanelComponent extends MenuAdapterComponent implements OnInit, AfterContentInit {\n static initializeProps = registerProps();\n\n public $lazyLoad = noop;\n public iconurl: string;\n public iconclass: string;\n public collapsible: boolean;\n public expanded = true;\n public enablefullscreen: boolean;\n public fullscreen: boolean;\n public title: string;\n public subheading: string;\n public actions: any;\n public selectedAction: any;\n\n public helpClass = '';\n public helptext = '';\n private fullScreenTitle: string;\n private expandCollapseTitle: string;\n\n @ViewChild('panelHeading',{static: false}) private panelHeader: ElementRef;\n @ViewChild('panelContent',{static: true}) private panelContent: ElementRef;\n @ViewChild('panelBody',{static: true}) private panelBody: ElementRef;\n @ContentChildren(RedrawableDirective, { descendants: true }) reDrawableComponents;\n\n private hasFooter: boolean;\n\n // conditions to show the footer\n public get hideFooter() {\n return !this.hasFooter || !this.expanded;\n }\n\n // conditions to show header\n public get showHeader() {\n return this.iconurl || this.iconclass || this.collapsible || this.actions || this.title || this.subheading || this.enablefullscreen;\n }\n\n constructor(inj: Injector, @Inject('EXPLICIT_CONTEXT') @Optional() explicitContext: any) {\n super(inj, WIDGET_CONFIG, explicitContext);\n\n styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);\n\n this.fullScreenTitle = `${this.appLocale.LABEL_FULLSCREEN}/${this.appLocale.LABEL_EXITFULLSCREEN}`;\n this.expandCollapseTitle = `${this.appLocale.LABEL_COLLAPSE}/${this.appLocale.LABEL_EXPAND}`;\n removeAttr(this.nativeElement, 'title');\n }\n\n // toggle the panel state between collapsed - expanded. invoke the respective callbacks\n public toggle($event) {\n if (this.collapsible) {\n this.invokeEventCallback(this.expanded ? 'collapse' : 'expand', { $event });\n this.expanded = !this.expanded;\n if (this.expanded) {\n this.$lazyLoad();\n this.reDrawChildren();\n }\n }\n }\n\n public expand($event) {\n if (!this.expanded) {\n this.toggle($event);\n }\n }\n\n public collapse($event) {\n if (this.expanded) {\n this.toggle($event);\n }\n }\n\n // toggle the fullscreen state of the panel. invoke the respective callbacks\n protected toggleFullScreen($event) {\n if (this.enablefullscreen) {\n this.invokeEventCallback(this.fullscreen ? 'exitfullscreen' : 'fullscreen', { $event });\n this.fullscreen = !this.fullscreen;\n toggleClass(this.nativeElement, 'fullscreen', this.fullscreen);\n // Re-plot the widgets inside panel\n this.reDrawChildren();\n }\n this.computeDimensions();\n }\n\n // show/hide help\n protected toggleHelp() {\n this.helpClass = this.helpClass ? '' : 'show-help';\n toggleClass(this.nativeElement, 'show-help', !!this.helpClass);\n $appDigest();\n }\n\n // On action item click\n protected menuActionItemClick($event, $item) {\n this.selectedAction = omit($item, ['children', 'value']);\n this.invokeEventCallback('actionsclick', { $event, $item: this.selectedAction });\n }\n\n // hide the panel and invoke the respective event handler\n protected close($event) {\n this.getWidget().show = false;\n this.invokeEventCallback('close', { $event });\n }\n\n // calculation of dimensions when the panel the panel state changes from/to fullscreen\n private computeDimensions() {\n const headerHeight = this.panelHeader.nativeElement.offsetHeight;\n const footer = this.nativeElement.querySelector('.panel-footer') as HTMLElement;\n const content = this.panelContent.nativeElement;\n const vHeight = window.innerHeight;\n\n let inlineHeight;\n\n if (this.fullscreen) {\n inlineHeight = this.hideFooter ? (vHeight - headerHeight) : vHeight - (footer.offsetHeight + headerHeight);\n } else {\n inlineHeight = this.height || '';\n }\n\n setCSS(content, 'height', inlineHeight);\n }\n\n // notify the redrawable components(charts, grid)\n private reDrawChildren() {\n setTimeout(() => {\n if (this.reDrawableComponents) {\n this.reDrawableComponents.forEach(c => c.redraw());\n }\n }, 100);\n }\n\n onPropertyChange(key: string, nv: any, ov?: any) {\n if (key === 'expanded') {\n this.expanded = nv;\n } else if (key === 'content') {\n setTimeout(() => {\n if (this.expanded || !this.collapsible) {\n this.$lazyLoad();\n }\n }, 20);\n } else {\n super.onPropertyChange(key, nv, ov);\n }\n }\n\n ngAfterContentInit() {\n super.ngAfterContentInit();\n this.hasFooter = !!this.nativeElement.querySelector('[wmPanelFooter]');\n styler(this.panelBody.nativeElement as HTMLElement, this, APPLY_STYLES_TYPE.INNER_SHELL);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { MenuModule } from '@wm/components/navigation/menu';\n\nimport { PanelComponent } from './panel.component';\n\nconst components = [\n PanelComponent\n];\n\n@NgModule({\n imports: [\n BsDropdownModule,\n CommonModule,\n MenuModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components]\n})\nexport class PanelModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,MAAK;AAC9B,IAAA,QAAQ,CACJ,UAAU,EACV,IAAI,GAAG,CACH;QACI,CAAC,SAAS,EAAE,EAAE,CAAC;QACf,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,CAAC;QACnD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,YAAY,CAAC;QAC1B,CAAC,aAAa,EAAE,YAAY,CAAC;QAC7B,CAAC,kBAAkB,EAAE,QAAQ,CAAC;QAC9B,CAAC,kBAAkB,EAAE,QAAQ,CAAC;QAC9B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,kBAAkB,EAAE,YAAY,CAAC;QAClC,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE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AAC;YACO,SAAS,EAAA,CAAA;kBAAvD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA,WAAW,EAAC,EAAC,MAAM,EAAE,IAAI,EAAC;YACwB,oBAAoB,EAAA,CAAA;kBAAhF,eAAe;AAAC,YAAA,IAAA,EAAA,CAAA,mBAAmB,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;kFAvBlD,cAAc,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpB3B,MAAM,UAAU,GAAG;IACf;CACH;MAYY,WAAW,CAAA;4GAAX,WAAW,GAAA,CAAA,EAAA,CAAA;mEAAX,WAAW,EAAA,CAAA,CAAA;uEARhB,gBAAgB;YAChB,YAAY;YACZ,UAAU;YACV,kBAAkB,CAAA,EAAA,CAAA,CAAA;;iFAKb,WAAW,EAAA,CAAA;cAVvB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE;oBACL,gBAAgB;oBAChB,YAAY;oBACZ,UAAU;oBACV;AACH,iBAAA;AACD,gBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,gBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,aAAA;;wFACY,WAAW,EAAA,EAAA,YAAA,EAAA,CAbpB,cAAc,CAAA,EAAA,OAAA,EAAA,CAKV,gBAAgB;QAChB,YAAY;QACZ,UAAU;AACV,QAAA,kBAAkB,aARtB,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACXlB;;AAEG;;;;"}
@@ -324,26 +324,26 @@
324
324
  const _c4 = (a0, a1) => ({ "active": a0, "disabled": a1 });
325
325
  const _c5 = a0 => ["app-icon", a0];
326
326
  const _c6 = (a0, a1) => ({ "tab-stacked": a0, "tab-justified": a1 });
327
- function TabsComponent_li_1_i_2_Template(rf, ctx) { if (rf & 1) {
328
- i0__namespace.ɵɵelement(0, "i", 8);
327
+ function TabsComponent_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
328
+ i0__namespace.ɵɵelement(0, "i", 4);
329
329
  } if (rf & 2) {
330
330
  const pane_r3 = i0__namespace.ɵɵnextContext().$implicit;
331
331
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1, _c5, pane_r3.paneicon));
332
332
  } }
333
- function TabsComponent_li_1_span_4_Template(rf, ctx) { if (rf & 1) {
334
- i0__namespace.ɵɵelement(0, "span", 6);
333
+ function TabsComponent_For_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
334
+ i0__namespace.ɵɵelement(0, "span", 5);
335
335
  } if (rf & 2) {
336
336
  const pane_r3 = i0__namespace.ɵɵnextContext().$implicit;
337
337
  i0__namespace.ɵɵclassMapInterpolate1("label label-", pane_r3.badgetype, "");
338
338
  i0__namespace.ɵɵproperty("textContent", pane_r3.badgevalue);
339
339
  } }
340
- function TabsComponent_li_1_Template(rf, ctx) { if (rf & 1) {
340
+ function TabsComponent_For_2_Template(rf, ctx) { if (rf & 1) {
341
341
  const _r1 = i0__namespace.ɵɵgetCurrentView();
342
- i0__namespace.ɵɵelementStart(0, "li", 3)(1, "a", 4);
343
- i0__namespace.ɵɵlistener("click", function TabsComponent_li_1_Template_a_click_1_listener($event) { const ctx_r1 = i0__namespace.ɵɵrestoreView(_r1); const pane_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; pane_r3.select($event); return i0__namespace.ɵɵresetView(pane_r3.tabpaneHeaderClick($event, i_r4)); })("keydown", function TabsComponent_li_1_Template_a_keydown_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.onkeydown($event)); });
344
- i0__namespace.ɵɵtemplate(2, TabsComponent_li_1_i_2_Template, 1, 3, "i", 5);
345
- i0__namespace.ɵɵelement(3, "span", 6);
346
- i0__namespace.ɵɵtemplate(4, TabsComponent_li_1_span_4_Template, 1, 4, "span", 7);
342
+ i0__namespace.ɵɵelementStart(0, "li", 1)(1, "a", 3);
343
+ i0__namespace.ɵɵlistener("click", function TabsComponent_For_2_Template_a_click_1_listener($event) { const ctx_r1 = i0__namespace.ɵɵrestoreView(_r1); const pane_r3 = ctx_r1.$implicit; const ɵ$index_3_r4 = ctx_r1.$index; pane_r3.select($event); return i0__namespace.ɵɵresetView(pane_r3.tabpaneHeaderClick($event, ɵ$index_3_r4)); })("keydown", function TabsComponent_For_2_Template_a_keydown_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.onkeydown($event)); });
344
+ i0__namespace.ɵɵtemplate(2, TabsComponent_For_2_Conditional_2_Template, 1, 3, "i", 4);
345
+ i0__namespace.ɵɵelement(3, "span", 5);
346
+ i0__namespace.ɵɵtemplate(4, TabsComponent_For_2_Conditional_4_Template, 1, 4, "span", 6);
347
347
  i0__namespace.ɵɵelementEnd()();
348
348
  } if (rf & 2) {
349
349
  const pane_r3 = ctx.$implicit;
@@ -354,21 +354,21 @@
354
354
  i0__namespace.ɵɵproperty("tabindex", pane_r3.isActive ? "0" : "-1");
355
355
  i0__namespace.ɵɵattribute("aria-label", pane_r3.badgevalue ? pane_r3.title + " " + pane_r3.badgevalue : pane_r3.title)("icon-position", ctx_r4.iconposition)("title", pane_r3.title)("aria-selected", pane_r3.isActive);
356
356
  i0__namespace.ɵɵadvance();
357
- i0__namespace.ɵɵproperty("ngIf", pane_r3.paneicon);
357
+ i0__namespace.ɵɵconditional(pane_r3.paneicon ? 2 : -1);
358
358
  i0__namespace.ɵɵadvance();
359
359
  i0__namespace.ɵɵproperty("textContent", pane_r3.title);
360
360
  i0__namespace.ɵɵadvance();
361
- i0__namespace.ɵɵproperty("ngIf", pane_r3.badgevalue);
361
+ i0__namespace.ɵɵconditional(pane_r3.badgevalue ? 4 : -1);
362
362
  } }
363
- function TabsComponent_div_2_Template(rf, ctx) { if (rf & 1) {
364
- i0__namespace.ɵɵelementStart(0, "div", 9);
363
+ function TabsComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
364
+ i0__namespace.ɵɵelementStart(0, "div", 2);
365
365
  i0__namespace.ɵɵprojection(1, 0, ["ngProjectAs", "div[wmTabPane]", 5, ["div", "wmTabPane", ""]]);
366
366
  i0__namespace.ɵɵelementEnd();
367
367
  } if (rf & 2) {
368
368
  const ctx_r4 = i0__namespace.ɵɵnextContext();
369
369
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(1, _c6, ctx_r4.vertical, ctx_r4.justified));
370
370
  } }
371
- function TabsComponent_div_3_div_1_Template(rf, ctx) { if (rf & 1) {
371
+ function TabsComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
372
372
  i0__namespace.ɵɵelementStart(0, "div");
373
373
  i0__namespace.ɵɵtext(1);
374
374
  i0__namespace.ɵɵelementEnd();
@@ -377,16 +377,16 @@
377
377
  i0__namespace.ɵɵadvance();
378
378
  i0__namespace.ɵɵtextInterpolate(ctx_r4.nodatamessage);
379
379
  } }
380
- function TabsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
381
- i0__namespace.ɵɵelementStart(0, "div", 9);
382
- i0__namespace.ɵɵtemplate(1, TabsComponent_div_3_div_1_Template, 2, 1, "div", 10);
380
+ function TabsComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
381
+ i0__namespace.ɵɵelementStart(0, "div", 2);
382
+ i0__namespace.ɵɵtemplate(1, TabsComponent_Conditional_4_Conditional_1_Template, 2, 1, "div");
383
383
  i0__namespace.ɵɵprojection(2, 1);
384
384
  i0__namespace.ɵɵelementEnd();
385
385
  } if (rf & 2) {
386
386
  const ctx_r4 = i0__namespace.ɵɵnextContext();
387
387
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(2, _c6, ctx_r4.vertical, ctx_r4.justified));
388
388
  i0__namespace.ɵɵadvance();
389
- i0__namespace.ɵɵproperty("ngIf", ctx_r4.fieldDefs && !ctx_r4.fieldDefs.length);
389
+ i0__namespace.ɵɵconditional(ctx_r4.fieldDefs && !ctx_r4.fieldDefs.length ? 1 : -1);
390
390
  } }
391
391
  const DEFAULT_CLS = 'app-tabs clearfix';
392
392
  const WIDGET_CONFIG = {
@@ -740,27 +740,27 @@
740
740
  i0__namespace.ɵɵattribute("icon-position", ctx.iconposition);
741
741
  } }, exportAs: ["wmTabs"], features: [i0__namespace.ɵɵProvidersFeature([
742
742
  i2.provideAsWidgetRef(TabsComponent)
743
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, ngContentSelectors: _c2, decls: 4, vars: 7, consts: [["role", "tablist", 1, "nav", "nav-tabs", 3, "ngClass"], ["class", "tab-header", "role", "presentation", 3, "ngClass", "hidden", 4, "ngFor", "ngForOf"], ["class", "tab-content", 3, "ngClass", 4, "ngIf"], ["role", "presentation", 1, "tab-header", 3, "ngClass", "hidden"], ["href", "javascript:void(0);", "role", "tab", 1, "tab-heading", 3, "click", "keydown", "tabindex"], [3, "ngClass", 4, "ngIf"], [3, "textContent"], [3, "class", "textContent", 4, "ngIf"], [3, "ngClass"], [1, "tab-content", 3, "ngClass"], [4, "ngIf"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
743
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0, ngContentSelectors: _c2, decls: 5, vars: 6, consts: [["role", "tablist", 1, "nav", "nav-tabs", 3, "ngClass"], ["role", "presentation", 1, "tab-header", 3, "ngClass", "hidden"], [1, "tab-content", 3, "ngClass"], ["href", "javascript:void(0);", "role", "tab", 1, "tab-heading", 3, "click", "keydown", "tabindex"], [3, "ngClass"], [3, "textContent"], [3, "class", "textContent"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
744
744
  i0__namespace.ɵɵprojectionDef(_c1);
745
745
  i0__namespace.ɵɵelementStart(0, "ul", 0);
746
- i0__namespace.ɵɵtemplate(1, TabsComponent_li_1_Template, 5, 14, "li", 1);
746
+ i0__namespace.ɵɵrepeaterCreate(1, TabsComponent_For_2_Template, 5, 14, "li", 1, i0__namespace.ɵɵrepeaterTrackByIdentity);
747
747
  i0__namespace.ɵɵelementEnd();
748
- i0__namespace.ɵɵtemplate(2, TabsComponent_div_2_Template, 2, 4, "div", 2)(3, TabsComponent_div_3_Template, 3, 5, "div", 2);
748
+ i0__namespace.ɵɵtemplate(3, TabsComponent_Conditional_3_Template, 2, 4, "div", 2)(4, TabsComponent_Conditional_4_Template, 3, 5, "div", 2);
749
749
  } if (rf & 2) {
750
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c3, ctx.vertical, ctx.justified));
750
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(3, _c3, ctx.vertical, ctx.justified));
751
751
  i0__namespace.ɵɵadvance();
752
- i0__namespace.ɵɵproperty("ngForOf", ctx.panes);
752
+ i0__namespace.ɵɵrepeater(ctx.panes);
753
+ i0__namespace.ɵɵadvance(2);
754
+ i0__namespace.ɵɵconditional(ctx.type !== "dynamic" ? 3 : -1);
753
755
  i0__namespace.ɵɵadvance();
754
- i0__namespace.ɵɵproperty("ngIf", ctx.type !== "dynamic");
755
- i0__namespace.ɵɵadvance();
756
- i0__namespace.ɵɵproperty("ngIf", ctx.type === "dynamic");
757
- } }, dependencies: [i2$1__namespace.NgClass, i2$1__namespace.NgForOf, i2$1__namespace.NgIf, i2__namespace.TextContentDirective], encapsulation: 2 }); }
756
+ i0__namespace.ɵɵconditional(ctx.type === "dynamic" ? 4 : -1);
757
+ } }, dependencies: [i2$1__namespace.NgClass, i2__namespace.TextContentDirective], encapsulation: 2 }); }
758
758
  }
759
759
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TabsComponent, [{
760
760
  type: i0.Component,
761
761
  args: [{ selector: 'div[wmTabs]', exportAs: 'wmTabs', providers: [
762
762
  i2.provideAsWidgetRef(TabsComponent)
763
- ], template: "<ul class=\"nav nav-tabs\" [ngClass]=\"{'nav-stacked': vertical, 'nav-justified': justified}\" role=\"tablist\">\n <li class=\"tab-header\" *ngFor=\"let pane of panes; let i=index;\" [attr.data-paneid]=\"pane.widgetId\" [ngClass]=\"{'active': pane.isActive, 'disabled': pane.disabled}\"\n [hidden]=\"!pane.show\" role=\"presentation\">\n <a [attr.aria-label]=\"pane.badgevalue ? pane.title + ' ' + pane.badgevalue : pane.title\"\n [attr.icon-position]=\"iconposition\" \n [attr.title]=\"pane.title\"\n [tabindex]=\"pane.isActive ? '0' : '-1'\"\n class=\"tab-heading\" href=\"javascript:void(0);\"\n [attr.aria-selected]=\"pane.isActive\" role=\"tab\" (click)=\"pane.select($event); pane.tabpaneHeaderClick($event, i);\" (keydown)=\"onkeydown($event)\">\n <i [ngClass]=\"['app-icon', pane.paneicon]\" *ngIf=\"pane.paneicon\"></i>\n <span [textContent]=\"pane.title\"></span>\n <span *ngIf=\"pane.badgevalue\" class=\"label label-{{pane.badgetype}}\" [textContent]=\"pane.badgevalue\"></span>\n </a>\n </li>\n</ul>\n<div class=\"tab-content\" *ngIf=\"type !== 'dynamic'\" [ngClass]=\"{'tab-stacked': vertical, 'tab-justified': justified}\">\n <ng-content ngProjectAs=\"div[wmTabPane]\"></ng-content>\n</div>\n<div class=\"tab-content\" *ngIf=\"type === 'dynamic'\" [ngClass]=\"{'tab-stacked': vertical, 'tab-justified': justified}\">\n <div *ngIf=\"fieldDefs && !fieldDefs.length\">{{nodatamessage}}</div>\n <ng-content select=\"div[wmRepeatTemplate]\"></ng-content>\n</div>\n" }]
763
+ ], template: "<ul class=\"nav nav-tabs\" [ngClass]=\"{'nav-stacked': vertical, 'nav-justified': justified}\" role=\"tablist\">\n @for (pane of panes; track pane; let i = $index) {\n <li class=\"tab-header\" [attr.data-paneid]=\"pane.widgetId\" [ngClass]=\"{'active': pane.isActive, 'disabled': pane.disabled}\"\n [hidden]=\"!pane.show\" role=\"presentation\">\n <a [attr.aria-label]=\"pane.badgevalue ? pane.title + ' ' + pane.badgevalue : pane.title\"\n [attr.icon-position]=\"iconposition\"\n [attr.title]=\"pane.title\"\n [tabindex]=\"pane.isActive ? '0' : '-1'\"\n class=\"tab-heading\" href=\"javascript:void(0);\"\n [attr.aria-selected]=\"pane.isActive\" role=\"tab\" (click)=\"pane.select($event); pane.tabpaneHeaderClick($event, i);\" (keydown)=\"onkeydown($event)\">\n @if (pane.paneicon) {\n <i [ngClass]=\"['app-icon', pane.paneicon]\"></i>\n }\n <span [textContent]=\"pane.title\"></span>\n @if (pane.badgevalue) {\n <span class=\"label label-{{pane.badgetype}}\" [textContent]=\"pane.badgevalue\"></span>\n }\n </a>\n </li>\n }\n</ul>\n@if (type !== 'dynamic') {\n <div class=\"tab-content\" [ngClass]=\"{'tab-stacked': vertical, 'tab-justified': justified}\">\n <ng-content ngProjectAs=\"div[wmTabPane]\"></ng-content>\n </div>\n}\n@if (type === 'dynamic') {\n <div class=\"tab-content\" [ngClass]=\"{'tab-stacked': vertical, 'tab-justified': justified}\">\n @if (fieldDefs && !fieldDefs.length) {\n <div>{{nodatamessage}}</div>\n }\n <ng-content select=\"div[wmRepeatTemplate]\"></ng-content>\n </div>\n}\n" }]
764
764
  }], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.DynamicComponentRefProvider }, { type: undefined, decorators: [{
765
765
  type: i0.Attribute,
766
766
  args: ['transition']