@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
@@ -50,46 +50,46 @@ const _c0 = ["wmFileUpload", ""];
50
50
  const _c1 = a0 => ({ "highlight-drop-box": a0 });
51
51
  const _c2 = (a0, a1) => ({ height: a0, overflow: a1 });
52
52
  const _c3 = a0 => ({ width: a0 });
53
- function FileUploadComponent_div_1_input_6_Template(rf, ctx) { if (rf & 1) {
53
+ function FileUploadComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
54
54
  const _r3 = i0.ɵɵgetCurrentView();
55
- i0.ɵɵelementStart(0, "input", 15);
56
- i0.ɵɵlistener("click", function FileUploadComponent_div_1_input_6_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_div_1_input_6_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
55
+ i0.ɵɵelementStart(0, "input", 14);
56
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_1_Conditional_6_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); })("change", function FileUploadComponent_Conditional_1_Conditional_6_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); });
57
57
  i0.ɵɵelementEnd();
58
58
  } if (rf & 2) {
59
59
  const ctx_r1 = i0.ɵɵnextContext(2);
60
60
  i0.ɵɵproperty("disabled", ctx_r1.disabled)("accept", ctx_r1.chooseFilter);
61
61
  i0.ɵɵattribute("aria-label", ctx_r1.hint || "File selection field");
62
62
  } }
63
- function FileUploadComponent_div_1_label_9_Template(rf, ctx) { if (rf & 1) {
64
- i0.ɵɵelement(0, "label", 16);
63
+ function FileUploadComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
64
+ i0.ɵɵelement(0, "label", 12);
65
65
  } if (rf & 2) {
66
66
  const ctx_r1 = i0.ɵɵnextContext(2);
67
67
  i0.ɵɵproperty("innerHtml", ctx_r1.chooseFilter + " only ", i0.ɵɵsanitizeHtml);
68
68
  } }
69
- function FileUploadComponent_div_1_span_10_Template(rf, ctx) { if (rf & 1) {
70
- i0.ɵɵelementStart(0, "span", 17);
69
+ function FileUploadComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
70
+ i0.ɵɵelementStart(0, "span", 13);
71
71
  i0.ɵɵtext(1, " . ");
72
72
  i0.ɵɵelementEnd();
73
73
  } }
74
- function FileUploadComponent_div_1_label_11_Template(rf, ctx) { if (rf & 1) {
75
- i0.ɵɵelement(0, "label", 16);
74
+ function FileUploadComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
75
+ i0.ɵɵelement(0, "label", 12);
76
76
  } if (rf & 2) {
77
77
  const ctx_r1 = i0.ɵɵnextContext(2);
78
78
  i0.ɵɵproperty("innerHtml", ctx_r1.maxfilesize + "MB max", i0.ɵɵsanitizeHtml);
79
79
  } }
80
- function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
80
+ function FileUploadComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
81
81
  const _r1 = i0.ɵɵgetCurrentView();
82
- i0.ɵɵelementStart(0, "div", 6)(1, "div", 7);
83
- i0.ɵɵlistener("click", function FileUploadComponent_div_1_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.triggerFileSelect()); })("dragover", function FileUploadComponent_div_1_Template_div_dragover_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.dragOverHandler($event)); })("drop", function FileUploadComponent_div_1_Template_div_drop_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFileDrop($event)); });
82
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 6);
83
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_1_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.triggerFileSelect()); })("dragover", function FileUploadComponent_Conditional_1_Template_div_dragover_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.dragOverHandler($event)); })("drop", function FileUploadComponent_Conditional_1_Template_div_drop_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFileDrop($event)); });
84
84
  i0.ɵɵelement(2, "i");
85
- i0.ɵɵelementStart(3, "div", 8);
86
- i0.ɵɵelement(4, "label", 9);
87
- i0.ɵɵelementStart(5, "form", 10);
88
- i0.ɵɵtemplate(6, FileUploadComponent_div_1_input_6_Template, 1, 3, "input", 11);
89
- i0.ɵɵelementStart(7, "a", 12);
85
+ i0.ɵɵelementStart(3, "div", 7);
86
+ i0.ɵɵelement(4, "label", 8);
87
+ i0.ɵɵelementStart(5, "form", 9);
88
+ i0.ɵɵtemplate(6, FileUploadComponent_Conditional_1_Conditional_6_Template, 1, 3, "input", 10);
89
+ i0.ɵɵelementStart(7, "a", 11);
90
90
  i0.ɵɵtext(8);
91
91
  i0.ɵɵelementEnd()();
92
- i0.ɵɵtemplate(9, FileUploadComponent_div_1_label_9_Template, 1, 1, "label", 13)(10, FileUploadComponent_div_1_span_10_Template, 2, 0, "span", 14)(11, FileUploadComponent_div_1_label_11_Template, 1, 1, "label", 13);
92
+ i0.ɵɵtemplate(9, FileUploadComponent_Conditional_1_Conditional_9_Template, 1, 1, "label", 12)(10, FileUploadComponent_Conditional_1_Conditional_10_Template, 2, 0, "span", 13)(11, FileUploadComponent_Conditional_1_Conditional_11_Template, 1, 1, "label", 12);
93
93
  i0.ɵɵelementEnd()()();
94
94
  } if (rf & 2) {
95
95
  const ctx_r1 = i0.ɵɵnextContext();
@@ -102,52 +102,52 @@ function FileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
102
102
  i0.ɵɵadvance();
103
103
  i0.ɵɵpropertyInterpolate("name", ctx_r1.formName);
104
104
  i0.ɵɵadvance();
105
- i0.ɵɵproperty("ngIf", ctx_r1.multiple);
105
+ i0.ɵɵconditional(ctx_r1.multiple ? 6 : -1);
106
106
  i0.ɵɵadvance(2);
107
107
  i0.ɵɵtextInterpolate(ctx_r1.fileUploadMessage);
108
108
  i0.ɵɵadvance();
109
- i0.ɵɵproperty("ngIf", ctx_r1.chooseFilter);
109
+ i0.ɵɵconditional(ctx_r1.chooseFilter ? 9 : -1);
110
110
  i0.ɵɵadvance();
111
- i0.ɵɵproperty("ngIf", ctx_r1.chooseFilter && ctx_r1.maxfilesize);
111
+ i0.ɵɵconditional(ctx_r1.chooseFilter && ctx_r1.maxfilesize ? 10 : -1);
112
112
  i0.ɵɵadvance();
113
- i0.ɵɵproperty("ngIf", ctx_r1.maxfilesize);
113
+ i0.ɵɵconditional(ctx_r1.maxfilesize ? 11 : -1);
114
114
  } }
115
- function FileUploadComponent_div_2_input_3_Template(rf, ctx) { if (rf & 1) {
115
+ function FileUploadComponent_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
116
116
  const _r4 = i0.ɵɵgetCurrentView();
117
- i0.ɵɵelementStart(0, "input", 26);
118
- i0.ɵɵlistener("change", function FileUploadComponent_div_2_input_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_3_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
117
+ i0.ɵɵelementStart(0, "input", 22);
118
+ i0.ɵɵlistener("change", function FileUploadComponent_Conditional_2_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_Conditional_2_Conditional_3_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
119
119
  i0.ɵɵelementEnd();
120
120
  } if (rf & 2) {
121
121
  const ctx_r1 = i0.ɵɵnextContext(2);
122
122
  i0.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
123
123
  i0.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
124
124
  } }
125
- function FileUploadComponent_div_2_input_4_Template(rf, ctx) { if (rf & 1) {
125
+ function FileUploadComponent_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
126
126
  const _r5 = i0.ɵɵgetCurrentView();
127
- i0.ɵɵelementStart(0, "input", 27);
128
- i0.ɵɵlistener("change", function FileUploadComponent_div_2_input_4_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_div_2_input_4_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
127
+ i0.ɵɵelementStart(0, "input", 23);
128
+ i0.ɵɵlistener("change", function FileUploadComponent_Conditional_2_Conditional_4_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileSelect($event, $event.target.files)); })("click", function FileUploadComponent_Conditional_2_Conditional_4_Template_input_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileElemClick($event)); });
129
129
  i0.ɵɵelementEnd();
130
130
  } if (rf & 2) {
131
131
  const ctx_r1 = i0.ɵɵnextContext(2);
132
132
  i0.ɵɵproperty("accept", ctx_r1.chooseFilter)("disabled", ctx_r1.disabled);
133
133
  i0.ɵɵattribute("aria-label", ctx_r1.arialabel || "File selection field");
134
134
  } }
135
- function FileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
136
- i0.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "form", 10);
137
- i0.ɵɵtemplate(3, FileUploadComponent_div_2_input_3_Template, 1, 3, "input", 20)(4, FileUploadComponent_div_2_input_4_Template, 1, 3, "input", 21);
138
- i0.ɵɵelementStart(5, "button", 22);
139
- i0.ɵɵelement(6, "i", 23)(7, "span", 24);
135
+ function FileUploadComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
136
+ i0.ɵɵelementStart(0, "div", 2)(1, "div", 15)(2, "form", 9);
137
+ i0.ɵɵtemplate(3, FileUploadComponent_Conditional_2_Conditional_3_Template, 1, 3, "input", 16)(4, FileUploadComponent_Conditional_2_Conditional_4_Template, 1, 3, "input", 17);
138
+ i0.ɵɵelementStart(5, "button", 18);
139
+ i0.ɵɵelement(6, "i", 19)(7, "span", 20);
140
140
  i0.ɵɵelementEnd()()();
141
- i0.ɵɵelement(8, "div", 25);
141
+ i0.ɵɵelement(8, "div", 21);
142
142
  i0.ɵɵelementEnd();
143
143
  } if (rf & 2) {
144
144
  const ctx_r1 = i0.ɵɵnextContext();
145
145
  i0.ɵɵadvance(2);
146
146
  i0.ɵɵpropertyInterpolate("name", ctx_r1.formName);
147
147
  i0.ɵɵadvance();
148
- i0.ɵɵproperty("ngIf", ctx_r1.multiple);
148
+ i0.ɵɵconditional(ctx_r1.multiple ? 3 : -1);
149
149
  i0.ɵɵadvance();
150
- i0.ɵɵproperty("ngIf", !ctx_r1.multiple);
150
+ i0.ɵɵconditional(!ctx_r1.multiple ? 4 : -1);
151
151
  i0.ɵɵadvance();
152
152
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1, ctx_r1.highlightDropArea));
153
153
  i0.ɵɵadvance();
@@ -155,11 +155,11 @@ function FileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
155
155
  i0.ɵɵadvance();
156
156
  i0.ɵɵproperty("innerHTML", ctx_r1.caption, i0.ɵɵsanitizeHtml);
157
157
  } }
158
- function FileUploadComponent_button_3_Template(rf, ctx) { if (rf & 1) {
158
+ function FileUploadComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
159
159
  const _r6 = i0.ɵɵgetCurrentView();
160
- i0.ɵɵelementStart(0, "button", 28);
161
- i0.ɵɵlistener("click", function FileUploadComponent_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openFileSelector()); });
162
- i0.ɵɵelement(1, "i")(2, "span", 24);
160
+ i0.ɵɵelementStart(0, "button", 24);
161
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.openFileSelector()); });
162
+ i0.ɵɵelement(1, "i")(2, "span", 20);
163
163
  i0.ɵɵelementEnd();
164
164
  } if (rf & 2) {
165
165
  const ctx_r1 = i0.ɵɵnextContext();
@@ -169,15 +169,15 @@ function FileUploadComponent_button_3_Template(rf, ctx) { if (rf & 1) {
169
169
  i0.ɵɵadvance();
170
170
  i0.ɵɵproperty("innerHTML", ctx_r1.caption, i0.ɵɵsanitizeHtml);
171
171
  } }
172
- function FileUploadComponent_ul_4_ng_container_1_li_1_span_8_Template(rf, ctx) { if (rf & 1) {
172
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_8_Template(rf, ctx) { if (rf & 1) {
173
173
  i0.ɵɵelement(0, "span");
174
174
  i0.ɵɵpipe(1, "stateClass");
175
175
  } if (rf & 2) {
176
176
  const ft_r7 = i0.ɵɵnextContext(2).$implicit;
177
177
  i0.ɵɵclassMapInterpolate1("status-icon ", i0.ɵɵpipeBind1(1, 3, ft_r7.status), "");
178
178
  } }
179
- function FileUploadComponent_ul_4_ng_container_1_li_1_span_10_Template(rf, ctx) { if (rf & 1) {
180
- i0.ɵɵelementStart(0, "span", 47);
179
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
180
+ i0.ɵɵelementStart(0, "span", 32);
181
181
  i0.ɵɵtext(1);
182
182
  i0.ɵɵpipe(2, "filesize");
183
183
  i0.ɵɵelementEnd();
@@ -186,8 +186,8 @@ function FileUploadComponent_ul_4_ng_container_1_li_1_span_10_Template(rf, ctx)
186
186
  i0.ɵɵadvance();
187
187
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ft_r7.size, 0));
188
188
  } }
189
- function FileUploadComponent_ul_4_ng_container_1_li_1_span_11_Template(rf, ctx) { if (rf & 1) {
190
- i0.ɵɵelement(0, "span", 34);
189
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
190
+ i0.ɵɵelement(0, "span", 27);
191
191
  i0.ɵɵpipe(1, "stateClass");
192
192
  } if (rf & 2) {
193
193
  const ft_r7 = i0.ɵɵnextContext(2).$implicit;
@@ -195,22 +195,22 @@ function FileUploadComponent_ul_4_ng_container_1_li_1_span_11_Template(rf, ctx)
195
195
  i0.ɵɵclassMapInterpolate1("status-icon ", i0.ɵɵpipeBind1(1, 4, ft_r7.status), "");
196
196
  i0.ɵɵpropertyInterpolate("title", ft_r7.errMsg || ctx_r1.appLocale.MESSAGE_FILE_UPLOAD_FAILED);
197
197
  } }
198
- function FileUploadComponent_ul_4_ng_container_1_li_1_span_12_Template(rf, ctx) { if (rf & 1) {
199
- i0.ɵɵelementStart(0, "span", 48);
198
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_12_Template(rf, ctx) { if (rf & 1) {
199
+ i0.ɵɵelementStart(0, "span", 34);
200
200
  i0.ɵɵtext(1, "Upload Failed");
201
201
  i0.ɵɵelementEnd();
202
202
  } }
203
- function FileUploadComponent_ul_4_ng_container_1_li_1_div_13_Template(rf, ctx) { if (rf & 1) {
204
- i0.ɵɵelementStart(0, "div", 49);
205
- i0.ɵɵelement(1, "div", 50);
203
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_13_Template(rf, ctx) { if (rf & 1) {
204
+ i0.ɵɵelementStart(0, "div", 35);
205
+ i0.ɵɵelement(1, "div", 39);
206
206
  i0.ɵɵelementEnd();
207
207
  } if (rf & 2) {
208
208
  const ft_r7 = i0.ɵɵnextContext(2).$implicit;
209
209
  i0.ɵɵadvance();
210
210
  i0.ɵɵproperty("ngClass", ft_r7.status === "error" ? "progress-bar-danger" : "progress-bar-info")("ngStyle", i0.ɵɵpureFunction1(2, _c3, ft_r7.progress + "%"));
211
211
  } }
212
- function FileUploadComponent_ul_4_ng_container_1_li_1_div_14_Template(rf, ctx) { if (rf & 1) {
213
- i0.ɵɵelementStart(0, "div", 51);
212
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_14_Template(rf, ctx) { if (rf & 1) {
213
+ i0.ɵɵelementStart(0, "div", 36);
214
214
  i0.ɵɵtext(1);
215
215
  i0.ɵɵelementEnd();
216
216
  } if (rf & 2) {
@@ -218,17 +218,17 @@ function FileUploadComponent_ul_4_ng_container_1_li_1_div_14_Template(rf, ctx) {
218
218
  i0.ɵɵadvance();
219
219
  i0.ɵɵtextInterpolate1("", ft_r7.progress + "%", " ");
220
220
  } }
221
- function FileUploadComponent_ul_4_ng_container_1_li_1_div_15_Template(rf, ctx) { if (rf & 1) {
221
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
222
222
  const _r8 = i0.ɵɵgetCurrentView();
223
- i0.ɵɵelementStart(0, "div", 45)(1, "a", 52);
224
- i0.ɵɵlistener("click", function FileUploadComponent_ul_4_ng_container_1_li_1_div_15_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r8); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
225
- i0.ɵɵelement(2, "i", 53);
223
+ i0.ɵɵelementStart(0, "div", 37)(1, "a", 40);
224
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_15_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r8); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.abortFileUpload(ft_r7)); });
225
+ i0.ɵɵelement(2, "i", 41);
226
226
  i0.ɵɵelementEnd()();
227
227
  } }
228
- function FileUploadComponent_ul_4_ng_container_1_li_1_a_17_Template(rf, ctx) { if (rf & 1) {
228
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_17_Template(rf, ctx) { if (rf & 1) {
229
229
  const _r9 = i0.ɵɵgetCurrentView();
230
- i0.ɵɵelementStart(0, "a", 54);
231
- i0.ɵɵlistener("click", function FileUploadComponent_ul_4_ng_container_1_li_1_a_17_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r9); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear(ft_r7)); });
230
+ i0.ɵɵelementStart(0, "a", 42);
231
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_17_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r9); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear(ft_r7)); });
232
232
  i0.ɵɵelement(1, "i");
233
233
  i0.ɵɵelementEnd();
234
234
  } if (rf & 2) {
@@ -237,35 +237,35 @@ function FileUploadComponent_ul_4_ng_container_1_li_1_a_17_Template(rf, ctx) { i
237
237
  i0.ɵɵadvance();
238
238
  i0.ɵɵclassMap(ctx_r1.cleariconclass);
239
239
  } }
240
- function FileUploadComponent_ul_4_ng_container_1_li_1_div_18_Template(rf, ctx) { if (rf & 1) {
240
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_18_Template(rf, ctx) { if (rf & 1) {
241
241
  const _r10 = i0.ɵɵgetCurrentView();
242
- i0.ɵɵelementStart(0, "div", 45)(1, "a", 54);
243
- i0.ɵɵlistener("click", function FileUploadComponent_ul_4_ng_container_1_li_1_div_18_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r10); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileDelete($event, ft_r7)); });
244
- i0.ɵɵelement(2, "i", 55);
242
+ i0.ɵɵelementStart(0, "div", 37)(1, "a", 42);
243
+ i0.ɵɵlistener("click", function FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_18_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r10); const ft_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFileDelete($event, ft_r7)); });
244
+ i0.ɵɵelement(2, "i", 43);
245
245
  i0.ɵɵelementEnd()();
246
246
  } if (rf & 2) {
247
247
  const ctx_r1 = i0.ɵɵnextContext(4);
248
248
  i0.ɵɵadvance();
249
249
  i0.ɵɵpropertyInterpolate("title", ctx_r1.deleteiconhint);
250
250
  } }
251
- function FileUploadComponent_ul_4_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) {
252
- i0.ɵɵelementStart(0, "li", 32)(1, "div", 33);
253
- i0.ɵɵelement(2, "div", 34);
251
+ function FileUploadComponent_Conditional_4_For_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
252
+ i0.ɵɵelementStart(0, "li", 25)(1, "div", 26);
253
+ i0.ɵɵelement(2, "div", 27);
254
254
  i0.ɵɵpipe(3, "fileIconClass");
255
- i0.ɵɵelementStart(4, "div", 35)(5, "p", 36)(6, "span", 37);
255
+ i0.ɵɵelementStart(4, "div", 28)(5, "p", 29)(6, "span", 30);
256
256
  i0.ɵɵtext(7);
257
257
  i0.ɵɵelementEnd();
258
- i0.ɵɵtemplate(8, FileUploadComponent_ul_4_ng_container_1_li_1_span_8_Template, 2, 5, "span", 38);
258
+ i0.ɵɵtemplate(8, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_8_Template, 2, 5, "span", 31);
259
259
  i0.ɵɵelement(9, "br");
260
- i0.ɵɵtemplate(10, FileUploadComponent_ul_4_ng_container_1_li_1_span_10_Template, 3, 4, "span", 39)(11, FileUploadComponent_ul_4_ng_container_1_li_1_span_11_Template, 2, 6, "span", 40)(12, FileUploadComponent_ul_4_ng_container_1_li_1_span_12_Template, 2, 0, "span", 41);
260
+ i0.ɵɵtemplate(10, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_10_Template, 3, 4, "span", 32)(11, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_11_Template, 2, 6, "span", 33)(12, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_12_Template, 2, 0, "span", 34);
261
261
  i0.ɵɵelementEnd();
262
- i0.ɵɵtemplate(13, FileUploadComponent_ul_4_ng_container_1_li_1_div_13_Template, 2, 4, "div", 42)(14, FileUploadComponent_ul_4_ng_container_1_li_1_div_14_Template, 2, 1, "div", 43);
262
+ i0.ɵɵtemplate(13, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_13_Template, 2, 4, "div", 35)(14, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_14_Template, 2, 1, "div", 36);
263
263
  i0.ɵɵelementEnd();
264
- i0.ɵɵtemplate(15, FileUploadComponent_ul_4_ng_container_1_li_1_div_15_Template, 3, 0, "div", 44);
265
- i0.ɵɵelementStart(16, "div", 45);
266
- i0.ɵɵtemplate(17, FileUploadComponent_ul_4_ng_container_1_li_1_a_17_Template, 2, 4, "a", 46);
264
+ i0.ɵɵtemplate(15, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_15_Template, 3, 0, "div", 37);
265
+ i0.ɵɵelementStart(16, "div", 37);
266
+ i0.ɵɵtemplate(17, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_17_Template, 2, 4, "a", 38);
267
267
  i0.ɵɵelementEnd();
268
- i0.ɵɵtemplate(18, FileUploadComponent_ul_4_ng_container_1_li_1_div_18_Template, 3, 1, "div", 44);
268
+ i0.ɵɵtemplate(18, FileUploadComponent_Conditional_4_For_2_Conditional_0_Conditional_18_Template, 3, 1, "div", 37);
269
269
  i0.ɵɵelementEnd()();
270
270
  } if (rf & 2) {
271
271
  const ft_r7 = i0.ɵɵnextContext().$implicit;
@@ -276,69 +276,66 @@ function FileUploadComponent_ul_4_ng_container_1_li_1_Template(rf, ctx) { if (rf
276
276
  i0.ɵɵadvance(5);
277
277
  i0.ɵɵtextInterpolate(ft_r7.storageName || ft_r7.name);
278
278
  i0.ɵɵadvance();
279
- i0.ɵɵproperty("ngIf", ft_r7.status === "success" && (!ctx_r1.datasource || ctx_r1.datasource && (ft_r7._response == null ? null : ft_r7._response.success)));
279
+ i0.ɵɵconditional(ft_r7.status === "success" && (!ctx_r1.datasource || ctx_r1.datasource && (ft_r7._response == null ? null : ft_r7._response.success)) ? 8 : -1);
280
280
  i0.ɵɵadvance(2);
281
- i0.ɵɵproperty("ngIf", ft_r7.fileLength !== 0);
281
+ i0.ɵɵconditional(ft_r7.fileLength !== 0 ? 10 : -1);
282
282
  i0.ɵɵadvance();
283
- i0.ɵɵproperty("ngIf", ft_r7.status === "error");
283
+ i0.ɵɵconditional(ft_r7.status === "error" ? 11 : -1);
284
284
  i0.ɵɵadvance();
285
- i0.ɵɵproperty("ngIf", ft_r7.status === "error");
285
+ i0.ɵɵconditional(ft_r7.status === "error" ? 12 : -1);
286
286
  i0.ɵɵadvance();
287
- i0.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ctx_r1.showprogressbar);
287
+ i0.ɵɵconditional(ft_r7.status === "onProgress" || ctx_r1.showprogressbar ? 13 : -1);
288
288
  i0.ɵɵadvance();
289
- i0.ɵɵproperty("ngIf", (ft_r7.status === "onProgress" || ctx_r1.showprogressbar && ctx_r1.showprogressbarpercentage) && ft_r7.progress);
289
+ i0.ɵɵconditional((ft_r7.status === "onProgress" || ctx_r1.showprogressbar && ctx_r1.showprogressbarpercentage) && ft_r7.progress ? 14 : -1);
290
290
  i0.ɵɵadvance();
291
- i0.ɵɵproperty("ngIf", ft_r7.status === "onProgress" || ft_r7.status === "queued");
291
+ i0.ɵɵconditional(ft_r7.status === "onProgress" || ft_r7.status === "queued" ? 15 : -1);
292
292
  i0.ɵɵadvance(2);
293
- i0.ɵɵproperty("ngIf", ctx_r1.cleariconclass !== "" && ft_r7.status !== "onProgress");
293
+ i0.ɵɵconditional(ctx_r1.cleariconclass !== "" && ft_r7.status !== "onProgress" ? 17 : -1);
294
294
  i0.ɵɵadvance();
295
- i0.ɵɵproperty("ngIf", ft_r7.status === "success" && (!ctx_r1.datasource || ctx_r1.datasource && (ft_r7._response == null ? null : ft_r7._response.success)));
295
+ i0.ɵɵconditional(ft_r7.status === "success" && (!ctx_r1.datasource || ctx_r1.datasource && (ft_r7._response == null ? null : ft_r7._response.success)) ? 18 : -1);
296
296
  } }
297
- function FileUploadComponent_ul_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
298
- i0.ɵɵelementContainerStart(0);
299
- i0.ɵɵtemplate(1, FileUploadComponent_ul_4_ng_container_1_li_1_Template, 19, 16, "li", 31);
300
- i0.ɵɵelementContainerEnd();
297
+ function FileUploadComponent_Conditional_4_For_2_Template(rf, ctx) { if (rf & 1) {
298
+ i0.ɵɵtemplate(0, FileUploadComponent_Conditional_4_For_2_Conditional_0_Template, 19, 16, "li", 25);
301
299
  } if (rf & 2) {
302
300
  const ft_r7 = ctx.$implicit;
303
- i0.ɵɵadvance();
304
- i0.ɵɵproperty("ngIf", ft_r7.status !== "abort");
301
+ i0.ɵɵconditional(ft_r7.status !== "abort" ? 0 : -1);
305
302
  } }
306
- function FileUploadComponent_ul_4_Template(rf, ctx) { if (rf & 1) {
307
- i0.ɵɵelementStart(0, "ul", 29);
308
- i0.ɵɵtemplate(1, FileUploadComponent_ul_4_ng_container_1_Template, 2, 1, "ng-container", 30);
303
+ function FileUploadComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
304
+ i0.ɵɵelementStart(0, "ul", 4);
305
+ i0.ɵɵrepeaterCreate(1, FileUploadComponent_Conditional_4_For_2_Template, 1, 1, null, null, i0.ɵɵrepeaterTrackByIdentity);
309
306
  i0.ɵɵelementEnd();
310
307
  } if (rf & 2) {
311
308
  const ctx_r1 = i0.ɵɵnextContext();
312
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
309
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(1, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
313
310
  i0.ɵɵadvance();
314
- i0.ɵɵproperty("ngForOf", ctx_r1.uploadedFiles);
311
+ i0.ɵɵrepeater(ctx_r1.uploadedFiles);
315
312
  } }
316
- function FileUploadComponent_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
317
- i0.ɵɵelementStart(0, "li", 58)(1, "div", 33);
318
- i0.ɵɵelement(2, "div", 59);
319
- i0.ɵɵelementStart(3, "div", 35)(4, "p", 60)(5, "label", 37);
313
+ function FileUploadComponent_Conditional_5_For_2_Template(rf, ctx) { if (rf & 1) {
314
+ i0.ɵɵelementStart(0, "li", 44)(1, "div", 26);
315
+ i0.ɵɵelement(2, "div", 45);
316
+ i0.ɵɵelementStart(3, "div", 28)(4, "p", 46)(5, "label", 30);
320
317
  i0.ɵɵtext(6);
321
318
  i0.ɵɵelementEnd();
322
319
  i0.ɵɵelement(7, "br");
323
320
  i0.ɵɵelementEnd()();
324
- i0.ɵɵelementStart(8, "div", 45);
325
- i0.ɵɵelement(9, "span", 61);
321
+ i0.ɵɵelementStart(8, "div", 37);
322
+ i0.ɵɵelement(9, "span", 47);
326
323
  i0.ɵɵelementEnd()()();
327
324
  } if (rf & 2) {
328
325
  const ft_r11 = ctx.$implicit;
329
326
  i0.ɵɵadvance(6);
330
327
  i0.ɵɵtextInterpolate(ft_r11.name);
331
328
  } }
332
- function FileUploadComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
333
- i0.ɵɵelementStart(0, "ul", 56);
334
- i0.ɵɵtemplate(1, FileUploadComponent_ul_5_li_1_Template, 10, 1, "li", 57);
329
+ function FileUploadComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
330
+ i0.ɵɵelementStart(0, "ul", 5);
331
+ i0.ɵɵrepeaterCreate(1, FileUploadComponent_Conditional_5_For_2_Template, 10, 1, "li", 44, i0.ɵɵrepeaterTrackByIdentity);
335
332
  i0.ɵɵelementEnd();
336
333
  } if (rf & 2) {
337
334
  const ctx_r1 = i0.ɵɵnextContext();
338
335
  i0.ɵɵpropertyInterpolate("title", ctx_r1.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED);
339
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(3, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
336
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c2, ctx_r1.filelistheight, ctx_r1.overflow));
340
337
  i0.ɵɵadvance();
341
- i0.ɵɵproperty("ngForOf", ctx_r1.selectedFolders);
338
+ i0.ɵɵrepeater(ctx_r1.selectedFolders);
342
339
  } }
343
340
  const DEFAULT_CLS = 'app-fileupload';
344
341
  const WIDGET_CONFIG = {
@@ -722,28 +719,28 @@ class FileUploadComponent extends StylableComponent {
722
719
  static { this.ɵfac = function FileUploadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploadComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i1.App), i0.ɵɵinjectAttribute('select.event'), i0.ɵɵdirectiveInject(i1.AbstractDialogService), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
723
720
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FileUploadComponent, selectors: [["", "wmFileUpload", ""]], features: [i0.ɵɵProvidersFeature([
724
721
  provideAsWidgetRef(FileUploadComponent)
725
- ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], ["class", "app-multi-file-upload", 4, "ngIf"], ["class", "app-single-file-upload", 4, "ngIf"], ["focus-target", "", "class", "app-button btn btn-default", 3, "disabled", "click", 4, "ngIf"], ["class", "list-group file-upload", "tabindex", "0", 3, "ngStyle", 4, "ngIf"], ["class", "list-group file-upload", 3, "ngStyle", "title", 4, "ngIf"], [1, "app-multi-file-upload"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "upload-label", 3, "innerHtml"], [1, "form-horizontal", 3, "name"], ["class", "file-input", "type", "file", "name", "files", "multiple", "", 3, "disabled", "accept", "click", "change", 4, "ngIf"], ["href", "javascript:void(0);", 1, "app-anchor", "upload-label"], ["class", "upload-extensions", 3, "innerHtml", 4, "ngIf"], ["class", "upload-extensions", 4, "ngIf"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "click", "change", "disabled", "accept"], [1, "upload-extensions", 3, "innerHtml"], [1, "upload-extensions"], [1, "app-single-file-upload"], [1, "app-button-wrapper"], ["class", "file-input", "multiple", "", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["class", "file-input", "name", "files", "type", "file", 3, "accept", "disabled", "change", "click", 4, "ngIf"], ["id", "dropzone", "focus-target", "", 1, "app-button", "btn", "btn-default", 3, "ngClass"], ["aria-hidden", "true"], [1, "caption", 3, "innerHTML"], [1, "app-files-upload-status", "single"], ["multiple", "", "name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "click", "disabled"], ["tabindex", "0", 1, "list-group", "file-upload", 3, "ngStyle"], [4, "ngFor", "ngForOf"], ["class", "list-group-item file-upload-status", "tabindex", "0", 4, "ngIf"], ["tabindex", "0", 1, "list-group-item", "file-upload-status"], [1, "media", "upload-file-list"], [3, "title"], [1, "media-body", "media-middle", "file-details"], [1, "uploaddetails", "col-md-3"], [1, "upload-title"], [3, "class", 4, "ngIf"], ["class", "filesize", 4, "ngIf"], [3, "class", "title", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["class", "progress col-md-7 upload-progress", 4, "ngIf"], ["class", "col-md-1 upload-progress-percentage", 4, "ngIf"], ["class", "media-right media-middle", 4, "ngIf"], [1, "media-right", "media-middle"], ["href", "javascript:void(0)", "class", "btn btn-transparent btn-default status-icon", "type", "button", 3, "title", "click", 4, "ngIf"], [1, "filesize"], [1, "error-message"], [1, "progress", "col-md-7", "upload-progress"], [1, "progress-bar", "progress-bar-striped", 3, "ngClass", "ngStyle"], [1, "col-md-1", "upload-progress-percentage"], ["href", "javascript:void(0)", "type", "button", 1, "btn", "btn-transparent", "file-upload-stop", 3, "click"], [1, "wi", "wi-close"], ["href", "javascript:void(0)", "type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click", "title"], [1, "wi", "wi-delete"], [1, "list-group", "file-upload", 3, "ngStyle", "title"], ["class", "list-group-item file-upload-status", 4, "ngFor", "ngForOf"], [1, "list-group-item", "file-upload-status"], [1, "media-left", "media-middle", "file-icon", "fa", "fa-folder-o"], [1, "uploaddetails"], [1, "status-icon", "wi", "wi-cancel", "text-danger"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
722
+ ]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 5, consts: [["init-widget", "", 1, "app-fileupload"], [1, "app-multi-file-upload"], [1, "app-single-file-upload"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "disabled"], ["tabindex", "0", 1, "list-group", "file-upload", 3, "ngStyle"], [1, "list-group", "file-upload", 3, "ngStyle", "title"], ["id", "dropzone", 1, "drop-box", 3, "click", "dragover", "drop", "ngClass"], [1, "message"], [1, "upload-label", 3, "innerHtml"], [1, "form-horizontal", 3, "name"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "disabled", "accept"], ["href", "javascript:void(0);", 1, "app-anchor", "upload-label"], [1, "upload-extensions", 3, "innerHtml"], [1, "upload-extensions"], ["type", "file", "name", "files", "multiple", "", 1, "file-input", 3, "click", "change", "disabled", "accept"], [1, "app-button-wrapper"], ["multiple", "", "name", "files", "type", "file", 1, "file-input", 3, "accept", "disabled"], ["name", "files", "type", "file", 1, "file-input", 3, "accept", "disabled"], ["id", "dropzone", "focus-target", "", 1, "app-button", "btn", "btn-default", 3, "ngClass"], ["aria-hidden", "true"], [1, "caption", 3, "innerHTML"], [1, "app-files-upload-status", "single"], ["multiple", "", "name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["name", "files", "type", "file", 1, "file-input", 3, "change", "click", "accept", "disabled"], ["focus-target", "", 1, "app-button", "btn", "btn-default", 3, "click", "disabled"], ["tabindex", "0", 1, "list-group-item", "file-upload-status"], [1, "media", "upload-file-list"], [3, "title"], [1, "media-body", "media-middle", "file-details"], [1, "uploaddetails", "col-md-3"], [1, "upload-title"], [3, "class"], [1, "filesize"], [3, "class", "title"], [1, "error-message"], [1, "progress", "col-md-7", "upload-progress"], [1, "col-md-1", "upload-progress-percentage"], [1, "media-right", "media-middle"], ["href", "javascript:void(0)", "type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "title"], [1, "progress-bar", "progress-bar-striped", 3, "ngClass", "ngStyle"], ["href", "javascript:void(0)", "type", "button", 1, "btn", "btn-transparent", "file-upload-stop", 3, "click"], [1, "wi", "wi-close"], ["href", "javascript:void(0)", "type", "button", 1, "btn", "btn-transparent", "btn-default", "status-icon", 3, "click", "title"], [1, "wi", "wi-delete"], [1, "list-group-item", "file-upload-status"], [1, "media-left", "media-middle", "file-icon", "fa", "fa-folder-o"], [1, "uploaddetails"], [1, "status-icon", "wi", "wi-cancel", "text-danger"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
726
723
  i0.ɵɵelementStart(0, "div", 0);
727
- i0.ɵɵtemplate(1, FileUploadComponent_div_1_Template, 12, 13, "div", 1)(2, FileUploadComponent_div_2_Template, 9, 10, "div", 2)(3, FileUploadComponent_button_3_Template, 3, 5, "button", 3)(4, FileUploadComponent_ul_4_Template, 2, 5, "ul", 4)(5, FileUploadComponent_ul_5_Template, 2, 6, "ul", 5);
724
+ i0.ɵɵtemplate(1, FileUploadComponent_Conditional_1_Template, 12, 13, "div", 1)(2, FileUploadComponent_Conditional_2_Template, 9, 10, "div", 2)(3, FileUploadComponent_Conditional_3_Template, 3, 5, "button", 3)(4, FileUploadComponent_Conditional_4_Template, 3, 4, "ul", 4)(5, FileUploadComponent_Conditional_5_Template, 3, 5, "ul", 5);
728
725
  i0.ɵɵelementEnd();
729
726
  } if (rf & 2) {
730
727
  i0.ɵɵadvance();
731
- i0.ɵɵproperty("ngIf", !ctx._isMobileType && ctx.multiple);
728
+ i0.ɵɵconditional(!ctx._isMobileType && ctx.multiple ? 1 : -1);
732
729
  i0.ɵɵadvance();
733
- i0.ɵɵproperty("ngIf", !ctx._isCordova && (!ctx.multiple || ctx._isMobileType));
730
+ i0.ɵɵconditional(!ctx._isCordova && (!ctx.multiple || ctx._isMobileType) ? 2 : -1);
734
731
  i0.ɵɵadvance();
735
- i0.ɵɵproperty("ngIf", ctx._isCordova);
732
+ i0.ɵɵconditional(ctx._isCordova ? 3 : -1);
736
733
  i0.ɵɵadvance();
737
- i0.ɵɵproperty("ngIf", ctx.uploadedFiles.length > 0);
734
+ i0.ɵɵconditional(ctx.uploadedFiles.length > 0 ? 4 : -1);
738
735
  i0.ɵɵadvance();
739
- i0.ɵɵproperty("ngIf", ctx.selectedFolders.length > 0);
740
- } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.FileIconClassPipe, i3.FileSizePipe, i3.StateClassPipe], encapsulation: 2 }); }
736
+ i0.ɵɵconditional(ctx.selectedFolders.length > 0 ? 5 : -1);
737
+ } }, dependencies: [i2.NgClass, i2.NgStyle, i3.FileIconClassPipe, i3.FileSizePipe, i3.StateClassPipe], encapsulation: 2 }); }
741
738
  }
742
739
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadComponent, [{
743
740
  type: Component,
744
741
  args: [{ selector: '[wmFileUpload]', providers: [
745
742
  provideAsWidgetRef(FileUploadComponent)
746
- ], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n <div class=\"app-multi-file-upload\" *ngIf=\"!_isMobileType && multiple\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"upload-label\"></label>\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" *ngIf=\"multiple\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple >\n <a class=\"app-anchor upload-label\" href=\"javascript:void(0);\">{{ fileUploadMessage }}</a>\n </form>\n <label *ngIf=\"chooseFilter\" [innerHtml]=\"chooseFilter + ' only '\" class=\"upload-extensions\"></label>\n <span *ngIf=\"chooseFilter && maxfilesize\" class=\"upload-extensions\"> . </span>\n <label *ngIf=\"maxfilesize\" [innerHtml]=\"maxfilesize + 'MB max'\" class=\"upload-extensions\"></label>\n </div>\n </div>\n </div>\n <!-- single file upload in web and single , multiple file upload UI in mobile runmode -->\n <div class=\"app-single-file-upload\" *ngIf=\"!_isCordova && (!multiple || _isMobileType)\">\n <div class=\"app-button-wrapper\">\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <!-- support for file upload in Mobileapp in its runmode (Web) -->\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n multiple name=\"files\" type=\"file\">\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\" *ngIf=\"!multiple\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n name=\"files\" type=\"file\">\n <button id=\"dropzone\" focus-target class=\"app-button btn btn-default\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\">\n <i class=\"{{iconclass}}\" aria-hidden=\"true\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n </form>\n </div>\n <div class=\"app-files-upload-status single\"></div>\n </div>\n <!-- support for file upload in Mobile Application (device) -->\n <button *ngIf=\"_isCordova\" focus-target class=\"app-button btn btn-default\" (click)=\"openFileSelector()\" [disabled]=\"disabled\">\n <i class=\"{{iconclass}}\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n <!-- list of selectedfiles UI -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\"\n *ngIf=\"uploadedFiles.length > 0\" tabindex=\"0\">\n <ng-container *ngFor=\"let ft of uploadedFiles\">\n <li class=\"list-group-item file-upload-status\" *ngIf=\"ft.status !== 'abort'\" tabindex=\"0\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon {{getFileExtension(ft.name) | fileIconClass}}\" title=\"{{getFileExtension(ft.name)}}\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails col-md-3\">\n <span class=\"upload-title\">{{ ft.storageName || ft.name }}</span>\n <span *ngIf=\"ft.status === 'success' && (!datasource || (datasource && ft._response?.success))\"\n class=\"status-icon {{ft.status | stateClass }}\"></span>\n <br/>\n <span class=\"filesize\" *ngIf=\"ft.fileLength !== 0\">{{ft.size | filesize:0}}</span>\n <span *ngIf=\"ft.status === 'error'\"\n class=\"status-icon {{ft.status | stateClass }}\"\n title=\"{{ft.errMsg || this.appLocale.MESSAGE_FILE_UPLOAD_FAILED}}\"></span>\n <span *ngIf=\"ft.status === 'error'\" class=\"error-message\">Upload Failed</span>\n </p>\n <div *ngIf=\"ft.status === 'onProgress' || showprogressbar\"\n class=\"progress col-md-7 upload-progress\">\n <div [ngClass]=\"ft.status === 'error' ? 'progress-bar-danger' : 'progress-bar-info'\"\n [ngStyle]=\"{width: (ft.progress +'%')}\"\n class=\"progress-bar progress-bar-striped\"></div>\n </div>\n <div *ngIf=\"(ft.status === 'onProgress' || showprogressbar && showprogressbarpercentage) && ft.progress \"\n class=\"col-md-1 upload-progress-percentage\">{{ ft.progress + '%' }}\n </div>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'onProgress' || ft.status === 'queued'\">\n <a href=\"javascript:void(0)\" class=\"btn btn-transparent file-upload-stop\" type=\"button\"\n (click)=\"abortFileUpload(ft)\">\n <i class=\"wi wi-close\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\">\n <a href=\"javascript:void(0)\" (click)=\"clear(ft)\"\n *ngIf=\"cleariconclass !== '' && ft.status !== 'onProgress'\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{cleariconhint}}\" type=\"button\">\n <i class=\"{{cleariconclass}}\"></i>\n </a>\n </div>\n <div class=\"media-right media-middle\" *ngIf=\"ft.status === 'success' && (!datasource || (datasource && ft._response?.success))\">\n <a href=\"javascript:void(0)\" (click)=\"onFileDelete($event, ft)\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{deleteiconhint}}\" type=\"button\">\n <i class=\"wi wi-delete\"></i>\n </a>\n </div>\n </div>\n </li>\n </ng-container>\n </ul>\n <!-- list of selectedfolders UI to show the error in title -->\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" title=\"{{this.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED}}\" *ngIf=\"selectedFolders.length > 0\" >\n <li *ngFor=\"let ft of selectedFolders\" class=\"list-group-item file-upload-status\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon fa fa-folder-o\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n </p>\n </div>\n <div class=\"media-right media-middle\" >\n <span class=\"status-icon wi wi-cancel text-danger\"></span>\n </div>\n </div>\n </li>\n </ul>\n</div>\n" }]
743
+ ], template: "<div class=\"app-fileupload\" init-widget>\n <!-- drag and drop files UI in web -->\n @if (!_isMobileType && multiple) {\n <div class=\"app-multi-file-upload\">\n <div id=\"dropzone\" class=\"drop-box\" (click)=\"triggerFileSelect()\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\" (dragover)=\"dragOverHandler($event);\" (drop)=\"onFileDrop($event);\">\n <i class=\"{{iconclass}}\"></i>\n <div class=\"message\">\n <label [innerHtml]=\"caption\" class=\"upload-label\"></label>\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n @if (multiple) {\n <input class=\"file-input\" [attr.aria-label]=\"hint || 'File selection field'\" type=\"file\" name=\"files\" [disabled]=\"disabled\" [accept]=\"chooseFilter\" (click)=\"onFileElemClick($event)\" (change)=\"onFileSelect($event, $event.target.files)\" multiple >\n }\n <a class=\"app-anchor upload-label\" href=\"javascript:void(0);\">{{ fileUploadMessage }}</a>\n </form>\n @if (chooseFilter) {\n <label [innerHtml]=\"chooseFilter + ' only '\" class=\"upload-extensions\"></label>\n }\n @if (chooseFilter && maxfilesize) {\n <span class=\"upload-extensions\"> . </span>\n }\n @if (maxfilesize) {\n <label [innerHtml]=\"maxfilesize + 'MB max'\" class=\"upload-extensions\"></label>\n }\n </div>\n </div>\n </div>\n }\n <!-- single file upload in web and single , multiple file upload UI in mobile runmode -->\n @if (!_isCordova && (!multiple || _isMobileType)) {\n <div class=\"app-single-file-upload\">\n <div class=\"app-button-wrapper\">\n <form class=\"form-horizontal\" name=\"{{formName}}\">\n <!-- support for file upload in Mobileapp in its runmode (Web) -->\n @if (multiple) {\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n multiple name=\"files\" type=\"file\">\n }\n @if (!multiple) {\n <input (change)=\"onFileSelect($event, $event.target.files)\" (click)=\"onFileElemClick($event)\"\n [accept]=\"chooseFilter\" [attr.aria-label]=\"arialabel || 'File selection field'\" [disabled]=\"disabled\" class=\"file-input\"\n name=\"files\" type=\"file\">\n }\n <button id=\"dropzone\" focus-target class=\"app-button btn btn-default\" [ngClass]=\"{'highlight-drop-box' : highlightDropArea}\">\n <i class=\"{{iconclass}}\" aria-hidden=\"true\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n </form>\n </div>\n <div class=\"app-files-upload-status single\"></div>\n </div>\n }\n <!-- support for file upload in Mobile Application (device) -->\n @if (_isCordova) {\n <button focus-target class=\"app-button btn btn-default\" (click)=\"openFileSelector()\" [disabled]=\"disabled\">\n <i class=\"{{iconclass}}\"></i>\n <span class=\"caption\" [innerHTML]=\"caption\"></span>\n </button>\n }\n <!-- list of selectedfiles UI -->\n @if (uploadedFiles.length > 0) {\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\"\n tabindex=\"0\">\n @for (ft of uploadedFiles; track ft) {\n @if (ft.status !== 'abort') {\n <li class=\"list-group-item file-upload-status\" tabindex=\"0\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon {{getFileExtension(ft.name) | fileIconClass}}\" title=\"{{getFileExtension(ft.name)}}\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails col-md-3\">\n <span class=\"upload-title\">{{ ft.storageName || ft.name }}</span>\n @if (ft.status === 'success' && (!datasource || (datasource && ft._response?.success))) {\n <span\n class=\"status-icon {{ft.status | stateClass }}\"></span>\n }\n <br/>\n @if (ft.fileLength !== 0) {\n <span class=\"filesize\">{{ft.size | filesize:0}}</span>\n }\n @if (ft.status === 'error') {\n <span\n class=\"status-icon {{ft.status | stateClass }}\"\n title=\"{{ft.errMsg || this.appLocale.MESSAGE_FILE_UPLOAD_FAILED}}\"></span>\n }\n @if (ft.status === 'error') {\n <span class=\"error-message\">Upload Failed</span>\n }\n </p>\n @if (ft.status === 'onProgress' || showprogressbar) {\n <div\n class=\"progress col-md-7 upload-progress\">\n <div [ngClass]=\"ft.status === 'error' ? 'progress-bar-danger' : 'progress-bar-info'\"\n [ngStyle]=\"{width: (ft.progress +'%')}\"\n class=\"progress-bar progress-bar-striped\"></div>\n </div>\n }\n @if ((ft.status === 'onProgress' || showprogressbar && showprogressbarpercentage) && ft.progress ) {\n <div\n class=\"col-md-1 upload-progress-percentage\">{{ ft.progress + '%' }}\n </div>\n }\n </div>\n @if (ft.status === 'onProgress' || ft.status === 'queued') {\n <div class=\"media-right media-middle\">\n <a href=\"javascript:void(0)\" class=\"btn btn-transparent file-upload-stop\" type=\"button\"\n (click)=\"abortFileUpload(ft)\">\n <i class=\"wi wi-close\"></i>\n </a>\n </div>\n }\n <div class=\"media-right media-middle\">\n @if (cleariconclass !== '' && ft.status !== 'onProgress') {\n <a href=\"javascript:void(0)\" (click)=\"clear(ft)\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{cleariconhint}}\" type=\"button\">\n <i class=\"{{cleariconclass}}\"></i>\n </a>\n }\n </div>\n @if (ft.status === 'success' && (!datasource || (datasource && ft._response?.success))) {\n <div class=\"media-right media-middle\">\n <a href=\"javascript:void(0)\" (click)=\"onFileDelete($event, ft)\"\n class=\"btn btn-transparent btn-default status-icon\" title=\"{{deleteiconhint}}\" type=\"button\">\n <i class=\"wi wi-delete\"></i>\n </a>\n </div>\n }\n </div>\n </li>\n }\n }\n </ul>\n }\n <!-- list of selectedfolders UI to show the error in title -->\n @if (selectedFolders.length > 0) {\n <ul class=\"list-group file-upload\" [ngStyle]=\"{height: filelistheight, overflow: overflow}\" title=\"{{this.appLocale.MESSAGE_FOLDER_UPLOADS_NOT_ALLOWED}}\" >\n @for (ft of selectedFolders; track ft) {\n <li class=\"list-group-item file-upload-status\">\n <div class=\"media upload-file-list\">\n <div class=\"media-left media-middle file-icon fa fa-folder-o\"></div>\n <div class=\"media-body media-middle file-details\">\n <p class=\"uploaddetails\">\n <label class=\"upload-title\">{{ft.name}}</label><br/>\n </p>\n </div>\n <div class=\"media-right media-middle\" >\n <span class=\"status-icon wi wi-cancel text-danger\"></span>\n </div>\n </div>\n </li>\n }\n </ul>\n }\n</div>\n" }]
747
744
  }], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
748
745
  type: Attribute,
749
746
  args: ['select.event']