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

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 (155) hide show
  1. package/components/basic/default/bundles/index.umd.js +68 -68
  2. package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
  3. package/components/basic/default/esm2022/icon/icon.component.mjs +13 -12
  4. package/components/basic/default/esm2022/iframe/iframe.component.mjs +10 -9
  5. package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
  6. package/components/basic/default/esm2022/video/video.component.mjs +15 -14
  7. package/components/basic/default/fesm2022/index.mjs +68 -68
  8. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  9. package/components/basic/progress/bundles/index.umd.js +17 -16
  10. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -7
  11. package/components/basic/progress/fesm2022/index.mjs +9 -8
  12. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  13. package/components/basic/rich-text-editor/bundles/index.umd.js +12 -11
  14. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +9 -8
  15. package/components/basic/rich-text-editor/fesm2022/index.mjs +8 -7
  16. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  17. package/components/basic/search/bundles/index.umd.js +67 -63
  18. package/components/basic/search/esm2022/search.component.mjs +67 -63
  19. package/components/basic/search/esm2022/search.module.mjs +2 -2
  20. package/components/basic/search/fesm2022/index.mjs +67 -63
  21. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  22. package/components/chart/bundles/index.umd.js +17 -17
  23. package/components/chart/esm2022/chart.component.mjs +18 -18
  24. package/components/chart/fesm2022/index.mjs +17 -17
  25. package/components/chart/fesm2022/index.mjs.map +1 -1
  26. package/components/containers/panel/bundles/index.umd.js +39 -39
  27. package/components/containers/panel/esm2022/panel.component.mjs +40 -40
  28. package/components/containers/panel/fesm2022/index.mjs +39 -39
  29. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  30. package/components/containers/tabs/bundles/index.umd.js +29 -29
  31. package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
  32. package/components/containers/tabs/fesm2022/index.mjs +29 -29
  33. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  34. package/components/containers/wizard/bundles/index.umd.js +49 -49
  35. package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
  36. package/components/containers/wizard/fesm2022/index.mjs +49 -49
  37. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  38. package/components/data/card/bundles/index.umd.js +29 -29
  39. package/components/data/card/esm2022/card.component.mjs +30 -30
  40. package/components/data/card/fesm2022/index.mjs +29 -29
  41. package/components/data/card/fesm2022/index.mjs.map +1 -1
  42. package/components/data/form/bundles/index.umd.js +96 -91
  43. package/components/data/form/esm2022/form.component.mjs +97 -92
  44. package/components/data/form/fesm2022/index.mjs +96 -91
  45. package/components/data/form/fesm2022/index.mjs.map +1 -1
  46. package/components/data/list/bundles/index.umd.js +173 -171
  47. package/components/data/list/esm2022/list.component.mjs +173 -171
  48. package/components/data/list/esm2022/list.module.mjs +2 -2
  49. package/components/data/list/fesm2022/index.mjs +173 -171
  50. package/components/data/list/fesm2022/index.mjs.map +1 -1
  51. package/components/data/pagination/bundles/index.umd.js +32 -32
  52. package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
  53. package/components/data/pagination/fesm2022/index.mjs +32 -32
  54. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  55. package/components/data/table/bundles/index.umd.js +38 -39
  56. package/components/data/table/esm2022/table.component.mjs +39 -40
  57. package/components/data/table/fesm2022/index.mjs +38 -39
  58. package/components/data/table/fesm2022/index.mjs.map +1 -1
  59. package/components/dialogs/default/bundles/index.umd.js +95 -66
  60. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +96 -67
  61. package/components/dialogs/default/fesm2022/index.mjs +95 -66
  62. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  63. package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
  64. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
  65. package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
  66. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  67. package/components/dialogs/iframe-dialog/bundles/index.umd.js +25 -24
  68. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +16 -15
  69. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +15 -14
  70. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  71. package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
  72. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
  73. package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
  74. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  75. package/components/input/chips/bundles/index.umd.js +21 -21
  76. package/components/input/chips/esm2022/chips.component.mjs +22 -22
  77. package/components/input/chips/fesm2022/index.mjs +21 -21
  78. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  79. package/components/input/default/bundles/index.umd.js +209 -201
  80. package/components/input/default/esm2022/button/button.component.mjs +18 -18
  81. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +69 -68
  82. package/components/input/default/esm2022/radioset/radioset.component.mjs +69 -68
  83. package/components/input/default/esm2022/select/select.component.mjs +27 -21
  84. package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
  85. package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
  86. package/components/input/default/fesm2022/index.mjs +209 -201
  87. package/components/input/default/fesm2022/index.mjs.map +1 -1
  88. package/components/input/epoch/bundles/index.umd.js +164 -171
  89. package/components/input/epoch/esm2022/date/date.component.mjs +15 -14
  90. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +59 -64
  91. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +19 -18
  92. package/components/input/epoch/esm2022/picker/picker.component.mjs +25 -26
  93. package/components/input/epoch/esm2022/time/time.component.mjs +18 -17
  94. package/components/input/epoch/fesm2022/index.mjs +117 -124
  95. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  96. package/components/input/file-upload/bundles/index.umd.js +114 -111
  97. package/components/input/file-upload/esm2022/file-upload.component.mjs +115 -112
  98. package/components/input/file-upload/fesm2022/index.mjs +114 -111
  99. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  100. package/components/input/rating/bundles/index.umd.js +14 -14
  101. package/components/input/rating/esm2022/rating.component.mjs +15 -15
  102. package/components/input/rating/fesm2022/index.mjs +14 -14
  103. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  104. package/components/input/slider/bundles/index.umd.js +40 -39
  105. package/components/input/slider/esm2022/slider.component.mjs +11 -10
  106. package/components/input/slider/fesm2022/index.mjs +10 -9
  107. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  108. package/components/navigation/breadcrumb/bundles/index.umd.js +15 -16
  109. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +16 -17
  110. package/components/navigation/breadcrumb/fesm2022/index.mjs +15 -16
  111. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  112. package/components/navigation/menu/bundles/index.umd.js +71 -69
  113. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
  114. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
  115. package/components/navigation/menu/esm2022/menu.component.mjs +26 -22
  116. package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
  117. package/components/navigation/menu/esm2022/nav/nav.component.mjs +24 -26
  118. package/components/navigation/menu/fesm2022/index.mjs +71 -69
  119. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  120. package/components/navigation/navbar/bundles/index.umd.js +12 -12
  121. package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
  122. package/components/navigation/navbar/fesm2022/index.mjs +12 -12
  123. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  124. package/mobile/components/basic/default/bundles/index.umd.js +111 -102
  125. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +40 -39
  126. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +44 -35
  127. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +28 -27
  128. package/mobile/components/basic/default/fesm2022/index.mjs +107 -98
  129. package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  130. package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
  131. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +9 -8
  132. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
  133. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
  134. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  135. package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
  136. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
  137. package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
  138. package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  139. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
  140. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
  141. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
  142. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
  143. package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
  144. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
  145. package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
  146. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  147. package/npm-shrinkwrap.json +2 -2
  148. package/package-lock.json +2 -2
  149. package/package.json +1 -1
  150. package/runtime/base/bundles/index.umd.js +215 -219
  151. package/runtime/base/esm2022/components/app-component/app.component.mjs +41 -38
  152. package/runtime/base/esm2022/components/app-spinner.component.mjs +21 -25
  153. package/runtime/base/esm2022/components/custom-toaster.component.mjs +16 -18
  154. package/runtime/base/fesm2022/index.mjs +95 -99
  155. package/runtime/base/fesm2022/index.mjs.map +1 -1
@@ -44,22 +44,22 @@ const _c1$b = [[["", 8, "caret"]]];
44
44
  const _c2$8 = [".caret"];
45
45
  const _c3$4 = (a0, a1, a2) => ({ width: a0, height: a1, margin: a2 });
46
46
  const _c4$3 = (a0, a1, a2, a3) => ({ width: a0, height: a1, margin: a2, fontSize: a3 });
47
- function ButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
48
- i0.ɵɵelement(0, "img", 0);
47
+ function ButtonComponent_img_0_Template(rf, ctx) { if (rf & 1) {
48
+ i0.ɵɵelement(0, "img", 5);
49
49
  i0.ɵɵpipe(1, "image");
50
50
  } if (rf & 2) {
51
51
  const ctx_r0 = i0.ɵɵnextContext();
52
52
  i0.ɵɵproperty("src", i0.ɵɵpipeBind1(1, 2, ctx_r0.iconurl), i0.ɵɵsanitizeUrl)("ngStyle", i0.ɵɵpureFunction3(4, _c3$4, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin));
53
53
  } }
54
- function ButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
55
- i0.ɵɵelement(0, "i", 5);
54
+ function ButtonComponent_i_1_Template(rf, ctx) { if (rf & 1) {
55
+ i0.ɵɵelement(0, "i", 6);
56
56
  } if (rf & 2) {
57
57
  const ctx_r0 = i0.ɵɵnextContext();
58
58
  i0.ɵɵclassMapInterpolate1("app-icon ", ctx_r0.iconclass, "");
59
59
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction4(4, _c4$3, ctx_r0.iconwidth, ctx_r0.iconheight, ctx_r0.iconmargin, ctx_r0.iconwidth));
60
60
  } }
61
- function ButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
62
- i0.ɵɵelementStart(0, "span", 2);
61
+ function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
62
+ i0.ɵɵelementStart(0, "span", 7);
63
63
  i0.ɵɵtext(1);
64
64
  i0.ɵɵelementEnd();
65
65
  } if (rf & 2) {
@@ -67,8 +67,8 @@ function ButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
67
67
  i0.ɵɵadvance();
68
68
  i0.ɵɵtextInterpolate2("", ctx_r0.caption, " ", ctx_r0.appLocale.LABEL_ICON, "");
69
69
  } }
70
- function ButtonComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
71
- i0.ɵɵelement(0, "span", 4);
70
+ function ButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
71
+ i0.ɵɵelement(0, "span", 8);
72
72
  } if (rf & 2) {
73
73
  const ctx_r0 = i0.ɵɵnextContext();
74
74
  i0.ɵɵproperty("textContent", ctx_r0.badgevalue);
@@ -91,29 +91,29 @@ class ButtonComponent extends StylableComponent {
91
91
  i0.ɵɵattribute("accesskey", ctx.shortcutkey)("icon-position", ctx.iconposition);
92
92
  } }, exportAs: ["wmButton"], features: [i0.ɵɵProvidersFeature([
93
93
  provideAsWidgetRef(ButtonComponent)
94
- ]), i0.ɵɵ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) {
94
+ ]), i0.ɵɵ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) {
95
95
  i0.ɵɵprojectionDef(_c1$b);
96
- i0.ɵɵ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);
96
+ i0.ɵɵ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);
97
97
  i0.ɵɵelement(3, "span", 3);
98
98
  i0.ɵɵprojection(4);
99
- i0.ɵɵtemplate(5, ButtonComponent_Conditional_5_Template, 1, 1, "span", 4);
99
+ i0.ɵɵtemplate(5, ButtonComponent_span_5_Template, 1, 1, "span", 4);
100
100
  } if (rf & 2) {
101
- i0.ɵɵconditional(ctx.iconurl ? 0 : -1);
101
+ i0.ɵɵproperty("ngIf", ctx.iconurl);
102
102
  i0.ɵɵadvance();
103
- i0.ɵɵconditional(ctx.iconclass ? 1 : -1);
103
+ i0.ɵɵproperty("ngIf", ctx.iconclass);
104
104
  i0.ɵɵadvance();
105
- i0.ɵɵconditional(ctx.iconclass ? 2 : -1);
105
+ i0.ɵɵproperty("ngIf", ctx.iconclass);
106
106
  i0.ɵɵadvance();
107
107
  i0.ɵɵproperty("innerHTML", ctx.caption, i0.ɵɵsanitizeHtml);
108
108
  i0.ɵɵadvance(2);
109
- i0.ɵɵconditional(ctx.badgevalue ? 5 : -1);
110
- } }, dependencies: [i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
109
+ i0.ɵɵproperty("ngIf", ctx.badgevalue);
110
+ } }, dependencies: [i1.NgIf, i1.NgStyle, i2.TextContentDirective, i2.ImagePipe], encapsulation: 2 }); }
111
111
  }
112
112
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
113
113
  type: Component,
114
114
  args: [{ selector: 'button[wmButton]', providers: [
115
115
  provideAsWidgetRef(ButtonComponent)
116
- ], 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" }]
116
+ ], 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" }]
117
117
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
118
118
  type: Inject,
119
119
  args: ['EXPLICIT_CONTEXT']
@@ -901,41 +901,41 @@ const _c1$9 = (a0, a1) => ["checkbox", "app-checkbox", a0, a1];
901
901
  const _c2$6 = a0 => ({ "disabled": a0 });
902
902
  const _c3$2 = a0 => ({ "collapsible-content": a0 });
903
903
  const _c4$2 = (a0, a1) => ["checkbox", "app-checkbox", "group-list-item", a0, a1];
904
- function CheckboxsetComponent_Conditional_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
905
- i0.ɵɵelementStart(0, "label", 4);
906
- i0.ɵɵelement(1, "input", 6)(2, "span", 7);
904
+ function CheckboxsetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
905
+ i0.ɵɵelementStart(0, "label", 8);
906
+ i0.ɵɵelement(1, "input", 9)(2, "span", 10);
907
907
  i0.ɵɵelementEnd();
908
908
  } if (rf & 2) {
909
909
  const ctx_r3 = i0.ɵɵnextContext();
910
910
  const item_r2 = ctx_r3.$implicit;
911
- const ɵ$index_2_r5 = ctx_r3.$index;
911
+ const i_r5 = ctx_r3.index;
912
912
  const ctx_r2 = i0.ɵɵnextContext(2);
913
913
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r2.label);
914
914
  i0.ɵɵadvance();
915
915
  i0.ɵɵ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);
916
- i0.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
916
+ i0.ɵɵattribute("data-attr-index", i_r5);
917
917
  i0.ɵɵadvance();
918
918
  i0.ɵɵproperty("textContent", item_r2.label);
919
919
  } }
920
- function CheckboxsetComponent_Conditional_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
921
- i0.ɵɵelementStart(0, "label", 5);
922
- i0.ɵɵelement(1, "input", 6)(2, "span", 8);
920
+ function CheckboxsetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
921
+ i0.ɵɵelementStart(0, "label", 11);
922
+ i0.ɵɵelement(1, "input", 9)(2, "span", 12);
923
923
  i0.ɵɵelementEnd();
924
924
  } if (rf & 2) {
925
925
  const ctx_r3 = i0.ɵɵnextContext();
926
926
  const item_r2 = ctx_r3.$implicit;
927
- const ɵ$index_2_r5 = ctx_r3.$index;
927
+ const i_r5 = ctx_r3.index;
928
928
  const ctx_r2 = i0.ɵɵnextContext(2);
929
929
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
930
930
  i0.ɵɵadvance();
931
931
  i0.ɵɵ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);
932
- i0.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
932
+ i0.ɵɵattribute("data-attr-index", i_r5);
933
933
  } }
934
- function CheckboxsetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
934
+ function CheckboxsetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
935
935
  const _r1 = i0.ɵɵgetCurrentView();
936
- i0.ɵɵelementStart(0, "li", 3);
937
- i0.ɵɵlistener("click", function CheckboxsetComponent_Conditional_0_For_1_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
938
- i0.ɵɵ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);
936
+ i0.ɵɵelementStart(0, "li", 5);
937
+ i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r2.key)); });
938
+ i0.ɵɵ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);
939
939
  i0.ɵɵelementEnd();
940
940
  } if (rf & 2) {
941
941
  const item_r2 = ctx.$implicit;
@@ -943,63 +943,66 @@ function CheckboxsetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1
943
943
  i0.ɵɵclassProp("active", item_r2.selected);
944
944
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$9, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
945
945
  i0.ɵɵadvance();
946
- i0.ɵɵconditional(!ctx_r2.content ? 1 : -1);
946
+ i0.ɵɵproperty("ngIf", !ctx_r2.content);
947
947
  i0.ɵɵadvance();
948
- i0.ɵɵconditional(ctx_r2.content ? 2 : -1);
948
+ i0.ɵɵproperty("ngIf", ctx_r2.content);
949
949
  } }
950
- function CheckboxsetComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
951
- i0.ɵɵrepeaterCreate(0, CheckboxsetComponent_Conditional_0_For_1_Template, 3, 10, "li", 2, i0.ɵɵrepeaterTrackByIdentity);
950
+ function CheckboxsetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
951
+ i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
952
952
  } if (rf & 2) {
953
953
  const ctx_r2 = i0.ɵɵnextContext();
954
- i0.ɵɵrepeater(ctx_r2.datasetItems);
954
+ i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
955
955
  } }
956
- function CheckboxsetComponent_Conditional_1_For_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
957
- i0.ɵɵelement(0, "i", 14);
956
+ function CheckboxsetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
957
+ i0.ɵɵelement(0, "div", 13);
958
+ } }
959
+ function CheckboxsetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
960
+ i0.ɵɵelement(0, "i", 23);
958
961
  } if (rf & 2) {
959
962
  const ctx_r2 = i0.ɵɵnextContext(3);
960
963
  i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
961
964
  } }
962
- function CheckboxsetComponent_Conditional_1_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
963
- i0.ɵɵelement(0, "span", 15);
965
+ function CheckboxsetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
966
+ i0.ɵɵelement(0, "span", 24);
964
967
  } if (rf & 2) {
965
968
  const groupObj_r7 = i0.ɵɵnextContext().$implicit;
966
969
  i0.ɵɵproperty("textContent", groupObj_r7.data.length);
967
970
  } }
968
- function CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
969
- i0.ɵɵelementStart(0, "label", 4);
970
- i0.ɵɵelement(1, "input", 6)(2, "span", 7);
971
+ function CheckboxsetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
972
+ i0.ɵɵelementStart(0, "label", 8);
973
+ i0.ɵɵelement(1, "input", 9)(2, "span", 10);
971
974
  i0.ɵɵelementEnd();
972
975
  } if (rf & 2) {
973
976
  const ctx_r9 = i0.ɵɵnextContext();
974
977
  const item_r9 = ctx_r9.$implicit;
975
- const ɵ$index_38_r11 = ctx_r9.$index;
978
+ const i_r11 = ctx_r9.index;
976
979
  const ctx_r2 = i0.ɵɵnextContext(3);
977
980
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c2$6, ctx_r2.disabled || ctx_r2.readonly))("title", item_r9.label);
978
981
  i0.ɵɵadvance();
979
982
  i0.ɵɵ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);
980
- i0.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
983
+ i0.ɵɵattribute("data-attr-index", i_r11);
981
984
  i0.ɵɵadvance();
982
985
  i0.ɵɵproperty("textContent", item_r9.label);
983
986
  } }
984
- function CheckboxsetComponent_Conditional_1_For_1_For_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
985
- i0.ɵɵelementStart(0, "label", 5);
986
- i0.ɵɵelement(1, "input", 6)(2, "span", 18);
987
+ function CheckboxsetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
988
+ i0.ɵɵelementStart(0, "label", 11);
989
+ i0.ɵɵelement(1, "input", 9)(2, "span", 26);
987
990
  i0.ɵɵelementEnd();
988
991
  } if (rf & 2) {
989
992
  const ctx_r9 = i0.ɵɵnextContext();
990
993
  const item_r9 = ctx_r9.$implicit;
991
- const ɵ$index_38_r11 = ctx_r9.$index;
994
+ const i_r11 = ctx_r9.index;
992
995
  const ctx_r2 = i0.ɵɵnextContext(3);
993
996
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$6, ctx_r2.disabled || ctx_r2.readonly));
994
997
  i0.ɵɵadvance();
995
998
  i0.ɵɵ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);
996
- i0.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
999
+ i0.ɵɵattribute("data-attr-index", i_r11);
997
1000
  } }
998
- function CheckboxsetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (rf & 1) {
1001
+ function CheckboxsetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
999
1002
  const _r8 = i0.ɵɵgetCurrentView();
1000
- i0.ɵɵelementStart(0, "li", 17);
1001
- i0.ɵɵlistener("click", function CheckboxsetComponent_Conditional_1_For_1_For_9_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
1002
- i0.ɵɵ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);
1003
+ i0.ɵɵelementStart(0, "li", 25);
1004
+ i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCheckboxLabelClick($event, item_r9)); });
1005
+ i0.ɵɵ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);
1003
1006
  i0.ɵɵelementEnd();
1004
1007
  } if (rf & 2) {
1005
1008
  const item_r9 = ctx.$implicit;
@@ -1007,48 +1010,45 @@ function CheckboxsetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (
1007
1010
  i0.ɵɵclassProp("active", item_r9.selected);
1008
1011
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$2, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
1009
1012
  i0.ɵɵadvance();
1010
- i0.ɵɵconditional(!ctx_r2.content ? 1 : -1);
1013
+ i0.ɵɵproperty("ngIf", !ctx_r2.content);
1011
1014
  i0.ɵɵadvance();
1012
- i0.ɵɵconditional(ctx_r2.content ? 2 : -1);
1015
+ i0.ɵɵproperty("ngIf", ctx_r2.content);
1013
1016
  } }
1014
- function CheckboxsetComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
1017
+ function CheckboxsetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
1015
1018
  const _r6 = i0.ɵɵgetCurrentView();
1016
- i0.ɵɵelementStart(0, "li", 9)(1, "ul", 10)(2, "li", 11);
1017
- i0.ɵɵlistener("click", function CheckboxsetComponent_Conditional_1_For_1_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
1018
- i0.ɵɵelementStart(3, "h4", 12);
1019
+ i0.ɵɵelementStart(0, "li", 15)(1, "ul", 16)(2, "li", 17);
1020
+ i0.ɵɵlistener("click", function CheckboxsetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
1021
+ i0.ɵɵelementStart(3, "h4", 18);
1019
1022
  i0.ɵɵtext(4);
1020
- i0.ɵɵelementStart(5, "div", 13);
1021
- i0.ɵɵ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);
1023
+ i0.ɵɵelementStart(5, "div", 19);
1024
+ i0.ɵɵ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);
1022
1025
  i0.ɵɵelementEnd()()();
1023
- i0.ɵɵrepeaterCreate(8, CheckboxsetComponent_Conditional_1_For_1_For_9_Template, 3, 10, "li", 16, i0.ɵɵrepeaterTrackByIdentity);
1026
+ i0.ɵɵtemplate(8, CheckboxsetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 22);
1024
1027
  i0.ɵɵelementEnd()();
1025
1028
  } if (rf & 2) {
1026
1029
  const groupObj_r7 = ctx.$implicit;
1027
- const ɵ$index_20_r12 = ctx.$index;
1030
+ const groupindex_r12 = ctx.index;
1028
1031
  const ctx_r2 = i0.ɵɵnextContext(2);
1029
1032
  i0.ɵɵadvance();
1030
- i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12);
1033
+ i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
1031
1034
  i0.ɵɵadvance();
1032
- i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(8, _c3$2, ctx_r2.collapsible));
1035
+ i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3$2, ctx_r2.collapsible));
1033
1036
  i0.ɵɵadvance();
1034
1037
  i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
1035
1038
  i0.ɵɵadvance();
1036
1039
  i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
1037
1040
  i0.ɵɵadvance(2);
1038
- i0.ɵɵconditional(ctx_r2.collapsible ? 6 : -1);
1041
+ i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
1039
1042
  i0.ɵɵadvance();
1040
- i0.ɵɵconditional(ctx_r2.showcount ? 7 : -1);
1043
+ i0.ɵɵproperty("ngIf", ctx_r2.showcount);
1041
1044
  i0.ɵɵadvance();
1042
- i0.ɵɵrepeater(groupObj_r7.data);
1045
+ i0.ɵɵproperty("ngForOf", groupObj_r7.data);
1043
1046
  } }
1044
- function CheckboxsetComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1045
- i0.ɵɵrepeaterCreate(0, CheckboxsetComponent_Conditional_1_For_1_Template, 10, 10, "li", 9, i0.ɵɵrepeaterTrackByIdentity);
1047
+ function CheckboxsetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
1048
+ i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_3_li_0_Template, 9, 11, "li", 14);
1046
1049
  } if (rf & 2) {
1047
1050
  const ctx_r2 = i0.ɵɵnextContext();
1048
- i0.ɵɵrepeater(ctx_r2.groupedData);
1049
- } }
1050
- function CheckboxsetComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
1051
- i0.ɵɵelement(0, "div", 1);
1051
+ i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
1052
1052
  } }
1053
1053
  const DEFAULT_CLS$3 = 'app-checkboxset list-group inline';
1054
1054
  const WIDGET_CONFIG$b = { widgetType: 'wm-checkboxset', hostClass: DEFAULT_CLS$3 };
@@ -1122,17 +1122,18 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
1122
1122
  provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
1123
1123
  provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
1124
1124
  provideAsWidgetRef(CheckboxsetComponent)
1125
- ]), i0.ɵɵ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) {
1126
- i0.ɵɵtemplate(0, CheckboxsetComponent_Conditional_0_Template, 2, 0)(1, CheckboxsetComponent_Conditional_1_Template, 2, 0);
1127
- i0.ɵɵelement(2, "input", 0);
1128
- i0.ɵɵtemplate(3, CheckboxsetComponent_Conditional_3_Template, 1, 0, "div", 1);
1125
+ ]), i0.ɵɵ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) {
1126
+ i0.ɵɵtemplate(0, CheckboxsetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
1127
+ i0.ɵɵelement(1, "input", 2);
1128
+ i0.ɵɵtemplate(2, CheckboxsetComponent_div_2_Template, 1, 0, "div", 3)(3, CheckboxsetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
1129
1129
  } if (rf & 2) {
1130
- i0.ɵɵconditional(!ctx.groupby ? 0 : 1);
1131
- i0.ɵɵadvance(2);
1130
+ const groupedListTemplate_r13 = i0.ɵɵreference(4);
1131
+ i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
1132
+ i0.ɵɵadvance();
1132
1133
  i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
1133
1134
  i0.ɵɵadvance();
1134
- i0.ɵɵconditional(ctx.readonly || ctx.disabled ? 3 : -1);
1135
- } }, dependencies: [i1.NgClass, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
1135
+ i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
1136
+ } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
1136
1137
  }
1137
1138
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxsetComponent, [{
1138
1139
  type: Component,
@@ -1140,7 +1141,7 @@ class CheckboxsetComponent extends DatasetAwareFormComponent {
1140
1141
  provideAs(CheckboxsetComponent, NG_VALUE_ACCESSOR, true),
1141
1142
  provideAs(CheckboxsetComponent, NG_VALIDATORS, true),
1142
1143
  provideAsWidgetRef(CheckboxsetComponent)
1143
- ], 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" }]
1144
+ ], 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" }]
1144
1145
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
1145
1146
  type: Inject,
1146
1147
  args: ['EXPLICIT_CONTEXT']
@@ -1970,41 +1971,41 @@ const _c1$7 = (a0, a1) => ["radio", "app-radio", a0, a1];
1970
1971
  const _c2$5 = a0 => ({ "disabled": a0 });
1971
1972
  const _c3$1 = a0 => ({ "collapsible-content": a0 });
1972
1973
  const _c4$1 = (a0, a1) => ["radio", "app-radio", "group-list-item", a0, a1];
1973
- function RadiosetComponent_Conditional_0_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1974
- i0.ɵɵelementStart(0, "label", 4);
1975
- i0.ɵɵelement(1, "input", 5)(2, "span", 6);
1974
+ function RadiosetComponent_ng_template_0_li_0_label_1_Template(rf, ctx) { if (rf & 1) {
1975
+ i0.ɵɵelementStart(0, "label", 7);
1976
+ i0.ɵɵelement(1, "input", 8)(2, "span", 9);
1976
1977
  i0.ɵɵelementEnd();
1977
1978
  } if (rf & 2) {
1978
1979
  const ctx_r3 = i0.ɵɵnextContext();
1979
1980
  const item_r2 = ctx_r3.$implicit;
1980
- const ɵ$index_2_r5 = ctx_r3.$index;
1981
+ const i_r5 = ctx_r3.index;
1981
1982
  const ctx_r2 = i0.ɵɵnextContext(2);
1982
1983
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
1983
1984
  i0.ɵɵadvance();
1984
1985
  i0.ɵɵ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);
1985
- i0.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
1986
+ i0.ɵɵattribute("data-attr-index", i_r5);
1986
1987
  i0.ɵɵadvance();
1987
1988
  i0.ɵɵproperty("textContent", item_r2.label);
1988
1989
  } }
1989
- function RadiosetComponent_Conditional_0_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
1990
- i0.ɵɵelementStart(0, "label", 4);
1991
- i0.ɵɵelement(1, "input", 5)(2, "span", 7);
1990
+ function RadiosetComponent_ng_template_0_li_0_label_2_Template(rf, ctx) { if (rf & 1) {
1991
+ i0.ɵɵelementStart(0, "label", 7);
1992
+ i0.ɵɵelement(1, "input", 8)(2, "span", 10);
1992
1993
  i0.ɵɵelementEnd();
1993
1994
  } if (rf & 2) {
1994
1995
  const ctx_r3 = i0.ɵɵnextContext();
1995
1996
  const item_r2 = ctx_r3.$implicit;
1996
- const ɵ$index_2_r5 = ctx_r3.$index;
1997
+ const i_r5 = ctx_r3.index;
1997
1998
  const ctx_r2 = i0.ɵɵnextContext(2);
1998
1999
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
1999
2000
  i0.ɵɵadvance();
2000
2001
  i0.ɵɵ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);
2001
- i0.ɵɵattribute("data-attr-index", ɵ$index_2_r5);
2002
+ i0.ɵɵattribute("data-attr-index", i_r5);
2002
2003
  } }
2003
- function RadiosetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
2004
+ function RadiosetComponent_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
2004
2005
  const _r1 = i0.ɵɵgetCurrentView();
2005
- i0.ɵɵelementStart(0, "li", 3);
2006
- i0.ɵɵlistener("click", function RadiosetComponent_Conditional_0_For_1_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
2007
- i0.ɵɵ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);
2006
+ i0.ɵɵelementStart(0, "li", 5);
2007
+ i0.ɵɵlistener("click", function RadiosetComponent_ng_template_0_li_0_Template_li_click_0_listener($event) { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r2.key)); });
2008
+ i0.ɵɵ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);
2008
2009
  i0.ɵɵelementEnd();
2009
2010
  } if (rf & 2) {
2010
2011
  const item_r2 = ctx.$implicit;
@@ -2012,63 +2013,66 @@ function RadiosetComponent_Conditional_0_For_1_Template(rf, ctx) { if (rf & 1) {
2012
2013
  i0.ɵɵclassProp("active", item_r2.selected);
2013
2014
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c1$7, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r2);
2014
2015
  i0.ɵɵadvance();
2015
- i0.ɵɵconditional(!ctx_r2.content ? 1 : -1);
2016
+ i0.ɵɵproperty("ngIf", !ctx_r2.content);
2016
2017
  i0.ɵɵadvance();
2017
- i0.ɵɵconditional(ctx_r2.content ? 2 : -1);
2018
+ i0.ɵɵproperty("ngIf", ctx_r2.content);
2018
2019
  } }
2019
- function RadiosetComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
2020
- i0.ɵɵrepeaterCreate(0, RadiosetComponent_Conditional_0_For_1_Template, 3, 10, "li", 2, i0.ɵɵrepeaterTrackByIdentity);
2020
+ function RadiosetComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2021
+ i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_li_0_Template, 3, 10, "li", 4);
2021
2022
  } if (rf & 2) {
2022
2023
  const ctx_r2 = i0.ɵɵnextContext();
2023
- i0.ɵɵrepeater(ctx_r2.datasetItems);
2024
+ i0.ɵɵproperty("ngForOf", ctx_r2.datasetItems);
2024
2025
  } }
2025
- function RadiosetComponent_Conditional_1_For_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
2026
- i0.ɵɵelement(0, "i", 13);
2026
+ function RadiosetComponent_div_2_Template(rf, ctx) { if (rf & 1) {
2027
+ i0.ɵɵelement(0, "div", 11);
2028
+ } }
2029
+ function RadiosetComponent_ng_template_3_li_0_i_6_Template(rf, ctx) { if (rf & 1) {
2030
+ i0.ɵɵelement(0, "i", 21);
2027
2031
  } if (rf & 2) {
2028
2032
  const ctx_r2 = i0.ɵɵnextContext(3);
2029
2033
  i0.ɵɵpropertyInterpolate2("title", "", ctx_r2.appLocale.LABEL_COLLAPSE, "/", ctx_r2.appLocale.LABEL_EXPAND, "");
2030
2034
  } }
2031
- function RadiosetComponent_Conditional_1_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
2032
- i0.ɵɵelement(0, "span", 14);
2035
+ function RadiosetComponent_ng_template_3_li_0_span_7_Template(rf, ctx) { if (rf & 1) {
2036
+ i0.ɵɵelement(0, "span", 22);
2033
2037
  } if (rf & 2) {
2034
2038
  const groupObj_r7 = i0.ɵɵnextContext().$implicit;
2035
2039
  i0.ɵɵproperty("textContent", groupObj_r7.data.length);
2036
2040
  } }
2037
- function RadiosetComponent_Conditional_1_For_1_For_9_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2038
- i0.ɵɵelementStart(0, "label", 4);
2039
- i0.ɵɵelement(1, "input", 17)(2, "span", 6);
2041
+ function RadiosetComponent_ng_template_3_li_0_li_8_label_1_Template(rf, ctx) { if (rf & 1) {
2042
+ i0.ɵɵelementStart(0, "label", 7);
2043
+ i0.ɵɵelement(1, "input", 24)(2, "span", 9);
2040
2044
  i0.ɵɵelementEnd();
2041
2045
  } if (rf & 2) {
2042
2046
  const ctx_r9 = i0.ɵɵnextContext();
2043
2047
  const item_r9 = ctx_r9.$implicit;
2044
- const ɵ$index_38_r11 = ctx_r9.$index;
2048
+ const i_r11 = ctx_r9.index;
2045
2049
  const ctx_r2 = i0.ɵɵnextContext(3);
2046
2050
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
2047
2051
  i0.ɵɵadvance();
2048
2052
  i0.ɵɵ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);
2049
- i0.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
2053
+ i0.ɵɵattribute("data-attr-index", i_r11);
2050
2054
  i0.ɵɵadvance();
2051
2055
  i0.ɵɵproperty("textContent", item_r9.label);
2052
2056
  } }
2053
- function RadiosetComponent_Conditional_1_For_1_For_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
2054
- i0.ɵɵelementStart(0, "label", 4);
2055
- i0.ɵɵelement(1, "input", 17)(2, "span", 7);
2057
+ function RadiosetComponent_ng_template_3_li_0_li_8_label_2_Template(rf, ctx) { if (rf & 1) {
2058
+ i0.ɵɵelementStart(0, "label", 7);
2059
+ i0.ɵɵelement(1, "input", 24)(2, "span", 10);
2056
2060
  i0.ɵɵelementEnd();
2057
2061
  } if (rf & 2) {
2058
2062
  const ctx_r9 = i0.ɵɵnextContext();
2059
2063
  const item_r9 = ctx_r9.$implicit;
2060
- const ɵ$index_38_r11 = ctx_r9.$index;
2064
+ const i_r11 = ctx_r9.index;
2061
2065
  const ctx_r2 = i0.ɵɵnextContext(3);
2062
2066
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c2$5, ctx_r2.disabled || ctx_r2.readonly));
2063
2067
  i0.ɵɵadvance();
2064
2068
  i0.ɵɵ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);
2065
- i0.ɵɵattribute("data-attr-index", ɵ$index_38_r11);
2069
+ i0.ɵɵattribute("data-attr-index", i_r11);
2066
2070
  } }
2067
- function RadiosetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (rf & 1) {
2071
+ function RadiosetComponent_ng_template_3_li_0_li_8_Template(rf, ctx) { if (rf & 1) {
2068
2072
  const _r8 = i0.ɵɵgetCurrentView();
2069
- i0.ɵɵelementStart(0, "li", 16);
2070
- i0.ɵɵlistener("click", function RadiosetComponent_Conditional_1_For_1_For_9_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
2071
- i0.ɵɵ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);
2073
+ i0.ɵɵelementStart(0, "li", 23);
2074
+ i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_li_8_Template_li_click_0_listener($event) { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRadioLabelClick($event, item_r9)); });
2075
+ i0.ɵɵ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);
2072
2076
  i0.ɵɵelementEnd();
2073
2077
  } if (rf & 2) {
2074
2078
  const item_r9 = ctx.$implicit;
@@ -2076,48 +2080,45 @@ function RadiosetComponent_Conditional_1_For_1_For_9_Template(rf, ctx) { if (rf
2076
2080
  i0.ɵɵclassProp("active", item_r9.selected);
2077
2081
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c4$1, ctx_r2.itemclass, ctx_r2.itemsPerRowClass))("wmItemTemplate", ctx_r2.content)("userComponentParams", item_r9);
2078
2082
  i0.ɵɵadvance();
2079
- i0.ɵɵconditional(!ctx_r2.content ? 1 : -1);
2083
+ i0.ɵɵproperty("ngIf", !ctx_r2.content);
2080
2084
  i0.ɵɵadvance();
2081
- i0.ɵɵconditional(ctx_r2.content ? 2 : -1);
2085
+ i0.ɵɵproperty("ngIf", ctx_r2.content);
2082
2086
  } }
2083
- function RadiosetComponent_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
2087
+ function RadiosetComponent_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
2084
2088
  const _r6 = i0.ɵɵgetCurrentView();
2085
- i0.ɵɵelementStart(0, "li", 8)(1, "ul", 9)(2, "li", 10);
2086
- i0.ɵɵlistener("click", function RadiosetComponent_Conditional_1_For_1_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
2087
- i0.ɵɵelementStart(3, "h4", 11);
2089
+ i0.ɵɵelementStart(0, "li", 13)(1, "ul", 14)(2, "li", 15);
2090
+ i0.ɵɵlistener("click", function RadiosetComponent_ng_template_3_li_0_Template_li_click_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.handleHeaderClick($event)); });
2091
+ i0.ɵɵelementStart(3, "h4", 16);
2088
2092
  i0.ɵɵtext(4);
2089
- i0.ɵɵelementStart(5, "div", 12);
2090
- i0.ɵɵ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);
2093
+ i0.ɵɵelementStart(5, "div", 17);
2094
+ i0.ɵɵ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);
2091
2095
  i0.ɵɵelementEnd()()();
2092
- i0.ɵɵrepeaterCreate(8, RadiosetComponent_Conditional_1_For_1_For_9_Template, 3, 10, "li", 15, i0.ɵɵrepeaterTrackByIdentity);
2096
+ i0.ɵɵtemplate(8, RadiosetComponent_ng_template_3_li_0_li_8_Template, 3, 10, "li", 20);
2093
2097
  i0.ɵɵelementEnd()();
2094
2098
  } if (rf & 2) {
2095
2099
  const groupObj_r7 = ctx.$implicit;
2096
- const ɵ$index_20_r12 = ctx.$index;
2100
+ const groupindex_r12 = ctx.index;
2097
2101
  const ctx_r2 = i0.ɵɵnextContext(2);
2098
2102
  i0.ɵɵadvance();
2099
- i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12);
2103
+ i0.ɵɵattribute("aria-labelledby", "group_" + ctx_r2.widgetId + "_" + groupindex_r12);
2100
2104
  i0.ɵɵadvance();
2101
- i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + ɵ$index_20_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(8, _c3$1, ctx_r2.collapsible));
2105
+ i0.ɵɵproperty("id", "group_" + ctx_r2.widgetId + "_" + groupindex_r12)("title", groupObj_r7.key)("ngClass", i0.ɵɵpureFunction1(9, _c3$1, ctx_r2.collapsible));
2102
2106
  i0.ɵɵadvance();
2103
2107
  i0.ɵɵattribute("aria-label", "Group " + groupObj_r7.key);
2104
2108
  i0.ɵɵadvance();
2105
2109
  i0.ɵɵtextInterpolate1("", groupObj_r7.key, " ");
2106
2110
  i0.ɵɵadvance(2);
2107
- i0.ɵɵconditional(ctx_r2.collapsible ? 6 : -1);
2111
+ i0.ɵɵproperty("ngIf", ctx_r2.collapsible);
2108
2112
  i0.ɵɵadvance();
2109
- i0.ɵɵconditional(ctx_r2.showcount ? 7 : -1);
2113
+ i0.ɵɵproperty("ngIf", ctx_r2.showcount);
2110
2114
  i0.ɵɵadvance();
2111
- i0.ɵɵrepeater(groupObj_r7.data);
2115
+ i0.ɵɵproperty("ngForOf", groupObj_r7.data);
2112
2116
  } }
2113
- function RadiosetComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2114
- i0.ɵɵrepeaterCreate(0, RadiosetComponent_Conditional_1_For_1_Template, 10, 10, "li", 8, i0.ɵɵrepeaterTrackByIdentity);
2117
+ function RadiosetComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
2118
+ i0.ɵɵtemplate(0, RadiosetComponent_ng_template_3_li_0_Template, 9, 11, "li", 12);
2115
2119
  } if (rf & 2) {
2116
2120
  const ctx_r2 = i0.ɵɵnextContext();
2117
- i0.ɵɵrepeater(ctx_r2.groupedData);
2118
- } }
2119
- function RadiosetComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2120
- i0.ɵɵelement(0, "div", 1);
2121
+ i0.ɵɵproperty("ngForOf", ctx_r2.groupedData);
2121
2122
  } }
2122
2123
  const DEFAULT_CLS$1 = 'app-radioset list-group inline';
2123
2124
  const WIDGET_CONFIG$8 = { widgetType: 'wm-radioset', hostClass: DEFAULT_CLS$1 };
@@ -2177,17 +2178,18 @@ class RadiosetComponent extends DatasetAwareFormComponent {
2177
2178
  provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
2178
2179
  provideAs(RadiosetComponent, NG_VALIDATORS, true),
2179
2180
  provideAsWidgetRef(RadiosetComponent)
2180
- ]), i0.ɵɵ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) {
2181
- i0.ɵɵtemplate(0, RadiosetComponent_Conditional_0_Template, 2, 0)(1, RadiosetComponent_Conditional_1_Template, 2, 0);
2182
- i0.ɵɵelement(2, "input", 0);
2183
- i0.ɵɵtemplate(3, RadiosetComponent_Conditional_3_Template, 1, 0, "div", 1);
2181
+ ]), i0.ɵɵ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) {
2182
+ i0.ɵɵtemplate(0, RadiosetComponent_ng_template_0_Template, 1, 1, "ng-template", 1);
2183
+ i0.ɵɵelement(1, "input", 2);
2184
+ i0.ɵɵtemplate(2, RadiosetComponent_div_2_Template, 1, 0, "div", 3)(3, RadiosetComponent_ng_template_3_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
2184
2185
  } if (rf & 2) {
2185
- i0.ɵɵconditional(!ctx.groupby ? 0 : 1);
2186
- i0.ɵɵadvance(2);
2186
+ const groupedListTemplate_r13 = i0.ɵɵreference(4);
2187
+ i0.ɵɵproperty("ngIf", !ctx.groupby)("ngIfElse", groupedListTemplate_r13);
2188
+ i0.ɵɵadvance();
2187
2189
  i0.ɵɵproperty("disabled", ctx.disabled || ctx.readonly);
2188
2190
  i0.ɵɵadvance();
2189
- i0.ɵɵconditional(ctx.readonly || ctx.disabled ? 3 : -1);
2190
- } }, dependencies: [i1.NgClass, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
2191
+ i0.ɵɵproperty("ngIf", ctx.readonly || ctx.disabled);
2192
+ } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.ItemTemplateDirective, i2.PartialParamHandlerDirective, i2.PartialContainerDirective, i2.TextContentDirective], encapsulation: 2 }); }
2191
2193
  }
2192
2194
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiosetComponent, [{
2193
2195
  type: Component,
@@ -2195,7 +2197,7 @@ class RadiosetComponent extends DatasetAwareFormComponent {
2195
2197
  provideAs(RadiosetComponent, NG_VALUE_ACCESSOR, true),
2196
2198
  provideAs(RadiosetComponent, NG_VALIDATORS, true),
2197
2199
  provideAsWidgetRef(RadiosetComponent)
2198
- ], 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" }]
2200
+ ], 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" }]
2199
2201
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
2200
2202
  type: Inject,
2201
2203
  args: ['EXPLICIT_CONTEXT']
@@ -2241,39 +2243,45 @@ const registerProps$7 = () => {
2241
2243
  const _c0$7 = ["select"];
2242
2244
  const _c1$6 = a0 => ["app-select form-control", a0];
2243
2245
  const _c2$4 = () => ({ standalone: true });
2244
- function SelectComponent_Conditional_3_For_1_For_2_Template(rf, ctx) { if (rf & 1) {
2245
- i0.ɵɵelement(0, "option", 4);
2246
+ function SelectComponent_ng_container_3_optgroup_1_option_1_Template(rf, ctx) { if (rf & 1) {
2247
+ i0.ɵɵelement(0, "option", 7);
2246
2248
  } if (rf & 2) {
2247
2249
  const item_r2 = ctx.$implicit;
2248
2250
  i0.ɵɵproperty("value", item_r2.key)("selected", item_r2.selected)("textContent", item_r2.label);
2249
2251
  } }
2250
- function SelectComponent_Conditional_3_For_1_Template(rf, ctx) { if (rf & 1) {
2251
- i0.ɵɵelementStart(0, "optgroup", 3);
2252
- i0.ɵɵrepeaterCreate(1, SelectComponent_Conditional_3_For_1_For_2_Template, 1, 3, "option", 4, i0.ɵɵrepeaterTrackByIdentity);
2252
+ function SelectComponent_ng_container_3_optgroup_1_Template(rf, ctx) { if (rf & 1) {
2253
+ i0.ɵɵelementStart(0, "optgroup", 5);
2254
+ i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_option_1_Template, 1, 3, "option", 6);
2253
2255
  i0.ɵɵelementEnd();
2254
2256
  } if (rf & 2) {
2255
2257
  const groupObj_r3 = ctx.$implicit;
2256
2258
  i0.ɵɵproperty("label", groupObj_r3.key);
2257
2259
  i0.ɵɵadvance();
2258
- i0.ɵɵrepeater(groupObj_r3.data);
2260
+ i0.ɵɵproperty("ngForOf", groupObj_r3.data);
2259
2261
  } }
2260
- function SelectComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2261
- i0.ɵɵrepeaterCreate(0, SelectComponent_Conditional_3_For_1_Template, 3, 1, "optgroup", 3, i0.ɵɵrepeaterTrackByIdentity);
2262
+ function SelectComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
2263
+ i0.ɵɵelementContainerStart(0);
2264
+ i0.ɵɵtemplate(1, SelectComponent_ng_container_3_optgroup_1_Template, 2, 2, "optgroup", 4);
2265
+ i0.ɵɵelementContainerEnd();
2262
2266
  } if (rf & 2) {
2263
2267
  const ctx_r3 = i0.ɵɵnextContext();
2264
- i0.ɵɵrepeater(ctx_r3.groupedData);
2268
+ i0.ɵɵadvance();
2269
+ i0.ɵɵproperty("ngForOf", ctx_r3.groupedData);
2265
2270
  } }
2266
- function SelectComponent_Conditional_4_For_1_Template(rf, ctx) { if (rf & 1) {
2267
- i0.ɵɵelement(0, "option", 4);
2271
+ function SelectComponent_ng_container_4_option_1_Template(rf, ctx) { if (rf & 1) {
2272
+ i0.ɵɵelement(0, "option", 7);
2268
2273
  } if (rf & 2) {
2269
2274
  const item_r5 = ctx.$implicit;
2270
2275
  i0.ɵɵproperty("value", item_r5.key)("selected", item_r5.selected)("textContent", item_r5.label);
2271
2276
  } }
2272
- function SelectComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
2273
- i0.ɵɵrepeaterCreate(0, SelectComponent_Conditional_4_For_1_Template, 1, 3, "option", 4, i0.ɵɵrepeaterTrackByIdentity);
2277
+ function SelectComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
2278
+ i0.ɵɵelementContainerStart(0);
2279
+ i0.ɵɵtemplate(1, SelectComponent_ng_container_4_option_1_Template, 1, 3, "option", 6);
2280
+ i0.ɵɵelementContainerEnd();
2274
2281
  } if (rf & 2) {
2275
2282
  const ctx_r3 = i0.ɵɵnextContext();
2276
- i0.ɵɵrepeater(ctx_r3.datasetItems);
2283
+ i0.ɵɵadvance();
2284
+ i0.ɵɵproperty("ngForOf", ctx_r3.datasetItems);
2277
2285
  } }
2278
2286
  const WIDGET_CONFIG$7 = { widgetType: 'wm-select', hostClass: 'app-select-wrapper' };
2279
2287
  class SelectComponent extends DatasetAwareFormComponent {
@@ -2416,13 +2424,13 @@ class SelectComponent extends DatasetAwareFormComponent {
2416
2424
  provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
2417
2425
  provideAs(SelectComponent, NG_VALIDATORS, true),
2418
2426
  provideAsWidgetRef(SelectComponent)
2419
- ]), i0.ɵɵ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) {
2427
+ ]), i0.ɵɵ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) {
2420
2428
  const _r1 = i0.ɵɵgetCurrentView();
2421
2429
  i0.ɵɵelementStart(0, "select", 1, 0);
2422
2430
  i0.ɵɵtwoWayListener("ngModelChange", function SelectComponent_Template_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.modelByKey, $event) || (ctx.modelByKey = $event); return i0.ɵɵresetView($event); });
2423
2431
  i0.ɵɵlistener("change", function SelectComponent_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSelectValueChange($event)); })("mousedown", function SelectComponent_Template_select_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); })("blur", function SelectComponent_Template_select_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.invokeOnTouched($event); return i0.ɵɵresetView(ctx.checkForFloatingLabel($event)); });
2424
2432
  i0.ɵɵelement(2, "option", 2);
2425
- i0.ɵɵtemplate(3, SelectComponent_Conditional_3_Template, 2, 0)(4, SelectComponent_Conditional_4_Template, 2, 0);
2433
+ i0.ɵɵtemplate(3, SelectComponent_ng_container_3_Template, 2, 1, "ng-container", 3)(4, SelectComponent_ng_container_4_Template, 2, 1, "ng-container", 3);
2426
2434
  i0.ɵɵelementEnd();
2427
2435
  } if (rf & 2) {
2428
2436
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$6, ctx.class))("disabled", ctx.disabled)("required", ctx.required)("tabindex", ctx.tabindex);
@@ -2432,10 +2440,10 @@ class SelectComponent extends DatasetAwareFormComponent {
2432
2440
  i0.ɵɵadvance(2);
2433
2441
  i0.ɵɵproperty("textContent", ctx.placeholder)("hidden", !ctx.placeholder);
2434
2442
  i0.ɵɵadvance();
2435
- i0.ɵɵconditional(ctx.groupby ? 3 : -1);
2443
+ i0.ɵɵproperty("ngIf", ctx.groupby);
2436
2444
  i0.ɵɵadvance();
2437
- i0.ɵɵconditional(!ctx.groupby ? 4 : -1);
2438
- } }, dependencies: [i1.NgClass, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectMultipleControlValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel, i2.TextContentDirective], encapsulation: 2 }); }
2445
+ i0.ɵɵproperty("ngIf", !ctx.groupby);
2446
+ } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectMultipleControlValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel, i2.TextContentDirective], encapsulation: 2 }); }
2439
2447
  }
2440
2448
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectComponent, [{
2441
2449
  type: Component,
@@ -2443,7 +2451,7 @@ class SelectComponent extends DatasetAwareFormComponent {
2443
2451
  provideAs(SelectComponent, NG_VALUE_ACCESSOR, true),
2444
2452
  provideAs(SelectComponent, NG_VALIDATORS, true),
2445
2453
  provideAsWidgetRef(SelectComponent)
2446
- ], 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" }]
2454
+ ], 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" }]
2447
2455
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
2448
2456
  type: Inject,
2449
2457
  args: ['EXPLICIT_CONTEXT']
@@ -2486,24 +2494,24 @@ const _c1$5 = a0 => ({ "multi-select": a0 });
2486
2494
  const _c2$3 = (a0, a1) => ({ "selected": a0, "disabled": a1 });
2487
2495
  const _c3 = a0 => ["app-icon", a0];
2488
2496
  const _c4 = a0 => [a0];
2489
- function SwitchComponent_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
2490
- i0.ɵɵelement(0, "i", 5);
2497
+ function SwitchComponent_a_1_i_1_Template(rf, ctx) { if (rf & 1) {
2498
+ i0.ɵɵelement(0, "i", 7);
2491
2499
  } if (rf & 2) {
2492
2500
  const opt_r3 = i0.ɵɵnextContext().$implicit;
2493
2501
  const ctx_r4 = i0.ɵɵnextContext();
2494
2502
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c3, opt_r3.dataObject[ctx_r4.iconclass] || opt_r3["icon"]));
2495
2503
  } }
2496
- function SwitchComponent_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
2497
- i0.ɵɵelement(0, "i", 5);
2504
+ function SwitchComponent_a_1_i_2_Template(rf, ctx) { if (rf & 1) {
2505
+ i0.ɵɵelement(0, "i", 7);
2498
2506
  } if (rf & 2) {
2499
2507
  const ctx_r4 = i0.ɵɵnextContext(2);
2500
2508
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c4, ctx_r4.checkediconclass));
2501
2509
  } }
2502
- function SwitchComponent_For_2_Template(rf, ctx) { if (rf & 1) {
2510
+ function SwitchComponent_a_1_Template(rf, ctx) { if (rf & 1) {
2503
2511
  const _r1 = i0.ɵɵgetCurrentView();
2504
2512
  i0.ɵɵelementStart(0, "a", 4);
2505
- i0.ɵɵlistener("click", function SwitchComponent_For_2_Template_a_click_0_listener($event) { const ctx_r1 = i0.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.$index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
2506
- i0.ɵɵtemplate(1, SwitchComponent_For_2_Conditional_1_Template, 1, 3, "i", 5)(2, SwitchComponent_For_2_Conditional_2_Template, 1, 3, "i", 5);
2513
+ i0.ɵɵlistener("click", function SwitchComponent_a_1_Template_a_click_0_listener($event) { const ctx_r1 = i0.ɵɵrestoreView(_r1); const opt_r3 = ctx_r1.$implicit; const $index_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.selectOpt($event, $index_r4, opt_r3)); });
2514
+ i0.ɵɵtemplate(1, SwitchComponent_a_1_i_1_Template, 1, 3, "i", 5)(2, SwitchComponent_a_1_i_2_Template, 1, 3, "i", 5);
2507
2515
  i0.ɵɵelement(3, "span", 6);
2508
2516
  i0.ɵɵelementEnd();
2509
2517
  } if (rf & 2) {
@@ -2512,16 +2520,16 @@ function SwitchComponent_For_2_Template(rf, ctx) { if (rf & 1) {
2512
2520
  i0.ɵɵ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.ɵɵpureFunction2(8, _c2$3, opt_r3.selected, ctx_r4.disabled));
2513
2521
  i0.ɵɵattribute("aria-pressed", opt_r3.selected ? true : false);
2514
2522
  i0.ɵɵadvance();
2515
- i0.ɵɵconditional(opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass] && !opt_r3.selected ? 1 : -1);
2523
+ i0.ɵɵproperty("ngIf", opt_r3.dataObject && opt_r3.dataObject[ctx_r4.iconclass] && !opt_r3.selected);
2516
2524
  i0.ɵɵadvance();
2517
- i0.ɵɵconditional(opt_r3.selected && ctx_r4.checkediconclass ? 2 : -1);
2525
+ i0.ɵɵproperty("ngIf", opt_r3.selected && ctx_r4.checkediconclass);
2518
2526
  i0.ɵɵadvance();
2519
2527
  i0.ɵɵproperty("textContent", opt_r3[ctx_r4.displayfield] || opt_r3.label);
2520
2528
  } }
2521
- function SwitchComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
2522
- i0.ɵɵelementStart(0, "span", 2);
2523
- i0.ɵɵelement(1, "i", 7);
2524
- i0.ɵɵelementStart(2, "span", 8);
2529
+ function SwitchComponent_span_2_Template(rf, ctx) { if (rf & 1) {
2530
+ i0.ɵɵelementStart(0, "span", 8);
2531
+ i0.ɵɵelement(1, "i", 9);
2532
+ i0.ɵɵelementStart(2, "span", 10);
2525
2533
  i0.ɵɵtext(3);
2526
2534
  i0.ɵɵelementEnd()();
2527
2535
  } if (rf & 2) {
@@ -2666,28 +2674,28 @@ class SwitchComponent extends DatasetAwareFormComponent {
2666
2674
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitchComponent, selectors: [["", "wmSwitch", ""]], exportAs: ["wmSwitch"], features: [i0.ɵɵProvidersFeature([
2667
2675
  provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
2668
2676
  provideAsWidgetRef(SwitchComponent)
2669
- ]), i0.ɵɵ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) {
2677
+ ]), i0.ɵɵ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) {
2670
2678
  i0.ɵɵelementStart(0, "div", 0);
2671
- i0.ɵɵrepeaterCreate(1, SwitchComponent_For_2_Template, 4, 11, "a", 1, i0.ɵɵrepeaterTrackByIdentity);
2679
+ i0.ɵɵtemplate(1, SwitchComponent_a_1_Template, 4, 11, "a", 1);
2672
2680
  i0.ɵɵelementEnd();
2673
- i0.ɵɵtemplate(3, SwitchComponent_Conditional_3_Template, 4, 5, "span", 2);
2674
- i0.ɵɵelement(4, "input", 3);
2681
+ i0.ɵɵtemplate(2, SwitchComponent_span_2_Template, 4, 5, "span", 2);
2682
+ i0.ɵɵelement(3, "input", 3);
2675
2683
  } if (rf & 2) {
2676
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$5, ctx.multiple));
2684
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$5, ctx.multiple));
2677
2685
  i0.ɵɵadvance();
2678
- i0.ɵɵrepeater(ctx.datasetItems);
2679
- i0.ɵɵadvance(2);
2680
- i0.ɵɵconditional(!ctx.multiple ? 3 : -1);
2686
+ i0.ɵɵproperty("ngForOf", ctx.datasetItems);
2687
+ i0.ɵɵadvance();
2688
+ i0.ɵɵproperty("ngIf", !ctx.multiple);
2681
2689
  i0.ɵɵadvance();
2682
2690
  i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.modelByKey)("required", ctx.required);
2683
- } }, dependencies: [i1.NgClass, i2.TextContentDirective], encapsulation: 2 }); }
2691
+ } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
2684
2692
  }
2685
2693
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitchComponent, [{
2686
2694
  type: Component,
2687
2695
  args: [{ selector: '[wmSwitch]', providers: [
2688
2696
  provideAs(SwitchComponent, NG_VALUE_ACCESSOR, true),
2689
2697
  provideAsWidgetRef(SwitchComponent)
2690
- ], 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" }]
2698
+ ], 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" }]
2691
2699
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
2692
2700
  type: Inject,
2693
2701
  args: ['EXPLICIT_CONTEXT']
@@ -3251,8 +3259,8 @@ const registerProps = () => {
3251
3259
  };
3252
3260
 
3253
3261
  const _c0 = ["textarea"];
3254
- function TextareaComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3255
- i0.ɵɵelementStart(0, "div", 2);
3262
+ function TextareaComponent_div_2_Template(rf, ctx) { if (rf & 1) {
3263
+ i0.ɵɵelementStart(0, "div", 3);
3256
3264
  i0.ɵɵtext(1);
3257
3265
  i0.ɵɵelementEnd();
3258
3266
  } if (rf & 2) {
@@ -3288,20 +3296,20 @@ class TextareaComponent extends BaseInput {
3288
3296
  provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
3289
3297
  provideAs(TextareaComponent, NG_VALIDATORS, true),
3290
3298
  provideAsWidgetRef(TextareaComponent)
3291
- ]), i0.ɵɵ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) {
3299
+ ]), i0.ɵɵ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) {
3292
3300
  const _r1 = i0.ɵɵgetCurrentView();
3293
3301
  i0.ɵɵelementStart(0, "textarea", 1, 0);
3294
3302
  i0.ɵɵtwoWayListener("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.datavalue, $event) || (ctx.datavalue = $event); return i0.ɵɵresetView($event); });
3295
3303
  i0.ɵɵlistener("blur", function TextareaComponent_Template_textarea_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); })("input", function TextareaComponent_Template_textarea_input_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputChange()); })("ngModelChange", function TextareaComponent_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); ctx.handleChange($event); return i0.ɵɵresetView(ctx.onInputChange()); });
3296
3304
  i0.ɵɵelementEnd();
3297
- i0.ɵɵtemplate(2, TextareaComponent_Conditional_2_Template, 2, 1, "div", 2);
3305
+ i0.ɵɵtemplate(2, TextareaComponent_div_2_Template, 2, 1, "div", 2);
3298
3306
  } if (rf & 2) {
3299
3307
  i0.ɵɵtwoWayProperty("ngModel", ctx.datavalue);
3300
3308
  i0.ɵɵ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);
3301
3309
  i0.ɵɵattribute("name", ctx.name)("tabindex", ctx.tabindex)("placeholder", ctx.placeholder)("accesskey", ctx.shortcutkey)("aria-label", ctx.arialabel);
3302
3310
  i0.ɵɵadvance(2);
3303
- i0.ɵɵconditional(ctx.maxchars ? 2 : -1);
3304
- } }, dependencies: [i1.NgClass, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
3311
+ i0.ɵɵproperty("ngIf", ctx.maxchars);
3312
+ } }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel], encapsulation: 2 }); }
3305
3313
  }
3306
3314
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
3307
3315
  type: Component,
@@ -3309,7 +3317,7 @@ class TextareaComponent extends BaseInput {
3309
3317
  provideAs(TextareaComponent, NG_VALUE_ACCESSOR, true),
3310
3318
  provideAs(TextareaComponent, NG_VALIDATORS, true),
3311
3319
  provideAsWidgetRef(TextareaComponent)
3312
- ], 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" }]
3320
+ ], 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" }]
3313
3321
  }], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
3314
3322
  type: Inject,
3315
3323
  args: ['EXPLICIT_CONTEXT']