@wavemaker/app-ng-runtime 11.10.2-rc.6065 → 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
@@ -58,22 +58,22 @@
58
58
  const _c2$8 = [".caret"];
59
59
  const _c3$4 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
60
60
  const _c4$3 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
61
- function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
62
- i0__namespace.ɵɵelement(0, "img", 5);
61
+ function ButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
62
+ i0__namespace.ɵɵelement(0, "img", 0);
63
63
  i0__namespace.ɵɵpipe(1, "image");
64
64
  } if (rf & 2) {
65
65
  const ctx_r0 = i0__namespace.ɵɵnextContext();
66
66
  i0__namespace.ɵɵproperty("src", i0__namespace.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c3$4, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
67
67
  } }
68
- function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
69
- i0__namespace.ɵɵelement(0, "i", 6);
68
+ function ButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
69
+ i0__namespace.ɵɵelement(0, "i", 5);
70
70
  } if (rf & 2) {
71
71
  const ctx_r0 = i0__namespace.ɵɵnextContext();
72
72
  i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
73
73
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction4(4, _c4$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
74
74
  } }
75
- function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
76
- i0__namespace.ɵɵelementStart(0, "span", 7);
75
+ function ButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
76
+ i0__namespace.ɵɵelementStart(0, "span", 2);
77
77
  i0__namespace.ɵɵtext(1);
78
78
  i0__namespace.ɵɵelementEnd();
79
79
  } if (rf & 2) {
@@ -81,8 +81,8 @@
81
81
  i0__namespace.ɵɵadvance();
82
82
  i0__namespace.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
83
83
  } }
84
- function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
85
- i0__namespace.ɵɵelement(0, "span", 8);
84
+ function ButtonComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
85
+ i0__namespace.ɵɵelement(0, "span", 4);
86
86
  } if (rf & 2) {
87
87
  const ctx_r0 = i0__namespace.ɵɵnextContext();
88
88
  i0__namespace.ɵɵproperty("textContent", ctx_r0.badgevalue);
@@ -105,29 +105,29 @@
105
105
  i0__namespace.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
106
106
  } }, exportAs: ["wmButton"], features: [i0__namespace.ɵɵProvidersFeature([
107
107
  i2.provideAsWidgetRef(ButtonComponent)
108
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c2$8, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "button image", "class", "button-image-icon", 3, "src", "ngStyle", 4, "ngIf"], ["aria-hidden", "true", 3, "class", "ngStyle", 4, "ngIf"], ["class", "sr-only", 4, "ngIf"], [1, "btn-caption", 3, "innerHTML"], ["class", "badge pull-right", 3, "textContent", 4, "ngIf"], ["data-identifier", "img", "alt", "button image", 1, "button-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "ngStyle"], [1, "sr-only"], [1, "badge", "pull-right", 3, "textContent"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
108
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$c, ngContentSelectors: _c2$8, decls: 6, vars: 5, consts: [["data-identifier", "img", "alt", "button image", 1, "button-image-icon", 3, "src", "ngStyle"], ["aria-hidden", "true", 3, "class", "ngStyle"], [1, "sr-only"], [1, "btn-caption", 3, "innerHTML"], [1, "badge", "pull-right", 3, "textContent"], ["aria-hidden", "true", 3, "ngStyle"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
109
109
  i0__namespace.ɵɵprojectionDef(_c1$b);
110
- i0__namespace.ɵɵtemplate(0, ButtonComponent_img_0_Template, 2, 8, "img", 0)(1, ButtonComponent_i_1_Template, 1, 9, "i", 1)(2, ButtonComponent_span_2_Template, 2, 2, "span", 2);
110
+ i0__namespace.ɵɵtemplate(0, ButtonComponent_Conditional_0_Template, 2, 8, "img", 0)(1, ButtonComponent_Conditional_1_Template, 1, 9, "i", 1)(2, ButtonComponent_Conditional_2_Template, 2, 2, "span", 2);
111
111
  i0__namespace.ɵɵelement(3, "span", 3);
112
112
  i0__namespace.ɵɵprojection(4);
113
- i0__namespace.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
113
+ i0__namespace.ɵɵtemplate(5, ButtonComponent_Conditional_5_Template, 1, 1, "span", 4);
114
114
  } if (rf & 2) {
115
- i0__namespace.ɵɵproperty("ngIf", ctx.iconurl);
115
+ i0__namespace.ɵɵconditional(ctx.iconurl ? 0 : -1);
116
116
  i0__namespace.ɵɵadvance();
117
- i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
117
+ i0__namespace.ɵɵconditional(ctx.iconclass ? 1 : -1);
118
118
  i0__namespace.ɵɵadvance();
119
- i0__namespace.ɵɵproperty("ngIf", ctx.iconclass);
119
+ i0__namespace.ɵɵconditional(ctx.iconclass ? 2 : -1);
120
120
  i0__namespace.ɵɵadvance();
121
121
  i0__namespace.ɵɵproperty("innerHTML", ctx.caption, i0__namespace.ɵɵsanitizeHtml);
122
122
  i0__namespace.ɵɵadvance(2);
123
- i0__namespace.ɵɵproperty("ngIf", ctx.badgevalue);
124
- } }, dependencies: [i1__namespace.NgIf, i1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
123
+ i0__namespace.ɵɵconditional(ctx.badgevalue ? 5 : -1);
124
+ } }, dependencies: [i1__namespace.NgStyle, i2__namespace.TextContentDirective, i2__namespace.ImagePipe], encapsulation: 2 }); }
125
125
  }
126
126
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ButtonComponent, [{
127
127
  type: i0.Component,
128
128
  args: [{ selector: 'button[wmButton]', providers: [
129
129
  i2.provideAsWidgetRef(ButtonComponent)
130
- ], exportAs: 'wmButton', template: "<img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" *ngIf=\"iconurl\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n<i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\" *ngIf=\"iconclass\"></i>\n<span class=\"sr-only\" *ngIf=\"iconclass\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n<span *ngIf=\"badgevalue\" class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n" }]
130
+ ], exportAs: 'wmButton', template: "@if (iconurl) {\n <img data-identifier=\"img\" alt=\"button image\" class=\"button-image-icon\" [src]=\"iconurl | image\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin}\"/>\n}\n@if (iconclass) {\n <i class=\"app-icon {{iconclass}}\" aria-hidden=\"true\" [ngStyle]=\"{width:iconwidth, height:iconheight, margin:iconmargin, fontSize:iconwidth}\"></i>\n}\n@if (iconclass) {\n <span class=\"sr-only\">{{caption}} {{appLocale.LABEL_ICON}}</span>\n}\n<span class=\"btn-caption\" [innerHTML]=\"caption\"></span>\n<ng-content select=\".caret\"></ng-content>\n@if (badgevalue) {\n <span class=\"badge pull-right\" [textContent]=\"badgevalue\"></span>\n}\n" }]
131
131
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
132
132
  type: i0.Inject,
133
133
  args: ['EXPLICIT_CONTEXT']
@@ -915,41 +915,41 @@
915
915
  const _c2$6 = a0 => ({ "disabled": a0 });
916
916
  const _c3$2 = a0 => ({ "collapsible-content": a0 });
917
917
  const _c4$2 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
918
- function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
919
- i0__namespace.ɵɵelementStart(0, "label", 8);
920
- i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 10);
918
+ function CheckboxsetComponent_Conditional_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
919
+ i0__namespace.ɵɵelementStart(0, "label", 4);
920
+ i0__namespace.ɵɵelement(1, "input", 6)(2, "span", 7);
921
921
  i0__namespace.ɵɵelementEnd();
922
922
  } if (rf & 2) {
923
923
  const ctx_r3 = i0__namespace.ɵɵnextContext();
924
924
  const item_r2 = ctx_r3.$implicit;
925
- const i_r5 = ctx_r3.index;
925
+ const ɵ$index_2_r5 = ctx_r3.$index;
926
926
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
927
927
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
928
928
  i0__namespace.ɵɵadvance();
929
929
  i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
930
- i0__namespace.ɵɵattribute("data-attr-index", i_r5);
930
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
931
931
  i0__namespace.ɵɵadvance();
932
932
  i0__namespace.ɵɵproperty("textContent", item_r2.label);
933
933
  } }
934
- function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
935
- i0__namespace.ɵɵelementStart(0, "label", 11);
936
- i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 12);
934
+ function CheckboxsetComponent_Conditional_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
935
+ i0__namespace.ɵɵelementStart(0, "label", 5);
936
+ i0__namespace.ɵɵelement(1, "input", 6)(2, "span", 8);
937
937
  i0__namespace.ɵɵelementEnd();
938
938
  } if (rf & 2) {
939
939
  const ctx_r3 = i0__namespace.ɵɵnextContext();
940
940
  const item_r2 = ctx_r3.$implicit;
941
- const i_r5 = ctx_r3.index;
941
+ const ɵ$index_2_r5 = ctx_r3.$index;
942
942
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
943
943
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
944
944
  i0__namespace.ɵɵadvance();
945
945
  i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r2.key)("tabindex", ctx_r2.tabindex)("checked", item_r2.selected);
946
- i0__namespace.ɵɵattribute("data-attr-index", i_r5);
946
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
947
947
  } }
948
- function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
948
+ function CheckboxsetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
949
949
  const _r1 = i0__namespace.ɵɵgetCurrentView();
950
- i0__namespace.ɵɵelementStart(0, "li", 5);
951
- i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
952
- i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_0_li_0_label_1_Template, 3, 12, "label", 6)(2, CheckboxsetComponent_ng_template_0_li_0_label_2_Template, 3, 10, "label", 7);
950
+ i0__namespace.ɵɵelementStart(0, "li", 3);
951
+ i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_Conditional_0_For_1_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
952
+ i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_Conditional_0_For_1_Conditional_1_Template, 3, 12, "label", 4)(2, CheckboxsetComponent_Conditional_0_For_1_Conditional_2_Template, 3, 10, "label", 5);
953
953
  i0__namespace.ɵɵelementEnd();
954
954
  } if (rf & 2) {
955
955
  const item_r2 = ctx.$implicit;
@@ -957,66 +957,63 @@
957
957
  i0__namespace.ɵɵclassProp("active", item_r2.selected);
958
958
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c1$9, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
959
959
  i0__namespace.ɵɵadvance();
960
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
960
+ i0__namespace.ɵɵconditional(!ctx_r2.content ? 1 : -1);
961
961
  i0__namespace.ɵɵadvance();
962
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
962
+ i0__namespace.ɵɵconditional(ctx_r2.content ? 2 : -1);
963
963
  } }
964
- function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
965
- i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
964
+ function CheckboxsetComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
965
+ i0__namespace.ɵɵrepeaterCreate(0, CheckboxsetComponent_Conditional_0_For_1_Template, 3, 10, "li", 2, i0__namespace.ɵɵrepeaterTrackByIdentity);
966
966
  } if (rf & 2) {
967
967
  const ctx_r2 = i0__namespace.ɵɵnextContext();
968
- i0__namespace.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
968
+ i0__namespace.ɵɵrepeater(ctx_r2.datasetItems);
969
969
  } }
970
- function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
971
- i0__namespace.ɵɵelement(0, "div", 13);
972
- } }
973
- function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
974
- i0__namespace.ɵɵelement(0, "i", 23);
970
+ function CheckboxsetComponent_Conditional_1_For_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
971
+ i0__namespace.ɵɵelement(0, "i", 14);
975
972
  } if (rf & 2) {
976
973
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
977
974
  i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
978
975
  } }
979
- function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
980
- i0__namespace.ɵɵelement(0, "span", 24);
976
+ function CheckboxsetComponent_Conditional_1_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
977
+ i0__namespace.ɵɵelement(0, "span", 15);
981
978
  } if (rf & 2) {
982
979
  const groupObj_r7 = i0__namespace.ɵɵnextContext().$implicit;
983
980
  i0__namespace.ɵɵproperty("textContent", groupObj_r7.data.length);
984
981
  } }
985
- function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
986
- i0__namespace.ɵɵelementStart(0, "label", 8);
987
- i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 10);
982
+ function CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
983
+ i0__namespace.ɵɵelementStart(0, "label", 4);
984
+ i0__namespace.ɵɵelement(1, "input", 6)(2, "span", 7);
988
985
  i0__namespace.ɵɵelementEnd();
989
986
  } if (rf & 2) {
990
987
  const ctx_r9 = i0__namespace.ɵɵnextContext();
991
988
  const item_r9 = ctx_r9.$implicit;
992
- const i_r11 = ctx_r9.index;
989
+ const ɵ$index_38_r11 = ctx_r9.$index;
993
990
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
994
991
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r9.label);
995
992
  i0__namespace.ɵɵadvance();
996
993
  i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
997
- i0__namespace.ɵɵattribute("data-attr-index", i_r11);
994
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
998
995
  i0__namespace.ɵɵadvance();
999
996
  i0__namespace.ɵɵproperty("textContent", item_r9.label);
1000
997
  } }
1001
- function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
1002
- i0__namespace.ɵɵelementStart(0, "label", 11);
1003
- i0__namespace.ɵɵelement(1, "input", 9)(2, "span", 26);
998
+ function CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
999
+ i0__namespace.ɵɵelementStart(0, "label", 5);
1000
+ i0__namespace.ɵɵelement(1, "input", 6)(2, "span", 18);
1004
1001
  i0__namespace.ɵɵelementEnd();
1005
1002
  } if (rf & 2) {
1006
1003
  const ctx_r9 = i0__namespace.ɵɵnextContext();
1007
1004
  const item_r9 = ctx_r9.$implicit;
1008
- const i_r11 = ctx_r9.index;
1005
+ const ɵ$index_38_r11 = ctx_r9.$index;
1009
1006
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
1010
1007
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
1011
1008
  i0__namespace.ɵɵadvance();
1012
1009
  i0__namespace.ɵɵproperty("name", "checkboxset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("disabled", ctx_r2.disabled || ctx_r2.readonly)("value", item_r9.key)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
1013
- i0__namespace.ɵɵattribute("data-attr-index", i_r11);
1010
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
1014
1011
  } }
1015
- function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
1012
+ function CheckboxsetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (rf & 1) {
1016
1013
  const _r8 = i0__namespace.ɵɵgetCurrentView();
1017
- i0__namespace.ɵɵelementStart(0, "li", 25);
1018
- i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
1019
- i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 12, "label", 6)(2, CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 10, "label", 7);
1014
+ i0__namespace.ɵɵelementStart(0, "li", 17);
1015
+ i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_Conditional_1_For_1_For_9_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
1016
+ i0__namespace.ɵɵtemplate(1, CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_1_Template, 3, 12, "label", 4)(2, CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_2_Template, 3, 10, "label", 5);
1020
1017
  i0__namespace.ɵɵelementEnd();
1021
1018
  } if (rf & 2) {
1022
1019
  const item_r9 = ctx.$implicit;
@@ -1024,45 +1021,48 @@
1024
1021
  i0__namespace.ɵɵclassProp("active", item_r9.selected);
1025
1022
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c4$2, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
1026
1023
  i0__namespace.ɵɵadvance();
1027
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
1024
+ i0__namespace.ɵɵconditional(!ctx_r2.content ? 1 : -1);
1028
1025
  i0__namespace.ɵɵadvance();
1029
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
1026
+ i0__namespace.ɵɵconditional(ctx_r2.content ? 2 : -1);
1030
1027
  } }
1031
- function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
1028
+ function CheckboxsetComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
1032
1029
  const _r6 = i0__namespace.ɵɵgetCurrentView();
1033
- i0__namespace.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
1034
- i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
1035
- i0__namespace.ɵɵelementStart(3, "h4", 18);
1030
+ i0__namespace.ɵɵelementStart(0, "li", 9)(1, "ul", 10)(2, "li", 11);
1031
+ i0__namespace.ɵɵlistener("click", function CheckboxsetComponent_Conditional_1_For_1_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
1032
+ i0__namespace.ɵɵelementStart(3, "h4", 12);
1036
1033
  i0__namespace.ɵɵtext(4);
1037
- i0__namespace.ɵɵelementStart(5, "div", 19);
1038
- i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 20)(7, CheckboxsetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 21);
1034
+ i0__namespace.ɵɵelementStart(5, "div", 13);
1035
+ i0__namespace.ɵɵtemplate(6, CheckboxsetComponent_Conditional_1_For_1_Conditional_6_Template, 1, 3, "i", 14)(7, CheckboxsetComponent_Conditional_1_For_1_Conditional_7_Template, 1, 1, "span", 15);
1039
1036
  i0__namespace.ɵɵelementEnd()()();
1040
- i0__namespace.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
1037
+ i0__namespace.ɵɵrepeaterCreate(8, CheckboxsetComponent_Conditional_1_For_1_For_9_Template, 3, 10, "li", 16, i0__namespace.ɵɵrepeaterTrackByIdentity);
1041
1038
  i0__namespace.ɵɵelementEnd()();
1042
1039
  } if (rf & 2) {
1043
1040
  const groupObj_r7 = ctx.$implicit;
1044
- const groupindex_r12 = ctx.index;
1041
+ const ɵ$index_20_r12 = ctx.$index;
1045
1042
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
1046
1043
  i0__namespace.ɵɵadvance();
1047
- i0__namespace.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
1044
+ i0__namespace.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12);
1048
1045
  i0__namespace.ɵɵadvance();
1049
- i0__namespace.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(9, _c3$2, ctx_r2.collapsible));
1046
+ i0__namespace.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12)("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c3$2, ctx_r2.collapsible));
1050
1047
  i0__namespace.ɵɵadvance();
1051
1048
  i0__namespace.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
1052
1049
  i0__namespace.ɵɵadvance();
1053
1050
  i0__namespace.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
1054
1051
  i0__namespace.ɵɵadvance(2);
1055
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.collapsible);
1052
+ i0__namespace.ɵɵconditional(ctx_r2.collapsible ? 6 : -1);
1056
1053
  i0__namespace.ɵɵadvance();
1057
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.showcount);
1054
+ i0__namespace.ɵɵconditional(ctx_r2.showcount ? 7 : -1);
1058
1055
  i0__namespace.ɵɵadvance();
1059
- i0__namespace.ɵɵproperty("ngForOf", groupObj_r7.data);
1056
+ i0__namespace.ɵɵrepeater(groupObj_r7.data);
1060
1057
  } }
1061
- function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
1062
- i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 11, "li", 14);
1058
+ function CheckboxsetComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1059
+ i0__namespace.ɵɵrepeaterCreate(0, CheckboxsetComponent_Conditional_1_For_1_Template, 10, 10, "li", 9, i0__namespace.ɵɵrepeaterTrackByIdentity);
1063
1060
  } if (rf & 2) {
1064
1061
  const ctx_r2 = i0__namespace.ɵɵnextContext();
1065
- i0__namespace.ɵɵproperty("ngForOf", ctx_r2.groupedData);
1062
+ i0__namespace.ɵɵrepeater(ctx_r2.groupedData);
1063
+ } }
1064
+ function CheckboxsetComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
1065
+ i0__namespace.ɵɵelement(0, "div", 1);
1066
1066
  } }
1067
1067
  const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
1068
1068
  const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
@@ -1136,18 +1136,17 @@
1136
1136
  i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
1137
1137
  i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
1138
1138
  i2.provideAsWidgetRef(CheckboxsetComponent)
1139
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-checkboxset-label", 3, "ngClass", "title", 4, "ngIf"], ["class", "app-checkboxset-label", 3, "ngClass", 4, "ngIf"], [1, "app-checkboxset-label", 3, "ngClass", "title"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], [1, "app-checkboxset-label", 3, "ngClass"], ["partial-container-target", "", 1, "caption", "customTemplate"], [1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) { if (rf & 1) {
1140
- i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
1141
- i0__namespace.ɵɵelement(1, "input", 2);
1142
- i0__namespace.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
1139
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$a, decls: 4, vars: 3, consts: [["hidden", "", 1, "model-holder", 3, "disabled"], [1, "readonly-wrapper"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], [1, "app-checkboxset-label", 3, "ngClass", "title"], [1, "app-checkboxset-label", 3, "ngClass"], ["type", "checkbox", 3, "name", "tabindex", "disabled", "value", "checked"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["partial-container-target", "", 1, "caption"]], template: function CheckboxsetComponent_Template(rf, ctx) { if (rf & 1) {
1140
+ i0__namespace.ɵɵtemplate(0, CheckboxsetComponent_Conditional_0_Template, 2, 0)(1, CheckboxsetComponent_Conditional_1_Template, 2, 0);
1141
+ i0__namespace.ɵɵelement(2, "input", 0);
1142
+ i0__namespace.ɵɵtemplate(3, CheckboxsetComponent_Conditional_3_Template, 1, 0, "div", 1);
1143
1143
  } if (rf & 2) {
1144
- const groupedListTemplate_r13 = i0__namespace.ɵɵreference(4);
1145
- i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
1146
- i0__namespace.ɵɵadvance();
1144
+ i0__namespace.ɵɵconditional(!ctx.groupby ? 0 : 1);
1145
+ i0__namespace.ɵɵadvance(2);
1147
1146
  i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
1148
1147
  i0__namespace.ɵɵadvance();
1149
- i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
1150
- } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
1148
+ i0__namespace.ɵɵconditional(ctx.readonly || ctx.disabled ? 3 : -1);
1149
+ } }, dependencies: [i1__namespace.NgClass, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
1151
1150
  }
1152
1151
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CheckboxsetComponent, [{
1153
1152
  type: i0.Component,
@@ -1155,7 +1154,7 @@
1155
1154
  i2.provideAs(CheckboxsetComponent, i2$1.NG_VALUE_ACCESSOR, true),
1156
1155
  i2.provideAs(CheckboxsetComponent, i2$1.NG_VALIDATORS, true),
1157
1156
  i2.provideAsWidgetRef(CheckboxsetComponent)
1158
- ], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems; let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData; let groupindex = index;\" class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
1157
+ ], template: "@if (!groupby) {\n @for (item of datasetItems; track item; let i = $index) {\n <li [ngClass]=\"['checkbox', 'app-checkbox', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n @if (!content) {\n <label class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n }\n <!-- Custom partial template -->\n @if (content) {\n <label class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" [tabindex]=\"tabindex\"\n type=\"checkbox\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n }\n </li>\n }\n} @else {\n @for (groupObj of groupedData; track groupObj; let groupindex = $index) {\n <li class=\"app-list-item-group\" role=\"presentation\">\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n }\n </div>\n </h4>\n </li>\n @for (item of groupObj.data; track item; let i = $index) {\n <li\n [ngClass]=\"['checkbox', 'app-checkbox', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onCheckboxLabelClick($event, item)\">\n <!-- Default item template -->\n @if (!content) {\n <label class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" [title]=\"item.label\">\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n }\n <!-- Custom partial template -->\n @if (content) {\n <label class=\"app-checkboxset-label\" [ngClass]=\"{'disabled':disabled || readonly}\" >\n <input [name]=\"'checkboxset_' + widgetId\" type=\"checkbox\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled || readonly\" [attr.data-attr-index]=\"i\"\n [value]=\"item.key\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" partial-container-target></span>\n </label>\n }\n </li>\n }\n </ul>\n </li>\n }\n}\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n@if (readonly || disabled) {\n <div class=\"readonly-wrapper\"></div>\n}\n\n<!-- This template will be displayed when groupby is specified. -->\n" }]
1159
1158
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
1160
1159
  type: i0.Inject,
1161
1160
  args: ['EXPLICIT_CONTEXT']
@@ -1985,41 +1984,41 @@
1985
1984
  const _c2$5 = a0 => ({ "disabled": a0 });
1986
1985
  const _c3$1 = a0 => ({ "collapsible-content": a0 });
1987
1986
  const _c4$1 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
1988
- function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
1989
- i0__namespace.ɵɵelementStart(0, "label", 7);
1990
- i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 9);
1987
+ function RadiosetComponent_Conditional_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1988
+ i0__namespace.ɵɵelementStart(0, "label", 4);
1989
+ i0__namespace.ɵɵelement(1, "input", 5)(2, "span", 6);
1991
1990
  i0__namespace.ɵɵelementEnd();
1992
1991
  } if (rf & 2) {
1993
1992
  const ctx_r3 = i0__namespace.ɵɵnextContext();
1994
1993
  const item_r2 = ctx_r3.$implicit;
1995
- const i_r5 = ctx_r3.index;
1994
+ const ɵ$index_2_r5 = ctx_r3.$index;
1996
1995
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
1997
1996
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
1998
1997
  i0__namespace.ɵɵadvance();
1999
1998
  i0__namespace.ɵɵproperty("checked", item_r2.selected)("disabled", ctx_r2.disabled || ctx_r2.readonly)("name", "radioset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("value", item_r2.key);
2000
- i0__namespace.ɵɵattribute("data-attr-index", i_r5);
1999
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
2001
2000
  i0__namespace.ɵɵadvance();
2002
2001
  i0__namespace.ɵɵproperty("textContent", item_r2.label);
2003
2002
  } }
2004
- function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
2005
- i0__namespace.ɵɵelementStart(0, "label", 7);
2006
- i0__namespace.ɵɵelement(1, "input", 8)(2, "span", 10);
2003
+ function RadiosetComponent_Conditional_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
2004
+ i0__namespace.ɵɵelementStart(0, "label", 4);
2005
+ i0__namespace.ɵɵelement(1, "input", 5)(2, "span", 7);
2007
2006
  i0__namespace.ɵɵelementEnd();
2008
2007
  } if (rf & 2) {
2009
2008
  const ctx_r3 = i0__namespace.ɵɵnextContext();
2010
2009
  const item_r2 = ctx_r3.$implicit;
2011
- const i_r5 = ctx_r3.index;
2010
+ const ɵ$index_2_r5 = ctx_r3.$index;
2012
2011
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
2013
2012
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
2014
2013
  i0__namespace.ɵɵadvance();
2015
2014
  i0__namespace.ɵɵproperty("checked", item_r2.selected)("disabled", ctx_r2.disabled || ctx_r2.readonly)("name", "radioset_" + ctx_r2.widgetId)("tabindex", ctx_r2.tabindex)("value", item_r2.key);
2016
- i0__namespace.ɵɵattribute("data-attr-index", i_r5);
2015
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
2017
2016
  } }
2018
- function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
2017
+ function RadiosetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
2019
2018
  const _r1 = i0__namespace.ɵɵgetCurrentView();
2020
- i0__namespace.ɵɵelementStart(0, "li", 5);
2021
- i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
2022
- i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_0_li_0_label_1_Template, 3, 10, "label", 6)(2, RadiosetComponent_ng_template_0_li_0_label_2_Template, 3, 9, "label", 6);
2019
+ i0__namespace.ɵɵelementStart(0, "li", 3);
2020
+ i0__namespace.ɵɵlistener("click", function RadiosetComponent_Conditional_0_For_1_Template_li_click_0_listener($event) { const item_r2 = i0__namespace.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
2021
+ i0__namespace.ɵɵtemplate(1, RadiosetComponent_Conditional_0_For_1_Conditional_1_Template, 3, 10, "label", 4)(2, RadiosetComponent_Conditional_0_For_1_Conditional_2_Template, 3, 9, "label", 4);
2023
2022
  i0__namespace.ɵɵelementEnd();
2024
2023
  } if (rf & 2) {
2025
2024
  const item_r2 = ctx.$implicit;
@@ -2027,66 +2026,63 @@
2027
2026
  i0__namespace.ɵɵclassProp("active", item_r2.selected);
2028
2027
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c1$7, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
2029
2028
  i0__namespace.ɵɵadvance();
2030
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
2029
+ i0__namespace.ɵɵconditional(!ctx_r2.content ? 1 : -1);
2031
2030
  i0__namespace.ɵɵadvance();
2032
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
2031
+ i0__namespace.ɵɵconditional(ctx_r2.content ? 2 : -1);
2033
2032
  } }
2034
- function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2035
- i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
2033
+ function RadiosetComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
2034
+ i0__namespace.ɵɵrepeaterCreate(0, RadiosetComponent_Conditional_0_For_1_Template, 3, 10, "li", 2, i0__namespace.ɵɵrepeaterTrackByIdentity);
2036
2035
  } if (rf & 2) {
2037
2036
  const ctx_r2 = i0__namespace.ɵɵnextContext();
2038
- i0__namespace.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
2037
+ i0__namespace.ɵɵrepeater(ctx_r2.datasetItems);
2039
2038
  } }
2040
- function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
2041
- i0__namespace.ɵɵelement(0, "div", 11);
2042
- } }
2043
- function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
2044
- i0__namespace.ɵɵelement(0, "i", 21);
2039
+ function RadiosetComponent_Conditional_1_For_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
2040
+ i0__namespace.ɵɵelement(0, "i", 13);
2045
2041
  } if (rf & 2) {
2046
2042
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
2047
2043
  i0__namespace.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
2048
2044
  } }
2049
- function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
2050
- i0__namespace.ɵɵelement(0, "span", 22);
2045
+ function RadiosetComponent_Conditional_1_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
2046
+ i0__namespace.ɵɵelement(0, "span", 14);
2051
2047
  } if (rf & 2) {
2052
2048
  const groupObj_r7 = i0__namespace.ɵɵnextContext().$implicit;
2053
2049
  i0__namespace.ɵɵproperty("textContent", groupObj_r7.data.length);
2054
2050
  } }
2055
- function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
2056
- i0__namespace.ɵɵelementStart(0, "label", 7);
2057
- i0__namespace.ɵɵelement(1, "input", 24)(2, "span", 9);
2051
+ function RadiosetComponent_Conditional_1_For_1_For_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2052
+ i0__namespace.ɵɵelementStart(0, "label", 4);
2053
+ i0__namespace.ɵɵelement(1, "input", 17)(2, "span", 6);
2058
2054
  i0__namespace.ɵɵelementEnd();
2059
2055
  } if (rf & 2) {
2060
2056
  const ctx_r9 = i0__namespace.ɵɵnextContext();
2061
2057
  const item_r9 = ctx_r9.$implicit;
2062
- const i_r11 = ctx_r9.index;
2058
+ const ɵ$index_38_r11 = ctx_r9.$index;
2063
2059
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
2064
2060
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
2065
2061
  i0__namespace.ɵɵadvance();
2066
2062
  i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
2067
- i0__namespace.ɵɵattribute("data-attr-index", i_r11);
2063
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
2068
2064
  i0__namespace.ɵɵadvance();
2069
2065
  i0__namespace.ɵɵproperty("textContent", item_r9.label);
2070
2066
  } }
2071
- function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
2072
- i0__namespace.ɵɵelementStart(0, "label", 7);
2073
- i0__namespace.ɵɵelement(1, "input", 24)(2, "span", 10);
2067
+ function RadiosetComponent_Conditional_1_For_1_For_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
2068
+ i0__namespace.ɵɵelementStart(0, "label", 4);
2069
+ i0__namespace.ɵɵelement(1, "input", 17)(2, "span", 7);
2074
2070
  i0__namespace.ɵɵelementEnd();
2075
2071
  } if (rf & 2) {
2076
2072
  const ctx_r9 = i0__namespace.ɵɵnextContext();
2077
2073
  const item_r9 = ctx_r9.$implicit;
2078
- const i_r11 = ctx_r9.index;
2074
+ const ɵ$index_38_r11 = ctx_r9.$index;
2079
2075
  const ctx_r2 = i0__namespace.ɵɵnextContext(3);
2080
2076
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
2081
2077
  i0__namespace.ɵɵadvance();
2082
2078
  i0__namespace.ɵɵproperty("name", "radioset_" + ctx_r2.widgetId)("value", item_r9.key)("disabled", ctx_r2.disabled || ctx_r2.readonly)("tabindex", ctx_r2.tabindex)("checked", item_r9.selected);
2083
- i0__namespace.ɵɵattribute("data-attr-index", i_r11);
2079
+ i0__namespace.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
2084
2080
  } }
2085
- function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
2081
+ function RadiosetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (rf & 1) {
2086
2082
  const _r8 = i0__namespace.ɵɵgetCurrentView();
2087
- i0__namespace.ɵɵelementStart(0, "li", 23);
2088
- i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
2089
- i0__namespace.ɵɵtemplate(1, RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template, 3, 10, "label", 6)(2, RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template, 3, 9, "label", 6);
2083
+ i0__namespace.ɵɵelementStart(0, "li", 16);
2084
+ i0__namespace.ɵɵlistener("click", function RadiosetComponent_Conditional_1_For_1_For_9_Template_li_click_0_listener($event) { const item_r9 = i0__namespace.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0__namespace.ɵɵnextContext(3); return i0__namespace.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
2085
+ i0__namespace.ɵɵtemplate(1, RadiosetComponent_Conditional_1_For_1_For_9_Conditional_1_Template, 3, 10, "label", 4)(2, RadiosetComponent_Conditional_1_For_1_For_9_Conditional_2_Template, 3, 9, "label", 4);
2090
2086
  i0__namespace.ɵɵelementEnd();
2091
2087
  } if (rf & 2) {
2092
2088
  const item_r9 = ctx.$implicit;
@@ -2094,45 +2090,48 @@
2094
2090
  i0__namespace.ɵɵclassProp("active", item_r9.selected);
2095
2091
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
2096
2092
  i0__namespace.ɵɵadvance();
2097
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.content);
2093
+ i0__namespace.ɵɵconditional(!ctx_r2.content ? 1 : -1);
2098
2094
  i0__namespace.ɵɵadvance();
2099
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.content);
2095
+ i0__namespace.ɵɵconditional(ctx_r2.content ? 2 : -1);
2100
2096
  } }
2101
- function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
2097
+ function RadiosetComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
2102
2098
  const _r6 = i0__namespace.ɵɵgetCurrentView();
2103
- i0__namespace.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
2104
- i0__namespace.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
2105
- i0__namespace.ɵɵelementStart(3, "h4", 16);
2099
+ i0__namespace.ɵɵelementStart(0, "li", 8)(1, "ul", 9)(2, "li", 10);
2100
+ i0__namespace.ɵɵlistener("click", function RadiosetComponent_Conditional_1_For_1_Template_li_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r2 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
2101
+ i0__namespace.ɵɵelementStart(3, "h4", 11);
2106
2102
  i0__namespace.ɵɵtext(4);
2107
- i0__namespace.ɵɵelementStart(5, "div", 17);
2108
- i0__namespace.ɵɵtemplate(6, RadiosetComponent_ng_template_3_li_0_i_6_Template, 1, 3, "i", 18)(7, RadiosetComponent_ng_template_3_li_0_span_7_Template, 1, 1, "span", 19);
2103
+ i0__namespace.ɵɵelementStart(5, "div", 12);
2104
+ i0__namespace.ɵɵtemplate(6, RadiosetComponent_Conditional_1_For_1_Conditional_6_Template, 1, 3, "i", 13)(7, RadiosetComponent_Conditional_1_For_1_Conditional_7_Template, 1, 1, "span", 14);
2109
2105
  i0__namespace.ɵɵelementEnd()()();
2110
- i0__namespace.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
2106
+ i0__namespace.ɵɵrepeaterCreate(8, RadiosetComponent_Conditional_1_For_1_For_9_Template, 3, 10, "li", 15, i0__namespace.ɵɵrepeaterTrackByIdentity);
2111
2107
  i0__namespace.ɵɵelementEnd()();
2112
2108
  } if (rf & 2) {
2113
2109
  const groupObj_r7 = ctx.$implicit;
2114
- const groupindex_r12 = ctx.index;
2110
+ const ɵ$index_20_r12 = ctx.$index;
2115
2111
  const ctx_r2 = i0__namespace.ɵɵnextContext(2);
2116
2112
  i0__namespace.ɵɵadvance();
2117
- i0__namespace.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
2113
+ i0__namespace.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12);
2118
2114
  i0__namespace.ɵɵadvance();
2119
- i0__namespace.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(9, _c3$1, ctx_r2.collapsible));
2115
+ i0__namespace.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12)("title", groupObj_r7.key)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c3$1, ctx_r2.collapsible));
2120
2116
  i0__namespace.ɵɵadvance();
2121
2117
  i0__namespace.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
2122
2118
  i0__namespace.ɵɵadvance();
2123
2119
  i0__namespace.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
2124
2120
  i0__namespace.ɵɵadvance(2);
2125
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.collapsible);
2121
+ i0__namespace.ɵɵconditional(ctx_r2.collapsible ? 6 : -1);
2126
2122
  i0__namespace.ɵɵadvance();
2127
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.showcount);
2123
+ i0__namespace.ɵɵconditional(ctx_r2.showcount ? 7 : -1);
2128
2124
  i0__namespace.ɵɵadvance();
2129
- i0__namespace.ɵɵproperty("ngForOf", groupObj_r7.data);
2125
+ i0__namespace.ɵɵrepeater(groupObj_r7.data);
2130
2126
  } }
2131
- function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
2132
- i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 11, "li", 12);
2127
+ function RadiosetComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2128
+ i0__namespace.ɵɵrepeaterCreate(0, RadiosetComponent_Conditional_1_For_1_Template, 10, 10, "li", 8, i0__namespace.ɵɵrepeaterTrackByIdentity);
2133
2129
  } if (rf & 2) {
2134
2130
  const ctx_r2 = i0__namespace.ɵɵnextContext();
2135
- i0__namespace.ɵɵproperty("ngForOf", ctx_r2.groupedData);
2131
+ i0__namespace.ɵɵrepeater(ctx_r2.groupedData);
2132
+ } }
2133
+ function RadiosetComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2134
+ i0__namespace.ɵɵelement(0, "div", 1);
2136
2135
  } }
2137
2136
  const DEFAULT_CLS$1 = 'app-radioset list-group inline';
2138
2137
  const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
@@ -2192,18 +2191,17 @@
2192
2191
  i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
2193
2192
  i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
2194
2193
  i2.provideAsWidgetRef(RadiosetComponent)
2195
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 5, vars: 4, consts: [["groupedListTemplate", ""], [3, "ngIf", "ngIfElse"], ["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", "class", "readonly-wrapper", 4, "ngIf"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["class", "app-radioset-label", 3, "ngClass", 4, "ngIf"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "checked", "disabled", "name", "tabindex", "value"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["class", "app-list-item-group", "role", "presentation", 4, "ngFor", "ngForOf"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], ["class", "app-icon wi action wi-chevron-up", 3, "title", 4, "ngIf"], ["class", "label label-default", 3, "textContent", 4, "ngIf"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams", "click", 4, "ngFor", "ngForOf"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
2196
- i0__namespace.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
2197
- i0__namespace.ɵɵelement(1, "input", 2);
2198
- i0__namespace.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
2194
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$8, decls: 4, vars: 3, consts: [["hidden", "", 1, "model-holder", 3, "disabled"], ["aria-readonly", "true", 1, "readonly-wrapper"], ["partialContainer", "", "role", "presentation", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams"], ["partialContainer", "", "role", "presentation", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], [1, "app-radioset-label", 3, "ngClass"], ["type", "radio", 3, "checked", "disabled", "name", "tabindex", "value"], [1, "caption", 3, "textContent"], ["partial-container-target", "", 1, "caption", "customTemplate"], ["role", "presentation", 1, "app-list-item-group"], [1, "item-group"], ["aria-hidden", "true", 1, "list-group-header", 3, "click", "id", "title", "ngClass"], [1, "group-title"], [1, "header-action"], [1, "app-icon", "wi", "action", "wi-chevron-up", 3, "title"], [1, "label", "label-default", 3, "textContent"], ["partialContainer", "", 3, "ngClass", "active", "wmItemTemplate", "userComponentParams"], ["partialContainer", "", 3, "click", "ngClass", "wmItemTemplate", "userComponentParams"], ["type", "radio", 3, "name", "value", "disabled", "tabindex", "checked"]], template: function RadiosetComponent_Template(rf, ctx) { if (rf & 1) {
2195
+ i0__namespace.ɵɵtemplate(0, RadiosetComponent_Conditional_0_Template, 2, 0)(1, RadiosetComponent_Conditional_1_Template, 2, 0);
2196
+ i0__namespace.ɵɵelement(2, "input", 0);
2197
+ i0__namespace.ɵɵtemplate(3, RadiosetComponent_Conditional_3_Template, 1, 0, "div", 1);
2199
2198
  } if (rf & 2) {
2200
- const groupedListTemplate_r13 = i0__namespace.ɵɵreference(4);
2201
- i0__namespace.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
2202
- i0__namespace.ɵɵadvance();
2199
+ i0__namespace.ɵɵconditional(!ctx.groupby ? 0 : 1);
2200
+ i0__namespace.ɵɵadvance(2);
2203
2201
  i0__namespace.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
2204
2202
  i0__namespace.ɵɵadvance();
2205
- i0__namespace.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
2206
- } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2203
+ i0__namespace.ɵɵconditional(ctx.readonly || ctx.disabled ? 3 : -1);
2204
+ } }, dependencies: [i1__namespace.NgClass, i2__namespace.ItemTemplateDirective, i2__namespace.PartialParamHandlerDirective, i2__namespace.PartialContainerDirective, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2207
2205
  }
2208
2206
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RadiosetComponent, [{
2209
2207
  type: i0.Component,
@@ -2211,7 +2209,7 @@
2211
2209
  i2.provideAs(RadiosetComponent, i2$1.NG_VALUE_ACCESSOR, true),
2212
2210
  i2.provideAs(RadiosetComponent, i2$1.NG_VALIDATORS, true),
2213
2211
  i2.provideAsWidgetRef(RadiosetComponent)
2214
- ], template: "<ng-template [ngIf]=\"!groupby\" [ngIfElse]=\"groupedListTemplate\">\n <li [ngClass]=\"['radio', 'app-radio', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n *ngFor=\"let item of datasetItems;let i = index\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n</ng-template>\n\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n<div *ngIf=\"readonly || disabled\" aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n\n<!-- This template will be displayed when groupby is specified. -->\n<ng-template #groupedListTemplate>\n <li *ngFor=\"let groupObj of groupedData; let groupindex = index;\" class=\"app-list-item-group\" role=\"presentation\" >\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{groupObj.key}}\n <div class=\"header-action\">\n <i class=\"app-icon wi action wi-chevron-up\" *ngIf=\"collapsible\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n <span *ngIf=\"showcount\" class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n </div>\n </h4>\n </li>\n <li *ngFor=\"let item of groupObj.data; let i = index;\"\n [ngClass]=\"['radio', 'app-radio', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item)\">\n <!-- Default item template -->\n <label *ngIf=\"!content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n <!-- Custom partial template -->\n <label *ngIf=\"content\" class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n </li>\n </ul>\n </li>\n</ng-template>\n" }]
2212
+ ], template: "@if (!groupby) {\n @for (item of datasetItems; track item; let i = $index) {\n <li [ngClass]=\"['radio', 'app-radio', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item.key)\" role=\"presentation\">\n <!-- Default item template -->\n @if (!content) {\n <label class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n }\n <!-- Custom partial template -->\n @if (content) {\n <label class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [checked]=\"item.selected\" [disabled]=\"disabled || readonly\"\n [name]=\"'radioset_' + widgetId\" [tabindex]=\"tabindex\" [value]=\"item.key\"\n type=\"radio\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n }\n </li>\n }\n} @else {\n @for (groupObj of groupedData; track groupObj; let groupindex = $index) {\n <li class=\"app-list-item-group\" role=\"presentation\" >\n <ul class=\"item-group\" [attr.aria-labelledby]=\"'group_' + widgetId + '_' + groupindex\">\n <li [id]=\"'group_' + widgetId + '_' + groupindex\" aria-hidden=\"true\" class=\"list-group-header\" (click)=\"handleHeaderClick($event)\" [title]=\"groupObj.key\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4 class=\"group-title\" [attr.aria-label]=\"'Group '+groupObj.key\">{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\" title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\" [textContent]=\"groupObj.data.length\"></span>\n }\n </div>\n </h4>\n </li>\n @for (item of groupObj.data; track item; let i = $index) {\n <li\n [ngClass]=\"['radio', 'app-radio', 'group-list-item', itemclass, itemsPerRowClass]\"\n [class.active]=\"item.selected\"\n [wmItemTemplate]=\"content\" [userComponentParams]=\"item\" partialContainer\n (click)=\"onRadioLabelClick($event, item)\">\n <!-- Default item template -->\n @if (!content) {\n <label class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption\" [textContent]=\"item.label\"></span>\n </label>\n }\n <!-- Custom partial template -->\n @if (content) {\n <label class=\"app-radioset-label\"\n [ngClass]=\"{'disabled':disabled || readonly}\">\n <input [attr.data-attr-index]=\"i\" [name]=\"'radioset_' + widgetId\" type=\"radio\"\n [value]=\"item.key\" [disabled]=\"disabled || readonly\" [tabindex]=\"tabindex\" [checked]=\"item.selected\"/>\n <span class=\"caption customTemplate\" partial-container-target></span>\n </label>\n }\n </li>\n }\n </ul>\n </li>\n }\n}\n\n<input [disabled]=\"disabled || readonly\" hidden class=\"model-holder\">\n@if (readonly || disabled) {\n <div aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n}\n\n<!-- This template will be displayed when groupby is specified. -->\n" }]
2215
2213
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
2216
2214
  type: i0.Inject,
2217
2215
  args: ['EXPLICIT_CONTEXT']
@@ -2257,45 +2255,39 @@
2257
2255
  const _c0$7 = ["select"];
2258
2256
  const _c1$6 = a0 => ["app-select form-control", a0];
2259
2257
  const _c2$4 = () => ({ standalone: true });
2260
- function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
2261
- i0__namespace.ɵɵelement(0, "option", 7);
2258
+ function SelectComponent_Conditional_3_For_1_For_2_Template(rf, ctx) { if (rf & 1) {
2259
+ i0__namespace.ɵɵelement(0, "option", 4);
2262
2260
  } if (rf & 2) {
2263
2261
  const item_r2 = ctx.$implicit;
2264
2262
  i0__namespace.ɵɵproperty("value", item_r2.key)("selected", item_r2.selected)("textContent", item_r2.label);
2265
2263
  } }
2266
- function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
2267
- i0__namespace.ɵɵelementStart(0, "optgroup", 5);
2268
- i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 6);
2264
+ function SelectComponent_Conditional_3_For_1_Template(rf, ctx) { if (rf & 1) {
2265
+ i0__namespace.ɵɵelementStart(0, "optgroup", 3);
2266
+ i0__namespace.ɵɵrepeaterCreate(1, SelectComponent_Conditional_3_For_1_For_2_Template, 1, 3, "option", 4, i0__namespace.ɵɵrepeaterTrackByIdentity);
2269
2267
  i0__namespace.ɵɵelementEnd();
2270
2268
  } if (rf & 2) {
2271
2269
  const groupObj_r3 = ctx.$implicit;
2272
2270
  i0__namespace.ɵɵproperty("label", groupObj_r3.key);
2273
2271
  i0__namespace.ɵɵadvance();
2274
- i0__namespace.ɵɵproperty("ngForOf", groupObj_r3.data);
2272
+ i0__namespace.ɵɵrepeater(groupObj_r3.data);
2275
2273
  } }
2276
- function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
2277
- i0__namespace.ɵɵelementContainerStart(0);
2278
- i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 4);
2279
- i0__namespace.ɵɵelementContainerEnd();
2274
+ function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2275
+ i0__namespace.ɵɵrepeaterCreate(0, SelectComponent_Conditional_3_For_1_Template, 3, 1, "optgroup", 3, i0__namespace.ɵɵrepeaterTrackByIdentity);
2280
2276
  } if (rf & 2) {
2281
2277
  const ctx_r3 = i0__namespace.ɵɵnextContext();
2282
- i0__namespace.ɵɵadvance();
2283
- i0__namespace.ɵɵproperty("ngForOf", ctx_r3.groupedData);
2278
+ i0__namespace.ɵɵrepeater(ctx_r3.groupedData);
2284
2279
  } }
2285
- function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
2286
- i0__namespace.ɵɵelement(0, "option", 7);
2280
+ function SelectComponent_Conditional_4_For_1_Template(rf, ctx) { if (rf & 1) {
2281
+ i0__namespace.ɵɵelement(0, "option", 4);
2287
2282
  } if (rf & 2) {
2288
2283
  const item_r5 = ctx.$implicit;
2289
2284
  i0__namespace.ɵɵproperty("value", item_r5.key)("selected", item_r5.selected)("textContent", item_r5.label);
2290
2285
  } }
2291
- function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
2292
- i0__namespace.ɵɵelementContainerStart(0);
2293
- i0__namespace.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 6);
2294
- i0__namespace.ɵɵelementContainerEnd();
2286
+ function SelectComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
2287
+ i0__namespace.ɵɵrepeaterCreate(0, SelectComponent_Conditional_4_For_1_Template, 1, 3, "option", 4, i0__namespace.ɵɵrepeaterTrackByIdentity);
2295
2288
  } if (rf & 2) {
2296
2289
  const ctx_r3 = i0__namespace.ɵɵnextContext();
2297
- i0__namespace.ɵɵadvance();
2298
- i0__namespace.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
2290
+ i0__namespace.ɵɵrepeater(ctx_r3.datasetItems);
2299
2291
  } }
2300
2292
  const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
2301
2293
  class SelectComponent extends DatasetAwareFormComponent {
@@ -2438,13 +2430,13 @@
2438
2430
  i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
2439
2431
  i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
2440
2432
  i2.provideAsWidgetRef(SelectComponent)
2441
- ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["focus-target", "", 3, "ngModelChange", "change", "mousedown", "blur", "ngClass", "disabled", "required", "tabindex", "ngModel", "ngModelOptions", "multiple", "autofocus"], ["selected", "", "value", "undefined", "id", "placeholderOption", 3, "textContent", "hidden"], [4, "ngIf"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"], [3, "value", "selected", "textContent", 4, "ngFor", "ngForOf"], [3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
2433
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["select", ""], ["focus-target", "", 3, "ngModelChange", "change", "mousedown", "blur", "ngClass", "disabled", "required", "tabindex", "ngModel", "ngModelOptions", "multiple", "autofocus"], ["selected", "", "value", "undefined", "id", "placeholderOption", 3, "textContent", "hidden"], [3, "label"], [3, "value", "selected", "textContent"]], template: function SelectComponent_Template(rf, ctx) { if (rf & 1) {
2442
2434
  const _r1 = i0__namespace.ɵɵgetCurrentView();
2443
2435
  i0__namespace.ɵɵelementStart(0, "select", 1, 0);
2444
2436
  i0__namespace.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0__namespace.ɵɵresetView($event); });
2445
2437
  i0__namespace.ɵɵlistener("change", function SelectComponent_Template_select_change_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onSelectValueChange($event)); })("mousedown", function SelectComponent_Template_select_mousedown_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.checkForFloatingLabel($event)); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.invokeOnTouched($event); return i0__namespace.ɵɵresetView(ctx.checkForFloatingLabel($event)); });
2446
2438
  i0__namespace.ɵɵelement(2, "option", 2);
2447
- i0__namespace.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
2439
+ i0__namespace.ɵɵtemplate(3, SelectComponent_Conditional_3_Template, 2, 0)(4, SelectComponent_Conditional_4_Template, 2, 0);
2448
2440
  i0__namespace.ɵɵelementEnd();
2449
2441
  } if (rf & 2) {
2450
2442
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
@@ -2454,10 +2446,10 @@
2454
2446
  i0__namespace.ɵɵadvance(2);
2455
2447
  i0__namespace.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
2456
2448
  i0__namespace.ɵɵadvance();
2457
- i0__namespace.ɵɵproperty("ngIf", ctx.groupby);
2449
+ i0__namespace.ɵɵconditional(ctx.groupby ? 3 : -1);
2458
2450
  i0__namespace.ɵɵadvance();
2459
- i0__namespace.ɵɵproperty("ngIf", !ctx.groupby);
2460
- } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2$1__namespace.NgSelectOption, i2$1__namespace.ɵNgSelectMultipleOption, i2$1__namespace.SelectMultipleControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2451
+ i0__namespace.ɵɵconditional(!ctx.groupby ? 4 : -1);
2452
+ } }, dependencies: [i1__namespace.NgClass, i2$1__namespace.NgSelectOption, i2$1__namespace.ɵNgSelectMultipleOption, i2$1__namespace.SelectMultipleControlValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.NgModel, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2461
2453
  }
2462
2454
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectComponent, [{
2463
2455
  type: i0.Component,
@@ -2465,7 +2457,7 @@
2465
2457
  i2.provideAs(SelectComponent, i2$1.NG_VALUE_ACCESSOR, true),
2466
2458
  i2.provideAs(SelectComponent, i2$1.NG_VALIDATORS, true),
2467
2459
  i2.provideAsWidgetRef(SelectComponent)
2468
- ], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<select #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [attr.accesskey]=\"shortcutkey\"\n [(ngModel)]=\"modelByKey\"\n [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\n [hidden]=\"!placeholder\"></option>\n\n <ng-container *ngIf=\"groupby\">\n <optgroup *ngFor=\"let groupObj of groupedData\"\n [label]=\"groupObj.key\">\n <option *ngFor=\"let item of groupObj.data;\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n ></option>\n </optgroup>\n </ng-container>\n\n <ng-container *ngIf=\"!groupby\">\n <option *ngFor=\"let item of datasetItems\"\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n ></option>\n </ng-container>\n</select>\n" }]
2460
+ ], template: "<!--Updated focus with mousedown event. IOS devices not allow update of option value after opening dropdown-->\n<select #select\n focus-target\n [ngClass]=\"['app-select form-control', class]\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [attr.accesskey]=\"shortcutkey\"\n [(ngModel)]=\"modelByKey\"\n [ngModelOptions]=\"{standalone: true}\"\n [multiple]=\"multiple\"\n (change)=\"onSelectValueChange($event)\"\n (mousedown)=\"checkForFloatingLabel($event)\"\n (blur)=\"invokeOnTouched($event); checkForFloatingLabel($event)\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel\"\n [autofocus]=\"autofocus\">\n\n <option selected\n value=\"undefined\"\n [textContent]=\"placeholder\"\n id=\"placeholderOption\"\n [hidden]=\"!placeholder\"></option>\n\n @if (groupby) {\n @for (groupObj of groupedData; track groupObj) {\n <optgroup\n [label]=\"groupObj.key\">\n @for (item of groupObj.data; track item) {\n <option\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n ></option>\n }\n </optgroup>\n }\n }\n\n @if (!groupby) {\n @for (item of datasetItems; track item) {\n <option\n [value]=\"item.key\"\n [selected]=\"item.selected\"\n [textContent]=\"item.label\"\n ></option>\n }\n }\n</select>\n" }]
2469
2461
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
2470
2462
  type: i0.Inject,
2471
2463
  args: ['EXPLICIT_CONTEXT']
@@ -2508,24 +2500,24 @@
2508
2500
  const _c2$3 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
2509
2501
  const _c3 = a0 => ["app-icon", a0];
2510
2502
  const _c4 = a0 => [a0];
2511
- function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
2512
- i0__namespace.ɵɵelement(0, "i", 7);
2503
+ function SwitchComponent_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2504
+ i0__namespace.ɵɵelement(0, "i", 5);
2513
2505
  } if (rf & 2) {
2514
2506
  const opt_r3 = i0__namespace.ɵɵnextContext().$implicit;
2515
2507
  const ctx_r4 = i0__namespace.ɵɵnextContext();
2516
2508
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1, _c3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
2517
2509
  } }
2518
- function SwitchComponent_a_1_i_2_Template(rf, ctx) { if (rf & 1) {
2519
- i0__namespace.ɵɵelement(0, "i", 7);
2510
+ function SwitchComponent_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
2511
+ i0__namespace.ɵɵelement(0, "i", 5);
2520
2512
  } if (rf & 2) {
2521
2513
  const ctx_r4 = i0__namespace.ɵɵnextContext(2);
2522
2514
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(1, _c4, ctx_r4.checkediconclass));
2523
2515
  } }
2524
- function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
2516
+ function SwitchComponent_For_2_Template(rf, ctx) { if (rf & 1) {
2525
2517
  const _r1 = i0__namespace.ɵɵgetCurrentView();
2526
2518
  i0__namespace.ɵɵelementStart(0, "a", 4);
2527
- i0__namespace.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0__namespace.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
2528
- i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 5)(2, SwitchComponent_a_1_i_2_Template, 1, 3, "i", 5);
2519
+ i0__namespace.ɵɵlistener("click", function SwitchComponent_For_2_Template_a_click_0_listener($event) { const ctx_r1 = i0__namespace.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.$index; const ctx_r4 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
2520
+ i0__namespace.ɵɵtemplate(1, SwitchComponent_For_2_Conditional_1_Template, 1, 3, "i", 5)(2, SwitchComponent_For_2_Conditional_2_Template, 1, 3, "i", 5);
2529
2521
  i0__namespace.ɵɵelement(3, "span", 6);
2530
2522
  i0__namespace.ɵɵelementEnd();
2531
2523
  } if (rf & 2) {
@@ -2534,16 +2526,16 @@
2534
2526
  i0__namespace.ɵɵproperty("title", ctx_r4.hint ? ctx_r4.hint : opt_r3.key)("name", "wm-switch-" + opt_r3.key)("title", (ctx_r4.hint == null ? null : ctx_r4.hint[opt_r3.index - 1]) ? ctx_r4.hint[opt_r3.index - 1] : (ctx_r4.hint == null ? null : ctx_r4.hint[0]) ? ctx_r4.hint[0] : opt_r3[ctx_r4.displayfield] || opt_r3.label)("ngClass", i0__namespace.ɵɵpureFunction2(8, _c2$3, opt_r3.selected, ctx_r4.disabled));
2535
2527
  i0__namespace.ɵɵattribute("aria-pressed", opt_r3.selected ? true : false);
2536
2528
  i0__namespace.ɵɵadvance();
2537
- i0__namespace.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass] && !opt_r3.selected);
2529
+ i0__namespace.ɵɵconditional(opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass] && !opt_r3.selected ? 1 : -1);
2538
2530
  i0__namespace.ɵɵadvance();
2539
- i0__namespace.ɵɵproperty("ngIf", opt_r3.selected && ctx_r4.checkediconclass);
2531
+ i0__namespace.ɵɵconditional(opt_r3.selected && ctx_r4.checkediconclass ? 2 : -1);
2540
2532
  i0__namespace.ɵɵadvance();
2541
2533
  i0__namespace.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
2542
2534
  } }
2543
- function SwitchComponent_span_2_Template(rf, ctx) { if (rf & 1) {
2544
- i0__namespace.ɵɵelementStart(0, "span", 8);
2545
- i0__namespace.ɵɵelement(1, "i", 9);
2546
- i0__namespace.ɵɵelementStart(2, "span", 10);
2535
+ function SwitchComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2536
+ i0__namespace.ɵɵelementStart(0, "span", 2);
2537
+ i0__namespace.ɵɵelement(1, "i", 7);
2538
+ i0__namespace.ɵɵelementStart(2, "span", 8);
2547
2539
  i0__namespace.ɵɵtext(3);
2548
2540
  i0__namespace.ɵɵelementEnd()();
2549
2541
  } if (rf & 2) {
@@ -2688,28 +2680,28 @@
2688
2680
  static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0__namespace.ɵɵProvidersFeature([
2689
2681
  i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
2690
2682
  i2.provideAsWidgetRef(SwitchComponent)
2691
- ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 4, vars: 9, consts: [["role", "group", 1, "btn-group", "btn-group-justified", 3, "ngClass"], ["focus-target", "", "href", "javascript:void(0);", "class", "btn btn-default", "role", "button", 3, "title", "name", "ngClass", "click", 4, "ngFor", "ngForOf"], ["aria-hidden", "true", "class", "btn btn-primary app-switch-overlay switch-handle", 3, "title", 4, "ngIf"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", "role", "button", 1, "btn", "btn-default", 3, "click", "title", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], [1, "caption", 3, "textContent"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true", 1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], [3, "ngClass"], [1, "caption"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
2683
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$6, decls: 5, vars: 8, consts: [["role", "group", 1, "btn-group", "btn-group-justified", 3, "ngClass"], ["focus-target", "", "href", "javascript:void(0);", "role", "button", 1, "btn", "btn-default", 3, "title", "name", "ngClass"], ["aria-hidden", "true", 1, "btn", "btn-primary", "app-switch-overlay", "switch-handle", 3, "title"], ["aria-hidden", "true", 1, "model-holder", "ng-hide", 3, "name", "disabled", "value", "required"], ["focus-target", "", "href", "javascript:void(0);", "role", "button", 1, "btn", "btn-default", 3, "click", "title", "name", "ngClass"], ["aria-hidden", "true", 3, "ngClass"], [1, "caption", 3, "textContent"], [3, "ngClass"], [1, "caption"]], template: function SwitchComponent_Template(rf, ctx) { if (rf & 1) {
2692
2684
  i0__namespace.ɵɵelementStart(0, "div", 0);
2693
- i0__namespace.ɵɵtemplate(1, SwitchComponent_a_1_Template, 4, 11, "a", 1);
2685
+ i0__namespace.ɵɵrepeaterCreate(1, SwitchComponent_For_2_Template, 4, 11, "a", 1, i0__namespace.ɵɵrepeaterTrackByIdentity);
2694
2686
  i0__namespace.ɵɵelementEnd();
2695
- i0__namespace.ɵɵtemplate(2, SwitchComponent_span_2_Template, 4, 5, "span", 2);
2696
- i0__namespace.ɵɵelement(3, "input", 3);
2687
+ i0__namespace.ɵɵtemplate(3, SwitchComponent_Conditional_3_Template, 4, 5, "span", 2);
2688
+ i0__namespace.ɵɵelement(4, "input", 3);
2697
2689
  } if (rf & 2) {
2698
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$5, ctx.multiple));
2690
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c1$5, ctx.multiple));
2699
2691
  i0__namespace.ɵɵadvance();
2700
- i0__namespace.ɵɵproperty("ngForOf", ctx.datasetItems);
2701
- i0__namespace.ɵɵadvance();
2702
- i0__namespace.ɵɵproperty("ngIf", !ctx.multiple);
2692
+ i0__namespace.ɵɵrepeater(ctx.datasetItems);
2693
+ i0__namespace.ɵɵadvance(2);
2694
+ i0__namespace.ɵɵconditional(!ctx.multiple ? 3 : -1);
2703
2695
  i0__namespace.ɵɵadvance();
2704
2696
  i0__namespace.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
2705
- } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgForOf, i1__namespace.NgIf, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2697
+ } }, dependencies: [i1__namespace.NgClass, i2__namespace.TextContentDirective], encapsulation: 2 }); }
2706
2698
  }
2707
2699
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SwitchComponent, [{
2708
2700
  type: i0.Component,
2709
2701
  args: [{ selector: '[wmSwitch]', providers: [
2710
2702
  i2.provideAs(SwitchComponent, i2$1.NG_VALUE_ACCESSOR, true),
2711
2703
  i2.provideAsWidgetRef(SwitchComponent)
2712
- ], exportAs: 'wmSwitch', template: "<div role=\"group\" class=\"btn-group btn-group-justified\" [ngClass]=\"{'multi-select': multiple}\">\n <a *ngFor=\"let opt of datasetItems; let $index = index;\"\n focus-target\n href=\"javascript:void(0);\"\n class=\"btn btn-default\"\n [title]=\"hint?hint:opt.key\"\n [name]=\"'wm-switch-' + opt.key\"\n role=\"button\"\n [title]=\"hint?.[opt.index-1]?hint[opt.index-1]:(hint?.[0]?hint[0]:(opt[displayfield]||opt.label))\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n [attr.aria-pressed]=\"opt.selected ? true : false\"\n (click)=\"selectOpt($event, $index, opt)\"\n >\n <i *ngIf=\"opt.dataObject && opt.dataObject[iconclass] && !opt.selected\" aria-hidden=\"true\" [ngClass]=\"['app-icon', opt.dataObject[iconclass] || opt['icon']]\"></i>\n <i *ngIf=\"opt.selected && checkediconclass\" aria-hidden=\"true\" [ngClass]=\"[checkediconclass]\"></i>\n <span class=\"caption\" [textContent]=\"opt[displayfield] || opt.label\"></span>\n </a>\n</div>\n<span [title]=\"selectedItem ? selectedItem.label : modelByKey\" aria-hidden=\"true\"\n class=\"btn btn-primary app-switch-overlay switch-handle\" *ngIf=\"!multiple\">\n <i [ngClass]=\"[checkediconclass]\"></i>\n <span class=\"caption\">{{selectedItem ? selectedItem.label : modelByKey}}</span>\n</span>\n<input [name]=\"name\" class=\"model-holder ng-hide\" [disabled]=\"disabled\" [value]=\"modelByKey\" [required]=\"required\" aria-hidden=\"true\">\n" }]
2704
+ ], exportAs: 'wmSwitch', template: "<div role=\"group\" class=\"btn-group btn-group-justified\" [ngClass]=\"{'multi-select': multiple}\">\n @for (opt of datasetItems; track opt) {\n <a\n focus-target\n href=\"javascript:void(0);\"\n class=\"btn btn-default\"\n [title]=\"hint?hint:opt.key\"\n [name]=\"'wm-switch-' + opt.key\"\n role=\"button\"\n [title]=\"hint?.[opt.index-1]?hint[opt.index-1]:(hint?.[0]?hint[0]:(opt[displayfield]||opt.label))\"\n [ngClass]=\"{'selected': opt.selected, 'disabled': disabled}\"\n [attr.aria-pressed]=\"opt.selected ? true : false\"\n (click)=\"selectOpt($event, $index, opt)\"\n >\n @if (opt.dataObject && opt.dataObject[iconclass] && !opt.selected) {\n <i aria-hidden=\"true\" [ngClass]=\"['app-icon', opt.dataObject[iconclass] || opt['icon']]\"></i>\n }\n @if (opt.selected && checkediconclass) {\n <i aria-hidden=\"true\" [ngClass]=\"[checkediconclass]\"></i>\n }\n <span class=\"caption\" [textContent]=\"opt[displayfield] || opt.label\"></span>\n </a>\n }\n</div>\n@if (!multiple) {\n <span [title]=\"selectedItem ? selectedItem.label : modelByKey\" aria-hidden=\"true\"\n class=\"btn btn-primary app-switch-overlay switch-handle\">\n <i [ngClass]=\"[checkediconclass]\"></i>\n <span class=\"caption\">{{selectedItem ? selectedItem.label : modelByKey}}</span>\n </span>\n}\n<input [name]=\"name\" class=\"model-holder ng-hide\" [disabled]=\"disabled\" [value]=\"modelByKey\" [required]=\"required\" aria-hidden=\"true\">\n" }]
2713
2705
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
2714
2706
  type: i0.Inject,
2715
2707
  args: ['EXPLICIT_CONTEXT']
@@ -3273,8 +3265,8 @@
3273
3265
  };
3274
3266
 
3275
3267
  const _c0 = ["textarea"];
3276
- function TextareaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
3277
- i0__namespace.ɵɵelementStart(0, "div", 3);
3268
+ function TextareaComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3269
+ i0__namespace.ɵɵelementStart(0, "div", 2);
3278
3270
  i0__namespace.ɵɵtext(1);
3279
3271
  i0__namespace.ɵɵelementEnd();
3280
3272
  } if (rf & 2) {
@@ -3310,20 +3302,20 @@
3310
3302
  i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
3311
3303
  i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
3312
3304
  i2.provideAsWidgetRef(TextareaComponent)
3313
- ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], ["class", "textarea-count", 4, "ngIf"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
3305
+ ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 15, consts: [["textarea", ""], ["focus-target", "", "aria-multiline", "true", 1, "form-control", "app-textarea", 3, "ngModelChange", "blur", "input", "ngModel", "ngModelOptions", "readonly", "required", "disabled", "maxlength", "autofocus", "ngClass", "ngStyle"], [1, "textarea-count"]], template: function TextareaComponent_Template(rf, ctx) { if (rf & 1) {
3314
3306
  const _r1 = i0__namespace.ɵɵgetCurrentView();
3315
3307
  i0__namespace.ɵɵelementStart(0, "textarea", 1, 0);
3316
3308
  i0__namespace.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); i0__namespace.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0__namespace.ɵɵresetView($event); });
3317
3309
  i0__namespace.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0__namespace.ɵɵrestoreView(_r1); return i0__namespace.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0__namespace.ɵɵresetView(ctx.onInputChange()); });
3318
3310
  i0__namespace.ɵɵelementEnd();
3319
- i0__namespace.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
3311
+ i0__namespace.ɵɵtemplate(2, TextareaComponent_Conditional_2_Template, 2, 1, "div", 2);
3320
3312
  } if (rf & 2) {
3321
3313
  i0__namespace.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
3322
3314
  i0__namespace.ɵɵproperty("ngModelOptions", ctx.ngModelOptions)("readonly", ctx.readonly)("required", ctx.required)("disabled", ctx.disabled)("maxlength", ctx.maxchars)("autofocus", ctx.autofocus)("ngClass", ctx.conditionalclass)("ngStyle", ctx.conditionalstyle);
3323
3315
  i0__namespace.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
3324
3316
  i0__namespace.ɵɵadvance(2);
3325
- i0__namespace.ɵɵproperty("ngIf", ctx.maxchars);
3326
- } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
3317
+ i0__namespace.ɵɵconditional(ctx.maxchars ? 2 : -1);
3318
+ } }, dependencies: [i1__namespace.NgClass, i1__namespace.NgStyle, i2$1__namespace.DefaultValueAccessor, i2$1__namespace.NgControlStatus, i2$1__namespace.RequiredValidator, i2$1__namespace.MaxLengthValidator, i2$1__namespace.NgModel], encapsulation: 2 }); }
3327
3319
  }
3328
3320
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TextareaComponent, [{
3329
3321
  type: i0.Component,
@@ -3331,7 +3323,7 @@
3331
3323
  i2.provideAs(TextareaComponent, i2$1.NG_VALUE_ACCESSOR, true),
3332
3324
  i2.provideAs(TextareaComponent, i2$1.NG_VALIDATORS, true),
3333
3325
  i2.provideAsWidgetRef(TextareaComponent)
3334
- ], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n<div *ngIf=\"maxchars\" class=\"textarea-count\" >{{limitdisplaytext}}</div>\n" }]
3326
+ ], template: "<textarea class=\"form-control app-textarea\"\n focus-target\n [attr.name]=\"name\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"ngModelOptions\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [maxlength]=\"maxchars\"\n [attr.tabindex]=\"tabindex\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n aria-multiline=\"true\"\n [autofocus]=\"autofocus\"\n [ngClass]=\"conditionalclass\"\n [ngStyle]=\"conditionalstyle\"\n (blur)=\"handleBlur($event)\"\n (input)=\"onInputChange()\"\n (ngModelChange)=\"handleChange($event); onInputChange();\"\n #textarea\n></textarea>\n\n@if (maxchars) {\n <div class=\"textarea-count\" >{{limitdisplaytext}}</div>\n}\n" }]
3335
3327
  }], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
3336
3328
  type: i0.Inject,
3337
3329
  args: ['EXPLICIT_CONTEXT']