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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build-task/bundles/index.umd.js +5 -3
  2. package/build-task/esm2022/advanced/carousel/carousel-template/carousel-template.build.mjs +4 -2
  3. package/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
  4. package/build-task/fesm2022/index.mjs +5 -3
  5. package/build-task/fesm2022/index.mjs.map +1 -1
  6. package/components/basic/default/bundles/index.umd.js +68 -71
  7. package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
  8. package/components/basic/default/esm2022/icon/icon.component.mjs +12 -13
  9. package/components/basic/default/esm2022/iframe/iframe.component.mjs +9 -10
  10. package/components/basic/default/esm2022/picture/picture.directive.mjs +2 -5
  11. package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
  12. package/components/basic/default/esm2022/video/video.component.mjs +14 -15
  13. package/components/basic/default/fesm2022/index.mjs +68 -71
  14. package/components/basic/default/fesm2022/index.mjs.map +1 -1
  15. package/components/basic/progress/bundles/index.umd.js +16 -17
  16. package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +7 -8
  17. package/components/basic/progress/fesm2022/index.mjs +8 -9
  18. package/components/basic/progress/fesm2022/index.mjs.map +1 -1
  19. package/components/basic/rich-text-editor/bundles/index.umd.js +11 -12
  20. package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +8 -9
  21. package/components/basic/rich-text-editor/fesm2022/index.mjs +7 -8
  22. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  23. package/components/basic/search/bundles/index.umd.js +63 -67
  24. package/components/basic/search/esm2022/search.component.mjs +63 -67
  25. package/components/basic/search/esm2022/search.module.mjs +2 -2
  26. package/components/basic/search/fesm2022/index.mjs +63 -67
  27. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  28. package/components/chart/bundles/index.umd.js +17 -17
  29. package/components/chart/esm2022/chart.component.mjs +18 -18
  30. package/components/chart/fesm2022/index.mjs +17 -17
  31. package/components/chart/fesm2022/index.mjs.map +1 -1
  32. package/components/containers/panel/bundles/index.umd.js +39 -39
  33. package/components/containers/panel/esm2022/panel.component.mjs +40 -40
  34. package/components/containers/panel/fesm2022/index.mjs +39 -39
  35. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  36. package/components/containers/tabs/bundles/index.umd.js +29 -29
  37. package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
  38. package/components/containers/tabs/fesm2022/index.mjs +29 -29
  39. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  40. package/components/containers/wizard/bundles/index.umd.js +49 -49
  41. package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
  42. package/components/containers/wizard/fesm2022/index.mjs +49 -49
  43. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  44. package/components/data/card/bundles/index.umd.js +29 -29
  45. package/components/data/card/esm2022/card.component.mjs +30 -30
  46. package/components/data/card/fesm2022/index.mjs +29 -29
  47. package/components/data/card/fesm2022/index.mjs.map +1 -1
  48. package/components/data/form/bundles/index.umd.js +91 -96
  49. package/components/data/form/esm2022/form.component.mjs +92 -97
  50. package/components/data/form/fesm2022/index.mjs +91 -96
  51. package/components/data/form/fesm2022/index.mjs.map +1 -1
  52. package/components/data/list/bundles/index.umd.js +171 -173
  53. package/components/data/list/esm2022/list.component.mjs +171 -173
  54. package/components/data/list/esm2022/list.module.mjs +2 -2
  55. package/components/data/list/fesm2022/index.mjs +171 -173
  56. package/components/data/list/fesm2022/index.mjs.map +1 -1
  57. package/components/data/pagination/bundles/index.umd.js +32 -32
  58. package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
  59. package/components/data/pagination/fesm2022/index.mjs +32 -32
  60. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  61. package/components/data/table/bundles/index.umd.js +69 -39
  62. package/components/data/table/esm2022/table-column/table-column.directive.mjs +2 -1
  63. package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -1
  64. package/components/data/table/esm2022/table-filter.directive.mjs +29 -2
  65. package/components/data/table/esm2022/table.component.mjs +40 -39
  66. package/components/data/table/esm2022/table.props.mjs +2 -1
  67. package/components/data/table/fesm2022/index.mjs +72 -41
  68. package/components/data/table/fesm2022/index.mjs.map +1 -1
  69. package/components/data/table/table-column/table-column.directive.d.ts +1 -0
  70. package/components/data/table/table-filter.directive.d.ts +1 -0
  71. package/components/dialogs/default/bundles/index.umd.js +66 -95
  72. package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +67 -96
  73. package/components/dialogs/default/fesm2022/index.mjs +66 -95
  74. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  75. package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
  76. package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
  77. package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
  78. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  79. package/components/dialogs/iframe-dialog/bundles/index.umd.js +24 -25
  80. package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +15 -16
  81. package/components/dialogs/iframe-dialog/fesm2022/index.mjs +14 -15
  82. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  83. package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
  84. package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
  85. package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
  86. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  87. package/components/input/chips/bundles/index.umd.js +21 -21
  88. package/components/input/chips/esm2022/chips.component.mjs +22 -22
  89. package/components/input/chips/fesm2022/index.mjs +21 -21
  90. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  91. package/components/input/default/bundles/index.umd.js +201 -209
  92. package/components/input/default/esm2022/button/button.component.mjs +18 -18
  93. package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +68 -69
  94. package/components/input/default/esm2022/radioset/radioset.component.mjs +68 -69
  95. package/components/input/default/esm2022/select/select.component.mjs +21 -27
  96. package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
  97. package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
  98. package/components/input/default/fesm2022/index.mjs +201 -209
  99. package/components/input/default/fesm2022/index.mjs.map +1 -1
  100. package/components/input/epoch/bundles/index.umd.js +171 -164
  101. package/components/input/epoch/esm2022/date/date.component.mjs +14 -15
  102. package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +64 -59
  103. package/components/input/epoch/esm2022/date-time/date-time.component.mjs +18 -19
  104. package/components/input/epoch/esm2022/picker/picker.component.mjs +26 -25
  105. package/components/input/epoch/esm2022/time/time.component.mjs +17 -18
  106. package/components/input/epoch/fesm2022/index.mjs +124 -117
  107. package/components/input/epoch/fesm2022/index.mjs.map +1 -1
  108. package/components/input/file-upload/bundles/index.umd.js +111 -114
  109. package/components/input/file-upload/esm2022/file-upload.component.mjs +112 -115
  110. package/components/input/file-upload/fesm2022/index.mjs +111 -114
  111. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  112. package/components/input/rating/bundles/index.umd.js +14 -14
  113. package/components/input/rating/esm2022/rating.component.mjs +15 -15
  114. package/components/input/rating/fesm2022/index.mjs +14 -14
  115. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  116. package/components/input/slider/bundles/index.umd.js +39 -40
  117. package/components/input/slider/esm2022/slider.component.mjs +10 -11
  118. package/components/input/slider/fesm2022/index.mjs +9 -10
  119. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  120. package/components/navigation/breadcrumb/bundles/index.umd.js +16 -15
  121. package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +17 -16
  122. package/components/navigation/breadcrumb/fesm2022/index.mjs +16 -15
  123. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  124. package/components/navigation/menu/bundles/index.umd.js +82 -74
  125. package/components/navigation/menu/esm2022/menu-adapator.component.mjs +14 -4
  126. package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
  127. package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
  128. package/components/navigation/menu/esm2022/menu.component.mjs +22 -26
  129. package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
  130. package/components/navigation/menu/esm2022/nav/nav.component.mjs +26 -24
  131. package/components/navigation/menu/fesm2022/index.mjs +82 -74
  132. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  133. package/components/navigation/menu/menu-adapator.component.d.ts +1 -0
  134. package/components/navigation/navbar/bundles/index.umd.js +12 -12
  135. package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
  136. package/components/navigation/navbar/fesm2022/index.mjs +12 -12
  137. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  138. package/mobile/components/basic/default/bundles/index.umd.js +102 -111
  139. package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +39 -40
  140. package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +35 -44
  141. package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +27 -28
  142. package/mobile/components/basic/default/fesm2022/index.mjs +98 -107
  143. package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
  144. package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
  145. package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +8 -9
  146. package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
  147. package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
  148. package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
  149. package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
  150. package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
  151. package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
  152. package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
  153. package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
  154. package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
  155. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
  156. package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
  157. package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
  158. package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
  159. package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
  160. package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
  161. package/npm-shrinkwrap.json +2 -2
  162. package/package-lock.json +2 -2
  163. package/package.json +1 -1
  164. package/runtime/base/bundles/index.umd.js +219 -215
  165. package/runtime/base/esm2022/components/app-component/app.component.mjs +38 -41
  166. package/runtime/base/esm2022/components/app-spinner.component.mjs +25 -21
  167. package/runtime/base/esm2022/components/custom-toaster.component.mjs +18 -16
  168. package/runtime/base/fesm2022/index.mjs +99 -95
  169. package/runtime/base/fesm2022/index.mjs.map +1 -1
  170. package/scripts/datatable/datatable.js +1 -0
@@ -9,7 +9,7 @@ import * as i3 from '@awesome-cordova-plugins/file-opener/ngx';
9
9
  import * as i1$1 from '@wm/core';
10
10
  import { addClass, setCSS, hasCordova, noop, removeClass, isIos, $appDigest, convertToBlob, transformFileURI, setAttr, removeAttr } from '@wm/core';
11
11
  import * as i1 from '@wm/mobile/core';
12
- import * as i3$1 from '@angular/common';
12
+ import * as i1$2 from '@angular/common';
13
13
  import { CommonModule } from '@angular/common';
14
14
  import * as i2$1 from '@wm/components/basic/progress';
15
15
  import { ProgressModule } from '@wm/components/basic/progress';
@@ -159,22 +159,22 @@ class AppUpdateComponent {
159
159
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AppUpdateComponent, { className: "AppUpdateComponent", filePath: "app-update/app-update.component.ts", lineNumber: 20 }); })();
160
160
 
161
161
  const _c0$2 = ["wmMobileFileBrowser", ""];
162
- function FileBrowserComponent_div_0_div_13_i_2_Template(rf, ctx) { if (rf & 1) {
163
- i0.ɵɵelement(0, "i", 22);
162
+ function FileBrowserComponent_Conditional_0_For_14_Conditional_2_Template(rf, ctx) { if (rf & 1) {
163
+ i0.ɵɵelement(0, "i", 17);
164
164
  } }
165
- function FileBrowserComponent_div_0_div_13_i_3_Template(rf, ctx) { if (rf & 1) {
165
+ function FileBrowserComponent_Conditional_0_For_14_Conditional_3_Template(rf, ctx) { if (rf & 1) {
166
166
  i0.ɵɵelement(0, "i");
167
167
  } if (rf & 2) {
168
168
  const file_r4 = i0.ɵɵnextContext().$implicit;
169
169
  const ctx_r1 = i0.ɵɵnextContext(2);
170
170
  i0.ɵɵclassMapInterpolate1("file-icon wi wi-file ", ctx_r1.getFileExtension(file_r4.name), "");
171
171
  } }
172
- function FileBrowserComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
172
+ function FileBrowserComponent_Conditional_0_For_14_Template(rf, ctx) { if (rf & 1) {
173
173
  const _r3 = i0.ɵɵgetCurrentView();
174
- i0.ɵɵelementStart(0, "div", 17)(1, "div", 18);
175
- i0.ɵɵlistener("click", function FileBrowserComponent_div_0_div_13_Template_div_click_1_listener() { const file_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileClick(file_r4)); });
176
- i0.ɵɵtemplate(2, FileBrowserComponent_div_0_div_13_i_2_Template, 1, 0, "i", 19)(3, FileBrowserComponent_div_0_div_13_i_3_Template, 1, 3, "i", 20);
177
- i0.ɵɵelementStart(4, "span", 21);
174
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 16);
175
+ i0.ɵɵlistener("click", function FileBrowserComponent_Conditional_0_For_14_Template_div_click_1_listener() { const file_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileClick(file_r4)); });
176
+ i0.ɵɵtemplate(2, FileBrowserComponent_Conditional_0_For_14_Conditional_2_Template, 1, 0, "i", 17)(3, FileBrowserComponent_Conditional_0_For_14_Conditional_3_Template, 1, 3, "i", 18);
177
+ i0.ɵɵelementStart(4, "span", 19);
178
178
  i0.ɵɵtext(5);
179
179
  i0.ɵɵelementEnd()()();
180
180
  } if (rf & 2) {
@@ -182,18 +182,18 @@ function FileBrowserComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
182
182
  i0.ɵɵadvance();
183
183
  i0.ɵɵclassProp("bg-primary", file_r4.isSelected);
184
184
  i0.ɵɵadvance();
185
- i0.ɵɵproperty("ngIf", !file_r4.isFile);
185
+ i0.ɵɵconditional(!file_r4.isFile ? 2 : -1);
186
186
  i0.ɵɵadvance();
187
- i0.ɵɵproperty("ngIf", file_r4.isFile);
187
+ i0.ɵɵconditional(file_r4.isFile ? 3 : -1);
188
188
  i0.ɵɵadvance(2);
189
189
  i0.ɵɵtextInterpolate(file_r4.name);
190
190
  } }
191
- function FileBrowserComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
191
+ function FileBrowserComponent_Conditional_0_Conditional_16_Template(rf, ctx) { if (rf & 1) {
192
192
  const _r5 = i0.ɵɵgetCurrentView();
193
- i0.ɵɵelementStart(0, "button", 23);
194
- i0.ɵɵlistener("click", function FileBrowserComponent_div_0_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.submit()); });
193
+ i0.ɵɵelementStart(0, "button", 20);
194
+ i0.ɵɵlistener("click", function FileBrowserComponent_Conditional_0_Conditional_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.submit()); });
195
195
  i0.ɵɵtext(1, " Done ");
196
- i0.ɵɵelementStart(2, "span", 24);
196
+ i0.ɵɵelementStart(2, "span", 21);
197
197
  i0.ɵɵtext(3);
198
198
  i0.ɵɵelementEnd()();
199
199
  } if (rf & 2) {
@@ -201,28 +201,28 @@ function FileBrowserComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
201
201
  i0.ɵɵadvance(3);
202
202
  i0.ɵɵtextInterpolate(ctx_r1.selectedFiles.length);
203
203
  } }
204
- function FileBrowserComponent_div_0_Template(rf, ctx) { if (rf & 1) {
204
+ function FileBrowserComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
205
205
  const _r1 = i0.ɵɵgetCurrentView();
206
- i0.ɵɵelementStart(0, "div", 1);
207
- i0.ɵɵelement(1, "div", 2);
208
- i0.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5)(5, "div", 6)(6, "h4", 7)(7, "span", 8);
209
- i0.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFileClick(ctx_r1.currentFolder.parent)); });
210
- i0.ɵɵelement(8, "i", 9);
206
+ i0.ɵɵelementStart(0, "div", 0);
207
+ i0.ɵɵelement(1, "div", 1);
208
+ i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "h4", 6)(7, "span", 7);
209
+ i0.ɵɵlistener("click", function FileBrowserComponent_Conditional_0_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFileClick(ctx_r1.currentFolder.parent)); });
210
+ i0.ɵɵelement(8, "i", 8);
211
211
  i0.ɵɵelementEnd();
212
212
  i0.ɵɵtext(9);
213
213
  i0.ɵɵelementEnd();
214
- i0.ɵɵelementStart(10, "div", 10);
215
- i0.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_div_click_10_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.refreshFolder()); });
216
- i0.ɵɵelement(11, "i", 11);
214
+ i0.ɵɵelementStart(10, "div", 9);
215
+ i0.ɵɵlistener("click", function FileBrowserComponent_Conditional_0_Template_div_click_10_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.refreshFolder()); });
216
+ i0.ɵɵelement(11, "i", 10);
217
217
  i0.ɵɵelementEnd()();
218
- i0.ɵɵelementStart(12, "div", 12);
219
- i0.ɵɵtemplate(13, FileBrowserComponent_div_0_div_13_Template, 6, 5, "div", 13);
218
+ i0.ɵɵelementStart(12, "div", 11);
219
+ i0.ɵɵrepeaterCreate(13, FileBrowserComponent_Conditional_0_For_14_Template, 6, 5, "div", 12, i0.ɵɵrepeaterTrackByIdentity);
220
220
  i0.ɵɵelementEnd();
221
- i0.ɵɵelementStart(14, "div", 14);
222
- i0.ɵɵtemplate(15, FileBrowserComponent_div_0_button_15_Template, 4, 1, "button", 15);
223
- i0.ɵɵelementStart(16, "button", 16);
224
- i0.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.show = false); });
225
- i0.ɵɵtext(17, "Close");
221
+ i0.ɵɵelementStart(15, "div", 13);
222
+ i0.ɵɵtemplate(16, FileBrowserComponent_Conditional_0_Conditional_16_Template, 4, 1, "button", 14);
223
+ i0.ɵɵelementStart(17, "button", 15);
224
+ i0.ɵɵlistener("click", function FileBrowserComponent_Conditional_0_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.show = false); });
225
+ i0.ɵɵtext(18, "Close");
226
226
  i0.ɵɵelementEnd()()()()()();
227
227
  } if (rf & 2) {
228
228
  const ctx_r1 = i0.ɵɵnextContext();
@@ -235,9 +235,9 @@ function FileBrowserComponent_div_0_Template(rf, ctx) { if (rf & 1) {
235
235
  i0.ɵɵadvance(2);
236
236
  i0.ɵɵtextInterpolate1(" ", ctx_r1.currentFolder.name, " ");
237
237
  i0.ɵɵadvance(4);
238
- i0.ɵɵproperty("ngForOf", ctx_r1.currentFolder.files);
239
- i0.ɵɵadvance(2);
240
- i0.ɵɵproperty("ngIf", ctx_r1.selectedFiles && ctx_r1.selectedFiles.length > 0);
238
+ i0.ɵɵrepeater(ctx_r1.currentFolder.files);
239
+ i0.ɵɵadvance(3);
240
+ i0.ɵɵconditional(ctx_r1.selectedFiles && ctx_r1.selectedFiles.length > 0 ? 16 : -1);
241
241
  } }
242
242
  class FileBrowserComponent {
243
243
  constructor(deviceService) {
@@ -368,15 +368,15 @@ class FileBrowserComponent {
368
368
  file.isSelected = true;
369
369
  }
370
370
  static { this.ɵfac = function FileBrowserComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileBrowserComponent)(i0.ɵɵdirectiveInject(i1.DeviceService)); }; }
371
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileBrowserComponent, selectors: [["", "wmMobileFileBrowser", ""]], inputs: { fileTypeToSelect: "fileTypeToSelect", multiple: "multiple" }, outputs: { submitEmitter: "submit" }, attrs: _c0$2, decls: 1, vars: 1, consts: [["class", "app-file-browser", 4, "ngIf"], [1, "app-file-browser"], [1, "modal-backdrop", "fade"], [1, "modal", "fade", 2, "display", "block"], [1, "modal-dialog"], [1, "modal-content"], [1, "modal-header", "clearfix"], [1, "modal-title", "pull-left"], [3, "click", "hidden"], [1, "wi", "wi-long-arrow-left"], [1, "selected-file-button", "pull-right", 3, "click"], [1, "wi", "wi-refresh"], [1, "modal-body"], ["class", "file-info-box", 4, "ngFor", "ngForOf"], [1, "modal-footer"], ["type", "button", "class", "btn btn-primary", 3, "click", 4, "ngIf"], ["type", "button", 1, "btn", "btn-default", 3, "click"], [1, "file-info-box"], [1, "file-info", 3, "click"], ["class", "file-icon wi wi-folder", 4, "ngIf"], [3, "class", 4, "ngIf"], [1, "file-name"], [1, "file-icon", "wi", "wi-folder"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], [1, "badge", "badge-light"]], template: function FileBrowserComponent_Template(rf, ctx) { if (rf & 1) {
372
- i0.ɵɵtemplate(0, FileBrowserComponent_div_0_Template, 18, 8, "div", 0);
371
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileBrowserComponent, selectors: [["", "wmMobileFileBrowser", ""]], inputs: { fileTypeToSelect: "fileTypeToSelect", multiple: "multiple" }, outputs: { submitEmitter: "submit" }, attrs: _c0$2, decls: 1, vars: 1, consts: [[1, "app-file-browser"], [1, "modal-backdrop", "fade"], [1, "modal", "fade", 2, "display", "block"], [1, "modal-dialog"], [1, "modal-content"], [1, "modal-header", "clearfix"], [1, "modal-title", "pull-left"], [3, "click", "hidden"], [1, "wi", "wi-long-arrow-left"], [1, "selected-file-button", "pull-right", 3, "click"], [1, "wi", "wi-refresh"], [1, "modal-body"], [1, "file-info-box"], [1, "modal-footer"], ["type", "button", 1, "btn", "btn-primary"], ["type", "button", 1, "btn", "btn-default", 3, "click"], [1, "file-info", 3, "click"], [1, "file-icon", "wi", "wi-folder"], [3, "class"], [1, "file-name"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], [1, "badge", "badge-light"]], template: function FileBrowserComponent_Template(rf, ctx) { if (rf & 1) {
372
+ i0.ɵɵtemplate(0, FileBrowserComponent_Conditional_0_Template, 19, 7, "div", 0);
373
373
  } if (rf & 2) {
374
- i0.ɵɵproperty("ngIf", ctx.isVisible && ctx.currentFolder);
375
- } }, dependencies: [i3$1.NgForOf, i3$1.NgIf], encapsulation: 2 }); }
374
+ i0.ɵɵconditional(ctx.isVisible && ctx.currentFolder ? 0 : -1);
375
+ } }, encapsulation: 2 }); }
376
376
  }
377
377
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileBrowserComponent, [{
378
378
  type: Component,
379
- args: [{ selector: '[wmMobileFileBrowser]', template: "<div class=\"app-file-browser\" *ngIf=\"isVisible && currentFolder\">\n <div class=\"modal-backdrop fade\" [class.in]=\"isVisible\"></div>\n <div class=\"modal fade\" style=\"display: block;\" [class.in]=\"isVisible\" >\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header clearfix\">\n <h4 class=\"modal-title pull-left\">\n <span (click)=\"onFileClick(currentFolder.parent)\" [hidden]=\"!!!currentFolder.parent\">\n <i class=\"wi wi-long-arrow-left\"></i>\n </span>\n {{currentFolder.name}}\n </h4>\n <div class=\"selected-file-button pull-right\" (click)=\"refreshFolder()\">\n <i class=\"wi wi-refresh\"></i>\n </div>\n </div>\n <div class=\"modal-body\">\n <div class=\"file-info-box\" *ngFor=\"let file of currentFolder.files\">\n <div class=\"file-info\" [class.bg-primary]=\"file.isSelected\" (click)=\"onFileClick(file)\">\n <i class=\"file-icon wi wi-folder\" *ngIf=\"!file.isFile\"></i>\n <i class=\"file-icon wi wi-file {{getFileExtension(file.name)}}\" *ngIf=\"file.isFile\"></i>\n <span class=\"file-name\">{{file.name}}</span>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"selectedFiles && selectedFiles.length > 0\" (click)=\"submit()\">\n Done <span class=\"badge badge-light\">{{selectedFiles.length}}</span>\n </button>\n <button type=\"button\" class=\"btn btn-default\" (click)=\"show = false;\">Close</button>\n </div>\n </div>\n </div>\n </div>\n</div>" }]
379
+ args: [{ selector: '[wmMobileFileBrowser]', template: "@if (isVisible && currentFolder) {\n <div class=\"app-file-browser\">\n <div class=\"modal-backdrop fade\" [class.in]=\"isVisible\"></div>\n <div class=\"modal fade\" style=\"display: block;\" [class.in]=\"isVisible\" >\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header clearfix\">\n <h4 class=\"modal-title pull-left\">\n <span (click)=\"onFileClick(currentFolder.parent)\" [hidden]=\"!!!currentFolder.parent\">\n <i class=\"wi wi-long-arrow-left\"></i>\n </span>\n {{currentFolder.name}}\n </h4>\n <div class=\"selected-file-button pull-right\" (click)=\"refreshFolder()\">\n <i class=\"wi wi-refresh\"></i>\n </div>\n </div>\n <div class=\"modal-body\">\n @for (file of currentFolder.files; track file) {\n <div class=\"file-info-box\">\n <div class=\"file-info\" [class.bg-primary]=\"file.isSelected\" (click)=\"onFileClick(file)\">\n @if (!file.isFile) {\n <i class=\"file-icon wi wi-folder\"></i>\n }\n @if (file.isFile) {\n <i class=\"file-icon wi wi-file {{getFileExtension(file.name)}}\"></i>\n }\n <span class=\"file-name\">{{file.name}}</span>\n </div>\n </div>\n }\n </div>\n <div class=\"modal-footer\">\n @if (selectedFiles && selectedFiles.length > 0) {\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"submit()\">\n Done <span class=\"badge badge-light\">{{selectedFiles.length}}</span>\n </button>\n }\n <button type=\"button\" class=\"btn btn-default\" (click)=\"show = false;\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n}" }]
380
380
  }], () => [{ type: i1.DeviceService }], { fileTypeToSelect: [{
381
381
  type: Input
382
382
  }], multiple: [{
@@ -524,12 +524,12 @@ const registerProps = () => {
524
524
  };
525
525
 
526
526
  const _c0$1 = ["wmNetworkInfoToaster", ""];
527
- function NetworkInfoToasterComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
527
+ function NetworkInfoToasterComponent_Conditional_0_Case_1_Template(rf, ctx) { if (rf & 1) {
528
528
  const _r1 = i0.ɵɵgetCurrentView();
529
- i0.ɵɵelementStart(0, "div", 3);
530
- i0.ɵɵelement(1, "label", 4);
531
- i0.ɵɵelementStart(2, "button", 5);
532
- i0.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_1_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
529
+ i0.ɵɵelementStart(0, "div", 1);
530
+ i0.ɵɵelement(1, "label", 2);
531
+ i0.ɵɵelementStart(2, "button", 3);
532
+ i0.ɵɵlistener("click", function NetworkInfoToasterComponent_Conditional_0_Case_1_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
533
533
  i0.ɵɵelementEnd()();
534
534
  } if (rf & 2) {
535
535
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -538,12 +538,12 @@ function NetworkInfoToasterComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1)
538
538
  i0.ɵɵadvance();
539
539
  i0.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
540
540
  } }
541
- function NetworkInfoToasterComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
541
+ function NetworkInfoToasterComponent_Conditional_0_Case_2_Template(rf, ctx) { if (rf & 1) {
542
542
  const _r3 = i0.ɵɵgetCurrentView();
543
- i0.ɵɵelementStart(0, "div", 3);
544
- i0.ɵɵelement(1, "label", 4);
545
- i0.ɵɵelementStart(2, "button", 5);
546
- i0.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_2_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
543
+ i0.ɵɵelementStart(0, "div", 1);
544
+ i0.ɵɵelement(1, "label", 2);
545
+ i0.ɵɵelementStart(2, "button", 3);
546
+ i0.ɵɵlistener("click", function NetworkInfoToasterComponent_Conditional_0_Case_2_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
547
547
  i0.ɵɵelementEnd()();
548
548
  } if (rf & 2) {
549
549
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -552,15 +552,15 @@ function NetworkInfoToasterComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1)
552
552
  i0.ɵɵadvance();
553
553
  i0.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
554
554
  } }
555
- function NetworkInfoToasterComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
555
+ function NetworkInfoToasterComponent_Conditional_0_Case_3_Template(rf, ctx) { if (rf & 1) {
556
556
  const _r4 = i0.ɵɵgetCurrentView();
557
- i0.ɵɵelementStart(0, "div", 3);
558
- i0.ɵɵelement(1, "label", 4);
559
- i0.ɵɵelementStart(2, "button", 5);
560
- i0.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
557
+ i0.ɵɵelementStart(0, "div", 1);
558
+ i0.ɵɵelement(1, "label", 2);
559
+ i0.ɵɵelementStart(2, "button", 3);
560
+ i0.ɵɵlistener("click", function NetworkInfoToasterComponent_Conditional_0_Case_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.hideMessage()); });
561
561
  i0.ɵɵelementEnd();
562
- i0.ɵɵelementStart(3, "button", 6);
563
- i0.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.connect()); });
562
+ i0.ɵɵelementStart(3, "button", 4);
563
+ i0.ɵɵlistener("click", function NetworkInfoToasterComponent_Conditional_0_Case_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.connect()); });
564
564
  i0.ɵɵelementEnd()();
565
565
  } if (rf & 2) {
566
566
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -571,41 +571,33 @@ function NetworkInfoToasterComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1)
571
571
  i0.ɵɵadvance();
572
572
  i0.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_CONNECT_TO_SERVICE);
573
573
  } }
574
- function NetworkInfoToasterComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
575
- i0.ɵɵelementStart(0, "div", 3);
576
- i0.ɵɵelement(1, "label", 4);
574
+ function NetworkInfoToasterComponent_Conditional_0_Case_4_Template(rf, ctx) { if (rf & 1) {
575
+ i0.ɵɵelementStart(0, "div", 1);
576
+ i0.ɵɵelement(1, "label", 2);
577
577
  i0.ɵɵelementEnd();
578
578
  } if (rf & 2) {
579
579
  const ctx_r1 = i0.ɵɵnextContext(2);
580
580
  i0.ɵɵadvance();
581
581
  i0.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTING);
582
582
  } }
583
- function NetworkInfoToasterComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
584
- i0.ɵɵelementStart(0, "div", 3);
585
- i0.ɵɵelement(1, "label", 4);
583
+ function NetworkInfoToasterComponent_Conditional_0_Case_5_Template(rf, ctx) { if (rf & 1) {
584
+ i0.ɵɵelementStart(0, "div", 1);
585
+ i0.ɵɵelement(1, "label", 2);
586
586
  i0.ɵɵelementEnd();
587
587
  } if (rf & 2) {
588
588
  const ctx_r1 = i0.ɵɵnextContext(2);
589
589
  i0.ɵɵadvance();
590
590
  i0.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTED);
591
591
  } }
592
- function NetworkInfoToasterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
593
- i0.ɵɵelementStart(0, "div", 1);
594
- i0.ɵɵtemplate(1, NetworkInfoToasterComponent_div_0_div_1_Template, 3, 2, "div", 2)(2, NetworkInfoToasterComponent_div_0_div_2_Template, 3, 2, "div", 2)(3, NetworkInfoToasterComponent_div_0_div_3_Template, 4, 3, "div", 2)(4, NetworkInfoToasterComponent_div_0_div_4_Template, 2, 1, "div", 2)(5, NetworkInfoToasterComponent_div_0_div_5_Template, 2, 1, "div", 2);
592
+ function NetworkInfoToasterComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
593
+ i0.ɵɵelementStart(0, "div", 0);
594
+ i0.ɵɵtemplate(1, NetworkInfoToasterComponent_Conditional_0_Case_1_Template, 3, 2, "div", 1)(2, NetworkInfoToasterComponent_Conditional_0_Case_2_Template, 3, 2, "div", 1)(3, NetworkInfoToasterComponent_Conditional_0_Case_3_Template, 4, 3, "div", 1)(4, NetworkInfoToasterComponent_Conditional_0_Case_4_Template, 2, 1, "div", 1)(5, NetworkInfoToasterComponent_Conditional_0_Case_5_Template, 2, 1, "div", 1);
595
595
  i0.ɵɵelementEnd();
596
596
  } if (rf & 2) {
597
+ let tmp_1_0;
597
598
  const ctx_r1 = i0.ɵɵnextContext();
598
- i0.ɵɵproperty("ngSwitch", ctx_r1.networkState);
599
599
  i0.ɵɵadvance();
600
- i0.ɵɵproperty("ngSwitchCase", -3);
601
- i0.ɵɵadvance();
602
- i0.ɵɵproperty("ngSwitchCase", -2);
603
- i0.ɵɵadvance();
604
- i0.ɵɵproperty("ngSwitchCase", -1);
605
- i0.ɵɵadvance();
606
- i0.ɵɵproperty("ngSwitchCase", 0);
607
- i0.ɵɵadvance();
608
- i0.ɵɵproperty("ngSwitchCase", 1);
600
+ i0.ɵɵconditional((tmp_1_0 = ctx_r1.networkState) === -3 ? 1 : tmp_1_0 === -2 ? 2 : tmp_1_0 === -1 ? 3 : tmp_1_0 === 0 ? 4 : tmp_1_0 === 1 ? 5 : -1);
609
601
  } }
610
602
  const DEFAULT_CLS = 'network-info-toaster';
611
603
  const WIDGET_CONFIG = { widgetType: 'wm-network-info-toaster', hostClass: DEFAULT_CLS };
@@ -677,17 +669,17 @@ class NetworkInfoToasterComponent extends StylableComponent {
677
669
  static { this.ɵfac = function NetworkInfoToasterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NetworkInfoToasterComponent)(i0.ɵɵdirectiveInject(i1.NetworkService), i0.ɵɵdirectiveInject(i1$1.App), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
678
670
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NetworkInfoToasterComponent, selectors: [["", "wmNetworkInfoToaster", ""]], features: [i0.ɵɵProvidersFeature([
679
671
  provideAsWidgetRef(NetworkInfoToasterComponent)
680
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [["class", "network-info-toaster-content", 3, "ngSwitch", 4, "ngIf"], [1, "network-info-toaster-content", 3, "ngSwitch"], ["class", "info", 4, "ngSwitchCase"], [1, "info"], [1, "message", 3, "textContent"], [1, "btn", "btn-default", "hide-btn", 3, "click", "textContent"], [1, "btn", "btn-primary", "connect-btn", 3, "click", "textContent"]], template: function NetworkInfoToasterComponent_Template(rf, ctx) { if (rf & 1) {
681
- i0.ɵɵtemplate(0, NetworkInfoToasterComponent_div_0_Template, 6, 6, "div", 0);
672
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [[1, "network-info-toaster-content"], [1, "info"], [1, "message", 3, "textContent"], [1, "btn", "btn-default", "hide-btn", 3, "click", "textContent"], [1, "btn", "btn-primary", "connect-btn", 3, "click", "textContent"]], template: function NetworkInfoToasterComponent_Template(rf, ctx) { if (rf & 1) {
673
+ i0.ɵɵtemplate(0, NetworkInfoToasterComponent_Conditional_0_Template, 6, 1, "div", 0);
682
674
  } if (rf & 2) {
683
- i0.ɵɵproperty("ngIf", ctx.showMessage);
684
- } }, dependencies: [i3$1.NgIf, i3$1.NgSwitch, i3$1.NgSwitchCase, i5.TextContentDirective], encapsulation: 2 }); }
675
+ i0.ɵɵconditional(ctx.showMessage ? 0 : -1);
676
+ } }, dependencies: [i5.TextContentDirective], encapsulation: 2 }); }
685
677
  }
686
678
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NetworkInfoToasterComponent, [{
687
679
  type: Component,
688
680
  args: [{ selector: '[wmNetworkInfoToaster]', providers: [
689
681
  provideAsWidgetRef(NetworkInfoToasterComponent)
690
- ], template: "<div class=\"network-info-toaster-content\" [ngSwitch]=\"networkState\" *ngIf=\"showMessage\">\n <div class=\"info\" *ngSwitchCase=\"-3\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_NETWORK_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-2\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n <button class=\"btn btn-primary connect-btn\" (click)=\"connect()\" [textContent]=\"appLocale.LABEL_CONNECT_TO_SERVICE\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"0\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTING\"></label>\n </div>\n <div class=\"info\" *ngSwitchCase=\"1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTED\"></label>\n </div>\n</div>" }]
682
+ ], template: "@if (showMessage) {\n <div class=\"network-info-toaster-content\">\n @switch (networkState) {\n @case (-3) {\n <div class=\"info\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_NETWORK_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n }\n @case (-2) {\n <div class=\"info\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n }\n @case (-1) {\n <div class=\"info\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n <button class=\"btn btn-primary connect-btn\" (click)=\"connect()\" [textContent]=\"appLocale.LABEL_CONNECT_TO_SERVICE\"></button>\n </div>\n }\n @case (0) {\n <div class=\"info\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTING\"></label>\n </div>\n }\n @case (1) {\n <div class=\"info\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTED\"></label>\n </div>\n }\n }\n </div>\n}" }]
691
683
  }], () => [{ type: i1.NetworkService }, { type: i1$1.App }, { type: i0.Injector }, { type: undefined, decorators: [{
692
684
  type: Inject,
693
685
  args: ['EXPLICIT_CONTEXT']
@@ -698,11 +690,11 @@ class NetworkInfoToasterComponent extends StylableComponent {
698
690
 
699
691
  const _c0 = ["wmProcessManager", ""];
700
692
  const _c1 = a0 => ({ instance: a0 });
701
- function ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template(rf, ctx) { }
702
- function ProcessManagerComponent_ng_container_0_li_4_button_9_Template(rf, ctx) { if (rf & 1) {
693
+ function ProcessManagerComponent_Conditional_0_For_4_ng_template_8_Template(rf, ctx) { }
694
+ function ProcessManagerComponent_Conditional_0_For_4_Conditional_9_Template(rf, ctx) { if (rf & 1) {
703
695
  const _r1 = i0.ɵɵgetCurrentView();
704
- i0.ɵɵelementStart(0, "button", 16);
705
- i0.ɵɵlistener("click", function ProcessManagerComponent_ng_container_0_li_4_button_9_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const instance_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(instance_r2.onStop()); });
696
+ i0.ɵɵelementStart(0, "button", 13);
697
+ i0.ɵɵlistener("click", function ProcessManagerComponent_Conditional_0_For_4_Conditional_9_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const instance_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(instance_r2.onStop()); });
706
698
  i0.ɵɵtext(1);
707
699
  i0.ɵɵelementEnd();
708
700
  } if (rf & 2) {
@@ -710,15 +702,15 @@ function ProcessManagerComponent_ng_container_0_li_4_button_9_Template(rf, ctx)
710
702
  i0.ɵɵadvance();
711
703
  i0.ɵɵtextInterpolate1(" ", instance_r2.stopButtonLabel, " ");
712
704
  } }
713
- function ProcessManagerComponent_ng_container_0_li_4_Template(rf, ctx) { if (rf & 1) {
714
- i0.ɵɵelementStart(0, "li", 7)(1, "div", 8)(2, "div", 9)(3, "label", 10);
705
+ function ProcessManagerComponent_Conditional_0_For_4_Template(rf, ctx) { if (rf & 1) {
706
+ i0.ɵɵelementStart(0, "li", 4)(1, "div", 5)(2, "div", 6)(3, "label", 7);
715
707
  i0.ɵɵtext(4);
716
708
  i0.ɵɵelementEnd()();
717
- i0.ɵɵelementStart(5, "div", 11)(6, "label", 12);
709
+ i0.ɵɵelementStart(5, "div", 8)(6, "label", 9);
718
710
  i0.ɵɵtext(7);
719
711
  i0.ɵɵelementEnd()()();
720
- i0.ɵɵtemplate(8, ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template, 0, 0, "ng-template", 13)(9, ProcessManagerComponent_ng_container_0_li_4_button_9_Template, 2, 1, "button", 14);
721
- i0.ɵɵelement(10, "div", 15);
712
+ i0.ɵɵtemplate(8, ProcessManagerComponent_Conditional_0_For_4_ng_template_8_Template, 0, 0, "ng-template", 10)(9, ProcessManagerComponent_Conditional_0_For_4_Conditional_9_Template, 2, 1, "button", 11);
713
+ i0.ɵɵelement(10, "div", 12);
722
714
  i0.ɵɵelementEnd();
723
715
  } if (rf & 2) {
724
716
  const instance_r2 = ctx.$implicit;
@@ -731,10 +723,10 @@ function ProcessManagerComponent_ng_container_0_li_4_Template(rf, ctx) { if (rf
731
723
  i0.ɵɵadvance();
732
724
  i0.ɵɵproperty("ngTemplateOutlet", progressTemplate_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(5, _c1, instance_r2));
733
725
  i0.ɵɵadvance();
734
- i0.ɵɵproperty("ngIf", instance_r2.onStop);
726
+ i0.ɵɵconditional(instance_r2.onStop ? 9 : -1);
735
727
  } }
736
- function ProcessManagerComponent_ng_container_0_li_5_Template(rf, ctx) { if (rf & 1) {
737
- i0.ɵɵelementStart(0, "li", 7)(1, "label", 17);
728
+ function ProcessManagerComponent_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
729
+ i0.ɵɵelementStart(0, "li", 4)(1, "label", 14);
738
730
  i0.ɵɵtext(2);
739
731
  i0.ɵɵelementEnd()();
740
732
  } if (rf & 2) {
@@ -742,21 +734,20 @@ function ProcessManagerComponent_ng_container_0_li_5_Template(rf, ctx) { if (rf
742
734
  i0.ɵɵadvance(2);
743
735
  i0.ɵɵtextInterpolate1(" (", ctx_r3.queue.length, ") queued ");
744
736
  } }
745
- function ProcessManagerComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
746
- i0.ɵɵelementContainerStart(0);
747
- i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "ul", 4);
748
- i0.ɵɵtemplate(4, ProcessManagerComponent_ng_container_0_li_4_Template, 11, 7, "li", 5)(5, ProcessManagerComponent_ng_container_0_li_5_Template, 3, 1, "li", 6);
737
+ function ProcessManagerComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
738
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "ul", 3);
739
+ i0.ɵɵrepeaterCreate(3, ProcessManagerComponent_Conditional_0_For_4_Template, 11, 7, "li", 4, i0.ɵɵrepeaterTrackByIdentity);
740
+ i0.ɵɵtemplate(5, ProcessManagerComponent_Conditional_0_Conditional_5_Template, 3, 1, "li", 4);
749
741
  i0.ɵɵelementEnd()()();
750
- i0.ɵɵelementContainerEnd();
751
742
  } if (rf & 2) {
752
743
  const ctx_r3 = i0.ɵɵnextContext();
753
- i0.ɵɵadvance(4);
754
- i0.ɵɵproperty("ngForOf", ctx_r3.getVisibleInstances(ctx_r3.instances));
755
- i0.ɵɵadvance();
756
- i0.ɵɵproperty("ngIf", ctx_r3.queue.length > 0);
744
+ i0.ɵɵadvance(3);
745
+ i0.ɵɵrepeater(ctx_r3.getVisibleInstances(ctx_r3.instances));
746
+ i0.ɵɵadvance(2);
747
+ i0.ɵɵconditional(ctx_r3.queue.length > 0 ? 5 : -1);
757
748
  } }
758
749
  function ProcessManagerComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
759
- i0.ɵɵelement(0, "div", 18);
750
+ i0.ɵɵelement(0, "div", 15);
760
751
  } }
761
752
  const MAX_PROCESS = 3;
762
753
  class ProcessManagerComponent {
@@ -850,17 +841,17 @@ class ProcessManagerComponent {
850
841
  static { this.ɵfac = function ProcessManagerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessManagerComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
851
842
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProcessManagerComponent, selectors: [["", "wmProcessManager", ""]], features: [i0.ɵɵProvidersFeature([
852
843
  provideAsWidgetRef(ProcessManagerComponent)
853
- ])], attrs: _c0, decls: 3, vars: 1, consts: [["progressTemplate", ""], [4, "ngIf"], [1, "modal-dialog", "app-dialog"], [1, "modal-content"], [1, "instance-list", "list-unstyled"], ["class", "instance-list-item", 4, "ngFor", "ngForOf"], ["class", "instance-list-item", 4, "ngIf"], [1, "instance-list-item"], [1, "row"], [1, "col-xs-8"], [1, "app-global-progress-bar-name", "h6"], [1, "col-xs-4", "app-global-progress-bar-progress-label-col"], [1, "app-global-progress-bar-progress-label", "h6"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "btn btn-secondary pull-right stop-btn", 3, "click", 4, "ngIf"], [2, "clear", "both"], [1, "btn", "btn-secondary", "pull-right", "stop-btn", 3, "click"], [1, "global-progress-bar-ui-primary-label", "h6"], ["wmProgressBar", "", "minvalue.bind", "instance.min", "maxvalue.bind", "instance.max", "datavalue.bind", "instance.value"]], template: function ProcessManagerComponent_Template(rf, ctx) { if (rf & 1) {
854
- i0.ɵɵtemplate(0, ProcessManagerComponent_ng_container_0_Template, 6, 2, "ng-container", 1)(1, ProcessManagerComponent_ng_template_1_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
844
+ ])], attrs: _c0, decls: 3, vars: 1, consts: [["progressTemplate", ""], [1, "modal-dialog", "app-dialog"], [1, "modal-content"], [1, "instance-list", "list-unstyled"], [1, "instance-list-item"], [1, "row"], [1, "col-xs-8"], [1, "app-global-progress-bar-name", "h6"], [1, "col-xs-4", "app-global-progress-bar-progress-label-col"], [1, "app-global-progress-bar-progress-label", "h6"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "btn", "btn-secondary", "pull-right", "stop-btn"], [2, "clear", "both"], [1, "btn", "btn-secondary", "pull-right", "stop-btn", 3, "click"], [1, "global-progress-bar-ui-primary-label", "h6"], ["wmProgressBar", "", "minvalue.bind", "instance.min", "maxvalue.bind", "instance.max", "datavalue.bind", "instance.value"]], template: function ProcessManagerComponent_Template(rf, ctx) { if (rf & 1) {
845
+ i0.ɵɵtemplate(0, ProcessManagerComponent_Conditional_0_Template, 6, 1, "div", 1)(1, ProcessManagerComponent_ng_template_1_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
855
846
  } if (rf & 2) {
856
- i0.ɵɵproperty("ngIf", ctx.instances.length > 0);
857
- } }, dependencies: [i3$1.NgForOf, i3$1.NgIf, i3$1.NgTemplateOutlet, i2$1.ProgressBarComponent], encapsulation: 2 }); }
847
+ i0.ɵɵconditional(ctx.instances.length > 0 ? 0 : -1);
848
+ } }, dependencies: [i1$2.NgTemplateOutlet, i2$1.ProgressBarComponent], encapsulation: 2 }); }
858
849
  }
859
850
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProcessManagerComponent, [{
860
851
  type: Component,
861
852
  args: [{ selector: '[wmProcessManager]', providers: [
862
853
  provideAsWidgetRef(ProcessManagerComponent)
863
- ], template: "<ng-container *ngIf=\"instances.length > 0\">\n <div class=\"modal-dialog app-dialog\">\n <div class=\"modal-content\">\n <ul class=\"instance-list list-unstyled\">\n <li *ngFor=\"let instance of getVisibleInstances(instances); index as i\" class=\"instance-list-item\">\n <div class=\"row\">\n <div class=\"col-xs-8\">\n <label class=\"app-global-progress-bar-name h6\">{{instance.name}}</label>\n </div>\n <div class=\"col-xs-4 app-global-progress-bar-progress-label-col\">\n <label class=\"app-global-progress-bar-progress-label h6\">\n {{instance.progressLabel}}</label>\n </div>\n </div>\n <ng-template [ngTemplateOutlet]=\"progressTemplate\" [ngTemplateOutletContext]=\"{instance: instance}\"></ng-template>\n <button class=\"btn btn-secondary pull-right stop-btn\" *ngIf=\"instance.onStop\" (click)=\"instance.onStop();\">\n {{instance.stopButtonLabel}}\n </button>\n <div style=\"clear: both;\"></div>\n </li>\n <li class=\"instance-list-item\" *ngIf=\"queue.length > 0\">\n <label class=\"global-progress-bar-ui-primary-label h6\">\n ({{queue.length}}) queued\n </label>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n<ng-template #progressTemplate let-instance=\"instance\">\n <div wmProgressBar minvalue.bind=\"instance.min\" maxvalue.bind=\"instance.max\" datavalue.bind=\"instance.value\"></div>\n</ng-template>" }]
854
+ ], template: "@if (instances.length > 0) {\n <div class=\"modal-dialog app-dialog\">\n <div class=\"modal-content\">\n <ul class=\"instance-list list-unstyled\">\n @for (instance of getVisibleInstances(instances); track instance; let i = $index) {\n <li class=\"instance-list-item\">\n <div class=\"row\">\n <div class=\"col-xs-8\">\n <label class=\"app-global-progress-bar-name h6\">{{instance.name}}</label>\n </div>\n <div class=\"col-xs-4 app-global-progress-bar-progress-label-col\">\n <label class=\"app-global-progress-bar-progress-label h6\">\n {{instance.progressLabel}}</label>\n </div>\n </div>\n <ng-template [ngTemplateOutlet]=\"progressTemplate\" [ngTemplateOutletContext]=\"{instance: instance}\"></ng-template>\n @if (instance.onStop) {\n <button class=\"btn btn-secondary pull-right stop-btn\" (click)=\"instance.onStop();\">\n {{instance.stopButtonLabel}}\n </button>\n }\n <div style=\"clear: both;\"></div>\n </li>\n }\n @if (queue.length > 0) {\n <li class=\"instance-list-item\">\n <label class=\"global-progress-bar-ui-primary-label h6\">\n ({{queue.length}}) queued\n </label>\n </li>\n }\n </ul>\n </div>\n </div>\n}\n<ng-template #progressTemplate let-instance=\"instance\">\n <div wmProgressBar minvalue.bind=\"instance.min\" maxvalue.bind=\"instance.max\" datavalue.bind=\"instance.value\"></div>\n</ng-template>" }]
864
855
  }], () => [{ type: i0.ElementRef }], null); })();
865
856
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProcessManagerComponent, { className: "ProcessManagerComponent", filePath: "process-manager/process-manager.component.ts", lineNumber: 33 }); })();
866
857